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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7251646cf461bf0c300a8ea920d9b86aae0147b2 | 714 | py | Python | util/config_util.py | Bilal-A-Qureshi/Point-GNN | 401eba8f7afaaa811ee1d001f38405629071a42a | [
"MIT"
] | 418 | 2020-02-29T16:48:37.000Z | 2022-03-29T03:07:27.000Z | util/config_util.py | Bilal-A-Qureshi/Point-GNN | 401eba8f7afaaa811ee1d001f38405629071a42a | [
"MIT"
] | 91 | 2020-03-13T08:25:52.000Z | 2022-03-10T01:56:52.000Z | util/config_util.py | Bilal-A-Qureshi/Point-GNN | 401eba8f7afaaa811ee1d001f38405629071a42a | [
"MIT"
] | 120 | 2020-03-04T16:21:30.000Z | 2022-03-11T08:20:52.000Z | """This file implements configuration functions. """
import json
def load_config(filename):
"""Load a configuration file."""
with open(filename, 'r') as f:
config = json.load(f)
return config
def save_config(filename, config):
"""Save a configuration file. """
with open(filename, 'w') as ... | 27.461538 | 60 | 0.652661 | 99 | 714 | 4.606061 | 0.272727 | 0.122807 | 0.157895 | 0.192982 | 0.754386 | 0.754386 | 0.754386 | 0.640351 | 0.640351 | 0.640351 | 0 | 0.003552 | 0.211485 | 714 | 25 | 61 | 28.56 | 0.806394 | 0.217087 | 0 | 0.533333 | 0 | 0 | 0.007519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0 | 0.466667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9d00141e4d320788f466528cff487ce7d7ecc28d | 150 | py | Python | arris_dcx960/exceptions.py | ratty76/arris_dcx960-python | 27b8f80e760a1f6017d9fce94d6770aba7d25a43 | [
"MIT"
] | null | null | null | arris_dcx960/exceptions.py | ratty76/arris_dcx960-python | 27b8f80e760a1f6017d9fce94d6770aba7d25a43 | [
"MIT"
] | null | null | null | arris_dcx960/exceptions.py | ratty76/arris_dcx960-python | 27b8f80e760a1f6017d9fce94d6770aba7d25a43 | [
"MIT"
] | null | null | null | """Python client for Arris DCX960."""
class ArrisDCX960ConnectionError(Exception):
pass
class ArrisDCX960AuthenticationError(Exception):
pass | 25 | 48 | 0.786667 | 13 | 150 | 9.076923 | 0.769231 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068702 | 0.126667 | 150 | 6 | 49 | 25 | 0.832061 | 0.206667 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
9d5ff9080bb9489e65513695dcade42928905ef4 | 51 | py | Python | goto_cloud/remote_host_command/public.py | jdepoix/goto_cloud | 59bb9923026e1b1dc6e8e08fb6b21300c8e8854a | [
"MIT"
] | 2 | 2018-02-04T23:22:17.000Z | 2019-04-15T12:06:04.000Z | goto_cloud/remote_host_command/public.py | jdepoix/goto_cloud | 59bb9923026e1b1dc6e8e08fb6b21300c8e8854a | [
"MIT"
] | null | null | null | goto_cloud/remote_host_command/public.py | jdepoix/goto_cloud | 59bb9923026e1b1dc6e8e08fb6b21300c8e8854a | [
"MIT"
] | null | null | null | from .remote_host_command import RemoteHostCommand
| 25.5 | 50 | 0.901961 | 6 | 51 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 1 | 51 | 51 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
19dd37acb76e71058c8465cce9607429d3b9c3a0 | 169 | py | Python | portal_src/ext/renderbug/bin/nodes/nodes_display.py | bug00r/portal-py | 388067bb571455f0249daffd04bb51606dc46194 | [
"MIT"
] | null | null | null | portal_src/ext/renderbug/bin/nodes/nodes_display.py | bug00r/portal-py | 388067bb571455f0249daffd04bb51606dc46194 | [
"MIT"
] | null | null | null | portal_src/ext/renderbug/bin/nodes/nodes_display.py | bug00r/portal-py | 388067bb571455f0249daffd04bb51606dc46194 | [
"MIT"
] | null | null | null | from ext.renderbug.bin.nodes.node_base import BaseNode
class TextureDisplayNode(BaseNode):
"""
{
"name": ["Display", "Texture"]
}
"""
pass
| 15.363636 | 54 | 0.591716 | 16 | 169 | 6.1875 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260355 | 169 | 10 | 55 | 16.9 | 0.792 | 0.224852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
c215cea128ae7d0a5ae972db52df885b12642af2 | 873 | py | Python | my_library/models/__init__.py | handsomezebra/nlp | cb9fdedc4bc685cefb0829ed65cf39ba2826439c | [
"MIT"
] | 6 | 2018-09-15T01:31:02.000Z | 2019-09-30T03:07:18.000Z | my_library/models/__init__.py | handsomezebra/nlp | cb9fdedc4bc685cefb0829ed65cf39ba2826439c | [
"MIT"
] | 5 | 2018-08-05T14:28:24.000Z | 2021-08-09T15:23:05.000Z | my_library/models/__init__.py | handsomezebra/nlp | cb9fdedc4bc685cefb0829ed65cf39ba2826439c | [
"MIT"
] | 3 | 2018-08-07T05:06:06.000Z | 2019-11-06T14:03:35.000Z | from my_library.models.para_classification import ParaClassification
from my_library.models.para_cosine import ParaCosine
from my_library.models.esim_cosine import ESIMCosine
from my_library.models.contrastive_loss import ContrastiveLoss, CosineContrastiveLoss
from my_library.models.self_attentive_lstm import SelfAtten... | 58.2 | 97 | 0.904926 | 107 | 873 | 7.130841 | 0.373832 | 0.102228 | 0.221494 | 0.323722 | 0.150721 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007335 | 0.063001 | 873 | 14 | 98 | 62.357143 | 0.925428 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c2283dea0debc5f5971bcd79520f5b8ad37b699c | 101 | py | Python | enthought/appscripting/action/api.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/appscripting/action/api.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/appscripting/action/api.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from apptools.appscripting.action.api import *
| 25.25 | 46 | 0.841584 | 13 | 101 | 6.153846 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 101 | 3 | 47 | 33.666667 | 0.888889 | 0.118812 | 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 |
c23bd727ee14a9f3c04aac3b24c67d585714229e | 211 | py | Python | tests/test_web3.py | lgloege/web3storage | 702e423a92e4ecd746f86ce2b3f3aeb405f1781f | [
"MIT"
] | 1 | 2022-03-26T03:15:49.000Z | 2022-03-26T03:15:49.000Z | tests/test_web3.py | lgloege/web3storage | 702e423a92e4ecd746f86ce2b3f3aeb405f1781f | [
"MIT"
] | 3 | 2022-03-26T03:28:36.000Z | 2022-03-30T17:07:02.000Z | tests/test_web3.py | lgloege/web3storage | 702e423a92e4ecd746f86ce2b3f3aeb405f1781f | [
"MIT"
] | null | null | null | import web3storage
# import pytest
# use this when using pytest
# import os
# ACCESS_TOKEN = os.getenv('ACCESS_TOKEN')
# hardcode token
# ACCESS_TOKEN = ''
def test_client():
web3 = web3storage.Client()
| 15.071429 | 42 | 0.71564 | 27 | 211 | 5.444444 | 0.592593 | 0.22449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017341 | 0.180095 | 211 | 13 | 43 | 16.230769 | 0.83237 | 0.587678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dfd3f31b9edbca7c4bc3f0679ef8e20b513f4ec3 | 234 | py | Python | lib/world/__init__.py | defgsus/thegame | 38a627d9108f1418b94b08831fd640dd87fbba83 | [
"MIT"
] | 1 | 2021-11-05T11:49:26.000Z | 2021-11-05T11:49:26.000Z | lib/world/__init__.py | defgsus/thegame | 38a627d9108f1418b94b08831fd640dd87fbba83 | [
"MIT"
] | null | null | null | lib/world/__init__.py | defgsus/thegame | 38a627d9108f1418b94b08831fd640dd87fbba83 | [
"MIT"
] | null | null | null | from .TiledImport import TiledImport
from .Tileset import Tileset
from .VoxelDistanceField import VoxelDistanceField
from .WorldChunk import WorldChunk
from .WorldEngine import WorldEngine
from .WorldProjection import WorldProjection
| 33.428571 | 50 | 0.871795 | 24 | 234 | 8.5 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 234 | 6 | 51 | 39 | 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 |
dfefe277e3d2fd17a9b81d3c4cadd8fb4532db55 | 213 | py | Python | print_model.py | Numb523/FastSpeech2_emotion | a541ce89ddf66625ee57c0a294d0bec1ae701f0c | [
"MIT"
] | null | null | null | print_model.py | Numb523/FastSpeech2_emotion | a541ce89ddf66625ee57c0a294d0bec1ae701f0c | [
"MIT"
] | null | null | null | print_model.py | Numb523/FastSpeech2_emotion | a541ce89ddf66625ee57c0a294d0bec1ae701f0c | [
"MIT"
] | null | null | null | from model import FastSpeech2, ScheduledOptim
from utils.tools import get_configs_of
preprocess_config, model_config, train_config = get_configs_of("AISHELL3")
print(FastSpeech2(preprocess_config, model_config)) | 35.5 | 74 | 0.85446 | 28 | 213 | 6.178571 | 0.535714 | 0.115607 | 0.138728 | 0.312139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015306 | 0.079812 | 213 | 6 | 75 | 35.5 | 0.867347 | 0 | 0 | 0 | 0 | 0 | 0.037383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5f27f31def7c7317ad0085d63e7df21b42309000 | 15 | py | Python | src/vimpdb/tests/scripts/wrongserverlist.py | bheadmaster/vimpdb | fd82405619ce430995f6ad3ec262a40c563a4e20 | [
"MIT"
] | null | null | null | src/vimpdb/tests/scripts/wrongserverlist.py | bheadmaster/vimpdb | fd82405619ce430995f6ad3ec262a40c563a4e20 | [
"MIT"
] | null | null | null | src/vimpdb/tests/scripts/wrongserverlist.py | bheadmaster/vimpdb | fd82405619ce430995f6ad3ec262a40c563a4e20 | [
"MIT"
] | null | null | null | print("WRONG")
| 7.5 | 14 | 0.666667 | 2 | 15 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 15 | 1 | 15 | 15 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
a078a04ec35bf8b6e81f90541758aae34cee166d | 126 | py | Python | ood_samplefree/experiments/__init__.py | jm-begon/ood_samplefree | 2c659fa8f2d15487f78c811c3fdeded1b1cfe91c | [
"BSD-3-Clause"
] | 2 | 2021-09-14T12:54:30.000Z | 2021-10-24T02:23:39.000Z | ood_samplefree/experiments/__init__.py | jm-begon/ood_samplefree | 2c659fa8f2d15487f78c811c3fdeded1b1cfe91c | [
"BSD-3-Clause"
] | null | null | null | ood_samplefree/experiments/__init__.py | jm-begon/ood_samplefree | 2c659fa8f2d15487f78c811c3fdeded1b1cfe91c | [
"BSD-3-Clause"
] | null | null | null | from .base import stream_ood_features, OODStreamerWithSummaries
__all__ = ["stream_ood_features", "OODStreamerWithSummaries"] | 42 | 63 | 0.849206 | 12 | 126 | 8.25 | 0.666667 | 0.181818 | 0.343434 | 0.828283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 126 | 3 | 64 | 42 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.338583 | 0.188976 | 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 |
2602cc57e2949b8f10e332cca4cbacd33acbccfb | 2,591 | py | Python | Mongo.py | miketineo/places | 94adaf7f8e5c8f5909f0407207019e9a0651ebbe | [
"MIT"
] | null | null | null | Mongo.py | miketineo/places | 94adaf7f8e5c8f5909f0407207019e9a0651ebbe | [
"MIT"
] | null | null | null | Mongo.py | miketineo/places | 94adaf7f8e5c8f5909f0407207019e9a0651ebbe | [
"MIT"
] | null | null | null | from flask import Flask, request, json, Response
from pymongo import MongoClient
import logging as log
import os
from MongoAPI import MongoAPI
app = Flask(__name__)
HOST = os.environ.get('DOCKER_HOST_IP', 'localhost')
PORT = os.environ.get('MONGO_PORT', '5000')
@app.route('/')
def base():
return Response(respons... | 33.649351 | 96 | 0.59012 | 285 | 2,591 | 5.298246 | 0.22807 | 0.083444 | 0.131126 | 0.154967 | 0.751656 | 0.731126 | 0.731126 | 0.731126 | 0.731126 | 0.676159 | 0 | 0.025215 | 0.280587 | 2,591 | 76 | 97 | 34.092105 | 0.784871 | 0 | 0 | 0.5625 | 0 | 0 | 0.170205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078125 | false | 0 | 0.078125 | 0.015625 | 0.296875 | 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 |
261a7dc7db439fd748cb6ed9dec753ff9b9e6369 | 30 | py | Python | tests/__init__.py | AvalonPlex/avalonplex-core | 3b3aa263edf5c22e8dec3430ecafa28504a48435 | [
"MIT"
] | null | null | null | tests/__init__.py | AvalonPlex/avalonplex-core | 3b3aa263edf5c22e8dec3430ecafa28504a48435 | [
"MIT"
] | 1 | 2018-01-22T07:02:27.000Z | 2018-01-22T07:02:36.000Z | tests/__init__.py | AvalonPlex/avalonplex-core | 3b3aa263edf5c22e8dec3430ecafa28504a48435 | [
"MIT"
] | null | null | null | from tests.serialize import *
| 15 | 29 | 0.8 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
268b719e40e39b84a32bf028763cc90695fbd80b | 108 | py | Python | nsvision/__init__.py | challengerinteractive/nsvision | e7870f21c23987bf3ca833857e60463efe511703 | [
"MIT"
] | null | null | null | nsvision/__init__.py | challengerinteractive/nsvision | e7870f21c23987bf3ca833857e60463efe511703 | [
"MIT"
] | null | null | null | nsvision/__init__.py | challengerinteractive/nsvision | e7870f21c23987bf3ca833857e60463efe511703 | [
"MIT"
] | null | null | null | from ._version import version as __version__
from .image_utils import *
from .video_utils import live_video
| 27 | 44 | 0.833333 | 16 | 108 | 5.125 | 0.5 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 108 | 3 | 45 | 36 | 0.87234 | 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 |
cd083be42638e60bcda9c9323f35b35c73801f94 | 204 | py | Python | main.py | Baltsat/text_processing | 088b130fbf21a4bf4e19dfb68ba3ea33152ce85e | [
"MIT"
] | null | null | null | main.py | Baltsat/text_processing | 088b130fbf21a4bf4e19dfb68ba3ea33152ce85e | [
"MIT"
] | null | null | null | main.py | Baltsat/text_processing | 088b130fbf21a4bf4e19dfb68ba3ea33152ce85e | [
"MIT"
] | null | null | null | from processing import filter
from analyzing import analyze
# Text Pre-processing
filter('SiriusData.csv', 'Processed_text.txt')
# Text Analyzing and Report
analyze('Processed_text.txt', 'report.txt')
| 20.4 | 46 | 0.784314 | 27 | 204 | 5.851852 | 0.518519 | 0.164557 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112745 | 204 | 9 | 47 | 22.666667 | 0.872928 | 0.220588 | 0 | 0 | 0 | 0 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cd1373791ce7325e0a0581b8cf36063d974b5139 | 24 | py | Python | knight/__init__.py | hackerkid/knight | 4d0d53046f972e522061fb339778a3d10da3b759 | [
"MIT"
] | 1 | 2018-11-10T10:02:34.000Z | 2018-11-10T10:02:34.000Z | knight/__init__.py | hackerkid/knight | 4d0d53046f972e522061fb339778a3d10da3b759 | [
"MIT"
] | null | null | null | knight/__init__.py | hackerkid/knight | 4d0d53046f972e522061fb339778a3d10da3b759 | [
"MIT"
] | null | null | null | from .knight import app
| 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 |
cd25a03a8d4319a983bcdb23d03e2076d5a7f556 | 235 | py | Python | backend/backend/files/admin.py | Phantom-Troupe-CS251/RedPlag | 6c6d7a26fcc5d23cf5bea26d3d1596a87f8dda7c | [
"MIT"
] | null | null | null | backend/backend/files/admin.py | Phantom-Troupe-CS251/RedPlag | 6c6d7a26fcc5d23cf5bea26d3d1596a87f8dda7c | [
"MIT"
] | 7 | 2021-04-08T20:12:18.000Z | 2021-06-10T20:19:13.000Z | backend/backend/files/admin.py | Phantom-Troupe-CS251/RedPlag | 6c6d7a26fcc5d23cf5bea26d3d1596a87f8dda7c | [
"MIT"
] | 1 | 2022-01-15T21:57:16.000Z | 2022-01-15T21:57:16.000Z | from django.contrib import admin
from .models import UploadFile, OutputFile, HeatMapFile, HistogramFile
admin.site.register(UploadFile)
admin.site.register(OutputFile)
admin.site.register(HeatMapFile)
admin.site.register(HistogramFile) | 39.166667 | 70 | 0.851064 | 28 | 235 | 7.142857 | 0.428571 | 0.18 | 0.34 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059574 | 235 | 6 | 71 | 39.166667 | 0.904977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
cd561fd94668ce7f62e7986e57571ba66a1c223a | 112 | py | Python | RPiserver/scripts/alarm02.py | Chathura-Rathnayake/SoteriaX-RaspberryPi | 292797a40c0ef3593bd2b3ea200d5664b5d2c3c6 | [
"MIT"
] | null | null | null | RPiserver/scripts/alarm02.py | Chathura-Rathnayake/SoteriaX-RaspberryPi | 292797a40c0ef3593bd2b3ea200d5664b5d2c3c6 | [
"MIT"
] | null | null | null | RPiserver/scripts/alarm02.py | Chathura-Rathnayake/SoteriaX-RaspberryPi | 292797a40c0ef3593bd2b3ea200d5664b5d2c3c6 | [
"MIT"
] | null | null | null | import os
os.system('mpg321 /home/pi/RPiserver/alarms/2.mp3')
print("Alarm02 played successfully")
# play sound
| 22.4 | 51 | 0.767857 | 17 | 112 | 5.058824 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068627 | 0.089286 | 112 | 4 | 52 | 28 | 0.77451 | 0.089286 | 0 | 0 | 0 | 0 | 0.65 | 0.31 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cd7872446413dff6c9773c3c8fc86115f0167893 | 54 | py | Python | tests/tt2.py | yuanjia-open-source/sniff-code | 421d0898986fcb114e0b36e1a9dee87c49412c03 | [
"MIT"
] | null | null | null | tests/tt2.py | yuanjia-open-source/sniff-code | 421d0898986fcb114e0b36e1a9dee87c49412c03 | [
"MIT"
] | null | null | null | tests/tt2.py | yuanjia-open-source/sniff-code | 421d0898986fcb114e0b36e1a9dee87c49412c03 | [
"MIT"
] | null | null | null | class A(object):
pass
class B(object):
pass
| 7.714286 | 16 | 0.592593 | 8 | 54 | 4 | 0.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 54 | 6 | 17 | 9 | 0.842105 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
cd969077e0f8d70e4f7376673e9b506920b83600 | 87 | py | Python | python/testData/paramInfo/KwdFunction.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/paramInfo/KwdFunction.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/paramInfo/KwdFunction.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo(a, b, **c):
pass
foo(<arg1>1, <arg2>2, <arg3>x=3, <arg4>**{'y':4}, <arg5>)
| 14.5 | 57 | 0.482759 | 18 | 87 | 2.333333 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 0.16092 | 87 | 5 | 58 | 17.4 | 0.452055 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.333333 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
26b9a17b23653a43ad1ffb0659d1cea657eaedf1 | 1,211 | py | Python | openapi-python-client/openapi_client/api/__init__.py | yanavasileva/camunda-bpm-examples | 051f8f28c62845e68ce4059ab64264c5a0bdc009 | [
"Apache-2.0"
] | null | null | null | openapi-python-client/openapi_client/api/__init__.py | yanavasileva/camunda-bpm-examples | 051f8f28c62845e68ce4059ab64264c5a0bdc009 | [
"Apache-2.0"
] | null | null | null | openapi-python-client/openapi_client/api/__init__.py | yanavasileva/camunda-bpm-examples | 051f8f28c62845e68ce4059ab64264c5a0bdc009 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from openapi_client.api.condition_api import ConditionApi
from openapi_client.api.deployment_api import DeploymentApi
from openapi_client.api.engine_api import EngineApi
from openapi_client.api.event_subscription_api import EventSubs... | 50.458333 | 75 | 0.895954 | 168 | 1,211 | 6.142857 | 0.309524 | 0.19186 | 0.296512 | 0.348837 | 0.19186 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00089 | 0.071841 | 1,211 | 23 | 76 | 52.652174 | 0.91726 | 0.033856 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
26fa63a999028cb7ae6379010c337a88fbea2cf3 | 145 | py | Python | comvex/utils/helpers/__init__.py | shrenik-jain/ComVEX | 93622de3a4771cda13b14f8bba52990eb47c2409 | [
"Apache-2.0"
] | 29 | 2021-06-14T08:27:43.000Z | 2022-02-07T13:40:27.000Z | comvex/utils/helpers/__init__.py | shrenik-jain/ComVEX | 93622de3a4771cda13b14f8bba52990eb47c2409 | [
"Apache-2.0"
] | 3 | 2021-11-23T16:11:51.000Z | 2021-12-21T17:24:36.000Z | comvex/utils/helpers/__init__.py | shrenik-jain/ComVEX | 93622de3a4771cda13b14f8bba52990eb47c2409 | [
"Apache-2.0"
] | 3 | 2021-06-27T08:18:57.000Z | 2021-12-17T07:29:59.000Z | from .functions import name_with_msg, config_pop_argument, get_attr_if_exists, get_act_fnc, get_conv_layer, get_norm_layer
from .classes import * | 72.5 | 122 | 0.862069 | 25 | 145 | 4.48 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082759 | 145 | 2 | 123 | 72.5 | 0.842105 | 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 |
f832381687aea247941c5f054b80e625db3fbff0 | 98 | py | Python | 5200_flask_app/app/config.py | F-Zainab/SWArch | e9b5638d0287278f78b21428b2bc5bcfba417585 | [
"MIT"
] | null | null | null | 5200_flask_app/app/config.py | F-Zainab/SWArch | e9b5638d0287278f78b21428b2bc5bcfba417585 | [
"MIT"
] | 1 | 2020-02-17T19:32:28.000Z | 2020-02-17T20:20:23.000Z | 5200_flask_app/app/config.py | F-Zainab/SWArch | e9b5638d0287278f78b21428b2bc5bcfba417585 | [
"MIT"
] | 3 | 2020-01-31T05:10:30.000Z | 2020-03-04T03:02:56.000Z | import os
class Config():
SECRET_KEY = os.environ.get('SECRET_KEY') or 'a-not-that-secret-key' | 32.666667 | 72 | 0.714286 | 17 | 98 | 4 | 0.705882 | 0.397059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 3 | 72 | 32.666667 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0.313131 | 0.212121 | 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 |
f89ee74b125a9526ea284a3e472adc57effef34c | 313 | py | Python | Scripts/Basics/04_if.py | MMMahmoodian/fundamental-arcpy | 09ad1da8467e6181ad8f86fcbe00e4b7e3c52375 | [
"MIT"
] | null | null | null | Scripts/Basics/04_if.py | MMMahmoodian/fundamental-arcpy | 09ad1da8467e6181ad8f86fcbe00e4b7e3c52375 | [
"MIT"
] | null | null | null | Scripts/Basics/04_if.py | MMMahmoodian/fundamental-arcpy | 09ad1da8467e6181ad8f86fcbe00e4b7e3c52375 | [
"MIT"
] | null | null | null |
x = 5
if x > 100:
print "bigger than 100"
if x > 50 and x < 100:
print "bigger than 50"
if x > 10:
print "bigger than 10"
if x > 40:
print "bigger"
else:
print "less"
if x > 100:
print "bigger than 100"
elif x > 50:
print "bigger than 50"
elif x > 10:
print "bigger than 10"
| 13.041667 | 27 | 0.56869 | 55 | 313 | 3.236364 | 0.254545 | 0.432584 | 0.505618 | 0.252809 | 0.601124 | 0.494382 | 0.269663 | 0 | 0 | 0 | 0 | 0.161137 | 0.325879 | 313 | 23 | 28 | 13.608696 | 0.682464 | 0 | 0 | 0.470588 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.470588 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f8ad63c24c45b8dfef7c5ec9679e2f9b5f14275e | 83 | py | Python | Mundo01/Python/aula08b.py | molonti/CursoemVideo---Python | 4f6a7af648f7f619d11e95fa3dc7a33b28fcfa11 | [
"MIT"
] | null | null | null | Mundo01/Python/aula08b.py | molonti/CursoemVideo---Python | 4f6a7af648f7f619d11e95fa3dc7a33b28fcfa11 | [
"MIT"
] | null | null | null | Mundo01/Python/aula08b.py | molonti/CursoemVideo---Python | 4f6a7af648f7f619d11e95fa3dc7a33b28fcfa11 | [
"MIT"
] | null | null | null | import emoji
print(emoji.emojize("olá, Mundo :earth_americas:", use_aliases=True))
| 27.666667 | 69 | 0.783133 | 12 | 83 | 5.25 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072289 | 83 | 2 | 70 | 41.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.325301 | 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 |
6ef7197051a2f7342d34e4983627a0f99ea486be | 85 | py | Python | redbox/config/types/__init__.py | cytopia/prometheus-redbox_exporter | cfef30d9b705cc0176b74c7a527709a27937ce25 | [
"MIT"
] | 3 | 2021-02-27T13:40:32.000Z | 2021-03-18T18:44:07.000Z | redbox/config/types/__init__.py | cytopia/prometheus-redbox_exporter | cfef30d9b705cc0176b74c7a527709a27937ce25 | [
"MIT"
] | null | null | null | redbox/config/types/__init__.py | cytopia/prometheus-redbox_exporter | cfef30d9b705cc0176b74c7a527709a27937ce25 | [
"MIT"
] | null | null | null | """Module Imports."""
from .ds_config import DsConfig
from ...types import DsTarget
| 17 | 31 | 0.741176 | 11 | 85 | 5.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 85 | 4 | 32 | 21.25 | 0.837838 | 0.176471 | 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 |
3e2ff8191906ffb2617cceb141885adfafb4240f | 412 | py | Python | y2018/day14/day14_test.py | ammarnajjar/adventofcode | d8c6416cdad9ca4a254c4888422fa3ce29524685 | [
"MIT"
] | null | null | null | y2018/day14/day14_test.py | ammarnajjar/adventofcode | d8c6416cdad9ca4a254c4888422fa3ce29524685 | [
"MIT"
] | 7 | 2019-11-20T10:04:49.000Z | 2022-03-18T00:19:12.000Z | y2018/day14/day14_test.py | ammarnajjar/adventofcode | d8c6416cdad9ca4a254c4888422fa3ce29524685 | [
"MIT"
] | null | null | null | from day14 import part1
from day14 import part2
def test_part1():
assert part1('37', 5) == '0124515891'
assert part1('37', 9) == '5158916779'
assert part1('37', 18) == '9251071085'
assert part1('37', 2018) == '5941429882'
def test_part2():
assert part2('37', '51589') == 9
assert part2('37', ... | 24.235294 | 44 | 0.597087 | 54 | 412 | 4.518519 | 0.388889 | 0.180328 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.213592 | 412 | 16 | 45 | 25.75 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0.184466 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3e3c2fe9e697fb836e76bfe1215c570f6e3ac1ce | 4,906 | py | Python | hikyuu/test/Signal.py | kknet/hikyuu | 650814c3e1d32894ccc1263a0fecd6693028d2e3 | [
"MIT"
] | 1 | 2021-11-21T08:42:35.000Z | 2021-11-21T08:42:35.000Z | hikyuu/test/Signal.py | kknet/hikyuu | 650814c3e1d32894ccc1263a0fecd6693028d2e3 | [
"MIT"
] | null | null | null | hikyuu/test/Signal.py | kknet/hikyuu | 650814c3e1d32894ccc1263a0fecd6693028d2e3 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf8 -*-
# gb18030
#===============================================================================
# 作者:fasiondog
# 历史:1)20130321, Added by fasiondog
#===============================================================================
import unittest
from test_init import *
class Signa... | 33.60274 | 81 | 0.621688 | 581 | 4,906 | 5.072289 | 0.134251 | 0.162878 | 0.162878 | 0.119444 | 0.778758 | 0.778758 | 0.739057 | 0.715304 | 0.691551 | 0.691551 | 0 | 0.140706 | 0.214839 | 4,906 | 145 | 82 | 33.834483 | 0.624351 | 0.050958 | 0 | 0.718447 | 0 | 0 | 0.031405 | 0 | 0 | 0 | 0 | 0 | 0.38835 | 1 | 0.087379 | false | 0 | 0.019417 | 0.019417 | 0.165049 | 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 |
3e68e3187a39cd693b6614a513e62762ce4ab4cc | 83 | py | Python | nemo/nemo/backends/pytorch/tutorials/__init__.py | petermartigny/NeMo | b20821e637314940e36b63d32c601c43d1b74051 | [
"Apache-2.0"
] | 10 | 2020-03-17T08:32:06.000Z | 2021-04-19T19:03:50.000Z | nemo/nemo/backends/pytorch/tutorials/__init__.py | petermartigny/NeMo | b20821e637314940e36b63d32c601c43d1b74051 | [
"Apache-2.0"
] | 3 | 2020-11-13T17:45:41.000Z | 2022-03-12T00:28:59.000Z | nemo/nemo/backends/pytorch/tutorials/__init__.py | petermartigny/NeMo | b20821e637314940e36b63d32c601c43d1b74051 | [
"Apache-2.0"
] | 3 | 2020-03-10T05:10:07.000Z | 2020-12-08T01:33:35.000Z | # Copyright (c) 2019 NVIDIA Corporation
from .chatbot import *
from .toys import *
| 20.75 | 39 | 0.746988 | 11 | 83 | 5.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0.168675 | 83 | 3 | 40 | 27.666667 | 0.84058 | 0.445783 | 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 |
3e7bb0c11d68253beefde7709d98ae60c1ff992a | 1,881 | py | Python | dbks/cluster/api.py | vincentlam/dbks | a6dedd6281100666b0e8eb6a5a838362d3260fc5 | [
"MIT"
] | null | null | null | dbks/cluster/api.py | vincentlam/dbks | a6dedd6281100666b0e8eb6a5a838362d3260fc5 | [
"MIT"
] | null | null | null | dbks/cluster/api.py | vincentlam/dbks | a6dedd6281100666b0e8eb6a5a838362d3260fc5 | [
"MIT"
] | null | null | null | from dbks.client import Client
class ClusterAPI:
def __init__(self, client=Client()):
self.client = client
def create(self, params=None, json=None):
return self.client.call("POST", "/clusters/create", json=json)
def edit(self, params=None, json=None):
return self.client.call("POS... | 36.173077 | 80 | 0.657097 | 256 | 1,881 | 4.796875 | 0.136719 | 0.138436 | 0.17101 | 0.21987 | 0.665309 | 0.665309 | 0.665309 | 0.665309 | 0.665309 | 0.665309 | 0 | 0 | 0.17916 | 1,881 | 51 | 81 | 36.882353 | 0.795337 | 0 | 0 | 0 | 0 | 0 | 0.167464 | 0.039872 | 0 | 0 | 0 | 0 | 0 | 1 | 0.470588 | false | 0 | 0.029412 | 0.441176 | 0.970588 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e444f2ef1e83bcc5cb76f830fe4bd8ed585f0bb1 | 126 | py | Python | tests/basic/ex_kwargs_args.py | rooshm/steinerpy | 777b55fa94527365322ba5fa675c8be090333715 | [
"MIT"
] | 3 | 2021-06-10T16:46:20.000Z | 2022-02-11T14:24:15.000Z | tests/basic/ex_kwargs_args.py | rooshm/steinerpy | 777b55fa94527365322ba5fa675c8be090333715 | [
"MIT"
] | 12 | 2021-03-31T03:31:24.000Z | 2021-11-18T21:51:18.000Z | tests/basic/ex_kwargs_args.py | rooshm/steinerpy | 777b55fa94527365322ba5fa675c8be090333715 | [
"MIT"
] | 1 | 2021-06-13T15:01:24.000Z | 2021-06-13T15:01:24.000Z | def test_args_kwargs(*args, **kwargs):
for k in kwargs.keys():
print(k)
test_args_kwargs(fire="hot", ice="cold") | 21 | 40 | 0.642857 | 20 | 126 | 3.85 | 0.65 | 0.38961 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18254 | 126 | 6 | 40 | 21 | 0.747573 | 0 | 0 | 0 | 0 | 0 | 0.055118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e46e2822578a70b745a6cecde0f2562f4ef8c415 | 31,261 | py | Python | astrobase/lcproc/lcsfeatures.py | pierfra-ro/astrobase | b9f62c59a3ab9cdc1388d409fa281c26f1e6db6c | [
"MIT"
] | 45 | 2017-03-09T19:08:44.000Z | 2022-03-24T00:36:28.000Z | astrobase/lcproc/lcsfeatures.py | pierfra-ro/astrobase | b9f62c59a3ab9cdc1388d409fa281c26f1e6db6c | [
"MIT"
] | 92 | 2016-12-21T19:01:20.000Z | 2022-01-03T15:28:45.000Z | astrobase/lcproc/lcsfeatures.py | pierfra-ro/astrobase | b9f62c59a3ab9cdc1388d409fa281c26f1e6db6c | [
"MIT"
] | 20 | 2016-12-20T23:01:29.000Z | 2021-03-07T16:24:15.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# starfeatures.py - Waqas Bhatti (wbhatti@astro.princeton.edu) - Feb 2019
'''
This contains functions to obtain various star magnitude and color features for
large numbers of light curves. Useful later for variable star classification.
'''
#############
## LOGGING ##
###... | 36.864387 | 83 | 0.552414 | 3,587 | 31,261 | 4.733203 | 0.124338 | 0.014725 | 0.01979 | 0.018377 | 0.761103 | 0.759218 | 0.754741 | 0.75109 | 0.740723 | 0.730828 | 0 | 0.019146 | 0.366783 | 31,261 | 847 | 84 | 36.90791 | 0.838545 | 0.634689 | 0 | 0.493724 | 0 | 0 | 0.078869 | 0 | 0 | 0 | 0 | 0.001181 | 0 | 1 | 0.025105 | false | 0.046025 | 0.062762 | 0.004184 | 0.150628 | 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 |
e47d54aef24aaf56473055dc571b616717890f3d | 27 | py | Python | em_site/apps/store/api/views/__init__.py | RohanJnr/enlighten-me--SpaceJam | 3e49701489fe0400d947ef5104a4beb264ab0d2c | [
"MIT"
] | null | null | null | em_site/apps/store/api/views/__init__.py | RohanJnr/enlighten-me--SpaceJam | 3e49701489fe0400d947ef5104a4beb264ab0d2c | [
"MIT"
] | null | null | null | em_site/apps/store/api/views/__init__.py | RohanJnr/enlighten-me--SpaceJam | 3e49701489fe0400d947ef5104a4beb264ab0d2c | [
"MIT"
] | null | null | null | from .bundle_offer import * | 27 | 27 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e4b5e6e05339b587ceb4e6a6d8384c8ad3b8aba6 | 866 | py | Python | create_game.py | Lyniat/dungeon-hop | e8d19b2c933feb6665935f37f73785626698ea09 | [
"MIT"
] | null | null | null | create_game.py | Lyniat/dungeon-hop | e8d19b2c933feb6665935f37f73785626698ea09 | [
"MIT"
] | null | null | null | create_game.py | Lyniat/dungeon-hop | e8d19b2c933feb6665935f37f73785626698ea09 | [
"MIT"
] | null | null | null | import time
import re
import os
version = time.time()
print "actual version will be: "+str(version)
lines = []
with open('./main/client/GameInstance.js') as infile:
for line in infile:
line = re.sub('GAME_VERSION.*,','GAME_VERSION = '+str(version)+',',line)
lines.append(line)
infile.close()
print "new c... | 21.65 | 73 | 0.655889 | 125 | 866 | 4.512 | 0.28 | 0.06383 | 0.092199 | 0.060284 | 0.829787 | 0.829787 | 0.764184 | 0.663121 | 0.663121 | 0.663121 | 0 | 0 | 0.170901 | 866 | 39 | 74 | 22.205128 | 0.785515 | 0 | 0 | 0.642857 | 0 | 0 | 0.278291 | 0.066975 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.107143 | null | null | 0.107143 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 |
e4da68672de11eb443b1792ff3858004d85bdcef | 22 | py | Python | src/sact/epoch/tests/__init__.py | 0k/sact.epoch | 6b0a47068992ff6a73f0f1da36090affad7c8be0 | [
"BSD-3-Clause"
] | null | null | null | src/sact/epoch/tests/__init__.py | 0k/sact.epoch | 6b0a47068992ff6a73f0f1da36090affad7c8be0 | [
"BSD-3-Clause"
] | null | null | null | src/sact/epoch/tests/__init__.py | 0k/sact.epoch | 6b0a47068992ff6a73f0f1da36090affad7c8be0 | [
"BSD-3-Clause"
] | null | null | null | # Package placeholder
| 11 | 21 | 0.818182 | 2 | 22 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0.863636 | 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 |
900fd7d9a200d1ffbe0c9e2b56254302a567445c | 66 | py | Python | backend/lextool/views/enwords/__init__.py | Lmineor/Tools | cbf58baa84524e763ba6c2bd0c796de912d3f690 | [
"MIT"
] | 1 | 2020-05-18T13:23:35.000Z | 2020-05-18T13:23:35.000Z | backend/lextool/views/enwords/__init__.py | Lmineor/Tools | cbf58baa84524e763ba6c2bd0c796de912d3f690 | [
"MIT"
] | null | null | null | backend/lextool/views/enwords/__init__.py | Lmineor/Tools | cbf58baa84524e763ba6c2bd0c796de912d3f690 | [
"MIT"
] | null | null | null | from flask import Blueprint
words = Blueprint('words', __name__)
| 16.5 | 36 | 0.772727 | 8 | 66 | 5.875 | 0.75 | 0.595745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 66 | 3 | 37 | 22 | 0.824561 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 1 | 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 | 0 | 1 | 0 | 5 |
901658fbc30fa0739e35a23f936febfdc1c93c64 | 22 | py | Python | api/app/modelnet/__init__.py | Stevencibambo/face-detection-based-web | 9e7d2d37977f242ef1ec8701ef61e8b79a64941b | [
"MIT"
] | null | null | null | api/app/modelnet/__init__.py | Stevencibambo/face-detection-based-web | 9e7d2d37977f242ef1ec8701ef61e8b79a64941b | [
"MIT"
] | null | null | null | api/app/modelnet/__init__.py | Stevencibambo/face-detection-based-web | 9e7d2d37977f242ef1ec8701ef61e8b79a64941b | [
"MIT"
] | null | null | null | # modelnet/__init__.py | 22 | 22 | 0.818182 | 3 | 22 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 22 | 1 | 22 | 22 | 0.666667 | 0.909091 | 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 |
902892fe378fbeb3d62ab20a7216cc1ec8de696c | 99 | py | Python | senpy/config.py | antoniofll/sefarad4.0-testing | 1b50f479ee503e5e23345ab0388eb6c2608ab73d | [
"Apache-2.0"
] | 7 | 2016-09-30T12:42:07.000Z | 2021-06-13T15:34:31.000Z | senpy/config.py | antoniofll/sefarad4.0-testing | 1b50f479ee503e5e23345ab0388eb6c2608ab73d | [
"Apache-2.0"
] | null | null | null | senpy/config.py | antoniofll/sefarad4.0-testing | 1b50f479ee503e5e23345ab0388eb6c2608ab73d | [
"Apache-2.0"
] | 2 | 2016-10-06T19:36:26.000Z | 2017-02-24T08:38:14.000Z | import os
SERVER_PORT = os.environ.get("SERVER_PORT", 5000)
DEBUG = os.environ.get("DEBUG", True)
| 19.8 | 49 | 0.727273 | 16 | 99 | 4.375 | 0.5625 | 0.285714 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.111111 | 99 | 4 | 50 | 24.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 0 | 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 |
902f8b24480bd6b0eddbd51c5a7cd964970758b5 | 300 | py | Python | models/user.py | vexy/flask-auth-template | 0538232fe5158b070a52305cd7c8e94f299c68e6 | [
"MIT"
] | 13 | 2020-03-01T12:52:49.000Z | 2022-03-13T21:21:35.000Z | models/user.py | salvatore287/flask-auth-template | 27ad1d1994830b4fad644f2dafb30cd38faa731f | [
"MIT"
] | null | null | null | models/user.py | salvatore287/flask-auth-template | 27ad1d1994830b4fad644f2dafb30cd38faa731f | [
"MIT"
] | 2 | 2021-03-13T12:44:57.000Z | 2021-05-27T01:01:12.000Z | # -*- coding: utf-8 -*-
class User():
def __init__(self, username = "", password = "", email = ""):
self.username = username
self.password = password
self.email = email
def __str__(self):
return f"[{self.username}] - [pwd:{self.password} eml:{self.email}]"
| 27.272727 | 76 | 0.563333 | 33 | 300 | 4.878788 | 0.484848 | 0.223602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004484 | 0.256667 | 300 | 10 | 77 | 30 | 0.717489 | 0.07 | 0 | 0 | 0 | 0 | 0.209386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.428571 | 0 | 0.142857 | 0.571429 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
5f49305274da7a9bee3eb3cb66a1df994ea7ab8b | 271 | py | Python | server/wellClusterShares.py | kdinkla/ProtoMPDA | 08ec7de3a24ea07da19062b009ca81a0f5a9c924 | [
"MIT"
] | 3 | 2017-12-07T19:11:24.000Z | 2020-07-03T07:51:09.000Z | server/wellClusterShares.py | kdinkla/Screenit | 08ec7de3a24ea07da19062b009ca81a0f5a9c924 | [
"MIT"
] | null | null | null | server/wellClusterShares.py | kdinkla/Screenit | 08ec7de3a24ea07da19062b009ca81a0f5a9c924 | [
"MIT"
] | null | null | null | import tangelo
tangelo.paths(".")
import compute
@tangelo.types(dataSet=compute.dataSet, features=compute.featureSet, exemplars=compute.exemplarDict)
def run(dataSet, features, exemplars):
return compute.wellClusterSharesFlat(dataSet, features, exemplars).to_json()
| 33.875 | 100 | 0.808118 | 30 | 271 | 7.266667 | 0.533333 | 0.206422 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077491 | 271 | 7 | 101 | 38.714286 | 0.872 | 0 | 0 | 0 | 0 | 0 | 0.00369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
5f52e51df660a9dbf8a9907f66708e3597ed4197 | 152 | py | Python | bflib/items/weapons/melee/base.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | 3 | 2017-10-28T11:28:38.000Z | 2018-09-12T09:47:00.000Z | bflib/items/weapons/melee/base.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | null | null | null | bflib/items/weapons/melee/base.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | null | null | null | from bflib.items import listing
from bflib.items.weapons.base import Weapon
@listing.register_type
class MeleeWeapon(Weapon):
melee_damage = None
| 19 | 43 | 0.802632 | 21 | 152 | 5.714286 | 0.714286 | 0.15 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 152 | 7 | 44 | 21.714286 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
395ffc199b0817ea5d72f702aab954939ca9920b | 55 | py | Python | swin_transformer/swint/__init__.py | satokiyo/AdelaiDet | b051ca48eeef7468ca6e55b9c529453cfb069c74 | [
"BSD-2-Clause"
] | 120 | 2021-04-14T09:00:12.000Z | 2022-03-29T07:09:29.000Z | swin_transformer/swint/__init__.py | satokiyo/AdelaiDet | b051ca48eeef7468ca6e55b9c529453cfb069c74 | [
"BSD-2-Clause"
] | 19 | 2021-04-15T06:11:54.000Z | 2022-03-27T03:31:21.000Z | swin_transformer/swint/__init__.py | satokiyo/AdelaiDet | b051ca48eeef7468ca6e55b9c529453cfb069c74 | [
"BSD-2-Clause"
] | 26 | 2021-04-15T02:59:19.000Z | 2022-03-29T21:24:46.000Z | from .swin_transformer import *
from .config import *
| 18.333333 | 32 | 0.763636 | 7 | 55 | 5.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 55 | 2 | 33 | 27.5 | 0.891304 | 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 |
399bff97ee8de5d59fb7969af12bc8e913e27293 | 271 | py | Python | core/data_structure/exception.py | HuynhThanhQuan/graph-network | e429a641e7baecad9765700cac580cfbdedbe1bd | [
"MIT"
] | null | null | null | core/data_structure/exception.py | HuynhThanhQuan/graph-network | e429a641e7baecad9765700cac580cfbdedbe1bd | [
"MIT"
] | 11 | 2020-11-13T18:29:37.000Z | 2022-02-10T00:25:15.000Z | core/data_structure/exception.py | HuynhThanhQuan/graph-network | e429a641e7baecad9765700cac580cfbdedbe1bd | [
"MIT"
] | null | null | null | class GraphDataStructureException(Exception):
def __init__(self, message):
super().__init__(message)
class UninitializedGraph(GraphDataStructureException):
def __init__(self, message='Graph object is not initialized'):
super().__init__(message)
| 30.111111 | 66 | 0.745387 | 25 | 271 | 7.44 | 0.56 | 0.075269 | 0.11828 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154982 | 271 | 8 | 67 | 33.875 | 0.812227 | 0 | 0 | 0.333333 | 0 | 0 | 0.114391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
39c42bd87c6f19a416294001dc95bc4a82218919 | 219 | py | Python | tests/easy/test_merge_sorted_array_88.py | ahmet9cengiz/leetCode | 9e9a61f059072d7791dd19706b7a3e0d0a446669 | [
"MIT"
] | null | null | null | tests/easy/test_merge_sorted_array_88.py | ahmet9cengiz/leetCode | 9e9a61f059072d7791dd19706b7a3e0d0a446669 | [
"MIT"
] | null | null | null | tests/easy/test_merge_sorted_array_88.py | ahmet9cengiz/leetCode | 9e9a61f059072d7791dd19706b7a3e0d0a446669 | [
"MIT"
] | null | null | null | from src.easy import merge_sorted_array_88
def test_merge_sorted_array():
s = merge_sorted_array_88.Solution()
assert s.merge_sorted_array()
assert s.merge_sorted_array()
assert s.merge_sorted_array()
| 24.333333 | 42 | 0.771689 | 34 | 219 | 4.529412 | 0.382353 | 0.428571 | 0.623377 | 0.441558 | 0.448052 | 0.448052 | 0.448052 | 0.448052 | 0.448052 | 0.448052 | 0 | 0.021505 | 0.150685 | 219 | 8 | 43 | 27.375 | 0.806452 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
39d7feedd0e28334beeef2f60c44bce2fb06d0ff | 413 | py | Python | test/core/test_workspace.py | sixty-north/structurizr-python | 856d0476935952c256981f3628663915768ee85e | [
"Apache-2.0"
] | 15 | 2017-07-20T20:43:40.000Z | 2021-11-12T11:25:01.000Z | test/core/test_workspace.py | sixty-north/structurizr-python | 856d0476935952c256981f3628663915768ee85e | [
"Apache-2.0"
] | 2 | 2017-06-05T17:41:05.000Z | 2018-09-11T08:18:07.000Z | test/core/test_workspace.py | sixty-north/structurizr-python | 856d0476935952c256981f3628663915768ee85e | [
"Apache-2.0"
] | 7 | 2017-08-16T19:51:24.000Z | 2020-09-24T09:47:35.000Z | import pytest
class TestWorkspace:
@pytest.mark.xfail(reason="Not yet implemented")
def test_set_source_does_not_throw_an_exception_when_a_none_url_is_specified(self, workspace):
workspace.set_source(None)
@pytest.mark.xfail(reason="Not yet implemented")
def test_set_source_does_not_throw_an... | 31.769231 | 100 | 0.789346 | 59 | 413 | 5.050847 | 0.457627 | 0.120805 | 0.100671 | 0.14094 | 0.845638 | 0.845638 | 0.845638 | 0.845638 | 0.543624 | 0.543624 | 0 | 0 | 0.130751 | 413 | 12 | 101 | 34.416667 | 0.830084 | 0 | 0 | 0.25 | 0 | 0 | 0.09201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
39e4ab530071a380126b617bfbaa889dc10555dc | 2,058 | py | Python | fytnet/migrations/0005_auto_20210315_1702.py | Code-Institute-Submissions/danielboots-fytletic | 67c3000a4b681d7f76255ab11db841a7f2ba613e | [
"OLDAP-2.3"
] | 1 | 2021-03-31T18:54:25.000Z | 2021-03-31T18:54:25.000Z | fytnet/migrations/0005_auto_20210315_1702.py | Code-Institute-Submissions/danielboots-fytletic | 67c3000a4b681d7f76255ab11db841a7f2ba613e | [
"OLDAP-2.3"
] | null | null | null | fytnet/migrations/0005_auto_20210315_1702.py | Code-Institute-Submissions/danielboots-fytletic | 67c3000a4b681d7f76255ab11db841a7f2ba613e | [
"OLDAP-2.3"
] | 1 | 2021-03-31T11:00:11.000Z | 2021-03-31T11:00:11.000Z | # Generated by Django 3.1.6 on 2021-03-15 17:02
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('fytnet', '0004_auto_20210315_1552'),
]
operations = [
migrations.AddField(
model_name='fighter',
name='draw',
... | 29.826087 | 75 | 0.541302 | 192 | 2,058 | 5.692708 | 0.302083 | 0.181153 | 0.231473 | 0.271729 | 0.771272 | 0.717292 | 0.647758 | 0.647758 | 0.605672 | 0.605672 | 0 | 0.039589 | 0.337221 | 2,058 | 68 | 76 | 30.264706 | 0.76173 | 0.021866 | 0 | 0.677419 | 1 | 0 | 0.098956 | 0.011437 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016129 | 0 | 0.064516 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f2d07ec872be66cc3029d7de191b5b45afa75f3f | 126 | py | Python | prebuild/jupyter-caf-kernel/jupyter_caf_kernel/__main__.py | sourceryinstitute/jupyter-CAF-kernel | d09464d7c02107d6e9779962619d70a11011d32d | [
"MIT"
] | 57 | 2017-06-16T00:00:24.000Z | 2022-02-13T02:30:59.000Z | prebuild/jupyter-caf-kernel/jupyter_caf_kernel/__main__.py | ZhouHaoNB/jupyterNotebookDemo | 95617939032acfd0e4cdbc2dfa9330ac00208993 | [
"MIT"
] | 5 | 2017-09-06T16:22:39.000Z | 2022-01-24T04:40:42.000Z | prebuild/jupyter-caf-kernel/jupyter_caf_kernel/__main__.py | ZhouHaoNB/jupyterNotebookDemo | 95617939032acfd0e4cdbc2dfa9330ac00208993 | [
"MIT"
] | 12 | 2017-09-07T13:56:12.000Z | 2022-01-24T19:03:53.000Z | from ipykernel.kernelapp import IPKernelApp
from .kernel import CafKernel
IPKernelApp.launch_instance(kernel_class=CafKernel)
| 31.5 | 51 | 0.880952 | 15 | 126 | 7.266667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 126 | 3 | 52 | 42 | 0.931624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f2de4259fb783ad06ec9b0a2683ab1b365f14174 | 244 | py | Python | magma/types/__init__.py | leonardt/magma | d3e8c9500ec3b167df8ed067e0c0305781c94ab6 | [
"MIT"
] | 167 | 2017-10-08T00:59:22.000Z | 2022-02-08T00:14:39.000Z | magma/types/__init__.py | leonardt/magma | d3e8c9500ec3b167df8ed067e0c0305781c94ab6 | [
"MIT"
] | 719 | 2017-08-29T17:58:28.000Z | 2022-03-31T23:39:18.000Z | magma/types/__init__.py | leonardt/magma | d3e8c9500ec3b167df8ed067e0c0305781c94ab6 | [
"MIT"
] | 14 | 2017-09-01T03:25:16.000Z | 2021-11-05T13:30:24.000Z | from .bit_pattern import BitPattern
from .valid import Valid
from .ready_valid import (ReadyValid, Producer, Consumer, Decoupled, EnqIO,
DeqIO, Irrevocable, Monitor, is_producer,
is_consumer)
| 40.666667 | 75 | 0.643443 | 25 | 244 | 6.12 | 0.64 | 0.143791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29918 | 244 | 5 | 76 | 48.8 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 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 |
f2f88dc774c0ee1564a96d4960199e5001d4f45c | 143 | py | Python | kew/handlers/stdout.py | smpio/kube-event-watcher | ede19ba04c8b847a28170808f57c5751c3729ff8 | [
"MIT"
] | null | null | null | kew/handlers/stdout.py | smpio/kube-event-watcher | ede19ba04c8b847a28170808f57c5751c3729ff8 | [
"MIT"
] | null | null | null | kew/handlers/stdout.py | smpio/kube-event-watcher | ede19ba04c8b847a28170808f57c5751c3729ff8 | [
"MIT"
] | 2 | 2018-07-09T16:35:40.000Z | 2018-12-12T15:40:19.000Z | def stdout_handler(config):
def handle(event):
print('>', event._formatted)
print(event.message.strip())
return handle
| 23.833333 | 36 | 0.636364 | 16 | 143 | 5.5625 | 0.6875 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 143 | 5 | 37 | 28.6 | 0.809091 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0.4 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
8404485500c2a4ca8cb2653e82ead5edaffc8f67 | 12,662 | py | Python | pyBoard v1.1(STM32F405)/3.拓展实验/3.LCD液晶屏显示/2.4_ILI9341/fonts/veram_14.py | 01studio-lab/MicroPython_Examples | f06a1bee398674ceafebed2aac88d8413cc8abad | [
"MIT"
] | 73 | 2020-05-02T13:48:27.000Z | 2022-03-26T13:15:10.000Z | pyBoard v1.1(STM32F405)/3.拓展实验/3.LCD液晶屏显示/2.4_ILI9341/fonts/veram_14.py | 01studio-lab/MicroPython_Examples | f06a1bee398674ceafebed2aac88d8413cc8abad | [
"MIT"
] | null | null | null | pyBoard v1.1(STM32F405)/3.拓展实验/3.LCD液晶屏显示/2.4_ILI9341/fonts/veram_14.py | 01studio-lab/MicroPython_Examples | f06a1bee398674ceafebed2aac88d8413cc8abad | [
"MIT"
] | 50 | 2020-05-15T13:57:28.000Z | 2022-03-30T14:03:33.000Z | # Created from VeraMono.ttf with freetype-generator.
# freetype-generator created by Meurisse D ( MCHobby.be ).
VeraMono_14 = {
'width' : 0x9,
'height' : 0xf,
32:(),
33:( 0xe7e0,),
34:( 0xf800, 0x8000, 0xf800),
35:( 0x8800, 0xe900, 0x9f00, 0x89e0, 0xf900, 0x8f80, 0x89e0, 0x8100),
36:( 0x88e0, 0x9190, 0x9110, 0xfffc,... | 54.813853 | 78 | 0.708103 | 1,619 | 12,662 | 5.537369 | 0.336628 | 0.179364 | 0.198773 | 0.176687 | 0.225544 | 0.167987 | 0.154601 | 0 | 0 | 0 | 0 | 0.531443 | 0.128416 | 12,662 | 230 | 79 | 55.052174 | 0.280899 | 0.00845 | 0 | 0 | 0 | 0 | 0.000876 | 0 | 0 | 0 | 0.657744 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
840ae83ea8ac447934c8d87fa2716fef26a13fc9 | 134 | py | Python | topi/python/topi/image/__init__.py | mingwayzhang/tvm | 3b287c4d4e6d83e6fd30db47ffa3d5481a332a63 | [
"Apache-2.0"
] | 64 | 2021-05-02T14:42:34.000Z | 2021-05-06T01:35:03.000Z | topi/python/topi/image/__init__.py | clhne/tvm | d59320c764bd09474775e1b292f3c05c27743d24 | [
"Apache-2.0"
] | 23 | 2019-07-29T05:21:52.000Z | 2020-08-31T18:51:42.000Z | topi/python/topi/image/__init__.py | clhne/tvm | d59320c764bd09474775e1b292f3c05c27743d24 | [
"Apache-2.0"
] | 51 | 2019-07-12T05:10:25.000Z | 2021-07-28T16:19:06.000Z | # pylint: disable=wildcard-import
"""IMAGE network operators"""
from __future__ import absolute_import as _abs
from .resize import *
| 22.333333 | 46 | 0.783582 | 17 | 134 | 5.823529 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126866 | 134 | 5 | 47 | 26.8 | 0.846154 | 0.41791 | 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 |
8411bff17218639e51ca9252506ceb43baf0954e | 100 | py | Python | bunq_bot/commands/commandos/stop.py | OGKevin/ComBunqWebApp | 25bc6118427f3b369fb61ba0bd38c977be05644f | [
"MIT"
] | 32 | 2017-04-08T21:02:16.000Z | 2021-04-02T10:23:24.000Z | bunq_bot/commands/commandos/stop.py | OGKevin/ComBunqWebApp | 25bc6118427f3b369fb61ba0bd38c977be05644f | [
"MIT"
] | 139 | 2017-04-05T21:06:07.000Z | 2021-06-08T19:34:34.000Z | bunq_bot/commands/commandos/stop.py | OGKevin/ComBunqWebApp | 25bc6118427f3b369fb61ba0bd38c977be05644f | [
"MIT"
] | 7 | 2017-04-13T15:22:10.000Z | 2018-03-21T06:03:44.000Z | def stop():
with open('bunq_bot/responses/commands/stop.md', 'r') as f:
return f.read()
| 25 | 63 | 0.61 | 16 | 100 | 3.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21 | 100 | 3 | 64 | 33.333333 | 0.759494 | 0 | 0 | 0 | 0 | 0 | 0.36 | 0.35 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
84274eac6ee80c74bf44729e79aa0d2f22ec1c72 | 60 | py | Python | Random-Programs/dev/games/misc/joe.py | naumoff0/Archive | d4ad2da89abb1576dd5a7c72ded6bf9b45c3f610 | [
"MIT"
] | null | null | null | Random-Programs/dev/games/misc/joe.py | naumoff0/Archive | d4ad2da89abb1576dd5a7c72ded6bf9b45c3f610 | [
"MIT"
] | null | null | null | Random-Programs/dev/games/misc/joe.py | naumoff0/Archive | d4ad2da89abb1576dd5a7c72ded6bf9b45c3f610 | [
"MIT"
] | null | null | null | from computeryshite import computerFailure
computerFailure() | 30 | 42 | 0.9 | 5 | 60 | 10.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 60 | 2 | 43 | 30 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
84604d580a90b4dade10e41d81c36986ff7458ee | 15,343 | py | Python | brightcove/Analytics.py | asha-bc/BrightcovePY | 52e220e8e95221745b4de52ba94689509d27c072 | [
"MIT"
] | 3 | 2020-12-14T23:08:09.000Z | 2021-08-05T05:44:19.000Z | brightcove/Analytics.py | asha-bc/BrightcovePY | 52e220e8e95221745b4de52ba94689509d27c072 | [
"MIT"
] | null | null | null | brightcove/Analytics.py | asha-bc/BrightcovePY | 52e220e8e95221745b4de52ba94689509d27c072 | [
"MIT"
] | 2 | 2021-10-19T15:24:28.000Z | 2022-03-08T08:17:30.000Z | """
Implements wrapper class and methods to work with Brightcove's Analytics API.
See: https://apis.support.brightcove.com/analytics/index.html
"""
from dataclasses import dataclass
from requests.models import Response
from .Base import Base
from .OAuth import OAuth
from .utils import QueryStringDataclassBase
VALID_... | 51.834459 | 135 | 0.602555 | 1,682 | 15,343 | 5.396552 | 0.164685 | 0.047593 | 0.023796 | 0.02644 | 0.733172 | 0.720502 | 0.720502 | 0.701443 | 0.701443 | 0.680952 | 0 | 0.010265 | 0.320602 | 15,343 | 295 | 136 | 52.010169 | 0.86013 | 0.540181 | 0 | 0.322581 | 0 | 0 | 0.145232 | 0.089559 | 0 | 0 | 0 | 0 | 0 | 1 | 0.11828 | false | 0 | 0.053763 | 0 | 0.494624 | 0.010753 | 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 |
0832cac710bea701505d5597bdecb57ddbcaa51a | 189 | py | Python | three/__init__.py | Countdown369/three | 1869ab1ad0948e5cdf416f1c06c176700805984d | [
"BSD-3-Clause"
] | 15 | 2015-02-28T22:55:07.000Z | 2019-03-05T03:04:27.000Z | three/__init__.py | Countdown369/three | 1869ab1ad0948e5cdf416f1c06c176700805984d | [
"BSD-3-Clause"
] | 5 | 2016-04-22T17:20:53.000Z | 2020-06-01T15:24:46.000Z | three/__init__.py | Countdown369/three | 1869ab1ad0948e5cdf416f1c06c176700805984d | [
"BSD-3-Clause"
] | 11 | 2015-08-19T11:34:06.000Z | 2021-10-29T18:48:49.000Z | from . import core
from .api import (key, city, cities, dev, discovery, post, request,
requests, services, token)
from .cities import CityNotFound
from .core import Three
| 31.5 | 67 | 0.693122 | 24 | 189 | 5.458333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227513 | 189 | 5 | 68 | 37.8 | 0.89726 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
083d718685c201c64d8d9cdf09eee3ba9b2820bd | 191 | py | Python | paver/cog/__init__.py | jrossi/paver | db4ea25ed1c986c766fd3424aeae34d9b28ac937 | [
"BSD-3-Clause"
] | 1 | 2015-02-09T19:59:44.000Z | 2015-02-09T19:59:44.000Z | paver/cog/__init__.py | jrossi/paver | db4ea25ed1c986c766fd3424aeae34d9b28ac937 | [
"BSD-3-Clause"
] | null | null | null | paver/cog/__init__.py | jrossi/paver | db4ea25ed1c986c766fd3424aeae34d9b28ac937 | [
"BSD-3-Clause"
] | null | null | null | """ Cog code generation tool.
http://nedbatchelder.com/code/cog
Copyright 2004-2005, Ned Batchelder.
"""
# $Id: __init__.py 110 2005-08-27 22:35:20Z ned $
from cogapp import *
| 19.1 | 49 | 0.664921 | 28 | 191 | 4.392857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163399 | 0.198953 | 191 | 9 | 50 | 21.222222 | 0.640523 | 0.764398 | 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 |
084830c7e00320a274d6146d14d5773073501167 | 24 | py | Python | code/python/forward_euler/forward_euler.py | fcooper8472/algorithms | 1966edae1f34dead0954ea75995e44342bb3f1c4 | [
"MIT"
] | null | null | null | code/python/forward_euler/forward_euler.py | fcooper8472/algorithms | 1966edae1f34dead0954ea75995e44342bb3f1c4 | [
"MIT"
] | null | null | null | code/python/forward_euler/forward_euler.py | fcooper8472/algorithms | 1966edae1f34dead0954ea75995e44342bb3f1c4 | [
"MIT"
] | null | null | null | print('Forward Euler!')
| 12 | 23 | 0.708333 | 3 | 24 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 24 | 1 | 24 | 24 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 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 |
f28160d222b9f9a01d295247154c95c3767291c0 | 154 | py | Python | galaxy/common/context_processors.py | pabelanger/galaxy | 9df6634bffb3440ba633e40f99e2f4bb80b1f0da | [
"Apache-2.0"
] | 904 | 2016-10-11T13:35:19.000Z | 2022-03-25T09:29:09.000Z | galaxy/common/context_processors.py | pabelanger/galaxy | 9df6634bffb3440ba633e40f99e2f4bb80b1f0da | [
"Apache-2.0"
] | 1,866 | 2016-10-15T21:28:09.000Z | 2022-03-29T18:09:20.000Z | galaxy/common/context_processors.py | pabelanger/galaxy | 9df6634bffb3440ba633e40f99e2f4bb80b1f0da | [
"Apache-2.0"
] | 368 | 2016-10-11T13:44:08.000Z | 2022-03-30T02:23:12.000Z | import secrets
import base64
def template_metadata(request):
return {
'csp_nonce': base64.b64encode(secrets.token_bytes(32)).decode()
}
| 17.111111 | 71 | 0.701299 | 18 | 154 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064 | 0.188312 | 154 | 8 | 72 | 19.25 | 0.776 | 0 | 0 | 0 | 0 | 0 | 0.058442 | 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 |
f2bccd195e9185229349fda80cd47c3facd4ef0a | 448 | py | Python | introducao-a-linguagem-com-python/construindo-metodos-funcoes-e-classes-em-python/metodos-funcoes-classes/main.py | ImGabreuw/digital-innovation-one | 8782ce57358fc879f5527a837f452a75539ed97f | [
"MIT"
] | 3 | 2021-06-23T15:22:59.000Z | 2021-07-05T08:05:49.000Z | introducao-a-linguagem-com-python/construindo-metodos-funcoes-e-classes-em-python/metodos-funcoes-classes/main.py | ImGabreuw/digital-innovation-one | 8782ce57358fc879f5527a837f452a75539ed97f | [
"MIT"
] | 1 | 2021-12-26T19:45:30.000Z | 2021-12-26T19:45:30.000Z | introducao-a-linguagem-com-python/construindo-metodos-funcoes-e-classes-em-python/metodos-funcoes-classes/main.py | ImGabreuw/digital-innovation-one | 8782ce57358fc879f5527a837f452a75539ed97f | [
"MIT"
] | null | null | null | class Calculadora:
def soma(self, num1, num2):
return num1 + num2
def subtracao(self, num1, num2):
return num1 - num2
def multiplicacao(self, num1, num2):
return num1 * num2
def divisao(self, num1, num2):
return num1 / num2
calculadora = Calculadora()
print(calcula... | 20.363636 | 40 | 0.660714 | 56 | 448 | 5.285714 | 0.339286 | 0.216216 | 0.162162 | 0.243243 | 0.381757 | 0.381757 | 0.293919 | 0 | 0 | 0 | 0 | 0.08046 | 0.223214 | 448 | 21 | 41 | 21.333333 | 0.770115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.642857 | 0.285714 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
4b30751ac69ab5c475997a64ec1554908267fa32 | 85 | py | Python | dist/11.py | HunTrue/WXBot-IntelligentResponse | 036dbc56469feb44f1833aac4602e97f7ed3f036 | [
"Apache-2.0"
] | 17 | 2018-01-22T10:14:30.000Z | 2021-11-26T02:48:33.000Z | dist/11.py | HunTrue/WXBot-IntelligentResponse | 036dbc56469feb44f1833aac4602e97f7ed3f036 | [
"Apache-2.0"
] | null | null | null | dist/11.py | HunTrue/WXBot-IntelligentResponse | 036dbc56469feb44f1833aac4602e97f7ed3f036 | [
"Apache-2.0"
] | 5 | 2018-03-03T16:01:09.000Z | 2021-02-12T10:27:26.000Z | from distutils.core import setup
import py2exe
setup(console=["bot.py","wxbot.py"])
| 21.25 | 37 | 0.752941 | 13 | 85 | 4.923077 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.094118 | 85 | 3 | 38 | 28.333333 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 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 |
4b915f9d188d61ab0446e0572e858c04b14aa506 | 33 | py | Python | isl/loss/__init__.py | HenryLee97/isl | 0eb357bd45c5ce3ab3ef060deb84707975049d37 | [
"MIT"
] | 2 | 2021-12-14T10:43:53.000Z | 2021-12-14T12:46:50.000Z | isl/loss/__init__.py | HenryLee97/isl | 0eb357bd45c5ce3ab3ef060deb84707975049d37 | [
"MIT"
] | null | null | null | isl/loss/__init__.py | HenryLee97/isl | 0eb357bd45c5ce3ab3ef060deb84707975049d37 | [
"MIT"
] | null | null | null | from isl.loss.mlp import MLPLoss
| 16.5 | 32 | 0.818182 | 6 | 33 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
29c778723e7e67108e2832c79df99bb08dcac5b5 | 151 | py | Python | {{cookiecutter.module_name}}/src/bio2bel_{{ cookiecutter.module_name }}/parser.py | deeenes/bio2bel-cookiecutter | 8464a34faf3e645de20fb098ced4ec31666dd10a | [
"MIT"
] | null | null | null | {{cookiecutter.module_name}}/src/bio2bel_{{ cookiecutter.module_name }}/parser.py | deeenes/bio2bel-cookiecutter | 8464a34faf3e645de20fb098ced4ec31666dd10a | [
"MIT"
] | 1 | 2019-03-06T16:22:28.000Z | 2019-03-06T16:22:28.000Z | {{cookiecutter.module_name}}/src/bio2bel_{{ cookiecutter.module_name }}/parser.py | deeenes/bio2bel-cookiecutter | 8464a34faf3e645de20fb098ced4ec31666dd10a | [
"MIT"
] | 1 | 2019-02-28T14:01:14.000Z | 2019-02-28T14:01:14.000Z | # -*- coding: utf-8 -*-
"""Parsers and downloaders for Bio2BEL {{ cookiecutter.module_stylized }}."""
from bio2bel.downloading import make_df_getter
| 25.166667 | 77 | 0.728477 | 18 | 151 | 5.944444 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.125828 | 151 | 5 | 78 | 30.2 | 0.787879 | 0.622517 | 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 |
29cec94ecbdd80d3ddc0edb885cc7c5a877318df | 253 | py | Python | local_modules/calculate.py | reysmerwvr/python-playgrounds | 1e039639d96044986ba5cc894a210180cc2b08e0 | [
"MIT"
] | null | null | null | local_modules/calculate.py | reysmerwvr/python-playgrounds | 1e039639d96044986ba5cc894a210180cc2b08e0 | [
"MIT"
] | null | null | null | local_modules/calculate.py | reysmerwvr/python-playgrounds | 1e039639d96044986ba5cc894a210180cc2b08e0 | [
"MIT"
] | null | null | null | from operations import *
a, b, c, d = (10, 5, 0, 'Hello')
print("{} + {} = {}".format(a, b, sums(a, b)))
print("{} - {} = {}".format(b, d, diff(b, d)))
print("{} * {} = {}".format(b, b, times(b, b)))
print("{} / {} = {}".format(a, c, division(a, c)))
| 28.111111 | 50 | 0.450593 | 39 | 253 | 2.923077 | 0.435897 | 0.385965 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.185771 | 253 | 8 | 51 | 31.625 | 0.533981 | 0 | 0 | 0 | 0 | 0 | 0.209486 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
29fcf008dc324d17fe6c2789dead4a9fde5c1ca9 | 385 | py | Python | gramat/parsing/read_context.py | gramat-lang/python-gramat | c3edb7cf045b109596bb4cfdf43d58e04763ac19 | [
"MIT"
] | null | null | null | gramat/parsing/read_context.py | gramat-lang/python-gramat | c3edb7cf045b109596bb4cfdf43d58e04763ac19 | [
"MIT"
] | null | null | null | gramat/parsing/read_context.py | gramat-lang/python-gramat | c3edb7cf045b109596bb4cfdf43d58e04763ac19 | [
"MIT"
] | null | null | null | from typing import List
from gramat.errors import GramatError
from gramat.parsing.source import Source
class ReadContext:
def __init__(self, source: Source):
self.source = source
self.stop_marks: List[str] = []
def error(self, message: str) -> GramatError:
return self.source.error(m... | 22.647059 | 55 | 0.706494 | 48 | 385 | 5.5625 | 0.5625 | 0.11236 | 0.11985 | 0.149813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215584 | 385 | 16 | 56 | 24.0625 | 0.884106 | 0.127273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
4b0965feea7b3b5ad8f5fdcc5a86696a57905de3 | 590 | py | Python | orb_simulator/other_language/testing_ast/__init__.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 1 | 2022-01-19T22:49:09.000Z | 2022-01-19T22:49:09.000Z | orb_simulator/other_language/testing_ast/__init__.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 15 | 2021-11-10T14:25:02.000Z | 2022-02-12T19:17:11.000Z | orb_simulator/other_language/testing_ast/__init__.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | null | null | null | from other_language.testing_ast.BinaryExpression import BinaryExpression
from other_language.testing_ast.Div import Div
from other_language.testing_ast.Expression import Expression
from other_language.testing_ast.Mul import Mul
from other_language.testing_ast.Node import Node
from other_language.testing_ast.Not import ... | 53.636364 | 72 | 0.889831 | 88 | 590 | 5.715909 | 0.193182 | 0.196819 | 0.371769 | 0.524851 | 0.590457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072881 | 590 | 11 | 73 | 53.636364 | 0.919561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d99abf416259bee947ebbf097e2e71cdfd75f34c | 65 | py | Python | src/hdfviewer/__init__.py | scimax/ipy-hdf-viewer | fdb1de494a59be526e140876fd5a7b2b95544892 | [
"MIT"
] | null | null | null | src/hdfviewer/__init__.py | scimax/ipy-hdf-viewer | fdb1de494a59be526e140876fd5a7b2b95544892 | [
"MIT"
] | null | null | null | src/hdfviewer/__init__.py | scimax/ipy-hdf-viewer | fdb1de494a59be526e140876fd5a7b2b95544892 | [
"MIT"
] | null | null | null | #
# Package information
#
from .__pkginfo__ import __version__
| 9.285714 | 36 | 0.769231 | 6 | 65 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 65 | 6 | 37 | 10.833333 | 0.777778 | 0.292308 | 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 |
d9d0138c9c155cc8f2e588a273d944c6177145a2 | 16,819 | py | Python | Geometry/ForwardCommonData/python/totemTest2019XML_cfi.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-08-09T08:42:11.000Z | 2019-08-09T08:42:11.000Z | Geometry/ForwardCommonData/python/totemTest2019XML_cfi.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | Geometry/ForwardCommonData/python/totemTest2019XML_cfi.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-03-19T13:44:54.000Z | 2019-03-19T13:44:54.000Z | import FWCore.ParameterSet.Config as cms
## 2015 + new phase 1 pixel detector
XMLIdealGeometryESSource = cms.ESSource("XMLIdealGeometryESSource",
geomXMLFiles = cms.vstring(
'Geometry/CMSCommonData/data/materials.xml',
'Geometry/CMSCommonData/data/rotations.xml',
'Geometry/CMSCommonData/da... | 58.399306 | 83 | 0.724894 | 1,532 | 16,819 | 7.956919 | 0.21671 | 0.248154 | 0.422642 | 0.483019 | 0.120016 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018072 | 0.151198 | 16,819 | 287 | 84 | 58.602787 | 0.835808 | 0.001962 | 0 | 0 | 0 | 0 | 0.790835 | 0.790358 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003546 | 0 | 0.003546 | 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 |
8a292b71ab13cb8e0f9a1e210b2ba52ae74af2a7 | 113,282 | py | Python | src/bot_data/bestbot.py | PolarisVoid/EvoAI | 7a7cacd4b4382613b5fb56a389a47677d8d476b3 | [
"MIT"
] | null | null | null | src/bot_data/bestbot.py | PolarisVoid/EvoAI | 7a7cacd4b4382613b5fb56a389a47677d8d476b3 | [
"MIT"
] | null | null | null | src/bot_data/bestbot.py | PolarisVoid/EvoAI | 7a7cacd4b4382613b5fb56a389a47677d8d476b3 | [
"MIT"
] | null | null | null | bestbot_wieght_layer_one = [[0.5083356940068343, 0.6413884327387512, 0.12597500318803512, 0.409734240278669, 0.5238183286955302, 0.24756818387086588, 0.07996951671732211, 0.8661360538895999, 0.021330280161349524, 0.48867128687465466, 0.7091463179823605, 0.5510191844939321, 0.1511562255369685, 0.9902045558754771, 0.5598... | 14,160.25 | 72,330 | 0.850674 | 11,164 | 113,282 | 8.63015 | 0.499731 | 0.000405 | 0.00056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.893372 | 0.049346 | 113,282 | 7 | 72,331 | 16,183.142857 | 0.001281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8a35d37b3b96ee741ea3fb2d2601e9506971e334 | 135 | py | Python | abc/139/A.py | tonko2/AtCoder | 5d617072517881d226d7c8af09cb88684d41af7e | [
"Xnet",
"X11",
"CECILL-B"
] | 2 | 2022-01-22T07:56:58.000Z | 2022-01-24T00:29:37.000Z | abc/139/A.py | tonko2/AtCoder | 5d617072517881d226d7c8af09cb88684d41af7e | [
"Xnet",
"X11",
"CECILL-B"
] | null | null | null | abc/139/A.py | tonko2/AtCoder | 5d617072517881d226d7c8af09cb88684d41af7e | [
"Xnet",
"X11",
"CECILL-B"
] | null | null | null | S = input()
T = input()
cnt = 0
if S[0] == T[0]:
cnt += 1
if S[1] == T[1]:
cnt += 1
if S[2] == T[2]:
cnt += 1
print(cnt)
| 10.384615 | 16 | 0.4 | 29 | 135 | 1.862069 | 0.310345 | 0.166667 | 0.222222 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.333333 | 135 | 12 | 17 | 11.25 | 0.488889 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.1 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8a7c9d9a39a5d3fbf0e35a2ecfb4b84745476062 | 26 | py | Python | intro/part04-37_neighbours_in_list/src/neighbours_in_list.py | Hannah-Abi/python-pro-21 | 2ce32c4bf118054329d19afdf83c50561be1ada8 | [
"MIT"
] | null | null | null | intro/part04-37_neighbours_in_list/src/neighbours_in_list.py | Hannah-Abi/python-pro-21 | 2ce32c4bf118054329d19afdf83c50561be1ada8 | [
"MIT"
] | null | null | null | intro/part04-37_neighbours_in_list/src/neighbours_in_list.py | Hannah-Abi/python-pro-21 | 2ce32c4bf118054329d19afdf83c50561be1ada8 | [
"MIT"
] | null | null | null | # Write your solution here | 26 | 26 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0.923077 | 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 |
8a8e8fc17ce499ce6e6d41c7a9729b9857e73243 | 12,187 | py | Python | tensorboard/data/provider_test.py | SamuelMarks/tensorboard | 78c919738f228265b9a06b86e1e5c5daa2135a0d | [
"Apache-2.0"
] | null | null | null | tensorboard/data/provider_test.py | SamuelMarks/tensorboard | 78c919738f228265b9a06b86e1e5c5daa2135a0d | [
"Apache-2.0"
] | null | null | null | tensorboard/data/provider_test.py | SamuelMarks/tensorboard | 78c919738f228265b9a06b86e1e5c5daa2135a0d | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | 37.383436 | 80 | 0.60983 | 1,584 | 12,187 | 4.550505 | 0.132576 | 0.028441 | 0.071032 | 0.075472 | 0.787875 | 0.752358 | 0.736404 | 0.723779 | 0.711709 | 0.674806 | 0 | 0.05354 | 0.249036 | 12,187 | 325 | 81 | 37.498462 | 0.734047 | 0.133503 | 0 | 0.64 | 0 | 0 | 0.042478 | 0 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.108 | false | 0 | 0.028 | 0 | 0.176 | 0.004 | 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 |
8abc2371b09e8589c8903e0bd7aec7b41b5e2dc5 | 131,968 | py | Python | third_party/blink/tools/blinkpy/web_tests/run_web_tests_unittest.py | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | third_party/blink/tools/blinkpy/web_tests/run_web_tests_unittest.py | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | third_party/blink/tools/blinkpy/web_tests/run_web_tests_unittest.py | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | # Copyright (C) 2010 Google Inc. All rights reserved.
# Copyright (C) 2010 Gabor Rapcsanyi (rgabor@inf.u-szeged.hu), University of Szeged
# Copyright (C) 2011 Apple Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following ... | 45.647873 | 119 | 0.608193 | 14,658 | 131,968 | 5.261495 | 0.052258 | 0.051736 | 0.028656 | 0.023145 | 0.801149 | 0.762068 | 0.72138 | 0.679888 | 0.655343 | 0.620826 | 0 | 0.004102 | 0.279613 | 131,968 | 2,890 | 120 | 45.663668 | 0.807138 | 0.091121 | 0 | 0.64147 | 0 | 0.004957 | 0.254022 | 0.157489 | 0 | 0 | 0 | 0.000346 | 0.192069 | 1 | 0.06898 | false | 0.096241 | 0.008674 | 0 | 0.083437 | 0.005783 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 |
8acf6eddff13fbf4e31ca06b151c2a870e82bb0d | 182 | py | Python | mirumon/domain/core/enums.py | mirumon/mirumon-backend | 9b4d914b67dcc839ed8264f470e822dc22c98ad7 | [
"MIT"
] | 19 | 2020-01-25T22:52:09.000Z | 2022-03-20T13:45:10.000Z | mirumon/domain/core/enums.py | mirumon/mirumon-backend | 9b4d914b67dcc839ed8264f470e822dc22c98ad7 | [
"MIT"
] | 15 | 2019-10-07T18:18:40.000Z | 2020-10-17T15:47:39.000Z | mirumon/domain/core/enums.py | mirumon/mirumon-backend | 9b4d914b67dcc839ed8264f470e822dc22c98ad7 | [
"MIT"
] | 1 | 2020-01-20T14:16:29.000Z | 2020-01-20T14:16:29.000Z | from enum import Enum
class StrEnum(str, Enum): # noqa: WPS600
"""Base class for string enums."""
def __str__(self) -> str: # pragma: no cover
return self.value
| 20.222222 | 49 | 0.631868 | 25 | 182 | 4.44 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022059 | 0.252747 | 182 | 8 | 50 | 22.75 | 0.794118 | 0.324176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 |
76d5fb09d13781af9af2086eb80bdbacfe49c036 | 1,808 | py | Python | server/models.py | ncvescera/D.D_Mega_Du2 | dcf1faa1bba900d90f7fdefe3eb1d93f1ca7d149 | [
"Apache-2.0"
] | null | null | null | server/models.py | ncvescera/D.D_Mega_Du2 | dcf1faa1bba900d90f7fdefe3eb1d93f1ca7d149 | [
"Apache-2.0"
] | 10 | 2021-07-14T13:37:42.000Z | 2021-07-18T08:08:39.000Z | server/models.py | ncvescera/D.D_Mega_Du2 | dcf1faa1bba900d90f7fdefe3eb1d93f1ca7d149 | [
"Apache-2.0"
] | null | null | null | from app import db
class Serie(db.Model):
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
nome = db.Column(db.String(80), nullable=False, unique=True)
descrizione = db.Column(db.Text)
tag = db.Column(db.String(80))
def as_dict(self):
return {
'id': self.id,
... | 33.481481 | 87 | 0.599558 | 233 | 1,808 | 4.527897 | 0.167382 | 0.113744 | 0.14218 | 0.106161 | 0.781043 | 0.781043 | 0.781043 | 0.722275 | 0.635071 | 0.635071 | 0 | 0.010981 | 0.244469 | 1,808 | 54 | 88 | 33.481481 | 0.761347 | 0 | 0 | 0.622222 | 0 | 0 | 0.08513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.022222 | 0.066667 | 0.6 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
76fe286440caa294d1e4964c0e6755c0ace4ebc3 | 202 | py | Python | v2_processing/structures/blocks/__init__.py | CN-TU/ntarc-spec | c92bc98d7affa46ce9cc66b4e2aab220bb584bf8 | [
"MIT"
] | null | null | null | v2_processing/structures/blocks/__init__.py | CN-TU/ntarc-spec | c92bc98d7affa46ce9cc66b4e2aab220bb584bf8 | [
"MIT"
] | 15 | 2018-02-15T21:18:33.000Z | 2018-11-28T13:13:52.000Z | v2_processing/structures/blocks/__init__.py | CN-TU/ntarc-spec | c92bc98d7affa46ce9cc66b4e2aab220bb584bf8 | [
"MIT"
] | 1 | 2022-01-07T16:23:50.000Z | 2022-01-07T16:23:50.000Z | from .reference import Reference
from .data import Data
from .preprocessing import Preprocessing
from .analysis_method import AnalysisMethod
from .evaluation import Evaluation
from .result import Result | 33.666667 | 43 | 0.856436 | 25 | 202 | 6.88 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113861 | 202 | 6 | 44 | 33.666667 | 0.960894 | 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 |
0a0fdb8535c4691473cb03f332f71630e68044f2 | 62 | py | Python | honeygrove/geoip/__init__.py | ekaxis/honeygrove | 15009edbc39c83bac4585441fc0ac09c86d1de46 | [
"MIT"
] | 1 | 2020-09-09T15:34:44.000Z | 2020-09-09T15:34:44.000Z | honeygrove/geoip/__init__.py | ekaxis/honeygrove | 15009edbc39c83bac4585441fc0ac09c86d1de46 | [
"MIT"
] | null | null | null | honeygrove/geoip/__init__.py | ekaxis/honeygrove | 15009edbc39c83bac4585441fc0ac09c86d1de46 | [
"MIT"
] | null | null | null | from .geoip import geoip
from .geolocation import Geolocation
| 20.666667 | 36 | 0.83871 | 8 | 62 | 6.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 37 | 31 | 0.962963 | 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 |
0a103260606cbef76212b7d9d473067eb63824c8 | 879 | py | Python | service1frontend/tests/test_frontend.py | dkthecoder/Cards-Against-Humanity-Docker-Containers | d907655389746c2a128828a5d66b98cdd367edb3 | [
"Unlicense"
] | null | null | null | service1frontend/tests/test_frontend.py | dkthecoder/Cards-Against-Humanity-Docker-Containers | d907655389746c2a128828a5d66b98cdd367edb3 | [
"Unlicense"
] | null | null | null | service1frontend/tests/test_frontend.py | dkthecoder/Cards-Against-Humanity-Docker-Containers | d907655389746c2a128828a5d66b98cdd367edb3 | [
"Unlicense"
] | null | null | null | from app import app
from flask import url_for
from flask_testing import TestCase
import pytest
class TestBase(TestCase):
def create_app(self):
return app
def test_home_repsonce(self):
response = self.client.get(url_for('index'))
self.assertEqual(response.status_code, 200)
def tes... | 29.3 | 58 | 0.698521 | 117 | 879 | 5.034188 | 0.264957 | 0.061121 | 0.169779 | 0.203735 | 0.740238 | 0.740238 | 0.740238 | 0.662139 | 0.52292 | 0.52292 | 0 | 0.021277 | 0.197952 | 879 | 29 | 59 | 30.310345 | 0.814184 | 0 | 0 | 0.409091 | 0 | 0 | 0.040956 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 1 | 0.272727 | false | 0 | 0.181818 | 0.045455 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
0a21fc4aec4e1b2e16ef512d63d0063db839faf3 | 65 | py | Python | heppy/modules/contact_hm.py | hiqdev/epypy | 364fdcc0bef96e079e10b8bae7173e14da28da37 | [
"BSD-3-Clause"
] | 20 | 2016-06-02T20:29:29.000Z | 2022-01-31T07:47:02.000Z | heppy/modules/contact_hm.py | hiqdev/epypy | 364fdcc0bef96e079e10b8bae7173e14da28da37 | [
"BSD-3-Clause"
] | 1 | 2018-10-09T16:09:24.000Z | 2018-10-10T08:17:42.000Z | heppy/modules/contact_hm.py | hiqdev/epypy | 364fdcc0bef96e079e10b8bae7173e14da28da37 | [
"BSD-3-Clause"
] | 7 | 2018-04-11T16:05:06.000Z | 2020-01-28T16:30:40.000Z | from contact import contact
class contact_hm(contact):
pass
| 13 | 27 | 0.769231 | 9 | 65 | 5.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 4 | 28 | 16.25 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
0a2bbb224cfe4e6195fa9e7de8e91b01b2b7e281 | 13 | py | Python | mock/five.py | kevinghst/UDA_sup | c970622370d5de6b8c48b458cb8b4fe59e37effb | [
"Apache-2.0"
] | null | null | null | mock/five.py | kevinghst/UDA_sup | c970622370d5de6b8c48b458cb8b4fe59e37effb | [
"Apache-2.0"
] | null | null | null | mock/five.py | kevinghst/UDA_sup | c970622370d5de6b8c48b458cb8b4fe59e37effb | [
"Apache-2.0"
] | null | null | null | print("five") | 13 | 13 | 0.692308 | 2 | 13 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 | 1 | 13 | 13 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 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 |
0a52934c9f88c97c13ae08bc692192ad1128002a | 99 | py | Python | elementary/nearest_value.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | elementary/nearest_value.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | elementary/nearest_value.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | def nearest_value(values: set, one: int) -> int:
return min((abs(n-one), n) for n in values)[1] | 49.5 | 50 | 0.646465 | 19 | 99 | 3.315789 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.171717 | 99 | 2 | 50 | 49.5 | 0.756098 | 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 |
6a5f0979a22599e6a4bf9b91cb8bb383a94dd72f | 28,857 | py | Python | trainer.py | yuangan/A2L | 8cbc9b5f368924c8c75cbab53e9bb10dcf265c7e | [
"MIT"
] | null | null | null | trainer.py | yuangan/A2L | 8cbc9b5f368924c8c75cbab53e9bb10dcf265c7e | [
"MIT"
] | null | null | null | trainer.py | yuangan/A2L | 8cbc9b5f368924c8c75cbab53e9bb10dcf265c7e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import os.path as osp
import sys
import time
from collections import defaultdict
import numpy as np
import torch
from torch import nn
from PIL import Image
from tqdm import tqdm
from losses import compute_pcalmk_d_loss, compute_pcalmk_g_loss, compute_lmk_g_loss, compute_lmk_d_loss
f... | 47.935216 | 215 | 0.592716 | 3,932 | 28,857 | 4.051628 | 0.069685 | 0.059883 | 0.023162 | 0.023162 | 0.771703 | 0.74967 | 0.727136 | 0.712699 | 0.703032 | 0.672211 | 0 | 0.013409 | 0.297051 | 28,857 | 601 | 216 | 48.014975 | 0.77195 | 0.320997 | 0 | 0.502994 | 0 | 0.002994 | 0.037583 | 0.003313 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050898 | false | 0.002994 | 0.041916 | 0 | 0.125749 | 0.008982 | 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 |
6a8124562629ccfe66d02f5b88adafdb15648aa8 | 64 | py | Python | test_sample.py | ityuhui/flask-rest | 398e544ed70effd384d27a7e4f371a128a920acf | [
"Apache-2.0"
] | null | null | null | test_sample.py | ityuhui/flask-rest | 398e544ed70effd384d27a7e4f371a128a920acf | [
"Apache-2.0"
] | null | null | null | test_sample.py | ityuhui/flask-rest | 398e544ed70effd384d27a7e4f371a128a920acf | [
"Apache-2.0"
] | null | null | null | def func(x):
return x+1
def test_func():
assert func(3) == 4 | 12.8 | 20 | 0.625 | 13 | 64 | 3 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.203125 | 64 | 5 | 20 | 12.8 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.5 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
6a8322733e0fbbdfee92207dc7632585a2fd4897 | 126 | py | Python | imperium/errors.py | DSRetro/imperium | 12b44677903493b0e506ad07d119e6d5c2717c35 | [
"MIT"
] | null | null | null | imperium/errors.py | DSRetro/imperium | 12b44677903493b0e506ad07d119e6d5c2717c35 | [
"MIT"
] | null | null | null | imperium/errors.py | DSRetro/imperium | 12b44677903493b0e506ad07d119e6d5c2717c35 | [
"MIT"
] | null | null | null | class Error(Exception):
pass
class ArgumentError(Error):
def __init__(self, message):
self.message = message
| 18 | 32 | 0.68254 | 14 | 126 | 5.857143 | 0.642857 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 126 | 6 | 33 | 21 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
6aa5eaa9a7406f4bf1087a445c088cae983ea606 | 1,551 | py | Python | tests/test_metrics/test_hmean_iou.py | yuexy/mmocr | 82488024db159266e66ea6b0d6f84a5a18e87362 | [
"Apache-2.0"
] | 2,261 | 2021-04-08T03:45:41.000Z | 2022-03-31T23:37:46.000Z | tests/test_metrics/test_hmean_iou.py | yuexy/mmocr | 82488024db159266e66ea6b0d6f84a5a18e87362 | [
"Apache-2.0"
] | 789 | 2021-04-08T05:40:13.000Z | 2022-03-31T09:42:39.000Z | tests/test_metrics/test_hmean_iou.py | yuexy/mmocr | 82488024db159266e66ea6b0d6f84a5a18e87362 | [
"Apache-2.0"
] | 432 | 2021-04-08T03:56:16.000Z | 2022-03-30T18:44:43.000Z | # Copyright (c) OpenMMLab. All rights reserved.
"""Test hmean_iou."""
import pytest
import mmocr.core.evaluation.hmean_iou as hmean_iou
def test_eval_hmean_iou():
pred_boxes = []
gt_boxes = []
gt_ignored_boxes = []
iou_thr = 0.5
precision_thr = 0.5
# test invalid arguments.
with pytest... | 36.928571 | 78 | 0.588008 | 213 | 1,551 | 3.981221 | 0.169014 | 0.150943 | 0.099057 | 0.113208 | 0.75 | 0.712264 | 0.712264 | 0.712264 | 0.712264 | 0.630896 | 0 | 0.047316 | 0.291425 | 1,551 | 41 | 79 | 37.829268 | 0.724295 | 0.055448 | 0 | 0.290323 | 0 | 0 | 0.013717 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 1 | 0.032258 | false | 0 | 0.064516 | 0 | 0.096774 | 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 |
0a870e93d20600b13f1848149e8dbb95d0fd597b | 942 | py | Python | tests/kyu_8_tests/test_sum_without_highest_and_lowest_number.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | tests/kyu_8_tests/test_sum_without_highest_and_lowest_number.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | tests/kyu_8_tests/test_sum_without_highest_and_lowest_number.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | import unittest
from katas.kyu_8.sum_without_highest_and_lowest_number import sum_array
class SumArrayTestCase(unittest.TestCase):
def test_equal_1(self):
self.assertEqual(sum_array(None), 0)
def test_equal_2(self):
self.assertEqual(sum_array([]), 0)
def test_equal_3(self):
self... | 26.166667 | 71 | 0.636943 | 146 | 942 | 3.856164 | 0.253425 | 0.156306 | 0.213144 | 0.390764 | 0.614565 | 0.51865 | 0.419183 | 0.419183 | 0.419183 | 0.419183 | 0 | 0.080645 | 0.210191 | 942 | 35 | 72 | 26.914286 | 0.676075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 1 | 0.434783 | false | 0 | 0.086957 | 0 | 0.565217 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
0aa6ef07e18f895571a5f7cb10a1f67dc95346e8 | 21,312 | py | Python | src/MAT/test/mat_bootstrap_unittest.py | wake-forest-ctsi/mist-toolkit | 857e91976fa3b75ef2cad08612fa79cf2f743615 | [
"BSD-3-Clause"
] | 2 | 2019-10-18T18:19:09.000Z | 2020-10-23T17:38:15.000Z | scrubber/MIST_2_0_4/src/MAT/test/mat_bootstrap_unittest.py | manaswini18/DmD | dd1e865ddb7b43c8478b2b5733385143b1980951 | [
"Apache-2.0"
] | null | null | null | scrubber/MIST_2_0_4/src/MAT/test/mat_bootstrap_unittest.py | manaswini18/DmD | dd1e865ddb7b43c8478b2b5733385143b1980951 | [
"Apache-2.0"
] | 9 | 2016-12-17T22:50:37.000Z | 2020-09-26T01:08:06.000Z | # Copyright (C) 2007 - 2009 The MITRE Corporation. See the toplevel
# file LICENSE for license terms.
from mat_unittest_resources import PluginContextTestCase
import MAT
import os, shutil
# Testing the simpler bootstrapper.
class BootstrapBasicTestCase(PluginContextTestCase):
def setUp(self):
PluginCont... | 70.569536 | 122 | 0.516986 | 2,061 | 21,312 | 5.25279 | 0.102863 | 0.026603 | 0.042398 | 0.043876 | 0.807778 | 0.780898 | 0.75448 | 0.700536 | 0.652041 | 0.652041 | 0 | 0.020545 | 0.3468 | 21,312 | 301 | 123 | 70.803987 | 0.75713 | 0.07606 | 0 | 0.565737 | 0 | 0 | 0.139195 | 0.034023 | 0 | 0 | 0 | 0 | 0.203187 | 1 | 0.051793 | false | 0 | 0.055777 | 0 | 0.131474 | 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 |
0abdd140b804d6ef1c5e38db81835d4ebeb0c459 | 102 | py | Python | diffios/__init__.py | devendrav1987/diffios | 2afb3e759a6bd7c7f13d955cb29d2ac434f77510 | [
"MIT"
] | 30 | 2017-03-31T09:17:21.000Z | 2022-03-17T16:55:00.000Z | diffios/__init__.py | devendrav1987/diffios | 2afb3e759a6bd7c7f13d955cb29d2ac434f77510 | [
"MIT"
] | 17 | 2017-01-27T19:00:20.000Z | 2017-05-05T15:44:33.000Z | diffios/__init__.py | devendrav1987/diffios | 2afb3e759a6bd7c7f13d955cb29d2ac434f77510 | [
"MIT"
] | 18 | 2018-07-11T16:36:58.000Z | 2022-02-03T06:50:40.000Z | from diffios.config import Config
from diffios.compare import Compare
from diffios.constants import *
| 25.5 | 35 | 0.843137 | 14 | 102 | 6.142857 | 0.428571 | 0.383721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 102 | 3 | 36 | 34 | 0.955556 | 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 |
0ac4b0af64f8d26f09df145c566900fc763a1da4 | 68 | py | Python | madrona/installer/files/_project/_app/forms.py | movermeyer/madrona | fcdced0a03408754b88a3d88f416e04d500c32d4 | [
"BSD-3-Clause"
] | 9 | 2015-03-09T11:04:21.000Z | 2022-01-16T09:45:36.000Z | madrona/installer/files/_project/_app/forms.py | movermeyer/madrona | fcdced0a03408754b88a3d88f416e04d500c32d4 | [
"BSD-3-Clause"
] | 1 | 2020-04-24T14:38:43.000Z | 2020-04-24T14:38:43.000Z | madrona/installer/files/_project/_app/forms.py | movermeyer/madrona | fcdced0a03408754b88a3d88f416e04d500c32d4 | [
"BSD-3-Clause"
] | 2 | 2016-12-06T15:31:35.000Z | 2018-03-04T20:04:44.000Z | from madrona.features.forms import FeatureForm, SpatialFeatureForm
| 22.666667 | 66 | 0.867647 | 7 | 68 | 8.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 68 | 2 | 67 | 34 | 0.951613 | 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 |
0acebdd1542c3517f0b1cafec953f30570248560 | 24 | py | Python | src/training/__init__.py | askarum/CS547project | 73e8da0d4113f9ec3be374958da9dc165212d722 | [
"MIT"
] | 12 | 2021-07-27T07:18:24.000Z | 2022-03-09T13:52:20.000Z | src/training/__init__.py | askarum/CS547project | 73e8da0d4113f9ec3be374958da9dc165212d722 | [
"MIT"
] | 3 | 2021-05-15T03:15:45.000Z | 2021-05-15T03:16:36.000Z | src/training/__init__.py | askarum/CS547project | 73e8da0d4113f9ec3be374958da9dc165212d722 | [
"MIT"
] | 3 | 2021-11-18T14:46:40.000Z | 2022-01-03T15:47:23.000Z | from .samplers import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 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 |
0ad7a914bddd2b861ba86c7ea1df05f23e0270d3 | 92 | py | Python | channel/admin.py | theju/dtwt | 0e29e37d17a2e5a704885df87019ff0cdf006b8b | [
"MIT"
] | 8 | 2015-02-19T19:15:18.000Z | 2022-01-02T03:51:56.000Z | channel/admin.py | theju/dtwt | 0e29e37d17a2e5a704885df87019ff0cdf006b8b | [
"MIT"
] | null | null | null | channel/admin.py | theju/dtwt | 0e29e37d17a2e5a704885df87019ff0cdf006b8b | [
"MIT"
] | 1 | 2022-01-02T03:52:03.000Z | 2022-01-02T03:52:03.000Z | from django.contrib import admin
from .models import Channel
admin.site.register(Channel)
| 15.333333 | 32 | 0.815217 | 13 | 92 | 5.769231 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119565 | 92 | 5 | 33 | 18.4 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0af205e9b103a1f15934739c82bf8d18c9829550 | 172 | py | Python | examples/notebooks/1_deploy_notebooks/notebooks/sample2.py | leaferrara/terraform-databricks-workspace-management | c446de6838d5a790f32fb8a4dde5becceefb4ea9 | [
"Apache-2.0"
] | 5 | 2021-05-04T13:15:05.000Z | 2022-02-01T15:39:12.000Z | examples/notebooks/1_deploy_notebooks/notebooks/sample2.py | leaferrara/terraform-databricks-workspace-management | c446de6838d5a790f32fb8a4dde5becceefb4ea9 | [
"Apache-2.0"
] | 1 | 2021-09-06T21:10:10.000Z | 2021-09-06T21:10:10.000Z | examples/notebooks/1_deploy_notebooks/notebooks/sample2.py | leaferrara/terraform-databricks-workspace-management | c446de6838d5a790f32fb8a4dde5becceefb4ea9 | [
"Apache-2.0"
] | 3 | 2021-08-17T16:42:04.000Z | 2022-02-22T05:22:18.000Z | token = dbutils.secrets.get('${databricks_secret_scope.this.name}', '${databricks_secret.token.key}')
print(f'This should be recacted: {token}')
print(f'Hello world pong')
| 43 | 101 | 0.75 | 25 | 172 | 5.04 | 0.72 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 172 | 3 | 102 | 57.333333 | 0.7875 | 0 | 0 | 0 | 0 | 0 | 0.662791 | 0.383721 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0afbcef50ccc7de8e740111526d1ebb1241d1ea3 | 6,938 | py | Python | main.py | regro/conda-forge-sparta | 1d55095a931da893507037f1bcc696ad3ed94bae | [
"BSD-3-Clause"
] | null | null | null | main.py | regro/conda-forge-sparta | 1d55095a931da893507037f1bcc696ad3ed94bae | [
"BSD-3-Clause"
] | null | null | null | main.py | regro/conda-forge-sparta | 1d55095a931da893507037f1bcc696ad3ed94bae | [
"BSD-3-Clause"
] | null | null | null | import os
import requests
import threading
import gc
from fastapi import FastAPI, HTTPException
from fastapi.responses import RedirectResponse
# https://stackoverflow.com/questions/12435211/python-threading-timer-repeat-function-every-n-seconds
def setInterval(interval):
def decorator(function):
def wrap... | 31.112108 | 101 | 0.656529 | 807 | 6,938 | 5.532838 | 0.130112 | 0.051512 | 0.049272 | 0.071669 | 0.831355 | 0.803136 | 0.78813 | 0.734826 | 0.686898 | 0.659798 | 0 | 0.006132 | 0.153791 | 6,938 | 222 | 102 | 31.252252 | 0.754386 | 0.081724 | 0 | 0.371622 | 0 | 0 | 0.431129 | 0.233715 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033784 | false | 0 | 0.040541 | 0 | 0.236486 | 0.006757 | 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 |
e40baf433f853651a34a979a26d16b7e3a14289c | 27 | py | Python | tests/molecular/molecules/molecule/fixtures/cof/__init__.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 21 | 2018-04-12T16:25:24.000Z | 2022-02-14T23:05:43.000Z | tests/molecular/molecules/molecule/fixtures/cof/__init__.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 8 | 2019-03-19T12:36:36.000Z | 2020-11-11T12:46:00.000Z | tests/molecular/molecules/molecule/fixtures/cof/__init__.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 5 | 2018-08-07T13:00:16.000Z | 2021-11-01T00:55:10.000Z | from .cof import * # noqa
| 13.5 | 26 | 0.62963 | 4 | 27 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 27 | 1 | 27 | 27 | 0.85 | 0.148148 | 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 |
7c27294a115cc83b1ec1b79310b0689a1023f540 | 118 | py | Python | agenda/admin.py | wellingtonsilva04/agenda_web | aa83b7a0c1310a4266fb9b0ccf09c35c639af05f | [
"MIT"
] | null | null | null | agenda/admin.py | wellingtonsilva04/agenda_web | aa83b7a0c1310a4266fb9b0ccf09c35c639af05f | [
"MIT"
] | null | null | null | agenda/admin.py | wellingtonsilva04/agenda_web | aa83b7a0c1310a4266fb9b0ccf09c35c639af05f | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Contato
# Register your models here.
admin.site.register(Contato) | 29.5 | 32 | 0.822034 | 17 | 118 | 5.705882 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110169 | 118 | 4 | 33 | 29.5 | 0.92381 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7c3406d30040228e9d5e9a333ee56e9459605eb2 | 224 | py | Python | sdk/pam/lib/libpam_arvados.py | coolmaksat/arvados | 5f571760d4b52426e39ae39d0ce5cb9b7cfb0add | [
"Apache-2.0"
] | 1 | 2017-11-15T13:16:38.000Z | 2017-11-15T13:16:38.000Z | sdk/pam/lib/libpam_arvados.py | coolmaksat/arvados | 5f571760d4b52426e39ae39d0ce5cb9b7cfb0add | [
"Apache-2.0"
] | null | null | null | sdk/pam/lib/libpam_arvados.py | coolmaksat/arvados | 5f571760d4b52426e39ae39d0ce5cb9b7cfb0add | [
"Apache-2.0"
] | 1 | 2020-09-02T08:37:54.000Z | 2020-09-02T08:37:54.000Z | # Copyright (C) The Arvados Authors. All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
import sys
sys.path.append('/usr/share/python2.7/dist/libpam-arvados/lib/python2.7/site-packages')
from arvados_pam import *
| 28 | 87 | 0.767857 | 35 | 224 | 4.885714 | 0.828571 | 0.093567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029557 | 0.09375 | 224 | 7 | 88 | 32 | 0.812808 | 0.40625 | 0 | 0 | 0 | 0.333333 | 0.527132 | 0.527132 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7c372f29b18b28c66e0f421346374bd713b8ef9a | 651 | py | Python | amqpstorm/__init__.py | getaroom/amqpstorm | c7692518197fd145cb499dc260b5ab3038c5d673 | [
"MIT"
] | null | null | null | amqpstorm/__init__.py | getaroom/amqpstorm | c7692518197fd145cb499dc260b5ab3038c5d673 | [
"MIT"
] | 1 | 2020-09-07T03:01:58.000Z | 2020-09-07T03:01:58.000Z | amqpstorm/__init__.py | getaroom/amqpstorm | c7692518197fd145cb499dc260b5ab3038c5d673 | [
"MIT"
] | null | null | null | """AMQPStorm."""
__version__ = '2.8.1' # noqa
__author__ = 'eandersson' # noqa
import logging
logging.getLogger('amqpstorm').addHandler(logging.NullHandler())
from amqpstorm.channel import Channel # noqa
from amqpstorm.connection import Connection # noqa
from amqpstorm.uri_connection import UriConnection # noqa... | 36.166667 | 64 | 0.803379 | 72 | 651 | 7.138889 | 0.347222 | 0.227626 | 0.264591 | 0.252918 | 0.311284 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005272 | 0.12596 | 651 | 17 | 65 | 38.294118 | 0.898067 | 0.101382 | 0 | 0 | 0 | 0 | 0.042179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.769231 | 0 | 0.769231 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7c3fffae7295b68003f22449543debe9ade79ff4 | 15,148 | py | Python | tests/pytests/test_profile.py | He-YuFei/RediSearch | 5f08c2ad22ad2501124d6319dffdf34a3e30c878 | [
"Apache-2.0",
"Ruby",
"BSD-3-Clause",
"MIT"
] | 1 | 2018-08-23T22:10:15.000Z | 2018-08-23T22:10:15.000Z | tests/pytests/test_profile.py | eubide/RediSearch | 3038e45bac9fe6746af6b5b36106a85e328ed6d8 | [
"BSD-3-Clause",
"Ruby",
"Apache-2.0",
"MIT"
] | null | null | null | tests/pytests/test_profile.py | eubide/RediSearch | 3038e45bac9fe6746af6b5b36106a85e328ed6d8 | [
"BSD-3-Clause",
"Ruby",
"Apache-2.0",
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
from includes import *
from common import getConnectionByEnv, waitForIndex, sortedResults, toSortedFlatList, server_version_less_than, server_version_at_least
from time import sleep
from RLTest import Env
def testProfileSearch(env):
env.skipOnCluster()
conn = getConnectionB... | 52.597222 | 282 | 0.591629 | 1,827 | 15,148 | 4.80624 | 0.114943 | 0.078123 | 0.098394 | 0.070151 | 0.807539 | 0.75037 | 0.711309 | 0.670539 | 0.640246 | 0.601868 | 0 | 0.019877 | 0.186295 | 15,148 | 287 | 283 | 52.780488 | 0.69252 | 0.022841 | 0 | 0.427928 | 0 | 0 | 0.353717 | 0.004938 | 0 | 0 | 0 | 0 | 0.117117 | 0 | null | null | 0 | 0.022523 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 |
7c5175f1c34bf8b38af7ff777d4ee6be44ccabec | 36 | py | Python | playground.py | stefantaubert/deepvoice3_pytorch | 0b9a65757446c2fb54db199612752e0a1a58a9d2 | [
"MIT"
] | 267 | 2018-10-24T05:28:04.000Z | 2019-12-24T19:06:14.000Z | playground.py | stefantaubert/deepvoice3_pytorch | 0b9a65757446c2fb54db199612752e0a1a58a9d2 | [
"MIT"
] | 275 | 2021-01-06T20:53:21.000Z | 2021-04-22T14:03:09.000Z | playground.py | stefantaubert/deepvoice3_pytorch | 0b9a65757446c2fb54db199612752e0a1a58a9d2 | [
"MIT"
] | 83 | 2018-10-23T15:37:54.000Z | 2019-12-24T19:06:21.000Z | import nltk
nltk.download('punkt')
| 9 | 22 | 0.75 | 5 | 36 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 3 | 23 | 12 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 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 |
7c6c52cc87e9e5e628a69bf3d2716e4989d1857e | 376 | py | Python | lang_base_classes/english_language.py | clean-code-craft-tcq-2/simple-monitor-in-py-Shivam6033 | b0a1c9062c4818fe39f4fe59abf48d8fb6541010 | [
"MIT"
] | null | null | null | lang_base_classes/english_language.py | clean-code-craft-tcq-2/simple-monitor-in-py-Shivam6033 | b0a1c9062c4818fe39f4fe59abf48d8fb6541010 | [
"MIT"
] | null | null | null | lang_base_classes/english_language.py | clean-code-craft-tcq-2/simple-monitor-in-py-Shivam6033 | b0a1c9062c4818fe39f4fe59abf48d8fb6541010 | [
"MIT"
] | null | null | null | from abstract_classes.language_service import LanguageService
class EnglishLanguage(LanguageService):
def get_out_of_range_message(self):
return 'out of Range!!'
def get_approaching_charge_peak_message(self):
return 'Warning: Approaching discharge'
def get_approaching_discharge_message(s... | 28.923077 | 61 | 0.765957 | 43 | 376 | 6.395349 | 0.511628 | 0.065455 | 0.185455 | 0.174545 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 376 | 12 | 62 | 31.333333 | 0.88141 | 0 | 0 | 0 | 0 | 0 | 0.202128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.375 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7c7999999076a53281ed7d47ed7bf8acf6d30d3b | 535 | py | Python | allennlp/data/__init__.py | nadgeri14/allennlp | 2eefffaf71612263a1c20e8ce4107849cfd5efe3 | [
"Apache-2.0"
] | 2 | 2021-04-27T19:56:28.000Z | 2021-08-19T05:34:37.000Z | allennlp/data/__init__.py | nadgeri14/allennlp | 2eefffaf71612263a1c20e8ce4107849cfd5efe3 | [
"Apache-2.0"
] | 5 | 2021-05-03T14:40:33.000Z | 2021-05-03T14:40:34.000Z | allennlp/data/__init__.py | nadgeri14/allennlp | 2eefffaf71612263a1c20e8ce4107849cfd5efe3 | [
"Apache-2.0"
] | 1 | 2021-02-04T08:42:23.000Z | 2021-02-04T08:42:23.000Z | from allennlp.data.dataset_readers.dataset_reader import DatasetReader
from allennlp.data.fields.field import DataArray, Field
from allennlp.data.fields.text_field import TextFieldTensors
from allennlp.data.instance import Instance
from allennlp.data.iterators.data_iterator import DataIterator
from allennlp.data.token_... | 53.5 | 85 | 0.878505 | 69 | 535 | 6.724638 | 0.362319 | 0.232759 | 0.310345 | 0.094828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071028 | 535 | 9 | 86 | 59.444444 | 0.933602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.