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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a79dae93de9448cb5c94bee5b70aee0c41bab4e1 | 262 | py | Python | exo2/test.py | dgc-digitallab/interview-tests | e601b54acfb155cda6bc9c9a0718f63102cb0685 | [
"MIT"
] | null | null | null | exo2/test.py | dgc-digitallab/interview-tests | e601b54acfb155cda6bc9c9a0718f63102cb0685 | [
"MIT"
] | null | null | null | exo2/test.py | dgc-digitallab/interview-tests | e601b54acfb155cda6bc9c9a0718f63102cb0685 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
This module contains unit tests for the methods in utils file.
"""
from sublist_split import sublist_split
import pytest
def test_sublist_split_error_raised():
with pytest.raises(ValueError):
sublist_split([], 14, 12)
# TODO | 16.375 | 62 | 0.725191 | 37 | 262 | 4.945946 | 0.783784 | 0.262295 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023364 | 0.183206 | 262 | 16 | 63 | 16.375 | 0.831776 | 0.312977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7a8fa63c8a90e8798851038ad1654e096791a7d | 106 | py | Python | my_timesaver_utils/all.py | butchtm/my_timesaver_utils | eb1b84c89ce61c2f079e306e196f1945aa3b084d | [
"Apache-2.0"
] | 5 | 2020-10-19T23:35:26.000Z | 2021-03-25T15:19:40.000Z | my_timesaver_utils/all.py | butchtm/my_timesaver_utils | eb1b84c89ce61c2f079e306e196f1945aa3b084d | [
"Apache-2.0"
] | 2 | 2021-09-28T05:02:23.000Z | 2022-02-26T09:33:55.000Z | my_timesaver_utils/all.py | butchtm/my_timesaver_utils | eb1b84c89ce61c2f079e306e196f1945aa3b084d | [
"Apache-2.0"
] | null | null | null | from .profiling import *
from .profiling_callback import *
from .enhanced_imageclassifiercleaner import *
| 26.5 | 46 | 0.830189 | 11 | 106 | 7.818182 | 0.545455 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 106 | 3 | 47 | 35.333333 | 0.914894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7ca4dc6ccf81a1def10fc95523ec85d25ba8e20 | 89 | py | Python | src/calculator/square.py | premaseem/premaseem-pyutils | d45aefe324989bf55260937400d6c0ea04a0941a | [
"Apache-2.0",
"MIT"
] | null | null | null | src/calculator/square.py | premaseem/premaseem-pyutils | d45aefe324989bf55260937400d6c0ea04a0941a | [
"Apache-2.0",
"MIT"
] | null | null | null | src/calculator/square.py | premaseem/premaseem-pyutils | d45aefe324989bf55260937400d6c0ea04a0941a | [
"Apache-2.0",
"MIT"
] | null | null | null |
def get_square(number):
return number * number
# print(f"squae if {get_square(4)}") | 17.8 | 36 | 0.685393 | 14 | 89 | 4.214286 | 0.714286 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.168539 | 89 | 5 | 36 | 17.8 | 0.783784 | 0.382022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ac0039e7f291dd826f5aaa699ae45a0be1bc1fbd | 65 | py | Python | predictivepunter/test/__init__.py | JayTeeGeezy/predictivepunter | ee262c4323d6779b851639b802f3e57af151e2c5 | [
"MIT"
] | 1 | 2017-02-08T11:05:43.000Z | 2017-02-08T11:05:43.000Z | predictivepunter/test/__init__.py | JayTeeGeezy/predictivepunter | ee262c4323d6779b851639b802f3e57af151e2c5 | [
"MIT"
] | 28 | 2016-04-03T01:25:08.000Z | 2019-01-06T16:55:55.000Z | predictivepunter/test/__init__.py | JayTeeGeezy/predictivepunter | ee262c4323d6779b851639b802f3e57af151e2c5 | [
"MIT"
] | 2 | 2020-01-13T14:34:13.000Z | 2020-04-20T15:45:46.000Z | from .scrape import *
from .seed import *
from .predict import *
| 16.25 | 22 | 0.723077 | 9 | 65 | 5.222222 | 0.555556 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 23 | 21.666667 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac1e79fe7cdefdfc067f808eb0edf23ed1782f01 | 21 | py | Python | example/__init__.py | park-python/project-temlate | bbbbc0a451ff5bebc0acd077ace2a3c1fd74e408 | [
"MIT"
] | 2 | 2016-09-20T15:25:09.000Z | 2016-09-20T16:27:33.000Z | example/__init__.py | park-python/project-temlate | bbbbc0a451ff5bebc0acd077ace2a3c1fd74e408 | [
"MIT"
] | null | null | null | example/__init__.py | park-python/project-temlate | bbbbc0a451ff5bebc0acd077ace2a3c1fd74e408 | [
"MIT"
] | 1 | 2017-11-13T16:13:00.000Z | 2017-11-13T16:13:00.000Z | from core import run
| 10.5 | 20 | 0.809524 | 4 | 21 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac824beb13500d25fa23dd55c002cca348e450eb | 1,997 | py | Python | test_neighbors_lament.py | nodog/neighbors_lament | 73f8c13aeee7dc36bce070e9e9636f9180d9af7c | [
"MIT"
] | null | null | null | test_neighbors_lament.py | nodog/neighbors_lament | 73f8c13aeee7dc36bce070e9e9636f9180d9af7c | [
"MIT"
] | null | null | null | test_neighbors_lament.py | nodog/neighbors_lament | 73f8c13aeee7dc36bce070e9e9636f9180d9af7c | [
"MIT"
] | null | null | null | import neighbors_lament
import pytest
# take an integer as input, and output the largest integer below that uses the same digits.
# example: input 53442, output is 53424
# 34278 -> 32874
def test_valid_neighbor_too_small():
assert(neighbors_lament.lesser_neighbor(9)) == None
def test_valid_neighbor_for_small_num... | 46.44186 | 96 | 0.761142 | 317 | 1,997 | 4.44164 | 0.201893 | 0.245028 | 0.328125 | 0.287642 | 0.777699 | 0.585938 | 0.397727 | 0.37642 | 0.37642 | 0.37642 | 0 | 0.085907 | 0.108162 | 1,997 | 42 | 97 | 47.547619 | 0.70466 | 0.071107 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.709677 | 1 | 0.225806 | true | 0 | 0.064516 | 0 | 0.290323 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3baf08fe4b8bcf11971f8fa884c1f371454079b2 | 107 | py | Python | app/tasks/__init__.py | kirimemail/spam-classifier | 47f23b869c5bfe463b17fe2559c66f5256b079bc | [
"MIT"
] | 4 | 2018-08-14T02:06:15.000Z | 2020-09-18T10:53:19.000Z | app/tasks/__init__.py | kirimemail/spam-classifier | 47f23b869c5bfe463b17fe2559c66f5256b079bc | [
"MIT"
] | null | null | null | app/tasks/__init__.py | kirimemail/spam-classifier | 47f23b869c5bfe463b17fe2559c66f5256b079bc | [
"MIT"
] | null | null | null | from .multiply import multiply
from .train import train_model
from .detect_language import detect_language
| 26.75 | 44 | 0.859813 | 15 | 107 | 5.933333 | 0.466667 | 0.314607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 3 | 45 | 35.666667 | 0.936842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce17a06a70cb6a0be314b4d5388e1e6a780c8681 | 149 | py | Python | cristal.py | lauralardies/agregacionycomposicion | c842f004b9becf906f0a65244b107cb329607b61 | [
"Apache-2.0"
] | null | null | null | cristal.py | lauralardies/agregacionycomposicion | c842f004b9becf906f0a65244b107cb329607b61 | [
"Apache-2.0"
] | null | null | null | cristal.py | lauralardies/agregacionycomposicion | c842f004b9becf906f0a65244b107cb329607b61 | [
"Apache-2.0"
] | null | null | null | class Cristal:
def __init__(self, superficie):
self.__superficie = superficie
def superficie(self):
return self.__superficie | 24.833333 | 38 | 0.684564 | 15 | 149 | 6.266667 | 0.466667 | 0.446809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241611 | 149 | 6 | 39 | 24.833333 | 0.831858 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ce3495841f6535d83fe805711cb1ff8a362bb782 | 4,457 | py | Python | src/ctc/rpc/rpc_executors_async/rpc_log_executors_async.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | src/ctc/rpc/rpc_executors_async/rpc_log_executors_async.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | src/ctc/rpc/rpc_executors_async/rpc_log_executors_async.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | from __future__ import annotations
import typing
from ctc import spec
from .. import rpc_constructors
from .. import rpc_digestors
from .. import rpc_request
async def async_eth_new_filter(
address: spec.Address | None = None,
topics: typing.Sequence[spec.BinaryData] | None = None,
start_block: spec.Bl... | 33.014815 | 77 | 0.737492 | 515 | 4,457 | 6.023301 | 0.099029 | 0.094778 | 0.099291 | 0.036106 | 0.921341 | 0.896518 | 0.872985 | 0.872985 | 0.872985 | 0.870406 | 0 | 0 | 0.189589 | 4,457 | 134 | 78 | 33.261194 | 0.858804 | 0 | 0 | 0.626087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052174 | 0 | 0.113043 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0200d6d550038aedc4ad0dcaa7a66e021299d345 | 2,647 | py | Python | treasuryapp/filters.py | JBthePenguin/GereTonAsso | 283410f09d51ff48861aa6b6bf1d7985fba8f2f7 | [
"MIT"
] | null | null | null | treasuryapp/filters.py | JBthePenguin/GereTonAsso | 283410f09d51ff48861aa6b6bf1d7985fba8f2f7 | [
"MIT"
] | null | null | null | treasuryapp/filters.py | JBthePenguin/GereTonAsso | 283410f09d51ff48861aa6b6bf1d7985fba8f2f7 | [
"MIT"
] | null | null | null | from django import forms
import django_filters
from treasuryapp.models import Transaction, MoneyDeposit, MoneyWithdrawal
from memberapp.models import Member
class TransactionFilter(django_filters.FilterSet):
"""Subclass of django_filters.FilterSet """
wording = django_filters.CharFilter(
lookup_expr='... | 36.763889 | 73 | 0.693615 | 303 | 2,647 | 5.844884 | 0.194719 | 0.101637 | 0.066064 | 0.09825 | 0.780915 | 0.780915 | 0.780915 | 0.780915 | 0.689441 | 0.689441 | 0 | 0 | 0.185115 | 2,647 | 71 | 74 | 37.28169 | 0.821048 | 0.042312 | 0 | 0.622642 | 0 | 0 | 0.116759 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113208 | false | 0 | 0.075472 | 0.113208 | 0.584906 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
027f76083c8573735a4d3852580080c8d48115b5 | 296 | py | Python | pqcli/ui/curses/views/base_view.py | tree-s/pq-cli | f5d0ed69a99c490a63f854442fba2b443e59a134 | [
"MIT"
] | 94 | 2018-11-17T22:40:16.000Z | 2022-03-28T05:09:16.000Z | pqcli/ui/curses/views/base_view.py | tree-s/pq-cli | f5d0ed69a99c490a63f854442fba2b443e59a134 | [
"MIT"
] | 17 | 2019-04-10T18:06:46.000Z | 2022-03-03T03:25:08.000Z | pqcli/ui/curses/views/base_view.py | tree-s/pq-cli | f5d0ed69a99c490a63f854442fba2b443e59a134 | [
"MIT"
] | 14 | 2019-04-10T21:33:14.000Z | 2022-02-16T14:42:56.000Z | import typing as T
class BaseView:
def __init__(self, screen: T.Any) -> None:
self.screen = screen
def start(self) -> None:
pass
def stop(self) -> None:
pass
def idle(self) -> None:
pass
def keypress(self, key: int) -> None:
pass
| 15.578947 | 46 | 0.540541 | 38 | 296 | 4.105263 | 0.5 | 0.205128 | 0.230769 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.347973 | 296 | 18 | 47 | 16.444444 | 0.80829 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0.333333 | 0.083333 | 0 | 0.583333 | 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 | 1 | 0 | 0 | 6 |
028af21ce09ae8656dcd516467fa3c692142da55 | 32 | py | Python | python/apollo/model/__init__.py | gengoai/mono-repo | 50e95c16579aaa8a4ee0776582964868b5625415 | [
"Apache-2.0"
] | 1 | 2021-03-15T12:12:38.000Z | 2021-03-15T12:12:38.000Z | python/apollo/model/__init__.py | gengoai/mono-repo | 50e95c16579aaa8a4ee0776582964868b5625415 | [
"Apache-2.0"
] | 5 | 2021-03-31T17:54:38.000Z | 2022-02-10T02:40:07.000Z | python/apollo/model/__init__.py | gengoai/gengoai | 50e95c16579aaa8a4ee0776582964868b5625415 | [
"Apache-2.0"
] | null | null | null | from apollo.model.base import *
| 16 | 31 | 0.78125 | 5 | 32 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a0a13001cbe45c059ff8ca4ad4d71e253bb22bd | 114 | py | Python | Access01/views.py | Seagulls-ynu/Accessor | b6243601379ec1f8e77eccfbab127fddc30a3753 | [
"MIT"
] | 1 | 2021-01-24T16:37:40.000Z | 2021-01-24T16:37:40.000Z | Access01/views.py | Seagulls-ynu/Accessor | b6243601379ec1f8e77eccfbab127fddc30a3753 | [
"MIT"
] | null | null | null | Access01/views.py | Seagulls-ynu/Accessor | b6243601379ec1f8e77eccfbab127fddc30a3753 | [
"MIT"
] | 2 | 2021-01-24T16:35:39.000Z | 2021-01-24T17:34:50.000Z | from django.shortcuts import render
def login(request):
return render(request, 'pages/index.html', locals()) | 19 | 53 | 0.745614 | 15 | 114 | 5.666667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 114 | 6 | 53 | 19 | 0.858586 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
5a1253e150fa4e75b012ad070e64bcdd219c1e67 | 29 | py | Python | examples/python_bindings/__init__.py | ONLYA/RoboGrammar | 4b9725739b24dc9df4049866c177db788b1e458f | [
"MIT"
] | 156 | 2020-10-02T14:33:22.000Z | 2022-03-17T22:30:30.000Z | examples/python_bindings/__init__.py | ONLYA/RoboGrammar | 4b9725739b24dc9df4049866c177db788b1e458f | [
"MIT"
] | 10 | 2020-12-14T01:24:03.000Z | 2022-02-16T10:01:16.000Z | examples/python_bindings/__init__.py | ONLYA/RoboGrammar | 4b9725739b24dc9df4049866c177db788b1e458f | [
"MIT"
] | 43 | 2020-10-02T00:01:17.000Z | 2022-03-06T17:02:38.000Z | from .pyrobotdesign import *
| 14.5 | 28 | 0.793103 | 3 | 29 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a15c69dbdccba3667f8784c44d402f0b9ab9ac4 | 201 | py | Python | impl/recommender/vector/idf/__init__.py | dustywind/bachelor-thesis | be06aaeb1b4d73f727a19029a3416a9b8043194d | [
"MIT"
] | null | null | null | impl/recommender/vector/idf/__init__.py | dustywind/bachelor-thesis | be06aaeb1b4d73f727a19029a3416a9b8043194d | [
"MIT"
] | null | null | null | impl/recommender/vector/idf/__init__.py | dustywind/bachelor-thesis | be06aaeb1b4d73f727a19029a3416a9b8043194d | [
"MIT"
] | null | null | null |
"""Inverse document frequency
"""
from .inversedocumentfrequencyvector import InverseDocumentFrequencyVector
from .inversedocumentfrequencyvectorcreator import InverseDocumentFrequencyVectorCreator
| 25.125 | 88 | 0.885572 | 11 | 201 | 16.181818 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 201 | 7 | 89 | 28.714286 | 0.956989 | 0.129353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a6db45ee8e884cecebe0700553adc0d544a1107 | 78 | py | Python | maker/__init__.py | amirgeva/termed_plugins | bdd918752a89468955c888e777c88045cddefe1c | [
"BSD-3-Clause"
] | null | null | null | maker/__init__.py | amirgeva/termed_plugins | bdd918752a89468955c888e777c88045cddefe1c | [
"BSD-3-Clause"
] | 13 | 2021-07-03T09:31:33.000Z | 2021-08-07T18:16:51.000Z | maker/__init__.py | amirgeva/termed_plugins | bdd918752a89468955c888e777c88045cddefe1c | [
"BSD-3-Clause"
] | null | null | null | from .maker_plugin import MakerPlugin
def create():
return MakerPlugin()
| 15.6 | 37 | 0.75641 | 9 | 78 | 6.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 78 | 4 | 38 | 19.5 | 0.892308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
ce7e0012c92ddaa461201b884eb4614c789af17a | 10,526 | py | Python | src/main/start.py | Terrathaw/ba21_loma_2_py | eebf5104dd054cef1ab61f0b257933ff679e75ec | [
"MIT"
] | null | null | null | src/main/start.py | Terrathaw/ba21_loma_2_py | eebf5104dd054cef1ab61f0b257933ff679e75ec | [
"MIT"
] | null | null | null | src/main/start.py | Terrathaw/ba21_loma_2_py | eebf5104dd054cef1ab61f0b257933ff679e75ec | [
"MIT"
] | null | null | null | import dsp.source as source
from controller import Controller
from main.common.enums import WindowType
from main.dsp.phase import *
from main.dsp.resample import *
from main.dsp.transform import *
""""Different phase shifters with configurations. Can process multiple configs successively."""
configs = {
# Based on... | 89.965812 | 221 | 0.778358 | 1,263 | 10,526 | 6.378464 | 0.141726 | 0.054618 | 0.106504 | 0.125869 | 0.863083 | 0.832547 | 0.771971 | 0.75931 | 0.700968 | 0.53215 | 0 | 0.014693 | 0.101273 | 10,526 | 116 | 222 | 90.741379 | 0.836892 | 0.812559 | 0 | 0.193548 | 0 | 0 | 0.020556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.193548 | 0 | 0.258065 | 0.032258 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ce8017e49ba4d0b7eae63aab007fd6b74eb78a94 | 25 | py | Python | src/slizzy/mp3co/__init__.py | matheushsouza/slizzy | f224b8e4621d11031315da9178202781b4a2dcef | [
"BSD-3-Clause"
] | 1 | 2019-12-24T03:08:12.000Z | 2019-12-24T03:08:12.000Z | src/slizzy/mp3co/__init__.py | matheushsouza/slizzy | f224b8e4621d11031315da9178202781b4a2dcef | [
"BSD-3-Clause"
] | null | null | null | src/slizzy/mp3co/__init__.py | matheushsouza/slizzy | f224b8e4621d11031315da9178202781b4a2dcef | [
"BSD-3-Clause"
] | null | null | null | from .mp3co import mp3co
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce86b05aa5abb73aec2be81b9ddbb3b47c6faec0 | 747 | py | Python | terra_notebook_utils/cli/main.py | xbrianh/terra-notebook-utils | d26d0abdf3d563299f8878ced950260575e0df1e | [
"MIT"
] | 9 | 2020-03-05T01:23:22.000Z | 2022-02-07T02:23:08.000Z | terra_notebook_utils/cli/main.py | xbrianh/terra-notebook-utils | d26d0abdf3d563299f8878ced950260575e0df1e | [
"MIT"
] | 131 | 2020-04-08T19:06:45.000Z | 2022-03-11T01:33:10.000Z | terra_notebook_utils/cli/main.py | xbrianh/terra-notebook-utils | d26d0abdf3d563299f8878ced950260575e0df1e | [
"MIT"
] | 2 | 2021-04-30T03:32:48.000Z | 2021-09-22T17:39:20.000Z | """This is the main CLI entry point."""
import sys
# Only the commands modules imported here are available to the CLI
# These must be imported before dispatch
import terra_notebook_utils.cli.commands.config
import terra_notebook_utils.cli.commands.vcf
import terra_notebook_utils.cli.commands.workspace
import terra_not... | 33.954545 | 66 | 0.78581 | 109 | 747 | 5.183486 | 0.40367 | 0.20708 | 0.286726 | 0.297345 | 0.433628 | 0.433628 | 0 | 0 | 0 | 0 | 0 | 0.004623 | 0.131191 | 747 | 21 | 67 | 35.571429 | 0.865948 | 0.184739 | 0 | 0 | 0 | 0 | 0.01495 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | true | 0 | 0.666667 | 0 | 0.733333 | 0.066667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ceafeba86d0103582a80b94175ae03971f337d7f | 15,780 | py | Python | quantiphyse/packages/core/analysis/tests.py | physimals/quantiphyse | bd3be0098b9929b1987fe0f23e515fa70674b3d4 | [
"Apache-2.0"
] | 9 | 2021-02-01T06:44:31.000Z | 2022-01-17T15:46:40.000Z | quantiphyse/packages/core/analysis/tests.py | ibme-qubic/quantiphyse | 34f40424941414ce139c4612a903de3f24883576 | [
"Apache-2.0"
] | 34 | 2019-02-04T10:47:02.000Z | 2020-08-13T09:36:52.000Z | quantiphyse/packages/core/analysis/tests.py | physimals/quantiphyse | bd3be0098b9929b1987fe0f23e515fa70674b3d4 | [
"Apache-2.0"
] | 2 | 2021-02-21T01:46:04.000Z | 2021-11-15T10:55:26.000Z | import unittest
import re
import numpy as np
from PySide2 import QtGui, QtCore, QtWidgets
from quantiphyse.data import DataGrid
from quantiphyse.test.widget_test import WidgetTest
from .widgets import DataStatistics, MultiVoxelAnalysis, VoxelAnalysis, MeasureWidget
class DataStatisticsTest(WidgetTest):
def wi... | 38.300971 | 107 | 0.603295 | 2,206 | 15,780 | 4.230281 | 0.086582 | 0.045006 | 0.096764 | 0.042435 | 0.851907 | 0.833262 | 0.785041 | 0.753215 | 0.719781 | 0.715709 | 0 | 0.044291 | 0.230228 | 15,780 | 411 | 108 | 38.394161 | 0.723965 | 0.012041 | 0 | 0.677612 | 0 | 0 | 0.032831 | 0.016029 | 0 | 0 | 0 | 0 | 0.262687 | 1 | 0.077612 | false | 0 | 0.020896 | 0.01194 | 0.122388 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cec6e03db5a57d053f5b7f87fd73198b8efc0698 | 164 | py | Python | python/find_missing_letter.py | boranseckin/codewars | 6e82d5a0bcdbaf695ed80a0ce120f5b37cc45015 | [
"MIT"
] | null | null | null | python/find_missing_letter.py | boranseckin/codewars | 6e82d5a0bcdbaf695ed80a0ce120f5b37cc45015 | [
"MIT"
] | null | null | null | python/find_missing_letter.py | boranseckin/codewars | 6e82d5a0bcdbaf695ed80a0ce120f5b37cc45015 | [
"MIT"
] | null | null | null | def find_missing_letter(chars):
for i in range(1, len(chars)):
if not ord(chars[i]) == ord(chars[i - 1]) + 1:
return chr(ord(chars[i]) - 1)
| 32.8 | 54 | 0.554878 | 28 | 164 | 3.178571 | 0.571429 | 0.269663 | 0.303371 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.268293 | 164 | 4 | 55 | 41 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cecfb872674b811868385321c28706ed7f41dfae | 609 | py | Python | trochilidae/interoperable_with_metaclass.py | MATTHEWFRAZER/trochilidae | 35e907ba9dcb1f283f79f4f32d61db6b53a1ca97 | [
"MIT"
] | null | null | null | trochilidae/interoperable_with_metaclass.py | MATTHEWFRAZER/trochilidae | 35e907ba9dcb1f283f79f4f32d61db6b53a1ca97 | [
"MIT"
] | null | null | null | trochilidae/interoperable_with_metaclass.py | MATTHEWFRAZER/trochilidae | 35e907ba9dcb1f283f79f4f32d61db6b53a1ca97 | [
"MIT"
] | 1 | 2021-11-12T18:49:15.000Z | 2021-11-12T18:49:15.000Z | from future.utils import with_metaclass as with_metaclass_future
from six import with_metaclass as with_metaclass_six
__all__ = ["interoperable_with_metaclass_future", "interoperable_with_metaclass_six"]
def interoperable_with_metaclass(with_metaclass, metaclass):
return type("{0}Wrapper".format(metaclass.__name... | 35.823529 | 90 | 0.842365 | 73 | 609 | 6.506849 | 0.232877 | 0.410526 | 0.383158 | 0.183158 | 0.612632 | 0.370526 | 0.227368 | 0 | 0 | 0 | 0 | 0.001795 | 0.085386 | 609 | 16 | 91 | 38.0625 | 0.850987 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 0.110016 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0.333333 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0ca865c82e505766ec52c067ce41e899e0ce7561 | 146 | py | Python | library_management/library_management/doctype/customer_account/test_customer_account.py | jcgurango/library_management | f9859499eb12414889277fbdadfcd60290c320dd | [
"MIT"
] | null | null | null | library_management/library_management/doctype/customer_account/test_customer_account.py | jcgurango/library_management | f9859499eb12414889277fbdadfcd60290c320dd | [
"MIT"
] | null | null | null | library_management/library_management/doctype/customer_account/test_customer_account.py | jcgurango/library_management | f9859499eb12414889277fbdadfcd60290c320dd | [
"MIT"
] | null | null | null | # Copyright (c) 2021, JC and Contributors
# See license.txt
# import frappe
import unittest
class TestCustomerAccount(unittest.TestCase):
pass
| 16.222222 | 45 | 0.780822 | 18 | 146 | 6.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032 | 0.143836 | 146 | 8 | 46 | 18.25 | 0.88 | 0.472603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0cea6471cd847335c844324978aa250b20f03559 | 5,064 | py | Python | drama/trash/NN.py | vafaei-ar/pymce | c01197b74fb515a0d6e400310c4d5c0ffad0f3c9 | [
"BSD-3-Clause"
] | 16 | 2019-09-11T12:53:15.000Z | 2021-12-09T12:07:51.000Z | drama/trash/NN.py | vafaei-ar/pymce | c01197b74fb515a0d6e400310c4d5c0ffad0f3c9 | [
"BSD-3-Clause"
] | null | null | null | drama/trash/NN.py | vafaei-ar/pymce | c01197b74fb515a0d6e400310c4d5c0ffad0f3c9 | [
"BSD-3-Clause"
] | 3 | 2019-12-12T08:55:44.000Z | 2021-08-23T04:37:53.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
import tensorflow as tf
def nearest_neighbor(components, X, distance='L1'):
# Initializing the tensor flow variables
init = tf.global_variables_initializer()
# Launch the session
sess ... | 35.914894 | 150 | 0.734202 | 884 | 5,064 | 3.932127 | 0.125566 | 0.066168 | 0.066168 | 0.058688 | 0.813003 | 0.798331 | 0.786824 | 0.784522 | 0.777618 | 0.777618 | 0 | 0.016711 | 0.113744 | 5,064 | 140 | 151 | 36.171429 | 0.757799 | 0.076817 | 0 | 0.561798 | 0 | 0 | 0.007293 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05618 | false | 0 | 0.05618 | 0.011236 | 0.168539 | 0.011236 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b7e2ae2b0a8c904bfe06193fb29ceccba13df84 | 1,201 | py | Python | test/test_attestation_authority_attestation_authority_hint.py | atlassian-forks/client-python | 111cb2184324595931e42233707a58cff77cb6ec | [
"Apache-2.0"
] | 6 | 2018-01-22T21:54:56.000Z | 2020-07-26T14:52:13.000Z | test/test_attestation_authority_attestation_authority_hint.py | atlassian-forks/client-python | 111cb2184324595931e42233707a58cff77cb6ec | [
"Apache-2.0"
] | 6 | 2018-07-12T12:56:16.000Z | 2021-07-13T00:33:24.000Z | test/test_attestation_authority_attestation_authority_hint.py | atlassian-forks/client-python | 111cb2184324595931e42233707a58cff77cb6ec | [
"Apache-2.0"
] | 19 | 2018-07-12T11:08:44.000Z | 2022-03-09T06:17:04.000Z | # coding: utf-8
"""
An API to insert and retrieve metadata on cloud artifacts.
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: v1alpha1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
... | 29.292683 | 142 | 0.767694 | 116 | 1,201 | 7.767241 | 0.568966 | 0.08879 | 0.031077 | 0.046615 | 0.210877 | 0.210877 | 0.210877 | 0 | 0 | 0 | 0 | 0.011952 | 0.16403 | 1,201 | 40 | 143 | 30.025 | 0.885458 | 0.509575 | 0 | 0.214286 | 1 | 0 | 0.014625 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e7e71c528ae4b976fd18b053a7dca80f200ede89 | 30 | py | Python | email_analytics/__init__.py | jiachenghe666/email_analytics | 8923e5f5c69377b7e5ec61264c8e5199b4f77ca5 | [
"MIT"
] | null | null | null | email_analytics/__init__.py | jiachenghe666/email_analytics | 8923e5f5c69377b7e5ec61264c8e5199b4f77ca5 | [
"MIT"
] | null | null | null | email_analytics/__init__.py | jiachenghe666/email_analytics | 8923e5f5c69377b7e5ec61264c8e5199b4f77ca5 | [
"MIT"
] | null | null | null | from .email_analytics import * | 30 | 30 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e7ef63897cc21bf471333233c3c5ad6c8a1a49dc | 142 | py | Python | setup.py | barronh/cmaqkrig | 9507f804428ca7d4fea536206a68b23b72de27af | [
"CC0-1.0"
] | 1 | 2021-02-10T04:03:36.000Z | 2021-02-10T04:03:36.000Z | setup.py | barronh/cmaqml | 9507f804428ca7d4fea536206a68b23b72de27af | [
"CC0-1.0"
] | null | null | null | setup.py | barronh/cmaqml | 9507f804428ca7d4fea536206a68b23b72de27af | [
"CC0-1.0"
] | null | null | null | from __future__ import print_function
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup()
| 17.75 | 37 | 0.788732 | 18 | 142 | 5.944444 | 0.666667 | 0.205607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176056 | 142 | 7 | 38 | 20.285714 | 0.91453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f00831fce23dc47abfc1d003f936242c212aae45 | 18 | py | Python | wikigps/__init__.py | crdoconnor/wikigps | 1234aefcfd64bfffa2aaab4234f17600f180f5ae | [
"Apache-2.0"
] | 20 | 2019-10-08T10:00:19.000Z | 2022-01-08T16:16:19.000Z | wikigps/__init__.py | crdoconnor/wikigps | 1234aefcfd64bfffa2aaab4234f17600f180f5ae | [
"Apache-2.0"
] | 19 | 2020-04-12T12:33:03.000Z | 2021-11-28T22:53:19.000Z | wikigps/__init__.py | crdoconnor/wikigps | 1234aefcfd64bfffa2aaab4234f17600f180f5ae | [
"Apache-2.0"
] | 9 | 2019-12-26T07:56:36.000Z | 2022-02-15T18:38:29.000Z | from . import cli
| 9 | 17 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f022820ceb009e8fc165dba82b7f5bc46672245b | 117 | py | Python | blackwidow/tests/test_error.py | stitch/BlackWidow | b03353f75104fbc9a3854214524006ae586dba2f | [
"MIT"
] | 131 | 2015-09-08T05:56:23.000Z | 2021-10-15T11:04:34.000Z | blackwidow/tests/test_error.py | stitch/BlackWidow | b03353f75104fbc9a3854214524006ae586dba2f | [
"MIT"
] | 14 | 2015-09-08T06:49:36.000Z | 2020-08-13T09:10:36.000Z | blackwidow/tests/test_error.py | madisonmay/BlackWidow | 9cb9551d665ddbadce53847d3191a627fe59566a | [
"MIT"
] | 5 | 2015-09-27T17:21:28.000Z | 2020-08-13T10:47:04.000Z | from blackwidow import error
def test_blackwidow_error():
assert isinstance(error.BlackWidowIOError(), IOError)
| 23.4 | 57 | 0.803419 | 13 | 117 | 7.076923 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119658 | 117 | 4 | 58 | 29.25 | 0.893204 | 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 | 1 | 0 | 0 | 6 |
f063b6fb93ddb04041f74e6572ca005fb5edd4fc | 193 | py | Python | constants.py | genughaben/shoptrail-yolo | 0b7600601ae864a49353e82638a3eca69f1bdee7 | [
"Apache-2.0"
] | null | null | null | constants.py | genughaben/shoptrail-yolo | 0b7600601ae864a49353e82638a3eca69f1bdee7 | [
"Apache-2.0"
] | 10 | 2020-03-24T15:46:53.000Z | 2022-03-11T23:24:14.000Z | constants.py | genughaben/shoptrail-yolo | 0b7600601ae864a49353e82638a3eca69f1bdee7 | [
"Apache-2.0"
] | null | null | null |
IMAGES_FOLDER = "/Users/frank/Development/shoptrail/shoptrail-camera/images/"
VIDEO_WIDTH = 416
VIDEO_HEIGHT = 416
VIDEO_FOLDER = '/Users/frank/Development/shoptrail/shoptrail-camera/videos/'
| 32.166667 | 77 | 0.80829 | 24 | 193 | 6.333333 | 0.5 | 0.144737 | 0.210526 | 0.355263 | 0.671053 | 0.671053 | 0.671053 | 0 | 0 | 0 | 0 | 0.033333 | 0.067358 | 193 | 5 | 78 | 38.6 | 0.811111 | 0 | 0 | 0 | 0 | 0 | 0.614583 | 0.614583 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b2ee73764cdb4c30d3e4398525f1e6150d4efe73 | 11,309 | py | Python | reg_tests/MoordynChecks/MoordynQSchecks.py | erickaloz/openfast | 09a061a62eb28b2e57ab1cae38d0009fd0e50037 | [
"Apache-2.0"
] | null | null | null | reg_tests/MoordynChecks/MoordynQSchecks.py | erickaloz/openfast | 09a061a62eb28b2e57ab1cae38d0009fd0e50037 | [
"Apache-2.0"
] | null | null | null | reg_tests/MoordynChecks/MoordynQSchecks.py | erickaloz/openfast | 09a061a62eb28b2e57ab1cae38d0009fd0e50037 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Fri Oct 1 14:00:45 2021
@author: elozon
"""
from moorpy.Catenary import catenary
import moorpy as mp
import numpy as np
import os
import sys
basepath = "C:/code/openfast/reg_tests"
sys.path.insert(0, os.path.sep.join([basepath, "lib"]))
import argparse
import shutil
import glo... | 39.820423 | 211 | 0.636484 | 1,542 | 11,309 | 4.594682 | 0.166667 | 0.016937 | 0.003811 | 0.012703 | 0.827805 | 0.816937 | 0.799012 | 0.780805 | 0.765561 | 0.765561 | 0 | 0.036559 | 0.226015 | 11,309 | 284 | 212 | 39.820423 | 0.772878 | 0.284287 | 0 | 0.601351 | 0 | 0.02027 | 0.12441 | 0.00957 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0.040541 | 0.108108 | 0 | 0.155405 | 0.067568 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e8fba42244c4d1499261b90f3b97c3529bc41f21 | 6,189 | py | Python | ctr_funcs.py | oywtece/minet | 13354c31d398cbb2d12b49935956b9b3873a6dc9 | [
"MIT"
] | 48 | 2020-08-10T12:31:21.000Z | 2022-03-04T14:25:16.000Z | ctr_funcs.py | oywtece/minet | 13354c31d398cbb2d12b49935956b9b3873a6dc9 | [
"MIT"
] | 7 | 2020-10-27T07:56:29.000Z | 2021-12-03T07:16:30.000Z | ctr_funcs.py | oywtece/minet | 13354c31d398cbb2d12b49935956b9b3873a6dc9 | [
"MIT"
] | 12 | 2020-09-03T08:19:52.000Z | 2022-03-01T12:48:11.000Z | import tensorflow as tf
import numpy as np
import datetime
from sklearn import metrics
def cal_auc(pred_score, label):
fpr, tpr, thresholds = metrics.roc_curve(label, pred_score, pos_label=1)
auc_val = metrics.auc(fpr, tpr)
return auc_val, fpr, tpr
def cal_rmse(pred_score, label):
mse = metrics.mean_s... | 45.507353 | 115 | 0.74697 | 913 | 6,189 | 4.754655 | 0.180723 | 0.040544 | 0.076019 | 0.042387 | 0.803271 | 0.795439 | 0.789449 | 0.782999 | 0.761345 | 0.75812 | 0 | 0.01073 | 0.171756 | 6,189 | 135 | 116 | 45.844444 | 0.83613 | 0.174018 | 0 | 0.5625 | 0 | 0 | 0.010812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135417 | false | 0 | 0.041667 | 0 | 0.302083 | 0.020833 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
336f900985f4fe7446b7c808704f33e985779e17 | 325 | py | Python | {{cookiecutter.repository_name}}/{{cookiecutter.package_name}}/datastream/__init__.py | Aiwizo/pytorch-lantern-template | cc20b82ac91d0291c0c981f4afc87ca4c6422207 | [
"Apache-2.0"
] | 1 | 2021-04-13T14:13:16.000Z | 2021-04-13T14:13:16.000Z | {{cookiecutter.repository_name}}/{{cookiecutter.package_name}}/datastream/__init__.py | Aiwizo/pytorch-lantern-template | cc20b82ac91d0291c0c981f4afc87ca4c6422207 | [
"Apache-2.0"
] | 10 | 2020-12-17T07:26:29.000Z | 2021-08-13T07:43:17.000Z | {{cookiecutter.repository_name}}/{{cookiecutter.package_name}}/datastream/__init__.py | Aiwizo/pytorch-lantern-template | cc20b82ac91d0291c0c981f4afc87ca4c6422207 | [
"Apache-2.0"
] | null | null | null | from {{cookiecutter.package_name}}.datastream.datasets import datasets
from {{cookiecutter.package_name}}.datastream.augmenter import augmenter
from {{cookiecutter.package_name}}.datastream.evaluate_datastreams import evaluate_datastreams
from {{cookiecutter.package_name}}.datastream.train_datastream import TrainDatast... | 65 | 94 | 0.864615 | 35 | 325 | 7.828571 | 0.342857 | 0.233577 | 0.335766 | 0.394161 | 0.540146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049231 | 325 | 4 | 95 | 81.25 | 0.886731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3371c538503953ff1bdb17fcc1a8cd1c3dc3d961 | 120 | py | Python | src/src2/conditions.py | chang-ngeno/ibook-cs050 | ce545ae6d00bf5adfa2a1b7d263876136c1f570c | [
"MIT"
] | null | null | null | src/src2/conditions.py | chang-ngeno/ibook-cs050 | ce545ae6d00bf5adfa2a1b7d263876136c1f570c | [
"MIT"
] | 4 | 2020-06-06T01:26:20.000Z | 2021-06-10T22:35:19.000Z | CS50_web_dev/src/src2/conditions.py | ChuaCheowHuan/web_app_DPTH | dd901e6359fe76f15b69701c53f76666c3219173 | [
"MIT"
] | 1 | 2020-05-09T15:21:34.000Z | 2020-05-09T15:21:34.000Z | x = int(input())
if x > 0:
print("x is positive")
elif x < 0:
print("x is negative")
else:
print("x is 0")
| 13.333333 | 26 | 0.533333 | 22 | 120 | 2.909091 | 0.5 | 0.28125 | 0.375 | 0.25 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0.283333 | 120 | 8 | 27 | 15 | 0.709302 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3374496194c1efc5a59bf7accbbc46b72ea2fbf0 | 513 | py | Python | jupy/easy_func_access.py | Jow1e/jupy | 30f5d00c5cc7750d2f0320dc075ec2bf0824275e | [
"MIT"
] | null | null | null | jupy/easy_func_access.py | Jow1e/jupy | 30f5d00c5cc7750d2f0320dc075ec2bf0824275e | [
"MIT"
] | null | null | null | jupy/easy_func_access.py | Jow1e/jupy | 30f5d00c5cc7750d2f0320dc075ec2bf0824275e | [
"MIT"
] | null | null | null | from .tensor import apply_forward
def square(z):
return apply_forward([z], "square")
def log(z):
return apply_forward([z], "log")
def mse(y_hat, y):
return apply_forward([y_hat, y], "mse")
def cross_entropy(y_hat, y):
return apply_forward([y_hat, y], "cross_entropy")
def linear(z, weigh... | 17.1 | 51 | 0.649123 | 77 | 513 | 4.142857 | 0.272727 | 0.30094 | 0.394984 | 0.297806 | 0.363636 | 0.175549 | 0.175549 | 0.175549 | 0.175549 | 0 | 0 | 0 | 0.192982 | 513 | 29 | 52 | 17.689655 | 0.770531 | 0 | 0 | 0 | 0 | 0 | 0.088843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | false | 0 | 0.066667 | 0.466667 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
684513f8798ef42cffce3da7c66bf81e81d35341 | 128,751 | py | Python | pyidml/tests/dummy_icml.py | joshklos/pyIDML | bfaeab6dc1737c8fac4f11b974c634193094d5e0 | [
"MIT"
] | null | null | null | pyidml/tests/dummy_icml.py | joshklos/pyIDML | bfaeab6dc1737c8fac4f11b974c634193094d5e0 | [
"MIT"
] | null | null | null | pyidml/tests/dummy_icml.py | joshklos/pyIDML | bfaeab6dc1737c8fac4f11b974c634193094d5e0 | [
"MIT"
] | null | null | null | contents = """<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?aid style="50" type="snippet" readerVersion="6.0" featureSet="257" product="8.0(370)" ?>
<?aid SnippetType="InCopyInterchange"?>
<Document DOMVersion="8.0" Self="d">
<RootCharacterStyleGroup Self="u77">
<CharacterStyle Self="CharacterStyle/$ID/[... | 187.41048 | 4,786 | 0.784266 | 18,911 | 128,751 | 5.340225 | 0.155888 | 0.03137 | 0.034222 | 0.041708 | 0.358762 | 0.344057 | 0.333442 | 0.325303 | 0.321689 | 0.320094 | 0 | 0.005442 | 0.149397 | 128,751 | 687 | 4,787 | 187.41048 | 0.916542 | 0 | 1 | 0.843567 | 0 | 0.288012 | 0.999332 | 0.214358 | 0 | 0 | 0 | 0 | 0.00731 | 1 | 0 | false | 0.005848 | 0.033626 | 0 | 0.033626 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
68580d4588fe3048f1d956fb0a9dbe985848acfc | 74 | py | Python | test_it.py | tillbey/travis-test | ad36fda307856915bc1d38f86eb12d9d0fe315e8 | [
"MIT"
] | null | null | null | test_it.py | tillbey/travis-test | ad36fda307856915bc1d38f86eb12d9d0fe315e8 | [
"MIT"
] | null | null | null | test_it.py | tillbey/travis-test | ad36fda307856915bc1d38f86eb12d9d0fe315e8 | [
"MIT"
] | null | null | null | from travistest import main
def test_it():
assert main.test() == 5
| 10.571429 | 27 | 0.662162 | 11 | 74 | 4.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.22973 | 74 | 6 | 28 | 12.333333 | 0.824561 | 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 | 1 | 0 | 0 | 6 |
d7a5020976ac677a235071a0b595c6e200fed260 | 28 | py | Python | controllers/__init__.py | mga-odoo/intern-contacts | 16f52b6e89196b79beb94e1dd0e515302416665a | [
"MIT"
] | 2 | 2019-05-04T15:01:04.000Z | 2019-05-04T15:01:07.000Z | controllers/__init__.py | mga-odoo/intern-contacts | 16f52b6e89196b79beb94e1dd0e515302416665a | [
"MIT"
] | null | null | null | controllers/__init__.py | mga-odoo/intern-contacts | 16f52b6e89196b79beb94e1dd0e515302416665a | [
"MIT"
] | 1 | 2019-05-04T15:01:18.000Z | 2019-05-04T15:01:18.000Z |
import contact
import group | 9.333333 | 14 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 3 | 15 | 9.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d7cd7636cfd4404481d04ae538220c96fcae42b2 | 1,586 | py | Python | investing_algorithm_framework/core/market_services/market_service.py | investing-algorithms/investing-algorithm-framework | d579e142a3857e2e2dfb59b7d6e54202f7df5466 | [
"Apache-2.0"
] | 1 | 2019-12-23T21:23:45.000Z | 2019-12-23T21:23:45.000Z | investing_algorithm_framework/core/market_services/market_service.py | investing-algorithms/investing-algorithm-framework | d579e142a3857e2e2dfb59b7d6e54202f7df5466 | [
"Apache-2.0"
] | null | null | null | investing_algorithm_framework/core/market_services/market_service.py | investing-algorithms/investing-algorithm-framework | d579e142a3857e2e2dfb59b7d6e54202f7df5466 | [
"Apache-2.0"
] | 1 | 2019-12-23T21:23:50.000Z | 2019-12-23T21:23:50.000Z | from abc import ABC, abstractmethod
class MarketService(ABC):
@abstractmethod
def pair_exists(self, target_symbol: str, trading_symbol: str):
pass
@abstractmethod
def get_prices(self, symbols):
pass
@abstractmethod
def get_ticker(self, symbol):
pass
@abstractmet... | 18.880952 | 67 | 0.602774 | 168 | 1,586 | 5.470238 | 0.244048 | 0.277476 | 0.319913 | 0.261153 | 0.602829 | 0.531012 | 0.380849 | 0.342764 | 0.255713 | 0.255713 | 0 | 0 | 0.325977 | 1,586 | 83 | 68 | 19.108434 | 0.859682 | 0 | 0 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0.227273 | 0.015152 | 0 | 0.257576 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d7e1494c006defa681da9dfa992b563d26525b3d | 43 | py | Python | basic_ml/src/neural_networks/architectures/boltzmann_machines.py | jmetzz/ml-laboratory | 26b1e87bd0d80efa4f15280f7f32ad46d59efc1f | [
"MIT"
] | 1 | 2021-09-10T16:55:35.000Z | 2021-09-10T16:55:35.000Z | basic_ml/src/neural_networks/architectures/boltzmann_machines.py | jmetzz/ml-laboratory | 26b1e87bd0d80efa4f15280f7f32ad46d59efc1f | [
"MIT"
] | 14 | 2022-03-12T01:06:08.000Z | 2022-03-30T14:30:22.000Z | basic_ml/src/neural_networks/architectures/boltzmann_machines.py | jmetzz/ml-laboratory | 26b1e87bd0d80efa4f15280f7f32ad46d59efc1f | [
"MIT"
] | null | null | null | class RestrictedBoltzmannMachine:
pass
| 14.333333 | 33 | 0.813953 | 3 | 43 | 11.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 34 | 21.5 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
0bd39eb61d7fca98cca3398c9cddcecee54a88df | 228 | py | Python | eventx/predictors/__init__.py | DFKI-NLP/eventx | 6789d0382212bf0c9467d500117e60fae1ad3908 | [
"MIT"
] | null | null | null | eventx/predictors/__init__.py | DFKI-NLP/eventx | 6789d0382212bf0c9467d500117e60fae1ad3908 | [
"MIT"
] | null | null | null | eventx/predictors/__init__.py | DFKI-NLP/eventx | 6789d0382212bf0c9467d500117e60fae1ad3908 | [
"MIT"
] | null | null | null | from eventx.predictors.smartdata_predictor import SmartdataEventxPredictor
from eventx.predictors.snorkel_predictor import SnorkelEventxPredictor
from eventx.predictors.experimental_ace_predictor import ExperimentalAcePredictor
| 57 | 81 | 0.921053 | 22 | 228 | 9.363636 | 0.545455 | 0.145631 | 0.291262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 228 | 3 | 82 | 76 | 0.953704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0bef2c6d0114cc9d5f62e960d8819f936682b535 | 6,910 | py | Python | mtalg/testing/test_rng.py | WWakker/mtalg | fd63f305d857ef2cfbd5280c1de54f52a309a3fd | [
"MIT"
] | 10 | 2021-12-14T12:39:04.000Z | 2022-01-16T15:21:11.000Z | mtalg/testing/test_rng.py | WWakker/mtalg | fd63f305d857ef2cfbd5280c1de54f52a309a3fd | [
"MIT"
] | 8 | 2021-12-23T11:50:50.000Z | 2021-12-28T19:42:14.000Z | mtalg/testing/test_rng.py | WWakker/mtalg | fd63f305d857ef2cfbd5280c1de54f52a309a3fd | [
"MIT"
] | 1 | 2021-12-22T21:39:56.000Z | 2021-12-22T21:39:56.000Z | import mtalg
from mtalg.random import MultithreadedRNG
import numpy as np
class TestMRNG:
def test1(self):
mrng = MultithreadedRNG(seed=1)
assert mrng._shape is None
def test2(self):
mrng = MultithreadedRNG(seed=1, num_threads=4)
a = mrng.standard_normal(size=4)
assert... | 44.012739 | 95 | 0.573372 | 962 | 6,910 | 4.059252 | 0.132017 | 0.157746 | 0.042254 | 0.083227 | 0.838924 | 0.822279 | 0.817157 | 0.812036 | 0.801793 | 0.789757 | 0 | 0.0677 | 0.290304 | 6,910 | 156 | 96 | 44.294872 | 0.728589 | 0 | 0 | 0.676056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 1 | 0.091549 | false | 0 | 0.021127 | 0 | 0.119718 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0bf743a8a0f1b93cfaf5719e896fcbeacc8338ee | 4,848 | py | Python | python/test/function/test_pad.py | sdonatti/nnabla | ac4a42e62dd358f16bd79c08a9a9f3d83c0100c9 | [
"Apache-2.0"
] | 1 | 2019-09-10T06:51:37.000Z | 2019-09-10T06:51:37.000Z | python/test/function/test_pad.py | langbin2014/nnabla | e94bac5bed65337010e2ac07a5937fb862ab2dd8 | [
"Apache-2.0"
] | 1 | 2020-11-09T07:33:29.000Z | 2020-11-09T07:33:29.000Z | python/test/function/test_pad.py | langbin2014/nnabla | e94bac5bed65337010e2ac07a5937fb862ab2dd8 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2017 Sony Corporation. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | 38.173228 | 78 | 0.581271 | 766 | 4,848 | 3.527415 | 0.169713 | 0.023686 | 0.026647 | 0.029608 | 0.757957 | 0.738712 | 0.738712 | 0.738712 | 0.728349 | 0.678016 | 0 | 0.078138 | 0.229167 | 4,848 | 126 | 79 | 38.47619 | 0.644902 | 0.119431 | 0 | 0.808081 | 0 | 0 | 0.048179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.060606 | 0 | 0.141414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
041b8f6b480a7dc9cd0537647db0b89956bd4f3c | 96 | py | Python | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydev_imps/_pydev_SimpleXMLRPCServer.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydev_imps/_pydev_SimpleXMLRPCServer.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydev_imps/_pydev_SimpleXMLRPCServer.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/87/a8/65/46c8c75345440a6c7fb21b2e2adcb806971af94ea0c9a196d612bb1adb | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
04558b33b294b9a3d9274139c0865cc415135e51 | 770 | py | Python | goalrepresent/models/__init__.py | flowersteam/holmes | e38fb8417ec56cfde8142eddd0f751e319e35d8c | [
"MIT"
] | 6 | 2020-12-19T00:16:16.000Z | 2022-01-28T14:59:21.000Z | goalrepresent/models/__init__.py | Evolutionary-Intelligence/holmes | e38fb8417ec56cfde8142eddd0f751e319e35d8c | [
"MIT"
] | null | null | null | goalrepresent/models/__init__.py | Evolutionary-Intelligence/holmes | e38fb8417ec56cfde8142eddd0f751e319e35d8c | [
"MIT"
] | 1 | 2021-05-24T14:58:26.000Z | 2021-05-24T14:58:26.000Z | from goalrepresent.models.baselines.decomposition import PCAModel
from goalrepresent.models.lenia_BC.BC_spectrumfourier.BC_spectrumfourier import BCSpectrumFourierModel
from goalrepresent.models.lenia_BC.BC_ellipticalfourier.BC_ellipticalfourier import BCEllipticalFourierModel
from goalrepresent.models.lenia_BC.BC_len... | 59.230769 | 108 | 0.901299 | 84 | 770 | 8.083333 | 0.345238 | 0.225331 | 0.30486 | 0.206186 | 0.235641 | 0.235641 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055844 | 770 | 12 | 109 | 64.166667 | 0.933975 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9bcf9d865ecc91225457d023a00ff95d9c227f8a | 1,322 | py | Python | tests/test_batch.py | usma0118/PlexTraktSync | 89c0ef43f0de777a29aa232c47135e37ed4da7ab | [
"MIT"
] | null | null | null | tests/test_batch.py | usma0118/PlexTraktSync | 89c0ef43f0de777a29aa232c47135e37ed4da7ab | [
"MIT"
] | 23 | 2022-01-13T08:20:44.000Z | 2022-03-31T13:35:46.000Z | tests/test_batch.py | usma0118/PlexTraktSync | 89c0ef43f0de777a29aa232c47135e37ed4da7ab | [
"MIT"
] | null | null | null | #!/usr/bin/env python3 -m pytest
from unittest.mock import Mock
from plextraktsync.trakt_api import TraktBatch
from tests.conftest import factory, load_mock
trakt = factory.trakt_api()
def test_batch_size_none():
response = load_mock("trakt_sync_collection_response.json")
b = TraktBatch(trakt)
b.trakt_s... | 29.377778 | 63 | 0.716339 | 191 | 1,322 | 4.659686 | 0.251309 | 0.091011 | 0.192135 | 0.107865 | 0.778652 | 0.778652 | 0.778652 | 0.778652 | 0.778652 | 0.778652 | 0 | 0.011142 | 0.185325 | 1,322 | 44 | 64 | 30.045455 | 0.815227 | 0.023449 | 0 | 0.677419 | 0 | 0 | 0.106977 | 0.106977 | 0 | 0 | 0 | 0 | 0.290323 | 1 | 0.064516 | false | 0 | 0.096774 | 0 | 0.16129 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 6 |
502f1e0bfc2de19f2342e3218d488d4f1165892a | 27,652 | py | Python | misago/misago/threads/tests/test_privatethread_patch_api.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | 2 | 2021-03-06T21:06:13.000Z | 2021-03-09T15:05:12.000Z | misago/misago/threads/tests/test_privatethread_patch_api.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | null | null | null | misago/misago/threads/tests/test_privatethread_patch_api.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | null | null | null | import json
from django.core import mail
from .. import test
from ...acl.test import patch_user_acl
from ...users.test import create_test_user
from ..models import Thread, ThreadParticipant
from ..test import other_user_cant_use_private_threads
from .test_privatethreads import PrivateThreadsTestCase
class PrivateTh... | 37.216689 | 88 | 0.628309 | 3,172 | 27,652 | 5.31053 | 0.066204 | 0.069457 | 0.040902 | 0.031345 | 0.832057 | 0.81312 | 0.796438 | 0.782903 | 0.781894 | 0.766162 | 0 | 0.005264 | 0.25123 | 27,652 | 742 | 89 | 37.266846 | 0.808307 | 0.099306 | 0 | 0.65764 | 0 | 0 | 0.095263 | 0.009846 | 0 | 0 | 0 | 0 | 0.263056 | 1 | 0.065764 | false | 0 | 0.015474 | 0.001934 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ace05bb4da7b061e55434aba2109bf5c00f77b1a | 161 | py | Python | s2cholar/api/__init__.py | luizvbo/s2cholar | 7f2be800168ef792230f7759bc7131c5f59e2103 | [
"MIT"
] | 1 | 2021-12-03T13:02:34.000Z | 2021-12-03T13:02:34.000Z | s2cholar/api/__init__.py | luizvbo/s2cholar | 7f2be800168ef792230f7759bc7131c5f59e2103 | [
"MIT"
] | null | null | null | s2cholar/api/__init__.py | luizvbo/s2cholar | 7f2be800168ef792230f7759bc7131c5f59e2103 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
# import apis into api package
from s2cholar.api.author_api import AuthorApi
from s2cholar.api.paper_api import PaperApi
| 26.833333 | 45 | 0.850932 | 24 | 161 | 5.416667 | 0.541667 | 0.184615 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.118012 | 161 | 5 | 46 | 32.2 | 0.901408 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
acfa054ef62347ef90771140542b4bcc05161822 | 129 | py | Python | src/evaluation/__init__.py | sisl/InteractionImitation | 9c9ee8f21b53e71bbca86b0b79c6e6d913a20567 | [
"MIT"
] | 2 | 2022-03-13T19:43:08.000Z | 2022-03-14T03:19:33.000Z | src/evaluation/__init__.py | sisl/InteractionImitation | 9c9ee8f21b53e71bbca86b0b79c6e6d913a20567 | [
"MIT"
] | null | null | null | src/evaluation/__init__.py | sisl/InteractionImitation | 9c9ee8f21b53e71bbca86b0b79c6e6d913a20567 | [
"MIT"
] | null | null | null | from src.evaluation.evaluation import IntersimpleEvaluation
from src.evaluation.metrics import divergence, visualize_distribution | 64.5 | 69 | 0.899225 | 14 | 129 | 8.214286 | 0.642857 | 0.121739 | 0.295652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062016 | 129 | 2 | 69 | 64.5 | 0.950413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c5842e007f947062d24fe74dd2044b2370c525c5 | 217 | py | Python | ida_export/preselect/filters/__init__.py | RUB-SysSec/tropyhunter | 7d027bf18944c641296ed5d68462f4400dbc055e | [
"MIT"
] | 1 | 2020-11-06T21:18:01.000Z | 2020-11-06T21:18:01.000Z | ida_export/preselect/filters/__init__.py | RUB-SysSec/tropyhunter | 7d027bf18944c641296ed5d68462f4400dbc055e | [
"MIT"
] | null | null | null | ida_export/preselect/filters/__init__.py | RUB-SysSec/tropyhunter | 7d027bf18944c641296ed5d68462f4400dbc055e | [
"MIT"
] | null | null | null | # Export the filter classes
from .instruction_filter import InstructionFilter
from .syscall_filter import SyscallFilter
from .read_random_filter import ReadRandomFilter
from .arithmetic_filter import ArithmeticFilter
| 36.166667 | 49 | 0.880184 | 25 | 217 | 7.44 | 0.6 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 217 | 5 | 50 | 43.4 | 0.94898 | 0.115207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c585501c74f7c7d3279c3b853f0aed8c8d071124 | 216 | py | Python | applications/DEMApplication/DEMApplication.py | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 778 | 2017-01-27T16:29:17.000Z | 2022-03-30T03:01:51.000Z | applications/DEMApplication/DEMApplication.py | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 6,634 | 2017-01-15T22:56:13.000Z | 2022-03-31T15:03:36.000Z | applications/DEMApplication/DEMApplication.py | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 224 | 2017-02-07T14:12:49.000Z | 2022-03-06T23:09:34.000Z | from KratosDEMApplication import *
from KratosMultiphysics import _ImportApplication
application = KratosDEMApplication()
application_name = "KratosDEMApplication"
_ImportApplication(application, application_name)
| 27 | 49 | 0.87037 | 16 | 216 | 11.5 | 0.4375 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 216 | 7 | 50 | 30.857143 | 0.929293 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 1 | 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 | 6 |
c5b17a922f61cba52e18998221b39e51be01d0b9 | 10,916 | py | Python | test/test_query.py | cacahootie/relately | 94df9245c4050aead52c7316f7017463c108af06 | [
"MIT"
] | 1 | 2019-08-22T18:08:32.000Z | 2019-08-22T18:08:32.000Z | test/test_query.py | cacahootie/relately | 94df9245c4050aead52c7316f7017463c108af06 | [
"MIT"
] | null | null | null | test/test_query.py | cacahootie/relately | 94df9245c4050aead52c7316f7017463c108af06 | [
"MIT"
] | null | null | null |
import unittest
import psycopg2
from relately.select import Select
from . import RelatelyTest
class TestQuery(RelatelyTest):
def test_star_from_table(self):
r = self.engine.select({
"columns":'*',
"target":"world.city"
})
self.assertEqual(len(r), 4079)
... | 28.650919 | 68 | 0.403903 | 933 | 10,916 | 4.578778 | 0.096463 | 0.133427 | 0.143258 | 0.151217 | 0.834036 | 0.783708 | 0.783708 | 0.7603 | 0.74883 | 0.712079 | 0 | 0.017709 | 0.436149 | 10,916 | 380 | 69 | 28.726316 | 0.676361 | 0 | 0 | 0.669565 | 0 | 0 | 0.22776 | 0.002016 | 0 | 0 | 0 | 0 | 0.124638 | 1 | 0.084058 | false | 0 | 0.011594 | 0 | 0.098551 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5ea5aa932db1e28a3c663ec9563bbe2940b2c37 | 1,029,867 | py | Python | examples/grids/grid_uri/cigre/cigre_eur_lv_res_2w2w/cigre_europe_residential_2w2w.py | pydae/pydae | 8076bcfeb2cdc865a5fc58561ff8d246d0ed7d9d | [
"MIT"
] | 1 | 2020-12-20T03:45:26.000Z | 2020-12-20T03:45:26.000Z | examples/grids/grid_uri/cigre/cigre_eur_lv_res_2w2w/cigre_europe_residential_2w2w.py | pydae/pydae | 8076bcfeb2cdc865a5fc58561ff8d246d0ed7d9d | [
"MIT"
] | null | null | null | examples/grids/grid_uri/cigre/cigre_eur_lv_res_2w2w/cigre_europe_residential_2w2w.py | pydae/pydae | 8076bcfeb2cdc865a5fc58561ff8d246d0ed7d9d | [
"MIT"
] | null | null | null | import numpy as np
import numba
import scipy.optimize as sopt
import json
sin = np.sin
cos = np.cos
atan2 = np.arctan2
sqrt = np.sqrt
sign = np.sign
class cigre_europe_residential_2w2w_class:
def __init__(self):
self.t_end = 10.000000
self.Dt = 0.0010000
self.decimation = 10.00000... | 67.687611 | 20,044 | 0.655055 | 209,376 | 1,029,867 | 2.892724 | 0.004251 | 0.165111 | 0.140439 | 0.093655 | 0.980816 | 0.975039 | 0.944321 | 0.557897 | 0.554866 | 0.553253 | 0 | 0.445451 | 0.182 | 1,029,867 | 15,215 | 20,045 | 67.687611 | 0.2735 | 0.002265 | 0 | 0.369603 | 0 | 0 | 0.013967 | 0.000131 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003238 | false | 0.000135 | 0.00027 | 0.000135 | 0.005532 | 0.000472 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5f38a4a76a4a9f3052d9bc495fedc000530e433 | 78 | py | Python | algorithms/cyk/__init__.py | Pavel3P/Object-Recognition | a7316b2d986ee269715804b4fb9ea1b5e088fd8e | [
"MIT"
] | null | null | null | algorithms/cyk/__init__.py | Pavel3P/Object-Recognition | a7316b2d986ee269715804b4fb9ea1b5e088fd8e | [
"MIT"
] | null | null | null | algorithms/cyk/__init__.py | Pavel3P/Object-Recognition | a7316b2d986ee269715804b4fb9ea1b5e088fd8e | [
"MIT"
] | null | null | null | from .cyk import CYK
from .misc import generate_test_samples, construct_image
| 26 | 56 | 0.846154 | 12 | 78 | 5.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 78 | 2 | 57 | 39 | 0.913043 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c5f7c5e03356d38e92868f4e378854cc707f13f3 | 413 | py | Python | airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/__init__.py | OTRI-Unipd/OTRI-airbyte | 50eeeb773f75246e86c6e167b0cd7d2dda6efe0d | [
"MIT"
] | 22 | 2020-08-27T00:47:20.000Z | 2020-09-17T15:39:39.000Z | airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/__init__.py | OTRI-Unipd/OTRI-airbyte | 50eeeb773f75246e86c6e167b0cd7d2dda6efe0d | [
"MIT"
] | 116 | 2020-08-27T01:11:27.000Z | 2020-09-19T02:47:52.000Z | airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/__init__.py | OTRI-Unipd/OTRI-airbyte | 50eeeb773f75246e86c6e167b0cd7d2dda6efe0d | [
"MIT"
] | 2 | 2021-06-09T15:25:25.000Z | 2021-12-31T13:34:10.000Z | from . import (
daily_report,
geo_report,
partners_report,
raw_data,
retargeting_daily_report,
retargeting_geo_report,
retargeting_partners_report,
uninstall_events,
)
__all__ = (
"daily_report",
"geo_report",
"partners_report",
"raw_data",
"retargeting_daily_report"... | 18.772727 | 34 | 0.690073 | 41 | 413 | 6.317073 | 0.292683 | 0.169884 | 0.108108 | 0.15444 | 0.949807 | 0.949807 | 0.949807 | 0.949807 | 0.949807 | 0.949807 | 0 | 0 | 0.217918 | 413 | 21 | 35 | 19.666667 | 0.801858 | 0 | 0 | 0 | 0 | 0 | 0.324455 | 0.176755 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8921441a5030b957393c55a12a157cabe6dc243 | 578 | py | Python | Identification/post.py | npayneau/gesture-detection | 19070174cbf2ccaf5a7e81bcd86e85937c2322b4 | [
"Apache-2.0"
] | 1 | 2019-10-03T10:01:15.000Z | 2019-10-03T10:01:15.000Z | Identification/post.py | npayneau/gesture-detection | 19070174cbf2ccaf5a7e81bcd86e85937c2322b4 | [
"Apache-2.0"
] | null | null | null | Identification/post.py | npayneau/gesture-detection | 19070174cbf2ccaf5a7e81bcd86e85937c2322b4 | [
"Apache-2.0"
] | 1 | 2020-05-13T08:40:24.000Z | 2020-05-13T08:40:24.000Z | import requests
import simplejson
import requests
data = {'sender': 'Alice',
'receiver': 'Bob',
'message': 'We did it!'}
data_json = simplejson.dumps(data)
payload = {'json_payload': data_json}
r = requests.post("http://localhost:8080/data",json=payload)
a=requests.get("http://localhost:8080/data")
#%%
data... | 30.421053 | 62 | 0.681661 | 77 | 578 | 5.025974 | 0.285714 | 0.144703 | 0.175711 | 0.217054 | 0.847545 | 0.847545 | 0.847545 | 0.677003 | 0.677003 | 0.677003 | 0 | 0.031558 | 0.122837 | 578 | 19 | 63 | 30.421053 | 0.731755 | 0.00346 | 0 | 0.823529 | 0 | 0 | 0.357639 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.176471 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
76439f995f897c2d92c32ea3c6fc32c70b748c05 | 29 | py | Python | Python/OpenCV/bildcompare.py | Kreijeck/learning | eaffee08e61f2a34e01eb8f9f04519aac633f48c | [
"MIT"
] | null | null | null | Python/OpenCV/bildcompare.py | Kreijeck/learning | eaffee08e61f2a34e01eb8f9f04519aac633f48c | [
"MIT"
] | null | null | null | Python/OpenCV/bildcompare.py | Kreijeck/learning | eaffee08e61f2a34e01eb8f9f04519aac633f48c | [
"MIT"
] | null | null | null | import sys
print("Foo Bar")
| 7.25 | 16 | 0.689655 | 5 | 29 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 3 | 17 | 9.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
7647e421571e11fb8f4c99e685cc6f7ade543421 | 21 | py | Python | module_exports/__init__.py | ramon93i7/module_exports | 31c8e2b6f5ef0f55c503c53b34f159a4fdd77f81 | [
"MIT"
] | 1 | 2020-08-31T21:10:38.000Z | 2020-08-31T21:10:38.000Z | module_exports/__init__.py | ramon93i7/module_exports | 31c8e2b6f5ef0f55c503c53b34f159a4fdd77f81 | [
"MIT"
] | null | null | null | module_exports/__init__.py | ramon93i7/module_exports | 31c8e2b6f5ef0f55c503c53b34f159a4fdd77f81 | [
"MIT"
] | null | null | null | from ._root import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
766500c32f6877f09182dce64948b4b1f3a6f3bc | 12,588 | py | Python | flow/controllers/imitation_learning/run.py | eugenevinitsky/bayesian_reasoning_traffic | de3c14f03fed9cab913bb692877851320a3b6843 | [
"MIT"
] | 2 | 2020-12-03T21:13:39.000Z | 2022-03-13T09:12:43.000Z | flow/controllers/imitation_learning/run.py | eugenevinitsky/bayesian_reasoning_traffic | de3c14f03fed9cab913bb692877851320a3b6843 | [
"MIT"
] | null | null | null | flow/controllers/imitation_learning/run.py | eugenevinitsky/bayesian_reasoning_traffic | de3c14f03fed9cab913bb692877851320a3b6843 | [
"MIT"
] | 1 | 2021-02-05T16:51:34.000Z | 2021-02-05T16:51:34.000Z | import os
import time
import numpy as np
from flow.controllers.imitation_learning.trainer import Trainer
class Runner(object):
""" Class to run imitation learning (training and evaluation) """
def __init__(self, params):
"""
Parameters
__________
params: dict
dicti... | 51.802469 | 248 | 0.706228 | 1,657 | 12,588 | 5.202173 | 0.154496 | 0.048028 | 0.090719 | 0.020882 | 0.879118 | 0.869606 | 0.855336 | 0.836079 | 0.832715 | 0.807773 | 0 | 0.011816 | 0.186527 | 12,588 | 242 | 249 | 52.016529 | 0.82998 | 0.609152 | 0 | 0.033333 | 0 | 0 | 0.397198 | 0.060776 | 0 | 0 | 0 | 0.004132 | 0 | 1 | 0.1 | false | 0 | 0.116667 | 0 | 0.233333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
767521edf225f181c6ceeecea951e600bdc68816 | 59 | py | Python | tests/benchmark/inhib_diameter_modes/count/__init__.py | mpascucci/AST-image-processing | 54111e874237f0c146760d514eea96131177878a | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2020-11-24T15:55:35.000Z | 2021-12-31T11:52:56.000Z | tests/benchmark/inhib_diameter_modes/count/__init__.py | mpascucci/AST-image-processing | 54111e874237f0c146760d514eea96131177878a | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-11-24T15:46:15.000Z | 2020-11-24T15:46:15.000Z | tests/benchmark/inhib_diameter_modes/count/__init__.py | mpascucci/AST-image-processing | 54111e874237f0c146760d514eea96131177878a | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2021-02-04T10:08:43.000Z | 2022-02-21T02:00:47.000Z | from .count import measureOneDiameter, _measureOneDiameter
| 29.5 | 58 | 0.881356 | 5 | 59 | 10.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 59 | 1 | 59 | 59 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76856196feab4cff6fb779737be6c0c758c40a55 | 176 | py | Python | zemfrog_auth/jwt/routes.py | zemfrog/zemfrog-auth | c20f9d803691c1a37bc623fe20620e67aa8ff25f | [
"MIT"
] | null | null | null | zemfrog_auth/jwt/routes.py | zemfrog/zemfrog-auth | c20f9d803691c1a37bc623fe20620e67aa8ff25f | [
"MIT"
] | null | null | null | zemfrog_auth/jwt/routes.py | zemfrog/zemfrog-auth | c20f9d803691c1a37bc623fe20620e67aa8ff25f | [
"MIT"
] | null | null | null | from flask_smorest import Blueprint
def init_blueprint():
blueprint = Blueprint("jwt", __name__, url_prefix="/jwt", description="JWT Authentication")
return blueprint
| 29.333333 | 95 | 0.761364 | 20 | 176 | 6.35 | 0.7 | 0.283465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 176 | 5 | 96 | 35.2 | 0.835526 | 0 | 0 | 0 | 0 | 0 | 0.142045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 6 |
769ee5d42a1735269b5d705e038277f9d082db51 | 5,577 | py | Python | tests/query_test.py | ZachOrr/google-cloud-datastore-stub | ca1ef73a0a84fa5de3e3defcbfecbf6c9889d18e | [
"MIT"
] | null | null | null | tests/query_test.py | ZachOrr/google-cloud-datastore-stub | ca1ef73a0a84fa5de3e3defcbfecbf6c9889d18e | [
"MIT"
] | null | null | null | tests/query_test.py | ZachOrr/google-cloud-datastore-stub | ca1ef73a0a84fa5de3e3defcbfecbf6c9889d18e | [
"MIT"
] | null | null | null | from InMemoryCloudDatastoreStub import datastore_stub
from tests.models import SimpleModel
def test_get_nonexistent_key() -> None:
model = SimpleModel.get_by_id("notfound")
assert model is None
def test_get_existing_by_id(ndb_stub: datastore_stub.LocalDatastoreStub) -> None:
model = SimpleModel(id="test... | 32.614035 | 84 | 0.71759 | 784 | 5,577 | 4.797194 | 0.102041 | 0.059559 | 0.064345 | 0.095719 | 0.889125 | 0.860409 | 0.833821 | 0.813082 | 0.786493 | 0.786493 | 0 | 0.02009 | 0.161018 | 5,577 | 170 | 85 | 32.805882 | 0.783714 | 0.048234 | 0 | 0.588235 | 0 | 0 | 0.039977 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.134454 | false | 0 | 0.016807 | 0 | 0.151261 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f6653d8af21210ef5459432646856c18927dca4 | 102 | py | Python | pommerman/envs/__init__.py | cinjon/playground | ad9ec58b2157fa6102636e7f61ef9a712c507a90 | [
"Apache-2.0"
] | 1 | 2019-01-04T13:36:04.000Z | 2019-01-04T13:36:04.000Z | pommerman/envs/__init__.py | cinjon/playground | ad9ec58b2157fa6102636e7f61ef9a712c507a90 | [
"Apache-2.0"
] | null | null | null | pommerman/envs/__init__.py | cinjon/playground | ad9ec58b2157fa6102636e7f61ef9a712c507a90 | [
"Apache-2.0"
] | 1 | 2018-03-21T15:21:52.000Z | 2018-03-21T15:21:52.000Z | from . import v0
from . import v1
from . import v2
from . import v3
from . import v4
from . import v5
| 14.571429 | 16 | 0.705882 | 18 | 102 | 4 | 0.444444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.235294 | 102 | 6 | 17 | 17 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f742509647144cd7a570ea9a961d6cea10f0006 | 2,056 | py | Python | clare/clare/models/tests/test_hit_points_changed_record.py | dnguyen0304/room-list-watcher | 7ac4d5172de22dd8906662da521995c8e06c2617 | [
"MIT"
] | null | null | null | clare/clare/models/tests/test_hit_points_changed_record.py | dnguyen0304/room-list-watcher | 7ac4d5172de22dd8906662da521995c8e06c2617 | [
"MIT"
] | null | null | null | clare/clare/models/tests/test_hit_points_changed_record.py | dnguyen0304/room-list-watcher | 7ac4d5172de22dd8906662da521995c8e06c2617 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from nose.tools import assert_equal, assert_true, raises
from .. import HitPointsChangedRecord
class TestHitPointsChangedRecord(object):
def test_from_message(self):
message = '|-damage|p1a: eggs|10\/100'
record = HitPointsChangedRecord.from_message(message)
asse... | 40.313725 | 75 | 0.719358 | 242 | 2,056 | 5.797521 | 0.227273 | 0.125445 | 0.181753 | 0.17819 | 0.746971 | 0.732716 | 0.732716 | 0.632217 | 0.632217 | 0.632217 | 0 | 0.024434 | 0.183852 | 2,056 | 50 | 76 | 41.12 | 0.811681 | 0.010214 | 0 | 0.538462 | 0 | 0 | 0.100836 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.153846 | false | 0 | 0.051282 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f77cf816350809d720a79993817da9d4dada788 | 328 | py | Python | simulator/container/DiskModels/DMConstant.py | BirgittM/COSCO-1 | 2140b3d9fa2d5a8027a0d062fdcf0ff952f65b0f | [
"BSD-3-Clause"
] | 20 | 2020-11-17T17:44:41.000Z | 2022-03-30T19:35:53.000Z | simulator/container/DiskModels/DMConstant.py | imperial-qore/CAROL | 57dc42c4ddeb9e75eed43a91ceb336a1ecc9c8b9 | [
"BSD-3-Clause"
] | 6 | 2021-06-04T18:06:17.000Z | 2022-03-10T14:16:46.000Z | simulator/container/DiskModels/DMConstant.py | imperial-qore/CAROL | 57dc42c4ddeb9e75eed43a91ceb336a1ecc9c8b9 | [
"BSD-3-Clause"
] | 12 | 2020-12-28T17:59:12.000Z | 2022-03-29T06:07:35.000Z | from .DM import *
class DMConstant(DM):
def __init__(self, constant_size, constant_read, constant_write):
super().__init__()
self.constant_size = constant_size
self.constant_read = constant_read
self.constant_write = constant_write
def disk(self):
return self.constant_size, self.constant_read, self.consta... | 29.818182 | 68 | 0.786585 | 45 | 328 | 5.288889 | 0.333333 | 0.352941 | 0.201681 | 0.168067 | 0.630252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 328 | 11 | 68 | 29.818182 | 0.826389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4fecb45b252694d0d09a25a288ba5c402daa1c3c | 90 | py | Python | frappe/patches/v12_0/delete_feedback_request_if_exists.py | oryxsolutions/frappe | d193ea22d17ca40d57432040a8afad72287d9e23 | [
"MIT"
] | null | null | null | frappe/patches/v12_0/delete_feedback_request_if_exists.py | oryxsolutions/frappe | d193ea22d17ca40d57432040a8afad72287d9e23 | [
"MIT"
] | null | null | null | frappe/patches/v12_0/delete_feedback_request_if_exists.py | oryxsolutions/frappe | d193ea22d17ca40d57432040a8afad72287d9e23 | [
"MIT"
] | null | null | null | import frappe
def execute():
frappe.db.delete("DocType", {"name": "Feedback Request"})
| 15 | 58 | 0.688889 | 11 | 90 | 5.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 90 | 5 | 59 | 18 | 0.78481 | 0 | 0 | 0 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ca209b7d987fbe7288308ab6182f4dd01ce50af | 18,652 | py | Python | halotools/mock_observables/pairwise_velocities/tests/test_mean_los_velocity_vs_rp.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 83 | 2015-01-15T14:54:16.000Z | 2021-12-09T11:28:02.000Z | halotools/mock_observables/pairwise_velocities/tests/test_mean_los_velocity_vs_rp.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 579 | 2015-01-14T15:57:37.000Z | 2022-01-13T18:58:44.000Z | halotools/mock_observables/pairwise_velocities/tests/test_mean_los_velocity_vs_rp.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 70 | 2015-01-14T15:15:58.000Z | 2021-12-22T18:18:31.000Z | """
"""
from __future__ import absolute_import, division, print_function
import numpy as np
import pytest
from astropy.utils.misc import NumpyRNGContext
from ..mean_los_velocity_vs_rp import mean_los_velocity_vs_rp
from ...tests.cf_helpers import generate_locus_of_3d_points
__all__ = ('test_mean_los_velocity_vs_rp_co... | 40.285097 | 100 | 0.684109 | 2,864 | 18,652 | 4.294344 | 0.089385 | 0.039028 | 0.062444 | 0.063582 | 0.893569 | 0.878201 | 0.855761 | 0.831206 | 0.804618 | 0.790146 | 0 | 0.072896 | 0.204214 | 18,652 | 462 | 101 | 40.372294 | 0.75571 | 0.289888 | 0 | 0.613546 | 0 | 0 | 0.022936 | 0.022936 | 0 | 0 | 0 | 0 | 0.191235 | 1 | 0.035857 | false | 0 | 0.023904 | 0 | 0.067729 | 0.003984 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8cd4e16fc08892257b3c24ac5f62710515066e27 | 67 | py | Python | visualize/__init__.py | twooopark/analysis_fb | 4e23d691b4628ecd99d8eb5c88a6ac7d94e84bf8 | [
"MIT"
] | null | null | null | visualize/__init__.py | twooopark/analysis_fb | 4e23d691b4628ecd99d8eb5c88a6ac7d94e84bf8 | [
"MIT"
] | null | null | null | visualize/__init__.py | twooopark/analysis_fb | 4e23d691b4628ecd99d8eb5c88a6ac7d94e84bf8 | [
"MIT"
] | null | null | null | from .visualizer import wordcloud
from .visualizer import graph_bar | 33.5 | 33 | 0.865672 | 9 | 67 | 6.333333 | 0.666667 | 0.491228 | 0.701754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 67 | 2 | 34 | 33.5 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
508db6f105490dbbd8c7a483b6dfaf5bb6f73ca3 | 95 | py | Python | ex2/accounts/__init__.py | hentt30/lab7-ces22 | d6e2f67897acc8ba723dbb6d6ad38dd15d7873ad | [
"MIT"
] | null | null | null | ex2/accounts/__init__.py | hentt30/lab7-ces22 | d6e2f67897acc8ba723dbb6d6ad38dd15d7873ad | [
"MIT"
] | null | null | null | ex2/accounts/__init__.py | hentt30/lab7-ces22 | d6e2f67897acc8ba723dbb6d6ad38dd15d7873ad | [
"MIT"
] | null | null | null | """
Init accounts module
"""
from .account import Account
from .bank_account import BankAccount | 19 | 37 | 0.789474 | 12 | 95 | 6.166667 | 0.666667 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 95 | 5 | 37 | 19 | 0.891566 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
50b0411f980d149ba813b647a2aa61d5752ed48b | 4,268 | py | Python | tests/test_cells.py | robocorp/jupytext | 57c011db9055242bb59ca9dd1ee5ca4f7fab752b | [
"MIT"
] | 1 | 2021-12-27T16:26:14.000Z | 2021-12-27T16:26:14.000Z | tests/test_cells.py | huangyingw/mwouts_jupytext | b72d03f39920333eb312d675a1ecd0fa7c2b549f | [
"MIT"
] | null | null | null | tests/test_cells.py | huangyingw/mwouts_jupytext | b72d03f39920333eb312d675a1ecd0fa7c2b549f | [
"MIT"
] | null | null | null | import pytest
from nbformat.v4.nbbase import new_markdown_cell
from jupytext.cell_reader import (
RMarkdownCellReader,
LightScriptCellReader,
uncomment,
paragraph_is_fully_commented,
)
from jupytext.cell_to_text import RMarkdownCellExporter
@pytest.mark.parametrize(
"lines",
[
"# text"... | 22.702128 | 83 | 0.622071 | 528 | 4,268 | 4.835227 | 0.119318 | 0.117509 | 0.074422 | 0.09009 | 0.807677 | 0.764199 | 0.745006 | 0.745006 | 0.721504 | 0.721504 | 0 | 0.012286 | 0.218135 | 4,268 | 187 | 84 | 22.823529 | 0.752772 | 0 | 0 | 0.664384 | 0 | 0 | 0.156886 | 0 | 0 | 0 | 0 | 0 | 0.308219 | 1 | 0.09589 | false | 0 | 0.027397 | 0 | 0.136986 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
50b0423a842a13e9b53ee442e431ac19596cbee7 | 152 | py | Python | exchange/urls.py | VorojeikinRustem/inn-exchange | e7cdc050ea64e522f8b8f2fa1c530f1028a50568 | [
"MIT"
] | null | null | null | exchange/urls.py | VorojeikinRustem/inn-exchange | e7cdc050ea64e522f8b8f2fa1c530f1028a50568 | [
"MIT"
] | null | null | null | exchange/urls.py | VorojeikinRustem/inn-exchange | e7cdc050ea64e522f8b8f2fa1c530f1028a50568 | [
"MIT"
] | null | null | null | from django.urls import path
from .views import make_exchange_great_again
urlpatterns = [
path('', make_exchange_great_again, name="exchange")
]
| 16.888889 | 56 | 0.763158 | 20 | 152 | 5.5 | 0.6 | 0.218182 | 0.309091 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 152 | 8 | 57 | 19 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
50c548cee013b9c8182063fc550b6e76b7c1e24d | 40 | py | Python | powerline_vcsh/__init__.py | taintedkernel/powerline-vcsh | 29b6bc85e0b613c3c605f8a2a5b02b981cd2136a | [
"MIT"
] | null | null | null | powerline_vcsh/__init__.py | taintedkernel/powerline-vcsh | 29b6bc85e0b613c3c605f8a2a5b02b981cd2136a | [
"MIT"
] | null | null | null | powerline_vcsh/__init__.py | taintedkernel/powerline-vcsh | 29b6bc85e0b613c3c605f8a2a5b02b981cd2136a | [
"MIT"
] | null | null | null | from .segments import vcsh_repo # noqa
| 20 | 39 | 0.775 | 6 | 40 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 1 | 40 | 40 | 0.909091 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e86392807f244f1a418b90313571a0ae9c4da0a7 | 2,795 | py | Python | tests/flow/tests_sanitizer.py | matipan/RedisAI | 84a1dac3893eb1d33e2bdcf3f71398f521ca461c | [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 652 | 2019-02-09T08:22:31.000Z | 2022-03-31T18:29:46.000Z | tests/flow/tests_sanitizer.py | matipan/RedisAI | 84a1dac3893eb1d33e2bdcf3f71398f521ca461c | [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 704 | 2019-01-15T19:59:24.000Z | 2022-03-27T12:17:39.000Z | tests/flow/tests_sanitizer.py | matipan/RedisAI | 84a1dac3893eb1d33e2bdcf3f71398f521ca461c | [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 84 | 2019-02-02T19:13:23.000Z | 2022-03-29T06:43:30.000Z | import redis
from functools import wraps
import multiprocessing as mp
from includes import *
'''
python -m RLTest --test tests_sanitizer.py --module path/to/redisai.so
'''
def test_sanitizer_dagrun_mobilenet_v1(env):
if (not TEST_TF or not TEST_PT):
return
con = get_connection(env, '{s}')
mem_all... | 34.085366 | 91 | 0.581038 | 354 | 2,795 | 4.381356 | 0.276836 | 0.063185 | 0.05029 | 0.077369 | 0.8343 | 0.8343 | 0.81109 | 0.764668 | 0.764668 | 0.718246 | 0 | 0.025 | 0.284436 | 2,795 | 81 | 92 | 34.506173 | 0.7505 | 0 | 0 | 0.596774 | 0 | 0 | 0.183658 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 1 | 0.032258 | false | 0 | 0.064516 | 0 | 0.16129 | 0.032258 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e8b41a704c25deff4fc1f03667fac28f1e6e3ad8 | 67,367 | py | Python | servicemesh-20200111/python/alibabacloud_servicemesh20200111/models.py | atptro/alibabacloud-sdk | 65d4a000e4f4059b58ca1bc3d032853aedef4f3f | [
"Apache-2.0"
] | null | null | null | servicemesh-20200111/python/alibabacloud_servicemesh20200111/models.py | atptro/alibabacloud-sdk | 65d4a000e4f4059b58ca1bc3d032853aedef4f3f | [
"Apache-2.0"
] | null | null | null | servicemesh-20200111/python/alibabacloud_servicemesh20200111/models.py | atptro/alibabacloud-sdk | 65d4a000e4f4059b58ca1bc3d032853aedef4f3f | [
"Apache-2.0"
] | null | null | null | # This file is auto-generated, don't edit it. Thanks.
from Tea.model import TeaModel
class RemoveClusterFromServiceMeshRequest(TeaModel):
def __init__(self, service_mesh_id=None, cluster_id=None):
self.service_mesh_id = service_mesh_id
self.cluster_id = cluster_id
def validate(self):
... | 36.35564 | 400 | 0.656152 | 7,711 | 67,367 | 5.45688 | 0.03281 | 0.029089 | 0.071296 | 0.085555 | 0.797519 | 0.770949 | 0.732544 | 0.705975 | 0.676149 | 0.656305 | 0 | 0.000942 | 0.243547 | 67,367 | 1,852 | 401 | 36.37527 | 0.824765 | 0.000757 | 0 | 0.789747 | 1 | 0 | 0.100648 | 0.015925 | 0 | 0 | 0 | 0 | 0 | 1 | 0.160934 | false | 0.006489 | 0.000649 | 0.000649 | 0.282284 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2cf5fbb6ef26ec5dc5b81f1d3b745652bf6098ef | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/core/tests/test_cpu_dispatcher.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/core/tests/test_cpu_dispatcher.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/core/tests/test_cpu_dispatcher.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/26/66/07/c8179d5cdbbca4f80609e80fe22b7a517634b227d6e048dd33d0b47fc3 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa3634f4950f7fa66e104ec36148b2c845a34cfa | 260 | py | Python | Mundo 3/ex108/moeda.py | RafaelSdm/Curso-de-Python | ae933ba80ee00ad5160bd5d05cf4b21007943fd4 | [
"MIT"
] | 1 | 2021-03-10T21:53:38.000Z | 2021-03-10T21:53:38.000Z | Mundo 3/ex108/moeda.py | RafaelSdm/Curso-de-Python | ae933ba80ee00ad5160bd5d05cf4b21007943fd4 | [
"MIT"
] | null | null | null | Mundo 3/ex108/moeda.py | RafaelSdm/Curso-de-Python | ae933ba80ee00ad5160bd5d05cf4b21007943fd4 | [
"MIT"
] | null | null | null | def dobro(num):
return num * 2
def metade(num):
return num / 2
def porcentagem(num):
return num + (num * 10/100)
def reduzindo(num):
return num - (num * 13/100)
def moeda(num,moeda='R$'):
return f"{moeda}{num:.2f}".replace('.',',') | 16.25 | 47 | 0.576923 | 39 | 260 | 3.846154 | 0.410256 | 0.24 | 0.32 | 0.173333 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065 | 0.230769 | 260 | 16 | 47 | 16.25 | 0.685 | 0 | 0 | 0 | 0 | 0 | 0.076628 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fa37d21c2d250633e75b297b62249d49e6aad335 | 94 | py | Python | sails/ui/sun/vox/sunvoxmainmenubar.py | metrasynth/solar-sails | 3a10774dad29d85834d3acb38171741b3a11ef91 | [
"MIT"
] | 6 | 2016-11-22T14:32:55.000Z | 2021-08-15T01:35:33.000Z | sails/ui/sun/vox/sunvoxmainmenubar.py | metrasynth/s4ils | efc061993d15ebe662b72ab8b3127f7f7ce2f66b | [
"MIT"
] | 2 | 2022-03-18T16:47:43.000Z | 2022-03-18T16:47:44.000Z | sails/ui/sun/vox/sunvoxmainmenubar.py | metrasynth/s4ils | efc061993d15ebe662b72ab8b3127f7f7ce2f66b | [
"MIT"
] | 2 | 2019-07-09T23:44:08.000Z | 2021-08-15T01:35:37.000Z | from sails.ui.mainmenubar import MainMenuBar
class SunVoxMainMenuBar(MainMenuBar):
pass
| 15.666667 | 44 | 0.808511 | 10 | 94 | 7.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 94 | 5 | 45 | 18.8 | 0.938272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fa53a4510b22e9d5daa5b9cf99d5ac372dfc815c | 257,365 | py | Python | instances/passenger_demand/pas-20210422-1717-int8e-1/8.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int8e-1/8.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int8e-1/8.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 15400
passenger_arriving = (
(3, 4, 3, 0, 2, 0, 5, 0, 5, 1, 1, 0, 0, 10, 5, 3, 4, 2, 3, 3, 0, 1, 0, 2, 1, 0), # 0
(4, 2, 1, 1, 1, 2, 2, 2, 0, 0, 0, 1, 0, 3, 4, 5, 2, 1, 3, 4, 1, 1, 2, 0, 1, 0), # 1
(3, 7, 2, 4, 3, 2, 3, 1, 1, 0, 0, 0, 0, 1, 2, 7, 2, 2, 1, 5, 1, 2, 2, 2, 0, 0),... | 275.256684 | 493 | 0.768718 | 32,987 | 257,365 | 5.997211 | 0.212417 | 0.360309 | 0.345751 | 0.655108 | 0.381039 | 0.372749 | 0.368033 | 0.365991 | 0.365779 | 0.365779 | 0 | 0.849203 | 0.096105 | 257,365 | 934 | 494 | 275.551392 | 0.001199 | 0.015585 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d75ab703b00da5dfab2b7aaa63bbb8f40017cfb0 | 19 | py | Python | timefred/integration/__init__.py | giladbarnea/timefred | 36cc8b0f09d38c0ed7b3e659ce337a75cd8b0c60 | [
"MIT"
] | null | null | null | timefred/integration/__init__.py | giladbarnea/timefred | 36cc8b0f09d38c0ed7b3e659ce337a75cd8b0c60 | [
"MIT"
] | null | null | null | timefred/integration/__init__.py | giladbarnea/timefred | 36cc8b0f09d38c0ed7b3e659ce337a75cd8b0c60 | [
"MIT"
] | null | null | null | from . import jira
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad08c9ea506a4fd543d1213f16eaef5e6cde8d85 | 29 | py | Python | m2aligndataextractor/__init__.py | mglezsosa/M2AlignDataExtractor | 0643a91227df8d4be03d4359ef06181b780a2802 | [
"MIT"
] | null | null | null | m2aligndataextractor/__init__.py | mglezsosa/M2AlignDataExtractor | 0643a91227df8d4be03d4359ef06181b780a2802 | [
"MIT"
] | null | null | null | m2aligndataextractor/__init__.py | mglezsosa/M2AlignDataExtractor | 0643a91227df8d4be03d4359ef06181b780a2802 | [
"MIT"
] | null | null | null | from .DataExtractor import *
| 14.5 | 28 | 0.793103 | 3 | 29 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad21fc079d92a02acdc453f38069080b57f1e6b2 | 5,433 | py | Python | ae_utils.py | xmyhhh/SLAESR | c631eb6cd939c8933e41ed0e1e12c73736777485 | [
"MIT"
] | null | null | null | ae_utils.py | xmyhhh/SLAESR | c631eb6cd939c8933e41ed0e1e12c73736777485 | [
"MIT"
] | null | null | null | ae_utils.py | xmyhhh/SLAESR | c631eb6cd939c8933e41ed0e1e12c73736777485 | [
"MIT"
] | 1 | 2020-12-07T05:01:18.000Z | 2020-12-07T05:01:18.000Z | from model_utils_torch import *
import imageio
def im_arr_to_tensor(arr, low=-1., high=1.):
arr = np.asarray(arr, np.float32)
arr = (arr / 255.) * (high - low) + low
arr = np.transpose(arr, [0, 3, 1, 2])
arr = torch.tensor(arr)
return arr
def tensor_to_im_arr(t: torch.Tensor, low=-1., high=1.):
... | 28.746032 | 110 | 0.540769 | 869 | 5,433 | 3.243959 | 0.120829 | 0.049663 | 0.025541 | 0.009933 | 0.779709 | 0.754878 | 0.754878 | 0.748138 | 0.748138 | 0.748138 | 0 | 0.050794 | 0.293392 | 5,433 | 188 | 111 | 28.898936 | 0.683511 | 0.083563 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.017241 | 0 | 0.12931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ad44afc2d29cde95e189a372168ec73efb97181b | 7,920 | py | Python | tests/test_marshmallow.py | Narodni-repozitar/nr-events | c0354dee10cbec18383db24b245bafbd3fdd36ad | [
"MIT"
] | null | null | null | tests/test_marshmallow.py | Narodni-repozitar/nr-events | c0354dee10cbec18383db24b245bafbd3fdd36ad | [
"MIT"
] | null | null | null | tests/test_marshmallow.py | Narodni-repozitar/nr-events | c0354dee10cbec18383db24b245bafbd3fdd36ad | [
"MIT"
] | null | null | null | import pytest
from marshmallow import ValidationError
from nr_events.marshmallow import EventsMetadataSchemaV1
class TestNameOriginal:
def test_name_original_1(self, app, db, taxonomy_tree, base_json, base_json_dereferenced,
base_event, base_event_dereferenced):
content = "Če... | 39.014778 | 95 | 0.563131 | 773 | 7,920 | 5.490298 | 0.108668 | 0.141376 | 0.164939 | 0.122526 | 0.911169 | 0.911169 | 0.911169 | 0.911169 | 0.911169 | 0.911169 | 0 | 0.033546 | 0.326263 | 7,920 | 202 | 96 | 39.207921 | 0.761807 | 0.003535 | 0 | 0.663043 | 0 | 0.032609 | 0.140195 | 0.005324 | 0 | 0 | 0 | 0 | 0.027174 | 1 | 0.054348 | false | 0 | 0.016304 | 0 | 0.097826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ad46fa3416eb8c11ddd78e205912589723917fb5 | 39 | py | Python | Riolu/demo.py | albarah1/Riolu | ec7cc1b6e936881d87495e30caeb33bd29097242 | [
"MIT"
] | null | null | null | Riolu/demo.py | albarah1/Riolu | ec7cc1b6e936881d87495e30caeb33bd29097242 | [
"MIT"
] | null | null | null | Riolu/demo.py | albarah1/Riolu | ec7cc1b6e936881d87495e30caeb33bd29097242 | [
"MIT"
] | null | null | null | def demoprint():
print("Hello World") | 19.5 | 21 | 0.692308 | 5 | 39 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 21 | 19.5 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ad5da6e132af6f6bd55c18177a2e5a9461a99895 | 3,717 | py | Python | responsibleai/tests/counterfactual/test_counterfactual_advanced_features.py | conradmr94/responsible-ai-widgets | bc88bd164077ae43de47007885e8cbf23f7e7e9d | [
"MIT"
] | null | null | null | responsibleai/tests/counterfactual/test_counterfactual_advanced_features.py | conradmr94/responsible-ai-widgets | bc88bd164077ae43de47007885e8cbf23f7e7e9d | [
"MIT"
] | null | null | null | responsibleai/tests/counterfactual/test_counterfactual_advanced_features.py | conradmr94/responsible-ai-widgets | bc88bd164077ae43de47007885e8cbf23f7e7e9d | [
"MIT"
] | null | null | null |
# Copyright (c) Microsoft Corporation
# Licensed under the MIT License.
import pytest
from responsibleai import ModelAnalysis
from ..common_utils import create_iris_data, create_lightgbm_classifier
class TestCounterfactualAdvancedFeatures(object):
@pytest.mark.parametrize('vary_all_features', [True, False])
... | 34.416667 | 71 | 0.645682 | 442 | 3,717 | 5.08371 | 0.178733 | 0.104139 | 0.132176 | 0.046729 | 0.764575 | 0.755229 | 0.743658 | 0.719626 | 0.719626 | 0.702715 | 0 | 0.016703 | 0.25908 | 3,717 | 107 | 72 | 34.738318 | 0.799201 | 0.018025 | 0 | 0.728395 | 0 | 0 | 0.043884 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 1 | 0.037037 | false | 0 | 0.111111 | 0 | 0.160494 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d1371e76b9e749c68daecaacf8f91002b28e7e2d | 3,792 | py | Python | duties/models.py | ycyoondev/nurse-duty | 3e536430bbe17fe6f41bb1e0b96fa7579ce43185 | [
"Apache-1.1"
] | null | null | null | duties/models.py | ycyoondev/nurse-duty | 3e536430bbe17fe6f41bb1e0b96fa7579ce43185 | [
"Apache-1.1"
] | null | null | null | duties/models.py | ycyoondev/nurse-duty | 3e536430bbe17fe6f41bb1e0b96fa7579ce43185 | [
"Apache-1.1"
] | null | null | null | from django.db import models
from django.urls import reverse
from django.conf import settings
class Team(models.Model):
date = models.DateField()
duty = models.JSONField(blank=True, null=True)
def __str__(self):
return self.date
class Event(models.Model):
user = models.ForeignKey(settings.AU... | 70.222222 | 166 | 0.284546 | 666 | 3,792 | 1.593093 | 0.100601 | 0.233742 | 0.327992 | 0.384543 | 0.563619 | 0.525919 | 0.525919 | 0.525919 | 0.525919 | 0.525919 | 0 | 0.001038 | 0.237605 | 3,792 | 54 | 167 | 70.222222 | 0.365963 | 0.002901 | 0 | 0.095238 | 0 | 0 | 0.091633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.095238 | 0.809524 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d147fcd75eb909f485a335ead412071c59c31347 | 1,099 | py | Python | tests/test_get_paid_orders.py | tcosta84/python-lojaintegrada | 24125eda68da601ef92a4a6f79216194e7d6379f | [
"MIT"
] | 6 | 2020-02-29T13:49:47.000Z | 2021-11-08T22:12:28.000Z | tests/test_get_paid_orders.py | tcosta84/python-lojaintegrada | 24125eda68da601ef92a4a6f79216194e7d6379f | [
"MIT"
] | 1 | 2021-06-02T00:21:34.000Z | 2021-06-02T00:21:34.000Z | tests/test_get_paid_orders.py | tcosta84/python-lojaintegrada | 24125eda68da601ef92a4a6f79216194e7d6379f | [
"MIT"
] | 2 | 2020-02-29T13:49:51.000Z | 2020-08-20T20:21:37.000Z | from lojaintegrada import Api
def test_get_paid_orders(mocker):
mock_get_orders = mocker.patch.object(Api, 'get_orders')
api = Api(api_key='fake-api-key', app_key='fake-app-key')
res = api.get_paid_orders()
mock_get_orders.assert_called_with(
limit=50,
situacao_id=4
)
assert... | 24.422222 | 61 | 0.700637 | 168 | 1,099 | 4.214286 | 0.190476 | 0.152542 | 0.165254 | 0.059322 | 0.894068 | 0.865819 | 0.865819 | 0.771186 | 0.771186 | 0.771186 | 0 | 0.023649 | 0.191993 | 1,099 | 44 | 62 | 24.977273 | 0.773649 | 0 | 0 | 0.551724 | 0 | 0 | 0.092812 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 1 | 0.103448 | false | 0 | 0.034483 | 0 | 0.137931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0f5e8642fd0ffc373333c978a4459255aa182876 | 13,859 | py | Python | tests/test_ocsp_response_builder.py | andrea-f/ocspbuilder | d073e14ae87a1cde7c4953ee07b0bb95eb3b47ea | [
"MIT"
] | 1 | 2019-11-30T22:41:48.000Z | 2019-11-30T22:41:48.000Z | tests/test_ocsp_response_builder.py | andrea-f/ocspbuilder | d073e14ae87a1cde7c4953ee07b0bb95eb3b47ea | [
"MIT"
] | null | null | null | tests/test_ocsp_response_builder.py | andrea-f/ocspbuilder | d073e14ae87a1cde7c4953ee07b0bb95eb3b47ea | [
"MIT"
] | null | null | null | # coding: utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
from datetime import datetime
import unittest
import os
import asn1crypto.x509
from oscrypto import asymmetric
from asn1crypto.util import timezone
from ocspbuilder import OCSPResponseBuilder
from ._unittest_compat imp... | 49.673835 | 114 | 0.672271 | 1,504 | 13,859 | 5.90492 | 0.09242 | 0.089517 | 0.06148 | 0.038509 | 0.892129 | 0.889765 | 0.8874 | 0.886499 | 0.871411 | 0.856998 | 0 | 0.00951 | 0.21091 | 13,859 | 278 | 115 | 49.852518 | 0.802579 | 0.003608 | 0 | 0.688312 | 0 | 0 | 0.177947 | 0 | 0 | 0 | 0 | 0 | 0.30303 | 1 | 0.030303 | false | 0.004329 | 0.038961 | 0 | 0.073593 | 0.004329 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0f74e6414fd1e4381be4af8bfa89db67ff5d88b1 | 36,356 | py | Python | tests/test_strategies.py | jezsadler/summit | 982de7f6424bb94da2084d4d84396b4b2673eeca | [
"MIT"
] | null | null | null | tests/test_strategies.py | jezsadler/summit | 982de7f6424bb94da2084d4d84396b4b2673eeca | [
"MIT"
] | null | null | null | tests/test_strategies.py | jezsadler/summit | 982de7f6424bb94da2084d4d84396b4b2673eeca | [
"MIT"
] | null | null | null | import pytest
from summit.benchmarks import *
from summit.domain import *
from summit.utils.dataset import DataSet
from summit.utils.multiobjective import pareto_efficient, hypervolume
from summit.strategies import *
import GPy
from fastprogress.fastprogress import progress_bar
import numpy as np
import os
import war... | 35.469268 | 113 | 0.60807 | 4,496 | 36,356 | 4.759342 | 0.087189 | 0.020609 | 0.023554 | 0.015142 | 0.831526 | 0.815871 | 0.805309 | 0.777876 | 0.768857 | 0.74778 | 0 | 0.042548 | 0.279844 | 36,356 | 1,024 | 114 | 35.503906 | 0.774731 | 0.147128 | 0 | 0.680098 | 0 | 0 | 0.099107 | 0.001554 | 0 | 0 | 0 | 0 | 0.075702 | 1 | 0.025641 | false | 0.003663 | 0.014652 | 0 | 0.052503 | 0.032967 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0f81f6a4675d1133814fc9464a208509607af5ac | 262 | py | Python | gcraft/core/__init__.py | ddomurad/gcraft | 7174fcacee875fd90e8d878463108aae3c77873e | [
"MIT"
] | null | null | null | gcraft/core/__init__.py | ddomurad/gcraft | 7174fcacee875fd90e8d878463108aae3c77873e | [
"MIT"
] | null | null | null | gcraft/core/__init__.py | ddomurad/gcraft | 7174fcacee875fd90e8d878463108aae3c77873e | [
"MIT"
] | null | null | null | from gcraft.core.app import GCraftApp, GCraftSceneApp
from gcraft.core.scene import GCraftScene, GCraftSceneManager
from gcraft.core.render_buffer import RenderBuffer
from gcraft.core.input_event import InputEvent
from gcraft.core.input_state import InputState
| 37.428571 | 61 | 0.866412 | 35 | 262 | 6.4 | 0.514286 | 0.223214 | 0.3125 | 0.169643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087786 | 262 | 6 | 62 | 43.666667 | 0.937238 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7e7e9df7775a69910ce2d49765e378fd723339b4 | 4,610 | py | Python | tests/test_all_bert_models.py | Hugging-Face-Supporter/TFTokenizers | 8b914f75dbbd4f585ecba263c88670ce37ac685a | [
"Apache-2.0"
] | 1 | 2022-01-19T14:47:36.000Z | 2022-01-19T14:47:36.000Z | tests/test_all_bert_models.py | Hugging-Face-Supporter/TFTokenizers | 8b914f75dbbd4f585ecba263c88670ce37ac685a | [
"Apache-2.0"
] | 16 | 2022-01-11T19:22:21.000Z | 2022-01-21T00:25:11.000Z | tests/test_all_bert_models.py | Hugging-Face-Supporter/tftokenizers | 8b914f75dbbd4f585ecba263c88670ce37ac685a | [
"Apache-2.0"
] | 3 | 2022-01-22T16:00:03.000Z | 2022-01-25T20:08:12.000Z | import numpy as np
import pytest
import tensorflow as tf
import tensorflow_text as text
from tftokenizers.tokenizer import compare_tokenizers
s1 = "sponge bob squarepants is an avenger"
s2 = "Huggingface to Tensorflow tokenizers"
s3 = "HelLo!"
swe = "Pippi Långstrump, en karaktär skapad av Astrid Lindgren"
def test... | 33.897059 | 84 | 0.686768 | 612 | 4,610 | 4.839869 | 0.138889 | 0.131668 | 0.166779 | 0.166779 | 0.793045 | 0.781567 | 0.754558 | 0.754558 | 0.738352 | 0.703579 | 0 | 0.014088 | 0.168547 | 4,610 | 135 | 85 | 34.148148 | 0.758675 | 0.312364 | 0 | 0.486111 | 0 | 0 | 0.216821 | 0.055005 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0 | 0.069444 | 0 | 0.194444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7e976d74e7c2def3828e42ee80f42184944cf449 | 69 | py | Python | pydrawing/modules/beautifiers/nostalgicstyle/__init__.py | CharlesPikachu/pydrawing | be95378a5667ea345f2a3760f8814dff255ebe15 | [
"MIT"
] | 93 | 2022-01-18T01:42:58.000Z | 2022-03-18T18:42:55.000Z | pydrawing/modules/beautifiers/nostalgicstyle/__init__.py | CharlesPikachu/pydrawing | be95378a5667ea345f2a3760f8814dff255ebe15 | [
"MIT"
] | null | null | null | pydrawing/modules/beautifiers/nostalgicstyle/__init__.py | CharlesPikachu/pydrawing | be95378a5667ea345f2a3760f8814dff255ebe15 | [
"MIT"
] | 1 | 2022-02-17T04:36:17.000Z | 2022-02-17T04:36:17.000Z | '''initialize'''
from .nostalgicstyle import NostalgicstyleBeautifier | 34.5 | 52 | 0.84058 | 5 | 69 | 11.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 69 | 2 | 52 | 34.5 | 0.892308 | 0.144928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ec797700ae6d5a4fc772963be67776146a5c92f | 38 | py | Python | commands/project/__init__.py | razaibi/eksmash | 3aa6f8476a39cf447ed3f2b17769bfea98775001 | [
"Apache-2.0"
] | null | null | null | commands/project/__init__.py | razaibi/eksmash | 3aa6f8476a39cf447ed3f2b17769bfea98775001 | [
"Apache-2.0"
] | null | null | null | commands/project/__init__.py | razaibi/eksmash | 3aa6f8476a39cf447ed3f2b17769bfea98775001 | [
"Apache-2.0"
] | null | null | null | from commands.project.manager import * | 38 | 38 | 0.842105 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d18d9f6040b9112e8c5bd48bd6fac5304341ef8 | 5,461 | py | Python | nebula/tests/test_config_default.py | threathunterX/nebula_web | 2e32e6e7b225e0bd87ee8c847c22862f12c51bb1 | [
"Apache-2.0"
] | 2 | 2019-05-01T09:42:32.000Z | 2019-05-31T01:08:37.000Z | nebula/tests/test_config_default.py | threathunterX/nebula_web | 2e32e6e7b225e0bd87ee8c847c22862f12c51bb1 | [
"Apache-2.0"
] | 1 | 2021-06-01T23:30:04.000Z | 2021-06-01T23:30:04.000Z | nebula/tests/test_config_default.py | threathunterX/nebula_web | 2e32e6e7b225e0bd87ee8c847c22862f12c51bb1 | [
"Apache-2.0"
] | 5 | 2019-05-14T09:30:12.000Z | 2020-09-29T04:57:26.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from sqlalchemy.orm import sessionmaker
from nebula.views import config_default
from nebula.dao.config_dao import ConfigDefaultDao
from base import WebTestCase, wsgi_safe, Auth_Code
configs = [
{
"last_modified": 1497421508806,
"value": "di... | 34.13125 | 87 | 0.634499 | 626 | 5,461 | 5.413738 | 0.138978 | 0.110652 | 0.084981 | 0.053113 | 0.79758 | 0.769253 | 0.766893 | 0.740336 | 0.727648 | 0.727648 | 0 | 0.007944 | 0.216261 | 5,461 | 159 | 88 | 34.345912 | 0.783879 | 0.017945 | 0 | 0.704918 | 0 | 0 | 0.10541 | 0.05056 | 0 | 0 | 0 | 0 | 0.204918 | 1 | 0.147541 | false | 0 | 0.040984 | 0.02459 | 0.237705 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d3d16bd694a90e5fb4b2b4bde31087a8b55d6b1 | 100 | py | Python | accounts/views.py | ganeshappikatla/django-sample | 367f052015126a2b6e437fd4f68f9e5f129cbf82 | [
"Apache-2.0"
] | null | null | null | accounts/views.py | ganeshappikatla/django-sample | 367f052015126a2b6e437fd4f68f9e5f129cbf82 | [
"Apache-2.0"
] | null | null | null | accounts/views.py | ganeshappikatla/django-sample | 367f052015126a2b6e437fd4f68f9e5f129cbf82 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def register(request):
pass
| 11.111111 | 35 | 0.72 | 13 | 100 | 5.538462 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22 | 100 | 8 | 36 | 12.5 | 0.923077 | 0.23 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
addc8f2bb885a3c874ffe56df8b313461f93861b | 4,140 | py | Python | output/models/nist_data/list_pkg/nmtokens/schema_instance/nistschema_sv_iv_list_nmtokens_enumeration_3_xsd/nistschema_sv_iv_list_nmtokens_enumeration_3.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/list_pkg/nmtokens/schema_instance/nistschema_sv_iv_list_nmtokens_enumeration_3_xsd/nistschema_sv_iv_list_nmtokens_enumeration_3.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/list_pkg/nmtokens/schema_instance/nistschema_sv_iv_list_nmtokens_enumeration_3_xsd/nistschema_sv_iv_list_nmtokens_enumeration_3.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
from enum import Enum
from typing import Optional
__NAMESPACE__ = "NISTSchema-SV-IV-list-NMTOKENS-enumeration-3-NS"
class NistschemaSvIvListNmtokensEnumeration3Type(Enum):
IM_D_NIST_NAVAL_APPROPRIATE_AND_THESE_REVOLUTION_MANIPULATE_COMMERCE_APPLICATIONS_TH_AND_TEST_THE_RE... | 53.766234 | 331 | 0.738647 | 499 | 4,140 | 5.587174 | 0.354709 | 0.015782 | 0.015065 | 0.019369 | 0.890961 | 0.890961 | 0.890961 | 0.877331 | 0.877331 | 0.842181 | 0 | 0.00177 | 0.181401 | 4,140 | 76 | 332 | 54.473684 | 0.820891 | 0 | 0 | 0 | 0 | 0 | 0.366184 | 0.339614 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.042857 | 0 | 0.185714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc2fa0728d3cfc7d31d0a737cd2e5e2fdd300258 | 99 | py | Python | gowpy/feature_extraction/gow/__init__.py | GuillaumeDD/gowpy | 0f8807a9fd5e4d67539b61ccb51345f6acba904d | [
"BSD-3-Clause"
] | 8 | 2020-05-04T15:45:32.000Z | 2021-06-18T09:09:12.000Z | gowpy/feature_extraction/gow/__init__.py | GuillaumeDD/gowpy | 0f8807a9fd5e4d67539b61ccb51345f6acba904d | [
"BSD-3-Clause"
] | null | null | null | gowpy/feature_extraction/gow/__init__.py | GuillaumeDD/gowpy | 0f8807a9fd5e4d67539b61ccb51345f6acba904d | [
"BSD-3-Clause"
] | 1 | 2021-01-08T18:12:33.000Z | 2021-01-08T18:12:33.000Z | from .gow_vectorizer import GoWVectorizer
from .tw_vectorizer import TwVectorizer, TwidfVectorizer
| 33 | 56 | 0.878788 | 11 | 99 | 7.727273 | 0.727273 | 0.376471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 99 | 2 | 57 | 49.5 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb5040c8e11fffc945ba3d610fda3efe68ef2989 | 98 | py | Python | tutorial/static/code-snippets/detection_model_predictions_raw.py | yolande-prog/pytorch-for-information-extraction | caa3c4d9b3f3a0ddc329819c5638826810c717ec | [
"MIT"
] | 5 | 2020-11-19T14:18:39.000Z | 2022-03-10T11:29:06.000Z | tutorial/static/code-snippets/detection_model_predictions_raw.py | yolande-prog/pytorch-for-information-extraction | caa3c4d9b3f3a0ddc329819c5638826810c717ec | [
"MIT"
] | 2 | 2021-04-29T11:33:24.000Z | 2021-05-18T07:44:20.000Z | tutorial/static/code-snippets/detection_model_predictions_raw.py | yolande-prog/pytorch-for-information-extraction | caa3c4d9b3f3a0ddc329819c5638826810c717ec | [
"MIT"
] | 2 | 2020-12-18T21:43:05.000Z | 2021-07-03T22:09:49.000Z | print(detection_predictions[0]['labels'].size()[0], 'objects detected !')
detection_predictions[0] | 49 | 73 | 0.765306 | 12 | 98 | 6.083333 | 0.666667 | 0.547945 | 0.575342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0.040816 | 98 | 2 | 74 | 49 | 0.744681 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
cb7453fa7c20dfa72320fa76a4c1e41231b0615b | 53 | py | Python | nutrient/commands.py | stefan-wolfsheimer/nutrient | 5d55c3a0bac7c19aa991c7580932b17c64ebb2b3 | [
"MIT"
] | null | null | null | nutrient/commands.py | stefan-wolfsheimer/nutrient | 5d55c3a0bac7c19aa991c7580932b17c64ebb2b3 | [
"MIT"
] | null | null | null | nutrient/commands.py | stefan-wolfsheimer/nutrient | 5d55c3a0bac7c19aa991c7580932b17c64ebb2b3 | [
"MIT"
] | null | null | null | import cliapp
class List(cliapp.Command):
pass
| 8.833333 | 27 | 0.716981 | 7 | 53 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207547 | 53 | 5 | 28 | 10.6 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cb75f3234a3ff68878d3c2d8ce101f0403bd2b35 | 3,912 | py | Python | generators/bkggen.py | gauravmm/gauravmanek.com | 3c54ba8719cc7332ec0bad68cb5ce85fd246cdf6 | [
"MIT"
] | null | null | null | generators/bkggen.py | gauravmm/gauravmanek.com | 3c54ba8719cc7332ec0bad68cb5ce85fd246cdf6 | [
"MIT"
] | null | null | null | generators/bkggen.py | gauravmm/gauravmanek.com | 3c54ba8719cc7332ec0bad68cb5ce85fd246cdf6 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import random
import svgwrite
from svgwrite import rgb
def bkggen_square(name):
# image size
img_draw_sz = "6cm"
img_cell_count = 24
img_cell_sz = 5
img_gutter_sz = 1
colors = [rgb(col, col, col) for col in [246, 248, 250, 252, 255]]
dwg = svgwrite.Drawing(name, (img_draw_sz, img_draw_sz... | 29.636364 | 160 | 0.697597 | 711 | 3,912 | 3.42616 | 0.147679 | 0.149425 | 0.133005 | 0.078818 | 0.809524 | 0.763957 | 0.75821 | 0.743842 | 0.734811 | 0.720854 | 0 | 0.037666 | 0.172035 | 3,912 | 131 | 161 | 29.862595 | 0.714418 | 0.120654 | 0 | 0.678571 | 0 | 0 | 0.015461 | 0.006126 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.035714 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1ddf37d413d53c0374931a424fd8a836093b13bf | 3,618 | py | Python | imcsdk/mometa/bios/BiosVfConfigTDPLevel.py | ecoen66/imcsdk | b10eaa926a5ee57cea7182ae0adc8dd1c818b0ab | [
"Apache-2.0"
] | 31 | 2016-06-14T07:23:59.000Z | 2021-09-12T17:17:26.000Z | imcsdk/mometa/bios/BiosVfConfigTDPLevel.py | sthagen/imcsdk | 1831eaecb5960ca03a8624b1579521749762b932 | [
"Apache-2.0"
] | 109 | 2016-05-25T03:56:56.000Z | 2021-10-18T02:58:12.000Z | imcsdk/mometa/bios/BiosVfConfigTDPLevel.py | sthagen/imcsdk | 1831eaecb5960ca03a8624b1579521749762b932 | [
"Apache-2.0"
] | 67 | 2016-05-17T05:53:56.000Z | 2022-03-24T15:52:53.000Z | """This module contains the general information for BiosVfConfigTDPLevel ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class BiosVfConfigTDPLevelConsts:
VP_CONFIG_TDPLEVEL_LEVEL_1 = "Level 1"
VP_CONFIG_TDPLEVEL_LEVEL_... | 48.24 | 237 | 0.638198 | 340 | 3,618 | 6.582353 | 0.226471 | 0.050045 | 0.125112 | 0.187668 | 0.716711 | 0.700626 | 0.700626 | 0.700626 | 0.700626 | 0.700626 | 0 | 0.02867 | 0.199834 | 3,618 | 74 | 238 | 48.891892 | 0.744387 | 0.033168 | 0 | 0.45283 | 0 | 0 | 0.258749 | 0.012622 | 0 | 0 | 0.009753 | 0 | 0 | 1 | 0.018868 | false | 0 | 0.056604 | 0 | 0.283019 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.