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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ab0c88ee9a64231ee456e7fc458722131e67cfd9 | 34 | py | Python | Module 1/Chapter 7/prog1.py | PacktPublishing/Raspberry-Pi-Making-Amazing-Projects-Right-from-Scratch- | 49fd30ca8e1e30e7d85cf14e9dcb6e1d24d4a445 | [
"MIT"
] | 3 | 2016-11-15T02:27:27.000Z | 2017-12-28T20:14:21.000Z | Module 1/Chapter 7/prog1.py | PacktPublishing/Raspberry-Pi-Making-Amazing-Projects-Right-from-Scratch- | 49fd30ca8e1e30e7d85cf14e9dcb6e1d24d4a445 | [
"MIT"
] | null | null | null | Module 1/Chapter 7/prog1.py | PacktPublishing/Raspberry-Pi-Making-Amazing-Projects-Right-from-Scratch- | 49fd30ca8e1e30e7d85cf14e9dcb6e1d24d4a445 | [
"MIT"
] | 5 | 2017-12-28T20:16:05.000Z | 2021-04-22T17:30:05.000Z | import cv2
print cv2.__version__
| 11.333333 | 22 | 0.823529 | 5 | 34 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.147059 | 34 | 2 | 23 | 17 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
ab52d48313f3351abea75bf8f470d2befb8d9c79 | 62 | py | Python | tests/__init__.py | madman-bob/python-lua-imports | 76d3765b03a0478544214022118e5a4a13f6e36a | [
"MIT"
] | 3 | 2020-04-15T00:00:42.000Z | 2021-03-07T19:58:44.000Z | tests/__init__.py | madman-bob/python-lua-imports | 76d3765b03a0478544214022118e5a4a13f6e36a | [
"MIT"
] | null | null | null | tests/__init__.py | madman-bob/python-lua-imports | 76d3765b03a0478544214022118e5a4a13f6e36a | [
"MIT"
] | 1 | 2020-10-05T16:21:53.000Z | 2020-10-05T16:21:53.000Z | from lua_imports import lua_importer
lua_importer.register()
| 15.5 | 36 | 0.854839 | 9 | 62 | 5.555556 | 0.666667 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 62 | 3 | 37 | 20.666667 | 0.892857 | 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 |
db8f2e8178561d3e8ad8161722df05fc9f1febff | 55 | py | Python | uncertainty/util/__init__.py | sangdon/intern2020_cocal | 2f434b76fbf3426c6685fb92c5bbc2d32fcba7ba | [
"Apache-2.0"
] | null | null | null | uncertainty/util/__init__.py | sangdon/intern2020_cocal | 2f434b76fbf3426c6685fb92c5bbc2d32fcba7ba | [
"Apache-2.0"
] | 4 | 2020-09-02T04:20:06.000Z | 2022-02-10T02:13:35.000Z | uncertainty/util/__init__.py | sangdon/intern2020_cocal | 2f434b76fbf3426c6685fb92c5bbc2d32fcba7ba | [
"Apache-2.0"
] | 1 | 2020-08-31T16:17:28.000Z | 2020-08-31T16:17:28.000Z | from util.args import *
from util.logger import Logger
| 18.333333 | 30 | 0.8 | 9 | 55 | 4.888889 | 0.555556 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 31 | 27.5 | 0.93617 | 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 |
dbd4c90cb945544747b8308cf5ade961b6ff86c8 | 30,162 | py | Python | tests/test_api.py | jairhenrique/todoist-python | 755b9bd8a4fdf4e96b2381613ac0c4bed99731e5 | [
"MIT"
] | null | null | null | tests/test_api.py | jairhenrique/todoist-python | 755b9bd8a4fdf4e96b2381613ac0c4bed99731e5 | [
"MIT"
] | null | null | null | tests/test_api.py | jairhenrique/todoist-python | 755b9bd8a4fdf4e96b2381613ac0c4bed99731e5 | [
"MIT"
] | null | null | null | import io
import time
import todoist
def test_stats_get(api_endpoint, api_token):
api = todoist.api.TodoistAPI(api_token, api_endpoint)
response = api.completed.get_stats()
assert 'days_items' in response
assert 'week_items' in response
assert 'karma_trend' in response
assert 'karma_last_upda... | 29.1139 | 82 | 0.636264 | 3,974 | 30,162 | 4.694011 | 0.045546 | 0.085397 | 0.05661 | 0.062882 | 0.850166 | 0.814195 | 0.794521 | 0.762517 | 0.723652 | 0.694757 | 0 | 0.026388 | 0.198395 | 30,162 | 1,035 | 83 | 29.142029 | 0.74514 | 0 | 0 | 0.682278 | 0 | 0 | 0.123898 | 0.005172 | 0 | 0 | 0 | 0 | 0.187342 | 1 | 0.060759 | false | 0 | 0.005063 | 0 | 0.065823 | 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 |
dbdc207882fb6307d686a3c2b77b753e65cc1495 | 114 | py | Python | panoramisk/__init__.py | Eyepea/panoramisk | c10725e358f5b802faa9df1d22de6710927735a0 | [
"MIT"
] | null | null | null | panoramisk/__init__.py | Eyepea/panoramisk | c10725e358f5b802faa9df1d22de6710927735a0 | [
"MIT"
] | null | null | null | panoramisk/__init__.py | Eyepea/panoramisk | c10725e358f5b802faa9df1d22de6710927735a0 | [
"MIT"
] | null | null | null | from .manager import Manager # NOQA
from .call_manager import CallManager # NOQA
from . import fast_agi # NOQA
| 28.5 | 45 | 0.763158 | 16 | 114 | 5.3125 | 0.5 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 114 | 3 | 46 | 38 | 0.913978 | 0.122807 | 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 |
916c668852524852bcc137172db7eabf2b12d323 | 25 | py | Python | gdb/util.py | dennereed/paleocore | d6da6c39cde96050ee4b9e7213ec1200530cbeee | [
"MIT"
] | 1 | 2021-02-05T19:50:13.000Z | 2021-02-05T19:50:13.000Z | gdb/util.py | dennereed/paleocore | d6da6c39cde96050ee4b9e7213ec1200530cbeee | [
"MIT"
] | 59 | 2020-06-17T22:21:51.000Z | 2022-02-10T05:00:01.000Z | gdb/util.py | dennereed/paleocore | d6da6c39cde96050ee4b9e7213ec1200530cbeee | [
"MIT"
] | 2 | 2020-07-01T14:11:09.000Z | 2020-08-10T17:27:26.000Z | from gdb.models import *
| 12.5 | 24 | 0.76 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91a50c39cf3d401ee6a7a290edb9d36a330b0540 | 42 | py | Python | pytaboola/__init__.py | Openmail/pytaboola | ed71b3b9c5fb2e4452d4b6d40aec1ff037dd5436 | [
"MIT"
] | null | null | null | pytaboola/__init__.py | Openmail/pytaboola | ed71b3b9c5fb2e4452d4b6d40aec1ff037dd5436 | [
"MIT"
] | 2 | 2020-04-27T23:41:57.000Z | 2020-07-30T20:48:59.000Z | pytaboola/__init__.py | Openmail/pytaboola | ed71b3b9c5fb2e4452d4b6d40aec1ff037dd5436 | [
"MIT"
] | null | null | null | from pytaboola.client import TaboolaClient | 42 | 42 | 0.904762 | 5 | 42 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91b7d7d61842cf27c4aaa82c80b40afa5304b3b0 | 27 | py | Python | transforms/__init__.py | yangyuke001/emotion-expression.shufflenetv2 | d70fd17871fb758eb4fc7d2f9df430cc7e44ad64 | [
"Apache-2.0"
] | 3 | 2019-11-29T01:29:58.000Z | 2020-09-16T12:48:49.000Z | transforms/__init__.py | yangyuke001/emotion-expression.shufflenetv2 | d70fd17871fb758eb4fc7d2f9df430cc7e44ad64 | [
"Apache-2.0"
] | null | null | null | transforms/__init__.py | yangyuke001/emotion-expression.shufflenetv2 | d70fd17871fb758eb4fc7d2f9df430cc7e44ad64 | [
"Apache-2.0"
] | null | null | null |
from .transforms import *
| 9 | 25 | 0.740741 | 3 | 27 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 2 | 26 | 13.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91c15e0720d4970bd1fb3bf3b4458b92fb250bec | 3,236 | py | Python | qiskit/circuit/library/templates/__init__.py | ajavadia/qiskit-sdk-py | a59e8e6be1793197e19998c1f7dcfc45e6f2f3af | [
"Apache-2.0"
] | 15 | 2020-06-29T08:33:39.000Z | 2022-02-12T00:28:51.000Z | qiskit/circuit/library/templates/__init__.py | ajavadia/qiskit-sdk-py | a59e8e6be1793197e19998c1f7dcfc45e6f2f3af | [
"Apache-2.0"
] | 6 | 2021-01-17T17:56:08.000Z | 2021-04-01T12:40:21.000Z | qiskit/circuit/library/templates/__init__.py | ajavadia/qiskit-sdk-py | a59e8e6be1793197e19998c1f7dcfc45e6f2f3af | [
"Apache-2.0"
] | 11 | 2020-06-29T08:40:24.000Z | 2022-02-24T17:39:16.000Z | # This code is part of Qiskit.
#
# (C) Copyright IBM 2020.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivative wo... | 48.298507 | 79 | 0.860939 | 639 | 3,236 | 3.918623 | 0.164319 | 0.412939 | 0.28155 | 0.337859 | 0.386981 | 0.033546 | 0 | 0 | 0 | 0 | 0 | 0.069863 | 0.097651 | 3,236 | 66 | 80 | 49.030303 | 0.787671 | 0.218171 | 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 |
91e6679035e0b02c68e5fa8e7ebbce0f267caee0 | 13,748 | py | Python | tests/communities/test_reply.py | powerblossom/workcloud | fd943220366ebeadfa90c59fc395f84a734b5686 | [
"MIT"
] | 1 | 2019-10-18T05:57:13.000Z | 2019-10-18T05:57:13.000Z | tests/communities/test_reply.py | powerblossom/workcloud | fd943220366ebeadfa90c59fc395f84a734b5686 | [
"MIT"
] | 11 | 2019-12-02T13:59:22.000Z | 2021-04-24T08:52:19.000Z | tests/communities/test_reply.py | powerblossom/workcloud | fd943220366ebeadfa90c59fc395f84a734b5686 | [
"MIT"
] | null | null | null | from core.response import Response
from communities.tests import TestCase
class ReplyPermissionTest(TestCase):
def setUp(self):
self.create_user(is_staff=True)
def test_permission_reply_all(self):
self.create_forum()
self.create_thread()
thread_id = self.thread.id
res... | 28.404959 | 71 | 0.485598 | 1,432 | 13,748 | 4.511872 | 0.052374 | 0.054171 | 0.114533 | 0.13744 | 0.914564 | 0.898158 | 0.877418 | 0.839189 | 0.817521 | 0.799567 | 0 | 0.018122 | 0.385874 | 13,748 | 483 | 72 | 28.463768 | 0.747128 | 0 | 0 | 0.603774 | 0 | 0 | 0.140311 | 0.084812 | 0 | 0 | 0 | 0 | 0.091981 | 1 | 0.028302 | false | 0 | 0.004717 | 0 | 0.040094 | 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 |
91e8cdd7e37d12c63565c41b5269a325281584b2 | 36 | py | Python | src/phl_budget_data/etl/qcmr/positions/__init__.py | PhiladelphiaController/phl-budget-data | 438999017b8659de5bfb223a038f49fe6fd4a83a | [
"MIT"
] | null | null | null | src/phl_budget_data/etl/qcmr/positions/__init__.py | PhiladelphiaController/phl-budget-data | 438999017b8659de5bfb223a038f49fe6fd4a83a | [
"MIT"
] | null | null | null | src/phl_budget_data/etl/qcmr/positions/__init__.py | PhiladelphiaController/phl-budget-data | 438999017b8659de5bfb223a038f49fe6fd4a83a | [
"MIT"
] | null | null | null | from .core import FullTimePositions
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 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 |
91eee874c4335dfd997cd3ef3e9c2d23c76e47b1 | 26 | py | Python | cloudcms/branch/__init__.py | gitana/cloudcms-python-driver | 8685c634880c1a6af6f359f1a25de42dcf49f319 | [
"Apache-2.0"
] | null | null | null | cloudcms/branch/__init__.py | gitana/cloudcms-python-driver | 8685c634880c1a6af6f359f1a25de42dcf49f319 | [
"Apache-2.0"
] | null | null | null | cloudcms/branch/__init__.py | gitana/cloudcms-python-driver | 8685c634880c1a6af6f359f1a25de42dcf49f319 | [
"Apache-2.0"
] | null | null | null | from .branch import Branch | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 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 |
91ef6e454e8d3a02bbbb8495426f9e53729bb9c8 | 30 | py | Python | test2/test2.py | kubatom/my_nemtiko_repo | 842a303ae120d871623c267ea76c2353d70b2fce | [
"Apache-2.0"
] | null | null | null | test2/test2.py | kubatom/my_nemtiko_repo | 842a303ae120d871623c267ea76c2353d70b2fce | [
"Apache-2.0"
] | null | null | null | test2/test2.py | kubatom/my_nemtiko_repo | 842a303ae120d871623c267ea76c2353d70b2fce | [
"Apache-2.0"
] | null | null | null | print('this is a test2 file')
| 15 | 29 | 0.7 | 6 | 30 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.166667 | 30 | 1 | 30 | 30 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 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 |
530d6b117d510322f8ed51ead9a1be94d7c692f1 | 2,388 | py | Python | connectomics/model/block/squeeze_excitation.py | yixinliao/pytorch_connectomics | 0f6de546e6da1e0f3258b2c84f7e16b3a993c70c | [
"MIT"
] | 1 | 2020-05-17T08:01:56.000Z | 2020-05-17T08:01:56.000Z | connectomics/model/block/squeeze_excitation.py | yixinliao/pytorch_connectomics | 0f6de546e6da1e0f3258b2c84f7e16b3a993c70c | [
"MIT"
] | null | null | null | connectomics/model/block/squeeze_excitation.py | yixinliao/pytorch_connectomics | 0f6de546e6da1e0f3258b2c84f7e16b3a993c70c | [
"MIT"
] | 3 | 2020-03-31T21:40:12.000Z | 2021-06-09T02:26:43.000Z | import torch.nn as nn
from .basic import *
class squeeze_excitation_2d(nn.Module):
"""Squeeze-and-Excitation Block 2D
Args:
channel (int): number of input channels.
channel_reduction (int): channel squeezing factor.
spatial_reduction (int): pooling factor for x,y axes.
"""
def ... | 46.823529 | 156 | 0.68258 | 325 | 2,388 | 4.741538 | 0.206154 | 0.051914 | 0.062297 | 0.05451 | 0.913692 | 0.869565 | 0.759247 | 0.759247 | 0.759247 | 0.704737 | 0 | 0.013137 | 0.203099 | 2,388 | 50 | 157 | 47.76 | 0.796637 | 0.185511 | 0 | 0.4 | 0 | 0 | 0.014831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.333333 | 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 |
5349c9c6e7fa65e3aff751e7538d0e98f7e22725 | 32 | py | Python | FlaskApp/__init__.py | robertavram/project5 | 12a2816b84be994b561f2f693cf34c0fa4f0ca19 | [
"Apache-2.0"
] | 7 | 2015-09-20T22:11:01.000Z | 2021-11-09T18:04:47.000Z | FlaskApp/__init__.py | robertavram/project5 | 12a2816b84be994b561f2f693cf34c0fa4f0ca19 | [
"Apache-2.0"
] | 9 | 2020-03-24T15:24:59.000Z | 2022-03-11T23:13:00.000Z | FlaskApp/__init__.py | robertavram/project5 | 12a2816b84be994b561f2f693cf34c0fa4f0ca19 | [
"Apache-2.0"
] | 2 | 2016-03-06T00:30:54.000Z | 2017-04-06T10:15:06.000Z | # application
import application | 16 | 18 | 0.875 | 3 | 32 | 9.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 2 | 18 | 16 | 0.965517 | 0.34375 | 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 |
53548465e12a42f5d8a5f01db8be119e8fba5d7d | 24,159 | py | Python | server/apps/datablock/tests/test_create_worker.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | server/apps/datablock/tests/test_create_worker.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | server/apps/datablock/tests/test_create_worker.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | import datetime
import json
import dateutil.parser
from django.contrib.auth import get_user_model
from django.test import Client, TestCase
from django.utils import timezone
from apps.devicelocation.models import DeviceLocation
from apps.physicaldevice.models import Device
from apps.property.models import GenericProp... | 41.439108 | 120 | 0.634919 | 2,643 | 24,159 | 5.657208 | 0.080969 | 0.066948 | 0.044342 | 0.032103 | 0.838082 | 0.822164 | 0.788523 | 0.748328 | 0.727996 | 0.68546 | 0 | 0.032195 | 0.254315 | 24,159 | 582 | 121 | 41.510309 | 0.79778 | 0 | 0 | 0.602 | 0 | 0 | 0.02227 | 0.002732 | 0 | 0 | 0 | 0 | 0.158 | 1 | 0.026 | false | 0 | 0.042 | 0 | 0.07 | 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 |
725bc15a18df21922924af39352a1db6548ae9d5 | 5,450 | py | Python | ProjectEuler.Problem.013.py | jihunroh/ProjectEuler-Python | 2fceaf5c3dd61038004b6128c5d9ee7a76142bca | [
"MIT"
] | null | null | null | ProjectEuler.Problem.013.py | jihunroh/ProjectEuler-Python | 2fceaf5c3dd61038004b6128c5d9ee7a76142bca | [
"MIT"
] | null | null | null | ProjectEuler.Problem.013.py | jihunroh/ProjectEuler-Python | 2fceaf5c3dd61038004b6128c5d9ee7a76142bca | [
"MIT"
] | null | null | null | from ProjectEulerCommons.Base import *
numbers_list = """37107287533902102798797998220837590246510135740250
46376937677490009712648124896970078050417018260538
74324986199524741059474233309513058123726617309629
91942213363574161572522430563301811072406154908250
23067588207539346171171980310421047513778063246676
8926167... | 47.391304 | 68 | 0.949725 | 131 | 5,450 | 39.496183 | 0.961832 | 0.004252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.94839 | 0.025872 | 5,450 | 114 | 69 | 47.807018 | 0.026182 | 0 | 0 | 0 | 0 | 0 | 0.972349 | 0.953471 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009615 | 0 | 0.009615 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72b949d8e04cbc755aaffda65747d7946fc2a6d5 | 217 | py | Python | gym_reinmav/envs/mujoco/__init__.py | peterminh227/reinmav-gym | 518122b16b86d59f744b3116e6187dafd49a3de4 | [
"BSD-3-Clause"
] | 60 | 2019-03-08T21:14:38.000Z | 2022-01-23T20:43:21.000Z | gym_reinmav/envs/mujoco/__init__.py | peterminh227/reinmav-gym | 518122b16b86d59f744b3116e6187dafd49a3de4 | [
"BSD-3-Clause"
] | 8 | 2019-03-09T09:09:38.000Z | 2022-03-25T15:36:51.000Z | gym_reinmav/envs/mujoco/__init__.py | peterminh227/reinmav-gym | 518122b16b86d59f744b3116e6187dafd49a3de4 | [
"BSD-3-Clause"
] | 22 | 2019-03-08T19:47:49.000Z | 2022-03-29T09:14:01.000Z | from gym_reinmav.envs.mujoco.mujoco_quad import MujocoQuadEnv
from gym_reinmav.envs.mujoco.mujoco_quad_hovering import MujocoQuadHoveringEnv
from gym_reinmav.envs.mujoco.mujoco_quad_quat import MujocoQuadQuaternionEnv | 72.333333 | 78 | 0.907834 | 29 | 217 | 6.517241 | 0.413793 | 0.111111 | 0.222222 | 0.285714 | 0.539683 | 0.539683 | 0.539683 | 0 | 0 | 0 | 0 | 0 | 0.050691 | 217 | 3 | 79 | 72.333333 | 0.917476 | 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 | 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 |
72d61a6fdb060552b86f4595f2938ff73c8b70ad | 41 | py | Python | src/scheduled_task/__init__.py | Sciocatti/python_scheduler_and_clean_forced_exit | 4e5373ba33798c08096087058773412257230662 | [
"MIT"
] | null | null | null | src/scheduled_task/__init__.py | Sciocatti/python_scheduler_and_clean_forced_exit | 4e5373ba33798c08096087058773412257230662 | [
"MIT"
] | null | null | null | src/scheduled_task/__init__.py | Sciocatti/python_scheduler_and_clean_forced_exit | 4e5373ba33798c08096087058773412257230662 | [
"MIT"
] | null | null | null | from .scheduled_task import ScheduledTask | 41 | 41 | 0.902439 | 5 | 41 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 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 |
72fac0ae2d96fa1f6d3aaf1194458c0e2fa5d7a4 | 143 | py | Python | custom_app/custom_app/doctype/depart/test_depart.py | Amruthaohm/custom_app | 03bc3fc11c3627251796611caf33b7117c46d69b | [
"MIT"
] | null | null | null | custom_app/custom_app/doctype/depart/test_depart.py | Amruthaohm/custom_app | 03bc3fc11c3627251796611caf33b7117c46d69b | [
"MIT"
] | null | null | null | custom_app/custom_app/doctype/depart/test_depart.py | Amruthaohm/custom_app | 03bc3fc11c3627251796611caf33b7117c46d69b | [
"MIT"
] | null | null | null | # Copyright (c) 2022, momscode and Contributors
# See license.txt
# import frappe
import unittest
class Testdepart(unittest.TestCase):
pass
| 15.888889 | 47 | 0.776224 | 18 | 143 | 6.166667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.146853 | 143 | 8 | 48 | 17.875 | 0.877049 | 0.524476 | 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 |
f4242dbae6b7b1f46a3706ed85d4e577d7b0d160 | 106,765 | py | Python | projectroles/tests/test_views_api.py | bihealth/sodar_core | a6c22c4f276b64ffae6de48779a82d59a60a9333 | [
"MIT"
] | 11 | 2019-06-26T14:05:58.000Z | 2020-12-05T02:20:11.000Z | projectroles/tests/test_views_api.py | bihealth/sodar_core | a6c22c4f276b64ffae6de48779a82d59a60a9333 | [
"MIT"
] | 11 | 2019-07-01T06:17:44.000Z | 2021-04-20T07:19:40.000Z | projectroles/tests/test_views_api.py | bihealth/sodar_core | a6c22c4f276b64ffae6de48779a82d59a60a9333 | [
"MIT"
] | 4 | 2019-06-26T07:49:50.000Z | 2020-05-19T21:58:10.000Z | """REST API view tests for the projectroles app"""
import base64
import json
import pytz
from django.conf import settings
from django.core import mail
from django.forms.models import model_to_dict
from django.test import override_settings
from django.urls import reverse
from django.utils import timezone
from knox.mod... | 35.166337 | 93 | 0.607577 | 11,402 | 106,765 | 5.443343 | 0.036309 | 0.058004 | 0.036317 | 0.040651 | 0.851688 | 0.823105 | 0.791815 | 0.77667 | 0.758543 | 0.742077 | 0 | 0.007696 | 0.288025 | 106,765 | 3,035 | 94 | 35.177924 | 0.808798 | 0.111553 | 0 | 0.669526 | 0 | 0 | 0.100968 | 0.029328 | 0 | 0 | 0 | 0.000329 | 0.109707 | 1 | 0.063205 | false | 0.000903 | 0.008126 | 0.000451 | 0.086682 | 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 |
f46d4201935576f7c5b0f071b01e8b9a5b4caddc | 2,945 | py | Python | test/test_proportions_delta.py | quizlet/abracadabra | eda599bd02f14b96efdc521f53132d93c9100ede | [
"MIT"
] | 24 | 2020-06-12T16:12:32.000Z | 2021-09-01T12:25:38.000Z | test/test_proportions_delta.py | quizlet/abracadabra | eda599bd02f14b96efdc521f53132d93c9100ede | [
"MIT"
] | 20 | 2020-06-12T06:26:08.000Z | 2022-03-12T00:57:51.000Z | test/test_proportions_delta.py | quizlet/abracadabra | eda599bd02f14b96efdc521f53132d93c9100ede | [
"MIT"
] | 4 | 2020-06-14T12:14:11.000Z | 2021-05-28T15:36:44.000Z | import pytest
from abra import Experiment, HypothesisTest
def test_large_proportions_delta_expermiment(proportions_data_large):
exp = Experiment(proportions_data_large, name='proportions-test')
# run 'A/A' test
test_aa = HypothesisTest(
metric='metric',
control='A', variation='A',
... | 29.45 | 80 | 0.69236 | 352 | 2,945 | 5.482955 | 0.127841 | 0.058031 | 0.103627 | 0.119689 | 0.846632 | 0.829534 | 0.785492 | 0.785492 | 0.760622 | 0.760622 | 0 | 0.000855 | 0.206112 | 2,945 | 100 | 81 | 29.45 | 0.824636 | 0.040068 | 0 | 0.684932 | 0 | 0 | 0.111466 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 1 | 0.082192 | false | 0 | 0.027397 | 0 | 0.109589 | 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 |
f479e4c7564b46ceb9cbf0369fdeb3cac10260f7 | 4,274 | py | Python | tests/Metrics/test_recall.py | Neklaustares-tPtwP/torchflare | 7af6b01ef7c26f0277a041619081f6df4eb1e42c | [
"Apache-2.0"
] | 1 | 2021-09-14T08:38:05.000Z | 2021-09-14T08:38:05.000Z | tests/Metrics/test_recall.py | weidao-Shi/torchflare | 3c55b5a0761f2e85dd6da95767c6ec03f0f5baad | [
"Apache-2.0"
] | null | null | null | tests/Metrics/test_recall.py | weidao-Shi/torchflare | 3c55b5a0761f2e85dd6da95767c6ec03f0f5baad | [
"Apache-2.0"
] | 1 | 2021-08-06T19:24:43.000Z | 2021-08-06T19:24:43.000Z | # flake8: noqa
import warnings
import pytest
import torch
from sklearn.exceptions import UndefinedMetricWarning
from sklearn.metrics import recall_score
from torchflare.metrics.recall_meter import Recall
from torchflare.metrics.meters import _BaseInputHandler
torch.manual_seed(42)
def test_binary_inputs():
def... | 33.920635 | 111 | 0.654422 | 536 | 4,274 | 5.050373 | 0.141791 | 0.077577 | 0.046546 | 0.069819 | 0.878833 | 0.878833 | 0.877724 | 0.85556 | 0.85556 | 0.846694 | 0 | 0.022175 | 0.229761 | 4,274 | 125 | 112 | 34.192 | 0.800122 | 0.002808 | 0 | 0.614458 | 0 | 0 | 0.017371 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 1 | 0.072289 | false | 0 | 0.084337 | 0 | 0.156627 | 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 |
be8915c20c303761d43a0098702f7e241e75e9c4 | 40 | py | Python | lf3py/di/__init__.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | null | null | null | lf3py/di/__init__.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | 48 | 2020-12-19T13:47:26.000Z | 2021-01-07T22:27:56.000Z | lf3py/di/__init__.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | null | null | null | from lf3py.di.di import DI # noqa F401
| 20 | 39 | 0.725 | 8 | 40 | 3.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.2 | 40 | 1 | 40 | 40 | 0.78125 | 0.225 | 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 |
be995dc30a4b39d65ba03829daf98d9b834c9449 | 37,788 | py | Python | tests/unittests/plotting/test_plotly_backend.py | obilaniu/orion | bc886daf791d66490b59e43657f6f6db45d34ea8 | [
"BSD-3-Clause"
] | 1 | 2021-04-10T16:18:03.000Z | 2021-04-10T16:18:03.000Z | tests/unittests/plotting/test_plotly_backend.py | obilaniu/orion | bc886daf791d66490b59e43657f6f6db45d34ea8 | [
"BSD-3-Clause"
] | null | null | null | tests/unittests/plotting/test_plotly_backend.py | obilaniu/orion | bc886daf791d66490b59e43657f6f6db45d34ea8 | [
"BSD-3-Clause"
] | null | null | null | """Collection of tests for :mod:`orion.plotting.backend_plotly`."""
import copy
import numpy
import pandas
import plotly
import pytest
import orion.client
from orion.analysis.partial_dependency_utils import partial_dependency_grid
from orion.core.worker.experiment import Experiment
from orion.plotting.base import (
... | 35.716446 | 87 | 0.59196 | 4,157 | 37,788 | 5.139524 | 0.068319 | 0.048678 | 0.056167 | 0.066932 | 0.823309 | 0.809502 | 0.791388 | 0.778657 | 0.756939 | 0.74037 | 0 | 0.015585 | 0.288557 | 37,788 | 1,057 | 88 | 35.750237 | 0.779125 | 0.105801 | 0 | 0.668774 | 0 | 0 | 0.069969 | 0.011207 | 0 | 0 | 0 | 0 | 0.10493 | 1 | 0.096081 | false | 0 | 0.013906 | 0.001264 | 0.127686 | 0.001264 | 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 |
bec22a0f8cc88b9839de8e482052c5fe36989f8a | 163 | py | Python | pyrules/storages/base.py | miraculixx/pyrules | b10d1d5e74052fa1db93cc9b459ac9057a9eb502 | [
"MIT"
] | 17 | 2015-07-20T03:11:04.000Z | 2021-05-02T03:34:05.000Z | pyrules/storages/base.py | miraculixx/pyrules | b10d1d5e74052fa1db93cc9b459ac9057a9eb502 | [
"MIT"
] | 20 | 2015-04-10T10:11:44.000Z | 2020-09-10T03:51:47.000Z | pyrules/storages/base.py | miraculixx/pyrules | b10d1d5e74052fa1db93cc9b459ac9057a9eb502 | [
"MIT"
] | 8 | 2017-04-03T10:46:16.000Z | 2021-11-20T05:46:02.000Z | class BaseStorage(object):
def get_rule(self, name):
raise NotImplementedError()
def get_ruleset(self, name):
raise NotImplementedError()
| 23.285714 | 35 | 0.680982 | 17 | 163 | 6.411765 | 0.647059 | 0.110092 | 0.238532 | 0.587156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226994 | 163 | 6 | 36 | 27.166667 | 0.865079 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
fe2001122588d2b0248d76d502b21c18d29d729d | 40 | py | Python | catkin_ws/src:/opt/ros/kinetic/lib/python2.7/dist-packages:/home/bala/duckietown/catkin_ws/src:/home/bala/duckietown/catkin_ws/src/lib/python2.7/site-packages/geometry/subspaces/__init__.py | johnson880319/Software | 045894227f359e0a3a3ec5b7a53f8d1ebc06acdd | [
"CC-BY-2.0"
] | null | null | null | catkin_ws/src:/opt/ros/kinetic/lib/python2.7/dist-packages:/home/bala/duckietown/catkin_ws/src:/home/bala/duckietown/catkin_ws/src/lib/python2.7/site-packages/geometry/subspaces/__init__.py | johnson880319/Software | 045894227f359e0a3a3ec5b7a53f8d1ebc06acdd | [
"CC-BY-2.0"
] | null | null | null | catkin_ws/src:/opt/ros/kinetic/lib/python2.7/dist-packages:/home/bala/duckietown/catkin_ws/src:/home/bala/duckietown/catkin_ws/src/lib/python2.7/site-packages/geometry/subspaces/__init__.py | johnson880319/Software | 045894227f359e0a3a3ec5b7a53f8d1ebc06acdd | [
"CC-BY-2.0"
] | null | null | null | # coding=utf-8
from .subspaces import *
| 13.333333 | 24 | 0.725 | 6 | 40 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.15 | 40 | 2 | 25 | 20 | 0.823529 | 0.3 | 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 |
fe04e111d5ba3ee739293195694259fc26b56d25 | 30 | py | Python | data/data/__init__.py | PumpkinYing/GAT | 723a20fcd9f915123d46ef4ef03eeadb6910635a | [
"MIT"
] | null | null | null | data/data/__init__.py | PumpkinYing/GAT | 723a20fcd9f915123d46ef4ef03eeadb6910635a | [
"MIT"
] | null | null | null | data/data/__init__.py | PumpkinYing/GAT | 723a20fcd9f915123d46ef4ef03eeadb6910635a | [
"MIT"
] | null | null | null | from .dataset import load_data | 30 | 30 | 0.866667 | 5 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 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 |
4326718464c0594d943bc8eb250db3e42117293d | 58,893 | py | Python | tobac/plotting.py | w-herbst/tobac | 9f3b9812e9a13a26373e42d356f7d571366bb967 | [
"BSD-3-Clause"
] | 36 | 2018-11-12T10:42:22.000Z | 2022-03-08T04:29:58.000Z | tobac/plotting.py | w-herbst/tobac | 9f3b9812e9a13a26373e42d356f7d571366bb967 | [
"BSD-3-Clause"
] | 71 | 2018-12-04T13:11:54.000Z | 2022-03-30T23:15:26.000Z | tobac/plotting.py | w-herbst/tobac | 9f3b9812e9a13a26373e42d356f7d571366bb967 | [
"BSD-3-Clause"
] | 28 | 2018-11-19T07:51:02.000Z | 2022-02-17T16:26:40.000Z | import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt
import logging
from .analysis import lifetime_histogram
from .analysis import histogram_cellwise,histogram_featurewise
import numpy as np
def plot_tracks_mask_field_loop(track,field,mask,features,axes=None,name=None,plot_dir='./',
... | 46.154389 | 219 | 0.614708 | 7,548 | 58,893 | 4.533651 | 0.063063 | 0.054004 | 0.025774 | 0.01052 | 0.81166 | 0.785535 | 0.770631 | 0.747224 | 0.733665 | 0.716745 | 0 | 0.024047 | 0.27482 | 58,893 | 1,275 | 220 | 46.190588 | 0.777208 | 0.139847 | 0 | 0.680131 | 0 | 0 | 0.072353 | 0.030001 | 0.002183 | 0 | 0 | 0 | 0 | 1 | 0.019651 | false | 0 | 0.05786 | 0 | 0.08952 | 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 |
433e58236c454031e14219f73017c1003e0c9d8b | 238 | py | Python | metal/gdb/__init__.py | cHemingway/test | 7fcbd56ad6fe5368b927ea146363bf3d69cd7617 | [
"Apache-2.0"
] | 24 | 2020-07-24T18:33:58.000Z | 2022-03-23T21:00:19.000Z | metal/gdb/__init__.py | cHemingway/test | 7fcbd56ad6fe5368b927ea146363bf3d69cd7617 | [
"Apache-2.0"
] | 4 | 2020-07-27T05:44:26.000Z | 2021-09-02T16:05:47.000Z | metal/gdb/__init__.py | cHemingway/test | 7fcbd56ad6fe5368b927ea146363bf3d69cd7617 | [
"Apache-2.0"
] | 1 | 2020-07-25T15:13:20.000Z | 2020-07-25T15:13:20.000Z | from metal.gdb.metal_break import Breakpoint, MetalBreakpoint
from metal.gdb.exitcode import ExitBreakpoint
from metal.gdb.timeout import Timeout
from metal.gdb.newlib import NewlibBreakpoints
from metal.gdb.argv import ArgvBreakpoint
| 26.444444 | 61 | 0.852941 | 32 | 238 | 6.3125 | 0.4375 | 0.222772 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10084 | 238 | 8 | 62 | 29.75 | 0.943925 | 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 |
4342126f8186083b8837b5fae410f4df52ae4048 | 99 | py | Python | charlotte/charlotte.py | puiterwijk/charlotte | 42aa2a126f473fa4ddedb61eb5dc021d8d609fbe | [
"MIT"
] | 5 | 2018-03-28T23:02:20.000Z | 2020-11-16T23:20:18.000Z | charlotte/charlotte.py | puiterwijk/charlotte | 42aa2a126f473fa4ddedb61eb5dc021d8d609fbe | [
"MIT"
] | 1 | 2018-06-11T19:52:44.000Z | 2018-06-11T19:52:44.000Z | charlotte/charlotte.py | puiterwijk/charlotte | 42aa2a126f473fa4ddedb61eb5dc021d8d609fbe | [
"MIT"
] | 3 | 2018-06-11T18:35:20.000Z | 2020-12-29T05:59:31.000Z | class Config:
def __init__(self, config_file_name):
self.config_file_name = config_file_name
| 19.8 | 42 | 0.787879 | 15 | 99 | 4.533333 | 0.466667 | 0.441176 | 0.617647 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 99 | 4 | 43 | 24.75 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a3a7096be78dd2d3c57cba31752bc3f172e277d | 3,475 | py | Python | tests/test_sbfc.py | htwangtw/sbfc | 5119017a643b82efbfaaf373a26f191a51f8283a | [
"BSD-3-Clause"
] | null | null | null | tests/test_sbfc.py | htwangtw/sbfc | 5119017a643b82efbfaaf373a26f191a51f8283a | [
"BSD-3-Clause"
] | 13 | 2021-04-29T16:11:18.000Z | 2022-02-22T18:10:36.000Z | tests/test_sbfc.py | htwangtw/sbfc | 5119017a643b82efbfaaf373a26f191a51f8283a | [
"BSD-3-Clause"
] | null | null | null | import os
import numpy as np
import pandas as pd
from nilearn import datasets
from sbfc.parser import seed_base_connectivity
seed = os.path.dirname(__file__) + "/data/difumo64_pcc.nii.gz"
def _make_data_single_run(confound=True):
adhd_dataset = datasets.fetch_adhd(n_subjects=2)
group_confounds = pd.DataFra... | 29.700855 | 82 | 0.639424 | 415 | 3,475 | 4.987952 | 0.204819 | 0.114976 | 0.131401 | 0.10628 | 0.86715 | 0.851208 | 0.851208 | 0.841063 | 0.816908 | 0.816908 | 0 | 0.006166 | 0.253237 | 3,475 | 116 | 83 | 29.956897 | 0.791522 | 0.009209 | 0 | 0.64 | 0 | 0 | 0.068915 | 0.00727 | 0 | 0 | 0 | 0 | 0.03 | 1 | 0.04 | false | 0 | 0.05 | 0 | 0.11 | 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 |
4a48f5c7b324b298a0d8541fe2c9610bbecc1796 | 96 | py | Python | xception/test.py | latentai/model-zoo-models | 70a96e955b3b1245f8417613cd9debdae91b1d28 | [
"Apache-2.0"
] | 8 | 2020-05-16T20:14:27.000Z | 2020-07-08T09:23:24.000Z | inceptionv3/test.py | latentai/model-zoo-models | 70a96e955b3b1245f8417613cd9debdae91b1d28 | [
"Apache-2.0"
] | 9 | 2020-03-26T10:25:12.000Z | 2022-02-28T19:54:14.000Z | audio_recognition/test.py | latentai/model-zoo-models | 70a96e955b3b1245f8417613cd9debdae91b1d28 | [
"Apache-2.0"
] | 6 | 2020-03-19T20:52:09.000Z | 2022-03-06T01:33:29.000Z | #!/usr/bin/env python3
from utils.model_config_helpers import run_model_test
run_model_test()
| 16 | 53 | 0.822917 | 16 | 96 | 4.5625 | 0.75 | 0.219178 | 0.328767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.09375 | 96 | 5 | 54 | 19.2 | 0.827586 | 0.21875 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4a7be356f01ce20843ac2c23c55739f318ee8ab2 | 110 | py | Python | tools/__init__.py | supercatex/TelloEdu | 8f434dbc9866be3025cb119175c40f1d2d7fb5f3 | [
"MIT"
] | 1 | 2019-12-04T04:30:06.000Z | 2019-12-04T04:30:06.000Z | tools/__init__.py | supercatex/TelloEdu | 8f434dbc9866be3025cb119175c40f1d2d7fb5f3 | [
"MIT"
] | null | null | null | tools/__init__.py | supercatex/TelloEdu | 8f434dbc9866be3025cb119175c40f1d2d7fb5f3 | [
"MIT"
] | null | null | null | from tools.TelloEdu import TelloEdu
from tools.Controller import *
from tools.SocketObject import SocketClient | 36.666667 | 43 | 0.863636 | 14 | 110 | 6.785714 | 0.5 | 0.284211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 110 | 3 | 43 | 36.666667 | 0.959596 | 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 |
4a94f180b8cf8188f6c73d72cff2209e4e3ba275 | 8,504 | py | Python | tests/test_email_subscriptions.py | coolboi567/dnstwister | b809ca721a13efc6b59e11587c582f6ba4b11587 | [
"Unlicense"
] | null | null | null | tests/test_email_subscriptions.py | coolboi567/dnstwister | b809ca721a13efc6b59e11587c582f6ba4b11587 | [
"Unlicense"
] | null | null | null | tests/test_email_subscriptions.py | coolboi567/dnstwister | b809ca721a13efc6b59e11587c582f6ba4b11587 | [
"Unlicense"
] | null | null | null | """Tests of the email subscription mechanism."""
import binascii
import flask_webtest
import mock
import pytest
import webtest.app
import dnstwister
import dnstwister.tools
import patches
@mock.patch('dnstwister.views.www.email.emailer', patches.NoEmailer())
@mock.patch('dnstwister.repository.db', patch... | 32.212121 | 118 | 0.688147 | 1,011 | 8,504 | 5.647873 | 0.148368 | 0.026795 | 0.056567 | 0.050788 | 0.820666 | 0.789142 | 0.789142 | 0.788091 | 0.778459 | 0.704203 | 0 | 0.024024 | 0.177681 | 8,504 | 263 | 119 | 32.334601 | 0.792507 | 0.03516 | 0 | 0.692308 | 0 | 0 | 0.209455 | 0.092277 | 0 | 0 | 0 | 0 | 0.260355 | 1 | 0.065089 | false | 0 | 0.047337 | 0 | 0.112426 | 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 |
4aa2c859139d7fe0cc49624a8f1cffa727776312 | 9,913 | py | Python | Segment/models/other/fcn.py | YuHe0108/cvmodule | ea00a90fc9bbca5b2c7809791cbd1f7b0da526cd | [
"Apache-2.0"
] | null | null | null | Segment/models/other/fcn.py | YuHe0108/cvmodule | ea00a90fc9bbca5b2c7809791cbd1f7b0da526cd | [
"Apache-2.0"
] | null | null | null | Segment/models/other/fcn.py | YuHe0108/cvmodule | ea00a90fc9bbca5b2c7809791cbd1f7b0da526cd | [
"Apache-2.0"
] | null | null | null | # from tensorflow.keras import Model, Input
# from tensorflow.keras.applications import vgg16, resnet50
# from tensorflow.keras.layers import (Conv2D, Conv2DTranspose, Cropping2D, add, Dropout, Reshape, Activation)
# from tensorflow.keras import layers
# import tensorflow as tf
#
# """
# FCN-8特点:
# 1、不含全连接层... | 42.182979 | 121 | 0.605468 | 1,208 | 9,913 | 4.800497 | 0.143212 | 0.055182 | 0.044146 | 0.055182 | 0.958441 | 0.949991 | 0.946543 | 0.945163 | 0.945163 | 0.933092 | 0 | 0.062593 | 0.25058 | 9,913 | 234 | 122 | 42.363248 | 0.717997 | 0.618884 | 0 | 0.137255 | 0 | 0 | 0.066905 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.039216 | false | 0 | 0.078431 | 0 | 0.156863 | 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 |
4aa6a27eafd16cd1848b1b408b9c5ae618566d25 | 43,229 | py | Python | cirq/google/engine/engine_client_test.py | lilies/Cirq | 519b8b70ba4d2d92d1c034c398161ebdbd23e2e7 | [
"Apache-2.0"
] | 1 | 2020-04-06T17:06:10.000Z | 2020-04-06T17:06:10.000Z | cirq/google/engine/engine_client_test.py | lilies/Cirq | 519b8b70ba4d2d92d1c034c398161ebdbd23e2e7 | [
"Apache-2.0"
] | null | null | null | cirq/google/engine/engine_client_test.py | lilies/Cirq | 519b8b70ba4d2d92d1c034c398161ebdbd23e2e7 | [
"Apache-2.0"
] | 1 | 2020-04-14T15:29:29.000Z | 2020-04-14T15:29:29.000Z | # Copyright 2020 The Cirq Developers
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | 39.478539 | 80 | 0.637373 | 4,437 | 43,229 | 5.977237 | 0.065134 | 0.055051 | 0.055051 | 0.060631 | 0.896686 | 0.873082 | 0.851061 | 0.830625 | 0.787565 | 0.751254 | 0 | 0.023375 | 0.246894 | 43,229 | 1,094 | 81 | 39.514625 | 0.791252 | 0.015962 | 0 | 0.675468 | 0 | 0 | 0.181438 | 0.110382 | 0 | 0 | 0 | 0 | 0.133113 | 1 | 0.045105 | false | 0 | 0.011001 | 0 | 0.057206 | 0.019802 | 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 |
4372710c66361fa93707980328afe4826b15ed27 | 6,609 | py | Python | 10_compare_between_main_product_pages.py | e-davydenkova/SeleniumWebDriver_Training | e03cfbe4ea74ddc8f0c575d8fcaa3a6c7ccb7d0a | [
"Apache-2.0"
] | null | null | null | 10_compare_between_main_product_pages.py | e-davydenkova/SeleniumWebDriver_Training | e03cfbe4ea74ddc8f0c575d8fcaa3a6c7ccb7d0a | [
"Apache-2.0"
] | null | null | null | 10_compare_between_main_product_pages.py | e-davydenkova/SeleniumWebDriver_Training | e03cfbe4ea74ddc8f0c575d8fcaa3a6c7ccb7d0a | [
"Apache-2.0"
] | null | null | null | import pytest
from selenium import webdriver
import re
@pytest.fixture
def driver(request):
wd = webdriver.Chrome()
wd.get("http://localhost/litecart/en/")
request.addfinalizer(wd.quit)
return wd
# check that product names are identical on the main page and on product page
def test_product_names(driv... | 52.03937 | 125 | 0.733394 | 994 | 6,609 | 4.668008 | 0.096579 | 0.029095 | 0.075647 | 0.093103 | 0.859698 | 0.845043 | 0.805603 | 0.794828 | 0.748922 | 0.748922 | 0 | 0.004006 | 0.169012 | 6,609 | 126 | 126 | 52.452381 | 0.840859 | 0.191103 | 0 | 0.409091 | 0 | 0.045455 | 0.34392 | 0.054125 | 0 | 0 | 0 | 0 | 0.19697 | 1 | 0.090909 | false | 0 | 0.045455 | 0 | 0.151515 | 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 |
4389760f68989bd2ea1837354a093cc8ebd81958 | 7,406 | py | Python | Toolkits/CMake/hunter/packages/sugar/python/sugar/sugar_warnings_wiki_table_generator.py | roscopecoltran/SniperKit-Core | 4600dffe1cddff438b948b6c22f586d052971e04 | [
"MIT"
] | 102 | 2015-01-28T20:51:35.000Z | 2021-04-09T11:36:01.000Z | Toolkits/CMake/hunter/packages/sugar/python/sugar/sugar_warnings_wiki_table_generator.py | roscopecoltran/SniperKit-Core | 4600dffe1cddff438b948b6c22f586d052971e04 | [
"MIT"
] | 56 | 2015-01-01T19:22:34.000Z | 2020-01-28T13:48:14.000Z | python/sugar/sugar_warnings_wiki_table_generator.py | idscan/sugar | 0a64153710d039dc081698be83562cdf464c84dc | [
"BSD-2-Clause"
] | 28 | 2015-03-05T19:47:08.000Z | 2021-01-17T21:07:31.000Z | #!/usr/bin/env python3
# Copyright (c) 2014, Ruslan Baratov
# All rights reserved.
"""
* Wiki table for `leathers` C++ project
Expected format:
### Main table
Name | Clang | GCC | MSVC |
-----------------------------|----------|----------|------|
static-ctor-not-thread-safe | *no* ... | 27.634328 | 75 | 0.626924 | 1,009 | 7,406 | 4.294351 | 0.090188 | 0.090007 | 0.059081 | 0.048234 | 0.786522 | 0.776367 | 0.766213 | 0.755827 | 0.70367 | 0.65982 | 0 | 0.006285 | 0.226573 | 7,406 | 267 | 76 | 27.737828 | 0.750175 | 0.124089 | 0 | 0.737374 | 0 | 0 | 0.044486 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 1 | 0.106061 | false | 0 | 0 | 0 | 0.252525 | 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 |
60050fc2440b99d0cc01c8e1d51ae9219c2ec9ce | 46 | py | Python | cvstudio/view/widgets/labels_tableview/__init__.py | haruiz/PytorchCvStudio | ccf79dd0cc0d61f3fd01b1b5d96f7cda7b681eef | [
"MIT"
] | 32 | 2019-10-31T03:10:52.000Z | 2020-12-23T11:50:53.000Z | cvstudio/view/widgets/labels_tableview/__init__.py | haruiz/CvStudio | ccf79dd0cc0d61f3fd01b1b5d96f7cda7b681eef | [
"MIT"
] | 19 | 2019-10-31T15:06:05.000Z | 2020-06-15T02:21:55.000Z | cvstudio/view/widgets/labels_tableview/__init__.py | haruiz/PytorchCvStudio | ccf79dd0cc0d61f3fd01b1b5d96f7cda7b681eef | [
"MIT"
] | 8 | 2019-10-31T03:32:50.000Z | 2020-07-17T20:47:37.000Z | from .labels_tableview import LabelsTableView
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 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 |
60125a0886f4a69344f97e125b44faf6103792e1 | 319 | py | Python | distdeepq/__init__.py | Silvicek/distributional-dqn | 41a9095393dd25b7375119b4af7d2c35ee3ec6cc | [
"MIT"
] | 131 | 2017-09-16T02:06:44.000Z | 2022-03-23T08:09:56.000Z | distdeepq/__init__.py | Silvicek/distributional-dqn | 41a9095393dd25b7375119b4af7d2c35ee3ec6cc | [
"MIT"
] | 6 | 2017-10-26T09:36:00.000Z | 2019-03-15T06:23:17.000Z | distdeepq/__init__.py | Silvicek/distributional-dqn | 41a9095393dd25b7375119b4af7d2c35ee3ec6cc | [
"MIT"
] | 29 | 2017-09-16T02:30:27.000Z | 2020-04-12T03:12:39.000Z | from distdeepq import models # noqa
from distdeepq.build_graph import build_act, build_train # noqa
from distdeepq.simple import learn, load, make_session # noqa
from distdeepq.replay_buffer import ReplayBuffer, PrioritizedReplayBuffer # noqa
from distdeepq.static import *
from distdeepq.plots import PlotMachine
| 39.875 | 81 | 0.827586 | 41 | 319 | 6.317073 | 0.512195 | 0.301158 | 0.262548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128527 | 319 | 7 | 82 | 45.571429 | 0.931655 | 0.059561 | 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 |
602aa7539d103136a63769ed24a86373824abc5f | 76 | py | Python | tests/apps/newlayout/tasks/init_data.py | blazelibs/blazeweb | b120a6a2e38c8b53da2b73443ff242e2d1438053 | [
"BSD-3-Clause"
] | null | null | null | tests/apps/newlayout/tasks/init_data.py | blazelibs/blazeweb | b120a6a2e38c8b53da2b73443ff242e2d1438053 | [
"BSD-3-Clause"
] | 6 | 2016-11-01T18:42:34.000Z | 2020-11-16T16:52:14.000Z | tests/apps/newlayout/tasks/init_data.py | blazelibs/blazeweb | b120a6a2e38c8b53da2b73443ff242e2d1438053 | [
"BSD-3-Clause"
] | 1 | 2020-01-22T18:20:46.000Z | 2020-01-22T18:20:46.000Z | from __future__ import print_function
def action_010():
print('doit')
| 12.666667 | 37 | 0.736842 | 10 | 76 | 5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.171053 | 76 | 5 | 38 | 15.2 | 0.746032 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
6031aa22f48d39d2c1b21d711d722627277b7cfb | 96 | py | Python | venv/lib/python3.8/site-packages/requests/compat.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 1 | 2022-02-22T04:49:18.000Z | 2022-02-22T04:49:18.000Z | venv/lib/python3.8/site-packages/requests/compat.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/requests/compat.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/d1/fc/c7/6cbbdf9c58b6591d28ed792bbd7944946d3f56042698e822a2869787f6 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
603bd55f49512b27d3c43490151152f53b9f9255 | 158 | py | Python | src/twisted/test/myrebuilder1.py | mathieui/twisted | 35546d2b50742a32edba54719ce3e752dc50dd2a | [
"MIT",
"Unlicense"
] | 9,953 | 2019-04-03T23:41:04.000Z | 2022-03-31T11:54:44.000Z | stackoverflow/venv/lib/python3.6/site-packages/twisted/test/myrebuilder1.py | W4LKURE/learn_python3_spider | 98dd354a41598b31302641f9a0ea49d1ecfa0fb1 | [
"MIT"
] | 44 | 2019-05-27T10:59:29.000Z | 2022-03-31T14:14:29.000Z | stackoverflow/venv/lib/python3.6/site-packages/twisted/test/myrebuilder1.py | W4LKURE/learn_python3_spider | 98dd354a41598b31302641f9a0ea49d1ecfa0fb1 | [
"MIT"
] | 2,803 | 2019-04-06T13:15:33.000Z | 2022-03-31T07:42:01.000Z |
class A:
def a(self):
return 'a'
class B(A, object):
def b(self):
return 'b'
class Inherit(A):
def a(self):
return 'c'
| 12.153846 | 19 | 0.487342 | 24 | 158 | 3.208333 | 0.375 | 0.38961 | 0.12987 | 0.233766 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.367089 | 158 | 12 | 20 | 13.166667 | 0.77 | 0 | 0 | 0.222222 | 0 | 0 | 0.019108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
603d09d31004383c874fb82ce95f78dc229bb3dd | 481 | py | Python | micropython/007_boat_sink.py | mirontoli/tolle-rasp | 020638e86c167aedd7b556d8515a3adef70724af | [
"MIT"
] | 2 | 2021-06-29T17:18:09.000Z | 2022-01-25T08:29:59.000Z | micropython/007_boat_sink.py | mirontoli/tolle-rasp | 020638e86c167aedd7b556d8515a3adef70724af | [
"MIT"
] | null | null | null | micropython/007_boat_sink.py | mirontoli/tolle-rasp | 020638e86c167aedd7b556d8515a3adef70724af | [
"MIT"
] | null | null | null | #https://microbit-micropython.readthedocs.io/en/latest/tutorials/images.html#animation
from microbit import *
boat1 = Image("05050:05050:05050:99999:09990")
boat2 = Image("00000:05050:05050:05050:99999")
boat3 = Image("00000:00000:05050:05050:05050")
boat4 = Image("00000:00000:00000:05050:05050")
boat5 = Image("00000:0... | 48.1 | 86 | 0.765073 | 70 | 481 | 5.228571 | 0.428571 | 0.273224 | 0.245902 | 0.163934 | 0.136612 | 0 | 0 | 0 | 0 | 0 | 0 | 0.367483 | 0.066528 | 481 | 10 | 87 | 48.1 | 0.447661 | 0.174636 | 0 | 0 | 0 | 0 | 0.439394 | 0.439394 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
604a7281197333545b6dfe0f58e24a3b3cd75540 | 134 | py | Python | solutions/6-sum-suqare-difference.py | smaranjitghose/PyProjectEuler | d1303d18a0d90acf885ab5ac54b3ea91d99e83db | [
"MIT"
] | 1 | 2020-03-15T02:51:19.000Z | 2020-03-15T02:51:19.000Z | solutions/6-sum-suqare-difference.py | smaranjitghose/PyProjectEuler | d1303d18a0d90acf885ab5ac54b3ea91d99e83db | [
"MIT"
] | null | null | null | solutions/6-sum-suqare-difference.py | smaranjitghose/PyProjectEuler | d1303d18a0d90acf885ab5ac54b3ea91d99e83db | [
"MIT"
] | null | null | null | def sum_of_squares(n):
return sum(i ** 2 for i in range(1, n+1))
def square_of_sum(n):
return sum(range(1, n+1)) ** 2
| 19.142857 | 46 | 0.58209 | 28 | 134 | 2.642857 | 0.464286 | 0.189189 | 0.27027 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0.253731 | 134 | 6 | 47 | 22.333333 | 0.68 | 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 | 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 | 0 | 0 | 0 | 6 |
608996de745b7d9dc600ef6a4f86e57b6a5da416 | 410,082 | py | Python | app/datastore/test.py | sem-onyalo/dnn-training-monitoring-flask | 6a81e06a6871b0d6e890f9fd92f4ab79ac8ee639 | [
"MIT"
] | null | null | null | app/datastore/test.py | sem-onyalo/dnn-training-monitoring-flask | 6a81e06a6871b0d6e890f9fd92f4ab79ac8ee639 | [
"MIT"
] | null | null | null | app/datastore/test.py | sem-onyalo/dnn-training-monitoring-flask | 6a81e06a6871b0d6e890f9fd92f4ab79ac8ee639 | [
"MIT"
] | null | null | null | import json
from app.model import TrainMetrics, TrainPlots
class DatastoreTest:
def getRuns(self):
return [
"20211210T132017",
"20211209T132017",
"20211208T132017"
]
def getEvals(self, run):
return [40, 30, 20, 10]
def getHyperparameters(self, ... | 5,467.76 | 189,814 | 0.965924 | 11,922 | 410,082 | 33.22362 | 0.919057 | 0.000121 | 0.000083 | 0.000114 | 0.001219 | 0.000076 | 0.000076 | 0 | 0 | 0 | 0 | 0.152466 | 0.001207 | 410,082 | 75 | 189,815 | 5,467.76 | 0.814586 | 0 | 0 | 0.032787 | 0 | 0.04918 | 0.99733 | 0.995457 | 0 | 1 | 0 | 0 | 0 | 1 | 0.098361 | false | 0 | 0.032787 | 0.065574 | 0.245902 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
609dc8066e4ed58454e785ac9407ba710dd24391 | 32 | py | Python | johnny_cache/__init__.py | Sonictherocketman/cache-proxy | 75650fb143b365e922c03f87e388c5710ad21799 | [
"MIT"
] | 3 | 2019-07-23T02:33:04.000Z | 2021-05-25T16:57:24.000Z | johnny_cache/__init__.py | Sonictherocketman/cache-proxy | 75650fb143b365e922c03f87e388c5710ad21799 | [
"MIT"
] | null | null | null | johnny_cache/__init__.py | Sonictherocketman/cache-proxy | 75650fb143b365e922c03f87e388c5710ad21799 | [
"MIT"
] | null | null | null | from .server import app # noqa
| 16 | 31 | 0.71875 | 5 | 32 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 1 | 32 | 32 | 0.92 | 0.125 | 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 |
60e990ef7bf30b20330df7c11df2bae657a8aa9f | 88 | py | Python | Module2.py | Cipalex/session3 | fe0866db54d719687f5a89a71ddc17657c91089e | [
"MIT"
] | null | null | null | Module2.py | Cipalex/session3 | fe0866db54d719687f5a89a71ddc17657c91089e | [
"MIT"
] | null | null | null | Module2.py | Cipalex/session3 | fe0866db54d719687f5a89a71ddc17657c91089e | [
"MIT"
] | null | null | null | def f():
print('f from module 2')
if __name__ == '__main__':
print('Module 2') | 14.666667 | 28 | 0.579545 | 13 | 88 | 3.307692 | 0.692308 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.238636 | 88 | 6 | 29 | 14.666667 | 0.61194 | 0 | 0 | 0 | 0 | 0 | 0.348315 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7166d9cc0195426344d7d645ff648763fd1d1b77 | 40 | py | Python | vnpy/gateway/rohon/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 323 | 2015-11-21T14:45:29.000Z | 2022-03-16T08:54:37.000Z | vnpy/gateway/rohon/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 9 | 2017-03-21T08:26:21.000Z | 2021-08-23T06:41:17.000Z | vnpy/gateway/rohon/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 148 | 2016-09-26T03:25:39.000Z | 2022-02-06T14:43:48.000Z | from .rohon_gateway import RohonGateway
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 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 |
718204a2b383cce840b6e0f7101b4542d7502bc6 | 136 | py | Python | boa3_test/test_sc/interop_test/contract/DestroyContract.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/interop_test/contract/DestroyContract.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/interop_test/contract/DestroyContract.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.builtin import public
from boa3.builtin.interop.contract import destroy_contract
@public
def Main():
destroy_contract()
| 17 | 58 | 0.794118 | 18 | 136 | 5.888889 | 0.555556 | 0.150943 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.132353 | 136 | 7 | 59 | 19.428571 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 |
71d4a4f18765db674c76811fc711aa0406e67032 | 144 | py | Python | speedcom/tests/__init__.py | emissible/emissilbe | 5537e787ccb883a101d2d40b38d480e257ac9755 | [
"MIT"
] | 1 | 2019-02-20T05:11:16.000Z | 2019-02-20T05:11:16.000Z | speedcom/tests/__init__.py | emissible/emissilbe | 5537e787ccb883a101d2d40b38d480e257ac9755 | [
"MIT"
] | null | null | null | speedcom/tests/__init__.py | emissible/emissilbe | 5537e787ccb883a101d2d40b38d480e257ac9755 | [
"MIT"
] | null | null | null | #from . import context
#from . import test_NNModels
#from . import test_data_extract
#from . import test_speedcom
#from . import test_utilities
| 24 | 32 | 0.791667 | 20 | 144 | 5.45 | 0.45 | 0.458716 | 0.513761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 144 | 5 | 33 | 28.8 | 0.879032 | 0.930556 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71e38c0bb4ea71106c0ea08a5cac097ca0ed5c4c | 126 | py | Python | app/admin/__init__.py | blackboard/BBDN-Base-Python-Flask | 710b82bfb45217798d9e9edda13d5e0f632e2284 | [
"MIT"
] | null | null | null | app/admin/__init__.py | blackboard/BBDN-Base-Python-Flask | 710b82bfb45217798d9e9edda13d5e0f632e2284 | [
"MIT"
] | 2 | 2022-03-16T01:34:51.000Z | 2022-03-16T01:34:56.000Z | app/admin/__init__.py | Eddyjim/BB-BaseTool | 39fd41cc503b7c31886426b8b017c5f9acfe5072 | [
"MIT"
] | null | null | null | """
"""
from admin import routes
def init_app(app):
"""
:param app:
:return:
"""
routes.init_app(app)
| 9 | 24 | 0.52381 | 15 | 126 | 4.266667 | 0.6 | 0.21875 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301587 | 126 | 13 | 25 | 9.692308 | 0.727273 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
e0cde222a5f5dbe6545c933dad99fd36f05f5531 | 9,183 | py | Python | tests/test_workflow_build_combinations.py | tschoonj/cgat-daisy | f85a2c82ca04f352aad00660cfc14a9aa6773168 | [
"MIT"
] | 1 | 2020-06-29T14:39:42.000Z | 2020-06-29T14:39:42.000Z | tests/test_workflow_build_combinations.py | tschoonj/cgat-daisy | f85a2c82ca04f352aad00660cfc14a9aa6773168 | [
"MIT"
] | 1 | 2019-05-15T20:50:37.000Z | 2019-05-15T20:50:37.000Z | tests/test_workflow_build_combinations.py | tschoonj/cgat-daisy | f85a2c82ca04f352aad00660cfc14a9aa6773168 | [
"MIT"
] | 1 | 2021-11-11T13:22:56.000Z | 2021-11-11T13:22:56.000Z | import pytest
from daisy.workflow import build_combinations
def test_one_option():
assert build_combinations(
{"option1": ["value1", "value2"]}) == \
[{'option1': 'value1'},
{'option1': 'value2'}]
def test_two_options():
assert build_combinations(
{'option1': ["value1", "val... | 38.746835 | 92 | 0.516607 | 1,093 | 9,183 | 4.064959 | 0.073193 | 0.105559 | 0.160927 | 0.133693 | 0.926851 | 0.868557 | 0.820842 | 0.802836 | 0.793158 | 0.70628 | 0 | 0.038105 | 0.259828 | 9,183 | 236 | 93 | 38.911017 | 0.615566 | 0 | 0 | 0.683417 | 0 | 0 | 0.344223 | 0.044539 | 0 | 0 | 0 | 0 | 0.065327 | 1 | 0.065327 | false | 0 | 0.01005 | 0 | 0.075377 | 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 |
e0f3298883d9924a9725a46789f9e295ab60fc80 | 15,155 | py | Python | server/src/oscarbluelight/tests/offer/test_benefit_percentage.py | MaximBrewer/sebe | 4b94b2c782d018b6fa3a130fa30173386cc9bfdd | [
"0BSD"
] | 8 | 2016-06-18T01:40:26.000Z | 2021-02-08T04:08:58.000Z | server/src/oscarbluelight/tests/offer/test_benefit_percentage.py | MaximBrewer/sebe | 4b94b2c782d018b6fa3a130fa30173386cc9bfdd | [
"0BSD"
] | 16 | 2018-05-04T13:00:07.000Z | 2021-05-27T14:54:09.000Z | server/src/oscarbluelight/tests/offer/test_benefit_percentage.py | MaximBrewer/sebe | 4b94b2c782d018b6fa3a130fa30173386cc9bfdd | [
"0BSD"
] | 3 | 2016-12-19T11:30:47.000Z | 2019-10-27T20:30:15.000Z | from decimal import Decimal as D
from django.core import exceptions
from django.test import TestCase
from oscar.test import factories
from oscar.test.basket import add_product, add_products
from django_redis import get_redis_connection
from oscarbluelight.offer.models import (
Range,
Benefit,
BluelightCount... | 45.374251 | 91 | 0.692577 | 1,825 | 15,155 | 5.558904 | 0.084384 | 0.083785 | 0.046131 | 0.063874 | 0.833514 | 0.810744 | 0.765303 | 0.742829 | 0.729029 | 0.715032 | 0 | 0.021719 | 0.197954 | 15,155 | 333 | 92 | 45.510511 | 0.812917 | 0.026988 | 0 | 0.653285 | 0 | 0 | 0.077043 | 0.044733 | 0 | 0 | 0 | 0 | 0.262774 | 1 | 0.094891 | false | 0 | 0.029197 | 0 | 0.145985 | 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 |
4602886d15507fa511fee4f9d72dd974724d982f | 33,743 | py | Python | test/unit_testing/grid/element_linear_dx_data/test_element_linearC/element/geom_element_AD.py | nwukie/ChiDG | d096548ba3bd0a338a29f522fb00a669f0e33e9b | [
"BSD-3-Clause"
] | 36 | 2016-10-05T15:12:22.000Z | 2022-03-17T02:08:23.000Z | test/unit_testing/grid/element_linear_dx_data/test_element_linearC/element/geom_element_AD.py | nwukie/ChiDG | d096548ba3bd0a338a29f522fb00a669f0e33e9b | [
"BSD-3-Clause"
] | 17 | 2016-05-17T02:21:05.000Z | 2017-08-10T16:33:07.000Z | test/unit_testing/grid/element_linear_dx_data/test_element_linearC/element/geom_element_AD.py | nwukie/ChiDG | d096548ba3bd0a338a29f522fb00a669f0e33e9b | [
"BSD-3-Clause"
] | 20 | 2016-07-18T16:20:47.000Z | 2020-11-27T19:26:12.000Z | from __future__ import division
import torch
import torch.autograd as autograd
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
import numpy as np
import sys
import os
import time
#
# TORCH INSTALLATION: refer to https://pytorch.org/get-started/locally/
#
def update_progress(job_t... | 40.950243 | 159 | 0.564532 | 6,117 | 33,743 | 2.974661 | 0.03335 | 0.049242 | 0.046164 | 0.061552 | 0.830457 | 0.818641 | 0.802209 | 0.776819 | 0.735986 | 0.705155 | 0 | 0.090356 | 0.250215 | 33,743 | 823 | 160 | 41 | 0.628854 | 0.032688 | 0 | 0.586989 | 0 | 0 | 0.089054 | 0.009987 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003026 | false | 0 | 0.015129 | 0 | 0.018154 | 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 |
1cc17ff4c766e10f3ad5dd61384738c26b148c2c | 22,005 | py | Python | octavia_tempest_plugin/services/load_balancer/v2/listener_client.py | NeCTAR-RC/octavia-tempest-plugin | 5506c00b8d8972e6223499dd5a5da4c85c1ff836 | [
"Apache-2.0"
] | null | null | null | octavia_tempest_plugin/services/load_balancer/v2/listener_client.py | NeCTAR-RC/octavia-tempest-plugin | 5506c00b8d8972e6223499dd5a5da4c85c1ff836 | [
"Apache-2.0"
] | null | null | null | octavia_tempest_plugin/services/load_balancer/v2/listener_client.py | NeCTAR-RC/octavia-tempest-plugin | 5506c00b8d8972e6223499dd5a5da4c85c1ff836 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 GoDaddy
#
# 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 ... | 58.836898 | 79 | 0.578278 | 2,470 | 22,005 | 5.057895 | 0.109717 | 0.080685 | 0.080685 | 0.126791 | 0.883615 | 0.872809 | 0.872809 | 0.867366 | 0.864324 | 0.858081 | 0 | 0.019606 | 0.385776 | 22,005 | 373 | 80 | 58.994638 | 0.904706 | 0.739468 | 0 | 0.42623 | 0 | 0 | 0.024808 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098361 | false | 0 | 0.04918 | 0 | 0.311475 | 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 |
1cf352409236639cbafbd2ba47ff641f1c9803a8 | 44 | py | Python | src/experiment.py | windar427/find_alpha | dbca4e677c6cdc144f20f6259c07291b5d3e6eed | [
"MIT"
] | null | null | null | src/experiment.py | windar427/find_alpha | dbca4e677c6cdc144f20f6259c07291b5d3e6eed | [
"MIT"
] | null | null | null | src/experiment.py | windar427/find_alpha | dbca4e677c6cdc144f20f6259c07291b5d3e6eed | [
"MIT"
] | null | null | null | from .lib.DownloadData import DownloadData
| 14.666667 | 42 | 0.840909 | 5 | 44 | 7.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 2 | 43 | 22 | 0.948718 | 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 |
e808484d2e1b639627bded840c79fb6fdbdc05fc | 7,200 | py | Python | tests/test_past_failures.py | justinbois/eqtk | 7363b8c09e35088d2cb2cb5a62d315b52cce0d9b | [
"MIT"
] | 2 | 2020-05-17T05:34:40.000Z | 2020-05-17T12:40:14.000Z | tests/test_past_failures.py | justinbois/eqtk | 7363b8c09e35088d2cb2cb5a62d315b52cce0d9b | [
"MIT"
] | 1 | 2021-12-07T01:20:48.000Z | 2021-12-07T01:20:48.000Z | tests/test_past_failures.py | justinbois/eqtk | 7363b8c09e35088d2cb2cb5a62d315b52cce0d9b | [
"MIT"
] | null | null | null | import pytest
import numpy as np
import eqtk
def test_promiscuous_binding_failure():
A = np.array(
[
[
1.0,
0.0,
0.0,
0.0,
0.0,
0.0,
1.0,
1.0,
0.0,
... | 24 | 87 | 0.321806 | 915 | 7,200 | 2.499454 | 0.146448 | 0.204635 | 0.234805 | 0.222125 | 0.479668 | 0.46174 | 0.435068 | 0.421076 | 0.395715 | 0.36948 | 0 | 0.394495 | 0.530694 | 7,200 | 299 | 88 | 24.080268 | 0.282332 | 0 | 0 | 0.559567 | 0 | 0 | 0.005278 | 0 | 0 | 0 | 0 | 0 | 0.028881 | 1 | 0.025271 | false | 0 | 0.01083 | 0 | 0.036101 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e81c315cccb3d9ee19bee096605d603f1e698137 | 282 | py | Python | {{cookiecutter.project_hyphen}}/{{cookiecutter.project_slug}}/__init__.py | zhangxianbing/cookiecutter-pypackage | 28f7f305d3baf96771881c3359227bed1bc7d182 | [
"BSD-3-Clause"
] | 1 | 2021-05-20T06:20:13.000Z | 2021-05-20T06:20:13.000Z | {{cookiecutter.project_hyphen}}/{{cookiecutter.project_slug}}/__init__.py | zhangxianbing/cookiecutter-pypackage | 28f7f305d3baf96771881c3359227bed1bc7d182 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_hyphen}}/{{cookiecutter.project_slug}}/__init__.py | zhangxianbing/cookiecutter-pypackage | 28f7f305d3baf96771881c3359227bed1bc7d182 | [
"BSD-3-Clause"
] | null | null | null | """{{ cookiecutter.project_name }} - {{ cookiecutter.project_short_description }}"""
__version__ = "{{ cookiecutter.project_version }}"
__author__ = """{{ cookiecutter.author_name }}"""
__email__ = "{{ cookiecutter.author_email }}"
prog_name = "{{ cookiecutter.project_hyphen }}"
| 35.25 | 84 | 0.70922 | 24 | 282 | 7.5 | 0.416667 | 0.422222 | 0.255556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102837 | 282 | 7 | 85 | 40.285714 | 0.711462 | 0.276596 | 0 | 0 | 0 | 0 | 0.646465 | 0.525253 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c01520b2864cd9a92e81b37cca59f5c41b908e7 | 44 | py | Python | __init__.py | minjunli/jsonc | a61b72e92729f9177d8d8685deae744244d6be16 | [
"MIT"
] | 2 | 2020-08-30T08:02:10.000Z | 2020-09-06T05:33:55.000Z | __init__.py | minjunli/jsonc | a61b72e92729f9177d8d8685deae744244d6be16 | [
"MIT"
] | null | null | null | __init__.py | minjunli/jsonc | a61b72e92729f9177d8d8685deae744244d6be16 | [
"MIT"
] | null | null | null | from .jsonc import load, loads, dump, dumps
| 22 | 43 | 0.75 | 7 | 44 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 1 | 44 | 44 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1c1159a0a2497e7a180327354c47351ca070d2d1 | 176 | py | Python | Game_Mechanics.py | Finnder/Console-Based-Story-Game | fe5341faf82783880872560d43d286e917f5e3d7 | [
"Apache-2.0"
] | null | null | null | Game_Mechanics.py | Finnder/Console-Based-Story-Game | fe5341faf82783880872560d43d286e917f5e3d7 | [
"Apache-2.0"
] | null | null | null | Game_Mechanics.py | Finnder/Console-Based-Story-Game | fe5341faf82783880872560d43d286e917f5e3d7 | [
"Apache-2.0"
] | null | null | null | def attack():
pass
def defend():
pass
def pass_turn():
pass
def use_ability_One(kit):
pass
def use_ability_Two(kit):
pass
def end_Of_Battle():
pass | 10.352941 | 25 | 0.636364 | 27 | 176 | 3.888889 | 0.481481 | 0.333333 | 0.190476 | 0.32381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261364 | 176 | 17 | 26 | 10.352941 | 0.807692 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.583333 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1c66f42291c5ccace3a10ed12cc3202e55caf594 | 47,394 | py | Python | cogs/errors.py | i1470s/IVRY | 922908b19b57881ad6fef2b45fabe6bc1ff7a298 | [
"MIT"
] | 3 | 2020-10-03T20:53:39.000Z | 2020-10-11T07:58:57.000Z | cogs/errors.py | i1470s/IVRY | 922908b19b57881ad6fef2b45fabe6bc1ff7a298 | [
"MIT"
] | 3 | 2020-10-11T22:23:30.000Z | 2020-10-14T16:54:37.000Z | cogs/errors.py | i1470s/IVRY | 922908b19b57881ad6fef2b45fabe6bc1ff7a298 | [
"MIT"
] | null | null | null | #PRIMARY IMPORTS
import discord, os, datetime, sys, json, traceback, logging
#SECONDARY IMPORTS
from apscheduler.schedulers.asyncio import AsyncIOScheduler
from discord.ext import commands
from data import config
#LOGGING
logger = logging.getLogger("ivry")
logger.debug("errors.py Started")
class Er... | 65.551867 | 138 | 0.531502 | 5,041 | 47,394 | 4.922039 | 0.039873 | 0.055215 | 0.070732 | 0.092496 | 0.905288 | 0.867564 | 0.849266 | 0.844591 | 0.844591 | 0.844591 | 0 | 0.007286 | 0.348441 | 47,394 | 723 | 139 | 65.551867 | 0.796211 | 0.019159 | 0 | 0.684874 | 0 | 0.002101 | 0.26628 | 0 | 0 | 0 | 0.007875 | 0 | 0 | 1 | 0.004202 | false | 0 | 0.008403 | 0 | 0.021008 | 0.09874 | 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 |
1c75ba48ae7018192a5f6740f29aabe6961aa8fd | 103 | py | Python | tests/utils.py | niwibe/cobrascript | 4c6a193d8745771e5fb0e277394f83e47cc7ede8 | [
"BSD-3-Clause"
] | 1 | 2015-05-03T00:25:17.000Z | 2015-05-03T00:25:17.000Z | tests/utils.py | niwibe/cobrascript | 4c6a193d8745771e5fb0e277394f83e47cc7ede8 | [
"BSD-3-Clause"
] | null | null | null | tests/utils.py | niwibe/cobrascript | 4c6a193d8745771e5fb0e277394f83e47cc7ede8 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from cobra.utils import normalize
def norm(data):
return normalize(data)
| 14.714286 | 33 | 0.669903 | 14 | 103 | 4.928571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.184466 | 103 | 6 | 34 | 17.166667 | 0.809524 | 0.203884 | 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 |
1c7e58a1470bb1ce0a1146ec377bf0292d1e20e6 | 4,657 | py | Python | saleor/graphql/channel/tests/test_base_channel_listing.py | fairhopeweb/saleor | 9ac6c22652d46ba65a5b894da5f1ba5bec48c019 | [
"CC-BY-4.0"
] | 15,337 | 2015-01-12T02:11:52.000Z | 2021-10-05T19:19:29.000Z | saleor/graphql/channel/tests/test_base_channel_listing.py | fairhopeweb/saleor | 9ac6c22652d46ba65a5b894da5f1ba5bec48c019 | [
"CC-BY-4.0"
] | 7,486 | 2015-02-11T10:52:13.000Z | 2021-10-06T09:37:15.000Z | saleor/graphql/channel/tests/test_base_channel_listing.py | aminziadna/saleor | 2e78fb5bcf8b83a6278af02551a104cfa555a1fb | [
"CC-BY-4.0"
] | 5,864 | 2015-01-16T14:52:54.000Z | 2021-10-05T23:01:15.000Z | from collections import defaultdict
import graphene
import pytest
from django.core.exceptions import ValidationError
from ....shipping.error_codes import ShippingErrorCode
from ..mutations import BaseChannelListingMutation
def test_validate_duplicated_channel_ids(channel_PLN, channel_USD):
# given
channel_i... | 30.84106 | 83 | 0.721065 | 546 | 4,657 | 5.809524 | 0.117216 | 0.08512 | 0.064313 | 0.079445 | 0.852144 | 0.803909 | 0.721627 | 0.721627 | 0.707755 | 0.707755 | 0 | 0.001051 | 0.182521 | 4,657 | 150 | 84 | 31.046667 | 0.832151 | 0.027271 | 0 | 0.467391 | 0 | 0 | 0.07414 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 1 | 0.086957 | false | 0 | 0.065217 | 0 | 0.152174 | 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 |
98ee487f9a2345f91b85bcae94f9855580455dc1 | 478 | py | Python | asystem-adoc/src/main/template/python/script_util.py | ggear/asystem_archive | b97f67218e8aa60991fba386c9e73d27d20d6c47 | [
"Apache-2.0"
] | null | null | null | asystem-adoc/src/main/template/python/script_util.py | ggear/asystem_archive | b97f67218e8aa60991fba386c9e73d27d20d6c47 | [
"Apache-2.0"
] | 2 | 2021-03-25T21:27:09.000Z | 2022-02-11T03:38:48.000Z | asystem-adoc/src/main/template/python/script_util.py | ggear/asystem_archive | b97f67218e8aa60991fba386c9e73d27d20d6c47 | [
"Apache-2.0"
] | null | null | null | ###############################################################################
#
# Python script utilities as included from the cloudera-framework-assembly,
# do not edit directly
#
###############################################################################
import os
import re
def qualify(path):
return path... | 29.875 | 79 | 0.433054 | 45 | 478 | 4.466667 | 0.711111 | 0.079602 | 0.149254 | 0.169154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154812 | 478 | 15 | 80 | 31.866667 | 0.497525 | 0.196653 | 0 | 0 | 1 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c721ab40af9f4d2f1e869b104c622361e1311025 | 878 | py | Python | test/test_watchdog_status.py | ike709/tgs4-api-pyclient | 97918cfe614cc4ef06ef2485efff163417a8cd44 | [
"MIT"
] | null | null | null | test/test_watchdog_status.py | ike709/tgs4-api-pyclient | 97918cfe614cc4ef06ef2485efff163417a8cd44 | [
"MIT"
] | null | null | null | test/test_watchdog_status.py | ike709/tgs4-api-pyclient | 97918cfe614cc4ef06ef2485efff163417a8cd44 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
TGS API
A production scale tool for BYOND server management # noqa: E501
OpenAPI spec version: 9.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import swagger_client
from swagger_client.model... | 21.95 | 86 | 0.702733 | 102 | 878 | 5.862745 | 0.617647 | 0.086957 | 0.056856 | 0.090301 | 0.110368 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018841 | 0.214123 | 878 | 39 | 87 | 22.512821 | 0.847826 | 0.446469 | 0 | 0.214286 | 1 | 0 | 0.018018 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c7345842917a4fbe78846b66040cbcd50b2fa112 | 45 | py | Python | main/src/preparation/parsers/tree-sitter-python/examples/crlf-line-endings.py | jason424217/Artificial-Code-Gen | a6e2c097c5ffe8cb0929e6703035b526f477e514 | [
"MIT"
] | null | null | null | main/src/preparation/parsers/tree-sitter-python/examples/crlf-line-endings.py | jason424217/Artificial-Code-Gen | a6e2c097c5ffe8cb0929e6703035b526f477e514 | [
"MIT"
] | null | null | null | main/src/preparation/parsers/tree-sitter-python/examples/crlf-line-endings.py | jason424217/Artificial-Code-Gen | a6e2c097c5ffe8cb0929e6703035b526f477e514 | [
"MIT"
] | null | null | null | print a
if b:
if c:
d
e
| 6.428571 | 9 | 0.311111 | 8 | 45 | 1.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.644444 | 45 | 6 | 10 | 7.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7465ff1ea985cda2b457c6697cd774f312adad2 | 40 | py | Python | Python/swap_numbers.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 1,428 | 2018-10-03T15:15:17.000Z | 2019-03-31T18:38:36.000Z | Python/swap_numbers.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 1,162 | 2018-10-03T15:05:49.000Z | 2018-10-18T14:17:52.000Z | Python/swap_numbers.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 3,909 | 2018-10-03T15:07:19.000Z | 2019-03-31T18:39:08.000Z | a = 5
b = 7
a,b = b,a
print a
print b
| 5 | 9 | 0.5 | 12 | 40 | 1.666667 | 0.416667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.375 | 40 | 7 | 10 | 5.714286 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.4 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c782edc67d9a2546d01dc48945d663005d17b20d | 10,490 | py | Python | evogym/envs/change_shape.py | federico-camerota/evogym | fb3a792f93a61be15c9715a036da3721f99d2d42 | [
"MIT"
] | 78 | 2022-01-30T18:59:39.000Z | 2022-03-31T00:26:41.000Z | evogym/envs/change_shape.py | Yuxing-Wang-THU/evogym | da3a0508fa6c5d3fcf589194778844b15a387ece | [
"MIT"
] | 6 | 2022-01-31T02:37:49.000Z | 2022-03-30T18:52:13.000Z | evogym/envs/change_shape.py | Yuxing-Wang-THU/evogym | da3a0508fa6c5d3fcf589194778844b15a387ece | [
"MIT"
] | 6 | 2022-01-31T08:11:33.000Z | 2022-02-22T01:49:50.000Z | import gym
from gym import error, spaces
from gym import utils
from gym.utils import seeding
from evogym import *
from evogym.envs import BenchmarkBase
import random
from math import *
import numpy as np
import os
class ShapeBase(BenchmarkBase):
def __init__(self, world):
super().__init__(world)
... | 33.196203 | 121 | 0.6102 | 1,371 | 10,490 | 4.416484 | 0.122538 | 0.047564 | 0.035673 | 0.029728 | 0.820479 | 0.810405 | 0.801817 | 0.789265 | 0.789265 | 0.789265 | 0 | 0.017897 | 0.270257 | 10,490 | 315 | 122 | 33.301587 | 0.773089 | 0.152526 | 0 | 0.652695 | 0 | 0 | 0.039071 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101796 | false | 0 | 0.05988 | 0 | 0.269461 | 0.023952 | 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 |
c7852c56539dc442622c1969bd3081ad523df76c | 29,214 | py | Python | pybind/slxos/v16r_1_00b/mpls_state/ldp/fec/ldp_fec_prefixes/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/mpls_state/ldp/fec/ldp_fec_prefixes/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/mpls_state/ldp/fec/ldp_fec_prefixes/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 73.772727 | 744 | 0.742726 | 4,136 | 29,214 | 4.943907 | 0.046663 | 0.028365 | 0.03971 | 0.073748 | 0.897398 | 0.87769 | 0.870648 | 0.846538 | 0.818662 | 0.815141 | 0 | 0.011524 | 0.12672 | 29,214 | 395 | 745 | 73.959494 | 0.789981 | 0.163689 | 0 | 0.46087 | 0 | 0.034783 | 0.376443 | 0.217897 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117391 | false | 0 | 0.043478 | 0 | 0.278261 | 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 |
c7bd4060064aa4ccc776c07aa7678497ec65e795 | 8,232 | py | Python | configs/regnet.py | roatienza/agmax | 2a7299cc506605aeaaf64b6155b5c826c71d5786 | [
"Apache-2.0"
] | 2 | 2021-11-05T13:09:12.000Z | 2022-03-04T05:07:33.000Z | configs/regnet.py | roatienza/agmax | 2a7299cc506605aeaaf64b6155b5c826c71d5786 | [
"Apache-2.0"
] | 1 | 2021-11-04T10:06:57.000Z | 2021-11-07T08:35:39.000Z | configs/regnet.py | roatienza/agmax | 2a7299cc506605aeaaf64b6155b5c826c71d5786 | [
"Apache-2.0"
] | null | null | null |
from . import constant
parameters = {
'RegNet' : { "lr": 0.1, "epochs": 100, "weight_decay": 5e-5, "batch_size": 128, "nesterov": True, "init_backbone":True, "init_extractor":True,},
}
backbone_config = {
"RegNetX002" : {"channels": 3, "dropout": 0.2,},
"RegNetY004" : {"channels": ... | 68.6 | 153 | 0.409621 | 526 | 8,232 | 6.173004 | 0.079848 | 0.125039 | 0.094857 | 0.120727 | 0.922698 | 0.90114 | 0.90114 | 0.90114 | 0.90114 | 0.89498 | 0 | 0.036015 | 0.480564 | 8,232 | 119 | 154 | 69.176471 | 0.72334 | 0.002551 | 0 | 0.648148 | 0 | 0 | 0.266025 | 0.037777 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009259 | 0 | 0.009259 | 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 |
c7c963a523b032b23261574567ab5a4c018c9176 | 44 | py | Python | tsts.py | tedtroxell/metrician | d4164dbff8db5645ee8beca11dc55ba6c26c4cb6 | [
"MIT"
] | null | null | null | tsts.py | tedtroxell/metrician | d4164dbff8db5645ee8beca11dc55ba6c26c4cb6 | [
"MIT"
] | null | null | null | tsts.py | tedtroxell/metrician | d4164dbff8db5645ee8beca11dc55ba6c26c4cb6 | [
"MIT"
] | null | null | null | from metrician.explainations.tests import *
| 22 | 43 | 0.840909 | 5 | 44 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.925 | 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 |
c7d9eaf5171771685897ba7e8ba2988b57091181 | 350 | py | Python | applications/CoSimulationApplication/custom_data_structure/pyKratos/IntervalUtility.py | lcirrott/Kratos | 8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea | [
"BSD-4-Clause"
] | 2 | 2019-10-25T09:28:10.000Z | 2019-11-21T12:51:46.000Z | applications/CoSimulationApplication/custom_data_structure/pyKratos/IntervalUtility.py | lcirrott/Kratos | 8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea | [
"BSD-4-Clause"
] | 13 | 2019-10-07T12:06:51.000Z | 2020-02-18T08:48:33.000Z | applications/CoSimulationApplication/custom_data_structure/pyKratos/IntervalUtility.py | lcirrott/Kratos | 8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea | [
"BSD-4-Clause"
] | null | null | null | from __future__ import print_function, absolute_import, division # makes these scripts backward compatible with python 2.6 and 2.7
# TODO this should be implemented, see "kratos/utilities/interval_utility.h"
class IntervalUtility(object):
def __init__(self, settings):
pass
def IsInInterval(self, curr... | 38.888889 | 131 | 0.757143 | 46 | 350 | 5.5 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.177143 | 350 | 9 | 132 | 38.888889 | 0.864583 | 0.394286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.166667 | 0.833333 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
1bf850828538bccd6c9bdc855d6c93aec2b25061 | 52 | py | Python | python/testData/formatter/indentInGenerator_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/formatter/indentInGenerator_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/formatter/indentInGenerator_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def dbl():
return (
(a, a) for a in [])
| 13 | 27 | 0.384615 | 8 | 52 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.423077 | 52 | 3 | 28 | 17.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1bfe4bc4102702ea9b7f00d3aaa75d9c6a870a4d | 5,645 | py | Python | tests/test_create_spreadsheet_values.py | Tunous/StringSheet | 3b0bd00db6ae780c523524b71774f6d3da44435f | [
"MIT"
] | 14 | 2017-09-17T12:41:39.000Z | 2020-12-15T07:42:55.000Z | tests/test_create_spreadsheet_values.py | Tunous/StringSheet | 3b0bd00db6ae780c523524b71774f6d3da44435f | [
"MIT"
] | 10 | 2017-09-12T20:06:47.000Z | 2021-03-22T17:16:10.000Z | tests/test_create_spreadsheet_values.py | Tunous/StringSheet | 3b0bd00db6ae780c523524b71774f6d3da44435f | [
"MIT"
] | 1 | 2017-09-18T04:55:34.000Z | 2017-09-18T04:55:34.000Z | import unittest
from stringsheet.parser import create_spreadsheet_values
from stringsheet.parser import create_language_sheet_values
from stringsheet.parser import parse_resources
class BaseTestCase(unittest.TestCase):
def setUp(self):
self.resources = parse_resources('test-resources/res')
class Create... | 46.270492 | 80 | 0.478654 | 490 | 5,645 | 5.412245 | 0.142857 | 0.067873 | 0.081448 | 0.108597 | 0.822398 | 0.740573 | 0.729638 | 0.729638 | 0.716063 | 0.716063 | 0 | 0.005114 | 0.272631 | 5,645 | 121 | 81 | 46.652893 | 0.64077 | 0 | 0 | 0.53271 | 0 | 0 | 0.310895 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 1 | 0.065421 | false | 0 | 0.037383 | 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 |
40186bf606d530f7f4ad08aa9b623b5881609f5c | 230 | py | Python | vise/tests/util/test_string.py | kumagai-group/vise | 8adfe61ad8f31767ec562f02f271e2495f357cd4 | [
"MIT"
] | 16 | 2020-07-14T13:14:05.000Z | 2022-03-04T13:39:30.000Z | vise/tests/util/test_string.py | kumagai-group/vise | 8adfe61ad8f31767ec562f02f271e2495f357cd4 | [
"MIT"
] | 10 | 2021-03-15T20:47:45.000Z | 2021-08-19T00:47:12.000Z | vise/tests/util/test_string.py | kumagai-group/vise | 8adfe61ad8f31767ec562f02f271e2495f357cd4 | [
"MIT"
] | 6 | 2020-03-03T00:42:39.000Z | 2022-02-22T02:34:47.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2021. Distributed under the terms of the MIT License.
from vise.util.string import numbers_to_lowercases
def test_numbers_to_lowercases():
assert numbers_to_lowercases("Mg2") == "Mg₂" | 32.857143 | 70 | 0.73913 | 33 | 230 | 4.939394 | 0.757576 | 0.165644 | 0.349693 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035533 | 0.143478 | 230 | 7 | 71 | 32.857143 | 0.791878 | 0.391304 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
403d7ac07f1f092095ae4d7caf15898f47658901 | 96 | py | Python | venv/lib/python3.8/site-packages/pyls/_version.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pyls/_version.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pyls/_version.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/24/e8/39/183700a0b2d2a9545f3da2571d82b53df290aab3a51dc229b113d16e6c | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
406bcb88801f876f8613c7d8e41183ccf8efc7dd | 153 | py | Python | bricks/ev3dev/modules/pybricks/robotics.py | ZPhilo/pybricks-micropython | bf3072b6f7dd87b60e50d7c2130ca3c393a5709f | [
"MIT"
] | 115 | 2020-06-15T16:43:14.000Z | 2022-03-21T21:11:57.000Z | bricks/ev3dev/modules/pybricks/robotics.py | ZPhilo/pybricks-micropython | bf3072b6f7dd87b60e50d7c2130ca3c393a5709f | [
"MIT"
] | 83 | 2020-06-17T17:19:29.000Z | 2022-03-08T18:50:35.000Z | bricks/ev3dev/modules/pybricks/robotics.py | BertLindeman/pybricks-micropython | 8f22a99551100e66ddf08d014d9f442f22b33b4d | [
"MIT"
] | 40 | 2020-06-15T18:36:39.000Z | 2022-03-28T13:22:43.000Z | # SPDX-License-Identifier: MIT
# Copyright (c) 2018-2020 The Pybricks Authors
"""Pybricks robotics module."""
from _pybricks.robotics import DriveBase
| 21.857143 | 46 | 0.771242 | 19 | 153 | 6.157895 | 0.842105 | 0.273504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0.124183 | 153 | 6 | 47 | 25.5 | 0.813433 | 0.653595 | 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 |
40780e501d35b1715806673a2e143e24f1727e1c | 3,152 | py | Python | tests/test_segmenters.py | edoarn/cv-models | 5fa7e50fd69f76b54611bb323b15610eeb1bb5cf | [
"MIT"
] | null | null | null | tests/test_segmenters.py | edoarn/cv-models | 5fa7e50fd69f76b54611bb323b15610eeb1bb5cf | [
"MIT"
] | 4 | 2021-04-23T12:05:45.000Z | 2021-04-25T11:38:01.000Z | tests/test_segmenters.py | edoarn/cv-models | 5fa7e50fd69f76b54611bb323b15610eeb1bb5cf | [
"MIT"
] | null | null | null | from typing import Any
import torch
import torch.nn as nn
from cvmodels.segmentation import unet, deeplab as dl
def output(model: nn.Module, input_batch: torch.Tensor) -> Any:
model.eval()
with torch.no_grad():
return model(input_batch)
def numel(m: torch.nn.Module, only_trainable: bool = True) -> ... | 36.651163 | 115 | 0.703046 | 430 | 3,152 | 4.965116 | 0.174419 | 0.075878 | 0.118033 | 0.071194 | 0.81452 | 0.766745 | 0.766745 | 0.766745 | 0.766745 | 0.766745 | 0 | 0.025128 | 0.191942 | 3,152 | 85 | 116 | 37.082353 | 0.813113 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 1 | 0.15625 | false | 0 | 0.0625 | 0 | 0.25 | 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 |
408ac0aced4fa7689e5bb64bd87a616424377650 | 46 | py | Python | ermaket/api/generation/__init__.py | SqrtMinusOne/ERMaket_Experiment | c4a7b61651edd15a619d9b690e2aaeaab4de282d | [
"Apache-2.0"
] | null | null | null | ermaket/api/generation/__init__.py | SqrtMinusOne/ERMaket_Experiment | c4a7b61651edd15a619d9b690e2aaeaab4de282d | [
"Apache-2.0"
] | null | null | null | ermaket/api/generation/__init__.py | SqrtMinusOne/ERMaket_Experiment | c4a7b61651edd15a619d9b690e2aaeaab4de282d | [
"Apache-2.0"
] | null | null | null | from .generator import *
from .types import *
| 15.333333 | 24 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 25 | 23 | 0.894737 | 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 |
40ba1c6c5aded5c9a1f75bcde2e5830a948185e5 | 39,197 | py | Python | tests/unit/test_snapshot.py | cnnradams/python-spanner | 33055e577288cbcc848aa9abf43ccd382c9907a9 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_snapshot.py | cnnradams/python-spanner | 33055e577288cbcc848aa9abf43ccd382c9907a9 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_snapshot.py | cnnradams/python-spanner | 33055e577288cbcc848aa9abf43ccd382c9907a9 | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 Google LLC All rights reserved.
#
# 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 ag... | 37.725698 | 88 | 0.672858 | 4,465 | 39,197 | 5.534379 | 0.070773 | 0.028489 | 0.02246 | 0.029946 | 0.838776 | 0.812917 | 0.785966 | 0.754158 | 0.707539 | 0.680183 | 0 | 0.007948 | 0.242493 | 39,197 | 1,038 | 89 | 37.762042 | 0.824296 | 0.016149 | 0 | 0.610849 | 0 | 0 | 0.02244 | 0.004358 | 0 | 0 | 0 | 0 | 0.152123 | 1 | 0.103774 | false | 0 | 0.057783 | 0.004717 | 0.208726 | 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 |
40eaa3da9e931ca4a3dcce107069762aa322fa53 | 24 | py | Python | drae/__init__.py | hso/drae.py | b78772fa055fe5f8acb2bb44d7e7573af277226b | [
"MIT"
] | null | null | null | drae/__init__.py | hso/drae.py | b78772fa055fe5f8acb2bb44d7e7573af277226b | [
"MIT"
] | null | null | null | drae/__init__.py | hso/drae.py | b78772fa055fe5f8acb2bb44d7e7573af277226b | [
"MIT"
] | null | null | null | from drae import search
| 12 | 23 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
40ff943d89da7510322d2d4989457bad5b652c0f | 179 | py | Python | tests/integration/test_combined.py | jonathan-winn-geo/new-repo-example | 2fbc54b1d42c57ca1105b1066e47627832cc8185 | [
"BSD-3-Clause"
] | null | null | null | tests/integration/test_combined.py | jonathan-winn-geo/new-repo-example | 2fbc54b1d42c57ca1105b1066e47627832cc8185 | [
"BSD-3-Clause"
] | 85 | 2020-08-12T15:59:48.000Z | 2022-01-17T10:28:56.000Z | tests/integration/test_combined.py | cma-open/cmatools | ce5743dca7c5bf1f6ab7fe3af24893a65d0c2db7 | [
"BSD-3-Clause"
] | null | null | null | """Test combined function."""
from cmatools.combine.combine import combined
def test_combined():
"""Test of combined function"""
assert combined() == "this hello cma"
| 17.9 | 45 | 0.692737 | 21 | 179 | 5.857143 | 0.619048 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173184 | 179 | 9 | 46 | 19.888889 | 0.831081 | 0.273743 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc1410a8579c40952f7be96924032fe936ce5616 | 56 | py | Python | konform/cmd.py | openanalytics/konform | 8691575ec94e753987bf4748ac279b1510b6e04a | [
"Apache-2.0"
] | 7 | 2021-02-23T12:08:01.000Z | 2022-03-12T01:52:35.000Z | konform/cmd.py | openanalytics/konform | 8691575ec94e753987bf4748ac279b1510b6e04a | [
"Apache-2.0"
] | 1 | 2022-03-11T21:53:18.000Z | 2022-03-11T21:53:18.000Z | konform/cmd.py | openanalytics/konform | 8691575ec94e753987bf4748ac279b1510b6e04a | [
"Apache-2.0"
] | 1 | 2021-05-07T20:13:30.000Z | 2021-05-07T20:13:30.000Z | from . import Konform
def main():
Konform().run()
| 9.333333 | 21 | 0.607143 | 7 | 56 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232143 | 56 | 5 | 22 | 11.2 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
909ad865d21f2537f3949dbc416292efd7136d09 | 45 | py | Python | scivision_test_plugin/__init__.py | acocac/scivision-test-plugin | 0ebeabe256287a83d8a268649085f18dc3ddfc9f | [
"BSD-3-Clause"
] | null | null | null | scivision_test_plugin/__init__.py | acocac/scivision-test-plugin | 0ebeabe256287a83d8a268649085f18dc3ddfc9f | [
"BSD-3-Clause"
] | null | null | null | scivision_test_plugin/__init__.py | acocac/scivision-test-plugin | 0ebeabe256287a83d8a268649085f18dc3ddfc9f | [
"BSD-3-Clause"
] | null | null | null | from .model import DummyModel, ImageNetModel
| 22.5 | 44 | 0.844444 | 5 | 45 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.95 | 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 |
90b9c9ce2f3208b12b35d5e78f9d7d9be8454378 | 92 | py | Python | quick-scan.py | B3ND1X/py-air-script | d6756cc2b5ec2a7e7950b13b09c78c776488fd6e | [
"Apache-2.0"
] | 2 | 2021-11-19T10:40:07.000Z | 2022-02-28T16:39:49.000Z | quick-scan.py | B3ND1X/py-air-script | d6756cc2b5ec2a7e7950b13b09c78c776488fd6e | [
"Apache-2.0"
] | null | null | null | quick-scan.py | B3ND1X/py-air-script | d6756cc2b5ec2a7e7950b13b09c78c776488fd6e | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
import os
os.system("sudo ./scan.py")
os.system("sudo ./enable-wifi.py")
| 15.333333 | 34 | 0.673913 | 16 | 92 | 3.875 | 0.6875 | 0.258065 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 92 | 5 | 35 | 18.4 | 0.738095 | 0.173913 | 0 | 0 | 0 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
90bbeed86ea6726d8cf4682e4d77c05a1d88ab5a | 121,331 | py | Python | tests/adapters/switches/brocade_test.py | FrancoisLopez/netman | a40d3235f7ea0cdaf52daab97b0d5ad20857b00e | [
"Apache-2.0"
] | 38 | 2015-11-30T10:11:42.000Z | 2022-02-10T18:31:44.000Z | tests/adapters/switches/brocade_test.py | FrancoisLopez/netman | a40d3235f7ea0cdaf52daab97b0d5ad20857b00e | [
"Apache-2.0"
] | 143 | 2015-12-10T19:00:42.000Z | 2020-08-20T13:51:42.000Z | tests/adapters/switches/brocade_test.py | FrancoisLopez/netman | a40d3235f7ea0cdaf52daab97b0d5ad20857b00e | [
"Apache-2.0"
] | 15 | 2015-12-14T23:03:30.000Z | 2019-01-15T19:35:45.000Z | # Copyright 2015 Internap.
#
# 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, so... | 52.365559 | 170 | 0.645779 | 16,207 | 121,331 | 4.58993 | 0.032208 | 0.064727 | 0.093495 | 0.134603 | 0.916305 | 0.902781 | 0.884902 | 0.872239 | 0.85682 | 0.846926 | 0 | 0.048238 | 0.201581 | 121,331 | 2,316 | 171 | 52.388169 | 0.719664 | 0.0045 | 0 | 0.6896 | 0 | 0.002667 | 0.22599 | 0.002062 | 0 | 0 | 0 | 0 | 0.136 | 1 | 0.066133 | false | 0.004267 | 0.007467 | 0.000533 | 0.0752 | 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 |
294933d7ee4435c7faf58b9337983fadc1b0d19b | 6,099 | py | Python | pypy/module/cpyext/test/test_pystrtod.py | m4sterchain/mesapy | ed546d59a21b36feb93e2309d5c6b75aa0ad95c9 | [
"Apache-2.0",
"OpenSSL"
] | 381 | 2018-08-18T03:37:22.000Z | 2022-02-06T23:57:36.000Z | pypy/module/cpyext/test/test_pystrtod.py | m4sterchain/mesapy | ed546d59a21b36feb93e2309d5c6b75aa0ad95c9 | [
"Apache-2.0",
"OpenSSL"
] | 16 | 2018-09-22T18:12:47.000Z | 2022-02-22T20:03:59.000Z | pypy/module/cpyext/test/test_pystrtod.py | m4sterchain/mesapy | ed546d59a21b36feb93e2309d5c6b75aa0ad95c9 | [
"Apache-2.0",
"OpenSSL"
] | 30 | 2018-08-20T03:16:34.000Z | 2022-01-12T17:39:22.000Z | import math
from pypy.module.cpyext import pystrtod
from pypy.module.cpyext.test.test_api import BaseApiTest, raises_w
from rpython.rtyper.lltypesystem import rffi
from rpython.rtyper.lltypesystem import lltype
from pypy.module.cpyext.pystrtod import PyOS_string_to_double
class TestPyOS_string_to_double(BaseApiTest)... | 37.881988 | 70 | 0.624529 | 886 | 6,099 | 4.11851 | 0.110609 | 0.049329 | 0.060565 | 0.049329 | 0.856399 | 0.822417 | 0.785969 | 0.758564 | 0.756372 | 0.746232 | 0 | 0.029987 | 0.24545 | 6,099 | 160 | 71 | 38.11875 | 0.762929 | 0 | 0 | 0.608696 | 0 | 0 | 0.023283 | 0 | 0 | 0 | 0 | 0 | 0.188406 | 1 | 0.123188 | false | 0 | 0.043478 | 0 | 0.181159 | 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 |
296d4245a81dda89f65dda7069ff2c63e222474b | 287 | py | Python | desdeo_tools/solver/__init__.py | phoopies/desdeo-tools | d3cb48c16b35114762386ee8368214b4b432eee0 | [
"MIT"
] | 1 | 2022-03-30T17:24:55.000Z | 2022-03-30T17:24:55.000Z | desdeo_tools/solver/__init__.py | phoopies/desdeo-tools | d3cb48c16b35114762386ee8368214b4b432eee0 | [
"MIT"
] | 2 | 2022-01-13T04:05:05.000Z | 2022-03-12T01:07:03.000Z | desdeo_tools/solver/__init__.py | phoopies/desdeo-tools | d3cb48c16b35114762386ee8368214b4b432eee0 | [
"MIT"
] | null | null | null | """This module implements methods for solving scalar valued functions.
"""
__all__ = ["DiscreteMinimizer", "ScalarMethod", "ScalarMinimizer", "ScalarSolverException"]
from desdeo_tools.solver.ScalarSolver import DiscreteMinimizer, ScalarMethod, ScalarMinimizer, ScalarSolverException
| 35.875 | 116 | 0.818815 | 24 | 287 | 9.583333 | 0.833333 | 0.252174 | 0.382609 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090592 | 287 | 7 | 117 | 41 | 0.881226 | 0.233449 | 0 | 0 | 0 | 0 | 0.306604 | 0.099057 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
29765d30f6c468ab494ba5307c14ec5427857135 | 146 | py | Python | computer_equipment_control/model/__init__.py | hugonp/Proyecto-Triples | ff4c77e37d49a1674d17f3137ef06b5c56ab9c29 | [
"Apache-2.0"
] | null | null | null | computer_equipment_control/model/__init__.py | hugonp/Proyecto-Triples | ff4c77e37d49a1674d17f3137ef06b5c56ab9c29 | [
"Apache-2.0"
] | null | null | null | computer_equipment_control/model/__init__.py | hugonp/Proyecto-Triples | ff4c77e37d49a1674d17f3137ef06b5c56ab9c29 | [
"Apache-2.0"
] | null | null | null | from . import usuario
from . import equipo_cambio
from . import equipo_computo
from . import sucursales
from . import depto
from . import usuario
| 20.857143 | 28 | 0.794521 | 20 | 146 | 5.7 | 0.4 | 0.526316 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 146 | 6 | 29 | 24.333333 | 0.934426 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4682bbaf850d64b54a79c88a195b6f6e2f183e48 | 114 | py | Python | lightnet/data/transform/__init__.py | eavise-kul/lightnet | d2d5d3fff8f929c3683c34f176217649375b98e1 | [
"MIT"
] | 6 | 2019-10-10T05:42:50.000Z | 2022-02-27T04:59:29.000Z | lightnet/data/transform/__init__.py | eavise-kul/lightnet | d2d5d3fff8f929c3683c34f176217649375b98e1 | [
"MIT"
] | null | null | null | lightnet/data/transform/__init__.py | eavise-kul/lightnet | d2d5d3fff8f929c3683c34f176217649375b98e1 | [
"MIT"
] | 4 | 2020-01-25T20:16:23.000Z | 2021-04-29T13:02:34.000Z | #
# Lightnet data transforms
# Copyright EAVISE
#
from .pre import *
from .post import *
from .util import *
| 12.666667 | 28 | 0.684211 | 14 | 114 | 5.571429 | 0.714286 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22807 | 114 | 8 | 29 | 14.25 | 0.886364 | 0.377193 | 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 |
31138701c903a02d7a07c3e409e2e717ebba46c9 | 207 | py | Python | vega/algorithms/nas/__init__.py | wnov/vega | bf51cbe389d41033c4ae4bc02e5078c3c247c845 | [
"MIT"
] | 6 | 2020-11-13T15:44:47.000Z | 2021-12-02T08:14:06.000Z | vega/algorithms/nas/__init__.py | JacobLee121/vega | 19256aca4d047bfad3b461f0a927e1c2abb9eb03 | [
"MIT"
] | null | null | null | vega/algorithms/nas/__init__.py | JacobLee121/vega | 19256aca4d047bfad3b461f0a927e1c2abb9eb03 | [
"MIT"
] | 2 | 2021-06-25T09:42:32.000Z | 2021-08-06T18:00:09.000Z | from .backbone_nas import *
from .adelaide_ea import *
from .sr_ea import *
from .esr_ea import *
from .darts_cnn import *
from .cars import *
from .fis import *
from .auto_lane import *
from .mfkd import *
| 20.7 | 27 | 0.73913 | 33 | 207 | 4.454545 | 0.454545 | 0.544218 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 207 | 9 | 28 | 23 | 0.859649 | 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 |
31220bdb897647890966f63a3b737299ebc02027 | 244 | py | Python | bash/src/_func_storage.py | BillGatesCat/yf | 118fdecd7e33cd4970b6250cf88be83e143d7a5f | [
"Apache-2.0"
] | 19 | 2020-12-24T04:49:52.000Z | 2021-02-19T04:58:10.000Z | bash/src/_func_storage.py | BillGatesCat/yf | 118fdecd7e33cd4970b6250cf88be83e143d7a5f | [
"Apache-2.0"
] | 2 | 2020-12-26T19:02:19.000Z | 2020-12-26T19:07:11.000Z | bash/src/_func_storage.py | BillGatesCat/yf | 118fdecd7e33cd4970b6250cf88be83e143d7a5f | [
"Apache-2.0"
] | 2 | 2020-12-28T01:41:03.000Z | 2021-07-06T19:27:25.000Z | class _FuncStorage:
def __init__(self):
self._function_map = {}
def insert_function(self, name, function):
self._function_map[name] = function
def get_all_functions(self):
return self._function_map
| 24.4 | 46 | 0.651639 | 28 | 244 | 5.178571 | 0.464286 | 0.248276 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262295 | 244 | 10 | 47 | 24.4 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.142857 | 0.714286 | 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 |
3136edb9ff4f65fcd40844fb2d3465f8582e6c6f | 4,325 | py | Python | tests/test_contact_form.py | LaudateCorpus1/apostello | 1ace89d0d9e1f7a1760f6247d90a60a9787a4f12 | [
"MIT"
] | 69 | 2015-10-03T20:27:53.000Z | 2021-04-06T05:26:18.000Z | tests/test_contact_form.py | LaudateCorpus1/apostello | 1ace89d0d9e1f7a1760f6247d90a60a9787a4f12 | [
"MIT"
] | 73 | 2015-10-03T17:53:47.000Z | 2020-10-01T03:08:01.000Z | tests/test_contact_form.py | LaudateCorpus1/apostello | 1ace89d0d9e1f7a1760f6247d90a60a9787a4f12 | [
"MIT"
] | 29 | 2015-10-23T22:00:13.000Z | 2021-11-30T04:48:06.000Z | import pytest
from apostello import models
@pytest.mark.slow
@pytest.mark.django_db
class TestContactForm:
"""Test the sending of SMS."""
def test_number_permissions_staff_exception(self, recipients, users):
"""Test sending a message now."""
calvin = recipients["calvin"]
# check good... | 34.6 | 104 | 0.536647 | 472 | 4,325 | 4.673729 | 0.165254 | 0.031732 | 0.054397 | 0.027199 | 0.8835 | 0.872167 | 0.844968 | 0.844968 | 0.822756 | 0.822756 | 0 | 0.030207 | 0.341734 | 4,325 | 124 | 105 | 34.879032 | 0.744643 | 0.034451 | 0 | 0.601852 | 0 | 0 | 0.188838 | 0.044744 | 0 | 0 | 0 | 0 | 0.12037 | 1 | 0.055556 | false | 0 | 0.018519 | 0 | 0.083333 | 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 |
31462c4ba41af6d515b3c86cd2798c8806f3724f | 65,264 | py | Python | ismore/plants.py | DerekYJC/bmi_python | 7b9cf3f294a33688db24b0863c1035e9cc6999ea | [
"Apache-2.0"
] | null | null | null | ismore/plants.py | DerekYJC/bmi_python | 7b9cf3f294a33688db24b0863c1035e9cc6999ea | [
"Apache-2.0"
] | null | null | null | ismore/plants.py | DerekYJC/bmi_python | 7b9cf3f294a33688db24b0863c1035e9cc6999ea | [
"Apache-2.0"
] | null | null | null | '''See the shared Google Drive documentation for an inheritance diagram that
shows the relationships between the classes defined in this file.
'''
import numpy as np
import socket
import time
from riglib import source
from ismore import settings, udp_feedback_client
import ismore_bmi_lib
from utils.constants import *... | 40.637609 | 155 | 0.58412 | 9,615 | 65,264 | 3.636609 | 0.054498 | 0.05491 | 0.036035 | 0.026769 | 0.809672 | 0.784105 | 0.758394 | 0.725276 | 0.706086 | 0.695132 | 0 | 0.016046 | 0.309619 | 65,264 | 1,605 | 156 | 40.662928 | 0.759993 | 0.205611 | 0 | 0.698212 | 0 | 0 | 0.041054 | 0.003083 | 0 | 0 | 0 | 0 | 0.005258 | 1 | 0.076761 | false | 0.016824 | 0.01367 | 0.01367 | 0.175605 | 0.041009 | 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 |
316ab7186375a4578bd0e98836f8f14461a4cb68 | 42 | py | Python | WhatSender/__init__.py | Shauryasamant/whatsender | 057a3f971667ea8992d6645645854604c3c4d071 | [
"Unlicense"
] | 1 | 2022-01-04T10:48:06.000Z | 2022-01-04T10:48:06.000Z | WhatSender/__init__.py | Shauryasamant/whatsender | 057a3f971667ea8992d6645645854604c3c4d071 | [
"Unlicense"
] | null | null | null | WhatSender/__init__.py | Shauryasamant/whatsender | 057a3f971667ea8992d6645645854604c3c4d071 | [
"Unlicense"
] | 2 | 2022-01-05T04:14:28.000Z | 2022-02-12T07:49:15.000Z | from WhatSender.sender import SendMessage
| 21 | 41 | 0.880952 | 5 | 42 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.973684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3190a8381415a99ad9460b76cf488e2f1d88f6df | 2,202 | py | Python | tests/it/test_docker_image_tag.py | gfi-centre-ouest/docker-devbox-ddb | 1597d85ef6e9e8322cce195a454de54186ce9ec7 | [
"MIT"
] | 4 | 2020-06-11T20:54:47.000Z | 2020-09-22T13:07:17.000Z | tests/it/test_docker_image_tag.py | gfi-centre-ouest/docker-devbox-ddb | 1597d85ef6e9e8322cce195a454de54186ce9ec7 | [
"MIT"
] | 113 | 2019-11-07T00:40:36.000Z | 2021-01-18T12:50:16.000Z | tests/it/test_docker_image_tag.py | inetum-orleans/docker-devbox-ddb | 20c713cf7bfcaf289226a17a9648c17d16003b4d | [
"MIT"
] | null | null | null | import os
import zipfile
import yaml
from dotty_dict import Dotty
from pytest_mock import MockerFixture
from ddb.__main__ import main
from ddb.config import Config
from ddb.feature.version import is_git_repository
class TestDockerImageTag:
def test_image_tag_from_git_tag_jsonnet(self, project_loader, mocker: Mo... | 33.363636 | 103 | 0.672116 | 284 | 2,202 | 4.971831 | 0.204225 | 0.092068 | 0.074363 | 0.063739 | 0.828612 | 0.804533 | 0.75779 | 0.75779 | 0.75779 | 0.75779 | 0 | 0 | 0.212534 | 2,202 | 65 | 104 | 33.876923 | 0.814302 | 0 | 0 | 0.55814 | 0 | 0 | 0.213442 | 0.1099 | 0 | 0 | 0 | 0 | 0.093023 | 1 | 0.069767 | false | 0 | 0.186047 | 0 | 0.27907 | 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 |
31a8e14670c16c328e5688e740eae92822649a17 | 6,872 | py | Python | tests/test_loop_seer.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 6,132 | 2015-08-06T23:24:47.000Z | 2022-03-31T21:49:34.000Z | tests/test_loop_seer.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 2,272 | 2015-08-10T08:40:07.000Z | 2022-03-31T23:46:44.000Z | tests/test_loop_seer.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 1,155 | 2015-08-06T23:37:39.000Z | 2022-03-31T05:54:11.000Z | import os
import sys
import angr
import nose.tools
test_location = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', '..', 'binaries', 'tests')
def test_various_loops():
p = angr.Project(os.path.join(test_location, 'x86_64', 'various_loops'), auto_load_libs=False)
cfg = p.analyses.CFGFast(nor... | 42.159509 | 125 | 0.709983 | 1,046 | 6,872 | 4.428298 | 0.140535 | 0.062176 | 0.100389 | 0.112263 | 0.84823 | 0.827288 | 0.804404 | 0.80095 | 0.80095 | 0.788644 | 0 | 0.02628 | 0.141735 | 6,872 | 162 | 126 | 42.419753 | 0.759071 | 0 | 0 | 0.45045 | 0 | 0 | 0.049913 | 0 | 0 | 0 | 0.009022 | 0 | 0.279279 | 1 | 0.045045 | false | 0 | 0.036036 | 0 | 0.081081 | 0.009009 | 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 |
31d15ba780a95a70da6a42fd922fdf3f8a69aedc | 77 | py | Python | module00/ex05/kata00.py | MedAymenF/42AI-Python-bootcamp | 41af2221b95b305ee08ee8f582e68700f1a8c32b | [
"Apache-2.0"
] | null | null | null | module00/ex05/kata00.py | MedAymenF/42AI-Python-bootcamp | 41af2221b95b305ee08ee8f582e68700f1a8c32b | [
"Apache-2.0"
] | null | null | null | module00/ex05/kata00.py | MedAymenF/42AI-Python-bootcamp | 41af2221b95b305ee08ee8f582e68700f1a8c32b | [
"Apache-2.0"
] | null | null | null | t = (19, 42, 21)
print(f"The {len(t)} numbers are: {t[0]}, {t[1]}, {t[2]}")
| 19.25 | 58 | 0.467532 | 17 | 77 | 2.117647 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 0.168831 | 77 | 3 | 59 | 25.666667 | 0.421875 | 0 | 0 | 0 | 0 | 0.5 | 0.623377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.