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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
54ab3096d6e5d6dec659fd27bd08ac1d4253100e | 165 | py | Python | core_types/list/remove.py | dmilos/python_tutorial | f2f901a68cbc696e19350455da9b7db312d1a9fa | [
"MIT-0"
] | null | null | null | core_types/list/remove.py | dmilos/python_tutorial | f2f901a68cbc696e19350455da9b7db312d1a9fa | [
"MIT-0"
] | null | null | null | core_types/list/remove.py | dmilos/python_tutorial | f2f901a68cbc696e19350455da9b7db312d1a9fa | [
"MIT-0"
] | null | null | null | #!/usr/bin/env python
aList = [123, 'xyz', 'zara', 'abc', 'xyz'];
aList.remove('xyz');
print "List : ", aList;
aList.remove('abc');
print "List : ", aList; | 23.571429 | 44 | 0.557576 | 22 | 165 | 4.181818 | 0.545455 | 0.23913 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.181818 | 165 | 7 | 45 | 23.571429 | 0.659259 | 0.121212 | 0 | 0.4 | 0 | 0 | 0.23741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
54b9e66eb2fcc5a4f78938835eeff000869ecf20 | 61 | py | Python | django_passwords/__init__.py | aiakos/aiakos | a591e7ef13ab9e8e14b4d3569d43fce694c4150a | [
"BSD-2-Clause",
"MIT"
] | 4 | 2017-04-28T19:09:17.000Z | 2018-07-03T04:43:54.000Z | django_passwords/__init__.py | aiakos/aiakos | a591e7ef13ab9e8e14b4d3569d43fce694c4150a | [
"BSD-2-Clause",
"MIT"
] | 2 | 2020-06-05T17:46:47.000Z | 2021-06-10T17:22:58.000Z | django_passwords/__init__.py | aiakos/aiakos | a591e7ef13ab9e8e14b4d3569d43fce694c4150a | [
"BSD-2-Clause",
"MIT"
] | 2 | 2017-08-14T07:15:14.000Z | 2019-03-04T14:02:05.000Z | default_app_config = 'django_passwords.apps.PasswordsConfig'
| 30.5 | 60 | 0.868852 | 7 | 61 | 7.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 61 | 1 | 61 | 61 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.606557 | 0.606557 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
49add86f0354247b9b603ac3da374b45b82713dc | 5,567 | py | Python | src/compute_delta_var.py | MrinankSharma/PLD-Accountant | 3d73e86c1f2dbe5f2ac7a349e30ba15531abbd5b | [
"MIT"
] | null | null | null | src/compute_delta_var.py | MrinankSharma/PLD-Accountant | 3d73e86c1f2dbe5f2ac7a349e30ba15531abbd5b | [
"MIT"
] | null | null | null | src/compute_delta_var.py | MrinankSharma/PLD-Accountant | 3d73e86c1f2dbe5f2ac7a349e30ba15531abbd5b | [
"MIT"
] | null | null | null | '''
A code for computing exact DP guarantees.
The method is described in
A.Koskela, J.Jälkö and A.Honkela:
Computing Exact Guarantees for Differential Privacy.
arXiv preprint arXiv:1906.03049 (2019)
The code is due to Antti Koskela (@koskeant) and Joonas Jälkö (@jjalko)
'''
import numpy as np
# Parameters:
# target_... | 33.335329 | 117 | 0.536914 | 895 | 5,567 | 3.27486 | 0.173184 | 0.042989 | 0.020471 | 0.028659 | 0.785397 | 0.769021 | 0.758785 | 0.734903 | 0.734903 | 0.734903 | 0 | 0.04036 | 0.301239 | 5,567 | 166 | 118 | 33.536145 | 0.713111 | 0.28651 | 0 | 0.697674 | 0 | 0 | 0.066718 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0.011628 | 0 | 0.081395 | 0.046512 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
49b34343ef5295755accba9ab4cf5a8f967b4815 | 13 | py | Python | login.py | Xiacloud/test27 | 9794f194bbb6149128aeea0a86206712c634ae7a | [
"MIT"
] | null | null | null | login.py | Xiacloud/test27 | 9794f194bbb6149128aeea0a86206712c634ae7a | [
"MIT"
] | null | null | null | login.py | Xiacloud/test27 | 9794f194bbb6149128aeea0a86206712c634ae7a | [
"MIT"
] | null | null | null | num1 = 11111
| 6.5 | 12 | 0.692308 | 2 | 13 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 0.230769 | 13 | 1 | 13 | 13 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
49c7ae1dfbe5ca509f1ffe352156e6a78bd7128f | 133 | py | Python | plotter/__init__.py | kalinkinisaac/modular | 301d26ad222a5ef3278aaf251908e0a8537bb58f | [
"MIT"
] | null | null | null | plotter/__init__.py | kalinkinisaac/modular | 301d26ad222a5ef3278aaf251908e0a8537bb58f | [
"MIT"
] | null | null | null | plotter/__init__.py | kalinkinisaac/modular | 301d26ad222a5ef3278aaf251908e0a8537bb58f | [
"MIT"
] | null | null | null | from .graph_plotter import GraphPlotter
from .geodesic_plotter import GeodesicPlotter
__all__ = ['GraphPlotter', 'GeodesicPlotter']
| 26.6 | 45 | 0.827068 | 13 | 133 | 8 | 0.615385 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097744 | 133 | 4 | 46 | 33.25 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.203008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
49c93c68fb98613ea7b11f0c17c53ba60148bdcb | 85 | py | Python | sortedm2m_tests/compat.py | Freston2021/dfconfecciones | da1d62006aa958295159ae9fa58584c670ec83be | [
"MIT"
] | 187 | 2019-06-27T08:37:40.000Z | 2022-03-29T12:23:19.000Z | sortedm2m_tests/compat.py | Freston2021/dfconfecciones | da1d62006aa958295159ae9fa58584c670ec83be | [
"MIT"
] | 89 | 2015-01-08T18:24:17.000Z | 2019-06-26T13:16:09.000Z | sortedm2m_tests/compat.py | Freston2021/dfconfecciones | da1d62006aa958295159ae9fa58584c670ec83be | [
"MIT"
] | 92 | 2015-01-09T17:45:48.000Z | 2019-06-21T08:56:10.000Z | def m2m_set(instance, field_name, objs):
getattr(instance, field_name).set(objs)
| 28.333333 | 43 | 0.752941 | 13 | 85 | 4.692308 | 0.615385 | 0.42623 | 0.557377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.117647 | 85 | 2 | 44 | 42.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
49dee1eb9aba1dde7f48827a1efb9e7f376984fa | 10,267 | py | Python | python_common/global_param.py | ivanlevsky/cowabunga-potato | ab317582b7b8f99d7be3ea4f5edbe9829fc398fb | [
"MIT"
] | null | null | null | python_common/global_param.py | ivanlevsky/cowabunga-potato | ab317582b7b8f99d7be3ea4f5edbe9829fc398fb | [
"MIT"
] | null | null | null | python_common/global_param.py | ivanlevsky/cowabunga-potato | ab317582b7b8f99d7be3ea4f5edbe9829fc398fb | [
"MIT"
] | null | null | null | from file_and_system.config_utils import ConfigUtils
import os
class GlobalParam:
project_path = os.path.dirname(os.getcwd())
conf_path = ''.join((project_path + r'\test file\cf.properties'))
# print(sys.path[0])
# print(os.path.dirname(os.getcwd()))
# print(os.path.dirname(os.path.realpath(__file... | 44.25431 | 141 | 0.658323 | 1,082 | 10,267 | 5.854898 | 0.089649 | 0.053039 | 0.113654 | 0.145225 | 0.827782 | 0.699132 | 0.658248 | 0.658248 | 0.658248 | 0.658248 | 0 | 0.006202 | 0.246226 | 10,267 | 232 | 142 | 44.25431 | 0.812379 | 0.034966 | 0 | 0.474576 | 0 | 0 | 0.073067 | 0.012532 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225989 | false | 0.022599 | 0.022599 | 0.225989 | 0.536723 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 5 |
b70779066cb067bb08d0687ea083315f49245112 | 106 | py | Python | coredata/__init__.py | koddsson/coredata-python-client | b6ed8086e79a70f21bd843f7d2997546d3c4a6d3 | [
"MIT"
] | null | null | null | coredata/__init__.py | koddsson/coredata-python-client | b6ed8086e79a70f21bd843f7d2997546d3c4a6d3 | [
"MIT"
] | null | null | null | coredata/__init__.py | koddsson/coredata-python-client | b6ed8086e79a70f21bd843f7d2997546d3c4a6d3 | [
"MIT"
] | null | null | null | """ Import packages here for visability. """
from .coredata import CoredataClient, Entity, CoredataError
| 26.5 | 59 | 0.773585 | 11 | 106 | 7.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 106 | 3 | 60 | 35.333333 | 0.891304 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b70e699de7074fedf8a4dbf48e09c9a093ee3cff | 71 | py | Python | ic3_labels/__init__.py | IceCubeOpenSource/ic3-labels | 049565e1dd423115020484fca5b891afdd1f97bc | [
"MIT"
] | 1 | 2021-04-21T09:06:12.000Z | 2021-04-21T09:06:12.000Z | ic3_labels/__init__.py | icecube/ic3-labels | 049565e1dd423115020484fca5b891afdd1f97bc | [
"MIT"
] | null | null | null | ic3_labels/__init__.py | icecube/ic3-labels | 049565e1dd423115020484fca5b891afdd1f97bc | [
"MIT"
] | 2 | 2019-06-10T13:37:17.000Z | 2019-10-21T06:16:35.000Z | from ic3_labels.__about__ import __version__, __description__, __url__
| 35.5 | 70 | 0.873239 | 8 | 71 | 5.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.084507 | 71 | 1 | 71 | 71 | 0.676923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b7176a1de82c9c00d5e104167f43c29c4da1a3df | 58 | py | Python | Scenario-2/gym_placement/envs/__init__.py | nesl/Heliot | dd8cbf8871d234b12ab3c31b97aa18ff1254a4c7 | [
"BSD-3-Clause"
] | 4 | 2019-09-19T15:36:22.000Z | 2020-02-18T09:28:54.000Z | Scenario-2/gym_placement/envs/__init__.py | nesl/Heliot | dd8cbf8871d234b12ab3c31b97aa18ff1254a4c7 | [
"BSD-3-Clause"
] | null | null | null | Scenario-2/gym_placement/envs/__init__.py | nesl/Heliot | dd8cbf8871d234b12ab3c31b97aa18ff1254a4c7 | [
"BSD-3-Clause"
] | 2 | 2020-04-14T19:11:32.000Z | 2022-01-08T18:59:02.000Z | from gym_placement.envs.placement0 import placementClass0
| 29 | 57 | 0.896552 | 7 | 58 | 7.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.068966 | 58 | 1 | 58 | 58 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b73a95801c8d05c78566460da2d22302837e57be | 62 | py | Python | network_anomaly/code/Basic_features/__init__.py | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | 1 | 2022-01-18T01:53:34.000Z | 2022-01-18T01:53:34.000Z | network_anomaly/code/Basic_features/__init__.py | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | null | null | null | network_anomaly/code/Basic_features/__init__.py | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | null | null | null | from .Land import *
from .test import *
from .Urgent import *
| 15.5 | 21 | 0.709677 | 9 | 62 | 4.888889 | 0.555556 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 62 | 3 | 22 | 20.666667 | 0.88 | 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 | 0 | 0 | 0 | 5 |
3f83859f656af546a2e31433e7f750fdfccaaf1b | 59 | py | Python | gridworld_basic/envs/__init__.py | elaitenstile/RL-basic-gridworld | 1f781ef51661057dad2a7f680345ace94988c73c | [
"MIT"
] | null | null | null | gridworld_basic/envs/__init__.py | elaitenstile/RL-basic-gridworld | 1f781ef51661057dad2a7f680345ace94988c73c | [
"MIT"
] | null | null | null | gridworld_basic/envs/__init__.py | elaitenstile/RL-basic-gridworld | 1f781ef51661057dad2a7f680345ace94988c73c | [
"MIT"
] | null | null | null | from gridworld_basic.envs.gridworld_env import GridworldEnv | 59 | 59 | 0.915254 | 8 | 59 | 6.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 59 | 1 | 59 | 59 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3fa3125d942566f9646757785bae74cb8eb38c3e | 118 | py | Python | pessoa/admin.py | araujo88/minhaGaragem | 31fb16a686eef2caa26e194c03a0528e43867188 | [
"MIT"
] | null | null | null | pessoa/admin.py | araujo88/minhaGaragem | 31fb16a686eef2caa26e194c03a0528e43867188 | [
"MIT"
] | null | null | null | pessoa/admin.py | araujo88/minhaGaragem | 31fb16a686eef2caa26e194c03a0528e43867188 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Pessoa
admin.site.register(Pessoa) | 19.666667 | 32 | 0.805085 | 17 | 118 | 5.588235 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127119 | 118 | 6 | 33 | 19.666667 | 0.92233 | 0.220339 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3fa4ea616f0e31aa8e437a3411ca9b935d32a607 | 151 | py | Python | {{ cookiecutter.project_slug }}/tests/test_sample.py | gphillips8frw/cookiecutter-docker-science | 6392fa690f2fb3685d8149bc4ca9c42d98dcaf15 | [
"ECL-2.0",
"Apache-2.0"
] | 308 | 2018-02-15T12:29:37.000Z | 2022-03-05T14:14:07.000Z | {{ cookiecutter.project_slug }}/tests/test_sample.py | gphillips8frw/cookiecutter-docker-science | 6392fa690f2fb3685d8149bc4ca9c42d98dcaf15 | [
"ECL-2.0",
"Apache-2.0"
] | 71 | 2018-02-15T08:50:49.000Z | 2021-08-29T14:10:33.000Z | {{ cookiecutter.project_slug }}/tests/test_sample.py | gphillips8frw/cookiecutter-docker-science | 6392fa690f2fb3685d8149bc4ca9c42d98dcaf15 | [
"ECL-2.0",
"Apache-2.0"
] | 100 | 2018-02-16T16:29:32.000Z | 2022-03-25T21:05:11.000Z | import unittest
class TestSample(unittest.TestCase):
def setUp(self):
pass
def test_add(self):
self.assertEqual((3 + 4), 7)
| 15.1 | 36 | 0.622517 | 19 | 151 | 4.894737 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.264901 | 151 | 9 | 37 | 16.777778 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
3fdc41f4f719ef0dcf4073fab3a6e7e778963f5a | 56 | py | Python | src/messages/__init__.py | IanDCarroll/Trivvy | 2aaa68301e4dd1daaf717d98bb468cc65c8f373a | [
"MIT"
] | 1 | 2020-10-09T21:11:38.000Z | 2020-10-09T21:11:38.000Z | src/messages/__init__.py | IanDCarroll/Trivvy | 2aaa68301e4dd1daaf717d98bb468cc65c8f373a | [
"MIT"
] | 1 | 2020-09-05T01:29:49.000Z | 2020-09-05T01:29:49.000Z | src/messages/__init__.py | Coding-Koans/Trivvy | 2aaa68301e4dd1daaf717d98bb468cc65c8f373a | [
"MIT"
] | 2 | 2020-07-12T05:02:43.000Z | 2020-07-16T00:27:07.000Z | from .terminal import Log
from .twitch_chat import Chat
| 18.666667 | 29 | 0.821429 | 9 | 56 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 30 | 28 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3fe5f6fb3821ec53eddc2eae086a63cf0bcba605 | 212 | py | Python | watchmate_v2/app/admin.py | rroy11705/Rest_API_With_Django | 6a75db2e2c3913ec9afc1cbfef67a5c9fd655e60 | [
"CNRI-Python"
] | null | null | null | watchmate_v2/app/admin.py | rroy11705/Rest_API_With_Django | 6a75db2e2c3913ec9afc1cbfef67a5c9fd655e60 | [
"CNRI-Python"
] | null | null | null | watchmate_v2/app/admin.py | rroy11705/Rest_API_With_Django | 6a75db2e2c3913ec9afc1cbfef67a5c9fd655e60 | [
"CNRI-Python"
] | null | null | null | from django.contrib import admin
from .models import WatchList, StreamPlatform, Review
# Register your models here.
admin.site.register(WatchList)
admin.site.register(StreamPlatform)
admin.site.register(Review)
| 26.5 | 53 | 0.825472 | 27 | 212 | 6.481481 | 0.481481 | 0.154286 | 0.291429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089623 | 212 | 7 | 54 | 30.285714 | 0.906736 | 0.122642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b7668c640a12dc3ae179483e533a82850aa2f1e5 | 27 | py | Python | tests/__init__.py | rajat-np/pygount | 111ec9259e24ff69dba1848120edd60df13ecf10 | [
"BSD-3-Clause"
] | 93 | 2016-07-07T07:23:36.000Z | 2022-03-29T02:48:09.000Z | tests/__init__.py | rajat-np/pygount | 111ec9259e24ff69dba1848120edd60df13ecf10 | [
"BSD-3-Clause"
] | 84 | 2016-08-18T23:01:55.000Z | 2022-03-20T09:31:31.000Z | tests/__init__.py | rajat-np/pygount | 111ec9259e24ff69dba1848120edd60df13ecf10 | [
"BSD-3-Clause"
] | 18 | 2016-09-08T07:20:34.000Z | 2022-01-02T11:45:02.000Z | # Deliberately left empty.
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0.888889 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b7aa94ddaa98ff36a3ff6337e14c9911fd84a648 | 20 | py | Python | pattern/arrow.py | Shivams9/pythoncodecamp | e6cd27f4704a407ee360414a8c9236b254117a59 | [
"MIT"
] | 6 | 2021-08-04T08:15:22.000Z | 2022-02-02T11:15:56.000Z | pattern/arrow.py | Maurya232Abhishek/Python-repository-for-basics | 3dcec5c529a0847df07c9dcc1424675754ce6376 | [
"MIT"
] | 14 | 2021-08-02T06:28:00.000Z | 2022-03-25T10:44:15.000Z | pattern/arrow.py | Maurya232Abhishek/Python-repository-for-basics | 3dcec5c529a0847df07c9dcc1424675754ce6376 | [
"MIT"
] | 6 | 2021-07-16T04:56:41.000Z | 2022-02-16T04:40:06.000Z | print("helo \n" * 4) | 20 | 20 | 0.55 | 4 | 20 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.15 | 20 | 1 | 20 | 20 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b7cbc769b1723d0902d729e61b8eea00ce9c01e6 | 47 | py | Python | deltarescdk/__init__.py | Deltares/deltares-cdk | 7f6911dbb61b1b3a852effcda4c8a349047571e8 | [
"MIT"
] | null | null | null | deltarescdk/__init__.py | Deltares/deltares-cdk | 7f6911dbb61b1b3a852effcda4c8a349047571e8 | [
"MIT"
] | null | null | null | deltarescdk/__init__.py | Deltares/deltares-cdk | 7f6911dbb61b1b3a852effcda4c8a349047571e8 | [
"MIT"
] | null | null | null | from deltarescdk.kube_bucket import KubeBucket
| 23.5 | 46 | 0.893617 | 6 | 47 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b7d3496db6f1822d70348af263692591c823e6c7 | 58 | py | Python | twiltwil/api/models/__init__.py | alexdlaird/twilio-taskrouter-demo | df5c95f8b009e70531b348e3250708723111f159 | [
"MIT"
] | 2 | 2019-01-16T22:46:46.000Z | 2021-03-23T06:39:21.000Z | twiltwil/api/models/__init__.py | alexdlaird/twilio-taskrouter-demo | df5c95f8b009e70531b348e3250708723111f159 | [
"MIT"
] | 62 | 2018-07-06T04:45:46.000Z | 2021-08-25T11:02:17.000Z | twiltwil/api/models/__init__.py | alexdlaird/twilio-taskrouter-demo | df5c95f8b009e70531b348e3250708723111f159 | [
"MIT"
] | 1 | 2019-01-29T12:39:29.000Z | 2019-01-29T12:39:29.000Z | from .contact import Contact
from .message import Message
| 19.333333 | 28 | 0.827586 | 8 | 58 | 6 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b7da0e5a60810d60cc6aca28aaf8d088e1155203 | 287 | py | Python | audio/ffmpeg/__init__.py | joshbarrass/spyctrum | d3a081f5f120a62ee06da596b2385c5bfdf45c41 | [
"MIT"
] | null | null | null | audio/ffmpeg/__init__.py | joshbarrass/spyctrum | d3a081f5f120a62ee06da596b2385c5bfdf45c41 | [
"MIT"
] | null | null | null | audio/ffmpeg/__init__.py | joshbarrass/spyctrum | d3a081f5f120a62ee06da596b2385c5bfdf45c41 | [
"MIT"
] | null | null | null | """# ffmpeg wrapping functions
Provides simple bindings for calling ffmpeg
## Required Software
- ffmpeg
"""
# Optional TODO: increase usefulness of this module
from spyctrum.audio.ffmpeg.ffmpeg import call
from spyctrum.audio.ffmpeg.ffmpeg import FFMPEG_INSTALLED, FFmpegException
| 22.076923 | 74 | 0.801394 | 35 | 287 | 6.542857 | 0.685714 | 0.104803 | 0.148472 | 0.200873 | 0.305677 | 0.305677 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132404 | 287 | 12 | 75 | 23.916667 | 0.919679 | 0.54007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b7fc130394cbd81e6847b7e1c590ecfc6fdd9716 | 184 | py | Python | ufora/FORA/python/PurePython/testModules/same_line_number/A.py | ufora/ufora | 04db96ab049b8499d6d6526445f4f9857f1b6c7e | [
"Apache-2.0",
"CC0-1.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 571 | 2015-11-05T20:07:07.000Z | 2022-01-24T22:31:09.000Z | ufora/FORA/python/PurePython/testModules/same_line_number/A.py | timgates42/ufora | 04db96ab049b8499d6d6526445f4f9857f1b6c7e | [
"Apache-2.0",
"CC0-1.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 218 | 2015-11-05T20:37:55.000Z | 2021-05-30T03:53:50.000Z | ufora/FORA/python/PurePython/testModules/same_line_number/A.py | timgates42/ufora | 04db96ab049b8499d6d6526445f4f9857f1b6c7e | [
"Apache-2.0",
"CC0-1.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 40 | 2015-11-07T21:42:19.000Z | 2021-05-23T03:48:19.000Z | from ufora.FORA.python.PurePython.testModules.same_line_number.B import B
class A(object):
def __init__(self, m):
self.m = m
def foo(self):
return B(self.m)
| 18.4 | 73 | 0.652174 | 29 | 184 | 3.931034 | 0.689655 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233696 | 184 | 9 | 74 | 20.444444 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b7fc930ba61b14d72f2ca039c716f96d6709bee3 | 127 | py | Python | run_scratch.py | ksouvik52/Skpetical_NeurIPS2021 | cea386f0c6c7c293323e4103e6a0a62e52ce42c4 | [
"MIT"
] | 7 | 2022-01-04T14:12:38.000Z | 2022-03-16T21:21:38.000Z | run_scratch.py | ksouvik52/Skpetical_NeurIPS2021 | cea386f0c6c7c293323e4103e6a0a62e52ce42c4 | [
"MIT"
] | null | null | null | run_scratch.py | ksouvik52/Skpetical_NeurIPS2021 | cea386f0c6c7c293323e4103e6a0a62e52ce42c4 | [
"MIT"
] | 1 | 2022-01-09T05:27:50.000Z | 2022-01-09T05:27:50.000Z | import os
import sys
cmd1 = "python train_scratch.py --save_path='experiments/CIFAR10/baseline/mobilenetv2/'"
os.system(cmd1)
| 21.166667 | 88 | 0.787402 | 18 | 127 | 5.444444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043103 | 0.086614 | 127 | 5 | 89 | 25.4 | 0.801724 | 0 | 0 | 0 | 0 | 0 | 0.622047 | 0.433071 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4d31c708a8e68cdb286e2de49bbafe59f8c4b735 | 3,935 | py | Python | loglizer/preprocessing.py | nikile/loglizer | e37c661a7837fb30cd1dae1ba8cc2cd309c73333 | [
"MIT"
] | null | null | null | loglizer/preprocessing.py | nikile/loglizer | e37c661a7837fb30cd1dae1ba8cc2cd309c73333 | [
"MIT"
] | null | null | null | loglizer/preprocessing.py | nikile/loglizer | e37c661a7837fb30cd1dae1ba8cc2cd309c73333 | [
"MIT"
] | null | null | null | """
The interface for data preprocessing.
Authors:
LogPAI Team
"""
import numpy as np
import pandas as pd
from collections import Counter
class FeatureExtractor(object):
def __init__(self):
self.idf_vec = None
self.mean_vec = None
self.events = None
def df_fit_transform(self,... | 28.309353 | 92 | 0.563405 | 549 | 3,935 | 3.832423 | 0.189435 | 0.027091 | 0.028517 | 0.042776 | 0.75 | 0.740494 | 0.740494 | 0.740494 | 0.740494 | 0.740494 | 0 | 0.011689 | 0.326048 | 3,935 | 138 | 93 | 28.514493 | 0.781674 | 0.202541 | 0 | 0.602941 | 0 | 0 | 0.074461 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.044118 | 0 | 0.161765 | 0.088235 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4d341b19dcc0129429eecaa297a15d2c0f8f46bb | 322 | py | Python | app1/admin.py | Li-Xiaobai-poem/Li-Xiaobai | 126cc1b502e2f620c1fc883978c6a9b2ebf19bba | [
"MIT"
] | null | null | null | app1/admin.py | Li-Xiaobai-poem/Li-Xiaobai | 126cc1b502e2f620c1fc883978c6a9b2ebf19bba | [
"MIT"
] | null | null | null | app1/admin.py | Li-Xiaobai-poem/Li-Xiaobai | 126cc1b502e2f620c1fc883978c6a9b2ebf19bba | [
"MIT"
] | 1 | 2021-07-05T12:26:01.000Z | 2021-07-05T12:26:01.000Z | from django.contrib import admin
# Register your models here.
from app1.models import Release
from app1.models import Comments
from app1.models import User
from app1.models import Collections
admin.site.register(Release )
admin.site.register(Comments)
admin.site.register(User)
admin.site.register( Collection... | 29.272727 | 36 | 0.801242 | 45 | 322 | 5.733333 | 0.333333 | 0.124031 | 0.217054 | 0.310078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014235 | 0.127329 | 322 | 11 | 37 | 29.272727 | 0.903915 | 0.080745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4d94b1af851272e6532fdf4551267bbcaa07bfa5 | 100 | py | Python | BDFunction1D/__init__.py | bond-anton/BDFunction1D | d678355c093017c592d5c33ef170f5dd728ab1e2 | [
"Apache-2.0"
] | null | null | null | BDFunction1D/__init__.py | bond-anton/BDFunction1D | d678355c093017c592d5c33ef170f5dd728ab1e2 | [
"Apache-2.0"
] | null | null | null | BDFunction1D/__init__.py | bond-anton/BDFunction1D | d678355c093017c592d5c33ef170f5dd728ab1e2 | [
"Apache-2.0"
] | null | null | null | from ._version import __version__
from .Function import Function
from .Functional import Functional
| 25 | 34 | 0.85 | 12 | 100 | 6.666667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 3 | 35 | 33.333333 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4d9cb186050fdce21fcb1749232b15d0e82f0ab8 | 45 | py | Python | Tools/peg_generator/scripts/__init__.py | Krrishdhaneja/cpython | 9ae9ad8ba35cdcece7ded73cd2207e4f8cb85578 | [
"0BSD"
] | 1 | 2020-10-25T16:33:22.000Z | 2020-10-25T16:33:22.000Z | Tools/peg_generator/scripts/__init__.py | Krrishdhaneja/cpython | 9ae9ad8ba35cdcece7ded73cd2207e4f8cb85578 | [
"0BSD"
] | null | null | null | Tools/peg_generator/scripts/__init__.py | Krrishdhaneja/cpython | 9ae9ad8ba35cdcece7ded73cd2207e4f8cb85578 | [
"0BSD"
] | null | null | null | # This exists to let mypy find modules here
| 22.5 | 44 | 0.755556 | 8 | 45 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 45 | 1 | 45 | 45 | 0.971429 | 0.911111 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4db7cd33a212849a002e4f39602b2a16fe6e27c4 | 124 | py | Python | supplier/admin.py | oteejay/lms | be351c8ec7aee1f81dede6fcf4292c1ecad31c60 | [
"MIT"
] | null | null | null | supplier/admin.py | oteejay/lms | be351c8ec7aee1f81dede6fcf4292c1ecad31c60 | [
"MIT"
] | 11 | 2020-06-05T22:33:23.000Z | 2022-03-11T23:56:46.000Z | supplier/admin.py | oteejay/lms | be351c8ec7aee1f81dede6fcf4292c1ecad31c60 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Supplier
# Register your models here.
admin.site.register(Supplier)
| 15.5 | 32 | 0.798387 | 17 | 124 | 5.823529 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137097 | 124 | 7 | 33 | 17.714286 | 0.925234 | 0.209677 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4dc25b90ec49e9c2a89731c672dc7722b36a8636 | 3,968 | py | Python | tests/unit/utils/test_generate_utils.py | MaxTakahashi/hammr | cfe593ccfdddb7f98185e561feed6a40a866b585 | [
"Apache-2.0"
] | null | null | null | tests/unit/utils/test_generate_utils.py | MaxTakahashi/hammr | cfe593ccfdddb7f98185e561feed6a40a866b585 | [
"Apache-2.0"
] | null | null | null | tests/unit/utils/test_generate_utils.py | MaxTakahashi/hammr | cfe593ccfdddb7f98185e561feed6a40a866b585 | [
"Apache-2.0"
] | null | null | null | # Copyright 2007-2017 UShareSoft SAS, All rights reserved
#
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requi... | 35.428571 | 141 | 0.701865 | 410 | 3,968 | 6.492683 | 0.273171 | 0.067618 | 0.081142 | 0.042825 | 0.714125 | 0.712246 | 0.712246 | 0.712246 | 0.712246 | 0.613824 | 0 | 0.005577 | 0.231855 | 3,968 | 112 | 142 | 35.428571 | 0.867782 | 0.176663 | 0 | 0.490566 | 0 | 0 | 0.009583 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 1 | 0.113208 | false | 0 | 0.037736 | 0 | 0.377358 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1516c520f7ec8ac9c494dff385a59a48093ea59e | 1,139 | py | Python | pyaz/search/query_key/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/search/query_key/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/search/query_key/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | from ... pyaz_utils import _call_az
def list(resource_group, service_name):
'''
Required Parameters:
- resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
- service_name -- The name of the search service.
'''
return _c... | 30.783784 | 128 | 0.680421 | 153 | 1,139 | 4.915033 | 0.196078 | 0.155585 | 0.058511 | 0.069149 | 0.851064 | 0.836436 | 0.668883 | 0.668883 | 0.668883 | 0.668883 | 0 | 0 | 0.218613 | 1,139 | 36 | 129 | 31.638889 | 0.844944 | 0.585601 | 0 | 0 | 0 | 0 | 0.202667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 5 |
128c8799276a37790c5ba1be81a6ae1a6429aa2a | 11,926 | py | Python | src/counterfactual_explanation/flow_ssl/icnn/icnn.py | tridungduong16/fairCE | b13c72c253d875e68c0294b91aaddcbf93460d92 | [
"MIT"
] | null | null | null | src/counterfactual_explanation/flow_ssl/icnn/icnn.py | tridungduong16/fairCE | b13c72c253d875e68c0294b91aaddcbf93460d92 | [
"MIT"
] | null | null | null | src/counterfactual_explanation/flow_ssl/icnn/icnn.py | tridungduong16/fairCE | b13c72c253d875e68c0294b91aaddcbf93460d92 | [
"MIT"
] | null | null | null | import torch
import torch.nn.functional as F
import torch.nn as nn
from torch.distributions.independent import Independent
from torch.distributions.normal import Normal
import numpy as np
from ..utils import export, Named, Expression
from ..conv_parts import ResBlock,conv2d
from ..invertible import SqueezeLayer,padChan... | 33.312849 | 118 | 0.558611 | 1,273 | 11,926 | 5.090338 | 0.102121 | 0.08179 | 0.048148 | 0.054321 | 0.770062 | 0.765432 | 0.73642 | 0.676852 | 0.646759 | 0.618519 | 0 | 0.043283 | 0.31033 | 11,926 | 357 | 119 | 33.406162 | 0.744559 | 0.016183 | 0 | 0.730159 | 0 | 0 | 0.000512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053968 | false | 0.142857 | 0.04127 | 0.019048 | 0.152381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
12a5b9562a3f57aa565d31eeaaf5edbfc389545f | 109 | py | Python | Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/ip_configuration.py | XiaoxiaoMa0815/Recognizers-Text | d9a4bc939348bd79b5982345255961dff5f356c6 | [
"MIT"
] | 2 | 2017-08-22T11:21:19.000Z | 2017-09-17T20:06:00.000Z | Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/ip_configuration.py | XiaoxiaoMa0815/Recognizers-Text | d9a4bc939348bd79b5982345255961dff5f356c6 | [
"MIT"
] | 76 | 2018-11-09T18:19:44.000Z | 2019-08-20T20:29:53.000Z | Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/ip_configuration.py | XiaoxiaoMa0815/Recognizers-Text | d9a4bc939348bd79b5982345255961dff5f356c6 | [
"MIT"
] | 6 | 2017-05-04T17:24:59.000Z | 2019-07-23T15:48:44.000Z | class IpConfiguration:
options: object
def __init__(self, options):
self.options = options
| 15.571429 | 32 | 0.669725 | 11 | 109 | 6.272727 | 0.636364 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256881 | 109 | 6 | 33 | 18.166667 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
12b05293992b33d0b272a9e9327c9b8800e9327d | 2,217 | py | Python | tests/test_include_parser.py | jeeb/EasyClangComplete | 0d0e4338c31e8fcffd9809cbce9d8a02b0e69fe2 | [
"MIT"
] | null | null | null | tests/test_include_parser.py | jeeb/EasyClangComplete | 0d0e4338c31e8fcffd9809cbce9d8a02b0e69fe2 | [
"MIT"
] | null | null | null | tests/test_include_parser.py | jeeb/EasyClangComplete | 0d0e4338c31e8fcffd9809cbce9d8a02b0e69fe2 | [
"MIT"
] | null | null | null | """Test compilation database flags generation."""
import imp
from unittest import TestCase
from os import path
from EasyClangComplete.plugin.utils import include_parser
imp.reload(include_parser)
class TestIncludeParser(TestCase):
"""Test unique list."""
def test_get_all_includes(self):
"""Test get... | 36.95 | 75 | 0.650429 | 255 | 2,217 | 5.286275 | 0.25098 | 0.080119 | 0.115727 | 0.059347 | 0.793769 | 0.775223 | 0.775223 | 0.775223 | 0.775223 | 0.775223 | 0 | 0.001785 | 0.241768 | 2,217 | 59 | 76 | 37.576271 | 0.800119 | 0.073072 | 0 | 0.695652 | 0 | 0 | 0.057664 | 0.011828 | 0 | 0 | 0 | 0 | 0.152174 | 1 | 0.065217 | false | 0 | 0.086957 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
12be6ecfdacaff1901cdeb077ca9d25db61fca38 | 484 | py | Python | src/patterns.py | AbiFranklin/Cellular-Automata | 545baab2ea75eff1dbf8f048ee0607781528161d | [
"MIT"
] | null | null | null | src/patterns.py | AbiFranklin/Cellular-Automata | 545baab2ea75eff1dbf8f048ee0607781528161d | [
"MIT"
] | null | null | null | src/patterns.py | AbiFranklin/Cellular-Automata | 545baab2ea75eff1dbf8f048ee0607781528161d | [
"MIT"
] | null | null | null | blinker = [(1,1), (2,1), (3,1), (6,1), (7,1), (8,1), (11,1), (12,1), (13,1), (16,1), (17,1), (18,1), (1,9), (2,9), (3,9), (6,9), (7,9), (8,9), (11,9), (12,9), (13,9), (16,9), (17,9), (18,9), (1,17), (2,17), (3,17), (6,17), (7,17), (8,17), (11,17), (12,17), (13,17), (16,17), (17,17), (18,17), (2,4), (2,5), (2,6), (2,12)... | 484 | 484 | 0.373967 | 121 | 484 | 1.495868 | 0.140496 | 0.022099 | 0.055249 | 0.088398 | 0.110497 | 0 | 0 | 0 | 0 | 0 | 0 | 0.411348 | 0.126033 | 484 | 1 | 484 | 484 | 0.016548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
12caf5c164cd88b0c4d134081de48e6b194f78aa | 25,115 | py | Python | src/rtdb/raw_models.py | UNINETT/django-rtdb | a8af13c1756581fee0a02a9da9cbb4d252d77dab | [
"MIT"
] | null | null | null | src/rtdb/raw_models.py | UNINETT/django-rtdb | a8af13c1756581fee0a02a9da9cbb4d252d77dab | [
"MIT"
] | null | null | null | src/rtdb/raw_models.py | UNINETT/django-rtdb | a8af13c1756581fee0a02a9da9cbb4d252d77dab | [
"MIT"
] | null | null | null | # This is an auto-generated Django model module.
# You'll have to do the following manually to clean this up:
# * Rearrange models' order
# * Make sure each model has one field with primary_key=True
# * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table
# Feel free ... | 37.152367 | 112 | 0.715708 | 2,885 | 25,115 | 6.159792 | 0.108492 | 0.096731 | 0.139722 | 0.182713 | 0.799111 | 0.772269 | 0.708626 | 0.68775 | 0.678803 | 0.55962 | 0 | 0.015607 | 0.175951 | 25,115 | 675 | 113 | 37.207407 | 0.843061 | 0.028748 | 0 | 0.571429 | 1 | 0 | 0.022151 | 0.000943 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.001855 | 0.003711 | 0 | 0.83859 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
12e2ced74d860837a6c7fecb85b72f70c40d7266 | 10 | py | Python | icnn_torch/__init__.py | kencan7749/pytorch_iCNN | 059bf90e4e024592e2183a2bd29ee8bb3f2961a7 | [
"MIT"
] | 6 | 2020-10-20T08:25:48.000Z | 2022-01-09T14:03:16.000Z | icnn_torch/__init__.py | kencan7749/pytorch_iCNN | 059bf90e4e024592e2183a2bd29ee8bb3f2961a7 | [
"MIT"
] | null | null | null | icnn_torch/__init__.py | kencan7749/pytorch_iCNN | 059bf90e4e024592e2183a2bd29ee8bb3f2961a7 | [
"MIT"
] | 4 | 2020-09-11T03:18:51.000Z | 2022-01-09T14:03:36.000Z | """icnn""" | 10 | 10 | 0.4 | 1 | 10 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 | 1 | 10 | 10 | 0.4 | 0.4 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
12ec8d7f0f18759449943537f209607df378dde1 | 102 | py | Python | alvinchow_backend/app/__init__.py | alvinchow86/python-backend-template | 46c07d733d68bc8682afd8510a17bc2aa360c606 | [
"MIT"
] | 6 | 2021-01-07T00:20:49.000Z | 2022-01-13T04:53:12.000Z | alvinchow_backend/app/__init__.py | alvinchow86/python-backend-template | 46c07d733d68bc8682afd8510a17bc2aa360c606 | [
"MIT"
] | 4 | 2021-01-06T22:07:43.000Z | 2021-06-02T01:52:41.000Z | alvinchow_backend/app/__init__.py | alvinchow86/python-backend-template | 46c07d733d68bc8682afd8510a17bc2aa360c606 | [
"MIT"
] | 1 | 2021-11-09T07:46:44.000Z | 2021-11-09T07:46:44.000Z | # flake8: noqa
from .configuration import config
from .initialization import initialize, app_context
| 20.4 | 51 | 0.823529 | 12 | 102 | 6.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.127451 | 102 | 4 | 52 | 25.5 | 0.921348 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
12f58ac788b5d6fa42543aefc8b1fc85f1c85976 | 48 | py | Python | modules/bot/messages/__init__.py | vladpi/zenmoney-bot | 280723a49979632811f585fb8dced3c396fe563a | [
"Apache-2.0"
] | null | null | null | modules/bot/messages/__init__.py | vladpi/zenmoney-bot | 280723a49979632811f585fb8dced3c396fe563a | [
"Apache-2.0"
] | 1 | 2022-02-16T22:29:36.000Z | 2022-02-16T22:29:54.000Z | modules/bot/messages/__init__.py | vladpi/zenmoney-bot | 280723a49979632811f585fb8dced3c396fe563a | [
"Apache-2.0"
] | null | null | null | from . import add_expense, set_defaults # noqa
| 24 | 47 | 0.770833 | 7 | 48 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 1 | 48 | 48 | 0.875 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
420796cfbc007982c73f99e9f6c6855b6ce74e94 | 11,113 | py | Python | tests/test_transforms/test_missing_values/test_impute_transform.py | Pacman1984/etna | 9b3ccb980e576d56858f14aca2e06ce2957b0fa9 | [
"Apache-2.0"
] | 96 | 2021-09-05T06:29:34.000Z | 2021-11-07T15:22:54.000Z | tests/test_transforms/test_missing_values/test_impute_transform.py | Pacman1984/etna | 9b3ccb980e576d56858f14aca2e06ce2957b0fa9 | [
"Apache-2.0"
] | 188 | 2021-09-06T15:59:58.000Z | 2021-11-17T09:34:16.000Z | tests/test_transforms/test_missing_values/test_impute_transform.py | Pacman1984/etna | 9b3ccb980e576d56858f14aca2e06ce2957b0fa9 | [
"Apache-2.0"
] | 8 | 2021-09-06T09:18:35.000Z | 2021-11-11T21:18:39.000Z | import numpy as np
import pandas as pd
import pytest
from etna.datasets import TSDataset
from etna.models import NaiveModel
from etna.transforms.missing_values import TimeSeriesImputerTransform
from etna.transforms.missing_values.imputation import _OneSegmentTimeSeriesImputerTransform
def test_wrong_init_one_segment... | 51.211982 | 119 | 0.758301 | 1,505 | 11,113 | 5.314286 | 0.092359 | 0.03901 | 0.035759 | 0.043761 | 0.842461 | 0.777319 | 0.752188 | 0.730933 | 0.679295 | 0.626032 | 0 | 0.002803 | 0.133177 | 11,113 | 216 | 120 | 51.449074 | 0.827468 | 0.148205 | 0 | 0.578947 | 0 | 0 | 0.07464 | 0 | 0 | 0 | 0 | 0 | 0.164474 | 1 | 0.131579 | false | 0 | 0.046053 | 0 | 0.177632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
421c31b5a532f664d94b87ff14da13cd6a784517 | 55 | py | Python | baselines/ple/games/__init__.py | MouseHu/emdqn | ba907e959f21dd0b5a17117accccae9c82a79a3b | [
"MIT"
] | null | null | null | baselines/ple/games/__init__.py | MouseHu/emdqn | ba907e959f21dd0b5a17117accccae9c82a79a3b | [
"MIT"
] | null | null | null | baselines/ple/games/__init__.py | MouseHu/emdqn | ba907e959f21dd0b5a17117accccae9c82a79a3b | [
"MIT"
] | 1 | 2021-04-26T13:55:47.000Z | 2021-04-26T13:55:47.000Z | from baselines.ple.games.monsterkong import MonsterKong | 55 | 55 | 0.890909 | 7 | 55 | 7 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 55 | 1 | 55 | 55 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
422fbdfead8482493d16ff4fa25602e6ae1f849c | 95 | py | Python | util/extensions/python_extensions.py | kognitive/BootstrappedDQN | 0d72e0a3e6f39c9a4e797a17911e2beec352b14a | [
"MIT"
] | 2 | 2020-08-08T13:21:40.000Z | 2021-09-28T14:40:11.000Z | util/extensions/python_extensions.py | kosmitive/bootstrapped-dqn | 0d72e0a3e6f39c9a4e797a17911e2beec352b14a | [
"MIT"
] | null | null | null | util/extensions/python_extensions.py | kosmitive/bootstrapped-dqn | 0d72e0a3e6f39c9a4e797a17911e2beec352b14a | [
"MIT"
] | null | null | null |
def set_default_val(config, key, value):
if key not in config:
config[key] = value | 23.75 | 40 | 0.652632 | 15 | 95 | 4 | 0.666667 | 0.3 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252632 | 95 | 4 | 41 | 23.75 | 0.84507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
423c53b240d2d832369168b2fc84f3596daabeae | 73 | py | Python | xvision/ops/__init__.py | jimmysue/xvision | bf5aa567a197b3e4c9fdd285c80b4f7512d14d7a | [
"MIT"
] | 3 | 2021-04-08T10:50:53.000Z | 2021-11-15T07:26:16.000Z | xvision/ops/__init__.py | jimmysue/xvision | bf5aa567a197b3e4c9fdd285c80b4f7512d14d7a | [
"MIT"
] | 3 | 2021-08-05T07:40:52.000Z | 2021-11-16T05:53:29.000Z | xvision/ops/__init__.py | jimmysue/xvision | bf5aa567a197b3e4c9fdd285c80b4f7512d14d7a | [
"MIT"
] | 1 | 2021-12-15T05:57:48.000Z | 2021-12-15T05:57:48.000Z | from .euclidean_loss import euclidean_loss
from .emd_loss import emd_loss | 36.5 | 42 | 0.876712 | 12 | 73 | 5 | 0.416667 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 73 | 2 | 43 | 36.5 | 0.909091 | 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 | 0 | 0 | 0 | 5 |
423ec184c5045ba6b6b791f7f08adee388268c61 | 34 | py | Python | do-cleaner.py | kintarowonders/archive-scripts | 9b628b1ad6e926b6a1e376157f847388e81f8a82 | [
"Unlicense"
] | null | null | null | do-cleaner.py | kintarowonders/archive-scripts | 9b628b1ad6e926b6a1e376157f847388e81f8a82 | [
"Unlicense"
] | null | null | null | do-cleaner.py | kintarowonders/archive-scripts | 9b628b1ad6e926b6a1e376157f847388e81f8a82 | [
"Unlicense"
] | null | null | null | import cleaner
cleaner.doClean()
| 8.5 | 17 | 0.794118 | 4 | 34 | 6.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 3 | 18 | 11.333333 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
423fc1a40a893cdaf544427f56605cd0ffa3181d | 22,627 | py | Python | tests/unit/test_cache.py | scorphus/holmes-api | 6b3c76d4299fecf2d8799d7b5c3c6a6442cacd59 | [
"MIT"
] | null | null | null | tests/unit/test_cache.py | scorphus/holmes-api | 6b3c76d4299fecf2d8799d7b5c3c6a6442cacd59 | [
"MIT"
] | null | null | null | tests/unit/test_cache.py | scorphus/holmes-api | 6b3c76d4299fecf2d8799d7b5c3c6a6442cacd59 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
import time
from gzip import GzipFile
from cStringIO import StringIO
from ujson import dumps, loads
import msgpack
from preggy import expect
from tornado.testing import gen_test
from tornado.gen import Task
from holmes.cache import Cache
from holmes.models import Domain, Lim... | 32.004243 | 117 | 0.614752 | 3,045 | 22,627 | 4.335632 | 0.066338 | 0.060673 | 0.086654 | 0.053174 | 0.823284 | 0.793743 | 0.735343 | 0.710953 | 0.694364 | 0.681563 | 0 | 0.011132 | 0.253591 | 22,627 | 706 | 118 | 32.049575 | 0.770561 | 0.006541 | 0 | 0.613333 | 0 | 0 | 0.091225 | 0.003337 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.022857 | 0.005714 | 0.112381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
42565dbd3b0b8e2cc95cdad859eb0379be98259b | 38 | py | Python | plugins/__init__.py | Transisto/bitHopper | b4a946843b340c0b90c30f60aa15976002cf686e | [
"MIT"
] | 1 | 2017-05-20T21:07:17.000Z | 2017-05-20T21:07:17.000Z | plugins/__init__.py | Transisto/bitHopper | b4a946843b340c0b90c30f60aa15976002cf686e | [
"MIT"
] | null | null | null | plugins/__init__.py | Transisto/bitHopper | b4a946843b340c0b90c30f60aa15976002cf686e | [
"MIT"
] | null | null | null | """A file so we can import plugins"""
| 19 | 37 | 0.657895 | 7 | 38 | 3.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 1 | 38 | 38 | 0.806452 | 0.815789 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4297468a67fef4463995bfaa9ea0ced35e5c30a0 | 213 | py | Python | testing/utils.py | MideTechnology/idelib | 6c73997ab7e5a8b42e6450b35f71f7aa70aa73c9 | [
"MIT"
] | 5 | 2020-07-21T15:13:18.000Z | 2021-10-05T01:28:39.000Z | testing/utils.py | MideTechnology/idelib | 6c73997ab7e5a8b42e6450b35f71f7aa70aa73c9 | [
"MIT"
] | 91 | 2020-07-21T15:51:32.000Z | 2022-03-29T03:19:27.000Z | testing/utils.py | MideTechnology/idelib | 6c73997ab7e5a8b42e6450b35f71f7aa70aa73c9 | [
"MIT"
] | null | null | null | class nullcontext:
""" A replacement for `contextlib.nullcontext` for python versions before 3.7
"""
def __enter__(self):
pass
def __exit__(self, exc_type, exc_val, exc_tb):
pass
| 21.3 | 81 | 0.643192 | 27 | 213 | 4.666667 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012739 | 0.262911 | 213 | 9 | 82 | 23.666667 | 0.789809 | 0.342723 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
c43abc86922ba27a3c31ae2936270c416a7d0ff3 | 101 | py | Python | hooks/hook-dash_tabulator.py | soerendip/ms-mint | bf5f5d87d07a0d2108c6cd0d92c278f2ea762e58 | [
"MIT"
] | 1 | 2021-09-03T04:02:25.000Z | 2021-09-03T04:02:25.000Z | hooks/hook-dash_tabulator.py | soerendip/ms-mint | bf5f5d87d07a0d2108c6cd0d92c278f2ea762e58 | [
"MIT"
] | 3 | 2020-09-29T21:43:39.000Z | 2021-07-21T22:18:27.000Z | hooks/hook-dash_tabulator.py | soerendip/ms-mint | bf5f5d87d07a0d2108c6cd0d92c278f2ea762e58 | [
"MIT"
] | 4 | 2019-11-14T13:25:24.000Z | 2021-04-30T22:08:53.000Z | from PyInstaller.utils.hooks import collect_data_files
datas = collect_data_files("dash_tabulator")
| 25.25 | 54 | 0.851485 | 14 | 101 | 5.785714 | 0.785714 | 0.271605 | 0.395062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 101 | 3 | 55 | 33.666667 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.138614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c459ff3988d44f7fdfe023c98de4d118abe1479b | 29 | py | Python | __init__.py | sharababy/pca_pkg | 7cd7d8b8625aa03675bb2fd6704884f739966653 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | sharababy/pca_pkg | 7cd7d8b8625aa03675bb2fd6704884f739966653 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | sharababy/pca_pkg | 7cd7d8b8625aa03675bb2fd6704884f739966653 | [
"BSD-3-Clause"
] | null | null | null | from pcapkg.pcapkg import PCA | 29 | 29 | 0.862069 | 5 | 29 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c47495fe66a5ff1562e1e3b165380cafec2e4edc | 143 | py | Python | beamline/miners/__init__.py | beamline/core-py | 83234116e62bf6107a812d3ebd9a964c5b601b24 | [
"Apache-2.0"
] | null | null | null | beamline/miners/__init__.py | beamline/core-py | 83234116e62bf6107a812d3ebd9a964c5b601b24 | [
"Apache-2.0"
] | null | null | null | beamline/miners/__init__.py | beamline/core-py | 83234116e62bf6107a812d3ebd9a964c5b601b24 | [
"Apache-2.0"
] | null | null | null | from beamline.web.Beamline import Beamline
from beamline.miners.DiscoveryMiner import DiscoveryMiner
Beamline.miners.append(DiscoveryMiner())
| 28.6 | 57 | 0.86014 | 16 | 143 | 7.6875 | 0.4375 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06993 | 143 | 4 | 58 | 35.75 | 0.924812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
670d6db67899919907083a848e52fbaaac663283 | 5,907 | py | Python | WeOptPy/algorithms/sade.py | kb2623/WeOptPy | 2e9e75acf8fedde0ae4c99da6c786a712d4f011c | [
"MIT"
] | 1 | 2021-05-12T10:02:21.000Z | 2021-05-12T10:02:21.000Z | WeOptPy/algorithms/sade.py | kb2623/WeOptPy | 2e9e75acf8fedde0ae4c99da6c786a712d4f011c | [
"MIT"
] | null | null | null | WeOptPy/algorithms/sade.py | kb2623/WeOptPy | 2e9e75acf8fedde0ae4c99da6c786a712d4f011c | [
"MIT"
] | null | null | null | # encoding=utf8
"""Adaptive differential evolution module."""
from WeOptPy.algorithms.de import (
# CrossBest1,
# CrossRand1,
# CrossCurr2Best1,
# CrossBest2,
# CrossCurr2Rand1,
# proportional,
DifferentialEvolution
)
__all__ = [
'StrategyAdaptationDifferentialEvolution',
'StrategyAdaptationDifferentialEvol... | 29.242574 | 239 | 0.746403 | 662 | 5,907 | 6.629909 | 0.225076 | 0.032809 | 0.061517 | 0.04648 | 0.793803 | 0.73707 | 0.73707 | 0.714969 | 0.664844 | 0.664844 | 0 | 0.018262 | 0.156425 | 5,907 | 201 | 240 | 29.38806 | 0.862533 | 0.766379 | 0 | 0.439024 | 0 | 0.04878 | 0.361298 | 0.097979 | 0 | 0 | 0 | 0.039801 | 0 | 1 | 0.195122 | false | 0 | 0.02439 | 0 | 0.463415 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
671ec69cd27926b85cc9f9b6418aae2b4b6dea08 | 9,253 | py | Python | unittests/test_args.py | pcjco/PyFuzzy-renamer | a8656f9d5b959a9e0d6c4e286c68e948e9cba80c | [
"MIT"
] | 2 | 2021-07-12T17:46:31.000Z | 2022-03-13T23:30:08.000Z | unittests/test_args.py | pcjco/PyFuzzy-renamer | a8656f9d5b959a9e0d6c4e286c68e948e9cba80c | [
"MIT"
] | null | null | null | unittests/test_args.py | pcjco/PyFuzzy-renamer | a8656f9d5b959a9e0d6c4e286c68e948e9cba80c | [
"MIT"
] | 1 | 2021-07-19T21:27:23.000Z | 2021-07-19T21:27:23.000Z | import argparse
import io
import os
import shutil
import unittest
import wx
from pathlib import Path
from contextlib import redirect_stdout
from unittests import pfr
from pyfuzzyrenamer import args, config, filters, main_listctrl, main_dlg, masks
from pyfuzzyrenamer.config import get_config
from pyfuzzyrenamer.args im... | 46.265 | 125 | 0.545012 | 923 | 9,253 | 5.32286 | 0.150596 | 0.070832 | 0.091594 | 0.130267 | 0.789742 | 0.789742 | 0.789742 | 0.737024 | 0.713617 | 0.713617 | 0 | 0.008674 | 0.30228 | 9,253 | 199 | 126 | 46.497487 | 0.752323 | 0.016319 | 0 | 0.662921 | 0 | 0 | 0.241235 | 0.010001 | 0.022472 | 0 | 0 | 0 | 0.022472 | 1 | 0.022472 | false | 0.005618 | 0.067416 | 0 | 0.095506 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6746e70616a4df84c91956e42c58622f4b7ae111 | 211 | py | Python | tests/old-tests/test_logout.py | SynBioHub/synbiohub | 57f00336714de8f0385d5d6b6053cd2ea4be297b | [
"BSD-2-Clause"
] | 53 | 2017-03-13T11:10:24.000Z | 2022-03-23T00:34:24.000Z | tests/test_logout.py | danyentezari/synbiohub | 09317e3eb3820c596502efad441031835698ad54 | [
"BSD-2-Clause"
] | 1,049 | 2017-02-17T21:14:42.000Z | 2022-03-22T22:57:04.000Z | tests/test_logout.py | danyentezari/synbiohub | 09317e3eb3820c596502efad441031835698ad54 | [
"BSD-2-Clause"
] | 24 | 2017-03-14T07:39:20.000Z | 2021-11-04T18:51:08.000Z | import requests
from unittest import TestCase
from test_functions import compare_get_request, compare_post_request
class TestLogout(TestCase):
def test_logout(self):
compare_get_request("/logout")
| 23.444444 | 68 | 0.800948 | 27 | 211 | 5.962963 | 0.592593 | 0.124224 | 0.21118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14218 | 211 | 8 | 69 | 26.375 | 0.889503 | 0 | 0 | 0 | 0 | 0 | 0.033175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
674d3c74e7944168418105cd94816bf3660d8500 | 90 | py | Python | build/lib/jhu_primitives/adj_concat/__init__.py | hhelm10/primitives-interfaces | 15766d77dae016fa699a46bade0fe66711b23459 | [
"Apache-2.0"
] | null | null | null | build/lib/jhu_primitives/adj_concat/__init__.py | hhelm10/primitives-interfaces | 15766d77dae016fa699a46bade0fe66711b23459 | [
"Apache-2.0"
] | 23 | 2017-09-20T08:12:13.000Z | 2022-03-01T01:49:11.000Z | build/lib/jhu_primitives/adj_concat/__init__.py | hhelm10/primitives-interfaces | 15766d77dae016fa699a46bade0fe66711b23459 | [
"Apache-2.0"
] | 8 | 2018-05-14T18:44:38.000Z | 2021-03-18T19:53:23.000Z | from __future__ import absolute_import
from .adj_concat import AdjacencyMatrixConcatenator | 45 | 51 | 0.911111 | 10 | 90 | 7.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077778 | 90 | 2 | 51 | 45 | 0.915663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
675386fbc404743db53dfa93ca72cf683eb58c7f | 754 | py | Python | huq/__init__.py | huq-industries/airflow-plugins | 98a9cdc8981cfbe7d28fabaeaadd19c5e2f02709 | [
"Apache-2.0"
] | null | null | null | huq/__init__.py | huq-industries/airflow-plugins | 98a9cdc8981cfbe7d28fabaeaadd19c5e2f02709 | [
"Apache-2.0"
] | 12 | 2019-07-08T14:49:19.000Z | 2022-02-08T15:15:49.000Z | huq/__init__.py | huq-industries/airflow-plugins | 98a9cdc8981cfbe7d28fabaeaadd19c5e2f02709 | [
"Apache-2.0"
] | 1 | 2019-10-28T15:39:44.000Z | 2019-10-28T15:39:44.000Z | from airflow.plugins_manager import AirflowPlugin
from huq.gcs import (
GoogleCloudStorageComposePrefixOperator,
GoogleCloudStorageToS3CopyObjectListOperator,
GoogleCloudStorageToS3CopyOperator,
GoogleCloudStorageToS3CopyPrefixOperator,
)
# Defining the plugin class
class AirflowHuqPlugin(AirflowPlug... | 26 | 53 | 0.72679 | 43 | 754 | 12.581395 | 0.72093 | 0.306839 | 0.432532 | 0.580407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01005 | 0.208223 | 754 | 28 | 54 | 26.928571 | 0.896147 | 0.033157 | 0 | 0.333333 | 0 | 0 | 0.004127 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.583333 | 0.041667 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
675e9648febed893f4fda7d5147536bd716154a1 | 69 | py | Python | Streamlit/pages/page2.py | jhockx/server-configuration | 106bc6c0a57eaa582486701c80aac4f968ef0ba0 | [
"MIT"
] | 1 | 2021-04-28T06:15:14.000Z | 2021-04-28T06:15:14.000Z | Streamlit/pages/page2.py | jhockx/server-configuration | 106bc6c0a57eaa582486701c80aac4f968ef0ba0 | [
"MIT"
] | null | null | null | Streamlit/pages/page2.py | jhockx/server-configuration | 106bc6c0a57eaa582486701c80aac4f968ef0ba0 | [
"MIT"
] | null | null | null | import streamlit as st
def main():
st.title('Page 2 -- TITLE')
| 11.5 | 31 | 0.623188 | 11 | 69 | 3.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.231884 | 69 | 5 | 32 | 13.8 | 0.792453 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6771d154fc3ef17af804af19e66c2fb3dae9fc39 | 143 | py | Python | FileUtilities/__init__.py | RainbowRedux/RainbowSixFileConverters | 1f755f781ee85af068ba7bcc73d4960998363794 | [
"MIT"
] | 6 | 2020-03-28T14:32:25.000Z | 2022-02-03T00:41:24.000Z | FileUtilities/__init__.py | RainbowRedux/RainbowSixFileConverters | 1f755f781ee85af068ba7bcc73d4960998363794 | [
"MIT"
] | 46 | 2020-03-20T06:27:30.000Z | 2022-03-11T23:36:12.000Z | FileUtilities/__init__.py | RainbowRedux/RainbowSixFileConverters | 1f755f781ee85af068ba7bcc73d4960998363794 | [
"MIT"
] | 4 | 2020-02-09T01:55:44.000Z | 2020-07-22T12:52:43.000Z | """This module provides many utility classes and functions related to dealing with files, especially tokenized text files and binary files."""
| 71.5 | 142 | 0.804196 | 20 | 143 | 5.75 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13986 | 143 | 1 | 143 | 143 | 0.934959 | 0.951049 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
679ac005083c4525ad369214189335440ddaaa3c | 409 | py | Python | pypushwoosh/exceptions.py | shiratamu/pushwoosh-python-lib | da05d7b72729ebfc65a7ab0b08c9009632a38833 | [
"MIT"
] | 18 | 2015-01-08T19:51:42.000Z | 2021-11-12T11:42:18.000Z | pypushwoosh/exceptions.py | shiratamu/pushwoosh-python-lib | da05d7b72729ebfc65a7ab0b08c9009632a38833 | [
"MIT"
] | 7 | 2015-03-08T09:01:03.000Z | 2017-11-13T05:26:21.000Z | pypushwoosh/exceptions.py | shiratamu/pushwoosh-python-lib | da05d7b72729ebfc65a7ab0b08c9009632a38833 | [
"MIT"
] | 18 | 2015-02-17T03:40:54.000Z | 2021-11-25T02:26:44.000Z | class PushwooshException(Exception):
pass
class PushwooshCommandException(PushwooshException):
pass
class PushwooshNotificationException(PushwooshException):
pass
class PushwooshFilterException(PushwooshException):
pass
class PushwooshFilterInvalidOperatorException(PushwooshFilterException):
... | 17.782609 | 72 | 0.828851 | 24 | 409 | 14.125 | 0.375 | 0.132743 | 0.238938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127139 | 409 | 22 | 73 | 18.590909 | 0.94958 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
67c68c0ed446129b670948467ddb50def78948ce | 164 | py | Python | allauth/socialaccount/providers/yandex/urls.py | Yurzs/django-allauth | 4434e8fd488a7ea01acabdfe41a011df6899d9c9 | [
"MIT"
] | null | null | null | allauth/socialaccount/providers/yandex/urls.py | Yurzs/django-allauth | 4434e8fd488a7ea01acabdfe41a011df6899d9c9 | [
"MIT"
] | null | null | null | allauth/socialaccount/providers/yandex/urls.py | Yurzs/django-allauth | 4434e8fd488a7ea01acabdfe41a011df6899d9c9 | [
"MIT"
] | null | null | null | from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns
from .provider import YandexProvider
urlpatterns = default_urlpatterns(YandexProvider) | 32.8 | 75 | 0.878049 | 17 | 164 | 8.352941 | 0.647059 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.073171 | 164 | 5 | 76 | 32.8 | 0.927632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
67d9503e659a2d1fb60ade1db6cff339bbb09b47 | 295 | py | Python | sheetfu/config.py | darkroomdave/sheetfu | c0d638c0fbbb62a1d887b44bfba1c0cea3864e29 | [
"MIT"
] | 893 | 2018-01-22T13:36:44.000Z | 2022-03-28T17:51:15.000Z | sheetfu/config.py | ye-man/sheetfu | 573b147014b6fd5ea71bf04bd130bd0c7c9be4c5 | [
"MIT"
] | 48 | 2018-01-23T10:32:38.000Z | 2022-03-22T09:39:54.000Z | sheetfu/config.py | ye-man/sheetfu | 573b147014b6fd5ea71bf04bd130bd0c7c9be4c5 | [
"MIT"
] | 48 | 2018-01-26T11:46:11.000Z | 2021-11-09T01:43:31.000Z | fields_masks = {
'background': "sheets/data/rowData/values/effectiveFormat/backgroundColor",
'value': "sheets/data/rowData/values/formattedValue",
'note': "sheets/data/rowData/values/note",
'font_color': "sheets/data/rowData/values/effectiveFormat/textFormat/foregroundColor"
}
| 36.875 | 89 | 0.749153 | 30 | 295 | 7.3 | 0.533333 | 0.182648 | 0.310502 | 0.420091 | 0.347032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098305 | 295 | 7 | 90 | 42.142857 | 0.823308 | 0 | 0 | 0 | 0 | 0 | 0.77551 | 0.676871 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
67fd00e016ec4bbd3239f9c39709c41bd01f8c00 | 5,227 | py | Python | tests/rulesets/sample_rules.py | wandsdn/ofsolver | 64795a84220416b1a2e4df13198c6529995b7f53 | [
"Apache-2.0"
] | 1 | 2020-04-10T07:22:19.000Z | 2020-04-10T07:22:19.000Z | tests/rulesets/sample_rules.py | wandsdn/ofsolver | 64795a84220416b1a2e4df13198c6529995b7f53 | [
"Apache-2.0"
] | null | null | null | tests/rulesets/sample_rules.py | wandsdn/ofsolver | 64795a84220416b1a2e4df13198c6529995b7f53 | [
"Apache-2.0"
] | null | null | null | from ryu.ofproto import ofproto_v1_3
from ryu.ofproto import ofproto_v1_3_parser as parser
import pickle
"""
Make the rules for a simple L2 L3 pipeline
ETH_DST 1&2
+--------------+
|... | 31.871951 | 66 | 0.396786 | 381 | 5,227 | 5.275591 | 0.183727 | 0.014925 | 0.137313 | 0.149254 | 0.834826 | 0.819403 | 0.819403 | 0.762189 | 0.697512 | 0.697512 | 0 | 0.062663 | 0.487086 | 5,227 | 163 | 67 | 32.067485 | 0.687057 | 0.005931 | 0 | 0.644628 | 0 | 0 | 0.019231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.024793 | 0 | 0.024793 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
db35727308ab39b215daf0b30c555dacb1e41083 | 157 | py | Python | player.py | neurotechuoft/EMGTugOfWar | a29daaf793e179e3d1bb8bab6391980356615be5 | [
"MIT"
] | null | null | null | player.py | neurotechuoft/EMGTugOfWar | a29daaf793e179e3d1bb8bab6391980356615be5 | [
"MIT"
] | null | null | null | player.py | neurotechuoft/EMGTugOfWar | a29daaf793e179e3d1bb8bab6391980356615be5 | [
"MIT"
] | null | null | null | class Player():
def __init__(self, name):
self.name = name
self.force = 0.0
def set_force(self, force):
self.force = force
| 17.444444 | 31 | 0.56051 | 21 | 157 | 3.952381 | 0.428571 | 0.325301 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.324841 | 157 | 8 | 32 | 19.625 | 0.764151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e1f02855e5236bd4c27a32990bcec5882a8e0f3d | 115 | py | Python | Client/App/Core/Resources/__init__.py | Dragon-KK/ComputerProject2021 | 669431f3f2d41bda822931e6fffe661c99736dfe | [
"MIT"
] | null | null | null | Client/App/Core/Resources/__init__.py | Dragon-KK/ComputerProject2021 | 669431f3f2d41bda822931e6fffe661c99736dfe | [
"MIT"
] | null | null | null | Client/App/Core/Resources/__init__.py | Dragon-KK/ComputerProject2021 | 669431f3f2d41bda822931e6fffe661c99736dfe | [
"MIT"
] | null | null | null | from .Storage import Storage
from .Audio import Audio
from .Images import Images
from .Networking import Networking | 28.75 | 34 | 0.834783 | 16 | 115 | 6 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 115 | 4 | 34 | 28.75 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c032306f9a925c636529a51f759745f43b437be1 | 119 | py | Python | cover_letter/admin.py | radoslawdabrowski/personal-website | b3d4f92ea51b40b104449259a376134aeb11766b | [
"MIT"
] | 1 | 2019-03-13T15:42:33.000Z | 2019-03-13T15:42:33.000Z | cover_letter/admin.py | radoslawdabrowski/personal-website-framework | c33f16811caa2aafdfd84c22af8c37ee0ab97720 | [
"Apache-2.0"
] | 92 | 2019-12-04T22:24:35.000Z | 2022-03-12T00:11:21.000Z | cover_letter/admin.py | radoslawdabrowski/personal-website | b3d4f92ea51b40b104449259a376134aeb11766b | [
"MIT"
] | 1 | 2019-05-07T21:23:57.000Z | 2019-05-07T21:23:57.000Z | from django.contrib import admin
from cover_letter.models import Reference
# Entities
admin.site.register(Reference)
| 17 | 41 | 0.831933 | 16 | 119 | 6.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109244 | 119 | 6 | 42 | 19.833333 | 0.924528 | 0.067227 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c0560dfe6b0f60ce54bdec16abe616a849496eb4 | 54 | py | Python | products/forms.py | costamay/stock-management-system | c78dfd7e9a12434adee30680c9225c5aefb50a02 | [
"MIT"
] | null | null | null | products/forms.py | costamay/stock-management-system | c78dfd7e9a12434adee30680c9225c5aefb50a02 | [
"MIT"
] | null | null | null | products/forms.py | costamay/stock-management-system | c78dfd7e9a12434adee30680c9225c5aefb50a02 | [
"MIT"
] | null | null | null | from django import forms
from products.models import * | 27 | 29 | 0.833333 | 8 | 54 | 5.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 2 | 29 | 27 | 0.957447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c068255430eef26bf9c5c5eda5a67e034c0ddf8c | 48 | py | Python | python/testData/inspections/RedundantParenthesesParenthesizedExpression.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/RedundantParenthesesParenthesizedExpression.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/RedundantParenthesesParenthesizedExpression.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | if ((1 and 2 == 'left'<caret>)) or (3):
pass | 24 | 39 | 0.479167 | 9 | 48 | 2.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.25 | 48 | 2 | 40 | 24 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.5 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
fbea6076d958ecba88d51c49edeca74e6b0ac7b3 | 171 | py | Python | examples/notepad/app/admin.py | payton/django-siwe-auth | 7112cfcf088175e0533e6f01db5151d109ba6b61 | [
"MIT"
] | 3 | 2022-02-01T04:05:12.000Z | 2022-02-17T02:58:56.000Z | examples/notepad/app/admin.py | payton/django-siwe-auth | 7112cfcf088175e0533e6f01db5151d109ba6b61 | [
"MIT"
] | 2 | 2022-02-05T19:11:22.000Z | 2022-02-05T19:59:12.000Z | examples/notepad/app/admin.py | payton/django-siwe-auth | 7112cfcf088175e0533e6f01db5151d109ba6b61 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Notepad, SharedNotepad
# Register your models here.
admin.site.register(Notepad)
admin.site.register(SharedNotepad)
| 21.375 | 42 | 0.818713 | 22 | 171 | 6.363636 | 0.545455 | 0.128571 | 0.242857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 171 | 7 | 43 | 24.428571 | 0.915033 | 0.152047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
220f407c8ce9c5f2d865ae246a593ac04abf0ce1 | 686 | py | Python | EduCDM/meta.py | zelo2/EduCDM | d725dc50ec677dfe409d88a3ffea6dce8effad62 | [
"Apache-2.0"
] | 36 | 2021-04-28T03:22:03.000Z | 2022-03-30T16:54:44.000Z | EduCDM/meta.py | LegionKing/EduCDM | 4d1b871e4f0c041dd86da81576621b28ebba911c | [
"Apache-2.0"
] | 21 | 2021-03-18T14:10:11.000Z | 2022-01-29T14:12:45.000Z | EduCDM/meta.py | LegionKing/EduCDM | 4d1b871e4f0c041dd86da81576621b28ebba911c | [
"Apache-2.0"
] | 36 | 2021-03-17T14:43:18.000Z | 2022-03-29T07:52:26.000Z | # coding: utf-8
# 2021/3/17 @ tongshiwei
def etl(*args, **kwargs) -> ...: # pragma: no cover
"""
extract - transform - load
"""
pass
def train(*args, **kwargs) -> ...: # pragma: no cover
pass
def evaluate(*args, **kwargs) -> ...: # pragma: no cover
pass
class CDM(object):
def __in... | 19.6 | 57 | 0.549563 | 71 | 686 | 5.253521 | 0.408451 | 0.214477 | 0.187668 | 0.203753 | 0.63807 | 0.474531 | 0 | 0 | 0 | 0 | 0 | 0.015936 | 0.268222 | 686 | 34 | 58 | 20.176471 | 0.727092 | 0.167638 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.470588 | false | 0.235294 | 0 | 0 | 0.529412 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
223847d76e3d2fd250ce0559b8c348f4a2d6b4e8 | 227 | py | Python | {{cookiecutter.project_name}}_bdd/features/steps/step_name.py | marcelolleivas/template-behave-selenium | cbb0604d82530e3616c3ac0ab1c3372cc7ee785c | [
"MIT"
] | 1 | 2021-07-07T17:35:16.000Z | 2021-07-07T17:35:16.000Z | {{cookiecutter.project_name}}_bdd/features/steps/step_name.py | marcelolleivas/template-behave-selenium | cbb0604d82530e3616c3ac0ab1c3372cc7ee785c | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}_bdd/features/steps/step_name.py | marcelolleivas/template-behave-selenium | cbb0604d82530e3616c3ac0ab1c3372cc7ee785c | [
"MIT"
] | null | null | null | from behave import given, then, when, step
@given('')
def simpl_step(context):
pass
@then('')
def simpl_step(context):
pass
@when('')
def simpl_step(context):
pass
@step('')
def simpl_step(context):
pass | 10.809524 | 42 | 0.643172 | 31 | 227 | 4.580645 | 0.354839 | 0.225352 | 0.338028 | 0.535211 | 0.647887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202643 | 227 | 21 | 43 | 10.809524 | 0.78453 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.307692 | 0.076923 | 0 | 0.384615 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
22472c697228d13763b896eb4783dda50ede6cda | 437 | py | Python | tests/test_psycho_embeddings.py | MilaNLProc/psycho-embeddings | 2182076c1d455f8881858f0180852fe8a288f9b4 | [
"MIT"
] | null | null | null | tests/test_psycho_embeddings.py | MilaNLProc/psycho-embeddings | 2182076c1d455f8881858f0180852fe8a288f9b4 | [
"MIT"
] | null | null | null | tests/test_psycho_embeddings.py | MilaNLProc/psycho-embeddings | 2182076c1d455f8881858f0180852fe8a288f9b4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""Tests for `psycho_embeddings` package."""
import unittest
from psycho_embeddings import psycho_embeddings
class TestPsycho_embeddings(unittest.TestCase):
"""Tests for `psycho_embeddings` package."""
def setUp(self):
"""Set up test fixtures, if any."""
def tearDown(se... | 19.863636 | 48 | 0.665904 | 52 | 437 | 5.461538 | 0.557692 | 0.225352 | 0.098592 | 0.169014 | 0.359155 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008571 | 0.199085 | 437 | 21 | 49 | 20.809524 | 0.802857 | 0.405034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
97d9d6ae0bd7fa31777140f6741859b4aa8f1503 | 280 | py | Python | authentik/stages/authenticator_sms/apps.py | BeryJu/passbook | 350f0d836580f4411524614f361a76c4f27b8a2d | [
"MIT"
] | 15 | 2020-01-05T09:09:57.000Z | 2020-11-28T05:27:39.000Z | authentik/stages/authenticator_sms/apps.py | BeryJu/passbook | 350f0d836580f4411524614f361a76c4f27b8a2d | [
"MIT"
] | 302 | 2020-01-21T08:03:59.000Z | 2020-12-04T05:04:57.000Z | authentik/stages/authenticator_sms/apps.py | BeryJu/passbook | 350f0d836580f4411524614f361a76c4f27b8a2d | [
"MIT"
] | 3 | 2020-03-04T08:21:59.000Z | 2020-08-01T20:37:18.000Z | """SMS"""
from django.apps import AppConfig
class AuthentikStageAuthenticatorSMSConfig(AppConfig):
"""SMS App config"""
name = "authentik.stages.authenticator_sms"
label = "authentik_stages_authenticator_sms"
verbose_name = "authentik Stages.Authenticator.SMS"
| 25.454545 | 55 | 0.757143 | 28 | 280 | 7.392857 | 0.571429 | 0.217391 | 0.405797 | 0.449275 | 0.338164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139286 | 280 | 10 | 56 | 28 | 0.858921 | 0.064286 | 0 | 0 | 0 | 0 | 0.406375 | 0.366534 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
97ffe6c26583b22f0c02ecb9cccd85f242c3db78 | 27 | py | Python | glad/__init__.py | dpethes/glad | d4a879a1bf0ce0c95d54b73ebcd197972977d5f4 | [
"MIT"
] | null | null | null | glad/__init__.py | dpethes/glad | d4a879a1bf0ce0c95d54b73ebcd197972977d5f4 | [
"MIT"
] | null | null | null | glad/__init__.py | dpethes/glad | d4a879a1bf0ce0c95d54b73ebcd197972977d5f4 | [
"MIT"
] | null | null | null |
__version__ = '0.1.18a0'
| 6.75 | 24 | 0.62963 | 4 | 27 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0.185185 | 27 | 3 | 25 | 9 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3f14ce675df3d02f7fbea45328066ea256c0593b | 43 | py | Python | htminify/__init__.py | AbhinavOmprakash/py-htminify | 702198b1bdf3b8036705c4224cde1390a21f3b06 | [
"BSD-3-Clause"
] | 1 | 2021-08-01T21:20:33.000Z | 2021-08-01T21:20:33.000Z | htminify/__init__.py | AbhinavOmprakash/py-htminify | 702198b1bdf3b8036705c4224cde1390a21f3b06 | [
"BSD-3-Clause"
] | 5 | 2021-05-22T10:22:47.000Z | 2021-05-27T14:11:30.000Z | htminify/__init__.py | AbhinavOmprakash/py-htminify | 702198b1bdf3b8036705c4224cde1390a21f3b06 | [
"BSD-3-Clause"
] | null | null | null | from .htminify import minify
del htminify
| 10.75 | 28 | 0.813953 | 6 | 43 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 3 | 29 | 14.333333 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3f2691057f63260bdd4fc7248e1d66e1dc8bcdd9 | 2,595 | py | Python | tests/kyu_7_tests/test_credit_card_checker.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | tests/kyu_7_tests/test_credit_card_checker.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | tests/kyu_7_tests/test_credit_card_checker.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | import unittest
from katas.kyu_7.credit_card_checker import valid_card
class ValidCardTestCase(unittest.TestCase):
def test_true_1(self):
self.assertTrue(valid_card('5457 6238 9823 4311'))
def test_true_2(self):
self.assertTrue(valid_card('2222 2222 2222 2224'))
def test_true_3(self):
... | 28.833333 | 59 | 0.680925 | 380 | 2,595 | 4.418421 | 0.197368 | 0.15545 | 0.114354 | 0.228708 | 0.646814 | 0.32162 | 0.240619 | 0.154854 | 0.13103 | 0.13103 | 0 | 0.237214 | 0.208863 | 2,595 | 89 | 60 | 29.157303 | 0.580614 | 0 | 0 | 0.067797 | 0 | 0 | 0.20501 | 0 | 0 | 0 | 0 | 0 | 0.474576 | 1 | 0.474576 | false | 0 | 0.033898 | 0 | 0.525424 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
3f40f3063041c22e1627094661d280811866f6b6 | 468 | py | Python | actions/lib/comments.py | userlocalhost/stackstorm-datadog | 6c70d6023f63e6d5d805ceb6dd3bc1edeea8123d | [
"Apache-2.0"
] | 164 | 2015-01-17T16:08:33.000Z | 2021-08-03T02:34:07.000Z | actions/lib/comments.py | userlocalhost/stackstorm-datadog | 6c70d6023f63e6d5d805ceb6dd3bc1edeea8123d | [
"Apache-2.0"
] | 442 | 2015-01-01T11:19:01.000Z | 2017-09-06T23:26:17.000Z | actions/lib/comments.py | userlocalhost/stackstorm-datadog | 6c70d6023f63e6d5d805ceb6dd3bc1edeea8123d | [
"Apache-2.0"
] | 202 | 2015-01-13T00:37:40.000Z | 2020-11-07T11:30:10.000Z | from base import DatadogBaseAction
from datadog import api
class DatadogCreateComment(DatadogBaseAction):
def _run(self, **kwargs):
return api.Comment.create(**kwargs)
class DatadogDeleteComment(DatadogBaseAction):
def _run(self, **kwargs):
return api.Comment.delete(kwargs.pop("comment_id"))... | 26 | 69 | 0.730769 | 51 | 468 | 6.607843 | 0.411765 | 0.178042 | 0.204748 | 0.240356 | 0.436202 | 0.436202 | 0.436202 | 0.436202 | 0 | 0 | 0 | 0 | 0.153846 | 468 | 17 | 70 | 27.529412 | 0.85101 | 0 | 0 | 0.272727 | 0 | 0 | 0.042735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0.272727 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
3f583af803f56d8ce950918aede295fb7872df0d | 86 | py | Python | ramscube/tests/test_dummy.py | freemansw1/ramscube | 2f4c687e4e4ec84153b687061ea90cac8a7fbd83 | [
"BSD-3-Clause"
] | null | null | null | ramscube/tests/test_dummy.py | freemansw1/ramscube | 2f4c687e4e4ec84153b687061ea90cac8a7fbd83 | [
"BSD-3-Clause"
] | 1 | 2019-11-22T19:05:31.000Z | 2019-11-22T19:05:31.000Z | ramscube/tests/test_dummy.py | freemansw1/ramscube | 2f4c687e4e4ec84153b687061ea90cac8a7fbd83 | [
"BSD-3-Clause"
] | 1 | 2019-11-20T19:06:04.000Z | 2019-11-20T19:06:04.000Z | import os
import pytest
import ramscube
def test_dummy_function():
assert 1==1
| 9.555556 | 26 | 0.744186 | 13 | 86 | 4.769231 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.197674 | 86 | 8 | 27 | 10.75 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.6 | 0 | 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 | 0 | 1 | 0 | 0 | 5 |
58b9a683516a34cf0d3d7654c846937cae840274 | 1,750 | py | Python | benchmark.py | briwilcox/Concurrent-Pandas | b759576c1dd304459a4ed3ae9c790f63cc7c888b | [
"Apache-2.0"
] | 10 | 2015-02-23T15:32:33.000Z | 2020-07-19T13:41:20.000Z | benchmark.py | briwilcox/Concurrent-Pandas | b759576c1dd304459a4ed3ae9c790f63cc7c888b | [
"Apache-2.0"
] | null | null | null | benchmark.py | briwilcox/Concurrent-Pandas | b759576c1dd304459a4ed3ae9c790f63cc7c888b | [
"Apache-2.0"
] | 8 | 2015-02-27T14:15:47.000Z | 2021-11-24T18:25:59.000Z | __author__ = 'brian'
"""
Output in test run:
Looking up 10 keys from Google Finance
Time to download 10 stocks from Google with Multi-Threading : 6.987292528152466 seconds.
Looking up 10 keys from Google Finance
Time to download 10 stocks from Google with Multi Processing : 6.1684489250183105 seconds.
Looking up 1... | 33.018868 | 111 | 0.765714 | 245 | 1,750 | 5.302041 | 0.285714 | 0.069284 | 0.064665 | 0.073903 | 0.743649 | 0.730562 | 0.730562 | 0.730562 | 0.730562 | 0.730562 | 0 | 0.044489 | 0.139429 | 1,750 | 53 | 112 | 33.018868 | 0.818061 | 0.202857 | 0 | 0.428571 | 0 | 0 | 0.274973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.095238 | 0 | 0.095238 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
58fa48818d0b4032dc1a109d9bfee80e5aedb354 | 179 | py | Python | demography/models/__init__.py | The-Politico/politico-civic-demography | 080bb964b64b06db7fd04386530e893ceed1cf98 | [
"MIT"
] | null | null | null | demography/models/__init__.py | The-Politico/politico-civic-demography | 080bb964b64b06db7fd04386530e893ceed1cf98 | [
"MIT"
] | null | null | null | demography/models/__init__.py | The-Politico/politico-civic-demography | 080bb964b64b06db7fd04386530e893ceed1cf98 | [
"MIT"
] | null | null | null | # flake8: noqa
from .census_estimate import CensusEstimate
from .census_label import CensusLabel
from .census_table import CensusTable
from .census_variable import CensusVariable
| 29.833333 | 43 | 0.860335 | 22 | 179 | 6.818182 | 0.590909 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00625 | 0.106145 | 179 | 5 | 44 | 35.8 | 0.93125 | 0.067039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
451beca8363788685ad7a06e2eb4271ce56bbaaa | 110 | py | Python | help.py | jendakolda/API_Calc | caaab1331b4016fe3ca9e18fca2d68b56ed62c7e | [
"MIT"
] | null | null | null | help.py | jendakolda/API_Calc | caaab1331b4016fe3ca9e18fca2d68b56ed62c7e | [
"MIT"
] | null | null | null | help.py | jendakolda/API_Calc | caaab1331b4016fe3ca9e18fca2d68b56ed62c7e | [
"MIT"
] | null | null | null | from dearpygui.core import *
from dearpygui.demo import *
show_demo()
show_documentation()
start_dearpygui()
| 15.714286 | 28 | 0.8 | 14 | 110 | 6.071429 | 0.571429 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 110 | 6 | 29 | 18.333333 | 0.867347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
451bffe078a1799da30a879af4be52df083ad3f2 | 932 | py | Python | samples/threads_naming.py | thierrydecker/learning-python | d67242740c33037e1ff270a8e2107f915e0fd44a | [
"Apache-2.0"
] | 1 | 2020-11-05T13:34:30.000Z | 2020-11-05T13:34:30.000Z | samples/threads_naming.py | thierrydecker/learning-python | d67242740c33037e1ff270a8e2107f915e0fd44a | [
"Apache-2.0"
] | null | null | null | samples/threads_naming.py | thierrydecker/learning-python | d67242740c33037e1ff270a8e2107f915e0fd44a | [
"Apache-2.0"
] | 1 | 2019-01-21T08:46:37.000Z | 2019-01-21T08:46:37.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import threading
import time
import random
def worker_a():
print("Thead {} started".format(threading.current_thread().getName()))
time.sleep(random.randint(1, 2))
print("Thead {} finished".format(threading.current_thread().getName()))
def worker_b():
pr... | 25.189189 | 77 | 0.639485 | 118 | 932 | 4.898305 | 0.338983 | 0.069204 | 0.152249 | 0.193772 | 0.735294 | 0.735294 | 0.735294 | 0.735294 | 0.612457 | 0.612457 | 0 | 0.009321 | 0.194206 | 932 | 36 | 78 | 25.888889 | 0.76032 | 0.045064 | 0 | 0.48 | 0 | 0 | 0.103604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12 | false | 0 | 0.12 | 0 | 0.24 | 0.16 | 0 | 0 | 0 | null | 0 | 0 | 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 | 5 |
1888d64b152e4a22e5f35e1731665311020e2ce2 | 17,153 | py | Python | sudokuabc.py | bowespublishing/convert-123-sudoku-to-abc | 9c66a004b92cfeb6a18164e9a4786ebe0b533220 | [
"Unlicense"
] | 1 | 2022-03-12T18:03:13.000Z | 2022-03-12T18:03:13.000Z | sudokuabc.py | bowespublishing/convert-123-sudoku-to-abc | 9c66a004b92cfeb6a18164e9a4786ebe0b533220 | [
"Unlicense"
] | null | null | null | sudokuabc.py | bowespublishing/convert-123-sudoku-to-abc | 9c66a004b92cfeb6a18164e9a4786ebe0b533220 | [
"Unlicense"
] | null | null | null | from pptx import Presentation
import os
from os import listdir
import PySimpleGUI as gui
from tkinter import *
from tkinter import messagebox
from tkinter import filedialog
x = 0
def CheckforSudoku(path):
prscheck = Presentation(path)
slides = [slide for slide in prscheck.slides]
for slide in... | 74.90393 | 5,016 | 0.751181 | 1,000 | 17,153 | 12.847 | 0.401 | 0.014712 | 0.017125 | 0.009808 | 0.108664 | 0.081264 | 0.075893 | 0.073013 | 0.067876 | 0.06196 | 0 | 0.116724 | 0.174897 | 17,153 | 228 | 5,017 | 75.232456 | 0.790998 | 0 | 0 | 0.302326 | 0 | 0.017442 | 0.623338 | 0.567681 | 0 | 1 | 0 | 0 | 0 | 1 | 0.005814 | false | 0 | 0.075581 | 0 | 0.081395 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
188919022bc958a69e0d7ea7ab302efc1c92b682 | 479 | py | Python | spinup/__init__.py | jonberliner/spinningup | 020977480b53d7c3ba27d33b00cf888d467ec661 | [
"MIT"
] | null | null | null | spinup/__init__.py | jonberliner/spinningup | 020977480b53d7c3ba27d33b00cf888d467ec661 | [
"MIT"
] | null | null | null | spinup/__init__.py | jonberliner/spinningup | 020977480b53d7c3ba27d33b00cf888d467ec661 | [
"MIT"
] | null | null | null | from spinup.algos.pytorch.ddpg.ddpg import ddpg as ddpg_pytorch
from spinup.algos.pytorch.ppo.ppo import ppo as ppo_pytorch
from spinup.algos.pytorch.sac.sac import sac as sac_pytorch
from spinup.algos.pytorch.td3.td3 import td3 as td3_pytorch
from spinup.algos.pytorch.trpo.trpo import trpo as trpo_pytorch
from spinup.... | 36.846154 | 63 | 0.830898 | 80 | 479 | 4.85 | 0.225 | 0.206186 | 0.231959 | 0.340206 | 0.373711 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.106472 | 479 | 12 | 64 | 39.916667 | 0.897196 | 0.031315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
189f83ced8367f963e91e9d91af9bc718d559168 | 82 | py | Python | koila/interfaces/__init__.py | techthiyanes/koila | b665482ff99a02bfeeceaa1323589fb89495a30c | [
"MIT"
] | null | null | null | koila/interfaces/__init__.py | techthiyanes/koila | b665482ff99a02bfeeceaa1323589fb89495a30c | [
"MIT"
] | null | null | null | koila/interfaces/__init__.py | techthiyanes/koila | b665482ff99a02bfeeceaa1323589fb89495a30c | [
"MIT"
] | null | null | null | from .runnable import Runnable, RunnableTensor
from .tensorlike import TensorLike
| 27.333333 | 46 | 0.853659 | 9 | 82 | 7.777778 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 82 | 2 | 47 | 41 | 0.958904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
18c63e2dcf9442d37f3ebf71b09847182f11266d | 175 | py | Python | test_gpu.py | st3107/tfhelper | 1dc66a29be387bfdf57994c390326ade456104d4 | [
"BSD-3-Clause"
] | null | null | null | test_gpu.py | st3107/tfhelper | 1dc66a29be387bfdf57994c390326ade456104d4 | [
"BSD-3-Clause"
] | null | null | null | test_gpu.py | st3107/tfhelper | 1dc66a29be387bfdf57994c390326ade456104d4 | [
"BSD-3-Clause"
] | 1 | 2021-09-08T01:16:36.000Z | 2021-09-08T01:16:36.000Z | import sys
print("Hi, I am '{}'.".format(sys.executable))
import tensorflow as tf
print("I found {} GPU(s) Available.".format(len(tf.config.list_physical_devices('GPU'))))
| 21.875 | 89 | 0.702857 | 27 | 175 | 4.481481 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102857 | 175 | 7 | 90 | 25 | 0.770701 | 0 | 0 | 0 | 0 | 0 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
18c6e0242a011883440e7a27ce06af76db363323 | 8,201 | py | Python | keras/legacy_tf_layers/migration_utils_test.py | tsheaff/keras | ee227dda766d769b7499a5549e8ed77b5e88105b | [
"Apache-2.0"
] | 37,222 | 2017-12-13T00:52:55.000Z | 2022-03-31T22:34:35.000Z | keras/legacy_tf_layers/migration_utils_test.py | amirsadafi/keras | f1e9c76675981ee6683f54a3ce569212d551d12d | [
"Apache-2.0"
] | 7,624 | 2017-12-13T01:03:40.000Z | 2022-03-31T23:57:24.000Z | keras/legacy_tf_layers/migration_utils_test.py | amirsadafi/keras | f1e9c76675981ee6683f54a3ce569212d551d12d | [
"Apache-2.0"
] | 14,914 | 2017-12-13T02:30:46.000Z | 2022-03-30T14:49:16.000Z | """Tests for migration_utils."""
from keras.initializers import GlorotUniform as V2GlorotUniform
from keras.legacy_tf_layers import migration_utils
import tensorflow as tf
class DeterministicRandomTestToolTest(tf.test.TestCase):
def test_constant_mode_no_seed(self):
"""Test random tensor generation consistanc... | 37.967593 | 80 | 0.671138 | 1,153 | 8,201 | 4.631396 | 0.129228 | 0.06573 | 0.091011 | 0.096067 | 0.749813 | 0.745506 | 0.724719 | 0.722285 | 0.676779 | 0.672659 | 0 | 0.02532 | 0.229484 | 8,201 | 215 | 81 | 38.144186 | 0.81975 | 0.275698 | 0 | 0.746377 | 0 | 0 | 0.03484 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 1 | 0.043478 | false | 0 | 0.021739 | 0 | 0.072464 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
18d3ff6d51f49903b02ad3465cc97f06dcee4c77 | 92 | py | Python | data/typing/pandas.core.groupby.grouper.py | vfdev-5/python-record-api | 006faf0bba9cd4cb55fbacc13d2bbda365f5bf0b | [
"MIT"
] | 67 | 2020-08-17T11:53:26.000Z | 2021-11-08T20:16:06.000Z | data/typing/pandas.core.groupby.grouper.py | vfdev-5/python-record-api | 006faf0bba9cd4cb55fbacc13d2bbda365f5bf0b | [
"MIT"
] | 36 | 2020-08-17T11:09:51.000Z | 2021-12-15T18:09:47.000Z | data/typing/pandas.core.groupby.grouper.py | pydata-apis/python-api-record | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 7 | 2020-08-19T05:06:47.000Z | 2020-11-04T05:10:38.000Z | from typing import *
class Grouper:
# usage.dask: 1
__module__: ClassVar[object]
| 11.5 | 32 | 0.673913 | 11 | 92 | 5.272727 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.23913 | 92 | 7 | 33 | 13.142857 | 0.814286 | 0.141304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
18e968d4ba704763ae2193b9b5e8bb0a3df33be1 | 23,271 | py | Python | code/python/ProcuretoPayProvisioning/v1/fds/sdk/ProcuretoPayProvisioning/api/user_management_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/ProcuretoPayProvisioning/v1/fds/sdk/ProcuretoPayProvisioning/api/user_management_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/ProcuretoPayProvisioning/v1/fds/sdk/ProcuretoPayProvisioning/api/user_management_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | """
FactSet Procure to Pay API
Allows for Provisioning and Entitlement of FactSet accounts. Authentication is provided via FactSet's [API Key System](https://developer.factset.com/authentication) Please note that the on-page \"Try it out\" features do not function. You must authorize against our API and... | 36.474922 | 347 | 0.505307 | 2,066 | 23,271 | 5.46273 | 0.120039 | 0.027911 | 0.023037 | 0.023923 | 0.7846 | 0.742513 | 0.733209 | 0.733209 | 0.719564 | 0.711235 | 0 | 0.004891 | 0.411284 | 23,271 | 637 | 348 | 36.532182 | 0.818905 | 0.345795 | 0 | 0.575406 | 0 | 0 | 0.244637 | 0.028051 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013921 | false | 0 | 0.023202 | 0 | 0.051044 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7a0b795222ec5cabbeb0d8fe279c339c5cac5d73 | 3,058 | py | Python | tests/predictors/test_state_network.py | fredshentu/public_model_based_controller | 9301699bc56aa49ba5c699f7d5be299046a8aa0c | [
"MIT"
] | null | null | null | tests/predictors/test_state_network.py | fredshentu/public_model_based_controller | 9301699bc56aa49ba5c699f7d5be299046a8aa0c | [
"MIT"
] | null | null | null | tests/predictors/test_state_network.py | fredshentu/public_model_based_controller | 9301699bc56aa49ba5c699f7d5be299046a8aa0c | [
"MIT"
] | null | null | null | import numpy as np
import tensorflow as tf
from railrl.misc.tf_test_case import TFTestCase
from railrl.predictors.mlp_state_network import MlpStateNetwork
class TestStateNetwork(TFTestCase):
def test_set_and_get_params(self):
obs_dim = 7
output_dim = 3
net1 = MlpStateNetwork(name_or_scope... | 31.525773 | 76 | 0.578483 | 373 | 3,058 | 4.461126 | 0.182306 | 0.067308 | 0.092548 | 0.039063 | 0.75601 | 0.730168 | 0.730168 | 0.730168 | 0.707332 | 0.707332 | 0 | 0.039942 | 0.320471 | 3,058 | 96 | 77 | 31.854167 | 0.760828 | 0 | 0 | 0.697368 | 0 | 0 | 0.006545 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 1 | 0.039474 | false | 0 | 0.052632 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e1ce423afc0399644fdb124c096165d86d3d7e8e | 169 | py | Python | hackerearth/ML/will_bill_solve_it/count_rows.py | akshaynagpal/competitive-programming | 0a54f43e3e0f2135c9c952400c5a628244b667d1 | [
"MIT"
] | null | null | null | hackerearth/ML/will_bill_solve_it/count_rows.py | akshaynagpal/competitive-programming | 0a54f43e3e0f2135c9c952400c5a628244b667d1 | [
"MIT"
] | null | null | null | hackerearth/ML/will_bill_solve_it/count_rows.py | akshaynagpal/competitive-programming | 0a54f43e3e0f2135c9c952400c5a628244b667d1 | [
"MIT"
] | null | null | null | import csv
count = 0
with open('submissions.csv', 'rb') as count_file:
csv_reader = csv.reader(count_file)
for row in csv_reader:
count += 1
print count | 21.125 | 49 | 0.674556 | 27 | 169 | 4.074074 | 0.592593 | 0.245455 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.224852 | 169 | 8 | 50 | 21.125 | 0.824427 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
beca8624688945bd5fe99a61802b43d4f974bdad | 44 | py | Python | Sergeant-RANK/DAY-2/84A.py | rohansaini886/Peer-Programming-Hub-CP-Winter_Camp | d27fb6aa7e726e6d2cb95270c9e644d38d64dd1c | [
"MIT"
] | 2 | 2021-12-09T18:07:46.000Z | 2022-01-26T16:51:18.000Z | Sergeant-RANK/DAY-2/84A.py | rohansaini886/Peer-Programming-Hub-CP-Winter_Camp | d27fb6aa7e726e6d2cb95270c9e644d38d64dd1c | [
"MIT"
] | null | null | null | Sergeant-RANK/DAY-2/84A.py | rohansaini886/Peer-Programming-Hub-CP-Winter_Camp | d27fb6aa7e726e6d2cb95270c9e644d38d64dd1c | [
"MIT"
] | null | null | null | n = int(input())
print((2 ) * n - (n // 2))
| 14.666667 | 26 | 0.409091 | 8 | 44 | 2.25 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.25 | 44 | 2 | 27 | 22 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
bed1cd7695ec228dc9e7397bb404bf1611dac433 | 135 | py | Python | python/odd_dolfinx/__init__.py | IgorBaratta/odd_dolfinx | e3ab8fb0c1100a2723e895451f903cfd70a8919b | [
"MIT"
] | null | null | null | python/odd_dolfinx/__init__.py | IgorBaratta/odd_dolfinx | e3ab8fb0c1100a2723e895451f903cfd70a8919b | [
"MIT"
] | null | null | null | python/odd_dolfinx/__init__.py | IgorBaratta/odd_dolfinx | e3ab8fb0c1100a2723e895451f903cfd70a8919b | [
"MIT"
] | null | null | null | from dolfinx.cpp import la
import dolfinx.cpp
from odd_dolfinx.utils import create_pum
ScatterMode = dolfinx.cpp.common.ScatterMode
| 16.875 | 44 | 0.82963 | 20 | 135 | 5.5 | 0.55 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118519 | 135 | 7 | 45 | 19.285714 | 0.92437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bed2e540138565d5b3bb205687612477c8ecb74d | 53 | py | Python | basic_find/__main__.py | arcseldon/basic_find | 9318124a132a4e25a5a0ddbf6b62f76ea3adb379 | [
"MIT"
] | null | null | null | basic_find/__main__.py | arcseldon/basic_find | 9318124a132a4e25a5a0ddbf6b62f76ea3adb379 | [
"MIT"
] | 1 | 2021-11-15T17:48:22.000Z | 2021-11-15T17:48:22.000Z | basic_find/__main__.py | arcseldon/basic_find | 9318124a132a4e25a5a0ddbf6b62f76ea3adb379 | [
"MIT"
] | 1 | 2019-12-18T00:18:02.000Z | 2019-12-18T00:18:02.000Z | from basic_find import basic_find
basic_find.main()
| 13.25 | 33 | 0.830189 | 9 | 53 | 4.555556 | 0.555556 | 0.658537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 53 | 3 | 34 | 17.666667 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bee0c6a1bb5fe44cfe24c644a82c1ba6446b8f5b | 31 | py | Python | src/spacel/user/__init__.py | mycloudandme/spacel-provision | 900b8ada0017f727163c5c2ae464e17d747ba0e8 | [
"MIT"
] | 2 | 2016-05-18T11:10:27.000Z | 2016-05-18T13:25:04.000Z | src/spacel/user/__init__.py | mycloudandme/spacel-provision | 900b8ada0017f727163c5c2ae464e17d747ba0e8 | [
"MIT"
] | null | null | null | src/spacel/user/__init__.py | mycloudandme/spacel-provision | 900b8ada0017f727163c5c2ae464e17d747ba0e8 | [
"MIT"
] | null | null | null | from .ssh_db import SpaceSshDb
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bee383a7eaa17114bac4c6815a137f9c3ac0b7e0 | 186 | py | Python | tests/test_quintic_polynomials_planner.py | ryuichiueda/PythonRobotics | 67d7d5c6105f6fd436435eef71651059f4ca9d54 | [
"MIT"
] | 1 | 2021-09-14T18:08:20.000Z | 2021-09-14T18:08:20.000Z | tests/test_quintic_polynomials_planner.py | ryuichiueda/PythonRobotics | 67d7d5c6105f6fd436435eef71651059f4ca9d54 | [
"MIT"
] | null | null | null | tests/test_quintic_polynomials_planner.py | ryuichiueda/PythonRobotics | 67d7d5c6105f6fd436435eef71651059f4ca9d54 | [
"MIT"
] | null | null | null | import conftest # Add root path to sys.path
from PathPlanning.QuinticPolynomialsPlanner import quintic_polynomials_planner as m
def test1():
m.show_animation = False
m.main()
| 23.25 | 83 | 0.774194 | 25 | 186 | 5.64 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.166667 | 186 | 7 | 84 | 26.571429 | 0.903226 | 0.134409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
beec32a4d8a7ca31a7b41171372ceb0002062b4d | 92 | py | Python | album/admin.py | mentix02/lottery | 7cdffd7ea88972d7590d6ca02057502170194663 | [
"MIT"
] | null | null | null | album/admin.py | mentix02/lottery | 7cdffd7ea88972d7590d6ca02057502170194663 | [
"MIT"
] | null | null | null | album/admin.py | mentix02/lottery | 7cdffd7ea88972d7590d6ca02057502170194663 | [
"MIT"
] | null | null | null | from album.models import Album
from django.contrib import admin
admin.site.register(Album)
| 18.4 | 32 | 0.826087 | 14 | 92 | 5.428571 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 92 | 4 | 33 | 23 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bef3b1dab5b7c28269ceebba9de4b562772cc3cd | 102 | py | Python | src/main/__init__.py | Fe-Nik-S/flask-ticket-management-system | 4e6f9a81616bb8cd2fd779d2de35d797ed6fd65b | [
"MIT"
] | 1 | 2020-10-27T21:20:45.000Z | 2020-10-27T21:20:45.000Z | src/main/__init__.py | Fe-Nik-S/flask-ticket-management-system | 4e6f9a81616bb8cd2fd779d2de35d797ed6fd65b | [
"MIT"
] | 2 | 2019-12-26T17:39:41.000Z | 2020-01-06T19:53:28.000Z | src/main/__init__.py | Fe-Nik-S/ticket-management-system | 4e6f9a81616bb8cd2fd779d2de35d797ed6fd65b | [
"MIT"
] | null | null | null |
from flask import Blueprint
bp_main = Blueprint('main', __name__)
from src.main import handlers
| 10.2 | 37 | 0.754902 | 14 | 102 | 5.142857 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 102 | 9 | 38 | 11.333333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
8304880cda655406a5ee1a7052e3e4a6ded45708 | 135 | py | Python | tests/flytekit/unit/cli/pyflyte/test_nested_wf/a/b/c/d/wf.py | aeioulisa/flytekit | 14b3a4ced183a66d0a87c06c19f71e5a1400a6a3 | [
"Apache-2.0"
] | null | null | null | tests/flytekit/unit/cli/pyflyte/test_nested_wf/a/b/c/d/wf.py | aeioulisa/flytekit | 14b3a4ced183a66d0a87c06c19f71e5a1400a6a3 | [
"Apache-2.0"
] | null | null | null | tests/flytekit/unit/cli/pyflyte/test_nested_wf/a/b/c/d/wf.py | aeioulisa/flytekit | 14b3a4ced183a66d0a87c06c19f71e5a1400a6a3 | [
"Apache-2.0"
] | null | null | null | from flytekit import task, workflow
@task
def t(m: str) -> str:
return m
@workflow
def wf_id(m: str) -> str:
return t(m=m)
| 11.25 | 35 | 0.622222 | 24 | 135 | 3.458333 | 0.5 | 0.048193 | 0.168675 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244444 | 135 | 11 | 36 | 12.272727 | 0.813725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
8314b4ace1d653166f0ed7affdcefba5e5641de7 | 297 | py | Python | DownSampling_STD/Utterance.py | jingyonghou/TIMIT_STD | 743112e79115ddc31ed3ebd7c4f7d1d361dfd7e7 | [
"MIT"
] | 3 | 2016-12-12T07:28:39.000Z | 2018-04-12T03:07:42.000Z | Encode_STD_v2/Utterance.py | jingyonghou/TIMIT_STD | 743112e79115ddc31ed3ebd7c4f7d1d361dfd7e7 | [
"MIT"
] | 2 | 2020-07-28T09:20:35.000Z | 2020-08-02T02:56:46.000Z | Encode_STD_v2/Utterance.py | jingyonghou/TIMIT_STD | 743112e79115ddc31ed3ebd7c4f7d1d361dfd7e7 | [
"MIT"
] | 1 | 2020-07-27T14:24:10.000Z | 2020-07-27T14:24:10.000Z | from BaseEntity import BaseEntity
class Utterance(BaseEntity):
def __init__(self, utterance_dir, utterance_id, feature_type, phone_type="PHN39", wav_sampling_rate=16000):
BaseEntity.__init__(self, utterance_dir, utterance_id, feature_type, phone_type="PHN39", wav_sampling_rate=16000)
| 59.4 | 121 | 0.804714 | 39 | 297 | 5.615385 | 0.461538 | 0.073059 | 0.155251 | 0.182648 | 0.694064 | 0.694064 | 0.694064 | 0.694064 | 0.694064 | 0.694064 | 0 | 0.052632 | 0.104377 | 297 | 4 | 122 | 74.25 | 0.770677 | 0 | 0 | 0 | 0 | 0 | 0.03367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 5 |
835cfa5ae135b68aeccd5a82033fbfb1278fe2c9 | 1,080 | py | Python | homework/hw08/tests/nodots.py | tejashah88/cs61a-self-study | e32d77f751af66008ff4c69ffe0b32688b275516 | [
"MIT"
] | 6 | 2018-09-01T15:11:11.000Z | 2022-03-23T00:34:31.000Z | homeworks/hw08/tests/nodots.py | abalone88/cs61a_2018sp | 59d408d0961cf71faf10b77779bfc71c0c508f0c | [
"MIT"
] | null | null | null | homeworks/hw08/tests/nodots.py | abalone88/cs61a_2018sp | 59d408d0961cf71faf10b77779bfc71c0c508f0c | [
"MIT"
] | 3 | 2020-07-25T22:03:58.000Z | 2022-01-05T18:54:52.000Z | test = {
'name': 'nodots',
'points': 1,
'suites': [
{
'cases': [
{
'code': r"""
scm> (nodots '(1 . 2))
(1 2)
""",
'hidden': False,
'locked': False
},
{
'code': r"""
scm> (nodots '(1 2 . 3))
... | 18.947368 | 46 | 0.271296 | 93 | 1,080 | 3.150538 | 0.258065 | 0.068259 | 0.081911 | 0.238908 | 0.730375 | 0.730375 | 0.675768 | 0.675768 | 0.675768 | 0.675768 | 0 | 0.076621 | 0.528704 | 1,080 | 56 | 47 | 19.285714 | 0.499018 | 0 | 0 | 0.410714 | 0 | 0 | 0.480556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3602b2c0dd62c599e05bc402c0f20a2025e279fd | 46 | py | Python | test/circle.py | Jahongir2007/pymetry | 02c8e82a188700b4213fd4a70aa66a3b5e9843b8 | [
"MIT"
] | 1 | 2021-04-04T11:38:42.000Z | 2021-04-04T11:38:42.000Z | test/circle.py | Jahongir2007/pymetry | 02c8e82a188700b4213fd4a70aa66a3b5e9843b8 | [
"MIT"
] | null | null | null | test/circle.py | Jahongir2007/pymetry | 02c8e82a188700b4213fd4a70aa66a3b5e9843b8 | [
"MIT"
] | null | null | null | import pymetry
pymetry.circle(60, "brown", 4)
| 15.333333 | 30 | 0.73913 | 7 | 46 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.108696 | 46 | 2 | 31 | 23 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
360fecff574161124a0ab5de64a137040125dd0b | 10,057 | py | Python | biosys/apps/main/tests/api/test_record_serialization.py | florianm/biosys | 934d06ed805b0734f3cb9a00feec6cd81a94e512 | [
"Apache-2.0"
] | 1 | 2020-08-24T02:44:36.000Z | 2020-08-24T02:44:36.000Z | biosys/apps/main/tests/api/test_record_serialization.py | florianm/biosys | 934d06ed805b0734f3cb9a00feec6cd81a94e512 | [
"Apache-2.0"
] | 19 | 2016-09-29T01:03:18.000Z | 2021-07-02T06:54:05.000Z | biosys/apps/main/tests/api/test_record_serialization.py | florianm/biosys | 934d06ed805b0734f3cb9a00feec6cd81a94e512 | [
"Apache-2.0"
] | 5 | 2018-12-20T05:36:28.000Z | 2021-09-29T00:44:31.000Z | import io
import re
from os import path
from django.test import override_settings
from openpyxl import load_workbook
from django.shortcuts import reverse
from rest_framework import status
from main.tests.api import helpers
import csv
class TestFieldSelection(helpers.BaseUserTestCase):
def _more_setup(self):
... | 42.614407 | 121 | 0.62812 | 1,225 | 10,057 | 5.01551 | 0.173061 | 0.063477 | 0.016927 | 0.020833 | 0.786621 | 0.780111 | 0.775065 | 0.768555 | 0.755697 | 0.732422 | 0 | 0.02286 | 0.269265 | 10,057 | 235 | 122 | 42.795745 | 0.813172 | 0.197474 | 0 | 0.623457 | 0 | 0 | 0.120282 | 0.017073 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.049383 | false | 0 | 0.055556 | 0 | 0.123457 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.