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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e0253228836a46896b07cf2ddc20895d4265270a | 37,413 | py | Python | PROGRAMA_APS.py | rafaaelm/APS_2Semestre | c00090969f7fa98eb567248661a115d5cfd26f0f | [
"MIT"
] | null | null | null | PROGRAMA_APS.py | rafaaelm/APS_2Semestre | c00090969f7fa98eb567248661a115d5cfd26f0f | [
"MIT"
] | null | null | null | PROGRAMA_APS.py | rafaaelm/APS_2Semestre | c00090969f7fa98eb567248661a115d5cfd26f0f | [
"MIT"
] | null | null | null | # ATIVIDADE PRÁTICA SUPERVISIONADAS (APS)
# Funções por tipos de materiais
# Plasticos
def MaterialEscolhidoPlastico(z):
x = z
if x >= -291 and x <= -150:
print('', ['sacola de supermercado, saco de lixo, embalagem de leite', 'Tipo de plastico: PEBD (Polietileno de Baixa Densidade)',
' Ponto d... | 60.538835 | 199 | 0.610857 | 4,811 | 37,413 | 4.752858 | 0.123675 | 0.044608 | 0.036386 | 0.017843 | 0.794236 | 0.787195 | 0.779279 | 0.769658 | 0.764672 | 0.750809 | 0 | 0.064645 | 0.269398 | 37,413 | 617 | 200 | 60.636953 | 0.771384 | 0.009088 | 0 | 0.508137 | 0 | 0.164557 | 0.645079 | 0.000567 | 0 | 0 | 0 | 0.001621 | 0 | 1 | 0.014467 | false | 0 | 0 | 0 | 0.18264 | 0.155515 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ec8072a94e1f2ab553792dd9fa919a2820b9957 | 184 | py | Python | page_counter/__init__.py | bircow/page-counter | aca721fdbb7bec2d0352136a32065d8950154495 | [
"MIT"
] | 2 | 2018-05-03T21:06:07.000Z | 2018-05-03T21:06:10.000Z | page_counter/__init__.py | bircow/page-counter | aca721fdbb7bec2d0352136a32065d8950154495 | [
"MIT"
] | 2 | 2018-05-03T12:45:45.000Z | 2018-05-03T20:14:06.000Z | page_counter/__init__.py | bircow/page-counter | aca721fdbb7bec2d0352136a32065d8950154495 | [
"MIT"
] | null | null | null | from page_counter.dialects import dialect_choices, dialect_names
from page_counter.page_counter import PageCounter
__all__ = [
'PageCounter', 'dialect_choices', 'dialect_names'
]
| 26.285714 | 64 | 0.809783 | 22 | 184 | 6.272727 | 0.454545 | 0.23913 | 0.217391 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11413 | 184 | 6 | 65 | 30.666667 | 0.846626 | 0 | 0 | 0 | 0 | 0 | 0.211957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0ecda381a4fad88bafeed2b8177bda8d90adaad0 | 3,340 | py | Python | test_twitter.py | asyncy/asyncy-twitter | ecc1a62e3acb32c36277782c9813ff3b094ed6a4 | [
"MIT"
] | 2 | 2019-11-09T05:26:01.000Z | 2020-07-19T07:06:02.000Z | test_twitter.py | asyncy/asyncy-twitter | ecc1a62e3acb32c36277782c9813ff3b094ed6a4 | [
"MIT"
] | 2 | 2018-08-07T05:29:39.000Z | 2019-05-20T13:05:36.000Z | test_twitter.py | asyncy/asyncy-twitter | ecc1a62e3acb32c36277782c9813ff3b094ed6a4 | [
"MIT"
] | 2 | 2019-06-28T07:16:51.000Z | 2019-08-30T11:01:14.000Z | from http import HTTPStatus
import sys
import os
from stream import Stream
def test_tweet_request(client):
data = {"status": "Mock status"}
url = "/tweet"
response = client.post(url, json=data)
assert response.status_code == HTTPStatus.OK
def test_tweet_request_fail(client):
data = {"status": ""... | 28.305085 | 83 | 0.682635 | 416 | 3,340 | 5.298077 | 0.129808 | 0.047641 | 0.122505 | 0.142922 | 0.84392 | 0.779038 | 0.779038 | 0.747278 | 0.747278 | 0.747278 | 0 | 0.030004 | 0.181737 | 3,340 | 117 | 84 | 28.547009 | 0.776436 | 0 | 0 | 0.643678 | 0 | 0 | 0.157485 | 0.021557 | 0 | 0 | 0 | 0 | 0.172414 | 1 | 0.172414 | false | 0 | 0.045977 | 0 | 0.218391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
161d07ab1232b0a05380410d4438fa4281cc2323 | 21 | py | Python | Feature/hessian_matrix_det.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | Feature/hessian_matrix_det.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | Feature/hessian_matrix_det.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | # 计算图像上的近似Hessian行列式。 | 21 | 21 | 0.857143 | 1 | 21 | 18 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 21 | 1 | 21 | 21 | 0.9 | 0.904762 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | 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 | 6 |
162445e74600be1a9947649c0cfc4437b53878a0 | 12,083 | py | Python | Tests/Plot/test_Lam_Mag_inset_plot.py | mxgnsr/pyleecan | 2b0a04e4ae67c073a91362ab42332908fef53bdd | [
"Apache-2.0"
] | 2 | 2019-06-08T15:04:39.000Z | 2020-09-07T13:32:22.000Z | Tests/Plot/test_Lam_Mag_inset_plot.py | mxgnsr/pyleecan | 2b0a04e4ae67c073a91362ab42332908fef53bdd | [
"Apache-2.0"
] | null | null | null | Tests/Plot/test_Lam_Mag_inset_plot.py | mxgnsr/pyleecan | 2b0a04e4ae67c073a91362ab42332908fef53bdd | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from os.path import join
from unittest import TestCase
import matplotlib.pyplot as plt
from numpy import pi
from pyleecan.Classes.Frame import Frame
from pyleecan.Classes.LamSlotMag import LamSlotMag
from pyleecan.Classes.Lamination import Lamination
from pyleecan.Classes.MagnetType10 import M... | 32.394102 | 88 | 0.548953 | 1,691 | 12,083 | 3.814311 | 0.084565 | 0.026047 | 0.037209 | 0.032248 | 0.84186 | 0.837054 | 0.822946 | 0.77845 | 0.749612 | 0.707752 | 0 | 0.106731 | 0.317636 | 12,083 | 372 | 89 | 32.481183 | 0.675561 | 0.032939 | 0 | 0.688679 | 0 | 0 | 0.044143 | 0.042339 | 0 | 0 | 0 | 0 | 0.050314 | 1 | 0.022013 | false | 0 | 0.059748 | 0 | 0.084906 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16cd3b5edc1d2631d88c4bf703f2839919beeee8 | 23 | py | Python | amktools/wav2brr/__init__.py | jimbo1qaz/amktools | 25a65d7c9c09a2622065fcacdaed82e1f9d7fb2c | [
"BSD-3-Clause"
] | 2 | 2020-03-14T06:13:03.000Z | 2022-03-03T17:53:51.000Z | amktools/wav2brr/__init__.py | nyanpasu64/amktools | 25a65d7c9c09a2622065fcacdaed82e1f9d7fb2c | [
"BSD-3-Clause"
] | 14 | 2018-06-19T14:48:58.000Z | 2018-10-28T07:02:27.000Z | amktools/wav2brr/__init__.py | jimbo1qaz/amktools | 25a65d7c9c09a2622065fcacdaed82e1f9d7fb2c | [
"BSD-3-Clause"
] | null | null | null | from .wav2brr import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.173913 | 23 | 1 | 23 | 23 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc42d6c23c459984e76b67314546ca349cc4a276 | 970 | py | Python | 050_AnimeGANv2/01_float32/05_float16_quantization.py | IgiArdiyanto/PINTO_model_zoo | 9247b56a7dff37f28a8a7822a7ef4dd9adf7234d | [
"MIT"
] | 1,529 | 2019-12-11T13:36:23.000Z | 2022-03-31T18:38:27.000Z | 050_AnimeGANv2/01_float32/05_float16_quantization.py | IgiArdiyanto/PINTO_model_zoo | 9247b56a7dff37f28a8a7822a7ef4dd9adf7234d | [
"MIT"
] | 200 | 2020-01-06T09:24:42.000Z | 2022-03-31T17:29:08.000Z | 050_AnimeGANv2/01_float32/05_float16_quantization.py | IgiArdiyanto/PINTO_model_zoo | 9247b56a7dff37f28a8a7822a7ef4dd9adf7234d | [
"MIT"
] | 288 | 2020-02-21T14:56:02.000Z | 2022-03-30T03:00:35.000Z | ### tensorflow==2.3.0
import tensorflow as tf
# Float16 Quantization - Input/Output=float32
converter = tf.lite.TFLiteConverter.from_saved_model('saved_model_Hayao')
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.target_spec.supported_types = [tf.float16]
tflite_quant_model = converter.convert()
with ... | 46.190476 | 89 | 0.819588 | 126 | 970 | 6.02381 | 0.309524 | 0.100132 | 0.084321 | 0.131752 | 0.940711 | 0.940711 | 0.843215 | 0.843215 | 0.843215 | 0.843215 | 0 | 0.061247 | 0.074227 | 970 | 21 | 89 | 46.190476 | 0.783964 | 0.108247 | 0 | 0.533333 | 0 | 0 | 0.337209 | 0.213953 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0.133333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc671cb3e653d8c94ba3f041918cb3d7ad0be0e4 | 41 | py | Python | comment_parser/__init__.py | DallogFheir/beginner-projects-bot | a19a2194f0c8fffb2a6098abd1242b18b1aebab8 | [
"MIT"
] | null | null | null | comment_parser/__init__.py | DallogFheir/beginner-projects-bot | a19a2194f0c8fffb2a6098abd1242b18b1aebab8 | [
"MIT"
] | 1 | 2021-06-12T16:15:53.000Z | 2021-08-12T21:32:22.000Z | comment_parser/__init__.py | DallogFheir/beginner-projects-bot | a19a2194f0c8fffb2a6098abd1242b18b1aebab8 | [
"MIT"
] | null | null | null | from .comment_parser import CommentParser | 41 | 41 | 0.902439 | 5 | 41 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc7333e25a48def30179d76d4ea3dfb0cdb7dabd | 21 | py | Python | __init__.py | dustinmaurer/options-strategy-backtester | 1974bfd672d163a39f928208f36a8470a99e1a48 | [
"MIT"
] | null | null | null | __init__.py | dustinmaurer/options-strategy-backtester | 1974bfd672d163a39f928208f36a8470a99e1a48 | [
"MIT"
] | null | null | null | __init__.py | dustinmaurer/options-strategy-backtester | 1974bfd672d163a39f928208f36a8470a99e1a48 | [
"MIT"
] | 1 | 2021-04-11T07:18:55.000Z | 2021-04-11T07:18:55.000Z | from . import option
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc8275c83aefd5421141ae89d431747724b6b3a7 | 116 | py | Python | UserServer/login/__init__.py | cxiaolong/XboxBackend | d42033c73d29a8ba43e359b32020fa55d1740da1 | [
"MIT"
] | null | null | null | UserServer/login/__init__.py | cxiaolong/XboxBackend | d42033c73d29a8ba43e359b32020fa55d1740da1 | [
"MIT"
] | null | null | null | UserServer/login/__init__.py | cxiaolong/XboxBackend | d42033c73d29a8ba43e359b32020fa55d1740da1 | [
"MIT"
] | null | null | null | from flask import Blueprint
login_bp = Blueprint('login', __name__, url_prefix='/user/login/')
from . import login | 23.2 | 66 | 0.758621 | 16 | 116 | 5.125 | 0.625 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 116 | 5 | 67 | 23.2 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 0.145299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
bca47effc513a0d266514a16536ecf8c6fad75f0 | 17,349 | py | Python | sdk/formrecognizer/azure-ai-formrecognizer/tests/test_business_card_from_url_async.py | rorezende/azure-sdk-for-python | efd65877b7d8895aeb1bcdd2175d757cd82136b3 | [
"MIT"
] | 8 | 2021-01-13T23:44:08.000Z | 2021-03-17T10:13:36.000Z | sdk/formrecognizer/azure-ai-formrecognizer/tests/test_business_card_from_url_async.py | Co0olboi/azure-sdk-for-python | 167351fb00f98de55f9a43828ca46394392cbdd0 | [
"MIT"
] | null | null | null | sdk/formrecognizer/azure-ai-formrecognizer/tests/test_business_card_from_url_async.py | Co0olboi/azure-sdk-for-python | 167351fb00f98de55f9a43828ca46394392cbdd0 | [
"MIT"
] | null | null | null | # coding=utf-8
# ------------------------------------
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
import pytest
import functools
from datetime import date, time
from azure.core.exceptions import HttpResponseError, ServiceRequestError, ClientAuthentica... | 55.784566 | 136 | 0.731051 | 1,908 | 17,349 | 6.404612 | 0.121593 | 0.109002 | 0.092799 | 0.106547 | 0.812439 | 0.786088 | 0.764648 | 0.764648 | 0.742308 | 0.733879 | 0 | 0.006744 | 0.16243 | 17,349 | 310 | 137 | 55.964516 | 0.834217 | 0.089631 | 0 | 0.671111 | 0 | 0 | 0.080627 | 0.005519 | 0 | 0 | 0 | 0.003226 | 0.324444 | 1 | 0.008889 | false | 0.004444 | 0.053333 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bcac76f70b5f42d37acc2ca18a9d3eb4a406e70b | 1,026 | py | Python | Ship.py | miethe/DnD-Spaceships | a37afdb4f329123fcf7b0e06ea89e2fe6e3ea7bc | [
"MIT"
] | null | null | null | Ship.py | miethe/DnD-Spaceships | a37afdb4f329123fcf7b0e06ea89e2fe6e3ea7bc | [
"MIT"
] | null | null | null | Ship.py | miethe/DnD-Spaceships | a37afdb4f329123fcf7b0e06ea89e2fe6e3ea7bc | [
"MIT"
] | null | null | null |
class ship:
name = "Unknown"
maelstrom_location_data = None
quadrant = ''
sector = ''
def __init__(self, name = "Unknown", maelstrom_location_data = None):
self.name = name
self.maelstrom_location_data = maelstrom_location_data
def getMaelstromLocationData(self):
retu... | 30.176471 | 90 | 0.72807 | 101 | 1,026 | 7.118812 | 0.237624 | 0.283727 | 0.350487 | 0.278164 | 0.47427 | 0.431154 | 0.1363 | 0.1363 | 0 | 0 | 0 | 0 | 0.199805 | 1,026 | 33 | 91 | 31.090909 | 0.875761 | 0 | 0 | 0.086957 | 0 | 0 | 0.013659 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.347826 | false | 0 | 0 | 0.217391 | 0.782609 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bcb268d5e85e7c448988d51f7d359b5623328c52 | 14,204 | py | Python | tests/app/service_invite/test_service_invite_rest.py | alphagov/notifications-api | 494a01ba57aeb46d3622b4895a1373a3cc47371c | [
"MIT"
] | 51 | 2016-04-03T23:36:17.000Z | 2022-03-21T20:04:52.000Z | tests/app/service_invite/test_service_invite_rest.py | alphagov/notifications-api | 494a01ba57aeb46d3622b4895a1373a3cc47371c | [
"MIT"
] | 1,335 | 2015-12-15T14:28:50.000Z | 2022-03-30T16:24:27.000Z | tests/app/service_invite/test_service_invite_rest.py | alphagov/notifications-api | 494a01ba57aeb46d3622b4895a1373a3cc47371c | [
"MIT"
] | 30 | 2016-01-08T19:05:32.000Z | 2021-12-20T16:37:23.000Z | import json
import uuid
import pytest
from flask import current_app
from freezegun import freeze_time
from notifications_utils.url_safe_token import generate_token
from app.models import EMAIL_AUTH_TYPE, SMS_AUTH_TYPE, Notification
from tests import create_admin_authorization_header
from tests.app.db import create_in... | 38.808743 | 114 | 0.712053 | 1,792 | 14,204 | 5.276228 | 0.107143 | 0.070968 | 0.045902 | 0.038075 | 0.836171 | 0.797567 | 0.759492 | 0.731571 | 0.678371 | 0.650026 | 0 | 0.009991 | 0.168474 | 14,204 | 365 | 115 | 38.915068 | 0.790534 | 0 | 0 | 0.59322 | 1 | 0 | 0.201633 | 0.073219 | 0 | 0 | 0 | 0 | 0.216949 | 1 | 0.057627 | false | 0 | 0.030508 | 0 | 0.088136 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bcc01f39787a08644f7bee34b946c9547849f339 | 13,048 | py | Python | src/python/grpcio_tests/tests/protoc_plugin/_split_definitions_test.py | RealImage/grpc | 4a2f1b1c933eaa37e162f9b0448222caff728494 | [
"BSD-3-Clause"
] | 1 | 2021-04-27T20:09:23.000Z | 2021-04-27T20:09:23.000Z | src/python/grpcio_tests/tests/protoc_plugin/_split_definitions_test.py | RealImage/grpc | 4a2f1b1c933eaa37e162f9b0448222caff728494 | [
"BSD-3-Clause"
] | null | null | null | src/python/grpcio_tests/tests/protoc_plugin/_split_definitions_test.py | RealImage/grpc | 4a2f1b1c933eaa37e162f9b0448222caff728494 | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2016, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the f... | 41.686901 | 78 | 0.668378 | 1,503 | 13,048 | 5.51497 | 0.159015 | 0.055375 | 0.080347 | 0.058391 | 0.781397 | 0.770419 | 0.749186 | 0.737604 | 0.728073 | 0.728073 | 0 | 0.008239 | 0.237201 | 13,048 | 312 | 79 | 41.820513 | 0.824576 | 0.112738 | 0 | 0.753036 | 0 | 0 | 0.124004 | 0.060443 | 0 | 0 | 0 | 0 | 0.032389 | 1 | 0.060729 | false | 0 | 0.157895 | 0.004049 | 0.251012 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bcc202a66986f9a47006c9f6ad16cf02ff69e076 | 18,640 | py | Python | tests/swig/python/gpu/test_cuda_subagent.py | twinkarma/FLAMEGPU2_dev | 733a6c2016c0fd15cd835c6bb2fcb6ded75c8d15 | [
"MIT"
] | null | null | null | tests/swig/python/gpu/test_cuda_subagent.py | twinkarma/FLAMEGPU2_dev | 733a6c2016c0fd15cd835c6bb2fcb6ded75c8d15 | [
"MIT"
] | 4 | 2020-10-19T18:31:24.000Z | 2020-12-14T21:26:46.000Z | tests/swig/python/gpu/test_cuda_subagent.py | twinkarma/FLAMEGPU2_dev | 733a6c2016c0fd15cd835c6bb2fcb6ded75c8d15 | [
"MIT"
] | null | null | null | import pytest
from unittest import TestCase
from pyflamegpu import *
from random import randint
AGENT_COUNT = 100;
SUB_MODEL_NAME = "SubModel";
PROXY_SUB_MODEL_NAME = "ProxySubModel";
MODEL_NAME = "Model";
AGENT_NAME = "Agent";
AGENT_VAR1_NAME = "AVar1";
AGENT_VAR2_NAME = "AVar2";
SUB_VAR1_NAME = "SubVar1";
AGENT_VAR_... | 39.914347 | 108 | 0.623283 | 2,208 | 18,640 | 5.067935 | 0.092391 | 0.047185 | 0.02252 | 0.045576 | 0.834138 | 0.811349 | 0.796157 | 0.791421 | 0.780161 | 0.775871 | 0 | 0.028921 | 0.263573 | 18,640 | 466 | 109 | 40 | 0.786261 | 0.127039 | 0 | 0.675393 | 0 | 0 | 0.259312 | 0.104207 | 0 | 0 | 0 | 0 | 0.089005 | 1 | 0.018325 | false | 0 | 0.010471 | 0.005236 | 0.073298 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bcf050175d8444e899f47b47449d5c9f1d3f1014 | 14,809 | py | Python | tests/test_sort.py | adamrp/emperor | ee12881953cdd65e13325c09d5adf87db7e63afd | [
"MIT"
] | null | null | null | tests/test_sort.py | adamrp/emperor | ee12881953cdd65e13325c09d5adf87db7e63afd | [
"MIT"
] | null | null | null | tests/test_sort.py | adamrp/emperor | ee12881953cdd65e13325c09d5adf87db7e63afd | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# File created on 20 Apr 2013
from __future__ import division
__author__ = "Yoshiki Vazquez Baeza"
__copyright__ = "Copyright 2013, The Emperor Project"
__credits__ = ["Yoshiki Vazquez Baeza"]
__license__ = "BSD"
__version__ = "0.9.3-dev"
__maintainer__ = "Yoshiki Vazquez Baeza"
__email__ = "yosh... | 62.75 | 176 | 0.708421 | 1,989 | 14,809 | 4.896933 | 0.150327 | 0.12731 | 0.157495 | 0.269199 | 0.768583 | 0.738604 | 0.719302 | 0.684394 | 0.655749 | 0.633162 | 0 | 0.203623 | 0.176244 | 14,809 | 235 | 177 | 63.017021 | 0.594803 | 0.034709 | 0 | 0.603015 | 0 | 0 | 0.508686 | 0.479406 | 0 | 0 | 0 | 0 | 0.045226 | 1 | 0.015075 | false | 0 | 0.025126 | 0 | 0.045226 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c18ded2923a45470de1489355d6ae0e2397c30d | 615 | py | Python | ui/python/run.py | calebbergman/scapix-example1 | 668bb5148d7fa014e8ec94d86806b68368f6834d | [
"MIT"
] | 1 | 2021-03-02T09:21:29.000Z | 2021-03-02T09:21:29.000Z | ui/python/run.py | calebbergman/scapix-example1 | 668bb5148d7fa014e8ec94d86806b68368f6834d | [
"MIT"
] | null | null | null | ui/python/run.py | calebbergman/scapix-example1 | 668bb5148d7fa014e8ec94d86806b68368f6834d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import os, sys
sys.path.append(os.path.join(os.path.dirname(__file__), '../../project/build/vs_python/Debug'))
sys.path.append(os.path.join(os.path.dirname(__file__), '../../project/build/vs_python/Release'))
sys.path.append(os.path.join(os.path.dirname(__file__), '../../project/build/xcode_mac_... | 41 | 104 | 0.728455 | 95 | 615 | 4.431579 | 0.294737 | 0.142518 | 0.154394 | 0.178147 | 0.779097 | 0.779097 | 0.779097 | 0.779097 | 0.779097 | 0.779097 | 0 | 0.001701 | 0.043902 | 615 | 14 | 105 | 43.928571 | 0.714286 | 0.034146 | 0 | 0 | 0 | 0 | 0.344013 | 0.323777 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c201eb6caec060e8859015af29d48b27740f872 | 40 | py | Python | tests/test_worksheet.py | ecmascriptguru/openpyxl-templates | 635a84cf1538f713a0aff29c5dfaa1eb578db6a9 | [
"MIT"
] | 38 | 2017-03-29T09:05:16.000Z | 2021-07-08T07:48:03.000Z | tests/test_worksheet.py | ecmascriptguru/openpyxl-templates | 635a84cf1538f713a0aff29c5dfaa1eb578db6a9 | [
"MIT"
] | 11 | 2018-01-06T11:34:32.000Z | 2020-05-08T12:40:39.000Z | tests/test_worksheet.py | ecmascriptguru/openpyxl-templates | 635a84cf1538f713a0aff29c5dfaa1eb578db6a9 | [
"MIT"
] | 15 | 2018-01-06T11:48:39.000Z | 2020-09-23T02:27:19.000Z | # TODO: Add tests for sheet base class
| 20 | 39 | 0.725 | 7 | 40 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225 | 40 | 1 | 40 | 40 | 0.935484 | 0.9 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c21729940bd99ea5c13710e70c003f64fd0b15a | 891 | py | Python | src/2021/may/27/kaprekars_constant.py | xaverrd/braingu-toy-problems | 608030ab83d6f3161d70d782157f759677cc9d3e | [
"MIT"
] | null | null | null | src/2021/may/27/kaprekars_constant.py | xaverrd/braingu-toy-problems | 608030ab83d6f3161d70d782157f759677cc9d3e | [
"MIT"
] | null | null | null | src/2021/may/27/kaprekars_constant.py | xaverrd/braingu-toy-problems | 608030ab83d6f3161d70d782157f759677cc9d3e | [
"MIT"
] | 2 | 2021-05-27T14:23:04.000Z | 2021-05-28T14:18:35.000Z | # Have the function KaprekarsConstant(num) take the num parameter being passed which will be a 4-digit number with at least two distinct digits. Your program should perform the following routine on the number: Arrange the digits in descending order and in ascending order (adding zeroes to fit it to a 4-digit number), a... | 148.5 | 828 | 0.775533 | 149 | 891 | 4.630872 | 0.610738 | 0.047826 | 0.073913 | 0.037681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101093 | 0.178451 | 891 | 5 | 829 | 178.2 | 0.84153 | 0.943883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4c6471320c3445857ee2708b13ba434bf5865a77 | 17,721 | py | Python | polygon/graphql/product/tests/test_product_minimal_variant_price.py | giocatron/Polygon | b3b0e0047bf20eb91379b594fd26603fcf279880 | [
"CC-BY-4.0"
] | null | null | null | polygon/graphql/product/tests/test_product_minimal_variant_price.py | giocatron/Polygon | b3b0e0047bf20eb91379b594fd26603fcf279880 | [
"CC-BY-4.0"
] | null | null | null | polygon/graphql/product/tests/test_product_minimal_variant_price.py | giocatron/Polygon | b3b0e0047bf20eb91379b594fd26603fcf279880 | [
"CC-BY-4.0"
] | 2 | 2020-11-24T22:23:08.000Z | 2020-11-24T23:41:36.000Z | from unittest.mock import patch
import graphene
from freezegun import freeze_time
from graphql_relay import from_global_id, to_global_id
from ...discount.enums import DiscountValueTypeEnum
from ...tests.utils import assert_negative_positive_decimal_value, get_graphql_content
@patch(
"polygon.graphql.product.mut... | 29.339404 | 86 | 0.612494 | 1,702 | 17,721 | 5.998237 | 0.083431 | 0.067196 | 0.058772 | 0.022333 | 0.80047 | 0.77128 | 0.764326 | 0.750416 | 0.732393 | 0.732393 | 0 | 0.004561 | 0.294848 | 17,721 | 603 | 87 | 29.38806 | 0.81242 | 0.000226 | 0 | 0.624088 | 0 | 0 | 0.389726 | 0.094045 | 0 | 0 | 0 | 0 | 0.072993 | 1 | 0.023723 | false | 0 | 0.010949 | 0 | 0.034672 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d5d02269c5bcf35875605489578cfe382dc29db8 | 34 | py | Python | test_esc.py | htlemke/calx | 27417db00e7038cec63501b6888f5ab1bdfaf202 | [
"MIT"
] | null | null | null | test_esc.py | htlemke/calx | 27417db00e7038cec63501b6888f5ab1bdfaf202 | [
"MIT"
] | null | null | null | test_esc.py | htlemke/calx | 27417db00e7038cec63501b6888f5ab1bdfaf202 | [
"MIT"
] | null | null | null | def test_me():
print('test')
| 8.5 | 17 | 0.558824 | 5 | 34 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 34 | 3 | 18 | 11.333333 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d5de05304d8bf6293e708512f1020640efec40c8 | 108 | py | Python | build_framework/clean.py | kdschlosser/wxAnimation | ad472719a77a081da5e51280d469cfd5d5bfcd3c | [
"MIT"
] | 2 | 2020-03-23T11:29:56.000Z | 2021-11-24T22:10:07.000Z | build_framework/clean.py | kdschlosser/wxAnimation | ad472719a77a081da5e51280d469cfd5d5bfcd3c | [
"MIT"
] | null | null | null | build_framework/clean.py | kdschlosser/wxAnimation | ad472719a77a081da5e51280d469cfd5d5bfcd3c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from distutils.command.clean import clean as _clean
class clean(_clean):
pass | 15.428571 | 51 | 0.685185 | 15 | 108 | 4.8 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.185185 | 108 | 7 | 52 | 15.428571 | 0.806818 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d5eda6215f206e12bf22c3a3533dbfd98a07f2e9 | 47 | py | Python | terrascript/azure/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/azure/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/azure/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/azure/d.py
import terrascript
| 9.4 | 25 | 0.765957 | 6 | 47 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 4 | 26 | 11.75 | 0.9 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
911ad49f01b3f032ed887320e34c40fdf5ff573b | 9,492 | py | Python | dobbi/collections/emoticons.py | iaramer/dobbi | 8057d38cc7e9af7b10a0a8dc648a9953151ed774 | [
"Apache-2.0"
] | 23 | 2021-11-07T11:03:14.000Z | 2022-03-18T15:29:26.000Z | dobbi/collections/emoticons.py | iaramer/dobbi | 8057d38cc7e9af7b10a0a8dc648a9953151ed774 | [
"Apache-2.0"
] | null | null | null | dobbi/collections/emoticons.py | iaramer/dobbi | 8057d38cc7e9af7b10a0a8dc648a9953151ed774 | [
"Apache-2.0"
] | null | null | null | EMOTICONS = {
u":\)": "Happy face or smiley",
u"=\)": "Happy face or smiley",
u":‑\)": "Happy face or smiley",
u":-\]": "Happy face or smiley",
u":\]": "Happy face or smiley",
u":-3": "Happy face smiley",
u":3": "Happy face smiley",
u":->": "Happy face smiley",
u":>": "Happy face smi... | 37.666667 | 77 | 0.503898 | 1,328 | 9,492 | 3.594127 | 0.121988 | 0.031427 | 0.031427 | 0.037712 | 0.81961 | 0.790069 | 0.777289 | 0.725539 | 0.687199 | 0.650744 | 0 | 0.004614 | 0.223662 | 9,492 | 251 | 78 | 37.816733 | 0.636179 | 0 | 0 | 0.008097 | 0 | 0 | 0.647493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004049 | false | 0 | 0 | 0.004049 | 0.008097 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
911d07cea42a61f93b94516da7a1671bf4bdd92c | 9,523 | py | Python | test_j3.py | freedomikeppp/makino-j3 | c04cd37dc3d445cacee30ce96f732917babb7267 | [
"Apache-2.0"
] | 5 | 2021-06-19T05:16:33.000Z | 2022-01-18T14:08:56.000Z | test_j3.py | suntang3954/makino-j3 | c04cd37dc3d445cacee30ce96f732917babb7267 | [
"Apache-2.0"
] | null | null | null | test_j3.py | suntang3954/makino-j3 | c04cd37dc3d445cacee30ce96f732917babb7267 | [
"Apache-2.0"
] | 6 | 2019-06-04T00:07:08.000Z | 2021-11-12T23:32:38.000Z | # coding: utf-8
'''
本テストはマキノJ3のFanucテストスクリプトです。
※注意 デバイスの操作によって、物理的な機械が動く可能性があります。
必ず安全を確かめ、テストコード内の操作を理解した上で実行して下さい。
'''
import os
import sys
import unittest
from j3 import J3
class TestJ3(unittest.TestCase):
@classmethod
def setUpClass(cls):
'''テストクラスが初期化される際に一度だけ呼ばれる。'''
print('-... | 44.293023 | 99 | 0.625013 | 1,335 | 9,523 | 4.326592 | 0.110861 | 0.146468 | 0.292763 | 0.32358 | 0.782029 | 0.760561 | 0.705506 | 0.654259 | 0.646988 | 0.631752 | 0 | 0.153623 | 0.204347 | 9,523 | 214 | 100 | 44.5 | 0.60842 | 0.069936 | 0 | 0.56 | 0 | 0 | 0.14125 | 0.0225 | 0 | 0 | 0 | 0 | 0.56 | 1 | 0.04 | false | 0 | 0.022857 | 0 | 0.068571 | 0.011429 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
912fd4dde1051fd2ce2da51763ae0b7a9193eefc | 120 | py | Python | mergeit/core/config/__init__.py | insolite/mergeit | 27ca0eacab9b1d2fe6bafe5a43184a80e6169cb5 | [
"MIT"
] | 2 | 2016-07-04T13:32:30.000Z | 2016-07-16T02:51:54.000Z | mergeit/core/config/__init__.py | insolite/mergeit | 27ca0eacab9b1d2fe6bafe5a43184a80e6169cb5 | [
"MIT"
] | 1 | 2016-08-06T12:47:28.000Z | 2016-08-06T12:47:28.000Z | mergeit/core/config/__init__.py | insolite/mergeit | 27ca0eacab9b1d2fe6bafe5a43184a80e6169cb5 | [
"MIT"
] | null | null | null | from .config import Config
from .config_source import ConfigSource
from .yaml_config_source import YamlFileConfigSource
| 30 | 52 | 0.875 | 15 | 120 | 6.8 | 0.466667 | 0.196078 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 120 | 3 | 53 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e68617370c7bc144cde4cc5b1b859aee4c6a339a | 115 | py | Python | coptic/coptic/settings/__init__.py | CopticScriptorium/cts | 7b53da7e6610a0ee4913b94b25af0cf15921af88 | [
"Apache-2.0"
] | 1 | 2015-03-19T00:45:57.000Z | 2015-03-19T00:45:57.000Z | coptic/coptic/settings/__init__.py | CopticScriptorium/cts | 7b53da7e6610a0ee4913b94b25af0cf15921af88 | [
"Apache-2.0"
] | 121 | 2015-01-06T18:32:06.000Z | 2022-02-10T11:55:20.000Z | coptic/coptic/settings/__init__.py | CopticScriptorium/cts | 7b53da7e6610a0ee4913b94b25af0cf15921af88 | [
"Apache-2.0"
] | 4 | 2015-06-24T04:26:30.000Z | 2019-09-21T03:03:55.000Z | from .base import *
from .secrets import *
# uncomment only one of these
from .dev import *
# from .prod import *
| 16.428571 | 29 | 0.704348 | 17 | 115 | 4.764706 | 0.647059 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208696 | 115 | 6 | 30 | 19.166667 | 0.89011 | 0.408696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6974c48761029f4c649afd622b9caef9948f099 | 23 | py | Python | app/__init__.py | AndrewLester/freedomap | 8cb2142f8a46d800fad25fb22e01f5b5a164ce96 | [
"MIT"
] | 6 | 2021-02-17T03:23:18.000Z | 2021-04-09T14:35:42.000Z | app/__init__.py | AndrewLester/freedomap | 8cb2142f8a46d800fad25fb22e01f5b5a164ce96 | [
"MIT"
] | 6 | 2021-03-10T04:04:40.000Z | 2021-12-17T08:13:45.000Z | app/__init__.py | AndrewLester/freedomap | 8cb2142f8a46d800fad25fb22e01f5b5a164ce96 | [
"MIT"
] | null | null | null | from app.exts import *
| 11.5 | 22 | 0.73913 | 4 | 23 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6a54815fa8763bcba84cf53bc9cd13e980c3afd | 166 | py | Python | tests/test_007.py | chingc/euler-python | e963752969cfa7a939ef6a8408f5628ce3c96cae | [
"MIT"
] | null | null | null | tests/test_007.py | chingc/euler-python | e963752969cfa7a939ef6a8408f5628ce3c96cae | [
"MIT"
] | null | null | null | tests/test_007.py | chingc/euler-python | e963752969cfa7a939ef6a8408f5628ce3c96cae | [
"MIT"
] | null | null | null | """https://projecteuler.net/problem=7"""
from euler.main import nth_prime
def test_007() -> None:
"""Expected: 104743"""
assert nth_prime(10001) == 104743
| 18.444444 | 40 | 0.668675 | 22 | 166 | 4.909091 | 0.863636 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.156627 | 166 | 8 | 41 | 20.75 | 0.621429 | 0.307229 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6ccc01e5d94f74d784d057a264d2c901bed9994 | 82 | py | Python | sssorm/__init__.py | troxellophilus/sssorm | 07192c16f2cb0f5ed254f3864e414abcd80025d8 | [
"MIT"
] | null | null | null | sssorm/__init__.py | troxellophilus/sssorm | 07192c16f2cb0f5ed254f3864e414abcd80025d8 | [
"MIT"
] | null | null | null | sssorm/__init__.py | troxellophilus/sssorm | 07192c16f2cb0f5ed254f3864e414abcd80025d8 | [
"MIT"
] | null | null | null | from sssorm.helper import cursor
from sssorm.model import Model, connect_database
| 27.333333 | 48 | 0.853659 | 12 | 82 | 5.75 | 0.666667 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 82 | 2 | 49 | 41 | 0.945205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc118bbcbf17acad69da9834d6db9d0a7711e86b | 22 | py | Python | src/plotioda/io/__init__.py | CoryMartin-NOAA/plotioda | e1c13e2dbcc393d9dd35687d3f7a18320b51c319 | [
"Apache-2.0"
] | null | null | null | src/plotioda/io/__init__.py | CoryMartin-NOAA/plotioda | e1c13e2dbcc393d9dd35687d3f7a18320b51c319 | [
"Apache-2.0"
] | 5 | 2021-11-19T21:20:30.000Z | 2021-12-08T17:43:52.000Z | src/plotioda/io/__init__.py | CoryMartin-NOAA/plotioda | e1c13e2dbcc393d9dd35687d3f7a18320b51c319 | [
"Apache-2.0"
] | null | null | null | from .iodaio import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc1e2a67fa9c99daf9e61651418e9b96ef1bcd7e | 52 | py | Python | andromeda/modules/loans/serializers/__init__.py | sango09/andromeda_api_rest | b4a3267146f4f9a985fb3f512e652d4ff354bba2 | [
"MIT"
] | 1 | 2021-09-08T18:58:16.000Z | 2021-09-08T18:58:16.000Z | andromeda/modules/loans/serializers/__init__.py | sango09/andromeda_api_rest | b4a3267146f4f9a985fb3f512e652d4ff354bba2 | [
"MIT"
] | null | null | null | andromeda/modules/loans/serializers/__init__.py | sango09/andromeda_api_rest | b4a3267146f4f9a985fb3f512e652d4ff354bba2 | [
"MIT"
] | null | null | null | from .loans import *
from .inventory_loans import *
| 17.333333 | 30 | 0.769231 | 7 | 52 | 5.571429 | 0.571429 | 0.564103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 2 | 31 | 26 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc2ae1fc4aac003817870db4be601e5b2c99dcae | 136 | py | Python | API/models/__init__.py | garima-mahato/EVA4 | e8efe40a4de2d5da3a04314f52a02610ecde16f1 | [
"MIT"
] | null | null | null | API/models/__init__.py | garima-mahato/EVA4 | e8efe40a4de2d5da3a04314f52a02610ecde16f1 | [
"MIT"
] | null | null | null | API/models/__init__.py | garima-mahato/EVA4 | e8efe40a4de2d5da3a04314f52a02610ecde16f1 | [
"MIT"
] | 1 | 2020-05-02T17:15:22.000Z | 2020-05-02T17:15:22.000Z | from .my_custom_model import *
from .resnet import *
from .QuizDNN import *
from .CustomResNet import *
from .CustomResidualNet import * | 27.2 | 32 | 0.786765 | 17 | 136 | 6.176471 | 0.529412 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139706 | 136 | 5 | 32 | 27.2 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc69fd0a9ad443c48f9a496d4fe122891e04c770 | 506 | py | Python | RecoMuon/CosmicMuonProducer/python/globalCosmicMuons_cff.py | samarendran23/cmssw | 849dd9897db9b894ca83e1b630a3c1eecafd6097 | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | RecoMuon/CosmicMuonProducer/python/globalCosmicMuons_cff.py | samarendran23/cmssw | 849dd9897db9b894ca83e1b630a3c1eecafd6097 | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | RecoMuon/CosmicMuonProducer/python/globalCosmicMuons_cff.py | p2l1pfp/cmssw | 9bda22bf33ecf18dd19a3af2b3a8cbdb1de556a9 | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | import FWCore.ParameterSet.Config as cms
from RecoMuon.TransientTrackingRecHit.MuonTransientTrackingRecHitBuilder_cfi import *
from RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilder_cfi import *
from RecoLocalTracker.SiStripRecHitConverter.StripCPEfromTrackAngle_cfi import *
from RecoLocalTracker.SiPi... | 50.6 | 85 | 0.901186 | 42 | 506 | 10.714286 | 0.5 | 0.12 | 0.144444 | 0.193333 | 0.226667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059289 | 506 | 9 | 86 | 56.222222 | 0.945378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc90dbc440aea4f45579d656a127cd657d2628be | 14,737 | py | Python | tests/func/test_monitoring.py | madtibo/temboard-agent | c63b82e243c9155e1878ba94e747b51761d62138 | [
"PostgreSQL"
] | null | null | null | tests/func/test_monitoring.py | madtibo/temboard-agent | c63b82e243c9155e1878ba94e747b51761d62138 | [
"PostgreSQL"
] | null | null | null | tests/func/test_monitoring.py | madtibo/temboard-agent | c63b82e243c9155e1878ba94e747b51761d62138 | [
"PostgreSQL"
] | null | null | null | import json
import os
import sys
from urllib2 import HTTPError
from test.temboard import temboard_request
from conftest import ENV
# Import spc
tbda_dir = os.path.realpath(os.path.join(__file__, '..', '..'))
if tbda_dir not in sys.path:
sys.path.insert(0, tbda_dir)
from temboardagent.spc import connector, error... | 32.603982 | 103 | 0.445138 | 1,335 | 14,737 | 4.794007 | 0.096629 | 0.07375 | 0.050469 | 0.07125 | 0.711563 | 0.711563 | 0.703594 | 0.703594 | 0.703594 | 0.703594 | 0 | 0.024283 | 0.429938 | 14,737 | 451 | 104 | 32.676275 | 0.737531 | 0.113456 | 0 | 0.702997 | 0 | 0 | 0.180917 | 0 | 0 | 0 | 0 | 0 | 0.054496 | 1 | 0.054496 | false | 0.00545 | 0.019074 | 0 | 0.079019 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc99d82e2976159b0941ee645f72eeee37f261c9 | 20,634 | py | Python | generated-libraries/python/netapp/name_mapping/__init__.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | 2 | 2017-03-28T15:31:26.000Z | 2018-08-16T22:15:18.000Z | generated-libraries/python/netapp/name_mapping/__init__.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | generated-libraries/python/netapp/name_mapping/__init__.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | from netapp.connection import NaConnection
from unix_user_info import UnixUserInfo # 5 properties
from name_mapping_direction import NameMappingDirection # 0 properties
from name_mapping_info import NameMappingInfo # 5 properties
from unix_group_info import UnixGroupInfo # 4 properties
from name_mapping_unix_user_get_i... | 46.895455 | 115 | 0.586314 | 2,318 | 20,634 | 5.118205 | 0.07981 | 0.069538 | 0.032873 | 0.031861 | 0.863368 | 0.829568 | 0.812879 | 0.784643 | 0.777141 | 0.744184 | 0 | 0.001009 | 0.327421 | 20,634 | 439 | 116 | 47.002278 | 0.853869 | 0.475235 | 0 | 0.583333 | 0 | 0 | 0.210081 | 0.054577 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.0625 | 0 | 0.319444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5db2fbe1b1dff1ad79a142b2af3276d0139e2780 | 18,811 | py | Python | appqos/tests/test_rest_pool.py | ppalucki/intel-cmt-cat | 10689f14d77a800df41ac1f0a6c4875ee23555d6 | [
"BSD-3-Clause"
] | null | null | null | appqos/tests/test_rest_pool.py | ppalucki/intel-cmt-cat | 10689f14d77a800df41ac1f0a6c4875ee23555d6 | [
"BSD-3-Clause"
] | null | null | null | appqos/tests/test_rest_pool.py | ppalucki/intel-cmt-cat | 10689f14d77a800df41ac1f0a6c4875ee23555d6 | [
"BSD-3-Clause"
] | null | null | null | ################################################################################
# BSD LICENSE
#
# Copyright(c) 2019-2020 Intel Corporation. All rights reserved.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following condit... | 43.443418 | 96 | 0.657222 | 2,544 | 18,811 | 4.64544 | 0.103774 | 0.075393 | 0.090117 | 0.090624 | 0.827382 | 0.820443 | 0.812574 | 0.811389 | 0.792689 | 0.769673 | 0 | 0.015974 | 0.204614 | 18,811 | 432 | 97 | 43.543981 | 0.773894 | 0.117165 | 0 | 0.695502 | 0 | 0 | 0.235262 | 0.14488 | 0 | 0 | 0.00299 | 0 | 0.238754 | 1 | 0.110727 | false | 0 | 0.020761 | 0 | 0.138408 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5dc2b4dc69e1bf9e1644f5df4169b958dab57801 | 3,700 | py | Python | dialogue-engine/src/programy/storage/stores/sql/store/users.py | cotobadesign/cotoba-agent-oss | 3833d56e79dcd7529c3e8b3a3a8a782d513d9b12 | [
"MIT"
] | 104 | 2020-03-30T09:40:00.000Z | 2022-03-06T22:34:25.000Z | dialogue-engine/src/programy/storage/stores/sql/store/users.py | cotobadesign/cotoba-agent-oss | 3833d56e79dcd7529c3e8b3a3a8a782d513d9b12 | [
"MIT"
] | 25 | 2020-06-12T01:36:35.000Z | 2022-02-19T07:30:44.000Z | dialogue-engine/src/programy/storage/stores/sql/store/users.py | cotobadesign/cotoba-agent-oss | 3833d56e79dcd7529c3e8b3a3a8a782d513d9b12 | [
"MIT"
] | 10 | 2020-04-02T23:43:56.000Z | 2021-05-14T13:47:01.000Z | """
Copyright (c) 2020 COTOBA DESIGN, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distri... | 45.121951 | 126 | 0.735405 | 521 | 3,700 | 5.163148 | 0.28023 | 0.065428 | 0.050558 | 0.053532 | 0.793309 | 0.772491 | 0.760223 | 0.760223 | 0.726022 | 0.726022 | 0 | 0.004058 | 0.200811 | 3,700 | 81 | 127 | 45.679012 | 0.905648 | 0.287027 | 0 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.184211 | false | 0.052632 | 0.078947 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5ddd904ed29ee95c6ae7dda623c7543fe63ce13f | 40 | py | Python | zemberek/core/utils/__init__.py | Loodos/zemberek-python | 4f6b47abda98ed5a4d440738d39a92374d50ef6b | [
"Apache-2.0"
] | 52 | 2020-08-24T09:52:58.000Z | 2022-03-19T05:02:06.000Z | zemberek/core/utils/__init__.py | Loodos/zemberek-python | 4f6b47abda98ed5a4d440738d39a92374d50ef6b | [
"Apache-2.0"
] | 7 | 2020-09-07T09:02:33.000Z | 2021-11-26T14:15:41.000Z | zemberek/core/utils/__init__.py | Loodos/zemberek-python | 4f6b47abda98ed5a4d440738d39a92374d50ef6b | [
"Apache-2.0"
] | 7 | 2020-09-23T19:27:55.000Z | 2022-03-14T09:02:41.000Z | from .thread_locks import ReadWriteLock
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f8e68a8fcfb1b8b3f3c82f5acd6cf859e8a78dec | 903 | py | Python | sorted_nearest/__init__.py | endrebak/sorted_nearest | cf99b8498cada089ecdb4cf565f5e3304591be0f | [
"BSD-3-Clause"
] | null | null | null | sorted_nearest/__init__.py | endrebak/sorted_nearest | cf99b8498cada089ecdb4cf565f5e3304591be0f | [
"BSD-3-Clause"
] | 3 | 2020-06-19T14:32:25.000Z | 2021-05-24T14:29:53.000Z | sorted_nearest/__init__.py | endrebak/sorted_nearest | cf99b8498cada089ecdb4cf565f5e3304591be0f | [
"BSD-3-Clause"
] | 2 | 2020-01-20T12:39:00.000Z | 2021-04-14T15:51:05.000Z | from sorted_nearest.src.sorted_nearest import (nearest_previous_nonoverlapping,
nearest_next_nonoverlapping,
nearest_nonoverlapping)
from sorted_nearest.src.k_nearest import k_nearest_previous_nonoverlapping, k_nearest_next_n... | 47.526316 | 105 | 0.801772 | 117 | 903 | 5.794872 | 0.239316 | 0.249263 | 0.300885 | 0.324484 | 0.271386 | 0.123894 | 0.123894 | 0 | 0 | 0 | 0 | 0 | 0.166113 | 903 | 18 | 106 | 50.166667 | 0.900398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d1c604eb4d4994fdea2e4d6ee023202a7971479 | 25 | py | Python | starry_process/ops/eigh/__init__.py | arfon/starry_process | 72b2a540e7e4fdb2e6af61507efa1c9861d5c919 | [
"MIT"
] | 13 | 2020-04-14T17:47:28.000Z | 2022-03-16T15:19:48.000Z | starry_process/ops/eigh/__init__.py | arfon/starry_process | 72b2a540e7e4fdb2e6af61507efa1c9861d5c919 | [
"MIT"
] | 22 | 2020-09-23T20:33:22.000Z | 2022-02-07T17:38:09.000Z | starry_process/ops/eigh/__init__.py | arfon/starry_process | 72b2a540e7e4fdb2e6af61507efa1c9861d5c919 | [
"MIT"
] | 8 | 2020-04-14T17:47:44.000Z | 2022-02-06T16:39:47.000Z | from .eigh import EighOp
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d2dd88c740d9da768d0440c065601e19e80a454 | 43 | py | Python | min2net/preprocessing/MW/__init__.py | deepanshi98/mlp-project | c4af1a86fad4e7d51ace0e183a5b02b32864e9e5 | [
"Apache-2.0"
] | null | null | null | min2net/preprocessing/MW/__init__.py | deepanshi98/mlp-project | c4af1a86fad4e7d51ace0e183a5b02b32864e9e5 | [
"Apache-2.0"
] | null | null | null | min2net/preprocessing/MW/__init__.py | deepanshi98/mlp-project | c4af1a86fad4e7d51ace0e183a5b02b32864e9e5 | [
"Apache-2.0"
] | 1 | 2022-02-28T21:08:32.000Z | 2022-02-28T21:08:32.000Z | from . import time_domain
from . import raw | 21.5 | 25 | 0.790698 | 7 | 43 | 4.714286 | 0.714286 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 26 | 21.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 | 6 |
5d44333e2a702ebbce3da35cc15d915b7d524981 | 44 | py | Python | mdpy/examples/boyan_chain.py | rldotai/mdpy | e4949c1a0fa7f5a1a0eaf028b180c851980284d7 | [
"MIT"
] | 14 | 2017-02-08T04:11:37.000Z | 2020-05-01T07:22:37.000Z | mdpy/examples/boyan_chain.py | rldotai/mdpy | e4949c1a0fa7f5a1a0eaf028b180c851980284d7 | [
"MIT"
] | null | null | null | mdpy/examples/boyan_chain.py | rldotai/mdpy | e4949c1a0fa7f5a1a0eaf028b180c851980284d7 | [
"MIT"
] | 3 | 2018-08-13T13:56:31.000Z | 2022-03-14T15:31:01.000Z | """Boyan's Chain MDP."""
import numpy as np
| 14.666667 | 24 | 0.659091 | 8 | 44 | 3.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 25 | 22 | 0.783784 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d638ee183cc9c732206781f41075be7975ecd4f | 74 | py | Python | n_utils/nameless-dt-enable-profile.py | Jalle19/nameless-deploy-tools | 755b00ac4c87611cc57cabc3b593c8cafce2498b | [
"Apache-2.0"
] | 10 | 2017-02-12T17:04:56.000Z | 2018-11-10T16:46:57.000Z | n_utils/nameless-dt-enable-profile.py | Jalle19/nameless-deploy-tools | 755b00ac4c87611cc57cabc3b593c8cafce2498b | [
"Apache-2.0"
] | 22 | 2017-04-06T11:41:01.000Z | 2019-09-18T05:45:03.000Z | n_utils/nameless-dt-enable-profile.py | Jalle19/nameless-deploy-tools | 755b00ac4c87611cc57cabc3b593c8cafce2498b | [
"Apache-2.0"
] | 4 | 2020-02-25T11:08:47.000Z | 2022-02-10T13:29:53.000Z | from n_utils.profile_util import cli_enable_profile
cli_enable_profile()
| 18.5 | 51 | 0.878378 | 12 | 74 | 4.916667 | 0.666667 | 0.305085 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 74 | 3 | 52 | 24.666667 | 0.867647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
539f18099231d1c60374443a6998aaef34d7dcc8 | 1,643 | py | Python | hasty/templater/forms.py | NREL/hasty | 3beb041813ee92ba8942121d8e33c6b025eea448 | [
"BSD-3-Clause"
] | 4 | 2020-10-09T19:30:04.000Z | 2020-11-23T10:05:43.000Z | hasty/templater/forms.py | NREL/hasty | 3beb041813ee92ba8942121d8e33c6b025eea448 | [
"BSD-3-Clause"
] | 29 | 2021-01-28T14:03:05.000Z | 2022-02-03T18:21:09.000Z | hasty/templater/forms.py | NREL/haste | 18e4941d933a90a53c162a64993ff46608a7128f | [
"BSD-3-Clause"
] | null | null | null | from django import forms
from . import models
from mapp.models import HaystackPointType, HaystackEquipmentType, BrickPointType, BrickEquipmentType
class HaystackEquipmentTemplateForm(forms.ModelForm):
equipment_type = forms.ModelChoiceField(queryset=HaystackEquipmentType.objects.order_by('haystack_tagset'))
p... | 41.075 | 122 | 0.785758 | 143 | 1,643 | 8.832168 | 0.265734 | 0.044339 | 0.072842 | 0.085511 | 0.706255 | 0.706255 | 0.706255 | 0.706255 | 0.706255 | 0.706255 | 0 | 0 | 0.125989 | 1,643 | 39 | 123 | 42.128205 | 0.879526 | 0 | 0 | 0.592593 | 0 | 0 | 0.048691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.703704 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
53b8f2f2e36005bebff39507b2be8cb7f28ec9cf | 85 | py | Python | modules/tinyexr/config.py | codetorex/godot | 3f6a7c74e3ebb3d8e0e204c8a68d110c5dc3991d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 222 | 2018-09-10T17:52:03.000Z | 2022-03-24T04:55:19.000Z | modules/tinyexr/config.py | codetorex/godot | 3f6a7c74e3ebb3d8e0e204c8a68d110c5dc3991d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 27 | 2022-01-06T06:31:25.000Z | 2022-03-29T01:18:01.000Z | modules/tinyexr/config.py | codetorex/godot | 3f6a7c74e3ebb3d8e0e204c8a68d110c5dc3991d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 26 | 2019-04-12T11:21:26.000Z | 2022-03-11T00:20:53.000Z | def can_build(env, platform):
return env["tools"]
def configure(env):
pass
| 12.142857 | 29 | 0.658824 | 12 | 85 | 4.583333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211765 | 85 | 6 | 30 | 14.166667 | 0.820896 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.25 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
54df5d7c78b9133e5d2fdb31ea7de15a265b112a | 115 | py | Python | fuse/utils/multiprocessing/__init__.py | alexgo1/fuse-med-ml | 928375828ff321d2bf7b2084389e34e1db0682e9 | [
"Apache-2.0"
] | null | null | null | fuse/utils/multiprocessing/__init__.py | alexgo1/fuse-med-ml | 928375828ff321d2bf7b2084389e34e1db0682e9 | [
"Apache-2.0"
] | null | null | null | fuse/utils/multiprocessing/__init__.py | alexgo1/fuse-med-ml | 928375828ff321d2bf7b2084389e34e1db0682e9 | [
"Apache-2.0"
] | null | null | null | from .run_multiprocessed import run_multiprocessed, get_from_global_storage
from .helpers import get_chunks_ranges
| 38.333333 | 75 | 0.895652 | 16 | 115 | 6 | 0.625 | 0.354167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 115 | 2 | 76 | 57.5 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54e087ff6072702ad9c12b994ace0c66c8d8209d | 43 | py | Python | app/routes.py | xujl930/wechat-shift-car | db0d064d021b3f59a1c08bcd131e300a52f1035d | [
"MIT"
] | null | null | null | app/routes.py | xujl930/wechat-shift-car | db0d064d021b3f59a1c08bcd131e300a52f1035d | [
"MIT"
] | null | null | null | app/routes.py | xujl930/wechat-shift-car | db0d064d021b3f59a1c08bcd131e300a52f1035d | [
"MIT"
] | null | null | null | # -*- coding:utf8 -*-
from . import page
| 8.6 | 21 | 0.55814 | 5 | 43 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.232558 | 43 | 4 | 22 | 10.75 | 0.69697 | 0.44186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54e0920b8f2ae45ce30cb6e9e7e610aa42bff8da | 68 | py | Python | termy/__main__.py | dingusagar/termy | 599185beaa15dbd1f188429e8426bfd1642452ee | [
"MIT"
] | 1 | 2022-01-13T19:45:28.000Z | 2022-01-13T19:45:28.000Z | termy/__main__.py | dingusagar/termy | 599185beaa15dbd1f188429e8426bfd1642452ee | [
"MIT"
] | null | null | null | termy/__main__.py | dingusagar/termy | 599185beaa15dbd1f188429e8426bfd1642452ee | [
"MIT"
] | null | null | null | from termy.controller.controller import init_cli_app
init_cli_app() | 22.666667 | 52 | 0.867647 | 11 | 68 | 5 | 0.636364 | 0.254545 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 68 | 3 | 53 | 22.666667 | 0.873016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
072b305252872a169ba4318f26c9d6af7d155712 | 11,691 | py | Python | tests/callbacks/test_torch_scheduler.py | NunoEdgarGFlowHub/torchbearer | d2b21b8ffcabde5b505cb1c736e05af6ee4276ca | [
"MIT"
] | null | null | null | tests/callbacks/test_torch_scheduler.py | NunoEdgarGFlowHub/torchbearer | d2b21b8ffcabde5b505cb1c736e05af6ee4276ca | [
"MIT"
] | null | null | null | tests/callbacks/test_torch_scheduler.py | NunoEdgarGFlowHub/torchbearer | d2b21b8ffcabde5b505cb1c736e05af6ee4276ca | [
"MIT"
] | null | null | null | from unittest import TestCase
from mock import patch, Mock
import warnings
import torchbearer
from torchbearer.callbacks import TorchScheduler, LambdaLR, StepLR, MultiStepLR, ExponentialLR, CosineAnnealingLR,\
ReduceLROnPlateau, CyclicLR
class TestTorchScheduler(TestCase):
def setUp(self):
super(Test... | 41.457447 | 152 | 0.688649 | 1,424 | 11,691 | 5.338483 | 0.087781 | 0.119705 | 0.07156 | 0.054986 | 0.877006 | 0.870692 | 0.838858 | 0.828335 | 0.825178 | 0.812155 | 0 | 0.015529 | 0.206826 | 11,691 | 281 | 153 | 41.604982 | 0.80427 | 0.001967 | 0 | 0.668269 | 0 | 0 | 0.067204 | 0.021858 | 0 | 0 | 0 | 0 | 0.206731 | 1 | 0.081731 | false | 0 | 0.033654 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
074a844ea59efc9bfea92299eaeabb23a03851f3 | 177 | py | Python | cocutils/__init__.py | zhs007/cocutils | ca8fa1e21570793dfd732143cfc577accfa3a8da | [
"Apache-2.0"
] | null | null | null | cocutils/__init__.py | zhs007/cocutils | ca8fa1e21570793dfd732143cfc577accfa3a8da | [
"Apache-2.0"
] | null | null | null | cocutils/__init__.py | zhs007/cocutils | ca8fa1e21570793dfd732143cfc577accfa3a8da | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
from cocutils.utils import procDataFrame
from cocutils.dumpsc import dumpsc
from cocutils.dumpsc2 import sc2png
from cocutils.pathutils import findAllFile | 35.4 | 42 | 0.819209 | 23 | 177 | 6.304348 | 0.565217 | 0.331034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018987 | 0.107345 | 177 | 5 | 42 | 35.4 | 0.898734 | 0.112994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab2e0812f377f79b7363bb522602eaf6240557e6 | 30 | py | Python | schema_org/schema_org/sotools/__init__.py | DataONEorg/d1_ncei_adapter | 34dd4ed9d581d259a70d7c9a884f520226dd2691 | [
"Apache-2.0"
] | 1 | 2019-06-19T02:41:02.000Z | 2019-06-19T02:41:02.000Z | schema_org/schema_org/sotools/__init__.py | DataONEorg/d1_ncei_adapter | 34dd4ed9d581d259a70d7c9a884f520226dd2691 | [
"Apache-2.0"
] | 7 | 2019-06-24T20:21:51.000Z | 2022-01-07T13:06:07.000Z | schema_org/schema_org/sotools/__init__.py | DataONEorg/d1_ncei_adapter | 34dd4ed9d581d259a70d7c9a884f520226dd2691 | [
"Apache-2.0"
] | 3 | 2017-04-17T13:24:20.000Z | 2019-05-28T18:32:27.000Z | """
"""
from .common import * | 7.5 | 21 | 0.533333 | 3 | 30 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 30 | 4 | 21 | 7.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab3c77e52b9ec1578c4973911fbb7a7854636ad3 | 4,792 | py | Python | gesture_box.py | Grivois/Bibliomancy | 38db6a25a652e722327cf7c80e56c41d6d18cd20 | [
"MIT"
] | null | null | null | gesture_box.py | Grivois/Bibliomancy | 38db6a25a652e722327cf7c80e56c41d6d18cd20 | [
"MIT"
] | null | null | null | gesture_box.py | Grivois/Bibliomancy | 38db6a25a652e722327cf7c80e56c41d6d18cd20 | [
"MIT"
] | null | null | null |
from kivy.gesture import GestureDatabase
from kivy.uix.boxlayout import BoxLayout
from kivy.gesture import Gesture
gesture_strings = {
'left_to_right_line': 'eNq1mE1y3DYQhfe8iLXRFPofuICyTZUOkFLsKVllR5qSxkl8+zS7ZWWaFYfYaDajeQQf8PUDAVBXD18e/vx+uD++nL89H5dfXr9Pbbn6dILl9sPj3R/HD8sJ/U//ouXl9sPL+fnpy/HFf/Jy9fUky9V/mt... | 81.220339 | 1,509 | 0.834098 | 378 | 4,792 | 10.431217 | 0.518519 | 0.010652 | 0.019275 | 0.013695 | 0.025869 | 0.019275 | 0.019275 | 0.019275 | 0.019275 | 0 | 0 | 0.092562 | 0.104967 | 4,792 | 58 | 1,510 | 82.62069 | 0.826766 | 0.122287 | 0 | 0.054054 | 0 | 0.054054 | 0.662136 | 0.637101 | 0 | 1 | 0 | 0 | 0 | 1 | 0.162162 | false | 0.054054 | 0.081081 | 0 | 0.27027 | 0.027027 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ab3e59140ee6cd8ea6f8a6f465b1af1ad30bc3f3 | 273 | py | Python | tests/conftest.py | aerogear/androidctl | f057117a893b2e24f47218b98ebf2e4552502eae | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | aerogear/androidctl | f057117a893b2e24f47218b98ebf2e4552502eae | [
"Apache-2.0"
] | 3 | 2017-08-11T08:27:34.000Z | 2021-06-01T22:46:14.000Z | tests/conftest.py | aerogear/androidctl | f057117a893b2e24f47218b98ebf2e4552502eae | [
"Apache-2.0"
] | 1 | 2017-08-10T13:42:05.000Z | 2017-08-10T13:42:05.000Z | import os
import pytest
@pytest.fixture
def cwd():
return os.path.dirname(os.path.realpath(__file__))
@pytest.fixture
def android_home(cwd):
return '%s/fixtures/android-sdk-linux' % cwd
@pytest.fixture
def props_path(cwd):
return '%s/fixtures/props.cfg' % cwd
| 14.368421 | 52 | 0.728938 | 41 | 273 | 4.707317 | 0.463415 | 0.202073 | 0.248705 | 0.186529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 273 | 18 | 53 | 15.166667 | 0.814346 | 0 | 0 | 0.272727 | 0 | 0 | 0.18315 | 0.18315 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
db81b8b0b0c15d1780e9f7c904d9dc18cfa4b8f8 | 133 | py | Python | checkstyle_filter/git/__init__.py | GengroHirano/GithubCheckReporter | ef8ac9121f24931393e6405fa8a9533cc311aeb7 | [
"MIT"
] | null | null | null | checkstyle_filter/git/__init__.py | GengroHirano/GithubCheckReporter | ef8ac9121f24931393e6405fa8a9533cc311aeb7 | [
"MIT"
] | null | null | null | checkstyle_filter/git/__init__.py | GengroHirano/GithubCheckReporter | ef8ac9121f24931393e6405fa8a9533cc311aeb7 | [
"MIT"
] | null | null | null | # ヘヴィノコー
# __
# /◎_ヽ
# |<゚Д゚)~
# |ヽ /⌒/⌒/ (ノ_|⊃
# | ソ ノ ノ /_ノ
# ヽ_人_人_/∪∪
# link: http://heno2.com/2ch/v.php?21036
| 14.777778 | 40 | 0.37594 | 27 | 133 | 1.962963 | 0.703704 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 0.300752 | 133 | 8 | 41 | 16.625 | 0.44086 | 0.87218 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dbb33ea7a680eb375ff998661db53618c8c72ce3 | 47 | py | Python | esl/economics/accounting/__init__.py | vishalbelsare/ESL | cea6feda1e588d5f441742dbb1e4c5479b47d357 | [
"Apache-2.0"
] | 37 | 2019-10-13T12:23:32.000Z | 2022-03-19T10:40:29.000Z | esl/economics/accounting/__init__.py | vishalbelsare/ESL | cea6feda1e588d5f441742dbb1e4c5479b47d357 | [
"Apache-2.0"
] | 3 | 2020-03-20T04:44:06.000Z | 2021-01-12T06:18:33.000Z | esl/economics/accounting/__init__.py | vishalbelsare/ESL | cea6feda1e588d5f441742dbb1e4c5479b47d357 | [
"Apache-2.0"
] | 10 | 2019-11-06T15:59:06.000Z | 2021-08-09T17:28:24.000Z | from esl._esl._economics._accounting import *
| 15.666667 | 45 | 0.808511 | 6 | 47 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 2 | 46 | 23.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dbd9ae6e48e16e9c98f1173b8b568444c437512d | 80 | py | Python | backend/crypto/__init__.py | falso-de-verdade/api | 48bdb4d850f12218f2750767d3cbe9860f2a26a2 | [
"MIT"
] | null | null | null | backend/crypto/__init__.py | falso-de-verdade/api | 48bdb4d850f12218f2750767d3cbe9860f2a26a2 | [
"MIT"
] | 7 | 2020-11-26T15:36:24.000Z | 2020-12-05T03:01:00.000Z | backend/crypto/__init__.py | falso-de-verdade/api | 48bdb4d850f12218f2750767d3cbe9860f2a26a2 | [
"MIT"
] | 1 | 2020-11-22T22:31:21.000Z | 2020-11-22T22:31:21.000Z | from .token import generate_token
from .hashing import default_backend as hasher | 40 | 46 | 0.8625 | 12 | 80 | 5.583333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 80 | 2 | 46 | 40 | 0.943662 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91b4131ffff5d248cdfde07d448a6b4030886e89 | 112 | py | Python | jmanager/utils.py | tiliaio/jmanager-python | 084f6a6c2e91d21e4b03645af2423fc0927eaf92 | [
"MIT"
] | 1 | 2020-06-17T20:01:16.000Z | 2020-06-17T20:01:16.000Z | jmanager/utils.py | tiliaio/jmanager-python | 084f6a6c2e91d21e4b03645af2423fc0927eaf92 | [
"MIT"
] | null | null | null | jmanager/utils.py | tiliaio/jmanager-python | 084f6a6c2e91d21e4b03645af2423fc0927eaf92 | [
"MIT"
] | 1 | 2020-06-25T21:14:17.000Z | 2020-06-25T21:14:17.000Z | def get_module_name(module_name):
if len(module_name) > 3:
return module_name[:-3].replace(' ', '_') | 37.333333 | 49 | 0.642857 | 16 | 112 | 4.125 | 0.5625 | 0.606061 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.1875 | 112 | 3 | 49 | 37.333333 | 0.703297 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
91b9f278aed6a8be57d95112c4126496621e17c5 | 195 | py | Python | LintCode/001. A+B Problem.py | QinganZhao/LXXtCode | 9debb10f9d33dcdb3def9d141a638b8172d25ff3 | [
"MIT"
] | 3 | 2019-01-08T02:53:44.000Z | 2021-07-26T07:03:27.000Z | LintCode/001. A+B Problem.py | QinganZhao/LXXtCode | 9debb10f9d33dcdb3def9d141a638b8172d25ff3 | [
"MIT"
] | null | null | null | LintCode/001. A+B Problem.py | QinganZhao/LXXtCode | 9debb10f9d33dcdb3def9d141a638b8172d25ff3 | [
"MIT"
] | null | null | null | class Solution:
"""
@param a: An integer
@param b: An integer
@return: The sum of a and b
"""
def aplusb(self, a, b):
# write your code here
return a + b
| 19.5 | 32 | 0.523077 | 29 | 195 | 3.517241 | 0.655172 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.374359 | 195 | 9 | 33 | 21.666667 | 0.836066 | 0.471795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
37d0f7c8279fd6e67906c06ff64fb4ba75f2ef92 | 116 | py | Python | pydashlite/__init__.py | glowlex/pydashlite | cbc96478fa610aeae95b5584b406aa0c35b89db1 | [
"MIT"
] | null | null | null | pydashlite/__init__.py | glowlex/pydashlite | cbc96478fa610aeae95b5584b406aa0c35b89db1 | [
"MIT"
] | null | null | null | pydashlite/__init__.py | glowlex/pydashlite | cbc96478fa610aeae95b5584b406aa0c35b89db1 | [
"MIT"
] | null | null | null | from .arrays import *
from .objects import *
from .collections import *
from .tools import *
from .strings import *
| 19.333333 | 26 | 0.741379 | 15 | 116 | 5.733333 | 0.466667 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 116 | 5 | 27 | 23.2 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
37ff8aa02aaa5b23ebe2d79e09f6b75fe7869dce | 247 | py | Python | config.py | purin52002/RepeatColab | 664317bf1f49c8d2e023a5d665e7d0de8178d683 | [
"MIT"
] | null | null | null | config.py | purin52002/RepeatColab | 664317bf1f49c8d2e023a5d665e7d0de8178d683 | [
"MIT"
] | null | null | null | config.py | purin52002/RepeatColab | 664317bf1f49c8d2e023a5d665e7d0de8178d683 | [
"MIT"
] | 1 | 2020-01-18T03:30:27.000Z | 2020-01-18T03:30:27.000Z | class UserPlofile:
dir_path = 'user_plofile'
class ColabPath:
train = 'https://colab.research.google.com/drive/1padoMj3dW0lr9nkko2384XXXD37dVhDE'
evacuate = 'https://colab.research.google.com/drive/1idRwx4c_5PcxpLmj0ZIyIG9BaLXnQAS8'
| 30.875 | 90 | 0.781377 | 25 | 247 | 7.6 | 0.72 | 0.105263 | 0.189474 | 0.252632 | 0.336842 | 0.336842 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 0.109312 | 247 | 7 | 91 | 35.285714 | 0.790909 | 0 | 0 | 0 | 0 | 0 | 0.639676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
531d61953ef4417e6d4a360305487b7d18f341d4 | 178 | py | Python | src/lesson04/super_calc.py | robert-abela/python | 2880f6a08cd58072c4e7d4dd8f4b449f9fa5a3d9 | [
"MIT"
] | 2 | 2018-11-07T17:19:42.000Z | 2019-09-21T06:15:36.000Z | src/lesson04/super_calc.py | robert-abela/python | 2880f6a08cd58072c4e7d4dd8f4b449f9fa5a3d9 | [
"MIT"
] | null | null | null | src/lesson04/super_calc.py | robert-abela/python | 2880f6a08cd58072c4e7d4dd8f4b449f9fa5a3d9 | [
"MIT"
] | 1 | 2018-10-23T06:16:17.000Z | 2018-10-23T06:16:17.000Z | def superCalc(n1, n2):
print(n1 + n2)
print(n1 - n2)
print(n1 * n2)
print(n1 / n2)
n1 = int(input("enter n1: "))
n2 = int(input("enter n2: "))
superCalc(n1, n2)
| 17.8 | 29 | 0.55618 | 29 | 178 | 3.413793 | 0.275862 | 0.282828 | 0.363636 | 0.444444 | 0.40404 | 0.40404 | 0.40404 | 0.40404 | 0.40404 | 0.40404 | 0 | 0.119403 | 0.247191 | 178 | 9 | 30 | 19.777778 | 0.619403 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.125 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5352ea4f30ce56cb4863f2049b64da3bf6bae524 | 3,295 | py | Python | public_apis/Categories/Entertainment/aakhilv.py | osam7a/public-apis | 7b21c77999a9ed47cc8430ad6a6d6c997150dfc7 | [
"MIT"
] | null | null | null | public_apis/Categories/Entertainment/aakhilv.py | osam7a/public-apis | 7b21c77999a9ed47cc8430ad6a6d6c997150dfc7 | [
"MIT"
] | null | null | null | public_apis/Categories/Entertainment/aakhilv.py | osam7a/public-apis | 7b21c77999a9ed47cc8430ad6a6d6c997150dfc7 | [
"MIT"
] | null | null | null | import aiohttp
import requests
class Response:
def __init__(self, **kwargs):
for k, v in kwargs.items():
setattr(self, k, v)
class Fun:
def __init__(self):
self.base_url = 'https://api.aakhilv.me'
# Aliasing
self.wyr = self.would_you_rather
self.async_wyr = ... | 35.815217 | 81 | 0.511077 | 396 | 3,295 | 4.083333 | 0.171717 | 0.044527 | 0.054422 | 0.044527 | 0.808287 | 0.805813 | 0.805813 | 0.771181 | 0.761905 | 0.715523 | 0 | 0.027683 | 0.375114 | 3,295 | 92 | 82 | 35.815217 | 0.757649 | 0.002428 | 0 | 0.604938 | 0 | 0 | 0.123554 | 0.02678 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.024691 | 0 | 0.234568 | 0.024691 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
535e9d3cb399f836eab47dec87731c5e79929d2a | 6,321 | py | Python | h2o-py/tests/testdir_algos/automl/pyunit_automl_input.py | vishalbelsare/h2o-3 | 9322fb0f4c0e2358449e339a434f607d524c69fa | [
"Apache-2.0"
] | 1 | 2022-03-15T06:08:14.000Z | 2022-03-15T06:08:14.000Z | h2o-py/tests/testdir_algos/automl/pyunit_automl_input.py | vishalbelsare/h2o-3 | 9322fb0f4c0e2358449e339a434f607d524c69fa | [
"Apache-2.0"
] | 58 | 2021-10-01T12:43:37.000Z | 2021-12-08T22:58:43.000Z | h2o-py/tests/testdir_algos/automl/pyunit_automl_input.py | vishalbelsare/h2o-3 | 9322fb0f4c0e2358449e339a434f607d524c69fa | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
import sys, os
sys.path.insert(1, os.path.join("..","..",".."))
import h2o
from h2o.automl import H2OAutoML
from tests import pyunit_utils as pu
from _automl_utils import import_dataset
max_models = 2
def test_invalid_project_name():
print("Check constructor raises error i... | 47.886364 | 155 | 0.726151 | 1,002 | 6,321 | 4.341317 | 0.123753 | 0.062069 | 0.055172 | 0.057471 | 0.855402 | 0.816552 | 0.807816 | 0.775172 | 0.736552 | 0.718161 | 0 | 0.033251 | 0.167379 | 6,321 | 131 | 156 | 48.251908 | 0.793274 | 0 | 0 | 0.409091 | 0 | 0 | 0.288246 | 0.003322 | 0 | 0 | 0 | 0 | 0.309091 | 1 | 0.063636 | false | 0.027273 | 0.109091 | 0 | 0.172727 | 0.163636 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5364ec98ee652d5dfd5affdff9b4e816eefd4ca1 | 96 | py | Python | backend/app/app/models/__init__.py | levakin/netmon | 7d071824a16084be0dc87d85405ab7a27af3d2c1 | [
"Apache-2.0"
] | 1 | 2020-07-14T06:21:59.000Z | 2020-07-14T06:21:59.000Z | backend/app/app/models/__init__.py | levakin/netmon | 7d071824a16084be0dc87d85405ab7a27af3d2c1 | [
"Apache-2.0"
] | null | null | null | backend/app/app/models/__init__.py | levakin/netmon | 7d071824a16084be0dc87d85405ab7a27af3d2c1 | [
"Apache-2.0"
] | 1 | 2021-11-28T10:32:33.000Z | 2021-11-28T10:32:33.000Z | from .machine import Machine
from .machine_process import MachineProcess
from .user import User
| 24 | 43 | 0.84375 | 13 | 96 | 6.153846 | 0.461538 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 96 | 3 | 44 | 32 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5364f42d514af2198a727acebba0ae482e318051 | 2,071 | py | Python | tests/terraform/checks/resource/aws/test_ALBListenerHTTPS.py | rajivshah3/checkov | c6a6eca21bedae50574814c92973b65d2d963581 | [
"Apache-2.0"
] | 1 | 2021-02-16T15:07:29.000Z | 2021-02-16T15:07:29.000Z | tests/terraform/checks/resource/aws/test_ALBListenerHTTPS.py | rajivshah3/checkov | c6a6eca21bedae50574814c92973b65d2d963581 | [
"Apache-2.0"
] | null | null | null | tests/terraform/checks/resource/aws/test_ALBListenerHTTPS.py | rajivshah3/checkov | c6a6eca21bedae50574814c92973b65d2d963581 | [
"Apache-2.0"
] | null | null | null | import unittest
from checkov.terraform.checks.resource.aws.ALBListenerHTTPS import check
from checkov.common.models.enums import CheckResult
class TestALBListenerHTTPS(unittest.TestCase):
def test_success_redirect(self):
resource_conf = {'load_balancer_arn': ['${aws_lb.front_end.arn}'], 'port': ['80'], ... | 42.265306 | 115 | 0.666828 | 247 | 2,071 | 5.242915 | 0.222672 | 0.166795 | 0.074131 | 0.092664 | 0.742857 | 0.742857 | 0.742857 | 0.742857 | 0.742857 | 0.742857 | 0 | 0.011105 | 0.173829 | 2,071 | 48 | 116 | 43.145833 | 0.745763 | 0 | 0 | 0.34375 | 0 | 0 | 0.208595 | 0.066634 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.1875 | false | 0.15625 | 0.09375 | 0 | 0.3125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
727be39c90a71ec9908777f6a8751ba14f6a4f10 | 57 | py | Python | test/__main__.py | fantastic001/papertrack | f5a13ccabf1836a60020eb65e2e998b6ba33d8bd | [
"MIT"
] | null | null | null | test/__main__.py | fantastic001/papertrack | f5a13ccabf1836a60020eb65e2e998b6ba33d8bd | [
"MIT"
] | null | null | null | test/__main__.py | fantastic001/papertrack | f5a13ccabf1836a60020eb65e2e998b6ba33d8bd | [
"MIT"
] | null | null | null | import unittest
from test import *
unittest.main()
| 7.125 | 19 | 0.701754 | 7 | 57 | 5.714286 | 0.714286 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22807 | 57 | 7 | 20 | 8.142857 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
72954853ffbb71be5149f5423f44905f30330f83 | 3,665 | py | Python | DrivingPerformance/general/stopPerf.py | ahmedkrmn/AirSim | 527c8d794df37d5714cfe661a2618945123c4d9c | [
"MIT"
] | null | null | null | DrivingPerformance/general/stopPerf.py | ahmedkrmn/AirSim | 527c8d794df37d5714cfe661a2618945123c4d9c | [
"MIT"
] | 4 | 2020-03-05T15:42:17.000Z | 2020-03-19T05:37:58.000Z | DrivingPerformance/rank1/road4R/stopPerf.py | ahmedkrmn/AirSim | 527c8d794df37d5714cfe661a2618945123c4d9c | [
"MIT"
] | null | null | null | # Helper function to get the stop sign performance with moving left.
def StopSignLeft(stopPlace, flag, x, y, Speed, prev_perf):
place = stopPlace[1][0]
Boundary1 = [[stopPlace[0][0], stopPlace[0][1]], [place-13, place-3]]
Boundary2 = [[stopPlace[0][0], stopPlace[0][1]], [place-36, place-26]]
Boundary3 ... | 64.298246 | 133 | 0.603274 | 606 | 3,665 | 3.618812 | 0.075908 | 0.049248 | 0.02052 | 0.05472 | 0.922937 | 0.922937 | 0.882809 | 0.882809 | 0.825353 | 0.713178 | 0 | 0.107713 | 0.196999 | 3,665 | 57 | 134 | 64.298246 | 0.637445 | 0.055116 | 0 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0 | 0 | 0.352941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72c6bec97a21582369fc540a78d172be5fcee071 | 48,276 | py | Python | parsetab.py | jtyuan/racetrack | b2ab4481bff71cf68a2e206a52847273aa62a599 | [
"BSD-3-Clause"
] | null | null | null | parsetab.py | jtyuan/racetrack | b2ab4481bff71cf68a2e206a52847273aa62a599 | [
"BSD-3-Clause"
] | null | null | null | parsetab.py | jtyuan/racetrack | b2ab4481bff71cf68a2e206a52847273aa62a599 | [
"BSD-3-Clause"
] | null | null | null |
# parsetab.py
# This file is automatically generated. Do not edit.
_tabversion = '3.2'
_lr_method = 'LALR'
_lr_signature = '8HR\xee\xd8K\xc1gX\xbc\x8cr\x1fy\xf4#'
_lr_action_items = {'PEEK':([115,157,159,173,202,225,257,315,330,334,356,358,359,360,362,366,367,],[142,142,-90,-75,-74,-81,-89,-82,-87,-91,-83,-85,-... | 294.365854 | 23,349 | 0.688562 | 10,047 | 48,276 | 3.245347 | 0.063103 | 0.028768 | 0.057535 | 0.090413 | 0.677084 | 0.645157 | 0.620591 | 0.59897 | 0.590505 | 0.581979 | 0 | 0.394855 | 0.026494 | 48,276 | 163 | 23,350 | 296.171779 | 0.298934 | 0.001284 | 0 | 0.012987 | 1 | 0.87013 | 0.354989 | 0.207696 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72de367388f2994444139ddcab1a4cb1ccb610de | 901 | py | Python | tvsched/application/models/auth.py | astsu-dev/tv-schedule | 1cea36147e66b7163df6f7098cfda4d43f3bdde2 | [
"MIT"
] | null | null | null | tvsched/application/models/auth.py | astsu-dev/tv-schedule | 1cea36147e66b7163df6f7098cfda4d43f3bdde2 | [
"MIT"
] | null | null | null | tvsched/application/models/auth.py | astsu-dev/tv-schedule | 1cea36147e66b7163df6f7098cfda4d43f3bdde2 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
import uuid
from tvsched.entities.auth import Role
@dataclass(frozen=True)
class UserAdd:
"""Data for register user with USER role."""
username: str
password: str
@dataclass(frozen=True)
class UserWithRoleAdd:
"""Data for register user with specific role."""
... | 15.807018 | 52 | 0.672586 | 115 | 901 | 5.252174 | 0.321739 | 0.149007 | 0.188742 | 0.238411 | 0.569536 | 0.402318 | 0.402318 | 0.344371 | 0.192053 | 0.192053 | 0 | 0 | 0.226415 | 901 | 56 | 53 | 16.089286 | 0.866571 | 0.214206 | 0 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.16129 | 0.096774 | 0 | 0.806452 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
72f4036a3eb4241cf66b34ced4c87979babd994c | 2,538 | py | Python | EdgyBoneTools/BoneScripts/FlipBones.py | herr-edgy/EdgyBoneTools | 5ddaa57e85ac2795f9f6e7c1b936b1d6251d2c91 | [
"MIT"
] | null | null | null | EdgyBoneTools/BoneScripts/FlipBones.py | herr-edgy/EdgyBoneTools | 5ddaa57e85ac2795f9f6e7c1b936b1d6251d2c91 | [
"MIT"
] | null | null | null | EdgyBoneTools/BoneScripts/FlipBones.py | herr-edgy/EdgyBoneTools | 5ddaa57e85ac2795f9f6e7c1b936b1d6251d2c91 | [
"MIT"
] | null | null | null | import bpy
import math
from math import radians
from mathutils import Matrix
def FlipBoneXY():
bones = bpy.context.selected_editable_bones
if len(bones) == 0:
raise RuntimeError("No bones selected in edit mode!")
bpy.context.scene.transform_orientation_slots[0].type = 'NORMAL'
bpy.context.scen... | 32.126582 | 80 | 0.6316 | 339 | 2,538 | 4.59882 | 0.179941 | 0.064144 | 0.040411 | 0.062861 | 0.887749 | 0.860808 | 0.860808 | 0.844131 | 0.844131 | 0.844131 | 0 | 0.017516 | 0.257683 | 2,538 | 79 | 81 | 32.126582 | 0.809979 | 0.090623 | 0 | 0.696429 | 0 | 0 | 0.085254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.142857 | 0.053571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
beab8aaa6b1b9547658d8de8589ece2fa0df7b7b | 43 | py | Python | quantumnetworks/utils/__init__.py | Phionx/quantumnetworks | 9e89cac61cdbc1885689336cd31bb5f7dbdde22a | [
"MIT"
] | 7 | 2021-11-22T18:45:00.000Z | 2022-02-21T16:01:10.000Z | quantumnetworks/utils/__init__.py | Phionx/quantumnetworks | 9e89cac61cdbc1885689336cd31bb5f7dbdde22a | [
"MIT"
] | 35 | 2021-09-29T08:05:35.000Z | 2022-02-20T02:11:15.000Z | quantumnetworks/utils/__init__.py | Phionx/quantumnetworks | 9e89cac61cdbc1885689336cd31bb5f7dbdde22a | [
"MIT"
] | 1 | 2022-02-01T18:05:34.000Z | 2022-02-01T18:05:34.000Z | """
Utils
"""
from .visualization import *
| 8.6 | 28 | 0.651163 | 4 | 43 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 4 | 29 | 10.75 | 0.777778 | 0.116279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe66c6a06cee0320dc2867e805317f7362e3f7b2 | 90,427 | py | Python | notebooks-text-format/gan_tricks.py | arpitvaghela/probml-notebooks | 32ecb309dd474b989fd1c6ce4ad6dab7a25bbead | [
"MIT"
] | 166 | 2021-07-16T17:33:09.000Z | 2022-03-30T03:35:34.000Z | notebooks-text-format/gan_tricks.py | arpitvaghela/probml-notebooks | 32ecb309dd474b989fd1c6ce4ad6dab7a25bbead | [
"MIT"
] | 29 | 2021-07-21T16:31:51.000Z | 2022-03-31T19:50:13.000Z | notebooks-text-format/gan_tricks.py | arpitvaghela/probml-notebooks | 32ecb309dd474b989fd1c6ce4ad6dab7a25bbead | [
"MIT"
] | 48 | 2021-07-17T08:26:18.000Z | 2022-03-31T03:36:18.000Z | # -*- coding: utf-8 -*-
# ---
# jupyter:
# jupytext:
# text_representation:
# extension: .py
# format_name: light
# format_version: '1.5'
# jupytext_version: 1.11.3
# kernelspec:
# display_name: Python 3
# name: python3
# ---
# + [markdown] id="vbK-ql3_xq5D"
# # 5+n tricks for G... | 674.828358 | 83,058 | 0.943103 | 4,072 | 90,427 | 20.922151 | 0.798379 | 0.000751 | 0.001068 | 0.001127 | 0.00628 | 0.005517 | 0.005517 | 0.001855 | 0.001855 | 0.001033 | 0 | 0.160806 | 0.013215 | 90,427 | 133 | 83,059 | 679.902256 | 0.793953 | 0.997047 | 0 | null | 0 | null | 0 | 0 | null | 1 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
feafba27e2318b4bcb303712dcb12664aa9444c6 | 35 | py | Python | awpy/__init__.py | kamnsv/awpy | 132a0d75d76553e8ad52c5e1ea7e942e12f52ad6 | [
"MIT"
] | 18 | 2022-02-04T00:06:43.000Z | 2022-03-23T00:55:18.000Z | awpy/__init__.py | kamnsv/awpy | 132a0d75d76553e8ad52c5e1ea7e942e12f52ad6 | [
"MIT"
] | 7 | 2022-02-04T00:06:48.000Z | 2022-02-23T16:50:19.000Z | awpy/__init__.py | kamnsv/awpy | 132a0d75d76553e8ad52c5e1ea7e942e12f52ad6 | [
"MIT"
] | 4 | 2022-02-05T04:22:53.000Z | 2022-03-20T12:56:41.000Z | from awpy.parser import DemoParser
| 17.5 | 34 | 0.857143 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
feb372918686f3d53517a56b1e2edf88824404cc | 47 | py | Python | network/v5/__init__.py | houzeyu2683/DIWM | d31e5bd7bc52215c9440d13046304dfef0b25463 | [
"MIT"
] | null | null | null | network/v5/__init__.py | houzeyu2683/DIWM | d31e5bd7bc52215c9440d13046304dfef0b25463 | [
"MIT"
] | null | null | null | network/v5/__init__.py | houzeyu2683/DIWM | d31e5bd7bc52215c9440d13046304dfef0b25463 | [
"MIT"
] | null | null | null |
from .model import *
from .machine import *
| 7.833333 | 22 | 0.680851 | 6 | 47 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 47 | 5 | 23 | 9.4 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22ca35bf3d3a8b7a63fe2a8f098304d082ab6e89 | 1,067 | py | Python | env/lib/python2.7/sre_compile.py | essien1990/Flask-Mysqldb | e0917b90c45a0aaf922bfa672ddb479cb450a02d | [
"MIT"
] | null | null | null | env/lib/python2.7/sre_compile.py | essien1990/Flask-Mysqldb | e0917b90c45a0aaf922bfa672ddb479cb450a02d | [
"MIT"
] | 6 | 2020-06-05T22:57:03.000Z | 2021-06-10T18:48:39.000Z | env/lib/python2.7/sre_compile.py | essien1990/Flask-Mysqldb | e0917b90c45a0aaf922bfa672ddb479cb450a02d | [
"MIT"
] | 1 | 2021-12-16T17:09:52.000Z | 2021-12-16T17:09:52.000Z | XSym
0078
270dc93767ee01f3df4e18ba5a05669f
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sre_compile.py
... | 213.4 | 945 | 0.099344 | 16 | 1,067 | 6.5625 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237288 | 0.88941 | 1,067 | 5 | 945 | 213.4 | 0.652542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22e073034c450e34ebbcbff8a89c350bce34306b | 220 | py | Python | src/onegov/swissvotes/collections/__init__.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | src/onegov/swissvotes/collections/__init__.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | src/onegov/swissvotes/collections/__init__.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | from onegov.swissvotes.collections.pages import TranslatablePageCollection
from onegov.swissvotes.collections.votes import SwissVoteCollection
__all__ = (
'SwissVoteCollection',
'TranslatablePageCollection',
)
| 24.444444 | 74 | 0.822727 | 17 | 220 | 10.411765 | 0.588235 | 0.112994 | 0.225989 | 0.350282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 220 | 8 | 75 | 27.5 | 0.903061 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 0.118182 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | 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 | 6 |
22f260f81c9617087e895e003a8481412a5736e5 | 24,032 | py | Python | tests/magnus/test_nodes.py | vishalbelsare/magnus-core | 77a4eb8ecca70b276b48e5f7a11166f7c3196f6b | [
"Apache-2.0"
] | 3 | 2022-03-15T15:19:14.000Z | 2022-03-29T02:38:27.000Z | tests/magnus/test_nodes.py | vishalbelsare/magnus-core | 77a4eb8ecca70b276b48e5f7a11166f7c3196f6b | [
"Apache-2.0"
] | 18 | 2022-02-02T08:28:25.000Z | 2022-03-30T12:38:40.000Z | tests/magnus/test_nodes.py | vishalbelsare/magnus-core | 77a4eb8ecca70b276b48e5f7a11166f7c3196f6b | [
"Apache-2.0"
] | 2 | 2022-01-24T11:10:09.000Z | 2022-03-15T15:19:46.000Z | import os
import pytest
from magnus import defaults # pylint: disable=import-error
from magnus import nodes # pylint: disable=import-error
def test_base_node_command_friendly_name_replaces_whitespace_with_character():
node = nodes.BaseNode(name='test', internal_name='test', config='test_config', execution_typ... | 39.526316 | 120 | 0.744674 | 3,172 | 24,032 | 5.246217 | 0.057692 | 0.07115 | 0.063458 | 0.07812 | 0.913046 | 0.888468 | 0.851331 | 0.823088 | 0.770567 | 0.698756 | 0 | 0.001344 | 0.133031 | 24,032 | 607 | 121 | 39.591433 | 0.79736 | 0.002372 | 0 | 0.505587 | 0 | 0 | 0.095695 | 0 | 0 | 0 | 0 | 0 | 0.164804 | 1 | 0.184358 | false | 0 | 0.011173 | 0 | 0.195531 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a3cae03d9461b2c9691b6a092a1814f4d5de2f6a | 108 | py | Python | daskperiment/config.py | takumiohym/daskperiment | 292752f29a9f77b948b2a5050122109b8f4fe148 | [
"BSD-3-Clause"
] | 27 | 2019-01-25T01:44:20.000Z | 2019-11-13T14:26:56.000Z | daskperiment/config.py | nikkkkhil/dask_task | 1802efacd43e68e5e7dd8eb82e27b3cbf09d74ae | [
"BSD-3-Clause"
] | 64 | 2019-01-29T03:52:31.000Z | 2019-04-25T07:55:09.000Z | daskperiment/config.py | nikkkkhil/dask_task | 1802efacd43e68e5e7dd8eb82e27b3cbf09d74ae | [
"BSD-3-Clause"
] | 5 | 2019-02-04T20:58:39.000Z | 2019-04-14T11:45:48.000Z | import pathlib
_CACHE_DIR = pathlib.Path('daskperiment_cache')
_LOG_DIR = pathlib.Path('daskperiment_log')
| 21.6 | 47 | 0.805556 | 14 | 108 | 5.785714 | 0.5 | 0.246914 | 0.345679 | 0.641975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 108 | 4 | 48 | 27 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.314815 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a3e6f15e7a2076c2584e349545927052133e260d | 16,792 | py | Python | install/app_store/tk-multi-workfiles2/v0.9.7/python/tk_multi_workfiles/crash_dbg_form.py | JoanAzpeitia/lp_sg | e0ee79555e419dd2ae3a5f31e5515b3f40b22a62 | [
"MIT"
] | 4 | 2019-01-11T03:41:28.000Z | 2019-09-12T06:57:17.000Z | bundle_cache/app_store/tk-multi-workfiles2/v0.11.6/python/tk_multi_workfiles/crash_dbg_form.py | ColinKennedy/tk-config-default2-respawn | 855fb8033daa549b92615792442f19a7f9c4f55c | [
"Linux-OpenIB"
] | null | null | null | bundle_cache/app_store/tk-multi-workfiles2/v0.11.6/python/tk_multi_workfiles/crash_dbg_form.py | ColinKennedy/tk-config-default2-respawn | 855fb8033daa549b92615792442f19a7f9c4f55c | [
"Linux-OpenIB"
] | 2 | 2019-01-10T05:00:18.000Z | 2020-02-15T16:32:56.000Z |
import sgtk
from sgtk.platform.qt import QtGui
from .ui.crash_dbg_form import Ui_CrashDbgForm
import threading
import random
import time
class SgRunner(threading.Thread):
def __init__(self):
threading.Thread.__init__(self)
self._lock = threading.Lock()
self._run = True
self._sg_... | 66.371542 | 625 | 0.648583 | 1,400 | 16,792 | 7.565 | 0.137143 | 0.030403 | 0.021717 | 0.032575 | 0.765745 | 0.73874 | 0.719007 | 0.705788 | 0.705788 | 0.705788 | 0 | 0.006051 | 0.202835 | 16,792 | 253 | 626 | 66.371542 | 0.785149 | 0.003156 | 0 | 0.356021 | 0 | 0 | 0.452607 | 0.130936 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.031414 | null | null | 0.015707 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4306cd9b12bae76fa6623c99fa9393b64094544d | 24 | py | Python | huuey/hue/scenes/__init__.py | Bioto/Huuey-python | b64b8476cf9126df8f2bc4b5c4c5ad47545ebb0b | [
"MIT"
] | null | null | null | huuey/hue/scenes/__init__.py | Bioto/Huuey-python | b64b8476cf9126df8f2bc4b5c4c5ad47545ebb0b | [
"MIT"
] | null | null | null | huuey/hue/scenes/__init__.py | Bioto/Huuey-python | b64b8476cf9126df8f2bc4b5c4c5ad47545ebb0b | [
"MIT"
] | null | null | null | from .scene import Scene | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
431e50d50dc1d56e18dce811b630dc3846f46318 | 178 | py | Python | app/views/qr_code.py | aluisq/flask_mysql_jinja | 6fc9bd23ac31647744be0a1016bca42e2bc32961 | [
"MIT"
] | null | null | null | app/views/qr_code.py | aluisq/flask_mysql_jinja | 6fc9bd23ac31647744be0a1016bca42e2bc32961 | [
"MIT"
] | null | null | null | app/views/qr_code.py | aluisq/flask_mysql_jinja | 6fc9bd23ac31647744be0a1016bca42e2bc32961 | [
"MIT"
] | null | null | null | from app import cursor, app
from flask import render_template, request, redirect, url_for
@app.route("/qr-code")
def qr_code():
return render_template('public/qr_code.html') | 29.666667 | 61 | 0.764045 | 28 | 178 | 4.678571 | 0.642857 | 0.137405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117978 | 178 | 6 | 62 | 29.666667 | 0.834395 | 0 | 0 | 0 | 0 | 0 | 0.150838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
4a76b2dc2131d8dee68695c2796ffacd17c022e2 | 138 | py | Python | src/astrild/rays/skys/__init__.py | Christovis/wys-ars | bb15f2d392842f9b32de12b5db5c86079bc97105 | [
"MIT"
] | 3 | 2021-07-27T14:45:58.000Z | 2022-01-31T21:09:46.000Z | src/astrild/rays/skys/__init__.py | Christovis/wys-ars | bb15f2d392842f9b32de12b5db5c86079bc97105 | [
"MIT"
] | 1 | 2021-11-03T10:47:45.000Z | 2021-11-03T10:47:45.000Z | src/astrild/rays/skys/__init__.py | Christovis/wys-ars | bb15f2d392842f9b32de12b5db5c86079bc97105 | [
"MIT"
] | 1 | 2021-11-03T10:17:34.000Z | 2021-11-03T10:17:34.000Z | from .sky_array import SkyArray
from .sky_namaster import SkyNamaster
from .sky_healpix import SkyHealpix
from .sky_utils import SkyUtils
| 27.6 | 37 | 0.855072 | 20 | 138 | 5.7 | 0.55 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 138 | 4 | 38 | 34.5 | 0.934426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4a8ba4c9f75f93e259fc105b3d4015edadc40cbf | 44 | py | Python | horizon_bsn/api/__init__.py | sarath-kumar/horizon-bsn | 5e50db9586316a7893f83f72e9a9e7a039437182 | [
"Apache-2.0"
] | null | null | null | horizon_bsn/api/__init__.py | sarath-kumar/horizon-bsn | 5e50db9586316a7893f83f72e9a9e7a039437182 | [
"Apache-2.0"
] | 76 | 2016-08-15T21:46:39.000Z | 2018-12-18T23:49:20.000Z | horizon_bsn/api/__init__.py | sarath-kumar/horizon-bsn | 5e50db9586316a7893f83f72e9a9e7a039437182 | [
"Apache-2.0"
] | 5 | 2016-08-15T21:41:45.000Z | 2020-03-01T17:03:46.000Z | from horizon_bsn.api import neutron # noqa
| 22 | 43 | 0.795455 | 7 | 44 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 1 | 44 | 44 | 0.918919 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
437347f333c7a79ec4950b5aa979310e595622f4 | 438 | py | Python | basilisk.py | JJFReibel/RattleBasilisk | f95cd523b708e349cec2cf25a6cb5b60603f67d0 | [
"MIT"
] | null | null | null | basilisk.py | JJFReibel/RattleBasilisk | f95cd523b708e349cec2cf25a6cb5b60603f67d0 | [
"MIT"
] | null | null | null | basilisk.py | JJFReibel/RattleBasilisk | f95cd523b708e349cec2cf25a6cb5b60603f67d0 | [
"MIT"
] | null | null | null | # RattleBasilisk
# By Jean-Jacques F. Reibel
# I will not be held responsible for:
# any shenanigans
import os
os.system("printf '\e[0;31;1;1m\n'")
os.system("printf '\e[1;32;1;1m /\/\/\/\/\/\/\/\/\/\/\/\\\n'")
os.system("printf '\e[0;31;1;5m ~'")
os.system("printf '\e[0;31;1;1m>'")
os.system("... | 29.2 | 77 | 0.53653 | 78 | 438 | 3.025641 | 0.371795 | 0.237288 | 0.415254 | 0.444915 | 0.610169 | 0.542373 | 0.542373 | 0.542373 | 0.45339 | 0.347458 | 0 | 0.093085 | 0.141553 | 438 | 14 | 78 | 31.285714 | 0.531915 | 0.210046 | 0 | 0.25 | 0 | 0 | 0.667647 | 0.182353 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0.875 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4379a23b7a0eafaa35de5ad32541b848982df154 | 96 | py | Python | v1/cloud/__init__.py | trisongz/fileio | 2812e13003b79e8d19b5aa1f4e16feb2cd48b115 | [
"MIT"
] | null | null | null | v1/cloud/__init__.py | trisongz/fileio | 2812e13003b79e8d19b5aa1f4e16feb2cd48b115 | [
"MIT"
] | null | null | null | v1/cloud/__init__.py | trisongz/fileio | 2812e13003b79e8d19b5aa1f4e16feb2cd48b115 | [
"MIT"
] | null | null | null | from . import auth
from .gcp_gcs import open_gcs, _auth_gcp_gcs
from .aws_s3 import _auth_aws_s3 | 32 | 44 | 0.833333 | 19 | 96 | 3.736842 | 0.421053 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.125 | 96 | 3 | 45 | 32 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
438ca2045706e386fa775b56dea829c1c691644d | 129 | py | Python | keydom/__init__.py | pirogoeth/keydom | 7890e63f8ff33371e2fe4c3277935533858aefe3 | [
"MIT"
] | null | null | null | keydom/__init__.py | pirogoeth/keydom | 7890e63f8ff33371e2fe4c3277935533858aefe3 | [
"MIT"
] | null | null | null | keydom/__init__.py | pirogoeth/keydom | 7890e63f8ff33371e2fe4c3277935533858aefe3 | [
"MIT"
] | null | null | null | from keydom import migrations
from keydom import models
from keydom import routes
from keydom import util
__version__ = "0.0.1"
| 18.428571 | 29 | 0.806202 | 20 | 129 | 5 | 0.5 | 0.4 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027523 | 0.155039 | 129 | 6 | 30 | 21.5 | 0.889908 | 0 | 0 | 0 | 0 | 0 | 0.03876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
439c8e9901000a6e60217c066cd75f4a4f7ad4f1 | 224 | py | Python | Courses/100 Days of Code The Complete Python Pro Bootcamp/Day 6/Hurdle 2.py | edaaydinea/365-days-of-coding-challenge | baf06a9bef75ff45194e57357e20085b9cde2498 | [
"MIT"
] | 4 | 2022-01-05T12:14:13.000Z | 2022-01-08T16:03:32.000Z | Courses/100 Days of Code The Complete Python Pro Bootcamp/Day 6/Hurdle 2.py | edaaydinea/365-days-of-code | baf06a9bef75ff45194e57357e20085b9cde2498 | [
"MIT"
] | null | null | null | Courses/100 Days of Code The Complete Python Pro Bootcamp/Day 6/Hurdle 2.py | edaaydinea/365-days-of-code | baf06a9bef75ff45194e57357e20085b9cde2498 | [
"MIT"
] | null | null | null | def turn_right():
turn_left()
turn_left()
turn_left()
def jump():
move()
turn_left()
move()
turn_right()
move()
turn_right()
move()
turn_left()
while not at_goal():
jump()
| 11.2 | 20 | 0.535714 | 28 | 224 | 3.964286 | 0.357143 | 0.36036 | 0.216216 | 0.288288 | 0.306306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.316964 | 224 | 19 | 21 | 11.789474 | 0.72549 | 0 | 0 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | true | 0 | 0 | 0 | 0.133333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
43a2268f5c484a7d76c114ba769bcbe3cbad67fe | 52 | py | Python | src/public/repository/keys.py | akornatskyy/sample-blog-api | 87183780d7f2322ae27231e8eacea1f942f87d1d | [
"MIT"
] | null | null | null | src/public/repository/keys.py | akornatskyy/sample-blog-api | 87183780d7f2322ae27231e8eacea1f942f87d1d | [
"MIT"
] | 78 | 2019-06-03T03:24:36.000Z | 2021-06-25T15:19:17.000Z | src/public/repository/keys.py | akornatskyy/sample-blog-api | 87183780d7f2322ae27231e8eacea1f942f87d1d | [
"MIT"
] | null | null | null | """
"""
def get_daily_quote():
return 'q:gdq'
| 7.428571 | 22 | 0.538462 | 7 | 52 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 52 | 6 | 23 | 8.666667 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
43c24fb60cdc8373e1f76bf3df835f894bca48ec | 63 | py | Python | Arithmetic/__init__.py | ndiab/CRYPTO | 6691972dbfc33eae4c3c133a4df00de4e336b0cb | [
"Apache-2.0"
] | 26 | 2017-03-27T10:32:59.000Z | 2022-02-22T10:36:17.000Z | Arithmetic/__init__.py | ndiab/CRYPTO | 6691972dbfc33eae4c3c133a4df00de4e336b0cb | [
"Apache-2.0"
] | 1 | 2018-02-11T19:13:57.000Z | 2018-02-11T19:25:22.000Z | Arithmetic/__init__.py | ndiab/CRYPTO | 6691972dbfc33eae4c3c133a4df00de4e336b0cb | [
"Apache-2.0"
] | 4 | 2018-04-26T12:28:27.000Z | 2022-01-23T15:09:23.000Z | from Arithmetic.arith import *
from Arithmetic.prime import *
| 15.75 | 30 | 0.793651 | 8 | 63 | 6.25 | 0.625 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 63 | 3 | 31 | 21 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6009d7de0253a5ca4651e1982bc9b2c34c00351a | 11,536 | py | Python | src/python/model_generators/keras/code_generator.py | computer-geek64/guinn | 11e10a9fbf1f99fd0ff8e15d7a812679ae7015f4 | [
"MIT"
] | 2 | 2020-06-25T00:06:38.000Z | 2020-09-11T18:59:45.000Z | src/python/model_generators/keras/code_generator.py | computer-geek64/guinn | 11e10a9fbf1f99fd0ff8e15d7a812679ae7015f4 | [
"MIT"
] | 20 | 2020-06-25T00:16:35.000Z | 2020-06-25T19:24:14.000Z | src/python/model_generators/keras/code_generator.py | computer-geek64/guinn | 11e10a9fbf1f99fd0ff8e15d7a812679ae7015f4 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# code_generator.py
def add_layers(layers):
return_string = '''model = tf.keras.Sequential()\n'''
for layer in layers:
if layer['type'] == 'dense':
if layer['activation_function'] is not None:
return_string += '''model.add(tf.keras.layers.Dense(units={uni... | 70.773006 | 123 | 0.612517 | 1,218 | 11,536 | 5.582923 | 0.074713 | 0.059706 | 0.101471 | 0.061765 | 0.857941 | 0.857059 | 0.853088 | 0.828824 | 0.828824 | 0.816471 | 0 | 0.0017 | 0.235177 | 11,536 | 163 | 124 | 70.773006 | 0.769013 | 0.003467 | 0 | 0.643357 | 0 | 0.020979 | 0.468803 | 0.249219 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020979 | false | 0 | 0.006993 | 0 | 0.048951 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60625155c9f8f5e0e8125bcce015c57d8bd87c7f | 14,886 | py | Python | app/tests/v2/system-tests/test_incidents.py | GraceKiarie/iReporter | 1011f878f9fb643798192aeed1b68c3e6de4dedc | [
"MIT"
] | 1 | 2018-12-14T09:52:39.000Z | 2018-12-14T09:52:39.000Z | app/tests/v2/system-tests/test_incidents.py | GraceKiarie/iReporter | 1011f878f9fb643798192aeed1b68c3e6de4dedc | [
"MIT"
] | 6 | 2018-12-08T11:15:46.000Z | 2018-12-15T11:04:36.000Z | app/tests/v2/system-tests/test_incidents.py | GraceKiarie/iReporter | 1011f878f9fb643798192aeed1b68c3e6de4dedc | [
"MIT"
] | 5 | 2018-12-04T11:00:54.000Z | 2019-06-13T12:53:50.000Z | """Test for methods applied to Red Flags"""
import json
from app.tests.v2.base import BaseTestCase
class TestIncidentsTestCase(BaseTestCase):
"""Tests for redflags"""
def signup(self):
"""
create a test user
"""
response = self.app.post('/api/v2/auth/signup/',
... | 41.814607 | 98 | 0.606745 | 1,698 | 14,886 | 5.154299 | 0.087161 | 0.102834 | 0.056673 | 0.102719 | 0.86186 | 0.825297 | 0.782564 | 0.764168 | 0.722692 | 0.687271 | 0 | 0.014636 | 0.27939 | 14,886 | 356 | 99 | 41.814607 | 0.801249 | 0.085382 | 0 | 0.550607 | 0 | 0 | 0.133197 | 0.006867 | 0 | 0 | 0 | 0 | 0.242915 | 1 | 0.157895 | false | 0 | 0.008097 | 0 | 0.202429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71569f00abad4bf8bde4418446f9c96b182f8f10 | 238 | py | Python | Mechinmind/Article/admin.py | ayanshaikh18/MechInMind | 69d272073d24407bfa97b99949e7c2b1c2dc28e8 | [
"MIT"
] | null | null | null | Mechinmind/Article/admin.py | ayanshaikh18/MechInMind | 69d272073d24407bfa97b99949e7c2b1c2dc28e8 | [
"MIT"
] | null | null | null | Mechinmind/Article/admin.py | ayanshaikh18/MechInMind | 69d272073d24407bfa97b99949e7c2b1c2dc28e8 | [
"MIT"
] | null | null | null | from django.contrib import admin
from markdownx.admin import MarkdownxModelAdmin
from . import models
admin.site.register(models.Category)
admin.site.register(models.SubCategory)
admin.site.register(models.Article, MarkdownxModelAdmin)
| 26.444444 | 56 | 0.844538 | 29 | 238 | 6.931034 | 0.448276 | 0.134328 | 0.253731 | 0.343284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07563 | 238 | 8 | 57 | 29.75 | 0.913636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7169d46edd8be0e34dfdf8f57ab7e71166442ce6 | 42,860 | py | Python | tests/admin/clush-tests/CLINodesetTest.py | utdsimmons/ohpc | 70dc728926a835ba049ddd3f4627ef08db7c95a0 | [
"Apache-2.0"
] | 692 | 2015-11-12T13:56:43.000Z | 2022-03-30T03:45:59.000Z | tests/admin/clush-tests/CLINodesetTest.py | utdsimmons/ohpc | 70dc728926a835ba049ddd3f4627ef08db7c95a0 | [
"Apache-2.0"
] | 1,096 | 2015-11-12T09:08:22.000Z | 2022-03-31T21:48:41.000Z | tests/admin/clush-tests/CLINodesetTest.py | utdsimmons/ohpc | 70dc728926a835ba049ddd3f4627ef08db7c95a0 | [
"Apache-2.0"
] | 224 | 2015-11-12T21:17:03.000Z | 2022-03-30T00:57:48.000Z | #!/usr/bin/env python
# scripts/nodeset.py tool test suite
# Written by S. Thiell
"""Unit test for CLI/Nodeset.py"""
import random
import sys
import unittest
from TLib import *
from ClusterShell.CLI.Nodeset import main
from ClusterShell.NodeUtils import GroupResolverConfig
from ClusterShell.NodeSet import std_grou... | 59.527778 | 156 | 0.521349 | 7,029 | 42,860 | 3.047375 | 0.050363 | 0.137442 | 0.205602 | 0.173576 | 0.864192 | 0.826097 | 0.780439 | 0.72591 | 0.662838 | 0.585854 | 0 | 0.105672 | 0.192114 | 42,860 | 719 | 157 | 59.61057 | 0.512938 | 0.059473 | 0 | 0.20073 | 0 | 0.087591 | 0.401387 | 0.077877 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096715 | false | 0 | 0.012774 | 0 | 0.118613 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
718cba4bcbd3c109ecf77094633022e98791250e | 133 | py | Python | src/ape_plugins/__init__.py | Ninjagod1251/ape | 9b40ef15f25362ddb83cb6d571d60cab041fce4a | [
"Apache-2.0"
] | 210 | 2021-04-29T05:42:42.000Z | 2022-03-31T15:50:17.000Z | src/ape_plugins/__init__.py | Ninjagod1251/ape | 9b40ef15f25362ddb83cb6d571d60cab041fce4a | [
"Apache-2.0"
] | 370 | 2021-04-29T01:54:32.000Z | 2022-03-31T19:19:29.000Z | src/ape_plugins/__init__.py | Ninjagod1251/ape | 9b40ef15f25362ddb83cb6d571d60cab041fce4a | [
"Apache-2.0"
] | 25 | 2021-04-29T05:08:50.000Z | 2022-03-11T20:43:56.000Z | from ape import plugins
from ape.api import ConfigDict
@plugins.register(plugins.Config)
def config_class():
return ConfigDict
| 16.625 | 33 | 0.789474 | 18 | 133 | 5.777778 | 0.611111 | 0.134615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 133 | 7 | 34 | 19 | 0.912281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
71ad3c3a161bb4d5f288e68d165d5aa2f2c29b48 | 136 | py | Python | release/scripts/presets/camera/Panasonic_AG-HVX200.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 365 | 2015-02-10T15:10:55.000Z | 2022-03-03T15:50:51.000Z | release/scripts/presets/camera/Panasonic_AG-HVX200.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 45 | 2015-01-09T15:34:20.000Z | 2021-10-05T14:44:23.000Z | release/scripts/presets/camera/Panasonic_AG-HVX200.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 172 | 2015-01-25T15:16:53.000Z | 2022-01-31T08:25:36.000Z | import bpy
bpy.context.camera.sensor_width = 4.68
bpy.context.camera.sensor_height = 2.633
bpy.context.camera.sensor_fit = 'HORIZONTAL'
| 27.2 | 44 | 0.801471 | 22 | 136 | 4.818182 | 0.590909 | 0.283019 | 0.45283 | 0.622642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056 | 0.080882 | 136 | 4 | 45 | 34 | 0.792 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71cba20870ea4e87c8c6d54889a0f92c2eb79d65 | 134 | py | Python | scrapli_community/eltex/esr/__init__.py | ikievite/scrapli_community | b160ae6c21177c949a0b8210810ba2584b31861f | [
"MIT"
] | 37 | 2020-11-13T20:50:30.000Z | 2022-03-25T16:15:28.000Z | scrapli_community/eltex/esr/__init__.py | ikievite/scrapli_community | b160ae6c21177c949a0b8210810ba2584b31861f | [
"MIT"
] | 84 | 2020-08-02T16:20:15.000Z | 2022-03-02T14:38:26.000Z | scrapli_community/eltex/esr/__init__.py | ikievite/scrapli_community | b160ae6c21177c949a0b8210810ba2584b31861f | [
"MIT"
] | 25 | 2020-08-01T23:51:37.000Z | 2022-02-21T10:06:33.000Z | """scrapli_community.eltex.esr"""
from scrapli_community.eltex.esr.eltex_esr import SCRAPLI_PLATFORM
__all__ = ("SCRAPLI_PLATFORM",)
| 26.8 | 66 | 0.80597 | 17 | 134 | 5.823529 | 0.470588 | 0.242424 | 0.424242 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067164 | 134 | 4 | 67 | 33.5 | 0.792 | 0.201493 | 0 | 0 | 0 | 0 | 0.158416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
71ce385e5438e2444734eb392b366b81a558e0bd | 9,026 | py | Python | tests/components/senseme/test_config_flow.py | charithmadhuranga/core | 06329a2f43ba82df6e0c6250fa6965f9259cfe8a | [
"Apache-2.0"
] | 4 | 2021-07-11T09:11:00.000Z | 2022-02-27T14:43:50.000Z | tests/components/senseme/test_config_flow.py | charithmadhuranga/core | 06329a2f43ba82df6e0c6250fa6965f9259cfe8a | [
"Apache-2.0"
] | 277 | 2021-10-04T06:39:33.000Z | 2021-12-28T22:04:17.000Z | tests/components/senseme/test_config_flow.py | charithmadhuranga/core | 06329a2f43ba82df6e0c6250fa6965f9259cfe8a | [
"Apache-2.0"
] | 1 | 2022-02-09T00:30:51.000Z | 2022-02-09T00:30:51.000Z | """Test the SenseME config flow."""
from unittest.mock import patch
from homeassistant import config_entries
from homeassistant.components.senseme.const import DOMAIN
from homeassistant.const import CONF_HOST, CONF_ID
from homeassistant.core import HomeAssistant
from homeassistant.data_entry_flow import (
RESULT_T... | 31.893993 | 86 | 0.637381 | 1,045 | 9,026 | 5.183732 | 0.090909 | 0.049843 | 0.049843 | 0.073103 | 0.859332 | 0.853794 | 0.82758 | 0.82758 | 0.817611 | 0.812627 | 0 | 0.006726 | 0.258808 | 9,026 | 282 | 87 | 32.007092 | 0.80299 | 0.003213 | 0 | 0.652174 | 0 | 0 | 0.128024 | 0.07142 | 0 | 0 | 0 | 0 | 0.178261 | 1 | 0 | false | 0 | 0.034783 | 0 | 0.034783 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0a210caaa0158f2bf99f0dfaac0adbbb6ca3e19 | 47 | py | Python | tx_tecreports/fetcher/__init__.py | texas/tx_tecreports | 1e2311c8355117b45d7b23a4db41512c0cb6ce80 | [
"Apache-2.0"
] | 1 | 2021-02-19T20:16:19.000Z | 2021-02-19T20:16:19.000Z | tx_tecreports/fetcher/__init__.py | texas/tx_tecreports | 1e2311c8355117b45d7b23a4db41512c0cb6ce80 | [
"Apache-2.0"
] | null | null | null | tx_tecreports/fetcher/__init__.py | texas/tx_tecreports | 1e2311c8355117b45d7b23a4db41512c0cb6ce80 | [
"Apache-2.0"
] | null | null | null | from .base import get_report, get_filings_list
| 23.5 | 46 | 0.851064 | 8 | 47 | 4.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0adda8542fb99baf9979a7ae02f0a259d300bf1 | 18 | py | Python | utils/__init__.py | TorchCraft/tc-bumper | 69b4c6019d63c30af64f01b2e52ba84cd1ad859c | [
"MIT"
] | 1 | 2021-10-31T14:01:23.000Z | 2021-10-31T14:01:23.000Z | utils/__init__.py | TorchCraft/tc-bumper | 69b4c6019d63c30af64f01b2e52ba84cd1ad859c | [
"MIT"
] | 1 | 2017-03-18T16:56:24.000Z | 2017-03-18T16:56:24.000Z | utils/__init__.py | edran/tc-bumper | 69b4c6019d63c30af64f01b2e52ba84cd1ad859c | [
"MIT"
] | 1 | 2021-10-31T14:01:14.000Z | 2021-10-31T14:01:14.000Z | from cd import cd
| 9 | 17 | 0.777778 | 4 | 18 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.