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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f38580e8abffb1a15253b9c1839a33ec8f8a63a6 | 29 | py | Python | cls_module/cls_module/memory/ec/__init__.py | pulinagrawal/pt-aha | 64180481ddc9f410d776ad204c56429c13744f99 | [
"Apache-2.0"
] | null | null | null | cls_module/cls_module/memory/ec/__init__.py | pulinagrawal/pt-aha | 64180481ddc9f410d776ad204c56429c13744f99 | [
"Apache-2.0"
] | 9 | 2021-02-23T06:32:31.000Z | 2022-02-11T00:51:13.000Z | cls_module/cls_module/memory/ec/__init__.py | pulinagrawal/pt-aha | 64180481ddc9f410d776ad204c56429c13744f99 | [
"Apache-2.0"
] | 1 | 2021-03-23T10:01:36.000Z | 2021-03-23T10:01:36.000Z | from .betavae import BetaVAE
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 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 |
846f8bfa57b0a0168c7ed3cd5393d1a2c3fb0a5a | 339 | py | Python | cBufferedTCPIPConnectionAcceptor.py | SkyLined/mTCPIPConnection | 52f6152a83a163c9f5a45c3fd6edc840c8e72a3b | [
"CC-BY-4.0"
] | 1 | 2021-01-30T07:26:59.000Z | 2021-01-30T07:26:59.000Z | cBufferedTCPIPConnectionAcceptor.py | SkyLined/mTCPIPConnection | 52f6152a83a163c9f5a45c3fd6edc840c8e72a3b | [
"CC-BY-4.0"
] | 1 | 2020-06-21T04:16:25.000Z | 2020-06-23T09:33:35.000Z | cBufferedTCPIPConnectionAcceptor.py | SkyLined/mTCPIPConnection | 52f6152a83a163c9f5a45c3fd6edc840c8e72a3b | [
"CC-BY-4.0"
] | null | null | null |
from .cBufferedTCPIPConnection import cBufferedTCPIPConnection;
from .cTCPIPConnectionAcceptor import cTCPIPConnectionAcceptor;
class cBufferedTCPIPConnectionAcceptor(cTCPIPConnectionAcceptor):
def foCreateNewConnectionForPythonSocket(oSelf, oPythonSocket):
return cBufferedTCPIPConnection(oPythonSocket, bCreate... | 42.375 | 76 | 0.876106 | 20 | 339 | 14.85 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076696 | 339 | 7 | 77 | 48.428571 | 0.948882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
84b3b0cf95a1fda353f9cc7dd68d6346553cd72f | 540 | py | Python | CMPE491_HW7_MODELSIM/work.py | EdwinTrejo/CMPE691 | 10af51e4ff49ae19e5cefcf4b20cacc33373209b | [
"MIT"
] | null | null | null | CMPE491_HW7_MODELSIM/work.py | EdwinTrejo/CMPE691 | 10af51e4ff49ae19e5cefcf4b20cacc33373209b | [
"MIT"
] | null | null | null | CMPE491_HW7_MODELSIM/work.py | EdwinTrejo/CMPE691 | 10af51e4ff49ae19e5cefcf4b20cacc33373209b | [
"MIT"
] | null | null | null | import os
os.system('echo "DEFAULT : ./work" > synopsys_sim.setup')
os.system('rm -rf work')
os.system('mkdir work')
os.system('vhdlan -full64 $VCS_HOME/packages/IEEE/src/std_logic_textio.vhd')
os.system('vhdlan -full64 $VCS_HOME/packages/IEEE/src/std_logic_signed.vhd')
os.system('vhdlan -full64 $VCS_HOME/packages/IEEE... | 49.090909 | 78 | 0.775926 | 89 | 540 | 4.539326 | 0.314607 | 0.178218 | 0.207921 | 0.29703 | 0.685644 | 0.628713 | 0.628713 | 0.628713 | 0.628713 | 0.628713 | 0 | 0.02947 | 0.057407 | 540 | 10 | 79 | 54 | 0.764244 | 0 | 0 | 0 | 0 | 0 | 0.748148 | 0.437037 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.1 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
84e0900fc80ec40b960170b3015e94c3fc3a181e | 8,044 | py | Python | unit_tests/view_modify_land_charge/test_edit_address_for_charge.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2019-10-03T13:58:29.000Z | 2019-10-03T13:58:29.000Z | unit_tests/view_modify_land_charge/test_edit_address_for_charge.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | null | null | null | unit_tests/view_modify_land_charge/test_edit_address_for_charge.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2021-04-11T05:24:57.000Z | 2021-04-11T05:24:57.000Z | from maintain_frontend import main
from flask_testing import TestCase
from unit_tests.utilities import Utilities
from flask import url_for
from maintain_frontend.dependencies.session_api.session import Session
from maintain_frontend.services import charge_id_services
from maintain_frontend.models import LocalLandCharge... | 39.625616 | 110 | 0.701765 | 935 | 8,044 | 5.719786 | 0.131551 | 0.041137 | 0.056096 | 0.078534 | 0.80086 | 0.78347 | 0.78347 | 0.764585 | 0.735041 | 0.735041 | 0 | 0.011962 | 0.199776 | 8,044 | 202 | 111 | 39.821782 | 0.81886 | 0 | 0 | 0.588235 | 0 | 0 | 0.122452 | 0.028593 | 0 | 0 | 0 | 0 | 0.169935 | 1 | 0.084967 | false | 0 | 0.058824 | 0 | 0.156863 | 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 |
ca0cbaeca34cae54d5f7e1c273f7cf135f451066 | 2,800 | py | Python | gwlfe/Output/Loading/StreamBankN.py | mudkipmaster/gwlf-e | 9e058445537dd32d1916f76c4b73ca64261771cd | [
"Apache-2.0"
] | null | null | null | gwlfe/Output/Loading/StreamBankN.py | mudkipmaster/gwlf-e | 9e058445537dd32d1916f76c4b73ca64261771cd | [
"Apache-2.0"
] | 6 | 2018-07-24T22:46:28.000Z | 2018-07-29T19:13:09.000Z | gwlfe/Output/Loading/StreamBankN.py | mudkipmaster/gwlf-e | 9e058445537dd32d1916f76c4b73ca64261771cd | [
"Apache-2.0"
] | 1 | 2018-07-24T18:22:01.000Z | 2018-07-24T18:22:01.000Z | from numpy import zeros
from gwlfe.Memoization import memoize
from gwlfe.Output.Loading.StreamBankEros import StreamBankEros
from gwlfe.Output.Loading.StreamBankEros import StreamBankEros_f
@memoize
def StreamBankN(NYrs, DaysMonth, Temp, InitSnow_0, Prec, NRur, NUrb, Area,
CNI_0, AntMoist_0, Grow_0, ... | 62.222222 | 105 | 0.612857 | 266 | 2,800 | 6.296992 | 0.255639 | 0.031045 | 0.040597 | 0.059701 | 0.841194 | 0.841194 | 0.841194 | 0.774328 | 0.774328 | 0.774328 | 0 | 0.030099 | 0.311786 | 2,800 | 44 | 106 | 63.636364 | 0.839128 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0 | 0.102564 | 0.025641 | 0.205128 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ca0dbbe1bd568465973324ec585e89c1f44dba85 | 6,277 | py | Python | rnns/single_layer_uni_rnns_test.py | luozhouyang/rnns_outputs_and_shapes | 7de6c6d3561fd13358878fdbf928f07e072d45c9 | [
"Apache-2.0"
] | 1 | 2019-01-20T03:12:05.000Z | 2019-01-20T03:12:05.000Z | rnns/single_layer_uni_rnns_test.py | luozhouyang/rnns_outputs_and_shapes | 7de6c6d3561fd13358878fdbf928f07e072d45c9 | [
"Apache-2.0"
] | null | null | null | rnns/single_layer_uni_rnns_test.py | luozhouyang/rnns_outputs_and_shapes | 7de6c6d3561fd13358878fdbf928f07e072d45c9 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
from . import common_test_utils as common_utils
class SingleLayerUniRNNsTest(tf.test.TestCase):
def testSingleLayerUniLSTM(self):
uni_lstm = tf.nn.rnn_cell.LSTMCell(num_units=common_utils.DEPTH)
seq_placeholder = tf.placeholder(dtype=tf.float32.as_numpy_dtype,
... | 49.425197 | 99 | 0.606978 | 793 | 6,277 | 4.543506 | 0.107188 | 0.048571 | 0.085484 | 0.046628 | 0.885651 | 0.876769 | 0.844852 | 0.824036 | 0.809881 | 0.809881 | 0 | 0.00955 | 0.299347 | 6,277 | 126 | 100 | 49.81746 | 0.809686 | 0.042218 | 0 | 0.598039 | 0 | 0 | 0.155103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039216 | false | 0 | 0.019608 | 0 | 0.068627 | 0.215686 | 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 |
ca0f09409e42f9e7fab1d66db8720788fb81efb9 | 7 | py | Python | 01_Language/05_Python/study/lesson_06/hello/b.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 3 | 2020-06-28T07:42:51.000Z | 2021-01-15T10:32:11.000Z | 01_Language/05_Python/study/lesson_06/hello/b.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 9 | 2021-03-10T22:45:40.000Z | 2022-02-27T06:53:20.000Z | 01_Language/05_Python/study/lesson_06/hello/b.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 1 | 2021-01-15T10:51:24.000Z | 2021-01-15T10:51:24.000Z | d = 40
| 3.5 | 6 | 0.428571 | 2 | 7 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.428571 | 7 | 1 | 7 | 7 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ca1b2418b4f682279cb67afd2fec4729627070d1 | 139 | py | Python | depcheck/util.py | flix-tech/depcheck | 12b17752ebb4668c08941324f7d6a2cec6ab72c0 | [
"MIT"
] | 3 | 2021-04-12T15:14:02.000Z | 2021-12-17T22:48:39.000Z | depcheck/util.py | flix-tech/depcheck | 12b17752ebb4668c08941324f7d6a2cec6ab72c0 | [
"MIT"
] | null | null | null | depcheck/util.py | flix-tech/depcheck | 12b17752ebb4668c08941324f7d6a2cec6ab72c0 | [
"MIT"
] | null | null | null | from typing import List
def flatten(list_2d: List[List[str]]) -> List[str]:
return [item for sublist in list_2d for item in sublist]
| 23.166667 | 60 | 0.719424 | 24 | 139 | 4.083333 | 0.541667 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.179856 | 139 | 5 | 61 | 27.8 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ca93fa4f44d5454481fb1eee5b991c845785fbb1 | 46 | py | Python | historia/namegen/__init__.py | eranimo/historia | 5e0b047d4bcdd534f48f8b9bf19d425b0b31a3fd | [
"MIT"
] | 6 | 2016-04-26T18:39:36.000Z | 2021-09-01T09:13:38.000Z | historia/namegen/__init__.py | eranimo/historia | 5e0b047d4bcdd534f48f8b9bf19d425b0b31a3fd | [
"MIT"
] | null | null | null | historia/namegen/__init__.py | eranimo/historia | 5e0b047d4bcdd534f48f8b9bf19d425b0b31a3fd | [
"MIT"
] | 4 | 2016-04-10T23:47:23.000Z | 2021-08-15T11:40:28.000Z | from historia.namegen.word import random_word
| 23 | 45 | 0.869565 | 7 | 46 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 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 |
04adb6dbd6ad1e3c7440650bd38a0b6c01e75c39 | 3,206 | py | Python | src/modules/agents/rnn_agent.py | vanstrn/LICA | 9dcc598f3b5329e2b266a319ac9552bb962c59ae | [
"MIT"
] | null | null | null | src/modules/agents/rnn_agent.py | vanstrn/LICA | 9dcc598f3b5329e2b266a319ac9552bb962c59ae | [
"MIT"
] | null | null | null | src/modules/agents/rnn_agent.py | vanstrn/LICA | 9dcc598f3b5329e2b266a319ac9552bb962c59ae | [
"MIT"
] | null | null | null | import torch.nn as nn
import torch.nn.functional as F
class RNNAgent(nn.Module):
def __init__(self, input_shape, args):
super(RNNAgent, self).__init__()
self.args = args
self.fc1 = nn.Linear(input_shape, args.rnn_hidden_dim)
self.rnn = nn.GRUCell(args.rnn_hidden_dim, args.rnn_hidd... | 38.626506 | 90 | 0.518403 | 410 | 3,206 | 3.880488 | 0.190244 | 0.052797 | 0.098052 | 0.120679 | 0.80704 | 0.777498 | 0.720302 | 0.720302 | 0.720302 | 0.606537 | 0 | 0.053197 | 0.360886 | 3,206 | 82 | 91 | 39.097561 | 0.72328 | 0.026513 | 0 | 0.623188 | 0 | 0 | 0.012508 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.028986 | 0.028986 | 0.202899 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
04c5fe0d67e252ab1504aba1aeae615503dd6950 | 29,779 | py | Python | cogs/shop.py | jeraldlyh/horizon | 8898019d79ed168b991a649c1f84b7d1ec4c433d | [
"Apache-2.0"
] | 2 | 2021-07-06T10:42:02.000Z | 2021-07-06T11:16:53.000Z | cogs/shop.py | jeraldlyh/horizon | 8898019d79ed168b991a649c1f84b7d1ec4c433d | [
"Apache-2.0"
] | null | null | null | cogs/shop.py | jeraldlyh/horizon | 8898019d79ed168b991a649c1f84b7d1ec4c433d | [
"Apache-2.0"
] | null | null | null | import pymongo
import discord
import datetime
import pytz
import os
from discord.ext import commands
from cogs.utils.checks import is_economy_channel, has_registered
from cogs.utils.embed import (passembed, errorembed)
class Shop(commands.Cog):
def __init__(self, bot):
self.bot = bot
self.client ... | 78.365789 | 791 | 0.611706 | 3,299 | 29,779 | 5.515914 | 0.075781 | 0.040062 | 0.019783 | 0.028027 | 0.863824 | 0.857449 | 0.8508 | 0.823542 | 0.809694 | 0.804528 | 0 | 0.092106 | 0.227442 | 29,779 | 380 | 792 | 78.365789 | 0.695558 | 0.272575 | 0 | 0.590164 | 0 | 0.122951 | 0.433027 | 0.227513 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008197 | false | 0.040984 | 0.032787 | 0 | 0.131148 | 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 |
04c9357463226ce402d8643fdbfb9fac935f0cb7 | 454 | py | Python | someapp/views.py | Martynas-P/django-server-rendering | 5abb6cef2f79e67c0db5cb6c9f88dccfbeaf3d0c | [
"Apache-2.0"
] | null | null | null | someapp/views.py | Martynas-P/django-server-rendering | 5abb6cef2f79e67c0db5cb6c9f88dccfbeaf3d0c | [
"Apache-2.0"
] | null | null | null | someapp/views.py | Martynas-P/django-server-rendering | 5abb6cef2f79e67c0db5cb6c9f88dccfbeaf3d0c | [
"Apache-2.0"
] | null | null | null | from node_renderer.render_helpers import render_component
def home_page(request):
return render_component(request)
def component_a(request):
return render_component(request)
def async_component(request):
return render_component(request)
def square(request, number_to_square):
number_to_square = int(... | 25.222222 | 61 | 0.764317 | 57 | 454 | 5.754386 | 0.350877 | 0.228659 | 0.256098 | 0.341463 | 0.347561 | 0.347561 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147577 | 454 | 18 | 62 | 25.222222 | 0.847545 | 0 | 0 | 0.25 | 0 | 0 | 0.050549 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.083333 | 0.25 | 0.75 | 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 |
04deed745fce5b2d9e33c08a66c8eeaf6c2763bd | 31,765 | py | Python | venv/lib/python3.8/site-packages/ansible_collections/community/dns/tests/unit/plugins/module_utils/test_resolver.py | saeedya/docker-ansible | 6fb0cfc6bc4a5925b21380952a5a4502ec02119a | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/ansible_collections/community/dns/tests/unit/plugins/module_utils/test_resolver.py | saeedya/docker-ansible | 6fb0cfc6bc4a5925b21380952a5a4502ec02119a | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/ansible_collections/community/dns/tests/unit/plugins/module_utils/test_resolver.py | saeedya/docker-ansible | 6fb0cfc6bc4a5925b21380952a5a4502ec02119a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# (c) 2021, Felix Fontein <felix@fontein.de>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# Make coding more python3-ish
from __future__ import absolute_import, division, print_function
__metaclass__ = type
import pytest
from ansible_collectio... | 39.313119 | 138 | 0.496931 | 3,333 | 31,765 | 4.594359 | 0.055206 | 0.015934 | 0.01724 | 0.014106 | 0.891922 | 0.884673 | 0.87873 | 0.869131 | 0.850584 | 0.843532 | 0 | 0.035386 | 0.359452 | 31,765 | 807 | 139 | 39.361834 | 0.717206 | 0.015867 | 0 | 0.695251 | 0 | 0 | 0.17023 | 0.015554 | 0 | 0 | 0 | 0 | 0.068602 | 1 | 0.014512 | false | 0.001319 | 0.014512 | 0 | 0.030343 | 0.003958 | 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 |
04edc550fb35fb60b21d62afbfbb9d6791022b26 | 23 | py | Python | presto/animations/__init__.py | jacquelinegarrahan/presto | c5f4670fc07d56c44811a96ba6977f58b1cc1a35 | [
"Apache-2.0"
] | null | null | null | presto/animations/__init__.py | jacquelinegarrahan/presto | c5f4670fc07d56c44811a96ba6977f58b1cc1a35 | [
"Apache-2.0"
] | null | null | null | presto/animations/__init__.py | jacquelinegarrahan/presto | c5f4670fc07d56c44811a96ba6977f58b1cc1a35 | [
"Apache-2.0"
] | null | null | null | from .mesh import Mesh
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 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 |
b6e5def6a1ab8835a3f5ab41cd768ea8c193c6ca | 92 | py | Python | tools/utils/__init__.py | littlepure2333/st-gcn | 1b002c6d42902d135da605d649654aa00cad0d06 | [
"BSD-2-Clause"
] | null | null | null | tools/utils/__init__.py | littlepure2333/st-gcn | 1b002c6d42902d135da605d649654aa00cad0d06 | [
"BSD-2-Clause"
] | null | null | null | tools/utils/__init__.py | littlepure2333/st-gcn | 1b002c6d42902d135da605d649654aa00cad0d06 | [
"BSD-2-Clause"
] | null | null | null | from . import video
from . import openpose
from . import visualization
from . import printer | 23 | 27 | 0.793478 | 12 | 92 | 6.083333 | 0.5 | 0.547945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 4 | 28 | 23 | 0.948052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 1 | 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 |
8e045932344a9e10a2ae12ed14fd5a12ec6c0cf8 | 81 | py | Python | csgl/__init__.py | geraldzakwan/ITBMaps | d31a0751d5b6b958ea3c831ac218e7e869c409c8 | [
"MIT",
"WTFPL",
"Unlicense"
] | null | null | null | csgl/__init__.py | geraldzakwan/ITBMaps | d31a0751d5b6b958ea3c831ac218e7e869c409c8 | [
"MIT",
"WTFPL",
"Unlicense"
] | null | null | null | csgl/__init__.py | geraldzakwan/ITBMaps | d31a0751d5b6b958ea3c831ac218e7e869c409c8 | [
"MIT",
"WTFPL",
"Unlicense"
] | null | null | null | from csgl.vec4 import vec4
from csgl.vec3 import vec3
from csgl.mat4 import mat4
| 20.25 | 26 | 0.814815 | 15 | 81 | 4.4 | 0.4 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.148148 | 81 | 3 | 27 | 27 | 0.869565 | 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 |
8e2e39b576a9a3bb68d3b88f4b1dd485bedb8b5a | 148 | py | Python | mangrove/transport/xforms/xml_dict_conversion.py | mariot/mangrove | 376bca99818c6cc1d08b1c726f46b364c69b0cc7 | [
"BSD-3-Clause"
] | null | null | null | mangrove/transport/xforms/xml_dict_conversion.py | mariot/mangrove | 376bca99818c6cc1d08b1c726f46b364c69b0cc7 | [
"BSD-3-Clause"
] | null | null | null | mangrove/transport/xforms/xml_dict_conversion.py | mariot/mangrove | 376bca99818c6cc1d08b1c726f46b364c69b0cc7 | [
"BSD-3-Clause"
] | null | null | null | import xmldict
def xml_to_dict(xml_string):
return xmldict.xml_to_dict(xml_string)
def dict_to_xml(dict):
return xmldict.dict_to_xml(dict) | 21.142857 | 42 | 0.790541 | 26 | 148 | 4.115385 | 0.307692 | 0.093458 | 0.168224 | 0.224299 | 0.336449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128378 | 148 | 7 | 43 | 21.142857 | 0.829457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8e3b60a15abe2607c62bae1badc77ce9e1d086f2 | 176 | py | Python | tests/ecdsa/__init__.py | GRS-Community/pycoin | 4a9b9722c91e2831519ddf9675fe8c70246432b7 | [
"MIT"
] | 5 | 2017-12-15T13:40:50.000Z | 2021-12-18T13:18:54.000Z | tests/ecdsa/__init__.py | GRS-Community/pycoin | 4a9b9722c91e2831519ddf9675fe8c70246432b7 | [
"MIT"
] | 1 | 2018-08-06T03:48:14.000Z | 2018-09-03T03:01:03.000Z | tests/ecdsa/__init__.py | GRS-Community/pycoin | 4a9b9722c91e2831519ddf9675fe8c70246432b7 | [
"MIT"
] | 6 | 2018-08-24T18:49:47.000Z | 2021-01-19T10:04:08.000Z | import doctest
import pycoin.tx.script.microcode
def load_tests(loader, tests, ignore):
tests.addTests(doctest.DocTestSuite(pycoin.tx.script.microcode))
return tests
| 22 | 68 | 0.784091 | 23 | 176 | 5.956522 | 0.608696 | 0.116788 | 0.20438 | 0.335766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119318 | 176 | 7 | 69 | 25.142857 | 0.883871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f3f0b7e463ae1d2aebee4d11c7d7558f104431b3 | 22 | py | Python | src/HiddenMarkov/__init__.py | jonathan-smith-1/HMM | 7e38205deb071500b5e2fb43cb9b270825ca02b4 | [
"MIT"
] | null | null | null | src/HiddenMarkov/__init__.py | jonathan-smith-1/HMM | 7e38205deb071500b5e2fb43cb9b270825ca02b4 | [
"MIT"
] | null | null | null | src/HiddenMarkov/__init__.py | jonathan-smith-1/HMM | 7e38205deb071500b5e2fb43cb9b270825ca02b4 | [
"MIT"
] | null | null | null | from .Models import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed964eb19de632be17b85c830d02a741b20fb161 | 118 | py | Python | templates/python/http/handler.py | salaboy/function-buildpacks-for-knative | 166c150a1eb96c1bed7a412564e3168b46429e6e | [
"BSD-2-Clause"
] | null | null | null | templates/python/http/handler.py | salaboy/function-buildpacks-for-knative | 166c150a1eb96c1bed7a412564e3168b46429e6e | [
"BSD-2-Clause"
] | null | null | null | templates/python/http/handler.py | salaboy/function-buildpacks-for-knative | 166c150a1eb96c1bed7a412564e3168b46429e6e | [
"BSD-2-Clause"
] | null | null | null | from typing import Any
def handler(req: Any):
# Your function implementation goes here
return "Hello world!"
| 19.666667 | 44 | 0.720339 | 16 | 118 | 5.3125 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211864 | 118 | 5 | 45 | 23.6 | 0.913978 | 0.322034 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
edc121b696793044d24264fc2bfde4a5bf5c1711 | 13,630 | py | Python | skymaps/skymaps.py | reedessick/event_supervisor2 | d077b767a2dafa386a952b0604362d316db4d226 | [
"MIT"
] | null | null | null | skymaps/skymaps.py | reedessick/event_supervisor2 | d077b767a2dafa386a952b0604362d316db4d226 | [
"MIT"
] | 3 | 2016-12-06T23:23:21.000Z | 2017-02-21T20:38:05.000Z | skymaps/skymaps.py | reedessick/event_supervisor2 | d077b767a2dafa386a952b0604362d316db4d226 | [
"MIT"
] | null | null | null | description = "a module housing checks of skymaps functionality"
author = "reed.essick@ligo.org"
#---------------------------------------------------------------------------------------------------
import eventSupervisor.eventSupervisorUtils as esUtils
import os
import numpy as np
import healpy as hp
#-------... | 35.03856 | 166 | 0.530888 | 1,196 | 13,630 | 5.995819 | 0.160535 | 0.045182 | 0.023009 | 0.022312 | 0.788593 | 0.764607 | 0.763771 | 0.762655 | 0.725561 | 0.701297 | 0 | 0.00265 | 0.335437 | 13,630 | 388 | 167 | 35.128866 | 0.789026 | 0.16449 | 0 | 0.700422 | 0 | 0 | 0.103439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037975 | false | 0 | 0.016878 | 0 | 0.130802 | 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 |
eddc46936f63e5078b00b5de327cbc8a8f7d4fa4 | 26 | py | Python | github_approval_checker/utils/__init__.py | amplify-education/github_approval_checker | 8f3bff0d9f282add2cf2b5eb6d26b6710740bd4b | [
"MIT"
] | null | null | null | github_approval_checker/utils/__init__.py | amplify-education/github_approval_checker | 8f3bff0d9f282add2cf2b5eb6d26b6710740bd4b | [
"MIT"
] | null | null | null | github_approval_checker/utils/__init__.py | amplify-education/github_approval_checker | 8f3bff0d9f282add2cf2b5eb6d26b6710740bd4b | [
"MIT"
] | 1 | 2018-02-15T13:51:31.000Z | 2018-02-15T13:51:31.000Z | "Initialize Utils Module"
| 13 | 25 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.913043 | 0.884615 | 0 | 0 | 0 | 0 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
edefbb356345ed3a5d401d78008b26175e4edc7b | 47 | py | Python | padertorch/modules/wavenet/__init__.py | sibange/padertorch | 494692d877f04c66847c2943795b23aea488217d | [
"MIT"
] | 62 | 2019-12-22T08:30:29.000Z | 2022-03-22T11:02:59.000Z | padertorch/modules/wavenet/__init__.py | sibange/padertorch | 494692d877f04c66847c2943795b23aea488217d | [
"MIT"
] | 47 | 2020-01-06T09:23:47.000Z | 2022-01-24T16:55:06.000Z | padertorch/modules/wavenet/__init__.py | sibange/padertorch | 494692d877f04c66847c2943795b23aea488217d | [
"MIT"
] | 13 | 2019-12-16T08:12:46.000Z | 2021-11-08T14:37:06.000Z | from .wavenet import *
from . import nv_wavenet | 23.5 | 24 | 0.787234 | 7 | 47 | 5.142857 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 24 | 23.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fcb6934e2f345f6fb41b239caf3112759e0689dd | 54,506 | py | Python | data_management/tests/test_api.py | FAIRDataPipeline/data-registry | 656ba8893b39ee2a73e51e79722e0363125ed8f4 | [
"BSD-2-Clause"
] | null | null | null | data_management/tests/test_api.py | FAIRDataPipeline/data-registry | 656ba8893b39ee2a73e51e79722e0363125ed8f4 | [
"BSD-2-Clause"
] | 116 | 2021-06-28T11:11:59.000Z | 2022-03-24T09:29:30.000Z | data_management/tests/test_api.py | ScottishCovidResponse/data-registry | 92753a7067b409c06bf38cf8c493cea4570fc34f | [
"BSD-2-Clause"
] | 1 | 2022-03-16T10:36:27.000Z | 2022-03-16T10:36:27.000Z | from django.test import TestCase
from django.urls import reverse
from django.contrib.auth import get_user_model
from rest_framework.test import APIClient
from .initdb import init_db
from .init_prov_db import init_db as init_prov_db
class UsersAPITests(TestCase):
def setUp(self):
self.user = get_user_mod... | 40.107432 | 391 | 0.623638 | 6,239 | 54,506 | 5.284982 | 0.057862 | 0.10827 | 0.108816 | 0.062233 | 0.856822 | 0.835684 | 0.827404 | 0.805386 | 0.768841 | 0.759531 | 0 | 0.017857 | 0.235589 | 54,506 | 1,358 | 392 | 40.136966 | 0.773527 | 0.00644 | 0 | 0.625335 | 0 | 0.008921 | 0.220556 | 0.072805 | 0 | 0 | 0 | 0 | 0.231044 | 1 | 0.084746 | false | 0 | 0.005352 | 0 | 0.139161 | 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 |
fcd9c908da3890a36fa35654f4d8d5018e6650f5 | 3,765 | py | Python | model/topoml_util/np_gaussian_2d_loss.py | Empythy/geometry-learning | 5300d421ef848c2748a2ba41ced5c6e2fba93200 | [
"MIT"
] | 21 | 2018-10-09T08:15:29.000Z | 2022-03-16T08:23:08.000Z | model/topoml_util/np_gaussian_2d_loss.py | reinvantveer/Topology-Learning | 5300d421ef848c2748a2ba41ced5c6e2fba93200 | [
"MIT"
] | 31 | 2017-09-20T13:30:37.000Z | 2018-03-01T13:24:58.000Z | model/topoml_util/np_gaussian_2d_loss.py | reinvantveer/Topology-Learning | 5300d421ef848c2748a2ba41ced5c6e2fba93200 | [
"MIT"
] | 7 | 2018-11-29T11:39:02.000Z | 2022-01-12T07:10:26.000Z | import numpy as np
epsilon = 1e-8
def softplus(x):
return np.logaddexp(1.0, x)
def softmax(x):
"""Compute softmax values for each sets of scores in x."""
e_x = np.exp(x - np.max(x))
return e_x / e_x.sum()
# Adapted version of the probability density function of
# https://en.wikipedia.org/wiki/Mult... | 43.77907 | 108 | 0.627623 | 661 | 3,765 | 3.534039 | 0.178517 | 0.013699 | 0.013699 | 0.035959 | 0.937072 | 0.913527 | 0.892123 | 0.892123 | 0.892123 | 0.892123 | 0 | 0.05724 | 0.220452 | 3,765 | 85 | 109 | 44.294118 | 0.722317 | 0.441169 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096154 | false | 0 | 0.019231 | 0.019231 | 0.211538 | 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 |
fce59b58f4c73f4a4fbfd736239981b67283c5dc | 110 | py | Python | flask-crud-webapp/app/home/__init__.py | herculeshssj/python | c1a0134c405cd7e68fd6d9103894c83d002daa7e | [
"MIT"
] | null | null | null | flask-crud-webapp/app/home/__init__.py | herculeshssj/python | c1a0134c405cd7e68fd6d9103894c83d002daa7e | [
"MIT"
] | null | null | null | flask-crud-webapp/app/home/__init__.py | herculeshssj/python | c1a0134c405cd7e68fd6d9103894c83d002daa7e | [
"MIT"
] | null | null | null | # app/home/__init__.py
from . import views
#from flask import Blueprint
#home = Blueprint('home', __name__)
| 15.714286 | 35 | 0.736364 | 15 | 110 | 4.866667 | 0.666667 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 110 | 6 | 36 | 18.333333 | 0.776596 | 0.736364 | 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 |
1e4ee4ecd25039d4606c113d15afa361200f77d2 | 40 | py | Python | rattr/__init__.py | SuadeLabs/rattr | 22b82d31d4cebf0a7107fa1fb496a070b2e1f4ad | [
"MIT"
] | 6 | 2021-11-10T11:13:37.000Z | 2022-01-19T16:15:17.000Z | rattr/__init__.py | SuadeLabs/ratter | 22b82d31d4cebf0a7107fa1fb496a070b2e1f4ad | [
"MIT"
] | 13 | 2021-11-10T11:39:12.000Z | 2022-03-01T10:27:49.000Z | rattr/__init__.py | SuadeLabs/rattr | 22b82d31d4cebf0a7107fa1fb496a070b2e1f4ad | [
"MIT"
] | null | null | null | from rattr.config import config # noqa
| 20 | 39 | 0.775 | 6 | 40 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 1 | 40 | 40 | 0.939394 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1e584f0de4d2363cb497fb8cb547cc4337d0e2b1 | 26 | py | Python | utubik/__init__.py | khorolets/utubik | cb4c137e330a95dc465e043a498c40bee8ef5130 | [
"MIT"
] | null | null | null | utubik/__init__.py | khorolets/utubik | cb4c137e330a95dc465e043a498c40bee8ef5130 | [
"MIT"
] | null | null | null | utubik/__init__.py | khorolets/utubik | cb4c137e330a95dc465e043a498c40bee8ef5130 | [
"MIT"
] | null | null | null | from .core import YouTube
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 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 |
1ebd81b0dc2d6946a51e016822ab75130db20a8a | 27 | py | Python | qulab/security/__init__.py | ParanoiaSYT/Qulab-backup | 09ec5457145b3789d4c1ac02c43dd3e6dfafc96f | [
"MIT"
] | null | null | null | qulab/security/__init__.py | ParanoiaSYT/Qulab-backup | 09ec5457145b3789d4c1ac02c43dd3e6dfafc96f | [
"MIT"
] | null | null | null | qulab/security/__init__.py | ParanoiaSYT/Qulab-backup | 09ec5457145b3789d4c1ac02c43dd3e6dfafc96f | [
"MIT"
] | null | null | null | from .key_derive import *
| 13.5 | 26 | 0.740741 | 4 | 27 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 0.863636 | 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 |
949a2e72d02d05f2b75b7943624b31e93d3b1a4f | 3,603 | py | Python | code/preprocessing.py | guangyizhangbci/EEG_Riemannian | 2d301bf3d06a192da2829c1c54b24d388ddea1dd | [
"MIT"
] | 12 | 2022-02-22T17:15:04.000Z | 2022-03-19T11:41:15.000Z | code/preprocessing.py | guangyizhangbci/RFNet | 2d301bf3d06a192da2829c1c54b24d388ddea1dd | [
"MIT"
] | null | null | null | code/preprocessing.py | guangyizhangbci/RFNet | 2d301bf3d06a192da2829c1c54b24d388ddea1dd | [
"MIT"
] | null | null | null | import numpy as np
from tqdm import tqdm
from load_data import load_data
from library.signal_filtering import signal_filtering
import os
fs = 250
'''
This pre-processing file is for BCI_IV_2a and BCI_IV_2b datasets
'''
def bci_iv_2a(self):
PATH = '/media/patrick/DATA/BCI_Competition/'
data_train_addr = o... | 30.025 | 99 | 0.685262 | 504 | 3,603 | 4.236111 | 0.130952 | 0.112412 | 0.06089 | 0.078689 | 0.853864 | 0.846838 | 0.843091 | 0.833255 | 0.822482 | 0.785948 | 0 | 0.007317 | 0.203442 | 3,603 | 119 | 100 | 30.277311 | 0.736585 | 0.097974 | 0 | 0.580645 | 0 | 0 | 0.082118 | 0.020926 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.080645 | 0 | 0.112903 | 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 |
94d1b4ec23d388cc24507da42e59e7b4e87a9634 | 156 | py | Python | great_expectations/__init__.py | mastratton3/great_expectations | 151970d776c942bfc23cdd90c7ed00b57a34559d | [
"Apache-2.0"
] | null | null | null | great_expectations/__init__.py | mastratton3/great_expectations | 151970d776c942bfc23cdd90c7ed00b57a34559d | [
"Apache-2.0"
] | null | null | null | great_expectations/__init__.py | mastratton3/great_expectations | 151970d776c942bfc23cdd90c7ed00b57a34559d | [
"Apache-2.0"
] | null | null | null | from .util import *
from great_expectations import data_asset
from great_expectations.data_context import get_data_context
from .version import __version__ | 31.2 | 60 | 0.871795 | 22 | 156 | 5.727273 | 0.454545 | 0.142857 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 156 | 5 | 61 | 31.2 | 0.9 | 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 |
a20d3ffba4f5a4d83db114e200b09b4f5f11f58e | 7,129 | py | Python | FEM/Solvers/NoLineal.py | ZibraMax/FEM | b868c60408a4f83dec4bb424d66be0b20e2ac71b | [
"MIT"
] | 10 | 2021-03-21T18:38:40.000Z | 2022-02-22T01:32:06.000Z | FEM/Solvers/NoLineal.py | ZibraMax/FEM | b868c60408a4f83dec4bb424d66be0b20e2ac71b | [
"MIT"
] | null | null | null | FEM/Solvers/NoLineal.py | ZibraMax/FEM | b868c60408a4f83dec4bb424d66be0b20e2ac71b | [
"MIT"
] | 1 | 2022-02-08T04:40:59.000Z | 2022-02-08T04:40:59.000Z | """Define the structure of a non lineal finite element solver
"""
import numpy as np
import logging
from tqdm import tqdm
class NonLinealSolver():
"""General class for non lineal solvers
Args:
tol (float): Tolerance for the maximum absolute value for the delta vector
n (int): Maximum number o... | 37.130208 | 134 | 0.557161 | 847 | 7,129 | 4.652893 | 0.160567 | 0.106572 | 0.04745 | 0.033494 | 0.805126 | 0.770617 | 0.766557 | 0.766557 | 0.766557 | 0.749302 | 0 | 0.010563 | 0.30944 | 7,129 | 191 | 135 | 37.324607 | 0.789965 | 0.270024 | 0 | 0.60177 | 0 | 0 | 0.140568 | 0.004868 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070796 | false | 0 | 0.026549 | 0 | 0.132743 | 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 |
bf44981de0b85151eb549654e23d395a14976340 | 184 | py | Python | openpype/modules/ftrack/lib/settings.py | jonclothcat/OpenPype | d1208cbebc0a7f378de0062ccd653295c6399195 | [
"MIT"
] | 87 | 2021-05-07T08:40:46.000Z | 2022-03-19T00:36:25.000Z | openpype/modules/ftrack/lib/settings.py | zafrs/OpenPype | 4b8e7e1ed002fc55b31307efdea70b0feaed474f | [
"MIT"
] | 1,019 | 2021-04-26T06:22:56.000Z | 2022-03-31T16:30:43.000Z | openpype/modules/ftrack/lib/settings.py | zafrs/OpenPype | 4b8e7e1ed002fc55b31307efdea70b0feaed474f | [
"MIT"
] | 33 | 2021-04-29T12:35:54.000Z | 2022-03-25T14:48:42.000Z | import os
def get_ftrack_event_mongo_info():
database_name = os.environ["OPENPYPE_DATABASE_NAME"]
collection_name = "ftrack_events"
return database_name, collection_name
| 23 | 56 | 0.782609 | 24 | 184 | 5.541667 | 0.625 | 0.270677 | 0.330827 | 0.390977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146739 | 184 | 7 | 57 | 26.285714 | 0.847134 | 0 | 0 | 0 | 0 | 0 | 0.190217 | 0.119565 | 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 |
bf5a74eb21e5f4dfcbd2bef3af33d39dc4c422b1 | 226 | py | Python | csepy/System/OperatingSystem/OperatingSystemIdentifier.py | csepy/csepy | 3dc39e60948d62bede48bddac0ad5aa8533550d3 | [
"MIT"
] | 1 | 2019-12-11T10:41:40.000Z | 2019-12-11T10:41:40.000Z | csepy/System/OperatingSystem/OperatingSystemIdentifier.py | csepy/csepy | 3dc39e60948d62bede48bddac0ad5aa8533550d3 | [
"MIT"
] | null | null | null | csepy/System/OperatingSystem/OperatingSystemIdentifier.py | csepy/csepy | 3dc39e60948d62bede48bddac0ad5aa8533550d3 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import platform
def GetOperatingSystemName():
return platform.system()
def GetOperatingSystemRelease():
return platform.release()
def GetOperatingSystemVersion():
return platform.version()
| 15.066667 | 32 | 0.752212 | 20 | 226 | 8.5 | 0.65 | 0.247059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005181 | 0.146018 | 226 | 14 | 33 | 16.142857 | 0.875648 | 0.075221 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0 | 0.142857 | 0.428571 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bf81779ca611dace6d33660f506fe310091ed10c | 43 | py | Python | Week 1 - Not so-simple Hello World/Hello World.py | Jasleenk47/BeginnerRoom-2020 | 32903f6917a236fe685106c148b8531c62210f1f | [
"Unlicense"
] | 5 | 2021-01-19T00:31:22.000Z | 2021-03-05T02:31:10.000Z | Week 1 - Not so-simple Hello World/Hello World.py | Jasleenk47/BeginnerRoom-2020 | 32903f6917a236fe685106c148b8531c62210f1f | [
"Unlicense"
] | 34 | 2021-01-14T21:00:18.000Z | 2021-03-11T17:57:26.000Z | Week 1 - Not so-simple Hello World/Hello World.py | Jasleenk47/BeginnerRoom-2020 | 32903f6917a236fe685106c148b8531c62210f1f | [
"Unlicense"
] | 43 | 2021-01-14T20:40:47.000Z | 2021-03-11T02:29:30.000Z | x, z = "hello", " world"
print (x+z) | 8.6 | 25 | 0.44186 | 7 | 43 | 2.714286 | 0.714286 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.325581 | 43 | 5 | 26 | 8.6 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
bfa84f15ea7b2cd02ef2843940f7053c4840460c | 34 | py | Python | stog/__init__.py | sfillwo/stog | b02e2dbe8989078ccdc3df611d8b08b63d28fcae | [
"MIT"
] | 172 | 2019-11-19T05:52:36.000Z | 2022-03-26T04:58:24.000Z | stog/__init__.py | sfillwo/stog | b02e2dbe8989078ccdc3df611d8b08b63d28fcae | [
"MIT"
] | 22 | 2019-07-13T09:11:57.000Z | 2021-11-17T05:30:36.000Z | stog/__init__.py | sfillwo/stog | b02e2dbe8989078ccdc3df611d8b08b63d28fcae | [
"MIT"
] | 39 | 2019-06-26T11:37:51.000Z | 2022-03-07T13:30:26.000Z | from .utils import exception_hook
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bfaf8e686f8a410914d29d4310a959a1a9fecc96 | 197 | py | Python | pyperf/__init__.py | kevinconway/PyPerf | 5aaf9943bb6d979e2f42229ed629816bc3ca1fb4 | [
"Apache-2.0"
] | null | null | null | pyperf/__init__.py | kevinconway/PyPerf | 5aaf9943bb6d979e2f42229ed629816bc3ca1fb4 | [
"Apache-2.0"
] | 2 | 2015-07-12T19:55:25.000Z | 2016-01-30T14:32:11.000Z | pyperf/__init__.py | kevinconway/PyPerf | 5aaf9943bb6d979e2f42229ed629816bc3ca1fb4 | [
"Apache-2.0"
] | null | null | null | """A service for profiling Python snippets."""
from __future__ import division
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
| 28.142857 | 46 | 0.847716 | 25 | 197 | 5.92 | 0.6 | 0.27027 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116751 | 197 | 6 | 47 | 32.833333 | 0.850575 | 0.203046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
44b27f8657934a1fa977b1160949ed04c0306e76 | 43 | py | Python | utils/__init__.py | lixiaoyu0575/physionet_challenge2020_pytorch | 39b5aeeead440eaa88d6fdaf4a8a70c15373e062 | [
"MIT"
] | 1 | 2021-05-24T08:09:30.000Z | 2021-05-24T08:09:30.000Z | utils/__init__.py | lixiaoyu0575/physionet_challenge2020_pytorch | 39b5aeeead440eaa88d6fdaf4a8a70c15373e062 | [
"MIT"
] | null | null | null | utils/__init__.py | lixiaoyu0575/physionet_challenge2020_pytorch | 39b5aeeead440eaa88d6fdaf4a8a70c15373e062 | [
"MIT"
] | null | null | null | from .util import *
from .dataset import *
| 14.333333 | 22 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 23 | 21.5 | 0.885714 | 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 |
44d0f8f797a1eec94e619dc614aed6bdf2ebda29 | 137 | py | Python | asaplib/fit/__init__.py | BingqingCheng/ASAP | a92dd34eaa092dcbe46163e000ebd2ccee22f8ae | [
"MIT"
] | 74 | 2020-01-09T10:38:39.000Z | 2022-03-04T15:09:05.000Z | asaplib/fit/__init__.py | FelixWodaczek/ASAP | d34a064cd7e409ad8b5ae0dec4f1c0a621717773 | [
"MIT"
] | 31 | 2020-01-30T13:15:42.000Z | 2022-03-03T05:42:51.000Z | asaplib/fit/__init__.py | FelixWodaczek/ASAP | d34a064cd7e409ad8b5ae0dec4f1c0a621717773 | [
"MIT"
] | 14 | 2020-02-23T15:03:31.000Z | 2022-03-04T15:04:04.000Z | from .getscore import LC_SCOREBOARD
from .krr import *
from .ridgeregression import *
from .sparse_krr_wrapper import SPARSE_KRR_Wrapper
| 27.4 | 50 | 0.839416 | 19 | 137 | 5.789474 | 0.473684 | 0.181818 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116788 | 137 | 4 | 51 | 34.25 | 0.909091 | 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 |
7859febf602e8b40276d4da781e70cb450ad1e16 | 86 | py | Python | airshare/__init__.py | kamodulin/airshare | f10ba0c185c2b1cf02e5b43dabe2fc0eab341b80 | [
"MIT"
] | null | null | null | airshare/__init__.py | kamodulin/airshare | f10ba0c185c2b1cf02e5b43dabe2fc0eab341b80 | [
"MIT"
] | null | null | null | airshare/__init__.py | kamodulin/airshare | f10ba0c185c2b1cf02e5b43dabe2fc0eab341b80 | [
"MIT"
] | null | null | null | from airshare.airshare import Session
from airshare.networking import Node, Connection | 43 | 48 | 0.872093 | 11 | 86 | 6.818182 | 0.636364 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 2 | 48 | 43 | 0.961538 | 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 |
78a56202184cf02bf9f41c7cb132b9ce6fbf8d51 | 7,319 | py | Python | vt_inquirer.py | ben-jiles/VT-Inquirer | 6629be54bb863b7c92903f03468cb42aa6cc2047 | [
"MIT"
] | null | null | null | vt_inquirer.py | ben-jiles/VT-Inquirer | 6629be54bb863b7c92903f03468cb42aa6cc2047 | [
"MIT"
] | null | null | null | vt_inquirer.py | ben-jiles/VT-Inquirer | 6629be54bb863b7c92903f03468cb42aa6cc2047 | [
"MIT"
] | null | null | null | #import
import getpass
import sys
import json
import subprocess
import os
import requests
#welcome
print("Welcome, "+getpass.getuser()+"." + "\n")
#key management
userkey = raw_input("Please insert VirusTotal API token: ")
#main menu
def main():
#run main menu
print_menu()
def print_menu():
print(30 * "... | 39.777174 | 163 | 0.614701 | 924 | 7,319 | 4.590909 | 0.13961 | 0.050919 | 0.055163 | 0.067893 | 0.805988 | 0.791136 | 0.759547 | 0.724658 | 0.707685 | 0.692126 | 0 | 0.009212 | 0.258369 | 7,319 | 183 | 164 | 39.994536 | 0.772292 | 0.006695 | 0 | 0.553333 | 0 | 0 | 0.330764 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0.013333 | 0.04 | 0 | 0.073333 | 0.133333 | 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 |
78a900e8e6c934371206c6c28c4a16468872670f | 114 | py | Python | test_data/examples/class_def_in_multi_files/level_one/intermediate_defs.py | mosckital/python-mro-language-server | de5b7dd8d94ab2c94543c55a7c5e5691e664b4a4 | [
"MIT"
] | null | null | null | test_data/examples/class_def_in_multi_files/level_one/intermediate_defs.py | mosckital/python-mro-language-server | de5b7dd8d94ab2c94543c55a7c5e5691e664b4a4 | [
"MIT"
] | 7 | 2020-09-18T22:55:50.000Z | 2020-10-07T22:50:40.000Z | tests/examples/class_def_in_multi_files/level_one/intermediate_defs.py | mosckital/vscode_python_mro | 7a61a4a4dc1e4bc73fcdc9d5242a5fee500d6b1d | [
"MIT"
] | null | null | null | from ..base_def import O
class A(O): pass
class B(O): pass
class C(O): pass
class D(O): pass
class E(O): pass | 10.363636 | 24 | 0.649123 | 25 | 114 | 2.92 | 0.48 | 0.342466 | 0.547945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201754 | 114 | 11 | 25 | 10.363636 | 0.802198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.833333 | 0.166667 | 0 | 1 | 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 |
151f14706b46c3f022c8d98a38c641feecb6e6f9 | 350 | py | Python | Prediction methods/MPS/ranker_and_evaluator/Ranker.py | spxuw/PPI-Prediction-Project | e947b134eafd2e4fb43dba5e4bdfd4d582534ec9 | [
"MIT"
] | null | null | null | Prediction methods/MPS/ranker_and_evaluator/Ranker.py | spxuw/PPI-Prediction-Project | e947b134eafd2e4fb43dba5e4bdfd4d582534ec9 | [
"MIT"
] | null | null | null | Prediction methods/MPS/ranker_and_evaluator/Ranker.py | spxuw/PPI-Prediction-Project | e947b134eafd2e4fb43dba5e4bdfd4d582534ec9 | [
"MIT"
] | null | null | null | class Ranker():
def __init__(self, ranker_name, file_name_of_all_node_id_couples_to_rank_represented_as_vectors):
self.name = ranker_name
self.file_name_of_all_node_id_couples_to_rank_represented_as_vectors = file_name_of_all_node_id_couples_to_rank_represented_as_vectors
return
def ra... | 35 | 142 | 0.788571 | 54 | 350 | 4.388889 | 0.351852 | 0.101266 | 0.126582 | 0.164557 | 0.658228 | 0.658228 | 0.658228 | 0.658228 | 0.658228 | 0.658228 | 0 | 0 | 0.168571 | 350 | 9 | 143 | 38.888889 | 0.814433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
152905ce1a7f9a9e1644d0ddaeeab64f39875578 | 11,675 | py | Python | src/hyperparameter_optimization/tests/test_hyperopt.py | fleur101/predict-python | d40c876d919232bbb77904e050b182c875bc36fa | [
"MIT"
] | 12 | 2018-06-27T08:09:18.000Z | 2021-10-10T22:19:04.000Z | src/hyperparameter_optimization/tests/test_hyperopt.py | fleur101/predict-python | d40c876d919232bbb77904e050b182c875bc36fa | [
"MIT"
] | 17 | 2018-06-12T17:36:11.000Z | 2020-11-16T21:23:22.000Z | src/hyperparameter_optimization/tests/test_hyperopt.py | fleur101/predict-python | d40c876d919232bbb77904e050b182c875bc36fa | [
"MIT"
] | 16 | 2018-08-02T14:40:17.000Z | 2021-11-12T12:28:46.000Z | """
hyperopt tests
"""
from django.test import TestCase
from hyperopt import Trials, Ctrl, STATUS_OK
from pandas import DataFrame
from src.hyperparameter_optimization import hyperopt_wrapper
from src.hyperparameter_optimization.hyperopt_spaces import _get_space
from src.hyperparameter_optimization.hyperopt_wrapper im... | 47.267206 | 129 | 0.652677 | 1,211 | 11,675 | 5.996697 | 0.111478 | 0.059901 | 0.005784 | 0.00661 | 0.815616 | 0.762187 | 0.762187 | 0.757643 | 0.750757 | 0.738089 | 0 | 0.015228 | 0.257559 | 11,675 | 246 | 130 | 47.45935 | 0.822566 | 0.023983 | 0 | 0.623656 | 0 | 0 | 0.016362 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 1 | 0.112903 | false | 0 | 0.075269 | 0 | 0.236559 | 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 |
1588a21f72faf1474e5e22719c2d6f16788e2225 | 128 | py | Python | opencart_api/opencart_api/doctype/opencart_discount/opencart_discount.py | IP-CAM/erpnext-opencart-api | ecf5c400fa50229e7f0de83f175bb0f4c59ac925 | [
"MIT"
] | null | null | null | opencart_api/opencart_api/doctype/opencart_discount/opencart_discount.py | IP-CAM/erpnext-opencart-api | ecf5c400fa50229e7f0de83f175bb0f4c59ac925 | [
"MIT"
] | null | null | null | opencart_api/opencart_api/doctype/opencart_discount/opencart_discount.py | IP-CAM/erpnext-opencart-api | ecf5c400fa50229e7f0de83f175bb0f4c59ac925 | [
"MIT"
] | 1 | 2020-11-03T10:38:40.000Z | 2020-11-03T10:38:40.000Z | from __future__ import unicode_literals
from frappe.model.document import Document
class OpencartDiscount(Document):
pass
| 18.285714 | 42 | 0.828125 | 15 | 128 | 6.733333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132813 | 128 | 6 | 43 | 21.333333 | 0.90991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
01e05551b04b4df2994cebe4af65ad232be1234d | 1,923 | py | Python | tests/test_ops/test_diff_iou_rotated.py | imabackstabber/mmcv | b272c09b463f00fd7fdd455f7bd4a055f9995521 | [
"Apache-2.0"
] | null | null | null | tests/test_ops/test_diff_iou_rotated.py | imabackstabber/mmcv | b272c09b463f00fd7fdd455f7bd4a055f9995521 | [
"Apache-2.0"
] | null | null | null | tests/test_ops/test_diff_iou_rotated.py | imabackstabber/mmcv | b272c09b463f00fd7fdd455f7bd4a055f9995521 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) OpenMMLab. All rights reserved.
import numpy as np
import pytest
import torch
from mmcv.ops import diff_iou_rotated_2d, diff_iou_rotated_3d
@pytest.mark.skipif(
not torch.cuda.is_available(), reason='requires CUDA support')
def test_diff_iou_rotated_2d():
np_boxes1 = np.asarray([[[0.5, 0.5, 1... | 38.46 | 76 | 0.50442 | 330 | 1,923 | 2.812121 | 0.157576 | 0.071121 | 0.054957 | 0.034483 | 0.817888 | 0.769397 | 0.765086 | 0.764009 | 0.755388 | 0.738147 | 0 | 0.13757 | 0.25533 | 1,923 | 49 | 77 | 39.244898 | 0.510475 | 0.023401 | 0 | 0.410256 | 0 | 0 | 0.022388 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 1 | 0.051282 | false | 0 | 0.102564 | 0 | 0.153846 | 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 |
bf3cef0a0f1ff0f14432510888089af4aae10998 | 86 | py | Python | label_set_loss_functions/convertor/__init__.py | LucasFidon/label-set-loss-functions | dffa112b9789c83eaa6b05103b94e55e36738f7d | [
"BSD-3-Clause"
] | 3 | 2021-09-28T10:17:36.000Z | 2022-01-30T01:08:08.000Z | label_set_loss_functions/convertor/__init__.py | LucasFidon/label-set-loss-functions | dffa112b9789c83eaa6b05103b94e55e36738f7d | [
"BSD-3-Clause"
] | null | null | null | label_set_loss_functions/convertor/__init__.py | LucasFidon/label-set-loss-functions | dffa112b9789c83eaa6b05103b94e55e36738f7d | [
"BSD-3-Clause"
] | null | null | null | from .marginalization import marginalize, softmax_marginalize, log_softmax_marginalize | 86 | 86 | 0.906977 | 9 | 86 | 8.333333 | 0.666667 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 86 | 1 | 86 | 86 | 0.925926 | 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 |
17116928357fb982132c4334f99ad8a4accc73be | 3,310 | py | Python | tests/test_apply_actions.py | Enacero/yaml-patch | 7270d431447c82d665622cc316f0941214e7eee2 | [
"MIT"
] | 2 | 2020-04-21T08:49:39.000Z | 2020-12-21T07:28:43.000Z | tests/test_apply_actions.py | Enacero/json_modify | 7270d431447c82d665622cc316f0941214e7eee2 | [
"MIT"
] | null | null | null | tests/test_apply_actions.py | Enacero/json_modify | 7270d431447c82d665622cc316f0941214e7eee2 | [
"MIT"
] | null | null | null | import json
import os
import pytest
import yaml
from json_modify import apply_actions
def test_apply_actions(mocker):
mocker.patch("json_modify.validate_action")
mocker.patch("json_modify.get_section")
mocker.patch("json_modify.apply_action")
mocker.patch("json_modify.get_reader")
assert apply_a... | 32.772277 | 81 | 0.734441 | 460 | 3,310 | 4.947826 | 0.130435 | 0.13181 | 0.191125 | 0.267575 | 0.857645 | 0.787786 | 0.76362 | 0.757469 | 0.582601 | 0.582601 | 0 | 0.001418 | 0.147734 | 3,310 | 100 | 82 | 33.1 | 0.805388 | 0 | 0 | 0.5 | 0 | 0 | 0.267976 | 0.209668 | 0 | 0 | 0 | 0 | 0.148649 | 1 | 0.094595 | false | 0 | 0.067568 | 0 | 0.162162 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bdd39af0f5543e836f361ca5469c16d20e33739c | 28 | py | Python | interivew/bot/__init__.py | interview-ru/bot | e21efe4fc207b7ee0201beca4b141ab098a68846 | [
"MIT"
] | null | null | null | interivew/bot/__init__.py | interview-ru/bot | e21efe4fc207b7ee0201beca4b141ab098a68846 | [
"MIT"
] | 1 | 2021-06-02T02:15:59.000Z | 2021-06-02T02:15:59.000Z | interivew/bot/__init__.py | interview-ru/bot | e21efe4fc207b7ee0201beca4b141ab098a68846 | [
"MIT"
] | null | null | null | from interivew.bot import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 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 |
bde6a73b2ddefad00313dd373c8eead0196c4882 | 4,431 | py | Python | idl2py/wcs/gsss_stdast.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/wcs/gsss_stdast.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/wcs/gsss_stdast.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | """
By Dr Jie Zheng -Q, NAOC
v1 2019-04-27
"""
import numpy as np
from..util import *
def gsss_stdast():
pass
#pro GSSS_StdAst,h,xpts,ypts
#;+
#; NAME:
#; GSSS_STDAST
#;
#; PURPOSE:
#; Insert the closest tangent projection astrometry into an GSSS Image
#;
#; DESCRIPTION:
#; ... | 36.925 | 82 | 0.605958 | 595 | 4,431 | 4.480672 | 0.410084 | 0.037134 | 0.050638 | 0.034884 | 0.047262 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035917 | 0.283683 | 4,431 | 119 | 83 | 37.235294 | 0.804033 | 0.886933 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
da16abc8a5a630824511540ee39be52c3f6e4b9d | 133 | py | Python | face/__init__.py | shaxov/spy-eye | 1041d4b0561b4c079af15f074a29c76c2ff7a2b8 | [
"MIT"
] | null | null | null | face/__init__.py | shaxov/spy-eye | 1041d4b0561b4c079af15f074a29c76c2ff7a2b8 | [
"MIT"
] | null | null | null | face/__init__.py | shaxov/spy-eye | 1041d4b0561b4c079af15f074a29c76c2ff7a2b8 | [
"MIT"
] | null | null | null | from . import detectors, encoders
from . import trackers
from . import buffer
from . import validators
from . import recognizers
| 13.3 | 33 | 0.766917 | 16 | 133 | 6.375 | 0.5 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18797 | 133 | 9 | 34 | 14.777778 | 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 |
da20594b0713af66b6cf7894a88e2fe38e531a50 | 110 | py | Python | python/14_xml/2_xml2-findthemaximumdepth.py | jaimiles23/hacker_rank | 0580eac82e5d0989afabb5c2e66faf09713f891b | [
"Apache-2.0"
] | null | null | null | python/14_xml/2_xml2-findthemaximumdepth.py | jaimiles23/hacker_rank | 0580eac82e5d0989afabb5c2e66faf09713f891b | [
"Apache-2.0"
] | null | null | null | python/14_xml/2_xml2-findthemaximumdepth.py | jaimiles23/hacker_rank | 0580eac82e5d0989afabb5c2e66faf09713f891b | [
"Apache-2.0"
] | 3 | 2021-09-22T11:06:58.000Z | 2022-01-25T09:29:24.000Z | Solution to [XML2 - Find the Maximum Depth](https://www.hackerrank.com/challenges/xml2-find-the-maximum-depth) | 110 | 110 | 0.790909 | 17 | 110 | 5.117647 | 0.705882 | 0.183908 | 0.252874 | 0.413793 | 0.528736 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.063636 | 110 | 1 | 110 | 110 | 0.825243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
da3b5305f86d863e32d162d7670c8e150e0ed392 | 2,173 | py | Python | core/migrations/0011_auto_20200413_0023.py | AashishDhakal/Portfolio | 87a412dfe93285bc06ed6c90877287fdc6afb4b8 | [
"BSD-3-Clause"
] | null | null | null | core/migrations/0011_auto_20200413_0023.py | AashishDhakal/Portfolio | 87a412dfe93285bc06ed6c90877287fdc6afb4b8 | [
"BSD-3-Clause"
] | 5 | 2021-03-19T02:00:28.000Z | 2022-01-13T02:36:12.000Z | core/migrations/0011_auto_20200413_0023.py | AashishDhakal/Portfolio | 87a412dfe93285bc06ed6c90877287fdc6afb4b8 | [
"BSD-3-Clause"
] | 1 | 2020-09-20T09:48:41.000Z | 2020-09-20T09:48:41.000Z | # Generated by Django 3.0.5 on 2020-04-12 18:38
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0010_portfolio'),
]
operations = [
migrations.AddField(
model_name='portfolio',
name='date',
fie... | 31.492754 | 82 | 0.555913 | 207 | 2,173 | 5.719807 | 0.26087 | 0.083615 | 0.16723 | 0.204392 | 0.798986 | 0.784628 | 0.717061 | 0.712838 | 0.677365 | 0.677365 | 0 | 0.02171 | 0.321675 | 2,173 | 68 | 83 | 31.955882 | 0.781547 | 0.020709 | 0 | 0.677419 | 1 | 0 | 0.108184 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016129 | 0 | 0.064516 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
da7a7c9c508f2250f79eabb26db9a478c637cfd7 | 54 | py | Python | server/models/devices/oled.py | starpogi/neptune | fbc996e403b95c9d9651e05a009f29cceb7df836 | [
"BSD-2-Clause"
] | null | null | null | server/models/devices/oled.py | starpogi/neptune | fbc996e403b95c9d9651e05a009f29cceb7df836 | [
"BSD-2-Clause"
] | null | null | null | server/models/devices/oled.py | starpogi/neptune | fbc996e403b95c9d9651e05a009f29cceb7df836 | [
"BSD-2-Clause"
] | null | null | null | from . import Display
class OLED(Display):
pass
| 9 | 21 | 0.685185 | 7 | 54 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240741 | 54 | 5 | 22 | 10.8 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
da8c455d068b6cfa487abf263f9d1c82a0cc97c9 | 2,645 | py | Python | run.py | berkbilir/point-cloud-classification | 4188b317acc8efccb694831b26a3a8564dee5530 | [
"MIT"
] | null | null | null | run.py | berkbilir/point-cloud-classification | 4188b317acc8efccb694831b26a3a8564dee5530 | [
"MIT"
] | null | null | null | run.py | berkbilir/point-cloud-classification | 4188b317acc8efccb694831b26a3a8564dee5530 | [
"MIT"
] | null | null | null | from loader import ChallengeDataset
from torch.utils.data import DataLoader
from models import *
from trainer import trainer
import os
NUM_CLASSES=8
def task1():
rep_type='point' # 'voxel','point' or 'spectral'
path_model='model_objs/%s_model.pt'%rep_type
dataset_train=ChallengeDataset('dataset','train',... | 38.333333 | 102 | 0.730057 | 382 | 2,645 | 4.787958 | 0.151832 | 0.057408 | 0.042646 | 0.059049 | 0.857846 | 0.857846 | 0.857846 | 0.857846 | 0.857846 | 0.857846 | 0 | 0.016036 | 0.151229 | 2,645 | 68 | 103 | 38.897059 | 0.798664 | 0.11569 | 0 | 0.660377 | 0 | 0 | 0.128492 | 0.028363 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056604 | false | 0 | 0.09434 | 0 | 0.150943 | 0.113208 | 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 |
e5188358b8f04a40d7ef5ff6a37c8bca35f5f5d9 | 42 | py | Python | Battleship/__main__.py | siddarthreddygsr/BattleShip-BattleGround | 4fac6844b56705a27da6f12673b51f5ca6f3a575 | [
"MIT"
] | 1 | 2022-03-28T19:58:22.000Z | 2022-03-28T19:58:22.000Z | Battleship/__main__.py | siddarthreddygsr/BattleShip-BattleGround | 4fac6844b56705a27da6f12673b51f5ca6f3a575 | [
"MIT"
] | 3 | 2022-01-17T13:07:35.000Z | 2022-03-02T22:58:55.000Z | Battleship/__main__.py | siddarthreddygsr/BattleShip-BattleGround | 4fac6844b56705a27da6f12673b51f5ca6f3a575 | [
"MIT"
] | 28 | 2022-01-17T07:32:18.000Z | 2022-03-29T14:12:51.000Z | from Battleship.BattleGround import main
| 14 | 40 | 0.857143 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 2 | 41 | 21 | 0.972973 | 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 |
e51b7f44bb015b13e780160a915b41f66ea4321e | 5,766 | py | Python | ledger/core/tests/test_reusable_transactions.py | berrondo/ledger | 814c151845901f125521b6d0a19479b5e8798440 | [
"MIT"
] | null | null | null | ledger/core/tests/test_reusable_transactions.py | berrondo/ledger | 814c151845901f125521b6d0a19479b5e8798440 | [
"MIT"
] | null | null | null | ledger/core/tests/test_reusable_transactions.py | berrondo/ledger | 814c151845901f125521b6d0a19479b5e8798440 | [
"MIT"
] | 1 | 2021-02-11T00:08:48.000Z | 2021-02-11T00:08:48.000Z | from decimal import Decimal
from ledger.core.models import (
Transaction as T,
Ledger,
Schema,
)
from ..calculations import Percentual
from .utils import conta
def test_transacoes_pre_definidas():
# accounts:
cash_in = conta('cash_in')
cash_out = conta('cash_out')
conta_desconto = conta('... | 28.83 | 87 | 0.676899 | 628 | 5,766 | 6.035032 | 0.116242 | 0.085488 | 0.02533 | 0.01847 | 0.861741 | 0.830607 | 0.830607 | 0.830607 | 0.830607 | 0.808179 | 0 | 0.035196 | 0.211585 | 5,766 | 199 | 88 | 28.974874 | 0.798504 | 0.153659 | 0 | 0.679389 | 0 | 0 | 0.135642 | 0.029685 | 0 | 0 | 0 | 0 | 0.282443 | 1 | 0.030534 | false | 0 | 0.030534 | 0 | 0.061069 | 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 |
e539abd9be522a79b88620e00b3afcb92597d521 | 42 | py | Python | 2018/08/08_Ex_Sol/mazesolver/setup.py | lfrommelt/monty | e8cabf0e4ac01ab3d97eecee5e699139076d6544 | [
"MIT"
] | null | null | null | 2018/08/08_Ex_Sol/mazesolver/setup.py | lfrommelt/monty | e8cabf0e4ac01ab3d97eecee5e699139076d6544 | [
"MIT"
] | null | null | null | 2018/08/08_Ex_Sol/mazesolver/setup.py | lfrommelt/monty | e8cabf0e4ac01ab3d97eecee5e699139076d6544 | [
"MIT"
] | 1 | 2020-03-20T14:26:28.000Z | 2020-03-20T14:26:28.000Z | from mazesolver import __about__, __init__ | 42 | 42 | 0.880952 | 5 | 42 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.763158 | 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 |
e56283125f7588cf90e00a752b0c0e6e80931e3f | 9,732 | py | Python | categorical_encoding/tests/test_encoding.py | isabella232/categorical_encoding | 090e8d207aa14dd278e03209b4663cf9af0cad45 | [
"BSD-3-Clause"
] | 36 | 2019-08-14T22:01:24.000Z | 2021-04-09T00:56:37.000Z | categorical_encoding/tests/test_encoding.py | pplonski/categorical_encoding | a8ec786863cd69dabd03af440299075192fdc9b9 | [
"BSD-3-Clause"
] | 19 | 2019-08-22T19:10:10.000Z | 2021-03-03T23:12:01.000Z | categorical_encoding/tests/test_encoding.py | pplonski/categorical_encoding | a8ec786863cd69dabd03af440299075192fdc9b9 | [
"BSD-3-Clause"
] | 10 | 2019-09-23T19:34:42.000Z | 2021-02-03T11:16:32.000Z | import featuretools as ft
import numpy as np
import pandas as pd
from .testing_utils import create_feature_matrix
from categorical_encoding.encoders import Encoder
from categorical_encoding.encoders.encoder_methods import OneHotEncoder
from categorical_encoding.primitives import (
BinaryEnc,
HashingEnc,
L... | 42.12987 | 91 | 0.651048 | 1,306 | 9,732 | 4.648545 | 0.093415 | 0.100642 | 0.013342 | 0.012519 | 0.830506 | 0.823258 | 0.807281 | 0.798056 | 0.787185 | 0.721298 | 0 | 0.064549 | 0.200884 | 9,732 | 230 | 92 | 42.313043 | 0.716086 | 0.004829 | 0 | 0.624309 | 0 | 0 | 0.07477 | 0 | 0 | 0 | 0 | 0 | 0.154696 | 1 | 0.038674 | false | 0 | 0.038674 | 0 | 0.077348 | 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 |
e5e7eb727591ba381b59761c32f89ba6af237d30 | 165 | py | Python | confu/tools/__init__.py | ararslan/confu | 55da0b09f125187e617c6857a62c22a0bbdeb619 | [
"MIT"
] | 13 | 2017-02-05T07:03:39.000Z | 2021-08-09T11:21:48.000Z | confu/tools/__init__.py | ararslan/confu | 55da0b09f125187e617c6857a62c22a0bbdeb619 | [
"MIT"
] | 4 | 2017-10-30T09:41:05.000Z | 2020-09-26T22:56:55.000Z | confu/tools/__init__.py | ararslan/confu | 55da0b09f125187e617c6857a62c22a0bbdeb619 | [
"MIT"
] | 14 | 2017-02-28T14:06:34.000Z | 2020-11-16T18:16:29.000Z | from __future__ import absolute_import
from confu.tools.base import Tool
from confu.tools.collection import ToolCollection
from confu.tools.peachpy import PeachPy
| 23.571429 | 49 | 0.854545 | 23 | 165 | 5.913043 | 0.478261 | 0.198529 | 0.308824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 165 | 6 | 50 | 27.5 | 0.92517 | 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 |
f925d236caed56fc94a965411928bf312ffdccc1 | 21,726 | py | Python | tests/test_topicmod_evaluate.py | samir-joshi/tmtoolkit | 41f5cbddad539107016680d132ca1ee9ebe49b5c | [
"Apache-2.0"
] | 167 | 2017-11-11T11:49:32.000Z | 2022-03-15T11:45:11.000Z | tests/test_topicmod_evaluate.py | samir-joshi/tmtoolkit | 41f5cbddad539107016680d132ca1ee9ebe49b5c | [
"Apache-2.0"
] | 23 | 2017-11-27T22:44:09.000Z | 2022-02-23T03:31:30.000Z | tests/test_topicmod_evaluate.py | shalevy1/tmtoolkit | 42fdd388e606d6d1c45d80d2364dfa42b8408111 | [
"Apache-2.0"
] | 30 | 2018-03-27T13:00:41.000Z | 2022-03-28T12:15:33.000Z | import random
import numpy as np
import pytest
from hypothesis import given, strategies as st
try:
import gensim
import lda
from sklearn.decomposition import LatentDirichletAllocation
from tmtoolkit.topicmod import evaluate, tm_lda, tm_sklearn, tm_gensim
except ImportError:
pytest.skip('not all t... | 42.683694 | 123 | 0.655758 | 2,883 | 21,726 | 4.666667 | 0.091571 | 0.048313 | 0.044225 | 0.031069 | 0.79664 | 0.7762 | 0.746544 | 0.736361 | 0.714955 | 0.713319 | 0 | 0.041276 | 0.233913 | 21,726 | 508 | 124 | 42.767717 | 0.767063 | 0.04299 | 0 | 0.592405 | 0 | 0 | 0.071036 | 0.018169 | 0 | 0 | 0 | 0.001969 | 0.382278 | 1 | 0.027848 | false | 0.075949 | 0.027848 | 0 | 0.055696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f92b4057c8525402e7e04c1e84a3d055a4024aed | 31 | py | Python | gh_avatars/__init__.py | stevenhuyn/gh-avatars | d246db0996f885a9cb92293437bbce98bda66170 | [
"MIT"
] | 2 | 2022-01-30T20:05:51.000Z | 2022-02-18T11:40:39.000Z | gh_avatars/__init__.py | mdpanf/gh_avatars | d9f6e84c91be55296d3da2262caad6b8757de702 | [
"MIT"
] | 1 | 2022-01-30T20:21:51.000Z | 2022-01-30T20:21:51.000Z | gh_avatars/__init__.py | mdpanf/gh_avatars | d9f6e84c91be55296d3da2262caad6b8757de702 | [
"MIT"
] | 1 | 2022-01-30T19:26:50.000Z | 2022-01-30T19:26:50.000Z | from .generator import Avatar
| 15.5 | 30 | 0.806452 | 4 | 31 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 0.961538 | 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 |
0088efc9e2540310f09a987f042cb1ded50eaf45 | 952 | py | Python | src/apps/kms/backend/dtos/crypto_key/CreateCryptoKeyCommandDto.py | parada3desu/foxy-key-broker | fc95de9e9bfd61c506a9a18aa64c5c9cbeac8a9c | [
"Apache-2.0"
] | null | null | null | src/apps/kms/backend/dtos/crypto_key/CreateCryptoKeyCommandDto.py | parada3desu/foxy-key-broker | fc95de9e9bfd61c506a9a18aa64c5c9cbeac8a9c | [
"Apache-2.0"
] | null | null | null | src/apps/kms/backend/dtos/crypto_key/CreateCryptoKeyCommandDto.py | parada3desu/foxy-key-broker | fc95de9e9bfd61c506a9a18aa64c5c9cbeac8a9c | [
"Apache-2.0"
] | null | null | null | from typing import Any
from pydantic import BaseModel, Field
class CreateCryptoKeyCommandDto(BaseModel):
id: str = Field(example='c5285ee9-1599-46c4-bb9e-1876ef64c72b')
client_id: str = Field(example='c2285aa9-1599-36c3-bb9e-1876ef64372b', alias='client-id')
type: str = Field(example='rsa')
payload: ... | 73.230769 | 562 | 0.858193 | 65 | 952 | 12.553846 | 0.646154 | 0.073529 | 0.073529 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 0.067227 | 952 | 12 | 563 | 79.333333 | 0.774775 | 0 | 0 | 0 | 0 | 0.111111 | 0.67542 | 0.646008 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.222222 | 0 | 0.888889 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
00a8e242ada294f1c6d6657cf38788fc15f2a64c | 44 | py | Python | sa2django/__init__.py | mariushelf/sa2django | 936b0a70b0ccc8faf3ca26ff241b0b6dac13f204 | [
"MIT"
] | null | null | null | sa2django/__init__.py | mariushelf/sa2django | 936b0a70b0ccc8faf3ca26ff241b0b6dac13f204 | [
"MIT"
] | null | null | null | sa2django/__init__.py | mariushelf/sa2django | 936b0a70b0ccc8faf3ca26ff241b0b6dac13f204 | [
"MIT"
] | null | null | null | from .core import SA2DModel, register_table
| 22 | 43 | 0.840909 | 6 | 44 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.113636 | 44 | 1 | 44 | 44 | 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 |
979f37ef0c19d9981e9dd40504281b0f2c36c317 | 109 | py | Python | DCNN-Pytorch/deepracing_models/data_loading/file_datasets/__init__.py | linklab-uva/deepracing | fc25c47658277df029e7399d295d97a75fe85216 | [
"Apache-2.0"
] | 11 | 2020-06-29T15:21:37.000Z | 2021-04-12T00:42:26.000Z | DCNN-Pytorch/deepracing_models/data_loading/file_datasets/__init__.py | linklab-uva/deepracing | fc25c47658277df029e7399d295d97a75fe85216 | [
"Apache-2.0"
] | null | null | null | DCNN-Pytorch/deepracing_models/data_loading/file_datasets/__init__.py | linklab-uva/deepracing | fc25c47658277df029e7399d295d97a75fe85216 | [
"Apache-2.0"
] | 4 | 2019-01-23T23:36:57.000Z | 2021-07-02T00:18:37.000Z | from .LocalRacelineDataset import LocalRacelineDataset
from .FutureEgoPoseDataset import FutureEgoPoseDataset | 54.5 | 54 | 0.917431 | 8 | 109 | 12.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06422 | 109 | 2 | 55 | 54.5 | 0.980392 | 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 |
97b0d4fd4fe17c2d2e4ec0209a5ce0bbf53e936d | 92 | py | Python | test/test_sheet.py | TryExceptElse/pysheetdata | 87fd6063c7e24b18ae8306c4095091388c59fe98 | [
"MIT"
] | null | null | null | test/test_sheet.py | TryExceptElse/pysheetdata | 87fd6063c7e24b18ae8306c4095091388c59fe98 | [
"MIT"
] | null | null | null | test/test_sheet.py | TryExceptElse/pysheetdata | 87fd6063c7e24b18ae8306c4095091388c59fe98 | [
"MIT"
] | null | null | null | from unittest import TestCase
from main import Sheet
class TestSheet(TestCase):
pass
| 11.5 | 29 | 0.771739 | 12 | 92 | 5.916667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 92 | 7 | 30 | 13.142857 | 0.959459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
97b3bc8a618f2e6668dbd26a2e426167372cd696 | 44 | py | Python | src/utils/__init__.py | mert-kurttutan/hack_assembler_python | c2f7d2decb8578ba0f978065bf42825190bab88b | [
"MIT"
] | null | null | null | src/utils/__init__.py | mert-kurttutan/hack_assembler_python | c2f7d2decb8578ba0f978065bf42825190bab88b | [
"MIT"
] | null | null | null | src/utils/__init__.py | mert-kurttutan/hack_assembler_python | c2f7d2decb8578ba0f978065bf42825190bab88b | [
"MIT"
] | null | null | null | from .utils import to_command, binary_format | 44 | 44 | 0.863636 | 7 | 44 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8afb7e21f3aef9606cd2806393c7bef8b9e116bc | 20,552 | py | Python | tests/quara/protocol/qtomography/standard/test_standard_povmt.py | tknrsgym/quara | 8f3337af83cdd02bb85632bb1e297902b1fff8fb | [
"Apache-2.0"
] | 3 | 2021-05-19T11:44:30.000Z | 2022-03-30T07:13:49.000Z | tests/quara/protocol/qtomography/standard/test_standard_povmt.py | tknrsgym/quara | 8f3337af83cdd02bb85632bb1e297902b1fff8fb | [
"Apache-2.0"
] | 2 | 2021-06-02T01:24:59.000Z | 2021-06-02T12:20:31.000Z | tests/quara/protocol/qtomography/standard/test_standard_povmt.py | tknrsgym/quara | 8f3337af83cdd02bb85632bb1e297902b1fff8fb | [
"Apache-2.0"
] | 1 | 2021-10-14T13:21:27.000Z | 2021-10-14T13:21:27.000Z | import numpy as np
import numpy.testing as npt
import pytest
from quara.objects.composite_system import CompositeSystem
from quara.objects.elemental_system import ElementalSystem
from quara.objects.matrix_basis import get_normalized_pauli_basis
from quara.objects.state import (
get_x0_1q,
get_y0_1q,
get_z0... | 34.139535 | 87 | 0.549922 | 2,893 | 20,552 | 3.619426 | 0.059454 | 0.046223 | 0.048133 | 0.054627 | 0.855792 | 0.828765 | 0.819597 | 0.773279 | 0.761341 | 0.753414 | 0 | 0.082375 | 0.318947 | 20,552 | 601 | 88 | 34.196339 | 0.665714 | 0.061551 | 0 | 0.584184 | 0 | 0 | 0.004178 | 0 | 0 | 0 | 0 | 0 | 0.114796 | 1 | 0.040816 | false | 0 | 0.02551 | 0 | 0.071429 | 0.005102 | 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 |
c119e3954f263f0cf41595fb50e4b5e000c7c98e | 8,997 | py | Python | reports/tests/refunds_tests.py | ProzorroUKR/reports | 765a08dd95a8f2c461cba9306f1e1677620b4519 | [
"Apache-2.0"
] | null | null | null | reports/tests/refunds_tests.py | ProzorroUKR/reports | 765a08dd95a8f2c461cba9306f1e1677620b4519 | [
"Apache-2.0"
] | null | null | null | reports/tests/refunds_tests.py | ProzorroUKR/reports | 765a08dd95a8f2c461cba9306f1e1677620b4519 | [
"Apache-2.0"
] | null | null | null | import unittest
from reports.tests.base import BaseRefundsUtilityTest
from copy import copy
from reports.utilities.refunds import NEW_ALG_DATE, CHANGE_2019_DATE
from reports.helpers import prepare_result_file_name
import csv
test_award_period = '2016-04-17T13:32:25.774673+02:00'
class ReportRefundsUtilityTestCase(Ba... | 36.425101 | 115 | 0.42981 | 1,029 | 8,997 | 3.689018 | 0.12828 | 0.073762 | 0.096417 | 0.111697 | 0.834299 | 0.81059 | 0.807429 | 0.807429 | 0.807429 | 0.7853 | 0 | 0.114504 | 0.373902 | 8,997 | 246 | 116 | 36.573171 | 0.559382 | 0 | 0 | 0.672811 | 0 | 0 | 0.157052 | 0.020785 | 0 | 0 | 0 | 0 | 0.0553 | 1 | 0.023041 | false | 0 | 0.02765 | 0.004608 | 0.064516 | 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 |
c12427f980a6e6e48e8a612a2f19dcb4977a9321 | 6,163 | py | Python | tests/test_derivatives.py | eugenewickett/supply-chain-aberration-inference | d220a5032380364cbd994856898603f8ba2a2d6a | [
"MIT"
] | 2 | 2021-06-01T16:09:30.000Z | 2021-07-19T21:38:23.000Z | tests/test_derivatives.py | eugenewickett/supply-chain-aberration-inference | d220a5032380364cbd994856898603f8ba2a2d6a | [
"MIT"
] | 1 | 2021-07-23T15:26:21.000Z | 2021-07-23T15:26:21.000Z | tests/test_derivatives.py | eugenewickett/supply-chain-aberration-inference | d220a5032380364cbd994856898603f8ba2a2d6a | [
"MIT"
] | null | null | null | import unittest
import logistigate.methods as methods
import logistigate.utilities as util
import numpy as np
class UntrackedTestCase(unittest.TestCase): # Class for testing Untracked functions
def setUp(self):
# Generate a toy system via fixed random seed
self.SCdict = util.generateRandDataDict(n... | 55.522523 | 115 | 0.569528 | 723 | 6,163 | 4.807746 | 0.157676 | 0.189873 | 0.037975 | 0.051784 | 0.897008 | 0.864212 | 0.864212 | 0.864212 | 0.864212 | 0.864212 | 0 | 0.027078 | 0.304884 | 6,163 | 110 | 116 | 56.027273 | 0.784314 | 0.163719 | 0 | 0.682927 | 0 | 0 | 0.097837 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 1 | 0.073171 | false | 0 | 0.097561 | 0 | 0.195122 | 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 |
c15c704d01d3ef8e8c65c861d053368483c9473e | 2,234 | py | Python | src/Themes.py | rjesquivias/Scrap-Magic | 5429bb40333bcfe937c0ea667d66c469cf414f1c | [
"MIT"
] | 1 | 2019-05-31T21:53:55.000Z | 2019-05-31T21:53:55.000Z | src/Themes.py | rjesquivias/Scrap-Magic | 5429bb40333bcfe937c0ea667d66c469cf414f1c | [
"MIT"
] | 3 | 2019-05-26T22:40:50.000Z | 2019-05-26T22:45:18.000Z | src/Themes.py | rjesquivias/Scrap-Magic | 5429bb40333bcfe937c0ea667d66c469cf414f1c | [
"MIT"
] | null | null | null | import abc
from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *
abstractstaticmethod = abc.abstractmethod
class Theme(object, metaclass=abc.ABCMeta):
@abstractstaticmethod
def toolbar_color_style(self):
pass
@abstractstaticmethod
def toolbar_color(self):
p... | 21.480769 | 54 | 0.638765 | 245 | 2,234 | 5.677551 | 0.17551 | 0.172538 | 0.09202 | 0.156003 | 0.818835 | 0.750539 | 0.300503 | 0.300503 | 0.238677 | 0 | 0 | 0.074863 | 0.264548 | 2,234 | 104 | 55 | 21.480769 | 0.771759 | 0 | 0 | 0.6 | 0 | 0 | 0.107383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.1 | 0.05 | 0.2 | 0.5875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
c1db7f8308f5f47e3559c9de5745ef2725eaff14 | 3,348 | py | Python | test/unit/test_bloxroute_cli.py | doubleukay/bxgateway | ac01fc9475c039cf4255576dd4ecd6bff6c48f69 | [
"MIT"
] | 21 | 2019-11-06T17:37:41.000Z | 2022-03-28T07:18:33.000Z | test/unit/test_bloxroute_cli.py | doubleukay/bxgateway | ac01fc9475c039cf4255576dd4ecd6bff6c48f69 | [
"MIT"
] | 4 | 2019-11-06T22:08:00.000Z | 2021-12-08T06:20:51.000Z | test/unit/test_bloxroute_cli.py | doubleukay/bxgateway | ac01fc9475c039cf4255576dd4ecd6bff6c48f69 | [
"MIT"
] | 10 | 2020-08-05T15:58:16.000Z | 2022-02-07T23:51:10.000Z | import sys
from argparse import ArgumentParser
from bxcommon.test_utils.helpers import async_test
from bxcommon.test_utils.abstract_test_case import AbstractTestCase
from bloxroute_cli import main
class BloxrouteCliTest(AbstractTestCase):
@async_test
async def test_cloud_api_good_invocation(self):
... | 35.242105 | 67 | 0.605436 | 354 | 3,348 | 5.454802 | 0.220339 | 0.093216 | 0.093216 | 0.095805 | 0.817193 | 0.802693 | 0.72812 | 0.72812 | 0.72812 | 0.72812 | 0 | 0.009627 | 0.28644 | 3,348 | 94 | 68 | 35.617021 | 0.798661 | 0 | 0 | 0.693333 | 0 | 0 | 0.140084 | 0.02509 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0 | false | 0.013333 | 0.066667 | 0 | 0.08 | 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 |
c1dde65d37e020cbc64e2ff084fb319825460b9f | 154 | py | Python | gerapy/__init__.py | hantmac/Gerapy | 41b1221dba2b89b89ca98f6bfbcc045cafdac469 | [
"MIT"
] | 1 | 2018-12-07T02:05:32.000Z | 2018-12-07T02:05:32.000Z | gerapy/__init__.py | hantmac/Gerapy | 41b1221dba2b89b89ca98f6bfbcc045cafdac469 | [
"MIT"
] | 1 | 2019-01-13T03:48:27.000Z | 2019-01-13T03:48:27.000Z | gerapy/__init__.py | hantmac/Gerapy | 41b1221dba2b89b89ca98f6bfbcc045cafdac469 | [
"MIT"
] | null | null | null | from os.path import abspath, dirname
version_file = dirname(abspath(__file__)) + '/VERSION'
def version():
return open(version_file).read().strip()
| 22 | 54 | 0.727273 | 20 | 154 | 5.3 | 0.65 | 0.207547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 154 | 6 | 55 | 25.666667 | 0.791045 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c1ffcec9740506604debd580283047f9bbdc37cf | 4,952 | py | Python | integration/dagster/tests/test_adapter_pipeline.py | denimalpaca/OpenLineage | 0448d019b0559b22e96d52a8d5eecb16a9517767 | [
"Apache-2.0"
] | 1 | 2021-12-03T17:00:00.000Z | 2021-12-03T17:00:00.000Z | integration/dagster/tests/test_adapter_pipeline.py | wjohnson/OpenLineage | 3d9a2cd24de82270301169179d4630686b0e6f5d | [
"Apache-2.0"
] | null | null | null | integration/dagster/tests/test_adapter_pipeline.py | wjohnson/OpenLineage | 3d9a2cd24de82270301169179d4630686b0e6f5d | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under th... | 31.541401 | 74 | 0.652666 | 574 | 4,952 | 5.313589 | 0.200348 | 0.02623 | 0.041967 | 0.062951 | 0.76459 | 0.76459 | 0.76459 | 0.76459 | 0.76459 | 0.76459 | 0 | 0.041598 | 0.262116 | 4,952 | 156 | 75 | 31.74359 | 0.793103 | 0.10521 | 0 | 0.780488 | 0 | 0 | 0.117674 | 0.108622 | 0 | 0 | 0 | 0 | 0.065041 | 1 | 0.03252 | false | 0 | 0.056911 | 0 | 0.089431 | 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 |
e70f62b76573e564f2d5b8434acea2e18bc3701a | 223 | py | Python | conftest.py | arichtman/pyadr | 92a1a3495c92f50aca8966a5187fc96bff7ad3d1 | [
"MIT"
] | 5 | 2020-07-08T08:19:18.000Z | 2022-02-26T23:29:12.000Z | conftest.py | arichtman/pyadr | 92a1a3495c92f50aca8966a5187fc96bff7ad3d1 | [
"MIT"
] | 50 | 2020-04-05T22:40:41.000Z | 2022-02-26T23:53:12.000Z | {{cookiecutter.project_slug}}/conftest.py | opinionated-digital-center/cookiecutter-pypackage | f5f74b1976835ecd8a7b0c46cb2198c95c88526f | [
"MIT"
] | 1 | 2022-02-26T23:46:38.000Z | 2022-02-26T23:46:38.000Z | # Emtpy conftest.py to make sure pytest finds the project's module
# See https://stackoverflow.com/a/49033954/4374048 for quick explanation
# and https://stackoverflow.com/a/34520971/4374048 for a more detailed explanation
| 55.75 | 82 | 0.802691 | 34 | 223 | 5.264706 | 0.764706 | 0.201117 | 0.234637 | 0.24581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 0.112108 | 223 | 3 | 83 | 74.333333 | 0.752525 | 0.96861 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e7a3d8c4831495a26b84107e020f245aa3f5192d | 119 | py | Python | app/processor.py | DigitalAcademyGroupOfSeven/ResumeParsingService | f8739782d80195e0442c2f6f84bc965ec1ca18cc | [
"MIT"
] | null | null | null | app/processor.py | DigitalAcademyGroupOfSeven/ResumeParsingService | f8739782d80195e0442c2f6f84bc965ec1ca18cc | [
"MIT"
] | null | null | null | app/processor.py | DigitalAcademyGroupOfSeven/ResumeParsingService | f8739782d80195e0442c2f6f84bc965ec1ca18cc | [
"MIT"
] | 1 | 2021-01-31T12:29:32.000Z | 2021-01-31T12:29:32.000Z | from pyresparser import ResumeParser
def process(filePath):
return ResumeParser(filePath).get_extracted_data() | 29.75 | 58 | 0.798319 | 13 | 119 | 7.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134454 | 119 | 4 | 58 | 29.75 | 0.902913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e7bcd9e8cda724ba4eb94eecf7ef014767547242 | 43 | py | Python | plugins/admin_messenger/__init__.py | StarryPy/StarryPy-Historic | b9dbd552b8c4631a5a8e9dda98b7ba447eca59da | [
"WTFPL"
] | 38 | 2015-02-12T11:57:59.000Z | 2018-11-15T16:03:45.000Z | plugins/admin_messenger/__init__.py | StarryPy/StarryPy-Historic | b9dbd552b8c4631a5a8e9dda98b7ba447eca59da | [
"WTFPL"
] | 68 | 2015-02-05T23:29:47.000Z | 2017-12-27T08:26:25.000Z | plugins/admin_messenger/__init__.py | StarryPy/StarryPy-Historic | b9dbd552b8c4631a5a8e9dda98b7ba447eca59da | [
"WTFPL"
] | 21 | 2015-02-06T18:58:21.000Z | 2017-12-24T20:08:59.000Z | from admin_messenger import AdminMessenger
| 21.5 | 42 | 0.906977 | 5 | 43 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 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 |
99eebe9698cf32be489fd251882fdba547c4e16c | 950 | py | Python | ldmtools/__init__.py | Cytomine-ULiege/LandmarkTools | dcdc327507ed4889d61ae2da74ede2cfccd00590 | [
"Apache-2.0"
] | 3 | 2019-03-02T19:38:45.000Z | 2021-08-20T09:35:43.000Z | ldmtools/__init__.py | Cytomine-ULiege/LandmarkTools | dcdc327507ed4889d61ae2da74ede2cfccd00590 | [
"Apache-2.0"
] | null | null | null | ldmtools/__init__.py | Cytomine-ULiege/LandmarkTools | dcdc327507ed4889d61ae2da74ede2cfccd00590 | [
"Apache-2.0"
] | null | null | null | from .ldmtools import getcoords, getcoordsim, getallcoords, rgb2gray, readimage, searchpoint, makesize, build_integral_slice, generate_2_horizontal, generate_2_vertical, generate_2d_coordinates_horizontal, generate_2d_coordinates_vertical, generate_3_horizontal, generate_3_vertical, generate_3d_coordinates_horizontal, ... | 475 | 949 | 0.907368 | 120 | 950 | 6.558333 | 0.416667 | 0.091487 | 0.064803 | 0.05845 | 0.071156 | 0.071156 | 0 | 0 | 0 | 0 | 0 | 0.011062 | 0.048421 | 950 | 1 | 950 | 950 | 0.859513 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
820b7f6f0d2afcb610d585f0756286440fe67aaf | 97 | py | Python | PyFLOTRAN/preprocessing/__init__.py | aitirga/PyFLOTRAN | f601052a0686e89434ae91a917f218afa6c31528 | [
"MIT"
] | 2 | 2021-05-14T18:41:49.000Z | 2021-10-05T15:06:31.000Z | PyFLOTRAN/preprocessing/__init__.py | aitirga/PyFLOTRAN | f601052a0686e89434ae91a917f218afa6c31528 | [
"MIT"
] | 6 | 2020-04-30T10:19:39.000Z | 2022-03-21T18:16:14.000Z | PyFLOTRAN/preprocessing/__init__.py | aitirga/PyFLOTRAN | f601052a0686e89434ae91a917f218afa6c31528 | [
"MIT"
] | 1 | 2020-03-24T10:37:23.000Z | 2020-03-24T10:37:23.000Z | from .BasePreprocessing import BasePreprocessing
from .STLFromPointCloud import STLFromPointCloud | 48.5 | 48 | 0.907216 | 8 | 97 | 11 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072165 | 97 | 2 | 49 | 48.5 | 0.977778 | 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 |
8211a6bcc44dae1f4d908d3761851934ebd08ae1 | 6,167 | py | Python | tools/report-converter/tests/unit/analyzers/test_infer_parser.py | vabridgers/codechecker-1 | 08ae7e9d21a94385756b192fc13df86b9d1f79e3 | [
"Apache-2.0"
] | null | null | null | tools/report-converter/tests/unit/analyzers/test_infer_parser.py | vabridgers/codechecker-1 | 08ae7e9d21a94385756b192fc13df86b9d1f79e3 | [
"Apache-2.0"
] | null | null | null | tools/report-converter/tests/unit/analyzers/test_infer_parser.py | vabridgers/codechecker-1 | 08ae7e9d21a94385756b192fc13df86b9d1f79e3 | [
"Apache-2.0"
] | null | null | null | # -------------------------------------------------------------------------
#
# Part of the CodeChecker project, under the Apache License v2.0 with
# LLVM Exceptions. See LICENSE for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
# ---------------------------------------------------... | 36.491124 | 79 | 0.578401 | 699 | 6,167 | 4.90701 | 0.167382 | 0.034985 | 0.052478 | 0.04898 | 0.751895 | 0.751895 | 0.751895 | 0.751895 | 0.725073 | 0.697085 | 0 | 0.001809 | 0.282958 | 6,167 | 168 | 80 | 36.708333 | 0.773858 | 0.1521 | 0 | 0.70297 | 0 | 0 | 0.161334 | 0.071747 | 0 | 0 | 0 | 0 | 0.118812 | 1 | 0.079208 | false | 0 | 0.069307 | 0 | 0.158416 | 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 |
822d460573af275e115352831de84ab9d52f46a8 | 1,389 | py | Python | test/test_modify_group.py | ivangrebeniuk/python_training | bcf459539556d7d7152f7891e0d65bb744b4b475 | [
"Apache-2.0"
] | null | null | null | test/test_modify_group.py | ivangrebeniuk/python_training | bcf459539556d7d7152f7891e0d65bb744b4b475 | [
"Apache-2.0"
] | null | null | null | test/test_modify_group.py | ivangrebeniuk/python_training | bcf459539556d7d7152f7891e0d65bb744b4b475 | [
"Apache-2.0"
] | null | null | null | from model.group import Group
from random import randrange
def test_modify_group_name(app):
if app.group.count() == 0:
app.group.create(Group(name="Group added in MODIFY test", header="Some test header", footer="Some test footer"))
old_groups = app.group.get_group_list()
index = randrange(len(old_... | 37.540541 | 120 | 0.718503 | 210 | 1,389 | 4.538095 | 0.142857 | 0.125918 | 0.132214 | 0.10703 | 0.837356 | 0.837356 | 0.837356 | 0.837356 | 0.837356 | 0.837356 | 0 | 0.002558 | 0.155508 | 1,389 | 36 | 121 | 38.583333 | 0.809889 | 0 | 0 | 0.692308 | 0 | 0 | 0.169675 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 1 | 0.115385 | false | 0 | 0.076923 | 0 | 0.192308 | 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 |
414dbf2dbb51222e598e1b1ff575ff54d2277484 | 1,202 | py | Python | cadastre_cursor.py | tufftuff93/QgisCadastrePlugin | d331157341567be0de9ed8d01efdf70b9a8addc9 | [
"PostgreSQL"
] | 46 | 2015-01-13T10:23:31.000Z | 2022-02-23T09:15:36.000Z | cadastre_cursor.py | fred-V13/QgisCadastrePlugin | d331157341567be0de9ed8d01efdf70b9a8addc9 | [
"PostgreSQL"
] | 266 | 2015-01-02T09:50:48.000Z | 2022-03-29T08:07:53.000Z | cadastre/cadastre_cursor.py | rldhont/QgisCadastrePlugin | 8ea2f60339c90d396cdabada6e4db2126dfd1c18 | [
"PostgreSQL"
] | 38 | 2015-04-22T13:44:33.000Z | 2021-11-08T09:39:48.000Z | Cursor = ["27 27 3 1",
"# c None",
"a c #000000",
". c #ffffff",
"###########################",
"###########################",
"###########################",
"###########################",
"###########################",
".########... | 37.5625 | 40 | 0.099002 | 47 | 1,202 | 2.531915 | 0.297872 | 0.302521 | 0.302521 | 0.268908 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013953 | 0.284526 | 1,202 | 31 | 41 | 38.774194 | 0.124419 | 0 | 0 | 0.290323 | 0 | 0 | 0.638935 | 0.606489 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4163b0fc56ec117be96090dd0fd6545b36135fcd | 6,492 | py | Python | core/symbol.py | Qidian213/mxnet_mtcnn_head_detect | fd794051e3e05b40ea66fed3b162753f63d60a8e | [
"MIT"
] | 18 | 2018-07-24T07:36:53.000Z | 2021-12-21T12:30:00.000Z | core/symbol.py | Qidian213/mxnet_mtcnn_head_detect | fd794051e3e05b40ea66fed3b162753f63d60a8e | [
"MIT"
] | 4 | 2019-05-09T01:07:17.000Z | 2021-09-10T08:32:52.000Z | core/symbol.py | Qidian213/mxnet_mtcnn_head_detect | fd794051e3e05b40ea66fed3b162753f63d60a8e | [
"MIT"
] | 14 | 2018-06-05T15:10:13.000Z | 2021-08-13T07:17:17.000Z | import mxnet as mx
import negativemining
from config import config
def P_Net(mode='train'):
"""
Proposal Network
input shape 3 x 12 x 12
"""
data = mx.symbol.Variable(name="data")
bbox_target = mx.symbol.Variable(name="bbox_target")
label = mx.symbol.Variable(name="label")
conv1 = mx.s... | 49.938462 | 130 | 0.646796 | 902 | 6,492 | 4.509978 | 0.107539 | 0.123894 | 0.056047 | 0.067847 | 0.889626 | 0.841691 | 0.8235 | 0.782448 | 0.782448 | 0.726893 | 0 | 0.044534 | 0.201017 | 6,492 | 129 | 131 | 50.325581 | 0.739734 | 0.018176 | 0 | 0.527473 | 0 | 0 | 0.086922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032967 | false | 0 | 0.032967 | 0 | 0.098901 | 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 |
41b66295a5b9bd1331485f9673e315beb2d12668 | 348 | py | Python | EXIFnaming/models/__init__.py | mvolkert/EXIFnaming | 2cd7aa03cec8e05e046ccc84c523d560ccc3b8c0 | [
"MIT"
] | null | null | null | EXIFnaming/models/__init__.py | mvolkert/EXIFnaming | 2cd7aa03cec8e05e046ccc84c523d560ccc3b8c0 | [
"MIT"
] | null | null | null | EXIFnaming/models/__init__.py | mvolkert/EXIFnaming | 2cd7aa03cec8e05e046ccc84c523d560ccc3b8c0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from EXIFnaming.models.DMC_TZ101 import DMC_TZ101
from EXIFnaming.models.DMC_TZ7 import DMC_TZ7
from EXIFnaming.models.ModelBase import ModelBase
from EXIFnaming.models.NormalFile import NormalFile
from EXIFnaming.models.PhotoFile import PhotoFile
__all__ = ["DMC_TZ101", "DMC_TZ7", "ModelBase",... | 34.8 | 74 | 0.818966 | 46 | 348 | 5.978261 | 0.326087 | 0.254545 | 0.363636 | 0.167273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041009 | 0.08908 | 348 | 9 | 75 | 38.666667 | 0.826498 | 0.060345 | 0 | 0 | 0 | 0 | 0.134969 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
68c37e3ddc9773762e16d91dcae58ba5f81bd061 | 39,812 | py | Python | cottonformation/res/pinpointemail.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/pinpointemail.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/pinpointemail.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 PropConfigurationSetEventDestinationDimensionConfiguration(Property):
"""... | 66.023217 | 284 | 0.794434 | 3,675 | 39,812 | 8.519456 | 0.033742 | 0.027596 | 0.037944 | 0.058641 | 0.851736 | 0.850778 | 0.822128 | 0.760931 | 0.760931 | 0.760133 | 0 | 0.00036 | 0.093213 | 39,812 | 602 | 285 | 66.13289 | 0.866901 | 0.363182 | 0 | 0.370861 | 0 | 0 | 0.137266 | 0.109961 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019868 | false | 0 | 0.013245 | 0 | 0.311258 | 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 |
68dae102a9efdfe6a924782c3fd7d7c88512aab1 | 82 | py | Python | pys60/bbdata/__init__.py | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | pys60/bbdata/__init__.py | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | pys60/bbdata/__init__.py | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | from bbdata.factory import *
from bbdata.base import *
from bbdata.types import *
| 20.5 | 28 | 0.780488 | 12 | 82 | 5.333333 | 0.5 | 0.46875 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 82 | 3 | 29 | 27.333333 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ec2384027deca75325be03fd019d39d78747d646 | 304 | py | Python | ufdl-core-app/src/ufdl/core_app/serialisers/jobs/__init__.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | null | null | null | ufdl-core-app/src/ufdl/core_app/serialisers/jobs/__init__.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | 85 | 2020-07-24T00:04:28.000Z | 2022-02-10T10:35:15.000Z | ufdl-core-app/src/ufdl/core_app/serialisers/jobs/__init__.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | null | null | null | from ._InputSerialiser import InputSerialiser
from ._JobOutputSerialiser import JobOutputSerialiser
from ._JobSerialiser import JobSerialiser
from ._JobTemplateSerialiser import JobTemplateSerialiser
from ._JobTypeSerialiser import JobTypeSerialiser
from ._ParameterSerialiser import ParameterSerialiser
| 43.428571 | 57 | 0.901316 | 24 | 304 | 11.166667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 304 | 6 | 58 | 50.666667 | 0.957143 | 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 |
ec3a27ed4fc322cdfd25ebd2f34581e73f1bf79a | 9,519 | py | Python | tests/unittest/ga/test_island.py | Zipfian-Science/natural-selection | 5bf04142a73f39a83e86ad0eb53ba0fecb365864 | [
"Apache-2.0"
] | null | null | null | tests/unittest/ga/test_island.py | Zipfian-Science/natural-selection | 5bf04142a73f39a83e86ad0eb53ba0fecb365864 | [
"Apache-2.0"
] | 1 | 2021-02-26T10:10:43.000Z | 2021-02-26T10:10:43.000Z | tests/unittest/ga/test_island.py | Zipfian-Science/natural-selection | 5bf04142a73f39a83e86ad0eb53ba0fecb365864 | [
"Apache-2.0"
] | null | null | null | import os.path
import unittest
from natural_selection.genetic_algorithms import Gene, Chromosome, Individual, Island
from natural_selection.genetic_algorithms.utils.random_functions import random_int
from natural_selection.genetic_algorithms.operators.crossover import crossover_two_n_point
class TestSimpleIsland(unitt... | 47.358209 | 130 | 0.686207 | 1,421 | 9,519 | 4.370866 | 0.080929 | 0.034616 | 0.048945 | 0.104009 | 0.862985 | 0.825793 | 0.810981 | 0.810981 | 0.797456 | 0.797456 | 0 | 0.041098 | 0.176909 | 9,519 | 200 | 131 | 47.595 | 0.751627 | 0 | 0 | 0.695035 | 0 | 0 | 0.037189 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 1 | 0.106383 | false | 0 | 0.078014 | 0.014184 | 0.234043 | 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 |
6b90a680efc189f6510738b0caefe0d2440c790f | 7,899 | py | Python | tests/LookupTests.py | cdlhub/OasisPiWind | 92dc73facd8227880244022345d4210b13d59440 | [
"BSD-2-Clause"
] | null | null | null | tests/LookupTests.py | cdlhub/OasisPiWind | 92dc73facd8227880244022345d4210b13d59440 | [
"BSD-2-Clause"
] | null | null | null | tests/LookupTests.py | cdlhub/OasisPiWind | 92dc73facd8227880244022345d4210b13d59440 | [
"BSD-2-Clause"
] | null | null | null | # (c) 2013-2016 Oasis LMF Ltd. Software provided for early adopter evaluation only.
import inspect
import os
import sys
import unittest
BASE_DIR = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
SRC_PATH = os.path.abspath(os.path.join(BASE_DIR, '..', 'src'))
if os.path.exists(SRC_PATH):
... | 37.614286 | 133 | 0.64122 | 1,058 | 7,899 | 4.511342 | 0.085066 | 0.105594 | 0.061596 | 0.087995 | 0.866122 | 0.81982 | 0.81563 | 0.773518 | 0.754033 | 0.754033 | 0 | 0.040006 | 0.218382 | 7,899 | 209 | 134 | 37.794258 | 0.733074 | 0.010381 | 0 | 0.546053 | 0 | 0 | 0.118874 | 0 | 0 | 0 | 0 | 0 | 0.342105 | 1 | 0.085526 | false | 0 | 0.039474 | 0 | 0.144737 | 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 |
6bc7895f5b69b9ddd78ed239ca844b16b86cc641 | 32 | py | Python | slack/tests/test_start.py | imsardine/learning | 925841ddd93d60c740a62e12d9f57ef15b6e0a20 | [
"MIT"
] | null | null | null | slack/tests/test_start.py | imsardine/learning | 925841ddd93d60c740a62e12d9f57ef15b6e0a20 | [
"MIT"
] | null | null | null | slack/tests/test_start.py | imsardine/learning | 925841ddd93d60c740a62e12d9f57ef15b6e0a20 | [
"MIT"
] | null | null | null | def test_hello_world():
pass | 16 | 23 | 0.71875 | 5 | 32 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 2 | 24 | 16 | 0.807692 | 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 |
6bf83e84e1efd014022f6a6cb7ec6005a0f7737f | 524,967 | py | Python | appendix/pytorch/test_nsoltSynthesis2dNetwork.py | nixir/SaivDr | f54bf29ef107916b26f42c0fbd6a23f2ef73b2b7 | [
"BSD-2-Clause"
] | null | null | null | appendix/pytorch/test_nsoltSynthesis2dNetwork.py | nixir/SaivDr | f54bf29ef107916b26f42c0fbd6a23f2ef73b2b7 | [
"BSD-2-Clause"
] | null | null | null | appendix/pytorch/test_nsoltSynthesis2dNetwork.py | nixir/SaivDr | f54bf29ef107916b26f42c0fbd6a23f2ef73b2b7 | [
"BSD-2-Clause"
] | null | null | null | import unittest
import torch
import torch.nn as nn
from nsoltSynthesis2dNetwork import NsoltSynthesis2dNetwork
class NsoltSynthesis2dNetworkTestCase(unittest.TestCase):
"""
NSOLTSYNHESIS2DNETWORKTESTCASE Test cases for NsoltSynthesis2dNetwork
Requirements: Python 3.7.x, PyTorch 1.7.x
Copyrigh... | 39.214686 | 107 | 0.477556 | 42,705 | 524,967 | 5.8695 | 0.011966 | 0.02043 | 0.023079 | 0.033528 | 0.96938 | 0.968622 | 0.967565 | 0.967114 | 0.964178 | 0.963735 | 0 | 0.025851 | 0.400844 | 524,967 | 13,386 | 108 | 39.217615 | 0.771057 | 0.000863 | 0 | 0 | 0 | 0 | 0.007752 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.068966 | false | 0 | 0.137931 | 0 | 0.241379 | 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 |
d448e1c294882c3a803af23ea3894c5926461b52 | 2,456 | py | Python | pontoon/api/tests/test_urls.py | foss4/pontoon | 0503cc78f00e1e9d23c1ca885fe74a627563fc82 | [
"BSD-3-Clause"
] | 1,145 | 2015-05-15T01:08:16.000Z | 2022-03-31T14:23:45.000Z | pontoon/api/tests/test_urls.py | foss4/pontoon | 0503cc78f00e1e9d23c1ca885fe74a627563fc82 | [
"BSD-3-Clause"
] | 1,365 | 2015-05-04T21:54:18.000Z | 2022-03-30T16:53:49.000Z | pontoon/api/tests/test_urls.py | foss4/pontoon | 0503cc78f00e1e9d23c1ca885fe74a627563fc82 | [
"BSD-3-Clause"
] | 667 | 2015-05-04T21:33:45.000Z | 2022-03-30T10:25:33.000Z | import importlib
import sys
import pytest
from django.urls import clear_url_caches
def reload_urls(settings):
clear_url_caches()
importlib.reload(sys.modules[settings.ROOT_URLCONF])
@pytest.fixture
@pytest.mark.django_db
def projects_query():
return {"query": "{projects{name}}"}
@pytest.mark.django_d... | 29.238095 | 86 | 0.755293 | 330 | 2,456 | 5.39697 | 0.157576 | 0.124088 | 0.080853 | 0.09096 | 0.865806 | 0.854015 | 0.854015 | 0.827625 | 0.723751 | 0.723751 | 0 | 0.011241 | 0.1307 | 2,456 | 83 | 87 | 29.590361 | 0.822951 | 0 | 0 | 0.649123 | 0 | 0 | 0.12215 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 1 | 0.175439 | false | 0 | 0.087719 | 0.017544 | 0.280702 | 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 |
d4801898f9843e761eab8087da0daaa65b9b83b9 | 67 | py | Python | was/utils.py | KeserOner/where-artists-share | 3dd4acb64bdf48eaf026f0ef4f2fc5083fc94b0a | [
"MIT"
] | 2 | 2015-07-08T12:50:50.000Z | 2015-07-20T09:55:11.000Z | was/utils.py | KeserOner/where-artists-share | 3dd4acb64bdf48eaf026f0ef4f2fc5083fc94b0a | [
"MIT"
] | 49 | 2015-07-02T17:52:49.000Z | 2022-03-11T23:14:52.000Z | was/utils.py | KeserOner/where-artists-share | 3dd4acb64bdf48eaf026f0ef4f2fc5083fc94b0a | [
"MIT"
] | null | null | null | def format_error(error_message):
return {"err": error_message}
| 22.333333 | 33 | 0.746269 | 9 | 67 | 5.222222 | 0.666667 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 67 | 2 | 34 | 33.5 | 0.810345 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2e166b2ee848862c718ba4d674b0b8bc0fb82a57 | 13,374 | py | Python | hapiplot/plot/heatmap_test.py | hapi-server/plot-python | a264dbc13df0e58644c8e79130d416928abd2fc6 | [
"BSD-3-Clause"
] | null | null | null | hapiplot/plot/heatmap_test.py | hapi-server/plot-python | a264dbc13df0e58644c8e79130d416928abd2fc6 | [
"BSD-3-Clause"
] | null | null | null | hapiplot/plot/heatmap_test.py | hapi-server/plot-python | a264dbc13df0e58644c8e79130d416928abd2fc6 | [
"BSD-3-Clause"
] | null | null | null | # TODO: Change to unit tests.
# * Take screenshot of figure window canvas and compare with referenc
# * Print image to file and compare with reference
# * Compare figure window screenshot with printed image.
from hapiclient.plot.heatmap import heatmap
from datetime import datetime, timedelta
import numpy as np
tests ... | 37.886686 | 101 | 0.502692 | 2,124 | 13,374 | 3.161959 | 0.094162 | 0.102144 | 0.091721 | 0.080405 | 0.810155 | 0.785736 | 0.771292 | 0.756254 | 0.725581 | 0.701161 | 0 | 0.079442 | 0.30821 | 13,374 | 352 | 102 | 37.994318 | 0.646455 | 0.114551 | 0 | 0.565056 | 0 | 0 | 0.167447 | 0.003918 | 0 | 0 | 0 | 0.002841 | 0 | 1 | 0 | false | 0 | 0.018587 | 0 | 0.018587 | 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 |
2e589d18eb7d6e26f1f6688fd4d01940abbb6654 | 4,779 | py | Python | scripts/sbd.py | canozbey/SplitExp | d2b90b0a78d735a096783addf4765eb0b1f8e362 | [
"MIT"
] | null | null | null | scripts/sbd.py | canozbey/SplitExp | d2b90b0a78d735a096783addf4765eb0b1f8e362 | [
"MIT"
] | null | null | null | scripts/sbd.py | canozbey/SplitExp | d2b90b0a78d735a096783addf4765eb0b1f8e362 | [
"MIT"
] | 1 | 2020-06-26T21:24:29.000Z | 2020-06-26T21:24:29.000Z | #regex module must be installed to run the code. It can be found at https://pypi.org/project/regex/
import regex
def split_sentences(pattern, input):
sentences = []
fr = 0
to = 0
add = False
for m in pattern.finditer(input):
if m.group(3) is not None or m.group(5) is not None:
... | 164.793103 | 3,522 | 0.460975 | 1,139 | 4,779 | 1.95698 | 0.271291 | 0.011664 | 0.006729 | 0.007178 | 0.074921 | 0.035891 | 0.018843 | 0.018843 | 0.011664 | 0.011664 | 0 | 0.006007 | 0.059427 | 4,779 | 28 | 3,523 | 170.678571 | 0.483649 | 0.020506 | 0 | 0.095238 | 0 | 0.095238 | 0.713034 | 0.581838 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.047619 | 0 | 0.142857 | 0.047619 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2e633e4b20b6393548f67f03c819648ecd87cba8 | 24 | py | Python | Payne/testing/__init__.py | pacargile/ThePayne | 86fbba352e8777bcc0f18a6c2a0f140dd9550075 | [
"MIT"
] | 20 | 2017-04-04T23:01:30.000Z | 2022-02-23T19:30:30.000Z | Payne/testing/__init__.py | pacargile/ThePayne | 86fbba352e8777bcc0f18a6c2a0f140dd9550075 | [
"MIT"
] | null | null | null | Payne/testing/__init__.py | pacargile/ThePayne | 86fbba352e8777bcc0f18a6c2a0f140dd9550075 | [
"MIT"
] | 4 | 2017-12-11T06:15:02.000Z | 2022-02-12T17:41:41.000Z | from .testspec import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e81b8563cd7625a9717efc3c8c6111f70a498df | 397 | py | Python | core/views.py | thephantomcreation/GOQ | 1af92bb1514194bbfdcc4dfd1e3798c273ec974f | [
"MIT"
] | null | null | null | core/views.py | thephantomcreation/GOQ | 1af92bb1514194bbfdcc4dfd1e3798c273ec974f | [
"MIT"
] | null | null | null | core/views.py | thephantomcreation/GOQ | 1af92bb1514194bbfdcc4dfd1e3798c273ec974f | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, 'core/index.html')
def semester(request):
return render(request, 'core/semesters.html')
def questions(request):
return render(request,'core/questions.html')
def search_results(request):
return render(request, 'core/search_results.htm... | 24.8125 | 51 | 0.778338 | 54 | 397 | 5.648148 | 0.333333 | 0.213115 | 0.311475 | 0.42623 | 0.491803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093199 | 397 | 16 | 52 | 24.8125 | 0.847222 | 0 | 0 | 0 | 0 | 0 | 0.243719 | 0.060302 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0.454545 | 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 |
5cef217d3ba2cb57a94b148cdc39136c069a18bd | 60 | py | Python | __init__.py | craigderington/graph-flask-app | 1bedfb611ff95b9963911feb42f49590fe2605f6 | [
"MIT"
] | 2 | 2020-12-11T14:54:45.000Z | 2020-12-31T14:04:48.000Z | __init__.py | craigderington/graph-flask-app | 1bedfb611ff95b9963911feb42f49590fe2605f6 | [
"MIT"
] | null | null | null | __init__.py | craigderington/graph-flask-app | 1bedfb611ff95b9963911feb42f49590fe2605f6 | [
"MIT"
] | null | null | null | "__author__ = 'Craig Derington <cderington@championsg.com>'" | 60 | 60 | 0.783333 | 6 | 60 | 7.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 60 | 1 | 60 | 60 | 0.767857 | 0.966667 | 0 | 0 | 0 | 0 | 0.95082 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cf75674932040fefb217d6c6ab2e760552ab9e1d | 1,039 | py | Python | netainfo/netaproj/items.py | saurabhp75/netainfo | 1938027df1a806c57d31c241ade22e3fc347b0ef | [
"MIT"
] | null | null | null | netainfo/netaproj/items.py | saurabhp75/netainfo | 1938027df1a806c57d31c241ade22e3fc347b0ef | [
"MIT"
] | null | null | null | netainfo/netaproj/items.py | saurabhp75/netainfo | 1938027df1a806c57d31c241ade22e3fc347b0ef | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html
import scrapy
from scrapy.item import Item, Field
class NetaprojItem(scrapy.Item):
# define the fields for your item here like:
# Primary fields
Candidat... | 21.645833 | 52 | 0.629451 | 117 | 1,039 | 5.555556 | 0.410256 | 0.032308 | 0.049231 | 0.058462 | 0.704615 | 0.704615 | 0.704615 | 0.704615 | 0.704615 | 0.704615 | 0 | 0.001304 | 0.26179 | 1,039 | 48 | 53 | 21.645833 | 0.846154 | 0.319538 | 0 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.074074 | 0 | 1 | 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 |
d86781b82a69740693152cc5c164a200579e64e7 | 62 | py | Python | backend/html_py_test.py | samperid/Neptune | 21f14264913cbdcd03df2c9045215a90a6913d26 | [
"BSD-2-Clause"
] | 1 | 2019-04-22T09:04:50.000Z | 2019-04-22T09:04:50.000Z | backend/html_py_test.py | celineshaw/Neptune | 21f14264913cbdcd03df2c9045215a90a6913d26 | [
"BSD-2-Clause"
] | null | null | null | backend/html_py_test.py | celineshaw/Neptune | 21f14264913cbdcd03df2c9045215a90a6913d26 | [
"BSD-2-Clause"
] | null | null | null | def function_yo(x,y):
return x+y
print(function_yo(5,4))
| 12.4 | 23 | 0.677419 | 13 | 62 | 3.076923 | 0.692308 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.16129 | 62 | 4 | 24 | 15.5 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.