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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
557b599b7cea9f42f3e8370380dfde22bbc3fa66 | 30 | py | Python | kelp/theano/__init__.py | KathrynJones1/kelp | 6c10c70cf1d9c5c59332a44d041d5790ae9b45a8 | [
"BSD-3-Clause"
] | null | null | null | kelp/theano/__init__.py | KathrynJones1/kelp | 6c10c70cf1d9c5c59332a44d041d5790ae9b45a8 | [
"BSD-3-Clause"
] | null | null | null | kelp/theano/__init__.py | KathrynJones1/kelp | 6c10c70cf1d9c5c59332a44d041d5790ae9b45a8 | [
"BSD-3-Clause"
] | null | null | null | from .theano import * # noqa
| 15 | 29 | 0.666667 | 4 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 1 | 30 | 30 | 0.869565 | 0.133333 | 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 |
5585b5cb650ffd6eb7b70ba6cc05627cadf42bc4 | 39 | py | Python | qt_binder/qt/QtTest.py | Qt-Widgets/qt_binding-traits | 16c7a9ee439ff35d4d027c797ae1d05453a5fc06 | [
"BSD-3-Clause"
] | 15 | 2015-09-02T11:16:50.000Z | 2021-06-24T04:00:52.000Z | qt_binder/qt/QtTest.py | Qt-Widgets/qt_binding-traits | 16c7a9ee439ff35d4d027c797ae1d05453a5fc06 | [
"BSD-3-Clause"
] | 54 | 2015-09-02T10:45:49.000Z | 2020-11-30T13:01:05.000Z | qt_binder/qt/QtTest.py | Qt-Widgets/qt_binding-traits | 16c7a9ee439ff35d4d027c797ae1d05453a5fc06 | [
"BSD-3-Clause"
] | 3 | 2015-09-16T17:23:50.000Z | 2016-07-23T05:35:55.000Z | from pyface.qt.QtTest import * # noqa
| 19.5 | 38 | 0.717949 | 6 | 39 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 1 | 39 | 39 | 0.875 | 0.102564 | 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 |
e98444049b2d96bdd606fa612dc7054e88cadb10 | 209 | py | Python | cognite/async_client/_api/assets.py | cognitedata/cognite-async | 256223b6b4f3e1630a8ab289ac4295a20d24437b | [
"Apache-2.0"
] | 1 | 2020-01-24T13:35:21.000Z | 2020-01-24T13:35:21.000Z | cognite/async_client/_api/assets.py | cognitedata/cognite-async | 256223b6b4f3e1630a8ab289ac4295a20d24437b | [
"Apache-2.0"
] | null | null | null | cognite/async_client/_api/assets.py | cognitedata/cognite-async | 256223b6b4f3e1630a8ab289ac4295a20d24437b | [
"Apache-2.0"
] | null | null | null | from cognite.async_client.utils import extends_class
from cognite.client._api.assets import AssetsAPI
@extends_class(extends=AssetsAPI)
class AssetsAPIExtensions:
"""Extensions to AssetsAPI"""
pass
| 20.9 | 52 | 0.799043 | 25 | 209 | 6.52 | 0.6 | 0.134969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124402 | 209 | 9 | 53 | 23.222222 | 0.89071 | 0.110048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
75f754a8d0c820c0a0f7538bc761b9b61adb3b12 | 43,490 | py | Python | data/transcoder_evaluation_gfg/python/REMOVE_ARRAY_END_ELEMENT_MAXIMIZE_SUM_PRODUCT.py | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 241 | 2021-07-20T08:35:20.000Z | 2022-03-31T02:39:08.000Z | data/transcoder_evaluation_gfg/python/REMOVE_ARRAY_END_ELEMENT_MAXIMIZE_SUM_PRODUCT.py | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 49 | 2021-07-22T23:18:42.000Z | 2022-03-24T09:15:26.000Z | data/transcoder_evaluation_gfg/python/REMOVE_ARRAY_END_ELEMENT_MAXIMIZE_SUM_PRODUCT.py | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 71 | 2021-07-21T05:17:52.000Z | 2022-03-29T23:49:28.000Z | # Copyright (c) 2019-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
def f_gold ( dp , a , low , high , turn ) :
if ( low == high ) :
return a [ low ] * turn
if ( dp [ low ] [ high ... | 1,242.571429 | 10,917 | 0.420327 | 11,233 | 43,490 | 1.625657 | 0.013354 | 0.14008 | 0.15722 | 0.168885 | 0.24807 | 0.214391 | 0.203932 | 0.203932 | 0.203932 | 0.203932 | 0 | 0.555057 | 0.261416 | 43,490 | 35 | 10,918 | 1,242.571429 | 0.013449 | 0.004254 | 0 | 0.08 | 0 | 0 | 0.000554 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0 | 0 | 0.16 | 0.04 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
75ffabe74841749471c6964664714c8b52e67d19 | 141 | py | Python | pydataclust/UnscaleData.py | mattkjames7/pykmeans | df2cf01d985616d86b222cdaa57dc87567fe6751 | [
"MIT"
] | null | null | null | pydataclust/UnscaleData.py | mattkjames7/pykmeans | df2cf01d985616d86b222cdaa57dc87567fe6751 | [
"MIT"
] | null | null | null | pydataclust/UnscaleData.py | mattkjames7/pykmeans | df2cf01d985616d86b222cdaa57dc87567fe6751 | [
"MIT"
] | null | null | null | import numpy as np
def UnscaleData(data,scales,shifts):
'''
Returns data back to the original scales.
'''
return data*scales + shifts
| 15.666667 | 42 | 0.716312 | 20 | 141 | 5.05 | 0.75 | 0.19802 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184397 | 141 | 8 | 43 | 17.625 | 0.878261 | 0.29078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f93908067f550a33a55465128bd613635a00e5f7 | 576 | py | Python | hagelslag/evaluation/__init__.py | stsaten6/hagelslag | 6b7d0779a0b0ac4bd26fbe4931b406fad1ef9f9e | [
"MIT"
] | 2 | 2018-04-16T07:12:48.000Z | 2019-04-09T11:57:08.000Z | hagelslag/evaluation/__init__.py | stsaten6/hagelslag | 6b7d0779a0b0ac4bd26fbe4931b406fad1ef9f9e | [
"MIT"
] | null | null | null | hagelslag/evaluation/__init__.py | stsaten6/hagelslag | 6b7d0779a0b0ac4bd26fbe4931b406fad1ef9f9e | [
"MIT"
] | null | null | null | from hagelslag.evaluation.ProbabilityMetrics import DistributedCRPS, DistributedReliability, DistributedROC
from hagelslag.evaluation.ContingencyTable import ContingencyTable
from hagelslag.evaluation.MetricPlotter import roc_curve, reliability_diagram, attributes_diagram, performance_diagram
from hagelslag.evaluation.... | 72 | 118 | 0.909722 | 51 | 576 | 10.196078 | 0.392157 | 0.175 | 0.309615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057292 | 576 | 7 | 119 | 82.285714 | 0.957643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 6 |
f940d20805cf2e5524660cf6fc23b6e6e8cba653 | 78 | py | Python | api/src/model/user/User.py | SamuelJansen/Courses | bc3c1c203cc7efb9bfec39dcca3bc33ea1150736 | [
"MIT"
] | null | null | null | api/src/model/user/User.py | SamuelJansen/Courses | bc3c1c203cc7efb9bfec39dcca3bc33ea1150736 | [
"MIT"
] | null | null | null | api/src/model/user/User.py | SamuelJansen/Courses | bc3c1c203cc7efb9bfec39dcca3bc33ea1150736 | [
"MIT"
] | null | null | null | from model.user import ApplicationUser
class User(ApplicationUser):
pass
| 15.6 | 38 | 0.794872 | 9 | 78 | 6.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 78 | 4 | 39 | 19.5 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f9ba8776cacce0e7f37c7f22abc610b8f22d2b56 | 157 | py | Python | src/MeterReader/PythonClient/PythonClient.py | karthik-iyer/MeterReader | ff22e0466922b792109d5ba66e568bff8d2d3216 | [
"Apache-2.0"
] | null | null | null | src/MeterReader/PythonClient/PythonClient.py | karthik-iyer/MeterReader | ff22e0466922b792109d5ba66e568bff8d2d3216 | [
"Apache-2.0"
] | null | null | null | src/MeterReader/PythonClient/PythonClient.py | karthik-iyer/MeterReader | ff22e0466922b792109d5ba66e568bff8d2d3216 | [
"Apache-2.0"
] | null | null | null | import grpc
import MeterReader_pb2 as MeterReader
import MeterReader_pb2_grpc as MeterReaderService
def main():
print("Calling gRPC Service")
main()
| 14.272727 | 49 | 0.789809 | 20 | 157 | 6.05 | 0.55 | 0.280992 | 0.330579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015038 | 0.152866 | 157 | 10 | 50 | 15.7 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0.127389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.666667 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ddb93a83b841e13aeac07cf9ca2f3c1162ce2187 | 40 | py | Python | app/bot/routes.py | NarayanAdithya/Portfolio2.0 | 691acbac1ad4220cb67c5e07a80bd401421f00d3 | [
"MIT"
] | null | null | null | app/bot/routes.py | NarayanAdithya/Portfolio2.0 | 691acbac1ad4220cb67c5e07a80bd401421f00d3 | [
"MIT"
] | null | null | null | app/bot/routes.py | NarayanAdithya/Portfolio2.0 | 691acbac1ad4220cb67c5e07a80bd401421f00d3 | [
"MIT"
] | null | null | null | from . import bot
from app import db_m
| 10 | 20 | 0.75 | 8 | 40 | 3.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225 | 40 | 3 | 21 | 13.333333 | 0.935484 | 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 |
349aa87a62dc097de70b60330649192d355ddb6f | 232 | py | Python | core/models/__init__.py | zhuhanqing/ELight | 1d9e84d4a53b40c1b05119ff2912a01a69b32007 | [
"MIT"
] | null | null | null | core/models/__init__.py | zhuhanqing/ELight | 1d9e84d4a53b40c1b05119ff2912a01a69b32007 | [
"MIT"
] | null | null | null | core/models/__init__.py | zhuhanqing/ELight | 1d9e84d4a53b40c1b05119ff2912a01a69b32007 | [
"MIT"
] | null | null | null | '''
Author: Hanqing Zhu(hqzhu@utexas.edu)
Date: 2022-04-07 10:38:34
LastEditTime: 2022-04-08 23:57:19
LastEditors: Hanqing Zhu(hqzhu@utexas.edu)
Description:
FilePath: /projects/ELight/core/models/__init__.py
'''
from .vgg import * | 25.777778 | 50 | 0.75431 | 37 | 232 | 4.621622 | 0.810811 | 0.116959 | 0.175439 | 0.245614 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132701 | 0.090517 | 232 | 9 | 51 | 25.777778 | 0.677725 | 0.883621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
34b00b8cf0ab01841ce4dc7d69eaa9baac2b2ea0 | 93 | py | Python | examples/base64-b64encode-standalone.py | lyvd/bandit4mal | b1ca9eb773ebed84d04cfeb589d028af532d1d11 | [
"Apache-2.0"
] | null | null | null | examples/base64-b64encode-standalone.py | lyvd/bandit4mal | b1ca9eb773ebed84d04cfeb589d028af532d1d11 | [
"Apache-2.0"
] | null | null | null | examples/base64-b64encode-standalone.py | lyvd/bandit4mal | b1ca9eb773ebed84d04cfeb589d028af532d1d11 | [
"Apache-2.0"
] | null | null | null | from base64 import b64encode
b64encode("=82cus2Ylh2YvQ3clVXclJ3Lw9GdukHelR2LvoDc0RHa"[::-1])
| 31 | 63 | 0.83871 | 7 | 93 | 11.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.053763 | 93 | 2 | 64 | 46.5 | 0.704545 | 0 | 0 | 0 | 0 | 0 | 0.473118 | 0.473118 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
34e1dd5dff13a0ad17560bb006390d5f36e34532 | 177 | py | Python | class4pgm/service/__init__.py | mingen-pan/class4pgm | a4bbfef4bb70420c8ed35b2bef9b91ebabe28c3c | [
"MIT"
] | 1 | 2020-09-07T13:46:28.000Z | 2020-09-07T13:46:28.000Z | class4pgm/service/__init__.py | mingen-pan/class4pgm | a4bbfef4bb70420c8ed35b2bef9b91ebabe28c3c | [
"MIT"
] | null | null | null | class4pgm/service/__init__.py | mingen-pan/class4pgm | a4bbfef4bb70420c8ed35b2bef9b91ebabe28c3c | [
"MIT"
] | null | null | null | from .base_service import BaseService
from .neo4j_service import Neo4jService
from .redis_graph_service import RedisGraphService
from .service_generator import ServiceGenerator
| 35.4 | 50 | 0.887006 | 21 | 177 | 7.238095 | 0.571429 | 0.256579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0.090395 | 177 | 4 | 51 | 44.25 | 0.931677 | 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 |
9b95729afa34613a1d4884c9a846f7be2f425611 | 167 | py | Python | test.py | yumingwjobjob/Yuming_Wang_Yahoo_finance | 5c34ee73a87671c15a4cfb36210d9a986a1c511c | [
"MIT"
] | null | null | null | test.py | yumingwjobjob/Yuming_Wang_Yahoo_finance | 5c34ee73a87671c15a4cfb36210d9a986a1c511c | [
"MIT"
] | null | null | null | test.py | yumingwjobjob/Yuming_Wang_Yahoo_finance | 5c34ee73a87671c15a4cfb36210d9a986a1c511c | [
"MIT"
] | null | null | null | import notional_of_postion_calculation
my_test = notional_of_postion_calculation.notion_of_position_calculation()
print(my_test.get_notional_of_position(100,"TSLA"))
| 33.4 | 74 | 0.886228 | 24 | 167 | 5.583333 | 0.541667 | 0.223881 | 0.253731 | 0.41791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01875 | 0.041916 | 167 | 4 | 75 | 41.75 | 0.81875 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fd2e762af67ebc587ce9e0bf70370821e888cceb | 99 | py | Python | helpers/handle_creds.py | davidgibbons/Binance-volatility-trading-bot | ff03452f01f9de4ceb5a6ab1516a094356476449 | [
"MIT"
] | 1 | 2021-05-17T09:34:19.000Z | 2021-05-17T09:34:19.000Z | helpers/handle_creds.py | Tarantinooo/Binance-volatility-trading-bot | 314c48fbe2941b829e0ed6b989a34374ff03efff | [
"MIT"
] | null | null | null | helpers/handle_creds.py | Tarantinooo/Binance-volatility-trading-bot | 314c48fbe2941b829e0ed6b989a34374ff03efff | [
"MIT"
] | 1 | 2021-05-18T09:16:22.000Z | 2021-05-18T09:16:22.000Z | def load_correct_creds(creds):
return creds['prod']['access_key'], creds['prod']['secret_key']
| 33 | 67 | 0.707071 | 14 | 99 | 4.714286 | 0.642857 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 99 | 2 | 68 | 49.5 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.282828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fd30dc80f8b01f93a663e87d0674731926b19c74 | 19,958 | py | Python | pycle/bicycle-scrapes/epey-scrape/downLink8.py | fusuyfusuy/School-Projects | 8e38f19da90f63ac9c9ec91e550fc5aaab3d0234 | [
"MIT"
] | null | null | null | pycle/bicycle-scrapes/epey-scrape/downLink8.py | fusuyfusuy/School-Projects | 8e38f19da90f63ac9c9ec91e550fc5aaab3d0234 | [
"MIT"
] | null | null | null | pycle/bicycle-scrapes/epey-scrape/downLink8.py | fusuyfusuy/School-Projects | 8e38f19da90f63ac9c9ec91e550fc5aaab3d0234 | [
"MIT"
] | null | null | null |
from bs4 import BeautifulSoup
import os
import wget
from urllib.request import Request, urlopen
bicycles=[{'name': 'Corelli Sandy 6 Bisiklet', 'link': 'https://www.epey.com/bisiklet/corelli-sandy-6-0.html'}, {'name': 'Ghost Panamao X3 Bisiklet', 'link': 'https://www.epey.com/bisiklet/ghost-panamao-x3.html'}, {'name':... | 907.181818 | 19,378 | 0.688897 | 3,078 | 19,958 | 4.466537 | 0.117284 | 0.157987 | 0.223814 | 0.263311 | 0.667443 | 0.60947 | 0.589322 | 0.569246 | 0.351106 | 0.137693 | 0 | 0.059588 | 0.078415 | 19,958 | 21 | 19,379 | 950.380952 | 0.68787 | 0 | 0 | 0 | 0 | 2.055556 | 0.815804 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 0.111111 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fd52ddd554c0677a9890c81975328428f4843090 | 46 | py | Python | roboepics_client/__init__.py | RoboEpics/roboepics-client | 14cf06998259249497f08d48fe73af5098636c24 | [
"MIT"
] | null | null | null | roboepics_client/__init__.py | RoboEpics/roboepics-client | 14cf06998259249497f08d48fe73af5098636c24 | [
"MIT"
] | null | null | null | roboepics_client/__init__.py | RoboEpics/roboepics-client | 14cf06998259249497f08d48fe73af5098636c24 | [
"MIT"
] | null | null | null | from .roboepics_client import RoboEpicsClient
| 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 |
b5fe3ae33554037d04aa5e5e8340822d41249986 | 23 | py | Python | atomicblock/data/path/__init__.py | AtomicSet/AtomicBlock | dd63b092fb8c30d6e4b1880986b4b7d2fd453f6f | [
"MIT"
] | null | null | null | atomicblock/data/path/__init__.py | AtomicSet/AtomicBlock | dd63b092fb8c30d6e4b1880986b4b7d2fd453f6f | [
"MIT"
] | null | null | null | atomicblock/data/path/__init__.py | AtomicSet/AtomicBlock | dd63b092fb8c30d6e4b1880986b4b7d2fd453f6f | [
"MIT"
] | null | null | null | from .main import path
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bd49f9510199df0e7f7762119bb090362381cb23 | 178 | py | Python | ex0097.py | EwertonRosendo/PastaDeExercicios | 68d23194b87ce1c8405c70fcceb3378955815d7d | [
"MIT"
] | null | null | null | ex0097.py | EwertonRosendo/PastaDeExercicios | 68d23194b87ce1c8405c70fcceb3378955815d7d | [
"MIT"
] | null | null | null | ex0097.py | EwertonRosendo/PastaDeExercicios | 68d23194b87ce1c8405c70fcceb3378955815d7d | [
"MIT"
] | null | null | null | def escreva(texto):
print("~"*len(texto))
print(F" texto")
print("~"*len(texto))
escreva("Gustavo Guanabara")
escreva("Curso de Python no Youtube")
escreva("Cev")
| 17.8 | 37 | 0.640449 | 23 | 178 | 4.956522 | 0.608696 | 0.263158 | 0.22807 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162921 | 178 | 9 | 38 | 19.777778 | 0.765101 | 0 | 0 | 0.285714 | 0 | 0 | 0.308989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1fbf73390b557c4d62fbfd2bb2a0f95029445b64 | 729 | py | Python | srds/__init__.py | thrau/srds | 98468b73278c4e42be8ff2425f7fa7099bf3255d | [
"MIT"
] | 1 | 2020-02-26T18:24:01.000Z | 2020-02-26T18:24:01.000Z | srds/__init__.py | thrau/srds | 98468b73278c4e42be8ff2425f7fa7099bf3255d | [
"MIT"
] | null | null | null | srds/__init__.py | thrau/srds | 98468b73278c4e42be8ff2425f7fa7099bf3255d | [
"MIT"
] | null | null | null | from srds.srds import seed, randint, randfloat, coin_flip, random_id, choose, choose_index, random_walk_norm, logistic, \
RandomSampler, ConstantSampler, IntegerSampler, BoundRejectionSampler, BufferedSampler, PopulationSampler, \
IntegerTruncationSampler, ParameterizedDistribution, ScaledParetoSampler
name = ... | 27 | 121 | 0.711934 | 53 | 729 | 9.528302 | 0.490566 | 0.043564 | 0.079208 | 0.09505 | 0.942574 | 0.942574 | 0.942574 | 0.942574 | 0.942574 | 0.942574 | 0 | 0 | 0.178326 | 729 | 26 | 122 | 28.038462 | 0.843072 | 0 | 0 | 0 | 0 | 0 | 0.33882 | 0.096022 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 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 |
1fda3c5ad75a470a7f27690b0a6b1fede1982fa9 | 168 | py | Python | academic/apps/people/context_processors.py | phretor/django-academic | 864452238056e07056990479396e8446a1bad086 | [
"BSD-3-Clause"
] | 2 | 2015-10-16T17:07:03.000Z | 2016-06-23T09:54:51.000Z | academic/apps/people/context_processors.py | phretor/django-academic | 864452238056e07056990479396e8446a1bad086 | [
"BSD-3-Clause"
] | null | null | null | academic/apps/people/context_processors.py | phretor/django-academic | 864452238056e07056990479396e8446a1bad086 | [
"BSD-3-Clause"
] | null | null | null | from academic import settings
def default_picture_url(context):
return {
'ACADEMIC_PEOPLE_DEFAULT_PICTURE':
settings.PEOPLE_DEFAULT_PICTURE, }
| 24 | 46 | 0.72619 | 18 | 168 | 6.388889 | 0.611111 | 0.365217 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 168 | 6 | 47 | 28 | 0.871212 | 0 | 0 | 0 | 0 | 0 | 0.184524 | 0.184524 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1fe0bb2eb28da9983f8c75ee18798dabb9daaf79 | 23 | py | Python | hedge_hog/powerup/__init__.py | otivedani/hedge_hog | 62026e63b6bdc72cc4f0c984136712e6ee090f68 | [
"MIT"
] | null | null | null | hedge_hog/powerup/__init__.py | otivedani/hedge_hog | 62026e63b6bdc72cc4f0c984136712e6ee090f68 | [
"MIT"
] | null | null | null | hedge_hog/powerup/__init__.py | otivedani/hedge_hog | 62026e63b6bdc72cc4f0c984136712e6ee090f68 | [
"MIT"
] | null | null | null | from .indextra import * | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1fe2d0f499ff3a0dd6077c9105ee0122056783dc | 8,625 | py | Python | anoncreds/test/test_single_prover_single_issuer.py | fabienpe/indy-anoncreds | 3173226ed1450d55f62ea679b930475c92b03c00 | [
"Apache-2.0"
] | 16 | 2017-07-17T04:51:30.000Z | 2019-03-18T02:21:33.000Z | anoncreds/test/test_single_prover_single_issuer.py | fabienpe/indy-anoncreds | 3173226ed1450d55f62ea679b930475c92b03c00 | [
"Apache-2.0"
] | 28 | 2017-06-29T18:00:00.000Z | 2018-09-05T09:57:41.000Z | anoncreds/test/test_single_prover_single_issuer.py | fabienpe/indy-anoncreds | 3173226ed1450d55f62ea679b930475c92b03c00 | [
"Apache-2.0"
] | 25 | 2016-10-17T13:15:02.000Z | 2017-06-19T11:54:20.000Z | import pytest
from anoncreds.protocol.types import ProofRequest, PredicateGE, Claims, \
ProofClaims, AttributeInfo
from anoncreds.test.conftest import presentProofAndVerify
@pytest.mark.skipif('sys.platform == "win32"', reason='SOV-86')
@pytest.mark.asyncio
async def testPrimaryClaimOnlyEmpty(prover1, verifier, ... | 47.651934 | 114 | 0.646377 | 729 | 8,625 | 7.604938 | 0.134431 | 0.048701 | 0.042929 | 0.055556 | 0.835859 | 0.789141 | 0.769481 | 0.737554 | 0.714466 | 0.714466 | 0 | 0.02593 | 0.239884 | 8,625 | 180 | 115 | 47.916667 | 0.819707 | 0 | 0 | 0.666667 | 0 | 0 | 0.090319 | 0 | 0 | 0 | 0 | 0 | 0.07971 | 1 | 0 | false | 0 | 0.021739 | 0 | 0.021739 | 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 |
951690b935b4a9e5e1afdaf4c7081de9cf9568d0 | 281 | py | Python | tests/utils/python/test_checks.py | yzpang/jiant | 192d6b525c06f33010b59044df40cb86bbfba4ea | [
"MIT"
] | 1,108 | 2019-04-22T09:19:19.000Z | 2022-03-31T13:23:51.000Z | tests/utils/python/test_checks.py | yzpang/jiant | 192d6b525c06f33010b59044df40cb86bbfba4ea | [
"MIT"
] | 737 | 2019-04-22T14:30:36.000Z | 2022-03-31T22:22:17.000Z | tests/utils/python/test_checks.py | yzpang/jiant | 192d6b525c06f33010b59044df40cb86bbfba4ea | [
"MIT"
] | 273 | 2019-04-23T01:42:11.000Z | 2022-03-25T15:59:38.000Z | import jiant.utils.python.checks as py_checks
def test_dict_equal():
assert py_checks.dict_equal({1: 2}, {1: 2})
assert not py_checks.dict_equal({1: 2}, {1: 3})
assert not py_checks.dict_equal({1: 2}, {2: 2})
assert not py_checks.dict_equal({1: 2}, {2: 2, 1: 1})
| 31.222222 | 57 | 0.654804 | 53 | 281 | 3.264151 | 0.301887 | 0.231214 | 0.277457 | 0.393064 | 0.635838 | 0.635838 | 0.635838 | 0.514451 | 0.514451 | 0.346821 | 0 | 0.077586 | 0.174377 | 281 | 8 | 58 | 35.125 | 0.668103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1f10edc6a4e902e95c0d04478da4ae6f5eb2914c | 710 | py | Python | lib/conf_reader.py | mswilkhu1/ssense | 59987a3c492591c8217811e79a63f25652f0295c | [
"MIT"
] | null | null | null | lib/conf_reader.py | mswilkhu1/ssense | 59987a3c492591c8217811e79a63f25652f0295c | [
"MIT"
] | null | null | null | lib/conf_reader.py | mswilkhu1/ssense | 59987a3c492591c8217811e79a63f25652f0295c | [
"MIT"
] | null | null | null | import configparser
def read_config_data(section, key):
config = configparser.ConfigParser()
config.read('./config.cfg')
return config.get(section, key)
def fetch_login_page_elements_locators(section, key):
config = configparser.ConfigParser()
config.read('./selectors/login_page.cfg')
return... | 27.307692 | 57 | 0.74507 | 86 | 710 | 5.953488 | 0.232558 | 0.15625 | 0.125 | 0.21875 | 0.833984 | 0.833984 | 0.779297 | 0.681641 | 0.611328 | 0.455078 | 0 | 0 | 0.138028 | 710 | 25 | 58 | 28.4 | 0.836601 | 0 | 0 | 0.470588 | 0 | 0 | 0.130986 | 0.114085 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.058824 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 6 |
1f298adb8032d994e752f9ea8dc69a7897418cf8 | 226 | py | Python | backend/tests/wallet_tests/__init__.py | tanshuai/reference-wallet | e8efec4acc6af6e319cf075c10693ddf7754cc83 | [
"Apache-2.0"
] | 14 | 2020-12-17T08:03:51.000Z | 2022-03-26T04:21:18.000Z | backend/tests/wallet_tests/__init__.py | tanshuai/reference-wallet | e8efec4acc6af6e319cf075c10693ddf7754cc83 | [
"Apache-2.0"
] | 20 | 2020-12-15T12:02:56.000Z | 2021-05-19T23:37:34.000Z | backend/tests/wallet_tests/__init__.py | tanshuai/reference-wallet | e8efec4acc6af6e319cf075c10693ddf7754cc83 | [
"Apache-2.0"
] | 12 | 2020-12-10T16:35:27.000Z | 2022-02-01T04:06:10.000Z | # Copyright (c) The Diem Core Contributors
# SPDX-License-Identifier: Apache-2.0
ASSOC_ADDRESS: str = "0000000000000000000000000a550c18"
ASSOC_AUTHKEY: str = "3126dc954143b1282565e8829cd8cdfdc179db444f64b406dee28015fce7f392"
| 37.666667 | 87 | 0.840708 | 20 | 226 | 9.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.357488 | 0.084071 | 226 | 5 | 88 | 45.2 | 0.550725 | 0.336283 | 0 | 0 | 0 | 0 | 0.653061 | 0.653061 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1f2ad7a844574a25efe6f7b8e8e083f2700aaaa5 | 186 | py | Python | generated-libraries/python/netapp/test/stringalias.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | 2 | 2017-03-28T15:31:26.000Z | 2018-08-16T22:15:18.000Z | generated-libraries/python/netapp/test/stringalias.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | generated-libraries/python/netapp/test/stringalias.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | class Stringalias(basestring):
"""
This kind of typedef is just an alias for a string.
"""
@staticmethod
def get_api_name():
return "stringalias"
| 18.6 | 55 | 0.591398 | 21 | 186 | 5.142857 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322581 | 186 | 9 | 56 | 20.666667 | 0.857143 | 0.274194 | 0 | 0 | 0 | 0 | 0.092437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1f57a92f8cef9c0180e24761395a286badae49eb | 3,053 | py | Python | src/dqn.py | suessmann/TLC-DQN | 5cf8047e4efcd348d0711c4fc7aff7dba5804a83 | [
"MIT"
] | 42 | 2020-06-26T08:51:32.000Z | 2022-03-06T02:29:38.000Z | src/dqn.py | AntonioAlgaida/intelligent_traffic_lights | 1cc750e505ece493d5d7c7797630bef01e421ba0 | [
"MIT"
] | 9 | 2020-07-10T00:45:58.000Z | 2022-02-23T10:38:32.000Z | src/dqn.py | AntonioAlgaida/intelligent_traffic_lights | 1cc750e505ece493d5d7c7797630bef01e421ba0 | [
"MIT"
] | 9 | 2020-10-23T17:41:04.000Z | 2022-01-10T12:22:05.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
import random
class DQNetwork(nn.Module):
def __init__(self):
super().__init__()
self.features1 = nn.Sequential(
nn.Conv2d(1, 16, 4, stride=2, padding=1),
nn.ReLU(),
nn.Conv2d(16, 3... | 26.094017 | 59 | 0.443498 | 385 | 3,053 | 3.464935 | 0.155844 | 0.053973 | 0.044978 | 0.049475 | 0.829835 | 0.796852 | 0.784108 | 0.766117 | 0.728636 | 0.728636 | 0 | 0.106489 | 0.409433 | 3,053 | 116 | 60 | 26.318966 | 0.633389 | 0.05208 | 0 | 0.686747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072289 | false | 0 | 0.048193 | 0 | 0.216867 | 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 |
2f25abc779d93c35402343d510b0de08c447dd7d | 7,474 | py | Python | tests/tests.py | aurimas13/Calculator-program | d6151206ab98b4a0bd05298de9687c440ec3d5ca | [
"MIT"
] | 7 | 2021-11-27T08:11:01.000Z | 2021-12-04T01:22:25.000Z | tests/tests.py | JohnGun10/Calculator-program | c9d42bd448f22f75ae044418471c4da986193606 | [
"MIT"
] | null | null | null | tests/tests.py | JohnGun10/Calculator-program | c9d42bd448f22f75ae044418471c4da986193606 | [
"MIT"
] | 1 | 2021-11-27T08:40:23.000Z | 2021-11-27T08:40:23.000Z | # Tests file
# Calculator program | tests.py
#
# Created by Aurimas A. Nausedas on 05/15/21.
# Uploaded by Aurimas A. Nausedas on 05/31/21.
# Updated by Aurimas A. Nausedas on 11/05/21.
# Updated by Aurimas A. Nausedas on 11/05/21.
import pytest
import math
from calculator.calculator import Calculator
def test_addi... | 38.725389 | 124 | 0.756757 | 1,153 | 7,474 | 4.697311 | 0.10928 | 0.081241 | 0.058161 | 0.077548 | 0.840473 | 0.814993 | 0.781942 | 0.780465 | 0.745938 | 0.698486 | 0 | 0.05438 | 0.14624 | 7,474 | 192 | 125 | 38.927083 | 0.79439 | 0.327669 | 0 | 0.389381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19469 | 1 | 0.185841 | false | 0 | 0.026549 | 0 | 0.212389 | 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 |
2f949a92e17fc70157f395b744587cbb205ab81d | 8,097 | py | Python | tests/attributes/test_blobs.py | yaal-fr/sheraf | 9821a53d8b0ea0aba420175e4cfa81529262f88c | [
"MIT"
] | 1 | 2020-03-18T09:54:52.000Z | 2020-03-18T09:54:52.000Z | tests/attributes/test_blobs.py | yaal-fr/sheraf | 9821a53d8b0ea0aba420175e4cfa81529262f88c | [
"MIT"
] | null | null | null | tests/attributes/test_blobs.py | yaal-fr/sheraf | 9821a53d8b0ea0aba420175e4cfa81529262f88c | [
"MIT"
] | null | null | null | import io
import tests
import sheraf
class ModelWithBlob(tests.UUIDAutoModel):
attr = sheraf.SimpleAttribute()
blob = sheraf.BlobAttribute()
blobs = sheraf.SmallListAttribute(sheraf.BlobAttribute())
def check_blob(model, database, check_path):
assert bool(model.blob) and model.blob
f = model.b... | 31.628906 | 85 | 0.641472 | 1,080 | 8,097 | 4.677778 | 0.075 | 0.069279 | 0.138559 | 0.078979 | 0.860451 | 0.85669 | 0.834125 | 0.775534 | 0.728424 | 0.681512 | 0 | 0.004172 | 0.230332 | 8,097 | 255 | 86 | 31.752941 | 0.806483 | 0 | 0 | 0.560209 | 0 | 0 | 0.066197 | 0.005187 | 0 | 0 | 0 | 0 | 0.246073 | 1 | 0.078534 | false | 0 | 0.015707 | 0 | 0.120419 | 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 |
85dba997fc29eaa28cb9892c986c0250ffdffeac | 107 | py | Python | nlpiper/core/__init__.py | jfecunha/NLPiper | e0d6aeb52b9ea22825f70f8b60a9f09c5b74f096 | [
"MIT"
] | 11 | 2022-02-17T14:48:39.000Z | 2022-02-20T03:46:19.000Z | nlpiper/core/__init__.py | jfecunha/NLPiper | e0d6aeb52b9ea22825f70f8b60a9f09c5b74f096 | [
"MIT"
] | 21 | 2022-02-17T14:26:49.000Z | 2022-03-04T12:11:05.000Z | nlpiper/core/__init__.py | dlite-tools/NLPiper | 3610598ad831072f8ee7e44f0b827b074f92a612 | [
"MIT"
] | 1 | 2022-03-11T11:47:50.000Z | 2022-03-11T11:47:50.000Z | """Core Module."""
from nlpiper.core.document import Document
from nlpiper.core.composition import Compose
| 26.75 | 44 | 0.803738 | 14 | 107 | 6.142857 | 0.571429 | 0.255814 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 107 | 3 | 45 | 35.666667 | 0.886598 | 0.11215 | 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 |
c847c0fc5617266f9107287531509d236c64a149 | 122 | py | Python | Memento/Python 3/WorkspaceState.py | kuuhaku86/design-patterns | 9044ecbeb366fec97e27f1ec51e66d0fafdace07 | [
"MIT"
] | 11 | 2022-03-24T15:08:06.000Z | 2022-03-30T19:24:30.000Z | Memento/Python 3/WorkspaceState.py | kuuhaku86/design-patterns | 9044ecbeb366fec97e27f1ec51e66d0fafdace07 | [
"MIT"
] | null | null | null | Memento/Python 3/WorkspaceState.py | kuuhaku86/design-patterns | 9044ecbeb366fec97e27f1ec51e66d0fafdace07 | [
"MIT"
] | null | null | null | class WorkspaceState:
def __init__(self, state):
self.state = state
def get_state(self):
return self.state
| 17.428571 | 28 | 0.688525 | 16 | 122 | 4.9375 | 0.5 | 0.341772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221311 | 122 | 6 | 29 | 20.333333 | 0.831579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c0876c166a8f2e3727f98790d0451d9a3a608423 | 230 | py | Python | inventory_management/inventory/admin.py | macungmacung/cruddjango | f4ba0e34aad11721a22cb0f20f37ac70eb49012c | [
"MIT"
] | null | null | null | inventory_management/inventory/admin.py | macungmacung/cruddjango | f4ba0e34aad11721a22cb0f20f37ac70eb49012c | [
"MIT"
] | null | null | null | inventory_management/inventory/admin.py | macungmacung/cruddjango | f4ba0e34aad11721a22cb0f20f37ac70eb49012c | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
# Register your models here.
from import_export.admin import ImportExportModelAdmin
@admin.register(Desktop, Laptop, Mobile)
class ViewAdmin(ImportExportModelAdmin):
pass | 28.75 | 54 | 0.817391 | 27 | 230 | 6.925926 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117391 | 230 | 8 | 55 | 28.75 | 0.921182 | 0.113043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 0 | 0.833333 | 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 |
c0b79ca5e56a4d2af8900a1c6ceeb58989241ab1 | 37 | py | Python | {{cookiecutter.project_slug}}/backend/app/app/data/manage.py | tonyf/full-stack-fastapi-postgresql | 2bd73227b14c55ea2c69af46ce169e25e3f4cd26 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/backend/app/app/data/manage.py | tonyf/full-stack-fastapi-postgresql | 2bd73227b14c55ea2c69af46ce169e25e3f4cd26 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/backend/app/app/data/manage.py | tonyf/full-stack-fastapi-postgresql | 2bd73227b14c55ea2c69af46ce169e25e3f4cd26 | [
"MIT"
] | null | null | null | from .user.manage import user # noqa | 37 | 37 | 0.756757 | 6 | 37 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 1 | 37 | 37 | 0.903226 | 0.108108 | 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 |
8d099f01b5b7a6bbff2a721f486a4c907c77da78 | 34 | py | Python | arrowstack/__init__.py | effordsbeard/arrowstack | 33f2eff3be07cf65e38610f0701743e775c1bbc6 | [
"MIT"
] | 1 | 2018-10-12T11:43:07.000Z | 2018-10-12T11:43:07.000Z | arrowstack/release.py | effordsbeard/arrowstack | 33f2eff3be07cf65e38610f0701743e775c1bbc6 | [
"MIT"
] | null | null | null | arrowstack/release.py | effordsbeard/arrowstack | 33f2eff3be07cf65e38610f0701743e775c1bbc6 | [
"MIT"
] | null | null | null | def main():
print('asdafasd')
| 11.333333 | 21 | 0.588235 | 4 | 34 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 2 | 22 | 17 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
23916d217c28f0d8e6cf58d940a9ab632fe75688 | 216 | py | Python | RemoteIocServer/__init__.py | GustavLero/EPICS-inst_servers | 4bcdd6a80f1d9e074de3f0f7c66968d506981988 | [
"BSD-3-Clause"
] | null | null | null | RemoteIocServer/__init__.py | GustavLero/EPICS-inst_servers | 4bcdd6a80f1d9e074de3f0f7c66968d506981988 | [
"BSD-3-Clause"
] | null | null | null | RemoteIocServer/__init__.py | GustavLero/EPICS-inst_servers | 4bcdd6a80f1d9e074de3f0f7c66968d506981988 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import print_function, unicode_literals, division, absolute_import
from RemoteIocServer import config_monitor, gateway, pvdb, utilities
__all__ = ['config_monitor', 'gateway', 'pvdb', 'utilities']
| 30.857143 | 82 | 0.800926 | 24 | 216 | 6.666667 | 0.666667 | 0.1625 | 0.25 | 0.3 | 0.4125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106481 | 216 | 6 | 83 | 36 | 0.829016 | 0 | 0 | 0 | 0 | 0 | 0.157407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
23feafdc0161f7458664c46c08363862883d9ea6 | 4,770 | py | Python | socialserver/tests/api/legacy/test_admin_usermod.py | niallasher/socialserver-neo | 7e7d25d939133d149b56ccd54fbfa62d75cabb73 | [
"MIT"
] | null | null | null | socialserver/tests/api/legacy/test_admin_usermod.py | niallasher/socialserver-neo | 7e7d25d939133d149b56ccd54fbfa62d75cabb73 | [
"MIT"
] | 11 | 2022-03-10T04:55:09.000Z | 2022-03-30T14:24:19.000Z | socialserver/tests/api/legacy/test_admin_usermod.py | niallasher/socialserver-neo | 7e7d25d939133d149b56ccd54fbfa62d75cabb73 | [
"MIT"
] | null | null | null | # Copyright (c) Niall Asher 2022
# noinspection PyUnresolvedReferences
from socialserver.util.test import (
test_db,
set_user_attributes_db,
create_user_with_request,
server_address,
)
from socialserver.constants import (
AccountAttributes,
LegacyErrorCodes,
LegacyAdminUserModTypes,
)
impo... | 29.627329 | 79 | 0.646122 | 566 | 4,770 | 5.19788 | 0.174912 | 0.050986 | 0.052345 | 0.063562 | 0.805574 | 0.791978 | 0.772264 | 0.772264 | 0.772264 | 0.75051 | 0 | 0.017689 | 0.241509 | 4,770 | 160 | 80 | 29.8125 | 0.795467 | 0.093291 | 0 | 0.588235 | 0 | 0 | 0.18705 | 0.087027 | 0 | 0 | 0 | 0 | 0.134454 | 1 | 0.042017 | false | 0.016807 | 0.02521 | 0 | 0.067227 | 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 |
f1bd5c0aba107ad3315a57bd619e8e3e3c41e434 | 153 | py | Python | django_blog/config/views.py | 092113219/django-blog | 7bb907f51a5be8b1152e0b5117bc046894f993c3 | [
"Apache-2.0"
] | null | null | null | django_blog/config/views.py | 092113219/django-blog | 7bb907f51a5be8b1152e0b5117bc046894f993c3 | [
"Apache-2.0"
] | null | null | null | django_blog/config/views.py | 092113219/django-blog | 7bb907f51a5be8b1152e0b5117bc046894f993c3 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def links(request):
return HttpResponse('links') | 21.857143 | 36 | 0.784314 | 20 | 153 | 6 | 0.75 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143791 | 153 | 7 | 37 | 21.857143 | 0.916031 | 0.150327 | 0 | 0 | 0 | 0 | 0.03876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f1c33c1a386973a9ad083903a5cfdf2ba886ee03 | 15,642 | py | Python | python/graph_script.py | StocksandVagabonds/CS122-Booling4Soup | dc9f08853c81ccd65e58b89781b9a2d07ff428de | [
"Unlicense",
"MIT"
] | 1 | 2021-03-29T04:38:06.000Z | 2021-03-29T04:38:06.000Z | python/graph_script.py | StocksandVagabonds/CS122-Booling4Soup | dc9f08853c81ccd65e58b89781b9a2d07ff428de | [
"Unlicense",
"MIT"
] | null | null | null | python/graph_script.py | StocksandVagabonds/CS122-Booling4Soup | dc9f08853c81ccd65e58b89781b9a2d07ff428de | [
"Unlicense",
"MIT"
] | null | null | null | # General Imports
import bokeh.io
import geopandas as gpd
import pandas as pd
import json
import numpy as np
import requests
from urllib.request import urlopen
# Bokeh Imports
from bokeh.models import (CDSView, ColorBar, ColumnDataSource,
CustomJS, CustomJSFilter,
... | 41.823529 | 133 | 0.53497 | 1,661 | 15,642 | 4.857917 | 0.131246 | 0.031231 | 0.046722 | 0.050564 | 0.817078 | 0.817078 | 0.795638 | 0.78721 | 0.781757 | 0.757467 | 0 | 0.02157 | 0.374632 | 15,642 | 374 | 134 | 41.823529 | 0.803312 | 0.221327 | 0 | 0.497797 | 0 | 0 | 0.132391 | 0.002514 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026432 | false | 0 | 0.057269 | 0 | 0.110132 | 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 |
f1cbf073b07eaf0579db8d4a1a851d7b804ca14a | 42 | py | Python | src/spaceone/secret/error/__init__.py | ku524/secret | c5dad49f40ab1cbbaa0b8f01222de10ae73d1fb1 | [
"Apache-2.0"
] | 7 | 2020-06-04T23:01:12.000Z | 2021-01-31T08:41:29.000Z | src/spaceone/secret/error/__init__.py | ku524/secret | c5dad49f40ab1cbbaa0b8f01222de10ae73d1fb1 | [
"Apache-2.0"
] | 2 | 2020-08-05T13:31:53.000Z | 2021-03-07T15:15:14.000Z | src/spaceone/secret/error/__init__.py | ku524/secret | c5dad49f40ab1cbbaa0b8f01222de10ae73d1fb1 | [
"Apache-2.0"
] | 6 | 2020-06-10T01:59:35.000Z | 2021-11-25T06:30:35.000Z | from spaceone.secret.error.custom import * | 42 | 42 | 0.833333 | 6 | 42 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f1d56daf12218ebc79de51f1f352bcdc0ee062e2 | 44 | py | Python | winregmgr/__init__.py | Luckykarter/winregmgr | c6c2a7963a8d22ac18cc7eddeef23a18c05a6dd8 | [
"MIT"
] | null | null | null | winregmgr/__init__.py | Luckykarter/winregmgr | c6c2a7963a8d22ac18cc7eddeef23a18c05a6dd8 | [
"MIT"
] | null | null | null | winregmgr/__init__.py | Luckykarter/winregmgr | c6c2a7963a8d22ac18cc7eddeef23a18c05a6dd8 | [
"MIT"
] | 1 | 2021-04-14T07:02:52.000Z | 2021-04-14T07:02:52.000Z | from winregmgr.winreg_manager import OpenKey | 44 | 44 | 0.909091 | 6 | 44 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f1df2dd3811e32df5afc0c755bde102529492a8e | 42 | py | Python | nm_launch_api/config/local.py | markliederbach/nm-launch-api | e4e4519d4b23680f906f2efcea036112cb8729e3 | [
"ISC"
] | null | null | null | nm_launch_api/config/local.py | markliederbach/nm-launch-api | e4e4519d4b23680f906f2efcea036112cb8729e3 | [
"ISC"
] | null | null | null | nm_launch_api/config/local.py | markliederbach/nm-launch-api | e4e4519d4b23680f906f2efcea036112cb8729e3 | [
"ISC"
] | null | null | null | from nm_launch_api.config.common import *
| 21 | 41 | 0.833333 | 7 | 42 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.868421 | 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 |
9e80340cd0fe7dfab38c962d50f409a265e0a78e | 55 | py | Python | myproject/__init__.py | houghb/myproject | 3b913acae36df4fbddbe2fe684c512ae6e6d1805 | [
"BSD-2-Clause"
] | null | null | null | myproject/__init__.py | houghb/myproject | 3b913acae36df4fbddbe2fe684c512ae6e6d1805 | [
"BSD-2-Clause"
] | null | null | null | myproject/__init__.py | houghb/myproject | 3b913acae36df4fbddbe2fe684c512ae6e6d1805 | [
"BSD-2-Clause"
] | 1 | 2019-10-02T17:08:17.000Z | 2019-10-02T17:08:17.000Z | from . import pronto_utils_b
from . import basic_utils
| 18.333333 | 28 | 0.818182 | 9 | 55 | 4.666667 | 0.666667 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 29 | 27.5 | 0.893617 | 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 |
9ebc6d4c7babb00967a8259d65c5a4df5241101e | 29 | py | Python | src/ml_helper/__init__.py | akoury/MachineLearning | 69b41a6a613363eee568921ed35f750b32dac69f | [
"MIT"
] | 9 | 2019-04-15T08:00:03.000Z | 2021-04-29T14:52:33.000Z | src/ml_helper/__init__.py | akoury/MachineLearning | 69b41a6a613363eee568921ed35f750b32dac69f | [
"MIT"
] | null | null | null | src/ml_helper/__init__.py | akoury/MachineLearning | 69b41a6a613363eee568921ed35f750b32dac69f | [
"MIT"
] | null | null | null | from ml_helper import helper
| 14.5 | 28 | 0.862069 | 5 | 29 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7b541877ae8a46815519c83697d83d01149bc958 | 46 | py | Python | lectures/lectures/python/02_variables_and_functions/my_package/foo_module.py | wilsonjefferson/DSSC_AP | 18010e3166e4477234958202edec1e3f63b418e3 | [
"MIT"
] | null | null | null | lectures/lectures/python/02_variables_and_functions/my_package/foo_module.py | wilsonjefferson/DSSC_AP | 18010e3166e4477234958202edec1e3f63b418e3 | [
"MIT"
] | null | null | null | lectures/lectures/python/02_variables_and_functions/my_package/foo_module.py | wilsonjefferson/DSSC_AP | 18010e3166e4477234958202edec1e3f63b418e3 | [
"MIT"
] | 1 | 2021-06-24T13:30:36.000Z | 2021-06-24T13:30:36.000Z | def foo():
print('Fooing from a package')
| 15.333333 | 34 | 0.630435 | 7 | 46 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 2 | 35 | 23 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.456522 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7b5dbcd6566bbac662e5df25c6fc15eff328ff83 | 26 | py | Python | modules/2.79/bpy/types/KeyingSet.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/KeyingSet.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/KeyingSet.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | def refresh():
pass
| 5.2 | 14 | 0.538462 | 3 | 26 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 26 | 4 | 15 | 6.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7b63a65d4f3001330e1752e90afa490890a08536 | 39,196 | py | Python | tests/unit/netapi/rest_tornado/test_saltnado.py | tomdoherty/salt | f87d5d7abbf9777773c4d91fdafecb8b1a728e76 | [
"Apache-2.0"
] | 9,425 | 2015-01-01T05:59:24.000Z | 2022-03-31T20:44:05.000Z | tests/unit/netapi/rest_tornado/test_saltnado.py | tomdoherty/salt | f87d5d7abbf9777773c4d91fdafecb8b1a728e76 | [
"Apache-2.0"
] | 33,507 | 2015-01-01T00:19:56.000Z | 2022-03-31T23:48:20.000Z | tests/unit/netapi/rest_tornado/test_saltnado.py | tomdoherty/salt | f87d5d7abbf9777773c4d91fdafecb8b1a728e76 | [
"Apache-2.0"
] | 5,810 | 2015-01-01T19:11:45.000Z | 2022-03-31T02:37:20.000Z | import salt.ext.tornado
import salt.ext.tornado.testing
import salt.netapi.rest_tornado.saltnado as saltnado
from tests.support.mock import MagicMock, patch
class TestJobNotRunning(salt.ext.tornado.testing.AsyncTestCase):
def setUp(self):
super().setUp()
self.mock = MagicMock()
self.mock.o... | 37.833977 | 139 | 0.58284 | 4,674 | 39,196 | 4.657039 | 0.092854 | 0.050811 | 0.101622 | 0.098406 | 0.775256 | 0.758074 | 0.751505 | 0.737998 | 0.728993 | 0.719392 | 0 | 0.009238 | 0.306792 | 39,196 | 1,035 | 140 | 37.870531 | 0.791874 | 0.103888 | 0 | 0.752663 | 0 | 0 | 0.088928 | 0.006656 | 0 | 0 | 0 | 0.001932 | 0.040237 | 1 | 0.053254 | false | 0.001183 | 0.004734 | 0 | 0.073373 | 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 |
7b92dea6921d24d64189a1e25d70a7147dd1d83b | 10,586 | py | Python | src/models/DataLoader.py | prise6/lincoln-psg-challenge | 5810f51ade6a0d73d5b2ed6e9ff5143fe88701d8 | [
"MIT"
] | null | null | null | src/models/DataLoader.py | prise6/lincoln-psg-challenge | 5810f51ade6a0d73d5b2ed6e9ff5143fe88701d8 | [
"MIT"
] | 1 | 2021-03-25T23:11:26.000Z | 2021-03-25T23:11:26.000Z | src/models/DataLoader.py | prise6/lincoln-psg-challenge | 5810f51ade6a0d73d5b2ed6e9ff5143fe88701d8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pandas as pd
import numpy as np
class DataLoader:
def __init__(self, config, type_loader = 'simple'):
self.data = None
self.train_data = None
self.test_data = None
self.type_loader = type_loader
self.config = config
self.len_seq_trai... | 42.344 | 133 | 0.642452 | 1,586 | 10,586 | 3.85309 | 0.107818 | 0.119293 | 0.088202 | 0.030601 | 0.836033 | 0.793978 | 0.78596 | 0.771232 | 0.750123 | 0.73785 | 0 | 0.036032 | 0.223975 | 10,586 | 250 | 134 | 42.344 | 0.707851 | 0.222464 | 0 | 0.347826 | 0 | 0 | 0.252107 | 0.019665 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072464 | false | 0 | 0.014493 | 0 | 0.123188 | 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 |
7b97a300f30beeb6f0c27b2f840e24a10a8ce088 | 29 | py | Python | mini_game_004/__init__.py | CompassMentis/pyweek31 | ac4ebdfeb94ccaedbb231b7c9aa3a2400de1b7c7 | [
"MIT"
] | null | null | null | mini_game_004/__init__.py | CompassMentis/pyweek31 | ac4ebdfeb94ccaedbb231b7c9aa3a2400de1b7c7 | [
"MIT"
] | null | null | null | mini_game_004/__init__.py | CompassMentis/pyweek31 | ac4ebdfeb94ccaedbb231b7c9aa3a2400de1b7c7 | [
"MIT"
] | null | null | null | from .game_class import Game
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8f98270b955ca6eb6c52065b9690c0b30f0d2b1 | 128 | py | Python | weather_bot/hello.py | Jelle-M/personal-discord-weatherbot | 4a9b13753fe6d05e2071057f697d3e780763615a | [
"MIT"
] | null | null | null | weather_bot/hello.py | Jelle-M/personal-discord-weatherbot | 4a9b13753fe6d05e2071057f697d3e780763615a | [
"MIT"
] | 7 | 2019-02-06T15:00:08.000Z | 2019-02-09T19:14:02.000Z | weather_bot/hello.py | MoskiMBA/personal-discord-weatherbot | 4a9b13753fe6d05e2071057f697d3e780763615a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Print Hello, World!."""
def main() -> str:
"""Print Hello world."""
return 'hello world!'
| 14.222222 | 28 | 0.515625 | 15 | 128 | 4.4 | 0.666667 | 0.454545 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.226563 | 128 | 8 | 29 | 16 | 0.656566 | 0.484375 | 0 | 0 | 0 | 0 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cda45c73fcdec9cec8d30303277be446102276b8 | 29 | py | Python | lexicalbinary/__init__.py | skio-music/lexical-binary | 93ce53e2430af33ab83377e48fe351c96e693f5b | [
"MIT"
] | null | null | null | lexicalbinary/__init__.py | skio-music/lexical-binary | 93ce53e2430af33ab83377e48fe351c96e693f5b | [
"MIT"
] | null | null | null | lexicalbinary/__init__.py | skio-music/lexical-binary | 93ce53e2430af33ab83377e48fe351c96e693f5b | [
"MIT"
] | 1 | 2019-09-10T06:10:52.000Z | 2019-09-10T06:10:52.000Z | from .lexicalbinary import *
| 14.5 | 28 | 0.793103 | 3 | 29 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cdd9b109bcab171a289c0337cc75bed3f10404bd | 62 | py | Python | aur_deploy/__init__.py | codeswhite/aur-deploy | 20ba4ba66d606bdb2c23577bb092e2c6b8fc8469 | [
"MIT"
] | null | null | null | aur_deploy/__init__.py | codeswhite/aur-deploy | 20ba4ba66d606bdb2c23577bb092e2c6b8fc8469 | [
"MIT"
] | 5 | 2020-07-14T17:38:03.000Z | 2020-07-18T16:08:51.000Z | aur_deploy/__init__.py | codeswhite/aur-deploy | 20ba4ba66d606bdb2c23577bb092e2c6b8fc8469 | [
"MIT"
] | null | null | null | from .aur_deploy import aur_deploy
from .__main__ import main
| 20.666667 | 34 | 0.83871 | 10 | 62 | 4.6 | 0.5 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 35 | 31 | 0.851852 | 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 |
cde965160ac6c8936b4d0bb2c7b7b3e4d10b9cc8 | 1,714 | py | Python | covid-survive-master/enemy.py | brunouni/HealthPub | 0da1ff714474023247bdcc8f36d3a7bc64b432b2 | [
"MIT"
] | null | null | null | covid-survive-master/enemy.py | brunouni/HealthPub | 0da1ff714474023247bdcc8f36d3a7bc64b432b2 | [
"MIT"
] | null | null | null | covid-survive-master/enemy.py | brunouni/HealthPub | 0da1ff714474023247bdcc8f36d3a7bc64b432b2 | [
"MIT"
] | null | null | null | import pygame
import random
class Enemy(pygame.sprite.Sprite):
def __init__(self, *groups):
super().__init__(*groups)
self.image = pygame.image.load("img/covid.png")
self.image = pygame.transform.scale(self.image, [35, 35])
self.rect = pygame.Rect(540, 360, 25, 25)
... | 29.050847 | 66 | 0.561844 | 226 | 1,714 | 4.154867 | 0.212389 | 0.127796 | 0.095847 | 0.067093 | 0.829606 | 0.787007 | 0.787007 | 0.787007 | 0.787007 | 0.746539 | 0 | 0.079012 | 0.291132 | 1,714 | 59 | 67 | 29.050847 | 0.693827 | 0 | 0 | 0.487805 | 0 | 0 | 0.024744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.146341 | false | 0 | 0.04878 | 0 | 0.268293 | 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 |
cdfe373333214fd9f6088f5aa07d1143776f63d0 | 85 | py | Python | zolo/benchmarks/timeret.py | firefirer1983/zolo | 889409b491363eb54c2997e01333b77bc81e0c89 | [
"MIT"
] | 2 | 2021-05-06T12:10:02.000Z | 2021-08-15T09:25:31.000Z | zolo/benchmarks/timeret.py | firefirer1983/zolo | 889409b491363eb54c2997e01333b77bc81e0c89 | [
"MIT"
] | null | null | null | zolo/benchmarks/timeret.py | firefirer1983/zolo | 889409b491363eb54c2997e01333b77bc81e0c89 | [
"MIT"
] | null | null | null | from .base import Benchmark
class TimeReturn(Benchmark, alias="timeret"):
pass
| 14.166667 | 45 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 85 | 5 | 46 | 17 | 0.887324 | 0 | 0 | 0 | 0 | 0 | 0.082353 | 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 |
b534f2d8ff30c8ee80b48a812ed1c1d089826da4 | 25,278 | py | Python | test_autoarray/inversion/test_mappers.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | null | null | null | test_autoarray/inversion/test_mappers.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | null | null | null | test_autoarray/inversion/test_mappers.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | null | null | null | import numpy as np
import pytest
import autoarray as aa
def grid_to_pixel_pixels_via_nearest_neighbour(grid, pixel_centers):
def compute_squared_separation(coordinate1, coordinate2):
"""
Returns the squared separation of two grid (no square root for efficiency)"""
return (coordi... | 30.092857 | 114 | 0.470013 | 3,212 | 25,278 | 3.376712 | 0.049813 | 0.032454 | 0.030426 | 0.030979 | 0.868707 | 0.846211 | 0.829246 | 0.812004 | 0.803706 | 0.748479 | 0 | 0.092396 | 0.407429 | 25,278 | 839 | 115 | 30.128725 | 0.631684 | 0.080742 | 0 | 0.659906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084243 | 1 | 0.029641 | false | 0 | 0.00468 | 0 | 0.040562 | 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 |
b587332d970454bee5e4cd995ed7f7f60d3f0e7f | 123 | py | Python | algo/common.py | softarts/tradebook | bdce9206e94147e93c547edb2d1d2aebd17f2f9c | [
"Apache-2.0"
] | null | null | null | algo/common.py | softarts/tradebook | bdce9206e94147e93c547edb2d1d2aebd17f2f9c | [
"Apache-2.0"
] | null | null | null | algo/common.py | softarts/tradebook | bdce9206e94147e93c547edb2d1d2aebd17f2f9c | [
"Apache-2.0"
] | null | null | null | class AlgoBase(object):
def run_algo(self, ohlc):
pass
def post_algo(self, df, ohlc_dct):
return df | 24.6 | 38 | 0.617886 | 18 | 123 | 4.055556 | 0.722222 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284553 | 123 | 5 | 39 | 24.6 | 0.829545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
b5ab90c34e998e52afe6bf1f701e07d24da60208 | 129 | py | Python | test/test_pytest.py | roger-lo/Filed | 0ad39a650fb4842e8388b0be2d826f1ef77ee347 | [
"Apache-2.0"
] | null | null | null | test/test_pytest.py | roger-lo/Filed | 0ad39a650fb4842e8388b0be2d826f1ef77ee347 | [
"Apache-2.0"
] | null | null | null | test/test_pytest.py | roger-lo/Filed | 0ad39a650fb4842e8388b0be2d826f1ef77ee347 | [
"Apache-2.0"
] | null | null | null | # Dummy test case
# TODO: remove this entire file when we have at least 1 proper test
def test_assert():
assert True == True
| 25.8 | 67 | 0.72093 | 22 | 129 | 4.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.217054 | 129 | 4 | 68 | 32.25 | 0.90099 | 0.627907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a9718b0e1c8302782e76d90ef74c3f3f1ca3afa2 | 128 | py | Python | sklearn_plus/neural_network/text_classification/__init__.py | liuxiaoan8008/sklearn-plus | 67258f6c9b833c82c2ffa2ec062fc2cc686b3004 | [
"MIT"
] | null | null | null | sklearn_plus/neural_network/text_classification/__init__.py | liuxiaoan8008/sklearn-plus | 67258f6c9b833c82c2ffa2ec062fc2cc686b3004 | [
"MIT"
] | null | null | null | sklearn_plus/neural_network/text_classification/__init__.py | liuxiaoan8008/sklearn-plus | 67258f6c9b833c82c2ffa2ec062fc2cc686b3004 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .binary_classifier import BiClassifier
from .text_classifier import TextClassifier
| 25.6 | 43 | 0.882813 | 15 | 128 | 7.066667 | 0.6 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101563 | 128 | 4 | 44 | 32 | 0.921739 | 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 |
8d5d56dd417577a9464c424abf035d528c40ca4a | 89 | py | Python | src/pages/tensorflow.py | calabres97/ai-portfolio | a24e4f7307bd7fdfedd0ded1e08682c1fb9e75cf | [
"Apache-2.0"
] | null | null | null | src/pages/tensorflow.py | calabres97/ai-portfolio | a24e4f7307bd7fdfedd0ded1e08682c1fb9e75cf | [
"Apache-2.0"
] | null | null | null | src/pages/tensorflow.py | calabres97/ai-portfolio | a24e4f7307bd7fdfedd0ded1e08682c1fb9e75cf | [
"Apache-2.0"
] | null | null | null | import streamlit as st
def write():
st.title("Tensorflow Examples and Applications") | 22.25 | 52 | 0.752809 | 12 | 89 | 5.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157303 | 89 | 4 | 52 | 22.25 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8d75f4724d092ac90e8911f0a6f8179d0f0a232a | 341 | py | Python | week6/test_jogo_do_nim.py | jotavev/usp-computer-science-python | 82aaa410f245e339c25e4a2b1a61e410259d0f8c | [
"MIT"
] | 1 | 2020-06-10T03:39:07.000Z | 2020-06-10T03:39:07.000Z | week6/test_jogo_do_nim.py | jotavev/usp-computer-science-python | 82aaa410f245e339c25e4a2b1a61e410259d0f8c | [
"MIT"
] | null | null | null | week6/test_jogo_do_nim.py | jotavev/usp-computer-science-python | 82aaa410f245e339c25e4a2b1a61e410259d0f8c | [
"MIT"
] | null | null | null | from temp2 import computador_escolhe_jogada
from temp3 import usuario_escolhe_jogada
def test1_3():
assert computador_escolhe_jogada(1, 3) == 1
def test3_2():
assert computador_escolhe_jogada(2, 2) == 2
def test2_3():
assert computador_escolhe_jogada(2, 3) == 2
def test3_3():
assert computador_escol... | 22.733333 | 47 | 0.741935 | 52 | 341 | 4.557692 | 0.307692 | 0.329114 | 0.485232 | 0.489451 | 0.510549 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077193 | 0.164223 | 341 | 14 | 48 | 24.357143 | 0.754386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
8d7886eaf0cc75e5b79897575e89b4df699f90e0 | 208 | py | Python | data_utils/__init__.py | DerTreiber/GluonSeg | 30652018ee3b5fd45fc9ee52ae16c12f7919d02b | [
"MIT"
] | 9 | 2017-10-10T06:10:39.000Z | 2021-01-02T05:29:31.000Z | data_utils/__init__.py | DerTreiber/GluonSeg | 30652018ee3b5fd45fc9ee52ae16c12f7919d02b | [
"MIT"
] | 1 | 2018-01-12T05:25:36.000Z | 2018-01-12T05:25:36.000Z | data_utils/__init__.py | DerTreiber/GluonSeg | 30652018ee3b5fd45fc9ee52ae16c12f7919d02b | [
"MIT"
] | 2 | 2017-10-10T07:00:05.000Z | 2019-03-23T02:05:54.000Z | from __future__ import absolute_import
from data_utils.DataTransformer import *
from data_utils.SegDataLoaderBase import SegDataLoaderBase
from data_utils.Enqueuer import SequenceEnqueuer, GeneratorEnqueuer
| 34.666667 | 67 | 0.889423 | 23 | 208 | 7.695652 | 0.478261 | 0.135593 | 0.220339 | 0.214689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086538 | 208 | 5 | 68 | 41.6 | 0.931579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5750e18dfaf9e223416ea126e309dbe81b33ab06 | 36 | py | Python | python/20181228/Code/p2/p4/c3.py | Realize0917/career | b5d02ac53cfc3ce3a2ca38d11480c51560283e67 | [
"MIT"
] | 3 | 2019-01-17T05:50:51.000Z | 2019-03-15T10:10:07.000Z | python/20181228/Code/p2/p4/c3.py | Realize0917/career | b5d02ac53cfc3ce3a2ca38d11480c51560283e67 | [
"MIT"
] | 10 | 2019-01-17T06:07:03.000Z | 2019-02-19T05:55:25.000Z | python/20181228/Code/p2/p4/c3.py | Realize0917/career | b5d02ac53cfc3ce3a2ca38d11480c51560283e67 | [
"MIT"
] | 4 | 2018-12-22T07:32:55.000Z | 2019-03-06T09:13:48.000Z | print('casdf')
from .c4 import c4_a
| 12 | 20 | 0.722222 | 7 | 36 | 3.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.138889 | 36 | 2 | 21 | 18 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 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 |
5758b39fce8a36f0084c8a83b2ba8d6d159a1a04 | 6,206 | py | Python | disba/_dispersion.py | th-reb/disba | b364a40ebe511f8b8d1db75557f9467fa6f12490 | [
"BSD-3-Clause"
] | null | null | null | disba/_dispersion.py | th-reb/disba | b364a40ebe511f8b8d1db75557f9467fa6f12490 | [
"BSD-3-Clause"
] | null | null | null | disba/_dispersion.py | th-reb/disba | b364a40ebe511f8b8d1db75557f9467fa6f12490 | [
"BSD-3-Clause"
] | null | null | null | from collections import namedtuple
import numpy as np
from ._base import BaseDispersion
from ._common import ifunc
from ._surf96 import surf96
__all__ = [
"DispersionCurve",
"PhaseDispersion",
"GroupDispersion",
]
DispersionCurve = namedtuple(
"DispersionCurve", ("x", "velocity", "mode", "wave", "ty... | 29.273585 | 132 | 0.538511 | 702 | 6,206 | 4.621083 | 0.183761 | 0.024661 | 0.034525 | 0.032059 | 0.848027 | 0.840321 | 0.812577 | 0.812577 | 0.812577 | 0.812577 | 0 | 0.023186 | 0.35369 | 6,206 | 211 | 133 | 29.412322 | 0.78559 | 0.407025 | 0 | 0.536082 | 0 | 0.020619 | 0.117129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051546 | false | 0 | 0.051546 | 0 | 0.154639 | 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 |
93a91f9614406efa3988e134bd78fdc960c1d65d | 5,168 | py | Python | 2018 Codegate Quals/babyRSA/RSAbaby.py | mathboy7/CTF | e279bf91ad6b22fc41087571c5fba9501832ab80 | [
"Apache-2.0"
] | 46 | 2017-11-07T05:30:26.000Z | 2021-11-24T09:33:41.000Z | 2018 Codegate Quals/babyRSA/RSAbaby.py | mathboy7/CTF | e279bf91ad6b22fc41087571c5fba9501832ab80 | [
"Apache-2.0"
] | null | null | null | 2018 Codegate Quals/babyRSA/RSAbaby.py | mathboy7/CTF | e279bf91ad6b22fc41087571c5fba9501832ab80 | [
"Apache-2.0"
] | 3 | 2017-11-14T14:45:28.000Z | 2020-08-30T07:59:04.000Z | g = 1451148556127987724249004992416426267156485698041870649377286684885761238545310434658635027622787398481550210611238983201156681434756570587365742710151053397293933537311802747090635483421698384209981296559293976885424141752990812471181821618234133250791837422090157998785176788871042108926608128001325660042574655726... | 59.402299 | 1,854 | 0.853328 | 266 | 5,168 | 16.545113 | 0.169173 | 0.011361 | 0.010907 | 0.010907 | 0.047944 | 0.035901 | 0.013179 | 0 | 0 | 0 | 0 | 0.79954 | 0.074303 | 5,168 | 86 | 1,855 | 60.093023 | 0.120401 | 0 | 0 | 0.126984 | 0 | 0 | 0.004504 | 0 | 0 | 1 | 0.001958 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.15873 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9e09b4a0fa354872acfaea585a4f6a0b9db09bbe | 45 | py | Python | tests/test_apps/cliapp/importerrorapp.py | flippersmcgee/flask | 6efaedd3394e8bd797ee38095d96753da4b1b90d | [
"BSD-3-Clause"
] | null | null | null | tests/test_apps/cliapp/importerrorapp.py | flippersmcgee/flask | 6efaedd3394e8bd797ee38095d96753da4b1b90d | [
"BSD-3-Clause"
] | 1 | 2020-07-13T09:45:50.000Z | 2020-07-13T09:45:50.000Z | tests/test_apps/cliapp/importerrorapp.py | flippersmcgee/flask | 6efaedd3394e8bd797ee38095d96753da4b1b90d | [
"BSD-3-Clause"
] | null | null | null | from flask import Flask
raise ImportError()
| 11.25 | 23 | 0.8 | 6 | 45 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 3 | 24 | 15 | 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 |
192440c3942a19bdbdb645c16b86e9b86e62454e | 175 | py | Python | simpbot/bottools/__init__.py | IsmaelRLG/simpbot | 7d4288334f637e0a7774ef1acda933a668c60181 | [
"MIT"
] | 3 | 2017-05-08T14:53:40.000Z | 2021-12-18T22:15:14.000Z | simpbot/bottools/__init__.py | IsmaelRLG/simpbot | 7d4288334f637e0a7774ef1acda933a668c60181 | [
"MIT"
] | null | null | null | simpbot/bottools/__init__.py | IsmaelRLG/simpbot | 7d4288334f637e0a7774ef1acda933a668c60181 | [
"MIT"
] | 1 | 2017-05-15T23:28:56.000Z | 2017-05-15T23:28:56.000Z | # -*- coding: utf-8 -*-
# Simple Bot (SimpBot)
# Copyright 2016-2017, Ismael Lugo (kwargs)
#lint:disable
from . import irc
from . import dummy
from . import text
#lint:enable | 19.444444 | 43 | 0.697143 | 25 | 175 | 4.88 | 0.8 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061644 | 0.165714 | 175 | 9 | 44 | 19.444444 | 0.773973 | 0.611429 | 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 |
1978e6e97ea61c1249cfc581e66642d9db81da6c | 20 | py | Python | clks/nnet/maml/__init__.py | cjliux/mdst.c2f | 5617624b25ddaa11ffbc07401d3fe0276ca220d5 | [
"BSD-3-Clause"
] | 2 | 2020-07-17T12:12:35.000Z | 2020-09-12T14:28:55.000Z | clks/nnet/maml/__init__.py | cjliux/mdst.c2f | 5617624b25ddaa11ffbc07401d3fe0276ca220d5 | [
"BSD-3-Clause"
] | null | null | null | clks/nnet/maml/__init__.py | cjliux/mdst.c2f | 5617624b25ddaa11ffbc07401d3fe0276ca220d5 | [
"BSD-3-Clause"
] | null | null | null | from .maml import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 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 |
197e8a1773556db790fbeb3157e5f6ad26c4d50d | 121 | py | Python | tests/test_src.py | darrenleeweber/conda_template | 11e6488f612ea1337d7e9dc185b497e0862e0a9a | [
"Apache-2.0"
] | 6 | 2020-05-18T10:21:39.000Z | 2022-03-14T07:47:51.000Z | tests/test_src.py | dazza-codes/conda_template | 11e6488f612ea1337d7e9dc185b497e0862e0a9a | [
"Apache-2.0"
] | 3 | 2019-02-13T02:55:29.000Z | 2019-02-21T03:14:01.000Z | tests/test_src.py | dazza-codes/conda_template | 11e6488f612ea1337d7e9dc185b497e0862e0a9a | [
"Apache-2.0"
] | 1 | 2020-05-17T18:46:50.000Z | 2020-05-17T18:46:50.000Z | """
Test the module
"""
from types import ModuleType
import src
def test_src():
assert isinstance(src, ModuleType)
| 12.1 | 38 | 0.719008 | 16 | 121 | 5.375 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 121 | 9 | 39 | 13.444444 | 0.868687 | 0.123967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
198581e17a64011deccca5f927b3abaf6e810b3d | 49 | py | Python | enthought/util/refresh.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/util/refresh.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/util/refresh.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from traits.util.refresh import *
| 16.333333 | 33 | 0.77551 | 7 | 49 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 2 | 34 | 24.5 | 0.904762 | 0.244898 | 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 |
199e8ad294c46038f5cbe933385cc2ad015057b7 | 18,040 | py | Python | api/converse/tests/test_views.py | aberrier/exploud | b5184e10480a91ea5566fc54f337ac59d11de315 | [
"MIT"
] | null | null | null | api/converse/tests/test_views.py | aberrier/exploud | b5184e10480a91ea5566fc54f337ac59d11de315 | [
"MIT"
] | 4 | 2018-09-11T16:36:59.000Z | 2021-04-30T20:35:11.000Z | api/converse/tests/test_views.py | aberrier/exploud | b5184e10480a91ea5566fc54f337ac59d11de315 | [
"MIT"
] | 2 | 2018-07-04T08:00:07.000Z | 2019-06-04T19:46:57.000Z | import pytest
import json
import requests
from mock import patch, MagicMock, Mock
from flask import url_for
import io
from api.exceptions import BadParameterException, MissingParameterException, InvalidCredentialsException, \
ExternalAPIException, APIException, BadHeaderException, MissingHeaderException, Operation... | 44.987531 | 125 | 0.712694 | 2,180 | 18,040 | 5.551376 | 0.081651 | 0.062717 | 0.070236 | 0.095026 | 0.843497 | 0.823748 | 0.811849 | 0.803999 | 0.775161 | 0.761444 | 0 | 0.010396 | 0.184202 | 18,040 | 401 | 126 | 44.987531 | 0.811918 | 0.064246 | 0 | 0.607784 | 0 | 0 | 0.153372 | 0.080837 | 0 | 0 | 0 | 0 | 0.179641 | 1 | 0.050898 | false | 0 | 0.032934 | 0 | 0.083832 | 0.002994 | 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 |
2733f35e76ab39607f5fdff1a06e1d3fe4cb146b | 21 | py | Python | data/__init__.py | saicoco/gluon-east | 9597bf4fe20a971940fbd5e72c221040ecacb5b7 | [
"MIT"
] | 2 | 2019-01-05T02:40:06.000Z | 2019-03-20T18:00:05.000Z | data/__init__.py | saicoco/gluon-east | 9597bf4fe20a971940fbd5e72c221040ecacb5b7 | [
"MIT"
] | null | null | null | data/__init__.py | saicoco/gluon-east | 9597bf4fe20a971940fbd5e72c221040ecacb5b7 | [
"MIT"
] | null | null | null | from ic_data import * | 21 | 21 | 0.809524 | 4 | 21 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2750246e580f9167eef9027d8748f596aa8aa00c | 27 | py | Python | keras_htr/data_source/__init__.py | X-rayLaser/Keras-HTR | e27f717c2c8af75f4774c62a81f70f46c4e8eadf | [
"MIT"
] | 8 | 2020-06-02T06:14:07.000Z | 2022-02-14T14:58:33.000Z | keras_htr/data_source/__init__.py | X-rayLaser/Keras-HTR | e27f717c2c8af75f4774c62a81f70f46c4e8eadf | [
"MIT"
] | 1 | 2020-07-08T18:03:21.000Z | 2020-07-12T08:05:56.000Z | keras_htr/data_source/__init__.py | X-rayLaser/Keras-HTR | e27f717c2c8af75f4774c62a81f70f46c4e8eadf | [
"MIT"
] | 1 | 2020-12-29T09:39:14.000Z | 2020-12-29T09:39:14.000Z | from .iam import IAMSource
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
275898a3cfbb878bb9bb70e6c94a2789653961cb | 80 | py | Python | spa/models/recurrence.py | fergalmoran/dss | 684fb4030e33212c3ecde774ca86cb74a1ffc8ac | [
"BSD-2-Clause"
] | null | null | null | spa/models/recurrence.py | fergalmoran/dss | 684fb4030e33212c3ecde774ca86cb74a1ffc8ac | [
"BSD-2-Clause"
] | 3 | 2020-02-11T21:55:44.000Z | 2021-06-10T17:35:37.000Z | spa/models/recurrence.py | fergalmoran/dss | 684fb4030e33212c3ecde774ca86cb74a1ffc8ac | [
"BSD-2-Clause"
] | null | null | null | from spa.models._lookup import _Lookup
class Recurrence(_Lookup):
pass
| 16 | 39 | 0.7375 | 10 | 80 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 80 | 4 | 40 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
27740e0d7ae2f7ef2a968efe7d60b6b738ba2a74 | 227 | py | Python | class9/ex8/mytest/__init__.py | patrebert/pynet_cert | b82cce3ddb20d9e4abc89d74579ddeb3513bdf55 | [
"Apache-2.0"
] | null | null | null | class9/ex8/mytest/__init__.py | patrebert/pynet_cert | b82cce3ddb20d9e4abc89d74579ddeb3513bdf55 | [
"Apache-2.0"
] | null | null | null | class9/ex8/mytest/__init__.py | patrebert/pynet_cert | b82cce3ddb20d9e4abc89d74579ddeb3513bdf55 | [
"Apache-2.0"
] | null | null | null | from mytest.simple import func1
from mytest.whatever import func2
from mytest.world import func3
from mytest.world import testclass
from mytest.world import MyClass
__all__ = ['func1', 'func2', 'func3', 'testclass', 'MyClass']
| 32.428571 | 61 | 0.784141 | 31 | 227 | 5.612903 | 0.387097 | 0.287356 | 0.258621 | 0.362069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03 | 0.118943 | 227 | 6 | 62 | 37.833333 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.136564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
27819c6dc8e05ccfe7c15ea46aa129b152618678 | 1,469 | py | Python | vector.py | nathanfohkens/theMLbook | e62817b1a67492f168ccd4197ded254bd8f329ee | [
"MIT"
] | 1,625 | 2019-01-14T14:04:36.000Z | 2022-03-28T21:14:20.000Z | vector.py | a272573094/theMLbook | 9236ec87b0cf563e0998d723be19e58155003a9d | [
"MIT"
] | 6 | 2019-04-17T17:20:48.000Z | 2020-12-17T19:50:26.000Z | vector.py | a272573094/theMLbook | 9236ec87b0cf563e0998d723be19e58155003a9d | [
"MIT"
] | 540 | 2019-01-14T14:07:54.000Z | 2022-03-28T21:14:23.000Z | import matplotlib
import matplotlib.pyplot as plt
matplotlib.rcParams['mathtext.fontset'] = 'stix'
matplotlib.rcParams['font.family'] = 'STIXGeneral'
matplotlib.rcParams.update({'font.size': 18})
plt.figure(1)
plt.quiver([0, 0, 0], [0, 0, 0], [2, -2, 1], [3, 5, 0], color=['r','b','g'], angles='xy', scale_units='xy',... | 43.205882 | 116 | 0.640572 | 244 | 1,469 | 3.795082 | 0.258197 | 0.017279 | 0.155508 | 0.194384 | 0.764579 | 0.75594 | 0.75594 | 0.75594 | 0.75594 | 0.75594 | 0 | 0.085736 | 0.102791 | 1,469 | 33 | 117 | 44.515152 | 0.616844 | 0 | 0 | 0.482759 | 0 | 0 | 0.225323 | 0.130701 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068966 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
27a09ea49f1b95031d89892e989a6a2cd7351194 | 77 | py | Python | tests/test_files/argv.py | tusharsadhwani/zxpy | aa15e438288614d5138d08319b7f51282990baf7 | [
"MIT"
] | 418 | 2021-05-08T11:46:29.000Z | 2022-03-31T07:28:37.000Z | tests/test_files/argv.py | tusharsadhwani/zxpy | aa15e438288614d5138d08319b7f51282990baf7 | [
"MIT"
] | 31 | 2021-05-10T07:58:57.000Z | 2022-03-07T20:05:32.000Z | tests/test_files/argv.py | tusharsadhwani/zxpy | aa15e438288614d5138d08319b7f51282990baf7 | [
"MIT"
] | 11 | 2021-05-12T12:20:55.000Z | 2022-03-17T22:02:34.000Z | import sys
assert len(sys.argv) == 1
assert sys.argv[0].endswith("argv.py")
| 15.4 | 38 | 0.701299 | 14 | 77 | 3.857143 | 0.642857 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.116883 | 77 | 4 | 39 | 19.25 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
27b74f563d64829ffa7b9bfff6777a3dbeb45711 | 66 | py | Python | corehq/apps/locations/tests/__init__.py | dslowikowski/commcare-hq | ad8885cf8dab69dc85cb64f37aeaf06106124797 | [
"BSD-3-Clause"
] | 1 | 2015-02-10T23:26:39.000Z | 2015-02-10T23:26:39.000Z | corehq/apps/locations/tests/__init__.py | SEL-Columbia/commcare-hq | 992ee34a679c37f063f86200e6df5a197d5e3ff6 | [
"BSD-3-Clause"
] | null | null | null | corehq/apps/locations/tests/__init__.py | SEL-Columbia/commcare-hq | 992ee34a679c37f063f86200e6df5a197d5e3ff6 | [
"BSD-3-Clause"
] | null | null | null | from .test_location_import import *
from .test_site_code import *
| 22 | 35 | 0.818182 | 10 | 66 | 5 | 0.6 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 36 | 33 | 0.862069 | 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 |
27cad4c423764b14c963ed884703f8bebcb54cff | 2,137 | py | Python | api/user/migrations/0012_last_notified_fields.py | uktrade/market-access-api | 850a59880f8f62263784bcd9c6b3362e447dbc7a | [
"MIT"
] | null | null | null | api/user/migrations/0012_last_notified_fields.py | uktrade/market-access-api | 850a59880f8f62263784bcd9c6b3362e447dbc7a | [
"MIT"
] | 51 | 2018-05-31T12:16:31.000Z | 2022-03-08T09:36:48.000Z | api/user/migrations/0012_last_notified_fields.py | uktrade/market-access-api | 850a59880f8f62263784bcd9c6b3362e447dbc7a | [
"MIT"
] | 2 | 2019-12-24T09:47:42.000Z | 2021-02-09T09:36:51.000Z | # Generated by Django 2.2.11 on 2020-05-18 10:00
import django.contrib.postgres.fields
import django.utils.timezone
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("user", "0011_clean_filters"),
]
operations = [
migrations.AlterModelOpti... | 32.876923 | 82 | 0.582592 | 194 | 2,137 | 6.237113 | 0.298969 | 0.089256 | 0.11405 | 0.133884 | 0.782645 | 0.782645 | 0.782645 | 0.782645 | 0.669421 | 0.669421 | 0 | 0.013689 | 0.316331 | 2,137 | 64 | 83 | 33.390625 | 0.814511 | 0.021526 | 0 | 0.793103 | 1 | 0 | 0.133078 | 0.078028 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.051724 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
27cbc8118c93c5665c811727ce03b44ce0165367 | 42 | py | Python | mat2vec/training/__init__.py | bowen-gao/mat2vec | aabbc45a5881d22756795a4cb6e71dd74946c34e | [
"MIT"
] | 593 | 2019-06-01T14:49:24.000Z | 2022-03-20T12:46:27.000Z | mat2vec/training/__init__.py | bowen-gao/mat2vec | aabbc45a5881d22756795a4cb6e71dd74946c34e | [
"MIT"
] | 22 | 2019-07-03T17:37:45.000Z | 2021-11-08T17:00:04.000Z | mat2vec/training/__init__.py | bowen-gao/mat2vec | aabbc45a5881d22756795a4cb6e71dd74946c34e | [
"MIT"
] | 166 | 2019-06-23T15:22:38.000Z | 2022-03-23T21:01:35.000Z | from mat2vec.training.helpers import utils | 42 | 42 | 0.880952 | 6 | 42 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.071429 | 42 | 1 | 42 | 42 | 0.923077 | 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 |
27d72a39dca56fcb628b8dbcc17c4ecfe91962d6 | 839 | py | Python | mobync/synchronizer.py | mobync/python-server | a65b183e2bc69b6b7ab649d4a1bffdb16bb4c8a6 | [
"MIT"
] | 3 | 2020-11-08T13:47:51.000Z | 2021-03-17T02:38:37.000Z | mobync/synchronizer.py | mobync/python-server | a65b183e2bc69b6b7ab649d4a1bffdb16bb4c8a6 | [
"MIT"
] | null | null | null | mobync/synchronizer.py | mobync/python-server | a65b183e2bc69b6b7ab649d4a1bffdb16bb4c8a6 | [
"MIT"
] | 1 | 2021-03-17T22:17:45.000Z | 2021-03-17T22:17:45.000Z | import abc
from typing import List
from mobync import ReadFilter
class Synchronizer(metaclass=abc.ABCMeta):
@abc.abstractmethod
def read(self, where: str, filters: List[ReadFilter]) -> str:
pass
@abc.abstractmethod
def update(self, where: str, data_json: str) -> None:
pass
@abc... | 23.305556 | 87 | 0.646007 | 103 | 839 | 5.174757 | 0.330097 | 0.223265 | 0.262664 | 0.270169 | 0.564728 | 0.50469 | 0.50469 | 0.401501 | 0.401501 | 0.401501 | 0 | 0 | 0.246722 | 839 | 35 | 88 | 23.971429 | 0.843354 | 0.030989 | 0 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0.28 | false | 0.28 | 0.12 | 0 | 0.44 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7e06b1ec285ab55f4530715a5b73fe7c48570e43 | 110 | py | Python | bunq/sdk/exception/bad_request_exception.py | mwiekens/sdk_python | 9333636083bc63dca4353e8f497588f57617efec | [
"MIT"
] | 88 | 2017-08-01T18:39:46.000Z | 2022-02-21T12:34:16.000Z | bunq/sdk/exception/bad_request_exception.py | mwiekens/sdk_python | 9333636083bc63dca4353e8f497588f57617efec | [
"MIT"
] | 136 | 2017-08-02T13:54:41.000Z | 2021-04-25T20:31:08.000Z | bunq/sdk/exception/bad_request_exception.py | mwiekens/sdk_python | 9333636083bc63dca4353e8f497588f57617efec | [
"MIT"
] | 30 | 2017-08-15T09:35:42.000Z | 2021-05-06T12:42:06.000Z | from bunq.sdk.exception.api_exception import ApiException
class BadRequestException(ApiException):
pass
| 18.333333 | 57 | 0.827273 | 12 | 110 | 7.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 110 | 5 | 58 | 22 | 0.927835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7e0b6bda598bdb5b9db5f19df1a6a3f494b420c3 | 256 | py | Python | Release/Tests/AnalysisTest/Python.VS.TestData/Grammar/FromImportStmt.py | rsumner33/PTVS | f5d67cff8c7bb32992dd4f77c0dfddaca6071250 | [
"Apache-2.0"
] | null | null | null | Release/Tests/AnalysisTest/Python.VS.TestData/Grammar/FromImportStmt.py | rsumner33/PTVS | f5d67cff8c7bb32992dd4f77c0dfddaca6071250 | [
"Apache-2.0"
] | null | null | null | Release/Tests/AnalysisTest/Python.VS.TestData/Grammar/FromImportStmt.py | rsumner33/PTVS | f5d67cff8c7bb32992dd4f77c0dfddaca6071250 | [
"Apache-2.0"
] | 1 | 2020-12-09T10:16:23.000Z | 2020-12-09T10:16:23.000Z | from sys import winver
from sys import winver as baz
from sys.foo import winver
from sys.foo import winver as baz
from ...foo import bar
from ....foo import bar
from ......foo import bar
from .......foo import bar
from foo import (foo as bar, baz as quox) | 28.444444 | 41 | 0.726563 | 48 | 256 | 3.895833 | 0.208333 | 0.336898 | 0.347594 | 0.342246 | 0.764706 | 0.411765 | 0.411765 | 0.411765 | 0.411765 | 0.411765 | 0 | 0 | 0.171875 | 256 | 9 | 41 | 28.444444 | 0.877358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fd8ecbb4e87d8f38e448f2f9cdfda0028217d08c | 93 | py | Python | pgnlp/metrics.py | porfyriosg/pgnlp | d43b104f16dd8ca1fa7a988bcd0ba6f6183f3a4c | [
"MIT"
] | 4 | 2020-12-24T16:00:33.000Z | 2020-12-24T21:46:14.000Z | pgnlp/metrics.py | porfyriosg/pgnlp | d43b104f16dd8ca1fa7a988bcd0ba6f6183f3a4c | [
"MIT"
] | null | null | null | pgnlp/metrics.py | porfyriosg/pgnlp | d43b104f16dd8ca1fa7a988bcd0ba6f6183f3a4c | [
"MIT"
] | null | null | null | from .utils import *
def count_words(text:str=''):
return len(re.findall(r'\w+', text))
| 18.6 | 40 | 0.645161 | 15 | 93 | 3.933333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 93 | 4 | 41 | 23.25 | 0.746835 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
fdfe361b9d0330507d0722f27517256ca4bbfbea | 120 | py | Python | string.py | sshan0509/day3 | 21cb110f28346e5171252a1ecd37b48526e7afd6 | [
"Apache-2.0"
] | null | null | null | string.py | sshan0509/day3 | 21cb110f28346e5171252a1ecd37b48526e7afd6 | [
"Apache-2.0"
] | null | null | null | string.py | sshan0509/day3 | 21cb110f28346e5171252a1ecd37b48526e7afd6 | [
"Apache-2.0"
] | null | null | null | name = "Nick"
city = 'Seoul'
print(name)
print(city)
print(name, city)
print(name + " " + city)
print("Hello, " + name)
| 15 | 24 | 0.625 | 17 | 120 | 4.411765 | 0.352941 | 0.36 | 0.346667 | 0.453333 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 120 | 7 | 25 | 17.142857 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.141667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e3624c049cdd9380a1219082970de07021015841 | 76 | py | Python | esbo_etc/__init__.py | LukasK13/ESBO-ETC | d1db999f1670f2777c5227d79629d421f03e5393 | [
"Apache-2.0"
] | null | null | null | esbo_etc/__init__.py | LukasK13/ESBO-ETC | d1db999f1670f2777c5227d79629d421f03e5393 | [
"Apache-2.0"
] | null | null | null | esbo_etc/__init__.py | LukasK13/ESBO-ETC | d1db999f1670f2777c5227d79629d421f03e5393 | [
"Apache-2.0"
] | null | null | null | from esbo_etc.classes import *
from esbo_etc.lib import *
# __root__ = "."
| 15.2 | 30 | 0.710526 | 11 | 76 | 4.363636 | 0.636364 | 0.333333 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 76 | 4 | 31 | 19 | 0.761905 | 0.184211 | 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 |
8b561d87ec5f65a292c7168beb617a9df3fff6db | 258,537 | py | Python | instances/passenger_demand/pas-20210422-1717-int4e-1/56.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-int4e-1/56.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-int4e-1/56.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 7738
passenger_arriving = (
(2, 0, 0, 2, 0, 2, 1, 0, 3, 0, 0, 0, 0, 2, 2, 2, 1, 1, 2, 0, 0, 1, 3, 0, 0, 0), # 0
(3, 3, 2, 3, 2, 3, 1, 1, 0, 0, 0, 0, 0, 4, 1, 2, 0, 2, 2, 1, 1, 0, 0, 1, 0, 0), # 1
(0, 4, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 2, 0, 3, 4, 2, 1, 2, 1, 0, 0, 0), #... | 276.51016 | 500 | 0.769766 | 32,987 | 258,537 | 6.03274 | 0.198442 | 0.358187 | 0.343715 | 0.65125 | 0.387232 | 0.380474 | 0.374077 | 0.367775 | 0.365353 | 0.363926 | 0 | 0.849959 | 0.095669 | 258,537 | 934 | 501 | 276.80621 | 0.001193 | 0.015514 | 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 |
8b5acffc0e471fda19a1cdda932eb058d52e29b8 | 3,735 | py | Python | Board.py | FlubOtic/Tic-Tac-Toe | 2b51a1af589bb388c3e37bcc30c08dd1231b2d03 | [
"Unlicense"
] | null | null | null | Board.py | FlubOtic/Tic-Tac-Toe | 2b51a1af589bb388c3e37bcc30c08dd1231b2d03 | [
"Unlicense"
] | null | null | null | Board.py | FlubOtic/Tic-Tac-Toe | 2b51a1af589bb388c3e37bcc30c08dd1231b2d03 | [
"Unlicense"
] | null | null | null | class Board:
def __init__(self):
self.block = [["Empty" for x in range(3)] for y in range(3)]
self.won = False
def set_block(self, location, xo):
self.block[location[0]][location[1]] = xo
self.won = self.horizontal_check(location, xo)
def available_block(self, lo... | 35.235849 | 94 | 0.43668 | 446 | 3,735 | 3.616592 | 0.085202 | 0.029758 | 0.074396 | 0.081835 | 0.802232 | 0.751395 | 0.734656 | 0.716677 | 0.716677 | 0.716677 | 0 | 0.05814 | 0.44739 | 3,735 | 106 | 95 | 35.235849 | 0.723353 | 0 | 0 | 0.6 | 0 | 0 | 0.004015 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088889 | false | 0 | 0 | 0 | 0.233333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b7afb448a0d19aabb57cbd1068272f9e3fecbf0 | 124 | py | Python | ncssl_api_client/api/commands/create_command.py | antonku/ncssl_api_client | c463b000960d50368d39bde2a180499f1da3a29a | [
"MIT"
] | 8 | 2017-11-28T11:05:52.000Z | 2021-11-16T13:52:45.000Z | ncssl_api_client/api/commands/create_command.py | antonku/ncssl_api_client | c463b000960d50368d39bde2a180499f1da3a29a | [
"MIT"
] | 4 | 2018-12-23T14:52:11.000Z | 2019-08-09T21:01:44.000Z | ncssl_api_client/api/commands/create_command.py | antonku/ncssl_api_client | c463b000960d50368d39bde2a180499f1da3a29a | [
"MIT"
] | 2 | 2017-11-28T14:38:24.000Z | 2017-11-29T09:03:20.000Z | from ncssl_api_client.api.commands.abstract_command import AbstractCommand
class CreateCommand(AbstractCommand):
pass
| 20.666667 | 74 | 0.846774 | 14 | 124 | 7.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104839 | 124 | 5 | 75 | 24.8 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
8bb4888998e2491bda692ec0cf1858e911259795 | 13,152 | py | Python | api/tests.py | mahbd/simplify-rest-framework | c270a215260c313134662fb5175a63fe716a9553 | [
"MIT"
] | null | null | null | api/tests.py | mahbd/simplify-rest-framework | c270a215260c313134662fb5175a63fe716a9553 | [
"MIT"
] | null | null | null | api/tests.py | mahbd/simplify-rest-framework | c270a215260c313134662fb5175a63fe716a9553 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from django.test import TestCase, Client
from api.models import Problem, Contest, TestCase as TestCaseModel
c = Client()
class UserTestCase(TestCase):
def setUp(self):
self.user = User.objects.create_user(username='testuser', password='12345', first_name='Test... | 47.139785 | 118 | 0.615648 | 1,536 | 13,152 | 5.113932 | 0.076172 | 0.141311 | 0.099554 | 0.125525 | 0.863144 | 0.820242 | 0.783068 | 0.765627 | 0.760789 | 0.747167 | 0 | 0.023216 | 0.243461 | 13,152 | 278 | 119 | 47.309353 | 0.766231 | 0.006615 | 0 | 0.665236 | 0 | 0 | 0.1714 | 0 | 0 | 0 | 0 | 0.003597 | 0.317597 | 1 | 0.16309 | false | 0.038627 | 0.012876 | 0 | 0.193133 | 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 |
47a3c741fd341fa75ff763da8ee5bced83259a9b | 108 | py | Python | myproject/__init__.py | rickliao18/myproject | 308c582d967a647c49543d68d352558474753861 | [
"BSD-2-Clause"
] | null | null | null | myproject/__init__.py | rickliao18/myproject | 308c582d967a647c49543d68d352558474753861 | [
"BSD-2-Clause"
] | null | null | null | myproject/__init__.py | rickliao18/myproject | 308c582d967a647c49543d68d352558474753861 | [
"BSD-2-Clause"
] | null | null | null | print('Hello from init.py')
from . import pronto_utils
from . import basic_utils
from .constants import pi
| 18 | 27 | 0.777778 | 17 | 108 | 4.823529 | 0.647059 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 108 | 5 | 28 | 21.6 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9a21597eeba999a0c79f92a84e0b21b9823b694e | 72 | py | Python | publicdata/nlsy/__init__.py | CivicKnowledge/publicdata | 37210e3c3b89cf8068feb79a2f12923b3cb5c336 | [
"MIT"
] | 2 | 2017-10-10T18:53:40.000Z | 2020-05-28T21:49:01.000Z | publicdata/nlsy/__init__.py | CivicKnowledge/publicdata | 37210e3c3b89cf8068feb79a2f12923b3cb5c336 | [
"MIT"
] | 7 | 2018-10-02T15:53:22.000Z | 2019-01-27T23:06:32.000Z | publicdata/nlsy/__init__.py | CivicKnowledge/publicdata | 37210e3c3b89cf8068feb79a2f12923b3cb5c336 | [
"MIT"
] | 2 | 2018-08-31T15:46:52.000Z | 2019-09-18T05:31:28.000Z |
from .nlsy import NLSY97, NLSY79
class NlsyError(Exception):
pass | 12 | 32 | 0.736111 | 9 | 72 | 5.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.194444 | 72 | 6 | 33 | 12 | 0.844828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9a338476537832bef622cf8569c58c9838965a49 | 15,022 | py | Python | tests/modules/extra/rabbitmq/application/message/consumer/test_rabbitmq_message_consumer.py | alice-biometrics/petisco | b96e697cc875f67a28e60b4fc0d9ed9fc646cd86 | [
"MIT"
] | 19 | 2019-11-01T09:27:17.000Z | 2021-12-15T10:52:31.000Z | tests/modules/extra/rabbitmq/application/message/consumer/test_rabbitmq_message_consumer.py | alice-biometrics/petisco | b96e697cc875f67a28e60b4fc0d9ed9fc646cd86 | [
"MIT"
] | 68 | 2020-01-15T06:55:00.000Z | 2022-02-22T15:57:24.000Z | tests/modules/extra/rabbitmq/application/message/consumer/test_rabbitmq_message_consumer.py | alice-biometrics/petisco | b96e697cc875f67a28e60b4fc0d9ed9fc646cd86 | [
"MIT"
] | 2 | 2019-11-19T10:40:25.000Z | 2019-11-28T07:12:07.000Z | import copy
from time import sleep
import pytest
from meiga import BoolResult, isFailure, isSuccess
from petisco import DomainEvent
from tests.modules.extra.rabbitmq.mother.domain_event_user_created_mother import (
DomainEventUserCreatedMother,
)
from tests.modules.extra.rabbitmq.mother.message_subscriber_mother ... | 35.262911 | 239 | 0.755891 | 1,698 | 15,022 | 6.243816 | 0.063015 | 0.096491 | 0.037634 | 0.05348 | 0.888323 | 0.87408 | 0.85333 | 0.794284 | 0.72873 | 0.724014 | 0 | 0.014918 | 0.165557 | 15,022 | 425 | 240 | 35.345882 | 0.830874 | 0 | 0 | 0.618343 | 0 | 0 | 0.037146 | 0.031354 | 0 | 0 | 0 | 0 | 0.174556 | 1 | 0.053254 | false | 0 | 0.035503 | 0 | 0.12426 | 0.005917 | 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 |
7be8d4012f9ccea3889d2c8b026d1e875907cc92 | 38 | py | Python | addons/event_sale/wizard/__init__.py | jjiege/odoo | fd5b8ad387c1881f349d125cbd56433f4d49398f | [
"MIT"
] | null | null | null | addons/event_sale/wizard/__init__.py | jjiege/odoo | fd5b8ad387c1881f349d125cbd56433f4d49398f | [
"MIT"
] | null | null | null | addons/event_sale/wizard/__init__.py | jjiege/odoo | fd5b8ad387c1881f349d125cbd56433f4d49398f | [
"MIT"
] | null | null | null | from . import event_edit_registration
| 19 | 37 | 0.868421 | 5 | 38 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.911765 | 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 |
7bff9efe1f63cfa62ff148848204ea81bd3fb123 | 94,071 | py | Python | envdsys/plots/apps/plot_app.py | NOAA-PMEL/envDataSystem | 4db4a3569d2329658799a3eef06ce36dd5c0597d | [
"Unlicense"
] | 1 | 2021-11-06T19:22:53.000Z | 2021-11-06T19:22:53.000Z | envdsys/plots/apps/plot_app.py | NOAA-PMEL/envDataSystem | 4db4a3569d2329658799a3eef06ce36dd5c0597d | [
"Unlicense"
] | 25 | 2019-06-18T20:40:36.000Z | 2021-07-23T20:56:48.000Z | envdsys/plots/apps/plot_app.py | NOAA-PMEL/envDataSystem | 4db4a3569d2329658799a3eef06ce36dd5c0597d | [
"Unlicense"
] | null | null | null | from plots.plot_buffer import PlotBufferManager, PlotBuffer
from asyncio.queues import Queue
# from collections import deque
# import asyncio
import abc
import copy
# import time
import math
# import utilities.util
# from datetime import datetime
from bokeh.models import Line, Circle, Legend
from bokeh.plotting import... | 38.131739 | 111 | 0.429452 | 9,278 | 94,071 | 4.127829 | 0.044729 | 0.029767 | 0.011515 | 0.011907 | 0.869367 | 0.843099 | 0.812732 | 0.78132 | 0.749909 | 0.726121 | 0 | 0.010081 | 0.452722 | 94,071 | 2,466 | 112 | 38.147202 | 0.733815 | 0.296829 | 0 | 0.687023 | 0 | 0 | 0.057733 | 0.000615 | 0 | 0 | 0 | 0.000406 | 0 | 1 | 0.05598 | false | 0.005089 | 0.014419 | 0.017812 | 0.115352 | 0.007634 | 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 |
d0e2f373421e5f70ac9447d2a7a88dfead439604 | 159 | py | Python | tool/class_names.py | WildflowerSchools/pytorch-YOLOv4 | 2a3eea9b84036afdc87ab4ed006b028646bb2945 | [
"Apache-2.0"
] | 3 | 2020-08-09T22:22:42.000Z | 2020-11-15T02:59:05.000Z | tool/class_names.py | WildflowerSchools/pytorch-YOLOv4 | 2a3eea9b84036afdc87ab4ed006b028646bb2945 | [
"Apache-2.0"
] | null | null | null | tool/class_names.py | WildflowerSchools/pytorch-YOLOv4 | 2a3eea9b84036afdc87ab4ed006b028646bb2945 | [
"Apache-2.0"
] | 1 | 2020-08-09T22:26:17.000Z | 2020-08-09T22:26:17.000Z | import os
COCO_NAMES = os.path.join(os.path.dirname(__file__), '../data/coco.names')
VOC_NAMES = os.path.join(os.path.dirname(__file__), '../data/voc.names')
| 31.8 | 74 | 0.716981 | 26 | 159 | 4 | 0.384615 | 0.230769 | 0.211538 | 0.288462 | 0.692308 | 0.692308 | 0.692308 | 0.692308 | 0.692308 | 0 | 0 | 0 | 0.069182 | 159 | 4 | 75 | 39.75 | 0.702703 | 0 | 0 | 0 | 0 | 0 | 0.220126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
efb13acb8b6499082f02efac2b85cddce6507c2d | 10,229 | py | Python | app/authorization/tests/test_membership_mutations.py | getmetamapper/metamapper | 0b2f67eec03fbf7ece35ff9f58ea9bb2dde4d85f | [
"BSD-2-Clause"
] | 53 | 2020-07-01T23:11:59.000Z | 2022-03-31T19:10:28.000Z | app/authorization/tests/test_membership_mutations.py | metamapper-io/metamapper | 376716e72bcaca62f1ec09ca9a13a0346e5502f9 | [
"BSD-2-Clause"
] | 5 | 2020-11-25T19:48:57.000Z | 2022-02-27T23:50:18.000Z | app/authorization/tests/test_membership_mutations.py | metamapper-io/metamapper | 376716e72bcaca62f1ec09ca9a13a0346e5502f9 | [
"BSD-2-Clause"
] | 5 | 2020-08-29T16:43:59.000Z | 2022-01-17T19:05:30.000Z | # -*- coding: utf-8 -*-
import unittest.mock as mock
import testutils.cases as cases
import testutils.decorators as decorators
import app.authorization.models as models
class GrantMembershipTests(cases.GraphQLTestCase):
"""Test cases for granting membership to a workspace.
"""
operation = 'grantMembersh... | 30.443452 | 78 | 0.599863 | 891 | 10,229 | 6.709315 | 0.102132 | 0.06825 | 0.024088 | 0.050184 | 0.836902 | 0.808966 | 0.774339 | 0.72081 | 0.703245 | 0.703245 | 0 | 0.000137 | 0.287418 | 10,229 | 335 | 79 | 30.534328 | 0.820003 | 0.0131 | 0 | 0.683824 | 0 | 0 | 0.174038 | 0.060294 | 0 | 0 | 0 | 0 | 0.158088 | 1 | 0.044118 | false | 0 | 0.014706 | 0 | 0.080882 | 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 |
efcf82fa58df0ba334dcc4cf237dc19596b078f3 | 79 | py | Python | app_with_import_error/settings.py | lsgunth/djappsettings | cf6f5126a8373da82797d14298320f100b1fb353 | [
"MIT"
] | 2 | 2015-02-02T17:17:09.000Z | 2021-08-28T09:09:47.000Z | app_with_import_error/settings.py | lsgunth/djappsettings | cf6f5126a8373da82797d14298320f100b1fb353 | [
"MIT"
] | 1 | 2015-05-25T19:21:59.000Z | 2015-05-25T19:21:59.000Z | app_with_import_error/settings.py | lsgunth/djappsettings | cf6f5126a8373da82797d14298320f100b1fb353 | [
"MIT"
] | 2 | 2018-12-05T23:14:44.000Z | 2019-01-10T17:38:48.000Z | import blah # noqa
# ^ Generate an ImportError to make sure we don't mask it
| 19.75 | 57 | 0.721519 | 14 | 79 | 4.071429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227848 | 79 | 3 | 58 | 26.333333 | 0.934426 | 0.759494 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
efd7228f967d4045c49c463086908e25f1c79bcb | 116 | py | Python | cursodjango/aperitivos/views.py | jona04/app-curso-django | 2080eb974b31beafa8ca4f07b801771f4d691ad8 | [
"MIT"
] | null | null | null | cursodjango/aperitivos/views.py | jona04/app-curso-django | 2080eb974b31beafa8ca4f07b801771f4d691ad8 | [
"MIT"
] | 39 | 2020-04-25T16:26:53.000Z | 2021-09-22T18:59:59.000Z | cursodjango/aperitivos/views.py | jona04/app-curso-django | 2080eb974b31beafa8ca4f07b801771f4d691ad8 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def video(request, slug):
return render(request, 'aperitivos/video.html')
| 19.333333 | 51 | 0.758621 | 15 | 116 | 5.866667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 116 | 5 | 52 | 23.2 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0.181034 | 0.181034 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
eff20c51708f83c91360b1af030c62d0d284f79b | 137 | py | Python | src/pymane/error.py | Ostoic/pymane | 99d9efd17945058a8a46319605e231a0e185c98f | [
"MIT"
] | null | null | null | src/pymane/error.py | Ostoic/pymane | 99d9efd17945058a8a46319605e231a0e185c98f | [
"MIT"
] | null | null | null | src/pymane/error.py | Ostoic/pymane | 99d9efd17945058a8a46319605e231a0e185c98f | [
"MIT"
] | null | null | null | class CharacterNotFoundError(Exception):
pass
class UnhandledParseError(Exception):
pass
class CaptchaRequiredError(Exception):
pass | 17.125 | 40 | 0.839416 | 12 | 137 | 9.583333 | 0.5 | 0.33913 | 0.313043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094891 | 137 | 8 | 41 | 17.125 | 0.927419 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4bc9830a624d5a2d1552060ef3d20400a19eaf86 | 134 | py | Python | models/EBM/__init__.py | JunLi-Galios/flow-based-CoopNets | 3580c8ca242768be3cb24ae10cd522924dca52d3 | [
"MIT"
] | null | null | null | models/EBM/__init__.py | JunLi-Galios/flow-based-CoopNets | 3580c8ca242768be3cb24ae10cd522924dca52d3 | [
"MIT"
] | null | null | null | models/EBM/__init__.py | JunLi-Galios/flow-based-CoopNets | 3580c8ca242768be3cb24ae10cd522924dca52d3 | [
"MIT"
] | null | null | null | from models.EBM.ebm import F
from models.EBM.trainer import train_full, train_single_step, test
from models.EBM.sampler import sample
| 33.5 | 66 | 0.835821 | 23 | 134 | 4.73913 | 0.565217 | 0.275229 | 0.357798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 134 | 3 | 67 | 44.666667 | 0.908333 | 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 |
4bed4d6b9a4d72f2361082b61f35820cd13ecaec | 41 | py | Python | pytlssniff/__init__.py | DNS-Privacy-Security/PyTLSSniff | 04ff3d61a47666e2be8295c19ffbd6334a39e388 | [
"MIT"
] | 1 | 2020-07-31T13:51:31.000Z | 2020-07-31T13:51:31.000Z | pytlssniff/__init__.py | DNS-Privacy-Security/PyTLSSniff | 04ff3d61a47666e2be8295c19ffbd6334a39e388 | [
"MIT"
] | null | null | null | pytlssniff/__init__.py | DNS-Privacy-Security/PyTLSSniff | 04ff3d61a47666e2be8295c19ffbd6334a39e388 | [
"MIT"
] | null | null | null | from .sniffer import TLSHandshakeSniffer
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.