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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
185dc41283e82548903143829cfc418b0348b904 | 44 | py | Python | src/Tiapyp/__init__.py | xRadne/Tiapyp | b5d73da6f6711700de3fd2b3611431fd33a44c35 | [
"MIT"
] | null | null | null | src/Tiapyp/__init__.py | xRadne/Tiapyp | b5d73da6f6711700de3fd2b3611431fd33a44c35 | [
"MIT"
] | null | null | null | src/Tiapyp/__init__.py | xRadne/Tiapyp | b5d73da6f6711700de3fd2b3611431fd33a44c35 | [
"MIT"
] | null | null | null | print("Tiapyp - This is a python package")
| 14.666667 | 42 | 0.704545 | 7 | 44 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 43 | 22 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
43e51b74455a61a286a8965d70d9c4d84c39af29 | 10,034 | py | Python | clif/python/types_test.py | LqNoob/C-Python-interaction | d0c9b1751789f7cc0dad46541eb76518502e47c7 | [
"Apache-2.0"
] | null | null | null | clif/python/types_test.py | LqNoob/C-Python-interaction | d0c9b1751789f7cc0dad46541eb76518502e47c7 | [
"Apache-2.0"
] | null | null | null | clif/python/types_test.py | LqNoob/C-Python-interaction | d0c9b1751789f7cc0dad46541eb76518502e47c7 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... | 44.794643 | 94 | 0.624078 | 1,339 | 10,034 | 4.530993 | 0.136669 | 0.073842 | 0.064612 | 0.096918 | 0.785232 | 0.766771 | 0.744684 | 0.737102 | 0.711719 | 0.706445 | 0 | 0.002685 | 0.183377 | 10,034 | 223 | 95 | 44.995516 | 0.737735 | 0.057704 | 0 | 0.596591 | 0 | 0.011364 | 0.655717 | 0.194659 | 0 | 0 | 0 | 0 | 0.107955 | 1 | 0.056818 | false | 0 | 0.034091 | 0 | 0.107955 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a103996b56d455136cafed766a58b4a1408e5a11 | 24 | py | Python | Python/Tests/TestData/Grammar/AssertStmt.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/Grammar/AssertStmt.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/Grammar/AssertStmt.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | assert 1
assert 1, fob | 12 | 13 | 0.708333 | 6 | 24 | 3 | 0.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.208333 | 24 | 2 | 13 | 12 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a14483336b0f96c4a8ad2eecff15e27b791c597c | 442 | py | Python | src/binwalk/modules/__init__.py | foreni-packages/binwalk- | cdfcfff21b6b4a880d70b7754ad73878b01894c9 | [
"MIT"
] | 1 | 2015-05-04T21:08:20.000Z | 2015-05-04T21:08:20.000Z | src/binwalk/modules/__init__.py | zhao07/binwalk | 99d814a04b183d9f19d8425189a1c20ec8d64d5a | [
"MIT"
] | null | null | null | src/binwalk/modules/__init__.py | zhao07/binwalk | 99d814a04b183d9f19d8425189a1c20ec8d64d5a | [
"MIT"
] | null | null | null | from binwalk.modules.signature import Signature
from binwalk.modules.binvis import Plotter
from binwalk.modules.hexdiff import HexDiff
from binwalk.modules.hashmatch import HashMatch
from binwalk.modules.general import General
from binwalk.modules.extractor import Extractor
from binwalk.modules.entropy import Entropy
f... | 44.2 | 67 | 0.877828 | 54 | 442 | 7.185185 | 0.296296 | 0.255155 | 0.417526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081448 | 442 | 9 | 68 | 49.111111 | 0.955665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 |
a15924251b0a0a573c01eeead4f0057e2b327c67 | 350 | py | Python | rlbox/agents/__init__.py | lgvaz/dqn | b9961a9930b858d42ea69a3e27cad1bbb1ec04c6 | [
"MIT"
] | 5 | 2018-01-12T17:38:30.000Z | 2020-02-29T10:34:43.000Z | rlbox/agents/__init__.py | lgvaz/dqn | b9961a9930b858d42ea69a3e27cad1bbb1ec04c6 | [
"MIT"
] | null | null | null | rlbox/agents/__init__.py | lgvaz/dqn | b9961a9930b858d42ea69a3e27cad1bbb1ec04c6 | [
"MIT"
] | 3 | 2018-09-08T03:26:18.000Z | 2019-07-29T02:53:56.000Z | from rlbox.agents.base_agent import BaseAgent
from rlbox.agents.batch_agent import BatchAgent
from rlbox.agents.replay_agent import ReplayAgent
from rlbox.agents.vanilla_pg_agent import VanillaPGAgent
from rlbox.agents.actor_critic_agent import ActorCriticAgent
from rlbox.agents.ppo_agent import PPOAgent
from rlbox.age... | 43.75 | 60 | 0.88 | 51 | 350 | 5.862745 | 0.411765 | 0.210702 | 0.351171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 350 | 7 | 61 | 50 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 |
a18b010161291f19f1bc49e1122208f31d00948d | 38 | py | Python | elliot/recommender/neural/WideAndDeep/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 175 | 2021-03-04T15:46:25.000Z | 2022-03-31T05:56:58.000Z | elliot/recommender/neural/WideAndDeep/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 15 | 2021-03-06T17:53:56.000Z | 2022-03-24T17:02:07.000Z | elliot/recommender/neural/WideAndDeep/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 39 | 2021-03-04T15:46:26.000Z | 2022-03-09T15:37:12.000Z | from .wide_and_deep import WideAndDeep | 38 | 38 | 0.894737 | 6 | 38 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.914286 | 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 |
b814934636188c21400d9bbfb0e2144112bdf1b5 | 174 | py | Python | src/craterstats/gm/plotting/__init__.py | AndrewAnnex/craterstats | d54ab421b2690a2d061ed59b140012d502fa5636 | [
"BSD-3-Clause"
] | 11 | 2021-03-11T03:58:23.000Z | 2022-02-19T01:19:53.000Z | src/craterstats/gm/plotting/__init__.py | AndrewAnnex/craterstats | d54ab421b2690a2d061ed59b140012d502fa5636 | [
"BSD-3-Clause"
] | 9 | 2021-03-17T16:43:55.000Z | 2021-12-29T21:29:43.000Z | src/craterstats/gm/plotting/__init__.py | AndrewAnnex/craterstats | d54ab421b2690a2d061ed59b140012d502fa5636 | [
"BSD-3-Clause"
] | 6 | 2021-03-18T13:21:22.000Z | 2021-10-31T05:25:43.000Z | # Copyright (c) 2021, Greg Michael
# Licensed under BSD 3-Clause License. See LICENSE.txt for details.
from .ticks import ticks
from .mpl_check_font import mpl_check_font
| 29 | 68 | 0.781609 | 28 | 174 | 4.714286 | 0.75 | 0.121212 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034014 | 0.155172 | 174 | 5 | 69 | 34.8 | 0.863946 | 0.568966 | 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 |
62b340cf15ce5d23cf75702773d9329fb6627a84 | 606 | py | Python | Functions/Scope_of_variable/scope.py | tverma332/python3 | 544c4ec9c726c37293c8da5799f50575cc50852d | [
"MIT"
] | 3 | 2022-03-28T09:10:08.000Z | 2022-03-29T10:47:56.000Z | Functions/Scope_of_variable/scope.py | tverma332/python3 | 544c4ec9c726c37293c8da5799f50575cc50852d | [
"MIT"
] | 1 | 2022-03-27T11:52:58.000Z | 2022-03-27T11:52:58.000Z | Functions/Scope_of_variable/scope.py | tverma332/python3 | 544c4ec9c726c37293c8da5799f50575cc50852d | [
"MIT"
] | null | null | null | def myfunction1():
x = 60 # This is local variable
print("Welcome to Fucntions")
print("x value from func1: ", x)
myfunction2()
return None
def myfunction2():
print("Thank you!!")
print("x value form fucn2:", x)
return None
x = 10 # This is global variable
myfunction1()
# Note : Priority is given to Local va... | 18.9375 | 44 | 0.676568 | 87 | 606 | 4.712644 | 0.310345 | 0.058537 | 0.107317 | 0.082927 | 0.839024 | 0.839024 | 0.839024 | 0.839024 | 0.839024 | 0.62439 | 0 | 0.040816 | 0.191419 | 606 | 32 | 45 | 18.9375 | 0.795918 | 0.146865 | 0 | 0.166667 | 0 | 0 | 0.29661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 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 |
62b552ad7b71be78fe190cc0c4a4f6fd3cf2f8af | 137 | py | Python | UC. Curso em Aula/Pasta III/A9D5.py | Shezkycg/Estudando_Python | 6c3832815b3e86cd80cf3c4fabec1c9cc03601dd | [
"MIT"
] | null | null | null | UC. Curso em Aula/Pasta III/A9D5.py | Shezkycg/Estudando_Python | 6c3832815b3e86cd80cf3c4fabec1c9cc03601dd | [
"MIT"
] | null | null | null | UC. Curso em Aula/Pasta III/A9D5.py | Shezkycg/Estudando_Python | 6c3832815b3e86cd80cf3c4fabec1c9cc03601dd | [
"MIT"
] | null | null | null | frase = input('Digite a frase: ').strip()
print(frase.lower().count('a'))
print(frase.lower().find('a'))
print(frase.lower().rfind('a')) | 27.4 | 41 | 0.649635 | 21 | 137 | 4.238095 | 0.47619 | 0.337079 | 0.505618 | 0.359551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065693 | 137 | 5 | 42 | 27.4 | 0.695313 | 0 | 0 | 0 | 0 | 0 | 0.137681 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 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 |
62e80e94345de2fec70934a153da940cbf9dcb46 | 37 | py | Python | timelog/__init__.py | mabdelhack/timelogging | 5f26b044a9bd4440a0fb0b14dce62d75179e7e92 | [
"MIT"
] | null | null | null | timelog/__init__.py | mabdelhack/timelogging | 5f26b044a9bd4440a0fb0b14dce62d75179e7e92 | [
"MIT"
] | null | null | null | timelog/__init__.py | mabdelhack/timelogging | 5f26b044a9bd4440a0fb0b14dce62d75179e7e92 | [
"MIT"
] | null | null | null | from .timelogging import timelogging
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 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 |
1a0c39251af0b0fbcb07d8d9eb7d98e7ab4ef069 | 101 | py | Python | PythonHelper/__init__.py | spidertyler2005/PythonHelper | 0010f08ed1b97b00d8d4390dbaef702b72d24e47 | [
"MIT"
] | null | null | null | PythonHelper/__init__.py | spidertyler2005/PythonHelper | 0010f08ed1b97b00d8d4390dbaef702b72d24e47 | [
"MIT"
] | null | null | null | PythonHelper/__init__.py | spidertyler2005/PythonHelper | 0010f08ed1b97b00d8d4390dbaef702b72d24e47 | [
"MIT"
] | null | null | null | import PythonHelper.Clock
import PythonHelper.modifiedTools
print("Thanks for using python Helper!") | 25.25 | 40 | 0.841584 | 12 | 101 | 7.083333 | 0.833333 | 0.423529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089109 | 101 | 4 | 40 | 25.25 | 0.923913 | 0 | 0 | 0 | 0 | 0 | 0.303922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1a2032cf53c5836ee854b23a12499ce13197136b | 595 | py | Python | bfcm/__init__.py | jiyucho9145/bfcm | 448597b9978adb973cf73a674e0ec8c3e2a1de2f | [
"MIT"
] | null | null | null | bfcm/__init__.py | jiyucho9145/bfcm | 448597b9978adb973cf73a674e0ec8c3e2a1de2f | [
"MIT"
] | null | null | null | bfcm/__init__.py | jiyucho9145/bfcm | 448597b9978adb973cf73a674e0ec8c3e2a1de2f | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# _*_ coding: utf-8 _*_
from bfcm.data import ConfigManager
from bfcm.data import ContentProfile
from bfcm.data import Event
from bfcm.data import MailProfile
from bfcm.data import MailProfileSet
from bfcm.data import MeasurableSet
from bfcm.data import Model
from bfcm.data import Probability
from b... | 29.75 | 38 | 0.836975 | 86 | 595 | 5.744186 | 0.313953 | 0.259109 | 0.267206 | 0.40081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003817 | 0.119328 | 595 | 19 | 39 | 31.315789 | 0.938931 | 0.065546 | 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 |
a7f4f877685f7448054eba9329867c633b81b49b | 38,204 | py | Python | src/MAT/test/mat_experiment_unittest.py | wake-forest-ctsi/mist-toolkit | 857e91976fa3b75ef2cad08612fa79cf2f743615 | [
"BSD-3-Clause"
] | 2 | 2019-10-18T18:19:09.000Z | 2020-10-23T17:38:15.000Z | scrubber/MIST_2_0_4/src/MAT/test/mat_experiment_unittest.py | manaswini18/DmD | dd1e865ddb7b43c8478b2b5733385143b1980951 | [
"Apache-2.0"
] | null | null | null | scrubber/MIST_2_0_4/src/MAT/test/mat_experiment_unittest.py | manaswini18/DmD | dd1e865ddb7b43c8478b2b5733385143b1980951 | [
"Apache-2.0"
] | 9 | 2016-12-17T22:50:37.000Z | 2020-09-26T01:08:06.000Z | # Copyright (C) 2007 - 2009 The MITRE Corporation. See the toplevel
# file LICENSE for license terms.
from mat_unittest_resources import CmdlinePluginContextTestCase, PluginContextTestCase, \
CmdlinePluginContextTestCaseWithTeardown
import MAT
import os, shutil
# Test the experiment engine. We have to make s... | 45.643967 | 121 | 0.577767 | 4,034 | 38,204 | 5.354239 | 0.10114 | 0.028612 | 0.047687 | 0.033057 | 0.788555 | 0.775453 | 0.759156 | 0.737025 | 0.728367 | 0.699801 | 0 | 0.006805 | 0.292221 | 38,204 | 836 | 122 | 45.698565 | 0.791975 | 0.072322 | 0 | 0.768025 | 0 | 0 | 0.227111 | 0.091161 | 0 | 0 | 0 | 0 | 0.061129 | 1 | 0.037618 | false | 0.003135 | 0.037618 | 0 | 0.125392 | 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 |
c534c271a007791fab45a2a6697cf21a5d6f1444 | 1,775 | py | Python | projeto-pratico-02-2019-01-paulosell/dadostabela.py | paulosell/BCD29008 | dffefd711fcaee6ba26d7a62d3af8600df03985f | [
"MIT"
] | null | null | null | projeto-pratico-02-2019-01-paulosell/dadostabela.py | paulosell/BCD29008 | dffefd711fcaee6ba26d7a62d3af8600df03985f | [
"MIT"
] | null | null | null | projeto-pratico-02-2019-01-paulosell/dadostabela.py | paulosell/BCD29008 | dffefd711fcaee6ba26d7a62d3af8600df03985f | [
"MIT"
] | 2 | 2021-04-22T22:38:08.000Z | 2021-05-08T22:25:21.000Z | # other column settings -> http://bootstrap-table.wenzhixin.net.cn/documentation/#column-options
columns_criar_eleicao = [
{
"field": "pessoa", # which is the field's name of data key
"title": "Pessoa", # display as the table header's name]
"sortable":True
},
{
"field": "... | 23.986486 | 96 | 0.572394 | 226 | 1,775 | 4.460177 | 0.163717 | 0.089286 | 0.089286 | 0.133929 | 0.944444 | 0.944444 | 0.944444 | 0.944444 | 0.944444 | 0.944444 | 0 | 0 | 0.306479 | 1,775 | 73 | 97 | 24.315068 | 0.818846 | 0.47831 | 0 | 0.387755 | 0 | 0 | 0.251663 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
c54763078a83f04e277528daafd006346c5e2690 | 763 | py | Python | ML/Pytorch/object_detection/YOLO/data/generate_csv.py | xuyannus/Machine-Learning-Collection | 6d5dcd18d4e40f90e77355d56a2902e4c617ecbe | [
"MIT"
] | 3,094 | 2020-09-20T04:34:31.000Z | 2022-03-31T23:59:46.000Z | ML/Pytorch/object_detection/YOLO/data/generate_csv.py | Mubasshir-Ali/Machine-Learning-Collection | ee0b0f0718fac7810bb660713618605c58eb282e | [
"MIT"
] | 79 | 2020-09-24T08:54:17.000Z | 2022-03-30T14:45:08.000Z | ML/Pytorch/object_detection/YOLO/data/generate_csv.py | Mubasshir-Ali/Machine-Learning-Collection | ee0b0f0718fac7810bb660713618605c58eb282e | [
"MIT"
] | 1,529 | 2020-09-20T16:21:21.000Z | 2022-03-31T21:16:25.000Z | import os
import csv
read_train = open("train.txt", "r").readlines()
with open("train.csv", mode="w", newline="") as train_file:
for line in read_train:
image_file = line.split("/")[-1].replace("\n", "")
text_file = image_file.replace(".jpg", ".txt")
data = [image_file, text_file]... | 33.173913 | 60 | 0.588467 | 102 | 763 | 4.22549 | 0.284314 | 0.12529 | 0.060325 | 0.078886 | 0.858469 | 0.761021 | 0.761021 | 0.761021 | 0.761021 | 0.761021 | 0 | 0.003419 | 0.23329 | 763 | 22 | 61 | 34.681818 | 0.733333 | 0 | 0 | 0.666667 | 0 | 0 | 0.080972 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 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 |
c565bcfa628565d6337dc37881e82d52134a5aa8 | 99 | py | Python | searchRequestion/searchIssue/toolsAPI/views.py | jiangwenfan/pythonScripts | c9004944f162af575e111522f98d4de4f59885e6 | [
"Apache-2.0"
] | null | null | null | searchRequestion/searchIssue/toolsAPI/views.py | jiangwenfan/pythonScripts | c9004944f162af575e111522f98d4de4f59885e6 | [
"Apache-2.0"
] | null | null | null | searchRequestion/searchIssue/toolsAPI/views.py | jiangwenfan/pythonScripts | c9004944f162af575e111522f98d4de4f59885e6 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def getProxyInfo(request):
pass | 16.5 | 35 | 0.767677 | 13 | 99 | 5.846154 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171717 | 99 | 6 | 36 | 16.5 | 0.926829 | 0.232323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c5734b33a5b58fdfcf033a8431e81cc3ce6f28f8 | 11,964 | py | Python | ee/api/test/test_dashboard_collaborators.py | msnitish/posthog | cb86113f568e72eedcb64b5fd00c313d21e72f90 | [
"MIT"
] | null | null | null | ee/api/test/test_dashboard_collaborators.py | msnitish/posthog | cb86113f568e72eedcb64b5fd00c313d21e72f90 | [
"MIT"
] | null | null | null | ee/api/test/test_dashboard_collaborators.py | msnitish/posthog | cb86113f568e72eedcb64b5fd00c313d21e72f90 | [
"MIT"
] | null | null | null | from rest_framework import status
from ee.api.test.base import APILicensedTest
from ee.models.dashboard_privilege import DashboardPrivilege
from posthog.models import Dashboard, OrganizationMembership, User
class TestDashboardCollaboratorsAPI(APILicensedTest):
test_dashboard: Dashboard
def setUp(self):
... | 51.128205 | 127 | 0.722334 | 1,376 | 11,964 | 5.992006 | 0.106831 | 0.088296 | 0.113402 | 0.060158 | 0.890722 | 0.863432 | 0.841601 | 0.815888 | 0.808975 | 0.790297 | 0 | 0.004294 | 0.18238 | 11,964 | 233 | 128 | 51.347639 | 0.838581 | 0.008693 | 0 | 0.630769 | 0 | 0.05641 | 0.151543 | 0.092933 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.061538 | false | 0 | 0.020513 | 0 | 0.092308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3d8e3ea326521edd387736a7f2cf4db101391480 | 261 | py | Python | tests/utils.py | dnerdy/namesync | 004c5968968e9db82ca8cd16ace8f59088e3e570 | [
"MIT"
] | 9 | 2015-01-14T21:31:11.000Z | 2020-05-08T23:39:07.000Z | tests/utils.py | dnerdy/namesync | 004c5968968e9db82ca8cd16ace8f59088e3e570 | [
"MIT"
] | 1 | 2015-01-14T21:30:58.000Z | 2015-08-11T22:28:04.000Z | tests/utils.py | dnerdy/namesync | 004c5968968e9db82ca8cd16ace8f59088e3e570 | [
"MIT"
] | 2 | 2015-01-16T21:35:42.000Z | 2020-06-18T18:59:10.000Z | import os
def fixture_path(*path_components):
return os.path.abspath(os.path.join(os.path.dirname(__file__), 'fixtures', *path_components))
def fixture_content(*path_components):
with open(fixture_path(*path_components)) as f:
return f.read()
| 29 | 97 | 0.739464 | 37 | 261 | 4.918919 | 0.486486 | 0.307692 | 0.164835 | 0.274725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130268 | 261 | 8 | 98 | 32.625 | 0.801762 | 0 | 0 | 0 | 0 | 0 | 0.030651 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
3df41fc10265b2e495a5686d5b9096f673cb5e22 | 193 | py | Python | bazaar/listings/signals.py | meghabhoj/NEWBAZAAR | cb1405dcb2c8b4812ddf724d5a3c07b2f77c1b34 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | bazaar/listings/signals.py | meghabhoj/NEWBAZAAR | cb1405dcb2c8b4812ddf724d5a3c07b2f77c1b34 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | bazaar/listings/signals.py | meghabhoj/NEWBAZAAR | cb1405dcb2c8b4812ddf724d5a3c07b2f77c1b34 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from __future__ import absolute_import
from __future__ import unicode_literals
from ..compat import post_migrate
from .stores.config import create_stores
post_migrate.connect(create_stores)
| 21.444444 | 40 | 0.860104 | 26 | 193 | 5.846154 | 0.5 | 0.131579 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103627 | 193 | 8 | 41 | 24.125 | 0.878613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 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 |
9ad048c609cb87fb1bed4cefee7f1060af4bbc6f | 6,773 | py | Python | gcn/metrics.py | discovershu/gcn_uncertainty_and_cotrain | ea88b065e2d0936f837cc92e9efc4798ea5c08f1 | [
"MIT"
] | 1 | 2019-05-09T04:24:46.000Z | 2019-05-09T04:24:46.000Z | gcn/metrics.py | discovershu/gcn_uncertainty_and_cotrain | ea88b065e2d0936f837cc92e9efc4798ea5c08f1 | [
"MIT"
] | null | null | null | gcn/metrics.py | discovershu/gcn_uncertainty_and_cotrain | ea88b065e2d0936f837cc92e9efc4798ea5c08f1 | [
"MIT"
] | null | null | null | import tensorflow as tf
import numpy as np
def masked_softmax_cross_entropy(preds, labels, mask):
"""Softmax cross-entropy loss with masking."""
loss = tf.nn.softmax_cross_entropy_with_logits(logits=preds, labels=labels)
mask = tf.cast(mask, dtype=tf.float32)
mask /= tf.reduce_mean(mask)
loss *= m... | 37.627778 | 110 | 0.65392 | 1,101 | 6,773 | 3.889192 | 0.078111 | 0.100887 | 0.064456 | 0.058851 | 0.858244 | 0.82695 | 0.790752 | 0.789584 | 0.756422 | 0.705278 | 0 | 0.028571 | 0.193858 | 6,773 | 179 | 111 | 37.837989 | 0.755678 | 0.186328 | 0 | 0.648855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114504 | false | 0 | 0.015267 | 0 | 0.244275 | 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 |
9ad8ed634c44bede87c3722a8457eb97cb41e183 | 6,801 | py | Python | test/test_auth.py | SAEON/Open-Data-Platform | 8509c39c6f65ba18518e825e2359213ec4c67af5 | [
"MIT"
] | null | null | null | test/test_auth.py | SAEON/Open-Data-Platform | 8509c39c6f65ba18518e825e2359213ec4c67af5 | [
"MIT"
] | null | null | null | test/test_auth.py | SAEON/Open-Data-Platform | 8509c39c6f65ba18518e825e2359213ec4c67af5 | [
"MIT"
] | null | null | null | from odp.lib.auth import get_user_permissions, get_client_permissions, Permissions, get_user_info, UserInfo
from test.factories import ScopeFactory, ClientFactory, RoleFactory, UserFactory
def assert_compare(expected: Permissions, actual: Permissions):
if expected == actual:
return
expected = {
... | 32.697115 | 107 | 0.67593 | 888 | 6,801 | 4.922297 | 0.073198 | 0.036605 | 0.047586 | 0.045756 | 0.895447 | 0.88927 | 0.846946 | 0.840082 | 0.835736 | 0.796843 | 0 | 0.022326 | 0.216292 | 6,801 | 207 | 108 | 32.855072 | 0.797749 | 0 | 0 | 0.691429 | 0 | 0 | 0.003529 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 1 | 0.051429 | false | 0 | 0.011429 | 0 | 0.068571 | 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 |
9adf5f6a6a3bde992f968d398ce770b3a83eb927 | 20,147 | py | Python | CellProfiler/tests/modules/test_measureimageintensity.py | aidotse/Team-rahma.ai | 66857731e1ca2472e0783e37ba472b55a7ac9cd4 | [
"MIT"
] | null | null | null | CellProfiler/tests/modules/test_measureimageintensity.py | aidotse/Team-rahma.ai | 66857731e1ca2472e0783e37ba472b55a7ac9cd4 | [
"MIT"
] | null | null | null | CellProfiler/tests/modules/test_measureimageintensity.py | aidotse/Team-rahma.ai | 66857731e1ca2472e0783e37ba472b55a7ac9cd4 | [
"MIT"
] | null | null | null | import numpy
import numpy.testing
import pytest
import skimage.morphology
import cellprofiler_core.image
import cellprofiler_core.measurement
import cellprofiler_core.module
from cellprofiler_core.constants.measurement import COLTYPE_FLOAT, COLTYPE_INTEGER
import cellprofiler.modules.measureimageintensity
import cel... | 28.905308 | 87 | 0.628878 | 2,078 | 20,147 | 5.833494 | 0.077478 | 0.051147 | 0.095694 | 0.091322 | 0.867101 | 0.825771 | 0.809025 | 0.789886 | 0.739152 | 0.698235 | 0 | 0.031732 | 0.275773 | 20,147 | 697 | 88 | 28.905308 | 0.799054 | 0.017025 | 0 | 0.649123 | 0 | 0 | 0.168074 | 0.149871 | 0 | 0 | 0 | 0 | 0.072125 | 1 | 0.035088 | false | 0 | 0.025341 | 0.003899 | 0.070175 | 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 |
9aece550336fa272634b2af9aadce2bd26f3cb75 | 2,493 | py | Python | data_helper/MNIST.py | acmi-lab/PU_learning | a9174bda92c7411906056c789011cfa41749ee5f | [
"Apache-2.0"
] | 18 | 2021-11-04T02:26:47.000Z | 2022-03-15T04:41:18.000Z | data_helper/MNIST.py | acmi-lab/PU_learning | a9174bda92c7411906056c789011cfa41749ee5f | [
"Apache-2.0"
] | null | null | null | data_helper/MNIST.py | acmi-lab/PU_learning | a9174bda92c7411906056c789011cfa41749ee5f | [
"Apache-2.0"
] | 1 | 2022-01-14T03:22:37.000Z | 2022-01-14T03:22:37.000Z | import numpy as np
import torchvision
class BinarizedMNISTData(torchvision.datasets.MNIST):
def __init__(self, root, train=True, transform=None, target_transform=None,
download=True):
super().__init__( root, train, transform, target_transform,
download)
targets =... | 32.376623 | 106 | 0.624148 | 340 | 2,493 | 4.276471 | 0.123529 | 0.058459 | 0.068088 | 0.081843 | 0.856946 | 0.844567 | 0.716644 | 0.716644 | 0.715268 | 0.715268 | 0 | 0.011284 | 0.25351 | 2,493 | 76 | 107 | 32.802632 | 0.770016 | 0 | 0 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.039216 | 0.058824 | 0.27451 | 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 |
b114be7e75d73ae83a9fd27caa485b2da1534f58 | 689 | py | Python | server/processes/views/__init__.py | CloudReactor/task_manager | 464ca74371064fabb9a21b1f5bacba30360932ab | [
"Fair"
] | null | null | null | server/processes/views/__init__.py | CloudReactor/task_manager | 464ca74371064fabb9a21b1f5bacba30360932ab | [
"Fair"
] | 6 | 2021-11-01T01:35:40.000Z | 2022-02-11T03:33:06.000Z | server/processes/views/__init__.py | CloudReactor/task_manager | 464ca74371064fabb9a21b1f5bacba30360932ab | [
"Fair"
] | null | null | null | from .group_view_set import *
from .user_view_set import *
from .group_membership_view_set import *
from .invitation_view_set import *
from .alert_method_view_set import *
from .email_notification_profile_view_set import *
from .pagerduty_profile_view_set import *
from .task_view_set import *
from .task_executi... | 36.263158 | 51 | 0.817126 | 101 | 689 | 5.108911 | 0.267327 | 0.329457 | 0.377907 | 0.494186 | 0.403101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130624 | 689 | 18 | 52 | 38.277778 | 0.861436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b15778650ca7e2c73536170415ac9de13d78efeb | 2,365 | py | Python | UCTB/evaluation/metric.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | 3 | 2021-06-29T06:18:18.000Z | 2021-09-07T03:11:35.000Z | UCTB/evaluation/metric.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | null | null | null | UCTB/evaluation/metric.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | null | null | null | import numpy as np
def rmse(prediction, target, threshold=None):
"""
Args:
prediction(ndarray): prediction with shape [batch_size, ...]
target(ndarray): same shape with prediction, [batch_size, ...]
threshold(float): data smaller or equal to threshold in target
will be remo... | 42.232143 | 142 | 0.612685 | 296 | 2,365 | 4.868243 | 0.168919 | 0.145732 | 0.086745 | 0.069396 | 0.800139 | 0.722415 | 0.705066 | 0.705066 | 0.645385 | 0.614851 | 0 | 0.016219 | 0.243975 | 2,365 | 56 | 143 | 42.232143 | 0.789709 | 0.566596 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.1875 | false | 0 | 0.0625 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b159fba63f577b711287af57f6e0c9cec8c1c13d | 79,394 | py | Python | tests/simulations/system/test_system_vav.py | john-grando/pyExpandObjects | c08b1d1bc45684bc71c0f49b4d2f22c707cd4aa4 | [
"BSD-3-Clause"
] | null | null | null | tests/simulations/system/test_system_vav.py | john-grando/pyExpandObjects | c08b1d1bc45684bc71c0f49b4d2f22c707cd4aa4 | [
"BSD-3-Clause"
] | 1 | 2021-02-03T01:56:56.000Z | 2021-02-03T01:56:56.000Z | tests/simulations/system/test_system_vav.py | john-grando/pyExpandObjects | c08b1d1bc45684bc71c0f49b4d2f22c707cd4aa4 | [
"BSD-3-Clause"
] | 1 | 2022-01-11T18:31:05.000Z | 2022-01-11T18:31:05.000Z | from pathlib import Path
from tests.simulations import BaseSimulationTest
from src.epjson_handler import EPJSON
test_dir = Path(__file__).parent.parent.parent
schedule_objects = {
"Schedule:Compact": {
"Always0.8": {
"data": [
{
"field": "Through: 12/31"
... | 57.531884 | 121 | 0.678804 | 9,508 | 79,394 | 5.25915 | 0.034708 | 0.039037 | 0.033177 | 0.068115 | 0.941305 | 0.919986 | 0.910847 | 0.897968 | 0.891089 | 0.87763 | 0 | 0.011372 | 0.210306 | 79,394 | 1,379 | 122 | 57.573604 | 0.786178 | 0.007331 | 0 | 0.670039 | 0 | 0 | 0.340368 | 0.228481 | 0 | 0 | 0 | 0.000725 | 0.087938 | 1 | 0.063813 | false | 0 | 0.002335 | 0.000778 | 0.130739 | 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 |
b1653aaab88a517a6672b62538d764943cd4c683 | 127 | py | Python | tools/third_party/pytest/doc/en/example/costlysetup/sub_b/test_two.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 9 | 2019-04-01T10:57:10.000Z | 2021-12-02T11:12:06.000Z | tools/third_party/pytest/doc/en/example/costlysetup/sub_b/test_two.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 33 | 2019-03-21T10:18:37.000Z | 2022-03-23T13:21:40.000Z | tools/third_party/pytest/doc/en/example/costlysetup/sub_b/test_two.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 11 | 2019-04-12T01:20:16.000Z | 2021-11-23T17:25:02.000Z | def test_something(setup):
assert setup.timecostly == 1
def test_something_more(setup):
assert setup.timecostly == 1
| 18.142857 | 32 | 0.732283 | 17 | 127 | 5.294118 | 0.470588 | 0.155556 | 0.355556 | 0.577778 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.173228 | 127 | 6 | 33 | 21.166667 | 0.838095 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b177b47a980e05eaf0e00d13f6566df50f48e3fa | 228 | py | Python | api/tacticalrmm/agents/admin.py | rfost52/tacticalrmm | 44dd59fa3f530e7cf6730ef44606fa869c8cd222 | [
"MIT"
] | 2 | 2021-04-29T13:34:07.000Z | 2021-04-29T13:34:11.000Z | api/tacticalrmm/agents/admin.py | rfost52/tacticalrmm | 44dd59fa3f530e7cf6730ef44606fa869c8cd222 | [
"MIT"
] | null | null | null | api/tacticalrmm/agents/admin.py | rfost52/tacticalrmm | 44dd59fa3f530e7cf6730ef44606fa869c8cd222 | [
"MIT"
] | 1 | 2021-04-12T03:17:30.000Z | 2021-04-12T03:17:30.000Z | from django.contrib import admin
from .models import Agent, AgentCustomField, Note, RecoveryAction
admin.site.register(Agent)
admin.site.register(RecoveryAction)
admin.site.register(Note)
admin.site.register(AgentCustomField)
| 25.333333 | 65 | 0.833333 | 28 | 228 | 6.785714 | 0.428571 | 0.189474 | 0.357895 | 0.326316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074561 | 228 | 8 | 66 | 28.5 | 0.900474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b198f3e772418321b5632c3c68e48eda86122b8c | 327 | py | Python | successor/skaters/scalarskaters/scalarsimpleskaters.py | microprediction/successor | 80f61a59c93d45cff2851f8048fda5378bd05c4c | [
"MIT"
] | null | null | null | successor/skaters/scalarskaters/scalarsimpleskaters.py | microprediction/successor | 80f61a59c93d45cff2851f8048fda5378bd05c4c | [
"MIT"
] | null | null | null | successor/skaters/scalarskaters/scalarsimpleskaters.py | microprediction/successor | 80f61a59c93d45cff2851f8048fda5378bd05c4c | [
"MIT"
] | 1 | 2021-12-19T16:01:49.000Z | 2021-12-19T16:01:49.000Z | from successor.skaters.scalarskaters.scalarskaterfactory import scaler_skater_factory
def suc_quick_aggressive_ema_ensemble(y,s,k,a=None,t=None,e=None,r=None):
return scaler_skater_factory(y=y,s=s,k=k,skater_name='quick_aggressive_ema_ensemble',n_input=160)
SCALAR_SIMPLE_SKATERS = [suc_quick_aggressive_ema_ense... | 32.7 | 101 | 0.840979 | 53 | 327 | 4.830189 | 0.566038 | 0.175781 | 0.210938 | 0.304688 | 0.226563 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009772 | 0.061162 | 327 | 9 | 102 | 36.333333 | 0.824104 | 0 | 0 | 0 | 0 | 0 | 0.088957 | 0.088957 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
49181c48be2e79423d0f57a1c2daebec5e095e37 | 35 | py | Python | Number.py | kukwon/sample_60182213 | 93a29f2cabab2172c47a9be0f84435f08cbcb9b3 | [
"MIT"
] | null | null | null | Number.py | kukwon/sample_60182213 | 93a29f2cabab2172c47a9be0f84435f08cbcb9b3 | [
"MIT"
] | null | null | null | Number.py | kukwon/sample_60182213 | 93a29f2cabab2172c47a9be0f84435f08cbcb9b3 | [
"MIT"
] | null | null | null | print("60182213")
print("add line") | 17.5 | 17 | 0.714286 | 5 | 35 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 0.057143 | 35 | 2 | 18 | 17.5 | 0.515152 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
49341ee1088860e23b92b77d181805e3e9e503cd | 270 | py | Python | store/views/__init__.py | abhishek-nigam/ecommerce-store-uniforms | b81bb3c2730892ae19dfdfc5c4849cf717c38aa6 | [
"MIT"
] | 1 | 2019-10-02T09:11:50.000Z | 2019-10-02T09:11:50.000Z | store/views/__init__.py | abhishek-nigam/ecommerce-store-uniforms | b81bb3c2730892ae19dfdfc5c4849cf717c38aa6 | [
"MIT"
] | 5 | 2021-04-08T18:35:08.000Z | 2022-02-10T07:30:27.000Z | store/views/__init__.py | abhishek-nigam/ecommerce-store-uniforms | b81bb3c2730892ae19dfdfc5c4849cf717c38aa6 | [
"MIT"
] | 1 | 2019-05-17T23:06:32.000Z | 2019-05-17T23:06:32.000Z | from .product_views import *
from .order_views import *
from .cart_views import *
from .manage_school_views import *
from .manage_category_views import *
from .manage_product_views import *
from .manage_product_instance_views import *
from .manage_order_views import * | 27 | 44 | 0.818519 | 38 | 270 | 5.447368 | 0.263158 | 0.425121 | 0.507246 | 0.507246 | 0.270531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 270 | 10 | 45 | 27 | 0.873418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
49499a06dd73e472c236f11d77cacc664ea23abb | 1,465 | py | Python | integration_tests/test_i18n.py | FlexiGroBots-H2020/datacube-ows | 8e3e1343582c00ae46b498247ac98d8e98bd000f | [
"Apache-2.0"
] | null | null | null | integration_tests/test_i18n.py | FlexiGroBots-H2020/datacube-ows | 8e3e1343582c00ae46b498247ac98d8e98bd000f | [
"Apache-2.0"
] | null | null | null | integration_tests/test_i18n.py | FlexiGroBots-H2020/datacube-ows | 8e3e1343582c00ae46b498247ac98d8e98bd000f | [
"Apache-2.0"
] | null | null | null | import requests
def test_wms_i18n(ows_server):
resp = requests.get(
ows_server.url + "/wms?request=GetCapabilities&service=WMS&version=1.3.0",
timeout=10,
headers={"Accept-Language": "de"}
)
# Confirm success
assert "German translation" in resp.text
def test_wcs1_i18n(ows_serv... | 28.72549 | 122 | 0.663481 | 189 | 1,465 | 4.984127 | 0.232804 | 0.095541 | 0.069002 | 0.090234 | 0.927813 | 0.927813 | 0.900212 | 0.900212 | 0.900212 | 0.857749 | 0 | 0.037197 | 0.210922 | 1,465 | 50 | 123 | 29.3 | 0.777682 | 0.053925 | 0 | 0.555556 | 0 | 0.055556 | 0.361594 | 0.253623 | 0 | 0 | 0 | 0 | 0.138889 | 1 | 0.138889 | false | 0 | 0.027778 | 0 | 0.166667 | 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 |
49620461d23a4c4fb72e6a54461aba3d6e2501c5 | 139 | py | Python | hello-world.py | hisplan/py-packaging-template | 1ffc8c4f834959b781039cbecc8fc6d79f5ba9fe | [
"MIT"
] | null | null | null | hello-world.py | hisplan/py-packaging-template | 1ffc8c4f834959b781039cbecc8fc6d79f5ba9fe | [
"MIT"
] | null | null | null | hello-world.py | hisplan/py-packaging-template | 1ffc8c4f834959b781039cbecc8fc6d79f5ba9fe | [
"MIT"
] | null | null | null | from MyPackage.pkg1 import hello as h1
from MyPackage.pkg2 import hello as h2
if __name__ == "__main__":
print h1.foo()
print h2.bar()
| 17.375 | 38 | 0.733813 | 23 | 139 | 4.086957 | 0.652174 | 0.276596 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052174 | 0.172662 | 139 | 7 | 39 | 19.857143 | 0.765217 | 0 | 0 | 0 | 0 | 0 | 0.057554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
498f929ad75fe320650b0aa2cde7765252368b0f | 203 | py | Python | test/navigator_test/navigator_test_lib/test_unit.py | jaxnb/NaviGator | 2edb85cf5eab38f62132b3f467814516d2bb05f3 | [
"MIT"
] | 27 | 2020-02-17T21:54:09.000Z | 2022-03-18T17:49:23.000Z | test/navigator_test/navigator_test_lib/test_unit.py | jaxnb/NaviGator | 2edb85cf5eab38f62132b3f467814516d2bb05f3 | [
"MIT"
] | 325 | 2019-09-11T14:13:56.000Z | 2022-03-31T00:38:30.000Z | test/navigator_test/navigator_test_lib/test_unit.py | ericgorday/NaviGator | cc929a8609d7a416d0b8c9a95059e296f669464a | [
"MIT"
] | 24 | 2019-09-16T00:29:45.000Z | 2022-03-06T10:56:38.000Z | import abc
class TestUnit(object):
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
def create_spoofs(self):
return
@abc.abstractmethod
def run_tests(self):
return
| 14.5 | 31 | 0.655172 | 22 | 203 | 5.772727 | 0.681818 | 0.267717 | 0.314961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270936 | 203 | 13 | 32 | 15.615385 | 0.858108 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.222222 | 0.777778 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b8d87a356e1ae78c029243249edfbc943149941d | 218 | py | Python | tests/applications/test_monotonic_stack.py | kigawas/algo-py | ca5ac3f1be47a1b89bb68f376501832e975c125b | [
"MIT"
] | null | null | null | tests/applications/test_monotonic_stack.py | kigawas/algo-py | ca5ac3f1be47a1b89bb68f376501832e975c125b | [
"MIT"
] | null | null | null | tests/applications/test_monotonic_stack.py | kigawas/algo-py | ca5ac3f1be47a1b89bb68f376501832e975c125b | [
"MIT"
] | null | null | null | from algo.applications import sum_of_subarray_minimums
def test_sum_of_subarray_minimums():
assert 17 == sum_of_subarray_minimums.solve([3, 1, 2, 4])
assert 20 == sum_of_subarray_minimums.solve([1, 2, 3, 4])
| 31.142857 | 61 | 0.752294 | 36 | 218 | 4.194444 | 0.5 | 0.13245 | 0.344371 | 0.556291 | 0.344371 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.137615 | 218 | 6 | 62 | 36.333333 | 0.739362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b8eb9db49824c2974630a5cebdd4ba713a86caf9 | 3,905 | py | Python | playbook.py | TerrifiedBug/jimiPlugin-playbook | afb68e8b5dffa3b817ea9a37320817b926bf76cb | [
"Apache-2.0"
] | null | null | null | playbook.py | TerrifiedBug/jimiPlugin-playbook | afb68e8b5dffa3b817ea9a37320817b926bf76cb | [
"Apache-2.0"
] | null | null | null | playbook.py | TerrifiedBug/jimiPlugin-playbook | afb68e8b5dffa3b817ea9a37320817b926bf76cb | [
"Apache-2.0"
] | null | null | null | from plugins.playbook.models import playbook as pb
from core import plugin, model
class _playbook(plugin._plugin):
version = 1.47
def install(self):
# Register models
model.registerModel("playbook","_playbook","_document","plugins.playbook.models.playbook",True)
model.registerModel("p... | 68.508772 | 122 | 0.717798 | 355 | 3,905 | 7.704225 | 0.149296 | 0.153565 | 0.214991 | 0.227057 | 0.863985 | 0.85192 | 0.85192 | 0.746984 | 0.530896 | 0.201828 | 0 | 0.006797 | 0.133419 | 3,905 | 57 | 123 | 68.508772 | 0.801418 | 0.008451 | 0 | 0.46 | 0 | 0 | 0.488114 | 0.22739 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06 | false | 0 | 0.04 | 0 | 0.2 | 0.04 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
770867a7f200e38841c23114e71cc1fecbba0047 | 408 | py | Python | odf/__init__.py | steven-hh-ding/OD1NF1ST | 730d8690d745f80dcda6deb27a424b5254243de8 | [
"Apache-2.0"
] | null | null | null | odf/__init__.py | steven-hh-ding/OD1NF1ST | 730d8690d745f80dcda6deb27a424b5254243de8 | [
"Apache-2.0"
] | 1 | 2021-11-16T20:18:58.000Z | 2021-11-16T20:18:58.000Z | odf/__init__.py | steven-hh-ding/OD1NF1ST | 730d8690d745f80dcda6deb27a424b5254243de8 | [
"Apache-2.0"
] | 1 | 2021-11-16T00:42:48.000Z | 2021-11-16T00:42:48.000Z | from odf.sabotage.Attack_1 import *
from odf.sabotage.Attack_2 import *
from odf.sabotage.Attack_3 import *
from odf.sabotage.Attack_4 import *
from odf.sabotage.Attack_5 import *
from odf.sabotage.Attack_6 import *
from odf.sabotage.Attack_7 import *
from odf.sabotage.Attack_8 import *
from odf.sabotage.Attack_9 impor... | 31.384615 | 36 | 0.79902 | 68 | 408 | 4.647059 | 0.25 | 0.265823 | 0.452532 | 0.664557 | 0.768987 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030556 | 0.117647 | 408 | 12 | 37 | 34 | 0.847222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
77201221b251c0149b254823fe0390fdcacd9210 | 27 | py | Python | bot/middlewares/__init__.py | TheDeaX-Lab/vkpy-exam-bot | 38f5c8a6046d45167fbc9326e56725ce40792500 | [
"MIT"
] | 24 | 2019-09-13T15:30:09.000Z | 2022-03-09T06:35:59.000Z | bot/middlewares/__init__.py | TheDeaX-Lab/vkpy-exam-bot | 38f5c8a6046d45167fbc9326e56725ce40792500 | [
"MIT"
] | null | null | null | bot/middlewares/__init__.py | TheDeaX-Lab/vkpy-exam-bot | 38f5c8a6046d45167fbc9326e56725ce40792500 | [
"MIT"
] | 12 | 2019-09-13T15:30:31.000Z | 2022-03-01T10:13:32.000Z | from .middlewares import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 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 |
625f08fa488b1f959af6b7aff59994353753ee4d | 142 | py | Python | info/modules/news/__init__.py | m17630030204/flask_project | b3810a8ba56781061e91a61422581c48aaebf57e | [
"MIT"
] | null | null | null | info/modules/news/__init__.py | m17630030204/flask_project | b3810a8ba56781061e91a61422581c48aaebf57e | [
"MIT"
] | 4 | 2021-03-18T21:48:16.000Z | 2022-03-11T23:37:14.000Z | info/modules/news/__init__.py | m17630030204/flask_project | b3810a8ba56781061e91a61422581c48aaebf57e | [
"MIT"
] | null | null | null | # 新闻详情模块蓝图
from flask import Blueprint
news_blu = Blueprint("news",__name__,url_prefix="/news")
# url_prefix="/passport"
from . import views | 20.285714 | 56 | 0.760563 | 19 | 142 | 5.315789 | 0.631579 | 0.257426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 142 | 7 | 57 | 20.285714 | 0.801587 | 0.21831 | 0 | 0 | 0 | 0 | 0.082569 | 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 |
626b2e3cde74ef221cc5d676a85e001245d7d024 | 31 | py | Python | PythonScripts/01_Introduction/04_expresions.py | matthijsjanssens/UE4-PythonScripting | 55b98492e861308605477302a7f1ef61fa4f77c1 | [
"MIT"
] | 1 | 2022-02-15T02:20:39.000Z | 2022-02-15T02:20:39.000Z | PythonScripts/01_Introduction/04_expresions.py | denfrost/UE4-PythonScripting | 55b98492e861308605477302a7f1ef61fa4f77c1 | [
"MIT"
] | null | null | null | PythonScripts/01_Introduction/04_expresions.py | denfrost/UE4-PythonScripting | 55b98492e861308605477302a7f1ef61fa4f77c1 | [
"MIT"
] | 1 | 2022-02-14T15:44:25.000Z | 2022-02-14T15:44:25.000Z | a = (5 + 10) * 2
b = pow(2, 3)
| 10.333333 | 16 | 0.354839 | 8 | 31 | 1.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 0.354839 | 31 | 2 | 17 | 15.5 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
656e3b593db7519cd22a52dae138c7d752dc46c8 | 319 | py | Python | gym_holdem/holdem/__init__.py | pokeraigym/PokerAI | 8f768704aaacf40c39af724c4d3cc1c68db58b00 | [
"MIT"
] | null | null | null | gym_holdem/holdem/__init__.py | pokeraigym/PokerAI | 8f768704aaacf40c39af724c4d3cc1c68db58b00 | [
"MIT"
] | null | null | null | gym_holdem/holdem/__init__.py | pokeraigym/PokerAI | 8f768704aaacf40c39af724c4d3cc1c68db58b00 | [
"MIT"
] | null | null | null | from gym_holdem.holdem.table import Table
from gym_holdem.holdem.player import Player
from gym_holdem.holdem.bet_round import BetRound
from gym_holdem.holdem.pot import Pot
from gym_holdem.holdem.poker_rule_violation_exception import PokerRuleViolationException
from gym_holdem.holdem.bet_round import bet_round_to_str
| 45.571429 | 88 | 0.887147 | 50 | 319 | 5.38 | 0.34 | 0.156134 | 0.289963 | 0.423792 | 0.245353 | 0.245353 | 0.245353 | 0 | 0 | 0 | 0 | 0 | 0.075235 | 319 | 6 | 89 | 53.166667 | 0.911864 | 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 |
65799e0f84ccdd85df2d1351d770e98340f4fa71 | 88 | py | Python | assets/ipyleaflet-example.py | mpacer/jupyter.github.io | 4bdfa5673808bb2c7814ef60bc82745cb7b60b73 | [
"BSD-3-Clause"
] | 143 | 2015-01-24T10:09:42.000Z | 2022-03-29T05:18:53.000Z | assets/ipyleaflet-example.py | mpacer/jupyter.github.io | 4bdfa5673808bb2c7814ef60bc82745cb7b60b73 | [
"BSD-3-Clause"
] | 471 | 2015-02-18T15:56:05.000Z | 2022-03-23T17:37:42.000Z | assets/ipyleaflet-example.py | mpacer/jupyter.github.io | 4bdfa5673808bb2c7814ef60bc82745cb7b60b73 | [
"BSD-3-Clause"
] | 177 | 2015-02-18T15:27:37.000Z | 2022-03-19T17:46:01.000Z | from ipyleaflet import Map
Map(center=[34.6252978589571, -77.34580993652344], zoom=10)
| 22 | 59 | 0.784091 | 12 | 88 | 5.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4125 | 0.090909 | 88 | 3 | 60 | 29.333333 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
65cec5823a4bd16f104d297283c515eeec16f9da | 44 | py | Python | django_cacheme/__init__.py | Yiling-J/django-cacheme | c74cfcad3246c635c4064e13ed107644af747b66 | [
"BSD-3-Clause"
] | 5 | 2019-06-14T09:23:03.000Z | 2019-09-13T08:50:06.000Z | django_cacheme/__init__.py | Yiling-J/django-cacheme | c74cfcad3246c635c4064e13ed107644af747b66 | [
"BSD-3-Clause"
] | 2 | 2019-11-20T15:33:48.000Z | 2020-04-16T15:02:39.000Z | django_cacheme/__init__.py | Yiling-J/django-cacheme | c74cfcad3246c635c4064e13ed107644af747b66 | [
"BSD-3-Clause"
] | 2 | 2019-06-16T18:12:22.000Z | 2019-08-30T04:52:24.000Z | from .cache_model import CacheMe as cacheme
| 22 | 43 | 0.840909 | 7 | 44 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 1 | 44 | 44 | 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 |
65e164073fe55d20adcfcbbddddf28f041ecc2be | 43 | py | Python | src/gui/widgets/__init__.py | secretGeek/hexsheets | 3f1f94cddf8b0a3ecb9572155f6c1ed89f44351d | [
"MIT"
] | 2 | 2020-06-05T00:23:00.000Z | 2022-02-27T18:15:34.000Z | src/gui/widgets/__init__.py | secretGeek/hexsheets | 3f1f94cddf8b0a3ecb9572155f6c1ed89f44351d | [
"MIT"
] | 39 | 2020-06-04T03:39:01.000Z | 2022-03-12T00:34:37.000Z | src/gui/widgets/__init__.py | pladams9/hex-spreadsheet | 633191cff5d4f3e3bcb28652d00c7d480d1875e9 | [
"MIT"
] | 2 | 2020-06-05T06:04:10.000Z | 2020-10-28T03:45:46.000Z | from gui.widgets.hex_cells import HexCells
| 21.5 | 42 | 0.860465 | 7 | 43 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.923077 | 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 |
02947b7038d1b600110d964ee35b087aa5eb5860 | 48 | py | Python | cryptoconditions/version.py | Chuseuiti/cryptoconditions | 9cee492d4a792205b29824399224861841a785b0 | [
"MIT"
] | null | null | null | cryptoconditions/version.py | Chuseuiti/cryptoconditions | 9cee492d4a792205b29824399224861841a785b0 | [
"MIT"
] | null | null | null | cryptoconditions/version.py | Chuseuiti/cryptoconditions | 9cee492d4a792205b29824399224861841a785b0 | [
"MIT"
] | null | null | null | __version__ = '0.7.0'
__short_version__ = '0.7'
| 16 | 25 | 0.6875 | 8 | 48 | 3 | 0.5 | 0.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 0.125 | 48 | 2 | 26 | 24 | 0.452381 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02b231fcfd23f90136745f385a06d07456c1cbac | 2,015 | py | Python | test/smoke_test.py | doedotdev/flask-simple | 512c310dac26e40156d62bdf0ad1d961e0cf509f | [
"MIT"
] | null | null | null | test/smoke_test.py | doedotdev/flask-simple | 512c310dac26e40156d62bdf0ad1d961e0cf509f | [
"MIT"
] | null | null | null | test/smoke_test.py | doedotdev/flask-simple | 512c310dac26e40156d62bdf0ad1d961e0cf509f | [
"MIT"
] | null | null | null | import requests
request_info = requests.get("http://0.0.0.0:8080/info")
assert request_info.status_code == 200
assert request_info.headers["Content-Type"] == "application/json"
assert (
request_info.json()["description"]
== "Flask Simple Example | Structure + Simplicity"
)
assert request_info.json()["version"... | 33.032787 | 73 | 0.730521 | 319 | 2,015 | 4.38558 | 0.144201 | 0.176555 | 0.1401 | 0.170122 | 0.821301 | 0.791279 | 0.756969 | 0.712652 | 0.570407 | 0.570407 | 0 | 0.044395 | 0.105707 | 2,015 | 60 | 74 | 33.583333 | 0.731964 | 0 | 0 | 0.326087 | 0 | 0.043478 | 0.336973 | 0 | 0 | 0 | 0 | 0 | 0.586957 | 1 | 0 | false | 0 | 0.021739 | 0 | 0.021739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02cc8436b5a50c0f0da6a53bf4e8c1dc0f534f4c | 98 | py | Python | control_block_diagram/predefined_components/electric_components/__init__.py | upb-lea/control-block-diagram | d1d8377d6ff8a60900580b654c975cc06ff2e564 | [
"MIT"
] | 4 | 2022-01-14T07:42:59.000Z | 2022-01-24T15:05:59.000Z | control_block_diagram/predefined_components/electric_components/__init__.py | upb-lea/control-block-diagram | d1d8377d6ff8a60900580b654c975cc06ff2e564 | [
"MIT"
] | null | null | null | control_block_diagram/predefined_components/electric_components/__init__.py | upb-lea/control-block-diagram | d1d8377d6ff8a60900580b654c975cc06ff2e564 | [
"MIT"
] | null | null | null | from .electric_motors import *
from .converters import *
from .coordinate_transformations import * | 32.666667 | 41 | 0.826531 | 11 | 98 | 7.181818 | 0.636364 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 98 | 3 | 41 | 32.666667 | 0.908046 | 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 |
b822d7c5ff4aded7bdd23b3f09b95f53357e45dc | 3,297 | py | Python | src/drop_area.py | RaISy-Net/Intelligent_picking | 7168b9ccd1f66c26367a534bddac3c8b2f5dc192 | [
"MIT"
] | 1 | 2021-08-24T08:02:45.000Z | 2021-08-24T08:02:45.000Z | src/drop_area.py | RaISy-Net/Intelligent_picking | 7168b9ccd1f66c26367a534bddac3c8b2f5dc192 | [
"MIT"
] | null | null | null | src/drop_area.py | RaISy-Net/Intelligent_picking | 7168b9ccd1f66c26367a534bddac3c8b2f5dc192 | [
"MIT"
] | 3 | 2021-06-07T09:59:43.000Z | 2021-07-22T18:38:57.000Z | import pybullet as p
import time
import math
import numpy as np
from datetime import datetime
import pybullet_data
#p.connect(p.GUI)
def MakeArena(x,y,z=0.5,scale_x=0.5,scale_y=1,scale_z=0.5,Inter_area_dist=1,pickAreaHeight=0.9):
p.setAdditionalSearchPath(pybullet_data.getDataPath())
pick_c=p.createCollisionShape(p... | 67.285714 | 143 | 0.829542 | 533 | 3,297 | 4.88743 | 0.110694 | 0.036852 | 0.209597 | 0.124376 | 0.782342 | 0.775048 | 0.764299 | 0.764299 | 0.733589 | 0.725144 | 0 | 0.0427 | 0.03397 | 3,297 | 49 | 144 | 67.285714 | 0.775196 | 0.004853 | 0 | 0 | 0 | 0 | 0.002438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.153846 | 0 | 0.179487 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 |
b82fbcde7dd1cbbb173e569404df88583b284945 | 5,592 | py | Python | cogs/shops.py | averwhy/fishypy-discord-game | d159d1449dd3e3a77839c149205ec39a1d64942c | [
"MIT"
] | 2 | 2020-11-25T19:33:22.000Z | 2021-01-14T15:25:51.000Z | cogs/shops.py | averwhy/fishypy-discord-game | d159d1449dd3e3a77839c149205ec39a1d64942c | [
"MIT"
] | 16 | 2020-11-13T18:24:37.000Z | 2021-04-02T17:36:19.000Z | cogs/shops.py | averwhy/fishypy-discord-game | d159d1449dd3e3a77839c149205ec39a1d64942c | [
"MIT"
] | 3 | 2020-12-24T00:05:15.000Z | 2021-12-11T15:12:58.000Z | from discord.ext import commands
class shops(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.group(invoke_without_command=True, description='shows you the prices of upgrades for rods and nets')
async def shop(self, ctx):
"""the main shop command, here you can see t... | 50.836364 | 144 | 0.600143 | 769 | 5,592 | 4.243173 | 0.153446 | 0.042905 | 0.066197 | 0.060067 | 0.806313 | 0.806313 | 0.736439 | 0.736439 | 0.736439 | 0.736439 | 0 | 0.005881 | 0.270207 | 5,592 | 110 | 145 | 50.836364 | 0.793678 | 0 | 0 | 0.547619 | 0 | 0.02381 | 0.289847 | 0.036015 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02381 | false | 0 | 0.011905 | 0 | 0.142857 | 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 |
b84b8cb9a0a0ae0192fc8b4218d5c4bd5e409399 | 1,386 | py | Python | flask/lib/python3.8/site-packages/to/utils/init.py | Otybrian/blogpost | 518599019e11cd7ee11e01470c4d51dfb4583274 | [
"MIT"
] | null | null | null | flask/lib/python3.8/site-packages/to/utils/init.py | Otybrian/blogpost | 518599019e11cd7ee11e01470c4d51dfb4583274 | [
"MIT"
] | null | null | null | flask/lib/python3.8/site-packages/to/utils/init.py | Otybrian/blogpost | 518599019e11cd7ee11e01470c4d51dfb4583274 | [
"MIT"
] | null | null | null | import torch.nn as nn
class Init():
def __init__(self, fn, *args, **kwargs):
self.fn = fn
self.args = args
self.kwargs = kwargs
def apply(self, m):
self.fn(m, *self.args, **self.kwargs)
def uniform(*args, **kwargs):
return Init(nn.init.uniform, *args, **kwargs)
... | 26.653846 | 61 | 0.603896 | 180 | 1,386 | 4.583333 | 0.161111 | 0.254545 | 0.189091 | 0.252121 | 0.500606 | 0.444848 | 0.350303 | 0 | 0 | 0 | 0 | 0.001887 | 0.235209 | 1,386 | 51 | 62 | 27.176471 | 0.776415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.441176 | false | 0 | 0.029412 | 0.382353 | 0.882353 | 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 |
b8662696c81a5d19d0cd490a023452af1d3101a8 | 38 | py | Python | soccerbars/__init__.py | meakbiyik/soccerbars | 9d5789e59652a232635894507466619b526d876b | [
"MIT"
] | 11 | 2021-03-25T13:10:42.000Z | 2022-01-31T20:54:12.000Z | soccerbars/__init__.py | meakbiyik/soccerbars | 9d5789e59652a232635894507466619b526d876b | [
"MIT"
] | null | null | null | soccerbars/__init__.py | meakbiyik/soccerbars | 9d5789e59652a232635894507466619b526d876b | [
"MIT"
] | 1 | 2021-04-13T11:48:46.000Z | 2021-04-13T11:48:46.000Z | from soccerbars.core import soccerbar
| 19 | 37 | 0.868421 | 5 | 38 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 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 |
b8665fae8c538d7abd40aad2f8bbe27d3b33178a | 213 | py | Python | django_mysql_geventpool_27/backends/mysql_gis/base.py | laurentL/django-mysql-geventpool-27 | 3562f8884ae2f0fc509f5b8e1b062a19cdfa3437 | [
"Apache-2.0"
] | 20 | 2018-09-05T15:22:00.000Z | 2021-07-17T09:43:44.000Z | django_mysql_geventpool_27/backends/mysql_gis/base.py | laurentL/django-mysql-geventpool-27 | 3562f8884ae2f0fc509f5b8e1b062a19cdfa3437 | [
"Apache-2.0"
] | 1 | 2019-08-12T06:23:07.000Z | 2019-08-23T02:22:39.000Z | django_mysql_geventpool/backends/mysql_gis/base.py | shunsukeaihara/django-mysql-geventpool | 119d8bccc5a1b5a39fbcc82fcf7549acf0fc9073 | [
"Apache-2.0"
] | 10 | 2018-11-29T21:15:49.000Z | 2022-02-15T20:35:52.000Z | from ..mysql.base import ConnectionPoolMixin
from django.contrib.gis.db.backends.mysql.base import DatabaseWrapper as GisDatabaseWrapper
class DatabaseWrapper(ConnectionPoolMixin, GisDatabaseWrapper):
pass
| 26.625 | 91 | 0.840376 | 22 | 213 | 8.136364 | 0.681818 | 0.100559 | 0.167598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 213 | 7 | 92 | 30.428571 | 0.932292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b86ce1e52368cb0e94e027d6d8214769f98f6bed | 40 | py | Python | script.py | gary1998/example | 0e4e45feb850ad6a7760383af22ca677424d138c | [
"Apache-2.0"
] | null | null | null | script.py | gary1998/example | 0e4e45feb850ad6a7760383af22ca677424d138c | [
"Apache-2.0"
] | null | null | null | script.py | gary1998/example | 0e4e45feb850ad6a7760383af22ca677424d138c | [
"Apache-2.0"
] | null | null | null | print("hello from docker and travis CI") | 40 | 40 | 0.775 | 7 | 40 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b8839515fb03eda666a401215174420c67ec2a1c | 2,745 | py | Python | examples/example.py | Nelson-Gon/simplecv | cb74da9b36fe291c7ecadf292ee3423e420d6cf9 | [
"MIT"
] | 4 | 2020-04-26T17:40:06.000Z | 2021-09-28T16:44:22.000Z | examples/example.py | Nelson-Gon/pyautocv | b7e55cc10461036175c0cc12b81540463d590e43 | [
"MIT"
] | 14 | 2020-04-26T17:57:09.000Z | 2021-01-16T07:27:10.000Z | examples/example.py | Nelson-Gon/simplecv | cb74da9b36fe291c7ecadf292ee3423e420d6cf9 | [
"MIT"
] | null | null | null | from pyautocv.segmentation import *
import os
os.chdir("pyautocv")
images_list = Segmentation("images/dic", image_suffix="tif", color_mode="gray")
# smooth images
show_images(images_list.read_images(), images_list.smooth(), number = 5)
# use median
show_images(images_list.read_images(), images_list.smooth(mask="median... | 42.890625 | 113 | 0.797086 | 390 | 2,745 | 5.284615 | 0.148718 | 0.189229 | 0.225133 | 0.135856 | 0.793789 | 0.778263 | 0.753518 | 0.718098 | 0.718098 | 0.62591 | 0 | 0.008984 | 0.067395 | 2,745 | 63 | 114 | 43.571429 | 0.796094 | 0.066667 | 0 | 0.228571 | 0 | 0 | 0.106709 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.057143 | 0 | 0.057143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 |
b8ab37bf17144d62b2588d36cbac58df651f9a4d | 155,430 | py | Python | pegasus/dados/transform/prepare_CNES.py | SecexSaudeTCU/PegaSUS | 0e24c00595e8a7376680dfb2e5aa42e1e9eb7770 | [
"MIT"
] | null | null | null | pegasus/dados/transform/prepare_CNES.py | SecexSaudeTCU/PegaSUS | 0e24c00595e8a7376680dfb2e5aa42e1e9eb7770 | [
"MIT"
] | null | null | null | pegasus/dados/transform/prepare_CNES.py | SecexSaudeTCU/PegaSUS | 0e24c00595e8a7376680dfb2e5aa42e1e9eb7770 | [
"MIT"
] | 1 | 2020-08-19T19:31:42.000Z | 2020-08-19T19:31:42.000Z | ############################################################################################################################
# CNES CNES CNES CNES CNES CNES CNES CNES CNES CNES CNES CNES CNES CNES CNES CNES CNES CNES CNES CNES CNES CNES CNES CNES #
######################################################################... | 63.544563 | 128 | 0.561751 | 18,856 | 155,430 | 4.540995 | 0.058072 | 0.043807 | 0.010277 | 0.009577 | 0.89106 | 0.871439 | 0.859889 | 0.837057 | 0.823755 | 0.815019 | 0 | 0.04612 | 0.278357 | 155,430 | 2,445 | 129 | 63.570552 | 0.717265 | 0.322402 | 0 | 0.6387 | 0 | 0.010582 | 0.212992 | 0.007558 | 0 | 0 | 0 | 0.000409 | 0 | 1 | 0.034769 | false | 0 | 0.003779 | 0 | 0.083144 | 0.011338 | 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 |
b2533eb800d62549e7c11815c83b9524172f0701 | 41 | py | Python | aioqiwi/contrib/__init__.py | Derad6709/aioqiwi | 5ecee5e5454772d32c4814e0aab1cd3e5c94ca38 | [
"MIT"
] | 33 | 2019-05-26T09:31:29.000Z | 2021-11-26T12:38:01.000Z | aioqiwi/contrib/__init__.py | Derad6709/aioqiwi | 5ecee5e5454772d32c4814e0aab1cd3e5c94ca38 | [
"MIT"
] | 15 | 2019-05-22T11:55:05.000Z | 2020-06-17T17:48:34.000Z | aioqiwi/contrib/__init__.py | Derad6709/aioqiwi | 5ecee5e5454772d32c4814e0aab1cd3e5c94ca38 | [
"MIT"
] | 12 | 2019-06-02T17:16:54.000Z | 2021-03-21T11:57:29.000Z | from .history_polling import HistoryPoll
| 20.5 | 40 | 0.878049 | 5 | 41 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.945946 | 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 |
b25a8ab3a6aa2685beb1d0720143fae8038c1af8 | 90 | py | Python | assemblyline_core/scaler/controllers/__init__.py | kryptoslogic/assemblyline-core | 8837f6646d89b8f589b31d101059bb6450fc91e8 | [
"MIT"
] | 14 | 2020-06-29T14:32:07.000Z | 2022-01-28T19:00:21.000Z | assemblyline_core/scaler/controllers/__init__.py | kryptoslogic/assemblyline-core | 8837f6646d89b8f589b31d101059bb6450fc91e8 | [
"MIT"
] | 127 | 2020-08-18T12:12:41.000Z | 2022-03-18T14:53:09.000Z | assemblyline_core/scaler/controllers/__init__.py | kryptoslogic/assemblyline-core | 8837f6646d89b8f589b31d101059bb6450fc91e8 | [
"MIT"
] | 12 | 2020-09-01T08:31:41.000Z | 2021-06-05T21:36:45.000Z | from .docker_ctl import DockerController
from .kubernetes_ctl import KubernetesController
| 30 | 48 | 0.888889 | 10 | 90 | 7.8 | 0.7 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 2 | 49 | 45 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
b268948e5d75e69ad9df7d633ea12e1ec3749c88 | 65 | py | Python | malaya_speech/train/model/conformer/__init__.py | ishine/malaya-speech | fd34afc7107af1656dff4b3201fa51dda54fde18 | [
"MIT"
] | 111 | 2020-08-31T04:58:54.000Z | 2022-03-29T15:44:18.000Z | malaya_speech/train/model/conformer/__init__.py | ishine/malaya-speech | fd34afc7107af1656dff4b3201fa51dda54fde18 | [
"MIT"
] | 14 | 2020-12-16T07:27:22.000Z | 2022-03-15T17:39:01.000Z | malaya_speech/train/model/conformer/__init__.py | ishine/malaya-speech | fd34afc7107af1656dff4b3201fa51dda54fde18 | [
"MIT"
] | 29 | 2021-02-09T08:57:15.000Z | 2022-03-12T14:09:19.000Z | from . import layer
from . import model
from .model import Model
| 16.25 | 24 | 0.769231 | 10 | 65 | 5 | 0.4 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 25 | 21.666667 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b298a726905e6a1fe3ffe2625cf173a836f38d9b | 306 | py | Python | corehq/apps/domain/tests/__init__.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | null | null | null | corehq/apps/domain/tests/__init__.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | 1 | 2022-03-12T01:03:25.000Z | 2022-03-12T01:03:25.000Z | corehq/apps/domain/tests/__init__.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
from .test_views import *
from .test_utils import *
from .test_domain_name_generation import *
from .test_domain_transfer import *
from .test_delete_domain import *
from .test_guess_phone_type import *
from .test_domain_copy import *
from .test_dbaccessors import *
| 27.818182 | 42 | 0.826797 | 44 | 306 | 5.295455 | 0.386364 | 0.343348 | 0.480687 | 0.257511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120915 | 306 | 10 | 43 | 30.6 | 0.866171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b2afaefc45e4acdd354a754f129b068ca3f1f129 | 10,341 | py | Python | restclients/test/nws/subscription.py | uw-it-cte/uw-restclients | 2b09348bf066e5508304401f93f281805e965af5 | [
"Apache-2.0"
] | null | null | null | restclients/test/nws/subscription.py | uw-it-cte/uw-restclients | 2b09348bf066e5508304401f93f281805e965af5 | [
"Apache-2.0"
] | null | null | null | restclients/test/nws/subscription.py | uw-it-cte/uw-restclients | 2b09348bf066e5508304401f93f281805e965af5 | [
"Apache-2.0"
] | null | null | null | from django.test import TestCase
from django.conf import settings
from restclients.nws import NWS
from restclients.exceptions import DataFailureException, InvalidUUID, InvalidNetID
from vm.v1.viewmodels import Channel, Endpoint, Subscription
from unittest2 import skipIf
class NWSTestSubscription(TestCase):
def te... | 48.097674 | 133 | 0.673823 | 990 | 10,341 | 6.80101 | 0.115152 | 0.095054 | 0.030299 | 0.050498 | 0.886381 | 0.851032 | 0.807961 | 0.746473 | 0.713204 | 0.683499 | 0 | 0.054393 | 0.237308 | 10,341 | 214 | 134 | 48.32243 | 0.79929 | 0.045644 | 0 | 0.666667 | 0 | 0 | 0.1849 | 0.150802 | 0 | 0 | 0 | 0 | 0.109195 | 1 | 0.097701 | false | 0 | 0.034483 | 0 | 0.137931 | 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 |
a252db3776c1d3e69abc0587f4e0d8a3940705cd | 284 | py | Python | hivemind/optim/__init__.py | hivemind-debug/debug | c5b756a6a48532a43cd080d4b3e02e7dd023e317 | [
"MIT"
] | null | null | null | hivemind/optim/__init__.py | hivemind-debug/debug | c5b756a6a48532a43cd080d4b3e02e7dd023e317 | [
"MIT"
] | null | null | null | hivemind/optim/__init__.py | hivemind-debug/debug | c5b756a6a48532a43cd080d4b3e02e7dd023e317 | [
"MIT"
] | null | null | null | from hivemind.optim.adaptive import CollaborativeAdaptiveOptimizer
from hivemind.optim.base import DecentralizedOptimizerBase
from hivemind.optim.collaborative import CollaborativeOptimizer
from hivemind.optim.simple import DecentralizedOptimizer, DecentralizedSGD, DecentralizedAdam
| 56.8 | 93 | 0.901408 | 26 | 284 | 9.846154 | 0.538462 | 0.1875 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06338 | 284 | 4 | 94 | 71 | 0.962406 | 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 |
a29609fa84bccef1d15b0fcfd918430eddd2ef6b | 259 | py | Python | Codewars/6kyu/a-rule-of-divisibility-by-13/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/6kyu/a-rule-of-divisibility-by-13/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/6kyu/a-rule-of-divisibility-by-13/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
Test.describe('thirt')
Test.it('Basic tests')
Test.assert_equals(thirt(8529), 79)
Test.assert_equals(thirt(85299258), 31)
Test.assert_equals(thirt(5634), 57)
Test.assert_equals(thirt(1111111111), 71)
Test.assert_equals(thirt(987654321), 30)
| 25.9 | 41 | 0.760618 | 41 | 259 | 4.682927 | 0.536585 | 0.260417 | 0.416667 | 0.546875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19917 | 0.069498 | 259 | 9 | 42 | 28.777778 | 0.59751 | 0.054054 | 0 | 0 | 0 | 0 | 0.065844 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a2b4032789a01062a018b96fdbe78b35c9742d49 | 237 | py | Python | xhr/__init__.py | jhfwb/xhr | b30ff54436520797167c3d0ea59b43f1853b8a50 | [
"MIT"
] | null | null | null | xhr/__init__.py | jhfwb/xhr | b30ff54436520797167c3d0ea59b43f1853b8a50 | [
"MIT"
] | null | null | null | xhr/__init__.py | jhfwb/xhr | b30ff54436520797167c3d0ea59b43f1853b8a50 | [
"MIT"
] | null | null | null | import pyPacking_xhr as pyPacking_xhr
import annotate_xhr as annotate_xhr
import utils_xhr as utils_xhr
# pyPacking_xhr=pyPacking_xhr
# annotate_xhr=annotate_xhr
# utils_xhr=utils_xhr
__all__=['pyPacking_xhr','annotate_xhr','utils_xhr']
| 29.625 | 52 | 0.848101 | 37 | 237 | 4.918919 | 0.189189 | 0.32967 | 0.230769 | 0.252747 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080169 | 237 | 7 | 53 | 33.857143 | 0.834862 | 0.308017 | 0 | 0 | 0 | 0 | 0.2125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a2c25001fdef3e08f5296d0b5560ee807db25259 | 32 | py | Python | Conteudo das Aulas/114/hello.py | cerberus707/lab-python | ebba3c9cde873d70d4bb61084f79ce30b7f9e047 | [
"Apache-2.0"
] | null | null | null | Conteudo das Aulas/114/hello.py | cerberus707/lab-python | ebba3c9cde873d70d4bb61084f79ce30b7f9e047 | [
"Apache-2.0"
] | null | null | null | Conteudo das Aulas/114/hello.py | cerberus707/lab-python | ebba3c9cde873d70d4bb61084f79ce30b7f9e047 | [
"Apache-2.0"
] | null | null | null | print("O sentido da vida é 42")
| 16 | 31 | 0.6875 | 7 | 32 | 3.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.1875 | 32 | 1 | 32 | 32 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0c401458957ea3467513c8558095c6ca8848b925 | 139 | py | Python | build/lib/lrc_kit/__init__.py | reteps/python-lrc-search | 1ff26a998f0c86afc07009eca3f6fd5059f81200 | [
"MIT"
] | 6 | 2021-01-11T22:01:46.000Z | 2022-02-04T21:37:11.000Z | build/lib/lrc_kit/__init__.py | reteps/python-lrc-search | 1ff26a998f0c86afc07009eca3f6fd5059f81200 | [
"MIT"
] | 5 | 2021-01-11T23:17:28.000Z | 2022-01-25T20:14:18.000Z | build/lib/lrc_kit/__init__.py | reteps/python-lrc-search | 1ff26a998f0c86afc07009eca3f6fd5059f81200 | [
"MIT"
] | null | null | null | from lrc_kit.line import LyricLine, Word
from lrc_kit.lyrics import Lyrics
from lrc_kit.parser import parse_lyrics
from .providers import * | 34.75 | 40 | 0.841727 | 23 | 139 | 4.913043 | 0.478261 | 0.185841 | 0.265487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115108 | 139 | 4 | 41 | 34.75 | 0.918699 | 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 |
0c55db6bc6bc704ba509979bb9503e8e9e4e7cae | 76 | py | Python | src/geocat/viz/__init__.py | anissa111/geocat-viz | 22cc0578aa667c5c0068518c247e92696749b49b | [
"Apache-2.0"
] | null | null | null | src/geocat/viz/__init__.py | anissa111/geocat-viz | 22cc0578aa667c5c0068518c247e92696749b49b | [
"Apache-2.0"
] | null | null | null | src/geocat/viz/__init__.py | anissa111/geocat-viz | 22cc0578aa667c5c0068518c247e92696749b49b | [
"Apache-2.0"
] | null | null | null | from . import util
from . import contourf
from . import taylor
import cmaps
| 15.2 | 22 | 0.776316 | 11 | 76 | 5.363636 | 0.545455 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 76 | 4 | 23 | 19 | 0.951613 | 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 |
a7c4273acd0763575b99df0d402bfaaa33efbfa2 | 32 | py | Python | ner/extractor/__init__.py | Melancholic/ner | 8a628ffb38144ab4de9d9f33ed91283b07524388 | [
"Apache-2.0"
] | 327 | 2017-12-28T10:49:09.000Z | 2022-01-31T14:12:55.000Z | ner/extractor/__init__.py | Melancholic/ner | 8a628ffb38144ab4de9d9f33ed91283b07524388 | [
"Apache-2.0"
] | 25 | 2017-12-14T13:13:54.000Z | 2022-02-09T23:26:52.000Z | subs2srs/core/__init__.py | TFarla/subs2srs-cross-platform | 79158a313ca4099adb20df97207b19d7bc948697 | [
"MIT"
] | 66 | 2017-12-28T23:00:07.000Z | 2021-11-09T15:40:16.000Z | from .extractor import Extractor | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 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 |
a7d2385d98bddbb6f2034614e5de907a02300ff0 | 26,177 | py | Python | minkowskiQuestionFunction/main.py | Renriviera/minkowskiQuestionFunction | 716f252b7254fdb9ef098c9d814c47c20b77d038 | [
"MIT"
] | null | null | null | minkowskiQuestionFunction/main.py | Renriviera/minkowskiQuestionFunction | 716f252b7254fdb9ef098c9d814c47c20b77d038 | [
"MIT"
] | null | null | null | minkowskiQuestionFunction/main.py | Renriviera/minkowskiQuestionFunction | 716f252b7254fdb9ef098c9d814c47c20b77d038 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
import scipy.optimize as opti
from sympy.ntheory.continued_fraction import continued_fraction_reduce, continued_fraction_convergents
from mpmath import *
def convert_base(x, new_base, preferred_digits=200):
x = mpf(x)
new_base = mpf(new_base)
exponent = int... | 107.282787 | 16,494 | 0.468388 | 6,665 | 26,177 | 1.834059 | 0.04096 | 0.220713 | 0.164676 | 0.112238 | 0.527323 | 0.477994 | 0.394634 | 0.319045 | 0.201898 | 0.119519 | 0 | 0.396253 | 0.267983 | 26,177 | 244 | 16,495 | 107.282787 | 0.241676 | 0.139053 | 0 | 0.075862 | 0 | 0 | 0.06245 | 0.044728 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041379 | false | 0 | 0.034483 | 0.02069 | 0.117241 | 0.137931 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac0fdbd9e54e5308f8341e1f066b73227d2f3aad | 73 | py | Python | createLibrary/fTwo.py | josedavidcortes-git/usd | da7e9e7382c17818516ab1b9c5680c4e507b7add | [
"MIT"
] | null | null | null | createLibrary/fTwo.py | josedavidcortes-git/usd | da7e9e7382c17818516ab1b9c5680c4e507b7add | [
"MIT"
] | null | null | null | createLibrary/fTwo.py | josedavidcortes-git/usd | da7e9e7382c17818516ab1b9c5680c4e507b7add | [
"MIT"
] | null | null | null | def subFunction(paramanOne, paramaTwo):
return paramanOne - paramaTwo | 36.5 | 39 | 0.794521 | 7 | 73 | 8.285714 | 0.714286 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 73 | 2 | 40 | 36.5 | 0.920635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ac2db19cfa3fbb76ff39930c9d897b0f674e2909 | 3,722 | py | Python | results/migrations/0006_auto_20200122_2254.py | Ajuajmal/art-fest-event-manager-sattva | 1b590927520f59ffa5abcba21b6f504e61f374f5 | [
"MIT"
] | null | null | null | results/migrations/0006_auto_20200122_2254.py | Ajuajmal/art-fest-event-manager-sattva | 1b590927520f59ffa5abcba21b6f504e61f374f5 | [
"MIT"
] | null | null | null | results/migrations/0006_auto_20200122_2254.py | Ajuajmal/art-fest-event-manager-sattva | 1b590927520f59ffa5abcba21b6f504e61f374f5 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.9 on 2020-01-22 17:24
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('results', '0005_auto_20200122_2213'),
]
operations = [
migrations.AlterField(
model_name='event... | 49.626667 | 177 | 0.65798 | 406 | 3,722 | 5.876847 | 0.135468 | 0.04694 | 0.076278 | 0.119866 | 0.836966 | 0.836966 | 0.818106 | 0.818106 | 0.818106 | 0.523051 | 0 | 0.027036 | 0.214938 | 3,722 | 74 | 178 | 50.297297 | 0.789528 | 0.01209 | 0 | 0.529412 | 1 | 0 | 0.18449 | 0.006259 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.073529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac62b10f0084ffe83021b1b693e095f9e5468a7c | 112 | py | Python | office365/sharepoint/flows/flow_synchronization_result.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/flows/flow_synchronization_result.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/flows/flow_synchronization_result.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.sharepoint.base_entity import BaseEntity
class FlowSynchronizationResult(BaseEntity):
pass
| 18.666667 | 55 | 0.839286 | 11 | 112 | 8.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.116071 | 112 | 5 | 56 | 22.4 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ac806a97946cbf18951d4f352c7f56ad827049d6 | 41 | py | Python | keras_models_factory/models/__init__.py | shadiakiki1986/keras-models-factory | ee4f776eea0ec2e20347105d31cf192877f386bd | [
"MIT"
] | 1 | 2020-03-26T07:48:45.000Z | 2020-03-26T07:48:45.000Z | keras_models_factory/models/__init__.py | shadiakiki1986/keras-models-factory | ee4f776eea0ec2e20347105d31cf192877f386bd | [
"MIT"
] | 12 | 2017-09-08T14:55:23.000Z | 2017-09-20T03:45:56.000Z | keras_models_factory/models/__init__.py | shadiakiki1986/keras-models-factory | ee4f776eea0ec2e20347105d31cf192877f386bd | [
"MIT"
] | null | null | null | from . import autoencoder, lstm, lstm_ae
| 20.5 | 40 | 0.780488 | 6 | 41 | 5.166667 | 0.833333 | 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 |
ac8694e112d0e497931197df42ca674931fc971e | 117 | py | Python | tests/fixtures/constructed_molecules/__init__.py | fiszczyp/stk | 56e75c493a472d98ccbf3af14cc9ce7f12cbe3d7 | [
"MIT"
] | null | null | null | tests/fixtures/constructed_molecules/__init__.py | fiszczyp/stk | 56e75c493a472d98ccbf3af14cc9ce7f12cbe3d7 | [
"MIT"
] | null | null | null | tests/fixtures/constructed_molecules/__init__.py | fiszczyp/stk | 56e75c493a472d98ccbf3af14cc9ce7f12cbe3d7 | [
"MIT"
] | null | null | null | from .cages import *
from .polymers import *
from .cofs import *
from .macrocycles import *
from .rotaxanes import *
| 19.5 | 26 | 0.74359 | 15 | 117 | 5.8 | 0.466667 | 0.45977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17094 | 117 | 5 | 27 | 23.4 | 0.896907 | 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 |
3bb766208ddd0dceaae5d84e14d950ce0f6fba7a | 40 | py | Python | tests/test_sample.py | vra/dompare | a4ccab7f32dfd5b6e15abf8c1eb7cd5ee04cf2f4 | [
"MIT"
] | 17 | 2019-10-31T02:54:42.000Z | 2021-12-06T10:37:53.000Z | tests/test_sample.py | vra/dompare | a4ccab7f32dfd5b6e15abf8c1eb7cd5ee04cf2f4 | [
"MIT"
] | 1 | 2021-05-18T13:45:14.000Z | 2021-05-18T15:34:56.000Z | tests/test_sample.py | vra/dompare | a4ccab7f32dfd5b6e15abf8c1eb7cd5ee04cf2f4 | [
"MIT"
] | 3 | 2019-11-01T23:37:16.000Z | 2019-11-05T05:27:56.000Z | def test_run():
assert True is True
| 13.333333 | 23 | 0.675 | 7 | 40 | 3.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 40 | 2 | 24 | 20 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cbfbd3bf6367b087eb460b287960206fe263a480 | 77 | py | Python | test/client/test_kafka_consumer_client.py | DebasishMaji/PI | e293982cae8f8755d28d7b3de22966dc74759b90 | [
"Apache-2.0"
] | null | null | null | test/client/test_kafka_consumer_client.py | DebasishMaji/PI | e293982cae8f8755d28d7b3de22966dc74759b90 | [
"Apache-2.0"
] | null | null | null | test/client/test_kafka_consumer_client.py | DebasishMaji/PI | e293982cae8f8755d28d7b3de22966dc74759b90 | [
"Apache-2.0"
] | null | null | null | import unittest
class TestKafkaConsumerClient(unittest.TestCase):
pass
| 12.833333 | 49 | 0.805195 | 7 | 77 | 8.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 77 | 5 | 50 | 15.4 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0224dd52562145012e8dd44a0701ccaebc9cd0fe | 2,762 | py | Python | apps/almoxarifado/apps/lista_saida/migrations/0001_initial.py | mequetrefe-do-subtroco/web_constel | 57b5626fb17b4fefc740cbe1ac95fd4ab90147bc | [
"MIT"
] | 1 | 2020-06-18T09:03:53.000Z | 2020-06-18T09:03:53.000Z | apps/almoxarifado/apps/lista_saida/migrations/0001_initial.py | gabrielhjs/web_constel | 57b5626fb17b4fefc740cbe1ac95fd4ab90147bc | [
"MIT"
] | 33 | 2020-06-16T18:59:33.000Z | 2021-08-12T21:33:17.000Z | apps/almoxarifado/apps/lista_saida/migrations/0001_initial.py | gabrielhjs/web_constel | 57b5626fb17b4fefc740cbe1ac95fd4ab90147bc | [
"MIT"
] | null | null | null | # Generated by Django 3.0.7 on 2020-06-10 18:18
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('cont', '0001_initial'),
('almoxarifado', '0001_initial'),
... | 50.218182 | 160 | 0.63903 | 304 | 2,762 | 5.605263 | 0.233553 | 0.046948 | 0.073944 | 0.116197 | 0.730047 | 0.704225 | 0.704225 | 0.704225 | 0.704225 | 0.704225 | 0 | 0.011199 | 0.224113 | 2,762 | 54 | 161 | 51.148148 | 0.783948 | 0.016293 | 0 | 0.468085 | 1 | 0 | 0.13407 | 0.007735 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.06383 | 0 | 0.148936 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0247afa0f19f412391b63cc23e953eb2c5b7495c | 4,739 | py | Python | src/pycoils/pycoils/tests/hashtables/test_hash_bucket_as_bst.py | harisankar-krishna-swamy/coils | 2fb9606ee2df9c49db4ab67ee650ff8edc285a7e | [
"Apache-2.0"
] | 2 | 2020-12-29T18:37:07.000Z | 2021-05-11T12:48:04.000Z | src/pycoils/pycoils/tests/hashtables/test_hash_bucket_as_bst.py | harisankar-krishna-swamy/coils | 2fb9606ee2df9c49db4ab67ee650ff8edc285a7e | [
"Apache-2.0"
] | null | null | null | src/pycoils/pycoils/tests/hashtables/test_hash_bucket_as_bst.py | harisankar-krishna-swamy/coils | 2fb9606ee2df9c49db4ab67ee650ff8edc285a7e | [
"Apache-2.0"
] | null | null | null | '''
Created on Oct 23, 2015
@author: hari
'''
from builtins import range
import unittest
from pycoils.hashtables.hashbuckets import BSTHashBucket
class BSTHashBucket_Test_With_0_Elements(unittest.TestCase):
def setUp(self):
self._hash_bucket = BSTHashBucket()
def test_count_of_empty_list(self... | 35.631579 | 130 | 0.654779 | 643 | 4,739 | 4.48056 | 0.14619 | 0.218674 | 0.233252 | 0.08747 | 0.750781 | 0.750781 | 0.724748 | 0.636237 | 0.636237 | 0.611246 | 0 | 0.02081 | 0.259759 | 4,739 | 132 | 131 | 35.901515 | 0.800456 | 0.032707 | 0 | 0.618557 | 0 | 0 | 0.100109 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 1 | 0.247423 | false | 0 | 0.030928 | 0 | 0.350515 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
025283a682cff5e7f87a696cbee1b96b8f5d47ae | 33 | py | Python | text_to_speech/__init__.py | ShnizelInBag/text-to-speech | 253f3fc5df8adc2c9d0089ddbe4e3d75b3698f8f | [
"MIT"
] | 15 | 2020-08-09T01:27:30.000Z | 2022-03-03T12:17:34.000Z | text_to_speech/__init__.py | ShnizelInBag/text-to-speech | 253f3fc5df8adc2c9d0089ddbe4e3d75b3698f8f | [
"MIT"
] | 8 | 2020-07-08T19:02:32.000Z | 2021-06-01T18:30:30.000Z | text_to_speech/__init__.py | ShnizelInBag/text-to-speech | 253f3fc5df8adc2c9d0089ddbe4e3d75b3698f8f | [
"MIT"
] | 5 | 2020-05-10T21:50:51.000Z | 2021-07-05T03:56:50.000Z | from .text_to_speech import speak | 33 | 33 | 0.878788 | 6 | 33 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0262fe173e48948863027fd7e12f7236424d1f29 | 55 | py | Python | movies/tests/__init__.py | dimkl/movierama | 20f2ec3ba4f26484628399227188aef5536d4a3e | [
"MIT"
] | null | null | null | movies/tests/__init__.py | dimkl/movierama | 20f2ec3ba4f26484628399227188aef5536d4a3e | [
"MIT"
] | null | null | null | movies/tests/__init__.py | dimkl/movierama | 20f2ec3ba4f26484628399227188aef5536d4a3e | [
"MIT"
] | null | null | null | from .test_api import *
from .test_serializers import * | 27.5 | 31 | 0.8 | 8 | 55 | 5.25 | 0.625 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 2 | 31 | 27.5 | 0.875 | 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 |
0269e471ac42ae7cb6b7e319c972e306e5e4dcbd | 1,984 | py | Python | events/migrations/0004_auto_20171223_0859.py | jeffshek/betterself | 51468253fc31373eb96e0e82189b9413f3d76ff5 | [
"MIT"
] | 98 | 2017-07-29T14:26:36.000Z | 2022-02-28T04:10:15.000Z | events/migrations/0004_auto_20171223_0859.py | jeffshek/betterself | 51468253fc31373eb96e0e82189b9413f3d76ff5 | [
"MIT"
] | 1,483 | 2017-05-30T00:05:56.000Z | 2022-03-31T12:37:06.000Z | events/migrations/0004_auto_20171223_0859.py | lawrendran/betterself | 51468253fc31373eb96e0e82189b9413f3d76ff5 | [
"MIT"
] | 13 | 2017-11-08T00:02:35.000Z | 2022-02-28T04:10:32.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2017-12-23 08:59
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('events', '0003_auto_20171221_0336'),
]
operations = [
migrations.AlterField... | 48.390244 | 233 | 0.57006 | 203 | 1,984 | 5.384236 | 0.280788 | 0.082342 | 0.114364 | 0.132662 | 0.73742 | 0.73742 | 0.73742 | 0.73742 | 0.73742 | 0.73742 | 0 | 0.027511 | 0.212198 | 1,984 | 40 | 234 | 49.6 | 0.671785 | 0.034274 | 0 | 0.606061 | 1 | 0 | 0.300575 | 0.012023 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.151515 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5a4262d5e168778ff77c0bc0b812b9d21c56beb0 | 19,438 | py | Python | tests/integration/cli/test_resource_managers.py | manojn97/lmctl | 844925cb414722351efac90cb97f10c1185eef7a | [
"Apache-2.0"
] | 3 | 2021-07-19T09:46:01.000Z | 2022-03-07T13:51:25.000Z | tests/integration/cli/test_resource_managers.py | manojn97/lmctl | 844925cb414722351efac90cb97f10c1185eef7a | [
"Apache-2.0"
] | 43 | 2019-08-27T12:36:29.000Z | 2020-08-27T14:50:40.000Z | tests/integration/cli/test_resource_managers.py | manojn97/lmctl | 844925cb414722351efac90cb97f10c1185eef7a | [
"Apache-2.0"
] | 7 | 2020-09-22T20:32:17.000Z | 2022-03-29T12:25:51.000Z | from .cli_test_base import CLIIntegrationTest
from typing import List, Any, Callable, Dict
from lmctl.cli.entry import cli
from lmctl.cli.format import TableFormat
from lmctl.client import TNCOClientHttpError
from lmctl.cli.commands.targets.resource_managers import ResourceManagerTable
import yaml
import json
import ti... | 51.42328 | 138 | 0.645745 | 2,386 | 19,438 | 4.968986 | 0.079631 | 0.096154 | 0.044956 | 0.061994 | 0.896002 | 0.882338 | 0.874494 | 0.856528 | 0.830972 | 0.812331 | 0 | 0.004688 | 0.220856 | 19,438 | 378 | 139 | 51.42328 | 0.778145 | 0.011935 | 0 | 0.634783 | 0 | 0.008696 | 0.238971 | 0.029949 | 0 | 0 | 0 | 0 | 0.168116 | 1 | 0.078261 | false | 0 | 0.026087 | 0 | 0.113043 | 0.037681 | 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 |
ce55c43c68ce0cd8205540b19dc631bf925c1f73 | 93 | py | Python | pointnet2/__init__.py | lkmuk/DL_ops_PointNet2_PyTorch | 5bbd2f3a17fb27690e12dfd0c8944b4ea04de061 | [
"MIT"
] | null | null | null | pointnet2/__init__.py | lkmuk/DL_ops_PointNet2_PyTorch | 5bbd2f3a17fb27690e12dfd0c8944b4ea04de061 | [
"MIT"
] | null | null | null | pointnet2/__init__.py | lkmuk/DL_ops_PointNet2_PyTorch | 5bbd2f3a17fb27690e12dfd0c8944b4ea04de061 | [
"MIT"
] | null | null | null | from .pointnet2_modules import *
from .pointnet2_utils import *
from .pytorch_utils import *
| 23.25 | 32 | 0.806452 | 12 | 93 | 6 | 0.5 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.129032 | 93 | 3 | 33 | 31 | 0.864198 | 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 |
ce8382d3833673ff34b61fc06cfed9b8cefeacfb | 1,294 | py | Python | cronos/_nbdev.py | 3ideas/cronos | 526fbd11662f0f2a3e49348cbe643140835742de | [
"MIT"
] | null | null | null | cronos/_nbdev.py | 3ideas/cronos | 526fbd11662f0f2a3e49348cbe643140835742de | [
"MIT"
] | null | null | null | cronos/_nbdev.py | 3ideas/cronos | 526fbd11662f0f2a3e49348cbe643140835742de | [
"MIT"
] | null | null | null | # AUTOGENERATED BY NBDEV! DO NOT EDIT!
__all__ = ["index", "modules", "custom_doc_links", "git_url"]
index = {"trace_log": "01_convert_time_log.ipynb",
"format_value": "01_convert_time_log.ipynb",
"strip_extra_EnmacClientTime_elements": "01_convert_time_log.ipynb",
"unix_time_milliseconds":... | 43.133333 | 77 | 0.705564 | 181 | 1,294 | 4.491713 | 0.292818 | 0.243542 | 0.309963 | 0.334563 | 0.649446 | 0.597786 | 0.511685 | 0.394834 | 0 | 0 | 0 | 0.034196 | 0.163833 | 1,294 | 29 | 78 | 44.62069 | 0.71719 | 0.027821 | 0 | 0 | 1 | 0 | 0.678344 | 0.461783 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0 | 0.045455 | 0.045455 | 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 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cea980e2dab281fae397b5bbf583464af97071ad | 206 | py | Python | src/petronia/defimpl/platform/windows/__init__.py | groboclown/petronia | 486338023d19cee989e92f0c5692680f1a37811f | [
"MIT"
] | 19 | 2017-06-21T10:28:24.000Z | 2021-12-31T11:49:28.000Z | src/petronia/defimpl/platform/windows/__init__.py | groboclown/petronia | 486338023d19cee989e92f0c5692680f1a37811f | [
"MIT"
] | 10 | 2016-11-11T18:57:57.000Z | 2021-02-01T15:33:43.000Z | src/petronia/defimpl/platform/windows/__init__.py | groboclown/petronia | 486338023d19cee989e92f0c5692680f1a37811f | [
"MIT"
] | 3 | 2017-09-17T03:29:35.000Z | 2019-06-03T10:43:08.000Z |
"""
Provides the low-level platform API implementation for the Windows operating system.
"""
from .bootstrap import bootstrap_windows_platform as start_extension
from .bootstrap import EXTENSION_METADATA
| 25.75 | 84 | 0.830097 | 26 | 206 | 6.423077 | 0.692308 | 0.155689 | 0.227545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121359 | 206 | 7 | 85 | 29.428571 | 0.922652 | 0.407767 | 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 |
0c75fb0babb8d8c98d5687ca652c88efdab81ac3 | 22 | py | Python | bevutils/functional/__init__.py | huangyuyao/bevutils | 24e5c4954b17ed58e27697447ab667c65f59b7e0 | [
"MIT"
] | 2 | 2019-08-04T15:25:28.000Z | 2020-11-07T11:48:41.000Z | bevutils/functional/__init__.py | huangyuyao/bevutils | 24e5c4954b17ed58e27697447ab667c65f59b7e0 | [
"MIT"
] | null | null | null | bevutils/functional/__init__.py | huangyuyao/bevutils | 24e5c4954b17ed58e27697447ab667c65f59b7e0 | [
"MIT"
] | null | null | null | from . import epipolar | 22 | 22 | 0.818182 | 3 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 |
0c80f13e77c7b259fb1b260ffe8cac33ad2d8b1e | 65 | py | Python | Intellux/sensors_module/__init__.py | abdul-gendy/Intellux | dab49ee872de2038a2afea9677f5d41dffb2a240 | [
"MIT"
] | null | null | null | Intellux/sensors_module/__init__.py | abdul-gendy/Intellux | dab49ee872de2038a2afea9677f5d41dffb2a240 | [
"MIT"
] | null | null | null | Intellux/sensors_module/__init__.py | abdul-gendy/Intellux | dab49ee872de2038a2afea9677f5d41dffb2a240 | [
"MIT"
] | null | null | null | from .ADS1115 import Pi_ADS1115
from .TEMT6000 import Pi_TEMT6000 | 32.5 | 33 | 0.861538 | 10 | 65 | 5.4 | 0.5 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 0.107692 | 65 | 2 | 33 | 32.5 | 0.655172 | 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 | 1 | 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 |
0c83bd7b25f5bbd17d3f4887a0a89bd90e2b5dde | 31 | py | Python | radar/util/projects/epi/__init__.py | RADAR-base/pyRADAR-processing | 3995d5f5f52b7be116a3b9dcaa7a1fa36875354a | [
"Apache-2.0"
] | 2 | 2018-07-02T14:31:51.000Z | 2020-11-02T16:01:58.000Z | radar/util/projects/epi/__init__.py | RADAR-base/pyRADAR-processing | 3995d5f5f52b7be116a3b9dcaa7a1fa36875354a | [
"Apache-2.0"
] | 2 | 2020-09-25T05:20:50.000Z | 2021-06-25T15:17:34.000Z | radar/util/projects/epi/__init__.py | RADAR-base/pyRADAR-processing | 3995d5f5f52b7be116a3b9dcaa7a1fa36875354a | [
"Apache-2.0"
] | 1 | 2020-09-18T13:20:15.000Z | 2020-09-18T13:20:15.000Z | from .parsers import RedcapEpi
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0b6fa21fa86797a306a8b5483867e807d264ce01 | 65 | py | Python | easyautoml/__init__.py | almandsky/featuretools-tpot | 09a28109a8b6afe9b4791828313e374176af9a80 | [
"MIT"
] | 3 | 2018-10-29T21:38:01.000Z | 2021-04-18T14:30:39.000Z | easyautoml/__init__.py | almandsky/featuretools-tpot | 09a28109a8b6afe9b4791828313e374176af9a80 | [
"MIT"
] | null | null | null | easyautoml/__init__.py | almandsky/featuretools-tpot | 09a28109a8b6afe9b4791828313e374176af9a80 | [
"MIT"
] | 3 | 2019-01-02T22:18:42.000Z | 2020-02-21T14:27:36.000Z | from . import ftutils
from . import tpotutils
from . import utils | 21.666667 | 23 | 0.784615 | 9 | 65 | 5.666667 | 0.555556 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 65 | 3 | 24 | 21.666667 | 0.944444 | 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 |
e7ee9467d40f0186b8de6e5cd5fc16c025558e84 | 115 | py | Python | webshop/myapp/bp_book/__init__.py | grishian/groepswerk2 | eff0305a99066466f6cafcf5572a0ea1f41f44ed | [
"MIT"
] | null | null | null | webshop/myapp/bp_book/__init__.py | grishian/groepswerk2 | eff0305a99066466f6cafcf5572a0ea1f41f44ed | [
"MIT"
] | null | null | null | webshop/myapp/bp_book/__init__.py | grishian/groepswerk2 | eff0305a99066466f6cafcf5572a0ea1f41f44ed | [
"MIT"
] | null | null | null | from flask import Blueprint
bp_book = Blueprint('bp_book', __name__, cli_group="book")
from . import views_book
| 16.428571 | 58 | 0.765217 | 17 | 115 | 4.705882 | 0.588235 | 0.275 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 115 | 6 | 59 | 19.166667 | 0.808081 | 0 | 0 | 0 | 0 | 0 | 0.096491 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
f008b7889d72e45b61687a0315b6fc2992ab1989 | 1,503 | py | Python | exercicios/ex 051 a 060/ex059.py | CarlosWillian/python | f863578245fbf402e5b46f844a247355afed0d62 | [
"MIT"
] | null | null | null | exercicios/ex 051 a 060/ex059.py | CarlosWillian/python | f863578245fbf402e5b46f844a247355afed0d62 | [
"MIT"
] | null | null | null | exercicios/ex 051 a 060/ex059.py | CarlosWillian/python | f863578245fbf402e5b46f844a247355afed0d62 | [
"MIT"
] | null | null | null | import time
n1 = float(input('Digite o 1° valor: '))
n2 = float(input('Digite o 2° valor: '))
print('''
Escolha uma das opções do menu:
[1] Somar
[2] Multiplicar
[3] Maior
[4] Novos números
[5] Sair do programa''')
o = 1
while o != 5:
o = int(input('Digite a opção escolhida: '))
if o == 1:
print('A val... | 24.639344 | 71 | 0.546241 | 233 | 1,503 | 3.540773 | 0.2103 | 0.029091 | 0.090909 | 0.109091 | 0.815758 | 0.815758 | 0.815758 | 0.815758 | 0.815758 | 0.733333 | 0 | 0.061865 | 0.279441 | 1,503 | 60 | 72 | 25.05 | 0.696214 | 0 | 0 | 0.672414 | 0 | 0 | 0.528942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017241 | 0 | 0.017241 | 0.241379 | 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 |
f04ac0d967c4cde7fc3c0e64929d6ad9337a5a64 | 65 | py | Python | MLlib/activations.py | SaiSrichandra/ML-DL-implementation | d73e1460762635cff3892e8f168dbb64eadba5ca | [
"BSD-3-Clause"
] | null | null | null | MLlib/activations.py | SaiSrichandra/ML-DL-implementation | d73e1460762635cff3892e8f168dbb64eadba5ca | [
"BSD-3-Clause"
] | null | null | null | MLlib/activations.py | SaiSrichandra/ML-DL-implementation | d73e1460762635cff3892e8f168dbb64eadba5ca | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
def sigmoid(X):
return 1/(1+np.exp(-X))
| 10.833333 | 27 | 0.615385 | 13 | 65 | 3.076923 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.215385 | 65 | 5 | 28 | 13 | 0.745098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f066789860cd9c8107730f8d1b356443d1f75129 | 21 | py | Python | misu/demos/demo_basics.py | cjrh/unity | 798423e1563929f6ed7417c477c19c5991ab3a9b | [
"BSD-2-Clause"
] | 10 | 2016-09-08T20:56:51.000Z | 2022-03-27T13:21:58.000Z | misu/demos/demo_basics.py | cjrh/misu | 4520f720590c00e46a952c24be04421b867e8508 | [
"BSD-2-Clause"
] | 33 | 2015-03-18T02:01:28.000Z | 2022-03-27T13:14:48.000Z | misu/demos/demo_basics.py | thisch/misu | 00d70634e7a69df8296653ba00b4c3f79b7e3a3f | [
"BSD-2-Clause"
] | 5 | 2016-08-28T20:33:04.000Z | 2018-08-28T19:28:00.000Z | from misu import *
| 5.25 | 18 | 0.666667 | 3 | 21 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 21 | 3 | 19 | 7 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b2ce38a4a4e07244e2fcc62e76dcd5464b7e3765 | 67 | py | Python | example/myutil.py | xzfn/remoteconsole | 76769688851357d20fe95c322f0b6987b1dd7075 | [
"MIT"
] | null | null | null | example/myutil.py | xzfn/remoteconsole | 76769688851357d20fe95c322f0b6987b1dd7075 | [
"MIT"
] | null | null | null | example/myutil.py | xzfn/remoteconsole | 76769688851357d20fe95c322f0b6987b1dd7075 | [
"MIT"
] | null | null | null |
def f1():
print('call f1')
def f2():
return 'some value'
| 9.571429 | 23 | 0.537313 | 10 | 67 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.283582 | 67 | 6 | 24 | 11.166667 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0.257576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.25 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b2d488032c6a91a3f087d4715ce7915a2f2ab2cc | 1,635 | py | Python | pygamp/custom_definitions.py | flyandlure/pygamp | 629183de53c13b6ad1863acca06ba2df0053b3af | [
"MIT"
] | 1 | 2020-06-05T13:27:38.000Z | 2020-06-05T13:27:38.000Z | pygamp/custom_definitions.py | flyandlure/pygamp | 629183de53c13b6ad1863acca06ba2df0053b3af | [
"MIT"
] | null | null | null | pygamp/custom_definitions.py | flyandlure/pygamp | 629183de53c13b6ad1863acca06ba2df0053b3af | [
"MIT"
] | null | null | null | from .transport import send
def custom_dimension(cid, property_id: str, index: str, value: str):
"""Populate a Google Analytics custom dimension using the Measurement Protocol API.
Google Analytics only provides 20 custom dimension slots so you will need to use them wisely.
:param cid: Client ID
:par... | 35.543478 | 97 | 0.649541 | 224 | 1,635 | 4.705357 | 0.276786 | 0.075901 | 0.034156 | 0.064516 | 0.889943 | 0.882353 | 0.844402 | 0.844402 | 0.772296 | 0.772296 | 0 | 0.022672 | 0.244648 | 1,635 | 45 | 98 | 36.333333 | 0.830769 | 0.544954 | 0 | 0.571429 | 0 | 0 | 0.162963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.142857 | 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 |
b2f5d04ac0865d1da1c2c79075403f702b9b9f50 | 95,024 | py | Python | test/augmentables/test_polys.py | robingong/imgaug | 40839b54f85be1eaf9ee9cc07316f248dece1b51 | [
"MIT"
] | 1 | 2019-07-03T08:48:30.000Z | 2019-07-03T08:48:30.000Z | test/augmentables/test_polys.py | yimol2018/imgaug | 702a257d5a89252ec0aab597f2cc42cfe82fd42b | [
"MIT"
] | null | null | null | test/augmentables/test_polys.py | yimol2018/imgaug | 702a257d5a89252ec0aab597f2cc42cfe82fd42b | [
"MIT"
] | null | null | null | from __future__ import print_function, division, absolute_import
import time
import warnings
import sys
# unittest only added in 3.4 self.subTest()
if sys.version_info[0] < 3 or sys.version_info[1] < 4:
import unittest2 as unittest
else:
import unittest
# unittest.mock is not available in 2.7 (though unittest2... | 39.85906 | 118 | 0.541179 | 14,304 | 95,024 | 3.435682 | 0.036773 | 0.025313 | 0.015689 | 0.015628 | 0.853817 | 0.820365 | 0.789476 | 0.771081 | 0.740579 | 0.717585 | 0 | 0.096108 | 0.289685 | 95,024 | 2,383 | 119 | 39.875787 | 0.631984 | 0.060353 | 0 | 0.664143 | 0 | 0.005949 | 0.017729 | 0 | 0 | 0 | 0 | 0.00042 | 0.288805 | 1 | 0.034613 | false | 0.000541 | 0.009194 | 0 | 0.04543 | 0.000541 | 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 |
6509a051b3f900763757eb32c124af66355ee2f6 | 25,565 | py | Python | RepositoryStatusMonitor/lambda_dir/tests/test_collect_github_docker_metrics.py | awslabs/aws-repository-status-monitor | 1c03d314939799ff69274a00134688b485460ef8 | [
"BSD-3-Clause"
] | 8 | 2020-09-18T18:49:54.000Z | 2021-10-20T15:28:09.000Z | RepositoryStatusMonitor/lambda_dir/tests/test_collect_github_docker_metrics.py | awslabs/aws-repository-status-monitor | 1c03d314939799ff69274a00134688b485460ef8 | [
"BSD-3-Clause"
] | null | null | null | RepositoryStatusMonitor/lambda_dir/tests/test_collect_github_docker_metrics.py | awslabs/aws-repository-status-monitor | 1c03d314939799ff69274a00134688b485460ef8 | [
"BSD-3-Clause"
] | 2 | 2021-05-09T15:49:54.000Z | 2021-10-20T15:28:02.000Z | import json
from unittest.mock import Mock, call, patch
import boto3
from moto import mock_secretsmanager
from lambda_dir import collect_github_docker_metrics as github_docker
@patch('lambda_dir.collect_github_docker_metrics.hh.request_handler')
def test_retrieve_unpaginated_metrics_good_response_no_param(mock_get)... | 49.640777 | 120 | 0.700372 | 3,370 | 25,565 | 4.915134 | 0.054896 | 0.039845 | 0.026805 | 0.025356 | 0.922905 | 0.8993 | 0.882335 | 0.869053 | 0.859333 | 0.859333 | 0 | 0.007525 | 0.173479 | 25,565 | 514 | 121 | 49.737354 | 0.776384 | 0 | 0 | 0.632603 | 0 | 0.004866 | 0.293605 | 0.094426 | 0 | 0 | 0 | 0 | 0.143552 | 1 | 0.077859 | false | 0 | 0.012165 | 0 | 0.090024 | 0.004866 | 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 |
6538ef3bf1fb328debd9042f6eebc36e86a8ef80 | 25 | py | Python | hask/Data/Eq.py | forked-from-1kasper/hask | f0cb9fe50b8b4bea156f1c9543afc488a3ad209e | [
"BSD-2-Clause"
] | 4 | 2017-11-20T09:51:19.000Z | 2022-02-21T07:19:24.000Z | hask/Data/Eq.py | forked-from-1kasper/hask | f0cb9fe50b8b4bea156f1c9543afc488a3ad209e | [
"BSD-2-Clause"
] | null | null | null | hask/Data/Eq.py | forked-from-1kasper/hask | f0cb9fe50b8b4bea156f1c9543afc488a3ad209e | [
"BSD-2-Clause"
] | null | null | null | from hask.lang import Eq
| 12.5 | 24 | 0.8 | 5 | 25 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 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 |
331f201bbe502498b38f6b6d4c788b1426b9eb07 | 58 | py | Python | thirtynine.py | glennandreph/learnpython | deeb48f9d2c38fcdb9f13119083f3cc7e4836e70 | [
"MIT"
] | 1 | 2017-12-16T16:44:05.000Z | 2017-12-16T16:44:05.000Z | thirtynine.py | glennandreph/learnpython | deeb48f9d2c38fcdb9f13119083f3cc7e4836e70 | [
"MIT"
] | null | null | null | thirtynine.py | glennandreph/learnpython | deeb48f9d2c38fcdb9f13119083f3cc7e4836e70 | [
"MIT"
] | null | null | null | x = [1,2,3]
y = [1,2,3]
print(x == y)
print(x is y)
| 9.666667 | 14 | 0.413793 | 15 | 58 | 1.6 | 0.466667 | 0.166667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.310345 | 58 | 5 | 15 | 11.6 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
33476689c4ff585eeb02292e1903b22e268460d6 | 5,025 | py | Python | test/test_SepiaDistCov.py | lanl/SEPIA | 0a1e606e1d1072f49e4f3f358962bd8918a5d3a3 | [
"BSD-3-Clause"
] | 19 | 2020-06-22T16:37:07.000Z | 2022-02-18T22:50:59.000Z | test/test_SepiaDistCov.py | lanl/SEPIA | 0a1e606e1d1072f49e4f3f358962bd8918a5d3a3 | [
"BSD-3-Clause"
] | 41 | 2020-07-07T22:52:33.000Z | 2021-11-04T14:05:03.000Z | test/test_SepiaDistCov.py | lanl/SEPIA | 0a1e606e1d1072f49e4f3f358962bd8918a5d3a3 | [
"BSD-3-Clause"
] | 6 | 2020-08-14T18:58:45.000Z | 2022-03-01T21:00:14.000Z | import unittest
import numpy as np
from sepia.SepiaDistCov import SepiaDistCov
np.random.seed(42)
class SepiaDistCovTestCase(unittest.TestCase):
def setUp(self):
n1 = 100
n2 = 20
self.lams = 10.
self.lamz = 1.
# Unidimensional
self.beta1 = np.array([np.exp(-0.25 ... | 37.781955 | 135 | 0.562587 | 760 | 5,025 | 3.647368 | 0.101316 | 0.077922 | 0.034632 | 0.04329 | 0.850289 | 0.833694 | 0.827561 | 0.823954 | 0.790765 | 0.776696 | 0 | 0.039812 | 0.280199 | 5,025 | 132 | 136 | 38.068182 | 0.726569 | 0.006368 | 0 | 0.551402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 1 | 0.102804 | false | 0 | 0.028037 | 0 | 0.140187 | 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 |
3359eb24e230be3795610da4659ff59a10f81175 | 66 | py | Python | yamlconf/import_module.py | halfak/yamlconf | 6b84ca8a7f738a1fe6b3b67b30b55acaaa8a56a8 | [
"MIT"
] | 1 | 2019-01-20T23:03:08.000Z | 2019-01-20T23:03:08.000Z | yamlconf/import_module.py | halfak/yamlconf | 6b84ca8a7f738a1fe6b3b67b30b55acaaa8a56a8 | [
"MIT"
] | 3 | 2015-12-16T21:05:23.000Z | 2020-05-27T19:18:39.000Z | yamlconf/import_module.py | halfak/yamlconf | 6b84ca8a7f738a1fe6b3b67b30b55acaaa8a56a8 | [
"MIT"
] | 2 | 2015-09-15T04:38:09.000Z | 2020-05-27T17:58:26.000Z | from .import_path import import_path
import_module = import_path
| 16.5 | 36 | 0.848485 | 10 | 66 | 5.2 | 0.4 | 0.576923 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 3 | 37 | 22 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.