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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5a0c958d5cc515dbfd734c91ba9ef93cf6a4ac05 | 144 | py | Python | ejercicios/f20211116/ejercicio_01.py | LMedina96/codo_a_codo_1124_equipo5 | f5de71628e51d71367de533c1455cccbe1099dac | [
"MIT"
] | null | null | null | ejercicios/f20211116/ejercicio_01.py | LMedina96/codo_a_codo_1124_equipo5 | f5de71628e51d71367de533c1455cccbe1099dac | [
"MIT"
] | null | null | null | ejercicios/f20211116/ejercicio_01.py | LMedina96/codo_a_codo_1124_equipo5 | f5de71628e51d71367de533c1455cccbe1099dac | [
"MIT"
] | 4 | 2021-11-17T17:27:45.000Z | 2021-11-17T17:34:21.000Z | #1 - Dado un string, escribir una funcion que cambie todos los espacios por guiones.
def myfunction(string):
return string.replace(' ','-') | 36 | 84 | 0.722222 | 20 | 144 | 5.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.166667 | 144 | 4 | 85 | 36 | 0.858333 | 0.576389 | 0 | 0 | 0 | 0 | 0.032787 | 0 | 0 | 0 | 0 | 0.25 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5a33b77da445b37d2f3701f9f82f188979d67bea | 1,519 | py | Python | moduls/create.py | shehan-9909/TermuxChat | 97e1f94fce34172a0af631976495af6af9991c3a | [
"Apache-2.0"
] | 2 | 2020-08-10T04:48:53.000Z | 2020-09-17T13:48:25.000Z | moduls/create.py | shehan-9909/TermuxChat | 97e1f94fce34172a0af631976495af6af9991c3a | [
"Apache-2.0"
] | null | null | null | moduls/create.py | shehan-9909/TermuxChat | 97e1f94fce34172a0af631976495af6af9991c3a | [
"Apache-2.0"
] | null | null | null | z="
";pz='p 3.';Wz='32m'\''';EBz=' to ';Pz='m'\''';cBz='r ip';fz='pink';WBz='�"';uz='peak';JBz='ibra';Oz='1;31';lBz='at';bz=';34m';jBz='ata0';tz='ts-s';kz='*]in';dBz='$r" ';Iz='n/ba';az='33[1';gBz='nfig';Kz='clea';ZBz='hat ';Jz='sh';UBz='Ip �';Gz='!/us';Nz='033[';CBz='nnec';Qz='rset';YBz='in c';Bz='nano';RBz='ul';MBz='... | 506.333333 | 970 | 0.555629 | 376 | 1,519 | 2.255319 | 0.367021 | 0.033019 | 0.035377 | 0.037736 | 0.127358 | 0.10967 | 0.043632 | 0.043632 | 0 | 0 | 0.002633 | 0.028302 | 0.023041 | 1,519 | 3 | 971 | 506.333333 | 0.539757 | 0 | 0 | 0 | 0 | 0.333333 | 0.841447 | 0.643421 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ce5173e694217772323ba3b15af511b642ec8d24 | 1,225 | py | Python | test/unit/test_util.py | idxn/sublime-robot-framework-assistant | 714143661ca9645daf7f84ebd07330cac303034d | [
"MIT"
] | 103 | 2015-01-12T19:37:40.000Z | 2022-01-08T22:00:30.000Z | test/unit/test_util.py | idxn/sublime-robot-framework-assistant | 714143661ca9645daf7f84ebd07330cac303034d | [
"MIT"
] | 148 | 2015-02-22T16:36:32.000Z | 2020-01-20T11:04:04.000Z | test/unit/test_util.py | idxn/sublime-robot-framework-assistant | 714143661ca9645daf7f84ebd07330cac303034d | [
"MIT"
] | 52 | 2015-02-22T16:41:59.000Z | 2022-01-21T13:20:11.000Z | import unittest
from utils.util import kw_equals_kw_candite
class TestUtil(unittest.TestCase):
def test_kw_equals_kw_candite(self):
kw1 = 'My Long Keyword'
kw2 = '.My Long Keyword'
self.assertTrue(kw_equals_kw_candite(kw1, kw2))
kw2 = 'Not Same'
self.assertFalse... | 37.121212 | 57 | 0.635102 | 160 | 1,225 | 4.5875 | 0.18125 | 0.108992 | 0.13624 | 0.231608 | 0.769755 | 0.769755 | 0.769755 | 0.769755 | 0.719346 | 0.719346 | 0 | 0.034637 | 0.269388 | 1,225 | 32 | 58 | 38.28125 | 0.785475 | 0 | 0 | 0.5 | 0 | 0 | 0.262364 | 0.048617 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ce87963ac76ff8f39860c834b323db87250fb019 | 5,961 | py | Python | randsm/evaluate.py | anvinhnguyendinh/DiscreteRSonRL | af9433f56c6b72f17e0fcc97c0e4ebddeecf96b9 | [
"MIT"
] | 2 | 2021-07-16T12:45:52.000Z | 2022-01-27T03:45:21.000Z | randsm/evaluate.py | anvinhnguyendinh/DiscreteRSonRL | af9433f56c6b72f17e0fcc97c0e4ebddeecf96b9 | [
"MIT"
] | null | null | null | randsm/evaluate.py | anvinhnguyendinh/DiscreteRSonRL | af9433f56c6b72f17e0fcc97c0e4ebddeecf96b9 | [
"MIT"
] | null | null | null | import torch
import numpy as np
def evaluate_attack(model, attacker, env, num_frames, per_action=True, num_episodes=1, saved_shape=None):
all_epi_len = []
all_epi_obs = []
all_episode_rewards = []
for i in range(num_episodes):
episode_rewards = []
done = False
obs = env.reset(... | 40.277027 | 193 | 0.596376 | 785 | 5,961 | 4.29172 | 0.127389 | 0.120511 | 0.060552 | 0.021371 | 0.86168 | 0.853666 | 0.831998 | 0.788365 | 0.788365 | 0.788365 | 0 | 0.036334 | 0.275122 | 5,961 | 148 | 194 | 40.277027 | 0.743346 | 0.072807 | 0 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.019608 | 0 | 0.078431 | 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 |
ce8e424d0cc66e3f349fcafd744216d818bacaa5 | 114 | py | Python | code/bolsonaro/__init__.py | swasun/RFOMT | 64ba63c01bd04f4f959d18aff27e245d8fff3403 | [
"MIT"
] | 2 | 2021-12-09T23:44:37.000Z | 2021-12-10T10:09:20.000Z | code/bolsonaro/models/__init__.py | swasun/RFOMT | 64ba63c01bd04f4f959d18aff27e245d8fff3403 | [
"MIT"
] | null | null | null | code/bolsonaro/models/__init__.py | swasun/RFOMT | 64ba63c01bd04f4f959d18aff27e245d8fff3403 | [
"MIT"
] | null | null | null | import os
LOG_PATH = os.path.abspath(os.path.dirname(__file__) + os.sep + '..' + os.sep + '..' + os.sep + 'log')
| 28.5 | 102 | 0.596491 | 18 | 114 | 3.5 | 0.444444 | 0.238095 | 0.222222 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 114 | 3 | 103 | 38 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0.061404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cea470dc96244cd64c71907df46d0ee37f38ae9a | 93 | py | Python | application/models/__init__.py | awenelo/WCI-Walks | d55c79a87088798c4755822a5203e2d546427e88 | [
"MIT"
] | null | null | null | application/models/__init__.py | awenelo/WCI-Walks | d55c79a87088798c4755822a5203e2d546427e88 | [
"MIT"
] | null | null | null | application/models/__init__.py | awenelo/WCI-Walks | d55c79a87088798c4755822a5203e2d546427e88 | [
"MIT"
] | null | null | null | from .database import *
from .loginmanager import *
from .oauth import *
from .user import *
| 18.6 | 27 | 0.741935 | 12 | 93 | 5.75 | 0.5 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 4 | 28 | 23.25 | 0.896104 | 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 |
0cd1f9695a893a2e0d8e8c1861b3bafd5331db4c | 369 | py | Python | bobstack/tests/test_siptransport_tlsSIPTransport.py | bobjects/BobStack | c177b286075044832f44baf9ace201780c8b4320 | [
"Apache-2.0"
] | null | null | null | bobstack/tests/test_siptransport_tlsSIPTransport.py | bobjects/BobStack | c177b286075044832f44baf9ace201780c8b4320 | [
"Apache-2.0"
] | null | null | null | bobstack/tests/test_siptransport_tlsSIPTransport.py | bobjects/BobStack | c177b286075044832f44baf9ace201780c8b4320 | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from ..sipmessaging import SIPMessageFactory
from ..siptransport import TLSSIPTransport
from ..siptransport import TLSSIPTransportConnection
from abstractTransportConnectionTestCase import AbstractTransportConnectionTestCase
class TestTLSTransportConnection(AbstractTransportConnectionTes... | 33.545455 | 83 | 0.861789 | 28 | 369 | 11.357143 | 0.607143 | 0.100629 | 0.138365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105691 | 369 | 10 | 84 | 36.9 | 0.963636 | 0.067751 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 1 | 0 | true | 0.142857 | 0.714286 | 0 | 0.857143 | 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 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
0cdca3f9b17285cddeab0b2e96e73c23804682b1 | 1,120 | py | Python | algDev/models/trade.py | ajmal017/ralph-usa | 41a7f910da04cfa88f603313fad2ff44c82b9dd4 | [
"Apache-2.0"
] | null | null | null | algDev/models/trade.py | ajmal017/ralph-usa | 41a7f910da04cfa88f603313fad2ff44c82b9dd4 | [
"Apache-2.0"
] | 7 | 2021-03-10T10:08:30.000Z | 2022-03-02T07:38:13.000Z | algDev/models/trade.py | ajmal017/ralph-usa | 41a7f910da04cfa88f603313fad2ff44c82b9dd4 | [
"Apache-2.0"
] | 1 | 2020-04-17T19:15:06.000Z | 2020-04-17T19:15:06.000Z | import datetime
class Trade:
def __init__(self, date, num_shares, verbose=False):
self.date_purchased = date
if verbose:
print(num_shares)
self.num_shares = num_shares
self.sold = False
self.date_sold = datetime.datetime(2100,1,1)
def purchase_date(self, ve... | 44.8 | 287 | 0.6375 | 154 | 1,120 | 4.396104 | 0.181818 | 0.200886 | 0.194978 | 0.177253 | 0.537666 | 0.537666 | 0.537666 | 0.537666 | 0.537666 | 0.537666 | 0 | 0.006757 | 0.207143 | 1,120 | 25 | 288 | 44.8 | 0.755631 | 0 | 0 | 0.105263 | 0 | 0 | 0.089206 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.052632 | 0.157895 | 0.578947 | 0.052632 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0b249ffd047ee98aa94cae5102f4d77386885924 | 89 | py | Python | tests/test_version.py | cowo78/pynextion | 40215761bc8abbd7cc53fefa68e8b78a67b73aed | [
"Apache-2.0"
] | null | null | null | tests/test_version.py | cowo78/pynextion | 40215761bc8abbd7cc53fefa68e8b78a67b73aed | [
"Apache-2.0"
] | 1 | 2019-02-24T14:40:42.000Z | 2019-02-24T14:40:42.000Z | tests/test_version.py | cowo78/pynextion | 40215761bc8abbd7cc53fefa68e8b78a67b73aed | [
"Apache-2.0"
] | null | null | null | import pynextion
def test_version():
assert isinstance(pynextion.__version__, str)
| 14.833333 | 49 | 0.775281 | 10 | 89 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 5 | 50 | 17.8 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0b5832655a4c5b00f5ed0dc85cb59a030031fb9e | 39 | py | Python | pycaruna/__init__.py | Jalle19/pycaruna | 636942778f0227e6aa035d0de7b1d2da98486231 | [
"MIT"
] | 3 | 2021-02-27T17:13:20.000Z | 2022-01-17T20:55:02.000Z | pycaruna/__init__.py | Jalle19/pycaruna | 636942778f0227e6aa035d0de7b1d2da98486231 | [
"MIT"
] | null | null | null | pycaruna/__init__.py | Jalle19/pycaruna | 636942778f0227e6aa035d0de7b1d2da98486231 | [
"MIT"
] | null | null | null | from .client import Caruna, Resolution
| 19.5 | 38 | 0.820513 | 5 | 39 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0baf3ae528aa70919cd16314f29c4289f0e10a34 | 111 | py | Python | countries_plus/context_processors.py | niSeRdiSeR/django-countries-plus | 0ec1fd32dabb2aa3cf7ad0701277313896060073 | [
"MIT"
] | 33 | 2015-06-16T09:26:11.000Z | 2022-02-05T20:14:41.000Z | countries_plus/context_processors.py | niSeRdiSeR/django-countries-plus | 0ec1fd32dabb2aa3cf7ad0701277313896060073 | [
"MIT"
] | 16 | 2015-01-24T12:36:30.000Z | 2022-03-30T10:36:59.000Z | countries_plus/context_processors.py | niSeRdiSeR/django-countries-plus | 0ec1fd32dabb2aa3cf7ad0701277313896060073 | [
"MIT"
] | 20 | 2015-05-15T08:49:37.000Z | 2022-01-31T13:27:29.000Z | # requires countries_plus middleware
def add_request_country(request):
return {'country': request.country}
| 27.75 | 39 | 0.792793 | 13 | 111 | 6.538462 | 0.692308 | 0.329412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117117 | 111 | 3 | 40 | 37 | 0.867347 | 0.306306 | 0 | 0 | 0 | 0 | 0.093333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f0793098ed7787391d1530c2ccbc4b952d64dd94 | 96 | py | Python | office365/sharepoint/contenttypes/field_link.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | null | null | null | office365/sharepoint/contenttypes/field_link.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | null | null | null | office365/sharepoint/contenttypes/field_link.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | null | null | null | from office365.sharepoint.base_entity import BaseEntity
class FieldLink(BaseEntity):
pass
| 16 | 55 | 0.8125 | 11 | 96 | 7 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0.135417 | 96 | 5 | 56 | 19.2 | 0.891566 | 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 |
f07dd4cf3daa9cdf4411927e1d4377f5ec21c976 | 32 | py | Python | coupledlogistic/__init__.py | artvalencio/coupledlogistic | 15015329c808e5faf606b350d8577e05a1c1b302 | [
"Unlicense"
] | null | null | null | coupledlogistic/__init__.py | artvalencio/coupledlogistic | 15015329c808e5faf606b350d8577e05a1c1b302 | [
"Unlicense"
] | null | null | null | coupledlogistic/__init__.py | artvalencio/coupledlogistic | 15015329c808e5faf606b350d8577e05a1c1b302 | [
"Unlicense"
] | null | null | null | from .coupledlogistic import *
| 16 | 31 | 0.78125 | 3 | 32 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.925926 | 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 |
b2b7a84f4aa6890c0af873f55804ca4c15b71215 | 37 | py | Python | app/eramis/models/__init__.py | ig0r45ure/recipe-app-api | 0654102293d6e58c13c4b7520909eb6c0ddb45f2 | [
"MIT"
] | null | null | null | app/eramis/models/__init__.py | ig0r45ure/recipe-app-api | 0654102293d6e58c13c4b7520909eb6c0ddb45f2 | [
"MIT"
] | null | null | null | app/eramis/models/__init__.py | ig0r45ure/recipe-app-api | 0654102293d6e58c13c4b7520909eb6c0ddb45f2 | [
"MIT"
] | null | null | null | from .bcm_assets import BCM_AssetSet
| 18.5 | 36 | 0.864865 | 6 | 37 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 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 |
b2da6714b21ac8e169e1f3d68b194b2459ab7136 | 20,908 | py | Python | phasespace/marker_data_pb2.py | lauramsmith/fine-tuning-locomotion | 583f1de43e91cdd24d632d783872528eb1337480 | [
"Apache-2.0"
] | 41 | 2021-10-11T19:52:13.000Z | 2022-03-21T12:42:31.000Z | phasespace/marker_data_pb2.py | ywkim0606/fine-tuning-locomotion | 96d7c81458511c0a7a11b59cf8c2c3fb8df8a64b | [
"Apache-2.0"
] | 6 | 2021-12-09T14:03:48.000Z | 2022-03-28T11:11:01.000Z | phasespace/marker_data_pb2.py | ywkim0606/fine-tuning-locomotion | 96d7c81458511c0a7a11b59cf8c2c3fb8df8a64b | [
"Apache-2.0"
] | 8 | 2021-10-12T06:17:28.000Z | 2022-03-10T21:32:05.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: marker_data.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.pro... | 44.29661 | 1,954 | 0.771332 | 2,547 | 20,908 | 6.006282 | 0.082057 | 0.041313 | 0.067068 | 0.128187 | 0.799386 | 0.779318 | 0.764544 | 0.760426 | 0.672441 | 0.659498 | 0 | 0.032918 | 0.112254 | 20,908 | 471 | 1,955 | 44.390658 | 0.791283 | 0.043381 | 0 | 0.688679 | 1 | 0.002358 | 0.253553 | 0.211619 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009434 | 0 | 0.009434 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b2e90edee2b4628f8206671d4ccae8910d1447b6 | 36 | py | Python | numpysocket/__init__.py | BassmanBiff/NumpySocket | 67eb3a1bd7aaae4a08d17e8b76a7cb2f2e7bf2c9 | [
"MIT"
] | null | null | null | numpysocket/__init__.py | BassmanBiff/NumpySocket | 67eb3a1bd7aaae4a08d17e8b76a7cb2f2e7bf2c9 | [
"MIT"
] | null | null | null | numpysocket/__init__.py | BassmanBiff/NumpySocket | 67eb3a1bd7aaae4a08d17e8b76a7cb2f2e7bf2c9 | [
"MIT"
] | 1 | 2019-08-28T13:55:33.000Z | 2019-08-28T13:55:33.000Z | from numpysocket import NumpySocket
| 18 | 35 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b2f5e1cfa599aeca4d0f418eb27410d65ec06f26 | 127 | py | Python | pub_data_visualization/load/__init__.py | cre-os/pub-data-visualization | e5ec45e6397258646290836fc1a3b39ad69bf266 | [
"MIT"
] | 10 | 2020-10-08T11:35:49.000Z | 2021-01-22T16:47:59.000Z | pub_data_visualization/load/__init__.py | l-leo/pub-data-visualization | 68eea00491424581b057495a7f0f69cf74e16e7d | [
"MIT"
] | 3 | 2021-03-15T14:26:43.000Z | 2021-12-02T15:27:49.000Z | pub_data_visualization/load/__init__.py | cre-dev/pub-data-visualization | 229bb7a543684be2cb06935299345ce3263da946 | [
"MIT"
] | 1 | 2021-01-22T16:47:10.000Z | 2021-01-22T16:47:10.000Z |
"""
Visualization module to load and plot the load data.
"""
from .load import *
from . import plot
from . import tools
| 12.7 | 56 | 0.677165 | 18 | 127 | 4.777778 | 0.611111 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23622 | 127 | 9 | 57 | 14.111111 | 0.886598 | 0.409449 | 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 |
651177ae63dfa972377a95234bf0fd3de4413287 | 23,986 | py | Python | tests/test_achievements.py | eirki/gargbot_3000 | e76d98e82c00133950f094eaaf9981c58d55bbd5 | [
"MIT"
] | 1 | 2016-11-22T10:00:18.000Z | 2016-11-22T10:00:18.000Z | tests/test_achievements.py | eirki/gargbot_3000 | e76d98e82c00133950f094eaaf9981c58d55bbd5 | [
"MIT"
] | 9 | 2021-06-08T19:04:54.000Z | 2022-02-18T19:57:42.000Z | tests/test_achievements.py | eirki/gargbot_3000 | e76d98e82c00133950f094eaaf9981c58d55bbd5 | [
"MIT"
] | 2 | 2019-01-18T14:10:45.000Z | 2020-06-15T21:48:56.000Z | #! /usr/bin/env python3
# coding: utf-8
from __future__ import annotations
import pendulum
from psycopg2.extensions import connection
from gargbot_3000.journey import achievements, journey
from gargbot_3000.journey.achievements import queries
from tests import test_journey
def test_most_steps_one_day_individual_new... | 33.129834 | 123 | 0.579088 | 2,970 | 23,986 | 4.457912 | 0.055219 | 0.089124 | 0.037311 | 0.041088 | 0.857251 | 0.820619 | 0.811631 | 0.796979 | 0.783459 | 0.766465 | 0 | 0.065068 | 0.285583 | 23,986 | 723 | 124 | 33.175657 | 0.707575 | 0.001501 | 0 | 0.605183 | 0 | 0.025915 | 0.254593 | 0 | 0 | 0 | 0 | 0 | 0.094512 | 1 | 0.027439 | false | 0 | 0.009146 | 0 | 0.036585 | 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 |
e8e296f4d93ef6f2833edec10306b74b53c7b120 | 173 | py | Python | deep_utils/utils/dir_utils/__init__.py | FeryET/deep_utils | be671aa1bfa0dfb0a2ca5675701c2383faed3e70 | [
"MIT"
] | null | null | null | deep_utils/utils/dir_utils/__init__.py | FeryET/deep_utils | be671aa1bfa0dfb0a2ca5675701c2383faed3e70 | [
"MIT"
] | null | null | null | deep_utils/utils/dir_utils/__init__.py | FeryET/deep_utils | be671aa1bfa0dfb0a2ca5675701c2383faed3e70 | [
"MIT"
] | null | null | null | from .main import transfer_directory_items, dir_train_test_split, split_dir_of_dir, split_xy_dir, remove_create
from .main import crawl_directory_dataset, mkdir_incremental
| 57.666667 | 111 | 0.884393 | 27 | 173 | 5.148148 | 0.666667 | 0.115108 | 0.201439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075145 | 173 | 2 | 112 | 86.5 | 0.86875 | 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 |
33085583c9f8c84c13933b7a76543dae968db4e4 | 8,390 | py | Python | tests/kubernetes/test_base_registry.py | jamesholland-uk/checkov | d73fd4bd7096d48ab3434a92a177bcc55605460a | [
"Apache-2.0"
] | null | null | null | tests/kubernetes/test_base_registry.py | jamesholland-uk/checkov | d73fd4bd7096d48ab3434a92a177bcc55605460a | [
"Apache-2.0"
] | null | null | null | tests/kubernetes/test_base_registry.py | jamesholland-uk/checkov | d73fd4bd7096d48ab3434a92a177bcc55605460a | [
"Apache-2.0"
] | null | null | null | import unittest
from typing import Optional
from checkov.common.bridgecrew.severities import Severity, Severities, BcSeverities
from checkov.common.checks.base_check import BaseCheck
from checkov.kubernetes.checks.resource.base_registry import Registry
from checkov.kubernetes.checks.resource.base_spec_check import Bas... | 43.697917 | 98 | 0.685101 | 1,002 | 8,390 | 5.346307 | 0.078842 | 0.095763 | 0.097069 | 0.11163 | 0.886317 | 0.881837 | 0.867276 | 0.867276 | 0.836102 | 0.770207 | 0 | 0.013386 | 0.18975 | 8,390 | 191 | 99 | 43.926702 | 0.77464 | 0.002265 | 0 | 0.653846 | 0 | 0 | 0.07253 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.173077 | false | 0 | 0.044872 | 0 | 0.230769 | 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 |
3309018c2079d98e0c920e3fc28b4cda00a5f3c7 | 29 | py | Python | data/__init__.py | balderk/embedded_ml | 6d924c7928061e084d4c0e811bb240d19aee8d91 | [
"MIT"
] | null | null | null | data/__init__.py | balderk/embedded_ml | 6d924c7928061e084d4c0e811bb240d19aee8d91 | [
"MIT"
] | null | null | null | data/__init__.py | balderk/embedded_ml | 6d924c7928061e084d4c0e811bb240d19aee8d91 | [
"MIT"
] | 1 | 2021-11-01T22:54:51.000Z | 2021-11-01T22:54:51.000Z | import data.get_data as data
| 14.5 | 28 | 0.827586 | 6 | 29 | 3.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 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 |
331bf0ae62ba8f3450781d84b1515e31c6b7f08f | 24 | py | Python | test/__init__.py | supersheep/huixiang | 7d209681ed6699ef7f28383b982f4e4a74c6eb37 | [
"MIT"
] | 4 | 2015-10-10T08:34:37.000Z | 2021-11-07T20:26:07.000Z | test/__init__.py | supersheep/huixiang | 7d209681ed6699ef7f28383b982f4e4a74c6eb37 | [
"MIT"
] | null | null | null | test/__init__.py | supersheep/huixiang | 7d209681ed6699ef7f28383b982f4e4a74c6eb37 | [
"MIT"
] | null | null | null | from piece_test import * | 24 | 24 | 0.833333 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 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 |
3343f978e150bae2f14f825d833c3364d006e98b | 286 | py | Python | starfish/agent/__init__.py | datacraft-dsc/starfish-py | 95ff24410f056e8e2d313c3af97439fe003e294a | [
"Apache-2.0"
] | 4 | 2019-02-08T03:47:36.000Z | 2019-10-17T21:45:23.000Z | starfish/agent/__init__.py | datacraft-dsc/starfish-py | 95ff24410f056e8e2d313c3af97439fe003e294a | [
"Apache-2.0"
] | 81 | 2019-02-09T01:01:51.000Z | 2020-07-01T08:35:07.000Z | starfish/agent/__init__.py | oceanprotocol/ocean-py | 318ad0de2519e61d0a301c040a48d1839cd82425 | [
"Apache-2.0"
] | 1 | 2021-01-28T12:14:03.000Z | 2021-01-28T12:14:03.000Z | """
Agent Module
"""
# from starfish.agent.agent_base import AgentBase # noqa: F401
from starfish.agent.memory_agent import MemoryAgent # noqa: F401
from starfish.agent.remote_agent import RemoteAgent # noqa: F401
| 26 | 86 | 0.590909 | 29 | 286 | 5.724138 | 0.448276 | 0.216867 | 0.307229 | 0.240964 | 0.301205 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047872 | 0.342657 | 286 | 10 | 87 | 28.6 | 0.835106 | 0.416084 | 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 | 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 | 0 | 0 | 0 | 6 |
68222ab7e0c8d2799a8353a0a45dadc569749c2d | 1,520 | py | Python | poker/texas_holdem/score_hand_test.py | jrj92280/python-kata | 6207af1d7898df21dc9d35dde906fb3486375a2e | [
"MIT"
] | 3 | 2018-07-19T21:37:33.000Z | 2019-05-04T00:40:23.000Z | poker/texas_holdem/score_hand_test.py | jrj92280/python-kata | 6207af1d7898df21dc9d35dde906fb3486375a2e | [
"MIT"
] | null | null | null | poker/texas_holdem/score_hand_test.py | jrj92280/python-kata | 6207af1d7898df21dc9d35dde906fb3486375a2e | [
"MIT"
] | null | null | null | from poker.texas_holdem.score_hand import score_hand
def test_high_card():
player_one_hand = [['H14', 'C12', 'S11', 'D10', 'S6'], [], [], [], [], [], []]
player_two_hand = [['H13', 'C12', 'S11', 'D10', 'S6'], [], [], [], [], [], []]
assert 1 == score_hand(player_one_hand, player_two_hand)
assert -1 =... | 40 | 96 | 0.592105 | 203 | 1,520 | 3.995074 | 0.152709 | 0.295931 | 0.320592 | 0.335388 | 0.771887 | 0.729963 | 0.699137 | 0.699137 | 0.699137 | 0.699137 | 0 | 0.052339 | 0.170395 | 1,520 | 37 | 97 | 41.081081 | 0.590801 | 0 | 0 | 0.48 | 0 | 0 | 0.056579 | 0 | 0 | 0 | 0 | 0 | 0.48 | 1 | 0.16 | false | 0 | 0.04 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d7c3bbe4a3980c12fce99e4ec10c97b9dba49025 | 266 | py | Python | pymonad/maybe/nothing.py | Wildhoney/Pymonad | 177989b3d0f362c3bf3af962d89306309ff000c3 | [
"MIT"
] | null | null | null | pymonad/maybe/nothing.py | Wildhoney/Pymonad | 177989b3d0f362c3bf3af962d89306309ff000c3 | [
"MIT"
] | null | null | null | pymonad/maybe/nothing.py | Wildhoney/Pymonad | 177989b3d0f362c3bf3af962d89306309ff000c3 | [
"MIT"
] | null | null | null | from . import Maybe
class Nothing(Maybe):
ok = False
def map(self, _):
return Nothing()
def __str__(self):
return 'Nothing'
def __eq__(self, other):
return Nothing()
def __ne__(self, other):
return Nothing()
| 14.777778 | 28 | 0.571429 | 30 | 266 | 4.633333 | 0.5 | 0.374101 | 0.345324 | 0.28777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.323308 | 266 | 17 | 29 | 15.647059 | 0.772222 | 0 | 0 | 0.272727 | 0 | 0 | 0.026316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0.363636 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cc0b2c125b4976146579d3dfc9e3771df3204051 | 23 | py | Python | __init__.py | CoolJames1610/Flighter | 53f01581ead05e1bb4d5755c3d420e63494691f0 | [
"MIT"
] | 3 | 2020-10-18T14:07:00.000Z | 2022-01-02T15:12:38.000Z | __init__.py | CoolJames1610/Flighter | 53f01581ead05e1bb4d5755c3d420e63494691f0 | [
"MIT"
] | null | null | null | __init__.py | CoolJames1610/Flighter | 53f01581ead05e1bb4d5755c3d420e63494691f0 | [
"MIT"
] | null | null | null | from .Flighter import * | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0bd1943102f907e344f805a81fa40e117cb8f84a | 73 | py | Python | billing/models/eway_models.py | SimpleTax/merchant | 12ec88f6e47f81748add84cd82b0f6c8ac0aa2fc | [
"BSD-3-Clause"
] | 1 | 2020-12-27T18:43:25.000Z | 2020-12-27T18:43:25.000Z | billing/models/eway_models.py | SimpleTax/merchant | 12ec88f6e47f81748add84cd82b0f6c8ac0aa2fc | [
"BSD-3-Clause"
] | null | null | null | billing/models/eway_models.py | SimpleTax/merchant | 12ec88f6e47f81748add84cd82b0f6c8ac0aa2fc | [
"BSD-3-Clause"
] | null | null | null | from django.db import models
class EwayResponse(models.Model):
pass
| 14.6 | 33 | 0.767123 | 10 | 73 | 5.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 4 | 34 | 18.25 | 0.918033 | 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 |
0be9aa6afa91004814bfc303f7eefbba37d56c32 | 162 | py | Python | handlers/500Handler.py | DEMON1A/WEngine | ad506e4bd5f65c32acb6eaab0667f45eb118d559 | [
"MIT"
] | 5 | 2021-03-30T23:36:03.000Z | 2022-02-01T19:25:19.000Z | handlers/500Handler.py | DEMON1A/WEngine | ad506e4bd5f65c32acb6eaab0667f45eb118d559 | [
"MIT"
] | 7 | 2021-04-08T18:53:08.000Z | 2021-04-27T07:44:32.000Z | handlers/500Handler.py | DEMON1A/WEngine | ad506e4bd5f65c32acb6eaab0667f45eb118d559 | [
"MIT"
] | 1 | 2021-03-30T23:36:16.000Z | 2021-03-30T23:36:16.000Z | from utils.makeResponse import returnRenderedTemplate
def Handler(requestHeaders):
return returnRenderedTemplate("WEngine/defaultPages/500.html", {}, 500) | 40.5 | 75 | 0.802469 | 15 | 162 | 8.666667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041379 | 0.104938 | 162 | 4 | 75 | 40.5 | 0.855172 | 0 | 0 | 0 | 0 | 0 | 0.18125 | 0.18125 | 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 |
0414123288b2ce5579702fa4b874e90ee8367a3f | 22 | py | Python | api/__init__.py | ieee-usj-sb/IEEE-USJ | 50f25fee04bba23ca8550f3e4b56aae5fdde7aa9 | [
"MIT"
] | null | null | null | api/__init__.py | ieee-usj-sb/IEEE-USJ | 50f25fee04bba23ca8550f3e4b56aae5fdde7aa9 | [
"MIT"
] | null | null | null | api/__init__.py | ieee-usj-sb/IEEE-USJ | 50f25fee04bba23ca8550f3e4b56aae5fdde7aa9 | [
"MIT"
] | null | null | null | from .member import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
045e32e3e1aa0db70065fedfb5996b58fa4050f1 | 4,013 | py | Python | Reverse/babyvm/answer/disassem.py | scnu-sloth/hsctf-2021-trial | 1591635b1daf622d567a5d50d0084829d2f586b8 | [
"MIT"
] | 1 | 2021-09-15T12:29:01.000Z | 2021-09-15T12:29:01.000Z | Reverse/babyvm/answer/disassem.py | scnu-sloth/hsctf-2021-trial | 1591635b1daf622d567a5d50d0084829d2f586b8 | [
"MIT"
] | null | null | null | Reverse/babyvm/answer/disassem.py | scnu-sloth/hsctf-2021-trial | 1591635b1daf622d567a5d50d0084829d2f586b8 | [
"MIT"
] | null | null | null | ins_set={
0x00:[1,0,"exit"],
0x01:[3,2,"mov r{0},0x{1:0>2X}"],
0x11:[3,2,"mov r{0},r{1}"],
0x21:[3,2,"mov [r{0}],0x{1:0>2X}"],
0x31:[3,2,"mov [r{0}],r{1}"],
0x02:[2,1,"inc r{0}"],
0x03:[2,1,"push r{0}"],
0x04:[2,1,"pop r{0}"],
0x05:[2,1,"r{0} = getchar()"],
0x06:[2,1,"p... | 89.177778 | 2,575 | 0.602293 | 702 | 4,013 | 3.434473 | 0.172365 | 0.248859 | 0.15927 | 0.205724 | 0.558275 | 0.528411 | 0.475321 | 0.446288 | 0.422231 | 0.039818 | 0 | 0.436654 | 0.189634 | 4,013 | 45 | 2,576 | 89.177778 | 0.304736 | 0.006728 | 0 | 0.045455 | 0 | 0 | 0.087795 | 0 | 0 | 0 | 0.456737 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.022727 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f0a94ba630093d4684945de5f154c8bac15bde64 | 27 | py | Python | plugins/twitter_card/__init__.py | PSSalgado/blog | 7a0a1c381a57147bc863bb3f47c641150f80cfee | [
"Apache-2.0"
] | 3 | 2015-05-15T23:44:01.000Z | 2019-01-04T14:49:49.000Z | plugins/twitter_card/__init__.py | PSSalgado/blog | 7a0a1c381a57147bc863bb3f47c641150f80cfee | [
"Apache-2.0"
] | null | null | null | plugins/twitter_card/__init__.py | PSSalgado/blog | 7a0a1c381a57147bc863bb3f47c641150f80cfee | [
"Apache-2.0"
] | 5 | 2015-02-03T00:59:40.000Z | 2019-01-04T15:49:10.000Z | from .twitter_card import * | 27 | 27 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9bf7d831471f31986b6532a3fd6ba9e9ae16d136 | 879 | py | Python | lib/django-1.2/django/contrib/auth/tests/__init__.py | MiCHiLU/google_appengine_sdk | 3da9f20d7e65e26c4938d2c4054bc4f39cbc5522 | [
"Apache-2.0"
] | 790 | 2015-01-03T02:13:39.000Z | 2020-05-10T19:53:57.000Z | AppServer/lib/django-1.2/django/contrib/auth/tests/__init__.py | nlake44/appscale | 6944af660ca4cb772c9b6c2332ab28e5ef4d849f | [
"Apache-2.0"
] | 1,361 | 2015-01-08T23:09:40.000Z | 2020-04-14T00:03:04.000Z | AppServer/lib/django-1.2/django/contrib/auth/tests/__init__.py | nlake44/appscale | 6944af660ca4cb772c9b6c2332ab28e5ef4d849f | [
"Apache-2.0"
] | 155 | 2015-01-08T22:59:31.000Z | 2020-04-08T08:01:53.000Z | from django.contrib.auth.tests.auth_backends import BackendTest, RowlevelBackendTest, AnonymousUserBackendTest, NoAnonymousUserBackendTest, NoBackendsTest
from django.contrib.auth.tests.basic import BasicTestCase
from django.contrib.auth.tests.decorators import LoginRequiredTestCase
from django.contrib.auth.tests.forms... | 67.615385 | 176 | 0.856655 | 89 | 879 | 8.438202 | 0.494382 | 0.106525 | 0.181092 | 0.223702 | 0.276964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085324 | 879 | 12 | 177 | 73.25 | 0.93408 | 0.060296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9bfba91bd8a09a09ce961ca5b8cc2140367c029f | 135 | py | Python | scientific_expedition/follow_instructions.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | scientific_expedition/follow_instructions.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | scientific_expedition/follow_instructions.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | def follow(instructions):
return (instructions.count("r")-instructions.count("l"), instructions.count("f")-instructions.count("b")) | 67.5 | 109 | 0.733333 | 16 | 135 | 6.1875 | 0.5625 | 0.686869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059259 | 135 | 2 | 109 | 67.5 | 0.779528 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
503b3f67f2df6031085cededd4e86bc4cb63810a | 90 | py | Python | build/lib/WORC/__init__.py | Sikerdebaard/PREDICTFastr | e1f172c3606e6f33edf58008f958dcd1c0ac5b7b | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | build/lib/WORC/__init__.py | Sikerdebaard/PREDICTFastr | e1f172c3606e6f33edf58008f958dcd1c0ac5b7b | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | build/lib/WORC/__init__.py | Sikerdebaard/PREDICTFastr | e1f172c3606e6f33edf58008f958dcd1c0ac5b7b | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from WORC.WORC import WORC
from WORC import classification, featureprocessing, processing
| 30 | 62 | 0.855556 | 11 | 90 | 7 | 0.545455 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 90 | 2 | 63 | 45 | 0.9625 | 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 |
aca6de07e9b4e4745d5b67c25d3c3cf8fadaaf2c | 169 | py | Python | printer.py | ZhexiongLiu/RaspberryBox | 860bfb9bed382f202520c791a47ee093de1c4a5e | [
"MIT"
] | null | null | null | printer.py | ZhexiongLiu/RaspberryBox | 860bfb9bed382f202520c791a47ee093de1c4a5e | [
"MIT"
] | null | null | null | printer.py | ZhexiongLiu/RaspberryBox | 860bfb9bed382f202520c791a47ee093de1c4a5e | [
"MIT"
] | null | null | null | import os
printer_name = "HP_LaserJet_1020_1"
os.system("lpr -o page-left=60 -o page-right=100 -o page-top=60 -o page-bottom=100 -P {} output.txt".format(printer_name)
| 33.8 | 121 | 0.739645 | 33 | 169 | 3.636364 | 0.666667 | 0.166667 | 0.116667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099338 | 0.106509 | 169 | 4 | 122 | 42.25 | 0.695364 | 0 | 0 | 0 | 0 | 0.333333 | 0.630952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
acf15447a9d98c2c33e5009408044f5e2e06cbea | 4,998 | py | Python | torch2trt/tests/torchvision/classification.py | nuhpiskin/torch2trt | ce39d035d067cd6596dbed60aa05b37051915c74 | [
"MIT"
] | 3,363 | 2019-06-21T04:43:02.000Z | 2022-03-31T20:08:31.000Z | torch2trt/tests/torchvision/classification.py | maronuu/torch2trt | 311f328cd45799ad8d72f1bebcc818d71c301f62 | [
"MIT"
] | 592 | 2019-06-24T08:25:55.000Z | 2022-03-31T06:37:37.000Z | torch2trt/tests/torchvision/classification.py | maronuu/torch2trt | 311f328cd45799ad8d72f1bebcc818d71c301f62 | [
"MIT"
] | 606 | 2019-06-23T04:16:38.000Z | 2022-03-31T09:22:15.000Z | import torch
import torchvision
from torch2trt.module_test import add_module_test
@add_module_test(torch.float16, torch.device('cuda'), [(1, 3, 224, 224)], fp16_mode=True)
def alexnet():
return torchvision.models.alexnet(pretrained=False)
@add_module_test(torch.float16, torch.device('cuda'), [(1, 3, 224, 22... | 33.77027 | 89 | 0.736495 | 725 | 4,998 | 4.889655 | 0.067586 | 0.087447 | 0.110014 | 0.14725 | 0.721016 | 0.721016 | 0.679267 | 0.679267 | 0.679267 | 0.679267 | 0 | 0.107032 | 0.10084 | 4,998 | 148 | 90 | 33.77027 | 0.681798 | 0 | 0 | 0.322222 | 0 | 0 | 0.023205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.322222 | true | 0 | 0.033333 | 0.322222 | 0.677778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 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 | 1 | 1 | 0 | 0 | 6 |
acf7d3299d297f725c1260446dd47435cd862982 | 16,486 | py | Python | mc_libs/restClient.py | Locottus/Python | 8a6a864c54371fff2b9f34c3c2a69a387c6266f1 | [
"MIT"
] | null | null | null | mc_libs/restClient.py | Locottus/Python | 8a6a864c54371fff2b9f34c3c2a69a387c6266f1 | [
"MIT"
] | null | null | null | mc_libs/restClient.py | Locottus/Python | 8a6a864c54371fff2b9f34c3c2a69a387c6266f1 | [
"MIT"
] | null | null | null | import os,requests,json
#from flask_cors import CORS
#import flask
#https://realpython.com/python-requests/
#https://docs.python.org/3/library/queue.html
#local environment vars.
'''
base_url = os.environ['HealthJumpURL']
email = os.environ['HealthJumpEmail']
password = os.environ['HealthJumpPassword']
SecretKey = os... | 25.880691 | 112 | 0.591835 | 1,721 | 16,486 | 5.63161 | 0.102847 | 0.084503 | 0.105241 | 0.148576 | 0.764961 | 0.755984 | 0.755984 | 0.748452 | 0.741952 | 0.741952 | 0 | 0.011936 | 0.278357 | 16,486 | 636 | 113 | 25.921384 | 0.802723 | 0.12823 | 0 | 0.759791 | 0 | 0 | 0.124585 | 0.004786 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052219 | false | 0.005222 | 0.002611 | 0 | 0.109661 | 0.357702 | 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 |
4a082224b3851fe4bf5afdf58db88be944f8c1e4 | 7,990 | py | Python | Reddit_algorithms/reddit_sentiment_vader.py | arshdeepdhillon/Sentiment-Analysis | 9a91e31e7f19ea8537ec4a711e6d69b0e9acb480 | [
"MIT"
] | null | null | null | Reddit_algorithms/reddit_sentiment_vader.py | arshdeepdhillon/Sentiment-Analysis | 9a91e31e7f19ea8537ec4a711e6d69b0e9acb480 | [
"MIT"
] | 2 | 2019-02-14T11:07:35.000Z | 2019-03-19T16:00:48.000Z | Reddit_algorithms/reddit_sentiment_vader.py | arshdeepdhillon/Sentiment-Analysis | 9a91e31e7f19ea8537ec4a711e6d69b0e9acb480 | [
"MIT"
] | null | null | null | import sys
sys.path.insert(0, '../extract_data')
import extract_reddit_comments as RDT
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
import timeit
class Vader:
def __init__(self):
# file's name that will be genereated in the comments_parsed_path folder
self.comments_parsed... | 32.745902 | 131 | 0.593617 | 899 | 7,990 | 5.202447 | 0.202447 | 0.041907 | 0.038486 | 0.028223 | 0.827026 | 0.812273 | 0.776352 | 0.726106 | 0.708146 | 0.708146 | 0 | 0.012571 | 0.293116 | 7,990 | 243 | 132 | 32.880658 | 0.81551 | 0.588611 | 0 | 0 | 0 | 0 | 0.081466 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098361 | false | 0 | 0.081967 | 0.016393 | 0.213115 | 0.081967 | 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 |
c58b97e37caff6e3566ca5a3414818a30eaa9fcf | 35 | py | Python | tests/test_utils/__init__.py | vmalloc/mailboxer | 23fcdab25911ffd8dc6701bbef01455194c32a9f | [
"MIT"
] | null | null | null | tests/test_utils/__init__.py | vmalloc/mailboxer | 23fcdab25911ffd8dc6701bbef01455194c32a9f | [
"MIT"
] | 1 | 2019-11-19T16:09:10.000Z | 2019-12-15T13:27:34.000Z | tests/test_utils/__init__.py | vmalloc/mailboxer | 23fcdab25911ffd8dc6701bbef01455194c32a9f | [
"MIT"
] | 2 | 2016-04-10T05:48:48.000Z | 2016-05-22T15:26:51.000Z | from .smtpd_utils import send_mail
| 17.5 | 34 | 0.857143 | 6 | 35 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 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 |
c5bffd91c436c40b76e9cf005798325437e97f31 | 76 | py | Python | shiyanlou_cs354-127b99c086/minecloud/image/__init__.py | tongxindao/shiyanlou | 1d002ea342deb69066c287db9935f77f49f0a09e | [
"Apache-2.0"
] | null | null | null | shiyanlou_cs354-127b99c086/minecloud/image/__init__.py | tongxindao/shiyanlou | 1d002ea342deb69066c287db9935f77f49f0a09e | [
"Apache-2.0"
] | null | null | null | shiyanlou_cs354-127b99c086/minecloud/image/__init__.py | tongxindao/shiyanlou | 1d002ea342deb69066c287db9935f77f49f0a09e | [
"Apache-2.0"
] | null | null | null | # _*_ coding: utf-8 _*_
from .views import image
from .models import Image
| 15.2 | 25 | 0.723684 | 11 | 76 | 4.636364 | 0.727273 | 0.431373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.184211 | 76 | 4 | 26 | 19 | 0.806452 | 0.276316 | 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 |
c5ea2f81df091cdd7cfac34ba78dd37d6c59d86b | 24 | py | Python | src/lexer/__init__.py | macaquedev/cobralang | af070ee96cf94970d97a413798e3e9e022749c20 | [
"MIT"
] | null | null | null | src/lexer/__init__.py | macaquedev/cobralang | af070ee96cf94970d97a413798e3e9e022749c20 | [
"MIT"
] | null | null | null | src/lexer/__init__.py | macaquedev/cobralang | af070ee96cf94970d97a413798e3e9e022749c20 | [
"MIT"
] | null | null | null | from .lexer import Lexer | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c5ff356c9cc8b1fd524a701757be6adaf60d37ee | 27 | py | Python | smbd/__init__.py | pacinigit/xbad | da1e7b566dc071d7936e606d67dc65d212c0da2c | [
"MIT"
] | null | null | null | smbd/__init__.py | pacinigit/xbad | da1e7b566dc071d7936e606d67dc65d212c0da2c | [
"MIT"
] | null | null | null | smbd/__init__.py | pacinigit/xbad | da1e7b566dc071d7936e606d67dc65d212c0da2c | [
"MIT"
] | null | null | null | from .pipeline import SMBD
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 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 |
a8431093ba63a5e78a4f616dd0705c4f28102992 | 44 | py | Python | torchkit/run/__init__.py | Gilf641/EVA-6 | 3cd962675c75dc82b7a936c7d5b90f41a20c2397 | [
"Apache-2.0"
] | null | null | null | torchkit/run/__init__.py | Gilf641/EVA-6 | 3cd962675c75dc82b7a936c7d5b90f41a20c2397 | [
"Apache-2.0"
] | null | null | null | torchkit/run/__init__.py | Gilf641/EVA-6 | 3cd962675c75dc82b7a936c7d5b90f41a20c2397 | [
"Apache-2.0"
] | null | null | null | from .runner import *
from .runner2 import * | 22 | 22 | 0.75 | 6 | 44 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.159091 | 44 | 2 | 22 | 22 | 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 |
a8a70fd28ac59c7fe6f0179d589f5970b0182cc1 | 116 | py | Python | spark/proj/etc/runcgi.py | wensheng/spark | ab47107d000f0670f4cfe131637f72471a04cfb2 | [
"MIT"
] | null | null | null | spark/proj/etc/runcgi.py | wensheng/spark | ab47107d000f0670f4cfe131637f72471a04cfb2 | [
"MIT"
] | null | null | null | spark/proj/etc/runcgi.py | wensheng/spark | ab47107d000f0670f4cfe131637f72471a04cfb2 | [
"MIT"
] | null | null | null | import os, sys
import cgitb; cgitb.enable()
from spark.ReqBase import ReqBase
def spark_req_run(): ReqBase().run()
| 19.333333 | 36 | 0.758621 | 18 | 116 | 4.777778 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 116 | 5 | 37 | 23.2 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.75 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7683a22b2d5ad4f2f6f8f13bf5fe60988eb78c3e | 57 | py | Python | activeteacher/checkpoint/__init__.py | HunterJ-Lin/ActiveTeacher | 7e15c5fa118a0b5779f44811be2be41fe2f9d169 | [
"Apache-2.0"
] | 1 | 2022-03-09T12:36:58.000Z | 2022-03-09T12:36:58.000Z | activeteacher/checkpoint/__init__.py | HunterJ-Lin/ActiveTeacher | 7e15c5fa118a0b5779f44811be2be41fe2f9d169 | [
"Apache-2.0"
] | null | null | null | activeteacher/checkpoint/__init__.py | HunterJ-Lin/ActiveTeacher | 7e15c5fa118a0b5779f44811be2be41fe2f9d169 | [
"Apache-2.0"
] | null | null | null | from .detection_checkpoint import DetectionTSCheckpointer | 57 | 57 | 0.929825 | 5 | 57 | 10.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 57 | 1 | 57 | 57 | 0.962963 | 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 |
4f5a300d0bf274f1a6bab5c5db2499b61c1178c1 | 18,324 | py | Python | tests/test_l2_basic.py | andriy-kokhan/sai-challenger-1 | ff781114da582f49ecb98a9b35693c445430f137 | [
"Apache-2.0"
] | 2 | 2021-04-23T05:53:34.000Z | 2021-11-05T15:27:44.000Z | tests/test_l2_basic.py | andriy-kokhan/sai-challenger-1 | ff781114da582f49ecb98a9b35693c445430f137 | [
"Apache-2.0"
] | null | null | null | tests/test_l2_basic.py | andriy-kokhan/sai-challenger-1 | ff781114da582f49ecb98a9b35693c445430f137 | [
"Apache-2.0"
] | null | null | null | import pytest
from common.switch import SaiObjType
from ptf.testutils import simple_tcp_packet, send_packet, verify_packets, verify_packet, verify_no_packet_any, verify_no_packet, verify_any_packet_any_port
def test_l2_access_to_access_vlan(sai, dataplane):
vlan_id = "10"
macs = ['00:11:11:11:11:11', '00:22:2... | 43.014085 | 155 | 0.542949 | 2,532 | 18,324 | 3.582543 | 0.055292 | 0.044097 | 0.045199 | 0.052916 | 0.864293 | 0.805534 | 0.782714 | 0.757689 | 0.717231 | 0.702238 | 0 | 0.056281 | 0.348396 | 18,324 | 425 | 156 | 43.115294 | 0.703434 | 0.020192 | 0 | 0.641791 | 0 | 0 | 0.123209 | 0.080838 | 0 | 0 | 0 | 0 | 0.002985 | 1 | 0.023881 | false | 0 | 0.008955 | 0 | 0.032836 | 0.008955 | 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 |
4f635ff99b1d757d014f1abf17007a59fbdffece | 13,690 | py | Python | sac/model.py | si0wang/transfer_sac | bed9f78eab31c388ae033a496c60cd0f5222efb3 | [
"MIT"
] | null | null | null | sac/model.py | si0wang/transfer_sac | bed9f78eab31c388ae033a496c60cd0f5222efb3 | [
"MIT"
] | null | null | null | sac/model.py | si0wang/transfer_sac | bed9f78eab31c388ae033a496c60cd0f5222efb3 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.distributions import Normal
LOG_SIG_MAX = 2
LOG_SIG_MIN = -20
epsilon = 1e-6
def weights_init_(m):
if isinstance(m, nn.Linear) or isinstance(m, nn.Conv2d) or isinstance(m, nn.ConvTranspose2d):
torch.nn.init.xavier_uniform_(m.wei... | 35.283505 | 107 | 0.633309 | 1,860 | 13,690 | 4.408065 | 0.076344 | 0.090011 | 0.050738 | 0.039395 | 0.842298 | 0.801683 | 0.772655 | 0.759971 | 0.719234 | 0.669716 | 0 | 0.021387 | 0.255442 | 13,690 | 388 | 108 | 35.283505 | 0.782988 | 0.043974 | 0 | 0.586957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108696 | false | 0 | 0.014493 | 0 | 0.228261 | 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 |
96c57373719a3992298911b504d444c21c4206a1 | 26,848 | py | Python | dust_extinction/averages.py | saimn/dust_extinction | 6f68953735563481910c3dada95534523a0bce14 | [
"BSD-3-Clause"
] | null | null | null | dust_extinction/averages.py | saimn/dust_extinction | 6f68953735563481910c3dada95534523a0bce14 | [
"BSD-3-Clause"
] | null | null | null | dust_extinction/averages.py | saimn/dust_extinction | 6f68953735563481910c3dada95534523a0bce14 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import, print_function, division
import pkg_resources
import numpy as np
from scipy.interpolate import interp1d
from astropy.table import Table
from .helpers import _get_x_in_wavenumbers, _test_valid_x_range
from .baseclasses import BaseExtAveModel
from .shapes import P92, _curve_F99_... | 25.352219 | 89 | 0.550246 | 3,754 | 26,848 | 3.779702 | 0.117208 | 0.034393 | 0.017126 | 0.006202 | 0.813799 | 0.784974 | 0.754951 | 0.752202 | 0.743252 | 0.743252 | 0 | 0.105082 | 0.32725 | 26,848 | 1,058 | 90 | 25.376181 | 0.680489 | 0.50879 | 0 | 0.439189 | 0 | 0 | 0.041457 | 0.014286 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043919 | false | 0 | 0.027027 | 0 | 0.246622 | 0.003378 | 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 |
96d66efb3821e190d4daf0b0ea0911afa19b89ad | 220 | py | Python | models/WordFrequencies.py | mpMelnikov/ddi | 71675b586ebf65e883355058af6522a2e4ad0688 | [
"MIT"
] | null | null | null | models/WordFrequencies.py | mpMelnikov/ddi | 71675b586ebf65e883355058af6522a2e4ad0688 | [
"MIT"
] | null | null | null | models/WordFrequencies.py | mpMelnikov/ddi | 71675b586ebf65e883355058af6522a2e4ad0688 | [
"MIT"
] | null | null | null | class WordFrequencies(object):
def __init__(self, ddi_frequencies, random_articles_frequencies):
self.ddi_frequencies = ddi_frequencies
self.random_articles_frequencies = random_articles_frequencies
| 36.666667 | 70 | 0.795455 | 23 | 220 | 7.043478 | 0.434783 | 0.259259 | 0.462963 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 220 | 5 | 71 | 44 | 0.86631 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96f95b291de6eeaedda3fcb25830d4d1711bed19 | 104 | py | Python | model/detection/__init__.py | xuhangc/shadow | befdcb17ca01136b93cf67b94dbd3f55dc2300bc | [
"MIT"
] | null | null | null | model/detection/__init__.py | xuhangc/shadow | befdcb17ca01136b93cf67b94dbd3f55dc2300bc | [
"MIT"
] | null | null | null | model/detection/__init__.py | xuhangc/shadow | befdcb17ca01136b93cf67b94dbd3f55dc2300bc | [
"MIT"
] | null | null | null | from .ddpm import *
from .unet import *
from .bdrar import *
from .dsdnet import *
from .hrnet import *
| 17.333333 | 21 | 0.711538 | 15 | 104 | 4.933333 | 0.466667 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 104 | 5 | 22 | 20.8 | 0.880952 | 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 |
8c2bd230bf15c0d9aa778e669a569c6f7e4add08 | 26 | py | Python | learnRe/taobao.py | hdhqsmile/learnSpyder | 0702ae87f00c9e9631fa64ca2504e06e66152f78 | [
"MIT"
] | null | null | null | learnRe/taobao.py | hdhqsmile/learnSpyder | 0702ae87f00c9e9631fa64ca2504e06e66152f78 | [
"MIT"
] | null | null | null | learnRe/taobao.py | hdhqsmile/learnSpyder | 0702ae87f00c9e9631fa64ca2504e06e66152f78 | [
"MIT"
] | null | null | null | import re
import requests
| 8.666667 | 15 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 2 | 16 | 13 | 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 |
8c5f4f20897846762b76ad548a471d2a32cb7bb2 | 37,529 | py | Python | test/func_test/test_ctrt/test_v_escrow_ctrt.py | josephzxy/py-vsys | 7046f052259bc04d05717833f97f3f37d89b82db | [
"BSD-4-Clause"
] | 1 | 2022-01-29T09:48:32.000Z | 2022-01-29T09:48:32.000Z | test/func_test/test_ctrt/test_v_escrow_ctrt.py | josephzxy/py-vsys | 7046f052259bc04d05717833f97f3f37d89b82db | [
"BSD-4-Clause"
] | 12 | 2022-01-18T08:03:37.000Z | 2022-02-21T07:56:02.000Z | test/func_test/test_ctrt/test_v_escrow_ctrt.py | josephzxy/py-vsys | 7046f052259bc04d05717833f97f3f37d89b82db | [
"BSD-4-Clause"
] | 4 | 2022-01-13T01:21:59.000Z | 2022-01-26T03:18:36.000Z | import asyncio
import time
from typing import Tuple
import pytest
import py_vsys as pv
from test.func_test import conftest as cft
class TestVEscrowCtrt:
"""
TestVEscrowCtrt is the collection of functional tests of V Escrow Contract.
"""
TOK_EACH = 1_000_000_000
TOK_TOTAL = TOK_EACH * 3
TOK_... | 35.172446 | 142 | 0.627488 | 4,858 | 37,529 | 4.601482 | 0.037052 | 0.044153 | 0.030867 | 0.052698 | 0.85072 | 0.821956 | 0.780576 | 0.750022 | 0.732397 | 0.716382 | 0 | 0.002991 | 0.287218 | 37,529 | 1,066 | 143 | 35.205441 | 0.832673 | 0.02963 | 0 | 0.664474 | 0 | 0 | 0.002249 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 1 | 0.006579 | false | 0 | 0.009868 | 0 | 0.060855 | 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 |
8b13ff2cc3ca5a7abf2918fb3c56e0af569d495f | 38 | py | Python | tftf/losses/__init__.py | yusugomori/tftf | e98b9ddffdbaa1fe04320437a47f12f3182ab6f3 | [
"Apache-2.0"
] | 35 | 2018-08-11T05:01:41.000Z | 2021-01-29T02:28:47.000Z | tftf/losses/__init__.py | yusugomori/tftf | e98b9ddffdbaa1fe04320437a47f12f3182ab6f3 | [
"Apache-2.0"
] | null | null | null | tftf/losses/__init__.py | yusugomori/tftf | e98b9ddffdbaa1fe04320437a47f12f3182ab6f3 | [
"Apache-2.0"
] | 4 | 2018-10-19T14:12:04.000Z | 2021-01-29T02:28:49.000Z | # alias
from ..models.losses import *
| 12.666667 | 29 | 0.710526 | 5 | 38 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 2 | 30 | 19 | 0.84375 | 0.131579 | 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 |
8c71775d63a2357bacac9aa855cfef7ebfbd8c2a | 29 | py | Python | toolbox/__init__.py | Petr-By/qtpyvis | 0b9a151ee6b9a56b486c2bece9c1f03414629efc | [
"MIT"
] | 3 | 2017-10-04T14:51:26.000Z | 2017-10-22T09:35:50.000Z | toolbox/__init__.py | CogSciUOS/DeepLearningToolbox | bf07578b9486d8c48e25df357bc4b9963b513b46 | [
"MIT"
] | 13 | 2017-11-26T10:05:00.000Z | 2018-03-11T14:08:40.000Z | toolbox/__init__.py | CogSciUOS/DeepLearningToolbox | bf07578b9486d8c48e25df357bc4b9963b513b46 | [
"MIT"
] | 2 | 2017-09-24T21:39:42.000Z | 2017-10-04T15:29:54.000Z | from .toolbox import Toolbox
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
8c7349ca4550f5fc2ea9520fdf69355646227ae2 | 120 | py | Python | generator/core/__init__.py | ostra-project/NFTs-advanced-generator | 84ad3cbabe955ae2cb7a729e50ea7399a5f0e49d | [
"MIT"
] | 3 | 2022-02-07T12:39:19.000Z | 2022-03-13T23:57:13.000Z | generator/core/__init__.py | ostra-project/NFTs-advanced-generator | 84ad3cbabe955ae2cb7a729e50ea7399a5f0e49d | [
"MIT"
] | null | null | null | generator/core/__init__.py | ostra-project/NFTs-advanced-generator | 84ad3cbabe955ae2cb7a729e50ea7399a5f0e49d | [
"MIT"
] | 1 | 2022-02-07T12:39:40.000Z | 2022-02-07T12:39:40.000Z | from core.general_paths import GeneralPaths
from core.layer_paths import LayerPaths
from core.randomize import Randomize | 40 | 43 | 0.883333 | 17 | 120 | 6.117647 | 0.529412 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091667 | 120 | 3 | 44 | 40 | 0.954128 | 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 |
8cd1c7cfb16b38f8c13cddbd7bdb488a50cba517 | 47,821 | py | Python | tests/test_multipart.py | peopledoc/multipart-reader | 7306cf6e4e69f0a80c37d2b745d56b49c9d1b2d4 | [
"Apache-2.0"
] | 4 | 2018-12-11T14:42:21.000Z | 2021-04-13T01:52:47.000Z | tests/test_multipart.py | peopledoc/multipart-reader | 7306cf6e4e69f0a80c37d2b745d56b49c9d1b2d4 | [
"Apache-2.0"
] | null | null | null | tests/test_multipart.py | peopledoc/multipart-reader | 7306cf6e4e69f0a80c37d2b745d56b49c9d1b2d4 | [
"Apache-2.0"
] | 3 | 2018-02-12T19:41:31.000Z | 2022-03-15T20:49:11.000Z | # -*- coding: utf-8 -*-
import io
try:
import unittest2
except ImportError:
import unittest as unittest2
from multipart_reader import multipart
from multipart_reader.hdrs import (
CONTENT_DISPOSITION,
CONTENT_ENCODING,
CONTENT_TRANSFER_ENCODING,
CONTENT_TYPE
)
class TestCase(unittest2.TestCa... | 41.048069 | 79 | 0.616131 | 4,877 | 47,821 | 5.920648 | 0.079967 | 0.117403 | 0.04232 | 0.087273 | 0.844502 | 0.816623 | 0.785489 | 0.752035 | 0.703169 | 0.637299 | 0 | 0.020849 | 0.247757 | 47,821 | 1,164 | 80 | 41.083333 | 0.781614 | 0.001861 | 0 | 0.591463 | 0 | 0.012195 | 0.18639 | 0.062416 | 0 | 0 | 0 | 0 | 0.304878 | 1 | 0.159553 | false | 0.011179 | 0.006098 | 0.002033 | 0.177846 | 0.002033 | 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 |
8cee49effca423c8b183ba979b537ce14e58c299 | 10,755 | bzl | Python | dotnet/private/rules/test.bzl | wbiker/rules_dotnet | e37a6053726e6b0a6a204489c70809739dae8f50 | [
"Apache-2.0"
] | null | null | null | dotnet/private/rules/test.bzl | wbiker/rules_dotnet | e37a6053726e6b0a6a204489c70809739dae8f50 | [
"Apache-2.0"
] | null | null | null | dotnet/private/rules/test.bzl | wbiker/rules_dotnet | e37a6053726e6b0a6a204489c70809739dae8f50 | [
"Apache-2.0"
] | null | null | null | load(
"@io_bazel_rules_dotnet//dotnet/private:context.bzl",
"dotnet_context",
)
load(
"@io_bazel_rules_dotnet//dotnet/private:providers.bzl",
"DotnetLibrary",
"DotnetResource",
)
load(
"@io_bazel_rules_dotnet//dotnet/private:rules/runfiles.bzl",
"CopyRunfiles",
)
def _unit_test(ctx):
do... | 47.171053 | 238 | 0.641469 | 1,227 | 10,755 | 5.383863 | 0.07824 | 0.113079 | 0.128368 | 0.14941 | 0.824402 | 0.804572 | 0.784438 | 0.768544 | 0.764305 | 0.764305 | 0 | 0.002879 | 0.192655 | 10,755 | 227 | 239 | 47.378855 | 0.757918 | 0 | 0 | 0.577465 | 0 | 0 | 0.292236 | 0.198698 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004695 | false | 0 | 0 | 0 | 0.014085 | 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 |
509bf09031e2fc862258e09067b80675d8bf7e54 | 11,406 | py | Python | tests/unit/test_plot_tools.py | actris-cloudnet/model-evaluation | c505bc54d8797011db28cf2bc7f0bbb8ba0fc36c | [
"MIT"
] | null | null | null | tests/unit/test_plot_tools.py | actris-cloudnet/model-evaluation | c505bc54d8797011db28cf2bc7f0bbb8ba0fc36c | [
"MIT"
] | null | null | null | tests/unit/test_plot_tools.py | actris-cloudnet/model-evaluation | c505bc54d8797011db28cf2bc7f0bbb8ba0fc36c | [
"MIT"
] | null | null | null | import numpy as np
import numpy.ma as ma
import numpy.testing as testing
def test_parse_wanted_names(regrid_file):
""" nc_file: str, name: str, model: str,
vars: Union[list, None] = None,
advance: bool = False """
from model_evaluation.plotting.plot_tools import p... | 37.032468 | 86 | 0.60889 | 1,839 | 11,406 | 3.520392 | 0.060359 | 0.023479 | 0.03012 | 0.035836 | 0.897127 | 0.858357 | 0.840902 | 0.831789 | 0.802286 | 0.749614 | 0 | 0.073809 | 0.239786 | 11,406 | 307 | 87 | 37.153094 | 0.672817 | 0.007891 | 0 | 0.650407 | 0 | 0 | 0.062777 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 1 | 0.117886 | false | 0 | 0.130081 | 0 | 0.247967 | 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 |
50b0a35507fe7394cfea26ea97e2c651801efc6e | 73,432 | py | Python | hospital/views.py | Shreyashm16/Hospital-Appointment-and-Information-System | 929b7eb22cc6a0399e6fff3c7012d1c65d7c47cb | [
"MIT"
] | 7 | 2021-07-15T08:59:58.000Z | 2021-12-29T20:21:36.000Z | hospital/views.py | siddharth25pandey/Hospital-Information-Appointment-System | 1df5edd1f0dc2f0f385e7195db221027b4f64efb | [
"MIT"
] | null | null | null | hospital/views.py | siddharth25pandey/Hospital-Information-Appointment-System | 1df5edd1f0dc2f0f385e7195db221027b4f64efb | [
"MIT"
] | 4 | 2021-05-11T08:36:02.000Z | 2021-08-08T11:45:11.000Z | from django.shortcuts import render,redirect,reverse
from django.conf import settings
from . import forms,models
from django.core.mail import send_mail
from django.contrib.auth.decorators import login_required
from django.contrib.auth.models import User,Group
from .forms import DoctorRegisterForm,DoctorUpdateForm, Admi... | 45.581626 | 307 | 0.630556 | 9,000 | 73,432 | 5.048556 | 0.050556 | 0.021568 | 0.035962 | 0.051104 | 0.821709 | 0.783084 | 0.759161 | 0.742743 | 0.702709 | 0.670379 | 0 | 0.001541 | 0.248815 | 73,432 | 1,610 | 308 | 45.609938 | 0.822175 | 0.114827 | 0 | 0.696517 | 0 | 0 | 0.120727 | 0.047055 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051883 | false | 0.006397 | 0.011372 | 0.005686 | 0.189765 | 0.00924 | 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 |
50dace4e9c9a6d8967316d268b243a11ba95b937 | 57 | py | Python | app/repository/graphs.py | maestro-server/data-app | cde6479cc84fe410220b34742772d5017571e3d3 | [
"Apache-2.0"
] | null | null | null | app/repository/graphs.py | maestro-server/data-app | cde6479cc84fe410220b34742772d5017571e3d3 | [
"Apache-2.0"
] | 1 | 2019-11-21T17:06:31.000Z | 2019-11-21T17:06:31.000Z | app/repository/graphs.py | maestro-server/data-app | cde6479cc84fe410220b34742772d5017571e3d3 | [
"Apache-2.0"
] | null | null | null | from .model import Model
class Graphs(Model):
pass
| 9.5 | 24 | 0.701754 | 8 | 57 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22807 | 57 | 5 | 25 | 11.4 | 0.909091 | 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 |
0fae5ea6d3b7e89edd9d6b019ef696c11dcdc4d8 | 78 | py | Python | src/utils/__init__.py | etiennelndr/analyze_images | edb0f31f9732b062a48fb298a5d8aadb2b0caa6a | [
"MIT"
] | null | null | null | src/utils/__init__.py | etiennelndr/analyze_images | edb0f31f9732b062a48fb298a5d8aadb2b0caa6a | [
"MIT"
] | 2 | 2021-11-10T19:39:33.000Z | 2022-02-09T23:29:34.000Z | src/utils/__init__.py | etiennelndr/analyze_images | edb0f31f9732b062a48fb298a5d8aadb2b0caa6a | [
"MIT"
] | null | null | null | from . import losses
from . import preprocessing
from . import postprocessing
| 19.5 | 28 | 0.807692 | 9 | 78 | 7 | 0.555556 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 78 | 3 | 29 | 26 | 0.954545 | 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 |
0fdc8febce3d1dc6ec0ee111ec13fa178b4a68ab | 8,855 | py | Python | P1/imports/arrival_process_simulation.py | Ocete/mcd-pe-continuo | ec8c6e39453e3089786396252ea4dc83ad4825c1 | [
"MIT"
] | null | null | null | P1/imports/arrival_process_simulation.py | Ocete/mcd-pe-continuo | ec8c6e39453e3089786396252ea4dc83ad4825c1 | [
"MIT"
] | null | null | null | P1/imports/arrival_process_simulation.py | Ocete/mcd-pe-continuo | ec8c6e39453e3089786396252ea4dc83ad4825c1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sun Oct 25 13:08:31 2020
@author: alberto
"""
# Load packages
import numpy as np
from scipy.optimize import newton
from scipy.integrate import quad
def simulate_poisson(t0, t1, lambda_rate, M):
""" Simulation of homogeneours Poisson process in [t0, t1]
Parameters
... | 32.796296 | 83 | 0.553924 | 1,128 | 8,855 | 4.156028 | 0.124113 | 0.110922 | 0.087031 | 0.056314 | 0.868601 | 0.84087 | 0.819113 | 0.786903 | 0.772398 | 0.745947 | 0 | 0.033635 | 0.325127 | 8,855 | 270 | 84 | 32.796296 | 0.750837 | 0.672388 | 0 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104167 | false | 0 | 0.0625 | 0.020833 | 0.270833 | 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 |
0fde74390e14a0acf0c874cb167c49b0ea52615d | 37 | py | Python | iliad/hamiltonian/__init__.py | JamesBrofos/Iliad | 2220e1e519f479e402072f80f4bc67e419842c4e | [
"MIT"
] | 1 | 2022-03-24T20:32:54.000Z | 2022-03-24T20:32:54.000Z | hmc/hamiltonian/__init__.py | JamesBrofos/Thresholds-in-Hamiltonian-Monte-Carlo | 7ee1b530db0eb536666dbc872fbf8200e53dd49b | [
"MIT"
] | null | null | null | hmc/hamiltonian/__init__.py | JamesBrofos/Thresholds-in-Hamiltonian-Monte-Carlo | 7ee1b530db0eb536666dbc872fbf8200e53dd49b | [
"MIT"
] | null | null | null | from .hamiltonian import hamiltonian
| 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 |
e85698e4368652eb0a61d60dc3a009507b9ff9cc | 1,481 | py | Python | joplin/pages/official_documents_page/migrations/0011_auto_20201002_2021.py | cityofaustin/joplin | 01424e46993e9b1c8e57391d6b7d9448f31d596b | [
"MIT"
] | 15 | 2018-09-27T07:36:30.000Z | 2021-08-03T16:01:21.000Z | joplin/pages/official_documents_page/migrations/0011_auto_20201002_2021.py | cityofaustin/joplin | 01424e46993e9b1c8e57391d6b7d9448f31d596b | [
"MIT"
] | 183 | 2017-11-16T23:30:47.000Z | 2020-12-18T21:43:36.000Z | joplin/pages/official_documents_page/migrations/0011_auto_20201002_2021.py | cityofaustin/joplin | 01424e46993e9b1c8e57391d6b7d9448f31d596b | [
"MIT"
] | 12 | 2017-12-12T22:48:05.000Z | 2021-03-01T18:01:24.000Z | # Generated by Django 2.2.16 on 2020-10-02 20:21
from django.db import migrations
import wagtail.core.fields
class Migration(migrations.Migration):
dependencies = [
('official_documents_page', '0010_merge_20200914_2007'),
]
operations = [
migrations.AlterField(
model_name='o... | 37.025 | 124 | 0.646185 | 151 | 1,481 | 6.178808 | 0.317881 | 0.07074 | 0.109325 | 0.155413 | 0.795284 | 0.795284 | 0.795284 | 0.730975 | 0.730975 | 0.730975 | 0 | 0.041889 | 0.242404 | 1,481 | 39 | 125 | 37.974359 | 0.789661 | 0.03106 | 0 | 0.575758 | 1 | 0 | 0.191207 | 0.032798 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.151515 | 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 |
e86580e4d87111bd35054d2e24faf1bde49df66c | 27 | py | Python | lhc/tools/__init__.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | lhc/tools/__init__.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | lhc/tools/__init__.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | from .sorter import Sorter
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 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 |
e866e7eba7f95a3557ff3931e486359e96ff6718 | 1,402 | py | Python | tests/tests_core/test_correction.py | aaron-mcdaid-zalando/expan | 852ce9aad809c53316c1fbbbb54d7022b248b24f | [
"MIT"
] | null | null | null | tests/tests_core/test_correction.py | aaron-mcdaid-zalando/expan | 852ce9aad809c53316c1fbbbb54d7022b248b24f | [
"MIT"
] | null | null | null | tests/tests_core/test_correction.py | aaron-mcdaid-zalando/expan | 852ce9aad809c53316c1fbbbb54d7022b248b24f | [
"MIT"
] | null | null | null | import unittest
from expan.core.correction import *
class CorrectionTestCase(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def test_benjamini_hochberg(self):
false_discovery_rate = 0.05
original_p_values = [0.02, 0.03, 0.002, 0.001]
correcte... | 31.863636 | 85 | 0.708274 | 184 | 1,402 | 5.054348 | 0.217391 | 0.096774 | 0.16129 | 0.064516 | 0.745161 | 0.745161 | 0.727957 | 0.727957 | 0.727957 | 0.727957 | 0 | 0.062218 | 0.208987 | 1,402 | 43 | 86 | 32.604651 | 0.776375 | 0 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.2 | false | 0.066667 | 0.066667 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e8a02e0b773d8073ca610ba3500f7260d989db80 | 259 | py | Python | fccpy/exceptions.py | ricomnl/fcc | 796d95c729398812ec3daf01b7bfbd02ec347785 | [
"MIT"
] | null | null | null | fccpy/exceptions.py | ricomnl/fcc | 796d95c729398812ec3daf01b7bfbd02ec347785 | [
"MIT"
] | null | null | null | fccpy/exceptions.py | ricomnl/fcc | 796d95c729398812ec3daf01b7bfbd02ec347785 | [
"MIT"
] | null | null | null | """Exception classes."""
class StructureParserException(Exception):
"""Exception to signal errors when parsing PDB/mmCIF files."""
pass
class MatrixReadingException(Exception):
"""Exception to signal error when reading matrices from file."""
| 21.583333 | 68 | 0.733591 | 27 | 259 | 7.037037 | 0.703704 | 0.189474 | 0.210526 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158301 | 259 | 11 | 69 | 23.545455 | 0.87156 | 0.517375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
e8aaa4c78e0dde9cc45c84c327811007d4106b55 | 50 | py | Python | tensortrade/utils/__init__.py | owodunni/tensortrade | d6d7fb12f926b3c451d7e200cb693d750a35f95a | [
"Apache-2.0"
] | 3 | 2020-05-29T23:40:58.000Z | 2021-05-02T06:54:36.000Z | tensortrade/utils/__init__.py | owodunni/tensortrade | d6d7fb12f926b3c451d7e200cb693d750a35f95a | [
"Apache-2.0"
] | null | null | null | tensortrade/utils/__init__.py | owodunni/tensortrade | d6d7fb12f926b3c451d7e200cb693d750a35f95a | [
"Apache-2.0"
] | 2 | 2020-12-31T02:57:22.000Z | 2021-06-21T16:12:24.000Z | from .cryptodatadownload import CryptoDataDownload | 50 | 50 | 0.92 | 4 | 50 | 11.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.978723 | 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 |
e8ca1cd42279656e7f6a22e4b1705f97afdccf73 | 58 | py | Python | utilities/utils.py | BenitzCoding/Utility-Bot | a3959f5fc9a13e2e282d68ce6dd3b0266fc2b1b2 | [
"MIT"
] | null | null | null | utilities/utils.py | BenitzCoding/Utility-Bot | a3959f5fc9a13e2e282d68ce6dd3b0266fc2b1b2 | [
"MIT"
] | null | null | null | utilities/utils.py | BenitzCoding/Utility-Bot | a3959f5fc9a13e2e282d68ce6dd3b0266fc2b1b2 | [
"MIT"
] | null | null | null | import os
def get_env(name):
return os.getenv(f'{name}') | 14.5 | 28 | 0.706897 | 11 | 58 | 3.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 58 | 4 | 28 | 14.5 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 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 |
2cf6ede89824a171f09a18b2fec21818f0aa72c6 | 613 | py | Python | plugins/jira/komand_jira/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/jira/komand_jira/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/jira/komand_jira/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .assign_issue.action import AssignIssue
from .attach_issue.action import AttachIssue
from .comment_issue.action import CommentIssue
from .create_issue.action import CreateIssue
from .create_user.action import CreateUser
from .delete_user.action import DeleteUser
from .edit_i... | 40.866667 | 52 | 0.854812 | 85 | 613 | 6.011765 | 0.435294 | 0.305284 | 0.266145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099511 | 613 | 14 | 53 | 43.785714 | 0.925725 | 0.060359 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d720bbb792c8a7a5b80b24f607d0b0300db573f2 | 261,037 | py | Python | instances/passenger_demand/pas-20210422-1717-int16e/1.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int16e/1.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int16e/1.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 30645
passenger_arriving = (
(7, 8, 5, 10, 6, 4, 3, 6, 2, 0, 1, 1, 0, 11, 2, 11, 4, 5, 7, 6, 2, 2, 5, 2, 0, 0), # 0
(8, 9, 5, 4, 5, 3, 4, 5, 3, 4, 2, 1, 0, 15, 9, 4, 2, 5, 2, 5, 3, 3, 4, 0, 2, 0), # 1
(5, 6, 6, 8, 5, 1, 5, 4, 5, 3, 2, 0, 0, 3, 8, 4, 4, 10, 5, 4, 2, 1, 3, 2, 0,... | 279.183957 | 491 | 0.771971 | 32,987 | 261,037 | 6.108528 | 0.23103 | 0.353743 | 0.339451 | 0.64317 | 0.365058 | 0.359669 | 0.359262 | 0.359192 | 0.359192 | 0.359192 | 0 | 0.851547 | 0.094753 | 261,037 | 934 | 492 | 279.482869 | 0.001181 | 0.015366 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d76c071983425467191763206b33b169b0754329 | 21 | py | Python | example_project/some_modules/third_modules/a124.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a124.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a124.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | class A124:
pass
| 7 | 11 | 0.619048 | 3 | 21 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d773ecddbfc0b22a1c5f835d8ced7d0544566c42 | 9,415 | py | Python | binding-python/runtime/src/test/python/tests/binding/support/TestValidators.py | apache/etch | 5a875755019a7f342a07c8c368a50e3efb6ae68c | [
"ECL-2.0",
"Apache-2.0"
] | 9 | 2015-02-14T15:09:54.000Z | 2021-11-10T15:09:45.000Z | binding-python/runtime/src/test/python/tests/binding/support/TestValidators.py | apache/etch | 5a875755019a7f342a07c8c368a50e3efb6ae68c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | binding-python/runtime/src/test/python/tests/binding/support/TestValidators.py | apache/etch | 5a875755019a7f342a07c8c368a50e3efb6ae68c | [
"ECL-2.0",
"Apache-2.0"
] | 14 | 2015-04-20T10:35:00.000Z | 2021-11-10T15:09:35.000Z | # Licensed to the Apache Software Foundation (ASF) under one *
# or more contributor license agreements. See the NOTICE file *
# distributed with this work for additional information *
# regarding copyright ownership. The ASF licenses this file *
# to you under the Apache License, Version 2.0 (the ... | 65.381944 | 171 | 0.6735 | 1,325 | 9,415 | 4.598491 | 0.101132 | 0.117348 | 0.085344 | 0.108813 | 0.808961 | 0.798457 | 0.742491 | 0.731988 | 0.728213 | 0.683243 | 0 | 0.024421 | 0.15624 | 9,415 | 143 | 172 | 65.839161 | 0.742573 | 0.106426 | 0 | 0.102273 | 0 | 0 | 0.002383 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 1 | 0.113636 | false | 0 | 0.102273 | 0 | 0.227273 | 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 |
ad6caf081873c7d3f5027e44cfcbed4b943990c6 | 159 | py | Python | cyberapi/users/__init__.py | CyberPlanning/apiserver | d1286f13264ec0be1dbed5144a94ad4c77896923 | [
"Apache-2.0"
] | 3 | 2018-09-28T13:45:33.000Z | 2020-03-10T20:41:38.000Z | cyberapi/users/__init__.py | CyberPlanning/apiserver | d1286f13264ec0be1dbed5144a94ad4c77896923 | [
"Apache-2.0"
] | 2 | 2018-11-09T08:48:03.000Z | 2021-03-14T11:16:31.000Z | cyberapi/users/__init__.py | CyberPlanning/apiserver | d1286f13264ec0be1dbed5144a94ad4c77896923 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
# coding: utf-8
from .authentication import (getUserFromLogin, resolve)
from .token import (generate_token)
from .error import (AuthError)
| 22.714286 | 55 | 0.773585 | 20 | 159 | 6.1 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014184 | 0.113208 | 159 | 6 | 56 | 26.5 | 0.851064 | 0.194969 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad9db286958328830f0dbd794506d84898bbbf06 | 37 | py | Python | shop/admin/__init__.py | christianbertschy/django-shop | 432a15b17b8d09d8a3fece23709dd91d113f37e3 | [
"BSD-3-Clause"
] | 1 | 2015-09-24T00:36:32.000Z | 2015-09-24T00:36:32.000Z | shop/admin/__init__.py | christianbertschy/django-shop | 432a15b17b8d09d8a3fece23709dd91d113f37e3 | [
"BSD-3-Clause"
] | null | null | null | shop/admin/__init__.py | christianbertschy/django-shop | 432a15b17b8d09d8a3fece23709dd91d113f37e3 | [
"BSD-3-Clause"
] | null | null | null | import clientadmin
import orderadmin
| 12.333333 | 18 | 0.891892 | 4 | 37 | 8.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 2 | 19 | 18.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 |
0f2a9cbdab2d9aefdec41e49853ca9d4e0711bd7 | 10,503 | py | Python | files_sdk/models/clickwrap.py | Files-com/files-sdk-python | 84cedc9be099cd9e4db6249ef7a9d60595487090 | [
"MIT"
] | 14 | 2020-08-05T15:48:06.000Z | 2021-08-18T13:13:39.000Z | files_sdk/models/clickwrap.py | Files-com/files-sdk-python | 84cedc9be099cd9e4db6249ef7a9d60595487090 | [
"MIT"
] | 4 | 2020-10-30T14:49:25.000Z | 2021-09-29T17:11:53.000Z | files_sdk/models/clickwrap.py | Files-com/files-sdk-python | 84cedc9be099cd9e4db6249ef7a9d60595487090 | [
"MIT"
] | null | null | null | import builtins
import datetime
from files_sdk.api import Api
from files_sdk.list_obj import ListObj
from files_sdk.exceptions import InvalidParameterError, MissingParameterError, NotImplementedError
class Clickwrap:
default_attributes = {
'id': None, # int64 - Clickwrap ID
'name': None, # ... | 54.419689 | 260 | 0.685899 | 1,381 | 10,503 | 5.134685 | 0.107169 | 0.0385 | 0.077704 | 0.043435 | 0.820195 | 0.80031 | 0.77267 | 0.763644 | 0.763644 | 0.755324 | 0 | 0.001821 | 0.215748 | 10,503 | 193 | 261 | 54.419689 | 0.859051 | 0.240979 | 0 | 0.629139 | 0 | 0 | 0.203072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.10596 | false | 0 | 0.033113 | 0.013245 | 0.211921 | 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 |
0f877d658c7c10ada986ee741d8fc2de04a73d48 | 3,645 | py | Python | package/management/commands/audit_textfield_max_length.py | ryancheley/djangopackages | ea5bd4b91291698165b5a0fb16560741904e272c | [
"MIT"
] | null | null | null | package/management/commands/audit_textfield_max_length.py | ryancheley/djangopackages | ea5bd4b91291698165b5a0fb16560741904e272c | [
"MIT"
] | null | null | null | package/management/commands/audit_textfield_max_length.py | ryancheley/djangopackages | ea5bd4b91291698165b5a0fb16560741904e272c | [
"MIT"
] | null | null | null | import djclick as click
from django.db.models.functions import Length
from rich import print
from grid.models import Element, Feature, Grid
from homepage.models import PSA
from package.models import Category, Package
# from searchv2.models import SearchV2
@click.command()
def command():
TEXT_LIMIT = 500
i... | 35.048077 | 92 | 0.597805 | 450 | 3,645 | 4.697778 | 0.113333 | 0.066225 | 0.089877 | 0.104068 | 0.820719 | 0.794229 | 0.794229 | 0.765374 | 0.765374 | 0.765374 | 0 | 0.003218 | 0.232647 | 3,645 | 103 | 93 | 35.38835 | 0.752592 | 0.326475 | 0 | 0.40678 | 0 | 0 | 0.29567 | 0.19299 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016949 | false | 0 | 0.101695 | 0 | 0.118644 | 0.220339 | 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 |
0e29f1a0eab61a90af276aec5436e03d51bed9e0 | 182 | py | Python | Libraries/motion.py | InspireNC-NonProfit/RoboDuino-Libraries | c237a0dae01d35e54311e077b5a9c0f153e0d579 | [
"MIT"
] | null | null | null | Libraries/motion.py | InspireNC-NonProfit/RoboDuino-Libraries | c237a0dae01d35e54311e077b5a9c0f153e0d579 | [
"MIT"
] | null | null | null | Libraries/motion.py | InspireNC-NonProfit/RoboDuino-Libraries | c237a0dae01d35e54311e077b5a9c0f153e0d579 | [
"MIT"
] | null | null | null | from Libraries.constants import *
from math import pi
#Drive Forward Distance in Meters
def drive_forward_distance(distance):
one_rev_distance = pi * (wheel_diameter/1000)
| 22.75 | 49 | 0.774725 | 25 | 182 | 5.44 | 0.68 | 0.176471 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.164835 | 182 | 7 | 50 | 26 | 0.868421 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
0e2f3d03f34c66f27460138523d514d7088708d3 | 153 | py | Python | src/amuse/support/data/trees.py | rknop/amuse | 85d5bdcc29cfc87dc69d91c264101fafd6658aec | [
"Apache-2.0"
] | 131 | 2015-06-04T09:06:57.000Z | 2022-02-01T12:11:29.000Z | src/amuse/support/data/trees.py | rknop/amuse | 85d5bdcc29cfc87dc69d91c264101fafd6658aec | [
"Apache-2.0"
] | 690 | 2015-10-17T12:18:08.000Z | 2022-03-31T16:15:58.000Z | src/amuse/support/data/trees.py | rieder/amuse | 3ac3b6b8f922643657279ddee5c8ab3fc0440d5e | [
"Apache-2.0"
] | 102 | 2015-01-22T10:00:29.000Z | 2022-02-09T13:29:43.000Z | import warnings
from amuse.datamodel.trees import *
warnings.warn("amuse.support.data.trees has moved to amuse.datamodel.trees", DeprecationWarning)
| 19.125 | 96 | 0.803922 | 20 | 153 | 6.15 | 0.65 | 0.227642 | 0.308943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104575 | 153 | 7 | 97 | 21.857143 | 0.89781 | 0 | 0 | 0 | 0 | 0 | 0.390728 | 0.298013 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0e59db37864994d1add45244e632ceb47b4291c3 | 317 | py | Python | bdd/contact_scenarios.py | chernenko-art/test_python | 9eed2b91f1af8a2e753029c604137e02ec0f91e4 | [
"Apache-2.0"
] | null | null | null | bdd/contact_scenarios.py | chernenko-art/test_python | 9eed2b91f1af8a2e753029c604137e02ec0f91e4 | [
"Apache-2.0"
] | null | null | null | bdd/contact_scenarios.py | chernenko-art/test_python | 9eed2b91f1af8a2e753029c604137e02ec0f91e4 | [
"Apache-2.0"
] | null | null | null | from pytest_bdd import scenario
from .contact_steps import *
@scenario("contact.feature", "Add new user")
def test_add_user():
pass
@scenario("contact.feature", "Delete a user")
def test_delete_user():
pass
@scenario("contact.feature", "Modify a user")
def test_modify_user():
pass
| 17.611111 | 46 | 0.678233 | 42 | 317 | 4.928571 | 0.404762 | 0.217391 | 0.318841 | 0.222222 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201893 | 317 | 17 | 47 | 18.647059 | 0.818182 | 0 | 0 | 0.272727 | 0 | 0 | 0.276667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | true | 0.272727 | 0.181818 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7edc79171d27a901c0b9c63c95763635b7e0099e | 15,755 | py | Python | models/examples/e_07_ledger.py | mostarz93/credmark-models-py | 8e6127983f9d13548740845e9aca8c43f12b1c6d | [
"MIT"
] | 17 | 2022-03-10T22:28:18.000Z | 2022-03-30T11:50:49.000Z | models/examples/e_07_ledger.py | mostarz93/credmark-models-py | 8e6127983f9d13548740845e9aca8c43f12b1c6d | [
"MIT"
] | 8 | 2022-03-06T15:16:26.000Z | 2022-03-22T00:37:34.000Z | models/examples/e_07_ledger.py | mostarz93/credmark-models-py | 8e6127983f9d13548740845e9aca8c43f12b1c6d | [
"MIT"
] | 13 | 2022-03-14T15:02:25.000Z | 2022-03-31T17:01:40.000Z | from credmark.cmf.engine.mocks import ModelMock, ModelMockConfig
from credmark.cmf.model import Model
from credmark.cmf.types.ledger import (BlockTable, ContractTable,
LogTable,
ReceiptTable, TokenTable,
... | 40.710594 | 174 | 0.637068 | 1,614 | 15,755 | 6.096035 | 0.109665 | 0.043907 | 0.036589 | 0.058543 | 0.849273 | 0.794695 | 0.784124 | 0.780872 | 0.780872 | 0.747027 | 0 | 0.020653 | 0.253189 | 15,755 | 386 | 175 | 40.816062 | 0.81557 | 0.022088 | 0 | 0.608974 | 0 | 0.003205 | 0.453669 | 0.199974 | 0 | 0 | 0.012893 | 0.005181 | 0 | 1 | 0.028846 | false | 0 | 0.019231 | 0 | 0.105769 | 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 |
7d34a36dcffea50c20ba1da80a5254d5833e4c64 | 27 | py | Python | core/__init__.py | axxander/FlashcardAPI | b7221aa567b2c59700813a3cab46d58ca7897086 | [
"MIT"
] | null | null | null | core/__init__.py | axxander/FlashcardAPI | b7221aa567b2c59700813a3cab46d58ca7897086 | [
"MIT"
] | null | null | null | core/__init__.py | axxander/FlashcardAPI | b7221aa567b2c59700813a3cab46d58ca7897086 | [
"MIT"
] | null | null | null | from .init import init_app
| 13.5 | 26 | 0.814815 | 5 | 27 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
adb08d332ebb694fe85acb9571c80fe501a40b07 | 29 | py | Python | Robot_Depricated/code/network.py | alligladfelder/mercury2020 | 37445a09528a873f828374b77ef50e9cd10d7be4 | [
"Apache-2.0"
] | 1 | 2019-10-08T00:05:14.000Z | 2019-10-08T00:05:14.000Z | Robot_Depricated/code/network.py | alligladfelder/mercury2020 | 37445a09528a873f828374b77ef50e9cd10d7be4 | [
"Apache-2.0"
] | 10 | 2021-02-03T00:49:56.000Z | 2021-04-16T20:57:58.000Z | Robot_Depricated/code/network.py | alligladfelder/mercury2020 | 37445a09528a873f828374b77ef50e9cd10d7be4 | [
"Apache-2.0"
] | 2 | 2019-09-26T23:54:58.000Z | 2020-10-30T00:35:00.000Z | import requests
import json
| 7.25 | 15 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 3 | 16 | 9.666667 | 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 |
addfad4dc945831f445790cbc37e447f39305eae | 108 | py | Python | ambra_sdk/service/entrypoints/rsna.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | ambra_sdk/service/entrypoints/rsna.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | ambra_sdk/service/entrypoints/rsna.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | from ambra_sdk.service.entrypoints.generated.rsna import Rsna as GRsna
class Rsna(GRsna):
"""Rsna."""
| 18 | 70 | 0.731481 | 15 | 108 | 5.2 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 108 | 5 | 71 | 21.6 | 0.83871 | 0.046296 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc2a76d8c7236871becf6df359d6b8036fc0c141 | 254 | py | Python | AnalyticModels.py | McCoyGroup/Coordinerds | 058a4f5b29f157e499cec3c8f2da8b216f0210ef | [
"MIT"
] | null | null | null | AnalyticModels.py | McCoyGroup/Coordinerds | 058a4f5b29f157e499cec3c8f2da8b216f0210ef | [
"MIT"
] | null | null | null | AnalyticModels.py | McCoyGroup/Coordinerds | 058a4f5b29f157e499cec3c8f2da8b216f0210ef | [
"MIT"
] | null | null | null | """
A file that only exists to make this directory useable as a way to import Psience too.
Mostly useful during development
"""
from .Psience.AnalyticModels import *
from .Psience.AnalyticModels import __all__
from .Psience.AnalyticModels import __doc__ | 31.75 | 86 | 0.807087 | 35 | 254 | 5.628571 | 0.657143 | 0.167513 | 0.380711 | 0.472081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137795 | 254 | 8 | 87 | 31.75 | 0.899543 | 0.468504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
70adc113add27c9b5a432c958cfcb9a08adce410 | 65,050 | py | Python | run_deep_methods.py | neu-spiral/DeepSpectralRanking | dbdf320478002e247cb3293d34e9f56e9e1e9a21 | [
"MIT"
] | 1 | 2021-06-27T05:02:14.000Z | 2021-06-27T05:02:14.000Z | run_deep_methods.py | neu-spiral/DeepSpectralRanking | dbdf320478002e247cb3293d34e9f56e9e1e9a21 | [
"MIT"
] | null | null | null | run_deep_methods.py | neu-spiral/DeepSpectralRanking | dbdf320478002e247cb3293d34e9f56e9e1e9a21 | [
"MIT"
] | 1 | 2021-03-16T19:12:51.000Z | 2021-03-16T19:12:51.000Z | from utils import *
from deep_kl_admm import *
from deep_l2_admm import *
from siamese_network import *
from shallow_model_competitors import *
import pickle
import csv
from math import ceil
import argparse
from os.path import exists
from os import listdir, remove, mkdir
import numpy as np
from scipy.sparse... | 71.957965 | 162 | 0.67362 | 9,749 | 65,050 | 3.955995 | 0.03426 | 0.106905 | 0.126637 | 0.060285 | 0.907641 | 0.873156 | 0.84912 | 0.816838 | 0.783416 | 0.749086 | 0 | 0.011355 | 0.210715 | 65,050 | 903 | 163 | 72.037652 | 0.739809 | 0.039047 | 0 | 0.427689 | 0 | 0 | 0.239082 | 0.105725 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00618 | false | 0 | 0.021014 | 0 | 0.02843 | 0.002472 | 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 |
cbde3e7cfbe119fbc67aa04e7a75cd6535d55a86 | 3,238 | py | Python | model.py | priyanshu-bisht/FaceMaskDetection | 3237ca1b4545019e0fcd5cd33fb9d848515e24a4 | [
"MIT"
] | 2 | 2020-09-01T13:25:21.000Z | 2020-09-01T15:20:12.000Z | model.py | priyanshu-bisht/FaceMaskDetection | 3237ca1b4545019e0fcd5cd33fb9d848515e24a4 | [
"MIT"
] | null | null | null | model.py | priyanshu-bisht/FaceMaskDetection | 3237ca1b4545019e0fcd5cd33fb9d848515e24a4 | [
"MIT"
] | null | null | null | #imports
import tensorflow as tf
from tensorflow.keras.preprocessing.image import ImageDataGenerator
#data gens
TRAINING_DIR = "./Face Mask Dataset/Train"
VALIDATION_DIR = "./Face Mask Dataset/Validation"
TEST_DIR = "./Face Mask Dataset/Test"
training_datagen = ImageDataGenerator(rescale = 1./255)
validation_datagen ... | 33.381443 | 82 | 0.573811 | 353 | 3,238 | 5.144476 | 0.203966 | 0.096366 | 0.164648 | 0.0837 | 0.799009 | 0.739537 | 0.739537 | 0.739537 | 0.739537 | 0.7087 | 0 | 0.059886 | 0.298641 | 3,238 | 96 | 83 | 33.729167 | 0.739762 | 0.017603 | 0 | 0.75 | 0 | 0 | 0.073025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.03125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1de8e6313ca7660ae16dabfa4958ec5603f33a4e | 151 | py | Python | jointforces/__init__.py | rgerum/jointforces | 9564fd6032b0798279d46e86f5f49246585a03cc | [
"MIT"
] | 9 | 2019-05-07T15:57:42.000Z | 2021-12-20T10:42:36.000Z | jointforces/__init__.py | rgerum/jointforces | 9564fd6032b0798279d46e86f5f49246585a03cc | [
"MIT"
] | 2 | 2019-07-11T13:59:18.000Z | 2020-12-06T22:30:53.000Z | jointforces/__init__.py | rgerum/jointforces | 9564fd6032b0798279d46e86f5f49246585a03cc | [
"MIT"
] | 7 | 2019-05-14T21:07:03.000Z | 2022-03-10T21:33:03.000Z | from . import mesh
from . import materials
from . import simulation
from . import piv
from . import force
from . import strain
from .utils import load
| 18.875 | 24 | 0.768212 | 22 | 151 | 5.272727 | 0.454545 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18543 | 151 | 7 | 25 | 21.571429 | 0.943089 | 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 |
3825fc638adbbf8dc4d071f8b5da8e253f09812b | 21 | py | Python | example_project/some_modules/third_modules/a121.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a121.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a121.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | class A121:
pass
| 7 | 11 | 0.619048 | 3 | 21 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
69c98b1622e8af91e973aedcafd6fca42a60c6b0 | 2,687 | py | Python | neurovault/apps/statmaps/migrations/0060_auto_20160103_0406.py | aphroditepv/NeuroVault | 14dbe45c24897f250938716c8d6a015a3b06df93 | [
"MIT"
] | 68 | 2015-02-07T06:09:49.000Z | 2022-03-03T22:58:33.000Z | neurovault/apps/statmaps/migrations/0060_auto_20160103_0406.py | aphroditepv/NeuroVault | 14dbe45c24897f250938716c8d6a015a3b06df93 | [
"MIT"
] | 436 | 2015-01-01T01:01:13.000Z | 2021-11-07T18:24:00.000Z | neurovault/apps/statmaps/migrations/0060_auto_20160103_0406.py | aphroditepv/NeuroVault | 14dbe45c24897f250938716c8d6a015a3b06df93 | [
"MIT"
] | 60 | 2015-01-10T23:31:26.000Z | 2021-08-10T06:39:57.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('statmaps', '0059_auto_20160101_0410'),
]
operations = [
migrations.AlterField(
model_name='collection',
... | 59.711111 | 437 | 0.621139 | 380 | 2,687 | 4.297368 | 0.281579 | 0.029394 | 0.076546 | 0.088794 | 0.782609 | 0.769749 | 0.769749 | 0.769749 | 0.769749 | 0.680955 | 0 | 0.016038 | 0.211016 | 2,687 | 44 | 438 | 61.068182 | 0.754245 | 0.007815 | 0 | 0.710526 | 0 | 0 | 0.351727 | 0.02515 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
69dab3b9f1c316f262d6c05a5d1dcdb112b98afc | 185 | py | Python | roombapy/mapping/__init__.py | simbaja/roombapy | 3ef8ec10fe02ff429cd1a2204579e349d8db3d2c | [
"MIT"
] | null | null | null | roombapy/mapping/__init__.py | simbaja/roombapy | 3ef8ec10fe02ff429cd1a2204579e349d8db3d2c | [
"MIT"
] | null | null | null | roombapy/mapping/__init__.py | simbaja/roombapy | 3ef8ec10fe02ff429cd1a2204579e349d8db3d2c | [
"MIT"
] | 1 | 2021-10-04T17:34:55.000Z | 2021-10-04T17:34:55.000Z | from .const import *
from .roomba_map_device import RoombaMapDevice
from .roomba_icon_set import RoombaIconSet
from .roomba_map import RoombaMap
from .roomba_mapper import RoombaMapper
| 30.833333 | 46 | 0.859459 | 25 | 185 | 6.12 | 0.52 | 0.261438 | 0.169935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 185 | 5 | 47 | 37 | 0.927273 | 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 |
69f73d3da138662666f2b332b9cc56d795f9b52d | 37 | py | Python | src/features/__init__.py | gokhankesler/med-app-a-b-testing | cd1d13fd67f14b0acce505f601b4ebc78e2ff15a | [
"MIT"
] | null | null | null | src/features/__init__.py | gokhankesler/med-app-a-b-testing | cd1d13fd67f14b0acce505f601b4ebc78e2ff15a | [
"MIT"
] | null | null | null | src/features/__init__.py | gokhankesler/med-app-a-b-testing | cd1d13fd67f14b0acce505f601b4ebc78e2ff15a | [
"MIT"
] | null | null | null | from .preprocessing import * # noqa: | 37 | 37 | 0.72973 | 4 | 37 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 1 | 37 | 37 | 0.870968 | 0.135135 | 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 |
38a0bdaa2f97ce2635989fc1eb25a7c02bbff336 | 19,170 | py | Python | tests/compute/test_compute_location_visits.py | andrewhead/Search-Task-Analysis | ef73745a760b5c2ec7060488219bb29237c26464 | [
"MIT"
] | null | null | null | tests/compute/test_compute_location_visits.py | andrewhead/Search-Task-Analysis | ef73745a760b5c2ec7060488219bb29237c26464 | [
"MIT"
] | null | null | null | tests/compute/test_compute_location_visits.py | andrewhead/Search-Task-Analysis | ef73745a760b5c2ec7060488219bb29237c26464 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import logging
import datetime
from compute.location_visits import compute_location_visits
from tests.base import TestCase
from tests.modelfactory import create_task_period, create_location_event
from models import LocationEvent, T... | 37.29572 | 98 | 0.560668 | 2,523 | 19,170 | 4.088387 | 0.086009 | 0.16287 | 0.203587 | 0.213766 | 0.757247 | 0.744547 | 0.723316 | 0.70761 | 0.692099 | 0.658943 | 0 | 0.098066 | 0.317527 | 19,170 | 513 | 99 | 37.368421 | 0.690362 | 0.081429 | 0 | 0.694639 | 0 | 0 | 0.066712 | 0 | 0 | 0 | 0 | 0 | 0.065268 | 1 | 0.034965 | false | 0 | 0.016317 | 0 | 0.053613 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7fb64d0274fe8c18c71d1a635e59a74af67b3dc | 62 | py | Python | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/settings/__init__.py | Stormbase/django-cookiecutter | b43ae5ba1fec914f4ecf1bb00d137bc3985f4a5d | [
"MIT"
] | 1 | 2020-08-15T13:55:46.000Z | 2020-08-15T13:55:46.000Z | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/settings/__init__.py | Stormbase/django-cookiecutter | b43ae5ba1fec914f4ecf1bb00d137bc3985f4a5d | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/settings/__init__.py | Stormbase/django-cookiecutter | b43ae5ba1fec914f4ecf1bb00d137bc3985f4a5d | [
"MIT"
] | null | null | null | from .base import * # noqa
from .production import * # noqa
| 20.666667 | 33 | 0.677419 | 8 | 62 | 5.25 | 0.625 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 62 | 2 | 34 | 31 | 0.875 | 0.145161 | 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 |
2a12ed6aac290a6fe3a436fe5c3cc59b63b63483 | 15,694 | py | Python | domehunter/gRPC-server/hx2dome_pb2_grpc.py | AstroHuntsman/huntsman-dome | bf332c0d120781c76659b31d04891f11210c78a5 | [
"BSD-3-Clause"
] | 1 | 2022-01-03T05:32:06.000Z | 2022-01-03T05:32:06.000Z | domehunter/gRPC-server/hx2dome_pb2_grpc.py | fergusL/huntsman_dome | bf332c0d120781c76659b31d04891f11210c78a5 | [
"BSD-3-Clause"
] | 47 | 2019-07-02T21:41:53.000Z | 2021-06-28T07:27:52.000Z | domehunter/gRPC-server/hx2dome_pb2_grpc.py | fergusL/huntsman_dome | bf332c0d120781c76659b31d04891f11210c78a5 | [
"BSD-3-Clause"
] | 4 | 2019-07-03T08:40:03.000Z | 2019-10-05T21:46:42.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
import hx2dome_pb2 as hx2dome__pb2
class HX2DomeStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
... | 42.416216 | 75 | 0.74264 | 1,489 | 15,694 | 7.557421 | 0.059772 | 0.072869 | 0.071092 | 0.06576 | 0.82538 | 0.767173 | 0.767173 | 0.699636 | 0.699636 | 0.699636 | 0 | 0.016212 | 0.17854 | 15,694 | 369 | 76 | 42.531165 | 0.856655 | 0.081432 | 0 | 0.572347 | 1 | 0 | 0.131621 | 0.050393 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07074 | false | 0.064309 | 0.006431 | 0 | 0.083601 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2a263256b792bf001d95f162f924abb5dfe7573d | 867 | py | Python | lib/models/torch_util.py | eduardohenriquearnold/coop-3dod-infra | 05c6620b6856efa5d5a060efc4a874ba5b5460c0 | [
"BSD-2-Clause"
] | 7 | 2021-10-02T03:40:03.000Z | 2022-01-31T13:18:54.000Z | lib/models/torch_util.py | eduardohenriquearnold/coop-3dod-infra | 05c6620b6856efa5d5a060efc4a874ba5b5460c0 | [
"BSD-2-Clause"
] | null | null | null | lib/models/torch_util.py | eduardohenriquearnold/coop-3dod-infra | 05c6620b6856efa5d5a060efc4a874ba5b5460c0 | [
"BSD-2-Clause"
] | 1 | 2021-09-16T17:24:40.000Z | 2021-09-16T17:24:40.000Z | import torch.nn as nn
class Conv2d(nn.Module):
def __init__(self, inplanes, planes, stride, padding):
super(Conv2d, self).__init__()
self.conv1 = nn.Conv2d(inplanes, planes, 3, stride=stride, padding=padding)
self.bn1 = nn.BatchNorm2d(planes)
self.relu = nn.ReLU(inplace=True)
d... | 32.111111 | 83 | 0.612457 | 115 | 867 | 4.478261 | 0.243478 | 0.081553 | 0.062136 | 0.058252 | 0.834951 | 0.761165 | 0.761165 | 0.761165 | 0.761165 | 0.761165 | 0 | 0.028037 | 0.259516 | 867 | 27 | 84 | 32.111111 | 0.774143 | 0 | 0 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.043478 | 0 | 0.391304 | 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 |
2a73e66485d401de8989245530c9e6330a1563da | 33 | py | Python | python/isonclust/__init__.py | jkomyno/bioalgo-QCluster-vs-isONclust | 22d17a8c3f33326c775efbd0cb275312fbdce072 | [
"MIT"
] | 4 | 2021-02-10T11:52:22.000Z | 2021-02-11T23:53:03.000Z | python/isonclust/__init__.py | jkomyno/bioalgo-QCluster-vs-isONclust | 22d17a8c3f33326c775efbd0cb275312fbdce072 | [
"MIT"
] | null | null | null | python/isonclust/__init__.py | jkomyno/bioalgo-QCluster-vs-isONclust | 22d17a8c3f33326c775efbd0cb275312fbdce072 | [
"MIT"
] | null | null | null | from .isONclust import isONclust
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
aa53cfacceb0faee4fbdc887446ee55ed965ffed | 1,970 | py | Python | tests/test_reader.py | trilleplay/fortnite-replay-reader | 55919ae9519737944e4fe197f1759d65d9fd0f51 | [
"MIT"
] | null | null | null | tests/test_reader.py | trilleplay/fortnite-replay-reader | 55919ae9519737944e4fe197f1759d65d9fd0f51 | [
"MIT"
] | null | null | null | tests/test_reader.py | trilleplay/fortnite-replay-reader | 55919ae9519737944e4fe197f1759d65d9fd0f51 | [
"MIT"
] | null | null | null | import os
import pytest
from dataclasses import asdict
from ray.reader import Reader
from ray.models import Stats, TeamStats
def test_reader_filepath():
TESTDATA_FILENAME = os.path.join(os.path.dirname(
__file__), 'Replays/UnsavedReplay-2018.10.17-20.33.41.replay')
with Reader(TESTDATA_FILENAME) as ... | 26.266667 | 70 | 0.586294 | 213 | 1,970 | 5.197183 | 0.342723 | 0.04878 | 0.061427 | 0.039747 | 0.737127 | 0.737127 | 0.737127 | 0.737127 | 0.737127 | 0.737127 | 0 | 0.069592 | 0.328934 | 1,970 | 74 | 71 | 26.621622 | 0.767776 | 0 | 0 | 0.754098 | 0 | 0 | 0.049746 | 0.048731 | 0 | 0 | 0 | 0 | 0.065574 | 1 | 0.04918 | false | 0.016393 | 0.081967 | 0 | 0.131148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa62c53193b9b466ef0dea8b5458ade9d9f64c54 | 224 | py | Python | readthedocs/builds/signals.py | mforbes/readthedocs.org | 92f6224a67648a6d27e7a295973c2718d07cee11 | [
"MIT"
] | 2,092 | 2019-06-29T07:47:30.000Z | 2022-03-31T14:54:59.000Z | readthedocs/builds/signals.py | mforbes/readthedocs.org | 92f6224a67648a6d27e7a295973c2718d07cee11 | [
"MIT"
] | 2,389 | 2019-06-29T04:22:55.000Z | 2022-03-31T22:57:49.000Z | readthedocs/builds/signals.py | mforbes/readthedocs.org | 92f6224a67648a6d27e7a295973c2718d07cee11 | [
"MIT"
] | 1,185 | 2019-06-29T21:49:31.000Z | 2022-03-30T09:57:15.000Z | """Build signals."""
import django.dispatch
build_complete = django.dispatch.Signal(providing_args=['build'])
# Useful to know when to purge the footer
version_changed = django.dispatch.Signal(providing_args=['version'])
| 24.888889 | 68 | 0.772321 | 29 | 224 | 5.827586 | 0.62069 | 0.248521 | 0.236686 | 0.343195 | 0.390533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 224 | 8 | 69 | 28 | 0.836634 | 0.245536 | 0 | 0 | 0 | 0 | 0.07362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
aa8355d40f01248189d131e7cb6cce3c207b3adf | 177 | py | Python | Django/Form/form/forms.py | sug5806/TIL | 2309d8a270e4a7b8961268a40b6492c5db317e37 | [
"MIT"
] | null | null | null | Django/Form/form/forms.py | sug5806/TIL | 2309d8a270e4a7b8961268a40b6492c5db317e37 | [
"MIT"
] | 102 | 2020-02-12T00:10:33.000Z | 2022-03-11T23:58:41.000Z | Django/Form/form/forms.py | sug5806/TIL | 2309d8a270e4a7b8961268a40b6492c5db317e37 | [
"MIT"
] | null | null | null | from django import forms
class ProductForm(forms.Form):
name = forms.CharField(max_length=20)
price = forms.IntegerField()
seller = forms.CharField(max_length=20)
| 22.125 | 43 | 0.734463 | 23 | 177 | 5.565217 | 0.652174 | 0.21875 | 0.265625 | 0.359375 | 0.390625 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.163842 | 177 | 7 | 44 | 25.285714 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.