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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6824c94bf6899436367a67d7c6002afabf475412 | 23,548 | py | Python | BaseTools/Source/Python/Eot/CListener.py | changeworld/mu_basecore | 1a883ec85d8d2f49663c76e1a1bc5068333f5508 | [
"BSD-2-Clause"
] | null | null | null | BaseTools/Source/Python/Eot/CListener.py | changeworld/mu_basecore | 1a883ec85d8d2f49663c76e1a1bc5068333f5508 | [
"BSD-2-Clause"
] | null | null | null | BaseTools/Source/Python/Eot/CListener.py | changeworld/mu_basecore | 1a883ec85d8d2f49663c76e1a1bc5068333f5508 | [
"BSD-2-Clause"
] | 1 | 2021-11-01T19:33:11.000Z | 2021-11-01T19:33:11.000Z | # Generated from C.g4 by ANTLR 4.7.1
from antlr4 import *
if __name__ is not None and "." in __name__:
from .CParser import CParser
else:
from CParser import CParser
## @file
# The file defines the parser for C source files.
#
# THIS FILE IS AUTO-GENENERATED. PLEASE DON NOT MODIFY THIS FILE.
# This ... | 34.989599 | 94 | 0.728554 | 2,766 | 23,548 | 6.0282 | 0.098698 | 0.051457 | 0.085762 | 0.154372 | 0.851985 | 0.827636 | 0.826017 | 0.654072 | 0.643577 | 0.221782 | 0 | 0.001351 | 0.214328 | 23,548 | 672 | 95 | 35.041667 | 0.899897 | 0.373323 | 0 | 0.486301 | 1 | 0 | 0.000073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.486301 | false | 0.486301 | 0.017123 | 0 | 0.506849 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
685199137dc1fb1d79165e25b749a1e288cfb295 | 12,611 | py | Python | tests.py | CrazyLionHeart/audio2zbx | 385ef5b8484092c3ac38d280581705a430d9ae23 | [
"MIT"
] | null | null | null | tests.py | CrazyLionHeart/audio2zbx | 385ef5b8484092c3ac38d280581705a430d9ae23 | [
"MIT"
] | null | null | null | tests.py | CrazyLionHeart/audio2zbx | 385ef5b8484092c3ac38d280581705a430d9ae23 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# This program is dedicated to the public domain under the MIT license.
from datetime import datetime, timedelta
from main import match_replace
from main import parse_EventLogGetLog
from main import parse_EventLogGetLogNumber
from main import parse_devstatus_error
from ma... | 33.719251 | 163 | 0.704068 | 1,553 | 12,611 | 5.444945 | 0.072762 | 0.112583 | 0.14948 | 0.119915 | 0.889782 | 0.882569 | 0.876656 | 0.869442 | 0.856079 | 0.83219 | 0 | 0.028902 | 0.171438 | 12,611 | 373 | 164 | 33.809651 | 0.779788 | 0.03378 | 0 | 0.599237 | 0 | 0.026718 | 0.214958 | 0.00809 | 0 | 0 | 0.004458 | 0 | 0.152672 | 1 | 0.148855 | false | 0 | 0.026718 | 0 | 0.175573 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
685317fe3af1532fe8d812a59f4d56e8242a35ca | 176 | py | Python | python/vital/algo/__init__.py | mwoehlke-kitware/kwiver | 614a488bd2b7fe551ac75eec979766d882709791 | [
"BSD-3-Clause"
] | 176 | 2015-07-31T23:33:37.000Z | 2022-03-21T23:42:44.000Z | python/vital/algo/__init__.py | mwoehlke-kitware/kwiver | 614a488bd2b7fe551ac75eec979766d882709791 | [
"BSD-3-Clause"
] | 1,276 | 2015-05-03T01:21:27.000Z | 2022-03-31T15:32:20.000Z | python/vital/algo/__init__.py | mwoehlke-kitware/kwiver | 614a488bd2b7fe551ac75eec979766d882709791 | [
"BSD-3-Clause"
] | 85 | 2015-01-25T05:13:38.000Z | 2022-01-14T14:59:37.000Z | import warnings
warnings.warn(
'`import vital.algo` is deprecated, use import kwiver.vital.algo instead',
DeprecationWarning
)
from kwiver.vital.algo import * # NOQA
| 22 | 78 | 0.744318 | 22 | 176 | 5.954545 | 0.590909 | 0.206107 | 0.229008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164773 | 176 | 7 | 79 | 25.142857 | 0.891156 | 0.022727 | 0 | 0 | 0 | 0 | 0.417647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6853a12132d9f61f536842fc54855b2ee8eddb64 | 98 | py | Python | server_folder/server_users.py | jonlwowski012/DropboxROS | e6fd3151aff8400f4f906f2fc5ce0236822dccf9 | [
"Apache-2.0"
] | null | null | null | server_folder/server_users.py | jonlwowski012/DropboxROS | e6fd3151aff8400f4f906f2fc5ce0236822dccf9 | [
"Apache-2.0"
] | null | null | null | server_folder/server_users.py | jonlwowski012/DropboxROS | e6fd3151aff8400f4f906f2fc5ce0236822dccf9 | [
"Apache-2.0"
] | null | null | null | jonathan:286a1e3e96d074c489237bbe5b71ab8a21f88248
taylor:e5b0328e7e268c79311fb86150777f171b71f932
| 32.666667 | 49 | 0.959184 | 4 | 98 | 23.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.59375 | 0.020408 | 98 | 2 | 50 | 49 | 0.385417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6859be12f0af27bd28fbfdaa29507f53adfcce50 | 39 | py | Python | django_keyboard_layout/__init__.py | deniskrumko/django-keyboard-layout | f6c42fa03d7859a8b58bacf3039fcbd0fa775578 | [
"MIT"
] | null | null | null | django_keyboard_layout/__init__.py | deniskrumko/django-keyboard-layout | f6c42fa03d7859a8b58bacf3039fcbd0fa775578 | [
"MIT"
] | null | null | null | django_keyboard_layout/__init__.py | deniskrumko/django-keyboard-layout | f6c42fa03d7859a8b58bacf3039fcbd0fa775578 | [
"MIT"
] | null | null | null | from . import filters, layouts # noqa
| 19.5 | 38 | 0.717949 | 5 | 39 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 1 | 39 | 39 | 0.903226 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
686d504728ced5230b5d71fe65af81a367de74fb | 44 | py | Python | main.py | hattiq/Polygon_Manager | 3902f68a8539c022237781db6692469863d70739 | [
"MIT"
] | 1 | 2021-11-29T09:24:05.000Z | 2021-11-29T09:24:05.000Z | main.py | hattiq/Polygon_Manager | 3902f68a8539c022237781db6692469863d70739 | [
"MIT"
] | 9 | 2021-11-29T09:37:47.000Z | 2022-02-07T10:16:10.000Z | main.py | hattiq/Polygon_Manager | 3902f68a8539c022237781db6692469863d70739 | [
"MIT"
] | 1 | 2022-02-07T09:33:18.000Z | 2022-02-07T09:33:18.000Z | from polygon_manager import PolygonManager
| 14.666667 | 42 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 2 | 43 | 22 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6881cd5ea779aa47041231ce78cab7e72cad2b8f | 28 | py | Python | pyled/led/__init__.py | prithajnath/pyled | 55d1a7166d013a93bde4bb3a7a3d61c4ec3e4571 | [
"MIT"
] | null | null | null | pyled/led/__init__.py | prithajnath/pyled | 55d1a7166d013a93bde4bb3a7a3d61c4ec3e4571 | [
"MIT"
] | null | null | null | pyled/led/__init__.py | prithajnath/pyled | 55d1a7166d013a93bde4bb3a7a3d61c4ec3e4571 | [
"MIT"
] | null | null | null | from .strip import LEDStrip
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d7b069d81caf017462ba9b7bd218ab7ef792a7b3 | 835 | py | Python | test/test_instance_shutdown_action_response_data.py | p-fruck/python-contabo | c3abd362a0b90783118f36bec0e557bdbe5a8f2c | [
"Apache-2.0"
] | 2 | 2022-01-27T10:36:33.000Z | 2022-03-09T14:21:12.000Z | test/test_instance_shutdown_action_response_data.py | p-fruck/python-contabo | c3abd362a0b90783118f36bec0e557bdbe5a8f2c | [
"Apache-2.0"
] | 7 | 2022-01-13T10:44:19.000Z | 2022-02-15T23:44:44.000Z | test/test_instance_shutdown_action_response_data.py | p-fruck/python-contabo | c3abd362a0b90783118f36bec0e557bdbe5a8f2c | [
"Apache-2.0"
] | null | null | null | """
Contabo API
The version of the OpenAPI document: 1.0.0
Contact: support@contabo.com
Generated by: https://openapi-generator.tech
"""
import sys
import unittest
import pfruck_contabo
from pfruck_contabo.model.instance_shutdown_action_response_data import InstanceShutdownActionResponseData
clas... | 23.194444 | 106 | 0.732934 | 79 | 835 | 7.56962 | 0.670886 | 0.043478 | 0.036789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008915 | 0.194012 | 835 | 35 | 107 | 23.857143 | 0.879643 | 0.419162 | 0 | 0.230769 | 1 | 0 | 0.017817 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0.230769 | false | 0.230769 | 0.307692 | 0 | 0.615385 | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cc2623312825a48f3686a74723951126a9acfc5c | 315 | py | Python | taurex/optimizer/__init__.py | ucl-exoplanets/TauREx3_public | cf8da465448df44c3c4dcc2cd0002ef34edd3920 | [
"BSD-3-Clause"
] | 10 | 2019-12-18T09:19:16.000Z | 2021-06-21T11:02:06.000Z | taurex/optimizer/__init__.py | ucl-exoplanets/TauREx3_public | cf8da465448df44c3c4dcc2cd0002ef34edd3920 | [
"BSD-3-Clause"
] | 10 | 2020-03-24T18:02:15.000Z | 2021-08-23T20:32:09.000Z | taurex/optimizer/__init__.py | ucl-exoplanets/TauREx3_public | cf8da465448df44c3c4dcc2cd0002ef34edd3920 | [
"BSD-3-Clause"
] | 8 | 2020-03-26T14:16:42.000Z | 2021-12-18T22:11:25.000Z | from .optimizer import Optimizer
from .nestle import NestleOptimizer
try:
from .multinest import MultiNestOptimizer
except ImportError:
pass
try:
from .polychord import PolyChordOptimizer
except ImportError:
pass
try:
from .dypolychord import dyPolyChordOptimizer
except ImportError:
pass | 18.529412 | 49 | 0.780952 | 32 | 315 | 7.6875 | 0.46875 | 0.085366 | 0.256098 | 0.195122 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184127 | 315 | 17 | 50 | 18.529412 | 0.957198 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.214286 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0bd416f96f15e5111a8a4ed358b1a514022cbfb3 | 44 | py | Python | basic.py | Alferdize/Machine-Learning-in-Python | c1e19bd0968dd08217bf1aa2c516a1058a3da521 | [
"BSD-4-Clause-UC"
] | null | null | null | basic.py | Alferdize/Machine-Learning-in-Python | c1e19bd0968dd08217bf1aa2c516a1058a3da521 | [
"BSD-4-Clause-UC"
] | null | null | null | basic.py | Alferdize/Machine-Learning-in-Python | c1e19bd0968dd08217bf1aa2c516a1058a3da521 | [
"BSD-4-Clause-UC"
] | null | null | null | def func(a,b):
return a+b
fund = func(4,5)
| 11 | 16 | 0.613636 | 11 | 44 | 2.454545 | 0.727273 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.181818 | 44 | 3 | 17 | 14.666667 | 0.694444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0becac87c67c49531baf8bb69751f38d3841e536 | 5,929 | py | Python | src/interfaces/api/serializers/gene.py | cruz-f/protrend | b72c17fa1606b4cf5ca6d60c51737b43ba3fdbc1 | [
"MIT"
] | null | null | null | src/interfaces/api/serializers/gene.py | cruz-f/protrend | b72c17fa1606b4cf5ca6d60c51737b43ba3fdbc1 | [
"MIT"
] | 1 | 2022-02-11T18:38:39.000Z | 2022-02-11T18:38:39.000Z | src/interfaces/api/serializers/gene.py | cruz-f/protrend | b72c17fa1606b4cf5ca6d60c51737b43ba3fdbc1 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from constants import help_text, choices
from data import Gene
from interfaces.validation import validate_protein_sequence
from interfaces.serializers.base import BaseSerializer
from interfaces.serializers.fields import URLField, SourceField
from interfaces.serializers.relationsh... | 61.760417 | 117 | 0.623545 | 570 | 5,929 | 6.217544 | 0.157895 | 0.110609 | 0.081264 | 0.108352 | 0.756208 | 0.744639 | 0.744639 | 0.735045 | 0.70316 | 0.70316 | 0 | 0.005336 | 0.304604 | 5,929 | 95 | 118 | 62.410526 | 0.854232 | 0.008433 | 0 | 0.265823 | 0 | 0 | 0.039162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012658 | false | 0 | 0.088608 | 0 | 0.556962 | 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 | 1 | 0 | 0 | 6 |
0402fb770b0d442e23a8b03e9c8396a7bd1eff48 | 67 | py | Python | bugtests/test253c.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | bugtests/test253c.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | bugtests/test253c.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | from test253c2 import Action
class SubAction(Action):
pass
| 9.571429 | 29 | 0.731343 | 8 | 67 | 6.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.223881 | 67 | 6 | 30 | 11.166667 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
04037d90f3f83c9f81749c2890caf398113e3872 | 2,538 | py | Python | napari/_tests/test_numpy_like.py | chili-chiu/napari | eb6e672975ce105ac0125f71da3d0970d17cefb9 | [
"BSD-3-Clause"
] | 1,345 | 2019-03-03T21:14:14.000Z | 2022-03-31T19:46:39.000Z | napari/_tests/test_numpy_like.py | chili-chiu/napari | eb6e672975ce105ac0125f71da3d0970d17cefb9 | [
"BSD-3-Clause"
] | 3,904 | 2019-03-02T01:30:24.000Z | 2022-03-31T20:17:27.000Z | napari/_tests/test_numpy_like.py | chili-chiu/napari | eb6e672975ce105ac0125f71da3d0970d17cefb9 | [
"BSD-3-Clause"
] | 306 | 2019-03-29T17:09:10.000Z | 2022-03-30T09:54:11.000Z | import dask.array as da
import numpy as np
import xarray as xr
import zarr
def test_dask_2D(make_napari_viewer):
"""Test adding 2D dask image."""
viewer = make_napari_viewer()
da.random.seed(0)
data = da.random.random((10, 15))
viewer.add_image(data)
assert np.all(viewer.layers[0].data == dat... | 27.89011 | 64 | 0.656028 | 399 | 2,538 | 4.012531 | 0.14787 | 0.099938 | 0.1599 | 0.099938 | 0.939413 | 0.898189 | 0.894441 | 0.838226 | 0.790756 | 0.790756 | 0 | 0.063353 | 0.191489 | 2,538 | 90 | 65 | 28.2 | 0.716862 | 0.133176 | 0 | 0.660714 | 0 | 0 | 0.00278 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.071429 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0441be66bdb347eb2253009b9ff26251ba48de3b | 546 | py | Python | firebirdsql/tests/__init__.py | vehas/pyfirebirdsql | 9c0ee09ca556d9c8d0fe979d80ee72b75523c4e4 | [
"BSD-2-Clause"
] | null | null | null | firebirdsql/tests/__init__.py | vehas/pyfirebirdsql | 9c0ee09ca556d9c8d0fe979d80ee72b75523c4e4 | [
"BSD-2-Clause"
] | null | null | null | firebirdsql/tests/__init__.py | vehas/pyfirebirdsql | 9c0ee09ca556d9c8d0fe979d80ee72b75523c4e4 | [
"BSD-2-Clause"
] | null | null | null | from firebirdsql.tests.test_basic import *
from firebirdsql.tests.test_proc import *
from firebirdsql.tests.test_issues import *
from firebirdsql.tests.test_backup import *
from firebirdsql.tests.test_services import *
from firebirdsql.tests.test_event import *
from firebirdsql.tests.test_arc4 import *
from firebirdsql... | 34.125 | 47 | 0.811355 | 73 | 546 | 5.808219 | 0.273973 | 0.389151 | 0.518868 | 0.622642 | 0.707547 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002062 | 0.111722 | 546 | 15 | 48 | 36.4 | 0.872165 | 0.082418 | 0 | 0 | 0 | 0 | 0.016032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.846154 | 0 | 0.846154 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0b0a8ee05af70def2ccd3c42284ddaa10770f260 | 202 | py | Python | test.py | Lagostra/python-production-server | 5e9fda714790e6b511ec7f59ce52d72df96d79ee | [
"MIT"
] | null | null | null | test.py | Lagostra/python-production-server | 5e9fda714790e6b511ec7f59ce52d72df96d79ee | [
"MIT"
] | null | null | null | test.py | Lagostra/python-production-server | 5e9fda714790e6b511ec7f59ce52d72df96d79ee | [
"MIT"
] | null | null | null | import python_production_server
from autoload import basic_arithmetics
if __name__ == '__main__':
python_production_server.autoload_package('autoload')
python_production_server.run(port=8080)
| 25.25 | 57 | 0.821782 | 24 | 202 | 6.25 | 0.625 | 0.32 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.108911 | 202 | 7 | 58 | 28.857143 | 0.811111 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9bc8793c79b9fc6c541bc8f07e3c46f7b3d19a38 | 5,394 | py | Python | certbot/plugins/util_test.py | dosaygo/certbot | 792ef800769a3fa26bfa56248aaf1cbc2ef362c8 | [
"Apache-2.0"
] | 2 | 2016-07-14T14:26:42.000Z | 2016-10-04T04:52:21.000Z | certbot/plugins/util_test.py | cpu/certbot | 9fead41aaf93dde0d36d4aef6fded8dd306c1ddc | [
"Apache-2.0"
] | null | null | null | certbot/plugins/util_test.py | cpu/certbot | 9fead41aaf93dde0d36d4aef6fded8dd306c1ddc | [
"Apache-2.0"
] | null | null | null | """Tests for certbot.plugins.util."""
import unittest
import mock
import psutil
class AlreadyListeningTest(unittest.TestCase):
"""Tests for certbot.plugins.already_listening."""
def _call(self, *args, **kwargs):
from certbot.plugins.util import already_listening
return already_listening(*args... | 49.944444 | 77 | 0.61865 | 721 | 5,394 | 4.48405 | 0.176144 | 0.012991 | 0.04949 | 0.092484 | 0.772348 | 0.768636 | 0.768636 | 0.768636 | 0.742963 | 0.742963 | 0 | 0.073603 | 0.226733 | 5,394 | 107 | 78 | 50.411215 | 0.70151 | 0.066741 | 0 | 0.736264 | 0 | 0 | 0.173774 | 0.107413 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.065934 | false | 0 | 0.087912 | 0 | 0.175824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9bd5ee793761df6d9c6fa96846789b1d2d1a8e5c | 14,856 | py | Python | django_google_recaptcha/tests/test_fields.py | GustavoBPereira/django-recaptcha | 944c93b1412f1756d1818185bae88147dd16995d | [
"X11",
"MIT"
] | null | null | null | django_google_recaptcha/tests/test_fields.py | GustavoBPereira/django-recaptcha | 944c93b1412f1756d1818185bae88147dd16995d | [
"X11",
"MIT"
] | null | null | null | django_google_recaptcha/tests/test_fields.py | GustavoBPereira/django-recaptcha | 944c93b1412f1756d1818185bae88147dd16995d | [
"X11",
"MIT"
] | null | null | null | try:
from unittest.mock import patch, PropertyMock, MagicMock
except ImportError:
from mock import patch, PropertyMock, MagicMock
from django import forms
from django.core.exceptions import ImproperlyConfigured
from django.test import TestCase, override_settings
from django_google_recaptcha import fields, wid... | 37.994885 | 78 | 0.599354 | 1,505 | 14,856 | 5.741528 | 0.113621 | 0.055549 | 0.087027 | 0.057864 | 0.827566 | 0.797477 | 0.769008 | 0.746094 | 0.701771 | 0.686263 | 0 | 0.015194 | 0.277868 | 14,856 | 390 | 79 | 38.092308 | 0.790268 | 0 | 0 | 0.627168 | 0 | 0 | 0.216007 | 0.099152 | 0 | 0 | 0 | 0 | 0.216763 | 1 | 0.054913 | false | 0.028902 | 0.026012 | 0 | 0.138728 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9be71bbbef081f1547f4cc11d1fe37b662a3c78c | 110 | py | Python | backend/django_app/users/managers.py | bekurmann/BA_polity | 933c9df9d935066cc498c5da8e1e0f68742f6ee5 | [
"MIT"
] | null | null | null | backend/django_app/users/managers.py | bekurmann/BA_polity | 933c9df9d935066cc498c5da8e1e0f68742f6ee5 | [
"MIT"
] | null | null | null | backend/django_app/users/managers.py | bekurmann/BA_polity | 933c9df9d935066cc498c5da8e1e0f68742f6ee5 | [
"MIT"
] | null | null | null | from django.contrib.auth.base_user import BaseUserManager
class CustomUserManager(BaseUserManager):
pass | 22 | 57 | 0.836364 | 12 | 110 | 7.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 110 | 5 | 58 | 22 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9bfc720d10084ac4dc39b1f2323e53ae0ae2b1cd | 7,269 | py | Python | utils/data_loaders.py | mustafa1728/TA3N-Lightning | 3656720b014158303934933374404f0af7fa95c2 | [
"MIT"
] | 1 | 2021-05-28T22:20:38.000Z | 2021-05-28T22:20:38.000Z | utils/data_loaders.py | mustafa1728/TA3N-Lightning | 3656720b014158303934933374404f0af7fa95c2 | [
"MIT"
] | 1 | 2021-07-29T13:51:39.000Z | 2021-07-29T13:51:39.000Z | utils/data_loaders.py | mustafa1728/TA3N-Lightning-Kitchen_Domain_Adaptation | 3656720b014158303934933374404f0af7fa95c2 | [
"MIT"
] | 1 | 2021-07-16T16:22:21.000Z | 2021-07-16T16:22:21.000Z | # import argparse
import os
import time
import shutil
import torch
import torch.nn.parallel
import torch.nn.functional as F
import torch.backends.cudnn as cudnn
import torch.optim
from torch.nn.utils import clip_grad_norm_
from dataset import TSNDataSet
from utils.loss import *
import pandas as pd
from colorama impor... | 60.07438 | 195 | 0.715642 | 1,074 | 7,269 | 4.567039 | 0.111732 | 0.059123 | 0.069725 | 0.061978 | 0.886035 | 0.852192 | 0.788991 | 0.751478 | 0.735984 | 0.720082 | 0 | 0.012217 | 0.166735 | 7,269 | 120 | 196 | 60.575 | 0.79759 | 0.035631 | 0 | 0.520833 | 0 | 0 | 0.063535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.15625 | 0 | 0.21875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
500531aea098535ad3e391ecac1c1d340b7642db | 46,033 | py | Python | src/tarski/io/_fstrips/parser/lexer.py | phoeft670/tarski | 7d955e535fbbca012bfd1a12402b97febc6b35b9 | [
"Apache-2.0"
] | 29 | 2018-11-26T20:31:04.000Z | 2021-12-29T11:08:40.000Z | src/tarski/io/_fstrips/parser/lexer.py | phoeft670/tarski | 7d955e535fbbca012bfd1a12402b97febc6b35b9 | [
"Apache-2.0"
] | 101 | 2018-06-07T13:10:01.000Z | 2022-03-11T11:54:00.000Z | src/tarski/io/_fstrips/parser/lexer.py | phoeft670/tarski | 7d955e535fbbca012bfd1a12402b97febc6b35b9 | [
"Apache-2.0"
] | 18 | 2018-11-01T22:44:39.000Z | 2022-02-28T04:57:15.000Z | # Generated from /home/frances/projects/code/tarski/utils/parsers/grammars/fstrips.g4 by ANTLR 4.7.1
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2]")
... | 66.234532 | 103 | 0.585732 | 10,333 | 46,033 | 2.57447 | 0.16007 | 0.119615 | 0.046575 | 0.050823 | 0.28434 | 0.15371 | 0.106345 | 0.092061 | 0.08988 | 0.087399 | 0 | 0.364056 | 0.13877 | 46,033 | 694 | 104 | 66.329971 | 0.306949 | 0.002129 | 0 | 0.023634 | 1 | 0.745938 | 0.665738 | 0.632492 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002954 | false | 0 | 0.005908 | 0 | 0.15805 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5014d94643ba5f5af4770e32ca13f9d9f709a5bb | 291 | py | Python | nolastlogin/models.py | MSA-Argentina/django-no-last-login | 09584da6d7a108dd4e4d6f9bb402fba663318b45 | [
"MIT"
] | 4 | 2018-10-24T16:04:53.000Z | 2020-08-04T14:57:58.000Z | nolastlogin/models.py | MSA-Argentina/django-no-last-login | 09584da6d7a108dd4e4d6f9bb402fba663318b45 | [
"MIT"
] | 1 | 2019-03-08T23:50:49.000Z | 2019-04-29T15:07:17.000Z | nolastlogin/models.py | MSA-Argentina/django-no-last-login | 09584da6d7a108dd4e4d6f9bb402fba663318b45 | [
"MIT"
] | 2 | 2020-10-08T17:58:31.000Z | 2020-10-26T21:42:35.000Z | from django.conf import settings
from django.contrib.auth.models import update_last_login
from django.contrib.auth.signals import user_logged_in
def _readonly():
return getattr(settings, 'NO_UPDATE_LAST_LOGIN', False)
if _readonly():
user_logged_in.disconnect(update_last_login)
| 24.25 | 59 | 0.810997 | 42 | 291 | 5.309524 | 0.547619 | 0.134529 | 0.201794 | 0.188341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 291 | 11 | 60 | 26.454545 | 0.864341 | 0 | 0 | 0 | 0 | 0 | 0.068729 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
503dba0e8995a95f795b44eac585f38e9eeab069 | 7,766 | py | Python | BeautiBot/Discord/intent/Loki_appointmentDoctor.py | marcnhwu/LokiHub | 52d0bccf313c44f25dd79590cdef7b604cd37f1a | [
"MIT"
] | 17 | 2020-11-25T07:40:18.000Z | 2022-03-07T03:29:18.000Z | BeautiBot/Discord/intent/Loki_appointmentDoctor.py | marcnhwu/LokiHub | 52d0bccf313c44f25dd79590cdef7b604cd37f1a | [
"MIT"
] | 8 | 2020-12-18T13:23:59.000Z | 2021-10-03T21:41:50.000Z | BeautiBot/Discord/intent/Loki_appointmentDoctor.py | marcnhwu/LokiHub | 52d0bccf313c44f25dd79590cdef7b604cd37f1a | [
"MIT"
] | 43 | 2020-12-02T09:03:57.000Z | 2021-12-23T03:30:25.000Z | #!/usr/bin/env python3
# -*- coding:utf-8 -*-
"""
Loki module for appointmentDoctor
Input:
inputSTR str,
utterance str,
args str[],
resultDICT dict
Output:
resultDICT dict
"""
DEBUG_appointmentDoctor = True
userDefinedDICT = {"bodypart": ["... | 35.3 | 395 | 0.549704 | 790 | 7,766 | 5.393671 | 0.203797 | 0.084487 | 0.084487 | 0.253696 | 0.781741 | 0.766017 | 0.754752 | 0.740202 | 0.699132 | 0.699132 | 0 | 0.010283 | 0.298738 | 7,766 | 220 | 396 | 35.3 | 0.772126 | 0.049704 | 0 | 0.685185 | 0 | 0 | 0.1991 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024691 | false | 0.154321 | 0.012346 | 0 | 0.055556 | 0.006173 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4a17eba0944df4a6b9a059f7eae23753f31c55a3 | 23,137 | py | Python | test/solver_tests/hybrid_solver_test.py | YosefLab/SingleCellLineageTracing | d9133fc80c8314e7935fde037dd86111cac47447 | [
"MIT"
] | 52 | 2019-05-14T02:06:24.000Z | 2022-03-27T05:22:56.000Z | test/solver_tests/hybrid_solver_test.py | sbradford2/Cassiopeia | 010072b307f7eadbf10dc4af8b2165e48f1736a7 | [
"MIT"
] | 88 | 2019-06-07T15:07:45.000Z | 2022-03-22T14:40:03.000Z | test/solver_tests/hybrid_solver_test.py | sbradford2/Cassiopeia | 010072b307f7eadbf10dc4af8b2165e48f1736a7 | [
"MIT"
] | 17 | 2019-05-17T00:46:16.000Z | 2022-03-25T00:39:18.000Z | """
Test HybridSolver in Cassiopeia.solver.
"""
import os
import unittest
import itertools
import networkx as nx
import pandas as pd
import pathlib as pl
import cassiopeia as cas
from cassiopeia.solver import solver_utilities
GUROBI_INSTALLED = True
try:
import gurobipy
except ModuleNotFoundError:
GUROBI_INS... | 35.003026 | 83 | 0.540952 | 2,747 | 23,137 | 4.342191 | 0.09028 | 0.009222 | 0.008048 | 0.046781 | 0.825117 | 0.799799 | 0.746311 | 0.735915 | 0.7028 | 0.688213 | 0 | 0.02758 | 0.3277 | 23,137 | 660 | 84 | 35.056061 | 0.739248 | 0.05904 | 0 | 0.525292 | 0 | 0 | 0.053811 | 0.00221 | 0 | 0 | 0 | 0 | 0.110895 | 1 | 0.031128 | false | 0 | 0.01751 | 0 | 0.052529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a1b2baa9af6e1327dab212033d717281816cf22 | 3,853 | py | Python | tests/e2e/test_navigation_page_non_student.py | jaredsexton/Submitty | bcc778514299bfabf574131f5eacce3732c695e1 | [
"BSD-3-Clause"
] | null | null | null | tests/e2e/test_navigation_page_non_student.py | jaredsexton/Submitty | bcc778514299bfabf574131f5eacce3732c695e1 | [
"BSD-3-Clause"
] | null | null | null | tests/e2e/test_navigation_page_non_student.py | jaredsexton/Submitty | bcc778514299bfabf574131f5eacce3732c695e1 | [
"BSD-3-Clause"
] | null | null | null | from e2e.base_testcase import BaseTestCase
class TestNavigationPageNonStudent(BaseTestCase):
def __init__(self, testname):
super().__init__(testname, log_in=False)
def test_instructor(self):
self.log_in(user_id="instructor", user_name="Quinn")
self.click_class('sample', 'SAMPLE')
... | 52.780822 | 80 | 0.60135 | 437 | 3,853 | 4.908467 | 0.1373 | 0.181818 | 0.097902 | 0.115152 | 0.861072 | 0.859207 | 0.841492 | 0.834965 | 0.834033 | 0.834033 | 0 | 0.009726 | 0.279522 | 3,853 | 72 | 81 | 53.513889 | 0.762968 | 0 | 0 | 0.6 | 0 | 0 | 0.130807 | 0.012458 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.046154 | false | 0 | 0.030769 | 0 | 0.092308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a270893820360696545a5a30d78504c4a07b342 | 153 | py | Python | webapp.py | RouSage/diploma-webapp | 7fc7f477a9b45f85223a2aa72fdf9a7f3f567b26 | [
"MIT"
] | null | null | null | webapp.py | RouSage/diploma-webapp | 7fc7f477a9b45f85223a2aa72fdf9a7f3f567b26 | [
"MIT"
] | 4 | 2021-03-30T15:28:13.000Z | 2022-03-11T23:44:28.000Z | webapp.py | RouSage/diploma-webapp | 7fc7f477a9b45f85223a2aa72fdf9a7f3f567b26 | [
"MIT"
] | null | null | null | from app import app, db, cli
from app.models import Image
@app.shell_context_processor
def make_shell_context():
return {'db': db, 'Image': Image}
| 19.125 | 37 | 0.732026 | 24 | 153 | 4.5 | 0.541667 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 153 | 7 | 38 | 21.857143 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0.045752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 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 | 1 | 1 | 0 | 0 | 6 |
c5ce33ecf94a6fe6040cbe811b3c22008985bb2a | 6,329 | py | Python | blog_categorias/views.py | ProjetoHavoc/Prometheus | 244d0cd05ad11844640cac860975eb177197f2db | [
"MIT"
] | null | null | null | blog_categorias/views.py | ProjetoHavoc/Prometheus | 244d0cd05ad11844640cac860975eb177197f2db | [
"MIT"
] | null | null | null | blog_categorias/views.py | ProjetoHavoc/Prometheus | 244d0cd05ad11844640cac860975eb177197f2db | [
"MIT"
] | null | null | null |
from django.shortcuts import render, redirect
from django.views.generic.list import ListView
from blog_posts.models import Post
from blog_posts.forms import PostForm
from django.db.models import Q, Count, Case, When
from blog_comentarios.forms import FormComentario
from blog_comentarios.models import Comentario
from... | 37.672619 | 158 | 0.690314 | 852 | 6,329 | 5.017606 | 0.13615 | 0.016842 | 0.02386 | 0.030877 | 0.894035 | 0.894035 | 0.894035 | 0.894035 | 0.894035 | 0.894035 | 0 | 0.004595 | 0.243482 | 6,329 | 167 | 159 | 37.898204 | 0.888262 | 0.442724 | 0 | 0.576923 | 0 | 0 | 0.065029 | 0.051156 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057692 | false | 0 | 0.076923 | 0 | 0.480769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a851a8fe244e92cd30fffb3551f3937f918cdbca | 7,582 | py | Python | arms/test/url_check.py | uyamazak/oceanus | 6158cdc313a381f8228562605d33713ad4e776f1 | [
"MIT"
] | 8 | 2017-02-10T07:24:43.000Z | 2019-06-03T07:45:29.000Z | arms/test/url_check.py | uyamazak/oceanus | 6158cdc313a381f8228562605d33713ad4e776f1 | [
"MIT"
] | 3 | 2017-02-20T10:24:20.000Z | 2017-08-15T04:54:36.000Z | arms/test/url_check.py | uyamazak/oceanus | 6158cdc313a381f8228562605d33713ad4e776f1 | [
"MIT"
] | null | null | null | import urllib.request
import sys
args = sys.argv
print("args:{} len:{}".format(args, len(args)))
if len(args) > 1:
HOST = args[1]
else:
HOST = "http://ml30gen9:8080"
print("HOST is {}".format(HOST))
get_list = [
"{}/swallow?oid=test&evt=pageview&uid=1000000&ref=https%3A%2F%2Ftest.bizocean.jp%2F&tit=%E8%A... | 72.903846 | 767 | 0.662886 | 1,514 | 7,582 | 3.301189 | 0.176354 | 0.067227 | 0.02521 | 0.030412 | 0.728691 | 0.711084 | 0.69988 | 0.662065 | 0.621048 | 0.601841 | 0 | 0.271108 | 0.118966 | 7,582 | 103 | 768 | 73.61165 | 0.477096 | 0.004352 | 0 | 0.522727 | 0 | 0.136364 | 0.727538 | 0.681023 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.045455 | 0.022727 | 0 | 0.022727 | 0.136364 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8ae63260162b4c557a911bcf0dde11e04208ad5 | 14,095 | py | Python | apps/api/tests/handlers/test_users_handler.py | LukeShay/route-rating-web | 8a388e2b722760fccc1f76b9fe7833754f4299ff | [
"MIT"
] | null | null | null | apps/api/tests/handlers/test_users_handler.py | LukeShay/route-rating-web | 8a388e2b722760fccc1f76b9fe7833754f4299ff | [
"MIT"
] | 5 | 2020-06-17T03:26:16.000Z | 2021-05-11T20:18:55.000Z | apps/api/tests/handlers/test_users_handler.py | routerating/route-rating-web | 8a388e2b722760fccc1f76b9fe7833754f4299ff | [
"MIT"
] | null | null | null | import uuid
import logging
from unittest.mock import patch, Mock
from api.jwt import Jwt
from api.users import users_service
from api.users.user import User
from api.handlers.users_handler import (
create_user_handler,
create_admin_user_handler,
update_user_handler,
)
from tests.offline_handler import Offl... | 39.152778 | 90 | 0.638524 | 1,596 | 14,095 | 5.258772 | 0.077694 | 0.036697 | 0.047182 | 0.037174 | 0.85059 | 0.819612 | 0.792327 | 0.752889 | 0.71512 | 0.705826 | 0 | 0.012421 | 0.246045 | 14,095 | 359 | 91 | 39.261838 | 0.77736 | 0.757574 | 0 | 0.271605 | 0 | 0 | 0.131307 | 0.025697 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.037037 | false | 0.024691 | 0.123457 | 0 | 0.17284 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8d2257369a7becdd9baf7e80c8cb79510768b61 | 3,768 | py | Python | scripts/t_dos_attack.py | litengyao/adsb-attack-data-generator | e1c3da8f08459bf11484c719b14c100dc06d68a3 | [
"Apache-2.0"
] | 4 | 2020-03-10T08:09:01.000Z | 2021-05-28T07:06:45.000Z | scripts/t_dos_attack.py | litengyao/adsb-attack-data-generator | e1c3da8f08459bf11484c719b14c100dc06d68a3 | [
"Apache-2.0"
] | null | null | null | scripts/t_dos_attack.py | litengyao/adsb-attack-data-generator | e1c3da8f08459bf11484c719b14c100dc06d68a3 | [
"Apache-2.0"
] | 1 | 2020-10-14T07:53:39.000Z | 2020-10-14T07:53:39.000Z | """
@function: scripts the dos attack
@author: Tengyao Li
@date: 2018/12/03
@status: developing
@code-type: testing script
"""
import numpy as np
import time
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
from attack_pattern import dos_attack
test = dos_attack.dos_attack(2019, 12, 23, 0, 0)
... | 33.945946 | 85 | 0.646231 | 485 | 3,768 | 4.793814 | 0.175258 | 0.123871 | 0.139355 | 0.147097 | 0.789247 | 0.789247 | 0.789247 | 0.789247 | 0.736344 | 0.736344 | 0 | 0.041939 | 0.227972 | 3,768 | 110 | 86 | 34.254545 | 0.757305 | 0.12155 | 0 | 0.779412 | 0 | 0 | 0.068348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044118 | false | 0 | 0.073529 | 0 | 0.117647 | 0.044118 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
764ce8d05645e6a3b973e266c0868d31a8de138e | 122 | py | Python | venv/Lib/site-packages/torch/nn/quantized/dynamic/__init__.py | countBMB/BenjiRepo | 79d882263baaf2a11654ca67d2e5593074d36dfa | [
"Apache-2.0"
] | 1 | 2020-02-24T06:23:07.000Z | 2020-02-24T06:23:07.000Z | venv/Lib/site-packages/torch/nn/quantized/dynamic/__init__.py | countBMB/BenjiRepo | 79d882263baaf2a11654ca67d2e5593074d36dfa | [
"Apache-2.0"
] | 4 | 2021-06-02T00:49:27.000Z | 2022-01-13T01:59:34.000Z | venv/Lib/site-packages/torch/nn/quantized/dynamic/__init__.py | countBMB/BenjiRepo | 79d882263baaf2a11654ca67d2e5593074d36dfa | [
"Apache-2.0"
] | null | null | null |
from __future__ import absolute_import, division, print_function, unicode_literals
from .modules import * # noqa: F401
| 24.4 | 82 | 0.803279 | 15 | 122 | 6.066667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.139344 | 122 | 4 | 83 | 30.5 | 0.838095 | 0.081967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 1 | 0 | 6 |
766b7b6ffaaabf53d8761a6146fcb61d5e87b2b8 | 194 | py | Python | d1.py | Otavioarp/Desafio | 1b911fe898460dc1289049935b0f7fd3e7225161 | [
"MIT"
] | null | null | null | d1.py | Otavioarp/Desafio | 1b911fe898460dc1289049935b0f7fd3e7225161 | [
"MIT"
] | null | null | null | d1.py | Otavioarp/Desafio | 1b911fe898460dc1289049935b0f7fd3e7225161 | [
"MIT"
] | null | null | null | '''
Otávio Augusto de Rezende Pinto
Email: otaviopqsi@gmail.com
'''
def retorna_tempo_arena_em_milisegundos(distancia,velocidade):
return round((float(distancia) / velocidade * 1000) * 1000) | 32.333333 | 63 | 0.773196 | 24 | 194 | 6.083333 | 0.875 | 0.260274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.113402 | 194 | 6 | 63 | 32.333333 | 0.802326 | 0.304124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
768fadb39539f82ac908a2c7e899d9e99264f4c8 | 182 | py | Python | public_admin/exceptions.py | cuducos/django-public-admin | 13ce38cf90a4bcbfdedf2b2847852f4712f265fc | [
"MIT"
] | 36 | 2020-03-29T22:23:14.000Z | 2021-09-28T18:44:49.000Z | public_admin/exceptions.py | cuducos/django-public-admin | 13ce38cf90a4bcbfdedf2b2847852f4712f265fc | [
"MIT"
] | 19 | 2020-03-30T07:09:21.000Z | 2021-09-28T18:15:11.000Z | public_admin/exceptions.py | cuducos/django-public-admin | 13ce38cf90a4bcbfdedf2b2847852f4712f265fc | [
"MIT"
] | 14 | 2020-03-30T07:04:37.000Z | 2021-11-23T00:49:22.000Z | from django.core.exceptions import ImproperlyConfigured
class UnauthorizedModelError(ImproperlyConfigured):
"""The registered model isn't listed in the public app"""
pass
| 22.75 | 61 | 0.785714 | 20 | 182 | 7.15 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148352 | 182 | 7 | 62 | 26 | 0.922581 | 0.28022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4f2a6c7271824a08029afc82ccec21cc2bf2a0d3 | 37 | py | Python | src/Calculator/Square.py | gitvicky97/Statistical-Calculator- | f5f413b43833fe1f0eec45b363fc86e3d962f825 | [
"MIT"
] | 1 | 2020-11-08T02:31:21.000Z | 2020-11-08T02:31:21.000Z | src/Calculator/Square.py | gitvicky97/Statistical-Calculator- | f5f413b43833fe1f0eec45b363fc86e3d962f825 | [
"MIT"
] | 13 | 2020-11-08T01:06:05.000Z | 2020-11-09T04:03:59.000Z | Calculator/Square.py | Nithinreddy127/Calculator-MiniProjet | 88ba92d160e2028ca98bafd872b4f2ea123862b3 | [
"MIT"
] | 3 | 2020-03-22T01:56:45.000Z | 2020-03-22T20:20:48.000Z | def square(a):
return float(a)**2 | 18.5 | 22 | 0.621622 | 7 | 37 | 3.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.189189 | 37 | 2 | 22 | 18.5 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
96de34767d4082c063f99fca3be8eb043301f326 | 115 | py | Python | fbdata/temp.py | 64blowfish/fb-data | 5ddf96ee626c8941470d08a1408b6d63a0731440 | [
"MIT"
] | null | null | null | fbdata/temp.py | 64blowfish/fb-data | 5ddf96ee626c8941470d08a1408b6d63a0731440 | [
"MIT"
] | null | null | null | fbdata/temp.py | 64blowfish/fb-data | 5ddf96ee626c8941470d08a1408b6d63a0731440 | [
"MIT"
] | null | null | null | """this does nothing"""
def foo() -> str:
"""Returns bar"""
return "bar"
def untested():
return True | 12.777778 | 23 | 0.556522 | 14 | 115 | 4.571429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252174 | 115 | 9 | 24 | 12.777778 | 0.744186 | 0.252174 | 0 | 0 | 0 | 0 | 0.039474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
96f01983b5f4b96463c2de212003bef6a0c8df1b | 2,481 | py | Python | py/common/str_than.py | 7134g/mySpiderAll | fc4cb986a5efa05977c7f569c69b60a4e6e861bf | [
"MIT"
] | null | null | null | py/common/str_than.py | 7134g/mySpiderAll | fc4cb986a5efa05977c7f569c69b60a4e6e861bf | [
"MIT"
] | null | null | null | py/common/str_than.py | 7134g/mySpiderAll | fc4cb986a5efa05977c7f569c69b60a4e6e861bf | [
"MIT"
] | null | null | null | # 连续相同的字符串片段比对
a = "S6em9W2e5)F(QwT4nZDeJ(CPY8f)Eb)zQXI91bjhnkG7n46EmlG3MtU4(tEzqSjb)p4BJvJZFtj1Dawdiuq65t3FZTO6xgcAIwRXAoezAzXjOSJJhxKAOCzNrGIUpt2WzFFUHrae64yatzlx77hfIrk)WaziUr0TY2LNFov5cQJ8TCWdqWyNfAL4aUJqqehpXGsQH()1QWNzprXVAuDdb4I6cOjbf0bxm)TZ7A4lKNZ09c8RnfCMoJ6lPmMQG84xrt46hgjBDCjm)jUaykIZF9jRe1qzOHN9DWVTVtNMKTn... | 112.772727 | 1,118 | 0.892382 | 92 | 2,481 | 24.065217 | 0.75 | 0.00271 | 0.017164 | 0.02168 | 0.023487 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244819 | 0.066505 | 2,481 | 22 | 1,119 | 112.772727 | 0.71114 | 0.004837 | 0 | 0.222222 | 0 | 0.111111 | 0.875203 | 0.875203 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8c2326e47f329e5781ef507a01c02f6f6d202100 | 111 | py | Python | dimensional_analysis/__main__.py | trevortknguyen/dimensional-analysis | 231654ad1e61df2ee24694dfb41770bf04e3eae2 | [
"MIT"
] | null | null | null | dimensional_analysis/__main__.py | trevortknguyen/dimensional-analysis | 231654ad1e61df2ee24694dfb41770bf04e3eae2 | [
"MIT"
] | null | null | null | dimensional_analysis/__main__.py | trevortknguyen/dimensional-analysis | 231654ad1e61df2ee24694dfb41770bf04e3eae2 | [
"MIT"
] | null | null | null | if __name__ == '__main__':
from dimensional_analysis import solve_lin_sys
solve_lin_sys.vp_start_gui()
| 27.75 | 50 | 0.774775 | 16 | 111 | 4.4375 | 0.8125 | 0.225352 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 111 | 3 | 51 | 37 | 0.755319 | 0 | 0 | 0 | 0 | 0 | 0.072072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8c2c9130d552dfd186b47a80b13eddd541b8bb89 | 282 | py | Python | examples/space_weather.py | piratejon/hamutils | 0919afecd60adf668fc8a709aeb1f5c90fbf732a | [
"MIT"
] | 11 | 2017-09-21T04:20:19.000Z | 2022-03-02T21:18:06.000Z | examples/space_weather.py | piratejon/hamutils | 0919afecd60adf668fc8a709aeb1f5c90fbf732a | [
"MIT"
] | 2 | 2020-07-07T19:16:58.000Z | 2021-06-03T18:27:13.000Z | examples/space_weather.py | piratejon/hamutils | 0919afecd60adf668fc8a709aeb1f5c90fbf732a | [
"MIT"
] | 7 | 2019-01-12T02:02:09.000Z | 2021-09-10T17:52:30.000Z | from hamutils.space_weather import get_space_weather_predictions, get_solar_data, get_geomagnetic_data
print('space_weather_predictions:\n%s\n' % get_space_weather_predictions())
print('solar_data:\n%s\n' % get_solar_data())
print('geomagnetic_data:\n%s' % get_geomagnetic_data())
| 47 | 102 | 0.819149 | 43 | 282 | 4.930233 | 0.302326 | 0.226415 | 0.325472 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056738 | 282 | 5 | 103 | 56.4 | 0.796992 | 0 | 0 | 0 | 0 | 0 | 0.248227 | 0.187943 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 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 | 1 | 0 | 6 |
8b0c05c003d71ebdf3ad52f53f638b43be2dd525 | 56 | py | Python | fython/package_interpolation/__init__.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 41 | 2016-01-21T05:14:45.000Z | 2021-11-24T20:37:21.000Z | fython/package_interpolation/__init__.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 5 | 2016-01-21T05:36:37.000Z | 2016-08-22T19:26:51.000Z | fython/package_interpolation/__init__.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 3 | 2016-01-23T04:03:44.000Z | 2016-08-21T15:58:38.000Z | from .package_interpolation import Package_Interpolation | 56 | 56 | 0.928571 | 6 | 56 | 8.333333 | 0.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 56 | 1 | 56 | 56 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b4309fe7141360921ab8d513d8a10c915288337 | 143 | py | Python | pyromaniac/optim/pyro/__init__.py | emaballarin/pyromaniac | dc1861d79c979ce98a076f223d083688cbc0d05f | [
"Apache-2.0"
] | 1 | 2020-05-25T16:08:19.000Z | 2020-05-25T16:08:19.000Z | pyromaniac/optim/pyro/__init__.py | emaballarin/pyromaniac | dc1861d79c979ce98a076f223d083688cbc0d05f | [
"Apache-2.0"
] | 1 | 2020-05-22T10:10:38.000Z | 2020-05-22T10:10:38.000Z | pyromaniac/optim/pyro/__init__.py | emaballarin/pyromaniac | dc1861d79c979ce98a076f223d083688cbc0d05f | [
"Apache-2.0"
] | null | null | null | from pyromaniac.optim.pyro.adamwcd import AdamWCD
from pyromaniac.optim.pyro.adamcd import AdamCD
__all__ = [
"AdamWCD",
"AdamCD",
]
| 15.888889 | 49 | 0.727273 | 17 | 143 | 5.882353 | 0.470588 | 0.28 | 0.38 | 0.46 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167832 | 143 | 8 | 50 | 17.875 | 0.840336 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8c6b1a7fd2c123797ff7e39a44c1d57d3de35962 | 74 | py | Python | tests/test_wild.py | fossabot/wildq | 7dea2c69f57efb591153a051065632a988b4de22 | [
"Apache-2.0"
] | null | null | null | tests/test_wild.py | fossabot/wildq | 7dea2c69f57efb591153a051065632a988b4de22 | [
"Apache-2.0"
] | null | null | null | tests/test_wild.py | fossabot/wildq | 7dea2c69f57efb591153a051065632a988b4de22 | [
"Apache-2.0"
] | null | null | null | from wildq import wildq
def test_usage():
assert wildq.usage() == 0
| 12.333333 | 29 | 0.675676 | 11 | 74 | 4.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.216216 | 74 | 5 | 30 | 14.8 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8cb04e358e4d0879ca6b5768592b036a863b5a64 | 104 | py | Python | drawzero/__main__.py | ShashkovS/drawzero | 3722b2fccb655779b6b62e97b1584683413d7fc0 | [
"MIT"
] | 2 | 2020-08-06T09:51:43.000Z | 2020-08-06T10:03:58.000Z | drawzero/__main__.py | ShashkovS/drawzero | 3722b2fccb655779b6b62e97b1584683413d7fc0 | [
"MIT"
] | null | null | null | drawzero/__main__.py | ShashkovS/drawzero | 3722b2fccb655779b6b62e97b1584683413d7fc0 | [
"MIT"
] | null | null | null | from drawzero import *
text('red', 'Привет, мир!', (200, 400), 48)
line('red', (200, 548), (600, 948))
| 20.8 | 43 | 0.586538 | 16 | 104 | 3.8125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0.153846 | 104 | 4 | 44 | 26 | 0.465909 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8cbc54f8260a9304b92edb843bd149d1dc4e615e | 20,995 | py | Python | Task 1/Task 1.1/eYRC#TC#1155#Task1.1/detect.py | HimanchalChandra/Eyantra-2018---Crow-Bot- | 3b2e61aee5ecf38b48fce10b890042e6c6978cb7 | [
"MIT"
] | null | null | null | Task 1/Task 1.1/eYRC#TC#1155#Task1.1/detect.py | HimanchalChandra/Eyantra-2018---Crow-Bot- | 3b2e61aee5ecf38b48fce10b890042e6c6978cb7 | [
"MIT"
] | null | null | null | Task 1/Task 1.1/eYRC#TC#1155#Task1.1/detect.py | HimanchalChandra/Eyantra-2018---Crow-Bot- | 3b2e61aee5ecf38b48fce10b890042e6c6978cb7 | [
"MIT"
] | null | null | null | import numpy as np
import cv2
import cv2.aruco as aruco
import math
"""
**************************************************************************
* E-Yantra Robotics Competition
* ================================
* This software is intended to check version compatiability of open sou... | 42.414141 | 277 | 0.523982 | 3,152 | 20,995 | 3.397208 | 0.091688 | 0.076765 | 0.119163 | 0.151662 | 0.772507 | 0.759899 | 0.74477 | 0.736832 | 0.72712 | 0.713112 | 0 | 0.072094 | 0.268635 | 20,995 | 494 | 278 | 42.5 | 0.625269 | 0.003953 | 0 | 0.762887 | 0 | 0 | 0.005335 | 0.001524 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024055 | false | 0 | 0.013746 | 0.006873 | 0.061856 | 0.003436 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8ccb659bfcb9fb52f35355bd4aab3cb69c4a904b | 58 | py | Python | Vamei/std07/signal1.py | YangPhy/learnPython | 5507fa1a0d2878fc663d62509af8ff959955f822 | [
"MIT"
] | 5 | 2020-05-18T06:54:52.000Z | 2021-05-29T23:17:41.000Z | Vamei/std07/signal1.py | YangPhy/learnPython | 5507fa1a0d2878fc663d62509af8ff959955f822 | [
"MIT"
] | null | null | null | Vamei/std07/signal1.py | YangPhy/learnPython | 5507fa1a0d2878fc663d62509af8ff959955f822 | [
"MIT"
] | 1 | 2020-05-17T22:47:49.000Z | 2020-05-17T22:47:49.000Z | import signal
print(signal.SIGALRM)
print(signal.SIGCONT)
| 14.5 | 21 | 0.827586 | 8 | 58 | 6 | 0.625 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 58 | 3 | 22 | 19.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
8cd1dd0e2c3be5861d693873b88a5ea0b8578d30 | 9,644 | py | Python | test/Uds-Config-Tool/Unit Tests/unittest_WDBIFunctions.py | sebclrsn/python-uds | 596abab5b9e36255e9f1586f9ee5d52cd907d4ad | [
"MIT"
] | null | null | null | test/Uds-Config-Tool/Unit Tests/unittest_WDBIFunctions.py | sebclrsn/python-uds | 596abab5b9e36255e9f1586f9ee5d52cd907d4ad | [
"MIT"
] | null | null | null | test/Uds-Config-Tool/Unit Tests/unittest_WDBIFunctions.py | sebclrsn/python-uds | 596abab5b9e36255e9f1586f9ee5d52cd907d4ad | [
"MIT"
] | 2 | 2022-01-18T16:17:45.000Z | 2022-03-25T08:17:53.000Z | #!/usr/bin/env python
__author__ = "Richard Clubb"
__copyrights__ = "Copyright 2018, the python-uds project"
__credits__ = ["Richard Clubb"]
__license__ = "MIT"
__maintainer__ = "Richard Clubb"
__email__ = "richard.clubb@embeduk.com"
__status__ = "Development"
import unittest
from unittest import mock
from uds impo... | 48.707071 | 216 | 0.660514 | 1,198 | 9,644 | 5.183639 | 0.125209 | 0.023188 | 0.030918 | 0.046377 | 0.900322 | 0.900322 | 0.900322 | 0.900322 | 0.900322 | 0.900322 | 0 | 0.095966 | 0.226358 | 9,644 | 197 | 217 | 48.954315 | 0.736362 | 0.311904 | 0 | 0.694915 | 0 | 0 | 0.176042 | 0.011069 | 0 | 0 | 0.121911 | 0 | 0.135593 | 1 | 0.067797 | false | 0 | 0.042373 | 0 | 0.118644 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
507d4614267da4a55d71fb451730756f65276653 | 1,222 | py | Python | nested_conditional_statements/operations_between_numbers.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | null | null | null | nested_conditional_statements/operations_between_numbers.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | null | null | null | nested_conditional_statements/operations_between_numbers.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | 1 | 2022-01-14T17:12:44.000Z | 2022-01-14T17:12:44.000Z | first_num = int(input())
second_num = int(input())
operation_symbol = input()
output = ""
if operation_symbol == "+":
result = first_num + second_num
output = f"{first_num} {operation_symbol} {second_num} = {result} - "
if result % 2 == 0:
output += "even"
else:
output += "odd"
elif ope... | 32.157895 | 78 | 0.615385 | 153 | 1,222 | 4.660131 | 0.169935 | 0.176718 | 0.105189 | 0.112202 | 0.814867 | 0.814867 | 0.775596 | 0.775596 | 0.775596 | 0.775596 | 0 | 0.010661 | 0.232406 | 1,222 | 37 | 79 | 33.027027 | 0.749467 | 0 | 0 | 0.441176 | 0 | 0 | 0.281967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.029412 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
50beb260951ef76aa244c0ed3e0fdb878c2316f4 | 43 | py | Python | dynamic_tables/__init__.py | HashSplat/django_dynamic_tables | a26d9d904c5c6b2cbeb8c562e547dbe61cacb7ee | [
"MIT"
] | null | null | null | dynamic_tables/__init__.py | HashSplat/django_dynamic_tables | a26d9d904c5c6b2cbeb8c562e547dbe61cacb7ee | [
"MIT"
] | null | null | null | dynamic_tables/__init__.py | HashSplat/django_dynamic_tables | a26d9d904c5c6b2cbeb8c562e547dbe61cacb7ee | [
"MIT"
] | null | null | null | from .views import *
from .tables import *
| 14.333333 | 21 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 22 | 21.5 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0fc2b4b0fa12052ab7051fb4d65c46db19e3346b | 59 | py | Python | ManiSkill-Learn/mani_skill_learn/networks/model_network/__init__.py | crtie/mani | 559abd0366cff5886557d9a602df3cc49dcd40c4 | [
"Apache-2.0"
] | null | null | null | ManiSkill-Learn/mani_skill_learn/networks/model_network/__init__.py | crtie/mani | 559abd0366cff5886557d9a602df3cc49dcd40c4 | [
"Apache-2.0"
] | null | null | null | ManiSkill-Learn/mani_skill_learn/networks/model_network/__init__.py | crtie/mani | 559abd0366cff5886557d9a602df3cc49dcd40c4 | [
"Apache-2.0"
] | null | null | null | from .ensemble_model import *
from .pointnet_model import * | 29.5 | 29 | 0.813559 | 8 | 59 | 5.75 | 0.625 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 59 | 2 | 30 | 29.5 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0fc99371f02a33dc9075ec9e981ccc8362649128 | 19,875 | py | Python | vsot/antlr/HTMLLexer.py | bronsonrudner/vsot | 35dc66c4ae208719161f50f312ae6aaf665f24d2 | [
"MIT"
] | 17 | 2020-04-21T13:42:20.000Z | 2022-01-18T11:31:17.000Z | vsot/antlr/HTMLLexer.py | bronsonrudner/vsot | 35dc66c4ae208719161f50f312ae6aaf665f24d2 | [
"MIT"
] | 8 | 2020-04-21T11:38:37.000Z | 2020-06-01T19:59:43.000Z | vsot/antlr/HTMLLexer.py | bronsonrudner/vsot | 35dc66c4ae208719161f50f312ae6aaf665f24d2 | [
"MIT"
] | 4 | 2021-03-02T16:08:57.000Z | 2022-01-03T20:25:53.000Z | # Generated from /vsot/antlr/HTMLLexer.g4 by ANTLR 4.8
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2 ")
buf.write("\u01c7\b\1\b\1\b\1\b\1\b\1\b\1\4\2... | 62.89557 | 103 | 0.577308 | 4,507 | 19,875 | 2.51653 | 0.132239 | 0.129959 | 0.079351 | 0.092047 | 0.275613 | 0.194763 | 0.105008 | 0.092841 | 0.087639 | 0.082084 | 0 | 0.340442 | 0.143547 | 19,875 | 315 | 104 | 63.095238 | 0.325872 | 0.002616 | 0 | 0.006757 | 1 | 0.462838 | 0.631313 | 0.577476 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006757 | false | 0 | 0.013514 | 0 | 0.172297 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e84d834665714282a705185ce245181a99ba25b5 | 303 | py | Python | TextClassification/text_classification/__init__.py | STHSF/DeepNaturallanguageprocessing | 1fe79a961abf3e55fb3ce2b0266b26f56ade2483 | [
"Apache-2.0"
] | 15 | 2016-09-13T05:41:53.000Z | 2019-12-30T13:01:33.000Z | TextClassification/text_classification/__init__.py | STHSF/DeepNaturallanguageprocessing | 1fe79a961abf3e55fb3ce2b0266b26f56ade2483 | [
"Apache-2.0"
] | 20 | 2020-01-28T21:42:25.000Z | 2022-02-10T00:44:02.000Z | TextClassification/text_classification/__init__.py | STHSF/DeepNaturallanguageprocessing | 1fe79a961abf3e55fb3ce2b0266b26f56ade2483 | [
"Apache-2.0"
] | 10 | 2016-09-28T02:56:11.000Z | 2022-03-12T16:41:20.000Z | #! /usr/bin/env python
# -*- coding: utf-8 -*-
print('{:^14%}'.format(0.015))
print('{:>14}'.format('陈某某'))
print('{:<14}'.format('陈某某'))
print('{:*<14}'.format('陈某某'))
print('{:&>14}'.format('陈某某')) #填充和对齐^<>分别表示居中、左对齐、右对齐,后面带宽度
print('{:.10f}'.format(4.234324525254))
print('{:.4f}'.format(4.1)) | 23.307692 | 62 | 0.561056 | 43 | 303 | 3.953488 | 0.534884 | 0.205882 | 0.382353 | 0.376471 | 0.376471 | 0.376471 | 0.376471 | 0.376471 | 0.376471 | 0.376471 | 0 | 0.117021 | 0.069307 | 303 | 13 | 63 | 23.307692 | 0.485816 | 0.234323 | 0 | 0 | 0 | 0 | 0.252174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e86b034e30af1f3eb34d68439cd2c9eb17d5d56d | 241 | py | Python | scenario_player/exceptions/cli.py | hackaugusto/scenario-player | 0701bb986f47e1ec4a4fb7a469157826da1993e2 | [
"MIT"
] | 1 | 2019-05-13T16:58:26.000Z | 2019-05-13T16:58:26.000Z | scenario_player/exceptions/cli.py | hackaugusto/scenario-player | 0701bb986f47e1ec4a4fb7a469157826da1993e2 | [
"MIT"
] | 467 | 2019-04-25T08:51:02.000Z | 2021-11-08T14:52:37.000Z | scenario_player/exceptions/cli.py | hackaugusto/scenario-player | 0701bb986f47e1ec4a4fb7a469157826da1993e2 | [
"MIT"
] | 16 | 2019-05-03T09:52:51.000Z | 2021-11-08T20:56:19.000Z | from scenario_player.exceptions import ScenarioError
class WrongPassword(ScenarioError):
"""
Generic Error that gets raised if eth_keystore raises ValueError("MAC mismatch")
Usually that's caused by an invalid password
"""
| 26.777778 | 84 | 0.759336 | 29 | 241 | 6.241379 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178423 | 241 | 8 | 85 | 30.125 | 0.914141 | 0.518672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e8d5abab2bc64dfd5bb887e718bb4d69ec621d66 | 227 | py | Python | python/federatedml/ensemble/boosting/__init__.py | rubenlozanoaht3m/DataDogm | cd605e8072cca31e8418830c3300657ae2fa5b16 | [
"Apache-2.0"
] | 715 | 2019-01-24T10:52:03.000Z | 2019-10-31T12:19:22.000Z | python/federatedml/ensemble/boosting/__init__.py | rubenlozanoaht3m/DataDogm | cd605e8072cca31e8418830c3300657ae2fa5b16 | [
"Apache-2.0"
] | 270 | 2019-02-11T02:57:36.000Z | 2019-08-29T11:22:33.000Z | python/federatedml/ensemble/boosting/__init__.py | rubenlozanoaht3m/DataDogm | cd605e8072cca31e8418830c3300657ae2fa5b16 | [
"Apache-2.0"
] | 200 | 2019-01-26T14:21:35.000Z | 2019-11-01T01:14:36.000Z | from federatedml.ensemble.boosting.boosting import Boosting
from federatedml.ensemble.boosting.hetero_boosting import HeteroBoostingGuest, HeteroBoostingHost
__all__ = ["Boosting", "HeteroBoostingGuest", "HeteroBoostingHost"]
| 45.4 | 97 | 0.854626 | 20 | 227 | 9.45 | 0.45 | 0.15873 | 0.243386 | 0.328042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066079 | 227 | 4 | 98 | 56.75 | 0.891509 | 0 | 0 | 0 | 0 | 0 | 0.198238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2cd1a5164119f3e8647fe5024eab17c39dde59ba | 11,463 | py | Python | nbexchange/tests/test_plugin_release_assignment.py | jgwerner/nbexchange | 510aa8fdff04b0873cec5dd75d3dfb0eac820c1b | [
"BSD-3-Clause"
] | 7 | 2020-04-30T20:16:18.000Z | 2021-09-11T20:31:51.000Z | nbexchange/tests/test_plugin_release_assignment.py | jgwerner/nbexchange | 510aa8fdff04b0873cec5dd75d3dfb0eac820c1b | [
"BSD-3-Clause"
] | 86 | 2020-03-06T15:34:55.000Z | 2022-03-07T11:58:06.000Z | nbexchange/tests/test_plugin_release_assignment.py | jgwerner/nbexchange | 510aa8fdff04b0873cec5dd75d3dfb0eac820c1b | [
"BSD-3-Clause"
] | 1 | 2020-07-25T23:04:51.000Z | 2020-07-25T23:04:51.000Z | import datetime
import logging
import os
import re
import shutil
from shutil import copyfile
import pytest
from mock import patch
from nbgrader.coursedir import CourseDirectory
from nbgrader.exchange import ExchangeError
from nbgrader.utils import make_unique_key, notebook_hash
import nbexchange
from nbexchange.plugi... | 31.578512 | 210 | 0.643811 | 1,290 | 11,463 | 5.509302 | 0.135659 | 0.09962 | 0.155762 | 0.124384 | 0.816519 | 0.80076 | 0.799071 | 0.777684 | 0.766146 | 0.766146 | 0 | 0.020957 | 0.238245 | 11,463 | 362 | 211 | 31.665746 | 0.792945 | 0.010294 | 0 | 0.675241 | 0 | 0.003215 | 0.157848 | 0.028219 | 0 | 0 | 0 | 0 | 0.090032 | 1 | 0.032154 | false | 0 | 0.045016 | 0.003215 | 0.090032 | 0.003215 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa53d9e28e80f93549afb4f94091ec24073ff725 | 34 | py | Python | index.py | HuiBoGong/python14 | 16fe7201f0088888cd2030f905e5a21a4d8ff1d4 | [
"MIT"
] | null | null | null | index.py | HuiBoGong/python14 | 16fe7201f0088888cd2030f905e5a21a4d8ff1d4 | [
"MIT"
] | null | null | null | index.py | HuiBoGong/python14 | 16fe7201f0088888cd2030f905e5a21a4d8ff1d4 | [
"MIT"
] | null | null | null | def hello():
return'hello'
#代码继续
| 8.5 | 14 | 0.676471 | 5 | 34 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 3 | 15 | 11.333333 | 0.793103 | 0.117647 | 0 | 0 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
d704f332d95db50d2a88d7a3af2eb0b005936ad4 | 242,258 | py | Python | spacy/lang/pt/tag_map.py | algteam/spacy_zh_model | 0b0cba1a3964aa426e5f96087849c90e69e2a89d | [
"MIT"
] | 5 | 2019-04-19T06:27:29.000Z | 2019-12-02T13:30:47.000Z | spacy/lang/pt/tag_map.py | algteam/spacy_zh_model | 0b0cba1a3964aa426e5f96087849c90e69e2a89d | [
"MIT"
] | null | null | null | spacy/lang/pt/tag_map.py | algteam/spacy_zh_model | 0b0cba1a3964aa426e5f96087849c90e69e2a89d | [
"MIT"
] | 2 | 2019-04-19T06:27:18.000Z | 2019-10-04T12:39:15.000Z | # coding: utf8
from __future__ import unicode_literals
from ...symbols import POS, PUNCT, SYM, ADJ, NUM, DET, ADV, ADP, X, VERB, CCONJ
from ...symbols import NOUN, PROPN, PART, INTJ, SPACE, PRON, SCONJ, AUX, CONJ
TAG_MAP = {
"<-sam>|<Eg>|DET|F|P|@P<": {POS: PRON},
"<-sam>|<Eg>|DET|M|P|@P<": {POS: PR... | 48.028945 | 87 | 0.46966 | 43,185 | 242,258 | 2.634503 | 0.004099 | 0.084907 | 0.074518 | 0.037004 | 0.978395 | 0.957634 | 0.908325 | 0.79936 | 0.67584 | 0.52066 | 0 | 0.008359 | 0.166438 | 242,258 | 5,043 | 88 | 48.038469 | 0.555039 | 0.00005 | 0 | 0 | 0 | 0.022425 | 0.560689 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.060329 | 0.000595 | 0 | 0.000595 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d7216456ac4db7926a35bad76d4b7c3d379522d7 | 15,485 | py | Python | tests/test_transport.py | zarybnicky/aioelasticsearch | 4d7f02a2379309ac047fbe091ba5b80783490fd2 | [
"MIT"
] | null | null | null | tests/test_transport.py | zarybnicky/aioelasticsearch | 4d7f02a2379309ac047fbe091ba5b80783490fd2 | [
"MIT"
] | null | null | null | tests/test_transport.py | zarybnicky/aioelasticsearch | 4d7f02a2379309ac047fbe091ba5b80783490fd2 | [
"MIT"
] | null | null | null | import pytest
from aioelasticsearch import (AIOHttpTransport, ConnectionError,
ConnectionTimeout, Elasticsearch, TransportError)
from aioelasticsearch.connection import AIOHttpConnection
class DummyConnection(AIOHttpConnection):
def __init__(self, **kwargs):
self.exception =... | 36.694313 | 79 | 0.505263 | 1,600 | 15,485 | 4.635625 | 0.085625 | 0.057166 | 0.049076 | 0.064177 | 0.799784 | 0.780369 | 0.771606 | 0.746528 | 0.727922 | 0.671835 | 0 | 0.013622 | 0.36474 | 15,485 | 421 | 80 | 36.781473 | 0.740368 | 0 | 0 | 0.701149 | 0 | 0 | 0.077882 | 0 | 0 | 0 | 0 | 0 | 0.100575 | 1 | 0.002874 | false | 0 | 0.008621 | 0 | 0.017241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d7237bb8ffb4a11f67a36aaca0de6b5170998173 | 4,333 | py | Python | tests/test_keyregex.py | djboni/build_info | 994ec7806a610b5da0b93638050bab28b4a4295b | [
"MIT"
] | null | null | null | tests/test_keyregex.py | djboni/build_info | 994ec7806a610b5da0b93638050bab28b4a4295b | [
"MIT"
] | null | null | null | tests/test_keyregex.py | djboni/build_info | 994ec7806a610b5da0b93638050bab28b4a4295b | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# Build Info - https://github.com/djboni/build_info
# MIT License - Copyright (c) 2021 Djones A. Boni
import unittest
import sys
try:
import build_info as bi
except ModuleNotFoundError:
sys.path.append("../src")
import build_info as bi
from build_info import KeyRegex, KeyData
class T... | 35.227642 | 79 | 0.656589 | 489 | 4,333 | 5.680982 | 0.186094 | 0.145788 | 0.068395 | 0.205184 | 0.809575 | 0.762419 | 0.729302 | 0.673506 | 0.645788 | 0.62671 | 0 | 0.00616 | 0.213247 | 4,333 | 122 | 80 | 35.516393 | 0.808742 | 0.026541 | 0 | 0.5 | 0 | 0 | 0.154686 | 0.032028 | 0 | 0 | 0 | 0 | 0.293478 | 1 | 0.228261 | false | 0 | 0.054348 | 0 | 0.315217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d72891adb46c266e042f8e804033454db24b58de | 3,692 | py | Python | episcanpy/preprocessing/_load_atac.py | le-ander/epiScanpy | f36c4c4e5ba65693464e3dfa954f8c2778ad603c | [
"BSD-3-Clause"
] | 96 | 2019-05-25T17:41:13.000Z | 2022-02-28T10:29:23.000Z | episcanpy/preprocessing/_load_atac.py | le-ander/epiScanpy | f36c4c4e5ba65693464e3dfa954f8c2778ad603c | [
"BSD-3-Clause"
] | 43 | 2019-07-12T03:12:51.000Z | 2022-03-30T13:07:19.000Z | episcanpy/preprocessing/_load_atac.py | le-ander/epiScanpy | f36c4c4e5ba65693464e3dfa954f8c2778ad603c | [
"BSD-3-Clause"
] | 28 | 2019-03-28T16:40:52.000Z | 2022-03-16T16:12:40.000Z | import numpy as np
import anndata as ad
import pandas as pd
import warnings
from warnings import warn
from scipy.sparse import csc_matrix
def load_peak_matrix(matrix_file, path=''):
"""
Deprecated - Use load_atac_matrix instead
Load existing peak x cell matrix into an anndata object.
Input exis... | 30.766667 | 93 | 0.599404 | 489 | 3,692 | 4.423313 | 0.218814 | 0.060102 | 0.044383 | 0.038835 | 0.811373 | 0.811373 | 0.79889 | 0.79889 | 0.79889 | 0.79889 | 0 | 0.01181 | 0.289003 | 3,692 | 119 | 94 | 31.02521 | 0.81219 | 0.320964 | 0 | 0.6875 | 0 | 0 | 0.057338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046875 | false | 0 | 0.09375 | 0 | 0.140625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d72aa1be534be1b4bbcfc06b78a472b81d6b2fb5 | 11,643 | py | Python | tests/test_functionality.py | UBC-MDS/p_toolkit_Python | d482736fb9a3bbca93fe0bc86cacf4dc6d5745ba | [
"MIT"
] | null | null | null | tests/test_functionality.py | UBC-MDS/p_toolkit_Python | d482736fb9a3bbca93fe0bc86cacf4dc6d5745ba | [
"MIT"
] | 3 | 2018-02-14T19:15:24.000Z | 2018-02-14T19:36:58.000Z | tests/test_functionality.py | UBC-MDS/p_toolkit_Python | d482736fb9a3bbca93fe0bc86cacf4dc6d5745ba | [
"MIT"
] | 4 | 2018-03-13T06:21:24.000Z | 2021-02-14T22:10:47.000Z | ## Required packages
import os
import sys
import pytest
import numpy as np
import pandas as pd
import matplotlib as plt
plt.use('Agg')
sys.path.insert(0, os.path.abspath("../p_toolkit"))
from core import *
# -----------------------------------------------------------------------------
# p_adjust tests
# ---------... | 30.559055 | 118 | 0.576913 | 1,573 | 11,643 | 4.028608 | 0.071202 | 0.042607 | 0.035348 | 0.047341 | 0.885435 | 0.863184 | 0.826732 | 0.784125 | 0.765189 | 0.719741 | 0 | 0.036992 | 0.215237 | 11,643 | 380 | 119 | 30.639474 | 0.656561 | 0.214893 | 0 | 0.674208 | 0 | 0 | 0.19807 | 0 | 0 | 0 | 0 | 0 | 0.199095 | 1 | 0.126697 | false | 0 | 0.031674 | 0 | 0.158371 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ad45cbe668d787b5b5dc03bf4036894c8338f6a7 | 220 | py | Python | simple_neural_net/__init__.py | tcquinn/simple-neural-net | ddf430ff45f7a22897d8e919cb08148434beb4bb | [
"MIT"
] | null | null | null | simple_neural_net/__init__.py | tcquinn/simple-neural-net | ddf430ff45f7a22897d8e919cb08148434beb4bb | [
"MIT"
] | null | null | null | simple_neural_net/__init__.py | tcquinn/simple-neural-net | ddf430ff45f7a22897d8e919cb08148434beb4bb | [
"MIT"
] | null | null | null | from simple_neural_net.core import *
from simple_neural_net.layers import *
from simple_neural_net.activation_models import *
from simple_neural_net.cost_models import *
from simple_neural_net.prediction_models import *
| 36.666667 | 49 | 0.863636 | 33 | 220 | 5.363636 | 0.333333 | 0.282486 | 0.451977 | 0.536723 | 0.632768 | 0.350282 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 220 | 5 | 50 | 44 | 0.885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ad70a8c7c44c59f55f10cbad1dc802d1e712f6cb | 63 | py | Python | deepsynthbody/cardiovascular/ecg/__init__.py | vlbthambawita/deepsynthbody | 0059f51fc4ea5a6598c8a4eb0c5bfd1fb7c1bbc0 | [
"MIT"
] | 6 | 2022-02-02T08:53:05.000Z | 2022-03-29T15:04:47.000Z | deepsynthbody/cardiovascular/ecg/__init__.py | vlbthambawita/deepsynthbody | 0059f51fc4ea5a6598c8a4eb0c5bfd1fb7c1bbc0 | [
"MIT"
] | null | null | null | deepsynthbody/cardiovascular/ecg/__init__.py | vlbthambawita/deepsynthbody | 0059f51fc4ea5a6598c8a4eb0c5bfd1fb7c1bbc0 | [
"MIT"
] | null | null | null | from deepsynthbody.cardiovascular.ecg.functions import generate | 63 | 63 | 0.904762 | 7 | 63 | 8.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 63 | 1 | 63 | 63 | 0.95 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad7d0718a438487b130a3024e55eb10c6e678cdf | 254 | py | Python | tobler/tests/test_pysal_integration.py | jairad26/tobler | a95ef53b1e366f4cec7c1b84063a2fe810dccb8e | [
"BSD-3-Clause"
] | 88 | 2019-08-16T20:37:00.000Z | 2022-03-20T14:19:57.000Z | tobler/tests/test_pysal_integration.py | jairad26/tobler | a95ef53b1e366f4cec7c1b84063a2fe810dccb8e | [
"BSD-3-Clause"
] | 110 | 2019-08-16T00:43:40.000Z | 2022-03-28T20:35:17.000Z | tobler/tests/test_pysal_integration.py | jairad26/tobler | a95ef53b1e366f4cec7c1b84063a2fe810dccb8e | [
"BSD-3-Clause"
] | 19 | 2019-08-16T20:34:19.000Z | 2022-03-04T15:50:01.000Z | """lightweight test for pysal metapckage that functions import."""
def test_imports():
from tobler.dasymetric import masked_area_interpolate
from tobler.area_weighted import area_interpolate
from tobler.model import glm, glm_pixel_adjusted
| 31.75 | 66 | 0.799213 | 33 | 254 | 5.939394 | 0.636364 | 0.153061 | 0.193878 | 0.255102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145669 | 254 | 7 | 67 | 36.285714 | 0.903226 | 0.23622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 1 | 0 | 1.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d10eba45a7ee2ea0a578c021d688789a868dfd36 | 244 | py | Python | example_pkg4/compo2.py | pj9039/example_pkg4 | f1c252121b95f28de8b78acde02b684cabd46950 | [
"MIT"
] | null | null | null | example_pkg4/compo2.py | pj9039/example_pkg4 | f1c252121b95f28de8b78acde02b684cabd46950 | [
"MIT"
] | null | null | null | example_pkg4/compo2.py | pj9039/example_pkg4 | f1c252121b95f28de8b78acde02b684cabd46950 | [
"MIT"
] | null | null | null | class Compo2():
def __init__(self):
self.name = "Compo2"
def testFunc(self):
return "testFunc"
class Compo1_2():
def __init__(self):
self.name = "Compo2_2"
def testFunc(self):
return "testFunc" | 18.769231 | 30 | 0.581967 | 28 | 244 | 4.714286 | 0.357143 | 0.136364 | 0.166667 | 0.227273 | 0.818182 | 0.378788 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0.295082 | 244 | 13 | 31 | 18.769231 | 0.732558 | 0 | 0 | 0.6 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d117abf5ac289b5033f1e14946b887cb227fb5a6 | 32 | py | Python | hastebin/__init__.py | DankDumpster/HasteBinWrapper | ad4789ca5d7a8951809965fba6a82065020e3280 | [
"MIT"
] | 2 | 2020-04-20T09:43:40.000Z | 2020-07-23T20:30:52.000Z | hastebin/__init__.py | DankDumpster/HasteBinWrapper | ad4789ca5d7a8951809965fba6a82065020e3280 | [
"MIT"
] | null | null | null | hastebin/__init__.py | DankDumpster/HasteBinWrapper | ad4789ca5d7a8951809965fba6a82065020e3280 | [
"MIT"
] | null | null | null | from hastebin.hastebin import *
| 16 | 31 | 0.8125 | 4 | 32 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d1364362ae95e43e051903b5fee6672258a855d7 | 71 | py | Python | networks/neurons/tests/test_data_generator.py | PiotrGrzybowski/NeuralNetworks | 4fe4295761bc1a1df5d52e69ce574256626833c6 | [
"Apache-2.0"
] | null | null | null | networks/neurons/tests/test_data_generator.py | PiotrGrzybowski/NeuralNetworks | 4fe4295761bc1a1df5d52e69ce574256626833c6 | [
"Apache-2.0"
] | null | null | null | networks/neurons/tests/test_data_generator.py | PiotrGrzybowski/NeuralNetworks | 4fe4295761bc1a1df5d52e69ce574256626833c6 | [
"Apache-2.0"
] | null | null | null | import unittest
class TestDataGenerator(unittest.TestCase):
pass
| 11.833333 | 43 | 0.788732 | 7 | 71 | 8 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 71 | 5 | 44 | 14.2 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d17080b249d6a12bdb1cf90555f10ab5f4d536b4 | 5,379 | py | Python | services/cloud/code/backend/common/decorators.py | pythings/PythingsCloud | 661ca173f42b9fe00c3a61d3e7daf6c37a376641 | [
"Apache-2.0"
] | 2 | 2020-11-07T09:41:10.000Z | 2022-02-14T22:23:05.000Z | services/cloud/code/backend/common/decorators.py | pythings/PythingsCloud | 661ca173f42b9fe00c3a61d3e7daf6c37a376641 | [
"Apache-2.0"
] | 9 | 2022-01-11T23:34:14.000Z | 2022-01-11T23:47:59.000Z | services/cloud/code/backend/common/decorators.py | pythings/PythingsCloud | 661ca173f42b9fe00c3a61d3e7daf6c37a376641 | [
"Apache-2.0"
] | null | null | null | import inspect
import logging
# Django imports
from django.shortcuts import render
from django.http import HttpResponse, HttpResponseRedirect
from django.conf import settings
# Backend inports
from .utils import format_exception, log_user_activity, random_username
from ..common.exceptions import ErrorMessage, Consist... | 35.156863 | 161 | 0.504369 | 479 | 5,379 | 5.561587 | 0.242171 | 0.041291 | 0.042793 | 0.034535 | 0.777027 | 0.756006 | 0.756006 | 0.756006 | 0.756006 | 0.756006 | 0 | 0.005433 | 0.384086 | 5,379 | 152 | 162 | 35.388158 | 0.798672 | 0.227923 | 0 | 0.7875 | 0 | 0 | 0.084469 | 0 | 0 | 0 | 0 | 0.006579 | 0 | 1 | 0.05 | false | 0 | 0.0875 | 0 | 0.275 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0f0da3cee8e771944f9959a13da99dabe501506f | 214 | py | Python | generators/crud/templates/imports_app.py | neowinx/generator-postgres-flask-restful | 14f89ade5d7478dd78875197680560fcad48971a | [
"Apache-2.0"
] | null | null | null | generators/crud/templates/imports_app.py | neowinx/generator-postgres-flask-restful | 14f89ade5d7478dd78875197680560fcad48971a | [
"Apache-2.0"
] | 5 | 2020-09-04T03:10:47.000Z | 2021-06-03T15:17:02.000Z | generators/crud/templates/imports_app.py | neowinx/generator-postgres-flask-restful | 14f89ade5d7478dd78875197680560fcad48971a | [
"Apache-2.0"
] | null | null | null | <%_ if(columns.length > 0) { -%>
from resources.<%=snakeCase%> import <%=pascalCase%>, <%=pascalCase%>List, <%=pascalCase%>Search
<%_ } else { -%>
from resources.<%=snakeCase%> import <%=pascalCase%>List
<%_ } -%>
| 35.666667 | 96 | 0.621495 | 20 | 214 | 6.5 | 0.6 | 0.2 | 0.338462 | 0.430769 | 0.584615 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005263 | 0.11215 | 214 | 5 | 97 | 42.8 | 0.678947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0f4070b7385fdc1b71dd83022683158e03277ad9 | 213 | py | Python | social/backends/google.py | raccoongang/python-social-auth | 81c0a542d158772bd3486d31834c10af5d5f08b0 | [
"BSD-3-Clause"
] | 1,987 | 2015-01-01T16:12:45.000Z | 2022-03-29T14:24:25.000Z | social/backends/google.py | raccoongang/python-social-auth | 81c0a542d158772bd3486d31834c10af5d5f08b0 | [
"BSD-3-Clause"
] | 731 | 2015-01-01T22:55:25.000Z | 2022-03-10T15:07:51.000Z | virtual/lib/python3.6/site-packages/social/backends/google.py | dennismwaniki67/awards | 80ed10541f5f751aee5f8285ab1ad54cfecba95f | [
"MIT"
] | 1,082 | 2015-01-01T16:27:26.000Z | 2022-03-22T21:18:33.000Z | from social_core.backends.google import BaseGoogleAuth, BaseGoogleOAuth2API, \
GoogleOAuth2, GooglePlusAuth, GoogleOAuth, GoogleOpenId
from social_core.backends.google_openidconnect import GoogleOpenIdConnect
| 53.25 | 78 | 0.868545 | 20 | 213 | 9.1 | 0.7 | 0.10989 | 0.153846 | 0.241758 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010256 | 0.084507 | 213 | 3 | 79 | 71 | 0.923077 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0f4740635a5d6fde6f877b05d048421237e08d0a | 56 | py | Python | bot/telegram_token.py | mukoedo1993/webster_python_bot | 73cf76f368bf4705c2c61df967039b3ce66c3928 | [
"MIT"
] | null | null | null | bot/telegram_token.py | mukoedo1993/webster_python_bot | 73cf76f368bf4705c2c61df967039b3ce66c3928 | [
"MIT"
] | null | null | null | bot/telegram_token.py | mukoedo1993/webster_python_bot | 73cf76f368bf4705c2c61df967039b3ce66c3928 | [
"MIT"
] | null | null | null | token = '1776387033:AAHMievvzfpB4d04KY_WErp8ceVkRWacw14' | 56 | 56 | 0.892857 | 4 | 56 | 12.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 0.035714 | 56 | 1 | 56 | 56 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0.807018 | 0.807018 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0f69979e2251ca7b521bf0ffb575c42faf69a7d6 | 19 | py | Python | cln/__init__.py | gryan11/cln_tutorial | 26122ae148483516c6b8adf5eab08c21d41766a1 | [
"MIT"
] | null | null | null | cln/__init__.py | gryan11/cln_tutorial | 26122ae148483516c6b8adf5eab08c21d41766a1 | [
"MIT"
] | null | null | null | cln/__init__.py | gryan11/cln_tutorial | 26122ae148483516c6b8adf5eab08c21d41766a1 | [
"MIT"
] | null | null | null | from .cln import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7e2aaab8ad901537aeb3dc395d4d44b4ae4c0cc6 | 43 | py | Python | tests/example/utils/__init__.py | sdesrozis/py_config_runner | 3075d756dda57ab8b007c388de71d8731d138e0f | [
"BSD-3-Clause"
] | null | null | null | tests/example/utils/__init__.py | sdesrozis/py_config_runner | 3075d756dda57ab8b007c388de71d8731d138e0f | [
"BSD-3-Clause"
] | null | null | null | tests/example/utils/__init__.py | sdesrozis/py_config_runner | 3075d756dda57ab8b007c388de71d8731d138e0f | [
"BSD-3-Clause"
] | null | null | null |
def foo(*args, **kwargs):
return True
| 10.75 | 25 | 0.604651 | 6 | 43 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 43 | 3 | 26 | 14.333333 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
7e35ff3724911a74dcdf5143df19326478cf433f | 2,982 | py | Python | plasma/filters/pointwise.py | jambobjambo/Deep-Edit | a5e3a474a497b9788fab8f96555763bcf9622e66 | [
"Apache-2.0"
] | null | null | null | plasma/filters/pointwise.py | jambobjambo/Deep-Edit | a5e3a474a497b9788fab8f96555763bcf9622e66 | [
"Apache-2.0"
] | null | null | null | plasma/filters/pointwise.py | jambobjambo/Deep-Edit | a5e3a474a497b9788fab8f96555763bcf9622e66 | [
"Apache-2.0"
] | null | null | null | #
# Plasma
# Copyright (c) 2020 Homedeck, LLC.
#
from torch import cat, clamp, tensor, Tensor
from ..conversion import rgb_to_yuv, yuv_to_rgb
def contrast (input: Tensor, weight: Tensor) -> Tensor:
"""
Apply contrast adjustment to an image.
Parameters:
input (Tensor): Input RGB image with s... | 32.064516 | 83 | 0.584172 | 474 | 2,982 | 3.605485 | 0.124473 | 0.021065 | 0.070217 | 0.063195 | 0.839087 | 0.839087 | 0.727326 | 0.70392 | 0.70392 | 0.70392 | 0 | 0.036937 | 0.255533 | 2,982 | 93 | 84 | 32.064516 | 0.732883 | 0.398726 | 0 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093023 | false | 0 | 0.046512 | 0 | 0.232558 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7e4b4f7b778fe2614ad199abf60ec59744c2d9fa | 26 | py | Python | sigfeat/source/__init__.py | SiggiGue/sigfeat | 86bb94200dcd4b33c21de1abc01814bf85f97b38 | [
"BSD-3-Clause"
] | 8 | 2017-01-30T08:26:52.000Z | 2021-02-25T07:00:38.000Z | sigfeat/source/__init__.py | SiggiGue/sigfeat | 86bb94200dcd4b33c21de1abc01814bf85f97b38 | [
"BSD-3-Clause"
] | 1 | 2017-03-10T16:10:11.000Z | 2017-03-10T16:10:11.000Z | sigfeat/source/__init__.py | SiggiGue/sigfeat | 86bb94200dcd4b33c21de1abc01814bf85f97b38 | [
"BSD-3-Clause"
] | 5 | 2017-08-05T02:26:00.000Z | 2019-09-11T13:06:28.000Z | from ..base import Source
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7e5a9a6b0f41ee169f19565e432c312c6fab360e | 3,849 | py | Python | yfs/multidownloader.py | seanholmes77/yfs | 7f422848aec5f47e8a76c43647e034740abadbde | [
"MIT"
] | 3 | 2021-01-24T03:52:28.000Z | 2022-01-10T19:21:09.000Z | yfs/multidownloader.py | seanholmes77/yfs | 7f422848aec5f47e8a76c43647e034740abadbde | [
"MIT"
] | null | null | null | yfs/multidownloader.py | seanholmes77/yfs | 7f422848aec5f47e8a76c43647e034740abadbde | [
"MIT"
] | 1 | 2021-01-19T02:01:23.000Z | 2021-01-19T02:01:23.000Z | """Download multiple pages with or without threads."""
from concurrent.futures import as_completed, ThreadPoolExecutor
from typing import Callable, List, Optional
import enlighten
from pydantic import BaseModel as Base
from .lookup import fuzzy_search
def _download_pages_without_threads( # pylint: disable=too-man... | 26.729167 | 84 | 0.559106 | 396 | 3,849 | 5.234848 | 0.222222 | 0.053063 | 0.050169 | 0.065605 | 0.816208 | 0.816208 | 0.778582 | 0.71973 | 0.681138 | 0.681138 | 0 | 0.003248 | 0.360094 | 3,849 | 143 | 85 | 26.916084 | 0.838408 | 0.076124 | 0 | 0.728972 | 0 | 0 | 0.033305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018692 | false | 0 | 0.046729 | 0 | 0.102804 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
7eb52d9f2987239efedaa9e9e56a340c0cdaf68d | 111 | py | Python | tests/integration/ext_functions.py | Chans-Open-Source/tavern | ee7acfa4ad90325ebdc377399359d566ba859c8a | [
"MIT"
] | null | null | null | tests/integration/ext_functions.py | Chans-Open-Source/tavern | ee7acfa4ad90325ebdc377399359d566ba859c8a | [
"MIT"
] | null | null | null | tests/integration/ext_functions.py | Chans-Open-Source/tavern | ee7acfa4ad90325ebdc377399359d566ba859c8a | [
"MIT"
] | null | null | null | def return_hello():
return {"hello": "there"}
def gen_echo_url(host):
return "{0}/echo".format(host)
| 15.857143 | 34 | 0.63964 | 16 | 111 | 4.25 | 0.625 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.171171 | 111 | 6 | 35 | 18.5 | 0.728261 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0e48f20374bc68153a4b3d9ae876c139d81de0f7 | 100 | py | Python | arcade/python/2_slithering_in_strings/feedback_review.py | jjwong/codefights | 871f6ebf840cc36aca51da24e3f535a73e9c7567 | [
"MIT"
] | null | null | null | arcade/python/2_slithering_in_strings/feedback_review.py | jjwong/codefights | 871f6ebf840cc36aca51da24e3f535a73e9c7567 | [
"MIT"
] | null | null | null | arcade/python/2_slithering_in_strings/feedback_review.py | jjwong/codefights | 871f6ebf840cc36aca51da24e3f535a73e9c7567 | [
"MIT"
] | null | null | null | import textwrap
def feedbackReview(feedback, size):
return textwrap.wrap(feedback, width=size)
| 20 | 46 | 0.78 | 12 | 100 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 100 | 4 | 47 | 25 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
0e663cd34838b1ad57bc7adb7deae0b79747994d | 410 | py | Python | src/dfd/cli/entry_point.py | cicheck/dfd | b02752f958cfea2f85222e2b4b3ba7e265a6152d | [
"MIT"
] | null | null | null | src/dfd/cli/entry_point.py | cicheck/dfd | b02752f958cfea2f85222e2b4b3ba7e265a6152d | [
"MIT"
] | 2 | 2021-12-31T17:44:20.000Z | 2021-12-31T19:51:11.000Z | src/dfd/cli/entry_point.py | cicheck/dfd | b02752f958cfea2f85222e2b4b3ba7e265a6152d | [
"MIT"
] | null | null | null | """Entry point for CLI commands."""
import click
from .predict import predict
from .preprocess import preprocess
from .test import test
from .train import train
@click.group()
def entry_point():
"""Entry point for CLI commands."""
# TODO: configure logging on app start
entry_point.add_command(preprocess)
entr... | 19.52381 | 39 | 0.778049 | 59 | 410 | 5.254237 | 0.372881 | 0.225806 | 0.167742 | 0.258065 | 0.154839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126829 | 410 | 20 | 40 | 20.5 | 0.865922 | 0.236585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 1 | 0.090909 | true | 0 | 0.454545 | 0 | 0.545455 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ebc61a2f0670b35c68808816962184b4e7ba125 | 121 | py | Python | logic_gates/__init__.py | ZBoroda/logic_gate_modeling | 8d88191c7d0ce4f1a5f3fdc6272d7874563a7458 | [
"MIT"
] | null | null | null | logic_gates/__init__.py | ZBoroda/logic_gate_modeling | 8d88191c7d0ce4f1a5f3fdc6272d7874563a7458 | [
"MIT"
] | null | null | null | logic_gates/__init__.py | ZBoroda/logic_gate_modeling | 8d88191c7d0ce4f1a5f3fdc6272d7874563a7458 | [
"MIT"
] | null | null | null | from logic_gates.gates import Circuit, nand
from logic_gates.model import Model
__all__ = ['Model', 'Circuit', 'nand']
| 20.166667 | 43 | 0.752066 | 17 | 121 | 5 | 0.470588 | 0.211765 | 0.329412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132231 | 121 | 5 | 44 | 24.2 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d3e5d7b03494f7fe0297d1036c81a16d8d97c3f | 31 | py | Python | market_characterization/tests.py | DavimenUC3M/IronIA-RoboAdvisor | 06d37889d5cb9c40139ceb6a41c959b92fff3291 | [
"MIT"
] | null | null | null | market_characterization/tests.py | DavimenUC3M/IronIA-RoboAdvisor | 06d37889d5cb9c40139ceb6a41c959b92fff3291 | [
"MIT"
] | null | null | null | market_characterization/tests.py | DavimenUC3M/IronIA-RoboAdvisor | 06d37889d5cb9c40139ceb6a41c959b92fff3291 | [
"MIT"
] | 2 | 2022-01-31T21:56:44.000Z | 2022-02-02T10:28:00.000Z | import investpy
import pandas
| 7.75 | 15 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 3 | 16 | 10.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d41f2960f0d21948ed0fbabd316465fe85ed233 | 2,565 | py | Python | epytope/Data/pssms/smm/mat/A_26_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/A_26_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/A_26_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_26_01_10 = {0: {'A': 0.295, 'C': -0.089, 'E': -0.675, 'D': -0.266, 'G': -0.041, 'F': -0.244, 'I': 0.133, 'H': -0.258, 'K': 0.502, 'M': -0.55, 'L': 0.144, 'N': 0.238, 'Q': 0.195, 'P': 0.285, 'S': -0.256, 'R': 0.362, 'T': -0.069, 'W': 0.055, 'V': 0.255, 'Y': -0.016}, 1: {'A': -0.085, 'C': 0.727, 'E': 0.959, 'D': 0.268,... | 2,565 | 2,565 | 0.395322 | 618 | 2,565 | 1.635922 | 0.279935 | 0.019782 | 0.009891 | 0.011869 | 0.027695 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375174 | 0.161404 | 2,565 | 1 | 2,565 | 2,565 | 0.09484 | 0 | 0 | 0 | 0 | 0 | 0.079111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc0b3df9265fef3b88451b22a1ad942f284dfb70 | 26 | py | Python | flake8_awesome/__init__.py | afonasev/flake8-awesome | 602dc44fb9b2a6111e17a682db344d93dd456be3 | [
"MIT"
] | 11 | 2019-11-26T12:05:48.000Z | 2021-08-30T00:25:03.000Z | flake8_awesome/__init__.py | Afonasev/flake8-awesome | 602dc44fb9b2a6111e17a682db344d93dd456be3 | [
"MIT"
] | 1 | 2020-06-22T12:21:00.000Z | 2020-07-10T06:48:03.000Z | flake8_awesome/__init__.py | Afonasev/flake8-awesome | 602dc44fb9b2a6111e17a682db344d93dd456be3 | [
"MIT"
] | 1 | 2020-03-01T13:59:27.000Z | 2020-03-01T13:59:27.000Z | print('You are awesome!')
| 13 | 25 | 0.692308 | 4 | 26 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
bc34073ade68ad5ed2e36878640e639720479441 | 20 | py | Python | sgStatistics/R/__init__.py | jyshangguan/sgAstroTool | 05392b57848598655a1d2c52fd3b1f1392243575 | [
"MIT"
] | 1 | 2020-02-01T04:49:16.000Z | 2020-02-01T04:49:16.000Z | sgStatistics/R/__init__.py | jyshangguan/sgAstroTool | 05392b57848598655a1d2c52fd3b1f1392243575 | [
"MIT"
] | 2 | 2018-12-11T06:59:27.000Z | 2020-02-25T15:51:13.000Z | sgStatistics/R/__init__.py | jyshangguan/sgAstroTool | 05392b57848598655a1d2c52fd3b1f1392243575 | [
"MIT"
] | 1 | 2020-02-25T15:29:06.000Z | 2020-02-25T15:29:06.000Z | from .nada import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
70ab21a360ca4366f1ba831d5bc9d40778f71534 | 42 | py | Python | test1.py | ddbeare/pynet | ce6335c1ad05bb2387130285e36d8b5b4988f2ff | [
"Apache-2.0"
] | null | null | null | test1.py | ddbeare/pynet | ce6335c1ad05bb2387130285e36d8b5b4988f2ff | [
"Apache-2.0"
] | null | null | null | test1.py | ddbeare/pynet | ce6335c1ad05bb2387130285e36d8b5b4988f2ff | [
"Apache-2.0"
] | null | null | null | print("test")
print("test file modified")
| 14 | 27 | 0.714286 | 6 | 42 | 5 | 0.666667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 2 | 28 | 21 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
70d5f8282d60d0fcf723b9b313f7a94663670ac6 | 28 | py | Python | learn.py | devesh2511/manager-pro | 9449066bd0da9c2a5f28b1f7706e7a17bb6231e1 | [
"MIT"
] | null | null | null | learn.py | devesh2511/manager-pro | 9449066bd0da9c2a5f28b1f7706e7a17bb6231e1 | [
"MIT"
] | null | null | null | learn.py | devesh2511/manager-pro | 9449066bd0da9c2a5f28b1f7706e7a17bb6231e1 | [
"MIT"
] | null | null | null | print("learning is stress")
| 14 | 27 | 0.75 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
70ff59457b42f1654d13fd428e44b8456132cb0f | 27,577 | py | Python | test/test_drillsim.py | bthornton191/Adams_Modules | e5473c6dc194148353cefb9964ad2081e79741d7 | [
"MIT"
] | 5 | 2019-07-01T01:38:44.000Z | 2020-05-18T00:56:41.000Z | test/test_drillsim.py | bthornton191/Adams_Modules | e5473c6dc194148353cefb9964ad2081e79741d7 | [
"MIT"
] | 4 | 2020-03-24T16:55:01.000Z | 2021-03-20T00:44:18.000Z | test/test_drillsim.py | bthornton191/adamspy | e5473c6dc194148353cefb9964ad2081e79741d7 | [
"MIT"
] | null | null | null | """Tests related to the DrillSim class
"""
import unittest
import os
import glob
import shutil
import dripy
import thornpy
from test import *
from adamspy import adripy #pylint: disable=wrong-import-position
from adamspy.adripy import DrillSim #pylint: disable=wrong-import-position
class Test_ReadResults(unitte... | 46.038397 | 172 | 0.702796 | 3,642 | 27,577 | 5.021142 | 0.07743 | 0.07437 | 0.028982 | 0.027889 | 0.869251 | 0.839722 | 0.804123 | 0.789687 | 0.758353 | 0.734948 | 0 | 0.008873 | 0.211227 | 27,577 | 598 | 173 | 46.115385 | 0.831832 | 0.213584 | 0 | 0.407407 | 0 | 0 | 0.028072 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.131313 | false | 0.006734 | 0.030303 | 0.003367 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cb16f5f524f81bcee92a19d138edfac3bfd8bfb3 | 150 | py | Python | hm1/hm1/doctype/ts_receptionist/test_ts_receptionist.py | PassionateNaveenkumar/TS-Attendence | ad5d0d4f5789ab27e4b65f9e0dffc70f5bff7986 | [
"MIT"
] | null | null | null | hm1/hm1/doctype/ts_receptionist/test_ts_receptionist.py | PassionateNaveenkumar/TS-Attendence | ad5d0d4f5789ab27e4b65f9e0dffc70f5bff7986 | [
"MIT"
] | null | null | null | hm1/hm1/doctype/ts_receptionist/test_ts_receptionist.py | PassionateNaveenkumar/TS-Attendence | ad5d0d4f5789ab27e4b65f9e0dffc70f5bff7986 | [
"MIT"
] | null | null | null | # Copyright (c) 2021, naveen and Contributors
# See license.txt
# import frappe
import unittest
class TestTS_Receptionist(unittest.TestCase):
pass
| 16.666667 | 45 | 0.786667 | 19 | 150 | 6.157895 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031008 | 0.14 | 150 | 8 | 46 | 18.75 | 0.875969 | 0.486667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cb9aee17152e770fa3a95dada76383bdc9025dce | 2,399 | py | Python | tests/TestVerificationHandler.py | DIPSAS/DockerFeed | 64ad9e491112b70c2a50ad8c62cc3865d4908d2e | [
"MIT"
] | 3 | 2019-11-18T14:23:42.000Z | 2020-04-29T08:24:25.000Z | tests/TestVerificationHandler.py | DIPSAS/DockerFeed | 64ad9e491112b70c2a50ad8c62cc3865d4908d2e | [
"MIT"
] | null | null | null | tests/TestVerificationHandler.py | DIPSAS/DockerFeed | 64ad9e491112b70c2a50ad8c62cc3865d4908d2e | [
"MIT"
] | null | null | null | import unittest
from DockerFeed.VerificationHandler import VerificationHandler
class TestVerificationHandler(unittest.TestCase):
def test_VerifyComposeFiles(self):
requiredImageLabels = ['maintainer']
composeFile = "tests/testStacks/docker-compose.nginx_test_digest.1.1.0.yml"
verificationH... | 49.979167 | 98 | 0.78491 | 207 | 2,399 | 8.908213 | 0.222222 | 0.026573 | 0.094902 | 0.083514 | 0.83243 | 0.83243 | 0.793384 | 0.793384 | 0.793384 | 0.650217 | 0 | 0.010101 | 0.133389 | 2,399 | 48 | 99 | 49.979167 | 0.876864 | 0 | 0 | 0.472222 | 0 | 0 | 0.21 | 0.193333 | 0 | 0 | 0 | 0 | 0.194444 | 1 | 0.194444 | false | 0 | 0.055556 | 0 | 0.277778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cb9fdadeddebd420c0507d71d4c40eadf4427eb4 | 4,902 | py | Python | ic3_data/data_formats_fill.py | IceCubeOpenSource/ic3-data | b93fa5840598d7f3dbd48d2c14e4442d9e4b4f24 | [
"MIT"
] | null | null | null | ic3_data/data_formats_fill.py | IceCubeOpenSource/ic3-data | b93fa5840598d7f3dbd48d2c14e4442d9e4b4f24 | [
"MIT"
] | null | null | null | ic3_data/data_formats_fill.py | IceCubeOpenSource/ic3-data | b93fa5840598d7f3dbd48d2c14e4442d9e4b4f24 | [
"MIT"
] | null | null | null | from __future__ import print_function, division
import numpy as np
from ic3_data.ext_boost import fill_reduced_summary_statistics_data
"""All data format functions must have the following signature:
Parameters
----------
container : DNNDataContainer
The data container that will be filled.
bat... | 35.521739 | 78 | 0.671155 | 622 | 4,902 | 5.120579 | 0.200965 | 0.037677 | 0.033909 | 0.026688 | 0.883516 | 0.864678 | 0.864678 | 0.864678 | 0.864678 | 0.864678 | 0 | 0.001972 | 0.275806 | 4,902 | 137 | 79 | 35.781022 | 0.895211 | 0.453284 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.090909 | 0 | 0.151515 | 0.030303 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cbc5c40dc63fdb0de35c52cf55a2952d53fd3906 | 43 | py | Python | enthought/pyface/filter.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/pyface/filter.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/pyface/filter.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.filter import *
| 14.333333 | 27 | 0.767442 | 6 | 43 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 28 | 21.5 | 0.916667 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cbce3e5ab78907a81b2a21eea1f48affbf359dff | 40 | py | Python | bem/__init__.py | ricklupton/py-bem | 026b2b82b6f09d57b213cfe17aa849dbdf3c7b71 | [
"MIT"
] | 25 | 2015-01-21T19:41:00.000Z | 2022-02-03T06:57:59.000Z | bem/__init__.py | enritoomey/py-bem | 026b2b82b6f09d57b213cfe17aa849dbdf3c7b71 | [
"MIT"
] | 1 | 2019-08-29T06:41:49.000Z | 2019-09-26T02:33:14.000Z | bem/__init__.py | enritoomey/py-bem | 026b2b82b6f09d57b213cfe17aa849dbdf3c7b71 | [
"MIT"
] | 13 | 2015-05-20T17:20:22.000Z | 2021-06-26T02:49:30.000Z | from .bem import *
from . import models
| 13.333333 | 20 | 0.725 | 6 | 40 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 2 | 21 | 20 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cbd4768753e4a36be75365bd9f70764455c38f56 | 1,433 | py | Python | autog/utils.py | at-eam/AutoDeepG-Bot | 2fbd83bd29581319c52bc6a7ce2ec5543f8f682c | [
"MIT"
] | 4 | 2019-02-13T17:24:45.000Z | 2021-12-04T21:44:52.000Z | autog/utils.py | at-eam/AutoDeepG-Bot | 2fbd83bd29581319c52bc6a7ce2ec5543f8f682c | [
"MIT"
] | 2 | 2019-02-13T17:16:00.000Z | 2019-02-14T17:13:32.000Z | autog/utils.py | at-eam/AutoDeepG-Bot | 2fbd83bd29581319c52bc6a7ce2ec5543f8f682c | [
"MIT"
] | 1 | 2019-02-13T17:12:20.000Z | 2019-02-13T17:12:20.000Z | import cv2
import numpy as np
from PIL import ImageGrab
points = (0,0)
def click(event,x,y,flags,param):
global points
if event == cv2.EVENT_LBUTTONDOWN:
points = (x, y)
def set_top_left():
"""
Get the top left corner of screenshot
Press q to contuniue
"""
global points
c... | 26.054545 | 63 | 0.602233 | 203 | 1,433 | 4.226601 | 0.315271 | 0.027972 | 0.02331 | 0.037296 | 0.741259 | 0.741259 | 0.741259 | 0.741259 | 0.741259 | 0.666667 | 0 | 0.057602 | 0.260991 | 1,433 | 54 | 64 | 26.537037 | 0.752597 | 0.088625 | 0 | 0.717949 | 0 | 0 | 0.101186 | 0 | 0 | 0 | 0.006324 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.205128 | 0.051282 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cbe4eecd6a18fc948aa1d96c69ab3da69bf261b1 | 133 | py | Python | Session-3/Strings/S3SS2.py | saianuragpeddu/python-assignemts | a6bb192f2c0ef8ea86531c1a98f1b76150fa474b | [
"MIT"
] | null | null | null | Session-3/Strings/S3SS2.py | saianuragpeddu/python-assignemts | a6bb192f2c0ef8ea86531c1a98f1b76150fa474b | [
"MIT"
] | null | null | null | Session-3/Strings/S3SS2.py | saianuragpeddu/python-assignemts | a6bb192f2c0ef8ea86531c1a98f1b76150fa474b | [
"MIT"
] | 1 | 2019-07-06T02:37:58.000Z | 2019-07-06T02:37:58.000Z | def countLetter(word, letter):
return word.count(letter)
print(countLetter("banana", "a"))
print(countLetter("saianurag", "n"))
| 22.166667 | 36 | 0.706767 | 16 | 133 | 5.875 | 0.6875 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 133 | 5 | 37 | 26.6 | 0.789916 | 0 | 0 | 0 | 0 | 0 | 0.12782 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
3826b2581f5af7841192517cdb44d790a6529cb6 | 41 | py | Python | demo1.py | quartz-happy/PyHub | 43f06e268a67964b0191ba555641a98c5d1f7a1f | [
"Apache-2.0"
] | 2 | 2018-11-17T14:30:15.000Z | 2018-11-17T14:33:14.000Z | demo1.py | quartz-happy/PyHub | 43f06e268a67964b0191ba555641a98c5d1f7a1f | [
"Apache-2.0"
] | null | null | null | demo1.py | quartz-happy/PyHub | 43f06e268a67964b0191ba555641a98c5d1f7a1f | [
"Apache-2.0"
] | 2 | 2018-11-13T13:57:36.000Z | 2019-01-26T02:12:22.000Z | from numpy import numpy
print("sky") | 10.25 | 24 | 0.682927 | 6 | 41 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 41 | 4 | 25 | 10.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
384230832664b19f86438aa21704fbd6ecfb964a | 82 | py | Python | tests/test_version.py | Mikhail-M/ppln | 11bacc40ec6808c0b7bae0f9fb6b36b860294417 | [
"MIT"
] | 10 | 2020-02-10T10:43:59.000Z | 2021-04-22T11:32:16.000Z | tests/test_version.py | Mikhail-M/ppln | 11bacc40ec6808c0b7bae0f9fb6b36b860294417 | [
"MIT"
] | 3 | 2020-07-16T14:06:28.000Z | 2020-07-16T14:06:38.000Z | tests/test_version.py | Mikhail-M/ppln | 11bacc40ec6808c0b7bae0f9fb6b36b860294417 | [
"MIT"
] | 2 | 2019-12-23T07:52:56.000Z | 2019-12-23T08:20:30.000Z | def test_version():
import ppln
assert isinstance(ppln.__version__, str)
| 16.4 | 44 | 0.719512 | 10 | 82 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 82 | 4 | 45 | 20.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
69781a1104c1638a48a334a6fe0368d6ab998153 | 183 | py | Python | winter/web/exceptions/throttle_exception.py | zhukovqs/winter | 20c361f29f89ffa0dc27501e12df8ef6e22a8e4c | [
"MIT"
] | 3 | 2020-04-14T11:17:55.000Z | 2021-12-27T03:34:45.000Z | winter/web/exceptions/throttle_exception.py | zhukovqs/winter | 20c361f29f89ffa0dc27501e12df8ef6e22a8e4c | [
"MIT"
] | 10 | 2020-04-09T02:31:02.000Z | 2022-02-08T20:02:27.000Z | winter/web/exceptions/throttle_exception.py | zhukovqs/winter | 20c361f29f89ffa0dc27501e12df8ef6e22a8e4c | [
"MIT"
] | 8 | 2020-07-16T13:56:50.000Z | 2021-12-27T03:33:23.000Z | from http import HTTPStatus
from .problem import problem
@problem(status=HTTPStatus.TOO_MANY_REQUESTS, detail='Request was throttled')
class ThrottleException(Exception):
pass
| 20.333333 | 77 | 0.808743 | 22 | 183 | 6.636364 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120219 | 183 | 8 | 78 | 22.875 | 0.906832 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
69bb4a72b253d402553256235af2d7fb7d6e3853 | 17,572 | py | Python | pieces_o.py | alexelwood14/Chess | 2433f30cf13680ce55758afd82993f3463fbc882 | [
"CC0-1.0"
] | null | null | null | pieces_o.py | alexelwood14/Chess | 2433f30cf13680ce55758afd82993f3463fbc882 | [
"CC0-1.0"
] | null | null | null | pieces_o.py | alexelwood14/Chess | 2433f30cf13680ce55758afd82993f3463fbc882 | [
"CC0-1.0"
] | null | null | null | import pygame
from pygame.locals import *
class Piece():
def __init__(self, window, board_start, tile_size, value, team, image, origin):
self.value = value
self.window = window
self.board_start = board_start
self.tile_size = tile_size
self.team = team
self.image = i... | 40.770302 | 138 | 0.523105 | 2,314 | 17,572 | 3.8172 | 0.04624 | 0.113212 | 0.045851 | 0.048908 | 0.851919 | 0.803691 | 0.79169 | 0.758972 | 0.740519 | 0.728292 | 0 | 0.039429 | 0.286991 | 17,572 | 430 | 139 | 40.865116 | 0.665576 | 0.0626 | 0 | 0.585616 | 0 | 0 | 0.013562 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113014 | false | 0.034247 | 0.006849 | 0.027397 | 0.212329 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
38a2d6132c8879e361da5f91bb58e9e4296993ec | 225 | py | Python | src/operations/filter.py | PatricioIribarneCatella/TP-NBA-statistics | e5a9a67a56614c63e4761316403e8ba6181ba447 | [
"MIT"
] | null | null | null | src/operations/filter.py | PatricioIribarneCatella/TP-NBA-statistics | e5a9a67a56614c63e4761316403e8ba6181ba447 | [
"MIT"
] | null | null | null | src/operations/filter.py | PatricioIribarneCatella/TP-NBA-statistics | e5a9a67a56614c63e4761316403e8ba6181ba447 | [
"MIT"
] | null | null | null | #
# Filter In class
#
class Filter(object):
def __init__(self, pattern):
self.field, self.value = pattern.split('=')
def filter(self, row):
return row[self.field] == self.value
| 17.307692 | 51 | 0.555556 | 26 | 225 | 4.653846 | 0.5 | 0.14876 | 0.214876 | 0.297521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.311111 | 225 | 12 | 52 | 18.75 | 0.780645 | 0.066667 | 0 | 0 | 0 | 0 | 0.004854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
38d257c5cf996f2a1e70cd3c2279f288fb7ec270 | 9,458 | py | Python | tests/test_group.py | kleon1024/ChainMore-API-Flask | 4fc5f2537ce9b648e37b1679c1af6f95a70d45bf | [
"Apache-2.0"
] | 1 | 2019-10-29T06:31:04.000Z | 2019-10-29T06:31:04.000Z | tests/test_group.py | kleon1024/ChainMore-API-Flask | 4fc5f2537ce9b648e37b1679c1af6f95a70d45bf | [
"Apache-2.0"
] | null | null | null | tests/test_group.py | kleon1024/ChainMore-API-Flask | 4fc5f2537ce9b648e37b1679c1af6f95a70d45bf | [
"Apache-2.0"
] | null | null | null | from flask import current_app
from tests.base import BaseTestCase
import unittest
class GroupTestCase(BaseTestCase):
def test_basic_operation(self):
self.login()
# Create Group
data = self.OK(self.post("/v1/group", json=dict(title="GROUP")))
group_id = data["items"][0]["id"]
... | 29.93038 | 100 | 0.486678 | 1,062 | 9,458 | 4.23258 | 0.078154 | 0.086096 | 0.082314 | 0.115239 | 0.863181 | 0.847608 | 0.823582 | 0.764627 | 0.725028 | 0.718354 | 0 | 0.027993 | 0.357898 | 9,458 | 315 | 101 | 30.025397 | 0.712169 | 0.052231 | 0 | 0.548936 | 0 | 0 | 0.136467 | 0.018913 | 0 | 0 | 0 | 0 | 0.102128 | 1 | 0.025532 | false | 0 | 0.012766 | 0 | 0.042553 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2a42e228510ea352e1ea45ea250dd0eb99ff22e2 | 35 | py | Python | services/director-v2/src/simcore_service_director_v2/modules/comp_scheduler/__init__.py | colinRawlings/osparc-simcore | bf2f18d5bc1e574d5f4c238d08ad15156184c310 | [
"MIT"
] | 25 | 2018-04-13T12:44:12.000Z | 2022-03-12T15:01:17.000Z | services/director-v2/src/simcore_service_director_v2/modules/comp_scheduler/__init__.py | colinRawlings/osparc-simcore | bf2f18d5bc1e574d5f4c238d08ad15156184c310 | [
"MIT"
] | 2,553 | 2018-01-18T17:11:55.000Z | 2022-03-31T16:26:40.000Z | services/director-v2/src/simcore_service_director_v2/modules/comp_scheduler/__init__.py | mrnicegyu11/osparc-simcore | b6fa6c245dbfbc18cc74a387111a52de9b05d1f4 | [
"MIT"
] | 20 | 2018-01-18T19:45:33.000Z | 2022-03-29T07:08:47.000Z | from .background_task import setup
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa4eec60cf0f7e4fb93e1850efb2b0395c19e115 | 298 | py | Python | cadnano/controllers/__init__.py | sherwoodyao/cadnano2.5 | ce6ff019b88ee7728de947bd86b35861cf57848d | [
"BSD-3-Clause"
] | 69 | 2015-01-13T02:54:40.000Z | 2022-03-27T14:25:51.000Z | cadnano/controllers/__init__.py | scholer/cadnano2.5 | ce6ff019b88ee7728de947bd86b35861cf57848d | [
"BSD-3-Clause"
] | 127 | 2015-01-01T06:26:34.000Z | 2022-03-02T12:48:05.000Z | cadnano/controllers/__init__.py | scholer/cadnano2.5 | ce6ff019b88ee7728de947bd86b35861cf57848d | [
"BSD-3-Clause"
] | 48 | 2015-01-22T19:57:49.000Z | 2022-03-27T14:27:53.000Z | from .nucleicacidpartitemcontroller import NucleicAcidPartItemController
from .oligoitemcontroller import OligoItemController
from .stranditemcontroller import StrandItemController
from .viewrootcontroller import ViewRootController
from .virtualhelixitemcontroller import VirtualHelixItemController | 59.6 | 72 | 0.919463 | 20 | 298 | 13.7 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063758 | 298 | 5 | 73 | 59.6 | 0.982079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa6125dea9b5ca1ad247c54c309b599445315a99 | 108 | py | Python | katas/kyu_7/the_office_3_broken_photocopier.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_7/the_office_3_broken_photocopier.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_7/the_office_3_broken_photocopier.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | from string import maketrans, translate
def broken(inp):
return translate(inp, maketrans('01', '10'))
| 18 | 48 | 0.712963 | 14 | 108 | 5.5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.157407 | 108 | 5 | 49 | 21.6 | 0.802198 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.