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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4a16e11d30299b47c532f821fca2dd6ace937154 | 63 | py | Python | enthought/logger/log_queue_handler.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/logger/log_queue_handler.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/logger/log_queue_handler.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from apptools.logger.log_queue_handler import *
| 21 | 47 | 0.825397 | 9 | 63 | 5.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 63 | 2 | 48 | 31.5 | 0.892857 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c579bf57d3c8239cbbf68572f48bb4dfd3c32e31 | 229 | py | Python | tests/test_heuristics.py | robopsi/symsynd | 13825f10bfb9291fe7bcd13937ddf398e7104234 | [
"BSD-3-Clause"
] | 23 | 2016-05-02T16:54:31.000Z | 2020-03-11T00:11:47.000Z | tests/test_heuristics.py | robopsi/symsynd | 13825f10bfb9291fe7bcd13937ddf398e7104234 | [
"BSD-3-Clause"
] | 11 | 2016-04-07T20:21:50.000Z | 2018-01-08T11:08:45.000Z | tests/test_heuristics.py | getsentry/symsynd | 13825f10bfb9291fe7bcd13937ddf398e7104234 | [
"BSD-3-Clause"
] | 9 | 2016-08-25T18:19:06.000Z | 2021-08-20T15:55:44.000Z | from symsynd.heuristics import get_ip_register
def test_ip_reg():
assert get_ip_register({'pc': '0x42'}, 'arm7') == int('42', 16)
assert get_ip_register({}, 'arm7') == None
assert get_ip_register({}, 'x86') == None
| 28.625 | 67 | 0.659389 | 33 | 229 | 4.272727 | 0.575758 | 0.141844 | 0.368794 | 0.404255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057292 | 0.161572 | 229 | 7 | 68 | 32.714286 | 0.677083 | 0 | 0 | 0 | 0 | 0 | 0.082969 | 0 | 0 | 0 | 0.017467 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c5e1df9e08451362177ca6d79508215a49b3b902 | 25 | py | Python | home/__init__.py | atharva-naik/talk-to-my-bots | 70b8a989c39680c618170bba7b75c7931f0cc03f | [
"MIT"
] | null | null | null | home/__init__.py | atharva-naik/talk-to-my-bots | 70b8a989c39680c618170bba7b75c7931f0cc03f | [
"MIT"
] | null | null | null | home/__init__.py | atharva-naik/talk-to-my-bots | 70b8a989c39680c618170bba7b75c7931f0cc03f | [
"MIT"
] | null | null | null | # Notice me GitHub Senpai | 25 | 25 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0.92 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
68000a243e2eb98e4c1a9e90a88b088771319bab | 57 | py | Python | test_all.py | Mac-AI/BNA-traffic-mapper | 9fcc3f516e18e19704444b6b848fc8aa356007bc | [
"MIT"
] | 4 | 2021-03-16T12:34:49.000Z | 2021-04-15T01:16:32.000Z | test_all.py | McMasterAI/BNA-traffic-mapper | 9fcc3f516e18e19704444b6b848fc8aa356007bc | [
"MIT"
] | 49 | 2020-10-13T19:03:07.000Z | 2021-02-06T17:47:49.000Z | test_all.py | Mac-AI/BNA-traffic-mapper | 9fcc3f516e18e19704444b6b848fc8aa356007bc | [
"MIT"
] | 3 | 2021-02-21T19:44:55.000Z | 2021-06-28T22:26:36.000Z | import pytest
def test_pytest():
assert True == True | 14.25 | 23 | 0.701754 | 8 | 57 | 4.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 57 | 4 | 23 | 14.25 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
680b846713f2168bb27be758bd65c44c552e00b9 | 204 | py | Python | picograd/utils/system.py | akamaus/picograd | fe3a377806d3abd389a59d48981123c569c0e545 | [
"MIT"
] | null | null | null | picograd/utils/system.py | akamaus/picograd | fe3a377806d3abd389a59d48981123c569c0e545 | [
"MIT"
] | null | null | null | picograd/utils/system.py | akamaus/picograd | fe3a377806d3abd389a59d48981123c569c0e545 | [
"MIT"
] | null | null | null | import platform
import os
import shutil
sys = platform.system()
def link(origin, link_path):
if sys == "Windows":
shutil.copy(origin, link_path)
else:
os.link(origin, link_path)
| 17 | 38 | 0.661765 | 28 | 204 | 4.714286 | 0.5 | 0.227273 | 0.318182 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230392 | 204 | 11 | 39 | 18.545455 | 0.840764 | 0 | 0 | 0 | 0 | 0 | 0.034314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.444444 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a8b56afa7f247c01e76e136f4023f03095a33cc9 | 1,797 | py | Python | test.py | greysondn/lmpkit | 714e56cedea03ddb182f2ad301ff355ad59d8559 | [
"MIT"
] | null | null | null | test.py | greysondn/lmpkit | 714e56cedea03ddb182f2ad301ff355ad59d8559 | [
"MIT"
] | null | null | null | test.py | greysondn/lmpkit | 714e56cedea03ddb182f2ad301ff355ad59d8559 | [
"MIT"
] | null | null | null | import unittest
import run as lmpkit
# just some notes on prboom+ compat levels so I can't botch this
#
# test_01 - 3 - Doom Ultimate - Doom 1 - E1L1
# test_02 - 3 - Doom Ultimate - Doom 1 - E1L1
# test_03 - 3 - Doom Ultimate - Doom 1 - E1L1
# test_04 - 17 - PRBoom 6 - Doom 1 - E1L1
# te... | 30.457627 | 71 | 0.634947 | 226 | 1,797 | 4.858407 | 0.309735 | 0.063752 | 0.291439 | 0.336976 | 0.624772 | 0.624772 | 0.6102 | 0.492714 | 0.492714 | 0.429873 | 0 | 0.064787 | 0.269894 | 1,797 | 59 | 72 | 30.457627 | 0.772104 | 0.316082 | 0 | 0.769231 | 0 | 0 | 0.192405 | 0.185654 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
763efba1c1e1a8c2abb3acc78d6e859012d73e7a | 30 | py | Python | punkin/_util.py | artPlusPlus/punkin | 0265b06d67463a5aaf27e0b2a771220d41cae5ee | [
"MIT"
] | 1 | 2017-10-24T10:02:29.000Z | 2017-10-24T10:02:29.000Z | punkin/_util.py | artPlusPlus/punkin | 0265b06d67463a5aaf27e0b2a771220d41cae5ee | [
"MIT"
] | null | null | null | punkin/_util.py | artPlusPlus/punkin | 0265b06d67463a5aaf27e0b2a771220d41cae5ee | [
"MIT"
] | null | null | null | class UNSET(object):
pass
| 10 | 20 | 0.666667 | 4 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 2 | 21 | 15 | 0.869565 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
767bb532037fece4e8c5824d65b5f92a74494d11 | 102 | py | Python | holland/core/backup/__init__.py | a5a351e7/holland | 58a12a5ce10206eed9434ab42b02217de29784bb | [
"BSD-3-Clause"
] | null | null | null | holland/core/backup/__init__.py | a5a351e7/holland | 58a12a5ce10206eed9434ab42b02217de29784bb | [
"BSD-3-Clause"
] | null | null | null | holland/core/backup/__init__.py | a5a351e7/holland | 58a12a5ce10206eed9434ab42b02217de29784bb | [
"BSD-3-Clause"
] | null | null | null | """
import from core
"""
from holland.core.backup.base import BackupError, BackupRunner, BackupPlugin
| 20.4 | 76 | 0.784314 | 12 | 102 | 6.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 102 | 4 | 77 | 25.5 | 0.879121 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
76a6f6057de06e05cbd262c3c522b74350da7d41 | 76 | py | Python | loew/__init__.py | hfcredidio/loew | 3ec23337808cc25280152f64981f23a709064f83 | [
"MIT"
] | 5 | 2016-08-03T16:49:43.000Z | 2022-01-26T00:33:10.000Z | loew/__init__.py | hfcredidio/loew | 3ec23337808cc25280152f64981f23a709064f83 | [
"MIT"
] | null | null | null | loew/__init__.py | hfcredidio/loew | 3ec23337808cc25280152f64981f23a709064f83 | [
"MIT"
] | null | null | null | import loew.chordal
import loew.radial
import loew.dipolar
import loew.misc
| 15.2 | 19 | 0.842105 | 12 | 76 | 5.333333 | 0.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 4 | 20 | 19 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
76aff678dbc52a57421cf0cf712cbeddc4d611fb | 156 | py | Python | quantorch/tensor.py | jialuechen/quantorch | 6d61afa061f10a08f62a275055b3c3c565643dec | [
"MIT"
] | null | null | null | quantorch/tensor.py | jialuechen/quantorch | 6d61afa061f10a08f62a275055b3c3c565643dec | [
"MIT"
] | null | null | null | quantorch/tensor.py | jialuechen/quantorch | 6d61afa061f10a08f62a275055b3c3c565643dec | [
"MIT"
] | null | null | null | import torch
def steps(end:float,steps=None,dtype=None,device=None)->torch.Tensor:
return torch.linspace(0.0,end,steps+1,dtype=dtype,device=device)[1:] | 39 | 72 | 0.762821 | 27 | 156 | 4.407407 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0.064103 | 156 | 4 | 72 | 39 | 0.787671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
4f31984279b6658cc35f2215383e08b76f30bfbb | 13,136 | py | Python | mkdocs_awesome_pages_plugin/tests/e2e/test_nav.py | Owen-Liuyuxuan/mkdocs-awesome-pages-plugin | 961363989877cbe4e4f9d0acda9ff22e352be9e1 | [
"MIT"
] | 226 | 2018-02-07T09:58:36.000Z | 2022-03-31T16:33:54.000Z | mkdocs_awesome_pages_plugin/tests/e2e/test_nav.py | Owen-Liuyuxuan/mkdocs-awesome-pages-plugin | 961363989877cbe4e4f9d0acda9ff22e352be9e1 | [
"MIT"
] | 55 | 2018-02-07T10:36:38.000Z | 2022-03-16T03:23:47.000Z | mkdocs_awesome_pages_plugin/tests/e2e/test_nav.py | Owen-Liuyuxuan/mkdocs-awesome-pages-plugin | 961363989877cbe4e4f9d0acda9ff22e352be9e1 | [
"MIT"
] | 30 | 2018-05-01T17:27:03.000Z | 2022-03-04T07:33:28.000Z | from .base import E2ETestCase
from ...meta import DuplicateRestItemError
from ...navigation import NavEntryNotFound
class TestNav(E2ETestCase):
def test_all_listed(self):
navigation = self.mkdocs(self.config, [
'1.md',
'2.md',
('a', [
'1.md',
... | 24.599251 | 81 | 0.279613 | 1,007 | 13,136 | 3.591857 | 0.070506 | 0.0423 | 0.141554 | 0.134366 | 0.830799 | 0.754216 | 0.705281 | 0.675422 | 0.610451 | 0.565662 | 0 | 0.04702 | 0.533724 | 13,136 | 533 | 82 | 24.645403 | 0.54351 | 0 | 0 | 0.869121 | 0 | 0 | 0.113124 | 0 | 0 | 0 | 0 | 0 | 0.047035 | 1 | 0.047035 | false | 0 | 0.006135 | 0 | 0.055215 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4f3d6bc0ac21d69b1b6c6d9eeaa5ab7246dc0c91 | 281 | py | Python | services/traction/api/protocols/v1/issuer/__init__.py | bcgov/traction | 90cec4f1aebccd68eb986cb89dfae5819a07a2ee | [
"Apache-2.0"
] | 12 | 2022-01-29T20:30:03.000Z | 2022-03-29T11:46:14.000Z | services/traction/api/protocols/v1/issuer/__init__.py | bcgov/traction | 90cec4f1aebccd68eb986cb89dfae5819a07a2ee | [
"Apache-2.0"
] | 38 | 2021-11-22T17:52:50.000Z | 2022-03-31T17:52:00.000Z | services/traction/api/protocols/v1/issuer/__init__.py | bcgov/traction | 90cec4f1aebccd68eb986cb89dfae5819a07a2ee | [
"Apache-2.0"
] | 9 | 2021-11-22T18:05:48.000Z | 2022-03-29T11:25:08.000Z | from .issuer_credential_revocation_updater import IssuerCredentialRevocationUpdater
from .issuer_credential_status_updater import IssuerCredentialStatusUpdater
def subscribe_issuer_protocol_listeners():
IssuerCredentialStatusUpdater()
IssuerCredentialRevocationUpdater()
| 35.125 | 83 | 0.88968 | 21 | 281 | 11.47619 | 0.619048 | 0.082988 | 0.165975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078292 | 281 | 7 | 84 | 40.142857 | 0.930502 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4f6441f761a1813e59f2f83951669b631518a539 | 261 | py | Python | lib/__init__.py | magnetic-lab/tdgg | 3a80ed82f4b6d1cd2e7a127e079a27141b2e0422 | [
"MIT"
] | 5 | 2019-08-14T07:24:10.000Z | 2020-04-15T11:47:48.000Z | lib/__init__.py | magnetic-lab/tdgg | 3a80ed82f4b6d1cd2e7a127e079a27141b2e0422 | [
"MIT"
] | null | null | null | lib/__init__.py | magnetic-lab/tdgg | 3a80ed82f4b6d1cd2e7a127e079a27141b2e0422 | [
"MIT"
] | null | null | null | """Core Modules for TDGam."""
import sys
from os import path as osp
from .project import TDGamProject
from .touchdesigner_ui import TDGamProjectUI
from .component import TDGamComponent
from .touchdesigner_ui import TDGamComponentUI
from .maglapath import Path
| 26.1 | 46 | 0.827586 | 34 | 261 | 6.294118 | 0.588235 | 0.093458 | 0.17757 | 0.233645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 261 | 9 | 47 | 29 | 0.938596 | 0.088123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 5 |
96d7759424d4411f8fb55f8e9eb0540ba47475b4 | 1,457 | py | Python | datamanagement/rules.py | truemrwalker/mads-app | 79481293af2c0ce5533ab9ebd24868965c3c0031 | [
"MIT"
] | null | null | null | datamanagement/rules.py | truemrwalker/mads-app | 79481293af2c0ce5533ab9ebd24868965c3c0031 | [
"MIT"
] | 2 | 2021-04-22T06:57:27.000Z | 2021-08-06T03:19:42.000Z | datamanagement/rules.py | truemrwalker/mads-app | 79481293af2c0ce5533ab9ebd24868965c3c0031 | [
"MIT"
] | 2 | 2021-02-12T01:19:44.000Z | 2021-05-14T06:54:34.000Z | # rules.py
import rules
# from rules import Predicate
from rules import predicates
from common import rules as common_rules
from .models import DataSource
rules.add_rule('can_list_datasources', predicates.always_allow)
rules.add_rule('can_edit_datasource',
common_rules.is_resource_owner | predicates.... | 44.151515 | 96 | 0.746054 | 170 | 1,457 | 5.982353 | 0.188235 | 0.162242 | 0.178958 | 0.20649 | 0.753196 | 0.753196 | 0.753196 | 0.666667 | 0.666667 | 0.666667 | 0 | 0 | 0.179822 | 1,457 | 32 | 97 | 45.53125 | 0.851046 | 0.024708 | 0 | 0.434783 | 0 | 0 | 0.164316 | 0.123413 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.173913 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8c56c613e4fecc6315dd3542ff36bde4dad783f3 | 402 | gyp | Python | deps/libgdal/gyp-formats/ogr_pgdump.gyp | AmristarSolutions/node-gdal-next | 8c0a7d9b26c240bf04abbf1b1de312b0691b3d88 | [
"Apache-2.0"
] | 57 | 2020-02-08T17:52:17.000Z | 2021-10-14T03:45:09.000Z | deps/libgdal/gyp-formats/ogr_pgdump.gyp | AmristarSolutions/node-gdal-next | 8c0a7d9b26c240bf04abbf1b1de312b0691b3d88 | [
"Apache-2.0"
] | 47 | 2020-02-12T16:41:40.000Z | 2021-09-28T22:27:56.000Z | deps/libgdal/gyp-formats/ogr_pgdump.gyp | AmristarSolutions/node-gdal-next | 8c0a7d9b26c240bf04abbf1b1de312b0691b3d88 | [
"Apache-2.0"
] | 8 | 2020-03-17T11:18:07.000Z | 2021-10-14T03:45:15.000Z | {
"includes": [
"../common.gypi"
],
"targets": [
{
"target_name": "libgdal_ogr_pgdump_frmt",
"type": "static_library",
"sources": [
"../gdal/ogr/ogrsf_frmts/pgdump/ogrpgdumplayer.cpp",
"../gdal/ogr/ogrsf_frmts/pgdump/ogrpgdumpdatasource.cpp",
"../gdal/ogr/ogrsf_frmts/pgdump/ogrpgdumpdriver.c... | 20.1 | 61 | 0.619403 | 42 | 402 | 5.690476 | 0.547619 | 0.117155 | 0.200837 | 0.284519 | 0.410042 | 0.217573 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171642 | 402 | 19 | 62 | 21.157895 | 0.717718 | 0 | 0 | 0.105263 | 0 | 0 | 0.70398 | 0.512438 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8c58fc2ee6852e6d9dc2dd40504654c42bf89e3a | 1,600 | py | Python | Naloge/nal8.py | vitorozman/Project-Euler | 9bd5e8b71b950c4d5d27d4674f0108bb71210504 | [
"MIT"
] | null | null | null | Naloge/nal8.py | vitorozman/Project-Euler | 9bd5e8b71b950c4d5d27d4674f0108bb71210504 | [
"MIT"
] | null | null | null | Naloge/nal8.py | vitorozman/Project-Euler | 9bd5e8b71b950c4d5d27d4674f0108bb71210504 | [
"MIT"
] | null | null | null |
def razbi_stevilo(n, st):
s = []
st = str(st)
while len(st) > n:
stevilo = st[:n]
s.append(stevilo)
st = st[1:]
return s #seznam 13 mestnih steil podanih v nizu
def razbi_stevke(n):
sez_stevk = []
for stevka in n:
sez_stevk.append(int(stevka))
sez_stevk.sort... | 53.333333 | 1,005 | 0.841875 | 90 | 1,600 | 14.833333 | 0.366667 | 0.02397 | 0.019476 | 0.022472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.710545 | 0.116875 | 1,600 | 30 | 1,005 | 53.333333 | 0.234253 | 0.02375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.12 | false | 0 | 0 | 0 | 0.24 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8c65121a281005f15f6eb2c3c86edf46fd1d78a2 | 2,722 | py | Python | unit_tests/test_app.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2019-10-03T13:58:29.000Z | 2019-10-03T13:58:29.000Z | unit_tests/test_app.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | null | null | null | unit_tests/test_app.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2021-04-11T05:24:57.000Z | 2021-04-11T05:24:57.000Z | from flask_testing import TestCase
from flask import g
from maintain_frontend import main
from unittest.mock import patch
from maintain_frontend.dependencies.session_api.session import Session
class TestApp(TestCase):
def create_app(self):
main.app.config['PRESERVE_CONTEXT_ON_EXCEPTION'] = False
... | 45.366667 | 77 | 0.652461 | 310 | 2,722 | 5.451613 | 0.245161 | 0.05858 | 0.106509 | 0.127811 | 0.751479 | 0.739053 | 0.739053 | 0.716568 | 0.716568 | 0.716568 | 0 | 0.01068 | 0.243204 | 2,722 | 59 | 78 | 46.135593 | 0.809709 | 0 | 0 | 0.634615 | 0 | 0 | 0.094048 | 0.042616 | 0 | 0 | 0 | 0 | 0.269231 | 1 | 0.096154 | false | 0 | 0.096154 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4fbfe200c930a824972da872234e6e6f2d7f9952 | 536 | py | Python | hubconf.py | kirilkoroves/torchvision-0.3.0 | 39f46d141f6a7ac2b094545c33936ad4500d3c7d | [
"BSD-3-Clause"
] | 10 | 2020-07-30T23:30:01.000Z | 2021-11-21T16:51:01.000Z | hubconf.py | kirilkoroves/torchvision-0.3.0 | 39f46d141f6a7ac2b094545c33936ad4500d3c7d | [
"BSD-3-Clause"
] | 1 | 2022-01-26T09:14:12.000Z | 2022-01-26T09:14:12.000Z | hubconf.py | kirilkoroves/torchvision-0.3.0 | 39f46d141f6a7ac2b094545c33936ad4500d3c7d | [
"BSD-3-Clause"
] | 5 | 2021-04-23T23:19:08.000Z | 2021-08-31T07:10:00.000Z | # Optional list of dependencies required by the package
dependencies = ['torch']
from torchvision.models.alexnet import alexnet
from torchvision.models.densenet import densenet121, densenet169, densenet201, densenet161
from torchvision.models.inception import inception_v3
from torchvision.models.resnet import resnet18... | 53.6 | 101 | 0.841418 | 68 | 536 | 6.529412 | 0.544118 | 0.202703 | 0.283784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092975 | 0.097015 | 536 | 9 | 102 | 59.555556 | 0.82438 | 0.098881 | 0 | 0 | 0 | 0 | 0.010395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4fdb234636a20ef1eda7a6b376fe1f3fa5807305 | 897 | py | Python | recursion/test_eating_cookies.py | Oyekunle-Mark/tangled-mystery | ae789d5b05a4791594427f23d52249af81748ff4 | [
"MIT"
] | null | null | null | recursion/test_eating_cookies.py | Oyekunle-Mark/tangled-mystery | ae789d5b05a4791594427f23d52249af81748ff4 | [
"MIT"
] | null | null | null | recursion/test_eating_cookies.py | Oyekunle-Mark/tangled-mystery | ae789d5b05a4791594427f23d52249af81748ff4 | [
"MIT"
] | 1 | 2021-09-03T16:17:47.000Z | 2021-09-03T16:17:47.000Z | import unittest
from eating_cookies import eating_cookies
class Test(unittest.TestCase):
def test_eating_cookies_small_n(self):
self.assertEqual(eating_cookies(0), 1)
self.assertEqual(eating_cookies(1), 1)
self.assertEqual(eating_cookies(2), 2)
self.assertEqual(eating_cookies(5), ... | 35.88 | 154 | 0.721293 | 97 | 897 | 6.402062 | 0.381443 | 0.251208 | 0.270531 | 0.360709 | 0.257649 | 0.10628 | 0 | 0 | 0 | 0 | 0 | 0.284341 | 0.188406 | 897 | 24 | 155 | 37.375 | 0.568681 | 0 | 0 | 0.111111 | 0 | 0 | 0.008919 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.277778 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4fea7ae66640cbdcd37c11ee1c38c51c984f3611 | 96 | py | Python | answers/pandas_answer4.py | monocilindro/foss4g-geopandas | 12afbc787c1f65cc046234b41166bd62bbb6ac29 | [
"Apache-2.0"
] | null | null | null | answers/pandas_answer4.py | monocilindro/foss4g-geopandas | 12afbc787c1f65cc046234b41166bd62bbb6ac29 | [
"Apache-2.0"
] | null | null | null | answers/pandas_answer4.py | monocilindro/foss4g-geopandas | 12afbc787c1f65cc046234b41166bd62bbb6ac29 | [
"Apache-2.0"
] | null | null | null | boroughs[boroughs['Third_largest_migrant_population_by_country_of_birth_(2011)'] == 'Romania']
| 48 | 95 | 0.833333 | 12 | 96 | 6 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.041667 | 96 | 1 | 96 | 96 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 0.614583 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8b34947e76a240646694706fea00c4bf17e9b32c | 97 | py | Python | unified_message_relay/__init__.py | Gerongfenh/UnifiedMessageRelay | 5086d345df497451ad20da4b321c708bf4ea3819 | [
"MIT"
] | null | null | null | unified_message_relay/__init__.py | Gerongfenh/UnifiedMessageRelay | 5086d345df497451ad20da4b321c708bf4ea3819 | [
"MIT"
] | null | null | null | unified_message_relay/__init__.py | Gerongfenh/UnifiedMessageRelay | 5086d345df497451ad20da4b321c708bf4ea3819 | [
"MIT"
] | null | null | null | from . import Core
from . import Lib
from . import Util
from . import daemon
__VERSION__ = '4.3'
| 16.166667 | 20 | 0.721649 | 15 | 97 | 4.4 | 0.6 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.195876 | 97 | 5 | 21 | 19.4 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8c70617e4a02fd1c4b9a8509e20dd7991168fc5e | 43 | py | Python | test/run/t28.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t28.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t28.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | z = 0
for x in [1,2,3]:
z += x
print z
| 8.6 | 17 | 0.44186 | 12 | 43 | 1.583333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.372093 | 43 | 4 | 18 | 10.75 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8c7e03630bf64f865f71cdb9e1cf8141a61f329b | 553 | py | Python | redshells/model/__init__.py | mski-iksm/redshells | 1e956fed9b000ea3f6ba1c96e25d5dd953025155 | [
"MIT"
] | null | null | null | redshells/model/__init__.py | mski-iksm/redshells | 1e956fed9b000ea3f6ba1c96e25d5dd953025155 | [
"MIT"
] | null | null | null | redshells/model/__init__.py | mski-iksm/redshells | 1e956fed9b000ea3f6ba1c96e25d5dd953025155 | [
"MIT"
] | null | null | null | from redshells.model.factorization_machine import FactorizationMachineGraph, FactorizationMachine
from redshells.model.feature_aggregation_similarity_model import FeatureAggregationSimilarityModel
from redshells.model.graph_convolutional_matrix_completion import GraphConvolutionalMatrixCompletion
from redshells.model.l... | 61.444444 | 100 | 0.909584 | 58 | 553 | 8.5 | 0.431034 | 0.227181 | 0.255578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057866 | 553 | 8 | 101 | 69.125 | 0.946257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8ca1de20d3774e797c51c2a62682b0790e5b9416 | 203 | py | Python | py/examples/client_send_request.py | NorthIsUp/loqui | 8d394a7951fd3a82d109becc1aebbd9e7ccc894a | [
"MIT"
] | 147 | 2017-10-02T18:16:52.000Z | 2020-03-16T03:26:40.000Z | py/examples/client_send_request.py | NorthIsUp/loqui | 8d394a7951fd3a82d109becc1aebbd9e7ccc894a | [
"MIT"
] | 14 | 2017-09-19T16:13:32.000Z | 2019-06-25T21:18:47.000Z | py/examples/client_send_request.py | NorthIsUp/loqui | 8d394a7951fd3a82d109becc1aebbd9e7ccc894a | [
"MIT"
] | 25 | 2017-10-01T20:10:31.000Z | 2020-03-19T14:00:20.000Z | from __future__ import absolute_import
from __future__ import print_function
from loqui.client import LoquiClient
client = LoquiClient(('localhost', 4001))
print(len(client.send_request('hello world'))) | 33.833333 | 46 | 0.82266 | 26 | 203 | 6 | 0.615385 | 0.128205 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021622 | 0.08867 | 203 | 6 | 46 | 33.833333 | 0.821622 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8cb1f39b02dc2138ef054ac32a9272c437cde93d | 3,386 | py | Python | tasks-deploy/empty-website/generate.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | 3 | 2021-03-30T06:27:58.000Z | 2021-04-03T17:56:35.000Z | tasks-deploy/empty-website/generate.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | null | null | null | tasks-deploy/empty-website/generate.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | null | null | null | TASK_URL = "http://empty-website.ctf.sicamp.ru:8080"
TITLE = "Пустой сайт?"
STATEMENT_TEMPLATE = f'''
Действительно ли на [этом]({TASK_URL}/{{0}}) сайте нет ничего полезного?
'''
def generate(context):
participant = context['participant']
token = tokens[participant.id % len(tokens)]
return TaskSta... | 260.461538 | 3,010 | 0.727998 | 246 | 3,386 | 10.004065 | 0.955285 | 0.005689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109865 | 0.077968 | 3,386 | 12 | 3,011 | 282.166667 | 0.678411 | 0 | 0 | 0 | 1 | 0 | 0.692353 | 0.007113 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8cc5fab9bc931462499ffcf9704aa26be4ea0664 | 14,002 | py | Python | tests/test_admin_views.py | VelocityWebworks/django-media-albums | e9aa8afd7dc7d1e45a8220d9d98007454e50030f | [
"MIT"
] | 1 | 2019-11-07T03:17:27.000Z | 2019-11-07T03:17:27.000Z | tests/test_admin_views.py | VelocityWebworks/django-media-albums | e9aa8afd7dc7d1e45a8220d9d98007454e50030f | [
"MIT"
] | null | null | null | tests/test_admin_views.py | VelocityWebworks/django-media-albums | e9aa8afd7dc7d1e45a8220d9d98007454e50030f | [
"MIT"
] | null | null | null | try:
from importlib import reload
except ImportError:
pass
from django.contrib.auth import get_user_model
from django.core.urlresolvers import NoReverseMatch, clear_url_caches, reverse
from django.test import TestCase
from django.test.utils import override_settings
from media_albums.models import Album, UserP... | 29.602537 | 79 | 0.489144 | 1,279 | 14,002 | 5.035184 | 0.108679 | 0.071739 | 0.114286 | 0.129814 | 0.827484 | 0.815994 | 0.78587 | 0.748913 | 0.689752 | 0.662578 | 0 | 0.011228 | 0.389373 | 14,002 | 472 | 80 | 29.665254 | 0.741988 | 0 | 0 | 0.566586 | 0 | 0 | 0.224468 | 0.130767 | 0 | 0 | 0 | 0 | 0.060533 | 1 | 0.03632 | false | 0.009685 | 0.024213 | 0 | 0.065375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8cd99a9a98a732b1baaaf3da7c82b94f80644a6f | 33 | py | Python | build/lib/annotation_utils/old/data_mover/__init__.py | HienDT27/annotation_utils | 1f4e95f4cfa08de5bbab20f90a6a75fba66a69b9 | [
"MIT"
] | 13 | 2020-01-28T04:45:22.000Z | 2022-03-10T03:35:49.000Z | build/lib/annotation_utils/old/data_mover/__init__.py | HienDT27/annotation_utils | 1f4e95f4cfa08de5bbab20f90a6a75fba66a69b9 | [
"MIT"
] | 4 | 2020-02-14T08:56:03.000Z | 2021-05-21T10:38:30.000Z | build/lib/annotation_utils/old/data_mover/__init__.py | HienDT27/annotation_utils | 1f4e95f4cfa08de5bbab20f90a6a75fba66a69b9 | [
"MIT"
] | 7 | 2020-04-10T07:56:25.000Z | 2021-12-17T11:19:23.000Z | from .data_mover import DataMover | 33 | 33 | 0.878788 | 5 | 33 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5079bd9b705341fabf8103ac1a9b7641dbd9772c | 83 | py | Python | src/cryptoadvance/specter/devices/hwi/jadepy/__init__.py | aphex3k/specter-desktop | f20b8447a9dcafb81461cc721e2978bf14fbc529 | [
"MIT"
] | 683 | 2019-08-31T02:26:21.000Z | 2022-03-31T18:43:31.000Z | src/cryptoadvance/specter/devices/hwi/jadepy/__init__.py | aphex3k/specter-desktop | f20b8447a9dcafb81461cc721e2978bf14fbc529 | [
"MIT"
] | 1,100 | 2019-09-26T13:00:18.000Z | 2022-03-31T22:29:54.000Z | src/cryptoadvance/specter/devices/hwi/jadepy/__init__.py | aphex3k/specter-desktop | f20b8447a9dcafb81461cc721e2978bf14fbc529 | [
"MIT"
] | 179 | 2019-09-03T17:10:59.000Z | 2022-03-31T16:59:13.000Z | from .jade import JadeAPI
from .jade_error import JadeError
__version__ = "0.0.1"
| 16.6 | 33 | 0.771084 | 13 | 83 | 4.538462 | 0.692308 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.144578 | 83 | 4 | 34 | 20.75 | 0.788732 | 0 | 0 | 0 | 0 | 0 | 0.060241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
50837bc2ab1e15486e1f301568857dbdd1a2c711 | 2,499 | py | Python | src/apps/interface.py | summunity/DjangoReact_CLI | 89f4b60028c04a800aa44f1476c63bab27e0b382 | [
"MIT"
] | null | null | null | src/apps/interface.py | summunity/DjangoReact_CLI | 89f4b60028c04a800aa44f1476c63bab27e0b382 | [
"MIT"
] | null | null | null | src/apps/interface.py | summunity/DjangoReact_CLI | 89f4b60028c04a800aa44f1476c63bab27e0b382 | [
"MIT"
] | null | null | null |
from ..format_cmd import format_cmd_prompt
def launch_app( state, config ):
""" launch app state """
command_str = """
Which application do you want to launch:
"""
from .process import launch_app as launch_process
apps = config[config['launch'] == True]
for i in range(0, len(apps)... | 23.8 | 63 | 0.619048 | 355 | 2,499 | 4.16338 | 0.2 | 0.109608 | 0.047361 | 0.048714 | 0.744926 | 0.744926 | 0.734777 | 0.717862 | 0.717862 | 0.686739 | 0 | 0.007163 | 0.273709 | 2,499 | 104 | 64 | 24.028846 | 0.807163 | 0.134854 | 0 | 0.689655 | 0 | 0 | 0.112828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051724 | false | 0 | 0.051724 | 0 | 0.224138 | 0.086207 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
50a5a6f43c87b813473c45ede99e9048ea56960c | 184 | py | Python | abattlemetrics/__init__.py | thegamecracks/abattlemetrics | de7d75fbf306ee61279ac1503a24766cd23ceaaf | [
"MIT"
] | 2 | 2021-07-08T02:34:28.000Z | 2021-07-30T05:07:20.000Z | abattlemetrics/__init__.py | thegamecracks/abattlemetrics | de7d75fbf306ee61279ac1503a24766cd23ceaaf | [
"MIT"
] | null | null | null | abattlemetrics/__init__.py | thegamecracks/abattlemetrics | de7d75fbf306ee61279ac1503a24766cd23ceaaf | [
"MIT"
] | null | null | null | __version__ = '0.5.0'
from .client import *
from .datapoint import *
from .errors import *
from .iterators import *
from .player import *
from .server import *
from .session import *
| 18.4 | 24 | 0.722826 | 25 | 184 | 5.16 | 0.48 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019737 | 0.173913 | 184 | 9 | 25 | 20.444444 | 0.828947 | 0 | 0 | 0 | 0 | 0 | 0.027174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
50ac97d345eb11b975c095c57f64f82818521478 | 7,886 | py | Python | conans/test/functional/generators/cmake_find_package_multi_configs_test.py | czoido/conan | 81370e515f3ed7ba0486d6ffeb4def8a2765ae14 | [
"MIT"
] | 1 | 2021-08-05T15:33:08.000Z | 2021-08-05T15:33:08.000Z | conans/test/functional/generators/cmake_find_package_multi_configs_test.py | czoido/conan | 81370e515f3ed7ba0486d6ffeb4def8a2765ae14 | [
"MIT"
] | null | null | null | conans/test/functional/generators/cmake_find_package_multi_configs_test.py | czoido/conan | 81370e515f3ed7ba0486d6ffeb4def8a2765ae14 | [
"MIT"
] | null | null | null | import os
import platform
import textwrap
import unittest
import pytest
from conans.test.assets.sources import gen_function_cpp
from conans.test.utils.tools import TestClient
from conans.util.files import save, load
@pytest.mark.tool_cmake
@unittest.skipUnless(platform.system() == "Windows", "Only for windows")
cl... | 42.397849 | 94 | 0.607786 | 895 | 7,886 | 5.184358 | 0.174302 | 0.077586 | 0.044828 | 0.034483 | 0.800647 | 0.755172 | 0.740086 | 0.725216 | 0.673922 | 0.665302 | 0 | 0.008702 | 0.271367 | 7,886 | 185 | 95 | 42.627027 | 0.798817 | 0.021684 | 0 | 0.611111 | 0 | 0 | 0.537095 | 0.159792 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.027778 | false | 0 | 0.090278 | 0 | 0.173611 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
50c9ea58236835cc65bc39318e5c5e1ef8ef52c1 | 169 | py | Python | convnet3d/__init__.py | lpigou/Theano-3D-ConvNet | e145dc47b689656db7d2baf8e4eeeeaa34fd86d0 | [
"Unlicense"
] | 89 | 2015-03-02T13:42:26.000Z | 2021-11-04T12:33:25.000Z | convnet3d/__init__.py | conanhung/Theano-3D-ConvNet | e145dc47b689656db7d2baf8e4eeeeaa34fd86d0 | [
"Unlicense"
] | 3 | 2015-06-29T22:06:15.000Z | 2017-06-20T12:30:16.000Z | convnet3d/__init__.py | conanhung/Theano-3D-ConvNet | e145dc47b689656db7d2baf8e4eeeeaa34fd86d0 | [
"Unlicense"
] | 58 | 2015-02-22T00:18:01.000Z | 2021-05-19T07:35:00.000Z | from convnet3d import ConvLayer, NormLayer, PoolLayer, RectLayer
from mlp import LogRegr, HiddenLayer, DropoutLayer
from activations import relu, tanh, sigmoid, softplus | 56.333333 | 64 | 0.840237 | 20 | 169 | 7.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.112426 | 169 | 3 | 65 | 56.333333 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0f9b8f01b669d138c834d6e7958c0def6a7ca617 | 66 | py | Python | g/appengine/py/standard/signup/handlers/__init__.py | chhschou/sandpit | d4a6760905b45b90455f10a5b50af3c5f743e445 | [
"MIT"
] | null | null | null | g/appengine/py/standard/signup/handlers/__init__.py | chhschou/sandpit | d4a6760905b45b90455f10a5b50af3c5f743e445 | [
"MIT"
] | null | null | null | g/appengine/py/standard/signup/handlers/__init__.py | chhschou/sandpit | d4a6760905b45b90455f10a5b50af3c5f743e445 | [
"MIT"
] | null | null | null | from mainpage import MainPage
from welcomepage import WelcomePage
| 22 | 35 | 0.878788 | 8 | 66 | 7.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 36 | 33 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0fb9b00645bbf8fc16fba1e27207cd322eeab010 | 68 | py | Python | kin_phase1/model/testing.py | leekh7411/ai-hackathon-2018 | 70bc064103bbf8ea960182027e239d7cd43539a1 | [
"MIT"
] | null | null | null | kin_phase1/model/testing.py | leekh7411/ai-hackathon-2018 | 70bc064103bbf8ea960182027e239d7cd43539a1 | [
"MIT"
] | null | null | null | kin_phase1/model/testing.py | leekh7411/ai-hackathon-2018 | 70bc064103bbf8ea960182027e239d7cd43539a1 | [
"MIT"
] | null | null | null | import numpy as np
a = np.array([1,2,3,4])
print(a[:3])
print(a[3:]) | 17 | 23 | 0.602941 | 17 | 68 | 2.411765 | 0.647059 | 0.292683 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.117647 | 68 | 4 | 24 | 17 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0ffdd703e7010ed5d2522bfb23ea3624a4689a23 | 30 | py | Python | src/whiteCalculator/ERRORS.py | WhiteNightAWA/calculator-api | e5c1194b6f9a14259827f121368d4ebc70b2c17c | [
"MIT"
] | 4 | 2021-09-14T22:17:17.000Z | 2022-03-28T10:36:26.000Z | src/whiteCalculator/ERRORS.py | WhiteNightAWA/white-calculator | e5c1194b6f9a14259827f121368d4ebc70b2c17c | [
"MIT"
] | null | null | null | src/whiteCalculator/ERRORS.py | WhiteNightAWA/white-calculator | e5c1194b6f9a14259827f121368d4ebc70b2c17c | [
"MIT"
] | null | null | null | class BracketsError:
pass
| 10 | 20 | 0.733333 | 3 | 30 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 2 | 21 | 15 | 0.956522 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
ba05120044eb2eacdebe5457d0df4f15a927dfa1 | 51 | py | Python | tool_belt/__init__.py | johnk314/Python-Projects | f3e5f265fe4566d86e40a3c06dfb4cef23776085 | [
"MIT"
] | null | null | null | tool_belt/__init__.py | johnk314/Python-Projects | f3e5f265fe4566d86e40a3c06dfb4cef23776085 | [
"MIT"
] | null | null | null | tool_belt/__init__.py | johnk314/Python-Projects | f3e5f265fe4566d86e40a3c06dfb4cef23776085 | [
"MIT"
] | null | null | null | from tool_belt import connect, calculate, schedule
| 25.5 | 50 | 0.843137 | 7 | 51 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 51 | 1 | 51 | 51 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e866b388acfda0220997586ac84c01a56dd5d2cf | 25 | py | Python | unravel/text/legal/glossary.py | unravel-text/unravel | 80ed4599efe0a845cfb9712e842615129b1fcbf7 | [
"Apache-2.0"
] | null | null | null | unravel/text/legal/glossary.py | unravel-text/unravel | 80ed4599efe0a845cfb9712e842615129b1fcbf7 | [
"Apache-2.0"
] | 2 | 2018-10-31T12:09:55.000Z | 2018-10-31T12:16:56.000Z | unravel/text/legal/glossary.py | unravel-text/unravel | 80ed4599efe0a845cfb9712e842615129b1fcbf7 | [
"Apache-2.0"
] | null | null | null | class Glossary:
pass
| 8.333333 | 15 | 0.68 | 3 | 25 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28 | 25 | 2 | 16 | 12.5 | 0.944444 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e8b49c4c6c3d0b6003a525df7f8e7dfd14ed9e5a | 164 | py | Python | src/pygamesimplegui/__init__.py | PraneethJain/PyGame-GUI | 10e779b50cbc0b6cdf85d74876d743bcead6805c | [
"MIT"
] | null | null | null | src/pygamesimplegui/__init__.py | PraneethJain/PyGame-GUI | 10e779b50cbc0b6cdf85d74876d743bcead6805c | [
"MIT"
] | null | null | null | src/pygamesimplegui/__init__.py | PraneethJain/PyGame-GUI | 10e779b50cbc0b6cdf85d74876d743bcead6805c | [
"MIT"
] | null | null | null | import pygame as pg
pg.init()
from .button import Button
from .input_box import InputBox
from .link import Link
from .menu import Menu
from .slider import Slider
| 16.4 | 31 | 0.786585 | 27 | 164 | 4.740741 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164634 | 164 | 9 | 32 | 18.222222 | 0.934307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2cdfde892efb49819d78ce41fa9f51b12beec496 | 5,339 | py | Python | vegadns_cli/commands/accounts.py | shupp/VegaDNS-CLI | d2b4cc41649f3f549774ebf206302841f3db41d0 | [
"Apache-2.0"
] | 3 | 2017-10-03T23:11:20.000Z | 2021-07-19T17:06:26.000Z | vegadns_cli/commands/accounts.py | shupp/VegaDNS-CLI | d2b4cc41649f3f549774ebf206302841f3db41d0 | [
"Apache-2.0"
] | null | null | null | vegadns_cli/commands/accounts.py | shupp/VegaDNS-CLI | d2b4cc41649f3f549774ebf206302841f3db41d0 | [
"Apache-2.0"
] | 5 | 2017-06-13T04:34:41.000Z | 2022-02-04T05:35:35.000Z | from builtins import str
import click
import json
import logging
from vegadns_client.exceptions import ClientException
from vegadns_cli.common import accounts
logger = logging.getLogger(__name__)
@accounts.command()
@click.option(
"--account-id",
type=int,
prompt=True,
help="ID of the account, requ... | 23.31441 | 66 | 0.587376 | 645 | 5,339 | 4.787597 | 0.137985 | 0.064119 | 0.058938 | 0.055052 | 0.736075 | 0.724417 | 0.724417 | 0.688148 | 0.688148 | 0.656736 | 0 | 0.002778 | 0.258288 | 5,339 | 228 | 67 | 23.416667 | 0.77702 | 0.022851 | 0 | 0.710145 | 0 | 0 | 0.196683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028986 | false | 0.067633 | 0.028986 | 0 | 0.057971 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
2ce73f0c3b447191fe5e0aabee0ec92948123804 | 46 | py | Python | cyclon_project/api/models.py | robzenn92/EpTODocker | 7e3f17bf2d914ee8aa5c7d6393cb65d48177bd71 | [
"MIT"
] | null | null | null | cyclon_project/api/models.py | robzenn92/EpTODocker | 7e3f17bf2d914ee8aa5c7d6393cb65d48177bd71 | [
"MIT"
] | 26 | 2017-10-23T08:04:00.000Z | 2021-06-10T18:46:22.000Z | cyclon_project/api/models.py | robzenn92/EpTODocker | 7e3f17bf2d914ee8aa5c7d6393cb65d48177bd71 | [
"MIT"
] | null | null | null | from .cyclon import Cyclon
cyclon = Cyclon()
| 11.5 | 26 | 0.73913 | 6 | 46 | 5.666667 | 0.5 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 3 | 27 | 15.333333 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fa02250d59f6b3ca738f6b65d8d7976ab2a44b53 | 120 | py | Python | deepxde/backend/tensorflow_compat_v1/__init__.py | mitchelldaneker/deepxde | 62e09b62ceaab6bda2ebbd02dc30ad99c2990302 | [
"Apache-2.0"
] | 955 | 2019-06-21T21:56:02.000Z | 2022-03-31T03:44:45.000Z | deepxde/backend/tensorflow_compat_v1/__init__.py | XRDevIEEE/deepxde | 961e7e2bf1624374e74bf8d2da6b9c3e0eb8b0cc | [
"Apache-2.0"
] | 517 | 2019-07-25T16:47:44.000Z | 2022-03-31T17:37:58.000Z | deepxde/backend/tensorflow_compat_v1/__init__.py | XRDevIEEE/deepxde | 961e7e2bf1624374e74bf8d2da6b9c3e0eb8b0cc | [
"Apache-2.0"
] | 374 | 2019-06-24T00:44:16.000Z | 2022-03-30T08:17:36.000Z | import os
os.environ["TF_FORCE_GPU_ALLOW_GROWTH"] = "true"
from .tensor import * # pylint: disable=redefined-builtin
| 20 | 58 | 0.758333 | 17 | 120 | 5.117647 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 120 | 5 | 59 | 24 | 0.828571 | 0.275 | 0 | 0 | 0 | 0 | 0.341176 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fa0e0e6fa6ce6882367aa3ff00e316bdee5335d8 | 189 | py | Python | OS/OS_test.py | coderlongren/PreliminaryPython | b5c7a87e41842c57aabb660de1514cba19c8bd78 | [
"MIT"
] | null | null | null | OS/OS_test.py | coderlongren/PreliminaryPython | b5c7a87e41842c57aabb660de1514cba19c8bd78 | [
"MIT"
] | null | null | null | OS/OS_test.py | coderlongren/PreliminaryPython | b5c7a87e41842c57aabb660de1514cba19c8bd78 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# -*- coding: UTF-8 -*-
import os
print(os.name)
# print(os.uname()) windows 上不存在次函数
print(os.environ)
print(os.environ.get("PATH"))
print(os.environ.get("JAVA_HOME"))
| 17.181818 | 35 | 0.68254 | 30 | 189 | 4.266667 | 0.6 | 0.273438 | 0.328125 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011696 | 0.095238 | 189 | 10 | 36 | 18.9 | 0.736842 | 0.386243 | 0 | 0 | 0 | 0 | 0.115044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
fa34e970fb38cb560c0117e368ad8db27281d55d | 3,116 | py | Python | source/functions/reptile_movie.py | Kung-327/CampusCyberInspectionTool2021 | 2ff64a18d750ff48ba6091bd1bf5d59bcaefa88b | [
"MIT"
] | null | null | null | source/functions/reptile_movie.py | Kung-327/CampusCyberInspectionTool2021 | 2ff64a18d750ff48ba6091bd1bf5d59bcaefa88b | [
"MIT"
] | null | null | null | source/functions/reptile_movie.py | Kung-327/CampusCyberInspectionTool2021 | 2ff64a18d750ff48ba6091bd1bf5d59bcaefa88b | [
"MIT"
] | null | null | null | import csv
import requests
from bs4 import BeautifulSoup
i=1
movieschoose=['thisweek','intheaters','comingsoon']
class reptile_movie:
def i_want_to_watch_movie():
print("你想看什麼時期?")
print("[1]本周新片")
print("[2]上映中")
class1 =int(input("[3]即將上映\n"))
for page in range(1,20):
... | 48.6875 | 101 | 0.5138 | 347 | 3,116 | 4.414986 | 0.247839 | 0.070496 | 0.086162 | 0.062663 | 0.763055 | 0.740862 | 0.740862 | 0.740862 | 0.740862 | 0.740862 | 0 | 0.008103 | 0.326701 | 3,116 | 64 | 102 | 48.6875 | 0.722116 | 0 | 0 | 0.5625 | 0 | 0 | 0.150144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0.0625 | 0 | 0.104167 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fa3ac79f7cefbfce3106003c35a024f7206bbb18 | 27,588 | py | Python | tests/scripts/test_generate_terraform.py | chellebodnar-google/public-datasets-pipelines | 872a02fb06a7f536d06f20ef8dcf525575b1aea6 | [
"Apache-2.0"
] | null | null | null | tests/scripts/test_generate_terraform.py | chellebodnar-google/public-datasets-pipelines | 872a02fb06a7f536d06f20ef8dcf525575b1aea6 | [
"Apache-2.0"
] | null | null | null | tests/scripts/test_generate_terraform.py | chellebodnar-google/public-datasets-pipelines | 872a02fb06a7f536d06f20ef8dcf525575b1aea6 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 28.948583 | 87 | 0.652095 | 3,318 | 27,588 | 5.098252 | 0.085895 | 0.086486 | 0.067392 | 0.059825 | 0.763183 | 0.737881 | 0.720501 | 0.703712 | 0.674923 | 0.654706 | 0 | 0.00276 | 0.238292 | 27,588 | 952 | 88 | 28.978992 | 0.802227 | 0.07003 | 0 | 0.722222 | 0 | 0 | 0.137687 | 0.032363 | 0 | 0 | 0 | 0 | 0.092593 | 1 | 0.042328 | false | 0 | 0.011905 | 0.011905 | 0.066138 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fa493fb83e7f6dcd12211af6436f0f32593e85ad | 192 | py | Python | fabfile.py | neuronalmotion/foobot-exporter | 627ccbd0fd373ed315d387a61b2d6cbc363dd3a3 | [
"MIT"
] | null | null | null | fabfile.py | neuronalmotion/foobot-exporter | 627ccbd0fd373ed315d387a61b2d6cbc363dd3a3 | [
"MIT"
] | null | null | null | fabfile.py | neuronalmotion/foobot-exporter | 627ccbd0fd373ed315d387a61b2d6cbc363dd3a3 | [
"MIT"
] | null | null | null | from fabric.api import *
def prepare_dev_environment():
local('sudo ansible-galaxy install -r ansible/requirements.yml')
def deploy():
local('ansible-playbook ansible/site.yml')
| 19.2 | 72 | 0.729167 | 25 | 192 | 5.52 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151042 | 192 | 9 | 73 | 21.333333 | 0.846626 | 0 | 0 | 0 | 0 | 0 | 0.463158 | 0.126316 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
fa6c2ed0ceb82993ffe04a603f9db8dbd15e2598 | 59 | py | Python | BNNs/__init__.py | kw-lee/Bayesian-Neural-Networks | 3327fcf85e47c15d86c872211427bff133880c34 | [
"MIT"
] | 1 | 2020-05-06T01:38:24.000Z | 2020-05-06T01:38:24.000Z | BNNs/__init__.py | kw-lee/Bayesian-Neural-Networks | 3327fcf85e47c15d86c872211427bff133880c34 | [
"MIT"
] | null | null | null | BNNs/__init__.py | kw-lee/Bayesian-Neural-Networks | 3327fcf85e47c15d86c872211427bff133880c34 | [
"MIT"
] | null | null | null | from BNNs import priors, utils, base_net, Bayes_By_Backprop | 59 | 59 | 0.847458 | 10 | 59 | 4.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 59 | 1 | 59 | 59 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d736184871f97648487ea3548c8995d249707dbc | 106 | py | Python | apps/overtime/admin.py | LHerdy/People_Manager | e35ba2333a26e1cf35b7234af10f3c849eaa0270 | [
"MIT"
] | null | null | null | apps/overtime/admin.py | LHerdy/People_Manager | e35ba2333a26e1cf35b7234af10f3c849eaa0270 | [
"MIT"
] | 1 | 2021-08-15T15:02:10.000Z | 2021-08-15T15:02:25.000Z | apps/overtime/admin.py | LHerdy/People_Manager | e35ba2333a26e1cf35b7234af10f3c849eaa0270 | [
"MIT"
] | null | null | null | from django.contrib import admin
from apps.overtime.models import Overtime
admin.site.register(Overtime) | 21.2 | 41 | 0.839623 | 15 | 106 | 5.933333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 106 | 5 | 42 | 21.2 | 0.927083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d7593e7bdb5076e36f4b2f72e1409f6973e32fd7 | 95 | py | Python | hangman/validations/__init__.py | eduard727/proyecto_introduccion_a_la_programacion | f4dc6467ccf5c00ee05db61118b847a2413a3f6c | [
"MIT"
] | null | null | null | hangman/validations/__init__.py | eduard727/proyecto_introduccion_a_la_programacion | f4dc6467ccf5c00ee05db61118b847a2413a3f6c | [
"MIT"
] | 1 | 2021-06-02T00:27:27.000Z | 2021-06-02T00:27:27.000Z | hangman/validations/__init__.py | eduard727/proyecto_introduccion_a_la_programacion | f4dc6467ccf5c00ee05db61118b847a2413a3f6c | [
"MIT"
] | 11 | 2019-10-10T21:09:43.000Z | 2020-02-16T04:05:00.000Z | def valid_letter(letter):
# Make function to validate if input is a letter
return True
| 23.75 | 52 | 0.726316 | 15 | 95 | 4.533333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231579 | 95 | 3 | 53 | 31.666667 | 0.931507 | 0.484211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
d7636c415ed45c4bc717ec01f85fc76f3c5125d3 | 224 | py | Python | src/clearskies/tests/simple_api/models/users.py | cmancone/clearskies | aaa33fef6d03205faf26f123183a46adc1dbef9c | [
"MIT"
] | 4 | 2021-04-23T18:13:06.000Z | 2022-03-26T01:51:01.000Z | src/clearskies/tests/simple_api/models/users.py | cmancone/clearskies | aaa33fef6d03205faf26f123183a46adc1dbef9c | [
"MIT"
] | null | null | null | src/clearskies/tests/simple_api/models/users.py | cmancone/clearskies | aaa33fef6d03205faf26f123183a46adc1dbef9c | [
"MIT"
] | null | null | null | from clearskies import Models
from . import user
class Users(Models):
def __init__(self, cursor_backend, columns):
super().__init__(cursor_backend, columns)
def model_class(self):
return user.User
| 20.363636 | 49 | 0.705357 | 28 | 224 | 5.25 | 0.571429 | 0.176871 | 0.272109 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209821 | 224 | 10 | 50 | 22.4 | 0.830508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
d76ea1d2fc73cd3907672ed9de6b10c28dfb32d9 | 25 | py | Python | src/raman_fitting/delegating/__init__.py | MyPyDavid/raman_fitting | a827ab578ae801e185384159f145ae4dfad39549 | [
"MIT"
] | 3 | 2021-03-03T21:02:11.000Z | 2021-05-14T09:24:40.000Z | src/raman_fitting/delegating/__init__.py | MyPyDavid/raman_fitting | a827ab578ae801e185384159f145ae4dfad39549 | [
"MIT"
] | 8 | 2021-06-25T22:54:53.000Z | 2021-08-09T10:07:30.000Z | src/raman_fitting/delegating/__init__.py | MyPyDavid/raman_fitting | a827ab578ae801e185384159f145ae4dfad39549 | [
"MIT"
] | 2 | 2021-07-08T09:49:49.000Z | 2022-03-19T14:43:01.000Z | # import main_delegator#
| 12.5 | 24 | 0.8 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.863636 | 0.84 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d775e01a2750a1baa4b131411f8141d05335c5b6 | 124 | py | Python | mbd_pay/__init__.py | shaoxyz/mbd_pay | 4d3f5411fe376925e88f974530e1b8becb5733a4 | [
"MIT"
] | null | null | null | mbd_pay/__init__.py | shaoxyz/mbd_pay | 4d3f5411fe376925e88f974530e1b8becb5733a4 | [
"MIT"
] | null | null | null | mbd_pay/__init__.py | shaoxyz/mbd_pay | 4d3f5411fe376925e88f974530e1b8becb5733a4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
@Time : 2021/4/21 23:34
@Author : github.com/shaoxyz
"""
from .client import Client
| 15.5 | 30 | 0.556452 | 17 | 124 | 4.058824 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 0.241935 | 124 | 7 | 31 | 17.714286 | 0.606383 | 0.637097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d778e9e3ee58de161ac6da911e3fa89fc110e6cc | 100 | py | Python | answer/14.py | harurunrunrun/edu90_myanswer | 3aeaf9cb68a3bafe550681c6d240c622678c6d03 | [
"CC0-1.0"
] | null | null | null | answer/14.py | harurunrunrun/edu90_myanswer | 3aeaf9cb68a3bafe550681c6d240c622678c6d03 | [
"CC0-1.0"
] | null | null | null | answer/14.py | harurunrunrun/edu90_myanswer | 3aeaf9cb68a3bafe550681c6d240c622678c6d03 | [
"CC0-1.0"
] | 1 | 2021-06-04T06:08:15.000Z | 2021-06-04T06:08:15.000Z | n,*a=map(int,open(0).read().split());print(sum(abs(i-j)for i,j in zip(sorted(a[:n]),sorted(a[n:])))) | 100 | 100 | 0.61 | 24 | 100 | 2.541667 | 0.708333 | 0.065574 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.03 | 100 | 1 | 100 | 100 | 0.618557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
d77a8ef1ef72a8509eeb9c0a84f3de6519075cdf | 305 | py | Python | utils/utils.py | paddorch/CharCNN.paddle | 2d9923e40fc841f10490fd0f133a8b2d27a7f2d8 | [
"Apache-2.0"
] | 3 | 2021-08-20T03:38:01.000Z | 2021-08-30T00:55:44.000Z | utils/utils.py | paddorch/CharCNN.paddle | 2d9923e40fc841f10490fd0f133a8b2d27a7f2d8 | [
"Apache-2.0"
] | null | null | null | utils/utils.py | paddorch/CharCNN.paddle | 2d9923e40fc841f10490fd0f133a8b2d27a7f2d8 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import random
import paddle
# import torch
def set_seed(seed):
random.seed(seed)
np.random.seed(seed)
paddle.seed(seed)
# torch.manual_seed(seed)
# torch.cuda.manual_seed(seed)
# torch.cuda.manual_seed_all(seed)
# torch.backends.cudnn.deterministic = True
| 20.333333 | 47 | 0.708197 | 44 | 305 | 4.795455 | 0.386364 | 0.227488 | 0.184834 | 0.180095 | 0.265403 | 0.265403 | 0.265403 | 0 | 0 | 0 | 0 | 0 | 0.183607 | 305 | 14 | 48 | 21.785714 | 0.84739 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ad540b83b2e46d7e15210d43128afa7f8b4cbe00 | 60 | py | Python | main.py | florinsuciu3/session3 | 07f62aa43232fa0f6395b0735bdf6b0e7717d115 | [
"MIT"
] | null | null | null | main.py | florinsuciu3/session3 | 07f62aa43232fa0f6395b0735bdf6b0e7717d115 | [
"MIT"
] | null | null | null | main.py | florinsuciu3/session3 | 07f62aa43232fa0f6395b0735bdf6b0e7717d115 | [
"MIT"
] | null | null | null | print('Hello world! From GitHub.')
print('2nd print line.')
| 20 | 34 | 0.7 | 9 | 60 | 4.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.116667 | 60 | 2 | 35 | 30 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
ad83397a7a98cc0d0e1ba844821a4180dbf7a55e | 3,727 | py | Python | z2/part3/updated_part2_batch/jm/parser_errors_2/362820908.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part3/updated_part2_batch/jm/parser_errors_2/362820908.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part3/updated_part2_batch/jm/parser_errors_2/362820908.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | from part1 import (
gamma_board,
gamma_busy_fields,
gamma_delete,
gamma_free_fields,
gamma_golden_move,
gamma_golden_possible,
gamma_move,
gamma_new,
)
"""
scenario: test_random_actions
uuid: 362820908
"""
"""
random actions, total chaos
"""
board = gamma_new(4, 5, 2, 6)
assert board is... | 31.058333 | 71 | 0.676684 | 670 | 3,727 | 3.61194 | 0.068657 | 0.3 | 0.309917 | 0.413223 | 0.710331 | 0.709917 | 0.634298 | 0.521901 | 0.292562 | 0.292562 | 0 | 0.154758 | 0.162597 | 3,727 | 119 | 72 | 31.319328 | 0.620634 | 0 | 0 | 0.212121 | 0 | 0 | 0.032976 | 0 | 0 | 0 | 0 | 0 | 0.757576 | 1 | 0 | false | 0 | 0.010101 | 0 | 0.010101 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ad9db310f434a5b9cae1970b4ab1e2ec2da49c3f | 252 | py | Python | test/test_address_contact.py | L-A-V-S/python_training | f34794709931ba2b1c32fa58c9eea6cd6098e3ac | [
"Apache-2.0"
] | 1 | 2020-11-03T20:45:32.000Z | 2020-11-03T20:45:32.000Z | test/test_address_contact.py | L-A-V-S/python_training | f34794709931ba2b1c32fa58c9eea6cd6098e3ac | [
"Apache-2.0"
] | null | null | null | test/test_address_contact.py | L-A-V-S/python_training | f34794709931ba2b1c32fa58c9eea6cd6098e3ac | [
"Apache-2.0"
] | null | null | null |
def test_address_on_home_page(app):
address_from_home_page = app.contact.get_contact_list()[0]
address_from_edit_page = app.contact.get_contact_info_from_edit_page(0)
assert address_from_home_page.address == address_from_edit_page.address
| 42 | 75 | 0.825397 | 41 | 252 | 4.512195 | 0.365854 | 0.237838 | 0.194595 | 0.205405 | 0.259459 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008811 | 0.099206 | 252 | 5 | 76 | 50.4 | 0.806167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a8ee27f54dd41ccb2d139a3c9f4f2aa1264ecbac | 141 | py | Python | venv/Lib/site-packages/nipype/utils/__init__.py | richung99/digitizePlots | 6b408c820660a415a289726e3223e8f558d3e18b | [
"MIT"
] | 585 | 2015-01-12T16:06:47.000Z | 2022-03-26T14:51:08.000Z | nipype/utils/__init__.py | tamires-consulting/nipype | b7879d75a63b6500b2e7d2c3eba5aa7670339274 | [
"Apache-2.0"
] | 2,329 | 2015-01-01T09:56:41.000Z | 2022-03-30T14:24:49.000Z | nipype/utils/__init__.py | tamires-consulting/nipype | b7879d75a63b6500b2e7d2c3eba5aa7670339274 | [
"Apache-2.0"
] | 487 | 2015-01-20T01:04:52.000Z | 2022-03-21T21:22:47.000Z | # -*- coding: utf-8 -*-
from .onetime import OneTimeProperty, setattr_on_read
from .tmpdirs import TemporaryDirectory, InTemporaryDirectory
| 28.2 | 61 | 0.794326 | 15 | 141 | 7.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.113475 | 141 | 4 | 62 | 35.25 | 0.872 | 0.148936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d10982e503bc2864f173310051072f1854202121 | 54 | py | Python | 01_Language/01_Functions/python/deg2rad.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 3 | 2020-06-28T07:42:51.000Z | 2021-01-15T10:32:11.000Z | 01_Language/01_Functions/python/deg2rad.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 9 | 2021-03-10T22:45:40.000Z | 2022-02-27T06:53:20.000Z | 01_Language/01_Functions/python/deg2rad.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 1 | 2021-01-15T10:51:24.000Z | 2021-01-15T10:51:24.000Z | # coding: utf-8
import math
print(math.radians(45))
| 9 | 23 | 0.703704 | 9 | 54 | 4.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0.148148 | 54 | 5 | 24 | 10.8 | 0.76087 | 0.240741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
d111034a690a2dc3fcbbd0dfbe534655f582181a | 185 | py | Python | tbonlineproject/RegistrationRecaptcha/forms.py | nathangeffen/tbonline3 | 1b8a3af8d2dc1ee8083ca6638d025e94bd98f253 | [
"MIT"
] | null | null | null | tbonlineproject/RegistrationRecaptcha/forms.py | nathangeffen/tbonline3 | 1b8a3af8d2dc1ee8083ca6638d025e94bd98f253 | [
"MIT"
] | 3 | 2021-06-08T23:57:13.000Z | 2022-01-13T03:42:01.000Z | tbonlineproject/RegistrationRecaptcha/forms.py | nathangeffen/tbonline-2 | 0d5869197e66a0057fa07cb99f21dde7f5b47c30 | [
"MIT"
] | null | null | null | from registration.forms import RegistrationForm
from CommentRecaptcha.fields import ReCaptchaField
class RegistrationFormRecaptcha(RegistrationForm):
recaptcha = ReCaptchaField()
| 26.428571 | 50 | 0.854054 | 15 | 185 | 10.533333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102703 | 185 | 6 | 51 | 30.833333 | 0.951807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d113d09ed9172e83b61ce84499121c56b6dcac97 | 155 | py | Python | previous_code_2/level2/hey-i-already-did-that/test.py | kevinpz/google-foobar | f6b12b5ff1ad8282faf98f6ad079dbaba104dc38 | [
"Apache-2.0"
] | null | null | null | previous_code_2/level2/hey-i-already-did-that/test.py | kevinpz/google-foobar | f6b12b5ff1ad8282faf98f6ad079dbaba104dc38 | [
"Apache-2.0"
] | null | null | null | previous_code_2/level2/hey-i-already-did-that/test.py | kevinpz/google-foobar | f6b12b5ff1ad8282faf98f6ad079dbaba104dc38 | [
"Apache-2.0"
] | null | null | null | from solution import solution
def test_solution_1():
assert solution('1211', 10) == 1
def test_solution_2():
assert solution('210022', 3) == 3
| 15.5 | 37 | 0.677419 | 22 | 155 | 4.590909 | 0.545455 | 0.138614 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136 | 0.193548 | 155 | 9 | 38 | 17.222222 | 0.672 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d16bab94358384a1bbdf62c05ac64b68037aad36 | 307 | py | Python | core/base/end_points.py | SinanKanidagli/cgn_realip | 7e25ffe173e24f1206950c4765dfcf8dd2247e8e | [
"MIT"
] | null | null | null | core/base/end_points.py | SinanKanidagli/cgn_realip | 7e25ffe173e24f1206950c4765dfcf8dd2247e8e | [
"MIT"
] | null | null | null | core/base/end_points.py | SinanKanidagli/cgn_realip | 7e25ffe173e24f1206950c4765dfcf8dd2247e8e | [
"MIT"
] | null | null | null | from abc import ABC,abstractmethod
class EndPoints(ABC):
@property
@abstractmethod
def LOGIN(self) -> str:
pass
@property
@abstractmethod
def LOGOUT(self) -> str:
pass
@property
@abstractmethod
def IP_INFORMATION(self) -> str:
pass | 17.055556 | 36 | 0.586319 | 30 | 307 | 5.966667 | 0.5 | 0.368715 | 0.418994 | 0.212291 | 0.402235 | 0.402235 | 0 | 0 | 0 | 0 | 0 | 0 | 0.332248 | 307 | 18 | 37 | 17.055556 | 0.873171 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.214286 | 0.071429 | 0 | 0.357143 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0f0519b117610164e2f2b48bbdd3ebf8e333b78a | 260 | py | Python | tests/classes/super_filter.py | Wiosoft-Crafts/jsonclasses | c01ec27886da64be16a115147aab331c93a72e8b | [
"MIT"
] | 50 | 2021-08-18T08:08:04.000Z | 2022-03-20T07:23:26.000Z | tests/classes/super_filter.py | zhichao-github/jsonclasses | 6ee8545683b446939c9c68414fc351cbc917ad41 | [
"MIT"
] | 1 | 2021-11-23T02:12:29.000Z | 2021-11-23T13:35:26.000Z | tests/classes/super_filter.py | zhichao-github/jsonclasses | 6ee8545683b446939c9c68414fc351cbc917ad41 | [
"MIT"
] | 8 | 2021-07-01T02:39:15.000Z | 2021-12-10T02:20:18.000Z | from __future__ import annotations
from jsonclasses import jsonclass, types
@jsonclass
class SuperFilter:
list1: list[int] | None = types.listof(int).filter(lambda i: i % 2 == 0)
list2: list[int] | None = types.listof(int).filter(types.mod(2).eq(0))
| 28.888889 | 76 | 0.711538 | 38 | 260 | 4.763158 | 0.578947 | 0.077348 | 0.121547 | 0.176796 | 0.342541 | 0.342541 | 0.342541 | 0 | 0 | 0 | 0 | 0.027273 | 0.153846 | 260 | 8 | 77 | 32.5 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.833333 | 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 | 0 | 1 | 0 | 0 | 5 |
0f20af429eb72e64b4deaaa25b760899118c3a87 | 31,753 | py | Python | ClientFiles_Python/Serializer_Struct.py | westpoint-robotics/boson_usma_sdk | b4ef56cf4250ebd860821a41ae62a2ca571f146b | [
"MIT"
] | null | null | null | ClientFiles_Python/Serializer_Struct.py | westpoint-robotics/boson_usma_sdk | b4ef56cf4250ebd860821a41ae62a2ca571f146b | [
"MIT"
] | null | null | null | ClientFiles_Python/Serializer_Struct.py | westpoint-robotics/boson_usma_sdk | b4ef56cf4250ebd860821a41ae62a2ca571f146b | [
"MIT"
] | null | null | null | # /////////////////////////////////////////////////////
# // DO NOT EDIT. This is a machine generated file. //
# /////////////////////////////////////////////////////
from struct import unpack,pack_into
from .ReturnCodes import FLR_RESULT
# Garbage Variable to avoid ever having blank code
class FLR_ROI_T():
... | 77.070388 | 3,673 | 0.750764 | 4,218 | 31,753 | 5.407065 | 0.062826 | 0.149077 | 0.022362 | 0.008945 | 0.536502 | 0.486693 | 0.42693 | 0.393432 | 0.386241 | 0.378656 | 0 | 0.052484 | 0.102321 | 31,753 | 411 | 3,674 | 77.257908 | 0.747649 | 0.076213 | 0 | 0.46 | 1 | 0 | 0.030351 | 0.025019 | 0 | 0 | 0 | 0 | 0 | 1 | 0.34 | false | 0 | 0.008 | 0.136 | 0.62 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
0f5527442f177b7652280badd3d5ff91d9d19298 | 87 | py | Python | ontology/logistic_regression/sherlock/listify_circuits_k09_reverse.py | ehbeam/neuro-knowledge-engine | 9dc56ade0bbbd8d14f0660774f787c3f46d7e632 | [
"MIT"
] | 15 | 2020-07-17T07:10:26.000Z | 2022-02-18T05:51:45.000Z | ontology/neural_network/sherlock/listify_circuits_k09_reverse.py | YifeiCAO/neuro-knowledge-engine | 9dc56ade0bbbd8d14f0660774f787c3f46d7e632 | [
"MIT"
] | 2 | 2022-01-14T09:10:12.000Z | 2022-01-28T17:32:42.000Z | ontology/neural_network/sherlock/listify_circuits_k09_reverse.py | YifeiCAO/neuro-knowledge-engine | 9dc56ade0bbbd8d14f0660774f787c3f46d7e632 | [
"MIT"
] | 4 | 2021-12-22T13:27:32.000Z | 2022-02-18T05:51:47.000Z | #!/bin/python
import listify_circuits
listify_circuits.optimize_circuits(9, 'reverse') | 21.75 | 48 | 0.827586 | 11 | 87 | 6.272727 | 0.727273 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.057471 | 87 | 4 | 48 | 21.75 | 0.829268 | 0.137931 | 0 | 0 | 0 | 0 | 0.093333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0f6750f2f5a7c5cacab325a7cf6d00771c9b55c5 | 128 | py | Python | calvin/actorstore/systemactors/json/__init__.py | gabrielcercel/calvin-base | c0315f100643230d65aed1745e1c22df3e7a7c2c | [
"Apache-2.0"
] | 334 | 2015-06-04T15:14:28.000Z | 2022-02-09T11:14:17.000Z | calvin/actorstore/systemactors/json/__init__.py | gabrielcercel/calvin-base | c0315f100643230d65aed1745e1c22df3e7a7c2c | [
"Apache-2.0"
] | 89 | 2015-06-13T19:15:35.000Z | 2019-12-03T19:23:20.000Z | calvin/actorstore/systemactors/json/__init__.py | gabrielcercel/calvin-base | c0315f100643230d65aed1745e1c22df3e7a7c2c | [
"Apache-2.0"
] | 112 | 2015-06-06T19:16:54.000Z | 2020-10-19T01:27:55.000Z | """This module provides container types List and Dict, accessors, and methods for reading and writing JSON formatted strings.""" | 128 | 128 | 0.796875 | 18 | 128 | 5.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132813 | 128 | 1 | 128 | 128 | 0.918919 | 0.953125 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0f7f7a03c58bbfbe0f9877bb8dbff871aa71c66c | 7,240 | py | Python | pyFM/optimize/base_functions.py | Yang-L1/pyFM | bfc9cf58da81441c13dbfe0645872e82b6038521 | [
"MIT"
] | 35 | 2020-09-10T14:27:37.000Z | 2022-03-30T02:39:18.000Z | pyFM/optimize/base_functions.py | Yang-L1/pyFM | bfc9cf58da81441c13dbfe0645872e82b6038521 | [
"MIT"
] | 2 | 2020-12-01T07:30:24.000Z | 2020-12-03T08:19:57.000Z | pyFM/optimize/base_functions.py | Yang-L1/pyFM | bfc9cf58da81441c13dbfe0645872e82b6038521 | [
"MIT"
] | 3 | 2021-02-15T10:56:23.000Z | 2021-12-27T07:31:15.000Z | import numpy as np
def descr_preservation(C, descr1_red, descr2_red):
"""
Compute the descriptor preservation constraint
Parameters
---------------------
C : (K2,K1) Functional map
descr1 : (K1,p) descriptors on first basis
descr2 : (K2,p) descriptros on second basis
Output
... | 31.072961 | 125 | 0.60953 | 916 | 7,240 | 4.683406 | 0.10262 | 0.020513 | 0.030303 | 0.034965 | 0.891142 | 0.786713 | 0.744988 | 0.701632 | 0.660839 | 0.629138 | 0 | 0.030698 | 0.257597 | 7,240 | 233 | 126 | 31.072961 | 0.767442 | 0.615193 | 0 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.192308 | false | 0 | 0.019231 | 0 | 0.403846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0f7ff8baca6cec478989e8cd54068ed2f03951d7 | 62,249 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/managedblockchain/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/managedblockchain/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/managedblockchain/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Optional
from botocore.client import BaseClient
from typing import Dict
from botocore.paginate import Paginator
from botocore.waiter import Waiter
from typing import Union
class Client(BaseClient):
def can_paginate(self, operation_name: str = None):
"""
Check if an operation can... | 50.160355 | 503 | 0.550708 | 6,137 | 62,249 | 5.565749 | 0.077073 | 0.015809 | 0.030038 | 0.031355 | 0.765348 | 0.723161 | 0.69245 | 0.651609 | 0.627221 | 0.597359 | 0 | 0.007155 | 0.353387 | 62,249 | 1,240 | 504 | 50.200806 | 0.841445 | 0.802744 | 0 | 0.431373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.431373 | false | 0.431373 | 0.117647 | 0 | 0.568627 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
7e16d50f2b8bb27d042531c3a9ba86dda1fe35e1 | 26 | py | Python | src/utoolbox/analysis/__init__.py | liuyenting/utoolbox-legacy | dfcb24701ca25a37a223cc3c14b4433e6c296bfd | [
"Apache-2.0"
] | 2 | 2020-09-03T06:22:14.000Z | 2020-10-04T10:14:56.000Z | src/utoolbox/analysis/__init__.py | liuyenting/utoolbox-legacy | dfcb24701ca25a37a223cc3c14b4433e6c296bfd | [
"Apache-2.0"
] | null | null | null | src/utoolbox/analysis/__init__.py | liuyenting/utoolbox-legacy | dfcb24701ca25a37a223cc3c14b4433e6c296bfd | [
"Apache-2.0"
] | null | null | null | from .psf_average import * | 26 | 26 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7e1d3d541d85e58571981ae94c9e6475d6e12119 | 36 | py | Python | gpenkf/experiments/data_provider.py | danilkuzin/GP-EnKF | 215623e0f322ddae9757854e7278b60e11e570bf | [
"MIT"
] | 12 | 2018-11-09T10:08:36.000Z | 2021-07-11T05:04:52.000Z | gpenkf/experiments/data_provider.py | danilkuzin/GP-EnKF | 215623e0f322ddae9757854e7278b60e11e570bf | [
"MIT"
] | null | null | null | gpenkf/experiments/data_provider.py | danilkuzin/GP-EnKF | 215623e0f322ddae9757854e7278b60e11e570bf | [
"MIT"
] | 1 | 2019-10-29T05:57:47.000Z | 2019-10-29T05:57:47.000Z | class DataProvider(object):
pass | 18 | 27 | 0.75 | 4 | 36 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 2 | 28 | 18 | 0.9 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7e6747322870e1638525eb73b9c3794ae77c083c | 39 | py | Python | src/controllers/__init__.py | aurelmegn/boilerplate_flask | 8438fe2917155a3f53b10e6b833e04f935972c1d | [
"MIT"
] | null | null | null | src/controllers/__init__.py | aurelmegn/boilerplate_flask | 8438fe2917155a3f53b10e6b833e04f935972c1d | [
"MIT"
] | null | null | null | src/controllers/__init__.py | aurelmegn/boilerplate_flask | 8438fe2917155a3f53b10e6b833e04f935972c1d | [
"MIT"
] | null | null | null | from src import app
from . import index | 19.5 | 19 | 0.794872 | 7 | 39 | 4.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 2 | 20 | 19.5 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0e1b4b76e7d74de2cc0e5a75026a83cff3331792 | 77 | py | Python | prometheus_toolbox/expose/django/__init__.py | vbilyi/prometheus_toolbox | 6b21fa39148cf685fc16117716b0374bf9962f44 | [
"MIT"
] | null | null | null | prometheus_toolbox/expose/django/__init__.py | vbilyi/prometheus_toolbox | 6b21fa39148cf685fc16117716b0374bf9962f44 | [
"MIT"
] | null | null | null | prometheus_toolbox/expose/django/__init__.py | vbilyi/prometheus_toolbox | 6b21fa39148cf685fc16117716b0374bf9962f44 | [
"MIT"
] | null | null | null | from .urls import urlpatterns
from .middleware import AfterRequestMiddleware
| 25.666667 | 46 | 0.87013 | 8 | 77 | 8.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 2 | 47 | 38.5 | 0.971014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0e1b9399fdef9346a23fcf62a65bc68cc2621f63 | 211 | py | Python | django/researchdata/views/visualise.py | linguindic/linguindic-website | 545c64bc55b9502ef3db8ac00172d6240495b526 | [
"MIT"
] | 1 | 2020-09-22T10:07:52.000Z | 2020-09-22T10:07:52.000Z | django/researchdata/views/visualise.py | linguindic/linguindic-website | 545c64bc55b9502ef3db8ac00172d6240495b526 | [
"MIT"
] | null | null | null | django/researchdata/views/visualise.py | linguindic/linguindic-website | 545c64bc55b9502ef3db8ac00172d6240495b526 | [
"MIT"
] | null | null | null | from django.views.generic import (TemplateView)
class VisualiseTemplateView(TemplateView):
"""
Class-based view to show the visualise template
"""
template_name = 'researchdata/visualise.html'
| 23.444444 | 51 | 0.739336 | 22 | 211 | 7.045455 | 0.818182 | 0.219355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170616 | 211 | 8 | 52 | 26.375 | 0.885714 | 0.222749 | 0 | 0 | 0 | 0 | 0.182432 | 0.182432 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0e28084c64f1646579ccd82aae8b32facac3bfb0 | 38 | py | Python | wrench/semisupervisedlearning/__init__.py | rpryzant/wrench | 3668c359aeff18724e927a207a85da17f2ead823 | [
"Apache-2.0"
] | 1 | 2021-11-24T04:01:08.000Z | 2021-11-24T04:01:08.000Z | wrench/semisupervisedlearning/__init__.py | yinkaiw/wrench | f20135eb9b1d51b5bad92b3a910efd92235df356 | [
"Apache-2.0"
] | null | null | null | wrench/semisupervisedlearning/__init__.py | yinkaiw/wrench | f20135eb9b1d51b5bad92b3a910efd92235df356 | [
"Apache-2.0"
] | null | null | null | from .meanteacher import MeanTeacher
| 19 | 37 | 0.842105 | 4 | 38 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0e5991b3f7f2e32575d6b56e6a60a86992d85967 | 128,928 | py | Python | raet/road/transacting.py | Mattlk13/raet | e7bd8bba5ea21e98614c50b31d2334b2a95ce1f2 | [
"Apache-2.0"
] | 36 | 2015-02-10T20:39:59.000Z | 2022-01-09T18:36:47.000Z | raet/road/transacting.py | Mattlk13/raet | e7bd8bba5ea21e98614c50b31d2334b2a95ce1f2 | [
"Apache-2.0"
] | 11 | 2016-10-10T17:19:47.000Z | 2020-04-23T16:35:47.000Z | raet/road/transacting.py | Mattlk13/raet | e7bd8bba5ea21e98614c50b31d2334b2a95ce1f2 | [
"Apache-2.0"
] | 5 | 2015-06-01T09:00:00.000Z | 2020-04-23T17:06:20.000Z | # -*- coding: utf-8 -*-
'''
stacking.py raet protocol stacking classes
'''
# pylint: skip-file
# pylint: disable=W0611
# Import python libs
import socket
import binascii
import struct
try:
import simplejson as json
except ImportError:
import json
# Import ioflo libs
from ioflo.aid.odicting import odict
from ... | 39.367328 | 110 | 0.522571 | 13,969 | 128,928 | 4.800558 | 0.047892 | 0.07301 | 0.035551 | 0.031972 | 0.790662 | 0.758466 | 0.73073 | 0.703798 | 0.68811 | 0.668232 | 0 | 0.009254 | 0.371386 | 128,928 | 3,274 | 111 | 39.379352 | 0.818165 | 0.114537 | 0 | 0.752336 | 0 | 0.005098 | 0.103189 | 0.006082 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051827 | false | 0.00085 | 0.007222 | 0 | 0.13339 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0e73f3677b1e785639627716428a32dbaf7c4566 | 99 | py | Python | networks/__init__.py | flyingjam/faces | e2bb4c66f7ef8c453911ac572ac49c68e0bb0267 | [
"BSD-3-Clause"
] | null | null | null | networks/__init__.py | flyingjam/faces | e2bb4c66f7ef8c453911ac572ac49c68e0bb0267 | [
"BSD-3-Clause"
] | null | null | null | networks/__init__.py | flyingjam/faces | e2bb4c66f7ef8c453911ac572ac49c68e0bb0267 | [
"BSD-3-Clause"
] | null | null | null | from networks.network import Network, Result
from networks.VAE import Encoder, Decoder, VAENetwork
| 33 | 53 | 0.838384 | 13 | 99 | 6.384615 | 0.692308 | 0.289157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 99 | 2 | 54 | 49.5 | 0.943182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0e842bec301eea7276bd3dab5481855ccbcc1688 | 114 | py | Python | tests/arbpack/arbmod.py | mofm/pypyr | f417f69ba9a607d8a93019854105cfbc4dc9c36d | [
"Apache-2.0"
] | 261 | 2020-08-18T19:31:29.000Z | 2022-03-31T14:54:06.000Z | tests/arbpack/arbmod.py | mofm/pypyr | f417f69ba9a607d8a93019854105cfbc4dc9c36d | [
"Apache-2.0"
] | 89 | 2017-04-12T09:50:32.000Z | 2020-08-13T13:18:36.000Z | tests/arbpack/arbmod.py | mofm/pypyr | f417f69ba9a607d8a93019854105cfbc4dc9c36d | [
"Apache-2.0"
] | 15 | 2020-09-30T12:15:50.000Z | 2022-03-30T07:25:40.000Z | """arbmod.py just a sample module for use with tests."""
def arbmod_attribute():
"""Do nothing."""
pass
| 16.285714 | 56 | 0.631579 | 16 | 114 | 4.4375 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 114 | 6 | 57 | 19 | 0.788889 | 0.54386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0e9f8381ab15a9ae74c9803d678bc9358dac7915 | 172 | py | Python | src/grokcore/component/tests/adapter/modulecontextmultiple_fixture.py | bielbienne/grokcore.component | 575276af7ef7575698c497a21f4ae7732fdc61bd | [
"ZPL-2.1"
] | null | null | null | src/grokcore/component/tests/adapter/modulecontextmultiple_fixture.py | bielbienne/grokcore.component | 575276af7ef7575698c497a21f4ae7732fdc61bd | [
"ZPL-2.1"
] | null | null | null | src/grokcore/component/tests/adapter/modulecontextmultiple_fixture.py | bielbienne/grokcore.component | 575276af7ef7575698c497a21f4ae7732fdc61bd | [
"ZPL-2.1"
] | null | null | null | import grokcore.component as grok
from zope import interface
class Cave(grok.Context):
pass
class Club(grok.Context):
pass
grok.context(Cave)
grok.context(Club)
| 14.333333 | 33 | 0.755814 | 25 | 172 | 5.2 | 0.52 | 0.338462 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156977 | 172 | 11 | 34 | 15.636364 | 0.896552 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7ebb89a82652e387b00557cac0faf786eb19e210 | 71 | py | Python | aesara/typed_list/__init__.py | fshart/aesara | 1ddf96a7b8e8503fb8773b09c3ca77483fd884c4 | [
"BSD-3-Clause"
] | 111 | 2021-01-29T06:12:58.000Z | 2021-06-04T20:27:51.000Z | aesara/typed_list/__init__.py | fshart/aesara | 1ddf96a7b8e8503fb8773b09c3ca77483fd884c4 | [
"BSD-3-Clause"
] | 253 | 2020-02-07T15:19:38.000Z | 2021-01-27T20:26:55.000Z | aesara/typed_list/__init__.py | fshart/aesara | 1ddf96a7b8e8503fb8773b09c3ca77483fd884c4 | [
"BSD-3-Clause"
] | 38 | 2020-07-20T12:09:06.000Z | 2021-01-27T13:38:50.000Z | from . import opt
from .basic import *
from .type import TypedListType
| 17.75 | 31 | 0.774648 | 10 | 71 | 5.5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 71 | 3 | 32 | 23.666667 | 0.932203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7ec846635d722e24d75978374b99bf4891684637 | 248 | py | Python | hello_world/my_app/views.py | mescutia95/Assignment-2-Django-Hello-World | b688361be985f2070b513c21ca4c0cd56de47e27 | [
"MIT"
] | null | null | null | hello_world/my_app/views.py | mescutia95/Assignment-2-Django-Hello-World | b688361be985f2070b513c21ca4c0cd56de47e27 | [
"MIT"
] | null | null | null | hello_world/my_app/views.py | mescutia95/Assignment-2-Django-Hello-World | b688361be985f2070b513c21ca4c0cd56de47e27 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.shortcuts import render
# Create your views here.
from django.shortcuts import render
from django.views.generic import TemplateView
class HomeView(TemplateView):
template_name = 'index.html' | 27.555556 | 45 | 0.822581 | 32 | 248 | 6.1875 | 0.625 | 0.151515 | 0.191919 | 0.252525 | 0.313131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 248 | 9 | 46 | 27.555556 | 0.912442 | 0.092742 | 0 | 0.333333 | 0 | 0 | 0.044643 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7ef08be40aea0c89d6b38760d647d5d7ab1d5713 | 207 | py | Python | hooks.py | kjb4494/ytbDownloader | 2f0f1f889a727c4f22ecf799ac36afb0954171ac | [
"MIT"
] | null | null | null | hooks.py | kjb4494/ytbDownloader | 2f0f1f889a727c4f22ecf799ac36afb0954171ac | [
"MIT"
] | null | null | null | hooks.py | kjb4494/ytbDownloader | 2f0f1f889a727c4f22ecf799ac36afb0954171ac | [
"MIT"
] | null | null | null |
def finished_hook_for_mp3(d):
if d['status'] == 'finished':
print('다운로드가 완료되었습니다. 컨버팅을 시작합니다.')
def finished_hook_for_mp4(d):
if d['status'] == 'finished':
print('다운로드가 완료되었습니다.')
| 20.7 | 43 | 0.613527 | 28 | 207 | 4.321429 | 0.5 | 0.181818 | 0.247934 | 0.297521 | 0.578512 | 0.578512 | 0.578512 | 0.578512 | 0 | 0 | 0 | 0.012346 | 0.217391 | 207 | 9 | 44 | 23 | 0.734568 | 0 | 0 | 0.333333 | 0 | 0 | 0.330097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7d05c652af90e1d466e5f49cc5a7709969b28e62 | 118 | py | Python | coding/learn_import/future_import.py | yatao91/learning_road | e88dc43de98e35922bfc71c222ec71766851e618 | [
"MIT"
] | 3 | 2021-05-25T16:58:52.000Z | 2022-02-05T09:37:17.000Z | coding/learn_import/future_import.py | yataosu/learning_road | e88dc43de98e35922bfc71c222ec71766851e618 | [
"MIT"
] | null | null | null | coding/learn_import/future_import.py | yataosu/learning_road | e88dc43de98e35922bfc71c222ec71766851e618 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from foo import *
from __future__ import print_function # __future__必须在模块文件的顶层,否则SyntaxError
| 29.5 | 75 | 0.762712 | 14 | 118 | 5.785714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.135593 | 118 | 3 | 76 | 39.333333 | 0.784314 | 0.474576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
7d2ca2b5d2442b4b3f973c920eb62ff540cf5048 | 7,233 | py | Python | reqherd/webservice/alembic/versions/c405c1cc97a3_begin_reqherding.py | zthurman/reqherd | 6b35c4f22d4e28c363f82a5f3331657f8244a589 | [
"Apache-2.0"
] | null | null | null | reqherd/webservice/alembic/versions/c405c1cc97a3_begin_reqherding.py | zthurman/reqherd | 6b35c4f22d4e28c363f82a5f3331657f8244a589 | [
"Apache-2.0"
] | null | null | null | reqherd/webservice/alembic/versions/c405c1cc97a3_begin_reqherding.py | zthurman/reqherd | 6b35c4f22d4e28c363f82a5f3331657f8244a589 | [
"Apache-2.0"
] | null | null | null | """Begin reqherding
Revision ID: c405c1cc97a3
Revises:
Create Date: 2021-12-18 22:33:29.640060
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = "c405c1cc97a3"
down_revision = None
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto g... | 36.715736 | 95 | 0.643025 | 810 | 7,233 | 5.498765 | 0.098765 | 0.043107 | 0.063987 | 0.066008 | 0.895599 | 0.873597 | 0.832735 | 0.756399 | 0.624383 | 0.602829 | 0 | 0.011559 | 0.234481 | 7,233 | 196 | 96 | 36.903061 | 0.792848 | 0.039541 | 0 | 0.58427 | 0 | 0 | 0.429667 | 0.179161 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011236 | false | 0 | 0.011236 | 0 | 0.022472 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7d35559b4e6359e65df476a2b434d12341f4370d | 55 | py | Python | random_no.py | Mandar-Gajbhiye15/MLH-LHD-14-Jan | d5557fdc05edb24fbbc14c010e6c134340d1d460 | [
"MIT"
] | null | null | null | random_no.py | Mandar-Gajbhiye15/MLH-LHD-14-Jan | d5557fdc05edb24fbbc14c010e6c134340d1d460 | [
"MIT"
] | null | null | null | random_no.py | Mandar-Gajbhiye15/MLH-LHD-14-Jan | d5557fdc05edb24fbbc14c010e6c134340d1d460 | [
"MIT"
] | null | null | null | import random
print("Random number: ",random.random()) | 27.5 | 40 | 0.745455 | 7 | 55 | 5.857143 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 55 | 2 | 40 | 27.5 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
ada44450c3bdeeff556f2ebf41ee1c44cf63d87c | 120 | py | Python | imgreco/__init__.py | Sait0Yuuki/ArknightsAutoHelper | 5ecec0d120482c930181346cfdb8542090e169c1 | [
"MIT"
] | 3 | 2021-02-19T08:41:51.000Z | 2021-12-19T07:27:32.000Z | imgreco/__init__.py | Sait0Yuuki/ArknightsAutoHelper | 5ecec0d120482c930181346cfdb8542090e169c1 | [
"MIT"
] | null | null | null | imgreco/__init__.py | Sait0Yuuki/ArknightsAutoHelper | 5ecec0d120482c930181346cfdb8542090e169c1 | [
"MIT"
] | null | null | null | from util import image_hash_patch
from . import common, before_operation, end_operation, item, main, task, recruit, map
| 40 | 85 | 0.808333 | 18 | 120 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 120 | 2 | 86 | 60 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bc11a5f2ba798bec1bbf0ca1ece2fca6028772d6 | 67 | py | Python | bolt/cogs/meta/__init__.py | HeavyLobster/bolt | d50dd59d119a627bfac32fbed2544433f066399b | [
"0BSD"
] | null | null | null | bolt/cogs/meta/__init__.py | HeavyLobster/bolt | d50dd59d119a627bfac32fbed2544433f066399b | [
"0BSD"
] | null | null | null | bolt/cogs/meta/__init__.py | HeavyLobster/bolt | d50dd59d119a627bfac32fbed2544433f066399b | [
"0BSD"
] | null | null | null | from .cog import Meta
def setup(bot):
bot.add_cog(Meta(bot))
| 11.166667 | 26 | 0.671642 | 12 | 67 | 3.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 67 | 5 | 27 | 13.4 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 0 | 1 | 0 | 0 | 5 |
bc18a428fcdae446f16d0e121e3920b3fa9e403b | 4,600 | py | Python | test/test_list_transactions_by_address_response_item_blockchain_specific.py | xan187/Crypto_APIs_2.0_SDK_Python | a56c75df54ef037b39be1315ed6e54de35bed55b | [
"MIT"
] | null | null | null | test/test_list_transactions_by_address_response_item_blockchain_specific.py | xan187/Crypto_APIs_2.0_SDK_Python | a56c75df54ef037b39be1315ed6e54de35bed55b | [
"MIT"
] | null | null | null | test/test_list_transactions_by_address_response_item_blockchain_specific.py | xan187/Crypto_APIs_2.0_SDK_Python | a56c75df54ef037b39be1315ed6e54de35bed55b | [
"MIT"
] | 1 | 2021-07-21T03:35:18.000Z | 2021-07-21T03:35:18.000Z | """
CryptoAPIs
Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of thei... | 80.701754 | 484 | 0.898261 | 325 | 4,600 | 12.403077 | 0.350769 | 0.038204 | 0.051848 | 0.062764 | 0.214339 | 0.214339 | 0.214339 | 0.214339 | 0.214339 | 0.214339 | 0 | 0.003491 | 0.06587 | 4,600 | 56 | 485 | 82.142857 | 0.934606 | 0.195217 | 0 | 0.090909 | 0 | 0 | 0.177499 | 0.175314 | 0 | 0 | 0 | 0.017857 | 0 | 1 | 0.090909 | false | 0.090909 | 0.424242 | 0 | 0.545455 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
bc300efa75ea9e9f96e7fd4afba95f0720eb0e10 | 7,725 | py | Python | alerta/heartbeat.py | been2io/alerta | 510681bd8fcd5b266fab9c6e00a3abd25591a2b6 | [
"Apache-2.0"
] | null | null | null | alerta/heartbeat.py | been2io/alerta | 510681bd8fcd5b266fab9c6e00a3abd25591a2b6 | [
"Apache-2.0"
] | null | null | null | alerta/heartbeat.py | been2io/alerta | 510681bd8fcd5b266fab9c6e00a3abd25591a2b6 | [
"Apache-2.0"
] | null | null | null |
import os
import sys
import platform
import time
import datetime
import pytz
import json
from uuid import uuid4
from email import utils
DEFAULT_TIMEOUT = 300 # seconds
prog = os.path.basename(sys.argv[0])
class Heartbeat(object):
def __init__(self, origin=None, tags=None, create_time=None, timeout=None, cu... | 35.273973 | 132 | 0.559094 | 889 | 7,725 | 4.773903 | 0.150731 | 0.03393 | 0.049482 | 0.051838 | 0.716305 | 0.716305 | 0.700283 | 0.700283 | 0.700283 | 0.689208 | 0 | 0.009529 | 0.307184 | 7,725 | 218 | 133 | 35.43578 | 0.783445 | 0.007896 | 0 | 0.672414 | 0 | 0.011494 | 0.131218 | 0.008617 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103448 | false | 0 | 0.051724 | 0.051724 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
70bc7ec837f21d5aac05e7239641f6c3e74beb64 | 47,113 | py | Python | mysite/patterns/39.py | BioinfoNet/prepub | e19c48cabf8bd22736dcef9308a5e196cfd8119a | [
"MIT"
] | 19 | 2016-06-17T23:36:27.000Z | 2020-01-13T16:41:55.000Z | mysite/patterns/39.py | BioinfoNet/prepub | e19c48cabf8bd22736dcef9308a5e196cfd8119a | [
"MIT"
] | 13 | 2016-06-06T12:57:05.000Z | 2019-02-05T02:21:00.000Z | patterns/39.py | OmnesRes/GRIMMER | 173c99ebdb6a9edb1242d24a791d0c5d778ff643 | [
"MIT"
] | 7 | 2017-03-28T18:12:22.000Z | 2021-06-16T09:32:59.000Z | pattern_zero=[0.0, 0.024983563445, 0.048652202498, 0.051282051282, 0.07100591716, 0.076265614727, 0.092044707429, 0.09993425378, 0.102564102564, 0.111768573307, 0.122287968442, 0.127547666009, 0.130177514793, 0.143326758711, 0.147271531887, 0.151216305062, 0.153846153846, 0.163050624589, 0.173570019724, 0.177514792899,... | 9,422.6 | 17,605 | 0.79477 | 5,722 | 47,113 | 6.542992 | 0.14051 | 0.004487 | 0.003446 | 0.029167 | 0.563316 | 0.352627 | 0.352627 | 0.352627 | 0.351131 | 0 | 0 | 0.844683 | 0.060599 | 47,113 | 5 | 17,605 | 9,422.6 | 0.001243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
70ec22d4a94458ff555cdee8db530ccdbc870881 | 45 | py | Python | spimagine/models/__init__.py | funkelab/spimagine | d7fb0aac8986421df339486e1f0d33d0ba1c820c | [
"BSD-3-Clause"
] | 116 | 2015-05-06T16:13:55.000Z | 2022-03-21T21:13:15.000Z | spimagine/models/__init__.py | funkelab/spimagine | d7fb0aac8986421df339486e1f0d33d0ba1c820c | [
"BSD-3-Clause"
] | 33 | 2015-06-24T09:32:24.000Z | 2020-08-26T11:46:21.000Z | spimagine/models/__init__.py | funkelab/spimagine | d7fb0aac8986421df339486e1f0d33d0ba1c820c | [
"BSD-3-Clause"
] | 19 | 2015-06-24T12:19:22.000Z | 2021-11-28T21:38:21.000Z |
# from .keyframe_model import TransformData | 15 | 43 | 0.822222 | 5 | 45 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 3 | 43 | 15 | 0.923077 | 0.911111 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cb02efee2616abf46ddadb49e2778f6d6439cf40 | 184 | py | Python | src/__init__.py | trueto/chnlp_bert | 2cb9c34b394387081d1f018f5dd56af90c8a05b5 | [
"Apache-2.0"
] | null | null | null | src/__init__.py | trueto/chnlp_bert | 2cb9c34b394387081d1f018f5dd56af90c8a05b5 | [
"Apache-2.0"
] | null | null | null | src/__init__.py | trueto/chnlp_bert | 2cb9c34b394387081d1f018f5dd56af90c8a05b5 | [
"Apache-2.0"
] | null | null | null | from .configuration_chbert import CHBertConfig
from .tokenization_chbert import CHBertTokenizer,CHBertTokenizerFast
from .modeling_chbert import CHBertForPretraining, CHBertForMaskedLM | 61.333333 | 68 | 0.907609 | 17 | 184 | 9.647059 | 0.647059 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 184 | 3 | 69 | 61.333333 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cb0cd7e52d52acde72958a184323051d97db6d64 | 285 | py | Python | venv/lib/python2.7/site-packages/newrelic-2.62.0.47/newrelic/extras/framework_django/templatetags/newrelic_tags.py | CharleyFarley/ovvio | 81489ee64f91e4aab908731ce6ddf59edb9314bf | [
"MIT"
] | 1 | 2016-04-22T15:44:08.000Z | 2016-04-22T15:44:08.000Z | lib/python2.7/site-packages/newrelic-2.12.0.10/newrelic/extras/framework_django/templatetags/newrelic_tags.py | Arable/evepod | 85638e76cb8529e8ed38fa9849596374719bcb91 | [
"Apache-2.0"
] | null | null | null | lib/python2.7/site-packages/newrelic-2.12.0.10/newrelic/extras/framework_django/templatetags/newrelic_tags.py | Arable/evepod | 85638e76cb8529e8ed38fa9849596374719bcb91 | [
"Apache-2.0"
] | null | null | null | import django.template
from newrelic.hooks.framework_django import (
newrelic_browser_timing_header, newrelic_browser_timing_footer)
register = django.template.Library()
register.simple_tag(newrelic_browser_timing_header)
register.simple_tag(newrelic_browser_timing_footer)
| 28.5 | 71 | 0.85614 | 35 | 285 | 6.542857 | 0.428571 | 0.262009 | 0.366812 | 0.235808 | 0.331878 | 0.331878 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 285 | 9 | 72 | 31.666667 | 0.877395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cb3e84add35ebf80046d3c15e6381658fd251434 | 794 | py | Python | images/splunk/deployment/init_cluster_master.py | halr9000/docker-splunk-cluster | eebf20721fd7b88b1b9d92f919594a79c6758b10 | [
"OLDAP-2.6",
"OLDAP-2.4"
] | null | null | null | images/splunk/deployment/init_cluster_master.py | halr9000/docker-splunk-cluster | eebf20721fd7b88b1b9d92f919594a79c6758b10 | [
"OLDAP-2.6",
"OLDAP-2.4"
] | null | null | null | images/splunk/deployment/init_cluster_master.py | halr9000/docker-splunk-cluster | eebf20721fd7b88b1b9d92f919594a79c6758b10 | [
"OLDAP-2.6",
"OLDAP-2.4"
] | 1 | 2021-08-09T09:18:21.000Z | 2021-08-09T09:18:21.000Z | import os
import init_helpers
def configurations():
return {
"components": {
"kvstore": False,
"web": False,
"indexing": False,
"dmc": False
}
}
def substitution():
return {
"@CLUSTERING_PASS_4_SYMM_KEY@": os.environ.get("INIT_CLUS... | 31.76 | 126 | 0.65869 | 87 | 794 | 5.597701 | 0.356322 | 0.092402 | 0.123203 | 0.164271 | 0.447639 | 0.328542 | 0.11499 | 0.11499 | 0 | 0 | 0 | 0.009539 | 0.207809 | 794 | 24 | 127 | 33.083333 | 0.764706 | 0 | 0 | 0.105263 | 0 | 0 | 0.484887 | 0.410579 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | true | 0.105263 | 0.105263 | 0.105263 | 0.315789 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 5 |
cb93392e5526dc8ebea3e2b74189d54d57d61478 | 45 | py | Python | lesion_tool/__init__.py | atsuch/nighres | eb6265befb0b65b99c858ecb1c328d4d63e5a293 | [
"Apache-2.0"
] | null | null | null | lesion_tool/__init__.py | atsuch/nighres | eb6265befb0b65b99c858ecb1c328d4d63e5a293 | [
"Apache-2.0"
] | null | null | null | lesion_tool/__init__.py | atsuch/nighres | eb6265befb0b65b99c858ecb1c328d4d63e5a293 | [
"Apache-2.0"
] | 1 | 2019-01-21T10:53:38.000Z | 2019-01-21T10:53:38.000Z | from lesion_pipeline import Lesion_extractor
| 22.5 | 44 | 0.911111 | 6 | 45 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cbb367ea4dd17d626424ffbed69554f53dc78a43 | 229 | py | Python | dvalib/analysis.py | pune-lug/DeepVideoAnalytics | 2650037040dca49b0f537df576af123dae8cef97 | [
"Apache-2.0"
] | null | null | null | dvalib/analysis.py | pune-lug/DeepVideoAnalytics | 2650037040dca49b0f537df576af123dae8cef97 | [
"Apache-2.0"
] | null | null | null | dvalib/analysis.py | pune-lug/DeepVideoAnalytics | 2650037040dca49b0f537df576af123dae8cef97 | [
"Apache-2.0"
] | null | null | null | import cv2
import scenedetect
class FrameAnalysis(object):
def __init__(self,path):
pass
def blurryness(self):
return cv2.Laplacian(self.image, cv2.CV_64F).var()
class VideoAnalysis(object):
pass
| 15.266667 | 58 | 0.68559 | 28 | 229 | 5.428571 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027933 | 0.218341 | 229 | 14 | 59 | 16.357143 | 0.821229 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.222222 | 0.111111 | 0.777778 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
cbc1a64b1c662a1eff39151a8d1322458bde121c | 5,718 | py | Python | UpdatedSyntheticDataset/SyntheticDataset2/modular_synthetic_dataset_maker.py | liyu711/SUAS | 2f6592fc2ab316475eeabe2f4828e5ba5c1a4b0b | [
"MIT"
] | null | null | null | UpdatedSyntheticDataset/SyntheticDataset2/modular_synthetic_dataset_maker.py | liyu711/SUAS | 2f6592fc2ab316475eeabe2f4828e5ba5c1a4b0b | [
"MIT"
] | null | null | null | UpdatedSyntheticDataset/SyntheticDataset2/modular_synthetic_dataset_maker.py | liyu711/SUAS | 2f6592fc2ab316475eeabe2f4828e5ba5c1a4b0b | [
"MIT"
] | null | null | null | import os, multiprocessing, timeit
from SyntheticDataset2.ImageCreator import *
from SyntheticDataset2.logger import Logger
class ModularSyntheticDatasetMaker(object):
@staticmethod
def run_modular_target_maps_generator(number_of_target_maps, number_of_targets_on_each_map, process_number):
for index i... | 60.189474 | 205 | 0.714586 | 662 | 5,718 | 5.806647 | 0.123867 | 0.080125 | 0.08845 | 0.140479 | 0.883975 | 0.845734 | 0.786941 | 0.725026 | 0.665713 | 0.60744 | 0 | 0.001705 | 0.179258 | 5,718 | 94 | 206 | 60.829787 | 0.817388 | 0 | 0 | 0.473684 | 0 | 0 | 0.225953 | 0.092515 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0.026316 | 0.039474 | 0 | 0.105263 | 0.105263 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cbcc6029fc1a2b4410e6cce08524f670be3adce9 | 67 | py | Python | compiler-rt/test/sanitizer_common/ios_commands/iossim_prepare.py | rarutyun/llvm | 76fa6b3bcade074bdedef740001c4528e1aa08a8 | [
"Apache-2.0"
] | 305 | 2019-09-14T17:16:05.000Z | 2022-03-31T15:05:20.000Z | compiler-rt/test/sanitizer_common/ios_commands/iossim_prepare.py | rarutyun/llvm | 76fa6b3bcade074bdedef740001c4528e1aa08a8 | [
"Apache-2.0"
] | 410 | 2019-06-06T20:52:32.000Z | 2022-01-18T14:21:48.000Z | compiler-rt/test/sanitizer_common/ios_commands/iossim_prepare.py | rarutyun/llvm | 76fa6b3bcade074bdedef740001c4528e1aa08a8 | [
"Apache-2.0"
] | 50 | 2019-05-10T21:12:24.000Z | 2022-01-21T06:39:47.000Z | #!/usr/bin/env python
import json
print(json.dumps({"env": {}}))
| 11.166667 | 30 | 0.626866 | 10 | 67 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 5 | 31 | 13.4 | 0.711864 | 0.298507 | 0 | 0 | 0 | 0 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
1dcc0232d30c1b98a477811053ab7a44137102f7 | 222 | py | Python | py/5.py | ProgrammerKid/euler | bdccf3dd127aa421033613e57ed323a6e67a64ae | [
"BSD-3-Clause"
] | null | null | null | py/5.py | ProgrammerKid/euler | bdccf3dd127aa421033613e57ed323a6e67a64ae | [
"BSD-3-Clause"
] | null | null | null | py/5.py | ProgrammerKid/euler | bdccf3dd127aa421033613e57ed323a6e67a64ae | [
"BSD-3-Clause"
] | null | null | null | import lists, multiples
print "The LCM of all numbers below 10 is:\n" + str(1 * 2 * 2 * 2 * 3 * 3 * 5 * 7)
print "The LCM of all the numbers below 20 is:\n" + str(1 * 2 * 2 * 2 * 2 * 3 * 3 * 5 * 7 * 11 * 13 * 17 * 19)
| 37 | 110 | 0.540541 | 47 | 222 | 2.553191 | 0.510638 | 0.083333 | 0.075 | 0.216667 | 0.508333 | 0.241667 | 0.241667 | 0 | 0 | 0 | 0 | 0.188312 | 0.306306 | 222 | 5 | 111 | 44.4 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
1df07f953398fc58b0494fbc53ac845983fd1a31 | 19 | py | Python | posthog/version.py | csmatar/posthog | 4587cfe18625f302726c531f06a32c18e9749e9d | [
"MIT"
] | 58 | 2020-08-26T16:26:18.000Z | 2022-03-30T05:32:23.000Z | posthog/version.py | csmatar/posthog | 4587cfe18625f302726c531f06a32c18e9749e9d | [
"MIT"
] | 15 | 2021-11-09T10:49:34.000Z | 2021-11-09T16:11:01.000Z | posthog/version.py | csmatar/posthog | 4587cfe18625f302726c531f06a32c18e9749e9d | [
"MIT"
] | 13 | 2020-09-08T13:27:07.000Z | 2022-03-19T17:27:10.000Z | VERSION = "1.29.1"
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3811e01d5eb50e0e0dc5c38f510e963966ec55fc | 54 | py | Python | linkml/reporting/__init__.py | krishna-saravan/linkml | 8c34844ebaf054f44ceb386e4d51ee4c95dbebe6 | [
"CC0-1.0"
] | 83 | 2021-03-17T16:31:02.000Z | 2022-03-13T23:17:02.000Z | linkml/reporting/__init__.py | krishna-saravan/linkml | 8c34844ebaf054f44ceb386e4d51ee4c95dbebe6 | [
"CC0-1.0"
] | 390 | 2021-03-18T18:44:11.000Z | 2022-03-30T22:55:01.000Z | linkml/reporting/__init__.py | krishna-saravan/linkml | 8c34844ebaf054f44ceb386e4d51ee4c95dbebe6 | [
"CC0-1.0"
] | 20 | 2021-03-27T08:55:56.000Z | 2022-02-24T15:25:57.000Z | from linkml.reporting.model import Report, CheckResult | 54 | 54 | 0.87037 | 7 | 54 | 6.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 54 | 1 | 54 | 54 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3830922017380323512350bda9c296eee3666fd5 | 120 | py | Python | day_3/lists_iterable.py | anishLearnsToCode/python-training-1 | ef5d6b64f888e167faecd1410563173dcc27f319 | [
"MIT"
] | 3 | 2021-01-05T18:00:14.000Z | 2021-11-28T15:43:04.000Z | day_3/lists_iterable.py | anishLearnsToCode/python-training-1 | ef5d6b64f888e167faecd1410563173dcc27f319 | [
"MIT"
] | null | null | null | day_3/lists_iterable.py | anishLearnsToCode/python-training-1 | ef5d6b64f888e167faecd1410563173dcc27f319 | [
"MIT"
] | null | null | null | """
Time Complexity: O(1)
Space Complexity: O(1)
"""
for number in [2, 3, 5, 7, 11, 13, 19, 23, 29]:
print(number)
| 15 | 47 | 0.575 | 22 | 120 | 3.136364 | 0.818182 | 0.318841 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 0.216667 | 120 | 7 | 48 | 17.142857 | 0.56383 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.