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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ad6caaf895bc1263240d8f9376ba437ced2dd6f3 | 216 | py | Python | source/auxiliary/other_utilities.py | JoZimmer/ParOptBeam | 50d15d8d822a2718f2932807e06c4a7e02f866a3 | [
"BSD-3-Clause"
] | 1 | 2021-04-09T14:08:20.000Z | 2021-04-09T14:08:20.000Z | source/auxiliary/other_utilities.py | JoZimmer/ParOptBeam | 50d15d8d822a2718f2932807e06c4a7e02f866a3 | [
"BSD-3-Clause"
] | 2 | 2021-04-28T15:05:01.000Z | 2021-11-10T15:12:56.000Z | source/auxiliary/other_utilities.py | JoZimmer/ParOptBeam | 50d15d8d822a2718f2932807e06c4a7e02f866a3 | [
"BSD-3-Clause"
] | 2 | 2021-02-01T08:49:45.000Z | 2021-08-10T02:07:36.000Z | from os.path import sep as os_sep
def get_adjusted_path_string(path_string):
for separator in ['\\\\', '\\', '/', '//']:
path_string = path_string.replace(separator, os_sep)
return path_string[:]
| 21.6 | 60 | 0.648148 | 29 | 216 | 4.517241 | 0.517241 | 0.381679 | 0.21374 | 0.305344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189815 | 216 | 9 | 61 | 24 | 0.748571 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ad7112c3738411a5a1f2089e56459f416d494862 | 17,160 | py | Python | tests/diag/test_ccsd.py | fevangelista/pyWicked | 9bc0e13f6e45c86222ea95fdadf1cb66eb59862f | [
"MIT"
] | null | null | null | tests/diag/test_ccsd.py | fevangelista/pyWicked | 9bc0e13f6e45c86222ea95fdadf1cb66eb59862f | [
"MIT"
] | null | null | null | tests/diag/test_ccsd.py | fevangelista/pyWicked | 9bc0e13f6e45c86222ea95fdadf1cb66eb59862f | [
"MIT"
] | null | null | null | import wicked as w
def print_comparison(val, val2):
print(f"Result: {val}")
print(f"Test: {val2}")
def compare_expressions(test, ref):
test_expr = w.Expression()
ref_expr = w.Expression()
for s in ref:
ref_expr += w.string_to_expr(s)
for eq in test:
test_expr += eq.rhs_expr... | 31.030741 | 88 | 0.534324 | 2,970 | 17,160 | 2.9367 | 0.041414 | 0.024421 | 0.016969 | 0.021211 | 0.81667 | 0.784338 | 0.755561 | 0.736987 | 0.723917 | 0.687457 | 0 | 0.088383 | 0.223951 | 17,160 | 552 | 89 | 31.086957 | 0.566569 | 0.073368 | 0 | 0.545035 | 0 | 0.099307 | 0.189892 | 0.00267 | 0 | 0 | 0 | 0 | 0.069284 | 1 | 0.08545 | false | 0 | 0.002309 | 0 | 0.08776 | 0.076212 | 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 |
a8e92779935c13faae8293404567f0278d30ae7e | 138 | py | Python | scripts/reactor/autogen_ludiquest2.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | scripts/reactor/autogen_ludiquest2.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | scripts/reactor/autogen_ludiquest2.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | # ParentID: 2202002
# Character field ID when accessed: 220020000
# ObjectID: 1000016
# Object Position X: -228
# Object Position Y: -198
| 23 | 45 | 0.746377 | 18 | 138 | 5.722222 | 0.888889 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252174 | 0.166667 | 138 | 5 | 46 | 27.6 | 0.643478 | 0.92029 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8ec8c2dda24550165672ed485cf1f2b5ef00950 | 30 | py | Python | python/orcreader/__init__.py | nqbao/python-orc-reader | c4d6a06851b12a309f485ef208c0d84e80b22f8b | [
"BSD-3-Clause"
] | 15 | 2016-07-04T17:05:31.000Z | 2020-06-28T02:15:49.000Z | python/orcreader/__init__.py | nqbao/python-orc-reader | c4d6a06851b12a309f485ef208c0d84e80b22f8b | [
"BSD-3-Clause"
] | 3 | 2017-05-15T06:01:18.000Z | 2018-04-18T21:14:17.000Z | python/orcreader/__init__.py | nqbao/python-orc-reader | c4d6a06851b12a309f485ef208c0d84e80b22f8b | [
"BSD-3-Clause"
] | 6 | 2017-01-23T23:47:52.000Z | 2018-11-01T17:43:40.000Z | from .reader import OrcReader
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 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 |
a8fbf8ce338a6262976301ea199c5ca131183f5f | 49 | py | Python | reloader/__init__.py | gerardroche/AutomaticPackageReloader | e90c22a50f6bfb195394cc6eedab0e7977a0011d | [
"MIT"
] | 30 | 2017-03-05T12:28:31.000Z | 2022-03-23T11:32:23.000Z | reloader/__init__.py | gerardroche/AutomaticPackageReloader | e90c22a50f6bfb195394cc6eedab0e7977a0011d | [
"MIT"
] | 34 | 2017-03-14T05:59:58.000Z | 2021-08-24T16:25:05.000Z | reloader/__init__.py | randy3k/PackageReloader | 1255fcb0bc8effb66956e2240c42b7ae10615860 | [
"MIT"
] | 16 | 2017-03-09T12:03:21.000Z | 2019-10-18T08:19:37.000Z | from .reloader import reload_package, load_dummy
| 24.5 | 48 | 0.857143 | 7 | 49 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.909091 | 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 |
d10113d3430723c74844cb610a13bb918fa54c11 | 46 | py | Python | bunruija/modules/__init__.py | tma15/bunruija | 64a5c993a06e9de75f8f382cc4b817f91965223f | [
"MIT"
] | 4 | 2020-12-22T11:12:35.000Z | 2021-12-15T13:30:02.000Z | bunruija/modules/__init__.py | tma15/bunruija | 64a5c993a06e9de75f8f382cc4b817f91965223f | [
"MIT"
] | 4 | 2021-01-16T07:34:22.000Z | 2021-08-14T06:56:07.000Z | bunruija/modules/__init__.py | tma15/bunruija | 64a5c993a06e9de75f8f382cc4b817f91965223f | [
"MIT"
] | null | null | null | from .static_embedding import StaticEmbedding
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d10682fb60ec99068c4dbd7e5b8bac0fee1bcbce | 32 | py | Python | dag_executor/Executor/__init__.py | GennadiiTurutin/dag_executor | ddc7eab1e0e98753309e245247ac00e465e52ec1 | [
"MIT"
] | null | null | null | dag_executor/Executor/__init__.py | GennadiiTurutin/dag_executor | ddc7eab1e0e98753309e245247ac00e465e52ec1 | [
"MIT"
] | null | null | null | dag_executor/Executor/__init__.py | GennadiiTurutin/dag_executor | ddc7eab1e0e98753309e245247ac00e465e52ec1 | [
"MIT"
] | null | null | null | from .executor import Executor
| 16 | 31 | 0.8125 | 4 | 32 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.962963 | 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 |
d154ae1217c3ae34783bb85b3da68ecf82e62291 | 223 | py | Python | app/__init__.py | cca/libraries_syllabus_notifications | 0d42c96ca6fd777e501024bb986418e8897b3dbc | [
"ECL-2.0"
] | null | null | null | app/__init__.py | cca/libraries_syllabus_notifications | 0d42c96ca6fd777e501024bb986418e8897b3dbc | [
"ECL-2.0"
] | 5 | 2016-01-02T20:12:21.000Z | 2022-01-21T20:31:39.000Z | app/__init__.py | cca/libraries_syllabus_notifications | 0d42c96ca6fd777e501024bb986418e8897b3dbc | [
"ECL-2.0"
] | null | null | null | # @TODO we want to "from .app import main" so the test suite can import the
# main() function but if we do that then app.py throws errors when importing
# from config.py & its other dependencies
from .has_syllabus import *
| 44.6 | 76 | 0.753363 | 39 | 223 | 4.282051 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183857 | 223 | 4 | 77 | 55.75 | 0.917582 | 0.843049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d1720a3f200947c6d598c557c5d06099c334bc22 | 11,905 | py | Python | chatbrick/brick/icn.py | BluehackRano/cb-wh | ecf11100ad83df71eac9d56f6abbd59ceeda9d83 | [
"MIT"
] | null | null | null | chatbrick/brick/icn.py | BluehackRano/cb-wh | ecf11100ad83df71eac9d56f6abbd59ceeda9d83 | [
"MIT"
] | null | null | null | chatbrick/brick/icn.py | BluehackRano/cb-wh | ecf11100ad83df71eac9d56f6abbd59ceeda9d83 | [
"MIT"
] | 1 | 2019-03-05T06:50:11.000Z | 2019-03-05T06:50:11.000Z | import logging
import blueforge.apis.telegram as tg
import requests
from blueforge.apis.facebook import Message, ImageAttachment, QuickReply, QuickReplyTextItem, TemplateAttachment, \
GenericTemplate, Element, PostBackButton
from chatbrick.util import get_items_from_xml, UNKNOWN_ERROR_MSG
import time
logger = lo... | 44.256506 | 159 | 0.374549 | 901 | 11,905 | 4.766926 | 0.214206 | 0.045634 | 0.016764 | 0.025146 | 0.798603 | 0.772992 | 0.772992 | 0.772992 | 0.745518 | 0.698021 | 0 | 0.030616 | 0.528097 | 11,905 | 268 | 160 | 44.421642 | 0.733891 | 0.126417 | 0 | 0.533981 | 0 | 0.019417 | 0.161661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004854 | false | 0 | 0.029126 | 0 | 0.048544 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
66f4c17269c6170a21fe09050ef187d175632d22 | 3,384 | py | Python | compiler/parser/expression_models/comparison.py | Fire-Script/FireScript | 8103b9bafe68163c8018aae2e760b6ad50310595 | [
"MIT"
] | 2 | 2021-12-31T02:23:13.000Z | 2022-01-13T09:59:52.000Z | compiler/parser/expression_models/comparison.py | classPythonAddike/FireScript | 8103b9bafe68163c8018aae2e760b6ad50310595 | [
"MIT"
] | 1 | 2021-12-31T13:24:07.000Z | 2021-12-31T13:24:07.000Z | compiler/parser/expression_models/comparison.py | classPythonAddike/FireScript | 8103b9bafe68163c8018aae2e760b6ad50310595 | [
"MIT"
] | 3 | 2021-12-31T12:08:23.000Z | 2022-01-02T12:00:57.000Z | from compiler.bytecode.opcodes import OpCodes
from compiler.errors.errors import FTypeError
from compiler.parser.expressions import Expression
from typing import List, Dict
class EqualToExp(Expression):
"""
Syntax: (= arg1 arg2)
Argument Types: Any
Return Type: Bool
Check if two objects are equal... | 27.737705 | 100 | 0.60195 | 403 | 3,384 | 4.962779 | 0.17866 | 0.056 | 0.039 | 0.051 | 0.814 | 0.7805 | 0.7475 | 0.6765 | 0.6765 | 0.6765 | 0 | 0.010591 | 0.274527 | 3,384 | 121 | 101 | 27.966942 | 0.804073 | 0.125296 | 0 | 0.714286 | 0 | 0 | 0.095789 | 0.039649 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.057143 | 0.128571 | 0.485714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
0f1a8a8fdf277ed1542030735b29d945045c82ec | 40 | py | Python | tools/RNN/rnn_quantizer/tensorflow/tf_nndct/utils/__init__.py | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | 1 | 2021-04-01T06:38:48.000Z | 2021-04-01T06:38:48.000Z | tools/RNN/rnn_quantizer/tensorflow/tf_nndct/utils/__init__.py | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | null | null | null | tools/RNN/rnn_quantizer/tensorflow/tf_nndct/utils/__init__.py | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | null | null | null | from nndct_shared.utils import registry
| 20 | 39 | 0.875 | 6 | 40 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0f8b3458e256dcb554d3948811ed8426a35f7e37 | 2,067 | py | Python | tests/test_entrez.py | ckrusemd/meta-analysis-tool | 31685973f767c198952df4b87813a9c8345554b6 | [
"BSD-3-Clause"
] | null | null | null | tests/test_entrez.py | ckrusemd/meta-analysis-tool | 31685973f767c198952df4b87813a9c8345554b6 | [
"BSD-3-Clause"
] | null | null | null | tests/test_entrez.py | ckrusemd/meta-analysis-tool | 31685973f767c198952df4b87813a9c8345554b6 | [
"BSD-3-Clause"
] | null | null | null |
import requests
from loguru import logger
def test_entrez_query():
json_ = { "query": "kruse eiken vestergaard", "email": "XXX@YYY.com" }
response = requests.post("http://api:8080/entrez/query", json = json_)
assert response.status_code == 200
assert response.json()
logger.info( response.json()... | 39.75 | 86 | 0.669086 | 260 | 2,067 | 5.15 | 0.138462 | 0.146378 | 0.067961 | 0.073189 | 0.933532 | 0.933532 | 0.933532 | 0.933532 | 0.933532 | 0.933532 | 0 | 0.083912 | 0.164006 | 2,067 | 52 | 87 | 39.75 | 0.690972 | 0 | 0 | 0.613636 | 0 | 0 | 0.247218 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 1 | 0.159091 | false | 0 | 0.045455 | 0 | 0.204545 | 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 |
7e2848ed83aa47cbc6a16174581fc8a9c100f6b0 | 79,206 | py | Python | xanalysis_groundstate_paper_figs.py | kseetharam/genPolaron | b4eb05c595f1dc7151aa564f56fcfbdeded570c5 | [
"MIT"
] | null | null | null | xanalysis_groundstate_paper_figs.py | kseetharam/genPolaron | b4eb05c595f1dc7151aa564f56fcfbdeded570c5 | [
"MIT"
] | null | null | null | xanalysis_groundstate_paper_figs.py | kseetharam/genPolaron | b4eb05c595f1dc7151aa564f56fcfbdeded570c5 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import xarray as xr
import matplotlib
import matplotlib.pyplot as plt
from matplotlib.animation import FuncAnimation
from matplotlib.lines import Line2D
import matplotlib.colors as colors
from matplotlib.animation import writers
from matplotlib.patches import ConnectionPatch
impor... | 51.332469 | 257 | 0.626985 | 11,850 | 79,206 | 3.980675 | 0.063207 | 0.029912 | 0.010939 | 0.014585 | 0.803354 | 0.763584 | 0.728689 | 0.703313 | 0.678213 | 0.646435 | 0 | 0.041277 | 0.18669 | 79,206 | 1,542 | 258 | 51.365759 | 0.690976 | 0.851135 | 0 | 0.027027 | 0 | 0.013514 | 0.072165 | 0.024592 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.27027 | 0 | 0.27027 | 0.027027 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7e3819a044cb8584161c27f50d05ce5285d87d92 | 84 | py | Python | org.beerware.empty.app/assets/axp.py | pmp-p/projects | e958ef2c6d89d0d818086d4c88668d46044ace14 | [
"MIT"
] | null | null | null | org.beerware.empty.app/assets/axp.py | pmp-p/projects | e958ef2c6d89d0d818086d4c88668d46044ace14 | [
"MIT"
] | 3 | 2020-11-01T18:54:24.000Z | 2020-11-15T03:59:34.000Z | org.beerware.empty.app/assets/axp.py | pmp-p/projects | e958ef2c6d89d0d818086d4c88668d46044ace14 | [
"MIT"
] | null | null | null |
from android import *
print(widget.Button)
from android.widget import TextView
| 9.333333 | 35 | 0.77381 | 11 | 84 | 5.909091 | 0.636364 | 0.338462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 84 | 8 | 36 | 10.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7e3f28a79344a9233183603246e2d32fc400d428 | 141 | py | Python | holobot/extensions/crypto/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/extensions/crypto/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/extensions/crypto/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | from .alert_manager_interface import AlertManagerInterface
from .alert_manager import AlertManager
from .crypto_updater import CryptoUpdater
| 35.25 | 58 | 0.893617 | 16 | 141 | 7.625 | 0.625 | 0.147541 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 141 | 3 | 59 | 47 | 0.945736 | 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 |
7e95766c342499bfa038fc67107c66bd872341ac | 24 | py | Python | src/models/__init__.py | WorqHat/Stanford-MRnet-Challenge | 0a8a7438f55503307d5b6b0ddaaa3c50fa4d692b | [
"MIT"
] | 1 | 2021-06-27T18:22:57.000Z | 2021-06-27T18:22:57.000Z | src/models/__init__.py | WorqHat/Stanford-MRnet-Challenge | 0a8a7438f55503307d5b6b0ddaaa3c50fa4d692b | [
"MIT"
] | null | null | null | src/models/__init__.py | WorqHat/Stanford-MRnet-Challenge | 0a8a7438f55503307d5b6b0ddaaa3c50fa4d692b | [
"MIT"
] | 2 | 2020-05-28T07:30:39.000Z | 2021-06-27T18:22:59.000Z | from .MRnet import MRnet | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ec9f217b2ef0eef366902d1d8043f6411d178a9 | 143 | py | Python | _longname.py | michaelshumshum/kahoot-annoyer | a4f35e6ac6e54390815164fc9d81e28d8c301057 | [
"MIT"
] | 4 | 2021-02-20T10:55:33.000Z | 2021-09-25T06:20:16.000Z | _longname.py | michaelshumshum/kahoot-annoyer | a4f35e6ac6e54390815164fc9d81e28d8c301057 | [
"MIT"
] | 7 | 2021-01-07T13:57:21.000Z | 2021-09-30T06:28:15.000Z | _longname.py | michaelshumshum/kahoot-annoyer | a4f35e6ac6e54390815164fc9d81e28d8c301057 | [
"MIT"
] | 5 | 2021-01-19T12:27:49.000Z | 2021-09-23T12:29:44.000Z | from random import randint
def longname():
return ''.join(chr(randint(0,143859)) for i in range(10000)).encode('utf-8','ignore').decode()
| 28.6 | 98 | 0.692308 | 22 | 143 | 4.5 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103175 | 0.118881 | 143 | 4 | 99 | 35.75 | 0.68254 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
7edaeae2fc38a800bb95865424b3192bce1ad4c5 | 96 | py | Python | cubes/query/__init__.py | digitalsatori/cubes | 140133e8c2e3f2ff60631cc3ebc9966d16c1655e | [
"MIT"
] | 1,020 | 2015-01-02T03:05:26.000Z | 2022-02-12T18:48:51.000Z | cubes/query/__init__.py | digitalsatori/cubes | 140133e8c2e3f2ff60631cc3ebc9966d16c1655e | [
"MIT"
] | 259 | 2015-01-02T22:35:14.000Z | 2021-09-02T04:20:41.000Z | cubes/query/__init__.py | digitalsatori/cubes | 140133e8c2e3f2ff60631cc3ebc9966d16c1655e | [
"MIT"
] | 288 | 2015-01-08T00:42:26.000Z | 2022-03-31T17:25:10.000Z | from .browser import *
from .cells import *
from .computation import *
from .statutils import *
| 19.2 | 26 | 0.75 | 12 | 96 | 6 | 0.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 4 | 27 | 24 | 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 | 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 |
7d17c5d4335dc7c37aaf77acd240d8436fc7dcc4 | 69 | py | Python | sample/core.py | trs319843/mypackage | cdcefaac5635805a577c26bea8e3437dc3f7e049 | [
"MIT"
] | null | null | null | sample/core.py | trs319843/mypackage | cdcefaac5635805a577c26bea8e3437dc3f7e049 | [
"MIT"
] | null | null | null | sample/core.py | trs319843/mypackage | cdcefaac5635805a577c26bea8e3437dc3f7e049 | [
"MIT"
] | null | null | null | # sample\core.py
def run_core():
print("In pycharm run_core")
| 9.857143 | 32 | 0.652174 | 11 | 69 | 3.909091 | 0.727273 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202899 | 69 | 6 | 33 | 11.5 | 0.781818 | 0.202899 | 0 | 0 | 0 | 0 | 0.365385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ada57bfdb85d2618a08b453ff23946dc9309abc3 | 54,652 | py | Python | tests/main/views/test_agreements.py | uk-gov-mirror/alphagov.digitalmarketplace-api | 5a1db63691d0c4a435714837196ab6914badaf62 | [
"MIT"
] | 25 | 2015-01-14T10:45:13.000Z | 2021-05-26T17:21:41.000Z | tests/main/views/test_agreements.py | uk-gov-mirror/alphagov.digitalmarketplace-api | 5a1db63691d0c4a435714837196ab6914badaf62 | [
"MIT"
] | 641 | 2015-01-15T11:10:50.000Z | 2021-06-15T22:18:42.000Z | tests/main/views/test_agreements.py | uk-gov-mirror/alphagov.digitalmarketplace-api | 5a1db63691d0c4a435714837196ab6914badaf62 | [
"MIT"
] | 22 | 2015-06-13T15:37:45.000Z | 2021-08-19T23:40:49.000Z | import json
from datetime import datetime
from freezegun import freeze_time
from app.models import AuditEvent, db, Framework, FrameworkAgreement, User
from tests.helpers import fixture_params
from tests.bases import BaseApplicationTest
class BaseFrameworkAgreementTest(BaseApplicationTest):
def create_agreement(se... | 43.443561 | 120 | 0.633701 | 5,280 | 54,652 | 6.265152 | 0.055303 | 0.095073 | 0.01578 | 0.022793 | 0.865145 | 0.844831 | 0.829958 | 0.812364 | 0.796554 | 0.778688 | 0 | 0.034799 | 0.255983 | 54,652 | 1,257 | 121 | 43.478123 | 0.778737 | 0.009405 | 0 | 0.686916 | 0 | 0 | 0.237188 | 0.108997 | 0 | 0 | 0 | 0 | 0.133645 | 1 | 0.05514 | false | 0.001869 | 0.005607 | 0.005607 | 0.075701 | 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 |
bc21fb987995424da0c4a8da3583644d72bd8f6a | 3,326 | py | Python | test_prime_numbers.py | zekedran/python_tdd_ci_tutorial | 6a318ce5f26953dd44ca49da73815de4a2634fe5 | [
"MIT"
] | null | null | null | test_prime_numbers.py | zekedran/python_tdd_ci_tutorial | 6a318ce5f26953dd44ca49da73815de4a2634fe5 | [
"MIT"
] | null | null | null | test_prime_numbers.py | zekedran/python_tdd_ci_tutorial | 6a318ce5f26953dd44ca49da73815de4a2634fe5 | [
"MIT"
] | null | null | null | from prime_numbers import is_prime
def test_is_prime():
assert is_prime(-1) is False
assert is_prime(0) is False
assert is_prime(4) is False
assert is_prime(6) is False
assert is_prime(8) is False
assert is_prime(9) is False
assert is_prime(10) is False
assert is_prime(12) is False
... | 31.084112 | 34 | 0.695129 | 610 | 3,326 | 3.619672 | 0.180328 | 0.32337 | 0.588768 | 0.509511 | 0.88587 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075517 | 0.243536 | 3,326 | 106 | 35 | 31.377358 | 0.802067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.980392 | 1 | 0.009804 | true | 0 | 0.009804 | 0 | 0.019608 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc22939116e8ef6b4d13b61eab3aac762d3ff398 | 7,386 | py | Python | client/tests/test_up_args.py | gefyrahq/gefyra | 0bc205b4b01100c640081ead671bdb195761299b | [
"Apache-2.0"
] | 41 | 2022-03-24T15:45:56.000Z | 2022-03-31T08:07:19.000Z | client/tests/test_up_args.py | Schille/gefyra | 43abd17b8ed5867a26266b5e7a5d6f9edfebab4a | [
"Apache-2.0"
] | 23 | 2021-12-02T10:29:09.000Z | 2022-03-17T18:10:57.000Z | client/tests/test_up_args.py | Schille/gefyra | 43abd17b8ed5867a26266b5e7a5d6f9edfebab4a | [
"Apache-2.0"
] | 3 | 2022-02-18T21:16:10.000Z | 2022-03-09T22:46:28.000Z | from gefyra.__main__ import up_parser, up_command
from gefyra.configuration import ClientConfiguration, __VERSION__
REGISTRY_URL = "my-reg.io/gefyra"
QUAY_REGISTRY_URL = "quay.io/gefyra"
STOWAWAY_LATEST = "my-reg.io/gefyra/stowaway:latest"
CARGO_LATEST = "my-reg.io/gefyra/cargo:latest"
OPERATOR_LATEST = "my-reg.io/ge... | 37.876923 | 85 | 0.753859 | 893 | 7,386 | 5.87458 | 0.06159 | 0.060046 | 0.073199 | 0.081014 | 0.882005 | 0.814335 | 0.794129 | 0.740945 | 0.70854 | 0.70854 | 0 | 0.006157 | 0.142432 | 7,386 | 194 | 86 | 38.072165 | 0.822071 | 0 | 0 | 0.517007 | 0 | 0 | 0.096805 | 0.064852 | 0 | 0 | 0 | 0 | 0.217687 | 1 | 0.122449 | false | 0 | 0.013605 | 0 | 0.136054 | 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 |
bc32a3234dd90ad352aba5adb527d79b901adc29 | 303 | py | Python | examples/fixture.no_background/features/steps/use_steplib_behave4cmd.py | wombat70/behave | c54493b0531795d946ac6754bfc643248cf3056a | [
"BSD-2-Clause"
] | 13 | 2019-10-03T19:15:14.000Z | 2019-10-16T02:01:57.000Z | examples/fixture.no_background/features/steps/use_steplib_behave4cmd.py | wombat70/behave | c54493b0531795d946ac6754bfc643248cf3056a | [
"BSD-2-Clause"
] | 2 | 2020-03-21T22:37:54.000Z | 2021-10-04T17:14:14.000Z | examples/fixture.no_background/features/steps/use_steplib_behave4cmd.py | fluendo/behave | eeffde083456dcf1a0ea9b6139b32091970118c0 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Use behave4cmd0 step library (predecessor of behave4cmd).
"""
from __future__ import absolute_import
# -- REGISTER-STEPS FROM STEP-LIBRARY:
# import behave4cmd0.__all_steps__
# import behave4cmd0.failing_steps
import behave4cmd0.passing_steps
import behave4cmd0.note_steps
| 23.307692 | 57 | 0.785479 | 36 | 303 | 6.25 | 0.555556 | 0.302222 | 0.293333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 0.115512 | 303 | 12 | 58 | 25.25 | 0.794776 | 0.60396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
70ae466b7e7db5a0d09e04c20a68c88f305a4aac | 77 | py | Python | build_start.py | sanman00/SpongeSkills | 7a54e424071a21a55a84479e0177ed7ebacc9c31 | [
"MIT"
] | null | null | null | build_start.py | sanman00/SpongeSkills | 7a54e424071a21a55a84479e0177ed7ebacc9c31 | [
"MIT"
] | 4 | 2017-05-05T15:51:09.000Z | 2017-05-08T17:18:27.000Z | build_start.py | sanman00/SpongeSkills | 7a54e424071a21a55a84479e0177ed7ebacc9c31 | [
"MIT"
] | null | null | null | from build import replace_text, version
replace_text("@{version}", version)
| 19.25 | 39 | 0.779221 | 10 | 77 | 5.8 | 0.6 | 0.37931 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 3 | 40 | 25.666667 | 0.84058 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
70cae01a3bbf35c083ab9e6723658c85595554ce | 983 | py | Python | problems/test_ic_1_stock_prices.py | gregdferrell/algo | 974ae25b028d49bcb7ded6655a7e11dcf6aa221d | [
"MIT"
] | null | null | null | problems/test_ic_1_stock_prices.py | gregdferrell/algo | 974ae25b028d49bcb7ded6655a7e11dcf6aa221d | [
"MIT"
] | null | null | null | problems/test_ic_1_stock_prices.py | gregdferrell/algo | 974ae25b028d49bcb7ded6655a7e11dcf6aa221d | [
"MIT"
] | null | null | null | from .ic_1_stock_prices import stock_prices_1_brute_force, stock_prices_2_greedy
def test_stock_price_algorithms_lose():
stock_prices = [10, 9, 7]
assert stock_prices_1_brute_force(stock_prices) == -1
assert stock_prices_2_greedy(stock_prices) == -1
def test_stock_price_algorithms_no_gain():
stock_prices = [2, ... | 30.71875 | 80 | 0.787386 | 169 | 983 | 4.08284 | 0.171598 | 0.446377 | 0.246377 | 0.147826 | 0.802899 | 0.724638 | 0.589855 | 0.389855 | 0.22029 | 0.22029 | 0 | 0.065668 | 0.116989 | 983 | 31 | 81 | 31.709677 | 0.729263 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 1 | 0.238095 | false | 0 | 0.047619 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
70ecc3bb253029a64b550829a901f26d30203690 | 31 | py | Python | arxivtimes_indicator/server/__init__.py | chakki-works/arXivTimesIndicator | 501413571dc0024b5a9d0bc2e9f17f805de92690 | [
"Apache-2.0"
] | 34 | 2017-08-02T07:01:13.000Z | 2019-01-06T10:35:57.000Z | arxivtimes_indicator/server/__init__.py | arXivTimes/arXivTimesIndicator | 501413571dc0024b5a9d0bc2e9f17f805de92690 | [
"Apache-2.0"
] | 4 | 2017-08-09T06:47:26.000Z | 2017-10-13T01:47:01.000Z | arxivtimes_indicator/server/__init__.py | arXivTimes/arXivTimesIndicator | 501413571dc0024b5a9d0bc2e9f17f805de92690 | [
"Apache-2.0"
] | 2 | 2020-10-21T12:31:02.000Z | 2021-11-05T05:26:15.000Z | from .server import Application | 31 | 31 | 0.870968 | 4 | 31 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb0d83bca9047c82889cf5995c31524e13285dd4 | 39 | py | Python | perses/samplers/__init__.py | schallerdavid/perses | 58bd6e626e027879e136f56e175683893e016f8c | [
"MIT"
] | 99 | 2016-01-19T18:10:37.000Z | 2022-03-26T02:43:08.000Z | perses/samplers/__init__.py | schallerdavid/perses | 58bd6e626e027879e136f56e175683893e016f8c | [
"MIT"
] | 878 | 2015-09-18T19:25:30.000Z | 2022-03-31T02:33:04.000Z | perses/samplers/__init__.py | schallerdavid/perses | 58bd6e626e027879e136f56e175683893e016f8c | [
"MIT"
] | 30 | 2015-09-21T15:26:35.000Z | 2022-01-10T20:07:24.000Z | from perses.samplers.samplers import *
| 19.5 | 38 | 0.820513 | 5 | 39 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb207174c9db151c0797349e4b3c26422a817936 | 5,416 | py | Python | test_nlp_util.py | kenttw/2021-bitbrain-shopee | f63975babc17f03718209432013e325b6eb5e39e | [
"Apache-2.0"
] | null | null | null | test_nlp_util.py | kenttw/2021-bitbrain-shopee | f63975babc17f03718209432013e325b6eb5e39e | [
"Apache-2.0"
] | null | null | null | test_nlp_util.py | kenttw/2021-bitbrain-shopee | f63975babc17f03718209432013e325b6eb5e39e | [
"Apache-2.0"
] | null | null | null | import nlp_util
def testGC():
raw_address = 'isn s.h. & rekan, somba opu 76'
result = nlp_util.genCC(raw_address)
print(result)
assert result
def test_getPair():
# label, raw = "hanief sembilan mtr -h", "kuripan hanief semb mtr -h, gajah mada, 58112"
# print(getPair(label, raw))
raw = " ... | 37.351724 | 145 | 0.64051 | 906 | 5,416 | 3.618102 | 0.124724 | 0.053386 | 0.040574 | 0.057962 | 0.812691 | 0.763575 | 0.738865 | 0.738865 | 0.737035 | 0.71629 | 0 | 0.01793 | 0.186484 | 5,416 | 145 | 146 | 37.351724 | 0.726055 | 0.055207 | 0 | 0.51 | 0 | 0 | 0.259252 | 0 | 0 | 0 | 0 | 0 | 0.13 | 1 | 0.06 | false | 0 | 0.01 | 0 | 0.07 | 0.35 | 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 |
cb321935a3fe0e9c8f187816524cd352184e7a6b | 629 | py | Python | day_1/day1.py | mickeelm/aoc2019 | 7fd532d2237e1cf0686c9b331a2b97515ee94c03 | [
"Unlicense"
] | 1 | 2021-02-02T08:32:36.000Z | 2021-02-02T08:32:36.000Z | day_1/day1.py | mickeelm/aoc2019 | 7fd532d2237e1cf0686c9b331a2b97515ee94c03 | [
"Unlicense"
] | null | null | null | day_1/day1.py | mickeelm/aoc2019 | 7fd532d2237e1cf0686c9b331a2b97515ee94c03 | [
"Unlicense"
] | null | null | null | def fuel_required_single_module(mass):
fuel = int(mass / 3) - 2
return fuel if fuel > 0 else 0
def fuel_required_multiple_modules(masses):
total_fuel = 0
for mass in masses:
total_fuel += fuel_required_single_module(mass)
return total_fuel
def recursive_fuel_required_single_module(mass):... | 25.16 | 65 | 0.72814 | 89 | 629 | 4.775281 | 0.235955 | 0.190588 | 0.211765 | 0.282353 | 0.88 | 0.814118 | 0.792941 | 0.647059 | 0.315294 | 0.315294 | 0 | 0.014113 | 0.211447 | 629 | 24 | 66 | 26.208333 | 0.842742 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 6 |
cb4d4cf11ac360c8c881c5f2263fff2c5582e3f9 | 299 | py | Python | Cracking the Coding Interview/ctci-solutions-master/ch-06-math-and-logic-puzzles/07-the-apocalypse.py | nikku1234/Code-Practise | 94eb6680ea36efd10856c377000219285f77e5a4 | [
"Apache-2.0"
] | 9 | 2020-07-02T06:06:17.000Z | 2022-02-26T11:08:09.000Z | Cracking the Coding Interview/ctci-solutions-master/ch-06-math-and-logic-puzzles/07-the-apocalypse.py | nikku1234/Code-Practise | 94eb6680ea36efd10856c377000219285f77e5a4 | [
"Apache-2.0"
] | 1 | 2021-11-04T17:26:36.000Z | 2021-11-04T17:26:36.000Z | Cracking the Coding Interview/ctci-solutions-master/ch-06-math-and-logic-puzzles/07-the-apocalypse.py | nikku1234/Code-Practise | 94eb6680ea36efd10856c377000219285f77e5a4 | [
"Apache-2.0"
] | 8 | 2021-01-31T10:31:12.000Z | 2022-03-13T09:15:55.000Z | # What will the gender ratio be after every family stops having children after
# after they have a girl and not until then.
def birth_ratio():
# Everytime a child is born, there is a 0.5 chance of the baby being male
# and 0.5 chance of the baby being a girl. So the ratio is 1:1.
return 1
| 33.222222 | 78 | 0.725753 | 59 | 299 | 3.661017 | 0.627119 | 0.046296 | 0.074074 | 0.092593 | 0.203704 | 0.203704 | 0.203704 | 0 | 0 | 0 | 0 | 0.030303 | 0.227425 | 299 | 8 | 79 | 37.375 | 0.904762 | 0.849498 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cb6279ec0b7ded0ba4cb59e073b1c143b3a2125e | 2,197 | py | Python | tests/test_contributors.py | chfw/gease | dc5e69840c368dab15e0929824a7c952bd7074c3 | [
"MIT"
] | 1 | 2019-01-12T19:39:35.000Z | 2019-01-12T19:39:35.000Z | tests/test_contributors.py | chfw/gease | dc5e69840c368dab15e0929824a7c952bd7074c3 | [
"MIT"
] | 10 | 2017-10-20T07:24:49.000Z | 2020-10-18T11:37:51.000Z | tests/test_contributors.py | chfw/gease | dc5e69840c368dab15e0929824a7c952bd7074c3 | [
"MIT"
] | null | null | null | from mock import MagicMock, patch
from nose.tools import eq_
from gease.contributors import EndPoint
from gease.exceptions import NoGeaseConfigFound
class TestPublish:
@patch("gease.contributors.get_token")
@patch("gease.contributors.Api.get_public_api")
def test_all_contributors(self, fake_api, get_toke... | 30.09589 | 75 | 0.549841 | 217 | 2,197 | 5.313364 | 0.211982 | 0.103209 | 0.114484 | 0.065048 | 0.830009 | 0.812663 | 0.812663 | 0.812663 | 0.812663 | 0.812663 | 0 | 0 | 0.311789 | 2,197 | 72 | 76 | 30.513889 | 0.762566 | 0 | 0 | 0.57377 | 0 | 0 | 0.208011 | 0.085571 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04918 | false | 0 | 0.065574 | 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 |
cb8d02b22bb2917353763bb8532feaa16e03096a | 202 | py | Python | Server/Python/src/dbs/dao/MySQL/File/MgrtList.py | vkuznet/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 8 | 2015-08-14T04:01:32.000Z | 2021-06-03T00:56:42.000Z | Server/Python/src/dbs/dao/MySQL/File/MgrtList.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 162 | 2015-01-07T21:34:47.000Z | 2021-10-13T09:42:41.000Z | Server/Python/src/dbs/dao/MySQL/File/MgrtList.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 16 | 2015-01-22T15:27:29.000Z | 2021-04-28T09:23:28.000Z | #!/usr/bin/env python
"""
This module provides File.MgrtList data access object.
"""
from dbs.dao.Oracle.File.MgrtList import MgrtList as OraFileMgrtList
class MgrtList(OraFileMgrtList):
pass
| 20.2 | 68 | 0.752475 | 26 | 202 | 5.846154 | 0.807692 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 202 | 9 | 69 | 22.444444 | 0.883721 | 0.371287 | 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 |
cbd3598d91ff793b9cf6d9fdbee232e97be7c505 | 35,768 | py | Python | morphological_analysis_v4.py | rivernuthead/DoD_analysis | b06219d4026e89a9b9f1e8939010a63612750c80 | [
"MIT"
] | null | null | null | morphological_analysis_v4.py | rivernuthead/DoD_analysis | b06219d4026e89a9b9f1e8939010a63612750c80 | [
"MIT"
] | null | null | null | morphological_analysis_v4.py | rivernuthead/DoD_analysis | b06219d4026e89a9b9f1e8939010a63612750c80 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed May 25 16:02:58 2022
@author: erri
"""
import os
import numpy as np
import math
from morph_quantities_func_v2 import morph_quantities
import matplotlib.pyplot as plt
# SINGLE RUN NAME
run = 'q07_1'
DoD_name = 'DoD_s1-s0_filt_nozero_rst.txt'
# Step betw... | 50.87909 | 246 | 0.605374 | 5,536 | 35,768 | 3.562681 | 0.053107 | 0.049891 | 0.033768 | 0.036911 | 0.840136 | 0.812148 | 0.787152 | 0.763423 | 0.744714 | 0.734219 | 0 | 0.023415 | 0.270465 | 35,768 | 703 | 247 | 50.87909 | 0.732429 | 0.742256 | 0 | 0.255474 | 0 | 0 | 0.008343 | 0.003558 | 0 | 0 | 0 | 0.001422 | 0 | 1 | 0 | false | 0.007299 | 0.036496 | 0 | 0.036496 | 0.007299 | 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 |
1dab593015997d8eba3dbafe4c8fcbe0f12b7e14 | 35 | py | Python | build/lib/zorb/models/__init__.py | varunranga/zorb | ffad98d15c3200eafc1b10c68860ce34ebf78f62 | [
"MIT"
] | 3 | 2021-05-13T16:28:39.000Z | 2022-02-18T23:10:35.000Z | src/zorb/models/__init__.py | varunranga/zorb | ffad98d15c3200eafc1b10c68860ce34ebf78f62 | [
"MIT"
] | null | null | null | src/zorb/models/__init__.py | varunranga/zorb | ffad98d15c3200eafc1b10c68860ce34ebf78f62 | [
"MIT"
] | null | null | null | from .Sequential import Sequential
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
1db9f8268801e37ed09678dd7bdfdf9e618fd8da | 2,324 | py | Python | tests/test_nestedprops.py | atviriduomenys/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 2 | 2019-03-14T06:41:14.000Z | 2019-03-26T11:48:14.000Z | tests/test_nestedprops.py | sirex/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 44 | 2019-04-05T15:52:45.000Z | 2022-03-30T07:41:33.000Z | tests/test_nestedprops.py | sirex/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 1 | 2019-04-01T09:54:27.000Z | 2019-04-01T09:54:27.000Z | import pytest
@pytest.mark.models(
'backends/mongo/report',
'backends/postgres/report',
)
def test_update_object(model, app):
app.authmodel(model, ['insert', 'patch', 'getone'])
resp = app.post(f'/{model}', json={
'status': 'ok',
'sync': {
'sync_revision': '1',
... | 24.463158 | 55 | 0.449656 | 224 | 2,324 | 4.464286 | 0.178571 | 0.112 | 0.096 | 0.12 | 0.973 | 0.973 | 0.973 | 0.973 | 0.868 | 0.868 | 0 | 0.019113 | 0.369621 | 2,324 | 94 | 56 | 24.723404 | 0.663481 | 0 | 0 | 0.678571 | 0 | 0 | 0.241394 | 0.038726 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.02381 | false | 0 | 0.011905 | 0 | 0.035714 | 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 |
1dfcb4d77e3deb4901ba246b595206ea283bb0d6 | 136,009 | py | Python | src_data/community_health_metrics.py | marcmiquel/WDO | 7d8d8e912f8dbacb2cdc0f6fd5c26370b8310cbb | [
"MIT"
] | 3 | 2020-12-21T06:06:16.000Z | 2021-08-28T12:52:07.000Z | src_data/community_health_metrics.py | marcmiquel/WDO | 7d8d8e912f8dbacb2cdc0f6fd5c26370b8310cbb | [
"MIT"
] | 1 | 2021-01-27T19:33:20.000Z | 2021-01-27T19:33:20.000Z | src_data/community_health_metrics.py | marcmiquel/WDO | 7d8d8e912f8dbacb2cdc0f6fd5c26370b8310cbb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# script
import wikilanguages_utils
from wikilanguages_utils import *
# time
import time
import datetime
from dateutil import relativedelta
import calendar
# system
import os
import sys
import shutil
import re
import random
import operator
# databases
import MySQLdb as mdb, MySQLdb.cursors as m... | 48.436254 | 1,569 | 0.642068 | 17,801 | 136,009 | 4.565755 | 0.04966 | 0.041193 | 0.019489 | 0.029972 | 0.813793 | 0.7804 | 0.75621 | 0.704965 | 0.632175 | 0.600332 | 0 | 0.054937 | 0.245844 | 136,009 | 2,807 | 1,570 | 48.453509 | 0.737248 | 0.114713 | 0 | 0.532787 | 0 | 0.029634 | 0.246039 | 0.050004 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01198 | false | 0.022068 | 0.018285 | 0 | 0.032156 | 0.027743 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1dfdf1dc9d560dd375ad6fcdf3b6923ca0b72a86 | 36 | py | Python | core/parsers/__init__.py | andrewisakov/taximaster | b92f06894bbc3414086ec77f1c918a3c0f085241 | [
"MIT"
] | null | null | null | core/parsers/__init__.py | andrewisakov/taximaster | b92f06894bbc3414086ec77f1c918a3c0f085241 | [
"MIT"
] | null | null | null | core/parsers/__init__.py | andrewisakov/taximaster | b92f06894bbc3414086ec77f1c918a3c0f085241 | [
"MIT"
] | null | null | null | from .parsers import request_parser
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 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 |
380c11403c1a76b0d531997f5e39af651f1a3bb9 | 31 | py | Python | djshed/__init__.py | carthage-college/django-djshed | 122dc2f9dd582fd943915b6268d4e90dc84993ca | [
"BSD-3-Clause"
] | null | null | null | djshed/__init__.py | carthage-college/django-djshed | 122dc2f9dd582fd943915b6268d4e90dc84993ca | [
"BSD-3-Clause"
] | 9 | 2020-03-04T16:04:21.000Z | 2022-02-14T17:34:07.000Z | djshed/__init__.py | carthage-college/django-djshed | 122dc2f9dd582fd943915b6268d4e90dc84993ca | [
"BSD-3-Clause"
] | null | null | null | from djshed.constants import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 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 |
382cc8f8f5ea8df980757417230fc969f24fd71f | 110 | py | Python | pyfantasy/__init__.py | markwhat1/pyfantasy | 318a7afc97c7bf6ba978ff8bb8c4c58f8ea0d420 | [
"MIT"
] | null | null | null | pyfantasy/__init__.py | markwhat1/pyfantasy | 318a7afc97c7bf6ba978ff8bb8c4c58f8ea0d420 | [
"MIT"
] | null | null | null | pyfantasy/__init__.py | markwhat1/pyfantasy | 318a7afc97c7bf6ba978ff8bb8c4c58f8ea0d420 | [
"MIT"
] | null | null | null | from .pyfantasy import Connection
from .pyfantasy import League, Team, Player
from .yahoo_oauth import OAuth2
| 27.5 | 43 | 0.827273 | 15 | 110 | 6 | 0.666667 | 0.288889 | 0.422222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.127273 | 110 | 3 | 44 | 36.666667 | 0.927083 | 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 |
69b4c48501471d49ec2d4fd4b79c4ecc8adb3282 | 204 | py | Python | util/data/gen/BloonsTD6.exe.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/BloonsTD6.exe.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/BloonsTD6.exe.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | symbols = []
exports = [{'type': 'function', 'name': 'AmdPowerXpressRequestHighPerformance', 'address': '0x7ff66dd14004'}, {'type': 'function', 'name': 'NvOptimusEnablement', 'address': '0x7ff66dd14000'}] | 102 | 191 | 0.70098 | 14 | 204 | 10.214286 | 0.714286 | 0.167832 | 0.223776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095745 | 0.078431 | 204 | 2 | 191 | 102 | 0.664894 | 0 | 0 | 0 | 0 | 0 | 0.629268 | 0.17561 | 0 | 0 | 0.136585 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0e148b2e22f2b41098a22593e27a07d48422bed6 | 163 | py | Python | website_multi_company/__init__.py | RL-OtherApps/website-addons | b0903daefa492c298084542de2c99f1ab13cd4b4 | [
"MIT"
] | 1 | 2020-03-01T03:04:21.000Z | 2020-03-01T03:04:21.000Z | website_multi_company/__init__.py | RL-OtherApps/website-addons | b0903daefa492c298084542de2c99f1ab13cd4b4 | [
"MIT"
] | null | null | null | website_multi_company/__init__.py | RL-OtherApps/website-addons | b0903daefa492c298084542de2c99f1ab13cd4b4 | [
"MIT"
] | null | null | null | from . import models
def post_load():
# use post_load to avoid overriding _get_search_domain when this module is not installed
from . import controllers
| 23.285714 | 92 | 0.760736 | 24 | 163 | 4.958333 | 0.833333 | 0.168067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202454 | 163 | 6 | 93 | 27.166667 | 0.915385 | 0.527607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38985d959385d3a2057ea5f7a76d2853b1c2d13c | 23,684 | py | Python | Model&Data/tf-VAEGAN/main.py | LiangjunFeng/Generative-Any-Shot-Learning | 693c4ab92f2eb04cc453c870782710a982f98e80 | [
"Apache-2.0"
] | null | null | null | Model&Data/tf-VAEGAN/main.py | LiangjunFeng/Generative-Any-Shot-Learning | 693c4ab92f2eb04cc453c870782710a982f98e80 | [
"Apache-2.0"
] | null | null | null | Model&Data/tf-VAEGAN/main.py | LiangjunFeng/Generative-Any-Shot-Learning | 693c4ab92f2eb04cc453c870782710a982f98e80 | [
"Apache-2.0"
] | null | null | null | import argparse
from train_images import run
# generalized ZSL
# CUDA_VISIBLE_DEVICES=0 nohup python -u main.py --dataset AWA1 --few_train False --num_shots 0 --generalized True > awa1.log 2>&1 &
# CUDA_VISIBLE_DEVICES=1 nohup python -u main.py --dataset SUN --few_train False --num_shots 0 --generalized True > sun.lo... | 92.515625 | 195 | 0.728973 | 3,817 | 23,684 | 4.324338 | 0.050563 | 0.054768 | 0.117775 | 0.104689 | 0.883739 | 0.863928 | 0.857628 | 0.849085 | 0.843814 | 0.834909 | 0 | 0.071819 | 0.14989 | 23,684 | 255 | 196 | 92.878431 | 0.747988 | 0.742315 | 0 | 0.111111 | 0 | 0 | 0.064397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024691 | false | 0 | 0.024691 | 0 | 0.08642 | 0.012346 | 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 |
2a6ac7f9df2f1802e7060c999c2722525fb5cfb6 | 647 | py | Python | tests/expectations/cat-hs-x-cat-date-smoothed-col-pct-w3.py | Crunch-io/crunch-cube | 80986d5b2106c774f05176fb6c6a5ea0d840f09d | [
"MIT"
] | 3 | 2021-01-22T20:42:31.000Z | 2021-06-02T17:53:19.000Z | tests/expectations/cat-hs-x-cat-date-smoothed-col-pct-w3.py | Crunch-io/crunch-cube | 80986d5b2106c774f05176fb6c6a5ea0d840f09d | [
"MIT"
] | 331 | 2017-11-13T22:41:56.000Z | 2021-12-02T21:59:43.000Z | tests/expectations/cat-hs-x-cat-date-smoothed-col-pct-w3.py | Crunch-io/crunch-cube | 80986d5b2106c774f05176fb6c6a5ea0d840f09d | [
"MIT"
] | 1 | 2021-02-19T02:49:00.000Z | 2021-02-19T02:49:00.000Z | [
[float("NaN"), float("NaN"), 73.55631426, 76.45173763],
[float("NaN"), float("NaN"), 71.11031587, 73.6557548],
[float("NaN"), float("NaN"), 11.32891221, 9.80444014],
[float("NaN"), float("NaN"), 10.27812002, 8.15602626],
[float("NaN"), float("NaN"), 21.60703222, 17.9604664],
[float("NaN"), flo... | 46.214286 | 59 | 0.585781 | 88 | 647 | 4.306818 | 0.409091 | 0.46438 | 0.377309 | 0.46438 | 0.269129 | 0 | 0 | 0 | 0 | 0 | 0 | 0.364452 | 0.139104 | 647 | 13 | 60 | 49.769231 | 0.315978 | 0 | 0 | 0 | 0 | 0 | 0.102009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa5fa5ff3ffffa84887da1cb448b70b03ad5cd67 | 45 | py | Python | ahmed-package/__init__.py | gokcelahmed/ahmed-package | a6c34fb2d85105ad33063b840c84f70ff7a0aa4d | [
"MIT"
] | null | null | null | ahmed-package/__init__.py | gokcelahmed/ahmed-package | a6c34fb2d85105ad33063b840c84f70ff7a0aa4d | [
"MIT"
] | null | null | null | ahmed-package/__init__.py | gokcelahmed/ahmed-package | a6c34fb2d85105ad33063b840c84f70ff7a0aa4d | [
"MIT"
] | null | null | null | from ahmed-package.functions import printName | 45 | 45 | 0.888889 | 6 | 45 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
aab47503ee8d0e3164856b1141204d18fa2f42fa | 41 | py | Python | fixture/__init__.py | hippa777/python_training | 568c12e1a21c3c7eb40a1af25a9db83690a1b26d | [
"Apache-2.0"
] | null | null | null | fixture/__init__.py | hippa777/python_training | 568c12e1a21c3c7eb40a1af25a9db83690a1b26d | [
"Apache-2.0"
] | null | null | null | fixture/__init__.py | hippa777/python_training | 568c12e1a21c3c7eb40a1af25a9db83690a1b26d | [
"Apache-2.0"
] | null | null | null | from .contact_helper import ContactHelper | 41 | 41 | 0.902439 | 5 | 41 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 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 |
2acb3aee2e0f5e506188c20bf399d1690f3f87a1 | 35 | py | Python | webapp/journal_plugins/example_plugin/models.py | TheCDC/journal_app | 18c84acfc7b996329d34c3bdd54348cdfdd55252 | [
"MIT"
] | 2 | 2018-03-08T16:21:45.000Z | 2018-10-22T02:13:22.000Z | webapp/journal_plugins/example_plugin/models.py | TheCDC/journal_app | 18c84acfc7b996329d34c3bdd54348cdfdd55252 | [
"MIT"
] | 3 | 2018-05-25T04:21:09.000Z | 2020-02-10T00:46:37.000Z | webapp/journal_plugins/example_plugin/models.py | TheCDC/journal_app | 18c84acfc7b996329d34c3bdd54348cdfdd55252 | [
"MIT"
] | null | null | null | from webapp.extensions import db
| 8.75 | 32 | 0.8 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 3 | 33 | 11.666667 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2d83d5ac7ec09bb8e96ad46997e6e2b1b848abb9 | 231 | py | Python | hcap_utils/contrib/material/views/__init__.py | fabiommendes/capacidade_hospitalar | 4f675b574573eb3f51e6be8a927ea230bf2712c7 | [
"MIT"
] | null | null | null | hcap_utils/contrib/material/views/__init__.py | fabiommendes/capacidade_hospitalar | 4f675b574573eb3f51e6be8a927ea230bf2712c7 | [
"MIT"
] | 31 | 2020-04-11T13:38:17.000Z | 2021-09-22T18:51:11.000Z | hcap_utils/contrib/material/views/__init__.py | fabiommendes/capacidade_hospitalar | 4f675b574573eb3f51e6be8a927ea230bf2712c7 | [
"MIT"
] | 1 | 2020-04-08T17:04:39.000Z | 2020-04-08T17:04:39.000Z | from .create_model_view import CreateModelView
from .delete_model_view import DeleteModelView
from .detail_model_view import DetailModelView
from .list_model_view import ListModelView
from .update_model_view import UpdateModelView
| 38.5 | 46 | 0.891775 | 30 | 231 | 6.533333 | 0.466667 | 0.229592 | 0.382653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08658 | 231 | 5 | 47 | 46.2 | 0.92891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2db96537947c81899effbd609c7adfa473931eeb | 33 | py | Python | datasets/__init__.py | Masterchef365/pvcnn | db13331a46f672e74e7b5bde60e7bf30d445cd2d | [
"MIT"
] | 477 | 2019-12-10T01:03:43.000Z | 2022-03-28T14:10:08.000Z | datasets/__init__.py | chaomath/pvcnn | 8f07316611067e9a0e2df8b35e4a729a03e0806b | [
"MIT"
] | 57 | 2019-12-10T10:14:26.000Z | 2022-03-26T04:59:43.000Z | datasets/__init__.py | chaomath/pvcnn | 8f07316611067e9a0e2df8b35e4a729a03e0806b | [
"MIT"
] | 126 | 2019-12-10T07:59:50.000Z | 2022-03-12T07:21:19.000Z | from datasets.s3dis import S3DIS
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2dc6b64392d41e06755147486243708c0cbcc454 | 2,362 | py | Python | venv/src/pages/forms.py | ddelgadoJS/ProyectoWeb | f899c910bf16a79d5c3498bc6e8aa6b741fb56e1 | [
"MIT"
] | 1 | 2019-10-28T03:44:38.000Z | 2019-10-28T03:44:38.000Z | venv/src/pages/forms.py | ddelgadoJS/ProyectoWeb | f899c910bf16a79d5c3498bc6e8aa6b741fb56e1 | [
"MIT"
] | null | null | null | venv/src/pages/forms.py | ddelgadoJS/ProyectoWeb | f899c910bf16a79d5c3498bc6e8aa6b741fb56e1 | [
"MIT"
] | null | null | null | from django import forms
from django.contrib.auth.models import User
from django.contrib.auth.forms import UserCreationForm
from .models import *
class EmpresaCreateForm(forms.ModelForm):
class Meta:
model = Empresa
fields = [
'nombre',
'description',
'direccion... | 22.495238 | 54 | 0.453006 | 158 | 2,362 | 6.670886 | 0.278481 | 0.092979 | 0.126186 | 0.152751 | 0.726755 | 0.70019 | 0.70019 | 0.70019 | 0.70019 | 0.70019 | 0 | 0 | 0.446232 | 2,362 | 105 | 55 | 22.495238 | 0.80581 | 0 | 0 | 0.762887 | 0 | 0 | 0.222598 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041237 | 0 | 0.185567 | 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 |
2dcaf1c764e04a5631433a84042c46eeee80f0f9 | 28 | py | Python | losses/__init__.py | xieqk/SEF | 2163a159933d8d9ecad5ff9341cfa626f662a778 | [
"MIT"
] | null | null | null | losses/__init__.py | xieqk/SEF | 2163a159933d8d9ecad5ff9341cfa626f662a778 | [
"MIT"
] | null | null | null | losses/__init__.py | xieqk/SEF | 2163a159933d8d9ecad5ff9341cfa626f662a778 | [
"MIT"
] | null | null | null | from .ranking import Triplet | 28 | 28 | 0.857143 | 4 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
930100236a4359a4387dd68192ff211e5a4519df | 149 | py | Python | roona/roona/doctype/roona_app_setting/test_roona_app_setting.py | mohsinalimat/roona | b24336d9d56eb443a883131afffd9091c9a66add | [
"MIT"
] | 1 | 2021-08-28T04:24:00.000Z | 2021-08-28T04:24:00.000Z | roona/roona/doctype/roona_app_setting/test_roona_app_setting.py | mohsinalimat/roona | b24336d9d56eb443a883131afffd9091c9a66add | [
"MIT"
] | null | null | null | roona/roona/doctype/roona_app_setting/test_roona_app_setting.py | mohsinalimat/roona | b24336d9d56eb443a883131afffd9091c9a66add | [
"MIT"
] | null | null | null | # Copyright (c) 2021, Roona and Contributors
# See license.txt
# import frappe
import unittest
class TestRoonaAppSetting(unittest.TestCase):
pass
| 16.555556 | 45 | 0.785235 | 18 | 149 | 6.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.14094 | 149 | 8 | 46 | 18.625 | 0.882813 | 0.483221 | 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 |
930766e7b8ffd5a77cf2414fe0de6b57a69af041 | 48 | py | Python | levelpy/async/__init__.py | rch/levelpy | 59e546854b3d478f3467bd573eb5f6b4da62d239 | [
"MIT"
] | 4 | 2015-11-06T22:50:22.000Z | 2020-05-31T14:49:58.000Z | levelpy/async/__init__.py | rch/levelpy | 59e546854b3d478f3467bd573eb5f6b4da62d239 | [
"MIT"
] | null | null | null | levelpy/async/__init__.py | rch/levelpy | 59e546854b3d478f3467bd573eb5f6b4da62d239 | [
"MIT"
] | 3 | 2017-01-25T22:26:40.000Z | 2021-03-24T07:49:33.000Z | #
# levelpy/async/__init__.py
#
import asyncio
| 8 | 27 | 0.729167 | 6 | 48 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 5 | 28 | 9.6 | 0.756098 | 0.520833 | 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 |
935fa4a7ed04d049f63c5a737cdba5df5fb7e88c | 25 | py | Python | src/engines/train/__init__.py | cr3ux53c/DenseNet-Tensorflow2 | 208143bf4086c407e524e01cd945fd3b0741b48d | [
"MIT"
] | 60 | 2020-07-08T02:39:06.000Z | 2022-03-28T14:26:34.000Z | src/engines/train/__init__.py | cr3ux53c/DenseNet-Tensorflow2 | 208143bf4086c407e524e01cd945fd3b0741b48d | [
"MIT"
] | 28 | 2019-08-13T22:20:46.000Z | 2020-02-17T19:27:32.000Z | src/engines/train/__init__.py | cr3ux53c/DenseNet-Tensorflow2 | 208143bf4086c407e524e01cd945fd3b0741b48d | [
"MIT"
] | 18 | 2020-08-26T02:06:32.000Z | 2022-03-22T03:04:40.000Z | from .train import train
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9361e059240f0fd25cbcad6c1466201786c8b48a | 164 | py | Python | genie_core/services/KeyBoardService.py | JereMIbq1995/genie-core | f87b6de56749630a46200298f7021047e854c8a3 | [
"MIT"
] | null | null | null | genie_core/services/KeyBoardService.py | JereMIbq1995/genie-core | f87b6de56749630a46200298f7021047e854c8a3 | [
"MIT"
] | null | null | null | genie_core/services/KeyBoardService.py | JereMIbq1995/genie-core | f87b6de56749630a46200298f7021047e854c8a3 | [
"MIT"
] | null | null | null |
class KeyBoardService():
def __init__(self):
pass
def is_key_pressed(self, *keys):
pass
def is_key_released(self, *key):
pass | 16.4 | 36 | 0.591463 | 20 | 164 | 4.45 | 0.55 | 0.157303 | 0.202247 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.310976 | 164 | 10 | 37 | 16.4 | 0.787611 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
fa97149416601cbc0c317503ce2c46c344e58e58 | 121 | py | Python | src/connections/_sqlalchemy.py | Freonius/tranquillity | bb190b4a8facf643d5018a710100b3ff45d6d640 | [
"MIT"
] | null | null | null | src/connections/_sqlalchemy.py | Freonius/tranquillity | bb190b4a8facf643d5018a710100b3ff45d6d640 | [
"MIT"
] | 20 | 2021-12-31T15:28:20.000Z | 2022-02-15T18:24:16.000Z | src/connections/_sqlalchemy.py | Freonius/tranquillity | bb190b4a8facf643d5018a710100b3ff45d6d640 | [
"MIT"
] | null | null | null | from sqlalchemy.engine import Engine, Connection
from .__interface import IConnection
class Sql(IConnection):
pass
| 17.285714 | 48 | 0.801653 | 14 | 121 | 6.785714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14876 | 121 | 6 | 49 | 20.166667 | 0.92233 | 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 |
faa59189fcb0db287ca016ded409105514d4c263 | 15,742 | py | Python | tests/test_fluids_bw92.py | trhallam/digirock | 05b1199d741a384345a4930605be97369c9ec270 | [
"MIT"
] | null | null | null | tests/test_fluids_bw92.py | trhallam/digirock | 05b1199d741a384345a4930605be97369c9ec270 | [
"MIT"
] | 2 | 2022-02-28T08:51:53.000Z | 2022-02-28T13:24:33.000Z | tests/test_fluids_bw92.py | trhallam/digirock | 05b1199d741a384345a4930605be97369c9ec270 | [
"MIT"
] | null | null | null | """Test functions for pem.fluid.bw92 module
"""
import pytest
from pytest import approx
from _pytest.fixtures import SubRequest
from hypothesis import given, settings, strategies as st
import numpy as np
import digirock.fluids.bw92 as bw92
from .strategies import n_varshp_arrays
@pytest.fixture(scope="... | 28.363964 | 102 | 0.581629 | 2,368 | 15,742 | 3.690456 | 0.092905 | 0.04806 | 0.072091 | 0.085822 | 0.824579 | 0.807758 | 0.780639 | 0.734409 | 0.706374 | 0.671587 | 0 | 0.107007 | 0.248444 | 15,742 | 554 | 103 | 28.415162 | 0.631646 | 0.062826 | 0 | 0.535088 | 0 | 0 | 0.024731 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.074561 | false | 0 | 0.015351 | 0.002193 | 0.092105 | 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 |
fab73276314f39860cdf6b1e49f429594d065a0f | 14,376 | py | Python | codes/models/modules/sftmd_arch.py | Mark-sloan/IKC | f70af607e9434931c22e4971469aaed7683a22a3 | [
"Apache-2.0"
] | 1 | 2020-02-27T09:27:17.000Z | 2020-02-27T09:27:17.000Z | codes/models/modules/sftmd_arch.py | Mark-sloan/IKC | f70af607e9434931c22e4971469aaed7683a22a3 | [
"Apache-2.0"
] | null | null | null | codes/models/modules/sftmd_arch.py | Mark-sloan/IKC | f70af607e9434931c22e4971469aaed7683a22a3 | [
"Apache-2.0"
] | null | null | null | '''
architecture for sftmd
'''
import torch
import torch.nn as nn
import torch.nn.functional as F
class Predictor(nn.Module):
def __init__(self, input_channel=3, code_len=10, ndf=64, use_bias=True):
super(Predictor, self).__init__()
self.ConvNet = nn.Sequential(*[
nn.Conv2d(input_chan... | 42.40708 | 128 | 0.61081 | 2,168 | 14,376 | 3.863007 | 0.061347 | 0.050627 | 0.083582 | 0.055881 | 0.831403 | 0.80406 | 0.79594 | 0.76597 | 0.757612 | 0.739582 | 0 | 0.055586 | 0.250417 | 14,376 | 339 | 129 | 42.40708 | 0.721604 | 0.039093 | 0 | 0.526923 | 0 | 0 | 0.003481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061538 | false | 0 | 0.011538 | 0 | 0.138462 | 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 |
8789474f74a671f6ddfeccf4cb104d024e738101 | 32 | py | Python | poetry/console/commands/cache/__init__.py | hongquan/poetry | d12f6421b1c34067e3968ddec2d821ae7f316af7 | [
"MIT"
] | 1 | 2020-12-22T12:51:11.000Z | 2020-12-22T12:51:11.000Z | poetry/console/commands/cache/__init__.py | hongquan/poetry | d12f6421b1c34067e3968ddec2d821ae7f316af7 | [
"MIT"
] | null | null | null | poetry/console/commands/cache/__init__.py | hongquan/poetry | d12f6421b1c34067e3968ddec2d821ae7f316af7 | [
"MIT"
] | null | null | null | from .cache import CacheCommand
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
359e4a1d1a339ad0c2dbb1f04272dbcd884b9fc0 | 163 | py | Python | HSTB/shared/settings.py | noaa-ocs-hydrography/shared | d2004e803c708dffa43d09d3ffea4e4045811b28 | [
"CC0-1.0"
] | null | null | null | HSTB/shared/settings.py | noaa-ocs-hydrography/shared | d2004e803c708dffa43d09d3ffea4e4045811b28 | [
"CC0-1.0"
] | null | null | null | HSTB/shared/settings.py | noaa-ocs-hydrography/shared | d2004e803c708dffa43d09d3ffea4e4045811b28 | [
"CC0-1.0"
] | null | null | null | from sys import platform
if 'win' in platform:
from .winreg import *
elif 'linux' in platform:
from posixreg import *
import posixreg
posixreg.__init__()
| 18.111111 | 25 | 0.730061 | 22 | 163 | 5.227273 | 0.545455 | 0.173913 | 0.243478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196319 | 163 | 8 | 26 | 20.375 | 0.877863 | 0 | 0 | 0 | 0 | 0 | 0.04908 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 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 |
35d72c0843e71e8c73c42625fa71b7593cdf2c85 | 192 | py | Python | KSFGHAction/__init__.py | KOLANICH-GHActions/KSFGHAction.py | e1d54ae0043d93d8b190f8e758b978bf8e779c51 | [
"Unlicense"
] | null | null | null | KSFGHAction/__init__.py | KOLANICH-GHActions/KSFGHAction.py | e1d54ae0043d93d8b190f8e758b978bf8e779c51 | [
"Unlicense"
] | 3 | 2019-12-23T22:58:40.000Z | 2019-12-25T11:20:13.000Z | KSFGHAction/__init__.py | KOLANICH/KSFGHAction.py | e1d54ae0043d93d8b190f8e758b978bf8e779c51 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python3
import typing
from .utils import ClassDictMeta
from .issueParser import *
from .linter import *
from miniGHAPI.GitHubAPI import *
from miniGHAPI.GHActionsEnv import *
| 19.2 | 36 | 0.791667 | 24 | 192 | 6.333333 | 0.583333 | 0.197368 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.135417 | 192 | 9 | 37 | 21.333333 | 0.909639 | 0.109375 | 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 |
ea230ac82e5bb4386e749cb1be502c5bdba91b6d | 76 | py | Python | dotfiles/common/.gdbinit.d/eigen.py | HaoZeke/Dotfiles | f4ac24b0d7e08d87b1f402af67e463c528b1b69d | [
"Unlicense"
] | 14 | 2018-10-29T18:54:25.000Z | 2021-12-21T00:22:52.000Z | dotfiles/common/.gdbinit.d/eigen.py | HaoZeke/Dotfiles | f4ac24b0d7e08d87b1f402af67e463c528b1b69d | [
"Unlicense"
] | 1 | 2018-08-20T17:41:10.000Z | 2018-08-20T17:42:23.000Z | dotfiles/common/.gdbinit.d/eigen.py | HaoZeke/Dotfiles | f4ac24b0d7e08d87b1f402af67e463c528b1b69d | [
"Unlicense"
] | 3 | 2018-08-20T17:36:29.000Z | 2021-01-23T05:18:30.000Z | # Eigen pretty printer
__import__('eigengdb').register_eigen_printers(None)
| 25.333333 | 52 | 0.828947 | 9 | 76 | 6.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065789 | 76 | 2 | 53 | 38 | 0.802817 | 0.263158 | 0 | 0 | 0 | 0 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
ea37e30aaa000862cd2a845865431af3031ecbc6 | 188 | py | Python | src/plugins/hk_reporter/platform/__init__.py | panda361/nonebot-hk-reporter | b94f6cc31844e9307e355fc81f387ea42501a014 | [
"MIT"
] | null | null | null | src/plugins/hk_reporter/platform/__init__.py | panda361/nonebot-hk-reporter | b94f6cc31844e9307e355fc81f387ea42501a014 | [
"MIT"
] | null | null | null | src/plugins/hk_reporter/platform/__init__.py | panda361/nonebot-hk-reporter | b94f6cc31844e9307e355fc81f387ea42501a014 | [
"MIT"
] | null | null | null | from .bilibili import Bilibili
from .rss import Rss
from .weibo import Weibo
from .utils import check_sub_target
from .platform import PlatformNoTarget
from .utils import platform_manager
| 26.857143 | 38 | 0.840426 | 27 | 188 | 5.740741 | 0.444444 | 0.116129 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 188 | 6 | 39 | 31.333333 | 0.945122 | 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 |
ea4f94dc62eb152286ddb45f21d8cbc92ac2d88f | 1,697 | py | Python | sample_data/make_sample_data.py | mhernan88/reshape_tools | e08de72629079457f4194a8a14dbb8641b5b0a13 | [
"MIT"
] | null | null | null | sample_data/make_sample_data.py | mhernan88/reshape_tools | e08de72629079457f4194a8a14dbb8641b5b0a13 | [
"MIT"
] | null | null | null | sample_data/make_sample_data.py | mhernan88/reshape_tools | e08de72629079457f4194a8a14dbb8641b5b0a13 | [
"MIT"
] | null | null | null | import pandas as pd
from datetime import datetime
def sample_data1() -> pd.DataFrame:
times = [
datetime(year=2020, month=11, day=1),
datetime(year=2020, month=11, day=2),
datetime(year=2020, month=11, day=3),
datetime(year=2020, month=11, day=4),
datetime(year=2020, month=... | 37.711111 | 75 | 0.5769 | 268 | 1,697 | 3.63806 | 0.175373 | 0.246154 | 0.328205 | 0.430769 | 0.916923 | 0.914872 | 0.701538 | 0.673846 | 0.371282 | 0.371282 | 0 | 0.197845 | 0.234532 | 1,697 | 44 | 76 | 38.568182 | 0.552733 | 0 | 0 | 0.315789 | 0 | 0 | 0.027107 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.052632 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ea93a4863758bc25492b7cc4b0d277a031dd4e69 | 427 | py | Python | Python/Tutorial - 3/check.py | JC2295/FCC_Tutorial_Projects | 990e1221b2177acb9e4db0264adab518620404a0 | [
"MIT"
] | null | null | null | Python/Tutorial - 3/check.py | JC2295/FCC_Tutorial_Projects | 990e1221b2177acb9e4db0264adab518620404a0 | [
"MIT"
] | null | null | null | Python/Tutorial - 3/check.py | JC2295/FCC_Tutorial_Projects | 990e1221b2177acb9e4db0264adab518620404a0 | [
"MIT"
] | null | null | null | x = float(input("Enter Number: "))
if(x % 2) == 0 and x > 0:
print("The number you entered is positive and even.")
elif(x % 2) == 0 and x < 0:
print("The number you entered is negative and even.")
elif(x % 2) != 0 and x > 0:
print("The number you entered is positive and odd.")
elif(x % 2) != 0 and x < 0:
... | 32.846154 | 57 | 0.618267 | 77 | 427 | 3.428571 | 0.311688 | 0.030303 | 0.045455 | 0.090909 | 0.757576 | 0.757576 | 0.757576 | 0.757576 | 0.757576 | 0.757576 | 0 | 0.03681 | 0.236534 | 427 | 12 | 58 | 35.583333 | 0.773006 | 0 | 0 | 0 | 0 | 0 | 0.512881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.454545 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
577688ba8ec27db2c2499b1d093cb54fc4a94c4c | 71 | py | Python | Server/app/schema/utils/__init__.py | Team-SeeTo/SeeTo-Backend | 19990cd6f4895e773eaa504f7b7a07ddbb5856e5 | [
"Apache-2.0"
] | 4 | 2018-06-18T06:50:12.000Z | 2018-11-15T00:08:24.000Z | Server/app/schema/utils/__init__.py | Team-SeeTo/SeeTo-Backend | 19990cd6f4895e773eaa504f7b7a07ddbb5856e5 | [
"Apache-2.0"
] | null | null | null | Server/app/schema/utils/__init__.py | Team-SeeTo/SeeTo-Backend | 19990cd6f4895e773eaa504f7b7a07ddbb5856e5 | [
"Apache-2.0"
] | null | null | null | from .activity_logger import idea_activity_logger, todo_activity_logger | 71 | 71 | 0.915493 | 10 | 71 | 6 | 0.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 71 | 1 | 71 | 71 | 0.895522 | 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 |
57a3a8a709c11a11c55c20bbf889cce49b9d06df | 223 | py | Python | adjutant-plugin/mfa_views/models.py | catalyst-cloud/adjutant-mfa | d9e99dd006a895ca33b840e7d92bc5107ec4ba8d | [
"Apache-2.0"
] | 2 | 2018-02-15T12:56:05.000Z | 2018-03-10T09:45:08.000Z | adjutant-plugin/mfa_views/models.py | catalyst-cloud/adjutant-mfa | d9e99dd006a895ca33b840e7d92bc5107ec4ba8d | [
"Apache-2.0"
] | 1 | 2018-05-24T23:08:17.000Z | 2018-05-24T23:08:17.000Z | adjutant-plugin/mfa_views/models.py | catalyst-cloud/adjutant-mfa | d9e99dd006a895ca33b840e7d92bc5107ec4ba8d | [
"Apache-2.0"
] | 3 | 2018-02-09T03:27:43.000Z | 2018-07-02T10:45:35.000Z |
from adjutant.api.v1.models import register_taskview_class
from mfa_views import views
register_taskview_class(r'^openstack/edit-mfa/?$', views.EditMFA)
register_taskview_class(r'^openstack/users/?$', views.UserListMFA)
| 27.875 | 66 | 0.816143 | 31 | 223 | 5.645161 | 0.548387 | 0.274286 | 0.36 | 0.251429 | 0.354286 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004808 | 0.067265 | 223 | 7 | 67 | 31.857143 | 0.836538 | 0 | 0 | 0 | 0 | 0 | 0.184685 | 0.099099 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
57bd96ec29c38dc1f3e044540afbb8ecbffccd50 | 106 | py | Python | dogpile/__init__.py | dhellmann/dogpile.cache | 03cbee8b9a812a78a37fe1d54edafe848f696737 | [
"MIT"
] | null | null | null | dogpile/__init__.py | dhellmann/dogpile.cache | 03cbee8b9a812a78a37fe1d54edafe848f696737 | [
"MIT"
] | null | null | null | dogpile/__init__.py | dhellmann/dogpile.cache | 03cbee8b9a812a78a37fe1d54edafe848f696737 | [
"MIT"
] | null | null | null | __version__ = '0.9.3'
from .lock import Lock # noqa
from .lock import NeedRegenerationException # noqa
| 21.2 | 51 | 0.745283 | 14 | 106 | 5.357143 | 0.642857 | 0.213333 | 0.373333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.169811 | 106 | 4 | 52 | 26.5 | 0.818182 | 0.084906 | 0 | 0 | 0 | 0 | 0.053191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
17f4968f43abac4e2306cd72253ba000d15a0329 | 49 | py | Python | bitswap/block_storage/__init__.py | VladislavSufyanov/py-bitswap | 875d15944e485c33b16af9965f24c1d85cb34c55 | [
"MIT"
] | null | null | null | bitswap/block_storage/__init__.py | VladislavSufyanov/py-bitswap | 875d15944e485c33b16af9965f24c1d85cb34c55 | [
"MIT"
] | null | null | null | bitswap/block_storage/__init__.py | VladislavSufyanov/py-bitswap | 875d15944e485c33b16af9965f24c1d85cb34c55 | [
"MIT"
] | null | null | null | from .base_block_storage import BaseBlockStorage
| 24.5 | 48 | 0.897959 | 6 | 49 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 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 |
aa177fa6cb0e8f56b34cd0aa79227c8c06214fe1 | 85 | py | Python | src/lib/__init__.py | nekoffski/bachelor-thesis | 23f350e2c5e0a184620bf66f851be6e94df7cdbb | [
"MIT"
] | 2 | 2021-08-09T09:00:34.000Z | 2021-08-20T09:31:00.000Z | src/lib/__init__.py | nekoffski/bachelor-thesis | 23f350e2c5e0a184620bf66f851be6e94df7cdbb | [
"MIT"
] | null | null | null | src/lib/__init__.py | nekoffski/bachelor-thesis | 23f350e2c5e0a184620bf66f851be6e94df7cdbb | [
"MIT"
] | null | null | null | from .cvision import *
from .models import *
from .net import *
from .util import *
| 14.166667 | 22 | 0.705882 | 12 | 85 | 5 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 85 | 5 | 23 | 17 | 0.882353 | 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 |
aa1c025ad6114c52c33a5057e8bad9a15f3be813 | 10,790 | py | Python | yemek.py | raydingoz/cerrahapp | 81a242dcf20d525f44a54f025414e9e8775caa37 | [
"MIT"
] | 2 | 2017-12-14T10:30:45.000Z | 2022-01-11T19:19:33.000Z | yemek.py | raydingoz/cerrahapp | 81a242dcf20d525f44a54f025414e9e8775caa37 | [
"MIT"
] | null | null | null | yemek.py | raydingoz/cerrahapp | 81a242dcf20d525f44a54f025414e9e8775caa37 | [
"MIT"
] | null | null | null | ##bu python kodu, selenium ve chromedriver ile çalışmakta, siteyi normal kullanıcı gibi ziyaret edip, gerekli verileri parse ediyor
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
import os
from bs4 import BeautifulSoup
import time, datetime
import json
import requests
import sys
... | 29.80663 | 149 | 0.510843 | 1,252 | 10,790 | 4.299521 | 0.140575 | 0.033439 | 0.055731 | 0.061304 | 0.73695 | 0.732305 | 0.712985 | 0.712428 | 0.712428 | 0.696823 | 0 | 0.059669 | 0.283967 | 10,790 | 361 | 150 | 29.889197 | 0.63707 | 0.03392 | 0 | 0.748408 | 0 | 0 | 0.174589 | 0.034092 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028662 | false | 0 | 0.031847 | 0 | 0.06051 | 0.136943 | 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 |
aa23ed79c757b361839b4005aa702d809d5ea5a0 | 43 | py | Python | Very Easy/hello.py | Maverick-cmd/Python-Practice | 4dc3f1eb5d633e20057052531cfc6e04772bc061 | [
"MIT"
] | null | null | null | Very Easy/hello.py | Maverick-cmd/Python-Practice | 4dc3f1eb5d633e20057052531cfc6e04772bc061 | [
"MIT"
] | null | null | null | Very Easy/hello.py | Maverick-cmd/Python-Practice | 4dc3f1eb5d633e20057052531cfc6e04772bc061 | [
"MIT"
] | null | null | null | def hello():
return "hello edabit.com"
| 14.333333 | 29 | 0.651163 | 6 | 43 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 43 | 2 | 30 | 21.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
aa282f1ac7388b3707ced3a023f5c1233c6cf501 | 156 | py | Python | tests/middlewares/__init__.py | caputomarcos/mongorest | 57d6b28d75e18afed5cef7160522958153b5be15 | [
"BSD-3-Clause"
] | 16 | 2015-04-18T02:51:09.000Z | 2020-12-15T18:05:16.000Z | tests/middlewares/__init__.py | caputomarcos/mongorest | 57d6b28d75e18afed5cef7160522958153b5be15 | [
"BSD-3-Clause"
] | 8 | 2015-11-24T23:06:03.000Z | 2016-07-21T17:57:59.000Z | tests/middlewares/__init__.py | caputomarcos/mongorest | 57d6b28d75e18afed5cef7160522958153b5be15 | [
"BSD-3-Clause"
] | 2 | 2015-12-04T13:45:32.000Z | 2016-06-11T13:44:53.000Z | # -*- encoding: UTF-8 -*-
from __future__ import absolute_import, unicode_literals
from .authentication_middleware import *
from .cors_middleware import *
| 26 | 56 | 0.788462 | 18 | 156 | 6.388889 | 0.666667 | 0.278261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.121795 | 156 | 5 | 57 | 31.2 | 0.832117 | 0.147436 | 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 |
a4ea59238b7b0825e3fc20672e4667b0dd688bec | 165 | py | Python | fnss/traffic/__init__.py | brucespang/fnss | 8e1d95744347afa77383092e6f144980d84e222d | [
"BSD-2-Clause"
] | 114 | 2015-01-19T14:15:07.000Z | 2022-02-22T01:47:19.000Z | fnss/traffic/__init__.py | brucespang/fnss | 8e1d95744347afa77383092e6f144980d84e222d | [
"BSD-2-Clause"
] | 15 | 2016-02-11T09:09:02.000Z | 2021-04-05T12:57:09.000Z | fnss/traffic/__init__.py | brucespang/fnss | 8e1d95744347afa77383092e6f144980d84e222d | [
"BSD-2-Clause"
] | 36 | 2015-02-08T12:28:04.000Z | 2021-11-19T06:08:17.000Z | """Tools for creating and manipulating event schedules and traffic matrices"""
from fnss.traffic.eventscheduling import *
from fnss.traffic.trafficmatrices import *
| 41.25 | 78 | 0.818182 | 20 | 165 | 6.75 | 0.7 | 0.118519 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 165 | 3 | 79 | 55 | 0.918367 | 0.436364 | 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 |
354a546386259b039381e2eef2517c0b0f0d4c22 | 150 | py | Python | pyomt5/api/__init__.py | paulorodriguesxv/pyomt5 | 9287395f9f72b049c945e625e3b75c491ae50407 | [
"MIT"
] | 8 | 2019-09-06T02:44:04.000Z | 2021-07-08T04:10:11.000Z | pyomt5/api/__init__.py | dausech/pyomt5 | 691dbf7b9732728425e57a7b9055d971838c5c4d | [
"MIT"
] | null | null | null | pyomt5/api/__init__.py | dausech/pyomt5 | 691dbf7b9732728425e57a7b9055d971838c5c4d | [
"MIT"
] | 2 | 2019-09-10T16:41:16.000Z | 2020-10-14T13:49:33.000Z | from .metatradercom import (MetatraderCom, ConnectionTimeoutError,
DataNotFoundError)
from .timeframe import MT5TimeFrame
| 37.5 | 66 | 0.706667 | 10 | 150 | 10.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.253333 | 150 | 3 | 67 | 50 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
103fc50711d0b0de84f01f2724705c3318868eda | 273 | py | Python | src/aijack/attack/inversion/__init__.py | luoshenseeker/AIJack | 4e871a5b3beb4b7c976d38060d6956efcebf880d | [
"MIT"
] | 1 | 2022-03-17T21:17:44.000Z | 2022-03-17T21:17:44.000Z | src/aijack/attack/inversion/__init__.py | luoshenseeker/AIJack | 4e871a5b3beb4b7c976d38060d6956efcebf880d | [
"MIT"
] | null | null | null | src/aijack/attack/inversion/__init__.py | luoshenseeker/AIJack | 4e871a5b3beb4b7c976d38060d6956efcebf880d | [
"MIT"
] | 1 | 2022-03-17T21:17:46.000Z | 2022-03-17T21:17:46.000Z | from .gan_attack import GAN_Attack # noqa: F401
from .generator_attack import Generator_Attack # noqa: F401
from .gradientinversion import GradientInversion_Attack # noqa: F401
from .mi_face import MI_FACE # noqa: F401
from .utils import DataRepExtractor # noqa: F401
| 45.5 | 69 | 0.798535 | 37 | 273 | 5.702703 | 0.324324 | 0.189573 | 0.227488 | 0.255924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064378 | 0.14652 | 273 | 5 | 70 | 54.6 | 0.841202 | 0.197802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1071230a1f43893cad26a92ac7143ffa8a21a932 | 47 | py | Python | Lesson5/srez.py | shinkai-tester/python_beginner | a934328c9a50241cc3f02a423060e16aab53b425 | [
"Apache-2.0"
] | 2 | 2021-06-01T13:24:04.000Z | 2021-06-01T13:27:47.000Z | Lesson5/srez.py | shinkai-tester/python_beginner | a934328c9a50241cc3f02a423060e16aab53b425 | [
"Apache-2.0"
] | null | null | null | Lesson5/srez.py | shinkai-tester/python_beginner | a934328c9a50241cc3f02a423060e16aab53b425 | [
"Apache-2.0"
] | null | null | null | a = [1, 2, 3, 4, 5]
b = a[:3]
print(b)
print(a) | 11.75 | 19 | 0.446809 | 13 | 47 | 1.615385 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.234043 | 47 | 4 | 20 | 11.75 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
10a46c5b25f3ebf58bddf11dc9dfc17dcf31469d | 8,540 | py | Python | tests/ocr/test_suggestion_medication_administration.py | lifeomic/phc-sdk-py | 51709c1c2f129a3fbe336a44e4d501ae0249859e | [
"MIT"
] | 1 | 2020-07-22T12:46:58.000Z | 2020-07-22T12:46:58.000Z | tests/ocr/test_suggestion_medication_administration.py | lifeomic/phc-sdk-py | 51709c1c2f129a3fbe336a44e4d501ae0249859e | [
"MIT"
] | 54 | 2019-10-09T16:19:04.000Z | 2022-01-19T20:28:59.000Z | tests/ocr/test_suggestion_medication_administration.py | lifeomic/phc-sdk-py | 51709c1c2f129a3fbe336a44e4d501ae0249859e | [
"MIT"
] | 2 | 2019-10-30T19:54:43.000Z | 2020-12-03T18:57:15.000Z | import pandas as pd
from phc.easy.ocr.suggestion import (expand_array_column,
expand_medication_administrations,
frame_for_type)
sample = expand_array_column(
pd.DataFrame(
[
{
"suggestions": [
... | 45.668449 | 96 | 0.353396 | 481 | 8,540 | 6.027027 | 0.212058 | 0.09486 | 0.093136 | 0.06623 | 0.801656 | 0.801656 | 0.777165 | 0.713694 | 0.668161 | 0.668161 | 0 | 0.100953 | 0.545316 | 8,540 | 186 | 97 | 45.913978 | 0.645635 | 0 | 0 | 0.549451 | 0 | 0 | 0.300117 | 0.08911 | 0 | 0 | 0 | 0 | 0.005495 | 1 | 0.005495 | false | 0 | 0.010989 | 0 | 0.016484 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 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 |
10ae75ed502594e92857e84f0c648a364231335c | 158 | py | Python | ISA/Util/__init__.py | tumido/FIT-VUT-projects | 0e23c38a11d0aee55921e15b8865256efddefc53 | [
"BSD-2-Clause"
] | null | null | null | ISA/Util/__init__.py | tumido/FIT-VUT-projects | 0e23c38a11d0aee55921e15b8865256efddefc53 | [
"BSD-2-Clause"
] | null | null | null | ISA/Util/__init__.py | tumido/FIT-VUT-projects | 0e23c38a11d0aee55921e15b8865256efddefc53 | [
"BSD-2-Clause"
] | 3 | 2015-05-16T00:29:59.000Z | 2021-02-03T00:31:16.000Z | from .Announce import get_announce, announce_to_txt
from .Torrent import get_torrent_file, parse_torrent_file
from .Tracker import get_peerlist, save_peerlist | 52.666667 | 57 | 0.873418 | 24 | 158 | 5.375 | 0.5 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088608 | 158 | 3 | 58 | 52.666667 | 0.895833 | 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 |
52b9eddf6573e3f16266c439e6b72ad18cdb718c | 24 | py | Python | __init__.py | yuta-hi/chainer_extensions | f0dbc898623c25251aa0820bfda8417e9edced6a | [
"MIT"
] | 1 | 2020-01-23T10:15:53.000Z | 2020-01-23T10:15:53.000Z | __init__.py | yuta-hi/chainer_extensions | f0dbc898623c25251aa0820bfda8417e9edced6a | [
"MIT"
] | null | null | null | __init__.py | yuta-hi/chainer_extensions | f0dbc898623c25251aa0820bfda8417e9edced6a | [
"MIT"
] | null | null | null | from . import extensions | 24 | 24 | 0.833333 | 3 | 24 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eaae12f421ef051bdaca1bac1d8f9528a09f72e1 | 4,036 | py | Python | tests/nn/softmax_test.py | kbrodt/tor4 | d09740b746c534e67a72f492c7c03654f5888a46 | [
"MIT"
] | null | null | null | tests/nn/softmax_test.py | kbrodt/tor4 | d09740b746c534e67a72f492c7c03654f5888a46 | [
"MIT"
] | null | null | null | tests/nn/softmax_test.py | kbrodt/tor4 | d09740b746c534e67a72f492c7c03654f5888a46 | [
"MIT"
] | null | null | null | import numpy as np
import tor4
import tor4.nn as nn
def test_softmax():
a = tor4.tensor(data=[0, 0, 0.0])
a_sm = nn.functional.softmax(a, dim=0)
assert not a_sm.requires_grad
assert a_sm.tolist() == [1 / 3, 1 / 3, 1 / 3]
def test_softmax2():
a = tor4.tensor(data=[[0, 0, 0], [0, 0, 0.0]])
a... | 28.422535 | 88 | 0.529485 | 697 | 4,036 | 2.965567 | 0.091822 | 0.032898 | 0.034833 | 0.029028 | 0.870827 | 0.8597 | 0.806967 | 0.791485 | 0.732946 | 0.732946 | 0 | 0.178393 | 0.256938 | 4,036 | 141 | 89 | 28.624113 | 0.510837 | 0 | 0 | 0.60177 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238938 | 1 | 0.079646 | false | 0 | 0.026549 | 0 | 0.106195 | 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 |
eacbdadce424c8674d1462fffb1cb970c545200c | 2,506 | py | Python | emails/utils.py | jmhubbard/quote_of_the_day_custom_user | 27024b2953c1c94fd2970563c3ab31ad444912b6 | [
"Unlicense"
] | 1 | 2020-11-25T04:57:16.000Z | 2020-11-25T04:57:16.000Z | emails/utils.py | jmhubbard/quote_of_the_day_custom_user | 27024b2953c1c94fd2970563c3ab31ad444912b6 | [
"Unlicense"
] | null | null | null | emails/utils.py | jmhubbard/quote_of_the_day_custom_user | 27024b2953c1c94fd2970563c3ab31ad444912b6 | [
"Unlicense"
] | null | null | null | import os
from django.core.mail import send_mail
from django.urls import reverse
from django.contrib.sites.models import Site
from django.template.loader import render_to_string
def email_all_users_an_email(user, showlist):
#Gets the current domain name
domain = Site.objects.get_current().domain
# revers... | 30.560976 | 83 | 0.65842 | 329 | 2,506 | 4.799392 | 0.197568 | 0.056998 | 0.062065 | 0.075997 | 0.824573 | 0.824573 | 0.788474 | 0.759341 | 0.759341 | 0.702343 | 0 | 0 | 0.233041 | 2,506 | 82 | 84 | 30.560976 | 0.82154 | 0.101756 | 0 | 0.597015 | 0 | 0 | 0.175868 | 0.043633 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059701 | false | 0 | 0.074627 | 0 | 0.179104 | 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 |
eadcff9016e474eb3c8f61f0826e29c9a4160b3b | 159 | py | Python | accounts/admin.py | kamel2700/Build-a-team-for-Startup | 3955eb5a990e27f100981b7186f3593f7b821128 | [
"MIT"
] | null | null | null | accounts/admin.py | kamel2700/Build-a-team-for-Startup | 3955eb5a990e27f100981b7186f3593f7b821128 | [
"MIT"
] | null | null | null | accounts/admin.py | kamel2700/Build-a-team-for-Startup | 3955eb5a990e27f100981b7186f3593f7b821128 | [
"MIT"
] | null | null | null | from django.contrib import admin
from accounts.models import *
admin.site.register(UserProfile)
admin.site.register(ProjectPage)
admin.site.register(Comment)
| 22.714286 | 32 | 0.830189 | 21 | 159 | 6.285714 | 0.571429 | 0.204545 | 0.386364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 159 | 6 | 33 | 26.5 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 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 |
eaea558a7bb60d7e0462270ff2a5a8f1d8c33727 | 248 | py | Python | tests/python-reference/bool/bool-isinstance.py | jpolitz/lambda-py-paper | 746ef63fc1123714b4adaf78119028afbea7bd76 | [
"Apache-2.0"
] | 25 | 2015-04-16T04:31:49.000Z | 2022-03-10T15:53:28.000Z | tests/python-reference/bool/bool-isinstance.py | jpolitz/lambda-py-paper | 746ef63fc1123714b4adaf78119028afbea7bd76 | [
"Apache-2.0"
] | 1 | 2018-11-21T22:40:02.000Z | 2018-11-26T17:53:11.000Z | tests/python-reference/bool/bool-isinstance.py | jpolitz/lambda-py-paper | 746ef63fc1123714b4adaf78119028afbea7bd76 | [
"Apache-2.0"
] | 1 | 2021-03-26T03:36:19.000Z | 2021-03-26T03:36:19.000Z | ___assertIs(isinstance(True, bool), True)
___assertIs(isinstance(False, bool), True)
___assertIs(isinstance(True, int), True)
___assertIs(isinstance(False, int), True)
___assertIs(isinstance(1, bool), False)
___assertIs(isinstance(0, bool), False)
| 35.428571 | 42 | 0.782258 | 30 | 248 | 5.866667 | 0.266667 | 0.613636 | 0.5 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.072581 | 248 | 6 | 43 | 41.333333 | 0.756522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eaff872f4834bf2846f82c2e9bc383d651070c30 | 129 | py | Python | starfish/image/_segmentation/__init__.py | ttung/starfish | 1bd8abf55a335620e4b20abb041f478334714081 | [
"MIT"
] | null | null | null | starfish/image/_segmentation/__init__.py | ttung/starfish | 1bd8abf55a335620e4b20abb041f478334714081 | [
"MIT"
] | null | null | null | starfish/image/_segmentation/__init__.py | ttung/starfish | 1bd8abf55a335620e4b20abb041f478334714081 | [
"MIT"
] | null | null | null | from starfish.pipeline import import_all_submodules
from ._base import Segmentation
import_all_submodules(__file__, __package__)
| 32.25 | 51 | 0.883721 | 16 | 129 | 6.3125 | 0.625 | 0.178218 | 0.376238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077519 | 129 | 3 | 52 | 43 | 0.84874 | 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 |
d81f398ba332a8ddc4a369fda6218312310af6ed | 33 | py | Python | test/regression/features/imports/fromImport.py | ppelleti/berp | 30925288376a6464695341445688be64ac6b2600 | [
"BSD-3-Clause"
] | 90 | 2015-02-03T23:56:30.000Z | 2022-02-10T03:55:32.000Z | test/regression/features/imports/fromImport.py | ppelleti/berp | 30925288376a6464695341445688be64ac6b2600 | [
"BSD-3-Clause"
] | 4 | 2015-04-01T13:49:13.000Z | 2019-07-09T19:28:56.000Z | test/regression/features/imports/fromImport.py | bjpop/berp | 30925288376a6464695341445688be64ac6b2600 | [
"BSD-3-Clause"
] | 8 | 2015-04-25T03:47:52.000Z | 2019-07-27T06:33:56.000Z | from DefinesX import x
print(x)
| 8.25 | 22 | 0.757576 | 6 | 33 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 33 | 3 | 23 | 11 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
dc36fd31dfeeb75d7050190c4caf81b68761883e | 8,634 | py | Python | megumin/modulos/admin/mute.py | davitudoplugins1234/WhiterKang | f4779d2c440849fa97e7014cd856f885b0abbc87 | [
"MIT"
] | 2 | 2022-02-01T17:55:44.000Z | 2022-03-27T17:21:55.000Z | megumin/modulos/admin/mute.py | davitudoplugins1234/WhiterKang | f4779d2c440849fa97e7014cd856f885b0abbc87 | [
"MIT"
] | null | null | null | megumin/modulos/admin/mute.py | davitudoplugins1234/WhiterKang | f4779d2c440849fa97e7014cd856f885b0abbc87 | [
"MIT"
] | null | null | null | import asyncio
from pyrogram import filters
from pyrogram.errors import PeerIdInvalid, UserIdInvalid, UsernameInvalid
from pyrogram.types import ChatPermissions, Message
from megumin import megux
from megumin.utils import (
check_bot_rights,
check_rights,
extract_time,
is_admin,
is_dev,
is_sel... | 39.245455 | 163 | 0.643734 | 1,143 | 8,634 | 4.71741 | 0.160105 | 0.036721 | 0.088279 | 0.02003 | 0.813427 | 0.802485 | 0.796921 | 0.774295 | 0.766877 | 0.759829 | 0 | 0.002929 | 0.248668 | 8,634 | 219 | 164 | 39.424658 | 0.827347 | 0.003243 | 0 | 0.663462 | 0 | 0.033654 | 0.294049 | 0.009182 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028846 | 0 | 0.163462 | 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 |
dc49d0efef00a025032ec403a6bd5a00b82ee89b | 140 | py | Python | python/module/calc/example.py | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | null | null | null | python/module/calc/example.py | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | 1 | 2016-09-15T07:06:15.000Z | 2016-09-15T07:06:15.000Z | python/module/calc/example.py | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | null | null | null | #!/usr/bin/python35
import calc
from calc import mult
print(calc.add(1, 2))
print(calc.dec(2, 3))
print(calc.div(1, 2))
print(mult(2, 3))
| 14 | 21 | 0.678571 | 28 | 140 | 3.392857 | 0.5 | 0.284211 | 0.147368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081301 | 0.121429 | 140 | 9 | 22 | 15.555556 | 0.691057 | 0.128571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
dc52b025b8a7aecbe2b78cacb4452f154781595d | 88 | py | Python | catkin_ws/src/00-infrastructure/easy_logs/include/easy_logs/cli/__init__.py | yxiao1996/dev | e2181233aaa3d16c472b792b58fc4863983825bd | [
"CC-BY-2.0"
] | 2 | 2018-06-25T02:51:25.000Z | 2018-06-25T02:51:27.000Z | catkin_ws/src/00-infrastructure/easy_logs/include/easy_logs/cli/__init__.py | yxiao1996/dev | e2181233aaa3d16c472b792b58fc4863983825bd | [
"CC-BY-2.0"
] | null | null | null | catkin_ws/src/00-infrastructure/easy_logs/include/easy_logs/cli/__init__.py | yxiao1996/dev | e2181233aaa3d16c472b792b58fc4863983825bd | [
"CC-BY-2.0"
] | 2 | 2018-09-04T06:44:21.000Z | 2018-10-15T02:30:50.000Z | from .easy_logs_summary_imp import *
from .dropbox_links import *
from .require import * | 29.333333 | 36 | 0.806818 | 13 | 88 | 5.153846 | 0.692308 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 88 | 3 | 37 | 29.333333 | 0.87013 | 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 |
dc7d2a5bf7773798fe0cb25e532c00e8fdc1e5bb | 148 | py | Python | utils/postprocessing/__init__.py | bdvllrs/misinformation-detection-tensor-embeddings | eb43e55fb7d4317f4ca0d5c1db8191be3d543716 | [
"MIT"
] | 7 | 2020-03-18T03:40:48.000Z | 2021-12-29T11:04:53.000Z | utils/postprocessing/__init__.py | bdvllrs/misinformation-detection-tensor-embeddings | eb43e55fb7d4317f4ca0d5c1db8191be3d543716 | [
"MIT"
] | null | null | null | utils/postprocessing/__init__.py | bdvllrs/misinformation-detection-tensor-embeddings | eb43e55fb7d4317f4ca0d5c1db8191be3d543716 | [
"MIT"
] | 3 | 2019-09-30T05:41:59.000Z | 2020-12-03T19:49:10.000Z | from utils.postprocessing.PostProcessing import PostProcessing
from utils.postprocessing.SelectLabelsPostprocessor import SelectLabelsPostprocessor
| 49.333333 | 84 | 0.918919 | 12 | 148 | 11.333333 | 0.416667 | 0.132353 | 0.338235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 148 | 2 | 85 | 74 | 0.971429 | 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 | 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 |
dcbbfc2a1126bf01e035f0cedab6dd794f1ffb72 | 48 | py | Python | user_orders/models/__init__.py | Vitamal/shop | facf04da00b8b674f2d8024aca4dae272a0c3de8 | [
"MIT"
] | null | null | null | user_orders/models/__init__.py | Vitamal/shop | facf04da00b8b674f2d8024aca4dae272a0c3de8 | [
"MIT"
] | null | null | null | user_orders/models/__init__.py | Vitamal/shop | facf04da00b8b674f2d8024aca4dae272a0c3de8 | [
"MIT"
] | null | null | null | from .order import Order
from .user import User
| 16 | 24 | 0.791667 | 8 | 48 | 4.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 25 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f4da84214e93efb0d8a87ad63fc141e1f58417ac | 166 | py | Python | maguey/tests/test_systems_api.py | andrewmagill/maguey | 54efb60a5cab432cf5a3f1cbdaae0d1ffd1f3763 | [
"MIT"
] | null | null | null | maguey/tests/test_systems_api.py | andrewmagill/maguey | 54efb60a5cab432cf5a3f1cbdaae0d1ffd1f3763 | [
"MIT"
] | null | null | null | maguey/tests/test_systems_api.py | andrewmagill/maguey | 54efb60a5cab432cf5a3f1cbdaae0d1ffd1f3763 | [
"MIT"
] | null | null | null | from unittest import TestCase
import maguey
class TestSystems(TestCase):
def test_add_system(self):
pass
def test_delete_system(self):
pass
| 16.6 | 33 | 0.704819 | 21 | 166 | 5.380952 | 0.666667 | 0.123894 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240964 | 166 | 9 | 34 | 18.444444 | 0.896825 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0.285714 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f4e13e171e02dd82b6bb13fe5bf5609262caa599 | 4,284 | py | Python | tests/test_compare.py | grst/jupytext | 0bbcd61297d8ee75b4f0329e2617acbbade3eb10 | [
"MIT"
] | null | null | null | tests/test_compare.py | grst/jupytext | 0bbcd61297d8ee75b4f0329e2617acbbade3eb10 | [
"MIT"
] | null | null | null | tests/test_compare.py | grst/jupytext | 0bbcd61297d8ee75b4f0329e2617acbbade3eb10 | [
"MIT"
] | null | null | null | import pytest
from nbformat.v4.nbbase import new_notebook, \
new_markdown_cell, new_code_cell, new_raw_cell
import jupytext
from jupytext.compare import compare_notebooks, \
test_round_trip_conversion as round_trip_conversion
jupytext.file_format_version.FILE_FORMAT_VERSION = {}
def test_raise_on_different_m... | 34 | 78 | 0.613445 | 498 | 4,284 | 4.921687 | 0.130522 | 0.098735 | 0.124031 | 0.147287 | 0.820481 | 0.782538 | 0.763362 | 0.763362 | 0.741738 | 0.729498 | 0 | 0.00666 | 0.264006 | 4,284 | 125 | 79 | 34.272 | 0.770695 | 0 | 0 | 0.60396 | 0 | 0 | 0.119281 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 1 | 0.108911 | false | 0 | 0.039604 | 0 | 0.148515 | 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 |
52408c78b60c7bc5958da33b916643304a15847c | 20,554 | py | Python | monk/tf_keras_1/finetune/level_11_optimizers_main.py | Sanskar329/monk_v1 | 51a497a925ec1fb2c8fef1d51245ea7040a5a65a | [
"Apache-2.0"
] | 7 | 2020-07-26T08:37:29.000Z | 2020-10-30T10:23:11.000Z | monk/tf_keras_1/finetune/level_11_optimizers_main.py | mursalfk/monk_v1 | 62f34a52f242772186ffff7e56764e958fbcd920 | [
"Apache-2.0"
] | null | null | null | monk/tf_keras_1/finetune/level_11_optimizers_main.py | mursalfk/monk_v1 | 62f34a52f242772186ffff7e56764e958fbcd920 | [
"Apache-2.0"
] | null | null | null | from tf_keras_1.finetune.imports import *
from system.imports import *
from tf_keras_1.finetune.level_10_schedulers_main import prototype_schedulers
class prototype_optimizers(prototype_schedulers):
'''
Main class for all optimizers in expert mode
Args:
verbose (int): Set verbosity levels
... | 58.062147 | 151 | 0.579352 | 2,183 | 20,554 | 5.303252 | 0.068713 | 0.059083 | 0.068671 | 0.041462 | 0.926924 | 0.90628 | 0.894619 | 0.892286 | 0.892286 | 0.865768 | 0 | 0.014103 | 0.192761 | 20,554 | 353 | 152 | 58.226629 | 0.683643 | 0.205994 | 0 | 0.664474 | 0 | 0 | 0.200562 | 0.003493 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059211 | false | 0 | 0.019737 | 0 | 0.085526 | 0.348684 | 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 |
bfde0530e9195e24f4af021d544ddf9f69b16e9f | 38,456 | py | Python | tests/integration/resources_permissions/test_epics_resources.py | aavcc/taiga-openshift | 7c33284573ceed38f755b8159ad83f3f68d2f7cb | [
"MIT"
] | null | null | null | tests/integration/resources_permissions/test_epics_resources.py | aavcc/taiga-openshift | 7c33284573ceed38f755b8159ad83f3f68d2f7cb | [
"MIT"
] | 12 | 2019-11-25T14:08:32.000Z | 2021-06-24T10:35:51.000Z | tests/integration/resources_permissions/test_epics_resources.py | threefoldtech/Threefold-Circles | cbc433796b25cf7af9a295af65d665a4a279e2d6 | [
"Apache-2.0"
] | 1 | 2018-06-07T10:58:15.000Z | 2018-06-07T10:58:15.000Z | # -*- coding: utf-8 -*-
# Copyright (C) 2014-2017 Andrey Antukh <niwi@niwi.nz>
# Copyright (C) 2014-2017 Jesús Espino <jespinog@gmail.com>
# Copyright (C) 2014-2017 David Barragán <bameda@dbarragan.com>
# Copyright (C) 2014-2017 Alejandro Alonso <alejandro.alonso@kaleidos.net>
# Copyright (C) 2014-2017 Anler Hernández ... | 42.120482 | 122 | 0.661145 | 4,851 | 38,456 | 4.987631 | 0.054422 | 0.029014 | 0.044555 | 0.06365 | 0.865716 | 0.834387 | 0.8143 | 0.795991 | 0.788427 | 0.773466 | 0 | 0.048151 | 0.218561 | 38,456 | 912 | 123 | 42.166667 | 0.75698 | 0.02993 | 0 | 0.685675 | 0 | 0 | 0.070973 | 0.004506 | 0 | 0 | 0 | 0 | 0.122392 | 1 | 0.031989 | false | 0 | 0.023644 | 0 | 0.057024 | 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 |
bfe43a1f982ed9fd7da447c90684b4c6aa5f68e2 | 48 | py | Python | src/deepke/name_entity_re/__init__.py | johncolezhang/DeepKE | ea4552ec42cb003a835f00fc14fb454f9a9a7183 | [
"MIT"
] | 710 | 2021-08-01T16:43:59.000Z | 2022-03-31T08:39:17.000Z | src/deepke/name_entity_re/__init__.py | johncolezhang/DeepKE | ea4552ec42cb003a835f00fc14fb454f9a9a7183 | [
"MIT"
] | 66 | 2019-06-09T12:14:31.000Z | 2021-07-27T05:54:35.000Z | src/deepke/name_entity_re/__init__.py | johncolezhang/DeepKE | ea4552ec42cb003a835f00fc14fb454f9a9a7183 | [
"MIT"
] | 183 | 2018-09-07T06:57:13.000Z | 2021-08-01T08:50:15.000Z | from .standard import *
from .few_shot import *
| 16 | 23 | 0.75 | 7 | 48 | 5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 24 | 24 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8757b04fd4b2fb6a8af17658469898c40069ccbc | 4,776 | py | Python | tests/package/aeronpy/archive_test.py | welly87/aeron-python | 300a4344dd7f1526aeafb3a23fe5c85fb3313ad1 | [
"Apache-2.0"
] | 9 | 2018-11-16T03:06:22.000Z | 2022-03-13T19:14:15.000Z | tests/package/aeronpy/archive_test.py | welly87/aeron-python | 300a4344dd7f1526aeafb3a23fe5c85fb3313ad1 | [
"Apache-2.0"
] | 1 | 2021-11-10T12:43:09.000Z | 2021-11-10T12:43:09.000Z | tests/package/aeronpy/archive_test.py | welly87/aeron-python | 300a4344dd7f1526aeafb3a23fe5c85fb3313ad1 | [
"Apache-2.0"
] | 7 | 2019-01-21T13:52:03.000Z | 2022-03-08T21:09:06.000Z | import os
from hamcrest import *
from pytest import fixture
from tempfile import _get_candidate_names as temp_dir_candidates, tempdir
from time import sleep
from aeronpy import Archive
from aeronpy.driver import archiving_media_driver
@fixture()
def aeron_directory():
temp_dirs = temp_dir_candidates()
where ... | 33.398601 | 105 | 0.751884 | 652 | 4,776 | 5.174847 | 0.138037 | 0.080024 | 0.070539 | 0.053349 | 0.809425 | 0.806165 | 0.795495 | 0.773266 | 0.747184 | 0.733254 | 0 | 0.025592 | 0.132747 | 4,776 | 142 | 106 | 33.633803 | 0.788991 | 0 | 0 | 0.628866 | 0 | 0 | 0.044598 | 0 | 0 | 0 | 0 | 0 | 0.278351 | 1 | 0.103093 | false | 0 | 0.072165 | 0 | 0.185567 | 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 |
876886b10c5d7283b41479e686ebe38301aec6fb | 477 | py | Python | examples/src/python/example/tensorflow_custom_op/zero_out_custom_op.py | anthonyjpratti/pants | d98e53af6ddd877861231bce8343f8204da0a9d1 | [
"Apache-2.0"
] | 1 | 2020-08-26T03:30:31.000Z | 2020-08-26T03:30:31.000Z | examples/src/python/example/tensorflow_custom_op/zero_out_custom_op.py | wisechengyi/SCL-16273 | 18ed1fb4212879150ae5b292137d058894051fc6 | [
"Apache-2.0"
] | 1 | 2020-01-21T16:34:02.000Z | 2020-01-21T16:34:02.000Z | examples/src/python/example/tensorflow_custom_op/zero_out_custom_op.py | wisechengyi/SCL-16273 | 18ed1fb4212879150ae5b292137d058894051fc6 | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
import tensorflow as tf
# TODO: It would be great if we could maintain the example.tensorflow_custom_op package prefix for
# this python_dist()!
from wrap_lib.wrap_zero_out_op import zero_... | 36.692308 | 98 | 0.802935 | 82 | 477 | 4.439024 | 0.670732 | 0.076923 | 0.074176 | 0.065934 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014634 | 0.140461 | 477 | 12 | 99 | 39.75 | 0.873171 | 0.643606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
876d3c5c12899518f4cf30525e0379bbda345c36 | 35,248 | py | Python | src/import_dbf/migrations/0001_initial.py | iplweb/django-bpp | 85f183a99d8d5027ae4772efac1e4a9f21675849 | [
"BSD-3-Clause"
] | 1 | 2017-04-27T19:50:02.000Z | 2017-04-27T19:50:02.000Z | src/import_dbf/migrations/0001_initial.py | mpasternak/django-bpp | 434338821d5ad1aaee598f6327151aba0af66f5e | [
"BSD-3-Clause"
] | 41 | 2019-11-07T00:07:02.000Z | 2022-02-27T22:09:39.000Z | src/import_dbf/migrations/0001_initial.py | iplweb/bpp | f027415cc3faf1ca79082bf7bacd4be35b1a6fdf | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 2.1.13 on 2019-11-03 14:05
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('contenttypes', '0002_remove_content_type_name'),
]
... | 47.06008 | 154 | 0.513958 | 3,356 | 35,248 | 5.254768 | 0.097139 | 0.241565 | 0.297136 | 0.356564 | 0.852679 | 0.766033 | 0.63856 | 0.516813 | 0.504848 | 0.447576 | 0 | 0.002947 | 0.33582 | 35,248 | 748 | 155 | 47.122995 | 0.750331 | 0.001305 | 0 | 0.519568 | 1 | 0 | 0.142585 | 0.001506 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.110661 | 0 | 0.116059 | 0.026991 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e5ffe2a9f4736427871c3d92473b21c233a6146 | 2,273 | py | Python | tests/contracts/KT1Ki9hCRhWERgvVvXvVnFR3ruwM9sR5eLAN/test_michelson_coding_KT1Ki9.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2021-05-20T16:52:08.000Z | 2021-05-20T16:52:08.000Z | tests/contracts/KT1Ki9hCRhWERgvVvXvVnFR3ruwM9sR5eLAN/test_michelson_coding_KT1Ki9.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2020-12-30T16:44:56.000Z | 2020-12-30T16:44:56.000Z | tests/contracts/KT1Ki9hCRhWERgvVvXvVnFR3ruwM9sR5eLAN/test_michelson_coding_KT1Ki9.py | tqtezos/pytezos | a4ac0b022d35d4c9f3062609d8ce09d584b5faa8 | [
"MIT"
] | 1 | 2022-03-20T19:01:00.000Z | 2022-03-20T19:01:00.000Z | from unittest import TestCase
from tests import get_data
from pytezos.michelson.micheline import michelson_to_micheline
from pytezos.michelson.formatter import micheline_to_michelson
class MichelsonCodingTestKT1Ki9(TestCase):
def setUp(self):
self.maxDiff = None
def test_michelson_parse_code_KT... | 42.092593 | 87 | 0.736472 | 222 | 2,273 | 7.247748 | 0.162162 | 0.047856 | 0.068365 | 0.124301 | 0.845245 | 0.845245 | 0.845245 | 0.835301 | 0.821628 | 0.821628 | 0 | 0.045652 | 0.190497 | 2,273 | 53 | 88 | 42.886792 | 0.828804 | 0 | 0 | 0.55814 | 0 | 0 | 0.280246 | 0.280246 | 0 | 0 | 0 | 0 | 0.139535 | 1 | 0.162791 | false | 0 | 0.093023 | 0 | 0.27907 | 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 |
5e8667c8bd08530e3798b28c3658e7a0a6e72243 | 258,420 | py | Python | instances/passenger_demand/pas-20210422-1717-int1/69.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/69.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/69.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 19216
passenger_arriving = (
(7, 4, 4, 3, 2, 1, 4, 2, 4, 2, 0, 0, 0, 7, 5, 8, 3, 7, 1, 3, 0, 1, 2, 1, 1, 0), # 0
(4, 7, 2, 3, 3, 1, 2, 5, 2, 1, 1, 0, 0, 6, 4, 4, 3, 2, 1, 5, 1, 1, 1, 0, 1, 0), # 1
(6, 4, 5, 6, 2, 1, 2, 4, 1, 1, 0, 0, 0, 11, 3, 6, 7, 7, 0, 3, 2, 1, 2, 0, 0, 0),... | 276.385027 | 494 | 0.769662 | 32,987 | 258,420 | 6.029193 | 0.217267 | 0.358398 | 0.343917 | 0.651633 | 0.376368 | 0.368057 | 0.364839 | 0.36409 | 0.363848 | 0.363848 | 0 | 0.849884 | 0.095712 | 258,420 | 934 | 495 | 276.680942 | 0.001194 | 0.015521 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.