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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bb9640caba5af941085b2439237be3e3cb44cdc2 | 18 | py | Python | desc_stoke.py | edenzhong7/xfund | 3a458d33c38f00a4f2453cc29a37335cc6934886 | [
"MIT"
] | null | null | null | desc_stoke.py | edenzhong7/xfund | 3a458d33c38f00a4f2453cc29a37335cc6934886 | [
"MIT"
] | null | null | null | desc_stoke.py | edenzhong7/xfund | 3a458d33c38f00a4f2453cc29a37335cc6934886 | [
"MIT"
] | null | null | null | from init import * | 18 | 18 | 0.777778 | 3 | 18 | 4.666667 | 1 | 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 |
a526f46294dc12c7e5f458a4eccad31c0ef14d25 | 3,578 | py | Python | commands/upgrader/commands/fill.py | Red-Teapot/mc-commandblock-1.13-update | 64106e1ecb5adca2aff1eeb3a1fcc11486940000 | [
"MIT"
] | 1 | 2020-07-27T16:53:26.000Z | 2020-07-27T16:53:26.000Z | commands/upgrader/commands/fill.py | Red-Teapot/mc-commandblock-1.13-update | 64106e1ecb5adca2aff1eeb3a1fcc11486940000 | [
"MIT"
] | 5 | 2019-01-02T14:21:32.000Z | 2019-07-07T05:39:39.000Z | commands/upgrader/commands/fill.py | Red-Teapot/mc-commandblock-1.13-update | 64106e1ecb5adca2aff1eeb3a1fcc11486940000 | [
"MIT"
] | null | null | null | from commands.pre_1_13.cmdex import CMDEx
from commands.upgrader.utils import command_upgrader_base
from ..utils import block
CMDEXS = [
CMDEx('fill {coordinate:x1} {coordinate:y1} {coordinate:z1} {coordinate:x2} {coordinate:y2} {coordinate:z2} {id:block}'),
CMDEx('fill {coordinate:x1} {coordinate:y1} {coord... | 59.633333 | 202 | 0.626328 | 462 | 3,578 | 4.766234 | 0.106061 | 0.043597 | 0.094914 | 0.104905 | 0.772025 | 0.761126 | 0.761126 | 0.761126 | 0.761126 | 0.761126 | 0 | 0.029362 | 0.181386 | 3,578 | 60 | 203 | 59.633333 | 0.722431 | 0 | 0 | 0.255319 | 0 | 0.234043 | 0.492316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0 | 0.06383 | 0.021277 | 0.148936 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a52dccbadeed09485cc1224165a853bc3e2d0719 | 48 | py | Python | thingsboard_cli/__init__.py | ascentio-tech/thingsboard-cli | 204f4eba21652a126341275db2051842c0e14850 | [
"Apache-2.0"
] | 1 | 2020-09-24T06:55:31.000Z | 2020-09-24T06:55:31.000Z | thingsboard_cli/__init__.py | ascentio-tech/thingsboard-cli | 204f4eba21652a126341275db2051842c0e14850 | [
"Apache-2.0"
] | null | null | null | thingsboard_cli/__init__.py | ascentio-tech/thingsboard-cli | 204f4eba21652a126341275db2051842c0e14850 | [
"Apache-2.0"
] | null | null | null | from thingsboard_cli.version import __version__
| 24 | 47 | 0.895833 | 6 | 48 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.863636 | 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 |
a544a9e326d72f66b562e64150883fe4be7a760a | 77 | py | Python | foxpath/__init__.py | pwyf/foxpath | e5908b10c67ac8bfe0d93a011866b40d0e75cb9d | [
"MIT"
] | null | null | null | foxpath/__init__.py | pwyf/foxpath | e5908b10c67ac8bfe0d93a011866b40d0e75cb9d | [
"MIT"
] | 13 | 2016-09-01T16:15:40.000Z | 2017-02-10T00:00:29.000Z | foxpath/__init__.py | pwyf/foxpath-tools | e5908b10c67ac8bfe0d93a011866b40d0e75cb9d | [
"MIT"
] | null | null | null | from .foxpath import given, then
from .foxpath import Foxpath, StepException
| 25.666667 | 43 | 0.818182 | 10 | 77 | 6.3 | 0.6 | 0.349206 | 0.539683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 77 | 2 | 44 | 38.5 | 0.940299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3c1a759c6fe8af87adad86c2bd3777cc71a8311d | 9,080 | py | Python | squeeze_and_excitation_networks/models/se_resnet.py | younnggsuk/CV-Paper-Implementation | fecd67d3f216872976f9b38445ce1c1f9ef1ac02 | [
"MIT"
] | 4 | 2021-06-03T13:56:51.000Z | 2021-11-05T06:22:25.000Z | squeeze_and_excitation_networks/models/se_resnet.py | younnggsuk/CV-Paper-Implementation | fecd67d3f216872976f9b38445ce1c1f9ef1ac02 | [
"MIT"
] | null | null | null | squeeze_and_excitation_networks/models/se_resnet.py | younnggsuk/CV-Paper-Implementation | fecd67d3f216872976f9b38445ce1c1f9ef1ac02 | [
"MIT"
] | 1 | 2022-03-28T09:34:03.000Z | 2022-03-28T09:34:03.000Z | import torch
import torch.nn as nn
__all__ = ['se_resnet']
def conv1x1(in_channels, out_channels, is_activate=True):
layers = [nn.Conv2d(in_channels, out_channels,
kernel_size=1, stride=1,
padding=0, bias=False),
nn.BatchNorm2d(out_channels)]
... | 30.367893 | 90 | 0.554295 | 1,095 | 9,080 | 4.387215 | 0.100457 | 0.103039 | 0.1199 | 0.027477 | 0.81453 | 0.7806 | 0.77373 | 0.76582 | 0.720649 | 0.720649 | 0 | 0.067442 | 0.337004 | 9,080 | 299 | 91 | 30.367893 | 0.730565 | 0.03337 | 0 | 0.620513 | 0 | 0 | 0.004801 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061538 | false | 0 | 0.010256 | 0 | 0.133333 | 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 |
3cb3e07ac11118ca5219d2165f889ab141a86d15 | 199 | py | Python | taxonomies/apps.py | IATI/new-website | b90783e32d19ac4c821c5ea018a52997a11b5286 | [
"MIT"
] | 4 | 2019-03-28T06:42:17.000Z | 2021-06-06T13:10:51.000Z | taxonomies/apps.py | IATI/new-website | b90783e32d19ac4c821c5ea018a52997a11b5286 | [
"MIT"
] | 177 | 2018-09-28T14:21:56.000Z | 2022-03-30T21:45:26.000Z | taxonomies/apps.py | IATI/new-website | b90783e32d19ac4c821c5ea018a52997a11b5286 | [
"MIT"
] | 8 | 2018-10-25T20:43:10.000Z | 2022-03-17T14:19:27.000Z | """Application configuration for the taxonomies app."""
from django.apps import AppConfig
class TaxonomiesConfig(AppConfig):
"""Config class for the taxonomies app."""
name = 'taxonomies'
| 22.111111 | 55 | 0.733668 | 22 | 199 | 6.636364 | 0.681818 | 0.082192 | 0.219178 | 0.260274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160804 | 199 | 8 | 56 | 24.875 | 0.874252 | 0.432161 | 0 | 0 | 0 | 0 | 0.098039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7100c04ed412a000e4f70ca5c3e7ac6664fc7be | 25 | py | Python | odoo-13.0/venv/lib/python3.8/site-packages/PSDraw.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 3 | 2015-11-20T08:44:42.000Z | 2016-12-14T01:40:03.000Z | odoo-13.0/venv/lib/python3.8/site-packages/PSDraw.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 1 | 2017-09-04T14:04:32.000Z | 2020-05-26T19:04:00.000Z | odoo-13.0/venv/lib/python3.8/site-packages/PSDraw.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | from PIL.PSDraw import *
| 12.5 | 24 | 0.76 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a71bdd5cc20ded4dc52186f66428db5691b7af3e | 246 | py | Python | twelve_step/outputs/console_output.py | OLBEA20/twelve-step | ed4747fdee6dba7518f048b5dc4b520a3ba202df | [
"MIT"
] | 1 | 2021-08-10T05:35:08.000Z | 2021-08-10T05:35:08.000Z | twelve_step/outputs/console_output.py | OLBEA20/twelve-step | ed4747fdee6dba7518f048b5dc4b520a3ba202df | [
"MIT"
] | 1 | 2021-12-20T00:17:06.000Z | 2021-12-20T00:17:06.000Z | twelve_step/outputs/console_output.py | OLBEA20/twelve-step | ed4747fdee6dba7518f048b5dc4b520a3ba202df | [
"MIT"
] | null | null | null | from typing import List, Tuple
from twelve_step.outputs.write_dependency_graph import write_dependency_graph
def write_dependencies_in_console(dependencies: List[Tuple[str, List[str]]]) -> None:
write_dependency_graph(dependencies, print)
| 30.75 | 85 | 0.825203 | 33 | 246 | 5.848485 | 0.545455 | 0.233161 | 0.310881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 246 | 7 | 86 | 35.142857 | 0.869369 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
59917a54da70c9ec4a2a2539e5468bb0a00b55bc | 45 | py | Python | tests/pathways/test_basic.py | GENESIS-EFRC/reaction-network | 1482ac1b6b550a5bc9961e9210e33c86c07f64cf | [
"BSD-3-Clause-LBNL"
] | 29 | 2020-08-04T07:07:04.000Z | 2022-02-22T22:09:20.000Z | tests/pathways/test_basic.py | GENESIS-EFRC/reaction-network | 1482ac1b6b550a5bc9961e9210e33c86c07f64cf | [
"BSD-3-Clause-LBNL"
] | 70 | 2021-02-22T07:01:40.000Z | 2022-03-31T20:11:56.000Z | tests/pathways/test_basic.py | GENESIS-EFRC/reaction-network | 1482ac1b6b550a5bc9961e9210e33c86c07f64cf | [
"BSD-3-Clause-LBNL"
] | 3 | 2021-04-20T09:29:39.000Z | 2022-02-02T17:43:52.000Z | """ Tests for BasicPathway """
import pytest
| 15 | 30 | 0.711111 | 5 | 45 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 31 | 22.5 | 0.842105 | 0.488889 | 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 |
59b8255a16286b3ea6c7813fc8a128a31fd0f77c | 3,576 | py | Python | test_loop_helper.py | FelixTheC/python_morsels | e5efa7e88d03a85ebfa34059328f6b446318c1f2 | [
"MIT"
] | 2 | 2019-06-13T04:33:43.000Z | 2019-09-30T21:54:36.000Z | test_loop_helper.py | FelixTheC/python_morsels | e5efa7e88d03a85ebfa34059328f6b446318c1f2 | [
"MIT"
] | 1 | 2018-12-25T09:59:44.000Z | 2019-01-03T18:42:29.000Z | test_loop_helper.py | FelixTheC/python_morsels | e5efa7e88d03a85ebfa34059328f6b446318c1f2 | [
"MIT"
] | 5 | 2018-08-01T09:48:58.000Z | 2019-12-08T05:39:50.000Z | import unittest
from loop_helper import loop_helper
class LoopHelperTests(unittest.TestCase):
"""Tests for loop_helper."""
def assertIterableEqual(self, iterable1, iterable2):
self.assertEqual(list(iterable1), list(iterable2))
def test_empty_lists(self):
self.assertIterableEqual(loop_... | 31.368421 | 77 | 0.628635 | 430 | 3,576 | 5.12093 | 0.155814 | 0.245232 | 0.17257 | 0.118074 | 0.776567 | 0.728883 | 0.702997 | 0.702997 | 0.699364 | 0.677566 | 0 | 0.004799 | 0.24245 | 3,576 | 114 | 78 | 31.368421 | 0.808047 | 0.088647 | 0 | 0.628205 | 0 | 0 | 0.013235 | 0 | 0 | 0 | 0 | 0 | 0.602564 | 1 | 0.102564 | false | 0 | 0.025641 | 0 | 0.141026 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
59bfc248a1ea2547467c5d25635cc01e3a8693e4 | 104 | py | Python | my_plugins/youcompleteme/third_party/ycmd/ycmd/tests/python/testdata/goto/nested_import/importer.py | VirtualLG/vimrc | 33f961b0e465b852753479bc4aa0a32a6ff017cf | [
"MIT"
] | null | null | null | my_plugins/youcompleteme/third_party/ycmd/ycmd/tests/python/testdata/goto/nested_import/importer.py | VirtualLG/vimrc | 33f961b0e465b852753479bc4aa0a32a6ff017cf | [
"MIT"
] | null | null | null | my_plugins/youcompleteme/third_party/ycmd/ycmd/tests/python/testdata/goto/nested_import/importer.py | VirtualLG/vimrc | 33f961b0e465b852753479bc4aa0a32a6ff017cf | [
"MIT"
] | null | null | null | from basic import MyClass
from nested_import.to_import import import_me
from .to_import import relative
| 26 | 45 | 0.865385 | 17 | 104 | 5.058824 | 0.470588 | 0.418605 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 104 | 3 | 46 | 34.666667 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
aba30c416dae38bbf3c20d8babf3a0d6164dcddc | 3,074 | py | Python | app/exception/exception.py | TianJin85/mall | d58d6aeb45b3ef7120d3c813c0a4182e7cf25ca8 | [
"MIT"
] | null | null | null | app/exception/exception.py | TianJin85/mall | d58d6aeb45b3ef7120d3c813c0a4182e7cf25ca8 | [
"MIT"
] | 1 | 2021-06-02T01:35:11.000Z | 2021-06-02T01:35:11.000Z | app/exception/exception.py | TianJin85/mall | d58d6aeb45b3ef7120d3c813c0a4182e7cf25ca8 | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
"""
@File : exception.py
@Time : 2020/4/25 8:59
@Author : Tianjin
@Email : tianjincn@163.com
@Software: PyCharm
"""
from flask import json, request
from werkzeug.exceptions import HTTPException
from werkzeug._compat import text_type
from lin.exception import Success
class APIExcep... | 24.015625 | 68 | 0.573195 | 365 | 3,074 | 4.638356 | 0.221918 | 0.090372 | 0.030715 | 0.042528 | 0.758417 | 0.758417 | 0.758417 | 0.758417 | 0.722977 | 0.722977 | 0 | 0.022105 | 0.323032 | 3,074 | 127 | 69 | 24.204724 | 0.791446 | 0.046194 | 0 | 0.8 | 0 | 0 | 0.031485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084211 | false | 0 | 0.042105 | 0.021053 | 0.463158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e62a3895f3ba611bc3b175b416b8126f40cb2bf6 | 96 | py | Python | venv/lib/python3.8/site-packages/future/moves/_thread.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/future/moves/_thread.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/future/moves/_thread.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/af/06/3b/2f80593053e5ae9fe2e93d949f8fe2298c27ad727ec95e8525937c603a | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6325f68b109a255ab73c1003d1cd2ef47815880 | 36 | py | Python | crank_angle_sensor/__init__.py | bstadlbauer/aeat-6012 | 7e9df50f8620b7f90d1d23a9fc44ce8ea8301ef6 | [
"MIT"
] | null | null | null | crank_angle_sensor/__init__.py | bstadlbauer/aeat-6012 | 7e9df50f8620b7f90d1d23a9fc44ce8ea8301ef6 | [
"MIT"
] | null | null | null | crank_angle_sensor/__init__.py | bstadlbauer/aeat-6012 | 7e9df50f8620b7f90d1d23a9fc44ce8ea8301ef6 | [
"MIT"
] | null | null | null | from .sensor import CrankAngleSensor | 36 | 36 | 0.888889 | 4 | 36 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0530246b1d257705ef55cb2d2e126b0c68febad7 | 377 | py | Python | polyaxon/activitylogs/events/bookmark.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/activitylogs/events/bookmark.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/activitylogs/events/bookmark.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | import activitylogs
from event_manager.events import bookmark
activitylogs.subscribe(bookmark.BookmarkBuildJobsViewedEvent)
activitylogs.subscribe(bookmark.BookmarkJobsViewedEvent)
activitylogs.subscribe(bookmark.BookmarkExperimentsViewedEvent)
activitylogs.subscribe(bookmark.BookmarkExperimentGroupsViewedEvent)
acti... | 37.7 | 68 | 0.909814 | 28 | 377 | 12.214286 | 0.464286 | 0.307018 | 0.423977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 377 | 9 | 69 | 41.888889 | 0.93956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
05569ca33a6489968bf99841c7a81a8f661b1651 | 273 | py | Python | workflows/xcorr/xcorr.py | mdorier/Supervisor | f1e43b2b33fb2cf9e03ea3ac49378aba37bd9839 | [
"MIT"
] | null | null | null | workflows/xcorr/xcorr.py | mdorier/Supervisor | f1e43b2b33fb2cf9e03ea3ac49378aba37bd9839 | [
"MIT"
] | 1 | 2019-10-04T19:07:35.000Z | 2019-10-04T19:18:17.000Z | workflows/xcorr/xcorr.py | ORNL-BSEC/Supervisor | 14a73ad19b10cebab0d7d2d48e52692485957ad2 | [
"MIT"
] | 1 | 2019-04-30T21:53:10.000Z | 2019-04-30T21:53:10.000Z |
def compute_feature_cross_corellation_matrix(study):
print ("compute_feature_cross_corellation_matrix: " + study)
return "DONE"
def compute_feature_corellation(study1, study2):
print ("compute_feature_corellation: " + study1 + " " + study2)
return "DONE"
| 30.333333 | 67 | 0.747253 | 30 | 273 | 6.4 | 0.4 | 0.291667 | 0.177083 | 0.3125 | 0.8125 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0.017316 | 0.153846 | 273 | 8 | 68 | 34.125 | 0.813853 | 0 | 0 | 0.333333 | 0 | 0 | 0.294118 | 0.253676 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
058b60b807ddad489df88882a1a46dcf430ce19a | 37 | py | Python | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/_layout.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 11,750 | 2015-10-12T07:03:39.000Z | 2022-03-31T20:43:15.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/_layout.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 2,951 | 2015-10-12T00:41:25.000Z | 2022-03-31T22:19:26.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/_layout.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 2,623 | 2015-10-15T14:40:27.000Z | 2022-03-28T16:05:50.000Z | from plotly.graph_objs import Layout
| 18.5 | 36 | 0.864865 | 6 | 37 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 |
55a6685f6edc29505189d99dd975629120f74466 | 3,530 | py | Python | code/CBC.py | Rr-shan/COVID-19_Ailuo_princess | 1f70d426d93f4aac3a73166b17cbf44359065639 | [
"MIT"
] | 2 | 2020-06-06T00:50:54.000Z | 2020-06-08T05:32:16.000Z | code/CBC.py | Rr-shan/COVID-19_Ailuo_princess | 1f70d426d93f4aac3a73166b17cbf44359065639 | [
"MIT"
] | null | null | null | code/CBC.py | Rr-shan/COVID-19_Ailuo_princess | 1f70d426d93f4aac3a73166b17cbf44359065639 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2020/5/20 17:46
# @Author : Sanzzi
from textblob import TextBlob
# 加拿大CBC新闻报道
path = '../dataset/CBC/'
def text_notime():
words = []
with open(path + "news.csv", encoding='gbk',errors='ignore') as file:
for line in file:
# print(lin... | 30.695652 | 91 | 0.510482 | 418 | 3,530 | 4.258373 | 0.15311 | 0.157303 | 0.220225 | 0.156742 | 0.874719 | 0.807303 | 0.766292 | 0.717416 | 0.674719 | 0.674719 | 0 | 0.023047 | 0.336261 | 3,530 | 114 | 92 | 30.964912 | 0.736662 | 0.143626 | 0 | 0.676056 | 0 | 0 | 0.107254 | 0.038875 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056338 | false | 0 | 0.014085 | 0 | 0.070423 | 0.028169 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e9b815a1434c5008de57c07aa69d84fdbd6994c0 | 27 | py | Python | toolz/sandbox/__init__.py | larsmans/toolz | 13e703cf1722ad0fd9941f54e15b8e4d841b0fc2 | [
"BSD-3-Clause"
] | null | null | null | toolz/sandbox/__init__.py | larsmans/toolz | 13e703cf1722ad0fd9941f54e15b8e4d841b0fc2 | [
"BSD-3-Clause"
] | null | null | null | toolz/sandbox/__init__.py | larsmans/toolz | 13e703cf1722ad0fd9941f54e15b8e4d841b0fc2 | [
"BSD-3-Clause"
] | 1 | 2019-12-02T03:17:12.000Z | 2019-12-02T03:17:12.000Z | from .parallel import fold
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 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 |
75858bc41fd9b1da88c22531e8c40a583bf17878 | 41 | py | Python | tasks.py | gosuai/AIDungeon | e84eacd03ad075e4e0d6a6130495844ccad8e531 | [
"MIT"
] | 1 | 2020-09-23T22:08:35.000Z | 2020-09-23T22:08:35.000Z | tasks.py | gosuai/AIDungeon | e84eacd03ad075e4e0d6a6130495844ccad8e531 | [
"MIT"
] | null | null | null | tasks.py | gosuai/AIDungeon | e84eacd03ad075e4e0d6a6130495844ccad8e531 | [
"MIT"
] | null | null | null | # flake8: noqa
from gosu_tasks import *
| 10.25 | 24 | 0.731707 | 6 | 41 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.195122 | 41 | 3 | 25 | 13.666667 | 0.848485 | 0.292683 | 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 |
f941e23082f6bd91b8527cef3a75870fe829283a | 26 | py | Python | tests/data/package1/pack/sub/__init__.py | ccampguilhem/python-project-template | 264bf210ca330b17a5c1905b4b8a030bc200f9ea | [
"MIT"
] | null | null | null | tests/data/package1/pack/sub/__init__.py | ccampguilhem/python-project-template | 264bf210ca330b17a5c1905b4b8a030bc200f9ea | [
"MIT"
] | 1 | 2020-12-28T11:33:13.000Z | 2020-12-28T11:33:13.000Z | tests/data/package1/pack/sub/__init__.py | ccampguilhem/python-project-template | 264bf210ca330b17a5c1905b4b8a030bc200f9ea | [
"MIT"
] | null | null | null | from absolute import head
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f97767b21630bf82d16269f824eeca25006755ed | 183 | py | Python | mats/model/dynamics/__init__.py | StanfordASL/MATS | b31a86eb56728fc6025c71c7202ab425b078e3e5 | [
"MIT"
] | 21 | 2020-12-03T05:27:19.000Z | 2022-01-18T02:24:22.000Z | mats/model/dynamics/__init__.py | StanfordASL/MATS | b31a86eb56728fc6025c71c7202ab425b078e3e5 | [
"MIT"
] | 1 | 2022-03-29T14:51:51.000Z | 2022-03-29T14:51:51.000Z | mats/model/dynamics/__init__.py | StanfordASL/MATS | b31a86eb56728fc6025c71c7202ab425b078e3e5 | [
"MIT"
] | 5 | 2021-01-09T18:12:47.000Z | 2022-03-22T11:45:56.000Z | from .dynamic import Dynamic
from .single_integrator import SingleIntegrator
from .double_integrator import DoubleIntegrator
from .unicycle import Unicycle
from .linear import Linear
| 30.5 | 47 | 0.863388 | 22 | 183 | 7.090909 | 0.454545 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10929 | 183 | 5 | 48 | 36.6 | 0.957055 | 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 |
f98d3bb85cddc09371b260be17516021319e132b | 28,177 | py | Python | apps/pl_sandbox/tests/test_views.py | PremierLangage/platon_assets | 52369067cae9d3969091bb691e0fe7cfb9d10b96 | [
"CECILL-B"
] | null | null | null | apps/pl_sandbox/tests/test_views.py | PremierLangage/platon_assets | 52369067cae9d3969091bb691e0fe7cfb9d10b96 | [
"CECILL-B"
] | 10 | 2020-10-07T12:25:03.000Z | 2021-09-13T20:33:36.000Z | apps/pl_sandbox/tests/test_views.py | PremierLangage/platon_assets | 52369067cae9d3969091bb691e0fe7cfb9d10b96 | [
"CECILL-B"
] | null | null | null | import json
import dgeq
from asgiref.sync import async_to_sync
from django.conf import settings
from django.contrib.auth import get_user_model
from django.core.serializers.json import DjangoJSONEncoder
from django.test import Client, TransactionTestCase
from django.urls import reverse
from pl_core.enums import ErrorCo... | 35.265332 | 103 | 0.590162 | 2,866 | 28,177 | 5.684578 | 0.058618 | 0.069052 | 0.048122 | 0.059416 | 0.920513 | 0.917751 | 0.911736 | 0.879266 | 0.8541 | 0.822551 | 0 | 0.020602 | 0.283387 | 28,177 | 798 | 104 | 35.309524 | 0.786252 | 0.004791 | 0 | 0.66436 | 0 | 0 | 0.160239 | 0.048027 | 0 | 0 | 0 | 0.006266 | 0.153979 | 1 | 0.088235 | false | 0 | 0.017301 | 0 | 0.117647 | 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 |
f99139d76304faa9da14d1c4d6f5043ab34d2695 | 147 | py | Python | tresearcher/researcher/__init__.py | Lewington-pitsos/tabularresearcher | bb69d15e24a1734e6c7293e00867a25fd5fb99a3 | [
"MIT"
] | null | null | null | tresearcher/researcher/__init__.py | Lewington-pitsos/tabularresearcher | bb69d15e24a1734e6c7293e00867a25fd5fb99a3 | [
"MIT"
] | null | null | null | tresearcher/researcher/__init__.py | Lewington-pitsos/tabularresearcher | bb69d15e24a1734e6c7293e00867a25fd5fb99a3 | [
"MIT"
] | null | null | null | from tresearcher.researcher.metric import Metric
from tresearcher.researcher.results import Results
from tresearcher.researcher.records import * | 49 | 51 | 0.857143 | 17 | 147 | 7.411765 | 0.411765 | 0.357143 | 0.595238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 147 | 3 | 52 | 49 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f9c9d613a08b6768e90b2b50a2a3e00cc6882773 | 122 | py | Python | json_fingerprint/__init__.py | cobaltine/json-fingerprint | e264cc87f81fa0bb777698834c3b70429f9eeda7 | [
"MIT"
] | 2 | 2020-12-27T17:20:40.000Z | 2022-03-26T17:47:28.000Z | json_fingerprint/__init__.py | cobaltine/json-fingerprint | e264cc87f81fa0bb777698834c3b70429f9eeda7 | [
"MIT"
] | null | null | null | json_fingerprint/__init__.py | cobaltine/json-fingerprint | e264cc87f81fa0bb777698834c3b70429f9eeda7 | [
"MIT"
] | 2 | 2021-03-07T23:01:56.000Z | 2021-05-26T16:02:57.000Z | from ._create import create
from ._decode import decode
from ._find_matches import find_matches
from ._match import match
| 24.4 | 39 | 0.836066 | 18 | 122 | 5.333333 | 0.388889 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 122 | 4 | 40 | 30.5 | 0.90566 | 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 |
ddb060b279ee12098c34cb25dbbbe68a74b91bae | 42 | py | Python | lib_sample/__init__.py | hkak03key/python-lib-sample | 94e9d3d0d75211634ca078bbf55b0f35da74c494 | [
"Apache-2.0"
] | null | null | null | lib_sample/__init__.py | hkak03key/python-lib-sample | 94e9d3d0d75211634ca078bbf55b0f35da74c494 | [
"Apache-2.0"
] | null | null | null | lib_sample/__init__.py | hkak03key/python-lib-sample | 94e9d3d0d75211634ca078bbf55b0f35da74c494 | [
"Apache-2.0"
] | null | null | null | from .basic import *
from .nest import *
| 10.5 | 20 | 0.690476 | 6 | 42 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 42 | 3 | 21 | 14 | 0.878788 | 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 |
ddbe77d5ff02685383c0ba61a7a5a87fc5a448c8 | 33 | py | Python | data/kitti/__init__.py | youzunzhi/InterpretableMDE | 92fa41a19be521a07462a18d1ab4310b6b799d1f | [
"MIT"
] | 13 | 2021-08-03T08:52:44.000Z | 2022-03-02T00:35:06.000Z | data/nyuv2/__init__.py | youzunzhi/InterpretableMDE | 92fa41a19be521a07462a18d1ab4310b6b799d1f | [
"MIT"
] | 2 | 2021-08-12T05:51:28.000Z | 2021-09-01T09:14:04.000Z | data/kitti/__init__.py | youzunzhi/InterpretableMDE | 92fa41a19be521a07462a18d1ab4310b6b799d1f | [
"MIT"
] | 3 | 2021-10-11T07:53:15.000Z | 2021-12-21T09:14:10.000Z | from .data import get_dataloader
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dde0318f48c9ad1b404c54bec50f474714d8c606 | 271 | py | Python | pybamm/models/submodels/oxygen_diffusion/__init__.py | manjunathnilugal/PyBaMM | 65d5cba534b4f163670e753714964aaa75d6a2d2 | [
"BSD-3-Clause"
] | 330 | 2019-04-17T11:36:57.000Z | 2022-03-28T16:49:55.000Z | pybamm/models/submodels/oxygen_diffusion/__init__.py | masoodtamaddon/PyBaMM | a31e2095600bb92e913598ac4d02b2b6b77b31c1 | [
"BSD-3-Clause"
] | 1,530 | 2019-03-26T18:13:03.000Z | 2022-03-31T16:12:53.000Z | pybamm/models/submodels/oxygen_diffusion/__init__.py | masoodtamaddon/PyBaMM | a31e2095600bb92e913598ac4d02b2b6b77b31c1 | [
"BSD-3-Clause"
] | 178 | 2019-03-27T13:48:04.000Z | 2022-03-31T09:30:11.000Z | from .base_oxygen_diffusion import BaseModel
from .leading_oxygen_diffusion import LeadingOrder
from .first_order_oxygen_diffusion import FirstOrder
from .composite_oxygen_diffusion import Composite
from .full_oxygen_diffusion import Full
from .no_oxygen import NoOxygen
| 38.714286 | 52 | 0.889299 | 36 | 271 | 6.361111 | 0.416667 | 0.327511 | 0.458515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088561 | 271 | 6 | 53 | 45.166667 | 0.927126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb0b0cd15b6d4aa28fc12da4e85ad40df0de96b5 | 36 | py | Python | rake_new2/__init__.py | ragreenburg/rake_new2 | 83a59deee9224a0dd7eaf4847a488bf8bc69c0f7 | [
"MIT"
] | 27 | 2020-07-30T13:07:11.000Z | 2021-12-20T11:57:43.000Z | rake_new2/__init__.py | ragreenburg/rake_new2 | 83a59deee9224a0dd7eaf4847a488bf8bc69c0f7 | [
"MIT"
] | 45 | 2020-09-25T14:45:56.000Z | 2022-02-08T12:54:46.000Z | rake_new2/__init__.py | ragreenburg/rake_new2 | 83a59deee9224a0dd7eaf4847a488bf8bc69c0f7 | [
"MIT"
] | 30 | 2020-09-25T16:25:03.000Z | 2021-01-20T18:53:10.000Z | from rake_new2.rake_new2 import Rake | 36 | 36 | 0.888889 | 7 | 36 | 4.285714 | 0.571429 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.083333 | 36 | 1 | 36 | 36 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
34cd9da3a4ee002cff3d0063b5633eef960d793b | 41 | py | Python | indicators/tests/test_forms.py | mercycorps/toladata | 4d5f9b45905a81af9981b586690e020d5b3bfc60 | [
"Apache-2.0"
] | null | null | null | indicators/tests/test_forms.py | mercycorps/toladata | 4d5f9b45905a81af9981b586690e020d5b3bfc60 | [
"Apache-2.0"
] | 268 | 2020-03-31T15:46:59.000Z | 2022-03-31T18:01:08.000Z | indicators/tests/test_forms.py | mercycorps/toladata | 4d5f9b45905a81af9981b586690e020d5b3bfc60 | [
"Apache-2.0"
] | 1 | 2021-01-05T01:58:24.000Z | 2021-01-05T01:58:24.000Z | from indicators.tests.form_tests import * | 41 | 41 | 0.853659 | 6 | 41 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 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 |
32da06d7233fa4cdc24790f6c41a614aeaebbd9b | 66 | py | Python | PythonExercicios/Mundo1/ex001.py | leonardocsrod/Python-Curso-em-Video | d61e4f1f0779050d176419de2cec0ef539e48cb3 | [
"MIT"
] | null | null | null | PythonExercicios/Mundo1/ex001.py | leonardocsrod/Python-Curso-em-Video | d61e4f1f0779050d176419de2cec0ef539e48cb3 | [
"MIT"
] | null | null | null | PythonExercicios/Mundo1/ex001.py | leonardocsrod/Python-Curso-em-Video | d61e4f1f0779050d176419de2cec0ef539e48cb3 | [
"MIT"
] | null | null | null | print('===========desafio 01=============')
print('Hello world!')
| 22 | 43 | 0.439394 | 6 | 66 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.060606 | 66 | 2 | 44 | 33 | 0.435484 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
32e304f2fa68a21b64e7e099d6e9f9f00fe85515 | 132 | py | Python | benwaonline/front/__init__.py | goosechooser/benwaonline | e2879412aa6c3c230d25cd60072445165517b6b6 | [
"MIT"
] | null | null | null | benwaonline/front/__init__.py | goosechooser/benwaonline | e2879412aa6c3c230d25cd60072445165517b6b6 | [
"MIT"
] | 16 | 2017-09-13T10:21:40.000Z | 2020-06-01T04:32:22.000Z | benwaonline/front/__init__.py | goosechooser/benwaonline | e2879412aa6c3c230d25cd60072445165517b6b6 | [
"MIT"
] | null | null | null | from flask import Blueprint
front = Blueprint('front', __name__, template_folder='templates')
from benwaonline.front import views
| 22 | 65 | 0.80303 | 16 | 132 | 6.3125 | 0.6875 | 0.277228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 132 | 5 | 66 | 26.4 | 0.863248 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
fd200f2eaeb6374945dad934b4b6d0aed756942e | 71 | py | Python | pyrpiic/ioexpander/__init__.py | Samtec-ASH/pyrpiic | 77c2763cdf1bc3129ef884712159eeede7c0e099 | [
"MIT"
] | null | null | null | pyrpiic/ioexpander/__init__.py | Samtec-ASH/pyrpiic | 77c2763cdf1bc3129ef884712159eeede7c0e099 | [
"MIT"
] | 4 | 2020-03-24T18:06:15.000Z | 2021-02-11T22:13:14.000Z | pyrpiic/ioexpander/__init__.py | Samtec-ASH/pyrpiic | 77c2763cdf1bc3129ef884712159eeede7c0e099 | [
"MIT"
] | null | null | null | from .tca6416a import TCA6416A, GPIODir
from .tca9535a import TCA9535A
| 23.666667 | 39 | 0.830986 | 9 | 71 | 6.555556 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 0.126761 | 71 | 2 | 40 | 35.5 | 0.693548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
bd043b1696cb8844fe3c8c2632c5bfb8ef4158a0 | 41 | py | Python | adaptive_alerting_detector_build/metrics/__init__.py | ExpediaDotCom/adaptive-alerting-detector-build | 46c7d58ff9e7c6eaef647d2c30ab9011a7db4169 | [
"Apache-2.0"
] | 4 | 2019-12-17T18:26:46.000Z | 2020-09-11T12:10:26.000Z | adaptive_alerting_detector_build/metrics/__init__.py | ExpediaDotCom/adaptive-alerting-detector-build | 46c7d58ff9e7c6eaef647d2c30ab9011a7db4169 | [
"Apache-2.0"
] | 4 | 2019-12-23T22:38:55.000Z | 2020-04-02T21:30:54.000Z | adaptive_alerting_detector_build/metrics/__init__.py | ExpediaDotCom/adaptive-alerting-detector-build | 46c7d58ff9e7c6eaef647d2c30ab9011a7db4169 | [
"Apache-2.0"
] | 3 | 2019-12-12T23:41:10.000Z | 2020-06-29T01:40:49.000Z | from .metric import Metric, MetricConfig
| 20.5 | 40 | 0.829268 | 5 | 41 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bd12ceeda00909085810eb5a5502d97481bc8b7b | 122 | py | Python | TensorFlow Image Classifier/main.py | srungta/deep-learning-scripts-by-a-beginner | 98c0310150e4afae49ad3cf285a1d21a81729ff0 | [
"MIT"
] | null | null | null | TensorFlow Image Classifier/main.py | srungta/deep-learning-scripts-by-a-beginner | 98c0310150e4afae49ad3cf285a1d21a81729ff0 | [
"MIT"
] | null | null | null | TensorFlow Image Classifier/main.py | srungta/deep-learning-scripts-by-a-beginner | 98c0310150e4afae49ad3cf285a1d21a81729ff0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Fri Nov 10 20:57:37 2017
@author: shrung
"""
#import tensorflow as tf
import numpy | 15.25 | 35 | 0.655738 | 20 | 122 | 4 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 0.180328 | 122 | 8 | 36 | 15.25 | 0.67 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bd25aef4fc3b445eb8ed5825161cdaa78c6a744c | 115 | py | Python | ravendb/exceptions/cluster/__init__.py | ravendb/RavenDB-Python-Client | 6286b459b501e755fe8e8591a48acf8616605ccd | [
"MIT"
] | 8 | 2016-10-08T17:45:44.000Z | 2018-05-29T12:16:43.000Z | ravendb/exceptions/cluster/__init__.py | ravendb/RavenDB-Python-Client | 6286b459b501e755fe8e8591a48acf8616605ccd | [
"MIT"
] | 5 | 2017-02-12T15:50:53.000Z | 2017-09-18T12:25:01.000Z | ravendb/exceptions/cluster/__init__.py | ravendb/RavenDB-Python-Client | 6286b459b501e755fe8e8591a48acf8616605ccd | [
"MIT"
] | 8 | 2016-07-03T07:59:12.000Z | 2017-09-18T11:22:23.000Z | from ravendb.exceptions.raven_exceptions import RavenException
class NoLoaderException(RavenException):
pass
| 19.166667 | 62 | 0.843478 | 11 | 115 | 8.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113043 | 115 | 5 | 63 | 23 | 0.941176 | 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 |
1ffc59dc42fca9d228a6978c8323c78163875091 | 8,207 | py | Python | data/modules/graphic/two_D/settings.py | Sheidaas/gamee | 434db4648e1719a648b8784f201b03b4c8e243c3 | [
"CC-BY-3.0"
] | null | null | null | data/modules/graphic/two_D/settings.py | Sheidaas/gamee | 434db4648e1719a648b8784f201b03b4c8e243c3 | [
"CC-BY-3.0"
] | null | null | null | data/modules/graphic/two_D/settings.py | Sheidaas/gamee | 434db4648e1719a648b8784f201b03b4c8e243c3 | [
"CC-BY-3.0"
] | null | null | null | from .button import Button
class Settings:
def __init__(self):
self.images = {}
self.background = None
self.buttons = {}
self.update = False
def create_buttons(self, screen):
self.buttons = {}
start = (480, 420)
size = (200, 50)
self.buttons[... | 54.350993 | 163 | 0.584501 | 888 | 8,207 | 5.310811 | 0.082207 | 0.157761 | 0.224767 | 0.303435 | 0.846056 | 0.846056 | 0.783715 | 0.722646 | 0.628287 | 0.581213 | 0 | 0.027107 | 0.258316 | 8,207 | 151 | 164 | 54.350993 | 0.747659 | 0 | 0 | 0.443548 | 0 | 0 | 0.144128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.008065 | 0 | 0.080645 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1f025c9a6a97b59ad7e503b06664e6a6123c2657 | 112 | py | Python | init_test_paths.py | gauenk/faiss_fork | f51ffb536f829358bd1907acda89dfc8c1bc4146 | [
"MIT"
] | null | null | null | init_test_paths.py | gauenk/faiss_fork | f51ffb536f829358bd1907acda89dfc8c1bc4146 | [
"MIT"
] | null | null | null | init_test_paths.py | gauenk/faiss_fork | f51ffb536f829358bd1907acda89dfc8c1bc4146 | [
"MIT"
] | null | null | null | # import sys
# sys.path.append("./tests/kmburst/")
from tests.kmburst.test_kmburst import test_burst_nnf as run
| 28 | 60 | 0.776786 | 18 | 112 | 4.666667 | 0.666667 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 112 | 3 | 61 | 37.333333 | 0.831683 | 0.410714 | 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 |
1f2fcbce1b82855f5492235c794a73b7aa1a948e | 26 | py | Python | core/UnFlow/src/e2eflow/__init__.py | prabhash007/DF-Net | a2ca336133d040e2b331c17e341b26fded341c18 | [
"MIT"
] | 199 | 2018-09-06T01:36:56.000Z | 2022-03-25T07:59:38.000Z | core/UnFlow/src/e2eflow/__init__.py | prabhash007/DF-Net | a2ca336133d040e2b331c17e341b26fded341c18 | [
"MIT"
] | 22 | 2018-09-15T20:44:15.000Z | 2021-11-29T08:27:20.000Z | core/UnFlow/src/e2eflow/__init__.py | prabhash007/DF-Net | a2ca336133d040e2b331c17e341b26fded341c18 | [
"MIT"
] | 32 | 2018-09-10T01:54:12.000Z | 2021-06-06T19:09:59.000Z | from .core import flownet
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 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 |
1f3e36e7c17b24a664525c98f3bb46d0530b02cf | 37 | py | Python | htmlslacker/__init__.py | sebbacon/html-slacker | 2fd7f0dc0a794b7c5d765569000123369674b0b4 | [
"MIT"
] | 18 | 2017-11-23T15:55:46.000Z | 2021-12-03T21:46:09.000Z | htmlslacker/__init__.py | sebbacon/html-slacker | 2fd7f0dc0a794b7c5d765569000123369674b0b4 | [
"MIT"
] | 9 | 2017-08-11T10:45:04.000Z | 2020-07-16T21:21:43.000Z | htmlslacker/__init__.py | sebbacon/html-slacker | 2fd7f0dc0a794b7c5d765569000123369674b0b4 | [
"MIT"
] | 15 | 2017-09-03T20:11:26.000Z | 2021-05-07T01:35:02.000Z | from .htmlslacker import HTMLSlacker
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1f561176ea98f4021b16d4559c2a6a4375e53531 | 329 | py | Python | atlas/foundations_contrib/src/test/models/__init__.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 296 | 2020-03-16T19:55:00.000Z | 2022-01-10T19:46:05.000Z | atlas/foundations_contrib/src/test/models/__init__.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 57 | 2020-03-17T11:15:57.000Z | 2021-07-10T14:42:27.000Z | atlas/foundations_contrib/src/test/models/__init__.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 38 | 2020-03-17T21:06:05.000Z | 2022-02-08T03:19:34.000Z |
from test.models.test_completed_job_data_listing import TestCompletedJobDataListing
from test.models.test_project_listing import TestProjectListing
from test.models.test_property_model import TestPropertyModel
from test.models.test_queued_job import TestQueuedJob
from test.models.test_queued_job_query import TestQueue... | 54.833333 | 83 | 0.908815 | 43 | 329 | 6.651163 | 0.418605 | 0.13986 | 0.244755 | 0.314685 | 0.188811 | 0.188811 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06079 | 329 | 6 | 84 | 54.833333 | 0.925566 | 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 |
1f69862151630d955c9fad2def656470e4921728 | 91 | py | Python | foundation/transforms/__init__.py | OneDirection9/foundation | a43a568b5d062d80cf3ce5777d0ab3f14147a8f2 | [
"Apache-2.0"
] | null | null | null | foundation/transforms/__init__.py | OneDirection9/foundation | a43a568b5d062d80cf3ce5777d0ab3f14147a8f2 | [
"Apache-2.0"
] | 1 | 2020-04-16T13:58:40.000Z | 2020-04-16T13:58:40.000Z | foundation/transforms/__init__.py | OneDirection9/foundation | a43a568b5d062d80cf3ce5777d0ab3f14147a8f2 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import, division, print_function
from .transform import *
| 22.75 | 64 | 0.835165 | 11 | 91 | 6.363636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 91 | 3 | 65 | 30.333333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
85d41ec2707c751121d096abef13b66505fb998f | 190 | py | Python | src/snooker_ball_tracker/ball_tracker/settings/__init__.py | dcrblack/snooker-ball-tracker | 292b307e48914ebc42227e371ca0114ea944c8cd | [
"MIT"
] | 6 | 2020-08-10T14:00:52.000Z | 2022-02-03T10:23:20.000Z | src/snooker_ball_tracker/ball_tracker/settings/__init__.py | dcrblack/snooker-ball-tracker | 292b307e48914ebc42227e371ca0114ea944c8cd | [
"MIT"
] | 3 | 2021-04-30T14:11:06.000Z | 2021-05-21T21:05:11.000Z | src/snooker_ball_tracker/ball_tracker/settings/__init__.py | dcrblack/snooker-ball-tracker | 292b307e48914ebc42227e371ca0114ea944c8cd | [
"MIT"
] | 1 | 2020-10-14T06:07:13.000Z | 2020-10-14T06:07:13.000Z | from .ball_detection_settings import BallDetectionSettings
from .colour_detection_settings import ColourDetectionSettings
from .ball_detection_setting_group import BallDetectionSettingGroup
| 47.5 | 67 | 0.921053 | 19 | 190 | 8.842105 | 0.578947 | 0.095238 | 0.202381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063158 | 190 | 3 | 68 | 63.333333 | 0.94382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
85fa31b046e82c861d8f4c4687bebb3417773886 | 30 | py | Python | plugins/more_categories/__init__.py | likev/gauravssnl.github.io | 2bb17e0e5621c1f03d782b762694f999cc62d4d0 | [
"MIT"
] | 2 | 2019-09-14T08:46:30.000Z | 2022-01-13T18:47:28.000Z | plugins/more_categories/__init__.py | likev/gauravssnl.github.io | 2bb17e0e5621c1f03d782b762694f999cc62d4d0 | [
"MIT"
] | 1 | 2021-12-13T20:50:25.000Z | 2021-12-13T20:50:25.000Z | pelican-plugins/more_categories/__init__.py | JN-Blog/jn-blog.com | 669bf9a9c6813f2b7980792fb137f6718077aea1 | [
"MIT"
] | 3 | 2021-03-24T11:58:31.000Z | 2022-01-12T16:03:06.000Z | from .more_categories import * | 30 | 30 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.888889 | 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 |
c81282697ad7bd3e44bbbff58bef9218c0e66374 | 141 | py | Python | src/init.py | zaxmks/demo-data-compliance-service | 372e612c570aaf5b512bec17627f825e880add67 | [
"CNRI-Python",
"CECILL-B"
] | null | null | null | src/init.py | zaxmks/demo-data-compliance-service | 372e612c570aaf5b512bec17627f825e880add67 | [
"CNRI-Python",
"CECILL-B"
] | null | null | null | src/init.py | zaxmks/demo-data-compliance-service | 372e612c570aaf5b512bec17627f825e880add67 | [
"CNRI-Python",
"CECILL-B"
] | null | null | null | from src.core.db.db_init import db_init
from src.core.env.load import load_env
import logging
def app_init():
load_env()
db_init()
| 15.666667 | 39 | 0.737589 | 26 | 141 | 3.769231 | 0.423077 | 0.183673 | 0.22449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 141 | 8 | 40 | 17.625 | 0.837607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8163103cad689d582046e69d472e8d5b48e26a3 | 202 | py | Python | pybamm/models/submodels/convection/__init__.py | jedgedrudd/PyBaMM | 79c9d34978382d50e09adaf8bf74c8fa4723f759 | [
"BSD-3-Clause"
] | 1 | 2019-10-29T19:06:04.000Z | 2019-10-29T19:06:04.000Z | pybamm/models/submodels/convection/__init__.py | jedgedrudd/PyBaMM | 79c9d34978382d50e09adaf8bf74c8fa4723f759 | [
"BSD-3-Clause"
] | null | null | null | pybamm/models/submodels/convection/__init__.py | jedgedrudd/PyBaMM | 79c9d34978382d50e09adaf8bf74c8fa4723f759 | [
"BSD-3-Clause"
] | null | null | null | from .base_convection import BaseModel
from .no_convection import NoConvection
from .leading_convection import LeadingOrder
from .full_convection import Full
from .composite_convection import Composite
| 33.666667 | 44 | 0.876238 | 25 | 202 | 6.88 | 0.44 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 202 | 5 | 45 | 40.4 | 0.945055 | 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 |
c08cb50f93b32d62c13a76658b1c58d2adeadabd | 5,382 | py | Python | django_workflow/migrations/0008_auto_20180117_1236.py | dani0805/django_workflow | 4eb20fefa95c5d917628fc32b5479879d119a7e1 | [
"BSD-3-Clause"
] | 7 | 2017-08-29T16:16:25.000Z | 2021-03-13T20:35:45.000Z | django_workflow/migrations/0008_auto_20180117_1236.py | dani0805/django_workflow | 4eb20fefa95c5d917628fc32b5479879d119a7e1 | [
"BSD-3-Clause"
] | 3 | 2020-02-11T23:11:27.000Z | 2021-06-10T20:49:53.000Z | django_workflow/migrations/0008_auto_20180117_1236.py | dani0805/django_workflow | 4eb20fefa95c5d917628fc32b5479879d119a7e1 | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 2.0.1 on 2018-01-17 12:36
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('django_workflow', '0007_auto_20180109_1038'),
]
operations = [
migrations.AlterField(
model_nam... | 48.927273 | 203 | 0.653475 | 546 | 5,382 | 6.269231 | 0.111722 | 0.04908 | 0.0818 | 0.128542 | 0.897751 | 0.884604 | 0.746421 | 0.69442 | 0.69442 | 0.69442 | 0 | 0.007411 | 0.22278 | 5,382 | 109 | 204 | 49.376147 | 0.810901 | 0.008361 | 0 | 0.757282 | 1 | 0 | 0.213121 | 0.089597 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019417 | 0 | 0.048544 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 |
c0bad98402c06247b9779735ab48436f0ecc8ebb | 132 | py | Python | packages/awrams/models/awral/__init__.py | kaamilah/awra_cms | bbbb85ad8864e2c835926439acc1e6dabb137a97 | [
"NetCDF"
] | 20 | 2016-12-01T03:13:50.000Z | 2021-12-02T23:43:38.000Z | packages/awrams/models/awral/__init__.py | kaamilah/awra_cms | bbbb85ad8864e2c835926439acc1e6dabb137a97 | [
"NetCDF"
] | 2 | 2018-02-05T03:42:11.000Z | 2018-04-27T05:49:44.000Z | packages/awrams/models/awral/__init__.py | kaamilah/awra_cms | bbbb85ad8864e2c835926439acc1e6dabb137a97 | [
"NetCDF"
] | 22 | 2016-12-13T19:57:43.000Z | 2021-12-08T02:52:19.000Z | from . import solar
from . import transforms
from . import model
from . import runner
#from . import settings
from . import support
| 18.857143 | 24 | 0.765152 | 18 | 132 | 5.611111 | 0.444444 | 0.594059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 132 | 6 | 25 | 22 | 0.935185 | 0.166667 | 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 |
c0d87cc4a35b2983012e276bf223ae3cb91880ff | 179 | py | Python | procsim/biomass/__init__.py | stcorp/procsim | 7877ccdeffa6b40d14e2e6626fb656ab5e087eb6 | [
"BSD-3-Clause"
] | 1 | 2021-07-20T10:33:39.000Z | 2021-07-20T10:33:39.000Z | procsim/biomass/__init__.py | stcorp/procsim | 7877ccdeffa6b40d14e2e6626fb656ab5e087eb6 | [
"BSD-3-Clause"
] | 18 | 2021-07-20T08:14:59.000Z | 2022-03-25T14:33:38.000Z | procsim/biomass/__init__.py | stcorp/procsim | 7877ccdeffa6b40d14e2e6626fb656ab5e087eb6 | [
"BSD-3-Clause"
] | null | null | null | '''
Copyright (C) 2021 S[&]T, The Netherlands.
Plugin exports
'''
from procsim.biomass.product_generator_factory import (
list_supported_products, product_generator_factory)
| 22.375 | 55 | 0.782123 | 22 | 179 | 6.090909 | 0.863636 | 0.238806 | 0.343284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.117318 | 179 | 7 | 56 | 25.571429 | 0.822785 | 0.324022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c0dd2d4753c4877e027b4601af5de3927e043d1b | 185 | py | Python | code/tmp_rtrip/xml/parsers/expat.py | emilyemorehouse/ast-and-me | 3f58117512e125e1ecbe3c72f2f0d26adb80b7b3 | [
"MIT"
] | 24 | 2018-01-23T05:28:40.000Z | 2021-04-13T20:52:59.000Z | code/tmp_rtrip/xml/parsers/expat.py | emilyemorehouse/ast-and-me | 3f58117512e125e1ecbe3c72f2f0d26adb80b7b3 | [
"MIT"
] | 17 | 2017-12-21T18:32:31.000Z | 2018-12-18T17:09:50.000Z | code/tmp_rtrip/xml/parsers/expat.py | emilyemorehouse/ast-and-me | 3f58117512e125e1ecbe3c72f2f0d26adb80b7b3 | [
"MIT"
] | null | null | null | """Interface to the Expat non-validating XML parser."""
import sys
from pyexpat import *
sys.modules['xml.parsers.expat.model'] = model
sys.modules['xml.parsers.expat.errors'] = errors
| 30.833333 | 55 | 0.751351 | 27 | 185 | 5.148148 | 0.592593 | 0.129496 | 0.18705 | 0.28777 | 0.359712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102703 | 185 | 5 | 56 | 37 | 0.837349 | 0.264865 | 0 | 0 | 0 | 0 | 0.361538 | 0.361538 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
238e837fc05580eb787a11815e0e5c5cb5e313ce | 163 | py | Python | g3ts/exception/__init__.py | savioli/g3ts | bca8d48f481c00d400215099eec324c03c6c0467 | [
"MIT"
] | null | null | null | g3ts/exception/__init__.py | savioli/g3ts | bca8d48f481c00d400215099eec324c03c6c0467 | [
"MIT"
] | null | null | null | g3ts/exception/__init__.py | savioli/g3ts | bca8d48f481c00d400215099eec324c03c6c0467 | [
"MIT"
] | null | null | null | from .TextToSpeechNotSuccesfullException import TextToSpeechNotSuccesfullException
from .TranslationNotSuccesfullException import TranslationNotSuccesfullException | 81.5 | 82 | 0.944785 | 8 | 163 | 19.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042945 | 163 | 2 | 83 | 81.5 | 0.987179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
23d3c93daceab5b112a8afe45378d30af1c26753 | 196 | py | Python | tests/test_conf.py | eadwinCode/django-ninja | 4033b70399f3f58db747fa1a41075488306accb7 | [
"MIT"
] | 2,809 | 2020-06-21T08:48:40.000Z | 2022-03-30T16:42:11.000Z | tests/test_conf.py | eadwinCode/django-ninja | 4033b70399f3f58db747fa1a41075488306accb7 | [
"MIT"
] | 311 | 2020-06-22T07:59:27.000Z | 2022-03-31T18:01:23.000Z | tests/test_conf.py | eadwinCode/django-ninja | 4033b70399f3f58db747fa1a41075488306accb7 | [
"MIT"
] | 178 | 2020-07-08T00:40:43.000Z | 2022-03-29T02:05:20.000Z | from ninja.conf import settings
def test_default_configuration():
assert settings.PAGINATION_CLASS == "ninja.pagination.LimitOffsetPagination"
assert settings.PAGINATION_PER_PAGE == 100
| 28 | 80 | 0.806122 | 22 | 196 | 6.954545 | 0.727273 | 0.183007 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017442 | 0.122449 | 196 | 6 | 81 | 32.666667 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0.193878 | 0.193878 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
23db3b625bba4468f6751c2a75d444c264b3f4c4 | 501 | py | Python | iamheadless_publisher_admin/viewsets/error_handling.py | plain-ie/iamheadless_publisher_admin | 03e0406d5d6e40132fb63100f184ce5e90c0ad31 | [
"MIT"
] | null | null | null | iamheadless_publisher_admin/viewsets/error_handling.py | plain-ie/iamheadless_publisher_admin | 03e0406d5d6e40132fb63100f184ce5e90c0ad31 | [
"MIT"
] | null | null | null | iamheadless_publisher_admin/viewsets/error_handling.py | plain-ie/iamheadless_publisher_admin | 03e0406d5d6e40132fb63100f184ce5e90c0ad31 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.template import RequestContext
from ..conf import settings
def handler403(request, *args, **argv):
return render(request, f'{settings.APP_NAME}/403.html', context={}, status_code=403)
def handler404(request, *args, **argv):
return render(request, f'{settings.... | 29.470588 | 88 | 0.732535 | 68 | 501 | 5.308824 | 0.397059 | 0.091413 | 0.124654 | 0.174515 | 0.614958 | 0.614958 | 0.614958 | 0.614958 | 0.614958 | 0.614958 | 0 | 0.060948 | 0.115768 | 501 | 16 | 89 | 31.3125 | 0.75395 | 0 | 0 | 0 | 0 | 0 | 0.167665 | 0.167665 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
23e9ce8f8c05d034189dda001b361e1d629a9a87 | 9,975 | py | Python | python/chisel/learning/newestimates.py | wilkeraziz/chisel | 3e23a7c0937bbd56d2dffb1df7594878fb9c75eb | [
"Apache-2.0"
] | 1 | 2017-01-15T01:01:16.000Z | 2017-01-15T01:01:16.000Z | python/chisel/learning/newestimates.py | wilkeraziz/chisel | 3e23a7c0937bbd56d2dffb1df7594878fb9c75eb | [
"Apache-2.0"
] | null | null | null | python/chisel/learning/newestimates.py | wilkeraziz/chisel | 3e23a7c0937bbd56d2dffb1df7594878fb9c75eb | [
"Apache-2.0"
] | null | null | null | __author__ = 'waziz'
import numpy as np
import sys
from collections import defaultdict
from chisel.smt import groupby
from chisel.util import obj2id
from chisel.smt import Solution
from chisel.util import npvec2str, fmap_dot
def entropy(p_dot, p, log_p, dp):
H = -(p * log_p).sum()
dH = -(dp * (p_dot + 1)[:, ... | 35.123239 | 135 | 0.622957 | 1,665 | 9,975 | 3.590991 | 0.118318 | 0.035123 | 0.023081 | 0.062552 | 0.763004 | 0.75046 | 0.726041 | 0.721693 | 0.71333 | 0.696438 | 0 | 0.009952 | 0.244511 | 9,975 | 283 | 136 | 35.24735 | 0.783439 | 0.273885 | 0 | 0.705128 | 0 | 0 | 0.000705 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.044872 | 0 | 0.121795 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
23ffb7178761f9f1dcbc4be2890240f876b6ae0e | 21,051 | py | Python | SOURCE/Object/maze_drawer.py | lathanhthai1905/Pacman-AI | cd00fc9d6e6b21358a2cef54e0000c0cdc50fcc0 | [
"MIT"
] | 1 | 2021-03-14T09:46:22.000Z | 2021-03-14T09:46:22.000Z | SOURCE/Object/maze_drawer.py | lathanhthai1905/Pacman-AI | cd00fc9d6e6b21358a2cef54e0000c0cdc50fcc0 | [
"MIT"
] | null | null | null | SOURCE/Object/maze_drawer.py | lathanhthai1905/Pacman-AI | cd00fc9d6e6b21358a2cef54e0000c0cdc50fcc0 | [
"MIT"
] | null | null | null | import game_flags as flags
import handle_input as input
import pygame as pg
class MazeDrawer:
def __init__(self, maze=None, size=None):
# Information
self.maze = maze
self.size = size
self.background = None
self.background_rect = None
# Get rid of food or ... | 60.318052 | 109 | 0.544155 | 3,169 | 21,051 | 3.264121 | 0.040707 | 0.063418 | 0.105182 | 0.085073 | 0.841261 | 0.826856 | 0.79708 | 0.79476 | 0.780066 | 0.780066 | 0 | 0.039876 | 0.343594 | 21,051 | 348 | 110 | 60.491379 | 0.708713 | 0.017956 | 0 | 0.416961 | 0 | 0 | 0.001997 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017668 | false | 0 | 0.010601 | 0 | 0.04947 | 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 |
f1a23c0747485374430b19bb1d09f6f481691ade | 67 | py | Python | test/test_mercury_password.py | askbow/iot-mercury-counter | 7792850236057c927b77534e771954be723f2e20 | [
"MIT"
] | 2 | 2022-02-04T10:18:04.000Z | 2022-02-04T10:18:16.000Z | test/test_mercury_password.py | askbow/iot-mercury-counter | 7792850236057c927b77534e771954be723f2e20 | [
"MIT"
] | 1 | 2022-02-05T16:05:28.000Z | 2022-02-06T14:05:41.000Z | test/test_mercury_password.py | askbow/iot-mercury-counter | 7792850236057c927b77534e771954be723f2e20 | [
"MIT"
] | null | null | null | import pytest
def test_fake():
# placeholder
assert True
| 9.571429 | 17 | 0.671642 | 8 | 67 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268657 | 67 | 6 | 18 | 11.166667 | 0.897959 | 0.164179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f1af83f05e9650a16c0812fd5e6b6985f5f7449c | 224 | py | Python | src/lib/file_system_image.py | acevreo/instaprint_project | d2f2be98f6577adaec1b030e8c1c4a1cbe231cc1 | [
"MIT"
] | 16 | 2015-12-05T23:09:53.000Z | 2018-07-11T03:20:54.000Z | src/lib/file_system_image.py | acevreo/instaprint_project | d2f2be98f6577adaec1b030e8c1c4a1cbe231cc1 | [
"MIT"
] | 4 | 2016-03-10T09:51:00.000Z | 2018-07-18T04:45:38.000Z | src/lib/file_system_image.py | acevreo/instaprint_project | d2f2be98f6577adaec1b030e8c1c4a1cbe231cc1 | [
"MIT"
] | 8 | 2016-03-19T18:03:22.000Z | 2020-10-18T18:45:36.000Z |
class FileSystemImage:
def __init__(self, media, file_path):
self.media = media
self.file_path = file_path
def __str__(self):
return "saved_image(%s, %s)" % (self.media.id, self.file_path)
| 22.4 | 70 | 0.633929 | 30 | 224 | 4.3 | 0.466667 | 0.248062 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245536 | 224 | 9 | 71 | 24.888889 | 0.763314 | 0 | 0 | 0 | 0 | 0 | 0.085202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f1dadee852e9d874658a8559f4b649b71fd90073 | 47,603 | py | Python | Assignment#3/qa327_test/test_main_approach2.py | Ryan-F3107/Quinterac-CISC-327 | 3a2a73ad8e862b2c95a21e27b579d1267ce8dfa0 | [
"MIT"
] | null | null | null | Assignment#3/qa327_test/test_main_approach2.py | Ryan-F3107/Quinterac-CISC-327 | 3a2a73ad8e862b2c95a21e27b579d1267ce8dfa0 | [
"MIT"
] | null | null | null | Assignment#3/qa327_test/test_main_approach2.py | Ryan-F3107/Quinterac-CISC-327 | 3a2a73ad8e862b2c95a21e27b579d1267ce8dfa0 | [
"MIT"
] | null | null | null | import tempfile
from importlib import reload
import os
import io
import sys
import qa327.app as app
path = os.path.dirname(os.path.abspath(__file__))
# ---------------------------------------------------- START OF LOGIN ------------------------------------------------ #
# -------------------------------------------... | 40.341525 | 179 | 0.607399 | 5,487 | 47,603 | 5.129215 | 0.064152 | 0.038303 | 0.036811 | 0.057064 | 0.836413 | 0.824936 | 0.815591 | 0.802516 | 0.794486 | 0.782227 | 0 | 0.074984 | 0.222297 | 47,603 | 1,179 | 180 | 40.375742 | 0.685233 | 0.327269 | 0 | 0.574751 | 0 | 0.0299 | 0.359238 | 0 | 0 | 0 | 0 | 0 | 0.003322 | 1 | 0.114618 | false | 0 | 0.009967 | 0 | 0.124585 | 0.009967 | 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 |
f1e99403682ef957f68116514287e32d9bf25297 | 162 | py | Python | static/getstatic.py | rectangletangle/dataquest-test-project | 1e184a8f9a5e7538f77ed1a783cc50a70a6fcb5e | [
"BSD-3-Clause"
] | null | null | null | static/getstatic.py | rectangletangle/dataquest-test-project | 1e184a8f9a5e7538f77ed1a783cc50a70a6fcb5e | [
"BSD-3-Clause"
] | null | null | null | static/getstatic.py | rectangletangle/dataquest-test-project | 1e184a8f9a5e7538f77ed1a783cc50a70a6fcb5e | [
"BSD-3-Clause"
] | null | null | null |
import rodeo
import os
def staticpath():
return os.path.join(os.path.dirname(rodeo.__file__), 'static')
if __name__ == '__main__':
print(staticpath())
| 16.2 | 66 | 0.697531 | 21 | 162 | 4.809524 | 0.714286 | 0.118812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154321 | 162 | 9 | 67 | 18 | 0.737226 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0.166667 | 0.666667 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
9ea3f8a040aa053418e43683e5d7955af7d34b7a | 59 | py | Python | start-nvpy.py | axil/nvpy | 8351b3f461484b44f2fec4149cc5302343dbef71 | [
"BSD-3-Clause"
] | 540 | 2015-01-01T18:03:39.000Z | 2022-03-22T18:22:53.000Z | start-nvpy.py | axil/nvpy | 8351b3f461484b44f2fec4149cc5302343dbef71 | [
"BSD-3-Clause"
] | 136 | 2015-01-05T09:05:28.000Z | 2022-01-14T09:18:13.000Z | start-nvpy.py | axil/nvpy | 8351b3f461484b44f2fec4149cc5302343dbef71 | [
"BSD-3-Clause"
] | 104 | 2015-01-04T12:44:07.000Z | 2022-03-28T06:24:21.000Z | #!/usr/bin/env python3
import nvpy.nvpy
nvpy.nvpy.main()
| 9.833333 | 22 | 0.711864 | 10 | 59 | 4.2 | 0.7 | 0.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.118644 | 59 | 5 | 23 | 11.8 | 0.788462 | 0.355932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7b4936c23f5ca0168f9b98f38b9adddc91b50955 | 39 | py | Python | models/__init__.py | HieuNT1998/BraTS-DMFNet | c12806a7ae4cf886f379d712fc85cc6fc37bd9a7 | [
"Apache-2.0"
] | 1 | 2020-03-10T03:13:46.000Z | 2020-03-10T03:13:46.000Z | models/__init__.py | HieuNT1998/BraTS-DMFNet | c12806a7ae4cf886f379d712fc85cc6fc37bd9a7 | [
"Apache-2.0"
] | null | null | null | models/__init__.py | HieuNT1998/BraTS-DMFNet | c12806a7ae4cf886f379d712fc85cc6fc37bd9a7 | [
"Apache-2.0"
] | 2 | 2020-03-20T06:19:30.000Z | 2020-03-21T05:43:41.000Z | from .DMFNet_16x import MFNet, DMFNet
| 19.5 | 38 | 0.794872 | 6 | 39 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.153846 | 39 | 1 | 39 | 39 | 0.848485 | 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 |
7b4b9a4262dfb7fe28caa563e03d3d77af239682 | 128 | py | Python | tests/functional/modules/pyi_import_pyqt_uic_port/PyQt5/uic/port_v3/__init__.py | soleil0-0/pyinstaller | 4249a7347f6b81aba9825ded8addb92ee0f85ea9 | [
"Apache-2.0"
] | 2 | 2017-02-08T22:22:09.000Z | 2020-10-08T12:28:36.000Z | tests/functional/modules/pyi_import_pyqt_uic_port/PyQt5/uic/port_v3/__init__.py | jeremysanders/pyinstaller | 321b24f9a9a5978337735816b36ca6b4a90a2fb4 | [
"Apache-2.0"
] | 3 | 2021-06-08T22:52:09.000Z | 2021-09-08T02:48:20.000Z | tests/functional/modules/pyi_import_pyqt_uic_port/PyQt5/uic/port_v3/__init__.py | jeremysanders/pyinstaller | 321b24f9a9a5978337735816b36ca6b4a90a2fb4 | [
"Apache-2.0"
] | 4 | 2018-06-04T20:40:37.000Z | 2020-10-13T22:38:40.000Z | __pyinstaller_fake_module_marker__ = '__pyinstaller_fake_module_marker__'
print('this is PyQtx.uic.port_v2')
from . import test
| 32 | 73 | 0.84375 | 18 | 128 | 5.166667 | 0.777778 | 0.322581 | 0.451613 | 0.580645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.078125 | 128 | 3 | 74 | 42.666667 | 0.779661 | 0 | 0 | 0 | 0 | 0 | 0.460938 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 |
7b7de25857a2a09d15041af20f688d654cdbea7f | 2,760 | py | Python | module1-introduction-to-sql/module1_hw.py | nikibhatt/DS-Unit-3-Sprint-2-SQL-and-Databases | 28b94435f0e3f0e71edacdf8a2be4ad87827d204 | [
"MIT"
] | null | null | null | module1-introduction-to-sql/module1_hw.py | nikibhatt/DS-Unit-3-Sprint-2-SQL-and-Databases | 28b94435f0e3f0e71edacdf8a2be4ad87827d204 | [
"MIT"
] | null | null | null | module1-introduction-to-sql/module1_hw.py | nikibhatt/DS-Unit-3-Sprint-2-SQL-and-Databases | 28b94435f0e3f0e71edacdf8a2be4ad87827d204 | [
"MIT"
] | null | null | null | import sqlite3
conn = sqlite3.connect('rpg_db.sqlite3')
curs = conn.cursor()
curs.execute('SELECT count(*) FROM charactercreator_character;')
print('Total number of Characters: ', curs.fetchone())
curs.execute('select count(*) from charactercreator_thief;')
print('Number of characters for thief:', curs.fetchone())
... | 56.326531 | 364 | 0.776087 | 428 | 2,760 | 4.859813 | 0.130841 | 0.074038 | 0.0625 | 0.084615 | 0.875 | 0.825 | 0.798558 | 0.782212 | 0.656731 | 0.633654 | 0 | 0.002856 | 0.111957 | 2,760 | 48 | 365 | 57.5 | 0.845777 | 0 | 0 | 0.125 | 0 | 0.125 | 0.755072 | 0.157246 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.03125 | 0.375 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7bac62b3f00191037c52703a3cf8baf70e94caaf | 11,128 | py | Python | tests/test_dependencies.py | getindata/dbt-airflow-manifest-parser | 72f385ecbe7e6d02556f48a47edcb29b85060119 | [
"Apache-2.0"
] | 2 | 2022-02-07T21:00:15.000Z | 2022-03-23T12:01:41.000Z | tests/test_dependencies.py | getindata/dbt-airflow-factory | 9257a1d063eb35c1bb5567ddce1e5ecc3859d255 | [
"Apache-2.0"
] | null | null | null | tests/test_dependencies.py | getindata/dbt-airflow-factory | 9257a1d063eb35c1bb5567ddce1e5ecc3859d255 | [
"Apache-2.0"
] | 1 | 2021-11-16T17:37:02.000Z | 2021-11-16T17:37:02.000Z | from typing import List
from .utils import (
builder_factory,
manifest_file_with_models,
task_group_prefix_builder,
test_dag,
)
def test_run_test_dependency():
# given
manifest_path = manifest_file_with_models({"model.dbt_test.model1": []})
# when
with test_dag():
tasks = bui... | 35.326984 | 96 | 0.666786 | 1,401 | 11,128 | 4.897216 | 0.052106 | 0.086722 | 0.136423 | 0.087742 | 0.950007 | 0.947675 | 0.947675 | 0.920857 | 0.912695 | 0.910946 | 0 | 0.021861 | 0.214863 | 11,128 | 314 | 97 | 35.43949 | 0.76342 | 0.007099 | 0 | 0.605839 | 0 | 0 | 0.23466 | 0.148464 | 0 | 0 | 0 | 0 | 0.193431 | 1 | 0.021898 | false | 0 | 0.007299 | 0.00365 | 0.032847 | 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 |
cddacbca2c53c0f1365d5fb85ded19bd7f5ca898 | 198 | py | Python | src/domain/schedule/schedule_id_generator.py | masterWeber/showtimes | 90cf8009ff82887bf117f7d1aedab8c5f3893a1c | [
"MIT"
] | null | null | null | src/domain/schedule/schedule_id_generator.py | masterWeber/showtimes | 90cf8009ff82887bf117f7d1aedab8c5f3893a1c | [
"MIT"
] | null | null | null | src/domain/schedule/schedule_id_generator.py | masterWeber/showtimes | 90cf8009ff82887bf117f7d1aedab8c5f3893a1c | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from src.domain.schedule.schedule_id import ScheduleId
class ScheduleIdGenerator(ABC):
@abstractmethod
def generate(self) -> ScheduleId:
pass
| 18 | 54 | 0.747475 | 22 | 198 | 6.681818 | 0.681818 | 0.231293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186869 | 198 | 10 | 55 | 19.8 | 0.913043 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a80bb100bb9b2cff45a4340c6b91c8b830ff15e1 | 49 | py | Python | Python/helloworld.py | rstar900/Hacktoberfest2019-2 | e3a9d8ffcbf8f444a3707c5da0e3d203d88aafa8 | [
"MIT"
] | null | null | null | Python/helloworld.py | rstar900/Hacktoberfest2019-2 | e3a9d8ffcbf8f444a3707c5da0e3d203d88aafa8 | [
"MIT"
] | null | null | null | Python/helloworld.py | rstar900/Hacktoberfest2019-2 | e3a9d8ffcbf8f444a3707c5da0e3d203d88aafa8 | [
"MIT"
] | null | null | null | print("Hello world, I am Aditya Rajneesh Singh.") | 49 | 49 | 0.755102 | 8 | 49 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 1 | 49 | 49 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0.8 | 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 |
b52277ae3746e5516cf6c8461e20e0edfc7f95d8 | 57 | py | Python | dnsblackhole/cli.py | sparksammy/dns-blackhole | a1102bb30eba45d4c1cce7b9d4dca011f5ff111c | [
"MIT"
] | 18 | 2017-11-20T05:19:11.000Z | 2021-10-21T11:13:38.000Z | dnsblackhole/cli.py | sparksammy/dns-blackhole | a1102bb30eba45d4c1cce7b9d4dca011f5ff111c | [
"MIT"
] | 2 | 2017-10-30T05:06:44.000Z | 2018-11-19T12:41:12.000Z | dnsblackhole/cli.py | sparksammy/dns-blackhole | a1102bb30eba45d4c1cce7b9d4dca011f5ff111c | [
"MIT"
] | 4 | 2018-10-01T12:59:51.000Z | 2020-12-23T17:54:47.000Z | import dnsblackhole
def main():
dnsblackhole.main()
| 11.4 | 23 | 0.719298 | 6 | 57 | 6.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 57 | 4 | 24 | 14.25 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a922b81348cf9fd22468d6d7e609b5a008ceadb1 | 105 | py | Python | parlai/agents/transformer/generator_tokentype.py | luungoc2005/ParlAI | 6434f8c5d975d7dc3586d8e978a29c6667a0ed7b | [
"MIT"
] | null | null | null | parlai/agents/transformer/generator_tokentype.py | luungoc2005/ParlAI | 6434f8c5d975d7dc3586d8e978a29c6667a0ed7b | [
"MIT"
] | null | null | null | parlai/agents/transformer/generator_tokentype.py | luungoc2005/ParlAI | 6434f8c5d975d7dc3586d8e978a29c6667a0ed7b | [
"MIT"
] | null | null | null | from .transformer import TransformerGeneratorWithTokenTypeAgent as GeneratorTokentypeAgent # noqa: F401
| 52.5 | 104 | 0.87619 | 8 | 105 | 11.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031579 | 0.095238 | 105 | 1 | 105 | 105 | 0.936842 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a94748bb35ca2fc4e72cd0987bbcfaae3a974a5b | 174 | py | Python | robotics/core/StateMachine.py | simonhunt/student-robotics-2017 | 6b25cccb81ad63206c88bc3b856b9c6877a7d179 | [
"MIT"
] | null | null | null | robotics/core/StateMachine.py | simonhunt/student-robotics-2017 | 6b25cccb81ad63206c88bc3b856b9c6877a7d179 | [
"MIT"
] | null | null | null | robotics/core/StateMachine.py | simonhunt/student-robotics-2017 | 6b25cccb81ad63206c88bc3b856b9c6877a7d179 | [
"MIT"
] | null | null | null | class StateMachine(object):
def __init__(self, initial_state):
self.state = initial_state
def testBehaviour(self):
return self.state.testBehaviour()
| 24.857143 | 41 | 0.695402 | 19 | 174 | 6.052632 | 0.526316 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212644 | 174 | 6 | 42 | 29 | 0.839416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a96ec4f66b9904fd7fc63e5046c366e37205117b | 170 | py | Python | fileio/pandapickle.py | matthewdippel/pandas-utils | 426ff13cb78aa135580844a8dd620a519de58cf7 | [
"MIT"
] | null | null | null | fileio/pandapickle.py | matthewdippel/pandas-utils | 426ff13cb78aa135580844a8dd620a519de58cf7 | [
"MIT"
] | null | null | null | fileio/pandapickle.py | matthewdippel/pandas-utils | 426ff13cb78aa135580844a8dd620a519de58cf7 | [
"MIT"
] | null | null | null | __author__ = 'mdippel'
import pandas as pd
def read_pickle_to_df(fname):
return pd.read_pickle(fname)
def write_df_to_pickle(df, fname):
pd.to_pickle(df, fname) | 21.25 | 34 | 0.752941 | 29 | 170 | 4 | 0.482759 | 0.181034 | 0.172414 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 170 | 8 | 35 | 21.25 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.040936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 |
8d1d26b7ed074b34572cd93004da4a1ad5ef4c34 | 200 | py | Python | source/code/glyphNanny/tests/__init__.py | typesupply/glyph-nanny | a134f6915e1606ffa243879da85138ae8fa96d6a | [
"MIT"
] | 36 | 2015-03-08T19:02:04.000Z | 2021-10-10T22:52:55.000Z | build/Glyph Nanny.roboFontExt/lib/glyphNanny/tests/__init__.py | typesupply/glyph-nanny | a134f6915e1606ffa243879da85138ae8fa96d6a | [
"MIT"
] | 29 | 2015-05-13T11:36:53.000Z | 2021-12-12T22:29:38.000Z | source/code/glyphNanny/tests/__init__.py | typesupply/glyph-nanny | a134f6915e1606ffa243879da85138ae8fa96d6a | [
"MIT"
] | 10 | 2015-03-19T08:50:37.000Z | 2021-06-07T09:23:28.000Z | # Import to trigger the registration
# of the representation factories
from . import glyphInfo
from . import glyph
from . import metrics
from . import contour
from . import segment
from . import point | 25 | 36 | 0.79 | 27 | 200 | 5.851852 | 0.555556 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | 200 | 8 | 37 | 25 | 0.951807 | 0.33 | 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 |
8d570f09251827025d87295eb740ce9d63e13f00 | 1,887 | py | Python | tests/api/cors_test.py | OhBonsai/flask-boilerplate | 51c165e19ec47cf3aeee5c20ed12093a87131af7 | [
"Apache-2.0"
] | 2 | 2019-01-21T05:44:48.000Z | 2021-06-02T20:18:39.000Z | tests/api/cors_test.py | OhBonsai/flask-boilerplate | 51c165e19ec47cf3aeee5c20ed12093a87131af7 | [
"Apache-2.0"
] | null | null | null | tests/api/cors_test.py | OhBonsai/flask-boilerplate | 51c165e19ec47cf3aeee5c20ed12093a87131af7 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Created by OhBonsai at 2018/3/13
from werkzeug.datastructures import Headers
ORIGIN = 'https://www.google.com'
def test_no_cors(client):
response = client.get('/')
assert 'Access-Control-Allow-Origin' not in response.headers
assert 'Access-Control-Allow-Credentials' not in response.head... | 37.74 | 82 | 0.72761 | 237 | 1,887 | 5.755274 | 0.172996 | 0.171554 | 0.211144 | 0.140762 | 0.797654 | 0.797654 | 0.797654 | 0.740469 | 0.667155 | 0.629765 | 0 | 0.004905 | 0.135665 | 1,887 | 49 | 83 | 38.510204 | 0.831392 | 0.023847 | 0 | 0.617647 | 0 | 0 | 0.33714 | 0.282762 | 0 | 0 | 0 | 0 | 0.470588 | 1 | 0.117647 | false | 0 | 0.029412 | 0 | 0.147059 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8d768dea0a52d7218f59ff2ea080bb907b0ca151 | 23 | py | Python | deepclassifier/layers/__init__.py | codewithzichao/DeepClassifier | c07e8041a2aca855fed9bf69fd571f1cbd5ec032 | [
"Apache-2.0"
] | 22 | 2020-12-19T09:48:04.000Z | 2022-03-12T08:51:03.000Z | deepclassifier/layers/__init__.py | codewithzichao/DeepClassifier | c07e8041a2aca855fed9bf69fd571f1cbd5ec032 | [
"Apache-2.0"
] | null | null | null | deepclassifier/layers/__init__.py | codewithzichao/DeepClassifier | c07e8041a2aca855fed9bf69fd571f1cbd5ec032 | [
"Apache-2.0"
] | 7 | 2020-12-19T10:01:30.000Z | 2021-06-07T08:28:05.000Z | from .lstm import LSTM
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 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 |
a5db35116cde9109e88f0fdb359960c4d554c4f3 | 25 | py | Python | pycontrolsystem/Server/Drivers/AIMDriver/__init__.py | DanielWinklehner/pycontrolsystem | b34ee9f463bf1d37e3892a00d313efe0708cc4c7 | [
"MIT"
] | 1 | 2019-05-19T23:50:36.000Z | 2019-05-19T23:50:36.000Z | pycontrolsystem/Server/Drivers/AIMDriver/__init__.py | DanielWinklehner/pycontrolsystem | b34ee9f463bf1d37e3892a00d313efe0708cc4c7 | [
"MIT"
] | null | null | null | pycontrolsystem/Server/Drivers/AIMDriver/__init__.py | DanielWinklehner/pycontrolsystem | b34ee9f463bf1d37e3892a00d313efe0708cc4c7 | [
"MIT"
] | null | null | null | from .AIMDriver import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
570c3ea333fc36b79f79fb012276ceba1c17196d | 102 | py | Python | experiments/train/setups/__init__.py | didriknielsen/pixelcnn_flow | 9030f6a66d5ff83d7d299541ed55b20b20bb9a15 | [
"MIT"
] | 25 | 2020-02-12T00:35:48.000Z | 2021-09-18T14:30:43.000Z | experiments/train/setups/__init__.py | didriknielsen/pixelcnn_flow | 9030f6a66d5ff83d7d299541ed55b20b20bb9a15 | [
"MIT"
] | 1 | 2021-08-05T10:00:04.000Z | 2021-08-10T11:11:16.000Z | experiments/train/setups/__init__.py | didriknielsen/pixelcnn_flow | 9030f6a66d5ff83d7d299541ed55b20b20bb9a15 | [
"MIT"
] | null | null | null | from .base_setup import BaseSetup
from .categorical_image_flow_setup import CategoricalImageFlowSetup
| 34 | 67 | 0.901961 | 12 | 102 | 7.333333 | 0.75 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 102 | 2 | 68 | 51 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
571fabd0e6708e8e1bb8b36ef9c86fa866242d4d | 120 | py | Python | nst/modules/__init__.py | Gradient-PG/live-nst | 02244172646375ff4a4a417bc8220064fadae5a9 | [
"MIT"
] | 5 | 2022-02-09T19:31:06.000Z | 2022-02-25T18:38:18.000Z | nst/modules/__init__.py | Gradient-PG/live-nst | 02244172646375ff4a4a417bc8220064fadae5a9 | [
"MIT"
] | 3 | 2022-02-25T22:26:42.000Z | 2022-03-19T11:21:46.000Z | nst/modules/__init__.py | Gradient-PG/live-nst | 02244172646375ff4a4a417bc8220064fadae5a9 | [
"MIT"
] | null | null | null | from nst.modules.feature_extractor import FeatureExtractor
from nst.modules.image_transformer import TransformerNetwork
| 40 | 60 | 0.9 | 14 | 120 | 7.571429 | 0.714286 | 0.132075 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 120 | 2 | 61 | 60 | 0.946429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
572c5a07bd0ad8bdfc7a79687354a44dc62cda8b | 17,258 | py | Python | tests/test_objects.py | skelevision/skelevision | 52e5a9463ad9bf68c4944b4de4bf7d649fde00f6 | [
"BSD-3-Clause"
] | 1 | 2019-11-19T21:14:17.000Z | 2019-11-19T21:14:17.000Z | tests/test_objects.py | RCoanda/skelevision | 52e5a9463ad9bf68c4944b4de4bf7d649fde00f6 | [
"BSD-3-Clause"
] | null | null | null | tests/test_objects.py | RCoanda/skelevision | 52e5a9463ad9bf68c4944b4de4bf7d649fde00f6 | [
"BSD-3-Clause"
] | 2 | 2019-11-03T17:30:09.000Z | 2019-11-07T16:20:28.000Z | import os
import pytest
from skelevision import TraceLog, IllegalLogAction
HERE = os.path.dirname(os.path.abspath(__file__))
DATA = os.path.join(HERE, "datasets")
class TestTraceLog(object):
def test_constructor(self):
d = {("a", "b", "c"): 2, ("a", "f"): 1}
tl = TraceLog(d)
for k, v i... | 26.388379 | 88 | 0.35062 | 2,115 | 17,258 | 2.764066 | 0.059102 | 0.019158 | 0.020527 | 0.033527 | 0.806705 | 0.777797 | 0.773007 | 0.76856 | 0.751625 | 0.743756 | 0 | 0.04758 | 0.436146 | 17,258 | 654 | 89 | 26.388379 | 0.553181 | 0.013385 | 0 | 0.594444 | 0 | 0 | 0.063745 | 0.002703 | 0 | 0 | 0 | 0 | 0.159259 | 1 | 0.059259 | false | 0 | 0.005556 | 0 | 0.066667 | 0.001852 | 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 |
9e2536321f61bbbd9e8d1654b62afdb9db67d2b9 | 362 | py | Python | machete/templates/_base/packagesample/modules/module.py | jayvdb/machete | 947ea26200dbad9ef086eb6907eceec9fb715cdb | [
"MIT"
] | null | null | null | machete/templates/_base/packagesample/modules/module.py | jayvdb/machete | 947ea26200dbad9ef086eb6907eceec9fb715cdb | [
"MIT"
] | 2 | 2015-01-06T13:22:41.000Z | 2020-01-21T10:14:04.000Z | machete/templates/_base/packagesample/modules/module.py | jayvdb/machete | 947ea26200dbad9ef086eb6907eceec9fb715cdb | [
"MIT"
] | 1 | 2020-01-14T16:02:05.000Z | 2020-01-14T16:02:05.000Z | # -*- coding: UTF-8 -*-
from packagesample import __version__
# from packagesample import __chicken__
from packagesample import log
import __builtin__
def main():
log.info("hello world packagesample.modules.module v" + __version__)
log.debug("chicken: " + str(__builtin__.chicken))
return "hello world pack... | 30.166667 | 72 | 0.754144 | 42 | 362 | 5.928571 | 0.5 | 0.204819 | 0.277108 | 0.240964 | 0.353414 | 0.353414 | 0.353414 | 0 | 0 | 0 | 0 | 0.003236 | 0.146409 | 362 | 11 | 73 | 32.909091 | 0.802589 | 0.162983 | 0 | 0 | 0 | 0 | 0.31 | 0.186667 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f56d7749232bf2f0d4928729ff89d28e8fbec7bd | 1,341 | py | Python | test_search.py | seanstappas/dynamic-connect-4 | f6106f71ac8779513cd80a2f46397bb778e21018 | [
"MIT"
] | 1 | 2020-08-21T03:05:08.000Z | 2020-08-21T03:05:08.000Z | test_search.py | seanstappas/dynamic-connect-4 | f6106f71ac8779513cd80a2f46397bb778e21018 | [
"MIT"
] | null | null | null | test_search.py | seanstappas/dynamic-connect-4 | f6106f71ac8779513cd80a2f46397bb778e21018 | [
"MIT"
] | null | null | null | from connect_four import file_to_state, print_state
from search import iterative_dfs_negamax
if __name__ == '__main__':
state = file_to_state('states/test_state_search_1.txt')
print_state(state)
action = iterative_dfs_negamax(state, 20, 5, white_player=False)
state = file_to_state('states/test_state_s... | 36.243243 | 69 | 0.752424 | 201 | 1,341 | 4.597015 | 0.159204 | 0.058442 | 0.107143 | 0.138528 | 0.895022 | 0.895022 | 0.895022 | 0.895022 | 0.854978 | 0.854978 | 0 | 0.034121 | 0.147651 | 1,341 | 36 | 70 | 37.25 | 0.774278 | 0 | 0 | 0.518519 | 0 | 0 | 0.18209 | 0.176119 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.074074 | 0 | 0.074074 | 0.333333 | 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 |
194ae0faf4558fa86e672f75f9474302f4dc3283 | 185 | py | Python | d4cnn/__init__.py | mariogeiger/d4cnn | 062339e8794e5639eba01df4a5783e1e4529f8af | [
"MIT"
] | null | null | null | d4cnn/__init__.py | mariogeiger/d4cnn | 062339e8794e5639eba01df4a5783e1e4529f8af | [
"MIT"
] | null | null | null | d4cnn/__init__.py | mariogeiger/d4cnn | 062339e8794e5639eba01df4a5783e1e4529f8af | [
"MIT"
] | null | null | null | # pylint: disable=missing-docstring
from .conv import D4ConvRR
from .conv import D4ConvRI
from .conv import D4ConvIR
from .batchnorm import D4BatchNorm2d
from .wrapper import D4Wrapper
| 26.428571 | 36 | 0.827027 | 24 | 185 | 6.375 | 0.583333 | 0.156863 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.124324 | 185 | 6 | 37 | 30.833333 | 0.907407 | 0.178378 | 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 |
19889aadd45338f795858c39c4b88cbd1fbaa609 | 33 | py | Python | msgess/__init__.py | vitlabuda/msgess-python | a9b9263d3da682d5cc6a0a96d418bb2e059b1802 | [
"BSD-3-Clause"
] | null | null | null | msgess/__init__.py | vitlabuda/msgess-python | a9b9263d3da682d5cc6a0a96d418bb2e059b1802 | [
"BSD-3-Clause"
] | null | null | null | msgess/__init__.py | vitlabuda/msgess-python | a9b9263d3da682d5cc6a0a96d418bb2e059b1802 | [
"BSD-3-Clause"
] | null | null | null | from msgess.msgess import MsgESS
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.6 | 0.6 | 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 |
272dd8c9e1cb238a94f8228cab4a0df33a291b6f | 519 | py | Python | app/views/exceptions.py | hezmondo/lulu | 507a863f00086e827e4063d0666a4d97f10941c6 | [
"MIT"
] | null | null | null | app/views/exceptions.py | hezmondo/lulu | 507a863f00086e827e4063d0666a4d97f10941c6 | [
"MIT"
] | 7 | 2021-03-03T00:25:30.000Z | 2021-03-30T14:38:30.000Z | app/views/exceptions.py | hezmondo/lulu | 507a863f00086e827e4063d0666a4d97f10941c6 | [
"MIT"
] | null | null | null | from app.views.exception_template import ExceptionTemplate
class RentIntegerException(ExceptionTemplate):
pass
class MailToException(ExceptionTemplate):
pass
class PayRequestException(ExceptionTemplate):
pass
class MissingDataException(ExceptionTemplate):
pass
class DbUpdateException(Exception... | 15.264706 | 58 | 0.803468 | 39 | 519 | 10.666667 | 0.435897 | 0.403846 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146435 | 519 | 33 | 59 | 15.727273 | 0.939052 | 0 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.470588 | 0.058824 | 0 | 0.529412 | 0 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
2769a61bbb1b315fcfcd277590c7cac90222d350 | 37 | py | Python | dataloaders/__init__.py | LINA-lln/Steering-KernelNet | 73a38caef7ba10aae11533c2b59705b08b541741 | [
"MIT"
] | 6 | 2021-08-16T12:11:52.000Z | 2021-09-13T10:36:16.000Z | dataloaders/__init__.py | LINA-lln/Steering-KernelNet | 73a38caef7ba10aae11533c2b59705b08b541741 | [
"MIT"
] | null | null | null | dataloaders/__init__.py | LINA-lln/Steering-KernelNet | 73a38caef7ba10aae11533c2b59705b08b541741 | [
"MIT"
] | 1 | 2021-07-05T08:13:21.000Z | 2021-07-05T08:13:21.000Z | from .data_loader import get_loader
| 12.333333 | 35 | 0.837838 | 6 | 37 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 2 | 36 | 18.5 | 0.90625 | 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 |
27ad9a6bce32d886538609b992a72443f8347f35 | 7 | py | Python | Lib/test/test_compiler/testcorpus/03_list.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 1,886 | 2021-05-03T23:58:43.000Z | 2022-03-31T19:15:58.000Z | Lib/test/test_compiler/testcorpus/03_list.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 70 | 2021-05-04T23:25:35.000Z | 2022-03-31T18:42:08.000Z | Lib/test/test_compiler/testcorpus/03_list.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 52 | 2021-05-04T21:26:03.000Z | 2022-03-08T18:02:56.000Z | [a, b]
| 3.5 | 6 | 0.285714 | 2 | 7 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 7 | 1 | 7 | 7 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
27d499f2d15c253a0c3691af6852a7e560586eb2 | 30 | py | Python | lesson6_hw/test.py | Nwke/Python-Course-HW | 29ae6449b53dfb2169ed6115b19bff4bd763120c | [
"MIT"
] | null | null | null | lesson6_hw/test.py | Nwke/Python-Course-HW | 29ae6449b53dfb2169ed6115b19bff4bd763120c | [
"MIT"
] | null | null | null | lesson6_hw/test.py | Nwke/Python-Course-HW | 29ae6449b53dfb2169ed6115b19bff4bd763120c | [
"MIT"
] | null | null | null | import os
print(os.getcwd()) | 7.5 | 18 | 0.7 | 5 | 30 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 4 | 18 | 7.5 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
27dcd890a5d26ce1c1f8b333696dd383a20f7a9f | 1,753 | py | Python | tests/plantcv/visualize/test_overlay_two_imgs.py | ygarrot/plantcv | e934a891e0d1bf8987ca6a9f982a4ac1f420bfe7 | [
"MIT"
] | 1 | 2022-02-03T12:08:59.000Z | 2022-02-03T12:08:59.000Z | tests/plantcv/visualize/test_overlay_two_imgs.py | HUISTENCOFFEE/plantcv | f38f7de53663522eb770870b70823d5fc46d0c0f | [
"MIT"
] | null | null | null | tests/plantcv/visualize/test_overlay_two_imgs.py | HUISTENCOFFEE/plantcv | f38f7de53663522eb770870b70823d5fc46d0c0f | [
"MIT"
] | null | null | null | import pytest
import cv2
import numpy as np
from plantcv.plantcv.visualize import overlay_two_imgs
def test_overlay_two_imgs(visualize_test_data):
"""Test for PlantCV."""
img1 = cv2.imread(visualize_test_data.small_rgb_img)
img2 = cv2.imread(visualize_test_data.small_bin_img)
out_img = overlay_two_img... | 35.77551 | 63 | 0.707359 | 280 | 1,753 | 4.103571 | 0.167857 | 0.124456 | 0.16275 | 0.13403 | 0.855527 | 0.798085 | 0.771976 | 0.771976 | 0.771976 | 0.771976 | 0 | 0.062371 | 0.167712 | 1,753 | 48 | 64 | 36.520833 | 0.725154 | 0.040502 | 0 | 0.472222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.222222 | 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 |
fde57e31580f85779166e84032100d9592e22200 | 124 | py | Python | apps/finance/views.py | gengyuming/BingLiBusiness | c6035c00f6152b42c5a1fd5351ebed2c2829ddfe | [
"Apache-2.0"
] | null | null | null | apps/finance/views.py | gengyuming/BingLiBusiness | c6035c00f6152b42c5a1fd5351ebed2c2829ddfe | [
"Apache-2.0"
] | null | null | null | apps/finance/views.py | gengyuming/BingLiBusiness | c6035c00f6152b42c5a1fd5351ebed2c2829ddfe | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
# Create your views here.
from django.conf import settings
print(settings.AES_KEY)
| 12.4 | 35 | 0.790323 | 18 | 124 | 5.388889 | 0.777778 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153226 | 124 | 9 | 36 | 13.777778 | 0.92381 | 0.185484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a904ca2de42748bc04e3557bd2dda0a5cb4b1327 | 23,350 | py | Python | data/projects/flutils/tests/integration/test_txtutils.py | se2p/artifact-pynguin-ssbse2020 | 32b5f4d27ef1b81e5c541471e98fa6e50f5ce8a6 | [
"CC-BY-4.0"
] | 3 | 2020-08-20T10:27:13.000Z | 2021-11-02T20:28:16.000Z | data/projects/flutils/tests/integration/test_txtutils.py | se2p/artifact-pynguin-ssbse2020 | 32b5f4d27ef1b81e5c541471e98fa6e50f5ce8a6 | [
"CC-BY-4.0"
] | null | null | null | data/projects/flutils/tests/integration/test_txtutils.py | se2p/artifact-pynguin-ssbse2020 | 32b5f4d27ef1b81e5c541471e98fa6e50f5ce8a6 | [
"CC-BY-4.0"
] | null | null | null | import unittest
# noinspection PyProtectedMember
from flutils.txtutils import (
AnsiTextWrapper,
len_without_ansi,
)
def _build_msg(expected: str, got: str) -> str:
return '\n\n<Expected:>\n%s\n<Got:>\n%s\n<End>\n' % (expected, got)
class TestTextUtilsLenWithoutAnsi(unittest.TestCase):
def test_li... | 42.687386 | 79 | 0.586338 | 2,763 | 23,350 | 4.875136 | 0.087948 | 0.020267 | 0.018708 | 0.024944 | 0.881589 | 0.833927 | 0.774907 | 0.735189 | 0.718337 | 0.696733 | 0 | 0.033751 | 0.309722 | 23,350 | 546 | 80 | 42.765568 | 0.801961 | 0.03636 | 0 | 0.622951 | 0 | 0.008197 | 0.473843 | 0.069528 | 0 | 0 | 0 | 0 | 0.067623 | 1 | 0.063525 | false | 0 | 0.004098 | 0.002049 | 0.07377 | 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 |
8bf13725cf4448245c3ca9b2b31ceddf9bb1e789 | 12,743 | py | Python | pycvodes/__init__.py | jeremyagray/pycvodes | 3536371bf2fc1a143b8a8a40dc10d2cf3b069374 | [
"BSD-2-Clause"
] | 27 | 2016-09-28T16:45:48.000Z | 2021-11-08T09:28:24.000Z | pycvodes/__init__.py | jeremyagray/pycvodes | 3536371bf2fc1a143b8a8a40dc10d2cf3b069374 | [
"BSD-2-Clause"
] | 26 | 2016-02-04T09:58:35.000Z | 2021-06-04T20:01:22.000Z | pycvodes/__init__.py | jeremyagray/pycvodes | 3536371bf2fc1a143b8a8a40dc10d2cf3b069374 | [
"BSD-2-Clause"
] | 8 | 2017-01-12T19:28:03.000Z | 2020-10-29T16:28:30.000Z | # -*- coding: utf-8 -*-
"""
Python binding for cvodes from the sundials library.
"""
from __future__ import division, absolute_import
import numpy as np
from ._cvodes import (
adaptive, predefined, requires_jac, steppers, fpes, iterative_linsols, sundials_version, env as config
)
from ._util import _check_callabl... | 44.400697 | 106 | 0.606843 | 1,605 | 12,743 | 4.715265 | 0.186916 | 0.005285 | 0.02907 | 0.021142 | 0.872886 | 0.871829 | 0.864429 | 0.864429 | 0.853594 | 0.843552 | 0 | 0.013262 | 0.283999 | 12,743 | 286 | 107 | 44.555944 | 0.816199 | 0.740171 | 0 | 0.347826 | 0 | 0 | 0.023351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065217 | false | 0 | 0.130435 | 0 | 0.26087 | 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 |
8b4c0130d8ef5bab307637040de53a3818324cf9 | 107 | py | Python | tests/test_version.py | credo-ai/credoai_lens | fac0d21b69fa86fc7ab8c2a748c0631ec15fdccc | [
"Apache-2.0"
] | 11 | 2021-12-16T19:04:12.000Z | 2022-03-15T23:41:30.000Z | tests/test_version.py | credo-ai/credoai_lens | fac0d21b69fa86fc7ab8c2a748c0631ec15fdccc | [
"Apache-2.0"
] | 72 | 2021-12-22T22:06:46.000Z | 2022-03-31T15:25:23.000Z | tests/test_version.py | credo-ai/credoai_lens | fac0d21b69fa86fc7ab8c2a748c0631ec15fdccc | [
"Apache-2.0"
] | null | null | null | import pytest
from credoai import __version__
def test_version():
assert isinstance(__version__, str)
| 17.833333 | 39 | 0.794393 | 13 | 107 | 5.846154 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 5 | 40 | 21.4 | 0.835165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b544486cf617953b00811799bedcf333ba0e062 | 111 | py | Python | __init__.py | martync/zython | e008bbb33e212f0856e85b8594003402e0a635c0 | [
"Beerware"
] | null | null | null | __init__.py | martync/zython | e008bbb33e212f0856e85b8594003402e0a635c0 | [
"Beerware"
] | 5 | 2020-06-05T21:26:16.000Z | 2022-01-13T01:21:27.000Z | __init__.py | martync/zython | e008bbb33e212f0856e85b8594003402e0a635c0 | [
"Beerware"
] | null | null | null | import sys
sys.path.append("../../apps/")
sys.path.append("../../apps-ext/")
sys.path.append("../../projects/") | 27.75 | 34 | 0.603604 | 15 | 111 | 4.466667 | 0.466667 | 0.313433 | 0.58209 | 0.507463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 111 | 4 | 35 | 27.75 | 0.626168 | 0 | 0 | 0 | 0 | 0 | 0.366071 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b58c6dbaf5bf9382123739c12888879fdcab6ae | 162 | py | Python | pensa/__init__.py | NeilJ-Thomson/pensa | f2cc586ad8c4b60177051fc9a5d2da087ac1b6fb | [
"MIT"
] | 55 | 2020-11-18T07:03:46.000Z | 2022-03-29T02:47:10.000Z | pensa/__init__.py | NeilJ-Thomson/pensa | f2cc586ad8c4b60177051fc9a5d2da087ac1b6fb | [
"MIT"
] | 11 | 2020-11-18T16:43:43.000Z | 2022-02-22T20:02:22.000Z | pensa/__init__.py | NeilJ-Thomson/pensa | f2cc586ad8c4b60177051fc9a5d2da087ac1b6fb | [
"MIT"
] | 11 | 2020-11-19T04:34:36.000Z | 2022-03-01T23:48:57.000Z | from .preprocessing import *
from .features import *
from .statesinfo import *
from .clusters import *
from .comparison import *
from .dimensionality import *
| 20.25 | 29 | 0.759259 | 18 | 162 | 6.833333 | 0.444444 | 0.406504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 162 | 7 | 30 | 23.142857 | 0.911111 | 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 |
47d9a75282f9a1c1a4221c1ec2149535886060ab | 124 | py | Python | katas/kyu_6/counting_duplicates.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_6/counting_duplicates.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_6/counting_duplicates.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | from collections import Counter
def duplicate_count(text):
return sum(a >= 2 for a in Counter(text.lower()).values())
| 20.666667 | 62 | 0.717742 | 19 | 124 | 4.631579 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.16129 | 124 | 5 | 63 | 24.8 | 0.836538 | 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 |
9a3081af7d15a3a668bc1435ac07004dfec3f164 | 158 | py | Python | 3/armstrong_numbers.py | orionoiro/epam_hws | 540e3554974764077eb36269841e6276520959f8 | [
"MIT"
] | null | null | null | 3/armstrong_numbers.py | orionoiro/epam_hws | 540e3554974764077eb36269841e6276520959f8 | [
"MIT"
] | null | null | null | 3/armstrong_numbers.py | orionoiro/epam_hws | 540e3554974764077eb36269841e6276520959f8 | [
"MIT"
] | null | null | null | import functools
def is_armstrong(number):
return number == functools.reduce(lambda x, y: x + y, [int(num) ** len(str(number)) for num in str(number)])
| 26.333333 | 112 | 0.683544 | 25 | 158 | 4.28 | 0.68 | 0.037383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 158 | 5 | 113 | 31.6 | 0.810606 | 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 |
9a4c193fdb94760f75b3872e7361fed8b000c8ee | 109 | py | Python | helpers/threading.py | TheShellLand/youuuuuuutubedl | e6aee6ffc9d563806eb3cce570ffa97d77037b25 | [
"MIT"
] | null | null | null | helpers/threading.py | TheShellLand/youuuuuuutubedl | e6aee6ffc9d563806eb3cce570ffa97d77037b25 | [
"MIT"
] | 4 | 2020-08-09T21:26:24.000Z | 2021-06-30T17:33:37.000Z | helpers/threading.py | TheShellLand/youuuuuuutubedl | e6aee6ffc9d563806eb3cce570ffa97d77037b25 | [
"MIT"
] | null | null | null | import subprocess
from subprocess import PIPE
import threading
# TODO: Move threading operations into here
| 15.571429 | 43 | 0.825688 | 14 | 109 | 6.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155963 | 109 | 6 | 44 | 18.166667 | 0.978261 | 0.376147 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d0310d02b9f4714bb67b1d6ea25a007888b8ee83 | 48 | py | Python | blagues_api/__init__.py | CodeElevator/blagues-api-py | 8c4a1a1b03a949df2a91c64f493be0dd0386e9a1 | [
"MIT"
] | 5 | 2021-06-03T04:56:34.000Z | 2022-03-09T10:17:08.000Z | blagues_api/__init__.py | CodeElevator/blagues-api-py | 8c4a1a1b03a949df2a91c64f493be0dd0386e9a1 | [
"MIT"
] | 1 | 2021-06-13T13:03:46.000Z | 2021-06-13T13:11:11.000Z | blagues_api/__init__.py | CodeElevator/blagues-api-py | 8c4a1a1b03a949df2a91c64f493be0dd0386e9a1 | [
"MIT"
] | 3 | 2021-06-10T16:36:19.000Z | 2022-03-09T07:19:42.000Z | from .main import BlaguesAPI, BlagueType, Blague | 48 | 48 | 0.833333 | 6 | 48 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 1 | 48 | 48 | 0.930233 | 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 |
d084e5e9dd69ded81c1d3a9098cc730b11b8c65c | 205 | py | Python | weaver/lib/models.py | zhangcandrew/weaver | acfb1fc372205488dd3be09323909f5049648998 | [
"MIT"
] | null | null | null | weaver/lib/models.py | zhangcandrew/weaver | acfb1fc372205488dd3be09323909f5049648998 | [
"MIT"
] | null | null | null | weaver/lib/models.py | zhangcandrew/weaver | acfb1fc372205488dd3be09323909f5049648998 | [
"MIT"
] | null | null | null | """Data Retriever Data Model
This module contains basic class definitions for the Retriever platform.
"""
from weaver.lib.cleanup import *
from weaver.lib.engine import *
from weaver.lib.table import *
| 20.5 | 72 | 0.77561 | 29 | 205 | 5.482759 | 0.655172 | 0.188679 | 0.245283 | 0.238994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 205 | 9 | 73 | 22.777778 | 0.908571 | 0.482927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d0a01b86f1f05022aea614bb4f8412f3ff55628e | 739 | py | Python | Python/creational_patterns/abstract_factory/list_factory/list_factory.py | ploukareas/Design-Patterns | 8effde38d73ae9058c3028c97ef395644a90d55b | [
"BSD-3-Clause",
"MIT"
] | 28 | 2018-09-28T07:45:35.000Z | 2022-02-12T12:25:05.000Z | Python/creational_patterns/abstract_factory/list_factory/list_factory.py | ploukareas/Design-Patterns | 8effde38d73ae9058c3028c97ef395644a90d55b | [
"BSD-3-Clause",
"MIT"
] | null | null | null | Python/creational_patterns/abstract_factory/list_factory/list_factory.py | ploukareas/Design-Patterns | 8effde38d73ae9058c3028c97ef395644a90d55b | [
"BSD-3-Clause",
"MIT"
] | 5 | 2021-05-10T23:19:55.000Z | 2022-03-04T20:26:35.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# ˅
from creational_patterns.abstract_factory.factory.factory import Factory
from creational_patterns.abstract_factory.list_factory.list_data import ListData
from creational_patterns.abstract_factory.list_factory.list_link import ListLink
from creational_patterns.abstract_f... | 18.475 | 80 | 0.644114 | 94 | 739 | 5.031915 | 0.340426 | 0.139535 | 0.186047 | 0.2537 | 0.408034 | 0.32981 | 0.32981 | 0.32981 | 0 | 0 | 0 | 0.001802 | 0.248985 | 739 | 39 | 81 | 18.948718 | 0.825225 | 0.094723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.363636 | 0.272727 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d0a6ce7c8309e37b818d71d4e041f4264d3f0471 | 273 | py | Python | app/utils.py | MaxKusnadi/tax-calculator | 9de1bd426b26e43e8cb23daca668b07dd1c68535 | [
"MIT"
] | null | null | null | app/utils.py | MaxKusnadi/tax-calculator | 9de1bd426b26e43e8cb23daca668b07dd1c68535 | [
"MIT"
] | 3 | 2018-12-05T14:55:18.000Z | 2018-12-07T15:52:00.000Z | app/utils.py | MaxKusnadi/tax-calculator | 9de1bd426b26e43e8cb23daca668b07dd1c68535 | [
"MIT"
] | null | null | null |
class Utils:
@staticmethod
def get_taxable_income(annual_income, bonus, rebates, donation):
return annual_income + bonus - rebates - (2.5 * donation)
@staticmethod
def get_annual_income(monthly_income):
return 12 * monthly_income
| 24.818182 | 68 | 0.677656 | 31 | 273 | 5.709677 | 0.516129 | 0.20339 | 0.20339 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019512 | 0.249084 | 273 | 10 | 69 | 27.3 | 0.843902 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d0fb17c43e6732efab3bacf4d77e1c7c8ddbbfe0 | 23 | py | Python | alig/tf/__init__.py | moeraza/ali-g | 342e24e139fc1e75f4bf576d0784ed886f305cf8 | [
"MIT"
] | null | null | null | alig/tf/__init__.py | moeraza/ali-g | 342e24e139fc1e75f4bf576d0784ed886f305cf8 | [
"MIT"
] | null | null | null | alig/tf/__init__.py | moeraza/ali-g | 342e24e139fc1e75f4bf576d0784ed886f305cf8 | [
"MIT"
] | null | null | null | from .alig import AliG
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.