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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c42ac48b2318ba5d4dea392d6bf756cd39e95bec | 88 | py | Python | aws/__init__.py | wesselb/aws | a4fc7443806ab96e78878bd11e4c4c5821d03f0d | [
"MIT"
] | 1 | 2021-06-11T15:20:31.000Z | 2021-06-11T15:20:31.000Z | aws/__init__.py | wesselb/aws | a4fc7443806ab96e78878bd11e4c4c5821d03f0d | [
"MIT"
] | null | null | null | aws/__init__.py | wesselb/aws | a4fc7443806ab96e78878bd11e4c4c5821d03f0d | [
"MIT"
] | 1 | 2021-06-11T15:20:35.000Z | 2021-06-11T15:20:35.000Z | from .ec2 import *
from .experiment import *
from .monitor import *
from .util import *
| 17.6 | 25 | 0.727273 | 12 | 88 | 5.333333 | 0.5 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.181818 | 88 | 4 | 26 | 22 | 0.875 | 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 |
c43d03e858d1f3b672edc825ff1951ffb525e515 | 14,916 | py | Python | tensorflow_models/ExternalKnowledge.py | shiquanyang/GLMP | 7f085bdd66aa414c8a4efd301810ad81160ac563 | [
"MIT"
] | null | null | null | tensorflow_models/ExternalKnowledge.py | shiquanyang/GLMP | 7f085bdd66aa414c8a4efd301810ad81160ac563 | [
"MIT"
] | 3 | 2019-09-17T10:56:04.000Z | 2019-10-16T00:13:28.000Z | tensorflow_models/ExternalKnowledge.py | shiquanyang/GLMP | 7f085bdd66aa414c8a4efd301810ad81160ac563 | [
"MIT"
] | null | null | null | import tensorflow as tf
from utils.config import *
import pdb
from tensorflow.python.ops import embedding_ops
from collections import OrderedDict
class ExternalKnowledge(tf.keras.Model):
def __init__(self, vocab, embedding_dim, hop, dropout):
super(ExternalKnowledge, self).__init__()
self.max_hops... | 62.15 | 208 | 0.644945 | 2,204 | 14,916 | 4.057169 | 0.067151 | 0.060389 | 0.070454 | 0.089242 | 0.804742 | 0.786289 | 0.786289 | 0.780027 | 0.765265 | 0.763923 | 0 | 0.01993 | 0.233038 | 14,916 | 239 | 209 | 62.410042 | 0.761713 | 0.271118 | 0 | 0.573099 | 0 | 0 | 0.010661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040936 | false | 0 | 0.02924 | 0.005848 | 0.111111 | 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 |
c4696b1c09a538c29a6c0b07d122807423b6592f | 1,207 | py | Python | python/py-study/test-class-var.py | seekindark/helloworld | 00fe439fdbd98add53f3bec7eac2b1ba1dc817a7 | [
"BSD-2-Clause"
] | null | null | null | python/py-study/test-class-var.py | seekindark/helloworld | 00fe439fdbd98add53f3bec7eac2b1ba1dc817a7 | [
"BSD-2-Clause"
] | 2 | 2019-06-24T00:56:52.000Z | 2019-06-24T01:28:29.000Z | python/py-study/test-class-var.py | seekindark/helloworld | 00fe439fdbd98add53f3bec7eac2b1ba1dc817a7 | [
"BSD-2-Clause"
] | null | null | null | class A:
# x = [] # 定义在这里,表示类变量, 被所有实例化的对象公共使用
# y = 0
def __init__(self):
self.x = []
self.y = 0
pass
def add(self):
self.x.append('1')
self.y+=1
a = A()
a.add()
print("第一次示例化 CLASS A:")
print('a.x, a.y = ', a.x, ', ', a.y)
#print('A.x, ... | 33.527778 | 105 | 0.416736 | 226 | 1,207 | 2.207965 | 0.115044 | 0.12024 | 0.078156 | 0.104208 | 0.703407 | 0.703407 | 0.703407 | 0.703407 | 0.703407 | 0.703407 | 0 | 0.005612 | 0.261806 | 1,207 | 36 | 106 | 33.527778 | 0.554433 | 0.415079 | 0 | 0.272727 | 0 | 0 | 0.248855 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.045455 | 0 | 0 | 0.136364 | 0.454545 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c481cc42d60a607a50d1da450b0f08664b7cec92 | 34 | py | Python | first-homework.py | rustymuffin99/119-repository | 25dd419596ca772c9e7ff0e68ee3ed11318bebb9 | [
"MIT"
] | null | null | null | first-homework.py | rustymuffin99/119-repository | 25dd419596ca772c9e7ff0e68ee3ed11318bebb9 | [
"MIT"
] | 3 | 2020-10-01T16:34:48.000Z | 2020-10-07T17:42:30.000Z | first-homework.py | rustymuffin99/119-repository | 25dd419596ca772c9e7ff0e68ee3ed11318bebb9 | [
"MIT"
] | null | null | null | print("Joshua Rasmussen, him/his") | 34 | 34 | 0.764706 | 5 | 34 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 34 | 1 | 34 | 34 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c4865c742c210b1eed6c4c139dc80e5c69b76e1b | 15,769 | py | Python | test/test_data_pipeline/test_multistream.py | entn-at/BrnoLM | 9f8c62523382098809c1c0967f62a67d151eafe0 | [
"MIT"
] | 17 | 2020-02-04T16:42:40.000Z | 2021-11-11T14:37:32.000Z | test/test_data_pipeline/test_multistream.py | entn-at/BrnoLM | 9f8c62523382098809c1c0967f62a67d151eafe0 | [
"MIT"
] | null | null | null | test/test_data_pipeline/test_multistream.py | entn-at/BrnoLM | 9f8c62523382098809c1c0967f62a67d151eafe0 | [
"MIT"
] | 4 | 2020-02-04T12:59:04.000Z | 2021-05-30T14:10:54.000Z | from brnolm.data_pipeline.multistream import BatchBuilder
from brnolm.data_pipeline.multistream import Batcher
from brnolm.data_pipeline.multistream import LineTooLongError
import brnolm.data_pipeline.split_corpus_dataset as split_corpus_dataset
import brnolm.smm_itf.ivec_appenders as ivec_appenders
import numpy as np... | 31.164032 | 107 | 0.536496 | 1,822 | 15,769 | 4.48079 | 0.071899 | 0.121264 | 0.060755 | 0.072758 | 0.843582 | 0.840029 | 0.794953 | 0.785277 | 0.770211 | 0.758084 | 0 | 0.025759 | 0.313146 | 15,769 | 505 | 108 | 31.225743 | 0.728003 | 0.003742 | 0 | 0.67233 | 0 | 0 | 0.010186 | 0 | 0 | 0 | 0 | 0.00198 | 0.109223 | 1 | 0.063107 | false | 0 | 0.021845 | 0.002427 | 0.09466 | 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 |
c48ae2964b89182a5783a1694f99acb8b91f7da1 | 42 | py | Python | Testcases/test_icg4.py | sanatb97/Python-Compiler | 5228a36c9a881e21f9a6419315dd2f52eb2d5165 | [
"MIT"
] | 2 | 2021-10-01T22:11:46.000Z | 2021-10-02T19:44:57.000Z | Testcases/test_icg4.py | vogiralshivani/Python-Compiler | 5228a36c9a881e21f9a6419315dd2f52eb2d5165 | [
"MIT"
] | null | null | null | Testcases/test_icg4.py | vogiralshivani/Python-Compiler | 5228a36c9a881e21f9a6419315dd2f52eb2d5165 | [
"MIT"
] | 3 | 2019-02-04T03:49:08.000Z | 2019-10-16T13:15:13.000Z | l=[1,2,3,4,5];
i=2;
j=3;
k=4;
l[4]=i*j-k;
| 7 | 14 | 0.404762 | 17 | 42 | 1 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243243 | 0.119048 | 42 | 5 | 15 | 8.4 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
67226de0b37587d6ff733b2e213731ad9a88dd54 | 11,467 | py | Python | jpegdna/coders/categorycoder.py | Jiaanzhu/Image-compression-for-DNA-storage | 656c7dffa53a15c532ab88348dfc388459458c32 | [
"MIT"
] | null | null | null | jpegdna/coders/categorycoder.py | Jiaanzhu/Image-compression-for-DNA-storage | 656c7dffa53a15c532ab88348dfc388459458c32 | [
"MIT"
] | null | null | null | jpegdna/coders/categorycoder.py | Jiaanzhu/Image-compression-for-DNA-storage | 656c7dffa53a15c532ab88348dfc388459458c32 | [
"MIT"
] | null | null | null | """Coder for categories"""
import numpy as np
from jpegdna.coders import AbstractCoder
from jpegdna.coders.huffmancoder import HuffmanCoder
from jpegdna.coders.goldmancoder import GoldmanCoderDNA, NonDecodableGoldman
from jpegdna.coders.hexcoder import HexCoder
from jpegdna.coders import AutomataGetterException
def f... | 32.392655 | 133 | 0.558298 | 1,410 | 11,467 | 4.429787 | 0.165957 | 0.017291 | 0.013449 | 0.010247 | 0.752161 | 0.73503 | 0.73359 | 0.714057 | 0.708133 | 0.708133 | 0 | 0.040762 | 0.349612 | 11,467 | 353 | 134 | 32.484419 | 0.796728 | 0.259789 | 0 | 0.741627 | 0 | 0 | 0.034239 | 0.006064 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07177 | false | 0.004785 | 0.028708 | 0 | 0.267943 | 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 |
67798716ba1b3a608f1a692080b8b648065c47bd | 124 | py | Python | xlsx2html/constants/__init__.py | gorj-tessella/xlsx2html | bbd384341be2920c8782dbe60467d531b851da86 | [
"MIT"
] | null | null | null | xlsx2html/constants/__init__.py | gorj-tessella/xlsx2html | bbd384341be2920c8782dbe60467d531b851da86 | [
"MIT"
] | null | null | null | xlsx2html/constants/__init__.py | gorj-tessella/xlsx2html | bbd384341be2920c8782dbe60467d531b851da86 | [
"MIT"
] | null | null | null | from .builtin import BUILTIN_FORMATS
from .locale_format import LCID_HEX_MAP
__all__ = ['BUILTIN_FORMATS', 'LCID_HEX_MAP']
| 24.8 | 45 | 0.814516 | 18 | 124 | 5 | 0.555556 | 0.311111 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104839 | 124 | 4 | 46 | 31 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.217742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
67b458265edc1a60befa7be839957c082421ee0f | 12,221 | py | Python | PaddleFSL/examples/image_classification/relationnet_image_classification.py | tianxin1860/FSL-Mate | 74dde9a3e1f789ec92710b9ecdf9c5b060d26fd3 | [
"MIT"
] | null | null | null | PaddleFSL/examples/image_classification/relationnet_image_classification.py | tianxin1860/FSL-Mate | 74dde9a3e1f789ec92710b9ecdf9c5b060d26fd3 | [
"MIT"
] | null | null | null | PaddleFSL/examples/image_classification/relationnet_image_classification.py | tianxin1860/FSL-Mate | 74dde9a3e1f789ec92710b9ecdf9c5b060d26fd3 | [
"MIT"
] | null | null | null | import paddle
import paddlefsl
from paddlefsl.model_zoo import relationnet
# Set computing device
paddle.set_device('gpu:1')
""" ---------------------------------------------------------------------------------
# Config: RelationNet, Omniglot, Conv, 5 Ways, 1 Shot
TRAIN_DATASET = paddlefsl.datasets.Omniglot(mode='t... | 42.581882 | 104 | 0.60617 | 1,300 | 12,221 | 5.457692 | 0.085385 | 0.065116 | 0.10148 | 0.029316 | 0.930796 | 0.922903 | 0.89556 | 0.865962 | 0.837914 | 0.808316 | 0 | 0.03715 | 0.167417 | 12,221 | 286 | 105 | 42.730769 | 0.660147 | 0.019802 | 0 | 0.142857 | 0 | 0 | 0.038307 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017857 | false | 0 | 0.053571 | 0 | 0.071429 | 0.017857 | 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 |
67b54475d2a24a73209c691864b9fe8c2e9902a4 | 117 | py | Python | python/YourClass.py | nyue/JenkinsTraining | dfe51784f6e9f4ffae37c006df0a18d6a2f10c99 | [
"Apache-2.0"
] | null | null | null | python/YourClass.py | nyue/JenkinsTraining | dfe51784f6e9f4ffae37c006df0a18d6a2f10c99 | [
"Apache-2.0"
] | null | null | null | python/YourClass.py | nyue/JenkinsTraining | dfe51784f6e9f4ffae37c006df0a18d6a2f10c99 | [
"Apache-2.0"
] | null | null | null | class YourClass:
def __init__(self):
self.value = 2
def getValue(self):
return self.value
| 13 | 25 | 0.589744 | 14 | 117 | 4.642857 | 0.642857 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.324786 | 117 | 8 | 26 | 14.625 | 0.810127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
67dbf665ea25cc38c17b8117477dd8baf9f0ff16 | 91 | py | Python | TrainingModel/__init__.py | jepetolee/CRYPTONALYTICS | 0409d709fdc9b344cca59971996ded3766b6be87 | [
"MIT"
] | 1 | 2022-01-27T08:46:57.000Z | 2022-01-27T08:46:57.000Z | TrainingModel/__init__.py | jepetolee/CRYPTONALYTICS | 0409d709fdc9b344cca59971996ded3766b6be87 | [
"MIT"
] | null | null | null | TrainingModel/__init__.py | jepetolee/CRYPTONALYTICS | 0409d709fdc9b344cca59971996ded3766b6be87 | [
"MIT"
] | null | null | null | from Model import *
from Trader import *
from ValueCrypto import *
from train_hour import * | 22.75 | 25 | 0.791209 | 13 | 91 | 5.461538 | 0.538462 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 4 | 26 | 22.75 | 0.934211 | 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 |
67df3726044090222b5b4f913c55b6566344b9cf | 27 | py | Python | Autodroid/ocr/__init__.py | AutumnSun1996/GameTools | 05ed69c09e69e284092cfaffd9eb6313f654c729 | [
"BSD-3-Clause"
] | null | null | null | Autodroid/ocr/__init__.py | AutumnSun1996/GameTools | 05ed69c09e69e284092cfaffd9eb6313f654c729 | [
"BSD-3-Clause"
] | null | null | null | Autodroid/ocr/__init__.py | AutumnSun1996/GameTools | 05ed69c09e69e284092cfaffd9eb6313f654c729 | [
"BSD-3-Clause"
] | null | null | null | from .baidu_ocr import ocr
| 13.5 | 26 | 0.814815 | 5 | 27 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
db128e9b52f4cc41f0d6601e7d125d508aae1c54 | 58 | py | Python | trunk/VyPy/regression/__init__.py | jiaxu825/VyPy | 47100bad9dea46f12cb8bfa1ba86886e06f5c85d | [
"BSD-3-Clause"
] | null | null | null | trunk/VyPy/regression/__init__.py | jiaxu825/VyPy | 47100bad9dea46f12cb8bfa1ba86886e06f5c85d | [
"BSD-3-Clause"
] | null | null | null | trunk/VyPy/regression/__init__.py | jiaxu825/VyPy | 47100bad9dea46f12cb8bfa1ba86886e06f5c85d | [
"BSD-3-Clause"
] | null | null | null |
import gpr
import gpr.library
import least_squares
| 9.666667 | 21 | 0.758621 | 8 | 58 | 5.375 | 0.625 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 58 | 5 | 22 | 11.6 | 0.955556 | 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 |
db1306f4a5636ac0c0edcb4f2b248265f41a3c92 | 4,526 | py | Python | tests/patterns/test_patterns_EventPlayer.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | null | null | null | tests/patterns/test_patterns_EventPlayer.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | null | null | null | tests/patterns/test_patterns_EventPlayer.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | null | null | null | import supriya.patterns
import supriya.realtime
def test_iterate_inner_1(pseudo_server):
pattern = supriya.patterns.Pbind(
duration=1.0, frequency=supriya.patterns.Pseq([111, 222, 333, 444, 555, 666])
)
iterator = supriya.patterns.EventPlayer._iterate_inner(
pattern=pattern, server=pseudo_... | 33.525926 | 85 | 0.533584 | 638 | 4,526 | 3.652038 | 0.081505 | 0.027468 | 0.020601 | 0.077253 | 0.884979 | 0.872961 | 0.872961 | 0.761803 | 0.724893 | 0.718026 | 0 | 0.113782 | 0.273752 | 4,526 | 134 | 86 | 33.776119 | 0.595071 | 0 | 0 | 0.540323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 1 | 0.040323 | false | 0 | 0.016129 | 0 | 0.056452 | 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 |
e1e6dbf7b14ab5cea8ad9aa6521a57ca4b083575 | 17 | py | Python | training/soundnet/__init__.py | chigur/pose | 3e8ecebbc24ea59a1cb217b15a9b2a1a1de09085 | [
"MIT"
] | 4 | 2019-12-24T10:54:40.000Z | 2021-12-27T14:07:06.000Z | training/soundnet/__init__.py | chigur/pose | 3e8ecebbc24ea59a1cb217b15a9b2a1a1de09085 | [
"MIT"
] | null | null | null | training/soundnet/__init__.py | chigur/pose | 3e8ecebbc24ea59a1cb217b15a9b2a1a1de09085 | [
"MIT"
] | 1 | 2020-09-28T06:04:12.000Z | 2020-09-28T06:04:12.000Z | from . import net | 17 | 17 | 0.764706 | 3 | 17 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.928571 | 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 |
c008947409d51a9fd6702418941fc66283fe2ffa | 162 | py | Python | ECE369/python project/Chat_test/examples/chat/mastermind_import.py | Reiuiji/UmassdPortfolio | 959d852a91825326fd777c1883cdfac39d8dd3dd | [
"MIT"
] | 3 | 2017-04-23T00:53:11.000Z | 2019-03-11T23:47:20.000Z | ECE369/python project/Chat_test/examples/chat/mastermind_import.py | Reiuiji/UmassdPortfolio | 959d852a91825326fd777c1883cdfac39d8dd3dd | [
"MIT"
] | null | null | null | ECE369/python project/Chat_test/examples/chat/mastermind_import.py | Reiuiji/UmassdPortfolio | 959d852a91825326fd777c1883cdfac39d8dd3dd | [
"MIT"
] | null | null | null | import os,sys
parentdir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
sys.path.insert(0,parentdir)
from Mastermind import *
| 32.4 | 89 | 0.759259 | 25 | 162 | 4.76 | 0.48 | 0.201681 | 0.327731 | 0.378151 | 0.378151 | 0.378151 | 0.378151 | 0.378151 | 0 | 0 | 0 | 0.006803 | 0.092593 | 162 | 4 | 90 | 40.5 | 0.802721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
c00f0bcfd58475085f1eff3322df7252dae4dbd1 | 46 | py | Python | plotly/graph_objs/layout/title/__init__.py | mprostock/plotly.py | 3471c3dfbf783927c203c676422260586514b341 | [
"MIT"
] | 12 | 2020-04-18T18:10:22.000Z | 2021-12-06T10:11:15.000Z | plotly/graph_objs/layout/title/__init__.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 27 | 2020-04-28T21:23:12.000Z | 2021-06-25T15:36:38.000Z | plotly/graph_objs/layout/title/__init__.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 6 | 2020-04-18T23:07:08.000Z | 2021-11-18T07:53:06.000Z | from ._pad import Pad
from ._font import Font
| 15.333333 | 23 | 0.782609 | 8 | 46 | 4.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 24 | 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 |
c0147b872211111b6734957cb2a7fb68a75dad63 | 89 | py | Python | src/lib/application/baseApp.py | kolesa-team/python-ms-skeleton | b0ac658a0539ce18bb4384f96dc7f7473e701111 | [
"MIT"
] | null | null | null | src/lib/application/baseApp.py | kolesa-team/python-ms-skeleton | b0ac658a0539ce18bb4384f96dc7f7473e701111 | [
"MIT"
] | 1 | 2021-06-01T22:48:10.000Z | 2021-06-01T22:48:10.000Z | src/lib/application/baseApp.py | kolesa-team/python-ms-skeleton | b0ac658a0539ce18bb4384f96dc7f7473e701111 | [
"MIT"
] | 1 | 2018-10-12T11:40:55.000Z | 2018-10-12T11:40:55.000Z | from src.lib.application.component import Component
class BaseApp(Component):
pass
| 14.833333 | 51 | 0.786517 | 11 | 89 | 6.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 5 | 52 | 17.8 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c0157558720c28c75b2f76dd6f142161e2986b8e | 44 | py | Python | java-rest-api/pythonfile.py | jonDorito/JFR-laboratorio-git | a7ddc96353c41365183d647ba5eca1d3d7dbd2bf | [
"MIT"
] | null | null | null | java-rest-api/pythonfile.py | jonDorito/JFR-laboratorio-git | a7ddc96353c41365183d647ba5eca1d3d7dbd2bf | [
"MIT"
] | null | null | null | java-rest-api/pythonfile.py | jonDorito/JFR-laboratorio-git | a7ddc96353c41365183d647ba5eca1d3d7dbd2bf | [
"MIT"
] | null | null | null | def function():
print("this is a function") | 22 | 28 | 0.704545 | 7 | 44 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 2 | 28 | 22 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0.4 | 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 |
c023747807f140921ff4b48127e6ec409431bca7 | 1,965 | py | Python | epytope/Data/pssms/epidemix/mat/B_2705_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/epidemix/mat/B_2705_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/epidemix/mat/B_2705_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_2705_9 = {0: {'A': -0.2, 'C': -2.2, 'E': -3.1, 'D': -3.2, 'G': 0.8, 'F': 0.1, 'I': 0.0, 'H': 0.6, 'K': -0.4, 'M': 0.3, 'L': -1.2, 'N': -0.1, 'Q': 0.5, 'P': -3.2, 'S': -0.2, 'R': 1.7, 'T': -0.1, 'W': -1.9, 'V': -3.2, 'Y': -2.6}, 1: {'A': -3.4, 'C': -3.0, 'E': -3.0, 'D': -3.5, 'G': -3.7, 'F': -3.9, 'I': -4.3, 'H': -1.9... | 1,965 | 1,965 | 0.283461 | 552 | 1,965 | 1.005435 | 0.057971 | 0.075676 | 0.021622 | 0.028829 | 0.308108 | 0.133333 | 0.133333 | 0.108108 | 0.079279 | 0.079279 | 0 | 0.234483 | 0.188295 | 1,965 | 1 | 1,965 | 1,965 | 0.11348 | 0 | 0 | 0 | 0 | 0 | 0.091556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c050d438514b9e7aa9806bcf615f910af8ee92ce | 29 | py | Python | imprimir/algoritmo11.py | lagcrs/algoritmos | 5ee860c71db8ac2ef8bbe6cc87726938b1ca9c72 | [
"Apache-2.0"
] | null | null | null | imprimir/algoritmo11.py | lagcrs/algoritmos | 5ee860c71db8ac2ef8bbe6cc87726938b1ca9c72 | [
"Apache-2.0"
] | null | null | null | imprimir/algoritmo11.py | lagcrs/algoritmos | 5ee860c71db8ac2ef8bbe6cc87726938b1ca9c72 | [
"Apache-2.0"
] | null | null | null | print('Aprendendo Algoritmo') | 29 | 29 | 0.827586 | 3 | 29 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 29 | 1 | 29 | 29 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c062312f7433700d5a1f31bc84b18878a91f49e2 | 27 | py | Python | apps/fithm-gateway/apps/trade/__init__.py | sergio1221/flask-backend | 11a9e0db5b5e664fcc820919d97039738176ac62 | [
"BSD-3-Clause"
] | 3 | 2022-03-04T03:05:55.000Z | 2022-03-04T09:02:32.000Z | apps/fithm-gateway/apps/trade/__init__.py | sergio1221/flask-backend | 11a9e0db5b5e664fcc820919d97039738176ac62 | [
"BSD-3-Clause"
] | null | null | null | apps/fithm-gateway/apps/trade/__init__.py | sergio1221/flask-backend | 11a9e0db5b5e664fcc820919d97039738176ac62 | [
"BSD-3-Clause"
] | null | null | null | from .router import trade
| 13.5 | 26 | 0.777778 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 0.954545 | 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 |
221db0d9e70961977a2c26c98a456b232427dfc6 | 21,187 | py | Python | nova/tests/unit/objects/test_network.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/objects/test_network.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/objects/test_network.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2014 Red Hat, Inc.'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
comment|'# a copy of the License at'
nl|'\n'... | 12.211527 | 88 | 0.598008 | 3,210 | 21,187 | 3.834268 | 0.064174 | 0.192558 | 0.099123 | 0.083035 | 0.857979 | 0.808905 | 0.752925 | 0.68947 | 0.654534 | 0.615697 | 0 | 0.008366 | 0.097277 | 21,187 | 1,734 | 89 | 12.21857 | 0.635156 | 0 | 0 | 0.925606 | 0 | 0 | 0.362062 | 0.048473 | 0 | 0 | 0 | 0 | 0.017301 | 0 | null | null | 0.001153 | 0.002884 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
223642493ef4de0d7db2274f9ee4184b9000c5f8 | 396 | py | Python | python/testData/hierarchy/call/Static/DefaultValue/main.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/hierarchy/call/Static/DefaultValue/main.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/hierarchy/call/Static/DefaultValue/main.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def target_func():
pass
def func1():
def inner_func1(x=target_func):
pass
return inner_func1(target_func)
def func2():
def inner_func2(x=target_func()):
pass
return inner_func2(target_func)
def func3(x=target_func()):
pass
def func4():
def inner_func4(x=target_func)... | 13.2 | 37 | 0.646465 | 55 | 396 | 4.381818 | 0.218182 | 0.33195 | 0.290456 | 0.248963 | 0.323651 | 0.323651 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.242424 | 396 | 30 | 38 | 13.2 | 0.77 | 0 | 0 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.470588 | false | 0.294118 | 0 | 0 | 0.647059 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
2266eaedf3814bfe7c0e67789ad85e78853494c1 | 96 | py | Python | venv/lib/python3.8/site-packages/rope/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/rope/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/rope/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/ec/59/51/e2d1164312edd4ac3b31f2d62411d2dd102fb3614ec8ed060274a90745 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
227933b1d7304a5aac555331b7f6c7f258cb7563 | 16,364 | py | Python | rest_api/tests/unit/test_submit_requests.py | ajenie/sawtooth-core | 959fa7f26a67b745654225b56277f9b204fc7975 | [
"Apache-2.0"
] | null | null | null | rest_api/tests/unit/test_submit_requests.py | ajenie/sawtooth-core | 959fa7f26a67b745654225b56277f9b204fc7975 | [
"Apache-2.0"
] | null | null | null | rest_api/tests/unit/test_submit_requests.py | ajenie/sawtooth-core | 959fa7f26a67b745654225b56277f9b204fc7975 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 37.87963 | 80 | 0.642325 | 1,978 | 16,364 | 5.141052 | 0.096057 | 0.053004 | 0.028321 | 0.033435 | 0.842069 | 0.813059 | 0.795358 | 0.751008 | 0.700659 | 0.646278 | 0 | 0.013371 | 0.273344 | 16,364 | 431 | 81 | 37.967517 | 0.841813 | 0.038682 | 0 | 0.557895 | 0 | 0 | 0.084835 | 0.029601 | 0 | 0 | 0 | 0 | 0.252632 | 1 | 0 | false | 0 | 0.031579 | 0 | 0.052632 | 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 |
97eaa876cea3244848201591fc63d0ffc698c5f2 | 53,233 | py | Python | gluoncv/model_zoo/quantized/quantized.py | xinyu-intel/gluon-cv | 4a0627f7eba10c6a695bebd11dc5d815ba6b074b | [
"Apache-2.0"
] | 1 | 2019-04-02T02:08:04.000Z | 2019-04-02T02:08:04.000Z | gluoncv/model_zoo/quantized/quantized.py | xinyu-intel/gluon-cv | 4a0627f7eba10c6a695bebd11dc5d815ba6b074b | [
"Apache-2.0"
] | 1 | 2019-06-06T08:39:12.000Z | 2019-06-06T08:39:12.000Z | gluoncv/model_zoo/quantized/quantized.py | xinyu-intel/gluon-cv | 4a0627f7eba10c6a695bebd11dc5d815ba6b074b | [
"Apache-2.0"
] | 1 | 2019-04-02T02:08:10.000Z | 2019-04-02T02:08:10.000Z | # pylint: skip-file
# pylint: disable=line-too-long
"""Create quantized model from JSON files..."""
import os
import warnings
import mxnet as mx
from mxnet.context import cpu
from mxnet.gluon import SymbolBlock
from gluoncv.utils.compress_json import get_compressed_model
__all__ = ['mobilenet1_0_int8', 'resnet50_v1_in... | 543.193878 | 24,462 | 0.944358 | 1,775 | 53,233 | 28.218028 | 0.76169 | 0.001537 | 0.003773 | 0.001438 | 0.008685 | 0.007028 | 0.004313 | 0.004313 | 0.000958 | 0 | 0 | 0.13421 | 0.022448 | 53,233 | 97 | 24,463 | 548.793814 | 0.828299 | 0.014145 | 0 | 0.027397 | 0 | 0.027397 | 0.94387 | 0.938427 | 0 | 1 | 0 | 0 | 0 | 1 | 0.041096 | false | 0.013699 | 0.150685 | 0 | 0.205479 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f6bb64147b2bd9a9c4eea6d9e25e2f0289e96d6 | 55 | py | Python | pyrthomas/__init__.py | talhajunaidd/pyrthomas | 092b757028ef552bb2f9eccc2ab3c2ddd3ce7db4 | [
"MIT"
] | null | null | null | pyrthomas/__init__.py | talhajunaidd/pyrthomas | 092b757028ef552bb2f9eccc2ab3c2ddd3ce7db4 | [
"MIT"
] | null | null | null | pyrthomas/__init__.py | talhajunaidd/pyrthomas | 092b757028ef552bb2f9eccc2ab3c2ddd3ce7db4 | [
"MIT"
] | null | null | null | from .network import *
from .network_analyser import *
| 18.333333 | 31 | 0.781818 | 7 | 55 | 6 | 0.571429 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 32 | 27.5 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58d4243bb52c217ddac32368c1f5f6aa9facd42b | 33 | py | Python | code1/datasets/clustering/__init__.py | nickpezzotti1/IIC3 | 9edd27b28d2bddec4c3979ea4591380f5c411c8e | [
"MIT"
] | 61 | 2019-04-05T17:52:24.000Z | 2022-01-26T13:08:31.000Z | code1/datasets/clustering/__init__.py | nickpezzotti1/IIC3 | 9edd27b28d2bddec4c3979ea4591380f5c411c8e | [
"MIT"
] | 1 | 2022-02-02T23:32:37.000Z | 2022-02-02T23:32:37.000Z | code1/datasets/clustering/__init__.py | nickpezzotti1/IIC3 | 9edd27b28d2bddec4c3979ea4591380f5c411c8e | [
"MIT"
] | 29 | 2019-04-19T19:47:44.000Z | 2021-12-20T05:51:43.000Z | from .truncated_dataset import *
| 16.5 | 32 | 0.818182 | 4 | 33 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58dbeb7c381ae173c7164187a3fe438b64d36e9e | 312 | py | Python | src/redhat_support_tool/vendors/ACMECorp/__init__.py | karmab/redhat-support-tool | fc03adffe8aea4d6b14436dece14a06b4f491221 | [
"Apache-2.0"
] | 3 | 2018-04-04T23:09:13.000Z | 2020-10-15T11:09:18.000Z | src/redhat_support_tool/vendors/ACMECorp/__init__.py | redhataccess/redhat-support-tool | fc03adffe8aea4d6b14436dece14a06b4f491221 | [
"Apache-2.0"
] | null | null | null | src/redhat_support_tool/vendors/ACMECorp/__init__.py | redhataccess/redhat-support-tool | fc03adffe8aea4d6b14436dece14a06b4f491221 | [
"Apache-2.0"
] | 3 | 2015-05-14T09:02:32.000Z | 2021-08-05T19:43:27.000Z | provided_modules = ['redhat_support_tool.vendors.ACMECorp.open_case']
ignored_modules = ['redhat_support_tool.plugins.get_case',
'redhat_support_tool.plugins.list_cases',
'redhat_support_tool.plugins.open_case',
'redhat_support_tool.plugins.modify_case']
| 52 | 69 | 0.692308 | 35 | 312 | 5.685714 | 0.428571 | 0.326633 | 0.427136 | 0.482412 | 0.281407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 312 | 5 | 70 | 62.4 | 0.808943 | 0 | 0 | 0 | 0 | 0 | 0.628205 | 0.628205 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4506ffe98a9f31b24476d7b3bd1fc2303db68190 | 205 | py | Python | scvi/module/base/__init__.py | njbernstein/scvi-tools | 8c3ca358418d7dd1da5244dd9c3652a4a8cbe3c2 | [
"BSD-3-Clause"
] | 280 | 2020-09-18T06:26:28.000Z | 2022-03-01T20:28:14.000Z | scvi/module/base/__init__.py | njbernstein/scvi-tools | 8c3ca358418d7dd1da5244dd9c3652a4a8cbe3c2 | [
"BSD-3-Clause"
] | 594 | 2020-09-17T00:03:34.000Z | 2022-03-02T21:45:17.000Z | scvi/module/base/__init__.py | njbernstein/scvi-tools | 8c3ca358418d7dd1da5244dd9c3652a4a8cbe3c2 | [
"BSD-3-Clause"
] | 96 | 2020-09-19T21:26:00.000Z | 2022-02-25T05:38:05.000Z | from ._base_module import BaseModuleClass, LossRecorder, PyroBaseModuleClass
from ._decorators import auto_move_data
__all__ = ["BaseModuleClass", "LossRecorder", "PyroBaseModuleClass", "auto_move_data"]
| 41 | 86 | 0.829268 | 20 | 205 | 7.95 | 0.6 | 0.339623 | 0.578616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082927 | 205 | 4 | 87 | 51.25 | 0.845745 | 0 | 0 | 0 | 0 | 0 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
452a8d5455e34f74be413fa13f2fe76586f1d4c8 | 180 | py | Python | sparqlslurper/__init__.py | rezacsedu/sparqlslurper | 0991eac9b2ae9f2881dd13c128f63bbc70c02b3a | [
"CC0-1.0"
] | 1 | 2021-10-04T18:22:12.000Z | 2021-10-04T18:22:12.000Z | sparqlslurper/__init__.py | rezacsedu/sparqlslurper | 0991eac9b2ae9f2881dd13c128f63bbc70c02b3a | [
"CC0-1.0"
] | 14 | 2021-01-15T21:51:38.000Z | 2021-11-10T10:08:22.000Z | try2/lib/python3.9/site-packages/sparqlslurper/__init__.py | diatomsRcool/eco-kg | 4251f42ca2ab353838a39b640cb97593db76d4f4 | [
"BSD-3-Clause"
] | 1 | 2021-01-18T10:32:56.000Z | 2021-01-18T10:32:56.000Z | from ._slurpygraph import QueryTriple, NodeType, RDFTriple, TM_NS, SlurpyGraph, QueryResultHook, QueryResultPrinter
from ._graphdb_slurpygraph import GraphDBSlurpyGraph, graphdb_id | 90 | 115 | 0.872222 | 18 | 180 | 8.444444 | 0.722222 | 0.223684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077778 | 180 | 2 | 116 | 90 | 0.915663 | 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 |
18ad2fd7bc8437d487d7069b18f75a1935297f23 | 27 | py | Python | 1. Dive into Python/1.11. Movie Festival.py | ahmetutkuozkan/my_ceng240_exercises_solutions | 167bb9938515870ec1f01853933edc3b55937bff | [
"MIT"
] | null | null | null | 1. Dive into Python/1.11. Movie Festival.py | ahmetutkuozkan/my_ceng240_exercises_solutions | 167bb9938515870ec1f01853933edc3b55937bff | [
"MIT"
] | null | null | null | 1. Dive into Python/1.11. Movie Festival.py | ahmetutkuozkan/my_ceng240_exercises_solutions | 167bb9938515870ec1f01853933edc3b55937bff | [
"MIT"
] | null | null | null | print((int(input())+11)%24) | 27 | 27 | 0.62963 | 5 | 27 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0 | 27 | 1 | 27 | 27 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7a064dc0f79e50245e6048ee6cf09dacd50d04c8 | 14,053 | py | Python | synapse/tests/test_model_proj.py | ackroute/synapse | 51197f89ab372d2e357bcd054358352ecca66840 | [
"Apache-2.0"
] | null | null | null | synapse/tests/test_model_proj.py | ackroute/synapse | 51197f89ab372d2e357bcd054358352ecca66840 | [
"Apache-2.0"
] | null | null | null | synapse/tests/test_model_proj.py | ackroute/synapse | 51197f89ab372d2e357bcd054358352ecca66840 | [
"Apache-2.0"
] | null | null | null | import synapse.exc as s_exc
import synapse.tests.utils as s_test
class ProjModelTest(s_test.SynTest):
async def test_model_proj(self):
async with self.getTestCore() as core:
visi = await core.auth.addUser('visi')
lowuser = await core.auth.addUser('lowuser')
asvisi = ... | 64.16895 | 130 | 0.607771 | 1,808 | 14,053 | 4.709071 | 0.067478 | 0.10148 | 0.164905 | 0.15222 | 0.87268 | 0.84132 | 0.824055 | 0.801621 | 0.757693 | 0.705544 | 0 | 0.003786 | 0.21056 | 14,053 | 218 | 131 | 64.463303 | 0.763656 | 0.020565 | 0 | 0.305882 | 0 | 0.082353 | 0.37082 | 0.278642 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011765 | 0 | 0.017647 | 0.188235 | 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 |
e1383aed2a0a5bb501f9b50898d89261065be39f | 26 | py | Python | arduino/__init__.py | cactus-code/pyduino | 8fdb440a6adf7d567ce8040e11721380376c0892 | [
"MIT"
] | 1 | 2017-06-08T20:49:52.000Z | 2017-06-08T20:49:52.000Z | arduino/__init__.py | cactus-code/pyduino3 | 8fdb440a6adf7d567ce8040e11721380376c0892 | [
"MIT"
] | null | null | null | arduino/__init__.py | cactus-code/pyduino3 | 8fdb440a6adf7d567ce8040e11721380376c0892 | [
"MIT"
] | null | null | null | from .main import Arduino
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 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 |
e14035f21d422aef2359371179f3417a42d61a0e | 700 | py | Python | src/dot/entities/dotufrn.py | alisonbento/steering-all | 99797f99180dd64189ea5ed85ff71b66bfd9cf6f | [
"MIT"
] | 3 | 2016-10-10T18:34:55.000Z | 2017-08-02T15:18:28.000Z | src/dot/entities/dotufrn.py | alisonbento/steering-all | 99797f99180dd64189ea5ed85ff71b66bfd9cf6f | [
"MIT"
] | null | null | null | src/dot/entities/dotufrn.py | alisonbento/steering-all | 99797f99180dd64189ea5ed85ff71b66bfd9cf6f | [
"MIT"
] | null | null | null | import src.dot.dotentity
class DotUFRN(src.dot.dotentity.DotEntity):
def __init__(self):
res = [
"assets/img/blue-brick.png",
"assets/img/dark-blue-brick.png"
]
grid = [
[0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[1, 0, 0, 1, 0, 0, 0, 2, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1... | 31.818182 | 61 | 0.421429 | 161 | 700 | 1.782609 | 0.124224 | 0.313589 | 0.292683 | 0.320557 | 0.404181 | 0.404181 | 0.400697 | 0.38676 | 0.383275 | 0.383275 | 0 | 0.267932 | 0.322857 | 700 | 21 | 62 | 33.333333 | 0.337553 | 0 | 0 | 0 | 0 | 0 | 0.078571 | 0.078571 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.176471 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e15584a215c818262caf4910a8241b0f7ddb30bd | 181 | py | Python | first/app/entities/location.py | OscarSilvaOfficial/Ifood-Challenges | d97290b26ca4dec62e92823fe2c6e27a9e4c8248 | [
"MIT"
] | null | null | null | first/app/entities/location.py | OscarSilvaOfficial/Ifood-Challenges | d97290b26ca4dec62e92823fe2c6e27a9e4c8248 | [
"MIT"
] | null | null | null | first/app/entities/location.py | OscarSilvaOfficial/Ifood-Challenges | d97290b26ca4dec62e92823fe2c6e27a9e4c8248 | [
"MIT"
] | null | null | null | from typing import Optional
from .interfaces.location import LocationModel as ILocation
class Location(ILocation):
city: Optional[str]
lat: Optional[str]
lon: Optional[str] | 25.857143 | 59 | 0.779006 | 23 | 181 | 6.130435 | 0.608696 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143646 | 181 | 7 | 60 | 25.857143 | 0.909677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 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 |
e16c5bc007fa6965b8d7e1cbcf4158335f13b23b | 114 | py | Python | atm/analysis/__init__.py | moeyensj/atm | 0523600cf44423a1ef72ca40fff29bbfbe1281a8 | [
"BSD-3-Clause"
] | 10 | 2019-05-04T01:02:16.000Z | 2021-12-29T11:20:23.000Z | atm/analysis/__init__.py | moeyensj/atm | 0523600cf44423a1ef72ca40fff29bbfbe1281a8 | [
"BSD-3-Clause"
] | 22 | 2019-04-26T03:17:24.000Z | 2021-03-03T23:38:02.000Z | atm/analysis/__init__.py | moeyensj/atm | 0523600cf44423a1ef72ca40fff29bbfbe1281a8 | [
"BSD-3-Clause"
] | 2 | 2019-09-23T05:52:18.000Z | 2021-12-29T11:20:21.000Z | from .stats import *
from .wise import *
from .sdss import *
from .mags_and_fluxes import *
from .colors import *
| 19 | 30 | 0.736842 | 17 | 114 | 4.823529 | 0.529412 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 114 | 5 | 31 | 22.8 | 0.87234 | 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 |
e196138d5a25ccdadf242681b07c8b5105983b3c | 44 | py | Python | flask-app/app/tedapp/__init__.py | estimand/building-data-driven-products | d0f6b0e0fcb84f1885ceb62da1159dcffae91d57 | [
"CC-BY-4.0"
] | 6 | 2018-04-20T12:36:12.000Z | 2019-04-01T05:42:18.000Z | flask-app/app/tedapp/__init__.py | estimand/building-data-driven-products | d0f6b0e0fcb84f1885ceb62da1159dcffae91d57 | [
"CC-BY-4.0"
] | null | null | null | flask-app/app/tedapp/__init__.py | estimand/building-data-driven-products | d0f6b0e0fcb84f1885ceb62da1159dcffae91d57 | [
"CC-BY-4.0"
] | 5 | 2018-04-20T12:36:18.000Z | 2021-07-19T18:31:36.000Z | from .main import app
from . import filters
| 14.666667 | 21 | 0.772727 | 7 | 44 | 4.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 22 | 22 | 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 |
833b7d0ab4e36cc281eae1061e0135cf79dd56cb | 141 | py | Python | sebflow/exceptions.py | estenssoros/sebflow | ffd9d7be9576b98e341f525f49f0c5c384f525f4 | [
"MIT"
] | null | null | null | sebflow/exceptions.py | estenssoros/sebflow | ffd9d7be9576b98e341f525f49f0c5c384f525f4 | [
"MIT"
] | 7 | 2019-09-25T07:04:07.000Z | 2021-06-10T17:24:53.000Z | sebflow/exceptions.py | estenssoros/sebflow | ffd9d7be9576b98e341f525f49f0c5c384f525f4 | [
"MIT"
] | null | null | null | class SebflowException(Exception):
pass
class SebOnPurposeError(Exception):
pass
class SebflowConfigException(Exception):
pass
| 15.666667 | 40 | 0.77305 | 12 | 141 | 9.083333 | 0.5 | 0.357798 | 0.330275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163121 | 141 | 8 | 41 | 17.625 | 0.923729 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3639ff981aa0f3602405261c77da1700150922e0 | 148 | py | Python | quiz_bot/factory/__init__.py | livestreamx/quiz-bot | e08e9161d908ce9cb851cd6c689f04703db1928f | [
"MIT"
] | 1 | 2022-03-05T13:42:08.000Z | 2022-03-05T13:42:08.000Z | quiz_bot/factory/__init__.py | livestreamx/quiz-bot | e08e9161d908ce9cb851cd6c689f04703db1928f | [
"MIT"
] | null | null | null | quiz_bot/factory/__init__.py | livestreamx/quiz-bot | e08e9161d908ce9cb851cd6c689f04703db1928f | [
"MIT"
] | 2 | 2021-06-20T10:40:25.000Z | 2022-02-15T04:26:58.000Z | # flake8: noqa
from .chat_factory import ChatFactory
from .manager_factory import QuizManagerFactory
from .quiz_factory import QuizInterfaceFactory
| 29.6 | 47 | 0.864865 | 17 | 148 | 7.352941 | 0.647059 | 0.312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.101351 | 148 | 4 | 48 | 37 | 0.932331 | 0.081081 | 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 |
3645356cf5f1f15dead9ebe181fb60f0b41c9722 | 167 | py | Python | hibiscus_connect/hibiscus_connect/doctype/hibiscus_connect_bank_account/test_hibiscus_connect_bank_account.py | itsdave-de/hibiscus_connect | b535657336a4c37f558ef76cd7662984d833e4dc | [
"MIT"
] | null | null | null | hibiscus_connect/hibiscus_connect/doctype/hibiscus_connect_bank_account/test_hibiscus_connect_bank_account.py | itsdave-de/hibiscus_connect | b535657336a4c37f558ef76cd7662984d833e4dc | [
"MIT"
] | null | null | null | hibiscus_connect/hibiscus_connect/doctype/hibiscus_connect_bank_account/test_hibiscus_connect_bank_account.py | itsdave-de/hibiscus_connect | b535657336a4c37f558ef76cd7662984d833e4dc | [
"MIT"
] | null | null | null | # Copyright (c) 2021, itsdave GmbH and Contributors
# See license.txt
# import frappe
import unittest
class TestHibiscusConnectBankAccount(unittest.TestCase):
pass
| 18.555556 | 56 | 0.802395 | 19 | 167 | 7.052632 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0.131737 | 167 | 8 | 57 | 20.875 | 0.896552 | 0.473054 | 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 |
3653c5e79afcf424535d23a1ab30337be8757613 | 28 | py | Python | plugins/pelican-cite/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 13 | 2020-01-27T09:02:25.000Z | 2022-01-20T07:45:26.000Z | plugins/pelican-cite/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 29 | 2020-03-22T06:57:57.000Z | 2022-01-24T22:46:42.000Z | plugins/pelican-cite/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 6 | 2020-07-10T00:13:30.000Z | 2022-01-26T08:22:33.000Z | from .pelican_cite import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3668f070f28804de3d2b1e6648fcd97be61d1bbf | 130 | py | Python | communication_modules/websocket_client/__init__.py | dbenge/SimpleSensor_contrib | f48c31d3a0e0e29531ac5b0b445dccafd4f1e1d9 | [
"Apache-2.0"
] | null | null | null | communication_modules/websocket_client/__init__.py | dbenge/SimpleSensor_contrib | f48c31d3a0e0e29531ac5b0b445dccafd4f1e1d9 | [
"Apache-2.0"
] | 5 | 2018-07-22T03:06:33.000Z | 2018-11-08T22:42:53.000Z | communication_modules/websocket_client/__init__.py | dbenge/SimpleSensor_contrib | f48c31d3a0e0e29531ac5b0b445dccafd4f1e1d9 | [
"Apache-2.0"
] | 3 | 2018-07-11T14:49:06.000Z | 2022-03-24T18:31:26.000Z | from simplesensor.communication_modules.websocket_client.websocketClientModule import WebsocketClientModule as CommunicationModule | 130 | 130 | 0.938462 | 11 | 130 | 10.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 130 | 1 | 130 | 130 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3671aa59e0f273d59e4ddd4614a21a15ad259fdb | 118 | py | Python | src/common/input_processor.py | maxuepo/x-review-processor | 0ea78eb4b88eaf4212f5145dad9dff2c4fdd7fc3 | [
"MIT"
] | null | null | null | src/common/input_processor.py | maxuepo/x-review-processor | 0ea78eb4b88eaf4212f5145dad9dff2c4fdd7fc3 | [
"MIT"
] | null | null | null | src/common/input_processor.py | maxuepo/x-review-processor | 0ea78eb4b88eaf4212f5145dad9dff2c4fdd7fc3 | [
"MIT"
] | null | null | null | import pandas as pd
from pathlib import Path
pd.read_csv(Path('../../resource/labeled_data/labeled_reviews_3c.csv'))
| 23.6 | 71 | 0.779661 | 19 | 118 | 4.631579 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.084746 | 118 | 4 | 72 | 29.5 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.423729 | 0.423729 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
36774b29ed4baa3db5036a0a92bdb9053fffd82f | 21 | py | Python | packages/EditorConsole/__init__.py | lihaochen910/Candy | d12cb964768459c22f30c22531d3e1734901e814 | [
"MIT"
] | 1 | 2021-11-06T14:38:37.000Z | 2021-11-06T14:38:37.000Z | packages/EditorConsole/__init__.py | lihaochen910/Candy | d12cb964768459c22f30c22531d3e1734901e814 | [
"MIT"
] | 5 | 2021-11-06T04:23:06.000Z | 2022-03-12T01:03:25.000Z | packages/EditorConsole/__init__.py | lihaochen910/Candy | d12cb964768459c22f30c22531d3e1734901e814 | [
"MIT"
] | 1 | 2021-11-07T05:19:51.000Z | 2021-11-07T05:19:51.000Z | from . import console | 21 | 21 | 0.809524 | 3 | 21 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 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 |
36c8974de6ff3108d487973d4efa7ece6cc4123c | 160 | py | Python | module_update_tests/__init__.py | alexescalonafernandez/odoo-gulp-unittest | 863d69afa005967a96cf47047e6f720e53c39fb3 | [
"MIT"
] | null | null | null | module_update_tests/__init__.py | alexescalonafernandez/odoo-gulp-unittest | 863d69afa005967a96cf47047e6f720e53c39fb3 | [
"MIT"
] | null | null | null | module_update_tests/__init__.py | alexescalonafernandez/odoo-gulp-unittest | 863d69afa005967a96cf47047e6f720e53c39fb3 | [
"MIT"
] | null | null | null | from . import test_module_update
from . import server_test_runner
from . import override_openerp_modules_module
from . import utils
from . import HTMLTestRunner | 32 | 45 | 0.85 | 22 | 160 | 5.863636 | 0.545455 | 0.387597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11875 | 160 | 5 | 46 | 32 | 0.914894 | 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 |
36cf506f979ae07c55790ccea8ef4b2a56afa594 | 1,370 | py | Python | security/migrations/0005_auto_20161218_2224.py | zzuzzy/django-security | f01c629213e433b8cac5a2c84da1614843b4d0e4 | [
"MIT"
] | null | null | null | security/migrations/0005_auto_20161218_2224.py | zzuzzy/django-security | f01c629213e433b8cac5a2c84da1614843b4d0e4 | [
"MIT"
] | null | null | null | security/migrations/0005_auto_20161218_2224.py | zzuzzy/django-security | f01c629213e433b8cac5a2c84da1614843b4d0e4 | [
"MIT"
] | null | null | null | from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('security', '0004_auto_20160530_1608'),
]
operations = [
migrations.AlterField(
model_name='inputloggedrequest',
name='host',
field=models.CharField(db_in... | 32.619048 | 91 | 0.591971 | 127 | 1,370 | 6.188976 | 0.267717 | 0.152672 | 0.19084 | 0.221374 | 0.851145 | 0.851145 | 0.636132 | 0.636132 | 0.636132 | 0.636132 | 0 | 0.030896 | 0.291241 | 1,370 | 41 | 92 | 33.414634 | 0.778579 | 0 | 0 | 0.810811 | 0 | 0 | 0.150365 | 0.016788 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
36d7011f968241a8b5ea484b3da42f43ba4afeff | 16,376 | py | Python | tests/test_layers.py | ppatelcodal/newrelic-lambda-cli | e5c21f4787687588a951fb385ea447c0a44b376d | [
"Apache-2.0"
] | 29 | 2019-11-21T18:39:02.000Z | 2022-02-11T19:28:25.000Z | tests/test_layers.py | ppatelcodal/newrelic-lambda-cli | e5c21f4787687588a951fb385ea447c0a44b376d | [
"Apache-2.0"
] | 118 | 2019-11-21T18:32:00.000Z | 2022-03-31T23:58:31.000Z | tests/test_layers.py | ppatelcodal/newrelic-lambda-cli | e5c21f4787687588a951fb385ea447c0a44b376d | [
"Apache-2.0"
] | 28 | 2019-11-21T18:02:38.000Z | 2022-02-26T10:08:38.000Z | import boto3
from click import UsageError
from moto import mock_lambda
import pytest
from unittest.mock import ANY, call, MagicMock, patch
from newrelic_lambda_cli.layers import (
_attach_license_key_policy,
_detach_license_key_policy,
_add_new_relic,
_remove_new_relic,
install,
uninstall,
... | 34.475789 | 114 | 0.601795 | 1,679 | 16,376 | 5.516379 | 0.082787 | 0.029367 | 0.023429 | 0.046642 | 0.865904 | 0.833081 | 0.802095 | 0.783524 | 0.739365 | 0.721334 | 0 | 0.027848 | 0.298302 | 16,376 | 474 | 115 | 34.548523 | 0.778174 | 0.001832 | 0 | 0.622912 | 0 | 0.004773 | 0.213193 | 0.104271 | 0 | 0 | 0 | 0 | 0.102625 | 1 | 0.016706 | false | 0 | 0.019093 | 0 | 0.0358 | 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 |
7fff98faa8afd2f3d6372023b59c74ae4dd3ce1e | 44 | py | Python | ch1/test_three.py | anarinya/pytest-examples | 4c778435b921bbac52cc5391bebc03cbe57e0c1f | [
"MIT"
] | null | null | null | ch1/test_three.py | anarinya/pytest-examples | 4c778435b921bbac52cc5391bebc03cbe57e0c1f | [
"MIT"
] | null | null | null | ch1/test_three.py | anarinya/pytest-examples | 4c778435b921bbac52cc5391bebc03cbe57e0c1f | [
"MIT"
] | null | null | null | def test_in():
assert 1 in [1, 2, 3, 4]
| 14.666667 | 28 | 0.522727 | 10 | 44 | 2.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0.295455 | 44 | 2 | 29 | 22 | 0.548387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3d068a39f7e0a7fe39fbe5298abcea74f66b6e8b | 42 | py | Python | Data/datadownloader.py | m-harikiran/DRL-AT | efd569330eca498d263297f1d816a0ae9fe24e64 | [
"MIT"
] | null | null | null | Data/datadownloader.py | m-harikiran/DRL-AT | efd569330eca498d263297f1d816a0ae9fe24e64 | [
"MIT"
] | null | null | null | Data/datadownloader.py | m-harikiran/DRL-AT | efd569330eca498d263297f1d816a0ae9fe24e64 | [
"MIT"
] | null | null | null | import yfinance as yf
import pandas as pd
| 14 | 21 | 0.809524 | 8 | 42 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 22 | 21 | 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 |
3d5224e6ac86b9ccdd11ccb6b126ff081391da1f | 21 | py | Python | item_engine/graphics/__init__.py | GabrielAmare/ItemEngine | 10277626c3724ad9ae7b934f53e11e305dc34da5 | [
"MIT"
] | null | null | null | item_engine/graphics/__init__.py | GabrielAmare/ItemEngine | 10277626c3724ad9ae7b934f53e11e305dc34da5 | [
"MIT"
] | null | null | null | item_engine/graphics/__init__.py | GabrielAmare/ItemEngine | 10277626c3724ad9ae7b934f53e11e305dc34da5 | [
"MIT"
] | null | null | null | from .main import App | 21 | 21 | 0.809524 | 4 | 21 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 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 |
1863602af8d5260a5e7b3dacfbebe190a9654c25 | 197 | py | Python | wealthbot/admin/views.py | jliev/wealthbot_chatterbot | f6681da8e5f833990ccd321e166994f31253353f | [
"MIT"
] | 1 | 2019-04-22T07:20:31.000Z | 2019-04-22T07:20:31.000Z | wealthbot/admin/views.py | jliev/wealthbot_chatterbot | f6681da8e5f833990ccd321e166994f31253353f | [
"MIT"
] | null | null | null | wealthbot/admin/views.py | jliev/wealthbot_chatterbot | f6681da8e5f833990ccd321e166994f31253353f | [
"MIT"
] | null | null | null | from django.http import HttpResponse
from django.shortcuts import render
# Create your views here.
def dashboardIndex(request):
return HttpResponse('Not implemented yet, please come back later!') | 32.833333 | 68 | 0.812183 | 26 | 197 | 6.153846 | 0.846154 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121827 | 197 | 6 | 68 | 32.833333 | 0.924855 | 0.116751 | 0 | 0 | 0 | 0 | 0.254335 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
43ea8f42b8a84cf109df8085129687242f919b82 | 257,662 | py | Python | instances/passenger_demand/pas-20210422-1717-int12e/10.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int12e/10.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int12e/10.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 23024
passenger_arriving = (
(5, 5, 6, 4, 3, 3, 3, 1, 1, 0, 0, 2, 0, 7, 4, 4, 3, 10, 4, 0, 2, 3, 0, 3, 0, 0), # 0
(4, 3, 2, 5, 4, 3, 4, 1, 3, 3, 2, 1, 0, 8, 10, 4, 2, 6, 5, 1, 1, 2, 0, 0, 1, 0), # 1
(7, 5, 4, 8, 3, 2, 4, 3, 3, 1, 0, 1, 0, 9, 6, 6, 3, 9, 4, 4, 1, 1, 1, 0, 0, 0)... | 275.574332 | 493 | 0.768984 | 32,987 | 257,662 | 6.006215 | 0.221754 | 0.359769 | 0.345233 | 0.654126 | 0.375693 | 0.367714 | 0.365614 | 0.365261 | 0.365261 | 0.365261 | 0 | 0.849396 | 0.095994 | 257,662 | 934 | 494 | 275.869379 | 0.001198 | 0.015567 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a17f55a6f34dffbc1ba6b53e48896581cae7c180 | 24 | py | Python | pms-docking-demo/backend/app/__init__.py | fish2018/openpms | 88ca124ba0980aef5dd5474af03209f2dbefdcca | [
"Apache-2.0"
] | 40 | 2019-09-12T00:41:22.000Z | 2022-03-25T03:29:28.000Z | pms-docking-demo/backend/app/__init__.py | fish2018/openpms | 88ca124ba0980aef5dd5474af03209f2dbefdcca | [
"Apache-2.0"
] | null | null | null | pms-docking-demo/backend/app/__init__.py | fish2018/openpms | 88ca124ba0980aef5dd5474af03209f2dbefdcca | [
"Apache-2.0"
] | 14 | 2019-09-07T11:49:55.000Z | 2022-03-25T03:36:20.000Z | from .api import api
| 4.8 | 20 | 0.666667 | 4 | 24 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 24 | 4 | 21 | 6 | 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 |
a1821965f5048d029937e9b8a2be98d389cf28ea | 77 | py | Python | mlswarm/infrastructure/services/estimators/__init__.py | lucasdavid/mlswarm-infrastructure | d52c4c6c6f41a85272acf098c7a152eb66aed337 | [
"MIT"
] | 2 | 2018-06-18T09:53:50.000Z | 2019-02-01T13:02:12.000Z | mlswarm/infrastructure/services/estimators/__init__.py | lucasdavid/mlswarm-infrastructure | d52c4c6c6f41a85272acf098c7a152eb66aed337 | [
"MIT"
] | null | null | null | mlswarm/infrastructure/services/estimators/__init__.py | lucasdavid/mlswarm-infrastructure | d52c4c6c6f41a85272acf098c7a152eb66aed337 | [
"MIT"
] | null | null | null | from .models import IEstimator, DummyRegressor, SimpleDenseNetworkClassifier
| 38.5 | 76 | 0.883117 | 6 | 77 | 11.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 77 | 1 | 77 | 77 | 0.957746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 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 |
a1b280148a14fd2599dfb351cf9e8041703efff7 | 209 | py | Python | napalm_yang/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 64 | 2016-10-20T15:47:18.000Z | 2021-11-11T11:57:32.000Z | napalm_yang/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 126 | 2016-10-05T10:36:14.000Z | 2019-05-15T08:43:23.000Z | napalm_yang/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 63 | 2016-11-07T15:23:08.000Z | 2021-09-22T14:41:16.000Z | from napalm_yang import base
from napalm_yang import models
from napalm_yang import utils
from napalm_yang.supported_models import SUPPORTED_MODELS
__all__ = ["base", "models", "utils", "SUPPORTED_MODELS"]
| 23.222222 | 57 | 0.808612 | 29 | 209 | 5.448276 | 0.310345 | 0.253165 | 0.35443 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119617 | 209 | 8 | 58 | 26.125 | 0.858696 | 0 | 0 | 0 | 0 | 0 | 0.148325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 |
a1c8b347ebf8d2e0e46613d488ffab60ec9c1189 | 90 | py | Python | dummy_feature.py | Pradipt890/numpy | 6833dd08eab7cc7a7d074dc10908a29cd81823c2 | [
"BSD-3-Clause"
] | null | null | null | dummy_feature.py | Pradipt890/numpy | 6833dd08eab7cc7a7d074dc10908a29cd81823c2 | [
"BSD-3-Clause"
] | null | null | null | dummy_feature.py | Pradipt890/numpy | 6833dd08eab7cc7a7d074dc10908a29cd81823c2 | [
"BSD-3-Clause"
] | null | null | null |
def dummy_func():
print("adding a new dummy function in the numpy open source code") | 22.5 | 70 | 0.722222 | 15 | 90 | 4.266667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 90 | 4 | 70 | 22.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.640449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b820e2b4791903091c23593e318f62a55fbbc1dc | 36 | py | Python | app/status/__init__.py | SDharan93/remoteSecurity | a5d3ad8b9c762a691df192c4565585a917047ead | [
"MIT"
] | null | null | null | app/status/__init__.py | SDharan93/remoteSecurity | a5d3ad8b9c762a691df192c4565585a917047ead | [
"MIT"
] | null | null | null | app/status/__init__.py | SDharan93/remoteSecurity | a5d3ad8b9c762a691df192c4565585a917047ead | [
"MIT"
] | null | null | null | from runningStat import runningStat
| 18 | 35 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 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 |
62ac64d706e2e56820aa0709396d3233559bfa69 | 8,699 | py | Python | apps/server/views.py | crazypenguin/devops | 0f1305b5a5cc5c332cf0333c631eed6dd0e10684 | [
"MIT"
] | 300 | 2019-07-30T03:01:29.000Z | 2022-03-14T05:51:41.000Z | apps/server/views.py | nice555/devops | fe09e6a3165d92dcd2dc67a0df3c2e47c6accc41 | [
"MIT"
] | 27 | 2019-11-04T08:41:52.000Z | 2021-09-27T07:51:41.000Z | apps/server/views.py | nice555/devops | fe09e6a3165d92dcd2dc67a0df3c2e47c6accc41 | [
"MIT"
] | 124 | 2019-08-21T03:32:15.000Z | 2022-03-14T05:51:43.000Z | from django.shortcuts import render, get_object_or_404
from util.tool import login_required
from .models import RemoteUserBindHost, RemoteUser, HostGroup
from user.models import User, Group
from webssh.models import TerminalSession
from django.db.models import Q
from ratelimit.decorators import ratelimit # 限速
from... | 33.717054 | 117 | 0.634326 | 1,008 | 8,699 | 5.299603 | 0.110119 | 0.10483 | 0.115313 | 0.087608 | 0.813179 | 0.783602 | 0.78173 | 0.78173 | 0.753838 | 0.743167 | 0 | 0.009326 | 0.223474 | 8,699 | 257 | 118 | 33.848249 | 0.781495 | 0.002989 | 0 | 0.681416 | 0 | 0 | 0.088927 | 0.009804 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057522 | false | 0.004425 | 0.044248 | 0.004425 | 0.159292 | 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 |
62b486490cf3300966f49dccf26caeb5504afdc1 | 79 | py | Python | logreporter/formatter/__init__.py | TakamiChie/LogReporter | c4b3e00dd40d3bfb5296fca3ac4af6acf1770958 | [
"MIT"
] | null | null | null | logreporter/formatter/__init__.py | TakamiChie/LogReporter | c4b3e00dd40d3bfb5296fca3ac4af6acf1770958 | [
"MIT"
] | 5 | 2020-10-28T12:36:41.000Z | 2021-03-31T09:26:06.000Z | logreporter/formatter/__init__.py | TakamiChie/LogReporter | c4b3e00dd40d3bfb5296fca3ac4af6acf1770958 | [
"MIT"
] | null | null | null | from logreporter.formatter.discordreportformatter import DiscordReportFormatter | 79 | 79 | 0.936709 | 6 | 79 | 12.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 79 | 1 | 79 | 79 | 0.973684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 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 |
1a0cd0d7cfd136330aa9076d99ace328fdcb3032 | 24 | py | Python | pysocket/__init__.py | moonsung1234/pysocket | f809c82320b5d1a89f8749894c1d935936d1f27c | [
"MIT"
] | null | null | null | pysocket/__init__.py | moonsung1234/pysocket | f809c82320b5d1a89f8749894c1d935936d1f27c | [
"MIT"
] | null | null | null | pysocket/__init__.py | moonsung1234/pysocket | f809c82320b5d1a89f8749894c1d935936d1f27c | [
"MIT"
] | null | null | null |
from .pysocket import * | 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 2 | 23 | 12 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1a2afb6bc72f257a6563196a93b4cb330ff263f1 | 392 | py | Python | website/webapps/django/project/settings/__init__.py | mihow/webfaction-django-boilerplate | 83542a8cb15a684d374f03587f5abc9a504e6a23 | [
"MIT"
] | 1 | 2015-01-11T21:10:39.000Z | 2015-01-11T21:10:39.000Z | website/webapps/django/project/settings/__init__.py | bitmazk/webfaction-django-boilerplate | d1076210d780cdb6455888126bae5846b249d21d | [
"MIT"
] | 1 | 2021-06-10T23:52:48.000Z | 2021-06-10T23:52:48.000Z | website/webapps/django/project/settings/__init__.py | bitmazk/webfaction-django-boilerplate | d1076210d780cdb6455888126bae5846b249d21d | [
"MIT"
] | null | null | null | # flake8: noqa
"""
Django settings split into different files for better maintenance and
visibility.
"""
from settings.base_settings import *
from settings.installed_apps import *
from settings.staticfiles_settings import *
from settings.middleware_settings import *
from settings.django_settings import *
from settings.... | 30.153846 | 69 | 0.826531 | 49 | 392 | 6.469388 | 0.44898 | 0.264984 | 0.340694 | 0.410095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002874 | 0.112245 | 392 | 12 | 70 | 32.666667 | 0.908046 | 0.242347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 |
a7efb47e83a3edc880315e52ccb5b8390bbdad9e | 57 | py | Python | examples/multiple_files/part_2.py | mcsimrus/hug | bfbbcd597e2c1307e3f610bd53a4bfdc47766f74 | [
"MIT"
] | 1 | 2019-08-20T03:49:20.000Z | 2019-08-20T03:49:20.000Z | examples/multiple_files/part_2.py | mcsimrus/hug | bfbbcd597e2c1307e3f610bd53a4bfdc47766f74 | [
"MIT"
] | 5 | 2021-03-19T01:22:49.000Z | 2022-03-11T23:49:40.000Z | examples/multiple_files/part_2.py | mcsimrus/hug | bfbbcd597e2c1307e3f610bd53a4bfdc47766f74 | [
"MIT"
] | 2 | 2021-03-21T08:07:02.000Z | 2021-10-05T03:53:47.000Z | import hug
@hug.get()
def part2():
return 'Part 2'
| 8.142857 | 19 | 0.596491 | 9 | 57 | 3.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.245614 | 57 | 6 | 20 | 9.5 | 0.744186 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c51a735e6de5ed2cf5eff2757378697df99a06c8 | 150 | py | Python | domains/__init__.py | DrSeabass/heuristic_search | eb50ccf91c257acde810f4943fbace348313f903 | [
"MIT"
] | null | null | null | domains/__init__.py | DrSeabass/heuristic_search | eb50ccf91c257acde810f4943fbace348313f903 | [
"MIT"
] | null | null | null | domains/__init__.py | DrSeabass/heuristic_search | eb50ccf91c257acde810f4943fbace348313f903 | [
"MIT"
] | null | null | null | from .interface import SearchInterface
from .peg_solitaire import TriangleBoard as PegSolitaireBoard
from .peg_solitaire import PegSolitaireInterface
| 37.5 | 61 | 0.886667 | 16 | 150 | 8.1875 | 0.625 | 0.10687 | 0.244275 | 0.335878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 150 | 3 | 62 | 50 | 0.963235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c51be54fa8c67e3710b33d96faf84224dda6c9b9 | 40 | py | Python | vnpy/gateway/bybit/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 323 | 2015-11-21T14:45:29.000Z | 2022-03-16T08:54:37.000Z | vnpy/gateway/bybit/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 9 | 2017-03-21T08:26:21.000Z | 2021-08-23T06:41:17.000Z | vnpy/gateway/bybit/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 148 | 2016-09-26T03:25:39.000Z | 2022-02-06T14:43:48.000Z | from .bybit_gateway import BybitGateway
| 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 |
c54c3ac62817302f548aa8992ffbaff0441dac85 | 13,760 | py | Python | tanks/player_tank.py | zero-eclipse/battle_game | 2294b946b631cf9fd9b55515cf6b3b112841009b | [
"Apache-2.0"
] | null | null | null | tanks/player_tank.py | zero-eclipse/battle_game | 2294b946b631cf9fd9b55515cf6b3b112841009b | [
"Apache-2.0"
] | 1 | 2020-01-06T05:24:40.000Z | 2020-01-06T05:24:40.000Z | tanks/player_tank.py | zero-eclipse/battle_game | 2294b946b631cf9fd9b55515cf6b3b112841009b | [
"Apache-2.0"
] | null | null | null | import random
import time
import pygame
from pygame.locals import *
from utils.tank_fun import *
from utils.params import *
class PlayerTank(Display, Move, Block, Order):
def get_order(self):
return 50
def __init__(self, **kwargs):
self.surface = kwargs['surface']
self.x = kwargs['x... | 32.91866 | 108 | 0.564026 | 1,812 | 13,760 | 4.1766 | 0.058499 | 0.087209 | 0.100423 | 0.088134 | 0.865751 | 0.813425 | 0.773124 | 0.732426 | 0.684593 | 0.628039 | 0 | 0.00832 | 0.309956 | 13,760 | 418 | 109 | 32.91866 | 0.788731 | 0 | 0 | 0.718475 | 0 | 0 | 0.021801 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108504 | false | 0.01173 | 0.017595 | 0.02346 | 0.228739 | 0.008798 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3d6d24106f5c44c6b84ab35b8a567a9e19af6947 | 518 | py | Python | salsa_env/lib/python3.7/site-packages/openai/api_resources/__init__.py | shahjaidev/Salsa-GPT3 | 41ecf0d7268300a2435a8eb8f4f4c68139de6e79 | [
"MIT"
] | 1 | 2021-07-03T18:27:02.000Z | 2021-07-03T18:27:02.000Z | salsa_env/lib/python3.7/site-packages/openai/api_resources/__init__.py | shahjaidev/Salsa-GPT3 | 41ecf0d7268300a2435a8eb8f4f4c68139de6e79 | [
"MIT"
] | null | null | null | salsa_env/lib/python3.7/site-packages/openai/api_resources/__init__.py | shahjaidev/Salsa-GPT3 | 41ecf0d7268300a2435a8eb8f4f4c68139de6e79 | [
"MIT"
] | null | null | null | from openai.api_resources.branch import Branch
from openai.api_resources.completion import Completion
from openai.api_resources.engine import Engine
from openai.api_resources.error_object import ErrorObject
from openai.api_resources.event import Event
from openai.api_resources.file import File
from openai.api_resources... | 43.166667 | 57 | 0.872587 | 78 | 518 | 5.641026 | 0.230769 | 0.25 | 0.325 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084942 | 518 | 11 | 58 | 47.090909 | 0.92827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 |
3db207ca50a63c13d1b2cf185c1ac343d6da31de | 8,898 | py | Python | auto_derby/single_mode/race_test.py | holamlui/auto-derby | 3dd55738c3935d6ec885375d80f65f9e5120d54f | [
"MIT"
] | null | null | null | auto_derby/single_mode/race_test.py | holamlui/auto-derby | 3dd55738c3935d6ec885375d80f65f9e5120d54f | [
"MIT"
] | null | null | null | auto_derby/single_mode/race_test.py | holamlui/auto-derby | 3dd55738c3935d6ec885375d80f65f9e5120d54f | [
"MIT"
] | null | null | null | import PIL.Image
from . import race, _test
from .context import Context
def test_find_by_race_detail_image():
img = (
PIL.Image.open(_test.DATA_PATH / "race_detail.png")
.convert("RGB")
.resize((540, 960))
)
ctx = Context.new()
ctx.date = (2, 3, 1)
race1 = race.find_by_race... | 29.366337 | 84 | 0.633176 | 1,251 | 8,898 | 4.277378 | 0.081535 | 0.100729 | 0.07849 | 0.089703 | 0.922071 | 0.873482 | 0.84844 | 0.835545 | 0.800785 | 0.673145 | 0 | 0.063725 | 0.225781 | 8,898 | 302 | 85 | 29.463576 | 0.713021 | 0 | 0 | 0.584746 | 0 | 0 | 0.07822 | 0.012812 | 0 | 0 | 0 | 0 | 0.283898 | 1 | 0.088983 | false | 0 | 0.012712 | 0 | 0.101695 | 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 |
3dc97df457b822180dd8dcf4c9bfcfb62d0d8c14 | 148 | py | Python | tests/functional/modules/pyi_import_pyqt_uic_port/PyQt5/uic/port_v3/__init__.py | hawkhai/pyinstaller | 016a24479b34de161792c72dde455a81ad4c78ae | [
"Apache-2.0"
] | 9,267 | 2015-01-01T04:08:45.000Z | 2022-03-31T11:42:38.000Z | tests/functional/modules/pyi_import_pyqt_uic_port/PyQt5/uic/port_v3/__init__.py | hawkhai/pyinstaller | 016a24479b34de161792c72dde455a81ad4c78ae | [
"Apache-2.0"
] | 5,150 | 2015-01-01T12:09:56.000Z | 2022-03-31T18:06:12.000Z | tests/functional/modules/pyi_import_pyqt_uic_port/PyQt5/uic/port_v3/__init__.py | hawkhai/pyinstaller | 016a24479b34de161792c72dde455a81ad4c78ae | [
"Apache-2.0"
] | 2,101 | 2015-01-03T10:25:27.000Z | 2022-03-30T11:04:42.000Z | __pyinstaller_fake_module_marker__ = '__pyinstaller_fake_module_marker__'
print('this is PyQtx.uic.port_v2')
from . import test # noqa: F401, E402
| 37 | 73 | 0.810811 | 21 | 148 | 5 | 0.809524 | 0.285714 | 0.4 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.101351 | 148 | 3 | 74 | 49.333333 | 0.736842 | 0.108108 | 0 | 0 | 0 | 0 | 0.453846 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3dd7d284ad64d16c8b9156bb9e8efc4d584242f8 | 35 | py | Python | aerosandbox/atmosphere/__init__.py | peterdsharpe/AeroSandbox | 53f80812f3f82dfe56072afa323c43595a6ad539 | [
"MIT"
] | 322 | 2019-05-29T20:40:04.000Z | 2022-03-29T12:46:45.000Z | aerosandbox/atmosphere/__init__.py | peterdsharpe/AeroSandbox | 53f80812f3f82dfe56072afa323c43595a6ad539 | [
"MIT"
] | 55 | 2019-07-14T09:52:59.000Z | 2022-03-28T16:02:21.000Z | aerosandbox/atmosphere/__init__.py | peterdsharpe/AeroSandbox | 53f80812f3f82dfe56072afa323c43595a6ad539 | [
"MIT"
] | 68 | 2019-06-02T09:57:26.000Z | 2022-03-28T15:03:47.000Z | from .atmosphere import Atmosphere
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3dde61e6f055e5a008cea4137e4f6f6e4252a8cb | 18,328 | py | Python | tests/test_sequence.py | nehz/librosa | 0dcd53f462db124ed3f54edf2334f28738d2ecc6 | [
"ISC"
] | null | null | null | tests/test_sequence.py | nehz/librosa | 0dcd53f462db124ed3f54edf2334f28738d2ecc6 | [
"ISC"
] | null | null | null | tests/test_sequence.py | nehz/librosa | 0dcd53f462db124ed3f54edf2334f28738d2ecc6 | [
"ISC"
] | 1 | 2018-09-12T15:55:13.000Z | 2018-09-12T15:55:13.000Z | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
import warnings
import numpy as np
from nose.tools import raises
from test_core import srand
import librosa
warnings.resetwarnings()
warnings.simplefilter('always')
# Core viterbi tests
def test_viterbi_example():
# Example from https://en.wikipedia.org/wiki/Vi... | 29.753247 | 129 | 0.580151 | 2,718 | 18,328 | 3.72259 | 0.08131 | 0.034098 | 0.008302 | 0.044475 | 0.888021 | 0.839395 | 0.814193 | 0.782961 | 0.759537 | 0.729986 | 0 | 0.049564 | 0.292176 | 18,328 | 615 | 130 | 29.801626 | 0.730363 | 0.135094 | 0 | 0.686217 | 0 | 0 | 0.003807 | 0 | 0 | 0 | 0 | 0 | 0.108504 | 1 | 0.123167 | false | 0 | 0.014663 | 0 | 0.13783 | 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 |
3dfdc843b53558c675845a8c24cc6331a99061aa | 4,628 | py | Python | tests/test_JsTree.py | matusmarhefka/oval-graph | c63886c41f3e9655befe633b900861dcde7665cb | [
"Apache-2.0"
] | null | null | null | tests/test_JsTree.py | matusmarhefka/oval-graph | c63886c41f3e9655befe633b900861dcde7665cb | [
"Apache-2.0"
] | null | null | null | tests/test_JsTree.py | matusmarhefka/oval-graph | c63886c41f3e9655befe633b900861dcde7665cb | [
"Apache-2.0"
] | null | null | null | import tests.any_test_help
from oval_graph.oval_tree.oval_node import OvalNode
def test_create_node_dict_for_JsTree_0():
src = 'test_data/test_JsTree_data/JsTree_data_0.json'
tree = tests.any_test_help.get_simple_tree()
tests.any_test_help.any_test_create_node_dict_for_JsTree(tree, src)
def test_create_... | 25.428571 | 86 | 0.633103 | 612 | 4,628 | 4.295752 | 0.107843 | 0.069228 | 0.106504 | 0.109547 | 0.925067 | 0.913655 | 0.894637 | 0.883226 | 0.77558 | 0.699886 | 0 | 0.011631 | 0.275497 | 4,628 | 181 | 87 | 25.569061 | 0.772443 | 0 | 0 | 0.623188 | 0 | 0 | 0.188634 | 0.155359 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0.007246 | 0.014493 | 0 | 0.101449 | 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 |
9a7c1c614a57219451573d9a9da5b68008469188 | 136 | py | Python | dist/Basilisk/simulation/stateArchitecture/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | dist/Basilisk/simulation/stateArchitecture/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | 1 | 2019-03-13T20:52:22.000Z | 2019-03-13T20:52:22.000Z | dist/Basilisk/simulation/stateArchitecture/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | # This __init__.py file for the stateArchitecture package is automatically generated by the build system
from stateArchitecture import * | 68 | 104 | 0.845588 | 18 | 136 | 6.166667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 136 | 2 | 105 | 68 | 0.940678 | 0.75 | 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 |
9a7c949b4a9c789b1c39a18530b8904b9381843c | 1,358 | py | Python | jd_seckill/main.py | we11cheng/jd_seckill_backup | 4e0b8a2a7276c76944f94a5d148f9a50da9c19ef | [
"MIT"
] | 7 | 2021-12-20T06:27:09.000Z | 2022-03-07T09:05:01.000Z | jd_seckill/main.py | we11cheng/jd_seckill_backup | 4e0b8a2a7276c76944f94a5d148f9a50da9c19ef | [
"MIT"
] | 1 | 2021-12-21T07:28:32.000Z | 2022-01-07T02:57:49.000Z | jd_seckill/main.py | we11cheng/jd_seckill_backup | 4e0b8a2a7276c76944f94a5d148f9a50da9c19ef | [
"MIT"
] | 5 | 2021-12-27T02:05:49.000Z | 2022-01-25T03:56:52.000Z | import sys
from jd_spider_requests import JdSeckill
if __name__ == '__main__':
a = """
oooo oooooooooo. .oooooo..o oooo o8o oooo oooo
`888 `888' `Y8b d8P' `Y8 `888 `"' `888 `888
888 888 888 ... | 41.151515 | 156 | 0.387334 | 127 | 1,358 | 3.992126 | 0.456693 | 0.248521 | 0.266272 | 0.236686 | 0.130178 | 0.071006 | 0 | 0 | 0 | 0 | 0 | 0.291401 | 0.537555 | 1,358 | 32 | 157 | 42.4375 | 0.515924 | 0 | 0 | 0 | 0 | 0.076923 | 0.7465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.076923 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 |
9ac5ae672c9892f4bd663bbfc781bf3fb1799c23 | 3,249 | py | Python | test/kernels/test_linear_kernel.py | konstantinklemmer/gpytorch | f1d947b340a188c398b6c6e610b6a839c61aa298 | [
"MIT"
] | 2 | 2019-03-31T04:36:30.000Z | 2019-05-22T20:09:25.000Z | test/kernels/test_linear_kernel.py | konstantinklemmer/gpytorch | f1d947b340a188c398b6c6e610b6a839c61aa298 | [
"MIT"
] | null | null | null | test/kernels/test_linear_kernel.py | konstantinklemmer/gpytorch | f1d947b340a188c398b6c6e610b6a839c61aa298 | [
"MIT"
] | 1 | 2019-02-15T17:05:42.000Z | 2019-02-15T17:05:42.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import torch
import unittest
from gpytorch.kernels import LinearKernel
class TestLinearKernel(unittest.TestCase):
def test_computes_linear_function_rectangular(self... | 38.678571 | 97 | 0.609418 | 469 | 3,249 | 4.070362 | 0.153518 | 0.047145 | 0.052383 | 0.120482 | 0.806705 | 0.782085 | 0.760084 | 0.733892 | 0.733892 | 0.733892 | 0 | 0.040416 | 0.23084 | 3,249 | 83 | 98 | 39.144578 | 0.723489 | 0.022161 | 0 | 0.542373 | 0 | 0 | 0.002524 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 1 | 0.050847 | false | 0 | 0.118644 | 0 | 0.186441 | 0.016949 | 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 |
9ad439424a64dc9842e33da501066c90f6b75635 | 100 | py | Python | src/data/__init__.py | vinbigdata-medical/midl2020-cnnlstm-ich | a1d768fb1ef0080033756e6d3c1da25db539cacd | [
"Apache-2.0"
] | 22 | 2021-02-09T14:29:34.000Z | 2022-01-25T03:53:19.000Z | src/data/__init__.py | vinbigdata-medical/midl2020-cnnlstm-ich | a1d768fb1ef0080033756e6d3c1da25db539cacd | [
"Apache-2.0"
] | 3 | 2021-04-16T14:26:22.000Z | 2021-07-29T08:35:05.000Z | src/data/__init__.py | VinBDI-MedicalImagingTeam/midl2020-cnnlstm-ich | a1d768fb1ef0080033756e6d3c1da25db539cacd | [
"Apache-2.0"
] | 5 | 2021-05-26T14:26:00.000Z | 2022-03-18T10:28:04.000Z | from .rsna_dataset import RSNAHemorrhageDS2d, RSNAHemorrhageDS3d
from .qure_dataset import Qure500DS | 50 | 64 | 0.89 | 11 | 100 | 7.909091 | 0.727273 | 0.298851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054348 | 0.08 | 100 | 2 | 65 | 50 | 0.891304 | 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 |
9aecf38ad580c9a41a5e387094f8fa48f9a8f053 | 20,175 | py | Python | texar/losses/mle_losses.py | Holmeswww/Text_Infilling | f63cd24bee5c62d7dedd8fb35c4e52aee20c39f3 | [
"Apache-2.0"
] | 25 | 2019-01-03T09:15:20.000Z | 2022-02-12T04:20:59.000Z | texar/losses/mle_losses.py | Holmeswww/Text_Infilling | f63cd24bee5c62d7dedd8fb35c4e52aee20c39f3 | [
"Apache-2.0"
] | 4 | 2019-03-28T11:02:20.000Z | 2022-02-15T04:57:33.000Z | texar/losses/mle_losses.py | Holmeswww/Text_Infilling | f63cd24bee5c62d7dedd8fb35c4e52aee20c39f3 | [
"Apache-2.0"
] | 9 | 2019-01-03T02:20:37.000Z | 2022-02-12T04:20:50.000Z | #
"""
Various losses
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import tensorflow as tf
from texar.losses.losses_utils import mask_and_reduce, reduce_dimensions
from texar.utils import shapes
# pylint: disable=invalid-name, not-context-manager, p... | 46.593533 | 79 | 0.607088 | 2,540 | 20,175 | 4.576378 | 0.075197 | 0.086115 | 0.054198 | 0.030282 | 0.852805 | 0.827942 | 0.814952 | 0.798606 | 0.783723 | 0.769959 | 0 | 0.002677 | 0.314994 | 20,175 | 432 | 80 | 46.701389 | 0.838423 | 0.605452 | 0 | 0.52 | 0 | 0 | 0.047632 | 0.040586 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.04 | 0 | 0.113333 | 0.006667 | 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 |
b173803617ea95f93bd1d3950dd81db195fca562 | 39 | py | Python | packages/pyright-internal/src/tests/samples/project_src_with_extra_paths/src/module1.py | lipovsek/pytea | c536515a5e5947fac8871784323ba7eddc58956d | [
"MIT"
] | null | null | null | packages/pyright-internal/src/tests/samples/project_src_with_extra_paths/src/module1.py | lipovsek/pytea | c536515a5e5947fac8871784323ba7eddc58956d | [
"MIT"
] | null | null | null | packages/pyright-internal/src/tests/samples/project_src_with_extra_paths/src/module1.py | lipovsek/pytea | c536515a5e5947fac8871784323ba7eddc58956d | [
"MIT"
] | null | null | null | from vendored1 import MSG
print(MSG)
| 13 | 26 | 0.769231 | 6 | 39 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.179487 | 39 | 2 | 27 | 19.5 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
b185887ef5bf3ac87723c5d42c8ccfdc5b9cad33 | 88 | py | Python | global_id/tests/utils/callers/__init__.py | ThePokerFaCcCe/messenger | 2db3d5c2ccd05ac40d2442a13d664ca9ad3cb14c | [
"MIT"
] | null | null | null | global_id/tests/utils/callers/__init__.py | ThePokerFaCcCe/messenger | 2db3d5c2ccd05ac40d2442a13d664ca9ad3cb14c | [
"MIT"
] | null | null | null | global_id/tests/utils/callers/__init__.py | ThePokerFaCcCe/messenger | 2db3d5c2ccd05ac40d2442a13d664ca9ad3cb14c | [
"MIT"
] | null | null | null | from .guid_caller import GUIDViewCaller
from .fakechat_caller import FakeChatViewCaller
| 29.333333 | 47 | 0.886364 | 10 | 88 | 7.6 | 0.7 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 2 | 48 | 44 | 0.95 | 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 |
b19b24953f03ceb16b45f83aeff7ad1d9142938b | 12,934 | py | Python | tests/test_pierre.py | robotboyfriend/pierre-decheck | 0aedb99732b30b6645aa2435f5dccd8b5587b047 | [
"MIT"
] | 27 | 2018-03-07T11:44:52.000Z | 2021-06-14T09:27:45.000Z | tests/test_pierre.py | robotboyfriend/pierre-decheck | 0aedb99732b30b6645aa2435f5dccd8b5587b047 | [
"MIT"
] | 63 | 2018-02-01T15:40:16.000Z | 2020-10-21T15:11:02.000Z | tests/test_pierre.py | alvarocavalcanti/mergewatcher | 99a05c4131416c1fb7069ce4e98559c3a9eec44a | [
"MIT"
] | 17 | 2018-03-08T15:33:34.000Z | 2020-10-13T12:24:21.000Z | import json
import os
from unittest.mock import patch, Mock
from flask_api.status import HTTP_200_OK
from lib.payloads import PR_COMMENT_EVENT, PR_CREATED, ISSUE_DETAIL
from lib.pierre import (
get_bodies,
get_dependencies_from_bodies,
is_external_dependency,
get_external_owner_and_repo,
get_owner... | 38.153392 | 111 | 0.670326 | 1,552 | 12,934 | 5.283505 | 0.101804 | 0.043902 | 0.022195 | 0.023171 | 0.859024 | 0.826463 | 0.794268 | 0.764878 | 0.729756 | 0.709634 | 0 | 0.01121 | 0.206819 | 12,934 | 338 | 112 | 38.266272 | 0.788089 | 0 | 0 | 0.625 | 0 | 0 | 0.216484 | 0.106077 | 0 | 0 | 0 | 0 | 0.175781 | 1 | 0.078125 | false | 0 | 0.027344 | 0 | 0.109375 | 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 |
49530cc250cf895f13c3a2ef895d6671bd3cc3ee | 86 | py | Python | src/idom/core/utils.py | StefanBrand/idom | bd90e6ea6e383366c2a23f51404de701d6673fea | [
"MIT"
] | null | null | null | src/idom/core/utils.py | StefanBrand/idom | bd90e6ea6e383366c2a23f51404de701d6673fea | [
"MIT"
] | null | null | null | src/idom/core/utils.py | StefanBrand/idom | bd90e6ea6e383366c2a23f51404de701d6673fea | [
"MIT"
] | null | null | null | from typing import Any
def hex_id(obj: Any) -> str:
return format(id(obj), "x")
| 14.333333 | 31 | 0.639535 | 15 | 86 | 3.6 | 0.8 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 86 | 5 | 32 | 17.2 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
495d642099a900defbeb0fd48a47d9d666d0e02e | 2,715 | py | Python | bench/arraycopy.py | pskopnik/htc-cache-simulator | ee502db3f1c2b99ffe05ee609a18069b583798da | [
"MIT"
] | 1 | 2020-12-15T16:09:31.000Z | 2020-12-15T16:09:31.000Z | bench/arraycopy.py | pskopnik/htc-cache-system-simulator | ee502db3f1c2b99ffe05ee609a18069b583798da | [
"MIT"
] | null | null | null | bench/arraycopy.py | pskopnik/htc-cache-system-simulator | ee502db3f1c2b99ffe05ee609a18069b583798da | [
"MIT"
] | null | null | null | from array import array
from copy import copy
import itertools
import timeit
from typing import Tuple
base_length = 100000
def time_reinit() -> Tuple[int, float]:
src: array[int] = array('Q', itertools.repeat(0, base_length))
def do() -> None:
dest: array[int] = array('Q', src)
timer = timeit.Timer(do)
return... | 22.815126 | 63 | 0.680295 | 406 | 2,715 | 4.371921 | 0.128079 | 0.081127 | 0.124507 | 0.134085 | 0.79662 | 0.753803 | 0.753803 | 0.753803 | 0.753803 | 0.753803 | 0 | 0.007806 | 0.150645 | 2,715 | 118 | 64 | 23.008475 | 0.761925 | 0.005525 | 0 | 0.554217 | 0 | 0 | 0.010007 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.228916 | false | 0 | 0.060241 | 0 | 0.39759 | 0.024096 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
498b0fa8624e17d73b8c6536c6fc28f22a315981 | 13,548 | py | Python | etl/parsers/etw/Microsoft_Windows_Kernel_WHEA.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_Windows_Kernel_WHEA.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_Windows_Kernel_WHEA.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-Windows-Kernel-WHEA
GUID : 7b563579-53c8-44e7-8236-0f87b9fe6594
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
from etl.dtyp import Sid
from etl... | 30.790909 | 123 | 0.627325 | 1,344 | 13,548 | 6.180804 | 0.098214 | 0.063561 | 0.087396 | 0.103286 | 0.899482 | 0.899482 | 0.895149 | 0.744914 | 0.733598 | 0.727338 | 0 | 0.137016 | 0.243652 | 13,548 | 439 | 124 | 30.861048 | 0.673661 | 0.007086 | 0 | 0.672087 | 0 | 0 | 0.266458 | 0.104069 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.01084 | 0 | 0.184282 | 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 |
498e3d5f879dd838249594af1082d0e95e7e6762 | 8,821 | py | Python | test/unit/messages/bloxroute/test_bloxroute_message_validator.py | dolphinridercrypto/bxcommon | 8f70557c1dbff785a5dd3fcdf91176066e085c3a | [
"MIT"
] | 12 | 2019-11-06T17:39:10.000Z | 2022-03-01T11:26:19.000Z | test/unit/messages/bloxroute/test_bloxroute_message_validator.py | dolphinridercrypto/bxcommon | 8f70557c1dbff785a5dd3fcdf91176066e085c3a | [
"MIT"
] | 8 | 2019-11-06T21:31:11.000Z | 2021-06-02T00:46:50.000Z | test/unit/messages/bloxroute/test_bloxroute_message_validator.py | dolphinridercrypto/bxcommon | 8f70557c1dbff785a5dd3fcdf91176066e085c3a | [
"MIT"
] | 5 | 2019-11-14T18:08:11.000Z | 2022-02-08T09:36:22.000Z | from bxcommon.test_utils.abstract_test_case import AbstractTestCase
from bxcommon import constants
from bxcommon.messages.bloxroute import protocol_version
from bxcommon.messages.bloxroute.bloxroute_message_control_flags import BloxrouteMessageControlFlags
from bxcommon.messages.bloxroute.bloxroute_message_type import ... | 61.256944 | 117 | 0.689831 | 861 | 8,821 | 6.686411 | 0.099884 | 0.078339 | 0.058364 | 0.083377 | 0.818134 | 0.798506 | 0.767066 | 0.767066 | 0.758381 | 0.749175 | 0 | 0.006999 | 0.25496 | 8,821 | 143 | 118 | 61.685315 | 0.86899 | 0.027208 | 0 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 1 | 0.052632 | false | 0 | 0.096491 | 0 | 0.157895 | 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 |
b8d300d6b473809bf7b0f441371b2fadb21433ef | 33 | py | Python | src/gan/wgan_gp_hl/__init__.py | universuen/VGAN-BL | fea487bfea8fd449c4f97c5c4b07a81b4be76d3a | [
"MIT"
] | null | null | null | src/gan/wgan_gp_hl/__init__.py | universuen/VGAN-BL | fea487bfea8fd449c4f97c5c4b07a81b4be76d3a | [
"MIT"
] | null | null | null | src/gan/wgan_gp_hl/__init__.py | universuen/VGAN-BL | fea487bfea8fd449c4f97c5c4b07a81b4be76d3a | [
"MIT"
] | null | null | null | from .wgan_gp_hl import WGANGPHL
| 16.5 | 32 | 0.848485 | 6 | 33 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b8e63c5c4e2b2d2c5ac31be27a5cdc3482eb0a5c | 103 | py | Python | src/attach.py | aykamko/octobear | ba1c4fb7eb40864eabb0d8e89a3b2891acd6a7d9 | [
"MIT"
] | 1 | 2015-11-05T06:17:07.000Z | 2015-11-05T06:17:07.000Z | src/attach.py | aykamko/octobear | ba1c4fb7eb40864eabb0d8e89a3b2891acd6a7d9 | [
"MIT"
] | null | null | null | src/attach.py | aykamko/octobear | ba1c4fb7eb40864eabb0d8e89a3b2891acd6a7d9 | [
"MIT"
] | null | null | null | from db.schema import *
from db.misc_funcs import *
from github.github import *
from .emailer import *
| 20.6 | 27 | 0.76699 | 16 | 103 | 4.875 | 0.5 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 4 | 28 | 25.75 | 0.896552 | 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 |
77034d051c65dfe81b9a370700b344f7a3a10d4f | 280 | py | Python | Codewars/8kyu/welcome/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/welcome/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/welcome/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
Test.describe('Basic tests')
Test.assert_equals(greet('english'), 'Welcome')
Test.assert_equals(greet('dutch'), 'Welkom')
Test.assert_equals(greet('IP_ADDRESS_INVALID'), 'Welcome')
Test.assert_equals(greet(''), 'Welcome')
Test.assert_equals(greet(2), 'Welcome')
| 31.111111 | 58 | 0.735714 | 39 | 280 | 5.102564 | 0.487179 | 0.251256 | 0.40201 | 0.527638 | 0.422111 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015209 | 0.060714 | 280 | 8 | 59 | 35 | 0.741445 | 0.05 | 0 | 0 | 0 | 0 | 0.284091 | 0 | 0 | 0 | 0 | 0 | 0.833333 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7706f15ce9da734acd4cce220cc90b4cecfd655d | 135 | py | Python | AveragetwoNumbers.py | ajsamant/SampleCodeAjinkya | f7515ca879efd01c67047d2527819a1366861e94 | [
"MIT"
] | null | null | null | AveragetwoNumbers.py | ajsamant/SampleCodeAjinkya | f7515ca879efd01c67047d2527819a1366861e94 | [
"MIT"
] | null | null | null | AveragetwoNumbers.py | ajsamant/SampleCodeAjinkya | f7515ca879efd01c67047d2527819a1366861e94 | [
"MIT"
] | null | null | null | print("This program calculates the average of two program.")
print("The numbers are 4 and 8")
print("The average is:", (4 + 8) / 2)
| 33.75 | 61 | 0.674074 | 23 | 135 | 3.956522 | 0.652174 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.185185 | 135 | 3 | 62 | 45 | 0.781818 | 0 | 0 | 0 | 0 | 0 | 0.674242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
771172bbd7e8d04592d9d92ec20e383997c97147 | 106 | py | Python | postTodaysLiquipediaGamesToStickiedPost.py | SebastianQB/LiveStream_Reddit_Bot | 37c6e8f08998bc0f83d35768617e8089a577acf4 | [
"MIT"
] | 1 | 2021-11-17T14:20:21.000Z | 2021-11-17T14:20:21.000Z | postTodaysLiquipediaGamesToStickiedPost.py | SebastianQB/LiveStream_Reddit_Bot | 37c6e8f08998bc0f83d35768617e8089a577acf4 | [
"MIT"
] | null | null | null | postTodaysLiquipediaGamesToStickiedPost.py | SebastianQB/LiveStream_Reddit_Bot | 37c6e8f08998bc0f83d35768617e8089a577acf4 | [
"MIT"
] | 1 | 2022-03-14T19:37:13.000Z | 2022-03-14T19:37:13.000Z | from liquipedia.getLiquipediaGames import getLiquipediaGamesForToday
print(getLiquipediaGamesForToday())
| 26.5 | 68 | 0.896226 | 7 | 106 | 13.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 106 | 3 | 69 | 35.333333 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
7753c8e315c152ced4e67a87b219d86427598a00 | 35 | py | Python | emat/interactive/__init__.py | jinsanity07git/tmip-emat | ff816cf50f141825078bb276d6da46d92c5028a9 | [
"BSD-3-Clause"
] | 13 | 2019-03-26T13:27:43.000Z | 2022-02-02T18:30:36.000Z | emat/interactive/__init__.py | jinsanity07git/tmip-emat | ff816cf50f141825078bb276d6da46d92c5028a9 | [
"BSD-3-Clause"
] | 19 | 2019-04-24T20:58:10.000Z | 2020-09-11T22:31:06.000Z | emat/interactive/__init__.py | jinsanity07git/tmip-emat | ff816cf50f141825078bb276d6da46d92c5028a9 | [
"BSD-3-Clause"
] | 17 | 2019-02-19T16:13:52.000Z | 2022-02-14T20:50:36.000Z |
from .prototype import Explorer
| 7 | 31 | 0.771429 | 4 | 35 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 4 | 32 | 8.75 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6260474307929f9fe07fa67d1341fc9eba382f2d | 152 | py | Python | mysqltokenparser/sqltypemixins/__init__.py | LoveXiaoLiu/mysqltokenparser | 8f751e510897ab6fe5c4e909188467bdf7886f20 | [
"MIT"
] | 8 | 2019-07-09T02:22:51.000Z | 2021-11-15T09:58:22.000Z | mysqltokenparser/sqltypemixins/__init__.py | LoveXiaoLiu/mysqltokenparser | 8f751e510897ab6fe5c4e909188467bdf7886f20 | [
"MIT"
] | 4 | 2020-03-24T17:20:25.000Z | 2021-11-15T17:49:01.000Z | mysqltokenparser/sqltypemixins/__init__.py | LoveXiaoLiu/mysqltokenparser | 8f751e510897ab6fe5c4e909188467bdf7886f20 | [
"MIT"
] | null | null | null | # coding: utf-8
from altertable import *
from createtable import *
from select import *
from insert import *
from delete import *
from update import *
| 16.888889 | 25 | 0.756579 | 21 | 152 | 5.47619 | 0.52381 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.184211 | 152 | 8 | 26 | 19 | 0.919355 | 0.085526 | 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 |
6262f44697f92d46462e30d20ca0f99c3d770d5a | 3,114 | py | Python | hdp_api/routes/optimProcess.py | OlivierLoison/HyperAPI | eec71f36afb8a8a37f12ca6d9055f26da4958926 | [
"BSD-3-Clause"
] | null | null | null | hdp_api/routes/optimProcess.py | OlivierLoison/HyperAPI | eec71f36afb8a8a37f12ca6d9055f26da4958926 | [
"BSD-3-Clause"
] | null | null | null | hdp_api/routes/optimProcess.py | OlivierLoison/HyperAPI | eec71f36afb8a8a37f12ca6d9055f26da4958926 | [
"BSD-3-Clause"
] | null | null | null | from HyperAPI.hdp_api.routes import Resource, Route
class OptimProcess(Resource):
name = "optimProcess"
class _getSandboxDataForControlChart(Route):
name = "getSandboxDataForControlChart"
httpMethod = Route.GET
path = "/optimProcess/projects/{project_ID}/controlCharts/{controlChart_ID... | 33.847826 | 92 | 0.630058 | 270 | 3,114 | 6.974074 | 0.144444 | 0.095592 | 0.135953 | 0.20393 | 0.722252 | 0.722252 | 0.722252 | 0.722252 | 0.712693 | 0.672862 | 0 | 0 | 0.26975 | 3,114 | 91 | 93 | 34.21978 | 0.828056 | 0 | 0 | 0.531646 | 0 | 0 | 0.30957 | 0.204239 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012658 | 0 | 0.164557 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
62872189f445bcf68ba7a203b9dc611c92c1d560 | 138 | py | Python | tests/conftest.py | niharsalunke/poliastro | 75a11922f00df3a06c64af265a182dfdbbc4f5c3 | [
"MIT"
] | 634 | 2015-05-11T08:50:42.000Z | 2022-03-28T10:13:13.000Z | tests/conftest.py | niharsalunke/poliastro | 75a11922f00df3a06c64af265a182dfdbbc4f5c3 | [
"MIT"
] | 1,386 | 2015-04-29T20:54:36.000Z | 2022-03-30T13:06:34.000Z | tests/conftest.py | niharsalunke/poliastro | 75a11922f00df3a06c64af265a182dfdbbc4f5c3 | [
"MIT"
] | 324 | 2015-04-29T20:52:43.000Z | 2022-03-06T23:19:15.000Z | import pytest
from astropy.time import Time
@pytest.fixture
def earth_perihelion():
return Time("2020-01-05 07:47:00", scale="tdb")
| 17.25 | 51 | 0.731884 | 22 | 138 | 4.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.137681 | 138 | 7 | 52 | 19.714286 | 0.722689 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 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 |
65ae38e843ed9fe51461e1edfc6e3983e1eb86d1 | 4,544 | py | Python | task1b/utils.py | berab/dcase20-mobnet | cd1629b7d1bdb360e56871ba549de8b28564f1ee | [
"MIT"
] | null | null | null | task1b/utils.py | berab/dcase20-mobnet | cd1629b7d1bdb360e56871ba549de8b28564f1ee | [
"MIT"
] | null | null | null | task1b/utils.py | berab/dcase20-mobnet | cd1629b7d1bdb360e56871ba549de8b28564f1ee | [
"MIT"
] | 1 | 2022-01-23T16:13:09.000Z | 2022-01-23T16:13:09.000Z | import numpy as np
import pandas as pd
import pickle5 as pickle
def load_data_2020(feat_path, csv_path, feat_dim, file_type):
with open(csv_path, 'r') as text_file:
lines = text_file.read().split('\n')
for idx, elem in enumerate(lines):
lines[idx] = lines[idx].split('\t')
l... | 37.866667 | 82 | 0.56294 | 617 | 4,544 | 3.964344 | 0.170178 | 0.05233 | 0.02453 | 0.029436 | 0.766558 | 0.766558 | 0.737122 | 0.737122 | 0.737122 | 0.737122 | 0 | 0.017868 | 0.285651 | 4,544 | 119 | 83 | 38.184874 | 0.735675 | 0.045995 | 0 | 0.735632 | 0 | 0 | 0.05915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057471 | false | 0 | 0.034483 | 0 | 0.149425 | 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 |
65e32624745b1c19acef4dcadaf67557aee4db23 | 102 | py | Python | selfsupervised3d/__init__.py | jcreinhold/selfsupervised3d | 735f0b8d0e5344fd7692649523a13a7c04ac2584 | [
"Apache-2.0"
] | 5 | 2020-05-01T15:54:05.000Z | 2021-11-24T11:37:23.000Z | selfsupervised3d/__init__.py | jcreinhold/selfsupervised3d | 735f0b8d0e5344fd7692649523a13a7c04ac2584 | [
"Apache-2.0"
] | 1 | 2022-01-25T15:05:11.000Z | 2022-01-25T15:05:11.000Z | selfsupervised3d/__init__.py | jcreinhold/selfsupervised3d | 735f0b8d0e5344fd7692649523a13a7c04ac2584 | [
"Apache-2.0"
] | null | null | null | from .dataset import *
from .io import *
from .loss import *
from .model import *
from .util import *
| 17 | 22 | 0.705882 | 15 | 102 | 4.8 | 0.466667 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 102 | 5 | 23 | 20.4 | 0.878049 | 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 |
02957b0d536fe3225c68118e34d106e4e73cf924 | 1,575 | py | Python | tests/unit/test_utils.py | angelika233/viadot | 99a4c5b622ad099a44ab014a47ba932a747c0ae6 | [
"MIT"
] | null | null | null | tests/unit/test_utils.py | angelika233/viadot | 99a4c5b622ad099a44ab014a47ba932a747c0ae6 | [
"MIT"
] | null | null | null | tests/unit/test_utils.py | angelika233/viadot | 99a4c5b622ad099a44ab014a47ba932a747c0ae6 | [
"MIT"
] | null | null | null | from viadot.utils import gen_bulk_insert_query_from_df
import pandas as pd
def test_single_quotes_inside():
TEST_VALUE = "a'b"
df1 = pd.DataFrame(
{
"a": [
TEST_VALUE,
],
"b": ["a"],
}
)
test_insert_query = gen_bulk_insert_query_from_... | 22.826087 | 56 | 0.546032 | 189 | 1,575 | 4.126984 | 0.174603 | 0.183333 | 0.173077 | 0.146154 | 0.864103 | 0.807692 | 0.776923 | 0.744872 | 0.744872 | 0.744872 | 0 | 0.005639 | 0.324444 | 1,575 | 68 | 57 | 23.161765 | 0.727444 | 0 | 0 | 0.508475 | 0 | 0 | 0.213968 | 0.125714 | 0 | 0 | 0 | 0 | 0.050847 | 1 | 0.050847 | false | 0 | 0.033898 | 0 | 0.084746 | 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 |
02aefd6fa3feafdf6f64c3496329aacc553d75af | 35 | py | Python | samples/simple-package/src/main/python/simple_package/__main__.py | jlsheehan/pybuilder-docker-build | 51cf6b16f8cfd1f8d8e1f15a3518f0ced30797a3 | [
"MIT"
] | null | null | null | samples/simple-package/src/main/python/simple_package/__main__.py | jlsheehan/pybuilder-docker-build | 51cf6b16f8cfd1f8d8e1f15a3518f0ced30797a3 | [
"MIT"
] | null | null | null | samples/simple-package/src/main/python/simple_package/__main__.py | jlsheehan/pybuilder-docker-build | 51cf6b16f8cfd1f8d8e1f15a3518f0ced30797a3 | [
"MIT"
] | null | null | null | print("Run simple plackage module") | 35 | 35 | 0.8 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
02da72100b8ab446ccca6644e64f23e940155b65 | 219 | py | Python | src/UnitTests/TestData/Grammar/FuncDefV3.py | jamesralstin/python-language-server | 53eb5886776c9e75590bf2f5a787ba4015879c4d | [
"Apache-2.0"
] | 695 | 2019-05-06T23:49:37.000Z | 2022-03-30T01:56:00.000Z | src/UnitTests/TestData/Grammar/FuncDefV3.py | jamesralstin/python-language-server | 53eb5886776c9e75590bf2f5a787ba4015879c4d | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/Grammar/FuncDefV3.py | RaymonGulati1/PTVS | ee1d09f2a94be4e21016f7579205bb65ec82c616 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | def f(*a, x): pass
def f(*a, x = 1): pass
def f(a: 1): pass
def f(*a: 1): pass
def f(**a: 1): pass
def f(a: 0, *b: 1, **c: 2): pass
def f() -> 1: pass
def f(a: 1) -> 1: pass
def f(a: 1 = 2): pass
def f(*, a): pass | 14.6 | 33 | 0.479452 | 55 | 219 | 1.909091 | 0.181818 | 0.380952 | 0.428571 | 0.685714 | 0.590476 | 0.590476 | 0.380952 | 0.380952 | 0.380952 | 0.380952 | 0 | 0.07362 | 0.255708 | 219 | 15 | 34 | 14.6 | 0.570552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f3150c8f1239b4a7d791f7ac1cf8b1b3a281538a | 2,736 | py | Python | automatic_replenishment_system/retail_core/migrations/0004_replenishmentordermodel_warehouseproductshortqtymodel.py | udwivedi394/automatic_replenishment | c2fde9a94329147ee33b3d7f4f8826378d278f51 | [
"MIT"
] | null | null | null | automatic_replenishment_system/retail_core/migrations/0004_replenishmentordermodel_warehouseproductshortqtymodel.py | udwivedi394/automatic_replenishment | c2fde9a94329147ee33b3d7f4f8826378d278f51 | [
"MIT"
] | null | null | null | automatic_replenishment_system/retail_core/migrations/0004_replenishmentordermodel_warehouseproductshortqtymodel.py | udwivedi394/automatic_replenishment | c2fde9a94329147ee33b3d7f4f8826378d278f51 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.13 on 2019-04-22 08:23
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('retail_core', '0003_auto_20190421_1318'),
]
operations = [
migrations.CreateModel(
name='Reple... | 52.615385 | 127 | 0.611477 | 275 | 2,736 | 5.894545 | 0.290909 | 0.044417 | 0.069093 | 0.108575 | 0.732264 | 0.732264 | 0.732264 | 0.732264 | 0.732264 | 0.732264 | 0 | 0.018366 | 0.243787 | 2,736 | 51 | 128 | 53.647059 | 0.765104 | 0.016813 | 0 | 0.577778 | 1 | 0 | 0.231399 | 0.089658 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.044444 | 0 | 0.111111 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.