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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ce80fb5cf7cc8de8662abff81c0c30df6c3722fb | 91 | py | Python | gmailbox/apps.py | megatron0000/ces22-xadrez-web | 10032f81952e1f816925f5af9c27f235dfbf360c | [
"MIT"
] | null | null | null | gmailbox/apps.py | megatron0000/ces22-xadrez-web | 10032f81952e1f816925f5af9c27f235dfbf360c | [
"MIT"
] | 8 | 2020-02-11T22:28:16.000Z | 2021-06-10T20:16:42.000Z | gmailbox/apps.py | megatron0000/ces22-xadrez-web | 10032f81952e1f816925f5af9c27f235dfbf360c | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class GmailBoxConfig(AppConfig):
name = 'gmailbox'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cec99a1754c7933823e18fdb2d3c3f20789ec5bf | 5,052 | py | Python | tools/c7n_azure/tests_azure/tests_resources/test_event_hub.py | chris-angeli-rft/cloud-custodian | 5ff331b114a591dbaf6d672e30ceefb7ae64a5dd | [
"Apache-2.0"
] | 8 | 2021-05-18T02:22:03.000Z | 2021-09-11T02:49:04.000Z | tools/c7n_azure/tests_azure/tests_resources/test_event_hub.py | chris-angeli-rft/cloud-custodian | 5ff331b114a591dbaf6d672e30ceefb7ae64a5dd | [
"Apache-2.0"
] | 1 | 2021-04-26T04:38:35.000Z | 2021-04-26T04:38:35.000Z | tools/c7n_azure/tests_azure/tests_resources/test_event_hub.py | chris-angeli-rft/cloud-custodian | 5ff331b114a591dbaf6d672e30ceefb7ae64a5dd | [
"Apache-2.0"
] | 1 | 2020-12-28T23:21:30.000Z | 2020-12-28T23:21:30.000Z | # Copyright 2019 Microsoft Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 35.328671 | 74 | 0.500792 | 495 | 5,052 | 4.99596 | 0.236364 | 0.078852 | 0.029114 | 0.048524 | 0.719369 | 0.71856 | 0.70926 | 0.693085 | 0.689446 | 0.655479 | 0 | 0.024538 | 0.346595 | 5,052 | 142 | 75 | 35.577465 | 0.724629 | 0.10966 | 0 | 0.806723 | 0 | 0 | 0.266503 | 0.005575 | 0 | 0 | 0 | 0 | 0.067227 | 1 | 0.067227 | false | 0 | 0.008403 | 0 | 0.084034 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0c7833d91939bf6585a47068c0db482d70b2ffe6 | 131 | py | Python | config/__init__.py | IMBINGO95/FairMOT | c496e911a89870a9b6988d93f80e680d01ee8afc | [
"MIT"
] | null | null | null | config/__init__.py | IMBINGO95/FairMOT | c496e911a89870a9b6988d93f80e680d01ee8afc | [
"MIT"
] | null | null | null | config/__init__.py | IMBINGO95/FairMOT | c496e911a89870a9b6988d93f80e680d01ee8afc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2021/1/27 22:33
# @Author : BINGO
# @School: 浙江大学
# @Campany: 竺星
# @FileName: __init__.py.py
| 18.714286 | 28 | 0.572519 | 19 | 131 | 3.736842 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.206107 | 131 | 6 | 29 | 21.833333 | 0.567308 | 0.900763 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0c7a6a41c0a3a1f235803d1783bd66e37bc01cb9 | 217 | py | Python | geoscilabs/gpr/Wiggle.py | jcapriot/geosci-labs | 044a73432b9cb1187924f7761942ab329259d875 | [
"MIT"
] | 2 | 2019-01-15T03:02:28.000Z | 2019-03-20T03:41:12.000Z | geoscilabs/gpr/Wiggle.py | jcapriot/geosci-labs | 044a73432b9cb1187924f7761942ab329259d875 | [
"MIT"
] | 1 | 2018-12-30T20:09:25.000Z | 2018-12-30T20:09:25.000Z | geoscilabs/gpr/Wiggle.py | jcapriot/geosci-labs | 044a73432b9cb1187924f7761942ab329259d875 | [
"MIT"
] | null | null | null | import numpy as np
def PrimaryWave(x, velocity, tinterp):
return tinterp + 1.0 / velocity * x
def ReflectedWave(x, velocity, tinterp):
time = np.sqrt(x ** 2 / velocity ** 2 + tinterp ** 2)
return time
| 19.727273 | 57 | 0.645161 | 31 | 217 | 4.516129 | 0.516129 | 0.128571 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03012 | 0.235023 | 217 | 10 | 58 | 21.7 | 0.813253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0cf776032667c66aa9047465a936c18e4c0e130b | 99 | py | Python | mysite/ChainLicense/apps.py | Hwieun/ChainLicense | 35d552ff1cfd056584a54b946999ff287e87d8ad | [
"Apache-2.0"
] | 2 | 2019-09-23T01:55:46.000Z | 2019-11-08T16:33:47.000Z | mysite/ChainLicense/apps.py | Hwieun/ChainLicense | 35d552ff1cfd056584a54b946999ff287e87d8ad | [
"Apache-2.0"
] | 1 | 2019-10-07T01:11:55.000Z | 2019-10-07T01:11:55.000Z | mysite/ChainLicense/apps.py | Hwieun/ChainLicense | 35d552ff1cfd056584a54b946999ff287e87d8ad | [
"Apache-2.0"
] | 1 | 2019-09-24T06:22:30.000Z | 2019-09-24T06:22:30.000Z | from django.apps import AppConfig
class ChainlicenseConfig(AppConfig):
name = 'ChainLicense'
| 16.5 | 36 | 0.777778 | 10 | 99 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 5 | 37 | 19.8 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0cfa9b70f4dd085778dfa0f986d2747b6f89ea72 | 430 | py | Python | bin/ADFRsuite/CCSBpckgs/mglkey/__init__.py | AngelRuizMoreno/Jupyter_Dock_devel | 6d23bc174d5294d1e9909a0a1f9da0713042339e | [
"MIT"
] | null | null | null | bin/ADFRsuite/CCSBpckgs/mglkey/__init__.py | AngelRuizMoreno/Jupyter_Dock_devel | 6d23bc174d5294d1e9909a0a1f9da0713042339e | [
"MIT"
] | null | null | null | bin/ADFRsuite/CCSBpckgs/mglkey/__init__.py | AngelRuizMoreno/Jupyter_Dock_devel | 6d23bc174d5294d1e9909a0a1f9da0713042339e | [
"MIT"
] | 1 | 2021-11-04T21:48:14.000Z | 2021-11-04T21:48:14.000Z | #############################################################################
#
# Author: Michel F. SANNER
#
# Copyright: M. Sanner and TSRI 2015
#
#########################################################################
#
# $Header: /mnt/raid/services/cvs/mglkeyDIST/mglkey/__init__.py,v 1.1.1.1 2016/12/07 23:27:34 sa... | 30.714286 | 106 | 0.448837 | 54 | 430 | 3.388889 | 0.611111 | 0.065574 | 0.065574 | 0.087432 | 0.371585 | 0.371585 | 0.371585 | 0.371585 | 0.371585 | 0.371585 | 0 | 0.103093 | 0.097674 | 430 | 13 | 107 | 33.076923 | 0.368557 | 0.52093 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0b2242c98f153e44bcbb14ec8721042c75e0511e | 76 | py | Python | bin/pymodules/objectedit/__init__.py | mattire/naali | 28c9cdc84c6a85e0151a222e55ae35c9403f0212 | [
"Apache-2.0"
] | 1 | 2018-04-02T15:38:10.000Z | 2018-04-02T15:38:10.000Z | bin/pymodules/objectedit/__init__.py | mattire/naali | 28c9cdc84c6a85e0151a222e55ae35c9403f0212 | [
"Apache-2.0"
] | null | null | null | bin/pymodules/objectedit/__init__.py | mattire/naali | 28c9cdc84c6a85e0151a222e55ae35c9403f0212 | [
"Apache-2.0"
] | null | null | null | #from editgui import EditGUI
#from only_layout import OnlyLayout as EditGUI
| 25.333333 | 46 | 0.842105 | 11 | 76 | 5.727273 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 76 | 2 | 47 | 38 | 0.954545 | 0.947368 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0b84b4636dfd6d734d772cca8a444833fce6d004 | 221 | py | Python | Modulo_1/semana2/variables_contantes/sentencia-global.py | rubens233/cocid_python | 492ebdf21817e693e5eb330ee006397272f2e0cc | [
"MIT"
] | null | null | null | Modulo_1/semana2/variables_contantes/sentencia-global.py | rubens233/cocid_python | 492ebdf21817e693e5eb330ee006397272f2e0cc | [
"MIT"
] | null | null | null | Modulo_1/semana2/variables_contantes/sentencia-global.py | rubens233/cocid_python | 492ebdf21817e693e5eb330ee006397272f2e0cc | [
"MIT"
] | 1 | 2022-03-04T00:57:18.000Z | 2022-03-04T00:57:18.000Z | variable1 = "variable original"
def variable_global():
global variable1
variable1 = "variable global modificada"
print(variable1)
#variable original
variable_global()
print(variable1)
#variable global modificada
| 20.090909 | 44 | 0.78733 | 23 | 221 | 7.478261 | 0.304348 | 0.395349 | 0.290698 | 0.383721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026178 | 0.135747 | 221 | 10 | 45 | 22.1 | 0.874346 | 0.19457 | 0 | 0.285714 | 0 | 0 | 0.244318 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0.285714 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0b9068ae3299f03b04a8be28a4b732a299e46459 | 1,132 | py | Python | config.py | xXAligatorXx/repostAlert | 74f450b577fa0971632a57c7d1f599eea4808427 | [
"MIT"
] | 25 | 2018-10-18T15:16:39.000Z | 2019-06-06T04:33:20.000Z | config.py | xXAligatorXx/repostAlert | 74f450b577fa0971632a57c7d1f599eea4808427 | [
"MIT"
] | 6 | 2018-10-17T01:34:13.000Z | 2019-06-08T18:31:41.000Z | config.py | xXAligatorXx/repostAlert | 74f450b577fa0971632a57c7d1f599eea4808427 | [
"MIT"
] | 2 | 2018-10-25T19:42:45.000Z | 2018-12-05T23:09:06.000Z | import os
client_id = os.environ['BOT_CLIENT_ID']
client_secret = os.environ['BOT_CLIENT_SECRET']
user_agent = os.environ['BOT_USER_AGENT']
username = os.environ['BOT_USERNAME']
password = os.environ['BOT_PASSWORD']
num_subs = int(os.environ['BOT_SUB_COUNT'])
sub_settings = [[
os.environ['BOT_SUBREDDIT' + i],
... | 56.6 | 102 | 0.682862 | 201 | 1,132 | 3.572139 | 0.19403 | 0.288301 | 0.250696 | 0.167131 | 0.544568 | 0.342618 | 0.342618 | 0.342618 | 0.342618 | 0.342618 | 0 | 0.013934 | 0.175795 | 1,132 | 19 | 103 | 59.578947 | 0.755627 | 0 | 0 | 0 | 0 | 0 | 0.284452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.055556 | 0.055556 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f002326f1a28c7e060443caad098a4b8ad312c0c | 216 | py | Python | src/myutils/__init__.py | yyHaker/TextClassification | dc3c5ffe0731609c8f0c7a18a4daa5f149f83e9f | [
"MIT"
] | 3 | 2019-06-08T14:11:56.000Z | 2020-05-26T15:08:23.000Z | src/myutils/__init__.py | yyHaker/TextClassification | dc3c5ffe0731609c8f0c7a18a4daa5f149f83e9f | [
"MIT"
] | null | null | null | src/myutils/__init__.py | yyHaker/TextClassification | dc3c5ffe0731609c8f0c7a18a4daa5f149f83e9f | [
"MIT"
] | null | null | null | #!/usr/bin/python
# coding:utf-8
"""
@author: yyhaker
@contact: 572176750@qq.com
@file: __init__.py
@time: 2019/3/9 15:41
"""
from .util import *
from .functions import *
from .nn import *
from .attention import *
| 14.4 | 26 | 0.685185 | 33 | 216 | 4.363636 | 0.818182 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 0.148148 | 216 | 14 | 27 | 15.428571 | 0.673913 | 0.527778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f02b9d8204d4475686faf005be7403e65cc83f6f | 115 | py | Python | focus_testmap.py | Driftwood2D/blue | 02b5bd3dbbc8fe2836f88c8beaa0955344cc7998 | [
"MIT"
] | null | null | null | focus_testmap.py | Driftwood2D/blue | 02b5bd3dbbc8fe2836f88c8beaa0955344cc7998 | [
"MIT"
] | null | null | null | focus_testmap.py | Driftwood2D/blue | 02b5bd3dbbc8fe2836f88c8beaa0955344cc7998 | [
"MIT"
] | null | null | null | def setup():
# Insert light.
Driftwood.light.insert("lightmap_circle1.png", 2, 64, 60, 56, 56, "22FF66DD")
| 28.75 | 81 | 0.652174 | 16 | 115 | 4.625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 0.173913 | 115 | 3 | 82 | 38.333333 | 0.631579 | 0.113043 | 0 | 0 | 0 | 0 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f04907145e0f5329d91ce6e7245421c294f51891 | 16,781 | py | Python | src/genie/libs/parser/linux/route.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/linux/route.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/linux/route.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | """route.py
Linux parsers for the following commands:
* route
"""
# python
import re
# metaparser
from genie.metaparser import MetaParser
from genie.metaparser.util.schemaengine import Schema, Any, Optional
from netaddr import IPAddress, IPNetwork
# =======================================================
# Sch... | 38.052154 | 100 | 0.362255 | 1,382 | 16,781 | 4.352388 | 0.116498 | 0.01197 | 0.01463 | 0.038903 | 0.757107 | 0.737656 | 0.731505 | 0.708728 | 0.664505 | 0.654697 | 0 | 0.049223 | 0.493951 | 16,781 | 440 | 101 | 38.138636 | 0.659091 | 0.143734 | 0 | 0.652027 | 0 | 0 | 0.13899 | 0.043307 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010135 | false | 0 | 0.013514 | 0 | 0.060811 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f0571f9fa4afbc250ffbbd1dd3bed40b228bfe8d | 46 | py | Python | cne/__init__.py | BartWojtowicz/cne | 16612292c1c938fc9ec53a14642fb7d40bcc9e25 | [
"Apache-2.0"
] | null | null | null | cne/__init__.py | BartWojtowicz/cne | 16612292c1c938fc9ec53a14642fb7d40bcc9e25 | [
"Apache-2.0"
] | null | null | null | cne/__init__.py | BartWojtowicz/cne | 16612292c1c938fc9ec53a14642fb7d40bcc9e25 | [
"Apache-2.0"
] | null | null | null | from .cne import CNE
__version__ = "0.0.dev"
| 11.5 | 23 | 0.695652 | 8 | 46 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.173913 | 46 | 3 | 24 | 15.333333 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f05d0c3401f69142c582ade92cb02f323289bd68 | 183 | py | Python | dingomata/config/__init__.py | tigershadowclaw/discord-dingomata | 0b20d7b75a0af3387b19b17c336e5e14356d2f14 | [
"MIT"
] | null | null | null | dingomata/config/__init__.py | tigershadowclaw/discord-dingomata | 0b20d7b75a0af3387b19b17c336e5e14356d2f14 | [
"MIT"
] | null | null | null | dingomata/config/__init__.py | tigershadowclaw/discord-dingomata | 0b20d7b75a0af3387b19b17c336e5e14356d2f14 | [
"MIT"
] | null | null | null | from .bot import GuildConfig, ServiceConfig, get_logging_config, service_config
__all__ = [
"ServiceConfig",
"GuildConfig",
"get_logging_config",
"service_config",
]
| 20.333333 | 79 | 0.721311 | 18 | 183 | 6.777778 | 0.555556 | 0.163934 | 0.262295 | 0.377049 | 0.47541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174863 | 183 | 8 | 80 | 22.875 | 0.807947 | 0 | 0 | 0 | 0 | 0 | 0.306011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b2cacdeef0561546d139a9bec5f6cfde666b19a3 | 156 | py | Python | basic/server.py | spinico/django-projects-boilerplates | 22d47f60d282d0edb9c0f1b84bb3e9e84949bd25 | [
"MIT"
] | null | null | null | basic/server.py | spinico/django-projects-boilerplates | 22d47f60d282d0edb9c0f1b84bb3e9e84949bd25 | [
"MIT"
] | null | null | null | basic/server.py | spinico/django-projects-boilerplates | 22d47f60d282d0edb9c0f1b84bb3e9e84949bd25 | [
"MIT"
] | null | null | null | from waitress import serve
from conf.wsgi import application
if __name__ == '__main__':
serve(application, listen='0.0.0.0:8000', url_scheme='https')
| 22.285714 | 65 | 0.737179 | 23 | 156 | 4.608696 | 0.695652 | 0.056604 | 0.056604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059259 | 0.134615 | 156 | 6 | 66 | 26 | 0.725926 | 0 | 0 | 0 | 0 | 0 | 0.160256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b2dc609945782154da069152ac5405f35cce2d2b | 25 | py | Python | SWSIdentity/Controllers/__init__.py | vanzhiganov/identity | 90936482cc23251ba06121658e6a0a9251e30b3b | [
"Apache-2.0"
] | 1 | 2018-03-26T21:18:52.000Z | 2018-03-26T21:18:52.000Z | SWSIdentity/Controllers/__init__.py | vanzhiganov/identity | 90936482cc23251ba06121658e6a0a9251e30b3b | [
"Apache-2.0"
] | null | null | null | SWSIdentity/Controllers/__init__.py | vanzhiganov/identity | 90936482cc23251ba06121658e6a0a9251e30b3b | [
"Apache-2.0"
] | null | null | null | __all__ = [
'Users'
] | 8.333333 | 11 | 0.48 | 2 | 25 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32 | 25 | 3 | 12 | 8.333333 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b2df22a6002e061c7249b53a9c05a87dc4e272cf | 697 | py | Python | src/oca/models/__init__.py | goubertbrent/oca-backend | b9f59cc02568aecb55d4b54aec05245790ea25fd | [
"Apache-2.0"
] | null | null | null | src/oca/models/__init__.py | goubertbrent/oca-backend | b9f59cc02568aecb55d4b54aec05245790ea25fd | [
"Apache-2.0"
] | null | null | null | src/oca/models/__init__.py | goubertbrent/oca-backend | b9f59cc02568aecb55d4b54aec05245790ea25fd | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
Our City App
Our City App internal apis # noqa: E501
The version of the OpenAPI document: 0.0.1
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
# import models into model package
from oca.models.home_screen import HomeScre... | 30.304348 | 82 | 0.826399 | 92 | 697 | 6.032609 | 0.5 | 0.075676 | 0.140541 | 0.183784 | 0.299099 | 0.174775 | 0.122523 | 0 | 0 | 0 | 0 | 0.013093 | 0.123386 | 697 | 22 | 83 | 31.681818 | 0.895254 | 0.292683 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b2f00fc324ac567aafda05e99a1cb8336f8b4e7a | 7,116 | py | Python | test_cases/apache_avro_adapter.py | QratorLabs/ritfest2016 | cddaaa9e827f5315d2e426c083029124649d6f50 | [
"MIT"
] | null | null | null | test_cases/apache_avro_adapter.py | QratorLabs/ritfest2016 | cddaaa9e827f5315d2e426c083029124649d6f50 | [
"MIT"
] | null | null | null | test_cases/apache_avro_adapter.py | QratorLabs/ritfest2016 | cddaaa9e827f5315d2e426c083029124649d6f50 | [
"MIT"
] | null | null | null | import io
import avro.io
try:
from avro.schema import parse
except ImportError:
from avro.schema import Parse as parse
class ApacheAvroAdapter(object):
NAME = 'avro'
def __init__(self):
with open('specs/str.avsc', 'r') as f:
schema = parse(f.read())
self.str_reader = a... | 32.054054 | 76 | 0.604272 | 879 | 7,116 | 4.711035 | 0.063709 | 0.115914 | 0.057957 | 0.092731 | 0.907752 | 0.895677 | 0.82299 | 0.718908 | 0.572567 | 0.330596 | 0 | 0.002747 | 0.283867 | 7,116 | 221 | 77 | 32.199095 | 0.809851 | 0 | 0 | 0.40884 | 0 | 0 | 0.030635 | 0.009134 | 0 | 0 | 0 | 0 | 0 | 1 | 0.138122 | false | 0 | 0.027624 | 0 | 0.309392 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e8fe259271609942f6b02a56e3c6e11a5d2eed49 | 1,060 | py | Python | Modules/Helpers/Bomb/SerialNumber.py | cweeks12/KTANE-Solver | b162bd107c0ac90a892659461819214772a04f9d | [
"MIT"
] | null | null | null | Modules/Helpers/Bomb/SerialNumber.py | cweeks12/KTANE-Solver | b162bd107c0ac90a892659461819214772a04f9d | [
"MIT"
] | null | null | null | Modules/Helpers/Bomb/SerialNumber.py | cweeks12/KTANE-Solver | b162bd107c0ac90a892659461819214772a04f9d | [
"MIT"
] | null | null | null | class SerialNumber:
def __init__(self, serialNumber):
if not (len(serialNumber) == 6):
raise ValueError('Serial Number must be 6 digits long')
self._serialNumber = serialNumber
def __str__(self):
return 'S/N: {}'.format(self._serialNumber)
def __repr__(self):
... | 27.894737 | 68 | 0.565094 | 102 | 1,060 | 5.686275 | 0.441176 | 0.22069 | 0.098276 | 0.086207 | 0.306897 | 0.306897 | 0.306897 | 0.306897 | 0.306897 | 0.306897 | 0 | 0.011445 | 0.340566 | 1,060 | 37 | 69 | 28.648649 | 0.818312 | 0 | 0 | 0.310345 | 0 | 0 | 0.061584 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0 | 0 | 0.103448 | 0.586207 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
33057f162f9d778470bc3e8176490e3594ced17b | 76 | py | Python | dateinfer/__init__.py | avishai-o/dateinfer | 894fe26b3b60c94d003f2ae0a55f1d9f1e40cf80 | [
"Apache-2.0"
] | null | null | null | dateinfer/__init__.py | avishai-o/dateinfer | 894fe26b3b60c94d003f2ae0a55f1d9f1e40cf80 | [
"Apache-2.0"
] | null | null | null | dateinfer/__init__.py | avishai-o/dateinfer | 894fe26b3b60c94d003f2ae0a55f1d9f1e40cf80 | [
"Apache-2.0"
] | null | null | null | __author__ = 'jeffrey.starr@ztoztechnologies.com'
from .infer import infer
| 19 | 49 | 0.802632 | 9 | 76 | 6.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 3 | 50 | 25.333333 | 0.838235 | 0 | 0 | 0 | 0 | 0 | 0.447368 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
330e3ca54e42e429e7b117d2305fd38be4387ed0 | 17 | py | Python | pytuber/version.py | tefra/pytube.fm | d8e8d5dfe928497f69d208df4c21b049a726dbda | [
"MIT"
] | 8 | 2019-01-27T00:52:20.000Z | 2021-07-15T15:57:19.000Z | pytuber/version.py | tefra/pytube.fm | d8e8d5dfe928497f69d208df4c21b049a726dbda | [
"MIT"
] | 22 | 2019-01-25T14:57:08.000Z | 2021-12-13T19:55:04.000Z | pytuber/version.py | tefra/pytube.fm | d8e8d5dfe928497f69d208df4c21b049a726dbda | [
"MIT"
] | 4 | 2019-02-17T09:56:30.000Z | 2021-04-17T17:53:13.000Z | version = "20.1"
| 8.5 | 16 | 0.588235 | 3 | 17 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.176471 | 17 | 1 | 17 | 17 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 4 |
335dbfd8eeada3150621b5e132ff38b941943c70 | 153 | py | Python | app/cogs/base/__init__.py | fossabot/Starboard-2 | 798e2d04995ae7d920e76708b9ea8fae6f4af319 | [
"MIT"
] | 16 | 2021-01-19T19:12:00.000Z | 2021-12-21T12:00:04.000Z | app/cogs/base/__init__.py | Davi-the-Mudkip/Starboard-2 | 4de3c689ffef007e4f4a279251d107d890b69b15 | [
"MIT"
] | 15 | 2021-04-02T16:58:48.000Z | 2022-03-28T06:09:49.000Z | app/cogs/base/__init__.py | Davi-the-Mudkip/Starboard-2 | 4de3c689ffef007e4f4a279251d107d890b69b15 | [
"MIT"
] | 13 | 2021-01-21T14:26:00.000Z | 2021-09-29T18:55:17.000Z | from app.classes.bot import Bot
from . import base_commands, base_events
def setup(bot: Bot):
base_commands.setup(bot)
base_events.setup(bot)
| 17 | 40 | 0.745098 | 24 | 153 | 4.583333 | 0.416667 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163399 | 153 | 8 | 41 | 19.125 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
33691ce250a8717c15ad812e29257b13be0864ea | 33 | py | Python | src/petronia/defimpl/configuration/file/defs.py | groboclown/petronia | 486338023d19cee989e92f0c5692680f1a37811f | [
"MIT"
] | 19 | 2017-06-21T10:28:24.000Z | 2021-12-31T11:49:28.000Z | src/petronia/defimpl/configuration/file/defs.py | groboclown/petronia | 486338023d19cee989e92f0c5692680f1a37811f | [
"MIT"
] | 10 | 2016-11-11T18:57:57.000Z | 2021-02-01T15:33:43.000Z | src/petronia/defimpl/configuration/file/defs.py | groboclown/petronia | 486338023d19cee989e92f0c5692680f1a37811f | [
"MIT"
] | 3 | 2017-09-17T03:29:35.000Z | 2019-06-03T10:43:08.000Z |
"""
Basic type definitions.
"""
| 6.6 | 23 | 0.606061 | 3 | 33 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 33 | 4 | 24 | 8.25 | 0.740741 | 0.69697 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
68294eda3a4048aa6022b5b8002d5929dc0d41b6 | 12,285 | py | Python | plot.py | osamayasserr/vaccum-cleaner | d6b8ea2eedadaca001ae14b66ff55c42ff3facb8 | [
"MIT"
] | 2 | 2021-01-11T22:54:38.000Z | 2021-01-28T16:15:13.000Z | plot.py | osamayasserr/vaccum-cleaner | d6b8ea2eedadaca001ae14b66ff55c42ff3facb8 | [
"MIT"
] | null | null | null | plot.py | osamayasserr/vaccum-cleaner | d6b8ea2eedadaca001ae14b66ff55c42ff3facb8 | [
"MIT"
] | 1 | 2021-01-13T09:59:14.000Z | 2021-01-13T09:59:14.000Z | import math
import pylab
from app import StandardRobot, LeastDistanceRobot, RandomWalkRobot, runSimulation
def timeNumberPlot(title, x_label, y_label, dim_length):
"""
Plots the relation between the number of robots and the average time
taken by different robots to clean a portion of the room.
"""
... | 39 | 88 | 0.654945 | 1,673 | 12,285 | 4.637179 | 0.105798 | 0.045244 | 0.020882 | 0.034029 | 0.775844 | 0.753287 | 0.72132 | 0.675174 | 0.657515 | 0.648492 | 0 | 0.031682 | 0.229223 | 12,285 | 314 | 89 | 39.124204 | 0.787623 | 0.204884 | 0 | 0.816832 | 0 | 0 | 0.070004 | 0.009236 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049505 | false | 0 | 0.014851 | 0 | 0.064356 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
68510211118d2b8c5a255e3f39fd3647748d0494 | 245 | py | Python | nipype/workflows/dmri/mrtrix/__init__.py | felixsc1/nipype | e722d6170593583f16ddfcb95473e5d30b5f1d7c | [
"Apache-2.0"
] | 8 | 2019-05-29T09:38:30.000Z | 2021-01-20T03:36:59.000Z | nipype/workflows/dmri/mrtrix/__init__.py | felixsc1/nipype | e722d6170593583f16ddfcb95473e5d30b5f1d7c | [
"Apache-2.0"
] | 12 | 2021-03-09T03:01:16.000Z | 2022-03-11T23:59:36.000Z | nipype/workflows/dmri/mrtrix/__init__.py | felixsc1/nipype | e722d6170593583f16ddfcb95473e5d30b5f1d7c | [
"Apache-2.0"
] | 2 | 2017-09-23T16:22:00.000Z | 2019-08-01T14:18:52.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from .diffusion import create_mrtrix_dti_pipeline
from .connectivity_mapping import create_connectivity_pipeline
from .group_connectivity import (create_group_connectivity_pipeline)
| 40.833333 | 68 | 0.857143 | 30 | 245 | 6.5 | 0.5 | 0.184615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004464 | 0.085714 | 245 | 5 | 69 | 49 | 0.866071 | 0.085714 | 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 | 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 | 4 |
6873156e99d844af13d6d77379f2ea3cbcc2572b | 1,442 | py | Python | deserialize/decorators/default.py | KrzysztofSajko/deserialize | f9192cfc9913003c7362d0ae246e3475e78690d8 | [
"MIT"
] | 18 | 2019-06-27T12:08:36.000Z | 2022-03-11T03:36:50.000Z | deserialize/decorators/default.py | KrzysztofSajko/deserialize | f9192cfc9913003c7362d0ae246e3475e78690d8 | [
"MIT"
] | 19 | 2019-01-05T16:52:28.000Z | 2021-11-12T12:17:42.000Z | deserialize/decorators/default.py | KrzysztofSajko/deserialize | f9192cfc9913003c7362d0ae246e3475e78690d8 | [
"MIT"
] | 5 | 2019-06-26T13:41:44.000Z | 2021-11-02T17:03:38.000Z | """Decorators used for adding functionality to the library."""
from deserialize.exceptions import NoDefaultSpecifiedException
def default(key_name, default_value):
"""A decorator function for mapping default values to key names."""
def store_defaults_map(class_reference):
"""Store the defaults map."... | 30.680851 | 78 | 0.751734 | 171 | 1,442 | 5.888889 | 0.292398 | 0.166832 | 0.19861 | 0.262165 | 0.510427 | 0.419067 | 0.40715 | 0.321748 | 0.089374 | 0.089374 | 0 | 0 | 0.179612 | 1,442 | 46 | 79 | 31.347826 | 0.851226 | 0.269071 | 0 | 0.277778 | 0 | 0 | 0.110891 | 0.110891 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.055556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6896c0545b2d4f8acba5f99caf7c1f5b8e3c596c | 91 | py | Python | siem_integrations/clx_query_service/clxquery/apps.py | mdemoret-nv/clx | 3737706187d8f5720561e10b85cbd638c77b9267 | [
"Apache-2.0"
] | 143 | 2019-11-06T16:08:50.000Z | 2022-03-22T12:14:59.000Z | siem_integrations/clx_query_service/clxquery/apps.py | mdemoret-nv/clx | 3737706187d8f5720561e10b85cbd638c77b9267 | [
"Apache-2.0"
] | 361 | 2019-11-06T20:33:24.000Z | 2022-03-31T19:59:12.000Z | siem_integrations/clx_query_service/clxquery/apps.py | mdemoret-nv/clx | 3737706187d8f5720561e10b85cbd638c77b9267 | [
"Apache-2.0"
] | 82 | 2019-11-06T17:36:42.000Z | 2022-03-17T07:03:04.000Z | from django.apps import AppConfig
class ClxQueryConfig(AppConfig):
name = "clxquery"
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
68aff5ecfb731da2cc7a3de58df5147f26f41df7 | 346 | py | Python | Example/facenet_example.py | generalized-intelligence/Tegu | 99394f62f2acdeed9e985685811e76f94ab7ac11 | [
"BSD-3-Clause"
] | 11 | 2019-01-29T07:01:38.000Z | 2021-07-28T06:25:49.000Z | Example/facenet_example.py | generalized-intelligence/Tegu | 99394f62f2acdeed9e985685811e76f94ab7ac11 | [
"BSD-3-Clause"
] | 23 | 2019-02-18T13:35:09.000Z | 2022-03-11T23:42:11.000Z | Example/facenet_example.py | generalized-intelligence/Tegu | 99394f62f2acdeed9e985685811e76f94ab7ac11 | [
"BSD-3-Clause"
] | 3 | 2019-02-12T08:09:45.000Z | 2019-06-06T02:28:55.000Z | import sys
sys.path.append('..')
from Network.facenet.API import build_face_manager, detetion_and_recongnize
'''
You have to build face manager before you start detection and recongnize.
'''
face_manager = build_face_manager(r"face/dataset/path")
result = detetion_and_recongnize(face_manager, r"images/path/you/want/... | 28.833333 | 81 | 0.794798 | 52 | 346 | 5.096154 | 0.519231 | 0.207547 | 0.181132 | 0.181132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095376 | 346 | 11 | 82 | 31.454545 | 0.846645 | 0 | 0 | 0 | 0 | 0 | 0.184906 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
68b1fd87e78b3220b657c40bcdf0a4d61bd25d07 | 149 | py | Python | Fundamentos/mundo_pc/dispositivo_entrada.py | ijchavez/python | bccd94a9bee90125e2be27b0355bdaedb0ae9d19 | [
"Unlicense"
] | null | null | null | Fundamentos/mundo_pc/dispositivo_entrada.py | ijchavez/python | bccd94a9bee90125e2be27b0355bdaedb0ae9d19 | [
"Unlicense"
] | null | null | null | Fundamentos/mundo_pc/dispositivo_entrada.py | ijchavez/python | bccd94a9bee90125e2be27b0355bdaedb0ae9d19 | [
"Unlicense"
] | null | null | null | class DispositivoEntrada:
def __init__(self, marca, tipo_entrada):
self._marca = marca
self.tipo_entrada = tipo_entrada
| 24.833333 | 44 | 0.657718 | 16 | 149 | 5.625 | 0.5 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275168 | 149 | 6 | 45 | 24.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d7ad4862b9b6c2d525c8d2c7b82c06b8e22cd716 | 103 | py | Python | pytoolkit/applications/__init__.py | ak110/pytoolk | 8eef7e0add7bbc0ced1f1f1d82ed245388cc6684 | [
"MIT"
] | 26 | 2018-12-03T23:02:56.000Z | 2020-08-07T06:33:21.000Z | pytoolkit/applications/__init__.py | ak110/pytoolk | 8eef7e0add7bbc0ced1f1f1d82ed245388cc6684 | [
"MIT"
] | null | null | null | pytoolkit/applications/__init__.py | ak110/pytoolk | 8eef7e0add7bbc0ced1f1f1d82ed245388cc6684 | [
"MIT"
] | 5 | 2019-08-10T11:10:59.000Z | 2020-11-18T02:39:37.000Z | """Kerasの各種モデル。"""
# pylint: skip-file
# flake8: noqa
from . import darknet53, efficientnet, xception
| 17.166667 | 47 | 0.718447 | 11 | 103 | 6.727273 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.135922 | 103 | 5 | 48 | 20.6 | 0.797753 | 0.427184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 4 |
d7ba596dc0cf678dc2c3cf189ee8dd90496c1aa2 | 3,103 | py | Python | crossdock/problems/experiment/crossdock_15_25_15_5_5.py | krerkkiat/icpr-2019-public | f3023c009f3335ce58204a45c270cfeb6ef19367 | [
"BSD-3-Clause"
] | null | null | null | crossdock/problems/experiment/crossdock_15_25_15_5_5.py | krerkkiat/icpr-2019-public | f3023c009f3335ce58204a45c270cfeb6ef19367 | [
"BSD-3-Clause"
] | null | null | null | crossdock/problems/experiment/crossdock_15_25_15_5_5.py | krerkkiat/icpr-2019-public | f3023c009f3335ce58204a45c270cfeb6ef19367 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Cross-docking truck data.
This data is generated by a generate_dataset.py script.
Created: Feb 18, 2019 at 07:30:02 PM
Copyright (c) 2022, Krerkkiat Chusap
This souce code is licensed under BSD 3-Clause "New" or "Revised" License (see LICENSE for details).
"""
from pathlib import Path
# ... | 41.373333 | 100 | 0.477602 | 727 | 3,103 | 1.976616 | 0.204952 | 0.137787 | 0.135699 | 0.119694 | 0.054976 | 0.03897 | 0.030619 | 0.025748 | 0.025748 | 0 | 0 | 0.391753 | 0.281018 | 3,103 | 74 | 101 | 41.932432 | 0.252353 | 0.116339 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018519 | 0 | 0.018519 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d7bba15bb04519ffa2576bb1d237b14798175a4e | 102 | py | Python | demo_backend/text_generator/apps.py | WallaceLiu/Web-Full-Stack-Practice | 2551ab12d7b500387cc511f1cb7428aef4d59ab4 | [
"BSD-2-Clause"
] | 33 | 2019-03-04T12:56:47.000Z | 2021-11-27T02:29:45.000Z | demo_backend/text_generator/apps.py | WallaceLiu/Web-Full-Stack-Practice | 2551ab12d7b500387cc511f1cb7428aef4d59ab4 | [
"BSD-2-Clause"
] | 1 | 2021-06-10T21:39:42.000Z | 2021-06-10T21:39:42.000Z | demo_backend/text_generator/apps.py | WallaceLiu/Web-Full-Stack-Practice | 2551ab12d7b500387cc511f1cb7428aef4d59ab4 | [
"BSD-2-Clause"
] | 9 | 2019-03-04T13:15:51.000Z | 2021-08-24T01:24:34.000Z | from django.apps import AppConfig
class TextGeneratorConfig(AppConfig):
name = 'text_generator'
| 17 | 37 | 0.784314 | 11 | 102 | 7.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 5 | 38 | 20.4 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d7c5b2db0f4c72202956af5eb6262f4c752182db | 24 | py | Python | fortifyapi/__init__.py | brownsec/fortifyapi | 18ce25eb0dd082dd3017f27162740cb29f7bda85 | [
"MIT"
] | null | null | null | fortifyapi/__init__.py | brownsec/fortifyapi | 18ce25eb0dd082dd3017f27162740cb29f7bda85 | [
"MIT"
] | 1 | 2021-06-25T15:18:20.000Z | 2021-06-25T15:18:20.000Z | fortifyapi/__init__.py | brownsec/fortifyapi | 18ce25eb0dd082dd3017f27162740cb29f7bda85 | [
"MIT"
] | null | null | null | __version__ = '1.0.19'
| 8 | 22 | 0.625 | 4 | 24 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 24 | 2 | 23 | 12 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d7d6977e92b32a6c300621013c13d82efe31ea62 | 3,700 | py | Python | lucky_number.py | sankalpa-udawaththa/Python-game-lucky-number | 7c7b402f88bc5ce2acb8a77f7cd5450bc05f2590 | [
"MIT"
] | null | null | null | lucky_number.py | sankalpa-udawaththa/Python-game-lucky-number | 7c7b402f88bc5ce2acb8a77f7cd5450bc05f2590 | [
"MIT"
] | null | null | null | lucky_number.py | sankalpa-udawaththa/Python-game-lucky-number | 7c7b402f88bc5ce2acb8a77f7cd5450bc05f2590 | [
"MIT"
] | null | null | null | import random
secret = random.randint(0,100000)
guess_count = 0
guess_limit = 3
name = input("Enter Your Name: ")
print(f"Hello, {name.upper()} welcome")
print(" | This is your MAGIC CODE ➡️ [NFHSFXYW1234" + str(secret) + "5678910WRYUCN] |")
print(" | ... | 37.755102 | 119 | 0.176216 | 211 | 3,700 | 12.587678 | 0.601896 | 0.011295 | 0.011295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026676 | 0.23 | 3,700 | 98 | 120 | 37.755102 | 0.198666 | 0 | 0 | 0.097826 | 0 | 0 | 0.854606 | 0.551332 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.01087 | 0 | 0.01087 | 0.152174 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0bc7dbc7a380ff68f44a21a984691d373a93d819 | 454 | py | Python | tests/__init__.py | coras-io/lint-review | 0df19429a265a79edecb53b4371bf63db7e61617 | [
"MIT"
] | 2 | 2017-11-24T13:27:36.000Z | 2019-08-23T15:02:36.000Z | tests/__init__.py | coras-io/lint-review | 0df19429a265a79edecb53b4371bf63db7e61617 | [
"MIT"
] | null | null | null | tests/__init__.py | coras-io/lint-review | 0df19429a265a79edecb53b4371bf63db7e61617 | [
"MIT"
] | 2 | 2016-09-15T11:56:56.000Z | 2016-10-11T21:27:24.000Z | import os
import json
from github3.pulls import PullFile
from github3.repos.commit import RepoCommit
def load_fixture(filename):
path = os.path.dirname(os.path.abspath(__file__))
filename = os.path.join(path, 'fixtures', filename)
fh = open(filename, 'r')
return fh.read()
def create_pull_files(data)... | 22.7 | 55 | 0.720264 | 68 | 454 | 4.691176 | 0.5 | 0.056426 | 0.031348 | 0.043887 | 0.125392 | 0.125392 | 0.125392 | 0 | 0 | 0 | 0 | 0.005263 | 0.162996 | 454 | 19 | 56 | 23.894737 | 0.834211 | 0 | 0 | 0 | 0 | 0 | 0.019824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0.153846 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
04188d5b55bb17b85704edde7d4e46723975338c | 67 | py | Python | src/backend/database/__init__.py | aimanow/sft | dce87ffe395ae4bd08b47f28e07594e1889da819 | [
"Apache-2.0"
] | null | null | null | src/backend/database/__init__.py | aimanow/sft | dce87ffe395ae4bd08b47f28e07594e1889da819 | [
"Apache-2.0"
] | null | null | null | src/backend/database/__init__.py | aimanow/sft | dce87ffe395ae4bd08b47f28e07594e1889da819 | [
"Apache-2.0"
] | null | null | null | from app.extensions import db, bcrypt
__all__ = ['db', 'bcrypt']
| 13.4 | 37 | 0.686567 | 9 | 67 | 4.666667 | 0.777778 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 67 | 4 | 38 | 16.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
04411ddb9c08843c7fce53cffbe76f07e4b16489 | 58 | py | Python | experiments/spooky-mouse.py | Nithanaroy/invisible-pen | d6e69e20866b2992b5c2c5b47d623a693bed3134 | [
"MIT"
] | null | null | null | experiments/spooky-mouse.py | Nithanaroy/invisible-pen | d6e69e20866b2992b5c2c5b47d623a693bed3134 | [
"MIT"
] | 6 | 2020-07-19T07:33:33.000Z | 2022-03-27T04:52:28.000Z | experiments/spooky-mouse.py | Nithanaroy/invisible-pen | d6e69e20866b2992b5c2c5b47d623a693bed3134 | [
"MIT"
] | null | null | null | import pyautogui
pyautogui.moveTo(2317, 425, duration=1)
| 14.5 | 39 | 0.793103 | 8 | 58 | 5.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.103448 | 58 | 3 | 40 | 19.333333 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f0ab28142605e757508c738f9eafe63973378e0d | 55 | py | Python | test1.py | ktbyers/pyneta | 1690ce5a6ddb640198ccf3bca26f32a65d772b92 | [
"Apache-2.0"
] | 2 | 2018-11-08T09:20:42.000Z | 2021-07-15T18:12:06.000Z | test1.py | ktbyers/pyneta | 1690ce5a6ddb640198ccf3bca26f32a65d772b92 | [
"Apache-2.0"
] | null | null | null | test1.py | ktbyers/pyneta | 1690ce5a6ddb640198ccf3bca26f32a65d772b92 | [
"Apache-2.0"
] | null | null | null | print("hello")
while True:
print("Infinite loop")
| 11 | 26 | 0.654545 | 7 | 55 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 55 | 4 | 27 | 13.75 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f0b1d2bc676f5219d5c50eeed54f3ef0c2068b76 | 243 | py | Python | contrib/enginedesign/openmdao.examples.enginedesign/openmdao/examples/enginedesign/releaseinfo.py | mjfwest/OpenMDAO-Framework | a5521f47ad7686c25b203de74e1c7dff5fd7a52b | [
"Apache-2.0"
] | 69 | 2015-01-02T19:10:08.000Z | 2021-11-14T04:42:28.000Z | contrib/enginedesign/openmdao.examples.enginedesign/openmdao/examples/enginedesign/releaseinfo.py | jcchin/OpenMDAO-Framework | 038e89b06da1c74f00918f4c6fbd8bd365e25657 | [
"Apache-2.0"
] | 3 | 2015-01-15T23:08:18.000Z | 2015-03-11T16:57:35.000Z | contrib/enginedesign/openmdao.examples.enginedesign/openmdao/examples/enginedesign/releaseinfo.py | jcchin/OpenMDAO-Framework | 038e89b06da1c74f00918f4c6fbd8bd365e25657 | [
"Apache-2.0"
] | 31 | 2015-09-16T00:37:35.000Z | 2022-01-10T06:27:55.000Z |
# This file is automatically generated
__version__ = '0.10.3.2'
__comments__ = """too many spaces :/
Merge pull request #1848 from swryan/work"""
__date__ = '2014-11-15 09:50:34 -0500'
__commit__ = '97c66aaecfad3451bc6a0b1cae1fce4c0595037a'
| 27 | 55 | 0.753086 | 31 | 243 | 5.387097 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221698 | 0.127572 | 243 | 8 | 56 | 30.375 | 0.566038 | 0.148148 | 0 | 0 | 1 | 0 | 0.651961 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f0d117c241c9bb2cd6a66d2e35612733475a8a0e | 437 | py | Python | saefportal/datalakes/models/__init__.py | harry-consulting/SAEF1 | 055d6e492ba76f90e3248b9da2985fdfe0c6b430 | [
"BSD-2-Clause"
] | null | null | null | saefportal/datalakes/models/__init__.py | harry-consulting/SAEF1 | 055d6e492ba76f90e3248b9da2985fdfe0c6b430 | [
"BSD-2-Clause"
] | null | null | null | saefportal/datalakes/models/__init__.py | harry-consulting/SAEF1 | 055d6e492ba76f90e3248b9da2985fdfe0c6b430 | [
"BSD-2-Clause"
] | 1 | 2020-12-16T15:02:52.000Z | 2020-12-16T15:02:52.000Z | from .one_drive_datalake import OneDriveDatalake
from .google_drive_datalake import GoogleDriveDatalake
from .dropbox_datalake import DropboxDatalake
from .google_cloud_storage_datalake import GoogleCloudStorageDatalake
from .azure_blob_storage_datalake import AzureBlobStorageDatalake
from .azure_data_lake_datalake imp... | 48.555556 | 69 | 0.908467 | 49 | 437 | 7.755102 | 0.489796 | 0.294737 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004938 | 0.073227 | 437 | 8 | 70 | 54.625 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 4 |
f0db8dc49a5a35a6b18b47a43dda531b71b817b6 | 534 | py | Python | open_spiel/python/examples/test.py | ThorvaldAagaard/open_spiel | 58f6584b555b1a1a83bf674f0cbe0162c1251eca | [
"Apache-2.0"
] | null | null | null | open_spiel/python/examples/test.py | ThorvaldAagaard/open_spiel | 58f6584b555b1a1a83bf674f0cbe0162c1251eca | [
"Apache-2.0"
] | null | null | null | open_spiel/python/examples/test.py | ThorvaldAagaard/open_spiel | 58f6584b555b1a1a83bf674f0cbe0162c1251eca | [
"Apache-2.0"
] | null | null | null | import pyspiel
game = pyspiel.load_game('bridge(use_double_dummy_result=false)')
line = '30 32 10 35 50 45 21 7 1 42 39 43 0 16 40 20 36 15 22 44 26 6 4 51 47 46 25 14 29 5 34 11 49 31 37 9 41 13 24 8 28 17 48 23 33 18 3 19 38 2 27 12 56 57 52 63 52 52 52 0 32 48 8 3 51 47 15 44 28 16 4 14 50 2 10 49 5 37 9 36 31 24 2... | 59.333333 | 321 | 0.685393 | 147 | 534 | 2.442177 | 0.544218 | 0.022284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.507538 | 0.254682 | 534 | 8 | 322 | 66.75 | 0.394472 | 0 | 0 | 0 | 0 | 0.142857 | 0.655431 | 0.069288 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0b10cab889db1a04677f05bcfb228ad6218dea84 | 9,537 | py | Python | qinling/tests/unit/api/controllers/v1/test_webhook.py | goldyfruit/qinling | 7e1391056cc90c274f063ea25b59bb138fdfef94 | [
"Apache-2.0"
] | null | null | null | qinling/tests/unit/api/controllers/v1/test_webhook.py | goldyfruit/qinling | 7e1391056cc90c274f063ea25b59bb138fdfef94 | [
"Apache-2.0"
] | null | null | null | qinling/tests/unit/api/controllers/v1/test_webhook.py | goldyfruit/qinling | 7e1391056cc90c274f063ea25b59bb138fdfef94 | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Catalyst IT Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 35.585821 | 79 | 0.624934 | 1,143 | 9,537 | 4.982502 | 0.138233 | 0.073749 | 0.042142 | 0.046708 | 0.771554 | 0.740123 | 0.717471 | 0.711326 | 0.697454 | 0.631431 | 0 | 0.014373 | 0.263185 | 9,537 | 267 | 80 | 35.719101 | 0.796072 | 0.078746 | 0 | 0.57 | 0 | 0 | 0.14721 | 0.026475 | 0 | 0 | 0 | 0 | 0.205 | 1 | 0.06 | false | 0 | 0.03 | 0 | 0.095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9be124ef67f3b453a9c7cec4c9b6b95772c4ee79 | 71 | py | Python | src/waldur_openstack/openstack/__init__.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 26 | 2017-10-18T13:49:58.000Z | 2021-09-19T04:44:09.000Z | src/waldur_openstack/openstack/__init__.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 14 | 2018-12-10T14:14:51.000Z | 2021-06-07T10:33:39.000Z | src/waldur_openstack/openstack/__init__.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 32 | 2017-09-24T03:10:45.000Z | 2021-10-16T16:41:09.000Z | default_app_config = 'waldur_openstack.openstack.apps.OpenStackConfig'
| 35.5 | 70 | 0.873239 | 8 | 71 | 7.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 71 | 1 | 71 | 71 | 0.867647 | 0 | 0 | 0 | 0 | 0 | 0.661972 | 0.661972 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9beffefe216348049fb0a4b50410d3ac25cedf08 | 176 | py | Python | minigame/button.py | AndrewCarterUK/MiniGame | 6d699c045e84ee3834f23eb0483245195438eff7 | [
"MIT"
] | null | null | null | minigame/button.py | AndrewCarterUK/MiniGame | 6d699c045e84ee3834f23eb0483245195438eff7 | [
"MIT"
] | null | null | null | minigame/button.py | AndrewCarterUK/MiniGame | 6d699c045e84ee3834f23eb0483245195438eff7 | [
"MIT"
] | null | null | null | import abc
class Button(abc.ABC):
@abc.abstractmethod
def register_callback(self, callabck):
pass
@abc.abstractmethod
def pressed(self):
pass
| 16 | 42 | 0.647727 | 20 | 176 | 5.65 | 0.6 | 0.106195 | 0.353982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267045 | 176 | 10 | 43 | 17.6 | 0.875969 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.125 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
9bfeed4ac7968ce26851e608ac8b9ee8b625a069 | 961 | py | Python | network/__init__.py | nivilo/Chase | 921e4b0bf2ca2cbd1a315156287f2af0e8a19c6c | [
"MIT"
] | 68 | 2018-07-23T03:49:17.000Z | 2022-01-11T04:56:32.000Z | network/__init__.py | mpalaiokostas/Chase | 921e4b0bf2ca2cbd1a315156287f2af0e8a19c6c | [
"MIT"
] | null | null | null | network/__init__.py | mpalaiokostas/Chase | 921e4b0bf2ca2cbd1a315156287f2af0e8a19c6c | [
"MIT"
] | 30 | 2018-07-24T20:35:20.000Z | 2021-11-23T00:56:07.000Z | import abc
from config import MODEL_DIR
class Network:
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
def __init__(self):
self.model = None
self.model_history = None
self.X_train = None
self.X_test = None
self.y_train = None
self.y_test = None
@abc.a... | 20.891304 | 65 | 0.650364 | 120 | 961 | 4.941667 | 0.308333 | 0.172007 | 0.202361 | 0.161889 | 0.246206 | 0.111298 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270552 | 961 | 45 | 66 | 21.355556 | 0.845934 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.151515 | 0.060606 | 0.030303 | 0.424242 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
500def4cbc4626bb2afe20baf06a6df2008bf456 | 509 | py | Python | spec/python/test_cast_nested.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 11 | 2018-04-01T03:58:15.000Z | 2021-08-14T09:04:55.000Z | spec/python/test_cast_nested.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 73 | 2016-07-20T10:27:15.000Z | 2020-12-17T18:56:46.000Z | spec/python/test_cast_nested.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 37 | 2016-08-15T08:25:56.000Z | 2021-08-28T14:48:46.000Z | # Autogenerated from KST: please remove this line if doing any edits by hand!
import unittest
from cast_nested import CastNested
class TestCastNested(unittest.TestCase):
def test_cast_nested(self):
with CastNested.from_file('src/switch_opcodes.bin') as r:
self.assertEqual(r.opcodes_0_str.valu... | 36.357143 | 77 | 0.719057 | 73 | 509 | 4.808219 | 0.561644 | 0.17094 | 0.182336 | 0.262108 | 0.415954 | 0.415954 | 0.415954 | 0.415954 | 0.287749 | 0.287749 | 0 | 0.019512 | 0.194499 | 509 | 13 | 78 | 39.153846 | 0.836585 | 0.147348 | 0 | 0 | 1 | 0 | 0.078704 | 0.050926 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.111111 | false | 0 | 0.222222 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5028c313079fad9b4cf51c75e556c2cffcedcdc1 | 298 | py | Python | examples/mach_opt_examples/LegacyCode/IM/machine_design/im_settingshandler.py | Severson-Group/MachEval | dbb7999188133f8744636da53cab475ae538ce80 | [
"BSD-3-Clause"
] | 6 | 2021-11-02T20:12:32.000Z | 2021-11-13T10:50:35.000Z | examples/mach_opt_examples/LegacyCode/IM/machine_design/im_settingshandler.py | Severson-Group/MachEval | dbb7999188133f8744636da53cab475ae538ce80 | [
"BSD-3-Clause"
] | 18 | 2021-11-29T20:14:55.000Z | 2022-03-02T07:17:37.000Z | examples/mach_opt_examples/LegacyCode/IM/machine_design/im_settingshandler.py | Severson-Group/MachEval | dbb7999188133f8744636da53cab475ae538ce80 | [
"BSD-3-Clause"
] | 1 | 2022-01-29T00:52:38.000Z | 2022-01-29T00:52:38.000Z | # -*- coding: utf-8 -*-
"""
Created on Fri Apr 30 11:58:20 2021
@author: Martin Johnson
"""
import sys
sys.path.append("...")
import macheval as me
class IMSettingsHandler(me.SettingsHandler):
def getSettings(x):
return NotImplementedError #TODO Implement settings functionality
| 19.866667 | 73 | 0.701342 | 37 | 298 | 5.648649 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053061 | 0.177852 | 298 | 15 | 74 | 19.866667 | 0.8 | 0.402685 | 0 | 0 | 0 | 0 | 0.017647 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
504917355b6cf7fd121b21c62bef31888fe9fbc3 | 29 | py | Python | deploy/__init__.py | gaocegege/treadmill | 04325d319c0ee912c066f07b88b674e84485f154 | [
"Apache-2.0"
] | 2 | 2017-03-20T07:13:33.000Z | 2017-05-03T03:39:53.000Z | deploy/__init__.py | gaocegege/treadmill | 04325d319c0ee912c066f07b88b674e84485f154 | [
"Apache-2.0"
] | 12 | 2017-07-10T07:04:06.000Z | 2017-07-26T09:32:54.000Z | deploy/__init__.py | gaocegege/treadmill | 04325d319c0ee912c066f07b88b674e84485f154 | [
"Apache-2.0"
] | 2 | 2017-05-04T11:25:32.000Z | 2017-07-11T09:10:01.000Z | """Ansible playbooks init"""
| 14.5 | 28 | 0.689655 | 3 | 29 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.769231 | 0.758621 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
acc1ce36377278a085395e3d7d5f5eee13f3cf3a | 169 | py | Python | sexyhotel/venv/Scripts/django-admin.py | JesseChanCN/sexyHotel | b0e2362073fe6fa5bd551f96a9a45f1e26f3d353 | [
"BSD-2-Clause"
] | null | null | null | sexyhotel/venv/Scripts/django-admin.py | JesseChanCN/sexyHotel | b0e2362073fe6fa5bd551f96a9a45f1e26f3d353 | [
"BSD-2-Clause"
] | 1 | 2021-10-02T22:17:39.000Z | 2021-10-02T22:17:39.000Z | sexyhotel/venv/Scripts/django-admin.py | JesseChanCN/sexyHotel | b0e2362073fe6fa5bd551f96a9a45f1e26f3d353 | [
"BSD-2-Clause"
] | 4 | 2018-11-26T03:59:52.000Z | 2018-11-26T08:30:54.000Z | #!C:\Users\Administrator\Desktop\装饰器代码\venv\Scripts\python.exe
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 28.166667 | 62 | 0.792899 | 22 | 169 | 5.590909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088757 | 169 | 5 | 63 | 33.8 | 0.798701 | 0.360947 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
acf541af1bb3ebd0a182c3839d64f9ce9a19e679 | 903 | py | Python | ParadoxTrading/EngineExt/Futures/__init__.py | yutiansut/ParadoxTrading | b915d1491663443bedbb048017abeed3f7dcd4e2 | [
"MIT"
] | 2 | 2018-01-25T08:33:59.000Z | 2018-05-14T13:59:54.000Z | ParadoxTrading/EngineExt/Futures/__init__.py | yutiansut/ParadoxTrading | b915d1491663443bedbb048017abeed3f7dcd4e2 | [
"MIT"
] | null | null | null | ParadoxTrading/EngineExt/Futures/__init__.py | yutiansut/ParadoxTrading | b915d1491663443bedbb048017abeed3f7dcd4e2 | [
"MIT"
] | null | null | null | from .Arbitrage import ArbitrageEqualFundSimplePortfolio, \
ArbitrageEqualFundVolatilityPortfolio, ArbitrageStrategy
from .BacktestEngine import BacktestEngine
from .BacktestMarketSupply import BacktestMarketSupply
from .BarBacktestExecution import BarBacktestExecution
from .BarPortfolio import BarPortfolio
from .I... | 53.117647 | 69 | 0.890365 | 60 | 903 | 13.4 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083056 | 903 | 16 | 70 | 56.4375 | 0.971014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8125 | 0 | 0.8125 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4a188b12918e6b0e9f8e6f9cc1f7a056cc5daf48 | 42 | py | Python | pymkup/__init__.py | psolin/pymkup | 5f2e5787f3150e10b9c6391c805b02be7496cdc1 | [
"MIT"
] | 7 | 2021-04-17T11:35:00.000Z | 2021-12-30T04:05:27.000Z | pymkup/__init__.py | psolin/pymkup | 5f2e5787f3150e10b9c6391c805b02be7496cdc1 | [
"MIT"
] | 23 | 2021-04-15T18:01:44.000Z | 2021-05-21T15:58:59.000Z | pymkup/__init__.py | psolin/pymkup | 5f2e5787f3150e10b9c6391c805b02be7496cdc1 | [
"MIT"
] | 2 | 2021-04-20T18:09:46.000Z | 2021-04-24T13:04:04.000Z | from .pymkup import *
__version__ = '0.1'
| 14 | 21 | 0.690476 | 6 | 42 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.166667 | 42 | 2 | 22 | 21 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4a26cd7230b52b52759159c2aeac729e2261aebf | 2,674 | py | Python | tohu/v4/set_special_methods.py | maxalbert/tohu | 3adf0c58b13ef1e1d716d7d613484d2adc58fb60 | [
"MIT"
] | 1 | 2019-03-07T19:58:45.000Z | 2019-03-07T19:58:45.000Z | tohu/v4/set_special_methods.py | maxalbert/tohu | 3adf0c58b13ef1e1d716d7d613484d2adc58fb60 | [
"MIT"
] | 9 | 2017-10-04T15:08:53.000Z | 2021-02-02T21:51:41.000Z | tohu/v4/set_special_methods.py | maxalbert/tohu | 3adf0c58b13ef1e1d716d7d613484d2adc58fb60 | [
"MIT"
] | null | null | null | """
This module is not meant to be imported directly.
Its purpose is to patch the TohuBaseGenerator class
so that its special methods __add__, __mul__ etc.
support other generators as arguments.
"""
from operator import add, mul, gt, ge, lt, le, eq
from .base import TohuBaseGenerator
from .primitive_generators import... | 29.384615 | 102 | 0.775243 | 327 | 2,674 | 5.975535 | 0.29052 | 0.030706 | 0.076766 | 0.115148 | 0.298874 | 0.209826 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152206 | 2,674 | 90 | 103 | 29.711111 | 0.861932 | 0.200823 | 0 | 0 | 0 | 0 | 0.04569 | 0.018841 | 0 | 0 | 0 | 0.011111 | 0 | 1 | 0.244444 | false | 0 | 0.111111 | 0.2 | 0.622222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c5864362375a81a891800b2885457459c5fea69d | 85 | py | Python | src/dal_select2/__init__.py | pandabuilder/django-autocomplete-light | 41f699aadaa6214acd5d947b717394b1237a7223 | [
"MIT"
] | null | null | null | src/dal_select2/__init__.py | pandabuilder/django-autocomplete-light | 41f699aadaa6214acd5d947b717394b1237a7223 | [
"MIT"
] | null | null | null | src/dal_select2/__init__.py | pandabuilder/django-autocomplete-light | 41f699aadaa6214acd5d947b717394b1237a7223 | [
"MIT"
] | null | null | null | """Select2 support for DAL."""
# default_app_config = 'dal_select2.apps.DefaultApp'
| 21.25 | 52 | 0.741176 | 11 | 85 | 5.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.105882 | 85 | 3 | 53 | 28.333333 | 0.763158 | 0.894118 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c5b2728e8814b93e58ee5c076b847c4197704dea | 903 | py | Python | schafkopf/utils/settings_utils.py | PanchoVarallo/Schafkopf-Application | 98e58f69cadfeb63c13068320df1e8ea96cd91fe | [
"MIT"
] | 1 | 2022-01-19T23:58:03.000Z | 2022-01-19T23:58:03.000Z | schafkopf/utils/settings_utils.py | PanchoVarallo/Schafkopf-Application | 98e58f69cadfeb63c13068320df1e8ea96cd91fe | [
"MIT"
] | 7 | 2020-12-02T19:02:51.000Z | 2020-12-04T11:01:29.000Z | schafkopf/utils/settings_utils.py | PanchoVarallo/Schafkopf-Application | 98e58f69cadfeb63c13068320df1e8ea96cd91fe | [
"MIT"
] | null | null | null | import configparser
import enum
ini = 'settings.ini'
class Database(enum.Enum):
SQLITE = 1
POSTGRES = 2
def get_db() -> Database:
return Database[get_entry('Database', 'db')]
def get_database_url() -> str:
return get_entry('Database', 'database_url')
def get_init_username() -> str:
return g... | 22.02439 | 94 | 0.683278 | 122 | 903 | 4.885246 | 0.286885 | 0.060403 | 0.060403 | 0.08557 | 0.167785 | 0.097315 | 0.097315 | 0 | 0 | 0 | 0 | 0.002755 | 0.196013 | 903 | 40 | 95 | 22.575 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.199336 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0.08 | 0.08 | 0.16 | 0.68 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
c5ce058c2bdc9823f2137dda32497aab8ba53bf6 | 24,607 | py | Python | gluoncv/model_zoo/action_recognition/r2plus1d.py | AND2797/gluon-cv | 7d2d9c2502f18cbdc19c0921982baf511272acb1 | [
"Apache-2.0"
] | 1 | 2020-03-12T14:43:42.000Z | 2020-03-12T14:43:42.000Z | gluoncv/model_zoo/action_recognition/r2plus1d.py | AND2797/gluon-cv | 7d2d9c2502f18cbdc19c0921982baf511272acb1 | [
"Apache-2.0"
] | null | null | null | gluoncv/model_zoo/action_recognition/r2plus1d.py | AND2797/gluon-cv | 7d2d9c2502f18cbdc19c0921982baf511272acb1 | [
"Apache-2.0"
] | null | null | null | # pylint: disable=arguments-differ,unused-argument,line-too-long
"""R2Plus1D, implemented in Gluon. https://arxiv.org/abs/1711.11248.
Code partially borrowed from https://github.com/pytorch/vision/blob/master/torchvision/models/video/resnet.py."""
__all__ = ['R2Plus1D', 'r2plus1d_resnet18_kinetics400',
'r2... | 41.70678 | 113 | 0.580038 | 2,836 | 24,607 | 4.915726 | 0.107193 | 0.022237 | 0.013772 | 0.01492 | 0.769098 | 0.75009 | 0.735385 | 0.71695 | 0.694713 | 0.679865 | 0 | 0.031153 | 0.334702 | 24,607 | 589 | 114 | 41.777589 | 0.820414 | 0.368554 | 0 | 0.52443 | 0 | 0 | 0.032229 | 0.020075 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04886 | false | 0 | 0.04886 | 0 | 0.156352 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c5dac43a188b9363ed3359b80117310c93a48c15 | 375 | py | Python | patchy/__init__.py | peternara/graph-based-image-classification-gcn | 60e93b47691e960b7f06f7a5dc11191efe881178 | [
"MIT"
] | 44 | 2017-02-26T16:52:48.000Z | 2022-02-17T18:50:02.000Z | patchy/__init__.py | hungerzs/graph-based-image-classification | d44182c6a28b4ab9a691a9cb1ecd4c3b851875a8 | [
"MIT"
] | 2 | 2018-11-14T05:11:25.000Z | 2020-06-23T16:24:41.000Z | patchy/__init__.py | hungerzs/graph-based-image-classification | d44182c6a28b4ab9a691a9cb1ecd4c3b851875a8 | [
"MIT"
] | 13 | 2018-04-26T07:46:35.000Z | 2022-02-28T15:38:53.000Z | from .patchy import PatchySan
from .helper.labeling import labelings,\
scanline,\
betweenness_centrality
from .helper.neighborhood_assembly import neighborhood_assemblies,\
neighborhoods_weights_to_root,\
... | 37.5 | 73 | 0.538667 | 26 | 375 | 7.461538 | 0.730769 | 0.103093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.426667 | 375 | 9 | 74 | 41.666667 | 0.902326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c5e3c6d2f8a1234b127fb72e14337b67358d7125 | 1,793 | py | Python | {{cookiecutter.repo_slug}}/tests/unit/user/test_managers.py | ikhomutov/cookiecutter-shmango | ec5a6ff94256650552e11992662a617b503418e4 | [
"MIT"
] | null | null | null | {{cookiecutter.repo_slug}}/tests/unit/user/test_managers.py | ikhomutov/cookiecutter-shmango | ec5a6ff94256650552e11992662a617b503418e4 | [
"MIT"
] | 83 | 2020-04-21T04:12:47.000Z | 2021-09-03T01:47:27.000Z | {{cookiecutter.repo_slug}}/tests/unit/user/test_managers.py | ikhomutov/cookiecutter-shmango | ec5a6ff94256650552e11992662a617b503418e4 | [
"MIT"
] | null | null | null | import pytest
pytestmark = pytest.mark.django_db
class TestUserManagers:
def test_create_user(self, django_user_model, faker):
email = faker.email()
password = faker.password()
user = django_user_model.objects.create_user(email, password)
assert user.email == email
assert... | 33.830189 | 78 | 0.662019 | 207 | 1,793 | 5.396135 | 0.15942 | 0.107431 | 0.161146 | 0.102059 | 0.794987 | 0.734109 | 0.717995 | 0.70188 | 0.626679 | 0.503133 | 0 | 0 | 0.259342 | 1,793 | 52 | 79 | 34.480769 | 0.841114 | 0 | 0 | 0.534884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 1 | 0.139535 | false | 0.232558 | 0.023256 | 0 | 0.186047 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c5ed957119e3f69933dbfb4c1879651fe6bb40ff | 65 | py | Python | __init__.py | Moviesbazar/Pdiskuploader_bot | fcefd0e674843c12e797d464dd4f520f98a36632 | [
"Apache-2.0"
] | 1 | 2021-10-30T19:24:19.000Z | 2021-10-30T19:24:19.000Z | __init__.py | Moviesbazar/Pdiskuploader_bot | fcefd0e674843c12e797d464dd4f520f98a36632 | [
"Apache-2.0"
] | null | null | null | __init__.py | Moviesbazar/Pdiskuploader_bot | fcefd0e674843c12e797d464dd4f520f98a36632 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
"""
Source Code of Pdiskuploaderbot
"""
| 9.285714 | 31 | 0.676923 | 8 | 65 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.153846 | 65 | 6 | 32 | 10.833333 | 0.781818 | 0.815385 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6809a2acfca0df46c95da57d06eac41e2dd27631 | 124 | py | Python | wikilabels/tests/test_stats_routes.py | notconfusing/wikilabels | 5956e20a5d46286bfb0b6327a2b5a12fa406118b | [
"MIT"
] | null | null | null | wikilabels/tests/test_stats_routes.py | notconfusing/wikilabels | 5956e20a5d46286bfb0b6327a2b5a12fa406118b | [
"MIT"
] | null | null | null | wikilabels/tests/test_stats_routes.py | notconfusing/wikilabels | 5956e20a5d46286bfb0b6327a2b5a12fa406118b | [
"MIT"
] | null | null | null | from .routes_test_fixture import app # noqa
def test_stats(client):
assert client.get("/stats/")._status_code == 200
| 20.666667 | 52 | 0.725806 | 18 | 124 | 4.722222 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.153226 | 124 | 5 | 53 | 24.8 | 0.780952 | 0.032258 | 0 | 0 | 0 | 0 | 0.059322 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a83deef93d0c43dab99c0c6171aa58bee51fc329 | 185 | py | Python | financeiro/views.py | Antonio-Neves/Gestao-Escolar | a97052beb571a32619d4e6b6f5e7c3aae3bc8e9b | [
"MIT"
] | 7 | 2021-05-21T00:23:40.000Z | 2021-12-09T12:35:00.000Z | financeiro/views.py | Antonio-Neves/Gestao-Escolar | a97052beb571a32619d4e6b6f5e7c3aae3bc8e9b | [
"MIT"
] | null | null | null | financeiro/views.py | Antonio-Neves/Gestao-Escolar | a97052beb571a32619d4e6b6f5e7c3aae3bc8e9b | [
"MIT"
] | 7 | 2021-08-03T22:28:36.000Z | 2022-03-13T20:08:40.000Z | from django.shortcuts import render
from django.views.generic.base import TemplateView
class IndexFinanceiroView(TemplateView):
template_name = 'financeiro/index-financeiro.html'
| 18.5 | 51 | 0.827027 | 21 | 185 | 7.238095 | 0.761905 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102703 | 185 | 9 | 52 | 20.555556 | 0.915663 | 0 | 0 | 0 | 0 | 0 | 0.175824 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a8480382db69714973a4b7c38f535e4ba7563557 | 376 | py | Python | control/src/robocup/motion-control/VelocityKalmanTuner/dynamics.py | RRRekkitRalph/robocup-firmware | a1502fdb3401e7e998a29c5fae22ef597dcc2dc5 | [
"Apache-2.0"
] | 26 | 2016-07-06T11:25:43.000Z | 2022-02-27T00:24:02.000Z | control/src/robocup/motion-control/VelocityKalmanTuner/dynamics.py | RRRekkitRalph/robocup-firmware | a1502fdb3401e7e998a29c5fae22ef597dcc2dc5 | [
"Apache-2.0"
] | 98 | 2016-07-04T22:43:46.000Z | 2021-11-10T00:12:02.000Z | control/src/robocup/motion-control/VelocityKalmanTuner/dynamics.py | RRRekkitRalph/robocup-firmware | a1502fdb3401e7e998a29c5fae22ef597dcc2dc5 | [
"Apache-2.0"
] | 16 | 2016-07-07T10:50:11.000Z | 2021-12-06T11:20:28.000Z | from abc import ABC, abstractmethod
class Dynamics(ABC):
"""
An abstract class which outlines the basic functionalities
that an object simulating dynamics should implement
"""
@abstractmethod
def step(self, dt):
pass
@abstractmethod
def get_state(self):
pass
@abs... | 18.8 | 62 | 0.659574 | 41 | 376 | 6 | 0.634146 | 0.207317 | 0.170732 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.279255 | 376 | 20 | 63 | 18.8 | 0.907749 | 0.292553 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.090909 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a853dba576efbfdcdc009b4074ffba7b0557a19b | 503 | py | Python | EducationalRound101/red_and_blue/red_and_blue_test.py | tqa236/codeforces | 81ad7bdb7786455f83d48d59a8884f62ded66caf | [
"MIT"
] | null | null | null | EducationalRound101/red_and_blue/red_and_blue_test.py | tqa236/codeforces | 81ad7bdb7786455f83d48d59a8884f62ded66caf | [
"MIT"
] | null | null | null | EducationalRound101/red_and_blue/red_and_blue_test.py | tqa236/codeforces | 81ad7bdb7786455f83d48d59a8884f62ded66caf | [
"MIT"
] | null | null | null | import unittest
from red_and_blue import red_and_blue
class Test(unittest.TestCase):
def test_1(self):
self.assertEqual(red_and_blue([6, -5, 7, -3], [2, 3, -4]), 13)
def test_2(self):
self.assertEqual(red_and_blue([1, 1], [10, -3, 2, 2]), 13)
def test_3(self):
self.assertEqual(re... | 23.952381 | 85 | 0.586481 | 84 | 503 | 3.22619 | 0.297619 | 0.132841 | 0.221402 | 0.324723 | 0.468635 | 0.435424 | 0.221402 | 0 | 0 | 0 | 0 | 0.091371 | 0.2167 | 503 | 20 | 86 | 25.15 | 0.596447 | 0 | 0 | 0 | 0 | 0 | 0.015905 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.307692 | false | 0 | 0.153846 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a85f307dc35b10cea0708b8963b5efd033be967d | 121 | py | Python | app/tests/test_init.py | MerrybyPractice/flask-comics-api | f5d833d83a8e488e1f783ce3314bd2d4b87f5143 | [
"MIT"
] | null | null | null | app/tests/test_init.py | MerrybyPractice/flask-comics-api | f5d833d83a8e488e1f783ce3314bd2d4b87f5143 | [
"MIT"
] | 2 | 2019-07-30T03:32:09.000Z | 2019-07-31T13:44:36.000Z | app/tests/test_init.py | MerrybyPractice/flask-comics-api | f5d833d83a8e488e1f783ce3314bd2d4b87f5143 | [
"MIT"
] | null | null | null | import sys
sys.path.append("flask-comics-api")
from app import app
def test_all_comics():
print(app)
assert False | 13.444444 | 35 | 0.735537 | 20 | 121 | 4.35 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157025 | 121 | 9 | 36 | 13.444444 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a885f24e9c1a06fce54f92a0cfe74a09e9f9a42e | 190 | py | Python | astrochem_ml/__init__.py | laserkelvin/astrochem_ml | 1385e481525681943e50467af58f317401747acd | [
"MIT"
] | null | null | null | astrochem_ml/__init__.py | laserkelvin/astrochem_ml | 1385e481525681943e50467af58f317401747acd | [
"MIT"
] | 2 | 2021-11-18T01:33:22.000Z | 2021-11-18T14:04:43.000Z | astrochem_ml/__init__.py | laserkelvin/astrochem_ml | 1385e481525681943e50467af58f317401747acd | [
"MIT"
] | null | null | null | """Top-level package for Astrochem ML."""
from astrochem_ml import smiles, classes
__author__ = """Kin Long Kelvin Lee"""
__email__ = 'kin.long.kelvin.lee@gmail.com'
__version__ = '0.1.0'
| 23.75 | 43 | 0.721053 | 28 | 190 | 4.428571 | 0.75 | 0.177419 | 0.209677 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018072 | 0.126316 | 190 | 7 | 44 | 27.142857 | 0.728916 | 0.184211 | 0 | 0 | 0 | 0 | 0.355705 | 0.194631 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a888ce23b322d5cd58ae4ab4704251709df155c9 | 193 | py | Python | autokey/data/My Phrases/viniciusban/terminal/kubectl exec -it from clipboard.py | viniciusban/dotfiles | e4048ef236e620ffffc83cce6d51e49019aa4e8e | [
"MIT"
] | null | null | null | autokey/data/My Phrases/viniciusban/terminal/kubectl exec -it from clipboard.py | viniciusban/dotfiles | e4048ef236e620ffffc83cce6d51e49019aa4e8e | [
"MIT"
] | 1 | 2020-05-08T00:37:35.000Z | 2020-05-08T00:37:35.000Z | autokey/data/My Phrases/viniciusban/terminal/kubectl exec -it from clipboard.py | viniciusban/dotfiles | e4048ef236e620ffffc83cce6d51e49019aa4e8e | [
"MIT"
] | null | null | null | # Enter script code
message = "kubectl exec -it <cursor> -- bash"
keyboard.send_keys("kubectl exec -it ")
keyboard.send_keys("<shift>+<ctrl>+v")
time.sleep(0.1)
keyboard.send_keys(" -- bash")
| 24.125 | 45 | 0.694301 | 29 | 193 | 4.517241 | 0.655172 | 0.274809 | 0.366412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011696 | 0.11399 | 193 | 7 | 46 | 27.571429 | 0.754386 | 0.088083 | 0 | 0 | 0 | 0 | 0.425287 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a89e3fe1a4c7cef6a1cb619cc685d9746e6605e8 | 694 | py | Python | tests/conftest.py | olist/olist-loafer | cb3bc0a46ca5a343fbd455181045212e4d032ce6 | [
"MIT"
] | 11 | 2017-10-06T18:18:16.000Z | 2021-12-23T11:34:11.000Z | tests/conftest.py | pydrinker/pydrinker-loafer | 32d2a36827f15cc2b5362ee54da7702267da24c9 | [
"MIT"
] | 7 | 2017-02-16T13:20:54.000Z | 2020-11-03T13:50:46.000Z | tests/conftest.py | pydrinker/pydrinker-loafer | 32d2a36827f15cc2b5362ee54da7702267da24c9 | [
"MIT"
] | 2 | 2017-10-06T18:18:31.000Z | 2020-09-10T15:09:45.000Z | import pytest
from loafer.providers import AbstractProvider
@pytest.fixture
def dummy_handler():
def handler(message, *args):
raise AssertionError("I should not be called")
return handler
@pytest.fixture
def dummy_provider():
class Dummy(AbstractProvider):
async def fetch_messages(self... | 23.133333 | 58 | 0.670029 | 82 | 694 | 5.597561 | 0.353659 | 0.206972 | 0.217865 | 0.283224 | 0.498911 | 0.498911 | 0.498911 | 0.498911 | 0.213508 | 0.213508 | 0 | 0 | 0.253602 | 694 | 29 | 59 | 23.931034 | 0.8861 | 0 | 0 | 0.368421 | 0 | 0 | 0.158501 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 1 | 0.210526 | false | 0 | 0.105263 | 0 | 0.473684 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a8a508f6eb9b35510baa4a9373e60749c24eb598 | 463 | py | Python | parsnip/exceptions.py | timmyomahony/python-parsnip | f04426dbeaf1b186ed400d1229e5e34cbb1ffea6 | [
"MIT"
] | 2 | 2017-07-27T09:19:15.000Z | 2019-10-27T11:44:27.000Z | parsnip/exceptions.py | timmyomahony/python-parsnip | f04426dbeaf1b186ed400d1229e5e34cbb1ffea6 | [
"MIT"
] | null | null | null | parsnip/exceptions.py | timmyomahony/python-parsnip | f04426dbeaf1b186ed400d1229e5e34cbb1ffea6 | [
"MIT"
] | null | null | null | class ParsnipException(Exception):
def __init__(self, msg, webtexter=None):
self.args = (msg, webtexter)
self.msg = msg
self.webtexter = webtexter
def __str__(self):
return repr("[%s] %s - %s" % (self.webtexter.NETWORK_NAME, self.webtexter.phone_number, self.msg))
class LoginError(ParsnipException):pa... | 28.9375 | 100 | 0.764579 | 53 | 463 | 6.490566 | 0.433962 | 0.232558 | 0.218023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12095 | 463 | 15 | 101 | 30.866667 | 0.845209 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0.363636 | 0 | 0.090909 | 0.727273 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
a8be0db32e967cb0153586a373f4da4226c176be | 517 | py | Python | students/models.py | estudeplus/perfil | 58b847aa226b885ca6a7a128035f09de2322519f | [
"MIT"
] | null | null | null | students/models.py | estudeplus/perfil | 58b847aa226b885ca6a7a128035f09de2322519f | [
"MIT"
] | 21 | 2019-05-11T18:01:10.000Z | 2022-02-10T11:22:01.000Z | students/models.py | estudeplus/perfil | 58b847aa226b885ca6a7a128035f09de2322519f | [
"MIT"
] | null | null | null | from django.db import models
class Student(models.Model):
name = models.CharField(max_length=100)
student_id = models.CharField(max_length=10)
email = models.EmailField(max_length=254)
password = models.CharField(max_length=15)
def __str__(self):
return self.name
class InstitutionalEmail(... | 32.3125 | 93 | 0.742747 | 68 | 517 | 5.441176 | 0.529412 | 0.145946 | 0.243243 | 0.324324 | 0.156757 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032037 | 0.154739 | 517 | 15 | 94 | 34.466667 | 0.814645 | 0 | 0 | 0 | 0 | 0 | 0.030948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0.083333 | 0.083333 | 0.083333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
a8c9e7922225b107156958f1d399ae85adb6a1dc | 1,721 | py | Python | quedex_api/keys.py | mchalapuk/python-api | 370e3536da69de4b26c241fb9ff32aa0f1f895f3 | [
"Apache-2.0"
] | 17 | 2017-07-13T12:06:01.000Z | 2022-02-07T01:37:36.000Z | quedex_api/keys.py | mchalapuk/python-api | 370e3536da69de4b26c241fb9ff32aa0f1f895f3 | [
"Apache-2.0"
] | 17 | 2017-07-13T09:09:40.000Z | 2022-02-11T03:38:06.000Z | quedex_api/keys.py | mchalapuk/python-api | 370e3536da69de4b26c241fb9ff32aa0f1f895f3 | [
"Apache-2.0"
] | 10 | 2017-07-12T17:56:02.000Z | 2020-02-21T12:58:32.000Z |
quedex_public_key = """-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQENBFlPvjsBCACr/UfHzXAezskLqcq9NiiaNFDDT5A+biC8VrOglB0ZSQOYRira
NgQ2Cp8Jd+XU77F+J1012BjB5y87Z+hdnwBDsqF7CjkjeQzsE3PSvm9I+E3cneqx
UcinRaUD1wfwVytbg9Q9rpqQ7CTjVWY1UPYjs6dAo1WAp/ux/VTeOFbpO0R3D7if
ZGY1QeISRpLWiMpcG2YCOALnuazABVCNXLhVqa8Y7tt2I... | 53.78125 | 64 | 0.933178 | 82 | 1,721 | 19.560976 | 0.926829 | 0.016833 | 0.014963 | 0.021197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144815 | 0.024985 | 1,721 | 31 | 65 | 55.516129 | 0.811085 | 0 | 0 | 0 | 0 | 0 | 0.984302 | 0.913953 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a8cce89c7aef767b4e56ec6d4bce5ee004bdf34e | 124 | py | Python | examples/src/python/misc/__init__.py | ajorgensen/heron | 6430c51a4a6030e93018e0ed40e5936a64317636 | [
"Apache-2.0"
] | 2 | 2016-07-04T07:10:31.000Z | 2018-03-28T16:59:02.000Z | examples/src/python/misc/__init__.py | ajorgensen/heron | 6430c51a4a6030e93018e0ed40e5936a64317636 | [
"Apache-2.0"
] | null | null | null | examples/src/python/misc/__init__.py | ajorgensen/heron | 6430c51a4a6030e93018e0ed40e5936a64317636 | [
"Apache-2.0"
] | 1 | 2017-06-05T17:55:45.000Z | 2017-06-05T17:55:45.000Z | """Miscellaneous example topology-related modules"""
__all__ = ['test_task_hook']
from .test_task_hook import TestTaskHook
| 24.8 | 52 | 0.798387 | 15 | 124 | 6.066667 | 0.8 | 0.175824 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 124 | 4 | 53 | 31 | 0.8125 | 0.370968 | 0 | 0 | 0 | 0 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
763ffc0241362b9ed7c4968aba6ab05141e6413b | 106 | py | Python | olufekoscrumy/apps.py | olufekosamuel/scrumy | 8d93794bb04a3b3ec76ae41ae685f4e2c7b55730 | [
"MIT"
] | null | null | null | olufekoscrumy/apps.py | olufekosamuel/scrumy | 8d93794bb04a3b3ec76ae41ae685f4e2c7b55730 | [
"MIT"
] | null | null | null | olufekoscrumy/apps.py | olufekosamuel/scrumy | 8d93794bb04a3b3ec76ae41ae685f4e2c7b55730 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class OlufekoscrumyConfig(AppConfig):
name = 'olufekoscrumy'
| 17.666667 | 38 | 0.745283 | 10 | 106 | 7.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 106 | 5 | 39 | 21.2 | 0.918605 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
767bc9780baf150a4175689b7f218ae850fdbe0b | 257 | py | Python | chords/more/gevent_task.py | omergertel/chords | 1f5dd50f55f21ee32b8a4d7b808687d8ed1400c2 | [
"MIT"
] | null | null | null | chords/more/gevent_task.py | omergertel/chords | 1f5dd50f55f21ee32b8a4d7b808687d8ed1400c2 | [
"MIT"
] | null | null | null | chords/more/gevent_task.py | omergertel/chords | 1f5dd50f55f21ee32b8a4d7b808687d8ed1400c2 | [
"MIT"
] | null | null | null | import functools
from gevent import spawn
from ..task import Task
class GeventTask(Task):
"""
Task that spawns a greenlet
"""
def start(self, *args, **kwargs):
return spawn(functools.partial(Task.start, self, *args, **kwargs))
| 21.416667 | 74 | 0.653696 | 32 | 257 | 5.25 | 0.59375 | 0.107143 | 0.154762 | 0.22619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225681 | 257 | 11 | 75 | 23.363636 | 0.844221 | 0.105058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
76838a7af2293c66cd15e86e536b35b9a382902f | 7,857 | py | Python | wet_chicken_discrete/baseline_policy.py | Philipp238/Safe-Policy-Improvement-Approaches-on-Discrete-Markov-Decision-Processes | d0eb7281c5151e043547d5b7379144deea0bbe03 | [
"MIT"
] | null | null | null | wet_chicken_discrete/baseline_policy.py | Philipp238/Safe-Policy-Improvement-Approaches-on-Discrete-Markov-Decision-Processes | d0eb7281c5151e043547d5b7379144deea0bbe03 | [
"MIT"
] | null | null | null | wet_chicken_discrete/baseline_policy.py | Philipp238/Safe-Policy-Improvement-Approaches-on-Discrete-Markov-Decision-Processes | d0eb7281c5151e043547d5b7379144deea0bbe03 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
class WetChickenBaselinePolicy:
def __init__(self, env, gamma, method='heuristic', epsilon=0.1, convergence=0.1, learning_rate=0.1, max_nb_it=999,
order_epsilon=3, order_learning_rate=3):
self.env = env
self.gamma = gamma
self.nb_stat... | 55.330986 | 141 | 0.543846 | 1,086 | 7,857 | 3.787293 | 0.116022 | 0.05981 | 0.061269 | 0.073912 | 0.757355 | 0.738147 | 0.717481 | 0.704352 | 0.677851 | 0.677851 | 0 | 0.022481 | 0.343261 | 7,857 | 141 | 142 | 55.723404 | 0.774612 | 0.165967 | 0 | 0.550388 | 0 | 0 | 0.02634 | 0.004594 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031008 | false | 0 | 0.015504 | 0 | 0.069767 | 0.007752 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
768603f80762916b71f5b82d5dc5b04a5977e674 | 136 | py | Python | timeflow/__init__.py | zach-nervana/TimeFlow | c1ea2e1d2583907ab7775f189541af87f8de9d53 | [
"MIT"
] | 76 | 2016-11-22T14:09:10.000Z | 2020-09-23T19:02:19.000Z | timeflow/__init__.py | genesiscrew/TensorFlow-Predictor | d129172b064d9e73e9118ac7164eb826a1263100 | [
"MIT"
] | 1 | 2017-08-17T18:43:01.000Z | 2017-08-17T18:43:01.000Z | timeflow/__init__.py | genesiscrew/TensorFlow-Predictor | d129172b064d9e73e9118ac7164eb826a1263100 | [
"MIT"
] | 26 | 2017-03-09T02:41:07.000Z | 2021-11-17T09:46:52.000Z | import layers as layers
import placeholders as placeholders
import trainer as trainer
import features as features
import utils as utils
| 22.666667 | 35 | 0.852941 | 20 | 136 | 5.8 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 136 | 5 | 36 | 27.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 4 |
76af59b924c1dbc7c80b888dfc866f25f3b80a37 | 1,293 | py | Python | algorithms/python/leetcode/tests/test_NonnegativeIntegerswithoutConsecutiveOnes.py | ytjia/coding-pratice | 6ddba1f3b86c40639a8203cbc3373d52301c1b1f | [
"MIT"
] | null | null | null | algorithms/python/leetcode/tests/test_NonnegativeIntegerswithoutConsecutiveOnes.py | ytjia/coding-pratice | 6ddba1f3b86c40639a8203cbc3373d52301c1b1f | [
"MIT"
] | null | null | null | algorithms/python/leetcode/tests/test_NonnegativeIntegerswithoutConsecutiveOnes.py | ytjia/coding-pratice | 6ddba1f3b86c40639a8203cbc3373d52301c1b1f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Authors: Y. Jia <ytjia.zju@gmail.com>
import unittest
from .. import NonnegativeIntegerswithoutConsecutiveOnes
class TestNonnegativeIntegerswithoutConsecutiveOnes(unittest.TestCase):
solution = NonnegativeIntegerswithoutConsecutiveOnes.Solution()
def test_findIntegers(self):
... | 38.029412 | 77 | 0.70843 | 168 | 1,293 | 5.220238 | 0.238095 | 0.222349 | 0.281642 | 0.400228 | 0.616876 | 0.45382 | 0.416192 | 0.331813 | 0 | 0 | 0 | 0.033883 | 0.155452 | 1,293 | 33 | 78 | 39.181818 | 0.769231 | 0.04563 | 0 | 0 | 0 | 0 | 0.006499 | 0 | 0 | 0 | 0 | 0 | 0.590909 | 1 | 0.136364 | false | 0 | 0.090909 | 0 | 0.318182 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
76b51edc5f6025c886db8fed031828f33d4df24f | 265 | py | Python | openstack/regression/utils/wait.py | viduship/ceph-qe-scripts | 886619fa6600c24cbf989d65868951b9c3decd72 | [
"MIT"
] | 6 | 2019-04-12T17:45:44.000Z | 2021-09-14T19:59:05.000Z | openstack/regression/utils/wait.py | viduship/ceph-qe-scripts | 886619fa6600c24cbf989d65868951b9c3decd72 | [
"MIT"
] | 111 | 2019-12-10T10:41:08.000Z | 2022-03-31T11:42:30.000Z | openstack/regression/utils/wait.py | viduship/ceph-qe-scripts | 886619fa6600c24cbf989d65868951b9c3decd72 | [
"MIT"
] | 23 | 2019-05-30T19:48:25.000Z | 2022-03-24T17:07:19.000Z | import time
class Wait(object):
def __init__(self):
pass
def wait_for_state_change(self, expected_status, from_status):
for i in range(0, 20):
if expected_status != from_status:
break
time.sleep(1)
| 20.384615 | 66 | 0.584906 | 34 | 265 | 4.235294 | 0.705882 | 0.194444 | 0.25 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.335849 | 265 | 12 | 67 | 22.083333 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
4f69a0fe6181c30f0c8d3af0a05441d93724aee1 | 42 | py | Python | GithubApiDemo/__init__.py | eric-nord/githubApiDemo | ca9f05d60f099d6a35765f31cfdd1c6ad4618fde | [
"MIT"
] | null | null | null | GithubApiDemo/__init__.py | eric-nord/githubApiDemo | ca9f05d60f099d6a35765f31cfdd1c6ad4618fde | [
"MIT"
] | null | null | null | GithubApiDemo/__init__.py | eric-nord/githubApiDemo | ca9f05d60f099d6a35765f31cfdd1c6ad4618fde | [
"MIT"
] | null | null | null | """ Explicit is better than implicit """
| 14 | 40 | 0.666667 | 5 | 42 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 41 | 21 | 0.823529 | 0.761905 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4f904ef1dc73b23f3b9aba76a41b6b2cd535196b | 6,500 | py | Python | landlab/components/transport_length_diffusion/tests/test_tl_hill_diff.py | saraahsimon/landlab | 1cf809b685efbccaaa149b5899a600c3ccedf30f | [
"MIT"
] | null | null | null | landlab/components/transport_length_diffusion/tests/test_tl_hill_diff.py | saraahsimon/landlab | 1cf809b685efbccaaa149b5899a600c3ccedf30f | [
"MIT"
] | null | null | null | landlab/components/transport_length_diffusion/tests/test_tl_hill_diff.py | saraahsimon/landlab | 1cf809b685efbccaaa149b5899a600c3ccedf30f | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Sep 21 16:52:10 2017
@author: margauxmouchene
"""
import numpy as np
import pytest
from numpy.testing import assert_almost_equal
from landlab import RasterModelGrid
from landlab.components import (
FlowAccumulator,
FlowDirectorSteepest,
Tr... | 20.249221 | 80 | 0.365231 | 661 | 6,500 | 3.453858 | 0.220877 | 0.118265 | 0.159001 | 0.187473 | 0.502847 | 0.467368 | 0.454227 | 0.428822 | 0.428822 | 0.428822 | 0 | 0.228729 | 0.524462 | 6,500 | 320 | 81 | 20.3125 | 0.509867 | 0.084462 | 0 | 0.749104 | 0 | 0 | 0.027356 | 0.019419 | 0 | 0 | 0 | 0 | 0.021505 | 1 | 0.007168 | false | 0 | 0.017921 | 0 | 0.02509 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 4 |
4f99110a6e3f66f4ccceeec3bdd358ee7d2b0212 | 75 | py | Python | test/hello64_patch_search.py | Nicholas1126/patchkit | 290f61440abdcb8a334c0823326c0bc4e110059e | [
"MIT"
] | null | null | null | test/hello64_patch_search.py | Nicholas1126/patchkit | 290f61440abdcb8a334c0823326c0bc4e110059e | [
"MIT"
] | null | null | null | test/hello64_patch_search.py | Nicholas1126/patchkit | 290f61440abdcb8a334c0823326c0bc4e110059e | [
"MIT"
] | null | null | null | def search_add(pt):
add_addr = pt.search('add')
print hex(add_addr) | 25 | 31 | 0.666667 | 13 | 75 | 3.615385 | 0.538462 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186667 | 75 | 3 | 32 | 25 | 0.770492 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8c09cfaddc4d9d32bda49a28af781c40e36a6a23 | 83 | py | Python | Recipes/rcps/apps.py | ADKosm/Recipes | 39b81091d8c5b91eeabdb99412c437a62ca5e1aa | [
"MIT"
] | null | null | null | Recipes/rcps/apps.py | ADKosm/Recipes | 39b81091d8c5b91eeabdb99412c437a62ca5e1aa | [
"MIT"
] | 1 | 2016-12-17T07:08:16.000Z | 2016-12-17T07:08:16.000Z | Recipes/rcps/apps.py | ADKosm/Recipes | 39b81091d8c5b91eeabdb99412c437a62ca5e1aa | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class RcpsConfig(AppConfig):
name = 'rcps'
| 13.833333 | 33 | 0.73494 | 10 | 83 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 5 | 34 | 16.6 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8c0e97f1acefec6e12b9b45266f9d330feb11b47 | 355 | py | Python | pswalker/sim/sim.py | ZLLentz/pswalker | 9642489e6add37906998f09cc88290bc95686ac9 | [
"BSD-3-Clause-LBNL"
] | null | null | null | pswalker/sim/sim.py | ZLLentz/pswalker | 9642489e6add37906998f09cc88290bc95686ac9 | [
"BSD-3-Clause-LBNL"
] | 8 | 2018-04-20T21:26:02.000Z | 2021-01-11T19:31:08.000Z | pswalker/sim/sim.py | ZLLentz/pswalker | 9642489e6add37906998f09cc88290bc95686ac9 | [
"BSD-3-Clause-LBNL"
] | 2 | 2018-06-26T00:09:27.000Z | 2018-11-29T19:40:04.000Z | """
Simulated device classes
"""
from ophyd.device import Device, Component
from .signal import FakeSignal
class SimDevice(Device):
"""
Class to house components and methods common to all simulated devices.
"""
sim_x = Component(FakeSignal, value=0)
sim_y = Component(FakeSignal, value=0)
sim_... | 22.1875 | 74 | 0.712676 | 45 | 355 | 5.555556 | 0.555556 | 0.228 | 0.288 | 0.3 | 0.224 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010453 | 0.191549 | 355 | 15 | 75 | 23.666667 | 0.860627 | 0.267606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8c361112a2676ad3ae3884f67f664ad4e61ad19c | 179 | py | Python | Exercises/folhaDePagamento.py | JeffersonOliveira/Exercises--OO2-with-Python3 | 4c9022a06ea933cd83f30b8b60c2e947e0a3250e | [
"MIT"
] | null | null | null | Exercises/folhaDePagamento.py | JeffersonOliveira/Exercises--OO2-with-Python3 | 4c9022a06ea933cd83f30b8b60c2e947e0a3250e | [
"MIT"
] | null | null | null | Exercises/folhaDePagamento.py | JeffersonOliveira/Exercises--OO2-with-Python3 | 4c9022a06ea933cd83f30b8b60c2e947e0a3250e | [
"MIT"
] | null | null | null | class FolhaDePagamento:
@staticmethod
def log():
return f'Isso é um log qualquer.'
#folha = FolhaDePagamento()
#print(folha.log())
print(FolhaDePagamento.log()) | 17.9 | 41 | 0.681564 | 20 | 179 | 6.1 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189944 | 179 | 10 | 42 | 17.9 | 0.841379 | 0.24581 | 0 | 0 | 0 | 0 | 0.171642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0 | 0.2 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
4fb1eb801d7587deecd0cef69ce7045da334f1cc | 161 | py | Python | tracer/test.py | leopiney/tscf | d98fbfe06abbf1d29458ddd147b7f1d99118e4ed | [
"MIT"
] | null | null | null | tracer/test.py | leopiney/tscf | d98fbfe06abbf1d29458ddd147b7f1d99118e4ed | [
"MIT"
] | null | null | null | tracer/test.py | leopiney/tscf | d98fbfe06abbf1d29458ddd147b7f1d99118e4ed | [
"MIT"
] | null | null | null | import numpy as np
from scipy.optimize import linear_sum_assignment
np.random.seed(0)
c = np.random.rand(128, 128)
row_ind, col_ind = linear_sum_assignment(c)
| 20.125 | 48 | 0.78882 | 29 | 161 | 4.172414 | 0.655172 | 0.14876 | 0.31405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049296 | 0.118012 | 161 | 7 | 49 | 23 | 0.802817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4fb887e16c8e670c35cf19aaf804300bc4ca22e4 | 40,372 | py | Python | jsfuzz/fuzzer/grammarinator_deps/ECMAScriptUnparser.py | gustavopinto/entente | 19b65d8cafd77c198c9c441f4f5e01503360309b | [
"BSD-2-Clause"
] | 5 | 2018-03-20T21:53:38.000Z | 2018-12-28T21:08:47.000Z | jsfuzz/fuzzer/grammarinator_deps/ECMAScriptUnparser.py | gustavopinto/entente | 19b65d8cafd77c198c9c441f4f5e01503360309b | [
"BSD-2-Clause"
] | 14 | 2018-04-09T20:16:00.000Z | 2019-06-11T12:31:10.000Z | jsfuzz/fuzzer/grammarinator_deps/ECMAScriptUnparser.py | gustavopinto/entente | 19b65d8cafd77c198c9c441f4f5e01503360309b | [
"BSD-2-Clause"
] | 12 | 2018-04-06T00:52:24.000Z | 2018-07-10T19:44:16.000Z | # Generated by Grammarinator 17.7
from itertools import chain
from grammarinator.runtime import *
import ECMAScriptUnlexer
class ECMAScriptUnparser(Grammarinator):
def __init__(self, unlexer):
super(ECMAScriptUnparser, self).__init__()
self.unlexer = unlexer
self.set_options()
@dep... | 38.819231 | 318 | 0.570271 | 4,251 | 40,372 | 5.318749 | 0.042343 | 0.216497 | 0.127068 | 0.156966 | 0.814153 | 0.703582 | 0.630119 | 0.522468 | 0.493852 | 0.47364 | 0 | 0.023256 | 0.302363 | 40,372 | 1,039 | 319 | 38.856593 | 0.779514 | 0.000768 | 0 | 0.689434 | 1 | 0 | 0.02189 | 0.00176 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059765 | false | 0.002134 | 0.004269 | 0 | 0.124867 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4fba4d67b134d7addd79973a9be2fba674cdf649 | 108 | py | Python | exampleMain.py | marcoprenassi/medical_informatics_examples | d58c6074e18063578b64e874f3a92eda31546cdb | [
"MIT"
] | null | null | null | exampleMain.py | marcoprenassi/medical_informatics_examples | d58c6074e18063578b64e874f3a92eda31546cdb | [
"MIT"
] | null | null | null | exampleMain.py | marcoprenassi/medical_informatics_examples | d58c6074e18063578b64e874f3a92eda31546cdb | [
"MIT"
] | null | null | null | import UMLS_Api_search_example as UAex
if __name__ == '__main__':
UAex.runExample("[INSERT API HERE]")
| 21.6 | 40 | 0.740741 | 15 | 108 | 4.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 108 | 4 | 41 | 27 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.231481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4fbbc39f5b64d4fcd299e8d9717c38c66a7f8e51 | 8,448 | py | Python | biosimulators_test_suite/test_case/cli.py | Ryannjordan/Biosimulators_test_suite | 5f79f157ee8927df277b1967e9409ccfc6baf45f | [
"CC0-1.0",
"MIT"
] | null | null | null | biosimulators_test_suite/test_case/cli.py | Ryannjordan/Biosimulators_test_suite | 5f79f157ee8927df277b1967e9409ccfc6baf45f | [
"CC0-1.0",
"MIT"
] | null | null | null | biosimulators_test_suite/test_case/cli.py | Ryannjordan/Biosimulators_test_suite | 5f79f157ee8927df277b1967e9409ccfc6baf45f | [
"CC0-1.0",
"MIT"
] | null | null | null | """ Methods for test cases involving checking command-line interfaces
:Author: Jonathan Karr <karr@mssm.edu>
:Date: 2020-12-21
:Copyright: 2020, Center for Reproducible Biomedical Modeling
:License: MIT
"""
from ..data_model import TestCase
from ..warnings import TestCaseWarning
from biosimulators_utils.simulator.env... | 49.403509 | 136 | 0.619318 | 978 | 8,448 | 5.295501 | 0.177914 | 0.042479 | 0.069511 | 0.025488 | 0.746669 | 0.735084 | 0.728519 | 0.728519 | 0.683337 | 0.675227 | 0 | 0.001972 | 0.279593 | 8,448 | 170 | 137 | 49.694118 | 0.848998 | 0.273793 | 0 | 0.520408 | 0 | 0 | 0.299366 | 0.01764 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030612 | false | 0 | 0.061224 | 0 | 0.122449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4fccde0990616a0b7cd8bff73f531e7de8b4cd4b | 104 | py | Python | senseTk/__main__.py | Helicopt/senseToolkit | 1630ec3f03368980a13f448b3be554efe44ec7cb | [
"MIT"
] | 2 | 2018-07-30T03:54:58.000Z | 2018-12-17T16:09:06.000Z | senseTk/__main__.py | Helicopt/senseToolkit | 1630ec3f03368980a13f448b3be554efe44ec7cb | [
"MIT"
] | null | null | null | senseTk/__main__.py | Helicopt/senseToolkit | 1630ec3f03368980a13f448b3be554efe44ec7cb | [
"MIT"
] | null | null | null | import senseTk
if __name__ == '__main__':
print('senseToolkit version %s' % (senseTk.__version__))
| 20.8 | 60 | 0.711538 | 11 | 104 | 5.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 4 | 61 | 26 | 0.704545 | 0 | 0 | 0 | 0 | 0 | 0.298077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4fd725c7e36bdf921e72caea11e281c8604d9e0c | 162 | py | Python | ddtrace/settings/exceptions.py | zhammer/dd-trace-py | 4c30f6e36bfa34a63cd9b6884677c977f76d2a01 | [
"Apache-2.0",
"BSD-3-Clause"
] | 5 | 2020-03-07T01:12:29.000Z | 2021-04-21T00:53:19.000Z | ddtrace/settings/exceptions.py | zhammer/dd-trace-py | 4c30f6e36bfa34a63cd9b6884677c977f76d2a01 | [
"Apache-2.0",
"BSD-3-Clause"
] | 4 | 2019-11-22T20:58:01.000Z | 2020-08-17T21:16:13.000Z | ddtrace/settings/exceptions.py | zhammer/dd-trace-py | 4c30f6e36bfa34a63cd9b6884677c977f76d2a01 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2020-03-18T16:29:20.000Z | 2020-07-20T16:05:10.000Z | class ConfigException(Exception):
"""Configuration exception when an integration that is not available
is called in the `Config` object.
"""
pass
| 27 | 72 | 0.709877 | 19 | 162 | 6.052632 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216049 | 162 | 5 | 73 | 32.4 | 0.905512 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
8b19b972799065a94e862c4a6509deba577bacc9 | 51 | py | Python | pylint/examples/with_issues/example.py | strangeworks/cloud-builders-community | 5446da8d200898b1ea3026259ab593b4c57a4569 | [
"Apache-2.0"
] | null | null | null | pylint/examples/with_issues/example.py | strangeworks/cloud-builders-community | 5446da8d200898b1ea3026259ab593b4c57a4569 | [
"Apache-2.0"
] | null | null | null | pylint/examples/with_issues/example.py | strangeworks/cloud-builders-community | 5446da8d200898b1ea3026259ab593b4c57a4569 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
print("useless script")
| 12.75 | 24 | 0.666667 | 7 | 51 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.156863 | 51 | 3 | 25 | 17 | 0.767442 | 0.411765 | 0 | 0 | 0 | 0 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
8b25cfdd6a9f5af0527bf3b2cd5c3142fa2734ed | 69 | py | Python | src/optopus/__init__.py | hindman/optopus | daaba31c6b1bd4f56e442326e36f7b3ea0b74b15 | [
"MIT"
] | 2 | 2021-05-04T23:44:42.000Z | 2021-07-25T20:45:33.000Z | src/optopus/__init__.py | hindman/optopus | daaba31c6b1bd4f56e442326e36f7b3ea0b74b15 | [
"MIT"
] | null | null | null | src/optopus/__init__.py | hindman/optopus | daaba31c6b1bd4f56e442326e36f7b3ea0b74b15 | [
"MIT"
] | null | null | null | from .parser import Parser, Result
from .version import __version__
| 17.25 | 34 | 0.811594 | 9 | 69 | 5.777778 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 69 | 3 | 35 | 23 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 4 |
8b3bf724c24c7b68522d09b8f7f0a72b85989feb | 283,339 | py | Python | src/service/picture_rc.py | NoOneXXX/magic-wormhole-client | 6b8bebebdf058d66fa4e519092558e8d95090c58 | [
"MIT"
] | null | null | null | src/service/picture_rc.py | NoOneXXX/magic-wormhole-client | 6b8bebebdf058d66fa4e519092558e8d95090c58 | [
"MIT"
] | null | null | null | src/service/picture_rc.py | NoOneXXX/magic-wormhole-client | 6b8bebebdf058d66fa4e519092558e8d95090c58 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.15.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x6c\x19\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x02\x00\x... | 65.135402 | 129 | 0.727154 | 68,594 | 283,339 | 3.003076 | 0.004476 | 0.006408 | 0.009437 | 0.012525 | 0.328205 | 0.302355 | 0.278611 | 0.263509 | 0.248494 | 0.232357 | 0 | 0.295555 | 0.01566 | 283,339 | 4,349 | 130 | 65.150379 | 0.44303 | 0.000536 | 0 | 0.05562 | 0 | 0.98523 | 0.000004 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.000462 | false | 0 | 0.000231 | 0 | 0.000692 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8c6abb2cc48a060bc29fbb9ab48584013b7a0a33 | 121 | py | Python | trinity/components/builtin/upnp/events.py | onyb/trinity | 347e2beac23c5c1bb4aab136bb44c162467f6ff7 | [
"MIT"
] | null | null | null | trinity/components/builtin/upnp/events.py | onyb/trinity | 347e2beac23c5c1bb4aab136bb44c162467f6ff7 | [
"MIT"
] | null | null | null | trinity/components/builtin/upnp/events.py | onyb/trinity | 347e2beac23c5c1bb4aab136bb44c162467f6ff7 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from lahja import BaseEvent
@dataclass
class NewUPnPMapping(BaseEvent):
ip: str
| 13.444444 | 33 | 0.793388 | 14 | 121 | 6.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165289 | 121 | 8 | 34 | 15.125 | 0.950495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8cea1e3a37d9a781638564690e38de965b9f82ad | 106 | py | Python | apps.py | qcoumes/django-dummy-app | e53266e4128cfada992e0d5938083603b25c4e84 | [
"MIT"
] | null | null | null | apps.py | qcoumes/django-dummy-app | e53266e4128cfada992e0d5938083603b25c4e84 | [
"MIT"
] | null | null | null | apps.py | qcoumes/django-dummy-app | e53266e4128cfada992e0d5938083603b25c4e84 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DummyAppConfigConfig(AppConfig):
name = 'django_dummy_app'
| 15.142857 | 38 | 0.783019 | 12 | 106 | 6.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 106 | 6 | 39 | 17.666667 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8cef6e357eeb4cff94f77de03b2338959c11b5e2 | 1,347 | py | Python | numpytorch/losses.py | Samyak2/numpytorch | b508c8c2169c6c94f5bee915a12beff0790da5f8 | [
"MIT"
] | 2 | 2021-04-14T07:14:50.000Z | 2021-04-14T17:22:55.000Z | numpytorch/losses.py | Samyak2/numpytorch | b508c8c2169c6c94f5bee915a12beff0790da5f8 | [
"MIT"
] | null | null | null | numpytorch/losses.py | Samyak2/numpytorch | b508c8c2169c6c94f5bee915a12beff0790da5f8 | [
"MIT"
] | null | null | null | import numpy as np
EPS = 1e-06
class Loss:
"""Generic class to define a loss function"""
def __init__(self):
pass
def __call__(self, y_real: np.ndarray, y_pred: np.ndarray) -> np.ndarray:
return self.forward(y_real, y_pred)
def forward(self, y_real: np.ndarray, y_pred: np.ndarray) ... | 32.071429 | 83 | 0.639941 | 186 | 1,347 | 4.483871 | 0.311828 | 0.161871 | 0.058753 | 0.065947 | 0.490408 | 0.490408 | 0.456835 | 0.456835 | 0.456835 | 0.353717 | 0 | 0.006958 | 0.253155 | 1,347 | 41 | 84 | 32.853659 | 0.822068 | 0.22346 | 0 | 0.272727 | 0 | 0 | 0.117589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.136364 | 0.045455 | 0.136364 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
507af7b7c926d5ad374babb7e525c9985c6d28d6 | 155 | py | Python | test/__init__.py | gjhiggins/rdflib-sqlalchemy | d4c057934cd2675083d3df943103bdffb20341d4 | [
"BSD-3-Clause"
] | 112 | 2015-02-21T15:56:34.000Z | 2022-02-22T12:10:26.000Z | test/__init__.py | gjhiggins/rdflib-sqlalchemy | d4c057934cd2675083d3df943103bdffb20341d4 | [
"BSD-3-Clause"
] | 64 | 2015-01-22T12:40:11.000Z | 2021-12-27T19:15:14.000Z | test/__init__.py | gjhiggins/rdflib-sqlalchemy | d4c057934cd2675083d3df943103bdffb20341d4 | [
"BSD-3-Clause"
] | 28 | 2015-06-22T08:06:58.000Z | 2022-02-16T11:17:49.000Z | from rdflib import plugin
from rdflib import store
plugin.register(
"SQLAlchemy",
store.Store,
"rdflib_sqlalchemy.store",
"SQLAlchemy",
)
| 15.5 | 30 | 0.703226 | 17 | 155 | 6.352941 | 0.411765 | 0.185185 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 155 | 9 | 31 | 17.222222 | 0.870968 | 0 | 0 | 0.25 | 0 | 0 | 0.277419 | 0.148387 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
50a50aa1a40424c9e929c23a7eb5cdd5ccf71c81 | 120 | py | Python | distopia/mapping/__init__.py | kevinguo344/distopia | 077dd3501bd43565d1a9647a151fb20b90b71a54 | [
"MIT"
] | null | null | null | distopia/mapping/__init__.py | kevinguo344/distopia | 077dd3501bd43565d1a9647a151fb20b90b71a54 | [
"MIT"
] | 7 | 2019-07-11T04:19:01.000Z | 2019-10-31T15:26:49.000Z | distopia/mapping/__init__.py | kevinguo344/distopia | 077dd3501bd43565d1a9647a151fb20b90b71a54 | [
"MIT"
] | 4 | 2018-10-29T20:32:03.000Z | 2019-10-02T03:15:57.000Z | """
District Mapping
================
Defines the algorithms that perform the mapping from precincts to districts.
"""
| 17.142857 | 76 | 0.666667 | 13 | 120 | 6.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141667 | 120 | 6 | 77 | 20 | 0.776699 | 0.925 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
50acfb5ef2c2292d0cbbb5ceac5eacf6da2c2045 | 139 | py | Python | test cases/windows/10 vs module defs generated custom target/subdir/make_def.py | kira78/meson | 0ae840656c5b87f30872072aa8694667c63c96d2 | [
"Apache-2.0"
] | 4,047 | 2015-06-18T10:36:48.000Z | 2022-03-31T09:47:02.000Z | test cases/windows/10 vs module defs generated custom target/subdir/make_def.py | kira78/meson | 0ae840656c5b87f30872072aa8694667c63c96d2 | [
"Apache-2.0"
] | 8,206 | 2015-06-14T12:20:48.000Z | 2022-03-31T22:50:37.000Z | test cases/windows/10 vs module defs generated custom target/subdir/make_def.py | kira78/meson | 0ae840656c5b87f30872072aa8694667c63c96d2 | [
"Apache-2.0"
] | 1,489 | 2015-06-27T04:06:38.000Z | 2022-03-29T10:14:48.000Z | #!/usr/bin/env python3
import sys
with open(sys.argv[1], 'w') as f:
print('EXPORTS', file=f)
print(' somedllfunc', file=f)
| 19.857143 | 40 | 0.597122 | 22 | 139 | 3.772727 | 0.772727 | 0.144578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 0.215827 | 139 | 6 | 41 | 23.166667 | 0.743119 | 0.151079 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
50d58d7591d92e204d555b99d0383a3caa6df18d | 240 | py | Python | lnc/lib/exceptions.py | atrosinenko/lecture-notes-compiler | 40764c48664cec2001f1a5cbfa579ae970af0dac | [
"MIT"
] | 3 | 2015-09-10T16:10:57.000Z | 2016-12-03T01:49:28.000Z | lnc/lib/exceptions.py | atrosinenko/lecture-notes-compiler | 40764c48664cec2001f1a5cbfa579ae970af0dac | [
"MIT"
] | null | null | null | lnc/lib/exceptions.py | atrosinenko/lecture-notes-compiler | 40764c48664cec2001f1a5cbfa579ae970af0dac | [
"MIT"
] | null | null | null | class ProgramError(Exception):
"""Generic exception class for errors in this program."""
pass
class PluginError(ProgramError):
pass
class NoOptionError(ProgramError):
pass
class ExtCommandError(ProgramError):
pass
| 15 | 61 | 0.729167 | 24 | 240 | 7.291667 | 0.541667 | 0.154286 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191667 | 240 | 15 | 62 | 16 | 0.902062 | 0.2125 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0fa1f574a4f8141432aee6c23b38e68e734cc0ee | 98 | py | Python | Main.py | mriduldhall/tic-tac-toe | 9487949edf84fddcdde09bdb8cb04dbfdc5f8faf | [
"MIT"
] | null | null | null | Main.py | mriduldhall/tic-tac-toe | 9487949edf84fddcdde09bdb8cb04dbfdc5f8faf | [
"MIT"
] | null | null | null | Main.py | mriduldhall/tic-tac-toe | 9487949edf84fddcdde09bdb8cb04dbfdc5f8faf | [
"MIT"
] | null | null | null | from Interfaces.CommandLineInterface import CLI
if __name__ == '__main__':
CLI().initiate()
| 16.333333 | 47 | 0.734694 | 10 | 98 | 6.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 48 | 19.6 | 0.771084 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0fae0ba2824dc5a926e2388c414dc0455b2ced7b | 7,293 | py | Python | 2021/22/22b.py | kristianwiklund/AOC | be2f2e3a97b775281382dca8ea34a6522571052a | [
"MIT"
] | 3 | 2020-12-02T18:18:05.000Z | 2021-12-03T18:39:26.000Z | 2021/22/22b.py | kristianwiklund/AOC | be2f2e3a97b775281382dca8ea34a6522571052a | [
"MIT"
] | null | null | null | 2021/22/22b.py | kristianwiklund/AOC | be2f2e3a97b775281382dca8ea34a6522571052a | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import sys
import cut
from box import Box
from reactor import Reactor
from termcolor import colored
# -- assert helper
def check(what,output,f=None):
try:
assert(what)
except:
print("Assert failed, debug output: ",end="")
print(output)
if f is not None:
... | 29.526316 | 136 | 0.581791 | 1,549 | 7,293 | 2.713363 | 0.096191 | 0.029503 | 0.047109 | 0.044968 | 0.774923 | 0.739234 | 0.723531 | 0.709493 | 0.658101 | 0.646205 | 0 | 0.08816 | 0.143014 | 7,293 | 246 | 137 | 29.646341 | 0.58432 | 0.04141 | 0 | 0.377246 | 0 | 0.005988 | 0.434571 | 0.069944 | 0 | 0 | 0 | 0 | 0.113772 | 1 | 0.011976 | false | 0 | 0.02994 | 0 | 0.047904 | 0.185629 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.