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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
77f5a84ee7e8e3eccfcadfcdc022467f83791c14 | 46 | py | Python | s2g/__init__.py | vishalbelsare/s2g | e94a5a99f3bb5a39c574513eb4e343a09f2f6b74 | [
"MIT"
] | 20 | 2017-02-14T15:26:47.000Z | 2021-05-11T12:44:40.000Z | s2g/__init__.py | vishalbelsare/s2g | e94a5a99f3bb5a39c574513eb4e343a09f2f6b74 | [
"MIT"
] | 8 | 2016-12-22T13:01:23.000Z | 2021-07-15T09:53:54.000Z | s2g/__init__.py | caesar0301/python-s2g | e94a5a99f3bb5a39c574513eb4e343a09f2f6b74 | [
"MIT"
] | 6 | 2017-02-14T15:29:15.000Z | 2019-05-03T00:03:27.000Z | from .shapegraph import *
from .bonus import * | 23 | 25 | 0.76087 | 6 | 46 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 26 | 23 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7af00a1b8508c546116696e2fc7a7a3ba73a7757 | 117 | py | Python | controllers/reddit/__init__.py | atas98/telegram-reddit-bot | e021533cb8acaa439ed57dc7e20e1b5a04970af8 | [
"MIT"
] | 4 | 2021-03-25T09:10:04.000Z | 2021-09-25T07:04:30.000Z | controllers/reddit/__init__.py | atas98/telegram-reddit-bot | e021533cb8acaa439ed57dc7e20e1b5a04970af8 | [
"MIT"
] | 2 | 2022-01-10T14:12:31.000Z | 2022-01-12T22:56:12.000Z | controllers/reddit/__init__.py | atas98/telegram-reddit-bot | e021533cb8acaa439ed57dc7e20e1b5a04970af8 | [
"MIT"
] | 1 | 2021-12-18T08:28:34.000Z | 2021-12-18T08:28:34.000Z | from .reddit import Reddit, Post_Types, Sort_Types, Post_Data
__all__ = [Post_Types, Sort_Types, Post_Data, Reddit]
| 29.25 | 61 | 0.794872 | 18 | 117 | 4.611111 | 0.444444 | 0.216867 | 0.313253 | 0.433735 | 0.626506 | 0.626506 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119658 | 117 | 3 | 62 | 39 | 0.805825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
bb0afd931f58257044eb230162b9983c3d129f25 | 67 | py | Python | benchmark_function/__init__.py | yshimizu12/BenchmarkFunction | 66ad568d092f2c325d685e10c02942745ed33b07 | [
"MIT"
] | 2 | 2021-07-16T01:10:43.000Z | 2021-07-16T04:49:12.000Z | benchmark_function/__init__.py | yshimizu12/BenchmarkFunction | 66ad568d092f2c325d685e10c02942745ed33b07 | [
"MIT"
] | null | null | null | benchmark_function/__init__.py | yshimizu12/BenchmarkFunction | 66ad568d092f2c325d685e10c02942745ed33b07 | [
"MIT"
] | 1 | 2021-07-16T05:19:20.000Z | 2021-07-16T05:19:20.000Z | from benchmark_function.benchmark_function import BenchmarkFunction | 67 | 67 | 0.940299 | 7 | 67 | 8.714286 | 0.714286 | 0.557377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 67 | 1 | 67 | 67 | 0.953125 | 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 |
bb1a7712dcfcd284bd95f5d2e8d558248c33fdc0 | 24 | py | Python | server/rest/__init__.py | Nugetzrul3/ApiServer | ee031dd1659331e41f241402afc96cddf9750ced | [
"MIT"
] | 1 | 2021-11-07T10:05:23.000Z | 2021-11-07T10:05:23.000Z | server/rest/__init__.py | equitypay/api-server | 6830501351c944c075e4792f941b23c9ff63e029 | [
"MIT"
] | 3 | 2021-09-05T18:22:42.000Z | 2021-09-26T06:21:39.000Z | server/rest/__init__.py | equitypay/api-server | 6830501351c944c075e4792f941b23c9ff63e029 | [
"MIT"
] | 2 | 2020-05-19T13:20:00.000Z | 2021-09-26T04:58:41.000Z | from .views import rest
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb3d506772c1cc57d6849b74aa95d7c2eff0b12c | 135 | py | Python | am_i_the_asshole/models/__init__.py | mirandrom/am-i-the-asshole | e7e4f00aa193931d45e4012db5cc65d3679faa90 | [
"MIT"
] | 1 | 2020-10-05T16:39:18.000Z | 2020-10-05T16:39:18.000Z | am_i_the_asshole/models/__init__.py | amr-amr/am-i-the-asshole | e7e4f00aa193931d45e4012db5cc65d3679faa90 | [
"MIT"
] | null | null | null | am_i_the_asshole/models/__init__.py | amr-amr/am-i-the-asshole | e7e4f00aa193931d45e4012db5cc65d3679faa90 | [
"MIT"
] | null | null | null | from am_i_the_asshole.models.regressor import AitaRegressor
from am_i_the_asshole.models.bert_sentence_pooler import BertSentencePooler | 67.5 | 75 | 0.918519 | 20 | 135 | 5.8 | 0.65 | 0.103448 | 0.12069 | 0.172414 | 0.396552 | 0.396552 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051852 | 135 | 2 | 75 | 67.5 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
24b70b52fbe7f2300946db1df09edfa253165ee4 | 264 | py | Python | novice/python-unit-testing/code/test_addnumbers.py | Southampton-RSG/2019-03-13-southampton-swc | 1f07d82c1bd1f237a19fa7a17bb4765e0364dc88 | [
"CC-BY-4.0"
] | 1 | 2021-06-20T11:51:37.000Z | 2021-06-20T11:51:37.000Z | novice/python-unit-testing/code/test_addnumbers.py | Southampton-RSG/2019-03-13-southampton-swc | 1f07d82c1bd1f237a19fa7a17bb4765e0364dc88 | [
"CC-BY-4.0"
] | 1 | 2019-09-30T21:15:32.000Z | 2019-09-30T21:15:32.000Z | novice/python-unit-testing/code/test_addnumbers.py | Southampton-RSG/2019-03-13-southampton-swc | 1f07d82c1bd1f237a19fa7a17bb4765e0364dc88 | [
"CC-BY-4.0"
] | null | null | null | from addnumbers import addnumbers
def test_empty():
assert addnumbers([]) == None
def test_single_value():
assert addnumbers([1]) == 1
def test_two_values():
assert addnumbers([1, 2]) == 3
def test_three_values():
assert addnumbers([1, 2, 3]) == 6
| 18.857143 | 36 | 0.674242 | 37 | 264 | 4.621622 | 0.459459 | 0.163743 | 0.298246 | 0.269006 | 0.292398 | 0.292398 | 0 | 0 | 0 | 0 | 0 | 0.041475 | 0.17803 | 264 | 13 | 37 | 20.307692 | 0.746544 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.444444 | true | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
24eb4007faea88857c9340fa545dcecf01d29c1b | 155 | py | Python | Task/Fibonacci-sequence/Python/fibonacci-sequence-5.py | djgoku/RosettaCodeData | 91df62d46142e921b3eacdb52b0316c39ee236bc | [
"Info-ZIP"
] | null | null | null | Task/Fibonacci-sequence/Python/fibonacci-sequence-5.py | djgoku/RosettaCodeData | 91df62d46142e921b3eacdb52b0316c39ee236bc | [
"Info-ZIP"
] | null | null | null | Task/Fibonacci-sequence/Python/fibonacci-sequence-5.py | djgoku/RosettaCodeData | 91df62d46142e921b3eacdb52b0316c39ee236bc | [
"Info-ZIP"
] | null | null | null | def fibFastRec(n):
def fib(prvprv, prv, c):
if c < 1: return prvprv
else: return fib(prv, prvprv + prv, c - 1)
return fib(0, 1, n)
| 25.833333 | 50 | 0.548387 | 26 | 155 | 3.269231 | 0.461538 | 0.211765 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.316129 | 155 | 5 | 51 | 31 | 0.764151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
70188086df625a9d5c91f3b0646f5f32305ebfdc | 48 | py | Python | src/senda/__init__.py | ebanalyse/senda | d40035df455368d3a439055327a7e08b9517d987 | [
"MIT"
] | 13 | 2021-04-27T12:48:44.000Z | 2021-11-25T15:31:34.000Z | src/senda/__init__.py | ebanalyse/senda | d40035df455368d3a439055327a7e08b9517d987 | [
"MIT"
] | null | null | null | src/senda/__init__.py | ebanalyse/senda | d40035df455368d3a439055327a7e08b9517d987 | [
"MIT"
] | null | null | null | from .Model import *
from .angry_tweets import * | 24 | 27 | 0.770833 | 7 | 48 | 5.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 27 | 24 | 0.878049 | 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 |
705b4928d1637203f85768713a5bda242e89b715 | 27 | py | Python | cachupy/__init__.py | patrickbird/cachupy | d1504f3c3129c926bd9897a6660669f146e64c38 | [
"MIT"
] | null | null | null | cachupy/__init__.py | patrickbird/cachupy | d1504f3c3129c926bd9897a6660669f146e64c38 | [
"MIT"
] | null | null | null | cachupy/__init__.py | patrickbird/cachupy | d1504f3c3129c926bd9897a6660669f146e64c38 | [
"MIT"
] | null | null | null | from .cachupy import Cache
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 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 |
7062e1120cb786e7db980520a08fd759ed2faa9d | 28 | py | Python | double3/double3sdk/events/__init__.py | CLOMING/winter2021_double | 9b920baaeb3736a785a6505310b972c49b5b21e9 | [
"Apache-2.0"
] | null | null | null | double3/double3sdk/events/__init__.py | CLOMING/winter2021_double | 9b920baaeb3736a785a6505310b972c49b5b21e9 | [
"Apache-2.0"
] | null | null | null | double3/double3sdk/events/__init__.py | CLOMING/winter2021_double | 9b920baaeb3736a785a6505310b972c49b5b21e9 | [
"Apache-2.0"
] | null | null | null | from .events import _Events
| 14 | 27 | 0.821429 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 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 |
3b51ca829363143c002936e4b2a6ee2de0f98d39 | 117 | py | Python | bot/utils/__init__.py | Bluenix2/WinterBot | a7c546ebe881feabf4f2a97ba65354a9244fed31 | [
"MIT"
] | 1 | 2021-07-15T09:36:13.000Z | 2021-07-15T09:36:13.000Z | bot/utils/__init__.py | Bluenix2/WinterBot | a7c546ebe881feabf4f2a97ba65354a9244fed31 | [
"MIT"
] | null | null | null | bot/utils/__init__.py | Bluenix2/WinterBot | a7c546ebe881feabf4f2a97ba65354a9244fed31 | [
"MIT"
] | null | null | null | from bot.utils.database import ConnectionUtil, Context
from bot.utils.dependencies import get_app, get_bot, get_conn
| 39 | 61 | 0.846154 | 18 | 117 | 5.333333 | 0.611111 | 0.145833 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094017 | 117 | 2 | 62 | 58.5 | 0.90566 | 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 |
8e576c36c004928f38b77f813eed553595c2dcb9 | 69 | py | Python | commondtools/network/__init__.py | M0Rph3U56031769/commondtools | ef29716179f80ec38355e871fa67763c5edfc54c | [
"MIT"
] | 1 | 2020-01-27T05:22:48.000Z | 2020-01-27T05:22:48.000Z | commondtools/network/__init__.py | M0Rph3U56031769/commondtools | ef29716179f80ec38355e871fa67763c5edfc54c | [
"MIT"
] | 3 | 2020-03-31T11:05:14.000Z | 2020-11-17T08:50:41.000Z | commondtools/network/__init__.py | M0Rph3U56031769/commondtools | ef29716179f80ec38355e871fa67763c5edfc54c | [
"MIT"
] | null | null | null | from .ping import *
from .portscan import *
from .validreqs import *
| 17.25 | 24 | 0.73913 | 9 | 69 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 25 | 23 | 0.894737 | 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 |
8ec7b274385450d7c653df661612650569057787 | 252 | py | Python | mysite/views.py | ardassmedia13/my_first_app | b63479b65e4bf8360cc95e4d8df57388f6fe7e9a | [
"Apache-2.0"
] | null | null | null | mysite/views.py | ardassmedia13/my_first_app | b63479b65e4bf8360cc95e4d8df57388f6fe7e9a | [
"Apache-2.0"
] | null | null | null | mysite/views.py | ardassmedia13/my_first_app | b63479b65e4bf8360cc95e4d8df57388f6fe7e9a | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index(request):
return render(request,'index.html')
def elements(request):
return render(request,'elements.html')
def generic(request):
return render(request,'test.html') | 21 | 42 | 0.738095 | 33 | 252 | 5.636364 | 0.515152 | 0.209677 | 0.306452 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 252 | 12 | 43 | 21 | 0.861111 | 0.09127 | 0 | 0 | 0 | 0 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8edaf2fc1464eabbe86c450a01c10a75f0c02274 | 43,054 | py | Python | src/aecg/utils.py | FDA/aecg-python | 561aa3881b51af4d7dfdb2b5030f31e970ba9666 | [
"CC0-1.0"
] | 2 | 2021-03-04T05:32:19.000Z | 2021-12-12T04:24:43.000Z | src/aecg/utils.py | FDA/aecg-python | 561aa3881b51af4d7dfdb2b5030f31e970ba9666 | [
"CC0-1.0"
] | null | null | null | src/aecg/utils.py | FDA/aecg-python | 561aa3881b51af4d7dfdb2b5030f31e970ba9666 | [
"CC0-1.0"
] | 1 | 2021-06-07T11:07:45.000Z | 2021-06-07T11:07:45.000Z | """ Utility functions for annotated ECG HL7 XML tools
This submodule provides utility functions such as basic printing and plotting.
See authors, license and disclaimer at the top level directory of this project.
"""
import logging
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from enum i... | 46.747014 | 79 | 0.534701 | 5,492 | 43,054 | 3.98343 | 0.058267 | 0.05924 | 0.031266 | 0.032911 | 0.885816 | 0.85583 | 0.819354 | 0.784203 | 0.770718 | 0.737441 | 0 | 0.041291 | 0.358736 | 43,054 | 920 | 80 | 46.797826 | 0.751096 | 0.192479 | 0 | 0.663636 | 0 | 0 | 0.039258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006061 | false | 0 | 0.009091 | 0 | 0.027273 | 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 |
d941d95cc530a79ef9a953e17e71fc87d1ed8b4f | 201 | py | Python | Code/odooerp/odoo-8.0/openerp/addons/account/tests/__init__.py | zhupangithub/WEBERP | 714512082ec5c6db07cbf6af0238ceefe2d2c1a5 | [
"MIT"
] | null | null | null | Code/odooerp/odoo-8.0/openerp/addons/account/tests/__init__.py | zhupangithub/WEBERP | 714512082ec5c6db07cbf6af0238ceefe2d2c1a5 | [
"MIT"
] | null | null | null | Code/odooerp/odoo-8.0/openerp/addons/account/tests/__init__.py | zhupangithub/WEBERP | 714512082ec5c6db07cbf6af0238ceefe2d2c1a5 | [
"MIT"
] | 3 | 2020-10-08T14:42:10.000Z | 2022-01-28T14:12:29.000Z | from . import test_tax
from . import test_search
from . import test_reconciliation
from . import test_account_move_closed_period
from . import test_fiscal_position
from . import test_product_id_change
| 28.714286 | 45 | 0.850746 | 30 | 201 | 5.3 | 0.5 | 0.377358 | 0.528302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 201 | 6 | 46 | 33.5 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d94a49249ecf348e7e94c0cdb73f38ac2f6973a1 | 14,277 | py | Python | test/hummingbot/connector/derivative/test_perpetual_budget_checker.py | BGTCapital/hummingbot | 2c50f50d67cedccf0ef4d8e3f4c8cdce3dc87242 | [
"Apache-2.0"
] | 2 | 2022-03-03T10:00:27.000Z | 2022-03-08T13:57:56.000Z | test/hummingbot/connector/derivative/test_perpetual_budget_checker.py | BGTCapital/hummingbot | 2c50f50d67cedccf0ef4d8e3f4c8cdce3dc87242 | [
"Apache-2.0"
] | 6 | 2022-01-31T15:44:54.000Z | 2022-03-06T04:27:12.000Z | test/hummingbot/connector/derivative/test_perpetual_budget_checker.py | BGTCapital/hummingbot | 2c50f50d67cedccf0ef4d8e3f4c8cdce3dc87242 | [
"Apache-2.0"
] | 1 | 2022-02-22T11:03:02.000Z | 2022-02-22T11:03:02.000Z | import unittest
from decimal import Decimal
from test.mock.mock_perp_connector import MockPerpConnector
from hummingbot.connector.derivative.perpetual_budget_checker import PerpetualBudgetChecker
from hummingbot.connector.exchange.paper_trade.paper_trade_exchange import QuantizationParams
from hummingbot.connector.uti... | 52.488971 | 106 | 0.72193 | 1,614 | 14,277 | 6.070632 | 0.084263 | 0.105634 | 0.073689 | 0.077159 | 0.871709 | 0.851602 | 0.842417 | 0.834558 | 0.829353 | 0.826801 | 0 | 0.016104 | 0.191007 | 14,277 | 271 | 107 | 52.682657 | 0.832208 | 0.030048 | 0 | 0.694215 | 0 | 0 | 0.014825 | 0.002603 | 0 | 0 | 0 | 0 | 0.334711 | 1 | 0.045455 | false | 0 | 0.03719 | 0 | 0.086777 | 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 |
794c140085a1b064a2e760575ac7ddd4aa5577d8 | 142 | py | Python | cmc/python/__init__.py | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | 1 | 2020-12-24T22:00:01.000Z | 2020-12-24T22:00:01.000Z | cmc/python/__init__.py | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | null | null | null | cmc/python/__init__.py | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | 3 | 2020-07-17T09:20:29.000Z | 2021-03-30T16:44:18.000Z | from icecube import icetray,dataclasses,sim_services
from icecube.load_pybindings import load_pybindings
load_pybindings(__name__, __path__)
| 28.4 | 52 | 0.880282 | 18 | 142 | 6.277778 | 0.611111 | 0.371681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077465 | 142 | 4 | 53 | 35.5 | 0.862595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
79a1e2628569761d819316ed465a5bdf7b788119 | 143 | py | Python | oslo/__init__.py | Mehrad0711/oslo | 873d771a68bc380903947010da0b66f58f60e496 | [
"Apache-2.0"
] | null | null | null | oslo/__init__.py | Mehrad0711/oslo | 873d771a68bc380903947010da0b66f58f60e496 | [
"Apache-2.0"
] | null | null | null | oslo/__init__.py | Mehrad0711/oslo | 873d771a68bc380903947010da0b66f58f60e496 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 TUNiB inc.
from oslo.pytorch import initialize
from oslo.pytorch.model_parallelism.utils.mappings import Column, Row, Update
| 28.6 | 77 | 0.825175 | 20 | 143 | 5.85 | 0.8 | 0.136752 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0.111888 | 143 | 4 | 78 | 35.75 | 0.889764 | 0.174825 | 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 |
79b8cd00464bc5302b926ee6622a6d08e27cf1c0 | 87 | py | Python | example/articles/tests/perms/__init__.py | Formulka/django-fperms | 88b8fa3dd87075a56d8bfeb2b9993c578c22694e | [
"MIT"
] | 3 | 2019-03-29T09:50:45.000Z | 2021-05-01T21:11:33.000Z | example/articles/tests/perms/__init__.py | Formulka/django-perms | 88b8fa3dd87075a56d8bfeb2b9993c578c22694e | [
"MIT"
] | 2 | 2018-04-12T00:54:05.000Z | 2018-04-12T16:32:42.000Z | example/articles/tests/perms/__init__.py | Formulka/django-perms | 88b8fa3dd87075a56d8bfeb2b9993c578c22694e | [
"MIT"
] | 1 | 2018-07-13T14:42:07.000Z | 2018-07-13T14:42:07.000Z | from .generic import *
from .model import *
from .object import *
from .field import *
| 17.4 | 22 | 0.724138 | 12 | 87 | 5.25 | 0.5 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183908 | 87 | 4 | 23 | 21.75 | 0.887324 | 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 |
8dca6c5fe2c9cf1d6a6d311f3f9528b7eb81cfb5 | 19 | py | Python | proc/__init__.py | nomadiq/maunakini | 835cf11573129ce5e614382c4d12f3bc9be4c6c5 | [
"MIT"
] | 1 | 2022-02-03T16:28:54.000Z | 2022-02-03T16:28:54.000Z | proc/__init__.py | nomadiq/maunakini | 835cf11573129ce5e614382c4d12f3bc9be4c6c5 | [
"MIT"
] | null | null | null | proc/__init__.py | nomadiq/maunakini | 835cf11573129ce5e614382c4d12f3bc9be4c6c5 | [
"MIT"
] | 1 | 2022-02-03T16:25:59.000Z | 2022-02-03T16:25:59.000Z | from .proc import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8dda7cefccdac6f0a8f8ccf597df7a23e1982766 | 928 | py | Python | 10-Making a scatter plot.py | mnabavi84/dcamp-intro-dscience-python | de6dbdf7328e0cdfaab218c01589db269abb100c | [
"MIT"
] | null | null | null | 10-Making a scatter plot.py | mnabavi84/dcamp-intro-dscience-python | de6dbdf7328e0cdfaab218c01589db269abb100c | [
"MIT"
] | null | null | null | 10-Making a scatter plot.py | mnabavi84/dcamp-intro-dscience-python | de6dbdf7328e0cdfaab218c01589db269abb100c | [
"MIT"
] | null | null | null | # Explore the data
print(cellphone.head())
# Create a scatter plot of the data from the DataFrame cellphone
plt.scatter(cellphone.x, cellphone.y)
# Add labels
plt.ylabel('Latitude')
plt.xlabel('Longitude')
# Display the plot
plt.show()
# Change the marker color to red
plt.scatter(cellphone.x, cellph... | 17.846154 | 65 | 0.632543 | 124 | 928 | 4.733871 | 0.290323 | 0.068143 | 0.129472 | 0.136286 | 0.778535 | 0.778535 | 0.727428 | 0.727428 | 0.662692 | 0.662692 | 0 | 0.005674 | 0.240302 | 928 | 51 | 66 | 18.196078 | 0.82695 | 0.309267 | 0 | 0.73913 | 0 | 0 | 0.137153 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c05e1e780f57d02f7ad285145df43eafff29192 | 5,960 | py | Python | finnish_media_scrapers/htmltotext.py | hsci-r/finnish-media-scraper | b63b54e3cdc2c55b426eeeeb9656da45a8a9ed4f | [
"MIT"
] | 6 | 2021-06-29T10:31:01.000Z | 2022-03-16T16:02:31.000Z | finnish_media_scrapers/htmltotext.py | hsci-r/finnish-media-scraper | b63b54e3cdc2c55b426eeeeb9656da45a8a9ed4f | [
"MIT"
] | 6 | 2021-06-28T15:09:03.000Z | 2022-01-10T12:10:05.000Z | finnish_media_scrapers/htmltotext.py | hsci-r/finnish-media-scraper | b63b54e3cdc2c55b426eeeeb9656da45a8a9ed4f | [
"MIT"
] | 1 | 2021-07-17T00:35:09.000Z | 2021-07-17T00:35:09.000Z | """Functions to extract article plain texts from the YLE/HS/IL/IS HTML articles
"""
import re
from typing import TextIO, Union
from bs4 import BeautifulSoup, NavigableString
def extract_text_from_svyle_html(html: Union[str, TextIO]) -> str:
"""Extract article text from Svenska YLE article HTML
Args:
... | 35.058824 | 133 | 0.632886 | 827 | 5,960 | 4.455865 | 0.136638 | 0.043419 | 0.039077 | 0.048847 | 0.858073 | 0.852917 | 0.843148 | 0.831479 | 0.793216 | 0.773677 | 0 | 0.008 | 0.244966 | 5,960 | 169 | 134 | 35.266272 | 0.810889 | 0.247987 | 0 | 0.67 | 0 | 0.01 | 0.209988 | 0.058072 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.03 | 0 | 0.13 | 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 |
a50ce6809db33721cc47fbb9073e3f4265f0b647 | 13,146 | py | Python | solver/prolog_attribute_equation_evaluator.py | levilucio/SyVOLT | 7526ec794d21565e3efcc925a7b08ae8db27d46a | [
"MIT"
] | 3 | 2017-06-02T19:26:27.000Z | 2021-06-14T04:25:45.000Z | solver/prolog_attribute_equation_evaluator.py | levilucio/SyVOLT | 7526ec794d21565e3efcc925a7b08ae8db27d46a | [
"MIT"
] | 8 | 2016-08-24T07:04:07.000Z | 2017-05-26T16:22:47.000Z | solver/prolog_attribute_equation_evaluator.py | levilucio/SyVOLT | 7526ec794d21565e3efcc925a7b08ae8db27d46a | [
"MIT"
] | 1 | 2019-10-31T06:00:23.000Z | 2019-10-31T06:00:23.000Z | '''
Created on 2015-01-16
@author: levi
'''
from pyswip import Prolog
from attribute_equation_solver import AttributeEquationSolver
class PrologAttributeEquationEvaluator(AttributeEquationSolver):
"""
Simple constraint solver based on prolog for string equations in path conditions.
Requires pyswip, a b... | 45.804878 | 308 | 0.593412 | 1,304 | 13,146 | 5.917945 | 0.173313 | 0.057017 | 0.026435 | 0.009071 | 0.785798 | 0.774653 | 0.774653 | 0.774653 | 0.752883 | 0.678632 | 0 | 0.009385 | 0.311045 | 13,146 | 287 | 309 | 45.804878 | 0.842663 | 0.465389 | 0 | 0.123711 | 0 | 0 | 0.046652 | 0 | 0 | 0 | 0 | 0.003484 | 0.010309 | 0 | null | null | 0 | 0.020619 | null | null | 0.082474 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eb628ff80c1703f8ca4d5c9fc6c7de5998d632a9 | 2,212 | py | Python | tests/loss/test_nll.py | nlp-greyfoss/metagrad | 0f32f177ced1478f0c75ad37bace9a9fc4044ba3 | [
"MIT"
] | 7 | 2022-01-27T05:38:02.000Z | 2022-03-30T01:48:00.000Z | tests/loss/test_nll.py | nlp-greyfoss/metagrad | 0f32f177ced1478f0c75ad37bace9a9fc4044ba3 | [
"MIT"
] | null | null | null | tests/loss/test_nll.py | nlp-greyfoss/metagrad | 0f32f177ced1478f0c75ad37bace9a9fc4044ba3 | [
"MIT"
] | 2 | 2022-02-22T07:47:02.000Z | 2022-03-22T08:31:59.000Z | import numpy as np
import torch
import metagrad.functions as F
from metagrad.loss import NLLLoss
from metagrad.tensor import Tensor
def test_simple_nll_loss():
x = np.array([[0, 1, 2, 3], [4, 0, 2, 1]], np.float32)
t = np.array([3, 0]).astype(np.int32)
mx = Tensor(x, requires_grad=True)
mt = Tensor(... | 27.308642 | 75 | 0.647378 | 353 | 2,212 | 3.94051 | 0.192635 | 0.064702 | 0.069015 | 0.037383 | 0.824587 | 0.800863 | 0.800863 | 0.800863 | 0.777139 | 0.777139 | 0 | 0.030812 | 0.193038 | 2,212 | 81 | 76 | 27.308642 | 0.748459 | 0.052893 | 0 | 0.698113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 1 | 0.056604 | false | 0 | 0.09434 | 0 | 0.150943 | 0.037736 | 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 |
eb85937236d1432d7cf2aa3c8afa6a02e719d805 | 106 | py | Python | test/torchaudio_unittest/sox_io_backend/common.py | adefossez/audio | 19fc580da97baf179395bb257647c5c25b993e42 | [
"BSD-2-Clause"
] | 1 | 2021-04-20T09:04:24.000Z | 2021-04-20T09:04:24.000Z | test/torchaudio_unittest/sox_io_backend/common.py | adefossez/audio | 19fc580da97baf179395bb257647c5c25b993e42 | [
"BSD-2-Clause"
] | null | null | null | test/torchaudio_unittest/sox_io_backend/common.py | adefossez/audio | 19fc580da97baf179395bb257647c5c25b993e42 | [
"BSD-2-Clause"
] | 1 | 2019-09-11T08:27:18.000Z | 2019-09-11T08:27:18.000Z | def name_func(func, _, params):
return f'{func.__name__}_{"_".join(str(arg) for arg in params.args)}'
| 35.333333 | 73 | 0.679245 | 17 | 106 | 3.764706 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 106 | 2 | 74 | 53 | 0.695652 | 0 | 0 | 0 | 0 | 0.5 | 0.556604 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cce57d7777ef8f9a1514c6ae571b1ae493ca0e34 | 26,257 | py | Python | datamodels/tests/test_fluxconversion_models.py | mwregan2/MiriTE | 6b65939454db60bf10619d50fcb5769d23598b76 | [
"CNRI-Python"
] | null | null | null | datamodels/tests/test_fluxconversion_models.py | mwregan2/MiriTE | 6b65939454db60bf10619d50fcb5769d23598b76 | [
"CNRI-Python"
] | null | null | null | datamodels/tests/test_fluxconversion_models.py | mwregan2/MiriTE | 6b65939454db60bf10619d50fcb5769d23598b76 | [
"CNRI-Python"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
Module test_fluxconversion_model - Contains the unit tests for the classes
in the datamodels.miri_fluxconversion_model module.
:History:
16 Jan 2013: Created.
21 Jan 2013: Warning messages controlled with Python warnings module.
05 Feb 2013: File closing problem solv... | 41.090767 | 81 | 0.593556 | 2,895 | 26,257 | 5.316753 | 0.114335 | 0.080886 | 0.03086 | 0.031185 | 0.788137 | 0.767607 | 0.742009 | 0.726806 | 0.726806 | 0.726806 | 0 | 0.033363 | 0.325361 | 26,257 | 638 | 82 | 41.155172 | 0.835554 | 0.231024 | 0 | 0.751756 | 0 | 0 | 0.043372 | 0.009063 | 0 | 0 | 0 | 0.003135 | 0.210773 | 1 | 0.081967 | false | 0 | 0.014052 | 0 | 0.107728 | 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 |
ccfadcb2a649bb4accf6e5eacf8a6695479cb3b6 | 28 | py | Python | acq4/devices/LEDLightSource/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | acq4/devices/LEDLightSource/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | acq4/devices/LEDLightSource/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | from LEDLightSource import * | 28 | 28 | 0.857143 | 3 | 28 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 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 |
15c4ace2748e518067bbf742ab10a237fc1ae080 | 44 | py | Python | anthropos/anthropos/__init__.py | flaxandteal/arches-anthropos-poc | 12ecd976070120c24699cff2e03b3ad7b0b19156 | [
"MIT"
] | null | null | null | anthropos/anthropos/__init__.py | flaxandteal/arches-anthropos-poc | 12ecd976070120c24699cff2e03b3ad7b0b19156 | [
"MIT"
] | null | null | null | anthropos/anthropos/__init__.py | flaxandteal/arches-anthropos-poc | 12ecd976070120c24699cff2e03b3ad7b0b19156 | [
"MIT"
] | null | null | null | from .celery_local import app as celery_app
| 22 | 43 | 0.840909 | 8 | 44 | 4.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 1 | 44 | 44 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15cd85dfea3b837fb5768320e3c8caa598f67573 | 188 | py | Python | kcfconvoy/__init__.py | maskot1977/kcfconvoy | 846602843534ae1a97e16b1eff97d3be32c98119 | [
"MIT"
] | null | null | null | kcfconvoy/__init__.py | maskot1977/kcfconvoy | 846602843534ae1a97e16b1eff97d3be32c98119 | [
"MIT"
] | null | null | null | kcfconvoy/__init__.py | maskot1977/kcfconvoy | 846602843534ae1a97e16b1eff97d3be32c98119 | [
"MIT"
] | 1 | 2017-12-22T02:21:52.000Z | 2017-12-22T02:21:52.000Z | # coding: utf-8
from .Compound import Compound
from .KCFvec import KCFvec
from .KCFmat import KCFmat
from .Library import Library
from .util import similarity
from .util import Classifiers | 26.857143 | 30 | 0.81383 | 27 | 188 | 5.666667 | 0.444444 | 0.104575 | 0.183007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.138298 | 188 | 7 | 31 | 26.857143 | 0.938272 | 0.069149 | 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 |
15f329a893cf8a7852eb144c9092e643121f50df | 37 | py | Python | app/core/__init__.py | educaware/camera-server | 80af9f763d0b7299acb2e3851a095f19aaa7e0e5 | [
"MIT"
] | 80 | 2020-10-06T00:35:57.000Z | 2022-03-31T19:56:24.000Z | app/core/__init__.py | educaware/camera-server | 80af9f763d0b7299acb2e3851a095f19aaa7e0e5 | [
"MIT"
] | 8 | 2022-02-28T19:11:51.000Z | 2022-03-31T10:25:42.000Z | app/core/__init__.py | educaware/camera-server | 80af9f763d0b7299acb2e3851a095f19aaa7e0e5 | [
"MIT"
] | 24 | 2020-11-14T03:04:43.000Z | 2022-03-11T15:44:44.000Z | from app.core.config import settings
| 18.5 | 36 | 0.837838 | 6 | 37 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 |
15f5ebc131fdc723e8179ca13b2321881bfb8315 | 162 | py | Python | me/commands/_utils.py | johnbenjaminlewis/me | 974d11ea2dd2a877785351f200e4c8546672c1c4 | [
"MIT"
] | 1 | 2015-11-24T15:10:20.000Z | 2015-11-24T15:10:20.000Z | me/commands/_utils.py | johnbenjaminlewis/me | 974d11ea2dd2a877785351f200e4c8546672c1c4 | [
"MIT"
] | null | null | null | me/commands/_utils.py | johnbenjaminlewis/me | 974d11ea2dd2a877785351f200e4c8546672c1c4 | [
"MIT"
] | null | null | null | import click
def write(msg):
return click.secho(msg, fg='cyan', err=True)
def fail(msg):
click.secho(msg, fg='red', err=True)
raise SystemExit(1)
| 14.727273 | 48 | 0.648148 | 26 | 162 | 4.038462 | 0.615385 | 0.190476 | 0.247619 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.191358 | 162 | 10 | 49 | 16.2 | 0.793893 | 0 | 0 | 0 | 0 | 0 | 0.04321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c63eff3c90e622ffa260f3d7ea337978f6323b96 | 99 | py | Python | flankers/tagmeapi/secret/keys.py | Mec-iS/chronostriples-backup | 79bdd902dc1d4862597469d4ac127f41bb5c1059 | [
"Apache-2.0"
] | null | null | null | flankers/tagmeapi/secret/keys.py | Mec-iS/chronostriples-backup | 79bdd902dc1d4862597469d4ac127f41bb5c1059 | [
"Apache-2.0"
] | null | null | null | flankers/tagmeapi/secret/keys.py | Mec-iS/chronostriples-backup | 79bdd902dc1d4862597469d4ac127f41bb5c1059 | [
"Apache-2.0"
] | null | null | null | __author__ = ['lorenzo@pramantha.net']
def return_api_key():
return '**********************'
| 16.5 | 38 | 0.525253 | 9 | 99 | 5.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 99 | 5 | 39 | 19.8 | 0.534884 | 0 | 0 | 0 | 0 | 0 | 0.434343 | 0.434343 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d6aea201cc93e6410f9e00902f225cd98c631db0 | 42 | py | Python | python/testData/refactoring/move/importForMovedElementWithPreferredQualifiedImportStyle/before/src/a.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/move/importForMovedElementWithPreferredQualifiedImportStyle/before/src/a.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/move/importForMovedElementWithPreferredQualifiedImportStyle/before/src/a.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo():
bar()
def bar():
pass | 7 | 10 | 0.452381 | 6 | 42 | 3.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 42 | 6 | 11 | 7 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.25 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ba52d9d26cd98a2419f3fed29c562594ecec07ce | 20,701 | py | Python | gym_collision_avoidance/experiments/src/master_config_deploy.py | meghdeepj/Social-Navigation-Simulator | 806d304081bf5ff4fc7a0a58defb050627375865 | [
"MIT"
] | null | null | null | gym_collision_avoidance/experiments/src/master_config_deploy.py | meghdeepj/Social-Navigation-Simulator | 806d304081bf5ff4fc7a0a58defb050627375865 | [
"MIT"
] | null | null | null | gym_collision_avoidance/experiments/src/master_config_deploy.py | meghdeepj/Social-Navigation-Simulator | 806d304081bf5ff4fc7a0a58defb050627375865 | [
"MIT"
] | null | null | null | number_of_agent = 100
import os
from master_scenario_generator import Scenario_Generator, Seeded_Scenario_Generator, Seeded_Population_Scenario_Generator, real_dataset_traj
class Master_Config(object):
def __init__(self):
global_timeout = int(os.environ["global_timeout"])
global_experi... | 65.71746 | 333 | 0.5706 | 2,572 | 20,701 | 4.378305 | 0.104199 | 0.035432 | 0.070864 | 0.066069 | 0.815647 | 0.798686 | 0.777551 | 0.763343 | 0.717077 | 0.664861 | 0 | 0.150284 | 0.278054 | 20,701 | 314 | 334 | 65.926752 | 0.603212 | 0.17574 | 0 | 0.566372 | 0 | 0 | 0.015432 | 0.005215 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017699 | false | 0 | 0.017699 | 0 | 0.053097 | 0.035398 | 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 |
bab24de2b96a3c5336050dbf200a0de2ba05b53d | 23 | py | Python | startin/__init__.py | hugoledoux/testmaturin | 1309e65a22ace2288300d7f8db3500234c71d542 | [
"MIT"
] | null | null | null | startin/__init__.py | hugoledoux/testmaturin | 1309e65a22ace2288300d7f8db3500234c71d542 | [
"MIT"
] | null | null | null | startin/__init__.py | hugoledoux/testmaturin | 1309e65a22ace2288300d7f8db3500234c71d542 | [
"MIT"
] | null | null | null | from .startin import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 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 |
bab7241eb856d660e790dab61dbfd365f8f5e179 | 293 | py | Python | great_expectations/rule_based_profiler/domain_builder/__init__.py | vikramaditya91/great_expectations | 4ebcdc0414bec3cf336b43cc54ca63bddb05bac3 | [
"Apache-2.0"
] | null | null | null | great_expectations/rule_based_profiler/domain_builder/__init__.py | vikramaditya91/great_expectations | 4ebcdc0414bec3cf336b43cc54ca63bddb05bac3 | [
"Apache-2.0"
] | null | null | null | great_expectations/rule_based_profiler/domain_builder/__init__.py | vikramaditya91/great_expectations | 4ebcdc0414bec3cf336b43cc54ca63bddb05bac3 | [
"Apache-2.0"
] | null | null | null | from .column_domain_builder import ColumnDomainBuilder
from .inferred_semantic_domain_type import InferredSemanticDomainType
from .simple_column_suffix_domain_builder import SimpleColumnSuffixDomainBuilder
from .simple_semantic_type_domain_builder import SimpleSemanticTypeColumnDomainBuilder
| 58.6 | 86 | 0.931741 | 29 | 293 | 8.965517 | 0.482759 | 0.15 | 0.219231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054608 | 293 | 4 | 87 | 73.25 | 0.938628 | 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 |
bafa2dce51f9f59ab4952241dee1fbfa4b8569a9 | 1,904 | py | Python | benchml/models/mod_dscribe.py | rudolfspetrovs/benchml | 896673f387a6bb9b185664ddd54f569a1ba54e51 | [
"Apache-2.0"
] | 3 | 2021-08-12T13:25:31.000Z | 2022-03-21T21:30:22.000Z | benchml/models/mod_dscribe.py | rudolfspetrovs/benchml | 896673f387a6bb9b185664ddd54f569a1ba54e51 | [
"Apache-2.0"
] | 5 | 2020-12-08T08:59:41.000Z | 2022-01-22T06:46:09.000Z | benchml/models/mod_dscribe.py | rudolfspetrovs/benchml | 896673f387a6bb9b185664ddd54f569a1ba54e51 | [
"Apache-2.0"
] | 1 | 2021-06-25T11:07:32.000Z | 2021-06-25T11:07:32.000Z | import numpy as np
import benchml.transforms as btf
from benchml.hyper import GridHyper, Hyper
def compile_dscribe(**kwargs):
return [
btf.Module(
tag=DescriptorClass.__name__ + "_ridge",
transforms=[
btf.ExtXyzInput(tag="input"),
DescriptorClass(ta... | 31.733333 | 98 | 0.491597 | 164 | 1,904 | 5.597561 | 0.286585 | 0.061002 | 0.037037 | 0.045752 | 0.708061 | 0.708061 | 0.708061 | 0.708061 | 0.708061 | 0.708061 | 0 | 0.004951 | 0.363445 | 1,904 | 59 | 99 | 32.271186 | 0.752475 | 0 | 0 | 0.576923 | 0 | 0 | 0.145483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057692 | true | 0 | 0.057692 | 0.057692 | 0.173077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
244237b3e9b442b3781e371aceb7ae3d2ea0533d | 33 | py | Python | src/models/__init__.py | jwoos/web_sticky-note | 72c6b7b4b7bf7b7d528ce714dd091e9581b10042 | [
"MIT"
] | null | null | null | src/models/__init__.py | jwoos/web_sticky-note | 72c6b7b4b7bf7b7d528ce714dd091e9581b10042 | [
"MIT"
] | 3 | 2017-12-29T04:47:05.000Z | 2017-12-29T04:59:22.000Z | src/models/__init__.py | jwoos/web_ephemeral-notes | 72c6b7b4b7bf7b7d528ce714dd091e9581b10042 | [
"MIT"
] | null | null | null | from src.models.note import Note
| 16.5 | 32 | 0.818182 | 6 | 33 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0364b9fd430536b7bc95e4af8b51fcfd04f625db | 18 | py | Python | Zoocmd/new_core/version.py | helicontech/zoo | a33ba547f553bcce415f7a54bd89c444f82e48ee | [
"Apache-2.0"
] | 2 | 2017-05-01T07:35:24.000Z | 2018-04-12T13:36:03.000Z | Zoocmd/new_core/version.py | helicontech/zoo | a33ba547f553bcce415f7a54bd89c444f82e48ee | [
"Apache-2.0"
] | 2 | 2017-03-23T17:28:37.000Z | 2018-06-07T06:38:08.000Z | Zoocmd/new_core/version.py | helicontech/zoo | a33ba547f553bcce415f7a54bd89c444f82e48ee | [
"Apache-2.0"
] | 3 | 2016-06-22T11:11:16.000Z | 2019-10-25T15:09:46.000Z | VERSION="1.0.0.0"
| 9 | 17 | 0.611111 | 5 | 18 | 2.2 | 0.6 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0.055556 | 18 | 1 | 18 | 18 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
300c64dad9a2edf3f721b3b96a0c044a8213f7ff | 48 | py | Python | client/py_client/utils/datasources/rest/__init__.py | thefstock/FirstockPy | 09b4dcf3470f83de991b43213958d2c6783f997b | [
"MIT"
] | 1 | 2022-03-29T06:56:06.000Z | 2022-03-29T06:56:06.000Z | client/py_client/utils/datasources/rest/__init__.py | thefstock/FirstockPy | 09b4dcf3470f83de991b43213958d2c6783f997b | [
"MIT"
] | 3 | 2022-01-17T09:31:21.000Z | 2022-03-11T12:12:08.000Z | client/py_client/utils/datasources/rest/__init__.py | thefstock/FirstockPy | 09b4dcf3470f83de991b43213958d2c6783f997b | [
"MIT"
] | null | null | null | from .datasource import *
from .context import * | 24 | 25 | 0.770833 | 6 | 48 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 26 | 24 | 0.902439 | 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 |
30187c78d73285d630770d46ffccbd1723da950a | 146 | py | Python | djstripe/middleware.py | ExtraE113/dj-stripe | 1b50be13fc99b624388a005b8aa1e26c57392203 | [
"MIT"
] | 937 | 2017-06-04T18:44:20.000Z | 2022-03-27T07:28:32.000Z | djstripe/middleware.py | ExtraE113/dj-stripe | 1b50be13fc99b624388a005b8aa1e26c57392203 | [
"MIT"
] | 969 | 2017-06-05T01:57:20.000Z | 2022-03-31T23:42:54.000Z | djstripe/middleware.py | ExtraE113/dj-stripe | 1b50be13fc99b624388a005b8aa1e26c57392203 | [
"MIT"
] | 309 | 2017-06-12T03:18:10.000Z | 2022-03-29T17:05:18.000Z | """dj-stripe middleware
"""
from django.utils.deprecation import MiddlewareMixin
class SubscriptionPaymentMiddleware(MiddlewareMixin):
pass
| 18.25 | 53 | 0.808219 | 13 | 146 | 9.076923 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 146 | 7 | 54 | 20.857143 | 0.907692 | 0.136986 | 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 |
062f41794cd6f4e55101288d94256a3eb2c71d8f | 43 | py | Python | scripts/dataset_scripts/__init__.py | tedmaksym/leadingtophytoplankton | 165a4ccf5b79ef7858be3b13551728fe7873a659 | [
"BSD-3-Clause"
] | 1 | 2021-01-09T17:06:40.000Z | 2021-01-09T17:06:40.000Z | scripts/dataset_scripts/__init__.py | tedmaksym/leadingtophytoplankton | 165a4ccf5b79ef7858be3b13551728fe7873a659 | [
"BSD-3-Clause"
] | null | null | null | scripts/dataset_scripts/__init__.py | tedmaksym/leadingtophytoplankton | 165a4ccf5b79ef7858be3b13551728fe7873a659 | [
"BSD-3-Clause"
] | 2 | 2020-06-30T07:50:30.000Z | 2021-02-15T06:24:17.000Z | from .dataset import *
from .atl03 import * | 21.5 | 22 | 0.744186 | 6 | 43 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.162791 | 43 | 2 | 23 | 21.5 | 0.833333 | 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 |
0632a3278ccc3c2914e3089c25b6ae0f281cbc8d | 157 | py | Python | terrascript/powerdns/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/powerdns/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/powerdns/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/powerdns/r.py
import terrascript
class powerdns_zone(terrascript.Resource):
pass
class powerdns_record(terrascript.Resource):
pass
| 14.272727 | 44 | 0.783439 | 18 | 157 | 6.722222 | 0.555556 | 0.214876 | 0.380165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140127 | 157 | 10 | 45 | 15.7 | 0.896296 | 0.159236 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
067ea90b8bd8566019892dc493c8981cad41e2e9 | 16,085 | py | Python | IRM_data/Fig5/Fig5b/Fig5b.py | wangqf1997/Human-injury-based-safety-decision-of-automated-vehicles | b104fdeb3d85e867f6b04c5ae7b5a197e705aeba | [
"CC-BY-4.0"
] | null | null | null | IRM_data/Fig5/Fig5b/Fig5b.py | wangqf1997/Human-injury-based-safety-decision-of-automated-vehicles | b104fdeb3d85e867f6b04c5ae7b5a197e705aeba | [
"CC-BY-4.0"
] | null | null | null | IRM_data/Fig5/Fig5b/Fig5b.py | wangqf1997/Human-injury-based-safety-decision-of-automated-vehicles | b104fdeb3d85e867f6b04c5ae7b5a197e705aeba | [
"CC-BY-4.0"
] | null | null | null | # -*- coding: utf-8 -*-
'''
-------------------------------------------------------------------------------------------------
This code accompanies the paper titled "Human injury-based safety decision of automated vehicles"
Author: Qingfan Wang, Qing Zhou, Miao Lin, Bingbing Nie
Corresponding author: Bingbing Nie (nbb@... | 48.303303 | 119 | 0.612558 | 2,715 | 16,085 | 3.492449 | 0.093186 | 0.072559 | 0.035857 | 0.039443 | 0.81217 | 0.798144 | 0.779582 | 0.727589 | 0.714828 | 0.682135 | 0 | 0.09522 | 0.159714 | 16,085 | 332 | 120 | 48.448795 | 0.606318 | 0.096798 | 0 | 0.466981 | 0 | 0 | 0.123795 | 0.004541 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009434 | false | 0 | 0.023585 | 0 | 0.037736 | 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 |
2306467681ba171ea2e8f3766865ee55f20697d4 | 151 | py | Python | Lib/__np__/__init__.py | Redex-Developers/Nuitka-Python | 7c1fc1dd6dfeab4cdafeec1709e6e9c4c8c84227 | [
"0BSD"
] | null | null | null | Lib/__np__/__init__.py | Redex-Developers/Nuitka-Python | 7c1fc1dd6dfeab4cdafeec1709e6e9c4c8c84227 | [
"0BSD"
] | null | null | null | Lib/__np__/__init__.py | Redex-Developers/Nuitka-Python | 7c1fc1dd6dfeab4cdafeec1709e6e9c4c8c84227 | [
"0BSD"
] | null | null | null | import platform
if platform.system() == "Windows":
from __np__.windows import *
elif platform.system() == "Linux":
from __np__.linux import *
| 21.571429 | 34 | 0.688742 | 18 | 151 | 5.333333 | 0.5 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178808 | 151 | 6 | 35 | 25.166667 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.07947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
233afa6f82ecef2bc7b57dd78d29b1c3eff98c41 | 21,744 | py | Python | src/backend/marsha/markdown/tests/test_api.py | insad-video/marsha | 1e6a708c74527f50c4aa24d811049492e75f47a0 | [
"MIT"
] | null | null | null | src/backend/marsha/markdown/tests/test_api.py | insad-video/marsha | 1e6a708c74527f50c4aa24d811049492e75f47a0 | [
"MIT"
] | null | null | null | src/backend/marsha/markdown/tests/test_api.py | insad-video/marsha | 1e6a708c74527f50c4aa24d811049492e75f47a0 | [
"MIT"
] | null | null | null | """Tests for the Markdown application API."""
import json
import random
from django.test import TestCase, override_settings
from rest_framework_simplejwt.tokens import AccessToken
from marsha.core import factories as core_factories
from ..factories import MarkdownDocumentFactory
from ..models import MarkdownDocume... | 41.026415 | 99 | 0.608168 | 2,231 | 21,744 | 5.724787 | 0.093232 | 0.061384 | 0.068118 | 0.065847 | 0.865722 | 0.826652 | 0.817178 | 0.79964 | 0.789305 | 0.751331 | 0 | 0.01377 | 0.275248 | 21,744 | 529 | 100 | 41.10397 | 0.796688 | 0.088714 | 0 | 0.644928 | 0 | 0.002415 | 0.231164 | 0.081447 | 0 | 0 | 0 | 0 | 0.103865 | 1 | 0.055556 | false | 0 | 0.016908 | 0 | 0.077295 | 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 |
234f04098db7a81d894b871aada9b45c054ed479 | 88 | py | Python | py_aco/__init__.py | Joanguitar/ACO | 3a52ddbdb1bd8c5826b8d0fcfca02f8c4e37be74 | [
"MIT"
] | null | null | null | py_aco/__init__.py | Joanguitar/ACO | 3a52ddbdb1bd8c5826b8d0fcfca02f8c4e37be74 | [
"MIT"
] | null | null | null | py_aco/__init__.py | Joanguitar/ACO | 3a52ddbdb1bd8c5826b8d0fcfca02f8c4e37be74 | [
"MIT"
] | null | null | null | from . import core
from . import codebook
from . import simulation
from . import method
| 17.6 | 24 | 0.772727 | 12 | 88 | 5.666667 | 0.5 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 4 | 25 | 22 | 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 |
88ef395f52a7cf650440c1df94822b63594358cc | 107 | py | Python | testpkg/math.py | HurricanKai/PythonTest | d46c9367279c5e94d7d40e96db87d4016c5d4549 | [
"MIT"
] | null | null | null | testpkg/math.py | HurricanKai/PythonTest | d46c9367279c5e94d7d40e96db87d4016c5d4549 | [
"MIT"
] | null | null | null | testpkg/math.py | HurricanKai/PythonTest | d46c9367279c5e94d7d40e96db87d4016c5d4549 | [
"MIT"
] | null | null | null | def inc(i):
return i + 1
def add(a, b):
return a + b
def sub(a, b):
return a - b
| 9.727273 | 17 | 0.439252 | 20 | 107 | 2.35 | 0.45 | 0.170213 | 0.340426 | 0.382979 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.429907 | 107 | 10 | 18 | 10.7 | 0.754098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 |
002f57658be8b54004ad549e2327b22502df5f2a | 123 | py | Python | zeus/metrics/mindspore/__init__.py | TianQi-777/xingtian | 9b1678ad6ff12f00c2826a7ec7f42d5350b83b31 | [
"MIT"
] | 240 | 2020-08-15T15:11:49.000Z | 2022-03-28T07:26:23.000Z | zeus/metrics/mindspore/__init__.py | TianQi-777/xingtian | 9b1678ad6ff12f00c2826a7ec7f42d5350b83b31 | [
"MIT"
] | 20 | 2020-08-29T06:18:21.000Z | 2022-03-21T04:35:57.000Z | zeus/metrics/mindspore/__init__.py | TianQi-777/xingtian | 9b1678ad6ff12f00c2826a7ec7f42d5350b83b31 | [
"MIT"
] | 69 | 2020-08-15T15:41:53.000Z | 2022-03-16T08:27:47.000Z | from .metrics import *
from .classifier_metric import accuracy
from .sr_metric import *
from .segmentation_metric import *
| 24.6 | 39 | 0.813008 | 16 | 123 | 6.0625 | 0.5 | 0.371134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 123 | 4 | 40 | 30.75 | 0.906542 | 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 |
ccad162f2d74f62ef8175f26952c6737701a92ea | 74 | py | Python | cs229/assignment/problem_set_1/__init__.py | Syhen/stanford-learn | 4c707ec736c83eb968fc0b3d747c94280f298fa6 | [
"MIT"
] | null | null | null | cs229/assignment/problem_set_1/__init__.py | Syhen/stanford-learn | 4c707ec736c83eb968fc0b3d747c94280f298fa6 | [
"MIT"
] | null | null | null | cs229/assignment/problem_set_1/__init__.py | Syhen/stanford-learn | 4c707ec736c83eb968fc0b3d747c94280f298fa6 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
create on 2021-01-29 20:19
author @66492
"""
| 10.571429 | 26 | 0.554054 | 12 | 74 | 3.416667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 0.189189 | 74 | 6 | 27 | 12.333333 | 0.383333 | 0.851351 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aeede831aba40d89aebbe546b3a6603fb1cc78a9 | 215 | py | Python | src/isecurity_webserver/data_model/domains.py | cybercamp18isecurity/iSecurity | 016e1bb7d73864654323e2aac00024483741f8ed | [
"MIT"
] | 4 | 2018-11-30T22:49:52.000Z | 2019-06-20T22:36:23.000Z | src/isecurity_webserver/data_model/domains.py | cybercamp18isecurity/iSecurity | 016e1bb7d73864654323e2aac00024483741f8ed | [
"MIT"
] | 3 | 2018-11-30T12:06:21.000Z | 2018-12-11T21:09:07.000Z | src/isecurity_webserver/data_model/domains.py | cybercamp18isecurity/iSecurity | 016e1bb7d73864654323e2aac00024483741f8ed | [
"MIT"
] | 4 | 2018-12-01T01:19:36.000Z | 2019-10-22T05:54:48.000Z | from .abstract_model import AbstractModel
class Domains(AbstractModel):
def __init__(self, elasticsearch):
self.data_type = "domains"
AbstractModel.__init__(self, elasticsearch, self.data_type)
| 30.714286 | 67 | 0.748837 | 23 | 215 | 6.521739 | 0.565217 | 0.266667 | 0.28 | 0.333333 | 0.44 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167442 | 215 | 6 | 68 | 35.833333 | 0.837989 | 0 | 0 | 0 | 0 | 0 | 0.032558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4e21db78ad0c095ab4531a725238c82feef73814 | 36,491 | py | Python | figure_3.py | lullimat/arXiv-2009.12522 | b9c2c813983eedfc29a59a95ab441570bc7a5ba7 | [
"MIT"
] | null | null | null | figure_3.py | lullimat/arXiv-2009.12522 | b9c2c813983eedfc29a59a95ab441570bc7a5ba7 | [
"MIT"
] | null | null | null | figure_3.py | lullimat/arXiv-2009.12522 | b9c2c813983eedfc29a59a95ab441570bc7a5ba7 | [
"MIT"
] | null | null | null | import sys
sys.path.append("../../")
device_str, lang, _dpi = sys.argv[1], sys.argv[2], int(sys.argv[3])
from sympy import exp as sp_exp
from sympy import symbols as sp_symbols
from sympy import Rational as sp_Rational
from collections import defaultdict
import numpy as np
from idpy.Utils.ManageData import ManageDat... | 39.492424 | 130 | 0.564468 | 5,258 | 36,491 | 3.674971 | 0.066185 | 0.027532 | 0.030016 | 0.033639 | 0.82394 | 0.789577 | 0.759044 | 0.72556 | 0.72556 | 0.69482 | 0 | 0.060209 | 0.198487 | 36,491 | 923 | 131 | 39.535211 | 0.600451 | 0.109972 | 0 | 0.538462 | 0 | 0 | 0.155583 | 0.023471 | 0.187291 | 0 | 0 | 0 | 0 | 1 | 0.005017 | false | 0 | 0.0301 | 0.001672 | 0.040134 | 0.001672 | 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 |
4e325b53dc51c402d92cb47259d5f5b2296a28da | 130 | py | Python | classwork/10_28_2020.py | Katsute/Baruch-CIS-2300-Assignments | ea374ed1cb229f5e598863ba1777be5f47eaab9d | [
"CC0-1.0"
] | null | null | null | classwork/10_28_2020.py | Katsute/Baruch-CIS-2300-Assignments | ea374ed1cb229f5e598863ba1777be5f47eaab9d | [
"CC0-1.0"
] | null | null | null | classwork/10_28_2020.py | Katsute/Baruch-CIS-2300-Assignments | ea374ed1cb229f5e598863ba1777be5f47eaab9d | [
"CC0-1.0"
] | 1 | 2022-01-12T18:17:52.000Z | 2022-01-12T18:17:52.000Z | # rand
import random
random.randint(1, 10)
for _ in range(6):
print(random.randint(1, 10))
# pandas
import pandas as pd
| 13 | 32 | 0.669231 | 21 | 130 | 4.095238 | 0.666667 | 0.302326 | 0.325581 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068627 | 0.215385 | 130 | 9 | 33 | 14.444444 | 0.77451 | 0.084615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 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 |
9d91136969dbe70d8ca19b3aaee0329bc8a50cd8 | 189 | py | Python | aulas/aula006b.py | figueiredo-alef/estud-python | f22351ecb966ec84433bb6078d92d4f31d5a0a7e | [
"MIT"
] | null | null | null | aulas/aula006b.py | figueiredo-alef/estud-python | f22351ecb966ec84433bb6078d92d4f31d5a0a7e | [
"MIT"
] | null | null | null | aulas/aula006b.py | figueiredo-alef/estud-python | f22351ecb966ec84433bb6078d92d4f31d5a0a7e | [
"MIT"
] | null | null | null | print('=' * 5, 'AULA_006b', '=' * 5)
n0 = float(input('digite um valor: '))
print(n0)
n1 = str(input('digite um valor: '))
print(type(n1))
n2 = input('digite algo: ')
print(n2.isnumeric())
| 23.625 | 38 | 0.608466 | 29 | 189 | 3.931034 | 0.551724 | 0.289474 | 0.22807 | 0.315789 | 0.403509 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067901 | 0.142857 | 189 | 7 | 39 | 27 | 0.635802 | 0 | 0 | 0 | 0 | 0 | 0.306878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 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 |
9da3cce61a82aaf61028dee623894e05eee20708 | 8,660 | py | Python | tempest/tests/lib/services/identity/v3/test_inherited_roles_client.py | mail2nsrajesh/tempest | 1a3b3dc50b418d3a15839830d7d1ff88c8c76cff | [
"Apache-2.0"
] | 254 | 2015-01-05T19:22:52.000Z | 2022-03-29T08:14:54.000Z | tempest/tests/lib/services/identity/v3/test_inherited_roles_client.py | mail2nsrajesh/tempest | 1a3b3dc50b418d3a15839830d7d1ff88c8c76cff | [
"Apache-2.0"
] | 13 | 2015-03-02T15:53:04.000Z | 2022-02-16T02:28:14.000Z | tempest/tests/lib/services/identity/v3/test_inherited_roles_client.py | mail2nsrajesh/tempest | 1a3b3dc50b418d3a15839830d7d1ff88c8c76cff | [
"Apache-2.0"
] | 367 | 2015-01-07T15:05:39.000Z | 2022-03-04T09:50:35.000Z | # Copyright 2016 NEC 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 applicable la... | 39.18552 | 78 | 0.677714 | 1,013 | 8,660 | 5.304047 | 0.128332 | 0.067746 | 0.070724 | 0.078169 | 0.834543 | 0.834543 | 0.834543 | 0.830449 | 0.790434 | 0.753211 | 0 | 0.072644 | 0.246536 | 8,660 | 220 | 79 | 39.363636 | 0.750805 | 0.066397 | 0 | 0.603352 | 0 | 0 | 0.156238 | 0.135547 | 0 | 0 | 0 | 0 | 0 | 1 | 0.139665 | false | 0 | 0.01676 | 0 | 0.167598 | 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 |
9df3cb95726e327177911e561e5a42756d34d54c | 33 | py | Python | gvision.py | Moulin666/Telegram-Neural-Net-Bot | 7da381765a5bc716921f3931339dd06bed8c232e | [
"MIT"
] | null | null | null | gvision.py | Moulin666/Telegram-Neural-Net-Bot | 7da381765a5bc716921f3931339dd06bed8c232e | [
"MIT"
] | null | null | null | gvision.py | Moulin666/Telegram-Neural-Net-Bot | 7da381765a5bc716921f3931339dd06bed8c232e | [
"MIT"
] | null | null | null | from google.cloud import vision
| 11 | 31 | 0.818182 | 5 | 33 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 2 | 32 | 16.5 | 0.964286 | 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 |
9df4f2730016328f3a5f224ef3b5e9145990dc79 | 98 | py | Python | BricksO/bricks/item/__init__.py | Jhonan01/Brick | 09d62d8cde3a5503ad8b84eaea54edbd91445479 | [
"Apache-2.0"
] | null | null | null | BricksO/bricks/item/__init__.py | Jhonan01/Brick | 09d62d8cde3a5503ad8b84eaea54edbd91445479 | [
"Apache-2.0"
] | null | null | null | BricksO/bricks/item/__init__.py | Jhonan01/Brick | 09d62d8cde3a5503ad8b84eaea54edbd91445479 | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
item_bp = Blueprint('item',__name__)
from bricks.item import routes
| 16.333333 | 36 | 0.795918 | 14 | 98 | 5.214286 | 0.642857 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 5 | 37 | 19.6 | 0.858824 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
d1882e0ec192c23f3dbdbd777675d2c106a7b9ea | 128 | py | Python | bin/apache-hive-3.1.2-bin/lib/py/thrift/reflection/__init__.py | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | bin/apache-hive-3.1.2-bin/lib/py/thrift/reflection/__init__.py | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | bin/apache-hive-3.1.2-bin/lib/py/thrift/reflection/__init__.py | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:321f6bda5d0842186e6228899745f9973ef88558c1b07a951889f94b47e9499e
size 807
| 32 | 75 | 0.882813 | 13 | 128 | 8.692308 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.45082 | 0.046875 | 128 | 3 | 76 | 42.666667 | 0.47541 | 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 |
d1c9cbef22afa42555d886872b440e0476143964 | 40,387 | py | Python | cottonformation/res/msk.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/msk.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/msk.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 2 | 2021-06-27T03:08:21.000Z | 2021-06-28T22:15:51.000Z | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class PropClusterS3(Property):
"""
AWS Object Type = "AWS::MSK::Cluster.S3"... | 53.921228 | 204 | 0.749697 | 4,490 | 40,387 | 6.665479 | 0.029399 | 0.097233 | 0.048884 | 0.075548 | 0.838746 | 0.838613 | 0.812817 | 0.741881 | 0.74178 | 0.740744 | 0 | 0.000698 | 0.113576 | 40,387 | 748 | 205 | 53.993316 | 0.835279 | 0.344368 | 0 | 0.328 | 0 | 0 | 0.108564 | 0.067679 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010667 | 0 | 0.288 | 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 |
d1d8de48543193073dacbc606b325859efe40767 | 322 | py | Python | lims/models/__init__.py | razorlabs/BRIMS-backend | 2c5b7bd126debec459b775e9d11e96fc09975059 | [
"MIT"
] | 1 | 2020-03-20T23:00:24.000Z | 2020-03-20T23:00:24.000Z | lims/models/__init__.py | razorlabs/BRIMS-backend | 2c5b7bd126debec459b775e9d11e96fc09975059 | [
"MIT"
] | null | null | null | lims/models/__init__.py | razorlabs/BRIMS-backend | 2c5b7bd126debec459b775e9d11e96fc09975059 | [
"MIT"
] | 1 | 2020-03-09T09:57:25.000Z | 2020-03-09T09:57:25.000Z | # Initialization file to import models from sub-organized sources into a single "models" import for django injestion
from lims.models.user import *
from lims.models.schedule import *
from lims.models.shipping import *
from lims.models.storage import *
from lims.models.patient import *
from lims.models.specimen import ... | 35.777778 | 116 | 0.801242 | 47 | 322 | 5.489362 | 0.468085 | 0.186047 | 0.325581 | 0.387597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 322 | 8 | 117 | 40.25 | 0.921429 | 0.354037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
061650c680f85973a286c989ab9e6122fccebbe7 | 18,370 | py | Python | rsp1570serial/tests/test_messages.py | pp81381/rsp1570serial | 9a31be2578f00905a1df2a78a46f3c87631cd177 | [
"MIT"
] | 1 | 2020-03-06T06:04:18.000Z | 2020-03-06T06:04:18.000Z | rsp1570serial/tests/test_messages.py | pp81381/rsp1570serial | 9a31be2578f00905a1df2a78a46f3c87631cd177 | [
"MIT"
] | null | null | null | rsp1570serial/tests/test_messages.py | pp81381/rsp1570serial | 9a31be2578f00905a1df2a78a46f3c87631cd177 | [
"MIT"
] | 1 | 2020-01-21T18:27:07.000Z | 2020-01-21T18:27:07.000Z | import aiounittest
import logging
from rsp1570serial.commands import (
encode_command,
MSGTYPE_PRIMARY_COMMANDS,
MSGTYPE_VOLUME_DIRECT_COMMANDS,
)
from rsp1570serial.messages import decode_message_stream, FeedbackMessage
from rsp1570serial.protocol import StreamProxy
import unittest
async def decode_all_m... | 41.096197 | 239 | 0.547959 | 1,987 | 18,370 | 4.948666 | 0.099648 | 0.154073 | 0.074138 | 0.093969 | 0.860877 | 0.827621 | 0.802095 | 0.793857 | 0.778806 | 0.773213 | 0 | 0.060338 | 0.334186 | 18,370 | 446 | 240 | 41.188341 | 0.743602 | 0 | 0 | 0.650367 | 0 | 0.051345 | 0.288114 | 0.085143 | 0 | 0 | 0 | 0 | 0.303178 | 1 | 0 | false | 0 | 0.01467 | 0 | 0.022005 | 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 |
ae1f04906b60a3a6eedff92ce26311245c2f9944 | 21 | py | Python | old_blds/EllipsePy/__init__.py | lalithu/EllipsePy | 9a1152c8ce60c45388cbb0eab930da0e3fff9cf1 | [
"MIT"
] | 1 | 2021-01-24T21:56:12.000Z | 2021-01-24T21:56:12.000Z | old_blds/EllipsePy/__init__.py | lalithu/EllipsePy | 9a1152c8ce60c45388cbb0eab930da0e3fff9cf1 | [
"MIT"
] | null | null | null | old_blds/EllipsePy/__init__.py | lalithu/EllipsePy | 9a1152c8ce60c45388cbb0eab930da0e3fff9cf1 | [
"MIT"
] | null | null | null | # By Lalith U | 2021
| 10.5 | 20 | 0.619048 | 4 | 21 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0.285714 | 21 | 1 | 21 | 21 | 0.6 | 0.857143 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ee0d4e67d2b97ee1ed136c8f50bbf0947a795833 | 104 | py | Python | tests/db_test.py | fushinari/wn | be274eda62316622f6bb0e548b5e2a6834dc216a | [
"MIT"
] | null | null | null | tests/db_test.py | fushinari/wn | be274eda62316622f6bb0e548b5e2a6834dc216a | [
"MIT"
] | null | null | null | tests/db_test.py | fushinari/wn | be274eda62316622f6bb0e548b5e2a6834dc216a | [
"MIT"
] | null | null | null |
from wn import _db
def test_schema_compatibility():
assert _db.is_schema_compatible(create=True)
| 14.857143 | 48 | 0.788462 | 15 | 104 | 5.066667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 6 | 49 | 17.333333 | 0.853933 | 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 |
ee6637ae512db06203e60ea8d72a6883fe06f46c | 140 | py | Python | app/routes.py | kn-xu/stravinsky | 88022fc1ea99b91df51b65b9e12bf4a8ef4ac738 | [
"MIT"
] | 1 | 2019-09-03T15:18:14.000Z | 2019-09-03T15:18:14.000Z | app/routes.py | kn-xu/stravinsky | 88022fc1ea99b91df51b65b9e12bf4a8ef4ac738 | [
"MIT"
] | null | null | null | app/routes.py | kn-xu/stravinsky | 88022fc1ea99b91df51b65b9e12bf4a8ef4ac738 | [
"MIT"
] | null | null | null | from app import app
from flask import render_template
@app.route('/')
def index():
return render_template('home.html', title='track')
| 17.5 | 54 | 0.721429 | 20 | 140 | 4.95 | 0.7 | 0.282828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 140 | 7 | 55 | 20 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
c9f856d50f910a9ca16b305bf88018c61162d750 | 38 | py | Python | assemblyline/alsvc_characterize/__init__.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | 46 | 2017-05-15T11:15:08.000Z | 2018-07-02T03:32:52.000Z | assemblyline/alsvc_characterize/__init__.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | null | null | null | assemblyline/alsvc_characterize/__init__.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | 24 | 2017-05-17T03:26:17.000Z | 2018-07-09T07:00:50.000Z | from characterize import Characterize
| 19 | 37 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 |
a016b82f70d13dcdc3be8c8eaab710f41d9a7562 | 22 | py | Python | weather/__init__.py | JohnCalhoun/weather-api-demo | f07161dd7a0c3bef5e95c8cfd7a306a62f53e2a0 | [
"MIT"
] | null | null | null | weather/__init__.py | JohnCalhoun/weather-api-demo | f07161dd7a0c3bef5e95c8cfd7a306a62f53e2a0 | [
"MIT"
] | null | null | null | weather/__init__.py | JohnCalhoun/weather-api-demo | f07161dd7a0c3bef5e95c8cfd7a306a62f53e2a0 | [
"MIT"
] | null | null | null | from .code import API
| 11 | 21 | 0.772727 | 4 | 22 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 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 |
4e6a0bca9c00d8944a5b3ea91cd3f4865f037b45 | 218 | py | Python | online_pharmacy/pharmacy/admin.py | geekyJock8/online_pharmacy | 892852857786ec17259b71f2a178896cd6d12e60 | [
"Apache-2.0"
] | 5 | 2020-09-09T13:59:17.000Z | 2021-09-30T07:20:55.000Z | online_pharmacy/pharmacy/admin.py | geekyJock8/online_pharmacy | 892852857786ec17259b71f2a178896cd6d12e60 | [
"Apache-2.0"
] | 10 | 2017-09-03T06:13:31.000Z | 2017-10-10T15:22:30.000Z | online_pharmacy/pharmacy/admin.py | geekyJock8/Online-Pharmacy | 892852857786ec17259b71f2a178896cd6d12e60 | [
"Apache-2.0"
] | 9 | 2017-09-03T04:59:18.000Z | 2019-10-17T11:33:18.000Z | from django.contrib import admin
from .models import pharmacy,contact_pharmacy,pharmacy_notifications
admin.site.register(pharmacy)
admin.site.register(contact_pharmacy)
admin.site.register(pharmacy_notifications)
| 21.8 | 68 | 0.857798 | 27 | 218 | 6.777778 | 0.407407 | 0.147541 | 0.278689 | 0.273224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068807 | 218 | 9 | 69 | 24.222222 | 0.901478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4e863c957562215f588df27cb2d2b18a2f7e93a3 | 104 | py | Python | Flasky/app/task/__init__.py | LieonShelly/PythonFun | 811760d368885109f9359c2663d8ce74886f6ad6 | [
"MIT"
] | null | null | null | Flasky/app/task/__init__.py | LieonShelly/PythonFun | 811760d368885109f9359c2663d8ce74886f6ad6 | [
"MIT"
] | null | null | null | Flasky/app/task/__init__.py | LieonShelly/PythonFun | 811760d368885109f9359c2663d8ce74886f6ad6 | [
"MIT"
] | null | null | null | from flask import Blueprint
task_api = Blueprint('task', __name__)
from app.task import TaskUseCelery | 20.8 | 38 | 0.798077 | 14 | 104 | 5.571429 | 0.642857 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 104 | 5 | 39 | 20.8 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
4ea9bd8320537dfdc7817f874f73725fef06c230 | 14,061 | py | Python | h0rton/tests/test_trainval_data/test_xy_data.py | jiwoncpark/h0rton | 2541885d70d090fdb777339cfb77a3a9f3e7996d | [
"MIT"
] | 4 | 2020-12-02T02:18:08.000Z | 2021-11-25T21:56:33.000Z | h0rton/tests/test_trainval_data/test_xy_data.py | jiwoncpark/h0rton | 2541885d70d090fdb777339cfb77a3a9f3e7996d | [
"MIT"
] | 25 | 2019-10-17T08:18:38.000Z | 2020-12-26T09:38:05.000Z | h0rton/tests/test_trainval_data/test_xy_data.py | jiwoncpark/h0rton | 2541885d70d090fdb777339cfb77a3a9f3e7996d | [
"MIT"
] | 1 | 2020-12-03T02:14:12.000Z | 2020-12-03T02:14:12.000Z | import os
import shutil
import unittest
import numpy as np
import pandas as pd
from addict import Dict
from torch.utils.data import DataLoader
from h0rton.trainval_data import XYData
from baobab.configs import BaobabConfig
class TestXYData(unittest.TestCase):
"""A suite of tests on data preprocessing
"""
... | 74.005263 | 396 | 0.694403 | 2,165 | 14,061 | 4.115012 | 0.091917 | 0.065664 | 0.075878 | 0.052531 | 0.829498 | 0.773936 | 0.739926 | 0.722191 | 0.702436 | 0.66719 | 0 | 0.020721 | 0.193443 | 14,061 | 190 | 397 | 74.005263 | 0.764836 | 0.07567 | 0 | 0.218045 | 0 | 0 | 0.121859 | 0.029708 | 0 | 0 | 0 | 0 | 0.120301 | 1 | 0.075188 | false | 0 | 0.067669 | 0 | 0.150376 | 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 |
4ec088ed3db1723dba14b1bec935f77fa3007a1d | 6,517 | py | Python | tests/test_vertex_array.py | 2dx/moderngl | 5f932560a535469626d79d22e4205f400e18f328 | [
"MIT"
] | null | null | null | tests/test_vertex_array.py | 2dx/moderngl | 5f932560a535469626d79d22e4205f400e18f328 | [
"MIT"
] | null | null | null | tests/test_vertex_array.py | 2dx/moderngl | 5f932560a535469626d79d22e4205f400e18f328 | [
"MIT"
] | null | null | null | from array import array
import unittest
import moderngl
import numpy as np
from common import get_context
class TestCase(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.ctx = get_context()
def test_padding(self):
prog = self.ctx.program(
vertex_shader="""
... | 31.181818 | 90 | 0.491944 | 824 | 6,517 | 3.770631 | 0.115291 | 0.072095 | 0.072417 | 0.081107 | 0.851625 | 0.841326 | 0.841326 | 0.820406 | 0.777277 | 0.756357 | 0 | 0.070765 | 0.355992 | 6,517 | 208 | 91 | 31.331731 | 0.669526 | 0.0646 | 0 | 0.559748 | 0 | 0 | 0.228163 | 0 | 0 | 0 | 0 | 0 | 0.069182 | 1 | 0.044025 | false | 0 | 0.031447 | 0 | 0.081761 | 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 |
14d1d929af5e2c43fee5138d8cd72ddf00d7f81f | 11,861 | py | Python | Code/Chenglong/feature_first_last_ngram.py | ChenglongChen/Kaggle_Homedepot | 55c1033d0af3b6cf2f033fe4bcf3e1e0ffda3445 | [
"MIT"
] | 465 | 2016-04-27T13:17:36.000Z | 2020-05-15T11:05:13.000Z | Code/Chenglong/feature_first_last_ngram.py | CharlotteSean/Kaggle_HomeDepot | 55c1033d0af3b6cf2f033fe4bcf3e1e0ffda3445 | [
"MIT"
] | 1 | 2016-10-15T04:33:54.000Z | 2016-10-15T04:33:54.000Z | Code/Chenglong/feature_first_last_ngram.py | CharlotteSean/Kaggle_HomeDepot | 55c1033d0af3b6cf2f033fe4bcf3e1e0ffda3445 | [
"MIT"
] | 230 | 2016-04-30T06:35:17.000Z | 2019-12-04T08:23:22.000Z | # -*- coding: utf-8 -*-
"""
@author: Chenglong Chen <c.chenglong@gmail.com>
@brief: first and last ngram features
@note: in the final submission, we only used intersect count, NOT including intersect position.
"""
import re
import string
import numpy as np
import pandas as pd
import config
from utils import dist_ut... | 45.795367 | 158 | 0.695473 | 1,409 | 11,861 | 5.398864 | 0.117104 | 0.082818 | 0.047325 | 0.066255 | 0.80702 | 0.802287 | 0.787564 | 0.787564 | 0.787564 | 0.777047 | 0 | 0.003714 | 0.182868 | 11,861 | 258 | 159 | 45.972868 | 0.78116 | 0.082792 | 0 | 0.637363 | 0 | 0 | 0.106483 | 0.066587 | 0 | 0 | 0 | 0 | 0 | 1 | 0.148352 | false | 0 | 0.049451 | 0.021978 | 0.335165 | 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 |
14fc5f8ad475bef473b6ded370e5fb087574c696 | 106 | py | Python | canary/servicemap.py | bohatiuk/agh-reddit-stash | f0c3cd51f509c81f3df1d48e3867a178b7c84630 | [
"Apache-2.0"
] | null | null | null | canary/servicemap.py | bohatiuk/agh-reddit-stash | f0c3cd51f509c81f3df1d48e3867a178b7c84630 | [
"Apache-2.0"
] | null | null | null | canary/servicemap.py | bohatiuk/agh-reddit-stash | f0c3cd51f509c81f3df1d48e3867a178b7c84630 | [
"Apache-2.0"
] | null | null | null | import json
def service_map():
with open('service-map.json') as jsn:
return json.load(jsn)
| 13.25 | 41 | 0.641509 | 16 | 106 | 4.1875 | 0.6875 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235849 | 106 | 7 | 42 | 15.142857 | 0.82716 | 0 | 0 | 0 | 0 | 0 | 0.152381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
0918353043047a9982b7f3d1fdb84c610072a75b | 27 | py | Python | tests/workspace/mod2/mod2_1.py | oraluben/pycds | 5c7d11363851e451f07bded967168e493fb16a2f | [
"MIT"
] | 8 | 2022-03-28T02:19:52.000Z | 2022-03-29T22:10:14.000Z | tests/workspace/mod2/mod2_1.py | oraluben/pycds | 5c7d11363851e451f07bded967168e493fb16a2f | [
"MIT"
] | null | null | null | tests/workspace/mod2/mod2_1.py | oraluben/pycds | 5c7d11363851e451f07bded967168e493fb16a2f | [
"MIT"
] | 1 | 2022-03-28T07:08:26.000Z | 2022-03-28T07:08:26.000Z | def mod2_1_foo():
pass
| 9 | 17 | 0.62963 | 5 | 27 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
093bf2115cea2b57ad107313b7751beb10786959 | 28 | py | Python | psmlprocess/__init__.py | nathan-az/pyspark-ml-processing-utils | 1781221ac05b830ccf0d97972204b01b8459119f | [
"Apache-2.0"
] | null | null | null | psmlprocess/__init__.py | nathan-az/pyspark-ml-processing-utils | 1781221ac05b830ccf0d97972204b01b8459119f | [
"Apache-2.0"
] | null | null | null | psmlprocess/__init__.py | nathan-az/pyspark-ml-processing-utils | 1781221ac05b830ccf0d97972204b01b8459119f | [
"Apache-2.0"
] | null | null | null | from .transformers import *
| 14 | 27 | 0.785714 | 3 | 28 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 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 |
11f037970058374f2a7827928d589715eaa654b1 | 16,078 | py | Python | tests/test_read_subset.py | GeoscienceAustralia/wagl | 2de957da754a90c3bedd8ee3196c5effd849ac80 | [
"Apache-2.0"
] | 22 | 2018-05-30T23:42:10.000Z | 2021-12-25T14:21:46.000Z | tests/test_read_subset.py | sixy6e/wagl | 523f574b4a4b62c3aed3a378e13a7548a7f21c0c | [
"Apache-2.0"
] | 52 | 2018-02-20T05:31:55.000Z | 2021-11-23T23:38:15.000Z | tests/test_read_subset.py | sixy6e/wagl | 523f574b4a4b62c3aed3a378e13a7548a7f21c0c | [
"Apache-2.0"
] | 8 | 2018-02-20T05:08:38.000Z | 2021-08-12T23:16:41.000Z | #!/usr/bin/env python
from __future__ import absolute_import
import os
import shutil
import tempfile
import unittest
import numpy
import h5py
from wagl.data import read_subset
from wagl.data import write_img
from wagl import unittesting_tools as ut
class TestReadSubset(unittest.TestCase):
img, geobox = ut.cre... | 31.774704 | 83 | 0.491977 | 1,995 | 16,078 | 3.79599 | 0.090727 | 0.052819 | 0.068665 | 0.079229 | 0.871913 | 0.849597 | 0.803248 | 0.803248 | 0.782913 | 0.695761 | 0 | 0.041256 | 0.356263 | 16,078 | 505 | 84 | 31.837624 | 0.690435 | 0.257992 | 0 | 0.597156 | 0 | 0 | 0.043124 | 0 | 0 | 0 | 0 | 0 | 0.07109 | 1 | 0.07109 | false | 0 | 0.047393 | 0 | 0.137441 | 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 |
eeba59ebaaeaf5a6a1823df6d22007b608e55a1c | 270 | py | Python | src/modules/providers/exceptions.py | DmitryBurnaev/podcast-service | 53349a3f9aed22a8024d0c83380f9a02464962a3 | [
"MIT"
] | 5 | 2021-07-01T16:31:29.000Z | 2022-01-29T14:32:13.000Z | src/modules/providers/exceptions.py | DmitryBurnaev/podcast-service | 53349a3f9aed22a8024d0c83380f9a02464962a3 | [
"MIT"
] | 45 | 2020-10-25T19:41:26.000Z | 2022-03-25T06:31:58.000Z | src/modules/providers/exceptions.py | DmitryBurnaev/podcast-service | 53349a3f9aed22a8024d0c83380f9a02464962a3 | [
"MIT"
] | 1 | 2022-01-27T11:30:07.000Z | 2022-01-27T11:30:07.000Z | from common.exceptions import BaseApplicationError
class FFMPegPreparationError(BaseApplicationError):
message = "We couldn't prepare file by ffmpeg"
class SourceFetchError(BaseApplicationError):
message = "We couldn't extract info about requested episode."
| 27 | 65 | 0.803704 | 28 | 270 | 7.75 | 0.75 | 0.248848 | 0.267281 | 0.322581 | 0.331797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137037 | 270 | 9 | 66 | 30 | 0.93133 | 0 | 0 | 0 | 0 | 0 | 0.307407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
0171cae2e7872622c4cad7a3ca03abf324f9162f | 221 | py | Python | devices/sensor/smoke.py | volmart/domoticz-zigbee2mqtt-plugin | 1b86236cff618b58adceea8a417eff5a92eee548 | [
"MIT"
] | null | null | null | devices/sensor/smoke.py | volmart/domoticz-zigbee2mqtt-plugin | 1b86236cff618b58adceea8a417eff5a92eee548 | [
"MIT"
] | null | null | null | devices/sensor/smoke.py | volmart/domoticz-zigbee2mqtt-plugin | 1b86236cff618b58adceea8a417eff5a92eee548 | [
"MIT"
] | null | null | null | from devices.boolean_sensor import BooleanSensor
class SmokeSensor(BooleanSensor):
def __init__(self, devices, alias, value_key):
super().__init__(devices, alias, value_key, BooleanSensor.SENSOR_TYPE_SMOKE)
| 31.571429 | 84 | 0.782805 | 26 | 221 | 6.153846 | 0.653846 | 0.15 | 0.2125 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131222 | 221 | 6 | 85 | 36.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
6d6a9c3e032f91ce05b1dc8d81e3cffa9ec48378 | 122 | py | Python | tests/conftest.py | xiaofei0722/xfapitest | 0050520f872eb2b5c997b7d01d9851048450deff | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | xiaofei0722/xfapitest | 0050520f872eb2b5c997b7d01d9851048450deff | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | xiaofei0722/xfapitest | 0050520f872eb2b5c997b7d01d9851048450deff | [
"Apache-2.0"
] | null | null | null | import pytest
import requests
@pytest.fixture(scope="function")
def init_session():
return requests.sessions.Session() | 24.4 | 38 | 0.786885 | 15 | 122 | 6.333333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 122 | 5 | 38 | 24.4 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.065041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
6d809ac7066c900b0a899ed8ae1ec2ad93b5c818 | 340 | py | Python | src/python/unicode_segmentation/_unicode_segmentation__ffi.py | anthrotype/unicode-segmentation-py | 7f28f5141660f5f6c7dc5809521c931c335ec640 | [
"Apache-2.0"
] | 2 | 2020-03-10T02:22:31.000Z | 2020-03-10T07:39:07.000Z | src/python/unicode_segmentation/_unicode_segmentation__ffi.py | anthrotype/unicode-segmentation-py | 7f28f5141660f5f6c7dc5809521c931c335ec640 | [
"Apache-2.0"
] | null | null | null | src/python/unicode_segmentation/_unicode_segmentation__ffi.py | anthrotype/unicode-segmentation-py | 7f28f5141660f5f6c7dc5809521c931c335ec640 | [
"Apache-2.0"
] | null | null | null | # auto-generated file
import _cffi_backend
ffi = _cffi_backend.FFI('unicode_segmentation._unicode_segmentation__ffi',
_version = 0x2601,
_types = b'\x00\x00\x05\x0D\x00\x00\x06\x03\x00\x00\x07\x03\x00\x00\x02\x11\x00\x00\x00\x0F\x00\x00\x01\x01\x00\x00\x02\x01\x00\x00\x0A\x01',
_globals = (b'\x00\x00\x00\x... | 37.777778 | 145 | 0.732353 | 58 | 340 | 4.086207 | 0.465517 | 0.278481 | 0.118143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242718 | 0.091176 | 340 | 8 | 146 | 42.5 | 0.524272 | 0.055882 | 0 | 0 | 1 | 0.166667 | 0.626959 | 0.626959 | 0 | 0 | 0.018809 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6dc57078d2bde188616b562474d7b6fd10929cca | 3,923 | py | Python | model/stuq.py | YYgroup/STmodel | 0e608c7d3fe596a2bf2aad446bbd1e151c56b543 | [
"MIT"
] | 1 | 2021-06-18T06:13:09.000Z | 2021-06-18T06:13:09.000Z | model/stuq.py | YYgroup/STmodel | 0e608c7d3fe596a2bf2aad446bbd1e151c56b543 | [
"MIT"
] | null | null | null | model/stuq.py | YYgroup/STmodel | 0e608c7d3fe596a2bf2aad446bbd1e151c56b543 | [
"MIT"
] | null | null | null | import numpy as np
from scipy import stats
import STmodel.data as std
import STmodel.model.st as stm
def sample_params(npts, nstd_T=0.1, nstd_C=0.15):
# default values
A = 0.317
B = 0.033
T = 5.5
C = 1.0
file_path = std.get_file('linear_regression_AB.npz')
data = np.load(file_path)
A_... | 28.845588 | 93 | 0.574305 | 591 | 3,923 | 3.588832 | 0.1489 | 0.064121 | 0.085809 | 0.079208 | 0.809524 | 0.809524 | 0.781707 | 0.770863 | 0.701084 | 0.628006 | 0 | 0.028445 | 0.309967 | 3,923 | 135 | 94 | 29.059259 | 0.755079 | 0.011216 | 0 | 0.612903 | 0 | 0 | 0.01032 | 0.006192 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.043011 | 0 | 0.172043 | 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 |
099c4007fecc0a847f245186fdfd5e6c4d0f5c1b | 72 | py | Python | smartsim/ml/torch/__init__.py | billschereriii/SmartSim | 7ef4cffeba23fe19b931bdae819f4de99bb112a3 | [
"BSD-2-Clause"
] | 1 | 2022-01-19T21:18:59.000Z | 2022-01-19T21:18:59.000Z | smartsim/ml/torch/__init__.py | billschereriii/SmartSim | 7ef4cffeba23fe19b931bdae819f4de99bb112a3 | [
"BSD-2-Clause"
] | null | null | null | smartsim/ml/torch/__init__.py | billschereriii/SmartSim | 7ef4cffeba23fe19b931bdae819f4de99bb112a3 | [
"BSD-2-Clause"
] | null | null | null | from .data import DataLoader, DynamicDataGenerator, StaticDataGenerator
| 36 | 71 | 0.875 | 6 | 72 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 72 | 1 | 72 | 72 | 0.954545 | 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 |
61f30d0969f9508ada86158a1a5334938e26b0fe | 126 | py | Python | week03/code11.py | byeongal/KMUCP | 5bafe02c40aae67fc53d9e6cdcb727929368587e | [
"MIT"
] | null | null | null | week03/code11.py | byeongal/KMUCP | 5bafe02c40aae67fc53d9e6cdcb727929368587e | [
"MIT"
] | null | null | null | week03/code11.py | byeongal/KMUCP | 5bafe02c40aae67fc53d9e6cdcb727929368587e | [
"MIT"
] | 1 | 2019-11-27T20:28:19.000Z | 2019-11-27T20:28:19.000Z | pokemon = ["피카츄", "라이츄", "파이리", "꼬부기", "버터플", "야도란", "피죤투", "또가스"]
print(pokemon[:3])
print(pokemon[3:])
print(pokemon[::2])
| 21 | 66 | 0.555556 | 18 | 126 | 3.888889 | 0.666667 | 0.514286 | 0.371429 | 0.514286 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026786 | 0.111111 | 126 | 5 | 67 | 25.2 | 0.598214 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 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 |
1125326393feb86d200d70d7e850b5c4d73e76e4 | 38 | py | Python | bcolz/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 130 | 2015-07-28T03:41:21.000Z | 2022-03-16T03:07:41.000Z | bcolz/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 119 | 2015-08-01T00:54:06.000Z | 2021-01-05T13:00:46.000Z | bcolz/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 72 | 2015-07-29T02:35:56.000Z | 2022-02-26T14:31:15.000Z | import sys
import bcolz
bcolz.test()
| 7.6 | 12 | 0.763158 | 6 | 38 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 4 | 13 | 9.5 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
3a2114257679a30200536e9e5ec88b7ddd09c193 | 165 | py | Python | hknweb/candidate/admin/activities/__init__.py | jyxzhang/hknweb | a01ffd8587859bf63c46213be6a0c8b87164a5c2 | [
"MIT"
] | null | null | null | hknweb/candidate/admin/activities/__init__.py | jyxzhang/hknweb | a01ffd8587859bf63c46213be6a0c8b87164a5c2 | [
"MIT"
] | null | null | null | hknweb/candidate/admin/activities/__init__.py | jyxzhang/hknweb | a01ffd8587859bf63c46213be6a0c8b87164a5c2 | [
"MIT"
] | null | null | null | from hknweb.candidate.admin.activities.officer_challenge import OffChallengeAdmin
from hknweb.candidate.admin.activities.bitbyteactivity import BitByteActivityAdmin
| 55 | 82 | 0.90303 | 17 | 165 | 8.705882 | 0.647059 | 0.135135 | 0.256757 | 0.324324 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048485 | 165 | 2 | 83 | 82.5 | 0.942675 | 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 | 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 |
3a42090a810b424b01c30256f2f97572a687ab2d | 37 | py | Python | python/galois/connected_components.py | bigwater/Galois | 03738c883301844cfb15a71647744a59184f43c0 | [
"BSD-3-Clause"
] | 230 | 2018-06-20T22:18:31.000Z | 2022-03-27T13:09:59.000Z | python/galois/connected_components.py | bigwater/Galois | 03738c883301844cfb15a71647744a59184f43c0 | [
"BSD-3-Clause"
] | 307 | 2018-06-23T12:45:31.000Z | 2022-03-26T01:54:38.000Z | python/galois/connected_components.py | bigwater/Galois | 03738c883301844cfb15a71647744a59184f43c0 | [
"BSD-3-Clause"
] | 110 | 2018-06-19T04:39:16.000Z | 2022-03-29T01:55:47.000Z | from ._connected_components import *
| 18.5 | 36 | 0.837838 | 4 | 37 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.878788 | 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 |
3a50c8f492b9a769883b1fca6f7e74fa306e4365 | 46 | py | Python | testing/lambdas/echo.py | nmittal18/working_open_lambda | a6b280d107a01ad1366a2ca0ccbb6f4dce736f52 | [
"Apache-2.0"
] | null | null | null | testing/lambdas/echo.py | nmittal18/working_open_lambda | a6b280d107a01ad1366a2ca0ccbb6f4dce736f52 | [
"Apache-2.0"
] | null | null | null | testing/lambdas/echo.py | nmittal18/working_open_lambda | a6b280d107a01ad1366a2ca0ccbb6f4dce736f52 | [
"Apache-2.0"
] | 1 | 2020-01-08T18:00:04.000Z | 2020-01-08T18:00:04.000Z | def handler(db_conn, event):
return event
| 15.333333 | 28 | 0.717391 | 7 | 46 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 46 | 2 | 29 | 23 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
28ea526ee38a9fa0402df78f1f3de391a9526f1b | 29 | py | Python | json2dir/__init__.py | Kanahiro/json2dir | d7fc1959bc743df051f9ec43a09b8f01a7caad74 | [
"MIT"
] | 1 | 2020-05-08T18:57:00.000Z | 2020-05-08T18:57:00.000Z | json2dir/__init__.py | Kanahiro/json2dir | d7fc1959bc743df051f9ec43a09b8f01a7caad74 | [
"MIT"
] | null | null | null | json2dir/__init__.py | Kanahiro/json2dir | d7fc1959bc743df051f9ec43a09b8f01a7caad74 | [
"MIT"
] | null | null | null | from .main import dir_list_of | 29 | 29 | 0.862069 | 6 | 29 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.884615 | 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 |
e917ab68fda25bcdfc856567ecc1cee1f5cb7041 | 185 | py | Python | configs/dla/dla34_bdd100k.py | XDong18/mmclassification | 115c39ed4673d9cdd7b5f543482c1038f0c77ab5 | [
"Apache-2.0"
] | null | null | null | configs/dla/dla34_bdd100k.py | XDong18/mmclassification | 115c39ed4673d9cdd7b5f543482c1038f0c77ab5 | [
"Apache-2.0"
] | null | null | null | configs/dla/dla34_bdd100k.py | XDong18/mmclassification | 115c39ed4673d9cdd7b5f543482c1038f0c77ab5 | [
"Apache-2.0"
] | null | null | null | _base_ = [
'../_base_/datasets/bdd100k.py', '../_base_/models/dla34_bdd100k.py',
'../_base_/schedules/bdd100k.py', '../_base_/default_runtime.py'
]
find_unused_parameters = True | 37 | 73 | 0.697297 | 22 | 185 | 5.227273 | 0.590909 | 0.234783 | 0.33913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065868 | 0.097297 | 185 | 5 | 74 | 37 | 0.622754 | 0 | 0 | 0 | 0 | 0 | 0.645161 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3aab1155699ccb69273e6a936478287361f131ab | 77 | py | Python | tests/test_mysorn.py | lneisenman/mysorn | f81ce6e61594f9f4da32a9323c6f0ee85c27d7af | [
"BSD-2-Clause"
] | null | null | null | tests/test_mysorn.py | lneisenman/mysorn | f81ce6e61594f9f4da32a9323c6f0ee85c27d7af | [
"BSD-2-Clause"
] | null | null | null | tests/test_mysorn.py | lneisenman/mysorn | f81ce6e61594f9f4da32a9323c6f0ee85c27d7af | [
"BSD-2-Clause"
] | null | null | null |
import mysorn
def test_main():
assert mysorn # use your library here
| 11 | 42 | 0.701299 | 11 | 77 | 4.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246753 | 77 | 6 | 43 | 12.833333 | 0.913793 | 0.272727 | 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 |
3ab0aff6362156bad89a898004dc9c57b2abd494 | 121 | py | Python | tests/test_peak_distribution.py | mwang87/SMITER | 4af90d20042210e6ea403245dc8f73150fc5d844 | [
"MIT"
] | 6 | 2021-03-12T04:23:24.000Z | 2022-02-03T19:47:04.000Z | tests/test_peak_distribution.py | mwang87/SMITER | 4af90d20042210e6ea403245dc8f73150fc5d844 | [
"MIT"
] | 103 | 2021-03-12T00:34:20.000Z | 2022-03-31T19:53:05.000Z | tests/test_peak_distribution.py | mwang87/SMITER | 4af90d20042210e6ea403245dc8f73150fc5d844 | [
"MIT"
] | 1 | 2021-03-12T00:38:57.000Z | 2021-03-12T00:38:57.000Z | """Summary."""
def test_gauss_dist():
"""Summary."""
pass
def test_gamma_dist():
"""Summary."""
pass
| 10.083333 | 22 | 0.53719 | 13 | 121 | 4.692308 | 0.538462 | 0.229508 | 0.491803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239669 | 121 | 11 | 23 | 11 | 0.663043 | 0.214876 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3ac090235e2e1edaa4bcc0e7120132fbd0aeb302 | 14,751 | py | Python | tests/test_services/test_set_687.py | ucloud/ucloud-sdk-python2 | 90fb43198df73a78d64bbd98675dc7b302856057 | [
"Apache-2.0"
] | 19 | 2019-05-15T13:41:58.000Z | 2019-11-13T09:09:37.000Z | tests/test_services/test_set_687.py | ucloud/ucloud-sdk-python2 | 90fb43198df73a78d64bbd98675dc7b302856057 | [
"Apache-2.0"
] | 9 | 2019-07-24T08:31:33.000Z | 2020-09-22T04:01:46.000Z | tests/test_services/test_set_687.py | ucloud/ucloud-sdk-python2 | 90fb43198df73a78d64bbd98675dc7b302856057 | [
"Apache-2.0"
] | 3 | 2019-06-18T00:22:07.000Z | 2020-04-24T02:28:06.000Z | # -*- coding: utf-8 -*-
""" Code is generated by ucloud-model, DO NOT EDIT IT. """
import pytest
import logging
from ucloud.core import exc
from ucloud.testing import env, funcs, op, utest
logger = logging.getLogger(__name__)
scenario = utest.Scenario(687)
@pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason... | 26.578378 | 78 | 0.611009 | 1,781 | 14,751 | 4.869175 | 0.098821 | 0.102399 | 0.049816 | 0.058349 | 0.809848 | 0.757265 | 0.73893 | 0.719788 | 0.677352 | 0.672048 | 0 | 0.026678 | 0.232594 | 14,751 | 554 | 79 | 26.626354 | 0.739399 | 0.005017 | 0 | 0.689243 | 1 | 0 | 0.176687 | 0.007839 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047809 | false | 0 | 0.007968 | 0 | 0.101594 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c9457ae8e0f0b711eb26cd64355bddaf8ed2200e | 44 | py | Python | SecondLife/SimpleBot/Program.py | uoy-research/DED | b03a03ac59a0c3243377ce261d1440cc65731a9e | [
"MIT"
] | null | null | null | SecondLife/SimpleBot/Program.py | uoy-research/DED | b03a03ac59a0c3243377ce261d1440cc65731a9e | [
"MIT"
] | null | null | null | SecondLife/SimpleBot/Program.py | uoy-research/DED | b03a03ac59a0c3243377ce261d1440cc65731a9e | [
"MIT"
] | null | null | null |
import bot
print 'Starting Iron Python'
| 6.285714 | 28 | 0.727273 | 6 | 44 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 44 | 6 | 29 | 7.333333 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c9670e09673239fcdffea0b6bf2f1eb4c63933b4 | 32 | py | Python | src/audio_room/envs/__init__.py | pseeth/otoworld | 636ca717c6e571b465ddcd836fa430ccdc53debf | [
"MIT"
] | 17 | 2020-06-16T06:37:03.000Z | 2020-10-15T00:25:05.000Z | src/audio_room/envs/__init__.py | pseeth/otoworld | 636ca717c6e571b465ddcd836fa430ccdc53debf | [
"MIT"
] | 5 | 2020-10-18T23:50:49.000Z | 2021-04-14T02:36:08.000Z | src/audio_room/envs/__init__.py | pseeth/otoworld | 636ca717c6e571b465ddcd836fa430ccdc53debf | [
"MIT"
] | 2 | 2020-07-17T11:51:30.000Z | 2020-09-21T14:50:56.000Z | from .audio_env import AudioEnv
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 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 |
a348c1cf107c7e9e719f55a7cef7fbf40fc96452 | 1,437 | py | Python | utils/parameters.py | wcode-wzx/yolov5-for-price-tag-recognition | a488de2b2637753d570343093e2c06f6782927a5 | [
"MIT"
] | 4 | 2021-03-24T09:28:26.000Z | 2021-04-09T10:15:38.000Z | utils/parameters.py | wcode-wzx/yolov5-for-price-tag-recognition | a488de2b2637753d570343093e2c06f6782927a5 | [
"MIT"
] | null | null | null | utils/parameters.py | wcode-wzx/yolov5-for-price-tag-recognition | a488de2b2637753d570343093e2c06f6782927a5 | [
"MIT"
] | null | null | null | import urllib
import urllib.request
class a_path():
images_path = 'runs/detect/exp/images/'
cut_path = ''
labels_path = 'runs/detect/exp/labels/'
price_path = 'runs/detect/exp/price/'
class opt(object):
def __init__(self):
self.source = 'data/images'
self.agnostic_nms = False
... | 27.113208 | 47 | 0.592206 | 194 | 1,437 | 4.216495 | 0.304124 | 0.110024 | 0.06357 | 0.062347 | 0.779951 | 0.779951 | 0.713936 | 0.713936 | 0.713936 | 0.713936 | 0 | 0.020428 | 0.284621 | 1,437 | 52 | 48 | 27.634615 | 0.775292 | 0 | 0 | 0.723404 | 0 | 0 | 0.123259 | 0.06337 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085106 | false | 0 | 0.042553 | 0 | 0.276596 | 0.042553 | 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 |
a355fc33833c9a16a716aff867078f035d30a256 | 35 | py | Python | crawler/__init__.py | subhendusethi/nytimes-article-crawler | 8e74831f76452e3ae2c7155b2361536cc31be3e8 | [
"MIT"
] | 8 | 2017-05-08T03:58:07.000Z | 2021-04-15T08:42:21.000Z | crawler/__init__.py | subhendusethi/nytimes-article-crawler | 8e74831f76452e3ae2c7155b2361536cc31be3e8 | [
"MIT"
] | 1 | 2020-01-20T07:55:51.000Z | 2020-03-11T12:18:12.000Z | crawler/__init__.py | subhendusethi/nytimes-article-crawler | 8e74831f76452e3ae2c7155b2361536cc31be3e8 | [
"MIT"
] | 5 | 2018-09-28T13:03:48.000Z | 2022-03-02T05:51:02.000Z | from .nytimescrawler import Crawler | 35 | 35 | 0.885714 | 4 | 35 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a3893d60597d53e36cc5611617fa5a0317d039f5 | 96 | py | Python | venv/lib/python3.8/site-packages/clikit/io/output_stream/buffered_output_stream.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/clikit/io/output_stream/buffered_output_stream.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/clikit/io/output_stream/buffered_output_stream.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/53/d2/fd/7a91d37c08f7671c2cc34944c0a1684c1b929cc36e53f4c38d27ffbd97 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 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 |
a3a020e08283b8ffc790d728c8f8e2d1f5c64e2c | 1,290 | py | Python | missingnumber_test.py | mutakubwa/python_practice | 5fef46659ee162c3accfee44e2675eeb0e9c6e95 | [
"Apache-2.0"
] | null | null | null | missingnumber_test.py | mutakubwa/python_practice | 5fef46659ee162c3accfee44e2675eeb0e9c6e95 | [
"Apache-2.0"
] | null | null | null | missingnumber_test.py | mutakubwa/python_practice | 5fef46659ee162c3accfee44e2675eeb0e9c6e95 | [
"Apache-2.0"
] | null | null | null | import unittest
from missingnumber import missing_number_1, missing_number_2
class MissingNumber_Test(unittest.TestCase):
def test_missingnumber1(self):
testcase1 = 5
testcase2 = [2,2,3,4,5]
expected = 1
self.assertEqual(missing_number_1(testcase1, testcase2), expected)
def te... | 30.714286 | 74 | 0.646512 | 153 | 1,290 | 5.248366 | 0.189542 | 0.129514 | 0.104608 | 0.171856 | 0.731009 | 0.731009 | 0.731009 | 0.731009 | 0.731009 | 0.731009 | 0 | 0.083247 | 0.255039 | 1,290 | 42 | 75 | 30.714286 | 0.752341 | 0 | 0 | 0.685714 | 0 | 0 | 0.006197 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 1 | 0.171429 | false | 0 | 0.057143 | 0 | 0.257143 | 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 |
42e38efbda5c20c695510ee3ddb0d7a82a4e6b8e | 144 | py | Python | agent/controller/__init__.py | intelligent-control-lab/Composable_Agent_Toolbox | 39d71cdc0475ae6901cb30b63d181737bea35889 | [
"MIT"
] | 4 | 2020-10-20T14:30:09.000Z | 2022-02-19T23:46:04.000Z | agent/controller/__init__.py | intelligent-control-lab/Composable_Agent_Toolbox | 39d71cdc0475ae6901cb30b63d181737bea35889 | [
"MIT"
] | null | null | null | agent/controller/__init__.py | intelligent-control-lab/Composable_Agent_Toolbox | 39d71cdc0475ae6901cb30b63d181737bea35889 | [
"MIT"
] | 1 | 2022-03-12T10:46:38.000Z | 2022-03-12T10:46:38.000Z | from .controller import Controller
from .naive_controller import NaiveController, NaiveJointController
from .cbf_controller import CBFController | 48 | 67 | 0.888889 | 15 | 144 | 8.4 | 0.533333 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 144 | 3 | 68 | 48 | 0.954545 | 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 |
283a67c915a5ff78e753fafe73693a161b6ebbdc | 112 | py | Python | design_bench/oracles/sklearn/__init__.py | brandontrabucco/design_bench | 824516ec59396aded3ca55ec7c1c313626ecaceb | [
"MIT"
] | 27 | 2020-06-30T00:57:12.000Z | 2022-03-25T16:24:11.000Z | design_bench/oracles/sklearn/__init__.py | brandontrabucco/design_bench | 824516ec59396aded3ca55ec7c1c313626ecaceb | [
"MIT"
] | 7 | 2021-02-16T06:25:02.000Z | 2022-03-31T17:21:17.000Z | design_bench/oracles/sklearn/__init__.py | brandontrabucco/design_bench | 824516ec59396aded3ca55ec7c1c313626ecaceb | [
"MIT"
] | 5 | 2021-07-19T12:16:32.000Z | 2022-03-01T16:56:16.000Z | from .random_forest_oracle import RandomForestOracle
from .gaussian_process_oracle import GaussianProcessOracle
| 37.333333 | 58 | 0.910714 | 12 | 112 | 8.166667 | 0.75 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 112 | 2 | 59 | 56 | 0.942308 | 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 |
284394bdfa22179834416943d0f83911c4f3a37b | 28 | py | Python | pigar/tests/imports_example/subfoo/foo.py | yasirroni/pigar | 823a3c2478361d53dba408bea75e1766d253f3c0 | [
"BSD-3-Clause"
] | 959 | 2016-08-15T10:02:24.000Z | 2022-03-31T12:35:39.000Z | pigar/tests/imports_example/subfoo/foo.py | yasirroni/pigar | 823a3c2478361d53dba408bea75e1766d253f3c0 | [
"BSD-3-Clause"
] | 67 | 2016-10-02T20:48:26.000Z | 2022-01-08T16:29:58.000Z | pigar/tests/imports_example/subfoo/foo.py | yasirroni/pigar | 823a3c2478361d53dba408bea75e1766d253f3c0 | [
"BSD-3-Clause"
] | 64 | 2016-11-30T11:21:36.000Z | 2022-02-18T19:33:37.000Z | def foo():
print("FOO")
| 9.333333 | 16 | 0.5 | 4 | 28 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 2 | 17 | 14 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.