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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
719dfe0474b8ecd5fc17e742fde14046441220ad | 37 | py | Python | jesse/exchanges/__init__.py | noenfugler/jesse | 217a3168620a755c1a9576d9deb27105db7dccf8 | [
"MIT"
] | 3,999 | 2018-11-09T10:38:51.000Z | 2022-03-31T12:29:12.000Z | jesse/exchanges/__init__.py | noenfugler/jesse | 217a3168620a755c1a9576d9deb27105db7dccf8 | [
"MIT"
] | 172 | 2020-04-16T16:19:08.000Z | 2022-03-28T13:28:55.000Z | jesse/exchanges/__init__.py | noenfugler/jesse | 217a3168620a755c1a9576d9deb27105db7dccf8 | [
"MIT"
] | 495 | 2019-03-01T21:48:53.000Z | 2022-03-30T15:35:19.000Z | from .sandbox.Sandbox import Sandbox
| 18.5 | 36 | 0.837838 | 5 | 37 | 6.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
71b6541ce558469361644bfb59d7e23175c355db | 79 | py | Python | double_speed.py | astrofitz/tokyo | 78f1aa9b2ce78d453e403b8d00d685ecda5f3c51 | [
"BSD-3-Clause"
] | 16 | 2015-01-13T21:22:35.000Z | 2020-01-20T23:44:28.000Z | double_speed.py | astrofitz/tokyo | 78f1aa9b2ce78d453e403b8d00d685ecda5f3c51 | [
"BSD-3-Clause"
] | null | null | null | double_speed.py | astrofitz/tokyo | 78f1aa9b2ce78d453e403b8d00d685ecda5f3c51 | [
"BSD-3-Clause"
] | 3 | 2016-06-18T13:55:15.000Z | 2021-09-30T18:51:02.000Z | #!/usr/bin/env python
import double_speed # test runs automatically on import
| 19.75 | 55 | 0.78481 | 12 | 79 | 5.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 79 | 3 | 56 | 26.333333 | 0.897059 | 0.683544 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
71b799647d72fd3f2368a9d4748b53b9cb835706 | 163 | py | Python | 0_PythonFundamental/1_05_sequencelist.py | hnwarid/DQLabAcademy | e03d82f97536ae103b6abc65db0ae16520fb68c7 | [
"MIT"
] | null | null | null | 0_PythonFundamental/1_05_sequencelist.py | hnwarid/DQLabAcademy | e03d82f97536ae103b6abc65db0ae16520fb68c7 | [
"MIT"
] | null | null | null | 0_PythonFundamental/1_05_sequencelist.py | hnwarid/DQLabAcademy | e03d82f97536ae103b6abc65db0ae16520fb68c7 | [
"MIT"
] | null | null | null | contoh_list = [1, 'dua', 3, 4.0, 5]
print(contoh_list[0])
print(contoh_list[3])
contoh_list = [1, 'dua', 3, 4.0, 5]
contoh_list[3] = 'empat'
print(contoh_list[3])
| 23.285714 | 35 | 0.650307 | 32 | 163 | 3.125 | 0.3125 | 0.6 | 0.45 | 0.28 | 0.36 | 0.36 | 0.36 | 0.36 | 0 | 0 | 0 | 0.097902 | 0.122699 | 163 | 6 | 36 | 27.166667 | 0.601399 | 0 | 0 | 0.666667 | 0 | 0 | 0.067485 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e0c1afa1540a5ded49f6b3dd3da6d5ea56258a74 | 4,741 | py | Python | RL/model.py | namabilly/iLOCuS | 761fe4162a9fb551f43d887c3ae9d448c3cc8c14 | [
"MIT"
] | 7 | 2020-05-28T02:16:22.000Z | 2021-12-20T12:20:47.000Z | RL/model.py | namabilly/iLOCuS | 761fe4162a9fb551f43d887c3ae9d448c3cc8c14 | [
"MIT"
] | null | null | null | RL/model.py | namabilly/iLOCuS | 761fe4162a9fb551f43d887c3ae9d448c3cc8c14 | [
"MIT"
] | 2 | 2020-05-18T03:44:34.000Z | 2020-06-08T12:58:55.000Z | import tensorflow as tf
from keras.models import Model
from keras.layers import (Activation, Convolution2D, Dense, Flatten, Input, Dropout, Conv2DTranspose,
Lambda, Concatenate, Reshape, LeakyReLU, ReLU)
# def create_model(look_back_steps, input_shape, num_actions, model_name='q_network'):
# ... | 50.43617 | 115 | 0.581945 | 593 | 4,741 | 4.460371 | 0.158516 | 0.094518 | 0.079395 | 0.078639 | 0.757656 | 0.748204 | 0.73913 | 0.717958 | 0.717958 | 0.717958 | 0 | 0.061236 | 0.269774 | 4,741 | 93 | 116 | 50.978495 | 0.702773 | 0.697743 | 0 | 0.095238 | 0 | 0 | 0.020787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.142857 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e0d379c75ed381a84be78bd4567f368f6816e331 | 80 | py | Python | ConfigEnv/__init__.py | Nydareld/ConfigEnv | c4894d235d2f005b65fe2e5153d5acee2c7a65e4 | [
"MIT"
] | null | null | null | ConfigEnv/__init__.py | Nydareld/ConfigEnv | c4894d235d2f005b65fe2e5153d5acee2c7a65e4 | [
"MIT"
] | 3 | 2018-09-12T13:04:56.000Z | 2018-09-24T15:09:31.000Z | ConfigEnv/__init__.py | Nydareld/ConfigEnv | c4894d235d2f005b65fe2e5153d5acee2c7a65e4 | [
"MIT"
] | null | null | null | from .Config import Config
from .FileFormatException import FileFormatException
| 26.666667 | 52 | 0.875 | 8 | 80 | 8.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 53 | 40 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e0da801f48ca1480dad3542d71af51e5dccc22f7 | 68 | py | Python | models/stylegan2/__init__.py | Aitical/ADspeech2face | 2e811ff8cc7333729f4b77d1b1067296253e8e38 | [
"MIT"
] | 1 | 2022-01-27T14:19:04.000Z | 2022-01-27T14:19:04.000Z | models/stylegan2/__init__.py | Aitical/ADspeech2face | 2e811ff8cc7333729f4b77d1b1067296253e8e38 | [
"MIT"
] | null | null | null | models/stylegan2/__init__.py | Aitical/ADspeech2face | 2e811ff8cc7333729f4b77d1b1067296253e8e38 | [
"MIT"
] | null | null | null | from .model import Generator, Discriminator, EqualLinear, StyledConv | 68 | 68 | 0.852941 | 7 | 68 | 8.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 68 | 1 | 68 | 68 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e0e8b526de362112514227685ae4d9a26a9a2423 | 817 | py | Python | objectModel/Python/cdm/utilities/symbol_set.py | aaron-emde/CDM | 9472e9c7694821ac4a9bbe608557d2e65aabc73e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | objectModel/Python/cdm/utilities/symbol_set.py | aaron-emde/CDM | 9472e9c7694821ac4a9bbe608557d2e65aabc73e | [
"CC-BY-4.0",
"MIT"
] | 3 | 2021-05-11T23:57:12.000Z | 2021-08-04T05:03:05.000Z | objectModel/Python/cdm/utilities/symbol_set.py | aaron-emde/CDM | 9472e9c7694821ac4a9bbe608557d2e65aabc73e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | # ----------------------------------------------------------------------
# Copyright (c) Microsoft Corporation.
# All rights reserved.
# ----------------------------------------------------------------------
# TODO: Consider just inheriting from Python's set type -MPL
class SymbolSet:
def __init__(self):
... | 28.172414 | 84 | 0.567931 | 89 | 817 | 4.831461 | 0.438202 | 0.162791 | 0.211628 | 0.374419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188494 | 817 | 28 | 85 | 29.178571 | 0.648567 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
461623f42e3e08d7dbd58a3be3826f30ec7c47c1 | 96 | py | Python | Codewars/CorrectTheMistakesOfTheCharacterRecognitionSoftware.py | SelvorWhim/competitive | b9daaf21920d6f7669dc0c525e903949f4e33b62 | [
"Unlicense"
] | null | null | null | Codewars/CorrectTheMistakesOfTheCharacterRecognitionSoftware.py | SelvorWhim/competitive | b9daaf21920d6f7669dc0c525e903949f4e33b62 | [
"Unlicense"
] | null | null | null | Codewars/CorrectTheMistakesOfTheCharacterRecognitionSoftware.py | SelvorWhim/competitive | b9daaf21920d6f7669dc0c525e903949f4e33b62 | [
"Unlicense"
] | null | null | null | fix = {'5':'S', '0':'O', '1':'I'}
def correct(s):
return "".join(fix.get(c, c) for c in s)
| 19.2 | 44 | 0.46875 | 20 | 96 | 2.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 0.197917 | 96 | 4 | 45 | 24 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
4616c0fc536476a8c3ef78110e7722ed54a7dd53 | 37 | py | Python | hrm_api/ideas/factories/generators/__init__.py | unknowncoder05/HRM | 2a0ad62373fdaefafe533727b2d586d8f6327e87 | [
"MIT"
] | null | null | null | hrm_api/ideas/factories/generators/__init__.py | unknowncoder05/HRM | 2a0ad62373fdaefafe533727b2d586d8f6327e87 | [
"MIT"
] | null | null | null | hrm_api/ideas/factories/generators/__init__.py | unknowncoder05/HRM | 2a0ad62373fdaefafe533727b2d586d8f6327e87 | [
"MIT"
] | null | null | null | from .full_idea import idea_generator | 37 | 37 | 0.891892 | 6 | 37 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1cd9230c6f186974f61e9420f80ad9931b9775f9 | 2,367 | py | Python | tests/elements/cmake.py | gtristan/buildstream-plugins | 96206318b2cade5329a64b0f15b362ed57222086 | [
"Apache-2.0"
] | null | null | null | tests/elements/cmake.py | gtristan/buildstream-plugins | 96206318b2cade5329a64b0f15b362ed57222086 | [
"Apache-2.0"
] | null | null | null | tests/elements/cmake.py | gtristan/buildstream-plugins | 96206318b2cade5329a64b0f15b362ed57222086 | [
"Apache-2.0"
] | null | null | null | # Pylint doesn't play well with fixtures and dependency injection from pytest
# pylint: disable=redefined-outer-name
import os
import pytest
from buildstream._testing.runcli import cli_integration as cli # pylint: disable=unused-import
from buildstream._testing.integration import integration_cache # pylint: disable... | 31.986486 | 95 | 0.715674 | 304 | 2,367 | 5.427632 | 0.253289 | 0.06 | 0.043636 | 0.069091 | 0.746061 | 0.727273 | 0.710909 | 0.710909 | 0.710909 | 0.633333 | 0 | 0.003005 | 0.156316 | 2,367 | 73 | 96 | 32.424658 | 0.823235 | 0.072666 | 0 | 0.588235 | 0 | 0 | 0.165297 | 0.010046 | 0 | 0 | 0 | 0 | 0.196078 | 1 | 0.058824 | false | 0 | 0.117647 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1ced5beda187c06484e155a6fc3d30aeb0da289b | 746 | py | Python | src/study/190128_deco.py | jaeorin/Python | 366f84b96cfa0ae7dabf7fdfd48c18535997e2f4 | [
"MIT"
] | null | null | null | src/study/190128_deco.py | jaeorin/Python | 366f84b96cfa0ae7dabf7fdfd48c18535997e2f4 | [
"MIT"
] | null | null | null | src/study/190128_deco.py | jaeorin/Python | 366f84b96cfa0ae7dabf7fdfd48c18535997e2f4 | [
"MIT"
] | null | null | null | import datetime
def iot_function1():
print("==========================")
print(datetime.datetime.now())
print("iot function1 start")
print(datetime.datetime.now())
def iot_function2():
print("==========================")
print(datetime.datetime.now())
print("iot function2 start")
pri... | 20.722222 | 39 | 0.576408 | 74 | 746 | 5.702703 | 0.148649 | 0.246446 | 0.398104 | 0.454976 | 0.668246 | 0.599526 | 0.599526 | 0 | 0 | 0 | 0 | 0.018927 | 0.150134 | 746 | 35 | 40 | 21.314286 | 0.646688 | 0 | 0 | 0.48 | 0 | 0 | 0.241287 | 0.13941 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | true | 0 | 0.04 | 0 | 0.2 | 0.64 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
1cf09d0c61807312af38132e2c8f6110b6f6275b | 70 | py | Python | generator/__init__.py | milogert/bggrss | 37d32eb65747b3831346f93a4f6aabd666d81d78 | [
"MIT"
] | null | null | null | generator/__init__.py | milogert/bggrss | 37d32eb65747b3831346f93a4f6aabd666d81d78 | [
"MIT"
] | 106 | 2019-10-10T13:45:24.000Z | 2021-07-14T20:06:31.000Z | generator/__init__.py | milogert/bggrss | 37d32eb65747b3831346f93a4f6aabd666d81d78 | [
"MIT"
] | null | null | null | from generator import generator, renderer, bgg
print(dir(generator))
| 17.5 | 46 | 0.8 | 9 | 70 | 6.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 3 | 47 | 23.333333 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
1cf5d81fb72c6f948feb6d434533668969314651 | 131 | py | Python | src/django_cloudtask/urls.py | adamchainz/django-cloudtask | e9663c66cd96e7a633d119157fd9a7fa2ca0072a | [
"BSD-3-Clause"
] | 22 | 2020-12-27T14:32:38.000Z | 2022-02-06T20:33:14.000Z | src/django_cloudtask/urls.py | adamchainz/django-cloudtask | e9663c66cd96e7a633d119157fd9a7fa2ca0072a | [
"BSD-3-Clause"
] | 2 | 2020-11-03T00:45:12.000Z | 2020-12-28T23:36:05.000Z | src/django_cloudtask/urls.py | adamchainz/django-cloudtask | e9663c66cd96e7a633d119157fd9a7fa2ca0072a | [
"BSD-3-Clause"
] | 2 | 2020-12-27T11:15:20.000Z | 2021-06-04T13:50:21.000Z | from django.urls import path
from .views import execute_task
urlpatterns = [path("execute/", execute_task, name="task-execute")]
| 21.833333 | 67 | 0.763359 | 18 | 131 | 5.444444 | 0.555556 | 0.22449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114504 | 131 | 5 | 68 | 26.2 | 0.844828 | 0 | 0 | 0 | 0 | 0 | 0.152672 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e8017f9ba45ded6769d20b0867c9bff100ecc5f3 | 2,972 | py | Python | bspump/ipc/datagram.py | thatch/BitSwanPump | 98a5b8d09f9b59d5361611cee0bd45e7b4c69e3f | [
"BSD-3-Clause"
] | null | null | null | bspump/ipc/datagram.py | thatch/BitSwanPump | 98a5b8d09f9b59d5361611cee0bd45e7b4c69e3f | [
"BSD-3-Clause"
] | null | null | null | bspump/ipc/datagram.py | thatch/BitSwanPump | 98a5b8d09f9b59d5361611cee0bd45e7b4c69e3f | [
"BSD-3-Clause"
] | null | null | null | import asyncio
import logging
import socket
from ..abc.source import Source
from ..abc.sink import Sink
#
L = logging.getLogger(__name__)
#
class DatagramSource(Source):
ConfigDefaults = {
'address': '127.0.0.1:8888', # IPv4, IPv6 or unix socket path
'max_packet_size': 64 * 1024,
}
def __init__(self, app... | 26.774775 | 85 | 0.721063 | 409 | 2,972 | 5.107579 | 0.239609 | 0.110101 | 0.076592 | 0.099569 | 0.741024 | 0.741024 | 0.741024 | 0.741024 | 0.741024 | 0.741024 | 0 | 0.018927 | 0.146703 | 2,972 | 110 | 86 | 27.018182 | 0.804811 | 0.033984 | 0 | 0.567568 | 0 | 0 | 0.050628 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040541 | false | 0 | 0.067568 | 0 | 0.162162 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e8055095c827b1ba8ad9fa7faf22a6eaefca2e09 | 190 | py | Python | prettyqt/core/threadpool.py | phil65/PrettyQt | 26327670c46caa039c9bd15cb17a35ef5ad72e6c | [
"MIT"
] | 7 | 2019-05-01T01:34:36.000Z | 2022-03-08T02:24:14.000Z | prettyqt/core/threadpool.py | phil65/PrettyQt | 26327670c46caa039c9bd15cb17a35ef5ad72e6c | [
"MIT"
] | 141 | 2019-04-16T11:22:01.000Z | 2021-04-14T15:12:36.000Z | prettyqt/core/threadpool.py | phil65/PrettyQt | 26327670c46caa039c9bd15cb17a35ef5ad72e6c | [
"MIT"
] | 5 | 2019-04-17T11:48:19.000Z | 2021-11-21T10:30:19.000Z | from __future__ import annotations
from prettyqt import core
from prettyqt.qt import QtCore
QtCore.QThreadPool.__bases__ = (core.Object,)
class ThreadPool(QtCore.QThreadPool):
pass
| 15.833333 | 45 | 0.794737 | 23 | 190 | 6.217391 | 0.608696 | 0.167832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142105 | 190 | 11 | 46 | 17.272727 | 0.877301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
e82210520086ae774935b41c09d05a4cf9606970 | 138 | py | Python | omnipod/records/__init__.py | mattprintz/omnipod | 39aa16385ad7628821f77bfdd8b3bf629a1e389b | [
"MIT"
] | null | null | null | omnipod/records/__init__.py | mattprintz/omnipod | 39aa16385ad7628821f77bfdd8b3bf629a1e389b | [
"MIT"
] | null | null | null | omnipod/records/__init__.py | mattprintz/omnipod | 39aa16385ad7628821f77bfdd8b3bf629a1e389b | [
"MIT"
] | null | null | null | from .generic import IBFRecord, EEPromRecord
from .profiles import Profile
from .programs import BasalPrograms
from .log_records import *
| 27.6 | 44 | 0.833333 | 17 | 138 | 6.705882 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123188 | 138 | 4 | 45 | 34.5 | 0.942149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e8291e3d7e61068f49c8e9547e1b3c0d971ac309 | 180 | py | Python | src/mbed_tools/cli/__init__.py | rwalton-arm/mbed-tools | 131605540f4829116f977695a47dc10b3ac96450 | [
"Apache-2.0"
] | null | null | null | src/mbed_tools/cli/__init__.py | rwalton-arm/mbed-tools | 131605540f4829116f977695a47dc10b3ac96450 | [
"Apache-2.0"
] | null | null | null | src/mbed_tools/cli/__init__.py | rwalton-arm/mbed-tools | 131605540f4829116f977695a47dc10b3ac96450 | [
"Apache-2.0"
] | null | null | null | #
# Copyright (C) 2020 Arm Mbed. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
"""mbed_tools command line interface."""
from mbed_tools.cli.main import cli, LOGGER
| 22.5 | 51 | 0.738889 | 27 | 180 | 4.851852 | 0.851852 | 0.137405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.133333 | 180 | 7 | 52 | 25.714286 | 0.801282 | 0.672222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1c20d29499c60a956b35798816d9ad8b15b4a2bf | 1,354 | py | Python | tests/utils/test_anglecalculations.py | mfbehrens99/sailsim | 800d71ec966345b0819a28921e14deb141bb3a35 | [
"MIT"
] | 2 | 2021-01-13T13:31:41.000Z | 2022-03-10T10:17:29.000Z | tests/utils/test_anglecalculations.py | mfbehrens99/sailsim | 800d71ec966345b0819a28921e14deb141bb3a35 | [
"MIT"
] | 37 | 2021-01-08T07:49:01.000Z | 2022-02-08T22:22:50.000Z | tests/utils/test_anglecalculations.py | mfbehrens99/sailsim | 800d71ec966345b0819a28921e14deb141bb3a35 | [
"MIT"
] | 1 | 2021-01-03T15:07:29.000Z | 2021-01-03T15:07:29.000Z | """Test module sailsim.utils.anglecalculations."""
from pytest import approx
from math import pi
from sailsim.utils.anglecalculations import angleKeepInterval, directionKeepInterval
def testAngleKeepInterval():
assert angleKeepInterval( 0 + 0 * pi) == approx( 0)
assert angleKeepInterval( 0 + 2 * pi) == appr... | 42.3125 | 84 | 0.661004 | 159 | 1,354 | 5.628931 | 0.132075 | 0.169832 | 0.12067 | 0.134078 | 0.70838 | 0.70838 | 0.703911 | 0.689385 | 0.689385 | 0.689385 | 0 | 0.053953 | 0.206056 | 1,354 | 31 | 85 | 43.677419 | 0.778605 | 0.032496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.791667 | 1 | 0.083333 | true | 0 | 0.125 | 0 | 0.208333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1c68302ee3e8356fbf69ab8d745eb2e9280c9dad | 712 | py | Python | pycontrast/networks/SGCN/skeleton_meta.py | hongfz16/HCMoCo | 140968c66b72034ee2dff610a69be464d8e5866b | [
"MIT"
] | 28 | 2022-03-22T05:23:05.000Z | 2022-03-29T07:45:23.000Z | pycontrast/networks/SGCN/skeleton_meta.py | hongfz16/HCMoCo | 140968c66b72034ee2dff610a69be464d8e5866b | [
"MIT"
] | 1 | 2022-03-29T17:23:56.000Z | 2022-03-30T02:35:41.000Z | pycontrast/networks/SGCN/skeleton_meta.py | hongfz16/HCMoCo | 140968c66b72034ee2dff610a69be464d8e5866b | [
"MIT"
] | null | null | null | import numpy as np
class mpii_skeleton:
parents_data = [1, 2, 6, 6, 3, 4, -1, 6, 7, 8, 11, 12, 8, 8, 13, 14]
def parents():
return mpii_skeleton.parents_data
def num_joints():
return len(mpii_skeleton.parents_data)
class coco_reduce_skeleton:
# Reduce: 0 - r ankle, 1 - r knee, 2 - r ... | 29.666667 | 72 | 0.574438 | 118 | 712 | 3.322034 | 0.347458 | 0.168367 | 0.242347 | 0.17602 | 0.303571 | 0.204082 | 0.204082 | 0.204082 | 0 | 0 | 0 | 0.104839 | 0.303371 | 712 | 23 | 73 | 30.956522 | 0.685484 | 0.285112 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.076923 | 0.307692 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
98e1b0358fc99041b0229d9e2e9dfb62cf70c3a7 | 23 | py | Python | buildmimic/bigquery/mimic-iv-dummy-file2.py | briangow/mimic-iv | cd8288d4c20becc474a8661827013213d4e6447b | [
"MIT"
] | null | null | null | buildmimic/bigquery/mimic-iv-dummy-file2.py | briangow/mimic-iv | cd8288d4c20becc474a8661827013213d4e6447b | [
"MIT"
] | 61 | 2021-04-29T17:14:40.000Z | 2021-05-14T14:11:12.000Z | buildmimic/bigquery/mimic-iv-dummy-file2.py | briangow/mimic-iv | cd8288d4c20becc474a8661827013213d4e6447b | [
"MIT"
] | null | null | null | # MIMIC-IV dummy file 2 | 23 | 23 | 0.73913 | 5 | 23 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.173913 | 23 | 1 | 23 | 23 | 0.842105 | 0.913043 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
98e65d4e640969e84299b942c4a4c5c0b5b4a5e0 | 28,690 | py | Python | Quartz/QuartzCore/_metadata.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | Quartz/QuartzCore/_metadata.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | Quartz/QuartzCore/_metadata.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | # This file is generated by objective.metadata
#
# Last update: Sat Jul 22 14:57:27 2017
import objc, sys
if sys.maxsize > 2 ** 32:
def sel32or64(a, b): return b
else:
def sel32or64(a, b): return a
if sys.byteorder == 'little':
def littleOrBig(a, b): return a
else:
def littleOrBig(a, b): return b
mis... | 148.65285 | 7,012 | 0.727292 | 2,873 | 28,690 | 7.229377 | 0.249217 | 0.015407 | 0.013577 | 0.022244 | 0.422244 | 0.402648 | 0.353683 | 0.307896 | 0.230669 | 0.180982 | 0 | 0.016967 | 0.069397 | 28,690 | 192 | 7,013 | 149.427083 | 0.760965 | 0.003276 | 0 | 0.01087 | 1 | 0.021739 | 0.694659 | 0.476828 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021739 | false | 0 | 0.005435 | 0.021739 | 0.027174 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c705d9f52c3b02a03f542d80f95e1f26757cd546 | 270 | py | Python | main/tasks.py | nmota/public-contracts | b809df82147e5e4fa746416c0f9d51db2c6db05a | [
"BSD-3-Clause"
] | null | null | null | main/tasks.py | nmota/public-contracts | b809df82147e5e4fa746416c0f9d51db2c6db05a | [
"BSD-3-Clause"
] | null | null | null | main/tasks.py | nmota/public-contracts | b809df82147e5e4fa746416c0f9d51db2c6db05a | [
"BSD-3-Clause"
] | null | null | null | import django_rq
from django_rq import job
import contracts.tasks
import law.tasks
import deputies.tasks
@job
def update():
django_rq.enqueue(law.tasks.update)
django_rq.enqueue(contracts.tasks.update)
django_rq.enqueue(deputies.tasks.recompute_analysis)
| 19.285714 | 56 | 0.796296 | 39 | 270 | 5.358974 | 0.358974 | 0.191388 | 0.200957 | 0.301435 | 0.248804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 270 | 13 | 57 | 20.769231 | 0.881857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | true | 0 | 0.5 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c70f9bc9923fae8735cd90b24e72f574dc9bfd66 | 5,186 | py | Python | tools/Vitis-AI-Quantizer/vai_q_pytorch/nndct_shared/quantization/commander.py | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | 1 | 2022-02-17T22:13:23.000Z | 2022-02-17T22:13:23.000Z | tools/Vitis-AI-Quantizer/vai_q_pytorch/nndct_shared/quantization/commander.py | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | null | null | null | tools/Vitis-AI-Quantizer/vai_q_pytorch/nndct_shared/quantization/commander.py | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | null | null | null |
#
# Copyright 2019 Xilinx Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | 36.780142 | 78 | 0.722329 | 693 | 5,186 | 5.142857 | 0.242424 | 0.188272 | 0.260382 | 0.17284 | 0.497194 | 0.487093 | 0.487093 | 0.487093 | 0.487093 | 0.487093 | 0 | 0.003373 | 0.199576 | 5,186 | 140 | 79 | 37.042857 | 0.855216 | 0.14732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.358025 | false | 0 | 0.049383 | 0.320988 | 0.802469 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
c71504ccff0df55650d28a540ed98e6a02a69b48 | 522 | py | Python | pylxd/models/__init__.py | AdamIsrael/pylxd | d5d47a4d1185b4956e997d70e09d649ea73ba26b | [
"Apache-2.0"
] | null | null | null | pylxd/models/__init__.py | AdamIsrael/pylxd | d5d47a4d1185b4956e997d70e09d649ea73ba26b | [
"Apache-2.0"
] | null | null | null | pylxd/models/__init__.py | AdamIsrael/pylxd | d5d47a4d1185b4956e997d70e09d649ea73ba26b | [
"Apache-2.0"
] | null | null | null | from pylxd.models.cluster import (Cluster, ClusterMember) # NOQA
from pylxd.models.certificate import Certificate # NOQA
from pylxd.models.container import Container, Snapshot # NOQA
from pylxd.models.image import Image # NOQA
from pylxd.models.network import Network # NOQA
from pylxd.models.operation import Opera... | 40.153846 | 65 | 0.764368 | 65 | 522 | 6.123077 | 0.292308 | 0.180905 | 0.301508 | 0.334171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164751 | 522 | 12 | 66 | 43.5 | 0.912844 | 0.113027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c763243bff5f87a536413fe4f3fe2a9034e6aafb | 601 | py | Python | src/counter.py | lifelongjourney/pipeline | 93cc50fec3bdd77a5bbbbdd3d332dc00b0ab3020 | [
"Apache-2.0"
] | 1 | 2021-12-11T11:00:38.000Z | 2021-12-11T11:00:38.000Z | src/counter.py | lifelongjourney/pipeline | 93cc50fec3bdd77a5bbbbdd3d332dc00b0ab3020 | [
"Apache-2.0"
] | null | null | null | src/counter.py | lifelongjourney/pipeline | 93cc50fec3bdd77a5bbbbdd3d332dc00b0ab3020 | [
"Apache-2.0"
] | null | null | null | from multiprocessing import Value
class AtomicCounter(object):
def __init__(self, init_value=0):
self._val = Value('i', init_value)
def increase(self, incr=1):
with self._val.get_lock():
self._val.value += incr
return self._val.value
def decrease(self, decr=1):
... | 23.115385 | 42 | 0.592346 | 77 | 601 | 4.363636 | 0.298701 | 0.208333 | 0.214286 | 0.166667 | 0.410714 | 0.357143 | 0.184524 | 0.184524 | 0.184524 | 0 | 0 | 0.007109 | 0.297837 | 601 | 25 | 43 | 24.04 | 0.7891 | 0 | 0 | 0.421053 | 0 | 0 | 0.001664 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.052632 | 0.052632 | 0.578947 | 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 | 0 | 1 | 0 | 0 | 5 |
c77fd6f3f56c4caed16a281df0654ae13b5775af | 80 | py | Python | python/testData/paramInfo/StarredParamAndArg.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/paramInfo/StarredParamAndArg.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/paramInfo/StarredParamAndArg.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo(a, b, *c):
pass
x = (5,6)
foo(<arg1>1, <arg2>2, <arg3>4, <arg4>*x)
| 10 | 40 | 0.4875 | 18 | 80 | 2.166667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.2125 | 80 | 7 | 41 | 11.428571 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.25 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c7852ac36a7aaaa4fd8614c9117a8d39993e7df0 | 171 | py | Python | examples/hookiocli.py | Marak/hook.io-sdk-python | 722b04eb0832ef712d5dcd491899996088e1aa8b | [
"Unlicense"
] | 1 | 2021-06-15T11:52:44.000Z | 2021-06-15T11:52:44.000Z | examples/hookiocli.py | Marak/hook.io-sdk-python | 722b04eb0832ef712d5dcd491899996088e1aa8b | [
"Unlicense"
] | null | null | null | examples/hookiocli.py | Marak/hook.io-sdk-python | 722b04eb0832ef712d5dcd491899996088e1aa8b | [
"Unlicense"
] | null | null | null | import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.exit(load_entry_point('hookio', 'console_scripts', 'hookiocli')(sys.argv))
| 28.5 | 83 | 0.736842 | 24 | 171 | 4.708333 | 0.75 | 0.159292 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134503 | 171 | 5 | 84 | 34.2 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0.230303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c7e7310619d963b59af9cac2a3fe9f2a78da2b18 | 29,314 | py | Python | test/geometry/test_conversions.py | aardvarkkrill/kornia | e36ca3d15883a1dbbb0e7413719c0965a4b63cee | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | test/geometry/test_conversions.py | aardvarkkrill/kornia | e36ca3d15883a1dbbb0e7413719c0965a4b63cee | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | test/geometry/test_conversions.py | aardvarkkrill/kornia | e36ca3d15883a1dbbb0e7413719c0965a4b63cee | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-05-15T03:22:24.000Z | 2021-05-15T03:22:24.000Z | from typing import Optional
import pytest
import numpy as np
import kornia
from kornia.testing import tensor_to_gradcheck_var, create_eye_batch
import torch
from torch.autograd import gradcheck
from torch.testing import assert_allclose
# based on:
# https://github.com/ceres-solver/ceres-solver/blob/master/internal... | 39.774763 | 109 | 0.628505 | 3,780 | 29,314 | 4.685185 | 0.060317 | 0.091304 | 0.079673 | 0.103106 | 0.834783 | 0.795991 | 0.754602 | 0.735008 | 0.698814 | 0.683625 | 0 | 0.049195 | 0.241386 | 29,314 | 736 | 110 | 39.828804 | 0.74719 | 0.029269 | 0 | 0.694656 | 0 | 0 | 0.016214 | 0 | 0 | 0 | 0 | 0 | 0.141221 | 1 | 0.125954 | false | 0 | 0.015267 | 0.001908 | 0.166031 | 0.001908 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1be073c3ebc3f4f79057a2c497d86d3890899968 | 66 | py | Python | Chapter 02/ch2_40.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 02/ch2_40.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 02/ch2_40.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | import math
print(math.e)
# using print() to print the result | 16.5 | 36 | 0.69697 | 11 | 66 | 4.181818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 66 | 4 | 36 | 16.5 | 0.884615 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
1be22ac75a6adaf06ea62fc8b265976233de9447 | 17,216 | py | Python | test/test_chapter3.py | laikuaut/lang_100_knock | 359d68cd28cd453f1fe484c56b6381927f513c21 | [
"MIT"
] | null | null | null | test/test_chapter3.py | laikuaut/lang_100_knock | 359d68cd28cd453f1fe484c56b6381927f513c21 | [
"MIT"
] | null | null | null | test/test_chapter3.py | laikuaut/lang_100_knock | 359d68cd28cd453f1fe484c56b6381927f513c21 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
import unittest
import glob
from util import util
from nlp100.chapter3.Q020 import *
from nlp100.chapter3.Q021 import *
from nlp100.chapter3.Q022 import *
from nlp100.chapter3.Q023 import *
from nlp100.chapter3.Q024 import *
from nlp100.chapter3.Q025 import *
from nlp100.chapter3.... | 45.305263 | 341 | 0.475139 | 2,004 | 17,216 | 4.057884 | 0.226547 | 0.00664 | 0.015494 | 0.029513 | 0.78394 | 0.780005 | 0.776808 | 0.761313 | 0.74422 | 0.716675 | 0 | 0.069723 | 0.331029 | 17,216 | 379 | 342 | 45.424802 | 0.634801 | 0.001975 | 0 | 0.584022 | 0 | 0.041322 | 0.516123 | 0.12858 | 0 | 0 | 0 | 0 | 0.027548 | 1 | 0.027548 | false | 0 | 0.035813 | 0 | 0.066116 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
40009c62c55e2f2c0a2ff3eadb52ec643b0da208 | 224 | py | Python | diffstar/tests/test_stars.py | ArgonneCPAC/diffstar | 4d15a5b2fd2faa86311c543a151fee73a14bd7f1 | [
"BSD-3-Clause"
] | 2 | 2021-12-01T00:47:22.000Z | 2021-12-01T03:15:35.000Z | diffstar/tests/test_stars.py | ArgonneCPAC/diffstar | 4d15a5b2fd2faa86311c543a151fee73a14bd7f1 | [
"BSD-3-Clause"
] | null | null | null | diffstar/tests/test_stars.py | ArgonneCPAC/diffstar | 4d15a5b2fd2faa86311c543a151fee73a14bd7f1 | [
"BSD-3-Clause"
] | null | null | null | """
"""
from ..stars import DEFAULT_SFR_PARAMS, _SFR_PARAM_BOUNDS
def test_sfh_parameter_bounds():
for key, val in DEFAULT_SFR_PARAMS.items():
assert _SFR_PARAM_BOUNDS[key][0] < val < _SFR_PARAM_BOUNDS[key][1]
| 24.888889 | 74 | 0.727679 | 34 | 224 | 4.323529 | 0.588235 | 0.163265 | 0.285714 | 0.231293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.151786 | 224 | 8 | 75 | 28 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
40074593eb22707c49ed2db34cd19bd4bc406466 | 29 | py | Python | .history/src/Simulador_20200707125832.py | eduardodut/Trabalho_final_estatistica_cd | fbedbbea6bdd7a79e1d62030cde0fab4e93fc338 | [
"MIT"
] | null | null | null | .history/src/Simulador_20200707125832.py | eduardodut/Trabalho_final_estatistica_cd | fbedbbea6bdd7a79e1d62030cde0fab4e93fc338 | [
"MIT"
] | null | null | null | .history/src/Simulador_20200707125832.py | eduardodut/Trabalho_final_estatistica_cd | fbedbbea6bdd7a79e1d62030cde0fab4e93fc338 | [
"MIT"
] | null | null | null | class Simulador():
pass | 7.25 | 18 | 0.62069 | 3 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 29 | 4 | 19 | 7.25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
40217dae1512925ba0f386cb5d40b13d23dee81c | 7,362 | py | Python | tests/test_feap_base.py | basic-ph/feat | 0660a34e5eeeab920d1ce8e139ab486e63bd419b | [
"MIT"
] | 2 | 2020-07-13T11:59:19.000Z | 2020-07-13T12:02:05.000Z | tests/test_feap_base.py | basic-ph/feat | 0660a34e5eeeab920d1ce8e139ab486e63bd419b | [
"MIT"
] | null | null | null | tests/test_feap_base.py | basic-ph/feat | 0660a34e5eeeab920d1ce8e139ab486e63bd419b | [
"MIT"
] | null | null | null | """This module contains tests regarding simple problems resolved using FEAP
software from University of California, Berkeley. Results obtained with
this program are used as validation comparing them with those obtained
using feat python code.
This file is used for testing the base module.
"""
import logging
import me... | 36.994975 | 116 | 0.678892 | 1,075 | 7,362 | 4.461395 | 0.170233 | 0.049625 | 0.034404 | 0.006255 | 0.77794 | 0.751251 | 0.748957 | 0.713511 | 0.707256 | 0.707256 | 0 | 0.031701 | 0.190166 | 7,362 | 199 | 117 | 36.994975 | 0.772727 | 0.106221 | 0 | 0.609929 | 0 | 0 | 0.160733 | 0.01207 | 0 | 0 | 0 | 0.005025 | 0.028369 | 1 | 0.014184 | false | 0 | 0.06383 | 0 | 0.078014 | 0.014184 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
403c6843245ecd18b2594cd30a38fa251a9082ba | 50 | py | Python | nitorch/io/volumes/tiff/__init__.py | liamchalcroft/nitorch | 0de179aff97244a82213c528f0d6393725c868c9 | [
"MIT"
] | 46 | 2020-07-31T10:14:05.000Z | 2022-03-24T12:51:46.000Z | nitorch/io/volumes/tiff/__init__.py | liamchalcroft/nitorch | 0de179aff97244a82213c528f0d6393725c868c9 | [
"MIT"
] | 36 | 2020-10-06T19:01:38.000Z | 2022-02-03T18:07:35.000Z | nitorch/io/volumes/tiff/__init__.py | liamchalcroft/nitorch | 0de179aff97244a82213c528f0d6393725c868c9 | [
"MIT"
] | 6 | 2021-01-05T14:59:05.000Z | 2021-11-18T18:26:45.000Z | from .array import TiffArray
from . import array
| 12.5 | 28 | 0.78 | 7 | 50 | 5.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 50 | 3 | 29 | 16.666667 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
40572a47cd6ddc72fba3874e28ff4a458b198bc9 | 23,001 | py | Python | partialView/test/test_partialView.py | robzenn92/EpTODocker | 7e3f17bf2d914ee8aa5c7d6393cb65d48177bd71 | [
"MIT"
] | null | null | null | partialView/test/test_partialView.py | robzenn92/EpTODocker | 7e3f17bf2d914ee8aa5c7d6393cb65d48177bd71 | [
"MIT"
] | 26 | 2017-10-23T08:04:00.000Z | 2021-06-10T18:46:22.000Z | partialView/test/test_partialView.py | robzenn92/EpTODocker | 7e3f17bf2d914ee8aa5c7d6393cb65d48177bd71 | [
"MIT"
] | null | null | null | #!/usr/bin/env python2
import os
import json
import unittest
from partialView.partialView import PartialView, PodDescriptor
class TestPartialView(unittest.TestCase):
@classmethod
def setUpClass(cls):
pass
def setUp(self):
self.partialView = PartialView("172.0.1.0")
self.descript... | 45.277559 | 129 | 0.670536 | 3,190 | 23,001 | 4.647962 | 0.062696 | 0.167937 | 0.028327 | 0.097929 | 0.840494 | 0.805895 | 0.764686 | 0.728131 | 0.688609 | 0.659945 | 0 | 0.039392 | 0.21086 | 23,001 | 507 | 130 | 45.366864 | 0.777478 | 0.223773 | 0 | 0.52322 | 0 | 0 | 0.045879 | 0 | 0 | 0 | 0 | 0 | 0.306502 | 1 | 0.136223 | false | 0.003096 | 0.012384 | 0 | 0.151703 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
40940b4893d075c559e3320262f58f18fcc38d2f | 242 | py | Python | core/views.py | menezesluiz/Django_Framework | a23319167b4e9e11ea96f39a74727e1a38e0ce9f | [
"MIT"
] | null | null | null | core/views.py | menezesluiz/Django_Framework | a23319167b4e9e11ea96f39a74727e1a38e0ce9f | [
"MIT"
] | null | null | null | core/views.py | menezesluiz/Django_Framework | a23319167b4e9e11ea96f39a74727e1a38e0ce9f | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
context = {
'curso': 'Programação Web com Django Framework'
}
return render(request, 'index.html')
def contato(request):
return render(request, 'contato.html')
| 22 | 55 | 0.681818 | 28 | 242 | 5.892857 | 0.607143 | 0.145455 | 0.230303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206612 | 242 | 10 | 56 | 24.2 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0.260331 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
409ec6bfb8dab2359666ec8ce7e81fb33589dafd | 161 | py | Python | projects/Gruul/gruul/__init__.py | sm047/detectron2 | 1036cce320ce0f2adbce7f143566462d3222bd5a | [
"Apache-2.0"
] | 5 | 2020-06-16T11:31:22.000Z | 2021-11-08T03:07:47.000Z | projects/Gruul/gruul/__init__.py | fangchengji/detectron2 | 1036cce320ce0f2adbce7f143566462d3222bd5a | [
"Apache-2.0"
] | null | null | null | projects/Gruul/gruul/__init__.py | fangchengji/detectron2 | 1036cce320ce0f2adbce7f143566462d3222bd5a | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# @Time : 27/5/20 3:33 PM
# @Author : fangcheng.ji
# @FileName: __init__.py
from .classification_network import ClassificationNetwork | 26.833333 | 57 | 0.732919 | 22 | 161 | 5.136364 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0.142857 | 161 | 6 | 57 | 26.833333 | 0.753623 | 0.590062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
40b6f94e0e6eeefca3f101cdd081e7c9c3114b40 | 2,541 | py | Python | DjangoAPI/MyApi/ImageProcessing_By_AWS.py | sni710/Django_api | a40d049586d9396c3b1bea4cd82177c573b24c17 | [
"Apache-2.0"
] | 2 | 2020-08-27T11:26:35.000Z | 2021-03-20T16:27:20.000Z | DjangoAPI/MyApi/ImageProcessing_By_AWS.py | ankit98040/Django-ML-Project | 3e50f51e56aa34bb8a7ae31f4955a10e57176ea7 | [
"Apache-2.0"
] | null | null | null | DjangoAPI/MyApi/ImageProcessing_By_AWS.py | ankit98040/Django-ML-Project | 3e50f51e56aa34bb8a7ae31f4955a10e57176ea7 | [
"Apache-2.0"
] | null | null | null | import boto3
import requests
import cv2
def ObjectDetection(imagePath, Service):
session = boto3.Session(profile_name="default")
Service = session.client("rekognition")
image = open(imagePath, "rb").read() #read in byte
imgH, imgW = cv2.imread(imagePath).shape[:2]
MyImage = cv2.imread(imagePath)
... | 33.88 | 113 | 0.593467 | 313 | 2,541 | 4.779553 | 0.290735 | 0.040107 | 0.048128 | 0.037433 | 0.712567 | 0.712567 | 0.712567 | 0.712567 | 0.712567 | 0.712567 | 0 | 0.028796 | 0.248327 | 2,541 | 74 | 114 | 34.337838 | 0.75445 | 0.077922 | 0 | 0.615385 | 0 | 0.019231 | 0.143285 | 0.03379 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.057692 | 0 | 0.096154 | 0.038462 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
40c24dcd9a39e668e9455810445f2b4c4eb4133a | 369 | py | Python | backend/ecomm/comm_app/serializer.py | Aradhya-Tripathi/symmetrical-chainsaw | 2e5f552b478c67ea34bd594b918620b3cf520881 | [
"MIT"
] | null | null | null | backend/ecomm/comm_app/serializer.py | Aradhya-Tripathi/symmetrical-chainsaw | 2e5f552b478c67ea34bd594b918620b3cf520881 | [
"MIT"
] | 12 | 2021-05-08T21:01:47.000Z | 2021-05-14T23:07:03.000Z | backend/ecomm/comm_app/serializer.py | saxenabhishek/symmetrical-chainsaw | 9b7f77b4d39867f410929d776d5b363518f71429 | [
"MIT"
] | 1 | 2021-06-01T21:00:13.000Z | 2021-06-01T21:00:13.000Z | from rest_framework import serializers
from django.contrib.auth.models import User
class CreateUserSerializer(serializers.ModelSerializer):
class Meta:
model = User
fields = ["username", "email", "password"]
class AuthUserSerializer(serializers.ModelSerializer):
class Meta:
mod... | 21.705882 | 56 | 0.688347 | 35 | 369 | 7.228571 | 0.571429 | 0.205534 | 0.245059 | 0.27668 | 0.395257 | 0.395257 | 0.395257 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 369 | 16 | 57 | 23.0625 | 0.878472 | 0 | 0 | 0.4 | 0 | 0 | 0.092141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
40cbe21ccd5453bf35ab6f553a773b46094496aa | 1,755 | py | Python | free_style/tf_play/bench/test/load.py | yudongqiu/gomoku | 4a95f2a5008f31fed5cb92c6bd6d55f9669ddd06 | [
"MIT"
] | 3 | 2018-06-12T09:03:41.000Z | 2019-01-14T05:34:57.000Z | free_style/tf_play/bench/test/load.py | yudongqiu/gomoku | 4a95f2a5008f31fed5cb92c6bd6d55f9669ddd06 | [
"MIT"
] | null | null | null | free_style/tf_play/bench/test/load.py | yudongqiu/gomoku | 4a95f2a5008f31fed5cb92c6bd6d55f9669ddd06 | [
"MIT"
] | null | null | null | import tensorflow as tf
import tflearn
import random
import numpy as np
X = np.random.random([10,4,4,2])
Y = [[0] for x in X]
g1 = tf.Graph()
#with g1.as_default():
if True:
input_layer = tflearn.input_data(shape=[None, 4, 4, 2])
net = tflearn.conv_2d(input_layer, 256, 3, activation=None)
net = tflearn.b... | 34.411765 | 91 | 0.704274 | 257 | 1,755 | 4.696498 | 0.276265 | 0.06628 | 0.053853 | 0.076222 | 0.757249 | 0.757249 | 0.757249 | 0.757249 | 0.757249 | 0.714167 | 0 | 0.049202 | 0.14302 | 1,755 | 50 | 92 | 35.1 | 0.753324 | 0.404558 | 0 | 0.083333 | 0 | 0 | 0.030273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.041667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
40d541d5260375a555b2f6267cc6cb0899b4e4c4 | 126 | py | Python | measurement/array-operations/vsquaresquare.py | quepas/performance-estimation-array-operations | b209ba5efebf5dee60ec5fca0fa711ca2e766e17 | [
"MIT"
] | null | null | null | measurement/array-operations/vsquaresquare.py | quepas/performance-estimation-array-operations | b209ba5efebf5dee60ec5fca0fa711ca2e766e17 | [
"MIT"
] | null | null | null | measurement/array-operations/vsquaresquare.py | quepas/performance-estimation-array-operations | b209ba5efebf5dee60ec5fca0fa711ca2e766e17 | [
"MIT"
] | null | null | null | import numpy as np
# Compute double element-wise square of vector
def vsquaresquare(V):
R = np.power(np.power(V, 2), 2)
| 18 | 46 | 0.698413 | 22 | 126 | 4 | 0.772727 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.190476 | 126 | 6 | 47 | 21 | 0.843137 | 0.349206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
905100c11b368587b755761b0305166ee0292372 | 8,019 | py | Python | tests/integration/loading/test_loading_component.py | ohaibbq/dash-core-components | b7d1ebee327cf1b1938569a07cb5bf0dae4ecc54 | [
"MIT"
] | 1 | 2020-08-15T07:04:25.000Z | 2020-08-15T07:04:25.000Z | tests/integration/loading/test_loading_component.py | ohaibbq/dash-core-components | b7d1ebee327cf1b1938569a07cb5bf0dae4ecc54 | [
"MIT"
] | null | null | null | tests/integration/loading/test_loading_component.py | ohaibbq/dash-core-components | b7d1ebee327cf1b1938569a07cb5bf0dae4ecc54 | [
"MIT"
] | null | null | null | from multiprocessing import Lock
import dash
from dash.dependencies import Input, Output
import dash_core_components as dcc
import dash_html_components as html
def test_ldcp001_loading_component_initialization(dash_dcc):
lock = Lock()
app = dash.Dash(__name__)
app.layout = html.Div(
[dcc.Loadin... | 28.537367 | 82 | 0.599701 | 1,065 | 8,019 | 4.240376 | 0.110798 | 0.102303 | 0.056023 | 0.065102 | 0.809123 | 0.780115 | 0.752879 | 0.735828 | 0.676484 | 0.643933 | 0 | 0.018288 | 0.249906 | 8,019 | 280 | 83 | 28.639286 | 0.732502 | 0.009976 | 0 | 0.651515 | 0 | 0 | 0.178553 | 0.020035 | 0 | 0 | 0 | 0 | 0.075758 | 1 | 0.080808 | false | 0 | 0.025253 | 0.005051 | 0.191919 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
905fb6d02acdb52f8e03d76c7891f3630034af6d | 88 | py | Python | code/default/python27/1.0/lib/noarch/front_base/host_manager.py | wuyongwen/XX-Net | 313aefd862b8f230f7c61dc29db1b2b93a17e6ab | [
"BSD-2-Clause"
] | null | null | null | code/default/python27/1.0/lib/noarch/front_base/host_manager.py | wuyongwen/XX-Net | 313aefd862b8f230f7c61dc29db1b2b93a17e6ab | [
"BSD-2-Clause"
] | null | null | null | code/default/python27/1.0/lib/noarch/front_base/host_manager.py | wuyongwen/XX-Net | 313aefd862b8f230f7c61dc29db1b2b93a17e6ab | [
"BSD-2-Clause"
] | null | null | null |
class HostManagerBase(object):
def get_sni_host(self, ip):
return "", ""
| 12.571429 | 31 | 0.602273 | 10 | 88 | 5.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261364 | 88 | 6 | 32 | 14.666667 | 0.784615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
90983149a6e0eb9b57fd9a75d0a487b1fcd45c54 | 140 | py | Python | client/asot_client/__init__.py | lun-4/asot | 24d556af9695f7ac2f059bc7776fc59945a7ec0f | [
"BSD-3-Clause"
] | 1 | 2021-08-01T21:20:52.000Z | 2021-08-01T21:20:52.000Z | client/asot_client/__init__.py | lun-4/asot | 24d556af9695f7ac2f059bc7776fc59945a7ec0f | [
"BSD-3-Clause"
] | null | null | null | client/asot_client/__init__.py | lun-4/asot | 24d556af9695f7ac2f059bc7776fc59945a7ec0f | [
"BSD-3-Clause"
] | null | null | null | # asot: Localhost tunneling
# Copyright 2021, Luna and asot contributors
# SPDX-License-Identifier: BSD-3-Clause
from .cli import main_cli
| 23.333333 | 44 | 0.785714 | 20 | 140 | 5.45 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041322 | 0.135714 | 140 | 5 | 45 | 28 | 0.859504 | 0.757143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
90caae54bed6781fd730bfab97ec5def8c409688 | 42,783 | py | Python | vspk/v4_0/nulink.py | mohaimenhasan/vspk-python | 4c7b297427048340b250cc3c74d9214dc0d4bde1 | [
"BSD-3-Clause"
] | null | null | null | vspk/v4_0/nulink.py | mohaimenhasan/vspk-python | 4c7b297427048340b250cc3c74d9214dc0d4bde1 | [
"BSD-3-Clause"
] | null | null | null | vspk/v4_0/nulink.py | mohaimenhasan/vspk-python | 4c7b297427048340b250cc3c74d9214dc0d4bde1 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (c) 2015, Alcatel-Lucent Inc, 2017 Nokia
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrigh... | 42.443452 | 5,952 | 0.749293 | 4,976 | 42,783 | 5.913384 | 0.094855 | 0.212676 | 0.237893 | 0.276296 | 0.555242 | 0.36418 | 0.219303 | 0.15983 | 0.142056 | 0.1252 | 0 | 0.00052 | 0.191291 | 42,783 | 1,008 | 5,953 | 42.443452 | 0.849938 | 0.141598 | 0 | 0.030612 | 0 | 0 | 0.272281 | 0.116954 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063776 | false | 0 | 0.020408 | 0 | 0.834184 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
90dc6096fa655c4be4d6dcceee0580dafe9e34ee | 434 | py | Python | python/tests/arthoolbox/conftest.py | ArthurVal/toolbox | 857a42043183797582b7f05a78937f224f515ec6 | [
"MIT"
] | null | null | null | python/tests/arthoolbox/conftest.py | ArthurVal/toolbox | 857a42043183797582b7f05a78937f224f515ec6 | [
"MIT"
] | null | null | null | python/tests/arthoolbox/conftest.py | ArthurVal/toolbox | 857a42043183797582b7f05a78937f224f515ec6 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""conftest.py file use to configurate pytest for the arthoolbox lib
"""
import pytest
###############################################################################
# PYTEST - HOOKS #
################################################... | 33.384615 | 79 | 0.267281 | 22 | 434 | 5.272727 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003425 | 0.327189 | 434 | 12 | 80 | 36.166667 | 0.393836 | 0.497696 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
29068353862d2c9787b4723f4d77fb9cc79a8d21 | 23,803 | py | Python | AutomatedTesting/Gem/PythonTests/assetpipeline/wwise_bank_dependency_tests/bank_info_parser_tests.py | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-13T00:01:12.000Z | 2021-09-13T00:01:12.000Z | AutomatedTesting/Gem/PythonTests/assetpipeline/wwise_bank_dependency_tests/bank_info_parser_tests.py | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | AutomatedTesting/Gem/PythonTests/assetpipeline/wwise_bank_dependency_tests/bank_info_parser_tests.py | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T11:07:25.000Z | 2021-07-20T11:07:25.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
"""
import os
import pytest
import sys
soundbanks_xml_filename = 'SoundbanksInfo.xml'
@pytest.fixture
def sound... | 46.129845 | 155 | 0.6508 | 2,629 | 23,803 | 5.599087 | 0.097756 | 0.045652 | 0.034783 | 0.061073 | 0.793139 | 0.767731 | 0.749932 | 0.730435 | 0.716916 | 0.68587 | 0 | 0.018458 | 0.2853 | 23,803 | 515 | 156 | 46.219417 | 0.846814 | 0.283494 | 0 | 0.526882 | 0 | 0 | 0.229093 | 0.136175 | 0 | 0 | 0 | 0 | 0.043011 | 1 | 0.060932 | false | 0 | 0.014337 | 0 | 0.086022 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
290afce313a2f8fb3f4f228703adf862079f1f0b | 48 | py | Python | Python/Tests/TestData/Grammar/InvalidUnicodeLiteral26Up.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 695 | 2019-05-06T23:49:37.000Z | 2022-03-30T01:56:00.000Z | Python/Tests/TestData/Grammar/InvalidUnicodeLiteral26Up.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/Grammar/InvalidUnicodeLiteral26Up.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | from __future__ import unicode_literals
'\uTEST' | 24 | 39 | 0.854167 | 6 | 48 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 2 | 40 | 24 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
291ad2a68aa957958e5ac3e38b28cff3d12fb746 | 37 | py | Python | gwrappy/errors.py | hairizuanbinnoorazman/gwrappy | aae569eb87d0aeac6126ccceac8a208b8dfdcf51 | [
"Apache-2.0"
] | 5 | 2016-09-21T10:27:05.000Z | 2017-03-13T11:37:16.000Z | gwrappy/errors.py | hairizuanbinnoorazman/gwrappy | aae569eb87d0aeac6126ccceac8a208b8dfdcf51 | [
"Apache-2.0"
] | 1 | 2021-11-15T17:46:52.000Z | 2021-11-15T17:46:52.000Z | gwrappy/errors.py | hairizuanbinnoorazman/gwrappy | aae569eb87d0aeac6126ccceac8a208b8dfdcf51 | [
"Apache-2.0"
] | 2 | 2016-09-21T10:34:59.000Z | 2017-04-05T10:38:10.000Z | from googleapiclient.errors import *
| 18.5 | 36 | 0.837838 | 4 | 37 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2928b414f307fab10cd91f8e49a12103be2dc292 | 104 | py | Python | adafruit_rgb_display/__init__.py | philippkeller/Adafruit_CircuitPython_RGB_Display | 0f6ca4d2cb78c0a69a4025b4b59780c4afb967b8 | [
"MIT"
] | null | null | null | adafruit_rgb_display/__init__.py | philippkeller/Adafruit_CircuitPython_RGB_Display | 0f6ca4d2cb78c0a69a4025b4b59780c4afb967b8 | [
"MIT"
] | null | null | null | adafruit_rgb_display/__init__.py | philippkeller/Adafruit_CircuitPython_RGB_Display | 0f6ca4d2cb78c0a69a4025b4b59780c4afb967b8 | [
"MIT"
] | 1 | 2020-04-30T15:20:37.000Z | 2020-04-30T15:20:37.000Z | """Auto imports for Adafruit_CircuitPython_RGB_Display"""
from adafruit_rgb_display.rgb import color565
| 34.666667 | 57 | 0.855769 | 14 | 104 | 6 | 0.714286 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.076923 | 104 | 2 | 58 | 52 | 0.84375 | 0.490385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
293af42b6c68c1bb12ca954e472e8777a47b35e2 | 69 | py | Python | 01-Hola-Mundo/holamundo.py | wparedesgt/Master-Python | b0e8963a5a95d479ef929c2d482be50a1959a18f | [
"BSD-3-Clause"
] | null | null | null | 01-Hola-Mundo/holamundo.py | wparedesgt/Master-Python | b0e8963a5a95d479ef929c2d482be50a1959a18f | [
"BSD-3-Clause"
] | null | null | null | 01-Hola-Mundo/holamundo.py | wparedesgt/Master-Python | b0e8963a5a95d479ef929c2d482be50a1959a18f | [
"BSD-3-Clause"
] | null | null | null | print("#############")
print("Hola Mundo !!!")
print("#############") | 23 | 23 | 0.347826 | 5 | 69 | 4.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 69 | 3 | 24 | 23 | 0.369231 | 0 | 0 | 0.666667 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
2942924e85fb4eea725f38fb6c5e7e5e9d37e073 | 555 | py | Python | tools/leetcode.022.Generate Parentheses/leetcode.022.Generate Parentheses.submission3.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | 4 | 2015-10-10T00:30:55.000Z | 2020-07-27T19:45:54.000Z | tools/leetcode.022.Generate Parentheses/leetcode.022.Generate Parentheses.submission3.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | null | null | null | tools/leetcode.022.Generate Parentheses/leetcode.022.Generate Parentheses.submission3.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | null | null | null | class Solution:
# @param an integer
# @return a list of string
def generateParenthesis(self, n):
if n == 0: return [""]
l = set()
self.generateHelper(l,n,n,"")
return list(l)
def generateHelper(self,l,left,right,current):
if left == right == 0:
... | 555 | 555 | 0.513514 | 66 | 555 | 4.318182 | 0.378788 | 0.126316 | 0.2 | 0.161404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016854 | 0.358559 | 555 | 1 | 555 | 555 | 0.783708 | 0.075676 | 0 | 0 | 1 | 0 | 0.003914 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2961f8be00b18bed3e37dc74aff149e534f4c8a4 | 119 | py | Python | python3/problem0010.py | Furisuke/ProjectEuler | 6f91e35fa394300d3f3761e4ab8c20824e4711ac | [
"MIT"
] | 1 | 2015-12-19T09:43:02.000Z | 2015-12-19T09:43:02.000Z | python3/problem0010.py | Furisuke/ProjectEuler | 6f91e35fa394300d3f3761e4ab8c20824e4711ac | [
"MIT"
] | null | null | null | python3/problem0010.py | Furisuke/ProjectEuler | 6f91e35fa394300d3f3761e4ab8c20824e4711ac | [
"MIT"
] | null | null | null | from problem0003 import primes
from itertools import takewhile
print(sum(takewhile(lambda x: x < 2000000, primes())))
| 23.8 | 54 | 0.781513 | 16 | 119 | 5.8125 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 0.12605 | 119 | 4 | 55 | 29.75 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
461c41c0011838f90970c110da5e7f653a1ffdc3 | 234 | py | Python | classify_predict/__init__.py | dinckaniskan/ML-Inferencing-Durable-Function-Workflow | 396be4be2ee093bc3fa4a8a6f325e10bc4ce95e4 | [
"MIT"
] | null | null | null | classify_predict/__init__.py | dinckaniskan/ML-Inferencing-Durable-Function-Workflow | 396be4be2ee093bc3fa4a8a6f325e10bc4ce95e4 | [
"MIT"
] | null | null | null | classify_predict/__init__.py | dinckaniskan/ML-Inferencing-Durable-Function-Workflow | 396be4be2ee093bc3fa4a8a6f325e10bc4ce95e4 | [
"MIT"
] | null | null | null | """
"""
import logging
from .predict import predict_image_from_url
def main(imageUrl: str) -> str:
logging.info('Running prediction on: ' + imageUrl)
results = predict_image_from_url(imageUrl)
return results | 19.5 | 55 | 0.688034 | 28 | 234 | 5.535714 | 0.571429 | 0.154839 | 0.206452 | 0.245161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213675 | 234 | 12 | 56 | 19.5 | 0.842391 | 0 | 0 | 0 | 0 | 0 | 0.106481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
465bc3e3d2772da7cf9aa762d35583f530de8f19 | 13,090 | py | Python | tests/components/wiz/test_config_flow.py | wstewart15/core | 854d7d49367d560406d6099a5ba56a0be6c0b9c7 | [
"Apache-2.0"
] | null | null | null | tests/components/wiz/test_config_flow.py | wstewart15/core | 854d7d49367d560406d6099a5ba56a0be6c0b9c7 | [
"Apache-2.0"
] | null | null | null | tests/components/wiz/test_config_flow.py | wstewart15/core | 854d7d49367d560406d6099a5ba56a0be6c0b9c7 | [
"Apache-2.0"
] | null | null | null | """Test the WiZ Platform config flow."""
from unittest.mock import patch
import pytest
from pywizlight.exceptions import WizLightConnectionError, WizLightTimeOutError
from homeassistant import config_entries
from homeassistant.components import dhcp
from homeassistant.components.wiz.config_flow import CONF_DEVICE
fro... | 31.24105 | 88 | 0.649351 | 1,498 | 13,090 | 5.371162 | 0.099466 | 0.071091 | 0.042878 | 0.062888 | 0.796793 | 0.792941 | 0.766468 | 0.763734 | 0.757892 | 0.716754 | 0 | 0.006872 | 0.244079 | 13,090 | 418 | 89 | 31.315789 | 0.806266 | 0.007563 | 0 | 0.695157 | 0 | 0 | 0.132972 | 0.041344 | 0 | 0 | 0 | 0 | 0.179487 | 1 | 0 | false | 0 | 0.031339 | 0 | 0.031339 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
46a76abc9e955dea1371346aeb0beb632e52b606 | 65 | py | Python | Validation/RecoTau/python/dataTypes/ValidateTausOnFastSimZTT_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Validation/RecoTau/python/dataTypes/ValidateTausOnFastSimZTT_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Validation/RecoTau/python/dataTypes/ValidateTausOnFastSimZTT_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | from Validation.RecoTau.dataTypes.ValidateTausOnZTT_cff import *
| 32.5 | 64 | 0.876923 | 7 | 65 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 65 | 1 | 65 | 65 | 0.918033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
46b12d2d5b14df7d24373961bd4041fa2a5e20c9 | 1,587 | py | Python | PythonLibrary/GlobalUtilities/test_List_Time_Zone.py | ashishp100194/timezone_api_automation | 8a896f2d790d0a0916067bf2c3e3d4d4193921dd | [
"Apache-2.0"
] | 1 | 2020-07-13T04:22:55.000Z | 2020-07-13T04:22:55.000Z | PythonLibrary/GlobalUtilities/test_List_Time_Zone.py | ashishp100194/timezone_api_automation | 8a896f2d790d0a0916067bf2c3e3d4d4193921dd | [
"Apache-2.0"
] | null | null | null | PythonLibrary/GlobalUtilities/test_List_Time_Zone.py | ashishp100194/timezone_api_automation | 8a896f2d790d0a0916067bf2c3e3d4d4193921dd | [
"Apache-2.0"
] | null | null | null | from BaseClass import BaseClass
from Variables import Variables
def test_List_Time_Zone_TC1():
Base=BaseClass()
Base.Timezone("List_Time_Zone", "List_Time_Zone_TC1")
def test_List_Time_Zone_TC2():
Base=BaseClass()
Base.Timezone("List_Time_Zone", "List_Time_Zone_TC2")
def test_List_Time_Zone_TC3():
... | 28.339286 | 109 | 0.760555 | 244 | 1,587 | 4.377049 | 0.106557 | 0.314607 | 0.47191 | 0.299625 | 0.844569 | 0.458802 | 0.458802 | 0.458802 | 0.458802 | 0.458802 | 0 | 0.023878 | 0.129175 | 1,587 | 56 | 110 | 28.339286 | 0.748915 | 0 | 0 | 0.227273 | 0 | 0 | 0.216625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.045455 | 0 | 0.295455 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d3bbf96679a2eb2d7fdd5cb3f7928ce05a1a392b | 171 | py | Python | tests/web_platform/css_flexbox_1/test_flexbox_item_vertical_align.py | jonboland/colosseum | cbf974be54fd7f6fddbe7285704cfaf7a866c5c5 | [
"BSD-3-Clause"
] | 71 | 2015-04-13T09:44:14.000Z | 2019-03-24T01:03:02.000Z | tests/web_platform/css_flexbox_1/test_flexbox_item_vertical_align.py | jonboland/colosseum | cbf974be54fd7f6fddbe7285704cfaf7a866c5c5 | [
"BSD-3-Clause"
] | 35 | 2019-05-06T15:26:09.000Z | 2022-03-28T06:30:33.000Z | tests/web_platform/css_flexbox_1/test_flexbox_item_vertical_align.py | jonboland/colosseum | cbf974be54fd7f6fddbe7285704cfaf7a866c5c5 | [
"BSD-3-Clause"
] | 139 | 2015-05-30T18:37:43.000Z | 2019-03-27T17:14:05.000Z | from tests.utils import W3CTestCase
class TestFlexbox_ItemVerticalAlign(W3CTestCase):
vars().update(W3CTestCase.find_tests(__file__, 'flexbox_item-vertical-align'))
| 28.5 | 82 | 0.818713 | 19 | 171 | 7 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019108 | 0.081871 | 171 | 5 | 83 | 34.2 | 0.828025 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d3d7b4004eaeb5ecb5d00ad47a267af9f3ce2beb | 191 | py | Python | tests/app2.py | gilbrookie/cmdr | ee31e5b75a01f00e45f8181bf78017f232f0287e | [
"ISC"
] | null | null | null | tests/app2.py | gilbrookie/cmdr | ee31e5b75a01f00e45f8181bf78017f232f0287e | [
"ISC"
] | null | null | null | tests/app2.py | gilbrookie/cmdr | ee31e5b75a01f00e45f8181bf78017f232f0287e | [
"ISC"
] | null | null | null | #!/usr/bin/python
from data import CmdrOverrideParams, TestCmd1, TestCmd2
CmdrOverrideParams.register_cmd(TestCmd1())
CmdrOverrideParams.register_cmd(TestCmd2())
CmdrOverrideParams.start()
| 23.875 | 55 | 0.832461 | 19 | 191 | 8.263158 | 0.631579 | 0.33121 | 0.369427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022346 | 0.062827 | 191 | 7 | 56 | 27.285714 | 0.854749 | 0.08377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d3ed28c21aae68c440ca66b6e9019548948e52a0 | 72 | py | Python | main.py | franneck94/Digits-Recognition-Tensorflow | eb3ec8fa4cff64d2f135a40e0104369cd4dd190a | [
"MIT"
] | 16 | 2018-01-28T12:03:52.000Z | 2020-12-21T13:31:49.000Z | main.py | franneck94/Digits-Recognition-Tensorflow | eb3ec8fa4cff64d2f135a40e0104369cd4dd190a | [
"MIT"
] | null | null | null | main.py | franneck94/Digits-Recognition-Tensorflow | eb3ec8fa4cff64d2f135a40e0104369cd4dd190a | [
"MIT"
] | 11 | 2017-11-20T20:51:06.000Z | 2020-03-11T13:48:49.000Z | from drawer import main_gui
if __name__ == "__main__":
main_gui()
| 12 | 27 | 0.694444 | 10 | 72 | 4 | 0.7 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 72 | 5 | 28 | 14.4 | 0.701754 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
312c0d0a38f5bf686cd815e99383545825f1ce7c | 65 | py | Python | Pipeline/main/Strategy/Close/lib/__init__.py | simonydbutt/b2a | 0bf4a6de8547d73ace22967780442deeaff2d5c6 | [
"MIT"
] | 2 | 2018-07-01T03:36:24.000Z | 2020-02-13T17:22:46.000Z | Pipeline/main/Strategy/Close/lib/__init__.py | simonydbutt/b2a | 0bf4a6de8547d73ace22967780442deeaff2d5c6 | [
"MIT"
] | null | null | null | Pipeline/main/Strategy/Close/lib/__init__.py | simonydbutt/b2a | 0bf4a6de8547d73ace22967780442deeaff2d5c6 | [
"MIT"
] | null | null | null | from Pipeline.main.Strategy.Close.lib.ProfitRun import ProfitRun
| 32.5 | 64 | 0.861538 | 9 | 65 | 6.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 65 | 1 | 65 | 65 | 0.918033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3186a0791f2f06075bf3619bc6dcdd62813bdcec | 152 | py | Python | pseudo-codes/lcm.py | Varshaav16/off-net-learner | ab50af11acc0cbbada54a5d9b9239d2c329cc0c2 | [
"MIT"
] | null | null | null | pseudo-codes/lcm.py | Varshaav16/off-net-learner | ab50af11acc0cbbada54a5d9b9239d2c329cc0c2 | [
"MIT"
] | null | null | null | pseudo-codes/lcm.py | Varshaav16/off-net-learner | ab50af11acc0cbbada54a5d9b9239d2c329cc0c2 | [
"MIT"
] | null | null | null | def gcd(a: int, b: int) -> int :
if a == 0:
return b
return gcd(b % a, a)
def lcm(a: int, b: int) -> int:
return (a / gcd(a,b))* b | 21.714286 | 32 | 0.460526 | 30 | 152 | 2.333333 | 0.3 | 0.114286 | 0.142857 | 0.228571 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.342105 | 152 | 7 | 33 | 21.714286 | 0.69 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
31b1403c264fe5238638d606fb79d288e1b60822 | 241 | py | Python | fractalis/analytics/__init__.py | thehyve/Fractalis | 5591112e5bc994eea5baf3d28caa7e5dfee85a57 | [
"Apache-2.0"
] | 7 | 2018-06-01T12:17:26.000Z | 2019-08-23T13:15:34.000Z | fractalis/analytics/__init__.py | thehyve/Fractalis | 5591112e5bc994eea5baf3d28caa7e5dfee85a57 | [
"Apache-2.0"
] | 6 | 2018-11-02T10:00:04.000Z | 2021-09-13T14:15:36.000Z | fractalis/analytics/__init__.py | LCSB-BioCore/Fractalis | a9f7f8da7675b55c5996d2f32d7baa7313b0350e | [
"Apache-2.0"
] | 3 | 2018-08-02T16:42:50.000Z | 2018-12-14T18:16:22.000Z | from fractalis.utils import list_classes_with_base_class
from fractalis.analytics.task import AnalyticTask
TASK_REGISTRY = list_classes_with_base_class('fractalis.analytics.tasks',
AnalyticTask)
| 40.166667 | 73 | 0.713693 | 26 | 241 | 6.269231 | 0.538462 | 0.159509 | 0.184049 | 0.233129 | 0.294479 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240664 | 241 | 5 | 74 | 48.2 | 0.89071 | 0 | 0 | 0 | 0 | 0 | 0.103734 | 0.103734 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
31bd2b7849e6827df261c952de7c09de81a89d14 | 756 | py | Python | SBMLDiagrams/__init__.py | SunnyXu/SBMLDiagrams | a7a9dccf42f544d6f48bc097d4dc7ebf5f4e2d41 | [
"MIT"
] | null | null | null | SBMLDiagrams/__init__.py | SunnyXu/SBMLDiagrams | a7a9dccf42f544d6f48bc097d4dc7ebf5f4e2d41 | [
"MIT"
] | 50 | 2021-12-03T22:43:18.000Z | 2022-03-30T22:15:09.000Z | SBMLDiagrams/__init__.py | sys-bio/SBMLDiagrams | ff951ff987fadf61a25d239966134e7bbfa1ff1a | [
"MIT"
] | 2 | 2022-01-30T00:47:44.000Z | 2022-03-03T01:13:24.000Z | # try:
# from . import _version
# except:
# from SBMLDiagrams import _version
# __version__ = _version.__version__
try:
from . import visualizeSBML
from . import drawNetwork
from . import processSBML
from . import editSBML
from . import exportSBML
from . import styleSBML
from. import... | 26.068966 | 45 | 0.765873 | 76 | 756 | 7.407895 | 0.171053 | 0.312611 | 0.312611 | 0.099467 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202381 | 756 | 28 | 46 | 27 | 0.933665 | 0.145503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.894737 | 0 | 0.894737 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7361d7a18499fca17dcae5e9cf6e4d4b77325d64 | 135 | py | Python | generators/app/templates/_project/_data/inputs_test.py | jrabary/generator-tf | ef376fcd0f2b968b5b7e18a2d68950243f376432 | [
"Apache-2.0"
] | null | null | null | generators/app/templates/_project/_data/inputs_test.py | jrabary/generator-tf | ef376fcd0f2b968b5b7e18a2d68950243f376432 | [
"Apache-2.0"
] | null | null | null | generators/app/templates/_project/_data/inputs_test.py | jrabary/generator-tf | ef376fcd0f2b968b5b7e18a2d68950243f376432 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
class InputsTest(tf.test.TestCase):
def test_inputs(self):
# Write your inputs unit test here
pass | 16.875 | 38 | 0.725926 | 20 | 135 | 4.85 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207407 | 135 | 8 | 39 | 16.875 | 0.906542 | 0.237037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
b4070315564b3b80bf9cce6119d3c04ee2fabcfa | 248 | py | Python | bcdp/__init__.py | kinow/bcdp | f4366a307672d84ed7992f3bb68a04303a107c56 | [
"Apache-2.0"
] | 5 | 2020-02-17T10:24:32.000Z | 2021-09-16T14:58:00.000Z | bcdp/__init__.py | kinow/bcdp | f4366a307672d84ed7992f3bb68a04303a107c56 | [
"Apache-2.0"
] | 1 | 2020-04-16T22:17:45.000Z | 2020-04-16T22:17:45.000Z | bcdp/__init__.py | kinow/bcdp | f4366a307672d84ed7992f3bb68a04303a107c56 | [
"Apache-2.0"
] | 2 | 2020-02-05T23:28:32.000Z | 2020-04-04T09:33:00.000Z | from .adapters import *
from .bounds import *
from .ensemble import *
from .extractors import *
from .regridder import *
from .sources import *
__all__ = ['adapters', 'bounds', 'ensemble',
'extractors', 'regridder', 'sources']
| 24.8 | 49 | 0.657258 | 25 | 248 | 6.36 | 0.36 | 0.314465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21371 | 248 | 9 | 50 | 27.555556 | 0.815385 | 0 | 0 | 0 | 0 | 0 | 0.200837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b40a2f804928a9a8e0271eb3eac438c02a005b69 | 235 | py | Python | atest/testdata/running/pass_execution_library.py | phil-davis/robotframework | 4d4ce686cbe01e293bb86ea6ff34330e8c45fc43 | [
"ECL-2.0",
"Apache-2.0"
] | 7,073 | 2015-01-01T17:19:16.000Z | 2022-03-31T22:01:29.000Z | atest/testdata/running/pass_execution_library.py | phil-davis/robotframework | 4d4ce686cbe01e293bb86ea6ff34330e8c45fc43 | [
"ECL-2.0",
"Apache-2.0"
] | 2,412 | 2015-01-02T09:29:05.000Z | 2022-03-31T13:10:46.000Z | atest/testdata/running/pass_execution_library.py | phil-davis/robotframework | 4d4ce686cbe01e293bb86ea6ff34330e8c45fc43 | [
"ECL-2.0",
"Apache-2.0"
] | 2,298 | 2015-01-03T02:47:15.000Z | 2022-03-31T02:00:16.000Z | from robot.errors import PassExecution
from robot.libraries.BuiltIn import BuiltIn
def raise_pass_execution_exception(msg):
raise PassExecution(msg)
def call_pass_execution_method(msg):
BuiltIn().pass_execution(msg, 'lol')
| 21.363636 | 43 | 0.8 | 31 | 235 | 5.83871 | 0.516129 | 0.21547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119149 | 235 | 10 | 44 | 23.5 | 0.874396 | 0 | 0 | 0 | 0 | 0 | 0.012766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.833333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
b476de8f289343219a3df99392d4ce3e75b0b357 | 173 | py | Python | agent/bin/boot_time.py | kemoycampbell/atomic-monitor | 29d2fcf8d12bd6ac76f71d5f509fb515b006a44e | [
"MIT"
] | null | null | null | agent/bin/boot_time.py | kemoycampbell/atomic-monitor | 29d2fcf8d12bd6ac76f71d5f509fb515b006a44e | [
"MIT"
] | null | null | null | agent/bin/boot_time.py | kemoycampbell/atomic-monitor | 29d2fcf8d12bd6ac76f71d5f509fb515b006a44e | [
"MIT"
] | 1 | 2020-04-26T19:16:49.000Z | 2020-04-26T19:16:49.000Z | from uptime import boottime
class BootTime:
# get system boot time
def get_boot_time(self):
# datetime of boot
return boottime().strftime('%x %X')
| 19.222222 | 43 | 0.647399 | 23 | 173 | 4.782609 | 0.695652 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265896 | 173 | 8 | 44 | 21.625 | 0.866142 | 0.213873 | 0 | 0 | 0 | 0 | 0.037594 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b47a40973471868c3ded6523c3ab1317b47bd99a | 251 | py | Python | openprocurement/tender/twostage/validation.py | leits/openprocurement.tender.twostage | 2cacf77364bf7ebf74fedf6ddabc8ac600b6d73f | [
"Apache-2.0"
] | null | null | null | openprocurement/tender/twostage/validation.py | leits/openprocurement.tender.twostage | 2cacf77364bf7ebf74fedf6ddabc8ac600b6d73f | [
"Apache-2.0"
] | 2 | 2021-03-26T00:35:15.000Z | 2022-03-21T22:21:08.000Z | openprocurement/tender/twostage/validation.py | leits/openprocurement.tender.twostage | 2cacf77364bf7ebf74fedf6ddabc8ac600b6d73f | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from openprocurement.api.validation import validate_data
from openprocurement.tender.twostage.models import Qualification
def validate_patch_qualification_data(request):
return validate_data(request, Qualification, True)
| 31.375 | 64 | 0.816733 | 29 | 251 | 6.896552 | 0.655172 | 0.19 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004425 | 0.099602 | 251 | 7 | 65 | 35.857143 | 0.880531 | 0.083665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
b47a43e0754a3d5a0e29fbc01cf1f1fbd0c1f635 | 237 | py | Python | Bot/1_Find/AI/_Value_Investing.py | ReedGraff/High-Low | c8ba0339d7818e344cacf9a73a83d24dc539c2ca | [
"MIT"
] | 1 | 2022-01-06T05:50:53.000Z | 2022-01-06T05:50:53.000Z | Bot/1_Find/AI/_Value_Investing.py | ReedGraff/High-Low | c8ba0339d7818e344cacf9a73a83d24dc539c2ca | [
"MIT"
] | null | null | null | Bot/1_Find/AI/_Value_Investing.py | ReedGraff/High-Low | c8ba0339d7818e344cacf9a73a83d24dc539c2ca | [
"MIT"
] | null | null | null | def Value_Investing(self, training_data, testing_data=""):
if testing_data == "":
percent_taken = 30
index = ((100 - percent_taken) / 100) * len(training_data)
testing_data = training_data[index:]
return 0 | 39.5 | 66 | 0.64557 | 29 | 237 | 4.965517 | 0.551724 | 0.25 | 0.263889 | 0.319444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049724 | 0.236287 | 237 | 6 | 67 | 39.5 | 0.745856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
81ec2f644ff2098c451506963f7e53c59a0ba80f | 1,931 | py | Python | api_login/models.py | archkwon/python-django-restful-mysql | a8097c08057de9656cb40266420fcffebb11bdb6 | [
"MIT"
] | null | null | null | api_login/models.py | archkwon/python-django-restful-mysql | a8097c08057de9656cb40266420fcffebb11bdb6 | [
"MIT"
] | null | null | null | api_login/models.py | archkwon/python-django-restful-mysql | a8097c08057de9656cb40266420fcffebb11bdb6 | [
"MIT"
] | null | null | null | from django.db import models
class UserVeriCodeModel(models.Model):
uniq_id = models.CharField(primary_key=True, max_length=50, verbose_name='고유아이디')
user_mobile_no = models.CharField(max_length=20, blank=True, null=True, verbose_name='휴대폰번호')
verification_code = models.CharField(max_length=20, blank=True... | 44.906977 | 102 | 0.737442 | 261 | 1,931 | 5.172414 | 0.245211 | 0.162963 | 0.144444 | 0.088148 | 0.780741 | 0.757037 | 0.715556 | 0.715556 | 0.715556 | 0.715556 | 0 | 0.010976 | 0.150699 | 1,931 | 42 | 103 | 45.97619 | 0.812195 | 0 | 0 | 0.545455 | 0 | 0 | 0.090627 | 0.010875 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030303 | 0 | 0.69697 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c316d440063b325879c1842fe7990c9669b67191 | 86 | py | Python | deletefb/exceptions.py | mIcHyAmRaNe/DeleteFB | e8896b1a2c834b0b0cc9404a20225a138e37b303 | [
"MIT"
] | 2,905 | 2019-03-30T02:45:34.000Z | 2022-02-11T23:08:32.000Z | deletefb/exceptions.py | mIcHyAmRaNe/DeleteFB | e8896b1a2c834b0b0cc9404a20225a138e37b303 | [
"MIT"
] | 131 | 2019-05-20T21:52:05.000Z | 2022-01-09T11:58:40.000Z | deletefb/exceptions.py | mIcHyAmRaNe/DeleteFB | e8896b1a2c834b0b0cc9404a20225a138e37b303 | [
"MIT"
] | 249 | 2019-05-20T19:26:56.000Z | 2022-01-25T02:59:00.000Z | class UnknownOSException(Exception):
pass
class ChromeError(Exception):
pass
| 14.333333 | 36 | 0.755814 | 8 | 86 | 8.125 | 0.625 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174419 | 86 | 5 | 37 | 17.2 | 0.915493 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
5eddd41fc903f23c5ff489f5db219a6d12f5ee1f | 64 | py | Python | google_screener_data_extract/__init__.py | spidezad/google_screener_data_extract | 8efe14e73918808182d8745ef38c38f1ac686f6e | [
"BSD-3-Clause"
] | 28 | 2015-09-27T21:11:23.000Z | 2021-05-17T06:33:20.000Z | google_screener_data_extract/__init__.py | spidezad/google_screener_data_extract | 8efe14e73918808182d8745ef38c38f1ac686f6e | [
"BSD-3-Clause"
] | 1 | 2015-10-18T23:11:03.000Z | 2018-03-27T05:58:10.000Z | google_screener_data_extract/__init__.py | spidezad/google_screener_data_extract | 8efe14e73918808182d8745ef38c38f1ac686f6e | [
"BSD-3-Clause"
] | 24 | 2016-01-14T09:53:48.000Z | 2018-05-17T02:00:56.000Z | from .google_screener_data_extract import GoogleStockDataExtract | 64 | 64 | 0.9375 | 7 | 64 | 8.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 64 | 1 | 64 | 64 | 0.934426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5ee658096625597fad01df8c6e2f1a6d8f4daff4 | 60 | py | Python | nilearn/input_data/nifti_labels_masker.py | ctw/nilearn | 932eee9c69cd8fbf40ee6af5cee77f8f93b25da3 | [
"BSD-2-Clause"
] | null | null | null | nilearn/input_data/nifti_labels_masker.py | ctw/nilearn | 932eee9c69cd8fbf40ee6af5cee77f8f93b25da3 | [
"BSD-2-Clause"
] | null | null | null | nilearn/input_data/nifti_labels_masker.py | ctw/nilearn | 932eee9c69cd8fbf40ee6af5cee77f8f93b25da3 | [
"BSD-2-Clause"
] | null | null | null |
from nilearn.maskers.nifti_labels_masker import * # noqa
| 15 | 57 | 0.783333 | 8 | 60 | 5.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 60 | 3 | 58 | 20 | 0.882353 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5ef0bf6299faa97cf0ddbf361c29415874359823 | 146 | py | Python | build_gpcr/management/commands/build_prepare_new_structures.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 21 | 2016-01-20T09:33:14.000Z | 2021-12-20T19:19:45.000Z | build_gpcr/management/commands/build_prepare_new_structures.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 75 | 2016-02-26T16:29:58.000Z | 2022-03-21T12:35:13.000Z | build_gpcr/management/commands/build_prepare_new_structures.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 77 | 2016-01-22T08:44:26.000Z | 2022-02-01T15:54:56.000Z | from build.management.commands.build_prepare_new_structures import Command as PrepareNewStructures
class Command(PrepareNewStructures):
pass | 29.2 | 98 | 0.863014 | 16 | 146 | 7.6875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 146 | 5 | 99 | 29.2 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
5efede0d604cc0869f77281508b97a4744c06bd9 | 164 | py | Python | test_libs.py | AgenttiX/fys2029-project | 26dc885064721f40db10fad4405f3366f2cfdf4a | [
"Apache-2.0"
] | 1 | 2021-05-21T14:39:07.000Z | 2021-05-21T14:39:07.000Z | test_libs.py | AgenttiX/fys2029-project | 26dc885064721f40db10fad4405f3366f2cfdf4a | [
"Apache-2.0"
] | 1 | 2021-05-25T12:52:49.000Z | 2021-05-25T12:52:49.000Z | test_libs.py | AgenttiX/fys2029-project | 26dc885064721f40db10fad4405f3366f2cfdf4a | [
"Apache-2.0"
] | null | null | null | # This file is for testing whether the TensorFlow imports work, without having to start a Jupyter server.
import tensorflow as tf
import tensorflow_quantum as tfq
| 32.8 | 105 | 0.817073 | 26 | 164 | 5.115385 | 0.846154 | 0.240602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164634 | 164 | 4 | 106 | 41 | 0.970803 | 0.628049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6f0251f62e82dc53713159cf139162f5e487ee79 | 152 | py | Python | online_gp/mlls/__init__.py | wjmaddox/online_gp | 3bff4c347263a9b8b1f0aa801a986f4aaa019a66 | [
"Apache-2.0"
] | 31 | 2021-03-05T00:51:34.000Z | 2022-02-07T09:52:20.000Z | online_gp/mlls/__init__.py | wjmaddox/online_gp | 3bff4c347263a9b8b1f0aa801a986f4aaa019a66 | [
"Apache-2.0"
] | 1 | 2021-11-24T07:18:28.000Z | 2021-11-24T12:07:20.000Z | online_gp/mlls/__init__.py | wjmaddox/online_gp | 3bff4c347263a9b8b1f0aa801a986f4aaa019a66 | [
"Apache-2.0"
] | 1 | 2021-05-19T19:12:36.000Z | 2021-05-19T19:12:36.000Z | from .streaming_added_loss_term import StreamingAddedLossTerm
from .batched_woodbury_marginal_log_likelihood import BatchedWoodburyMarginalLogLikelihood | 76 | 90 | 0.940789 | 15 | 152 | 9.066667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046053 | 152 | 2 | 90 | 76 | 0.937931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6f0263f302229b3951f557f5a63bb60359554c37 | 119 | py | Python | eoflow/tasks/__init__.py | JDESLOIRES/eo-flow | def495e9292809656b906cfd6b8e7389ff9cea61 | [
"MIT"
] | 80 | 2019-09-11T08:53:03.000Z | 2022-03-29T05:32:02.000Z | eoflow/tasks/__init__.py | JDESLOIRES/eo-flow | def495e9292809656b906cfd6b8e7389ff9cea61 | [
"MIT"
] | 12 | 2019-10-11T11:00:56.000Z | 2022-01-31T10:43:40.000Z | eoflow/tasks/__init__.py | JDESLOIRES/eo-flow | def495e9292809656b906cfd6b8e7389ff9cea61 | [
"MIT"
] | 21 | 2019-09-11T08:12:57.000Z | 2022-03-07T01:05:05.000Z | from .train import TrainTask, TrainAndEvaluateTask
from .predict import PredictTask
from .evaluate import EvaluateTask
| 29.75 | 50 | 0.857143 | 13 | 119 | 7.846154 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109244 | 119 | 3 | 51 | 39.666667 | 0.962264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6f0cfca7dad80bd1a90a6e3ae4594d1afd447046 | 3,071 | py | Python | src/test/stock_data_analysis_module/indicators/test_rate_of_change.py | Freitacr/ML-StockAnalysisProject | 37411c1204ecf69040ba2a1658013e4bf71eef9d | [
"MIT"
] | null | null | null | src/test/stock_data_analysis_module/indicators/test_rate_of_change.py | Freitacr/ML-StockAnalysisProject | 37411c1204ecf69040ba2a1658013e4bf71eef9d | [
"MIT"
] | 6 | 2018-01-05T16:42:09.000Z | 2021-03-18T00:20:18.000Z | src/test/stock_data_analysis_module/indicators/test_rate_of_change.py | Freitacr/ML-StockAnalysisProject | 37411c1204ecf69040ba2a1658013e4bf71eef9d | [
"MIT"
] | 1 | 2021-03-21T04:49:51.000Z | 2021-03-21T04:49:51.000Z | import unittest
import numpy as np
from stock_data_analysis_module.indicators import rate_of_change
class RateOfChangeTestCase(unittest.TestCase):
def __init__(self, *args):
super().__init__(*args)
self._empty_sequence = []
self._empty_ndarray = np.zeros((0,))
self.... | 47.246154 | 86 | 0.583198 | 404 | 3,071 | 4.121287 | 0.163366 | 0.061261 | 0.122523 | 0.09009 | 0.770571 | 0.766967 | 0.754955 | 0.728529 | 0.702102 | 0.702102 | 0 | 0.029712 | 0.2986 | 3,071 | 64 | 87 | 47.984375 | 0.743268 | 0 | 0 | 0.433962 | 0 | 0 | 0.198204 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 1 | 0.09434 | false | 0 | 0.056604 | 0 | 0.169811 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6f245077d2c2559a5a0020b6347c2e2bf1a57062 | 3,860 | py | Python | QCPU_Setup/DWave-library/dist-packages/dwave_networkx2/algorithms/max_cut.py | cogrpar/qcpuWARE | 9b8233e830f8cfacbef787781b2279e42f26fec5 | [
"Apache-2.0"
] | 1 | 2022-02-01T14:40:05.000Z | 2022-02-01T14:40:05.000Z | QCPU_Setup/DWave-library/dist-packages/dwave_networkx2/algorithms/max_cut.py | cogrpar/qcpuWARE | 9b8233e830f8cfacbef787781b2279e42f26fec5 | [
"Apache-2.0"
] | null | null | null | QCPU_Setup/DWave-library/dist-packages/dwave_networkx2/algorithms/max_cut.py | cogrpar/qcpuWARE | 9b8233e830f8cfacbef787781b2279e42f26fec5 | [
"Apache-2.0"
] | 1 | 2022-02-01T14:40:31.000Z | 2022-02-01T14:40:31.000Z | from dwave_networkx.exceptions import DWaveNetworkXException
from dwave_networkx.utils import binary_quadratic_model_sampler
__all__ = ["maximum_cut", "weighted_maximum_cut"]
@binary_quadratic_model_sampler(1)
def maximum_cut(G, sampler=None, **sampler_args):
"""Returns an approximate maximum cut.
Defines a... | 33.859649 | 74 | 0.681606 | 576 | 3,860 | 4.508681 | 0.237847 | 0.046207 | 0.023104 | 0.041586 | 0.795533 | 0.795533 | 0.785522 | 0.785522 | 0.785522 | 0.785522 | 0 | 0.003493 | 0.25829 | 3,860 | 113 | 75 | 34.159292 | 0.903598 | 0.696114 | 0 | 0.421053 | 0 | 0 | 0.077596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.105263 | 0 | 0.315789 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6f63117da26d35a7dfe144611363181514a5ece3 | 222 | py | Python | leetcode/google/tagged/medium/validate_binary_search_tree_test.py | alvinctk/google-tech-dev-guide | 9d7759bea1f44673c2de4f25a94b27368928a59f | [
"Apache-2.0"
] | 26 | 2019-06-07T05:29:47.000Z | 2022-03-19T15:32:27.000Z | leetcode/google/tagged/medium/validate_binary_search_tree_test.py | alvinctk/google-tech-dev-guide | 9d7759bea1f44673c2de4f25a94b27368928a59f | [
"Apache-2.0"
] | null | null | null | leetcode/google/tagged/medium/validate_binary_search_tree_test.py | alvinctk/google-tech-dev-guide | 9d7759bea1f44673c2de4f25a94b27368928a59f | [
"Apache-2.0"
] | 6 | 2019-10-10T06:39:28.000Z | 2020-05-12T19:50:55.000Z | [2,1,3]
[5,1,4,null,null,3,6]
[2,1,4,null,null,3,6]
[2,1,4,null,null,8,6]
[]
[1, 1, 1]
[0, 1]
[0, 1, 3]
[10,5,15,null,null,6,20]
[10,5,15,3,11,12,20]
[3,null,30,10,null,null,15,null,45]
[3,null,30,10,null,null,15,null,19]
| 17.076923 | 35 | 0.576577 | 64 | 222 | 2 | 0.265625 | 0.375 | 0.140625 | 0.234375 | 0.640625 | 0.640625 | 0.640625 | 0.640625 | 0.28125 | 0.28125 | 0 | 0.312195 | 0.076577 | 222 | 12 | 36 | 18.5 | 0.312195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
489c8b7fc77b584ea69c38066aa27e09cc4e0b15 | 68 | py | Python | lib/python/abcutils/__init__.py | gcodebackups/helgemathee-alembic-softimage | fb8c5f09f35ea899a272f9cab0dd2f887317c043 | [
"RSA-MD"
] | null | null | null | lib/python/abcutils/__init__.py | gcodebackups/helgemathee-alembic-softimage | fb8c5f09f35ea899a272f9cab0dd2f887317c043 | [
"RSA-MD"
] | null | null | null | lib/python/abcutils/__init__.py | gcodebackups/helgemathee-alembic-softimage | fb8c5f09f35ea899a272f9cab0dd2f887317c043 | [
"RSA-MD"
] | 1 | 2015-11-24T18:58:38.000Z | 2015-11-24T18:58:38.000Z | from Path import Path
from CMakeCache import CMakeCache, CacheEntry
| 22.666667 | 45 | 0.852941 | 9 | 68 | 6.444444 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 68 | 2 | 46 | 34 | 0.983051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
48a1f9a8e738e97b2bdd80fe016f7aab4096c1ca | 209 | py | Python | 200Python/demo/01basic-hello/02basic/dict_set.py | lyliyongblue/JavaCoder | a04a350ec675a3a8b15c99da5cc89397dbbc97ef | [
"Apache-2.0"
] | null | null | null | 200Python/demo/01basic-hello/02basic/dict_set.py | lyliyongblue/JavaCoder | a04a350ec675a3a8b15c99da5cc89397dbbc97ef | [
"Apache-2.0"
] | null | null | null | 200Python/demo/01basic-hello/02basic/dict_set.py | lyliyongblue/JavaCoder | a04a350ec675a3a8b15c99da5cc89397dbbc97ef | [
"Apache-2.0"
] | null | null | null | scores = {'AA': 10, 'BB': 20, "CC": 30}
print("AA score:", scores['AA'])
print("Before BB score:", scores['BB'])
scores['BB'] = 100
print("After BB score:", scores["BB"])
age = {1, 2, 3}
print(age)
| 20.9 | 40 | 0.545455 | 33 | 209 | 3.454545 | 0.484848 | 0.289474 | 0.22807 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 0.186603 | 209 | 9 | 41 | 23.222222 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.27 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
48ad3be834fd184aced1bedc40472fe60a92d916 | 435 | py | Python | server-src/directMessages.py | Artingl/Fluffy | e51ca77651a67ea6206dcbfa0a3436c032f3a3ed | [
"Apache-2.0"
] | null | null | null | server-src/directMessages.py | Artingl/Fluffy | e51ca77651a67ea6206dcbfa0a3436c032f3a3ed | [
"Apache-2.0"
] | null | null | null | server-src/directMessages.py | Artingl/Fluffy | e51ca77651a67ea6206dcbfa0a3436c032f3a3ed | [
"Apache-2.0"
] | null | null | null | import datetime
import sqlalchemy
import db
class directMessages(db.SqlAlchemyBase):
__tablename__ = 'directMessages'
id = sqlalchemy.Column(sqlalchemy.Integer, primary_key=True, autoincrement=True)
users = sqlalchemy.Column(sqlalchemy.String, index=True, nullable=True)
content = sqlalchemy.Column(sq... | 33.461538 | 84 | 0.744828 | 45 | 435 | 7.088889 | 0.533333 | 0.200627 | 0.326019 | 0.30094 | 0.244514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121839 | 435 | 12 | 85 | 36.25 | 0.835079 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d2942132aaddb326056ef36f3ab9a2deb335c799 | 118 | py | Python | apps/app_a.py | nelsoncardenas/cerate_many_docker_images | 14b57f5fd12c993d0c8776545e88973cf297eef2 | [
"MIT"
] | null | null | null | apps/app_a.py | nelsoncardenas/cerate_many_docker_images | 14b57f5fd12c993d0c8776545e88973cf297eef2 | [
"MIT"
] | null | null | null | apps/app_a.py | nelsoncardenas/cerate_many_docker_images | 14b57f5fd12c993d0c8776545e88973cf297eef2 | [
"MIT"
] | null | null | null | import numpy
import pandas
import pyarrow
import click
if __name__ == "__main__":
print("This is app_a running!") | 16.857143 | 35 | 0.745763 | 17 | 118 | 4.647059 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 118 | 7 | 35 | 16.857143 | 0.806122 | 0 | 0 | 0 | 0 | 0 | 0.252101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d2ce1af5632f270ac28413fd4bc05870c9ad09a9 | 150 | py | Python | tests/test_app.py | PXMYH/doctor | fac85ea02a96d986c69b3ac27a7444c10287cff4 | [
"MIT"
] | null | null | null | tests/test_app.py | PXMYH/doctor | fac85ea02a96d986c69b3ac27a7444c10287cff4 | [
"MIT"
] | null | null | null | tests/test_app.py | PXMYH/doctor | fac85ea02a96d986c69b3ac27a7444c10287cff4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import pytest
@pytest.mark.skip(reason="function not ready yet, todo")
def test_version():
pass
| 15 | 56 | 0.666667 | 22 | 150 | 4.5 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.16 | 150 | 9 | 57 | 16.666667 | 0.769841 | 0.286667 | 0 | 0 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
d2e54c138c93710f1556d10b67ab7919a25b7c00 | 156 | py | Python | __main__.py | aldenso/pulumi_docker_demo | 4bfd5d374c62b927e0fff0ea39695c7efa9469c5 | [
"MIT"
] | null | null | null | __main__.py | aldenso/pulumi_docker_demo | 4bfd5d374c62b927e0fff0ea39695c7efa9469c5 | [
"MIT"
] | null | null | null | __main__.py | aldenso/pulumi_docker_demo | 4bfd5d374c62b927e0fff0ea39695c7efa9469c5 | [
"MIT"
] | null | null | null | import pulumi
import infra
pulumi.export('image', infra.my_image)
pulumi.export('container', infra.container)
pulumi.export('dockerfile', infra.dockerfile) | 26 | 45 | 0.801282 | 20 | 156 | 6.2 | 0.4 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 156 | 6 | 45 | 26 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0.152866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
96218ff962d029dbf39837f84299562348e8bbcf | 87 | py | Python | app/hello/__init__.py | washiz99/python-flask-hello | 9d602d53c85c38fd1f5fb191630df096f9cef88d | [
"MIT"
] | null | null | null | app/hello/__init__.py | washiz99/python-flask-hello | 9d602d53c85c38fd1f5fb191630df096f9cef88d | [
"MIT"
] | null | null | null | app/hello/__init__.py | washiz99/python-flask-hello | 9d602d53c85c38fd1f5fb191630df096f9cef88d | [
"MIT"
] | null | null | null | from flask import Blueprint
hello = Blueprint('hello', __name__)
from . import views
| 14.5 | 36 | 0.758621 | 11 | 87 | 5.636364 | 0.636364 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 87 | 5 | 37 | 17.4 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
96247f0ee1665b2fa401a2b05798d31a0f4c6819 | 38 | py | Python | tests/components/stream/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/stream/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/stream/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """The tests for stream platforms."""
| 19 | 37 | 0.684211 | 5 | 38 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.787879 | 0.815789 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
824a86a0ac80d0b8829c8f880dc614ee1f1a703a | 536 | py | Python | src/genie/libs/parser/iosxe/tests/ShowEnvFan/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowEnvFan/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowEnvFan/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
'switch': {
"1": {
'fan': {
"1": {
'state': 'ok'
},
"2": {
'state': 'ok'
},
"3": {
'state': 'ok'
}
},
... | 20.615385 | 42 | 0.158582 | 23 | 536 | 3.608696 | 0.565217 | 0.337349 | 0.192771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.697761 | 536 | 25 | 43 | 21.44 | 0.475309 | 0 | 0 | 0.36 | 0 | 0 | 0.132463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
826374d576e75c8a49672752bd228090e03e0a7c | 88 | py | Python | dev_server/context_api.py | PlatformOfTrust/code-samples-validator | 75fa24d93ccafaa51f7e1c0ebae447ac2bf933e0 | [
"MIT"
] | null | null | null | dev_server/context_api.py | PlatformOfTrust/code-samples-validator | 75fa24d93ccafaa51f7e1c0ebae447ac2bf933e0 | [
"MIT"
] | null | null | null | dev_server/context_api.py | PlatformOfTrust/code-samples-validator | 75fa24d93ccafaa51f7e1c0ebae447ac2bf933e0 | [
"MIT"
] | 1 | 2020-04-28T09:54:33.000Z | 2020-04-28T09:54:33.000Z | import bottle
app = bottle.Bottle()
@app.get('/')
def list_contexts():
return {}
| 9.777778 | 21 | 0.625 | 11 | 88 | 4.909091 | 0.727273 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193182 | 88 | 8 | 22 | 11 | 0.760563 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
8272d16d8ed4370478973c544cdfd623819a5ec8 | 93 | py | Python | homebrain/core/__init__.py | ErikBjare/Homebrain | 7e4dcc9d0e5f5ef6bde3d2cf31639527166ab124 | [
"MIT"
] | 1 | 2015-12-03T18:42:54.000Z | 2015-12-03T18:42:54.000Z | homebrain/core/__init__.py | ErikBjare/Homebrain | 7e4dcc9d0e5f5ef6bde3d2cf31639527166ab124 | [
"MIT"
] | 14 | 2015-12-02T22:21:12.000Z | 2019-11-06T10:26:08.000Z | homebrain/core/__init__.py | ErikBjare/Homebrain | 7e4dcc9d0e5f5ef6bde3d2cf31639527166ab124 | [
"MIT"
] | null | null | null | from .events import Event
from .agents import Agent, PausableAgent
from . import decorators
| 18.6 | 40 | 0.806452 | 12 | 93 | 6.25 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 93 | 4 | 41 | 23.25 | 0.949367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8279c612be50050b8d8dea972b566d6f41a28535 | 334 | py | Python | lib/__init__.py | JohnEskimSmith/export-elasticmq | dadb6e9ac01d9e7593702d6b1b780d6c140cd3d3 | [
"MIT"
] | null | null | null | lib/__init__.py | JohnEskimSmith/export-elasticmq | dadb6e9ac01d9e7593702d6b1b780d6c140cd3d3 | [
"MIT"
] | null | null | null | lib/__init__.py | JohnEskimSmith/export-elasticmq | dadb6e9ac01d9e7593702d6b1b780d6c140cd3d3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = "SAI"
__license__ = "GPLv3"
__email__ = "andrew.foma@gmail.com"
__status__ = "Dev"
from .upload_settings import *
from .upload_records import *
from .upload_utils import *
from .upload_sqs import *
from .upload_parse_multi_records import *
from .upload_files_u... | 23.857143 | 41 | 0.745509 | 45 | 334 | 4.977778 | 0.622222 | 0.267857 | 0.357143 | 0.205357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006897 | 0.131737 | 334 | 13 | 42 | 25.692308 | 0.765517 | 0.125749 | 0 | 0 | 0 | 0 | 0.110345 | 0.072414 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
82e7a11b4e3671736342f1de0fd9b639f7b78e3b | 15,043 | py | Python | applications/ParticleMechanicsApplication/tests/test_generate_mpm_particle.py | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | null | null | null | applications/ParticleMechanicsApplication/tests/test_generate_mpm_particle.py | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | null | null | null | applications/ParticleMechanicsApplication/tests/test_generate_mpm_particle.py | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | null | null | null | from __future__ import print_function, absolute_import, division
import KratosMultiphysics
import KratosMultiphysics.ParticleMechanicsApplication as KratosParticle
import KratosMultiphysics.KratosUnittest as KratosUnittest
class TestGenerateMPMParticle(KratosUnittest.TestCase):
def _generate_particle_element_an... | 59.932271 | 181 | 0.754969 | 1,714 | 15,043 | 6.274796 | 0.089848 | 0.075872 | 0.068433 | 0.077359 | 0.781311 | 0.77908 | 0.765783 | 0.761971 | 0.761971 | 0.715574 | 0 | 0.039484 | 0.159875 | 15,043 | 250 | 182 | 60.172 | 0.811521 | 0.041016 | 0 | 0.488889 | 0 | 0 | 0.0418 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 1 | 0.188889 | false | 0 | 0.022222 | 0 | 0.216667 | 0.005556 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7d84ba6e8daa7f46d81022d38abe49ae28dad7b3 | 73 | py | Python | app/jwt_helpers/__init__.py | docusign/eg-03-python-auth-code-grant | e92913e25f753fb6b52fc3da6bc4b76c49c75b37 | [
"MIT"
] | 7 | 2019-05-09T05:17:35.000Z | 2020-05-06T14:27:51.000Z | app/jwt_helpers/__init__.py | docusign/eg-03-python-auth-code-grant | e92913e25f753fb6b52fc3da6bc4b76c49c75b37 | [
"MIT"
] | 1 | 2019-06-25T23:06:34.000Z | 2019-06-25T23:06:34.000Z | app/jwt_helpers/__init__.py | docusign/eg-03-python-auth-code-grant | e92913e25f753fb6b52fc3da6bc4b76c49c75b37 | [
"MIT"
] | 8 | 2019-06-21T23:57:48.000Z | 2020-02-11T18:58:34.000Z | from .jwt_helper import create_api_client, get_jwt_token, get_private_key | 73 | 73 | 0.890411 | 13 | 73 | 4.461538 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 73 | 1 | 73 | 73 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7d8a18703ea07662fcb7b8d49335b94c1ff36ed7 | 570 | py | Python | tests/test_sexp.py | gitoleg/bap-ida-python | f1cdd95578c331f1f3fba2150c2e2d134b8897f0 | [
"MIT"
] | 81 | 2016-06-10T19:07:12.000Z | 2022-03-23T08:15:41.000Z | tests/test_sexp.py | gitoleg/bap-ida-python | f1cdd95578c331f1f3fba2150c2e2d134b8897f0 | [
"MIT"
] | 22 | 2016-06-16T19:35:59.000Z | 2020-12-10T14:53:38.000Z | tests/test_sexp.py | gitoleg/bap-ida-python | f1cdd95578c331f1f3fba2150c2e2d134b8897f0 | [
"MIT"
] | 29 | 2016-06-10T18:26:04.000Z | 2022-02-14T06:15:30.000Z | from bap.utils.sexp import parse
def test_parse():
assert parse('()') == []
assert parse('hello') == 'hello'
assert parse('"hello world"') == '"hello world"'
assert parse('(hello world)') == ['hello', 'world']
assert parse('(() () ())') == [[], [], []]
assert parse("hi'") == "hi'"
assert p... | 28.5 | 76 | 0.440351 | 65 | 570 | 3.846154 | 0.323077 | 0.396 | 0.32 | 0.176 | 0.596 | 0.596 | 0.596 | 0.364 | 0.072 | 0 | 0 | 0 | 0.270175 | 570 | 19 | 77 | 30 | 0.600962 | 0 | 0 | 0 | 0 | 0 | 0.284211 | 0 | 0 | 0 | 0 | 0 | 0.529412 | 1 | 0.058824 | true | 0 | 0.058824 | 0 | 0.117647 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7da69b07b172a6afb3ffe8fcb055417415d0f60a | 121 | py | Python | tests/test_nothing.py | thundergolfer/PyGrobid | 04e55f5f0e11537f367e281718a519d225ce2f70 | [
"Apache-2.0"
] | 1 | 2021-09-11T21:29:57.000Z | 2021-09-11T21:29:57.000Z | tests/test_nothing.py | thundergolfer-old/PyGrobid | 04e55f5f0e11537f367e281718a519d225ce2f70 | [
"Apache-2.0"
] | null | null | null | tests/test_nothing.py | thundergolfer-old/PyGrobid | 04e55f5f0e11537f367e281718a519d225ce2f70 | [
"Apache-2.0"
] | null | null | null |
# This test is here so we don't get a non-zero code from Pytest in Travis CI build.
def test_dummy():
assert 5 == 5
| 24.2 | 83 | 0.68595 | 25 | 121 | 3.28 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.239669 | 121 | 4 | 84 | 30.25 | 0.869565 | 0.669421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7db30e571f8c55b8142793cce2416c315c6d4319 | 6,977 | py | Python | predict_live.py | hulsmeier/best_voxelnet_ever | aeefd32711a5c986c6099d53c5a2efdf9e01ea48 | [
"MIT"
] | null | null | null | predict_live.py | hulsmeier/best_voxelnet_ever | aeefd32711a5c986c6099d53c5a2efdf9e01ea48 | [
"MIT"
] | null | null | null | predict_live.py | hulsmeier/best_voxelnet_ever | aeefd32711a5c986c6099d53c5a2efdf9e01ea48 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding:UTF-8 -*-
import glob
import argparse
import os
import time
import tensorflow.compat.v1 as tf
import socket
import struct
import win32pipe, win32file, pywintypes
from config import cfg
from model import RPN3D
from utils import *
from utils.kitti_loader import iterate_data, sample_... | 31.286996 | 132 | 0.54565 | 713 | 6,977 | 5.154278 | 0.246844 | 0.02449 | 0.026122 | 0.021769 | 0.75483 | 0.75483 | 0.739592 | 0.727619 | 0.727619 | 0.727619 | 0 | 0.015588 | 0.337968 | 6,977 | 223 | 133 | 31.286996 | 0.780039 | 0.612584 | 0 | 0 | 0 | 0 | 0.092379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017241 | false | 0 | 0.206897 | 0 | 0.224138 | 0.034483 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7dcbce74b688ffe7ed28feae607be9ea474e56c7 | 4,441 | py | Python | tests/test_management.py | fsecada01/django-unused-media | ee177edb359e641e010671977fc336880a0a3862 | [
"MIT"
] | 2 | 2021-12-02T11:41:02.000Z | 2021-12-27T12:01:53.000Z | venv/Lib/site-packages/tests/test_management.py | serenasensini/TheRedCode_Docker-per-Django-e-Postgres | 78a2ca1f09ab956a6936d14a5fd99336ff39f472 | [
"BSD-3-Clause"
] | null | null | null | venv/Lib/site-packages/tests/test_management.py | serenasensini/TheRedCode_Docker-per-Django-e-Postgres | 78a2ca1f09ab956a6936d14a5fd99336ff39f472 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import mock
import six
from preggy import expect
from django.core.management import call_command
from .base import BaseTestCase
class TestManagementCommand(BaseTestCase):
def test_command_call(self):
expect(call_command('cleanup_unused_media', interactive=False)).Not.to_be_an_er... | 39.300885 | 97 | 0.677775 | 594 | 4,441 | 4.754209 | 0.148148 | 0.063739 | 0.076487 | 0.084986 | 0.793201 | 0.763456 | 0.759207 | 0.733003 | 0.714943 | 0.695467 | 0 | 0.004425 | 0.185769 | 4,441 | 112 | 98 | 39.651786 | 0.776549 | 0.004729 | 0 | 0.4875 | 0 | 0 | 0.201901 | 0.04708 | 0 | 0 | 0 | 0 | 0.025 | 1 | 0.125 | false | 0 | 0.0625 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
814525ab201eae8cf04fea2013e429ce025ca6dc | 55 | py | Python | prefetch/__init__.py | ValHayot/rollingprefetch | dacb8b5e741461c268d960ace46e22a926a4339f | [
"MIT"
] | 1 | 2021-11-15T22:06:27.000Z | 2021-11-15T22:06:27.000Z | prefetch/__init__.py | ValHayot/rollingprefetch | dacb8b5e741461c268d960ace46e22a926a4339f | [
"MIT"
] | 1 | 2021-07-28T21:47:24.000Z | 2021-08-24T02:52:36.000Z | prefetch/__init__.py | ValHayot/rollingprefetch | dacb8b5e741461c268d960ace46e22a926a4339f | [
"MIT"
] | null | null | null | from .core import S3PrefetchFileSystem, S3PrefetchFile
| 27.5 | 54 | 0.872727 | 5 | 55 | 9.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.090909 | 55 | 1 | 55 | 55 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.