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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
90b83c141f19001ea74be5f77aed29f7c055ef62 | 3,686 | py | Python | z2/part2/batch/jm/parser_errors_2/269298945.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part2/batch/jm/parser_errors_2/269298945.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part2/batch/jm/parser_errors_2/269298945.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | from part1 import (
gamma_board,
gamma_busy_fields,
gamma_delete,
gamma_free_fields,
gamma_golden_move,
gamma_golden_possible,
gamma_move,
gamma_new,
)
"""
scenario: test_random_actions
uuid: 269298945
"""
"""
random actions, total chaos
"""
board = gamma_new(5, 4, 2, 6)
assert board is... | 30.97479 | 46 | 0.657895 | 672 | 3,686 | 3.450893 | 0.061012 | 0.34627 | 0.375162 | 0.500216 | 0.790427 | 0.789133 | 0.668392 | 0.584304 | 0.499353 | 0.488141 | 0 | 0.130319 | 0.183939 | 3,686 | 118 | 47 | 31.237288 | 0.640625 | 0 | 0 | 0.333333 | 0 | 0 | 0.015564 | 0 | 0 | 0 | 0 | 0 | 0.764706 | 1 | 0 | false | 0 | 0.009804 | 0 | 0.009804 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
90fe58762a9853e240c6462b0eb4e0dd09b32db4 | 164 | py | Python | src/kong/exceptions.py | SpazioDati/python-kong | fbfc0a357a5ea0471c2dc138bcbe521349ded965 | [
"BSD-2-Clause"
] | null | null | null | src/kong/exceptions.py | SpazioDati/python-kong | fbfc0a357a5ea0471c2dc138bcbe521349ded965 | [
"BSD-2-Clause"
] | null | null | null | src/kong/exceptions.py | SpazioDati/python-kong | fbfc0a357a5ea0471c2dc138bcbe521349ded965 | [
"BSD-2-Clause"
] | 1 | 2020-01-17T06:55:00.000Z | 2020-01-17T06:55:00.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals, print_function
class ConflictError(Exception):
pass
class ServerError(Exception):
pass
| 14.909091 | 55 | 0.731707 | 18 | 164 | 6.333333 | 0.833333 | 0.22807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.170732 | 164 | 10 | 56 | 16.4 | 0.830882 | 0.128049 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
29027cc0a2f5770fd0fd19fa0c0cf2a211c23df3 | 870 | py | Python | storm_control/test/__init__.py | shiwei23/STORM6 | 669067503ebd164b575ce529fcc4a9a3f576b3d7 | [
"MIT"
] | 47 | 2015-02-11T16:05:54.000Z | 2022-03-26T14:13:12.000Z | storm_control/test/__init__.py | shiwei23/STORM6 | 669067503ebd164b575ce529fcc4a9a3f576b3d7 | [
"MIT"
] | 110 | 2015-01-30T03:53:41.000Z | 2021-11-03T15:58:44.000Z | storm_control/test/__init__.py | shiwei23/STORM6 | 669067503ebd164b575ce529fcc4a9a3f576b3d7 | [
"MIT"
] | 61 | 2015-01-09T18:31:27.000Z | 2021-12-21T13:07:51.000Z | #!/usr/bin/env python
import os
def dataDirectory():
return os.path.join(os.path.dirname(os.path.abspath(__file__)), "data/")
def daveXmlFilePathAndName(filename):
return os.path.join(os.path.dirname(os.path.abspath(__file__)), "dave_xml", filename)
def halXmlFilePathAndName(filename):
return os.path.jo... | 34.8 | 91 | 0.744828 | 117 | 870 | 5.273504 | 0.239316 | 0.204214 | 0.136143 | 0.181524 | 0.58671 | 0.58671 | 0.58671 | 0.58671 | 0.58671 | 0.58671 | 0 | 0 | 0.096552 | 870 | 24 | 92 | 36.25 | 0.784987 | 0.022989 | 0 | 0 | 0 | 0 | 0.050648 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | false | 0 | 0.066667 | 0.466667 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
291268307d9f0ddc0f4c38b786447465cafe808b | 305 | py | Python | orttraining/orttraining/python/training/optim/__init__.py | lchang20/onnxruntime | 97b8f6f394ae02c73ed775f456fd85639c91ced1 | [
"MIT"
] | 1 | 2022-03-16T11:30:16.000Z | 2022-03-16T11:30:16.000Z | orttraining/orttraining/python/training/optim/__init__.py | lchang20/onnxruntime | 97b8f6f394ae02c73ed775f456fd85639c91ced1 | [
"MIT"
] | 10 | 2022-02-15T21:52:24.000Z | 2022-02-23T21:26:01.000Z | orttraining/orttraining/python/training/optim/__init__.py | lchang20/onnxruntime | 97b8f6f394ae02c73ed775f456fd85639c91ced1 | [
"MIT"
] | null | null | null | from .config import _OptimizerConfig, AdamConfig, LambConfig, SGDConfig
from .lr_scheduler import _LRScheduler, ConstantWarmupLRScheduler, CosineWarmupLRScheduler,\
LinearWarmupLRScheduler, PolyWarmupLRScheduler
from .fused_adam import FusedAdam, AdamWMode
from .fp16_optimizer import FP16_Optimizer
| 43.571429 | 92 | 0.862295 | 28 | 305 | 9.178571 | 0.714286 | 0.101167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.095082 | 305 | 6 | 93 | 50.833333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 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 |
29149f486db47f946e722da6d0f9834f2c634b09 | 189 | py | Python | Services/FacesLocator.py | miguel-kjh/ReID-in-Sport-competitions | c7abd47e6ce659aa73e76f797215941a11416981 | [
"MIT"
] | 5 | 2021-06-30T07:41:42.000Z | 2022-01-20T17:57:36.000Z | Services/FacesLocator.py | miguel-kjh/ReID-in-Sport-competitions | c7abd47e6ce659aa73e76f797215941a11416981 | [
"MIT"
] | null | null | null | Services/FacesLocator.py | miguel-kjh/ReID-in-Sport-competitions | c7abd47e6ce659aa73e76f797215941a11416981 | [
"MIT"
] | null | null | null | from abc import abstractmethod
from Domain.FacesCollection import FacesCollection
class FacesLocator:
@abstractmethod
def locate(self, file: str) -> FacesCollection:
pass | 21 | 51 | 0.756614 | 19 | 189 | 7.526316 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 189 | 9 | 52 | 21 | 0.934641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
2940752032dedd900b99f13119d37d7b3a695e6a | 16 | py | Python | examples/int/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/int/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/int/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | print(int(5.5))
| 8 | 15 | 0.625 | 4 | 16 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.0625 | 16 | 1 | 16 | 16 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
297ad37f13b67c5b718867ebf1a9ad4b797a5179 | 3,734 | py | Python | tests/phase0/block_processing/test_process_deposit.py | hwwhww/eth2.0-specs | 729757d4279db4535b176361d67d1567c0df314b | [
"CC0-1.0"
] | 3 | 2020-07-22T14:51:07.000Z | 2022-01-02T12:02:45.000Z | tests/phase0/block_processing/test_process_deposit.py | hwwhww/eth2.0-specs | 729757d4279db4535b176361d67d1567c0df314b | [
"CC0-1.0"
] | null | null | null | tests/phase0/block_processing/test_process_deposit.py | hwwhww/eth2.0-specs | 729757d4279db4535b176361d67d1567c0df314b | [
"CC0-1.0"
] | null | null | null | from copy import deepcopy
import pytest
import build.phase0.spec as spec
from build.phase0.spec import (
Deposit,
process_deposit,
)
from tests.phase0.helpers import (
build_deposit,
)
# mark entire file as 'voluntary_exits'
pytestmark = pytest.mark.voluntary_exits
def test_success(state, deposit_data... | 28.075188 | 82 | 0.72978 | 474 | 3,734 | 5.398734 | 0.130802 | 0.081282 | 0.126221 | 0.074248 | 0.789371 | 0.761235 | 0.761235 | 0.761235 | 0.732317 | 0.732317 | 0 | 0.006319 | 0.194697 | 3,734 | 132 | 83 | 28.287879 | 0.844696 | 0.021693 | 0 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 1 | 0.043011 | false | 0 | 0.053763 | 0 | 0.139785 | 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 |
297ad51178c65611a1bb2760695fd6131e60c7c4 | 223 | py | Python | payment/admin.py | satsuma-ken/PurchaseManagement | c6eda5c673520fc98b23da137cd26c1cc384809c | [
"BSD-3-Clause"
] | null | null | null | payment/admin.py | satsuma-ken/PurchaseManagement | c6eda5c673520fc98b23da137cd26c1cc384809c | [
"BSD-3-Clause"
] | null | null | null | payment/admin.py | satsuma-ken/PurchaseManagement | c6eda5c673520fc98b23da137cd26c1cc384809c | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from payment.models import *
admin.site.register(Company)
admin.site.register(Department)
admin.site.register(Currency)
admin.site.register(Bills_Header)
admin.site.register(Bills_Detail)
| 22.3 | 33 | 0.829596 | 31 | 223 | 5.903226 | 0.483871 | 0.245902 | 0.464481 | 0.240437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067265 | 223 | 9 | 34 | 24.777778 | 0.879808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2983c08c163296c60a69ac5c29fdeb3bb13e53e2 | 40 | py | Python | fake_success.py | rmorgan10/error_cat | 5d0c17f9636255f34926570e5ce4a4e49a47ddf9 | [
"MIT"
] | 3 | 2019-10-31T14:21:41.000Z | 2020-04-23T13:45:00.000Z | fake_success.py | rmorgan10/error_cat | 5d0c17f9636255f34926570e5ce4a4e49a47ddf9 | [
"MIT"
] | null | null | null | fake_success.py | rmorgan10/error_cat | 5d0c17f9636255f34926570e5ce4a4e49a47ddf9 | [
"MIT"
] | 1 | 2019-12-12T21:55:30.000Z | 2019-12-12T21:55:30.000Z | # a code that works
if 5 > 3:
pass
| 8 | 19 | 0.55 | 8 | 40 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.375 | 40 | 4 | 20 | 10 | 0.8 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
463129e063ffbda100a1d1e205e2d007c145e5d2 | 84 | py | Python | utils/graph/__init__.py | Guangjun-A/---11- | 43ecfae86e5785410d5812d22700bf32397a75e1 | [
"Apache-2.0"
] | null | null | null | utils/graph/__init__.py | Guangjun-A/---11- | 43ecfae86e5785410d5812d22700bf32397a75e1 | [
"Apache-2.0"
] | null | null | null | utils/graph/__init__.py | Guangjun-A/---11- | 43ecfae86e5785410d5812d22700bf32397a75e1 | [
"Apache-2.0"
] | null | null | null | from . import tools
from . import ntu_rgb_d
from . import kinetics
from . import fsd | 21 | 23 | 0.77381 | 14 | 84 | 4.5 | 0.571429 | 0.634921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 84 | 4 | 24 | 21 | 0.913043 | 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 |
463bc80934e144f36327c37444fe895ea5c1a587 | 66 | py | Python | jax_audio/utils/__init__.py | machineko/jaxaudio | 7320a4ecd8f267e206c36be3551f919faa08d3b0 | [
"MIT"
] | 2 | 2021-02-24T08:42:01.000Z | 2021-05-11T15:47:11.000Z | jax_audio/utils/__init__.py | machineko/jaxaudio | 7320a4ecd8f267e206c36be3551f919faa08d3b0 | [
"MIT"
] | 1 | 2021-02-21T23:17:48.000Z | 2021-02-21T23:42:23.000Z | jax_audio/utils/__init__.py | machineko/jaxaudio | 7320a4ecd8f267e206c36be3551f919faa08d3b0 | [
"MIT"
] | null | null | null | from jax_audio.utils.audio_utils import read_wav, write_wav, stft
| 33 | 65 | 0.848485 | 12 | 66 | 4.333333 | 0.75 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 66 | 1 | 66 | 66 | 0.866667 | 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 |
4646f351ef11026d9213ffd8976f82a1235bccab | 106 | py | Python | lib/enthought/etsconfig/api.py | mattfoster/matplotlib | 0b47697b19b77226c633ec6a3d74a2199a153315 | [
"PSF-2.0",
"BSD-3-Clause"
] | 1 | 2016-05-08T18:33:12.000Z | 2016-05-08T18:33:12.000Z | lib/enthought/etsconfig/api.py | mattfoster/matplotlib | 0b47697b19b77226c633ec6a3d74a2199a153315 | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | lib/enthought/etsconfig/api.py | mattfoster/matplotlib | 0b47697b19b77226c633ec6a3d74a2199a153315 | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | from enthought.etsconfig.version import version, version as __version__
from etsconfig import ETSConfig
| 21.2 | 71 | 0.849057 | 13 | 106 | 6.615385 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 106 | 4 | 72 | 26.5 | 0.924731 | 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 |
465f9cc58844455d3c67b3a794b9bc1a7ac028db | 114 | py | Python | eachday/log.py | bcongdon/EveryDay | e09bc7d8a4bdfd5775e90492ba282a0c49a2c67c | [
"MIT"
] | 4 | 2017-06-10T19:38:44.000Z | 2021-08-19T12:39:25.000Z | eachday/log.py | bcongdon/EachDay | e09bc7d8a4bdfd5775e90492ba282a0c49a2c67c | [
"MIT"
] | 7 | 2017-05-28T04:36:58.000Z | 2018-03-01T04:43:32.000Z | eachday/log.py | bcongdon/EveryDay | e09bc7d8a4bdfd5775e90492ba282a0c49a2c67c | [
"MIT"
] | 4 | 2018-07-07T15:24:08.000Z | 2020-10-19T14:32:04.000Z | from werkzeug.local import LocalProxy
from flask import current_app
log = LocalProxy(lambda: current_app.logger)
| 22.8 | 44 | 0.833333 | 16 | 114 | 5.8125 | 0.6875 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114035 | 114 | 4 | 45 | 28.5 | 0.920792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4661c37353b3e408cd76ba0b1aed4992f3bdb864 | 29 | py | Python | proposals/utils/__init__.py | mindruion/test | d27ef1caf8f76aead934bc83be7729f79a4be503 | [
"MIT"
] | 2 | 2017-04-22T11:07:13.000Z | 2018-03-02T12:23:24.000Z | proposals/utils/__init__.py | mindruion/test | d27ef1caf8f76aead934bc83be7729f79a4be503 | [
"MIT"
] | 124 | 2020-04-30T07:06:58.000Z | 2022-03-28T12:50:16.000Z | proposals/utils/__init__.py | mindruion/test | d27ef1caf8f76aead934bc83be7729f79a4be503 | [
"MIT"
] | 1 | 2021-08-04T11:44:21.000Z | 2021-08-04T11:44:21.000Z | from .proposal_utils import * | 29 | 29 | 0.827586 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.884615 | 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 |
466cb3cb514b6a32ba6cba2f0e04159ccb298fb4 | 10,481 | py | Python | plenum/test/checkpoints/test_backup_replica_resumes_ordering_on_lag_in_checkpoints.py | Toktar/indy-plenum | 2f1f838332b0506f8dd8837ac341cba0cd3f7ff4 | [
"Apache-2.0"
] | null | null | null | plenum/test/checkpoints/test_backup_replica_resumes_ordering_on_lag_in_checkpoints.py | Toktar/indy-plenum | 2f1f838332b0506f8dd8837ac341cba0cd3f7ff4 | [
"Apache-2.0"
] | null | null | null | plenum/test/checkpoints/test_backup_replica_resumes_ordering_on_lag_in_checkpoints.py | Toktar/indy-plenum | 2f1f838332b0506f8dd8837ac341cba0cd3f7ff4 | [
"Apache-2.0"
] | null | null | null | import pytest
from plenum.common.constants import DOMAIN_LEDGER_ID
from plenum.server.replica import Replica
from plenum.test import waits
from plenum.test.delayers import cDelay, chk_delay
from plenum.test.helper import sdk_send_random_requests, assertExp, sdk_send_random_and_check, assert_eq
from stp_core.loop.event... | 45.372294 | 119 | 0.732182 | 1,324 | 10,481 | 5.524169 | 0.164653 | 0.082718 | 0.044162 | 0.028439 | 0.844681 | 0.811731 | 0.738994 | 0.719716 | 0.691414 | 0.666803 | 0 | 0.007368 | 0.210094 | 10,481 | 230 | 120 | 45.569565 | 0.876072 | 0.256941 | 0 | 0.612403 | 0 | 0 | 0.00078 | 0 | 0 | 0 | 0 | 0 | 0.27907 | 1 | 0.023256 | false | 0 | 0.054264 | 0 | 0.077519 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d3b25408f8f2d2f8b7029cae77c4fc2eb75cc42d | 28 | py | Python | src/aio_dtls/tls/record_layer.py | businka/aio_dtls | 0dba40d425b443e5ceb516011aadf58f573a4dc8 | [
"MIT"
] | null | null | null | src/aio_dtls/tls/record_layer.py | businka/aio_dtls | 0dba40d425b443e5ceb516011aadf58f573a4dc8 | [
"MIT"
] | null | null | null | src/aio_dtls/tls/record_layer.py | businka/aio_dtls | 0dba40d425b443e5ceb516011aadf58f573a4dc8 | [
"MIT"
] | null | null | null | class RecordLayer:
pass
| 9.333333 | 18 | 0.714286 | 3 | 28 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 2 | 19 | 14 | 0.952381 | 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 |
d3d54d1ebe1a8c9df759068ad4e758a2ccf0033c | 84 | py | Python | 1_review/hello.py | nicholasjamesbaker/asd-class | c524971f800d649f4e18cc1e555c348029f6af1b | [
"MIT"
] | 2 | 2022-01-17T13:13:23.000Z | 2022-03-02T18:25:24.000Z | 1_review/hello.py | nicholasjamesbaker/asd-class | c524971f800d649f4e18cc1e555c348029f6af1b | [
"MIT"
] | null | null | null | 1_review/hello.py | nicholasjamesbaker/asd-class | c524971f800d649f4e18cc1e555c348029f6af1b | [
"MIT"
] | 3 | 2022-01-12T17:58:44.000Z | 2022-01-16T15:17:58.000Z | print('Hello, World!')
print("welcome to CP1895!")
print('Great work everyone!!!') | 16.8 | 31 | 0.678571 | 11 | 84 | 5.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 0.107143 | 84 | 5 | 31 | 16.8 | 0.706667 | 0 | 0 | 0 | 0 | 0 | 0.623529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
d3f4a0282e44b5a1900b7029370f8f4985a35b4e | 52 | py | Python | recognition/__init__.py | kalenforn/MMVA | 1e4ec5417d4497a14f226fab8a66fe065a9f0f65 | [
"MIT"
] | 4 | 2021-12-16T08:17:49.000Z | 2022-03-12T10:14:50.000Z | recognition/__init__.py | kalenforn/video-content-clean | 4b6e572ec034fbe2e668c250cff8e1c9a13dd0e0 | [
"MIT"
] | null | null | null | recognition/__init__.py | kalenforn/video-content-clean | 4b6e572ec034fbe2e668c250cff8e1c9a13dd0e0 | [
"MIT"
] | 1 | 2021-12-14T08:17:41.000Z | 2021-12-14T08:17:41.000Z | # from .recognitionProcess import RecognitionProcess | 52 | 52 | 0.884615 | 4 | 52 | 11.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 52 | 1 | 52 | 52 | 0.958333 | 0.961538 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 1 | 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 |
d3fda5538d02a0c4edf46fd1b2d1878414c279cd | 14,251 | py | Python | tests/engine/path_helper.py | infosecjosh/plaso | 7b5fc33591c60e89afc231a451449d40e02d8985 | [
"Apache-2.0"
] | null | null | null | tests/engine/path_helper.py | infosecjosh/plaso | 7b5fc33591c60e89afc231a451449d40e02d8985 | [
"Apache-2.0"
] | null | null | null | tests/engine/path_helper.py | infosecjosh/plaso | 7b5fc33591c60e89afc231a451449d40e02d8985 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for the path helper."""
from __future__ import unicode_literals
import os
import unittest
from dfvfs.lib import definitions as dfvfs_definitions
from dfvfs.path import factory as path_spec_factory
from plaso.containers import artifacts
from plaso.engine import ... | 39.807263 | 78 | 0.701214 | 1,485 | 14,251 | 6.470034 | 0.129293 | 0.030808 | 0.066611 | 0.034971 | 0.812032 | 0.791632 | 0.75843 | 0.718047 | 0.688489 | 0.650812 | 0 | 0.008322 | 0.165252 | 14,251 | 357 | 79 | 39.918768 | 0.799344 | 0.119641 | 0 | 0.568465 | 0 | 0 | 0.184481 | 0.127267 | 0 | 0 | 0 | 0 | 0.153527 | 1 | 0.037344 | false | 0 | 0.033195 | 0 | 0.074689 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
31577405f53748d7365a5f8d794f83bd260f696d | 32 | py | Python | python/testData/completion/mockPatchObject2Py2/a.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/mockPatchObject2Py2/a.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/mockPatchObject2Py2/a.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import mock
mock.patch.object() | 10.666667 | 19 | 0.78125 | 5 | 32 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 3 | 19 | 10.666667 | 0.862069 | 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 |
3163d84aecc0a1cc5bff12f3a8c6cb19c7f9f516 | 32 | py | Python | tests/conftest.py | pretix-unofficial/pretix-hide-sold-out | 9a529586e44e2a6f7fb2e60b0ae578805d725185 | [
"Apache-2.0"
] | 3 | 2021-04-25T13:10:48.000Z | 2021-06-24T22:35:44.000Z | tests/conftest.py | pretix-unofficial/pretix-hide-sold-out | 9a529586e44e2a6f7fb2e60b0ae578805d725185 | [
"Apache-2.0"
] | 6 | 2021-04-24T20:47:51.000Z | 2021-08-29T13:56:14.000Z | tests/conftest.py | pretix-unofficial/pretix-hide-sold-out | 9a529586e44e2a6f7fb2e60b0ae578805d725185 | [
"Apache-2.0"
] | 1 | 2021-03-25T12:02:38.000Z | 2021-03-25T12:02:38.000Z | # put your pytest fixtures here
| 16 | 31 | 0.78125 | 5 | 32 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 1 | 32 | 32 | 0.961538 | 0.90625 | 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 |
317d5f03a8b2856ea2549182d7ae07feae81ac8e | 1,013 | py | Python | openstack/tests/functional/cloud/test_coe_clusters.py | NeCTAR-RC/openstacksdk | 60a24f6c4717a1f9a0e545c9a07e68afaedc5a27 | [
"Apache-2.0"
] | 99 | 2018-03-28T15:41:45.000Z | 2022-01-23T17:22:13.000Z | openstack/tests/functional/cloud/test_coe_clusters.py | NeCTAR-RC/openstacksdk | 60a24f6c4717a1f9a0e545c9a07e68afaedc5a27 | [
"Apache-2.0"
] | 5 | 2018-05-25T16:54:23.000Z | 2021-11-21T02:27:16.000Z | openstack/tests/functional/cloud/test_coe_clusters.py | NeCTAR-RC/openstacksdk | 60a24f6c4717a1f9a0e545c9a07e68afaedc5a27 | [
"Apache-2.0"
] | 104 | 2018-04-06T14:33:54.000Z | 2022-03-01T01:58:09.000Z | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | 34.931034 | 78 | 0.729516 | 147 | 1,013 | 5.013605 | 0.680272 | 0.081411 | 0.035278 | 0.043419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00479 | 0.175716 | 1,013 | 28 | 79 | 36.178571 | 0.877844 | 0.846989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
9ede305ba64c653ed6bebf4131ea7f08725dea79 | 1,668 | py | Python | pyaz/redis/server_link/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/redis/server_link/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/redis/server_link/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | from ... pyaz_utils import _call_az
def create(name, replication_role, resource_group, server_to_link):
'''
Adds a server link to the Redis cache (requires Premium SKU).
Required Parameters:
- name -- Name of the Redis cache.
- replication_role -- Role of the redis cache to be linked
- resourc... | 33.36 | 128 | 0.688249 | 230 | 1,668 | 4.847826 | 0.182609 | 0.13991 | 0.081614 | 0.069955 | 0.788341 | 0.769507 | 0.769507 | 0.698655 | 0.64574 | 0.64574 | 0 | 0 | 0.217026 | 1,668 | 49 | 129 | 34.040816 | 0.853752 | 0.615707 | 0 | 0 | 0 | 0 | 0.204322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
9ee9e43fb933937966fce62df5a87a85d97bf199 | 69 | py | Python | app/model/__init__.py | metaspace2020/sm-molecular-db | 5b40e4e84d94e433339f32f1af998acaffa7ef8f | [
"Apache-2.0"
] | null | null | null | app/model/__init__.py | metaspace2020/sm-molecular-db | 5b40e4e84d94e433339f32f1af998acaffa7ef8f | [
"Apache-2.0"
] | null | null | null | app/model/__init__.py | metaspace2020/sm-molecular-db | 5b40e4e84d94e433339f32f1af998acaffa7ef8f | [
"Apache-2.0"
] | null | null | null | from .molecular_db import MolecularDB
from .molecule import Molecule
| 23 | 37 | 0.855072 | 9 | 69 | 6.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 2 | 38 | 34.5 | 0.95082 | 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 |
9eea7dce71fbd9b353412cc480612e8f41f24e6a | 274 | py | Python | dragonfly/exceptions.py | MattJMLewis/dragonfly | 1374d78acc33624e9ba1d2b3d20e7ae198fe178f | [
"MIT"
] | null | null | null | dragonfly/exceptions.py | MattJMLewis/dragonfly | 1374d78acc33624e9ba1d2b3d20e7ae198fe178f | [
"MIT"
] | null | null | null | dragonfly/exceptions.py | MattJMLewis/dragonfly | 1374d78acc33624e9ba1d2b3d20e7ae198fe178f | [
"MIT"
] | null | null | null | class MethodDoesNotExist(Exception):
pass
class InvalidControllerMethod(Exception):
pass
class MissingClause(Exception):
pass
class MissingTable(Exception):
pass
class InvalidOperator(Exception):
pass
class ChunkOutOfRange(Exception):
pass
| 11.913043 | 41 | 0.744526 | 24 | 274 | 8.5 | 0.375 | 0.382353 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189781 | 274 | 22 | 42 | 12.454545 | 0.918919 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7355853d745585c161b3f3e4c10660e7d2240a17 | 932 | py | Python | Lib/encodings/iso8859_1.py | marcosptf/cpython-2.0.1 | 73c739a764e8b1dc84640e73b880bc66e1916bca | [
"PSF-2.0"
] | 5 | 2022-03-26T21:53:36.000Z | 2022-03-30T21:47:20.000Z | Lib/encodings/iso8859_1.py | marcosptf/cpython-2.0.1 | 73c739a764e8b1dc84640e73b880bc66e1916bca | [
"PSF-2.0"
] | 6 | 2020-11-18T15:48:14.000Z | 2021-05-03T21:20:50.000Z | Lib/encodings/iso8859_1.py | marcosptf/cpython-2.0.1 | 73c739a764e8b1dc84640e73b880bc66e1916bca | [
"PSF-2.0"
] | 2 | 2015-07-16T08:14:13.000Z | 2022-03-27T01:55:17.000Z | """ Python Character Mapping Codec generated from '8859-1.TXT'.
Written by Marc-Andre Lemburg (mal@lemburg.com).
(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
"""#"
import codecs
### Codec APIs
class Codec(codecs.Codec):
def encode(self,input,errors='strict'):
return codecs.charmap_encode(i... | 18.64 | 68 | 0.701717 | 115 | 932 | 5.547826 | 0.469565 | 0.068966 | 0.047022 | 0.065831 | 0.125392 | 0.125392 | 0.125392 | 0 | 0 | 0 | 0 | 0.006477 | 0.171674 | 932 | 49 | 69 | 19.020408 | 0.819948 | 0.241416 | 0 | 0 | 1 | 0 | 0.026239 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.055556 | 0.055556 | 0.166667 | 0.611111 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
b4031ee6527d9c715b9e985201515c539d532fb3 | 518 | py | Python | fc_sql/ISQLHandler.py | fangqk1991/py-sql | 61acf9c4ca8fe3544a9d6b79fd338f3548f2f838 | [
"MIT"
] | null | null | null | fc_sql/ISQLHandler.py | fangqk1991/py-sql | 61acf9c4ca8fe3544a9d6b79fd338f3548f2f838 | [
"MIT"
] | null | null | null | fc_sql/ISQLHandler.py | fangqk1991/py-sql | 61acf9c4ca8fe3544a9d6b79fd338f3548f2f838 | [
"MIT"
] | null | null | null | import abc
from abc import ABCMeta
class ISQLHandler(metaclass=ABCMeta):
def __init__(self):
pass
@abc.abstractmethod
def sql_instance(self):
pass
@abc.abstractmethod
def sql_table(self):
pass
@abc.abstractmethod
def sql_cols(self):
pass
def sql_ins... | 16.709677 | 41 | 0.646718 | 62 | 518 | 5.145161 | 0.33871 | 0.112853 | 0.250784 | 0.288401 | 0.423197 | 0.291536 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277992 | 518 | 30 | 42 | 17.266667 | 0.852941 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.238095 | 0.095238 | 0.095238 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
b4074b4c6e9f478c3f944b260cde76d2795314b4 | 138 | py | Python | keras/objectives.py | PJmouraocs/keras | 7a39b6c62d43c25472b2c2476bd2a8983ae4f682 | [
"MIT"
] | 300 | 2018-04-04T05:01:21.000Z | 2022-02-25T18:56:04.000Z | keras/objectives.py | PJmouraocs/keras | 7a39b6c62d43c25472b2c2476bd2a8983ae4f682 | [
"MIT"
] | 163 | 2018-04-03T17:41:22.000Z | 2021-09-03T16:44:04.000Z | keras/objectives.py | PJmouraocs/keras | 7a39b6c62d43c25472b2c2476bd2a8983ae4f682 | [
"MIT"
] | 94 | 2016-02-17T20:59:27.000Z | 2021-04-19T08:18:16.000Z | """Legacy objectives module.
Only kept for backwards API compatibility.
"""
from __future__ import absolute_import
from .losses import *
| 19.714286 | 42 | 0.789855 | 17 | 138 | 6.117647 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137681 | 138 | 6 | 43 | 23 | 0.87395 | 0.5 | 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 |
b40d12650e58191184f6ae48d0e0559ba5348022 | 117 | py | Python | toai/inpute/__init__.py | KipperPipper/Library_test | bdc35c2f1a6f2deadb4d0b00e3f4d5c8a597efdf | [
"MIT"
] | 1 | 2019-11-22T13:12:11.000Z | 2019-11-22T13:12:11.000Z | toai/inpute/__init__.py | KipperPipper/Library_test | bdc35c2f1a6f2deadb4d0b00e3f4d5c8a597efdf | [
"MIT"
] | null | null | null | toai/inpute/__init__.py | KipperPipper/Library_test | bdc35c2f1a6f2deadb4d0b00e3f4d5c8a597efdf | [
"MIT"
] | null | null | null | # pylama:ignore=W0611
from .CategoricalInputer import CategoricalInputer
from .NumericInputer import NumericInputer
| 23.4 | 50 | 0.863248 | 11 | 117 | 9.181818 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.094017 | 117 | 4 | 51 | 29.25 | 0.915094 | 0.162393 | 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 |
b4321a50c7a068ab190c2ec2906462146523c22f | 50,095 | py | Python | ryu/tests/unit/packet/test_sctp.py | xiaolanxia/ryu-gui | b47fa61dd307e180ed261a43ad85c7b73b982f84 | [
"Apache-2.0"
] | 11 | 2015-06-19T03:46:20.000Z | 2020-08-21T02:22:30.000Z | ryu/tests/unit/packet/test_sctp.py | horms/ryu | 8728c11e1280b9c6bd4b7a68c5d2fbe4ec5f2ad3 | [
"Apache-2.0"
] | null | null | null | ryu/tests/unit/packet/test_sctp.py | horms/ryu | 8728c11e1280b9c6bd4b7a68c5d2fbe4ec5f2ad3 | [
"Apache-2.0"
] | 9 | 2015-05-22T09:00:08.000Z | 2021-01-24T02:46:36.000Z | # Copyright (C) 2013 Nippon Telegraph and Telephone Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | 34.453232 | 78 | 0.605689 | 7,182 | 50,095 | 3.895712 | 0.052632 | 0.032596 | 0.044605 | 0.058329 | 0.832553 | 0.792523 | 0.754673 | 0.727689 | 0.678366 | 0.608814 | 0 | 0.071563 | 0.268889 | 50,095 | 1,453 | 79 | 34.476944 | 0.692369 | 0.013255 | 0 | 0.592718 | 0 | 0.013548 | 0.081537 | 0.055451 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102456 | false | 0.000847 | 0.011008 | 0 | 0.115157 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b4336d3ef323c89a0fff7cb7303fcc2deb60c1ca | 103 | py | Python | script.service.hue/resources/lib/qhue/__init__.py | toupeira/script.service.hue | c2811ef792b67084ab2e82c91aaa0947d9cb90d3 | [
"MIT"
] | null | null | null | script.service.hue/resources/lib/qhue/__init__.py | toupeira/script.service.hue | c2811ef792b67084ab2e82c91aaa0947d9cb90d3 | [
"MIT"
] | null | null | null | script.service.hue/resources/lib/qhue/__init__.py | toupeira/script.service.hue | c2811ef792b67084ab2e82c91aaa0947d9cb90d3 | [
"MIT"
] | null | null | null | from .qhue import Bridge, QhueException#, create_new_username
#from .qhue_remote import RemoteBridge
| 34.333333 | 62 | 0.825243 | 13 | 103 | 6.307692 | 0.769231 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 103 | 2 | 63 | 51.5 | 0.901099 | 0.563107 | 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 |
b44eacd7725398b4038249159a8891c620fa37bf | 1,095 | py | Python | Config/ConfigGetter.py | lkeme/NeteaseMusicLottery | 5bae0eb78a786acad0b9fa2c7df1d51eed0796e9 | [
"MIT"
] | 27 | 2019-03-11T10:03:46.000Z | 2022-02-18T06:47:20.000Z | Config/ConfigGetter.py | lkeme/NeteaseMusicLottery | 5bae0eb78a786acad0b9fa2c7df1d51eed0796e9 | [
"MIT"
] | 3 | 2019-08-18T02:47:46.000Z | 2022-02-18T08:14:29.000Z | Config/ConfigGetter.py | lkeme/NeteaseMusicLottery | 5bae0eb78a786acad0b9fa2c7df1d51eed0796e9 | [
"MIT"
] | 4 | 2019-07-29T04:43:02.000Z | 2020-04-16T04:44:28.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
- author: Lkeme
- contact: Useri@live.cn
- file: ConfigGetter
- time: 2019/10/21 18:01
- desc:
"""
from Util import LazyProperty
from Config.setting import *
class ConfigGetter(object):
"""
get config
"""
def __init__(self):
pass
@LazyPr... | 19.909091 | 70 | 0.621918 | 121 | 1,095 | 5.471074 | 0.46281 | 0.15861 | 0.128399 | 0.166163 | 0.241692 | 0.241692 | 0 | 0 | 0 | 0 | 0 | 0.027155 | 0.226484 | 1,095 | 54 | 71 | 20.277778 | 0.754427 | 0.136073 | 0 | 0.241379 | 0 | 0 | 0.109544 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.275862 | false | 0.103448 | 0.068966 | 0.241379 | 0.62069 | 0.034483 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
b45b3fcf1047d1cf8502fe6f6a4bf3d750f5030d | 117 | py | Python | budget_tool/admin.py | joyliao07/budget_tool | a20974f47d5bfa8ef2ef285f57c7e1aafde42f29 | [
"MIT"
] | null | null | null | budget_tool/admin.py | joyliao07/budget_tool | a20974f47d5bfa8ef2ef285f57c7e1aafde42f29 | [
"MIT"
] | 6 | 2019-01-22T03:54:53.000Z | 2019-01-25T04:49:18.000Z | budget_tool/admin.py | joyliao07/budget_tool | a20974f47d5bfa8ef2ef285f57c7e1aafde42f29 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Budget, Transaction
admin.site.register((Budget, Transaction))
| 23.4 | 42 | 0.811966 | 15 | 117 | 6.333333 | 0.666667 | 0.357895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 117 | 4 | 43 | 29.25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
81fee41469c604b6f06973ce5c097a0bb370faa2 | 45 | py | Python | psdet/models/point_detector/__init__.py | Jiaolong/gcn-parking-slot | f8c3b445b186e3a7fd13af1f17fa5ba0336027c7 | [
"MIT"
] | 56 | 2021-03-24T08:24:27.000Z | 2022-03-26T13:56:36.000Z | psdet/models/point_detector/__init__.py | Jiaolong/gcn-parking-slot | f8c3b445b186e3a7fd13af1f17fa5ba0336027c7 | [
"MIT"
] | 7 | 2021-04-05T03:55:05.000Z | 2022-03-08T03:12:20.000Z | psdet/models/point_detector/__init__.py | Jiaolong/gcn-parking-slot | f8c3b445b186e3a7fd13af1f17fa5ba0336027c7 | [
"MIT"
] | 17 | 2021-04-04T02:42:09.000Z | 2022-03-31T01:48:06.000Z | from .detector_base import PointDetectorBase
| 22.5 | 44 | 0.888889 | 5 | 45 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 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 |
81ff8f45d490cb1946bc863a3f74861b5ad5028e | 170 | py | Python | tests/web_platform/css_flexbox_1/test_flex_direction_row_vertical.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/css_flexbox_1/test_flex_direction_row_vertical.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/css_flexbox_1/test_flex_direction_row_vertical.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | 1 | 2020-01-16T01:56:41.000Z | 2020-01-16T01:56:41.000Z | from tests.utils import W3CTestCase
class TestFlexDirectionRowVertical(W3CTestCase):
vars().update(W3CTestCase.find_tests(__file__, 'flex-direction-row-vertical'))
| 28.333333 | 82 | 0.811765 | 18 | 170 | 7.388889 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.082353 | 170 | 5 | 83 | 34 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.159763 | 0.159763 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c342784c81187a7c1a03f7efe6a3750b08a88a0e | 34,517 | py | Python | billiards/billiards/management/commands/importcoupons.py | zxkane/billiards | 809a37b111a0fdbf7a2b1176149256b93c43045f | [
"Apache-1.1"
] | null | null | null | billiards/billiards/management/commands/importcoupons.py | zxkane/billiards | 809a37b111a0fdbf7a2b1176149256b93c43045f | [
"Apache-1.1"
] | null | null | null | billiards/billiards/management/commands/importcoupons.py | zxkane/billiards | 809a37b111a0fdbf7a2b1176149256b93c43045f | [
"Apache-1.1"
] | 1 | 2021-02-08T13:19:34.000Z | 2021-02-08T13:19:34.000Z | # -*- coding: utf-8 -*-
# encoding: utf-8
'''
Created on 2014年2月19日
@author: kane
'''
from django.core.management.base import NoArgsCommand
from billiards.models import Coupon
import re
from datetime import datetime
class Command(NoArgsCommand):
help = 'Import coupons from hardcode to DB'
def handle(self, *a... | 225.601307 | 324 | 0.653098 | 4,387 | 34,517 | 5.08662 | 0.242079 | 0.035447 | 0.05521 | 0.04302 | 0.341205 | 0.339682 | 0.23715 | 0.222989 | 0.212637 | 0.1365 | 0 | 0.213788 | 0.092737 | 34,517 | 153 | 325 | 225.601307 | 0.498787 | 0.001072 | 0 | 0 | 0 | 0 | 0.703723 | 0.192136 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.007042 | 0.042254 | null | null | 0.007042 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c35919806f42d2e0ef34a35a61767a0c490bc25e | 245 | py | Python | saleor/__init__.py | taedori81/stylishclothing | 5ef8a978a9f7636ed0f1c840d4926e76d46c4c1a | [
"BSD-3-Clause"
] | null | null | null | saleor/__init__.py | taedori81/stylishclothing | 5ef8a978a9f7636ed0f1c840d4926e76d46c4c1a | [
"BSD-3-Clause"
] | null | null | null | saleor/__init__.py | taedori81/stylishclothing | 5ef8a978a9f7636ed0f1c840d4926e76d46c4c1a | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
def manage():
import os
import sys
from django.core.management import execute_from_command_line
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "stylish.settings")
execute_from_command_line(sys.argv)
| 22.272727 | 71 | 0.75102 | 33 | 245 | 5.333333 | 0.666667 | 0.125 | 0.204545 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155102 | 245 | 10 | 72 | 24.5 | 0.850242 | 0.081633 | 0 | 0 | 0 | 0 | 0.169643 | 0.098214 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5edb26a90b8097fbd404fa7aaf0f1d09490bc35e | 365 | py | Python | colleague.py | AmineAsli/tkinter-notepad | c2f254bb9d9c9bb28c69753949e5127a6124af85 | [
"BSD-3-Clause"
] | null | null | null | colleague.py | AmineAsli/tkinter-notepad | c2f254bb9d9c9bb28c69753949e5127a6124af85 | [
"BSD-3-Clause"
] | null | null | null | colleague.py | AmineAsli/tkinter-notepad | c2f254bb9d9c9bb28c69753949e5127a6124af85 | [
"BSD-3-Clause"
] | null | null | null | class Colleague:
"""
provides the basic functionality of storing a mediator's
instance inside component objects.
"""
def __init__(self, mediator=None):
self._mediator = mediator
@property
def mediator(self):
return self._mediator
@mediator.setter
def mediator(self, ... | 22.8125 | 60 | 0.657534 | 39 | 365 | 5.974359 | 0.564103 | 0.257511 | 0.257511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263014 | 365 | 15 | 61 | 24.333333 | 0.866171 | 0.249315 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
5eeb8445dcde3208ce36b3be568e72662d245f17 | 13 | py | Python | Uche Clare/Phase 1/Python Basic 1/Day 11/Task 93.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Uche Clare/Phase 1/Python Basic 1/Day 11/Task 93.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Uche Clare/Phase 1/Python Basic 1/Day 11/Task 93.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | print(id(70)) | 13 | 13 | 0.692308 | 3 | 13 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 13 | 1 | 13 | 13 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
5eee5cd9768e97d5de194eb5521697ff2a558bad | 50 | py | Python | pycrybittrex/__init__.py | namiazad/pycrybittrex | fce4dbfde112fd31b5ede0ff1432a4c3afeb3668 | [
"Apache-2.0"
] | null | null | null | pycrybittrex/__init__.py | namiazad/pycrybittrex | fce4dbfde112fd31b5ede0ff1432a4c3afeb3668 | [
"Apache-2.0"
] | null | null | null | pycrybittrex/__init__.py | namiazad/pycrybittrex | fce4dbfde112fd31b5ede0ff1432a4c3afeb3668 | [
"Apache-2.0"
] | null | null | null | from .bittrex import *
from .definitions import *
| 16.666667 | 26 | 0.76 | 6 | 50 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 27 | 25 | 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 |
48e6c3a411f7bdf8756b33bce7aaf6c1c2d5cf8e | 44 | py | Python | MLPApproximatorTest/__init__.py | HalfInner/MLPApproximator | 9bc08e14d8f50f323a0453f02d2230c4e4195bee | [
"MIT"
] | null | null | null | MLPApproximatorTest/__init__.py | HalfInner/MLPApproximator | 9bc08e14d8f50f323a0453f02d2230c4e4195bee | [
"MIT"
] | null | null | null | MLPApproximatorTest/__init__.py | HalfInner/MLPApproximator | 9bc08e14d8f50f323a0453f02d2230c4e4195bee | [
"MIT"
] | null | null | null | # Copyright (c) 2020
# Kajetan Brzuszczak
| 14.666667 | 21 | 0.704545 | 5 | 44 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 0.204545 | 44 | 2 | 22 | 22 | 0.771429 | 0.863636 | 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 |
48fd65e842615852a1e210389bfe1194479bfe59 | 104 | py | Python | enthought/persistence/project_loader.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/persistence/project_loader.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/persistence/project_loader.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from apptools.persistence.project_loader import *
| 26 | 49 | 0.855769 | 13 | 104 | 6.384615 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 104 | 3 | 50 | 34.666667 | 0.892473 | 0.115385 | 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 |
d28de0bc832ef6788586f3b167e2af785223ed74 | 427 | py | Python | {{cookiecutter.project_slug}}/backend/app/app/crud/__init__.py | PythonWongXb/full_stack_sqlite3 | 71f2ca21354152be2857536c04f362c6d843a9a6 | [
"MIT"
] | 1 | 2021-03-17T14:12:28.000Z | 2021-03-17T14:12:28.000Z | {{cookiecutter.project_slug}}/backend/app/app/crud/__init__.py | PythonWongXb/full_stack_sqlite3 | 71f2ca21354152be2857536c04f362c6d843a9a6 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/backend/app/app/crud/__init__.py | PythonWongXb/full_stack_sqlite3 | 71f2ca21354152be2857536c04f362c6d843a9a6 | [
"MIT"
] | 1 | 2021-02-11T23:39:09.000Z | 2021-02-11T23:39:09.000Z | import os
os.sys.path.append(r"C:\Users\Administrator\Desktop\full-stack-fastapi-postgresql\{{cookiecutter.project_slug}}\backend\app")
from .crud_item import item
from .crud_user import user
# For a new basic set of CRUD operations you could just do
# from .base import CRUDBase
# from app.models.item import Item
# ... | 30.5 | 125 | 0.782201 | 65 | 427 | 5.092308 | 0.615385 | 0.090634 | 0.084592 | 0.108761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117096 | 427 | 13 | 126 | 32.846154 | 0.877984 | 0.515222 | 0 | 0 | 0 | 0.25 | 0.507463 | 0.507463 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d2948af5ff4207b0156eb6f786c345303fb860c2 | 225 | py | Python | main.py | CatalinCaldararu/Selenium-Wordpress-Article-Upload | a600a818febfdcc7ccb6595032214ad1ad2b9d3c | [
"MIT"
] | null | null | null | main.py | CatalinCaldararu/Selenium-Wordpress-Article-Upload | a600a818febfdcc7ccb6595032214ad1ad2b9d3c | [
"MIT"
] | null | null | null | main.py | CatalinCaldararu/Selenium-Wordpress-Article-Upload | a600a818febfdcc7ccb6595032214ad1ad2b9d3c | [
"MIT"
] | null | null | null | from Utils.recursiveDeleteArticles import recursiveDeleteArticles
fromt Utils.countFilesInSubDirs import txtFileCountInSubdirectories
txtFileCountInSubdirectories()
recursiveDeleteArticles(600)
txtFileCountInSubdirectories() | 37.5 | 67 | 0.915556 | 14 | 225 | 14.714286 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014019 | 0.048889 | 225 | 6 | 68 | 37.5 | 0.948598 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d2c53bc053bb85404ab6ed46f0f0f53180f27460 | 120 | py | Python | game/rl/dqn/utils/layer_params/linear.py | DenisioMytnysiano/pacman | 34ceddc8492b6dbb8b56306ec0702dc01bf3475e | [
"MIT"
] | null | null | null | game/rl/dqn/utils/layer_params/linear.py | DenisioMytnysiano/pacman | 34ceddc8492b6dbb8b56306ec0702dc01bf3475e | [
"MIT"
] | null | null | null | game/rl/dqn/utils/layer_params/linear.py | DenisioMytnysiano/pacman | 34ceddc8492b6dbb8b56306ec0702dc01bf3475e | [
"MIT"
] | null | null | null | from dataclasses import dataclass
@dataclass(eq=False)
class LinearParams:
in_features: int
out_features: int
| 15 | 33 | 0.766667 | 15 | 120 | 6 | 0.8 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 120 | 7 | 34 | 17.142857 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
d2db3fa7c93ba7a8c3466db506162e31965cdbd4 | 360 | py | Python | scicopia_tools/exceptions.py | pikatech/Scicopia-tools | 0e19d694adeae862e3db92779d204e4944cc47bc | [
"MIT"
] | null | null | null | scicopia_tools/exceptions.py | pikatech/Scicopia-tools | 0e19d694adeae862e3db92779d204e4944cc47bc | [
"MIT"
] | null | null | null | scicopia_tools/exceptions.py | pikatech/Scicopia-tools | 0e19d694adeae862e3db92779d204e4944cc47bc | [
"MIT"
] | 1 | 2021-06-18T16:00:35.000Z | 2021-06-18T16:00:35.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Mar 18 20:45:13 2021
@author: tech
"""
class ScicopiaException(Exception):
"""Base-class for all exceptions with Scicopia."""
class DBError(ScicopiaException):
"""Exceptions related to ArangoDB."""
class ConfigError(ScicopiaException):
""... | 22.5 | 54 | 0.7 | 42 | 360 | 6 | 0.785714 | 0.214286 | 0.269841 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045603 | 0.147222 | 360 | 16 | 55 | 22.5 | 0.775244 | 0.577778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
d2e72d32682a275bd87ba66e81c742a3e7ff6526 | 71 | py | Python | journey11/src/main/simple/srcsinkwithtimestamp.py | parrisma/AI-intuition | 3b081696b1d226815e029cbb536fac5e4d3de9a7 | [
"MIT"
] | null | null | null | journey11/src/main/simple/srcsinkwithtimestamp.py | parrisma/AI-intuition | 3b081696b1d226815e029cbb536fac5e4d3de9a7 | [
"MIT"
] | 4 | 2020-04-26T18:18:22.000Z | 2020-05-16T14:47:32.000Z | journey11/src/main/simple/srcsinkwithtimestamp.py | parrisma/AI-intuition | 3b081696b1d226815e029cbb536fac5e4d3de9a7 | [
"MIT"
] | null | null | null | import datetime
from journey11.src.interface.srcsink import SrcSink
| 11.833333 | 51 | 0.830986 | 9 | 71 | 6.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.126761 | 71 | 5 | 52 | 14.2 | 0.919355 | 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 |
825003d99a049847a1b2076031d127f174ecad0e | 694 | py | Python | opentmi_client/api/__init__.py | OpenTMI/opentmi-pyclient | 034c539d36fe13a2d6538ea421e4c01f00f5687d | [
"MIT"
] | null | null | null | opentmi_client/api/__init__.py | OpenTMI/opentmi-pyclient | 034c539d36fe13a2d6538ea421e4c01f00f5687d | [
"MIT"
] | 36 | 2018-06-18T10:03:58.000Z | 2022-03-30T00:16:31.000Z | opentmi_client/api/__init__.py | OpenTMI/opentmi-pyclient | 034c539d36fe13a2d6538ea421e4c01f00f5687d | [
"MIT"
] | 1 | 2019-04-17T08:49:24.000Z | 2019-04-17T08:49:24.000Z | """
Collect all public opentmi API's
"""
from opentmi_client.api.client import create, OpenTmiClient
from opentmi_client.api.build import Build, Vcs, Ci, Target, Hardware
from opentmi_client.api.result import Result
from opentmi_client.api.result import Job
from opentmi_client.api.result import Environment
from opentmi... | 36.526316 | 69 | 0.845821 | 104 | 694 | 5.519231 | 0.259615 | 0.249129 | 0.385017 | 0.452962 | 0.501742 | 0.501742 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097983 | 694 | 18 | 70 | 38.555556 | 0.916933 | 0.04611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.928571 | 0 | 0.928571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
82594aded8889b8ea0c3c69c1e390173191f6061 | 225 | py | Python | frictionless/program/__init__.py | augusto-herrmann/frictionless-py | b4ff35f064141a2c04882edb592666ca6b066776 | [
"MIT"
] | 247 | 2020-08-04T16:42:09.000Z | 2022-03-30T11:54:54.000Z | frictionless/program/__init__.py | augusto-herrmann/frictionless-py | b4ff35f064141a2c04882edb592666ca6b066776 | [
"MIT"
] | 444 | 2020-07-29T09:13:59.000Z | 2022-03-31T14:54:57.000Z | frictionless/program/__init__.py | augusto-herrmann/frictionless-py | b4ff35f064141a2c04882edb592666ca6b066776 | [
"MIT"
] | 60 | 2020-09-04T11:39:34.000Z | 2022-03-23T18:59:51.000Z | from .api import program_api
from .describe import program_describe
from .extract import program_extract
from .main import program, program_main
from .transform import program_transform
from .validate import program_validate
| 32.142857 | 40 | 0.857778 | 31 | 225 | 6.032258 | 0.290323 | 0.417112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 225 | 6 | 41 | 37.5 | 0.935 | 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 |
825ef735dfbea37dab959172b5783c6540d539b4 | 35,663 | py | Python | test/old_tests/_test_put.py | syaiful6/aerospike-client-python | 59fa0d36aa899a164282643fe49b27d12aaf323f | [
"Apache-2.0"
] | 105 | 2015-01-07T09:51:13.000Z | 2022-03-24T04:23:54.000Z | test/old_tests/_test_put.py | syaiful6/aerospike-client-python | 59fa0d36aa899a164282643fe49b27d12aaf323f | [
"Apache-2.0"
] | 180 | 2015-01-01T19:29:50.000Z | 2022-03-19T14:14:06.000Z | test/old_tests/_test_put.py | syaiful6/aerospike-client-python | 59fa0d36aa899a164282643fe49b27d12aaf323f | [
"Apache-2.0"
] | 94 | 2015-01-21T19:17:48.000Z | 2022-01-31T07:17:47.000Z | # -*- coding: utf-8 -*-
import pytest
import sys
import marshal
from .test_base_class import TestBaseClass
from aerospike import exception as e
aerospike = pytest.importorskip("aerospike")
try:
import aerospike
except:
print("Please install aerospike python client.")
sys.exit(1)
class TestPut(TestBaseC... | 28.439394 | 86 | 0.521381 | 4,128 | 35,663 | 4.370155 | 0.07437 | 0.090078 | 0.05765 | 0.066353 | 0.806596 | 0.778714 | 0.739024 | 0.706264 | 0.671397 | 0.637029 | 0 | 0.02887 | 0.332754 | 35,663 | 1,253 | 87 | 28.462091 | 0.72924 | 0.087177 | 0 | 0.644444 | 0 | 0 | 0.112634 | 0.007962 | 0 | 0 | 0 | 0 | 0.191667 | 1 | 0.086111 | false | 0.011111 | 0.009722 | 0.001389 | 0.098611 | 0.001389 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
82a791bd3864b3211607b85091ecc5276e9b9ad2 | 166 | py | Python | username_and_password.py | maria1226/Basics_Python | d994a1e00f602bb478809d47a937793ea7d1f116 | [
"MIT"
] | 1 | 2020-08-04T14:33:59.000Z | 2020-08-04T14:33:59.000Z | username_and_password.py | maria1226/Basics_Python | d994a1e00f602bb478809d47a937793ea7d1f116 | [
"MIT"
] | null | null | null | username_and_password.py | maria1226/Basics_Python | d994a1e00f602bb478809d47a937793ea7d1f116 | [
"MIT"
] | null | null | null | username=input()
correct_password=input()
input_password=input()
while input_password!=correct_password:
input_password=input()
print(f'Welcome,{username}!') | 23.714286 | 39 | 0.771084 | 20 | 166 | 6.15 | 0.4 | 0.422764 | 0.325203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090361 | 166 | 7 | 40 | 23.714286 | 0.81457 | 0 | 0 | 0.333333 | 0 | 0 | 0.113772 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.666667 | 0 | 0 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
82bf9267dab90d27e385fdc832ea6b96ca404f01 | 185 | py | Python | curethinkdb/__init__.py | guyskk/curethinkdb | 7df7d5646f387ca462f7a21ca214f4708b8578b8 | [
"MIT"
] | null | null | null | curethinkdb/__init__.py | guyskk/curethinkdb | 7df7d5646f387ca462f7a21ca214f4708b8578b8 | [
"MIT"
] | null | null | null | curethinkdb/__init__.py | guyskk/curethinkdb | 7df7d5646f387ca462f7a21ca214f4708b8578b8 | [
"MIT"
] | null | null | null | from rethinkdb import * # noqa
from .net import Connection, ConnectionPool # noqa
def set_loop_type_curio():
import rethinkdb.net
rethinkdb.net.connection_type = Connection
| 23.125 | 51 | 0.762162 | 23 | 185 | 5.956522 | 0.521739 | 0.175182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172973 | 185 | 7 | 52 | 26.428571 | 0.895425 | 0.048649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.6 | 0 | 0.8 | 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 |
7d79ef7aee6e27bf0f779264c3a4a8f3478493be | 441 | py | Python | awkward-numba/awkward/numba/array/masked.py | smit2k14/awkward-array | a2645fdaed1a6997c4677ae47cbb2cd0663e8a21 | [
"BSD-3-Clause"
] | null | null | null | awkward-numba/awkward/numba/array/masked.py | smit2k14/awkward-array | a2645fdaed1a6997c4677ae47cbb2cd0663e8a21 | [
"BSD-3-Clause"
] | null | null | null | awkward-numba/awkward/numba/array/masked.py | smit2k14/awkward-array | a2645fdaed1a6997c4677ae47cbb2cd0663e8a21 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-array/blob/master/LICENSE
import awkward.array.masked
from .base import NumbaMethods
class MaskedArrayNumba(NumbaMethods, awkward.array.masked.MaskedArray):
pass
class BitMaskedArrayNumba(NumbaMethods, awkward.array.masked.B... | 27.5625 | 91 | 0.804989 | 51 | 441 | 6.960784 | 0.607843 | 0.169014 | 0.202817 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002513 | 0.097506 | 441 | 15 | 92 | 29.4 | 0.889447 | 0.249433 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.375 | 0.25 | 0 | 0.625 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
7db6abac9197a991676a7bfc53f92c7ca6a2a663 | 1,377 | py | Python | test/color_test.py | TimeExceed/draw.py | 361dceda86a983815f48b898b3d6c75c776f6aa0 | [
"BSD-3-Clause"
] | null | null | null | test/color_test.py | TimeExceed/draw.py | 361dceda86a983815f48b898b3d6c75c776f6aa0 | [
"BSD-3-Clause"
] | null | null | null | test/color_test.py | TimeExceed/draw.py | 361dceda86a983815f48b898b3d6c75c776f6aa0 | [
"BSD-3-Clause"
] | null | null | null | import testa
from fathom import Point, ORIGIN
import fathom.tikz as tikz
import fathom.colors as colors
@testa.is_(expect=r'''
\documentclass[UTF8]{ctexart}
\usepackage[a0paper]{geometry}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,arrows}
\pagestyle{empty}
\begin{document}
\begin{tikzpicture}[>=Stealth]
\fill[colo... | 27 | 65 | 0.682643 | 188 | 1,377 | 4.904255 | 0.297872 | 0.065076 | 0.02603 | 0.043384 | 0.737527 | 0.737527 | 0.737527 | 0.737527 | 0.737527 | 0.733189 | 0 | 0.046036 | 0.148148 | 1,377 | 50 | 66 | 27.54 | 0.739983 | 0 | 0 | 0.636364 | 0 | 0.090909 | 0.501089 | 0.228758 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.090909 | 0 | 0.181818 | 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 |
7dd2e3dee06d2af43e04d8fb67fa6beafa4a584a | 343 | py | Python | tests/test_utils.py | flug/gonzo | 0f2eb189581e7833a9dec8dafa52ba8ca1765afa | [
"Apache-2.0"
] | 8 | 2015-01-14T10:29:41.000Z | 2016-02-07T16:59:20.000Z | tests/test_utils.py | flug/gonzo | 0f2eb189581e7833a9dec8dafa52ba8ca1765afa | [
"Apache-2.0"
] | 7 | 2015-01-14T10:29:22.000Z | 2018-10-01T13:00:52.000Z | tests/test_utils.py | flug/gonzo | 0f2eb189581e7833a9dec8dafa52ba8ca1765afa | [
"Apache-2.0"
] | 2 | 2015-01-14T10:31:39.000Z | 2018-10-01T12:56:06.000Z | import pytest
from gonzo.utils import last_index
def test_last_index():
assert last_index([1, 1], 1) == 1
assert last_index([1, 1, 2], 1) == 1
def test_last_index_missing():
with pytest.raises(ValueError):
last_index([1], 2)
def test_last_index_empty():
with pytest.raises(ValueError):
... | 18.052632 | 40 | 0.658892 | 52 | 343 | 4.096154 | 0.326923 | 0.338028 | 0.187793 | 0.225352 | 0.497653 | 0.338028 | 0.338028 | 0 | 0 | 0 | 0 | 0.04428 | 0.209913 | 343 | 18 | 41 | 19.055556 | 0.741697 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.272727 | true | 0 | 0.181818 | 0 | 0.454545 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7de72b57f96b16ec53b51e75304996939a3edef1 | 42,025 | py | Python | heatclient/tests/unit/test_template_utils.py | enterstudio/python-heatclient | 954e475a6a0a12432ec325d7579460fabcf3f40a | [
"Apache-2.0"
] | null | null | null | heatclient/tests/unit/test_template_utils.py | enterstudio/python-heatclient | 954e475a6a0a12432ec325d7579460fabcf3f40a | [
"Apache-2.0"
] | null | null | null | heatclient/tests/unit/test_template_utils.py | enterstudio/python-heatclient | 954e475a6a0a12432ec325d7579460fabcf3f40a | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the... | 34.904485 | 79 | 0.559358 | 4,631 | 42,025 | 4.905852 | 0.066508 | 0.040143 | 0.029711 | 0.040055 | 0.822615 | 0.791628 | 0.746424 | 0.709758 | 0.677363 | 0.6484 | 0 | 0.014733 | 0.303867 | 42,025 | 1,203 | 80 | 34.9335 | 0.761853 | 0.016823 | 0 | 0.661463 | 0 | 0 | 0.271963 | 0.101148 | 0 | 0 | 0 | 0 | 0.090732 | 1 | 0.049756 | false | 0 | 0.012683 | 0.000976 | 0.084878 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
814fa30becb014fb5eb40c9cfc6b78e8173df3ea | 147 | py | Python | app/demo/__init__.py | dalepotter/govuk-frontend-wtf-demo | dff1f8fe77c39372059f875fd291008c3b1e3f95 | [
"MIT"
] | null | null | null | app/demo/__init__.py | dalepotter/govuk-frontend-wtf-demo | dff1f8fe77c39372059f875fd291008c3b1e3f95 | [
"MIT"
] | null | null | null | app/demo/__init__.py | dalepotter/govuk-frontend-wtf-demo | dff1f8fe77c39372059f875fd291008c3b1e3f95 | [
"MIT"
] | null | null | null | from flask import Blueprint
bp = Blueprint("demo", __name__, template_folder="../templates/demo")
from app.demo import routes # noqa: E402,F401
| 24.5 | 69 | 0.748299 | 20 | 147 | 5.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0.129252 | 147 | 5 | 70 | 29.4 | 0.773438 | 0.102041 | 0 | 0 | 0 | 0 | 0.161538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
818454b367ccef74f23641e6409ce74074852572 | 561 | py | Python | python/lib/Lib/site-packages/django/views/generic/__init__.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/lib/Lib/site-packages/django/views/generic/__init__.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 1 | 2021-06-30T10:10:56.000Z | 2021-06-30T10:10:56.000Z | python/lib/Lib/site-packages/django/views/generic/__init__.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2017-08-04T02:42:35.000Z | 2021-06-30T10:10:34.000Z | from django.views.generic.base import View, TemplateView, RedirectView
from django.views.generic.dates import (ArchiveIndexView, YearArchiveView, MonthArchiveView,
WeekArchiveView, DayArchiveView, TodayArchiveView,
DateDetailView)
from django.vie... | 43.153846 | 92 | 0.714795 | 55 | 561 | 7.290909 | 0.581818 | 0.124688 | 0.187032 | 0.274314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219251 | 561 | 12 | 93 | 46.75 | 0.915525 | 0.049911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.111111 | 0.555556 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
81991f7000cb9415bf6a6aa200d280316e217cac | 7,955 | py | Python | tests/test_score.py | jlward/cribbage | 8c2d55464b2f75954d6c3a372cd2594ce190c6b3 | [
"MIT"
] | null | null | null | tests/test_score.py | jlward/cribbage | 8c2d55464b2f75954d6c3a372cd2594ce190c6b3 | [
"MIT"
] | null | null | null | tests/test_score.py | jlward/cribbage | 8c2d55464b2f75954d6c3a372cd2594ce190c6b3 | [
"MIT"
] | null | null | null | from unittest import TestCase
from card import Card
from score import ScoreHand, ScorePegging
class ScoreHandTestCase(TestCase):
def test_flush_not_crib(self):
cards = [
Card(number=1, suit='a'),
Card(number=2, suit='a'),
Card(number=3, suit='a'),
Card(numb... | 29.246324 | 66 | 0.520553 | 951 | 7,955 | 4.173502 | 0.071504 | 0.151172 | 0.186445 | 0.220459 | 0.791887 | 0.782817 | 0.737969 | 0.713278 | 0.680524 | 0.527589 | 0 | 0.037476 | 0.342552 | 7,955 | 271 | 67 | 29.354244 | 0.721415 | 0 | 0 | 0.576132 | 0 | 0 | 0.008045 | 0 | 0 | 0 | 0 | 0 | 0.176955 | 1 | 0.074074 | false | 0 | 0.012346 | 0 | 0.09465 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
819c16923cd95d9f72d431bb1610dfd07940c16a | 203 | py | Python | views/__init__.py | oogou11/shop_api | a35f08d43e52f28f306409558725ce0c6fc5abe6 | [
"MIT"
] | null | null | null | views/__init__.py | oogou11/shop_api | a35f08d43e52f28f306409558725ce0c6fc5abe6 | [
"MIT"
] | null | null | null | views/__init__.py | oogou11/shop_api | a35f08d43e52f28f306409558725ce0c6fc5abe6 | [
"MIT"
] | null | null | null | from views.law import web_law
from views.shop import api_shop
from views.users import api_user
from views.search import api_search
from views.wechart import api_wechart
from views.image import api_image
| 29 | 37 | 0.852217 | 36 | 203 | 4.638889 | 0.333333 | 0.323353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118227 | 203 | 6 | 38 | 33.833333 | 0.932961 | 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 |
81ce62ff1124bf762488ce78ff1fb889e4a5e0f1 | 41 | py | Python | python/testData/resolve/multiFile/fromImportStar/FromImportStar.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/multiFile/fromImportStar/FromImportStar.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/multiFile/fromImportStar/FromImportStar.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from ImportedFile import *
func()
#<ref> | 10.25 | 26 | 0.707317 | 5 | 41 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 4 | 27 | 10.25 | 0.828571 | 0.121951 | 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 |
81cec6bde9c24fab553e9367280b43bbdc8bfc92 | 124 | py | Python | examples/simple_example/sample_app/admin.py | lizhiying/django-thumbs | 6d04048cda034819d65df29fceac1f66cad65581 | [
"MIT"
] | 20 | 2016-01-20T09:49:16.000Z | 2022-03-18T12:46:06.000Z | examples/simple_example/sample_app/admin.py | lizhiying/django-thumbs | 6d04048cda034819d65df29fceac1f66cad65581 | [
"MIT"
] | null | null | null | examples/simple_example/sample_app/admin.py | lizhiying/django-thumbs | 6d04048cda034819d65df29fceac1f66cad65581 | [
"MIT"
] | 10 | 2015-11-20T17:15:06.000Z | 2022-01-17T03:24:02.000Z | # -*- encoding: utf-8 -*-
from sample_app.models import Photo
from django.contrib import admin
admin.site.register(Photo)
| 17.714286 | 35 | 0.75 | 18 | 124 | 5.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.129032 | 124 | 6 | 36 | 20.666667 | 0.842593 | 0.185484 | 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 |
81d71d217bab5069df9691f2d4f565f89e886d00 | 36,612 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/common/profiles/profile_common.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/common/profiles/profile_common.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/common/profiles/profile_common.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pycalcmodel.core.output import ModelOutput, ModelOutputType
from pyradioconfig.calculator_model_framework.interfaces.iprofile import IProfile
from py_2_and_3_compatibility import *
"""
Generic template to build a Model Output based on a hardware register
"""
def _buildModelOutputStringFromRegisterField(hw_string... | 102.268156 | 212 | 0.802852 | 4,143 | 36,612 | 6.794593 | 0.09148 | 0.092504 | 0.131439 | 0.099751 | 0.850018 | 0.83254 | 0.804867 | 0.727034 | 0.403908 | 0.375915 | 0 | 0.010689 | 0.085245 | 36,612 | 357 | 213 | 102.554622 | 0.829835 | 0.035426 | 0 | 0.267148 | 0 | 0 | 0.197284 | 0.066409 | 0 | 0 | 0.001401 | 0.002801 | 0 | 1 | 0.039711 | false | 0 | 0.01083 | 0.00361 | 0.054152 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c4970a04930da9272f2b41e686a49664187858cf | 8,160 | py | Python | main.py | hzhang934748656/ChessAI | f1aff2959ee1efbf13b987cf5f95e4b4c90af62c | [
"MIT"
] | null | null | null | main.py | hzhang934748656/ChessAI | f1aff2959ee1efbf13b987cf5f95e4b4c90af62c | [
"MIT"
] | null | null | null | main.py | hzhang934748656/ChessAI | f1aff2959ee1efbf13b987cf5f95e4b4c90af62c | [
"MIT"
] | null | null | null |
import chess
from chessboard import display
from time import sleep
p = 1
PawnBottomMatrix = [[3*p,3*p,3*p,4*p,4*p,3*p,3*p,3*p],[1*p,2*p,2*p,2*p,2*p,2*p,2*p,1*p],[1*p,2*p,2*p,2*p,2*p,2*p,2*p,1*p],[1*p,2*p,2*p,2*p,2*p,2*p,2*p,1*p],[1*p,2*p,2*p,2*p,2*p,2*p,2*p,1*p],[1*p,2*p,2*p,2*p,2*p,2*p,2*p,1*p],[0*p,1*p,1*p,... | 49.156627 | 325 | 0.507108 | 2,192 | 8,160 | 1.862682 | 0.064325 | 0.217487 | 0.324761 | 0.350723 | 0.610336 | 0.576537 | 0.568944 | 0.559393 | 0.544208 | 0.522165 | 0 | 0.143999 | 0.202574 | 8,160 | 165 | 326 | 49.454545 | 0.483479 | 0.0375 | 0 | 0.282443 | 0 | 0 | 0.031901 | 0.009375 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061069 | false | 0 | 0.022901 | 0.022901 | 0.175573 | 0.076336 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c49961a246ffb6bf5f13314be5abde9ab1e1ccec | 84 | py | Python | telegramBots/utils/__init__.py | keys4words/bots | 4f5c4342ad24d1fc9d39947c9940346d2ac2ec8b | [
"Apache-2.0"
] | null | null | null | telegramBots/utils/__init__.py | keys4words/bots | 4f5c4342ad24d1fc9d39947c9940346d2ac2ec8b | [
"Apache-2.0"
] | 7 | 2020-11-09T13:35:15.000Z | 2021-10-22T04:58:07.000Z | telegramBots/utils/__init__.py | keys4words/bots | 4f5c4342ad24d1fc9d39947c9940346d2ac2ec8b | [
"Apache-2.0"
] | null | null | null | from . import db_api
from . import misc
from .notify_admins import on_startup_notify | 28 | 44 | 0.833333 | 14 | 84 | 4.714286 | 0.642857 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 84 | 3 | 44 | 28 | 0.90411 | 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 |
c4c7266c6bae3404ae863594a322d883cdac2bc1 | 781 | py | Python | test/test_tenants_page_all_of.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | test/test_tenants_page_all_of.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | test/test_tenants_page_all_of.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | """
MSX SDK
MSX SDK client. # noqa: E501
The version of the OpenAPI document: 1.0.9
Generated by: https://openapi-generator.tech
"""
import sys
import unittest
import python_msx_sdk
from python_msx_sdk.model.tenant import Tenant
globals()['Tenant'] = Tenant
from python_msx_sdk.model.tenants_page_a... | 20.552632 | 79 | 0.68758 | 92 | 781 | 5.652174 | 0.565217 | 0.057692 | 0.069231 | 0.061538 | 0.080769 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014827 | 0.222791 | 781 | 37 | 80 | 21.108108 | 0.841845 | 0.37516 | 0 | 0.2 | 1 | 0 | 0.030973 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 1 | 0.2 | false | 0.2 | 0.333333 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
c4cdee2153bbcb8a22d5f895f52928752aa87160 | 75 | py | Python | src/vak/transforms/__init__.py | yardencsGitHub/vak | 04da97b02ded5acccab437c2538d0a1ded3bef80 | [
"BSD-3-Clause"
] | 26 | 2019-03-04T20:08:57.000Z | 2022-01-22T13:40:00.000Z | src/vak/transforms/__init__.py | yardencsGitHub/vak | 04da97b02ded5acccab437c2538d0a1ded3bef80 | [
"BSD-3-Clause"
] | 379 | 2019-03-03T12:16:05.000Z | 2022-03-29T13:44:46.000Z | src/vak/transforms/__init__.py | yardencsGitHub/vak | 04da97b02ded5acccab437c2538d0a1ded3bef80 | [
"BSD-3-Clause"
] | 12 | 2019-11-22T21:19:19.000Z | 2022-03-14T17:44:59.000Z | from .transforms import *
from vak.transforms.defaults import get_defaults
| 25 | 48 | 0.84 | 10 | 75 | 6.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 49 | 37.5 | 0.925373 | 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 |
c4dc43081b49b349e40b994413e83ec7ffd821a3 | 58 | py | Python | tensorspace/builders/__init__.py | phrostbyten/tensorspace | e6b787f71e81943092d250cf0a1b497db679c448 | [
"Apache-2.0"
] | null | null | null | tensorspace/builders/__init__.py | phrostbyten/tensorspace | e6b787f71e81943092d250cf0a1b497db679c448 | [
"Apache-2.0"
] | null | null | null | tensorspace/builders/__init__.py | phrostbyten/tensorspace | e6b787f71e81943092d250cf0a1b497db679c448 | [
"Apache-2.0"
] | null | null | null | from .vectors import CaptionVectors
from .coco import Coco | 29 | 35 | 0.844828 | 8 | 58 | 6.125 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 58 | 2 | 36 | 29 | 0.960784 | 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 |
4805f43408087ee8f2b5681c88108b4dcc580f51 | 45,904 | py | Python | blenderlib/bgl.py | kabuku/blender-python | 6e8eee4cd79242bb0a3cd1dd848da04bfe0a9182 | [
"MIT"
] | 23 | 2015-04-18T02:37:19.000Z | 2021-12-20T23:59:28.000Z | blenderlib/bgl.py | kabuku/blender-python | 6e8eee4cd79242bb0a3cd1dd848da04bfe0a9182 | [
"MIT"
] | null | null | null | blenderlib/bgl.py | kabuku/blender-python | 6e8eee4cd79242bb0a3cd1dd848da04bfe0a9182 | [
"MIT"
] | 5 | 2017-05-06T07:20:40.000Z | 2021-11-08T18:35:43.000Z | '''Open GL functions (bgl)
'''
GL_2D = 1536 #constant value
GL_2_BYTES = 5127 #constant value
GL_3D = 1537 #constant value
GL_3D_COLOR = 1538 #constant value
GL_3D_COLOR_TEXTURE = 1539 #constant value
GL_3_BYTES = 5128 #constant value
GL_4D_COLOR_TEXTURE = 1540 #constant value
GL_... | 13.119177 | 57 | 0.560692 | 5,021 | 45,904 | 4.927903 | 0.222067 | 0.236431 | 0.272198 | 0.237966 | 0.400679 | 0.041466 | 0.021824 | 0.021824 | 0 | 0 | 0 | 0.066482 | 0.339077 | 45,904 | 3,498 | 58 | 13.122927 | 0.749069 | 0.316966 | 0 | 0.310084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.310084 | false | 0.313445 | 0 | 0 | 0.311765 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
481bd685e32984b7ef0230a75e16fe22e1500b4c | 175 | py | Python | exercicios_programas/ex10_repeticoes_aninhadas/exercicio5.27.py | robinson-1985/livro_python | 2b94d32c81121b631a70f8c9fc443d697947ee63 | [
"MIT"
] | null | null | null | exercicios_programas/ex10_repeticoes_aninhadas/exercicio5.27.py | robinson-1985/livro_python | 2b94d32c81121b631a70f8c9fc443d697947ee63 | [
"MIT"
] | null | null | null | exercicios_programas/ex10_repeticoes_aninhadas/exercicio5.27.py | robinson-1985/livro_python | 2b94d32c81121b631a70f8c9fc443d697947ee63 | [
"MIT"
] | null | null | null | ''' 5.27 Escreva um programa que verifique se um número é palíndromo. Um número é
palíndromo se continua o mesmo caso seus dígitos sejam invertidos. Exemplos: 454, 10501. '''
| 58.333333 | 92 | 0.76 | 28 | 175 | 4.785714 | 0.785714 | 0.119403 | 0.134328 | 0.283582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075862 | 0.171429 | 175 | 2 | 93 | 87.5 | 0.841379 | 0.948571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 1 | 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 |
48403bab1cee3a7d5c1c5d57394f1c352ac8123a | 35,488 | py | Python | src/pruning_layers/core_layers.py | ivclab/PackExpander | 81b8e832018f60fc678883f3025c39cb1d289e27 | [
"MIT"
] | 25 | 2019-03-28T09:02:44.000Z | 2022-02-11T15:30:50.000Z | src/pruning_layers/core_layers.py | ivclab/PackExpander | 81b8e832018f60fc678883f3025c39cb1d289e27 | [
"MIT"
] | 2 | 2020-10-29T06:16:16.000Z | 2021-01-04T02:23:04.000Z | src/pruning_layers/core_layers.py | ivclab/PackExpander | 81b8e832018f60fc678883f3025c39cb1d289e27 | [
"MIT"
] | 7 | 2020-03-26T05:39:30.000Z | 2021-07-30T09:12:42.000Z | # Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 42.705174 | 196 | 0.672453 | 4,576 | 35,488 | 4.996504 | 0.089379 | 0.015745 | 0.010934 | 0.013296 | 0.798373 | 0.757873 | 0.738672 | 0.711162 | 0.680283 | 0.667337 | 0 | 0.008279 | 0.241011 | 35,488 | 830 | 197 | 42.756627 | 0.840579 | 0.290352 | 0 | 0.72935 | 0 | 0 | 0.029575 | 0.000845 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024605 | false | 0 | 0.02812 | 0 | 0.086116 | 0.001757 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
48772bc6be67c64dcca30600d45c0ee39c37c7e1 | 10,607 | py | Python | tests/test_dynamicalsystem.py | albapa/QUIP | ecde1e332c6bd62c238d3cd90e31dba4fb390313 | [
"NRL"
] | 229 | 2015-01-20T16:35:59.000Z | 2022-03-24T10:44:32.000Z | tests/test_dynamicalsystem.py | albapa/QUIP | ecde1e332c6bd62c238d3cd90e31dba4fb390313 | [
"NRL"
] | 356 | 2015-05-29T08:28:59.000Z | 2022-03-31T22:55:34.000Z | tests/test_dynamicalsystem.py | albapa/QUIP | ecde1e332c6bd62c238d3cd90e31dba4fb390313 | [
"NRL"
] | 106 | 2015-01-21T12:56:29.000Z | 2022-03-25T08:39:24.000Z | # HQ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# HQ X
# HQ X quippy: Python interface to QUIP atomistic simulation library
# HQ X
# HQ X Copyright James Kermode 2010
# HQ X
# HQ X These portions of the source code are released under the GNU General
# HQ X Public License, versi... | 44.195833 | 114 | 0.584897 | 1,305 | 10,607 | 4.688123 | 0.321839 | 0.026479 | 0.034161 | 0.005884 | 0.273128 | 0.219189 | 0.155116 | 0.12831 | 0.124224 | 0.10559 | 0 | 0.269449 | 0.270482 | 10,607 | 239 | 115 | 44.380753 | 0.521194 | 0.947016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
487e0484e7603598d799efcc52f13216f81ff2b2 | 37,256 | py | Python | sdk/python/pulumi_aws/elasticache/replication_group.py | mdop-wh/pulumi-aws | 05bb32e9d694dde1c3b76d440fd2cd0344d23376 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/elasticache/replication_group.py | mdop-wh/pulumi-aws | 05bb32e9d694dde1c3b76d440fd2cd0344d23376 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/elasticache/replication_group.py | mdop-wh/pulumi-aws | 05bb32e9d694dde1c3b76d440fd2cd0344d23376 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Dict, List, Mapping, Optional, Tuple, Union
from .. import ... | 61.377265 | 404 | 0.694653 | 4,704 | 37,256 | 5.314201 | 0.100128 | 0.060725 | 0.044804 | 0.028082 | 0.771902 | 0.736739 | 0.716617 | 0.702976 | 0.690095 | 0.688855 | 0 | 0.007544 | 0.22434 | 37,256 | 606 | 405 | 61.478548 | 0.857499 | 0.520641 | 0 | 0.311189 | 1 | 0 | 0.160499 | 0.071614 | 0 | 0 | 0 | 0 | 0 | 1 | 0.118881 | false | 0.003497 | 0.024476 | 0.006993 | 0.262238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6faf99f34b7889143b3ef157f4214ca04cce0fa7 | 15,847 | py | Python | tests/http/test_protocol_handler.py | Flared/proxy.py | 7199459c69a717bb55f932230ae9a39707430149 | [
"BSD-3-Clause"
] | null | null | null | tests/http/test_protocol_handler.py | Flared/proxy.py | 7199459c69a717bb55f932230ae9a39707430149 | [
"BSD-3-Clause"
] | null | null | null | tests/http/test_protocol_handler.py | Flared/proxy.py | 7199459c69a717bb55f932230ae9a39707430149 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
proxy.py
~~~~~~~~
⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on
Network monitoring, controls & Application development, testing, debugging.
:copyright: (c) 2013-present by Abhinav Singh and contributors.
:license: BSD, see LICENSE... | 34.828571 | 98 | 0.583328 | 1,650 | 15,847 | 5.335758 | 0.124848 | 0.029986 | 0.071218 | 0.040891 | 0.797024 | 0.761131 | 0.728987 | 0.705475 | 0.683553 | 0.658451 | 0 | 0.008673 | 0.323342 | 15,847 | 454 | 99 | 34.905286 | 0.812086 | 0.036852 | 0 | 0.707692 | 0 | 0 | 0.055585 | 0.00611 | 0 | 0 | 0 | 0 | 0.117949 | 1 | 0.012821 | false | 0.007692 | 0.04359 | 0.002564 | 0.064103 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6fb5898dce7dbfa7e8270a66a10d33adb22bc15f | 129 | py | Python | src/pyturb/power_plant/__init__.py | MRod5/pyturb | 08b4016528fc50733fff58d967d1000bf1e634c9 | [
"MIT"
] | 32 | 2017-04-13T12:25:23.000Z | 2022-01-23T01:23:19.000Z | src/pyturb/power_plant/__init__.py | sergiodobler/pyturb | 248ea0ddc939c6d6f2c8d6b3f9a3d13976c22910 | [
"MIT"
] | 12 | 2017-11-13T23:19:15.000Z | 2021-11-28T20:18:28.000Z | src/pyturb/power_plant/__init__.py | sergiodobler/pyturb | 248ea0ddc939c6d6f2c8d6b3f9a3d13976c22910 | [
"MIT"
] | 10 | 2017-05-06T20:05:46.000Z | 2022-03-19T13:31:52.000Z | from .control_volume import ControlVolume
from .intake import Intake
from .nozzle import Nozzle
from .combustor import Combustor
| 25.8 | 41 | 0.844961 | 17 | 129 | 6.352941 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124031 | 129 | 4 | 42 | 32.25 | 0.955752 | 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 |
6fc46543e84163bd9e61cfc71f3645f0b613027e | 401 | py | Python | tests/fixtures/hnclient.py | Rahul09123/zester | e878ba5ce66156a642bc7513a69dc4175f9393be | [
"ISC"
] | 10 | 2015-10-17T16:12:30.000Z | 2021-12-09T04:08:47.000Z | tests/fixtures/hnclient.py | Rahul09123/zester | e878ba5ce66156a642bc7513a69dc4175f9393be | [
"ISC"
] | null | null | null | tests/fixtures/hnclient.py | Rahul09123/zester | e878ba5ce66156a642bc7513a69dc4175f9393be | [
"ISC"
] | 2 | 2020-05-05T04:04:28.000Z | 2020-09-30T14:19:16.000Z | from zester import MultipleClient, Attribute
class HNClient(MultipleClient):
url = "http://news.ycombinator.com/"
title = Attribute(selector="$('.title a')", modifier="$(el).html()")
link = Attribute(selector="$('.title a')", modifier="$(el).attr('href')")
points = Attribute(selector="$('.subtext span... | 40.1 | 77 | 0.59601 | 40 | 401 | 5.975 | 0.625 | 0.213389 | 0.1841 | 0.192469 | 0.276151 | 0.276151 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182045 | 401 | 9 | 78 | 44.555556 | 0.728659 | 0 | 0 | 0 | 0 | 0 | 0.341646 | 0.054863 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
d23ad33663c6194c3fbc525e9df83323c88b24f6 | 195 | py | Python | skyhook/resources/__init__.py | Mikfr83/skyhook | 1af5afdd8ad77a46ea918be487b100d376642db8 | [
"Apache-2.0",
"MIT"
] | null | null | null | skyhook/resources/__init__.py | Mikfr83/skyhook | 1af5afdd8ad77a46ea918be487b100d376642db8 | [
"Apache-2.0",
"MIT"
] | null | null | null | skyhook/resources/__init__.py | Mikfr83/skyhook | 1af5afdd8ad77a46ea918be487b100d376642db8 | [
"Apache-2.0",
"MIT"
] | null | null | null | import os
logo_transparent = os.path.join(os.path.dirname(__file__), "sky_hook_logo_transparent.png")
label_transparent = os.path.join(os.path.dirname(__file__), "sky_hook_label_transparent.png") | 65 | 93 | 0.820513 | 30 | 195 | 4.8 | 0.4 | 0.166667 | 0.236111 | 0.291667 | 0.625 | 0.625 | 0.625 | 0.625 | 0.625 | 0.625 | 0 | 0 | 0.046154 | 195 | 3 | 93 | 65 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.30102 | 0.30102 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
d24e3732913dedcf657630c8a290d0006d31dbcd | 84 | py | Python | tcex/metrics/__init__.py | kdeltared/tcex | 818c0d09256764f871e42d9ca5916f92d941d882 | [
"Apache-2.0"
] | 18 | 2017-01-09T22:17:49.000Z | 2022-01-24T20:46:42.000Z | tcex/metrics/__init__.py | kdeltared/tcex | 818c0d09256764f871e42d9ca5916f92d941d882 | [
"Apache-2.0"
] | 84 | 2017-04-11T13:47:49.000Z | 2022-03-21T20:12:57.000Z | tcex/metrics/__init__.py | kdeltared/tcex | 818c0d09256764f871e42d9ca5916f92d941d882 | [
"Apache-2.0"
] | 43 | 2017-01-05T20:40:26.000Z | 2022-03-31T19:18:02.000Z | """Metrics module for TcEx Framework"""
# flake8: noqa
from .metrics import Metrics
| 21 | 39 | 0.75 | 11 | 84 | 5.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.142857 | 84 | 3 | 40 | 28 | 0.861111 | 0.559524 | 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 |
d2791bb3e0498c2046e3bd00abc4a18cb0b036af | 1,241 | py | Python | translate/translate/models/mymodel.py | naoki-maeda/translate | 21e94e8871562c2cc4ac5afc414a87658d146b0e | [
"MIT"
] | null | null | null | translate/translate/models/mymodel.py | naoki-maeda/translate | 21e94e8871562c2cc4ac5afc414a87658d146b0e | [
"MIT"
] | null | null | null | translate/translate/models/mymodel.py | naoki-maeda/translate | 21e94e8871562c2cc4ac5afc414a87658d146b0e | [
"MIT"
] | null | null | null | from sqlalchemy import (
Column,
Index,
Integer,
Text,
TIMESTAMP,
Boolean
)
from .meta import Base
import datetime
class Login(Base):
__tablename__ = 'login'
id = Column(Integer, primary_key=True)
email = Column(Text, nullable=False)
password = Column(Text, nullable=False)
cl... | 30.268293 | 89 | 0.709106 | 143 | 1,241 | 6.020979 | 0.244755 | 0.226481 | 0.188153 | 0.240418 | 0.674797 | 0.636469 | 0.602787 | 0.602787 | 0.602787 | 0.504065 | 0 | 0 | 0.178082 | 1,241 | 40 | 90 | 31.025 | 0.844118 | 0 | 0 | 0.382353 | 0 | 0 | 0.014504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.058824 | 0.088235 | 0 | 0.794118 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
d285fb4a87eb55eacf3430f06f7235380d7117ac | 100 | py | Python | car_forum/forum/tags.py | ReubenHawley/Car_forum | dea9bfd68b3089cb75155a628a572fd6e0c3ebfc | [
"MIT",
"Unlicense"
] | null | null | null | car_forum/forum/tags.py | ReubenHawley/Car_forum | dea9bfd68b3089cb75155a628a572fd6e0c3ebfc | [
"MIT",
"Unlicense"
] | 4 | 2021-01-19T23:43:30.000Z | 2021-01-19T23:45:02.000Z | car_forum/forum/tags.py | ReubenHawley/Car_forum | dea9bfd68b3089cb75155a628a572fd6e0c3ebfc | [
"MIT",
"Unlicense"
] | null | null | null | def tags(func):
def wrapper(msg):
return f"<{func}> {msg} </{func}>"
return wrapper
| 20 | 42 | 0.55 | 13 | 100 | 4.230769 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26 | 100 | 4 | 43 | 25 | 0.743243 | 0 | 0 | 0 | 0 | 0 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
9631e307694c0c73438df7f099752ab83747a828 | 414 | py | Python | uploads/core/views.py | 1998krzysiek/chatbot | 8dce98bc828efcb52382142e39ebe3ca31e5b623 | [
"MIT"
] | 1 | 2021-05-09T07:30:21.000Z | 2021-05-09T07:30:21.000Z | uploads/core/views.py | 1998krzysiek/chatbot | 8dce98bc828efcb52382142e39ebe3ca31e5b623 | [
"MIT"
] | null | null | null | uploads/core/views.py | 1998krzysiek/chatbot | 8dce98bc828efcb52382142e39ebe3ca31e5b623 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.core.files.storage import FileSystemStorage
def home(request):
return render(request, 'home.html')
def bosak(request):
return render(request, 'bosak.html')
def biedron(request):
return render(request, 'biedron.html')
def duda(request):
return rende... | 17.25 | 55 | 0.727053 | 52 | 414 | 5.788462 | 0.346154 | 0.215947 | 0.315615 | 0.431894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154589 | 414 | 23 | 56 | 18 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0.128641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.166667 | 0.416667 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
966b3fc0603dcf705de63af584ea6d7b83d57a0f | 100 | py | Python | useintest/modules/bissell/__init__.py | wtsi-hgi/startfortest | 426343c0ff340d4d83575cdafe2c4184707e7693 | [
"MIT"
] | 1 | 2019-06-18T20:56:42.000Z | 2019-06-18T20:56:42.000Z | useintest/modules/bissell/__init__.py | wtsi-hgi/useintest | 426343c0ff340d4d83575cdafe2c4184707e7693 | [
"MIT"
] | 3 | 2017-09-21T12:14:44.000Z | 2018-02-19T11:18:47.000Z | useintest/modules/bissell/__init__.py | wtsi-hgi/useintest | 426343c0ff340d4d83575cdafe2c4184707e7693 | [
"MIT"
] | null | null | null | from useintest.modules.bissell.bissell import BissellServiceController, bissell_service_controllers
| 50 | 99 | 0.91 | 10 | 100 | 8.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 100 | 1 | 100 | 100 | 0.936842 | 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 |
967a5134145546de689de251840deaca889570ab | 167 | py | Python | users/admin.py | priyanshisharma/teesco-backend | f6b35f3fc1f21e60e266ff3baed0e8b4f128d7cb | [
"Apache-2.0"
] | 10 | 2020-04-17T10:34:46.000Z | 2021-06-08T04:08:16.000Z | users/admin.py | priyanshisharma/teesco-backend | f6b35f3fc1f21e60e266ff3baed0e8b4f128d7cb | [
"Apache-2.0"
] | 122 | 2020-04-16T18:27:12.000Z | 2021-06-09T03:54:31.000Z | users/admin.py | priyanshisharma/teesco-backend | f6b35f3fc1f21e60e266ff3baed0e8b4f128d7cb | [
"Apache-2.0"
] | 20 | 2020-04-16T17:44:50.000Z | 2021-02-16T16:00:33.000Z | from django.contrib import admin
from users.models import User, Notification
# Register your models here.
admin.site.register(User)
admin.site.register(Notification) | 23.857143 | 43 | 0.820359 | 23 | 167 | 5.956522 | 0.565217 | 0.131387 | 0.248175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101796 | 167 | 7 | 44 | 23.857143 | 0.913333 | 0.155689 | 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 |
969368948cd77a3f2733deb7f53a4f72b3296539 | 97 | py | Python | sparv/modules/hunpos/__init__.py | heatherleaf/sparv-pipeline | 0fe5f27d0d82548ecc6cb21a69289668aac54cf1 | [
"MIT"
] | 17 | 2018-09-21T07:01:45.000Z | 2022-02-24T23:26:49.000Z | sparv/modules/hunpos/__init__.py | heatherleaf/sparv-pipeline | 0fe5f27d0d82548ecc6cb21a69289668aac54cf1 | [
"MIT"
] | 146 | 2018-11-13T19:13:25.000Z | 2022-03-31T09:57:56.000Z | sparv/modules/hunpos/__init__.py | heatherleaf/sparv-pipeline | 0fe5f27d0d82548ecc6cb21a69289668aac54cf1 | [
"MIT"
] | 5 | 2019-02-14T00:50:38.000Z | 2021-03-29T15:37:41.000Z | """Part of Speech annotation using Hunpos."""
from . import hunpos, morphtable, morphtable_hist
| 24.25 | 49 | 0.762887 | 12 | 97 | 6.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 97 | 3 | 50 | 32.333333 | 0.869048 | 0.402062 | 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 |
7369e89f021e0aeb51b113bdf7d25682678180db | 3,226 | py | Python | example/ex_2_agcu_icosahedrons/plt_individuals.py | loevlie/ce_expansion | 17417b9467914dd91ee8e0325cfdc3bd19ad7f1e | [
"MIT"
] | 1 | 2020-11-04T08:01:22.000Z | 2020-11-04T08:01:22.000Z | example/ex_2_agcu_icosahedrons/plt_individuals.py | loevlie/ce_expansion | 17417b9467914dd91ee8e0325cfdc3bd19ad7f1e | [
"MIT"
] | 2 | 2021-04-19T23:45:54.000Z | 2022-02-21T17:40:41.000Z | example/ex_2_agcu_icosahedrons/plt_individuals.py | loevlie/ce_expansion | 17417b9467914dd91ee8e0325cfdc3bd19ad7f1e | [
"MIT"
] | 3 | 2021-05-10T14:25:28.000Z | 2022-02-18T01:09:05.000Z | import matplotlib.cm as cm
import matplotlib.pyplot as plt
import numpy as np
import ce_expansion.npdb.db_inter
DEFAULT_DPI = 600 # Dots per inch
DEFAULT_SCALE = 8 # Scale in inches
# Define the colors
sizes = [13, 55, 147, 309, 561, 923, 1415, 2057, 2869, 5083]
colors = cm.rainbow(np.linspace(0, 1, len(sizes)))
... | 37.511628 | 106 | 0.611283 | 436 | 3,226 | 4.394495 | 0.353211 | 0.050104 | 0.025052 | 0.018789 | 0.755219 | 0.72547 | 0.72547 | 0.72547 | 0.72547 | 0.688935 | 0 | 0.052983 | 0.256975 | 3,226 | 85 | 107 | 37.952941 | 0.74635 | 0.083075 | 0 | 0.677419 | 0 | 0 | 0.073659 | 0.010183 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.064516 | 0 | 0.064516 | 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 |
736ae94f9fa07351f833581d89603a8f707974c7 | 85 | py | Python | tccli/services/waf/__init__.py | zqfan/tencentcloud-cli | b6ad9fced2a2b340087e4e5522121d405f68b615 | [
"Apache-2.0"
] | 47 | 2018-05-31T11:26:25.000Z | 2022-03-08T02:12:45.000Z | tccli/services/waf/__init__.py | zqfan/tencentcloud-cli | b6ad9fced2a2b340087e4e5522121d405f68b615 | [
"Apache-2.0"
] | 23 | 2018-06-14T10:46:30.000Z | 2022-02-28T02:53:09.000Z | tccli/services/waf/__init__.py | zqfan/tencentcloud-cli | b6ad9fced2a2b340087e4e5522121d405f68b615 | [
"Apache-2.0"
] | 22 | 2018-10-22T09:49:45.000Z | 2022-03-30T08:06:04.000Z | # -*- coding: utf-8 -*-
from tccli.services.waf.waf_client import action_caller
| 21.25 | 55 | 0.694118 | 12 | 85 | 4.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.164706 | 85 | 4 | 56 | 21.25 | 0.788732 | 0.247059 | 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 |
7378f08b14e5a9a22c66b1c1003a0cafd8b9ae18 | 100 | py | Python | OnibusFlexivel/main.py | Drawiin/estrutura-de-dados | 41531709346c41397d7b87c9a9664401dfbd593f | [
"MIT"
] | 1 | 2020-03-31T00:21:14.000Z | 2020-03-31T00:21:14.000Z | OnibusFlexivel/main.py | Drawiin/estrutura-de-dados | 41531709346c41397d7b87c9a9664401dfbd593f | [
"MIT"
] | null | null | null | OnibusFlexivel/main.py | Drawiin/estrutura-de-dados | 41531709346c41397d7b87c9a9664401dfbd593f | [
"MIT"
] | null | null | null | from routeCalculator import calculateBestRoute
print(calculateBestRoute([(1, 2), (2, 3), (7, 1)]))
| 25 | 51 | 0.72 | 12 | 100 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 0.11 | 100 | 3 | 52 | 33.333333 | 0.741573 | 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 |
738927f961bd172b6ad2bdd2ea49f3ffd201ff5a | 21,348 | py | Python | tests/test_max_weight_matching.py | darknight009/retworkx | f0ad15fa7e85aad73e0c2e352ec07172333571b5 | [
"Apache-2.0"
] | null | null | null | tests/test_max_weight_matching.py | darknight009/retworkx | f0ad15fa7e85aad73e0c2e352ec07172333571b5 | [
"Apache-2.0"
] | null | null | null | tests/test_max_weight_matching.py | darknight009/retworkx | f0ad15fa7e85aad73e0c2e352ec07172333571b5 | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under th... | 39.098901 | 127 | 0.499719 | 2,609 | 21,348 | 3.835952 | 0.08969 | 0.031475 | 0.073042 | 0.08743 | 0.780176 | 0.759193 | 0.728018 | 0.717126 | 0.71213 | 0.696443 | 0 | 0.068889 | 0.387343 | 21,348 | 545 | 128 | 39.170642 | 0.696307 | 0.045531 | 0 | 0.602062 | 0 | 0 | 0.019551 | 0 | 0 | 0 | 0 | 0.001835 | 0.010309 | 1 | 0.070103 | false | 0 | 0.010309 | 0.002062 | 0.092784 | 0.002062 | 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 |
738d39af604cf65717cfc82c5ce2410825a47159 | 120 | py | Python | recommendations/admin.py | ImmaculateObsession/nest | 8f384e8847ea2e0d639b4defef11d4b226e44461 | [
"MIT"
] | 1 | 2015-04-09T01:30:38.000Z | 2015-04-09T01:30:38.000Z | recommendations/admin.py | ImmaculateObsession/nest | 8f384e8847ea2e0d639b4defef11d4b226e44461 | [
"MIT"
] | null | null | null | recommendations/admin.py | ImmaculateObsession/nest | 8f384e8847ea2e0d639b4defef11d4b226e44461 | [
"MIT"
] | null | null | null | from django.contrib import admin
from recommendations.models import Recommendation
admin.site.register(Recommendation)
| 24 | 49 | 0.866667 | 14 | 120 | 7.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 120 | 4 | 50 | 30 | 0.945455 | 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 |
73faac9f2799960158df3c7cc269cc26d34693db | 12,454 | py | Python | CA1_plasticity/model/stimulation_protocols.py | tomko-neuron/CA1_plasticity | 45e3734dbc0f404c1f85e6b766d32bd43b0d39e8 | [
"MIT"
] | null | null | null | CA1_plasticity/model/stimulation_protocols.py | tomko-neuron/CA1_plasticity | 45e3734dbc0f404c1f85e6b766d32bd43b0d39e8 | [
"MIT"
] | null | null | null | CA1_plasticity/model/stimulation_protocols.py | tomko-neuron/CA1_plasticity | 45e3734dbc0f404c1f85e6b766d32bd43b0d39e8 | [
"MIT"
] | null | null | null | """
Title: stimulation_protocols.py
Author: Matus Tomko
Mail: matus.tomko __at__ fmph.uniba.sk
"""
import numpy as np
from neuron import h
from CA1_plasticity.model.utils import Synapse
class StimulationProtocol:
"""
A class used to set a stimulation protocol
...
Attributes
----------
settin... | 44.960289 | 120 | 0.539345 | 1,301 | 12,454 | 4.960799 | 0.114527 | 0.080105 | 0.126588 | 0.052061 | 0.818872 | 0.806632 | 0.767586 | 0.745119 | 0.690425 | 0.654633 | 0 | 0.006932 | 0.351293 | 12,454 | 276 | 121 | 45.123188 | 0.79193 | 0.222419 | 0 | 0.5 | 0 | 0 | 0.173277 | 0.024817 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060811 | false | 0 | 0.02027 | 0 | 0.087838 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
73fb6ddaf6c57935ea47212fd3335479769084c0 | 39 | py | Python | test/lmp/script/__init__.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | test/lmp/script/__init__.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | test/lmp/script/__init__.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | """Test :py:mod:`lmp.script` entry."""
| 19.5 | 38 | 0.589744 | 6 | 39 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.638889 | 0.820513 | 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 |
fb5688ef43fb6f9010d86b9c0fe03f593d0e3062 | 2,023 | py | Python | book/migrations/0012_auto_20220308_1322.py | Hamed-D3/Mahi-Goli | 7cfea8a84e70a5f0c8140e9e8fe97d3b3eec204c | [
"MIT"
] | null | null | null | book/migrations/0012_auto_20220308_1322.py | Hamed-D3/Mahi-Goli | 7cfea8a84e70a5f0c8140e9e8fe97d3b3eec204c | [
"MIT"
] | null | null | null | book/migrations/0012_auto_20220308_1322.py | Hamed-D3/Mahi-Goli | 7cfea8a84e70a5f0c8140e9e8fe97d3b3eec204c | [
"MIT"
] | null | null | null | # Generated by Django 3.2.10 on 2022-03-08 09:52
import book.models
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('book', '0011_auto_20220226_2222'),
]
operations = [
migrations.AlterField(
model_name='audiobook',
... | 36.781818 | 147 | 0.608008 | 204 | 2,023 | 5.857843 | 0.289216 | 0.133891 | 0.167364 | 0.194142 | 0.761506 | 0.761506 | 0.698745 | 0.61841 | 0.61841 | 0.61841 | 0 | 0.02152 | 0.264953 | 2,023 | 54 | 148 | 37.462963 | 0.782112 | 0.022739 | 0 | 0.708333 | 1 | 0 | 0.173165 | 0.022278 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.104167 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fb82329c0c2b86d8605552e2150de44ca3272306 | 51 | py | Python | tinyurl_ga/__init__.py | tinyurl-ga/tinyurl-ga.py | 3fd49c59b58abeb449fe549b5b6a566d2edbd7ef | [
"MIT"
] | null | null | null | tinyurl_ga/__init__.py | tinyurl-ga/tinyurl-ga.py | 3fd49c59b58abeb449fe549b5b6a566d2edbd7ef | [
"MIT"
] | null | null | null | tinyurl_ga/__init__.py | tinyurl-ga/tinyurl-ga.py | 3fd49c59b58abeb449fe549b5b6a566d2edbd7ef | [
"MIT"
] | null | null | null | from .main import create
from .console import main
| 17 | 25 | 0.803922 | 8 | 51 | 5.125 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 26 | 25.5 | 0.953488 | 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 |
fb85746eef45b50cd307300ee0000373159e11e1 | 2,621 | py | Python | Sleep_Dataset.py | hebinalee/sleep_AI_challenge_2021 | 47cd8b825abb4c712c536605ead8b0f51ff19ac0 | [
"FSFAP"
] | null | null | null | Sleep_Dataset.py | hebinalee/sleep_AI_challenge_2021 | 47cd8b825abb4c712c536605ead8b0f51ff19ac0 | [
"FSFAP"
] | null | null | null | Sleep_Dataset.py | hebinalee/sleep_AI_challenge_2021 | 47cd8b825abb4c712c536605ead8b0f51ff19ac0 | [
"FSFAP"
] | null | null | null | #######################################################
## READ DATA FROM FILENAMES AND SAVE IMAGE AND LABELS
## Sleep_Dataset : for train dataset
## Sleep_Test_Dataset: for test dataset
#######################################################
import os
import random
import pandas as pd
import numpy as np... | 30.835294 | 84 | 0.580694 | 332 | 2,621 | 4.364458 | 0.201807 | 0.088337 | 0.060732 | 0.041408 | 0.709455 | 0.709455 | 0.709455 | 0.709455 | 0.709455 | 0.709455 | 0 | 0.010909 | 0.265548 | 2,621 | 84 | 85 | 31.202381 | 0.741818 | 0.08966 | 0 | 0.603774 | 0 | 0 | 0.050894 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.132075 | false | 0 | 0.169811 | 0.037736 | 0.415094 | 0.037736 | 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 |
fb8b6494ad78fb90b0ba695190ae36197b0dc3f3 | 168 | py | Python | evaluators/dialog/state/__init__.py | kaniblu/vhda | 35941097ef552568c29f66cc55d8ce1927f34978 | [
"MIT"
] | 3 | 2021-01-12T05:43:20.000Z | 2021-03-05T17:03:06.000Z | evaluators/dialog/state/__init__.py | kaniblu/vhda | 35941097ef552568c29f66cc55d8ce1927f34978 | [
"MIT"
] | null | null | null | evaluators/dialog/state/__init__.py | kaniblu/vhda | 35941097ef552568c29f66cc55d8ce1927f34978 | [
"MIT"
] | null | null | null | from .entropy import StateEntropyEvaluator
from .distinct import DistinctStateEvaluator
from .count import StateCountEvaluator
from .novel import StateNoveltyEvaluator
| 33.6 | 44 | 0.880952 | 16 | 168 | 9.25 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 168 | 4 | 45 | 42 | 0.973684 | 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 |
fb99a333d2d39d355bb4818b10147a45129ed2a2 | 72 | py | Python | fixture/navigation.py | TestQA14/python_training | 7b1c8e6925b274ed05d154a3d434c5ea704595bb | [
"Apache-2.0"
] | null | null | null | fixture/navigation.py | TestQA14/python_training | 7b1c8e6925b274ed05d154a3d434c5ea704595bb | [
"Apache-2.0"
] | null | null | null | fixture/navigation.py | TestQA14/python_training | 7b1c8e6925b274ed05d154a3d434c5ea704595bb | [
"Apache-2.0"
] | null | null | null | class PageHelper:
def __init__(self, app):
self.app = app
| 12 | 28 | 0.597222 | 9 | 72 | 4.333333 | 0.666667 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.305556 | 72 | 5 | 29 | 14.4 | 0.78 | 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 |
fb9c0270288c89c5db40e99d932432773f34e160 | 217 | py | Python | lib/oeqa/runtime/cases/rubygems_rubygems_google_apis_core.py | tuxable-ltd/meta-rubygems | e80630e79b64e1be8339e1add0ab07644ec99425 | [
"BSD-2-Clause"
] | null | null | null | lib/oeqa/runtime/cases/rubygems_rubygems_google_apis_core.py | tuxable-ltd/meta-rubygems | e80630e79b64e1be8339e1add0ab07644ec99425 | [
"BSD-2-Clause"
] | 141 | 2021-02-04T16:22:13.000Z | 2022-03-27T08:29:40.000Z | lib/oeqa/runtime/cases/rubygems_rubygems_google_apis_core.py | tuxable-ltd/meta-rubygems | e80630e79b64e1be8339e1add0ab07644ec99425 | [
"BSD-2-Clause"
] | 3 | 2021-02-04T14:02:01.000Z | 2022-02-02T16:46:52.000Z | from rubygems_utils import RubyGemsTestUtils
class RubyGemsTestrubygems_google_apis_core(RubyGemsTestUtils):
def test_gem_list_rubygems_google_apis_core(self):
self.gem_is_installed("google-apis-core")
| 27.125 | 63 | 0.829493 | 27 | 217 | 6.222222 | 0.62963 | 0.178571 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110599 | 217 | 7 | 64 | 31 | 0.870466 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 |
fb9ff1dd029299b8da9dcbf6d6b7b19daf046a96 | 138 | py | Python | leetcode/231-Power-of-Two/PowofTwo_003.py | cc13ny/all-in | bc0b01e44e121ea68724da16f25f7e24386c53de | [
"MIT"
] | 1 | 2015-12-16T04:01:03.000Z | 2015-12-16T04:01:03.000Z | leetcode/231-Power-of-Two/PowofTwo_003.py | cc13ny/all-in | bc0b01e44e121ea68724da16f25f7e24386c53de | [
"MIT"
] | 1 | 2016-02-09T06:00:07.000Z | 2016-02-09T07:20:13.000Z | leetcode/231-Power-of-Two/PowofTwo_003.py | cc13ny/all-in | bc0b01e44e121ea68724da16f25f7e24386c53de | [
"MIT"
] | 2 | 2019-06-27T09:07:26.000Z | 2019-07-01T04:40:13.000Z | class Solution:
# @param {integer} n
# @return {boolean}
def isPowerOfTwo(self, n):
return n > 0 and (n & n - 1 is 0)
| 23 | 41 | 0.550725 | 20 | 138 | 3.8 | 0.7 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0.318841 | 138 | 5 | 42 | 27.6 | 0.776596 | 0.26087 | 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 |
fb9ffd857183433887413e3e53fb05652351a0aa | 51 | py | Python | exunit/exunit_print.py | Dania02525/TestExUnit | 874aeb299d34ce7471a3a3552fcc00827c91d547 | [
"MIT"
] | null | null | null | exunit/exunit_print.py | Dania02525/TestExUnit | 874aeb299d34ce7471a3a3552fcc00827c91d547 | [
"MIT"
] | null | null | null | exunit/exunit_print.py | Dania02525/TestExUnit | 874aeb299d34ce7471a3a3552fcc00827c91d547 | [
"MIT"
] | null | null | null | def exunit_print(*args):
print("ExUnit:", *args)
| 17 | 25 | 0.666667 | 7 | 51 | 4.714286 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 51 | 2 | 26 | 25.5 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
fba915f4c4e1f41eae528bcc4a153040106e626a | 74 | py | Python | grid/__init__.py | cthorey/Grid | f86c117fda882a8c36073cfd872e542bb8fbe07f | [
"Apache-2.0"
] | 1 | 2018-03-09T20:49:48.000Z | 2018-03-09T20:49:48.000Z | grid/__init__.py | jvmancuso/Grid | ce202add2a066eb6a1421d0391646b50e2d7f306 | [
"Apache-2.0"
] | 1 | 2018-03-28T09:08:28.000Z | 2018-03-28T09:08:28.000Z | grid/__init__.py | jvmancuso/Grid | ce202add2a066eb6a1421d0391646b50e2d7f306 | [
"Apache-2.0"
] | null | null | null | from . import clients
from .channels import torch_listen_for_obj_callback
| 24.666667 | 51 | 0.864865 | 11 | 74 | 5.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 52 | 37 | 0.909091 | 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.