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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
656ac88a30aabd5ff916cfe1185c9c545d4edbba | 155 | py | Python | config/__init__.py | zhouhongf/spider_pdf | c059f0003b5c8a2dab1e735ff456ba2bc9c799ac | [
"MIT"
] | 1 | 2021-11-27T06:40:45.000Z | 2021-11-27T06:40:45.000Z | config/__init__.py | zhouhongf/spider_pdf | c059f0003b5c8a2dab1e735ff456ba2bc9c799ac | [
"MIT"
] | null | null | null | config/__init__.py | zhouhongf/spider_pdf | c059f0003b5c8a2dab1e735ff456ba2bc9c799ac | [
"MIT"
] | 1 | 2022-01-15T07:48:38.000Z | 2022-01-15T07:48:38.000Z | from .config import Config
from .log import Logger
from .decorators import singleton
from .document import Document
from .bank_dict import BankDict
| 22.142857 | 34 | 0.793548 | 21 | 155 | 5.809524 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174194 | 155 | 6 | 35 | 25.833333 | 0.953125 | 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 | 1 | 0 | 0 | 5 |
65cbc226f1629bb6f2c4af8857c919f931c0bc1b | 96 | py | Python | venv/lib/python3.8/site-packages/yapf/yapflib/pytree_visitor.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/yapf/yapflib/pytree_visitor.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/yapf/yapflib/pytree_visitor.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/ab/31/fe/df84ea3c0efbe98408895bfadd27d84653aec49887db1df29cbc6c8661 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.354167 | 0 | 96 | 1 | 96 | 96 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
65cce00ab531c32d8cd37e967c83f82595017722 | 434 | py | Python | src/euler_python_package/euler_python/medium/p454.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p454.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p454.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem454():
"""
In the following equation x, y, and n are positive integers.
1 1 1
─ + ─ = ─
x y n
For a limit L we define F(L) as the number of solutions which satisfy x... | 22.842105 | 80 | 0.384793 | 57 | 434 | 3 | 0.701754 | 0.035088 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105 | 0.539171 | 434 | 18 | 81 | 24.111111 | 0.73 | 0.817972 | 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 | 1 | 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 | 5 |
65ce7c234d26a3ed41952a49375f5d697175ae99 | 79 | py | Python | framework/CodeInterfaces/AccelerateCFD/OpenFoamPP/__init__.py | FlanFlanagan/raven | bd7fca18af94376a28e2144ba1da72c01c8d343c | [
"Apache-2.0"
] | 159 | 2017-03-24T21:07:06.000Z | 2022-03-20T13:44:40.000Z | framework/CodeInterfaces/AccelerateCFD/OpenFoamPP/__init__.py | FlanFlanagan/raven | bd7fca18af94376a28e2144ba1da72c01c8d343c | [
"Apache-2.0"
] | 1,667 | 2017-03-27T14:41:22.000Z | 2022-03-31T19:50:06.000Z | framework/CodeInterfaces/AccelerateCFD/OpenFoamPP/__init__.py | wanghy-anl/raven | ef1372364a2776385931763f2b28fdf2930c77b9 | [
"Apache-2.0"
] | 95 | 2017-03-24T21:05:03.000Z | 2022-03-08T17:30:22.000Z | from .fieldParser import parseInternalField, parseBoundaryField, parseFieldAll
| 39.5 | 78 | 0.886076 | 6 | 79 | 11.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 79 | 1 | 79 | 79 | 0.958904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
02b114ff089739282bc888de3fd217feeb38299d | 113 | py | Python | contest/abc127/A.py | mola1129/atcoder | 1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db | [
"MIT"
] | null | null | null | contest/abc127/A.py | mola1129/atcoder | 1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db | [
"MIT"
] | null | null | null | contest/abc127/A.py | mola1129/atcoder | 1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db | [
"MIT"
] | null | null | null | A,B = map(int,input().split())
if A >= 13:
print(B)
elif A >= 6:
print(B//2)
else:
print(0)
| 12.555556 | 31 | 0.460177 | 20 | 113 | 2.6 | 0.7 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064935 | 0.318584 | 113 | 8 | 32 | 14.125 | 0.61039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
02c525f46fcfaf62c2c6ea17596325c98454758e | 174 | py | Python | build/win/start.py | patrizia21/DemonEditor | 8d485a999360d2d38300b381af63ee8264719bb8 | [
"MIT"
] | 1 | 2020-09-07T17:54:49.000Z | 2020-09-07T17:54:49.000Z | build/win/start.py | patrizia21/DemonEditor | 8d485a999360d2d38300b381af63ee8264719bb8 | [
"MIT"
] | 1 | 2021-11-09T15:21:47.000Z | 2021-11-09T15:21:47.000Z | build/win/start.py | patrizia21/DemonEditor | 8d485a999360d2d38300b381af63ee8264719bb8 | [
"MIT"
] | 1 | 2021-06-13T11:21:42.000Z | 2021-06-13T11:21:42.000Z | #!/usr/bin/env python3
if __name__ == "__main__":
from multiprocessing import freeze_support
from app.ui.main import start_app
freeze_support()
start_app()
| 19.333333 | 46 | 0.712644 | 23 | 174 | 4.869565 | 0.652174 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 0.195402 | 174 | 8 | 47 | 21.75 | 0.792857 | 0.12069 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
02e6c93b9569a409d0365b26768c7bd39a8d4ac9 | 115 | py | Python | papermerge/__init__.py | hactar/papermerge | 4bc8eed55f2dea0731770a9ea70722cb7d3de81c | [
"Apache-2.0"
] | null | null | null | papermerge/__init__.py | hactar/papermerge | 4bc8eed55f2dea0731770a9ea70722cb7d3de81c | [
"Apache-2.0"
] | null | null | null | papermerge/__init__.py | hactar/papermerge | 4bc8eed55f2dea0731770a9ea70722cb7d3de81c | [
"Apache-2.0"
] | null | null | null | from papermerge.core.utils import get_version
VERSION = (1, 4, 2, 'alpha', 0)
__version__ = get_version(VERSION)
| 19.166667 | 45 | 0.73913 | 17 | 115 | 4.647059 | 0.705882 | 0.253165 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0.13913 | 115 | 5 | 46 | 23 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
02f4fd32a60dc113e9174b2a34e7228d8b327a7d | 26 | py | Python | python-cookie-cutter/templates/setup_env.py | sirmax666/python-cookie-cutter | 22f6dd50736dec59ec3266ff31c4d44a0787c14c | [
"MIT"
] | null | null | null | python-cookie-cutter/templates/setup_env.py | sirmax666/python-cookie-cutter | 22f6dd50736dec59ec3266ff31c4d44a0787c14c | [
"MIT"
] | null | null | null | python-cookie-cutter/templates/setup_env.py | sirmax666/python-cookie-cutter | 22f6dd50736dec59ec3266ff31c4d44a0787c14c | [
"MIT"
] | null | null | null | # Setup environment script | 26 | 26 | 0.846154 | 3 | 26 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0.923077 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
f326da86b0c93b5f7486fe8d3afa7337f989d918 | 225 | py | Python | pydriver/evaluation/__init__.py | lpltk/pydriver | 37f3d2bd288112e0e92ee3e525b5c042f3cea349 | [
"MIT"
] | 43 | 2015-09-01T16:09:20.000Z | 2020-09-02T02:15:21.000Z | pydriver/evaluation/__init__.py | eborboihuc/pydriver | 37f3d2bd288112e0e92ee3e525b5c042f3cea349 | [
"MIT"
] | 10 | 2016-04-04T08:17:45.000Z | 2020-07-28T07:12:26.000Z | pydriver/evaluation/__init__.py | eborboihuc/pydriver | 37f3d2bd288112e0e92ee3e525b5c042f3cea349 | [
"MIT"
] | 10 | 2016-05-18T18:36:32.000Z | 2018-11-24T10:58:08.000Z | # -*- coding: utf-8 -*-
"""
Module for evaluating detection performance.
.. automodule:: pydriver.evaluation.evaluation
"""
from __future__ import absolute_import, division
from .evaluation import Evaluator, EvaluatorPoint
| 22.5 | 49 | 0.768889 | 23 | 225 | 7.304348 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005051 | 0.12 | 225 | 9 | 50 | 25 | 0.843434 | 0.511111 | 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 | 1 | 0 | 0 | 5 |
b824e3731c637269ec76a50755642be934e808f5 | 100 | py | Python | Python/sqlalchemy-core/check_version.py | egustafson/sandbox | 9804e966347b33558b0497a04edb1a591d2d7773 | [
"Apache-2.0"
] | 2 | 2019-09-27T21:25:26.000Z | 2019-12-29T11:26:54.000Z | Python/sqlalchemy-core/check_version.py | egustafson/sandbox | 9804e966347b33558b0497a04edb1a591d2d7773 | [
"Apache-2.0"
] | 7 | 2020-08-11T17:32:14.000Z | 2020-08-11T17:32:39.000Z | Python/sqlalchemy-core/check_version.py | egustafson/sandbox | 9804e966347b33558b0497a04edb1a591d2d7773 | [
"Apache-2.0"
] | 2 | 2016-07-18T10:55:50.000Z | 2020-08-19T01:46:08.000Z | # -*- coding: utf-8 -*-
#
import sqlalchemy
print("SQLAlchemy v{}".format(sqlalchemy.__version__))
| 16.666667 | 54 | 0.69 | 11 | 100 | 5.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.11 | 100 | 5 | 55 | 20 | 0.719101 | 0.21 | 0 | 0 | 0 | 0 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
b83a84220bad6e46620eb1679cdb218c83a406a1 | 74 | py | Python | scripts/test/test/basic.py | cedar101/quepy-ko | 532744e50d9754befeea2eff6a261fa9cd095473 | [
"BSD-3-Clause"
] | null | null | null | scripts/test/test/basic.py | cedar101/quepy-ko | 532744e50d9754befeea2eff6a261fa9cd095473 | [
"BSD-3-Clause"
] | null | null | null | scripts/test/test/basic.py | cedar101/quepy-ko | 532744e50d9754befeea2eff6a261fa9cd095473 | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
"""
Basic queries for test quepy.
"""
from dsl import *
| 9.25 | 29 | 0.635135 | 11 | 74 | 4.272727 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.216216 | 74 | 7 | 30 | 10.571429 | 0.793103 | 0.594595 | 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 | 1 | 0 | 0 | 5 |
b214eef77185bfaf227f32aa7ef962bcf1ecbf1b | 121 | py | Python | main.py | tvarney/GameBreaker | 9b6a2840635caf2f3027ff2fcaca4120e0e90f99 | [
"MIT"
] | null | null | null | main.py | tvarney/GameBreaker | 9b6a2840635caf2f3027ff2fcaca4120e0e90f99 | [
"MIT"
] | null | null | null | main.py | tvarney/GameBreaker | 9b6a2840635caf2f3027ff2fcaca4120e0e90f99 | [
"MIT"
] | null | null | null |
import gamebreaker.image
import gamebreaker.neopets.buzzer as buzzer
if __name__ == "__main__":
buzzer.run()
| 17.285714 | 44 | 0.719008 | 14 | 121 | 5.642857 | 0.714286 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190083 | 121 | 6 | 45 | 20.166667 | 0.806122 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b222c30c75bd4a4b50ab84313ce7232525a32394 | 108,961 | py | Python | python/protobufs/services/registry/responses_pb2.py | getcircle/protobuf-registry | 20ad8463b7ac6e2cf279c08bcd3e953993fe9153 | [
"MIT"
] | null | null | null | python/protobufs/services/registry/responses_pb2.py | getcircle/protobuf-registry | 20ad8463b7ac6e2cf279c08bcd3e953993fe9153 | [
"MIT"
] | null | null | null | python/protobufs/services/registry/responses_pb2.py | getcircle/protobuf-registry | 20ad8463b7ac6e2cf279c08bcd3e953993fe9153 | [
"MIT"
] | null | null | null | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: protobufs/services/registry/responses.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _sy... | 80.295505 | 18,970 | 0.840842 | 14,768 | 108,961 | 5.711742 | 0.038123 | 0.053775 | 0.066863 | 0.076893 | 0.882894 | 0.837583 | 0.743026 | 0.662197 | 0.603632 | 0.583135 | 0 | 0.039191 | 0.068915 | 108,961 | 1,356 | 18,971 | 80.35472 | 0.792247 | 0.009765 | 0 | 0.531323 | 1 | 0.000773 | 0.270949 | 0.235734 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.07734 | 0 | 0.07734 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b22312ac1d4f8b5af20ce5813049059576bb0f25 | 191 | py | Python | EasyVision/vision/__init__.py | foxis/EasyVision | ffb2ce1a93fdace39c6bcc13c8ae518cec76919e | [
"MIT",
"BSD-3-Clause"
] | 7 | 2018-12-27T07:45:31.000Z | 2021-06-17T03:49:15.000Z | EasyVision/vision/__init__.py | itohio/EasyVision | de6a4bb9160cd08278ae9c5738497132a4cd3202 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | EasyVision/vision/__init__.py | itohio/EasyVision | de6a4bb9160cd08278ae9c5738497132a4cd3202 | [
"MIT",
"BSD-3-Clause"
] | 3 | 2019-08-21T03:36:56.000Z | 2021-10-08T16:12:53.000Z | # -*- coding: utf-8 -*-
from .base import Image, Frame
from .exceptions import *
from .videocapture import VideoCapture
from .pyrocapture import PyroCapture
from .images import ImagesReader
| 23.875 | 38 | 0.774869 | 23 | 191 | 6.434783 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0.141361 | 191 | 7 | 39 | 27.285714 | 0.896341 | 0.109948 | 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 | 1 | 0 | 0 | 5 |
b27a15fdbc94027b89fe9a0b6e6adc7f64315ac4 | 283 | py | Python | bitmovin/resources/models/manifests/hls/__init__.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | null | null | null | bitmovin/resources/models/manifests/hls/__init__.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | null | null | null | bitmovin/resources/models/manifests/hls/__init__.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | null | null | null | from .hls_manifest import HlsManifest
from .audio_media import AudioMedia
from .video_media import VideoMedia
from .subtitles_media import SubtitlesMedia
from .closed_captions_media import ClosedCaptionsMedia
from .variant_stream import VariantStream
from .vtt_media import VttMedia
| 35.375 | 54 | 0.876325 | 36 | 283 | 6.666667 | 0.555556 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09894 | 283 | 7 | 55 | 40.428571 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b282781cc71135bd1e5d663cffe572f229a6487b | 69 | py | Python | bayom_e/__init__.py | dkauf42/bayota | 104ba91746231be10419390a9d7ed8f2593a21bc | [
"BSD-3-Clause"
] | 1 | 2021-07-23T18:09:55.000Z | 2021-07-23T18:09:55.000Z | bayom_e/__init__.py | dkauf42/bayota | 104ba91746231be10419390a9d7ed8f2593a21bc | [
"BSD-3-Clause"
] | null | null | null | bayom_e/__init__.py | dkauf42/bayota | 104ba91746231be10419390a9d7ed8f2593a21bc | [
"BSD-3-Clause"
] | null | null | null | from bayom_e import data_handling, model_handling, solution_handling
| 34.5 | 68 | 0.884058 | 10 | 69 | 5.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 69 | 1 | 69 | 69 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b2a657989cf03f166fa0efe4ba7fd64618b90080 | 166 | py | Python | app_template/recommender/movierecommender/views.py | ibm-developer-skills-network/oroir-Build-a-Personal-Movie-Recommender-with-Django | fbc681cdea067c0cee91c158c632f83cff9db936 | [
"Apache-2.0"
] | null | null | null | app_template/recommender/movierecommender/views.py | ibm-developer-skills-network/oroir-Build-a-Personal-Movie-Recommender-with-Django | fbc681cdea067c0cee91c158c632f83cff9db936 | [
"Apache-2.0"
] | null | null | null | app_template/recommender/movierecommender/views.py | ibm-developer-skills-network/oroir-Build-a-Personal-Movie-Recommender-with-Django | fbc681cdea067c0cee91c158c632f83cff9db936 | [
"Apache-2.0"
] | null | null | null | from . import views
from .models import Movie
from django.shortcuts import render
# HINT: Create a view to provide movie recommendations list for the HTML template
| 23.714286 | 81 | 0.801205 | 25 | 166 | 5.32 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 166 | 6 | 82 | 27.666667 | 0.963768 | 0.475904 | 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 | 1 | 0 | 0 | 5 |
a249ff12f6889cf8a446390177bde9c79ea29f9f | 63 | py | Python | mlib/requests/__init__.py | tmunzer/Mist_library | 5d44325dc5b59483d9d6803f31fe1568762b04ca | [
"MIT"
] | 13 | 2020-04-21T21:11:56.000Z | 2021-07-15T21:42:41.000Z | mlib/requests/__init__.py | tmunzer/mist_library | 812828a6486f59850a12dda4f81dbfd76929ed6b | [
"MIT"
] | null | null | null | mlib/requests/__init__.py | tmunzer/mist_library | 812828a6486f59850a12dda4f81dbfd76929ed6b | [
"MIT"
] | 2 | 2020-06-18T20:07:51.000Z | 2020-08-13T16:43:32.000Z | from . import orgs
from . import sites
from .route import route | 21 | 24 | 0.777778 | 10 | 63 | 4.9 | 0.5 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 3 | 24 | 21 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a24a7261491e1b966181407da147f2eb3bc5356a | 1,271 | py | Python | tests/test_rtd_poetry.py | dbrnz/rtd-poetry | b4c834a43201639765b595aeb1b6b5645d22f192 | [
"MIT"
] | 1 | 2019-05-05T18:28:41.000Z | 2019-05-05T18:28:41.000Z | tests/test_rtd_poetry.py | dbrnz/rtd-poetry | b4c834a43201639765b595aeb1b6b5645d22f192 | [
"MIT"
] | 3 | 2019-05-05T18:16:24.000Z | 2021-01-09T16:17:59.000Z | tests/test_rtd_poetry.py | dbrnz/rtd-poetry | b4c834a43201639765b595aeb1b6b5645d22f192 | [
"MIT"
] | 2 | 2020-07-06T17:33:49.000Z | 2021-07-06T03:56:29.000Z | import os
import subprocess
from pathlib import Path
from . import chdir
def test_does_not_install_dev_requirements_normally(virtualenv):
result = virtualenv(['-m', 'pip', 'install', '--upgrade', 'pip'])
assert result.returncode == 0
env = os.environ.copy()
env.pop('READTHEDOCS', None)
with chd... | 31 | 72 | 0.645948 | 155 | 1,271 | 5.154839 | 0.309677 | 0.12015 | 0.12766 | 0.150188 | 0.750939 | 0.750939 | 0.750939 | 0.750939 | 0.750939 | 0.750939 | 0 | 0.007729 | 0.185681 | 1,271 | 40 | 73 | 31.775 | 0.764251 | 0 | 0 | 0.666667 | 0 | 0 | 0.132179 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.066667 | false | 0 | 0.133333 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a28c7acfd5412834f2e721677d536976a68e97d6 | 176 | py | Python | cgkit/scaffolds/game.py | 50m-regent/CGKit | 077062e78518596b9dcf21681bdb58f93bdef23c | [
"MIT"
] | null | null | null | cgkit/scaffolds/game.py | 50m-regent/CGKit | 077062e78518596b9dcf21681bdb58f93bdef23c | [
"MIT"
] | 5 | 2020-06-19T06:31:27.000Z | 2020-06-21T04:25:50.000Z | cgkit/scaffolds/game.py | 50m-regent/CGKit | 077062e78518596b9dcf21681bdb58f93bdef23c | [
"MIT"
] | null | null | null | from random import randint
class Game:
def __init__(self, players=[]):
self.players = players
def init(self):
self.turn = randint(0, len(players) - 1) | 22 | 48 | 0.625 | 23 | 176 | 4.608696 | 0.608696 | 0.132075 | 0.207547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.255682 | 176 | 8 | 48 | 22 | 0.793893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
a2bef5fb752d6b1fb08c41b394f289ca3d9c2bf1 | 383 | py | Python | JanggiGame/Engine/helpers/__init__.py | MohamedAl-Hussein/janggi-game | 0664a408563b824c0b665d755ff9b232b6f24644 | [
"MIT"
] | null | null | null | JanggiGame/Engine/helpers/__init__.py | MohamedAl-Hussein/janggi-game | 0664a408563b824c0b665d755ff9b232b6f24644 | [
"MIT"
] | null | null | null | JanggiGame/Engine/helpers/__init__.py | MohamedAl-Hussein/janggi-game | 0664a408563b824c0b665d755ff9b232b6f24644 | [
"MIT"
] | null | null | null | from .command import MoveCommand
from .command_manager import CommandManager
from .obstacle_detection_strategy import IObstacleDetectionStrategy, IllegalDestinationStrategy, \
IllegalPathStrategy, InsidePalaceStrategy
from .path_generation_strategy import IPathGenerationStrategy, BranchPathStrategy, LinearDiagonalP... | 47.875 | 112 | 0.872063 | 31 | 383 | 10.612903 | 0.645161 | 0.066869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093995 | 383 | 7 | 113 | 54.714286 | 0.948127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a2c1e57e1ffc69499c9be4cf8e41edc7eea09fa7 | 62 | py | Python | tests/__init__.py | bilts/harmony-service-lib-py | 6eb358539adab9510d75158737de2b55fba85f91 | [
"Apache-2.0"
] | 5 | 2021-03-25T23:27:24.000Z | 2022-01-10T01:23:41.000Z | tests/__init__.py | bilts/harmony-service-lib-py | 6eb358539adab9510d75158737de2b55fba85f91 | [
"Apache-2.0"
] | 4 | 2021-03-01T21:23:22.000Z | 2021-07-19T15:38:59.000Z | tests/__init__.py | bilts/harmony-service-lib-py | 6eb358539adab9510d75158737de2b55fba85f91 | [
"Apache-2.0"
] | 4 | 2021-02-25T19:55:36.000Z | 2021-10-01T18:35:09.000Z | import os
os.environ['ENV'] = os.environ.get('ENV') or 'test'
| 20.666667 | 51 | 0.66129 | 11 | 62 | 3.727273 | 0.636364 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 62 | 2 | 52 | 31 | 0.745455 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a2c43ede13bcf8aa1ce8292df9f5e1df575e77b6 | 41,594 | py | Python | model.py | machelreid/vcdm | a9e281229747d2fe052f741a44f2b2510482c29b | [
"MIT"
] | 10 | 2020-10-24T09:18:02.000Z | 2022-02-14T22:55:45.000Z | model.py | machelreid/vcdm | a9e281229747d2fe052f741a44f2b2510482c29b | [
"MIT"
] | null | null | null | model.py | machelreid/vcdm | a9e281229747d2fe052f741a44f2b2510482c29b | [
"MIT"
] | 3 | 2021-02-03T13:57:48.000Z | 2022-03-23T16:06:58.000Z | import transformers
import torch
import torch.nn as nn
import torch.nn.functional as F
from allennlp.modules.span_extractors import (
EndpointSpanExtractor,
SelfAttentiveSpanExtractor,
)
from allennlp.modules.scalar_mix import ScalarMix
from utils import sequence_mask, find_subtensor, batched_span_select
from d... | 36.012121 | 123 | 0.577848 | 4,675 | 41,594 | 4.850053 | 0.072727 | 0.035547 | 0.017289 | 0.015877 | 0.759196 | 0.737938 | 0.716503 | 0.705125 | 0.70045 | 0.682147 | 0 | 0.008021 | 0.334567 | 41,594 | 1,154 | 124 | 36.043328 | 0.811186 | 0.064769 | 0 | 0.619147 | 0 | 0 | 0.013519 | 0 | 0 | 0 | 0 | 0.000867 | 0 | 1 | 0.023933 | false | 0 | 0.016649 | 0 | 0.063476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a2d8a3567aeb5c5cd27f8a611172d3a45939be44 | 371 | py | Python | terra_sdk/core/distribution/__init__.py | CryptologyExchange/terra.py | 8710ebf7c8129ec4f14e4be2e3b5b6bb77ea03e5 | [
"MIT"
] | null | null | null | terra_sdk/core/distribution/__init__.py | CryptologyExchange/terra.py | 8710ebf7c8129ec4f14e4be2e3b5b6bb77ea03e5 | [
"MIT"
] | null | null | null | terra_sdk/core/distribution/__init__.py | CryptologyExchange/terra.py | 8710ebf7c8129ec4f14e4be2e3b5b6bb77ea03e5 | [
"MIT"
] | null | null | null | from .msgs import (MsgFundCommunityPool, MsgSetWithdrawAddress,
MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission)
from .proposals import CommunityPoolSpendProposal
__all__ = [
"MsgFundCommunityPool",
"MsgSetWithdrawAddress",
"MsgWithdrawDelegatorReward",
"MsgWithdrawValidat... | 30.916667 | 78 | 0.770889 | 17 | 371 | 16.588235 | 0.588235 | 0.29078 | 0.475177 | 0.687943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161725 | 371 | 11 | 79 | 33.727273 | 0.906752 | 0 | 0 | 0 | 0 | 0 | 0.331536 | 0.277628 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 1 | 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 | 5 |
a2ebcdd98b759e0c3016b3af6fbb1f763d50ed83 | 62 | py | Python | regexp/__init__.py | Julien00859/regexp | 4c08e643b7cf9c5db2919b6d96d864d4501a6560 | [
"MIT"
] | 7 | 2019-06-12T19:48:07.000Z | 2021-11-18T04:33:18.000Z | regexp/__init__.py | Julien00859/regexp | 4c08e643b7cf9c5db2919b6d96d864d4501a6560 | [
"MIT"
] | 1 | 2020-06-27T02:47:33.000Z | 2020-06-30T09:43:24.000Z | regexp/__init__.py | Julien00859/regexp | 4c08e643b7cf9c5db2919b6d96d864d4501a6560 | [
"MIT"
] | 1 | 2020-01-09T23:34:25.000Z | 2020-01-09T23:34:25.000Z | from .compile import compile
from .pattern import IGNORE_CASE
| 20.666667 | 32 | 0.83871 | 9 | 62 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 33 | 31 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0c47f12f1458d181a2e6a191cd6f10031bf3de8e | 59 | py | Python | python/__init__.py | RECCAP2-ocean/scripts | a8af6552f025d0b698787de2e4abf0a76559aab2 | [
"MIT"
] | null | null | null | python/__init__.py | RECCAP2-ocean/scripts | a8af6552f025d0b698787de2e4abf0a76559aab2 | [
"MIT"
] | 1 | 2022-03-18T16:58:40.000Z | 2022-03-18T16:58:40.000Z | python/__init__.py | RECCAP2-ocean/scripts | a8af6552f025d0b698787de2e4abf0a76559aab2 | [
"MIT"
] | 2 | 2022-03-04T09:03:46.000Z | 2022-03-11T10:07:34.000Z | from . import viz
from . import data
from . import analysis | 19.666667 | 22 | 0.762712 | 9 | 59 | 5 | 0.555556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 59 | 3 | 22 | 19.666667 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0c4ac05bcd71ed3c0843c06a8ace1b0645f98c69 | 127 | py | Python | classification/loader/__init__.py | GT-RIPL/UNO-IC | 6a95f2c6bc52ad80bfb1da53fd046a3d4db310d0 | [
"MIT"
] | 24 | 2020-11-11T03:49:50.000Z | 2022-03-21T04:23:32.000Z | classification/loader/__init__.py | GT-RIPL/UNO-IC | 6a95f2c6bc52ad80bfb1da53fd046a3d4db310d0 | [
"MIT"
] | 1 | 2021-07-15T02:46:34.000Z | 2021-07-15T02:46:34.000Z | classification/loader/__init__.py | GT-RIPL/UNO-IC | 6a95f2c6bc52ad80bfb1da53fd046a3d4db310d0 | [
"MIT"
] | 2 | 2021-02-04T01:28:19.000Z | 2021-02-25T09:20:27.000Z | from loader.LT_loader import LT_Loader
def get_loader(name,**kargs):
return {
"place365": LT_Loader,
}[name]
| 15.875 | 38 | 0.653543 | 17 | 127 | 4.647059 | 0.588235 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030612 | 0.228346 | 127 | 7 | 39 | 18.142857 | 0.77551 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
a75b42855b632e050325c9d3517891cb094d086f | 46 | py | Python | pynma/__init__.py | AndreasDerFuchs/pynma | 668634f4d37107efa27fe23e3b281fe3e3402e18 | [
"MIT",
"Unlicense"
] | 13 | 2015-03-12T10:26:57.000Z | 2021-08-03T15:34:42.000Z | pynma/__init__.py | AndreasDerFuchs/pynma | 668634f4d37107efa27fe23e3b281fe3e3402e18 | [
"MIT",
"Unlicense"
] | 3 | 2015-03-02T03:00:05.000Z | 2018-10-15T06:01:18.000Z | pynma/__init__.py | AndreasDerFuchs/pynma | 668634f4d37107efa27fe23e3b281fe3e3402e18 | [
"MIT",
"Unlicense"
] | 7 | 2015-02-18T06:57:43.000Z | 2021-08-03T15:34:44.000Z | #!/usr/bin/python
from .pynma import PyNMA
| 9.2 | 25 | 0.695652 | 7 | 46 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 4 | 26 | 11.5 | 0.842105 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a75f5fa192db200d9c57dcdfe03e96a07d84ac3f | 148 | py | Python | txweb/lib/errors/__init__.py | devdave/txWeb | e447fbefd16134cb2f83323c04c20c41638d7da3 | [
"MIT"
] | null | null | null | txweb/lib/errors/__init__.py | devdave/txWeb | e447fbefd16134cb2f83323c04c20c41638d7da3 | [
"MIT"
] | 4 | 2020-11-03T19:59:05.000Z | 2021-06-02T03:22:25.000Z | txweb/lib/errors/__init__.py | devdave/txWeb | e447fbefd16134cb2f83323c04c20c41638d7da3 | [
"MIT"
] | null | null | null | """
Error handlers for txweb
"""
from twisted.python.failure import Failure
from .default import DefaultHandler
from .debug import DebugHandler
| 21.142857 | 42 | 0.783784 | 18 | 148 | 6.444444 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 148 | 6 | 43 | 24.666667 | 0.920635 | 0.162162 | 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 | 1 | 0 | 0 | 5 |
a7620b64186f8a6da006530ca38d9205558cbbd0 | 90 | py | Python | src/examplepackage/cli.py | rasmuse/python-package | f2ae40b71ac124eb6fd8bf71461c84ada8ea68e6 | [
"MIT"
] | null | null | null | src/examplepackage/cli.py | rasmuse/python-package | f2ae40b71ac124eb6fd8bf71461c84ada8ea68e6 | [
"MIT"
] | null | null | null | src/examplepackage/cli.py | rasmuse/python-package | f2ae40b71ac124eb6fd8bf71461c84ada8ea68e6 | [
"MIT"
] | null | null | null | import click
from .core import func
@click.command()
def main():
click.echo(func())
| 11.25 | 22 | 0.677778 | 13 | 90 | 4.692308 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 90 | 7 | 23 | 12.857143 | 0.824324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a76cdfa778bca461dee31374a0e3d21549b9b261 | 288 | py | Python | pos/admin.py | dushmshr/A | b8957c965370c0284ddf727a2938452acf7876e3 | [
"Apache-2.0"
] | null | null | null | pos/admin.py | dushmshr/A | b8957c965370c0284ddf727a2938452acf7876e3 | [
"Apache-2.0"
] | 9 | 2020-03-24T15:35:03.000Z | 2021-09-07T23:46:59.000Z | pos/admin.py | dushmshr/A | b8957c965370c0284ddf727a2938452acf7876e3 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Product, Cash, Order,ProductAdmin,Order_Item,Order_ItemAdmin
# Register your models here.
admin.site.register(Product,ProductAdmin)
admin.site.register(Cash)
admin.site.register(Order)
admin.site.register(Order_Item,Order_ItemAdmin)
| 28.8 | 80 | 0.833333 | 40 | 288 | 5.9 | 0.4 | 0.152542 | 0.288136 | 0.194915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072917 | 288 | 9 | 81 | 32 | 0.883895 | 0.090278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a7842fd495f97c0b9bd1238bc0ec8fab7ecdf916 | 39 | py | Python | ubscrape/__main__.py | samuelstevens/pud | 4d899fb55f25aea2d882fe3eb0136186e6ff411a | [
"MIT"
] | 6 | 2019-10-03T19:20:18.000Z | 2021-01-30T00:49:36.000Z | ubscrape/__main__.py | samuelstevens/pud | 4d899fb55f25aea2d882fe3eb0136186e6ff411a | [
"MIT"
] | 1 | 2021-06-02T00:23:20.000Z | 2021-06-02T00:23:20.000Z | ubscrape/__main__.py | samuelstevens/pud | 4d899fb55f25aea2d882fe3eb0136186e6ff411a | [
"MIT"
] | 3 | 2020-01-08T01:07:15.000Z | 2020-01-25T17:02:12.000Z | from .command_line import main
main()
| 9.75 | 30 | 0.769231 | 6 | 39 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 3 | 31 | 13 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 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 | 5 |
a78962c23c1788724f6294523bdb55d8d252a03e | 37 | py | Python | queue_map_reduce/__init__.py | cherenkov-plenoscope/sun_grid_engine_map | 79c933c5acbaaa0c34e1cc9659faa1f28e9d6470 | [
"MIT"
] | null | null | null | queue_map_reduce/__init__.py | cherenkov-plenoscope/sun_grid_engine_map | 79c933c5acbaaa0c34e1cc9659faa1f28e9d6470 | [
"MIT"
] | null | null | null | queue_map_reduce/__init__.py | cherenkov-plenoscope/sun_grid_engine_map | 79c933c5acbaaa0c34e1cc9659faa1f28e9d6470 | [
"MIT"
] | null | null | null | from .tools import map_reduce as map
| 18.5 | 36 | 0.810811 | 7 | 37 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 1 | 37 | 37 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a793376d24e0e0398381088acccd90fa9c524794 | 951 | py | Python | setup.py | RealCreepi/vowing | afcffc09421f0a0f31dc7a7c4138a0b06a141be8 | [
"MIT"
] | 4 | 2021-03-30T17:10:32.000Z | 2022-01-16T07:47:42.000Z | setup.py | RealCreepi/vowing | afcffc09421f0a0f31dc7a7c4138a0b06a141be8 | [
"MIT"
] | null | null | null | setup.py | RealCreepi/vowing | afcffc09421f0a0f31dc7a7c4138a0b06a141be8 | [
"MIT"
] | null | null | null | from distutils.core import setup
setup(
name = 'vowing',
packages = ['vowing'],
version = '0.3.5',
license = 'MIT',
description = "'Vowing' is an alternative to Python's built in async/await system that has been inspired by Javascript's Promise.",
author = 'Creepi',
url = 'https://github.com/RealCreepi/vo... | 33.964286 | 133 | 0.62776 | 106 | 951 | 5.632075 | 0.575472 | 0.254606 | 0.335008 | 0.348409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026631 | 0.210305 | 951 | 28 | 134 | 33.964286 | 0.768309 | 0 | 0 | 0 | 0 | 0.04 | 0.668067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.04 | 0 | 0.04 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a7aad828e94f8b09a6d53c41ceef0261c9cc4705 | 87 | py | Python | AUG16/10.py | Razdeep/PythonSnippets | 76f9313894f511c487a99bc38bdf0fe5e594caf5 | [
"MIT"
] | null | null | null | AUG16/10.py | Razdeep/PythonSnippets | 76f9313894f511c487a99bc38bdf0fe5e594caf5 | [
"MIT"
] | null | null | null | AUG16/10.py | Razdeep/PythonSnippets | 76f9313894f511c487a99bc38bdf0fe5e594caf5 | [
"MIT"
] | null | null | null | # greatest of three
def greatest(a,b,c):
return max(a,b,c)
print(greatest(2,4,3)) | 14.5 | 22 | 0.655172 | 18 | 87 | 3.166667 | 0.722222 | 0.070175 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.16092 | 87 | 6 | 22 | 14.5 | 0.739726 | 0.195402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a7b76da5b92ce078dded119047a650cdf72fb8da | 138 | py | Python | src/search/admin.py | papeclem/Rifa-public | 7cd32656b73a6bcc7f5b309fbe025fe7d76c12b8 | [
"MIT"
] | 1 | 2021-09-06T12:53:37.000Z | 2021-09-06T12:53:37.000Z | src/search/admin.py | papeclem/Rifa-public | 7cd32656b73a6bcc7f5b309fbe025fe7d76c12b8 | [
"MIT"
] | null | null | null | src/search/admin.py | papeclem/Rifa-public | 7cd32656b73a6bcc7f5b309fbe025fe7d76c12b8 | [
"MIT"
] | null | null | null | from django.contrib import admin
from search.models import Product, Category
admin.site.register(Product)
admin.site.register(Category)
| 19.714286 | 43 | 0.826087 | 19 | 138 | 6 | 0.578947 | 0.157895 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094203 | 138 | 6 | 44 | 23 | 0.912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 5 |
a7ca1866c248fc05bc77d9e962533142ad7d4e1b | 261 | py | Python | lib/gsiLib/gsiHelper.py | sumedhpb/TAF | fc6f4cb8dc0b8234393f2e52a7b4a1aa723d9449 | [
"Apache-2.0"
] | 9 | 2019-02-19T05:55:00.000Z | 2022-01-20T10:37:28.000Z | lib/gsiLib/gsiHelper.py | sumedhpb/TAF | fc6f4cb8dc0b8234393f2e52a7b4a1aa723d9449 | [
"Apache-2.0"
] | 2 | 2019-02-19T07:28:54.000Z | 2019-06-18T11:22:29.000Z | lib/gsiLib/gsiHelper.py | sumedhpb/TAF | fc6f4cb8dc0b8234393f2e52a7b4a1aa723d9449 | [
"Apache-2.0"
] | 155 | 2018-11-13T14:57:07.000Z | 2022-03-28T11:53:22.000Z | import mode
if mode.java:
# from GsiHelper_JavaSDK import GsiHelper as GsiLib
pass
elif mode.cli:
# from GsiHelper_CLI import GsiHelper as GsiLib
pass
else:
from GsiHelper_Rest import GsiHelper as GsiLib
class GsiHelper(GsiLib):
pass
| 17.4 | 55 | 0.735632 | 36 | 261 | 5.25 | 0.416667 | 0.206349 | 0.269841 | 0.365079 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226054 | 261 | 14 | 56 | 18.642857 | 0.935644 | 0.363985 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.222222 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
ac0611edc99335395e3e812bfcf77c9b87b4da53 | 95 | py | Python | api/users/admin.py | fujikawahiroaki/webspecimanager | d46a4feec0c695d5231b21e3311f4adbe25435cb | [
"BSD-2-Clause"
] | null | null | null | api/users/admin.py | fujikawahiroaki/webspecimanager | d46a4feec0c695d5231b21e3311f4adbe25435cb | [
"BSD-2-Clause"
] | 10 | 2020-12-07T08:54:30.000Z | 2022-03-13T12:23:03.000Z | api/users/admin.py | fujikawahiroaki/webspecimanager | d46a4feec0c695d5231b21e3311f4adbe25435cb | [
"BSD-2-Clause"
] | null | null | null | from django.contrib import admin
from .models import UserProfile
admin.register(UserProfile)
| 15.833333 | 32 | 0.831579 | 12 | 95 | 6.583333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 95 | 5 | 33 | 19 | 0.940476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ac4cf970e4a9f2d8b9917641ead3f7242f309f6b | 21 | py | Python | stream/__init__.py | wishful-project/stream_pipe | 025e91d005bead0e77a5089b74d9bb003821ebf2 | [
"MIT"
] | null | null | null | stream/__init__.py | wishful-project/stream_pipe | 025e91d005bead0e77a5089b74d9bb003821ebf2 | [
"MIT"
] | null | null | null | stream/__init__.py | wishful-project/stream_pipe | 025e91d005bead0e77a5089b74d9bb003821ebf2 | [
"MIT"
] | null | null | null | from .stream import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ac6e6c29fe2b2a8244c7e064010a05bc31e37756 | 46 | py | Python | client/exceptions.py | camerongray1515/Chaac | 532b3b4d13cca1bdd3ea11a3b0da59d800480117 | [
"MIT"
] | null | null | null | client/exceptions.py | camerongray1515/Chaac | 532b3b4d13cca1bdd3ea11a3b0da59d800480117 | [
"MIT"
] | null | null | null | client/exceptions.py | camerongray1515/Chaac | 532b3b4d13cca1bdd3ea11a3b0da59d800480117 | [
"MIT"
] | null | null | null | class InvalidPluginError(Exception):
pass
| 15.333333 | 36 | 0.782609 | 4 | 46 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 37 | 23 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
ac7772c8e42991ed5d0f226e26efe234ae3060cd | 194 | py | Python | LeetCode/01_Easy/lc_231.py | Zubieta/CPP | fb4a3cbf2e4edcc590df15663cd28fb9ecab679c | [
"MIT"
] | 8 | 2017-03-02T07:56:45.000Z | 2021-08-07T20:20:19.000Z | LeetCode/01_Easy/lc_231.py | zubie7a/Algorithms | fb4a3cbf2e4edcc590df15663cd28fb9ecab679c | [
"MIT"
] | null | null | null | LeetCode/01_Easy/lc_231.py | zubie7a/Algorithms | fb4a3cbf2e4edcc590df15663cd28fb9ecab679c | [
"MIT"
] | 1 | 2021-08-07T20:20:20.000Z | 2021-08-07T20:20:20.000Z | # 231 - Power Of Two (Easy)
# https://leetcode.com/problems/power-of-two/submissions/
class Solution:
def isPowerOfTwo(self, n: int) -> bool:
return n and (n & (n-1)) == 0
| 24.25 | 57 | 0.597938 | 28 | 194 | 4.142857 | 0.785714 | 0.12069 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034014 | 0.242268 | 194 | 7 | 58 | 27.714286 | 0.755102 | 0.417526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
3bbcfecf3128c86e18c7274ce769d2d131525629 | 6,251 | py | Python | bigflow_python/python/bigflow/test/schema_split_string_to_types_test.py | advancedxy/bigflow_python | 8a244b483404fde7afc42eee98bc964da8ae03e2 | [
"Apache-2.0"
] | 1,236 | 2017-11-14T11:10:10.000Z | 2022-03-08T11:54:41.000Z | bigflow_python/python/bigflow/test/schema_split_string_to_types_test.py | advancedxy/bigflow_python | 8a244b483404fde7afc42eee98bc964da8ae03e2 | [
"Apache-2.0"
] | 38 | 2017-11-14T16:29:12.000Z | 2020-01-23T08:32:04.000Z | bigflow_python/python/bigflow/test/schema_split_string_to_types_test.py | advancedxy/bigflow_python | 8a244b483404fde7afc42eee98bc964da8ae03e2 | [
"Apache-2.0"
] | 184 | 2017-11-27T07:23:36.000Z | 2022-03-14T02:54:16.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
########################################################################
#
# Copyright (c) 2016 Baidu, Inc. All Rights Reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may o... | 39.563291 | 95 | 0.571908 | 686 | 6,251 | 5.056851 | 0.204082 | 0.057654 | 0.037475 | 0.051888 | 0.767656 | 0.767656 | 0.747766 | 0.741424 | 0.738541 | 0.710868 | 0 | 0.019218 | 0.267477 | 6,251 | 157 | 96 | 39.815287 | 0.738371 | 0.214046 | 0 | 0.520833 | 0 | 0 | 0.139535 | 0.050388 | 0 | 0 | 0 | 0 | 0.104167 | 1 | 0.03125 | false | 0 | 0.072917 | 0 | 0.114583 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3bc39833534f5d9317c9e37e71a0c320faadd4c1 | 144 | py | Python | inplace_abn/__init__.py | karolmajek/inplace_abn | 2531acf1dd7a1e7b064cedb6e3f14caf7e4e31f5 | [
"BSD-3-Clause"
] | 1 | 2022-03-09T14:36:43.000Z | 2022-03-09T14:36:43.000Z | inplace_abn/__init__.py | karolmajek/inplace_abn | 2531acf1dd7a1e7b064cedb6e3f14caf7e4e31f5 | [
"BSD-3-Clause"
] | null | null | null | inplace_abn/__init__.py | karolmajek/inplace_abn | 2531acf1dd7a1e7b064cedb6e3f14caf7e4e31f5 | [
"BSD-3-Clause"
] | null | null | null | from ._version import version as __version__
from .abn import ABN, InPlaceABN, InPlaceABNSync
from .group import active_group, set_active_group
| 36 | 49 | 0.840278 | 20 | 144 | 5.65 | 0.5 | 0.19469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118056 | 144 | 3 | 50 | 48 | 0.889764 | 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 | 1 | 0 | 0 | 5 |
3bce36da3e2d78db75eee3178bb7a72ca0a7e345 | 44 | py | Python | disney/__init__.py | truthiswill/wait4disney | 39375ba535c5ca06aaf296a79ec342dd26f59669 | [
"Apache-2.0"
] | 106 | 2017-04-13T02:44:46.000Z | 2022-01-26T06:46:27.000Z | disney/__init__.py | truthiswill/wait4disney | 39375ba535c5ca06aaf296a79ec342dd26f59669 | [
"Apache-2.0"
] | 8 | 2018-04-20T04:49:24.000Z | 2021-12-22T03:04:29.000Z | disney/__init__.py | truthiswill/wait4disney | 39375ba535c5ca06aaf296a79ec342dd26f59669 | [
"Apache-2.0"
] | 20 | 2016-09-07T08:38:25.000Z | 2021-11-30T04:11:25.000Z | from disney import log
log.setup_logging()
| 11 | 22 | 0.795455 | 7 | 44 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 3 | 23 | 14.666667 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 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 | 5 |
ce04fdd7370bf061dbecd267de68a4689d9b2d21 | 4,838 | py | Python | tests/test_dynamodb_progress.py | mapbox/watchbot-progress-py | b9658db6d2bb5588e05b6d4e2d48baf88809e68d | [
"MIT"
] | 1 | 2018-06-20T21:07:37.000Z | 2018-06-20T21:07:37.000Z | tests/test_dynamodb_progress.py | mapbox/watchbot-progress-py | b9658db6d2bb5588e05b6d4e2d48baf88809e68d | [
"MIT"
] | 17 | 2017-07-25T23:34:57.000Z | 2018-12-07T17:13:09.000Z | tests/test_dynamodb_progress.py | mapbox/watchbot-progress-py | b9658db6d2bb5588e05b6d4e2d48baf88809e68d | [
"MIT"
] | 3 | 2017-11-18T11:09:46.000Z | 2021-02-23T10:32:35.000Z | from mock import patch
import pytest
from watchbot_progress.backends.dynamodb import DynamoProgress as WatchbotProgress
from watchbot_progress.errors import JobDoesNotExist
parts = [
{'source': 'a.tif'},
{'source': 'b.tif'},
{'source': 'c.tif'}]
@patch('watchbot_progress.backends.dynamodb.boto3.resour... | 35.837037 | 82 | 0.70401 | 588 | 4,838 | 5.630952 | 0.139456 | 0.129568 | 0.066747 | 0.086379 | 0.794926 | 0.77016 | 0.77016 | 0.702205 | 0.702205 | 0.633343 | 0 | 0.027394 | 0.132286 | 4,838 | 134 | 83 | 36.104478 | 0.761315 | 0 | 0 | 0.484536 | 0 | 0 | 0.241422 | 0.093014 | 0 | 0 | 0 | 0 | 0.123711 | 1 | 0.092784 | false | 0 | 0.041237 | 0 | 0.134021 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ce1c5de22fb334dabcce65dd09f6d89c9e77c68f | 11 | py | Python | new.py | nortics/python | 3093a5c3cf3e8813d40a6253e8526459c848bb70 | [
"MIT"
] | null | null | null | new.py | nortics/python | 3093a5c3cf3e8813d40a6253e8526459c848bb70 | [
"MIT"
] | null | null | null | new.py | nortics/python | 3093a5c3cf3e8813d40a6253e8526459c848bb70 | [
"MIT"
] | null | null | null | print('ok') | 11 | 11 | 0.636364 | 2 | 11 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 | 1 | 11 | 11 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
ce2388993d03f8daa154a1153eeaf6f83d49ddf2 | 159 | py | Python | hurricane/utils/id.py | DarkmatterVale/hurricane | 94e9e56fcc6d73f5f76ad1fe9e3e4f248549fe7b | [
"MIT"
] | 1 | 2017-01-13T00:17:09.000Z | 2017-01-13T00:17:09.000Z | hurricane/utils/id.py | DarkmatterVale/hurricane | 94e9e56fcc6d73f5f76ad1fe9e3e4f248549fe7b | [
"MIT"
] | null | null | null | hurricane/utils/id.py | DarkmatterVale/hurricane | 94e9e56fcc6d73f5f76ad1fe9e3e4f248549fe7b | [
"MIT"
] | null | null | null | import uuid
def generate_task_id():
"""
Generate a unique id (in integer format).
"""
new_id = uuid.uuid4()
return new_id.int % 10000000
| 15.9 | 45 | 0.622642 | 22 | 159 | 4.318182 | 0.727273 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.264151 | 159 | 9 | 46 | 17.666667 | 0.735043 | 0.257862 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
ce3660a946ababc795525fcf964ef5635182f334 | 221 | py | Python | leads/admin.py | Bigfoot2049/djangoProjectVersion0.1 | 17387e66a0c4ccba92e60acaee4fb1184bae02d3 | [
"MIT"
] | null | null | null | leads/admin.py | Bigfoot2049/djangoProjectVersion0.1 | 17387e66a0c4ccba92e60acaee4fb1184bae02d3 | [
"MIT"
] | null | null | null | leads/admin.py | Bigfoot2049/djangoProjectVersion0.1 | 17387e66a0c4ccba92e60acaee4fb1184bae02d3 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import User, Agent, Customer, Lead
# Register your models here.
admin.site.register(User)
admin.site.register(Agent)
admin.site.register(Customer)
admin.site.register(Lead)
| 22.1 | 47 | 0.79638 | 32 | 221 | 5.5 | 0.4375 | 0.204545 | 0.386364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099548 | 221 | 9 | 48 | 24.555556 | 0.884422 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cbeebcfebebfea43f4708cd6bff9f769d845ba83 | 63 | py | Python | game_core/app/orm/__init__.py | meseta/advent-of-code-2020 | a6871b2efa99c38d5d13d872e53a8e9649f8322b | [
"MIT"
] | 1 | 2020-12-30T11:25:17.000Z | 2020-12-30T11:25:17.000Z | game_core/app/orm/__init__.py | meseta/advent-of-code-2020 | a6871b2efa99c38d5d13d872e53a8e9649f8322b | [
"MIT"
] | 13 | 2020-12-29T19:08:20.000Z | 2021-02-01T04:27:36.000Z | game_core/app/orm/__init__.py | meseta/advent-of-code-2020 | a6871b2efa99c38d5d13d872e53a8e9649f8322b | [
"MIT"
] | 1 | 2020-12-27T19:57:16.000Z | 2020-12-27T19:57:16.000Z | from .orm import Orm
from .sentinels import OrmNotFound, NoKey
| 21 | 41 | 0.809524 | 9 | 63 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 63 | 2 | 42 | 31.5 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
02120706aea17f4712816d0cdbdee97b69749641 | 104 | py | Python | src/features/__init__.py | AC297R-Wayfair-NLP/wayfair_nlp_public | 9d3628f14f0e3e75f386a2c2f63aed93681ef686 | [
"MIT"
] | 2 | 2021-01-11T21:16:54.000Z | 2021-12-16T16:39:14.000Z | src/features/__init__.py | AC297R-Wayfair-NLP/wayfair_nlp_public | 9d3628f14f0e3e75f386a2c2f63aed93681ef686 | [
"MIT"
] | null | null | null | src/features/__init__.py | AC297R-Wayfair-NLP/wayfair_nlp_public | 9d3628f14f0e3e75f386a2c2f63aed93681ef686 | [
"MIT"
] | null | null | null | from ._sentiment import Sentiment
from ._returnability import Returnability
from ._topics import Topics
| 26 | 41 | 0.855769 | 12 | 104 | 7.166667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 104 | 3 | 42 | 34.666667 | 0.934783 | 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 | 1 | 0 | 0 | 5 |
027b4a4b022c7d92e8a7ae05ea87bfbc712e38ef | 128 | py | Python | .idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/input_handle/exception_while_reading/main.py | Vladpetr/NewsPortal | cd4127fbc09d9c8f5e65c8ae699856c6d380a320 | [
"Apache-2.0"
] | null | null | null | .idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/input_handle/exception_while_reading/main.py | Vladpetr/NewsPortal | cd4127fbc09d9c8f5e65c8ae699856c6d380a320 | [
"Apache-2.0"
] | 5 | 2021-04-08T22:02:15.000Z | 2022-02-10T14:53:45.000Z | .idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/input_handle/exception_while_reading/main.py | Vladpetr/NewsPortal | cd4127fbc09d9c8f5e65c8ae699856c6d380a320 | [
"Apache-2.0"
] | null | null | null | def get():
return int(input())
def get_num():
return get()
def get_line():
return get_num()
print(get_line())
| 9.142857 | 23 | 0.59375 | 19 | 128 | 3.789474 | 0.421053 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242188 | 128 | 13 | 24 | 9.846154 | 0.742268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0 | 0 | 0.428571 | 0.857143 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
65f9a62b4a0c9f742be5e98d6c720534548713ca | 33,675 | py | Python | Experiments_Synthetic/run_method.py | markus93/fit-on-the-test | e8e4ddda1ba52582920bdf0585314702c8b65892 | [
"MIT"
] | null | null | null | Experiments_Synthetic/run_method.py | markus93/fit-on-the-test | e8e4ddda1ba52582920bdf0585314702c8b65892 | [
"MIT"
] | null | null | null | Experiments_Synthetic/run_method.py | markus93/fit-on-the-test | e8e4ddda1ba52582920bdf0585314702c8b65892 | [
"MIT"
] | null | null | null | import gc
from keras import backend as K
import tensorflow as tf
from sklearn.metrics import log_loss
from binnings import *
from kde import KDE_estimator
from data_generation import generate_data
from pycalib.models import IsotonicCalibration, SigmoidCalibration
from betacal import BetaCalibration
from pi... | 47.765957 | 156 | 0.581856 | 4,600 | 33,675 | 3.792826 | 0.048478 | 0.048146 | 0.082536 | 0.059609 | 0.806958 | 0.76185 | 0.737319 | 0.687855 | 0.65805 | 0.619476 | 0 | 0.004108 | 0.334996 | 33,675 | 704 | 157 | 47.833807 | 0.774984 | 0.004246 | 0 | 0.420863 | 1 | 0 | 0.051615 | 0.008166 | 0 | 0 | 0 | 0 | 0.003597 | 1 | 0.044964 | false | 0 | 0.028777 | 0.003597 | 0.142086 | 0.01259 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5a05ad43dfccbc87b5a8f91f8fe5c5284bd6090b | 496 | py | Python | d8_stack.py | DK2K00/100DaysOfCode | 68a9422b8b0b3aa233b1e11e310a6a58453e35c1 | [
"MIT"
] | null | null | null | d8_stack.py | DK2K00/100DaysOfCode | 68a9422b8b0b3aa233b1e11e310a6a58453e35c1 | [
"MIT"
] | null | null | null | d8_stack.py | DK2K00/100DaysOfCode | 68a9422b8b0b3aa233b1e11e310a6a58453e35c1 | [
"MIT"
] | null | null | null | class Stack():
def __init__(self):
self.items = []
def push(self, item):
return self.items.append(item)
def pop(self):
return self.items.pop()
def IsEmpty(self):
return self.items == []
def length(self):
return len(self.items)
def peek(self):
... | 15.030303 | 46 | 0.570565 | 75 | 496 | 3.72 | 0.266667 | 0.225806 | 0.215054 | 0.204301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.252016 | 496 | 33 | 47 | 15.030303 | 0.733154 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0 | 0.192308 | 0.461538 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
5a2b54f2dda2533c926958ff24c687c5fd82a902 | 725 | py | Python | tests/db_tests/test_automatic_naming.py | Anyesh/workoutizer | 5cfdef5d08f63d59d6d7d7922540566f6500753b | [
"MIT"
] | 45 | 2020-10-23T13:01:34.000Z | 2022-03-07T08:48:16.000Z | tests/db_tests/test_automatic_naming.py | MakhmudovMurod/workoutizer | 1509b711b43875c5f01d62ddbc182b0ee5e23dd2 | [
"MIT"
] | 62 | 2020-10-06T19:18:12.000Z | 2022-01-13T19:25:34.000Z | tests/db_tests/test_automatic_naming.py | MakhmudovMurod/workoutizer | 1509b711b43875c5f01d62ddbc182b0ee5e23dd2 | [
"MIT"
] | 12 | 2020-10-07T12:44:00.000Z | 2021-09-13T06:36:24.000Z | from wkz import models
def test_automatic_naming_of_activity__gpx_with_coordinates(import_one_activity):
import_one_activity("example.gpx")
activity = models.Activity.objects.get()
assert activity.name == "Evening Jogging in Heidelberg"
def test_automatic_naming_of_activity__fit_with_coordinates(import... | 31.521739 | 81 | 0.802759 | 94 | 725 | 5.755319 | 0.340426 | 0.099815 | 0.18854 | 0.121996 | 0.756007 | 0.756007 | 0.696858 | 0.484288 | 0.210721 | 0.210721 | 0 | 0 | 0.118621 | 725 | 22 | 82 | 32.954545 | 0.846635 | 0 | 0 | 0.230769 | 0 | 0 | 0.188966 | 0.082759 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.230769 | false | 0 | 0.538462 | 0 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
5a32fb64effb444bb99625e6d525fd605e7d75ad | 167 | py | Python | H2H/Location/admin.py | saefty/happy2help_backend | da4bbd8d18a122ec87fc9ebc655864f3789fd8a7 | [
"MIT"
] | null | null | null | H2H/Location/admin.py | saefty/happy2help_backend | da4bbd8d18a122ec87fc9ebc655864f3789fd8a7 | [
"MIT"
] | 3 | 2020-02-11T23:35:05.000Z | 2021-06-10T21:05:39.000Z | H2H/Location/admin.py | saefty/happy2help_backend | da4bbd8d18a122ec87fc9ebc655864f3789fd8a7 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Location
@admin.register(Location)
class LocationAdmin(admin.ModelAdmin):
pass | 18.555556 | 38 | 0.790419 | 21 | 167 | 6.285714 | 0.666667 | 0.19697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137725 | 167 | 9 | 39 | 18.555556 | 0.916667 | 0.155689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
5a783ac1cba837862ce771983bb9fe009be2b44e | 22,482 | py | Python | db/data/2008/10/process.py | nataliemcmullen/WikiMiney | 562177a74179cb28469604f4fb9d021cebeed0a6 | [
"MIT"
] | 1 | 2020-11-18T19:20:58.000Z | 2020-11-18T19:20:58.000Z | db/data/2008/10/process.py | nataliemcmullen/WikiMiney | 562177a74179cb28469604f4fb9d021cebeed0a6 | [
"MIT"
] | null | null | null | db/data/2008/10/process.py | nataliemcmullen/WikiMiney | 562177a74179cb28469604f4fb9d021cebeed0a6 | [
"MIT"
] | null | null | null | from __future__ import with_statement
import os
urls = [
"pagecounts-20081001-000000",
"pagecounts-20081001-010000",
"pagecounts-20081001-020000",
"pagecounts-20081001-030000",
"pagecounts-20081001-040000",
"pagecounts-20081001-050001",
"pagecounts-20081001-060000",
"pagecounts-20081001-070000",
"pagecounts-20081001-0... | 29.698811 | 57 | 0.791656 | 2,298 | 22,482 | 7.741079 | 0.059617 | 0.025184 | 0.002024 | 0.001237 | 0.001911 | 0 | 0 | 0 | 0 | 0 | 0 | 0.470386 | 0.040966 | 22,482 | 756 | 58 | 29.738095 | 0.354668 | 0 | 0 | 0.002663 | 0 | 0 | 0.842496 | 0.836136 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.002663 | null | null | 0.003995 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ce53fa48fbb40222df0ce6b8db9f2070f6a97ead | 576 | py | Python | messaging/querysets.py | ChrisMarsh82/iogt | 8141421a79b73bd038880a3be92fa6809adced13 | [
"BSD-2-Clause"
] | 20 | 2021-04-29T12:36:25.000Z | 2022-03-27T12:17:41.000Z | messaging/querysets.py | ChrisMarsh82/iogt | 8141421a79b73bd038880a3be92fa6809adced13 | [
"BSD-2-Clause"
] | 892 | 2021-02-02T13:56:06.000Z | 2022-03-31T11:25:44.000Z | messaging/querysets.py | ChrisMarsh82/iogt | 8141421a79b73bd038880a3be92fa6809adced13 | [
"BSD-2-Clause"
] | 28 | 2021-02-19T19:28:37.000Z | 2022-03-11T11:46:00.000Z | from django.db.models import QuerySet
class ThreadQuerySet(QuerySet):
def of_user(self, user):
return self.filter(user_threads__user=user)
def inbox(self):
return self.filter(user_threads__is_active=True)
def deleted(self):
return self.filter(user_threads__is_active=False)
d... | 26.181818 | 86 | 0.692708 | 77 | 576 | 4.805195 | 0.38961 | 0.135135 | 0.216216 | 0.216216 | 0.410811 | 0.337838 | 0.337838 | 0.337838 | 0.232432 | 0 | 0 | 0 | 0.222222 | 576 | 21 | 87 | 27.428571 | 0.825893 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.066667 | 0.333333 | 0.8 | 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 | 1 | 0 | 0 | 5 |
ce8cb0347bf913c70c898838f88a083e65cfce6a | 15 | py | Python | Scripts/Python/wasup.py | SPal-14/ProjectMRU | cf7effdf7eb310da445a5ecbf958760c27706ca8 | [
"CC0-1.0"
] | 9 | 2020-10-06T08:12:28.000Z | 2020-10-24T20:32:46.000Z | Scripts/Python/wasup.py | SPal-14/ProjectMRU | cf7effdf7eb310da445a5ecbf958760c27706ca8 | [
"CC0-1.0"
] | 5 | 2020-10-09T04:54:43.000Z | 2020-10-31T06:31:03.000Z | Scripts/Python/wasup.py | SPal-14/ProjectMRU | cf7effdf7eb310da445a5ecbf958760c27706ca8 | [
"CC0-1.0"
] | 33 | 2020-10-05T20:02:12.000Z | 2020-10-31T05:05:48.000Z | print('wasup!') | 15 | 15 | 0.666667 | 2 | 15 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 | 1 | 15 | 15 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0cbc68c8cc5980029686ca9a4b39e1c647cc8101 | 20 | py | Python | dir1/my_code1.py | BinHan-Code/pyneta | 95805b799c32190c9c2474df367baaeed89bdea7 | [
"Apache-2.0"
] | null | null | null | dir1/my_code1.py | BinHan-Code/pyneta | 95805b799c32190c9c2474df367baaeed89bdea7 | [
"Apache-2.0"
] | null | null | null | dir1/my_code1.py | BinHan-Code/pyneta | 95805b799c32190c9c2474df367baaeed89bdea7 | [
"Apache-2.0"
] | null | null | null | print ("Hello Han")
| 10 | 19 | 0.65 | 3 | 20 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0cc5dd8c84eb0ca0302d1ff8cad5cbeb470b3937 | 230 | py | Python | alqlab_customization/alqlab/doctype/material_order/test_material_order.py | Suraj787/alqlab_customization | 0c88cb626d3ab9c06111647c206eb5d660085e03 | [
"MIT"
] | null | null | null | alqlab_customization/alqlab/doctype/material_order/test_material_order.py | Suraj787/alqlab_customization | 0c88cb626d3ab9c06111647c206eb5d660085e03 | [
"MIT"
] | null | null | null | alqlab_customization/alqlab/doctype/material_order/test_material_order.py | Suraj787/alqlab_customization | 0c88cb626d3ab9c06111647c206eb5d660085e03 | [
"MIT"
] | 1 | 2021-04-03T19:29:00.000Z | 2021-04-03T19:29:00.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2021, bizmap technologies,pune and Contributors
# See license.txt
from __future__ import unicode_literals
# import frappe
import unittest
class TestMaterialOrder(unittest.TestCase):
pass
| 20.909091 | 63 | 0.773913 | 28 | 230 | 6.178571 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025126 | 0.134783 | 230 | 10 | 64 | 23 | 0.844221 | 0.491304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
0ccd3df42b1a71506781bb8ecf7c1a71a725498a | 94 | py | Python | AI/model.py | mayfieldmobster/DECI | c2c9165aeec7344048dd9479049dc490033881d5 | [
"MIT"
] | 1 | 2021-12-19T01:09:12.000Z | 2021-12-19T01:09:12.000Z | AI/model.py | mayfieldmobster/DECI | c2c9165aeec7344048dd9479049dc490033881d5 | [
"MIT"
] | null | null | null | AI/model.py | mayfieldmobster/DECI | c2c9165aeec7344048dd9479049dc490033881d5 | [
"MIT"
] | null | null | null |
def dataset():
pass
def model():
pass
def loss():
pass
def opt():
pass | 5.875 | 14 | 0.5 | 12 | 94 | 3.916667 | 0.5 | 0.446809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.37234 | 94 | 16 | 15 | 5.875 | 0.79661 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0ce2e2a9f722c4854b651b0cb4c5b9b7c6c9bb9a | 176 | py | Python | backend/Contraband/query/admin.py | X3NOSIZ/WikiContrib | f8061de4cbfcbb524c5f95a47f127d7607d7f3da | [
"MIT"
] | null | null | null | backend/Contraband/query/admin.py | X3NOSIZ/WikiContrib | f8061de4cbfcbb524c5f95a47f127d7607d7f3da | [
"MIT"
] | null | null | null | backend/Contraband/query/admin.py | X3NOSIZ/WikiContrib | f8061de4cbfcbb524c5f95a47f127d7607d7f3da | [
"MIT"
] | null | null | null | from contraband.admin import admin_site as admin
from .models import Query, QueryFilter, QueryUser
admin.register(Query)
admin.register(QueryFilter)
admin.register(QueryUser)
| 25.142857 | 49 | 0.835227 | 23 | 176 | 6.347826 | 0.478261 | 0.267123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 176 | 6 | 50 | 29.333333 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 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 | 5 |
0cfc8b56a267db9f12c4fc3a8d7da0fb5b5b7106 | 85 | py | Python | DataStructures-Algorithms/Udacity-Python-DSA/03-Recursion/factorial.py | shoaibur/SWE | 1e114a2750f2df5d6c50b48c8e439224894d65da | [
"MIT"
] | 1 | 2020-11-14T18:28:13.000Z | 2020-11-14T18:28:13.000Z | DataStructures-Algorithms/Udacity-Python-DSA/03-Recursion/factorial.py | shoaibur/SWE | 1e114a2750f2df5d6c50b48c8e439224894d65da | [
"MIT"
] | null | null | null | DataStructures-Algorithms/Udacity-Python-DSA/03-Recursion/factorial.py | shoaibur/SWE | 1e114a2750f2df5d6c50b48c8e439224894d65da | [
"MIT"
] | null | null | null | def factorial(n):
if n <= 1: return n
return factorial(n-1) + factorial(n-2)
| 21.25 | 42 | 0.611765 | 15 | 85 | 3.466667 | 0.466667 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0.235294 | 85 | 3 | 43 | 28.333333 | 0.753846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
0b2635e609a47d6cc2a4b4540b36006a7c26d7a4 | 226 | py | Python | Python_Projects/Python_MySQL/FTD_SQL_stored_procedure/scripts/state_data_imports_6d_HS.py | YangLiu928/NDP_Projects | d2ebfa7b95a0003481dde1361c6ab563ac94f2e6 | [
"MIT"
] | null | null | null | Python_Projects/Python_MySQL/FTD_SQL_stored_procedure/scripts/state_data_imports_6d_HS.py | YangLiu928/NDP_Projects | d2ebfa7b95a0003481dde1361c6ab563ac94f2e6 | [
"MIT"
] | 12 | 2015-11-11T15:50:16.000Z | 2015-12-15T19:05:57.000Z | Python_Projects/Python_MySQL/Foreign_Trade_Data_Pipe_Delimination/scripts/state_data_imports_6d_HS.py | YangLiu928/NDP_Projects | d2ebfa7b95a0003481dde1361c6ab563ac94f2e6 | [
"MIT"
] | null | null | null | import process_data
data_folder = '../data/state_data_imports_6d_HS/'
output_folder = '../output/state_data_imports_6d_HS/'
date = '0902'
process_data.process_ISTHS6(data_folder, output_folder, date)
print 'task completed'
| 22.6 | 61 | 0.79646 | 33 | 226 | 5 | 0.454545 | 0.133333 | 0.193939 | 0.218182 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033981 | 0.088496 | 226 | 9 | 62 | 25.111111 | 0.76699 | 0 | 0 | 0 | 0 | 0 | 0.380531 | 0.300885 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0b45600cbea9b460d6e80369c03fbcca2285b951 | 63 | py | Python | jupyter/calysto_hy/__init__.py | rz4/MinoTauro | 25515b13f61e8fa62d5ebf24ec9d22c2de021071 | [
"MIT"
] | 6 | 2020-01-21T05:58:14.000Z | 2022-01-20T16:30:27.000Z | jupyter/calysto_hy/__init__.py | rz4/HyTorch | 25515b13f61e8fa62d5ebf24ec9d22c2de021071 | [
"MIT"
] | null | null | null | jupyter/calysto_hy/__init__.py | rz4/HyTorch | 25515b13f61e8fa62d5ebf24ec9d22c2de021071 | [
"MIT"
] | null | null | null | from .kernel import CalystoHy
from .version import __version__
| 21 | 32 | 0.84127 | 8 | 63 | 6.125 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 33 | 31.5 | 0.890909 | 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 | 1 | 0 | 0 | 5 |
0b716847c119f3dc83123324f74d1f9286762f76 | 29 | py | Python | tests/__init__.py | avi-08/flask-app | 2d05a889301d6918805d43a652b3752541e77f33 | [
"MIT"
] | null | null | null | tests/__init__.py | avi-08/flask-app | 2d05a889301d6918805d43a652b3752541e77f33 | [
"MIT"
] | null | null | null | tests/__init__.py | avi-08/flask-app | 2d05a889301d6918805d43a652b3752541e77f33 | [
"MIT"
] | null | null | null | def set_data(data):
pass
| 9.666667 | 20 | 0.655172 | 5 | 29 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 2 | 21 | 14.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0b71c4afc2c60484ea7bb2c7691b5385e83b5420 | 400 | py | Python | slixmpp/plugins/xep_0092/__init__.py | anirudhrata/slixmpp | 1fcee0e80a212eeb274d2f560e69099d8a61bf7f | [
"BSD-3-Clause"
] | 86 | 2016-07-04T13:26:02.000Z | 2022-02-19T10:26:21.000Z | slixmpp/plugins/xep_0092/__init__.py | anirudhrata/slixmpp | 1fcee0e80a212eeb274d2f560e69099d8a61bf7f | [
"BSD-3-Clause"
] | 10 | 2016-09-30T18:55:41.000Z | 2020-05-01T14:22:47.000Z | slixmpp/plugins/xep_0092/__init__.py | anirudhrata/slixmpp | 1fcee0e80a212eeb274d2f560e69099d8a61bf7f | [
"BSD-3-Clause"
] | 45 | 2016-09-30T18:48:41.000Z | 2022-03-18T21:39:33.000Z |
# Slixmpp: The Slick XMPP Library
# Copyright (C) 2010 Nathanael C. Fritz, Lance J.T. Stout
# This file is part of Slixmpp.
# See the file LICENSE for copying permission.
from slixmpp.plugins.base import register_plugin
from slixmpp.plugins.xep_0092 import stanza
from slixmpp.plugins.xep_0092.stanza import Version
fr... | 28.571429 | 57 | 0.8075 | 63 | 400 | 5.015873 | 0.539683 | 0.110759 | 0.227848 | 0.199367 | 0.237342 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.13 | 400 | 13 | 58 | 30.769231 | 0.83908 | 0.405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 | 1 | 0 | 0 | 5 |
0b72c4d2a24dc097243e22bebe8f80944a9065c2 | 121 | py | Python | backend/server/api/admin.py | jckw/notebin | 53e0acdcdcb563541df2a78e2ab3e8c22c4cb91d | [
"MIT"
] | null | null | null | backend/server/api/admin.py | jckw/notebin | 53e0acdcdcb563541df2a78e2ab3e8c22c4cb91d | [
"MIT"
] | null | null | null | backend/server/api/admin.py | jckw/notebin | 53e0acdcdcb563541df2a78e2ab3e8c22c4cb91d | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Folder, Note
admin.site.register(Folder)
admin.site.register(Note)
| 20.166667 | 32 | 0.809917 | 18 | 121 | 5.444444 | 0.555556 | 0.183673 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 121 | 5 | 33 | 24.2 | 0.899083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 5 |
0b9d04bbb262a506b0ddef6195ad420cfb6aca1f | 26 | py | Python | arm_now/__init__.py | fr0zn/arm_now | 7251c24ca3aefcc4e01c12a4d2bc980d9f6fbc28 | [
"MIT"
] | 810 | 2017-05-31T09:34:42.000Z | 2022-03-27T22:43:34.000Z | arm_now/__init__.py | fr0zn/arm_now | 7251c24ca3aefcc4e01c12a4d2bc980d9f6fbc28 | [
"MIT"
] | 46 | 2018-03-27T20:10:27.000Z | 2022-02-19T20:26:47.000Z | arm_now/__init__.py | fr0zn/arm_now | 7251c24ca3aefcc4e01c12a4d2bc980d9f6fbc28 | [
"MIT"
] | 104 | 2017-05-31T08:31:29.000Z | 2021-11-26T09:09:47.000Z | from .arm_now import main
| 13 | 25 | 0.807692 | 5 | 26 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0ba0f72548b2eafcecb400c12869bde20c49990a | 177 | py | Python | evkit/rl/algo/__init__.py | jozhang97/Side-tuning | dea345691fb7ee0230150fe56ddd644efdffa6ac | [
"MIT"
] | 56 | 2020-01-12T05:45:59.000Z | 2022-03-17T15:04:15.000Z | evkit/rl/algo/__init__.py | jozhang97/Side-tuning | dea345691fb7ee0230150fe56ddd644efdffa6ac | [
"MIT"
] | 7 | 2019-12-16T21:58:34.000Z | 2022-02-10T00:16:29.000Z | evkit/rl/algo/__init__.py | jozhang97/Side-tuning | dea345691fb7ee0230150fe56ddd644efdffa6ac | [
"MIT"
] | 2 | 2020-02-29T14:51:23.000Z | 2020-03-07T03:23:27.000Z | from .a2c_acktr import A2C_ACKTR
from .ppo import PPO
from .ppo_replay import PPOReplay
from .deepq import QLearner
from .ppo_curiosity import PPOCuriosity, PPOReplayCuriosity
| 25.285714 | 59 | 0.841808 | 25 | 177 | 5.8 | 0.48 | 0.144828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012903 | 0.124294 | 177 | 6 | 60 | 29.5 | 0.922581 | 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 | 1 | 0 | 0 | 5 |
0bb589ae12861fe47b0e547911f34e98f265d6ad | 42 | py | Python | tests/__init__.py | TheByteStuff/RemoteSyslog_Service | a46df0c561c9ed9b1e4b2e9ca458f13593883785 | [
"MIT"
] | 6 | 2021-06-03T18:49:43.000Z | 2021-09-19T12:40:31.000Z | tests/__init__.py | TheByteStuff/RemoteSyslog_Service | a46df0c561c9ed9b1e4b2e9ca458f13593883785 | [
"MIT"
] | 2 | 2021-05-19T02:24:10.000Z | 2021-06-29T14:47:15.000Z | tests/__init__.py | TheByteStuff/RemoteSyslog_Service | a46df0c561c9ed9b1e4b2e9ca458f13593883785 | [
"MIT"
] | null | null | null | """Tests for remote_syslog integration.""" | 42 | 42 | 0.761905 | 5 | 42 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.794872 | 0.857143 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
e7ed9e7c3d86df8ff4bbf688222682f20b8584ce | 168 | py | Python | absentismo/admin.py | jjmartinr01/gauss3 | 1c71c44430e0f15fb2f3f83d32ad66bb1b7e3e94 | [
"MIT"
] | null | null | null | absentismo/admin.py | jjmartinr01/gauss3 | 1c71c44430e0f15fb2f3f83d32ad66bb1b7e3e94 | [
"MIT"
] | null | null | null | absentismo/admin.py | jjmartinr01/gauss3 | 1c71c44430e0f15fb2f3f83d32ad66bb1b7e3e94 | [
"MIT"
] | null | null | null | from django.contrib import admin
from absentismo.models import *
# Register your models here.
admin.site.register(ExpedienteAbsentismo)
admin.site.register(Actuacion) | 24 | 41 | 0.827381 | 21 | 168 | 6.619048 | 0.619048 | 0.129496 | 0.244604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 168 | 7 | 42 | 24 | 0.914474 | 0.154762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 5 |
f03190c2c6f15b1a1dd8cccba5c6a5d51068c971 | 332 | py | Python | pyprojects/discrete-backprop/tf_assert.py | abhmul/projects-repo | 6d3a8110ce69219e769e0e56d14fbe394f6389c6 | [
"MIT"
] | null | null | null | pyprojects/discrete-backprop/tf_assert.py | abhmul/projects-repo | 6d3a8110ce69219e769e0e56d14fbe394f6389c6 | [
"MIT"
] | null | null | null | pyprojects/discrete-backprop/tf_assert.py | abhmul/projects-repo | 6d3a8110ce69219e769e0e56d14fbe394f6389c6 | [
"MIT"
] | null | null | null | import tensorflow as tf
def is_signs(tensor):
tf.Assert(tf.reduce_all((tensor == 1) | (tensor == -1)), [tensor])
def is_signs_or_zero(tensor):
tf.Assert(tf.reduce_all((tensor == 1) | (tensor == -1) | (tensor == 0)), [tensor])
def is_binary(tensor):
tf.Assert(tf.reduce_all((tensor == 0) | (tensor == 1)... | 25.538462 | 86 | 0.623494 | 50 | 332 | 3.98 | 0.32 | 0.175879 | 0.326633 | 0.241206 | 0.60804 | 0.60804 | 0.60804 | 0.452261 | 0.452261 | 0.452261 | 0 | 0.025271 | 0.165663 | 332 | 13 | 87 | 25.538462 | 0.693141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.428571 | false | 0 | 0.142857 | 0 | 0.571429 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
f039f436203e073ec4a2509fa07cafbec9723386 | 40 | py | Python | pug/dj/crawlnmine/crawlnmine/settings/dev.py | hobson/pug-dj | 55678b08755a55366ce18e7d3b8ea8fa4491ab04 | [
"MIT"
] | null | null | null | pug/dj/crawlnmine/crawlnmine/settings/dev.py | hobson/pug-dj | 55678b08755a55366ce18e7d3b8ea8fa4491ab04 | [
"MIT"
] | 5 | 2021-09-07T23:53:24.000Z | 2022-03-11T23:22:04.000Z | pug/dj/crawlnmine/crawlnmine/settings/dev.py | hobson/pug-dj | 55678b08755a55366ce18e7d3b8ea8fa4491ab04 | [
"MIT"
] | 1 | 2015-04-23T14:45:04.000Z | 2015-04-23T14:45:04.000Z | from crawlnmine.settings.common import * | 40 | 40 | 0.85 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f0697174d5823f541ace1b8d541201aa6159c526 | 58 | py | Python | ecosystem/__init__.py | IceKhan13/ecosystem | 3310043c343c634831f55aa5f9671bdea021740b | [
"Apache-2.0"
] | 13 | 2021-08-11T06:58:01.000Z | 2022-02-01T12:23:51.000Z | ecosystem/__init__.py | IceKhan13/ecosystem | 3310043c343c634831f55aa5f9671bdea021740b | [
"Apache-2.0"
] | 79 | 2021-08-09T20:57:33.000Z | 2022-03-24T09:22:07.000Z | ecosystem/__init__.py | mickahell/ecosystem | ae6879f13df22c98f26f242feddb049a69895ef0 | [
"Apache-2.0"
] | 7 | 2021-08-16T21:25:10.000Z | 2022-03-22T15:32:43.000Z | """Ecosystem main module."""
from .manager import Manager
| 19.333333 | 28 | 0.741379 | 7 | 58 | 6.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 58 | 2 | 29 | 29 | 0.843137 | 0.37931 | 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 | 1 | 0 | 0 | 5 |
f072f86c9151458a09975338fc3cebc1ff9456cf | 131 | py | Python | backend/test/test.py | wooshifu/Blog | a8ad6a7e1e1bb312b64f54414e5d945b73df5e1d | [
"MIT"
] | null | null | null | backend/test/test.py | wooshifu/Blog | a8ad6a7e1e1bb312b64f54414e5d945b73df5e1d | [
"MIT"
] | 3 | 2021-05-07T11:38:25.000Z | 2022-02-26T10:26:47.000Z | backend/test/test.py | wooshifu/Blog | a8ad6a7e1e1bb312b64f54414e5d945b73df5e1d | [
"MIT"
] | null | null | null | from unittest import TestCase
class My(TestCase):
def setUp(self) -> None:
pass
def test_my(self):
pass
| 13.1 | 29 | 0.603053 | 17 | 131 | 4.588235 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.312977 | 131 | 9 | 30 | 14.555556 | 0.866667 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
f07a8bd47542c4702d524b2a97ca75ec1368d3b9 | 9,307 | py | Python | profiling/company/company.py | PHFeres/sexta-do-python | b00545652e5c2a889aa6596e3000bde2e2e2e543 | [
"MIT"
] | 5 | 2021-04-16T19:13:28.000Z | 2022-03-10T18:54:37.000Z | profiling/company/company.py | PHFeres/sexta-do-python | b00545652e5c2a889aa6596e3000bde2e2e2e543 | [
"MIT"
] | null | null | null | profiling/company/company.py | PHFeres/sexta-do-python | b00545652e5c2a889aa6596e3000bde2e2e2e543 | [
"MIT"
] | 4 | 2021-04-16T17:55:39.000Z | 2021-09-23T21:26:01.000Z | """
Company Class
"""
import pandas as pd
import numpy as np
from tqdm import tqdm
class Company:
"""
Company Class
"""
def __init__(self, num_representatives, range_and_commission_rate):
"""
Create a company with a certain number of employees and fixed commission rates.
Args... | 49.243386 | 122 | 0.582572 | 978 | 9,307 | 5.306748 | 0.130879 | 0.084778 | 0.062428 | 0.043353 | 0.796146 | 0.765703 | 0.755299 | 0.755299 | 0.746243 | 0.746243 | 0 | 0.004652 | 0.353282 | 9,307 | 188 | 123 | 49.505319 | 0.857618 | 0.348985 | 0 | 0.662791 | 0 | 0 | 0.069924 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05814 | false | 0 | 0.034884 | 0 | 0.151163 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b2bd6a5577430ff146a1e167055596f1251fc074 | 115 | py | Python | python/w3school/import.py | mp5maker/library | b4d2eea70ae0da9d917285569031edfb4d8ab9fc | [
"MIT"
] | null | null | null | python/w3school/import.py | mp5maker/library | b4d2eea70ae0da9d917285569031edfb4d8ab9fc | [
"MIT"
] | 23 | 2020-08-15T15:18:32.000Z | 2022-02-26T13:49:05.000Z | python/w3school/import.py | mp5maker/library | b4d2eea70ae0da9d917285569031edfb4d8ab9fc | [
"MIT"
] | null | null | null | from modules.settings import configuration
""" Modules is the folder, settings is the file"""
print(configuration)
| 28.75 | 50 | 0.791304 | 15 | 115 | 6.066667 | 0.666667 | 0.10989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 115 | 3 | 51 | 38.333333 | 0.90099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
b2d44c7687fd2e08d99072d23c1a65f94bec0f39 | 11 | py | Python | ledfx/__init__.py | danhartfiction/LedFx | eaf40ab180ef7e8f4f769193b35b3ffd5fe2a340 | [
"MIT"
] | 419 | 2018-07-13T11:45:14.000Z | 2022-02-10T05:23:00.000Z | ledfx/__init__.py | carlonoelle/LedFx | 7aa28855ef5b0491b7ca34ed635da7ba38083daf | [
"MIT"
] | 131 | 2018-07-20T09:46:26.000Z | 2022-01-09T22:22:30.000Z | ledfx/__init__.py | carlonoelle/LedFx | 7aa28855ef5b0491b7ca34ed635da7ba38083daf | [
"MIT"
] | 122 | 2018-07-21T17:01:18.000Z | 2022-02-10T17:09:12.000Z | """ledfx""" | 11 | 11 | 0.454545 | 1 | 11 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 | 1 | 11 | 11 | 0.454545 | 0.454545 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b2fc6a496aed78b8951bbd09c45855670983c74a | 265 | py | Python | app/api/__init__.py | felbinger/FlaskBasic | 803fc5b07638e7d85eddccd00ca20567e57519f0 | [
"MIT"
] | 2 | 2019-12-18T17:45:52.000Z | 2020-04-21T12:45:32.000Z | app/api/__init__.py | felbinger/FlaskBasic | 803fc5b07638e7d85eddccd00ca20567e57519f0 | [
"MIT"
] | null | null | null | app/api/__init__.py | felbinger/FlaskBasic | 803fc5b07638e7d85eddccd00ca20567e57519f0 | [
"MIT"
] | null | null | null | from .user import User, UserResource, VerificationResource, ResetResource
from .totp import TOTPResource
from .role import Role, RoleResource
from .authentication import AuthResource, RefreshResource, require_admin, require_token
from .upload import UploadResource
| 44.166667 | 87 | 0.85283 | 29 | 265 | 7.724138 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101887 | 265 | 5 | 88 | 53 | 0.941176 | 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 | 1 | 0 | 0 | 5 |
65036d460bdf81fce390ad01182db3eb95ee5f1b | 443 | py | Python | pyta/overlays/donchian_channels.py | gslinger/pyta | d69cde971d43ef813c0bb96ce97bc7b4a22baf42 | [
"MIT"
] | 1 | 2021-10-10T08:00:21.000Z | 2021-10-10T08:00:21.000Z | pyta/overlays/donchian_channels.py | gslinger/pyta | d69cde971d43ef813c0bb96ce97bc7b4a22baf42 | [
"MIT"
] | null | null | null | pyta/overlays/donchian_channels.py | gslinger/pyta | d69cde971d43ef813c0bb96ce97bc7b4a22baf42 | [
"MIT"
] | null | null | null | import pandas as pd
#
from pyta.helper import highest, lowest
# TODO merge?
# TODO docstring
def donchian_channel_lower(l: pd.Series, n: int = 20) -> pd.Series:
return lowest(l, n)
def donchian_channel_upper(h: pd.Series, n: int = 20) -> pd.Series:
return highest(h, n)
def donchian_channel_basis(h: pd.Ser... | 24.611111 | 81 | 0.69526 | 73 | 443 | 4.082192 | 0.356164 | 0.187919 | 0.181208 | 0.120805 | 0.288591 | 0.288591 | 0.288591 | 0.288591 | 0.194631 | 0 | 0 | 0.019126 | 0.173815 | 443 | 17 | 82 | 26.058824 | 0.795082 | 0.058691 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 1 | 0.375 | false | 0 | 0.25 | 0.375 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
6530c8216eb758933654411cb4b1c2da8abd66af | 163 | py | Python | torchmeta/utils/__init__.py | imkevinkuo/PMAML-ECAI20 | 504c14f121a50991f37a692a9be0eb181f28dfc7 | [
"MIT"
] | 1 | 2022-03-03T20:29:39.000Z | 2022-03-03T20:29:39.000Z | torchmeta/utils/__init__.py | imkevinkuo/PMAML-ECAI20 | 504c14f121a50991f37a692a9be0eb181f28dfc7 | [
"MIT"
] | null | null | null | torchmeta/utils/__init__.py | imkevinkuo/PMAML-ECAI20 | 504c14f121a50991f37a692a9be0eb181f28dfc7 | [
"MIT"
] | 1 | 2022-03-05T21:21:58.000Z | 2022-03-05T21:21:58.000Z | from torchmeta.utils import data
from torchmeta.utils.gradient_based import gradient_update_parameters
__all__ = [
'data',
'gradient_update_parameters'
]
| 20.375 | 69 | 0.791411 | 19 | 163 | 6.315789 | 0.526316 | 0.216667 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141104 | 163 | 7 | 70 | 23.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.184049 | 0.159509 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e8e409f8139ed4883dbea53d1347daa5961e4b70 | 29 | py | Python | app/traveller_app/career_driver.py | jango2106/traveller | 5b046dd5e20e49716953b79c98e41d055c7114ec | [
"Apache-2.0"
] | null | null | null | app/traveller_app/career_driver.py | jango2106/traveller | 5b046dd5e20e49716953b79c98e41d055c7114ec | [
"Apache-2.0"
] | 6 | 2021-01-02T00:33:50.000Z | 2022-02-19T07:05:46.000Z | app/traveller_app/career_driver.py | jango2106/traveller | 5b046dd5e20e49716953b79c98e41d055c7114ec | [
"Apache-2.0"
] | null | null | null | class CareerDriver:
pass
| 9.666667 | 19 | 0.724138 | 3 | 29 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 2 | 20 | 14.5 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
e8e73e3753c5cf5c92c975321f7b4cd3e2e12aaf | 57 | py | Python | sggm/data/emnist/__init__.py | pierresegonne/SGGM | 46663a722384b4ee2b3358261d6eb626a16ca51a | [
"Apache-2.0"
] | 4 | 2020-10-27T13:56:54.000Z | 2021-05-23T19:16:15.000Z | sggm/data/emnist/__init__.py | pierresegonne/SGGM | 46663a722384b4ee2b3358261d6eb626a16ca51a | [
"Apache-2.0"
] | 16 | 2021-03-29T09:59:56.000Z | 2022-03-12T01:00:38.000Z | sggm/data/emnist/__init__.py | pierresegonne/SGGM | 46663a722384b4ee2b3358261d6eb626a16ca51a | [
"Apache-2.0"
] | null | null | null | from sggm.data.emnist.datamodule import EMNISTDataModule
| 28.5 | 56 | 0.877193 | 7 | 57 | 7.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 1 | 57 | 57 | 0.943396 | 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 | 1 | 0 | 0 | 5 |
333f01c1602576b7bc9d96bf99292878cc66e884 | 96 | py | Python | datavalidation/libraries/marshmallow/__init__.py | lifus/data-validation-benchmark | fca70230da3cb9e60ac4014b4a4c7c77b78027da | [
"Apache-2.0"
] | null | null | null | datavalidation/libraries/marshmallow/__init__.py | lifus/data-validation-benchmark | fca70230da3cb9e60ac4014b4a4c7c77b78027da | [
"Apache-2.0"
] | null | null | null | datavalidation/libraries/marshmallow/__init__.py | lifus/data-validation-benchmark | fca70230da3cb9e60ac4014b4a4c7c77b78027da | [
"Apache-2.0"
] | null | null | null | from .wrapper import MarshmallowWrapper as Wrapper
from .schemas import INSTANCES as VALIDATORS
| 32 | 50 | 0.854167 | 12 | 96 | 6.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 96 | 2 | 51 | 48 | 0.97619 | 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 | 1 | 0 | 0 | 5 |
334c540a23d76cbcc8a5425b0135296ff6366fcd | 49,120 | py | Python | appengine/monorail/api/v3/api_proto/users_prpc_pb2.py | fknittel/git-retry-build | 4d57dd6e8b7567daeb24b55f66bc5becd3d459f3 | [
"BSD-3-Clause"
] | null | null | null | appengine/monorail/api/v3/api_proto/users_prpc_pb2.py | fknittel/git-retry-build | 4d57dd6e8b7567daeb24b55f66bc5becd3d459f3 | [
"BSD-3-Clause"
] | 4 | 2022-03-17T18:58:21.000Z | 2022-03-17T18:58:22.000Z | appengine/monorail/api/v3/api_proto/users_prpc_pb2.py | fknittel/git-retry-build | 4d57dd6e8b7567daeb24b55f66bc5becd3d459f3 | [
"BSD-3-Clause"
] | null | null | null | # Generated by the pRPC protocol buffer compiler plugin. DO NOT EDIT!
# source: api/v3/api_proto/users.proto
import base64
import zlib
from google.protobuf import descriptor_pb2
# Includes description of the api/v3/api_proto/users.proto and all of its transitive
# dependencies. Includes source code info.
FILE_DESCR... | 78.717949 | 86 | 0.881026 | 2,102 | 49,120 | 20.578021 | 0.942436 | 0.001942 | 0.001965 | 0.001202 | 0.003745 | 0.002867 | 0.001803 | 0.001803 | 0.001803 | 0 | 0 | 0.155437 | 0.063009 | 49,120 | 623 | 87 | 78.844302 | 0.784378 | 0.004662 | 0 | 0 | 1 | 0.001629 | 0.905474 | 0.903326 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004886 | 0 | 0.004886 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
335cebb683406b05c650663b988913feac824b7a | 6,779 | py | Python | tests/test_dice_interface/test_explainer_base.py | soundarya98/DiCE | 44705b87de22bb6ce20f0b10ccb1d5b5586f0ff6 | [
"MIT"
] | null | null | null | tests/test_dice_interface/test_explainer_base.py | soundarya98/DiCE | 44705b87de22bb6ce20f0b10ccb1d5b5586f0ff6 | [
"MIT"
] | null | null | null | tests/test_dice_interface/test_explainer_base.py | soundarya98/DiCE | 44705b87de22bb6ce20f0b10ccb1d5b5586f0ff6 | [
"MIT"
] | null | null | null | import pandas as pd
import pytest
from dice_ml.utils.exception import UserConfigValidationException
from dice_ml.explainer_interfaces.explainer_base import ExplainerBase
class TestExplainerBaseBinaryClassification:
def _verify_feature_importance(self, feature_importance):
if feature_importance is not No... | 52.960938 | 125 | 0.691105 | 753 | 6,779 | 5.759628 | 0.138114 | 0.066405 | 0.106064 | 0.094074 | 0.77496 | 0.747982 | 0.741757 | 0.729306 | 0.712474 | 0.644916 | 0 | 0.013828 | 0.231893 | 6,779 | 127 | 126 | 53.377953 | 0.81909 | 0.014899 | 0 | 0.441176 | 0 | 0 | 0.084995 | 0.057862 | 0 | 0 | 0 | 0 | 0.009804 | 1 | 0.078431 | false | 0 | 0.147059 | 0 | 0.264706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
335d5095ff4aa34eb7f50384443224f213167191 | 48 | py | Python | unasync_cli/__main__.py | leynier/unasync-cli | 19e5b6a20f230587a25e6bcac2c56b1765fc2e35 | [
"MIT"
] | 1 | 2021-10-21T00:53:47.000Z | 2021-10-21T00:53:47.000Z | unasync_cli/__main__.py | leynier/unasync-cli | 19e5b6a20f230587a25e6bcac2c56b1765fc2e35 | [
"MIT"
] | 1 | 2021-10-21T02:47:06.000Z | 2021-10-21T02:47:06.000Z | unasync_cli/__main__.py | leynier/unasync-cli | 19e5b6a20f230587a25e6bcac2c56b1765fc2e35 | [
"MIT"
] | null | null | null | from .main import app
app(prog_name="unasync")
| 12 | 24 | 0.75 | 8 | 48 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 3 | 25 | 16 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
33708cd0a0f4292850286618aea638f4eb35c294 | 132 | py | Python | metrics_tools/endpoint_base.py | Jonnyblacklabel/metrics_tools | 87634e22c49aaf0c3b767c94126248e640efc1cd | [
"MIT"
] | null | null | null | metrics_tools/endpoint_base.py | Jonnyblacklabel/metrics_tools | 87634e22c49aaf0c3b767c94126248e640efc1cd | [
"MIT"
] | null | null | null | metrics_tools/endpoint_base.py | Jonnyblacklabel/metrics_tools | 87634e22c49aaf0c3b767c94126248e640efc1cd | [
"MIT"
] | null | null | null | class BaseEndpoint():
def __repr__(self):
return f'<metrics.tools Endpoint [{self.endpoint}]>'
if __name__ == '__main__':
pass | 18.857143 | 54 | 0.704545 | 16 | 132 | 5.0625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 132 | 7 | 55 | 18.857143 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0.37594 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
682ae20e0a3cbd003aee4509451f2cc9efee9503 | 96 | py | Python | python/fastcampus_python_all_in_one/1.python_basic/section4.py | RollLife/oddmentsLabs | 82ee4d2413edc153a89f31a7a70328949cb069a5 | [
"MIT"
] | null | null | null | python/fastcampus_python_all_in_one/1.python_basic/section4.py | RollLife/oddmentsLabs | 82ee4d2413edc153a89f31a7a70328949cb069a5 | [
"MIT"
] | null | null | null | python/fastcampus_python_all_in_one/1.python_basic/section4.py | RollLife/oddmentsLabs | 82ee4d2413edc153a89f31a7a70328949cb069a5 | [
"MIT"
] | null | null | null | # list
a = 'orange'
print(a[::-1])
print(a[1:4:2])
b = [1,2,3,34,5, 1]
print(b.count(1))
| 6.857143 | 19 | 0.489583 | 22 | 96 | 2.136364 | 0.545455 | 0.255319 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 0.197917 | 96 | 13 | 20 | 7.384615 | 0.454545 | 0.041667 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
68529c94b99f52dcfc4af7e84dfb3c9335491681 | 160 | py | Python | tests/test_TypewriterPrint.py | radroid/typerwriter-effect | 586b7949b42e125950b991304006a198449f82fc | [
"MIT"
] | 1 | 2020-07-24T06:39:52.000Z | 2020-07-24T06:39:52.000Z | tests/test_TypewriterPrint.py | radroid/typerwriter-effect | 586b7949b42e125950b991304006a198449f82fc | [
"MIT"
] | null | null | null | tests/test_TypewriterPrint.py | radroid/typerwriter-effect | 586b7949b42e125950b991304006a198449f82fc | [
"MIT"
] | null | null | null | from TypewriterPrint import TypewriterPrint as tp
import pytest
def test_speed_error():
with pytest.raises(UserWarning):
tp.print_tw("hi", 21000)
| 20 | 49 | 0.74375 | 21 | 160 | 5.52381 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037879 | 0.175 | 160 | 7 | 50 | 22.857143 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
687a97f763147fe67a32b559ff60663ec1b85519 | 675 | py | Python | button.py | geraldzm/Connect4 | cd025d93352bdab04261b49c33abc96f4dc289ec | [
"MIT"
] | null | null | null | button.py | geraldzm/Connect4 | cd025d93352bdab04261b49c33abc96f4dc289ec | [
"MIT"
] | null | null | null | button.py | geraldzm/Connect4 | cd025d93352bdab04261b49c33abc96f4dc289ec | [
"MIT"
] | null | null | null | from gameObject import GameObject
from pygame import Rect
# Maneja todos los botones
class Button(GameObject):
def __init__(self, x, y, width, height, icon=None):
super().__init__(x, y, icon)
self._rect = Rect(x, y, width, height)
self.width = width
self.height = height
# E:... | 23.275862 | 55 | 0.626667 | 95 | 675 | 4.336842 | 0.526316 | 0.024272 | 0.033981 | 0.063107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281481 | 675 | 28 | 56 | 24.107143 | 0.849485 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0.285714 | false | 0.071429 | 0.142857 | 0.142857 | 0.642857 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
6881d17ed6f544c4df8b6c7b700a273b5463afa9 | 76 | py | Python | aas_core_codegen/xsd/__init__.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 5 | 2021-12-29T12:55:34.000Z | 2022-03-01T17:57:21.000Z | aas_core_codegen/xsd/__init__.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 10 | 2021-12-29T02:15:55.000Z | 2022-03-09T11:04:22.000Z | aas_core_codegen/xsd/__init__.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 2 | 2021-12-29T01:42:12.000Z | 2022-02-15T13:46:33.000Z | """Generate XML Schema Definition (XSD) corresponding to the meta-model."""
| 38 | 75 | 0.75 | 10 | 76 | 5.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 76 | 1 | 76 | 76 | 0.850746 | 0.907895 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d7a3595b02463b831ebe47d7035960d0cd4dc1d1 | 77 | py | Python | Step1_Training_MSI_MSS/__init__.py | Gaskell-1206/MSI_vs_MSS_Classification | be6fd8a6961624367b2bb0e1299219e940f6f418 | [
"MIT"
] | null | null | null | Step1_Training_MSI_MSS/__init__.py | Gaskell-1206/MSI_vs_MSS_Classification | be6fd8a6961624367b2bb0e1299219e940f6f418 | [
"MIT"
] | null | null | null | Step1_Training_MSI_MSS/__init__.py | Gaskell-1206/MSI_vs_MSS_Classification | be6fd8a6961624367b2bb0e1299219e940f6f418 | [
"MIT"
] | null | null | null | from .train_tile_level_classification import MSI_MSS_Module, MSI_MSS_dataset
| 38.5 | 76 | 0.909091 | 12 | 77 | 5.25 | 0.833333 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064935 | 77 | 1 | 77 | 77 | 0.875 | 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 | 1 | 0 | 0 | 5 |
d7cc26e8f812fe941665c27fb5eb9c83596d8554 | 217 | py | Python | ignition/templating/__init__.py | sonali-pitre/ignition | 03c4bc7eac53159a1c7dbe2519eb2e366bd82304 | [
"Apache-2.0"
] | 1 | 2019-09-02T15:23:08.000Z | 2019-09-02T15:23:08.000Z | ignition/templating/__init__.py | sonali-pitre/ignition | 03c4bc7eac53159a1c7dbe2519eb2e366bd82304 | [
"Apache-2.0"
] | 62 | 2019-09-16T14:51:32.000Z | 2020-07-08T13:28:50.000Z | ignition/templating/__init__.py | sonali-pitre/ignition | 03c4bc7eac53159a1c7dbe2519eb2e366bd82304 | [
"Apache-2.0"
] | 4 | 2021-08-17T14:38:54.000Z | 2022-02-09T14:33:57.000Z | from .jinja_template import JinjaTemplate
from .resource_context_builder import ResourceContextBuilder, SYSTEM_PROPERTIES_KEY, DEPLOYMENT_LOCATION_KEY
from .exceptions import TemplatingError
from .syntax import Syntax | 54.25 | 108 | 0.894009 | 25 | 217 | 7.48 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078341 | 217 | 4 | 109 | 54.25 | 0.935 | 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 | 1 | 0 | 0 | 5 |
d7de9ae8be43687f4bf12456aefce1a12b5c9bb5 | 65 | py | Python | ytcomment_trends/controllers/google_api/__init__.py | 386jp/ytcomment_trends | e924e3ebe71e67c40bac5f67de2927716d5bc0ac | [
"MIT"
] | null | null | null | ytcomment_trends/controllers/google_api/__init__.py | 386jp/ytcomment_trends | e924e3ebe71e67c40bac5f67de2927716d5bc0ac | [
"MIT"
] | 3 | 2022-02-08T02:28:42.000Z | 2022-02-10T03:30:57.000Z | ytcomment_trends/controllers/google_api/__init__.py | 386jp/ytcomment_trends | e924e3ebe71e67c40bac5f67de2927716d5bc0ac | [
"MIT"
] | null | null | null | from .auth import GoogleAPIAuth
from .youtube import get_comments | 32.5 | 33 | 0.861538 | 9 | 65 | 6.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 65 | 2 | 33 | 32.5 | 0.948276 | 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 | 1 | 0 | 0 | 5 |
cc0a811d95467ede10b4a9f3dcc041c30ca5fa11 | 75 | py | Python | examples/path.py | scalabli/quo | 70b6d4129ee705930f1f8a792fc4c9247d973f9d | [
"MIT"
] | 3 | 2022-03-13T13:22:35.000Z | 2022-03-18T08:22:51.000Z | examples/path.py | scalabli/quo | 70b6d4129ee705930f1f8a792fc4c9247d973f9d | [
"MIT"
] | 1 | 2022-03-21T16:29:54.000Z | 2022-03-21T16:29:54.000Z | examples/path.py | scalabli/quo | 70b6d4129ee705930f1f8a792fc4c9247d973f9d | [
"MIT"
] | null | null | null | from quo.console import Console
console = Console()
console.find("quo")
| 10.714286 | 31 | 0.733333 | 10 | 75 | 5.5 | 0.5 | 0.763636 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 75 | 6 | 32 | 12.5 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cc105ca657ef9d440bae608c80e519ef4d2f0bb8 | 148 | py | Python | aoc_solver/lang/__init__.py | tcollier/aoc_solver | de63dbebd323d8a46deeab1f7fc45d20f70cfdae | [
"MIT"
] | 2 | 2021-12-14T18:13:16.000Z | 2021-12-14T18:42:45.000Z | aoc_solver/lang/__init__.py | tcollier/aoc_solver | de63dbebd323d8a46deeab1f7fc45d20f70cfdae | [
"MIT"
] | null | null | null | aoc_solver/lang/__init__.py | tcollier/aoc_solver | de63dbebd323d8a46deeab1f7fc45d20f70cfdae | [
"MIT"
] | null | null | null | import os, pkgutil
for _, module, _ in pkgutil.iter_modules([os.path.dirname(__file__)]):
__import__(".".join(["aoc_solver", "lang", module]))
| 29.6 | 70 | 0.689189 | 19 | 148 | 4.736842 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114865 | 148 | 4 | 71 | 37 | 0.687023 | 0 | 0 | 0 | 0 | 0 | 0.101351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cc171f33ddb03dbda485cb098eb3facf301b5949 | 423 | py | Python | tests/unit_tests/test_component/marketplace/spacewire_gateway_hvs_h8823/test_spacewire_gateway_utils_crc_8.py | ismaelJimenez/mamba_server | e6e2343291a0df24f226bde0d13e5bfa74cc3650 | [
"MIT"
] | null | null | null | tests/unit_tests/test_component/marketplace/spacewire_gateway_hvs_h8823/test_spacewire_gateway_utils_crc_8.py | ismaelJimenez/mamba_server | e6e2343291a0df24f226bde0d13e5bfa74cc3650 | [
"MIT"
] | null | null | null | tests/unit_tests/test_component/marketplace/spacewire_gateway_hvs_h8823/test_spacewire_gateway_utils_crc_8.py | ismaelJimenez/mamba_server | e6e2343291a0df24f226bde0d13e5bfa74cc3650 | [
"MIT"
] | null | null | null | from mamba.core.rmap_utils.crc_8 import crc_8
def test_crc_8():
# Test patterns from ECSS-E-50-11
assert crc_8(b'\x01\x02\x03\x04\x05\x06\x07\x08') == b'\xb0'
assert crc_8(
b'\x53\x70\x61\x63\x65\x57\x69\x72\x65\x20\x69\x73\x20\x62\x65\x61\x75\x74\x69\x66\x75\x6C\x21\x21'
) == b'\x84'
asse... | 32.538462 | 107 | 0.635934 | 87 | 423 | 3 | 0.655172 | 0.091954 | 0.114943 | 0.126437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29096 | 0.163121 | 423 | 12 | 108 | 35.25 | 0.446328 | 0.073286 | 0 | 0.222222 | 0 | 0.222222 | 0.523077 | 0.492308 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.111111 | true | 0 | 0.111111 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0bd97e185e2a7e7a926b20d5e2b384878337ede6 | 78 | py | Python | dpark/__init__.py | congmo/dpark | 3c7c43052a152e8966c9d0d5b786ef8d0bf5f51e | [
"BSD-3-Clause"
] | 1 | 2015-04-18T07:47:16.000Z | 2015-04-18T07:47:16.000Z | dpark/__init__.py | congmo/dpark | 3c7c43052a152e8966c9d0d5b786ef8d0bf5f51e | [
"BSD-3-Clause"
] | null | null | null | dpark/__init__.py | congmo/dpark | 3c7c43052a152e8966c9d0d5b786ef8d0bf5f51e | [
"BSD-3-Clause"
] | null | null | null | from context import DparkContext, parser as optParser
from bagel import Bagel
| 26 | 53 | 0.846154 | 11 | 78 | 6 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 78 | 2 | 54 | 39 | 0.985075 | 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 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.