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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6dec948a6fe6c2e2c800839b880bad85b5a6dfd3 | 96 | py | Python | venv/lib/python3.8/site-packages/cryptography/hazmat/primitives/asymmetric/ed448.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/cryptography/hazmat/primitives/asymmetric/ed448.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cryptography/hazmat/primitives/asymmetric/ed448.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/a1/1f/a3/e2319c5949c6c568b51b2807c5565b82448e287b11eb2d44dcb7fac183 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 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 |
096fcd42c6d9f08d5d089e2c6170449d67a02488 | 4,290 | py | Python | deprecated/examples/simnet_bow/py_reader_generator.py | hutuxian/FleetX | 843c7aa33f5a14680becf058a3aaf0327eefafd4 | [
"Apache-2.0"
] | 170 | 2020-08-12T12:07:01.000Z | 2022-03-07T02:38:26.000Z | deprecated/examples/simnet_bow/py_reader_generator.py | hutuxian/FleetX | 843c7aa33f5a14680becf058a3aaf0327eefafd4 | [
"Apache-2.0"
] | 195 | 2020-08-13T03:22:15.000Z | 2022-03-30T07:40:25.000Z | deprecated/examples/simnet_bow/py_reader_generator.py | hutuxian/FleetX | 843c7aa33f5a14680becf058a3aaf0327eefafd4 | [
"Apache-2.0"
] | 67 | 2020-08-14T02:07:46.000Z | 2022-03-28T10:05:33.000Z | #!/usr/bin/python
# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless... | 39 | 109 | 0.545221 | 584 | 4,290 | 3.773973 | 0.22774 | 0.076225 | 0.059891 | 0.050817 | 0.715517 | 0.715517 | 0.715517 | 0.705535 | 0.705535 | 0.703267 | 0 | 0.018895 | 0.346154 | 4,290 | 109 | 110 | 39.357798 | 0.766845 | 0.15338 | 0 | 0.837838 | 0 | 0 | 0.060364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094595 | false | 0 | 0.013514 | 0 | 0.148649 | 0.054054 | 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 |
09992545064487f403e07c0d5592b982f3bafe39 | 212 | py | Python | projetos/admin.py | siqueiralex/SistemaComissaoVoluntario | 1a4ba8fd37d5182156e7bb4c4204845df2707fd1 | [
"MIT"
] | null | null | null | projetos/admin.py | siqueiralex/SistemaComissaoVoluntario | 1a4ba8fd37d5182156e7bb4c4204845df2707fd1 | [
"MIT"
] | null | null | null | projetos/admin.py | siqueiralex/SistemaComissaoVoluntario | 1a4ba8fd37d5182156e7bb4c4204845df2707fd1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
# Register your models here.
admin.site.register(Cronograma)
admin.site.register(Atividade)
admin.site.register(EfetivoDiario)
admin.site.register(Unidade) | 23.555556 | 34 | 0.816038 | 28 | 212 | 6.178571 | 0.5 | 0.208092 | 0.393064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084906 | 212 | 9 | 35 | 23.555556 | 0.891753 | 0.122642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
099ad8518dad1d6a3df7458747dcb5b82bba5c36 | 42 | py | Python | piecewise/monitor/__init__.py | jtbish/piecewise | d27e095e298698d83901bfd1236e0e0669261136 | [
"MIT"
] | 3 | 2019-12-04T02:28:08.000Z | 2022-02-02T13:13:36.000Z | piecewise/monitor/__init__.py | jtbish/piecewise | d27e095e298698d83901bfd1236e0e0669261136 | [
"MIT"
] | 5 | 2020-01-15T04:33:36.000Z | 2021-03-26T14:58:47.000Z | piecewise/monitor/__init__.py | jtbish/piecewise | d27e095e298698d83901bfd1236e0e0669261136 | [
"MIT"
] | 1 | 2020-06-04T08:55:27.000Z | 2020-06-04T08:55:27.000Z | from .monitor import Monitor, NullMonitor
| 21 | 41 | 0.833333 | 5 | 42 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.945946 | 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 |
09b13a36abe13835dfcebaecd4290e8a9855957c | 180 | py | Python | {{cookiecutter.package_name}}/{{cookiecutter.package_name}}/user/views.py | cmeadows/fbone-marrow | 0c69bcafbe21c48641cc9759f2a959b9b7881ce3 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.package_name}}/{{cookiecutter.package_name}}/user/views.py | cmeadows/fbone-marrow | 0c69bcafbe21c48641cc9759f2a959b9b7881ce3 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.package_name}}/{{cookiecutter.package_name}}/user/views.py | cmeadows/fbone-marrow | 0c69bcafbe21c48641cc9759f2a959b9b7881ce3 | [
"BSD-3-Clause"
] | 1 | 2020-04-25T14:01:26.000Z | 2020-04-25T14:01:26.000Z | from flask import Blueprint, render_template
user = Blueprint('user', __name__, url_prefix='/user')
@user.route('/')
def index():
return render_template('user/index.html')
| 18 | 54 | 0.716667 | 23 | 180 | 5.304348 | 0.652174 | 0.229508 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127778 | 180 | 9 | 55 | 20 | 0.77707 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
09b58c244a12073f6fbe4f057a9cdb4f58a173fa | 98 | py | Python | zipline/modelling/classifier.py | michaeljohnbennett/zipline | 29321af1b472d72b759a71c9f5ba341109fc0e6d | [
"Apache-2.0"
] | 1 | 2015-10-22T03:38:19.000Z | 2015-10-22T03:38:19.000Z | zipline/modelling/classifier.py | michaeljohnbennett/zipline | 29321af1b472d72b759a71c9f5ba341109fc0e6d | [
"Apache-2.0"
] | null | null | null | zipline/modelling/classifier.py | michaeljohnbennett/zipline | 29321af1b472d72b759a71c9f5ba341109fc0e6d | [
"Apache-2.0"
] | null | null | null | """
classifier.py
"""
from zipline.modelling.term import Term
class Classifier(Term):
pass
| 9.8 | 39 | 0.704082 | 12 | 98 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173469 | 98 | 9 | 40 | 10.888889 | 0.851852 | 0.132653 | 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 |
116897ffba2caba35db0ce442d80a7df19e49b10 | 11,412 | py | Python | psydac/api/tests/test_api_feec_3d.py | mayuri-dhote/psydac | 01ddbe2d049a599684c45060912d01c2658160a3 | [
"MIT"
] | 20 | 2019-07-30T12:37:57.000Z | 2022-03-09T11:35:04.000Z | psydac/api/tests/test_api_feec_3d.py | mayuri-dhote/psydac | 01ddbe2d049a599684c45060912d01c2658160a3 | [
"MIT"
] | 98 | 2019-04-01T16:32:27.000Z | 2022-03-21T19:30:35.000Z | psydac/api/tests/test_api_feec_3d.py | mayuri-dhote/psydac | 01ddbe2d049a599684c45060912d01c2658160a3 | [
"MIT"
] | 7 | 2019-10-03T03:49:47.000Z | 2022-03-01T09:11:49.000Z | # -*- coding: UTF-8 -*-
from sympde.topology import Mapping
from sympde.calculus import grad, dot
from sympde.calculus import laplace
from sympde.topology import ScalarFunctionSpace
from sympde.topology import elements_of
from sympde.topology import NormalVector
from sympde.topology import Cube, Derham
from sympde.top... | 32.69914 | 118 | 0.572906 | 1,806 | 11,412 | 3.41196 | 0.129568 | 0.018825 | 0.025316 | 0.02629 | 0.777345 | 0.774911 | 0.767121 | 0.759007 | 0.746349 | 0.737098 | 0 | 0.054451 | 0.224325 | 11,412 | 348 | 119 | 32.793103 | 0.641663 | 0.106642 | 0 | 0.744186 | 0 | 0.018605 | 0.0237 | 0.0128 | 0 | 0 | 0 | 0 | 0.009302 | 1 | 0.051163 | false | 0 | 0.106977 | 0 | 0.227907 | 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 |
fec208c22d9d1041117b1d183e1d441e6bf6d6c9 | 40 | py | Python | lightRaven/agent/__init__.py | M0gician/lightRaven | edcaed1ffbfab95064fc2719f2e3f79375ce6f04 | [
"MIT"
] | 1 | 2020-12-16T07:41:44.000Z | 2020-12-16T07:41:44.000Z | lightRaven/agent/__init__.py | M0gician/lightRaven | edcaed1ffbfab95064fc2719f2e3f79375ce6f04 | [
"MIT"
] | null | null | null | lightRaven/agent/__init__.py | M0gician/lightRaven | edcaed1ffbfab95064fc2719f2e3f79375ce6f04 | [
"MIT"
] | null | null | null | from .cem_seldonian import CEMSeldonian
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 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 |
3a343af5749652da771adbdd16f972a23748ed7b | 47 | py | Python | pybabblesdk/blockchain/__init__.py | mosaicnetworks/pybabblesdk | 6fe09cbe02ed8dc674aa849723bad5336a9b9017 | [
"MIT"
] | 3 | 2019-04-24T19:42:37.000Z | 2020-06-09T03:36:04.000Z | pybabblesdk/blockchain/__init__.py | mosaicnetworks/pybabblesdk | 6fe09cbe02ed8dc674aa849723bad5336a9b9017 | [
"MIT"
] | null | null | null | pybabblesdk/blockchain/__init__.py | mosaicnetworks/pybabblesdk | 6fe09cbe02ed8dc674aa849723bad5336a9b9017 | [
"MIT"
] | null | null | null | from pybabblesdk.blockchain.block import Block
| 23.5 | 46 | 0.87234 | 6 | 47 | 6.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 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 |
28cf36595d374834e4f9baeeee590a8bb7fc9e14 | 166 | py | Python | arxiv_html/renders/tasks.py | arXiv/arxiv-readability | 20dac4540aaf689b2ab8fdababf51e89e645f077 | [
"Apache-2.0",
"MIT"
] | 19 | 2019-01-02T16:39:10.000Z | 2022-02-11T12:50:27.000Z | arxiv_html/renders/tasks.py | cul-it/arxiv-readability | 20dac4540aaf689b2ab8fdababf51e89e645f077 | [
"Apache-2.0",
"MIT"
] | 2 | 2018-11-12T17:09:14.000Z | 2018-11-12T17:10:07.000Z | arxiv_html/renders/tasks.py | cul-it/arxiv-readability | 20dac4540aaf689b2ab8fdababf51e89e645f077 | [
"Apache-2.0",
"MIT"
] | 7 | 2019-01-10T22:02:01.000Z | 2020-12-06T16:28:22.000Z | from ..celery import app
from .engrafo import run_engrafo
@app.task(bind=True)
def run_engrafo_task(self, *args, **kwargs):
return run_engrafo(*args, **kwargs)
| 20.75 | 44 | 0.73494 | 25 | 166 | 4.72 | 0.56 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 166 | 7 | 45 | 23.714286 | 0.819444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e92ca4ce1f3afd72b1e63f43b5e858e59256b930 | 23,959 | py | Python | blowdrycss/unit_tests/test_BreakpointParser.py | acnagy/test-blowdrycss | bd9603dc87dc304b811213e3e6c3c97afa7f5966 | [
"MIT"
] | null | null | null | blowdrycss/unit_tests/test_BreakpointParser.py | acnagy/test-blowdrycss | bd9603dc87dc304b811213e3e6c3c97afa7f5966 | [
"MIT"
] | null | null | null | blowdrycss/unit_tests/test_BreakpointParser.py | acnagy/test-blowdrycss | bd9603dc87dc304b811213e3e6c3c97afa7f5966 | [
"MIT"
] | null | null | null | # python 2
from __future__ import absolute_import
# builtins
from unittest import TestCase, main
# plugins
from cssutils.css import Property
# custom
from blowdrycss.breakpointparser import BreakpointParser
from blowdrycss_settings import px_to_em
__author__ = 'chad nelson'
__project__ = 'blowdrycss'
class TestBr... | 42.937276 | 120 | 0.588589 | 2,781 | 23,959 | 4.841064 | 0.046027 | 0.062987 | 0.053109 | 0.056377 | 0.895194 | 0.863701 | 0.838743 | 0.823739 | 0.816311 | 0.797371 | 0 | 0.023065 | 0.267123 | 23,959 | 557 | 121 | 43.014363 | 0.743664 | 0.005384 | 0 | 0.694611 | 0 | 0.005988 | 0.213803 | 0.023131 | 0 | 0 | 0 | 0 | 0.077844 | 1 | 0.065868 | false | 0 | 0.031936 | 0 | 0.0998 | 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 |
aaf350bea740d89fc42cf4f9697f8847e91e4497 | 143 | py | Python | interface/backend/static/views.py | rahit/django-skeleton | b9d36da546307e3e28899a6e5054cc3f2229184d | [
"MIT"
] | 1 | 2017-10-09T10:12:47.000Z | 2017-10-09T10:12:47.000Z | interface/backend/static/views.py | rahit/django-skeleton | b9d36da546307e3e28899a6e5054cc3f2229184d | [
"MIT"
] | null | null | null | interface/backend/static/views.py | rahit/django-skeleton | b9d36da546307e3e28899a6e5054cc3f2229184d | [
"MIT"
] | null | null | null | from django.conf import settings
from django.shortcuts import render
def home(request):
return render(request, '../frontend/index.html')
| 20.428571 | 52 | 0.762238 | 19 | 143 | 5.736842 | 0.736842 | 0.183486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132867 | 143 | 6 | 53 | 23.833333 | 0.879032 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c9733ec60ea5acdcecfae5d12fddd4cfd198270b | 17,097 | py | Python | tests/test_config_pools.py | discogestalt/stingray | db55e0cd279cb8be8cf9716bc3e1e7f73cda2c1d | [
"Apache-2.0"
] | null | null | null | tests/test_config_pools.py | discogestalt/stingray | db55e0cd279cb8be8cf9716bc3e1e7f73cda2c1d | [
"Apache-2.0"
] | null | null | null | tests/test_config_pools.py | discogestalt/stingray | db55e0cd279cb8be8cf9716bc3e1e7f73cda2c1d | [
"Apache-2.0"
] | 1 | 2019-05-28T20:16:59.000Z | 2019-05-28T20:16:59.000Z | import pytest
from stingray.apiclient import StingrayAPIClientError
from stingray.config.pools import Pools, Pool
import config_pool_responses as cpr
stingray_args = dict(
host='stingray',
port='9070',
user='admin',
password='admin',
api_version='5.2',
)
stingray_args_old = dict(
host='stingra... | 30.260177 | 90 | 0.567409 | 2,133 | 17,097 | 4.368026 | 0.052508 | 0.021895 | 0.029194 | 0.026296 | 0.914779 | 0.864334 | 0.833745 | 0.773318 | 0.744231 | 0.725019 | 0 | 0.06594 | 0.297479 | 17,097 | 564 | 91 | 30.31383 | 0.709766 | 0 | 0 | 0.683628 | 0 | 0 | 0.147745 | 0.023279 | 0 | 0 | 0 | 0 | 0.152655 | 1 | 0.057522 | false | 0.004425 | 0.00885 | 0 | 0.070796 | 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 |
a30f7b07498ba34789452b8e6180953841011a57 | 5,857 | py | Python | authors/apps/notification/test/test_notifications.py | andela/ah-backend-prime | 0708463d4565a4977a5a5dcb839f1dfed52fdc90 | [
"BSD-3-Clause"
] | 1 | 2019-09-19T14:30:05.000Z | 2019-09-19T14:30:05.000Z | authors/apps/notification/test/test_notifications.py | e-ian/authors-haven-frontend | 05829c8088ca49ef2cf0863dc87ec55b44b13534 | [
"BSD-3-Clause"
] | 22 | 2019-03-25T16:10:53.000Z | 2022-03-11T23:44:21.000Z | authors/apps/notification/test/test_notifications.py | e-ian/authors-haven-frontend | 05829c8088ca49ef2cf0863dc87ec55b44b13534 | [
"BSD-3-Clause"
] | 6 | 2019-03-25T09:39:39.000Z | 2021-03-11T23:54:12.000Z | from django.urls import reverse
from django.shortcuts import get_object_or_404
from rest_framework import status
from authors.apps.authentication.tests.test_data import VALID_USER_DATA
from authors.apps.articles.tests.test_data import VALID_ARTICLE
from authors.apps.notification.test.base import NotificationBaseTest
fr... | 38.032468 | 91 | 0.58938 | 596 | 5,857 | 5.607383 | 0.137584 | 0.062837 | 0.067026 | 0.100539 | 0.802513 | 0.763914 | 0.747756 | 0.747756 | 0.735787 | 0.711849 | 0 | 0.010651 | 0.29469 | 5,857 | 153 | 92 | 38.281046 | 0.798354 | 0.023903 | 0 | 0.676471 | 0 | 0 | 0.12272 | 0 | 0 | 0 | 0 | 0 | 0.066176 | 1 | 0.036765 | false | 0 | 0.058824 | 0 | 0.102941 | 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 |
a317fce5b37f463e15876a2aad89571583d1bf2d | 56 | py | Python | testing_editable_dots/main.py | AndydeCleyre/1576 | 3e0bb69c32ca343e4b21e19e44aead526efa09b6 | [
"WTFPL"
] | null | null | null | testing_editable_dots/main.py | AndydeCleyre/1576 | 3e0bb69c32ca343e4b21e19e44aead526efa09b6 | [
"WTFPL"
] | null | null | null | testing_editable_dots/main.py | AndydeCleyre/1576 | 3e0bb69c32ca343e4b21e19e44aead526efa09b6 | [
"WTFPL"
] | 1 | 2022-02-17T02:59:50.000Z | 2022-02-17T02:59:50.000Z | def main():
import ruamel.yaml
print("success")
| 14 | 22 | 0.625 | 7 | 56 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232143 | 56 | 3 | 23 | 18.666667 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a342e6e0a74b8f0762677cdcad953a4a9a65832c | 230 | py | Python | app/wrapper/pynubank_wrapper/providers/__init__.py | brunoanhaia/budget-planner | edb030591fd8425e1e4132f869693bb10b941771 | [
"MIT"
] | null | null | null | app/wrapper/pynubank_wrapper/providers/__init__.py | brunoanhaia/budget-planner | edb030591fd8425e1e4132f869693bb10b941771 | [
"MIT"
] | 2 | 2022-03-02T14:10:53.000Z | 2022-03-17T22:56:25.000Z | app/wrapper/pynubank_wrapper/providers/__init__.py | brunoanhaia/budget-planner | edb030591fd8425e1e4132f869693bb10b941771 | [
"MIT"
] | null | null | null | import pathlib
import sys
sys.path.append(str(pathlib.Path(__file__).parent))
from .database_provider import DatabaseProvider
from .cache_data_provider import CacheDataProvider
from .nubank_api_provider import NuBankApiProvider
| 25.555556 | 51 | 0.86087 | 29 | 230 | 6.517241 | 0.62069 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082609 | 230 | 8 | 52 | 28.75 | 0.895735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 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 |
a36304a10ade9cff91ec6a08271ad7f1a3698961 | 3,241 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtGui/QBrush.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QBrush.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QBrush.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtGui
# from C:\Python27\lib\site-packages\PySide\QtGui.pyd
# by generator 1.147
# no doc
# imports
import PySide.QtCore as __PySide_QtCore
import Shiboken as __Shiboken
class QBrush(__Shiboken.Object):
# no doc
def color(self, *args, **kwargs): # real signature unknown
... | 28.182609 | 77 | 0.597038 | 394 | 3,241 | 4.497462 | 0.19797 | 0.212754 | 0.327314 | 0.172686 | 0.709932 | 0.664786 | 0.645034 | 0.624718 | 0.231377 | 0 | 0 | 0.00296 | 0.270287 | 3,241 | 114 | 78 | 28.429825 | 0.7463 | 0.441222 | 0 | 0.467742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.467742 | false | 0.467742 | 0.032258 | 0 | 0.516129 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
a372435586f2afaa438ddb0f033f039bdd0570ed | 3,743 | py | Python | tests/test_sklearn_metrics.py | miltondp/clustermatch-gene-expr | 664bcf9032f53e22165ce7aa586dbf11365a5827 | [
"BSD-2-Clause-Patent"
] | null | null | null | tests/test_sklearn_metrics.py | miltondp/clustermatch-gene-expr | 664bcf9032f53e22165ce7aa586dbf11365a5827 | [
"BSD-2-Clause-Patent"
] | 13 | 2021-08-13T16:02:15.000Z | 2022-01-31T17:56:57.000Z | tests/test_sklearn_metrics.py | miltondp/clustermatch-gene-expr | 664bcf9032f53e22165ce7aa586dbf11365a5827 | [
"BSD-2-Clause-Patent"
] | 1 | 2021-08-09T14:57:40.000Z | 2021-08-09T14:57:40.000Z | import numpy as np
from sklearn.metrics import adjusted_rand_score as sklearn_ari
from clustermatch.sklearn.metrics import (
adjusted_rand_index,
get_contingency_matrix,
get_pair_confusion_matrix,
)
def test_get_contingency_matrix_k0_equal_k1():
part0 = np.array([0, 0, 1, 1, 2, 2])
part1 = np.arr... | 28.792308 | 88 | 0.67299 | 613 | 3,743 | 3.836868 | 0.11093 | 0.019558 | 0.093963 | 0.03869 | 0.897959 | 0.868197 | 0.843963 | 0.835034 | 0.835034 | 0.827381 | 0 | 0.085838 | 0.200107 | 3,743 | 129 | 89 | 29.015504 | 0.699733 | 0.047288 | 0 | 0.584416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 1 | 0.116883 | false | 0 | 0.038961 | 0 | 0.155844 | 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 |
a376ae40f7c3bd7dfaf385381f45ce80d58e0987 | 83 | py | Python | pipert2/utils/__init__.py | MayoG/PipeRT2 | 357bf8a5fd3f3fe2149b7b0317d2c39dde66561d | [
"MIT"
] | null | null | null | pipert2/utils/__init__.py | MayoG/PipeRT2 | 357bf8a5fd3f3fe2149b7b0317d2c39dde66561d | [
"MIT"
] | null | null | null | pipert2/utils/__init__.py | MayoG/PipeRT2 | 357bf8a5fd3f3fe2149b7b0317d2c39dde66561d | [
"MIT"
] | null | null | null | from .consts.event_names import START_EVENT_NAME, STOP_EVENT_NAME, KILL_EVENT_NAME
| 41.5 | 82 | 0.879518 | 14 | 83 | 4.714286 | 0.642857 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072289 | 83 | 1 | 83 | 83 | 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 |
a38766907b7a13bbfb5af8c9d10e69c86518d20e | 185 | py | Python | Instanssi/ext_blog/admin.py | jpot/Instanssi.org | 5b0e3d57e002a9e8f5bb32973d43884fbdbd6a7d | [
"MIT"
] | 6 | 2015-04-03T12:15:02.000Z | 2019-05-29T07:56:11.000Z | Instanssi/ext_blog/admin.py | jpot/Instanssi.org | 5b0e3d57e002a9e8f5bb32973d43884fbdbd6a7d | [
"MIT"
] | 52 | 2015-03-04T21:15:48.000Z | 2022-03-21T20:16:24.000Z | Instanssi/ext_blog/admin.py | jpot/Instanssi.org | 5b0e3d57e002a9e8f5bb32973d43884fbdbd6a7d | [
"MIT"
] | 6 | 2017-09-26T00:52:51.000Z | 2020-02-17T17:24:21.000Z | # -*- coding: utf-8 -*-
from django.contrib import admin
from Instanssi.ext_blog.models import BlogComment, BlogEntry
admin.site.register(BlogEntry)
admin.site.register(BlogComment)
| 20.555556 | 60 | 0.783784 | 24 | 185 | 6 | 0.666667 | 0.194444 | 0.25 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.102703 | 185 | 8 | 61 | 23.125 | 0.861446 | 0.113514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
6e6caa8d791d7dce2a0c73d7fc9b7df0fdd7ff82 | 45 | py | Python | netbox/netbox/tables/__init__.py | cybarox/netbox | ea197eff5f4fe925bb354d1375912decd81752bd | [
"Apache-2.0"
] | null | null | null | netbox/netbox/tables/__init__.py | cybarox/netbox | ea197eff5f4fe925bb354d1375912decd81752bd | [
"Apache-2.0"
] | null | null | null | netbox/netbox/tables/__init__.py | cybarox/netbox | ea197eff5f4fe925bb354d1375912decd81752bd | [
"Apache-2.0"
] | null | null | null | from .columns import *
from .tables import *
| 15 | 22 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 23 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6ea223a0bf986e6cd23fae74ae2e81c926773016 | 25 | py | Python | config.py | rsutton/floa | fdd5e45015a4179d2b371bb8797d1c8068004b3a | [
"MIT"
] | null | null | null | config.py | rsutton/floa | fdd5e45015a4179d2b371bb8797d1c8068004b3a | [
"MIT"
] | null | null | null | config.py | rsutton/floa | fdd5e45015a4179d2b371bb8797d1c8068004b3a | [
"MIT"
] | null | null | null | import instance.config
| 8.333333 | 23 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 2 | 24 | 12.5 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6eb09f341001a3415b08890a7db68ae5a1984176 | 27 | py | Python | metrix/__init__.py | KiriLev/metrix | b2921d44319b1e67073067830f672cef8177fb5c | [
"MIT"
] | null | null | null | metrix/__init__.py | KiriLev/metrix | b2921d44319b1e67073067830f672cef8177fb5c | [
"MIT"
] | null | null | null | metrix/__init__.py | KiriLev/metrix | b2921d44319b1e67073067830f672cef8177fb5c | [
"MIT"
] | null | null | null | from .metrix import Metrix
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 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 |
6ec55c6ae91429b3a0b5a94a103b49e6ae67ad93 | 188 | py | Python | Posts/models.py | Joanna218/HeyFans | bdd0c101642212522429845b05ee7e17de9e076b | [
"MIT"
] | null | null | null | Posts/models.py | Joanna218/HeyFans | bdd0c101642212522429845b05ee7e17de9e076b | [
"MIT"
] | null | null | null | Posts/models.py | Joanna218/HeyFans | bdd0c101642212522429845b05ee7e17de9e076b | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Posts(models.Model):
posts_name = models.CharField(max_length=30)
posts_contents = models.CharField(max_length=30)
| 20.888889 | 52 | 0.760638 | 27 | 188 | 5.148148 | 0.62963 | 0.215827 | 0.258993 | 0.345324 | 0.374101 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.148936 | 188 | 8 | 53 | 23.5 | 0.84375 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
42c6bda644eec4196424954e517ba815c331b627 | 411 | py | Python | functional/fn02_inner-func.py | keys4words/oop | ddb80de06fcba8075632b6fdd620bb64056634d3 | [
"Apache-2.0"
] | null | null | null | functional/fn02_inner-func.py | keys4words/oop | ddb80de06fcba8075632b6fdd620bb64056634d3 | [
"Apache-2.0"
] | 2 | 2021-06-09T07:03:54.000Z | 2022-03-12T00:55:18.000Z | functional/fn02_inner-func.py | keys4words/oop | ddb80de06fcba8075632b6fdd620bb64056634d3 | [
"Apache-2.0"
] | null | null | null | def add(x):
def do_add(y):
return x + y
return do_add
add_to_five = add(5)
# print(add_to_five(7))
# print(add(5)(3))
def Person(name, age):
def print_hello():
print('Hello! My name is {}'.format(name))
def get_age():
return age
return {'print_hello': print_hello, 'ge... | 18.681818 | 59 | 0.596107 | 66 | 411 | 3.5 | 0.333333 | 0.21645 | 0.194805 | 0.17316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018987 | 0.231144 | 411 | 22 | 60 | 18.681818 | 0.712025 | 0.092457 | 0 | 0 | 0 | 0 | 0.161725 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0 | 0.142857 | 0.642857 | 0.357143 | 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 |
42d497d1c33fe14bfb5e672ca6db524833ee9029 | 66 | py | Python | test/lib/ns.py | rleite-olx/rubiks | db12e1bc3a21baf12b8795aa9602fe1ce3802059 | [
"Apache-2.0"
] | 60 | 2018-01-04T13:20:09.000Z | 2021-04-13T15:22:46.000Z | test/lib/ns.py | rleite-olx/rubiks | db12e1bc3a21baf12b8795aa9602fe1ce3802059 | [
"Apache-2.0"
] | 18 | 2018-01-09T17:42:13.000Z | 2019-01-23T09:56:39.000Z | test/lib/ns.py | rleite-olx/rubiks | db12e1bc3a21baf12b8795aa9602fe1ce3802059 | [
"Apache-2.0"
] | 8 | 2018-01-05T09:43:16.000Z | 2020-06-18T15:28:42.000Z | from kube_objs import Namespace
class NewNS(Namespace):
pass
| 13.2 | 31 | 0.772727 | 9 | 66 | 5.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 4 | 32 | 16.5 | 0.925926 | 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 |
6e4a6d608f6796a822ee3f5bfa0231e10c6ceffc | 125 | py | Python | stattools/regularization/__init__.py | artemmavrin/SLTools | 04525b5d6777be3ccdc6ad44e4cbfe24a8875933 | [
"MIT"
] | 2 | 2018-07-10T22:16:23.000Z | 2019-10-08T00:12:44.000Z | stattools/regularization/__init__.py | artemmavrin/SLTools | 04525b5d6777be3ccdc6ad44e4cbfe24a8875933 | [
"MIT"
] | null | null | null | stattools/regularization/__init__.py | artemmavrin/SLTools | 04525b5d6777be3ccdc6ad44e4cbfe24a8875933 | [
"MIT"
] | 4 | 2019-05-17T23:06:07.000Z | 2021-03-22T14:04:24.000Z | """Package implementing regularization techniques."""
from .lasso_decorator import lasso
from .ridge_decorator import ridge
| 25 | 53 | 0.824 | 14 | 125 | 7.214286 | 0.642857 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104 | 125 | 4 | 54 | 31.25 | 0.901786 | 0.376 | 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 |
2817431e87ad5f3c8767df7c9c5043f7598b7e8f | 236 | py | Python | app/app/api/domain/services/factories/ExerciseCommandRepositoryFactory.py | GPortas/Playgroundb | 60f98a4dd62ce34fbb8abfa0d9ee63697e82c57e | [
"Apache-2.0"
] | 1 | 2019-01-30T19:59:20.000Z | 2019-01-30T19:59:20.000Z | app/app/api/domain/services/factories/ExerciseCommandRepositoryFactory.py | GPortas/Playgroundb | 60f98a4dd62ce34fbb8abfa0d9ee63697e82c57e | [
"Apache-2.0"
] | null | null | null | app/app/api/domain/services/factories/ExerciseCommandRepositoryFactory.py | GPortas/Playgroundb | 60f98a4dd62ce34fbb8abfa0d9ee63697e82c57e | [
"Apache-2.0"
] | null | null | null | from app.api.data.command.ExerciseMongoCommandRepository import ExerciseMongoCommandRepository
class ExerciseCommandRepositoryFactory:
def create_exercise_command_repository(self):
return ExerciseMongoCommandRepository()
| 29.5 | 94 | 0.851695 | 18 | 236 | 11 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105932 | 236 | 7 | 95 | 33.714286 | 0.938389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
282823a7fcc7ebce32a9525eab9bafa04ee2b1a2 | 32 | py | Python | depfetch/lang/__init__.py | ChristopherPtak/DepFetch | 3122b8749970b254e5fcf3bf366c8bc21e80f71e | [
"MIT"
] | null | null | null | depfetch/lang/__init__.py | ChristopherPtak/DepFetch | 3122b8749970b254e5fcf3bf366c8bc21e80f71e | [
"MIT"
] | null | null | null | depfetch/lang/__init__.py | ChristopherPtak/DepFetch | 3122b8749970b254e5fcf3bf366c8bc21e80f71e | [
"MIT"
] | null | null | null |
from depfetch.lang import cpp
| 8 | 29 | 0.78125 | 5 | 32 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 3 | 30 | 10.666667 | 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 |
954e8dfcdb6f2b9f030f69d4f832b24f61ddbc5b | 90 | py | Python | pyopls/__init__.py | vitalwarley/pyopls | 26c0cd28e5fa4d2918edd1c7115bdbbb691102ea | [
"MIT"
] | 31 | 2019-12-11T08:21:44.000Z | 2022-03-11T06:57:46.000Z | pyopls/__init__.py | vitalwarley/pyopls | 26c0cd28e5fa4d2918edd1c7115bdbbb691102ea | [
"MIT"
] | 4 | 2020-05-08T05:21:18.000Z | 2022-02-02T18:08:31.000Z | pyopls/__init__.py | vitalwarley/pyopls | 26c0cd28e5fa4d2918edd1c7115bdbbb691102ea | [
"MIT"
] | 12 | 2020-02-20T10:37:06.000Z | 2022-03-21T21:29:45.000Z | from pyopls.opls import OPLS
from pyopls.validation import OPLSValidator, OPLSDAValidator
| 30 | 60 | 0.866667 | 11 | 90 | 7.090909 | 0.636364 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 90 | 2 | 61 | 45 | 0.962963 | 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 |
95f1e6f8759141b5e2b3f91c9bfb0c525f7735c5 | 4,536 | py | Python | src/python/unit_tests_typedesc.py | cmstein/oiio | b2d7c347bf8910a61d693856999b6197fb1f21f2 | [
"BSD-3-Clause"
] | 2 | 2015-02-25T21:54:04.000Z | 2015-07-30T17:59:13.000Z | src/python/unit_tests_typedesc.py | cmstein/oiio | b2d7c347bf8910a61d693856999b6197fb1f21f2 | [
"BSD-3-Clause"
] | null | null | null | src/python/unit_tests_typedesc.py | cmstein/oiio | b2d7c347bf8910a61d693856999b6197fb1f21f2 | [
"BSD-3-Clause"
] | 2 | 2016-08-22T11:47:04.000Z | 2021-01-04T11:35:39.000Z | # unit tests for TypeDesc
import OpenImageIO as oiio
import array
def td_basetype_test():
print "Starting TypeDesc::BASETYPE enum tests..."
# test 1
try:
oiio.BASETYPE.UNKNOWN
print "Test 1 passed"
except:
print "Test 1 failed"
# test 2
try:
oiio.BASETYPE.NONE
... | 19.982379 | 53 | 0.546076 | 556 | 4,536 | 4.419065 | 0.133094 | 0.234432 | 0.193732 | 0.239316 | 0.407407 | 0.407407 | 0.342694 | 0.342694 | 0.342694 | 0.327228 | 0 | 0.048142 | 0.377205 | 4,536 | 226 | 54 | 20.070796 | 0.821593 | 0.056658 | 0 | 0.615819 | 0 | 0 | 0.238869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.180791 | 0.011299 | null | null | 0.40678 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
2559c53289f883ed1869857c81fb4ece7bbc574c | 82 | py | Python | tests/testapp/formfields.py | jcass77/django-yearlessdate | 19ed3ecb16efe33eea6f02138bb4365447cb2ea7 | [
"BSD-3-Clause"
] | 16 | 2016-09-23T07:09:40.000Z | 2022-01-13T13:22:31.000Z | tests/testapp/formfields.py | jcass77/django-yearlessdate | 19ed3ecb16efe33eea6f02138bb4365447cb2ea7 | [
"BSD-3-Clause"
] | 8 | 2017-12-06T08:32:12.000Z | 2021-05-13T15:31:21.000Z | tests/testapp/formfields.py | jcass77/django-yearlessdate | 19ed3ecb16efe33eea6f02138bb4365447cb2ea7 | [
"BSD-3-Clause"
] | 16 | 2016-03-04T07:55:56.000Z | 2021-04-16T15:14:26.000Z | from django.forms import CharField
class MyCustomFormField(CharField):
pass
| 13.666667 | 35 | 0.792683 | 9 | 82 | 7.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 82 | 5 | 36 | 16.4 | 0.942029 | 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 |
25711d81194b40bc2b6d0ba074e28cdcfaf6e15f | 23 | py | Python | tests/models/__init__.py | fajril/petrocast | 7f26059f472bd436056307e6d2bb62d8b694111f | [
"Apache-2.0"
] | null | null | null | tests/models/__init__.py | fajril/petrocast | 7f26059f472bd436056307e6d2bb62d8b694111f | [
"Apache-2.0"
] | null | null | null | tests/models/__init__.py | fajril/petrocast | 7f26059f472bd436056307e6d2bb62d8b694111f | [
"Apache-2.0"
] | null | null | null | from petrocast import * | 23 | 23 | 0.826087 | 3 | 23 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 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 |
c29e9896d6117be9ce19541780968759d12519b8 | 73 | py | Python | packages/python/plotly/plotly/matplotlylib/mplexporter/tests/__init__.py | mastermind88/plotly.py | efa70710df1af22958e1be080e105130042f1839 | [
"MIT"
] | 11,750 | 2015-10-12T07:03:39.000Z | 2022-03-31T20:43:15.000Z | packages/python/plotly/plotly/matplotlylib/mplexporter/tests/__init__.py | mastermind88/plotly.py | efa70710df1af22958e1be080e105130042f1839 | [
"MIT"
] | 2,951 | 2015-10-12T00:41:25.000Z | 2022-03-31T22:19:26.000Z | packages/python/plotly/plotly/matplotlylib/mplexporter/tests/__init__.py | mastermind88/plotly.py | efa70710df1af22958e1be080e105130042f1839 | [
"MIT"
] | 2,623 | 2015-10-15T14:40:27.000Z | 2022-03-28T16:05:50.000Z | import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot as plt
| 14.6 | 31 | 0.808219 | 10 | 73 | 5.9 | 0.7 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 4 | 32 | 18.25 | 0.907692 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 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 |
6c7b0c38ce7beeb19c2f598d9715b84d3323cf23 | 7,276 | py | Python | tests/crypto/cipher/aes_ecb_tests.py | redradist/PyCodec | 46884cbfb7de0f02bd917f86e58d9492951d60f0 | [
"MIT"
] | null | null | null | tests/crypto/cipher/aes_ecb_tests.py | redradist/PyCodec | 46884cbfb7de0f02bd917f86e58d9492951d60f0 | [
"MIT"
] | null | null | null | tests/crypto/cipher/aes_ecb_tests.py | redradist/PyCodec | 46884cbfb7de0f02bd917f86e58d9492951d60f0 | [
"MIT"
] | null | null | null | import unittest
from pycodec.crypto.cipher.aes import AES
class Testing_AES_ECB(unittest.TestCase):
def setUp(self):
"""Currently nothing to do. Use it for initialization data before test"""
pass
def tearDown(self):
"""Currently nothing to do. Use it for reinitialization data after t... | 54.298507 | 84 | 0.734607 | 717 | 7,276 | 7.1841 | 0.090656 | 0.121142 | 0.055911 | 0.069889 | 0.785673 | 0.783343 | 0.77286 | 0.740245 | 0.717142 | 0.656572 | 0 | 0.091758 | 0.146234 | 7,276 | 133 | 85 | 54.706767 | 0.737444 | 0.018692 | 0 | 0.485437 | 0 | 0 | 0.276056 | 0.170571 | 0 | 0 | 0 | 0 | 0.23301 | 1 | 0.252427 | false | 0.019417 | 0.019417 | 0 | 0.281553 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
66807e7deab3bd2d06a9116f06fd2cfeb4f5b605 | 214 | py | Python | funds/__init__.py | thorwhalen/funds | 9fe62daf9a808da96ab21e3d9a4b45b641b55585 | [
"Apache-2.0"
] | 1 | 2022-01-19T13:15:20.000Z | 2022-01-19T13:15:20.000Z | funds/__init__.py | thorwhalen/funds | 9fe62daf9a808da96ab21e3d9a4b45b641b55585 | [
"Apache-2.0"
] | null | null | null | funds/__init__.py | thorwhalen/funds | 9fe62daf9a808da96ab21e3d9a4b45b641b55585 | [
"Apache-2.0"
] | null | null | null | """Historical financial data acquisition
>>> from funds import get_ticker_symbols
>>> tickers = get_ticker_symbols()
>>> len(tickers)
4039
>>> 'GOOG' in tickers
True
"""
from funds.util import get_ticker_symbols
| 17.833333 | 41 | 0.747664 | 28 | 214 | 5.5 | 0.607143 | 0.175325 | 0.311688 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.130841 | 214 | 11 | 42 | 19.454545 | 0.806452 | 0.761682 | 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 | 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 |
6684e80fe7051ea4e6ca0d064b87918d78ba9cb0 | 148 | py | Python | train/__init__.py | marella/train | 3c4ba1f59bf20e31f7ee5ea9a8f38e49440a93f7 | [
"MIT"
] | null | null | null | train/__init__.py | marella/train | 3c4ba1f59bf20e31f7ee5ea9a8f38e49440a93f7 | [
"MIT"
] | null | null | null | train/__init__.py | marella/train | 3c4ba1f59bf20e31f7ee5ea9a8f38e49440a93f7 | [
"MIT"
] | null | null | null | from .agents import *
from .policy import *
from .state import *
from . import agents
from . import policy
from . import state
from . import utils
| 16.444444 | 21 | 0.736486 | 21 | 148 | 5.190476 | 0.285714 | 0.366972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195946 | 148 | 8 | 22 | 18.5 | 0.915966 | 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 |
dd6570c17c2a025a5442c2b28d6884854ffb8dc0 | 4,924 | py | Python | chainlibpy/generated/cosmos/auth/v1beta1/query_pb2_grpc.py | MaCong-crypto/chainlibpy | 8f91869fdf068359ebd9a3b206a7e856d8fa84f3 | [
"Apache-2.0"
] | null | null | null | chainlibpy/generated/cosmos/auth/v1beta1/query_pb2_grpc.py | MaCong-crypto/chainlibpy | 8f91869fdf068359ebd9a3b206a7e856d8fa84f3 | [
"Apache-2.0"
] | null | null | null | chainlibpy/generated/cosmos/auth/v1beta1/query_pb2_grpc.py | MaCong-crypto/chainlibpy | 8f91869fdf068359ebd9a3b206a7e856d8fa84f3 | [
"Apache-2.0"
] | null | null | null |
'Client and server classes corresponding to protobuf-defined services.'
import grpc
from ....cosmos.auth.v1beta1 import query_pb2 as cosmos_dot_auth_dot_v1beta1_dot_query__pb2
class QueryStub(object):
'Query defines the gRPC querier service.\n '
def __init__(self, channel):
'Constructor.\n\n ... | 89.527273 | 821 | 0.816003 | 593 | 4,924 | 6.384486 | 0.155143 | 0.042261 | 0.06524 | 0.080296 | 0.808505 | 0.797412 | 0.797412 | 0.736397 | 0.716852 | 0.663233 | 0 | 0.01675 | 0.102762 | 4,924 | 54 | 822 | 91.185185 | 0.840199 | 0.082047 | 0 | 0.357143 | 0 | 0 | 0.166565 | 0.046516 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0 | 0.047619 | 0.071429 | 0.380952 | 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 |
dd96a98f24d32af63bba5fc41a7d132b205edbfc | 76 | py | Python | boa3_test/test_sc/interop_test/binary/AtoiMismatchedType.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | boa3_test/test_sc/interop_test/binary/AtoiMismatchedType.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | boa3_test/test_sc/interop_test/binary/AtoiMismatchedType.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | from boa3.builtin.interop.binary import atoi
def main():
atoi(10, 10)
| 12.666667 | 44 | 0.697368 | 12 | 76 | 4.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 0.184211 | 76 | 5 | 45 | 15.2 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dda06d3e5b4683c820a47a9090a9ee59028c0119 | 35 | py | Python | apps/users/permissions/__init__.py | michaldomino/Voice-interface-optimization-server | fff59d4c5db599e35d4b5f3915bbb272d2000a26 | [
"MIT"
] | null | null | null | apps/users/permissions/__init__.py | michaldomino/Voice-interface-optimization-server | fff59d4c5db599e35d4b5f3915bbb272d2000a26 | [
"MIT"
] | null | null | null | apps/users/permissions/__init__.py | michaldomino/Voice-interface-optimization-server | fff59d4c5db599e35d4b5f3915bbb272d2000a26 | [
"MIT"
] | null | null | null | from .is_verified import IsVerified | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
662bcd2576164074578999c69e3cea1e04d0e28d | 92 | py | Python | src/qdtrader/signal/__init__.py | joequant/qdtrader | becec1422b4e18aa01c4ecc4082da18a7090ac9b | [
"BSL-1.0"
] | null | null | null | src/qdtrader/signal/__init__.py | joequant/qdtrader | becec1422b4e18aa01c4ecc4082da18a7090ac9b | [
"BSL-1.0"
] | null | null | null | src/qdtrader/signal/__init__.py | joequant/qdtrader | becec1422b4e18aa01c4ecc4082da18a7090ac9b | [
"BSL-1.0"
] | null | null | null | class Signal:
def __init__(self):
pass
def generate(self, df):
pass
| 15.333333 | 27 | 0.554348 | 11 | 92 | 4.272727 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.358696 | 92 | 5 | 28 | 18.4 | 0.79661 | 0 | 0 | 0.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
66557c29496a76044bf811d40f5941b9166c717d | 82 | py | Python | utils.py | kguinto/covid-hackathon | db5fe4c1be3e5207d6a41964e1c414031503cd28 | [
"Apache-2.0"
] | null | null | null | utils.py | kguinto/covid-hackathon | db5fe4c1be3e5207d6a41964e1c414031503cd28 | [
"Apache-2.0"
] | 2 | 2022-02-19T07:07:06.000Z | 2022-02-27T11:19:27.000Z | utils.py | kguinto/__covid-hackathon | 6ca9f169eaa840c24630cb0f101b727865cf7b5c | [
"Apache-2.0"
] | null | null | null | from random import randint
def get_next_id():
return randint(1, 1000000000)
| 13.666667 | 33 | 0.743902 | 12 | 82 | 4.916667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 0.182927 | 82 | 5 | 34 | 16.4 | 0.716418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
b0b4093a273ae91645a00c2e5e3ef33a3e4fff55 | 168 | py | Python | paper_code/distributed_evolution/niches/__init__.py | adam-katona/QualityEvolvabilityES | ebb96e1dbc2422109714c0f5c8174073f9cc6c6f | [
"MIT"
] | 1 | 2021-10-06T15:08:42.000Z | 2021-10-06T15:08:42.000Z | paper_code/distributed_evolution/niches/__init__.py | adam-katona/QualityEvolvabilityES | ebb96e1dbc2422109714c0f5c8174073f9cc6c6f | [
"MIT"
] | null | null | null | paper_code/distributed_evolution/niches/__init__.py | adam-katona/QualityEvolvabilityES | ebb96e1dbc2422109714c0f5c8174073f9cc6c6f | [
"MIT"
] | null | null | null | from .core import Niche
from .gym import GymNiche
# from .multi_gym import MultiGymNiche
from .novelty_gym import NoveltyGymNiche
from .torch_gym import TorchGymNiche
| 24 | 40 | 0.833333 | 23 | 168 | 5.956522 | 0.521739 | 0.262774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 168 | 6 | 41 | 28 | 0.938356 | 0.214286 | 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 |
b0b8286a112f6cc255d6f141cac0e14ff0ca06ff | 37 | py | Python | app/others/__init__.py | pushyzheng/docker-oj-web | 119abae3763cd2e53c686a320af7f4f5af1f16ca | [
"MIT"
] | 2 | 2019-06-24T08:34:39.000Z | 2019-06-27T12:23:47.000Z | app/user/__init__.py | pushyzheng/docker-oj-web | 119abae3763cd2e53c686a320af7f4f5af1f16ca | [
"MIT"
] | null | null | null | app/user/__init__.py | pushyzheng/docker-oj-web | 119abae3763cd2e53c686a320af7f4f5af1f16ca | [
"MIT"
] | null | null | null | # encoding:utf-8
from . import views | 12.333333 | 19 | 0.72973 | 6 | 37 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.162162 | 37 | 3 | 19 | 12.333333 | 0.83871 | 0.378378 | 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 |
b0ea14f23aa13ed5b01ab401dc15e87a0682123c | 244 | py | Python | ppydb/_operations.py | louisdevie/ppydb | 39155835ffc847086bb37c6f1d30628f102e8ba2 | [
"MIT"
] | null | null | null | ppydb/_operations.py | louisdevie/ppydb | 39155835ffc847086bb37c6f1d30628f102e8ba2 | [
"MIT"
] | null | null | null | ppydb/_operations.py | louisdevie/ppydb | 39155835ffc847086bb37c6f1d30628f102e8ba2 | [
"MIT"
] | 1 | 2021-12-09T21:36:38.000Z | 2021-12-09T21:36:38.000Z | class OperationABC:
pass
class BaseTable(OperationABC):
def __init__(self, table, db):
self.table = table
self.database = db
class Selection(OperationABC):
def __init__(self, pred):
self.predicate = pred
| 17.428571 | 34 | 0.651639 | 27 | 244 | 5.592593 | 0.481481 | 0.198676 | 0.251656 | 0.304636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258197 | 244 | 13 | 35 | 18.769231 | 0.834254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
9fd650b62f039628f3719758b98a035e174ff14c | 27 | py | Python | src/ID_simple_triggers.py | faycalki/tainted-paths | 81cecf6c1fba903ec3b8043e22652d222892609d | [
"MIT"
] | 4 | 2019-09-26T21:34:32.000Z | 2021-11-18T19:31:15.000Z | src/ID_simple_triggers.py | faycalki/tainted-paths | 81cecf6c1fba903ec3b8043e22652d222892609d | [
"MIT"
] | null | null | null | src/ID_simple_triggers.py | faycalki/tainted-paths | 81cecf6c1fba903ec3b8043e22652d222892609d | [
"MIT"
] | null | null | null | st_0 = 0
st_1 = 1
st_2 = 2
| 6.75 | 8 | 0.555556 | 9 | 27 | 1.333333 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.333333 | 27 | 3 | 9 | 9 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b007e6870fdb40636c1846c1e8837606118a05f5 | 67 | py | Python | strategies/__init__.py | kyhoolee/shrinkbench | 3226fcb9b992fa90a1af7584bf046051b0cc9664 | [
"MIT"
] | null | null | null | strategies/__init__.py | kyhoolee/shrinkbench | 3226fcb9b992fa90a1af7584bf046051b0cc9664 | [
"MIT"
] | null | null | null | strategies/__init__.py | kyhoolee/shrinkbench | 3226fcb9b992fa90a1af7584bf046051b0cc9664 | [
"MIT"
] | null | null | null | from strategies.magnitude import *
from strategies.random import *
| 22.333333 | 34 | 0.820896 | 8 | 67 | 6.875 | 0.625 | 0.509091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 2 | 35 | 33.5 | 0.932203 | 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 |
c6724d7bc53d0f36685d82fe626fa8942c758616 | 16,550 | py | Python | dependencies/src/4Suite-XML-1.0.2/test/Xml/Xslt/Borrowed/uo_20010502.py | aleasims/Peach | bb56841e943d719d5101fee0a503ed34308eda04 | [
"MIT"
] | null | null | null | dependencies/src/4Suite-XML-1.0.2/test/Xml/Xslt/Borrowed/uo_20010502.py | aleasims/Peach | bb56841e943d719d5101fee0a503ed34308eda04 | [
"MIT"
] | null | null | null | dependencies/src/4Suite-XML-1.0.2/test/Xml/Xslt/Borrowed/uo_20010502.py | aleasims/Peach | bb56841e943d719d5101fee0a503ed34308eda04 | [
"MIT"
] | 1 | 2020-07-26T03:57:45.000Z | 2020-07-26T03:57:45.000Z | #This source doc used to bomb cDomlette just on parse, as Uche found out
from Xml.Xslt import test_harness
sheet_1 = """\
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet xhtml:dummy-for-xmlns='' exslt:dummy-for-xmlns='' version='1.0' rdf:dummy-for-xmlns='' dc:dummy-for-xmlns='' xmlns:xsl='http://www.w3.org/199... | 78.436019 | 903 | 0.703082 | 2,514 | 16,550 | 4.624503 | 0.084726 | 0.066231 | 0.055737 | 0.067091 | 0.773267 | 0.753398 | 0.714261 | 0.670136 | 0.645106 | 0.629193 | 0 | 0.010363 | 0.119577 | 16,550 | 210 | 904 | 78.809524 | 0.787523 | 0.00429 | 0 | 0.397959 | 0 | 0.357143 | 0.982401 | 0.431849 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005102 | false | 0.010204 | 0.005102 | 0 | 0.015306 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c6801324e8aa1a34225a6db964dd71ba2ce91d54 | 5,973 | py | Python | cogs rework/cogs/nuker.py | lubnc4261/House-Keeper | 6de20014afaf00cf9050e54c91cd8b3a02702a27 | [
"MIT"
] | null | null | null | cogs rework/cogs/nuker.py | lubnc4261/House-Keeper | 6de20014afaf00cf9050e54c91cd8b3a02702a27 | [
"MIT"
] | null | null | null | cogs rework/cogs/nuker.py | lubnc4261/House-Keeper | 6de20014afaf00cf9050e54c91cd8b3a02702a27 | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
from discord.ext.commands import MissingPermissions, BadArgument, MissingRequiredArgument, CommandInvokeError
class nukerCog(commands.Cog):
def __init__(self, bot):
self.client = bot
# With this code you can create your own server nuker
... | 34.929825 | 123 | 0.498242 | 608 | 5,973 | 4.84375 | 0.174342 | 0.032598 | 0.044143 | 0.051952 | 0.802377 | 0.802377 | 0.771477 | 0.771477 | 0.758913 | 0.73039 | 0 | 0.016312 | 0.394442 | 5,973 | 171 | 124 | 34.929825 | 0.797899 | 0.047715 | 0 | 0.695652 | 0 | 0 | 0.14037 | 0.032644 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017391 | false | 0 | 0.026087 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c6959838b6861e9f609b1d2d6dad4086127d6a63 | 1,845 | py | Python | fsdl/_nbdev.py | manisnesan/fsdl | 795d77796d8397fdebc0febd4cdc1477045ac86d | [
"Apache-2.0"
] | 2 | 2021-05-20T02:58:18.000Z | 2021-06-21T12:42:03.000Z | fsdl/_nbdev.py | manisnesan/fsdl | 795d77796d8397fdebc0febd4cdc1477045ac86d | [
"Apache-2.0"
] | null | null | null | fsdl/_nbdev.py | manisnesan/fsdl | 795d77796d8397fdebc0febd4cdc1477045ac86d | [
"Apache-2.0"
] | null | null | null | # AUTOGENERATED BY NBDEV! DO NOT EDIT!
__all__ = ["index", "modules", "custom_doc_links", "git_url"]
index = {"source": "01_noisyimagenette.ipynb",
"df": "01_noisyimagenette.ipynb",
"get_inverse_transform": "01_noisyimagenette.ipynb",
"lbl_dict": "01_noisyimagenette.ipynb",
"lbl_di... | 47.307692 | 91 | 0.706775 | 196 | 1,845 | 6.19898 | 0.321429 | 0.209877 | 0.271605 | 0.296296 | 0.479012 | 0.378601 | 0 | 0 | 0 | 0 | 0 | 0.03653 | 0.169106 | 1,845 | 38 | 92 | 48.552632 | 0.756034 | 0.019512 | 0 | 0 | 1 | 0 | 0.692861 | 0.520753 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0 | 0.032258 | 0.032258 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c6f137dfa850d31ca3b26e8928c42df49bc71e48 | 136 | py | Python | src/handlers/database/__init__.py | Seon82/pyCharity | 5eeb48df7990e096da190807714bcd634f806021 | [
"MIT"
] | 1 | 2021-06-28T09:10:33.000Z | 2021-06-28T09:10:33.000Z | src/handlers/database/__init__.py | Seon82/pyCharity | 5eeb48df7990e096da190807714bcd634f806021 | [
"MIT"
] | null | null | null | src/handlers/database/__init__.py | Seon82/pyCharity | 5eeb48df7990e096da190807714bcd634f806021 | [
"MIT"
] | null | null | null | from .database_connector import DatabaseConnector
from .template_manager import TemplateManager
from .stats_manager import StatsManager
| 34 | 49 | 0.889706 | 15 | 136 | 7.866667 | 0.666667 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 136 | 3 | 50 | 45.333333 | 0.951613 | 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 |
05dba8574e0cc0e174cd67caba13cf1428d02c9d | 35 | py | Python | app/utils/misc/__init__.py | rdfsx/schedule_bot | 7a0231e3bbb61ca4adec2a20a256fb35c35078ed | [
"MIT"
] | 17 | 2020-12-26T18:23:44.000Z | 2022-02-22T12:48:18.000Z | app/utils/misc/__init__.py | rdfsx/schedule_bot | 7a0231e3bbb61ca4adec2a20a256fb35c35078ed | [
"MIT"
] | 6 | 2021-01-01T13:46:15.000Z | 2022-03-24T11:57:13.000Z | app/utils/misc/__init__.py | rdfsx/schedule_bot | 7a0231e3bbb61ca4adec2a20a256fb35c35078ed | [
"MIT"
] | 2 | 2021-09-10T13:19:01.000Z | 2022-01-13T18:57:57.000Z | from .throttling import rate_limit
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 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 |
af06401e59ef7f80ebae21ec9b7ab2a588d983c7 | 39 | py | Python | Episode - 4 - Neural Network coding/fungsi/__init__.py | kelasterbuka/Kuliah_Terbuka | 73fc5640ef59c8e78f8b844eede416bce11c1371 | [
"Apache-2.0"
] | 7 | 2022-03-05T08:11:15.000Z | 2022-03-31T02:19:57.000Z | Episode - 4 - Neural Network coding/fungsi/__init__.py | kelasterbuka/Kuliah_Terbuka | 73fc5640ef59c8e78f8b844eede416bce11c1371 | [
"Apache-2.0"
] | null | null | null | Episode - 4 - Neural Network coding/fungsi/__init__.py | kelasterbuka/Kuliah_Terbuka | 73fc5640ef59c8e78f8b844eede416bce11c1371 | [
"Apache-2.0"
] | 3 | 2022-03-11T12:02:02.000Z | 2022-03-31T09:30:49.000Z | from .sigmoid import sigmoid as sigmoid | 39 | 39 | 0.846154 | 6 | 39 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.970588 | 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 |
af0d90d512eb967566a11ad6f0646f42f3853825 | 7,011 | py | Python | tests/test_production.py | Notgnoshi/generative | d9702c18b59553541f0cce706089f9fad501cd33 | [
"MIT"
] | 5 | 2021-02-11T07:55:51.000Z | 2022-02-10T01:11:02.000Z | tests/test_production.py | Notgnoshi/generative | d9702c18b59553541f0cce706089f9fad501cd33 | [
"MIT"
] | 67 | 2020-12-31T18:02:05.000Z | 2022-02-21T14:57:52.000Z | tests/test_production.py | Notgnoshi/generative | d9702c18b59553541f0cce706089f9fad501cd33 | [
"MIT"
] | null | null | null | import unittest
from generative.lsystem.grammar import RuleMapping, Token
from generative.lsystem.production import RuleParser
class RuleParsingParser(unittest.TestCase):
def test_simple(self):
parser = RuleParser()
rule = "a -> ab"
result = parser._parse(rule)
self.assertEqual(r... | 30.75 | 82 | 0.564399 | 784 | 7,011 | 4.961735 | 0.11352 | 0.015938 | 0.107969 | 0.136761 | 0.814653 | 0.786118 | 0.771979 | 0.703856 | 0.703856 | 0.643188 | 0 | 0.004082 | 0.266296 | 7,011 | 227 | 83 | 30.885463 | 0.752138 | 0.01626 | 0 | 0.672619 | 0 | 0.005952 | 0.107775 | 0.003336 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.113095 | false | 0.005952 | 0.017857 | 0.005952 | 0.14881 | 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 |
af7055d53f836959d44aab349c454c7172ee342c | 130 | py | Python | gopy/search/__init__.py | strongSoda/data-structurea-and-algorithms | 261fa2b4c0344a1aabf83934d0ad6cee9c17787d | [
"MIT"
] | 1 | 2019-10-20T13:43:04.000Z | 2019-10-20T13:43:04.000Z | gopy/search/__init__.py | strongSoda/data-structurea-and-algorithms | 261fa2b4c0344a1aabf83934d0ad6cee9c17787d | [
"MIT"
] | 11 | 2019-10-04T08:54:03.000Z | 2019-10-19T09:06:10.000Z | gopy/search/__init__.py | strongSoda/gopy | 261fa2b4c0344a1aabf83934d0ad6cee9c17787d | [
"MIT"
] | null | null | null | name="search"
from .lsearch import search
from .bsearch import search
from .ternary import search
from .jumpSearch import search | 18.571429 | 30 | 0.807692 | 18 | 130 | 5.833333 | 0.444444 | 0.380952 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 130 | 7 | 30 | 18.571429 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0.045802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 |
af928d7ebc03ce590a0b3ca98f00327d77f58178 | 3,400 | py | Python | tests/test_annotation_values_route_functional.py | jic-dtool/dtool-lookup-server-annotation-filter-plugin | 70ef2a5f64db65a767a238c9da01f50a674aea7d | [
"MIT"
] | null | null | null | tests/test_annotation_values_route_functional.py | jic-dtool/dtool-lookup-server-annotation-filter-plugin | 70ef2a5f64db65a767a238c9da01f50a674aea7d | [
"MIT"
] | 1 | 2021-02-12T18:28:40.000Z | 2021-02-13T03:06:14.000Z | tests/test_annotation_values_route_functional.py | jic-dtool/dtool-lookup-server-annotation-filter-plugin | 70ef2a5f64db65a767a238c9da01f50a674aea7d | [
"MIT"
] | null | null | null | import json
from . import tmp_app # NOQA
from . import GRUMPY_TOKEN, SLEEPY_TOKEN, NOONE_TOKEN
def test_annotaion_values_route(tmp_app): # NOQA
headers = dict(Authorization="Bearer " + GRUMPY_TOKEN)
data = {"annotation_keys": ["color"]}
r = tmp_app.post(
"/annotation_filter_plugin/annotation_va... | 32.075472 | 77 | 0.653235 | 405 | 3,400 | 5.224691 | 0.133333 | 0.039698 | 0.033081 | 0.036389 | 0.920132 | 0.907372 | 0.860586 | 0.860586 | 0.811909 | 0.811909 | 0 | 0.012369 | 0.215294 | 3,400 | 105 | 78 | 32.380952 | 0.780735 | 0.01 | 0 | 0.692308 | 0 | 0 | 0.199226 | 0.089637 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.065934 | false | 0 | 0.032967 | 0 | 0.098901 | 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 |
afa47d4d5ac2133ee9247dbe7be37679395ab61f | 87 | py | Python | symnet/__init__.py | tej-prash/quantile_regression | bd68d0122c95cd00f8f13710150db433cae17d67 | [
"MIT"
] | 3 | 2020-01-14T04:47:04.000Z | 2020-11-18T13:20:00.000Z | symnet/__init__.py | tej-prash/quantile_regression | bd68d0122c95cd00f8f13710150db433cae17d67 | [
"MIT"
] | 9 | 2020-01-28T22:47:51.000Z | 2022-02-10T00:19:50.000Z | symnet/__init__.py | tej-prash/quantile_regression | bd68d0122c95cd00f8f13710150db433cae17d67 | [
"MIT"
] | 5 | 2019-06-20T18:37:25.000Z | 2020-06-21T16:37:33.000Z | from symnet.model import AbstractModel
from symnet.activations import CustomActivation
| 29 | 47 | 0.885057 | 10 | 87 | 7.7 | 0.7 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 87 | 2 | 48 | 43.5 | 0.974684 | 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 |
bbf5be4c3e627e14068617a181d40689653c3879 | 2,402 | py | Python | nn/activations.py | denis-kondrashkin/ml | b60ac4b645fe1b13076e28018eaf966cbb84fcbb | [
"MIT"
] | null | null | null | nn/activations.py | denis-kondrashkin/ml | b60ac4b645fe1b13076e28018eaf966cbb84fcbb | [
"MIT"
] | null | null | null | nn/activations.py | denis-kondrashkin/ml | b60ac4b645fe1b13076e28018eaf966cbb84fcbb | [
"MIT"
] | null | null | null | import numpy as np
from nn.module import Module
class ReLU(Module):
def __init__(self):
super().__init__()
def updateOutput(self, input):
self.output = np.maximum(input, 0)
return self.output
def updateGradInput(self, input, gradOutput):
self.gradInput = np.multiply(grad... | 28.595238 | 67 | 0.637386 | 298 | 2,402 | 4.97651 | 0.127517 | 0.210384 | 0.091032 | 0.094403 | 0.813216 | 0.705327 | 0.705327 | 0.59474 | 0.565745 | 0.565745 | 0 | 0.009917 | 0.24438 | 2,402 | 83 | 68 | 28.939759 | 0.807163 | 0 | 0 | 0.564516 | 0 | 0 | 0.009992 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258065 | false | 0 | 0.032258 | 0.064516 | 0.548387 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
a584c67e9767fda4bc07102aa1d1a94527bdbe33 | 343 | py | Python | quicktracer/__init__.py | chapuzzo/quicktracer | 284d5b28c5f875dc041107ccf583dee50c8c78a8 | [
"MIT"
] | 3 | 2018-01-11T03:36:01.000Z | 2019-09-29T14:15:58.000Z | quicktracer/__init__.py | chapuzzo/quicktracer | 284d5b28c5f875dc041107ccf583dee50c8c78a8 | [
"MIT"
] | null | null | null | quicktracer/__init__.py | chapuzzo/quicktracer | 284d5b28c5f875dc041107ccf583dee50c8c78a8 | [
"MIT"
] | 3 | 2018-01-10T22:35:18.000Z | 2021-04-14T17:33:51.000Z | # from quicktracer.constants import KEY, VALUE, TIME
# from quicktracer.quicktracer import trace
from .quicktracer_lib import trace, reset
# from .constants import KEY, VALUE, TIME
from .quicktracer_lib import KEY, VALUE, TIME, CUSTOM_DISPLAY
from .displays import Display
__all__ = [trace, reset, KEY, VALUE, TIME, CU... | 34.3 | 67 | 0.790087 | 46 | 343 | 5.717391 | 0.304348 | 0.228137 | 0.18251 | 0.205323 | 0.509506 | 0.319392 | 0.319392 | 0 | 0 | 0 | 0 | 0 | 0.134111 | 343 | 9 | 68 | 38.111111 | 0.885522 | 0.38484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c0fe92a1344ba5ffe7e6f82a051056d8c79aa40 | 107 | py | Python | edx_data_research/web_app/parse/__init__.py | gopa1959/test | 3e224d0d86015b1e3e2da426e914aeb86c80d3c8 | [
"MIT"
] | null | null | null | edx_data_research/web_app/parse/__init__.py | gopa1959/test | 3e224d0d86015b1e3e2da426e914aeb86c80d3c8 | [
"MIT"
] | null | null | null | edx_data_research/web_app/parse/__init__.py | gopa1959/test | 3e224d0d86015b1e3e2da426e914aeb86c80d3c8 | [
"MIT"
] | null | null | null | from flask import Blueprint
parse = Blueprint('parse', __name__, url_prefix='/parse')
from . import views | 21.4 | 57 | 0.757009 | 14 | 107 | 5.428571 | 0.642857 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 107 | 5 | 58 | 21.4 | 0.817204 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
3c2ca7f7f41994268e91087ea3f2a499b62b9891 | 49 | py | Python | adaequare_gsp/monkey_patches/__init__.py | mohsinalimat/adaequare_gsp | e3e8bb282f25dc791cb07cc41e04bc60a7066e07 | [
"MIT"
] | null | null | null | adaequare_gsp/monkey_patches/__init__.py | mohsinalimat/adaequare_gsp | e3e8bb282f25dc791cb07cc41e04bc60a7066e07 | [
"MIT"
] | null | null | null | adaequare_gsp/monkey_patches/__init__.py | mohsinalimat/adaequare_gsp | e3e8bb282f25dc791cb07cc41e04bc60a7066e07 | [
"MIT"
] | null | null | null | import adaequare_gsp.monkey_patches.create_party
| 24.5 | 48 | 0.918367 | 7 | 49 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 49 | 1 | 49 | 49 | 0.893617 | 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 |
3c5cdd0fa1a6fca969c85c2b8c316d42b9864b0b | 34 | py | Python | src/fchecker/dict/__init__.py | IncognitoCoding/fchecker | bbc70685174c70b6c396e1c93864028bffd3e22e | [
"MIT"
] | null | null | null | src/fchecker/dict/__init__.py | IncognitoCoding/fchecker | bbc70685174c70b6c396e1c93864028bffd3e22e | [
"MIT"
] | null | null | null | src/fchecker/dict/__init__.py | IncognitoCoding/fchecker | bbc70685174c70b6c396e1c93864028bffd3e22e | [
"MIT"
] | null | null | null | from .dict_checks import KeyCheck
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c60c296960f40d6258bbe187a43da761527bb2d | 78 | py | Python | BetterString/__init__.py | BloodVexed/BetterString | 69251b4ec1e419de1f3fe1b190246fa0052067b0 | [
"MIT"
] | 1 | 2021-04-17T14:34:55.000Z | 2021-04-17T14:34:55.000Z | BetterString/__init__.py | BloodVexed/BetterString | 69251b4ec1e419de1f3fe1b190246fa0052067b0 | [
"MIT"
] | null | null | null | BetterString/__init__.py | BloodVexed/BetterString | 69251b4ec1e419de1f3fe1b190246fa0052067b0 | [
"MIT"
] | null | null | null | from .BetterString import *
from .Color import *
from .Exceptions import *
| 19.5 | 28 | 0.730769 | 9 | 78 | 6.333333 | 0.555556 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 78 | 3 | 29 | 26 | 0.904762 | 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 |
b1c091ee489a64507aa60cea477b3e2b4d4d93b5 | 108 | py | Python | src/releasely/tasks/__init__.py | gordonfierce/releasely | 2dfa84f3eef7f17675a45d87318e1ef15088295b | [
"MIT"
] | 1 | 2020-09-21T17:04:27.000Z | 2020-09-21T17:04:27.000Z | src/releasely/tasks/__init__.py | gordonfierce/releasely | 2dfa84f3eef7f17675a45d87318e1ef15088295b | [
"MIT"
] | 2 | 2020-09-16T00:24:55.000Z | 2021-12-16T16:57:24.000Z | src/releasely/tasks/__init__.py | gordonfierce/releasely | 2dfa84f3eef7f17675a45d87318e1ef15088295b | [
"MIT"
] | 1 | 2021-12-16T16:49:20.000Z | 2021-12-16T16:49:20.000Z | from . import check, prepare_release, release_notes
task_modules = [check, prepare_release, release_notes]
| 27 | 54 | 0.814815 | 14 | 108 | 5.928571 | 0.571429 | 0.289157 | 0.457831 | 0.626506 | 0.746988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 108 | 3 | 55 | 36 | 0.864583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b1db00b7ac5cd8eb115cebadbfebaf7e16931ddb | 105 | py | Python | veros/diagnostics/__init__.py | AkasDutta/veros | 9f530596a0148a398829050017de3e01a71261a0 | [
"MIT"
] | 115 | 2019-11-23T02:31:30.000Z | 2022-03-29T12:58:30.000Z | veros/diagnostics/__init__.py | AkasDutta/veros | 9f530596a0148a398829050017de3e01a71261a0 | [
"MIT"
] | 207 | 2019-11-21T13:21:22.000Z | 2022-03-31T23:36:09.000Z | veros/diagnostics/__init__.py | AkasDutta/veros | 9f530596a0148a398829050017de3e01a71261a0 | [
"MIT"
] | 21 | 2020-01-28T13:13:39.000Z | 2022-02-02T13:46:33.000Z | from veros.diagnostics.api import create_default_diagnostics, initialize, diagnose, output # noqa: F401
| 52.5 | 104 | 0.828571 | 13 | 105 | 6.538462 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0.104762 | 105 | 1 | 105 | 105 | 0.87234 | 0.095238 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b1fdc9483fe1252f4bd266db7f914a9d8427d3b7 | 1,981 | py | Python | web/channels/management/channel.py | vtalks/vtalks.net | 80fb19ff9684e0854c6abe5f0eef73e80ec326a6 | [
"Apache-2.0"
] | 1 | 2017-11-28T03:17:23.000Z | 2017-11-28T03:17:23.000Z | web/channels/management/channel.py | vtalks/vtalks.net | 80fb19ff9684e0854c6abe5f0eef73e80ec326a6 | [
"Apache-2.0"
] | 56 | 2018-01-14T18:03:03.000Z | 2018-06-25T17:59:02.000Z | web/channels/management/channel.py | vtalks/vtalks.net | 80fb19ff9684e0854c6abe5f0eef73e80ec326a6 | [
"Apache-2.0"
] | null | null | null | from datetime import datetime
from django.utils import timezone
from channels.models import Channel
def create_channel(channel_json_data):
""" Create a new Channel into the database
"""
channel_code = channel_json_data["id"]
if "snippet" in channel_json_data:
snippet = channel_json_data["sni... | 38.843137 | 93 | 0.650177 | 221 | 1,981 | 5.565611 | 0.208145 | 0.125203 | 0.170732 | 0.178862 | 0.744715 | 0.744715 | 0.744715 | 0.744715 | 0.744715 | 0.744715 | 0 | 0.004065 | 0.254922 | 1,981 | 50 | 94 | 39.62 | 0.829268 | 0.044927 | 0 | 0.5 | 0 | 0 | 0.120598 | 0.023479 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.083333 | 0 | 0.194444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5916296b0f17c83705ae5af2f31a44996d61e577 | 16,049 | py | Python | tests/time_integration/test_newton.py | sandialabs/Spitfire | 65670e3ba5d1ccb4ac72524b77957706345c5bf6 | [
"Apache-2.0"
] | 11 | 2020-03-20T02:10:17.000Z | 2021-12-14T10:08:09.000Z | tests/time_integration/test_newton.py | sandialabs/Spitfire | 65670e3ba5d1ccb4ac72524b77957706345c5bf6 | [
"Apache-2.0"
] | 18 | 2020-03-18T18:58:56.000Z | 2021-12-21T02:35:35.000Z | tests/time_integration/test_newton.py | sandialabs/Spitfire | 65670e3ba5d1ccb4ac72524b77957706345c5bf6 | [
"Apache-2.0"
] | 2 | 2021-05-31T17:24:56.000Z | 2021-06-20T05:27:41.000Z | import unittest
from spitfire import SimpleNewtonSolver
from numpy import abs, imag, any, Inf, zeros, array, NaN
from numpy import copy as numpy_copy
def direct_residual(fun):
def doubled(x, *args, **kwargs):
output = fun(x, *args, **kwargs)
return output, numpy_copy(output)
return doubled
... | 38.12114 | 118 | 0.579164 | 1,672 | 16,049 | 5.313995 | 0.095694 | 0.078784 | 0.060777 | 0.026787 | 0.82386 | 0.796961 | 0.768824 | 0.744513 | 0.710636 | 0.69049 | 0 | 0.011874 | 0.338837 | 16,049 | 420 | 119 | 38.211905 | 0.825464 | 0.034955 | 0 | 0.699367 | 0 | 0 | 0.017187 | 0 | 0 | 0 | 0 | 0.002381 | 0.158228 | 1 | 0.129747 | false | 0 | 0.012658 | 0.066456 | 0.246835 | 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 |
5920e81e8fc432720afd19512d685a4751ff8168 | 48 | py | Python | pycircuit/sim/__init__.py | michaelnt/pycircuit | ef3110c1c3789c1e5f30c35e3f5dd15ed4bd349e | [
"BSD-3-Clause"
] | 25 | 2015-05-13T22:49:26.000Z | 2020-03-10T04:13:20.000Z | pycircuit/sim/__init__.py | michaelnt/pycircuit | ef3110c1c3789c1e5f30c35e3f5dd15ed4bd349e | [
"BSD-3-Clause"
] | 1 | 2016-11-09T13:09:31.000Z | 2016-11-09T13:09:31.000Z | pycircuit/sim/__init__.py | michaelnt/pycircuit | ef3110c1c3789c1e5f30c35e3f5dd15ed4bd349e | [
"BSD-3-Clause"
] | 9 | 2016-03-05T11:46:27.000Z | 2022-01-19T18:30:55.000Z | from simulation import *
from analysis import *
| 16 | 24 | 0.791667 | 6 | 48 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 25 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
594ce334dfd6a434cfcef6ee41a5e59cd8cd028e | 123 | py | Python | scraper/code/crawler/spiders/zalora/urls.py | teknokeras/scrapy-splash | 011cd9d141c0fde4476ace175fddd753fa944fc0 | [
"MIT"
] | null | null | null | scraper/code/crawler/spiders/zalora/urls.py | teknokeras/scrapy-splash | 011cd9d141c0fde4476ace175fddd753fa944fc0 | [
"MIT"
] | 5 | 2018-11-18T02:44:33.000Z | 2022-03-02T14:54:48.000Z | scraper/code/crawler/spiders/zalora/urls.py | teknokeras/scrapy-splash | 011cd9d141c0fde4476ace175fddd753fa944fc0 | [
"MIT"
] | 3 | 2017-09-24T11:51:01.000Z | 2019-12-20T03:50:16.000Z | ZALORA_URLS = ['https://www.zalora.co.id/women/pakaian/atasan/?from=header']
def get_start_urls():
return ZALORA_URLS
| 24.6 | 76 | 0.739837 | 19 | 123 | 4.578947 | 0.789474 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 123 | 4 | 77 | 30.75 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0.471545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3ce80d64bc77c0d8596b73e3390f5c1b8892ee0e | 69 | py | Python | setup/nuke/nuke_path/menu.py | bumpybox/core | 5a24640484f19e48dc12682dae979adc6d41dc0b | [
"MIT"
] | 168 | 2017-06-23T15:50:43.000Z | 2022-02-27T10:48:45.000Z | setup/nuke/nuke_path/menu.py | bumpybox/core | 5a24640484f19e48dc12682dae979adc6d41dc0b | [
"MIT"
] | 366 | 2017-06-22T08:38:45.000Z | 2021-06-19T07:29:06.000Z | setup/nuke/nuke_path/menu.py | bumpybox/core | 5a24640484f19e48dc12682dae979adc6d41dc0b | [
"MIT"
] | 42 | 2017-06-23T15:27:26.000Z | 2021-09-29T17:28:18.000Z | import avalon.api
import avalon.nuke
avalon.api.install(avalon.nuke)
| 17.25 | 31 | 0.826087 | 11 | 69 | 5.181818 | 0.454545 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 69 | 3 | 32 | 23 | 0.890625 | 0 | 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 |
3cfa1c28f463e7ab8836ed822bf9949b28637756 | 24 | py | Python | pose/models/backbones/__init__.py | sithu31296/pose_estimation | b00da09cfaf0ee25cdc900a46ac0a2e2a878f16a | [
"MIT"
] | 29 | 2021-09-14T08:05:28.000Z | 2022-03-09T12:53:56.000Z | pose/models/backbones/__init__.py | sithu31296/pose_estimation | b00da09cfaf0ee25cdc900a46ac0a2e2a878f16a | [
"MIT"
] | 5 | 2021-09-27T18:38:36.000Z | 2022-01-31T16:28:39.000Z | pose/models/backbones/__init__.py | sithu31296/pose_estimation | b00da09cfaf0ee25cdc900a46ac0a2e2a878f16a | [
"MIT"
] | 4 | 2021-09-17T19:13:44.000Z | 2022-03-26T02:38:12.000Z | from .hrnet import HRNet | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a713fed90669d81ad3b0fe0991125c5879c75e38 | 136 | py | Python | src/openvibspec/__init__.py | arnrau/VibSpec | 89c1a3bdaa6aa7a6f98704442a1ffd25f86d2cc2 | [
"BSD-2-Clause"
] | 1 | 2022-03-28T13:24:27.000Z | 2022-03-28T13:24:27.000Z | src/openvibspec/__init__.py | arnrau/VibSpec | 89c1a3bdaa6aa7a6f98704442a1ffd25f86d2cc2 | [
"BSD-2-Clause"
] | null | null | null | src/openvibspec/__init__.py | arnrau/VibSpec | 89c1a3bdaa6aa7a6f98704442a1ffd25f86d2cc2 | [
"BSD-2-Clause"
] | 1 | 2022-03-28T13:24:29.000Z | 2022-03-28T13:24:29.000Z | from __future__ import absolute_import
from . import io_ftir
from . import ml_ftir
from . import preprocessing
__version__ = '0.1'
| 13.6 | 38 | 0.772059 | 19 | 136 | 4.947368 | 0.578947 | 0.319149 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.176471 | 136 | 9 | 39 | 15.111111 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.022059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 |
59576aed2d57612669bb4f42ebed430257908746 | 86 | py | Python | common/serializers/__init__.py | Jenks18/mfl_api | ecbb8954053be06bbcac7e1132811d73534c78d9 | [
"MIT"
] | 19 | 2015-04-16T09:37:08.000Z | 2022-02-10T11:50:30.000Z | common/serializers/__init__.py | Jenks18/mfl_api | ecbb8954053be06bbcac7e1132811d73534c78d9 | [
"MIT"
] | 125 | 2015-03-26T14:05:49.000Z | 2020-05-14T08:16:50.000Z | common/serializers/__init__.py | Jenks18/mfl_api | ecbb8954053be06bbcac7e1132811d73534c78d9 | [
"MIT"
] | 39 | 2015-04-15T09:17:33.000Z | 2022-03-28T18:08:16.000Z | from .serializer_base import * # NOQA
from .serializer_declarations import * # NOQA
| 28.666667 | 46 | 0.767442 | 10 | 86 | 6.4 | 0.6 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 86 | 2 | 47 | 43 | 0.888889 | 0.104651 | 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 |
596013a1e2ded91d1f7024405bedebc7a51f2a30 | 72 | py | Python | BioModelsDAG/__init__.py | danielqiang/BioModels | 4697ad44d98953e2646f692f3010191febc64747 | [
"MIT"
] | 1 | 2021-03-07T13:47:07.000Z | 2021-03-07T13:47:07.000Z | BioModelsDAG/__init__.py | danielqiang/BioModels | 4697ad44d98953e2646f692f3010191febc64747 | [
"MIT"
] | 2 | 2021-03-31T19:53:45.000Z | 2021-12-13T20:46:15.000Z | BioModelsDAG/__init__.py | danielqiang/BioModels | 4697ad44d98953e2646f692f3010191febc64747 | [
"MIT"
] | null | null | null | from .utils import *
from .pipeline import *
from .classifiers import *
| 18 | 26 | 0.75 | 9 | 72 | 6 | 0.555556 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 3 | 27 | 24 | 0.9 | 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 |
596085fe0b62ed5885ce8806004d6dfc76a1895e | 4,977 | py | Python | tests/test_cases/test_multi_dimension_array/test_cocotb_array.py | lavanyajagan/cocotb | 2f98612016e68510e264a2b4963303d3588d8404 | [
"BSD-3-Clause"
] | 350 | 2015-01-09T12:50:13.000Z | 2019-07-12T09:08:17.000Z | tests/test_cases/test_multi_dimension_array/test_cocotb_array.py | lavanyajagan/cocotb | 2f98612016e68510e264a2b4963303d3588d8404 | [
"BSD-3-Clause"
] | 710 | 2015-01-05T16:42:29.000Z | 2019-07-16T13:40:00.000Z | tests/test_cases/test_multi_dimension_array/test_cocotb_array.py | lavanyajagan/cocotb | 2f98612016e68510e264a2b4963303d3588d8404 | [
"BSD-3-Clause"
] | 182 | 2015-01-08T09:35:20.000Z | 2019-07-12T18:41:37.000Z | import cocotb
from cocotb.triggers import Timer
@cocotb.test()
async def test_in_vect_packed(dut):
test_value = 0x5
dut.in_vect_packed.value = test_value
await Timer(1, "ns")
assert dut.out_vect_packed.value == test_value
@cocotb.test()
async def test_in_vect_unpacked(dut):
test_value = [0x1, 0x... | 29.276471 | 98 | 0.71951 | 788 | 4,977 | 4.227157 | 0.077411 | 0.154008 | 0.159712 | 0.132092 | 0.977784 | 0.945362 | 0.903933 | 0.87211 | 0.861903 | 0.833684 | 0 | 0.04292 | 0.171388 | 4,977 | 169 | 99 | 29.449704 | 0.764791 | 0.058268 | 0 | 0.476563 | 0 | 0 | 0.017724 | 0 | 0 | 0 | 0.01089 | 0 | 0.148438 | 1 | 0 | false | 0 | 0.015625 | 0 | 0.015625 | 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 |
abd0bf7154f534a1d79c947e99b27c00f9a3854a | 308 | py | Python | pymoo/model/repair.py | Electr0phile/pymoo | 652428473cc68b6d9deada3792635bc8a831b255 | [
"Apache-2.0"
] | 11 | 2018-05-22T17:38:02.000Z | 2022-02-28T03:34:33.000Z | pymoo/model/repair.py | Asurada2015/pymoo | 023a787d0b78813e789f170a3e94b2de85605aff | [
"Apache-2.0"
] | null | null | null | pymoo/model/repair.py | Asurada2015/pymoo | 023a787d0b78813e789f170a3e94b2de85605aff | [
"Apache-2.0"
] | 2 | 2018-05-29T21:16:52.000Z | 2021-03-26T10:10:45.000Z | from abc import abstractmethod
class Repair:
"""
This class is allows to repair individuals after crossover if necessary.
"""
def do(self, problem, pop, **kwargs):
return self._do(problem, pop, **kwargs)
@abstractmethod
def _do(self, problem, pop, **kwargs):
pass
| 20.533333 | 76 | 0.63961 | 37 | 308 | 5.27027 | 0.621622 | 0.153846 | 0.246154 | 0.164103 | 0.25641 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256494 | 308 | 14 | 77 | 22 | 0.851528 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
05250b1dcf19b770263328fe07380adc6b5ae3f3 | 174 | py | Python | alg3dpy/tests/test_areas.py | saullocastro/alg3dpy | a3bf5fcef177a869447661166bf4aa7ef4365568 | [
"BSD-3-Clause"
] | 2 | 2019-02-05T06:12:27.000Z | 2020-03-15T21:37:33.000Z | alg3dpy/tests/test_areas.py | saullocastro/alg3dpy | a3bf5fcef177a869447661166bf4aa7ef4365568 | [
"BSD-3-Clause"
] | null | null | null | alg3dpy/tests/test_areas.py | saullocastro/alg3dpy | a3bf5fcef177a869447661166bf4aa7ef4365568 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
from alg3dpy.areas import area_tria
def test_areas():
assert np.isclose(area_tria([0, 2, 0], [2, 0, 0], [0, 0, 2]),
3.4641016151377557)
| 19.333333 | 65 | 0.626437 | 29 | 174 | 3.655172 | 0.586207 | 0.056604 | 0.056604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201493 | 0.229885 | 174 | 8 | 66 | 21.75 | 0.589552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
052ebbf4af88cfa99543d5434bc3a0c01518858c | 212 | py | Python | starters/dockerized-django/default/{{cookiecutter.project_slug}}/config/settings/production.py | GreenDeploy-io/greendeploy-starters | 58b4322a401568652a7e64b2ef148711364bd8eb | [
"Apache-2.0"
] | 1 | 2022-02-22T09:05:39.000Z | 2022-02-22T09:05:39.000Z | starters/dockerized-django/default/{{cookiecutter.project_slug}}/config/settings/production.py | GreenDeploy-io/greendeploy-starters | 58b4322a401568652a7e64b2ef148711364bd8eb | [
"Apache-2.0"
] | 1 | 2022-02-22T05:18:59.000Z | 2022-02-22T05:19:10.000Z | starters/dockerized-django/default/{{cookiecutter.project_slug}}/config/settings/production.py | GreenDeploy-io/greendeploy-starters | 58b4322a401568652a7e64b2ef148711364bd8eb | [
"Apache-2.0"
] | null | null | null | from .base import * # noqa
from .base import env
# https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS", default=["{{ cookiecutter.domain_name }}"])
| 35.333333 | 92 | 0.745283 | 29 | 212 | 5.310345 | 0.724138 | 0.233766 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 212 | 5 | 93 | 42.4 | 0.802083 | 0.325472 | 0 | 0 | 0 | 0 | 0.359712 | 0.172662 | 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 |
0561431dc3a941169e4ce06d2ea530fbe0a1e7d6 | 235 | py | Python | eeyore/models/__init__.py | papamarkou/eeyore | 4cd9b5a619cd095035aa93f348d1c937629aa8a3 | [
"MIT"
] | 6 | 2020-04-22T18:56:46.000Z | 2021-09-09T15:57:48.000Z | eeyore/models/__init__.py | papamarkou/eeyore | 4cd9b5a619cd095035aa93f348d1c937629aa8a3 | [
"MIT"
] | 19 | 2019-11-14T21:22:21.000Z | 2020-10-31T16:18:36.000Z | eeyore/models/__init__.py | scidom/eeyore | 4cd9b5a619cd095035aa93f348d1c937629aa8a3 | [
"MIT"
] | null | null | null | from .bayesian_model import BayesianModel
from .distribution_model import DistributionModel
from .log_target_model import LogTargetModel
from .logistic_regression import LogisticRegression
from .mlp import MLP
from .model import Model
| 33.571429 | 51 | 0.87234 | 29 | 235 | 6.896552 | 0.482759 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102128 | 235 | 6 | 52 | 39.166667 | 0.947867 | 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 |
058714b5d002b7dd325b16ba045d56251d24b249 | 3,770 | py | Python | tests.py | Holzhaus/python-markdown-full-yaml-metadata | 288653ff2ee10e33b1fd262d080783e286d07ed0 | [
"MIT"
] | 8 | 2018-11-06T05:40:48.000Z | 2021-08-22T10:01:45.000Z | tests.py | Holzhaus/python-markdown-full-yaml-metadata | 288653ff2ee10e33b1fd262d080783e286d07ed0 | [
"MIT"
] | 11 | 2019-01-23T10:19:06.000Z | 2021-07-30T22:17:51.000Z | tests.py | Holzhaus/python-markdown-full-yaml-metadata | 288653ff2ee10e33b1fd262d080783e286d07ed0 | [
"MIT"
] | 3 | 2019-03-01T15:17:12.000Z | 2020-12-29T17:57:01.000Z | import markdown
import pytest
@pytest.mark.parametrize(
"source, expected_meta, expected_body",
(
[
"""---
title: What is Lorem Ipsum?
category: Lorem Ipsum
...
Lorem Ipsum is simply dummy text.
""",
{"title": "What is Lorem Ipsum?", "category": "Lorem Ipsum"},
"<p... | 24.480519 | 78 | 0.557029 | 405 | 3,770 | 5.071605 | 0.14321 | 0.136319 | 0.093476 | 0.070107 | 0.946446 | 0.938656 | 0.938656 | 0.925511 | 0.894352 | 0.833009 | 0 | 0 | 0.306631 | 3,770 | 153 | 79 | 24.640523 | 0.785769 | 0 | 0 | 0.478723 | 0 | 0 | 0.338554 | 0 | 0 | 0 | 0 | 0 | 0.095745 | 1 | 0.053191 | false | 0 | 0.021277 | 0 | 0.074468 | 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 |
e98dfc500b20b614da321438c36c2d53b27f97f1 | 5,066 | py | Python | actualidad/views.py | shiminasai/cantera | 90f162351e1ad6ffaaf79cf90c361e302ab6e09f | [
"MIT"
] | null | null | null | actualidad/views.py | shiminasai/cantera | 90f162351e1ad6ffaaf79cf90c361e302ab6e09f | [
"MIT"
] | null | null | null | actualidad/views.py | shiminasai/cantera | 90f162351e1ad6ffaaf79cf90c361e302ab6e09f | [
"MIT"
] | 2 | 2019-04-10T19:45:42.000Z | 2019-04-24T17:16:40.000Z | from django.shortcuts import render,redirect
from .models import *
from evento.models import *
from organizaciones.models import Pais
import datetime
from taggit.models import *
from django.db.models import Q, Count
# Create your views here.
# def list_actualidad(request,template='list_actualidad.html'):
# ... | 45.63964 | 161 | 0.710422 | 655 | 5,066 | 5.20458 | 0.120611 | 0.041068 | 0.094456 | 0.079202 | 0.85773 | 0.849516 | 0.840716 | 0.828395 | 0.814022 | 0.814022 | 0 | 0.003242 | 0.147651 | 5,066 | 110 | 162 | 46.054545 | 0.786244 | 0.160679 | 0 | 0.684932 | 0 | 0 | 0.118303 | 0.005333 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054795 | false | 0 | 0.09589 | 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 |
e99c72125e21d2371c1a0468d1afab84a684416c | 23,161 | py | Python | test_vt_2.py | drobotun/virustotalapi | 812c5839f944448548270f94f753b9fe0025b6fb | [
"MIT"
] | null | null | null | test_vt_2.py | drobotun/virustotalapi | 812c5839f944448548270f94f753b9fe0025b6fb | [
"MIT"
] | null | null | null | test_vt_2.py | drobotun/virustotalapi | 812c5839f944448548270f94f753b9fe0025b6fb | [
"MIT"
] | null | null | null | """Модуль описывает тесты для проверки методов, реализемых в классе
VirusTotalAPI.
Константы:
API_KEY - должна содержать строку с вашим ключем доступа к API.
TEST_TIMEOUT - необходима для проверки методов при превышении времени
ожидания ответа от сервера.
TEST_FILE_PATH ... | 41.358929 | 84 | 0.65878 | 2,832 | 23,161 | 5.116879 | 0.068503 | 0.044165 | 0.073563 | 0.101856 | 0.902077 | 0.887585 | 0.84411 | 0.769098 | 0.756124 | 0.722034 | 0 | 0.010534 | 0.258149 | 23,161 | 559 | 85 | 41.432916 | 0.832848 | 0.319675 | 0 | 0.645485 | 0 | 0 | 0.073193 | 0.022642 | 0 | 0 | 0 | 0 | 0.137124 | 1 | 0.137124 | false | 0 | 0.010033 | 0 | 0.167224 | 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 |
e9b56bba309413d939e5d36d10f5bceefc6e8616 | 7,791 | py | Python | nginx/migrations/0004_auto_20200806_0837.py | rockychen-dpaw/it-assets | 92ec23c6a413c5c45bb3d96981d6af68535d225c | [
"Apache-2.0"
] | 4 | 2018-11-16T13:49:49.000Z | 2021-08-19T05:16:50.000Z | nginx/migrations/0004_auto_20200806_0837.py | rockychen-dpaw/it-assets | 92ec23c6a413c5c45bb3d96981d6af68535d225c | [
"Apache-2.0"
] | 10 | 2018-07-06T09:34:56.000Z | 2022-01-28T06:09:05.000Z | nginx/migrations/0004_auto_20200806_0837.py | rockychen-dpaw/it-assets | 92ec23c6a413c5c45bb3d96981d6af68535d225c | [
"Apache-2.0"
] | 9 | 2018-05-05T23:29:10.000Z | 2020-06-26T02:29:17.000Z | # Generated by Django 2.2.14 on 2020-08-06 00:37
import django.contrib.postgres.fields
from django.db import migrations, models
import django.db.models.deletion
import nginx.models
class Migration(migrations.Migration):
dependencies = [
('nginx', '0003_auto_20200721_1129'),
]
operations = [
... | 68.946903 | 234 | 0.640483 | 806 | 7,791 | 6.038462 | 0.184864 | 0.1015 | 0.020341 | 0.038833 | 0.818574 | 0.809945 | 0.792275 | 0.722827 | 0.695706 | 0.695706 | 0 | 0.01142 | 0.22449 | 7,791 | 112 | 235 | 69.5625 | 0.794108 | 0.005904 | 0 | 0.584906 | 1 | 0.009434 | 0.242154 | 0.017306 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037736 | 0 | 0.066038 | 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 |
e9b6c71a251608df636becca80962f0454867b53 | 42 | py | Python | nifstd/complete/context_bug_import.py | tmsincomb/pyontutils | dad24e7178d8d8cd3bd60d53b9039952fa7a5a1e | [
"MIT"
] | 11 | 2017-05-12T08:50:03.000Z | 2022-01-22T20:23:25.000Z | nifstd/complete/context_bug_import.py | tmsincomb/pyontutils | dad24e7178d8d8cd3bd60d53b9039952fa7a5a1e | [
"MIT"
] | 81 | 2016-02-25T07:39:15.000Z | 2022-02-17T20:20:27.000Z | nifstd/complete/context_bug_import.py | tmsincomb/pyontutils | dad24e7178d8d8cd3bd60d53b9039952fa7a5a1e | [
"MIT"
] | 257 | 2017-07-18T19:32:22.000Z | 2022-02-03T17:26:18.000Z | #!/usr/bin/env python3
import context_bug
| 14 | 22 | 0.785714 | 7 | 42 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.095238 | 42 | 2 | 23 | 21 | 0.815789 | 0.5 | 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 |
75735a7a113c8ab46e2ac826b7a8b244cc434618 | 118 | py | Python | EduSim/Envs/KSS/Agent.py | bigdata-ustc/EduSim | 849eed229c24615e5f2c3045036311e83c22ea68 | [
"MIT"
] | 18 | 2019-11-11T03:45:35.000Z | 2022-02-09T15:31:51.000Z | EduSim/Envs/KSS/Agent.py | ghzhao78506/EduSim | cb10e952eb212d8a9344143f889207b5cd48ba9d | [
"MIT"
] | 3 | 2020-10-23T01:05:57.000Z | 2021-03-16T12:12:24.000Z | EduSim/Envs/KSS/Agent.py | bigdata-ustc/EduSim | 849eed229c24615e5f2c3045036311e83c22ea68 | [
"MIT"
] | 6 | 2020-06-09T21:32:00.000Z | 2022-03-12T00:25:18.000Z | # coding: utf-8
# 2020/5/8 @ tongshiwei
from EduSim.SimOS import RandomAgent
class KSSAgent(RandomAgent):
pass
| 13.111111 | 36 | 0.728814 | 16 | 118 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072165 | 0.177966 | 118 | 8 | 37 | 14.75 | 0.814433 | 0.29661 | 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 |
75badc607adad4cfd793eb90dfcea78a1162ba3f | 203 | py | Python | libsquiggly/analysis/__init__.py | staticfloat/libsquiggly | 79c63c119a60e2e9c558aefcda6b1c1ac413a47a | [
"MIT"
] | null | null | null | libsquiggly/analysis/__init__.py | staticfloat/libsquiggly | 79c63c119a60e2e9c558aefcda6b1c1ac413a47a | [
"MIT"
] | null | null | null | libsquiggly/analysis/__init__.py | staticfloat/libsquiggly | 79c63c119a60e2e9c558aefcda6b1c1ac413a47a | [
"MIT"
] | null | null | null | # Only export very specific items
from .matched_filter import energy, matched_filter, subsample_matched_filter
from .rolling_abs_mean import rolling_abs_mean
from .peak_suppression import suppress_peaks
| 40.6 | 76 | 0.871921 | 29 | 203 | 5.758621 | 0.62069 | 0.233533 | 0.167665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098522 | 203 | 4 | 77 | 50.75 | 0.912568 | 0.152709 | 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 |
75c577a0b6b5ed412cf0b29aefbfbddd9f219408 | 125 | py | Python | deep/computer_vision/CycleGan/__init__.py | Jwuthri/DeepAlgos | cd1062a0339f6bf68fcdef26ade1c612ac6983f9 | [
"MIT"
] | null | null | null | deep/computer_vision/CycleGan/__init__.py | Jwuthri/DeepAlgos | cd1062a0339f6bf68fcdef26ade1c612ac6983f9 | [
"MIT"
] | null | null | null | deep/computer_vision/CycleGan/__init__.py | Jwuthri/DeepAlgos | cd1062a0339f6bf68fcdef26ade1c612ac6983f9 | [
"MIT"
] | null | null | null | """
Cycle Gan:
Cycle Gan can generate photos from paintings, turn horses into zebras, perform style transfer, and more.
"""
| 125 | 125 | 0.744 | 18 | 125 | 5.166667 | 0.888889 | 0.172043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168 | 125 | 1 | 125 | 125 | 0.894231 | 0.928 | 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 |
f9bb12a5791628a11cf25a690d258e56174ad67c | 244 | py | Python | lemon/models.py | lemon-chat/lemon-server-python | 5947b52b3c4535ae54fe2705a830db07fdaf741d | [
"MIT"
] | null | null | null | lemon/models.py | lemon-chat/lemon-server-python | 5947b52b3c4535ae54fe2705a830db07fdaf741d | [
"MIT"
] | null | null | null | lemon/models.py | lemon-chat/lemon-server-python | 5947b52b3c4535ae54fe2705a830db07fdaf741d | [
"MIT"
] | null | null | null | from .application import mongo
class User(mongo.Document):
userid = mongo.IntField(required=True)
username = mongo.StringField(max_length=50)
email = mongo.StringField(max_length=50)
password = mongo.StringField(max_length=50)
| 30.5 | 47 | 0.754098 | 31 | 244 | 5.83871 | 0.580645 | 0.265193 | 0.314917 | 0.414365 | 0.447514 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028708 | 0.143443 | 244 | 7 | 48 | 34.857143 | 0.837321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.166667 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
ddb4ab4500bc9f30daf984e73a94338da9e21197 | 59 | py | Python | home/web/__init__.py | keaneokelley/home | e58e86d4490a5b1b0be77537604aac4a579af839 | [
"MIT"
] | null | null | null | home/web/__init__.py | keaneokelley/home | e58e86d4490a5b1b0be77537604aac4a579af839 | [
"MIT"
] | null | null | null | home/web/__init__.py | keaneokelley/home | e58e86d4490a5b1b0be77537604aac4a579af839 | [
"MIT"
] | null | null | null | from home.web.events import *
from home.web.fido2 import *
| 19.666667 | 29 | 0.762712 | 10 | 59 | 4.5 | 0.6 | 0.355556 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.135593 | 59 | 2 | 30 | 29.5 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fb142fa42e5346d6ae61ef72e7421f1694796f13 | 47 | py | Python | digsigserver/signers/__init__.py | ichergui/digsigserver | dbd865c2bafe69510f4da41e473e4a3adb037f3e | [
"MIT"
] | 9 | 2020-01-17T01:03:13.000Z | 2022-03-14T16:47:22.000Z | digsigserver/signers/__init__.py | ichergui/digsigserver | dbd865c2bafe69510f4da41e473e4a3adb037f3e | [
"MIT"
] | 7 | 2020-04-19T18:41:47.000Z | 2021-11-30T20:52:59.000Z | digsigserver/signers/__init__.py | ichergui/digsigserver | dbd865c2bafe69510f4da41e473e4a3adb037f3e | [
"MIT"
] | 5 | 2020-10-28T20:40:07.000Z | 2022-03-28T13:52:43.000Z | from digsigserver.signers.signer import Signer
| 23.5 | 46 | 0.87234 | 6 | 47 | 6.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 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 |
34a2d7933d2e1baf938d76046b21cbdc53fabfc7 | 75 | py | Python | cnsenti/__init__.py | edddyeddy/cnsenti | 049ffbc41c5c22f112a66350216d13d3f6d9809e | [
"MIT"
] | 140 | 2020-03-27T11:37:37.000Z | 2021-05-14T01:01:29.000Z | cnsenti/__init__.py | edddyeddy/cnsenti | 049ffbc41c5c22f112a66350216d13d3f6d9809e | [
"MIT"
] | 4 | 2020-04-12T02:47:53.000Z | 2021-05-07T11:15:25.000Z | cnsenti/__init__.py | edddyeddy/cnsenti | 049ffbc41c5c22f112a66350216d13d3f6d9809e | [
"MIT"
] | 32 | 2020-04-07T09:09:45.000Z | 2021-04-28T15:53:24.000Z | from cnsenti.emotion import Emotion
from cnsenti.sentiment import Sentiment | 37.5 | 39 | 0.88 | 10 | 75 | 6.6 | 0.5 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 75 | 2 | 39 | 37.5 | 0.970588 | 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 |
34f4da0d27cea2d1bb00df108dabc2800525c397 | 68 | py | Python | dice_tools/__init__.py | dicehub/dice_tools | 7b3e70103180e64ddcf0f3de95cdbaa3e8019978 | [
"MIT"
] | null | null | null | dice_tools/__init__.py | dicehub/dice_tools | 7b3e70103180e64ddcf0f3de95cdbaa3e8019978 | [
"MIT"
] | null | null | null | dice_tools/__init__.py | dicehub/dice_tools | 7b3e70103180e64ddcf0f3de95cdbaa3e8019978 | [
"MIT"
] | null | null | null | from ._types import *
from ._client import *
from ._wizard import *
| 17 | 22 | 0.735294 | 9 | 68 | 5.222222 | 0.555556 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 68 | 3 | 23 | 22.666667 | 0.839286 | 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 |
34f5ab11c5d015dd5b936125bd8d51dfe8e384d3 | 6,562 | py | Python | scenarios/twolink_epp/plot_epp_comparison.py | jwallnoefer/multisat_qrepeater_sim_archive | 69b4c242fb760cf195871f38b3172d4dfd26c01a | [
"MIT"
] | null | null | null | scenarios/twolink_epp/plot_epp_comparison.py | jwallnoefer/multisat_qrepeater_sim_archive | 69b4c242fb760cf195871f38b3172d4dfd26c01a | [
"MIT"
] | null | null | null | scenarios/twolink_epp/plot_epp_comparison.py | jwallnoefer/multisat_qrepeater_sim_archive | 69b4c242fb760cf195871f38b3172d4dfd26c01a | [
"MIT"
] | null | null | null | import os, sys; sys.path.insert(0, os.path.abspath("."))
import numpy as np
import matplotlib.pyplot as plt
# x_base = np.arange(1000, 401000, 1000) / 1000
# L_ATT = 22 * 10**3 / 1000 # attenuation length in km
# eta = np.exp(-x_base / L_ATT)
# y_repeaterless = 10 * np.log10(-np.log2(1 - eta))
# y_optimal = 10 * np.... | 44.945205 | 142 | 0.739866 | 1,078 | 6,562 | 4.268089 | 0.112245 | 0.045642 | 0.073897 | 0.084764 | 0.855901 | 0.812649 | 0.78722 | 0.784612 | 0.778961 | 0.635514 | 0 | 0.018676 | 0.086102 | 6,562 | 145 | 143 | 45.255172 | 0.748541 | 0.596464 | 0 | 0.266667 | 0 | 0 | 0.203094 | 0.053947 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 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 |
550af900aa3811b46dff075edaebba0da3fbe8c7 | 113 | py | Python | labelshift/calibrate/__init__.py | labelshift/labelshift | d5d6a06ef435a7fca96be7bbef415e52fb5235b4 | [
"BSD-3-Clause"
] | null | null | null | labelshift/calibrate/__init__.py | labelshift/labelshift | d5d6a06ef435a7fca96be7bbef415e52fb5235b4 | [
"BSD-3-Clause"
] | null | null | null | labelshift/calibrate/__init__.py | labelshift/labelshift | d5d6a06ef435a7fca96be7bbef415e52fb5235b4 | [
"BSD-3-Clause"
] | null | null | null | """Classifier calibration techniques.
https://arxiv.org/pdf/1902.06977.pdf
https://arxiv.org/abs/1706.04599
"""
| 18.833333 | 37 | 0.743363 | 16 | 113 | 5.25 | 0.75 | 0.238095 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 0.061947 | 113 | 5 | 38 | 22.6 | 0.622642 | 0.929204 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
550bc387f9291dd0f1bd04bf878d4f3f2ea7e54e | 284 | py | Python | rlbox/testbed/__init__.py | ocraft/rl-sandbox | fba6571545cf040829998ba4cd9009a15ac1bbdd | [
"MIT"
] | 2 | 2019-03-23T17:52:39.000Z | 2019-03-29T17:29:52.000Z | rlbox/testbed/__init__.py | ocraft/rl-sandbox | fba6571545cf040829998ba4cd9009a15ac1bbdd | [
"MIT"
] | null | null | null | rlbox/testbed/__init__.py | ocraft/rl-sandbox | fba6571545cf040829998ba4cd9009a15ac1bbdd | [
"MIT"
] | 2 | 2020-05-19T21:32:52.000Z | 2020-09-30T09:28:45.000Z | import rlbox.testbed.config
import rlbox.testbed.narmedbandit
import rlbox.testbed.car_rental
import rlbox.testbed.gambler
import rlbox.testbed.racetrack
import rlbox.testbed.windy_gridworld
import rlbox.testbed.nstep_sarsa
import rlbox.testbed.maze
import rlbox.testbed.mountain_car
| 28.4 | 36 | 0.873239 | 40 | 284 | 6.1 | 0.375 | 0.405738 | 0.663934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06338 | 284 | 9 | 37 | 31.555556 | 0.917293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9b8a85ece09bc3ac3e9e36a04ff1d7a46effbd0e | 25 | py | Python | anchor/__init__.py | ysenarath/anchor | 63dc0cd7aabda4a15c4c9f4b63089a36c5b0b97b | [
"Apache-2.0"
] | 1 | 2021-11-14T16:01:48.000Z | 2021-11-14T16:01:48.000Z | anchor/__init__.py | ysenarath/anchor | 63dc0cd7aabda4a15c4c9f4b63089a36c5b0b97b | [
"Apache-2.0"
] | null | null | null | anchor/__init__.py | ysenarath/anchor | 63dc0cd7aabda4a15c4c9f4b63089a36c5b0b97b | [
"Apache-2.0"
] | null | null | null | from .base import Anchor
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32e9c5898e6d7d2237677e865f29c8f08d8000bc | 75 | py | Python | testing-legacy/testutils/__init__.py | gigabackup/gigantum-client | 70fe6b39b87b1c56351f2b4c551b6f1693813e4f | [
"MIT"
] | 60 | 2018-09-26T15:46:00.000Z | 2021-10-10T02:37:14.000Z | testing-legacy/testutils/__init__.py | gigabackup/gigantum-client | 70fe6b39b87b1c56351f2b4c551b6f1693813e4f | [
"MIT"
] | 1,706 | 2018-09-26T16:11:22.000Z | 2021-08-20T13:37:59.000Z | testing-legacy/testutils/__init__.py | griffinmilsap/gigantum-client | 70fe6b39b87b1c56351f2b4c551b6f1693813e4f | [
"MIT"
] | 11 | 2019-03-14T13:23:51.000Z | 2022-01-25T01:29:16.000Z | from .testutils import *
from .elements import *
from .actions import *
| 10.714286 | 24 | 0.72 | 9 | 75 | 6 | 0.555556 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 75 | 6 | 25 | 12.5 | 0.9 | 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 |
fd05a0b3853d1f25a50e6b67ef511d5da65dc071 | 37 | py | Python | faq_module/__init__.py | alentoghostflame/StupidAlentoBot | c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba | [
"MIT"
] | 1 | 2021-12-12T02:50:20.000Z | 2021-12-12T02:50:20.000Z | faq_module/__init__.py | alentoghostflame/StupidAlentoBot | c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba | [
"MIT"
] | 17 | 2020-02-07T23:40:36.000Z | 2020-12-22T16:38:44.000Z | faq_module/__init__.py | alentoghostflame/StupidAlentoBot | c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba | [
"MIT"
] | null | null | null | from faq_module.faq import FAQModule
| 18.5 | 36 | 0.864865 | 6 | 37 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 |
fd1e526370f04bdc8efd5bc7d229a074c8e00142 | 285 | py | Python | measurement_stats/value/__init__.py | sernst/RefinedStatistics | 3e310d265f17125b239f78cc35e42a3c3545d89b | [
"MIT"
] | null | null | null | measurement_stats/value/__init__.py | sernst/RefinedStatistics | 3e310d265f17125b239f78cc35e42a3c3545d89b | [
"MIT"
] | null | null | null | measurement_stats/value/__init__.py | sernst/RefinedStatistics | 3e310d265f17125b239f78cc35e42a3c3545d89b | [
"MIT"
] | 1 | 2017-05-21T16:45:22.000Z | 2017-05-21T16:45:22.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from measurement_stats.value.value_type import ValueUncertainty
from measurement_stats.value.value_ops import * # protected by __all__
| 35.625 | 70 | 0.877193 | 37 | 285 | 6.027027 | 0.486486 | 0.179372 | 0.286996 | 0.224215 | 0.269058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101754 | 285 | 7 | 71 | 40.714286 | 0.871094 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.166667 | 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 |
fd2ff7469ff56f5cfb9187e97e99360a96996a4e | 47 | py | Python | dante/vendor/pyparsing/__init__.py | sbg/dante | 104543c3ccb5e762d3e9cd6e8fa04c5fa91e2227 | [
"Apache-2.0"
] | 9 | 2017-11-03T15:53:01.000Z | 2019-10-01T14:09:56.000Z | dante/vendor/pyparsing/__init__.py | sbg/dante | 104543c3ccb5e762d3e9cd6e8fa04c5fa91e2227 | [
"Apache-2.0"
] | 4 | 2019-10-01T12:53:58.000Z | 2021-04-26T15:39:16.000Z | dante/vendor/pyparsing/__init__.py | sbg/dante | 104543c3ccb5e762d3e9cd6e8fa04c5fa91e2227 | [
"Apache-2.0"
] | 5 | 2017-11-03T15:50:40.000Z | 2021-09-13T08:50:45.000Z | from dante.vendor.pyparsing.pyparsing import *
| 23.5 | 46 | 0.829787 | 6 | 47 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.