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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
65145be90779dd8ad76b649552d50d74620a870e | 276 | py | Python | continuum/scenarios/data_incremental.py | yantonov/continuum | 682c579c3ea7e2c4961c322a00c33377298208d6 | [
"MIT"
] | null | null | null | continuum/scenarios/data_incremental.py | yantonov/continuum | 682c579c3ea7e2c4961c322a00c33377298208d6 | [
"MIT"
] | null | null | null | continuum/scenarios/data_incremental.py | yantonov/continuum | 682c579c3ea7e2c4961c322a00c33377298208d6 | [
"MIT"
] | null | null | null | from continuum.scenarios import _BaseCLLoader
class DataIncremental(_BaseCLLoader):
"""[Not Implemented Yet] Continual Loader, generating datasets for the consecutive tasks.
Scenario: Classes and instances changes and may reappear (NIC scenario)
"""
# TODO
| 27.6 | 93 | 0.757246 | 30 | 276 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177536 | 276 | 9 | 94 | 30.666667 | 0.911894 | 0.597826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
652862fb4a43ac2630ad5ac83cc22a279339b870 | 219 | py | Python | src/mp_api/routes/fermi.py | rkingsbury/api | 14d82c44fe911de19555f6f434d9dfb37bbc0c6f | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/mp_api/routes/fermi.py | rkingsbury/api | 14d82c44fe911de19555f6f434d9dfb37bbc0c6f | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/mp_api/routes/fermi.py | rkingsbury/api | 14d82c44fe911de19555f6f434d9dfb37bbc0c6f | [
"BSD-3-Clause-LBNL"
] | null | null | null | from emmet.core.fermi import FermiDoc
from mp_api.core.client import BaseRester
class FermiRester(BaseRester[FermiDoc]):
suffix = "fermi"
document_model = FermiDoc # type: ignore
primary_key = "task_id"
| 21.9 | 45 | 0.744292 | 28 | 219 | 5.678571 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173516 | 219 | 9 | 46 | 24.333333 | 0.878453 | 0.054795 | 0 | 0 | 0 | 0 | 0.058537 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e8ee87eaa6087cbe3a588dc95b6b2a42acbfb27a | 94 | py | Python | openff/evaluator/datasets/taproom/__init__.py | jaketanderson/openff-evaluator | 68541612fb0dacacc909d02f273c66ae830051d5 | [
"MIT"
] | 14 | 2019-02-01T18:56:58.000Z | 2019-12-10T18:01:38.000Z | openff/evaluator/datasets/taproom/__init__.py | jaketanderson/openff-evaluator | 68541612fb0dacacc909d02f273c66ae830051d5 | [
"MIT"
] | 168 | 2019-01-31T19:54:11.000Z | 2020-02-05T21:47:00.000Z | openff/evaluator/datasets/taproom/__init__.py | jaketanderson/openff-evaluator | 68541612fb0dacacc909d02f273c66ae830051d5 | [
"MIT"
] | 4 | 2019-05-01T17:45:24.000Z | 2019-11-11T19:34:28.000Z | from .taproom import TaproomDataSet, TaproomSource
__all__ = [TaproomDataSet, TaproomSource]
| 23.5 | 50 | 0.829787 | 8 | 94 | 9.25 | 0.75 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 94 | 3 | 51 | 31.333333 | 0.880952 | 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 | 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 | 0 | 0 | 0 | 4 |
330b8bb9ad2f46a4eebc2040f63d782f365eb336 | 177 | py | Python | CursoemVideo/Desafio095.py | davihonorato/Curso-python | 47e6b4b2f5b37ef520b8b31d37dba0b5d259a0b0 | [
"MIT"
] | null | null | null | CursoemVideo/Desafio095.py | davihonorato/Curso-python | 47e6b4b2f5b37ef520b8b31d37dba0b5d259a0b0 | [
"MIT"
] | null | null | null | CursoemVideo/Desafio095.py | davihonorato/Curso-python | 47e6b4b2f5b37ef520b8b31d37dba0b5d259a0b0 | [
"MIT"
] | null | null | null | # Exercício Python 095: Aprimore o desafio 93 para que ele funcione com vários jogadores, incluindo um sistema de
# visualização de detalhes do aproveitamento de cada jogador.
| 44.25 | 113 | 0.80791 | 26 | 177 | 5.5 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033784 | 0.163842 | 177 | 3 | 114 | 59 | 0.932432 | 0.966102 | 0 | null | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
330ea4e848f462fdd7ea729dee1a5495ee781000 | 419 | py | Python | Lib/site-packages/zmq/auth/__init__.py | edupyter/EDUPYTER38 | 396183cea72987506f1ef647c0272a2577c56218 | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/zmq/auth/__init__.py | edupyter/EDUPYTER38 | 396183cea72987506f1ef647c0272a2577c56218 | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/zmq/auth/__init__.py | edupyter/EDUPYTER38 | 396183cea72987506f1ef647c0272a2577c56218 | [
"bzip2-1.0.6"
] | null | null | null | """Utilities for ZAP authentication.
To run authentication in a background thread, see :mod:`zmq.auth.thread`.
For integration with the tornado eventloop, see :mod:`zmq.auth.ioloop`.
For integration with the asyncio event loop, see :mod:`zmq.auth.asyncio`.
Authentication examples are provided in the pyzmq codebase, u... | 27.933333 | 73 | 0.75179 | 59 | 419 | 5.338983 | 0.627119 | 0.057143 | 0.085714 | 0.12381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008287 | 0.136038 | 419 | 14 | 74 | 29.928571 | 0.861878 | 0.880668 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
332ea52a1f64c3ba1c6c2373978e8e9f0f8cc1d4 | 3,400 | py | Python | src/puzzle/examples/gph/retinal_variants.py | PhilHarnish/forge | 663f19d759b94d84935c14915922070635a4af65 | [
"MIT"
] | 2 | 2020-08-18T18:43:09.000Z | 2020-08-18T20:05:59.000Z | src/puzzle/examples/gph/retinal_variants.py | PhilHarnish/forge | 663f19d759b94d84935c14915922070635a4af65 | [
"MIT"
] | null | null | null | src/puzzle/examples/gph/retinal_variants.py | PhilHarnish/forge | 663f19d759b94d84935c14915922070635a4af65 | [
"MIT"
] | null | null | null | import collections
# 0 Emboar, 1 Oricorio, 2 Infernape, 3 Gogoat, 4 Illumise, 4 Toxicroak,
# 5 Litten, 6 Servine, 6 Starly, 7 Togedemaru, 8 Totodile, 8 Xatu,
# 9 Arcanine, 9 Drillbur, 9 Nidoran, 9 Noivern, 9 Relicanth
data = """
IRGVLLRLLLLASSLGPGAAPLRSALRKQGKVGPPLDIMLDALNCSAFSIQWKMPRHPPSPIMGYTVFYSEVGVDKSLQERSYGVPPSLN... | 70.833333 | 157 | 0.916471 | 139 | 3,400 | 22.388489 | 0.561151 | 0.005784 | 0.004499 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008082 | 0.053824 | 3,400 | 47 | 158 | 72.340426 | 0.959279 | 0.056471 | 0 | 0 | 0 | 0 | 0.841448 | 0.833645 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026316 | 0 | 0.026316 | 0.052632 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6853b8416d84bbc3ad455c1719dfb91055cf4468 | 58 | py | Python | Chapter 07/ch7_1i.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 07/ch7_1i.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 07/ch7_1i.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | def break():
print("Simple is better than complex! ") | 29 | 44 | 0.655172 | 8 | 58 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 58 | 2 | 44 | 29 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.534483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
685fa563508c5de67ff311e4e7a270ca2af0b226 | 357 | py | Python | finetuned_interpolation.py | vineeths96/Video-Interpolation-using-Deep-Optical-Flow | 5dd536bcc2d6c0d0d1718dccb09eb71ca77d2d94 | [
"MIT"
] | 5 | 2021-04-17T15:26:29.000Z | 2021-10-11T13:17:56.000Z | finetuned_interpolation.py | vineeths96/Video-Interpolation-using-Deep-Optical-Flow | 5dd536bcc2d6c0d0d1718dccb09eb71ca77d2d94 | [
"MIT"
] | null | null | null | finetuned_interpolation.py | vineeths96/Video-Interpolation-using-Deep-Optical-Flow | 5dd536bcc2d6c0d0d1718dccb09eb71ca77d2d94 | [
"MIT"
] | 2 | 2021-11-28T06:40:23.000Z | 2022-01-17T12:20:21.000Z | from finetuned.corridor import corridor_interpolation
from finetuned.sphere import sphere_interpolation
# Corridor dataset interpolation
corridor_interpolation(model_path="./flownet2/pretrained_models/FlowNet2_checkpoint.pth.tar")
# Sphere dataset interpolation
sphere_interpolation(model_path="./flownet2/pretrained_... | 35.7 | 93 | 0.868347 | 40 | 357 | 7.5 | 0.375 | 0.086667 | 0.146667 | 0.2 | 0.466667 | 0.466667 | 0.466667 | 0.466667 | 0.466667 | 0.466667 | 0 | 0.011905 | 0.058824 | 357 | 9 | 94 | 39.666667 | 0.880952 | 0.165266 | 0 | 0 | 0 | 0 | 0.379661 | 0.379661 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6892f364d8b9e52cf739d01bd2b55191ad1240af | 4,256 | py | Python | tests/adapter/test_tiered.py | alexander255/py-datastore | 90b4b587140c59f7b0157602ad39299a6ff82c26 | [
"MIT"
] | 6 | 2020-04-20T11:00:50.000Z | 2021-04-22T21:23:09.000Z | tests/adapter/test_tiered.py | ipfs/py-datastore | b80933d52ca60c52ba2210db74300899d604d7ef | [
"MIT"
] | 23 | 2019-09-17T11:35:06.000Z | 2020-04-07T16:18:15.000Z | tests/adapter/test_tiered.py | ipfs/py-datastore | b80933d52ca60c52ba2210db74300899d604d7ef | [
"MIT"
] | 6 | 2019-08-04T02:02:25.000Z | 2020-03-01T15:43:41.000Z | import logging
import typing
import pytest
import trio.testing
import datastore
from tests import conftest
from tests.adapter.conftest import make_datastore_test_params
@pytest.mark.parametrize(*make_datastore_test_params("tiered"))
@trio.testing.trio_test
async def test_tiered_simple(DatastoreTests, Adapter, DictD... | 28.952381 | 83 | 0.715695 | 687 | 4,256 | 4.3377 | 0.151383 | 0.118121 | 0.11745 | 0.057383 | 0.804027 | 0.729195 | 0.721812 | 0.65604 | 0.583557 | 0.498993 | 0 | 0.047672 | 0.162124 | 4,256 | 146 | 84 | 29.150685 | 0.787998 | 0.084352 | 0 | 0.509434 | 0 | 0 | 0.012606 | 0 | 0 | 0 | 0 | 0 | 0.556604 | 1 | 0 | false | 0 | 0.066038 | 0 | 0.066038 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6894c5115fedf0c11840da84f8c498104d1ad284 | 220 | py | Python | main/classes/non_decimal_location.py | MHenderson1988/PyLineofsight | 169a693320fd39ded4c76fd96b4613de2d0de85c | [
"MIT"
] | 4 | 2021-07-05T09:19:42.000Z | 2022-01-22T01:51:02.000Z | main/classes/non_decimal_location.py | MHenderson1988/PyLineofsight | 169a693320fd39ded4c76fd96b4613de2d0de85c | [
"MIT"
] | 3 | 2020-06-20T10:47:44.000Z | 2022-01-11T19:50:27.000Z | main/classes/non_decimal_location.py | MHenderson1988/PyLineofsight | 169a693320fd39ded4c76fd96b4613de2d0de85c | [
"MIT"
] | 2 | 2020-06-20T10:23:36.000Z | 2022-01-11T16:14:30.000Z | from abc import ABC, abstractmethod
from main.classes.location import Location
class NonDecimalLocation(Location, ABC):
class Location(ABC):
@abstractmethod
def to_decimal(self):
pass
| 18.333333 | 42 | 0.690909 | 24 | 220 | 6.291667 | 0.583333 | 0.225166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245455 | 220 | 11 | 43 | 20 | 0.909639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.285714 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
689a3aa9261d3acf59cdb321944f4ec4ba5a4e7a | 79 | py | Python | metric/modeling/layers/__init__.py | feymanpriv/pymetric | f7c4f354f87969142263c87e1fb33499b7b2d62a | [
"MIT"
] | 62 | 2020-08-26T11:06:37.000Z | 2022-03-29T03:26:00.000Z | metric/modeling/layers/__init__.py | ym547559398/pycls | f7c4f354f87969142263c87e1fb33499b7b2d62a | [
"MIT"
] | 2 | 2021-06-02T10:19:53.000Z | 2021-12-06T05:41:23.000Z | metric/modeling/layers/__init__.py | ym547559398/pycls | f7c4f354f87969142263c87e1fb33499b7b2d62a | [
"MIT"
] | 11 | 2020-09-14T12:26:17.000Z | 2021-10-04T06:29:35.000Z | from .arcface import Arcface
from .circle import Circle
from .pooling import *
| 19.75 | 28 | 0.797468 | 11 | 79 | 5.727273 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 79 | 3 | 29 | 26.333333 | 0.940299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 4 |
689f91c6c23f4d9821c67386d9202b815fdad87c | 226 | py | Python | apps/db/apps.py | Alma-CFAO/meetup121219 | 3f9124b7406a3e9300ac8792f7cd126a69c2b761 | [
"MIT"
] | 3 | 2019-12-16T20:48:23.000Z | 2019-12-28T09:23:08.000Z | apps/db/apps.py | Alma-CFAO/meetup121219 | 3f9124b7406a3e9300ac8792f7cd126a69c2b761 | [
"MIT"
] | 2 | 2020-02-12T09:25:01.000Z | 2021-03-30T12:35:19.000Z | apps/db/apps.py | Alma-CFAO/PyApiFirstDemo | 3f9124b7406a3e9300ac8792f7cd126a69c2b761 | [
"MIT"
] | null | null | null | # coding: utf-8
from django.apps import \
AppConfig # pragma: no cover
class DatabaseConfig(AppConfig): # pragma: no cover
"""Define database django app config."""
name = 'apps.db'
app_label = 'database'
| 18.833333 | 52 | 0.659292 | 28 | 226 | 5.285714 | 0.714286 | 0.202703 | 0.22973 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.225664 | 226 | 11 | 53 | 20.545455 | 0.84 | 0.367257 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d7aee5116ac5849674adda742998c9c66a39b1b8 | 454 | py | Python | src/euler_python_package/euler_python/medium/p476.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p476.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p476.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem476():
"""
Let R(a, b, c) be the maximum area covered by three non-overlapping
circles inside a triangle with edge lengths a, b and c.
Let S(n) be the average value of R(a, b, c) over all integer triplets (a,
b, c) such that 1 ≤ a ≤ b ≤ c < a + b ≤ n
You are given S(2)... | 26.705882 | 80 | 0.579295 | 89 | 454 | 3.022472 | 0.606742 | 0.037175 | 0.033457 | 0.02974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083067 | 0.310573 | 454 | 16 | 81 | 28.375 | 0.757189 | 0.843612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d7b5fa3b8062a30499c83ac42a0fe2ad82814813 | 70 | py | Python | jsonfield_schema/__init__.py | makimo/django-jsonfield-schema | c3e866e53faa66546bf772b96815fed49856fdea | [
"MIT"
] | 2 | 2018-09-16T11:37:00.000Z | 2018-09-16T14:16:32.000Z | jsonfield_schema/__init__.py | makimo/django-jsonfield-schema | c3e866e53faa66546bf772b96815fed49856fdea | [
"MIT"
] | null | null | null | jsonfield_schema/__init__.py | makimo/django-jsonfield-schema | c3e866e53faa66546bf772b96815fed49856fdea | [
"MIT"
] | 2 | 2020-03-27T23:06:10.000Z | 2020-04-24T17:53:43.000Z | __version__ = '0.0.1'
from .types import *
from .exceptions import *
| 14 | 25 | 0.7 | 10 | 70 | 4.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 0.171429 | 70 | 4 | 26 | 17.5 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d7bc9dea140225e1e0942a2e36db1f63e5f740cd | 128 | py | Python | terrascript/provider/ultradns.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/provider/ultradns.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/provider/ultradns.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/provider/ultradns.py
import terrascript
class ultradns(terrascript.Provider):
pass
__all__ = ["ultradns"]
| 12.8 | 37 | 0.757813 | 13 | 128 | 7.153846 | 0.615385 | 0.408602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 128 | 9 | 38 | 14.222222 | 0.845455 | 0.25 | 0 | 0 | 0 | 0 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d7cdf85e24b9354e5cbd695eccf0b103032f8754 | 83 | py | Python | itermethodchain/__init__.py | tateishi/itermethodchain | c6c2d458f8505842c9edf9bdef8d8c69cdaf4b15 | [
"MIT"
] | null | null | null | itermethodchain/__init__.py | tateishi/itermethodchain | c6c2d458f8505842c9edf9bdef8d8c69cdaf4b15 | [
"MIT"
] | null | null | null | itermethodchain/__init__.py | tateishi/itermethodchain | c6c2d458f8505842c9edf9bdef8d8c69cdaf4b15 | [
"MIT"
] | null | null | null | from . import chaining
IterMethodChain = chaining.IterMethodChain
VERSION='0.0.1' | 16.6 | 42 | 0.795181 | 10 | 83 | 6.6 | 0.7 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.108434 | 83 | 5 | 43 | 16.6 | 0.851351 | 0 | 0 | 0 | 0 | 0 | 0.059524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 4 |
d7d8123f18375ffb3070470f45232785446d1d87 | 311 | py | Python | desafio27.py | lucasmc64/Curso_de_Python_CeV | aed942828913ff405941a7d86fb65ddcc79c414d | [
"MIT"
] | 1 | 2021-02-19T05:13:32.000Z | 2021-02-19T05:13:32.000Z | desafio27.py | lucasmc64/python_cev | aed942828913ff405941a7d86fb65ddcc79c414d | [
"MIT"
] | null | null | null | desafio27.py | lucasmc64/python_cev | aed942828913ff405941a7d86fb65ddcc79c414d | [
"MIT"
] | null | null | null | print('{} DESAFIO 27 {}'.format('=' * 10, '=' * 10))
n = str(input('Digite seu nome completo: ')).strip()
id = n.count(' ')
n = n.split()
print('Muito prazer em te conhecer!')
print('primeiro nome: {}\núltimo nome: {}'.format(n[0], n[id]))
#print('primeiro nome: {}\núltimo nome: {}'.format(n[0], n[len(n)-1]))
| 38.875 | 70 | 0.588424 | 48 | 311 | 3.8125 | 0.541667 | 0.142077 | 0.185792 | 0.262295 | 0.404372 | 0.404372 | 0.404372 | 0.404372 | 0.404372 | 0 | 0 | 0.03321 | 0.128617 | 311 | 7 | 71 | 44.428571 | 0.642066 | 0.221865 | 0 | 0 | 0 | 0 | 0.443983 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d7eff8afba1cc15be19be38b3d185ee3c1245a41 | 139 | py | Python | aula007 - OPERADORES ARITMETICOS/aula007e.py | miradouro/CursoEmVideo-Python | cc7b05a9a4aad8e6ef3b29453d83370094d75e41 | [
"MIT"
] | null | null | null | aula007 - OPERADORES ARITMETICOS/aula007e.py | miradouro/CursoEmVideo-Python | cc7b05a9a4aad8e6ef3b29453d83370094d75e41 | [
"MIT"
] | null | null | null | aula007 - OPERADORES ARITMETICOS/aula007e.py | miradouro/CursoEmVideo-Python | cc7b05a9a4aad8e6ef3b29453d83370094d75e41 | [
"MIT"
] | null | null | null | n1 = float(input('Quantos reais você tem na carteira?'))
print('Você consegue comprar {} dolares com seus {} reais!'.format(n1//3.27, n1))
| 46.333333 | 81 | 0.697842 | 22 | 139 | 4.409091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049587 | 0.129496 | 139 | 2 | 82 | 69.5 | 0.752066 | 0 | 0 | 0 | 0 | 0 | 0.618705 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
cc0623a4422a0671dc958301c3923642d66ae8a1 | 95 | py | Python | covidpolls/apps.py | mtlberri/covidpolls | 77081b886abb579f16cec800e50f5477341675b1 | [
"MIT"
] | null | null | null | covidpolls/apps.py | mtlberri/covidpolls | 77081b886abb579f16cec800e50f5477341675b1 | [
"MIT"
] | 6 | 2020-05-17T01:47:35.000Z | 2021-09-22T19:00:37.000Z | covidpolls/apps.py | mtlberri/covidpolls | 77081b886abb579f16cec800e50f5477341675b1 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CovidpollsConfig(AppConfig):
name = 'covidpolls'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0bff7e0b9981ab2e59a6946874582bd478ce61c6 | 154 | py | Python | streamlit_app.py | pedrorohde/dlib_example | dfa32ef2e2e0609e7ec72dbb1cac4d66cd7509c8 | [
"Apache-2.0"
] | null | null | null | streamlit_app.py | pedrorohde/dlib_example | dfa32ef2e2e0609e7ec72dbb1cac4d66cd7509c8 | [
"Apache-2.0"
] | null | null | null | streamlit_app.py | pedrorohde/dlib_example | dfa32ef2e2e0609e7ec72dbb1cac4d66cd7509c8 | [
"Apache-2.0"
] | null | null | null | import streamlit as st
import dlib
import cv2
import numpy
import streamlit_webrtc
import PIL
face_detector = dlib.get_frontal_face_detector()
"Hello"
| 12.833333 | 48 | 0.824675 | 23 | 154 | 5.304348 | 0.608696 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.136364 | 154 | 11 | 49 | 14 | 0.909774 | 0 | 0 | 0 | 0 | 0 | 0.032468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0401b9f131a93f1806afd5bc5fba97f19b4d87c0 | 730 | py | Python | Code/22.ImageContourApp5.py | minssoj/Learning_OpenCV-Python | 63f175985a1d9645191c49e16ab6bb91a4f6b7fb | [
"MIT"
] | 1 | 2020-03-09T02:58:51.000Z | 2020-03-09T02:58:51.000Z | Code/22.ImageContourApp5.py | minssoj/Learning_OpenCV-Python | 63f175985a1d9645191c49e16ab6bb91a4f6b7fb | [
"MIT"
] | null | null | null | Code/22.ImageContourApp5.py | minssoj/Learning_OpenCV-Python | 63f175985a1d9645191c49e16ab6bb91a4f6b7fb | [
"MIT"
] | null | null | null | # =================================================
# minso.jeong@daum.net
# 22. 이미지 Contour 응용 5
# Reference : samsjang@naver.com
# =================================================
import numpy as np
import cv2 as cv
import matplotlib.pyplot as plt
# A. Contour Hierachy
# =====================* arrangement *========... | 40.555556 | 66 | 0.513699 | 85 | 730 | 4.364706 | 0.529412 | 0.107817 | 0.12938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018898 | 0.130137 | 730 | 18 | 67 | 40.555556 | 0.565354 | 0.867123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
04026c4e0f2a6d08fcc7a3045581a432101d2a83 | 442 | py | Python | match_challenge/app/serializers.py | spratiman/MatchChallenge | 57225472ffb90766eff2b4a53e6af7b518c6af2c | [
"Apache-2.0"
] | null | null | null | match_challenge/app/serializers.py | spratiman/MatchChallenge | 57225472ffb90766eff2b4a53e6af7b518c6af2c | [
"Apache-2.0"
] | null | null | null | match_challenge/app/serializers.py | spratiman/MatchChallenge | 57225472ffb90766eff2b4a53e6af7b518c6af2c | [
"Apache-2.0"
] | null | null | null | from rest_framework import serializers
from .models import Notice, Record, Match
class NoticeSerializer(serializers.ModelSerializer):
class Meta:
model = Notice
fields = "__all__"
class RecordSerializer(serializers.ModelSerializer):
class Meta:
model = Record
fields = "__all_... | 21.047619 | 52 | 0.692308 | 41 | 442 | 7.146341 | 0.439024 | 0.266212 | 0.317406 | 0.358362 | 0.409556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239819 | 442 | 20 | 53 | 22.1 | 0.872024 | 0 | 0 | 0.428571 | 0 | 0 | 0.047511 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
04129dba0abb46fc3ab188cbda37e845599a2667 | 245 | py | Python | 01-introduction to python for data science/01-python basics/the_python_interface.py | thelc127/Data-Scientist-Career-Track-Datacamp | 56d0ec0ece7fa9127e72b0da598c89f15f31b6b3 | [
"MIT"
] | 2 | 2021-05-21T04:59:19.000Z | 2021-05-21T08:32:41.000Z | 01-introduction to python for data science/01-python basics/the_python_interface.py | thelc127/Data-Scientist-Career-Track-Datacamp | 56d0ec0ece7fa9127e72b0da598c89f15f31b6b3 | [
"MIT"
] | null | null | null | 01-introduction to python for data science/01-python basics/the_python_interface.py | thelc127/Data-Scientist-Career-Track-Datacamp | 56d0ec0ece7fa9127e72b0da598c89f15f31b6b3 | [
"MIT"
] | null | null | null | # Experiment in the IPython Shell; type 5 / 8, for example.
# Add another line of code to the Python script on the top-right (not in the Shell): print(7 + 10).
# Example, do not modify!
print(5 / 8)
0.625
# Put code below here
print(7 + 10)
17.0 | 30.625 | 99 | 0.693878 | 48 | 245 | 3.541667 | 0.6875 | 0.058824 | 0.094118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086735 | 0.2 | 245 | 8 | 100 | 30.625 | 0.780612 | 0.812245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0429a987370acb1befdc871d29e0e45d023f3c3d | 1,194 | py | Python | program/condition/condition.py | probing-lab/polar | 30a7ae05da5364fa65b1609f31f9b108113ab4ae | [
"MIT"
] | 2 | 2021-10-06T13:29:24.000Z | 2021-11-11T19:42:43.000Z | program/condition/condition.py | daneshvar-amrollahi/polar | b72254e1a8354e6a10135cd3990b8edfda02559e | [
"MIT"
] | 1 | 2022-01-26T15:58:28.000Z | 2022-01-28T13:47:28.000Z | program/condition/condition.py | daneshvar-amrollahi/polar | b72254e1a8354e6a10135cd3990b8edfda02559e | [
"MIT"
] | 2 | 2021-10-01T15:08:52.000Z | 2022-03-15T14:10:06.000Z | from abc import ABC, abstractmethod
from typing import List, Tuple, Dict
from symengine.lib.symengine_wrapper import Expr, Symbol
class Condition(ABC):
is_loop_guard: bool = False
@abstractmethod
def is_implied_by_loop_guard(self):
pass
@abstractmethod
def get_loop_guard(self):
... | 20.586207 | 66 | 0.639866 | 132 | 1,194 | 5.575758 | 0.340909 | 0.254076 | 0.285326 | 0.130435 | 0.134511 | 0.092391 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269682 | 1,194 | 57 | 67 | 20.947368 | 0.844037 | 0 | 0 | 0.52381 | 0 | 0 | 0.037688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.261905 | 0.071429 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0440e3744f1b30cb10fa6c6f1e5ea39696985b82 | 151 | py | Python | docs/tutorials/_tutorial_setup.py | LevyForchh/bionic | f7f9486ac22c928bfbf12c40abf4bfd81751d77e | [
"Apache-2.0"
] | null | null | null | docs/tutorials/_tutorial_setup.py | LevyForchh/bionic | f7f9486ac22c928bfbf12c40abf4bfd81751d77e | [
"Apache-2.0"
] | 1 | 2020-05-19T01:01:27.000Z | 2020-05-19T01:01:27.000Z | docs/tutorials/_tutorial_setup.py | LevyForchh/bionic | f7f9486ac22c928bfbf12c40abf4bfd81751d77e | [
"Apache-2.0"
] | null | null | null | import sys
from pathlib import Path
project_path = str(Path('../..').resolve())
if project_path not in sys.path:
sys.path.insert(0, project_path)
| 21.571429 | 43 | 0.715232 | 24 | 151 | 4.375 | 0.541667 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.139073 | 151 | 6 | 44 | 25.166667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.033113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 0 | 0 | 4 |
04569ce2d975299942393fe0726dcd0f35038349 | 885 | py | Python | tests/rlcomplete_test.py | techdragon/fabulous | bc6de0f4414cebb4a13f6604c5a2797862e0439d | [
"MIT"
] | 1 | 2019-06-27T13:05:31.000Z | 2019-06-27T13:05:31.000Z | tests/rlcomplete_test.py | techdragon/fabulous | bc6de0f4414cebb4a13f6604c5a2797862e0439d | [
"MIT"
] | null | null | null | tests/rlcomplete_test.py | techdragon/fabulous | bc6de0f4414cebb4a13f6604c5a2797862e0439d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import unittest
from terminate import rlcomplete
class TestControl(unittest.TestCase):
def test_ListCompleter(self):
c = rlcomplete.ListCompleter(['foo','bar','baz'], True)
self.failUnlessEqual(c.completelist('a'), [])
self.failUnlessEqual(c.completelist('B'), ['bar'... | 32.777778 | 64 | 0.624859 | 93 | 885 | 5.83871 | 0.483871 | 0.209945 | 0.220994 | 0.353591 | 0.325967 | 0.265193 | 0.143646 | 0 | 0 | 0 | 0 | 0 | 0.20113 | 885 | 26 | 65 | 34.038462 | 0.768034 | 0.230508 | 0 | 0 | 0 | 0 | 0.068047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0.066667 | 0.133333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f08821108c26e765c7d85cee47b7b3491e843bc4 | 15,096 | py | Python | informers_specs_util.py | ExplanationNAACL/NAACL-Informers | bea3e256e68880cfd656a26d5cfd75a622fead89 | [
"MIT"
] | null | null | null | informers_specs_util.py | ExplanationNAACL/NAACL-Informers | bea3e256e68880cfd656a26d5cfd75a622fead89 | [
"MIT"
] | null | null | null | informers_specs_util.py | ExplanationNAACL/NAACL-Informers | bea3e256e68880cfd656a26d5cfd75a622fead89 | [
"MIT"
] | 2 | 2022-01-16T03:35:21.000Z | 2022-01-16T03:51:56.000Z | """
This file is to demonstrate what types of wrappers a user would need to make to use their custom explainer,
dataset, and model, with our Informers library. In this case, our custom explainer, dataset, and model is from LIT.
- This file contains the Wrapper functions for the LIT explainers, models, and dataset to a... | 44.011662 | 119 | 0.614202 | 1,788 | 15,096 | 5.058166 | 0.155481 | 0.029854 | 0.037815 | 0.01946 | 0.745688 | 0.728992 | 0.704224 | 0.704224 | 0.690624 | 0.690624 | 0 | 0.009476 | 0.286963 | 15,096 | 342 | 120 | 44.140351 | 0.830732 | 0.387321 | 0 | 0.572289 | 0 | 0 | 0.040316 | 0.002476 | 0 | 0 | 0 | 0.008772 | 0.060241 | 1 | 0.090361 | false | 0.012048 | 0.054217 | 0 | 0.216867 | 0.018072 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f0cda55ca994e0fcc12486d3149f38241f2acaa6 | 3,727 | py | Python | project/matrix.py | arifBurakDemiray/computer-graphics | acf4781f92e325b12d986974c448b0e3520af431 | [
"MIT"
] | null | null | null | project/matrix.py | arifBurakDemiray/computer-graphics | acf4781f92e325b12d986974c448b0e3520af431 | [
"MIT"
] | null | null | null | project/matrix.py | arifBurakDemiray/computer-graphics | acf4781f92e325b12d986974c448b0e3520af431 | [
"MIT"
] | null | null | null | # CENG 487 Assignment6 by
# Arif Burak Demiray
# December 2021
from math import sin, cos
from .vector import *
import numpy
class Matrix:
@staticmethod
def create(arg):
if len(arg) != 16:
raise Exception("array size must be 16!")
cols = []
for x in range(0, 4):
... | 29.579365 | 136 | 0.524819 | 663 | 3,727 | 2.914027 | 0.13273 | 0.169772 | 0.209627 | 0.227743 | 0.376812 | 0.376812 | 0.307453 | 0.292961 | 0.241201 | 0.228778 | 0 | 0.100945 | 0.290314 | 3,727 | 125 | 137 | 29.816 | 0.62949 | 0.015025 | 0 | 0.212766 | 0 | 0 | 0.006545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.234043 | false | 0 | 0.031915 | 0.117021 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
f0fb2a8c10c6fc3b89fc12b6eeca6d64ad7599c9 | 89 | py | Python | run.py | Zwami/yacm | db7cc6693fb37178f81f741c0f6ebebf525d146d | [
"MIT"
] | null | null | null | run.py | Zwami/yacm | db7cc6693fb37178f81f741c0f6ebebf525d146d | [
"MIT"
] | 1 | 2021-08-23T20:49:05.000Z | 2021-08-23T20:49:05.000Z | run.py | Zwami/yacm | db7cc6693fb37178f81f741c0f6ebebf525d146d | [
"MIT"
] | null | null | null | from SocialModel.server import server
print("Yet Another Covid Model")
server.launch()
| 14.833333 | 37 | 0.786517 | 12 | 89 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 89 | 5 | 38 | 17.8 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0.258427 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0b19a7d89da4d622a9c1629ffc378fa0e450b549 | 98 | py | Python | nets/backbone/mobilenet/__init__.py | Ecalose/dddd_trainer | ef0c6b271cc2898403375f53f813481ffbf6b02c | [
"Apache-2.0"
] | 80 | 2022-02-20T01:28:55.000Z | 2022-03-31T09:09:25.000Z | nets/backbone/mobilenet/__init__.py | wingeva1986/dddd_trainer | 608bfec699446040aea205387c9a2129ea5fa575 | [
"Apache-2.0"
] | 2 | 2022-03-14T03:05:34.000Z | 2022-03-28T05:35:53.000Z | nets/backbone/mobilenet/__init__.py | wingeva1986/dddd_trainer | 608bfec699446040aea205387c9a2129ea5fa575 | [
"Apache-2.0"
] | 30 | 2022-02-20T01:34:43.000Z | 2022-03-31T09:09:35.000Z | from .mobilenetv2 import mobilenetv2
from .mobilenetv3 import MobileNetV3_Small, MobileNetV3_Large | 49 | 61 | 0.887755 | 11 | 98 | 7.727273 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.081633 | 98 | 2 | 61 | 49 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 4 |
9bd306c90faf5349667d57ad00df5da21292514d | 230 | py | Python | Linux_Mint_Programs_BackUp/models/program.py | ToastedGuy2/Automation-Scripts-With-Python | 596bcf4a06e2217af59707a243c7da0d705d76a7 | [
"MIT"
] | null | null | null | Linux_Mint_Programs_BackUp/models/program.py | ToastedGuy2/Automation-Scripts-With-Python | 596bcf4a06e2217af59707a243c7da0d705d76a7 | [
"MIT"
] | null | null | null | Linux_Mint_Programs_BackUp/models/program.py | ToastedGuy2/Automation-Scripts-With-Python | 596bcf4a06e2217af59707a243c7da0d705d76a7 | [
"MIT"
] | null | null | null | from mongoengine import *
from mongoengine.document import Document
from mongoengine.fields import StringField
class Program(Document):
name = StringField(required=True, max_length=50)
meta = {'allow_inheritance': True}
| 25.555556 | 52 | 0.782609 | 27 | 230 | 6.592593 | 0.62963 | 0.252809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.13913 | 230 | 8 | 53 | 28.75 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.073913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9bf7bf47b8f465bf96e82903978f0fcbc734c184 | 150 | wsgi | Python | py_relay/app_relay.wsgi | itc-lab/wiringpi-python-bme280 | 3e2cbcc7232f387c0f61f89faade654699a11e20 | [
"MIT"
] | 1 | 2022-01-16T16:33:38.000Z | 2022-01-16T16:33:38.000Z | py_relay/app_relay.wsgi | itc-lab/wiringpi-python-bme280 | 3e2cbcc7232f387c0f61f89faade654699a11e20 | [
"MIT"
] | null | null | null | py_relay/app_relay.wsgi | itc-lab/wiringpi-python-bme280 | 3e2cbcc7232f387c0f61f89faade654699a11e20 | [
"MIT"
] | null | null | null | #!/usr/bin/ python3
# -*- coding:utf-8 -*-
import sys
sys.path.insert(0, "/var/www/flask")
from app_relay import app_relay
application = app_relay
| 15 | 36 | 0.7 | 24 | 150 | 4.25 | 0.75 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023077 | 0.133333 | 150 | 9 | 37 | 16.666667 | 0.761538 | 0.26 | 0 | 0 | 0 | 0 | 0.12844 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 4 |
500160d36b9ba1e7d23bc7ca91e481356d26737d | 220 | py | Python | splendor_ai/random_mover.py | ggawryal/splendor-ai | 356ae2466edabbd3d304f66a29042a23df2c6226 | [
"MIT"
] | 1 | 2021-09-01T15:56:14.000Z | 2021-09-01T15:56:14.000Z | splendor_ai/random_mover.py | ggawryal/splendor-ai | 356ae2466edabbd3d304f66a29042a23df2c6226 | [
"MIT"
] | null | null | null | splendor_ai/random_mover.py | ggawryal/splendor-ai | 356ae2466edabbd3d304f66a29042a23df2c6226 | [
"MIT"
] | null | null | null | from typing import AbstractSet
import numpy as np
from abstract_model import AbstractModel
class RandomMover(AbstractModel):
def get_scores_for_each_move(self,env):
return np.random.rand(self.output_nodes)
| 24.444444 | 48 | 0.8 | 31 | 220 | 5.483871 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 220 | 8 | 49 | 27.5 | 0.904255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
5022333d227cddd262db29cbe79d0dfadd29e5ec | 183 | py | Python | frappe/patches/v8_0/drop_in_dialog.py | Nxweb-in/frappe | 56b3eb52bf56dd71bee29fde3ed28ed9c6d15947 | [
"MIT"
] | 1 | 2021-06-03T07:04:48.000Z | 2021-06-03T07:04:48.000Z | frappe/patches/v8_0/drop_in_dialog.py | Nxweb-in/frappe | 56b3eb52bf56dd71bee29fde3ed28ed9c6d15947 | [
"MIT"
] | null | null | null | frappe/patches/v8_0/drop_in_dialog.py | Nxweb-in/frappe | 56b3eb52bf56dd71bee29fde3ed28ed9c6d15947 | [
"MIT"
] | null | null | null |
import frappe
def execute():
if frappe.db.has_column('DocType', 'in_dialog'):
frappe.db.sql('alter table tabDocType drop column in_dialog')
frappe.clear_cache(doctype="DocType") | 26.142857 | 63 | 0.759563 | 27 | 183 | 5 | 0.666667 | 0.118519 | 0.207407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103825 | 183 | 7 | 64 | 26.142857 | 0.823171 | 0 | 0 | 0 | 0 | 0 | 0.36612 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5030aa5a1b69a9418f64aae2ed67914b33509757 | 83 | py | Python | gsan/__init__.py | TheRipperJhon/GSAN | 3e911b1212d87994bd63e2d7b403ed07786f0017 | [
"MIT"
] | 2 | 2020-07-08T18:04:22.000Z | 2020-09-23T01:03:15.000Z | gsan/__init__.py | TheRipperJhon/GSAN | 3e911b1212d87994bd63e2d7b403ed07786f0017 | [
"MIT"
] | 4 | 2020-02-25T11:49:03.000Z | 2022-02-26T04:02:21.000Z | gsan/__init__.py | TheRipperJhon/GSAN | 3e911b1212d87994bd63e2d7b403ed07786f0017 | [
"MIT"
] | 1 | 2020-09-23T01:03:16.000Z | 2020-09-23T01:03:16.000Z | """Initialize GAN modules."""
from .get_san import get_san
__all__ = ['get_san']
| 13.833333 | 29 | 0.698795 | 12 | 83 | 4.25 | 0.666667 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 5 | 30 | 16.6 | 0.71831 | 0.277108 | 0 | 0 | 0 | 0 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 4 |
503d92eebef08569af826688fca05f0469fe83b1 | 98 | py | Python | Tutorials/01. 10 Days of Statistics/008. Day 4 - Geometric Distribution I.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | Tutorials/01. 10 Days of Statistics/008. Day 4 - Geometric Distribution I.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | Tutorials/01. 10 Days of Statistics/008. Day 4 - Geometric Distribution I.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | # Problem: https://www.hackerrank.com/challenges/s10-geometric-distribution-1/problem
# Score: 30
| 32.666667 | 85 | 0.785714 | 13 | 98 | 5.923077 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054348 | 0.061224 | 98 | 2 | 86 | 49 | 0.782609 | 0.94898 | 0 | null | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ac9c2d1b264b2d6431c11f386c2950b84cb391dc | 289 | py | Python | python/armstrong-numbers/armstrong_numbers.py | rootulp/exercism | 312a053ad1d375752acf0fce062ee7b9c643a149 | [
"MIT"
] | 41 | 2015-02-09T18:08:45.000Z | 2022-03-06T15:23:32.000Z | python/armstrong-numbers/armstrong_numbers.py | DucChuyenSoftwareEngineer/exercism | fb7820a1ba162b888a39f1b86cbe5d3ca3b15d4f | [
"MIT"
] | 21 | 2019-12-28T17:47:06.000Z | 2021-02-27T19:43:00.000Z | python/armstrong-numbers/armstrong_numbers.py | DucChuyenSoftwareEngineer/exercism | fb7820a1ba162b888a39f1b86cbe5d3ca3b15d4f | [
"MIT"
] | 18 | 2016-04-29T14:35:12.000Z | 2021-06-23T07:32:29.000Z | def get_digits(number):
return list(map(int, list(str(number))))
def is_armstrong(number):
digits = get_digits(number)
num_digits = len(digits)
digits_raised_to_num_digits = [digit ** num_digits for digit in digits]
return number == sum(digits_raised_to_num_digits)
| 26.272727 | 75 | 0.726644 | 43 | 289 | 4.581395 | 0.44186 | 0.182741 | 0.152284 | 0.172589 | 0.233503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16955 | 289 | 10 | 76 | 28.9 | 0.820833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 4 |
acd33bb3a125db4375e4b35a419dd956170925c1 | 89 | py | Python | src/__init__.py | MaskDuck/garlic-bot | 51fd5dad6f35d2fc32181592aa2fdaff24dc511f | [
"MIT"
] | 4 | 2022-03-19T16:53:09.000Z | 2022-03-19T23:42:25.000Z | src/__init__.py | vcokltfre/disnake-template | dc7dfdb1c0abcc6eb650444e9675a8aa8575efa6 | [
"MIT"
] | 3 | 2022-03-20T11:58:30.000Z | 2022-03-26T09:16:33.000Z | src/__init__.py | vcokltfre/disnake-template | dc7dfdb1c0abcc6eb650444e9675a8aa8575efa6 | [
"MIT"
] | 2 | 2022-03-21T05:22:47.000Z | 2022-03-28T04:40:11.000Z | from dotenv import load_dotenv
load_dotenv()
from .impl import Bot
__all__ = ("Bot",)
| 11.125 | 30 | 0.730337 | 13 | 89 | 4.538462 | 0.538462 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 7 | 31 | 12.714286 | 0.797297 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 4 |
acd46bade7f1d25f39875139653f985839179344 | 100 | py | Python | phd/__init__.py | MaxHalford/tldks-2020 | e8d1d7de0d4cf47aeaaeef8701d1593cdf8d5e86 | [
"Apache-2.0"
] | null | null | null | phd/__init__.py | MaxHalford/tldks-2020 | e8d1d7de0d4cf47aeaaeef8701d1593cdf8d5e86 | [
"Apache-2.0"
] | 1 | 2021-03-31T20:00:51.000Z | 2021-03-31T20:00:51.000Z | phd/__init__.py | MaxHalford/tldks-2020 | e8d1d7de0d4cf47aeaaeef8701d1593cdf8d5e86 | [
"Apache-2.0"
] | null | null | null | from .bn import BayesianNetwork
from .rbn import RecursiveBayesianNetwork
from .rel import Relation
| 25 | 41 | 0.85 | 12 | 100 | 7.083333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 3 | 42 | 33.333333 | 0.965909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 4 |
acddc91957354724b86cfd5be34f0198c7ab67f2 | 84 | py | Python | imagepy/__main__.py | Pad0y/imagepy | 23f41b64ade02f94b566b0d23a4b6459c1a1578d | [
"BSD-4-Clause"
] | null | null | null | imagepy/__main__.py | Pad0y/imagepy | 23f41b64ade02f94b566b0d23a4b6459c1a1578d | [
"BSD-4-Clause"
] | null | null | null | imagepy/__main__.py | Pad0y/imagepy | 23f41b64ade02f94b566b0d23a4b6459c1a1578d | [
"BSD-4-Clause"
] | null | null | null | import sys
sys.path.append("../")
from imagepy.app import startup
startup.start()
| 12 | 31 | 0.72619 | 12 | 84 | 5.083333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 84 | 6 | 32 | 14 | 0.824324 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
acec0c5ccf611bc1279c28f6e556b2f330be79c5 | 200 | py | Python | recursiveCount.py | ClarkGH/pythonCS | 3ee0002dca0a5eb3e705fc52120f222a62d05e17 | [
"MIT"
] | null | null | null | recursiveCount.py | ClarkGH/pythonCS | 3ee0002dca0a5eb3e705fc52120f222a62d05e17 | [
"MIT"
] | null | null | null | recursiveCount.py | ClarkGH/pythonCS | 3ee0002dca0a5eb3e705fc52120f222a62d05e17 | [
"MIT"
] | null | null | null | numberList = [1,2,3,4,5]
def recursiveCount(numList):
if not numList:
return 0
else:
return 1 + recursiveCount(numList[1::2]) + recursiveCount(numList[2::2])
print recursiveCount( numberList ) | 22.222222 | 74 | 0.72 | 28 | 200 | 5.142857 | 0.535714 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063953 | 0.14 | 200 | 9 | 75 | 22.222222 | 0.773256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4a02c21fa0fceb55a21e7c5660f451deb3e29332 | 125 | py | Python | week3/apps.py | CharityMutonii/award | 4847a61542869851016fb4fb87016ddf558ec2fb | [
"MIT"
] | 2 | 2020-11-02T18:58:18.000Z | 2021-01-06T10:59:23.000Z | week3/apps.py | CharityMutonii/award | 4847a61542869851016fb4fb87016ddf558ec2fb | [
"MIT"
] | null | null | null | week3/apps.py | CharityMutonii/award | 4847a61542869851016fb4fb87016ddf558ec2fb | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class Week3Config(AppConfig):
name = 'week3'
| 17.857143 | 39 | 0.792 | 15 | 125 | 6.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.152 | 125 | 6 | 40 | 20.833333 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4a1dc586bea2fbc2e9ca442424b96944f701c733 | 1,319 | py | Python | flask/test/data/setup_tables.py | spaudanjo/boxtribute | c29311a38721277a07b5e1dbcf36cf12bcd8b727 | [
"Apache-2.0"
] | null | null | null | flask/test/data/setup_tables.py | spaudanjo/boxtribute | c29311a38721277a07b5e1dbcf36cf12bcd8b727 | [
"Apache-2.0"
] | null | null | null | flask/test/data/setup_tables.py | spaudanjo/boxtribute | c29311a38721277a07b5e1dbcf36cf12bcd8b727 | [
"Apache-2.0"
] | null | null | null | from data.base import create_default_bases
from data.box import create_default_box
from data.box_state import create_default_box_state
from data.location import create_default_location
from data.organisation import create_default_organisation
from data.product import create_default_product
from data.product_category im... | 39.969697 | 80 | 0.8605 | 182 | 1,319 | 5.71978 | 0.153846 | 0.349664 | 0.255524 | 0.074928 | 0.211335 | 0.147935 | 0.07877 | 0.07877 | 0.07877 | 0 | 0 | 0 | 0.103108 | 1,319 | 32 | 81 | 41.21875 | 0.879966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | true | 0 | 0.466667 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c57b00dda590f9352bf3e01ae5183ce3d5470865 | 755 | py | Python | ProjectCentricMail/models.py | AadityaDeshpande/Project-centric-mail | 14d7180f5c37f9e2b0104b905e06b8b3ac1695d5 | [
"MIT"
] | 2 | 2018-09-26T07:50:55.000Z | 2019-02-13T14:25:54.000Z | ProjectCentricMail/models.py | AadityaDeshpande/Project-centric-mail | 14d7180f5c37f9e2b0104b905e06b8b3ac1695d5 | [
"MIT"
] | null | null | null | ProjectCentricMail/models.py | AadityaDeshpande/Project-centric-mail | 14d7180f5c37f9e2b0104b905e06b8b3ac1695d5 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class MessageInfo(models.Model):
m_id = models.CharField(max_length=32)
Sender = models.CharField(max_length=2048)
Subject = models.CharField(max_length=128)
Date = models.DateField()
Snippet = models.CharField(max_length=512)
Message_body... | 34.318182 | 66 | 0.762914 | 95 | 755 | 5.926316 | 0.421053 | 0.239787 | 0.287744 | 0.383659 | 0.369449 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038168 | 0.13245 | 755 | 21 | 67 | 35.952381 | 0.821374 | 0.031788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c59ec261be5a6da5d66d544495a47f45ec2a6328 | 333 | py | Python | testcase/PageObjects1/google.py | FleyFawkes/SeleniumPython | 99d013adc79fc126a19b3e1cac5540897f37a11a | [
"MIT"
] | 1 | 2021-08-30T09:57:00.000Z | 2021-08-30T09:57:00.000Z | testcase/PageObjects1/google.py | bg-portfolio/bg-portfolio_pytest_selenium | f3869ac2200bc8d225932432d14081a01d345582 | [
"MIT"
] | null | null | null | testcase/PageObjects1/google.py | bg-portfolio/bg-portfolio_pytest_selenium | f3869ac2200bc8d225932432d14081a01d345582 | [
"MIT"
] | 1 | 2021-08-09T06:39:59.000Z | 2021-08-09T06:39:59.000Z | from selenium.webdriver.common.keys import Keys
class HomePage:
def __init__(self, driver):
self.driver = driver
def type_search(self, text):
return self.driver.find_element_by_name('g').send_keys(text)
def type_enter(self):
return self.driver.find_element_by_name('g').send_keys... | 23.785714 | 74 | 0.705706 | 48 | 333 | 4.604167 | 0.479167 | 0.180995 | 0.144796 | 0.180995 | 0.380091 | 0.380091 | 0.380091 | 0.380091 | 0.380091 | 0.380091 | 0 | 0 | 0.186186 | 333 | 13 | 75 | 25.615385 | 0.815498 | 0 | 0 | 0 | 0 | 0 | 0.006006 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.25 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 4 |
c5c39d6b9fb03292e9f0c616f81f76946445cc4f | 272 | py | Python | telebot/qclient.py | linyuan0213/qb-bot | be8a172d7d72a7e3878f89ba341c3b5f36e3d76c | [
"MIT"
] | 3 | 2021-08-28T18:14:54.000Z | 2022-01-19T18:22:59.000Z | telebot/qclient.py | linyuan0213/qb-bot | be8a172d7d72a7e3878f89ba341c3b5f36e3d76c | [
"MIT"
] | null | null | null | telebot/qclient.py | linyuan0213/qb-bot | be8a172d7d72a7e3878f89ba341c3b5f36e3d76c | [
"MIT"
] | 1 | 2021-07-16T08:37:03.000Z | 2021-07-16T08:37:03.000Z | from config.config import conf
from qb.qb import QClient
host = conf.get_conf()['qbittorrent']['host']
username = conf.get_conf()['qbittorrent']['username']
passwd = conf.get_conf()['qbittorrent']['passwd']
qclient = QClient(host=host, username=username, passwd=passwd)
| 30.222222 | 62 | 0.742647 | 36 | 272 | 5.527778 | 0.305556 | 0.105528 | 0.165829 | 0.331658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 272 | 8 | 63 | 34 | 0.802419 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
c5e075efd6a59c752c11306cd2ee9a2d122d6994 | 312 | py | Python | tools_box/_production/doctype/production_yield_control_form/test_production_yield_control_form.py | maisonarmani/Tools-Box | a2226940afdf0291f031008be1af953d2360acdf | [
"MIT"
] | 4 | 2017-09-25T23:34:08.000Z | 2020-07-17T23:52:26.000Z | tools_box/_production/doctype/production_yield_control_form/test_production_yield_control_form.py | maisonarmani/Tools-Box | a2226940afdf0291f031008be1af953d2360acdf | [
"MIT"
] | null | null | null | tools_box/_production/doctype/production_yield_control_form/test_production_yield_control_form.py | maisonarmani/Tools-Box | a2226940afdf0291f031008be1af953d2360acdf | [
"MIT"
] | 5 | 2017-06-02T01:58:32.000Z | 2022-02-22T16:59:01.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2015, bobzz.zone@gmail.com and Contributors
# See license.txt
from __future__ import unicode_literals
import frappe
import unittest
# test_records = frappe.get_test_records('Production Yield Control Form')
class TestProductionYieldControlForm(unittest.TestCase):
pass
| 24 | 73 | 0.788462 | 39 | 312 | 6.102564 | 0.846154 | 0.092437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.11859 | 312 | 12 | 74 | 26 | 0.847273 | 0.535256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
a83f3dff8c73651dfc543b5ea289a0eba94bd146 | 9,240 | py | Python | gpMgmt/bin/gpload_test/gpload2/TEST_local_sql.py | bradfordb-vmware/gpdb | 5cc23bd1df4133aaa7a80174f5b0950933a83cc2 | [
"PostgreSQL",
"Apache-2.0"
] | 5,535 | 2015-10-28T01:05:40.000Z | 2022-03-30T13:46:53.000Z | gpMgmt/bin/gpload_test/gpload2/TEST_local_sql.py | bradfordb-vmware/gpdb | 5cc23bd1df4133aaa7a80174f5b0950933a83cc2 | [
"PostgreSQL",
"Apache-2.0"
] | 9,369 | 2015-10-28T07:48:01.000Z | 2022-03-31T23:56:42.000Z | gpMgmt/bin/gpload_test/gpload2/TEST_local_sql.py | bradfordb-vmware/gpdb | 5cc23bd1df4133aaa7a80174f5b0950933a83cc2 | [
"PostgreSQL",
"Apache-2.0"
] | 1,800 | 2015-10-28T01:08:25.000Z | 2022-03-29T13:29:36.000Z | #!/usr/bin/env pytest
from TEST_local_base import write_config_file, psql_run, mkpath
from TEST_local_base import prepare_before_test, drop_tables, runfile
from TEST_local_base import runfile, copy_data, run
@prepare_before_test(num=651,times=1)
def test_651_gpload_sql_before_success():
"651 gpload executes `befo... | 51.049724 | 174 | 0.669805 | 1,410 | 9,240 | 4.220567 | 0.092908 | 0.053604 | 0.033608 | 0.036969 | 0.819022 | 0.807427 | 0.722064 | 0.6367 | 0.629642 | 0.602756 | 0 | 0.058412 | 0.195887 | 9,240 | 180 | 175 | 51.333333 | 0.74253 | 0.075216 | 0 | 0.439024 | 0 | 0.04878 | 0.58106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060976 | false | 0 | 0.018293 | 0 | 0.079268 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a84c6ec8b1a98648ce4d26477ec2a44319274e2b | 7,262 | py | Python | selenium-test/tests/test_se.py | silinternational/idp-pw-ui | b90bfff31bc260a217ea12ad58c70dcb443b154f | [
"MIT"
] | 2 | 2017-04-03T14:22:35.000Z | 2020-07-26T17:59:13.000Z | selenium-test/tests/test_se.py | silinternational/idp-pw-ui | b90bfff31bc260a217ea12ad58c70dcb443b154f | [
"MIT"
] | 32 | 2016-06-03T19:54:24.000Z | 2019-07-09T19:15:15.000Z | selenium-test/tests/test_se.py | silinternational/idp-pw-ui | b90bfff31bc260a217ea12ad58c70dcb443b154f | [
"MIT"
] | 6 | 2016-04-11T18:17:03.000Z | 2016-07-27T14:18:59.000Z | from .base_test import *
import time
@on_platforms(browsers)
class SeTest(BaseTest):
def assertTextByTag(self, tag, text):
max_attempts = 60
while (max_attempts > 0):
try:
name = self.driver.find_element_by_tag_name(tag)
assert text in name.text
... | 40.569832 | 86 | 0.641008 | 776 | 7,262 | 5.860825 | 0.171392 | 0.054969 | 0.052331 | 0.069261 | 0.753958 | 0.730871 | 0.708883 | 0.632806 | 0.615215 | 0.5719 | 0 | 0.013428 | 0.241118 | 7,262 | 178 | 87 | 40.797753 | 0.811831 | 0.033049 | 0 | 0.703226 | 0 | 0 | 0.204763 | 0.011978 | 0 | 0 | 0 | 0 | 0.251613 | 1 | 0.083871 | false | 0.070968 | 0.012903 | 0 | 0.129032 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a85bcb25b96b76bab2696a1251b46ec558edcda7 | 80 | py | Python | Pilhas e Listas/05.py | HugoLeda/EstruturaDeDados | ed3b2489b7b1421ca8f8adf580aabaa967cf4a25 | [
"MIT"
] | null | null | null | Pilhas e Listas/05.py | HugoLeda/EstruturaDeDados | ed3b2489b7b1421ca8f8adf580aabaa967cf4a25 | [
"MIT"
] | null | null | null | Pilhas e Listas/05.py | HugoLeda/EstruturaDeDados | ed3b2489b7b1421ca8f8adf580aabaa967cf4a25 | [
"MIT"
] | null | null | null | # 5) Faça um programa que converta um número decimal para binário usando pilhas. | 80 | 80 | 0.8 | 13 | 80 | 4.923077 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.1625 | 80 | 1 | 80 | 80 | 0.940299 | 0.975 | 0 | null | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a86871d7f1776679731d9183bfaa9ab5237cdb3d | 228 | py | Python | clients/serializers.py | cuauhtemoc-amdg/jsgrid-django | b0cf13ebc32d74be53e21090920f870e85418b26 | [
"MIT"
] | null | null | null | clients/serializers.py | cuauhtemoc-amdg/jsgrid-django | b0cf13ebc32d74be53e21090920f870e85418b26 | [
"MIT"
] | null | null | null | clients/serializers.py | cuauhtemoc-amdg/jsgrid-django | b0cf13ebc32d74be53e21090920f870e85418b26 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from clients.models import Client
class ClientSerializer(serializers.ModelSerializer):
class Meta:
model = Client
fields = ('id', 'name', 'age', 'address', 'married')
| 25.333333 | 60 | 0.701754 | 24 | 228 | 6.625 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 228 | 8 | 61 | 28.5 | 0.86413 | 0 | 0 | 0 | 0 | 0 | 0.100877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a872b6ea13362c498e04fa4b9d20204e592c6501 | 992 | py | Python | test/test_advancable_paths.py | techrabbit58/Exercise | 3aee04e032652ab570fe1065eef930d7aaaa0361 | [
"Unlicense"
] | null | null | null | test/test_advancable_paths.py | techrabbit58/Exercise | 3aee04e032652ab570fe1065eef930d7aaaa0361 | [
"Unlicense"
] | 1 | 2021-09-19T18:04:40.000Z | 2021-09-19T18:50:26.000Z | test/test_advancable_paths.py | techrabbit58/Exercise | 3aee04e032652ab570fe1065eef930d7aaaa0361 | [
"Unlicense"
] | null | null | null | """Unit tests for module traversable_paths"""
import pytest
from traversable_paths import *
def test_none_path_gives_type_error():
with pytest.raises(TypeError):
is_traversable_path(None)
def test_string_in_path_gives_type_error():
with pytest.raises(TypeError):
is_traversable_path(['one', ... | 22.545455 | 57 | 0.714718 | 154 | 992 | 4.246753 | 0.311688 | 0.275229 | 0.233945 | 0.140673 | 0.474006 | 0.474006 | 0.324159 | 0.324159 | 0.324159 | 0.324159 | 0 | 0.043636 | 0.168347 | 992 | 43 | 58 | 23.069767 | 0.749091 | 0.058468 | 0 | 0.173913 | 0 | 0 | 0.003233 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.347826 | true | 0 | 0.086957 | 0 | 0.434783 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a8a6c374255310b516f210781bbb135075a2bb9d | 47 | py | Python | code/abc115_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc115_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc115_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | D=int(input())
print("Christmas"+" Eve"*(25-D)) | 23.5 | 32 | 0.617021 | 8 | 47 | 3.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.042553 | 47 | 2 | 32 | 23.5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 1 | 0 | 4 |
a8b7f4d48819f2cd039d89fa855f5c1a7aca22ab | 87 | py | Python | emwiki/symbol/apps.py | seigodev/emwiki | 4b41d2d74c4937cc3ef2093e6478cfb73e943b7f | [
"MIT"
] | 2 | 2021-12-20T16:37:24.000Z | 2021-12-21T00:43:17.000Z | emwiki/symbol/apps.py | seigodev/emwiki | 4b41d2d74c4937cc3ef2093e6478cfb73e943b7f | [
"MIT"
] | 101 | 2019-07-29T07:44:56.000Z | 2022-03-31T04:11:04.000Z | emwiki/symbol/apps.py | seigodev/emwiki | 4b41d2d74c4937cc3ef2093e6478cfb73e943b7f | [
"MIT"
] | 11 | 2019-07-24T02:37:35.000Z | 2021-12-09T05:24:31.000Z | from django.apps import AppConfig
class SymbolConfig(AppConfig):
name = 'symbol'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a8ca11c098fdb6d1df73c8a4bec3728b1ae153ae | 170 | py | Python | day_1/taking_user_input.py | anishLearnsToCode/ml-workshop-wac-2 | 9992acd30f4b74ce2debf0d5ff3d8a1b78b1163f | [
"MIT"
] | 2 | 2021-01-06T14:20:43.000Z | 2021-11-28T15:43:02.000Z | day_1/taking_user_input.py | anishLearnsToCode/ml-workshop-wac-2 | 9992acd30f4b74ce2debf0d5ff3d8a1b78b1163f | [
"MIT"
] | null | null | null | day_1/taking_user_input.py | anishLearnsToCode/ml-workshop-wac-2 | 9992acd30f4b74ce2debf0d5ff3d8a1b78b1163f | [
"MIT"
] | 1 | 2021-01-13T14:08:31.000Z | 2021-01-13T14:08:31.000Z | first_name = input('First Name:\t')
last_name = input('Last Name:\t')
# print(first_name)
# print(last_name)
# string concatenation
print(first_name + ' ' + last_name)
| 18.888889 | 35 | 0.705882 | 25 | 170 | 4.56 | 0.32 | 0.315789 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135294 | 170 | 8 | 36 | 21.25 | 0.77551 | 0.323529 | 0 | 0 | 0 | 0 | 0.234234 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 4 |
763cc2f3a31f18c3e47e23a4c6fe456c380ba921 | 13 | py | Python | demo2.py | wangganglizejun/demo12 | 38c54c9d79e5a54811bdce03e8fd6f3d44e11d22 | [
"MIT"
] | null | null | null | demo2.py | wangganglizejun/demo12 | 38c54c9d79e5a54811bdce03e8fd6f3d44e11d22 | [
"MIT"
] | null | null | null | demo2.py | wangganglizejun/demo12 | 38c54c9d79e5a54811bdce03e8fd6f3d44e11d22 | [
"MIT"
] | null | null | null | number = 23
| 4.333333 | 11 | 0.615385 | 2 | 13 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.307692 | 13 | 2 | 12 | 6.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7661411956af59faa804e7084078d98694904cb9 | 6,290 | py | Python | integration_tests/test_index_datasets_search.py | AMA-AC/datacube-core | 0d2fe0792cb9298cc93d1a97bbb921cfa59d6f2d | [
"Apache-2.0"
] | 2 | 2019-10-24T15:29:54.000Z | 2019-10-24T15:29:58.000Z | integration_tests/test_index_datasets_search.py | AMA-AC/datacube-core | 0d2fe0792cb9298cc93d1a97bbb921cfa59d6f2d | [
"Apache-2.0"
] | 2 | 2021-03-26T00:37:36.000Z | 2021-03-31T20:05:01.000Z | integration_tests/test_index_datasets_search.py | PhilipeRLeal/datacube-core | 81bed714f2e5cb30a2492f1b0cf3397b79141c3a | [
"Apache-2.0"
] | null | null | null | import pytest
from pathlib import PosixPath
from integration_tests.test_full_ingestion import ensure_datasets_are_indexed
@pytest.mark.parametrize('datacube_env_name', ('datacube',), indirect=True)
@pytest.mark.usefixtures('default_metadata_type',
'indexed_ls5_scene_products')
def test_index... | 48.015267 | 114 | 0.539905 | 631 | 6,290 | 5.082409 | 0.204437 | 0.043655 | 0.052385 | 0.06517 | 0.732148 | 0.723729 | 0.723729 | 0.723729 | 0.695666 | 0.678516 | 0 | 0.015194 | 0.372178 | 6,290 | 130 | 115 | 48.384615 | 0.796911 | 0.081876 | 0 | 0.686047 | 0 | 0 | 0.087357 | 0.016325 | 0 | 0 | 0 | 0 | 0.174419 | 1 | 0.069767 | false | 0 | 0.034884 | 0.023256 | 0.151163 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
766e6d653f9d028b2f8227e243e513e9c838fa6c | 508 | py | Python | tests/src/praxxis/notebook/test_search_notebook.py | blimongi/praxxis | 4c2496c89d1d26d01b91896496342ca60f3d15ae | [
"MIT"
] | 9 | 2019-07-31T23:50:16.000Z | 2021-08-21T00:43:44.000Z | tests/src/praxxis/notebook/test_search_notebook.py | blimongi/praxxis | 4c2496c89d1d26d01b91896496342ca60f3d15ae | [
"MIT"
] | 22 | 2019-08-01T00:37:53.000Z | 2020-03-31T05:01:57.000Z | tests/src/praxxis/notebook/test_search_notebook.py | blimongi/praxxis | 4c2496c89d1d26d01b91896496342ca60f3d15ae | [
"MIT"
] | 7 | 2020-01-03T02:28:36.000Z | 2021-05-13T20:59:19.000Z | def test_search_notebook(setup, add_test_library, library_db, current_scene_db, query_start, query_end):
import argparse
from src.praxxis.notebook import search_notebook
from tests.src.praxxis.util import dummy_object
term = dummy_object.make_dummy_search()
notebooks = search_notebook.search_noteb... | 36.285714 | 107 | 0.787402 | 73 | 508 | 5.150685 | 0.479452 | 0.18617 | 0.069149 | 0.111702 | 0.218085 | 0.218085 | 0.218085 | 0.218085 | 0.218085 | 0 | 0 | 0.004598 | 0.143701 | 508 | 14 | 108 | 36.285714 | 0.85977 | 0.09252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.111111 | 1 | 0.222222 | false | 0.111111 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
766fa64a435e43e56b4e19be5a105a1a58fe3654 | 146 | py | Python | hrdc/usage/ordinal.py | fossabot/hrdc | 740794c946e8d9f967318b1dfc18085448ca0f0c | [
"MIT"
] | 13 | 2018-04-07T06:10:00.000Z | 2022-02-18T04:24:32.000Z | hrdc/usage/ordinal.py | fossabot/hrdc | 740794c946e8d9f967318b1dfc18085448ca0f0c | [
"MIT"
] | 3 | 2019-07-29T03:06:07.000Z | 2021-10-10T12:20:19.000Z | hrdc/usage/ordinal.py | fossabot/hrdc | 740794c946e8d9f967318b1dfc18085448ca0f0c | [
"MIT"
] | 4 | 2019-07-29T03:03:24.000Z | 2021-10-10T12:15:25.000Z | from .usage import *
def Ordinal(n):
return Usage("ordinal.Ordinal(%d)" % int(n), 0xa0000 + int(n), CL)
for i in range(128):
Ordinal(i)
| 18.25 | 70 | 0.623288 | 24 | 146 | 3.791667 | 0.666667 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068376 | 0.19863 | 146 | 7 | 71 | 20.857143 | 0.709402 | 0 | 0 | 0 | 0 | 0 | 0.130137 | 0 | 0 | 0 | 0.047945 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
767eeb65f416f734e4163d5d4321a116923ad945 | 225 | py | Python | combs/database/__init__.py | npolizzi/Combs | 0757aa4c3903f511e779be0fb7fd6851aa3dad51 | [
"MIT"
] | 6 | 2020-09-08T08:29:54.000Z | 2020-11-11T05:01:21.000Z | combs/database/__init__.py | npolizzi/Combs | 0757aa4c3903f511e779be0fb7fd6851aa3dad51 | [
"MIT"
] | 1 | 2021-08-23T20:52:11.000Z | 2021-08-23T20:52:11.000Z | combs/database/__init__.py | npolizzi/Combs | 0757aa4c3903f511e779be0fb7fd6851aa3dad51 | [
"MIT"
] | 1 | 2020-11-02T21:06:15.000Z | 2020-11-02T21:06:15.000Z | """
docstring
"""
__all__ = []
from . import stride
__all__.append('stride')
__all__.extend(stride.__all__)
from . import dssp
__all__.append('dssp')
__all__.extend(dssp.__all__)
from . import probe
from . import pdbheader | 15 | 30 | 0.737778 | 28 | 225 | 4.928571 | 0.357143 | 0.289855 | 0.282609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124444 | 225 | 15 | 31 | 15 | 0.700508 | 0.04 | 0 | 0 | 0 | 0 | 0.047847 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.444444 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
76ae74cec1efc3bdec6a0e0eca55467abbd1b956 | 7,841 | py | Python | apysc/__init__.py | simon-ritchie/action-py-script | f502ede320089562d77d13231e85e65b9de64938 | [
"MIT"
] | null | null | null | apysc/__init__.py | simon-ritchie/action-py-script | f502ede320089562d77d13231e85e65b9de64938 | [
"MIT"
] | 16 | 2021-02-13T05:19:16.000Z | 2021-02-23T11:40:18.000Z | apysc/__init__.py | simon-ritchie/action-py-script | f502ede320089562d77d13231e85e65b9de64938 | [
"MIT"
] | null | null | null | from apysc._type.int import Int # isort:skip # noqa
from apysc._type.number import Number # isort:skip # noqa
from apysc._type.number import Number as Float # isort:skip # noqa
from apysc._type.boolean import Boolean # isort:skip # noqa
from apysc._type.string import String # isort:skip # noqa
from apysc._typ... | 74.67619 | 114 | 0.802959 | 1,080 | 7,841 | 5.580556 | 0.160185 | 0.152315 | 0.22001 | 0.284885 | 0.663514 | 0.659864 | 0.525303 | 0.40219 | 0.271777 | 0.182346 | 0 | 0.002055 | 0.131233 | 7,841 | 104 | 115 | 75.394231 | 0.882707 | 0.221018 | 0 | 0 | 0 | 0 | 0.001035 | 0 | 0 | 0 | 0 | 0 | 0.097087 | 1 | 0 | true | 0 | 0.990291 | 0 | 0.990291 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4f4eb8d8d42224bda168690dfe7b91e40e1b7665 | 99 | py | Python | mixingdrinks/data/secret/rand.py | Kodsport/nova-challenge-2018 | e9d5e3d63a79c2191ca55f48438344d8b7719d90 | [
"Apache-2.0"
] | 1 | 2019-09-13T13:38:16.000Z | 2019-09-13T13:38:16.000Z | mixingdrinks/data/secret/rand.py | Kodsport/nova-challenge-2018 | e9d5e3d63a79c2191ca55f48438344d8b7719d90 | [
"Apache-2.0"
] | null | null | null | mixingdrinks/data/secret/rand.py | Kodsport/nova-challenge-2018 | e9d5e3d63a79c2191ca55f48438344d8b7719d90 | [
"Apache-2.0"
] | null | null | null | import random
print(100000, 99999)
for i in range(1,100000):
print(i + 1, random.randint(1,i))
| 19.8 | 37 | 0.686869 | 18 | 99 | 3.777778 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240964 | 0.161616 | 99 | 4 | 38 | 24.75 | 0.578313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
4f62ec8f0096a9cf6f0ceb1476f6e4f48e957d40 | 173 | py | Python | Aula01.py | Gaybrou/V-tor | fbcf3a32b89381720a6f837bcdab613300fff82b | [
"MIT"
] | null | null | null | Aula01.py | Gaybrou/V-tor | fbcf3a32b89381720a6f837bcdab613300fff82b | [
"MIT"
] | null | null | null | Aula01.py | Gaybrou/V-tor | fbcf3a32b89381720a6f837bcdab613300fff82b | [
"MIT"
] | null | null | null | print(' Bem-vindo(a)')
a = str(input('Qual é o seu nome ? '))
print('Parabés {}, você acabou de entrar no mundo python'.format(a)) | 57.666667 | 68 | 0.49711 | 23 | 173 | 3.73913 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.358382 | 173 | 3 | 68 | 57.666667 | 0.774775 | 0 | 0 | 0 | 0 | 0 | 0.715116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
4f7abcf63b276f349e638cb21dece1a96ff86ee3 | 22 | py | Python | cufflinks/version.py | repath/cufflinks | 457b5bba646ded2591b9076bca72d64ac4824092 | [
"MIT"
] | null | null | null | cufflinks/version.py | repath/cufflinks | 457b5bba646ded2591b9076bca72d64ac4824092 | [
"MIT"
] | null | null | null | cufflinks/version.py | repath/cufflinks | 457b5bba646ded2591b9076bca72d64ac4824092 | [
"MIT"
] | null | null | null | __version__ = "0.17.2" | 22 | 22 | 0.681818 | 4 | 22 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.090909 | 22 | 1 | 22 | 22 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4f94db0c0ba03e8d1e7e6958646d0e92c6c27c19 | 259 | py | Python | django_sendgrid_tracking/admin.py | MattFanto/django-sendgrid-tracking | 9438a8146a6522654bbd9e56d98555ab1b5374c6 | [
"MIT"
] | 5 | 2020-08-29T19:00:10.000Z | 2020-10-20T00:11:27.000Z | django_sendgrid_tracking/admin.py | MattFanto/django-sendgrid-tracking | 9438a8146a6522654bbd9e56d98555ab1b5374c6 | [
"MIT"
] | 3 | 2020-08-30T10:32:59.000Z | 2020-12-17T23:08:12.000Z | django_sendgrid_tracking/admin.py | MattFanto/django-sendgrid-tracking | 9438a8146a6522654bbd9e56d98555ab1b5374c6 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from django_sendgrid_tracking.models import MailCategory, SentMail, SendGridNotification
admin.site.register(MailCategory)
admin.site.register(SentMail)
admin.site.register(SendGridNotification)
| 28.777778 | 88 | 0.853282 | 30 | 259 | 7.3 | 0.5 | 0.123288 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07722 | 259 | 8 | 89 | 32.375 | 0.916318 | 0.100386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
96d0ae08fb92cb1f3c57ef6da7582813f36bb41e | 146,599 | py | Python | app/script/genreClusterer.py | VanBronckhorst/VizProject3 | b380cdca4f7dddbfc2297d2bfd3fb8912d9d4362 | [
"Apache-2.0"
] | null | null | null | app/script/genreClusterer.py | VanBronckhorst/VizProject3 | b380cdca4f7dddbfc2297d2bfd3fb8912d9d4362 | [
"Apache-2.0"
] | null | null | null | app/script/genreClusterer.py | VanBronckhorst/VizProject3 | b380cdca4f7dddbfc2297d2bfd3fb8912d9d4362 | [
"Apache-2.0"
] | null | null | null | __author__ = 'Filippo'
from urllib2 import Request, urlopen, URLError
'''
genresSim = {}
print len(allGenres)
keys= ['CFLBFVAPYPMUYTTSR','QVJX27LZP1Q9GYBYV','45PFVVAQZQJD5BIV5','PKT63BEXLXWEDVVKE','ZTFPNPKXWOQAHAG2G'];
request = Request('http://developer.echonest.com/api/v4/genre/similar?api_key='+keys[0]+'&name=har... | 1,423.291262 | 108,233 | 0.647815 | 17,362 | 146,599 | 5.469358 | 0.055178 | 0.012258 | 0.003896 | 0.002527 | 0.347339 | 0.279995 | 0.222106 | 0.178172 | 0.149801 | 0.107215 | 0 | 0.000485 | 0.114803 | 146,599 | 103 | 108,234 | 1,423.291262 | 0.731269 | 0 | 0 | 0.238095 | 0 | 0 | 0.695059 | 0.000605 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.047619 | null | null | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
96d907dfebe3e46b72025fb593dde764217cc9d2 | 337 | py | Python | docs/user_guide/operation/scripts/examples/argus/extraction/jan/EvacPipette1_2.py | ASUPychron/pychron | dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76 | [
"Apache-2.0"
] | 31 | 2016-03-07T02:38:17.000Z | 2022-02-14T18:23:43.000Z | docs/user_guide/operation/scripts/examples/argus/extraction/jan/EvacPipette1_2.py | ASUPychron/pychron | dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76 | [
"Apache-2.0"
] | 1,626 | 2015-01-07T04:52:35.000Z | 2022-03-25T19:15:59.000Z | docs/user_guide/operation/scripts/examples/argus/extraction/jan/EvacPipette1_2.py | UIllinoisHALPychron/pychron | f21b79f4592a9fb9dc9a4cb2e4e943a3885ededc | [
"Apache-2.0"
] | 26 | 2015-05-23T00:10:06.000Z | 2022-03-07T16:51:57.000Z | '''
'''
def main():
info('Evacuate Pipettes 1 and 2')
open(description='Microbone to Turbo')
open(description='Microbone to Minibone')
close(description='Inner Pipette 1')
close(description='Inner Pipette 2')
sleep(1)
open(description='Outer Pipette 1')
open(description='Outer Pipette ... | 24.071429 | 45 | 0.664688 | 42 | 337 | 5.333333 | 0.47619 | 0.267857 | 0.214286 | 0.232143 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03321 | 0.195846 | 337 | 14 | 46 | 24.071429 | 0.793358 | 0 | 0 | 0 | 0 | 0 | 0.375758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | true | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
96dc0dc03caba4521daf2794af017aa3ae215ce6 | 344 | py | Python | src/api/v1/serializers/subregions.py | pyn4rc/improved-engine | b1b9b9fafc0381bd75cdb7829fe747203a097a5d | [
"MIT"
] | null | null | null | src/api/v1/serializers/subregions.py | pyn4rc/improved-engine | b1b9b9fafc0381bd75cdb7829fe747203a097a5d | [
"MIT"
] | 5 | 2021-03-19T08:43:05.000Z | 2022-02-10T10:17:16.000Z | src/api/v1/serializers/subregions.py | pyn4rc/improved-engine | b1b9b9fafc0381bd75cdb7829fe747203a097a5d | [
"MIT"
] | null | null | null | from cities.models import Subregion
from rest_framework import serializers
class SubregionSerializerV1(serializers.ModelSerializer):
class Meta:
model = Subregion
fields = '__all__'
class SubregionListSerializerV1(serializers.ModelSerializer):
class Meta:
model = Subregion
fi... | 22.933333 | 61 | 0.712209 | 31 | 344 | 7.741935 | 0.580645 | 0.216667 | 0.258333 | 0.291667 | 0.458333 | 0.458333 | 0.458333 | 0 | 0 | 0 | 0 | 0.007407 | 0.215116 | 344 | 14 | 62 | 24.571429 | 0.881481 | 0 | 0 | 0.4 | 0 | 0 | 0.037791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
96e7f823c0b4ff4dd9457e3d97239dcfeebfee34 | 232 | py | Python | pyso3/generate.py | hoj201/pyso3 | e6888dba39a54740bff41a8bfec88d85b2285380 | [
"MIT"
] | null | null | null | pyso3/generate.py | hoj201/pyso3 | e6888dba39a54740bff41a8bfec88d85b2285380 | [
"MIT"
] | null | null | null | pyso3/generate.py | hoj201/pyso3 | e6888dba39a54740bff41a8bfec88d85b2285380 | [
"MIT"
] | null | null | null | def generate_random_rot():
""" generate a random rotation wrt the Haar measure """
from pyso3.quaternion import quat2rot
import numpy as np
q = np.random.randn(4)
q = q / np.linalg.norm(q)
return quat2rot(q)
| 29 | 59 | 0.668103 | 35 | 232 | 4.371429 | 0.685714 | 0.039216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.232759 | 232 | 7 | 60 | 33.142857 | 0.837079 | 0.202586 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
96fe76dae41e48973f14a6124e90bb33002166c0 | 50 | py | Python | terraform_builder/specs/filters/__init__.py | mrlesmithjr/terraform-builder | 08ed71333e988682ce50c6ef865fdd8ba27de395 | [
"MIT"
] | 7 | 2020-03-21T20:40:50.000Z | 2022-02-17T17:17:53.000Z | terraform_builder/specs/filters/__init__.py | mrlesmithjr/terraform-builder | 08ed71333e988682ce50c6ef865fdd8ba27de395 | [
"MIT"
] | 39 | 2020-03-24T04:37:21.000Z | 2020-06-17T04:20:22.000Z | terraform_builder/specs/filters/__init__.py | mrlesmithjr/terraform-builder | 08ed71333e988682ce50c6ef865fdd8ba27de395 | [
"MIT"
] | null | null | null | """terraform_builder/specs/filters/__init__.py"""
| 25 | 49 | 0.78 | 6 | 50 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 50 | 1 | 50 | 50 | 0.693878 | 0.86 | 0 | null | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8c1caa5f23ff0ec59050bc02dabbfdeac478fbb3 | 108 | py | Python | tests/cases/run/math2.py | 3e45/minpiler | 993bdb38d1e4709a412bb551f7eb213376bfe7d2 | [
"MIT"
] | null | null | null | tests/cases/run/math2.py | 3e45/minpiler | 993bdb38d1e4709a412bb551f7eb213376bfe7d2 | [
"MIT"
] | 5 | 2022-02-12T19:53:08.000Z | 2022-03-02T04:30:32.000Z | tests/cases/run/math2.py | 3e45/minpiler | 993bdb38d1e4709a412bb551f7eb213376bfe7d2 | [
"MIT"
] | null | null | null | from minpiler.std import M, emulator
M.print(M.math.abs(-6), ' ', M.math.sin(90))
emulator.kill()
# > 6 1
| 15.428571 | 44 | 0.638889 | 20 | 108 | 3.45 | 0.7 | 0.144928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054348 | 0.148148 | 108 | 6 | 45 | 18 | 0.695652 | 0.046296 | 0 | 0 | 0 | 0 | 0.009901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8c2ee6fe9ecb0d3f5945ae8926a8ff5682d67c81 | 6,540 | py | Python | model.py | gouxiangchen/auto-encoder | ca095d4b9e4a856c1ee9f34aec7b852b3bc6154b | [
"Apache-2.0"
] | null | null | null | model.py | gouxiangchen/auto-encoder | ca095d4b9e4a856c1ee9f34aec7b852b3bc6154b | [
"Apache-2.0"
] | null | null | null | model.py | gouxiangchen/auto-encoder | ca095d4b9e4a856c1ee9f34aec7b852b3bc6154b | [
"Apache-2.0"
] | null | null | null | import torch.nn as nn
class MNIST_Encoder(nn.Module):
def __init__(self, input_dim=784, output_dim=5):
super(MNIST_Encoder, self).__init__()
self.fc1 = nn.Linear(input_dim, 1024)
self.relu1 = nn.ReLU()
self.fc2 = nn.Linear(1024, 256)
self.relu2 = nn.ReLU()
self.fc3 ... | 33.19797 | 106 | 0.596789 | 967 | 6,540 | 3.857291 | 0.075491 | 0.0563 | 0.046649 | 0.09008 | 0.804558 | 0.758981 | 0.725469 | 0.669705 | 0.638338 | 0.634584 | 0 | 0.071841 | 0.259327 | 6,540 | 196 | 107 | 33.367347 | 0.698183 | 0.018349 | 0 | 0.619632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09816 | false | 0 | 0.006135 | 0 | 0.202454 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8c3fdeab87b335f3fa9c157724b2906c2c5ab06d | 117 | py | Python | Scrapy_CGZXW/main.py | oxenoxeno/Scrapy_CGZXW_git | 320d00fa023698c1631fa440f18b6a018f0e85c0 | [
"MIT"
] | 1 | 2017-07-07T02:58:21.000Z | 2017-07-07T02:58:21.000Z | Scrapy_CGZXW/main.py | oxenoxeno/Scrapy_CGZXW_git | 320d00fa023698c1631fa440f18b6a018f0e85c0 | [
"MIT"
] | null | null | null | Scrapy_CGZXW/main.py | oxenoxeno/Scrapy_CGZXW_git | 320d00fa023698c1631fa440f18b6a018f0e85c0 | [
"MIT"
] | null | null | null | # coding:utf-8
from scrapy import cmdline
cmdline.execute("scrapy crawl cgzxw".split())
| 3.545455 | 45 | 0.581197 | 13 | 117 | 5.230769 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.324786 | 117 | 32 | 46 | 3.65625 | 0.848101 | 0.102564 | 0 | 0 | 0 | 0 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8c5e2f2c9f47cd7b5c770f9ca2fb89a049916fd5 | 702 | py | Python | promsnaps/jobs/job_base.py | ant31/prombench | 8f676e2654a7477e2bf0b39930fd599f75828612 | [
"Apache-2.0"
] | null | null | null | promsnaps/jobs/job_base.py | ant31/prombench | 8f676e2654a7477e2bf0b39930fd599f75828612 | [
"Apache-2.0"
] | null | null | null | promsnaps/jobs/job_base.py | ant31/prombench | 8f676e2654a7477e2bf0b39930fd599f75828612 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from celery import Task
from celery.utils.log import get_task_logger
logger = get_task_logger(__name__)
class JobBase(Task):
def after_return(self, status, retval, task_id, args, kwargs, einfo):
pass
def on_failure(self, exc, task_id, args, kwargs, einfo):
... | 26 | 74 | 0.683761 | 103 | 702 | 4.359223 | 0.368932 | 0.053452 | 0.089087 | 0.142539 | 0.507795 | 0.445434 | 0.445434 | 0.445434 | 0.378619 | 0.378619 | 0 | 0.003623 | 0.213675 | 702 | 26 | 75 | 27 | 0.809783 | 0 | 0 | 0.222222 | 0 | 0 | 0.022792 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.222222 | 0.166667 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
8c5e7d8ca4ce8675038a489c85e8c26ac5b14261 | 128 | py | Python | maru/grammeme/voice.py | chomechome/maru | dae41e250a64a8b6f6ab9647fd60221d5ede8ab6 | [
"MIT"
] | 47 | 2018-09-25T05:17:13.000Z | 2022-03-31T09:27:15.000Z | maru/grammeme/voice.py | ojomio/maru | 7a44be7f974c0962f3023f5d064a391d2b4f20b1 | [
"MIT"
] | 2 | 2019-11-26T08:48:54.000Z | 2020-09-10T10:00:39.000Z | maru/grammeme/voice.py | ojomio/maru | 7a44be7f974c0962f3023f5d064a391d2b4f20b1 | [
"MIT"
] | 5 | 2019-01-05T17:36:23.000Z | 2021-06-29T08:55:24.000Z | from maru.grammeme.abstract import Grammeme
class Voice(Grammeme):
ACTIVE = 'Act'
MIDDLE = 'Mid'
PASSIVE = 'Pass'
| 16 | 43 | 0.664063 | 15 | 128 | 5.666667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226563 | 128 | 7 | 44 | 18.285714 | 0.858586 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
4fd17dbb9686cabf4513a898cdf1c159b3e8fe1a | 116 | py | Python | src/config/api-server/vnc_cfg_api_server/tests/__init__.py | jnpr-pranav/contrail-controller | 428eee37c28c31830fd764315794e1a6e52720c1 | [
"Apache-2.0"
] | 37 | 2020-09-21T10:42:26.000Z | 2022-01-09T10:16:40.000Z | src/config/api-server/vnc_cfg_api_server/tests/__init__.py | jnpr-pranav/contrail-controller | 428eee37c28c31830fd764315794e1a6e52720c1 | [
"Apache-2.0"
] | null | null | null | src/config/api-server/vnc_cfg_api_server/tests/__init__.py | jnpr-pranav/contrail-controller | 428eee37c28c31830fd764315794e1a6e52720c1 | [
"Apache-2.0"
] | 21 | 2020-08-25T12:48:42.000Z | 2022-03-22T04:32:18.000Z | #
# Copyright (c) 2018 Juniper Networks, Inc. All rights reserved.
#
from gevent import monkey
monkey.patch_all()
| 14.5 | 64 | 0.741379 | 16 | 116 | 5.3125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 0.163793 | 116 | 7 | 65 | 16.571429 | 0.835052 | 0.534483 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4fddb7bbc190f9172907d96985d4f9f63d7c0b06 | 146 | py | Python | __init__.py | malgulam/PyGit | 67976deb9baec597349587e73a8b0bbc1fe81cae | [
"MIT"
] | null | null | null | __init__.py | malgulam/PyGit | 67976deb9baec597349587e73a8b0bbc1fe81cae | [
"MIT"
] | null | null | null | __init__.py | malgulam/PyGit | 67976deb9baec597349587e73a8b0bbc1fe81cae | [
"MIT"
] | 2 | 2020-10-11T18:54:40.000Z | 2021-03-18T04:56:05.000Z | #PyGit __init__.py
from .__version__ import __version__
import sys
sys.path.append('.')
from py_git import pygit
initialise = pygit.initialise()
| 18.25 | 36 | 0.787671 | 20 | 146 | 5.1 | 0.55 | 0.254902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116438 | 146 | 7 | 37 | 20.857143 | 0.790698 | 0.116438 | 0 | 0 | 0 | 0 | 0.007874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8b1f2ac18ce82d2486287e5867bc5e05876d9fd0 | 746 | py | Python | geneticalgorithm/elitism.py | grajekf/wae-2018 | 609423ad5a6431da3cc481aedfe23c5fdd156373 | [
"MIT"
] | null | null | null | geneticalgorithm/elitism.py | grajekf/wae-2018 | 609423ad5a6431da3cc481aedfe23c5fdd156373 | [
"MIT"
] | null | null | null | geneticalgorithm/elitism.py | grajekf/wae-2018 | 609423ad5a6431da3cc481aedfe23c5fdd156373 | [
"MIT"
] | null | null | null | from geneticalgorithm.layer import Layer
from heapq import nlargest
class ElitismLayer(Layer):
def __init__(self, inputs, elitism_count, name = None, save_inputs=False):
super(ElitismLayer, self).__init__(inputs, name, save_inputs)
self.elitism_count = elitism_count
def _dowork(self, popul... | 33.909091 | 109 | 0.646113 | 88 | 746 | 5.238636 | 0.431818 | 0.208243 | 0.138829 | 0.099783 | 0.121475 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003623 | 0.260054 | 746 | 22 | 110 | 33.909091 | 0.831522 | 0 | 0 | 0 | 0 | 0 | 0.034806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8c883e7f551569cddd35555d8bc5a6dc3b43a702 | 101 | py | Python | test.py | junaid1460/me_solving_problems | c81b7263f1ac112f901732d4c4b31022532fc091 | [
"MIT"
] | null | null | null | test.py | junaid1460/me_solving_problems | c81b7263f1ac112f901732d4c4b31022532fc091 | [
"MIT"
] | null | null | null | test.py | junaid1460/me_solving_problems | c81b7263f1ac112f901732d4c4b31022532fc091 | [
"MIT"
] | null | null | null | import os
import time
start = time.time()
input()
end = time.time()
print("duration:", end - start) | 12.625 | 31 | 0.673267 | 15 | 101 | 4.533333 | 0.533333 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 101 | 8 | 31 | 12.625 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 | 0 | 0 | 0 | 4 |
8c8b3fa9b6032ae30384a3be05a9a1d2d6fcab61 | 1,101 | py | Python | cauldron/session/writing/components/__init__.py | DanMayhew/cauldron | ac41481830fc1a363c145f4b58ce785aac054d10 | [
"MIT"
] | null | null | null | cauldron/session/writing/components/__init__.py | DanMayhew/cauldron | ac41481830fc1a363c145f4b58ce785aac054d10 | [
"MIT"
] | null | null | null | cauldron/session/writing/components/__init__.py | DanMayhew/cauldron | ac41481830fc1a363c145f4b58ce785aac054d10 | [
"MIT"
] | null | null | null | from cauldron.session import projects
from cauldron.session.writing.components import bokeh_component
from cauldron.session.writing.components import definitions
from cauldron.session.writing.components import plotly_component
from cauldron.session.writing.components import project_component
from cauldron.session.writi... | 30.583333 | 72 | 0.756585 | 126 | 1,101 | 6.460317 | 0.261905 | 0.117936 | 0.186732 | 0.223587 | 0.443489 | 0.443489 | 0.340295 | 0.152334 | 0 | 0 | 0 | 0 | 0.161671 | 1,101 | 35 | 73 | 31.457143 | 0.881907 | 0.019074 | 0 | 0 | 0 | 0 | 0.029356 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.4 | 0 | 0.7 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8c8e30188658761e49b96a5f778d969c658ad477 | 95 | py | Python | maya/precomp.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | maya/precomp.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | maya/precomp.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null |
tempPrecompFilePath = '/var/folders/8l/_gxk_gxx4xxdrfc27y0fjj0r0000zg/T/tmpelfdzy.precomp'
| 15.833333 | 90 | 0.821053 | 9 | 95 | 8.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0.073684 | 95 | 5 | 91 | 19 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.725275 | 0.725275 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8ca52d532b9617c910a54ee6cd5e741ef337673d | 1,002 | py | Python | graphdata/shared/figsizes.py | whalenpt/graphdata | d169150f860551d2049342ecf310dc1783987266 | [
"MIT"
] | null | null | null | graphdata/shared/figsizes.py | whalenpt/graphdata | d169150f860551d2049342ecf310dc1783987266 | [
"MIT"
] | null | null | null | graphdata/shared/figsizes.py | whalenpt/graphdata | d169150f860551d2049342ecf310dc1783987266 | [
"MIT"
] | null | null | null |
from graphdata import configs
def PlotSize(figsize):
if figsize is not None:
return figsize
return (float(configs._G['PlotWidth']),float(configs._G['PlotHeight']))
def SemilogySize(figsize):
if figsize is not None:
return figsize
return (float(configs._G['SemilogyWidth']),float(con... | 27.081081 | 85 | 0.690619 | 118 | 1,002 | 5.762712 | 0.262712 | 0.211765 | 0.229412 | 0.158824 | 0.502941 | 0.502941 | 0.502941 | 0.502941 | 0.502941 | 0.502941 | 0 | 0 | 0.183633 | 1,002 | 36 | 86 | 27.833333 | 0.831296 | 0 | 0 | 0.48 | 0 | 0 | 0.150301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0.04 | 0 | 0.76 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8cb5cded29c718ad937bdde1113aa2dd71f71a45 | 11 | py | Python | codejail/tests/pylib/module.py | msegado/codejail | 9c4cac1eb19cb05fa03fd163cef348331e00820c | [
"Apache-2.0"
] | 245 | 2015-01-29T16:28:33.000Z | 2022-01-12T17:08:46.000Z | codejail/tests/pylib/module.py | msegado/codejail | 9c4cac1eb19cb05fa03fd163cef348331e00820c | [
"Apache-2.0"
] | 62 | 2015-01-01T13:23:43.000Z | 2022-01-11T22:04:14.000Z | codejail/tests/pylib/module.py | msegado/codejail | 9c4cac1eb19cb05fa03fd163cef348331e00820c | [
"Apache-2.0"
] | 50 | 2015-01-26T14:41:28.000Z | 2021-12-08T15:12:47.000Z | const = 42
| 5.5 | 10 | 0.636364 | 2 | 11 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.272727 | 11 | 1 | 11 | 11 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8cf4730f1b3b6bea899c0dc1e839806daca56bbb | 760 | py | Python | applications/adminportal/models.py | samay-rgb/alumni | f147ca04c3b9e24307321df5f26e9f7db26fefe3 | [
"MIT"
] | 5 | 2019-10-15T14:48:39.000Z | 2022-02-19T05:14:51.000Z | applications/adminportal/models.py | samay-rgb/alumni | f147ca04c3b9e24307321df5f26e9f7db26fefe3 | [
"MIT"
] | 10 | 2019-12-14T06:08:30.000Z | 2022-03-13T16:01:05.000Z | applications/adminportal/models.py | samay-rgb/alumni | f147ca04c3b9e24307321df5f26e9f7db26fefe3 | [
"MIT"
] | 10 | 2019-10-06T13:45:25.000Z | 2022-02-10T17:33:39.000Z | from django.db import models
# Create your models here.
class EmailTemplate(models.Model):
template_id = models.CharField(max_length=50, unique=True)
name = models.CharField(max_length=100)
subject = models.CharField(max_length=500)
body = models.TextField()
def __str__(self):
return self.... | 29.230769 | 62 | 0.734211 | 94 | 760 | 5.702128 | 0.468085 | 0.195896 | 0.235075 | 0.313433 | 0.326493 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031696 | 0.169737 | 760 | 25 | 63 | 30.4 | 0.81775 | 0.031579 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.055556 | 0.111111 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8cff210189f75040b6df3afe7e0aa617b2897936 | 355 | py | Python | migrations/versions/49d44a0167b_initial.py | fnkr/poss | 792369f95eb46227d5a4a78ac7d952f70c3c0799 | [
"MIT"
] | 2 | 2020-11-02T07:04:14.000Z | 2021-06-26T04:15:00.000Z | migrations/versions/49d44a0167b_initial.py | fnkr/poss | 792369f95eb46227d5a4a78ac7d952f70c3c0799 | [
"MIT"
] | 24 | 2019-09-27T20:44:06.000Z | 2021-11-12T04:12:06.000Z | migrations/versions/49d44a0167b_initial.py | fnkr/POSS | 792369f95eb46227d5a4a78ac7d952f70c3c0799 | [
"MIT"
] | 2 | 2019-10-22T22:12:39.000Z | 2020-07-06T12:18:03.000Z | """initial
Revision ID: 49d44a0167b
Revises: None
Create Date: 2014-10-15 11:11:47.705014
"""
# revision identifiers, used by Alembic.
revision = '49d44a0167b'
down_revision = None
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql
def upgrade():
... | 19.722222 | 42 | 0.673239 | 44 | 355 | 5.409091 | 0.704545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 0.247887 | 355 | 18 | 43 | 19.722222 | 0.756554 | 0.369014 | 0 | 0.222222 | 0 | 0 | 0.055838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
5069be990c20582fbcf7047d4e0b766b8145ff4e | 136 | py | Python | cs-2018-08-19-co-je-noveho-v-pythonu-3-7/module-getattr.py | etjernst/blog | 2dcba33cf08be528f18acd242d375aa52e64b30b | [
"BSD-3-Clause"
] | 83 | 2016-04-10T02:26:19.000Z | 2021-09-21T07:30:01.000Z | cs-2018-08-19-co-je-noveho-v-pythonu-3-7/module-getattr.py | etjernst/blog | 2dcba33cf08be528f18acd242d375aa52e64b30b | [
"BSD-3-Clause"
] | 1 | 2016-09-02T09:40:55.000Z | 2016-09-02T09:40:55.000Z | cs-2018-08-19-co-je-noveho-v-pythonu-3-7/module-getattr.py | etjernst/blog | 2dcba33cf08be528f18acd242d375aa52e64b30b | [
"BSD-3-Clause"
] | 61 | 2016-06-08T15:43:43.000Z | 2021-12-26T15:05:04.000Z | #!/usr/bin/env python3
import logging
def __getattr__(attr_name):
logging.info(f'accessed {attr_name}')
globals()[attr_name]
| 15.111111 | 41 | 0.713235 | 19 | 136 | 4.736842 | 0.736842 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.147059 | 136 | 8 | 42 | 17 | 0.767241 | 0.154412 | 0 | 0 | 0 | 0 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 4 |
506f0bab51e19e8b84e8b7989acadd5ab5d365f1 | 168 | py | Python | ignite/metrics/nlp/__init__.py | Juddd/ignite | 00a208a4e7a7783e9ddac18931085fca2f0dec47 | [
"BSD-3-Clause"
] | 4,119 | 2017-11-23T18:10:37.000Z | 2022-03-31T05:31:27.000Z | ignite/metrics/nlp/__init__.py | Juddd/ignite | 00a208a4e7a7783e9ddac18931085fca2f0dec47 | [
"BSD-3-Clause"
] | 1,838 | 2017-11-24T11:19:25.000Z | 2022-03-31T09:08:18.000Z | ignite/metrics/nlp/__init__.py | Juddd/ignite | 00a208a4e7a7783e9ddac18931085fca2f0dec47 | [
"BSD-3-Clause"
] | 691 | 2017-11-24T10:57:33.000Z | 2022-03-29T02:19:44.000Z | from ignite.metrics.nlp.bleu import Bleu
from ignite.metrics.nlp.rouge import Rouge, RougeL, RougeN
__all__ = [
"Bleu",
"Rouge",
"RougeN",
"RougeL",
]
| 16.8 | 58 | 0.654762 | 21 | 168 | 5.047619 | 0.47619 | 0.188679 | 0.320755 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 168 | 9 | 59 | 18.666667 | 0.796992 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
50a89217bdabf3306acc7681f4a1d2f95c6f038b | 92 | py | Python | city_housing_index/init_data/apps.py | Sinope-Nanto/city_house | 73589bb07c415b1deecf8a0618b79d376d5a6e88 | [
"MIT"
] | null | null | null | city_housing_index/init_data/apps.py | Sinope-Nanto/city_house | 73589bb07c415b1deecf8a0618b79d376d5a6e88 | [
"MIT"
] | null | null | null | city_housing_index/init_data/apps.py | Sinope-Nanto/city_house | 73589bb07c415b1deecf8a0618b79d376d5a6e88 | [
"MIT"
] | 1 | 2021-05-05T13:13:56.000Z | 2021-05-05T13:13:56.000Z | from django.apps import AppConfig
class InitDataConfig(AppConfig):
name = 'init_data'
| 15.333333 | 33 | 0.76087 | 11 | 92 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
50b0f2fd7f621be0a1ace3916c585165899d142e | 42 | py | Python | sobol/__init__.py | DavidWalz/sobol | c8db4bc6107bcf59796229c2b6e60a1a648c2f22 | [
"MIT"
] | 4 | 2021-06-02T01:42:18.000Z | 2022-02-25T16:26:20.000Z | sobol/__init__.py | DavidWalz/sobol | c8db4bc6107bcf59796229c2b6e60a1a648c2f22 | [
"MIT"
] | 1 | 2021-08-16T18:07:06.000Z | 2021-08-29T05:16:53.000Z | sobol/__init__.py | DavidWalz/sobol | c8db4bc6107bcf59796229c2b6e60a1a648c2f22 | [
"MIT"
] | 3 | 2020-04-22T18:58:48.000Z | 2021-08-18T12:05:42.000Z | from .sobol import *
__version__ = "0.2"
| 10.5 | 20 | 0.666667 | 6 | 42 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.190476 | 42 | 3 | 21 | 14 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
50b1b3c17d776f07c3f118b5eb534896039ee2f5 | 2,392 | py | Python | comments/queries.py | Vergenter/youtubeGather | d81912784f246b847e54d902a51dde0991fcc1bf | [
"MIT"
] | null | null | null | comments/queries.py | Vergenter/youtubeGather | d81912784f246b847e54d902a51dde0991fcc1bf | [
"MIT"
] | null | null | null | comments/queries.py | Vergenter/youtubeGather | d81912784f246b847e54d902a51dde0991fcc1bf | [
"MIT"
] | null | null | null | from datetime import datetime
from utils.types import CommentId, VideoId
def to_update_videos(update: datetime):
def channel_id_to_update(video_id: VideoId):
return (video_id, update)
return channel_id_to_update
videos_to_update_query = 'select video_id,max(update) from comments.videos_comments wher... | 32.767123 | 200 | 0.760033 | 307 | 2,392 | 5.788274 | 0.224756 | 0.061902 | 0.055149 | 0.0287 | 0.74395 | 0.70906 | 0.691052 | 0.668542 | 0.668542 | 0.617895 | 0 | 0.003848 | 0.130853 | 2,392 | 72 | 201 | 33.222222 | 0.85089 | 0 | 0 | 0.753846 | 0 | 0.015385 | 0.824415 | 0.29097 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030769 | false | 0 | 0.030769 | 0.015385 | 0.092308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0f9c322fd1a44669ac22929d9e7eebd70021f9ba | 27 | py | Python | python/testData/psi/RaiseFrom.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/psi/RaiseFrom.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/psi/RaiseFrom.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | raise SyntaxError from exc
| 13.5 | 26 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
0fa653815b04138a22d0ad5d05ce28c0b06e3c6e | 78 | py | Python | src/testcode/mycode.py | Data-Mastery/Automated-Testing | 8399089f72463955840e070aadac2da013735ebd | [
"MIT"
] | null | null | null | src/testcode/mycode.py | Data-Mastery/Automated-Testing | 8399089f72463955840e070aadac2da013735ebd | [
"MIT"
] | null | null | null | src/testcode/mycode.py | Data-Mastery/Automated-Testing | 8399089f72463955840e070aadac2da013735ebd | [
"MIT"
] | null | null | null | """Functions to do math"""
def do_math(a, b):
print(a)
return a + b
| 11.142857 | 26 | 0.551282 | 14 | 78 | 3 | 0.642857 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282051 | 78 | 6 | 27 | 13 | 0.75 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 4 |
0fdf0f2f9efebb6d659c8aefc4173431aa3acbd3 | 67 | py | Python | error/element/exception.py | wuranxu/webTest | 3bb52bda384becc6e2d1bc770d1beb2480fce916 | [
"Apache-2.0"
] | 53 | 2018-03-04T14:50:08.000Z | 2022-02-15T03:25:18.000Z | error/element/exception.py | wuranxu/webTest | 3bb52bda384becc6e2d1bc770d1beb2480fce916 | [
"Apache-2.0"
] | 6 | 2018-06-22T07:51:23.000Z | 2021-07-03T04:50:27.000Z | error/element/exception.py | wuranxu/webTest | 3bb52bda384becc6e2d1bc770d1beb2480fce916 | [
"Apache-2.0"
] | 40 | 2018-04-24T13:28:30.000Z | 2022-02-28T09:00:23.000Z | """
element 异常处理
"""
class ElementException(Exception):
pass
| 8.375 | 34 | 0.671642 | 6 | 67 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 67 | 7 | 35 | 9.571429 | 0.833333 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
ba09d0391f8f17088ee245d113209e2e645d8495 | 92 | py | Python | _archive/kerokero_shakuri/kerokero_shakuri.py | oatsu-gh/utau-plugins | c742ed09f6dae3b52d2d1679890194add56f0fd9 | [
"Beerware"
] | 1 | 2021-08-31T00:51:48.000Z | 2021-08-31T00:51:48.000Z | _archive/kerokero_shakuri/kerokero_shakuri.py | oatsu-gh/utau_plugins | 82f2145fc044a6028f7f7a88a74689797a4b83df | [
"Beerware"
] | null | null | null | _archive/kerokero_shakuri/kerokero_shakuri.py | oatsu-gh/utau_plugins | 82f2145fc044a6028f7f7a88a74689797a4b83df | [
"Beerware"
] | null | null | null | #!/usr/bin/env python3
# Copyright (c) 2021 oatsu
"""
「か」「あ」のような出現パターンの時にポルタメントを短く設定する。
"""
| 15.333333 | 33 | 0.684783 | 11 | 92 | 5.727273 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 0.108696 | 92 | 5 | 34 | 18.4 | 0.707317 | 0.869565 | 0 | null | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ba23d6157f72a0597119ef718457385a019fae5d | 473 | py | Python | tests/checkio/home/test_xs_and_os_referee.py | zoido/checkio_python_solutions | 858cc7eafbbf55c8506e14cce260d17406fbf09c | [
"MIT"
] | null | null | null | tests/checkio/home/test_xs_and_os_referee.py | zoido/checkio_python_solutions | 858cc7eafbbf55c8506e14cce260d17406fbf09c | [
"MIT"
] | 2 | 2017-10-14T17:44:17.000Z | 2018-04-06T18:53:37.000Z | tests/checkio/home/test_xs_and_os_referee.py | zoido/checkio_python_solutions | 858cc7eafbbf55c8506e14cce260d17406fbf09c | [
"MIT"
] | null | null | null | from checkio.home.xs_and_os_referee import checkio
def test_checkio():
assert checkio(["X.O", "XX.", "XOO"]) == "X", "Xs wins"
assert checkio(["OO.", "XOX", "XOX"]) == "O", "Os wins"
assert checkio(["OOX", "XXO", "OXX"]) == "D", "Draw"
assert checkio(["O.X", "XX.", "XOO"]) == "X", "Xs wins again"
de... | 26.277778 | 65 | 0.541226 | 67 | 473 | 3.701493 | 0.492537 | 0.262097 | 0.048387 | 0.064516 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005222 | 0.190275 | 473 | 17 | 66 | 27.823529 | 0.642298 | 0.05074 | 0 | 0 | 0 | 0 | 0.201342 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.3 | true | 0 | 0.1 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ba2d644748c18bc119bbf15351450a6ab3066b86 | 490 | py | Python | pymbari/sample_data.py | sghowell/pymbari | ded1a73c86b242196b0541b30d26173fefc265f8 | [
"MIT"
] | null | null | null | pymbari/sample_data.py | sghowell/pymbari | ded1a73c86b242196b0541b30d26173fefc265f8 | [
"MIT"
] | null | null | null | pymbari/sample_data.py | sghowell/pymbari | ded1a73c86b242196b0541b30d26173fefc265f8 | [
"MIT"
] | null | null | null | import numpy as np
from dataclasses import dataclass
@dataclass
class SampleData:
__MAX_LEN: int = 1800
temperature: np.ndarray = np.random.rand(__MAX_LEN)
pressure: np.ndarray = np.random.rand(__MAX_LEN)
salinity: np.ndarray = np.random.rand(__MAX_LEN)
conductivity: np.ndarray = np.random.rand(__... | 32.666667 | 60 | 0.7 | 77 | 490 | 4.246753 | 0.363636 | 0.192661 | 0.235474 | 0.207951 | 0.330275 | 0.330275 | 0.330275 | 0 | 0 | 0 | 0 | 0.088235 | 0.167347 | 490 | 14 | 61 | 35 | 0.713235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.916667 | 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 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e84574f9de389fcf3e67f9dab1a0432395e15ac1 | 299 | py | Python | simple/test.py | Jesse3692/flask_note | 419d7671677e8ea0d85ebd5da82267717e10813c | [
"MIT"
] | null | null | null | simple/test.py | Jesse3692/flask_note | 419d7671677e8ea0d85ebd5da82267717e10813c | [
"MIT"
] | null | null | null | simple/test.py | Jesse3692/flask_note | 419d7671677e8ea0d85ebd5da82267717e10813c | [
"MIT"
] | null | null | null | import sys
class Foo:
def __call__(self):
print(self, 'hello')
if __name__ == "__main__":
# print(__name__)
# foo = Foo()
# foo()
print(sys.modules['__main__'])
print(sys.modules['__main__'].__file__)
print(getattr(sys.modules['__main__'], '__file__', None))
| 18.6875 | 61 | 0.608696 | 34 | 299 | 4.294118 | 0.470588 | 0.205479 | 0.287671 | 0.260274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 299 | 15 | 62 | 19.933333 | 0.623932 | 0.110368 | 0 | 0 | 0 | 0 | 0.171756 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.375 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e879ae40c2b11ab646cfd09aa86be464bd345517 | 1,419 | py | Python | data_structures/sorting_algos/mergesort/conftest.py | tyler-fishbone/data-structures-and-algorithms | 29790f2672d3ddb0aadf62725f28180b092f4568 | [
"MIT"
] | null | null | null | data_structures/sorting_algos/mergesort/conftest.py | tyler-fishbone/data-structures-and-algorithms | 29790f2672d3ddb0aadf62725f28180b092f4568 | [
"MIT"
] | 4 | 2018-03-22T19:19:11.000Z | 2018-04-11T00:35:26.000Z | data_structures/sorting_algos/selection/conftest.py | tyler-fishbone/data-structures-and-algorithms | 29790f2672d3ddb0aadf62725f28180b092f4568 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture
def list_ten_values_random_order():
"""Return list of ten values which are in a randomized order."""
return [54, 26, 93, 17, 77, 31, 44, 55, 20, 3]
@pytest.fixture
def list_ten_values_in_order():
"""Return list of ten values which are in ascending order."""
return [3, 1... | 24.465517 | 80 | 0.664553 | 232 | 1,419 | 3.926724 | 0.193966 | 0.144896 | 0.158068 | 0.175631 | 0.697036 | 0.673985 | 0.583974 | 0.498353 | 0.461032 | 0.421515 | 0 | 0.120705 | 0.200141 | 1,419 | 57 | 81 | 24.894737 | 0.681938 | 0.315715 | 0 | 0.321429 | 0 | 0 | 0.009751 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.321429 | true | 0 | 0.035714 | 0 | 0.678571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e8c424bc4b5a1e946cc498c5f88d76977cb778d4 | 111 | py | Python | source_postgres/__init__.py | vedala/source-postgres | a6890c536056aa4ab0d73594854f5484ab589b9d | [
"MIT"
] | null | null | null | source_postgres/__init__.py | vedala/source-postgres | a6890c536056aa4ab0d73594854f5484ab589b9d | [
"MIT"
] | null | null | null | source_postgres/__init__.py | vedala/source-postgres | a6890c536056aa4ab0d73594854f5484ab589b9d | [
"MIT"
] | null | null | null | name = "source_postgres"
from .chomp_source_pg import SourcePostgres
from .sql_construct import construct_sql
| 22.2 | 43 | 0.846847 | 15 | 111 | 5.933333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 111 | 4 | 44 | 27.75 | 0.89899 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2cd4bdb72fe015f650ee423918b2783d7225fe62 | 177 | py | Python | src/shared_funcs.py | alexmbird/hwaas | c751bf075f47783b4ef3165294e0868e991e3f44 | [
"Apache-2.0"
] | null | null | null | src/shared_funcs.py | alexmbird/hwaas | c751bf075f47783b4ef3165294e0868e991e3f44 | [
"Apache-2.0"
] | null | null | null | src/shared_funcs.py | alexmbird/hwaas | c751bf075f47783b4ef3165294e0868e991e3f44 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Functions passed to our remote python-rq workers. Must be in a separate module to __main__."""
def async_print(s):
print(s)
return True
| 16.090909 | 98 | 0.649718 | 27 | 177 | 4.074074 | 0.888889 | 0.109091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.220339 | 177 | 10 | 99 | 17.7 | 0.789855 | 0.649718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.