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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c4a3b7fd35e583f4df4df37c10b28021b5e84c76 | 184 | py | Python | tensorboard/acceptance/__init__.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 296 | 2020-03-16T19:55:00.000Z | 2022-01-10T19:46:05.000Z | tensorboard/acceptance/__init__.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 57 | 2020-03-17T11:15:57.000Z | 2021-07-10T14:42:27.000Z | tensorboard/acceptance/__init__.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 38 | 2020-03-17T21:06:05.000Z | 2022-02-08T03:19:34.000Z | from .test_tensorboard_rest_api import TestTensorboardRestAPI
from .test_tensorboard_server import TestTensorboardServer
from .test_tensorboard_endpoints import TestTensorboardEndpoint | 61.333333 | 63 | 0.923913 | 19 | 184 | 8.578947 | 0.578947 | 0.147239 | 0.349693 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059783 | 184 | 3 | 63 | 61.333333 | 0.942197 | 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 | 0 | 0 | 0 | 5 |
c4b0cff3a089b5a105c23dc4c0935c7ecd2fb0ae | 70 | py | Python | checkout/orders/__init__.py | accelero-cloud/tutorials | 9a9580e60bc216bf45ec0011f6d9b6b14d5a8d03 | [
"Apache-2.0"
] | 2 | 2019-08-09T16:15:40.000Z | 2020-01-12T09:46:28.000Z | checkout/orders/__init__.py | accelero-cloud/tutorials | 9a9580e60bc216bf45ec0011f6d9b6b14d5a8d03 | [
"Apache-2.0"
] | 2 | 2021-03-31T18:48:41.000Z | 2021-12-13T19:49:46.000Z | checkout/orders/__init__.py | accelero-cloud/tutorials | 9a9580e60bc216bf45ec0011f6d9b6b14d5a8d03 | [
"Apache-2.0"
] | null | null | null | from checkout.orders.order_service import Order, AuthorisationRequest
| 35 | 69 | 0.885714 | 8 | 70 | 7.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 70 | 1 | 70 | 70 | 0.938462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c4daf560e5af757855362756ff7ad96e183b2138 | 11,798 | py | Python | pystratis/api/node/tests/test_node.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 8 | 2021-06-30T20:44:22.000Z | 2021-12-07T14:42:22.000Z | pystratis/api/node/tests/test_node.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 2 | 2021-07-01T11:50:18.000Z | 2022-01-25T18:39:49.000Z | pystratis/api/node/tests/test_node.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 4 | 2021-07-01T04:36:42.000Z | 2021-09-17T10:54:19.000Z | import pytest
import ast
from pytest_mock import MockerFixture
from pystratis.api.node import Node
from pystratis.api.node.responsemodels import *
from pystratis.api import FullNodeState, FeatureInitializationState, LogRule
from pystratis.core.networks import StraxMain, CirrusMain
@pytest.mark.parametrize('network', ... | 34.296512 | 121 | 0.653416 | 1,162 | 11,798 | 6.493115 | 0.154045 | 0.083101 | 0.044533 | 0.059377 | 0.768854 | 0.754407 | 0.747913 | 0.7222 | 0.7222 | 0.710404 | 0 | 0.016446 | 0.211477 | 11,798 | 343 | 122 | 34.396501 | 0.794582 | 0.048737 | 0 | 0.568182 | 0 | 0 | 0.145726 | 0 | 0 | 0 | 0 | 0 | 0.109848 | 1 | 0.060606 | false | 0 | 0.026515 | 0 | 0.087121 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c4e9c3ba14a1425fb2bb7e78afee5ef252184d66 | 3,704 | py | Python | pycoax/examples/40_eab.py | lowobservable/coax | 9714fdfb418dff56357b9a35d2da3a91b8a60ffe | [
"0BSD"
] | 21 | 2020-05-11T19:46:29.000Z | 2022-02-09T01:32:41.000Z | pycoax/examples/40_eab.py | lowobservable/coax-interface | 614f8a5f448b1f7e8298ced2585c178f4d7f435d | [
"0BSD"
] | null | null | null | pycoax/examples/40_eab.py | lowobservable/coax-interface | 614f8a5f448b1f7e8298ced2585c178f4d7f435d | [
"0BSD"
] | 5 | 2020-07-20T08:05:10.000Z | 2022-01-30T13:57:05.000Z | #!/usr/bin/env python
import sys
from itertools import chain
from common import open_example_serial_interface
from coax import read_feature_ids, parse_features, Feature, LoadAddressCounterHi, LoadAddressCounterLo, WriteData, EABWriteAlternate, EABLoadMask
def get_features(interface):
commands = read_feature_ids... | 49.386667 | 185 | 0.718952 | 745 | 3,704 | 3.502013 | 0.143624 | 0.351092 | 0.43005 | 0.530471 | 0.717133 | 0.664622 | 0.595631 | 0.528938 | 0.518973 | 0.518973 | 0 | 0.299033 | 0.218143 | 3,704 | 74 | 186 | 50.054054 | 0.601865 | 0.027538 | 0 | 0.157895 | 0 | 0.263158 | 0.43032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.105263 | 0.026316 | 0.210526 | 0.026316 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 5 |
c4fab5fadfd556ed33d5c8cd6a4689c230aa1b08 | 54 | py | Python | src/client/__init__.py | kyehyukahn/scp-prototype | 4e92b47ab82068a154c407c22e8c396196a31942 | [
"Apache-2.0"
] | 1 | 2018-04-10T11:00:59.000Z | 2018-04-10T11:00:59.000Z | src/client/__init__.py | kyehyukahn/scp-prototype | 4e92b47ab82068a154c407c22e8c396196a31942 | [
"Apache-2.0"
] | null | null | null | src/client/__init__.py | kyehyukahn/scp-prototype | 4e92b47ab82068a154c407c22e8c396196a31942 | [
"Apache-2.0"
] | null | null | null | from .client import send_message, MessageInfo # noqa
| 27 | 53 | 0.796296 | 7 | 54 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 1 | 54 | 54 | 0.913043 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f21c03303c0e86780d94fa0daa72a6287b00df39 | 3,721 | py | Python | stubs/workspaces.py | claytonbrown/troposphere | bf0f1e48b14f578de0221d50f711467ad716ca87 | [
"BSD-2-Clause"
] | null | null | null | stubs/workspaces.py | claytonbrown/troposphere | bf0f1e48b14f578de0221d50f711467ad716ca87 | [
"BSD-2-Clause"
] | null | null | null | stubs/workspaces.py | claytonbrown/troposphere | bf0f1e48b14f578de0221d50f711467ad716ca87 | [
"BSD-2-Clause"
] | null | null | null | from . import AWSObject, AWSProperty
from .validators import *
from .constants import *
# -------------------------------------------
class WorkSpacesWorkspace(AWSObject):
"""# AWS::WorkSpaces::Workspace - CloudFormationResourceSpecification version: 1.4.0
{
"Documentation": "http://docs.aws.amazon.com/... | 56.378788 | 228 | 0.685837 | 318 | 3,721 | 8.022013 | 0.144654 | 0.201098 | 0.056056 | 0.086633 | 0.798902 | 0.78283 | 0.699726 | 0.699726 | 0.699726 | 0.699726 | 0 | 0.000964 | 0.163934 | 3,721 | 65 | 229 | 57.246154 | 0.819029 | 0.604945 | 0 | 0 | 0 | 0.461538 | 0.715458 | 0.05472 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.230769 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4807de81e5cd93efaec1325cded4f4d3e15bd5c9 | 93 | py | Python | aaem_summaries/components/transmission/__init__.py | gina-alaska/alaska_affordable_energy_model | 96fed0137152985ce280ea37e0affec131e3087f | [
"MIT-feh"
] | 1 | 2022-01-23T07:18:36.000Z | 2022-01-23T07:18:36.000Z | aaem_summaries/components/transmission/__init__.py | gina-alaska/alaska_affordable_energy_model | 96fed0137152985ce280ea37e0affec131e3087f | [
"MIT-feh"
] | 5 | 2017-07-14T21:56:46.000Z | 2017-07-14T21:59:15.000Z | aaem_summaries/components/transmission/__init__.py | gina-alaska/alaska_affordable_energy_model | 96fed0137152985ce280ea37e0affec131e3087f | [
"MIT-feh"
] | 2 | 2020-04-28T18:12:55.000Z | 2021-01-13T01:56:57.000Z | """
__init__.py
summary for
Transmission Line in a community
"""
from summary import *
| 11.625 | 32 | 0.698925 | 12 | 93 | 5.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215054 | 93 | 7 | 33 | 13.285714 | 0.835616 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4818f40bb2961d309e93cce19f1650592ac0d462 | 123 | py | Python | src/aceinna/bootstrap/__init__.py | lihaiyong827/python-openimu | f1c536ba4182aaeabd87b63c08ebd92f97e8dbb4 | [
"Apache-2.0"
] | 41 | 2018-07-20T17:30:33.000Z | 2022-02-24T08:17:39.000Z | src/aceinna/bootstrap/__init__.py | lihaiyong827/python-openimu | f1c536ba4182aaeabd87b63c08ebd92f97e8dbb4 | [
"Apache-2.0"
] | 52 | 2018-06-25T22:15:14.000Z | 2022-03-10T07:30:56.000Z | src/aceinna/bootstrap/__init__.py | lihaiyong827/python-openimu | f1c536ba4182aaeabd87b63c08ebd92f97e8dbb4 | [
"Apache-2.0"
] | 31 | 2018-12-19T00:10:08.000Z | 2022-03-19T02:14:03.000Z | import sys
import os
import traceback
from .default import Default
from .cli import CommandLine
from .loader import Loader | 17.571429 | 28 | 0.829268 | 18 | 123 | 5.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 123 | 7 | 29 | 17.571429 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
482f35fcca776fd3b82f536d756e301830e31fbf | 83 | py | Python | libs/models/__init__.py | tonyngjichun/pspnet-pytorch | 75297aa4fdb4f7a712ef9185be1ec805044f8328 | [
"MIT"
] | 56 | 2017-12-07T12:29:14.000Z | 2021-05-14T16:45:59.000Z | libs/models/__init__.py | tonyngjichun/pspnet-pytorch | 75297aa4fdb4f7a712ef9185be1ec805044f8328 | [
"MIT"
] | 7 | 2017-12-26T09:00:23.000Z | 2019-01-14T03:55:56.000Z | libs/models/__init__.py | tonyngjichun/pspnet-pytorch | 75297aa4fdb4f7a712ef9185be1ec805044f8328 | [
"MIT"
] | 16 | 2017-12-20T00:36:51.000Z | 2020-12-31T07:41:06.000Z | from __future__ import absolute_import
from .resnet import *
from .pspnet import *
| 20.75 | 38 | 0.807229 | 11 | 83 | 5.636364 | 0.545455 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 3 | 39 | 27.666667 | 0.873239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4866676df99cb56da6528e0c45d5fc2aef3aec92 | 13,162 | py | Python | tools/harness/tests/compiler-rt_builtins.py | Harvard-PRINCESS/barrelfish-trunk-mirror | 1c98195d123046d985bb3952a591297c2ef6fdf9 | [
"MIT"
] | 4 | 2017-09-16T01:23:48.000Z | 2017-09-22T08:02:47.000Z | tools/harness/tests/compiler-rt_builtins.py | Harvard-PRINCESS/barrelfish-trunk-mirror | 1c98195d123046d985bb3952a591297c2ef6fdf9 | [
"MIT"
] | null | null | null | tools/harness/tests/compiler-rt_builtins.py | Harvard-PRINCESS/barrelfish-trunk-mirror | 1c98195d123046d985bb3952a591297c2ef6fdf9 | [
"MIT"
] | 1 | 2020-03-06T15:48:10.000Z | 2020-03-06T15:48:10.000Z | ##########################################################################
# Copyright (c) 2009, ETH Zurich.
# All rights reserved.
#
# This file is distributed under the terms in the attached LICENSE file.
# If you do not find this file, copies can be found by writing to:
# ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092... | 50.429119 | 81 | 0.677557 | 1,637 | 13,162 | 5.316433 | 0.219914 | 0.205676 | 0.278295 | 0.434793 | 0.618178 | 0.618178 | 0.039067 | 0.031483 | 0.02413 | 0.02413 | 0 | 0.013682 | 0.183711 | 13,162 | 260 | 82 | 50.623077 | 0.796351 | 0.136226 | 0 | 0.038095 | 0 | 0 | 0.655416 | 0.640376 | 0 | 0 | 0 | 0 | 0.004762 | 1 | 0.02381 | false | 0.009524 | 0.014286 | 0.004762 | 0.07619 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6f801ba5e156e09ae80a405057d4699d1492e731 | 7,182 | py | Python | barry/convert.py | jyotiska/barry | 53f3b3f8c070cbc5b2d9dcadebe9f776d170b6ed | [
"MIT"
] | null | null | null | barry/convert.py | jyotiska/barry | 53f3b3f8c070cbc5b2d9dcadebe9f776d170b6ed | [
"MIT"
] | null | null | null | barry/convert.py | jyotiska/barry | 53f3b3f8c070cbc5b2d9dcadebe9f776d170b6ed | [
"MIT"
] | null | null | null | from exceptions import BarryFileException, BarryConversionException, BarryExportException, BarryDFException
import pandas as pd
import requests
from StringIO import StringIO
def detect_file_extension(filename):
"""Extract and return the extension of a file given a filename.
Args:
filename (str): name... | 31.362445 | 107 | 0.657059 | 946 | 7,182 | 4.895349 | 0.114165 | 0.0691 | 0.017491 | 0.034982 | 0.764414 | 0.759447 | 0.751242 | 0.745195 | 0.736558 | 0.720147 | 0 | 0.002696 | 0.276942 | 7,182 | 228 | 108 | 31.5 | 0.889081 | 0.441938 | 0 | 0.670732 | 0 | 0 | 0.116022 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121951 | false | 0 | 0.04878 | 0 | 0.243902 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6f86e19366559629464f6c94fe703e3f9d6154c1 | 956 | py | Python | lessons/terminal.report.py | thepros847/python_programiing | d177f79d0d1f21df434bf3f8663ae6469fcf8357 | [
"MIT"
] | null | null | null | lessons/terminal.report.py | thepros847/python_programiing | d177f79d0d1f21df434bf3f8663ae6469fcf8357 | [
"MIT"
] | null | null | null | lessons/terminal.report.py | thepros847/python_programiing | d177f79d0d1f21df434bf3f8663ae6469fcf8357 | [
"MIT"
] | null | null | null | #students exams data entries for terminal report card
print("Westside Educational Complex--End Of second Terminal Report--Class-KKJA--Name:Theodora Obaa Yaa Gyarbeng")
while True:
student_score = float(input ("Enter the student score:"))
if student_score >= 1.0 and student_score <= 39.9:
print("stud... | 39.833333 | 113 | 0.654812 | 133 | 956 | 4.548872 | 0.473684 | 0.416529 | 0.196694 | 0.219835 | 0.165289 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049046 | 0.232218 | 956 | 23 | 114 | 41.565217 | 0.775204 | 0.054393 | 0 | 0 | 0 | 0 | 0.341463 | 0.036585 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.055556 | 0 | 0 | 0 | 0.444444 | 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 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 5 |
6fc09d38fc6e352436484c44be3ed1f477d458b5 | 109 | py | Python | servermn/core/__init__.py | masterhung0112/servermn | d518f2fa394bb3e22c29e74802357c2aa054f392 | [
"Unlicense"
] | null | null | null | servermn/core/__init__.py | masterhung0112/servermn | d518f2fa394bb3e22c29e74802357c2aa054f392 | [
"Unlicense"
] | null | null | null | servermn/core/__init__.py | masterhung0112/servermn | d518f2fa394bb3e22c29e74802357c2aa054f392 | [
"Unlicense"
] | null | null | null | def init():
# Set locale environment
# Set config
# Set user and group
# init logger
pass | 18.166667 | 28 | 0.59633 | 14 | 109 | 4.642857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33945 | 109 | 6 | 29 | 18.166667 | 0.902778 | 0.587156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6ff24a30aea978a6baf63da8c2c0d8819e5f801c | 19 | py | Python | beeline/version.py | noam-stein/beeline-python | a5ae7b30d9abebc681524f1087c404fb2e2b915f | [
"Apache-2.0"
] | null | null | null | beeline/version.py | noam-stein/beeline-python | a5ae7b30d9abebc681524f1087c404fb2e2b915f | [
"Apache-2.0"
] | null | null | null | beeline/version.py | noam-stein/beeline-python | a5ae7b30d9abebc681524f1087c404fb2e2b915f | [
"Apache-2.0"
] | null | null | null | VERSION = '2.11.2'
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b512b2de6527126b947a320b79c117609580ec75 | 114 | py | Python | pyquil/__init__.py | ftripier/pyquil | 573d5ae64bbc594917ad46885fca0d8f5f3fe0e9 | [
"Apache-2.0"
] | null | null | null | pyquil/__init__.py | ftripier/pyquil | 573d5ae64bbc594917ad46885fca0d8f5f3fe0e9 | [
"Apache-2.0"
] | null | null | null | pyquil/__init__.py | ftripier/pyquil | 573d5ae64bbc594917ad46885fca0d8f5f3fe0e9 | [
"Apache-2.0"
] | null | null | null | __version__ = "2.1.0.dev0"
from pyquil.quil import Program
from pyquil.api import list_quantum_computers, get_qc
| 22.8 | 53 | 0.807018 | 19 | 114 | 4.473684 | 0.842105 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.114035 | 114 | 4 | 54 | 28.5 | 0.80198 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
82ff0515b3da6ec57b02cf613a0fd6672311351d | 150 | py | Python | src/posts/templatetags/urlify.py | thunderoy/blogger | 8102d11c04fbc98a31298ebfdb75023e9207109f | [
"MIT"
] | null | null | null | src/posts/templatetags/urlify.py | thunderoy/blogger | 8102d11c04fbc98a31298ebfdb75023e9207109f | [
"MIT"
] | null | null | null | src/posts/templatetags/urlify.py | thunderoy/blogger | 8102d11c04fbc98a31298ebfdb75023e9207109f | [
"MIT"
] | null | null | null | from urllib.parse import quote
from django import template
register = template.Library()
@register.filter
def urlify(value):
return quote(value) | 18.75 | 30 | 0.78 | 20 | 150 | 5.85 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 150 | 8 | 31 | 18.75 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
d2025b2a20a97cda599aa94a7ddf6c498a1acbae | 121 | py | Python | treeviz_test.py | larsga/sprake | 32598651b2fb514b18aab4f82ffba89d606a7b74 | [
"Apache-2.0"
] | 1 | 2022-01-26T08:50:33.000Z | 2022-01-26T08:50:33.000Z | treeviz_test.py | larsga/sprake | 32598651b2fb514b18aab4f82ffba89d606a7b74 | [
"Apache-2.0"
] | null | null | null | treeviz_test.py | larsga/sprake | 32598651b2fb514b18aab4f82ffba89d606a7b74 | [
"Apache-2.0"
] | null | null | null |
from sprake import treeviz
# we don't actually have any meaningful tests that we can do, but at least
# we can do this
| 20.166667 | 74 | 0.752066 | 23 | 121 | 3.956522 | 0.826087 | 0.10989 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214876 | 121 | 5 | 75 | 24.2 | 0.957895 | 0.719008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d2045b61e5e8006918d4654b503671b6d4cfdf28 | 303 | py | Python | source/bluetooth/test_search_serial_port.py | Takahiro55555/CameraSystem | 53a77b7a7bd0c34b486d73af8ef2a49201a0bdaa | [
"MIT"
] | 1 | 2019-12-03T05:28:35.000Z | 2019-12-03T05:28:35.000Z | source/bluetooth/test_search_serial_port.py | Takahiro55555/CameraSystem | 53a77b7a7bd0c34b486d73af8ef2a49201a0bdaa | [
"MIT"
] | 88 | 2019-07-01T09:11:35.000Z | 2021-09-08T01:13:16.000Z | source/bluetooth/test_search_serial_port.py | Takahiro55555/CameraSystem | 53a77b7a7bd0c34b486d73af8ef2a49201a0bdaa | [
"MIT"
] | 5 | 2019-05-22T06:44:38.000Z | 2019-09-18T05:20:30.000Z | """
@file: test_search_serial_port.py
@author: Futa HIRAKOBA
@brief: search_serial_port.pyのをテストするプログラム
"""
from search_serial_port import search_com_ports, search_enabled_com_port
def test_search_com_ports():
search_com_ports()
def test_search_enabled_com_port():
search_enabled_com_port()
| 18.9375 | 72 | 0.808581 | 44 | 303 | 5.022727 | 0.386364 | 0.135747 | 0.217195 | 0.271493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 303 | 15 | 73 | 20.2 | 0.818519 | 0.323432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
d22021e322a81ec24f4d2957e1994d21c7ec3963 | 52 | py | Python | interrogatio/shortcuts/__init__.py | ffaraone/interrogatio | 8b66e7fe73d14bfda38cc2eb3aecb3291e4afda1 | [
"BSD-3-Clause"
] | 5 | 2019-02-19T13:10:39.000Z | 2022-03-04T19:11:04.000Z | interrogatio/shortcuts/__init__.py | ffaraone/interrogatio | 8b66e7fe73d14bfda38cc2eb3aecb3291e4afda1 | [
"BSD-3-Clause"
] | 11 | 2020-03-24T16:58:41.000Z | 2021-12-14T10:19:17.000Z | interrogatio/shortcuts/__init__.py | ffaraone/interrogatio | 8b66e7fe73d14bfda38cc2eb3aecb3291e4afda1 | [
"BSD-3-Clause"
] | 2 | 2019-05-31T08:36:26.000Z | 2020-12-18T17:58:50.000Z | from interrogatio.shortcuts.dialogs import * # noqa | 52 | 52 | 0.807692 | 6 | 52 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 52 | 1 | 52 | 52 | 0.913043 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d2213ea96c7a47974d92d29c00540c2195a53bed | 69 | py | Python | vivid/__init__.py | blacktanktop/vivid | e85837bcd86575f8a275517250dd026aac3e451f | [
"BSD-2-Clause-FreeBSD"
] | 39 | 2020-05-13T18:13:25.000Z | 2022-03-02T10:46:53.000Z | vivid/__init__.py | blacktanktop/vivid | e85837bcd86575f8a275517250dd026aac3e451f | [
"BSD-2-Clause-FreeBSD"
] | 29 | 2020-05-13T18:04:09.000Z | 2022-02-27T04:43:18.000Z | vivid/__init__.py | blacktanktop/vivid | e85837bcd86575f8a275517250dd026aac3e451f | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2020-05-13T19:17:01.000Z | 2020-10-28T21:29:42.000Z | from .core import BaseBlock
from .runner import Runner, create_runner | 34.5 | 41 | 0.84058 | 10 | 69 | 5.7 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 2 | 41 | 34.5 | 0.934426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d25543f2eb84e1a829ecf2a781633ed4850daa4c | 599 | py | Python | examples/ec2/tests/config.py | dabble-of-devops-biodeploy/terraform-aws-batch | 9d075163821f81f33d6be767820d1db20b45eb8e | [
"Apache-2.0"
] | 3 | 2021-12-07T18:10:16.000Z | 2022-02-04T09:15:31.000Z | examples/ec2/tests/config.py | dabble-of-devops-biodeploy/terraform-aws-batch | 9d075163821f81f33d6be767820d1db20b45eb8e | [
"Apache-2.0"
] | null | null | null | examples/ec2/tests/config.py | dabble-of-devops-biodeploy/terraform-aws-batch | 9d075163821f81f33d6be767820d1db20b45eb8e | [
"Apache-2.0"
] | 1 | 2022-02-22T01:48:38.000Z | 2022-02-22T01:48:38.000Z | DATA_S3 = "bioanalyze-ec2-test-nf-rnaseq-06o3qdtm7v"
JOB_S3 = DATA_S3
# These come from the terraform code in auto-deployment/terraform
ECR = "dabbleofdevops/nextflow-rnaseq-tutorial"
COMPUTE_ENVIRONMENT = "bioanalyze-ec2-test-nf-rnaseq"
JOB_DEF_NAME = "bioanalyze-ec2-test-nf-rnaseq"
JOB_QUEUE_NAME = "bioanalyze-ec2-... | 49.916667 | 104 | 0.806344 | 91 | 599 | 5.164835 | 0.450549 | 0.193617 | 0.253191 | 0.282979 | 0.410638 | 0.251064 | 0 | 0 | 0 | 0 | 0 | 0.071174 | 0.06177 | 599 | 12 | 104 | 49.916667 | 0.765125 | 0.105175 | 0 | 0 | 0 | 0.222222 | 0.715888 | 0.715888 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
963e0a388ab593079d1ff2e77544ecf12fa56919 | 112 | py | Python | reqto/__init__.py | DovaX/reqto | 4d3cc03535297fb0d5c946632e9de6a3a1ec5420 | [
"MIT"
] | null | null | null | reqto/__init__.py | DovaX/reqto | 4d3cc03535297fb0d5c946632e9de6a3a1ec5420 | [
"MIT"
] | null | null | null | reqto/__init__.py | DovaX/reqto | 4d3cc03535297fb0d5c946632e9de6a3a1ec5420 | [
"MIT"
] | null | null | null | from reqto.core.reqto import get, post, delete, put, patch, head
__all__=[get, post, delete, put, patch, head] | 28 | 64 | 0.723214 | 18 | 112 | 4.277778 | 0.611111 | 0.181818 | 0.337662 | 0.415584 | 0.649351 | 0.649351 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 112 | 4 | 65 | 28 | 0.802083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 0 | 5 |
967705c9e8a9fd17fb6a029cb268db7aef64d726 | 198 | py | Python | treasurehunt/views.py | code-haven/Django-treasurehunt-demo | c22aa88486d57fa97363d9d57dbbb7bc68a8ddd4 | [
"MIT"
] | 1 | 2017-04-30T05:46:40.000Z | 2017-04-30T05:46:40.000Z | treasurehunt/views.py | code-haven/Django-treasurehunt-demo | c22aa88486d57fa97363d9d57dbbb7bc68a8ddd4 | [
"MIT"
] | null | null | null | treasurehunt/views.py | code-haven/Django-treasurehunt-demo | c22aa88486d57fa97363d9d57dbbb7bc68a8ddd4 | [
"MIT"
] | null | null | null | from django.views.generic import View
from django.http import HttpResponse
from django.shortcuts import render
def index(request):
return render(request, 'treasurehunt/treasurehunt_index.html') | 33 | 66 | 0.823232 | 26 | 198 | 6.230769 | 0.615385 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 198 | 6 | 66 | 33 | 0.915254 | 0 | 0 | 0 | 0 | 0 | 0.180905 | 0.180905 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
96929dbf83193019e408fa5ab401d32d84324a98 | 104 | py | Python | python/torch_mlir/eager_mode/__init__.py | burntfalafel/torch-mlir-internal | d3ef58450fc94e9337dc0434fa3af6dd7b54b37f | [
"Apache-2.0"
] | 2 | 2022-02-16T21:56:00.000Z | 2022-02-20T17:34:47.000Z | python/torch_mlir/eager_mode/__init__.py | burntfalafel/torch-mlir-internal | d3ef58450fc94e9337dc0434fa3af6dd7b54b37f | [
"Apache-2.0"
] | null | null | null | python/torch_mlir/eager_mode/__init__.py | burntfalafel/torch-mlir-internal | d3ef58450fc94e9337dc0434fa3af6dd7b54b37f | [
"Apache-2.0"
] | null | null | null | import os
EAGER_MODE_DEBUG = os.environ.get("EAGER_MODE_DEBUG", 'False').lower() in ('true', '1', 't')
| 26 | 92 | 0.673077 | 17 | 104 | 3.882353 | 0.764706 | 0.272727 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.105769 | 104 | 3 | 93 | 34.666667 | 0.698925 | 0 | 0 | 0 | 0 | 0 | 0.259615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
96be495bd3261e63c1a53206e1ecae309a118594 | 387 | py | Python | container_service_extension/pksclient/api/__init__.py | tschoergez/container-service-extension | e1fbaf7e9c242a416d3f580880c1051286847cfd | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | container_service_extension/pksclient/api/__init__.py | tschoergez/container-service-extension | e1fbaf7e9c242a416d3f580880c1051286847cfd | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | container_service_extension/pksclient/api/__init__.py | tschoergez/container-service-extension | e1fbaf7e9c242a416d3f580880c1051286847cfd | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from container_service_extension.pksclient.api.cluster_api import ClusterApi
from container_service_extension.pksclient.api.plans_api import PlansApi
from container_service_extension.pksclient.api.profile_api import ProfileApi
from c... | 38.7 | 76 | 0.881137 | 52 | 387 | 6.230769 | 0.423077 | 0.160494 | 0.246914 | 0.358025 | 0.506173 | 0.506173 | 0 | 0 | 0 | 0 | 0 | 0.002809 | 0.080103 | 387 | 9 | 77 | 43 | 0.907303 | 0.105943 | 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 | 0 | 0 | 0 | 5 |
738a85e82da68aa322a25cf87d2adf64e784db74 | 2,056 | py | Python | data/kbqa/parse_kbqa.py | UKPLab/TWEAC-qa-agent-selection | ed4f0cafa87aefd4820cca0d7f4881d2de99a9f0 | [
"MIT"
] | 9 | 2021-04-16T12:45:45.000Z | 2022-01-29T10:52:52.000Z | data/kbqa/parse_kbqa.py | UKPLab/TWEAC-qa-agent-selection | ed4f0cafa87aefd4820cca0d7f4881d2de99a9f0 | [
"MIT"
] | 1 | 2021-11-25T04:16:25.000Z | 2021-11-25T09:54:29.000Z | data/kbqa/parse_kbqa.py | UKPLab/TWEAC-qa-agent-selection | ed4f0cafa87aefd4820cca0d7f4881d2de99a9f0 | [
"MIT"
] | 3 | 2021-04-16T12:43:41.000Z | 2021-11-25T04:21:43.000Z | import json
import os
def qald(in_folder, out_folder):
train = json.load(open(os.path.join(in_folder, "qald-7-train-en-wikidata.json")))
test = json.load(open(os.path.join(in_folder, "qald-7-test-en-wikidata-withoutanswers.json")))
train_q = []
test_q = []
for qs in train["questions"]:
fo... | 38.792453 | 170 | 0.634728 | 326 | 2,056 | 3.843558 | 0.196319 | 0.067039 | 0.063847 | 0.067039 | 0.762969 | 0.740623 | 0.700718 | 0.700718 | 0.700718 | 0.660814 | 0 | 0.007798 | 0.189202 | 2,056 | 53 | 170 | 38.792453 | 0.743851 | 0 | 0 | 0.487805 | 0 | 0.04878 | 0.273213 | 0.177443 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.04878 | 0 | 0.097561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
73c590592e5f6c7d80e9e638ac61992cbf513263 | 49 | py | Python | test/fixtures/python/analysis/main1.py | matsubara0507/semantic | 67899f701abc0f1f0cb4374d8d3c249afc33a272 | [
"MIT"
] | 8,844 | 2019-05-31T15:47:12.000Z | 2022-03-31T18:33:51.000Z | test/fixtures/python/analysis/main1.py | matsubara0507/semantic | 67899f701abc0f1f0cb4374d8d3c249afc33a272 | [
"MIT"
] | 401 | 2019-05-31T18:30:26.000Z | 2022-03-31T16:32:29.000Z | test/fixtures/python/analysis/main1.py | matsubara0507/semantic | 67899f701abc0f1f0cb4374d8d3c249afc33a272 | [
"MIT"
] | 504 | 2019-05-31T17:55:03.000Z | 2022-03-30T04:15:04.000Z | import a as b
import b.c as e
b.foo(1)
e.baz(1)
| 8.166667 | 15 | 0.632653 | 15 | 49 | 2.066667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.22449 | 49 | 5 | 16 | 9.8 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fb4743a6ee0568d1f98e6dec89a2138670b26a6f | 9,921 | py | Python | aqme/qdesc.py | patonlab/aqme | 080d8e85ee905718ddf78f7fdee2ee308a293ad1 | [
"MIT"
] | null | null | null | aqme/qdesc.py | patonlab/aqme | 080d8e85ee905718ddf78f7fdee2ee308a293ad1 | [
"MIT"
] | null | null | null | aqme/qdesc.py | patonlab/aqme | 080d8e85ee905718ddf78f7fdee2ee308a293ad1 | [
"MIT"
] | null | null | null | #####################################################.
# This file stores all the functions #
# used for genrating all parameters #
#####################################################.
from rdkit.Chem import AllChem as Chem
from rdkit.Chem import rdMolTransforms
import os
import pandas... | 65.269737 | 238 | 0.603467 | 1,424 | 9,921 | 3.985253 | 0.095506 | 0.051806 | 0.063965 | 0.048106 | 0.755771 | 0.752423 | 0.745022 | 0.739383 | 0.733921 | 0.723877 | 0 | 0.00928 | 0.217922 | 9,921 | 151 | 239 | 65.701987 | 0.722129 | 0.01774 | 0 | 0.297521 | 0 | 0 | 0.132632 | 0.046676 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016529 | false | 0 | 0.049587 | 0 | 0.07438 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fb5ffc354d2d854524531b1d4f70227336db8f87 | 238 | py | Python | src/ikazuchi/errors.py | t2y/ikazuchi | 7023111e92fa47360c50cfefd1398c554475f2c6 | [
"Apache-2.0"
] | null | null | null | src/ikazuchi/errors.py | t2y/ikazuchi | 7023111e92fa47360c50cfefd1398c554475f2c6 | [
"Apache-2.0"
] | null | null | null | src/ikazuchi/errors.py | t2y/ikazuchi | 7023111e92fa47360c50cfefd1398c554475f2c6 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
class IkazuchiError(Exception):
""" ikazuchi root exception """
pass
class TranslatorError(IkazuchiError):
""" ikazuchi translator exception """
pass
class NeedApiKeyError(TranslatorError): pass
| 19.833333 | 44 | 0.693277 | 21 | 238 | 7.857143 | 0.571429 | 0.157576 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005128 | 0.180672 | 238 | 11 | 45 | 21.636364 | 0.841026 | 0.327731 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.6 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
fb7be7756110402e4a2ea628f2c6bc51fd0dd0f4 | 139 | py | Python | manager.py | thangbk2209/pretraining_auto_scaling_ng | 0b98b311c75ec4b87b3e8168f93eeb53ed0d16f5 | [
"MIT"
] | null | null | null | manager.py | thangbk2209/pretraining_auto_scaling_ng | 0b98b311c75ec4b87b3e8168f93eeb53ed0d16f5 | [
"MIT"
] | null | null | null | manager.py | thangbk2209/pretraining_auto_scaling_ng | 0b98b311c75ec4b87b3e8168f93eeb53ed0d16f5 | [
"MIT"
] | null | null | null | """
Author: bkc@data_analysis
Project: autoencoder_ng
Created: 7/29/20 10:51
Purpose: START SCRIPT FOR AUTOENCODER_NG PROJECT
"""
| 19.857143 | 50 | 0.726619 | 20 | 139 | 4.9 | 0.85 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 0.172662 | 139 | 6 | 51 | 23.166667 | 0.773913 | 0.877698 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fb89161fb05f2325ee9a0854f9561e3db343bc07 | 89 | py | Python | cwl_airflow_parser/operators/__init__.py | lrodri29/cwl-airflow-parser | 3854022fc7a5c62cfd92e93fdb7a97d528918239 | [
"Apache-2.0"
] | 14 | 2018-05-01T01:31:07.000Z | 2019-09-02T15:41:06.000Z | cwl_airflow_parser/operators/__init__.py | lrodri29/cwl-airflow-parser | 3854022fc7a5c62cfd92e93fdb7a97d528918239 | [
"Apache-2.0"
] | 1 | 2018-08-06T17:28:51.000Z | 2018-08-27T16:05:10.000Z | cwl_airflow_parser/operators/__init__.py | lrodri29/cwl-airflow-parser | 3854022fc7a5c62cfd92e93fdb7a97d528918239 | [
"Apache-2.0"
] | 8 | 2018-08-06T16:47:31.000Z | 2020-05-12T20:21:01.000Z | from .cwljobdispatcher import CWLJobDispatcher
from .cwljobgatherer import CWLJobGatherer | 44.5 | 46 | 0.898876 | 8 | 89 | 10 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 89 | 2 | 47 | 44.5 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fb9503385f519e775914f1b2f2d3dd6a4f2477ad | 15,037 | py | Python | Machine Learning Summer School 2019 (London, UK)/tutorials/mcmc/2 - markov_chain_monte_carlo.py | xuedong/rlss2019 | d7468c2fcf269d8afd6fb0f44993aa9797867944 | [
"MIT"
] | null | null | null | Machine Learning Summer School 2019 (London, UK)/tutorials/mcmc/2 - markov_chain_monte_carlo.py | xuedong/rlss2019 | d7468c2fcf269d8afd6fb0f44993aa9797867944 | [
"MIT"
] | null | null | null | Machine Learning Summer School 2019 (London, UK)/tutorials/mcmc/2 - markov_chain_monte_carlo.py | xuedong/rlss2019 | d7468c2fcf269d8afd6fb0f44993aa9797867944 | [
"MIT"
] | null | null | null | ############################################################
# Copyright 2019 Michael Betancourt
# Licensed under the new BSD (3-clause) license:
#
# https://opensource.org/licenses/BSD-3-Clause
############################################################
############################################################
#
... | 31.524109 | 92 | 0.608499 | 2,404 | 15,037 | 3.656406 | 0.111065 | 0.066325 | 0.03413 | 0.01479 | 0.783845 | 0.758362 | 0.753925 | 0.747895 | 0.744937 | 0.736405 | 0 | 0.044709 | 0.201237 | 15,037 | 476 | 93 | 31.590336 | 0.68712 | 0.209084 | 0 | 0.621429 | 0 | 0 | 0.0342 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017857 | false | 0 | 0.014286 | 0.010714 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fb99379467ad51c39cd5405a13aedf9d925212e0 | 40 | py | Python | test.py | probot1511/test_repo | 9dee2d2eb1c44c09d04d91861b3f9bd2b63c4e0f | [
"MIT"
] | null | null | null | test.py | probot1511/test_repo | 9dee2d2eb1c44c09d04d91861b3f9bd2b63c4e0f | [
"MIT"
] | null | null | null | test.py | probot1511/test_repo | 9dee2d2eb1c44c09d04d91861b3f9bd2b63c4e0f | [
"MIT"
] | 1 | 2022-01-31T19:24:49.000Z | 2022-01-31T19:24:49.000Z | print("RUnning!!!")
print("Updated!!!")
| 13.333333 | 19 | 0.6 | 4 | 40 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 40 | 2 | 20 | 20 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
83b0ae650bd55397213c23d819dd2927624d8665 | 121 | py | Python | common/utils/__init__.py | jl1990/alpha-zero-general | 6a1549f9cd1b2ebdffee30f8de1be9cbefecd5f4 | [
"MIT"
] | null | null | null | common/utils/__init__.py | jl1990/alpha-zero-general | 6a1549f9cd1b2ebdffee30f8de1be9cbefecd5f4 | [
"MIT"
] | null | null | null | common/utils/__init__.py | jl1990/alpha-zero-general | 6a1549f9cd1b2ebdffee30f8de1be9cbefecd5f4 | [
"MIT"
] | null | null | null | """Useful utils
"""
from .eval import *
from .misc import *
# progress bar
from .progress.progress.bar import Bar as Bar
| 17.285714 | 45 | 0.719008 | 18 | 121 | 4.833333 | 0.5 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165289 | 121 | 6 | 46 | 20.166667 | 0.861386 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
860369b74b7a50328a72400a0fc52d3fc97e9d16 | 80 | py | Python | route/link.py | moluwole/Bast_skeleton | 9e58c1c0da3085b377896aab1e3007689c328c1c | [
"MIT"
] | 3 | 2018-08-04T21:11:35.000Z | 2018-08-24T04:47:16.000Z | route/link.py | moluwole/Bast_skeleton | 9e58c1c0da3085b377896aab1e3007689c328c1c | [
"MIT"
] | 1 | 2018-08-24T20:57:36.000Z | 2018-08-24T20:57:36.000Z | route/link.py | moluwole/Bast_skeleton | 9e58c1c0da3085b377896aab1e3007689c328c1c | [
"MIT"
] | 2 | 2018-08-05T19:14:16.000Z | 2018-08-15T08:13:50.000Z | from bast import Route
route = Route()
route.get('/', 'HelloController.index')
| 16 | 39 | 0.7125 | 10 | 80 | 5.7 | 0.7 | 0.526316 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 80 | 4 | 40 | 20 | 0.814286 | 0 | 0 | 0 | 0 | 0 | 0.275 | 0.2625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f7af8bb0d4f3220811a9ca15ffd7c866a271a05f | 24 | py | Python | opensecrets/__init__.py | ndanielsen/py-opensecrets | b362d993fdcff6fc6a0d33ec2db75fb1da418a84 | [
"MIT"
] | 1 | 2018-02-15T03:59:13.000Z | 2018-02-15T03:59:13.000Z | opensecrets/__init__.py | ndanielsen/py-opensecrets | b362d993fdcff6fc6a0d33ec2db75fb1da418a84 | [
"MIT"
] | 11 | 2018-02-14T16:23:17.000Z | 2018-04-05T16:14:49.000Z | opensecrets/__init__.py | ndanielsen/py-opensecrets | b362d993fdcff6fc6a0d33ec2db75fb1da418a84 | [
"MIT"
] | null | null | null | from .crpapi import CRP
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f7b55905ea97e096b70cfda1b4ce991e067b06eb | 151 | py | Python | data/windows/dr16/mask.py | dnidever/apogee | 83ad7496a0b4193df9e2c01b06dc36cb879ea6c1 | [
"BSD-3-Clause"
] | 5 | 2019-04-11T13:35:24.000Z | 2019-11-14T06:12:51.000Z | data/windows/dr16/mask.py | dnidever/apogee | 83ad7496a0b4193df9e2c01b06dc36cb879ea6c1 | [
"BSD-3-Clause"
] | null | null | null | data/windows/dr16/mask.py | dnidever/apogee | 83ad7496a0b4193df9e2c01b06dc36cb879ea6c1 | [
"BSD-3-Clause"
] | 5 | 2018-09-20T22:07:43.000Z | 2021-01-15T07:13:38.000Z | from apogee.aspcap import aspcap
from apogee.aspcap import mask
els=aspcap.elems()
for el in els[0]: mask.mkmask(el,globalmask='mask_v02_aspcap.txt')
| 25.166667 | 66 | 0.788079 | 26 | 151 | 4.5 | 0.576923 | 0.17094 | 0.273504 | 0.376068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022059 | 0.099338 | 151 | 5 | 67 | 30.2 | 0.838235 | 0 | 0 | 0 | 0 | 0 | 0.125828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f7bde64d861ea84f6a0483cdddf17127e95c800d | 67 | py | Python | keras_retinanet/backend/__init__.py | mj-haghighi/keras-retinanet | 644c2f8da799889a2a3f6cc833478256cbe32c23 | [
"Apache-2.0"
] | null | null | null | keras_retinanet/backend/__init__.py | mj-haghighi/keras-retinanet | 644c2f8da799889a2a3f6cc833478256cbe32c23 | [
"Apache-2.0"
] | null | null | null | keras_retinanet/backend/__init__.py | mj-haghighi/keras-retinanet | 644c2f8da799889a2a3f6cc833478256cbe32c23 | [
"Apache-2.0"
] | null | null | null | # from .backend import * # noqa: F401,F403
from .sbackend import * | 33.5 | 43 | 0.701493 | 9 | 67 | 5.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 0.179104 | 67 | 2 | 44 | 33.5 | 0.745455 | 0.597015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f7c31602d3ba09f1a3970f8ce071305eb086135d | 74 | py | Python | Crypto-hardRSA/flag.py | JSW2020/hsctf-2019-freshmen | 5282d6d51153aadd62f42673aa3d487f8d7ef45b | [
"MIT"
] | 16 | 2019-12-09T15:53:08.000Z | 2021-12-07T00:34:30.000Z | Crypto-hardRSA/flag.py | JSW2020/hsctf-2019-freshmen | 5282d6d51153aadd62f42673aa3d487f8d7ef45b | [
"MIT"
] | null | null | null | Crypto-hardRSA/flag.py | JSW2020/hsctf-2019-freshmen | 5282d6d51153aadd62f42673aa3d487f8d7ef45b | [
"MIT"
] | 7 | 2019-12-09T11:53:52.000Z | 2021-11-14T04:09:04.000Z | flag = "flag{b3453333-9da9-49ae-b4ed-0017c392d58e}"
e1 = 65537
e2 = 368273 | 24.666667 | 51 | 0.743243 | 11 | 74 | 5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.515152 | 0.108108 | 74 | 3 | 52 | 24.666667 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0.56 | 0.56 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f7dd193790b7ae7797daf8c7c2f3ca9a0623ed89 | 405 | py | Python | tests/test_plugins/pytester_example_dir/test_file_1.py | MORSECorp/snappiershot | acb6a8d01d4496abe0f2fe83c7e7af9cf77aac8e | [
"Apache-2.0"
] | 27 | 2020-10-15T18:36:25.000Z | 2022-03-02T19:11:44.000Z | tests/test_plugins/pytester_example_dir/test_file_1.py | MORSECorp/snappiershot | acb6a8d01d4496abe0f2fe83c7e7af9cf77aac8e | [
"Apache-2.0"
] | 33 | 2020-10-15T15:03:37.000Z | 2022-03-24T21:00:34.000Z | tests/test_plugins/pytester_example_dir/test_file_1.py | MORSECorp/snappiershot | acb6a8d01d4496abe0f2fe83c7e7af9cf77aac8e | [
"Apache-2.0"
] | 5 | 2020-10-15T16:30:00.000Z | 2022-03-30T15:07:28.000Z | """ This is a test file used for testing the pytest plugin. """
def test_function_passed(snapshot):
""" The snapshot for this function is expected to exist. """
snapshot.assert_match(3 + 4j)
def test_function_new(snapshot):
""" The snapshot for this function is expected to exist, but only one assertion ... | 31.153846 | 100 | 0.708642 | 60 | 405 | 4.666667 | 0.45 | 0.107143 | 0.203571 | 0.214286 | 0.6 | 0.364286 | 0.364286 | 0.364286 | 0.364286 | 0.364286 | 0 | 0.018349 | 0.192593 | 405 | 12 | 101 | 33.75 | 0.83792 | 0.491358 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.4 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7912e94c22f794944d84a76c7ea337e0f1d42d27 | 83 | py | Python | maths2.py | tavleensasan/Tav | 7d9d041cf0ed13c2fe581dc8e40c93721ae4de73 | [
"MIT"
] | null | null | null | maths2.py | tavleensasan/Tav | 7d9d041cf0ed13c2fe581dc8e40c93721ae4de73 | [
"MIT"
] | null | null | null | maths2.py | tavleensasan/Tav | 7d9d041cf0ed13c2fe581dc8e40c93721ae4de73 | [
"MIT"
] | null | null | null | def multiple(first,second):
return first * second
def add(x,y):
return x+y
| 16.6 | 27 | 0.662651 | 14 | 83 | 3.928571 | 0.571429 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216867 | 83 | 4 | 28 | 20.75 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
791a74027f2dc3fbe44b27f9c9f0523352b4d029 | 149 | py | Python | datahub/activity_feed/apps.py | Staberinde/data-hub-api | 3d0467dbceaf62a47158eea412a3dba827073300 | [
"MIT"
] | 6 | 2019-12-02T16:11:24.000Z | 2022-03-18T10:02:02.000Z | datahub/activity_feed/apps.py | Staberinde/data-hub-api | 3d0467dbceaf62a47158eea412a3dba827073300 | [
"MIT"
] | 1,696 | 2019-10-31T14:08:37.000Z | 2022-03-29T12:35:57.000Z | datahub/activity_feed/apps.py | Staberinde/data-hub-api | 3d0467dbceaf62a47158eea412a3dba827073300 | [
"MIT"
] | 9 | 2019-11-22T12:42:03.000Z | 2021-09-03T14:25:05.000Z | from django.apps import AppConfig
class ActivityFeedConfig(AppConfig):
"""App config for activity_feed."""
name = 'datahub.activity_feed'
| 18.625 | 39 | 0.738255 | 17 | 149 | 6.352941 | 0.823529 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161074 | 149 | 7 | 40 | 21.285714 | 0.864 | 0.194631 | 0 | 0 | 0 | 0 | 0.184211 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f719f32c0de53ae35c0223c63678dbad415c2f11 | 22 | py | Python | __init__.py | andy-96/GFPGAN | 0ed1214760170cc27fdfd60da1f64a0699a28cf4 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | andy-96/GFPGAN | 0ed1214760170cc27fdfd60da1f64a0699a28cf4 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | andy-96/GFPGAN | 0ed1214760170cc27fdfd60da1f64a0699a28cf4 | [
"BSD-3-Clause"
] | null | null | null | from .gfpgan import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 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 | 0 | 0 | 0 | 5 |
f72f3f991d29cfcde8c404665347a2b2067bd01a | 3,145 | py | Python | tests/test_game_map.py | brittleshinpass/mossbread | 6a225e5d11fdf1957d1bfe74c5a76d105561e12e | [
"MIT"
] | 1 | 2020-05-30T19:45:58.000Z | 2020-05-30T19:45:58.000Z | tests/test_game_map.py | brittleshinpass/mossbread | 6a225e5d11fdf1957d1bfe74c5a76d105561e12e | [
"MIT"
] | null | null | null | tests/test_game_map.py | brittleshinpass/mossbread | 6a225e5d11fdf1957d1bfe74c5a76d105561e12e | [
"MIT"
] | null | null | null | import pytest
from array import array
from game_map import GameMap
from tests.conftest import get_relative_path
sample_map_data = tuple(
reversed(
(
array("I", (0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0)),
array("I", (0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0... | 46.25 | 88 | 0.475994 | 678 | 3,145 | 2.103245 | 0.070796 | 0.280505 | 0.315568 | 0.322581 | 0.629032 | 0.504208 | 0.445302 | 0.396914 | 0.391304 | 0.388499 | 0 | 0.219334 | 0.302703 | 3,145 | 67 | 89 | 46.940299 | 0.430917 | 0.008585 | 0 | 0.333333 | 0 | 0 | 0.016688 | 0.009949 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.074074 | false | 0 | 0.074074 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f7309823f58463b82e823f3fd4ecc77467f835fd | 11,759 | py | Python | pml/engineer_tests.py | gatapia/py_ml_utils | 844d8b62a7c5cc0a80f4f62c0bfda092aac57ade | [
"MIT"
] | 183 | 2015-01-11T13:01:01.000Z | 2022-02-08T04:45:33.000Z | pml/engineer_tests.py | gatapia/py_ml_utils | 844d8b62a7c5cc0a80f4f62c0bfda092aac57ade | [
"MIT"
] | 13 | 2015-05-12T17:39:42.000Z | 2018-07-29T18:01:38.000Z | pml/engineer_tests.py | gatapia/py_ml_utils | 844d8b62a7c5cc0a80f4f62c0bfda092aac57ade | [
"MIT"
] | 166 | 2015-01-28T18:05:55.000Z | 2022-02-08T04:45:34.000Z | from __future__ import print_function, absolute_import
import unittest, math
import pandas as pd
import numpy as np
from . import *
class T(base_pandas_extensions_tester.BasePandasExtensionsTester):
def test_concat(self):
df = pd.DataFrame({'c_1':['a', 'b', 'c'], 'c_2': ['d', 'e', 'f']})
df.en... | 46.478261 | 133 | 0.541628 | 2,231 | 11,759 | 2.651277 | 0.060063 | 0.018935 | 0.039222 | 0.083347 | 0.878107 | 0.819104 | 0.762637 | 0.716653 | 0.695858 | 0.679459 | 0 | 0.114777 | 0.208691 | 11,759 | 252 | 134 | 46.662698 | 0.520903 | 0.001361 | 0 | 0.362791 | 0 | 0.009302 | 0.158586 | 0.03116 | 0 | 0 | 0 | 0 | 0.195349 | 1 | 0.139535 | false | 0 | 0.023256 | 0 | 0.167442 | 0.004651 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f732fdf1128b31b7b49d386c93aa86199f8cc84f | 109 | py | Python | examples/etcc.py | t-pimpisa/pythainlp17 | cc6bc4991dfffd68953dcdb26fd99c22d60a4c1f | [
"Apache-2.0"
] | null | null | null | examples/etcc.py | t-pimpisa/pythainlp17 | cc6bc4991dfffd68953dcdb26fd99c22d60a4c1f | [
"Apache-2.0"
] | null | null | null | examples/etcc.py | t-pimpisa/pythainlp17 | cc6bc4991dfffd68953dcdb26fd99c22d60a4c1f | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from pythainlp.tokenize import etcc
print(etcc.etcc("คืนความสุข")) # /คืน/ความสุข
| 18.166667 | 46 | 0.642202 | 22 | 109 | 3.363636 | 0.727273 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.137615 | 109 | 5 | 47 | 21.8 | 0.734043 | 0.311927 | 0 | 0 | 0 | 0 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
f78b62473ace335a7a8a2b3f902ea2441941d851 | 26,116 | py | Python | python/dgllife/model/pretrain/__init__.py | VIGNESHinZONE/dgl-lifesci | 9a892fd0935a7d8ab125530f54ce1e2a38b2377a | [
"Apache-2.0"
] | null | null | null | python/dgllife/model/pretrain/__init__.py | VIGNESHinZONE/dgl-lifesci | 9a892fd0935a7d8ab125530f54ce1e2a38b2377a | [
"Apache-2.0"
] | null | null | null | python/dgllife/model/pretrain/__init__.py | VIGNESHinZONE/dgl-lifesci | 9a892fd0935a7d8ab125530f54ce1e2a38b2377a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
#
# pylint: disable= no-member, arguments-differ, invalid-name
#
# Utilities for using pre-trained models.
import torch
from dgl.data.utils import _get_dgl_url, download
from .molecule... | 59.219955 | 98 | 0.689501 | 3,192 | 26,116 | 5.495614 | 0.052318 | 0.068236 | 0.102155 | 0.099875 | 0.883879 | 0.876012 | 0.868772 | 0.815129 | 0.698894 | 0.503819 | 0 | 0.003991 | 0.242074 | 26,116 | 440 | 99 | 59.354545 | 0.882237 | 0.889531 | 0 | 0 | 0 | 0 | 0.087349 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.222222 | 0 | 0.37037 | 0.037037 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f797e5f31f0f4940006d8b4a1e545eb141db847d | 10,703 | py | Python | tests/sentry/integrations/cloudflare/test_webhook.py | jianyuan/sentry | ceb8389c54d29f80b27703bb76c3880d923a3a5a | [
"BSD-3-Clause"
] | 1 | 2017-10-18T19:40:14.000Z | 2017-10-18T19:40:14.000Z | tests/sentry/integrations/cloudflare/test_webhook.py | Munyola/sentry | ab8923b2801d7d72d6903e0d9180584817bb1b9a | [
"BSD-3-Clause"
] | 1 | 2021-02-24T04:32:19.000Z | 2021-02-24T04:32:19.000Z | tests/sentry/integrations/cloudflare/test_webhook.py | Munyola/sentry | ab8923b2801d7d72d6903e0d9180584817bb1b9a | [
"BSD-3-Clause"
] | 2 | 2021-01-26T09:53:39.000Z | 2022-03-22T09:01:47.000Z | from __future__ import absolute_import
from hashlib import sha256
import hmac
import json
import six
from sentry import options
from sentry.models import ApiToken, ProjectKey
from sentry.testutils import TestCase
UNSET = object()
class BaseWebhookTest(TestCase):
def setUp(self):
super(BaseWebhookTest, ... | 41.484496 | 98 | 0.613566 | 1,226 | 10,703 | 5.21044 | 0.116639 | 0.08923 | 0.089856 | 0.115059 | 0.747495 | 0.738103 | 0.729962 | 0.721822 | 0.700063 | 0.612085 | 0 | 0.012589 | 0.22816 | 10,703 | 257 | 99 | 41.645914 | 0.760683 | 0.003457 | 0 | 0.527778 | 0 | 0 | 0.183327 | 0.04895 | 0 | 0 | 0 | 0 | 0.273148 | 1 | 0.083333 | false | 0 | 0.037037 | 0 | 0.143519 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e3aa556fa11d4a3e0d7e99f07a6cd0ab4a4331f6 | 7,607 | py | Python | test/integration/test_build.py | DahlitzFlorian/wily | 069c26bff9741b49420e3cfd7b0954ac9b88cc3f | [
"Apache-2.0"
] | null | null | null | test/integration/test_build.py | DahlitzFlorian/wily | 069c26bff9741b49420e3cfd7b0954ac9b88cc3f | [
"Apache-2.0"
] | null | null | null | test/integration/test_build.py | DahlitzFlorian/wily | 069c26bff9741b49420e3cfd7b0954ac9b88cc3f | [
"Apache-2.0"
] | null | null | null | """
Tests for the wily build command.
All of the following tests will use a click CLI runner to fully simulate the CLI.
Many of the tests will depend on a "builddir" fixture which is a compiled wily cache.
TODO : Test build + build with extra operator
"""
import pathlib
import pytest
from click.testing import CliRunn... | 31.962185 | 88 | 0.625739 | 986 | 7,607 | 4.725152 | 0.135903 | 0.062245 | 0.046362 | 0.056665 | 0.784932 | 0.758747 | 0.721399 | 0.707448 | 0.685984 | 0.656793 | 0 | 0.003749 | 0.228474 | 7,607 | 237 | 89 | 32.097046 | 0.790083 | 0.102274 | 0 | 0.718121 | 0 | 0 | 0.15098 | 0.013317 | 0 | 0 | 0 | 0.004219 | 0.187919 | 1 | 0.067114 | false | 0 | 0.087248 | 0 | 0.154362 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e3f8f7b3257c5bd12d8d3490e725fe8a7a51ecb9 | 388 | py | Python | frappe/patches/v7_0/desktop_icons_hidden_by_admin_as_blocked.py | anandpdoshi/frappe | b3546f1ebcac3480eccf5d19371ca534e7ce79bb | [
"MIT"
] | null | null | null | frappe/patches/v7_0/desktop_icons_hidden_by_admin_as_blocked.py | anandpdoshi/frappe | b3546f1ebcac3480eccf5d19371ca534e7ce79bb | [
"MIT"
] | null | null | null | frappe/patches/v7_0/desktop_icons_hidden_by_admin_as_blocked.py | anandpdoshi/frappe | b3546f1ebcac3480eccf5d19371ca534e7ce79bb | [
"MIT"
] | 5 | 2016-06-20T08:48:11.000Z | 2018-12-12T09:42:31.000Z | import frappe
def execute():
# all icons hidden in standard are "blocked"
# this is for the use case where the admin wants to remove icon for everyone
# in 7.0, icons may be hidden by default, but still can be shown to the user
# e.g. Accounts, Stock etc, so we need a new property for blocked
frappe.db.sql('upda... | 43.111111 | 88 | 0.737113 | 71 | 388 | 4.028169 | 0.746479 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015974 | 0.193299 | 388 | 9 | 88 | 43.111111 | 0.897764 | 0.659794 | 0 | 0 | 0 | 0 | 0.546875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 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 | 5 |
540b37aa828992718d326e40cc3e8c5c7baaf141 | 67 | py | Python | nadl/__init__.py | siAyush/nadl | 8aa698231e1d198bf823a58c84f139f6f93bc7df | [
"MIT"
] | 7 | 2021-05-18T11:16:49.000Z | 2021-05-30T20:25:12.000Z | nadl/__init__.py | siAyush/nadl | 8aa698231e1d198bf823a58c84f139f6f93bc7df | [
"MIT"
] | null | null | null | nadl/__init__.py | siAyush/nadl | 8aa698231e1d198bf823a58c84f139f6f93bc7df | [
"MIT"
] | 1 | 2022-03-02T19:52:25.000Z | 2022-03-02T19:52:25.000Z | from nadl.tensor import Tensor
from nadl.parameter import Parameter | 33.5 | 36 | 0.865672 | 10 | 67 | 5.8 | 0.5 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 67 | 2 | 36 | 33.5 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
583a4439342b3be3a1f5a61fbbd79630bf4f80cd | 409 | py | Python | cords/selectionstrategies/SL/__init__.py | krishnatejakk/AUTOMATA | fd0cf58058e39660f88d9d6b4101e30a497f6ce2 | [
"MIT"
] | null | null | null | cords/selectionstrategies/SL/__init__.py | krishnatejakk/AUTOMATA | fd0cf58058e39660f88d9d6b4101e30a497f6ce2 | [
"MIT"
] | null | null | null | cords/selectionstrategies/SL/__init__.py | krishnatejakk/AUTOMATA | fd0cf58058e39660f88d9d6b4101e30a497f6ce2 | [
"MIT"
] | 1 | 2022-03-16T05:55:12.000Z | 2022-03-16T05:55:12.000Z | from .craigstrategy import CRAIGStrategy
from .dataselectionstrategy import DataSelectionStrategy
from .glisterstrategy import GLISTERStrategy
from .randomstrategy import RandomStrategy
from .submodularselectionstrategy import SubmodularSelectionStrategy
from .gradmatchstrategy import GradMatchStrategy
from .fixedweigh... | 51.125 | 68 | 0.904645 | 32 | 409 | 11.5625 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075795 | 409 | 8 | 69 | 51.125 | 0.978836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
58672ac219aa158da24cd5ab42129bffccff6013 | 2,429 | py | Python | tests/fixtures/test_abstracts/content_03_expected.py | elifesciences/elife-tools | ee345bf0e6703ef0f7e718355e85730abbdfd117 | [
"MIT"
] | 9 | 2015-04-16T08:13:31.000Z | 2020-05-18T14:03:06.000Z | tests/fixtures/test_abstracts/content_03_expected.py | elifesciences/elife-tools | ee345bf0e6703ef0f7e718355e85730abbdfd117 | [
"MIT"
] | 310 | 2015-02-11T00:30:09.000Z | 2021-07-14T23:58:50.000Z | tests/fixtures/test_abstracts/content_03_expected.py | elifesciences/elife-tools | ee345bf0e6703ef0f7e718355e85730abbdfd117 | [
"MIT"
] | 9 | 2015-02-04T01:21:28.000Z | 2021-06-15T12:50:47.000Z | expected = [
{
"abstract_type": None,
"content": "RET can be activated in cis or trans by its co-receptors and ligands in vitro, but the physiological roles of trans signaling are unclear. Rapidly adapting (RA) mechanoreceptors in dorsal root ganglia (DRGs) express Ret and the co-receptor Gfr\u03b12... | 303.625 | 1,326 | 0.792096 | 361 | 2,429 | 5.3241 | 0.277008 | 0.037461 | 0.027055 | 0.032778 | 0.736733 | 0.668054 | 0.640999 | 0.559834 | 0.559834 | 0.49948 | 0 | 0.026807 | 0.139975 | 2,429 | 7 | 1,327 | 347 | 0.89325 | 0 | 0 | 0 | 0 | 0.285714 | 0.967888 | 0.096336 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5871c92a8c31f58780367e72dd645d194490519d | 266 | py | Python | HalleyComet/bit/models.py | ryanduan/Halley_Comet | bd3263e4575c820dd14c265c2c0d4b6b44197682 | [
"Apache-2.0"
] | null | null | null | HalleyComet/bit/models.py | ryanduan/Halley_Comet | bd3263e4575c820dd14c265c2c0d4b6b44197682 | [
"Apache-2.0"
] | null | null | null | HalleyComet/bit/models.py | ryanduan/Halley_Comet | bd3263e4575c820dd14c265c2c0d4b6b44197682 | [
"Apache-2.0"
] | null | null | null | from django.db import models
class Url(models.Model):
long_url = models.CharField(max_length=200)
short_url = models.CharField(max_length=100)
visit_time = models.DateTimeField(auto_now_add=True)
def __unicode__(self):
return self.long_url
| 26.6 | 56 | 0.740602 | 38 | 266 | 4.868421 | 0.684211 | 0.145946 | 0.194595 | 0.227027 | 0.291892 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027149 | 0.169173 | 266 | 9 | 57 | 29.555556 | 0.809955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
587a404ecb9909eff07171e4499fcb5702d3abd5 | 78 | py | Python | samples/ast/test.py | Ryoich/python_zero | fe4a5fd8b11c8c059d82b797cd1668f96d54e541 | [
"CC-BY-4.0"
] | 203 | 2018-12-14T10:16:33.000Z | 2022-03-10T07:23:34.000Z | samples/ast/test.py | Ryoich/python_zero | fe4a5fd8b11c8c059d82b797cd1668f96d54e541 | [
"CC-BY-4.0"
] | 39 | 2019-06-21T12:28:03.000Z | 2022-01-17T10:41:53.000Z | samples/ast/test.py | Ryoich/python_zero | fe4a5fd8b11c8c059d82b797cd1668f96d54e541 | [
"CC-BY-4.0"
] | 29 | 2018-12-30T06:48:59.000Z | 2022-03-10T07:43:42.000Z | def func(a, b):
return a + b
def func2(a):
print(a)
print("Hello")
| 8.666667 | 16 | 0.538462 | 14 | 78 | 3 | 0.571429 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.282051 | 78 | 8 | 17 | 9.75 | 0.732143 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.6 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
545268aad6cd438a8b86741579655c5f5b28ba41 | 249 | py | Python | test/test_i18n.py | timgates42/uliweb | 80c0459c5e5d257b665eb2e1d0b5f68ad55c42f1 | [
"BSD-2-Clause"
] | 202 | 2015-01-12T08:10:48.000Z | 2021-11-08T09:04:32.000Z | test/test_i18n.py | timgates42/uliweb | 80c0459c5e5d257b665eb2e1d0b5f68ad55c42f1 | [
"BSD-2-Clause"
] | 30 | 2015-01-01T09:07:17.000Z | 2021-06-03T12:58:45.000Z | test/test_i18n.py | timgates42/uliweb | 80c0459c5e5d257b665eb2e1d0b5f68ad55c42f1 | [
"BSD-2-Clause"
] | 58 | 2015-01-12T03:28:54.000Z | 2022-01-14T01:58:08.000Z | from uliweb.i18n import ugettext_lazy as _
def test_1():
"""
>>> x = _('Hello')
>>> print repr(x)
ugettext_lazy('Hello')
"""
def test_1():
"""
>>> x = _('Hello {0}')
>>> print x.format('name')
Hello name
""" | 16.6 | 42 | 0.48996 | 30 | 249 | 3.833333 | 0.566667 | 0.208696 | 0.13913 | 0.156522 | 0.243478 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028409 | 0.293173 | 249 | 15 | 43 | 16.6 | 0.625 | 0.481928 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.666667 | true | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
54607def7c2c2dd5026968fee33155a24a8770a7 | 155 | py | Python | satyrus/sat/types/__init__.py | lucasvg/Satyrus3-FinalProject-EspTopsOTM | 024785752abdc46e3463d8c94df7c3da873c354d | [
"MIT"
] | null | null | null | satyrus/sat/types/__init__.py | lucasvg/Satyrus3-FinalProject-EspTopsOTM | 024785752abdc46e3463d8c94df7c3da873c354d | [
"MIT"
] | null | null | null | satyrus/sat/types/__init__.py | lucasvg/Satyrus3-FinalProject-EspTopsOTM | 024785752abdc46e3463d8c94df7c3da873c354d | [
"MIT"
] | null | null | null | from .array import Array
from .string import String
from .problem import Constraint, Loop
from .main import SatType, Var, Number
from .expr import Expr | 31 | 39 | 0.780645 | 23 | 155 | 5.26087 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167742 | 155 | 5 | 40 | 31 | 0.937985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
547f16545ac590cbce83d8fc70ff6fbb32f028e2 | 16,628 | py | Python | code/python/FactSetFunds/v1/fds/sdk/FactSetFunds/model/classifications.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/FactSetFunds/v1/fds/sdk/FactSetFunds/model/classifications.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/FactSetFunds/v1/fds/sdk/FactSetFunds/model/classifications.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | """
FactSet Funds API
FactSet Mutual Funds data offers over 50 fund- and share class-specific data points for mutual funds listed in the United States. <p>FactSet Mutual Funds Reference provides fund-specific reference information as well as FactSet's proprietary classification system. It includes but is not l... | 57.536332 | 709 | 0.619016 | 1,991 | 16,628 | 5.001005 | 0.174787 | 0.032138 | 0.022497 | 0.025309 | 0.768404 | 0.749623 | 0.743597 | 0.737973 | 0.737973 | 0.737973 | 0 | 0.011829 | 0.318739 | 16,628 | 288 | 710 | 57.736111 | 0.867143 | 0.636817 | 0 | 0.44186 | 0 | 0 | 0.173398 | 0.041553 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03876 | false | 0.015504 | 0.031008 | 0.007752 | 0.162791 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
49b0052d2675e4f9dc69452f3b5d084691e4a664 | 19,202 | py | Python | tests/tests/test_api_management.py | MaciejTe/useradm | 4962000db94bc7d9e80b81c4389f6f769d0d062a | [
"Apache-2.0"
] | 8 | 2017-02-27T08:58:08.000Z | 2020-05-25T14:37:24.000Z | tests/tests/test_api_management.py | MaciejTe/useradm | 4962000db94bc7d9e80b81c4389f6f769d0d062a | [
"Apache-2.0"
] | 263 | 2016-11-17T15:02:26.000Z | 2022-03-31T10:04:09.000Z | tests/tests/test_api_management.py | MaciejTe/useradm | 4962000db94bc7d9e80b81c4389f6f769d0d062a | [
"Apache-2.0"
] | 25 | 2016-11-16T15:45:38.000Z | 2020-12-19T09:56:16.000Z | #!/usr/bin/python
# Copyright 2021 Northern.tech AS
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ap... | 38.327345 | 86 | 0.672638 | 2,538 | 19,202 | 4.701734 | 0.078014 | 0.093522 | 0.135088 | 0.091176 | 0.797871 | 0.775916 | 0.752367 | 0.727646 | 0.685243 | 0.664628 | 0 | 0.012778 | 0.229716 | 19,202 | 500 | 87 | 38.404 | 0.793996 | 0.037809 | 0 | 0.541333 | 0 | 0 | 0.085564 | 0.015986 | 0 | 0 | 0 | 0 | 0.101333 | 1 | 0.149333 | false | 0.088 | 0.010667 | 0 | 0.210667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
49b03158777693b6348d205c910ad771b55e53ea | 1,167 | py | Python | scripts/convert_to_bed.py | Lila14/multimds | e54642e0ae47592321352f931f534881ca57d888 | [
"MIT"
] | 1 | 2019-10-29T12:33:57.000Z | 2019-10-29T12:33:57.000Z | scripts/convert_to_bed.py | Lila14/multimds | e54642e0ae47592321352f931f534881ca57d888 | [
"MIT"
] | null | null | null | scripts/convert_to_bed.py | Lila14/multimds | e54642e0ae47592321352f931f534881ca57d888 | [
"MIT"
] | null | null | null | import os
chrom_bins = {}
with open("GSE88952_Sc_Su.32000.bed") as in_file:
for line in in_file:
line = line.strip().split()
chrom_bins[line[3]] = "{}\t{}\t{}".format(line[0], line[1], line[2])
in_file.close()
if not os.path.isfile("ctrl_32kb.bed"):
with open("ctrl_32kb.bed", "w") as out_file:
with open("ct... | 29.175 | 71 | 0.652956 | 193 | 1,167 | 3.735751 | 0.227979 | 0.074896 | 0.094313 | 0.04577 | 0.787795 | 0.787795 | 0.787795 | 0.728155 | 0.658807 | 0.658807 | 0 | 0.053998 | 0.174807 | 1,167 | 39 | 72 | 29.923077 | 0.694704 | 0 | 0 | 0.714286 | 0 | 0 | 0.129392 | 0.041988 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028571 | 0 | 0.028571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
49bc8549c7944e60a8f4b2d3ccdc16b4d5329c4f | 890 | py | Python | SwitchTracer/universal/exceptions/__init__.py | IzayoiRin/VirtualVeyonST | d0c4035dba81d02135ad54f4c5a5d463e95f7925 | [
"MIT"
] | null | null | null | SwitchTracer/universal/exceptions/__init__.py | IzayoiRin/VirtualVeyonST | d0c4035dba81d02135ad54f4c5a5d463e95f7925 | [
"MIT"
] | null | null | null | SwitchTracer/universal/exceptions/__init__.py | IzayoiRin/VirtualVeyonST | d0c4035dba81d02135ad54f4c5a5d463e95f7925 | [
"MIT"
] | null | null | null | class UniErrors(Exception):
pass
class SetupErrors(UniErrors):
pass
class SettingErrors(UniErrors):
pass
class ConfigureSyntaxErrors(UniErrors):
pass
class NoLocationErrors(UniErrors):
pass
class ImportedErrors(UniErrors):
pass
class KernelWaresSettingsErrors(UniErrors):
pass
c... | 11.866667 | 44 | 0.746067 | 76 | 890 | 8.736842 | 0.289474 | 0.243976 | 0.460843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189888 | 890 | 74 | 45 | 12.027027 | 0.920943 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.026316 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
49ee2e293e1b411f588dd752ab4762901a62db20 | 7,801 | py | Python | src/tools/nuscenes-devkit/prediction/tests/test_mtp_loss.py | jie311/TraDeS | 896491a159abe65f61c6ad05662cda6e28d137a6 | [
"MIT"
] | 475 | 2021-03-13T16:33:36.000Z | 2022-03-30T06:00:39.000Z | src/tools/nuscenes-devkit/prediction/tests/test_mtp_loss.py | jie311/TraDeS | 896491a159abe65f61c6ad05662cda6e28d137a6 | [
"MIT"
] | 50 | 2021-03-17T04:48:20.000Z | 2022-03-08T13:55:32.000Z | src/tools/nuscenes-devkit/prediction/tests/test_mtp_loss.py | jie311/TraDeS | 896491a159abe65f61c6ad05662cda6e28d137a6 | [
"MIT"
] | 98 | 2021-03-14T12:12:49.000Z | 2022-03-19T16:19:13.000Z |
import math
import unittest
import torch
from nuscenes.prediction.models import mtp
class TestMTPLoss(unittest.TestCase):
"""
Test each component of MTPLoss as well as the
__call__ method.
"""
def test_get_trajectories_and_modes(self):
loss_n_modes_5 = mtp.MTPLoss(5, 0, 0)
los... | 42.396739 | 106 | 0.58313 | 1,034 | 7,801 | 4.22824 | 0.135397 | 0.067246 | 0.036597 | 0.045746 | 0.810156 | 0.758463 | 0.748399 | 0.705627 | 0.679094 | 0.663769 | 0 | 0.071326 | 0.282912 | 7,801 | 183 | 107 | 42.628415 | 0.710225 | 0.104089 | 0 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 1 | 0.078947 | false | 0 | 0.035088 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3f978f4cb297bf98d9722f54f27227c0fe655e28 | 120,882 | py | Python | tests/parsers/test_pwscf.py | jgaff/pif-dft | 0fcc136560973f0f99cd257108cdfbc497207e4f | [
"Apache-2.0"
] | null | null | null | tests/parsers/test_pwscf.py | jgaff/pif-dft | 0fcc136560973f0f99cd257108cdfbc497207e4f | [
"Apache-2.0"
] | null | null | null | tests/parsers/test_pwscf.py | jgaff/pif-dft | 0fcc136560973f0f99cd257108cdfbc497207e4f | [
"Apache-2.0"
] | null | null | null | import unittest
from dfttopif.parsers.pwscf import PwscfParser
from ..test_pif import unpack_example, delete_example
from pypif.obj.common.value import Value
import os
import shutil
class TestPWSCFParser(unittest.TestCase):
def get_parser(self,name):
'''Get a PwscfParser for a certain test'''
... | 470.357977 | 65,484 | 0.668983 | 22,823 | 120,882 | 3.533453 | 0.184507 | 0.019121 | 0.006287 | 0.006535 | 0.072305 | 0.069342 | 0.063216 | 0.05993 | 0.056768 | 0.051684 | 0 | 0.666697 | 0.101843 | 120,882 | 256 | 65,485 | 472.195313 | 0.076079 | 0.003822 | 0 | 0.463687 | 0 | 0 | 0.004593 | 0.000174 | 0 | 0 | 0 | 0 | 0.703911 | 1 | 0.039106 | false | 0 | 0.03352 | 0 | 0.083799 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3fe105950fe7c097a0cf82f9fd41aa14438e8996 | 66 | py | Python | qymel/core/__init__.py | hal1932/QyMEL | 4fdf2409aaa34516f021a37aac0f011fe6ea6073 | [
"MIT"
] | 6 | 2019-12-23T05:20:29.000Z | 2021-01-30T21:17:32.000Z | qymel/core/__init__.py | hal1932/QyMEL | 4fdf2409aaa34516f021a37aac0f011fe6ea6073 | [
"MIT"
] | null | null | null | qymel/core/__init__.py | hal1932/QyMEL | 4fdf2409aaa34516f021a37aac0f011fe6ea6073 | [
"MIT"
] | 1 | 2020-03-05T08:17:44.000Z | 2020-03-05T08:17:44.000Z | # coding: utf-8
from .force_reload import *
from .scopes import *
| 16.5 | 27 | 0.727273 | 10 | 66 | 4.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.166667 | 66 | 3 | 28 | 22 | 0.836364 | 0.19697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3fe5513bca482d43a59c15049895c9303427b971 | 85 | py | Python | engines/__init__.py | mukeran/simple_sandbox | a2a97d13d814548f313871f0bd5c48f65b1a6180 | [
"MIT"
] | null | null | null | engines/__init__.py | mukeran/simple_sandbox | a2a97d13d814548f313871f0bd5c48f65b1a6180 | [
"MIT"
] | null | null | null | engines/__init__.py | mukeran/simple_sandbox | a2a97d13d814548f313871f0bd5c48f65b1a6180 | [
"MIT"
] | null | null | null | from .watcher import FileWatcher
from .fpm_sniffer import FPMSniffer, FPMSnifferMode
| 28.333333 | 51 | 0.858824 | 10 | 85 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 85 | 2 | 52 | 42.5 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3ff942a422edefd4743417af8a01150a5a71f98a | 10,122 | py | Python | scripts/create_fluseverity_figs_v2/export_zOR_classif_swap.py | eclee25/flu-SDI-exploratory-age | 2f5a4d97b84d2116e179e85fe334edf4556aa946 | [
"MIT"
] | 3 | 2018-03-29T23:02:43.000Z | 2020-08-10T12:01:50.000Z | scripts/create_fluseverity_figs_v2/export_zOR_classif_swap.py | eclee25/flu-SDI-exploratory-age | 2f5a4d97b84d2116e179e85fe334edf4556aa946 | [
"MIT"
] | null | null | null | scripts/create_fluseverity_figs_v2/export_zOR_classif_swap.py | eclee25/flu-SDI-exploratory-age | 2f5a4d97b84d2116e179e85fe334edf4556aa946 | [
"MIT"
] | null | null | null | #!/usr/bin/python
##############################################
###Python template
###Author: Elizabeth Lee
###Date: 10/14/14
###Function: Export zOR retrospective and early warning classifications into csv file format (SDI and ILINet, national and regional for SDI)
### Use nation-level peak-based retrospective class... | 59.893491 | 206 | 0.742936 | 1,581 | 10,122 | 4.473118 | 0.11575 | 0.009333 | 0.012443 | 0.042986 | 0.757919 | 0.737557 | 0.717477 | 0.703479 | 0.684531 | 0.665724 | 0 | 0.031479 | 0.096127 | 10,122 | 169 | 207 | 59.893491 | 0.741502 | 0.449318 | 0 | 0.632911 | 0 | 0 | 0.322424 | 0.307033 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.063291 | null | null | 0.101266 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b79b4b3441162b8ce9025428d639fcec36693cf3 | 42 | py | Python | tests/__init__.py | chasefinch/amp-renderer | a226140d8a8a6f8c21c073e394b672cf75c8671e | [
"Apache-2.0"
] | 13 | 2020-08-19T18:37:01.000Z | 2021-12-10T17:33:14.000Z | tests/__init__.py | chasefinch/amp-renderer | a226140d8a8a6f8c21c073e394b672cf75c8671e | [
"Apache-2.0"
] | 5 | 2020-08-24T18:31:12.000Z | 2022-02-07T17:36:59.000Z | tests/__init__.py | chasefinch/amp-renderer | a226140d8a8a6f8c21c073e394b672cf75c8671e | [
"Apache-2.0"
] | null | null | null | """Tests for the AMP Renderer project."""
| 21 | 41 | 0.690476 | 6 | 42 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 1 | 42 | 42 | 0.805556 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b7a964ee74b74803fefa91500045e19a16c2244a | 85,945 | py | Python | regions.py | greggy/python-ipgeobase | 593e4dc7e55e0c90a1979e586f03c013f6ac057a | [
"BSD-3-Clause"
] | 1 | 2017-11-12T11:26:25.000Z | 2017-11-12T11:26:25.000Z | regions.py | greggy/python-ipgeobase | 593e4dc7e55e0c90a1979e586f03c013f6ac057a | [
"BSD-3-Clause"
] | null | null | null | regions.py | greggy/python-ipgeobase | 593e4dc7e55e0c90a1979e586f03c013f6ac057a | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
REGIONS = {'USRI': 'Rhode Island', 'UY02': 'Canelones', 'KR21': 'Ulsan-gwangyoksi', 'KR20': 'Kyongsang-namdo', 'KM02': 'Grande Comore', 'KM03': 'Moheli', 'CO22': 'Putumayo', 'BN18': 'Zou', 'BN17': 'Plateau', 'BN16': 'Oueme', 'BN15': 'Tutong', 'BN14': 'Littoral', 'BN13': 'Donga', 'BN12': 'Kouffo... | 21,486.25 | 85,919 | 0.602339 | 9,765 | 85,945 | 5.301382 | 0.841065 | 0.003709 | 0.000386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09857 | 0.109617 | 85,945 | 3 | 85,920 | 28,648.333333 | 0.577923 | 0.000244 | 0 | 0 | 0 | 0 | 0.622111 | 0.004097 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b7b6ad2f30eeeef89f8be32e1b423aba5b40b98c | 51 | py | Python | src/deep_dialog/usersims/__init__.py | Yuqing2018/tcbot_python3 | 583ce1b670f7c67669ff437e69eb09832e784da6 | [
"MIT"
] | null | null | null | src/deep_dialog/usersims/__init__.py | Yuqing2018/tcbot_python3 | 583ce1b670f7c67669ff437e69eb09832e784da6 | [
"MIT"
] | null | null | null | src/deep_dialog/usersims/__init__.py | Yuqing2018/tcbot_python3 | 583ce1b670f7c67669ff437e69eb09832e784da6 | [
"MIT"
] | null | null | null | from .usersim_rule import *
from .realUser import * | 25.5 | 27 | 0.784314 | 7 | 51 | 5.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 2 | 28 | 25.5 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4d054d1c9024db142794eb18e583cbea3e61dd43 | 125 | py | Python | apps/work_order/admin.py | joewen85/devops_study | 6bbfbac7e70f295ef6068393bd9cf7d418ab4417 | [
"Apache-2.0"
] | null | null | null | apps/work_order/admin.py | joewen85/devops_study | 6bbfbac7e70f295ef6068393bd9cf7d418ab4417 | [
"Apache-2.0"
] | null | null | null | apps/work_order/admin.py | joewen85/devops_study | 6bbfbac7e70f295ef6068393bd9cf7d418ab4417 | [
"Apache-2.0"
] | 1 | 2020-10-28T09:12:47.000Z | 2020-10-28T09:12:47.000Z | from django.contrib import admin
# Register your models here.
from .models import WorkOrder
admin.site.register(WorkOrder)
| 17.857143 | 32 | 0.808 | 17 | 125 | 5.941176 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128 | 125 | 6 | 33 | 20.833333 | 0.926606 | 0.208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4d26e4038ffff6b5c711d810347580c7c6e22de3 | 44 | py | Python | Python/Tutorial - 2/strings.py | JC2295/FCC_Tutorial_Projects | 990e1221b2177acb9e4db0264adab518620404a0 | [
"MIT"
] | null | null | null | Python/Tutorial - 2/strings.py | JC2295/FCC_Tutorial_Projects | 990e1221b2177acb9e4db0264adab518620404a0 | [
"MIT"
] | null | null | null | Python/Tutorial - 2/strings.py | JC2295/FCC_Tutorial_Projects | 990e1221b2177acb9e4db0264adab518620404a0 | [
"MIT"
] | null | null | null | print("One")
print("Two")
print("Three")
| 6.285714 | 14 | 0.590909 | 6 | 44 | 4.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 6 | 15 | 7.333333 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
4d360ecaf65d937ea0be727ba4568099673793e8 | 41 | py | Python | eyap/utils/ghtools/__init__.py | emin63/eyap | 783bdede298e63bbafee81b50cd1e899c43f5847 | [
"BSD-3-Clause"
] | null | null | null | eyap/utils/ghtools/__init__.py | emin63/eyap | 783bdede298e63bbafee81b50cd1e899c43f5847 | [
"BSD-3-Clause"
] | 2 | 2017-07-17T03:50:32.000Z | 2017-08-05T02:39:36.000Z | eyap/utils/ghtools/__init__.py | emin63/eyap | 783bdede298e63bbafee81b50cd1e899c43f5847 | [
"BSD-3-Clause"
] | null | null | null | """Additional GitHub specific tools.
"""
| 13.666667 | 36 | 0.707317 | 4 | 41 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 2 | 37 | 20.5 | 0.805556 | 0.804878 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4d4284d5a0b58c47616dd4e99223550ab8085447 | 166 | py | Python | src/core/command.py | cfmcdonald-78/Hexcrawler | 79ca4ab9327abf08de1743612c23eb89aa53a2b9 | [
"MIT"
] | null | null | null | src/core/command.py | cfmcdonald-78/Hexcrawler | 79ca4ab9327abf08de1743612c23eb89aa53a2b9 | [
"MIT"
] | null | null | null | src/core/command.py | cfmcdonald-78/Hexcrawler | 79ca4ab9327abf08de1743612c23eb89aa53a2b9 | [
"MIT"
] | 1 | 2021-12-01T01:38:12.000Z | 2021-12-01T01:38:12.000Z | '''
Created on Jul 19, 2012
@author: Chris
'''
class Command(object):
def validate(self, game):
pass
def execute(self, game):
pass | 12.769231 | 29 | 0.554217 | 20 | 166 | 4.6 | 0.8 | 0.173913 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0.325301 | 166 | 13 | 30 | 12.769231 | 0.767857 | 0.23494 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
4d5f2fae7694343130816ebc7bceb8f26a914a6d | 79 | py | Python | The Core/At the Crossroads/willYou.py | shanemichaelarcaro/codesignal | 69b0460dbc163091dc115634bbb730da5caf65a9 | [
"MIT"
] | null | null | null | The Core/At the Crossroads/willYou.py | shanemichaelarcaro/codesignal | 69b0460dbc163091dc115634bbb730da5caf65a9 | [
"MIT"
] | null | null | null | The Core/At the Crossroads/willYou.py | shanemichaelarcaro/codesignal | 69b0460dbc163091dc115634bbb730da5caf65a9 | [
"MIT"
] | null | null | null | def willYou(young, beautiful, loved):
return loved != (young and beautiful) | 39.5 | 41 | 0.721519 | 10 | 79 | 5.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 79 | 2 | 41 | 39.5 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
4da96c829ebc724feb06739ebe6a1d31d5dda9bf | 49 | py | Python | while.py | egriswol/astr-119-hw-1 | e290355de8f48b9def3fdacf4779ac4a3c51a003 | [
"MIT"
] | null | null | null | while.py | egriswol/astr-119-hw-1 | e290355de8f48b9def3fdacf4779ac4a3c51a003 | [
"MIT"
] | 1 | 2018-10-18T17:49:41.000Z | 2018-10-18T17:49:41.000Z | while.py | egriswol/astr-119-hw-1 | e290355de8f48b9def3fdacf4779ac4a3c51a003 | [
"MIT"
] | 1 | 2018-10-18T01:31:32.000Z | 2018-10-18T01:31:32.000Z | i = 0
while (i<119):
print(i)
i+=10
| 7 | 14 | 0.408163 | 9 | 49 | 2.222222 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 0.408163 | 49 | 6 | 15 | 8.166667 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4de518de130a1d423998bfe32aad3a8e89b7b784 | 171 | py | Python | rllib/algorithms/maddpg/__init__.py | willfrey/ray | 288a81b42ef0186ab4db33b30191614a7bdb69f6 | [
"Apache-2.0"
] | null | null | null | rllib/algorithms/maddpg/__init__.py | willfrey/ray | 288a81b42ef0186ab4db33b30191614a7bdb69f6 | [
"Apache-2.0"
] | null | null | null | rllib/algorithms/maddpg/__init__.py | willfrey/ray | 288a81b42ef0186ab4db33b30191614a7bdb69f6 | [
"Apache-2.0"
] | 1 | 2019-09-24T16:24:49.000Z | 2019-09-24T16:24:49.000Z | from ray.rllib.algorithms.maddpg.maddpg import (
MADDPGConfig,
MADDPGTrainer,
DEFAULT_CONFIG,
)
__all__ = ["MADDPGConfig", "MADDPGTrainer", "DEFAULT_CONFIG"]
| 21.375 | 61 | 0.730994 | 16 | 171 | 7.4375 | 0.6875 | 0.420168 | 0.537815 | 0.638655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152047 | 171 | 7 | 62 | 24.428571 | 0.82069 | 0 | 0 | 0 | 0 | 0 | 0.22807 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1289e9a1e3edba91a08623829d6f72757cbc5c8d | 136 | py | Python | example/geometry/admin.py | emelianovss-yandex-praktikum/07_pyplus_django_2 | 09bda00f9c8e9fd1ff0f3a483ecb210041d19a48 | [
"MIT"
] | null | null | null | example/geometry/admin.py | emelianovss-yandex-praktikum/07_pyplus_django_2 | 09bda00f9c8e9fd1ff0f3a483ecb210041d19a48 | [
"MIT"
] | null | null | null | example/geometry/admin.py | emelianovss-yandex-praktikum/07_pyplus_django_2 | 09bda00f9c8e9fd1ff0f3a483ecb210041d19a48 | [
"MIT"
] | 2 | 2021-11-27T08:06:35.000Z | 2021-11-27T13:52:41.000Z | from django.contrib import admin
from geometry.models import Shape
@admin.register(Shape)
class AdminShape(admin.ModelAdmin):
...
| 17 | 35 | 0.772059 | 17 | 136 | 6.176471 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 136 | 7 | 36 | 19.428571 | 0.889831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
128e53da4b600437f498e3a40b34bc75e174bc07 | 117 | py | Python | marshmallow_helpers/__init__.py | hilearn/marsh-enum | 2003ed850b076cd9d29a340ee44abe1c73aadc66 | [
"MIT"
] | null | null | null | marshmallow_helpers/__init__.py | hilearn/marsh-enum | 2003ed850b076cd9d29a340ee44abe1c73aadc66 | [
"MIT"
] | null | null | null | marshmallow_helpers/__init__.py | hilearn/marsh-enum | 2003ed850b076cd9d29a340ee44abe1c73aadc66 | [
"MIT"
] | null | null | null | from .enum_field import EnumField, RegisteredEnum # noqa
from .marsh_schema import attr_with_schema, derive # noqa
| 39 | 58 | 0.811966 | 16 | 117 | 5.6875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 117 | 2 | 59 | 58.5 | 0.90099 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
12932d615b9cdc4848ccdf491cf3ec6f30e667d0 | 6,968 | py | Python | creel_portal/api/filters/FN024_Filter.py | AdamCottrill/CreelPortal | 5ec867c4f11b4231c112e8209116b6b96c2830ec | [
"MIT"
] | null | null | null | creel_portal/api/filters/FN024_Filter.py | AdamCottrill/CreelPortal | 5ec867c4f11b4231c112e8209116b6b96c2830ec | [
"MIT"
] | null | null | null | creel_portal/api/filters/FN024_Filter.py | AdamCottrill/CreelPortal | 5ec867c4f11b4231c112e8209116b6b96c2830ec | [
"MIT"
] | null | null | null | import django_filters
from ...models import FN024
from .filter_utils import NumberInFilter, ValueInFilter
class FN024SubFilter(django_filters.FilterSet):
"""A fitlerset that allows us to select subsets of net set objects by
net set attributes."""
prd = ValueInFilter(field_name="prd")
prd__not = Valu... | 33.180952 | 87 | 0.695896 | 840 | 6,968 | 5.180952 | 0.104762 | 0.107537 | 0.154412 | 0.192096 | 0.844899 | 0.824449 | 0.768612 | 0.715533 | 0.565257 | 0.492188 | 0 | 0.011542 | 0.204219 | 6,968 | 209 | 88 | 33.339713 | 0.773309 | 0.028846 | 0 | 0.266272 | 0 | 0 | 0.252707 | 0.14934 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017751 | 0 | 0.349112 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 5 |
12c35e34c837e4d87b7e6155a3d32986c86a463f | 88 | py | Python | __init__.py | sbalen/TrafficSignsDataset | 39ae40a0d307ee83af57f70eed43c38bc5d25233 | [
"Apache-2.0"
] | 1 | 2021-05-05T14:23:34.000Z | 2021-05-05T14:23:34.000Z | __init__.py | sbalen/TrafficSignsDataset | 39ae40a0d307ee83af57f70eed43c38bc5d25233 | [
"Apache-2.0"
] | null | null | null | __init__.py | sbalen/TrafficSignsDataset | 39ae40a0d307ee83af57f70eed43c38bc5d25233 | [
"Apache-2.0"
] | null | null | null | """TrafficSignDataset dataset."""
from .TrafficSignsDataset import Trafficsignsdataset
| 22 | 52 | 0.829545 | 6 | 88 | 12.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 88 | 3 | 53 | 29.333333 | 0.901235 | 0.306818 | 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 | 0 | 0 | 0 | 5 |
12f7704aea2bda946e46a42c6fdb1b32ab8e104a | 39 | py | Python | pixiv_spider/__init__.py | Uzukidd/Pixiv-spider | 10d21bf8f1e0ec0b0792383ae9e8ae55e77efd17 | [
"MIT"
] | 1 | 2021-11-12T19:16:56.000Z | 2021-11-12T19:16:56.000Z | pixiv_spider/__init__.py | Uzukidd/Pixiv-web-crawler | 10d21bf8f1e0ec0b0792383ae9e8ae55e77efd17 | [
"MIT"
] | null | null | null | pixiv_spider/__init__.py | Uzukidd/Pixiv-web-crawler | 10d21bf8f1e0ec0b0792383ae9e8ae55e77efd17 | [
"MIT"
] | null | null | null | # from pixiv_web_crawler import Getters | 39 | 39 | 0.871795 | 6 | 39 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 0.948718 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4201d4e01f67d6a8af781c7b4dac4cc684c59e89 | 117 | py | Python | src/iranlowo/corpus/__init__.py | Niger-Volta-LTI/iranlowo | 0046b61105ffadfff21dd8b37754b9d95177fbf8 | [
"MIT"
] | 17 | 2019-07-05T20:30:35.000Z | 2022-02-28T10:00:24.000Z | src/iranlowo/corpus/__init__.py | Olamyy/iranlowo | 1feb123988a8afac3ac53c7acfb72df862c4bc18 | [
"MIT"
] | 17 | 2019-07-06T09:10:10.000Z | 2020-11-13T08:30:37.000Z | src/iranlowo/corpus/__init__.py | ruohoruotsi/iranlowo | 0046b61105ffadfff21dd8b37754b9d95177fbf8 | [
"MIT"
] | 7 | 2019-07-01T01:59:07.000Z | 2020-11-27T17:12:46.000Z | from .corpus import Corpus, DirectoryCorpus
from .loaders import OweLoader, YorubaBlogCorpus, BBCCorpus, BibeliCorpus | 58.5 | 73 | 0.854701 | 12 | 117 | 8.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094017 | 117 | 2 | 73 | 58.5 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
420b2687d1f426ed1eefef8109dac3c6ae18bab7 | 261 | py | Python | workshop/serializers.py | shivammaniharsahu/django_api | 6ffb3d9f70f30f5fd3ae06ec00a6dd7c7783a797 | [
"bzip2-1.0.6"
] | null | null | null | workshop/serializers.py | shivammaniharsahu/django_api | 6ffb3d9f70f30f5fd3ae06ec00a6dd7c7783a797 | [
"bzip2-1.0.6"
] | null | null | null | workshop/serializers.py | shivammaniharsahu/django_api | 6ffb3d9f70f30f5fd3ae06ec00a6dd7c7783a797 | [
"bzip2-1.0.6"
] | null | null | null | from rest_framework import serializers
from .models import Register
class RegisterSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Register
fields = ('id', 'name', 'email', 'contact', 'password', 'confirm_password')
| 29 | 83 | 0.724138 | 25 | 261 | 7.48 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 261 | 8 | 84 | 32.625 | 0.865741 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
422b18d573ebb1cb612e410eb429acc8c41c02ef | 224 | py | Python | btc_tracker_engine/helper_functions.py | metalerk/4btc | ee9ec1a6fcea1b489bd8afa9c3a25c025e022cb0 | [
"MIT"
] | null | null | null | btc_tracker_engine/helper_functions.py | metalerk/4btc | ee9ec1a6fcea1b489bd8afa9c3a25c025e022cb0 | [
"MIT"
] | null | null | null | btc_tracker_engine/helper_functions.py | metalerk/4btc | ee9ec1a6fcea1b489bd8afa9c3a25c025e022cb0 | [
"MIT"
] | null | null | null | def rate_diff_percentage(previous_rate, current_rate, percentage=False):
diff_percentage = (current_rate - previous_rate) / previous_rate
if percentage:
return diff_percentage * 100
return diff_percentage | 44.8 | 72 | 0.772321 | 27 | 224 | 6.037037 | 0.37037 | 0.343558 | 0.196319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.169643 | 224 | 5 | 73 | 44.8 | 0.860215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
422b4572706867cc810fb195c7e12772e8a93c86 | 324 | py | Python | nngeometry/object/__init__.py | amyami187/nngeometry | cb516da3f7a019e148f48ff3ef3bed0cdae0d184 | [
"MIT"
] | 103 | 2020-03-19T08:47:29.000Z | 2022-03-29T00:54:38.000Z | nngeometry/object/__init__.py | amyami187/nngeometry | cb516da3f7a019e148f48ff3ef3bed0cdae0d184 | [
"MIT"
] | 29 | 2021-01-07T13:39:20.000Z | 2022-03-29T14:52:21.000Z | nngeometry/object/__init__.py | amyami187/nngeometry | cb516da3f7a019e148f48ff3ef3bed0cdae0d184 | [
"MIT"
] | 11 | 2020-11-09T01:07:12.000Z | 2022-03-29T00:54:41.000Z | from .pspace import (PMatDense, PMatBlockDiag, PMatDiag,
PMatLowRank, PMatImplicit,
PMatKFAC, PMatEKFAC, PMatQuasiDiag)
from .vector import (PVector, FVector)
from .fspace import (FMatDense,)
from .map import (PushForwardDense, PushForwardImplicit,
PullBackDen... | 40.5 | 56 | 0.66358 | 26 | 324 | 8.269231 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265432 | 324 | 7 | 57 | 46.285714 | 0.903361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4248c96a6cf8583046ad1cd239d37aa7ac5e5d96 | 740 | py | Python | terrascript/resource/ddelnano/mikrotik.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/resource/ddelnano/mikrotik.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/resource/ddelnano/mikrotik.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/resource/ddelnano/mikrotik.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:21:43 UTC)
import terrascript
class mikrotik_bgp_instance(terrascript.Resource):
pass
class mikrotik_bgp_peer(terrascript.Resource):
pass
class mikrotik_dhcp_lease(terrascript.Resource):
pass
c... | 17.209302 | 73 | 0.754054 | 85 | 740 | 6.258824 | 0.364706 | 0.285714 | 0.302632 | 0.315789 | 0.406015 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.156757 | 740 | 42 | 74 | 17.619048 | 0.833333 | 0.152703 | 0 | 0.291667 | 1 | 0 | 0.195513 | 0.033654 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.291667 | 0.041667 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
426e9a71b5a0425ef77735be32bb8398f28a2e1e | 45 | py | Python | ceefax/fonts/size7extracondensed/__init__.py | mscroggs/CEEFAX | 8e7a075de1809064b77360da24ebbbaa409c3bf2 | [
"MIT"
] | 1 | 2020-03-28T15:53:22.000Z | 2020-03-28T15:53:22.000Z | ceefax/fonts/size7extracondensed/__init__.py | mscroggs/CEEFAX | 8e7a075de1809064b77360da24ebbbaa409c3bf2 | [
"MIT"
] | 1 | 2021-02-05T13:43:52.000Z | 2021-02-05T13:43:52.000Z | ceefax/fonts/size7extracondensed/__init__.py | mscroggs/CEEFAX | 8e7a075de1809064b77360da24ebbbaa409c3bf2 | [
"MIT"
] | null | null | null | from .default import size7extracondensedfont
| 22.5 | 44 | 0.888889 | 4 | 45 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
427b0f2bb086452498a9bfd3a4dc95c14c7879d6 | 127 | py | Python | src/tarski/fstrips/contingent/__init__.py | phoeft670/tarski | 7d955e535fbbca012bfd1a12402b97febc6b35b9 | [
"Apache-2.0"
] | 29 | 2018-11-26T20:31:04.000Z | 2021-12-29T11:08:40.000Z | src/tarski/fstrips/contingent/__init__.py | phoeft670/tarski | 7d955e535fbbca012bfd1a12402b97febc6b35b9 | [
"Apache-2.0"
] | 101 | 2018-06-07T13:10:01.000Z | 2022-03-11T11:54:00.000Z | src/tarski/fstrips/contingent/__init__.py | phoeft670/tarski | 7d955e535fbbca012bfd1a12402b97febc6b35b9 | [
"Apache-2.0"
] | 18 | 2018-11-01T22:44:39.000Z | 2022-02-28T04:57:15.000Z | from .problem import ContingentProblem as Problem
from .. action import Action
from .sensor import Sensor
from . import errors
| 25.4 | 49 | 0.811024 | 17 | 127 | 6.058824 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149606 | 127 | 4 | 50 | 31.75 | 0.953704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
42abdb34b5121a34132a5ff61f5b37cf1ca828bc | 53 | py | Python | scripts/rnn/gru/__init__.py | bfeng/CryptoGRU | 65f6fe9eba981fea65fc665ff16938bf3a593001 | [
"MIT"
] | 1 | 2022-01-12T03:18:55.000Z | 2022-01-12T03:18:55.000Z | scripts/rnn/gru/__init__.py | bfeng/CryptoGRU | 65f6fe9eba981fea65fc665ff16938bf3a593001 | [
"MIT"
] | null | null | null | scripts/rnn/gru/__init__.py | bfeng/CryptoGRU | 65f6fe9eba981fea65fc665ff16938bf3a593001 | [
"MIT"
] | null | null | null | from .grucell import MyGRUCell
from .gru import MyGRU | 26.5 | 30 | 0.830189 | 8 | 53 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 2 | 31 | 26.5 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
35fbe8e8b4f1e1aa102f85306945ce878960b4de | 52 | py | Python | tests/conftest.py | grintor/Hello-Wolrd-CI | 1f1b8c40f55d0b35cd73601ed90567a84abf03db | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | grintor/Hello-Wolrd-CI | 1f1b8c40f55d0b35cd73601ed90567a84abf03db | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | grintor/Hello-Wolrd-CI | 1f1b8c40f55d0b35cd73601ed90567a84abf03db | [
"Apache-2.0"
] | null | null | null | # see: https://stackoverflow.com/a/34520971/3238695
| 26 | 51 | 0.769231 | 7 | 52 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.306122 | 0.057692 | 52 | 1 | 52 | 52 | 0.510204 | 0.942308 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c40ce4ea8967938d11ba63e971d617289f172e0d | 22 | py | Python | Python/SCRIPT PYTHON/Hello.py | guimaraesalves/material-python | d56b6b24ae35a67d394b43cb1ef4420805c7bd9b | [
"MIT"
] | null | null | null | Python/SCRIPT PYTHON/Hello.py | guimaraesalves/material-python | d56b6b24ae35a67d394b43cb1ef4420805c7bd9b | [
"MIT"
] | null | null | null | Python/SCRIPT PYTHON/Hello.py | guimaraesalves/material-python | d56b6b24ae35a67d394b43cb1ef4420805c7bd9b | [
"MIT"
] | null | null | null | print ("Hello Word!")
| 11 | 21 | 0.636364 | 3 | 22 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
6748094d5dca0ac93c047a1471d4c4dfa641d3ad | 112 | py | Python | 0702 In-Place Move Zeros to End of List.py | ansabgillani/binarysearchcomproblems | 12fe8632f8cbb5058c91a55bae53afa813a3247e | [
"MIT"
] | 1 | 2020-12-29T21:17:26.000Z | 2020-12-29T21:17:26.000Z | 0702 In-Place Move Zeros to End of List.py | ansabgillani/binarysearchcomproblems | 12fe8632f8cbb5058c91a55bae53afa813a3247e | [
"MIT"
] | null | null | null | 0702 In-Place Move Zeros to End of List.py | ansabgillani/binarysearchcomproblems | 12fe8632f8cbb5058c91a55bae53afa813a3247e | [
"MIT"
] | 4 | 2021-09-09T17:42:43.000Z | 2022-03-18T04:54:03.000Z | class Solution:
def solve(self, nums):
return [num for num in nums if num != 0] + [0]*nums.count(0)
| 28 | 68 | 0.598214 | 19 | 112 | 3.526316 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0.258929 | 112 | 3 | 69 | 37.333333 | 0.771084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
67525ed3e9b1efee9050769baa49e34f54d058e4 | 7,215 | py | Python | tests/st/fallback/control_flow/test_fallback_010_if_in_if.py | httpsgithu/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | 1 | 2022-02-23T09:13:43.000Z | 2022-02-23T09:13:43.000Z | tests/st/fallback/control_flow/test_fallback_010_if_in_if.py | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | tests/st/fallback/control_flow/test_fallback_010_if_in_if.py | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | # Copyright 2022 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 27.43346 | 78 | 0.595981 | 1,015 | 7,215 | 4.02266 | 0.129064 | 0.110213 | 0.11903 | 0.069802 | 0.773206 | 0.752143 | 0.749204 | 0.742591 | 0.729121 | 0.729121 | 0 | 0.035101 | 0.289258 | 7,215 | 262 | 79 | 27.538168 | 0.761115 | 0.214137 | 0 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 1 | 0.098361 | false | 0 | 0.016393 | 0 | 0.213115 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
675926d38ebca3605bde9778baaa7d1ff647176f | 95 | py | Python | pickle_storage/tests/__init__.py | PyUnchained/pickle_storage | c0a978701ae59a9feeb3e14026ff0b2353b2e7f5 | [
"MIT"
] | null | null | null | pickle_storage/tests/__init__.py | PyUnchained/pickle_storage | c0a978701ae59a9feeb3e14026ff0b2353b2e7f5 | [
"MIT"
] | null | null | null | pickle_storage/tests/__init__.py | PyUnchained/pickle_storage | c0a978701ae59a9feeb3e14026ff0b2353b2e7f5 | [
"MIT"
] | null | null | null | # import os
# os.environ.setdefault('PICKLE_STORAGE_SETTINGS', 'pickle_storage.tests.settings') | 47.5 | 83 | 0.810526 | 12 | 95 | 6.166667 | 0.666667 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 95 | 2 | 83 | 47.5 | 0.822222 | 0.957895 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
67607806f4f757a440672ca409795cb6fc24a8c8 | 97 | py | Python | src/__init__.py | PY-GZKY/fconversion | f1da069ac258444c8a6b2a5fe77d0e1295a0d4e4 | [
"Apache-2.0"
] | 1 | 2022-02-11T09:39:08.000Z | 2022-02-11T09:39:08.000Z | src/__init__.py | PY-GZKY/fconversion | f1da069ac258444c8a6b2a5fe77d0e1295a0d4e4 | [
"Apache-2.0"
] | null | null | null | src/__init__.py | PY-GZKY/fconversion | f1da069ac258444c8a6b2a5fe77d0e1295a0d4e4 | [
"Apache-2.0"
] | null | null | null | from .file_core import FileEngine
from src.utils.utils import *
from .version import __version__
| 24.25 | 33 | 0.824742 | 14 | 97 | 5.357143 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 97 | 3 | 34 | 32.333333 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6785ebdaa0a0f8a5a088b840a1b64f1e5c59a6a9 | 6,046 | py | Python | src/config/svc-monitor/svc_monitor/tests/test_port_tuple.py | UbuntuEvangelist/contrail-controller | 4e8a992230f8f8e91e4f753e19b5442d9e1b446d | [
"Apache-2.0"
] | null | null | null | src/config/svc-monitor/svc_monitor/tests/test_port_tuple.py | UbuntuEvangelist/contrail-controller | 4e8a992230f8f8e91e4f753e19b5442d9e1b446d | [
"Apache-2.0"
] | null | null | null | src/config/svc-monitor/svc_monitor/tests/test_port_tuple.py | UbuntuEvangelist/contrail-controller | 4e8a992230f8f8e91e4f753e19b5442d9e1b446d | [
"Apache-2.0"
] | 18 | 2017-01-12T09:28:44.000Z | 2019-04-18T20:47:42.000Z | import mock
from mock import patch
import unittest
from vnc_api.vnc_api import *
from svc_monitor.port_tuple import PortTupleAgent
from svc_monitor.config_db import *
import test_common_utils as test_utils
class PortTupleTest(unittest.TestCase):
def setUp(self):
InstanceIpSM._cassandra = mock.MagicMock()
... | 48.368 | 93 | 0.664406 | 782 | 6,046 | 4.886189 | 0.121483 | 0.058885 | 0.074588 | 0.094478 | 0.737765 | 0.715781 | 0.715781 | 0.715781 | 0.715781 | 0.715781 | 0 | 0.003309 | 0.200298 | 6,046 | 124 | 94 | 48.758065 | 0.78697 | 0 | 0 | 0.554545 | 0 | 0 | 0.27605 | 0.148528 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.036364 | false | 0 | 0.063636 | 0 | 0.109091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
67a4b479d6f75f2f17d3b85691a149733addfde8 | 7,560 | py | Python | tests/test_data_gateway/test_dummy_serial.py | aerosense-ai/data-gateway | 019b8e4a114e16d363a3167171a457cefdbf004f | [
"Apache-2.0"
] | null | null | null | tests/test_data_gateway/test_dummy_serial.py | aerosense-ai/data-gateway | 019b8e4a114e16d363a3167171a457cefdbf004f | [
"Apache-2.0"
] | 34 | 2021-12-20T14:51:57.000Z | 2022-03-30T16:47:04.000Z | tests/test_data_gateway/test_dummy_serial.py | aerosense-ai/data-gateway | 019b8e4a114e16d363a3167171a457cefdbf004f | [
"Apache-2.0"
] | null | null | null | import random
import unittest
from serial.serialutil import SerialException
from data_gateway.dummy_serial import DummySerial, constants, exceptions, random_bytes, random_string
from tests.base import BaseTestCase
class DummySerialTest(BaseTestCase):
def setUp(self):
"""Set up the test environment:
... | 41.538462 | 119 | 0.694577 | 968 | 7,560 | 5.103306 | 0.130165 | 0.13664 | 0.039474 | 0.052632 | 0.762753 | 0.749798 | 0.717409 | 0.717409 | 0.704251 | 0.687045 | 0 | 0.034261 | 0.220106 | 7,560 | 181 | 120 | 41.767956 | 0.803596 | 0.15 | 0 | 0.543307 | 0 | 0 | 0.001264 | 0 | 0 | 0 | 0 | 0 | 0.173228 | 1 | 0.094488 | false | 0 | 0.03937 | 0 | 0.141732 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
67da024b54f0853f0965d1f566e700aad7c2a74c | 152 | py | Python | pbt/population/__init__.py | automl/HPO_for_RL | d82c7ddd6fe19834c088137570530f11761d9390 | [
"Apache-2.0"
] | 9 | 2021-06-22T08:54:19.000Z | 2022-03-28T09:10:59.000Z | pbt/population/__init__.py | automl/HPO_for_RL | d82c7ddd6fe19834c088137570530f11761d9390 | [
"Apache-2.0"
] | null | null | null | pbt/population/__init__.py | automl/HPO_for_RL | d82c7ddd6fe19834c088137570530f11761d9390 | [
"Apache-2.0"
] | null | null | null | from .trial import Trial, NoTrial
from .member import Member
from .population import Population
__all__ = ['Trial', 'NoTrial', 'Member', 'Population']
| 25.333333 | 54 | 0.75 | 18 | 152 | 6.111111 | 0.388889 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 152 | 5 | 55 | 30.4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
db2cccb8706be958cee0c18ee9e554aac314a720 | 348 | py | Python | grpr2-ch/maci/policies/__init__.py | saarcohen30/GrPR2-CH | ba8c32f5b4caeebfc93ca30fa1fcc8223176183f | [
"MIT"
] | null | null | null | grpr2-ch/maci/policies/__init__.py | saarcohen30/GrPR2-CH | ba8c32f5b4caeebfc93ca30fa1fcc8223176183f | [
"MIT"
] | null | null | null | grpr2-ch/maci/policies/__init__.py | saarcohen30/GrPR2-CH | ba8c32f5b4caeebfc93ca30fa1fcc8223176183f | [
"MIT"
] | null | null | null | from .nn_policy import NNPolicy
# from .gmm import GMMPolicy
# from .latent_space_policy import LatentSpacePolicy
from .uniform_policy import UniformPolicy
# from .gaussian_policy import GaussianPolicy
from .stochastic_policy import StochasticNNPolicy, StochasticNNConditionalPolicy
from .deterministic_policy impo... | 38.666667 | 81 | 0.850575 | 36 | 348 | 8.027778 | 0.527778 | 0.249135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117816 | 348 | 8 | 82 | 43.5 | 0.941368 | 0.347701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 5 |
e1f30a4f4d1925bf5687b7cf412adf4bd33cee9b | 84 | py | Python | docs/ResearchSession/manage.py | VoIlAlex/pytorchresearch | c4f08cd0ec6b78788e682005c099aef4582640cb | [
"MIT"
] | 1 | 2020-12-13T20:25:27.000Z | 2020-12-13T20:25:27.000Z | docs/ResearchSession/manage.py | VoIlAlex/pytorchresearch | c4f08cd0ec6b78788e682005c099aef4582640cb | [
"MIT"
] | null | null | null | docs/ResearchSession/manage.py | VoIlAlex/pytorchresearch | c4f08cd0ec6b78788e682005c099aef4582640cb | [
"MIT"
] | null | null | null | from backbone import entry_point
if __name__ == '__main__':
entry_point.main()
| 16.8 | 32 | 0.738095 | 11 | 84 | 4.727273 | 0.727273 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 84 | 4 | 33 | 21 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.