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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4522fac3b29d3d13bce122c111b2b57231c59d8a | 44 | py | Python | asset_manager/connectors/__init__.py | miquel-vv/asset_manager | 55e1cd42eefa0e5c9e5f364eb0f83b2fd9fc0c60 | [
"MIT"
] | null | null | null | asset_manager/connectors/__init__.py | miquel-vv/asset_manager | 55e1cd42eefa0e5c9e5f364eb0f83b2fd9fc0c60 | [
"MIT"
] | null | null | null | asset_manager/connectors/__init__.py | miquel-vv/asset_manager | 55e1cd42eefa0e5c9e5f364eb0f83b2fd9fc0c60 | [
"MIT"
] | null | null | null | from .KrakenConnector import KrakenConnector | 44 | 44 | 0.909091 | 4 | 44 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
453b3476e407a2c9f48b87bc2ac0cbb1a781d0f2 | 75 | py | Python | veros/core/isoneutral/__init__.py | madsbk/veros | 00d2c33e28f0bd098a81bd6ac48436067e7eb8f5 | [
"MIT"
] | null | null | null | veros/core/isoneutral/__init__.py | madsbk/veros | 00d2c33e28f0bd098a81bd6ac48436067e7eb8f5 | [
"MIT"
] | null | null | null | veros/core/isoneutral/__init__.py | madsbk/veros | 00d2c33e28f0bd098a81bd6ac48436067e7eb8f5 | [
"MIT"
] | null | null | null | from .diffusion import *
from .friction import *
from .isoneutral import *
| 18.75 | 25 | 0.76 | 9 | 75 | 6.333333 | 0.555556 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 3 | 26 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1889cef4ce3d6e7e552d975c83ed0e7361f3169e | 4,196 | py | Python | eqa_data/question-gen/check_qns.py | sawravchy/MT-EQA | 9a5483cc29ed6ee8d00590e28264743c6bcbe7ad | [
"BSD-3-Clause"
] | 22 | 2019-06-10T22:50:39.000Z | 2021-11-06T15:55:21.000Z | eqa_data/question-gen/check_qns.py | sawravchy/MT-EQA | 9a5483cc29ed6ee8d00590e28264743c6bcbe7ad | [
"BSD-3-Clause"
] | 1 | 2019-07-15T08:14:58.000Z | 2019-07-18T07:26:20.000Z | eqa_data/question-gen/check_qns.py | sawravchy/MT-EQA | 9a5483cc29ed6ee8d00590e28264743c6bcbe7ad | [
"BSD-3-Clause"
] | 5 | 2019-06-10T23:37:13.000Z | 2021-11-06T15:55:14.000Z | # Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
"""
This code check qtype-to-cnt for EQA V1 data.
"""
import os
import os.path as osp
import json
import sys
from... | 37.464286 | 97 | 0.61082 | 622 | 4,196 | 3.92926 | 0.151125 | 0.060147 | 0.081833 | 0.091653 | 0.804419 | 0.797463 | 0.74509 | 0.74509 | 0.733633 | 0.718085 | 0 | 0.003906 | 0.145853 | 4,196 | 112 | 98 | 37.464286 | 0.678013 | 0.133937 | 0 | 0.617647 | 0 | 0 | 0.25 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.073529 | 0 | 0.073529 | 0.205882 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
18b12a848c2354f339de132f979256da19ab66d4 | 9 | py | Python | test_data/parse_retree/unexpected/improper_escaping/range_character/short_x/source.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 5 | 2021-12-29T12:55:34.000Z | 2022-03-01T17:57:21.000Z | test_data/parse_retree/unexpected/improper_escaping/range_character/short_x/source.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 10 | 2021-12-29T02:15:55.000Z | 2022-03-09T11:04:22.000Z | test_data/parse_retree/unexpected/improper_escaping/range_character/short_x/source.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 2 | 2021-12-29T01:42:12.000Z | 2022-02-15T13:46:33.000Z | "[\\x3]"
| 4.5 | 8 | 0.222222 | 1 | 9 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.111111 | 9 | 1 | 9 | 9 | 0.125 | 0.555556 | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
18cd291fd722b63071d1417ebfe7f1ef7c367b41 | 133 | py | Python | builder/logger.py | djlihner/simple_builder_for_gogs | aac9fffdc84bc858f11398c2494d0d98421de3e2 | [
"Apache-2.0"
] | null | null | null | builder/logger.py | djlihner/simple_builder_for_gogs | aac9fffdc84bc858f11398c2494d0d98421de3e2 | [
"Apache-2.0"
] | null | null | null | builder/logger.py | djlihner/simple_builder_for_gogs | aac9fffdc84bc858f11398c2494d0d98421de3e2 | [
"Apache-2.0"
] | null | null | null | import logging
logging.basicConfig(level=logging.DEBUG, format='%(levelname)s - %(message)s')
def get_logger():
return logging | 19 | 78 | 0.736842 | 17 | 133 | 5.705882 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120301 | 133 | 7 | 79 | 19 | 0.82906 | 0 | 0 | 0 | 0 | 0 | 0.201493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
18d8694456b19201aa9e67351f278fd8e9b48da3 | 9,207 | py | Python | genemethods/SequenceExtractor/tests/test_sequence_extractor.py | adamkoziol/genemethods | eaa493f3090595da5cf594da67178c1ebe4aad12 | [
"MIT"
] | null | null | null | genemethods/SequenceExtractor/tests/test_sequence_extractor.py | adamkoziol/genemethods | eaa493f3090595da5cf594da67178c1ebe4aad12 | [
"MIT"
] | null | null | null | genemethods/SequenceExtractor/tests/test_sequence_extractor.py | adamkoziol/genemethods | eaa493f3090595da5cf594da67178c1ebe4aad12 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from genemethods.SequenceExtractor.src.sequenceExtractor import SequenceExtractor
import shutil
import logging
import pytest
import os
test_path = os.path.abspath(os.path.dirname(__file__))
sequencepath = os.path.join(test_path, 'sequences')
outputpath = os.path.join(sequencepath, 'output')
outp... | 42.233945 | 120 | 0.704247 | 1,081 | 9,207 | 5.695652 | 0.12766 | 0.03021 | 0.045477 | 0.130745 | 0.816794 | 0.800552 | 0.79097 | 0.77554 | 0.753614 | 0.702452 | 0 | 0.051899 | 0.188009 | 9,207 | 217 | 121 | 42.428571 | 0.771669 | 0.002281 | 0 | 0.581818 | 0 | 0 | 0.238323 | 0.200435 | 0 | 0 | 0 | 0 | 0.242424 | 1 | 0.151515 | false | 0.006061 | 0.030303 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1319ce6ccca2da0a127016da475fad3945460dc | 90 | py | Python | vol2/97.py | EdisonAlgorithms/ProjectEuler | 95025ede2c92dbd3ed2dccc0f8a97e9a3db95ef0 | [
"MIT"
] | null | null | null | vol2/97.py | EdisonAlgorithms/ProjectEuler | 95025ede2c92dbd3ed2dccc0f8a97e9a3db95ef0 | [
"MIT"
] | null | null | null | vol2/97.py | EdisonAlgorithms/ProjectEuler | 95025ede2c92dbd3ed2dccc0f8a97e9a3db95ef0 | [
"MIT"
] | null | null | null | if __name__ == "__main__":
print (28433 * pow(2, 7830457, 10 ** 10) + 1) % (10 ** 10)
| 30 | 62 | 0.533333 | 13 | 90 | 3.076923 | 0.769231 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.323529 | 0.244444 | 90 | 2 | 63 | 45 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e15523bcf2d8b961b893afe739e092ffabb964c0 | 152 | py | Python | config.py | skohtz1/API--HW-6 | c4329afaa733717176777495b0d02a3050dc79ca | [
"MIT"
] | null | null | null | config.py | skohtz1/API--HW-6 | c4329afaa733717176777495b0d02a3050dc79ca | [
"MIT"
] | null | null | null | config.py | skohtz1/API--HW-6 | c4329afaa733717176777495b0d02a3050dc79ca | [
"MIT"
] | null | null | null | api_key = "796fc7786f1ced770caae62b2b4d5d7b"
maps_key = "AIzaSyCznrwi0P7Dxue6Ycp5dLuyPEDBWNY7SkY"
place_key = "AIzaSyClI69u3UCM_x502FB4W7tQzEFIdPQ1Nb4" | 38 | 53 | 0.881579 | 10 | 152 | 13 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223776 | 0.059211 | 152 | 4 | 53 | 38 | 0.685315 | 0 | 0 | 0 | 0 | 0 | 0.718954 | 0.718954 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e199e7ddb16ff93461ee0e82d8283c6c37b237c5 | 28 | py | Python | __init__.py | bankova-gabriella/layer | 87feadbca7bcb935b91e1a4b29fd15ea26103075 | [
"MIT"
] | null | null | null | __init__.py | bankova-gabriella/layer | 87feadbca7bcb935b91e1a4b29fd15ea26103075 | [
"MIT"
] | null | null | null | __init__.py | bankova-gabriella/layer | 87feadbca7bcb935b91e1a4b29fd15ea26103075 | [
"MIT"
] | null | null | null | from lib.layer import Layer
| 14 | 27 | 0.821429 | 5 | 28 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1b2da794bc562bb29f0cb2c40fd1f5e153e9ba6 | 3,470 | py | Python | Mini Proyecto 2/PY/hotelvscc.py | josejo911/Mini2ModSim | b011bbb09ce2777b08f741171d130eb060b5cccd | [
"Apache-2.0"
] | null | null | null | Mini Proyecto 2/PY/hotelvscc.py | josejo911/Mini2ModSim | b011bbb09ce2777b08f741171d130eb060b5cccd | [
"Apache-2.0"
] | null | null | null | Mini Proyecto 2/PY/hotelvscc.py | josejo911/Mini2ModSim | b011bbb09ce2777b08f741171d130eb060b5cccd | [
"Apache-2.0"
] | null | null | null | '''
Mini Proyecto 2
Javier Jo 14343
Pablo Lopez 14509
'''
import math
import random
#def exponential
def e(lam):
return -(1/lam)*math.log(random.random(),math.exp(1))
def normal(M,sigma):
while True:
y1 = e(1)
y2 = e(1)
if (y2 - (y1-1)**2)/2 > 0:
y = (y2 - (y1-1)**2)... | 36.914894 | 141 | 0.656772 | 565 | 3,470 | 3.99115 | 0.180531 | 0.031929 | 0.018625 | 0.023947 | 0.819956 | 0.786253 | 0.786253 | 0.786253 | 0.786253 | 0.786253 | 0 | 0.123377 | 0.201153 | 3,470 | 94 | 142 | 36.914894 | 0.690115 | 0.098559 | 0 | 0.6 | 0 | 0 | 0.265293 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.028571 | 0.014286 | 0.157143 | 0.228571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1bce59cd1f713d5f3e55f9ee6c898b0e443b870 | 47 | py | Python | python/20181228/Code/p1/c2.py | Realize0917/career | b5d02ac53cfc3ce3a2ca38d11480c51560283e67 | [
"MIT"
] | 3 | 2019-01-17T05:50:51.000Z | 2019-03-15T10:10:07.000Z | python/20181228/Code/p1/c2.py | Realize0917/career | b5d02ac53cfc3ce3a2ca38d11480c51560283e67 | [
"MIT"
] | 10 | 2019-01-17T06:07:03.000Z | 2019-02-19T05:55:25.000Z | python/20181228/Code/p1/c2.py | Realize0917/career | b5d02ac53cfc3ce3a2ca38d11480c51560283e67 | [
"MIT"
] | 4 | 2018-12-22T07:32:55.000Z | 2019-03-06T09:13:48.000Z | #from c1 import c1_a
c2_a = 'c2_a'
print(c2_a)
| 11.75 | 20 | 0.702128 | 12 | 47 | 2.416667 | 0.5 | 0.310345 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 0.170213 | 47 | 3 | 21 | 15.666667 | 0.615385 | 0.404255 | 0 | 0 | 0 | 0 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e1be370a4350129ecbcaece7fc34a5b1355d6ded | 41 | py | Python | bandit/modules/__init__.py | zmy920423/bandit_portfolio_version | ce92c8f491dfc9cd94caa0783c7c5d263c3358a3 | [
"MIT"
] | null | null | null | bandit/modules/__init__.py | zmy920423/bandit_portfolio_version | ce92c8f491dfc9cd94caa0783c7c5d263c3358a3 | [
"MIT"
] | 1 | 2021-03-02T08:23:41.000Z | 2021-03-02T08:23:41.000Z | bandit/modules/__init__.py | zmy920423/bandit_portfolio_version | ce92c8f491dfc9cd94caa0783c7c5d263c3358a3 | [
"MIT"
] | 1 | 2021-12-04T08:23:16.000Z | 2021-12-04T08:23:16.000Z | from bandit.modules.module import Module
| 20.5 | 40 | 0.853659 | 6 | 41 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1cb49cced7587aec69f5433a0a074fa4a98a825 | 81 | py | Python | Language Skills/Python/Unit 10 Advanced Topics in Python/01 Advanced Topics in Python/List Comprehentions/6-Now You Try.py | WarHatch/Codecademy-Exercise-Answers | 1fe3684d7edfa712747bce8e595e89409446eb94 | [
"MIT"
] | 346 | 2016-02-22T20:21:10.000Z | 2022-01-27T20:55:53.000Z | Language Skills/Python/Unit 10/1-Advanced Topics in Python/List Comprehentions/6-Now You Try!_.py | vpstudios/Codecademy-Exercise-Answers | ebd0ee8197a8001465636f52c69592ea6745aa0c | [
"MIT"
] | 55 | 2016-04-07T13:58:44.000Z | 2020-06-25T12:20:24.000Z | Language Skills/Python/Unit 10/1-Advanced Topics in Python/List Comprehentions/6-Now You Try!_.py | vpstudios/Codecademy-Exercise-Answers | ebd0ee8197a8001465636f52c69592ea6745aa0c | [
"MIT"
] | 477 | 2016-02-21T06:17:02.000Z | 2021-12-22T10:08:01.000Z | cubes_by_four = [x**3 for x in range(1,11) if (x**3)%4 == 0]
print cubes_by_four
| 27 | 60 | 0.654321 | 20 | 81 | 2.45 | 0.7 | 0.285714 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 0.160494 | 81 | 2 | 61 | 40.5 | 0.617647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
835b44fe5f779d333beedb5cbc33dfc42e042f67 | 184 | py | Python | util/generic/benchmark/vector_count_ctor/metrics/main.py | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | util/generic/benchmark/vector_count_ctor/metrics/main.py | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | util/generic/benchmark/vector_count_ctor/metrics/main.py | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | import yatest.common as yc
def test_export_metrics(metrics):
metrics.set_benchmark(yc.execute_benchmark('util/generic/benchmark/vector_count_ctor/vector_count_ctor', threads=8))
| 30.666667 | 120 | 0.826087 | 27 | 184 | 5.333333 | 0.703704 | 0.194444 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.076087 | 184 | 5 | 121 | 36.8 | 0.841176 | 0 | 0 | 0 | 0 | 0 | 0.315217 | 0.315217 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8366c6a12b270e5b90c95fbbe8032c33169c5a58 | 23,964 | py | Python | inspection_sdk/api/template/update_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | 5 | 2019-07-31T04:11:05.000Z | 2021-01-07T03:23:20.000Z | inspection_sdk/api/template/update_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | inspection_sdk/api/template/update_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: update.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf impo... | 48.906122 | 2,010 | 0.75797 | 2,845 | 23,964 | 6.121265 | 0.069596 | 0.053747 | 0.053058 | 0.080735 | 0.794086 | 0.745047 | 0.720471 | 0.692564 | 0.660465 | 0.636865 | 0 | 0.037023 | 0.120848 | 23,964 | 489 | 2,011 | 49.006135 | 0.789586 | 0.028334 | 0 | 0.726269 | 1 | 0.002208 | 0.227689 | 0.190521 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013245 | 0 | 0.013245 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
55c8fcd553d464d3a8b62d00a95c9940325cfb0a | 257 | py | Python | Backlog.py | tiksn/HabitPy | ead5f0a52c6549d20a5a430e6c54b34f82ab8d82 | [
"MIT"
] | null | null | null | Backlog.py | tiksn/HabitPy | ead5f0a52c6549d20a5a430e6c54b34f82ab8d82 | [
"MIT"
] | null | null | null | Backlog.py | tiksn/HabitPy | ead5f0a52c6549d20a5a430e6c54b34f82ab8d82 | [
"MIT"
] | null | null | null | from Habit import *
def isBacklogItem(todo, isImportant, isUrgent, isLessImportant, isLessUrgent):
return (isImportant == False) and (isUrgent == False) and (isLessImportant == False) and (isLessUrgent == False)
processToDos(isBacklogItem, printTodo) | 36.714286 | 116 | 0.762646 | 25 | 257 | 7.84 | 0.6 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132296 | 257 | 7 | 117 | 36.714286 | 0.878924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.75 | 0.25 | 1.25 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
55de3d0c52a1e4d7f8783812186b2978c7f425fd | 1,067 | py | Python | pyenv/lib/python3.6/tokenize.py | ronald-rgr/ai-chatbot-smartguide | c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf | [
"Apache-2.0"
] | null | null | null | pyenv/lib/python3.6/tokenize.py | ronald-rgr/ai-chatbot-smartguide | c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf | [
"Apache-2.0"
] | 3 | 2020-03-23T18:01:51.000Z | 2021-03-19T23:15:15.000Z | pyenv/lib/python3.6/tokenize.py | ronald-rgr/ai-chatbot-smartguide | c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf | [
"Apache-2.0"
] | null | null | null | XSym
0075
35aff6b9bcb2cf6218f64e11803be50d
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tokenize.py
... | 213.4 | 948 | 0.096532 | 15 | 1,067 | 6.866667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226087 | 0.892221 | 1,067 | 5 | 948 | 213.4 | 0.669565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
36501458ab375f8ec5e22c4c66679e6f9b1e4b72 | 30,995 | py | Python | models/CGNet.py | tanveer6715/cgnet | 7547c6fcef19eee645725568938504396d97c00c | [
"MIT"
] | null | null | null | models/CGNet.py | tanveer6715/cgnet | 7547c6fcef19eee645725568938504396d97c00c | [
"MIT"
] | null | null | null | models/CGNet.py | tanveer6715/cgnet | 7547c6fcef19eee645725568938504396d97c00c | [
"MIT"
] | null | null | null | # from builtins import input
# import tensorflow as tf
# from tensorflow.keras.layers import Dense, Conv2D, UpSampling2D
# from tensorflow.keras import Model
# from tensorflow.keras.initializers import he_normal
# from tensorflow.keras.layers.experimental import SyncBatchNormalization
# from tensorflow.keras.layers i... | 34.286504 | 160 | 0.578384 | 3,425 | 30,995 | 5.093139 | 0.055474 | 0.061396 | 0.032676 | 0.058473 | 0.999943 | 0.999943 | 0.998796 | 0.998223 | 0.998108 | 0.998108 | 0 | 0.030933 | 0.303275 | 30,995 | 904 | 161 | 34.286504 | 0.776846 | 0.675464 | 0 | 0.267857 | 0 | 0 | 0.009824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089286 | false | 0 | 0.071429 | 0 | 0.25 | 0.005952 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
36dd14a69a7decebcb31933677a8e05558570dcc | 68 | py | Python | code/vposer/__init__.py | yangyuan333/MvSMPLfitting | c6d92c0e50531c7b9480c57212b3e0e99249525f | [
"MIT"
] | null | null | null | code/vposer/__init__.py | yangyuan333/MvSMPLfitting | c6d92c0e50531c7b9480c57212b3e0e99249525f | [
"MIT"
] | null | null | null | code/vposer/__init__.py | yangyuan333/MvSMPLfitting | c6d92c0e50531c7b9480c57212b3e0e99249525f | [
"MIT"
] | null | null | null | from .vposer import VPoserEncoder
from .vposer import VPoserDecoder
| 22.666667 | 33 | 0.852941 | 8 | 68 | 7.25 | 0.625 | 0.344828 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7fdc78642cfcadb76a6969b8e67f49e6d572eaa4 | 4,767 | py | Python | argo/workflows/client/__init__.py | fvdnabee/argo-client-python-1 | 4264e063e31865c55418e0b242dd21ba6d19ed64 | [
"Apache-2.0"
] | null | null | null | argo/workflows/client/__init__.py | fvdnabee/argo-client-python-1 | 4264e063e31865c55418e0b242dd21ba6d19ed64 | [
"Apache-2.0"
] | null | null | null | argo/workflows/client/__init__.py | fvdnabee/argo-client-python-1 | 4264e063e31865c55418e0b242dd21ba6d19ed64 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
Argo
Python client for Argo Workflows # noqa: E501
OpenAPI spec version: 2.5.0-rc10
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# import apis into sdk package
from argo.workflows.client.api.v1... | 63.56 | 103 | 0.889868 | 568 | 4,767 | 7.285211 | 0.241197 | 0.169647 | 0.217738 | 0.294587 | 0.532383 | 0.530933 | 0.303528 | 0.08579 | 0 | 0 | 0 | 0.048639 | 0.059786 | 4,767 | 74 | 104 | 64.418919 | 0.87461 | 0.053912 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7fedd24a61b251c76bd335146b634b5931115dce | 316 | py | Python | energy_py/common/experiments/__init__.py | liudaizong/energy_py | 7b6a3f52d3ea067061e95b931a7b864d1247e123 | [
"MIT"
] | 1 | 2020-12-03T01:22:27.000Z | 2020-12-03T01:22:27.000Z | energy_py/common/experiments/__init__.py | liudaizong/energy_py | 7b6a3f52d3ea067061e95b931a7b864d1247e123 | [
"MIT"
] | null | null | null | energy_py/common/experiments/__init__.py | liudaizong/energy_py | 7b6a3f52d3ea067061e95b931a7b864d1247e123 | [
"MIT"
] | null | null | null | from energy_py.common.experiments.runner import Runner
from energy_py.common.experiments.save_env_info import save_env_info
from energy_py.common.experiments.utils import make_paths
from energy_py.common.experiments.experiment import experiment
from energy_py.common.experiments.experiment import run_config_expt
| 39.5 | 68 | 0.879747 | 47 | 316 | 5.659574 | 0.361702 | 0.18797 | 0.225564 | 0.338346 | 0.665414 | 0.338346 | 0.338346 | 0 | 0 | 0 | 0 | 0 | 0.072785 | 316 | 7 | 69 | 45.142857 | 0.90785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3d0e4d0427d2155d233cdf84d2872b8cf0add3a6 | 35 | py | Python | Bionic/core/Jsfile.py | TarunavBA/Bionic | 1b8981e9f4615db28a2a6800b5f1e0f0b83beed5 | [
"MIT"
] | 4 | 2021-11-11T09:47:57.000Z | 2021-11-11T14:38:50.000Z | Bionic/core/Jsfile.py | TarunavBA/Bionic | 1b8981e9f4615db28a2a6800b5f1e0f0b83beed5 | [
"MIT"
] | 2 | 2021-11-11T09:41:18.000Z | 2021-11-11T14:12:23.000Z | Bionic/core/Jsfile.py | TarunavBA/Bionic | 1b8981e9f4615db28a2a6800b5f1e0f0b83beed5 | [
"MIT"
] | 1 | 2021-11-11T14:02:00.000Z | 2021-11-11T14:02:00.000Z | def Jsfile(*data):
print(data)
| 11.666667 | 18 | 0.628571 | 5 | 35 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 2 | 19 | 17.5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3d0ed1c79e9c61c3f033c2a4f256921aa987ded4 | 4,016 | py | Python | src/pytorch_test/models/rnn.py | kschamplin/astro-classifier-neo | 44fcb8ba41ef549c16360df7fd470f56c42da9b3 | [
"MIT"
] | null | null | null | src/pytorch_test/models/rnn.py | kschamplin/astro-classifier-neo | 44fcb8ba41ef549c16360df7fd470f56c42da9b3 | [
"MIT"
] | null | null | null | src/pytorch_test/models/rnn.py | kschamplin/astro-classifier-neo | 44fcb8ba41ef549c16360df7fd470f56c42da9b3 | [
"MIT"
] | null | null | null | """Contains sample models for comparison and benchmarking,
as well as useful loss/optimization utilities"""
import pytorch_lightning as pl
import torch
import torch.nn as nn
import torch.nn.functional as F
from pytorch_test.plasticc.constants import class_weights_target_list
class DoubleLSTMNet(pl.LightningModule):
... | 37.185185 | 87 | 0.636205 | 563 | 4,016 | 4.349911 | 0.243339 | 0.03675 | 0.03675 | 0.0147 | 0.802777 | 0.77746 | 0.77746 | 0.77746 | 0.726419 | 0.726419 | 0 | 0.01866 | 0.252739 | 4,016 | 107 | 88 | 37.53271 | 0.797401 | 0.223108 | 0 | 0.652174 | 0 | 0 | 0.002615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15942 | false | 0 | 0.072464 | 0.028986 | 0.391304 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
18248603fc8104d9b84429007112beea05f30d13 | 66 | py | Python | PlanetExpress/tests.py | flexion/Planet-Express | 1a3fdc11e9f2c5e977375e60bf69b97b3449bf32 | [
"MIT"
] | null | null | null | PlanetExpress/tests.py | flexion/Planet-Express | 1a3fdc11e9f2c5e977375e60bf69b97b3449bf32 | [
"MIT"
] | null | null | null | PlanetExpress/tests.py | flexion/Planet-Express | 1a3fdc11e9f2c5e977375e60bf69b97b3449bf32 | [
"MIT"
] | null | null | null | import unittest
from Navigation.tests import *
unittest.main()
| 9.428571 | 30 | 0.772727 | 8 | 66 | 6.375 | 0.75 | 0.54902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 66 | 6 | 31 | 11 | 0.910714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
184eda8ed9afbee002387c0165e538b9c1cb259e | 28 | py | Python | PP4E/Examples/PP4E/System/Streams/hello-out.py | BeacherHou/Python-_Markdown- | 015d79a02d32f49395b80ca10919b3a09b72c4df | [
"MIT"
] | 1 | 2017-05-04T08:23:46.000Z | 2017-05-04T08:23:46.000Z | books/techno/python/programming_python_4_ed_m_lutz/code/chapter_3/13_redirectring_input_or_output_with_os_popen/hello-out.py | ordinary-developer/lin_education | 13d65b20cdbc3e5467b2383e5c09c73bbcdcb227 | [
"MIT"
] | null | null | null | books/techno/python/programming_python_4_ed_m_lutz/code/chapter_3/13_redirectring_input_or_output_with_os_popen/hello-out.py | ordinary-developer/lin_education | 13d65b20cdbc3e5467b2383e5c09c73bbcdcb227 | [
"MIT"
] | null | null | null | print('Hello shell world')
| 14 | 27 | 0.714286 | 4 | 28 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a11d02a3dc6b4d215fcc67ff6a9bfe47c6c29fef | 8,054 | py | Python | RFEM/LoadCasesAndCombinations/loadCase.py | DavidNaizheZhou/RFEM_Python_Client | a5f7790b67de3423907ce10c0aa513c0a1aca47b | [
"MIT"
] | 16 | 2021-10-13T21:00:11.000Z | 2022-03-21T11:12:09.000Z | RFEM/LoadCasesAndCombinations/loadCase.py | DavidNaizheZhou/RFEM_Python_Client | a5f7790b67de3423907ce10c0aa513c0a1aca47b | [
"MIT"
] | 49 | 2021-10-19T13:18:51.000Z | 2022-03-30T08:20:17.000Z | RFEM/LoadCasesAndCombinations/loadCase.py | DavidNaizheZhou/RFEM_Python_Client | a5f7790b67de3423907ce10c0aa513c0a1aca47b | [
"MIT"
] | 7 | 2021-10-13T06:06:24.000Z | 2022-03-29T17:48:39.000Z | from RFEM.initModel import Model, clearAtributes
from RFEM.enums import AnalysisType
DIN_Action_Category = {'1A': 'Permanent | G', '1B': 'Permanent - small fluctuations | G*', '1C': 'Permanent/Imposed | Gq', '2': 'Prestress | P',
'3A': 'Imposed loads - category A: domestic, residential areas | ... | 47.940476 | 183 | 0.571145 | 905 | 8,054 | 4.965746 | 0.196685 | 0.11571 | 0.071206 | 0.037383 | 0.890966 | 0.840231 | 0.840231 | 0.840231 | 0.828215 | 0.828215 | 0 | 0.02094 | 0.347778 | 8,054 | 167 | 184 | 48.227545 | 0.834571 | 0.333747 | 0 | 0.684932 | 0 | 0.054795 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027397 | false | 0 | 0.027397 | 0 | 0.068493 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a130bd02a76e18a15b762ede2a729f602f6e7cf1 | 41 | py | Python | gateflow/externals/appsflyer/__init__.py | MasiCal354/gateflow | 7a8ae2ff53f08b50727af7dc543054dac606f020 | [
"Apache-2.0"
] | 1 | 2021-01-06T11:29:04.000Z | 2021-01-06T11:29:04.000Z | gateflow/externals/appsflyer/__init__.py | MasiCal354/gateflow | 7a8ae2ff53f08b50727af7dc543054dac606f020 | [
"Apache-2.0"
] | null | null | null | gateflow/externals/appsflyer/__init__.py | MasiCal354/gateflow | 7a8ae2ff53f08b50727af7dc543054dac606f020 | [
"Apache-2.0"
] | null | null | null | from .auth import *
from .client import * | 20.5 | 21 | 0.731707 | 6 | 41 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 2 | 21 | 20.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a14f1ad26904aa4a74e76557cfc3de715298a8fe | 27 | py | Python | pmigrate/__init__.py | btubbs/pmigrate | 9348d10f471fc70aef38620abd52074014a16ce4 | [
"MIT"
] | null | null | null | pmigrate/__init__.py | btubbs/pmigrate | 9348d10f471fc70aef38620abd52074014a16ce4 | [
"MIT"
] | null | null | null | pmigrate/__init__.py | btubbs/pmigrate | 9348d10f471fc70aef38620abd52074014a16ce4 | [
"MIT"
] | null | null | null | from pmigrate.lib import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a1a7a1d3d6bd3ac32ba717f59f8c976eda5ba0b9 | 213 | py | Python | Utilities/AAFAnalyzer/python/windist.py | Phygon/aaf | faef720e031f501190481e1d1fc1870a7dc8f98b | [
"Linux-OpenIB"
] | null | null | null | Utilities/AAFAnalyzer/python/windist.py | Phygon/aaf | faef720e031f501190481e1d1fc1870a7dc8f98b | [
"Linux-OpenIB"
] | null | null | null | Utilities/AAFAnalyzer/python/windist.py | Phygon/aaf | faef720e031f501190481e1d1fc1870a7dc8f98b | [
"Linux-OpenIB"
] | null | null | null |
# Generate the analyzerhtml distribution as follows:
#
# /cygdrive/c/Python25/python ./windist.py py2exe
from distutils.core import setup
import py2exe
setup(console=['analyzerhtml_shortcut.py'])
| 21.3 | 55 | 0.737089 | 25 | 213 | 6.24 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022599 | 0.169014 | 213 | 9 | 56 | 23.666667 | 0.858757 | 0.483568 | 0 | 0 | 1 | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a1afc114ccc2c1534003ff9ec2f52721f538a168 | 49 | py | Python | enthought/pyface/action/group.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/pyface/action/group.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/pyface/action/group.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.action.group import *
| 16.333333 | 33 | 0.77551 | 7 | 49 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 2 | 34 | 24.5 | 0.904762 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a1df184dbda5dea76fa48aef8f257a782a393b20 | 7,168 | py | Python | tests/unit/test_invoke.py | melevittfl/chalice | 5a073c78a8ad083ff9aff25ccad57b79db29ba55 | [
"Apache-2.0"
] | 1 | 2019-04-14T20:16:47.000Z | 2019-04-14T20:16:47.000Z | tests/unit/test_invoke.py | melevittfl/chalice | 5a073c78a8ad083ff9aff25ccad57b79db29ba55 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_invoke.py | melevittfl/chalice | 5a073c78a8ad083ff9aff25ccad57b79db29ba55 | [
"Apache-2.0"
] | null | null | null | import json
import pytest
from chalice.awsclient import TypedAWSClient
from chalice.invoke import LambdaInvoker
from chalice.invoke import LambdaInvokeHandler
from chalice.invoke import LambdaResponseFormatter
from chalice.invoke import UnhandledLambdaError
class FakeUI(object):
def __init__(self):
self... | 35.137255 | 77 | 0.599888 | 663 | 7,168 | 6.31825 | 0.177979 | 0.083552 | 0.038195 | 0.064455 | 0.820005 | 0.786584 | 0.775841 | 0.737885 | 0.681308 | 0.681308 | 0 | 0.009043 | 0.290318 | 7,168 | 203 | 78 | 35.310345 | 0.814429 | 0.010184 | 0 | 0.727273 | 0 | 0 | 0.204033 | 0.035815 | 0 | 0 | 0 | 0 | 0.034091 | 1 | 0.073864 | false | 0 | 0.039773 | 0.005682 | 0.147727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1e40d137e58fad891ab3b47314e8adc1af48ce2 | 40 | py | Python | tests/server/__init__.py | cardforcoin/sockfilter | 431249e1351055e35e6411a695f9bab3bdaba0f6 | [
"MIT"
] | 1 | 2015-07-10T06:43:47.000Z | 2015-07-10T06:43:47.000Z | tests/server/__init__.py | thesis/sockfilter | 431249e1351055e35e6411a695f9bab3bdaba0f6 | [
"MIT"
] | 1 | 2015-03-19T18:56:51.000Z | 2015-03-19T19:00:51.000Z | tests/server/__init__.py | thesis/sockfilter | 431249e1351055e35e6411a695f9bab3bdaba0f6 | [
"MIT"
] | 2 | 2017-06-16T17:05:23.000Z | 2017-06-16T17:05:42.000Z | from .server import server, with_server
| 20 | 39 | 0.825 | 6 | 40 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
62b0d5449fb495643fa21fae01041c7e0f62a409 | 547 | py | Python | nsd1903/python01/day02/while2.py | MrWangwf/nsd2019 | 5e859b4b1926dc098d236be3720779c50d0a55fc | [
"Apache-2.0"
] | 1 | 2019-09-19T04:53:22.000Z | 2019-09-19T04:53:22.000Z | nsd1903/python01/day02/while2.py | MrWangwf/nsd2019 | 5e859b4b1926dc098d236be3720779c50d0a55fc | [
"Apache-2.0"
] | null | null | null | nsd1903/python01/day02/while2.py | MrWangwf/nsd2019 | 5e859b4b1926dc098d236be3720779c50d0a55fc | [
"Apache-2.0"
] | 1 | 2021-12-28T04:26:02.000Z | 2021-12-28T04:26:02.000Z | # 100以内的偶数之和
# result = 0
# counter = 0
#
# while counter < 100:
# counter += 1
#
# if counter % 2 == 1:
# continue
# else:
# result += counter
#######################################
# result = 0
# counter = 0
#
# while counter < 100:
# counter += 1
#
# if counter % 2 == 1:
# ... | 15.194444 | 44 | 0.440585 | 52 | 547 | 4.634615 | 0.269231 | 0.087137 | 0.174274 | 0.186722 | 0.780083 | 0.780083 | 0.780083 | 0.780083 | 0.780083 | 0.780083 | 0 | 0.079365 | 0.308958 | 547 | 35 | 45 | 15.628571 | 0.558201 | 0.539305 | 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 | 1 | 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 | 6 |
62d58ab2bfdd27b22aaa33c9e85b874facc054d8 | 157 | py | Python | base_experiements/__init__.py | FullPint/Malware-Visualization-and-Preprocessing-Methods-for-CNNs | 54d2914fe9fe97f678c6489a79313684f5210f61 | [
"MIT"
] | 1 | 2020-03-04T07:03:51.000Z | 2020-03-04T07:03:51.000Z | base_experiements/__init__.py | FullPint/Malware-Visualization-and-Preprocessing-Methods-for-CNNs | 54d2914fe9fe97f678c6489a79313684f5210f61 | [
"MIT"
] | null | null | null | base_experiements/__init__.py | FullPint/Malware-Visualization-and-Preprocessing-Methods-for-CNNs | 54d2914fe9fe97f678c6489a79313684f5210f61 | [
"MIT"
] | 1 | 2020-03-04T07:03:54.000Z | 2020-03-04T07:03:54.000Z | from .ExpVGG16 import ExpVGG16
from .insure_vgg_16 import InsureVggExp
from .malimg_vgg_16 import MalImgVGGExp
from .microsoft_vgg_16 import MicrosoftVggExp
| 31.4 | 45 | 0.872611 | 22 | 157 | 5.954545 | 0.5 | 0.114504 | 0.251908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070922 | 0.101911 | 157 | 4 | 46 | 39.25 | 0.858156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7ffe454589d334260c435b28d50d92789ce6223 | 247 | py | Python | serlo/utils.py | kulla/serlo-bot | cd373d14e179a7bb4845da3d1fc8aa4146cc4f8b | [
"Apache-2.0"
] | null | null | null | serlo/utils.py | kulla/serlo-bot | cd373d14e179a7bb4845da3d1fc8aa4146cc4f8b | [
"Apache-2.0"
] | null | null | null | serlo/utils.py | kulla/serlo-bot | cd373d14e179a7bb4845da3d1fc8aa4146cc4f8b | [
"Apache-2.0"
] | null | null | null | import urllib.parse
def get_domain(url):
return ".".join(get_domain_parts(url)[-2:])
def get_subdomain(url):
return ".".join(get_domain_parts(url)[:-2])
def get_domain_parts(url):
return urllib.parse.urlparse(url).netloc.split(".")
| 22.454545 | 55 | 0.700405 | 37 | 247 | 4.459459 | 0.405405 | 0.218182 | 0.254545 | 0.309091 | 0.448485 | 0.448485 | 0.448485 | 0.448485 | 0.448485 | 0.448485 | 0 | 0.009174 | 0.117409 | 247 | 10 | 56 | 24.7 | 0.747706 | 0 | 0 | 0 | 0 | 0 | 0.012146 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c5787167fde15302326b94889bfb8d06f4cdb9e8 | 1,063 | py | Python | 16/test/test_document_frequency_response_entity.py | apitore/apitore-sdk-python | c0814c5635ddd09e9a20fcb155b62122bee41d33 | [
"Apache-2.0"
] | 3 | 2018-08-21T06:14:33.000Z | 2019-10-18T23:05:50.000Z | 16/test/test_document_frequency_response_entity.py | apitore/apitore-sdk-python | c0814c5635ddd09e9a20fcb155b62122bee41d33 | [
"Apache-2.0"
] | null | null | null | 16/test/test_document_frequency_response_entity.py | apitore/apitore-sdk-python | c0814c5635ddd09e9a20fcb155b62122bee41d33 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Document frequency APIs
Document frequency of Wikipedia.<BR />[Endpoint] https://api.apitore.com/api/16 # noqa: E501
OpenAPI spec version: 0.0.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
im... | 25.926829 | 122 | 0.742239 | 111 | 1,063 | 6.900901 | 0.567568 | 0.088773 | 0.044386 | 0.070496 | 0.130548 | 0.130548 | 0.130548 | 0 | 0 | 0 | 0 | 0.017143 | 0.176858 | 1,063 | 40 | 123 | 26.575 | 0.858286 | 0.476011 | 0 | 0.214286 | 1 | 0 | 0.015534 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3d6e2bbdfed30cc1d09552a7b4a9689a9b66ce06 | 3,526 | py | Python | segmentation_models_pytorch/utils/metrics.py | markendo/segmentation_models.pytorch | 6daaa2f7e342bdf1b1e5771a6490552a2517046d | [
"MIT"
] | null | null | null | segmentation_models_pytorch/utils/metrics.py | markendo/segmentation_models.pytorch | 6daaa2f7e342bdf1b1e5771a6490552a2517046d | [
"MIT"
] | null | null | null | segmentation_models_pytorch/utils/metrics.py | markendo/segmentation_models.pytorch | 6daaa2f7e342bdf1b1e5771a6490552a2517046d | [
"MIT"
] | null | null | null | from . import base
from . import functional as F
from .base import Activation
class IoU(base.Metric):
__name__ = 'iou_score'
def __init__(self, eps=1e-7, threshold=0.5, activation=None,
thresholds=None, **kwargs):
super().__init__(**kwargs)
self.eps = eps
self.threshold... | 30.929825 | 105 | 0.615145 | 422 | 3,526 | 4.86019 | 0.116114 | 0.035105 | 0.023403 | 0.035105 | 0.825451 | 0.804973 | 0.790834 | 0.759629 | 0.759629 | 0.699659 | 0 | 0.007504 | 0.281906 | 3,526 | 113 | 106 | 31.20354 | 0.802528 | 0 | 0 | 0.673913 | 0 | 0 | 0.030346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0 | 0.032609 | 0 | 0.315217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3d712f2066744a9da939ef6347c199250c7bbc82 | 48,277 | py | Python | src/model.py | lqshanshuo/wsdm22_cup_xmrec | a29cb806f6f75b1b3ec7d49e979022f278c82e5d | [
"Apache-2.0"
] | null | null | null | src/model.py | lqshanshuo/wsdm22_cup_xmrec | a29cb806f6f75b1b3ec7d49e979022f278c82e5d | [
"Apache-2.0"
] | null | null | null | src/model.py | lqshanshuo/wsdm22_cup_xmrec | a29cb806f6f75b1b3ec7d49e979022f278c82e5d | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
import pickle
from utils import *
from collections import OrderedDict
import pdb
class Model(object):
def __init__(self, args, my_id_bank):
self.args = args
self.my_id_bank = my_id_bank
self.model = self.prepare_model(args.model_name)
def prepare_mod... | 57.336105 | 201 | 0.610436 | 6,666 | 48,277 | 4.175668 | 0.046655 | 0.052703 | 0.047279 | 0.035567 | 0.852488 | 0.837974 | 0.809484 | 0.799389 | 0.790192 | 0.778911 | 0 | 0.019774 | 0.241606 | 48,277 | 841 | 202 | 57.404281 | 0.740475 | 0.302836 | 0 | 0.523979 | 0 | 0.003552 | 0.081481 | 0.005128 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047957 | false | 0.005329 | 0.010657 | 0.003552 | 0.120782 | 0.035524 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3d8c61dd5582e6620f4b008fc84baee794056876 | 33 | py | Python | orsim/messenger/__init__.py | IORA-NUS/orsim | 464aab088e10f2430eb56e92837fd65c298c385a | [
"MIT"
] | 2 | 2018-09-22T19:29:28.000Z | 2018-09-25T13:39:45.000Z | orsim/messenger/__init__.py | IORA-NUS/orsim | 464aab088e10f2430eb56e92837fd65c298c385a | [
"MIT"
] | null | null | null | orsim/messenger/__init__.py | IORA-NUS/orsim | 464aab088e10f2430eb56e92837fd65c298c385a | [
"MIT"
] | null | null | null | from .messenger import Messenger
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3da74c15b1cd24724fafb17448656b58ccf20c41 | 3,023 | py | Python | rdmo/views/tests/test_views.py | Raspeanut/rdmo | 9f785010a499c372a2f8368ccf76d2ea4150adcb | [
"Apache-2.0"
] | null | null | null | rdmo/views/tests/test_views.py | Raspeanut/rdmo | 9f785010a499c372a2f8368ccf76d2ea4150adcb | [
"Apache-2.0"
] | null | null | null | rdmo/views/tests/test_views.py | Raspeanut/rdmo | 9f785010a499c372a2f8368ccf76d2ea4150adcb | [
"Apache-2.0"
] | null | null | null | import os
import pytest
from django.urls import reverse
users = (
('editor', 'editor'),
('reviewer', 'reviewer'),
('user', 'user'),
('api', 'api'),
('anonymous', None),
)
status_map = {
'views': {
'editor': 200, 'reviewer': 200, 'api': 200, 'user': 403, 'anonymous': 302
},
'vi... | 33.966292 | 81 | 0.683427 | 372 | 3,023 | 5.397849 | 0.169355 | 0.143426 | 0.048805 | 0.086653 | 0.791335 | 0.791335 | 0.773406 | 0.748506 | 0.748506 | 0.692729 | 0 | 0.024209 | 0.152828 | 3,023 | 88 | 82 | 34.352273 | 0.759859 | 0 | 0 | 0.424242 | 0 | 0 | 0.188554 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.090909 | false | 0.272727 | 0.257576 | 0 | 0.348485 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3db9e97b21d85b780b505ce2f6dbc40b03ecb296 | 110 | py | Python | osu-backup-all.py | pavlukivan/python-utility-scripts | 55beb55b8f8354996feab781e15969f65017ad50 | [
"WTFPL"
] | null | null | null | osu-backup-all.py | pavlukivan/python-utility-scripts | 55beb55b8f8354996feab781e15969f65017ad50 | [
"WTFPL"
] | null | null | null | osu-backup-all.py | pavlukivan/python-utility-scripts | 55beb55b8f8354996feab781e15969f65017ad50 | [
"WTFPL"
] | null | null | null | #!/usr/bin/python3
exec(open("./osu-score-backup.py").read())
exec(open("./osu-collections-backup.py").read()) | 36.666667 | 48 | 0.681818 | 17 | 110 | 4.411765 | 0.647059 | 0.213333 | 0.293333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.018182 | 110 | 3 | 48 | 36.666667 | 0.685185 | 0.154545 | 0 | 0 | 0 | 0 | 0.516129 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9a889e85977f741e7042e9b61527bee91614891c | 919 | py | Python | hackerrank/3. strings/11.py | Eurydia/Xian-assignment | 4a7e4bcd3d4999ea7429054fec1792064c96ff30 | [
"MIT"
] | null | null | null | hackerrank/3. strings/11.py | Eurydia/Xian-assignment | 4a7e4bcd3d4999ea7429054fec1792064c96ff30 | [
"MIT"
] | null | null | null | hackerrank/3. strings/11.py | Eurydia/Xian-assignment | 4a7e4bcd3d4999ea7429054fec1792064c96ff30 | [
"MIT"
] | null | null | null | def print_rangoli(size):
row = (2*size)-1
col = (row * 2) - 1
charater = size + 96
#ascending
for i in range(1, (row//2)+1):
in_row = []
for x in range(i):
in_row.append(chr(charater-x))
for x in reversed(range(i-1)):
in_row.append(chr(charater-x... | 27.029412 | 50 | 0.524483 | 138 | 919 | 3.333333 | 0.195652 | 0.130435 | 0.078261 | 0.182609 | 0.741304 | 0.741304 | 0.706522 | 0.706522 | 0.706522 | 0.706522 | 0 | 0.022971 | 0.289445 | 919 | 33 | 51 | 27.848485 | 0.68147 | 0.009793 | 0 | 0.592593 | 0 | 0 | 0.015402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0 | 0 | 0.037037 | 0.185185 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 6 |
9aa79e9df2fd1e28fffca1771247a334d3dfa5e1 | 184 | py | Python | algotrade/event_engine/__init__.py | ZhizhongPan/algo_trade | 5fffa50205c0fb0dd6866872798b3844404c94bb | [
"Apache-2.0"
] | null | null | null | algotrade/event_engine/__init__.py | ZhizhongPan/algo_trade | 5fffa50205c0fb0dd6866872798b3844404c94bb | [
"Apache-2.0"
] | null | null | null | algotrade/event_engine/__init__.py | ZhizhongPan/algo_trade | 5fffa50205c0fb0dd6866872798b3844404c94bb | [
"Apache-2.0"
] | 1 | 2020-06-19T12:10:56.000Z | 2020-06-19T12:10:56.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'phil.zhang'
from event_engine import EventEngine
from event_engine import Event
from event_engine import EventEngineMixin
| 20.444444 | 41 | 0.771739 | 25 | 184 | 5.4 | 0.64 | 0.2 | 0.333333 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00625 | 0.130435 | 184 | 8 | 42 | 23 | 0.8375 | 0.228261 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9af949aac52775000544795987e81be5d69ee459 | 48 | py | Python | module/codegen/__init__.py | vishalbelsare/osqp-python | 5445af200fc0f35ce0a2e6b866c009c5f5945e65 | [
"Apache-2.0"
] | 58 | 2018-03-30T15:54:11.000Z | 2021-05-22T04:35:27.000Z | module/codegen/__init__.py | vishalbelsare/osqp-python | 5445af200fc0f35ce0a2e6b866c009c5f5945e65 | [
"Apache-2.0"
] | 41 | 2018-05-02T01:45:21.000Z | 2021-05-28T16:30:59.000Z | module/codegen/__init__.py | vishalbelsare/osqp-python | 5445af200fc0f35ce0a2e6b866c009c5f5945e65 | [
"Apache-2.0"
] | 17 | 2018-05-01T23:42:34.000Z | 2021-06-01T18:27:37.000Z | from osqp.codegen.code_generator import codegen
| 24 | 47 | 0.875 | 7 | 48 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b10996dd939ab8a8209c3da4b50c91b6926644b6 | 6,802 | py | Python | corehq/apps/api/odata/tests/test_feed.py | rochakchauhan/commcare-hq | aa7ab3c2d0c51fe10f2b51b08101bb4b5a376236 | [
"BSD-3-Clause"
] | null | null | null | corehq/apps/api/odata/tests/test_feed.py | rochakchauhan/commcare-hq | aa7ab3c2d0c51fe10f2b51b08101bb4b5a376236 | [
"BSD-3-Clause"
] | null | null | null | corehq/apps/api/odata/tests/test_feed.py | rochakchauhan/commcare-hq | aa7ab3c2d0c51fe10f2b51b08101bb4b5a376236 | [
"BSD-3-Clause"
] | null | null | null | import json
from django.test import TestCase
from django.urls import reverse
from corehq.apps.api.odata.tests.utils import (
OdataTestMixin,
ensure_es_case_index_deleted,
ensure_es_form_index_deleted,
setup_es_case_index,
setup_es_form_index,
)
from corehq.apps.api.resources.v0_5 import ODataCaseR... | 35.243523 | 118 | 0.660541 | 745 | 6,802 | 5.632215 | 0.159732 | 0.045758 | 0.062917 | 0.040038 | 0.851764 | 0.835081 | 0.835081 | 0.820782 | 0.722116 | 0.722116 | 0 | 0.008565 | 0.244781 | 6,802 | 192 | 119 | 35.427083 | 0.808254 | 0 | 0 | 0.638554 | 0 | 0.012048 | 0.090856 | 0 | 0 | 0 | 0 | 0 | 0.072289 | 1 | 0.096386 | false | 0 | 0.048193 | 0.036145 | 0.192771 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b1190b4f7ca85abe81d58d1e52a9d13777563444 | 26,865 | py | Python | pytone/kintone.py | zenk-github/P | 11a5304bb5e2e02f7eb9b5ecc8f9ea649558b488 | [
"MIT"
] | 3 | 2021-04-30T03:10:17.000Z | 2021-09-16T08:52:02.000Z | pytone/kintone.py | zenk-github/P | 11a5304bb5e2e02f7eb9b5ecc8f9ea649558b488 | [
"MIT"
] | 1 | 2021-04-30T04:51:18.000Z | 2021-06-10T12:40:49.000Z | pytone/kintone.py | zenk-github/P | 11a5304bb5e2e02f7eb9b5ecc8f9ea649558b488 | [
"MIT"
] | null | null | null | import json
import sys
import requests
class Kintone:
def __init__(self,authText,domain,app):
self.authText = authText
self.rootURL = 'https://{}.cybozu.com/k/v1/'.format(domain)
self.app = app
self.headers = {
'X-Cybozu-Authorization': self.authText,
... | 36.80137 | 133 | 0.422892 | 2,312 | 26,865 | 4.804931 | 0.07699 | 0.035107 | 0.013773 | 0.021604 | 0.793501 | 0.777838 | 0.73733 | 0.731479 | 0.723738 | 0.702854 | 0 | 0.003336 | 0.475563 | 26,865 | 729 | 134 | 36.851852 | 0.785152 | 0.083417 | 0 | 0.75 | 0 | 0 | 0.090685 | 0.000917 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02518 | false | 0 | 0.005396 | 0 | 0.061151 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b1419c08c168abb80ed56b280b6d5dde9432a385 | 85 | py | Python | github_cli.py | marcofavorito/github-cli | 5d8f280aa48dcff1cba4d5cae9ccecf09ad54ac0 | [
"MIT"
] | 1 | 2017-12-07T16:16:51.000Z | 2017-12-07T16:16:51.000Z | github_cli.py | marcofavorito/github-cli | 5d8f280aa48dcff1cba4d5cae9ccecf09ad54ac0 | [
"MIT"
] | null | null | null | github_cli.py | marcofavorito/github-cli | 5d8f280aa48dcff1cba4d5cae9ccecf09ad54ac0 | [
"MIT"
] | 1 | 2017-12-07T14:33:20.000Z | 2017-12-07T14:33:20.000Z | import github_cli.__main__
if __name__ == '__main__':
github_cli.__main__.main() | 21.25 | 30 | 0.752941 | 11 | 85 | 4.181818 | 0.545455 | 0.391304 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 85 | 4 | 30 | 21.25 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b148679d873ede874afdcd77b958bfaecf3f58d5 | 39 | py | Python | pyconsole/exceptions/reserved_argument.py | Deployeur/PyConsole | e97cb7baf0da23826ad31cf99f28ae2e6a21d73e | [
"MIT"
] | 1 | 2018-10-04T12:11:46.000Z | 2018-10-04T12:11:46.000Z | pyconsole/exceptions/reserved_argument.py | GentianSadiku/PyConsole | e97cb7baf0da23826ad31cf99f28ae2e6a21d73e | [
"MIT"
] | null | null | null | pyconsole/exceptions/reserved_argument.py | GentianSadiku/PyConsole | e97cb7baf0da23826ad31cf99f28ae2e6a21d73e | [
"MIT"
] | null | null | null | class ReservedArgument(Exception): pass | 39 | 39 | 0.871795 | 4 | 39 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 39 | 1 | 39 | 39 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
b1623b8e7221e711f12b88b8e1837ae784aa8e11 | 2,284 | py | Python | migrations/versions/3003649af016_.py | CESNET/exafs | 7febcc1e4406601a78dfe4a6a972570dc86969ad | [
"MIT"
] | 6 | 2018-06-19T07:00:05.000Z | 2022-01-20T08:29:24.000Z | migrations/versions/3003649af016_.py | CESNET/exafs | 7febcc1e4406601a78dfe4a6a972570dc86969ad | [
"MIT"
] | 1 | 2019-03-27T13:29:26.000Z | 2019-06-25T06:44:24.000Z | migrations/versions/3003649af016_.py | CESNET/exafs | 7febcc1e4406601a78dfe4a6a972570dc86969ad | [
"MIT"
] | 1 | 2021-02-09T09:54:18.000Z | 2021-02-09T09:54:18.000Z | """empty message
Revision ID: 3003649af016
Revises: 701711e8c4f4
Create Date: 2019-08-26 08:43:04.219577
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql
# revision identifiers, used by Alembic.
revision = '3003649af016'
down_revision = '701711e8c4f4'
branch_labels = None
depe... | 38.711864 | 85 | 0.64317 | 261 | 2,284 | 5.43295 | 0.249042 | 0.039492 | 0.073343 | 0.124118 | 0.801128 | 0.77433 | 0.748942 | 0.703808 | 0.703808 | 0.703808 | 0 | 0.068926 | 0.237741 | 2,284 | 58 | 86 | 39.37931 | 0.745549 | 0.129159 | 0 | 0.682927 | 0 | 0 | 0.140369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.073171 | 0 | 0.121951 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b188ee353d8ea4e3140c62419900334a5a9a7606 | 34 | py | Python | datasets/__init__.py | toandaominh1997/GlobalWheatDetection | 4c012c03a0bd63d6ca880456f7927c99bc742011 | [
"MIT"
] | 2 | 2020-07-04T08:28:28.000Z | 2020-07-06T09:05:00.000Z | datasets/__init__.py | toandaominh1997/GlobalWheatDetection | 4c012c03a0bd63d6ca880456f7927c99bc742011 | [
"MIT"
] | null | null | null | datasets/__init__.py | toandaominh1997/GlobalWheatDetection | 4c012c03a0bd63d6ca880456f7927c99bc742011 | [
"MIT"
] | 1 | 2020-07-06T07:14:18.000Z | 2020-07-06T07:14:18.000Z | from .dataset import WheetDataset
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
498957f2c520b987840a6ce7e1fa15ef3956b6df | 376 | py | Python | bitmovin_api_sdk/encoding/encodings/muxings/webm/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/encodings/muxings/webm/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/encodings/muxings/webm/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.encodings.muxings.webm.webm_api import WebmApi
from bitmovin_api_sdk.encoding.encodings.muxings.webm.customdata.customdata_api import CustomdataApi
from bitmovin_api_sdk.encoding.encodings.muxings.webm.drm.drm_api import DrmApi
from bitmovin_api_sdk.encoding.encodings.muxings.webm.webm_mu... | 75.2 | 116 | 0.898936 | 53 | 376 | 6.09434 | 0.358491 | 0.148607 | 0.185759 | 0.22291 | 0.594427 | 0.594427 | 0.594427 | 0.594427 | 0.309598 | 0 | 0 | 0 | 0.042553 | 376 | 4 | 117 | 94 | 0.897222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
498ddf402e6a0a71b9418506e4d01b1852d559cf | 264 | py | Python | ocrd_olahd_client/cli.py | OCR-D/ocrd_olahd_client | 9809d0c1d7008deb55ba4210ae373ec264b68701 | [
"Apache-2.0"
] | 1 | 2022-01-26T10:05:36.000Z | 2022-01-26T10:05:36.000Z | ocrd_olahd_client/cli.py | OCR-D/ocrd_olahd_client | 9809d0c1d7008deb55ba4210ae373ec264b68701 | [
"Apache-2.0"
] | 1 | 2020-09-21T16:36:42.000Z | 2020-09-21T16:36:42.000Z | ocrd_olahd_client/cli.py | OCR-D/ocrd_olahd_client | 9809d0c1d7008deb55ba4210ae373ec264b68701 | [
"Apache-2.0"
] | 1 | 2020-10-08T08:30:17.000Z | 2020-10-08T08:30:17.000Z | import click
from ocrd.decorators import ocrd_cli_options, ocrd_cli_wrap_processor
from .processor import OlaHdClientProcessor
@click.command()
@ocrd_cli_options
def cli(*args, **kwargs):
return ocrd_cli_wrap_processor(OlaHdClientProcessor, *args, **kwargs)
| 26.4 | 73 | 0.818182 | 34 | 264 | 6.058824 | 0.441176 | 0.135922 | 0.135922 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 264 | 9 | 74 | 29.333333 | 0.865546 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0.142857 | 0.714286 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 6 |
771350d3748be96d52064c85139491d3a2528341 | 80 | py | Python | deep_da/model/__init__.py | asahi417/DeepDomainAdaptation | e8e384d0aea2825a879c8f981bfc9f177b59b1b6 | [
"MIT"
] | 22 | 2019-01-31T16:36:44.000Z | 2021-08-24T11:09:04.000Z | deep_da/model/__init__.py | asahi417/DeepDomainAdaptation | e8e384d0aea2825a879c8f981bfc9f177b59b1b6 | [
"MIT"
] | null | null | null | deep_da/model/__init__.py | asahi417/DeepDomainAdaptation | e8e384d0aea2825a879c8f981bfc9f177b59b1b6 | [
"MIT"
] | 8 | 2019-02-10T03:52:25.000Z | 2021-02-11T22:44:54.000Z | from .dann import DANN
from .deep_jdot import DeepJDOT
# from .jdot import JDOT
| 20 | 31 | 0.7875 | 13 | 80 | 4.769231 | 0.461538 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1625 | 80 | 3 | 32 | 26.666667 | 0.925373 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
775ebec6f70c6f18500269878a099288779b559a | 175 | py | Python | blog/blog/context_variable.py | bomba1990/Arquetitek | 569f3f57e81a3797832170772dc9633fc24dea65 | [
"MIT"
] | null | null | null | blog/blog/context_variable.py | bomba1990/Arquetitek | 569f3f57e81a3797832170772dc9633fc24dea65 | [
"MIT"
] | 12 | 2019-02-11T09:20:31.000Z | 2019-06-14T15:02:36.000Z | blog/blog/context_variable.py | bomba1990/Arquetitek | 569f3f57e81a3797832170772dc9633fc24dea65 | [
"MIT"
] | null | null | null | from .models import Post, Portfolio
def content_portfolio(request):
return {'context_portfolio': Portfolio.objects.all()[:4], 'context_post': Post.objects.all()[:4]}
| 19.444444 | 101 | 0.72 | 22 | 175 | 5.590909 | 0.590909 | 0.162602 | 0.178862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.12 | 175 | 8 | 102 | 21.875 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.168605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
775ffa9b0c215e730a64349f3daa8e7eb859eab4 | 61 | py | Python | project_name/models.py | dthorell/django-microservice | db66efbe240a465682989c729ea38b890ee614f3 | [
"MIT"
] | null | null | null | project_name/models.py | dthorell/django-microservice | db66efbe240a465682989c729ea38b890ee614f3 | [
"MIT"
] | 2 | 2021-06-09T17:46:04.000Z | 2021-06-10T18:45:20.000Z | project_name/models.py | dthorell/django-microservice | db66efbe240a465682989c729ea38b890ee614f3 | [
"MIT"
] | null | null | null | from django.db import models
# TODO: write here your models
| 15.25 | 30 | 0.770492 | 10 | 61 | 4.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 61 | 3 | 31 | 20.333333 | 0.94 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6212dd5cee68eca06dcaa778dd532f68c865181e | 60 | py | Python | supercls/supercls.py | scidroid/supercls | 7dcacf14f4048197ccaf8067bb2747e4be55c293 | [
"MIT"
] | 5 | 2020-08-15T18:03:25.000Z | 2021-11-12T12:23:21.000Z | supercls/supercls.py | scidroid/supercls | 7dcacf14f4048197ccaf8067bb2747e4be55c293 | [
"MIT"
] | 4 | 2020-11-17T23:57:33.000Z | 2021-08-24T19:39:00.000Z | supercls/supercls.py | scidroid/supercls | 7dcacf14f4048197ccaf8067bb2747e4be55c293 | [
"MIT"
] | 4 | 2020-08-16T22:48:24.000Z | 2021-08-24T17:09:34.000Z | def cls():
print("\033[%d;%dH\033[2J" % (0, 0), end="") | 30 | 48 | 0.45 | 11 | 60 | 2.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 0.183333 | 60 | 2 | 48 | 30 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6245203b4244fefe6314819471c41920e0f39717 | 24,948 | py | Python | oppy/tests/unit/circuit/test_circuitbuildtask.py | nskinkel/oppy | 68c84146da5d7d994fd55ead5df747c93c95a2f5 | [
"BSD-3-Clause"
] | 25 | 2015-01-08T04:37:40.000Z | 2021-07-21T15:06:35.000Z | oppy/tests/unit/circuit/test_circuitbuildtask.py | nskinkel/oppy | 68c84146da5d7d994fd55ead5df747c93c95a2f5 | [
"BSD-3-Clause"
] | 72 | 2015-01-08T04:38:13.000Z | 2017-06-18T14:35:50.000Z | oppy/tests/unit/circuit/test_circuitbuildtask.py | nskinkel/oppy | 68c84146da5d7d994fd55ead5df747c93c95a2f5 | [
"BSD-3-Clause"
] | 4 | 2015-01-20T22:17:45.000Z | 2018-05-23T09:15:04.000Z | import mock
from twisted.internet import defer
from twisted.trial import unittest
from oppy.circuit.circuitbuildtask import CircuitBuildTask
from oppy.circuit.definitions import CircuitType
from oppy.cell.fixedlen import Created2Cell, DestroyCell
from oppy.cell.relay import RelayExtended2Cell
from oppy.path.path impo... | 40.109325 | 105 | 0.674844 | 2,803 | 24,948 | 5.792009 | 0.066001 | 0.159901 | 0.054697 | 0.081922 | 0.834124 | 0.783123 | 0.754974 | 0.718263 | 0.705882 | 0.663258 | 0 | 0.008427 | 0.215208 | 24,948 | 621 | 106 | 40.173913 | 0.820777 | 0.007135 | 0 | 0.69 | 0 | 0 | 0.078458 | 0.062063 | 0 | 0 | 0 | 0.00161 | 0.132 | 1 | 0.076 | false | 0 | 0.018 | 0 | 0.096 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
65533afa97a5ef31167ef9a020da5047a0e6831c | 8,484 | py | Python | tests/unit/amlb/job/test_MultiThreadingJobRunner.py | Ennosigaeon/automlbenchmark | bd3e529d641b64300a075d59408203d537311b7e | [
"MIT"
] | 282 | 2018-09-19T09:45:46.000Z | 2022-03-30T04:05:51.000Z | tests/unit/amlb/job/test_MultiThreadingJobRunner.py | Ennosigaeon/automlbenchmark | bd3e529d641b64300a075d59408203d537311b7e | [
"MIT"
] | 267 | 2018-11-02T11:43:11.000Z | 2022-03-31T08:58:16.000Z | tests/unit/amlb/job/test_MultiThreadingJobRunner.py | Ennosigaeon/automlbenchmark | bd3e529d641b64300a075d59408203d537311b7e | [
"MIT"
] | 104 | 2018-10-17T19:32:36.000Z | 2022-03-19T22:47:59.000Z | import functools as ft
import random
from unittest.mock import patch, DEFAULT
import pytest
from amlb.job import MultiThreadingJobRunner
from amlb.utils import Timeout
from dummy import DummyJob
steps_per_job = 6
@pytest.mark.slow
def test_run_multiple_jobs():
seq_steps = []
n_jobs = 10
jobs = [DummyJ... | 42 | 121 | 0.673267 | 1,210 | 8,484 | 4.498347 | 0.108264 | 0.120889 | 0.064487 | 0.094249 | 0.81242 | 0.80011 | 0.776778 | 0.764468 | 0.729561 | 0.721845 | 0 | 0.013416 | 0.200495 | 8,484 | 201 | 122 | 42.208955 | 0.789031 | 0.020745 | 0 | 0.619355 | 0 | 0 | 0.059858 | 0 | 0 | 0 | 0 | 0 | 0.296774 | 1 | 0.058065 | false | 0 | 0.045161 | 0 | 0.122581 | 0.032258 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
655631ced57537013d61f77bf1cb19d880e23747 | 21 | py | Python | example_project/some_modules/third_modules/a173.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a173.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a173.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | class A173:
pass
| 7 | 11 | 0.619048 | 3 | 21 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
657d036c650be8ecfd7a5b7cbd961f5ec42b4aab | 289 | py | Python | package/pikaRTDevice/pikaRTDevice.py | ccccmagicboy2022/pikascript | 154ccd8e90e0d50e1551536d32bd2a3648e194d2 | [
"MIT"
] | 228 | 2021-09-11T06:09:43.000Z | 2022-03-30T08:09:01.000Z | package/pikaRTDevice/pikaRTDevice.py | ccccmagicboy2022/pikascript | 154ccd8e90e0d50e1551536d32bd2a3648e194d2 | [
"MIT"
] | 48 | 2021-09-25T01:23:43.000Z | 2022-03-31T07:34:43.000Z | package/pikaRTDevice/pikaRTDevice.py | ccccmagicboy2022/pikascript | 154ccd8e90e0d50e1551536d32bd2a3648e194d2 | [
"MIT"
] | 31 | 2021-09-17T12:06:45.000Z | 2022-03-19T16:10:11.000Z | import PikaStdDevice
class GPIO(PikaStdDevice.GPIO):
def platformHigh():
pass
def platformLow():
pass
def platformEnable():
pass
def platformDisable():
pass
def platformSetMode():
pass
def platformRead():
pass
| 13.136364 | 31 | 0.574394 | 24 | 289 | 6.916667 | 0.5 | 0.210843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.349481 | 289 | 21 | 32 | 13.761905 | 0.882979 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0.428571 | 0.071429 | 0 | 0.571429 | 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 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
65a390b28ed085f4f3530b967cf9161fc3b9727b | 2,091 | py | Python | memory_orig/area_part.py | tjddus0403/osscap2020 | 642691e8e30bbf14ec6acd177da1ad58456c3a4c | [
"Apache-2.0"
] | 1 | 2020-10-07T12:49:33.000Z | 2020-10-07T12:49:33.000Z | memory_orig/area_part.py | tjddus0403/osscap2020 | 642691e8e30bbf14ec6acd177da1ad58456c3a4c | [
"Apache-2.0"
] | 9 | 2020-10-09T08:58:09.000Z | 2020-11-30T12:21:14.000Z | memory_orig/area_part.py | tjddus0403/osscap2020 | 642691e8e30bbf14ec6acd177da1ad58456c3a4c | [
"Apache-2.0"
] | 3 | 2020-10-07T12:49:35.000Z | 2020-10-11T12:53:39.000Z | arrayScreen=[
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
[1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1],
[1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1],
[1,1,0,0,0,0,0,0,0,0,0,... | 33.725806 | 69 | 0.504543 | 692 | 2,091 | 1.526012 | 0.065029 | 0.613636 | 0.886364 | 1.136364 | 0.682765 | 0.637311 | 0.598485 | 0.598485 | 0.598485 | 0.598485 | 0 | 0.320448 | 0.146341 | 2,091 | 61 | 70 | 34.278689 | 0.270028 | 0.02726 | 0 | 0.5 | 0 | 0 | 0.001478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.053571 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
65a4a878782868f529347a133c783f2abc0e9202 | 11,771 | py | Python | ceph_installer/tests/controllers/test_mon.py | ceph/ceph-installer | 79988577176d6ea628d6c4f50ed3f55831012a34 | [
"MIT"
] | 16 | 2016-02-26T01:06:13.000Z | 2020-03-04T02:04:35.000Z | ceph_installer/tests/controllers/test_mon.py | ceph/ceph-installer | 79988577176d6ea628d6c4f50ed3f55831012a34 | [
"MIT"
] | 73 | 2016-02-11T14:56:25.000Z | 2021-11-25T02:09:04.000Z | ceph_installer/tests/controllers/test_mon.py | ceph/mariner-installer | 79988577176d6ea628d6c4f50ed3f55831012a34 | [
"MIT"
] | 7 | 2016-02-12T17:49:02.000Z | 2021-01-27T10:49:14.000Z | from ceph_installer.controllers import mon
class TestMonController(object):
def setup(self):
self.configure_data = dict(
monitor_secret="secret",
public_network="0.0.0.0/24",
host="node1",
interface="eth0",
fsid="1720107309134",
)
d... | 44.418868 | 90 | 0.630278 | 1,364 | 11,771 | 5.256598 | 0.099707 | 0.025941 | 0.050767 | 0.065272 | 0.88675 | 0.859135 | 0.855649 | 0.840586 | 0.820642 | 0.808787 | 0 | 0.019244 | 0.245094 | 11,771 | 264 | 91 | 44.587121 | 0.787643 | 0.005437 | 0 | 0.632743 | 0 | 0 | 0.159248 | 0.007689 | 0 | 0 | 0 | 0 | 0.185841 | 1 | 0.137168 | false | 0 | 0.004425 | 0 | 0.154867 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
65b770d43adde479a600bf4de0b2a04fd41118d9 | 162 | py | Python | msdm/core/assignment/__init__.py | markkho/msdm | f2e07cdf1a16f7a0564a4822caed89a758e14bf1 | [
"MIT"
] | 15 | 2020-09-09T14:08:10.000Z | 2022-02-24T14:19:39.000Z | msdm/core/assignment/__init__.py | markkho/msdm | f2e07cdf1a16f7a0564a4822caed89a758e14bf1 | [
"MIT"
] | 28 | 2020-09-13T22:12:03.000Z | 2022-02-20T18:42:56.000Z | msdm/core/assignment/__init__.py | markkho/msdm | f2e07cdf1a16f7a0564a4822caed89a758e14bf1 | [
"MIT"
] | 3 | 2021-07-21T15:05:01.000Z | 2022-02-07T04:01:55.000Z | from msdm.core.assignment.assignmentmap import \
AssignmentMap, \
DefaultAssignmentMap
from msdm.core.assignment.assignmentset import \
AssignmentSet
| 27 | 48 | 0.790123 | 15 | 162 | 8.533333 | 0.533333 | 0.125 | 0.1875 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 162 | 5 | 49 | 32.4 | 0.927536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
65c81bde08f66b38beb0b49056aee690b227fb81 | 2,992 | py | Python | vmsareus/taskapp/nametest.py | greendavegreen/vmsareus | 7cf56c97dcb08332ee89b7d0e7e161dec462bac0 | [
"MIT"
] | null | null | null | vmsareus/taskapp/nametest.py | greendavegreen/vmsareus | 7cf56c97dcb08332ee89b7d0e7e161dec462bac0 | [
"MIT"
] | null | null | null | vmsareus/taskapp/nametest.py | greendavegreen/vmsareus | 7cf56c97dcb08332ee89b7d0e7e161dec462bac0 | [
"MIT"
] | null | null | null | import unittest
from ..taskapp.vmware_tools import make_travelling_drive_url, make_dev_vm_drive_url
# offer some examples of calls to the URL generator and the type of output they will produce
class TravellingDriveTest(unittest.TestCase):
def test_exact_branch(self):
self.assertEqual(make_travelling_dri... | 57.538462 | 180 | 0.488636 | 238 | 2,992 | 5.907563 | 0.273109 | 0.068279 | 0.108108 | 0.119488 | 0.836415 | 0.810811 | 0.780228 | 0.719061 | 0.719061 | 0.719061 | 0 | 0.025716 | 0.428142 | 2,992 | 51 | 181 | 58.666667 | 0.796026 | 0.03008 | 0 | 0.589744 | 0 | 0.102564 | 0.363448 | 0.085172 | 0 | 0 | 0 | 0 | 0.102564 | 1 | 0.102564 | false | 0 | 0.051282 | 0 | 0.205128 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02fd46d588dbd75cba8f741e32eced65994f2197 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/distutils/fcompiler/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/distutils/fcompiler/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/distutils/fcompiler/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/9b/a8/9b/7cdb9c916e9c987ce92e08bb489f272c0cae386e6457c230b636cdc815 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b214628b8b7f192535e9e323b5476b7a8cf3ca89 | 20,433 | py | Python | supplemental/Colocate_MODIS.py | tommibergman/gmdd-tm5-soa | 20168c86caeb14aed72af72b14c3b8185700ddd8 | [
"MIT"
] | null | null | null | supplemental/Colocate_MODIS.py | tommibergman/gmdd-tm5-soa | 20168c86caeb14aed72af72b14c3b8185700ddd8 | [
"MIT"
] | null | null | null | supplemental/Colocate_MODIS.py | tommibergman/gmdd-tm5-soa | 20168c86caeb14aed72af72b14c3b8185700ddd8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue May 10 10:47:43 2016
@author: bergmant
"""
import glob
import subprocess
import os
def collocate_MODIS(TM5_input='TM5-AP3-data/full/TM5_daily_subset_new/',TM5_data='aerocom3_TM5_AP3-ctrl2016_global_2010_hourly.od550aer.',EXP='TM5/'):
#input_TM5_data = 'od550aer:TM5_daily_s... | 57.235294 | 217 | 0.69794 | 3,572 | 20,433 | 3.870101 | 0.075308 | 0.028356 | 0.041667 | 0.079861 | 0.807002 | 0.782263 | 0.732567 | 0.720631 | 0.694589 | 0.681134 | 0 | 0.108183 | 0.119659 | 20,433 | 356 | 218 | 57.396067 | 0.660329 | 0.110361 | 0 | 0.515679 | 0 | 0.184669 | 0.339699 | 0.20541 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.017422 | null | null | 0.160279 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b225582e92b9fc879a0dc51bd128706777f43827 | 35 | py | Python | app/test.py | amataku/CV_converter | b63597ac3eb1c42883145dab8242d84a8a3253bf | [
"MIT"
] | 1 | 2020-01-02T17:23:55.000Z | 2020-01-02T17:23:55.000Z | app/test.py | amataku/voice2cv | b63597ac3eb1c42883145dab8242d84a8a3253bf | [
"MIT"
] | null | null | null | app/test.py | amataku/voice2cv | b63597ac3eb1c42883145dab8242d84a8a3253bf | [
"MIT"
] | null | null | null | import librosa
import numpy as np
| 8.75 | 18 | 0.8 | 6 | 35 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 3 | 19 | 11.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b24b95c4aad4c2d5a959957ef0f15b5f94af1be6 | 14,100 | py | Python | tests/test_transpiler_django.py | sampingantech/scim2-filter-parser | 81a3ce27fd030dda2486383464aeb4174ac141a5 | [
"MIT"
] | 15 | 2019-04-23T23:47:40.000Z | 2021-09-24T06:51:22.000Z | tests/test_transpiler_django.py | sampingantech/scim2-filter-parser | 81a3ce27fd030dda2486383464aeb4174ac141a5 | [
"MIT"
] | 15 | 2019-04-26T20:16:45.000Z | 2021-09-29T14:00:36.000Z | tests/test_transpiler_django.py | sampingantech/scim2-filter-parser | 81a3ce27fd030dda2486383464aeb4174ac141a5 | [
"MIT"
] | 7 | 2019-05-10T07:34:48.000Z | 2021-09-29T05:52:01.000Z | from unittest import TestCase
from django.db.models import Q
from scim2_filter_parser.transpilers.django_q_object import get_query
class TestRFCExamples(TestCase):
attr_map = {
("name", "familyName", None): "name.familyname",
("emails", None, None): "emails",
("emails", "type", None): "e... | 40.056818 | 106 | 0.619645 | 1,820 | 14,100 | 4.475824 | 0.068132 | 0.039038 | 0.056715 | 0.077339 | 0.877118 | 0.863982 | 0.851461 | 0.837957 | 0.819175 | 0.772035 | 0 | 0.032843 | 0.248511 | 14,100 | 351 | 107 | 40.17094 | 0.735938 | 0 | 0 | 0.59396 | 0 | 0.036913 | 0.267092 | 0.049149 | 0 | 0 | 0 | 0 | 0.161074 | 1 | 0.151007 | false | 0 | 0.010067 | 0 | 0.177852 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b250b2d3c667bd464f167f57aaee616ec1da1a9a | 32 | py | Python | __init__.py | leyaX/kalliope_neuron_translate | 8e7369c4482e5f68ac482d115f43971f8a0042d2 | [
"MIT"
] | null | null | null | __init__.py | leyaX/kalliope_neuron_translate | 8e7369c4482e5f68ac482d115f43971f8a0042d2 | [
"MIT"
] | 4 | 2018-01-25T07:14:36.000Z | 2018-12-14T12:09:24.000Z | __init__.py | leyaX/kalliope_neuron_translate | 8e7369c4482e5f68ac482d115f43971f8a0042d2 | [
"MIT"
] | 3 | 2018-10-30T02:03:19.000Z | 2020-03-30T09:55:56.000Z | from translate import Translate
| 16 | 31 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b25686db901a0285e1176b9039203117612f671d | 228 | py | Python | pgdrive/envs/__init__.py | decisionforce/pgdrive | 19af5d09a40a68a2a5f8b3ac8b40f109e71c26ee | [
"Apache-2.0"
] | 97 | 2020-12-25T06:02:17.000Z | 2022-01-16T06:58:39.000Z | pgdrive/envs/__init__.py | decisionforce/pgdrive | 19af5d09a40a68a2a5f8b3ac8b40f109e71c26ee | [
"Apache-2.0"
] | 192 | 2020-12-25T07:58:17.000Z | 2021-08-28T10:13:59.000Z | pgdrive/envs/__init__.py | decisionforce/pgdrive | 19af5d09a40a68a2a5f8b3ac8b40f109e71c26ee | [
"Apache-2.0"
] | 11 | 2020-12-29T11:23:44.000Z | 2021-12-06T23:25:49.000Z | from pgdrive.envs.marl_envs.multi_agent_pgdrive import MultiAgentPGDrive
from pgdrive.envs.pgdrive_env import PGDriveEnv
from pgdrive.envs.top_down_env import TopDownSingleFramePGDriveEnv, TopDownPGDriveEnv, TopDownPGDriveEnvV2
| 57 | 106 | 0.899123 | 27 | 228 | 7.37037 | 0.555556 | 0.165829 | 0.226131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004673 | 0.061404 | 228 | 3 | 107 | 76 | 0.925234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b261ef687600c7d2c9d4fcfbc313ae2bc4fd6b98 | 17,124 | py | Python | sdk/python/pulumi_gcp/kms/outputs.py | dimpu47/pulumi-gcp | 38355de300a5768e11c49d344a8165ba0735deed | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/kms/outputs.py | dimpu47/pulumi-gcp | 38355de300a5768e11c49d344a8165ba0735deed | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/kms/outputs.py | dimpu47/pulumi-gcp | 38355de300a5768e11c49d344a8165ba0735deed | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Dict, List, Mapping, Optional, Tuple, Union
from .. import ... | 34.946939 | 186 | 0.650082 | 1,923 | 17,124 | 5.558502 | 0.105564 | 0.024418 | 0.03527 | 0.051548 | 0.792123 | 0.769015 | 0.728506 | 0.701843 | 0.661147 | 0.636262 | 0 | 0.001339 | 0.258409 | 17,124 | 489 | 187 | 35.018405 | 0.840381 | 0.313069 | 0 | 0.693141 | 1 | 0 | 0.116489 | 0.046167 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205776 | false | 0 | 0.036101 | 0.064982 | 0.447653 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a23def04495ec1f2e728b19e9bc95594877e645d | 159 | py | Python | test/test_core.py | iBug/OmniAE | dcaa3c671a36aeef1c7ffff79a859daaa6352fa0 | [
"MIT"
] | null | null | null | test/test_core.py | iBug/OmniAE | dcaa3c671a36aeef1c7ffff79a859daaa6352fa0 | [
"MIT"
] | 5 | 2019-10-28T21:16:50.000Z | 2020-06-08T21:13:06.000Z | test/test_core.py | iBug/OmniAE | dcaa3c671a36aeef1c7ffff79a859daaa6352fa0 | [
"MIT"
] | null | null | null | import core
def test_core():
core.load()
assert core.config.write_key == "(((write_key)))"
assert core.config.write_token == "(((write_token)))"
| 19.875 | 57 | 0.641509 | 21 | 159 | 4.619048 | 0.47619 | 0.206186 | 0.329897 | 0.43299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 159 | 7 | 58 | 22.714286 | 0.734848 | 0 | 0 | 0 | 0 | 0 | 0.201258 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a26258b0411bb5df7c7393e962758acce778d2ad | 2,051 | py | Python | tests/nlu_core_tests/component_tests/classifier_tests/sentiment_tests.py | UPbook-innovations/nlu | 2ae02ce7b6ca163f47271e98b71de109d38adefe | [
"Apache-2.0"
] | 1 | 2021-05-01T01:23:18.000Z | 2021-05-01T01:23:18.000Z | tests/nlu_core_tests/component_tests/classifier_tests/sentiment_tests.py | sheerinZ/nlu | a223eee4b077a6b832f47e5e6125167fe0922687 | [
"Apache-2.0"
] | 2 | 2021-09-28T05:55:05.000Z | 2022-02-26T11:16:21.000Z | tests/nlu_core_tests/component_tests/classifier_tests/sentiment_tests.py | atdavidpark/nlu | 619d07299e993323d83086c86506db71e2a139a9 | [
"Apache-2.0"
] | 1 | 2021-09-13T10:06:20.000Z | 2021-09-13T10:06:20.000Z |
import unittest
from nlu import *
class TestSentiment(unittest.TestCase):
def test_sentiment_model(self):
pipe = nlu.load('sentiment',verbose=True)
df = pipe.predict(['I love pancaces. I hate Mondays', 'I love Fridays'], output_level='sentence')
print(df.columns)
print(df['senten... | 42.729167 | 107 | 0.6353 | 243 | 2,051 | 5.246914 | 0.164609 | 0.047059 | 0.061176 | 0.065882 | 0.905098 | 0.905098 | 0.836863 | 0.836863 | 0.836863 | 0.836863 | 0 | 0.003639 | 0.196002 | 2,051 | 47 | 108 | 43.638298 | 0.769557 | 0.571916 | 0 | 0.266667 | 0 | 0 | 0.252644 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.066667 | false | 0 | 0.133333 | 0 | 0.266667 | 0.266667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a2750b25213dafb863813a51e859d4f1c178edf2 | 28,439 | py | Python | flake8_typing_imports.py | atugushev/flake8-typing-imports | ec5143bfe20788b1f571173e84a80af4dd55587f | [
"MIT"
] | null | null | null | flake8_typing_imports.py | atugushev/flake8-typing-imports | ec5143bfe20788b1f571173e84a80af4dd55587f | [
"MIT"
] | null | null | null | flake8_typing_imports.py | atugushev/flake8-typing-imports | ec5143bfe20788b1f571173e84a80af4dd55587f | [
"MIT"
] | null | null | null | import ast
import collections
import configparser
import os.path
import sys
from typing import Any
from typing import Dict
from typing import Generator
from typing import List
from typing import NamedTuple
from typing import Tuple
from typing import Type
if sys.version_info < (3, 8): # pragma: no cover (<PY38)
im... | 52.373849 | 79 | 0.567003 | 2,286 | 28,439 | 6.938758 | 0.084864 | 0.0174 | 0.0319 | 0.04205 | 0.858845 | 0.849388 | 0.844093 | 0.839049 | 0.839049 | 0.835015 | 0 | 0.005119 | 0.251275 | 28,439 | 542 | 80 | 52.47048 | 0.739821 | 0.003446 | 0 | 0.695906 | 0 | 0.001949 | 0.480625 | 0.021069 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019493 | false | 0 | 0.046784 | 0.003899 | 0.087719 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a28571649907f305fe6f239e0ac441c92404c884 | 101 | py | Python | bitmovin_api_sdk/encoding/encodings/streams/bifs/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/encodings/streams/bifs/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/encodings/streams/bifs/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.encodings.streams.bifs.customdata.customdata_api import CustomdataApi
| 50.5 | 100 | 0.90099 | 13 | 101 | 6.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 101 | 1 | 101 | 101 | 0.907216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a292de6c73954c58cf5081216ac5f2fc2182922e | 100 | py | Python | tests/trade/test_strategy.py | thermo2nd/newton_old | 29da5063e1165e99604c4262c241168a8b4cf108 | [
"MIT"
] | null | null | null | tests/trade/test_strategy.py | thermo2nd/newton_old | 29da5063e1165e99604c4262c241168a8b4cf108 | [
"MIT"
] | null | null | null | tests/trade/test_strategy.py | thermo2nd/newton_old | 29da5063e1165e99604c4262c241168a8b4cf108 | [
"MIT"
] | null | null | null | import unittest
from newton.trade import Strategy
class TestStrategy(unittest.TestCase):
pass
| 14.285714 | 38 | 0.8 | 12 | 100 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 6 | 39 | 16.666667 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a2a7c26e3f3c8d5988a652fe75ec3d0b0e6a31bb | 11,508 | py | Python | Scripts/DBotPredictPhishingWords/dbot_predict_phishing_words_test.py | lh34s8/content | 6b1d72035be3a58641239e8cc9e7cd94139e55ba | [
"MIT"
] | null | null | null | Scripts/DBotPredictPhishingWords/dbot_predict_phishing_words_test.py | lh34s8/content | 6b1d72035be3a58641239e8cc9e7cd94139e55ba | [
"MIT"
] | null | null | null | Scripts/DBotPredictPhishingWords/dbot_predict_phishing_words_test.py | lh34s8/content | 6b1d72035be3a58641239e8cc9e7cd94139e55ba | [
"MIT"
] | null | null | null | from collections import defaultdict
import pytest
from CommonServerPython import *
from DBotPredictPhishingWords import get_model_data, predict_phishing_words
TOKENIZATION_RESULT = None
def get_args():
args = defaultdict(lambda: "yes")
args['encoding'] = 'utf8'
args['encoding'] = 'utf8'
args['remov... | 55.864078 | 124 | 0.562739 | 1,112 | 11,508 | 5.624101 | 0.119604 | 0.054525 | 0.051807 | 0.057563 | 0.819635 | 0.805085 | 0.805085 | 0.79693 | 0.776143 | 0.776143 | 0 | 0.033446 | 0.306309 | 11,508 | 205 | 125 | 56.136585 | 0.749969 | 0 | 0 | 0.630682 | 0 | 0 | 0.241571 | 0.062739 | 0 | 0 | 0 | 0 | 0.034091 | 1 | 0.068182 | false | 0 | 0.022727 | 0.017045 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a2bb649f4a35de4a173115da307184f46bd19a60 | 1,294 | py | Python | python-opcua/data_parser.py | ssriblo/ionic-smarthome-test-1 | 060bc247e0b8295d6cd869d90b364756515cfc19 | [
"MIT"
] | 1 | 2020-12-18T15:18:19.000Z | 2020-12-18T15:18:19.000Z | python-opcua/data_parser.py | ssriblo/ionic-smarthome-test-1 | 060bc247e0b8295d6cd869d90b364756515cfc19 | [
"MIT"
] | 42 | 2020-08-20T04:01:12.000Z | 2021-01-09T18:50:21.000Z | python-opcua/data_parser.py | ssriblo/ionic-smarthome-test-1 | 060bc247e0b8295d6cd869d90b364756515cfc19 | [
"MIT"
] | null | null | null |
class DataParserF8(object):
def __init__(self, ch):
self.ch = ch
######################################
@property
def roomT(self):
return self.ch.get_value()[1]
######################################
@property
def waterT(self):
return self.ch.get_value()[2]
################... | 26.408163 | 42 | 0.398764 | 110 | 1,294 | 4.536364 | 0.263636 | 0.156313 | 0.252505 | 0.288577 | 0.589178 | 0.589178 | 0.252505 | 0.152305 | 0.152305 | 0.152305 | 0 | 0.014395 | 0.194745 | 1,294 | 48 | 43 | 26.958333 | 0.464491 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.272727 | 0.666667 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a2f817e5b4e03b79d6d67693d9039b707c273b71 | 293 | py | Python | relevanceai/dashboard/dashboard_mappings.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 21 | 2021-11-23T13:01:36.000Z | 2022-03-23T03:45:30.000Z | relevanceai/dashboard/dashboard_mappings.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 217 | 2021-11-23T00:11:01.000Z | 2022-03-30T08:11:49.000Z | relevanceai/dashboard/dashboard_mappings.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 4 | 2022-01-04T01:48:30.000Z | 2022-02-11T03:19:32.000Z | """Dashboard mappings
"""
DASHBOARD_MAPPINGS = {
"multivector_search": "/sdk/search",
"cluster_centroids_closest": "/sdk/cluster/centroids/closest",
"cluster_centroids_furthest": "/sdk/cluster/centroids/furthest",
"cluster_aggregation": "/sdk/cluster/aggregation",
}
| 29.3 | 69 | 0.703072 | 27 | 293 | 7.37037 | 0.37037 | 0.321608 | 0.231156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139932 | 293 | 9 | 70 | 32.555556 | 0.789683 | 0.061433 | 0 | 0 | 0 | 0 | 0.710425 | 0.525097 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0c30f7a041843e541e51e180d2a8845f2825f8d8 | 195 | py | Python | skbandit/environments/__init__.py | dourouc05/scikit-bandit | aa0a0a58304844f593682ff1fe7f0960977bd0d2 | [
"BSD-3-Clause"
] | null | null | null | skbandit/environments/__init__.py | dourouc05/scikit-bandit | aa0a0a58304844f593682ff1fe7f0960977bd0d2 | [
"BSD-3-Clause"
] | null | null | null | skbandit/environments/__init__.py | dourouc05/scikit-bandit | aa0a0a58304844f593682ff1fe7f0960977bd0d2 | [
"BSD-3-Clause"
] | null | null | null | from .base import *
__all__ = ["Environment", "EnvironmentNoMoreAcceptingInputsException", "FullInformationEnvironment",
"SemiBanditFeedbackEnvironment", "BanditFeedbackEnvironment"]
| 39 | 100 | 0.784615 | 9 | 195 | 16.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117949 | 195 | 4 | 101 | 48.75 | 0.866279 | 0 | 0 | 0 | 0 | 0 | 0.676923 | 0.620513 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0c561d86835584b711e170f5a20a9f9ff49aa8a4 | 43 | py | Python | gym_goal/envs/__init__.py | jonomon/gym-goal | 3fcae3767d77c6788dbd6bff87bc42975262a009 | [
"MIT"
] | 12 | 2019-09-02T10:58:16.000Z | 2021-11-15T08:31:17.000Z | gym_goal/envs/__init__.py | jonomon/gym-goal | 3fcae3767d77c6788dbd6bff87bc42975262a009 | [
"MIT"
] | null | null | null | gym_goal/envs/__init__.py | jonomon/gym-goal | 3fcae3767d77c6788dbd6bff87bc42975262a009 | [
"MIT"
] | 8 | 2020-03-04T13:53:49.000Z | 2021-06-26T20:49:52.000Z | from gym_goal.envs.goal_env import GoalEnv
| 21.5 | 42 | 0.860465 | 8 | 43 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a76060ffd46dd10fcf4ef6a83b3e2674d5f90099 | 30 | py | Python | programacion1/practica3/examples/cloud_9.py | AgustinParmisano/tecnicatura_analisis_sistemas | e64a1922eaf3685706652a2fb9414671014118fc | [
"PSF-2.0"
] | 2 | 2019-11-05T22:10:02.000Z | 2019-12-26T22:24:16.000Z | programacion1/practica3/examples/cloud_9.py | AgustinParmisano/tecnicatura_analisis_sistemas | e64a1922eaf3685706652a2fb9414671014118fc | [
"PSF-2.0"
] | null | null | null | programacion1/practica3/examples/cloud_9.py | AgustinParmisano/tecnicatura_analisis_sistemas | e64a1922eaf3685706652a2fb9414671014118fc | [
"PSF-2.0"
] | null | null | null | print "Desde cloud 9 a github" | 30 | 30 | 0.766667 | 6 | 30 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.166667 | 30 | 1 | 30 | 30 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a768cabb30765671873f11181126c8031f753358 | 8,251 | py | Python | testing/MLDB-1891-case-in-import.py | kstepanmpmg/mldb | f78791cd34d01796705c0f173a14359ec1b2e021 | [
"Apache-2.0"
] | 1 | 2019-04-29T12:39:34.000Z | 2019-04-29T12:39:34.000Z | testing/MLDB-1891-case-in-import.py | tomzhang/mldb | a09cf2d9ca454d1966b9e49ae69f2fe6bf571494 | [
"Apache-2.0"
] | 2 | 2021-03-20T05:52:26.000Z | 2021-11-15T17:52:54.000Z | testing/MLDB-1891-case-in-import.py | matebestek/mldb | f78791cd34d01796705c0f173a14359ec1b2e021 | [
"Apache-2.0"
] | 1 | 2018-11-23T20:03:38.000Z | 2018-11-23T20:03:38.000Z | #
# MLDB-1891-case-in-import.py
# Mathieu Bolduc, 2016-08-12
# This file is part of MLDB. Copyright 2016 mldb.ai inc. All rights reserved.
#
import unittest
from mldb import mldb, MldbUnitTest, ResponseException
class MLDB1891CaseInImport(MldbUnitTest): # noqa
@classmethod
def setUpClass(self):
# c... | 33.815574 | 147 | 0.459096 | 722 | 8,251 | 5.15097 | 0.149584 | 0.037645 | 0.045173 | 0.0484 | 0.856413 | 0.851842 | 0.851842 | 0.841893 | 0.832482 | 0.792148 | 0 | 0.029064 | 0.416192 | 8,251 | 243 | 148 | 33.954733 | 0.742994 | 0.019149 | 0 | 0.661836 | 0 | 0.024155 | 0.36611 | 0.097217 | 0 | 0 | 0 | 0 | 0.038647 | 1 | 0.062802 | false | 0 | 0.169082 | 0 | 0.236715 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a7817112010c16f67631e49ff3c52f93405d5f5d | 1,557 | py | Python | angr/analyses/propagator/values.py | MarSoft/angr | c46e848d4921dafca8d4c304bfadcad4d043bda9 | [
"BSD-2-Clause"
] | 1 | 2020-11-18T16:39:11.000Z | 2020-11-18T16:39:11.000Z | angr/analyses/propagator/values.py | MarSoft/angr | c46e848d4921dafca8d4c304bfadcad4d043bda9 | [
"BSD-2-Clause"
] | null | null | null | angr/analyses/propagator/values.py | MarSoft/angr | c46e848d4921dafca8d4c304bfadcad4d043bda9 | [
"BSD-2-Clause"
] | 1 | 2020-11-18T16:39:13.000Z | 2020-11-18T16:39:13.000Z |
# pylint: disable=unused-argument
class Top:
def __add__(self, other):
return self
def __and__(self, other):
return self
def __sub__(self, other):
return self
def __rsub__(self, other):
return self
def __radd__(self, other):
return self
def __ror__(... | 16.56383 | 36 | 0.583173 | 182 | 1,557 | 4.373626 | 0.186813 | 0.248744 | 0.414573 | 0.477387 | 0.780151 | 0.423367 | 0.423367 | 0.408291 | 0.267588 | 0.180905 | 0 | 0 | 0.333333 | 1,557 | 93 | 37 | 16.741935 | 0.766859 | 0.01991 | 0 | 0.6 | 0 | 0 | 0.005909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | false | 0 | 0 | 0.466667 | 0.966667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a7daefa341f777289b8eae11e284d34cfb437f71 | 24 | py | Python | __init__.py | abduld/pycx | 1aee85705c965d24c1e1cb542fc9bd38a07b35ed | [
"MIT"
] | null | null | null | __init__.py | abduld/pycx | 1aee85705c965d24c1e1cb542fc9bd38a07b35ed | [
"MIT"
] | null | null | null | __init__.py | abduld/pycx | 1aee85705c965d24c1e1cb542fc9bd38a07b35ed | [
"MIT"
] | null | null | null | from decorators import * | 24 | 24 | 0.833333 | 3 | 24 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38ee40e3ad9ab25521533be197f2885dc215e3e1 | 72 | py | Python | actions/literal_unicode.py | blanketastronomer/text_based_browser | 09dfd93d863723f8c35bbf25dc396e1aa9331c4f | [
"MIT"
] | null | null | null | actions/literal_unicode.py | blanketastronomer/text_based_browser | 09dfd93d863723f8c35bbf25dc396e1aa9331c4f | [
"MIT"
] | null | null | null | actions/literal_unicode.py | blanketastronomer/text_based_browser | 09dfd93d863723f8c35bbf25dc396e1aa9331c4f | [
"MIT"
] | null | null | null | from pyparsing import unicode
class LiteralUnicode(unicode):
pass
| 12 | 30 | 0.777778 | 8 | 72 | 7 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 72 | 5 | 31 | 14.4 | 0.949153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ac0dafa08272d6cc64b4b5e05fdf22fbfdd9d7e3 | 22,548 | py | Python | tests/test_semantic_linefeed.py | evandrocoan/Sublime-Wrap-Plus | 360a343b87c272e2ec97bbcce4e5555d2e10ad68 | [
"MIT"
] | 1 | 2018-12-08T21:44:51.000Z | 2018-12-08T21:44:51.000Z | tests/test_semantic_linefeed.py | evandrocoan/Sublime-Wrap-Plus | 360a343b87c272e2ec97bbcce4e5555d2e10ad68 | [
"MIT"
] | 3 | 2018-01-15T03:32:26.000Z | 2019-05-10T06:40:43.000Z | tests/test_semantic_linefeed.py | evandrocoan/Sublime-Wrap-Plus | 360a343b87c272e2ec97bbcce4e5555d2e10ad68 | [
"MIT"
] | 1 | 2018-01-14T23:38:45.000Z | 2018-01-14T23:38:45.000Z |
import os
import sys
import textwrap
import unittest
PACKAGE_ROOT_DIRECTORY = os.path.dirname( os.path.dirname( os.path.realpath( __file__ ) ) )
CURRENT_PACKAGE_NAME = os.path.basename( PACKAGE_ROOT_DIRECTORY ).rsplit('.', 1)[0]
wrap_plus_module = sys.modules[CURRENT_PACKAGE_NAME + ".wrap_plus"]
clas... | 56.939394 | 266 | 0.637928 | 2,881 | 22,548 | 4.713641 | 0.121833 | 0.026289 | 0.053019 | 0.030928 | 0.860972 | 0.831075 | 0.797865 | 0.759867 | 0.738365 | 0.730781 | 0 | 0.016565 | 0.271776 | 22,548 | 395 | 267 | 57.083544 | 0.810475 | 0.034282 | 0 | 0.359477 | 0 | 0.081699 | 0.425843 | 0.034064 | 0 | 0 | 0 | 0 | 0.062092 | 1 | 0.183007 | false | 0 | 0.019608 | 0 | 0.212418 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac0ecd874b190771ba107fad30f2623f1b615292 | 18,914 | py | Python | mosqito/functions/loudness_ecma_spain/sl_validation.py | sedurCode/MoSQITo | c6cbeb0d45a8445af51935c7c6b46dd1df71f7d6 | [
"Apache-2.0"
] | 1 | 2022-02-09T18:26:33.000Z | 2022-02-09T18:26:33.000Z | mosqito/functions/loudness_ecma_spain/sl_validation.py | sedurCode/MoSQITo | c6cbeb0d45a8445af51935c7c6b46dd1df71f7d6 | [
"Apache-2.0"
] | null | null | null | mosqito/functions/loudness_ecma_spain/sl_validation.py | sedurCode/MoSQITo | c6cbeb0d45a8445af51935c7c6b46dd1df71f7d6 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
@author: Daniel Jiménez-Caminero Costa
"""
import numpy as np
import math
import scipy as sp
import matplotlib.pyplot as plt
from scipy.signal import welch
import sys
sys.path.append('../../..')
def out_mid_validation(fs, signal, signal_filtered, sos_ear):
""" Function th... | 39.404167 | 120 | 0.595591 | 2,525 | 18,914 | 4.314455 | 0.10297 | 0.015421 | 0.03277 | 0.016706 | 0.819809 | 0.767854 | 0.732605 | 0.712869 | 0.695337 | 0.67964 | 0 | 0.042707 | 0.260918 | 18,914 | 479 | 121 | 39.48643 | 0.736605 | 0.198107 | 0 | 0.605578 | 0 | 0 | 0.200633 | 0.010499 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01992 | false | 0.063745 | 0.023904 | 0 | 0.043825 | 0.071713 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ac3943ab4dad9c7b63bab94400bd572b9aa2af2a | 185 | py | Python | aspen/testing/__init__.py | Acidburn0zzz/aspen-python | 3b25a3ca041bd0bf4d313f7fc3a15cf092903de7 | [
"MIT"
] | 1 | 2016-08-23T16:13:22.000Z | 2016-08-23T16:13:22.000Z | aspen/testing/__init__.py | Acidburn0zzz/aspen-python | 3b25a3ca041bd0bf4d313f7fc3a15cf092903de7 | [
"MIT"
] | null | null | null | aspen/testing/__init__.py | Acidburn0zzz/aspen-python | 3b25a3ca041bd0bf4d313f7fc3a15cf092903de7 | [
"MIT"
] | null | null | null | """
aspen.testing
+++++++++++++
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
| 20.555556 | 39 | 0.783784 | 21 | 185 | 6 | 0.52381 | 0.31746 | 0.507937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 185 | 8 | 40 | 23.125 | 0.763636 | 0.145946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ac8a1c7e25e6393e9bc479a97902f0af7f0873ec | 101 | py | Python | hw1/cs682/classifiers/__init__.py | michael940716/CS682_LCN | 32ca389b642387b637422e4383c9e709779f9b4c | [
"MIT"
] | 2 | 2021-11-04T18:35:47.000Z | 2021-11-09T01:43:36.000Z | hw1/cs682/classifiers/__init__.py | michael940716/CS682_LCN | 32ca389b642387b637422e4383c9e709779f9b4c | [
"MIT"
] | null | null | null | hw1/cs682/classifiers/__init__.py | michael940716/CS682_LCN | 32ca389b642387b637422e4383c9e709779f9b4c | [
"MIT"
] | null | null | null | from cs682.classifiers.k_nearest_neighbor import *
from cs682.classifiers.linear_classifier import *
| 33.666667 | 50 | 0.861386 | 13 | 101 | 6.461538 | 0.692308 | 0.214286 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.079208 | 101 | 2 | 51 | 50.5 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ce252b2e5dec88f87e5a30540c2a14e493134ca1 | 44 | py | Python | semantic_segmentation/src/__init__.py | no-name-xiaosheng/PaddleViT | 50226a3be5095b3727d3c62d2eab23ef1e9612ec | [
"Apache-2.0"
] | 993 | 2021-08-30T01:58:57.000Z | 2022-03-31T14:03:07.000Z | semantic_segmentation/src/__init__.py | Dongsheng-Bi/PaddleViT | c90a6c8dc3787e69cef3a37b9a260bd59eeff1f7 | [
"Apache-2.0"
] | 120 | 2021-09-03T13:05:32.000Z | 2022-03-29T02:08:22.000Z | semantic_segmentation/src/__init__.py | Dongsheng-Bi/PaddleViT | c90a6c8dc3787e69cef3a37b9a260bd59eeff1f7 | [
"Apache-2.0"
] | 253 | 2021-08-30T08:50:27.000Z | 2022-03-26T09:21:08.000Z | from . import models, datasets, transforms
| 14.666667 | 42 | 0.772727 | 5 | 44 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 43 | 22 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cbf360a056da86cd3b65a8bbb9aac88a21bf9299 | 27,238 | py | Python | venv/lib/python3.6/site-packages/tensorflow_core/python/ops/gen_summary_ops.py | databill86/HyperFoods | 9267937c8c70fd84017c0f153c241d2686a356dd | [
"MIT"
] | 2 | 2020-09-30T00:11:09.000Z | 2021-10-04T13:00:38.000Z | venv/lib/python3.6/site-packages/tensorflow_core/python/ops/gen_summary_ops.py | databill86/HyperFoods | 9267937c8c70fd84017c0f153c241d2686a356dd | [
"MIT"
] | null | null | null | venv/lib/python3.6/site-packages/tensorflow_core/python/ops/gen_summary_ops.py | databill86/HyperFoods | 9267937c8c70fd84017c0f153c241d2686a356dd | [
"MIT"
] | null | null | null | """Python wrappers around TensorFlow ops.
This file is MACHINE GENERATED! Do not edit.
Original C++ source file: summary_ops.cc
"""
import collections
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
from tensorflow.python.eager import context as _context
from tensorflow.python.eager import core... | 38.580737 | 175 | 0.701373 | 3,496 | 27,238 | 5.082666 | 0.050343 | 0.017334 | 0.02026 | 0.029264 | 0.806967 | 0.757837 | 0.724183 | 0.694918 | 0.643705 | 0.626597 | 0 | 0.005343 | 0.202878 | 27,238 | 705 | 176 | 38.635461 | 0.813053 | 0.169653 | 0 | 0.630081 | 1 | 0 | 0.05574 | 0.021811 | 0 | 0 | 0 | 0.01844 | 0 | 1 | 0.052846 | false | 0.026423 | 0.038618 | 0 | 0.197154 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cbf602761a72bd456786d028d662dccfcd6fe292 | 12,257 | py | Python | src/model/scenarios.py | davimnz/boa | 0546ad4df0ecabec1fd3beb1264cd0930dce13a9 | [
"MIT"
] | null | null | null | src/model/scenarios.py | davimnz/boa | 0546ad4df0ecabec1fd3beb1264cd0930dce13a9 | [
"MIT"
] | null | null | null | src/model/scenarios.py | davimnz/boa | 0546ad4df0ecabec1fd3beb1264cd0930dce13a9 | [
"MIT"
] | null | null | null | import numpy as np
from .utils import get_pq, cvxopt_solve_qp
class DistributionSolver:
def __init__(self, grid, allow_rebalance):
self.grid = grid
self.allow_rebalance = allow_rebalance
def solve(self):
pass
def get_xopt(self):
return self.x_opt
def set_xopt(self... | 43.007018 | 106 | 0.648038 | 1,764 | 12,257 | 4.160998 | 0.091837 | 0.124251 | 0.052452 | 0.019619 | 0.835831 | 0.801226 | 0.772343 | 0.73951 | 0.719074 | 0.703951 | 0 | 0.00792 | 0.248022 | 12,257 | 285 | 107 | 43.007018 | 0.788434 | 0.084523 | 0 | 0.584541 | 0 | 0 | 0.002055 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.004831 | 0.009662 | 0.014493 | 0.202899 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02066039f411e8e62898e4f1cf191ca707919ca5 | 33 | py | Python | packages/opal-client/opal_client/logger.py | permitio/opal | 05610352765a1bb0f95c86dd3a449b47275f51b4 | [
"Apache-2.0"
] | 106 | 2021-12-12T20:59:18.000Z | 2022-03-31T18:43:36.000Z | packages/opal-client/opal_client/logger.py | permitio/opal | 05610352765a1bb0f95c86dd3a449b47275f51b4 | [
"Apache-2.0"
] | 14 | 2021-12-14T05:33:58.000Z | 2022-03-29T17:39:02.000Z | packages/opal-client/opal_client/logger.py | permitio/opal | 05610352765a1bb0f95c86dd3a449b47275f51b4 | [
"Apache-2.0"
] | 10 | 2021-12-10T13:35:55.000Z | 2022-03-20T10:36:00.000Z | from opal_common.logger import *
| 16.5 | 32 | 0.818182 | 5 | 33 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a21dc4b21f7b31a5886d966fff86a1eb479a271 | 6,314 | py | Python | migrations/versions/a3fb0e170fc6_.py | msusicky/ockovani-covid | 2835943b5796b04a3542782ecda125b6766cd317 | [
"Apache-2.0"
] | 62 | 2021-01-16T18:02:57.000Z | 2022-01-12T21:10:34.000Z | migrations/versions/a3fb0e170fc6_.py | msusicky/ockovani-covid | 2835943b5796b04a3542782ecda125b6766cd317 | [
"Apache-2.0"
] | 224 | 2021-01-16T19:11:01.000Z | 2022-03-15T19:42:37.000Z | migrations/versions/a3fb0e170fc6_.py | msusicky/ockovani-covid | 2835943b5796b04a3542782ecda125b6766cd317 | [
"Apache-2.0"
] | 13 | 2021-01-16T18:38:11.000Z | 2021-07-02T20:09:47.000Z | """empty message
Revision ID: a3fb0e170fc6
Revises: 518096119dae
Create Date: 2021-09-21 19:35:31.350273
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'a3fb0e170fc6'
down_revision = '518096119dae'
branch_labels = None
depends_on = None
def upgrade():
# ... | 67.892473 | 119 | 0.770352 | 896 | 6,314 | 5.012277 | 0.069196 | 0.058784 | 0.080828 | 0.154309 | 0.93654 | 0.93654 | 0.93654 | 0.93654 | 0.894901 | 0.655311 | 0 | 0.020167 | 0.089009 | 6,314 | 92 | 120 | 68.630435 | 0.760605 | 0.046722 | 0 | 0 | 0 | 0 | 0.457038 | 0.286192 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.027027 | 0 | 0.054054 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5a25b60a8fb0209bd7b2b3c3d2f5cbb5a4bb1fab | 195 | py | Python | graphgallery/functional/dense/__init__.py | dongzizhu/GraphGallery | c65eab42daeb52de5019609fe7b368e30863b4ae | [
"MIT"
] | 1 | 2020-07-29T08:00:32.000Z | 2020-07-29T08:00:32.000Z | graphgallery/functional/dense/__init__.py | dongzizhu/GraphGallery | c65eab42daeb52de5019609fe7b368e30863b4ae | [
"MIT"
] | null | null | null | graphgallery/functional/dense/__init__.py | dongzizhu/GraphGallery | c65eab42daeb52de5019609fe7b368e30863b4ae | [
"MIT"
] | null | null | null | from .feat_transform import *
from .flip import *
from .onehot import *
from .node_sim import knn_graph, attr_sim
from .similarity import *
from .erase import *
from .activations import *
| 24.375 | 42 | 0.74359 | 27 | 195 | 5.222222 | 0.518519 | 0.35461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 195 | 7 | 43 | 27.857143 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a7160cf154760570c2613d1ea0e8c26436273a7 | 2,404 | py | Python | sporting_webapp/nfl_package/NFLmodels.py | plopez9/chipy_sports_app_2.0 | 39b337238d0a55bfe842cb60ea9fe4724426fbf0 | [
"MIT"
] | null | null | null | sporting_webapp/nfl_package/NFLmodels.py | plopez9/chipy_sports_app_2.0 | 39b337238d0a55bfe842cb60ea9fe4724426fbf0 | [
"MIT"
] | null | null | null | sporting_webapp/nfl_package/NFLmodels.py | plopez9/chipy_sports_app_2.0 | 39b337238d0a55bfe842cb60ea9fe4724426fbf0 | [
"MIT"
] | 1 | 2019-10-08T17:39:08.000Z | 2019-10-08T17:39:08.000Z | from django.db import models
# Create your models here.
class NflSummary(models.Model):
name = models.TextField(db_column='Name', blank=True, primary_key=True,)
pos = models.TextField(db_column='Pos', blank=True, null=True)
year = models.BigIntegerField(db_column='Year', blank=True, null=True)
gp = mod... | 43.709091 | 83 | 0.705907 | 330 | 2,404 | 5.015152 | 0.142424 | 0.120846 | 0.164955 | 0.21571 | 0.809668 | 0.793958 | 0.720846 | 0.698489 | 0.67432 | 0.67432 | 0 | 0 | 0.161814 | 2,404 | 54 | 84 | 44.518519 | 0.82134 | 0.009983 | 0 | 0.577778 | 0 | 0 | 0.084104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022222 | 0 | 0.755556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5a8a71b1237dd75663313adeef2ffa4508ad019e | 43 | py | Python | simple/urls.py | daonb/Open-Knesset | a169f03965b36f753968a18c7c8165156c0cebdd | [
"BSD-3-Clause"
] | 69 | 2015-02-03T12:02:56.000Z | 2022-02-16T13:08:01.000Z | simple/urls.py | OriHoch/Open-Knesset | 538bcdc2632d8d17a8ddddbc4567106684b9996b | [
"BSD-3-Clause"
] | 446 | 2015-01-01T11:10:33.000Z | 2021-11-01T08:15:39.000Z | simple/urls.py | OriHoch/Open-Knesset | 538bcdc2632d8d17a8ddddbc4567106684b9996b | [
"BSD-3-Clause"
] | 67 | 2015-01-01T09:13:58.000Z | 2021-11-01T07:51:08.000Z | from django.conf.urls import url, patterns
| 21.5 | 42 | 0.813953 | 7 | 43 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce47506f5146a85f8b395441ff54caba76d381fc | 5,111 | py | Python | DoraGamePlaying-m7noskip/ObjectDetector.py | AlexDoumas/BrPong_1 | 372913513932c95bc502f5d03700ec9ba61c6a9b | [
"CECILL-B"
] | 3 | 2020-06-22T15:02:23.000Z | 2021-05-05T14:03:25.000Z | DoraGamePlaying-m7noskip/ObjectDetector.py | AlexDoumas/BrPong_1 | 372913513932c95bc502f5d03700ec9ba61c6a9b | [
"CECILL-B"
] | null | null | null | DoraGamePlaying-m7noskip/ObjectDetector.py | AlexDoumas/BrPong_1 | 372913513932c95bc502f5d03700ec9ba61c6a9b | [
"CECILL-B"
] | null | null | null | import numpy as np
from scipy.ndimage.measurements import find_objects
from scipy.ndimage import label
# get the area in pixels for a given slice obj
def getArea(obj):
return (obj[0].stop - obj[0].start) * (obj[1].stop - obj[1].start)
def getDimentions(obj):
return ((obj[0].stop - obj[0].start) , (obj[1].stop - o... | 32.974194 | 182 | 0.639601 | 878 | 5,111 | 3.6959 | 0.164009 | 0.028351 | 0.031433 | 0.028351 | 0.783975 | 0.783975 | 0.755624 | 0.746071 | 0.734052 | 0.734052 | 0 | 0.054106 | 0.189982 | 5,111 | 155 | 183 | 32.974194 | 0.72971 | 0.194482 | 0 | 0.537037 | 0 | 0.009259 | 0.020498 | 0.015861 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.064815 | null | null | 0.009259 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cec3ddd8eeccf6e4e31a789274a9ecd4cf07720f | 74 | py | Python | logout.py | Uropt/KivyApp | 5a0ff53315d86d04ebe4fa1df472ff0945870a2d | [
"MIT"
] | null | null | null | logout.py | Uropt/KivyApp | 5a0ff53315d86d04ebe4fa1df472ff0945870a2d | [
"MIT"
] | null | null | null | logout.py | Uropt/KivyApp | 5a0ff53315d86d04ebe4fa1df472ff0945870a2d | [
"MIT"
] | null | null | null | from kivy.uix.screenmanager import Screen
class Logout(Screen):
pass
| 14.8 | 41 | 0.77027 | 10 | 74 | 5.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 4 | 42 | 18.5 | 0.919355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.