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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ee5461951bf3deeb4f5db508c1ddab7785fdeac4 | 20 | py | Python | src/ml_optic/__init__.py | Tingenek/ml_optic | 2eab48a51fa9dffb043b27a4de1aab6fe204773e | [
"Apache-2.0"
] | 21 | 2018-02-14T18:51:49.000Z | 2022-01-15T06:59:16.000Z | src/ml_optic/__init__.py | Tingenek/ml_optic | 2eab48a51fa9dffb043b27a4de1aab6fe204773e | [
"Apache-2.0"
] | 1 | 2019-01-30T19:55:22.000Z | 2020-05-16T21:31:58.000Z | src/ml_optic/__init__.py | Tingenek/ml_optic | 2eab48a51fa9dffb043b27a4de1aab6fe204773e | [
"Apache-2.0"
] | 7 | 2017-10-02T16:14:16.000Z | 2022-03-16T14:27:32.000Z | from .magic import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c9b3506286fb556f6659b813d0b13cb612f47f32 | 21 | py | Python | segm_benchmark/layers/__init__.py | anotherTK/segmentation.pytorch | 36b6b412ee5561745fd9a67e4b6e28c0b9f58d68 | [
"MIT"
] | null | null | null | segm_benchmark/layers/__init__.py | anotherTK/segmentation.pytorch | 36b6b412ee5561745fd9a67e4b6e28c0b9f58d68 | [
"MIT"
] | null | null | null | segm_benchmark/layers/__init__.py | anotherTK/segmentation.pytorch | 36b6b412ee5561745fd9a67e4b6e28c0b9f58d68 | [
"MIT"
] | null | null | null |
from .jpu import JPU | 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 2 | 20 | 10.5 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c9dde8609ca5fdedea2d7380def9dd714bd4133d | 37,895 | py | Python | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/85.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/85.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/85.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3209
passenger_arriving = (
(3, 7, 10, 7, 0, 0, 5, 6, 5, 6, 4, 0), # 0
(7, 6, 5, 2, 4, 0, 6, 10, 8, 4, 2, 0), # 1
(5, 3, 6, 1, 3, 0, 9, 3, 10, 5, 0, 0), # 2
(3, 9, 6, 7, 3, 0, 4, 9, 8, 3, 1, 0), # 3
(5, 8, 8, 3, 1, 0, 3, 7, 9, 6, 2, 0), # 4
(3, 11, 6, 6, 2, 0, 4, 11, 3, ... | 113.119403 | 212 | 0.729146 | 5,147 | 37,895 | 5.366233 | 0.227123 | 0.312817 | 0.247647 | 0.469225 | 0.330196 | 0.327806 | 0.327806 | 0.327806 | 0.327806 | 0.327806 | 0 | 0.819059 | 0.119119 | 37,895 | 334 | 213 | 113.458084 | 0.008358 | 0.031957 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c9ee8bbe0a19fe87d9c3ac43a4ce5ea675afd925 | 340 | py | Python | Code-Collection/Energy-Staggering-Wobbling/python/test_data.py | basavyr/physics-code-collection | 6ce50ec184ff2de081d0ca29e679e54dbb21f592 | [
"MIT"
] | 1 | 2021-04-20T04:49:59.000Z | 2021-04-20T04:49:59.000Z | Code-Collection/Energy-Staggering-Wobbling/python/test_data.py | basavyr/physics-code-collection | 6ce50ec184ff2de081d0ca29e679e54dbb21f592 | [
"MIT"
] | 43 | 2021-01-19T05:02:48.000Z | 2022-03-12T01:07:32.000Z | Code-Collection/Energy-Staggering-Wobbling/python/test_data.py | basavyr/physics-code-collection | 6ce50ec184ff2de081d0ca29e679e54dbb21f592 | [
"MIT"
] | null | null | null | #!/Users/robertpoenaru/.pyenv/shims/python
import numpy as np
import matplotlib.pyplot as plt
import finder
import importer
import plotter
import staggering
import data_analysis as MAKE
MAKE.Data_Analysis('Ru', 108)
MAKE.Data_Analysis('Ru', 110)
MAKE.Data_Analysis('Ru', 112)
MAKE.Data_Analysis('Pd', 112)
MAKE.Data_... | 18.888889 | 42 | 0.782353 | 52 | 340 | 5 | 0.480769 | 0.276923 | 0.307692 | 0.207692 | 0.161538 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0.102941 | 340 | 17 | 43 | 20 | 0.803279 | 0.120588 | 0 | 0 | 0 | 0 | 0.033557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.583333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c9eedb96dc4975c0438d24c5f246ad40ddfb7bd8 | 45 | py | Python | pcl_segmentation/configs/__init__.py | TillBeemelmanns/PCLSegmentation | 902539b58214a6de377acd8de18af5b29deea802 | [
"MIT"
] | 8 | 2021-03-10T16:19:45.000Z | 2022-01-02T17:57:33.000Z | pcl_segmentation/configs/__init__.py | TillBeemelmanns/PCLSegmentation | 902539b58214a6de377acd8de18af5b29deea802 | [
"MIT"
] | null | null | null | pcl_segmentation/configs/__init__.py | TillBeemelmanns/PCLSegmentation | 902539b58214a6de377acd8de18af5b29deea802 | [
"MIT"
] | 8 | 2021-03-11T16:12:02.000Z | 2022-03-29T22:50:15.000Z | from .SqueezeSegV2 import SqueezeSegV2Config
| 22.5 | 44 | 0.888889 | 4 | 45 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4e63a6c3838da271acdc215424e5ede1d3ef06c2 | 1,824 | py | Python | temboo/core/Library/Zendesk/Users/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Zendesk/Users/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Zendesk/Users/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Zendesk.Users.CreateManyUsers import CreateManyUsers, CreateManyUsersInputSet, CreateManyUsersResultSet, CreateManyUsersChoreographyExecution
from temboo.Library.Zendesk.Users.CreateUser import CreateUser, CreateUserInputSet, CreateUserResultSet, CreateUserChoreographyExecution
from temboo.Library.Z... | 140.307692 | 201 | 0.907895 | 132 | 1,824 | 12.545455 | 0.409091 | 0.072464 | 0.123188 | 0.173913 | 0.210145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046053 | 1,824 | 12 | 202 | 152 | 0.951724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4e870cb2579e0a77420c6b6e7fdc7bcc6d5464c3 | 21,071 | py | Python | tests/test_reportseff.py | sglim2/reportseff | 9ac9f6acfcd7b48b5a3f4190067a864d99334a23 | [
"MIT"
] | null | null | null | tests/test_reportseff.py | sglim2/reportseff | 9ac9f6acfcd7b48b5a3f4190067a864d99334a23 | [
"MIT"
] | null | null | null | tests/test_reportseff.py | sglim2/reportseff | 9ac9f6acfcd7b48b5a3f4190067a864d99334a23 | [
"MIT"
] | null | null | null | import pytest
from reportseff import reportseff
from reportseff.job_collection import Job_Collection
from reportseff.output_renderer import Output_Renderer
from reportseff.db_inquirer import Sacct_Inquirer
from click.testing import CliRunner
@pytest.fixture
def mock_inquirer(mocker):
def mock_valid(self):
... | 36.392055 | 79 | 0.61924 | 2,694 | 21,071 | 4.732368 | 0.072383 | 0.031375 | 0.024473 | 0.063221 | 0.870578 | 0.858969 | 0.849635 | 0.837085 | 0.827516 | 0.827516 | 0 | 0.179382 | 0.227991 | 21,071 | 578 | 80 | 36.455017 | 0.604352 | 0.012624 | 0 | 0.693252 | 0 | 0.087935 | 0.363015 | 0.24982 | 0 | 0 | 0 | 0 | 0.116564 | 1 | 0.051125 | false | 0 | 0.01227 | 0.002045 | 0.06544 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
09023398d84eca0ba574d77e8918a988e49ed820 | 187 | py | Python | AS2101_Labwork/4.Submissions/Task 4/func.py | kirtan2605/Coursework_Codes | 3455496e8ec0ae3a576cb3fc3b2ed01a055149c5 | [
"MIT"
] | null | null | null | AS2101_Labwork/4.Submissions/Task 4/func.py | kirtan2605/Coursework_Codes | 3455496e8ec0ae3a576cb3fc3b2ed01a055149c5 | [
"MIT"
] | null | null | null | AS2101_Labwork/4.Submissions/Task 4/func.py | kirtan2605/Coursework_Codes | 3455496e8ec0ae3a576cb3fc3b2ed01a055149c5 | [
"MIT"
] | null | null | null | import numpy as np
def f(x):
"""
returns the function value at input
Input:
1.x : input number, (in radian)
Output: function value at x
"""
return np.sin(x)
| 15.583333 | 39 | 0.588235 | 29 | 187 | 3.793103 | 0.689655 | 0.236364 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.31016 | 187 | 11 | 40 | 17 | 0.844961 | 0.55615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e10975e42bd5b4d29154da2f16975f7a77de9740 | 320 | py | Python | basically_ti_basic/__init__.py | TabulateJarl8/basically-ti-basic | 8d9ab4222c2ee95409d30eaec221d8a037d427ba | [
"MIT"
] | null | null | null | basically_ti_basic/__init__.py | TabulateJarl8/basically-ti-basic | 8d9ab4222c2ee95409d30eaec221d8a037d427ba | [
"MIT"
] | null | null | null | basically_ti_basic/__init__.py | TabulateJarl8/basically-ti-basic | 8d9ab4222c2ee95409d30eaec221d8a037d427ba | [
"MIT"
] | null | null | null | from .__version__ import __title__, __description__, __url__, __version__, __author__, __author_email__, __license__, __copyright__
# from basically_ti_basic.compiler.__init__ import PrgmCompiler
# from basically_ti_basic.files.__init__ import TIPrgmFile
from basically_ti_basic.main import compile_file, decompile_file
| 64 | 131 | 0.86875 | 38 | 320 | 5.921053 | 0.578947 | 0.173333 | 0.2 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08125 | 320 | 4 | 132 | 80 | 0.765306 | 0.36875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e11018afcb8fb4373f0322553fc0539eb45491c3 | 157 | py | Python | test.py | marcelrsoub/fdbpm-python | cfdc2d1aee50b86da1147bfdb2e76b8eec6b8376 | [
"MIT"
] | 1 | 2021-02-18T21:04:19.000Z | 2021-02-18T21:04:19.000Z | test.py | marcelrsoub/fdbpm-python | cfdc2d1aee50b86da1147bfdb2e76b8eec6b8376 | [
"MIT"
] | null | null | null | test.py | marcelrsoub/fdbpm-python | cfdc2d1aee50b86da1147bfdb2e76b8eec6b8376 | [
"MIT"
] | null | null | null | import PySide2.QtCore
# Prints PySide2 version
print(PySide2.__version__)
# Prints the Qt version used to compile PySide2
print(PySide2.QtCore.__version__) | 22.428571 | 47 | 0.821656 | 21 | 157 | 5.761905 | 0.52381 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035971 | 0.11465 | 157 | 7 | 48 | 22.428571 | 0.834532 | 0.433121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
011330a9f6a56efec808cd5a4db3b25d08afb6f4 | 165 | py | Python | wellcomeml/metrics/__init__.py | wellcometrust/WellcomeML | f7f5427f6dfdc6e5ee1342764263c6411e0f9bdf | [
"MIT"
] | 29 | 2020-01-31T17:05:38.000Z | 2021-12-14T14:17:55.000Z | wellcomeml/metrics/__init__.py | wellcometrust/WellcomeML | f7f5427f6dfdc6e5ee1342764263c6411e0f9bdf | [
"MIT"
] | 342 | 2020-02-05T10:40:43.000Z | 2022-03-17T19:50:23.000Z | wellcomeml/metrics/__init__.py | wellcometrust/WellcomeML | f7f5427f6dfdc6e5ee1342764263c6411e0f9bdf | [
"MIT"
] | 9 | 2020-06-07T17:01:00.000Z | 2021-11-24T16:03:38.000Z | from .f1 import f1_loss, f1_metric
from .ner_classification_report import ner_classification_report
__all__ = ["ner_classification_report", "f1_metric", "f1_loss"]
| 33 | 64 | 0.824242 | 23 | 165 | 5.304348 | 0.391304 | 0.418033 | 0.565574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.090909 | 165 | 4 | 65 | 41.25 | 0.78 | 0 | 0 | 0 | 0 | 0 | 0.248485 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0132288ff35b7a8c88ba03baa34d377f037b7063 | 8,060 | py | Python | testing/test_games_deck.py | egouletlang/logmein-assignment | 3c83d5c8462d5c88552b66ab531cee9ee8f9e4a2 | [
"MIT"
] | null | null | null | testing/test_games_deck.py | egouletlang/logmein-assignment | 3c83d5c8462d5c88552b66ab531cee9ee8f9e4a2 | [
"MIT"
] | null | null | null | testing/test_games_deck.py | egouletlang/logmein-assignment | 3c83d5c8462d5c88552b66ab531cee9ee8f9e4a2 | [
"MIT"
] | null | null | null |
from util import Client
from test_base import BaseTest
class TestGamesPlayers(BaseTest):
# GET /games/{game_id}/deck
def test_getGamesDeck_checkForPresence(self):
game_id, _, _ = self.setup_game()
status, response = self.client.get('/games/%s/deck' % game_id)
self.assertEqual(status... | 37.663551 | 105 | 0.655583 | 1,006 | 8,060 | 5.037773 | 0.065606 | 0.081689 | 0.07498 | 0.108919 | 0.866022 | 0.830111 | 0.807616 | 0.794594 | 0.78236 | 0.773875 | 0 | 0.01673 | 0.213896 | 8,060 | 213 | 106 | 37.840376 | 0.783144 | 0.044665 | 0 | 0.686275 | 0 | 0 | 0.078745 | 0.032149 | 0 | 0 | 0 | 0 | 0.372549 | 1 | 0.117647 | false | 0 | 0.013072 | 0 | 0.137255 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0134b9b61c98075d5c52edf95fd862e5bb170608 | 9,045 | py | Python | mqtt/client/test/test_pubsubs.py | drewp/twisted-mqtt | 51828655052d5e51dc4e98fc4aed881f42e3e04f | [
"MIT"
] | 34 | 2015-10-03T20:08:19.000Z | 2022-01-31T23:51:02.000Z | mqtt/client/test/test_pubsubs.py | drewp/twisted-mqtt | 51828655052d5e51dc4e98fc4aed881f42e3e04f | [
"MIT"
] | 16 | 2016-04-23T18:46:42.000Z | 2020-08-24T07:33:01.000Z | mqtt/client/test/test_pubsubs.py | drewp/twisted-mqtt | 51828655052d5e51dc4e98fc4aed881f42e3e04f | [
"MIT"
] | 15 | 2015-12-12T03:35:55.000Z | 2021-07-08T05:39:19.000Z | # ----------------------------------------------------------------------
# Copyright (C) 2015 by Rafael Gonzalez
# #
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, incl... | 36.619433 | 101 | 0.659812 | 976 | 9,045 | 6.048156 | 0.214139 | 0.077249 | 0.040318 | 0.063019 | 0.759106 | 0.759106 | 0.751482 | 0.750974 | 0.748094 | 0.748094 | 0 | 0.009237 | 0.233941 | 9,045 | 246 | 102 | 36.768293 | 0.84269 | 0.225539 | 0 | 0.899329 | 0 | 0 | 0.026891 | 0 | 0 | 0 | 0 | 0 | 0.107383 | 1 | 0.147651 | false | 0 | 0.073826 | 0 | 0.234899 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
013fcba36f2f5075ea76b55573fcbd37d0feb7bc | 49,148 | py | Python | osmchadjango/feature/tests/test_views.py | juusokor/osmcha-django | 5daafa015d5e341aa8ad6f847be2b7cc1a204e2b | [
"BSD-2-Clause"
] | null | null | null | osmchadjango/feature/tests/test_views.py | juusokor/osmcha-django | 5daafa015d5e341aa8ad6f847be2b7cc1a204e2b | [
"BSD-2-Clause"
] | null | null | null | osmchadjango/feature/tests/test_views.py | juusokor/osmcha-django | 5daafa015d5e341aa8ad6f847be2b7cc1a204e2b | [
"BSD-2-Clause"
] | null | null | null | import json
from datetime import date, datetime
from django.urls import reverse
from django.conf import settings
from django.contrib.gis.geos import GEOSGeometry
from rest_framework.authtoken.models import Token
from rest_framework.test import APITestCase
from social_django.models import UserSocialAuth
from ...chang... | 39.34988 | 97 | 0.596932 | 5,326 | 49,148 | 5.381337 | 0.054825 | 0.080074 | 0.066606 | 0.064757 | 0.868776 | 0.827291 | 0.780433 | 0.727434 | 0.705349 | 0.682426 | 0 | 0.016528 | 0.282311 | 49,148 | 1,248 | 98 | 39.38141 | 0.79602 | 0.035322 | 0 | 0.596206 | 0 | 0 | 0.088767 | 0.003115 | 0 | 0 | 0 | 0 | 0.214092 | 1 | 0.058717 | false | 0.046974 | 0.015357 | 0 | 0.083108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
014ada924988874cb495f4666cbb7254d19a0392 | 354 | py | Python | addressbook/events.py | kctzstyle/python-gui-addressbook | 0bd07a3e4c8181959d249a8272d890d19e44ceb6 | [
"MIT"
] | 3 | 2021-06-29T03:45:31.000Z | 2021-12-15T21:57:28.000Z | addressbook/events.py | kctzstyle/python-gui-addressbook | 0bd07a3e4c8181959d249a8272d890d19e44ceb6 | [
"MIT"
] | null | null | null | addressbook/events.py | kctzstyle/python-gui-addressbook | 0bd07a3e4c8181959d249a8272d890d19e44ceb6 | [
"MIT"
] | null | null | null |
from abc import ABCMeta
class EventHandler(metaclass=ABCMeta):
@staticmethod
def on_click(e, **kwargs):
pass
@staticmethod
def on_message(e, **kwargs):
pass
class AddressBookEventHandler(EventHandler):
@staticmethod
def on_click(e, **kwargs):
data = kwargs... | 15.391304 | 44 | 0.621469 | 37 | 354 | 5.864865 | 0.513514 | 0.207373 | 0.235023 | 0.202765 | 0.267281 | 0.267281 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282486 | 354 | 22 | 45 | 16.090909 | 0.854331 | 0 | 0 | 0.538462 | 0 | 0 | 0.011364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.153846 | 0.076923 | 0 | 0.538462 | 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 | 1 | 0 | 0 | 6 |
01740be98d481471da5b40904cc2731b25f8221c | 23 | py | Python | test/__init__.py | ltricot/py86 | c25e5081a154d1a1b1f7987f4c94e79721bde4cf | [
"MIT"
] | 1 | 2022-03-24T13:21:24.000Z | 2022-03-24T13:21:24.000Z | test/__init__.py | ltricot/py86 | c25e5081a154d1a1b1f7987f4c94e79721bde4cf | [
"MIT"
] | null | null | null | test/__init__.py | ltricot/py86 | c25e5081a154d1a1b1f7987f4c94e79721bde4cf | [
"MIT"
] | null | null | null | from . import testasm
| 7.666667 | 21 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 2 | 22 | 11.5 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
01774200d3c506c68477b9e629ce713ba8b060d9 | 49 | py | Python | tests/python_args/args.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 362 | 2018-02-17T10:25:11.000Z | 2022-03-30T21:04:59.000Z | tests/python_args/args.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 70 | 2018-02-17T04:00:14.000Z | 2019-08-21T18:01:52.000Z | tests/python_args/args.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 36 | 2018-02-18T23:11:25.000Z | 2021-09-20T07:19:36.000Z | def hello(*args):
print("hello world", args)
| 16.333333 | 30 | 0.632653 | 7 | 49 | 4.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 49 | 2 | 31 | 24.5 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0.22449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
018fb5cc0f5785a6729abec2548ce11fb07febb2 | 71 | py | Python | gammagl/io/__init__.py | BUPT-GAMMA/GammaGL | 2b9f32e1ac3533cb75a063243e8a2fa654466d18 | [
"Apache-2.0"
] | null | null | null | gammagl/io/__init__.py | BUPT-GAMMA/GammaGL | 2b9f32e1ac3533cb75a063243e8a2fa654466d18 | [
"Apache-2.0"
] | null | null | null | gammagl/io/__init__.py | BUPT-GAMMA/GammaGL | 2b9f32e1ac3533cb75a063243e8a2fa654466d18 | [
"Apache-2.0"
] | null | null | null | from .txt_array import read_txt_array
from .tu import remove_self_loops | 35.5 | 37 | 0.873239 | 13 | 71 | 4.384615 | 0.692308 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 71 | 2 | 38 | 35.5 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6d800642d302f0713d0ff4eb3b4744cc1002dd16 | 860 | py | Python | examples/mcell4/hybrid_circadian_clock/mcell4_particle_based/geometry.py | mcellteam/mcell-tests | 34d2d967b75d56edbae999bf0090641850f4f4fe | [
"MIT"
] | 1 | 2021-08-13T20:40:54.000Z | 2021-08-13T20:40:54.000Z | examples/mcell4/hybrid_circadian_clock/mcell4_particle_based/geometry.py | mcellteam/mcell_tests | 34d2d967b75d56edbae999bf0090641850f4f4fe | [
"MIT"
] | null | null | null | examples/mcell4/hybrid_circadian_clock/mcell4_particle_based/geometry.py | mcellteam/mcell_tests | 34d2d967b75d56edbae999bf0090641850f4f4fe | [
"MIT"
] | null | null | null | # WARNING: This is an automatically generated file and will be overwritten
# by CellBlender on the next model export.
import mcell as m
# ---- Cube ----
# originally: 0.806008994579315
Cube_vertex_list = [
[-0.125, -0.125, -0.125],
[-0.125, -0.125, 0.125],
[-0.125, 0.125, -0.125],
[-0.125,... | 20 | 74 | 0.495349 | 140 | 860 | 2.935714 | 0.292857 | 0.233577 | 0.279805 | 0.447689 | 0.233577 | 0.233577 | 0.233577 | 0.233577 | 0.233577 | 0.233577 | 0 | 0.243421 | 0.293023 | 860 | 42 | 75 | 20.47619 | 0.432566 | 0.248837 | 0 | 0 | 1 | 0 | 0.006289 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.032258 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6dc3b3f95e943ea5b6c534b77367644ad68e1fc0 | 28 | py | Python | lmcut/__init__.py | wannaphong/ThaiLMCUT | 36fb1e3eb5dcf7c4852c2e09889176824cbbe2b2 | [
"MIT"
] | 19 | 2020-02-25T14:40:27.000Z | 2021-03-09T04:38:29.000Z | lmcut/__init__.py | wannaphong/ThaiLMCUT | 36fb1e3eb5dcf7c4852c2e09889176824cbbe2b2 | [
"MIT"
] | 3 | 2020-05-26T20:56:30.000Z | 2020-12-15T16:19:39.000Z | lmcut/__init__.py | wannaphong/ThaiLMCUT | 36fb1e3eb5dcf7c4852c2e09889176824cbbe2b2 | [
"MIT"
] | 5 | 2020-05-15T15:22:20.000Z | 2022-02-20T12:11:01.000Z | from .lmcut import tokenize
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6de555b8246694d4d58ab71d24d1ce9f42485111 | 37 | py | Python | gfapy/line/edge/containment/__init__.py | ujjwalsh/gfapy | 891ef3df695f20c67809e5a54549c876d90690b4 | [
"ISC"
] | 44 | 2017-03-18T08:08:04.000Z | 2021-11-10T16:11:15.000Z | gfapy/line/edge/containment/__init__.py | ujjwalsh/gfapy | 891ef3df695f20c67809e5a54549c876d90690b4 | [
"ISC"
] | 22 | 2017-04-04T21:20:31.000Z | 2022-03-09T19:05:30.000Z | gfapy/line/edge/containment/__init__.py | ujjwalsh/gfapy | 891ef3df695f20c67809e5a54549c876d90690b4 | [
"ISC"
] | 5 | 2017-07-07T02:56:56.000Z | 2020-09-30T20:10:49.000Z | from .containment import Containment
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0966cde6a1ae70291b728705e25b8330c539b4cb | 149 | py | Python | dclnt/statistic.py | alexyvassili/dclnt | 10be7f8cd6a2dc79af5c68617b93df3c081f9079 | [
"MIT"
] | null | null | null | dclnt/statistic.py | alexyvassili/dclnt | 10be7f8cd6a2dc79af5c68617b93df3c081f9079 | [
"MIT"
] | null | null | null | dclnt/statistic.py | alexyvassili/dclnt | 10be7f8cd6a2dc79af5c68617b93df3c081f9079 | [
"MIT"
] | null | null | null | import collections
def get_top_words(words, top_size=10) -> 'collections.Counter list':
return collections.Counter(words).most_common(top_size) | 29.8 | 68 | 0.791946 | 21 | 149 | 5.380952 | 0.619048 | 0.123894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.100671 | 149 | 5 | 69 | 29.8 | 0.828358 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
098cc3d4382f5d0a26e26c79ba495679a9cd1588 | 9,648 | py | Python | steps/optimize.py | yukiizm/z-quantum-core | c96804d9f0a35e1dde150db21b9e0e91a54f449f | [
"Apache-2.0"
] | 24 | 2020-04-15T17:36:59.000Z | 2022-01-25T05:02:14.000Z | steps/optimize.py | yukiizm/z-quantum-core | c96804d9f0a35e1dde150db21b9e0e91a54f449f | [
"Apache-2.0"
] | 177 | 2020-04-23T15:19:59.000Z | 2022-03-30T18:06:17.000Z | steps/optimize.py | yukiizm/z-quantum-core | c96804d9f0a35e1dde150db21b9e0e91a54f449f | [
"Apache-2.0"
] | 19 | 2020-06-24T10:56:02.000Z | 2021-09-30T13:02:21.000Z | import json
from typing import List, Optional, Union
import numpy as np
import zquantum.core.circuits as new_circuits
from openfermion import SymbolicOperator
from zquantum.core.circuits import Circuit
from zquantum.core.cost_function import (
AnsatzBasedCostFunction,
get_ground_state_cost_function,
)
from zqu... | 42.131004 | 88 | 0.729374 | 1,091 | 9,648 | 6.185151 | 0.140238 | 0.052164 | 0.043568 | 0.009781 | 0.814612 | 0.792976 | 0.78275 | 0.772081 | 0.755187 | 0.755187 | 0 | 0 | 0.218076 | 9,648 | 228 | 89 | 42.315789 | 0.894486 | 0.285759 | 0 | 0.689189 | 0 | 0 | 0.028866 | 0.014957 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013514 | false | 0 | 0.081081 | 0 | 0.094595 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
09ddaa5acecbf06534f8302e32fe80d6938dcca5 | 266 | py | Python | holobot/discord/components/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/discord/components/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/discord/components/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | from .component_interaction_processor import ComponentInteractionProcessor
from .component_transformer import ComponentTransformer
from .icomponent_interaction_processor import IComponentInteractionProcessor
from .icomponent_transformer import IComponentTransformer
| 53.2 | 76 | 0.924812 | 22 | 266 | 10.909091 | 0.5 | 0.108333 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06015 | 266 | 4 | 77 | 66.5 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
09e8a16d095347af8dbf6912df6d8363030d502d | 112 | py | Python | django_client_data/app_settings.py | enricobarzetti/django_client_data | 78ed02372dd1523ac0dc24a13ed1a83894befc4e | [
"MIT"
] | null | null | null | django_client_data/app_settings.py | enricobarzetti/django_client_data | 78ed02372dd1523ac0dc24a13ed1a83894befc4e | [
"MIT"
] | 3 | 2020-02-12T00:10:27.000Z | 2021-06-10T19:48:04.000Z | django_client_data/app_settings.py | enricobarzetti/django_client_data | 78ed02372dd1523ac0dc24a13ed1a83894befc4e | [
"MIT"
] | null | null | null | from django.conf import settings
CLIENT_DATA_NAMESPACE = getattr(settings, 'CLIENT_DATA_NAMESPACE', 'DJANGO')
| 22.4 | 76 | 0.8125 | 14 | 112 | 6.214286 | 0.642857 | 0.321839 | 0.413793 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 112 | 4 | 77 | 28 | 0.861386 | 0 | 0 | 0 | 0 | 0 | 0.241071 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
61e4b87c17eb268942310fc2be20716a43fddf26 | 20 | py | Python | xeda/plugins/lwc/__init__.py | XedaHQ/xeda | e5bea8663a9001d0e98f6b7a91575e13fba06493 | [
"Apache-2.0"
] | 16 | 2021-01-21T12:58:51.000Z | 2022-02-26T22:43:56.000Z | xeda/plugins/lwc/__init__.py | XedaHQ/xeda | e5bea8663a9001d0e98f6b7a91575e13fba06493 | [
"Apache-2.0"
] | 7 | 2021-01-18T03:19:41.000Z | 2022-03-20T21:43:26.000Z | xeda/plugins/lwc/__init__.py | kammoh/xeda | e5bea8663a9001d0e98f6b7a91575e13fba06493 | [
"Apache-2.0"
] | 3 | 2020-09-03T02:37:20.000Z | 2020-09-10T14:25:49.000Z | from .flows import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
feee38f9051db6cfd5bed1dff0e500a4a5f2d3b6 | 76 | py | Python | cedar/config/tests/test_config_core.py | ceholden/cedar-datacube | d9463a28ce52665faaed069481d34a5ebe60558e | [
"BSD-3-Clause"
] | 12 | 2019-07-19T17:35:24.000Z | 2021-12-29T20:22:12.000Z | cedar/config/tests/test_config_core.py | ceholden/cedar-datacube | d9463a28ce52665faaed069481d34a5ebe60558e | [
"BSD-3-Clause"
] | null | null | null | cedar/config/tests/test_config_core.py | ceholden/cedar-datacube | d9463a28ce52665faaed069481d34a5ebe60558e | [
"BSD-3-Clause"
] | 2 | 2019-10-06T06:36:39.000Z | 2020-06-15T04:07:07.000Z | """ Tests for :py:mod:`cedar.config.core`
"""
from cedar.config import core
| 19 | 41 | 0.697368 | 12 | 76 | 4.416667 | 0.75 | 0.415094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 76 | 3 | 42 | 25.333333 | 0.791045 | 0.486842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3a0c4d0e5a33901c76418540e9e2eb38a30aa769 | 128 | py | Python | __init__.py | nick-terry/Splitting-GP | efd886f6442f096833460cf8cd28ff3e18da732a | [
"MIT"
] | 1 | 2021-12-24T09:10:03.000Z | 2021-12-24T09:10:03.000Z | __init__.py | nick-terry/Splitting-GP | efd886f6442f096833460cf8cd28ff3e18da732a | [
"MIT"
] | null | null | null | __init__.py | nick-terry/Splitting-GP | efd886f6442f096833460cf8cd28ff3e18da732a | [
"MIT"
] | null | null | null | from GP import GP
from DGP import DGP
from DataSet import DataSet
from dgp import gBCM
from dgp import gPoE
from dgp import PoE
| 18.285714 | 27 | 0.8125 | 24 | 128 | 4.333333 | 0.333333 | 0.269231 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 128 | 6 | 28 | 21.333333 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3a26cd70067cced018d97310e21511c82fe4dc70 | 66 | py | Python | src/File.py | CorentinGaillard/MyLittleERP | 8ac63f0be0298a124351b6a454c43d296bffb093 | [
"MIT"
] | null | null | null | src/File.py | CorentinGaillard/MyLittleERP | 8ac63f0be0298a124351b6a454c43d296bffb093 | [
"MIT"
] | null | null | null | src/File.py | CorentinGaillard/MyLittleERP | 8ac63f0be0298a124351b6a454c43d296bffb093 | [
"MIT"
] | 1 | 2019-06-03T21:18:21.000Z | 2019-06-03T21:18:21.000Z | # coding=UTF-8
from Rule import *
class File (Rule):
pass
| 7.333333 | 18 | 0.621212 | 10 | 66 | 4.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.272727 | 66 | 8 | 19 | 8.25 | 0.833333 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
28b8656d2ff3e81d7bd4206f9705f0cc39b79f29 | 115 | py | Python | cvpods/utils/file/__init__.py | hanqiu-hq/cvpods | 597fa669151fdad87c250fa118a9e3a555f4fb5e | [
"Apache-2.0"
] | 758 | 2021-03-11T08:14:26.000Z | 2022-03-31T07:24:13.000Z | cvpods/utils/file/__init__.py | wondervictor/cvpods | 614a975e5425bbaeb66bbd1ffca552d633ba89ca | [
"Apache-2.0"
] | 58 | 2020-12-04T19:47:10.000Z | 2022-03-30T06:52:13.000Z | cvpods/utils/file/__init__.py | wondervictor/cvpods | 614a975e5425bbaeb66bbd1ffca552d633ba89ca | [
"Apache-2.0"
] | 110 | 2021-03-18T01:59:31.000Z | 2022-03-18T21:26:56.000Z | #!/usr/bin/python3
# -*- coding:utf-8 -*-
from .download import *
from .file_io import *
from .serialize import *
| 16.428571 | 24 | 0.669565 | 16 | 115 | 4.75 | 0.75 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.156522 | 115 | 6 | 25 | 19.166667 | 0.762887 | 0.330435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3ad46d042fba1bd15fbe1ce50e3d45c9b9417f8c | 43 | py | Python | eosUtils/__init__.py | hysds/eosUtils | a0e7bbb7cca445ce81630d3797c1bc50fd337f83 | [
"Apache-2.0"
] | null | null | null | eosUtils/__init__.py | hysds/eosUtils | a0e7bbb7cca445ce81630d3797c1bc50fd337f83 | [
"Apache-2.0"
] | null | null | null | eosUtils/__init__.py | hysds/eosUtils | a0e7bbb7cca445ce81630d3797c1bc50fd337f83 | [
"Apache-2.0"
] | null | null | null | import granule
import granule2
import misc
| 10.75 | 15 | 0.860465 | 6 | 43 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.139535 | 43 | 3 | 16 | 14.333333 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c90385e5b81308f60c68abd6b6d95f8080101472 | 387 | py | Python | scripts.py | appleparan/template.py | 7af9fbace44f156f27bf40e73fce68f77d2188ee | [
"MIT"
] | null | null | null | scripts.py | appleparan/template.py | 7af9fbace44f156f27bf40e73fce68f77d2188ee | [
"MIT"
] | null | null | null | scripts.py | appleparan/template.py | 7af9fbace44f156f27bf40e73fce68f77d2188ee | [
"MIT"
] | null | null | null | import subprocess
def test():
"""
Run all unittests. Equivalent to:
`poetry run python -u -m unittest discover`
"""
subprocess.Popen(["python", "-m", "pytest", "--import-mode=importlib"])
def lint():
"""
Run all unittests. Equivalent to:
`poetry run python -u -m unittest discover`
... | 21.5 | 75 | 0.599483 | 43 | 387 | 5.395349 | 0.534884 | 0.051724 | 0.12931 | 0.215517 | 0.646552 | 0.646552 | 0.646552 | 0.646552 | 0.646552 | 0.646552 | 0 | 0 | 0.222222 | 387 | 17 | 76 | 22.764706 | 0.770764 | 0.400517 | 0 | 0 | 0 | 0 | 0.326425 | 0.119171 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c9395342adcb0a922176e123e91e4ab09e5c0da9 | 25 | py | Python | mavsdk/telemetry/__init__.py | appetito/MAVSDK-Python | 3a44abce658c1df29bc41cb6b6c1ba523de6c606 | [
"BSD-3-Clause"
] | null | null | null | mavsdk/telemetry/__init__.py | appetito/MAVSDK-Python | 3a44abce658c1df29bc41cb6b6c1ba523de6c606 | [
"BSD-3-Clause"
] | null | null | null | mavsdk/telemetry/__init__.py | appetito/MAVSDK-Python | 3a44abce658c1df29bc41cb6b6c1ba523de6c606 | [
"BSD-3-Clause"
] | null | null | null | from .telemetry import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c95d9fc9298f3554af8bd528a8613d193809b1f1 | 4,277 | py | Python | migrations/versions/0e8bc3970388_add_historical_logs_table.py | PrateekPisat/covid_tracker | 515ff44bc5fde756acc00737651eaddabf6e90a6 | [
"MIT"
] | null | null | null | migrations/versions/0e8bc3970388_add_historical_logs_table.py | PrateekPisat/covid_tracker | 515ff44bc5fde756acc00737651eaddabf6e90a6 | [
"MIT"
] | null | null | null | migrations/versions/0e8bc3970388_add_historical_logs_table.py | PrateekPisat/covid_tracker | 515ff44bc5fde756acc00737651eaddabf6e90a6 | [
"MIT"
] | null | null | null | """Add historical_logs table.
Revision ID: 0e8bc3970388
Revises:
Create Date: 2020-09-26 12:30:42.001562
"""
import sqlalchemy as sa
from alembic import op
# revision identifiers, used by Alembic.
revision = "0e8bc3970388"
down_revision = None
branch_labels = None
depends_on = None
def upgrade():
op.create_ta... | 55.545455 | 99 | 0.68015 | 536 | 4,277 | 5.279851 | 0.166045 | 0.127208 | 0.240283 | 0.310954 | 0.774558 | 0.756184 | 0.756184 | 0.756184 | 0.756184 | 0.445936 | 0 | 0.02334 | 0.158522 | 4,277 | 76 | 100 | 56.276316 | 0.76299 | 0.033435 | 0 | 0 | 0 | 0 | 0.217159 | 0.119244 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031746 | false | 0 | 0.031746 | 0 | 0.063492 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c986e83ad547b005d2149dc109aa8eb57c733771 | 389 | py | Python | soluciones/hola_mundo/hola_mundo.py | estefaniamiguel/blockly | 89fc731ee0521175837f9aa37380b8548355e078 | [
"Apache-2.0"
] | null | null | null | soluciones/hola_mundo/hola_mundo.py | estefaniamiguel/blockly | 89fc731ee0521175837f9aa37380b8548355e078 | [
"Apache-2.0"
] | 40 | 2020-06-08T20:09:27.000Z | 2022-01-22T12:11:49.000Z | soluciones/hola_mundo/hola_mundo.py | unipeinformatica/blockly | 89fc731ee0521175837f9aa37380b8548355e078 | [
"Apache-2.0"
] | null | null | null | from consola import leer_caracter
from consola import leer_entrada_completa
from consola import obtener_caracter
from consola import avanzar_caracter
from consola import hay_mas_caracteres
from consola import imprimir
from consola import cambiar_color_texto
def Copiar_la_entrada():
while hay_mas_caracteres():
im... | 24.3125 | 41 | 0.840617 | 53 | 389 | 5.849057 | 0.377358 | 0.248387 | 0.383871 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123393 | 389 | 15 | 42 | 25.933333 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | true | 0 | 0.583333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a316497581c122834f344b78aa0f3cdbe1eb941d | 4,995 | py | Python | tests/test_paths.py | rochamatcomp/python-rocha | bbf8b559f8052f8c081be29ef21d3e1f697477c3 | [
"MIT"
] | 1 | 2021-02-27T14:35:22.000Z | 2021-02-27T14:35:22.000Z | tests/test_paths.py | rochamatcomp/python-rocha | bbf8b559f8052f8c081be29ef21d3e1f697477c3 | [
"MIT"
] | null | null | null | tests/test_paths.py | rochamatcomp/python-rocha | bbf8b559f8052f8c081be29ef21d3e1f697477c3 | [
"MIT"
] | 1 | 2021-02-27T15:27:53.000Z | 2021-02-27T15:27:53.000Z | # -*- coding: utf-8 -*-
"""
:mod:`paths` -- Test paths manipulation
=======================================
.. module:: paths
:platform: Unix, Windows
:synopsis: Paths manipulation and files discovery.
.. moduleauthor:: Andre Rocha <rocha.matcomp@gmail.com>
"""
import os
from src.rocha import paths
def test_f... | 31.024845 | 108 | 0.668068 | 634 | 4,995 | 5.083596 | 0.130915 | 0.044679 | 0.047782 | 0.047161 | 0.855724 | 0.847968 | 0.826249 | 0.80453 | 0.763264 | 0.708036 | 0 | 0.000254 | 0.212012 | 4,995 | 161 | 109 | 31.024845 | 0.818598 | 0.196997 | 0 | 0.613636 | 0 | 0 | 0.255065 | 0.182338 | 0 | 0 | 0 | 0 | 0.113636 | 1 | 0.113636 | false | 0 | 0.022727 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6eca9d8c3eeb77137b16c46e0e253e19cc06d04b | 25,957 | py | Python | pykeops/tutorials/a_LazyTensors/plot_test_tensordot.py | mdiazmel/keops | 52a3d2ee80a720639f52898305f85399b7b45a63 | [
"MIT"
] | 695 | 2019-04-29T10:20:55.000Z | 2022-03-31T13:07:24.000Z | pykeops/tutorials/a_LazyTensors/plot_test_tensordot.py | mdiazmel/keops | 52a3d2ee80a720639f52898305f85399b7b45a63 | [
"MIT"
] | 213 | 2019-04-18T09:24:39.000Z | 2022-03-31T14:27:12.000Z | pykeops/tutorials/a_LazyTensors/plot_test_tensordot.py | mdiazmel/keops | 52a3d2ee80a720639f52898305f85399b7b45a63 | [
"MIT"
] | 52 | 2019-04-18T09:18:08.000Z | 2022-03-27T01:48:33.000Z | """
=========
TensorDot
=========
This is a test script to showcase the tensordot syntax.
"""
import numpy as np
import torch
from pykeops.torch import LazyTensor
M, N = 2, 10
#######################################################################################################################
# Matrix multiplica... | 35.124493 | 120 | 0.598875 | 3,852 | 25,957 | 3.911994 | 0.049325 | 0.025483 | 0.035835 | 0.044595 | 0.899728 | 0.885327 | 0.882739 | 0.871989 | 0.855465 | 0.845909 | 0 | 0.034774 | 0.133644 | 25,957 | 738 | 121 | 35.172087 | 0.635317 | 0.187156 | 0 | 0.61978 | 0 | 0 | 0.151126 | 0.026179 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006593 | false | 0 | 0.006593 | 0.004396 | 0.01978 | 0.118681 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6eed12624af40b5e2d79babdefe80a58a9355244 | 163 | py | Python | pkgs/filetransferutils-pkg/src/genie/libs/filetransferutils/plugins/ios/scp/fileutils.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/filetransferutils-pkg/src/genie/libs/filetransferutils/plugins/ios/scp/fileutils.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/filetransferutils-pkg/src/genie/libs/filetransferutils/plugins/ios/scp/fileutils.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | """ File utils base class for SCP on IOS devices. """
from ...iosxe.scp.fileutils import FileUtils as FileUtilsXEBase
class FileUtils(FileUtilsXEBase):
pass
| 23.285714 | 63 | 0.748466 | 21 | 163 | 5.809524 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159509 | 163 | 6 | 64 | 27.166667 | 0.890511 | 0.276074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
42d9a84b42f411d0933ed7c3c098bc584c67c1c1 | 89 | py | Python | funniest/__init__.py | mrityunjaykumar911/funniest | 901d4a2ad6a52e89d8538b665d5b67346c5d506a | [
"MIT"
] | null | null | null | funniest/__init__.py | mrityunjaykumar911/funniest | 901d4a2ad6a52e89d8538b665d5b67346c5d506a | [
"MIT"
] | null | null | null | funniest/__init__.py | mrityunjaykumar911/funniest | 901d4a2ad6a52e89d8538b665d5b67346c5d506a | [
"MIT"
] | null | null | null | def joke():
return "ek haathi tha, ek chiti thi" + "ek din chiti ne kaha" + "haahaa"
| 29.666667 | 76 | 0.629213 | 15 | 89 | 3.733333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235955 | 89 | 2 | 77 | 44.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.595506 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6e057e8802ba51ab74ed63ac2849563b7e6eddf0 | 13,514 | py | Python | checkerpy/tests/validators/all/test_limitedtuple.py | yedivanseven/CheckerPy | 04612086d25fecdd0b20ca0a050db8620c437b0e | [
"MIT"
] | 1 | 2018-01-12T19:20:51.000Z | 2018-01-12T19:20:51.000Z | checkerpy/tests/validators/all/test_limitedtuple.py | yedivanseven/CheckerPy | 04612086d25fecdd0b20ca0a050db8620c437b0e | [
"MIT"
] | null | null | null | checkerpy/tests/validators/all/test_limitedtuple.py | yedivanseven/CheckerPy | 04612086d25fecdd0b20ca0a050db8620c437b0e | [
"MIT"
] | null | null | null | import logging
import unittest as ut
from ....functional import CompositionOf
from ....validators.all import LimitedTuple
from ....exceptions import LenError, WrongTypeError, LimitError, CallableError
from ....types.all import _ALL_COMPARABLES, TypedDict
class TestLimitedTupleLimits(ut.TestCase):
def test_error_... | 47.75265 | 79 | 0.62032 | 1,815 | 13,514 | 4.434711 | 0.076584 | 0.031308 | 0.032302 | 0.038763 | 0.83762 | 0.83265 | 0.82768 | 0.82768 | 0.814635 | 0.791527 | 0 | 0.022319 | 0.267278 | 13,514 | 282 | 80 | 47.921986 | 0.790547 | 0 | 0 | 0.539095 | 0 | 0 | 0.218662 | 0 | 0 | 0 | 0 | 0 | 0.337449 | 1 | 0.131687 | false | 0.004115 | 0.024691 | 0.004115 | 0.17284 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
285ecbf656ab5e53938ed61003509ca9870276d2 | 41 | py | Python | mobo/test_functions/__init__.py | MasashiSode/MOBO | 8083d482ce5bff3ede82daca63de818e4be825b0 | [
"MIT"
] | 30 | 2019-03-21T01:53:29.000Z | 2022-02-26T12:37:26.000Z | mobo/test_functions/__init__.py | MasashiSode/MOGP | 8083d482ce5bff3ede82daca63de818e4be825b0 | [
"MIT"
] | null | null | null | mobo/test_functions/__init__.py | MasashiSode/MOGP | 8083d482ce5bff3ede82daca63de818e4be825b0 | [
"MIT"
] | 7 | 2020-06-03T01:05:04.000Z | 2022-03-08T11:48:14.000Z | from .multi_objective_functions import *
| 20.5 | 40 | 0.853659 | 5 | 41 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
955ce9004ac4a8077aede1f65263dc9a242625a7 | 22 | py | Python | gridopt/scripts/__init__.py | romcon/GRIDOPT | e44dca8a1c5579c1df8adad06f1749d59be18392 | [
"BSD-2-Clause"
] | 13 | 2015-11-13T22:34:36.000Z | 2021-08-19T11:47:45.000Z | gridopt/scripts/__init__.py | ttinoco/GRIDOPT | b5001212e5aee4628243c75cf78fe5872f5a90c3 | [
"BSD-2-Clause"
] | 35 | 2016-11-28T21:12:57.000Z | 2019-08-08T20:39:31.000Z | gridopt/scripts/__init__.py | romcon/GRIDOPT | e44dca8a1c5579c1df8adad06f1749d59be18392 | [
"BSD-2-Clause"
] | 11 | 2016-03-11T10:32:34.000Z | 2019-09-26T16:29:13.000Z | from . import gridopt
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
956e934f2b80ba3f55527cc9adb5f9dc71879ace | 42 | py | Python | src/utils.py | otaviocap/PyDashboard | b2ffbe47e93d90700a266c8a7e229eb81845c65f | [
"MIT"
] | null | null | null | src/utils.py | otaviocap/PyDashboard | b2ffbe47e93d90700a266c8a7e229eb81845c65f | [
"MIT"
] | null | null | null | src/utils.py | otaviocap/PyDashboard | b2ffbe47e93d90700a266c8a7e229eb81845c65f | [
"MIT"
] | null | null | null | def mod(n):
return n * -1 if n < 0 else n | 21 | 30 | 0.571429 | 11 | 42 | 2.181818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.285714 | 42 | 2 | 30 | 21 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
95832298703d64afcf4c76fa55a17da9f6c6cb4c | 5,489 | py | Python | pscan/tests/test_scan.py | rtapadar/pscan | 8176749438fb51d6570e5f51350058f14bbd06f8 | [
"Apache-2.0"
] | null | null | null | pscan/tests/test_scan.py | rtapadar/pscan | 8176749438fb51d6570e5f51350058f14bbd06f8 | [
"Apache-2.0"
] | null | null | null | pscan/tests/test_scan.py | rtapadar/pscan | 8176749438fb51d6570e5f51350058f14bbd06f8 | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 Rudrajit Tapadar
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | 34.961783 | 76 | 0.539078 | 652 | 5,489 | 4.417178 | 0.20092 | 0.06875 | 0.020833 | 0.025 | 0.767708 | 0.757986 | 0.754514 | 0.732639 | 0.73125 | 0.718056 | 0 | 0.03944 | 0.284023 | 5,489 | 156 | 77 | 35.185897 | 0.693384 | 0.129714 | 0 | 0.75 | 0 | 0 | 0.227454 | 0.108472 | 0 | 0 | 0 | 0 | 0.054688 | 1 | 0.0625 | false | 0 | 0.039063 | 0 | 0.109375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
254d3ff66b0940b1af4476e187f61930fd9d8ab2 | 178 | py | Python | code/normalize.py | lionelmessi6410/Image-Filtering-and-Hybrid-Images | b4c87343cc832f0d1d184cf517e02a7d7aa2ddac | [
"MIT"
] | 2 | 2021-04-09T09:00:57.000Z | 2021-05-04T13:09:08.000Z | code/normalize.py | lionelmessi6410/Image-Filtering-and-Hybrid-Images | b4c87343cc832f0d1d184cf517e02a7d7aa2ddac | [
"MIT"
] | null | null | null | code/normalize.py | lionelmessi6410/Image-Filtering-and-Hybrid-Images | b4c87343cc832f0d1d184cf517e02a7d7aa2ddac | [
"MIT"
] | 2 | 2020-12-19T13:36:29.000Z | 2021-10-01T04:26:35.000Z | def normalize(img):
''' Function to normalize an input array to 0-1 '''
img_min = img.min()
img_max = img.max()
return (img - img_min) / (img_max - img_min)
| 29.666667 | 56 | 0.595506 | 28 | 178 | 3.607143 | 0.464286 | 0.237624 | 0.267327 | 0.237624 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.264045 | 178 | 5 | 57 | 35.6 | 0.755725 | 0.241573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6c1bfa4bd6074b31ba89b777c6b3d51717ccad65 | 24 | py | Python | platform-modules/batch-models/src/test/resources/python/main/vidyavaani/content/get_concepts.py | harshavardhanc/sunbird-analytics | eebb74a9b97bf9d19b61cca7ca8befc40207c3c7 | [
"MIT"
] | 2 | 2019-02-14T11:15:41.000Z | 2019-10-04T10:31:00.000Z | platform-modules/batch-models/src/test/resources/python/main/vidyavaani/content/get_concepts.py | harshavardhanc/sunbird-analytics | eebb74a9b97bf9d19b61cca7ca8befc40207c3c7 | [
"MIT"
] | 73 | 2018-07-27T09:51:45.000Z | 2021-12-14T21:14:15.000Z | platform-modules/batch-models/src/test/resources/python/main/vidyavaani/content/get_concepts.py | harshavardhanc/sunbird-analytics | eebb74a9b97bf9d19b61cca7ca8befc40207c3c7 | [
"MIT"
] | 41 | 2018-11-08T09:28:47.000Z | 2021-05-31T16:59:41.000Z | print "getting concepts" | 24 | 24 | 0.833333 | 3 | 24 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 24 | 1 | 24 | 24 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6c3387e5730f41f6273f718dc685aadb8c602116 | 182 | py | Python | application/routes/views.py | dejbug/full-stack-python-test-1 | c5256e24d33ef5f8e1cc9dc9330507c15421f944 | [
"MIT"
] | null | null | null | application/routes/views.py | dejbug/full-stack-python-test-1 | c5256e24d33ef5f8e1cc9dc9330507c15421f944 | [
"MIT"
] | null | null | null | application/routes/views.py | dejbug/full-stack-python-test-1 | c5256e24d33ef5f8e1cc9dc9330507c15421f944 | [
"MIT"
] | null | null | null | from flask import session, redirect, url_for
from application import app, utils
@app.route("/")
def index():
utils.init_session()
return redirect(url_for("leads.index"))
| 20.222222 | 45 | 0.714286 | 25 | 182 | 5.08 | 0.64 | 0.173228 | 0.220472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159341 | 182 | 8 | 46 | 22.75 | 0.830065 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6c62dcc6b1f8382bac8e15921120dc0f14f45160 | 109 | py | Python | ml_gym/spaces/__init__.py | olliethomas/ml-fairness-gym | adaa878596d3ce7dc0ee821f53f99cdf0cd2ef5f | [
"Apache-2.0"
] | null | null | null | ml_gym/spaces/__init__.py | olliethomas/ml-fairness-gym | adaa878596d3ce7dc0ee821f53f99cdf0cd2ef5f | [
"Apache-2.0"
] | null | null | null | ml_gym/spaces/__init__.py | olliethomas/ml-fairness-gym | adaa878596d3ce7dc0ee821f53f99cdf0cd2ef5f | [
"Apache-2.0"
] | null | null | null | from .batch import *
from .graph import *
from .multi_discrete_with_none import *
from .multinomial import *
| 21.8 | 39 | 0.779817 | 15 | 109 | 5.466667 | 0.6 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 109 | 4 | 40 | 27.25 | 0.88172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
667b14d84e0ca367f8035c5f767a5a29f4b2ae4a | 5,501 | py | Python | tools/prune/prune_vggnet.py | ZJCV/SSL | c52bf6fd6ca1f960107dbe0412f16be4df285e1e | [
"Apache-2.0"
] | 8 | 2021-07-18T04:32:05.000Z | 2022-03-29T16:26:55.000Z | tools/prune/prune_vggnet.py | ZJCV/SSL | c52bf6fd6ca1f960107dbe0412f16be4df285e1e | [
"Apache-2.0"
] | 1 | 2021-12-27T07:12:11.000Z | 2021-12-27T14:19:02.000Z | tools/prune/prune_vggnet.py | ZJCV/SSL | c52bf6fd6ca1f960107dbe0412f16be4df285e1e | [
"Apache-2.0"
] | 4 | 2021-09-29T02:30:26.000Z | 2022-03-18T11:29:11.000Z | # -*- coding: utf-8 -*-
"""
@date: 2021/6/11 上午10:11
@file: prune_vggnet.py
@author: zj
@description:
"""
import torch
import warnings
warnings.filterwarnings("ignore")
from sslearning.config.key_word import KEY_CHANNEL, KEY_FILTER, KEY_FILTER_AND_CHANNEL
from operation import load_model, prune_model, save_model
... | 55.01 | 123 | 0.593165 | 663 | 5,501 | 4.506787 | 0.119155 | 0.056225 | 0.072289 | 0.090361 | 0.914324 | 0.914324 | 0.89324 | 0.89324 | 0.888554 | 0.888554 | 0 | 0.038971 | 0.314306 | 5,501 | 99 | 124 | 55.565657 | 0.753181 | 0.293765 | 0 | 0.642857 | 0 | 0 | 0.129759 | 0.096866 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053571 | false | 0 | 0.071429 | 0 | 0.125 | 0.160714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
66c318857ce48048437dede7072901ad6471b8fc | 29 | py | Python | vocoders/__init__.py | ishine/DiffSinger-1 | 9a5baf553f635f088ca110aa22e87b67ece6e947 | [
"MIT"
] | 288 | 2021-12-19T04:02:00.000Z | 2022-03-27T16:13:44.000Z | vocoders/__init__.py | ishine/DiffSinger-1 | 9a5baf553f635f088ca110aa22e87b67ece6e947 | [
"MIT"
] | 44 | 2021-12-27T07:11:20.000Z | 2022-03-29T08:39:41.000Z | vocoders/__init__.py | ishine/DiffSinger-1 | 9a5baf553f635f088ca110aa22e87b67ece6e947 | [
"MIT"
] | 37 | 2021-12-19T16:51:34.000Z | 2022-03-23T09:22:31.000Z | from vocoders import hifigan
| 14.5 | 28 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
66ee005d2a20a2cbbbaf89c5c39e0af7da889f6a | 60 | py | Python | test/data/multiline_bad_function_one_param.py | javulticat/flake8-commas | 32647a9806e4e1d1ad4e6682e8d3229a519de43a | [
"MIT"
] | 97 | 2018-01-13T03:13:57.000Z | 2022-03-28T06:18:33.000Z | test/data/multiline_bad_function_one_param.py | javulticat/flake8-commas | 32647a9806e4e1d1ad4e6682e8d3229a519de43a | [
"MIT"
] | 28 | 2017-01-13T17:04:56.000Z | 2018-01-03T06:15:56.000Z | test/data/multiline_bad_function_one_param.py | javulticat/flake8-commas | 32647a9806e4e1d1ad4e6682e8d3229a519de43a | [
"MIT"
] | 9 | 2018-03-15T15:01:28.000Z | 2022-03-01T17:50:09.000Z | def func(
a = 3
):
pass
func(
a = 3
)
| 6 | 13 | 0.316667 | 8 | 60 | 2.375 | 0.625 | 0.526316 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.566667 | 60 | 9 | 14 | 6.666667 | 0.653846 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
dd1022b3b099705196351a0f62ba30f4c2f0c20b | 370 | py | Python | modules/tests/test_rideservices.py | joemulray/ostorybook-jarvis | c08502b843691207f68270e621032fe4299350d7 | [
"MIT"
] | 3 | 2018-01-25T18:00:50.000Z | 2019-02-20T03:22:07.000Z | modules/tests/test_rideservices.py | joemulray/ostorybook-jarvis | c08502b843691207f68270e621032fe4299350d7 | [
"MIT"
] | null | null | null | modules/tests/test_rideservices.py | joemulray/ostorybook-jarvis | c08502b843691207f68270e621032fe4299350d7 | [
"MIT"
] | null | null | null | import modules
def test_rideservices():
assert ('rideservices' == modules.process_query('I need a ride')[0])
assert ('rideservices' == modules.process_query('Call me an <Uber/Lyft>')[0])
assert ('rideservices' == modules.process_query('Can you drive me home?')[0])
assert ('rideservices' != modules.pro... | 41.111111 | 90 | 0.689189 | 50 | 370 | 5 | 0.46 | 0.288 | 0.4 | 0.512 | 0.752 | 0.504 | 0.352 | 0.352 | 0 | 0 | 0 | 0.012618 | 0.143243 | 370 | 8 | 91 | 46.25 | 0.776025 | 0 | 0 | 0 | 0 | 0 | 0.367568 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dd4305e59c5b90ed533492e4a081af0efedcba80 | 106 | py | Python | scheduler.py | schappe/yo-water-tracker | 7577d7f235bd2c175a5e925ab80b1134b04efa08 | [
"MIT"
] | 2 | 2015-10-06T17:32:16.000Z | 2016-05-13T23:17:42.000Z | scheduler.py | schappe/yo-water-tracker | 7577d7f235bd2c175a5e925ab80b1134b04efa08 | [
"MIT"
] | 1 | 2015-10-08T18:17:08.000Z | 2015-10-09T03:58:32.000Z | scheduler.py | schappe/yo-water-tracker | 7577d7f235bd2c175a5e925ab80b1134b04efa08 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from reminders import trigger_applicable_reminders
trigger_applicable_reminders() | 26.5 | 50 | 0.801887 | 12 | 106 | 6.75 | 0.666667 | 0.419753 | 0.641975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.09434 | 106 | 4 | 51 | 26.5 | 0.833333 | 0.198113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dd4343248f0f73b6be6a73ac3a23119738b5d642 | 392 | py | Python | db/__init__.py | wojtekwrona232/seminar-flask-showcase | 82ebc4f694f90f009bbbd3fb4e14adbaa07e1cb0 | [
"MIT"
] | null | null | null | db/__init__.py | wojtekwrona232/seminar-flask-showcase | 82ebc4f694f90f009bbbd3fb4e14adbaa07e1cb0 | [
"MIT"
] | null | null | null | db/__init__.py | wojtekwrona232/seminar-flask-showcase | 82ebc4f694f90f009bbbd3fb4e14adbaa07e1cb0 | [
"MIT"
] | null | null | null | # ****************************************************************************************
# Copyright (c) 2021. Wojciech Wrona *
# ****************************************************************************************
from .orm import Address, User
from .db_user im... | 49 | 90 | 0.316327 | 24 | 392 | 5.083333 | 0.625 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.204082 | 392 | 7 | 91 | 56 | 0.378205 | 0.678571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
06b4f874a4f25d214a1f8368bc405cee37a4ff14 | 107,989 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_lpts_lib_cfg.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 177 | 2016-03-15T17:03:51.000Z | 2022-03-18T16:48:44.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_lpts_lib_cfg.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 18 | 2016-03-30T10:45:22.000Z | 2020-07-14T16:28:13.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_lpts_lib_cfg.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 85 | 2016-03-16T20:38:57.000Z | 2022-02-22T04:26:02.000Z | """ Cisco_IOS_XR_lpts_lib_cfg
This module contains a collection of YANG definitions
for Cisco IOS\-XR lpts\-lib package configuration.
This module contains definitions
for the following management objects\:
lpts\: lpts configuration commands
Copyright (c) 2013\-2018 by Cisco Systems, Inc.
All rights reserved.
""... | 45.278407 | 357 | 0.494097 | 9,703 | 107,989 | 5.154282 | 0.029269 | 0.04351 | 0.054387 | 0.046749 | 0.871731 | 0.837479 | 0.79253 | 0.762317 | 0.734904 | 0.720127 | 0 | 0.009038 | 0.407801 | 107,989 | 2,384 | 358 | 45.297399 | 0.772998 | 0.153682 | 0 | 0.671266 | 0 | 0.017045 | 0.143597 | 0.077436 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105519 | false | 0 | 0.041396 | 0 | 0.219156 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
06dfe3183349a06a54499d2159a1c70cf57fbab8 | 211 | py | Python | MstarHe2R/apps/test.py | IzayoiRin/MstarHe2R | 938d83acdfa5ec4464cf9113fef104a6e80ad662 | [
"MIT"
] | null | null | null | MstarHe2R/apps/test.py | IzayoiRin/MstarHe2R | 938d83acdfa5ec4464cf9113fef104a6e80ad662 | [
"MIT"
] | 2 | 2021-06-08T21:19:41.000Z | 2021-09-08T01:54:27.000Z | MstarHe2R/apps/test.py | IzayoiRin/MstarHe2R | 938d83acdfa5ec4464cf9113fef104a6e80ad662 | [
"MIT"
] | null | null | null | def main(*args, **kwargs):
print('*'*10 + "Successful Testing" + '*'*10)
if args:
print('*'*10 + "Args: %s" % args + '*'*10)
if kwargs:
print('*'*10 + "Kwargs: %s" % kwargs + '*'*10)
| 30.142857 | 54 | 0.459716 | 25 | 211 | 3.88 | 0.4 | 0.216495 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 0.270142 | 211 | 6 | 55 | 35.166667 | 0.551948 | 0 | 0 | 0 | 0 | 0 | 0.199052 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0 | 0 | 0.166667 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6603ca9baaac6239e8efa7437bca5a480dc2194f | 1,185 | py | Python | surname_fnn/surname/args.py | sudarshan85/nlpbook | 41e59d706fb31f5185a0133789639ccffbddb41f | [
"Apache-2.0"
] | null | null | null | surname_fnn/surname/args.py | sudarshan85/nlpbook | 41e59d706fb31f5185a0133789639ccffbddb41f | [
"Apache-2.0"
] | null | null | null | surname_fnn/surname/args.py | sudarshan85/nlpbook | 41e59d706fb31f5185a0133789639ccffbddb41f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from argparse import Namespace
mlp_args = Namespace(
raw_dataset_csv='surnames.csv',
train_proportion=0.7,
proc_dataset_csv='surnames_with_splits.csv',
model_dir='models',
vectorizer_fname='mlp_vectorizer.json',
cw_file='class_weights.pt',
batch_size=64,
hidden_di... | 26.931818 | 48 | 0.705485 | 167 | 1,185 | 4.706587 | 0.419162 | 0.050891 | 0.091603 | 0.058524 | 0.885496 | 0.885496 | 0.885496 | 0.885496 | 0.885496 | 0.885496 | 0 | 0.042531 | 0.186498 | 1,185 | 43 | 49 | 27.55814 | 0.772822 | 0.109705 | 0 | 0.666667 | 0 | 0 | 0.198095 | 0.045714 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025641 | 0 | 0.025641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
660d1b551adf5dc0460fcb8cbcb74c7e4b2be411 | 10,066 | py | Python | neuralknight/tests/test_board.py | grandquista/neuralknight-v1 | f54e8e1ac90019c1a3a84089bac20485e8f626b4 | [
"MIT"
] | null | null | null | neuralknight/tests/test_board.py | grandquista/neuralknight-v1 | f54e8e1ac90019c1a3a84089bac20485e8f626b4 | [
"MIT"
] | 158 | 2018-08-14T17:42:49.000Z | 2021-08-19T13:19:44.000Z | neuralknight/tests/test_board.py | grandquista/neuralknight-v1 | f54e8e1ac90019c1a3a84089bac20485e8f626b4 | [
"MIT"
] | 2 | 2018-04-06T02:40:16.000Z | 2018-04-16T16:13:21.000Z | # from collections import deque
# # from itertools import starmap
# from pytest import raises
#
# from ..models.board_constants import KING, QUEEN
#
#
# # def test_board_creation_valid(start_board):
# # assert start_board
# # assert start_board.board == tuple(map(bytes, (
# # (12, 6, 2, 10, 4, 2, 6, 12)... | 33.44186 | 80 | 0.427479 | 1,649 | 10,066 | 2.559733 | 0.070952 | 0.238332 | 0.335466 | 0.418858 | 0.671879 | 0.592751 | 0.572613 | 0.550107 | 0.502251 | 0.501066 | 0 | 0.172981 | 0.341844 | 10,066 | 300 | 81 | 33.553333 | 0.44483 | 0.924896 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
66267e7603947ad37c6b1557241bbd6126085b5e | 40 | py | Python | app_routes/threads/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | app_routes/threads/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | app_routes/threads/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | from .threads_route import ThreadsRoute
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b08bd9cb26dc9db7132c636f76abc80855571cfd | 7,832 | py | Python | coexistence_mechanisms.py | netgroup/Dreamer-Mininet-Extensions | fbc1099fb5b143417d5b9375d01635c1686cb0de | [
"Apache-2.0"
] | 2 | 2018-10-27T11:17:33.000Z | 2019-04-15T07:03:25.000Z | coexistence_mechanisms.py | netgroup/Dreamer-Mininet-Extensions | fbc1099fb5b143417d5b9375d01635c1686cb0de | [
"Apache-2.0"
] | 3 | 2016-02-09T13:39:03.000Z | 2018-05-04T06:45:26.000Z | coexistence_mechanisms.py | netgroup/Dreamer-Mininet-Extensions | fbc1099fb5b143417d5b9375d01635c1686cb0de | [
"Apache-2.0"
] | 5 | 2017-07-26T15:15:22.000Z | 2021-12-22T23:26:44.000Z | #!/usr/bin/python
import sys
from mininet.log import error
class CoexistenceMechanism (object):
prio_std_rules = 300
prio_special_rules = 301
prio_max = 32768
def __init__(self, eths, vis, name):
self.eths = eths
self.vis = vis
self.name = name
class CoexA(CoexistenceMechanism):
tableIP = 1
tableSBP... | 31.837398 | 143 | 0.700843 | 1,243 | 7,832 | 4.265487 | 0.082864 | 0.040739 | 0.068653 | 0.093172 | 0.866088 | 0.843455 | 0.811392 | 0.808751 | 0.771407 | 0.771407 | 0 | 0.024198 | 0.139939 | 7,832 | 245 | 144 | 31.967347 | 0.762916 | 0.002043 | 0 | 0.685535 | 0 | 0.163522 | 0.359053 | 0.225208 | 0 | 0 | 0.010749 | 0 | 0 | 1 | 0.113208 | false | 0 | 0.012579 | 0 | 0.345912 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b09184cee2c7d3dacb5d730cf6c814be38c1963f | 12,103 | py | Python | core/Functions/cuda/lib.py | davidliyutong/Flint | 4e2552dac8d781c21e8998ad68bbf1b986b09258 | [
"MIT"
] | null | null | null | core/Functions/cuda/lib.py | davidliyutong/Flint | 4e2552dac8d781c21e8998ad68bbf1b986b09258 | [
"MIT"
] | 1 | 2020-07-08T02:57:50.000Z | 2020-07-08T02:57:50.000Z | core/Functions/cuda/lib.py | davidliyutong/Flint | 4e2552dac8d781c21e8998ad68bbf1b986b09258 | [
"MIT"
] | null | null | null | import cupy as cp
import math
import numpy as np
def auto_detect(shape: tuple, matmul=False):
assert isinstance(shape, tuple)
grid_dim = ()
block_dim = ()
if len(shape) == 4:
raise NotImplementedError
elif len(shape) == 3:
# if shape[1] < 16 and shape[2] < 16:
# block_d... | 36.345345 | 168 | 0.551434 | 1,886 | 12,103 | 3.253446 | 0.056204 | 0.049544 | 0.027379 | 0.034224 | 0.849087 | 0.788299 | 0.766786 | 0.749674 | 0.725554 | 0.683996 | 0 | 0.02894 | 0.320499 | 12,103 | 332 | 169 | 36.454819 | 0.717169 | 0.035694 | 0 | 0.571984 | 0 | 0.038911 | 0.502276 | 0.027398 | 0 | 0 | 0 | 0 | 0.003891 | 1 | 0.023346 | false | 0 | 0.011673 | 0 | 0.085603 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b0996acb892f45daa4fb3cdecd900ced48b0a2a0 | 10,232 | py | Python | request-management-api/tests/restapi/test_foicomment_api.py | bcgov/foi-flow | 7f9897b3aad4ba91fbc8edcb8f526906efb490df | [
"Apache-2.0"
] | null | null | null | request-management-api/tests/restapi/test_foicomment_api.py | bcgov/foi-flow | 7f9897b3aad4ba91fbc8edcb8f526906efb490df | [
"Apache-2.0"
] | 1,579 | 2021-04-14T18:27:45.000Z | 2022-03-31T23:49:42.000Z | request-management-api/tests/restapi/test_foicomment_api.py | bcgov/foi-flow | 7f9897b3aad4ba91fbc8edcb8f526906efb490df | [
"Apache-2.0"
] | 1 | 2022-03-01T20:17:47.000Z | 2022-03-01T20:17:47.000Z | import json
import uuid
import os
import requests
import ast
TEST_USER_PAYLOAD = {
'client_id': 'forms-flow-web',
'grant_type': 'password',
'username' : os.getenv('TEST_INTAKE_USERID'),
'password': os.getenv('TEST_INTAKE_PASSWORD')
}
def factory_auth_header(app, client):
url = '{0}/auth/realms/{1}... | 60.904762 | 214 | 0.745504 | 1,138 | 10,232 | 6.587873 | 0.100176 | 0.042017 | 0.061224 | 0.072029 | 0.899426 | 0.895958 | 0.895958 | 0.895958 | 0.888089 | 0.871148 | 0 | 0.01053 | 0.118256 | 10,232 | 168 | 215 | 60.904762 | 0.820439 | 0 | 0 | 0.673077 | 0 | 0 | 0.224958 | 0.091469 | 0 | 0 | 0 | 0 | 0.051282 | 1 | 0.057692 | false | 0.012821 | 0.032051 | 0 | 0.096154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b0c7b12972d038ee37f921c9a76763795c730cd5 | 1,180 | py | Python | tests/test_random_codebreaker.py | deepshig/mastermind | 0517343ea8522d8e3981e5613abca5bb173c2de8 | [
"MIT"
] | 2 | 2021-01-02T13:02:16.000Z | 2022-01-06T01:59:01.000Z | tests/test_random_codebreaker.py | deepshig/mastermind | 0517343ea8522d8e3981e5613abca5bb173c2de8 | [
"MIT"
] | 1 | 2020-09-22T00:38:02.000Z | 2020-10-27T18:19:32.000Z | tests/test_random_codebreaker.py | deepshig/mastermind | 0517343ea8522d8e3981e5613abca5bb173c2de8 | [
"MIT"
] | null | null | null | import pytest
import sys
sys.path.append('../')
from random_codebreaker import RandomCodeBreaker # NOQA
def test_get_first_move():
"""
1. Test if the length of move is correct
2. Test if all the elements of the move belong to the given set
3. Test if all the elements appear only once within the move... | 29.5 | 67 | 0.675424 | 183 | 1,180 | 4.196721 | 0.262295 | 0.140625 | 0.046875 | 0.0625 | 0.84375 | 0.84375 | 0.84375 | 0.84375 | 0.84375 | 0.84375 | 0 | 0.030871 | 0.231356 | 1,180 | 39 | 68 | 30.25641 | 0.815877 | 0.285593 | 0 | 0.6 | 0 | 0 | 0.003769 | 0 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.1 | false | 0 | 0.15 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b0ef573ea965cdda30c8f368e83bbb0d842cfd69 | 9,350 | py | Python | PSEF_SCRIPTS/cfg.py | snatch2013/XXS_PSEFABRIC | a382d28545d3f5dac0403bfeb82ee609d137db24 | [
"Apache-2.0",
"MIT"
] | null | null | null | PSEF_SCRIPTS/cfg.py | snatch2013/XXS_PSEFABRIC | a382d28545d3f5dac0403bfeb82ee609d137db24 | [
"Apache-2.0",
"MIT"
] | null | null | null | PSEF_SCRIPTS/cfg.py | snatch2013/XXS_PSEFABRIC | a382d28545d3f5dac0403bfeb82ee609d137db24 | [
"Apache-2.0",
"MIT"
] | null | null | null | '''
'''
import re
import mult_cfg
import ptemplates
import acitemplates
cfg = {}
def create_configs (cmd_for_host, cmd_for_host_full):
########## Description #######
'''
Extracts data from dict cmd_for_host and transforms it into configuration lines using templates.
'''
############# BODY ############... | 45.38835 | 302 | 0.497005 | 1,123 | 9,350 | 3.891362 | 0.087266 | 0.101602 | 0.077803 | 0.067277 | 0.817391 | 0.812357 | 0.805492 | 0.783753 | 0.769794 | 0.730206 | 0 | 0.003282 | 0.348235 | 9,350 | 205 | 303 | 45.609756 | 0.713817 | 0.037647 | 0 | 0.637681 | 0 | 0.065217 | 0.233302 | 0.105637 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014493 | false | 0 | 0.028986 | 0 | 0.057971 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c01d6333da342ac2d2dbd9062eac33e999961ea | 32 | py | Python | test/integration/test_raspi.py | srjustice/kubos | ff33c17a7b5335d981cd0a49c65874f9f733338d | [
"Apache-2.0"
] | 60 | 2017-01-12T18:14:33.000Z | 2018-01-05T00:15:13.000Z | test/integration/test_raspi.py | srjustice/kubos | ff33c17a7b5335d981cd0a49c65874f9f733338d | [
"Apache-2.0"
] | 120 | 2016-10-26T20:18:32.000Z | 2018-01-05T23:27:36.000Z | test/integration/test_raspi.py | srjustice/kubos | ff33c17a7b5335d981cd0a49c65874f9f733338d | [
"Apache-2.0"
] | 20 | 2016-11-23T15:25:37.000Z | 2018-01-06T21:52:07.000Z | print "THIS IS A PYTHON SCRIPT"
| 16 | 31 | 0.75 | 6 | 32 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 1 | 32 | 32 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9fdead3d9a8f05f66c91176c6df4a37ef847bc46 | 198 | py | Python | processing/datadir.py | rokuingh/sysveg | c1803cc59200ef7d9bbc4a4030cd5ffdb55c8de8 | [
"MIT"
] | null | null | null | processing/datadir.py | rokuingh/sysveg | c1803cc59200ef7d9bbc4a4030cd5ffdb55c8de8 | [
"MIT"
] | null | null | null | processing/datadir.py | rokuingh/sysveg | c1803cc59200ef7d9bbc4a4030cd5ffdb55c8de8 | [
"MIT"
] | null | null | null | datadiroslo = "/home/ryan/sandbox/sysveg/data/AirQuality/Oslo"
datadirbarcelona = "/home/ryan/sandbox/sysveg/data/AirQuality/Barcelona"
datadiroslometeo = "/home/ryan/sandbox/sysveg/data/Meteo/Oslo" | 66 | 72 | 0.808081 | 24 | 198 | 6.666667 | 0.5 | 0.15 | 0.28125 | 0.39375 | 0.59375 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 198 | 3 | 73 | 66 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.693467 | 0.693467 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9feca8332f4a89768cbb0b0d585c3813c6e7babf | 114 | py | Python | RecurrenceRelationSolver/__init__.py | rowanG077/RecurrenceRelationSolver | e108cf7a41c8341f5c6ea001d891a1185ff1fab6 | [
"BSD-2-Clause"
] | 2 | 2018-12-17T15:11:15.000Z | 2018-12-19T09:35:38.000Z | RecurrenceRelationSolver/__init__.py | rowanG077/RecurrenceRelationSolver | e108cf7a41c8341f5c6ea001d891a1185ff1fab6 | [
"BSD-2-Clause"
] | null | null | null | RecurrenceRelationSolver/__init__.py | rowanG077/RecurrenceRelationSolver | e108cf7a41c8341f5c6ea001d891a1185ff1fab6 | [
"BSD-2-Clause"
] | null | null | null | from .RecurrenceRelation import RecurrenceRelation
from .RecurrenceRelationParser import RecurrenceRelationParser
| 38 | 62 | 0.912281 | 8 | 114 | 13 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 114 | 2 | 63 | 57 | 0.981132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b00814f1ca61e7e79f259a18a67e5385b7d94216 | 32 | py | Python | engine/keyboards/__init__.py | LloydTao/ecm3423-fur-effect | fefa73665b459dfd1648dca97a95e8313cf53dd5 | [
"MIT"
] | null | null | null | engine/keyboards/__init__.py | LloydTao/ecm3423-fur-effect | fefa73665b459dfd1648dca97a95e8313cf53dd5 | [
"MIT"
] | null | null | null | engine/keyboards/__init__.py | LloydTao/ecm3423-fur-effect | fefa73665b459dfd1648dca97a95e8313cf53dd5 | [
"MIT"
] | null | null | null | from .keyboards import Keyboard
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b04db4e52596cf3da98923a3bcb13e15d3d85600 | 27,709 | py | Python | run_rcv1/src/metrics.py | princeton-nlp/semsup | 8c6a9314b7e6ac167de119f6cf7f5a4bff28f71e | [
"MIT"
] | 7 | 2022-03-15T20:09:28.000Z | 2022-03-29T08:21:12.000Z | run_rcv1/src/metrics.py | princeton-nlp/semsup | 8c6a9314b7e6ac167de119f6cf7f5a4bff28f71e | [
"MIT"
] | null | null | null | run_rcv1/src/metrics.py | princeton-nlp/semsup | 8c6a9314b7e6ac167de119f6cf7f5a4bff28f71e | [
"MIT"
] | null | null | null | """
Metrics for multi-label text classification
"""
import numpy as np
from scipy.special import expit
import itertools
import copy
# Metrics
from sklearn.metrics import (
accuracy_score,
f1_score,
classification_report,
precision_score,
recall_score,
label_ranking_average_precision_score,
... | 46.104825 | 170 | 0.615468 | 3,431 | 27,709 | 4.744389 | 0.068785 | 0.030532 | 0.028198 | 0.027522 | 0.82117 | 0.794815 | 0.775095 | 0.762317 | 0.7547 | 0.734734 | 0 | 0.02445 | 0.278213 | 27,709 | 601 | 171 | 46.104825 | 0.78945 | 0.177271 | 0 | 0.645777 | 0 | 0 | 0.08569 | 0.019062 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029973 | false | 0 | 0.013624 | 0 | 0.076294 | 0.065395 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c65e220e27d50c5c5039890b450d1abcb55b34f5 | 504 | py | Python | django_analyses/models/input/types/__init__.py | TheLabbingProject/django_analyses | 08cac40a32754a265b37524f08ec6160c69ebea8 | [
"Apache-2.0"
] | 1 | 2020-12-30T12:43:34.000Z | 2020-12-30T12:43:34.000Z | django_analyses/models/input/types/__init__.py | TheLabbingProject/django_analyses | 08cac40a32754a265b37524f08ec6160c69ebea8 | [
"Apache-2.0"
] | 59 | 2019-12-25T13:14:56.000Z | 2021-07-22T12:24:46.000Z | django_analyses/models/input/types/__init__.py | TheLabbingProject/django_analyses | 08cac40a32754a265b37524f08ec6160c69ebea8 | [
"Apache-2.0"
] | 2 | 2020-05-24T06:44:27.000Z | 2020-07-09T15:47:31.000Z | from django_analyses.models.input.types.boolean_input import BooleanInput
from django_analyses.models.input.types.directory_input import DirectoryInput
from django_analyses.models.input.types.file_input import FileInput
from django_analyses.models.input.types.float_input import FloatInput
from django_analyses.models.in... | 63 | 77 | 0.888889 | 70 | 504 | 6.2 | 0.3 | 0.16129 | 0.290323 | 0.387097 | 0.548387 | 0.548387 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 504 | 7 | 78 | 72 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c669fde64ee4fbbe71ce7e7ddfb29274a5d5b50d | 49 | py | Python | start/First steps in the library/datetime/showdate2.py | codermoji-contrib/python | 764bffaf0e92270be196aa5728f255aaaf5b8150 | [
"MIT"
] | null | null | null | start/First steps in the library/datetime/showdate2.py | codermoji-contrib/python | 764bffaf0e92270be196aa5728f255aaaf5b8150 | [
"MIT"
] | 32 | 2017-09-01T00:52:17.000Z | 2017-10-01T00:30:02.000Z | start/First steps in the library/datetime/showdate2.py | codermoji-contrib/python | 764bffaf0e92270be196aa5728f255aaaf5b8150 | [
"MIT"
] | null | null | null | import datetime
print(datetime.datetime.today())
| 16.333333 | 32 | 0.816327 | 6 | 49 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 2 | 33 | 24.5 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c6c96e0e6e13d82f719cabae6093a5263bc3dea6 | 72 | py | Python | tools/utils/__init__.py | realphongha/st-gcn | 18f45aaf5088faaacdd5ce4328b70c6b31831ea1 | [
"BSD-2-Clause"
] | null | null | null | tools/utils/__init__.py | realphongha/st-gcn | 18f45aaf5088faaacdd5ce4328b70c6b31831ea1 | [
"BSD-2-Clause"
] | null | null | null | tools/utils/__init__.py | realphongha/st-gcn | 18f45aaf5088faaacdd5ce4328b70c6b31831ea1 | [
"BSD-2-Clause"
] | null | null | null | from . import video
from . import openpose
from . import visualization | 24 | 27 | 0.777778 | 9 | 72 | 6.222222 | 0.555556 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 72 | 3 | 27 | 24 | 0.949153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c6ef7f4294ca8b30bf6a9bc7d0eab3bec0ee8c44 | 79 | py | Python | ffscraper/fanfic/__init__.py | hayesall/ffscraper | 0c8e034b6b57741bc82e8f69bcddd3f8eb785541 | [
"Apache-2.0"
] | 4 | 2021-02-20T22:20:36.000Z | 2022-02-27T01:31:15.000Z | ffscraper/fanfic/__init__.py | hayesall/FanFiction-Collaborative-Filtering | 0c8e034b6b57741bc82e8f69bcddd3f8eb785541 | [
"Apache-2.0"
] | 7 | 2018-05-13T21:58:56.000Z | 2018-06-01T22:42:16.000Z | ffscraper/fanfic/__init__.py | hayesall/FanFiction-Collaborative-Filtering | 0c8e034b6b57741bc82e8f69bcddd3f8eb785541 | [
"Apache-2.0"
] | null | null | null | """
Doc-string for FanFicScraper
"""
from . import story
from . import review
| 11.285714 | 28 | 0.708861 | 10 | 79 | 5.6 | 0.8 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 79 | 6 | 29 | 13.166667 | 0.861538 | 0.35443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
05b4fb9883ba6138e4151c24e1641539280a81b5 | 191 | py | Python | react_router/models.py | HorizonXP/python-react-router | d8acce88e12a808677fc82e2dffdfb984c4b52a3 | [
"MIT"
] | 1 | 2015-12-01T02:43:07.000Z | 2015-12-01T02:43:07.000Z | react_router/models.py | HorizonXP/python-react-router | d8acce88e12a808677fc82e2dffdfb984c4b52a3 | [
"MIT"
] | null | null | null | react_router/models.py | HorizonXP/python-react-router | d8acce88e12a808677fc82e2dffdfb984c4b52a3 | [
"MIT"
] | null | null | null | # Django hook to configure settings on startup
from django.conf import settings
import react_router.conf
react_router.conf.settings.configure(
**getattr(settings, 'REACT_ROUTER', {})
)
| 21.222222 | 46 | 0.774869 | 25 | 191 | 5.8 | 0.52 | 0.227586 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13089 | 191 | 8 | 47 | 23.875 | 0.873494 | 0.230366 | 0 | 0 | 0 | 0 | 0.082759 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
05b57ae412d298cf0b97b0f87ac6fa830279275e | 126 | py | Python | vimfiles/bundle/vim-python/submodules/pylint/tests/functional/c/consider/consider_using_sys_exit_local_scope.py | ciskoinch8/vimrc | 5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8 | [
"MIT"
] | 463 | 2015-01-15T08:17:42.000Z | 2022-03-28T15:10:20.000Z | vimfiles/bundle/vim-python/submodules/pylint/tests/functional/c/consider/consider_using_sys_exit_local_scope.py | ciskoinch8/vimrc | 5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8 | [
"MIT"
] | 52 | 2015-01-06T02:43:59.000Z | 2022-03-14T11:15:21.000Z | vimfiles/bundle/vim-python/submodules/pylint/tests/functional/c/consider/consider_using_sys_exit_local_scope.py | ciskoinch8/vimrc | 5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8 | [
"MIT"
] | 249 | 2015-01-07T22:49:49.000Z | 2022-03-18T02:32:06.000Z | # pylint: disable=missing-docstring,import-outside-toplevel,redefined-builtin
def run():
from sys import exit
exit()
| 21 | 77 | 0.738095 | 16 | 126 | 5.8125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150794 | 126 | 5 | 78 | 25.2 | 0.869159 | 0.595238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
af8ab8d695a9a60ae4b9d5259e7ec81734436542 | 10,532 | py | Python | test_api.py | lalebdi/FlaskDataProcess | d305526bbcf44b301f9789af9de2f8b71e7c19c3 | [
"Unlicense"
] | null | null | null | test_api.py | lalebdi/FlaskDataProcess | d305526bbcf44b301f9789af9de2f8b71e7c19c3 | [
"Unlicense"
] | null | null | null | test_api.py | lalebdi/FlaskDataProcess | d305526bbcf44b301f9789af9de2f8b71e7c19c3 | [
"Unlicense"
] | null | null | null | import unittest
import requests
from app import app
# set the application to testing mode
app.testing = True
class TestApi(unittest.TestCase):
BASE = "http://127.0.0.1:5000/"
def test_1(self):
payload = {'value': 'value1', 'mode': 'value2', 'replace_with': 'null'}
expected = {'message': {'mo... | 48.986047 | 142 | 0.591626 | 1,177 | 10,532 | 5.197961 | 0.086661 | 0.142203 | 0.170644 | 0.104282 | 0.938705 | 0.926937 | 0.920726 | 0.904217 | 0.738967 | 0.723602 | 0 | 0.033676 | 0.204899 | 10,532 | 214 | 143 | 49.214953 | 0.696919 | 0.004463 | 0 | 0.572222 | 0 | 0 | 0.255987 | 0 | 0 | 0 | 0 | 0 | 0.322222 | 1 | 0.161111 | false | 0 | 0.016667 | 0 | 0.188889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
afc75874de5baef4ee3d72f17dc3c8625be062ed | 27 | py | Python | __init__.py | L0SG/Liver_segmentation | 178b2367cf606ba7d704e96f855389be4c1abd14 | [
"MIT"
] | 34 | 2019-02-04T07:35:11.000Z | 2022-02-08T07:10:57.000Z | __init__.py | L0SG/Liver_segmentation | 178b2367cf606ba7d704e96f855389be4c1abd14 | [
"MIT"
] | null | null | null | __init__.py | L0SG/Liver_segmentation | 178b2367cf606ba7d704e96f855389be4c1abd14 | [
"MIT"
] | 8 | 2019-03-28T04:07:25.000Z | 2021-04-19T18:18:22.000Z | from .ssd_liverdet import * | 27 | 27 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb9b786567de9ad0be400eaefc52d4d08bda456a | 141 | py | Python | tshotel/tshotel/doctype/tsempsal/test_tsempsal.py | KaviyaPeriyasamy/crm-customize | cd73585dcfef3e26160abe92b26c41e835ff5f52 | [
"MIT"
] | null | null | null | tshotel/tshotel/doctype/tsempsal/test_tsempsal.py | KaviyaPeriyasamy/crm-customize | cd73585dcfef3e26160abe92b26c41e835ff5f52 | [
"MIT"
] | null | null | null | tshotel/tshotel/doctype/tsempsal/test_tsempsal.py | KaviyaPeriyasamy/crm-customize | cd73585dcfef3e26160abe92b26c41e835ff5f52 | [
"MIT"
] | 2 | 2022-01-28T08:43:14.000Z | 2022-03-05T08:48:03.000Z | # Copyright (c) 2021, sibi and Contributors
# See license.txt
# import frappe
import unittest
class Testtsempsal(unittest.TestCase):
pass
| 15.666667 | 43 | 0.77305 | 18 | 141 | 6.055556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.148936 | 141 | 8 | 44 | 17.625 | 0.875 | 0.503546 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
bbfd1928ba09ab823e53cf95757d9b4c4473b08f | 28 | py | Python | split_paren/__init__.py | sfinktah/split_paren | d312c277d9488c1fa1ae5febde2cca1a6a96835f | [
"MIT"
] | null | null | null | split_paren/__init__.py | sfinktah/split_paren | d312c277d9488c1fa1ae5febde2cca1a6a96835f | [
"MIT"
] | null | null | null | split_paren/__init__.py | sfinktah/split_paren | d312c277d9488c1fa1ae5febde2cca1a6a96835f | [
"MIT"
] | null | null | null | from .split_paren import *
| 9.333333 | 26 | 0.75 | 4 | 28 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a5b84e69164dc29457766805509407a8e4900941 | 5,730 | py | Python | projecteuler/013_large_sum.py | vikasmunshi/euler | da4a7916b24e2d2b902ffdd1094991416eb74034 | [
"MIT"
] | null | null | null | projecteuler/013_large_sum.py | vikasmunshi/euler | da4a7916b24e2d2b902ffdd1094991416eb74034 | [
"MIT"
] | null | null | null | projecteuler/013_large_sum.py | vikasmunshi/euler | da4a7916b24e2d2b902ffdd1094991416eb74034 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3.8
# -*- coding: utf-8 -*-
"""
https://projecteuler.net/problem=13
Work out the first ten digits of the sum of the following one-hundred 50-digit numbers.
Answer: 5537376230
"""
numbers = """
37107287533902102798797998220837590246510135740250
46376937677490009712648124896970078050417018260538
7432... | 46.209677 | 96 | 0.943106 | 193 | 5,730 | 27.92228 | 0.792746 | 0.004454 | 0.00334 | 0.004454 | 0.015587 | 0.009649 | 0.009649 | 0 | 0 | 0 | 0 | 0.913383 | 0.038918 | 5,730 | 123 | 97 | 46.585366 | 0.06519 | 0.03281 | 0 | 0 | 0 | 0 | 0.925176 | 0.903669 | 0 | 1 | 0 | 0 | 0 | 1 | 0.009009 | false | 0 | 0.009009 | 0 | 0.036036 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3c0501e9ab5ad58506df6d367ba1f78bf1f781d3 | 67 | py | Python | fractalprojection/__init__.py | kcsaff/fractalprojection | e0cec282f2889b96491615eff349a8763a343e9d | [
"MIT"
] | null | null | null | fractalprojection/__init__.py | kcsaff/fractalprojection | e0cec282f2889b96491615eff349a8763a343e9d | [
"MIT"
] | null | null | null | fractalprojection/__init__.py | kcsaff/fractalprojection | e0cec282f2889b96491615eff349a8763a343e9d | [
"MIT"
] | null | null | null | def entry():
from fractalprojection.main import main
main() | 22.333333 | 43 | 0.701493 | 8 | 67 | 5.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208955 | 67 | 3 | 44 | 22.333333 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c503b218a97268cda86afa5a1e265746ac094a8 | 153 | py | Python | app/models/__init__.py | pd-Shah/FlaskRecycle | 54060aa5c0eacefc0874ea01cbe6545000b416e0 | [
"MIT"
] | 1 | 2022-03-18T19:25:55.000Z | 2022-03-18T19:25:55.000Z | app/models/__init__.py | pd-Shah/FlaskRecycle | 54060aa5c0eacefc0874ea01cbe6545000b416e0 | [
"MIT"
] | null | null | null | app/models/__init__.py | pd-Shah/FlaskRecycle | 54060aa5c0eacefc0874ea01cbe6545000b416e0 | [
"MIT"
] | null | null | null | from .user import *
from .message import *
from .comment import *
from .contact import *
from .offers import *
from .email import *
from .task import *
| 17 | 22 | 0.718954 | 21 | 153 | 5.238095 | 0.428571 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189542 | 153 | 8 | 23 | 19.125 | 0.887097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c5d12f23b526dfbca4f8a648444c480b4a63e23 | 110 | py | Python | meerkat/views/__init__.py | by46/meerkat | 41376dc1636b5975a50020bad5632b4edbf5b16d | [
"MIT"
] | null | null | null | meerkat/views/__init__.py | by46/meerkat | 41376dc1636b5975a50020bad5632b4edbf5b16d | [
"MIT"
] | null | null | null | meerkat/views/__init__.py | by46/meerkat | 41376dc1636b5975a50020bad5632b4edbf5b16d | [
"MIT"
] | null | null | null | from . import index
from . import simple
from . import packages
from . import portal
from . import score
| 18.333333 | 23 | 0.727273 | 15 | 110 | 5.333333 | 0.466667 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 110 | 5 | 24 | 22 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c81882350cbe2f5393730995294f0318ad818d3 | 86 | py | Python | pybamm/models/submodels/interface/inverse_kinetics/__init__.py | YannickNoelStephanKuhn/PyBaMM | d90636a755b7b77bbc75ae7bc2728c8ee2fa730a | [
"BSD-3-Clause"
] | 1 | 2020-06-22T10:11:40.000Z | 2020-06-22T10:11:40.000Z | pybamm/models/submodels/interface/inverse_kinetics/__init__.py | masoodtamaddon/PyBaMM | a31e2095600bb92e913598ac4d02b2b6b77b31c1 | [
"BSD-3-Clause"
] | 1 | 2021-01-23T08:54:49.000Z | 2021-01-23T08:54:49.000Z | pybamm/models/submodels/interface/inverse_kinetics/__init__.py | masoodtamaddon/PyBaMM | a31e2095600bb92e913598ac4d02b2b6b77b31c1 | [
"BSD-3-Clause"
] | 2 | 2020-05-21T23:16:29.000Z | 2020-06-22T10:11:40.000Z | from .inverse_butler_volmer import InverseButlerVolmer, CurrentForInverseButlerVolmer
| 43 | 85 | 0.918605 | 7 | 86 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 86 | 1 | 86 | 86 | 0.950617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c9107402e84ec697ab6f0b0d5e42fb1420a986b | 25 | py | Python | rsHRF/sFIR/__init__.py | PeerHerholz/rsHRF | ac5d8bdb3718fc94822de5ad573f5e4dbdff68c8 | [
"MIT"
] | 16 | 2017-09-08T20:02:22.000Z | 2022-03-10T20:56:36.000Z | rsHRF/sFIR/__init__.py | PeerHerholz/rsHRF | ac5d8bdb3718fc94822de5ad573f5e4dbdff68c8 | [
"MIT"
] | 10 | 2019-06-06T18:32:40.000Z | 2021-09-13T08:14:15.000Z | rsHRF/sFIR/__init__.py | PeerHerholz/rsHRF | ac5d8bdb3718fc94822de5ad573f5e4dbdff68c8 | [
"MIT"
] | 8 | 2019-03-26T16:40:04.000Z | 2021-04-11T14:08:52.000Z | from . import smooth_fir
| 12.5 | 24 | 0.8 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b1f7b8c0ef9e788f77886d65222018c488a671ae | 106 | py | Python | navigator/__init__.py | jelitox/navigator-api | 202efaff10e3d4bea8082dddbb7fad807f90bf11 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | navigator/__init__.py | jelitox/navigator-api | 202efaff10e3d4bea8082dddbb7fad807f90bf11 | [
"Apache-2.0",
"BSD-3-Clause"
] | 92 | 2020-10-17T17:48:02.000Z | 2022-03-31T10:30:25.000Z | navigator/__init__.py | jelitox/navigator-api | 202efaff10e3d4bea8082dddbb7fad807f90bf11 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | from .navigator import Application, Response, get_version
__all__ = (Application, Response, get_version)
| 26.5 | 57 | 0.811321 | 12 | 106 | 6.666667 | 0.666667 | 0.475 | 0.55 | 0.725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 106 | 3 | 58 | 35.333333 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3cae6a7644a20a9d3ddfb4ff2aaa1021cee60949 | 57 | py | Python | publications/tests/__init__.py | paleocore/django-publications | 34f2d13ef2bdd62f2c36e6760caf6a4bb82229f8 | [
"MIT"
] | 81 | 2015-01-26T11:32:09.000Z | 2022-01-04T03:20:24.000Z | publications/tests/__init__.py | paleocore/django-publications | 34f2d13ef2bdd62f2c36e6760caf6a4bb82229f8 | [
"MIT"
] | 38 | 2015-04-12T07:54:51.000Z | 2021-08-29T21:09:40.000Z | publications/tests/__init__.py | paleocore/django-publications | 34f2d13ef2bdd62f2c36e6760caf6a4bb82229f8 | [
"MIT"
] | 38 | 2015-01-14T16:10:58.000Z | 2021-09-27T16:14:04.000Z | from tests import Tests
from tests_live import LiveTests
| 19 | 32 | 0.859649 | 9 | 57 | 5.333333 | 0.555556 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 2 | 33 | 28.5 | 0.979592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3cdf1b6efa6a6828ff787d1d37ee76c656d7fc59 | 4,770 | py | Python | tests/test_pnr.py | andrewheusser/quail | fce1152a3f7dc983f4a3143698fdc3e27f61d1d2 | [
"MIT"
] | 17 | 2017-04-12T15:45:37.000Z | 2021-07-12T21:25:50.000Z | tests/test_pnr.py | vishalbelsare/quail | 6c847a49f31d953f3264294439576a23588b84d8 | [
"MIT"
] | 80 | 2017-04-12T18:54:10.000Z | 2021-06-05T17:28:33.000Z | tests/test_pnr.py | vishalbelsare/quail | 6c847a49f31d953f3264294439576a23588b84d8 | [
"MIT"
] | 8 | 2018-02-01T18:53:46.000Z | 2020-01-12T17:36:33.000Z | from quail.egg import Egg
import numpy as np
import pytest
def test_analysis_pfr():
presented=[[['cat', 'bat', 'hat', 'goat'],['zoo', 'animal', 'zebra', 'horse']]]
recalled=[[['bat', 'cat', 'goat', 'hat'],['animal', 'horse', 'zoo']]]
egg = Egg(pres=presented,rec=recalled)
assert np.array_equal(egg.anal... | 65.342466 | 184 | 0.539203 | 788 | 4,770 | 3.194162 | 0.085025 | 0.053238 | 0.054033 | 0.057211 | 0.900675 | 0.887565 | 0.863329 | 0.863329 | 0.853397 | 0.853397 | 0 | 0.114447 | 0.183019 | 4,770 | 72 | 185 | 66.25 | 0.531434 | 0 | 0 | 0.612903 | 0 | 0 | 0.095218 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 1 | 0.16129 | false | 0 | 0.048387 | 0 | 0.209677 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3ceddb5b1aaea21d9b4e8754450deb58172cc652 | 149 | py | Python | simple_notes/notes/admin.py | Namnetsy/simple-notes-django-app | 385fa829c43162e1c1a4682acc4668623e6e47b3 | [
"MIT"
] | null | null | null | simple_notes/notes/admin.py | Namnetsy/simple-notes-django-app | 385fa829c43162e1c1a4682acc4668623e6e47b3 | [
"MIT"
] | 9 | 2021-04-08T20:20:53.000Z | 2022-03-12T00:54:21.000Z | simple_notes/notes/admin.py | Namnetsy/simple-notes-django-app | 385fa829c43162e1c1a4682acc4668623e6e47b3 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Notebook, Note, PublicSharedNote
admin.site.register(
[Notebook, Note, PublicSharedNote]
)
| 21.285714 | 52 | 0.785235 | 17 | 149 | 6.882353 | 0.647059 | 0.205128 | 0.478632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134228 | 149 | 6 | 53 | 24.833333 | 0.906977 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a7216f90aac406ae01f46d6d236d36550c6521ee | 43 | py | Python | Misc/tutmain2.py | Jigyanshu17/Python-Ka-Saara-Gyaan | d3f5dbb3fef45a7a6953bf6041b0b3bf6c54ad2b | [
"Apache-2.0"
] | null | null | null | Misc/tutmain2.py | Jigyanshu17/Python-Ka-Saara-Gyaan | d3f5dbb3fef45a7a6953bf6041b0b3bf6c54ad2b | [
"Apache-2.0"
] | null | null | null | Misc/tutmain2.py | Jigyanshu17/Python-Ka-Saara-Gyaan | d3f5dbb3fef45a7a6953bf6041b0b3bf6c54ad2b | [
"Apache-2.0"
] | null | null | null | import tutmain1
print(tutmain1.add(5,3))
| 14.333333 | 25 | 0.744186 | 7 | 43 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.116279 | 43 | 2 | 26 | 21.5 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
a730f587f73c6677ce6150b507fdc0d4f8855d1d | 104 | py | Python | mochinode/__init__.py | mochio326/mochinode | 747f61bdd4047d5c0cdb5e3a0f0c24324194a414 | [
"MIT"
] | 7 | 2019-05-24T00:40:14.000Z | 2021-03-16T01:35:46.000Z | mochinode/__init__.py | mochio326/mochinode | 747f61bdd4047d5c0cdb5e3a0f0c24324194a414 | [
"MIT"
] | 1 | 2019-03-08T05:30:35.000Z | 2019-03-08T05:30:35.000Z | mochinode/__init__.py | mochio326/mochinode | 747f61bdd4047d5c0cdb5e3a0f0c24324194a414 | [
"MIT"
] | 2 | 2019-03-03T09:53:55.000Z | 2019-03-08T05:00:03.000Z | # -*- coding: utf-8 -*-
from .view import *
from .node import *
from .line import *
from .port import *
| 17.333333 | 23 | 0.634615 | 15 | 104 | 4.4 | 0.6 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.201923 | 104 | 5 | 24 | 20.8 | 0.783133 | 0.201923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
59c6c954ae78977661582f6d04a0698e947b1744 | 138 | py | Python | ch1/Babylonian_sqr/test_algorithm.py | omar659/Algorithms-Sequential-Parallel-Distributed | 3543631139a20625f413cea2ba1f013f3a40d123 | [
"MIT"
] | 2 | 2020-02-19T09:27:20.000Z | 2020-02-19T09:28:21.000Z | ch1/Babylonian_sqr/test_algorithm.py | omar-3/Algorithms-Sequential-Parallel-Distributed | 3543631139a20625f413cea2ba1f013f3a40d123 | [
"MIT"
] | null | null | null | ch1/Babylonian_sqr/test_algorithm.py | omar-3/Algorithms-Sequential-Parallel-Distributed | 3543631139a20625f413cea2ba1f013f3a40d123 | [
"MIT"
] | null | null | null | from algorithm import square
def test():
assert int(square(16)) == 4
assert int(square(9)) == 3
assert int(square(100)) == 10 | 23 | 33 | 0.630435 | 21 | 138 | 4.142857 | 0.666667 | 0.310345 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 0.217391 | 138 | 6 | 33 | 23 | 0.712963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
59cfdabc5d9e63fca39151e7c4cc4ae073cb47ce | 294 | py | Python | stripe_modern/api_resources/terminal/__init__.py | photocrowd/stripe-python | 7c705e3d41f38f8524e419eb7ea18c1425a4ad89 | [
"MIT"
] | null | null | null | stripe_modern/api_resources/terminal/__init__.py | photocrowd/stripe-python | 7c705e3d41f38f8524e419eb7ea18c1425a4ad89 | [
"MIT"
] | null | null | null | stripe_modern/api_resources/terminal/__init__.py | photocrowd/stripe-python | 7c705e3d41f38f8524e419eb7ea18c1425a4ad89 | [
"MIT"
] | null | null | null | from __future__ import absolute_import, division, print_function
# flake8: noqa
from stripe_modern.api_resources.terminal.connection_token import ConnectionToken
from stripe_modern.api_resources.terminal.location import Location
from stripe_modern.api_resources.terminal.reader import Reader
| 36.75 | 81 | 0.877551 | 38 | 294 | 6.447368 | 0.5 | 0.122449 | 0.195918 | 0.232653 | 0.440816 | 0.440816 | 0 | 0 | 0 | 0 | 0 | 0.00369 | 0.078231 | 294 | 7 | 82 | 42 | 0.900369 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
abbfe4c1064ae341e4fa5e43c5aa86e40f4b2053 | 106 | py | Python | snapchat_fs/__init__.py | hausdorff/snapchat-fs | acb6af5d133fd5a5d0880a38425e1bf0e23d0069 | [
"MIT"
] | 145 | 2015-01-07T22:28:06.000Z | 2022-03-26T15:05:05.000Z | snapchat_fs/__init__.py | Tominous/snapchat-fs | acb6af5d133fd5a5d0880a38425e1bf0e23d0069 | [
"MIT"
] | 2 | 2015-02-21T21:42:43.000Z | 2022-02-11T00:15:38.000Z | snapchat_fs/__init__.py | Tominous/snapchat-fs | acb6af5d133fd5a5d0880a38425e1bf0e23d0069 | [
"MIT"
] | 12 | 2015-07-17T00:47:47.000Z | 2022-01-28T22:45:27.000Z | from snapchatfs import list_all_downloadable_sfs_files, download_all_sfs, download_by_id, upload_sfs_file
| 53 | 105 | 0.90566 | 17 | 106 | 5.058824 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066038 | 106 | 1 | 106 | 106 | 0.868687 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9f10f26c734c8a468d9765dd0dcd505b9d6c80c | 32 | py | Python | main.py | hexdev-io/action_setup-cross-tc | 1f38df4c6518f716bf77c0b12bf5cd5c658d6920 | [
"MIT"
] | null | null | null | main.py | hexdev-io/action_setup-cross-tc | 1f38df4c6518f716bf77c0b12bf5cd5c658d6920 | [
"MIT"
] | null | null | null | main.py | hexdev-io/action_setup-cross-tc | 1f38df4c6518f716bf77c0b12bf5cd5c658d6920 | [
"MIT"
] | null | null | null | import sys
print("Hello world") | 10.666667 | 20 | 0.75 | 5 | 32 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 3 | 20 | 10.666667 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e645ba29c6b648d5592671baed23ec7150e0d951 | 125 | py | Python | Testing/RequestFactory/get/views.py | looking-for-a-job/django-examples | dfafa450668cac5c0351f6c7238b8886511229bf | [
"Unlicense"
] | null | null | null | Testing/RequestFactory/get/views.py | looking-for-a-job/django-examples | dfafa450668cac5c0351f6c7238b8886511229bf | [
"Unlicense"
] | null | null | null | Testing/RequestFactory/get/views.py | looking-for-a-job/django-examples | dfafa450668cac5c0351f6c7238b8886511229bf | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
from django.http import HttpResponse
def my_view(request):
return HttpResponse("reponse string")
| 17.857143 | 41 | 0.76 | 17 | 125 | 5.529412 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136 | 125 | 6 | 42 | 20.833333 | 0.87037 | 0.16 | 0 | 0 | 0 | 0 | 0.134615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
050ffcd87026cd1fc2ee0797cd2da91a932222e2 | 30 | py | Python | __init__.py | 85599/moneychamb | 1dff0d9639646c1a6d5bb91841b8eef7d8aa74cc | [
"MIT"
] | 1 | 2021-05-07T13:28:06.000Z | 2021-05-07T13:28:06.000Z | __init__.py | 85599/moneychamb | 1dff0d9639646c1a6d5bb91841b8eef7d8aa74cc | [
"MIT"
] | null | null | null | __init__.py | 85599/moneychamb | 1dff0d9639646c1a6d5bb91841b8eef7d8aa74cc | [
"MIT"
] | null | null | null | from .mainV2 import Portfolio
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0510b6a3f2b10324df818e2609978974002bee20 | 99 | py | Python | tests/test_app_pytest.py | 734990893/Nana | 712abb39aeb7a5c6e931fcd6e4802c62ca39c791 | [
"MIT"
] | null | null | null | tests/test_app_pytest.py | 734990893/Nana | 712abb39aeb7a5c6e931fcd6e4802c62ca39c791 | [
"MIT"
] | null | null | null | tests/test_app_pytest.py | 734990893/Nana | 712abb39aeb7a5c6e931fcd6e4802c62ca39c791 | [
"MIT"
] | null | null | null | from src.api.app import welcome
def test_welcome():
assert welcome() == 'Nana welcomes you!'
| 16.5 | 44 | 0.69697 | 14 | 99 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 99 | 5 | 45 | 19.8 | 0.839506 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
05368aeb733e84d9413414743bb3d6c7a624a6de | 5,208 | py | Python | tests/commands/cloud/test_pull.py | InvestWeMust/lean-cli | a7241a0af6202dc7d56c0f35d09e51798cc5d426 | [
"Apache-2.0"
] | 76 | 2021-02-03T02:32:32.000Z | 2022-03-28T17:04:03.000Z | tests/commands/cloud/test_pull.py | InvestWeMust/lean-cli | a7241a0af6202dc7d56c0f35d09e51798cc5d426 | [
"Apache-2.0"
] | 64 | 2021-02-28T23:14:17.000Z | 2022-03-30T23:22:24.000Z | tests/commands/cloud/test_pull.py | InvestWeMust/lean-cli | a7241a0af6202dc7d56c0f35d09e51798cc5d426 | [
"Apache-2.0"
] | 50 | 2021-02-11T01:25:24.000Z | 2022-03-17T03:56:29.000Z | # QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
# Lean CLI v1.0. Copyright 2021 QuantConnect Corporation.
#
# 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... | 38.014599 | 84 | 0.697773 | 680 | 5,208 | 5.036765 | 0.191176 | 0.068321 | 0.12146 | 0.029781 | 0.753869 | 0.746277 | 0.732263 | 0.719416 | 0.719416 | 0.719416 | 0 | 0.017055 | 0.200653 | 5,208 | 136 | 85 | 38.294118 | 0.805669 | 0.122696 | 0 | 0.753086 | 0 | 0 | 0.094601 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 1 | 0.061728 | false | 0 | 0.074074 | 0 | 0.135802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
05705a0e603906cdbb2c2b0c32fb199a0bd43f0d | 40 | py | Python | map/__init__.py | dc-aichara/COVID19-India-Tracker | 6685c996ca116b60e4ebbf0d3902d41ae2608864 | [
"MIT"
] | 9 | 2020-03-22T11:11:16.000Z | 2021-07-25T02:03:38.000Z | map/__init__.py | dc-aichara/COVID19-India-Tracker | 6685c996ca116b60e4ebbf0d3902d41ae2608864 | [
"MIT"
] | 1 | 2021-04-17T19:52:03.000Z | 2021-04-19T13:40:27.000Z | map/__init__.py | dc-aichara/COVID19-India-Tracker | 6685c996ca116b60e4ebbf0d3902d41ae2608864 | [
"MIT"
] | 2 | 2020-04-11T21:54:54.000Z | 2021-04-17T14:58:18.000Z | from .scatter_map import scatter_mapbox
| 20 | 39 | 0.875 | 6 | 40 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.