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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
49de1f75c863378b0144c19011303237cf161bd7 | 27 | py | Python | src/ocr/__init__.py | amit-kolluri/AI-underwriting | 2f0973404a5e7f670d60489c8bed9d95744b1113 | [
"MIT"
] | null | null | null | src/ocr/__init__.py | amit-kolluri/AI-underwriting | 2f0973404a5e7f670d60489c8bed9d95744b1113 | [
"MIT"
] | null | null | null | src/ocr/__init__.py | amit-kolluri/AI-underwriting | 2f0973404a5e7f670d60489c8bed9d95744b1113 | [
"MIT"
] | null | null | null | from .main import ocr_main
| 13.5 | 26 | 0.814815 | 5 | 27 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
49e0d2ee4727a2f95f4f2b0238ff92547ce61124 | 159 | py | Python | apps/bloguser/forms.py | BitPeaches/DjangoBlog | f77c33ebc0c84b35c6170a8ae4088a5ac5929d51 | [
"Apache-2.0"
] | null | null | null | apps/bloguser/forms.py | BitPeaches/DjangoBlog | f77c33ebc0c84b35c6170a8ae4088a5ac5929d51 | [
"Apache-2.0"
] | null | null | null | apps/bloguser/forms.py | BitPeaches/DjangoBlog | f77c33ebc0c84b35c6170a8ae4088a5ac5929d51 | [
"Apache-2.0"
] | null | null | null | from django import forms
class LoginForm(forms.Form):
email = forms.CharField(max_length=50)
password = forms.CharField(max_length=20, min_length=6)
| 22.714286 | 59 | 0.754717 | 23 | 159 | 5.086957 | 0.695652 | 0.239316 | 0.290598 | 0.393162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036765 | 0.144654 | 159 | 6 | 60 | 26.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b708c2e475fe7f23d0a0cd33fd423f3489f21a5e | 21 | py | Python | src/timer/__init__.py | N-z0/commonz | 275c48ef6aac32f0d809a96e56b0b0c254686747 | [
"Unlicense"
] | 7 | 2019-10-17T02:04:18.000Z | 2021-12-07T16:35:48.000Z | src/timer/__init__.py | N-z0/commonz | 275c48ef6aac32f0d809a96e56b0b0c254686747 | [
"Unlicense"
] | 2 | 2019-11-20T10:15:46.000Z | 2019-11-21T06:37:21.000Z | src/timer/__init__.py | N-z0/commonz | 275c48ef6aac32f0d809a96e56b0b0c254686747 | [
"Unlicense"
] | 3 | 2019-11-19T09:15:36.000Z | 2021-05-06T03:48:51.000Z | from .timer import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 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 |
3f92e96bc630aca3f28cff080e96279fe8798760 | 134 | py | Python | scripts/hello_world_tonymanou.py | breezage/Hacktoberfest-1 | 6f6d52248c79c0e72fd13b599500318fce3f9ab0 | [
"MIT"
] | null | null | null | scripts/hello_world_tonymanou.py | breezage/Hacktoberfest-1 | 6f6d52248c79c0e72fd13b599500318fce3f9ab0 | [
"MIT"
] | null | null | null | scripts/hello_world_tonymanou.py | breezage/Hacktoberfest-1 | 6f6d52248c79c0e72fd13b599500318fce3f9ab0 | [
"MIT"
] | 1 | 2019-10-24T06:45:21.000Z | 2019-10-24T06:45:21.000Z | # LANGUAGE: Pyth
# AUTHOR: Antoine Mann
# GITHUB: https://github.com/tonymanou
# LINK: https://github.com/isaacg1/pyth
"Hello World!
| 19.142857 | 39 | 0.723881 | 18 | 134 | 5.388889 | 0.722222 | 0.226804 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.119403 | 134 | 6 | 40 | 22.333333 | 0.813559 | 0.820896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3fe20eb954ff14f132ca49aad1f5d651eec3461e | 42 | py | Python | zinv/__init__.py | shane-breeze/zinv-analysis | 496abf9cb0e77831d580be417bcad7845c347704 | [
"MIT"
] | 1 | 2019-02-06T12:15:42.000Z | 2019-02-06T12:15:42.000Z | zinv/__init__.py | shane-breeze/zinv-analysis | 496abf9cb0e77831d580be417bcad7845c347704 | [
"MIT"
] | 12 | 2019-03-27T15:52:34.000Z | 2020-02-06T12:09:37.000Z | zinv/__init__.py | shane-breeze/zinv-analysis | 496abf9cb0e77831d580be417bcad7845c347704 | [
"MIT"
] | 1 | 2019-03-14T17:23:33.000Z | 2019-03-14T17:23:33.000Z | from . import modules
from . import utils
| 14 | 21 | 0.761905 | 6 | 42 | 5.333333 | 0.666667 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 22 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b208c8daccecbe3b5198008db3af0887b93b8d1d | 74 | py | Python | v1/methods.py | gombru/HateSPicLabeler | 22c2f5974f32615070ecaf99ca925cb806c4fe4d | [
"MIT"
] | 1 | 2018-12-11T21:18:06.000Z | 2018-12-11T21:18:06.000Z | v1/methods.py | gombru/HateSpeechLabeler | 22c2f5974f32615070ecaf99ca925cb806c4fe4d | [
"MIT"
] | null | null | null | v1/methods.py | gombru/HateSpeechLabeler | 22c2f5974f32615070ecaf99ca925cb806c4fe4d | [
"MIT"
] | null | null | null | import random
def count(number):
return random.randint(0, number - 1)
| 18.5 | 40 | 0.716216 | 11 | 74 | 4.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.175676 | 74 | 3 | 41 | 24.666667 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b79503e8e8320d8383175307784fb6035f97b094 | 8,131 | py | Python | src/tests/test_utils.py | davidshinn/pymdptoolbox | 7c96789cc80e280437005c12065cf70266c11636 | [
"BSD-3-Clause"
] | 472 | 2015-01-09T06:30:05.000Z | 2022-03-29T21:05:36.000Z | src/tests/test_utils.py | davidshinn/pymdptoolbox | 7c96789cc80e280437005c12065cf70266c11636 | [
"BSD-3-Clause"
] | 30 | 2015-01-01T06:40:14.000Z | 2021-03-25T11:36:14.000Z | src/tests/test_utils.py | davidshinn/pymdptoolbox | 7c96789cc80e280437005c12065cf70266c11636 | [
"BSD-3-Clause"
] | 210 | 2015-03-02T07:13:41.000Z | 2022-03-31T23:42:25.000Z | # -*- coding: utf-8 -*-
import numpy as np
import scipy as sp
from nose.tools import assert_raises
import mdptoolbox
from .utils import ACTIONS, STATES
def test_check_square_stochastic_nonnegative_array_1():
P = np.zeros((ACTIONS, STATES, STATES))
R = np.zeros((STATES, ACTIONS))
for a in range(ACTIONS)... | 34.6 | 74 | 0.683311 | 1,185 | 8,131 | 4.537553 | 0.070886 | 0.045564 | 0.066952 | 0.070299 | 0.90106 | 0.867212 | 0.832806 | 0.800074 | 0.70597 | 0.679003 | 0 | 0.009679 | 0.186816 | 8,131 | 234 | 75 | 34.747863 | 0.803539 | 0.050424 | 0 | 0.603352 | 0 | 0 | 0.009337 | 0 | 0 | 0 | 0 | 0 | 0.201117 | 1 | 0.195531 | false | 0 | 0.027933 | 0 | 0.223464 | 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 |
b7975093e6b97966be04b2d39516b4656255f300 | 2,490 | py | Python | heat/core/tests/test_devices.py | bhagemeier/heat | b362b61a558c4a69cd9a884051b5efcc74f494da | [
"MIT"
] | null | null | null | heat/core/tests/test_devices.py | bhagemeier/heat | b362b61a558c4a69cd9a884051b5efcc74f494da | [
"MIT"
] | null | null | null | heat/core/tests/test_devices.py | bhagemeier/heat | b362b61a558c4a69cd9a884051b5efcc74f494da | [
"MIT"
] | 1 | 2020-04-07T11:27:05.000Z | 2020-04-07T11:27:05.000Z | import unittest
import os
import heat as ht
if os.environ.get("DEVICE") == "gpu" and ht.torch.cuda.is_available():
ht.use_device("gpu")
ht.torch.cuda.set_device(ht.torch.device(ht.get_device().torch_device))
else:
ht.use_device("cpu")
device = ht.get_device().torch_device
ht_device = None
if os.environ.get... | 37.727273 | 75 | 0.609639 | 338 | 2,490 | 4.340237 | 0.106509 | 0.163599 | 0.190866 | 0.179959 | 0.871847 | 0.835719 | 0.70893 | 0.625085 | 0.558964 | 0.558964 | 0 | 0.001063 | 0.244578 | 2,490 | 65 | 76 | 38.307692 | 0.778841 | 0 | 0 | 0.465517 | 0 | 0 | 0.040964 | 0 | 0 | 0 | 0 | 0 | 0.413793 | 1 | 0.051724 | false | 0 | 0.051724 | 0 | 0.12069 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7a3ae1329ef214e9e70a2d562a8a5e793cd8839 | 44 | py | Python | p2ner/components/plugin/tcpbwserver/tcpbwserver/__init__.py | schristakidis/p2ner | 46694a41e8c1ebdc28f520b58c126da8785f3eed | [
"Apache-2.0"
] | 2 | 2015-06-01T22:04:34.000Z | 2017-07-06T09:35:00.000Z | p2ner/components/plugin/tcpbwserver/tcpbwserver/__init__.py | schristakidis/p2ner | 46694a41e8c1ebdc28f520b58c126da8785f3eed | [
"Apache-2.0"
] | null | null | null | p2ner/components/plugin/tcpbwserver/tcpbwserver/__init__.py | schristakidis/p2ner | 46694a41e8c1ebdc28f520b58c126da8785f3eed | [
"Apache-2.0"
] | 1 | 2019-11-26T10:22:35.000Z | 2019-11-26T10:22:35.000Z | from TCPServer import Server as TCPBWServer
| 22 | 43 | 0.863636 | 6 | 44 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 1 | 44 | 44 | 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 |
b7e2216a1f042b870d6e4f59151c54bff6e8c322 | 17,183 | py | Python | venv/Lib/site-packages/tests/test_124_FieldNamePos_02.py | shehzadulislam/Assignment4 | a9cced70be6ae5d2685027d68032d5849f638301 | [
"Apache-2.0"
] | null | null | null | venv/Lib/site-packages/tests/test_124_FieldNamePos_02.py | shehzadulislam/Assignment4 | a9cced70be6ae5d2685027d68032d5849f638301 | [
"Apache-2.0"
] | null | null | null | venv/Lib/site-packages/tests/test_124_FieldNamePos_02.py | shehzadulislam/Assignment4 | a9cced70be6ae5d2685027d68032d5849f638301 | [
"Apache-2.0"
] | null | null | null | #
# Licensed Materials - Property of IBM
#
# (c) Copyright IBM Corp. 2007-2008
#
import unittest, sys
import ibm_db
import config
from testfunctions import IbmDbTestFunctions
class IbmDbTestCase(unittest.TestCase):
def test_124_FieldNamePos_02(self):
obj = IbmDbTestFunctions()
obj.assert_expect(self.run... | 15.12588 | 491 | 0.730198 | 2,630 | 17,183 | 4.752091 | 0.067681 | 0.070411 | 0.083213 | 0.076812 | 0.933589 | 0.933589 | 0.926548 | 0.926548 | 0.926548 | 0.926548 | 0 | 0.180667 | 0.090322 | 17,183 | 1,135 | 492 | 15.139207 | 0.618898 | 0.787639 | 0 | 0.064516 | 0 | 0.032258 | 0.181248 | 0.0153 | 0 | 0 | 0 | 0 | 0.032258 | 1 | 0.064516 | false | 0.032258 | 0.129032 | 0 | 0.225806 | 0.129032 | 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 |
4d1aa3cfb94b1baa9f623daf538570ff2ef3878e | 6,452 | py | Python | backend/logistics/migrations/0001_initial.py | StichtingIAPC/swipe | d1ea35a40813d2d5e9cf9edde33148c0a825efc4 | [
"BSD-3-Clause-Clear"
] | null | null | null | backend/logistics/migrations/0001_initial.py | StichtingIAPC/swipe | d1ea35a40813d2d5e9cf9edde33148c0a825efc4 | [
"BSD-3-Clause-Clear"
] | null | null | null | backend/logistics/migrations/0001_initial.py | StichtingIAPC/swipe | d1ea35a40813d2d5e9cf9edde33148c0a825efc4 | [
"BSD-3-Clause-Clear"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.9 on 2018-05-29 18:22
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import money.models
class Migration(migrations.Migration):
initial = True
dependencies ... | 53.766667 | 184 | 0.628642 | 648 | 6,452 | 6.030864 | 0.160494 | 0.040942 | 0.068066 | 0.10696 | 0.770983 | 0.770983 | 0.737462 | 0.712897 | 0.712897 | 0.712897 | 0 | 0.00736 | 0.24194 | 6,452 | 119 | 185 | 54.218487 | 0.791658 | 0.010539 | 0 | 0.558559 | 1 | 0 | 0.181006 | 0.065664 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045045 | 0 | 0.081081 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4df9bed65cd73194217d43dc6b731f4c97ef13b1 | 62 | py | Python | basic_robotics/utilities/__init__.py | 64-B1T/basic_robotics | 699b58f50d9c571cdab114d8453153ee6aefbea7 | [
"MIT"
] | null | null | null | basic_robotics/utilities/__init__.py | 64-B1T/basic_robotics | 699b58f50d9c571cdab114d8453153ee6aefbea7 | [
"MIT"
] | null | null | null | basic_robotics/utilities/__init__.py | 64-B1T/basic_robotics | 699b58f50d9c571cdab114d8453153ee6aefbea7 | [
"MIT"
] | null | null | null | from . import disp as disp
from . import FaserLog as FaserLog
| 20.666667 | 34 | 0.774194 | 10 | 62 | 4.8 | 0.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 62 | 2 | 35 | 31 | 0.96 | 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 |
127f7a8c310884429360f7c91ed1f7f461a23859 | 5,578 | py | Python | modals/modals.py | thedylone/laffey-bot | 4ce7790c8b2f51f9e1e0b164b5937d2e931ce6bb | [
"MIT"
] | 2 | 2022-02-25T16:18:08.000Z | 2022-02-25T16:22:03.000Z | modals/modals.py | thedylone/laffey-bot | 4ce7790c8b2f51f9e1e0b164b5937d2e931ce6bb | [
"MIT"
] | 7 | 2022-03-02T12:23:37.000Z | 2022-03-12T17:13:23.000Z | modals/modals.py | thedylone/laffey-bot | 4ce7790c8b2f51f9e1e0b164b5937d2e931ce6bb | [
"MIT"
] | null | null | null | import disnake
from disnake.ext import commands
from helpers import valorant_helper
class ValorantWatchModal(disnake.ui.Modal):
def __init__(self, bot: commands.Bot) -> None:
self.bot = bot
components = [
disnake.ui.TextInput(
label="Username",
placehol... | 35.987097 | 88 | 0.601829 | 559 | 5,578 | 5.806798 | 0.134168 | 0.032348 | 0.08626 | 0.098583 | 0.836722 | 0.833025 | 0.800062 | 0.800062 | 0.800062 | 0.800062 | 0 | 0.00513 | 0.301004 | 5,578 | 154 | 89 | 36.220779 | 0.827392 | 0 | 0 | 0.62406 | 0 | 0 | 0.114019 | 0.01237 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037594 | false | 0 | 0.022556 | 0 | 0.097744 | 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 |
128461ff61c92398a89cf1d42dbbe75c0f2dd81c | 56 | py | Python | dist_conda.py | naegelyd-insitro/setuptools-conda | 80c3e2cc38cfb6f2f78e9bdd01ba099f01aa4632 | [
"BSD-2-Clause"
] | 23 | 2020-06-25T14:28:47.000Z | 2022-03-16T19:03:39.000Z | dist_conda.py | naegelyd-insitro/setuptools-conda | 80c3e2cc38cfb6f2f78e9bdd01ba099f01aa4632 | [
"BSD-2-Clause"
] | 11 | 2020-05-30T06:17:14.000Z | 2021-12-25T10:45:00.000Z | dist_conda.py | chrisjbillington/setuptools_conda | 61a13226e23637b28c5ecf3e7a6dd61888ce5f20 | [
"BSD-2-Clause"
] | 3 | 2020-11-07T05:06:49.000Z | 2021-08-05T16:04:05.000Z | from setuptools_conda.setuptools_conda import dist_conda | 56 | 56 | 0.928571 | 8 | 56 | 6.125 | 0.625 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 56 | 1 | 56 | 56 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12927cd4051eb296d395cdad00660f36eac62106 | 61 | py | Python | oscar/lib/python2.7/site-packages/dateutil/tzwin.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | 6 | 2021-10-30T09:00:55.000Z | 2022-03-07T16:33:25.000Z | oscar/lib/python2.7/site-packages/dateutil/tzwin.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/dateutil/tzwin.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | 1 | 2022-03-16T11:33:50.000Z | 2022-03-16T11:33:50.000Z | # tzwin has moved to dateutil.tz.win
from .tz.win import *
| 20.333333 | 37 | 0.704918 | 11 | 61 | 3.909091 | 0.818182 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 61 | 2 | 38 | 30.5 | 0.877551 | 0.557377 | 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 |
420e7ed9473a7c4650614e3368822e7b85bbd6ab | 44 | py | Python | OOP/OOP-Practice/import_keyword/main.py | siddhantdixit/OOP-ClassWork | ce414a3836d03aa7dee0eb1d7a69e849fb6707c0 | [
"MIT"
] | null | null | null | OOP/OOP-Practice/import_keyword/main.py | siddhantdixit/OOP-ClassWork | ce414a3836d03aa7dee0eb1d7a69e849fb6707c0 | [
"MIT"
] | null | null | null | OOP/OOP-Practice/import_keyword/main.py | siddhantdixit/OOP-ClassWork | ce414a3836d03aa7dee0eb1d7a69e849fb6707c0 | [
"MIT"
] | null | null | null | import update
import config
print(config.b) | 11 | 15 | 0.818182 | 7 | 44 | 5.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 4 | 15 | 11 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 |
421a4ae3a2907b301a79cdea03700bdfea067acc | 96 | py | Python | venv/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/ec.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 1 | 2021-11-07T22:40:27.000Z | 2021-11-07T22:40:27.000Z | venv/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/ec.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/ec.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/2c/b5/cd/5bc6a79755a648d62411dcbe3a514c3c21f0be40ff595d140f6733a990 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
42536dcad48f57e7b7903f34d8ccf38eabf635c6 | 195 | py | Python | testing.py | the-ascent/Volcanic-Client | b4f08e46c62f2ddeec4c776f4817b1643e6ea8cc | [
"MIT"
] | 1 | 2021-07-05T16:41:11.000Z | 2021-07-05T16:41:11.000Z | testing.py | the-ascent/Volcanic-Client | b4f08e46c62f2ddeec4c776f4817b1643e6ea8cc | [
"MIT"
] | null | null | null | testing.py | the-ascent/Volcanic-Client | b4f08e46c62f2ddeec4c776f4817b1643e6ea8cc | [
"MIT"
] | null | null | null | import volcanic.test
import asyncio
if __name__ == '__main__':
asyncio.run(volcanic.test.amc.launchTransportsAsync())
print(volcanic.test.amc)
# asyncio.get_event_loop().run_forever() | 32.5 | 58 | 0.753846 | 24 | 195 | 5.666667 | 0.625 | 0.264706 | 0.220588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117949 | 195 | 6 | 59 | 32.5 | 0.790698 | 0.194872 | 0 | 0 | 0 | 0 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0.2 | 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 |
4270669ff9be8a9e4b4f455aeaa3d7c823fc6c5f | 101 | py | Python | src/ia_markov/__init__.py | accraze/python-ia-markov | 657890ac39c1635040af78abf6c6f99a59915ab1 | [
"BSD-2-Clause"
] | 8 | 2016-12-03T21:21:50.000Z | 2020-06-09T00:41:51.000Z | src/ia_markov/__init__.py | accraze/python-ia-markov | 657890ac39c1635040af78abf6c6f99a59915ab1 | [
"BSD-2-Clause"
] | 29 | 2017-02-12T23:58:44.000Z | 2019-04-05T06:47:34.000Z | src/ia_markov/__init__.py | accraze/python-ia-markov | 657890ac39c1635040af78abf6c6f99a59915ab1 | [
"BSD-2-Clause"
] | 6 | 2018-02-20T16:30:08.000Z | 2018-10-03T09:18:50.000Z | from .markov import MarkovModel # noqa
from .markov import POSMarkov # noqa
__version__ = "0.3.1"
| 20.2 | 39 | 0.732673 | 14 | 101 | 5 | 0.714286 | 0.285714 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0.178218 | 101 | 4 | 40 | 25.25 | 0.807229 | 0.089109 | 0 | 0 | 0 | 0 | 0.05618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4279c84d5383a149490b507decd541cf118706bc | 129 | py | Python | example/tests/test_hello.py | mamaz/tdd-example | 6cd3f01edf451d37337392e751f90319167dea3e | [
"MIT"
] | 2 | 2021-03-24T14:20:58.000Z | 2022-02-20T16:37:36.000Z | example/tests/test_hello.py | mamaz/minimalistic-python | fd353166d971906be510aa3ba18cb2e03a17e902 | [
"MIT"
] | null | null | null | example/tests/test_hello.py | mamaz/minimalistic-python | fd353166d971906be510aa3ba18cb2e03a17e902 | [
"MIT"
] | null | null | null | from example.hello.say_hello import hello
def test_hello_function_should_return_hello() -> None:
assert hello() == "hello!"
| 25.8 | 54 | 0.75969 | 18 | 129 | 5.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131783 | 129 | 4 | 55 | 32.25 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 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 |
4282e39caacb91dd334a6fa4d55e3a6c59b4eb00 | 2,041 | py | Python | tests/test_schedule.py | NTT123/opax | 9c2b6282ea04f10acf4ae95c18d4a3270712a3f5 | [
"MIT"
] | 7 | 2021-09-08T23:53:23.000Z | 2022-03-13T16:19:28.000Z | tests/test_schedule.py | NTT123/opax | 9c2b6282ea04f10acf4ae95c18d4a3270712a3f5 | [
"MIT"
] | null | null | null | tests/test_schedule.py | NTT123/opax | 9c2b6282ea04f10acf4ae95c18d4a3270712a3f5 | [
"MIT"
] | null | null | null | import jax
import numpy as np
import pax
import opax
def test_opax_schedule_sgd():
model = pax.Linear(3, 3)
scheduler = opax.schedule.exponential_decay(1.0, 10_000)
opt = opax.sgd(scheduler)(model.parameters())
params = model.parameters()
opt, updates = pax.module_and_value(opt)(params)
param... | 30.924242 | 64 | 0.692308 | 280 | 2,041 | 4.857143 | 0.167857 | 0.097059 | 0.077206 | 0.083824 | 0.897059 | 0.875735 | 0.855147 | 0.855147 | 0.855147 | 0.824265 | 0 | 0.037792 | 0.183244 | 2,041 | 65 | 65 | 31.4 | 0.778044 | 0 | 0 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 1 | 0.115385 | false | 0 | 0.076923 | 0 | 0.211538 | 0.019231 | 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 |
35efbd932b7ec01cbfb503fe1920c604ee3fd8df | 3,090 | py | Python | tests/cases/test_details_import.py | vika-sonne/blender-xray | a9b9b9e3c83500e5431ec9e692ed57aff63ea43c | [
"BSD-2-Clause"
] | null | null | null | tests/cases/test_details_import.py | vika-sonne/blender-xray | a9b9b9e3c83500e5431ec9e692ed57aff63ea43c | [
"BSD-2-Clause"
] | null | null | null | tests/cases/test_details_import.py | vika-sonne/blender-xray | a9b9b9e3c83500e5431ec9e692ed57aff63ea43c | [
"BSD-2-Clause"
] | null | null | null | from tests import utils
import bpy
class TestDetailsImport(utils.XRayTestCase):
def test_format_version_3(self):
# Act
bpy.ops.xray_import.dm(
directory=self.relpath(),
files=[{'name': 'test_fmt_v3.details'}],
)
# Assert
self.assertReportsNotContai... | 38.148148 | 83 | 0.646602 | 369 | 3,090 | 5.205962 | 0.184282 | 0.187402 | 0.074961 | 0.104112 | 0.788131 | 0.781884 | 0.7038 | 0.7038 | 0.7038 | 0.7038 | 0 | 0.01819 | 0.252751 | 3,090 | 80 | 84 | 38.625 | 0.813772 | 0.006796 | 0 | 0.448276 | 0 | 0 | 0.182115 | 0 | 0 | 0 | 0 | 0 | 0.448276 | 1 | 0.034483 | false | 0 | 0.086207 | 0 | 0.137931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c439837d9145216b8981c1830f7645ff5eb7ae56 | 35,661 | py | Python | plot.py | shibaji7/sd_rio_sluggishness | 6bcd5fdc07aa348cc44bdcbef4fe20d80375addf | [
"Apache-2.0"
] | 1 | 2020-12-02T20:13:22.000Z | 2020-12-02T20:13:22.000Z | plot.py | shibaji7/sd_rio_sluggishness | 6bcd5fdc07aa348cc44bdcbef4fe20d80375addf | [
"Apache-2.0"
] | null | null | null | plot.py | shibaji7/sd_rio_sluggishness | 6bcd5fdc07aa348cc44bdcbef4fe20d80375addf | [
"Apache-2.0"
] | null | null | null | import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot as plt
import spacepy.plot as splot
import datetime as dt
import matplotlib.dates as mdates
import pandas as pd
import statsmodels.api as sm
from scipy.interpolate import interp1d
from scipy import array
import numpy as np
import analysis as ala
import g... | 51.310791 | 125 | 0.581391 | 5,396 | 35,661 | 3.760378 | 0.079133 | 0.017988 | 0.091075 | 0.104086 | 0.821547 | 0.79518 | 0.763146 | 0.731457 | 0.708048 | 0.683308 | 0 | 0.045942 | 0.21323 | 35,661 | 694 | 126 | 51.384726 | 0.677264 | 0.001795 | 0 | 0.487382 | 0 | 0 | 0.107368 | 0.014949 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031546 | false | 0 | 0.025237 | 0.001577 | 0.088328 | 0.006309 | 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 |
675affb021617c520bf32862101416c8676beeb9 | 137 | py | Python | tests/conftest.py | nevermined-io/metadata-driver-azure | c2c11dc6d94703cf39745b6939dea05d1c850e48 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | nevermined-io/metadata-driver-azure | c2c11dc6d94703cf39745b6939dea05d1c850e48 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | nevermined-io/metadata-driver-azure | c2c11dc6d94703cf39745b6939dea05d1c850e48 | [
"Apache-2.0"
] | null | null | null | import pytest
from metadata_driver_azure.data_plugin import Plugin
@pytest.fixture
def osmo():
return Plugin('./tests/config.ini') | 17.125 | 52 | 0.773723 | 19 | 137 | 5.421053 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124088 | 137 | 8 | 53 | 17.125 | 0.858333 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
6767979b57e391f5ac1d3469617e6f6a37a475cf | 118 | py | Python | dist/Basilisk/fswAlgorithms/QUAT_PID/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | dist/Basilisk/fswAlgorithms/QUAT_PID/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | 1 | 2019-03-13T20:52:22.000Z | 2019-03-13T20:52:22.000Z | dist/Basilisk/fswAlgorithms/QUAT_PID/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | # This __init__.py file for the QUAT_PID package is automatically generated by the build system
from QUAT_PID import * | 59 | 95 | 0.822034 | 20 | 118 | 4.55 | 0.85 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 118 | 2 | 96 | 59 | 0.91 | 0.788136 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
67c9a97b913436ba0b672a4b8b96ebda49c35a28 | 120 | py | Python | curves/helper_functions.py | hamolicious/Curves | d4b4cb926f570865dbfc5974d033a85d9f1528fb | [
"WTFPL"
] | null | null | null | curves/helper_functions.py | hamolicious/Curves | d4b4cb926f570865dbfc5974d033a85d9f1528fb | [
"WTFPL"
] | null | null | null | curves/helper_functions.py | hamolicious/Curves | d4b4cb926f570865dbfc5974d033a85d9f1528fb | [
"WTFPL"
] | null | null | null |
def clamp(value, max_value, min_value):
value = min(value, max_value)
value = max(value, min_value)
return value
| 13.333333 | 39 | 0.716667 | 19 | 120 | 4.315789 | 0.315789 | 0.292683 | 0.47561 | 0.390244 | 0.512195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 120 | 8 | 40 | 15 | 0.828283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
db2c6fcb1f5c124423224451f349315dcd58e33c | 73 | py | Python | docs/example.py | asmeurer/brown-water-python | 0fa37383f1d73cbbdeb38ead9bb0aae5549b3a74 | [
"MIT"
] | 8 | 2019-04-28T08:10:49.000Z | 2021-05-21T08:48:31.000Z | docs/example.py | asmeurer/brown-water-python | 0fa37383f1d73cbbdeb38ead9bb0aae5549b3a74 | [
"MIT"
] | 2 | 2019-05-11T10:47:29.000Z | 2020-07-07T23:50:55.000Z | docs/example.py | asmeurer/brown-water-python | 0fa37383f1d73cbbdeb38ead9bb0aae5549b3a74 | [
"MIT"
] | 1 | 2020-02-05T09:31:55.000Z | 2020-02-05T09:31:55.000Z | # This is a an example file to be tokenized
def two():
return 1 + 1
| 14.6 | 43 | 0.643836 | 14 | 73 | 3.357143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.287671 | 73 | 4 | 44 | 18.25 | 0.865385 | 0.561644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e1e2ccc3227f5db0946b9dc944625680419a2edf | 1,321 | py | Python | kollect/mutations/test_update_collection.py | dcramer/kollect | a8586ec07f671e01e80df2336ad1fa5dfe4804e5 | [
"Apache-2.0"
] | null | null | null | kollect/mutations/test_update_collection.py | dcramer/kollect | a8586ec07f671e01e80df2336ad1fa5dfe4804e5 | [
"Apache-2.0"
] | null | null | null | kollect/mutations/test_update_collection.py | dcramer/kollect | a8586ec07f671e01e80df2336ad1fa5dfe4804e5 | [
"Apache-2.0"
] | null | null | null | from kollect.models import Collection
def test_update_collection(gql_client, default_collection, default_user):
executed = gql_client.execute(
"""
mutation {
updateCollection(collection:"%s", name:"Updated Collection") {
ok
errors
collection { id }
}... | 27.520833 | 73 | 0.6162 | 133 | 1,321 | 5.984962 | 0.255639 | 0.090452 | 0.042714 | 0.057789 | 0.874372 | 0.791457 | 0.791457 | 0.791457 | 0.791457 | 0.791457 | 0 | 0 | 0.258895 | 1,321 | 47 | 74 | 28.106383 | 0.813075 | 0 | 0 | 0.64 | 0 | 0 | 0.115854 | 0 | 0 | 0 | 0 | 0 | 0.32 | 1 | 0.08 | false | 0 | 0.04 | 0 | 0.12 | 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 |
e1ed0b1a2b1669a5c0c81b0dc8737642947b1f92 | 3,447 | py | Python | pagesource.py | sudeep0901/python | 7a50af12e72d21ca4cad7f2afa4c6f929552043f | [
"MIT"
] | null | null | null | pagesource.py | sudeep0901/python | 7a50af12e72d21ca4cad7f2afa4c6f929552043f | [
"MIT"
] | 3 | 2019-12-26T05:13:55.000Z | 2020-03-07T06:59:56.000Z | pagesource.py | sudeep0901/python | 7a50af12e72d21ca4cad7f2afa4c6f929552043f | [
"MIT"
] | null | null | null | def get_ticket_status(ticket_num, ticket_desc_str, e1):
status_ticketnum_count = ticket_desc_str.count(ticket_num)
if(status_ticketnum_count == 1):
status_startpos = ticket_desc_str.index(ticket_num,0,len(ticket_desc_str))
endpos = status_startpos
e = 3
while(e != 0):
... | 35.173469 | 91 | 0.631854 | 444 | 3,447 | 4.583333 | 0.121622 | 0.137592 | 0.166093 | 0.070762 | 0.847666 | 0.794103 | 0.794103 | 0.794103 | 0.794103 | 0.742015 | 0 | 0.039284 | 0.254134 | 3,447 | 97 | 92 | 35.536082 | 0.752236 | 0.112272 | 0 | 0.689189 | 0 | 0 | 0.048604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0 | 0 | 0.054054 | 0.094595 | 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 |
e1fc0c5c19f8cc32f32c9dfa010524ec62841f3f | 70 | py | Python | encapsulation/wild_cat_zoo/vet.py | ivan-yosifov88/python_oop_june_2021 | 7ae6126065abbcce7ce97c86d1150ae307360249 | [
"MIT"
] | 1 | 2021-08-03T19:14:24.000Z | 2021-08-03T19:14:24.000Z | encapsulation/wild_cat_zoo/vet.py | ivan-yosifov88/python_oop_june_2021 | 7ae6126065abbcce7ce97c86d1150ae307360249 | [
"MIT"
] | null | null | null | encapsulation/wild_cat_zoo/vet.py | ivan-yosifov88/python_oop_june_2021 | 7ae6126065abbcce7ce97c86d1150ae307360249 | [
"MIT"
] | null | null | null | from wild_cat_zoo.worker import Worker
class Vet(Worker):
pass
| 10 | 38 | 0.742857 | 11 | 70 | 4.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 70 | 6 | 39 | 11.666667 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c00bb0b72d2264e47c0e343f9e9459dabbee8a2c | 12,877 | py | Python | losses.py | Oewyn/kaggle_airbus | c2f31b8c6b392709e053585f437749a7169b6708 | [
"MIT"
] | null | null | null | losses.py | Oewyn/kaggle_airbus | c2f31b8c6b392709e053585f437749a7169b6708 | [
"MIT"
] | null | null | null | losses.py | Oewyn/kaggle_airbus | c2f31b8c6b392709e053585f437749a7169b6708 | [
"MIT"
] | null | null | null | import keras.backend as K
import numpy as np
def sigmoid_np(val):
return 1/(1+np.exp(-val))
def iou_np(y_true, y_pred, eps=1e-6):
y_t_flat = y_true.flatten()
y_p_flat = y_pred.flatten()
intersection = np.sum(y_t_flat * y_p_flat)
union = np.sum(y_t_flat) + np.sum(y_p_flat) - intersection
return... | 41.405145 | 146 | 0.624913 | 2,079 | 12,877 | 3.508899 | 0.064935 | 0.058259 | 0.101714 | 0.058944 | 0.852776 | 0.815764 | 0.780672 | 0.74037 | 0.727896 | 0.70281 | 0 | 0.020193 | 0.250058 | 12,877 | 310 | 147 | 41.53871 | 0.735218 | 0.034635 | 0 | 0.604082 | 0 | 0 | 0.006442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.138776 | false | 0 | 0.016327 | 0.040816 | 0.330612 | 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 |
fbe55c2f402461c77652397fc6f329e1a13e1983 | 6,669 | py | Python | tests/test_cli.py | odidev/prance | 555a973c4fbaab442f5bb6f43b73075a751d8cd5 | [
"MIT"
] | 141 | 2016-10-28T00:19:40.000Z | 2021-03-30T06:25:59.000Z | tests/test_cli.py | odidev/prance | 555a973c4fbaab442f5bb6f43b73075a751d8cd5 | [
"MIT"
] | 70 | 2016-12-08T10:40:06.000Z | 2021-03-31T18:38:24.000Z | tests/test_cli.py | odidev/prance | 555a973c4fbaab442f5bb6f43b73075a751d8cd5 | [
"MIT"
] | 26 | 2017-05-18T14:41:16.000Z | 2021-02-13T07:57:31.000Z | """Test suite for prance.cli ."""
__author__ = "Jens Finkhaeuser"
__copyright__ = "Copyright (c) 2016-2021 Jens Finkhaeuser"
__license__ = "MIT"
__all__ = ()
import pytest
from . import none_of
@pytest.fixture
def runner():
from click.testing import CliRunner
return CliRunner()
@pytest.mark.skipif(none_... | 30.040541 | 87 | 0.638776 | 852 | 6,669 | 4.906103 | 0.144366 | 0.045455 | 0.0689 | 0.084211 | 0.905742 | 0.899043 | 0.896651 | 0.896651 | 0.892823 | 0.877273 | 0 | 0.008547 | 0.245614 | 6,669 | 221 | 88 | 30.176471 | 0.822302 | 0.078123 | 0 | 0.684932 | 0 | 0 | 0.227102 | 0.083102 | 0 | 0 | 0 | 0 | 0.219178 | 1 | 0.068493 | false | 0 | 0.123288 | 0 | 0.19863 | 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 |
22032b7fe917924ab48d6eed256b9ff20487cf24 | 288 | py | Python | tests/__main__.py | jrubinator/pokebase | d49fa5c763d09cba0e54946d7288e4582f4a0d8e | [
"BSD-3-Clause"
] | 1 | 2020-10-13T15:55:59.000Z | 2020-10-13T15:55:59.000Z | tests/__main__.py | jrubinator/pokebase | d49fa5c763d09cba0e54946d7288e4582f4a0d8e | [
"BSD-3-Clause"
] | null | null | null | tests/__main__.py | jrubinator/pokebase | d49fa5c763d09cba0e54946d7288e4582f4a0d8e | [
"BSD-3-Clause"
] | 1 | 2021-08-30T03:14:47.000Z | 2021-08-30T03:14:47.000Z | # -*- coding: utf-8 -*-
import sys
import unittest
from .test_module_common import *
from .test_module_cache import *
from .test_module_api import *
from .test_module_interface import *
from .test_module_loaders import *
from .test_with_api_calls import *
unittest.main(argv=sys.argv)
| 20.571429 | 36 | 0.78125 | 43 | 288 | 4.930233 | 0.418605 | 0.226415 | 0.330189 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003984 | 0.128472 | 288 | 13 | 37 | 22.153846 | 0.840637 | 0.072917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.888889 | 0 | 0.888889 | 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 |
2230fcb4d955cc9277631cc7949bdd4928af957f | 40 | py | Python | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/augmentedAssignment/data/in_1_basic_numeric.py | JetBrains-Research/ast-transformations | 0ab408af3275b520cc87a473f418c4b4dfcb0284 | [
"MIT"
] | 8 | 2021-01-19T21:15:54.000Z | 2022-02-23T19:16:25.000Z | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/augmentedAssignment/data/in_1_basic_numeric.py | JetBrains-Research/ast-transformations | 0ab408af3275b520cc87a473f418c4b4dfcb0284 | [
"MIT"
] | 4 | 2020-11-17T14:28:25.000Z | 2022-02-24T07:54:28.000Z | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/augmentedAssignment/data/in_1_basic_numeric.py | nbirillo/ast-transformations | 717706765a2da29087a0de768fc851698886dd65 | [
"MIT"
] | 1 | 2022-02-23T19:16:30.000Z | 2022-02-23T19:16:30.000Z | a = 0
a *= 1 + 3
a += 2
a += a + 20 + 2
| 8 | 15 | 0.3 | 11 | 40 | 1.090909 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 0.45 | 40 | 4 | 16 | 10 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2237e54c0f268327f16e287c608be87f5b1a7ee4 | 26,060 | py | Python | semanticmapping/networks/pathintegration.py | nsdumont/SemanticMapping | af97a452b3de30a9670536c7fa92c28a70fae44d | [
"MIT"
] | null | null | null | semanticmapping/networks/pathintegration.py | nsdumont/SemanticMapping | af97a452b3de30a9670536c7fa92c28a70fae44d | [
"MIT"
] | null | null | null | semanticmapping/networks/pathintegration.py | nsdumont/SemanticMapping | af97a452b3de30a9670536c7fa92c28a70fae44d | [
"MIT"
] | null | null | null | import nengo
import numpy as np
class PathIntegration(nengo.network.Network):
def __init__(self, ssp_space, recurrent_tau, n_neurons,
scaling_factor=1, stable=True, **kwargs):
super().__init__(**kwargs)
if stable==True:
def feedback(x):
w = (x[... | 47.039711 | 152 | 0.492556 | 3,911 | 26,060 | 3.145487 | 0.052672 | 0.010893 | 0.060803 | 0.092993 | 0.866444 | 0.835311 | 0.810356 | 0.778247 | 0.749634 | 0.720208 | 0 | 0.06417 | 0.34221 | 26,060 | 554 | 153 | 47.039711 | 0.653483 | 0.111934 | 0 | 0.610577 | 0 | 0 | 0.007232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060096 | false | 0 | 0.004808 | 0 | 0.115385 | 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 |
2275a2afca66a00492fe83e00f2b61dc947ad356 | 290 | py | Python | graphene_chain_mutation/__init__.py | shinhermit/graphene-chain-mutation | b4e6e089a04c49bf9b016643ef8f57d48cac9b1a | [
"MIT"
] | 2 | 2021-02-12T18:46:51.000Z | 2021-06-22T19:18:01.000Z | graphene_chain_mutation/__init__.py | shinhermit/graphene-chain-mutation | b4e6e089a04c49bf9b016643ef8f57d48cac9b1a | [
"MIT"
] | null | null | null | graphene_chain_mutation/__init__.py | shinhermit/graphene-chain-mutation | b4e6e089a04c49bf9b016643ef8f57d48cac9b1a | [
"MIT"
] | null | null | null | from .mutations import (
ShareResultMiddleware
,ShareResult
,EdgeMutationBase
,ParentChildEdgeMutation
,SiblingEdgeMutation
)
__all__ = [
"ShareResultMiddleware"
,"ShareResult"
,"EdgeMutationBase"
,"ParentChildEdgeMutation"
,"SiblingEdgeMutation"
]
| 18.125 | 30 | 0.710345 | 14 | 290 | 14.428571 | 0.642857 | 0.316832 | 0.475248 | 0.70297 | 0.891089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 290 | 15 | 31 | 19.333333 | 0.878261 | 0 | 0 | 0 | 0 | 0 | 0.310345 | 0.151724 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
227d190426a4bec65516d1bc264c25d61bf3b4ed | 160 | py | Python | blog/views.py | junio-firmino/Django_portifolio | 31a547908a0c74e3e50dfdc9d32f05db164b0b3b | [
"MIT"
] | null | null | null | blog/views.py | junio-firmino/Django_portifolio | 31a547908a0c74e3e50dfdc9d32f05db164b0b3b | [
"MIT"
] | null | null | null | blog/views.py | junio-firmino/Django_portifolio | 31a547908a0c74e3e50dfdc9d32f05db164b0b3b | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
def metodo_views_blog(request):
return render(request,'blog_tmpl/blog.html')
| 26.666667 | 49 | 0.7875 | 22 | 160 | 5.590909 | 0.681818 | 0.162602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 160 | 5 | 50 | 32 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0.122581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
97ed47d3e266e33cef1d53e123c10805dffe5ac8 | 8,322 | py | Python | tests/test_rtc_data_models_cesiones_periodo.py | fyntex/lib-cl-sii-python | b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34 | [
"MIT"
] | 8 | 2020-03-07T19:58:40.000Z | 2021-12-15T13:47:40.000Z | tests/test_rtc_data_models_cesiones_periodo.py | fyntex/lib-cl-sii-python | b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34 | [
"MIT"
] | 141 | 2020-01-17T22:47:35.000Z | 2022-03-31T18:29:47.000Z | tests/test_rtc_data_models_cesiones_periodo.py | fyntex/lib-cl-sii-python | b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34 | [
"MIT"
] | 3 | 2020-03-07T20:30:02.000Z | 2021-03-22T03:14:26.000Z | from __future__ import annotations
import unittest
from datetime import date, datetime
import cl_sii.dte.data_models
from cl_sii.base.constants import SII_OFFICIAL_TZ
from cl_sii.dte.constants import TipoDteEnum
from cl_sii.libs import tz_utils
from cl_sii.libs.tz_utils import convert_naive_dt_to_tz_aware
from cl_sii... | 42.676923 | 96 | 0.658375 | 1,057 | 8,322 | 4.829707 | 0.130558 | 0.073457 | 0.052889 | 0.056415 | 0.859549 | 0.82762 | 0.784917 | 0.77571 | 0.7524 | 0.718315 | 0 | 0.059882 | 0.245494 | 8,322 | 194 | 97 | 42.896907 | 0.753145 | 0 | 0 | 0.649425 | 0 | 0 | 0.074501 | 0.015501 | 0 | 0 | 0 | 0 | 0.183908 | 1 | 0.057471 | false | 0 | 0.063218 | 0 | 0.126437 | 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 |
3f46e6ef30526ce05053fa18a77d2de8cf4280e4 | 8,084 | py | Python | hwam/migrations/0001_initial.py | dekoder/LogESP | fa45523b4ad96004583cbf722645afc3f63c9a6d | [
"MIT"
] | 130 | 2018-04-18T08:51:41.000Z | 2022-03-24T18:15:01.000Z | hwam/migrations/0001_initial.py | Seabreg/LogESP | fa45523b4ad96004583cbf722645afc3f63c9a6d | [
"MIT"
] | 14 | 2018-04-02T19:59:25.000Z | 2021-06-10T17:30:18.000Z | hwam/migrations/0001_initial.py | Seabreg/LogESP | fa45523b4ad96004583cbf722645afc3f63c9a6d | [
"MIT"
] | 55 | 2018-04-18T08:51:50.000Z | 2022-03-05T02:55:17.000Z | # Generated by Django 2.0.1 on 2018-02-06 07:56
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUT... | 60.781955 | 190 | 0.625433 | 887 | 8,084 | 5.526494 | 0.144307 | 0.05508 | 0.045696 | 0.071807 | 0.783762 | 0.774378 | 0.727662 | 0.727662 | 0.708078 | 0.662179 | 0 | 0.013615 | 0.227734 | 8,084 | 132 | 191 | 61.242424 | 0.771584 | 0.005567 | 0 | 0.6 | 1 | 0 | 0.149683 | 0.016424 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032 | 0 | 0.064 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f70f39990109a0a6094fda296e67d32aa787af0 | 9,454 | py | Python | graddog/functions.py | git-fetch-git-roll-over/cs107-FinalProject | 9de8b5c6ebd0e3be229c1623e315939ed4fc8430 | [
"MIT"
] | 2 | 2020-12-12T04:47:40.000Z | 2020-12-12T04:48:54.000Z | graddog/functions.py | Seeam2590/GradDog | 9de8b5c6ebd0e3be229c1623e315939ed4fc8430 | [
"MIT"
] | 5 | 2020-12-10T00:45:20.000Z | 2020-12-11T17:23:27.000Z | graddog/functions.py | git-fetch-git-roll-over/cs107-FinalProject | 9de8b5c6ebd0e3be229c1623e315939ed4fc8430 | [
"MIT"
] | 4 | 2020-12-11T03:33:22.000Z | 2021-10-03T19:02:51.000Z | # :)
import numpy as np
import graddog.math as math
from graddog.trace import Trace, one_parent
import numbers
from collections.abc import Iterable
'''
Any implementable unary (one_parent) or binary (two_parent) operations can be added here
'''
def sin(t):
'''
This allows to create sin().
Parameters:
... | 32.156463 | 88 | 0.59213 | 1,263 | 9,454 | 4.375297 | 0.081552 | 0.077633 | 0.024611 | 0.05646 | 0.883641 | 0.841477 | 0.820666 | 0.820666 | 0.797322 | 0.719146 | 0 | 0.001221 | 0.306748 | 9,454 | 293 | 89 | 32.266212 | 0.841929 | 0.258198 | 0 | 0.623596 | 0 | 0 | 0.094458 | 0.007502 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073034 | false | 0 | 0.02809 | 0 | 0.320225 | 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 |
58ac0a9ed476ae71415322eae408b1ef2705663f | 310 | py | Python | units/luminous_energy/lumen_hour.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | units/luminous_energy/lumen_hour.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | units/luminous_energy/lumen_hour.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | # <auto-generated>
# This code was generated by the UnitCodeGenerator tool
#
# Changes to this file will be lost if the code is regenerated
# </auto-generated>
def to_talbot(value):
return value * 3600.0
def to_lumen_minute(value):
return value * 60.0
def to_lumen_second(value):
return value * 3600.0
| 22.142857 | 62 | 0.741935 | 50 | 310 | 4.5 | 0.56 | 0.066667 | 0.213333 | 0.177778 | 0.186667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050584 | 0.170968 | 310 | 13 | 63 | 23.846154 | 0.824903 | 0.480645 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
58af277b0a41925f8c68a492d36866a1a0c85a50 | 34,402 | py | Python | tests/mutate/test_update_upsert.py | yixinglu/nebula-graph | faf9cd44d818b953da98b5c922999560c89867bd | [
"Apache-2.0"
] | 1 | 2021-08-23T05:55:55.000Z | 2021-08-23T05:55:55.000Z | tests/mutate/test_update_upsert.py | yixinglu/nebula-graph | faf9cd44d818b953da98b5c922999560c89867bd | [
"Apache-2.0"
] | null | null | null | tests/mutate/test_update_upsert.py | yixinglu/nebula-graph | faf9cd44d818b953da98b5c922999560c89867bd | [
"Apache-2.0"
] | null | null | null | # --coding:utf-8--
#
# Copyright (c) 2020 vesoft inc. All rights reserved.
#
# This source code is licensed under Apache 2.0 License,
# attached with Common Clause Condition 1.0, found in the LICENSES directory.
import time
from tests.common.nebula_test_suite import NebulaTestSuite
class TestUpdateVertex(NebulaTestS... | 52.203338 | 127 | 0.538893 | 3,830 | 34,402 | 4.714621 | 0.063969 | 0.068782 | 0.071994 | 0.091377 | 0.858116 | 0.842 | 0.824556 | 0.792047 | 0.758099 | 0.711026 | 0 | 0.051006 | 0.340067 | 34,402 | 658 | 128 | 52.282675 | 0.744351 | 0.410819 | 0 | 0.583942 | 0 | 0.010949 | 0.379252 | 0.02576 | 0 | 0 | 0 | 0.00152 | 0 | 1 | 0.040146 | false | 0 | 0.007299 | 0 | 0.051095 | 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 |
451c0aebf76fea0682495abed43e747829862162 | 43 | py | Python | GodwillOnyewuchi/Phase 1/Python Basic 2/Day 6 task/task 4.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | GodwillOnyewuchi/Phase 1/Python Basic 2/Day 6 task/task 4.py | GREENFONTS/python-challenge-solutions | a9aad85a250892fe41961a7d5e77f67b8d14fc1b | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | GodwillOnyewuchi/Phase 1/Python Basic 2/Day 6 task/task 4.py | GREENFONTS/python-challenge-solutions | a9aad85a250892fe41961a7d5e77f67b8d14fc1b | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | import site;
print(site.getsitepackages()) | 14.333333 | 29 | 0.790698 | 5 | 43 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 3 | 29 | 14.333333 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
452e948fa397ce793dad2a832f2ac6efd23f91d4 | 48 | py | Python | mxnetseg/models/canet/__init__.py | BebDong/MXNetSeg | 58bf1f27d827f1b34f8ddeead3f9714ee2289a4a | [
"Apache-2.0"
] | 26 | 2020-06-14T10:13:52.000Z | 2022-03-15T10:38:44.000Z | mxnetseg/models/canet/__init__.py | BebDong/MXNetSeg | 58bf1f27d827f1b34f8ddeead3f9714ee2289a4a | [
"Apache-2.0"
] | 1 | 2021-05-08T09:10:43.000Z | 2021-05-09T11:49:01.000Z | mxnetseg/models/canet/__init__.py | BebDong/MXNetSeg | 58bf1f27d827f1b34f8ddeead3f9714ee2289a4a | [
"Apache-2.0"
] | 4 | 2020-06-14T10:13:55.000Z | 2021-09-21T00:54:29.000Z | # coding=utf-8
from .canetv1 import CANetv1
| 12 | 29 | 0.708333 | 7 | 48 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.208333 | 48 | 3 | 30 | 16 | 0.815789 | 0.25 | 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 |
18a94630719aad8f2dfe42a75925a3b2a046917a | 82 | py | Python | docs/api_tutorial/example/b.py | EvanKepner/m | 45606314e597516c4b26b51e27daeb02e503c292 | [
"MIT"
] | 49 | 2019-01-06T15:57:03.000Z | 2022-03-23T18:25:02.000Z | docs/api_tutorial/example/b.py | EvanKepner/m | 45606314e597516c4b26b51e27daeb02e503c292 | [
"MIT"
] | 31 | 2019-01-18T11:54:13.000Z | 2022-02-20T19:18:45.000Z | docs/api_tutorial/example/b.py | EvanKepner/m | 45606314e597516c4b26b51e27daeb02e503c292 | [
"MIT"
] | 10 | 2019-05-09T00:20:48.000Z | 2021-02-15T14:55:17.000Z | """Example B.
"""
def is_match(a, b):
return a is b
print(is_match(1, 1))
| 8.2 | 21 | 0.560976 | 16 | 82 | 2.75 | 0.5625 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.243902 | 82 | 9 | 22 | 9.111111 | 0.677419 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e173e731e6957c20de0a2859ed346f4f7efcc141 | 2,321 | py | Python | 8.Largest product in a series.py | iFun/Project-Euler | a39dfe1b731d4eeb91f44201f335f1c638bcf38b | [
"MIT"
] | null | null | null | 8.Largest product in a series.py | iFun/Project-Euler | a39dfe1b731d4eeb91f44201f335f1c638bcf38b | [
"MIT"
] | null | null | null | 8.Largest product in a series.py | iFun/Project-Euler | a39dfe1b731d4eeb91f44201f335f1c638bcf38b | [
"MIT"
] | null | null | null | numbers = [7,3,1,6,7,1,7,6,5,3,1,3,3,0,6,2,4,9,1,9,2,2,5,1,1,9,6,7,4,4,2,6,5,7,4,7,4,2,3,5,5,3,4,9,1,9,4,9,3,4,9,6,9,8,3,5,2,0,3,1,2,7,7,4,5,0,6,3,2,6,2,3,9,5,7,8,3,1,8,0,1,6,9,8,4,8,0,1,8,6,9,4,7,8,8,5,1,8,4,3,8,5,8,6,1,5,6,0,7,8,9,1,1,2,9,4,9,4,9,5,4,5,9,5,0,1,7,3,7,9,5,8,3,3,1,9,5,2,8,5,3,2,0,8,8,0,5,5,1,1,1,2,5,4,0... | 110.52381 | 2,012 | 0.509263 | 1,043 | 2,321 | 1.125599 | 0.027804 | 0.028961 | 0.012777 | 0.006814 | 0.025554 | 0 | 0 | 0 | 0 | 0 | 0 | 0.451975 | 0.040069 | 2,321 | 21 | 2,013 | 110.52381 | 0.074955 | 0 | 0 | 0 | 0 | 0 | 0.003445 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.076923 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e17af6a17e1bd56e90e5e60464bb4060f4b288fb | 145 | py | Python | chariot/transformer/token/__init__.py | ymym3412/chariot | ed0bdae23d7976f4df0f848204902693890c829d | [
"Apache-2.0"
] | null | null | null | chariot/transformer/token/__init__.py | ymym3412/chariot | ed0bdae23d7976f4df0f848204902693890c829d | [
"Apache-2.0"
] | null | null | null | chariot/transformer/token/__init__.py | ymym3412/chariot | ed0bdae23d7976f4df0f848204902693890c829d | [
"Apache-2.0"
] | null | null | null | from .stopword_filter import StopwordFilter
from .base_form_normalizer import BaseFormNormalizer
from .number_normalizer import NumberNormalizer
| 36.25 | 52 | 0.896552 | 16 | 145 | 7.875 | 0.6875 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082759 | 145 | 3 | 53 | 48.333333 | 0.947368 | 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 |
e1a1fe2bfc12dcb9ee34a3c03ebf9a97b488c8f3 | 40 | py | Python | py_learning/python_demo/04/test1.py | flylei009/python_learning | 9d55a296dc56d6f2295d53f2c4be55724cc8fea3 | [
"MIT"
] | 1 | 2020-09-20T04:02:38.000Z | 2020-09-20T04:02:38.000Z | py_learning/python_demo/04/test1.py | flylei009/python_learning | 9d55a296dc56d6f2295d53f2c4be55724cc8fea3 | [
"MIT"
] | null | null | null | py_learning/python_demo/04/test1.py | flylei009/python_learning | 9d55a296dc56d6f2295d53f2c4be55724cc8fea3 | [
"MIT"
] | null | null | null | # 输出一行文字
print('hello time.geerbang!')
| 10 | 29 | 0.7 | 5 | 40 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 3 | 30 | 13.333333 | 0.8 | 0.15 | 0 | 0 | 0 | 0 | 0.645161 | 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 |
becf3b253b9e7dc75bac40ca7bbcb2ee39aa4948 | 157 | py | Python | client_side/main.py | HomiGrotas/pricesChecker | 668b6a3559865483aaf5d319d66b8b86bb5e1a95 | [
"MIT"
] | 1 | 2020-10-06T09:11:17.000Z | 2020-10-06T09:11:17.000Z | client_side/main.py | HomiGrotas/pricesChecker | 668b6a3559865483aaf5d319d66b8b86bb5e1a95 | [
"MIT"
] | null | null | null | client_side/main.py | HomiGrotas/pricesChecker | 668b6a3559865483aaf5d319d66b8b86bb5e1a95 | [
"MIT"
] | null | null | null | from gui import open_main_win
import server_connection
# ToDo: handle network exceptions
# ToDO: raise error by tkinter message box
open_main_win()
| 19.625 | 43 | 0.77707 | 23 | 157 | 5.086957 | 0.782609 | 0.136752 | 0.188034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184713 | 157 | 7 | 44 | 22.428571 | 0.914063 | 0.458599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
befe44a6e480e98c1494d97b797d4e7701646b76 | 47 | py | Python | qsum/data/__init__.py | QCoding/qsum | d58ed3983c66d882f81be96413b470dc4eeece25 | [
"MIT"
] | 1 | 2019-09-01T04:41:48.000Z | 2019-09-01T04:41:48.000Z | qsum/data/__init__.py | QCoding/qsum | d58ed3983c66d882f81be96413b470dc4eeece25 | [
"MIT"
] | 83 | 2019-09-01T04:32:31.000Z | 2021-06-25T15:25:30.000Z | qsum/data/__init__.py | QCoding/qsum | d58ed3983c66d882f81be96413b470dc4eeece25 | [
"MIT"
] | 1 | 2021-02-16T17:41:26.000Z | 2021-02-16T17:41:26.000Z | from qsum.data.data_logic import data_checksum
| 23.5 | 46 | 0.87234 | 8 | 47 | 4.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.906977 | 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 |
833c6522621bc19a97b16258e2cc1fe909f31cd8 | 155 | py | Python | scripts/test.py | raphabraccialli/fes_channel_classifier | 2e3e5627d171450eec0d91cf2615cb2ecde1beb2 | [
"Apache-2.0"
] | 1 | 2017-12-01T22:10:04.000Z | 2017-12-01T22:10:04.000Z | scripts/test.py | raphabraccialli/fes_channel_classifier | 2e3e5627d171450eec0d91cf2615cb2ecde1beb2 | [
"Apache-2.0"
] | null | null | null | scripts/test.py | raphabraccialli/fes_channel_classifier | 2e3e5627d171450eec0d91cf2615cb2ecde1beb2 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from ema.utils import test_imu
from ema.utils import test_stimulator
#test_imu.run()
test_stimulator.run()
| 17.222222 | 37 | 0.729032 | 25 | 155 | 4.36 | 0.6 | 0.12844 | 0.220183 | 0.330275 | 0.40367 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.122581 | 155 | 8 | 38 | 19.375 | 0.794118 | 0.36129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
55dd87dc179cc860707b46825b00ce812b264ec0 | 5,136 | py | Python | tests/registries/legacy-1/test_legacy1_id_detection.py | doug-fish/kopf | 0b1b662d9cf13061220bc902957978dc88b49fb4 | [
"MIT"
] | null | null | null | tests/registries/legacy-1/test_legacy1_id_detection.py | doug-fish/kopf | 0b1b662d9cf13061220bc902957978dc88b49fb4 | [
"MIT"
] | null | null | null | tests/registries/legacy-1/test_legacy1_id_detection.py | doug-fish/kopf | 0b1b662d9cf13061220bc902957978dc88b49fb4 | [
"MIT"
] | null | null | null | import functools
import pytest
from kopf import SimpleRegistry
from kopf.reactor.registries import get_callable_id
# Used in the tests. Must be global-scoped, or its qualname will be affected.
def some_fn():
pass
@pytest.fixture(params=[
'some-field.sub-field',
['some-field', 'sub-field'],
('some-... | 31.509202 | 95 | 0.711838 | 731 | 5,136 | 4.753762 | 0.131327 | 0.026475 | 0.044892 | 0.069065 | 0.844604 | 0.825899 | 0.785612 | 0.772374 | 0.757698 | 0.757698 | 0 | 0.005344 | 0.161994 | 5,136 | 162 | 96 | 31.703704 | 0.802045 | 0.014603 | 0 | 0.590909 | 0 | 0 | 0.230678 | 0.103182 | 0 | 0 | 0 | 0 | 0.236364 | 1 | 0.145455 | false | 0.036364 | 0.036364 | 0.009091 | 0.190909 | 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 |
36101e201e3de91d7ed93b54acf96fde197140c4 | 6,739 | py | Python | test/transaction/test_genesis.py | Xing-Huang/libra-client | bf74bc66b98a279476d751b637b1f84da84a51fe | [
"MIT"
] | null | null | null | test/transaction/test_genesis.py | Xing-Huang/libra-client | bf74bc66b98a279476d751b637b1f84da84a51fe | [
"MIT"
] | null | null | null | test/transaction/test_genesis.py | Xing-Huang/libra-client | bf74bc66b98a279476d751b637b1f84da84a51fe | [
"MIT"
] | null | null | null | import libra
from libra.contract_event import ContractEvent
from libra.json_print import json_dumps
import pytest
import os
#import pdb
try:
os.environ['TESTNET_LOCAL']
TESTNET_LOCAL = True
except KeyError:
TESTNET_LOCAL = False
def test_genesis():
c = libra.Client("testnet")
tx... | 54.346774 | 163 | 0.777563 | 440 | 6,739 | 11.725 | 0.35 | 0.018608 | 0.02171 | 0.013956 | 0.297926 | 0.281062 | 0.24307 | 0.166699 | 0.10157 | 0 | 0 | 0.469178 | 0.133403 | 6,739 | 124 | 164 | 54.346774 | 0.414212 | 0.004748 | 0 | 0.293103 | 0 | 0 | 0.679477 | 0.553091 | 0 | 1 | 0 | 0 | 0.258621 | 1 | 0.025862 | false | 0 | 0.043103 | 0 | 0.077586 | 0.008621 | 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 |
36550e118c8b6353911c760a0958e3da96cbb5cd | 198 | py | Python | safe_transaction_service/utils/ethereum.py | byteflyfunny/safe-transaction-service | 2a1a855d9881181a57692057aeb91c9fd8ae3de5 | [
"MIT"
] | 67 | 2019-08-16T16:26:42.000Z | 2022-03-21T20:32:43.000Z | safe_transaction_service/utils/ethereum.py | byteflyfunny/safe-transaction-service | 2a1a855d9881181a57692057aeb91c9fd8ae3de5 | [
"MIT"
] | 550 | 2019-07-11T12:09:06.000Z | 2022-03-31T16:32:00.000Z | safe_transaction_service/utils/ethereum.py | byteflyfunny/safe-transaction-service | 2a1a855d9881181a57692057aeb91c9fd8ae3de5 | [
"MIT"
] | 83 | 2019-12-06T11:22:32.000Z | 2022-03-30T10:09:22.000Z | from functools import cache
from gnosis.eth import EthereumClientProvider, EthereumNetwork
@cache
def get_ethereum_network() -> EthereumNetwork:
return EthereumClientProvider().get_network()
| 22 | 62 | 0.818182 | 20 | 198 | 7.95 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116162 | 198 | 8 | 63 | 24.75 | 0.908571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
365fc8ed3269e295e598ab0361b4e5e276fd4b55 | 63 | py | Python | dsfp/tests/__init__.py | phaeta/dsfp | 572b398a1bad9bfc3ea36ff2c26d715fa1191bf7 | [
"MIT"
] | null | null | null | dsfp/tests/__init__.py | phaeta/dsfp | 572b398a1bad9bfc3ea36ff2c26d715fa1191bf7 | [
"MIT"
] | null | null | null | dsfp/tests/__init__.py | phaeta/dsfp | 572b398a1bad9bfc3ea36ff2c26d715fa1191bf7 | [
"MIT"
] | null | null | null | from .reader import *
from .tools import *
from .utils import * | 21 | 21 | 0.730159 | 9 | 63 | 5.111111 | 0.555556 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 3 | 22 | 21 | 0.884615 | 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 |
369ad371ca79f56b84a376ab3b89852ddbc61f53 | 12,420 | py | Python | tests/dhcpv6/ddns/test_ddns_lease_del.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 22 | 2015-02-27T11:51:05.000Z | 2022-02-28T12:39:29.000Z | tests/dhcpv6/ddns/test_ddns_lease_del.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 16 | 2018-10-30T15:00:12.000Z | 2019-01-11T17:55:13.000Z | tests/dhcpv6/ddns/test_ddns_lease_del.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 11 | 2015-02-27T11:51:36.000Z | 2021-03-30T08:33:54.000Z | """DDNS without TSIG"""
# pylint: disable=invalid-name,line-too-long
import pytest
import misc
import srv_control
import srv_msg
from forge_cfg import world
def _delete_lease(extra_param=None, exp_result=0):
cmd = dict(command="lease6-del", arguments={})
if isinstance(extra_param, dict):
cmd["argum... | 47.586207 | 114 | 0.633092 | 1,982 | 12,420 | 3.729062 | 0.10444 | 0.056555 | 0.068191 | 0.077933 | 0.877283 | 0.849817 | 0.832228 | 0.800433 | 0.782032 | 0.767826 | 0 | 0.073789 | 0.195813 | 12,420 | 260 | 115 | 47.769231 | 0.666199 | 0.065539 | 0 | 0.7 | 0 | 0.078947 | 0.311146 | 0.173617 | 0 | 0 | 0 | 0 | 0.015789 | 1 | 0.042105 | false | 0.031579 | 0.026316 | 0 | 0.078947 | 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 |
36cbccbb9c1392e50cb236230e9157d9b3dae75f | 100 | py | Python | tests/common_mock.py | superzackx/PyTapable | 1ddfce251045a1b73d8efb6b0139046c5536ccc6 | [
"Apache-2.0"
] | 4 | 2020-06-02T23:19:54.000Z | 2020-11-11T16:09:05.000Z | tests/common_mock.py | superzackx/PyTapable | 1ddfce251045a1b73d8efb6b0139046c5536ccc6 | [
"Apache-2.0"
] | 15 | 2020-06-06T06:28:50.000Z | 2020-06-21T22:46:26.000Z | tests/common_mock.py | superzackx/PyTapable | 1ddfce251045a1b73d8efb6b0139046c5536ccc6 | [
"Apache-2.0"
] | 1 | 2022-02-22T02:41:34.000Z | 2022-02-22T02:41:34.000Z | import sys
if sys.version_info[0] < 3:
from mock import *
else:
from unittest.mock import *
| 16.666667 | 31 | 0.68 | 16 | 100 | 4.1875 | 0.6875 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.23 | 100 | 5 | 32 | 20 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
36f1755a97137da58993a69697c7c122b4d91cb3 | 528 | py | Python | dexbot/styles.py | bitProfessor/DEXBot | 5d692fbf1acffeec46a82a12474b8a123e4c6370 | [
"MIT"
] | 1 | 2019-11-10T06:53:35.000Z | 2019-11-10T06:53:35.000Z | dexbot/styles.py | g3d/DEXBot | a2b1462d78d7154cb10871a7cec9a44c8d6664de | [
"MIT"
] | null | null | null | dexbot/styles.py | g3d/DEXBot | a2b1462d78d7154cb10871a7cec9a44c8d6664de | [
"MIT"
] | 2 | 2021-02-13T10:58:33.000Z | 2022-03-04T14:01:58.000Z | """ This is helper file to print out strings in different colours
"""
def style(value, styling):
return styling + value + '\033[0m'
def green(value):
return style(value, '\033[92m')
def blue(value):
return style(value, '\033[94m')
def yellow(value):
return style(value, '\033[93m')
def red(valu... | 15.085714 | 65 | 0.638258 | 76 | 528 | 4.434211 | 0.421053 | 0.237389 | 0.332344 | 0.436202 | 0.498516 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08747 | 0.198864 | 528 | 34 | 66 | 15.529412 | 0.70922 | 0.11553 | 0 | 0 | 0 | 0 | 0.132898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7fc6435edcbdee4b7eae773c81d4272fac28ea64 | 3,010 | py | Python | ivy/functional/backends/tensorflow/statistical.py | Aarsh2001/ivy | 827164d7d31bd08c5287bbd1ac9ccce588b733bc | [
"Apache-2.0"
] | null | null | null | ivy/functional/backends/tensorflow/statistical.py | Aarsh2001/ivy | 827164d7d31bd08c5287bbd1ac9ccce588b733bc | [
"Apache-2.0"
] | null | null | null | ivy/functional/backends/tensorflow/statistical.py | Aarsh2001/ivy | 827164d7d31bd08c5287bbd1ac9ccce588b733bc | [
"Apache-2.0"
] | null | null | null | # global
_round = round
import tensorflow as tf
from typing import Tuple, Union, Optional
# local
import ivy
# Array API Standard #
# -------------------#
def max(
x: Union[tf.Tensor, tf.Variable],
axis: Union[int, Tuple[int]] = None,
keepdims: bool = False,
) -> Union[tf.Tensor, tf.Variable]:
retu... | 27.363636 | 76 | 0.615282 | 417 | 3,010 | 4.414868 | 0.16307 | 0.060837 | 0.112982 | 0.130364 | 0.816404 | 0.767518 | 0.72189 | 0.705052 | 0.705052 | 0.705052 | 0 | 0.020725 | 0.230565 | 3,010 | 109 | 77 | 27.614679 | 0.77418 | 0.021927 | 0 | 0.670732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.036585 | 0.060976 | 0.231707 | 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 |
7fcaac9c43cdbaf5d3d083c7d5df662a052eadbf | 165 | py | Python | flambe/learn/__init__.py | iconix/flambe | 939e28853ece75094ae9335e3d10e3821235a97a | [
"MIT"
] | null | null | null | flambe/learn/__init__.py | iconix/flambe | 939e28853ece75094ae9335e3d10e3821235a97a | [
"MIT"
] | null | null | null | flambe/learn/__init__.py | iconix/flambe | 939e28853ece75094ae9335e3d10e3821235a97a | [
"MIT"
] | null | null | null | from flambe.learn.train import Trainer
from flambe.learn.eval import Evaluator
from flambe.learn.script import Script
__all__ = ['Trainer', 'Evaluator', 'Script']
| 23.571429 | 44 | 0.781818 | 22 | 165 | 5.681818 | 0.454545 | 0.24 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115152 | 165 | 6 | 45 | 27.5 | 0.856164 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7fe98bcadb69af12ac3b5f52220f73fa41610729 | 27 | py | Python | db_s3_backup/__init__.py | saurabhariyan/db-s3-backup | 5b67737f43814f0841d47033c92825206a24e1a1 | [
"MIT"
] | 9 | 2015-08-04T00:54:46.000Z | 2021-08-29T04:21:13.000Z | db_s3_backup/__init__.py | saurabhariyan/db-s3-backup | 5b67737f43814f0841d47033c92825206a24e1a1 | [
"MIT"
] | 7 | 2015-05-28T15:57:15.000Z | 2017-01-25T11:29:28.000Z | db_s3_backup/__init__.py | saurabhariyan/db-s3-backup | 5b67737f43814f0841d47033c92825206a24e1a1 | [
"MIT"
] | 9 | 2015-05-28T13:09:25.000Z | 2021-02-12T04:57:04.000Z | from . import db_interface
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e9f451cf6ce453c8dff530270ef7aa2b15fd941b | 37 | py | Python | elliot/recommender/custom/__init__.py | danielemalitesta/vacs | 07df23fd0eff7d7870debd6a304347539a10dbc1 | [
"Apache-2.0"
] | null | null | null | elliot/recommender/custom/__init__.py | danielemalitesta/vacs | 07df23fd0eff7d7870debd6a304347539a10dbc1 | [
"Apache-2.0"
] | null | null | null | elliot/recommender/custom/__init__.py | danielemalitesta/vacs | 07df23fd0eff7d7870debd6a304347539a10dbc1 | [
"Apache-2.0"
] | null | null | null | from .FashionExpl import FashionExpl
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1832a8530588c34e746f3455501cb1a30a5a0e57 | 29 | py | Python | RequestBased/bot_modules/__init__.py | megamuskeln/BotBeater | b3e915b7a8ca2cb72ab54a15fef237221603a238 | [
"MIT"
] | null | null | null | RequestBased/bot_modules/__init__.py | megamuskeln/BotBeater | b3e915b7a8ca2cb72ab54a15fef237221603a238 | [
"MIT"
] | null | null | null | RequestBased/bot_modules/__init__.py | megamuskeln/BotBeater | b3e915b7a8ca2cb72ab54a15fef237221603a238 | [
"MIT"
] | null | null | null | from .tasks import startSite
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
43f55a76791341ada5559c7f6cb91eb81edd2e62 | 4,637 | py | Python | src/lib/models.py | nekoffski/bachelor-thesis | 23f350e2c5e0a184620bf66f851be6e94df7cdbb | [
"MIT"
] | 2 | 2021-08-09T09:00:34.000Z | 2021-08-20T09:31:00.000Z | src/lib/models.py | nekoffski/bachelor-thesis | 23f350e2c5e0a184620bf66f851be6e94df7cdbb | [
"MIT"
] | null | null | null | src/lib/models.py | nekoffski/bachelor-thesis | 23f350e2c5e0a184620bf66f851be6e94df7cdbb | [
"MIT"
] | null | null | null | import tensorflow as tf
import numpy as np
from tensorflow.keras import datasets, layers, models
from src.lib import net
LOSS_FUNCTION = tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True)
def net0(out_size):
model = models.Sequential()
model.add(layers.Conv2D(64, (3, 3), activation='relu',
... | 31.760274 | 79 | 0.642873 | 631 | 4,637 | 4.651347 | 0.134707 | 0.155366 | 0.271891 | 0.142419 | 0.764225 | 0.746508 | 0.735264 | 0.735264 | 0.735264 | 0.734583 | 0 | 0.063116 | 0.190209 | 4,637 | 145 | 80 | 31.97931 | 0.718509 | 0 | 0 | 0.615385 | 0 | 0 | 0.040543 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102564 | false | 0 | 0.034188 | 0 | 0.239316 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1243cd40ad8bd565058cd5598f279c47696558c | 51 | py | Python | courses/app.py | harlericho/python_courses | 298ab10b1bef2b2d8178e40dd65b5d9bfddcb5c3 | [
"MIT"
] | 1 | 2021-12-24T16:05:25.000Z | 2021-12-24T16:05:25.000Z | courses/app.py | harlericho/python_courses | 298ab10b1bef2b2d8178e40dd65b5d9bfddcb5c3 | [
"MIT"
] | null | null | null | courses/app.py | harlericho/python_courses | 298ab10b1bef2b2d8178e40dd65b5d9bfddcb5c3 | [
"MIT"
] | null | null | null | # Eso es un print hello world
print('hello world!') | 25.5 | 29 | 0.72549 | 9 | 51 | 4.111111 | 0.666667 | 0.540541 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 30 | 25.5 | 0.860465 | 0.529412 | 0 | 0 | 0 | 0 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a1315279f7a353e7485a9482a12adabfcacb3598 | 2,909 | py | Python | tests/test_polyflow/test_ops.py | orf/polyaxon-schemas | dce55df25ae752fc3fbf465ea53add126746d630 | [
"MIT"
] | null | null | null | tests/test_polyflow/test_ops.py | orf/polyaxon-schemas | dce55df25ae752fc3fbf465ea53add126746d630 | [
"MIT"
] | null | null | null | tests/test_polyflow/test_ops.py | orf/polyaxon-schemas | dce55df25ae752fc3fbf465ea53add126746d630 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
from unittest import TestCase
from marshmallow import ValidationError
from polyaxon_schemas.polyflow.ops import OpConfig
class TestOpConfigs(TestCase):
def test_op_raises_for_template_action_event(self):
config_dic... | 36.3625 | 76 | 0.598831 | 301 | 2,909 | 5.531561 | 0.186047 | 0.198198 | 0.252252 | 0.171772 | 0.798198 | 0.78979 | 0.752553 | 0.752553 | 0.685886 | 0.649249 | 0 | 0.004604 | 0.253352 | 2,909 | 79 | 77 | 36.822785 | 0.761971 | 0.009282 | 0 | 0.590164 | 0 | 0 | 0.155262 | 0 | 0 | 0 | 0 | 0 | 0.213115 | 1 | 0.04918 | false | 0.016393 | 0.065574 | 0 | 0.131148 | 0.016393 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a136dc8692d9ec67a498b30cf1a234e64031e45b | 27 | py | Python | tests/test_bybit.py | sheungon/fx-connectors | 1eef5d6617a6a9403ddd1903ec56e826e2126832 | [
"Apache-2.0"
] | 1 | 2021-12-04T18:44:37.000Z | 2021-12-04T18:44:37.000Z | tests/test_bybit.py | sheungon/fx-connectors | 1eef5d6617a6a9403ddd1903ec56e826e2126832 | [
"Apache-2.0"
] | null | null | null | tests/test_bybit.py | sheungon/fx-connectors | 1eef5d6617a6a9403ddd1903ec56e826e2126832 | [
"Apache-2.0"
] | 1 | 2022-03-18T07:51:49.000Z | 2022-03-18T07:51:49.000Z | # TODO Unit Test for bybit
| 13.5 | 26 | 0.740741 | 5 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 27 | 1 | 27 | 27 | 0.952381 | 0.888889 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a163e95f014955c809ae28e8bbca4fc9ae749bf8 | 137 | py | Python | forsta_auth/saml/admin.py | forsta-iam/forsta-auth | 9bc8c7c1033d95404c46fa351c7b689cc546a4d4 | [
"MIT"
] | null | null | null | forsta_auth/saml/admin.py | forsta-iam/forsta-auth | 9bc8c7c1033d95404c46fa351c7b689cc546a4d4 | [
"MIT"
] | 16 | 2019-07-10T13:40:12.000Z | 2022-02-10T07:32:53.000Z | forsta_auth/saml/admin.py | forsta-iam/forsta-auth | 9bc8c7c1033d95404c46fa351c7b689cc546a4d4 | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
class IDPAdmin(admin.ModelAdmin):
pass
admin.register(models.IDP, IDPAdmin) | 15.222222 | 36 | 0.773723 | 18 | 137 | 5.888889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145985 | 137 | 9 | 36 | 15.222222 | 0.905983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 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 |
a1ae8a4a2a85ce21e524bf71fa1ae3ebde1da5a2 | 10,992 | py | Python | PythonWorkspace/Evaluation/GenerateTopology2Figures.py | marvsz/Proactive-Caching-ACDC | fd580698fad9278f45c64f5bf012f165da02be80 | [
"Apache-2.0"
] | 8 | 2018-06-25T23:44:04.000Z | 2021-12-10T14:11:50.000Z | PythonWorkspace/Evaluation/GenerateTopology2Figures.py | marvsz/Proactive-Caching-ACDC | fd580698fad9278f45c64f5bf012f165da02be80 | [
"Apache-2.0"
] | 1 | 2018-04-03T03:50:15.000Z | 2018-04-03T03:50:15.000Z | PythonWorkspace/Evaluation/GenerateTopology2Figures.py | marvsz/Proactive-Caching-ACDC | fd580698fad9278f45c64f5bf012f165da02be80 | [
"Apache-2.0"
] | 2 | 2018-12-05T21:01:53.000Z | 2020-04-17T08:49:27.000Z | import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import matplotlib
import seaborn as sns
import glob
import os
import math
import datetime as dt
from matplotlib.ticker import FuncFormatter
import matplotlib.dates as mdate
from scipy.integrate import simps
from numpy import trapz
pd.__version__
d... | 40.862454 | 415 | 0.652111 | 1,456 | 10,992 | 4.848214 | 0.124313 | 0.033149 | 0.038674 | 0.050574 | 0.811163 | 0.809038 | 0.796572 | 0.727015 | 0.727015 | 0.721207 | 0 | 0.031455 | 0.155477 | 10,992 | 269 | 416 | 40.862454 | 0.728967 | 0 | 0 | 0.691964 | 0 | 0 | 0.189575 | 0.025107 | 0.004464 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058036 | 0 | 0.058036 | 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 |
a1c0142c8520ae47ca47396120703fdd76acc64d | 12,493 | py | Python | Image/test7.py | pection/InternshipProject | 2b39cc244e7ac989795d3aba5c1a11bb6c9a57b7 | [
"Apache-2.0"
] | null | null | null | Image/test7.py | pection/InternshipProject | 2b39cc244e7ac989795d3aba5c1a11bb6c9a57b7 | [
"Apache-2.0"
] | null | null | null | Image/test7.py | pection/InternshipProject | 2b39cc244e7ac989795d3aba5c1a11bb6c9a57b7 | [
"Apache-2.0"
] | null | null | null |
import cv2
import numpy as np
input_value = 0
state = 0
x_mouse = 0
y_mouse = 0
img = cv2.imread('C:\Code_python\Image\Picture\Tiger.jpg')
img2 = cv2.imread('C:\Code_python\Image\Picture\Human.jpg')
img2_x_position = img2.shape[0]
img2_y_position = img2.shape[1]
img1_x_position = img.shape[0]
img1_y_pos... | 81.123377 | 163 | 0.682142 | 1,926 | 12,493 | 3.925234 | 0.034268 | 0.186905 | 0.135847 | 0.155556 | 0.931349 | 0.925794 | 0.922619 | 0.914153 | 0.914153 | 0.914153 | 0 | 0.042526 | 0.235812 | 12,493 | 154 | 164 | 81.123377 | 0.749345 | 0 | 0 | 0.58 | 0 | 0 | 0.03363 | 0.006159 | 0 | 0 | 0.000324 | 0 | 0 | 1 | 0.006667 | false | 0 | 0.013333 | 0 | 0.02 | 0.013333 | 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 |
a1fca73919cdf02cef207fa835d6b4e643779dba | 9,421 | gyp | Python | deps/deps.gyp | stormymcstorm/node-usvfs | 75b6a4fc8a6b146b092f680d3cd251341617babe | [
"MIT"
] | null | null | null | deps/deps.gyp | stormymcstorm/node-usvfs | 75b6a4fc8a6b146b092f680d3cd251341617babe | [
"MIT"
] | null | null | null | deps/deps.gyp | stormymcstorm/node-usvfs | 75b6a4fc8a6b146b092f680d3cd251341617babe | [
"MIT"
] | 1 | 2022-01-04T01:54:15.000Z | 2022-01-04T01:54:15.000Z | {
"variables": {
"boost_lib": "<!(node -p \"process.env.BOOST_LIB || '../../deps/boost/stage/lib'\")",
"boost_dir": "<!(node -p \"process.env.BOOST_DIR || 'boost'\")",
"conditions": [
["target_arch=='x64'", {
"arch": "x64",
}],
["target_arch=='ia32'", {
"arch": "x32",
}],
],
},
"target_... | 24.792105 | 87 | 0.606093 | 1,045 | 9,421 | 5.207656 | 0.124402 | 0.077913 | 0.050533 | 0.083793 | 0.786476 | 0.742007 | 0.710952 | 0.695333 | 0.68982 | 0.670342 | 0 | 0.034924 | 0.203694 | 9,421 | 379 | 88 | 24.85752 | 0.690483 | 0.007961 | 0 | 0.643836 | 0 | 0 | 0.667737 | 0.405504 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
62b2707670a297eaa002d32051f343325f2ecb59 | 37,017 | py | Python | chcli/grammar/ClickHouseParserListener.py | long2ice/chcli | 2a21e0a5eafc39881354e142ce3a7f6818bad62b | [
"Apache-2.0"
] | 2 | 2020-09-18T08:56:00.000Z | 2021-08-21T17:00:50.000Z | chcli/grammar/ClickHouseParserListener.py | long2ice/chcli | 2a21e0a5eafc39881354e142ce3a7f6818bad62b | [
"Apache-2.0"
] | null | null | null | chcli/grammar/ClickHouseParserListener.py | long2ice/chcli | 2a21e0a5eafc39881354e142ce3a7f6818bad62b | [
"Apache-2.0"
] | null | null | null | # Generated from ClickHouseParser.g4 by ANTLR 4.8
from antlr4 import *
if __name__ is not None and "." in __name__:
from .ClickHouseParser import ClickHouseParser
else:
from ClickHouseParser import ClickHouseParser
# This class defines a complete listener for a parse tree produced by ClickHouseParser.
class C... | 39.717811 | 100 | 0.757247 | 4,138 | 37,017 | 6.602465 | 0.081682 | 0.049852 | 0.083086 | 0.149555 | 0.894001 | 0.781267 | 0.779949 | 0.686578 | 0.546137 | 0.270744 | 0 | 0.000133 | 0.1874 | 37,017 | 931 | 101 | 39.760473 | 0.908145 | 0.382419 | 0 | 0.505285 | 1 | 0 | 0.000045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.477801 | false | 0.477801 | 0.006342 | 0 | 0.486258 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
62b8a0e60f990095f08e52db8f13d54722c6ea99 | 24,031 | py | Python | tests/unit/publishers/test_statsd.py | eventbrite/pymetrics | af36ac04f2f0a86924fd7a5d9dff980d9030427f | [
"Apache-2.0"
] | 5 | 2019-10-15T12:42:48.000Z | 2021-08-15T02:49:55.000Z | tests/unit/publishers/test_statsd.py | eventbrite/pymetrics | af36ac04f2f0a86924fd7a5d9dff980d9030427f | [
"Apache-2.0"
] | 1 | 2020-03-05T20:24:32.000Z | 2020-03-06T14:47:47.000Z | tests/unit/publishers/test_statsd.py | eventbrite/pymetrics | af36ac04f2f0a86924fd7a5d9dff980d9030427f | [
"Apache-2.0"
] | 4 | 2020-04-13T23:42:29.000Z | 2021-09-08T11:34:44.000Z | """isort:skip_file"""
from __future__ import absolute_import # DO NOT import UNICODE LITERALS in this file!
import errno
import re
import socket
from typing import List
import mock
from pymetrics.instruments import (
Counter,
Gauge,
Histogram,
Metric,
Timer,
)
from pymetrics.publishers.statsd im... | 43.53442 | 120 | 0.639299 | 3,098 | 24,031 | 4.829567 | 0.102324 | 0.03549 | 0.043377 | 0.072183 | 0.81199 | 0.783852 | 0.772089 | 0.74736 | 0.728846 | 0.71187 | 0 | 0.025801 | 0.238733 | 24,031 | 551 | 121 | 43.61343 | 0.792063 | 0.144938 | 0 | 0.675393 | 0 | 0.015707 | 0.241709 | 0.207801 | 0 | 0 | 0 | 0 | 0.314136 | 1 | 0.034031 | false | 0.007853 | 0.020942 | 0 | 0.060209 | 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 |
62f520ed30eeb6210700f956edcd40c4c11b3ce1 | 40 | py | Python | api/graph/utility/__init__.py | AutoCoinDCF/NEW_API | f4abc48fff907a0785372b941afcd67e62eec825 | [
"Apache-2.0"
] | null | null | null | api/graph/utility/__init__.py | AutoCoinDCF/NEW_API | f4abc48fff907a0785372b941afcd67e62eec825 | [
"Apache-2.0"
] | null | null | null | api/graph/utility/__init__.py | AutoCoinDCF/NEW_API | f4abc48fff907a0785372b941afcd67e62eec825 | [
"Apache-2.0"
] | null | null | null | from .graph_inquiry import GraphInquiry
| 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 |
62fc1b0d29865867490fec6a73cf911f94f2f343 | 84 | py | Python | pythonlib/amlrealtimeai/__init__.py | mialiu149/aml-real-time-ai | 52bded7018df732932d0b9f20f0bf96470166d54 | [
"MIT"
] | 1 | 2018-07-01T18:49:09.000Z | 2018-07-01T18:49:09.000Z | pythonlib/amlrealtimeai/__init__.py | rawnc/aml-real-time-ai | 52bded7018df732932d0b9f20f0bf96470166d54 | [
"MIT"
] | null | null | null | pythonlib/amlrealtimeai/__init__.py | rawnc/aml-real-time-ai | 52bded7018df732932d0b9f20f0bf96470166d54 | [
"MIT"
] | 5 | 2018-07-11T21:35:46.000Z | 2019-07-11T19:41:55.000Z | from .deployment_client import DeploymentClient
from .client import PredictionClient | 42 | 47 | 0.892857 | 9 | 84 | 8.222222 | 0.666667 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 84 | 2 | 48 | 42 | 0.961039 | 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 |
a7f789de255868b915309a22d3d196791f512622 | 13,031 | py | Python | tests/unit/lib/utils/test_git_repo.py | praneetap/aws-sam-cli | 2a713566c8de72a68eb8954584674a61a2d807ac | [
"Apache-2.0"
] | 2,285 | 2017-08-11T16:57:31.000Z | 2018-05-08T20:38:25.000Z | tests/unit/lib/utils/test_git_repo.py | praneetap/aws-sam-cli | 2a713566c8de72a68eb8954584674a61a2d807ac | [
"Apache-2.0"
] | 314 | 2017-08-11T17:29:27.000Z | 2018-05-08T20:51:47.000Z | tests/unit/lib/utils/test_git_repo.py | praneetap/aws-sam-cli | 2a713566c8de72a68eb8954584674a61a2d807ac | [
"Apache-2.0"
] | 284 | 2017-08-11T17:35:48.000Z | 2018-05-08T20:15:59.000Z | import subprocess
from pathlib import Path
from unittest import TestCase
from unittest.mock import patch, MagicMock, ANY, call
import os
from samcli.lib.utils.git_repo import GitRepo, rmtree_callback, CloneRepoException, CloneRepoUnstableStateException
REPO_URL = "REPO URL"
REPO_NAME = "REPO NAME"
CLONE_DIR = os.path.... | 51.710317 | 119 | 0.725654 | 1,768 | 13,031 | 5.011312 | 0.079186 | 0.049774 | 0.097968 | 0.118962 | 0.869752 | 0.857336 | 0.833296 | 0.825508 | 0.800564 | 0.795824 | 0 | 0.003204 | 0.161691 | 13,031 | 251 | 120 | 51.916335 | 0.807854 | 0.004297 | 0 | 0.695652 | 0 | 0 | 0.204595 | 0.180003 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.082609 | false | 0.021739 | 0.026087 | 0 | 0.113043 | 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 |
c50d7bc036e536156459700adfaf3f1761e7d221 | 107 | py | Python | src/tests/conftest.py | m-zbik/land-analyzer | 6914e69a86fceb1e2b599a00244ae47a68799a1c | [
"Apache-2.0"
] | null | null | null | src/tests/conftest.py | m-zbik/land-analyzer | 6914e69a86fceb1e2b599a00244ae47a68799a1c | [
"Apache-2.0"
] | null | null | null | src/tests/conftest.py | m-zbik/land-analyzer | 6914e69a86fceb1e2b599a00244ae47a68799a1c | [
"Apache-2.0"
] | null | null | null | import pytest
from bpc_lib.utils.core import spark
@pytest.fixture()
def placeholder_function():
pass | 15.285714 | 36 | 0.775701 | 15 | 107 | 5.4 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 7 | 37 | 15.285714 | 0.880435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0.2 | 0.4 | 0 | 0.6 | 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 |
c50db763c4113f21464ec6706b755a2fdd0d40cd | 2,051 | py | Python | tests/test_fileutil.py | hhoeck/osxphotos | 432da7f139a5e4b37eeb358f4ede45314407f8e5 | [
"MIT"
] | null | null | null | tests/test_fileutil.py | hhoeck/osxphotos | 432da7f139a5e4b37eeb358f4ede45314407f8e5 | [
"MIT"
] | null | null | null | tests/test_fileutil.py | hhoeck/osxphotos | 432da7f139a5e4b37eeb358f4ede45314407f8e5 | [
"MIT"
] | null | null | null | """ test FileUtil """
import pytest
def test_copy_file_valid():
# copy file with valid src, dest
import os.path
import tempfile
from osxphotos.fileutil import FileUtil
temp_dir = tempfile.TemporaryDirectory(prefix="osxphotos_")
src = "tests/test-images/wedding.jpg"
result = FileUtil.copy... | 29.3 | 69 | 0.714286 | 276 | 2,051 | 5.181159 | 0.163043 | 0.058741 | 0.061538 | 0.094406 | 0.762238 | 0.735664 | 0.735664 | 0.713287 | 0.713287 | 0.713287 | 0 | 0.001191 | 0.181375 | 2,051 | 69 | 70 | 29.724638 | 0.850506 | 0.064359 | 0 | 0.6875 | 0 | 0 | 0.133054 | 0.083814 | 0 | 0 | 0 | 0 | 0.208333 | 1 | 0.104167 | false | 0 | 0.3125 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c52b4cb556465a75a1dd78d0cfc7ee283fa3b09b | 96 | py | Python | venv/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/ciphers.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 1 | 2021-11-07T22:40:27.000Z | 2021-11-07T22:40:27.000Z | venv/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/ciphers.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/ciphers.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/8e/f7/97/c99f64d264c7ef0a7ee0b5286cdd872d80c655c51bf5156e99b53f9036 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c543d649917c0cc823e45c7eac1f535212b59a67 | 24 | py | Python | Dictionary/__init__.py | narratives-of-war/topic-rnn | 9049f36513bc0eaac365ea3c13d2b27b25f70dfb | [
"MIT"
] | 9 | 2018-04-11T08:35:33.000Z | 2020-10-19T07:07:34.000Z | Dictionary/__init__.py | narratives-of-war/topic-rnn | 9049f36513bc0eaac365ea3c13d2b27b25f70dfb | [
"MIT"
] | 2 | 2018-04-28T04:29:00.000Z | 2018-08-07T06:30:07.000Z | Dictionary/__init__.py | narratives-of-war/topic-rnn | 9049f36513bc0eaac365ea3c13d2b27b25f70dfb | [
"MIT"
] | 4 | 2018-04-17T03:52:17.000Z | 2021-02-23T14:12:50.000Z | from .data import Corpus | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 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 |
c56949c5c987eb1c133865a5be8219c5cf0ed482 | 323 | py | Python | py_token_stream/__init__.py | SamDudley/py-token-stream | d56dfb522555e40155364480ee985bee06b5ba48 | [
"MIT"
] | null | null | null | py_token_stream/__init__.py | SamDudley/py-token-stream | d56dfb522555e40155364480ee985bee06b5ba48 | [
"MIT"
] | null | null | null | py_token_stream/__init__.py | SamDudley/py-token-stream | d56dfb522555e40155364480ee985bee06b5ba48 | [
"MIT"
] | null | null | null | class TokenStream:
def __init__(self, tokens):
self.tokens = tokens
def lookahead(self, index):
return self.tokens[index]
def peek(self):
return self.tokens[0]
def advance(self):
return self.tokens.pop(0)
def defer(self, token):
self.tokens.insert(0, toke... | 19 | 36 | 0.606811 | 41 | 323 | 4.682927 | 0.390244 | 0.3125 | 0.25 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012931 | 0.281734 | 323 | 16 | 37 | 20.1875 | 0.814655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0 | 0.272727 | 0.818182 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3d8eb560ede2ce5224390a984d3bbc5aebe1bab1 | 868 | py | Python | swap_mutation.py | tdxa/ZSI | 710a33e554b60b7ca07bf467c505f824011013f7 | [
"MIT"
] | null | null | null | swap_mutation.py | tdxa/ZSI | 710a33e554b60b7ca07bf467c505f824011013f7 | [
"MIT"
] | null | null | null | swap_mutation.py | tdxa/ZSI | 710a33e554b60b7ca07bf467c505f824011013f7 | [
"MIT"
] | null | null | null | import random
from type import Population
def swap_mutation(population: Population, chance_swap_mutation: float) -> Population:
for point in population:
for index, gen in enumerate(point):
if random.random() <= chance_swap_mutation:
mutation_point = random.randrange(5)
... | 36.166667 | 90 | 0.668203 | 101 | 868 | 5.584158 | 0.277228 | 0.138298 | 0.12766 | 0.163121 | 0.758865 | 0.758865 | 0.758865 | 0.758865 | 0.758865 | 0.758865 | 0 | 0.013493 | 0.231567 | 868 | 23 | 91 | 37.73913 | 0.832084 | 0.126728 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.133333 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3d94af46fbf4ff563434b83389b79398206e3265 | 96 | py | Python | venv/lib/python3.8/site-packages/cffi/commontypes.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/cffi/commontypes.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cffi/commontypes.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/41/2e/2e/c420c8ec986d4f28e1d61967080fa0ca799ab335b125a4512c69096b50 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 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 |
3dae8ab8377cef6eb6ea9dbaededa92bf842b692 | 26,091 | py | Python | pyserasa/blocosDados.py | lfdivino/pySerasa | d4b8b6b0906ee297f2be9f3adc134bcb14024b74 | [
"MIT"
] | null | null | null | pyserasa/blocosDados.py | lfdivino/pySerasa | d4b8b6b0906ee297f2be9f3adc134bcb14024b74 | [
"MIT"
] | 1 | 2019-11-14T19:16:44.000Z | 2019-11-14T19:16:44.000Z | pyserasa/blocosDados.py | lfdivino/pySerasa | d4b8b6b0906ee297f2be9f3adc134bcb14024b74 | [
"MIT"
] | 2 | 2019-10-08T13:23:50.000Z | 2020-11-16T21:06:22.000Z | # -*- coding: utf-8 -*-
from registrosDados import *
from bloco import Bloco
class pendenciasInternas(Bloco):
def __init__(self):
self.blocos = []
self.nome_bloco = False
self.nome = "pendenciasInternas"
class pendenciasFinanceiras(Bloco):
def __init__(self):
self.blocos = ... | 25.039347 | 66 | 0.670231 | 2,995 | 26,091 | 5.54424 | 0.073122 | 0.185005 | 0.198856 | 0.125263 | 0.763204 | 0.756579 | 0.738934 | 0.738934 | 0.724902 | 0.710629 | 0 | 0.061224 | 0.239393 | 26,091 | 1,041 | 67 | 25.063401 | 0.77551 | 0.000805 | 0 | 0.564417 | 0 | 0 | 0.109713 | 0.004181 | 0 | 0 | 0 | 0 | 0 | 1 | 0.199387 | false | 0 | 0.003067 | 0 | 0.40184 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3dc74df68a783766d907ee0b746a1de7002eb3f7 | 94 | py | Python | notecoin/huobi/constant/__init__.py | notechats/notecoin | 57e1ed71567ce8864158f24c00ed47addbd9851f | [
"Apache-2.0"
] | null | null | null | notecoin/huobi/constant/__init__.py | notechats/notecoin | 57e1ed71567ce8864158f24c00ed47addbd9851f | [
"Apache-2.0"
] | null | null | null | notecoin/huobi/constant/__init__.py | notechats/notecoin | 57e1ed71567ce8864158f24c00ed47addbd9851f | [
"Apache-2.0"
] | 1 | 2022-03-26T11:42:18.000Z | 2022-03-26T11:42:18.000Z | from .definition import *
from .result import *
from .system import *
from .test import *
| 10.444444 | 25 | 0.702128 | 12 | 94 | 5.5 | 0.5 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 94 | 8 | 26 | 11.75 | 0.891892 | 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 |
3dd0237d1689f846204201b43b1a375628457fbd | 32,290 | py | Python | tests/integration/foglamp/services/core/api/test_browser_assets.py | ashwinscale/FogLAMP | dac6f286d31978b6ce00303df8398ea5b2031d79 | [
"Apache-2.0"
] | null | null | null | tests/integration/foglamp/services/core/api/test_browser_assets.py | ashwinscale/FogLAMP | dac6f286d31978b6ce00303df8398ea5b2031d79 | [
"Apache-2.0"
] | 1 | 2018-05-10T16:04:34.000Z | 2018-05-10T16:04:34.000Z | tests/integration/foglamp/services/core/api/test_browser_assets.py | ashwinscale/FogLAMP | dac6f286d31978b6ce00303df8398ea5b2031d79 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# FOGLAMP_BEGIN
# See: http://foglamp.readthedocs.io/
# FOGLAMP_END
import random
import json
import string
import asyncpg
import http.client
import pytest
import asyncio
import uuid
from datetime import datetime, timezone, timedelta
__author__ = "Vaibhav Singhal"
__copyright__ = "Copyright (... | 43.342282 | 120 | 0.637597 | 4,547 | 32,290 | 4.306576 | 0.069936 | 0.050659 | 0.058983 | 0.033704 | 0.840057 | 0.820345 | 0.796803 | 0.769125 | 0.728833 | 0.689102 | 0 | 0.032108 | 0.23899 | 32,290 | 744 | 121 | 43.400538 | 0.764782 | 0.067606 | 0 | 0.584034 | 0 | 0 | 0.10923 | 0.042492 | 0 | 0 | 0 | 0.001344 | 0.306723 | 1 | 0.010504 | false | 0.004202 | 0.018908 | 0 | 0.046218 | 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 |
3dd9ad83f1a6bbb7c1678e307c4c56383cbcdda8 | 95 | py | Python | deeppavlov/deprecated/skills/ecommerce_skill/__init__.py | xbodx/DeepPavlov | 4b60bf162df4294b8b0db3b72786cdd699c674fa | [
"Apache-2.0"
] | 3 | 2020-04-07T10:16:38.000Z | 2021-04-16T01:30:52.000Z | deeppavlov/deprecated/skills/ecommerce_skill/__init__.py | xbodx/DeepPavlov | 4b60bf162df4294b8b0db3b72786cdd699c674fa | [
"Apache-2.0"
] | 11 | 2020-09-25T22:32:27.000Z | 2022-02-10T00:39:45.000Z | deeppavlov/deprecated/skills/ecommerce_skill/__init__.py | xbodx/DeepPavlov | 4b60bf162df4294b8b0db3b72786cdd699c674fa | [
"Apache-2.0"
] | 1 | 2020-06-02T20:41:31.000Z | 2020-06-02T20:41:31.000Z | from .bleu_retrieve import EcommerceSkillBleu
from .tfidf_retrieve import EcommerceSkillTfidf
| 23.75 | 47 | 0.884211 | 10 | 95 | 8.2 | 0.7 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 95 | 3 | 48 | 31.666667 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
3debbb06947ea28244cc5fdb3f64eada79b0f506 | 931 | py | Python | agents/base_agent.py | yerfor/Soft-DRGN | 0c96d1ea295077b949229261c37d8dde25001a03 | [
"MIT"
] | 2 | 2022-02-24T08:21:49.000Z | 2022-03-10T08:57:35.000Z | agents/base_agent.py | yerfor/Soft-DRGN | 0c96d1ea295077b949229261c37d8dde25001a03 | [
"MIT"
] | 1 | 2022-02-24T08:40:21.000Z | 2022-02-24T12:01:58.000Z | agents/base_agent.py | yerfor/Soft-DRGN | 0c96d1ea295077b949229261c37d8dde25001a03 | [
"MIT"
] | null | null | null | import torch.nn as nn
class BaseAgent(nn.Module):
def __init__(self):
self.learned_model = None
self.target_model = None
def action(self, sample, epsilon, action_mode):
raise NotImplementedError
def cal_q_loss(self, sample, losses, log_vars):
raise NotImplementedError
... | 25.162162 | 51 | 0.691729 | 110 | 931 | 5.572727 | 0.281818 | 0.274062 | 0.220228 | 0.092985 | 0.745514 | 0.745514 | 0.745514 | 0.647635 | 0.647635 | 0.603589 | 0 | 0 | 0.240602 | 931 | 36 | 52 | 25.861111 | 0.867044 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.36 | false | 0 | 0.04 | 0 | 0.48 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9a71ee235763aec778b8b12718c731437220281b | 37 | py | Python | uniparser_turoyo/__init__.py | margisk/uniparser-grammar-turoyo | fdc01b7776823864ef1cb2c202b0ef88fd3e2947 | [
"MIT"
] | null | null | null | uniparser_turoyo/__init__.py | margisk/uniparser-grammar-turoyo | fdc01b7776823864ef1cb2c202b0ef88fd3e2947 | [
"MIT"
] | null | null | null | uniparser_turoyo/__init__.py | margisk/uniparser-grammar-turoyo | fdc01b7776823864ef1cb2c202b0ef88fd3e2947 | [
"MIT"
] | 1 | 2018-11-01T18:51:01.000Z | 2018-11-01T18:51:01.000Z | from .analyzer import TuroyoAnalyzer
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9acb6be02e19aa551b0326ef646e7495f0bbc893 | 54,662 | py | Python | test/devices_tests/climate_test.py | iligiddi/xknx | c450d5934c8ddc608741229a7d14168013c3684c | [
"MIT"
] | null | null | null | test/devices_tests/climate_test.py | iligiddi/xknx | c450d5934c8ddc608741229a7d14168013c3684c | [
"MIT"
] | null | null | null | test/devices_tests/climate_test.py | iligiddi/xknx | c450d5934c8ddc608741229a7d14168013c3684c | [
"MIT"
] | null | null | null | """Unit test for Climate objects."""
from unittest.mock import Mock
import pytest
from xknx import XKNX
from xknx.devices import Climate, ClimateMode
from xknx.devices.climate import SetpointShiftMode
from xknx.dpt import (
DPT2ByteFloat,
DPTArray,
DPTBinary,
DPTControllerStatus,
DPTHVACContrMode,
... | 38.494366 | 124 | 0.637371 | 5,863 | 54,662 | 5.677298 | 0.046904 | 0.012317 | 0.036171 | 0.048579 | 0.885778 | 0.856186 | 0.822628 | 0.777895 | 0.727393 | 0.710809 | 0 | 0.029763 | 0.26856 | 54,662 | 1,419 | 125 | 38.521494 | 0.802686 | 0.057938 | 0 | 0.678315 | 0 | 0 | 0.039044 | 0 | 0 | 0 | 0.00066 | 0 | 0.157706 | 1 | 0.017921 | false | 0 | 0.008961 | 0 | 0.027778 | 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 |
9ae2a64c36c2836b8747725dd7c727d79d71bbb6 | 317 | py | Python | groundwork/exceptions.py | amhaske/groundwork | abd63a54a34434ebdf527b1619c8bc90d8f97c28 | [
"MIT"
] | 17 | 2016-07-27T12:32:06.000Z | 2022-01-24T15:58:04.000Z | groundwork/exceptions.py | amhaske/groundwork | abd63a54a34434ebdf527b1619c8bc90d8f97c28 | [
"MIT"
] | 31 | 2016-12-16T07:29:54.000Z | 2019-05-07T07:08:18.000Z | groundwork/exceptions.py | amhaske/groundwork | abd63a54a34434ebdf527b1619c8bc90d8f97c28 | [
"MIT"
] | 6 | 2018-03-05T13:53:31.000Z | 2019-06-07T05:33:54.000Z | class PluginNotInitialisableException(BaseException):
pass
class PluginNotActivatableException(BaseException):
pass
class PluginNotDeactivatableException(BaseException):
pass
class PluginAttributeMissingException(BaseException):
pass
class PluginRegistrationException(BaseException):
pass
| 16.684211 | 53 | 0.817035 | 20 | 317 | 12.95 | 0.4 | 0.328185 | 0.339768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135647 | 317 | 18 | 54 | 17.611111 | 0.945255 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b103b438eb32860054190573bc7aeb719bc605b7 | 1,212 | py | Python | grr/gui/plugins/__init__.py | theGreenJedi/grr | d9e11e304dc299d49c76b7fdf6fdbfcd4b8eec39 | [
"Apache-2.0"
] | null | null | null | grr/gui/plugins/__init__.py | theGreenJedi/grr | d9e11e304dc299d49c76b7fdf6fdbfcd4b8eec39 | [
"Apache-2.0"
] | null | null | null | grr/gui/plugins/__init__.py | theGreenJedi/grr | d9e11e304dc299d49c76b7fdf6fdbfcd4b8eec39 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""GRR GUI plugins simplify the task of displaying different GUI elements."""
# pylint: disable=unused-import
# TODO(user): automate the generation of this file
from grr.gui.plugins import acl_manager
from grr.gui.plugins import artifact_view
from grr.gui.plugins import configuration_view
from gr... | 34.628571 | 77 | 0.826733 | 198 | 1,212 | 4.979798 | 0.313131 | 0.15213 | 0.329615 | 0.413793 | 0.600406 | 0.273834 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109736 | 1,212 | 34 | 78 | 35.647059 | 0.913809 | 0.170792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 1 | 0 | true | 0.037037 | 0.925926 | 0 | 0.925926 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b113c2ebead5586e799852c8526aa7941abf6994 | 220 | py | Python | utils/list_utils.py | kmakeev/RLs | c47e9b504db157731c26d7c881719a4fb54cc355 | [
"Apache-2.0"
] | null | null | null | utils/list_utils.py | kmakeev/RLs | c47e9b504db157731c26d7c881719a4fb54cc355 | [
"Apache-2.0"
] | null | null | null | utils/list_utils.py | kmakeev/RLs | c47e9b504db157731c26d7c881719a4fb54cc355 | [
"Apache-2.0"
] | null | null | null | def zero_initializer(n):
assert isinstance(n, int) and n > 0
return [0] * n
def zeros_initializer(n, n_args):
if n_args == 1:
return zero_initializer(n)
return map(zero_initializer, [n] * n_args) | 27.5 | 46 | 0.654545 | 35 | 220 | 3.914286 | 0.428571 | 0.350365 | 0.350365 | 0.248175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017751 | 0.231818 | 220 | 8 | 46 | 27.5 | 0.792899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b117116002f030436d3034ad017006970c9e1ab0 | 36 | py | Python | farmos_ext/__init__.py | applecreekacres/farmos.py.ext | 91db8a6d5532661650869d34c2ff94e1fed02f02 | [
"MIT"
] | null | null | null | farmos_ext/__init__.py | applecreekacres/farmos.py.ext | 91db8a6d5532661650869d34c2ff94e1fed02f02 | [
"MIT"
] | 46 | 2021-02-21T21:05:07.000Z | 2022-03-15T23:05:25.000Z | farmos_ext/__init__.py | applecreekacres/farmos.py.ext | 91db8a6d5532661650869d34c2ff94e1fed02f02 | [
"MIT"
] | null | null | null |
from farmos_ext.farm import Farm
| 12 | 33 | 0.777778 | 6 | 36 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 36 | 2 | 34 | 18 | 0.931034 | 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 |
492c6004f2990037ebedd7821c32b3b004643533 | 28 | py | Python | uniflex_module_ni_sdr/__init__.py | tkn-tub/module_ni_sdr | f27ee9866aca05e58f29da687d142d16f6edc6f7 | [
"MIT"
] | null | null | null | uniflex_module_ni_sdr/__init__.py | tkn-tub/module_ni_sdr | f27ee9866aca05e58f29da687d142d16f6edc6f7 | [
"MIT"
] | null | null | null | uniflex_module_ni_sdr/__init__.py | tkn-tub/module_ni_sdr | f27ee9866aca05e58f29da687d142d16f6edc6f7 | [
"MIT"
] | null | null | null | from .module_ni_sdr import * | 28 | 28 | 0.821429 | 5 | 28 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.84 | 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 |
770b473d6246a36b7834de97960d296dcaae7c10 | 71 | py | Python | results/1.py | banbeig/FashionAI_Tianchi_2018-master-1 | 60417e363f77e87716e42b36d35d26470a3abe5d | [
"MIT"
] | null | null | null | results/1.py | banbeig/FashionAI_Tianchi_2018-master-1 | 60417e363f77e87716e42b36d35d26470a3abe5d | [
"MIT"
] | null | null | null | results/1.py | banbeig/FashionAI_Tianchi_2018-master-1 | 60417e363f77e87716e42b36d35d26470a3abe5d | [
"MIT"
] | null | null | null | import os as os
print(os.path.join(os.path.expanduser('~'), '.keras')) | 35.5 | 54 | 0.676056 | 12 | 71 | 4 | 0.666667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 71 | 2 | 54 | 35.5 | 0.738462 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
771da22eb834e620df831a8d77281e04ba11cb28 | 85 | py | Python | PySimpleGUI-4.51.6/PySimpleGUI/__init__.py | matheusrdss/dados | bfe90469557b1d3fdacfa0bc782b8a8670c05d3b | [
"MIT"
] | 6 | 2021-07-26T14:21:25.000Z | 2021-07-26T14:32:01.000Z | PySimpleGUI-4.51.6/PySimpleGUI/__init__.py | matheusrdss/dados | bfe90469557b1d3fdacfa0bc782b8a8670c05d3b | [
"MIT"
] | 2 | 2021-12-10T10:25:19.000Z | 2021-12-10T10:27:15.000Z | PySimpleGUI/PySimpleGUI/Lib/site-packages/PySimpleGUI/__init__.py | Advik-B/Learn-Python | 66ac57259764e8f2c3c6513a8de6c106800d8abe | [
"MIT"
] | null | null | null | name = "PySimpleGUI"
from .PySimpleGUI import *
from .PySimpleGUI import __version__
| 21.25 | 36 | 0.8 | 9 | 85 | 7.111111 | 0.555556 | 0.46875 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 85 | 3 | 37 | 28.333333 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6235341416898a08382ca298e0aab3afe82271d3 | 72 | py | Python | opti_models/models/__init__.py | IlyaDobrynin/opti_models | 342b87e782650e8803196c52eee2b0d21f1d9576 | [
"MIT"
] | 62 | 2020-09-07T10:30:09.000Z | 2021-12-21T21:27:54.000Z | opti_models/models/__init__.py | IlyaDobrynin/opti_models | 342b87e782650e8803196c52eee2b0d21f1d9576 | [
"MIT"
] | null | null | null | opti_models/models/__init__.py | IlyaDobrynin/opti_models | 342b87e782650e8803196c52eee2b0d21f1d9576 | [
"MIT"
] | 2 | 2020-11-06T14:31:30.000Z | 2021-09-26T12:16:10.000Z | from .classification.classification_factory import ClassificationFactory | 72 | 72 | 0.930556 | 6 | 72 | 11 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 72 | 1 | 72 | 72 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
62413e680a5f760b9a5573eecd481942d5093329 | 40 | py | Python | apps/rosetta/python/pysetta/core/import_pose/__init__.py | YaoYinYing/rifdock | cbde6bbeefd29a066273bdf2937cf36b0d2e6335 | [
"Apache-2.0"
] | 25 | 2019-07-23T01:03:48.000Z | 2022-03-31T04:16:08.000Z | apps/rosetta/python/pysetta/core/import_pose/__init__.py | YaoYinYing/rifdock | cbde6bbeefd29a066273bdf2937cf36b0d2e6335 | [
"Apache-2.0"
] | 13 | 2018-01-30T17:45:57.000Z | 2022-03-28T11:02:44.000Z | apps/rosetta/python/pysetta/core/import_pose/__init__.py | YaoYinYing/rifdock | cbde6bbeefd29a066273bdf2937cf36b0d2e6335 | [
"Apache-2.0"
] | 14 | 2018-02-08T01:42:28.000Z | 2022-03-31T12:56:17.000Z | from _pysetta_core_import_pose import *
| 20 | 39 | 0.875 | 6 | 40 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.861111 | 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 |
626739ccee2b3378fbe64a780eaa1fbfb2b1846d | 152 | py | Python | pmaf/database/_helpers/__init__.py | mmtechslv/PhyloMAF | bab43dd4a4d2812951b1fdf4f1abb83edb79ea88 | [
"BSD-3-Clause"
] | 1 | 2021-07-02T06:24:17.000Z | 2021-07-02T06:24:17.000Z | pmaf/database/_helpers/__init__.py | mmtechslv/PhyloMAF | bab43dd4a4d2812951b1fdf4f1abb83edb79ea88 | [
"BSD-3-Clause"
] | 1 | 2021-06-28T12:02:46.000Z | 2021-06-28T12:02:46.000Z | pmaf/database/_helpers/__init__.py | mmtechslv/PhyloMAF | bab43dd4a4d2812951b1fdf4f1abb83edb79ea88 | [
"BSD-3-Clause"
] | null | null | null | from ._ott_maker import make_ott_taxonomy as ott_maker
from ._exporters import export_database_by_rid
__all__ = ['ott_maker', 'export_database_by_rid'] | 38 | 54 | 0.842105 | 24 | 152 | 4.625 | 0.541667 | 0.216216 | 0.288288 | 0.342342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 152 | 4 | 55 | 38 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0.202614 | 0.143791 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.