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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cab0765db7b94dc6f97feb330c4739191a07e93c | 381 | py | Python | python/modprop/__init__.py | Humhu/modprop | 0cff8240d5e1522f620de8004c22a74491a0c9fb | [
"AFL-3.0"
] | 1 | 2017-11-10T00:54:53.000Z | 2017-11-10T00:54:53.000Z | python/modprop/__init__.py | Humhu/modprop | 0cff8240d5e1522f620de8004c22a74491a0c9fb | [
"AFL-3.0"
] | null | null | null | python/modprop/__init__.py | Humhu/modprop | 0cff8240d5e1522f620de8004c22a74491a0c9fb | [
"AFL-3.0"
] | null | null | null | from core.backprop import *
from core.construction import *
from core.modules_core import link_ports, iterative_foreprop, iterative_backprop, iterative_invalidate
from modules.basic_modules import *
from modules.cost_modules import *
from modules.kalman_modules import *
from modules.math_modules import *
from modules.... | 38.1 | 102 | 0.845144 | 51 | 381 | 6.098039 | 0.333333 | 0.22508 | 0.273312 | 0.385852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 381 | 10 | 103 | 38.1 | 0.909357 | 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 |
59f99a2b0ae00e780392d83f2b693ff58668adfd | 136 | py | Python | utils/__init__.py | vativa/Material-Theme-Vativa | 3012c985c21d418d74259fb315c3c996bd125cba | [
"MIT"
] | 13,130 | 2015-06-01T18:00:18.000Z | 2022-03-30T22:43:58.000Z | utils/__init__.py | vativa/Material-Theme-Vativa | 3012c985c21d418d74259fb315c3c996bd125cba | [
"MIT"
] | 1,167 | 2015-06-02T20:00:37.000Z | 2021-01-16T09:13:29.000Z | utils/__init__.py | vativa/Material-Theme-Vativa | 3012c985c21d418d74259fb315c3c996bd125cba | [
"MIT"
] | 1,426 | 2015-06-03T04:00:42.000Z | 2022-03-28T06:19:26.000Z | from .activation import *
from .changelog import *
from .config import *
from .extras import *
from .links import *
from .info import *
| 19.428571 | 25 | 0.735294 | 18 | 136 | 5.555556 | 0.444444 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 136 | 6 | 26 | 22.666667 | 0.892857 | 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 |
9416f1deee941716d8eb828f426f628d9cce6883 | 3,130 | py | Python | DePART/learning/models.py | Rappsilber-Laboratory/DePART | eda08d716c45e4c3b76b6618fe8b1020c3ec8026 | [
"MIT"
] | 1 | 2018-03-22T07:15:01.000Z | 2018-03-22T07:15:01.000Z | DePART/learning/models.py | Rappsilber-Laboratory/DePART | eda08d716c45e4c3b76b6618fe8b1020c3ec8026 | [
"MIT"
] | null | null | null | DePART/learning/models.py | Rappsilber-Laboratory/DePART | eda08d716c45e4c3b76b6618fe8b1020c3ec8026 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Fri Mar 30 18:28:55 2018
@author: hanjo
"""
from keras import optimizers
from keras.layers import Dense, Dropout
from keras.models import Sequential
def SAX_Model(ini_mode="normal", optimizer="adam", loss="categorical_crossentropy",
act=["relu", "tanh", "relu"],... | 38.641975 | 84 | 0.630671 | 387 | 3,130 | 4.997416 | 0.204134 | 0.086867 | 0.080662 | 0.153568 | 0.81696 | 0.798862 | 0.779731 | 0.756463 | 0.733713 | 0.733713 | 0 | 0.039457 | 0.222684 | 3,130 | 80 | 85 | 39.125 | 0.755446 | 0.120767 | 0 | 0.54 | 0 | 0 | 0.090572 | 0.017817 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06 | false | 0 | 0.06 | 0 | 0.12 | 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 |
94177c94a61dbc9a6c1cb9decaf63724c3f3e249 | 2,141 | py | Python | tfrecords/read_concentrations.py | Aremaki/MscProjectNMR | 5bb8fb129d5fe326aa73b56cb7c5b01a17aebb0d | [
"MIT"
] | null | null | null | tfrecords/read_concentrations.py | Aremaki/MscProjectNMR | 5bb8fb129d5fe326aa73b56cb7c5b01a17aebb0d | [
"MIT"
] | null | null | null | tfrecords/read_concentrations.py | Aremaki/MscProjectNMR | 5bb8fb129d5fe326aa73b56cb7c5b01a17aebb0d | [
"MIT"
] | 1 | 2021-07-28T11:18:00.000Z | 2021-07-28T11:18:00.000Z | import tensorflow as tf
def parse_tfr_element_concentrations(element):
"""
:param element: tfrecord example
:return: example in the form (tf.float64, tf.float64)
"""
# use the same structure as the writing
data = {
'X': tf.io.FixedLenFeature([], tf.string),
'Y': tf.io.FixedLenFeat... | 31.485294 | 116 | 0.709482 | 275 | 2,141 | 5.374545 | 0.218182 | 0.024357 | 0.073072 | 0.105548 | 0.899865 | 0.829499 | 0.829499 | 0.829499 | 0.829499 | 0.829499 | 0 | 0.009143 | 0.182625 | 2,141 | 67 | 117 | 31.955224 | 0.835429 | 0.248482 | 0 | 0.482759 | 0 | 0 | 0.005151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137931 | false | 0 | 0.034483 | 0 | 0.310345 | 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 |
943c8f1e39c90c9ab4293ec6af7d1a2fe3854c07 | 97 | py | Python | problems/algorithms/fizzbang.py | getsling/interviews | 67fc3598568a5cb34beec565d7d761aadc084100 | [
"MIT"
] | 2 | 2015-08-28T13:28:01.000Z | 2021-11-11T16:04:17.000Z | problems/algorithms/fizzbang.py | getsling/interviews | 67fc3598568a5cb34beec565d7d761aadc084100 | [
"MIT"
] | null | null | null | problems/algorithms/fizzbang.py | getsling/interviews | 67fc3598568a5cb34beec565d7d761aadc084100 | [
"MIT"
] | 4 | 2015-01-06T10:59:53.000Z | 2021-11-10T10:27:13.000Z | '''
Problem:
For the numbers 1 to 100, print fizz if divisible by 3, bang if
divisible by 5.
'''
| 16.166667 | 63 | 0.690722 | 18 | 97 | 3.722222 | 0.833333 | 0.328358 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 0.206186 | 97 | 5 | 64 | 19.4 | 0.792208 | 0.907216 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9446861a16ea1714680912a4007512128b7a871b | 12,592 | py | Python | neuronlp/layers/crf.py | XuezheMax/NeuroNLP | 0098d876584c1dcef0b46478a5ced7affd089d78 | [
"MIT"
] | 16 | 2015-11-22T19:03:12.000Z | 2019-06-20T03:59:22.000Z | NeuroNLP/neuronlp/layers/crf.py | adapt-sjtu/novelner | a8f54ffe3360a4fdfa4b154a6668e74459a61ec3 | [
"Apache-2.0"
] | 1 | 2018-07-07T12:38:25.000Z | 2018-07-07T12:38:25.000Z | neuronlp/layers/crf.py | XuezheMax/NeuroNLP | 0098d876584c1dcef0b46478a5ced7affd089d78 | [
"MIT"
] | 5 | 2017-03-13T13:44:54.000Z | 2018-07-17T04:23:00.000Z | __author__ = 'max'
import theano.tensor as T
from lasagne import init
from lasagne.layers import MergeLayer
__all__ = [
"ChainCRFLayer",
"TreeAffineCRFLayer",
"TreeBiAffineCRFLayer",
]
class ChainCRFLayer(MergeLayer):
"""
ChainCRFLayer(incoming, num_labels, mask_input=None, W=init.GlorotUniform... | 42.976109 | 117 | 0.611182 | 1,758 | 12,592 | 4.226962 | 0.102389 | 0.038757 | 0.033239 | 0.033912 | 0.801103 | 0.787377 | 0.758175 | 0.732338 | 0.729781 | 0.699233 | 0 | 0.011247 | 0.279781 | 12,592 | 292 | 118 | 43.123288 | 0.808138 | 0.45108 | 0 | 0.653543 | 0 | 0 | 0.015558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070866 | false | 0 | 0.023622 | 0 | 0.165354 | 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 |
1703d8ef9310a9df16a40996d7c2e9b38cbfc5bc | 40 | py | Python | pytorch_mask_rcnn/model/__init__.py | josh0122/PyTorch-Simple-MaskRCNN | 9f6d316f7c00b6000165b69bc8007af849fe107b | [
"MIT"
] | 147 | 2020-04-01T13:57:05.000Z | 2022-03-31T08:17:28.000Z | pytorch_mask_rcnn/model/__init__.py | josh0122/PyTorch-Simple-MaskRCNN | 9f6d316f7c00b6000165b69bc8007af849fe107b | [
"MIT"
] | 22 | 2020-04-28T09:10:05.000Z | 2022-02-15T21:12:06.000Z | pytorch_mask_rcnn/model/__init__.py | josh0122/PyTorch-Simple-MaskRCNN | 9f6d316f7c00b6000165b69bc8007af849fe107b | [
"MIT"
] | 42 | 2020-04-22T10:13:00.000Z | 2022-03-31T08:17:43.000Z | from .mask_rcnn import maskrcnn_resnet50 | 40 | 40 | 0.9 | 6 | 40 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.075 | 40 | 1 | 40 | 40 | 0.864865 | 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 |
ca73bd940cbc207f4f863c5bb5e6537862f6c4e7 | 180 | py | Python | GodwillOnyewuchi/Phase 1/Python Basic 2/day 3 task/task 3.py | nkem1010/python-challenge-solutions | 203cedc691094a83b110fc75764aac51dbbc1a03 | [
"MIT"
] | 1 | 2020-05-15T21:27:45.000Z | 2020-05-15T21:27:45.000Z | GodwillOnyewuchi/Phase 1/Python Basic 2/day 3 task/task 3.py | GREENFONTS/python-challenge-solutions | a9aad85a250892fe41961a7d5e77f67b8d14fc1b | [
"MIT"
] | null | null | null | GodwillOnyewuchi/Phase 1/Python Basic 2/day 3 task/task 3.py | GREENFONTS/python-challenge-solutions | a9aad85a250892fe41961a7d5e77f67b8d14fc1b | [
"MIT"
] | null | null | null | hey = "don't" numbers = input("Enter a string of number: ")
print(f'a string that you {hey} have to escape \nThis \nis a ....... multi-line \nheredoc string ----------> example')
| 60 | 119 | 0.627778 | 28 | 180 | 4.035714 | 0.821429 | 0.123894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161111 | 180 | 2 | 120 | 90 | 0.748344 | 0 | 0 | 0 | 0 | 0.5 | 0.772222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ca91d8dd77bba2d1075cc802e5dc3ee469415e73 | 183 | py | Python | zardoz/dice/__main__.py | camillescott/zardoz | 810f978bf30254d03af200d34d30c5ac981e91af | [
"MIT"
] | 2 | 2021-02-17T01:26:12.000Z | 2021-04-17T21:03:07.000Z | zardoz/dice/__main__.py | camillescott/zardoz | 810f978bf30254d03af200d34d30c5ac981e91af | [
"MIT"
] | 7 | 2021-02-16T01:47:21.000Z | 2021-03-19T23:44:16.000Z | zardoz/dice/__main__.py | camillescott/zardoz | 810f978bf30254d03af200d34d30c5ac981e91af | [
"MIT"
] | 2 | 2021-02-16T20:43:22.000Z | 2021-02-17T01:40:57.000Z | from __future__ import absolute_import, print_function, unicode_literals
import sys
import zardoz.dice.command
if __name__ == "__main__":
zardoz.dice.command.main(sys.argv[1:])
| 22.875 | 72 | 0.786885 | 25 | 183 | 5.16 | 0.68 | 0.155039 | 0.263566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.114754 | 183 | 7 | 73 | 26.142857 | 0.790123 | 0 | 0 | 0 | 0 | 0 | 0.043716 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
046a47312328fb7045febd119472ad70e12b29d0 | 30 | py | Python | project/src/codegen/__init__.py | vaishious/comperler | 24b3f853ae134e46435005c4509276a4020b8b02 | [
"MIT"
] | 6 | 2016-01-09T14:11:20.000Z | 2017-01-26T10:10:01.000Z | project/src/codegen/__init__.py | vaishious/comperler | 24b3f853ae134e46435005c4509276a4020b8b02 | [
"MIT"
] | null | null | null | project/src/codegen/__init__.py | vaishious/comperler | 24b3f853ae134e46435005c4509276a4020b8b02 | [
"MIT"
] | null | null | null | from code_generation import *
| 15 | 29 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
04b6963b82549149d591ea66405a73408277d2b2 | 2,289 | py | Python | bluebottle/bb_payouts/migrations/0001_initial.py | terrameijar/bluebottle | b4f5ba9c4f03e678fdd36091b29240307ea69ffd | [
"BSD-3-Clause"
] | 10 | 2015-05-28T18:26:40.000Z | 2021-09-06T10:07:03.000Z | bluebottle/bb_payouts/migrations/0001_initial.py | terrameijar/bluebottle | b4f5ba9c4f03e678fdd36091b29240307ea69ffd | [
"BSD-3-Clause"
] | 762 | 2015-01-15T10:00:59.000Z | 2022-03-31T15:35:14.000Z | bluebottle/bb_payouts/migrations/0001_initial.py | terrameijar/bluebottle | b4f5ba9c4f03e678fdd36091b29240307ea69ffd | [
"BSD-3-Clause"
] | 9 | 2015-02-20T13:19:30.000Z | 2022-03-08T14:09:17.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-05-23 13:25
from __future__ import unicode_literals
from django.db import migrations, models
import django_extensions.db.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.Cre... | 45.78 | 199 | 0.576671 | 239 | 2,289 | 5.330544 | 0.297071 | 0.103611 | 0.047096 | 0.043956 | 0.770801 | 0.770801 | 0.770801 | 0.770801 | 0.770801 | 0.770801 | 0 | 0.014252 | 0.264308 | 2,289 | 49 | 200 | 46.714286 | 0.74228 | 0.02927 | 0 | 0.682927 | 1 | 0 | 0.232087 | 0.009464 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.073171 | 0 | 0.170732 | 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 |
b6bf0eb299bac284be8839f079f3148ba6e6be11 | 38,396 | py | Python | tests/api_tests/test_workbench_api.py | all-of-us/raw-data-repository | d28ad957557587b03ff9c63d55dd55e0508f91d8 | [
"BSD-3-Clause"
] | 39 | 2017-10-13T19:16:27.000Z | 2021-09-24T16:58:21.000Z | tests/api_tests/test_workbench_api.py | all-of-us/raw-data-repository | d28ad957557587b03ff9c63d55dd55e0508f91d8 | [
"BSD-3-Clause"
] | 312 | 2017-09-08T15:42:13.000Z | 2022-03-23T18:21:40.000Z | tests/api_tests/test_workbench_api.py | all-of-us/raw-data-repository | d28ad957557587b03ff9c63d55dd55e0508f91d8 | [
"BSD-3-Clause"
] | 19 | 2017-09-15T13:58:00.000Z | 2022-02-07T18:33:20.000Z | import http.client
from tests.helpers.unittest_base import BaseTestCase
from rdr_service.dao.workbench_dao import WorkbenchResearcherDao, WorkbenchResearcherHistoryDao, \
WorkbenchWorkspaceDao, WorkbenchWorkspaceHistoryDao
from rdr_service.participant_enums import WorkbenchWorkspaceUserRole, WorkbenchInstitutionNon... | 44.960187 | 115 | 0.536306 | 2,818 | 38,396 | 7.201561 | 0.084812 | 0.127131 | 0.160442 | 0.125801 | 0.904307 | 0.865182 | 0.809402 | 0.78166 | 0.736967 | 0.724451 | 0 | 0.038203 | 0.344176 | 38,396 | 853 | 116 | 45.012896 | 0.767722 | 0.013934 | 0 | 0.693955 | 0 | 0 | 0.2412 | 0.070164 | 0 | 0 | 0 | 0 | 0.216625 | 1 | 0.008816 | false | 0 | 0.005038 | 0 | 0.015113 | 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 |
b6c2f786ce8463abcd0b93724f58bf92fc974588 | 18 | py | Python | data/__init__.py | sjaster/infoscreen | c1acd790ea6348e4f82297465be3930ea9977fe5 | [
"MIT"
] | null | null | null | data/__init__.py | sjaster/infoscreen | c1acd790ea6348e4f82297465be3930ea9977fe5 | [
"MIT"
] | null | null | null | data/__init__.py | sjaster/infoscreen | c1acd790ea6348e4f82297465be3930ea9977fe5 | [
"MIT"
] | null | null | null | from .dvb import * | 18 | 18 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 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 |
b6de576e8e87611405f29484aa6c7ffb1eae4b23 | 806 | py | Python | packages/grid/apps/worker/src/main/routes/__init__.py | exityan/PySyft | 35166c487a5be57f9ad28929ed88a8ba6bdd5aeb | [
"Apache-2.0"
] | 425 | 2019-09-22T06:14:53.000Z | 2022-03-30T02:17:34.000Z | packages/grid/apps/worker/src/main/routes/__init__.py | Metrix1010/PySyft | 6477f64b63dc285059c3766deab3993653cead2e | [
"Apache-2.0"
] | 352 | 2019-09-17T15:32:51.000Z | 2022-03-12T01:07:35.000Z | packages/grid/apps/worker/src/main/routes/__init__.py | Metrix1010/PySyft | 6477f64b63dc285059c3766deab3993653cead2e | [
"Apache-2.0"
] | 208 | 2019-09-18T18:32:10.000Z | 2022-03-24T01:10:11.000Z | # grid relative
from .association_requests.blueprint import association_requests_blueprint
from .association_requests.routes import *
from .data_centric.blueprint import dcfl_blueprint
from .data_centric.datasets.routes import *
from .data_centric.requests.routes import *
from .data_centric.tensors.routes import *
from... | 38.380952 | 74 | 0.834988 | 106 | 806 | 6.198113 | 0.198113 | 0.200913 | 0.243531 | 0.121766 | 0.188737 | 0.106545 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098015 | 806 | 20 | 75 | 40.3 | 0.903714 | 0.016129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.421053 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
b6e4c801772f081a3cd56405ca99dfb3dd7f2544 | 39 | py | Python | tppsr/tests/conftest.py | clld/tppsr | e6962c339e4ff194c4158b2895252c847b160d5f | [
"Apache-2.0"
] | 1 | 2020-07-29T13:11:53.000Z | 2020-07-29T13:11:53.000Z | tppsr/tests/conftest.py | clld/tppsr | e6962c339e4ff194c4158b2895252c847b160d5f | [
"Apache-2.0"
] | 9 | 2020-07-30T06:01:58.000Z | 2020-09-24T07:20:15.000Z | tppsr/tests/conftest.py | clld/tppsr | e6962c339e4ff194c4158b2895252c847b160d5f | [
"Apache-2.0"
] | null | null | null | from tppsr import models
import pytest
| 13 | 24 | 0.846154 | 6 | 39 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 2 | 25 | 19.5 | 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 |
8e07a001be14a5270157d5a450aa3085cb494bcc | 70 | py | Python | custom_models/__init__.py | Ofiun/cflow-ad | d0aeff455a0c4c99ae0042a879d2c1ce8a2b0bb9 | [
"BSD-3-Clause"
] | 101 | 2021-07-28T17:28:45.000Z | 2022-03-27T03:57:23.000Z | custom_models/__init__.py | Ofiun/cflow-ad | d0aeff455a0c4c99ae0042a879d2c1ce8a2b0bb9 | [
"BSD-3-Clause"
] | 24 | 2021-07-30T08:41:29.000Z | 2022-03-29T17:10:17.000Z | custom_models/__init__.py | Ofiun/cflow-ad | d0aeff455a0c4c99ae0042a879d2c1ce8a2b0bb9 | [
"BSD-3-Clause"
] | 29 | 2021-07-29T16:17:17.000Z | 2022-03-03T09:37:01.000Z | from .resnet import *
from .mobilenetv3 import *
from .utils import *
| 17.5 | 26 | 0.742857 | 9 | 70 | 5.777778 | 0.555556 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.171429 | 70 | 3 | 27 | 23.333333 | 0.87931 | 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 |
8e146c6cac4461921bcc22a7828f8017ca314b54 | 199 | py | Python | v1/accounts/tests/conftest.py | nishp77/Validator | 77888fc95db1c69a8a734a6d4eded5fe539ac0b6 | [
"MIT"
] | 43 | 2020-07-12T23:08:35.000Z | 2021-11-28T00:50:49.000Z | v1/accounts/tests/conftest.py | nishp77/Validator | 77888fc95db1c69a8a734a6d4eded5fe539ac0b6 | [
"MIT"
] | 72 | 2020-07-15T02:33:15.000Z | 2021-10-04T20:52:13.000Z | v1/accounts/tests/conftest.py | nishp77/Validator | 77888fc95db1c69a8a734a6d4eded5fe539ac0b6 | [
"MIT"
] | 43 | 2020-07-13T08:14:24.000Z | 2021-10-04T17:33:26.000Z | import pytest
from ..factories.account import AccountFactory
@pytest.fixture
def account():
yield AccountFactory()
@pytest.fixture
def accounts():
yield AccountFactory.create_batch(100)
| 14.214286 | 46 | 0.763819 | 22 | 199 | 6.863636 | 0.590909 | 0.264901 | 0.357616 | 0.397351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017647 | 0.145729 | 199 | 13 | 47 | 15.307692 | 0.870588 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8e19278d3a57f867fc21c70fd28b635d93837c93 | 1,163 | py | Python | tests/assert_utils.py | Cologler/anyioc-python | 87aaf52208b8c510c9128f89359300a2158e3637 | [
"MIT"
] | null | null | null | tests/assert_utils.py | Cologler/anyioc-python | 87aaf52208b8c510c9128f89359300a2158e3637 | [
"MIT"
] | null | null | null | tests/assert_utils.py | Cologler/anyioc-python | 87aaf52208b8c510c9128f89359300a2158e3637 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (c) 2018~2999 - Cologler <skyoflw@gmail.com>
# ----------
#
# ----------
import itertools
from anyioc import ServiceProvider
def assert_value_singleton(provider: ServiceProvider, key):
scoped_1 = provider.scope()
scoped_2 = provider.scope()
scoped_1_1 = scoped_1.scop... | 30.605263 | 103 | 0.675838 | 170 | 1,163 | 4.394118 | 0.229412 | 0.140562 | 0.15261 | 0.069612 | 0.80589 | 0.80589 | 0.768407 | 0.768407 | 0.729585 | 0.682731 | 0 | 0.041578 | 0.193465 | 1,163 | 37 | 104 | 31.432432 | 0.754797 | 0.084265 | 0 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 1 | 0.130435 | false | 0 | 0.086957 | 0 | 0.217391 | 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 |
8e1d5b3e305fbeb74999823250acde8b82376537 | 145 | py | Python | vj_cms/admin.py | Vauhtijuoksu/wwwauhtijuoksu-cms | 3e97ec00f90c27cf5d0c6c6f58ec8fb4be766e2b | [
"MIT"
] | null | null | null | vj_cms/admin.py | Vauhtijuoksu/wwwauhtijuoksu-cms | 3e97ec00f90c27cf5d0c6c6f58ec8fb4be766e2b | [
"MIT"
] | 4 | 2021-09-22T18:59:07.000Z | 2022-03-25T14:35:51.000Z | vj_cms/admin.py | Vauhtijuoksu/wwwauhtijuoksu-cms | 3e97ec00f90c27cf5d0c6c6f58ec8fb4be766e2b | [
"MIT"
] | null | null | null | from django.contrib import admin
from vj_cms.models import GameInfo
@admin.register(GameInfo)
class GameInfoAdmin(admin.ModelAdmin):
pass
| 16.111111 | 38 | 0.8 | 19 | 145 | 6.052632 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131034 | 145 | 8 | 39 | 18.125 | 0.912698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f3d9c374d3d26a491efbd7dded0614e8f2e7d668 | 19,602 | py | Python | vilbert_beta/vilbert/task_utils.py | WadeYin9712/GD-VCR | aa8138b55f5a9136dae10ceb99455d9f2beb6d75 | [
"MIT"
] | 19 | 2021-09-04T16:49:57.000Z | 2022-01-07T08:49:20.000Z | vilbert_beta/vilbert/task_utils.py | WadeYin9712/GD-VCR | aa8138b55f5a9136dae10ceb99455d9f2beb6d75 | [
"MIT"
] | null | null | null | vilbert_beta/vilbert/task_utils.py | WadeYin9712/GD-VCR | aa8138b55f5a9136dae10ceb99455d9f2beb6d75 | [
"MIT"
] | null | null | null | from io import open
import json
import logging
import os
import sys
import torch
import torch.nn.functional as F
import torch.nn as nn
import torch.distributed as dist
from torch.utils.data import DataLoader, Dataset, RandomSampler
from torch.utils.data.distributed import DistributedSampler
from pytorch_pretrained_ber... | 48.280788 | 145 | 0.639935 | 2,523 | 19,602 | 4.667856 | 0.095918 | 0.030908 | 0.043899 | 0.022586 | 0.804364 | 0.778891 | 0.765135 | 0.759871 | 0.756984 | 0.740426 | 0 | 0.020012 | 0.247985 | 19,602 | 406 | 146 | 48.280788 | 0.778916 | 0.027701 | 0 | 0.663609 | 0 | 0 | 0.047209 | 0.003886 | 0 | 0 | 0 | 0.002463 | 0 | 1 | 0.021407 | false | 0 | 0.045872 | 0 | 0.088685 | 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 |
f3dc28789291fefd4e76a8667cf11b03eb711ae0 | 97 | py | Python | notochord/__init__.py | jroose/notochord | da9a6ff5d0fabbf0694d0bee1b81a240b66fa006 | [
"MIT"
] | null | null | null | notochord/__init__.py | jroose/notochord | da9a6ff5d0fabbf0694d0bee1b81a240b66fa006 | [
"MIT"
] | null | null | null | notochord/__init__.py | jroose/notochord | da9a6ff5d0fabbf0694d0bee1b81a240b66fa006 | [
"MIT"
] | null | null | null | from util import *
import schema
from Model import *
from App import *
from ObjectStore import *
| 16.166667 | 25 | 0.773196 | 14 | 97 | 5.357143 | 0.5 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185567 | 97 | 5 | 26 | 19.4 | 0.949367 | 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 |
6d275a4250be62a3976ef9c5e0aa47c1123ae976 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/distutils/command/build_scripts.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/distutils/command/build_scripts.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/distutils/command/build_scripts.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/3f/6c/ad/9996f7529c1f99b31790507688c424d79b4d502ca7ccc0139659a9f86b | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 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 |
ed9bc93c5b4fbfe2978a11c4d85fb332d547833c | 129 | py | Python | example/example/app/admin.py | frlan/django-markdown-filter | d17dd66b4863a82718f4714598ea8476d214d8a1 | [
"MIT"
] | 3 | 2019-04-17T14:16:52.000Z | 2020-05-11T17:21:32.000Z | example/example/app/admin.py | frlan/django-markdown-filter | d17dd66b4863a82718f4714598ea8476d214d8a1 | [
"MIT"
] | 2 | 2018-03-27T09:48:25.000Z | 2018-12-06T02:01:47.000Z | example/example/app/admin.py | frlan/django-markdown-filter | d17dd66b4863a82718f4714598ea8476d214d8a1 | [
"MIT"
] | 5 | 2018-03-21T06:34:03.000Z | 2020-08-31T15:04:16.000Z | from django.contrib import admin
from app.models import Post
@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
pass
| 16.125 | 34 | 0.782946 | 18 | 129 | 5.611111 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 129 | 7 | 35 | 18.428571 | 0.90991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
610cdea76d5c4b92dceb2c45e421b7d3e89427d8 | 5,758 | py | Python | ABvsMCTS.py | qchen59/CSC520_Pente_AI | fa2c3c530ccd59f442c4e448787ef066165a4906 | [
"Apache-2.0"
] | null | null | null | ABvsMCTS.py | qchen59/CSC520_Pente_AI | fa2c3c530ccd59f442c4e448787ef066165a4906 | [
"Apache-2.0"
] | 1 | 2022-03-31T23:06:59.000Z | 2022-03-31T23:06:59.000Z | ABvsMCTS.py | qchen59/CSC520_Pente_AI | fa2c3c530ccd59f442c4e448787ef066165a4906 | [
"Apache-2.0"
] | 1 | 2022-03-31T22:07:46.000Z | 2022-03-31T22:07:46.000Z | import math
import copy
import ABpruning
import MCTS
import pente
import sys
pinfi = sys.maxsize
ninfi = -sys.maxsize
def performGame(heur1, heur2, boardSize):
"""
The implementation of the alpha beta pruning.
:param heur1: the heuristic for the first player, can be 1 - 10(see the numberOfHeuristic varia... | 30.956989 | 104 | 0.550365 | 691 | 5,758 | 4.558611 | 0.146165 | 0.045714 | 0.022222 | 0.022857 | 0.828889 | 0.822222 | 0.799365 | 0.799365 | 0.799365 | 0.799365 | 0 | 0.031725 | 0.337617 | 5,758 | 186 | 105 | 30.956989 | 0.794179 | 0.351337 | 0 | 0.673469 | 0 | 0 | 0.006908 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020408 | false | 0 | 0.061224 | 0 | 0.102041 | 0.030612 | 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 |
611eb34f59a7eb3623037766fc4a9079790153f4 | 22,304 | py | Python | pybind/slxos/v17s_1_02/mac_address_table/static/static_ac_lif/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17s_1_02/mac_address_table/static/static_ac_lif/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17s_1_02/mac_address_table/static/static_ac_lif/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 77.444444 | 676 | 0.704761 | 3,005 | 22,304 | 4.979035 | 0.063561 | 0.062826 | 0.058147 | 0.066168 | 0.859578 | 0.821548 | 0.801764 | 0.793477 | 0.78686 | 0.783318 | 0 | 0.010141 | 0.160016 | 22,304 | 287 | 677 | 77.714286 | 0.788471 | 0.12917 | 0 | 0.505319 | 0 | 0.042553 | 0.381442 | 0.20363 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095745 | false | 0 | 0.042553 | 0 | 0.25 | 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 |
b6508164c180514ea45371a2e293f0c430679a4b | 249 | py | Python | {{cookiecutter.project_slug}}/app/main.py | jonatasoli/fastapi-template-cookiecutter | 4a982e9a46dc6b7d1dafda8ca170429ea32b1bf4 | [
"MIT"
] | 7 | 2021-03-12T18:17:42.000Z | 2021-09-14T02:13:32.000Z | {{cookiecutter.project_slug}}/app/main.py | jonatasoli/fastapi-template-cookiecutter | 4a982e9a46dc6b7d1dafda8ca170429ea32b1bf4 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/app/main.py | jonatasoli/fastapi-template-cookiecutter | 4a982e9a46dc6b7d1dafda8ca170429ea32b1bf4 | [
"MIT"
] | 3 | 2021-02-12T15:07:48.000Z | 2021-09-14T02:13:34.000Z | from fastapi import FastAPI
from {{cookiecutter.app_slug_snakecase}} import {{cookiecutter.app_slug_snakecase}}
def create_app():
app = FastAPI()
app.mount("/{{cookiecutter.app_slug}}", {{cookiecutter.app_slug_snakecase}})
return app
| 24.9 | 83 | 0.738956 | 30 | 249 | 5.866667 | 0.366667 | 0.340909 | 0.431818 | 0.477273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128514 | 249 | 9 | 84 | 27.666667 | 0.81106 | 0 | 0 | 0 | 0 | 0 | 0.104418 | 0.104418 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fcb1a9f7043dfa4c17bea62e694ff062d05385b4 | 230 | py | Python | character_sheet/src/player/speed.py | quintenpalmer/dnd | 0efa2b0ecfe886fde06a07ee5dc9475cd77f63a3 | [
"MIT"
] | 7 | 2016-11-13T18:50:39.000Z | 2021-02-11T01:38:36.000Z | character_sheet/src/player/speed.py | quintenpalmer/dnd | 0efa2b0ecfe886fde06a07ee5dc9475cd77f63a3 | [
"MIT"
] | null | null | null | character_sheet/src/player/speed.py | quintenpalmer/dnd | 0efa2b0ecfe886fde06a07ee5dc9475cd77f63a3 | [
"MIT"
] | 2 | 2016-11-04T13:07:58.000Z | 2017-09-22T07:36:20.000Z | class Speed:
def __init__(self, base_speed):
self.base_speed = base_speed
self.misc = []
def get_speed(self):
return (
self.base_speed +
sum(map(lambda x: x(), self.misc)))
| 23 | 47 | 0.543478 | 29 | 230 | 4 | 0.448276 | 0.310345 | 0.336207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33913 | 230 | 9 | 48 | 25.555556 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
fcb9eca4afe02a516ad801387c67f74e1319e555 | 1,242 | py | Python | triangle.py | MittalMakwana/python-practice | 914dd3c9de40fafe578fa6c273871c97fd883997 | [
"Unlicense"
] | null | null | null | triangle.py | MittalMakwana/python-practice | 914dd3c9de40fafe578fa6c273871c97fd883997 | [
"Unlicense"
] | null | null | null | triangle.py | MittalMakwana/python-practice | 914dd3c9de40fafe578fa6c273871c97fd883997 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python3
# For loop triangle
STAR = 9
for i in range(0, STAR):
for j in range(i):
print("*", end='')
print()
print()
# For Loop for reverse triangel
for i in range(STAR, 0, -1):
for j in range(i):
print("*", end='')
print("")
print()
# For Loop for opposite triangle
for i ... | 21.413793 | 36 | 0.467794 | 194 | 1,242 | 2.994845 | 0.134021 | 0.180723 | 0.151463 | 0.113597 | 0.777969 | 0.752151 | 0.752151 | 0.703959 | 0.648881 | 0.648881 | 0 | 0.036364 | 0.335749 | 1,242 | 57 | 37 | 21.789474 | 0.667879 | 0.173913 | 0 | 0.893617 | 0 | 0 | 0.00885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.489362 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 6 |
fcbcf5d502901bf4aaf73fe1f26c9f5358a63f30 | 14,815 | py | Python | src/mock_vws/_services_validators/exceptions.py | VWS-Python/vws-python-mock | 949a19a28791b8f527ef52a3378f7ec058089b33 | [
"MIT"
] | 1 | 2018-10-02T21:20:24.000Z | 2018-10-02T21:20:24.000Z | src/mock_vws/_services_validators/exceptions.py | VWS-Python/vws-python-mock | 949a19a28791b8f527ef52a3378f7ec058089b33 | [
"MIT"
] | 420 | 2020-05-18T21:49:55.000Z | 2022-03-31T05:28:33.000Z | src/mock_vws/_services_validators/exceptions.py | adamtheturtle/vws-python-mock | 1d7ead0c6bd4d4f58c95cefdfbca31ae15e65a25 | [
"MIT"
] | 1 | 2020-09-06T07:05:40.000Z | 2020-09-06T07:05:40.000Z | """
Exceptions to raise from validators.
"""
import email.utils
import uuid
from http import HTTPStatus
from pathlib import Path
from typing import Dict
from mock_vws._constants import ResultCodes
from mock_vws._mock_common import json_dump
class ValidatorException(Exception):
"""
A base class for exception... | 31.928879 | 79 | 0.573945 | 1,556 | 14,815 | 5.285347 | 0.099614 | 0.089008 | 0.025535 | 0.029183 | 0.828429 | 0.82393 | 0.805934 | 0.805934 | 0.796206 | 0.777967 | 0 | 0.001202 | 0.325886 | 14,815 | 463 | 80 | 31.99784 | 0.822269 | 0.274924 | 0 | 0.689796 | 0 | 0 | 0.141403 | 0.003429 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061224 | false | 0 | 0.028571 | 0 | 0.167347 | 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 |
fcf9fea5c711cef88f40c37af5e39aa804872291 | 2,071 | py | Python | tests/unit/data_preprocessing/test_make_functional_edges_and_weights.py | admariner/govuk-related-links-recommender | d1a5efb7204b4eb9b7a14d20bea941264c4bbecd | [
"MIT"
] | 10 | 2019-04-12T10:26:22.000Z | 2021-11-11T15:17:29.000Z | tests/unit/data_preprocessing/test_make_functional_edges_and_weights.py | alphagov/govuk-related-links-recommender | 52816a39fcbe9927cc817dc4ebc2bd7a045e30fe | [
"MIT"
] | 50 | 2019-04-12T10:31:43.000Z | 2022-01-11T11:59:43.000Z | tests/unit/data_preprocessing/test_make_functional_edges_and_weights.py | admariner/govuk-related-links-recommender | d1a5efb7204b4eb9b7a14d20bea941264c4bbecd | [
"MIT"
] | 4 | 2019-08-29T14:01:14.000Z | 2021-06-25T04:54:30.000Z | import pandas as pd
import pytest
from src.data_preprocessing.make_functional_edges_and_weights import EdgeWeightExtractor
from src.utils.miscellaneous import read_config_yaml
@pytest.mark.skip(reason="Concourse doesnt have big query creds/expensive")
def test_return_data_frame():
"""Tests that Edgeweight Extract... | 50.512195 | 114 | 0.699179 | 256 | 2,071 | 5.386719 | 0.324219 | 0.101523 | 0.04641 | 0.060914 | 0.858593 | 0.858593 | 0.858593 | 0.858593 | 0.858593 | 0.858593 | 0 | 0.008439 | 0.198938 | 2,071 | 40 | 115 | 51.775 | 0.822785 | 0.100917 | 0 | 0.6 | 0 | 0 | 0.274446 | 0.141545 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.066667 | false | 0 | 0.133333 | 0 | 0.2 | 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 |
1e111f70239f2302cc82d0eb38cd7a202756d2da | 46 | py | Python | delicatessen/__init__.py | adrn/TESS-Science-plots | e816dab3e85b5ef492a4e771285e8cac971d1ea6 | [
"MIT"
] | 1 | 2020-09-08T13:51:31.000Z | 2020-09-08T13:51:31.000Z | delicatessen/__init__.py | adrn/delicatessen | e816dab3e85b5ef492a4e771285e8cac971d1ea6 | [
"MIT"
] | 22 | 2020-09-08T15:00:56.000Z | 2020-09-11T22:26:13.000Z | delicatessen/__init__.py | adrn/TESS-Science-plots | e816dab3e85b5ef492a4e771285e8cac971d1ea6 | [
"MIT"
] | 5 | 2020-09-08T15:30:30.000Z | 2020-09-09T21:04:07.000Z | from .delicatessen_version import __version__
| 23 | 45 | 0.891304 | 5 | 46 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.857143 | 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 |
1e9bdd04364dba04624c0c4e08caab66c00ccc58 | 200 | py | Python | starspot/__init__.py | RuthAngus/starspot | 798576469591d484765bbb55e43ee1637b13442f | [
"MIT"
] | 3 | 2020-10-29T21:51:31.000Z | 2021-05-04T22:18:42.000Z | starspot/__init__.py | RuthAngus/starspot | 798576469591d484765bbb55e43ee1637b13442f | [
"MIT"
] | 1 | 2021-06-16T15:40:15.000Z | 2021-06-16T15:40:15.000Z | starspot/__init__.py | RuthAngus/starspot | 798576469591d484765bbb55e43ee1637b13442f | [
"MIT"
] | 1 | 2020-06-05T15:17:36.000Z | 2020-06-05T15:17:36.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .rotation_tools import *
from .starspot import *
from .phase_dispersion_minimization import *
# from .stitch import *
from .sigma_clipping import *
| 22.222222 | 44 | 0.73 | 26 | 200 | 5.461538 | 0.692308 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.145 | 200 | 8 | 45 | 25 | 0.824561 | 0.32 | 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 |
1ec0af7043896f30bba0042a8800ceb60d310039 | 30 | py | Python | tests/test_items.py | hubbub-tech/blubber-orm | 4c445cec18e0f9d2212e15aa7ae91989b8aa9ada | [
"Apache-2.0"
] | 1 | 2021-04-13T22:00:58.000Z | 2021-04-13T22:00:58.000Z | tests/test_items.py | hubbub-tech/blubber-orm | 4c445cec18e0f9d2212e15aa7ae91989b8aa9ada | [
"Apache-2.0"
] | null | null | null | tests/test_items.py | hubbub-tech/blubber-orm | 4c445cec18e0f9d2212e15aa7ae91989b8aa9ada | [
"Apache-2.0"
] | null | null | null | from blubber_orm import Items
| 15 | 29 | 0.866667 | 5 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 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 |
1ee5a19c11e6a9666efdab617c39a2e4e45fde32 | 1,863 | py | Python | src/tests/unit/test_person_handler.py | jaystino/people_api | 8c5278c417e7012c3d8d252411ed2f132d1c1881 | [
"MIT"
] | 2 | 2020-10-24T20:49:31.000Z | 2020-10-26T16:43:13.000Z | src/tests/unit/test_person_handler.py | jaystino/people_api | 8c5278c417e7012c3d8d252411ed2f132d1c1881 | [
"MIT"
] | null | null | null | src/tests/unit/test_person_handler.py | jaystino/people_api | 8c5278c417e7012c3d8d252411ed2f132d1c1881 | [
"MIT"
] | null | null | null | from unittest import mock
import pytest
from fastapi.exceptions import HTTPException
from app.api import dal, person_handler
from tests.unit import sample_data
from tests.unit.async_test_helpers import async_mock, async_test
@async_test
@mock.patch("app.api.dal.select_persons", new=async_mock())
async def test_rea... | 34.5 | 88 | 0.75255 | 270 | 1,863 | 4.881481 | 0.203704 | 0.109256 | 0.081942 | 0.091047 | 0.8217 | 0.8217 | 0.8217 | 0.8217 | 0.8217 | 0.8217 | 0 | 0.045 | 0.14117 | 1,863 | 53 | 89 | 35.150943 | 0.77875 | 0 | 0 | 0.636364 | 0 | 0 | 0.099839 | 0.099839 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0 | false | 0 | 0.136364 | 0 | 0.136364 | 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 |
94a8fab1ae3d88b060d9bffe9097fba393579e5c | 5,435 | py | Python | tests/api/test_item_loan_create.py | lauren-d/invenio-app-ils | 961e88ba144b1371b629dfbc0baaf388e46e667f | [
"MIT"
] | null | null | null | tests/api/test_item_loan_create.py | lauren-d/invenio-app-ils | 961e88ba144b1371b629dfbc0baaf388e46e667f | [
"MIT"
] | null | null | null | tests/api/test_item_loan_create.py | lauren-d/invenio-app-ils | 961e88ba144b1371b629dfbc0baaf388e46e667f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (C) 2018-19 CERN.
#
# invenio-app-ils is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
"""Test loans item permissions."""
from __future__ import absolute_import, print_function
import json
from f... | 38.821429 | 76 | 0.604968 | 681 | 5,435 | 4.512482 | 0.195301 | 0.029613 | 0.046534 | 0.041653 | 0.798243 | 0.798243 | 0.752685 | 0.701269 | 0.701269 | 0.686625 | 0 | 0.024516 | 0.287029 | 5,435 | 139 | 77 | 39.100719 | 0.768516 | 0.09034 | 0 | 0.72381 | 0 | 0 | 0.190039 | 0.04654 | 0 | 0 | 0 | 0 | 0.085714 | 1 | 0.038095 | false | 0 | 0.07619 | 0 | 0.114286 | 0.009524 | 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 |
bf7444290773097a962cf5d586554593ae8b0619 | 37 | py | Python | tests/basic/helloworld.py | MoonStarCZW/py2rb | 89b247717d33d780fbf143e1583bfe9252984da4 | [
"MIT"
] | 124 | 2017-08-19T05:37:16.000Z | 2022-03-08T18:24:18.000Z | tests/basic/helloworld.py | MoonStarCZW/py2rb | 89b247717d33d780fbf143e1583bfe9252984da4 | [
"MIT"
] | 15 | 2017-12-16T05:59:31.000Z | 2022-02-08T02:51:17.000Z | tests/basic/helloworld.py | MoonStarCZW/py2rb | 89b247717d33d780fbf143e1583bfe9252984da4 | [
"MIT"
] | 18 | 2017-09-25T11:57:04.000Z | 2022-02-19T17:33:48.000Z |
print('hello')
print('hello world')
| 9.25 | 20 | 0.675676 | 5 | 37 | 5 | 0.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 3 | 21 | 12.333333 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
bf8a4fc12ec06d74d600534fdbde465c8b02ae92 | 151 | py | Python | mwbase/tests/test_functions.py | mediawiki-utilities/python-mwbase | 5a7255fdbd2e9c5d844b48e7b6a293f5ffb17e6e | [
"MIT"
] | 2 | 2019-05-01T16:57:41.000Z | 2020-04-24T09:01:37.000Z | mwbase/tests/test_functions.py | mediawiki-utilities/python-mwbase | 5a7255fdbd2e9c5d844b48e7b6a293f5ffb17e6e | [
"MIT"
] | 7 | 2018-07-19T15:06:48.000Z | 2020-06-05T15:51:45.000Z | mwbase/tests/test_functions.py | mediawiki-utilities/python-mwbase | 5a7255fdbd2e9c5d844b48e7b6a293f5ffb17e6e | [
"MIT"
] | 1 | 2018-08-10T02:29:24.000Z | 2018-08-10T02:29:24.000Z | from decimal import Decimal
from ..functions import json_dumps
def test_json_dump():
assert json_dumps({"foo": Decimal("5")}) == '{"foo": "5"}'
| 18.875 | 62 | 0.668874 | 21 | 151 | 4.619048 | 0.571429 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.152318 | 151 | 7 | 63 | 21.571429 | 0.742188 | 0 | 0 | 0 | 0 | 0 | 0.10596 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
44c87e9bf2cba214fe734536f003d7128e2660af | 1,880 | py | Python | maxmatrix/font.py | mdonath/micropython-maxmatrix | f675058e55a9ea9ce51d47c156ee28f36b4e356b | [
"MIT"
] | 1 | 2019-02-09T05:19:10.000Z | 2019-02-09T05:19:10.000Z | maxmatrix/font.py | mdonath/micropython-maxmatrix | f675058e55a9ea9ce51d47c156ee28f36b4e356b | [
"MIT"
] | null | null | null | maxmatrix/font.py | mdonath/micropython-maxmatrix | f675058e55a9ea9ce51d47c156ee28f36b4e356b | [
"MIT"
] | null | null | null | FONT=[[3,8,0,0,0,0,0],[1,8,95,0,0,0,0],[3,8,3,0,3,0,0],[5,8,20,62,20,62,20],[4,8,36,106,43,18,0],[5,8,99,19,8,100,99],[5,8,54,73,86,32,80],[1,8,3,0,0,0,0],[3,8,28,34,65,0,0],[3,8,65,34,28,0,0],[5,8,40,24,14,24,40],[5,8,8,8,62,8,8],[2,8,176,112,0,0,0],[4,8,8,8,8,8,0],[2,8,96,96,0,0,0],[4,8,96,24,6,1,0],[4,8,62,65,65,62,... | 940 | 1,879 | 0.543617 | 666 | 1,880 | 1.534535 | 0.117117 | 0.099804 | 0.126223 | 0.07045 | 0.272994 | 0.162427 | 0.03816 | 0 | 0 | 0 | 0 | 0.541778 | 0.000532 | 1,880 | 1 | 1,880 | 1,880 | 0.002129 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
44e81b77dbff778363eb989083f392d5e7f0e230 | 15,421 | py | Python | tests/tests/test_psbtview.py | stepansnigirev/embit | afd09f243eaa5f682222455f75fdc45589ad69bc | [
"MIT"
] | 24 | 2020-01-23T21:01:58.000Z | 2022-01-31T14:59:40.000Z | tests/tests/test_psbtview.py | stepansnigirev/embit | afd09f243eaa5f682222455f75fdc45589ad69bc | [
"MIT"
] | 16 | 2020-11-04T10:35:17.000Z | 2021-10-02T07:35:04.000Z | tests/tests/test_psbtview.py | stepansnigirev/embit | afd09f243eaa5f682222455f75fdc45589ad69bc | [
"MIT"
] | 15 | 2020-01-23T19:00:23.000Z | 2022-02-21T20:36:17.000Z | from unittest import TestCase
from embit.psbtview import PSBTView
from embit.psbt import PSBT, InputScope
from embit import bip32, bip39
from binascii import a2b_base64, b2a_base64
from io import BytesIO
ROOT = bip32.HDKey.from_seed(bip39.mnemonic_to_seed("toy fault beef holiday later unit boring merge shield detail s... | 129.588235 | 1,499 | 0.824979 | 875 | 15,421 | 14.470857 | 0.401143 | 0.021324 | 0.007503 | 0.01469 | 0.23456 | 0.189149 | 0.133312 | 0.067288 | 0.060338 | 0.060338 | 0 | 0.087838 | 0.117048 | 15,421 | 118 | 1,500 | 130.686441 | 0.842098 | 0.060761 | 0 | 0.144578 | 0 | 0.096386 | 0.694139 | 0.688672 | 0 | 1 | 0 | 0 | 0.240964 | 1 | 0.024096 | false | 0 | 0.072289 | 0 | 0.108434 | 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 |
7807268826d3d334e21e51c0749144d5cbf4b890 | 438 | py | Python | fbotics/tests/conftest.py | pasmod/fbotics | 6ddd5d1f2396f43a90a1fb529f896d15e47f72b3 | [
"BSD-3-Clause"
] | 3 | 2018-11-16T13:20:08.000Z | 2019-04-16T16:43:25.000Z | fbotics/tests/conftest.py | pasmod/fbotics | 6ddd5d1f2396f43a90a1fb529f896d15e47f72b3 | [
"BSD-3-Clause"
] | 1 | 2018-12-16T16:58:58.000Z | 2018-12-16T16:58:58.000Z | fbotics/tests/conftest.py | pasmod/fbotics | 6ddd5d1f2396f43a90a1fb529f896d15e47f72b3 | [
"BSD-3-Clause"
] | 2 | 2018-12-16T16:30:18.000Z | 2021-10-03T12:43:54.000Z | import pytest
from fbotics.client import Client
@pytest.fixture(scope="module")
def client():
return Client(
page_access_token="EAAHIhFHZCIQIBAAme5oAtHehYfrZCvyUZAMLABGEW8ZBmdZASYFp8wdhtbD3POKbT7m3yOnue9Y2JrYZAZBSVne0yHfdKKKfxrjL1aZB5nFCWVjBZA7BiZBNsMrVhSZCfqi4cB6CZCi2CUh41waGNlIc7gcFxAl421dqoNBUPD5ZAjxi... | 27.375 | 231 | 0.8379 | 28 | 438 | 13 | 0.607143 | 0.071429 | 0.098901 | 0.131868 | 0.148352 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098734 | 0.098174 | 438 | 15 | 232 | 29.2 | 0.822785 | 0 | 0 | 0.2 | 0 | 0 | 0.527397 | 0.46347 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7835101fcf2e2d0da0cf2a26e188f2b342df52da | 189 | py | Python | mindefuse/problem/__init__.py | sinistro14/mindefuse | c7371a81731d0b9a03d3ef18f91c336e4135c17d | [
"MIT"
] | null | null | null | mindefuse/problem/__init__.py | sinistro14/mindefuse | c7371a81731d0b9a03d3ef18f91c336e4135c17d | [
"MIT"
] | 1 | 2019-08-22T19:51:12.000Z | 2019-08-22T19:51:12.000Z | mindefuse/problem/__init__.py | sinistro14/mindefuse | c7371a81731d0b9a03d3ef18f91c336e4135c17d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3.7
from .problem import Problem
from .proposal import Proposal
from .problem_builder import ProblemBuilder
from .secret import Secret
from .secret import SecretTypes
| 23.625 | 43 | 0.820106 | 26 | 189 | 5.923077 | 0.5 | 0.142857 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.121693 | 189 | 7 | 44 | 27 | 0.915663 | 0.121693 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7862f46ce94f6f2911ca7e7a9f66434bc769be24 | 85 | py | Python | creational/abstract_factory/data/tanks/__init__.py | Kozak24/Patterns | 351d5c11f7c64ce5d58db37b6715fc8f7d31945a | [
"MIT"
] | null | null | null | creational/abstract_factory/data/tanks/__init__.py | Kozak24/Patterns | 351d5c11f7c64ce5d58db37b6715fc8f7d31945a | [
"MIT"
] | null | null | null | creational/abstract_factory/data/tanks/__init__.py | Kozak24/Patterns | 351d5c11f7c64ce5d58db37b6715fc8f7d31945a | [
"MIT"
] | null | null | null | from .tank import Tank
from .red_tank import RedTank
from .blue_tank import BlueTank
| 21.25 | 31 | 0.823529 | 14 | 85 | 4.857143 | 0.5 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 85 | 3 | 32 | 28.333333 | 0.931507 | 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 |
787e2eb55b7269d397f7e02e07a6789ecd95408a | 312 | py | Python | src/bin/Devices/__init__.py | rCorvidae/OrionPI | 1ef5d786d7ae55bf92a8da62d8da28af706f4713 | [
"MIT"
] | null | null | null | src/bin/Devices/__init__.py | rCorvidae/OrionPI | 1ef5d786d7ae55bf92a8da62d8da28af706f4713 | [
"MIT"
] | null | null | null | src/bin/Devices/__init__.py | rCorvidae/OrionPI | 1ef5d786d7ae55bf92a8da62d8da28af706f4713 | [
"MIT"
] | null | null | null | from .DeviceAbstract import DeviceAbstract, NullDevice, Device, DeviceInterface
from .DeviceFactory import DeviceFactoryAbstract, DeviceManagerFactorySerialAbstract
from .DeviceManagerAbstract import EventlessDeviceManager, NullDeviceManager
from .DeviceWholesale import DeviceWholesaleAbstract, DeviceWholesale
| 62.4 | 84 | 0.897436 | 22 | 312 | 12.727273 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070513 | 312 | 4 | 85 | 78 | 0.965517 | 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 |
788028748b6f712b8997c564a0a544f62dbee031 | 166 | py | Python | deepecho/models/__init__.py | sdv-dev/DeepEcho | 72440840d449d84c4129ed43bf6427c962f35eb6 | [
"MIT"
] | 34 | 2020-08-11T20:31:57.000Z | 2022-03-22T14:01:26.000Z | deepecho/models/__init__.py | sarahmish/DeepEcho | fb039e6944a2d2633663da7ac881dcc8a7cade1a | [
"MIT"
] | 23 | 2020-08-25T09:37:08.000Z | 2022-02-28T21:11:50.000Z | deepecho/models/__init__.py | sarahmish/DeepEcho | fb039e6944a2d2633663da7ac881dcc8a7cade1a | [
"MIT"
] | 10 | 2020-08-24T10:47:39.000Z | 2022-03-15T17:28:40.000Z | """DeepEcho Models package."""
from deepecho.models.basic_gan import BasicGANModel
from deepecho.models.par import PARModel
__all__ = ['PARModel', 'BasicGANModel']
| 23.714286 | 51 | 0.783133 | 19 | 166 | 6.578947 | 0.578947 | 0.336 | 0.288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10241 | 166 | 6 | 52 | 27.666667 | 0.838926 | 0.144578 | 0 | 0 | 0 | 0 | 0.154412 | 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 |
789df328c019966b26c1355e550aa37e9b27b30d | 188 | py | Python | scrab/formatter.py | gindex/scrab | 35905516dec265cdd35878aecdd06469f374708f | [
"MIT"
] | 1 | 2021-07-12T20:07:03.000Z | 2021-07-12T20:07:03.000Z | scrab/formatter.py | gindex/scrab | 35905516dec265cdd35878aecdd06469f374708f | [
"MIT"
] | null | null | null | scrab/formatter.py | gindex/scrab | 35905516dec265cdd35878aecdd06469f374708f | [
"MIT"
] | null | null | null | from typing import List
from scrab.parser import NodeSequence
def to_text(content: List[NodeSequence]) -> str:
return "\n".join(map(lambda nodes: nodes.to_formatted_text, content))
| 23.5 | 73 | 0.760638 | 27 | 188 | 5.185185 | 0.703704 | 0.157143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132979 | 188 | 7 | 74 | 26.857143 | 0.858896 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 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 |
78a8ecbcb440802f19ecba54e6196b81337f1b99 | 20 | py | Python | ch03/library_app/controllers/__init__.py | minhmanit98/library-app | 4ae213451f243d83302005054b812130c20ab57b | [
"MIT"
] | null | null | null | ch03/library_app/controllers/__init__.py | minhmanit98/library-app | 4ae213451f243d83302005054b812130c20ab57b | [
"MIT"
] | null | null | null | ch03/library_app/controllers/__init__.py | minhmanit98/library-app | 4ae213451f243d83302005054b812130c20ab57b | [
"MIT"
] | null | null | null | from .import main
| 5 | 17 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 20 | 3 | 18 | 6.666667 | 0.933333 | 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 |
78ac830ba6c709a2f5ae40253f179dd68312fb54 | 23 | py | Python | maps/rake/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | maps/rake/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | maps/rake/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | from .rake import Rake
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
78af8a03bf7fae31d9951dcefca0abbdeefce370 | 4,775 | py | Python | tests/test_goals.py | semitable/robotic-warehouse | be626e41898d91ff4359d215960ab9b6d9943d27 | [
"MIT"
] | 62 | 2020-06-17T17:32:47.000Z | 2022-03-25T06:04:30.000Z | tests/test_goals.py | LukasSchaefer/robotic-warehouse | d5e594bf3430c29e7a3a75feb4a5de5547549d3d | [
"MIT"
] | 6 | 2020-06-09T20:12:05.000Z | 2022-03-30T13:05:31.000Z | tests/test_goals.py | LukasSchaefer/robotic-warehouse | d5e594bf3430c29e7a3a75feb4a5de5547549d3d | [
"MIT"
] | 13 | 2020-06-11T09:19:17.000Z | 2022-03-30T01:18:31.000Z | import os
import sys
import pytest
TEST_DIR = os.path.dirname(os.path.abspath(__file__))
PROJECT_DIR = os.path.abspath(os.path.join(TEST_DIR, os.pardir))
sys.path.insert(0, PROJECT_DIR)
from rware.warehouse import Warehouse, Direction, Action, RewardType
@pytest.fixture
def env_0():
env = Warehouse(3, 8, 3, 1, ... | 26.381215 | 75 | 0.632461 | 793 | 4,775 | 3.65826 | 0.089533 | 0.086867 | 0.075836 | 0.077215 | 0.852465 | 0.846605 | 0.828335 | 0.799724 | 0.79869 | 0.798001 | 0 | 0.066386 | 0.205026 | 4,775 | 181 | 76 | 26.381215 | 0.69784 | 0.036649 | 0 | 0.698413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301587 | 1 | 0.079365 | false | 0 | 0.031746 | 0 | 0.142857 | 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 |
154cf37d94a5d0d454b3470bf30f8e745769c9e6 | 83 | py | Python | slaves/__init__.py | zerd05/slaves_api | 69076316c02b0e95cff895a7bf9c2427c7fb46cf | [
"MIT"
] | 13 | 2021-03-24T15:53:02.000Z | 2021-03-31T08:37:23.000Z | slaves/__init__.py | zerd05/slaves_api | 69076316c02b0e95cff895a7bf9c2427c7fb46cf | [
"MIT"
] | 4 | 2021-03-26T17:30:40.000Z | 2021-03-31T21:16:11.000Z | slaves/__init__.py | zerd05/slaves_api | 69076316c02b0e95cff895a7bf9c2427c7fb46cf | [
"MIT"
] | 5 | 2021-03-24T20:12:41.000Z | 2021-03-28T15:21:32.000Z | from slaves.api import Api
from slaves import exceptions
from slaves import dtypes
| 20.75 | 29 | 0.843373 | 13 | 83 | 5.384615 | 0.461538 | 0.428571 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 3 | 30 | 27.666667 | 0.985915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
154dbc8e10fff1747d78b105beeade854c30940b | 44 | py | Python | 3. Model/classification/remove.py | gjustin40/Pytorch | b099fe7975490790f5179f2733a3fc546b5b3d46 | [
"MIT"
] | null | null | null | 3. Model/classification/remove.py | gjustin40/Pytorch | b099fe7975490790f5179f2733a3fc546b5b3d46 | [
"MIT"
] | null | null | null | 3. Model/classification/remove.py | gjustin40/Pytorch | b099fe7975490790f5179f2733a3fc546b5b3d46 | [
"MIT"
] | null | null | null | import torch
print(torch.randint(5, (10,))) | 14.666667 | 30 | 0.704545 | 7 | 44 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.090909 | 44 | 3 | 30 | 14.666667 | 0.7 | 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 |
ec909230a80b5a9035cc6019f3e2b6eb9723f37b | 47 | py | Python | record_api/__init__.py | LeiQiao/Parasite-Plugins | 96a20819f2cf625f22e06be9dc03a997291e1fc6 | [
"MIT"
] | null | null | null | record_api/__init__.py | LeiQiao/Parasite-Plugins | 96a20819f2cf625f22e06be9dc03a997291e1fc6 | [
"MIT"
] | null | null | null | record_api/__init__.py | LeiQiao/Parasite-Plugins | 96a20819f2cf625f22e06be9dc03a997291e1fc6 | [
"MIT"
] | null | null | null | from .record_api_plugin import RecordApiPlugin
| 23.5 | 46 | 0.893617 | 6 | 47 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.930233 | 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 |
ecbe333295f684b2ecedcccaf1df9fbb241a7258 | 36 | py | Python | data/syn_project/types/__init__.py | ki-tools/sls_ki_synapse | 8c726a9ec568e3d416049a8813c21bbe87740f16 | [
"Apache-2.0"
] | 1 | 2018-11-21T19:54:34.000Z | 2018-11-21T19:54:34.000Z | data/syn_project/types/__init__.py | pcstout/sls_ki_synapse | 8c726a9ec568e3d416049a8813c21bbe87740f16 | [
"Apache-2.0"
] | 5 | 2019-03-12T16:44:35.000Z | 2019-03-15T21:46:00.000Z | data/syn_project/types/__init__.py | ki-tools/sls_ki_synapse | 8c726a9ec568e3d416049a8813c21bbe87740f16 | [
"Apache-2.0"
] | 2 | 2019-02-28T23:16:32.000Z | 2019-03-05T22:16:39.000Z | from .syn_project import SynProject
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 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 |
01b71ce76036aa2cf88dd415379987fa5dff3d5f | 38 | py | Python | os_v4_hek/defs/cdmg.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | os_v4_hek/defs/cdmg.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | os_v4_hek/defs/cdmg.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | from ...os_v3_hek.defs.cdmg import *
| 19 | 37 | 0.710526 | 7 | 38 | 3.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.131579 | 38 | 1 | 38 | 38 | 0.727273 | 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 |
01ceab9f3b1e14a1d2ef36217d4e2672d6158bbf | 201 | py | Python | src/toncli/modules/utils/commands/command_classes/build_cli_libs_command.py | disintar/toncli | 23cfe27bceccbff3076aa4fe5aec4a8cb1343f16 | [
"Apache-2.0"
] | 25 | 2022-02-08T16:11:02.000Z | 2022-03-31T16:26:32.000Z | src/toncli/modules/utils/commands/command_classes/build_cli_libs_command.py | disintar/fift-cli | 60380f29d0a7be66884819f18af05729f7358924 | [
"Apache-2.0"
] | 3 | 2022-02-11T13:26:45.000Z | 2022-03-27T19:53:56.000Z | src/toncli/modules/utils/commands/command_classes/build_cli_libs_command.py | disintar/tncli | 23cfe27bceccbff3076aa4fe5aec4a8cb1343f16 | [
"Apache-2.0"
] | 4 | 2022-02-11T06:42:08.000Z | 2022-03-30T08:58:46.000Z | import sys
from toncli.modules.utils.fift.cli_lib import process_build_cli_lib_command
class BuildCliLibsCommand():
def __init__(self):
process_build_cli_lib_command(sys.argv[2:])
| 28.714286 | 75 | 0.761194 | 28 | 201 | 5 | 0.678571 | 0.128571 | 0.214286 | 0.257143 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.159204 | 201 | 7 | 76 | 28.714286 | 0.822485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
175c9508c78e3f310b6e02c3def46e9bc8640362 | 3,970 | py | Python | test/test_coverage_model.py | jackdewinter/pyscan | 05ea9bff0aaf4d53aa401c51526bb847accec56a | [
"MIT"
] | 1 | 2021-01-14T17:39:18.000Z | 2021-01-14T17:39:18.000Z | test/test_coverage_model.py | jackdewinter/pyscan | 05ea9bff0aaf4d53aa401c51526bb847accec56a | [
"MIT"
] | 17 | 2020-08-15T23:27:28.000Z | 2022-02-20T18:23:49.000Z | test/test_coverage_model.py | jackdewinter/pyscan | 05ea9bff0aaf4d53aa401c51526bb847accec56a | [
"MIT"
] | null | null | null | """
Module to test the classes for the coverage models. This coverage is required
as the CoverageMeasurement class and the CoverageTotals class both implement
the _eq_ function.
"""
from project_summarizer.coverage_model import CoverageMeasurement, CoverageTotals
def test_coverage_totals_equal():
"""
Test to... | 30.775194 | 110 | 0.748363 | 483 | 3,970 | 5.853002 | 0.134576 | 0.127343 | 0.164485 | 0.127343 | 0.847895 | 0.826671 | 0.805801 | 0.772904 | 0.706049 | 0.673505 | 0 | 0.015375 | 0.180856 | 3,970 | 128 | 111 | 31.015625 | 0.853936 | 0.219395 | 0 | 0.470588 | 0 | 0 | 0.021783 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.117647 | false | 0 | 0.019608 | 0 | 0.137255 | 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 |
176cf1f5d973838d66f0a2dd84c64c5fbd88ea4d | 27 | py | Python | pyminio/__init__.py | cgumpert/pyminio | e2f07aceb843c2b2e493776a79a4e89f06d1a95b | [
"MIT"
] | null | null | null | pyminio/__init__.py | cgumpert/pyminio | e2f07aceb843c2b2e493776a79a4e89f06d1a95b | [
"MIT"
] | 2 | 2020-02-11T22:21:07.000Z | 2020-02-11T22:34:35.000Z | pyminio/__init__.py | cgumpert/pyminio | e2f07aceb843c2b2e493776a79a4e89f06d1a95b | [
"MIT"
] | null | null | null | from .pyminio import client | 27 | 27 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.958333 | 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 |
17a04cb08e9451b511f004d0af6bd4a25be997e8 | 455 | py | Python | tornadis/exceptions.py | JumpingYang001/tornadis | 2cab0dd1b1402ad043e3fe8f4af1eafbd2eb56ac | [
"MIT"
] | 138 | 2015-02-23T11:23:29.000Z | 2021-03-08T08:51:38.000Z | tornadis/exceptions.py | JumpingYang001/tornadis | 2cab0dd1b1402ad043e3fe8f4af1eafbd2eb56ac | [
"MIT"
] | 49 | 2015-02-25T18:15:06.000Z | 2021-09-04T15:52:58.000Z | tornadis/exceptions.py | JumpingYang001/tornadis | 2cab0dd1b1402ad043e3fe8f4af1eafbd2eb56ac | [
"MIT"
] | 36 | 2015-02-18T14:24:23.000Z | 2021-03-07T06:08:22.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This file is part of tornadis library released under the MIT license.
# See the LICENSE file for more information.
class TornadisException(Exception):
"""Base Exception class."""
pass
class ConnectionError(TornadisException):
"""Exception raised when the... | 22.75 | 71 | 0.712088 | 56 | 455 | 5.785714 | 0.660714 | 0.240741 | 0.197531 | 0.222222 | 0.271605 | 0.271605 | 0.271605 | 0 | 0 | 0 | 0 | 0.002681 | 0.18022 | 455 | 19 | 72 | 23.947368 | 0.865952 | 0.604396 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
bd5845527a01ca09ff1c01a86fa0d59f3ebe1123 | 51 | py | Python | django_pandas/tests/tests.py | cloudmercato/django-pandas | a19f7eae883b13ea867059662f5ccde4d3f3636d | [
"BSD-3-Clause"
] | 692 | 2015-01-20T06:34:21.000Z | 2022-03-30T12:26:21.000Z | django_pandas/tests/tests.py | debuggerpk/django-pandas | 3768e15d0ef552af27f414ac376c9bb8ded30931 | [
"BSD-3-Clause"
] | 106 | 2015-01-26T15:58:14.000Z | 2022-03-13T04:37:44.000Z | django_pandas/tests/tests.py | debuggerpk/django-pandas | 3768e15d0ef552af27f414ac376c9bb8ded30931 | [
"BSD-3-Clause"
] | 113 | 2015-01-07T16:50:54.000Z | 2022-02-04T12:35:27.000Z | from .test_manager import *
from .test_io import *
| 17 | 27 | 0.764706 | 8 | 51 | 4.625 | 0.625 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 28 | 25.5 | 0.860465 | 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 |
bd72c7e7452e2eb5ef3268147c898a38e7e03d42 | 40 | py | Python | alphatools/expression/__init__.py | marketneutral/alphatools | 72b668381f21d77c0b52f920358df3d8008e909f | [
"Apache-2.0"
] | 302 | 2018-08-29T01:59:03.000Z | 2022-03-26T03:40:09.000Z | alphatools/expression/__init__.py | webclinic017/alphatools | 72b668381f21d77c0b52f920358df3d8008e909f | [
"Apache-2.0"
] | 7 | 2018-08-29T15:07:13.000Z | 2020-11-27T16:58:26.000Z | alphatools/expression/__init__.py | webclinic017/alphatools | 72b668381f21d77c0b52f920358df3d8008e909f | [
"Apache-2.0"
] | 64 | 2019-04-24T13:09:03.000Z | 2022-02-08T00:28:53.000Z | from .expression import ExpressionAlpha
| 20 | 39 | 0.875 | 4 | 40 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.972222 | 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 |
bd8436fec5dacf2eada2b1774b53e12677a028f3 | 39 | py | Python | ventura/__init__.py | HermesPasser/ventura | dad1803637e53a36a71740a1775f8c885533a730 | [
"MIT"
] | null | null | null | ventura/__init__.py | HermesPasser/ventura | dad1803637e53a36a71740a1775f8c885533a730 | [
"MIT"
] | null | null | null | ventura/__init__.py | HermesPasser/ventura | dad1803637e53a36a71740a1775f8c885533a730 | [
"MIT"
] | null | null | null | from .ventura import update_if_is_need
| 19.5 | 38 | 0.871795 | 7 | 39 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.885714 | 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 |
bdc6c86dbc3254876aa35775b49988029b8f7049 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_internal/operations/build/wheel.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_internal/operations/build/wheel.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_internal/operations/build/wheel.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/59/82/cc/c6ec6a3776a1253424d8c23d85d999281a45cb11de36951d3b43f26f15 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 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 |
da4c063bce91bcd2cd70364afefb6d8ff1235859 | 46 | py | Python | cloud_conformity/__init__.py | traveloka/cloud-conformity-python-library | 37d3f8a4a2177c09d010547470cc9832e3798b09 | [
"Apache-2.0"
] | null | null | null | cloud_conformity/__init__.py | traveloka/cloud-conformity-python-library | 37d3f8a4a2177c09d010547470cc9832e3798b09 | [
"Apache-2.0"
] | null | null | null | cloud_conformity/__init__.py | traveloka/cloud-conformity-python-library | 37d3f8a4a2177c09d010547470cc9832e3798b09 | [
"Apache-2.0"
] | null | null | null | from .cloud_conformity import CloudConformity
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da4fe445515763d9679e11dc3e0f5504798e6183 | 227 | py | Python | python/core/auto_additions/qgsgeometry.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | python/core/auto_additions/qgsgeometry.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | python/core/auto_additions/qgsgeometry.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z | # The following has been generated automatically from src/core/geometry/qgsgeometry.h
QgsGeometry.BufferSide.baseClass = QgsGeometry
QgsGeometry.EndCapStyle.baseClass = QgsGeometry
QgsGeometry.JoinStyle.baseClass = QgsGeometry
| 45.4 | 85 | 0.859031 | 24 | 227 | 8.125 | 0.666667 | 0.307692 | 0.317949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079295 | 227 | 4 | 86 | 56.75 | 0.933014 | 0.365639 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
da86625ee503ea92670e4a8388d0fd2d9ef4572f | 2,522 | py | Python | expertise/dataset/helpers.py | mspector/expertise | 6c50b794bfaeaf3a3a9ae271397f177a326d11f2 | [
"MIT"
] | 12 | 2020-02-25T18:45:32.000Z | 2022-02-07T22:24:48.000Z | expertise/dataset/helpers.py | mspector/expertise | 6c50b794bfaeaf3a3a9ae271397f177a326d11f2 | [
"MIT"
] | 52 | 2019-12-19T08:14:43.000Z | 2022-03-23T19:40:02.000Z | expertise/dataset/helpers.py | mspector/expertise | 6c50b794bfaeaf3a3a9ae271397f177a326d11f2 | [
"MIT"
] | 3 | 2019-10-24T16:52:34.000Z | 2021-09-27T21:40:39.000Z | import os
import json
from openreview import Tag
from expertise import utils
from tqdm import tqdm
def filter_by_fields(content, fields):
filtered_record = {field: value for field, value in content.items() if field in fields}
return filtered_record
def read_json_records(data_dir, return_batches):
for file... | 29.670588 | 107 | 0.649088 | 295 | 2,522 | 5.271186 | 0.189831 | 0.117042 | 0.038585 | 0.056592 | 0.803859 | 0.803859 | 0.803859 | 0.803859 | 0.803859 | 0.75627 | 0 | 0.003277 | 0.273989 | 2,522 | 84 | 108 | 30.02381 | 0.845986 | 0 | 0 | 0.650794 | 0 | 0 | 0.018239 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079365 | false | 0 | 0.079365 | 0 | 0.206349 | 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 |
e56b89249e0083cb38deda2e90d753a3674b6095 | 72 | py | Python | lock.py | trrevvorr/DIY-Smart-Door-Lock | 7ca7a219c6e8e840672a4640568420ae700b42c3 | [
"MIT"
] | null | null | null | lock.py | trrevvorr/DIY-Smart-Door-Lock | 7ca7a219c6e8e840672a4640568420ae700b42c3 | [
"MIT"
] | null | null | null | lock.py | trrevvorr/DIY-Smart-Door-Lock | 7ca7a219c6e8e840672a4640568420ae700b42c3 | [
"MIT"
] | null | null | null | import _control_lock
import commands
_control_lock.main(commands.LOCK)
| 14.4 | 33 | 0.861111 | 10 | 72 | 5.8 | 0.5 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 72 | 4 | 34 | 18 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e59170bcc4140861b196bd7a1b666db8d166d648 | 13,107 | py | Python | tests/dhcpv4/kea_only/test_all_hooks.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | tests/dhcpv4/kea_only/test_all_hooks.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | tests/dhcpv4/kea_only/test_all_hooks.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | """Kea All Hooks"""
# pylint: disable=invalid-name,line-too-long
import pytest
import misc
import srv_msg
import srv_control
from forge_cfg import world
@pytest.mark.v4
@pytest.mark.hook
def test_v4_all_hooks_start():
misc.test_setup()
srv_control.config_srv_subnet('192.168.50.0/24', '192.168.50.1-192.168... | 53.938272 | 213 | 0.701534 | 1,834 | 13,107 | 4.829335 | 0.133588 | 0.088179 | 0.110647 | 0.181777 | 0.842046 | 0.826578 | 0.808739 | 0.762561 | 0.49746 | 0.342441 | 0 | 0.043241 | 0.190127 | 13,107 | 242 | 214 | 54.161157 | 0.791145 | 0.450065 | 0 | 0.675926 | 0 | 0.046296 | 0.2895 | 0.067935 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018519 | true | 0.027778 | 0.046296 | 0 | 0.064815 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e5a018750885efec48c946d42be486b85b3b5d94 | 37 | py | Python | src/masonite/api/providers/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 1,816 | 2018-02-14T01:59:51.000Z | 2022-03-31T17:09:20.000Z | src/masonite/api/providers/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 340 | 2018-02-11T00:27:26.000Z | 2022-03-21T12:00:24.000Z | src/masonite/api/providers/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 144 | 2018-03-18T00:08:16.000Z | 2022-02-26T01:51:58.000Z | from .ApiProvider import ApiProvider
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 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 |
f925c770142673d04f2487c5ac0364c650132300 | 36,002 | py | Python | river/tests/tmigrations/test__migrations.py | JohnieBraaf/django-river | 58f49624c37e1e5d1bdb4c7680810126454e36a6 | [
"BSD-3-Clause"
] | 705 | 2015-07-23T16:09:06.000Z | 2022-03-05T03:52:31.000Z | river/tests/tmigrations/test__migrations.py | JohnieBraaf/django-river | 58f49624c37e1e5d1bdb4c7680810126454e36a6 | [
"BSD-3-Clause"
] | 188 | 2015-08-28T21:58:38.000Z | 2021-12-15T06:39:37.000Z | river/tests/tmigrations/test__migrations.py | JohnieBraaf/django-river | 58f49624c37e1e5d1bdb4c7680810126454e36a6 | [
"BSD-3-Clause"
] | 101 | 2015-08-30T04:22:57.000Z | 2022-03-29T06:58:20.000Z | import os
import sys
from datetime import datetime, timedelta
from unittest import skipUnless, skip
from uuid import uuid4
import django
import six
from django.contrib.contenttypes.models import ContentType
from django.db import connection
from django.test.utils import override_settings
from hamcrest import assert_tha... | 45.572152 | 150 | 0.663158 | 4,011 | 36,002 | 5.65819 | 0.064323 | 0.057722 | 0.064155 | 0.068649 | 0.85098 | 0.83644 | 0.823265 | 0.812602 | 0.783477 | 0.751707 | 0 | 0.015618 | 0.233487 | 36,002 | 789 | 151 | 45.629911 | 0.806784 | 0.006583 | 0 | 0.682889 | 0 | 0 | 0.136322 | 0.044964 | 0 | 0 | 0 | 0 | 0.205651 | 1 | 0.018838 | false | 0 | 0.034537 | 0 | 0.058085 | 0.00157 | 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 |
00575a411afa47b0397c40345a611f33ac74445d | 85 | py | Python | 2019/07/23/Solutions/WillDaSilva/solution.py | WillDaSilva/daily-questions | 6e86b3f625df5c60d9a57f1694fafdd24c4ff2c4 | [
"MIT"
] | null | null | null | 2019/07/23/Solutions/WillDaSilva/solution.py | WillDaSilva/daily-questions | 6e86b3f625df5c60d9a57f1694fafdd24c4ff2c4 | [
"MIT"
] | null | null | null | 2019/07/23/Solutions/WillDaSilva/solution.py | WillDaSilva/daily-questions | 6e86b3f625df5c60d9a57f1694fafdd24c4ff2c4 | [
"MIT"
] | null | null | null | import itertools as it
def chunkify(a, k):
return it.zip_longest(*[iter(a)]*k)
| 14.166667 | 39 | 0.670588 | 15 | 85 | 3.733333 | 0.8 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 40 | 17 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
009e41cf9acd0e0775c3308a3217919541889310 | 2,460 | py | Python | profiling/test/test_company.py | PHFeres/sexta-do-python | b00545652e5c2a889aa6596e3000bde2e2e2e543 | [
"MIT"
] | 5 | 2021-04-16T19:13:28.000Z | 2022-03-10T18:54:37.000Z | profiling/test/test_company.py | PHFeres/sexta-do-python | b00545652e5c2a889aa6596e3000bde2e2e2e543 | [
"MIT"
] | null | null | null | profiling/test/test_company.py | PHFeres/sexta-do-python | b00545652e5c2a889aa6596e3000bde2e2e2e543 | [
"MIT"
] | 4 | 2021-04-16T17:55:39.000Z | 2021-09-23T21:26:01.000Z | """
Test Company
"""
import pytest
import cProfile
import io
import pstats
from pstats import SortKey
from profiling.company.company import Company
Enacom = Company(num_representatives=10,
range_and_commission_rate=[(0.9, 2), (.99, 3), (1, 4)])
@pytest.mark.parametrize("method", [Enacom.financial_pr... | 40.327869 | 72 | 0.618293 | 257 | 2,460 | 5.540856 | 0.210117 | 0.162219 | 0.164326 | 0.09691 | 0.839888 | 0.839888 | 0.839888 | 0.839888 | 0.839888 | 0.839888 | 0 | 0.056186 | 0.28374 | 2,460 | 60 | 73 | 41 | 0.751986 | 0.004878 | 0 | 0.66 | 0 | 0 | 0.04918 | 0 | 0 | 0 | 0 | 0 | 0.06 | 1 | 0.06 | false | 0 | 0.12 | 0 | 0.18 | 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 |
00a7123bcd523b63b3de6d4650cf03637cb49ae2 | 228 | py | Python | kanga/stats/mc_cor.py | kushagragpt99/kanga | 1f2343d15965148ae7c1dea95168c31a87b27c4f | [
"MIT"
] | 1 | 2022-02-03T08:50:35.000Z | 2022-02-03T08:50:35.000Z | kanga/stats/mc_cor.py | kushagragpt99/kanga | 1f2343d15965148ae7c1dea95168c31a87b27c4f | [
"MIT"
] | null | null | null | kanga/stats/mc_cor.py | kushagragpt99/kanga | 1f2343d15965148ae7c1dea95168c31a87b27c4f | [
"MIT"
] | null | null | null | from .cor_from_cov import cor_from_cov
from .mc_cov import mc_cov
def mc_cor(x, method='inse', adjust=False, b=None, r=3, rowvar=False):
return cor_from_cov(mc_cov(x, method=method, adjust=adjust, b=b, r=r, rowvar=rowvar))
| 38 | 89 | 0.745614 | 45 | 228 | 3.555556 | 0.377778 | 0.13125 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004975 | 0.118421 | 228 | 5 | 90 | 45.6 | 0.791045 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
00c6258c4ac79f2e0b3360d90a83ea4f6973627f | 204 | py | Python | cms/order_manager/admin.py | egineering-llc/egat_example_project | 3480f31cb31f77bf8bcc837f527d0ceef05a7281 | [
"MIT"
] | 4 | 2015-05-01T20:28:58.000Z | 2019-02-09T15:51:58.000Z | cms/order_manager/admin.py | egineering-llc/egat_example_project | 3480f31cb31f77bf8bcc837f527d0ceef05a7281 | [
"MIT"
] | 2 | 2020-06-05T17:00:53.000Z | 2021-06-10T17:44:32.000Z | cms/order_manager/admin.py | egineering-llc/egat_example_project | 3480f31cb31f77bf8bcc837f527d0ceef05a7281 | [
"MIT"
] | 3 | 2015-08-31T17:04:31.000Z | 2019-02-09T12:47:17.000Z | from django.contrib import admin
from .models import Customer, Product, Order, Payment
admin.site.register(Customer)
admin.site.register(Product)
admin.site.register(Order)
admin.site.register(Payment)
| 22.666667 | 53 | 0.813725 | 28 | 204 | 5.928571 | 0.428571 | 0.216867 | 0.409639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 204 | 8 | 54 | 25.5 | 0.887701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
daab88d88e438c2ab0404d95719767408ccc7e41 | 263 | py | Python | dialogentail/util/rand.py | nouhadziri/DialogEntailment | d97de21f5d6dd044db7bb35fe64cce4ed824b1b8 | [
"MIT"
] | 56 | 2019-04-15T04:37:47.000Z | 2022-03-24T12:07:42.000Z | dialogentail/util/rand.py | nouhadziri/DialogEntailment | d97de21f5d6dd044db7bb35fe64cce4ed824b1b8 | [
"MIT"
] | 5 | 2019-09-04T08:57:58.000Z | 2021-08-25T02:48:12.000Z | dialogentail/util/rand.py | nouhadziri/DialogEntailment | d97de21f5d6dd044db7bb35fe64cce4ed824b1b8 | [
"MIT"
] | 5 | 2019-04-24T08:23:04.000Z | 2021-07-25T20:38:13.000Z | import string
import random
def generate_random_string(length=10):
return "".join(random.choice(string.ascii_lowercase) for _ in range(length))
def generate_random_digits(length=10):
return "".join(random.choice(string.digits) for _ in range(length))
| 23.909091 | 80 | 0.764259 | 37 | 263 | 5.243243 | 0.432432 | 0.113402 | 0.175258 | 0.185567 | 0.371134 | 0.371134 | 0.371134 | 0 | 0 | 0 | 0 | 0.017316 | 0.121673 | 263 | 10 | 81 | 26.3 | 0.822511 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
dab357faa818bc2887799c3334d4aaa407cc6c69 | 156 | py | Python | autogl/module/nas/__init__.py | dedsec-9/AutoGL | 487f2b2f798b9b1363ad5dc100fb410b12222e06 | [
"MIT"
] | 824 | 2020-11-30T14:38:07.000Z | 2022-03-19T10:14:04.000Z | autogl/module/nas/__init__.py | dedsec-9/AutoGL | 487f2b2f798b9b1363ad5dc100fb410b12222e06 | [
"MIT"
] | 38 | 2020-12-21T12:32:57.000Z | 2022-01-31T02:32:05.000Z | autogl/module/nas/__init__.py | dedsec-9/AutoGL | 487f2b2f798b9b1363ad5dc100fb410b12222e06 | [
"MIT"
] | 85 | 2020-12-21T05:16:09.000Z | 2022-03-28T08:44:22.000Z | from . import algorithm, estimator, space
from .algorithm import NAS_ALGO_DICT
from .estimator import NAS_ESTIMATOR_DICT
from .space import NAS_SPACE_DICT
| 26 | 41 | 0.839744 | 23 | 156 | 5.434783 | 0.347826 | 0.216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121795 | 156 | 5 | 42 | 31.2 | 0.912409 | 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 |
daca58ef095eaac857ae4488433f2963a9af0a8f | 177 | py | Python | source/Calamari.Tests/Fixtures/Python/Scripts/proxy.py | WS-QA/Calamari | de3c85fa3a087b5ced1e75e09d5c6a40fab1f2a6 | [
"Apache-2.0"
] | null | null | null | source/Calamari.Tests/Fixtures/Python/Scripts/proxy.py | WS-QA/Calamari | de3c85fa3a087b5ced1e75e09d5c6a40fab1f2a6 | [
"Apache-2.0"
] | null | null | null | source/Calamari.Tests/Fixtures/Python/Scripts/proxy.py | WS-QA/Calamari | de3c85fa3a087b5ced1e75e09d5c6a40fab1f2a6 | [
"Apache-2.0"
] | null | null | null | import os
print('HTTP_PROXY:' + os.environ.get('HTTP_PROXY', ''))
print('HTTPS_PROXY:' + os.environ.get('HTTPS_PROXY', ''))
print('NO_PROXY:' + os.environ.get('NO_PROXY', ''))
| 29.5 | 57 | 0.661017 | 26 | 177 | 4.269231 | 0.346154 | 0.189189 | 0.378378 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 177 | 5 | 58 | 35.4 | 0.685185 | 0 | 0 | 0 | 0 | 0 | 0.344633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
dacf7bcfe414bd3565c985404d8d618d3c8ed528 | 2,460 | py | Python | foolbox/tests/test_batching.py | mkyybx/foolbox | 00b2dcc5ed30b12f28431e9dabe4d2bbc214d444 | [
"MIT"
] | 3 | 2021-12-25T02:29:24.000Z | 2022-02-22T02:12:30.000Z | foolbox/tests/test_batching.py | pige2nd/foolbox | 2daabba8355afce9dfbec3de8d71dadadcfbd10b | [
"MIT"
] | null | null | null | foolbox/tests/test_batching.py | pige2nd/foolbox | 2daabba8355afce9dfbec3de8d71dadadcfbd10b | [
"MIT"
] | 2 | 2020-11-27T00:03:48.000Z | 2020-11-27T00:08:04.000Z | import numpy as np
import pytest
from foolbox.batch_attacks import GradientAttack as Attack
from foolbox import run_parallel
from foolbox import run_sequential
from foolbox.distances import MSE
def test_run_parallel(bn_model, bn_criterion, bn_images, bn_labels):
attack = Attack(bn_model, bn_criterion)
advs1... | 33.69863 | 80 | 0.677236 | 317 | 2,460 | 4.955836 | 0.14511 | 0.091661 | 0.068746 | 0.137492 | 0.859325 | 0.859325 | 0.859325 | 0.859325 | 0.859325 | 0.847868 | 0 | 0.009667 | 0.243089 | 2,460 | 72 | 81 | 34.166667 | 0.834049 | 0.054065 | 0 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 1 | 0.086957 | false | 0 | 0.130435 | 0 | 0.217391 | 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 |
970bbb4111f30572537c4f9d651cd160d992abb1 | 100 | py | Python | rasotools/bp/__init__.py | MBlaschek/rasotools | a8b954518a1e39b554f850aac0f5bd8fa1f23dc6 | [
"MIT"
] | 1 | 2019-10-06T22:26:43.000Z | 2019-10-06T22:26:43.000Z | rasotools/bp/__init__.py | MBlaschek/rasotools | a8b954518a1e39b554f850aac0f5bd8fa1f23dc6 | [
"MIT"
] | null | null | null | rasotools/bp/__init__.py | MBlaschek/rasotools | a8b954518a1e39b554f850aac0f5bd8fa1f23dc6 | [
"MIT"
] | 1 | 2020-04-19T13:47:52.000Z | 2020-04-19T13:47:52.000Z | from . import det
from . import dep
from . import adj
from . import meta
from .__wrapper__ import *
| 16.666667 | 26 | 0.74 | 15 | 100 | 4.666667 | 0.466667 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 100 | 5 | 27 | 20 | 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 |
9794f6c221e751d3e10aeea2c3803ffc9eb604cd | 173 | py | Python | ask-sdk-local-debug/ask_sdk_local_debug/config/region.py | nikhilym/alexa-skills-kit-sdk-for-python | 3972b9b8fd0e871e33e5ab8432f11c52265cdf22 | [
"Apache-2.0"
] | 496 | 2018-09-19T19:50:11.000Z | 2022-03-26T13:32:43.000Z | ask-sdk-local-debug/ask_sdk_local_debug/config/region.py | nikhilym/alexa-skills-kit-sdk-for-python | 3972b9b8fd0e871e33e5ab8432f11c52265cdf22 | [
"Apache-2.0"
] | 112 | 2018-09-18T18:55:43.000Z | 2022-03-31T22:58:40.000Z | ask-sdk-local-debug/ask_sdk_local_debug/config/region.py | nikhilym/alexa-skills-kit-sdk-for-python | 3972b9b8fd0e871e33e5ab8432f11c52265cdf22 | [
"Apache-2.0"
] | 220 | 2018-09-18T18:53:15.000Z | 2022-02-22T22:56:44.000Z | from enum import Enum
class Region(Enum):
NA = 'bob-dispatch-prod-na.amazon.com'
FE = 'bob-dispatch-prod-fe.amazon.com'
EU = 'bob-dispatch-prod-eu.amazon.com'
| 21.625 | 42 | 0.676301 | 28 | 173 | 4.178571 | 0.464286 | 0.282051 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16763 | 173 | 7 | 43 | 24.714286 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.537572 | 0.537572 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
8ae038129ced844a969fa1330dca7e928fa3edf2 | 95 | py | Python | gobigger/hyper/__init__.py | jayyoung0802/GoBigger | f7cf14ee4208e041295035342ecee70026f268d9 | [
"Apache-2.0"
] | 189 | 2021-10-08T07:55:10.000Z | 2022-03-31T23:49:43.000Z | gobigger/hyper/__init__.py | jayyoung0802/GoBigger | f7cf14ee4208e041295035342ecee70026f268d9 | [
"Apache-2.0"
] | 25 | 2021-11-01T06:59:30.000Z | 2022-03-22T11:22:27.000Z | gobigger/hyper/__init__.py | jayyoung0802/GoBigger | f7cf14ee4208e041295035342ecee70026f268d9 | [
"Apache-2.0"
] | 28 | 2021-10-14T12:23:14.000Z | 2022-03-31T23:49:45.000Z | from .actions import StraightMergeHyperAction, QuarterMergeHyperAction, EighthMergeHyperAction
| 47.5 | 94 | 0.905263 | 6 | 95 | 14.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063158 | 95 | 1 | 95 | 95 | 0.966292 | 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 |
c17b3f31cff0d31556628fbd40cd8197e0f70233 | 92 | py | Python | src/vak_test_net/network.py | NickleDave/songdeck_test_net | 377db95e2b689ca506291e686c5ccfc0e515bb48 | [
"BSD-3-Clause"
] | null | null | null | src/vak_test_net/network.py | NickleDave/songdeck_test_net | 377db95e2b689ca506291e686c5ccfc0e515bb48 | [
"BSD-3-Clause"
] | null | null | null | src/vak_test_net/network.py | NickleDave/songdeck_test_net | 377db95e2b689ca506291e686c5ccfc0e515bb48 | [
"BSD-3-Clause"
] | null | null | null | from vak.network import AbstractVakNetwork
class VakTestNet(AbstractVakNetwork):
pass
| 15.333333 | 42 | 0.815217 | 9 | 92 | 8.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 5 | 43 | 18.4 | 0.949367 | 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 |
c19d43d18cc6bfd96bea90629a0456202cd570b5 | 213 | py | Python | rhea/system/stream/__init__.py | meetps/rhea | f8a9a08fb5e14c5c4488ef68a2dff4d18222c2c0 | [
"MIT"
] | 1 | 2022-03-16T23:56:09.000Z | 2022-03-16T23:56:09.000Z | rhea/system/stream/__init__.py | meetps/rhea | f8a9a08fb5e14c5c4488ef68a2dff4d18222c2c0 | [
"MIT"
] | null | null | null | rhea/system/stream/__init__.py | meetps/rhea | f8a9a08fb5e14c5c4488ef68a2dff4d18222c2c0 | [
"MIT"
] | null | null | null |
from __future__ import absolute_import
from .streamers import Streamers
from .fifobus import FIFOBus
from .axi4st import AXI4StreamLite
from .axi4st import AXI4StreamLitePort
from .avalonst import AvalonStream
| 21.3 | 38 | 0.849765 | 25 | 213 | 7.04 | 0.44 | 0.113636 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.126761 | 213 | 9 | 39 | 23.666667 | 0.924731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
de06fb6c5ef911fbe8a348d04feb19aa766b79d8 | 61 | py | Python | rllab/envs/box2d/parser/__init__.py | RussellM2020/maml_gps | 631560dfd4e23dc2da9bfbbd2e3c5252aa9775c5 | [
"MIT"
] | 1,838 | 2017-08-10T04:19:28.000Z | 2022-03-29T07:41:19.000Z | rllab/envs/box2d/parser/__init__.py | RussellM2020/maml_gps | 631560dfd4e23dc2da9bfbbd2e3c5252aa9775c5 | [
"MIT"
] | 120 | 2016-10-05T09:16:16.000Z | 2017-07-27T22:57:31.000Z | rllab/envs/box2d/parser/__init__.py | RussellM2020/maml_gps | 631560dfd4e23dc2da9bfbbd2e3c5252aa9775c5 | [
"MIT"
] | 498 | 2017-08-16T03:34:28.000Z | 2022-03-31T04:41:32.000Z | from .xml_box2d import world_from_xml, find_body, find_joint
| 30.5 | 60 | 0.852459 | 11 | 61 | 4.272727 | 0.727273 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.098361 | 61 | 1 | 61 | 61 | 0.836364 | 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 |
de1591a2f189036b901f2843ae869ec8189e0b90 | 220 | py | Python | klufweb/feed/admin.py | mseln/klufweb | a785d44415fde933723220fab7f18f2ae4fd748d | [
"Apache-2.0"
] | null | null | null | klufweb/feed/admin.py | mseln/klufweb | a785d44415fde933723220fab7f18f2ae4fd748d | [
"Apache-2.0"
] | 5 | 2015-05-22T12:05:54.000Z | 2015-05-22T12:09:06.000Z | klufweb/feed/admin.py | mseln/klufweb | a785d44415fde933723220fab7f18f2ae4fd748d | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from feed.models import NewsArticle, NewsArticleAdmin
from feed.models import Event, EventAdmin
admin.site.register(NewsArticle, NewsArticleAdmin)
admin.site.register(Event, EventAdmin)
| 31.428571 | 53 | 0.845455 | 27 | 220 | 6.888889 | 0.481481 | 0.086022 | 0.150538 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086364 | 220 | 6 | 54 | 36.666667 | 0.925373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a9b720878007035aeafb800b3720e819c8f8707c | 179 | py | Python | src/layers/__init__.py | biggs/tensor-trickle | 1c222c71b4611f805aeac5341fd7eb5bf80cc020 | [
"MIT"
] | 3 | 2019-03-07T20:13:57.000Z | 2019-03-13T00:21:41.000Z | src/layers/__init__.py | biggs/toy-dl-lib | 1c222c71b4611f805aeac5341fd7eb5bf80cc020 | [
"MIT"
] | null | null | null | src/layers/__init__.py | biggs/toy-dl-lib | 1c222c71b4611f805aeac5341fd7eb5bf80cc020 | [
"MIT"
] | null | null | null | from src.layers.dense import DenseLayer
from src.layers.flatten import FlattenLayer
from src.layers.pooling import MaxPoolLayer
from src.layers.convolve import ConvolutionalLayer
| 35.8 | 50 | 0.865922 | 24 | 179 | 6.458333 | 0.5 | 0.180645 | 0.335484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089385 | 179 | 4 | 51 | 44.75 | 0.95092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a9ebf717d7cdf65727726288fd5fb52c007d5eb3 | 97 | py | Python | bandwidth_old/messaging/__init__.py | katapal/python-bandwidth | 4477c4129ce856ccd41adbc94e951336b56d7898 | [
"MIT"
] | 18 | 2017-03-07T18:49:19.000Z | 2020-11-04T14:27:37.000Z | bandwidth_old/messaging/__init__.py | katapal/python-bandwidth | 4477c4129ce856ccd41adbc94e951336b56d7898 | [
"MIT"
] | 12 | 2016-11-14T21:43:46.000Z | 2019-10-11T20:18:51.000Z | bandwidth_old/messaging/__init__.py | katapal/python-bandwidth | 4477c4129ce856ccd41adbc94e951336b56d7898 | [
"MIT"
] | 13 | 2017-10-10T17:50:00.000Z | 2020-08-13T13:14:22.000Z | from .client_module import Client
from .api_exception_module import BandwidthMessageAPIException
| 32.333333 | 62 | 0.896907 | 11 | 97 | 7.636364 | 0.636364 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 97 | 2 | 63 | 48.5 | 0.94382 | 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 |
e714bef92f22534d11c7ff26d895e903e4e1373e | 44 | py | Python | projects/python/import/b/index.py | SunDawning/sundawning.github.io | ac70ed49c41cb544f1c49e4217808acb7373ca47 | [
"MIT"
] | null | null | null | projects/python/import/b/index.py | SunDawning/sundawning.github.io | ac70ed49c41cb544f1c49e4217808acb7373ca47 | [
"MIT"
] | 20 | 2017-03-28T11:42:51.000Z | 2017-09-29T13:15:31.000Z | projects/python/import/b/index.py | SunDawning/sundawning.github.io | ac70ed49c41cb544f1c49e4217808acb7373ca47 | [
"MIT"
] | null | null | null | def fromB():
print("from b")
return
| 11 | 19 | 0.545455 | 6 | 44 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.295455 | 44 | 3 | 20 | 14.666667 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.666667 | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e73aba45b58e40efdeef0f856ce24429b4e58564 | 542 | py | Python | pyNastran/gui/menus/dev/plotter.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 293 | 2015-03-22T20:22:01.000Z | 2022-03-14T20:28:24.000Z | pyNastran/gui/menus/dev/plotter.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 512 | 2015-03-14T18:39:27.000Z | 2022-03-31T16:15:43.000Z | pyNastran/gui/menus/dev/plotter.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 136 | 2015-03-19T03:26:06.000Z | 2022-03-25T22:14:54.000Z | class Plotter:
"""
+---------+
| Plotter |
+---------+---------------------+
| Toolbar |
+------------------------+------+
| Title | |
| | |
| sub1 | |
| | |... | 28.526316 | 37 | 0.140221 | 14 | 542 | 5.142857 | 0.714286 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.642066 | 542 | 18 | 38 | 30.111111 | 0.360825 | 0.732472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e7495cbc284d00cf8415b68b433b2d47e9e7a440 | 126,101 | py | Python | Notebooks/covid-19-caution/model_fits_age.py | ProtoLife/covid-recovery | b3989f110c6961cc51da673fc33c6384cf7d6de6 | [
"MIT"
] | null | null | null | Notebooks/covid-19-caution/model_fits_age.py | ProtoLife/covid-recovery | b3989f110c6961cc51da673fc33c6384cf7d6de6 | [
"MIT"
] | 1 | 2020-05-24T00:06:54.000Z | 2020-05-25T19:59:44.000Z | Notebooks/covid-19-caution/model_fits_age.py | ProtoLife/covid-recovery | b3989f110c6961cc51da673fc33c6384cf7d6de6 | [
"MIT"
] | null | null | null | #
# 1. 1.9.2020 Managed to convert ODE models for economic extension to transition model ready for stochastic simulation, using separate birth death list
# See section on SC2UIR model. Not done for other two economic extensions yet
# 2. 1.9.2020 Implemented stochastic simulation (Tau-leap method) using PyG... | 57.423042 | 196 | 0.577347 | 18,155 | 126,101 | 3.811622 | 0.0374 | 0.013728 | 0.011965 | 0.073338 | 0.819133 | 0.806387 | 0.795607 | 0.784725 | 0.774451 | 0.767832 | 0 | 0.058653 | 0.262329 | 126,101 | 2,195 | 197 | 57.449203 | 0.685222 | 0.114829 | 0 | 0.646537 | 0 | 0.016066 | 0.121405 | 0.025633 | 0.003324 | 0 | 0 | 0 | 0 | 1 | 0.012742 | false | 0 | 0.014958 | 0 | 0.054848 | 0.019391 | 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 |
e753a9484e4bbaacae563b7a695cb6de4e3b06fe | 36 | py | Python | iris_emotion/__init__.py | Anjanaval/IRIS-Emotion | 0bedba75ec0c289bc698f811dfc03c4116629bc1 | [
"MIT"
] | null | null | null | iris_emotion/__init__.py | Anjanaval/IRIS-Emotion | 0bedba75ec0c289bc698f811dfc03c4116629bc1 | [
"MIT"
] | null | null | null | iris_emotion/__init__.py | Anjanaval/IRIS-Emotion | 0bedba75ec0c289bc698f811dfc03c4116629bc1 | [
"MIT"
] | null | null | null | from iris_emotion.SA_API import IRIS | 36 | 36 | 0.888889 | 7 | 36 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.909091 | 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 |
e79c26b4526b2e45684e71b7acaba28306e2de39 | 230 | py | Python | jupyterlab_black/__init__.py | ryantam626/jupyterlab_black | c83cbf8ae94c05253f21cec17b10e36e27adf106 | [
"MIT"
] | 42 | 2018-07-19T02:10:17.000Z | 2022-02-05T17:41:59.000Z | jupyterlab_black/__init__.py | ryantam626/jupyterlab_black | c83cbf8ae94c05253f21cec17b10e36e27adf106 | [
"MIT"
] | 15 | 2018-07-18T23:00:08.000Z | 2019-08-27T17:55:09.000Z | jupyterlab_black/__init__.py | ryantam626/jupyterlab_black | c83cbf8ae94c05253f21cec17b10e36e27adf106 | [
"MIT"
] | 3 | 2018-08-04T21:00:48.000Z | 2021-12-26T17:50:37.000Z | from jupyterlab_black.handlers import setup_handlers
def _jupyter_server_extension_paths():
return [{'module': 'jupyterlab_black'}]
def load_jupyter_server_extension(notebook_app):
setup_handlers(notebook_app.web_app)
| 23 | 52 | 0.813043 | 29 | 230 | 5.965517 | 0.586207 | 0.17341 | 0.254335 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 230 | 9 | 53 | 25.555556 | 0.839806 | 0 | 0 | 0 | 0 | 0 | 0.095652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e7daba59863def0fcadc9563eee5081e08e4ca42 | 15,309 | py | Python | cryptohelp/ssl.py | ccxtechnologies/cryptohelp | dcf273776f734de2fd684c81f72ad281f3157267 | [
"MIT"
] | null | null | null | cryptohelp/ssl.py | ccxtechnologies/cryptohelp | dcf273776f734de2fd684c81f72ad281f3157267 | [
"MIT"
] | null | null | null | cryptohelp/ssl.py | ccxtechnologies/cryptohelp | dcf273776f734de2fd684c81f72ad281f3157267 | [
"MIT"
] | null | null | null | # Copyright: 2018, CCX Technologies
import os
import typing
import ipaddress
import datetime
from cryptography.hazmat.primitives.asymmetric import rsa
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives import serialization
from cryptography import x509
from cryptography.x509.... | 33.498906 | 79 | 0.616761 | 1,664 | 15,309 | 5.45012 | 0.102764 | 0.05403 | 0.016871 | 0.022494 | 0.829088 | 0.803286 | 0.773404 | 0.765024 | 0.741978 | 0.735031 | 0 | 0.019684 | 0.306421 | 15,309 | 456 | 80 | 33.572368 | 0.834432 | 0.221765 | 0 | 0.64918 | 0 | 0 | 0.013752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016393 | false | 0.045902 | 0.032787 | 0 | 0.04918 | 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 |
99b33081fb1afd36cc5475318f604e99985ac456 | 8,521 | py | Python | userbot/plugins/gmute.py | indianSammy07/Wolfuserbots | 9c56dde1f81cec9eb4dd85a369f3a1f8b99f0763 | [
"MIT"
] | 1 | 2021-07-06T19:12:56.000Z | 2021-07-06T19:12:56.000Z | userbot/plugins/gmute.py | indianSammy07/Wolfuserbots | 9c56dde1f81cec9eb4dd85a369f3a1f8b99f0763 | [
"MIT"
] | null | null | null | userbot/plugins/gmute.py | indianSammy07/Wolfuserbots | 9c56dde1f81cec9eb4dd85a369f3a1f8b99f0763 | [
"MIT"
] | 1 | 2021-07-06T19:12:57.000Z | 2021-07-06T19:12:57.000Z | from userbot import CMD_HELP
from userbot.uniborgConfig import Config
from telethon.tl.functions.users import GetFullUserRequest
from userbot.plugins.sql_helper.mute_sql import is_muted, mute, unmute
import asyncio
from userbot.utils import sudo_cmd
BOTLOG = True
BOTLOG_CHATID = Config.PRIVATE_GROUP_BOT_API_ID
@comm... | 44.380208 | 115 | 0.571999 | 983 | 8,521 | 4.867752 | 0.206511 | 0.073145 | 0.027586 | 0.036782 | 0.839916 | 0.8372 | 0.817764 | 0.817764 | 0.80627 | 0.80627 | 0 | 0.00539 | 0.303251 | 8,521 | 191 | 116 | 44.612565 | 0.800573 | 0 | 0 | 0.677966 | 0 | 0 | 0.262645 | 0.044126 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033898 | 0 | 0.112994 | 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 |
99b70ee0bdaeaebbf25969c380c550eabd28d763 | 23 | py | Python | wsgi.py | hamzaalalach/Test-mini-dataguru | 68ee3808ce27c0424b5524c210a114119d76ec50 | [
"MIT"
] | null | null | null | wsgi.py | hamzaalalach/Test-mini-dataguru | 68ee3808ce27c0424b5524c210a114119d76ec50 | [
"MIT"
] | 1 | 2021-04-30T21:15:28.000Z | 2021-04-30T21:15:28.000Z | wsgi.py | hamzaalalach/casting-cap-api | 670132dd6862742bd3bcf87b2b07aa1af5c2238b | [
"MIT"
] | null | null | null | from src.app import app | 23 | 23 | 0.826087 | 5 | 23 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.95 | 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 |
82270f0323bac89712516b11193942aa2204d12e | 28 | py | Python | damCalculator/analysis/__init__.py | YingnanXuUCB/damCalculator | c2c7d1b57d87033f41e24fad1cececd96ec7c388 | [
"MIT"
] | null | null | null | damCalculator/analysis/__init__.py | YingnanXuUCB/damCalculator | c2c7d1b57d87033f41e24fad1cececd96ec7c388 | [
"MIT"
] | null | null | null | damCalculator/analysis/__init__.py | YingnanXuUCB/damCalculator | c2c7d1b57d87033f41e24fad1cececd96ec7c388 | [
"MIT"
] | null | null | null | from .safetyFactors import * | 28 | 28 | 0.821429 | 3 | 28 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
823c1f620e66f9d3895e2bd6e6d9a919334b331e | 29 | py | Python | projects/thesis/continuous/custom/continuous/skeleton_conv/__init__.py | cpark90/rrrcnn | ba66cc391265be76fa3896b66459ff7241b47972 | [
"Apache-2.0"
] | null | null | null | projects/thesis/continuous/custom/continuous/skeleton_conv/__init__.py | cpark90/rrrcnn | ba66cc391265be76fa3896b66459ff7241b47972 | [
"Apache-2.0"
] | null | null | null | projects/thesis/continuous/custom/continuous/skeleton_conv/__init__.py | cpark90/rrrcnn | ba66cc391265be76fa3896b66459ff7241b47972 | [
"Apache-2.0"
] | null | null | null | from .skeleton_conv import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 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 |
414a3d5569f4e012caa1bb2127f3ffa6e520656a | 53 | py | Python | smbop/utils/__init__.py | nhsjgczryf/SmBop | c3e4e962249f9bba1b1d76ed18de7cabbb133d9f | [
"MIT"
] | 100 | 2021-03-31T07:27:40.000Z | 2022-03-04T08:12:49.000Z | smbop/utils/__init__.py | nhsjgczryf/SmBop | c3e4e962249f9bba1b1d76ed18de7cabbb133d9f | [
"MIT"
] | 42 | 2021-04-22T04:00:26.000Z | 2021-12-29T06:53:22.000Z | smbop/utils/__init__.py | nhsjgczryf/SmBop | c3e4e962249f9bba1b1d76ed18de7cabbb133d9f | [
"MIT"
] | 29 | 2021-04-20T00:42:00.000Z | 2022-02-16T10:06:33.000Z | from . import node_util
from . import moz_sql_parser
| 17.666667 | 28 | 0.811321 | 9 | 53 | 4.444444 | 0.777778 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 53 | 2 | 29 | 26.5 | 0.888889 | 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 |
416971e628f93b28b9e3e926620dc7f5bbb665f3 | 74 | py | Python | system_info/__init__.py | eonun/WebRange | 9504975dd0c212d21d5b7ffd2114f1c068fbcc59 | [
"Apache-2.0"
] | 99 | 2018-08-04T12:08:19.000Z | 2021-11-07T08:49:24.000Z | system_info/__init__.py | eonun/WebRange | 9504975dd0c212d21d5b7ffd2114f1c068fbcc59 | [
"Apache-2.0"
] | null | null | null | system_info/__init__.py | eonun/WebRange | 9504975dd0c212d21d5b7ffd2114f1c068fbcc59 | [
"Apache-2.0"
] | 25 | 2018-04-26T02:14:28.000Z | 2021-12-22T08:39:22.000Z | #! coding=utf-8
from system_info.get_sysinfo import Start_Get_Sysinfo
| 10.571429 | 53 | 0.797297 | 12 | 74 | 4.583333 | 0.833333 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.135135 | 74 | 6 | 54 | 12.333333 | 0.84375 | 0.189189 | 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 |
41b2a3d73fd7f4e6e5ec1221548079c342a75483 | 46 | py | Python | tests/viewsets/preview/__init__.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 2 | 2020-03-17T00:53:23.000Z | 2020-07-16T07:00:33.000Z | tests/viewsets/preview/__init__.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 76 | 2019-12-05T01:15:57.000Z | 2021-09-07T16:47:27.000Z | tests/viewsets/preview/__init__.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 1 | 2020-02-05T15:09:47.000Z | 2020-02-05T15:09:47.000Z | from .model_test import ModelTestPreviewConfig | 46 | 46 | 0.913043 | 5 | 46 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.953488 | 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 |
41c8f93e4c0a8c0a5d837e163523eea1b055348d | 26 | py | Python | apps/sales/models.py | DaniFBN/autonomous_chef_back | c16966fe4113106c6738b5ea49519fda4729b88d | [
"MIT"
] | null | null | null | apps/sales/models.py | DaniFBN/autonomous_chef_back | c16966fe4113106c6738b5ea49519fda4729b88d | [
"MIT"
] | null | null | null | apps/sales/models.py | DaniFBN/autonomous_chef_back | c16966fe4113106c6738b5ea49519fda4729b88d | [
"MIT"
] | null | null | null | import apps.sales.classes
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 26 | 1 | 26 | 26 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
ec2ab197c50d0f009dfbb0043d94b9aafcbf781d | 524 | py | Python | corai_error/tests/broken_function.py | Code-Cornelius/python_libraries | 71c388da60e2aeb94369c3813faca93bf6a18ebf | [
"MIT"
] | 1 | 2022-01-01T22:10:04.000Z | 2022-01-01T22:10:04.000Z | corai_error/tests/broken_function.py | Code-Cornelius/python_libraries | 71c388da60e2aeb94369c3813faca93bf6a18ebf | [
"MIT"
] | null | null | null | corai_error/tests/broken_function.py | Code-Cornelius/python_libraries | 71c388da60e2aeb94369c3813faca93bf6a18ebf | [
"MIT"
] | null | null | null | def broken_function_with_message(error):
a_message = ""
try:
raise error("A message ?")
except error as err:
a_message += str(err)
finally:
a_message += "All good"
a_message += "I continue running !"
return a_message
def broken_function_without_message(error):
a_me... | 20.96 | 43 | 0.601145 | 66 | 524 | 4.530303 | 0.318182 | 0.294314 | 0.130435 | 0.133779 | 0.822742 | 0.822742 | 0.822742 | 0.602007 | 0.602007 | 0.602007 | 0 | 0 | 0.301527 | 524 | 24 | 44 | 21.833333 | 0.81694 | 0 | 0 | 0.8 | 0 | 0 | 0.127863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 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 | 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.