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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2937dffa934589643ef47adc036dca58a6d11082 | 31 | py | Python | src/cuda_slic/__init__.py | abonawas/cuda-slic | 5264b81b12fa3049ccb9cab59257740422a13d21 | [
"Apache-2.0"
] | 6 | 2020-10-11T20:58:43.000Z | 2022-03-14T15:19:05.000Z | src/cuda_slic/__init__.py | abonawas/cuda-slic | 5264b81b12fa3049ccb9cab59257740422a13d21 | [
"Apache-2.0"
] | 1 | 2020-09-19T11:08:42.000Z | 2020-09-26T20:14:30.000Z | src/cuda_slic/__init__.py | abonawas/cuda-slic | 5264b81b12fa3049ccb9cab59257740422a13d21 | [
"Apache-2.0"
] | 1 | 2021-02-28T11:05:45.000Z | 2021-02-28T11:05:45.000Z | from .slic import slic # noqa
| 15.5 | 30 | 0.709677 | 5 | 31 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 1 | 31 | 31 | 0.916667 | 0.129032 | 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 |
2938ee7690820b2b52f442a5903670cac0107602 | 3,896 | py | Python | tests/e2e/test_navigation_page_non_student.py | elihschiff/Submitty | 8b980997b6f1dfcd73eb4cf4cca43398e67f96dc | [
"BSD-3-Clause"
] | 1 | 2019-02-27T21:20:14.000Z | 2019-02-27T21:20:14.000Z | tests/e2e/test_navigation_page_non_student.py | elihschiff/Submitty | 8b980997b6f1dfcd73eb4cf4cca43398e67f96dc | [
"BSD-3-Clause"
] | 2 | 2021-05-10T14:33:39.000Z | 2022-01-06T19:47:03.000Z | tests/e2e/test_navigation_page_non_student.py | elihschiff/Submitty | 8b980997b6f1dfcd73eb4cf4cca43398e67f96dc | [
"BSD-3-Clause"
] | 1 | 2020-06-25T22:45:25.000Z | 2020-06-25T22:45:25.000Z | from .base_testcase import BaseTestCase
class TestNavigationPageNonStudent(BaseTestCase):
def __init__(self, testname):
super().__init__(testname, log_in=False)
def test_instructor(self):
self.log_in(user_id="instructor", user_name="Quinn")
self.click_class('sample')
elements ... | 53.369863 | 84 | 0.601129 | 436 | 3,896 | 5.03211 | 0.133028 | 0.177758 | 0.085232 | 0.1299 | 0.863263 | 0.863263 | 0.845943 | 0.840474 | 0.839562 | 0.839107 | 0 | 0.009217 | 0.275924 | 3,896 | 72 | 85 | 54.111111 | 0.768522 | 0 | 0 | 0.569231 | 0 | 0 | 0.142197 | 0.024641 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.046154 | false | 0 | 0.030769 | 0 | 0.092308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2959fa74380a5e98bc9c3139b893878f6f0f467d | 46 | py | Python | clisops/utils/__init__.py | aulemahal/clisops | 20bbd4662b6272ec0115425f009059b85c83121e | [
"BSD-3-Clause"
] | 18 | 2020-05-19T21:22:37.000Z | 2022-02-04T08:10:21.000Z | clisops/utils/__init__.py | aulemahal/clisops | 20bbd4662b6272ec0115425f009059b85c83121e | [
"BSD-3-Clause"
] | 166 | 2020-04-22T11:04:57.000Z | 2022-03-31T11:14:21.000Z | clisops/utils/__init__.py | aulemahal/clisops | 20bbd4662b6272ec0115425f009059b85c83121e | [
"BSD-3-Clause"
] | 6 | 2020-04-02T14:30:21.000Z | 2021-12-04T03:51:12.000Z | from .common import *
from .tutorial import *
| 15.333333 | 23 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 24 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
465d2242e3389ca07a33cbd1e275d2781af771cd | 4,460 | py | Python | ietf/doc/migrations/0030_author_revamp_and_extra_attributes.py | ekr/ietfdb | 8d936836b0b9ff31cda415b0a423e3f5b33ab695 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ietf/doc/migrations/0030_author_revamp_and_extra_attributes.py | ekr/ietfdb | 8d936836b0b9ff31cda415b0a423e3f5b33ab695 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ietf/doc/migrations/0030_author_revamp_and_extra_attributes.py | ekr/ietfdb | 8d936836b0b9ff31cda415b0a423e3f5b33ab695 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('name', '0020_formallanguagename'),
('doc', '0029_update_rfc_authors'),
]
operations = [
migrations.AddField(
... | 38.448276 | 166 | 0.595964 | 435 | 4,460 | 5.974713 | 0.183908 | 0.069257 | 0.088496 | 0.103886 | 0.816468 | 0.816468 | 0.724894 | 0.713351 | 0.624086 | 0.624086 | 0 | 0.006944 | 0.289686 | 4,460 | 115 | 167 | 38.782609 | 0.813447 | 0.004709 | 0 | 0.862385 | 0 | 0.018349 | 0.266396 | 0.020735 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018349 | 0 | 0.045872 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4666cfaea01ade273e666c93e968af98aa8c0522 | 59 | py | Python | lambda_assistant/mysql/__init__.py | matiasvallejosdev/py-aws-lambda-handlers | 4643042bc02e557bb4a2953118de5f4eb5320d70 | [
"Apache-2.0"
] | null | null | null | lambda_assistant/mysql/__init__.py | matiasvallejosdev/py-aws-lambda-handlers | 4643042bc02e557bb4a2953118de5f4eb5320d70 | [
"Apache-2.0"
] | null | null | null | lambda_assistant/mysql/__init__.py | matiasvallejosdev/py-aws-lambda-handlers | 4643042bc02e557bb4a2953118de5f4eb5320d70 | [
"Apache-2.0"
] | null | null | null | from .client_handler import *
from .query_handler import * | 29.5 | 30 | 0.79661 | 8 | 59 | 5.625 | 0.625 | 0.577778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 2 | 31 | 29.5 | 0.882353 | 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 |
4673e4345ba185c95a2c882c41b167234bf6fb32 | 110 | py | Python | info.py | noahjepstein/textbot | de18f929356b1a059b3cee93348d14a689497684 | [
"MIT"
] | null | null | null | info.py | noahjepstein/textbot | de18f929356b1a059b3cee93348d14a689497684 | [
"MIT"
] | null | null | null | info.py | noahjepstein/textbot | de18f929356b1a059b3cee93348d14a689497684 | [
"MIT"
] | null | null | null | MY_NUM = +19788613167
ACC_SID = ACa67744d6b745da5a52af5e441bbba8d1
ACC_KEY = 6d3d93eeacb9cb2d8893b3321c8e4691
| 27.5 | 44 | 0.881818 | 9 | 110 | 10.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.475248 | 0.081818 | 110 | 3 | 45 | 36.666667 | 0.455446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3bdc17e74d5faaf566fbf3894cdcb6c74fbc2ad | 25 | py | Python | modules/__init__.py | Infosecurity-LLC/unicon_v3 | 12009016e74328f7f90be84e334659b80240266e | [
"Apache-2.0"
] | 1 | 2022-02-04T10:01:45.000Z | 2022-02-04T10:01:45.000Z | modules/__init__.py | Infosecurity-LLC/unicon_v3 | 12009016e74328f7f90be84e334659b80240266e | [
"Apache-2.0"
] | null | null | null | modules/__init__.py | Infosecurity-LLC/unicon_v3 | 12009016e74328f7f90be84e334659b80240266e | [
"Apache-2.0"
] | 1 | 2022-02-04T10:01:46.000Z | 2022-02-04T10:01:46.000Z | from . import connectors
| 12.5 | 24 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d3c3c82cfc775b429e15bd3197a9dbcc97f75bef | 172 | py | Python | credentials.py | LucioZanette/vacibot | 06b738639d2592cdeda538a4e006220b5ed9be87 | [
"MIT"
] | null | null | null | credentials.py | LucioZanette/vacibot | 06b738639d2592cdeda538a4e006220b5ed9be87 | [
"MIT"
] | null | null | null | credentials.py | LucioZanette/vacibot | 06b738639d2592cdeda538a4e006220b5ed9be87 | [
"MIT"
] | null | null | null | connection_params = 'user/password@hostname/oracledbname' #credenciais do oracle DB
login_vacivida= '{"Data":{"Login":"xxxxxx","Senha":"yyyyyy"}}' #credenciais do Vacivida
| 57.333333 | 87 | 0.761628 | 20 | 172 | 6.45 | 0.8 | 0.20155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 172 | 2 | 88 | 86 | 0.80625 | 0.273256 | 0 | 0 | 0 | 0 | 0.642276 | 0.642276 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
31aaf08b283ee4df722d57b2179dbf24d8a8adfe | 78 | py | Python | notebook/book/python/Learn-OOP-with-Python/Chapter-2/python_init_test/module_2/module_2_module_1/__init__.py | JMwill/note | 30e931f18c9ba942f5e5040b524047a996cf0c6c | [
"MIT"
] | null | null | null | notebook/book/python/Learn-OOP-with-Python/Chapter-2/python_init_test/module_2/module_2_module_1/__init__.py | JMwill/note | 30e931f18c9ba942f5e5040b524047a996cf0c6c | [
"MIT"
] | 2 | 2018-11-27T10:45:45.000Z | 2018-12-13T14:44:54.000Z | notebook/book/python/Learn-OOP-with-Python/Chapter-2/python_init_test/module_2/module_2_module_1/__init__.py | JMwill/note | 30e931f18c9ba942f5e5040b524047a996cf0c6c | [
"MIT"
] | null | null | null | from .say import say
from .module_2_module_1_module_1 import say as module_say | 39 | 57 | 0.858974 | 16 | 78 | 3.8125 | 0.4375 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.115385 | 78 | 2 | 57 | 39 | 0.84058 | 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 |
31c4bbe6aa76515b8fa23edd69e4de916b89503e | 46 | py | Python | deep_nlp/__init__.py | FabianBell/deepl_framework | c62ac799f5c98f7de07796c4df6d046080f5b096 | [
"MIT"
] | 1 | 2021-05-05T10:05:50.000Z | 2021-05-05T10:05:50.000Z | deep_nlp/__init__.py | FabianBell/deepl_framework | c62ac799f5c98f7de07796c4df6d046080f5b096 | [
"MIT"
] | null | null | null | deep_nlp/__init__.py | FabianBell/deepl_framework | c62ac799f5c98f7de07796c4df6d046080f5b096 | [
"MIT"
] | null | null | null | from .framework import *
from .utils import *
| 15.333333 | 24 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 25 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9efd56d50cff2cb6d29b2c6a198fe36620bddf43 | 31 | py | Python | cracking_the_coding_interview_qs/16.5/zeros.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | cracking_the_coding_interview_qs/16.5/zeros.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | cracking_the_coding_interview_qs/16.5/zeros.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | def zeros(n):
return n // 5 | 15.5 | 17 | 0.548387 | 6 | 31 | 2.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.290323 | 31 | 2 | 17 | 15.5 | 0.727273 | 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 |
7322abe1b08a4e4aab625a53f2ce088299aaeb55 | 36 | py | Python | src/lib/stat.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/stat.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/stat.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("stat")
| 18 | 35 | 0.75 | 6 | 36 | 3.666667 | 0.666667 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
73318c8a98ad8c2d976bbf1112691e7ffa4eb113 | 4,083 | py | Python | flextensor/baselines/unpooling1d_baseline.py | imxian/FlexTensor | 311af3362856ea1b0073404fffad42c54585c205 | [
"MIT"
] | 135 | 2020-03-15T11:28:48.000Z | 2022-03-26T00:54:32.000Z | flextensor/baselines/unpooling1d_baseline.py | imxian/FlexTensor | 311af3362856ea1b0073404fffad42c54585c205 | [
"MIT"
] | 11 | 2020-03-23T11:06:38.000Z | 2022-01-24T06:25:41.000Z | flextensor/baselines/unpooling1d_baseline.py | imxian/FlexTensor | 311af3362856ea1b0073404fffad42c54585c205 | [
"MIT"
] | 32 | 2020-03-17T05:12:59.000Z | 2022-03-26T00:54:33.000Z | import argparse
import timeit
import torch
import time
import tvm
import topi
import numpy as np
from flextensor.configs.maxunpooling1d_config import maxunpooling1d_shape
from flextensor.task import maxunpooling1d
torch.backends.cudnn.enabled = False
def pytorch_cpu(B, C, L, kernel_size, stride, padding, number=10, ... | 35.815789 | 123 | 0.658584 | 595 | 4,083 | 4.391597 | 0.156303 | 0.048986 | 0.073479 | 0.037505 | 0.809414 | 0.766552 | 0.740911 | 0.740911 | 0.740911 | 0.740911 | 0 | 0.020966 | 0.193975 | 4,083 | 113 | 124 | 36.132743 | 0.773017 | 0.010287 | 0 | 0.581395 | 0 | 0 | 0.034046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0.104651 | 0 | 0.197674 | 0.05814 | 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 |
733702c8f7c3cd5c9c8aeda2352b12ff742b2380 | 96 | py | Python | venv/lib/python3.8/site-packages/setuptools/_distutils/command/bdist_wininst.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/setuptools/_distutils/command/bdist_wininst.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/setuptools/_distutils/command/bdist_wininst.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/88/69/5a/23e55f1251ce9de79ccca1d69d23796b5d3eec831c25a5ee47599d4b77 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7355caf50314da06555fbe7d5d103233e9a65ea8 | 289 | py | Python | bitmovin_api_sdk/encoding/encodings/muxings/mxf/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/encodings/muxings/mxf/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/encodings/muxings/mxf/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.encodings.muxings.mxf.mxf_api import MxfApi
from bitmovin_api_sdk.encoding.encodings.muxings.mxf.customdata.customdata_api import CustomdataApi
from bitmovin_api_sdk.encoding.encodings.muxings.mxf.mxf_muxing_list_query_params import MxfMuxingListQueryParams
| 72.25 | 113 | 0.903114 | 40 | 289 | 6.225 | 0.425 | 0.144578 | 0.180723 | 0.216867 | 0.566265 | 0.566265 | 0.566265 | 0.566265 | 0.385542 | 0 | 0 | 0 | 0.041522 | 289 | 3 | 114 | 96.333333 | 0.898917 | 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 |
b41b65da9874c783f2f946a81844417a51f56410 | 32 | py | Python | hatesonar/__init__.py | r00tr00tr00t/HateSonar | ede963e22ada7e0a68e55c7bf4bc0e04d0e78919 | [
"MIT"
] | 155 | 2018-01-26T12:22:49.000Z | 2022-03-29T05:33:52.000Z | hatesonar/__init__.py | r00tr00tr00t/HateSonar | ede963e22ada7e0a68e55c7bf4bc0e04d0e78919 | [
"MIT"
] | 78 | 2018-02-21T12:50:42.000Z | 2022-03-28T20:49:32.000Z | hatesonar/__init__.py | r00tr00tr00t/HateSonar | ede963e22ada7e0a68e55c7bf4bc0e04d0e78919 | [
"MIT"
] | 38 | 2018-02-22T13:48:28.000Z | 2022-03-02T20:13:37.000Z | from hatesonar.api import Sonar
| 16 | 31 | 0.84375 | 5 | 32 | 5.4 | 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 |
b44900768f0195fe417b4844443ab5a7ef7e2d99 | 74 | py | Python | src/models/__init__.py | FHellmann/Deformable_Dilated_Faster-RCNN | 53e7ddcd6b3b8c7c38451cf08529d2792494c658 | [
"MIT"
] | 1 | 2021-10-09T03:05:16.000Z | 2021-10-09T03:05:16.000Z | src/models/__init__.py | FHellmann/Deformable_Dilated_Faster-RCNN | 53e7ddcd6b3b8c7c38451cf08529d2792494c658 | [
"MIT"
] | null | null | null | src/models/__init__.py | FHellmann/Deformable_Dilated_Faster-RCNN | 53e7ddcd6b3b8c7c38451cf08529d2792494c658 | [
"MIT"
] | 2 | 2021-03-02T12:06:14.000Z | 2021-11-20T16:02:43.000Z | from .faster_rcnn_models import FasterRCNNType, faster_rcnn_model_builder
| 37 | 73 | 0.905405 | 10 | 74 | 6.2 | 0.8 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 74 | 1 | 74 | 74 | 0.898551 | 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 |
c372a3af13901bfb1319bd7474439ce9d3dff170 | 122 | py | Python | vol1/29.py | EdisonAlgorithms/ProjectEuler | 95025ede2c92dbd3ed2dccc0f8a97e9a3db95ef0 | [
"MIT"
] | null | null | null | vol1/29.py | EdisonAlgorithms/ProjectEuler | 95025ede2c92dbd3ed2dccc0f8a97e9a3db95ef0 | [
"MIT"
] | null | null | null | vol1/29.py | EdisonAlgorithms/ProjectEuler | 95025ede2c92dbd3ed2dccc0f8a97e9a3db95ef0 | [
"MIT"
] | null | null | null | if __name__ == '__main__' :
s = set()
for i in range(2, 101) :
for j in range(2, 101) :
s.add(i ** j)
print len(s) | 20.333333 | 27 | 0.54918 | 24 | 122 | 2.458333 | 0.625 | 0.237288 | 0.271186 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0.262295 | 122 | 6 | 28 | 20.333333 | 0.566667 | 0 | 0 | 0 | 0 | 0 | 0.065041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c377044a58977c130aa520c9881f712dc8dcb14c | 1,847 | py | Python | tests/testdata.py | pombredanne/cdifflib | a89906a0ac8f5f4fba2349e872a9259bf7c20e83 | [
"BSD-3-Clause"
] | 18 | 2016-01-16T08:46:40.000Z | 2022-03-18T12:45:33.000Z | tests/testdata.py | mduggan/cdifflib | e2f561306d50880930da246517d2a5f5eb8006ae | [
"BSD-3-Clause"
] | 6 | 2017-07-07T15:53:59.000Z | 2019-12-05T11:18:51.000Z | tests/testdata.py | pombredanne/cdifflib | a89906a0ac8f5f4fba2349e872a9259bf7c20e83 | [
"BSD-3-Clause"
] | 5 | 2018-02-07T13:11:06.000Z | 2022-02-11T12:07:02.000Z | """
Test data from bug https://github.com/mduggan/cdifflib/issues/5
Revealed some bugs with autojunk handling
"""
a5 = [
12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
12, 124, 16, 12, 12, 12, 108, 588, 1316, 12, 8, 42, 6, 168, 36, 12, 10, 10,
158, 36, 10, 24, 152, 914, 84, 216... | 54.323529 | 79 | 0.505685 | 409 | 1,847 | 2.283619 | 0.259169 | 0.231263 | 0.276231 | 0.299786 | 0.674518 | 0.638116 | 0.638116 | 0.638116 | 0.638116 | 0.638116 | 0 | 0.630402 | 0.273416 | 1,847 | 33 | 80 | 55.969697 | 0.065574 | 0.05739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f156b34e4fe782d12d3b38df6d0583759ae93f5 | 30,685 | py | Python | results/tests/test_views_competitions.py | sal-kiti/sal-k | ac1e4ea1a7b5edfc1088666fba246a4e7042cac0 | [
"MIT"
] | 1 | 2021-06-12T08:46:32.000Z | 2021-06-12T08:46:32.000Z | results/tests/test_views_competitions.py | sal-kiti/sal-k | ac1e4ea1a7b5edfc1088666fba246a4e7042cac0 | [
"MIT"
] | 8 | 2020-07-01T15:06:52.000Z | 2022-02-20T09:11:23.000Z | results/tests/test_views_competitions.py | sal-kiti/sal-k | ac1e4ea1a7b5edfc1088666fba246a4e7042cac0 | [
"MIT"
] | 3 | 2020-03-01T17:02:24.000Z | 2020-07-05T14:37:59.000Z | from django.contrib.auth.models import Group, User
from django.test import TestCase, override_settings
from rest_framework import status
from rest_framework.test import APIRequestFactory
from rest_framework.test import force_authenticate
from results.models.competitions import CompetitionLevel, CompetitionType, Compet... | 50.971761 | 117 | 0.714551 | 3,817 | 30,685 | 5.48153 | 0.045586 | 0.083162 | 0.116522 | 0.116427 | 0.909764 | 0.895139 | 0.87693 | 0.85504 | 0.845099 | 0.8364 | 0 | 0.011557 | 0.179436 | 30,685 | 601 | 118 | 51.056572 | 0.819413 | 0 | 0 | 0.656687 | 0 | 0 | 0.03637 | 0.003292 | 0 | 0 | 0 | 0 | 0.231537 | 1 | 0.187625 | false | 0 | 0.023952 | 0 | 0.231537 | 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 |
6f2f26b8f699a19c029d87fadcc8d1c0dd0a0795 | 23 | py | Python | awscfncli2/cli/commands/status/__init__.py | alytle/awscfncli | 62075846804adf00ab726895f97f931dbd581927 | [
"MIT"
] | 60 | 2017-01-16T09:52:36.000Z | 2021-09-07T23:27:01.000Z | awscfncli2/cli/commands/status/__init__.py | alytle/awscfncli | 62075846804adf00ab726895f97f931dbd581927 | [
"MIT"
] | 103 | 2017-08-22T17:01:31.000Z | 2021-09-02T15:32:34.000Z | awscfncli2/cli/commands/status/__init__.py | alytle/awscfncli | 62075846804adf00ab726895f97f931dbd581927 | [
"MIT"
] | 16 | 2017-08-22T16:24:11.000Z | 2021-06-30T11:45:51.000Z | from .status import cli | 23 | 23 | 0.826087 | 4 | 23 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f693645a0935d8eabb2e3082aef8fbbb0cd39fc | 92 | py | Python | pruning/unstructured/__init__.py | Krishnkant-Swarnkar/Pytorch-pruning | 17cabe8a2e3fd38434a4064a7fb060b4dde74bd3 | [
"MIT"
] | 1 | 2020-12-15T04:32:19.000Z | 2020-12-15T04:32:19.000Z | pruning/unstructured/__init__.py | Krishnkant-Swarnkar/Pytorch-pruning | 17cabe8a2e3fd38434a4064a7fb060b4dde74bd3 | [
"MIT"
] | null | null | null | pruning/unstructured/__init__.py | Krishnkant-Swarnkar/Pytorch-pruning | 17cabe8a2e3fd38434a4064a7fb060b4dde74bd3 | [
"MIT"
] | null | null | null | from .one_shot_pruning import OneShotPruning
from .iterative_pruning import IterativePruning | 46 | 47 | 0.902174 | 11 | 92 | 7.272727 | 0.727273 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 92 | 2 | 47 | 46 | 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 |
48a1fd0a5713bf8da31a3ecd939dbfdb7d3d827f | 9,307 | py | Python | app/tests/algorithms_tests/test_signals.py | kaczmarj/grand-challenge.org | 8dc8a2170e51072354f7e94f2a22578805a67b94 | [
"Apache-2.0"
] | 7 | 2016-11-05T07:16:30.000Z | 2017-11-23T03:38:03.000Z | app/tests/algorithms_tests/test_signals.py | kaczmarj/grand-challenge.org | 8dc8a2170e51072354f7e94f2a22578805a67b94 | [
"Apache-2.0"
] | 113 | 2015-05-26T09:27:59.000Z | 2018-03-21T10:45:56.000Z | app/tests/algorithms_tests/test_signals.py | kaczmarj/grand-challenge.org | 8dc8a2170e51072354f7e94f2a22578805a67b94 | [
"Apache-2.0"
] | 7 | 2015-07-16T20:11:22.000Z | 2017-06-06T02:41:24.000Z | import pytest
from guardian.shortcuts import get_perms
from tests.algorithms_tests.factories import AlgorithmJobFactory
from tests.algorithms_tests.utils import TwoAlgorithms
from tests.components_tests.factories import ComponentInterfaceValueFactory
from tests.factories import GroupFactory, ImageFactory, UserFactory
... | 33.003546 | 76 | 0.623294 | 1,126 | 9,307 | 4.928952 | 0.102131 | 0.023784 | 0.034234 | 0.051351 | 0.862342 | 0.81982 | 0.791892 | 0.744324 | 0.739099 | 0.722523 | 0 | 0.027289 | 0.267648 | 9,307 | 281 | 77 | 33.120996 | 0.786972 | 0.016224 | 0 | 0.659483 | 0 | 0 | 0.040879 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.025862 | false | 0 | 0.030172 | 0 | 0.060345 | 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 |
48a41a79acbc05e559179dc403f49d87e8933b17 | 26 | py | Python | qmpy/web/views/data/__init__.py | tachyontraveler/qmpy | f024de3aa85d4367cd31775bd53eede30c74c083 | [
"MIT"
] | 103 | 2015-02-13T16:51:59.000Z | 2022-03-24T22:08:54.000Z | qmpy/web/views/data/__init__.py | tachyontraveler/qmpy | f024de3aa85d4367cd31775bd53eede30c74c083 | [
"MIT"
] | 59 | 2015-12-02T22:43:21.000Z | 2022-03-28T03:54:44.000Z | qmpy/web/views/data/__init__.py | tachyontraveler/qmpy | f024de3aa85d4367cd31775bd53eede30c74c083 | [
"MIT"
] | 62 | 2015-02-24T21:58:59.000Z | 2022-03-21T16:49:09.000Z | from .references import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48c94002b3e6b0473df2fd8065d543d5a44f7b6a | 173 | py | Python | src/z3c/__init__.py | pretaweb/z3c.form | 757300d6e15a5ca8427946dbdc3952ba8978f132 | [
"ZPL-2.1"
] | null | null | null | src/z3c/__init__.py | pretaweb/z3c.form | 757300d6e15a5ca8427946dbdc3952ba8978f132 | [
"ZPL-2.1"
] | null | null | null | src/z3c/__init__.py | pretaweb/z3c.form | 757300d6e15a5ca8427946dbdc3952ba8978f132 | [
"ZPL-2.1"
] | null | null | null | try:
# Declare this a namespace package if pkg_resources is available.
import pkg_resources
pkg_resources.declare_namespace('z3c')
except ImportError:
pass
| 21.625 | 69 | 0.751445 | 22 | 173 | 5.727273 | 0.727273 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.196532 | 173 | 7 | 70 | 24.714286 | 0.899281 | 0.364162 | 0 | 0 | 0 | 0 | 0.028037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
48c9411c5fb505d45f275acdd41e540586fee018 | 94 | py | Python | stylegan2_pytorch/__init__.py | Gokkulnath/stylegan2-pytorch | 4465ba38f4ecfff14500867d1fe07345a1e02eb3 | [
"MIT"
] | 2,954 | 2020-01-09T21:21:16.000Z | 2022-03-31T21:10:44.000Z | stylegan2_pytorch/__init__.py | Gokkulnath/stylegan2-pytorch | 4465ba38f4ecfff14500867d1fe07345a1e02eb3 | [
"MIT"
] | 259 | 2020-01-14T01:04:08.000Z | 2022-03-17T07:14:52.000Z | stylegan2_pytorch/__init__.py | Gokkulnath/stylegan2-pytorch | 4465ba38f4ecfff14500867d1fe07345a1e02eb3 | [
"MIT"
] | 558 | 2020-01-12T14:12:40.000Z | 2022-03-31T02:25:36.000Z | from stylegan2_pytorch.stylegan2_pytorch import Trainer, StyleGAN2, NanException, ModelLoader
| 47 | 93 | 0.882979 | 10 | 94 | 8.1 | 0.7 | 0.395062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.074468 | 94 | 1 | 94 | 94 | 0.896552 | 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 |
48d844df5a4b0431df621c62454b459c4215af6b | 27 | py | Python | app.py | crclz/hand2 | 76db4c8b91bcdca7281343f40802b753baee9a18 | [
"MIT"
] | null | null | null | app.py | crclz/hand2 | 76db4c8b91bcdca7281343f40802b753baee9a18 | [
"MIT"
] | null | null | null | app.py | crclz/hand2 | 76db4c8b91bcdca7281343f40802b753baee9a18 | [
"MIT"
] | null | null | null | print("This is web app 1")
| 13.5 | 26 | 0.666667 | 6 | 27 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.185185 | 27 | 1 | 27 | 27 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5b173f333cb2da8c2f66c586e97d85f83662c0ff | 46 | py | Python | example/runcmd/__init__.py | aman-atakama/atakama_sdk | 6e917e81c07495324fd5ab1208a63217b7e4c3fd | [
"BSD-3-Clause"
] | null | null | null | example/runcmd/__init__.py | aman-atakama/atakama_sdk | 6e917e81c07495324fd5ab1208a63217b7e4c3fd | [
"BSD-3-Clause"
] | 11 | 2021-08-04T23:40:55.000Z | 2022-03-23T19:34:30.000Z | example/runcmd/__init__.py | aman-atakama/atakama_sdk | 6e917e81c07495324fd5ab1208a63217b7e4c3fd | [
"BSD-3-Clause"
] | null | null | null | from .subproc_detector import SubprocDetector
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5b1fa1f2a0fe98ee890e1e8647b3efa9f7237a07 | 41 | py | Python | gluon_utils/logging/__init__.py | kbvatral/gluon-utils | bc4f54bff0e5b6a7d5306844f889ec8c3535604a | [
"Apache-2.0"
] | null | null | null | gluon_utils/logging/__init__.py | kbvatral/gluon-utils | bc4f54bff0e5b6a7d5306844f889ec8c3535604a | [
"Apache-2.0"
] | null | null | null | gluon_utils/logging/__init__.py | kbvatral/gluon-utils | bc4f54bff0e5b6a7d5306844f889ec8c3535604a | [
"Apache-2.0"
] | null | null | null | from .history_logger import HistoryLogger | 41 | 41 | 0.902439 | 5 | 41 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d2958166b390200562ea5565dd49f3183e445dca | 23 | py | Python | misc/config_tools/configurator/pyodide/__init__.py | jackwhich/acrn-hypervisor-1 | 2ff11c2ef04a2668979b3e363e25f13cf48376ac | [
"BSD-3-Clause"
] | null | null | null | misc/config_tools/configurator/pyodide/__init__.py | jackwhich/acrn-hypervisor-1 | 2ff11c2ef04a2668979b3e363e25f13cf48376ac | [
"BSD-3-Clause"
] | null | null | null | misc/config_tools/configurator/pyodide/__init__.py | jackwhich/acrn-hypervisor-1 | 2ff11c2ef04a2668979b3e363e25f13cf48376ac | [
"BSD-3-Clause"
] | null | null | null | from .pyodide import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8252c34b1e5e144d55a02e656a14a16db2293180 | 11,849 | py | Python | services/core-api/tests/mines/mine/resources/test_mine_resource.py | parc-jason/mds | 8f181a429442208a061ed72065b71e6c2bd0f76f | [
"Apache-2.0"
] | null | null | null | services/core-api/tests/mines/mine/resources/test_mine_resource.py | parc-jason/mds | 8f181a429442208a061ed72065b71e6c2bd0f76f | [
"Apache-2.0"
] | null | null | null | services/core-api/tests/mines/mine/resources/test_mine_resource.py | parc-jason/mds | 8f181a429442208a061ed72065b71e6c2bd0f76f | [
"Apache-2.0"
] | null | null | null | import json, uuid, pytest
from tests.factories import MineFactory
# GET
def test_get_mine_not_found(test_client, db_session, auth_headers):
get_resp = test_client.get(f'/mines/{uuid.uuid4()}', headers=auth_headers['full_auth_header'])
get_data = json.loads(get_resp.data.decode())
assert 'Mine not found' ... | 40.302721 | 106 | 0.69854 | 1,694 | 11,849 | 4.469303 | 0.05608 | 0.0634 | 0.09193 | 0.05706 | 0.908995 | 0.880993 | 0.845331 | 0.827368 | 0.788007 | 0.770176 | 0 | 0.021033 | 0.165415 | 11,849 | 293 | 107 | 40.440273 | 0.744565 | 0.000928 | 0 | 0.611111 | 0 | 0 | 0.226382 | 0.01352 | 0 | 0 | 0 | 0 | 0.252137 | 1 | 0.094017 | false | 0 | 0.008547 | 0 | 0.102564 | 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 |
826a305e6679c6ccf156aea4599b7554b4b6328c | 344 | py | Python | root/Base.py | shubham2803/todo | 2d7562a4d793f22322f2b284056d2e5a810d9595 | [
"MIT"
] | null | null | null | root/Base.py | shubham2803/todo | 2d7562a4d793f22322f2b284056d2e5a810d9595 | [
"MIT"
] | null | null | null | root/Base.py | shubham2803/todo | 2d7562a4d793f22322f2b284056d2e5a810d9595 | [
"MIT"
] | null | null | null | class BaseClass:
def __init__(self, file_path=None):
self.file_path = file_path
def get_file_path(self, file_path=None):
return self.file_path or '/home/admin1/Documents/todo/root/input.txt'
def get_file_path_2(self, file_path=None):
return self.file_path or '/home/admin1/Documents... | 34.4 | 79 | 0.715116 | 55 | 344 | 4.163636 | 0.345455 | 0.31441 | 0.31441 | 0.209607 | 0.593886 | 0.593886 | 0.593886 | 0.593886 | 0.593886 | 0.593886 | 0 | 0.014085 | 0.174419 | 344 | 9 | 80 | 38.222222 | 0.792254 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.285714 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
82747fbba08a1f9a43f4647bb10b77257ddeb1f2 | 33 | py | Python | hardware/alpha_genesis/sensor-node/InteractiveHtmlBom/__init__.py | kaiote/OpenHAP | ada812f8451b3463e355a62f3f5bb31ed226630b | [
"MIT"
] | 1 | 2020-02-13T04:37:06.000Z | 2020-02-13T04:37:06.000Z | hardware/alpha_genesis/sensor-node/InteractiveHtmlBom/__init__.py | kaiote/OpenHAP | ada812f8451b3463e355a62f3f5bb31ed226630b | [
"MIT"
] | null | null | null | hardware/alpha_genesis/sensor-node/InteractiveHtmlBom/__init__.py | kaiote/OpenHAP | ada812f8451b3463e355a62f3f5bb31ed226630b | [
"MIT"
] | null | null | null | from . import InteractiveHtmlBom
| 16.5 | 32 | 0.848485 | 3 | 33 | 9.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
827ad2fc97831a64c0d1d4d0cb2759b7f2b7c5f7 | 3,141 | py | Python | sceptre/exceptions.py | lukeplausin/sceptre | bad46d1a0d208dd14f0be2c776874ed5020ffaa7 | [
"Apache-2.0"
] | 1 | 2019-07-26T19:03:50.000Z | 2019-07-26T19:03:50.000Z | sceptre/exceptions.py | lukeplausin/sceptre | bad46d1a0d208dd14f0be2c776874ed5020ffaa7 | [
"Apache-2.0"
] | null | null | null | sceptre/exceptions.py | lukeplausin/sceptre | bad46d1a0d208dd14f0be2c776874ed5020ffaa7 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
class SceptreException(Exception):
"""
Base class for all Sceptre errors
"""
pass
class ProjectAlreadyExistsError(SceptreException):
"""
Error raised when Sceptre project already exists.
"""
pass
class InvalidSceptreDirectoryError(SceptreException):
"""
... | 19.388889 | 79 | 0.690226 | 302 | 3,141 | 7.175497 | 0.364238 | 0.213198 | 0.274112 | 0.173973 | 0.295801 | 0.137979 | 0.137979 | 0.059529 | 0 | 0 | 0 | 0.000415 | 0.233365 | 3,141 | 161 | 80 | 19.509317 | 0.899502 | 0.400828 | 0 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.488889 | 0 | 0 | 0.511111 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
82c48443fa76f01c008dd749966e80470e98d90e | 27,743 | py | Python | pybind/slxos/v17r_2_00/igmp_snooping_state/pim_snp_groups/pim_snp_groups_/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/igmp_snooping_state/pim_snp_groups/pim_snp_groups_/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/igmp_snooping_state/pim_snp_groups/pim_snp_groups_/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 74.778976 | 858 | 0.731824 | 4,198 | 27,743 | 4.583849 | 0.052168 | 0.046458 | 0.049473 | 0.068129 | 0.872005 | 0.843528 | 0.824715 | 0.814218 | 0.811204 | 0.796965 | 0 | 0.017389 | 0.116966 | 27,743 | 370 | 859 | 74.981081 | 0.768104 | 0.154309 | 0 | 0.486239 | 0 | 0.087156 | 0.412762 | 0.259612 | 0 | 0 | 0 | 0 | 0 | 1 | 0.110092 | false | 0 | 0.045872 | 0 | 0.270642 | 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 |
82c5b036c9f53c13a09225fa05b50aa97b60aaeb | 182 | py | Python | onadata/apps/sms_support/tests/__init__.py | ubpd/kobocat | 45906e07e8f05c30e3e26bab5570a8ab1ee264db | [
"BSD-2-Clause"
] | null | null | null | onadata/apps/sms_support/tests/__init__.py | ubpd/kobocat | 45906e07e8f05c30e3e26bab5570a8ab1ee264db | [
"BSD-2-Clause"
] | null | null | null | onadata/apps/sms_support/tests/__init__.py | ubpd/kobocat | 45906e07e8f05c30e3e26bab5570a8ab1ee264db | [
"BSD-2-Clause"
] | null | null | null | # coding: utf-8
from __future__ import unicode_literals, print_function, division, absolute_import
# from test_parser import TestParser
# from test_notallowed import TestNotAllowed
| 30.333333 | 82 | 0.840659 | 23 | 182 | 6.26087 | 0.73913 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0.115385 | 182 | 5 | 83 | 36.4 | 0.888199 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
82cb054f0bc5929fb7f9451aec1041d508a0d838 | 16,597 | py | Python | gen-py/Services_old/GameService.py | afshelburn/irpy | 46e9cab832a0bdfa6903ac73bb5dec610b49ea05 | [
"MIT"
] | null | null | null | gen-py/Services_old/GameService.py | afshelburn/irpy | 46e9cab832a0bdfa6903ac73bb5dec610b49ea05 | [
"MIT"
] | null | null | null | gen-py/Services_old/GameService.py | afshelburn/irpy | 46e9cab832a0bdfa6903ac73bb5dec610b49ea05 | [
"MIT"
] | null | null | null | #
# Autogenerated by Thrift Compiler (0.9.1)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TException, TApplicationException
from ttypes import *
from thrift.Thrift import TProcessor
from thrift.transport import TTransport
... | 28.914634 | 188 | 0.661023 | 1,930 | 16,597 | 5.445596 | 0.074093 | 0.015699 | 0.028259 | 0.023977 | 0.790961 | 0.751951 | 0.738915 | 0.714462 | 0.695718 | 0.69058 | 0 | 0.008427 | 0.220642 | 16,597 | 573 | 189 | 28.965096 | 0.804097 | 0.031994 | 0 | 0.752887 | 1 | 0 | 0.021207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.13164 | false | 0.006928 | 0.013857 | 0.04157 | 0.274827 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82da13bda7e5f397453d9c85c913fd52a3e799d7 | 26 | py | Python | pydepend/tests/assets/testfile.py | herczy/pydepend | ee64ba30efc3e19d643da2ed22e078ef4a06795d | [
"BSD-3-Clause"
] | 2 | 2019-04-21T06:10:09.000Z | 2020-04-24T23:12:02.000Z | pydepend/tests/assets/testfile.py | herczy/pydepend | ee64ba30efc3e19d643da2ed22e078ef4a06795d | [
"BSD-3-Clause"
] | null | null | null | pydepend/tests/assets/testfile.py | herczy/pydepend | ee64ba30efc3e19d643da2ed22e078ef4a06795d | [
"BSD-3-Clause"
] | null | null | null | def outerfunc():
pass
| 8.666667 | 16 | 0.615385 | 3 | 26 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 26 | 2 | 17 | 13 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7d6d646c7db81403264a4557610980ada589e725 | 77 | py | Python | python/src/test/resources/pyfunc/numpy_power_test.py | maropu/lljvm-translator | 322fbe24a27976948c8e8081a9552152dda58b4b | [
"Apache-2.0"
] | 70 | 2017-12-12T10:54:00.000Z | 2022-03-22T07:45:19.000Z | python/src/test/resources/pyfunc/numpy_power_test.py | maropu/lljvm-as | 322fbe24a27976948c8e8081a9552152dda58b4b | [
"Apache-2.0"
] | 14 | 2018-02-28T01:29:46.000Z | 2019-12-10T01:42:22.000Z | python/src/test/resources/pyfunc/numpy_power_test.py | maropu/lljvm-as | 322fbe24a27976948c8e8081a9552152dda58b4b | [
"Apache-2.0"
] | 4 | 2019-07-21T07:58:25.000Z | 2021-02-01T09:46:59.000Z | import numpy as np
def numpy_power_test(x, y):
return np.power(-x, 4) / y
| 15.4 | 28 | 0.675325 | 16 | 77 | 3.125 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.194805 | 77 | 4 | 29 | 19.25 | 0.790323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
7d80028e8abff3b2f2d4d99188dede223fa7d32b | 8,876 | py | Python | src/rrsm/rrsmi/forms.py | jbienkowski/rrsm | a5d5e574c7f7169cd8800402f9f04b2f9325b87e | [
"MIT"
] | 3 | 2019-02-07T18:03:58.000Z | 2020-06-30T11:10:30.000Z | src/rrsm/rrsmi/forms.py | jbienkowski/rrsm | a5d5e574c7f7169cd8800402f9f04b2f9325b87e | [
"MIT"
] | 28 | 2019-05-20T07:17:40.000Z | 2021-09-09T11:40:41.000Z | src/rrsm/rrsmi/forms.py | jbienkowski/rrsm | a5d5e574c7f7169cd8800402f9f04b2f9325b87e | [
"MIT"
] | 1 | 2019-07-26T10:22:55.000Z | 2019-07-26T10:22:55.000Z | from django import forms
from .models import \
SearchEvent, SearchPeakMotions, SearchCombined, SearchCustom, \
COORD_INTEGERS, COORD_DECIMALS, \
PGA_PGV_INTEGERS, PGA_PGV_DECIMALS, \
MAG_INTEGERS, MAG_DECIMALS
LABEL_EVENT_ID = 'Event Id'
LABEL_DATE_START = 'Start date (YYYY-MM-DD)'
LABEL_DATE_END = 'En... | 35.504 | 76 | 0.617283 | 1,089 | 8,876 | 4.51056 | 0.063361 | 0.055375 | 0.03807 | 0.076751 | 0.801914 | 0.741246 | 0.735546 | 0.735546 | 0.721295 | 0.721295 | 0 | 0.005226 | 0.288644 | 8,876 | 249 | 77 | 35.646586 | 0.772727 | 0 | 0 | 0.682008 | 0 | 0 | 0.282334 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008368 | 0 | 0.041841 | 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 |
7d8748cf36aabfd83f6c4d998391496ffea1e82b | 18,029 | py | Python | deepcell/dc_training_functions.py | hftsai/deepcell-tf_OIST | 55d7da0fba09c5959bf375ebdc471e3b266948a1 | [
"MIT"
] | null | null | null | deepcell/dc_training_functions.py | hftsai/deepcell-tf_OIST | 55d7da0fba09c5959bf375ebdc471e3b266948a1 | [
"MIT"
] | null | null | null | deepcell/dc_training_functions.py | hftsai/deepcell-tf_OIST | 55d7da0fba09c5959bf375ebdc471e3b266948a1 | [
"MIT"
] | null | null | null | """
dc_training_functions.py
Functions for training convolutional neural networks
@author: David Van Valen
"""
"""
Import python packages
"""
import numpy as np
from numpy import array
import matplotlib
import matplotlib.pyplot as plt
import shelve
from contextlib import closing
import os
import glob
import re
imp... | 44.626238 | 119 | 0.655499 | 2,275 | 18,029 | 4.92967 | 0.124835 | 0.024253 | 0.02568 | 0.020062 | 0.775568 | 0.765225 | 0.756487 | 0.75078 | 0.741953 | 0.732234 | 0 | 0.011955 | 0.243718 | 18,029 | 403 | 120 | 44.736973 | 0.810561 | 0.10949 | 0 | 0.645985 | 0 | 0 | 0.095442 | 0.037053 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.156934 | null | null | 0.116788 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d9fb2b0ea9e79230e9e7b00fe4cc28654149340 | 18 | py | Python | core/leras/__init__.py | chuanli11/GFPGAN | 4adbf820cef782c7d33113be35e5f1a49f2a3793 | [
"BSD-3-Clause"
] | null | null | null | core/leras/__init__.py | chuanli11/GFPGAN | 4adbf820cef782c7d33113be35e5f1a49f2a3793 | [
"BSD-3-Clause"
] | null | null | null | core/leras/__init__.py | chuanli11/GFPGAN | 4adbf820cef782c7d33113be35e5f1a49f2a3793 | [
"BSD-3-Clause"
] | null | null | null | from .nn import nn | 18 | 18 | 0.777778 | 4 | 18 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7dbac9ceccc14f9146dac7d36a1d13901505bce2 | 9,553 | py | Python | unittests.py | bclephas/testfile | a1eadc5bec3900b54d2c7b503465cbc450c46ec1 | [
"MIT"
] | null | null | null | unittests.py | bclephas/testfile | a1eadc5bec3900b54d2c7b503465cbc450c46ec1 | [
"MIT"
] | null | null | null | unittests.py | bclephas/testfile | a1eadc5bec3900b54d2c7b503465cbc450c46ec1 | [
"MIT"
] | null | null | null | import mock
import unittest
import testfile
@mock.patch('testfile._execute_commandline', return_value=('', '', 0))
@mock.patch('testfile._print_verbose')
@mock.patch('testfile._print_result')
@mock.patch('testfile._terminate_if_required')
class Testfile_tests(unittest.TestCase):
def setUp(self):
pass
... | 31.321311 | 130 | 0.447817 | 823 | 9,553 | 4.823815 | 0.09842 | 0.074811 | 0.048363 | 0.064484 | 0.85995 | 0.844584 | 0.812846 | 0.802771 | 0.802771 | 0.781864 | 0 | 0.009365 | 0.441118 | 9,553 | 304 | 131 | 31.424342 | 0.73422 | 0 | 0 | 0.503546 | 0 | 0 | 0.105109 | 0.010992 | 0 | 0 | 0 | 0 | 0.070922 | 1 | 0.060284 | false | 0.010638 | 0.010638 | 0 | 0.074468 | 0.021277 | 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 |
7dc612365589dbc072e56db60676abde2f633481 | 333 | py | Python | app/tests/main_test.py | glushko311/docker-flask-postgres | f080917acedaf05a35530b8862732bf1a4fd37e5 | [
"MIT"
] | null | null | null | app/tests/main_test.py | glushko311/docker-flask-postgres | f080917acedaf05a35530b8862732bf1a4fd37e5 | [
"MIT"
] | null | null | null | app/tests/main_test.py | glushko311/docker-flask-postgres | f080917acedaf05a35530b8862732bf1a4fd37e5 | [
"MIT"
] | null | null | null | from unittest import TestCase
class TestSuit1(TestCase):
def test_one(self):
return self.assertEqual(1, 1)
def test_two(self):
return self.assertEqual(2, 2)
def test_three(self):
return self.assertEqual(3, 3)
def test_smoke(self):
pass
if __name__ == "__main__":
... | 19.588235 | 37 | 0.636637 | 43 | 333 | 4.651163 | 0.511628 | 0.14 | 0.21 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03252 | 0.261261 | 333 | 17 | 38 | 19.588235 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.333333 | false | 0.083333 | 0.083333 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
7de3f9a1ff40ee80210414f1b4ec421ac8b4c69f | 39,779 | py | Python | util/result.py | qihqi/FoodCaloriesPrediction | 4fa4d6122416640eaa792a44df5ff5db9ddfd8f5 | [
"BSD-2-Clause"
] | 1 | 2017-12-14T12:02:31.000Z | 2017-12-14T12:02:31.000Z | util/result.py | qihqi/FoodCaloriesPrediction | 4fa4d6122416640eaa792a44df5ff5db9ddfd8f5 | [
"BSD-2-Clause"
] | null | null | null | util/result.py | qihqi/FoodCaloriesPrediction | 4fa4d6122416640eaa792a44df5ff5db9ddfd8f5 | [
"BSD-2-Clause"
] | 1 | 2020-08-17T05:50:45.000Z | 2020-08-17T05:50:45.000Z | {(13, 108): {'restaurant': 'Wendys', 'food_name': 'Quarter Pound Single', 'calorie': '430', 'raw': ['\n\n', '<br/>', '<b>Restaurant: </b>', 'Wendys', '<br/>', '\n', '<b>Food: </b>', 'Quarter Pound Single', '<br/>', '\n', '<b>Calories: </b>', '430', '<br/>', '<br/>', '\n', '<a href="./index.php">Search again</a>', '\n',... | 19,889.5 | 39,778 | 0.470525 | 5,632 | 39,779 | 3.303622 | 0.061967 | 0.053692 | 0.047727 | 0.041761 | 0.790498 | 0.696012 | 0.64189 | 0.625121 | 0.620445 | 0.594163 | 0 | 0.031967 | 0.110586 | 39,779 | 1 | 39,779 | 39,779 | 0.493923 | 0 | 0 | 0 | 0 | 0 | 0.661404 | 0.06976 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7dec2bb361d9fc498b207a41189a8cceaeaa5bc6 | 42 | py | Python | groot/__init__.py | coolbromcdude/groot | 68d47ac7341e05a5530c7f8a0682cfbf8b3cb5fe | [
"MIT"
] | null | null | null | groot/__init__.py | coolbromcdude/groot | 68d47ac7341e05a5530c7f8a0682cfbf8b3cb5fe | [
"MIT"
] | null | null | null | groot/__init__.py | coolbromcdude/groot | 68d47ac7341e05a5530c7f8a0682cfbf8b3cb5fe | [
"MIT"
] | null | null | null | from .groot import Groot, HelperFunctions
| 21 | 41 | 0.833333 | 5 | 42 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7def31bc00a6806fbdc6b02d3206dcbe66a12c80 | 45 | py | Python | tasks/cv_tasks/__init__.py | zhaoguangxiang/OFA | cc1719df2713f0a046f34acb0afd8782e08ea6be | [
"Apache-2.0"
] | 367 | 2022-02-07T10:46:36.000Z | 2022-03-31T14:20:57.000Z | tasks/cv_tasks/__init__.py | zhaoguangxiang/OFA | cc1719df2713f0a046f34acb0afd8782e08ea6be | [
"Apache-2.0"
] | 29 | 2022-02-16T03:43:33.000Z | 2022-03-31T03:23:35.000Z | tasks/cv_tasks/__init__.py | zhaoguangxiang/OFA | cc1719df2713f0a046f34acb0afd8782e08ea6be | [
"Apache-2.0"
] | 44 | 2022-02-11T05:14:59.000Z | 2022-03-30T19:54:33.000Z | from .image_classify import ImageClassifyTask | 45 | 45 | 0.911111 | 5 | 45 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
816eade17175697fbb1940eef99d1c92eb16ef25 | 32 | py | Python | yolact/__init__.py | plarr2020-team1/yolact | 0256dfc48b63e9cde7fdfb0b340ae4213f2b5a5b | [
"MIT"
] | null | null | null | yolact/__init__.py | plarr2020-team1/yolact | 0256dfc48b63e9cde7fdfb0b340ae4213f2b5a5b | [
"MIT"
] | null | null | null | yolact/__init__.py | plarr2020-team1/yolact | 0256dfc48b63e9cde7fdfb0b340ae4213f2b5a5b | [
"MIT"
] | null | null | null | from yolact.yolact import Yolact | 32 | 32 | 0.875 | 5 | 32 | 5.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
818d7d635823dadcdff23f136553a1fec4689913 | 49 | py | Python | kalliope/players/sounddeviceplayer/__init__.py | joshuaboniface/kalliope | 0e040be3165e838485d1e5addc4d2c5df12bfd84 | [
"MIT"
] | 1 | 2020-03-30T15:03:19.000Z | 2020-03-30T15:03:19.000Z | kalliope/players/sounddeviceplayer/__init__.py | joshuaboniface/kalliope | 0e040be3165e838485d1e5addc4d2c5df12bfd84 | [
"MIT"
] | null | null | null | kalliope/players/sounddeviceplayer/__init__.py | joshuaboniface/kalliope | 0e040be3165e838485d1e5addc4d2c5df12bfd84 | [
"MIT"
] | 1 | 2021-11-21T19:08:15.000Z | 2021-11-21T19:08:15.000Z | from .sounddeviceplayer import Sounddeviceplayer
| 24.5 | 48 | 0.897959 | 4 | 49 | 11 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 6 |
81a9d7a6281fe0dd958d3b94f479064c5cbb8262 | 114 | py | Python | pyleecan/Methods/Slot/SlotWLSRPM/__init__.py | tobsen2code/pyleecan | 5b1ded9e389e0c79ed7b7c878b6e939f2d9962e9 | [
"Apache-2.0"
] | 95 | 2019-01-23T04:19:45.000Z | 2022-03-17T18:22:10.000Z | pyleecan/Methods/Slot/SlotWLSRPM/__init__.py | ecs-kev/pyleecan | 1faedde4b24acc6361fa1fdd4e980eaec4ca3a62 | [
"Apache-2.0"
] | 366 | 2019-02-20T07:15:08.000Z | 2022-03-31T13:37:23.000Z | pyleecan/Methods/Slot/SlotWLSRPM/__init__.py | ecs-kev/pyleecan | 1faedde4b24acc6361fa1fdd4e980eaec4ca3a62 | [
"Apache-2.0"
] | 74 | 2019-01-24T01:47:31.000Z | 2022-02-25T05:44:42.000Z | from ....Methods.Slot.Slot import SlotCheckError
class SLSRPMOutterError(SlotCheckError):
""" """
pass
| 14.25 | 48 | 0.692982 | 10 | 114 | 7.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 114 | 7 | 49 | 16.285714 | 0.840426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
81aa2a5a75193ed95355dcd623c94a317bcc959e | 15,888 | py | Python | topside/visualization/optimization/cost_terms.py | roguextech/Waterloo-Rocketry-topside | 345e7d47efdac04c2c5f70d55f83bd77acdbb511 | [
"MIT"
] | 4 | 2020-04-18T00:40:55.000Z | 2021-06-10T04:04:09.000Z | topside/visualization/optimization/cost_terms.py | roguextech/Waterloo-Rocketry-topside | 345e7d47efdac04c2c5f70d55f83bd77acdbb511 | [
"MIT"
] | 82 | 2020-04-15T21:26:04.000Z | 2022-02-04T04:50:07.000Z | topside/visualization/optimization/cost_terms.py | roguextech/Waterloo-Rocketry-topside | 345e7d47efdac04c2c5f70d55f83bd77acdbb511 | [
"MIT"
] | 8 | 2020-04-21T17:54:36.000Z | 2022-02-28T16:14:21.000Z | import numpy as np
class NeighboringDistance():
"""
Encourages a nominal distance between neighboring nodes.
For two nodes [x1, y1] and [x2, y2] with nominal separation D, the
neighboring distance cost C is defined as:
C = W * (D - sqrt((x2 - x1)^2 + (y2 - y1)^2))^2
where W is a constan... | 34.464208 | 96 | 0.590949 | 2,115 | 15,888 | 4.327187 | 0.091253 | 0.02524 | 0.038024 | 0.015625 | 0.802666 | 0.789773 | 0.774366 | 0.737653 | 0.720498 | 0.696569 | 0 | 0.010828 | 0.319927 | 15,888 | 460 | 97 | 34.53913 | 0.836187 | 0.476586 | 0 | 0.5 | 0 | 0 | 0.006616 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075758 | false | 0 | 0.007576 | 0 | 0.159091 | 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 |
81dd7bf93e1b979a9c38544720897fb0c67f3793 | 110 | py | Python | SalavatiHolidayCheckup/__init__.py | khalooei/holiday-check | 683ea8aeb9b3103ffd1c9bb3d21101cd08d431a9 | [
"MIT"
] | null | null | null | SalavatiHolidayCheckup/__init__.py | khalooei/holiday-check | 683ea8aeb9b3103ffd1c9bb3d21101cd08d431a9 | [
"MIT"
] | null | null | null | SalavatiHolidayCheckup/__init__.py | khalooei/holiday-check | 683ea8aeb9b3103ffd1c9bb3d21101cd08d431a9 | [
"MIT"
] | 2 | 2021-05-06T21:19:44.000Z | 2021-05-06T21:31:25.000Z | from .HolidayCheck import *
from datetime import datetime
import jdatetime
from hijri_converter import convert | 27.5 | 35 | 0.863636 | 14 | 110 | 6.714286 | 0.571429 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 110 | 4 | 35 | 27.5 | 0.969072 | 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 |
c493db78068baf0d919e5d32b6b88fdfb9fe0e2a | 317 | py | Python | lang/py/cookbook/v2/source/cb2_11_6_sol_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_11_6_sol_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_11_6_sol_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | icon='''R0lGODdhFQAVAPMAAAQ2PESapISCBASCBMTCxPxmNCQiJJya/ISChGRmzPz+/PxmzDQyZ
DQyZDQyZDQyZCwAAAAAFQAVAAAElJDISau9Vh2WMD0gqHHelJwnsXVloqDd2hrMm8pYYiSHYfMMRm
53ULlQHGFFx1MZCciUiVOsPmEkKNVp3UBhJ4Ohy1UxerSgJGZMMBbcBACQlVhRiHvaUsXHgywTdyc
LdxyB gm1vcTyIZW4MeU6NgQEBXEGRcQcIlwQIAwEHoioCAgWmCZ0Iq5+hA6wIpqislgGhthEAOw==
'''
| 52.833333 | 78 | 0.940063 | 9 | 317 | 33.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061093 | 0.018927 | 317 | 5 | 79 | 63.4 | 0.897106 | 0 | 0 | 0 | 0 | 0 | 0.962145 | 0.930599 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4a01a91b0fce925e5fb9acd513f594ad72f9537 | 104 | py | Python | Old/src/com/basic/ruboob/jisuan.py | exchris/Pythonlearn | 174f38a86cf1c85d6fc099005aab3568e7549cd0 | [
"MIT"
] | null | null | null | Old/src/com/basic/ruboob/jisuan.py | exchris/Pythonlearn | 174f38a86cf1c85d6fc099005aab3568e7549cd0 | [
"MIT"
] | 1 | 2018-11-27T09:58:54.000Z | 2018-11-27T09:58:54.000Z | Old/src/com/basic/ruboob/jisuan.py | exchris/pythonlearn | 174f38a86cf1c85d6fc099005aab3568e7549cd0 | [
"MIT"
] | null | null | null | # 数值运算
5 + 4 # 加法
4.3 - 2 # 减法
3 * 7 # 乘法
2 / 4 # 除法,得到一个浮点数
2 // 4 # 除法,得到一个整数
17 % 3 # 取余
2 ** 5 # 乘方 | 13 | 18 | 0.451923 | 25 | 104 | 1.88 | 0.6 | 0.085106 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238806 | 0.355769 | 104 | 8 | 19 | 13 | 0.462687 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4d260332024beff0f03ea02bd502430fc3d0a83 | 201 | py | Python | pizza/admin.py | Neo945/PizzaShop | 2a3a365d68ebdc0152f9e9e5176fe78422e51640 | [
"MIT"
] | null | null | null | pizza/admin.py | Neo945/PizzaShop | 2a3a365d68ebdc0152f9e9e5176fe78422e51640 | [
"MIT"
] | null | null | null | pizza/admin.py | Neo945/PizzaShop | 2a3a365d68ebdc0152f9e9e5176fe78422e51640 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Pizza,Topping,Topping_pizza
# Register your models here.
admin.site.register(Pizza)
admin.site.register(Topping)
admin.site.register(Topping_pizza) | 28.714286 | 47 | 0.830846 | 29 | 201 | 5.689655 | 0.413793 | 0.163636 | 0.309091 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079602 | 201 | 7 | 48 | 28.714286 | 0.891892 | 0.129353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c4de07e8a1cb717f09e96ebeb64239a53f38a241 | 27 | py | Python | ConverttoDDB/__init__.py | mailhexu/ConverttoDDB | 03ca131d8a62b814ce6daa3b5d35db7922a148a2 | [
"MIT"
] | null | null | null | ConverttoDDB/__init__.py | mailhexu/ConverttoDDB | 03ca131d8a62b814ce6daa3b5d35db7922a148a2 | [
"MIT"
] | null | null | null | ConverttoDDB/__init__.py | mailhexu/ConverttoDDB | 03ca131d8a62b814ce6daa3b5d35db7922a148a2 | [
"MIT"
] | null | null | null | from ConverttoDDB import *
| 13.5 | 26 | 0.814815 | 3 | 27 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4ec0e9259a4f03ae940a5f00ed55ffdbe18a231 | 27 | py | Python | src/__init__.py | ScienceStacks/FittingSurface | 7994995c7155817ea4334f10dcd21e691cee46da | [
"MIT"
] | null | null | null | src/__init__.py | ScienceStacks/FittingSurface | 7994995c7155817ea4334f10dcd21e691cee46da | [
"MIT"
] | null | null | null | src/__init__.py | ScienceStacks/FittingSurface | 7994995c7155817ea4334f10dcd21e691cee46da | [
"MIT"
] | null | null | null | import src.constants as cn
| 13.5 | 26 | 0.814815 | 5 | 27 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4801b3a8597330db6455106176750c09e5dae1ea | 39 | py | Python | dashserve/tests/__init__.py | omegaml/dashserve | 4ab09bc70bed4070cd7dca8cf9b976212546cff3 | [
"MIT"
] | 7 | 2019-04-01T19:31:33.000Z | 2020-06-08T13:23:39.000Z | dashserve/tests/__init__.py | omegaml/dashserve | 4ab09bc70bed4070cd7dca8cf9b976212546cff3 | [
"MIT"
] | null | null | null | dashserve/tests/__init__.py | omegaml/dashserve | 4ab09bc70bed4070cd7dca8cf9b976212546cff3 | [
"MIT"
] | null | null | null | from dashserve.tests import myapp
| 5.571429 | 33 | 0.74359 | 5 | 39 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 39 | 6 | 34 | 6.5 | 0.966667 | 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 |
483af905d7f6302c29d48faf91ebdc055eeabafc | 119 | py | Python | CodeWars/Python/5 kyu/Where my anagrams at?/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | CodeWars/Python/5 kyu/Where my anagrams at?/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | CodeWars/Python/5 kyu/Where my anagrams at?/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | from collections import Counter
def anagrams(word, words):
return [x for x in words if Counter(word) == Counter(x)] | 39.666667 | 60 | 0.731092 | 19 | 119 | 4.578947 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168067 | 119 | 3 | 60 | 39.666667 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
4876d919b7a112e32de20a167b6f53b1dbd9b0db | 7,606 | py | Python | tests/data_providers/test_frankfurter.py | N0081K/gold-digger | 3a68084bf65565a61009f5e01da643499a5e06e6 | [
"Apache-2.0"
] | 7 | 2016-05-04T17:13:58.000Z | 2017-11-07T07:29:16.000Z | tests/data_providers/test_frankfurter.py | N0081K/gold-digger | 3a68084bf65565a61009f5e01da643499a5e06e6 | [
"Apache-2.0"
] | 94 | 2019-07-03T15:33:29.000Z | 2022-03-28T01:17:41.000Z | tests/data_providers/test_frankfurter.py | N0081K/gold-digger | 3a68084bf65565a61009f5e01da643499a5e06e6 | [
"Apache-2.0"
] | 2 | 2017-05-30T13:55:01.000Z | 2017-08-20T19:52:45.000Z | from datetime import date
from decimal import Decimal
import pytest
from requests import Response
API_RESPONSE_USD = b"""
{
"base": "USD",
"date": "2019-04-15",
"rates": {
"BGN": 1.7288075665,
"NZD": 1.4787412711,
"ILS": 3.5618315213,
"RUB": 64.2633253779,
"CAD": 1.3312118801,
"PHP": 51.... | 32.643777 | 117 | 0.65593 | 862 | 7,606 | 5.554524 | 0.191415 | 0.025063 | 0.02924 | 0.045948 | 0.838555 | 0.832498 | 0.827903 | 0.821846 | 0.816416 | 0.816416 | 0 | 0.100311 | 0.239811 | 7,606 | 232 | 118 | 32.784483 | 0.727776 | 0.250197 | 0 | 0.421875 | 0 | 0 | 0.197481 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 1 | 0.085938 | false | 0 | 0.03125 | 0 | 0.140625 | 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 |
6f95f31b7eba0c5f2f9682f9a8079675af4301e6 | 373 | py | Python | shared/tests/unit/util/test_key_strings.py | ostcar/openslides-datastore-service | 5b17e162c477e3d19b59b2dcfcf307538e5ce90b | [
"MIT"
] | null | null | null | shared/tests/unit/util/test_key_strings.py | ostcar/openslides-datastore-service | 5b17e162c477e3d19b59b2dcfcf307538e5ce90b | [
"MIT"
] | null | null | null | shared/tests/unit/util/test_key_strings.py | ostcar/openslides-datastore-service | 5b17e162c477e3d19b59b2dcfcf307538e5ce90b | [
"MIT"
] | null | null | null | from shared.util import is_reserved_field
def test_is_reserved_field_1():
assert is_reserved_field("meta_something")
def test_is_reserved_field_2():
assert is_reserved_field("meta")
def test_is_reserved_field_None():
assert is_reserved_field(None) is False
def test_is_reserved_field_other_string():
... | 20.722222 | 52 | 0.798928 | 58 | 373 | 4.637931 | 0.327586 | 0.334572 | 0.501859 | 0.252788 | 0.513011 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006154 | 0.128686 | 373 | 17 | 53 | 21.941176 | 0.821538 | 0 | 0 | 0 | 0 | 0 | 0.077748 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.444444 | true | 0 | 0.111111 | 0 | 0.555556 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f9e78e8624fe6b515da43e4230ba39f621331f3 | 27 | py | Python | python/prism_adacs/prism_adacs/_internal/tests/test_setup.py | ADACS-Australia/ADACS-SS18B-EvdVelden | b995797f06cf659076f716f2a2ee8435538badfc | [
"MIT"
] | null | null | null | python/prism_adacs/prism_adacs/_internal/tests/test_setup.py | ADACS-Australia/ADACS-SS18B-EvdVelden | b995797f06cf659076f716f2a2ee8435538badfc | [
"MIT"
] | 1 | 2022-01-19T16:19:02.000Z | 2022-01-19T16:19:02.000Z | library/tests/test_setup.py | pimoroni/apds9500-python | 8eb3dde36b4639be7ca1b253dab2aef982d111f3 | [
"MIT"
] | null | null | null | def test_setup():
pass
| 9 | 17 | 0.62963 | 4 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
6fa500e42625c19d800cd89e5b39cdf8b51c29b1 | 15,131 | py | Python | tensorflow/python/keras/layers/preprocessing/category_encoding_test.py | sgautham2k/tensorflow | d99a093ba8cf2bf83d01e585e8e1805c3e6145ba | [
"Apache-2.0"
] | 1 | 2021-06-17T17:07:40.000Z | 2021-06-17T17:07:40.000Z | tensorflow/python/keras/layers/preprocessing/category_encoding_test.py | dfki-thsc/tensorflow | 8d746f768196a2434d112e98fc26c99590986d73 | [
"Apache-2.0"
] | 2 | 2021-11-10T20:10:39.000Z | 2022-02-10T05:15:31.000Z | tensorflow/python/keras/layers/preprocessing/category_encoding_test.py | dfki-thsc/tensorflow | 8d746f768196a2434d112e98fc26c99590986d73 | [
"Apache-2.0"
] | 1 | 2021-04-20T18:26:18.000Z | 2021-04-20T18:26:18.000Z | # Copyright 2020 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 39.818421 | 81 | 0.693345 | 2,054 | 15,131 | 4.855404 | 0.091529 | 0.051439 | 0.052141 | 0.06307 | 0.841171 | 0.807179 | 0.782011 | 0.756442 | 0.728467 | 0.686554 | 0 | 0.028274 | 0.186571 | 15,131 | 379 | 82 | 39.923483 | 0.782012 | 0.094508 | 0 | 0.634328 | 0 | 0 | 0.015088 | 0 | 0 | 0 | 0 | 0 | 0.100746 | 1 | 0.052239 | false | 0 | 0.05597 | 0 | 0.119403 | 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 |
6fb35c6a0773bc5777e0c8acf34ec552b189a0de | 43 | py | Python | mfp/mfp_sub/__init__.py | benvliet/mfp | 50b1e3412015086e5684b2f4be4080dee4bfd30f | [
"MIT"
] | null | null | null | mfp/mfp_sub/__init__.py | benvliet/mfp | 50b1e3412015086e5684b2f4be4080dee4bfd30f | [
"MIT"
] | 2 | 2021-11-11T11:25:38.000Z | 2021-12-05T18:47:26.000Z | mfp/mfp_sub/__init__.py | benvliet/mfp | 50b1e3412015086e5684b2f4be4080dee4bfd30f | [
"MIT"
] | null | null | null | from .times import times_two # noqa: F401
| 21.5 | 42 | 0.744186 | 7 | 43 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.186047 | 43 | 1 | 43 | 43 | 0.8 | 0.232558 | 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 |
6fded39ff8ef89fb844a30d621abe2c13797a5bf | 126 | py | Python | example/controller/tests/helper/numeric/__init__.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 18 | 2015-04-07T14:28:39.000Z | 2020-02-08T14:03:38.000Z | example/controller/tests/helper/numeric/__init__.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 7 | 2016-10-05T05:14:06.000Z | 2021-05-20T02:07:22.000Z | example/controller/tests/helper/numeric/__init__.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 11 | 2015-12-15T09:49:39.000Z | 2021-09-06T18:38:21.000Z | # -*- coding: utf-8 -*-
from dp_tornado.engine.controller import Controller
class NumericController(Controller):
pass
| 14 | 51 | 0.730159 | 14 | 126 | 6.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.15873 | 126 | 8 | 52 | 15.75 | 0.849057 | 0.166667 | 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 |
82f2be33a7648a3ed0fc9534a33d9ebb99637f2a | 2,161 | py | Python | tests/test_adapter_validation.py | ingeniousambivert/chatbot | fb1d9659df6c1b6eddd8ee9349f5a65a0530db2a | [
"BSD-3-Clause"
] | null | null | null | tests/test_adapter_validation.py | ingeniousambivert/chatbot | fb1d9659df6c1b6eddd8ee9349f5a65a0530db2a | [
"BSD-3-Clause"
] | null | null | null | tests/test_adapter_validation.py | ingeniousambivert/chatbot | fb1d9659df6c1b6eddd8ee9349f5a65a0530db2a | [
"BSD-3-Clause"
] | null | null | null | from chatterbot import ChatBot
from chatterbot.adapters import Adapter
from tests.base_case import ChatBotTestCase
class AdapterValidationTests(ChatBotTestCase):
def test_invalid_storage_adapter(self):
kwargs = self.get_kwargs()
kwargs['storage_adapter'] = 'chatterbot.logic.LogicAdapter'... | 40.773585 | 75 | 0.659417 | 199 | 2,161 | 6.994975 | 0.18593 | 0.030172 | 0.060345 | 0.073276 | 0.836925 | 0.836925 | 0.836925 | 0.836925 | 0.836925 | 0.836925 | 0 | 0 | 0.242943 | 2,161 | 52 | 76 | 41.557692 | 0.850856 | 0 | 0 | 0.590909 | 0 | 0 | 0.232812 | 0.12091 | 0 | 0 | 0 | 0 | 0.068182 | 1 | 0.136364 | false | 0 | 0.113636 | 0 | 0.272727 | 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 |
82f4ac14a4bfd3dd663a8fa2e2c1aa454f79c795 | 94 | py | Python | luminoth/utils/hooks/__init__.py | jsdussanc/luminoth | 7637c52cc01d2826a231fef43746aa10951f99f0 | [
"BSD-3-Clause"
] | 2,584 | 2017-08-16T20:31:52.000Z | 2022-03-16T07:53:54.000Z | luminoth/utils/hooks/__init__.py | dun933/Tabulo | dc1c1203a40e1ecf2aaca9647f3008ab72b41438 | [
"BSD-3-Clause"
] | 197 | 2017-08-17T14:49:18.000Z | 2022-02-10T01:50:50.000Z | luminoth/utils/hooks/__init__.py | czbiohub/luminoth | 3b4d57a9b4c3704c64816bbcbd6126a2ac23a069 | [
"BSD-3-Clause"
] | 462 | 2017-08-16T22:00:23.000Z | 2022-03-08T19:14:00.000Z | from .image_vis_hook import ImageVisHook # noqa
from .var_vis_hook import VarVisHook # noqa
| 31.333333 | 48 | 0.808511 | 14 | 94 | 5.142857 | 0.642857 | 0.194444 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 94 | 2 | 49 | 47 | 0.9 | 0.095745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d207fb5ad1ff865dfb9ff53929b56029a04edfee | 142 | py | Python | liberator/__init__.py | root795/libresbc | 79d80e2a88f24f984a654855d45f5db8b18fc134 | [
"MIT"
] | null | null | null | liberator/__init__.py | root795/libresbc | 79d80e2a88f24f984a654855d45f5db8b18fc134 | [
"MIT"
] | null | null | null | liberator/__init__.py | root795/libresbc | 79d80e2a88f24f984a654855d45f5db8b18fc134 | [
"MIT"
] | null | null | null | from .configuration import *
from .utilities import *
from .bases import *
from .libreapi import *
from .fsxmlapi import *
from .api import *
| 20.285714 | 28 | 0.746479 | 18 | 142 | 5.888889 | 0.444444 | 0.471698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 142 | 6 | 29 | 23.666667 | 0.898305 | 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 |
d2207224c4437e9a32a07f46aef2970b21033f49 | 129 | py | Python | deepy/preprocessing/__init__.py | uaca/deepy | 090fbad22a08a809b12951cd0d4984f5bd432698 | [
"MIT"
] | 260 | 2015-05-16T07:58:29.000Z | 2016-01-07T09:10:47.000Z | deepy/preprocessing/__init__.py | uaca/deepy | 090fbad22a08a809b12951cd0d4984f5bd432698 | [
"MIT"
] | 20 | 2015-04-21T01:46:46.000Z | 2015-12-20T00:04:23.000Z | deepy/preprocessing/__init__.py | zomux/deepy | 090fbad22a08a809b12951cd0d4984f5bd432698 | [
"MIT"
] | 50 | 2016-01-27T03:45:25.000Z | 2020-12-16T07:02:57.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from padding import pad_sequence
from elastic_distortion import elastic_distortion | 25.8 | 49 | 0.775194 | 18 | 129 | 5.388889 | 0.777778 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.116279 | 129 | 5 | 49 | 25.8 | 0.842105 | 0.325581 | 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 |
d248af9e25738999a8ceb3d3472008e85ac18877 | 33 | py | Python | sokoban/__init__.py | tcosmo/sokoban | cc39506412aea91df84c8232280074b223fa0883 | [
"MIT"
] | null | null | null | sokoban/__init__.py | tcosmo/sokoban | cc39506412aea91df84c8232280074b223fa0883 | [
"MIT"
] | null | null | null | sokoban/__init__.py | tcosmo/sokoban | cc39506412aea91df84c8232280074b223fa0883 | [
"MIT"
] | null | null | null | from sokoban.game_loop import run | 33 | 33 | 0.878788 | 6 | 33 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
962d33280ffd3517d990250dfb0485c2992b6cf7 | 160 | py | Python | modules/xatlas_unwrap/config.py | aBARICHELLO/godot | 6e0de76746783433cb62511696f6a967567cb001 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | modules/xatlas_unwrap/config.py | aBARICHELLO/godot | 6e0de76746783433cb62511696f6a967567cb001 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | modules/xatlas_unwrap/config.py | aBARICHELLO/godot | 6e0de76746783433cb62511696f6a967567cb001 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | def can_build(env, platform):
return False #xatlas is buggy
#return (env['tools'] and platform not in ["android", "ios"])
def configure(env):
pass
| 22.857143 | 65 | 0.6625 | 23 | 160 | 4.565217 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 160 | 6 | 66 | 26.666667 | 0.820313 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.25 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
96639550cbc69edf1bb33fef049884008a61af7d | 21 | py | Python | sampro/__init__.py | doublereedkurt/sampro | 368aa0cd1a3683d12483925c4e97d225f40c8d36 | [
"MIT"
] | 3 | 2015-03-18T14:54:58.000Z | 2015-11-01T12:29:42.000Z | sampro/__init__.py | kurtbrose/sampro | 368aa0cd1a3683d12483925c4e97d225f40c8d36 | [
"MIT"
] | null | null | null | sampro/__init__.py | kurtbrose/sampro | 368aa0cd1a3683d12483925c4e97d225f40c8d36 | [
"MIT"
] | null | null | null | from sampro import *
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
96782e74d86b48f26884334d40d1bb5f3ff4ad4c | 9,846 | py | Python | pytests/tuqquery/tuq_precedence.py | sumedhpb/testrunner | 9ff887231c75571624abc31a3fb5248110e01203 | [
"Apache-2.0"
] | 14 | 2015-02-06T02:47:57.000Z | 2020-03-14T15:06:05.000Z | pytests/tuqquery/tuq_precedence.py | sumedhpb/testrunner | 9ff887231c75571624abc31a3fb5248110e01203 | [
"Apache-2.0"
] | 3 | 2019-02-27T19:29:11.000Z | 2021-06-02T02:14:27.000Z | pytests/tuqquery/tuq_precedence.py | sumedhpb/testrunner | 9ff887231c75571624abc31a3fb5248110e01203 | [
"Apache-2.0"
] | 108 | 2015-03-26T08:58:49.000Z | 2022-03-21T05:21:39.000Z | from tuqquery.tuq import QueryTests
class PrecedenceTests(QueryTests):
def setUp(self):
super(PrecedenceTests, self).setUp()
self.log.info("============== PrecedenceTests setup has started ==============")
self.log.info("============== PrecedenceTests setup has completed ==============")... | 59.313253 | 118 | 0.537579 | 1,153 | 9,846 | 4.360798 | 0.082394 | 0.058473 | 0.03401 | 0.053699 | 0.920247 | 0.899364 | 0.855807 | 0.794948 | 0.788584 | 0.783413 | 0 | 0.012879 | 0.329677 | 9,846 | 165 | 119 | 59.672727 | 0.748939 | 0 | 0 | 0.644295 | 0 | 0 | 0.228925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087248 | false | 0 | 0.006711 | 0 | 0.100671 | 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 |
9679718c0bcfbb95980fb915ce154495710d42b0 | 7,399 | py | Python | dnacentercli/cli/v1_2_10/networks.py | AltusConsulting/dnacentercli | 26ea46fdbd40fc30649ea1d8803158655aa545aa | [
"MIT"
] | null | null | null | dnacentercli/cli/v1_2_10/networks.py | AltusConsulting/dnacentercli | 26ea46fdbd40fc30649ea1d8803158655aa545aa | [
"MIT"
] | null | null | null | dnacentercli/cli/v1_2_10/networks.py | AltusConsulting/dnacentercli | 26ea46fdbd40fc30649ea1d8803158655aa545aa | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import click
import json
from ..utils.spinner import (
init_spinner,
start_spinner,
stop_spinner,
)
from ..utils.print import (
tbprint,
eprint,
oprint,
opprint,
)
@click.group()
@click.pass_obj
@click.pass_context
def networks(ctx, obj):
"""DNA Center Networks ... | 33.179372 | 144 | 0.596702 | 863 | 7,399 | 4.982619 | 0.147161 | 0.061395 | 0.055814 | 0.074419 | 0.75093 | 0.741395 | 0.711163 | 0.711163 | 0.711163 | 0.711163 | 0 | 0.003368 | 0.277605 | 7,399 | 222 | 145 | 33.328829 | 0.801123 | 0.074605 | 0 | 0.763158 | 0 | 0 | 0.141744 | 0.003529 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036842 | false | 0.042105 | 0.021053 | 0 | 0.057895 | 0.184211 | 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 |
96917dfba98f97f5da1092af6c08046251e5be46 | 194 | py | Python | lithops/libs/cloudpickle/__init__.py | gfinol/lithops | e165a78e0facbb70c852d7627a7407e8a8d1b946 | [
"Apache-2.0"
] | null | null | null | lithops/libs/cloudpickle/__init__.py | gfinol/lithops | e165a78e0facbb70c852d7627a7407e8a8d1b946 | [
"Apache-2.0"
] | null | null | null | lithops/libs/cloudpickle/__init__.py | gfinol/lithops | e165a78e0facbb70c852d7627a7407e8a8d1b946 | [
"Apache-2.0"
] | null | null | null | import sys
if sys.version_info < (3, 8):
from .cloudpickle import CloudPickler
__version__ = '1.2.2'
else:
from .cloudpickle_160_fast import CloudPickler
__version__ = '1.6.0'
| 19.4 | 50 | 0.695876 | 27 | 194 | 4.592593 | 0.62963 | 0.241935 | 0.403226 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.206186 | 194 | 9 | 51 | 21.555556 | 0.733766 | 0 | 0 | 0 | 0 | 0 | 0.051546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 |
739d6fe612a5d6db62bcea3b0fd24fba95ddda83 | 58 | py | Python | sample/pytest/tests/submodule/test_nesting.py | mohit-cyberstar/cricket | cfe08c4ea2419f3ac746eea23680dc1a7883eb22 | [
"BSD-3-Clause"
] | 98 | 2015-05-28T10:41:52.000Z | 2019-03-08T09:14:35.000Z | sample/pytest/tests/submodule/test_nesting.py | SujeetGautam/cricket | 1476b597f499c1b9b34c9d21eeef0b4900892760 | [
"BSD-3-Clause"
] | 33 | 2015-02-11T12:39:55.000Z | 2019-03-29T23:23:00.000Z | sample/pytest/tests/submodule/test_nesting.py | SujeetGautam/cricket | 1476b597f499c1b9b34c9d21eeef0b4900892760 | [
"BSD-3-Clause"
] | 49 | 2015-03-25T05:55:14.000Z | 2019-03-23T15:30:38.000Z |
def test_stuff():
pass
def test_things():
pass
| 7.25 | 18 | 0.603448 | 8 | 58 | 4.125 | 0.625 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.293103 | 58 | 7 | 19 | 8.285714 | 0.804878 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fb9acccc8706b5a3131b8f3a3d6346d8cc34210c | 1,388 | py | Python | test/container/test_php_dev.py | renatomefi/docker-php | d319d34ef46902907cd4f32080a70aafaecf0e42 | [
"MIT"
] | null | null | null | test/container/test_php_dev.py | renatomefi/docker-php | d319d34ef46902907cd4f32080a70aafaecf0e42 | [
"MIT"
] | null | null | null | test/container/test_php_dev.py | renatomefi/docker-php | d319d34ef46902907cd4f32080a70aafaecf0e42 | [
"MIT"
] | null | null | null | import pytest
@pytest.mark.php_dev
def test_configuration_is_present(host):
assert host.file('/usr/local/etc/php/conf.d/zzz_xdebug.ini').exists is True
assert host.file('/usr/local/etc/php/conf.d/zzz_dev.ini').exists is True
@pytest.mark.php_dev
def test_configuration_is_effective(host):
configuration = h... | 33.047619 | 84 | 0.728386 | 229 | 1,388 | 4.187773 | 0.20524 | 0.08342 | 0.108446 | 0.066736 | 0.898853 | 0.850886 | 0.791449 | 0.739312 | 0.660063 | 0.606882 | 0 | 0.009942 | 0.130403 | 1,388 | 41 | 85 | 33.853659 | 0.78459 | 0 | 0 | 0.387097 | 0 | 0 | 0.233429 | 0.144092 | 0 | 0 | 0 | 0 | 0.322581 | 1 | 0.258065 | false | 0 | 0.032258 | 0 | 0.290323 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fbbc14cd4655e2c2d27159e2eda5aa0b3858b5a6 | 48 | py | Python | ansa/__init__.py | Iskandar-Ki/AnsaRSS | 00e4c49114ba54078528967d8ddb0bf3efa9187e | [
"Unlicense"
] | 1 | 2018-09-19T09:26:34.000Z | 2018-09-19T09:26:34.000Z | ansa/__init__.py | Iskandar-Ki/AnsaRSS | 00e4c49114ba54078528967d8ddb0bf3efa9187e | [
"Unlicense"
] | null | null | null | ansa/__init__.py | Iskandar-Ki/AnsaRSS | 00e4c49114ba54078528967d8ddb0bf3efa9187e | [
"Unlicense"
] | null | null | null | from .ansa import Ansa
from .constants import *
| 16 | 24 | 0.770833 | 7 | 48 | 5.285714 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 25 | 24 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fbbc66fffe64482a0ac00eff4ca15d97f82cf3f8 | 72 | py | Python | models/__init__.py | tsurumeso/chainer-desalinet | 5e9b5813f718f31128cf7f7252b264204a2e8ec9 | [
"MIT"
] | 1 | 2018-01-22T05:52:50.000Z | 2018-01-22T05:52:50.000Z | models/__init__.py | tsurumeso/chainer-desalinet | 5e9b5813f718f31128cf7f7252b264204a2e8ec9 | [
"MIT"
] | null | null | null | models/__init__.py | tsurumeso/chainer-desalinet | 5e9b5813f718f31128cf7f7252b264204a2e8ec9 | [
"MIT"
] | null | null | null | from models.alex import Alex # NOQA
from models.vgg import VGG # NOQA
| 24 | 36 | 0.75 | 12 | 72 | 4.5 | 0.5 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 72 | 2 | 37 | 36 | 0.931034 | 0.125 | 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 |
fbc8a3affcf704c3ea20969a037d699c0c022c88 | 32 | py | Python | vformer/models/classification/__init__.py | gchhablani/vformer | c7dc7d14e33aa5b2974667d281e7910e17538b34 | [
"MIT"
] | null | null | null | vformer/models/classification/__init__.py | gchhablani/vformer | c7dc7d14e33aa5b2974667d281e7910e17538b34 | [
"MIT"
] | null | null | null | vformer/models/classification/__init__.py | gchhablani/vformer | c7dc7d14e33aa5b2974667d281e7910e17538b34 | [
"MIT"
] | null | null | null | from .vanilla import VanillaViT
| 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 |
8388101404db6a52273d2d139f3c08ada889fc86 | 19,645 | py | Python | src/genie/libs/parser/viptela/tests/test_show_omp.py | danielgraziano/genieparser | 74d5e1ded9794561af1ac3284307c58365617673 | [
"Apache-2.0"
] | 4 | 2020-08-20T12:23:12.000Z | 2021-06-15T14:10:02.000Z | src/genie/libs/parser/viptela/tests/test_show_omp.py | dalwar23/genieparser | a9df45d3ee23f107bfb55915068e90782f92fc99 | [
"Apache-2.0"
] | 119 | 2020-07-10T22:37:51.000Z | 2021-03-18T02:40:05.000Z | src/genie/libs/parser/viptela/tests/test_show_omp.py | dalwar23/genieparser | a9df45d3ee23f107bfb55915068e90782f92fc99 | [
"Apache-2.0"
] | 2 | 2020-07-10T15:33:42.000Z | 2021-04-05T09:48:56.000Z | import unittest
from unittest.mock import Mock
# ATS
from pyats.topology import Device
# Metaparset
from genie.metaparser.util.exceptions import SchemaEmptyParserError,\
SchemaMissingKeyError
# Parser
from genie.libs.parser.viptela.show_omp import (ShowOmpSummary,
... | 33.409864 | 94 | 0.391754 | 1,755 | 19,645 | 4.251852 | 0.120228 | 0.04342 | 0.017154 | 0.019298 | 0.867596 | 0.840659 | 0.801662 | 0.795497 | 0.756098 | 0.752211 | 0 | 0.090356 | 0.48114 | 19,645 | 587 | 95 | 33.46678 | 0.641715 | 0.017714 | 0 | 0.635209 | 0 | 0.014519 | 0.492585 | 0.028414 | 0 | 0 | 0.003111 | 0 | 0.014519 | 1 | 0.014519 | false | 0 | 0.009074 | 0 | 0.067151 | 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 |
83d731ea0e9550bd79f614d6f1d9896ac9f7e156 | 20 | py | Python | simy/__init__.py | faical-yannick-congo/similarity | 4b447a69294e89eb573af16e1153ede0cbdb3b9e | [
"MIT"
] | null | null | null | simy/__init__.py | faical-yannick-congo/similarity | 4b447a69294e89eb573af16e1153ede0cbdb3b9e | [
"MIT"
] | 10 | 2019-05-01T13:50:30.000Z | 2019-05-09T18:11:24.000Z | simy/__init__.py | faical-yannick-congo/similarity | 4b447a69294e89eb573af16e1153ede0cbdb3b9e | [
"MIT"
] | 2 | 2019-05-01T13:47:34.000Z | 2019-05-01T14:03:52.000Z | from . import record | 20 | 20 | 0.8 | 3 | 20 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 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 |
83ee0af7612a812c3616da9b7125c0b74c9ffd44 | 33,625 | py | Python | tests/unit/test_charm.py | canonical/cos-proxy-operator | 9009af012274106e218b47db9e96bdeee9bd4714 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_charm.py | canonical/cos-proxy-operator | 9009af012274106e218b47db9e96bdeee9bd4714 | [
"Apache-2.0"
] | 6 | 2022-01-28T08:54:32.000Z | 2022-03-21T12:43:09.000Z | tests/unit/test_charm.py | canonical/cos-proxy-operator | 9009af012274106e218b47db9e96bdeee9bd4714 | [
"Apache-2.0"
] | 2 | 2021-09-15T10:25:24.000Z | 2021-11-24T18:59:07.000Z | # Copyright 2021 Canonical Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | 38.96292 | 156 | 0.542602 | 3,448 | 33,625 | 4.982019 | 0.077436 | 0.096693 | 0.06031 | 0.094772 | 0.880545 | 0.870474 | 0.858656 | 0.838689 | 0.825591 | 0.807137 | 0 | 0.02772 | 0.33374 | 33,625 | 862 | 157 | 39.008121 | 0.739053 | 0.019688 | 0 | 0.624831 | 0 | 0.00135 | 0.274397 | 0.060039 | 0 | 0 | 0 | 0 | 0.044534 | 1 | 0.024292 | false | 0 | 0.012146 | 0 | 0.037787 | 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 |
83eee7d0b946165bbcf5482d022e3ac5d0396b14 | 28 | py | Python | diy_gym/__init__.py | ktlichkid/diy-gym | 8783f15e2cb203829f0f1e1eac06c3310065e7f9 | [
"MIT"
] | 22 | 2019-07-22T11:56:57.000Z | 2022-01-07T09:16:20.000Z | diy_gym/__init__.py | ktlichkid/diy-gym | 8783f15e2cb203829f0f1e1eac06c3310065e7f9 | [
"MIT"
] | 6 | 2019-08-05T00:55:16.000Z | 2021-03-11T19:45:23.000Z | diy_gym/__init__.py | ktlichkid/diy-gym | 8783f15e2cb203829f0f1e1eac06c3310065e7f9 | [
"MIT"
] | 5 | 2019-07-29T00:56:51.000Z | 2021-01-22T19:16:09.000Z | from .diy_gym import DIYGym
| 14 | 27 | 0.821429 | 5 | 28 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
83f95247bfc5263c05c066194c4ec7a6a4139788 | 148 | py | Python | frappe/patches/v11_0/get_docs_apps_if_not_present.py | AKedar21/frappe | 4c9ce1701caea07e595f81414af3a9f219cccb65 | [
"MIT"
] | 2 | 2017-08-24T20:25:13.000Z | 2017-10-15T13:14:31.000Z | frappe/patches/v11_0/get_docs_apps_if_not_present.py | AKedar21/frappe | 4c9ce1701caea07e595f81414af3a9f219cccb65 | [
"MIT"
] | 89 | 2017-09-19T15:17:44.000Z | 2022-03-31T00:52:42.000Z | frappe/patches/v11_0/get_docs_apps_if_not_present.py | AKedar21/frappe | 4c9ce1701caea07e595f81414af3a9f219cccb65 | [
"MIT"
] | 3 | 2019-08-09T17:52:18.000Z | 2020-07-29T08:23:46.000Z | import frappe
from frappe.utils.help import setup_apps_for_docs
def execute():
for app in frappe.get_installed_apps():
setup_apps_for_docs(app)
| 21.142857 | 49 | 0.810811 | 25 | 148 | 4.48 | 0.6 | 0.160714 | 0.214286 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114865 | 148 | 6 | 50 | 24.666667 | 0.854962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f7bfcd0f35c9a82c9fe7420add22a8f45b10c218 | 24 | py | Python | python/testData/psi/FStringTerminatedByLineBreakInNestedExpressionInFormatPart.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/psi/FStringTerminatedByLineBreakInNestedExpressionInFormatPart.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/psi/FStringTerminatedByLineBreakInNestedExpressionInFormatPart.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | s = f"{f'{42:{1 +
2}}'}" | 12 | 17 | 0.291667 | 6 | 24 | 1.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 24 | 2 | 18 | 12 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7f88134a2d2774c5cd6a84b20a1928fbeea771a | 153 | py | Python | sanjip/__init__.py | Sanji-IO/sanjip | 5ab77263d8190f803f6f4bd063459873ac9bcabb | [
"MIT"
] | null | null | null | sanjip/__init__.py | Sanji-IO/sanjip | 5ab77263d8190f803f6f4bd063459873ac9bcabb | [
"MIT"
] | 1 | 2019-09-23T20:58:57.000Z | 2019-09-23T20:58:57.000Z | sanjip/__init__.py | Sanji-IO/sanjip | 5ab77263d8190f803f6f4bd063459873ac9bcabb | [
"MIT"
] | 1 | 2019-09-23T00:23:02.000Z | 2019-09-23T00:23:02.000Z | from __future__ import absolute_import
import sanjip.ip as ip
import sanjip.ip.addr
import sanjip.ip.route # noqa: F401
__all__ = [ip.addr, ip.route]
| 19.125 | 38 | 0.771242 | 25 | 153 | 4.36 | 0.48 | 0.330275 | 0.385321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.143791 | 153 | 7 | 39 | 21.857143 | 0.80916 | 0.065359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 |
f7fd5df126bc1afb609fc7078534d1b8c043c1b8 | 367 | py | Python | spiketools/tests/utils/test_base.py | claire98han/SpikeTools | f1cdffd50e2cbdb75961a716425c4665aa930f54 | [
"Apache-2.0"
] | 1 | 2022-03-09T19:40:37.000Z | 2022-03-09T19:40:37.000Z | spiketools/tests/utils/test_base.py | claire98han/SpikeTools | f1cdffd50e2cbdb75961a716425c4665aa930f54 | [
"Apache-2.0"
] | 35 | 2021-09-28T15:13:31.000Z | 2021-11-26T04:38:08.000Z | spiketools/tests/utils/test_base.py | claire98han/SpikeTools | f1cdffd50e2cbdb75961a716425c4665aa930f54 | [
"Apache-2.0"
] | 4 | 2021-09-28T14:56:24.000Z | 2022-03-09T21:00:31.000Z | """Tests for spiketools.utils.base"""
from spiketools.utils.base import *
###################################################################################################
###################################################################################################
def test_flatten():
lsts = [[1, 2], [3... | 30.583333 | 99 | 0.27248 | 25 | 367 | 3.96 | 0.64 | 0.30303 | 0.383838 | 0.262626 | 0.30303 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0.024169 | 0.098093 | 367 | 11 | 100 | 33.363636 | 0.274924 | 0.084469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
790dea0f54387804d817c82c1733143d3d140ea9 | 220 | py | Python | filter_plugins/env_json_map.py | paulrbr-fl/ansible-clever | b731b96649a95825576060e8821e247b99aa8f2d | [
"MIT"
] | 7 | 2020-10-12T16:25:30.000Z | 2021-02-26T15:47:17.000Z | filter_plugins/env_json_map.py | paulrbr-fl/ansible-clever | b731b96649a95825576060e8821e247b99aa8f2d | [
"MIT"
] | 1 | 2020-10-12T16:00:35.000Z | 2020-10-12T16:00:35.000Z | filter_plugins/env_json_map.py | paulrbr-fl/ansible-clever | b731b96649a95825576060e8821e247b99aa8f2d | [
"MIT"
] | 2 | 2020-12-08T10:17:41.000Z | 2021-06-03T09:32:49.000Z | #!/usr/bin/env python
class FilterModule(object):
def filters(self):
return {'json_env_map': self.json_env_map}
def json_env_map(self, env):
return [{'name': k, 'value': str(v)} for k,v in env.items()]
| 24.444444 | 66 | 0.65 | 36 | 220 | 3.805556 | 0.583333 | 0.153285 | 0.218978 | 0.20438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177273 | 220 | 8 | 67 | 27.5 | 0.756906 | 0.090909 | 0 | 0 | 0 | 0 | 0.105528 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
793346b060087845a833c65f4c3392d21f0161bb | 96 | py | Python | venv/lib/python3.8/site-packages/cachy/stores/redis_store.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/cachy/stores/redis_store.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cachy/stores/redis_store.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/d2/a1/cc/0c40d7c68d012303dad648eb48225a7854d38a969ba38c904d34b38afb | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7160d0ab638df715f56f4ffaaf4cc3e1943ef2c | 1,835 | py | Python | project/server/auth/wrapper.py | RaihanSabique/Flask-Restful-JWT-Auth | a6be0cc72d4f697ac3cdfa41551de9633f6feb35 | [
"MIT"
] | null | null | null | project/server/auth/wrapper.py | RaihanSabique/Flask-Restful-JWT-Auth | a6be0cc72d4f697ac3cdfa41551de9633f6feb35 | [
"MIT"
] | null | null | null | project/server/auth/wrapper.py | RaihanSabique/Flask-Restful-JWT-Auth | a6be0cc72d4f697ac3cdfa41551de9633f6feb35 | [
"MIT"
] | null | null | null | import functools
from flask import Flask, request, make_response, jsonify
from flask_restful import Resource, Api, abort
from project.server.models import User
def login_required(method):
@functools.wraps(method)
def wrapper(self):
auth_header = request.headers.get('Authorization')
if auth_head... | 35.288462 | 61 | 0.559128 | 202 | 1,835 | 4.955446 | 0.292079 | 0.125874 | 0.104895 | 0.056943 | 0.767233 | 0.767233 | 0.767233 | 0.767233 | 0.767233 | 0.767233 | 0 | 0.019151 | 0.345504 | 1,835 | 52 | 62 | 35.288462 | 0.814321 | 0 | 0 | 0.82 | 0 | 0 | 0.092048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.08 | 0 | 0.24 | 0.04 | 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 |
f7748fb044ae244e7c7006a34dc0350d773f29bb | 162 | py | Python | pyro/infer/mcmc/__init__.py | fluffybird2323/pyro | 9e74e499dbda76c28f12528235dac25bd17f0b1b | [
"MIT"
] | 2 | 2019-01-26T01:53:31.000Z | 2020-02-26T17:39:17.000Z | pyro/infer/mcmc/__init__.py | fluffybird2323/pyro | 9e74e499dbda76c28f12528235dac25bd17f0b1b | [
"MIT"
] | 1 | 2017-12-15T14:01:01.000Z | 2017-12-17T03:09:06.000Z | pyro/infer/mcmc/__init__.py | fluffybird2323/pyro | 9e74e499dbda76c28f12528235dac25bd17f0b1b | [
"MIT"
] | 1 | 2018-10-02T18:50:33.000Z | 2018-10-02T18:50:33.000Z | from pyro.infer.mcmc.hmc import HMC
from pyro.infer.mcmc.mcmc import MCMC
from pyro.infer.mcmc.nuts import NUTS
__all__ = [
"HMC",
"MCMC",
"NUTS",
]
| 16.2 | 37 | 0.67284 | 25 | 162 | 4.2 | 0.32 | 0.228571 | 0.371429 | 0.485714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197531 | 162 | 9 | 38 | 18 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.067901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 |
e391099078d0e93f329085a5789c325cb3fff32c | 47 | py | Python | models/__init__.py | rentainhe/Swin-Transformer | 3405655613bd74eb837694f80eaaed4678b7f6fc | [
"MIT"
] | null | null | null | models/__init__.py | rentainhe/Swin-Transformer | 3405655613bd74eb837694f80eaaed4678b7f6fc | [
"MIT"
] | null | null | null | models/__init__.py | rentainhe/Swin-Transformer | 3405655613bd74eb837694f80eaaed4678b7f6fc | [
"MIT"
] | null | null | null | from .build import build_model, build_vit_model | 47 | 47 | 0.87234 | 8 | 47 | 4.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.883721 | 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 |
e3aa43b858cee759f67636336fec1f16461c431c | 42 | py | Python | sedldata/__init__.py | OpenDataServices/sedldata | c7f3b13969bb9c9a494a5fadf1456cc85e9bf2cc | [
"BSD-3-Clause"
] | null | null | null | sedldata/__init__.py | OpenDataServices/sedldata | c7f3b13969bb9c9a494a5fadf1456cc85e9bf2cc | [
"BSD-3-Clause"
] | null | null | null | sedldata/__init__.py | OpenDataServices/sedldata | c7f3b13969bb9c9a494a5fadf1456cc85e9bf2cc | [
"BSD-3-Clause"
] | 1 | 2019-01-20T19:39:11.000Z | 2019-01-20T19:39:11.000Z | from sedldata.lib import Session # noqa
| 10.5 | 39 | 0.761905 | 6 | 42 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 3 | 40 | 14 | 0.941176 | 0.095238 | 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 |
e3de6128ad1c904dd3a9666b18ca38f18450812f | 129 | py | Python | django_file_form/migration.py | tonibagur/django-file-form | 5c4d439aa4253907d4ce8b175511c02b19ca4878 | [
"Apache-2.0"
] | null | null | null | django_file_form/migration.py | tonibagur/django-file-form | 5c4d439aa4253907d4ce8b175511c02b19ca4878 | [
"Apache-2.0"
] | null | null | null | django_file_form/migration.py | tonibagur/django-file-form | 5c4d439aa4253907d4ce8b175511c02b19ca4878 | [
"Apache-2.0"
] | null | null | null | from django.db import connection
def table_exists(table_name):
return table_name in connection.introspection.table_names()
| 21.5 | 63 | 0.813953 | 18 | 129 | 5.611111 | 0.722222 | 0.178218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124031 | 129 | 5 | 64 | 25.8 | 0.893805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e3f41e08bbe01aa86609397f3d4ed4931a9b184d | 145 | py | Python | apps/search/forms.py | Mozilla-GitHub-Standards/93f18f14efcf5fdfc0e04f9bf247f66baf46663f37b1d2087ab8d850abc90803 | 4e374b4d52dfb9039ebe543e7f27682189022307 | [
"BSD-3-Clause"
] | 2 | 2015-04-06T15:20:29.000Z | 2016-12-30T12:25:11.000Z | apps/search/forms.py | Mozilla-GitHub-Standards/93f18f14efcf5fdfc0e04f9bf247f66baf46663f37b1d2087ab8d850abc90803 | 4e374b4d52dfb9039ebe543e7f27682189022307 | [
"BSD-3-Clause"
] | 2 | 2019-02-17T17:38:02.000Z | 2019-03-28T03:49:16.000Z | apps/search/forms.py | Mozilla-GitHub-Standards/93f18f14efcf5fdfc0e04f9bf247f66baf46663f37b1d2087ab8d850abc90803 | 4e374b4d52dfb9039ebe543e7f27682189022307 | [
"BSD-3-Clause"
] | 1 | 2019-03-28T03:49:18.000Z | 2019-03-28T03:49:18.000Z | from haystack.forms import FacetedSearchForm
class CustomFacetedSearchForm(FacetedSearchForm):
"""Override the results settings"""
pass
| 24.166667 | 49 | 0.793103 | 13 | 145 | 8.846154 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 145 | 5 | 50 | 29 | 0.92 | 0.2 | 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 |
540d88e4612374e85eec70dc198a7143a06621a7 | 195 | py | Python | scraper_meta.py | altanner/snax2 | 7c1cede46806ca434516a57a00c36af3e2b244ed | [
"MIT"
] | null | null | null | scraper_meta.py | altanner/snax2 | 7c1cede46806ca434516a57a00c36af3e2b244ed | [
"MIT"
] | null | null | null | scraper_meta.py | altanner/snax2 | 7c1cede46806ca434516a57a00c36af3e2b244ed | [
"MIT"
] | null | null | null | # user_agent = {"User-Agent": "python-requests/2.25.1"}
user_agent = {"User-Agent": "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.14 (KHTML, like Gecko) Chrome/24.0.1292.0 Safari/537.14"}
| 65 | 138 | 0.697436 | 35 | 195 | 3.828571 | 0.685714 | 0.268657 | 0.19403 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 0.097436 | 195 | 2 | 139 | 97.5 | 0.602273 | 0.271795 | 0 | 0 | 0 | 1 | 0.835714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
58923f7302ddc8b9f40b2b9cff6f4d873b2d263c | 154 | py | Python | brainbox/tests/test_metrics.py | SebastianBruijns/ibllib | 49f2091b7a53430c00c339b862dfc1a53aab008b | [
"MIT"
] | null | null | null | brainbox/tests/test_metrics.py | SebastianBruijns/ibllib | 49f2091b7a53430c00c339b862dfc1a53aab008b | [
"MIT"
] | null | null | null | brainbox/tests/test_metrics.py | SebastianBruijns/ibllib | 49f2091b7a53430c00c339b862dfc1a53aab008b | [
"MIT"
] | null | null | null |
def test_unit_stability():
pass
def test_feat_cutoff():
pass
def test_wf_similarity():
pass
def test_firing_rate_coeff_var():
pass
| 9.625 | 33 | 0.694805 | 22 | 154 | 4.409091 | 0.590909 | 0.28866 | 0.340206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 154 | 15 | 34 | 10.266667 | 0.815126 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
54508a41a36a513f90ea1e6deb97390695f1d32d | 180 | py | Python | python/8kyu/sum_of_positive.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 3 | 2021-06-08T01:57:13.000Z | 2021-06-26T10:52:47.000Z | python/8kyu/sum_of_positive.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | null | null | null | python/8kyu/sum_of_positive.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 2 | 2021-06-10T21:20:13.000Z | 2021-06-30T10:13:26.000Z | """Kata url: https://www.codewars.com/kata/5715eaedb436cf5606000381."""
from typing import List
def positive_sum(arr: List[int]) -> int:
return sum(x for x in arr if x > 0)
| 22.5 | 71 | 0.694444 | 29 | 180 | 4.275862 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119205 | 0.161111 | 180 | 7 | 72 | 25.714286 | 0.701987 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
546274028e4cfa1271329a5c85c288e4240f78b8 | 65 | py | Python | payrun/api/employers.py | Zingeon/payrun-python | 1fbac0ee2556641840bf0b34d6da44437d91dc80 | [
"MIT"
] | null | null | null | payrun/api/employers.py | Zingeon/payrun-python | 1fbac0ee2556641840bf0b34d6da44437d91dc80 | [
"MIT"
] | null | null | null | payrun/api/employers.py | Zingeon/payrun-python | 1fbac0ee2556641840bf0b34d6da44437d91dc80 | [
"MIT"
] | null | null | null | class Employers():
def getItems():
return 'employers' | 21.666667 | 26 | 0.615385 | 6 | 65 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261538 | 65 | 3 | 26 | 21.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.