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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
623101e3c7c215abce7735b3565c0648a3b39c34 | 68 | py | Python | __init__.py | OSevangelist/vsf-odoo | 2133dcaf0ce7d50573d43387fd343be6dfe7c9d7 | [
"MIT"
] | 84 | 2019-06-11T08:14:52.000Z | 2022-02-17T13:58:20.000Z | __init__.py | OSevangelist/vsf-odoo | 2133dcaf0ce7d50573d43387fd343be6dfe7c9d7 | [
"MIT"
] | 16 | 2019-06-15T14:30:14.000Z | 2020-07-26T04:21:42.000Z | __init__.py | OSevangelist/vsf-odoo | 2133dcaf0ce7d50573d43387fd343be6dfe7c9d7 | [
"MIT"
] | 38 | 2019-06-11T11:44:12.000Z | 2021-11-20T20:55:17.000Z | from . import common
from . import models
from . import controllers
| 17 | 25 | 0.779412 | 9 | 68 | 5.888889 | 0.555556 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 68 | 3 | 26 | 22.666667 | 0.946429 | 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 |
624d91dcfcaf93dc5b7a8824780a098e381009c4 | 71 | py | Python | netlas/__init__.py | netlas-io/netlas-python | cb33beccccc8b7bafb9fe32aaa21c3d8feb21b0c | [
"MIT"
] | 4 | 2021-06-22T12:22:22.000Z | 2022-03-21T15:55:03.000Z | netlas/__init__.py | netlas-io/netlas-python | cb33beccccc8b7bafb9fe32aaa21c3d8feb21b0c | [
"MIT"
] | null | null | null | netlas/__init__.py | netlas-io/netlas-python | cb33beccccc8b7bafb9fe32aaa21c3d8feb21b0c | [
"MIT"
] | null | null | null | from netlas.client import Netlas
from netlas.exception import APIError
| 23.666667 | 37 | 0.859155 | 10 | 71 | 6.1 | 0.6 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 38 | 35.5 | 0.968254 | 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 |
65762b0141a955045b62e73dd3810bd8b8560502 | 10,085 | py | Python | wsbtrading/maths/tests/test_maths.py | bordumb/wsbtrading | 32cadab1d9e2f4d37e7d028cc30f4cd0e924be92 | [
"MIT"
] | 14 | 2021-01-25T00:01:39.000Z | 2021-08-12T09:20:39.000Z | wsbtrading/maths/tests/test_maths.py | bordumb/wsbtrading | 32cadab1d9e2f4d37e7d028cc30f4cd0e924be92 | [
"MIT"
] | 15 | 2021-01-24T20:18:13.000Z | 2021-02-04T21:54:27.000Z | wsbtrading/maths/tests/test_maths.py | bordumb/wsbtrading | 32cadab1d9e2f4d37e7d028cc30f4cd0e924be92 | [
"MIT"
] | 3 | 2021-01-27T14:03:02.000Z | 2021-08-29T04:13:26.000Z | import unittest
import math
import pandas as pd
from pandas._testing import assert_frame_equal
from wsbtrading import maths
class TestDivision(unittest.TestCase):
def setUp(self) -> None:
# yapf: disable
schema = ['timestamp', 'low', 'high', 'low_perc_high']
data = [
(1, 1, 1,... | 35.636042 | 128 | 0.589588 | 1,366 | 10,085 | 4.189605 | 0.106149 | 0.041936 | 0.070942 | 0.055915 | 0.835576 | 0.821073 | 0.791368 | 0.73126 | 0.705399 | 0.680762 | 0 | 0.102337 | 0.249083 | 10,085 | 282 | 129 | 35.762411 | 0.653374 | 0.084482 | 0 | 0.480874 | 0 | 0 | 0.116985 | 0 | 0 | 0 | 0 | 0 | 0.087432 | 1 | 0.120219 | false | 0 | 0.04918 | 0.005464 | 0.229508 | 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 |
65de24b9c57e6507853241eef4833d0e7b25366d | 25 | py | Python | tests/test_json.py | douglasdavis/intake-awkward | ef67b27bedb53cb76e1e61eb77416636e56bff2d | [
"BSD-3-Clause"
] | 3 | 2020-09-29T13:54:28.000Z | 2020-12-17T13:29:51.000Z | tests/test_json.py | douglasdavis/intake-awkward | ef67b27bedb53cb76e1e61eb77416636e56bff2d | [
"BSD-3-Clause"
] | 3 | 2020-04-08T10:45:35.000Z | 2020-08-15T16:05:41.000Z | tests/test_plugin.py | pytest-dev/pytest-plus | 21a0f26340870631fb706c5a16ff105529a40bd8 | [
"MIT"
] | null | null | null | def test_one():
pass
| 8.333333 | 15 | 0.6 | 4 | 25 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28 | 25 | 2 | 16 | 12.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
65e753e8d3bbbd1f6e856dd3eefe869b2aff8511 | 376 | py | Python | locust/rpc/__init__.py | RollForReflex/locust | 4ffbe1579d0d9f2534f9da33a7558552c9e67076 | [
"MIT"
] | 1 | 2017-05-26T04:26:14.000Z | 2017-05-26T04:26:14.000Z | locust/rpc/__init__.py | agoragames/locust | 465100c903cc8558e408760f4e49792798dd7b16 | [
"MIT"
] | null | null | null | locust/rpc/__init__.py | agoragames/locust | 465100c903cc8558e408760f4e49792798dd7b16 | [
"MIT"
] | 1 | 2021-09-08T11:46:00.000Z | 2021-09-08T11:46:00.000Z | import warnings
try:
import zmqrpc as rpc
except ImportError:
warnings.warn("WARNING: Using pure Python socket RPC implementation instead of zmq. If running in distributed mode, this could cause a performance decrease. We recommend you to install the pyzmq python package when running in distributed mode.")
... | 37.6 | 249 | 0.789894 | 54 | 376 | 5.5 | 0.777778 | 0.03367 | 0.13468 | 0.161616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175532 | 376 | 9 | 250 | 41.777778 | 0.958065 | 0 | 0 | 0 | 0 | 0.142857 | 0.606383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
02a73897a5b51e1c793e8239d6c54b417b4714a7 | 35 | py | Python | SW/__init__.py | ddvlamin/SW-transformation | d7c46c75df89140ce5498f9800c319be5a75f0bb | [
"MIT"
] | 1 | 2021-05-19T07:22:15.000Z | 2021-05-19T07:22:15.000Z | SW/__init__.py | ddvlamin/SW-transformation | d7c46c75df89140ce5498f9800c319be5a75f0bb | [
"MIT"
] | null | null | null | SW/__init__.py | ddvlamin/SW-transformation | d7c46c75df89140ce5498f9800c319be5a75f0bb | [
"MIT"
] | 3 | 2019-02-11T18:46:07.000Z | 2021-02-18T10:09:20.000Z | from .SW import SW_transformation
| 17.5 | 34 | 0.828571 | 5 | 35 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f30e9271927c154e0e53c1cb94c18bf30f3c4d60 | 66 | py | Python | TedSeg/__init__.py | tadeephuy/CoFo | 28461e923f112182887d66d1db499da7a2535b28 | [
"MIT"
] | 2 | 2022-02-15T07:58:29.000Z | 2022-02-25T10:08:59.000Z | TedSeg/__init__.py | tadeephuy/CoFo | 28461e923f112182887d66d1db499da7a2535b28 | [
"MIT"
] | null | null | null | TedSeg/__init__.py | tadeephuy/CoFo | 28461e923f112182887d66d1db499da7a2535b28 | [
"MIT"
] | null | null | null | from .dataset import *
from .learner import *
from .utils import * | 22 | 22 | 0.742424 | 9 | 66 | 5.444444 | 0.555556 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 66 | 3 | 23 | 22 | 0.890909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
b82324a6db43a8b8604a05f79ff7c0bb562c4595 | 38 | py | Python | peacock/syntax/__init__.py | jeremyclewell/peacock | 74a8a5ec4cc8fd7ebcdcc9ece41cf2e4d66719d6 | [
"MIT"
] | null | null | null | peacock/syntax/__init__.py | jeremyclewell/peacock | 74a8a5ec4cc8fd7ebcdcc9ece41cf2e4d66719d6 | [
"MIT"
] | null | null | null | peacock/syntax/__init__.py | jeremyclewell/peacock | 74a8a5ec4cc8fd7ebcdcc9ece41cf2e4d66719d6 | [
"MIT"
] | null | null | null | from highlight import DataHighlighter
| 19 | 37 | 0.894737 | 4 | 38 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 |
b838de5d7f2f474f917e18a309a9724840ecce57 | 78 | py | Python | CLITests.py | josephxsxn/alchemists_notepad | 8bf484d294a5b79ebeee2befbfaf1f32871b2882 | [
"Apache-2.0"
] | null | null | null | CLITests.py | josephxsxn/alchemists_notepad | 8bf484d294a5b79ebeee2befbfaf1f32871b2882 | [
"Apache-2.0"
] | 4 | 2015-12-29T19:20:29.000Z | 2015-12-30T19:44:14.000Z | CLITests.py | josephxsxn/alchemists_notepad | 8bf484d294a5b79ebeee2befbfaf1f32871b2882 | [
"Apache-2.0"
] | null | null | null | from UI.CLI import CLI
from UI.CLI import CLIOption
cli = CLI()
cli.shell()
| 11.142857 | 28 | 0.717949 | 14 | 78 | 4 | 0.428571 | 0.214286 | 0.321429 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 78 | 6 | 29 | 13 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b84288f2a18bf0140b8f75eccc2bf0b842e86baf | 63 | py | Python | HelloWorld.py | andryuha77/Emerging-Technologies-problem-Sheet1 | 036a132032a4dc3110e5ea78702e2c7a921b071d | [
"MIT"
] | null | null | null | HelloWorld.py | andryuha77/Emerging-Technologies-problem-Sheet1 | 036a132032a4dc3110e5ea78702e2c7a921b071d | [
"MIT"
] | null | null | null | HelloWorld.py | andryuha77/Emerging-Technologies-problem-Sheet1 | 036a132032a4dc3110e5ea78702e2c7a921b071d | [
"MIT"
] | null | null | null | # Print Hello world
# Date: 21/09/2017
print ("hello, world!")
| 15.75 | 23 | 0.666667 | 10 | 63 | 4.2 | 0.7 | 0.47619 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 0.15873 | 63 | 3 | 24 | 21 | 0.641509 | 0.539683 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
b85041e2c03168b4da3a3be7995979be9edd9e63 | 174 | py | Python | ros/src/tl_detector/TrafficLightDetector.py | frobinet/cad-final-project | d5b10ba80580942103b201cd52be50d18138a79a | [
"MIT"
] | 2 | 2020-12-21T13:16:52.000Z | 2020-12-21T13:16:59.000Z | ros/src/tl_detector/TrafficLightDetector.py | frobinet/cad-final-project | d5b10ba80580942103b201cd52be50d18138a79a | [
"MIT"
] | null | null | null | ros/src/tl_detector/TrafficLightDetector.py | frobinet/cad-final-project | d5b10ba80580942103b201cd52be50d18138a79a | [
"MIT"
] | 2 | 2021-01-15T09:49:13.000Z | 2021-01-24T15:21:12.000Z | from styx_msgs.msg import TrafficLight
import cv2
class TrafficLightDetector():
def detect_state(self, camera_frame):
# TODO
return TrafficLight.UNKNOWN
| 21.75 | 41 | 0.735632 | 20 | 174 | 6.25 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.206897 | 174 | 7 | 42 | 24.857143 | 0.898551 | 0.022989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b89d04d1841eebea8b303e01fd250ed5ceaea40b | 15,315 | py | Python | tests/text/test_case.py | spack971/none | 6313dd7d7095b301e8d49a38d1b39c9080008ae0 | [
"MIT"
] | 1 | 2020-09-28T17:57:33.000Z | 2020-09-28T17:57:33.000Z | tests/text/test_case.py | spack971/none | 6313dd7d7095b301e8d49a38d1b39c9080008ae0 | [
"MIT"
] | 5 | 2020-09-02T15:30:39.000Z | 2020-10-15T09:52:35.000Z | tests/text/test_case.py | spack971/none | 6313dd7d7095b301e8d49a38d1b39c9080008ae0 | [
"MIT"
] | 1 | 2020-09-19T05:10:02.000Z | 2020-09-19T05:10:02.000Z | # tests/text/test_case.py
# =======================
#
# Copying
# -------
#
# Copyright (c) 2020 none authors and contributors.
#
# This file is part of the *none* project.
#
# None is a free software project. You can redistribute it and/or
# modify it following the terms of the MIT License.
#
# This software project i... | 31.708075 | 80 | 0.443944 | 1,826 | 15,315 | 3.569003 | 0.064622 | 0.040509 | 0.036827 | 0.021482 | 0.891515 | 0.891515 | 0.891515 | 0.859291 | 0.85837 | 0.85837 | 0 | 0.055904 | 0.292197 | 15,315 | 482 | 81 | 31.773859 | 0.545295 | 0.071825 | 0 | 0.27907 | 0 | 0 | 0.329234 | 0.003675 | 0 | 0 | 0 | 0 | 0.013953 | 1 | 0.013953 | false | 0 | 0.004651 | 0 | 0.018605 | 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 |
b8ad030c1c0313d515820d0184310c2ef517dd19 | 133 | py | Python | xrudderai/token.py | justin-cotarla/x-rudder-ai | 60f27bcdd2154130d3228c73c839a213d7c8fa92 | [
"MIT"
] | null | null | null | xrudderai/token.py | justin-cotarla/x-rudder-ai | 60f27bcdd2154130d3228c73c839a213d7c8fa92 | [
"MIT"
] | null | null | null | xrudderai/token.py | justin-cotarla/x-rudder-ai | 60f27bcdd2154130d3228c73c839a213d7c8fa92 | [
"MIT"
] | null | null | null | class Token:
def __init__(self, player):
self.player = player
def __str__(self):
return self.player.symbol
| 16.625 | 33 | 0.62406 | 16 | 133 | 4.6875 | 0.5625 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 133 | 7 | 34 | 19 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b244b4df97daa9259c5b8d08d0f31e2679a9330f | 14,628 | py | Python | malaya/text/regex.py | ebiggerr/malaya | be757c793895522f80b929fe82353d90762f7fff | [
"MIT"
] | 88 | 2021-01-06T10:01:31.000Z | 2022-03-30T17:34:09.000Z | malaya/text/regex.py | zulkiflizaki/malaya | 2358081bfa43aad57d9415a99f64c68f615d0cc4 | [
"MIT"
] | 43 | 2021-01-14T02:44:41.000Z | 2022-03-31T19:47:42.000Z | malaya/text/regex.py | zulkiflizaki/malaya | 2358081bfa43aad57d9415a99f64c68f615d0cc4 | [
"MIT"
] | 38 | 2021-01-06T07:15:03.000Z | 2022-03-19T05:07:50.000Z | # this file to store possible regex
_ltr_emoticon = [
# optional hat
r'(?:(?<![a-zA-Z])[DPO]|(?<!\d)[03]|[|}><=])?',
# eyes
r'(?:(?<![a-zA-Z\(])[xXB](?![a-ce-oq-zA-CE-OQ-Z,\.\/])|(?<![:])[:=|](?![\.])|(?<![%#\d])[%#](?![%#\d])|(?<![\d\$])[$](?![\d\.,\$])|[;](?!\()|(?<![\d\(\-\+])8(?![\da-ce-zA-CE-Z\\/]... | 115.181102 | 7,104 | 0.625239 | 2,139 | 14,628 | 4.207106 | 0.28331 | 0.005556 | 0.005667 | 0.007112 | 0.532059 | 0.493722 | 0.435826 | 0.41249 | 0.403712 | 0.377709 | 0 | 0.174376 | 0.04382 | 14,628 | 126 | 7,105 | 116.095238 | 0.468363 | 0.13105 | 0 | 0.086538 | 0 | 0.221154 | 0.837917 | 0.790009 | 0.009615 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b282fe1f03d8cdb71e0dfa4591d3c70dce50ad70 | 80,894 | py | Python | qiita_ware/test/test_ebi.py | smruthi98/qiita | 8514d316670919e074a927226f985b56dba815f6 | [
"BSD-3-Clause"
] | 2 | 2019-07-18T22:39:20.000Z | 2019-08-13T00:17:19.000Z | qiita_ware/test/test_ebi.py | smruthi98/qiita | 8514d316670919e074a927226f985b56dba815f6 | [
"BSD-3-Clause"
] | 3 | 2019-07-23T18:37:18.000Z | 2019-07-30T22:37:32.000Z | qiita_ware/test/test_ebi.py | smruthi98/qiita | 8514d316670919e074a927226f985b56dba815f6 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import division
# -----------------------------------------------------------------------------
# Copyright (c) 2014--, The Qiita Development Team.
#
# Distributed under the terms of the BSD 3-clause License.
#
# The full license is in the file LICENSE, distributed with this software.
# ---------------... | 43.351554 | 79 | 0.62865 | 9,602 | 80,894 | 5.062591 | 0.083941 | 0.03456 | 0.020736 | 0.029952 | 0.829072 | 0.807904 | 0.780626 | 0.765444 | 0.741787 | 0.708091 | 0 | 0.048702 | 0.24385 | 80,894 | 1,865 | 80 | 43.374799 | 0.746011 | 0.032944 | 0 | 0.689165 | 0 | 0.02013 | 0.516728 | 0.228055 | 0 | 0 | 0 | 0 | 0.092954 | 1 | 0.018354 | false | 0.001776 | 0.015394 | 0 | 0.036708 | 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 |
a23c7e7eb8f8ed7eabab2736dfb7bc86c98f2dfb | 28 | py | Python | foood/__init__.py | starsparrow/foood | 2ee7666f0bda9b06c61a6c2d3da79af6c339ffc9 | [
"MIT"
] | 1 | 2021-03-19T00:54:42.000Z | 2021-03-19T00:54:42.000Z | foood/__init__.py | starsparrow/foood | 2ee7666f0bda9b06c61a6c2d3da79af6c339ffc9 | [
"MIT"
] | null | null | null | foood/__init__.py | starsparrow/foood | 2ee7666f0bda9b06c61a6c2d3da79af6c339ffc9 | [
"MIT"
] | null | null | null | from foood.foood import app
| 14 | 27 | 0.821429 | 5 | 28 | 4.6 | 0.8 | 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 |
a261d6da88c98068b5e497cebff91fdc614a269a | 37 | py | Python | sequence/utils/__init__.py | ritchie46/clickstream | 79c669d0636521db2697e5fa583628d1920cc6c1 | [
"MIT"
] | 8 | 2020-01-27T14:43:02.000Z | 2021-08-24T19:26:30.000Z | sequence/utils/__init__.py | ritchie46/clickstream | 79c669d0636521db2697e5fa583628d1920cc6c1 | [
"MIT"
] | 4 | 2020-07-16T14:27:11.000Z | 2021-01-27T08:28:20.000Z | sequence/utils/__init__.py | ritchie46/clickstream | 79c669d0636521db2697e5fa583628d1920cc6c1 | [
"MIT"
] | 6 | 2020-07-16T12:14:49.000Z | 2021-05-17T08:18:42.000Z | from sequence.utils.general import *
| 18.5 | 36 | 0.810811 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 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 |
a26f1fc432a5e19f2b4242070c7bbfa54773c3fb | 344 | py | Python | cla_backend/apps/checker/forms.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 3 | 2019-10-02T15:31:03.000Z | 2022-01-13T10:15:53.000Z | cla_backend/apps/checker/forms.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 206 | 2015-01-02T16:50:11.000Z | 2022-02-16T20:16:05.000Z | cla_backend/apps/checker/forms.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 6 | 2015-03-23T23:08:42.000Z | 2022-02-15T17:04:44.000Z | from legalaid.forms import BaseCallMeBackForm
class WebCallMeBackForm(BaseCallMeBackForm):
def __init__(self, *args, **kwargs):
self.requires_action_at = kwargs.pop("requires_action_at")
super(WebCallMeBackForm, self).__init__(*args, **kwargs)
def get_requires_action_at(self):
return ... | 31.272727 | 66 | 0.744186 | 39 | 344 | 6.128205 | 0.487179 | 0.23431 | 0.267782 | 0.167364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159884 | 344 | 10 | 67 | 34.4 | 0.82699 | 0 | 0 | 0 | 0 | 0 | 0.052326 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a27a86b6c46bb79051b81bf35d4f87d98b9a6349 | 1,310 | py | Python | ds_statsml/_alt_metrics.py | airportpeople/dstools | 00207fa8edd8695b308c4b4a6e022176357b1c83 | [
"MIT"
] | null | null | null | ds_statsml/_alt_metrics.py | airportpeople/dstools | 00207fa8edd8695b308c4b4a6e022176357b1c83 | [
"MIT"
] | null | null | null | ds_statsml/_alt_metrics.py | airportpeople/dstools | 00207fa8edd8695b308c4b4a6e022176357b1c83 | [
"MIT"
] | null | null | null | import numpy as np
from sklearn.metrics import mean_squared_error
def APE(actual, forecast):
return np.abs((actual - forecast) / (actual))
def APE_inv(actual, forecast):
return np.abs(actual / (actual - forecast))
def sAPE(actual, forecast):
return np.abs(actual - forecast) / ((actual + forecast) / 2)... | 19.848485 | 73 | 0.677099 | 182 | 1,310 | 4.796703 | 0.247253 | 0.449026 | 0.297824 | 0.327606 | 0.450172 | 0.350515 | 0.175258 | 0.175258 | 0.123711 | 0.123711 | 0 | 0.007505 | 0.18626 | 1,310 | 66 | 74 | 19.848485 | 0.811445 | 0.049618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4375 | false | 0 | 0.0625 | 0.40625 | 0.9375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a290eb3699f22c432cb4e404f038d27b63908ea7 | 103 | py | Python | src/uri/basic/basic_1001.py | gabrielDpadua21/code-challenges | 0050bc9b358193aa6cacdda21e0670a9dc20450a | [
"MIT"
] | null | null | null | src/uri/basic/basic_1001.py | gabrielDpadua21/code-challenges | 0050bc9b358193aa6cacdda21e0670a9dc20450a | [
"MIT"
] | null | null | null | src/uri/basic/basic_1001.py | gabrielDpadua21/code-challenges | 0050bc9b358193aa6cacdda21e0670a9dc20450a | [
"MIT"
] | null | null | null | class SumNumbers:
def solution(self, value1, value2):
return "X = " + str(value1 + value2) | 25.75 | 44 | 0.621359 | 12 | 103 | 5.333333 | 0.833333 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.252427 | 103 | 4 | 44 | 25.75 | 0.779221 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 |
0c3b7a4322ea156977b4721db332d0015dd23d99 | 3,766 | py | Python | drift_qec/oneangleheuristic.py | janmtl/drift_qec | 3b1c703d151f9dc2833b761f85586cd09666557b | [
"0BSD"
] | null | null | null | drift_qec/oneangleheuristic.py | janmtl/drift_qec | 3b1c703d151f9dc2833b761f85586cd09666557b | [
"0BSD"
] | null | null | null | drift_qec/oneangleheuristic.py | janmtl/drift_qec | 3b1c703d151f9dc2833b761f85586cd09666557b | [
"0BSD"
] | null | null | null | # -*- coding: utf-8 -*-
from base import Parameter, Channel, Estimator, Report, Constant
import numpy as np
def _cos_partial(x):
return (x/2.0 + 1/4.0 * np.sin(2.0*x))
def _sin_partial(x):
return (x/2.0 - 1/4.0 * np.sin(2.0*x))
class ThetaFFT(Parameter):
"""An angle of decesion from the |0> pole."""
... | 35.196262 | 75 | 0.509559 | 572 | 3,766 | 3.208042 | 0.132867 | 0.045777 | 0.059946 | 0.056676 | 0.785831 | 0.785831 | 0.785831 | 0.785831 | 0.785831 | 0.785831 | 0 | 0.029377 | 0.322092 | 3,766 | 106 | 76 | 35.528302 | 0.689385 | 0.027084 | 0 | 0.767442 | 0 | 0 | 0.00876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.127907 | false | 0 | 0.023256 | 0.034884 | 0.255814 | 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 |
0c47875d06ddb5d52b4bd0ecb08174313b67dc07 | 46 | py | Python | example_SetlX_stat_code/stat_python_code/stat_fisher.py | leonmutschke/setlX | a10333405cba3d9d814d7de9e160561bd5fa4f76 | [
"BSD-3-Clause"
] | 28 | 2015-01-14T11:12:02.000Z | 2022-02-15T21:06:05.000Z | example_SetlX_stat_code/stat_python_code/stat_fisher.py | leonmutschke/setlX | a10333405cba3d9d814d7de9e160561bd5fa4f76 | [
"BSD-3-Clause"
] | 6 | 2016-08-01T14:21:37.000Z | 2018-06-03T17:15:00.000Z | example_SetlX_stat_code/stat_python_code/stat_fisher.py | leonmutschke/setlX | a10333405cba3d9d814d7de9e160561bd5fa4f76 | [
"BSD-3-Clause"
] | 18 | 2015-02-11T21:10:18.000Z | 2018-05-02T07:41:41.000Z | from scipy.stats import f
print(f.pdf(3,5,2))
| 15.333333 | 25 | 0.717391 | 11 | 46 | 3 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.108696 | 46 | 2 | 26 | 23 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a74a06b0b46118761d28aff22093f3b07441a7d8 | 138 | py | Python | vennwedo/frontend/views.py | aniruddha2000/vennWedo | 5647bb82eda59678b88d9d6be0caca453f2a0589 | [
"Apache-2.0"
] | 1 | 2021-02-14T07:48:46.000Z | 2021-02-14T07:48:46.000Z | vennwedo/frontend/views.py | ArkaprabhaChakraborty/vennWedo | 7896e14a928a2f7e25531653c0ff45decaffbaa2 | [
"Apache-2.0"
] | null | null | null | vennwedo/frontend/views.py | ArkaprabhaChakraborty/vennWedo | 7896e14a928a2f7e25531653c0ff45decaffbaa2 | [
"Apache-2.0"
] | 2 | 2021-01-31T09:06:22.000Z | 2021-01-31T09:07:47.000Z | from django.shortcuts import render
def index(request, *args, **kwargs):
return render(request, 'index.html')
# Create your views here.
| 23 | 37 | 0.746377 | 19 | 138 | 5.421053 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 138 | 5 | 38 | 27.6 | 0.858333 | 0.166667 | 0 | 0 | 0 | 0 | 0.088496 | 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 |
a7645cefdc6be86e01c217bff3a9d5e82012695e | 118 | py | Python | source/appModules/miranda64.py | SWEN-712/screen-reader-brandonp728 | e30c25ad2d10ce632fac0548696a61a872328f59 | [
"bzip2-1.0.6"
] | null | null | null | source/appModules/miranda64.py | SWEN-712/screen-reader-brandonp728 | e30c25ad2d10ce632fac0548696a61a872328f59 | [
"bzip2-1.0.6"
] | null | null | null | source/appModules/miranda64.py | SWEN-712/screen-reader-brandonp728 | e30c25ad2d10ce632fac0548696a61a872328f59 | [
"bzip2-1.0.6"
] | null | null | null | """App module for Miranda IM for Windows x64
This simply uses the miranda32 app module.
"""
from .miranda32 import *
| 19.666667 | 44 | 0.745763 | 18 | 118 | 4.888889 | 0.777778 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061856 | 0.177966 | 118 | 5 | 45 | 23.6 | 0.845361 | 0.711864 | 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 |
a7bbadd3eceb95f1f6e638a60a262137cc414d10 | 7,815 | py | Python | tests/utility/test_dict_deep_update.py | bnaard/pycmdlineapp-groundwork | e78b29676e1594afcc2fba46478b938e64492d9e | [
"MIT"
] | null | null | null | tests/utility/test_dict_deep_update.py | bnaard/pycmdlineapp-groundwork | e78b29676e1594afcc2fba46478b938e64492d9e | [
"MIT"
] | null | null | null | tests/utility/test_dict_deep_update.py | bnaard/pycmdlineapp-groundwork | e78b29676e1594afcc2fba46478b938e64492d9e | [
"MIT"
] | null | null | null | from hypothesis.strategies._internal.core import recursive
import pytest
from hypothesis import given, strategies as st
from string import printable
from typing import Dict, Any, List, Tuple
import json
from pycmdlineapp_groundwork.utility.dict_deep_update import (
dict_deep_update,
MAX_RECURSION_DEPTH,
)
key_... | 32.974684 | 125 | 0.656814 | 1,154 | 7,815 | 4.090988 | 0.078856 | 0.038128 | 0.106757 | 0.050837 | 0.834993 | 0.810633 | 0.810633 | 0.80089 | 0.766575 | 0.742851 | 0 | 0.065535 | 0.193602 | 7,815 | 236 | 126 | 33.114407 | 0.683593 | 0 | 0 | 0.569231 | 0 | 0 | 0.095226 | 0.061436 | 0 | 0 | 0 | 0 | 0.020513 | 1 | 0.082051 | false | 0 | 0.035897 | 0 | 0.133333 | 0.035897 | 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 |
a7d48e60b6687d48214bdf28ec07845fbe888f74 | 176 | py | Python | courses/python/cursoemvideo/exercicios/ex008.py | bdpcampos/public | dda57c265718f3e1cc0d6bce73f149051f5647ef | [
"MIT"
] | 3 | 2020-04-28T01:42:09.000Z | 2020-05-03T12:05:23.000Z | courses/python/cursoemvideo/exercicios/ex008.py | bdpcampos/public | dda57c265718f3e1cc0d6bce73f149051f5647ef | [
"MIT"
] | null | null | null | courses/python/cursoemvideo/exercicios/ex008.py | bdpcampos/public | dda57c265718f3e1cc0d6bce73f149051f5647ef | [
"MIT"
] | null | null | null | m = float(input('Digite o valor em metros: '))
print('O valor em metros é {:.2f}.\nO valor em centimetros é {:.2f}.\nO valor em milímetros é {:.2f}.'.format(m, m*100, m*1000)) | 58.666667 | 128 | 0.647727 | 33 | 176 | 3.454545 | 0.515152 | 0.245614 | 0.140351 | 0.245614 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.147727 | 176 | 3 | 128 | 58.666667 | 0.693333 | 0 | 0 | 0 | 0 | 0.5 | 0.677966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ce0482dadc870d8a997faea9d07b20eb16b98105 | 5,163 | py | Python | tests/se_test/test_wait_visibility.py | amplify-education/selen_kaa | 8f3f683d97f15be8bda050975c64c7883471e648 | [
"MIT"
] | 4 | 2019-11-10T19:17:15.000Z | 2021-07-20T12:41:25.000Z | tests/se_test/test_wait_visibility.py | amplify-education/selen_kaa | 8f3f683d97f15be8bda050975c64c7883471e648 | [
"MIT"
] | 3 | 2020-04-15T14:44:50.000Z | 2020-04-15T14:59:35.000Z | tests/se_test/test_wait_visibility.py | amplify-education/selen_kaa | 8f3f683d97f15be8bda050975c64c7883471e648 | [
"MIT"
] | 1 | 2022-01-24T10:05:29.000Z | 2022-01-24T10:05:29.000Z | import time
import pytest
from selenium.common.exceptions import TimeoutException
TIMEOUT_6_SEC = 6
TIMEOUT_BASE_ERR_MSG = "TimeoutException while waited {} second(s) for the element '{}' to {}."
def test_should_invisibility(app):
index_page = app.goto_index_page()
assert index_page.test_div.should.be_invi... | 38.529851 | 100 | 0.768933 | 829 | 5,163 | 4.414958 | 0.117008 | 0.159836 | 0.088798 | 0.10929 | 0.85765 | 0.83388 | 0.813115 | 0.797268 | 0.712022 | 0.645628 | 0 | 0.012644 | 0.142165 | 5,163 | 133 | 101 | 38.819549 | 0.813728 | 0.092969 | 0 | 0.554348 | 0 | 0 | 0.01907 | 0 | 0 | 0 | 0 | 0 | 0.380435 | 1 | 0.141304 | false | 0 | 0.032609 | 0 | 0.173913 | 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 |
ce330c1527c57640fae342a3f4e0ba775f9e8121 | 3,364 | py | Python | code/dataPrepare.py | yangyuan333/MvSMPLfitting | c6d92c0e50531c7b9480c57212b3e0e99249525f | [
"MIT"
] | null | null | null | code/dataPrepare.py | yangyuan333/MvSMPLfitting | c6d92c0e50531c7b9480c57212b3e0e99249525f | [
"MIT"
] | null | null | null | code/dataPrepare.py | yangyuan333/MvSMPLfitting | c6d92c0e50531c7b9480c57212b3e0e99249525f | [
"MIT"
] | null | null | null | import sys
sys.path.append('./')
import glob
import os
import shutil
import json
import numpy as np
## lsp
# def transProx2coco(js):
# idx = [0,16,15,18,17,5,2,6,3,7,4,12,9,13,10,14,11]
# return js[idx]
# if __name__ == '__main__':
# path = R'H:\YangYuan\ProjectData\HumanObject\dataset\PROX\prox_quantiativ... | 46.722222 | 143 | 0.58591 | 410 | 3,364 | 4.7 | 0.231707 | 0.084069 | 0.08822 | 0.070576 | 0.832382 | 0.832382 | 0.832382 | 0.832382 | 0.832382 | 0.832382 | 0 | 0.043137 | 0.241974 | 3,364 | 72 | 144 | 46.722222 | 0.712549 | 0.529132 | 0 | 0.117647 | 0 | 0 | 0.221719 | 0.143504 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.176471 | 0 | 0.235294 | 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 |
cbf083494ca790fcf00390f5968350fbf8da522a | 46 | py | Python | tests/pbraiders/pages/options/graphs/__init__.py | pbraiders/pomponne-test-bdd | 7f2973936318221f54e65e0f8bd839cad7216fa4 | [
"MIT"
] | 1 | 2021-03-30T14:41:29.000Z | 2021-03-30T14:41:29.000Z | tests/pbraiders/pages/options/graphs/__init__.py | pbraiders/pomponne-test-bdd | 7f2973936318221f54e65e0f8bd839cad7216fa4 | [
"MIT"
] | null | null | null | tests/pbraiders/pages/options/graphs/__init__.py | pbraiders/pomponne-test-bdd | 7f2973936318221f54e65e0f8bd839cad7216fa4 | [
"MIT"
] | null | null | null | # coding=utf-8
from .graphs import GraphsPage
| 15.333333 | 30 | 0.782609 | 7 | 46 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.130435 | 46 | 2 | 31 | 23 | 0.875 | 0.26087 | 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 |
cbfe179fa18408f42cb725a676113e0852a5f66b | 269 | py | Python | tests/test_hello_minitrade.py | janFiOpelito/minitradetest | 1befdf69a567d0712962181e089b8f9dbd205285 | [
"MIT"
] | null | null | null | tests/test_hello_minitrade.py | janFiOpelito/minitradetest | 1befdf69a567d0712962181e089b8f9dbd205285 | [
"MIT"
] | null | null | null | tests/test_hello_minitrade.py | janFiOpelito/minitradetest | 1befdf69a567d0712962181e089b8f9dbd205285 | [
"MIT"
] | null | null | null | """Unit tests for the mini-trade module."""
from minitrade import hellominitradedef
import pytest
def test_function_1():
assert hello_crypto_def.hello_crypto_world() == "hello_crypto_world"
def test_function_2():
assert hello_crypto_def.add_crypto(3,2) == 5
| 24.454545 | 72 | 0.769517 | 40 | 269 | 4.85 | 0.6 | 0.226804 | 0.154639 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021368 | 0.130112 | 269 | 10 | 73 | 26.9 | 0.807692 | 0.137546 | 0 | 0 | 0 | 0 | 0.079646 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
023338e11d2fbf7de75abaa567284664b11209a8 | 21,219 | py | Python | saleor/graphql/payment/tests/mutations/test_transaction_create.py | DevPoke/saleor | ced3a2249a18031f9f593e71d1d18aa787ec1060 | [
"CC-BY-4.0"
] | null | null | null | saleor/graphql/payment/tests/mutations/test_transaction_create.py | DevPoke/saleor | ced3a2249a18031f9f593e71d1d18aa787ec1060 | [
"CC-BY-4.0"
] | null | null | null | saleor/graphql/payment/tests/mutations/test_transaction_create.py | DevPoke/saleor | ced3a2249a18031f9f593e71d1d18aa787ec1060 | [
"CC-BY-4.0"
] | null | null | null | from decimal import Decimal
import graphene
import pytest
from .....order import OrderEvents
from .....order.utils import update_order_authorize_data, update_order_charge_data
from .....payment import TransactionStatus
from .....payment.error_codes import TransactionCreateErrorCode
from .....payment.models import Tra... | 31.15859 | 88 | 0.619916 | 1,931 | 21,219 | 6.525634 | 0.076644 | 0.044044 | 0.038886 | 0.019602 | 0.829696 | 0.812951 | 0.78716 | 0.777557 | 0.770256 | 0.759464 | 0 | 0.009635 | 0.271219 | 21,219 | 680 | 89 | 31.204412 | 0.805225 | 0.009001 | 0 | 0.68662 | 0 | 0 | 0.204135 | 0.002144 | 0 | 0 | 0 | 0 | 0.107394 | 1 | 0.021127 | false | 0 | 0.017606 | 0 | 0.038732 | 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 |
5a17fc07025061f8ac8765489243564db3ccf420 | 117 | py | Python | src/yolo_test.py | odigous-labs/video-summarization | c125bf9fa1016d76680d5e9389e4bdb0f83bc4fb | [
"MIT"
] | 1 | 2019-03-05T06:00:38.000Z | 2019-03-05T06:00:38.000Z | src/yolo_test.py | odigous-labs/video-summarization | c125bf9fa1016d76680d5e9389e4bdb0f83bc4fb | [
"MIT"
] | 2 | 2019-03-02T05:12:59.000Z | 2019-09-26T17:03:56.000Z | src/yolo_test.py | odigous-labs/video-summarization | c125bf9fa1016d76680d5e9389e4bdb0f83bc4fb | [
"MIT"
] | null | null | null | from yolo.model import YOLO
YOLO().predict("D:\Campus\FYP\\video-summarization\src\\test_data\generated_frames")
| 16.714286 | 84 | 0.769231 | 17 | 117 | 5.176471 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 117 | 6 | 85 | 19.5 | 0.814815 | 0 | 0 | 0 | 1 | 0 | 0.578947 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5a4248afa2bd0de8018657ff3447a40145e385c0 | 31 | py | Python | lldl/__init__.py | svenschultze/Lidar-Localization-DL | b30821767d1edacb9ff28f6575d6b20ac674d046 | [
"MIT"
] | 2 | 2021-10-24T01:05:22.000Z | 2022-01-03T10:52:45.000Z | lldl/__init__.py | svenschultze/Lidar-Localization-DL | b30821767d1edacb9ff28f6575d6b20ac674d046 | [
"MIT"
] | null | null | null | lldl/__init__.py | svenschultze/Lidar-Localization-DL | b30821767d1edacb9ff28f6575d6b20ac674d046 | [
"MIT"
] | null | null | null | from lldl import dataset, model | 31 | 31 | 0.83871 | 5 | 31 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 |
5a54624fca4655236fc65adf03e97dbb202623c4 | 174 | py | Python | amocrm_asterisk_ng/telephony/core/ami_manager/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | amocrm_asterisk_ng/telephony/core/ami_manager/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | amocrm_asterisk_ng/telephony/core/ami_manager/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | from .IAmiEventHandler import IAmiEventHandler
from .IAmiManager import IAmiManager
from .IAmiMessageConvertFunction import IAmiMessageConvertFunction
from .packets import *
| 34.8 | 66 | 0.87931 | 15 | 174 | 10.2 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 174 | 4 | 67 | 43.5 | 0.968354 | 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 |
5a68fe5cb031ca3af5dca0fb8334d69d30fd82dc | 10,050 | py | Python | api/tests/test_views.py | gilleshenrard/ikoab_elise_restful | 51b702b2f08306841e86a75f6d864058055ed085 | [
"MIT"
] | null | null | null | api/tests/test_views.py | gilleshenrard/ikoab_elise_restful | 51b702b2f08306841e86a75f6d864058055ed085 | [
"MIT"
] | 1 | 2018-02-15T21:51:21.000Z | 2018-02-15T21:51:21.000Z | api/tests/test_views.py | gilleshenrard/ikoab_elise_restful | 51b702b2f08306841e86a75f6d864058055ed085 | [
"MIT"
] | null | null | null | import json
from rest_framework import status
from django.test import TestCase, Client
from django.core.urlresolvers import reverse, NoReverseMatch
from ..models import Person
from ..serializers import PersonSerializer
# initialize the APIClient app
client = Client()
class MethodsTest(TestCase):
"""Test module fo... | 46.313364 | 216 | 0.645373 | 1,093 | 10,050 | 5.758463 | 0.137237 | 0.040515 | 0.030505 | 0.059898 | 0.838259 | 0.799015 | 0.781061 | 0.772005 | 0.76279 | 0.745472 | 0 | 0.047686 | 0.217512 | 10,050 | 217 | 217 | 46.313364 | 0.75267 | 0.041294 | 0 | 0.635838 | 0 | 0 | 0.215946 | 0.028452 | 0 | 0 | 0 | 0 | 0.104046 | 1 | 0.115607 | false | 0 | 0.034682 | 0 | 0.184971 | 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 |
ce5c37d9432bb1b5025c30debc484ad5093fe6ab | 24 | py | Python | extdocker/helpers/__init__.py | dtwardow/docker-py-helpers | 4d2592ca8103e940ff76ae91ccef8a937ce20ca1 | [
"MIT"
] | null | null | null | extdocker/helpers/__init__.py | dtwardow/docker-py-helpers | 4d2592ca8103e940ff76ae91ccef8a937ce20ca1 | [
"MIT"
] | null | null | null | extdocker/helpers/__init__.py | dtwardow/docker-py-helpers | 4d2592ca8103e940ff76ae91ccef8a937ce20ca1 | [
"MIT"
] | null | null | null | from .shhelper import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 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 |
cea3870d00f18482501917a447cab1f077fabea7 | 119 | py | Python | tests/sound.py | shiburizu/Eddienput | b2ce192090ba658641383af84c7f3e09920a7d83 | [
"MIT"
] | 91 | 2021-04-05T21:48:35.000Z | 2022-03-09T20:45:12.000Z | tests/sound.py | shiburizu/Eddienput | b2ce192090ba658641383af84c7f3e09920a7d83 | [
"MIT"
] | 7 | 2021-04-08T04:47:29.000Z | 2021-12-09T18:30:38.000Z | tests/sound.py | shiburizu/Eddienput | b2ce192090ba658641383af84c7f3e09920a7d83 | [
"MIT"
] | 10 | 2021-04-06T10:35:24.000Z | 2022-02-07T14:23:14.000Z | from playsound import playsound
playsound('zapsplat_technology_electronic_device_high_pitched_beep_tone_003_54697.mp3') | 59.5 | 87 | 0.92437 | 16 | 119 | 6.3125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 0.033613 | 119 | 2 | 87 | 59.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.616667 | 0.616667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0c97f2a4c979c2b7a4591208dba162c713f5161e | 176 | py | Python | parsley/tests/admin.py | blueyed/Django-parsley | 0f82e3475ab7b9caae023627c6a2987103b76cd2 | [
"BSD-3-Clause"
] | 208 | 2015-01-05T16:53:10.000Z | 2022-03-13T21:55:32.000Z | parsley/tests/admin.py | blueyed/Django-parsley | 0f82e3475ab7b9caae023627c6a2987103b76cd2 | [
"BSD-3-Clause"
] | 46 | 2015-01-09T08:17:04.000Z | 2022-02-16T21:06:59.000Z | parsley/tests/admin.py | blueyed/Django-parsley | 0f82e3475ab7b9caae023627c6a2987103b76cd2 | [
"BSD-3-Clause"
] | 58 | 2015-01-09T14:16:40.000Z | 2022-01-30T22:10:34.000Z | from django.contrib import admin
from parsley.mixins import ParsleyAdminMixin
from .models import Student
class StudentAdmin(ParsleyAdminMixin, admin.ModelAdmin):
pass
| 17.6 | 56 | 0.818182 | 20 | 176 | 7.2 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 176 | 9 | 57 | 19.555556 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0b90a8101c4fc852ae90395617595a6c01fce3c3 | 115 | py | Python | scripts/cleaning/process.py | jim-schwoebel/voiceome | 9af84a8568a7a0630992ec56be03521ff9547c68 | [
"Apache-2.0"
] | 11 | 2021-08-17T00:46:38.000Z | 2022-02-18T20:29:11.000Z | scripts/cleaning/process.py | jim-schwoebel/voiceome | 9af84a8568a7a0630992ec56be03521ff9547c68 | [
"Apache-2.0"
] | 1 | 2021-06-16T20:56:42.000Z | 2021-06-16T20:56:42.000Z | scripts/cleaning/process.py | jim-schwoebel/voiceome | 9af84a8568a7a0630992ec56be03521ff9547c68 | [
"Apache-2.0"
] | 1 | 2021-08-31T00:42:01.000Z | 2021-08-31T00:42:01.000Z | import os
os.system('python3 copy2.py')
os.system('python3 edit_json.py')
os.system('python3 featurize_data2.py') | 23 | 39 | 0.765217 | 19 | 115 | 4.526316 | 0.526316 | 0.27907 | 0.523256 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04717 | 0.078261 | 115 | 5 | 39 | 23 | 0.764151 | 0 | 0 | 0 | 0 | 0 | 0.534483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b9ce430eb42a89e217035da0f54748837cbd9c4 | 67 | py | Python | AtCoder/ABC/000-159/ABC137_A.py | sireline/PyCode | 8578467710c3c1faa89499f5d732507f5d9a584c | [
"MIT"
] | null | null | null | AtCoder/ABC/000-159/ABC137_A.py | sireline/PyCode | 8578467710c3c1faa89499f5d732507f5d9a584c | [
"MIT"
] | null | null | null | AtCoder/ABC/000-159/ABC137_A.py | sireline/PyCode | 8578467710c3c1faa89499f5d732507f5d9a584c | [
"MIT"
] | null | null | null | A, B = [int(n) for n in input().split()]
print(max(A+B, A-B, A*B))
| 22.333333 | 40 | 0.537313 | 17 | 67 | 2.117647 | 0.588235 | 0.222222 | 0.166667 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 67 | 2 | 41 | 33.5 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
f0622214cb22b5d274669b48e706e71be10e8122 | 25 | py | Python | example2/polls/tests/__init__.py | beezz/django-admin2 | 4aec1a3836011cd46e5eb8b6375590bf5a76c044 | [
"BSD-3-Clause"
] | 1 | 2015-04-30T13:34:03.000Z | 2015-04-30T13:34:03.000Z | example2/polls/tests/__init__.py | taxido/django-admin2 | 6a6b3d5f790b8289b0dd0f9194d80799af8804dc | [
"BSD-3-Clause"
] | 1 | 2021-03-19T23:57:09.000Z | 2021-03-19T23:57:09.000Z | example2/polls/tests/__init__.py | RyanBalfanz/django-admin2 | e7f0611eea22370bb3418e25e9cd10ddbac4fd6d | [
"BSD-3-Clause"
] | null | null | null | from test_views import *
| 12.5 | 24 | 0.8 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 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 |
f06de4e50517aec47aa61be5d4e6ca6d2123db60 | 95 | py | Python | HW8/Olenka_M/double_char.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | null | null | null | HW8/Olenka_M/double_char.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | null | null | null | HW8/Olenka_M/double_char.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | 6 | 2022-02-22T22:30:49.000Z | 2022-03-28T12:51:19.000Z | def double_char(s: str) -> str:
return "".join(l*2 for l in s)
print(double_char("Hello")) | 23.75 | 34 | 0.642105 | 18 | 95 | 3.277778 | 0.722222 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.168421 | 95 | 4 | 35 | 23.75 | 0.734177 | 0 | 0 | 0 | 0 | 0 | 0.052083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f07ac9f7450a99e054a6e735ba73e5935ee2400e | 158 | py | Python | django/contrib/formtools/exceptions.py | PirosB3/django | 9b729ddd8f2040722971ccfb3b12f7d8162633d1 | [
"BSD-3-Clause"
] | 285 | 2019-12-23T09:50:21.000Z | 2021-12-08T09:08:49.000Z | django/contrib/formtools/exceptions.py | PirosB3/django | 9b729ddd8f2040722971ccfb3b12f7d8162633d1 | [
"BSD-3-Clause"
] | 18 | 2015-01-14T07:51:48.000Z | 2021-10-14T01:19:26.000Z | django/contrib/formtools/exceptions.py | PirosB3/django | 9b729ddd8f2040722971ccfb3b12f7d8162633d1 | [
"BSD-3-Clause"
] | 70 | 2015-01-01T00:33:24.000Z | 2021-12-10T03:43:07.000Z | from django.core.exceptions import SuspiciousOperation
class WizardViewCookieModified(SuspiciousOperation):
"""Signature of cookie modified"""
pass
| 22.571429 | 54 | 0.797468 | 14 | 158 | 9 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132911 | 158 | 6 | 55 | 26.333333 | 0.919708 | 0.177215 | 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 |
b2ba15167c8f36e6b5c0c60bbcb1100d23786c80 | 34 | py | Python | uniflex_mininet/__init__.py | uniflex/uniflex-mininet | bcf06a1b0b8daeb71ff1cbaf373c5aa883a47f27 | [
"MIT"
] | null | null | null | uniflex_mininet/__init__.py | uniflex/uniflex-mininet | bcf06a1b0b8daeb71ff1cbaf373c5aa883a47f27 | [
"MIT"
] | null | null | null | uniflex_mininet/__init__.py | uniflex/uniflex-mininet | bcf06a1b0b8daeb71ff1cbaf373c5aa883a47f27 | [
"MIT"
] | null | null | null | from .uniflex_mn_wrapper import *
| 17 | 33 | 0.823529 | 5 | 34 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 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 |
b2c0d4f77f940f9074096fe7aed9b9f65b813d16 | 24 | py | Python | swarm_ws/devel/lib/python2.7/dist-packages/swarm_center/srv/__init__.py | Wei-Fan/SJTU-swarm | 95b93fa020a5168f150c6430cbc25884e03c22db | [
"MIT"
] | 2 | 2019-03-23T03:03:13.000Z | 2019-10-07T08:21:46.000Z | swarm_ws/devel/lib/python2.7/dist-packages/swarm_center/srv/__init__.py | Wei-Fan/SJTU-swarm | 95b93fa020a5168f150c6430cbc25884e03c22db | [
"MIT"
] | null | null | null | swarm_ws/devel/lib/python2.7/dist-packages/swarm_center/srv/__init__.py | Wei-Fan/SJTU-swarm | 95b93fa020a5168f150c6430cbc25884e03c22db | [
"MIT"
] | null | null | null | from ._mCPPReq import *
| 12 | 23 | 0.75 | 3 | 24 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.85 | 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 |
b2f908942ffee190d6d824f8c40c2264ed3a0b0b | 1,854 | py | Python | Nicolaus.py | phy234/FirstTurtleSteps | 68e88606ee96fa26e4f0cdfcc90b3b76e1c2a005 | [
"Apache-2.0"
] | null | null | null | Nicolaus.py | phy234/FirstTurtleSteps | 68e88606ee96fa26e4f0cdfcc90b3b76e1c2a005 | [
"Apache-2.0"
] | null | null | null | Nicolaus.py | phy234/FirstTurtleSteps | 68e88606ee96fa26e4f0cdfcc90b3b76e1c2a005 | [
"Apache-2.0"
] | null | null | null | # Autor: Alexander Herbrich
# Wann: 09.02.16
# Thema: Turtle "Haus vom Nicolaus"
from turtle import *
def nicolaus ():
a = 1
i = 3
x = 0
pencolor("white")
lt(180)
fd(220)
rt(90)
fd(60)
rt(90)
pencolor("red")
lt(90)
fd(140)
lt(30)
fd(140)
lt(120)
fd(140)
... | 17.490566 | 35 | 0.313376 | 212 | 1,854 | 2.740566 | 0.207547 | 0.223752 | 0.168675 | 0.092943 | 0.648881 | 0.648881 | 0.648881 | 0.648881 | 0.626506 | 0.626506 | 0 | 0.297264 | 0.566343 | 1,854 | 105 | 36 | 17.657143 | 0.425373 | 0.039914 | 0 | 0.818182 | 0 | 0 | 0.013514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010101 | false | 0 | 0.010101 | 0 | 0.020202 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
650981bda71ea16184973a1b0ffe8da40c9e3ac4 | 45 | py | Python | link_tools/tests/__init__.py | davpayne/satcom-linkbudgets | 86ed441eb762aabb5608098f7b26163b6c80f1ea | [
"MIT"
] | null | null | null | link_tools/tests/__init__.py | davpayne/satcom-linkbudgets | 86ed441eb762aabb5608098f7b26163b6c80f1ea | [
"MIT"
] | null | null | null | link_tools/tests/__init__.py | davpayne/satcom-linkbudgets | 86ed441eb762aabb5608098f7b26163b6c80f1ea | [
"MIT"
] | null | null | null | from .test_conversions import TestERPConvert
| 22.5 | 44 | 0.888889 | 5 | 45 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
652bdb415e9ebbe981a95f8c5bc3367c44c61680 | 11,160 | py | Python | _apicheck/test/rules/test_rules_spec.py | sundayayandele/apicheck | ab91f567d67547b92b8e94824a29dcd5993b769e | [
"Apache-2.0"
] | null | null | null | _apicheck/test/rules/test_rules_spec.py | sundayayandele/apicheck | ab91f567d67547b92b8e94824a29dcd5993b769e | [
"Apache-2.0"
] | 3 | 2022-02-07T03:37:37.000Z | 2022-03-02T03:38:13.000Z | _apicheck/test/rules/test_rules_spec.py | sundayayandele/apicheck | ab91f567d67547b92b8e94824a29dcd5993b769e | [
"Apache-2.0"
] | 1 | 2021-07-18T15:01:22.000Z | 2021-07-18T15:01:22.000Z | import os
import json
import pytest
from apicheck.core.generator import AbsentValue
from apicheck.core.rules import rules_processor
def _test_ruleset(rules, res_in, expected):
proc = rules_processor(rules)
res = proc(res_in)
assert res is not None
if expected.__class__.__name__ != "dict":
re... | 22.729124 | 70 | 0.389695 | 875 | 11,160 | 4.786286 | 0.116571 | 0.060172 | 0.12894 | 0.12703 | 0.83787 | 0.792264 | 0.780325 | 0.758118 | 0.722302 | 0.691261 | 0 | 0.045107 | 0.449731 | 11,160 | 490 | 71 | 22.77551 | 0.636867 | 0 | 0 | 0.587719 | 0 | 0 | 0.283961 | 0.101971 | 0 | 0 | 0 | 0 | 0.006579 | 1 | 0.035088 | false | 0 | 0.010965 | 0 | 0.048246 | 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 |
65480e33102b390e6ef66a24bffe37a915b66f1b | 40 | py | Python | libs/__init__.py | IronWolf-K/nonebot_plugin_fr24 | f3752882598de54f41cd9b27456dd3b6f88971e2 | [
"MIT"
] | null | null | null | libs/__init__.py | IronWolf-K/nonebot_plugin_fr24 | f3752882598de54f41cd9b27456dd3b6f88971e2 | [
"MIT"
] | null | null | null | libs/__init__.py | IronWolf-K/nonebot_plugin_fr24 | f3752882598de54f41cd9b27456dd3b6f88971e2 | [
"MIT"
] | null | null | null | from . import info
from . import request | 20 | 21 | 0.775 | 6 | 40 | 5.166667 | 0.666667 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 21 | 20 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
33062dd6fc407378417f929a8a5860f840764ea5 | 488 | py | Python | resources/lib/soundcloud/api_interface.py | mr-pineapple-nz/kodi-addon-soundcloud | bea6161cc4e603260084755a845e3338091b0fec | [
"MIT"
] | 21 | 2019-04-13T12:06:19.000Z | 2022-03-15T00:04:43.000Z | resources/lib/soundcloud/api_interface.py | mr-pineapple-nz/kodi-addon-soundcloud | bea6161cc4e603260084755a845e3338091b0fec | [
"MIT"
] | 26 | 2019-04-20T17:13:27.000Z | 2022-03-15T09:54:36.000Z | resources/lib/soundcloud/api_interface.py | mr-pineapple-nz/kodi-addon-soundcloud | bea6161cc4e603260084755a845e3338091b0fec | [
"MIT"
] | 9 | 2019-04-21T10:42:52.000Z | 2021-06-16T05:27:27.000Z | from abc import ABCMeta, abstractmethod
class ApiInterface(metaclass=ABCMeta):
@abstractmethod
def search(self, query, kind): pass
@abstractmethod
def charts(self, filters): pass
@abstractmethod
def call(self, url): pass
@abstractmethod
def discover(self, selection): pass
@abst... | 19.52 | 42 | 0.696721 | 56 | 488 | 6 | 0.410714 | 0.354167 | 0.375 | 0.25 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219262 | 488 | 24 | 43 | 20.333333 | 0.88189 | 0 | 0 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4375 | false | 0.4375 | 0.0625 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
334b01560693fa5c72fabd9d7ae310d352f626cb | 99 | py | Python | bidsify/__init__.py | NILAB-UvA/bidsify | f7103ecf987e491499a52a55b435d1771a917b36 | [
"BSD-3-Clause"
] | 11 | 2019-07-22T12:46:00.000Z | 2021-09-01T08:56:41.000Z | bidsify/__init__.py | lukassnoek/BidsConverter | 95db2a19178375ffb09b46367b174d3fe13524e6 | [
"BSD-3-Clause"
] | 12 | 2019-10-07T19:46:15.000Z | 2022-03-28T07:16:42.000Z | bidsify/__init__.py | lukassnoek/BidsConverter | 95db2a19178375ffb09b46367b174d3fe13524e6 | [
"BSD-3-Clause"
] | 2 | 2019-07-22T12:46:01.000Z | 2020-08-11T15:15:43.000Z | from __future__ import absolute_import, division, print_function
from .main import bidsify # noqa
| 33 | 64 | 0.828283 | 13 | 99 | 5.846154 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 99 | 2 | 65 | 49.5 | 0.883721 | 0.040404 | 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 |
686474e8e1bde01295076ca7513fffd480513ded | 70 | py | Python | network/roca/modeling/retrieval_head/__init__.py | cangumeli/ROCA | 44a08859c12bf4fdac1b17d0bb6d7e0e9bc99bf3 | [
"MIT"
] | 15 | 2022-03-23T20:38:09.000Z | 2022-03-30T02:18:20.000Z | network/roca/modeling/retrieval_head/__init__.py | cangumeli/ROCA | 44a08859c12bf4fdac1b17d0bb6d7e0e9bc99bf3 | [
"MIT"
] | 1 | 2022-03-29T17:36:51.000Z | 2022-03-30T18:31:37.000Z | network/roca/modeling/retrieval_head/__init__.py | cangumeli/ROCA | 44a08859c12bf4fdac1b17d0bb6d7e0e9bc99bf3 | [
"MIT"
] | 1 | 2022-03-29T12:58:41.000Z | 2022-03-29T12:58:41.000Z | from roca.modeling.retrieval_head.retrieval_head import RetrievalHead
| 35 | 69 | 0.9 | 9 | 70 | 6.777778 | 0.777778 | 0.42623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 70 | 1 | 70 | 70 | 0.924242 | 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 |
68a51b82fe0b27afdba07b327351f5f95654ca02 | 319 | py | Python | catalyst/contrib/models/cv/segmentation/decoder/__init__.py | gr33n-made/catalyst | bd413abc908ef7cbdeab42b0e805277a791e3ddb | [
"Apache-2.0"
] | 4 | 2019-12-14T07:27:09.000Z | 2021-03-23T14:34:37.000Z | catalyst/contrib/models/cv/segmentation/decoder/__init__.py | gr33n-made/catalyst | bd413abc908ef7cbdeab42b0e805277a791e3ddb | [
"Apache-2.0"
] | 1 | 2021-01-07T16:13:45.000Z | 2021-01-21T09:27:54.000Z | catalyst/contrib/models/cv/segmentation/decoder/__init__.py | gr33n-made/catalyst | bd413abc908ef7cbdeab42b0e805277a791e3ddb | [
"Apache-2.0"
] | 1 | 2020-12-02T18:42:31.000Z | 2020-12-02T18:42:31.000Z | # flake8: noqa
from catalyst.contrib.models.cv.segmentation.decoder.core import DecoderSpec
from catalyst.contrib.models.cv.segmentation.decoder.fpn import FPNDecoder
from catalyst.contrib.models.cv.segmentation.decoder.psp import PSPDecoder
from catalyst.contrib.models.cv.segmentation.decoder.unet import UNetDecoder
| 53.166667 | 76 | 0.858934 | 42 | 319 | 6.52381 | 0.428571 | 0.175182 | 0.277372 | 0.364964 | 0.671533 | 0.671533 | 0.671533 | 0 | 0 | 0 | 0 | 0.003333 | 0.059561 | 319 | 5 | 77 | 63.8 | 0.91 | 0.037618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d7ab95e9f864bb60b9147696a4c2759f566be6e5 | 968 | py | Python | iriusrisk-python-client-lib/test/test_control_command_standards.py | iriusrisk/iriusrisk-python-client-lib | 4912706cd1e5c0bc555dbc7da02fb64cbeab3b18 | [
"Apache-2.0"
] | null | null | null | iriusrisk-python-client-lib/test/test_control_command_standards.py | iriusrisk/iriusrisk-python-client-lib | 4912706cd1e5c0bc555dbc7da02fb64cbeab3b18 | [
"Apache-2.0"
] | null | null | null | iriusrisk-python-client-lib/test/test_control_command_standards.py | iriusrisk/iriusrisk-python-client-lib | 4912706cd1e5c0bc555dbc7da02fb64cbeab3b18 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
IriusRisk API
Products API # noqa: E501
OpenAPI spec version: 1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import iriusrisk_python_client_lib
from iriusrisk_python_client_lib.models.control_... | 23.609756 | 118 | 0.737603 | 104 | 968 | 6.586538 | 0.557692 | 0.087591 | 0.122628 | 0.140146 | 0.20146 | 0.154745 | 0.154745 | 0.154745 | 0 | 0 | 0 | 0.014013 | 0.18905 | 968 | 40 | 119 | 24.2 | 0.858599 | 0.418388 | 0 | 0.214286 | 1 | 0 | 0.015355 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d7cf411a5b579a786066b8740a6e1dba02f7ca3f | 285 | py | Python | src/voice/__init__.py | sribich/twitchTransFreeNext | 7a3cf83ef3d9fdd100ac7780ef37b86d477575be | [
"MIT"
] | null | null | null | src/voice/__init__.py | sribich/twitchTransFreeNext | 7a3cf83ef3d9fdd100ac7780ef37b86d477575be | [
"MIT"
] | null | null | null | src/voice/__init__.py | sribich/twitchTransFreeNext | 7a3cf83ef3d9fdd100ac7780ef37b86d477575be | [
"MIT"
] | null | null | null | class AudioSource(object):
def __init__(self):
raise NotImplementedError("method not implemented")
def __enter__(self):
raise NotImplementedError("method not implemented")
def __exit__(self):
raise NotImplementedError("method not implemented") | 31.666667 | 59 | 0.701754 | 27 | 285 | 6.962963 | 0.481481 | 0.143617 | 0.446809 | 0.542553 | 0.797872 | 0.797872 | 0.542553 | 0 | 0 | 0 | 0 | 0 | 0.214035 | 285 | 9 | 60 | 31.666667 | 0.839286 | 0 | 0 | 0.428571 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d7fb7d2adfbd8af6f9103f605c99ae052dab4d07 | 147 | py | Python | comm/ntlmrelayx/servers/__init__.py | Ridter/GhostPotato | bdd395f08646ddd1eac17c0c5513e528d3703a44 | [
"MIT"
] | 53 | 2019-11-22T02:24:16.000Z | 2022-01-23T21:48:37.000Z | comm/ntlmrelayx/servers/__init__.py | Ridter/GhostPotato | bdd395f08646ddd1eac17c0c5513e528d3703a44 | [
"MIT"
] | null | null | null | comm/ntlmrelayx/servers/__init__.py | Ridter/GhostPotato | bdd395f08646ddd1eac17c0c5513e528d3703a44 | [
"MIT"
] | 8 | 2019-11-22T17:44:09.000Z | 2022-01-10T00:57:56.000Z | from comm.ntlmrelayx.servers.httprelayserver import HTTPRelayServer
from impacket.examples.ntlmrelayx.servers.smbrelayserver import SMBRelayServer
| 49 | 78 | 0.897959 | 15 | 147 | 8.8 | 0.6 | 0.257576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054422 | 147 | 2 | 79 | 73.5 | 0.94964 | 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 |
cc04658c5ac6f0041979c0f6017c797f93dd7fec | 146 | py | Python | src/deep_dialog/usersims/__init__.py | AtmaHou/UserSimulator | 0322b7c725f771ea1f5b517c72e15e3436cb8d22 | [
"MIT"
] | 3 | 2020-12-16T08:19:00.000Z | 2022-01-11T05:40:15.000Z | src/deep_dialog/usersims/__init__.py | AtmaHou/UserSimulator | 0322b7c725f771ea1f5b517c72e15e3436cb8d22 | [
"MIT"
] | null | null | null | src/deep_dialog/usersims/__init__.py | AtmaHou/UserSimulator | 0322b7c725f771ea1f5b517c72e15e3436cb8d22 | [
"MIT"
] | 1 | 2020-12-18T00:03:12.000Z | 2020-12-18T00:03:12.000Z | from .usersim_rule import *
from .action_generation import *
from .nn_models import *
from .usersim_supervise import *
from .prepare_data import * | 29.2 | 32 | 0.80137 | 20 | 146 | 5.6 | 0.55 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130137 | 146 | 5 | 33 | 29.2 | 0.88189 | 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 |
0bc424f4b74ecec7d67662858d3d99895cae0370 | 420 | py | Python | pytracer/reflection/bdf/__init__.py | zjiayao/pyTracer | c2b4ef299ecbdca1c519059488f7cd2438943ee4 | [
"MIT"
] | 9 | 2017-11-20T18:17:27.000Z | 2022-01-27T23:00:31.000Z | pytracer/reflection/bdf/__init__.py | zjiayao/pyTracer | c2b4ef299ecbdca1c519059488f7cd2438943ee4 | [
"MIT"
] | 4 | 2021-06-08T19:03:51.000Z | 2022-03-11T23:18:44.000Z | pytracer/reflection/bdf/__init__.py | zjiayao/pyTracer | c2b4ef299ecbdca1c519059488f7cd2438943ee4 | [
"MIT"
] | 1 | 2017-11-20T22:48:01.000Z | 2017-11-20T22:48:01.000Z | """
__init__.py
pytracer.reflection.bdf package
Model bidirectional distribution functions.
- BDF
- BSDF
Created by Jiayao on Aug 2, 2017
"""
from __future__ import absolute_import
from pytracer.reflection.bdf.bdf import *
from pytracer.reflection.bdf.measured import *
from pytracer.reflection.bdf.fresnelblend imp... | 24.705882 | 50 | 0.807143 | 54 | 420 | 6.111111 | 0.481481 | 0.327273 | 0.381818 | 0.424242 | 0.469697 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013441 | 0.114286 | 420 | 17 | 51 | 24.705882 | 0.873656 | 0.361905 | 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 | 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 |
0bd85bcc5aa22d59d86daa6a7a7b35b502e0e0c4 | 190 | py | Python | autofit/graphical/expectation_propagation/__init__.py | rhayes777/AutoFit | f5d769755b85a6188ec1736d0d754f27321c2f06 | [
"MIT"
] | null | null | null | autofit/graphical/expectation_propagation/__init__.py | rhayes777/AutoFit | f5d769755b85a6188ec1736d0d754f27321c2f06 | [
"MIT"
] | null | null | null | autofit/graphical/expectation_propagation/__init__.py | rhayes777/AutoFit | f5d769755b85a6188ec1736d0d754f27321c2f06 | [
"MIT"
] | null | null | null | from .ep_mean_field import EPMeanField
from .history import FactorHistory, EPHistory
from .optimiser import AbstractFactorOptimiser
from .optimiser import EPOptimiser, StochasticEPOptimiser
| 38 | 57 | 0.873684 | 20 | 190 | 8.2 | 0.65 | 0.158537 | 0.231707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 190 | 4 | 58 | 47.5 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
04259fa4e6805ba6dd56a208a3906366eae48497 | 175 | py | Python | benchmark/commitlintbasic/thrift/run.py | jviotti/binary-json-size-benchmark | a515dfd05736204fb36d3571a6a6b17e5f6e4916 | [
"Apache-2.0"
] | 2 | 2022-01-14T06:09:26.000Z | 2022-02-04T02:13:03.000Z | benchmark/commitlintbasic/thrift/run.py | jviotti/binary-json-size-benchmark | a515dfd05736204fb36d3571a6a6b17e5f6e4916 | [
"Apache-2.0"
] | null | null | null | benchmark/commitlintbasic/thrift/run.py | jviotti/binary-json-size-benchmark | a515dfd05736204fb36d3571a6a6b17e5f6e4916 | [
"Apache-2.0"
] | null | null | null | def encode(json, schema):
payload = schema.Main()
payload.defaultIgnores = json['defaultIgnores']
return payload
def decode(payload):
return payload.__dict__
| 21.875 | 51 | 0.714286 | 19 | 175 | 6.368421 | 0.526316 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182857 | 175 | 7 | 52 | 25 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f086f94a40a68ede726fc1e89a382be80d693f80 | 148 | py | Python | tests/java/org/python/indexer/data/pkg/misc/m3.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 577 | 2020-06-04T16:34:44.000Z | 2022-03-31T11:46:07.000Z | tests/java/org/python/indexer/data/pkg/misc/m3.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 174 | 2015-01-08T20:37:09.000Z | 2020-06-03T16:48:59.000Z | tests/java/org/python/indexer/data/pkg/misc/m3.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 162 | 2015-02-07T02:14:38.000Z | 2020-05-30T16:42:03.000Z | # test in python shell with execfile after loading m2
# >>> execfile("/abs/path/to/this/m3.py")
import m2
print "m2.distutils: %s" % m2.distutils
| 21.142857 | 53 | 0.702703 | 24 | 148 | 4.333333 | 0.791667 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039683 | 0.148649 | 148 | 6 | 54 | 24.666667 | 0.785714 | 0.614865 | 0 | 0 | 0 | 0 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
0b0439baa4e7e49fea88466f1147d7a61df86236 | 10,059 | py | Python | esphome/components/dsmr/sensor.py | OttoWinter/esphomeyaml | 6a85259e4d6d1b0a0f819688b8e555efcb99ecb0 | [
"MIT"
] | 249 | 2018-04-07T12:04:11.000Z | 2019-01-25T01:11:34.000Z | esphome/components/dsmr/sensor.py | OttoWinter/esphomeyaml | 6a85259e4d6d1b0a0f819688b8e555efcb99ecb0 | [
"MIT"
] | 243 | 2018-04-11T16:37:11.000Z | 2019-01-25T16:50:37.000Z | esphome/components/dsmr/sensor.py | OttoWinter/esphomeyaml | 6a85259e4d6d1b0a0f819688b8e555efcb99ecb0 | [
"MIT"
] | 40 | 2018-04-10T05:50:14.000Z | 2019-01-25T15:20:36.000Z | import esphome.codegen as cg
import esphome.config_validation as cv
from esphome.components import sensor
from esphome.const import (
CONF_ID,
DEVICE_CLASS_CURRENT,
DEVICE_CLASS_ENERGY,
DEVICE_CLASS_GAS,
DEVICE_CLASS_POWER,
DEVICE_CLASS_VOLTAGE,
STATE_CLASS_MEASUREMENT,
STATE_CLASS_TOTAL... | 38.688462 | 79 | 0.650263 | 1,078 | 10,059 | 5.602041 | 0.093692 | 0.102666 | 0.125186 | 0.116576 | 0.868521 | 0.854281 | 0.854281 | 0.854281 | 0.847988 | 0.81901 | 0 | 0.009548 | 0.2712 | 10,059 | 259 | 80 | 38.837838 | 0.814214 | 0 | 0 | 0.666667 | 0 | 0 | 0.086191 | 0.04752 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.02381 | 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 |
0b0a22e24ad17b6ede40c2ff7841c181e8c59505 | 36 | py | Python | software/jetson/jetson-containers/ArduCAM_USB_Camera_Shield/RaspberryPi/Python/External_trigger_demo/arducam_config_parser/__init__.py | abstractguy/TSO_project | 1130e6fb081d1486ff15339a9757c46a927a2965 | [
"BSD-2-Clause"
] | 1 | 2021-06-06T14:12:32.000Z | 2021-06-06T14:12:32.000Z | software/jetson/jetson-containers/ArduCAM_USB_Camera_Shield/Nvidia_Jetson/Python/Streaming_demo/arducam_config_parser/__init__.py | abstractguy/TSO_project | 1130e6fb081d1486ff15339a9757c46a927a2965 | [
"BSD-2-Clause"
] | 6 | 2021-04-06T12:35:34.000Z | 2022-03-12T00:58:16.000Z | software/jetson/jetson-containers/ArduCAM_USB_Camera_Shield/ROS/arducam_usb2_ros/src/arducam_config_parser/__init__.py | abstractguy/TSO_project | 1130e6fb081d1486ff15339a9757c46a927a2965 | [
"BSD-2-Clause"
] | 2 | 2020-03-05T00:09:48.000Z | 2021-06-03T20:06:03.000Z | from .arducam_config_parser import * | 36 | 36 | 0.861111 | 5 | 36 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.878788 | 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 |
0b15752cd1632421a915fda459b6684bbe327895 | 3,530 | py | Python | symphoni-api/tests/test_playlist_api.py | tylersuchan/symphoni-fork | 9b12a17d6562f5c94e17c840b0ea4af1f74d4a08 | [
"Apache-2.0"
] | null | null | null | symphoni-api/tests/test_playlist_api.py | tylersuchan/symphoni-fork | 9b12a17d6562f5c94e17c840b0ea4af1f74d4a08 | [
"Apache-2.0"
] | null | null | null | symphoni-api/tests/test_playlist_api.py | tylersuchan/symphoni-fork | 9b12a17d6562f5c94e17c840b0ea4af1f74d4a08 | [
"Apache-2.0"
] | null | null | null | import requests
import unittest
import json
from set_up_party import TestData
class TestPlaylistAPI(unittest.TestCase):
def test_get_party_playlist(self):
code = TestData.code
party = requests.get('http://localhost:5000/party/'+code+'/playlist')
assert party.json()['playlist'] is not []
... | 40.574713 | 143 | 0.648725 | 432 | 3,530 | 5.194444 | 0.127315 | 0.104278 | 0.136364 | 0.176471 | 0.837344 | 0.825312 | 0.787879 | 0.746881 | 0.672014 | 0.648396 | 0 | 0.037565 | 0.185552 | 3,530 | 86 | 144 | 41.046512 | 0.742957 | 0 | 0 | 0.539683 | 0 | 0 | 0.311898 | 0.036261 | 0 | 0 | 0 | 0 | 0.15873 | 1 | 0.15873 | false | 0 | 0.063492 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9be797d4024fc48d5033b77cf5fd9e54081ee860 | 153 | py | Python | network-testing/old-2018-stream/tests_2018/conftest.py | caputomarcos/network-programmability-stream | 95a988dd71879f90f348a30ddab4f0b6071fec8b | [
"MIT"
] | 120 | 2018-08-13T14:11:36.000Z | 2022-01-31T01:13:22.000Z | network-testing/old-2018-stream/tests_2018/conftest.py | caputomarcos/network-programmability-stream | 95a988dd71879f90f348a30ddab4f0b6071fec8b | [
"MIT"
] | 5 | 2019-11-28T05:21:43.000Z | 2021-04-10T21:50:07.000Z | network-testing/old-2018-stream/tests_2018/conftest.py | caputomarcos/network-programmability-stream | 95a988dd71879f90f348a30ddab4f0b6071fec8b | [
"MIT"
] | 43 | 2018-08-21T15:49:05.000Z | 2022-02-10T08:24:54.000Z | import pytest
from nornir import InitNornir
@pytest.fixture(scope="session", autouse=True)
def nr():
return InitNornir(config_file="config.yaml")
| 17 | 48 | 0.75817 | 20 | 153 | 5.75 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124183 | 153 | 8 | 49 | 19.125 | 0.858209 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 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 |
502d24917d069dc9e91b02cde58cc79e7e36d36e | 57 | py | Python | HelloWorld/packages/ecommerce/shipping.py | lazywithcrazyness/PythonForBeginners | 7667d16e4f0fd0f4e659e65ab7482f5a40fa5c5c | [
"MIT"
] | null | null | null | HelloWorld/packages/ecommerce/shipping.py | lazywithcrazyness/PythonForBeginners | 7667d16e4f0fd0f4e659e65ab7482f5a40fa5c5c | [
"MIT"
] | null | null | null | HelloWorld/packages/ecommerce/shipping.py | lazywithcrazyness/PythonForBeginners | 7667d16e4f0fd0f4e659e65ab7482f5a40fa5c5c | [
"MIT"
] | null | null | null | def calc_shipping_cost():
print("cal_shipping_cost")
| 19 | 30 | 0.754386 | 8 | 57 | 4.875 | 0.75 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 57 | 2 | 31 | 28.5 | 0.78 | 0 | 0 | 0 | 0 | 0 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
503cb44ce2cfb4bf5e115019e0ef2d3fbef28da7 | 20,981 | py | Python | image_synthesis.py | pranshu-mandal/MKID_Data_Analysis_Pipeline | 58482266d3c932972e515f28dd5a73fdf217f2f2 | [
"Apache-2.0"
] | null | null | null | image_synthesis.py | pranshu-mandal/MKID_Data_Analysis_Pipeline | 58482266d3c932972e515f28dd5a73fdf217f2f2 | [
"Apache-2.0"
] | null | null | null | image_synthesis.py | pranshu-mandal/MKID_Data_Analysis_Pipeline | 58482266d3c932972e515f28dd5a73fdf217f2f2 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
from astropy.wcs import WCS
import cygrid
# self made python files
import param
import imaging
Param = param.Param.copy()
class SingleMKIDmapper():
def map(self, data, pixel, settings):
"""meant to perform a check on the settings parameters, and if any... | 38.42674 | 177 | 0.586435 | 2,479 | 20,981 | 4.793062 | 0.132715 | 0.031476 | 0.023565 | 0.030635 | 0.764939 | 0.762919 | 0.748359 | 0.748359 | 0.734304 | 0.72614 | 0 | 0.015794 | 0.308946 | 20,981 | 546 | 178 | 38.42674 | 0.803711 | 0.255183 | 0 | 0.711409 | 0 | 0.013423 | 0.106302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043624 | false | 0.010067 | 0.050336 | 0 | 0.134228 | 0.067114 | 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 |
acb53a60bab4fc982d4daa5548f034dd6e469827 | 6,670 | py | Python | lib/utilities.py | jcasmer/grow_control_backend- | 6a18a137e0a16138607413925727d7e5f8486777 | [
"BSD-3-Clause"
] | 1 | 2019-05-11T14:45:47.000Z | 2019-05-11T14:45:47.000Z | lib/utilities.py | jcasmer/grow_control_backend- | 6a18a137e0a16138607413925727d7e5f8486777 | [
"BSD-3-Clause"
] | 6 | 2021-03-18T20:45:02.000Z | 2021-09-22T17:41:38.000Z | lib/utilities.py | jcasmer/grow_control_backend- | 6a18a137e0a16138607413925727d7e5f8486777 | [
"BSD-3-Clause"
] | null | null | null | import pandas
import math
from django.conf import settings
from api.models import TypeDiagnostic
class Utilites():
def get_oms_data(gender, char_type, data_lenght):
'''
function set the data to oms chart
'''
file_name = None
if gender == 'Femenino':
... | 46.319444 | 142 | 0.52009 | 803 | 6,670 | 4.031133 | 0.139477 | 0.098239 | 0.163732 | 0.176089 | 0.808156 | 0.764597 | 0.732777 | 0.726908 | 0.712697 | 0.505715 | 0 | 0.019915 | 0.367616 | 6,670 | 144 | 143 | 46.319444 | 0.747511 | 0.021439 | 0 | 0.52459 | 0 | 0 | 0.077045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016393 | false | 0.02459 | 0.032787 | 0 | 0.07377 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
accbc1d25d5a96df410f7cf912c5b35808ff2e11 | 319 | py | Python | pages/themes/beginners/unicodeTopics/examples/i_in_cp1251.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | pages/themes/beginners/unicodeTopics/examples/i_in_cp1251.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | pages/themes/beginners/unicodeTopics/examples/i_in_cp1251.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | t1 = 'А'.encode('cp1251').decode('cp1251')
t2 = 'З'.encode('cp1251').decode('cp1251')
t3 = 'Ж'.encode('cp1251').decode('cp1251')
t4 = 'И'.encode('cp1251').decode('cp1251')
t5 = 'Й'.encode('cp1251').decode('cp1251')
t6 = 'К'.encode('cp1251').decode('cp1251')
print(t1)
print(t2)
print(t3)
print(t4)
print(t5)
print(t6)
| 22.785714 | 42 | 0.639498 | 48 | 319 | 4.25 | 0.333333 | 0.352941 | 0.529412 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 0.07837 | 319 | 13 | 43 | 24.538462 | 0.489796 | 0 | 0 | 0 | 0 | 0 | 0.244514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
acf1ad4c8b45b059a0f8dd5718b01dd57b16e84c | 141 | py | Python | setup.py | iilei/identify | d82b4a26cfb2512d4bf4e1be4d18c0bba6887448 | [
"MIT"
] | 1 | 2020-11-20T12:22:25.000Z | 2020-11-20T12:22:25.000Z | setup.py | iilei/identify | d82b4a26cfb2512d4bf4e1be4d18c0bba6887448 | [
"MIT"
] | 3 | 2020-11-20T14:40:17.000Z | 2020-11-27T00:57:50.000Z | setup.py | iilei/identify | d82b4a26cfb2512d4bf4e1be4d18c0bba6887448 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import unicode_literals
from setuptools import setup
setup()
| 20.142857 | 39 | 0.787234 | 18 | 141 | 5.611111 | 0.611111 | 0.19802 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.134752 | 141 | 6 | 40 | 23.5 | 0.819672 | 0.148936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c583ac1768c90a31e73ae09ffd4ebecbf44c4710 | 9,321 | py | Python | asv_bench/benchmarks/io_sql.py | raspbian-packages/pandas | fb33806b5286deb327b2e0fa96aedf25a6ed563f | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause"
] | null | null | null | asv_bench/benchmarks/io_sql.py | raspbian-packages/pandas | fb33806b5286deb327b2e0fa96aedf25a6ed563f | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause"
] | null | null | null | asv_bench/benchmarks/io_sql.py | raspbian-packages/pandas | fb33806b5286deb327b2e0fa96aedf25a6ed563f | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause"
] | null | null | null | import sqlalchemy
from .pandas_vb_common import *
import sqlite3
from sqlalchemy import create_engine
class sql_datetime_read_and_parse_sqlalchemy(object):
goal_time = 0.2
def setup(self):
self.engine = create_engine('sqlite:///:memory:')
self.con = sqlite3.connect(':memory:')
self.df... | 43.152778 | 204 | 0.647785 | 1,258 | 9,321 | 4.598569 | 0.062798 | 0.05497 | 0.059637 | 0.038894 | 0.960415 | 0.933103 | 0.920657 | 0.876923 | 0.8586 | 0.835091 | 0 | 0.06947 | 0.17069 | 9,321 | 215 | 205 | 43.353488 | 0.678913 | 0 | 0 | 0.683871 | 0 | 0 | 0.175196 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.193548 | false | 0 | 0.025806 | 0 | 0.412903 | 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 |
c59b4b2420d61abe80da33c99501a3483d076a25 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/distutils/command/egg_info.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/distutils/command/egg_info.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/distutils/command/egg_info.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/8b/e6/64/e2c7ed2b970c4154368ea4b14cca5523e818c97375ebea794ef9a35117 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5e270a2ac6021eccfae8f7ce4739e9861389c76 | 141 | py | Python | pyperclip/main.py | jonathan-JIPSlok/DataScience | 44fa44fdef8d4bd4d60d94179ec2d7a78babcc06 | [
"MIT"
] | 1 | 2021-10-09T10:04:39.000Z | 2021-10-09T10:04:39.000Z | pyperclip/main.py | jonathan-JIPSlok/DataScience | 44fa44fdef8d4bd4d60d94179ec2d7a78babcc06 | [
"MIT"
] | null | null | null | pyperclip/main.py | jonathan-JIPSlok/DataScience | 44fa44fdef8d4bd4d60d94179ec2d7a78babcc06 | [
"MIT"
] | null | null | null | import pyperclip
pyperclip.copy("Hello Word") #manda para o clipboard ou seja ele copia
pyperclip.paste() #lê do clipboard ou seja ele cola | 28.2 | 70 | 0.780142 | 23 | 141 | 4.782609 | 0.73913 | 0.2 | 0.272727 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 141 | 5 | 71 | 28.2 | 0.916667 | 0.510638 | 0 | 0 | 0 | 0 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c5ea6039b08e1a45c1058db7599ca563405f7fb4 | 11,450 | py | Python | datahub/sql/apis/routes/label_studio/storage_router.py | Chronicles-of-AI/osiris | c71b1324ed270caa3724c0a8c58c4883b28dc19c | [
"Apache-2.0"
] | 3 | 2021-08-03T08:13:40.000Z | 2022-02-23T04:27:30.000Z | datahub/sql/apis/routes/label_studio/storage_router.py | Chronicles-of-AI/osiris | c71b1324ed270caa3724c0a8c58c4883b28dc19c | [
"Apache-2.0"
] | null | null | null | datahub/sql/apis/routes/label_studio/storage_router.py | Chronicles-of-AI/osiris | c71b1324ed270caa3724c0a8c58c4883b28dc19c | [
"Apache-2.0"
] | null | null | null | from fastapi import APIRouter, Depends, HTTPException, status
from sql.apis.schemas.requests.label_studio.storage_request import (
CreateStorage,
Storage,
CreateGCSStorage,
)
from sql.apis.schemas.responses.label_studio.storage_response import (
CreateGCSStorageResponse,
CreateStorageResponse,
S... | 36.349206 | 101 | 0.670393 | 1,182 | 11,450 | 6.305415 | 0.094755 | 0.056085 | 0.040789 | 0.022541 | 0.837381 | 0.82128 | 0.777405 | 0.729371 | 0.718905 | 0.676104 | 0 | 0.007177 | 0.245502 | 11,450 | 314 | 102 | 36.464968 | 0.855539 | 0 | 0 | 0.530928 | 0 | 0 | 0.208174 | 0.109451 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.010309 | 0.036082 | 0 | 0.07732 | 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 |
a84553250c9833af105f0b08f99c09f348b6a3ff | 10,206 | py | Python | unit/test_check_cluster_issues.py | tarantool/ansible-cartridge | 14d86752d582f43f0d8efb27dbaa1175ff6e8ac2 | [
"BSD-2-Clause"
] | 17 | 2019-09-02T15:31:56.000Z | 2022-03-29T18:49:59.000Z | unit/test_check_cluster_issues.py | tarantool/ansible-cartridge | 14d86752d582f43f0d8efb27dbaa1175ff6e8ac2 | [
"BSD-2-Clause"
] | 171 | 2019-10-24T15:34:34.000Z | 2022-03-29T09:18:46.000Z | unit/test_check_cluster_issues.py | tarantool/ansible-cartridge | 14d86752d582f43f0d8efb27dbaa1175ff6e8ac2 | [
"BSD-2-Clause"
] | 14 | 2019-12-23T08:27:06.000Z | 2021-07-06T15:53:49.000Z | import sys
import unittest
from parameterized import parameterized
import module_utils.helpers as helpers
from unit.instance import Instance
sys.modules['ansible.module_utils.helpers'] = helpers
from library.cartridge_check_cluster_issues import check_cluster_issues
ISSUES_WARN_HEADER = '* Issues (warning): *******... | 35.4375 | 104 | 0.563492 | 1,079 | 10,206 | 5.15848 | 0.087118 | 0.070068 | 0.091628 | 0.064678 | 0.790155 | 0.779734 | 0.767876 | 0.761948 | 0.754761 | 0.754761 | 0 | 0.011172 | 0.307172 | 10,206 | 287 | 105 | 35.560976 | 0.775986 | 0.007937 | 0 | 0.748936 | 0 | 0 | 0.250148 | 0.018284 | 0 | 0 | 0 | 0 | 0.157447 | 1 | 0.038298 | false | 0 | 0.025532 | 0.004255 | 0.076596 | 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 |
a85b9d3bed035ecb38304b3459691af9ef35002f | 96 | py | Python | venv/lib/python3.8/site-packages/platformdirs/__main__.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/platformdirs/__main__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/platformdirs/__main__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/f2/ea/5f/6dbfe0b664fe9208423b4ddc552749f56d64320375b6c78faebe008484 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8603a196a09b730a3f72796704e1762578f5e6c | 220 | py | Python | general/utilTF1/__init__.py | duennbart/masterthesis_VAE | 1a161bc5c234acc0a021d84cde8cd69e784174e1 | [
"BSD-3-Clause"
] | 14 | 2020-06-28T15:38:48.000Z | 2021-12-05T01:49:50.000Z | general/utilTF1/__init__.py | duennbart/masterthesis_VAE | 1a161bc5c234acc0a021d84cde8cd69e784174e1 | [
"BSD-3-Clause"
] | null | null | null | general/utilTF1/__init__.py | duennbart/masterthesis_VAE | 1a161bc5c234acc0a021d84cde8cd69e784174e1 | [
"BSD-3-Clause"
] | 3 | 2020-06-28T15:38:49.000Z | 2022-02-13T22:04:34.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from general.utilTF1.utils import *
from general.utilTF1.dataset import *
from general.utilTF1.models import *
| 31.428571 | 38 | 0.85 | 29 | 220 | 5.965517 | 0.413793 | 0.17341 | 0.277457 | 0.277457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015306 | 0.109091 | 220 | 6 | 39 | 36.666667 | 0.867347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.166667 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a89f2d81c2c117e46addf780d6175b5e99edea67 | 52 | py | Python | tests/test_nested_import/thp_io/pyotherside/nested/__init__.py | medxchange/pyotherside | 0414fb9cfa3176324774a0bde9e9cb14fc1d6f89 | [
"0BSD"
] | 291 | 2015-01-02T23:10:23.000Z | 2022-03-28T08:13:10.000Z | tests/test_nested_import/thp_io/pyotherside/nested/__init__.py | medxchange/pyotherside | 0414fb9cfa3176324774a0bde9e9cb14fc1d6f89 | [
"0BSD"
] | 89 | 2015-01-02T08:10:07.000Z | 2021-11-17T17:49:50.000Z | tests/test_nested_import/thp_io/pyotherside/nested/__init__.py | medxchange/pyotherside | 0414fb9cfa3176324774a0bde9e9cb14fc1d6f89 | [
"0BSD"
] | 46 | 2015-02-10T16:21:29.000Z | 2021-12-27T13:55:05.000Z | def info():
return 'This is the nested package'
| 17.333333 | 39 | 0.673077 | 8 | 52 | 4.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 52 | 2 | 40 | 26 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 |
765187babe6e89b313e198dab2d6ad4e0c12fff1 | 25 | py | Python | tracking perfomance UI/sample.py | marksikaundi/Web-Development-Students-Projects | 43a85c1cda407ae4903ef2e17d027ca3ac4aee8a | [
"MIT"
] | 2 | 2022-01-20T00:31:29.000Z | 2022-01-24T15:46:33.000Z | tracking perfomance UI/sample.py | marksikaundi/Web-Development-Students-Projects | 43a85c1cda407ae4903ef2e17d027ca3ac4aee8a | [
"MIT"
] | null | null | null | tracking perfomance UI/sample.py | marksikaundi/Web-Development-Students-Projects | 43a85c1cda407ae4903ef2e17d027ca3ac4aee8a | [
"MIT"
] | null | null | null | print("this just a demo") | 25 | 25 | 0.72 | 5 | 25 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.818182 | 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 |
766a1629e318674a28faad84701ab1b261623815 | 27,556 | py | Python | test_backtest_pkg/test_portfolio.py | andyhu4023/backtest_pkg | 00f57244307a740245c6419c8a52cb07e80f171a | [
"MIT"
] | 3 | 2020-04-22T09:27:33.000Z | 2021-02-04T14:55:13.000Z | test_backtest_pkg/test_portfolio.py | andyhu4023/backtest_pkg | 00f57244307a740245c6419c8a52cb07e80f171a | [
"MIT"
] | 1 | 2021-02-04T14:54:06.000Z | 2021-02-04T14:54:06.000Z | test_backtest_pkg/test_portfolio.py | andyhu4023/backtest_pkg | 00f57244307a740245c6419c8a52cb07e80f171a | [
"MIT"
] | 1 | 2021-12-18T10:03:13.000Z | 2021-12-18T10:03:13.000Z | import unittest
from pandas.util.testing import assert_frame_equal, assert_series_equal
import backtest_pkg as bt
import pandas as pd
import numpy as np
from math import sqrt, log, sin, pi
from IPython import display
def cal_std(data):
if len(data)<=1:
return np.nan
data_mean = sum(data)/len(data)
... | 51.992453 | 187 | 0.667368 | 3,886 | 27,556 | 4.463201 | 0.056613 | 0.053275 | 0.049297 | 0.036324 | 0.844442 | 0.798086 | 0.771737 | 0.743427 | 0.724862 | 0.704566 | 0 | 0.022095 | 0.206706 | 27,556 | 529 | 188 | 52.090737 | 0.771317 | 0.054906 | 0 | 0.569652 | 0 | 0 | 0.039394 | 0 | 0 | 0 | 0 | 0 | 0.199005 | 1 | 0.052239 | false | 0 | 0.019901 | 0.002488 | 0.08209 | 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 |
76b3592450d345441aef9d9ab6fd2ab17db40ad2 | 186 | py | Python | TensorMap/tensor/Tensor.py | social-learning/pylearn | dfa751fe2db2859c83e8616f25ae5ba28293d6c2 | [
"MIT"
] | 2 | 2020-10-19T04:23:29.000Z | 2021-05-09T18:19:38.000Z | TensorMap/tensor/Tensor.py | social-learning/pylearn | dfa751fe2db2859c83e8616f25ae5ba28293d6c2 | [
"MIT"
] | null | null | null | TensorMap/tensor/Tensor.py | social-learning/pylearn | dfa751fe2db2859c83e8616f25ae5ba28293d6c2 | [
"MIT"
] | null | null | null | import numpy as np
def my_transpose(m:list) -> list:
return [[m[j][i] for j in range(len(m))] for i in range(len(m[0]))]
def numpy_transpose(m:list) -> list:
return np.array(m) | 26.571429 | 71 | 0.645161 | 37 | 186 | 3.189189 | 0.486486 | 0.169492 | 0.237288 | 0.305085 | 0.40678 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.177419 | 186 | 7 | 72 | 26.571429 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4f46fa0cb6c3c8d07212ecacc9a4f621c1542f00 | 153 | py | Python | dynaconf/contrib/__init__.py | dmsimard/dynaconf | ec394ab07e3b522879c8be678c65ebeb05fc2b59 | [
"MIT"
] | null | null | null | dynaconf/contrib/__init__.py | dmsimard/dynaconf | ec394ab07e3b522879c8be678c65ebeb05fc2b59 | [
"MIT"
] | null | null | null | dynaconf/contrib/__init__.py | dmsimard/dynaconf | ec394ab07e3b522879c8be678c65ebeb05fc2b59 | [
"MIT"
] | null | null | null | from dynaconf.contrib.flask_dynaconf import FlaskDynaconf, DynaconfConfig # noqa
from dynaconf.contrib.django_dynaconf_v2 import DjangoDynaconf # noqa
| 51 | 81 | 0.856209 | 18 | 153 | 7.111111 | 0.611111 | 0.1875 | 0.296875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.098039 | 153 | 2 | 82 | 76.5 | 0.92029 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 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 |
4f662085e537344b4b15c549f6e7be68776e6057 | 37 | py | Python | mogwai/optim/__init__.py | joshim5/mogwai | 917fe5b2dea9c3adc3a3d1dfe41ae33c3ae86f55 | [
"BSD-3-Clause"
] | 24 | 2020-11-20T19:10:23.000Z | 2022-03-13T13:26:56.000Z | mogwai/optim/__init__.py | joshim5/mogwai | 917fe5b2dea9c3adc3a3d1dfe41ae33c3ae86f55 | [
"BSD-3-Clause"
] | 10 | 2020-10-21T21:42:14.000Z | 2020-11-18T07:57:30.000Z | mogwai/optim/__init__.py | joshim5/mogwai | 917fe5b2dea9c3adc3a3d1dfe41ae33c3ae86f55 | [
"BSD-3-Clause"
] | 7 | 2020-12-27T00:44:18.000Z | 2021-11-07T05:16:49.000Z | from .gremlin_adam import GremlinAdam | 37 | 37 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.941176 | 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 |
4f8a959c343f4a65cbdfd7d298ab0e7346aadc6f | 11,799 | py | Python | Tools/LyTestTools/ly_test_tools/o3de/ini_configuration_util.py | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 11 | 2021-07-08T09:58:26.000Z | 2022-03-17T17:59:26.000Z | Tools/LyTestTools/ly_test_tools/o3de/ini_configuration_util.py | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 29 | 2021-07-06T19:33:52.000Z | 2022-03-22T10:27:49.000Z | Tools/LyTestTools/ly_test_tools/o3de/ini_configuration_util.py | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 4 | 2021-07-06T19:24:43.000Z | 2022-03-31T12:42:27.000Z | """
Copyright (c) Contributors to the Open 3D Engine Project.
For complete copyright and license terms please see the LICENSE at the root of this distribution.
SPDX-License-Identifier: Apache-2.0 OR MIT
Small library of functions to manipulate ini configuration files.
Please see INI Specification for in depth explana... | 35.646526 | 119 | 0.668531 | 1,657 | 11,799 | 4.673506 | 0.076041 | 0.110021 | 0.083419 | 0.071023 | 0.912448 | 0.90328 | 0.889205 | 0.866219 | 0.81108 | 0.778926 | 0 | 0.005546 | 0.251208 | 11,799 | 330 | 120 | 35.754545 | 0.870968 | 0.374778 | 0 | 0.690476 | 0 | 0.031746 | 0.235857 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.111111 | false | 0 | 0.015873 | 0 | 0.174603 | 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 |
8c190620f198fa714ab6ce999ca7a5c053295fb3 | 1,344 | py | Python | lms/lms_app/views.py | Ney-Rocha/101018 | 25f50d99f875be61ba8b2d23ecb22a36c2475817 | [
"Apache-2.0"
] | null | null | null | lms/lms_app/views.py | Ney-Rocha/101018 | 25f50d99f875be61ba8b2d23ecb22a36c2475817 | [
"Apache-2.0"
] | null | null | null | lms/lms_app/views.py | Ney-Rocha/101018 | 25f50d99f875be61ba8b2d23ecb22a36c2475817 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from lms_app.models import Aluno
from lms_app.forms import AlunoForms
# Creado as viwes abaixo.
def Home(request):
return render(request, 'login.html', {})
def CadastrarUsuario(request):
return render(request, 'cadastrarUsuario.html', {})
def CursoDisciplina... | 25.846154 | 58 | 0.6875 | 141 | 1,344 | 6.539007 | 0.241135 | 0.211497 | 0.309111 | 0.422993 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174851 | 1,344 | 51 | 59 | 26.352941 | 0.83138 | 0.017113 | 0 | 0 | 0 | 0 | 0.185331 | 0.070189 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0.454545 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8c2e95fe850990432147248e5b95c1b5b802debf | 200 | py | Python | main/chapter_01_item_01.py | EverLookNeverSee/EfPy | 53d40d0207f2d2dbcae1de2e51172915e22b9155 | [
"MIT"
] | 1 | 2022-02-18T11:55:43.000Z | 2022-02-18T11:55:43.000Z | main/chapter_01_item_01.py | EverLookNeverSee/EffPy | 53d40d0207f2d2dbcae1de2e51172915e22b9155 | [
"MIT"
] | null | null | null | main/chapter_01_item_01.py | EverLookNeverSee/EffPy | 53d40d0207f2d2dbcae1de2e51172915e22b9155 | [
"MIT"
] | null | null | null | """
Chapter_01 - Item 01
Know which version of python you are using
"""
from sys import version, version_info
print(f"sys.version: {version}")
print(f"sys.version_info: {version_info}")
| 20 | 50 | 0.695 | 30 | 200 | 4.5 | 0.566667 | 0.244444 | 0.133333 | 0.237037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02454 | 0.185 | 200 | 9 | 51 | 22.222222 | 0.803681 | 0.335 | 0 | 0 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
8c34ccff37e777a019b8bd0fa3b4f4de4cbafb40 | 177 | py | Python | topics/zsh/install.py | serramatutu/dotfiles | 880a0450bb275f3e3c0cc9ebfb9f4fea53412e27 | [
"MIT"
] | 1 | 2020-04-12T05:04:36.000Z | 2020-04-12T05:04:36.000Z | topics/zsh/install.py | serramatutu/dotfiles | 880a0450bb275f3e3c0cc9ebfb9f4fea53412e27 | [
"MIT"
] | null | null | null | topics/zsh/install.py | serramatutu/dotfiles | 880a0450bb275f3e3c0cc9ebfb9f4fea53412e27 | [
"MIT"
] | null | null | null | from installer import apt, snap, sh
def requires():
return ['git']
def install():
apt('zsh')
sh('sh scripts/omz-install.sh', 'Oh My Zsh install')
snap('gotop') | 19.666667 | 56 | 0.621469 | 26 | 177 | 4.230769 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20904 | 177 | 9 | 57 | 19.666667 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.297753 | 0.123596 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0.142857 | 0.571429 | 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 |
4fc63cf1ac2c7154669073273de1cfcb46fbc0d2 | 32 | py | Python | pytrader/utils/__init__.py | wrieg123/pytrader | 9463f37d8eeb8d3347126f8041d288237eabdeee | [
"MIT"
] | 1 | 2021-03-30T21:01:15.000Z | 2021-03-30T21:01:15.000Z | pytrader/utils/__init__.py | wrieg123/pytrader | 9463f37d8eeb8d3347126f8041d288237eabdeee | [
"MIT"
] | null | null | null | pytrader/utils/__init__.py | wrieg123/pytrader | 9463f37d8eeb8d3347126f8041d288237eabdeee | [
"MIT"
] | 2 | 2021-11-09T23:05:45.000Z | 2022-01-03T11:23:40.000Z | from .svconfig import Connector
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
4fe736d1dac4d8d53ae8738733c619351d917cf7 | 11,312 | py | Python | tests/test_entry_points.py | Seabreg/androguard | eef97351c661fecd1de05644943a862850aeb9af | [
"Apache-2.0"
] | null | null | null | tests/test_entry_points.py | Seabreg/androguard | eef97351c661fecd1de05644943a862850aeb9af | [
"Apache-2.0"
] | null | null | null | tests/test_entry_points.py | Seabreg/androguard | eef97351c661fecd1de05644943a862850aeb9af | [
"Apache-2.0"
] | 1 | 2019-12-18T02:26:50.000Z | 2019-12-18T02:26:50.000Z | # -*- coding: utf-8 -*-
# core modules
from pkg_resources import resource_filename
from tempfile import mkstemp, mkdtemp
import os
import shutil
import unittest
# 3rd party modules
from click.testing import CliRunner
# internal modules
from androguard.cli import entry_points
class EntryPointsTest(unittest.TestCase... | 42.052045 | 79 | 0.569395 | 1,163 | 11,312 | 5.27945 | 0.084265 | 0.053746 | 0.085016 | 0.108632 | 0.9 | 0.896743 | 0.878339 | 0.878339 | 0.822964 | 0.803746 | 0 | 0.005987 | 0.32081 | 11,312 | 268 | 80 | 42.208955 | 0.79318 | 0.009282 | 0 | 0.685841 | 0 | 0 | 0.121908 | 0.047155 | 0 | 0 | 0 | 0 | 0.128319 | 1 | 0.128319 | false | 0 | 0.030973 | 0 | 0.163717 | 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 |
4fe7553aa3c57b0e9d18c16878324cadf6ffe741 | 106 | py | Python | pythonProject1/venv/Lib/site-packages/tkinter_fonts_viewer/__init__.py | mjtomlinson/CNE330_Python_1_Final_Project | 05020806860937ef37b9a0ad2e27de4897a606de | [
"CC0-1.0"
] | 3 | 2020-09-13T20:22:47.000Z | 2021-09-15T18:23:02.000Z | pythonProject1/venv/Lib/site-packages/tkinter_fonts_viewer/__init__.py | mjtomlinson/CNE330_Python_1_Final_Project | 05020806860937ef37b9a0ad2e27de4897a606de | [
"CC0-1.0"
] | null | null | null | pythonProject1/venv/Lib/site-packages/tkinter_fonts_viewer/__init__.py | mjtomlinson/CNE330_Python_1_Final_Project | 05020806860937ef37b9a0ad2e27de4897a606de | [
"CC0-1.0"
] | null | null | null | from .tkinter_fonts_viewer import static_file_path, fonts_type, viewer, FontsMonoCheck, TkinterFontsViewer | 106 | 106 | 0.886792 | 13 | 106 | 6.846154 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066038 | 106 | 1 | 106 | 106 | 0.89899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b0ac48e4989fbad00f1c265fc316f9a05273a97 | 306 | py | Python | src/classifier/__init__.py | William9923/IF4072-SentimentClassification | 5e22a6da418056955243c310bab0382e4683b781 | [
"MIT"
] | null | null | null | src/classifier/__init__.py | William9923/IF4072-SentimentClassification | 5e22a6da418056955243c310bab0382e4683b781 | [
"MIT"
] | null | null | null | src/classifier/__init__.py | William9923/IF4072-SentimentClassification | 5e22a6da418056955243c310bab0382e4683b781 | [
"MIT"
] | null | null | null | from src.classifier.impl.baseline import LSTMClf
from src.classifier.impl.bert import FineTuneBertClf
from src.classifier.impl.lgbm import LGBMClf
from src.classifier.impl.naive import NaiveBayesClf
from src.classifier.interface import IClassifier
from src.classifier.impl.roberta import FineTuneRobertaClf | 51 | 58 | 0.869281 | 41 | 306 | 6.487805 | 0.414634 | 0.157895 | 0.383459 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075163 | 306 | 6 | 58 | 51 | 0.939929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b0dbff1101680ac735de0b170802cda86676939 | 13,513 | py | Python | tests/corpus/io/test_tatoeba.py | manuel3265/Audiomate | 76292142b585a75ec6fdf96ce1063e3d05ba3887 | [
"MIT"
] | null | null | null | tests/corpus/io/test_tatoeba.py | manuel3265/Audiomate | 76292142b585a75ec6fdf96ce1063e3d05ba3887 | [
"MIT"
] | null | null | null | tests/corpus/io/test_tatoeba.py | manuel3265/Audiomate | 76292142b585a75ec6fdf96ce1063e3d05ba3887 | [
"MIT"
] | null | null | null | import os
import pytest
import requests_mock
from audiomate import corpus
from audiomate import issuers
from audiomate.corpus import io
from audiomate.corpus.io import tatoeba
from tests import resources
from . import reader_test as rt
@pytest.fixture()
def sample_audio_list_path():
return resources.get_resour... | 47.91844 | 115 | 0.644861 | 1,764 | 13,513 | 4.763605 | 0.106576 | 0.038558 | 0.035702 | 0.039986 | 0.857313 | 0.836963 | 0.798405 | 0.78472 | 0.73807 | 0.711651 | 0 | 0.048774 | 0.206468 | 13,513 | 281 | 116 | 48.088968 | 0.734869 | 0 | 0 | 0.550926 | 0 | 0 | 0.21927 | 0.003848 | 0 | 0 | 0 | 0 | 0.263889 | 1 | 0.069444 | false | 0 | 0.041667 | 0.013889 | 0.199074 | 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 |
8b241633db6ac0f4af21c655bc5536c5eeb6fa81 | 46 | py | Python | trial.py | Fine-BITeam/Trial | 57df7567656805aae238e9b329e2c3caeb90e43c | [
"MIT"
] | null | null | null | trial.py | Fine-BITeam/Trial | 57df7567656805aae238e9b329e2c3caeb90e43c | [
"MIT"
] | null | null | null | trial.py | Fine-BITeam/Trial | 57df7567656805aae238e9b329e2c3caeb90e43c | [
"MIT"
] | null | null | null | print("Hello world")
print("Hello Fine Team")
| 15.333333 | 24 | 0.717391 | 7 | 46 | 4.714286 | 0.714286 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 2 | 25 | 23 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 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 |
8ca3925b9833c02e9f092c2e87720565052f5d47 | 194 | py | Python | hknweb/tutoring/admin.py | yuji3w/hknweb | 0df5369da28f46dc9016da97652cb6b8e2b7f3e6 | [
"MIT"
] | 3 | 2019-04-22T21:51:07.000Z | 2019-12-16T21:54:00.000Z | hknweb/tutoring/admin.py | yuji3w/hknweb | 0df5369da28f46dc9016da97652cb6b8e2b7f3e6 | [
"MIT"
] | null | null | null | hknweb/tutoring/admin.py | yuji3w/hknweb | 0df5369da28f46dc9016da97652cb6b8e2b7f3e6 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Course
from .models import Slot
from .models import Tutor
admin.site.register(Course)
admin.site.register(Slot)
admin.site.register(Tutor)
| 19.4 | 32 | 0.809278 | 29 | 194 | 5.413793 | 0.37931 | 0.191083 | 0.305732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108247 | 194 | 9 | 33 | 21.555556 | 0.907514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8cb668b54a15b51d1a9b66441250afdeb562657a | 126 | py | Python | Account/Token_Gen.py | nishanthjoelmj/Project-Class-Room | 624cabaf27e296f0f57f90918a5218d896053cd8 | [
"MIT"
] | 1 | 2021-06-05T08:45:48.000Z | 2021-06-05T08:45:48.000Z | Account/Token_Gen.py | nishanthjoelmj/Project-Class-Room | 624cabaf27e296f0f57f90918a5218d896053cd8 | [
"MIT"
] | null | null | null | Account/Token_Gen.py | nishanthjoelmj/Project-Class-Room | 624cabaf27e296f0f57f90918a5218d896053cd8 | [
"MIT"
] | null | null | null | from django.contrib.auth.tokens import PasswordResetTokenGenerator
class Token_maker (PasswordResetTokenGenerator) :
pass | 31.5 | 66 | 0.849206 | 12 | 126 | 8.833333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103175 | 126 | 4 | 67 | 31.5 | 0.938053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 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 |
8cb7f2d322de8d4b99426d168d653808a965d7ec | 1,331 | py | Python | src/sage/combinat/path_tableaux/catalog.py | UCD4IDS/sage | 43474c96d533fd396fe29fe0782d44dc7f5164f7 | [
"BSL-1.0"
] | 1,742 | 2015-01-04T07:06:13.000Z | 2022-03-30T11:32:52.000Z | src/sage/combinat/path_tableaux/catalog.py | UCD4IDS/sage | 43474c96d533fd396fe29fe0782d44dc7f5164f7 | [
"BSL-1.0"
] | 66 | 2015-03-19T19:17:24.000Z | 2022-03-16T11:59:30.000Z | src/sage/combinat/path_tableaux/catalog.py | UCD4IDS/sage | 43474c96d533fd396fe29fe0782d44dc7f5164f7 | [
"BSL-1.0"
] | 495 | 2015-01-10T10:23:18.000Z | 2022-03-24T22:06:11.000Z | r"""
Catalog of Path Tableaux
The ``path_tableaux`` object may be used to access examples of various path
tableau objects currently implemented in Sage. Using tab-completion on this
object is an easy way to discover and quickly create the path tableaux that
are available (as listed here).
Let ``<tab>`` indicate press... | 44.366667 | 111 | 0.802404 | 170 | 1,331 | 6.135294 | 0.382353 | 0.184084 | 0.168744 | 0.253116 | 0.539789 | 0.534995 | 0.2186 | 0 | 0 | 0 | 0 | 0 | 0.078137 | 1,331 | 29 | 112 | 45.896552 | 0.850041 | 0.673929 | 0 | 0 | 0 | 0 | 0.611765 | 0.465882 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5067a1f26f1e8342bec1fa5ad3d587b262bd4836 | 32 | py | Python | tests/unittests/http_functions/no_return_returns/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | tests/unittests/http_functions/no_return_returns/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | tests/unittests/http_functions/no_return_returns/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | 1 | 2018-04-22T18:03:52.000Z | 2018-04-22T18:03:52.000Z | def main(req):
return 'ABC'
| 10.666667 | 16 | 0.59375 | 5 | 32 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 32 | 2 | 17 | 16 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 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 |
50753117a3c06725e30fe7e3473c7ed0106d6516 | 49 | py | Python | run.py | udayansawant/River-Game | bc4355b6be88b00bc5ce3a0609afded5b968ad60 | [
"MIT"
] | null | null | null | run.py | udayansawant/River-Game | bc4355b6be88b00bc5ce3a0609afded5b968ad60 | [
"MIT"
] | null | null | null | run.py | udayansawant/River-Game | bc4355b6be88b00bc5ce3a0609afded5b968ad60 | [
"MIT"
] | null | null | null | import game_functionality
game_functionality() | 16.333333 | 26 | 0.857143 | 5 | 49 | 8 | 0.6 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 3 | 27 | 16.333333 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
50f806af09c7d35745257cd456f44ee252d7a6e6 | 32 | py | Python | day3/modules/solutions/exercise2/mod3.py | austind/pyplus-ons | f0fcd6b2a980f75968ab54cd2ae39b42c1f68302 | [
"Apache-2.0"
] | null | null | null | day3/modules/solutions/exercise2/mod3.py | austind/pyplus-ons | f0fcd6b2a980f75968ab54cd2ae39b42c1f68302 | [
"Apache-2.0"
] | null | null | null | day3/modules/solutions/exercise2/mod3.py | austind/pyplus-ons | f0fcd6b2a980f75968ab54cd2ae39b42c1f68302 | [
"Apache-2.0"
] | 5 | 2019-11-19T18:41:41.000Z | 2020-06-18T14:58:09.000Z | def func3():
print("func3")
| 10.666667 | 18 | 0.5625 | 4 | 32 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.21875 | 32 | 2 | 19 | 16 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0fc6796c08ede05c585020c1f75e4c334615476d | 105 | py | Python | src/__init__.py | kremayard/krema | f1272f9841367f190b093137ef3e66d870d915aa | [
"MIT"
] | 23 | 2021-07-19T14:22:43.000Z | 2022-01-13T02:35:43.000Z | src/__init__.py | kremayard/krema | f1272f9841367f190b093137ef3e66d870d915aa | [
"MIT"
] | 1 | 2021-07-23T15:09:37.000Z | 2021-07-23T15:12:10.000Z | src/__init__.py | kremayard/krema | f1272f9841367f190b093137ef3e66d870d915aa | [
"MIT"
] | 2 | 2021-07-26T11:09:08.000Z | 2021-08-28T12:12:19.000Z | from .models import *
from .utils import *
from .perms import *
from .embed import *
from .types import * | 21 | 21 | 0.72381 | 15 | 105 | 5.066667 | 0.466667 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180952 | 105 | 5 | 22 | 21 | 0.883721 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.