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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
99603765e4ce4bdb7bf2b7d42471401bc5e1d9a7 | 647 | py | Python | backend/posts/serializers.py | hongbozhong/SocialDistributionNetwork | 414880847ccc43321265454c212a93c60d144346 | [
"MIT"
] | null | null | null | backend/posts/serializers.py | hongbozhong/SocialDistributionNetwork | 414880847ccc43321265454c212a93c60d144346 | [
"MIT"
] | null | null | null | backend/posts/serializers.py | hongbozhong/SocialDistributionNetwork | 414880847ccc43321265454c212a93c60d144346 | [
"MIT"
] | null | null | null | from rest_framework.serializers import ModelSerializer
from .models import Post, Comment, User, PostImage, Like
class PostSerializer(ModelSerializer):
class Meta:
model = Post
fields = "__all__"
class UserSerializer(ModelSerializer):
class Meta:
model = User
fields = "__all__"
... | 23.962963 | 56 | 0.672334 | 59 | 647 | 7.016949 | 0.372881 | 0.241546 | 0.289855 | 0.350242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256569 | 647 | 27 | 57 | 23.962963 | 0.860707 | 0 | 0 | 0.454545 | 0 | 0 | 0.054012 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.545455 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
996f4a0197f6b86b7a835b2d18fbdbae5b6d55e1 | 110 | py | Python | Chapter17/PI-QTicTacToe/run.py | trappn/Mastering-GUI-Programming-with-Python | 14392c06dd3b9cf655420d09853bce6bfe8fe16d | [
"MIT"
] | 138 | 2018-12-06T15:48:07.000Z | 2022-03-28T12:23:12.000Z | Chapter17/PI-QTicTacToe/run.py | thema27/Mastering-GUI-Programming-with-Python | 66f33ff6c07b7e22a396a982a5502bd93c20d785 | [
"MIT"
] | 16 | 2019-11-21T08:17:42.000Z | 2020-08-19T06:56:48.000Z | Chapter17/PI-QTicTacToe/run.py | thema27/Mastering-GUI-Programming-with-Python | 66f33ff6c07b7e22a396a982a5502bd93c20d785 | [
"MIT"
] | 116 | 2018-12-08T18:13:02.000Z | 2022-03-22T14:30:57.000Z | """Qtictactoe by Alan D Moore"""
from qtictactoe.__main__ import main
if __name__ == '__main__':
main()
| 15.714286 | 36 | 0.690909 | 14 | 110 | 4.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 110 | 6 | 37 | 18.333333 | 0.711111 | 0.236364 | 0 | 0 | 0 | 0 | 0.102564 | 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 |
9978628b35454ff3149ddc0387f3aa820c1a8b9b | 124 | py | Python | cm4/flask_rest_api/rest_api.py | swsachith/cm | d99837917f0dafe60c25829cf78ae77bbe02bd85 | [
"Apache-2.0"
] | null | null | null | cm4/flask_rest_api/rest_api.py | swsachith/cm | d99837917f0dafe60c25829cf78ae77bbe02bd85 | [
"Apache-2.0"
] | null | null | null | cm4/flask_rest_api/rest_api.py | swsachith/cm | d99837917f0dafe60c25829cf78ae77bbe02bd85 | [
"Apache-2.0"
] | null | null | null | from cm4.flask_rest_api.app import app
if __name__ == "__main__":
app.run(debug=True, threaded=True, host='127.0.0.1')
| 24.8 | 56 | 0.709677 | 22 | 124 | 3.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064815 | 0.129032 | 124 | 4 | 57 | 31 | 0.657407 | 0 | 0 | 0 | 0 | 0 | 0.137097 | 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 |
9983f507f5dfe7bd6516ff446b7b1a5d603dc9f0 | 14,257 | py | Python | numerical_optimization_and_large_scale_lin_alg/Assignment1/LU_eliminator.py | SpyrosMouselinos/Msc-AUEB-Data-Science | 179e0d107448d5a547651d60dafbc2345817c4a9 | [
"Apache-2.0"
] | 1 | 2021-06-25T13:19:38.000Z | 2021-06-25T13:19:38.000Z | numerical_optimization_and_large_scale_lin_alg/Assignment1/LU_eliminator.py | SpyrosMouselinos/Msc-AUEB-Data-Science | 179e0d107448d5a547651d60dafbc2345817c4a9 | [
"Apache-2.0"
] | null | null | null | numerical_optimization_and_large_scale_lin_alg/Assignment1/LU_eliminator.py | SpyrosMouselinos/Msc-AUEB-Data-Science | 179e0d107448d5a547651d60dafbc2345817c4a9 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import scipy.linalg
from numpy.linalg import cond, norm
from scipy.linalg import toeplitz
from scipy.linalg import solve_triangular
import time
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
sns.set_style('darkgrid')
PI = np.pi
CRED = '\033[91m'
CGREEN = '\033[32m'
CEND = ... | 30.398721 | 256 | 0.595006 | 2,208 | 14,257 | 3.693841 | 0.115036 | 0.024522 | 0.027587 | 0.018759 | 0.779794 | 0.747793 | 0.718857 | 0.703654 | 0.683178 | 0.683178 | 0 | 0.019578 | 0.261977 | 14,257 | 469 | 257 | 30.398721 | 0.75556 | 0.28842 | 0 | 0.538136 | 0 | 0 | 0.066095 | 0 | 0 | 0 | 0 | 0 | 0.012712 | 1 | 0.072034 | false | 0 | 0.038136 | 0.008475 | 0.182203 | 0.029661 | 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 |
99abc91cdf1df8c40d49d05b0719aa01551e164c | 28 | py | Python | homeassistant/components/uptime/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 22,481 | 2020-03-02T13:09:59.000Z | 2022-03-31T23:34:28.000Z | homeassistant/components/uptime/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | homeassistant/components/uptime/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,411 | 2020-03-02T14:19:20.000Z | 2022-03-31T22:46:07.000Z | """The uptime component."""
| 14 | 27 | 0.642857 | 3 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.72 | 0.75 | 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 |
41fd1552de407d414370770a33f5e50b7025a140 | 528 | py | Python | javascript/__init__.py | offdhymaz/wa | fc05f1f7be443c45182f47c8d13a870149dbdd17 | [
"MIT"
] | 37 | 2020-10-05T17:12:02.000Z | 2022-03-07T14:53:35.000Z | javascript/__init__.py | INIDboyzz/Juliana | b768e7d4aa13eb1a97e8d8df7e331b99b8b082fb | [
"MIT"
] | 24 | 2020-10-08T15:56:18.000Z | 2022-03-15T00:16:25.000Z | javascript/__init__.py | INIDboyzz/Juliana | b768e7d4aa13eb1a97e8d8df7e331b99b8b082fb | [
"MIT"
] | 44 | 2020-10-10T12:58:24.000Z | 2022-02-09T13:58:01.000Z | """class krypton_patch:
def __init__(self, driver) -> None:
self.driver = driver
self.js = driver.driver.execute_script
driver.driver.execute_script("javascript/index.js") #patch 0.1
def FakeReply(self, korban, pesan, chat_id, MsgId, teks):
return self.js(f"return await FakeR... | 58.666667 | 116 | 0.606061 | 67 | 528 | 4.61194 | 0.432836 | 0.07767 | 0.122977 | 0.161812 | 0.15534 | 0.15534 | 0 | 0 | 0 | 0 | 0 | 0.00464 | 0.183712 | 528 | 9 | 117 | 58.666667 | 0.712297 | 0.897727 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
511a014c34efa0891ade47601b37718b919df2a9 | 443 | py | Python | sulley/message.py | sandeepraju/sulley | b650a476f9e493697fc638285ffadb5bb8c4b22c | [
"BSD-3-Clause"
] | 17 | 2016-08-07T16:05:23.000Z | 2017-10-29T03:56:56.000Z | sulley/message.py | sandeepraju/sulley | b650a476f9e493697fc638285ffadb5bb8c4b22c | [
"BSD-3-Clause"
] | null | null | null | sulley/message.py | sandeepraju/sulley | b650a476f9e493697fc638285ffadb5bb8c4b22c | [
"BSD-3-Clause"
] | 2 | 2018-06-28T08:05:19.000Z | 2020-02-22T12:03:02.000Z | class Message(object):
"""`Message` stores the SMS text and the originating phone number.
"""
def __init__(self, from_number, text, provider=None, *args, **kwargs):
self.from_number = from_number
self.text = text
self._provider = provider
def reply(self, text):
self._pro... | 31.642857 | 74 | 0.636569 | 55 | 443 | 4.854545 | 0.436364 | 0.187266 | 0.209738 | 0.134831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232506 | 443 | 13 | 75 | 34.076923 | 0.785294 | 0.142212 | 0 | 0 | 0 | 0 | 0.02439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.111111 | 0.555556 | 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 |
511d3252ab925dcc0556c638fc755754679c55c2 | 46 | py | Python | TSIS_1/topic_1/i.py | GMKanat/PP2_spring | 423617d559c5690f689741aaa152b9fee5082baf | [
"MIT"
] | null | null | null | TSIS_1/topic_1/i.py | GMKanat/PP2_spring | 423617d559c5690f689741aaa152b9fee5082baf | [
"MIT"
] | null | null | null | TSIS_1/topic_1/i.py | GMKanat/PP2_spring | 423617d559c5690f689741aaa152b9fee5082baf | [
"MIT"
] | null | null | null | import math
a = (int(str(179)*50))**2
print(a) | 15.333333 | 25 | 0.630435 | 10 | 46 | 2.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 0.108696 | 46 | 3 | 26 | 15.333333 | 0.560976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 |
512c5164b1882b581467cfa174017a7542828132 | 685,295 | py | Python | aphla/gui/gui_icons.py | NSLS-II/aphla | ceb5410dc836a8fb16321b6dc5e10d442be765c5 | [
"BSD-3-Clause"
] | null | null | null | aphla/gui/gui_icons.py | NSLS-II/aphla | ceb5410dc836a8fb16321b6dc5e10d442be765c5 | [
"BSD-3-Clause"
] | 1 | 2020-02-17T18:56:18.000Z | 2020-02-20T17:06:20.000Z | aphla/gui/gui_icons.py | NSLS-II/aphla | ceb5410dc836a8fb16321b6dc5e10d442be765c5 | [
"BSD-3-Clause"
] | 1 | 2021-03-08T16:07:11.000Z | 2021-03-08T16:07:11.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created: Thu Feb 16 16:15:31 2012
# by: The Resource Compiler for PyQt (Qt v4.7.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore
qt_resource_data = "\
\x00\x00\x61\x29\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x... | 65.353328 | 129 | 0.727101 | 166,031 | 685,295 | 3.001012 | 0.001813 | 0.015691 | 0.016473 | 0.017581 | 0.127433 | 0.124615 | 0.123791 | 0.122875 | 0.12119 | 0.12031 | 0 | 0.309923 | 0.015389 | 685,295 | 10,485 | 130 | 65.359561 | 0.428516 | 0.000264 | 0 | 0.11127 | 0 | 0.988157 | 0 | 0 | 0 | 1 | 0.000012 | 0 | 0 | 1 | 0.000191 | false | 0 | 0.000096 | 0 | 0.000287 | 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 |
513a0047971efd1c5ca92e2c23de31564a960dc7 | 166 | py | Python | DataStructures/Heap_def/Program.py | luiscarm9/Data-Structures-in-Python | e7eb7e7ece8f3223b8017d25acc76bea3e93e3f6 | [
"MIT"
] | null | null | null | DataStructures/Heap_def/Program.py | luiscarm9/Data-Structures-in-Python | e7eb7e7ece8f3223b8017d25acc76bea3e93e3f6 | [
"MIT"
] | null | null | null | DataStructures/Heap_def/Program.py | luiscarm9/Data-Structures-in-Python | e7eb7e7ece8f3223b8017d25acc76bea3e93e3f6 | [
"MIT"
] | null | null | null | from Heap_def.Heap import Heap
heap=Heap()
heap.insert(1000)
heap.insert(10)
heap.insert(-1000)
heap.insert(999)
heap.insert(1)
heap.insert(15)
heap.heapSort()
| 10.375 | 30 | 0.73494 | 28 | 166 | 4.321429 | 0.392857 | 0.495868 | 0.198347 | 0.297521 | 0.396694 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0.108434 | 166 | 15 | 31 | 11.066667 | 0.709459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 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 |
51476dd72e36d07f24569cb901369a898e5fbf51 | 118 | py | Python | mmdet3d/ops/gather_points/__init__.py | maskjp/mmdetection3d | 98f332372b1a4c82bc2d57588a5d764f4176c869 | [
"Apache-2.0"
] | 1 | 2022-03-04T19:29:42.000Z | 2022-03-04T19:29:42.000Z | mmdet3d/ops/gather_points/__init__.py | maskjp/mmdetection3d | 98f332372b1a4c82bc2d57588a5d764f4176c869 | [
"Apache-2.0"
] | null | null | null | mmdet3d/ops/gather_points/__init__.py | maskjp/mmdetection3d | 98f332372b1a4c82bc2d57588a5d764f4176c869 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) OpenMMLab. All rights reserved.
from .gather_points import gather_points
__all__ = ['gather_points']
| 23.6 | 47 | 0.779661 | 15 | 118 | 5.666667 | 0.666667 | 0.423529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127119 | 118 | 4 | 48 | 29.5 | 0.825243 | 0.381356 | 0 | 0 | 0 | 0 | 0.183099 | 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 |
515e21876fc412c41a1451074041cdc4cad764ce | 241 | py | Python | tts/none.py | 20repsej/controller | 6bcde1d4c7d60ba1af9faeed73326712046ab0f8 | [
"Apache-2.0"
] | 67 | 2019-07-11T17:33:51.000Z | 2022-03-04T20:36:30.000Z | tts/none.py | 20repsej/controller | 6bcde1d4c7d60ba1af9faeed73326712046ab0f8 | [
"Apache-2.0"
] | 30 | 2018-10-15T03:54:58.000Z | 2020-05-28T06:57:08.000Z | tts/none.py | 20repsej/controller | 6bcde1d4c7d60ba1af9faeed73326712046ab0f8 | [
"Apache-2.0"
] | 22 | 2019-07-12T00:25:49.000Z | 2022-03-29T16:56:20.000Z | # This is a dummy file to allow the automatic loading of modules without error on none.
def setup(robot_config):
return
def say(*args):
return
def mute():
return
def unmute():
return
def volume(level):
return | 15.0625 | 87 | 0.659751 | 35 | 241 | 4.514286 | 0.771429 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26556 | 241 | 16 | 88 | 15.0625 | 0.892655 | 0.352697 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5ab145a0d87227c7cf328f810da90be23a03f174 | 2,703 | py | Python | plenum/test/monitoring/test_request_time_tracker.py | spivachuk/plenum | 05123166e8ffa89520541ea3b59b20390aaf92a4 | [
"Apache-2.0"
] | null | null | null | plenum/test/monitoring/test_request_time_tracker.py | spivachuk/plenum | 05123166e8ffa89520541ea3b59b20390aaf92a4 | [
"Apache-2.0"
] | null | null | null | plenum/test/monitoring/test_request_time_tracker.py | spivachuk/plenum | 05123166e8ffa89520541ea3b59b20390aaf92a4 | [
"Apache-2.0"
] | 2 | 2017-12-13T21:14:54.000Z | 2021-06-06T15:48:03.000Z |
from plenum.server.monitor import RequestTimeTracker
INSTANCE_COUNT = 4
def test_request_tracker_start_adds_request():
req_tracker = RequestTimeTracker(INSTANCE_COUNT)
digest = "digest"
now = 1.0
req_tracker.start(digest, now)
assert digest in req_tracker
assert digest in [req for req, _ i... | 27.03 | 91 | 0.738069 | 375 | 2,703 | 4.989333 | 0.16 | 0.2031 | 0.070551 | 0.078568 | 0.787814 | 0.76109 | 0.714591 | 0.683592 | 0.683592 | 0.683592 | 0 | 0.012267 | 0.18572 | 2,703 | 99 | 92 | 27.30303 | 0.837801 | 0 | 0 | 0.681818 | 0 | 0 | 0.015544 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 1 | 0.106061 | false | 0 | 0.015152 | 0 | 0.121212 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 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 |
5ae22e55a95955ce0d5367a205651df0a4f11719 | 2,564 | py | Python | tools/idaplugin/bugs/hello-empty-c/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2017-12-14T14:25:17.000Z | 2019-03-09T03:29:12.000Z | tools/idaplugin/bugs/hello-empty-c/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 10 | 2019-06-14T09:12:55.000Z | 2021-10-01T12:15:43.000Z | tools/idaplugin/bugs/hello-empty-c/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2019-05-10T14:59:48.000Z | 2022-03-07T16:34:23.000Z | from regression_tests import *
class TestDecompileElfX86NotRebased(Test):
settings = TestSettings(
tool='idaplugin',
input='hello-x86.o',
args='--select 0x8000000'
)
def setUp(self):
# Prevent the base class from checking that the decompilation
# succeeded (we expec... | 28.808989 | 70 | 0.650936 | 291 | 2,564 | 5.683849 | 0.209622 | 0.152358 | 0.101572 | 0.118501 | 0.812576 | 0.812576 | 0.812576 | 0.670496 | 0.610036 | 0.610036 | 0 | 0.022751 | 0.24571 | 2,564 | 88 | 71 | 29.136364 | 0.832472 | 0.199688 | 0 | 0.587302 | 0 | 0 | 0.13712 | 0 | 0 | 0 | 0.014691 | 0 | 0.111111 | 1 | 0.142857 | false | 0.031746 | 0.015873 | 0 | 0.380952 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 |
5ae8a8a63fe2b70ac4b2523cae03434887275b4c | 267 | py | Python | mysite/oxigeno/urls.py | oxigenocc/oxigeno.cc | 4a540950d4b86bf87427e0421ecb34688f0269f8 | [
"MIT"
] | 5 | 2021-02-15T06:22:02.000Z | 2021-04-01T21:35:37.000Z | mysite/oxigeno/urls.py | oxigenocc/oxigeno.cc | 4a540950d4b86bf87427e0421ecb34688f0269f8 | [
"MIT"
] | 1 | 2021-03-06T19:16:06.000Z | 2021-03-06T19:16:06.000Z | mysite/oxigeno/urls.py | oxigenocc/oxigeno.cc | 4a540950d4b86bf87427e0421ecb34688f0269f8 | [
"MIT"
] | 2 | 2021-02-12T01:33:34.000Z | 2021-03-06T23:14:43.000Z | from django.urls import path
from django.views.generic import TemplateView
urlpatterns = [
path('', TemplateView.as_view(template_name='index.html'), name='index'),
path('formulario/', TemplateView.as_view(template_name='index.html'), name='formulario'),
] | 29.666667 | 93 | 0.741573 | 33 | 267 | 5.878788 | 0.484848 | 0.139175 | 0.185567 | 0.268041 | 0.443299 | 0.443299 | 0.443299 | 0.443299 | 0 | 0 | 0 | 0 | 0.104869 | 267 | 9 | 94 | 29.666667 | 0.811715 | 0 | 0 | 0 | 0 | 0 | 0.171642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5af2d39f87a11f6d06ac30449b9c311368f84192 | 95 | py | Python | Programmers/[cutz]square.py | cutz-j/AlgorithmStudy | de0f81220e29bd5e109d174800f507b12a3bee36 | [
"MIT"
] | 3 | 2019-11-26T14:31:01.000Z | 2020-01-10T18:19:46.000Z | Programmers/[cutz]square.py | cutz-j/AlgorithmStudy | de0f81220e29bd5e109d174800f507b12a3bee36 | [
"MIT"
] | null | null | null | Programmers/[cutz]square.py | cutz-j/AlgorithmStudy | de0f81220e29bd5e109d174800f507b12a3bee36 | [
"MIT"
] | null | null | null | import math
def solution(w,h):
answer = (w*h) - (w + h - math.gcd(w, h))
return answer | 19 | 45 | 0.568421 | 17 | 95 | 3.176471 | 0.529412 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252632 | 95 | 5 | 46 | 19 | 0.760563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 4 |
850ea597d261a7a2938afe90bf904525435aaa2b | 1,533 | py | Python | tests/asp/cautious/bottle_filling.example2.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/asp/cautious/bottle_filling.example2.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/asp/cautious/bottle_filling.example2.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
1 2 0 0
1 3 0 0
1 4 0 0
1 5 0 0
1 6 0 0
1 7 0 0
1 8 0 0
1 9 0 0
1 10 0 0
1 11 0 0
1 12 0 0
1 13 0 0
1 14 0 0
1 15 0 0
1 16 0 0
1 17 0 0
1 18 1 1 19
1 20 1 1 21
1 22 1 1 23
1 24 1 1 25
1 26 1 1 27
1 28 1 1 29
1 19 1 1 18
1 21 1 1 20
1 23 1 1 22
1 25 1 1 24
1 27 1 1 26
1 29 1 1 28
1 1 1 1 18
2 30 2 0 2 22 20
... | 14.883495 | 300 | 0.596869 | 523 | 1,533 | 1.749522 | 0.097514 | 0.128962 | 0.059016 | 0.069945 | 0.135519 | 0.017486 | 0 | 0 | 0 | 0 | 0 | 0.530466 | 0.272016 | 1,533 | 102 | 301 | 15.029412 | 0.289427 | 0 | 0 | 0.019608 | 0 | 0.009804 | 0.979778 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 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 |
851ba7db8101b2097df32d9d1c975cbf78f6ff93 | 33 | py | Python | atom_babies/set_face_position_down.py | 3110/atom-babies | 4cd326308ec407df0b23b5833213bea43d598934 | [
"MIT"
] | 2 | 2022-02-09T02:02:31.000Z | 2022-03-20T09:18:06.000Z | atom_babies/set_face_position_down.py | 3110/atom-babies | 4cd326308ec407df0b23b5833213bea43d598934 | [
"MIT"
] | null | null | null | atom_babies/set_face_position_down.py | 3110/atom-babies | 4cd326308ec407df0b23b5833213bea43d598934 | [
"MIT"
] | null | null | null | _ab_set_face_position('POS_DOWN') | 33 | 33 | 0.878788 | 6 | 33 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 33 | 1 | 33 | 33 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
51920fcfe59bcc6ce6f1bb4749097a9686573f4f | 139 | py | Python | run-dev.py | nazrulworld/mailbox | 35a81e21bc033e9dac60870e106d061830788e96 | [
"MIT"
] | 1 | 2015-01-02T09:07:56.000Z | 2015-01-02T09:07:56.000Z | run-dev.py | nazrulworld/mailbox | 35a81e21bc033e9dac60870e106d061830788e96 | [
"MIT"
] | null | null | null | run-dev.py | nazrulworld/mailbox | 35a81e21bc033e9dac60870e106d061830788e96 | [
"MIT"
] | 1 | 2017-03-06T09:58:04.000Z | 2017-03-06T09:58:04.000Z | #!/usr/bin/env python
from application import router
if __name__ == '__main__':
router.app.run(host="0.0.0.0", port=8000, debug=True)
| 23.166667 | 57 | 0.697842 | 23 | 139 | 3.869565 | 0.826087 | 0.067416 | 0.067416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066116 | 0.129496 | 139 | 5 | 58 | 27.8 | 0.669421 | 0.143885 | 0 | 0 | 0 | 0 | 0.127119 | 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 |
519cbccd58789c3d5019a4936c06c91f6be508f8 | 565 | py | Python | pylons-emlo/emlo/pylons/web/web/controllers/formtest.py | culturesofknowledge/emlo-server | 8a88ca98a5211086195793e4bed5960550638936 | [
"MIT"
] | null | null | null | pylons-emlo/emlo/pylons/web/web/controllers/formtest.py | culturesofknowledge/emlo-server | 8a88ca98a5211086195793e4bed5960550638936 | [
"MIT"
] | null | null | null | pylons-emlo/emlo/pylons/web/web/controllers/formtest.py | culturesofknowledge/emlo-server | 8a88ca98a5211086195793e4bed5960550638936 | [
"MIT"
] | null | null | null | import logging
from pylons import request, response, session, tmpl_context as c, url
from pylons.controllers.util import abort, redirect
from web.lib.base import BaseController, render
log = logging.getLogger(__name__)
class FormtestController(BaseController):
def index(self):
# Return a rendered templ... | 23.541667 | 69 | 0.683186 | 70 | 565 | 5.442857 | 0.642857 | 0.07874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221239 | 565 | 23 | 70 | 24.565217 | 0.865909 | 0.136283 | 0 | 0 | 0 | 0 | 0.089027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.333333 | 0.25 | 0.916667 | 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 |
51b25deae3fa23c4a2c33b3a99c2b62df2000298 | 165 | py | Python | twisted/vfs/adapters/__init__.py | twonds/twisted | d6e270a465d371c3bed01bf369af497b77eb9f1e | [
"Unlicense",
"MIT"
] | 1 | 2021-01-27T19:11:21.000Z | 2021-01-27T19:11:21.000Z | twisted/vfs/adapters/__init__.py | twonds/twisted | d6e270a465d371c3bed01bf369af497b77eb9f1e | [
"Unlicense",
"MIT"
] | null | null | null | twisted/vfs/adapters/__init__.py | twonds/twisted | d6e270a465d371c3bed01bf369af497b77eb9f1e | [
"Unlicense",
"MIT"
] | 3 | 2017-01-04T01:24:15.000Z | 2020-06-18T16:14:56.000Z | """Adapters for twisted.vfs.
This package provides adapters to hook up systems SFTP and FTP to the
IFileSystemLeaf and IFileSystemDirectory interfaces of VFS.
"""
| 23.571429 | 69 | 0.793939 | 23 | 165 | 5.695652 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 165 | 6 | 70 | 27.5 | 0.935714 | 0.945455 | 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 |
51c0f8191ddd5ebbfce7ea1fe505ef153f9e4e1e | 80 | py | Python | reviews/signals.py | JostCrow/django-reviews | c7dd403e839352bc3a8cd8446abf718e93aa3ab7 | [
"BSD-3-Clause"
] | 27 | 2015-04-27T18:29:07.000Z | 2021-08-13T08:00:49.000Z | reviews/signals.py | JostCrow/django-reviews | c7dd403e839352bc3a8cd8446abf718e93aa3ab7 | [
"BSD-3-Clause"
] | 6 | 2015-05-22T10:02:24.000Z | 2021-02-18T07:35:46.000Z | reviews/signals.py | JostCrow/django-reviews | c7dd403e839352bc3a8cd8446abf718e93aa3ab7 | [
"BSD-3-Clause"
] | 9 | 2015-05-22T15:16:31.000Z | 2021-05-09T14:56:18.000Z | # django imports
import django.dispatch
review_added = django.dispatch.Signal()
| 20 | 39 | 0.8125 | 10 | 80 | 6.4 | 0.7 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 3 | 40 | 26.666667 | 0.888889 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
51e313cacc1216dfe0acef9815322cb833818dbb | 100 | py | Python | measurement/array-operations/vsquare.py | quepas/performance-estimation-array-operations | b209ba5efebf5dee60ec5fca0fa711ca2e766e17 | [
"MIT"
] | null | null | null | measurement/array-operations/vsquare.py | quepas/performance-estimation-array-operations | b209ba5efebf5dee60ec5fca0fa711ca2e766e17 | [
"MIT"
] | null | null | null | measurement/array-operations/vsquare.py | quepas/performance-estimation-array-operations | b209ba5efebf5dee60ec5fca0fa711ca2e766e17 | [
"MIT"
] | null | null | null | import numpy as np
# Compute element-wise square of vector
def vsquare(V):
R = np.power(V, 2)
| 14.285714 | 39 | 0.68 | 18 | 100 | 3.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.22 | 100 | 6 | 40 | 16.666667 | 0.858974 | 0.37 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
51ee1939934738cb32c803da702761c9a35ce2fb | 672 | py | Python | code/api/core/Container.py | benwoo1110/A-List-of-Sorts-v2 | 2d404bda6c6ddc689e705cad6966f2a656ddac2f | [
"MIT"
] | 6 | 2020-06-29T01:57:44.000Z | 2022-01-14T09:00:03.000Z | code/api/core/Container.py | benwoo1110/A-List-of-Sorts-v2 | 2d404bda6c6ddc689e705cad6966f2a656ddac2f | [
"MIT"
] | null | null | null | code/api/core/Container.py | benwoo1110/A-List-of-Sorts-v2 | 2d404bda6c6ddc689e705cad6966f2a656ddac2f | [
"MIT"
] | 1 | 2021-03-26T04:30:37.000Z | 2021-03-26T04:30:37.000Z | class Container:
def __init__(self, container=None):
if container == None or type(container) != dict:
self._container = dict()
else:
self._container = container
def __iter__(self):
return iter(self._container.items())
def addObject(self, name, object_:ob... | 26.88 | 56 | 0.619048 | 77 | 672 | 5.168831 | 0.337662 | 0.29397 | 0.105528 | 0.110553 | 0.248744 | 0.165829 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270833 | 672 | 24 | 57 | 28 | 0.812245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0 | 0 | 0.222222 | 0.666667 | 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 |
51f4ba5e6e656a83bd25f71055b3a0fc19026665 | 154 | py | Python | app/modules/murmurations/mutations/__init__.py | ppbpdx/murmurations-server | eb36c0a4ae3a2e30939acebc2947ed4b002357ad | [
"MIT"
] | 2 | 2019-12-05T17:55:15.000Z | 2020-03-30T21:09:00.000Z | app/modules/murmurations/mutations/__init__.py | ppbpdx/murmurations-server | eb36c0a4ae3a2e30939acebc2947ed4b002357ad | [
"MIT"
] | 1 | 2019-11-07T18:42:30.000Z | 2019-11-07T18:42:30.000Z | app/modules/murmurations/mutations/__init__.py | ppbpdx/murmurations-server | eb36c0a4ae3a2e30939acebc2947ed4b002357ad | [
"MIT"
] | null | null | null | from graphene import AbstractType, String
from .UpdateMurmurations import UpdateRecords
class UpdateMutation(AbstractType):
record_type = String()
| 19.25 | 45 | 0.811688 | 15 | 154 | 8.266667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 154 | 7 | 46 | 22 | 0.932331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a4008e712d2f5f4b1e02b11e3947d30797b7e601 | 441 | py | Python | server/app/budget/admin.py | catvitalio/personal-budget | b4470115ebbfd185a8a781a2024787cbfe822639 | [
"MIT"
] | null | null | null | server/app/budget/admin.py | catvitalio/personal-budget | b4470115ebbfd185a8a781a2024787cbfe822639 | [
"MIT"
] | null | null | null | server/app/budget/admin.py | catvitalio/personal-budget | b4470115ebbfd185a8a781a2024787cbfe822639 | [
"MIT"
] | null | null | null | from django.contrib import admin
from budget.models import (
BudgetType,
Budget,
ExpenseTag,
ExpenseCategory,
Expense,
IncomeTag,
IncomeCategory,
Income,
TransferTag,
Transfer
)
@admin.register(
BudgetType,
Budget,
ExpenseTag,
ExpenseCategory,
Expense,
... | 14.225806 | 36 | 0.657596 | 36 | 441 | 8.055556 | 0.583333 | 0.110345 | 0.17931 | 0.282759 | 0.662069 | 0.662069 | 0.662069 | 0.662069 | 0.662069 | 0.662069 | 0 | 0 | 0.274376 | 441 | 30 | 37 | 14.7 | 0.90625 | 0 | 0 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.037037 | 0.074074 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cfa2995ee3015af08484afc5d894576907b60070 | 113 | py | Python | code/testing.py | schreven/StackGAN-Pytorch | 1536c5b598838ccee21626b29adeb9a06e478156 | [
"MIT"
] | null | null | null | code/testing.py | schreven/StackGAN-Pytorch | 1536c5b598838ccee21626b29adeb9a06e478156 | [
"MIT"
] | null | null | null | code/testing.py | schreven/StackGAN-Pytorch | 1536c5b598838ccee21626b29adeb9a06e478156 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Sep 11 12:52:32 2018
@author: cyril-kubu
"""
| 12.555556 | 35 | 0.60177 | 19 | 113 | 3.578947 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 0.176991 | 113 | 8 | 36 | 14.125 | 0.580645 | 0.884956 | 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 |
cfa642c6f25b1fb94fb5c3e496589b58a6453f3d | 131 | py | Python | besserenklangen/subs/forms.py | fsxfreak/alternative-soundcloud-stream | b88d706de73140bfb0144d750a5c5d13d936c719 | [
"MIT"
] | null | null | null | besserenklangen/subs/forms.py | fsxfreak/alternative-soundcloud-stream | b88d706de73140bfb0144d750a5c5d13d936c719 | [
"MIT"
] | null | null | null | besserenklangen/subs/forms.py | fsxfreak/alternative-soundcloud-stream | b88d706de73140bfb0144d750a5c5d13d936c719 | [
"MIT"
] | null | null | null | from django import forms
class UserForm(forms.Form):
username = forms.CharField(label="Soundcloud username", max_length = 100) | 32.75 | 77 | 0.770992 | 17 | 131 | 5.882353 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.129771 | 131 | 4 | 77 | 32.75 | 0.850877 | 0 | 0 | 0 | 0 | 0 | 0.143939 | 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 |
cfab5f7eb3bc4cfe4fbbfa8a3da2ec12a0449a8b | 17,010 | py | Python | backend/test/python/i/json-schema/public/test_ethereum-sc.py | grinay/smartz | 44ca50ebcac26d5776b90b4fc96c63edfe804dfe | [
"Apache-2.0"
] | null | null | null | backend/test/python/i/json-schema/public/test_ethereum-sc.py | grinay/smartz | 44ca50ebcac26d5776b90b4fc96c63edfe804dfe | [
"Apache-2.0"
] | null | null | null | backend/test/python/i/json-schema/public/test_ethereum-sc.py | grinay/smartz | 44ca50ebcac26d5776b90b4fc96c63edfe804dfe | [
"Apache-2.0"
] | 1 | 2018-10-23T15:04:52.000Z | 2018-10-23T15:04:52.000Z | # -*- coding: utf-8 -*-
import sys
import os
PROJECT_ROOT = os.path.join(os.path.realpath(os.path.dirname(__file__)), '..', '..', '..', '..', '..', '..')
sys.path.append(os.path.join(PROJECT_ROOT, 'pythonlib'))
import unittest
import json
from copy import deepcopy
from jsonschema import validate, ValidationError
... | 57.466216 | 132 | 0.697825 | 1,224 | 17,010 | 9.526961 | 0.112745 | 0.134465 | 0.260527 | 0.327759 | 0.677215 | 0.626704 | 0.474402 | 0.394992 | 0.380328 | 0.34431 | 0 | 0.306504 | 0.200941 | 17,010 | 295 | 133 | 57.661017 | 0.551427 | 0.01358 | 0 | 0.20339 | 0 | 0 | 0.243082 | 0.222984 | 0 | 0 | 0.172173 | 0 | 0.415254 | 1 | 0.033898 | false | 0 | 0.025424 | 0 | 0.067797 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
cfb2ad7b6f459ed38b42c80f89b85411f6897904 | 96 | py | Python | mergecli-runner.py | srp33/ShapeShifter-CLI | 00988234285b00f459e3257e13af71dd889e5c39 | [
"MIT"
] | 1 | 2019-03-11T14:22:33.000Z | 2019-03-11T14:22:33.000Z | mergecli-runner.py | srp33/ExpressionAble-CLI | 00988234285b00f459e3257e13af71dd889e5c39 | [
"MIT"
] | null | null | null | mergecli-runner.py | srp33/ExpressionAble-CLI | 00988234285b00f459e3257e13af71dd889e5c39 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from mergecli.mergecli import main
if __name__ == '__main__':
main() | 16 | 34 | 0.697917 | 13 | 96 | 4.538462 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 6 | 35 | 16 | 0.7375 | 0.208333 | 0 | 0 | 0 | 0 | 0.105263 | 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 |
cfc5d3de8de21eda26f01447d389e65418751744 | 97 | py | Python | Departments/apps.py | macymuhia/Ratable | 97162e3b931e1edf32553d9a8a54b63460f7ac56 | [
"MIT"
] | null | null | null | Departments/apps.py | macymuhia/Ratable | 97162e3b931e1edf32553d9a8a54b63460f7ac56 | [
"MIT"
] | 15 | 2019-11-14T15:48:10.000Z | 2022-02-10T09:38:10.000Z | Departments/apps.py | macymuhia/Ratable | 97162e3b931e1edf32553d9a8a54b63460f7ac56 | [
"MIT"
] | 4 | 2019-11-05T15:41:42.000Z | 2022-03-09T14:18:29.000Z | from django.apps import AppConfig
class DepartmentsConfig(AppConfig):
name = 'Departments'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 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 |
cfc9abc7c193774030b212adeea13e7205ceecb1 | 165 | py | Python | todoism/todoism/apis/v1/__init__.py | shidashui/MyFlaskWeb | b861c76813e15250036477fca6570cef1d957af1 | [
"MIT"
] | 3 | 2019-06-28T11:51:53.000Z | 2019-11-13T05:08:06.000Z | todoism/todoism/apis/v1/__init__.py | shidashui/MyFlaskWeb | b861c76813e15250036477fca6570cef1d957af1 | [
"MIT"
] | 5 | 2019-06-28T11:52:35.000Z | 2022-03-11T23:58:40.000Z | todoism/todoism/apis/v1/__init__.py | shidashui/MyFlaskWeb | b861c76813e15250036477fca6570cef1d957af1 | [
"MIT"
] | null | null | null | from flask import Blueprint
from flask_cors import CORS
api_v1 = Blueprint('api_v1', __name__)
CORS(api_v1) #跨域解决
from todoism.apis.v1 import resources #避免循环依赖 | 18.333333 | 46 | 0.781818 | 26 | 165 | 4.653846 | 0.5 | 0.123967 | 0.14876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028369 | 0.145455 | 165 | 9 | 46 | 18.333333 | 0.829787 | 0.060606 | 0 | 0 | 0 | 0 | 0.038961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0.4 | 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 |
320b7aefabc76cc44174e1ff4b5d60c27c4b792e | 40 | py | Python | 二、招聘笔试题/2019秋招笔试/23.东方财富-货币取和.py | Lcoderfit/Introduction-to-algotithms | aea2630be6ca2c60186593d6e66b0a59e56dc848 | [
"MIT"
] | 3 | 2018-08-25T16:14:16.000Z | 2019-10-15T22:25:32.000Z | 二、招聘笔试题/2019秋招笔试/23.东方财富-货币取和.py | Lcoderfit/Introduction-to-algotithms | aea2630be6ca2c60186593d6e66b0a59e56dc848 | [
"MIT"
] | null | null | null | 二、招聘笔试题/2019秋招笔试/23.东方财富-货币取和.py | Lcoderfit/Introduction-to-algotithms | aea2630be6ca2c60186593d6e66b0a59e56dc848 | [
"MIT"
] | 1 | 2019-10-08T09:03:48.000Z | 2019-10-08T09:03:48.000Z | class Solution:
def MoneySum(self, ) | 20 | 24 | 0.7 | 5 | 40 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 2 | 24 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3222dc2d975c012b32a99c8596a2382b1f2ed3f3 | 1,187 | py | Python | source/action/resolution_functions.py | alexander-l-stone/RogueSpace | f754b037a493849125469e3c66571df90e851233 | [
"MIT"
] | null | null | null | source/action/resolution_functions.py | alexander-l-stone/RogueSpace | f754b037a493849125469e3c66571df90e851233 | [
"MIT"
] | 44 | 2021-07-04T04:36:42.000Z | 2021-08-30T01:15:41.000Z | source/action/resolution_functions.py | alexander-l-stone/RogueSpace | f754b037a493849125469e3c66571df90e851233 | [
"MIT"
] | null | null | null | #TODO: move the area, x, and y of the resolve jump action into a value dict
from source.draw.area.tilesetarea import TilesetArea
def resolve_jump_action(originator, flags):
return [{'type': 'jump', 'area': flags['area'], 'x': originator.x, 'y': originator.y}]
def resolve_no_action(originator, flags):
return [... | 38.290323 | 117 | 0.644482 | 151 | 1,187 | 4.980132 | 0.397351 | 0.066489 | 0.139628 | 0.143617 | 0.308511 | 0.143617 | 0.143617 | 0.143617 | 0.143617 | 0.143617 | 0 | 0 | 0.204718 | 1,187 | 31 | 118 | 38.290323 | 0.79661 | 0.192923 | 0 | 0.1 | 0 | 0 | 0.090234 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 1 | 0.25 | false | 0 | 0.05 | 0.2 | 0.6 | 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 |
5c510868b53f504a399598d51cf839e795c1e7c1 | 144 | py | Python | codewof/programming/content/en/eight-is-great/solution.py | uccser-admin/programming-practice-prototype | 3af4c7d85308ac5bb35bb13be3ec18cac4eb8308 | [
"MIT"
] | 3 | 2019-08-29T04:11:22.000Z | 2021-06-22T16:05:51.000Z | codewof/programming/content/en/eight-is-great/solution.py | uccser-admin/programming-practice-prototype | 3af4c7d85308ac5bb35bb13be3ec18cac4eb8308 | [
"MIT"
] | 265 | 2019-05-30T03:51:46.000Z | 2022-03-31T01:05:12.000Z | codewof/programming/content/en/eight-is-great/solution.py | samuelsandri/codewof | c9b8b378c06b15a0c42ae863b8f46581de04fdfc | [
"MIT"
] | 7 | 2019-06-29T12:13:37.000Z | 2021-09-06T06:49:14.000Z | def eight_is_great(a, b):
if a == 8 or b == 8:
print(":)")
elif (a + b) == 8:
print(":)")
else:
print(":(")
| 18 | 25 | 0.368056 | 20 | 144 | 2.55 | 0.6 | 0.078431 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.395833 | 144 | 7 | 26 | 20.571429 | 0.551724 | 0 | 0 | 0.285714 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0.428571 | 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 | 0 | 0 | 0 | 1 | 0 | 4 |
5c691875303011aa019417049ada9802898d15c6 | 44 | py | Python | data/login_creds.sample.py | bilkoh/wt-social-tests | bf602f09fa79ec0424e5444604ae28c4fa650e62 | [
"MIT"
] | 1 | 2020-10-30T08:29:42.000Z | 2020-10-30T08:29:42.000Z | data/login_creds.sample.py | bilkoh/wt-social-tests | bf602f09fa79ec0424e5444604ae28c4fa650e62 | [
"MIT"
] | null | null | null | data/login_creds.sample.py | bilkoh/wt-social-tests | bf602f09fa79ec0424e5444604ae28c4fa650e62 | [
"MIT"
] | 1 | 2020-08-25T09:19:43.000Z | 2020-08-25T09:19:43.000Z | EMAIL = "email@example.com"
PASSWD = "1234"
| 14.666667 | 27 | 0.681818 | 6 | 44 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.136364 | 44 | 2 | 28 | 22 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0.477273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
5c7c823e4a012c9e584acdfbf1e139e85d85e341 | 137 | py | Python | ProtoPixel/scripts/webapp/remote.py | ImanolGo/IngoLightAndBuilding | 23bfce0633ad056b2db5eb62822dc30c331ba800 | [
"MIT",
"Unlicense"
] | null | null | null | ProtoPixel/scripts/webapp/remote.py | ImanolGo/IngoLightAndBuilding | 23bfce0633ad056b2db5eb62822dc30c331ba800 | [
"MIT",
"Unlicense"
] | null | null | null | ProtoPixel/scripts/webapp/remote.py | ImanolGo/IngoLightAndBuilding | 23bfce0633ad056b2db5eb62822dc30c331ba800 | [
"MIT",
"Unlicense"
] | null | null | null | from protopixel import Content
content = Content('Remote Web Interface')
content.web_path('remote') # directory relative to this file
| 19.571429 | 60 | 0.781022 | 18 | 137 | 5.888889 | 0.722222 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138686 | 137 | 6 | 61 | 22.833333 | 0.898305 | 0.226277 | 0 | 0 | 0 | 0 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5c8a5f97c37210a6cb5978169c0cd3490085b8f6 | 259 | py | Python | brew/utils/data.py | va26/brew | 3531560df785fa44b39094f3ffad83d3b795b15b | [
"MIT"
] | 344 | 2015-10-02T19:35:15.000Z | 2022-03-23T07:18:50.000Z | brew/utils/data.py | va26/brew | 3531560df785fa44b39094f3ffad83d3b795b15b | [
"MIT"
] | 19 | 2015-03-24T01:26:51.000Z | 2018-07-26T20:11:32.000Z | brew/utils/data.py | va26/brew | 3531560df785fa44b39094f3ffad83d3b795b15b | [
"MIT"
] | 93 | 2015-03-13T18:23:51.000Z | 2021-12-11T11:14:38.000Z | from sklearn import cross_validation
def split_data(X, y, t_size):
if len(X) != len(y):
return None
if hasattr(cross_validation, 'train_test_split'):
return cross_validation.train_test_split(X, y, test_size=t_size)
return None
| 21.583333 | 72 | 0.694981 | 40 | 259 | 4.225 | 0.475 | 0.266272 | 0.236686 | 0.284024 | 0.343195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212355 | 259 | 11 | 73 | 23.545455 | 0.828431 | 0 | 0 | 0.285714 | 0 | 0 | 0.061776 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.714286 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
5c9f10bcf819597ac2c2a58c5f17906394e3dfde | 211 | py | Python | lib/nr.types/tests/test_named.py | OutHereVR/c4d-prototype-converter | 6c0fcc03abdf5b545b6aa0314790359e455ac192 | [
"MIT"
] | 29 | 2017-03-10T18:00:11.000Z | 2021-02-22T22:56:36.000Z | lib/nr.types/tests/test_named.py | OutHereVR/c4d-prototype-converter | 6c0fcc03abdf5b545b6aa0314790359e455ac192 | [
"MIT"
] | 51 | 2018-02-15T21:02:58.000Z | 2021-07-07T15:59:46.000Z | lib/nr.types/tests/test_named.py | NiklasRosenstein/c4ddocs | 9be4efba47d0dbd5787622933b21fdcf8fb5272e | [
"MIT"
] | 5 | 2017-07-21T22:24:15.000Z | 2020-08-17T05:51:19.000Z |
from nose.tools import *
from nr.types.named import Named
def test_has_initializer_member():
assert hasattr(Named, 'Initializer')
class Person(Named):
pass
assert not hasattr(Person, 'Initializer')
| 19.181818 | 43 | 0.748815 | 28 | 211 | 5.535714 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156398 | 211 | 10 | 44 | 21.1 | 0.870787 | 0 | 0 | 0 | 0 | 0 | 0.104762 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | true | 0.142857 | 0.285714 | 0 | 0.571429 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
5c9f35b6c3103489d73ce2cdf826f9aea5c7a042 | 25 | py | Python | anime_downloader/__version__.py | cmjesz/anime-downloader | e6f2bc1a20c49d01ef45efddb0f541ae4d62335c | [
"Unlicense"
] | 1 | 2019-11-15T00:43:04.000Z | 2019-11-15T00:43:04.000Z | anime_downloader/__version__.py | philip-bui/anime-downloader | 264b912bfaa589e1cc250c98978b314f9977467c | [
"Unlicense"
] | null | null | null | anime_downloader/__version__.py | philip-bui/anime-downloader | 264b912bfaa589e1cc250c98978b314f9977467c | [
"Unlicense"
] | null | null | null | __version__ = '4.0.0.r1'
| 12.5 | 24 | 0.64 | 5 | 25 | 2.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.12 | 25 | 1 | 25 | 25 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0.32 | 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 |
5ccaa3cafe47750d059a582fbe76c0f7a4801cba | 169 | py | Python | rulesengine/__init__.py | cnobile2012/restycodes | 31f433e9d98a54c1f5325c1477b0ed643b108af4 | [
"MIT"
] | null | null | null | rulesengine/__init__.py | cnobile2012/restycodes | 31f433e9d98a54c1f5325c1477b0ed643b108af4 | [
"MIT"
] | null | null | null | rulesengine/__init__.py | cnobile2012/restycodes | 31f433e9d98a54c1f5325c1477b0ed643b108af4 | [
"MIT"
] | null | null | null | #
# rulesengine/__init__.py
#
from rulesengine.rules_engine import (RulesEngine, RulesEngineException,
InvalidNodeSizeException,)
| 24.142857 | 72 | 0.64497 | 11 | 169 | 9.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289941 | 169 | 6 | 73 | 28.166667 | 0.866667 | 0.136095 | 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 |
5ce4b3b077231429b76d729a0d1b445e9303c4bc | 33 | py | Python | src/censys_maltego/resources/etc/__init__.py | censys/censys-maltego | eb643c4795dda80291deecb8bc620c59a309c8a9 | [
"Apache-2.0"
] | 23 | 2019-04-18T22:55:52.000Z | 2022-02-21T14:41:15.000Z | src/censys_maltego/resources/etc/__init__.py | Censys/censys-maltego | 69b982fa1e1ca3350e389568fd916fda4ebe45d1 | [
"Apache-2.0"
] | 27 | 2020-03-31T16:12:15.000Z | 2022-03-28T12:00:28.000Z | src/censys_maltego/resources/etc/__init__.py | Censys/censys-maltego | 69b982fa1e1ca3350e389568fd916fda4ebe45d1 | [
"Apache-2.0"
] | 6 | 2019-08-01T01:20:56.000Z | 2021-08-31T11:24:31.000Z | """Config for our transforms."""
| 16.5 | 32 | 0.666667 | 4 | 33 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.758621 | 0.787879 | 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 |
5ce7f25933197aef5a688b59f9f803101f4c0845 | 2,174 | py | Python | src/cistat/config.py | maxwu/ci-stat | e8ed2f5d4d43afdc3afc0689435881202efbcbb3 | [
"MIT"
] | 1 | 2017-04-23T02:52:02.000Z | 2017-04-23T02:52:02.000Z | src/cistat/config.py | maxwu/cistat | e8ed2f5d4d43afdc3afc0689435881202efbcbb3 | [
"MIT"
] | 2 | 2017-05-28T12:48:35.000Z | 2017-06-19T11:22:40.000Z | src/cistat/config.py | maxwu/cistat | e8ed2f5d4d43afdc3afc0689435881202efbcbb3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Max Wu <http://maxwu.me>
import os
import yaml
try:
# Python 3
from collections import ChainMap
except ImportError:
# Python 2.7
from chainmap import ChainMap
from cistat.logger import Logger
logger = Logger(name=__name__).get_logger()
ME_ROOT_DIR = os... | 26.512195 | 105 | 0.701012 | 318 | 2,174 | 4.591195 | 0.333333 | 0.036986 | 0.054795 | 0.076712 | 0.173973 | 0.157534 | 0.141096 | 0 | 0 | 0 | 0 | 0.003358 | 0.178013 | 2,174 | 82 | 106 | 26.512195 | 0.813654 | 0.24747 | 0 | 0.047619 | 0 | 0 | 0.121231 | 0 | 0 | 0 | 0 | 0.012195 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.166667 | 0.571429 | 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 |
7a3368a36bbee853ea64b2b8a024a9ec744a4ec6 | 96 | py | Python | src/data/__init__.py | TuomoKareoja/phone-sentiment-analysis | ed0739b6f25fd1b9bd813939b129f01902faa5c4 | [
"MIT"
] | null | null | null | src/data/__init__.py | TuomoKareoja/phone-sentiment-analysis | ed0739b6f25fd1b9bd813939b129f01902faa5c4 | [
"MIT"
] | null | null | null | src/data/__init__.py | TuomoKareoja/phone-sentiment-analysis | ed0739b6f25fd1b9bd813939b129f01902faa5c4 | [
"MIT"
] | null | null | null | """Functions for processing the data and script for the full local data processing pipeline
"""
| 32 | 91 | 0.78125 | 14 | 96 | 5.357143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 2 | 92 | 48 | 0.925926 | 0.916667 | 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 |
7a4fc5fd45097810685b4e57e8494fb84cce812d | 120 | py | Python | source/utilities/message.py | uyen9vba/Vztxc | e8fb86f9f01719a2174ce5ef46582ac94a48eed5 | [
"MIT"
] | null | null | null | source/utilities/message.py | uyen9vba/Vztxc | e8fb86f9f01719a2174ce5ef46582ac94a48eed5 | [
"MIT"
] | null | null | null | source/utilities/message.py | uyen9vba/Vztxc | e8fb86f9f01719a2174ce5ef46582ac94a48eed5 | [
"MIT"
] | null | null | null | class Message:
def __init__(self, response, type_):
self.response = response
self.type = type_
| 20 | 40 | 0.608333 | 13 | 120 | 5.153846 | 0.538462 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.308333 | 120 | 6 | 41 | 20 | 0.807229 | 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 |
7a8ad33945346026ac3d5cc65746b0b5880d9648 | 933 | py | Python | test/test_registration_api.py | antenny/antenny-py | fc6e7d688ab8ff0ec8d6bbb023725b7775d16057 | [
"MIT"
] | null | null | null | test/test_registration_api.py | antenny/antenny-py | fc6e7d688ab8ff0ec8d6bbb023725b7775d16057 | [
"MIT"
] | null | null | null | test/test_registration_api.py | antenny/antenny-py | fc6e7d688ab8ff0ec8d6bbb023725b7775d16057 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Antenny API
This is an api that allows you to interact with the Antenny platform. It allows you to manage your clients and subscriptions. # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: admin@antenny.io
Generated by: https://openapi-generator.tech
"""
from ... | 22.214286 | 143 | 0.698821 | 117 | 933 | 5.418803 | 0.57265 | 0.050473 | 0.0347 | 0.078864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022039 | 0.221865 | 933 | 41 | 144 | 22.756098 | 0.85124 | 0.441586 | 0 | 0.142857 | 0 | 0 | 0.017241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.142857 | 0.357143 | 0 | 0.642857 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
7a8cb7b34494b600c434e603df22ee8d779733bb | 30,474 | py | Python | google/ads/google_ads/v5/proto/resources/media_file_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | 1 | 2021-04-09T04:28:47.000Z | 2021-04-09T04:28:47.000Z | google/ads/google_ads/v5/proto/resources/media_file_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v5/proto/resources/media_file_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads_v5/proto/resources/media_file.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.p... | 51.826531 | 3,067 | 0.765866 | 4,159 | 30,474 | 5.24982 | 0.081029 | 0.028579 | 0.047449 | 0.063204 | 0.808876 | 0.752542 | 0.664835 | 0.619126 | 0.564761 | 0.530457 | 0 | 0.041617 | 0.111374 | 30,474 | 587 | 3,068 | 51.914821 | 0.76466 | 0.020706 | 0 | 0.510989 | 1 | 0.005495 | 0.354049 | 0.210278 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016484 | 0 | 0.016484 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8f8bb6f6431e6fb61d52eecd9f21424842ccd049 | 63 | py | Python | dxtorch/dxtensor.py | darkdx/dxtorch | a7934db7acf7957bd132aba8e4f76016b78c3dc2 | [
"MIT"
] | null | null | null | dxtorch/dxtensor.py | darkdx/dxtorch | a7934db7acf7957bd132aba8e4f76016b78c3dc2 | [
"MIT"
] | null | null | null | dxtorch/dxtensor.py | darkdx/dxtorch | a7934db7acf7957bd132aba8e4f76016b78c3dc2 | [
"MIT"
] | null | null | null | from typing import Any
import numpy as np
Tensor = np.ndarray
| 12.6 | 22 | 0.777778 | 11 | 63 | 4.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 4 | 23 | 15.75 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8fcf61d17868cc2d6090c6c441de5bfcfea93d44 | 28 | py | Python | pompft/__init__.py | kevinkle/pomft | df79e528c11f6909346c332547e3a12f7e67b3c1 | [
"Apache-2.0"
] | null | null | null | pompft/__init__.py | kevinkle/pomft | df79e528c11f6909346c332547e3a12f7e67b3c1 | [
"Apache-2.0"
] | null | null | null | pompft/__init__.py | kevinkle/pomft | df79e528c11f6909346c332547e3a12f7e67b3c1 | [
"Apache-2.0"
] | null | null | null | __version__ = '0.01.0.dev0'
| 14 | 27 | 0.678571 | 5 | 28 | 3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.107143 | 28 | 1 | 28 | 28 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.392857 | 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 |
8fdd83576bedd307d0a44525148a0f7a1bd8d2ed | 103 | py | Python | store_rss_feeds/apps.py | gideon-maina/process-rss-feeds | 4433cb3f6c73325f134b1a07539e6e8fb653a229 | [
"MIT"
] | null | null | null | store_rss_feeds/apps.py | gideon-maina/process-rss-feeds | 4433cb3f6c73325f134b1a07539e6e8fb653a229 | [
"MIT"
] | 4 | 2021-03-19T02:10:30.000Z | 2021-09-22T18:54:47.000Z | store_rss_feeds/apps.py | gideon-maina/process-rss-feeds | 4433cb3f6c73325f134b1a07539e6e8fb653a229 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class StoreRssFeedsConfig(AppConfig):
name = 'store_rss_feeds'
| 17.166667 | 37 | 0.786408 | 12 | 103 | 6.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 5 | 38 | 20.6 | 0.897727 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 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 |
8fdf1ec7d430d0e5aaed7503592480d792bc84ec | 30 | py | Python | zhaquirks/siglis/__init__.py | Siglis-AG/zha-device-handlers | 2e8d6a117fbc1bec50cad463a8a2dcf948588838 | [
"Apache-2.0"
] | 56 | 2018-12-07T19:45:36.000Z | 2020-03-30T15:01:58.000Z | zhaquirks/siglis/__init__.py | Siglis-AG/zha-device-handlers | 2e8d6a117fbc1bec50cad463a8a2dcf948588838 | [
"Apache-2.0"
] | 207 | 2018-12-07T20:34:30.000Z | 2020-04-03T11:50:39.000Z | zhaquirks/siglis/__init__.py | Siglis-AG/zha-device-handlers | 2e8d6a117fbc1bec50cad463a8a2dcf948588838 | [
"Apache-2.0"
] | 65 | 2018-12-08T01:11:41.000Z | 2020-03-24T18:23:17.000Z | """Siglis device handlers."""
| 15 | 29 | 0.666667 | 3 | 30 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.740741 | 0.766667 | 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 |
8fe298bdb9accaf6c05086260bbc3bfdd553f149 | 156 | py | Python | util/util_datetime.py | tobiasaditya/transaction-service | 84e9739c4bcb5a17a0faa866e46d6f19e16dddcb | [
"MIT"
] | null | null | null | util/util_datetime.py | tobiasaditya/transaction-service | 84e9739c4bcb5a17a0faa866e46d6f19e16dddcb | [
"MIT"
] | null | null | null | util/util_datetime.py | tobiasaditya/transaction-service | 84e9739c4bcb5a17a0faa866e46d6f19e16dddcb | [
"MIT"
] | null | null | null | from datetime import datetime, timedelta
import pytz
def datetime_jakarta():
waktu_jakarta = datetime.now()+timedelta(hours=7)
return waktu_jakarta | 26 | 53 | 0.782051 | 20 | 156 | 5.95 | 0.6 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.141026 | 156 | 6 | 54 | 26 | 0.880597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 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 |
8fede4d4f5e652c81559baeacde8da90114728d1 | 78 | py | Python | py/t1/test5.py | firekyrin/train-demo | a949a461bb9324fc2732cdf80c42c26379442c96 | [
"MIT"
] | null | null | null | py/t1/test5.py | firekyrin/train-demo | a949a461bb9324fc2732cdf80c42c26379442c96 | [
"MIT"
] | null | null | null | py/t1/test5.py | firekyrin/train-demo | a949a461bb9324fc2732cdf80c42c26379442c96 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from math import sqrt
val = sqrt(9)
print "%s" %(val)
| 11.142857 | 21 | 0.641026 | 14 | 78 | 3.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.179487 | 78 | 6 | 22 | 13 | 0.765625 | 0.25641 | 0 | 0 | 0 | 0 | 0.035088 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
64efc9a72d74b7883d404d5fa26a3d27f97c3ed1 | 107 | py | Python | profiles_rest_api/apps.py | kelvine95/profiles_rest_api | a085ebc08d1e7adc7fb12caeea515a52fc455852 | [
"MIT"
] | null | null | null | profiles_rest_api/apps.py | kelvine95/profiles_rest_api | a085ebc08d1e7adc7fb12caeea515a52fc455852 | [
"MIT"
] | null | null | null | profiles_rest_api/apps.py | kelvine95/profiles_rest_api | a085ebc08d1e7adc7fb12caeea515a52fc455852 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ProfilesRestApiConfig(AppConfig):
name = 'profiles_rest_api'
| 17.833333 | 39 | 0.794393 | 12 | 107 | 6.916667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 5 | 40 | 21.4 | 0.902174 | 0 | 0 | 0 | 0 | 0 | 0.158879 | 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 |
8f16c59f9bb813abefc04dbe008c49db8b9b8934 | 203 | py | Python | api_lst/random_api/admin.py | anbangisak/jst_api_dj | 0316220eec37b0662dcf9da471922ea001d09a25 | [
"Apache-2.0"
] | null | null | null | api_lst/random_api/admin.py | anbangisak/jst_api_dj | 0316220eec37b0662dcf9da471922ea001d09a25 | [
"Apache-2.0"
] | null | null | null | api_lst/random_api/admin.py | anbangisak/jst_api_dj | 0316220eec37b0662dcf9da471922ea001d09a25 | [
"Apache-2.0"
] | 1 | 2018-02-16T16:09:58.000Z | 2018-02-16T16:09:58.000Z | from django.contrib import admin
from random_api.models import RandomApi
class RandomAdmin(admin.ModelAdmin):
list_display = ('title', 'language', 'style')
admin.site.register(RandomApi, RandomAdmin)
| 25.375 | 46 | 0.793103 | 25 | 203 | 6.36 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098522 | 203 | 7 | 47 | 29 | 0.868852 | 0 | 0 | 0 | 0 | 0 | 0.08867 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8f2cd08f4f3271d8ba2e40664f7ed841dce94c29 | 23 | py | Python | fooof/tests/__init__.py | varman-m/eeg_notebooks_doc | 12230719637c8087b020e8d5feeb20520a4da74d | [
"Apache-2.0"
] | 154 | 2018-11-05T16:50:21.000Z | 2022-03-31T12:02:33.000Z | fooof/tests/__init__.py | Xawwell/fooof | 7a520c4f8ac3a44f4f18dc025b5e5d40049c9f2b | [
"Apache-2.0"
] | 128 | 2018-11-03T16:07:05.000Z | 2022-03-30T22:09:48.000Z | fooof/tests/__init__.py | Xawwell/fooof | 7a520c4f8ac3a44f4f18dc025b5e5d40049c9f2b | [
"Apache-2.0"
] | 42 | 2019-01-31T17:24:58.000Z | 2022-02-19T00:00:58.000Z | """Tests for FOOOF."""
| 11.5 | 22 | 0.565217 | 3 | 23 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.65 | 0.695652 | 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 |
8f6a85e44315e2edfde18a1207adf2c498e16d01 | 490 | py | Python | tests/test_skills.py | nacknime-official/freelancehunt-api | fddbb45470e644be7fe12766177e05ba6889bf71 | [
"MIT"
] | 3 | 2020-10-19T06:41:19.000Z | 2022-01-09T03:33:54.000Z | tests/test_skills.py | nacknime-official/freelancehunt-api | fddbb45470e644be7fe12766177e05ba6889bf71 | [
"MIT"
] | 5 | 2020-10-20T06:16:58.000Z | 2021-06-19T00:24:59.000Z | tests/test_skills.py | nacknime-official/freelancehunt-api | fddbb45470e644be7fe12766177e05ba6889bf71 | [
"MIT"
] | 1 | 2020-10-20T09:21:57.000Z | 2020-10-20T09:21:57.000Z | #!usr/bin/python3
"""#TODO: Write comments."""
from freelancehunt import Skills
from freelancehunt.models.skill import Skill
class Skills:
def __init__(self, token=None, **kwargs):
pass
def update(self):
pass
#property
def list(self):
pass
def get(self, skill_id):
... | 15.3125 | 45 | 0.595918 | 60 | 490 | 4.7 | 0.55 | 0.099291 | 0.078014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00289 | 0.293878 | 490 | 31 | 46 | 15.806452 | 0.812139 | 0.095918 | 0 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 1 | 0.388889 | false | 0.388889 | 0.111111 | 0 | 0.611111 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
56bb52df7c2d44911ce97524574325bad78ad55f | 63 | py | Python | yolact_utils/__init__.py | Sesamestrong/yolact | 51734d1e32da6ca520ae5fcb3ea16ad5eed769cf | [
"MIT"
] | null | null | null | yolact_utils/__init__.py | Sesamestrong/yolact | 51734d1e32da6ca520ae5fcb3ea16ad5eed769cf | [
"MIT"
] | null | null | null | yolact_utils/__init__.py | Sesamestrong/yolact | 51734d1e32da6ca520ae5fcb3ea16ad5eed769cf | [
"MIT"
] | null | null | null | from .augmentations import SSDAugmentation
from .cuda import *
| 21 | 42 | 0.825397 | 7 | 63 | 7.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 43 | 31.5 | 0.945455 | 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 |
56ce9b124d3b2828510a3ec512089c47cc2ebfc7 | 84 | py | Python | neural_mmo/forge/blade/systems/ai/attack.py | fangqyi/sandbox-society | 39a539994f47f4937ec3ff698f8ed08a5161e14a | [
"MIT"
] | 1 | 2022-01-25T10:56:38.000Z | 2022-01-25T10:56:38.000Z | neural_mmo/forge/blade/systems/ai/attack.py | davidADSP/neural-mmo | c9510890576fad1037474340194d0b5342a9b45f | [
"MIT"
] | null | null | null | neural_mmo/forge/blade/systems/ai/attack.py | davidADSP/neural-mmo | c9510890576fad1037474340194d0b5342a9b45f | [
"MIT"
] | null | null | null | from pdb import set_trace as T
from neural_mmo.forge.blade.systems.ai import utils
| 21 | 51 | 0.821429 | 16 | 84 | 4.1875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 84 | 3 | 52 | 28 | 0.917808 | 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 |
8532836afb588dc6c91c7e60b399f90167583c9e | 311 | py | Python | bees/utils/__init__.py | nosoyyo/minibee | 9aec45b2b866c9c22053418ff060d595285e34a3 | [
"Apache-2.0"
] | null | null | null | bees/utils/__init__.py | nosoyyo/minibee | 9aec45b2b866c9c22053418ff060d595285e34a3 | [
"Apache-2.0"
] | null | null | null | bees/utils/__init__.py | nosoyyo/minibee | 9aec45b2b866c9c22053418ff060d595285e34a3 | [
"Apache-2.0"
] | null | null | null | from .hub import ImageHub
from .ip import getSelfIP
from .sumchars import sumChars
from .safecheck import slowDown
from .respadapter import GeneralResp
from .sac import SelfAssemblingClass
from .sigmaactions import sigmaActions
from .tiempo import fancyTiempo, fancyTQ
from .misc import is_url, asciiBigSuccess
| 31.1 | 41 | 0.842444 | 39 | 311 | 6.692308 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122187 | 311 | 9 | 42 | 34.555556 | 0.956044 | 0 | 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 |
8535fd15204a9574c22cc56981ce0d3f0a6959d3 | 166 | py | Python | scripts/umdface/tool_csv.py | yuqj1990/deepano_train | c7247801ccea4c3a5c0be9c9091fc91876dbf279 | [
"Unlicense"
] | 21 | 2019-11-28T06:11:17.000Z | 2020-06-15T00:45:46.000Z | scripts/umdface/tool_csv.py | yuqj1990/deepano_train | c7247801ccea4c3a5c0be9c9091fc91876dbf279 | [
"Unlicense"
] | 12 | 2019-11-20T01:38:28.000Z | 2020-06-30T06:29:40.000Z | scripts/umdface/tool_csv.py | yuqj1990/deepano_face_train | c7247801ccea4c3a5c0be9c9091fc91876dbf279 | [
"Unlicense"
] | 10 | 2019-11-26T00:50:06.000Z | 2020-06-20T05:43:45.000Z | #!/usr/bin/env python
import numpy as np
def loadCSVFile(file_name):
file_content = np.loadtxt(file_name, dtype=np.str, delimiter=",")
return file_content
| 18.444444 | 69 | 0.722892 | 25 | 166 | 4.64 | 0.72 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 166 | 8 | 70 | 20.75 | 0.828571 | 0.120482 | 0 | 0 | 0 | 0 | 0.006944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
853b8929aa41c5b583d59aa77904ff3dbe02e9ab | 102 | py | Python | imagelib/image/fillers/__init__.py | susautw/imagelib | e582ed2139a15b0aefe16c71b4b476a5b30b7b99 | [
"MIT"
] | null | null | null | imagelib/image/fillers/__init__.py | susautw/imagelib | e582ed2139a15b0aefe16c71b4b476a5b30b7b99 | [
"MIT"
] | null | null | null | imagelib/image/fillers/__init__.py | susautw/imagelib | e582ed2139a15b0aefe16c71b4b476a5b30b7b99 | [
"MIT"
] | null | null | null | __all__ = ['Filler', 'FloodFiller']
from .filler import Filler
from .flood_filler import FloodFiller
| 20.4 | 37 | 0.77451 | 12 | 102 | 6.166667 | 0.5 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 102 | 4 | 38 | 25.5 | 0.831461 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8541c2b8862ad7ecc972e5c7449fe6cb591f88e7 | 261 | py | Python | xcessiv/tests/myrf.py | KhaledTo/xcessiv | a48dff7d370c84eb5c243bde87164c1f5fd096d5 | [
"Apache-2.0"
] | 1,362 | 2017-05-23T15:02:18.000Z | 2022-03-28T22:42:21.000Z | xcessiv/tests/myrf.py | KhaledTo/xcessiv | a48dff7d370c84eb5c243bde87164c1f5fd096d5 | [
"Apache-2.0"
] | 40 | 2017-05-23T17:59:05.000Z | 2019-07-03T13:08:14.000Z | xcessiv/tests/myrf.py | KhaledTo/xcessiv | a48dff7d370c84eb5c243bde87164c1f5fd096d5 | [
"Apache-2.0"
] | 123 | 2017-05-24T05:49:34.000Z | 2022-02-06T17:54:32.000Z | from sklearn.ensemble import RandomForestClassifier
import joblib
class MyClassifier(RandomForestClassifier):
def save(self, filepath):
joblib.dump(self, filepath, 3)
@staticmethod
def load(filepath):
return joblib.load(filepath)
| 21.75 | 51 | 0.731801 | 27 | 261 | 7.074074 | 0.62963 | 0.125654 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004739 | 0.191571 | 261 | 11 | 52 | 23.727273 | 0.900474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.75 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
85524c1587b239772c9f06c621caa2f19f162636 | 654 | py | Python | otp/level/AttribDesc.py | LittleNed/toontown-stride | 1252a8f9a8816c1810106006d09c8bdfe6ad1e57 | [
"Apache-2.0"
] | 3 | 2020-01-02T08:43:36.000Z | 2020-07-05T08:59:02.000Z | otp/level/AttribDesc.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | null | null | null | otp/level/AttribDesc.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | 4 | 2019-06-20T23:45:23.000Z | 2020-10-14T20:30:15.000Z |
class AttribDesc:
def __init__(self, name, default, datatype = 'string', params = {}):
self.name = name
self.default = default
self.datatype = datatype
self.params = params
def getName(self):
return self.name
def getDefaultValue(self):
return self.default
... | 22.551724 | 72 | 0.584098 | 73 | 654 | 5.068493 | 0.246575 | 0.162162 | 0.189189 | 0.097297 | 0.113514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302752 | 654 | 29 | 73 | 22.551724 | 0.811404 | 0 | 0 | 0.095238 | 0 | 0 | 0.04893 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.285714 | 0.666667 | 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 |
8566ed25068fed5a4aef2f47790cad6b41b2a329 | 117 | py | Python | dtu_test_project/core/views.py | foarsitter/django-tenant-users | 4ff5d7293436c720f1af567a8088ac1305502c8c | [
"MIT"
] | 165 | 2016-11-28T20:14:45.000Z | 2022-03-24T09:24:48.000Z | dtu_test_project/core/views.py | foarsitter/django-tenant-users | 4ff5d7293436c720f1af567a8088ac1305502c8c | [
"MIT"
] | 125 | 2016-08-20T20:43:13.000Z | 2022-03-31T02:30:47.000Z | dtu_test_project/core/views.py | Dresdn/django-tenant-users | 7e0887606cd63e4a879e0a46246fc8a0e1c6ca25 | [
"MIT"
] | 47 | 2017-03-11T22:23:01.000Z | 2022-03-10T17:00:38.000Z |
from django.views.generic import TemplateView
class MainView(TemplateView):
template_name = 'core/main.html'
| 14.625 | 45 | 0.769231 | 14 | 117 | 6.357143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145299 | 117 | 7 | 46 | 16.714286 | 0.89 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 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 |
857d0d353a48d16bcf70ed66bb5d1d21acf3f982 | 388 | py | Python | test/test_show.py | joshuakwan/tvshow-scheduler | c7cafbde9bf15c5eff83ec7bafa4d8e34cb41a6d | [
"Apache-2.0"
] | null | null | null | test/test_show.py | joshuakwan/tvshow-scheduler | c7cafbde9bf15c5eff83ec7bafa4d8e34cb41a6d | [
"Apache-2.0"
] | null | null | null | test/test_show.py | joshuakwan/tvshow-scheduler | c7cafbde9bf15c5eff83ec7bafa4d8e34cb41a6d | [
"Apache-2.0"
] | null | null | null | import unittest
from scheduler.show import Show
class TestShow(unittest.TestCase):
def testInitialization(self):
show = Show('1,show 1,00:03:00,20:00:00')
self.assertEqual(show.seq, '1')
self.assertEqual(show.name,'show 1')
self.assertEqual(show.duration.get_time_string(),'00:03:00... | 32.333333 | 68 | 0.680412 | 56 | 388 | 4.642857 | 0.410714 | 0.230769 | 0.292308 | 0.161538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.170103 | 388 | 11 | 69 | 35.272727 | 0.720497 | 0 | 0 | 0 | 0 | 0 | 0.126289 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.111111 | false | 0 | 0.222222 | 0 | 0.444444 | 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 |
85985b06ba3657ffd22829d4a57134c2ab3c6890 | 206 | py | Python | app/views/web.py | Mitu217/umaocr | 1b98565ad622f15918f9de4adc35cf0ca17f6eb8 | [
"MIT"
] | null | null | null | app/views/web.py | Mitu217/umaocr | 1b98565ad622f15918f9de4adc35cf0ca17f6eb8 | [
"MIT"
] | null | null | null | app/views/web.py | Mitu217/umaocr | 1b98565ad622f15918f9de4adc35cf0ca17f6eb8 | [
"MIT"
] | null | null | null | from flask import render_template
from flask.views import View
class WebResource(View):
def dispatch_request(self):
title = "UMA OCR"
return render_template('index.html', title=title)
| 22.888889 | 57 | 0.718447 | 27 | 206 | 5.37037 | 0.703704 | 0.124138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199029 | 206 | 8 | 58 | 25.75 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0.082524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
85c1b0354c9894a1c90e3d73f4cff46acf64342e | 112 | py | Python | alfred_client/handlers/index_handler.py | coyote240/alfred-client | 5b8b2d1c2eefb9afd50d5287f0021a104cadd3eb | [
"MIT"
] | null | null | null | alfred_client/handlers/index_handler.py | coyote240/alfred-client | 5b8b2d1c2eefb9afd50d5287f0021a104cadd3eb | [
"MIT"
] | 6 | 2018-03-07T14:32:41.000Z | 2018-03-15T14:25:25.000Z | alfred_client/handlers/index_handler.py | coyote240/alfred-client | 5b8b2d1c2eefb9afd50d5287f0021a104cadd3eb | [
"MIT"
] | null | null | null | import tornado.web
class IndexHandler(tornado.web.RequestHandler):
def head(self):
self.finish()
| 14 | 47 | 0.696429 | 13 | 112 | 6 | 0.769231 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 112 | 7 | 48 | 16 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 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 |
a445b7094e333efdab0604c38d9be507d975d5fb | 72 | py | Python | main.py | HaroldHaldemann/ChessTournament | 91f3745f56b59b4b02301400df784cbe529d72e1 | [
"Apache-2.0"
] | null | null | null | main.py | HaroldHaldemann/ChessTournament | 91f3745f56b59b4b02301400df784cbe529d72e1 | [
"Apache-2.0"
] | null | null | null | main.py | HaroldHaldemann/ChessTournament | 91f3745f56b59b4b02301400df784cbe529d72e1 | [
"Apache-2.0"
] | null | null | null | import Views
if __name__ == "__main__":
Views.MenuView.main_menu()
| 14.4 | 30 | 0.708333 | 9 | 72 | 4.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 4 | 31 | 18 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 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 |
a44b83e52a4bf370a8b4eb4cec2821dc67ead077 | 1,608 | py | Python | apps/payment/migrations/0027_auto_20190515_1412.py | Kpaubert/onlineweb4 | 9ac79f163bc3a816db57ffa8477ea88770d97807 | [
"MIT"
] | 32 | 2017-02-22T13:38:38.000Z | 2022-03-31T23:29:54.000Z | apps/payment/migrations/0027_auto_20190515_1412.py | Kpaubert/onlineweb4 | 9ac79f163bc3a816db57ffa8477ea88770d97807 | [
"MIT"
] | 694 | 2017-02-15T23:09:52.000Z | 2022-03-31T23:16:07.000Z | apps/payment/migrations/0027_auto_20190515_1412.py | Kpaubert/onlineweb4 | 9ac79f163bc3a816db57ffa8477ea88770d97807 | [
"MIT"
] | 35 | 2017-09-02T21:13:09.000Z | 2022-02-21T11:30:30.000Z | # Generated by Django 2.1.8 on 2019-05-15 12:12
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("payment", "0026_auto_20190506_1719")]
operations = [
migrations.AddField(
model_name="paymentrelation",
name="payment_intent_secr... | 30.923077 | 74 | 0.46704 | 119 | 1,608 | 6.184874 | 0.411765 | 0.097826 | 0.125 | 0.146739 | 0.796196 | 0.796196 | 0.633152 | 0.633152 | 0.633152 | 0.633152 | 0 | 0.042977 | 0.406716 | 1,608 | 51 | 75 | 31.529412 | 0.728512 | 0.027985 | 0 | 0.888889 | 1 | 0 | 0.197309 | 0.04164 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022222 | 0 | 0.088889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a4531fa3d745813f35423e220c72a922d1652948 | 183 | py | Python | hacker_rank/30_days_challenge/day_19/no_solution.py | alefeans/python_exercises | d7f8ea8dfd993f070d201202d12a526bb8105cc5 | [
"MIT"
] | 1 | 2021-06-11T18:29:26.000Z | 2021-06-11T18:29:26.000Z | hacker_rank/30_days_challenge/day_19/no_solution.py | alefeans/learning_python | d7f8ea8dfd993f070d201202d12a526bb8105cc5 | [
"MIT"
] | null | null | null | hacker_rank/30_days_challenge/day_19/no_solution.py | alefeans/learning_python | d7f8ea8dfd993f070d201202d12a526bb8105cc5 | [
"MIT"
] | null | null | null | print("There is no python solution (in hackerrank) for this day.")
print("I'm very \"happy\" about it...")
print("I had to copy and paste a code in Java. I don't like this, but ...")
| 45.75 | 75 | 0.672131 | 35 | 183 | 3.514286 | 0.828571 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169399 | 183 | 3 | 76 | 61 | 0.809211 | 0 | 0 | 0 | 0 | 0 | 0.79235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f109f17cedc98b19bfc11626cedd1d05d2c208ea | 56 | py | Python | doSomething.py | BrittanyYu/cs3240-labdemo | deedda92472bae9f5e4eb242455d2ed8cb64f1f0 | [
"MIT"
] | null | null | null | doSomething.py | BrittanyYu/cs3240-labdemo | deedda92472bae9f5e4eb242455d2ed8cb64f1f0 | [
"MIT"
] | null | null | null | doSomething.py | BrittanyYu/cs3240-labdemo | deedda92472bae9f5e4eb242455d2ed8cb64f1f0 | [
"MIT"
] | null | null | null | from hello import greeting
greeting("doing something")
| 14 | 27 | 0.803571 | 7 | 56 | 6.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 56 | 3 | 28 | 18.666667 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0.267857 | 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 |
f10cd557eeeeb02b1056829c1f7bc310c4a8224d | 595 | py | Python | methods/implied_vol_options.py | o1i/hull | 2f2c37fbcb8571e992031ba1b5ff23bf85023d44 | [
"MIT"
] | null | null | null | methods/implied_vol_options.py | o1i/hull | 2f2c37fbcb8571e992031ba1b5ff23bf85023d44 | [
"MIT"
] | null | null | null | methods/implied_vol_options.py | o1i/hull | 2f2c37fbcb8571e992031ba1b5ff23bf85023d44 | [
"MIT"
] | null | null | null | from typing import Callable
import numpy as np
from scipy.optimize import minimize, Bounds
def implied_vol(func: Callable, price: float, kwargs: dict):
"""
Finds the volatility yielding the searched for price
:param func: Function to be used for price finding. "sig" must be a valid argument.
:param p... | 31.315789 | 87 | 0.685714 | 86 | 595 | 4.732558 | 0.55814 | 0.039312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010593 | 0.206723 | 595 | 18 | 88 | 33.055556 | 0.851695 | 0.405042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.428571 | 0.142857 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
f12957afb7af49065546cdee8d7f7a560ab0b5c6 | 236 | py | Python | sqlast/Transformer.py | Vesuvium/sqlast | 45088dd36de8c76505b2285c1650719b69aafbec | [
"MIT"
] | 4 | 2019-04-05T03:31:46.000Z | 2020-02-27T15:30:07.000Z | sqlast/Transformer.py | Vesuvium/sqlast | 45088dd36de8c76505b2285c1650719b69aafbec | [
"MIT"
] | null | null | null | sqlast/Transformer.py | Vesuvium/sqlast | 45088dd36de8c76505b2285c1650719b69aafbec | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from lark import Transformer as LarkTransformer
from .Tree import Tree
class Transformer(LarkTransformer):
def __getattr__(self, attribute, *args):
return lambda matches: Tree(attribute, matches)
| 21.454545 | 55 | 0.724576 | 27 | 236 | 6.185185 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005155 | 0.177966 | 236 | 10 | 56 | 23.6 | 0.85567 | 0.088983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
f13223d3f8a783ad7447318bd9187482d81cadf4 | 244 | py | Python | vmraid/patches/v6_0/fix_ghana_currency.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | vmraid/patches/v6_0/fix_ghana_currency.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | vmraid/patches/v6_0/fix_ghana_currency.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
def execute():
from vmraid.geo.country_info import get_all
import vmraid.utils.install
countries = get_all()
vmraid.utils.install.add_country_and_currency("Ghana", vmraid._dict(countries["Ghana"]))
| 27.111111 | 89 | 0.803279 | 34 | 244 | 5.411765 | 0.617647 | 0.065217 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094262 | 244 | 8 | 90 | 30.5 | 0.832579 | 0 | 0 | 0 | 0 | 0 | 0.040984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 0 | 0 | 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 | 1 | 0 | 0 | 4 |
f13fba07e04f3244358f89206460ff62ebbc7d04 | 112 | py | Python | crawler_from_scratch/start.py | neo4dev/crawler_from_scratch | f8cdbea349bf2fe6618fcbb1394eb8a8cc17ea41 | [
"Apache-2.0"
] | 2 | 2021-04-20T12:43:12.000Z | 2021-12-20T03:26:38.000Z | crawler_from_scratch/start.py | neo4dev/crawler_from_scratch | f8cdbea349bf2fe6618fcbb1394eb8a8cc17ea41 | [
"Apache-2.0"
] | 2 | 2020-03-02T12:35:52.000Z | 2021-09-28T00:47:16.000Z | crawler_from_scratch/start.py | neo4dev/crawler_from_scratch | f8cdbea349bf2fe6618fcbb1394eb8a8cc17ea41 | [
"Apache-2.0"
] | 3 | 2021-04-20T12:43:14.000Z | 2022-02-20T15:30:34.000Z | # AUTOGENERATED! DO NOT EDIT! File to edit: 00_Getting_Started.ipynb (unless otherwise specified).
__all__ = [] | 37.333333 | 98 | 0.767857 | 15 | 112 | 5.333333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.133929 | 112 | 3 | 99 | 37.333333 | 0.804124 | 0.857143 | 0 | 0 | 1 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f1717650e2a6606ef76bbe148d9fb0f48e0f1b90 | 2,389 | py | Python | seqauto/migrations/0003_auto_20201204_1153.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 5 | 2021-01-14T03:34:42.000Z | 2022-03-07T15:34:18.000Z | seqauto/migrations/0003_auto_20201204_1153.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 551 | 2020-10-19T00:02:38.000Z | 2022-03-30T02:18:22.000Z | seqauto/migrations/0003_auto_20201204_1153.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | null | null | null | # Generated by Django 3.1 on 2020-12-04 01:23
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('genes', '0007_activesamplegenelist_samplegenelist'),
('seqauto', '0002_initial_data'),
]
operations = [
... | 31.434211 | 120 | 0.570532 | 226 | 2,389 | 5.845133 | 0.261062 | 0.163512 | 0.208933 | 0.245269 | 0.63891 | 0.63891 | 0.63891 | 0.63891 | 0.63891 | 0.63891 | 0 | 0.026878 | 0.314776 | 2,389 | 75 | 121 | 31.853333 | 0.780086 | 0.017999 | 0 | 0.695652 | 1 | 0 | 0.183447 | 0.028157 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028986 | 0 | 0.072464 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f18327d6ef7218f1e34a9a797acf1b042a4ed10d | 88 | py | Python | chartforge/backends/static_chart.py | featherweightweb/django-chartforge | 00cebeef7308d839c294d6cb3299e26834ee2e26 | [
"MIT"
] | null | null | null | chartforge/backends/static_chart.py | featherweightweb/django-chartforge | 00cebeef7308d839c294d6cb3299e26834ee2e26 | [
"MIT"
] | null | null | null | chartforge/backends/static_chart.py | featherweightweb/django-chartforge | 00cebeef7308d839c294d6cb3299e26834ee2e26 | [
"MIT"
] | null | null | null | from .base import BackendBase
class StaticChartBackend(BackendBase):
"""
"""
| 11 | 38 | 0.670455 | 7 | 88 | 8.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215909 | 88 | 7 | 39 | 12.571429 | 0.855072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
74ba13306b92a2f278d44d0b8b64821728930c89 | 128 | py | Python | mysite/meetme/apps.py | rmelchorv/meetme | d1c15866183fca2f89843b166956a2edb90eb73b | [
"MIT"
] | null | null | null | mysite/meetme/apps.py | rmelchorv/meetme | d1c15866183fca2f89843b166956a2edb90eb73b | [
"MIT"
] | null | null | null | mysite/meetme/apps.py | rmelchorv/meetme | d1c15866183fca2f89843b166956a2edb90eb73b | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class MeetmeConfig(AppConfig):
name = 'meetme'
| 16 | 39 | 0.789063 | 15 | 128 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 128 | 7 | 40 | 18.285714 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0 | 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 |
74d936e54d348168ad940854ff61f265fff2cb85 | 312 | py | Python | leetcode/implement_str.py | paulsok/python_tricks | 8bc25f0491bf67a4a40ce0251a70b66ff7d57bac | [
"MIT"
] | null | null | null | leetcode/implement_str.py | paulsok/python_tricks | 8bc25f0491bf67a4a40ce0251a70b66ff7d57bac | [
"MIT"
] | null | null | null | leetcode/implement_str.py | paulsok/python_tricks | 8bc25f0491bf67a4a40ce0251a70b66ff7d57bac | [
"MIT"
] | null | null | null | # Example 1:
# Input: haystack = "hello", needle = "ll"
# Output: 2
# Example 2:
# Input: haystack = "aaaaa", needle = "bba"
# Output: -1
# Example 3:
# Input: haystack = "", needle = ""
# Output: 0
class Solution:
def strStr(self, haystack: str, needle: str) -> int:
return haystack.find(needle)
| 19.5 | 56 | 0.608974 | 39 | 312 | 4.871795 | 0.564103 | 0.205263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.221154 | 312 | 15 | 57 | 20.8 | 0.757202 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
2d1814b6930c77fd107f1944dfa93adfe49083c0 | 154 | py | Python | fake_rake.py | gwu-libraries/batch-loader | 382309a841e1fde8e9ea7f0bcbeabc1ad6d232a1 | [
"MIT"
] | 1 | 2018-10-09T21:12:12.000Z | 2018-10-09T21:12:12.000Z | fake_rake.py | gwu-libraries/batch-loader | 382309a841e1fde8e9ea7f0bcbeabc1ad6d232a1 | [
"MIT"
] | 28 | 2018-03-21T20:36:43.000Z | 2022-02-23T19:15:00.000Z | fake_rake.py | gwu-libraries/batch-loader | 382309a841e1fde8e9ea7f0bcbeabc1ad6d232a1 | [
"MIT"
] | 1 | 2018-11-07T13:13:56.000Z | 2018-11-07T13:13:56.000Z | #!/usr/local/bin/python3
import sys
import random
if __name__ == '__main__':
print(sys.argv, file=sys.stderr)
print(random.randint(1, 1000000))
| 17.111111 | 37 | 0.701299 | 22 | 154 | 4.545455 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068702 | 0.149351 | 154 | 8 | 38 | 19.25 | 0.694656 | 0.149351 | 0 | 0 | 0 | 0 | 0.061538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0.4 | 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 |
2d1fb2398243d2fc623131d057f9022bb26d7866 | 246 | py | Python | watchdog_kj_kultura/organizations/sitemaps.py | watchdogpolska/watchdog-kj-kultura | ea1a5c52ef2a174c012cc08eff5fdd7aa3b911b0 | [
"MIT"
] | null | null | null | watchdog_kj_kultura/organizations/sitemaps.py | watchdogpolska/watchdog-kj-kultura | ea1a5c52ef2a174c012cc08eff5fdd7aa3b911b0 | [
"MIT"
] | 138 | 2016-12-10T19:18:18.000Z | 2019-06-10T19:32:40.000Z | watchdog_kj_kultura/organizations/sitemaps.py | watchdogpolska/watchdog-kj-kultura | ea1a5c52ef2a174c012cc08eff5fdd7aa3b911b0 | [
"MIT"
] | null | null | null | from django.contrib.sitemaps import Sitemap
from .models import Organization
class OrganizationSitemap(Sitemap):
def items(self):
return Organization.objects.visible().all()
def lastmod(self, obj):
return obj.modified
| 20.5 | 51 | 0.723577 | 28 | 246 | 6.357143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191057 | 246 | 11 | 52 | 22.363636 | 0.894472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.285714 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
743140297e1d98004fe3299a833ec92dfbe4f215 | 120 | py | Python | Desafios/desafio016.py | LucasHenrique-dev/Exercicios-Python | b1f6ca56ea8e197a89a044245419dc6079bdb9c7 | [
"MIT"
] | 1 | 2020-04-09T23:18:03.000Z | 2020-04-09T23:18:03.000Z | Desafios/desafio016.py | LucasHenrique-dev/Exercicios-Python | b1f6ca56ea8e197a89a044245419dc6079bdb9c7 | [
"MIT"
] | null | null | null | Desafios/desafio016.py | LucasHenrique-dev/Exercicios-Python | b1f6ca56ea8e197a89a044245419dc6079bdb9c7 | [
"MIT"
] | null | null | null | import math
n1 = float(input('Digite um número: '))
print(f'O número {n1} possui como porção inteira {math.trunc(n1)}')
| 30 | 67 | 0.708333 | 20 | 120 | 4.25 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028846 | 0.133333 | 120 | 3 | 68 | 40 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
749ffc81297ef1e201ee0873a58d14489bfa7718 | 94 | py | Python | WebstreamDVR/util.py | KMNR/Webstream | 61a204c7938c60fa9b9757edb082800362dd4de6 | [
"MIT"
] | null | null | null | WebstreamDVR/util.py | KMNR/Webstream | 61a204c7938c60fa9b9757edb082800362dd4de6 | [
"MIT"
] | 5 | 2017-03-07T03:24:53.000Z | 2017-09-11T20:18:32.000Z | WebstreamDVR/util.py | KMNR/Webstream | 61a204c7938c60fa9b9757edb082800362dd4de6 | [
"MIT"
] | null | null | null | from datetime import datetime
def lnp(msg):
print str(datetime.today()) + ": " + msg
| 18.8 | 48 | 0.62766 | 12 | 94 | 4.916667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 94 | 4 | 49 | 23.5 | 0.819444 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7797077caddb33fc0d80c26d8c9861bd0fc650cd | 252 | py | Python | bluebrain/repo-patches/packages/py-python-daemon/package.py | BlueBrain/Spack | dc328512c70e182f3c24bb0ce64fa3586482bdf1 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | bluebrain/repo-patches/packages/py-python-daemon/package.py | BlueBrain/Spack | dc328512c70e182f3c24bb0ce64fa3586482bdf1 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 4 | 2022-03-01T02:26:40.000Z | 2022-03-15T02:33:38.000Z | bluebrain/repo-patches/packages/py-python-daemon/package.py | BlueBrain/Spack | dc328512c70e182f3c24bb0ce64fa3586482bdf1 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | from spack import *
from spack.pkg.builtin.py_python_daemon import PyPythonDaemon as BuiltinPyPythonDaemon
class PyPythonDaemon(BuiltinPyPythonDaemon):
__doc__ = BuiltinPyPythonDaemon.__doc__
depends_on("py-docutils", type=('build', 'run'))
| 28 | 86 | 0.793651 | 27 | 252 | 7 | 0.703704 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115079 | 252 | 8 | 87 | 31.5 | 0.847534 | 0 | 0 | 0 | 0 | 0 | 0.075397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
77b881cc9880f85850371cb9db786326195b1919 | 1,222 | py | Python | scripts/lstm_configs.py | AlirezaAlizadeh/api-doc-kn-identification | 557da8d967a1314f18fde41bb0fb5a3acb59bda7 | [
"PSF-2.0"
] | null | null | null | scripts/lstm_configs.py | AlirezaAlizadeh/api-doc-kn-identification | 557da8d967a1314f18fde41bb0fb5a3acb59bda7 | [
"PSF-2.0"
] | null | null | null | scripts/lstm_configs.py | AlirezaAlizadeh/api-doc-kn-identification | 557da8d967a1314f18fde41bb0fb5a3acb59bda7 | [
"PSF-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
MAX_SEQUENCE_LENGTH = 800
MAX_NB_WORDS = 20000
EMBEDDING_DIM = 50 #300
VALIDATION_SPLIT = 0.2
TEST_SPLIT = 0.10
K=10 #10
EPOCHES=100 #100
OVER_SAMPLE_NUM = 800
UNDER_SAMPLE_NUM = 500
ACTIVATION_M = 'sigmoid'
LOSS_M = 'binary_crossentropy'
OPTIMIZER_M = 'adam'
ACTIVATI... | 47 | 699 | 0.747136 | 255 | 1,222 | 3.333333 | 0.564706 | 0.049412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27067 | 0.059738 | 1,222 | 25 | 700 | 48.88 | 0.469104 | 0.041735 | 0 | 0 | 0 | 0.058824 | 0.696996 | 0.60515 | 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 | 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 |
77c97cefb61a8b8f87fc4851094e410410a9eda5 | 553 | py | Python | src/vis.py | Derposoft/image-similarity-classifier | d1a1d4fc9885d588d062a0a7d397b8e62758ca9a | [
"Apache-2.0"
] | null | null | null | src/vis.py | Derposoft/image-similarity-classifier | d1a1d4fc9885d588d062a0a7d397b8e62758ca9a | [
"Apache-2.0"
] | null | null | null | src/vis.py | Derposoft/image-similarity-classifier | d1a1d4fc9885d588d062a0a7d397b8e62758ca9a | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
import keras
import pandas as pd
# Data prep
train_metadata = pd.read_csv('../input/shopee-product-matching/train.csv')
# phash distance calculation
def get_phash_dist(phash_a, phash_b):
return phash_a - phash_b
def parse_phash(phash):
return int(phash, 16)
# (highly primitive) 1-D se... | 21.269231 | 80 | 0.76311 | 86 | 553 | 4.72093 | 0.581395 | 0.128079 | 0.133005 | 0.169951 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006276 | 0.135624 | 553 | 25 | 81 | 22.12 | 0.843096 | 0.273056 | 0 | 0 | 0 | 0 | 0.190355 | 0.106599 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.363636 | 0.181818 | 0.727273 | 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 |
77cf9e5d7f6b3fdf7393257197dab0fcb948683f | 220 | py | Python | RateMySchoolProject/rateMySchoolApp/admin.py | Tesfa-eth/web_application | 90c062b18de39ed2a53367da4641b4ef942ea70b | [
"MIT"
] | null | null | null | RateMySchoolProject/rateMySchoolApp/admin.py | Tesfa-eth/web_application | 90c062b18de39ed2a53367da4641b4ef942ea70b | [
"MIT"
] | null | null | null | RateMySchoolProject/rateMySchoolApp/admin.py | Tesfa-eth/web_application | 90c062b18de39ed2a53367da4641b4ef942ea70b | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Post, Universities
# Register your models here.
# add the model I just imported to the adminstrative panel
admin.site.register(Post)
admin.site.register(Universities) | 31.428571 | 58 | 0.813636 | 32 | 220 | 5.59375 | 0.65625 | 0.100559 | 0.189944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122727 | 220 | 7 | 59 | 31.428571 | 0.927461 | 0.377273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
77da5f3ddc1b3ec3c6785753b8fc36f96b7d04da | 617 | py | Python | ckanext/ckanpackager/cli.py | NaturalHistoryMuseum/ckanext-ckanpackager | 423a65a3eb3cb57cc6d621044f34c42b2c96594f | [
"MIT"
] | 4 | 2015-11-11T02:15:48.000Z | 2021-01-27T02:49:13.000Z | ckanext/ckanpackager/cli.py | NaturalHistoryMuseum/ckanext-ckanpackager | 423a65a3eb3cb57cc6d621044f34c42b2c96594f | [
"MIT"
] | 6 | 2018-05-31T15:46:48.000Z | 2021-03-09T00:17:05.000Z | ckanext/ckanpackager/cli.py | NaturalHistoryMuseum/ckanext-ckanpackager | 423a65a3eb3cb57cc6d621044f34c42b2c96594f | [
"MIT"
] | 3 | 2018-08-03T13:35:35.000Z | 2020-04-12T23:22:04.000Z | import click
from ckan import model
from .model.stat import ckanpackager_stats_table
def get_commands():
return [ckanpackager]
@click.group()
def ckanpackager():
'''
The CKAN Packager CLI.
'''
pass
@ckanpackager.command(name='initdb')
def init_db():
'''
Initialise the ckanpackager tab... | 21.275862 | 83 | 0.6953 | 73 | 617 | 5.739726 | 0.520548 | 0.202864 | 0.210024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192869 | 617 | 28 | 84 | 22.035714 | 0.841365 | 0.094003 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0.066667 | 0.2 | 0.066667 | 0.466667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
7ac3ea0d02e770dd38e788a27e196357f2564a77 | 344 | py | Python | dcapy/dca/__init__.py | scuervo91/dcapy | 46c9277e607baff437e5707167476d5f7e2cf80c | [
"MIT"
] | 4 | 2021-05-21T13:26:10.000Z | 2021-11-15T17:17:01.000Z | dcapy/dca/__init__.py | scuervo91/dcapy | 46c9277e607baff437e5707167476d5f7e2cf80c | [
"MIT"
] | null | null | null | dcapy/dca/__init__.py | scuervo91/dcapy | 46c9277e607baff437e5707167476d5f7e2cf80c | [
"MIT"
] | null | null | null | from .arps import arps_exp_rate,arps_exp_cumulative,arps_arm_cumulative,arps_hyp_cumulative,arps_cumulative, arps_hyp_rate, arps_rate_time, arps_forecast,Arps
from .dca import DCA, Forecast, ProbVar
from .timeconverter import converter_factor, list_freq,time_converter_matrix, FreqEnum
from .wor import bsw_to_wor, wor_t... | 86 | 158 | 0.869186 | 55 | 344 | 5.018182 | 0.4 | 0.202899 | 0.123188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072674 | 344 | 4 | 159 | 86 | 0.865204 | 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 |
7ac97d9094b9ef584dbb4d00ae20020bba480db7 | 133 | py | Python | Regex/Repetitions/matching-ending-items.py | ekant1999/HackerRank | 084d4550b4eaf130837ab26a4efdbcaf8b667cdc | [
"MIT"
] | 9 | 2017-03-19T16:27:31.000Z | 2022-02-17T11:42:21.000Z | Regex/Repetitions/matching-ending-items.py | ekant1999/HackerRank | 084d4550b4eaf130837ab26a4efdbcaf8b667cdc | [
"MIT"
] | null | null | null | Regex/Repetitions/matching-ending-items.py | ekant1999/HackerRank | 084d4550b4eaf130837ab26a4efdbcaf8b667cdc | [
"MIT"
] | 6 | 2019-02-18T11:26:24.000Z | 2022-03-21T14:13:15.000Z | import re
Regex_Pattern = r'^[A-Za-z]*s$' # Do not delete 'r'.
print(str(bool(re.search(Regex_Pattern, raw_input()))).lower()) | 26.6 | 63 | 0.646617 | 23 | 133 | 3.608696 | 0.826087 | 0.289157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135338 | 133 | 5 | 63 | 26.6 | 0.721739 | 0.135338 | 0 | 0 | 0 | 0 | 0.110092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bb17dad17d28f74302f28f3cb326b378744723c2 | 2,840 | py | Python | z2/part2/interactive/jm/random_normal_1/172400382.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part2/interactive/jm/random_normal_1/172400382.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part2/interactive/jm/random_normal_1/172400382.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | from part1 import (
gamma_board,
gamma_busy_fields,
gamma_delete,
gamma_free_fields,
gamma_golden_move,
gamma_golden_possible,
gamma_move,
gamma_new,
)
"""
scenario: test_random_actions
uuid: 172400382
"""
"""
random actions, total chaos
"""
board = gamma_new(4, 4, 3, 4)
assert board is... | 27.307692 | 46 | 0.669718 | 501 | 2,840 | 3.642715 | 0.083832 | 0.289315 | 0.312329 | 0.416438 | 0.675068 | 0.646027 | 0.503014 | 0.338082 | 0.262466 | 0.262466 | 0 | 0.158076 | 0.180282 | 2,840 | 103 | 47 | 27.572816 | 0.625859 | 0 | 0 | 0.188235 | 0 | 0 | 0.026163 | 0 | 0 | 0 | 0 | 0 | 0.647059 | 1 | 0 | false | 0 | 0.011765 | 0 | 0.011765 | 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 |
bb1d4efccd3c87dd19776c473edd639edc1c1704 | 15,194 | py | Python | tests/test_decode.py | entn-at/fast-ctc-decode | 0ab401cd2601bb06fe9fda0723282bd32ef15151 | [
"MIT"
] | 120 | 2020-02-13T14:55:37.000Z | 2022-02-25T07:03:05.000Z | tests/test_decode.py | entn-at/fast-ctc-decode | 0ab401cd2601bb06fe9fda0723282bd32ef15151 | [
"MIT"
] | 18 | 2020-02-29T18:45:34.000Z | 2022-02-24T02:02:04.000Z | tests/test_decode.py | entn-at/fast-ctc-decode | 0ab401cd2601bb06fe9fda0723282bd32ef15151 | [
"MIT"
] | 19 | 2020-04-09T12:00:23.000Z | 2022-03-28T14:50:45.000Z | #!/usr/env/bin python3
import numpy as np
from unittest import TestCase, main
from fast_ctc_decode import *
class Test1DBeamSearch(TestCase):
def setUp(self):
self.beam_size = 5
self.alphabet = "NACGT"
self.beam_cut_threshold = 0.1
self.probs = self.get_random_data()
def get_... | 36.436451 | 106 | 0.585297 | 2,167 | 15,194 | 3.975081 | 0.097831 | 0.071976 | 0.013466 | 0.046436 | 0.810309 | 0.794288 | 0.731716 | 0.688414 | 0.67994 | 0.667982 | 0 | 0.051535 | 0.279716 | 15,194 | 416 | 107 | 36.524038 | 0.735563 | 0.131104 | 0 | 0.661074 | 0 | 0 | 0.01555 | 0 | 0 | 0 | 0 | 0 | 0.204698 | 1 | 0.137584 | false | 0 | 0.010067 | 0 | 0.167785 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 |
bb258e257809d49a510263012ef3690dae938578 | 7 | py | Python | classy_mail/mixins/__init__.py | alexlovelltroy/django-classy-mail | 1f225555bce44d8dbc4c695a4b7ffc71ac500168 | [
"MIT"
] | 1 | 2018-06-09T13:29:06.000Z | 2018-06-09T13:29:06.000Z | classy_mail/mixins/__init__.py | alexlovelltroy/django-classy-mail | 1f225555bce44d8dbc4c695a4b7ffc71ac500168 | [
"MIT"
] | null | null | null | classy_mail/mixins/__init__.py | alexlovelltroy/django-classy-mail | 1f225555bce44d8dbc4c695a4b7ffc71ac500168 | [
"MIT"
] | null | null | null | # Yay!
| 3.5 | 6 | 0.428571 | 1 | 7 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 7 | 1 | 7 | 7 | 0.6 | 0.571429 | 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 |
bb2bfc4269ce90e2208414977fcefda548d82b88 | 320 | py | Python | src/python/codebay/l2tpserver/__init__.py | nakedible/vpnease-l2tp | 0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c | [
"WTFPL"
] | 5 | 2015-04-16T08:36:17.000Z | 2017-05-12T17:20:12.000Z | src/python/codebay/l2tpserver/__init__.py | nakedible/vpnease-l2tp | 0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c | [
"WTFPL"
] | null | null | null | src/python/codebay/l2tpserver/__init__.py | nakedible/vpnease-l2tp | 0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c | [
"WTFPL"
] | 4 | 2015-03-19T14:39:51.000Z | 2019-01-23T08:22:55.000Z | __all__ = ['config', 'constants', 'dhcpscript', 'helpers', 'ipcheck', 'license', 'pppscripts', 'runcommand', 'startstop', 'configresolve', 'testclient', 'netidentify', 'interfacehelper', 'graphs', 'gnomeconfig', 'gdmconfig', 'firefoxconfig', 'rdfdumper', 'installer', 'versioninfo', 'aptsource', 'syslogdaemon', 'init']
| 160 | 319 | 0.7 | 24 | 320 | 9.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 320 | 1 | 320 | 320 | 0.745763 | 0 | 0 | 0 | 0 | 0 | 0.678125 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bb447f583e168999907d903255654f0bb3787ab3 | 210 | py | Python | eval.py | junqiqian/rl-baselines-zoo | cfe57f340dc8f2a1d74ebba2f90ed29145240b92 | [
"MIT"
] | null | null | null | eval.py | junqiqian/rl-baselines-zoo | cfe57f340dc8f2a1d74ebba2f90ed29145240b92 | [
"MIT"
] | null | null | null | eval.py | junqiqian/rl-baselines-zoo | cfe57f340dc8f2a1d74ebba2f90ed29145240b92 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import optuna
import sys
study_summaries = optuna.study.get_all_study_summaries(storage="sqlite:///" + sys.argv[1])
print(study_summaries[0].n_trials)
print(study_summaries[0].best_trial)
| 19.090909 | 90 | 0.77619 | 32 | 210 | 4.84375 | 0.625 | 0.36129 | 0.245161 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015464 | 0.07619 | 210 | 10 | 91 | 21 | 0.783505 | 0.07619 | 0 | 0 | 0 | 0 | 0.052083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.4 | 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 |
24d107622abab84df4b8e81e3490813122c70a00 | 173 | py | Python | toolsws/backends/__init__.py | diegodlh/operations-software-tools-webservice | c5e3aaaaa852c9c0dafc580774c27c247657913f | [
"Apache-2.0"
] | 8 | 2016-04-12T18:05:40.000Z | 2020-11-23T18:51:47.000Z | toolsws/backends/__init__.py | diegodlh/operations-software-tools-webservice | c5e3aaaaa852c9c0dafc580774c27c247657913f | [
"Apache-2.0"
] | null | null | null | toolsws/backends/__init__.py | diegodlh/operations-software-tools-webservice | c5e3aaaaa852c9c0dafc580774c27c247657913f | [
"Apache-2.0"
] | 3 | 2018-08-30T15:01:46.000Z | 2022-02-27T16:16:53.000Z | from .backend import Backend
from .gridengine import GridEngineBackend
from .kubernetes import KubernetesBackend
__all__ = [Backend, GridEngineBackend, KubernetesBackend]
| 24.714286 | 57 | 0.843931 | 16 | 173 | 8.875 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109827 | 173 | 6 | 58 | 28.833333 | 0.922078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
70010467107be173450c1fd84c6fc397585a469e | 114 | py | Python | tests/test_webapp.py | j1o1h1n/materialize-tornado-quickstart | 43a62b86562094f8a8e0ce2e728f4fde1ac3ce69 | [
"MIT"
] | null | null | null | tests/test_webapp.py | j1o1h1n/materialize-tornado-quickstart | 43a62b86562094f8a8e0ce2e728f4fde1ac3ce69 | [
"MIT"
] | null | null | null | tests/test_webapp.py | j1o1h1n/materialize-tornado-quickstart | 43a62b86562094f8a8e0ce2e728f4fde1ac3ce69 | [
"MIT"
] | null | null | null | import mywebapp.webapp
def test_api():
api = mywebapp.webapp.API()
assert api.message == "Hello, World"
| 16.285714 | 40 | 0.675439 | 15 | 114 | 5.066667 | 0.666667 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 114 | 6 | 41 | 19 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.106195 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 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 |
700d76deeb8fdb7d7caeec718af46ea3e8499eeb | 99 | py | Python | Python/LPTHW/ex8.py | vanonselenp/Learning | 477239defa81a1d4435c72e1cde151ac32160e39 | [
"MIT"
] | null | null | null | Python/LPTHW/ex8.py | vanonselenp/Learning | 477239defa81a1d4435c72e1cde151ac32160e39 | [
"MIT"
] | null | null | null | Python/LPTHW/ex8.py | vanonselenp/Learning | 477239defa81a1d4435c72e1cde151ac32160e39 | [
"MIT"
] | null | null | null | formatter = '%r %r %r %r'
print formatter % (1, 2, 3, 4)
print formatter % ("asdf", 4 , "42", 5.6) | 24.75 | 41 | 0.545455 | 18 | 99 | 3 | 0.611111 | 0.111111 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.212121 | 99 | 4 | 41 | 24.75 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
701b429061e7bb29bd4baced2dc6f41d069b2fc7 | 195 | py | Python | mrl/torch_imports.py | DarkMatterAI/mrl | e000c3570d4461c3054c882697cce55217ede552 | [
"MIT"
] | 4 | 2021-11-16T09:29:55.000Z | 2021-12-27T17:55:32.000Z | mrl/torch_imports.py | DarkMatterAI/mrl | e000c3570d4461c3054c882697cce55217ede552 | [
"MIT"
] | null | null | null | mrl/torch_imports.py | DarkMatterAI/mrl | e000c3570d4461c3054c882697cce55217ede552 | [
"MIT"
] | 3 | 2021-11-16T09:41:41.000Z | 2021-12-27T17:55:33.000Z | import torch
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
from torch.utils.data import Dataset, DataLoader
from torch.distributions import Normal, Categorical | 32.5 | 51 | 0.835897 | 31 | 195 | 5.258065 | 0.483871 | 0.269939 | 0.159509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117949 | 195 | 6 | 51 | 32.5 | 0.947674 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.