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
fa6a8b00955b29c10ab5047333eefd37107d0882
20,933
py
Python
tests/test_makestr.py
wsmorgan/phonon-enumeration
5d7a8d8e3403cc387bdd58cf98a23e4751ea34dd
[ "MIT-0" ]
5
2016-06-17T05:39:27.000Z
2021-05-30T21:02:08.000Z
tests/test_makestr.py
wsmorgan/phonon-enumeration
5d7a8d8e3403cc387bdd58cf98a23e4751ea34dd
[ "MIT-0" ]
66
2016-04-02T05:02:08.000Z
2018-07-05T19:43:09.000Z
tests/test_makestr.py
wsmorgan/phonon-enumeration
5d7a8d8e3403cc387bdd58cf98a23e4751ea34dd
[ "MIT-0" ]
5
2017-03-15T21:28:44.000Z
2020-01-09T14:44:45.000Z
"""Tests of the makeStr.py module.""" import unittest as ut import os import pytest def get_sargs(args): """Returns the list of arguments parsed from sys.argv. """ import sys sys.argv = args from phenum.phenumStr import _parser_options return _parser_options() def test_examples(): """M...
34.657285
109
0.46324
2,055
20,933
4.576642
0.081752
0.010845
0.058586
0.074429
0.9311
0.902924
0.894312
0.885167
0.871132
0.866135
0
0.032836
0.394783
20,933
603
110
34.71476
0.709527
0.011513
0
0.819964
0
0
0.251524
0.081196
0
0
0
0
0.005348
1
0.055258
false
0
0.105169
0
0.165775
0
0
0
0
null
0
0
0
1
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
7
d70f77d99f9ea37f52c256bba45f483483af1338
134
py
Python
geminidr/niri/__init__.py
DBerke/DRAGONS
cecf9a03970af95126bd17a227bd5214a5d6c64b
[ "BSD-3-Clause" ]
19
2017-10-23T14:52:51.000Z
2022-03-28T04:49:00.000Z
geminidr/niri/__init__.py
DBerke/DRAGONS
cecf9a03970af95126bd17a227bd5214a5d6c64b
[ "BSD-3-Clause" ]
194
2017-11-01T17:32:45.000Z
2022-03-31T21:32:59.000Z
geminidr/niri/__init__.py
DBerke/DRAGONS
cecf9a03970af95126bd17a227bd5214a5d6c64b
[ "BSD-3-Clause" ]
16
2017-11-01T05:18:04.000Z
2021-12-14T23:08:57.000Z
from . import parameters_niri from . import parameters_niri_image from . import primitives_niri from . import primitives_niri_image
19.142857
35
0.835821
18
134
5.888889
0.333333
0.377358
0.377358
0.45283
0
0
0
0
0
0
0
0
0.134328
134
6
36
22.333333
0.913793
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
d757ac048d12bef53f909df921bc7b86db76147b
78,136
py
Python
ofspy/operations_lps.py
ehsanfar/ofspy_v2
6eedfec4bb36c48473abfd473941c5d3b34590b6
[ "Apache-2.0" ]
null
null
null
ofspy/operations_lps.py
ehsanfar/ofspy_v2
6eedfec4bb36c48473abfd473941c5d3b34590b6
[ "Apache-2.0" ]
null
null
null
ofspy/operations_lps.py
ehsanfar/ofspy_v2
6eedfec4bb36c48473abfd473941c5d3b34590b6
[ "Apache-2.0" ]
null
null
null
""" Copyright 2015 Paul T. Grogan, Massachusetts Institute of Technology Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicabl...
65.059117
145
0.407891
6,821
78,136
4.625421
0.045155
0.071823
0.007797
0.006086
0.944057
0.940983
0.931347
0.91664
0.910491
0.90149
0
0.005389
0.503635
78,136
1,201
146
65.059117
0.808091
0.070467
0
0.910491
0
0
0.022335
0
0
0
0
0.000833
0
1
0.0077
false
0.001925
0.004812
0
0.014437
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
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
8
ad069b10db0ea801c59940f8e97de467c4106b5b
146
py
Python
examples/__init__.py
longw010/PyTorch-F1
13be169bddc41316e498c4e4cd20575bc8b51f9a
[ "MIT" ]
null
null
null
examples/__init__.py
longw010/PyTorch-F1
13be169bddc41316e498c4e4cd20575bc8b51f9a
[ "MIT" ]
3
2020-04-04T19:50:28.000Z
2021-05-01T10:37:01.000Z
examples/__init__.py
longw010/PyTorch-F1
13be169bddc41316e498c4e4cd20575bc8b51f9a
[ "MIT" ]
null
null
null
import os # TODO: remove this line during delopyment os.environ['PYTHONPATH'] = '${PYTHONPATH}:/Users/longw/Documents/github/PyTorch-F1/torchf1'
29.2
91
0.767123
19
146
5.894737
0.894737
0
0
0
0
0
0
0
0
0
0
0.015038
0.089041
146
4
92
36.5
0.827068
0.273973
0
0
0
0
0.692308
0.596154
0
0
0
0.25
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
1
0
0
0
1
0
1
0
0
0
0
7
ad757b95a83e1b4b7228302e86634081fb0deb74
25,041
py
Python
plot_utils.py
bekaiser/tumor_dynamics
062c2c7c674ba18acc67712f780095b3db3e6902
[ "MIT" ]
null
null
null
plot_utils.py
bekaiser/tumor_dynamics
062c2c7c674ba18acc67712f780095b3db3e6902
[ "MIT" ]
null
null
null
plot_utils.py
bekaiser/tumor_dynamics
062c2c7c674ba18acc67712f780095b3db3e6902
[ "MIT" ]
null
null
null
import numpy as np import math as ma import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt plt.rc('text', usetex=True) plt.rcParams.update({'font.size': 15}) plt.rcParams["font.family"] = "serif" plt.rcParams["font.serif"] = ["Times New Roman"] + plt.rcParams["font.serif"] import matplotlib.colors as...
40.585089
127
0.621181
3,925
25,041
3.923057
0.052994
0.013638
0.094818
0.066502
0.917067
0.904403
0.890505
0.884725
0.871477
0.863424
0
0.043436
0.173476
25,041
616
128
40.650974
0.700536
0.099078
0
0.748077
0
0.001923
0.135044
0.044689
0
0
0
0
0
1
0.028846
false
0
0.011538
0
0.069231
0
0
0
0
null
0
0
0
1
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
7
ad813f70295670e77cf5424424eb6f920ba9c9b9
1,033
py
Python
tests/basics/tuple_compare.py
peterson79/pycom-micropython-sigfox
3f93fc2c02567c96f18cff4af9125db8fd7a6fb4
[ "MIT" ]
303
2015-07-11T17:12:55.000Z
2018-01-08T03:02:37.000Z
tests/basics/tuple_compare.py
peterson79/pycom-micropython-sigfox
3f93fc2c02567c96f18cff4af9125db8fd7a6fb4
[ "MIT" ]
89
2017-06-09T20:57:27.000Z
2018-03-06T19:54:04.000Z
tests/basics/tuple_compare.py
peterson79/pycom-micropython-sigfox
3f93fc2c02567c96f18cff4af9125db8fd7a6fb4
[ "MIT" ]
26
2018-01-18T09:15:33.000Z
2022-02-07T13:09:14.000Z
print(() == ()) print(() > ()) print(() < ()) print(() == (1,)) print((1,) == ()) print(() > (1,)) print((1,) > ()) print(() < (1,)) print((1,) < ()) print(() >= (1,)) print((1,) >= ()) print(() <= (1,)) print((1,) <= ()) print((1,) == (1,)) print((1,) != (1,)) print((1,) == (2,)) print((1,) == (1, 0,)) print((1,) > ...
18.446429
35
0.352372
164
1,033
2.219512
0.030488
0.626374
0.557692
0.241758
0.958791
0.958791
0.958791
0.958791
0.925824
0.906593
0
0.140496
0.180058
1,033
55
36
18.781818
0.289256
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
12
ad83e9d38092238fdcfc7c9464c47761a2e56382
21,402
py
Python
semaphore-python-client-generated/semaphore_client/api/default_api.py
QCDIS/CONF
6ddb37b691754bbba97c85228d266ac050c4baa4
[ "Apache-2.0" ]
null
null
null
semaphore-python-client-generated/semaphore_client/api/default_api.py
QCDIS/CONF
6ddb37b691754bbba97c85228d266ac050c4baa4
[ "Apache-2.0" ]
41
2017-01-23T16:20:55.000Z
2019-10-07T12:45:21.000Z
semaphore-python-client-generated/semaphore_client/api/default_api.py
skoulouzis/CONF
8c0596810f7ef5fec001148dd67192b25abbe3c8
[ "Apache-2.0" ]
2
2020-05-26T12:53:14.000Z
2020-10-08T05:59:46.000Z
# coding: utf-8 """ SEMAPHORE Semaphore API # noqa: E501 OpenAPI spec version: 2.2.0-oas3 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility library import six from semapho...
34.35313
94
0.587749
2,428
21,402
4.912273
0.068369
0.047623
0.032867
0.042257
0.959336
0.957156
0.95288
0.945502
0.937621
0.932758
0
0.016044
0.321419
21,402
622
95
34.40836
0.805206
0.30941
0
0.817365
1
0
0.146851
0.034076
0
0
0
0
0
1
0.04491
false
0
0.011976
0
0.122754
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
ad863fe7e933735542f57611f52f255a1a90218c
8,524
py
Python
models/oct_resnet.py
PistonY/ModelZoo.pytorch
eb4cc16bfbb6bdf1c021f5f6faba7fbfc8c04612
[ "MIT" ]
41
2019-11-13T02:09:47.000Z
2022-02-20T11:31:18.000Z
models/oct_resnet.py
PistonY/ModelZoo.pytorch
eb4cc16bfbb6bdf1c021f5f6faba7fbfc8c04612
[ "MIT" ]
5
2020-09-22T10:47:22.000Z
2021-05-11T10:10:37.000Z
models/oct_resnet.py
PistonY/ModelZoo.pytorch
eb4cc16bfbb6bdf1c021f5f6faba7fbfc8c04612
[ "MIT" ]
5
2020-07-07T13:27:04.000Z
2021-06-09T03:21:27.000Z
__all__ = ['oct_resnet50', 'oct_resnet50v2'] from module import * from torchtoolbox.nn import AdaptiveSequential from torch import nn def check_status(alpha_in, alpha_out): alpha_in = alpha_out if alpha_in == 0 else alpha_in alpha_in = 0 if alpha_out == 0 else alpha_in return alpha_in, alpha_out class ...
38.570136
91
0.572032
1,235
8,524
3.721457
0.096356
0.023934
0.03329
0.044386
0.917319
0.899478
0.870104
0.84443
0.839861
0.839861
0
0.035574
0.31077
8,524
220
92
38.745455
0.746723
0.028038
0
0.729885
0
0
0.012609
0
0
0
0
0
0.011494
1
0.074713
false
0
0.017241
0
0.178161
0
0
0
0
null
0
0
0
1
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
7
a8eba7d2923e75e9983c40897a8e21f1db105751
9,933
py
Python
label_studio_withoutsignin/io_storages/migrations/0003_localfilesimportstorage.py
DimaVinnitsa/label-studio
b33ef9edc5efef5f5a073e3a457832278afbf2cf
[ "Apache-2.0" ]
null
null
null
label_studio_withoutsignin/io_storages/migrations/0003_localfilesimportstorage.py
DimaVinnitsa/label-studio
b33ef9edc5efef5f5a073e3a457832278afbf2cf
[ "Apache-2.0" ]
null
null
null
label_studio_withoutsignin/io_storages/migrations/0003_localfilesimportstorage.py
DimaVinnitsa/label-studio
b33ef9edc5efef5f5a073e3a457832278afbf2cf
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.4 on 2021-03-18 14:46 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ("projects", "0008_auto_20210314_1840"), ("tasks", "0005_auto_20210309_1239"), ("io_storages", "0002_auto_2021...
35.475
95
0.370784
602
9,933
5.920266
0.200997
0.064815
0.047138
0.053311
0.742144
0.742144
0.724186
0.724186
0.724186
0.724186
0
0.015422
0.549582
9,933
279
96
35.602151
0.78118
0.00453
0
0.754579
1
0
0.154157
0.050273
0
0
0
0
0
1
0
false
0
0.025641
0
0.03663
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
d1172f9106ec2fafa7107b06a33accccec65ce3c
1,447
py
Python
tests/test_downsample_xy_half_median.py
elsandal/pyclesperanto_prototype
7bda828813b86b44b63d73d5e8f466d9769cded1
[ "BSD-3-Clause" ]
64
2020-03-18T12:11:22.000Z
2022-03-31T08:19:18.000Z
tests/test_downsample_xy_half_median.py
elsandal/pyclesperanto_prototype
7bda828813b86b44b63d73d5e8f466d9769cded1
[ "BSD-3-Clause" ]
148
2020-05-14T06:14:11.000Z
2022-03-26T15:02:31.000Z
tests/test_downsample_xy_half_median.py
elsandal/pyclesperanto_prototype
7bda828813b86b44b63d73d5e8f466d9769cded1
[ "BSD-3-Clause" ]
16
2020-05-31T00:53:44.000Z
2022-03-23T13:20:57.000Z
import pyclesperanto_prototype as cle import numpy as np def test_downsample_xy_by_half_median(): test1 = cle.push(np.asarray([ [-3, 0, 1, 2], [0, 5, 2, 7], [0, 1, 3, 4], [1, 6, 4, 8] ])) reference = cle.push(np.asarray([ [0, 2], [1, 4] ])) result =...
19.821918
61
0.36282
191
1,447
2.638743
0.198953
0.150794
0.214286
0.269841
0.781746
0.781746
0.781746
0.781746
0.765873
0.650794
0
0.134271
0.459572
1,447
72
62
20.097222
0.51023
0
0
0.870968
0
0
0
0
0
0
0
0
0.032258
1
0.032258
false
0
0.032258
0
0.064516
0.032258
0
0
0
null
0
1
1
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
8
d143f6f158970d3403302aa2c2314cc1c4bf679e
8,241
py
Python
model/A2J/a2j_utilities/a2j_branchs.py
Rebel-C/NVidia_Jetson_HandPose
41e485fae189a85624686dcf644883868540cf1d
[ "MIT" ]
null
null
null
model/A2J/a2j_utilities/a2j_branchs.py
Rebel-C/NVidia_Jetson_HandPose
41e485fae189a85624686dcf644883868540cf1d
[ "MIT" ]
null
null
null
model/A2J/a2j_utilities/a2j_branchs.py
Rebel-C/NVidia_Jetson_HandPose
41e485fae189a85624686dcf644883868540cf1d
[ "MIT" ]
null
null
null
import os import sys import torch.nn as nn # PROJ ROOT DIR DIR_PATH = os.path.dirname(os.path.abspath(__file__)) # a2j_utilities A2J_PATH = os.path.join(DIR_PATH, os.path.pardir) # A2J MODEL_PATH = os.path.join(A2J_PATH, os.path.pardir) # model ROOT_PATH = os.path.join(MODEL_PATH, os.path.pardir) # root sys.path.appe...
36.464602
128
0.619585
1,141
8,241
4.311131
0.101665
0.128075
0.032934
0.050823
0.859118
0.858508
0.849156
0.826184
0.826184
0.819882
0
0.054554
0.259313
8,241
225
129
36.626667
0.751311
0.201796
0
0.863636
0
0
0
0
0
0
0
0
0
1
0.068182
false
0
0.030303
0
0.143939
0
0
0
0
null
0
0
0
1
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
7
0f36e954ea7bb6f76c01393b2d60f36af4f58cad
194
py
Python
crazycar/agents/__init__.py
nutorbit/crazycar
f265c3f799525774c66529bb39ccc8380c2a3b2e
[ "MIT" ]
1
2020-03-25T10:16:50.000Z
2020-03-25T10:16:50.000Z
crazycar/agents/__init__.py
nutorbit/CrazyCar
f265c3f799525774c66529bb39ccc8380c2a3b2e
[ "MIT" ]
3
2021-06-08T21:12:21.000Z
2022-03-12T00:27:30.000Z
crazycar/agents/__init__.py
nutorbit/CrazyCar
f265c3f799525774c66529bb39ccc8380c2a3b2e
[ "MIT" ]
null
null
null
from crazycar.agents.base import BaseAgent from crazycar.agents.full_agent import Racecar from crazycar.agents.image_agent import ImageAgent from crazycar.agents.sensor_agent import SensorAgent
38.8
52
0.876289
27
194
6.185185
0.481481
0.287425
0.431138
0
0
0
0
0
0
0
0
0
0.082474
194
4
53
48.5
0.938202
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
0f4171c0345608e4bfd27bdf972493e2ff7a24e0
186
py
Python
models/dao/aps/__init__.py
muhammetbolat/pythondataintegrator
5b274db8d39ca1340d535a500f04f6e734f1d54d
[ "MIT" ]
14
2020-12-19T15:06:13.000Z
2022-01-12T19:52:17.000Z
models/dao/aps/__init__.py
muhammetbolat/pythondataintegrator
5b274db8d39ca1340d535a500f04f6e734f1d54d
[ "MIT" ]
43
2021-01-06T22:05:22.000Z
2022-03-10T10:30:30.000Z
models/dao/aps/__init__.py
muhammetbolat/pythondataintegrator
5b274db8d39ca1340d535a500f04f6e734f1d54d
[ "MIT" ]
4
2020-12-18T23:10:09.000Z
2021-04-02T13:03:12.000Z
from models.dao.aps.ApSchedulerEvent import ApSchedulerEvent from models.dao.aps.ApSchedulerJobEvent import ApSchedulerJobEvent from models.dao.aps.ApSchedulerJob import ApSchedulerJob
37.2
66
0.88172
21
186
7.809524
0.380952
0.182927
0.237805
0.292683
0
0
0
0
0
0
0
0
0.069892
186
4
67
46.5
0.947977
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
0f774173c263eb8783a20804ee54aedfb5731aab
171
py
Python
cornflow-dags/DAG/vrp/solvers/__init__.py
ggsdc/corn
4c17c46a70f95b8882bcb6a55ef7daa1f69e0456
[ "MIT" ]
2
2020-07-09T20:58:47.000Z
2020-07-20T20:40:46.000Z
cornflow-dags/DAG/vrp/solvers/__init__.py
baobabsoluciones/cornflow
bd7cae22107e5fe148704d5f41d4f58f9c410b40
[ "Apache-2.0" ]
2
2022-03-31T08:42:10.000Z
2022-03-31T12:05:23.000Z
cornflow-dags/DAG/vrp/solvers/__init__.py
ggsdc/corn
4c17c46a70f95b8882bcb6a55ef7daa1f69e0456
[ "MIT" ]
null
null
null
from .model import Algorithm from .model_ortools import Algorithm as ORT_Algorithm from .modelClosestNeighbor import Algorithm as Heuristic from .modelMIP import modelMIP
34.2
56
0.859649
22
171
6.590909
0.454545
0.310345
0.234483
0
0
0
0
0
0
0
0
0
0.116959
171
4
57
42.75
0.960265
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
0f929a8caff469c4e14d85e4884a3791f4e937cf
3,912
py
Python
tests/terraform/checks/resource/azure/test_SynapseWorkspaceEnablesManagedVirtualNetworks.py
jamesholland-uk/checkov
d73fd4bd7096d48ab3434a92a177bcc55605460a
[ "Apache-2.0" ]
4,013
2019-12-09T13:16:54.000Z
2022-03-31T14:31:01.000Z
tests/terraform/checks/resource/azure/test_SynapseWorkspaceEnablesManagedVirtualNetworks.py
jamesholland-uk/checkov
d73fd4bd7096d48ab3434a92a177bcc55605460a
[ "Apache-2.0" ]
1,258
2019-12-17T09:55:51.000Z
2022-03-31T19:17:17.000Z
tests/terraform/checks/resource/azure/test_SynapseWorkspaceEnablesManagedVirtualNetworks.py
jamesholland-uk/checkov
d73fd4bd7096d48ab3434a92a177bcc55605460a
[ "Apache-2.0" ]
638
2019-12-19T08:57:38.000Z
2022-03-30T21:38:37.000Z
import unittest import hcl2 from checkov.terraform.checks.resource.azure.SynapseWorkspaceEnablesManagedVirtualNetworks import check from checkov.common.models.enums import CheckResult class TestSynapseWorkspaceEnablesManagedVirtualNetworks(unittest.TestCase): def test_failure_1(self): hcl_res = hcl2.lo...
44.454545
105
0.565184
341
3,912
6.111437
0.217009
0.046065
0.066219
0.086372
0.850768
0.850768
0.850768
0.850768
0.850768
0.850768
0
0.0852
0.360941
3,912
87
106
44.965517
0.7484
0
0
0.706667
0
0
0.738497
0.280419
0
0
0
0
0.04
1
0.04
false
0.053333
0.053333
0
0.106667
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
9
7e2767c09d9f67e859865fe299d88481dd1af526
1,002
py
Python
qcportal/outputstore/test_models.py
bennybp/QCPortal
c1d0f4e239c9363875680e93b4357c1680d6825c
[ "BSD-3-Clause" ]
null
null
null
qcportal/outputstore/test_models.py
bennybp/QCPortal
c1d0f4e239c9363875680e93b4357c1680d6825c
[ "BSD-3-Clause" ]
null
null
null
qcportal/outputstore/test_models.py
bennybp/QCPortal
c1d0f4e239c9363875680e93b4357c1680d6825c
[ "BSD-3-Clause" ]
1
2022-03-18T16:37:54.000Z
2022-03-18T16:37:54.000Z
import pytest from .models import OutputStore def test_models_outputstore_fail(): # data is a string, but compression is not none with pytest.raises(ValueError, match=r"Compression is set, but input is a"): OutputStore(**{"output_type": "stdout", "data": "123", "compression": "bzip2"}) # data is...
45.545455
94
0.674651
139
1,002
4.798561
0.230216
0.035982
0.041979
0.155922
0.875562
0.875562
0.830585
0.830585
0.830585
0.830585
0
0.02934
0.183633
1,002
21
95
47.714286
0.786064
0.186627
0
0.363636
0
0
0.382716
0
0
0
0
0
0
1
0.090909
true
0
0.181818
0
0.272727
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
1
0
0
0
0
0
0
7
7e4777e5696cdcb4157d79ca7d647c960e722115
32,070
py
Python
tests/ml/adhoc_compare.py
brenobeirigo/mod
e860198887f6dcb9ad9865830cc5f97041948bdc
[ "MIT" ]
null
null
null
tests/ml/adhoc_compare.py
brenobeirigo/mod
e860198887f6dcb9ad9865830cc5f97041948bdc
[ "MIT" ]
null
null
null
tests/ml/adhoc_compare.py
brenobeirigo/mod
e860198887f6dcb9ad9865830cc5f97041948bdc
[ "MIT" ]
null
null
null
import os import sys # Adding project folder to import modules root = os.getcwd().replace("\\", "/") sys.path.append(root) import mod.env.config as conf from mod.env.config import ConfigNetwork import pandas as pd from copy import deepcopy from collections import defaultdict from pprint import pprint import numpy a...
56.560847
208
0.570939
6,819
32,070
2.395952
0.048981
0.040029
0.033052
0.074917
0.751928
0.735892
0.715938
0.70639
0.682213
0.671502
0
0.275513
0.165544
32,070
566
209
56.660777
0.335002
0.285688
0
0.189802
0
0.189802
0.601667
0.452972
0
0
0
0
0
1
0.002833
false
0
0.031161
0
0.036827
0.016997
0
0
0
null
0
0
0
0
1
1
1
0
1
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
0e2b2372c0dd9b2648c7d23ca563843a5241a55e
17,295
py
Python
oneflow/python/test/ops/test_optimizers.py
ashing-zhang/oneflow
70db228a4d361c916f8f8d85e908795b479e5d20
[ "Apache-2.0" ]
1
2020-10-13T03:03:40.000Z
2020-10-13T03:03:40.000Z
oneflow/python/test/ops/test_optimizers.py
ashing-zhang/oneflow
70db228a4d361c916f8f8d85e908795b479e5d20
[ "Apache-2.0" ]
null
null
null
oneflow/python/test/ops/test_optimizers.py
ashing-zhang/oneflow
70db228a4d361c916f8f8d85e908795b479e5d20
[ "Apache-2.0" ]
null
null
null
""" Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
30.828877
88
0.604568
2,198
17,295
4.540946
0.102821
0.036469
0.028053
0.018736
0.80012
0.770965
0.753532
0.737
0.730688
0.720369
0
0.02585
0.277537
17,295
560
89
30.883929
0.772949
0.043192
0
0.72949
0
0
0.031326
0
0
0
0
0
0.026608
1
0.046563
false
0
0.017738
0
0.084257
0
0
0
0
null
0
0
0
1
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
7
0e6aeaeddf1a8a1737678af3911fa67658746f01
2,677
py
Python
src/python/test/affinities/test_affinities.py
constantinpape/affogato
22ea369313b01e10f5cfefa21b7db0df719f75b0
[ "MIT" ]
6
2021-04-11T00:47:37.000Z
2021-10-03T23:41:06.000Z
src/python/test/affinities/test_affinities.py
constantinpape/affogato
22ea369313b01e10f5cfefa21b7db0df719f75b0
[ "MIT" ]
8
2019-05-28T16:12:07.000Z
2022-01-10T18:21:03.000Z
src/python/test/affinities/test_affinities.py
constantinpape/affogato
22ea369313b01e10f5cfefa21b7db0df719f75b0
[ "MIT" ]
1
2021-06-01T12:16:23.000Z
2021-06-01T12:16:23.000Z
import unittest import numpy as np class TestAffinities(unittest.TestCase): def test_affs_2d(self): from affogato.affinities import compute_affinities shape = (100, 100) labels = np.random.randint(0, 100, size=shape) offsets = [[-1, 0], [0, -1], [-5, 0], [0, -5]...
38.242857
62
0.564811
343
2,677
4.297376
0.12828
0.037992
0.108548
0.119403
0.934193
0.934193
0.934193
0.934193
0.934193
0.934193
0
0.081165
0.282032
2,677
69
63
38.797101
0.685744
0
0
0.842105
0
0
0.002988
0
0
0
0
0
0.280702
1
0.070175
false
0
0.105263
0
0.192982
0
0
0
0
null
0
0
0
1
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
7
0e7baef44655735893989175b58ea1c9261d9d02
11,681
py
Python
UnityEngine/Debug/__init__.py
Grim-es/udon-pie-auto-completion
c2cd86554ed615cdbbb01e19fa40665eafdfaedc
[ "MIT" ]
null
null
null
UnityEngine/Debug/__init__.py
Grim-es/udon-pie-auto-completion
c2cd86554ed615cdbbb01e19fa40665eafdfaedc
[ "MIT" ]
null
null
null
UnityEngine/Debug/__init__.py
Grim-es/udon-pie-auto-completion
c2cd86554ed615cdbbb01e19fa40665eafdfaedc
[ "MIT" ]
null
null
null
from typing import overload from UdonPie import System from UdonPie import UnityEngine from UdonPie.Undefined import * class Debug: def __new__(cls, arg1=None): ''' :returns: Debug :rtype: UnityEngine.Debug ''' pass @staticmethod def ctor(): ''' :r...
21.915572
72
0.542419
1,127
11,681
5.616681
0.053239
0.139021
0.12891
0.145024
0.914218
0.904581
0.874724
0.828436
0.757346
0.719273
0
0.044585
0.364438
11,681
532
73
21.956767
0.808055
0.404332
0
0.728155
0
0
0
0
0
0
0
0
0.07767
1
0.271845
false
0.271845
0.019417
0
0.296117
0
0
0
0
null
0
0
0
1
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
1
0
1
0
0
0
0
0
9
0e92690e4f4cd2da668840c536cb293dacb3ca94
132
py
Python
flaxseed/datasets/vision/__init__.py
fkodom/flaxseed
45244056fc8614a5d0fe9b7d9e3f2aa7d7875123
[ "MIT" ]
1
2021-03-22T15:52:37.000Z
2021-03-22T15:52:37.000Z
flaxseed/datasets/vision/__init__.py
fkodom/flaxseed
45244056fc8614a5d0fe9b7d9e3f2aa7d7875123
[ "MIT" ]
null
null
null
flaxseed/datasets/vision/__init__.py
fkodom/flaxseed
45244056fc8614a5d0fe9b7d9e3f2aa7d7875123
[ "MIT" ]
null
null
null
from flaxseed.datasets.vision.cifar import CIFAR10, CIFAR100 from flaxseed.datasets.vision.mnist import MNIST, FashionMNIST, KMNIST
44
70
0.848485
17
132
6.588235
0.647059
0.214286
0.357143
0.464286
0
0
0
0
0
0
0
0.041322
0.083333
132
2
71
66
0.884298
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
7ecb06e55296121c54db4965dd63cd329d841eee
1,329
py
Python
test_pydes.py
n0irx/python-DES
12a5d8fa8341a035762a91cb7612dfd5330976ae
[ "MIT" ]
null
null
null
test_pydes.py
n0irx/python-DES
12a5d8fa8341a035762a91cb7612dfd5330976ae
[ "MIT" ]
null
null
null
test_pydes.py
n0irx/python-DES
12a5d8fa8341a035762a91cb7612dfd5330976ae
[ "MIT" ]
null
null
null
from pyDes import * ############################################################################# # Examples # ############################################################################# def example_16_rounds_DES(): from time import time # example of DES encrypting in CBC mode with the IV of "\0...
26.058824
77
0.504891
175
1,329
3.708571
0.251429
0.043143
0.05547
0.061633
0.832049
0.832049
0.832049
0.751926
0.751926
0.751926
0
0.027695
0.239278
1,329
51
78
26.058824
0.614243
0.120391
0
0.6875
0
0
0.292949
0
0
0
0
0
0
1
0.0625
false
0
0.09375
0
0.15625
0.4375
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
1
0
7
bc28ce210b40395783b6be356ab229789d486dd5
12,622
py
Python
tests/api/test_machine.py
ggardet/mr-provisioner
8a57806e702d9953a3af304fe52dec8e5de25aff
[ "ECL-2.0", "Apache-2.0" ]
25
2018-04-12T15:56:47.000Z
2021-05-17T04:31:20.000Z
tests/api/test_machine.py
ggardet/mr-provisioner
8a57806e702d9953a3af304fe52dec8e5de25aff
[ "ECL-2.0", "Apache-2.0" ]
72
2017-06-21T10:59:05.000Z
2018-03-22T08:52:18.000Z
tests/api/test_machine.py
ggardet/mr-provisioner
8a57806e702d9953a3af304fe52dec8e5de25aff
[ "ECL-2.0", "Apache-2.0" ]
13
2017-06-16T08:17:03.000Z
2019-10-03T09:49:46.000Z
import json from mr_provisioner.models import Machine def test_empty_machine_list_no_machines(client, valid_headers_nonadmin): r = client.get('/api/v1/machine', headers=valid_headers_nonadmin) assert r.status_code == 200 data = json.loads(r.data.decode('utf-8')) assert data == [] def test_machine_li...
32.28133
135
0.661939
1,643
12,622
4.809495
0.069994
0.082005
0.116426
0.058087
0.879398
0.853581
0.82612
0.817515
0.777651
0.759808
0
0.017658
0.210347
12,622
390
136
32.364103
0.775158
0.001188
0
0.719697
0
0
0.147652
0.046017
0
0
0
0
0.287879
1
0.102273
false
0
0.007576
0
0.109848
0
0
0
0
null
0
0
0
1
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
7
bc38af1184d6f396477e10296de18b2e321fcc46
13,388
py
Python
tests/test_interface.py
czerwe/zabbixmgm
4fd33d56d1800c062f4cac326ea2238cc11d6c05
[ "MIT" ]
null
null
null
tests/test_interface.py
czerwe/zabbixmgm
4fd33d56d1800c062f4cac326ea2238cc11d6c05
[ "MIT" ]
null
null
null
tests/test_interface.py
czerwe/zabbixmgm
4fd33d56d1800c062f4cac326ea2238cc11d6c05
[ "MIT" ]
null
null
null
import unittest2 import zabbixmgm from mock import Mock, call # import responses_interface from pprint import pprint class interface_tests(unittest2.TestCase): def setUp(self): self.apimock = Mock() def tearDown(self): pass def test_intf_get_auto_create_missing_hostid(self): i...
36.78022
184
0.616298
1,529
13,388
5.301504
0.083061
0.175796
0.081421
0.088083
0.880212
0.84604
0.816186
0.752652
0.703183
0.644461
0
0.024583
0.243427
13,388
363
185
36.881543
0.775694
0.373469
0
0.751515
0
0
0.100846
0
0
0
0
0
0.733333
1
0.078788
false
0.006061
0.024242
0
0.109091
0.006061
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
70e41a49bfb4b3a2d426ead745d3b9fa1af4b74a
109
py
Python
tests/test_make_dataset.py
vladkyr/ium-21z
fa81a35491d04760d5e0037318a930790b632a7a
[ "MIT" ]
null
null
null
tests/test_make_dataset.py
vladkyr/ium-21z
fa81a35491d04760d5e0037318a930790b632a7a
[ "MIT" ]
null
null
null
tests/test_make_dataset.py
vladkyr/ium-21z
fa81a35491d04760d5e0037318a930790b632a7a
[ "MIT" ]
null
null
null
from project_name.data.make_dataset import dummy_sum def test_dummy_sum(): assert dummy_sum(2, 3) == 5
18.166667
52
0.752294
19
109
4
0.789474
0.315789
0
0
0
0
0
0
0
0
0
0.032609
0.155963
109
5
53
21.8
0.793478
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
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
1
0
1
0
1
0
0
7
cb85f50b49dca0ba59361dd654f996c5f569ef14
2,828
py
Python
python/tests/test_encoder.py
jimenezjose/fusion-engine-client
2de4dbccfb6b9a0746b7f3ef5a170f1332f93bea
[ "MIT" ]
8
2020-08-29T22:03:37.000Z
2022-01-31T00:54:56.000Z
python/tests/test_encoder.py
jimenezjose/fusion-engine-client
2de4dbccfb6b9a0746b7f3ef5a170f1332f93bea
[ "MIT" ]
8
2020-09-06T05:32:18.000Z
2022-01-16T20:34:21.000Z
python/tests/test_encoder.py
jimenezjose/fusion-engine-client
2de4dbccfb6b9a0746b7f3ef5a170f1332f93bea
[ "MIT" ]
8
2020-09-18T19:05:58.000Z
2021-12-29T20:55:36.000Z
import numpy as np from fusion_engine_client.messages import PoseMessage, PoseAuxMessage from fusion_engine_client.parsers import FusionEngineEncoder import logging logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s') logging.getLogger('point_one')...
97.517241
753
0.74116
608
2,828
3.401316
0.118421
0.681818
0.709381
0.713733
0.733559
0.720019
0.720019
0.720019
0.720019
0.677466
0
0.297287
0.048444
2,828
28
754
101
0.4712
0
0
0.095238
0
0.142857
0.727723
0.706153
0
1
0
0
0.142857
1
0.047619
false
0
0.190476
0
0.238095
0
0
0
0
null
1
1
1
0
1
1
1
1
1
0
1
0
0
0
0
1
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
14
cb8c55ceda90f2326f66376127b53b1ba3cef28d
180
py
Python
LorisBallsBasedModel/Models/__init__.py
LorisPilotto/LorisBallsBasedModel
8e63575f9b9df7dc65bdaea00c0983aaa1001600
[ "MIT" ]
null
null
null
LorisBallsBasedModel/Models/__init__.py
LorisPilotto/LorisBallsBasedModel
8e63575f9b9df7dc65bdaea00c0983aaa1001600
[ "MIT" ]
null
null
null
LorisBallsBasedModel/Models/__init__.py
LorisPilotto/LorisBallsBasedModel
8e63575f9b9df7dc65bdaea00c0983aaa1001600
[ "MIT" ]
null
null
null
from LorisBallsBasedModel.Models.Models import SingleLayerPerceptron, MultiLayerPerceptron, LorisBallsBasedModel, LorisBallsBasedModelTransferLearning, StackedLorisBallsBasedModels
180
180
0.927778
10
180
16.7
0.8
0
0
0
0
0
0
0
0
0
0
0
0.038889
180
1
180
180
0.965318
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
38106a3315af72ca82a5a9ba375a61e383df27e3
74,019
py
Python
polymorphic/tests/migrations/0001_initial.py
Vayel/django-polymorphic
b4efb59cd5d6b1ce3e10fdb5c495fbe239d91ad7
[ "BSD-3-Clause" ]
1
2021-03-12T17:42:37.000Z
2021-03-12T17:42:37.000Z
polymorphic/tests/migrations/0001_initial.py
Vayel/django-polymorphic
b4efb59cd5d6b1ce3e10fdb5c495fbe239d91ad7
[ "BSD-3-Clause" ]
null
null
null
polymorphic/tests/migrations/0001_initial.py
Vayel/django-polymorphic
b4efb59cd5d6b1ce3e10fdb5c495fbe239d91ad7
[ "BSD-3-Clause" ]
1
2021-01-19T12:56:38.000Z
2021-01-19T12:56:38.000Z
import uuid import django.db.models.deletion import django.db.models.manager from django.db import migrations, models import polymorphic.showfields class Migration(migrations.Migration): initial = True dependencies = [("contenttypes", "0002_remove_content_type_name")] operations = [ migration...
36.301618
93
0.417285
4,758
74,019
6.311475
0.045187
0.026107
0.045221
0.064469
0.849784
0.840992
0.819514
0.809957
0.761505
0.737562
0
0.007141
0.485389
74,019
2,038
94
36.319431
0.781234
0
0
0.798621
0
0
0.136114
0.044664
0
0
0
0
0
1
0
false
0
0.002462
0
0.004431
0
0
0
0
null
0
0
0
1
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
7
0e13c483c38f383041f5b9269f7e49fca6e31e32
13,797
py
Python
app.py
jorgeMorfinezM/pyBase64Encoder
f8d69eafe3971ddbe29f3174267a07e73dcee476
[ "Apache-2.0" ]
1
2019-09-11T16:47:32.000Z
2019-09-11T16:47:32.000Z
app.py
jorgeMorfinezM/pyBase64Encoder
f8d69eafe3971ddbe29f3174267a07e73dcee476
[ "Apache-2.0" ]
null
null
null
app.py
jorgeMorfinezM/pyBase64Encoder
f8d69eafe3971ddbe29f3174267a07e73dcee476
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Requires Python 3.0 or later """ __author__ = "Jorge Morfinez Mojica (jorge.morfinez.m@gmail.com)" __copyright__ = "Copyright 2019, Jorge Morfinez Mojica" __license__ = "Apache 2.0" __history__ = """ """ __version__ = "1.19.I11.Prod ($Rev: 3 $)" import base64 # Metodo para leer un XML d...
146.776596
10,935
0.795028
1,556
13,797
6.983933
0.355398
0.041962
0.069937
0.021257
0.315634
0.294469
0.267139
0.210362
0.109874
0.10288
0
0.106765
0.082844
13,797
93
10,936
148.354839
0.752015
0.038922
0
0.078947
0
0.052632
0.910155
0.538131
0
1
0
0.032258
0
1
0.078947
false
0.078947
0.052632
0
0.184211
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
1
0
1
0
0
0
0
1
0
0
0
0
0
7
2a228ab633bf77349453db6b3af1a1e078a4cbdb
363,523
py
Python
src/highdicom/_iods.py
malaterre/highdicom
1d02c328d1f7aee028d5d61c124d2aff11396603
[ "MIT" ]
null
null
null
src/highdicom/_iods.py
malaterre/highdicom
1d02c328d1f7aee028d5d61c124d2aff11396603
[ "MIT" ]
null
null
null
src/highdicom/_iods.py
malaterre/highdicom
1d02c328d1f7aee028d5d61c124d2aff11396603
[ "MIT" ]
null
null
null
"""DICOM Information Object Definitions (IODs) auto-generated on 2021-08-12 at 18:23:25. """ from typing import Dict, List IOD_MODULE_MAP: Dict[str, List[Dict[str, str]]] = { "12-lead-ecg": [ { "ie": "Patient", "key": "patient", "usage": "M" }, { ...
23.719366
114
0.314159
25,719
363,523
4.44018
0.017108
0.082909
0.104031
0.044738
0.963519
0.953536
0.933422
0.914227
0.900908
0.893806
0
0.016682
0.499212
363,523
15,326
115
23.719366
0.610608
0.000234
0
0.578226
1
0.009464
0.334189
0.096874
0
0
0
0
0
1
0
false
0
0.000065
0
0.000065
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
2a6ec62fbe1e1820e66f836ebbb07fc996d82bf5
31,963
py
Python
sql/tests/ast/test_logical.py
AprilXiaoyanLiu/whitenoise-system
0e94d2cc8114b97a61d5d2e45278428f91f1e687
[ "MIT" ]
63
2020-03-26T15:26:10.000Z
2020-10-22T06:26:38.000Z
sql/tests/ast/test_logical.py
AprilXiaoyanLiu/whitenoise-system
0e94d2cc8114b97a61d5d2e45278428f91f1e687
[ "MIT" ]
82
2020-03-10T17:54:48.000Z
2020-10-23T02:11:06.000Z
sql/tests/ast/test_logical.py
AprilXiaoyanLiu/whitenoise-system
0e94d2cc8114b97a61d5d2e45278428f91f1e687
[ "MIT" ]
15
2020-03-10T05:52:14.000Z
2020-10-09T09:09:52.000Z
import pytest from snsql._ast.expressions.logical import * from snsql._ast.tokens import Column, Literal from snsql.sql.parse import QueryParser from datetime import date import numpy as np """ Test evaluation of logical operators. We need to support operands of various types, including: * Parsed atom...
48.947933
116
0.55583
3,626
31,963
4.832598
0.053227
0.177139
0.090738
0.139131
0.918222
0.905724
0.891057
0.865662
0.789305
0.778406
0
0.031693
0.273441
31,963
652
117
49.023006
0.722861
0.026249
0
0.569832
0
0
0.036314
0
0
0
0
0
0.443203
1
0.035382
false
0
0.011173
0
0.052142
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
1
0
0
0
0
0
0
0
0
0
7
aa9467c69980bf2afadefb00f552d6f7531cb008
19,633
py
Python
kimai_python/api/user_api.py
kbancerz/kimai-python
c5401acca8fe8cfa7db486dee5a215bd7daea95b
[ "MIT" ]
6
2019-12-19T16:01:58.000Z
2022-01-19T18:10:16.000Z
kimai_python/api/user_api.py
kbancerz/kimai-python
c5401acca8fe8cfa7db486dee5a215bd7daea95b
[ "MIT" ]
4
2020-05-16T23:33:15.000Z
2021-07-06T20:53:32.000Z
kimai_python/api/user_api.py
kbancerz/kimai-python
c5401acca8fe8cfa7db486dee5a215bd7daea95b
[ "MIT" ]
3
2020-05-16T23:14:13.000Z
2021-06-30T08:53:11.000Z
# coding: utf-8 """ Kimai 2 - API Docs JSON API for the Kimai 2 time-tracking software. Read more about its usage in the [API documentation](https://www.kimai.org/documentation/rest-api.html) and then download a [Swagger file](doc.json) for import e.g. in Postman. Be aware: it is not yet considered stable and...
39.423695
401
0.605919
2,381
19,633
4.769425
0.098278
0.046495
0.024657
0.031701
0.91608
0.904368
0.899613
0.879359
0.856375
0.846161
0
0.016196
0.301839
19,633
497
402
39.503018
0.812286
0.348597
0
0.746269
0
0.011194
0.190103
0.032365
0
0
0
0
0
1
0.041045
false
0
0.014925
0
0.115672
0
0
0
0
null
0
0
0
1
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
7
aacbffcfecc54690e29a99678d58f3f50482a241
737
py
Python
Jupyter/cntmtzs.py
MooersLab/jupyterlabpymolpysnipsplus
b886750d63372434df53d4d6d7cdad6cb02ae4e7
[ "MIT" ]
null
null
null
Jupyter/cntmtzs.py
MooersLab/jupyterlabpymolpysnipsplus
b886750d63372434df53d4d6d7cdad6cb02ae4e7
[ "MIT" ]
null
null
null
Jupyter/cntmtzs.py
MooersLab/jupyterlabpymolpysnipsplus
b886750d63372434df53d4d6d7cdad6cb02ae4e7
[ "MIT" ]
null
null
null
# Description: Count number of *.mtz files in current directory. # Source: placeHolder """ cmd.do('print("Count the number of mtz structure factor files in current directory.");') cmd.do('print("Usage: cntmtzs");') cmd.do('myPath = os.getcwd();') cmd.do('mtzCounter = len(glob.glob1(myPath,"*.mtz"));') cmd.do('print(...
43.352941
106
0.698779
107
737
4.813084
0.242991
0.097087
0.116505
0.15534
0.869903
0.869903
0.869903
0.869903
0.869903
0.869903
0
0.003077
0.118046
737
16
107
46.0625
0.789231
0.548168
0
0
0
0
0.814815
0.098765
0
0
0
0
0
1
0
true
0
0
0
0
0.6
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
9
2ab11f1139e481644c45839acb62eeb9d64dff7c
455
py
Python
tests/parser/bug.07.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/bug.07.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/bug.07.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
input = """ a(1). a(2). b(1,2). c(2). c(3). q(X,Y) :- a(X), c(Y). p(X,Y,Z) :- a(X), q(Y,Z), m(X,Z). m(X,Y) :- a(Z), p(Z,X,Y). m(X,Y) :- b(X,Y), not n(X,Y). n(X,Y) :- q(X,Y). n(X,Y) :- b(X,Y), m(X,Y). """ output = """ a(1). a(2). b(1,2). c(2). c(3). q(X,Y) :- a(X), c(Y). p(X,Y,Z) :- a(X)...
11.666667
34
0.314286
130
455
1.1
0.123077
0.335664
0.125874
0.111888
0.923077
0.923077
0.923077
0.923077
0.923077
0.923077
0
0.035191
0.250549
455
38
35
11.973684
0.384164
0
0
0.923077
0
0.076923
0.926366
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
2afd3eb221dd73e46acdaf7cd5924b75d1f259b8
444
py
Python
WeChall/6.Training/decoder.py
Youngermaster/We-Chall-Challenges
a8efa70464cf7c0a7e9cb40d157473d6bf5bc385
[ "Apache-2.0" ]
null
null
null
WeChall/6.Training/decoder.py
Youngermaster/We-Chall-Challenges
a8efa70464cf7c0a7e9cb40d157473d6bf5bc385
[ "Apache-2.0" ]
null
null
null
WeChall/6.Training/decoder.py
Youngermaster/We-Chall-Challenges
a8efa70464cf7c0a7e9cb40d157473d6bf5bc385
[ "Apache-2.0" ]
null
null
null
from urllib.parse import unquote url = '%59%69%70%70%65%68%21%20%59%6F%75%72%20%55%52%4C%20%69%73%20%63%68%61%6C%6C%65%6E%67%65%2F%74%72%61%69%6E%69%6E%67%2F%65%6E%63%6F%64%69%6E%67%73%2F%75%72%6C%2F%73%61%77%5F%6C%6F%74%69%6F%6E%2E%70%68%70%3F%70%3D%62%69%70%67%62%69%67%6C%65%63%6C%63%26%63%69%64%3D%35%32%23%70%61%73...
88.8
389
0.675676
136
444
2.205882
0.308824
0.04
0.04
0
0
0
0
0
0
0
0
0.505747
0.02027
444
4
390
111
0.183908
0
0
0
0
0.333333
0.858108
0.858108
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
1
1
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
8
6303fd11f983de632723025aee246bd091c06eb7
505
py
Python
Variables/2.5.1.py
MosheBakshi/HANGMAN
49750b98ac54f5eee9378ed66fd67d6dd57dc29a
[ "MIT" ]
null
null
null
Variables/2.5.1.py
MosheBakshi/HANGMAN
49750b98ac54f5eee9378ed66fd67d6dd57dc29a
[ "MIT" ]
null
null
null
Variables/2.5.1.py
MosheBakshi/HANGMAN
49750b98ac54f5eee9378ed66fd67d6dd57dc29a
[ "MIT" ]
null
null
null
HANGMAN_ASCII_ART = (""" _ _ | | | | | |__| | __ _ _ __ __ _ _ __ ___ __ _ _ __ | __ |/ _` | '_ \ / _` | '_ ` _ \ / _` | '_ \ | | | | (_| | | | | (_| | | | | | | (_| | | | | |_| |_|\__,_|_| |_|\__, |_| |_| |_|\__,_|_|...
33.666667
49
0.29505
20
505
4.2
0.55
0.285714
0.357143
0
0
0
0
0
0
0
0
0.004049
0.510891
505
15
50
33.666667
0.336032
0
0
0
0
0.25
0.826464
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
632151b4c8b12bd364c9abc191c32b932ff883f6
4,204
py
Python
repositories/actions/state.py
DevgurusSupport/commercetools-python-sdk
849c4cc182b68850fedc1f67a594449c28a4f751
[ "MIT" ]
null
null
null
repositories/actions/state.py
DevgurusSupport/commercetools-python-sdk
849c4cc182b68850fedc1f67a594449c28a4f751
[ "MIT" ]
null
null
null
repositories/actions/state.py
DevgurusSupport/commercetools-python-sdk
849c4cc182b68850fedc1f67a594449c28a4f751
[ "MIT" ]
null
null
null
from .baseactions import BaseActions from models.state import State import re class StateActions(BaseActions): @classmethod def _regular_attribute_actions(cls, diff: dict, obj, old_obj=None): actions = [] for root_attr in diff: attr = root_attr.split('.')[1] if attr == ...
44.252632
87
0.540676
394
4,204
5.553299
0.149746
0.106947
0.156307
0.04936
0.838208
0.819927
0.80713
0.79479
0.79479
0.77011
0
0.002827
0.326832
4,204
94
88
44.723404
0.770318
0
0
0.701149
0
0
0.136299
0
0
0
0
0
0
1
0.068966
false
0
0.034483
0
0.183908
0
0
0
0
null
0
0
0
1
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
7
2d51eeed22783a075c5718264f1f3003da131451
25,983
py
Python
tests/conftest.py
PeggyJV/cellars
6cba2440ed56508e67cff6fb22114c3e5740bd8e
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
PeggyJV/cellars
6cba2440ed56508e67cff6fb22114c3e5740bd8e
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
PeggyJV/cellars
6cba2440ed56508e67cff6fb22114c3e5740bd8e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 import pytest, math from brownie import accounts, CellarPoolShare, Contract @pytest.fixture(scope="module") def CellarPoolShareContract(USDC, WETH): name = "Cellar Pool Share Token" symbol = "CPS" token0 = USDC token1 = WETH # cellarTickInfo = [[0, 870000, -870000, 1]] cella...
962.333333
15,603
0.668899
2,519
25,983
6.885669
0.088527
0.077371
0.116691
0.072643
0.864226
0.828193
0.808706
0.75774
0.751398
0.712424
0
0.029629
0.005003
25,983
26
15,604
999.346154
0.64128
0.002309
0
0.157895
0
0
0.639211
0.026426
0
0
0.004861
0
0
1
0.210526
false
0
0.105263
0.157895
0.526316
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
12
2d7b9917aec98f84c2ce25f9d2571dfc65bbd9ed
6,309
py
Python
contrib/wydget/wydget/widgets/drawer.py
bitcraft/pyglet
144257c365ca85528c6a4c5bed8141e683d7a9b6
[ "BSD-3-Clause" ]
15
2015-01-21T12:29:01.000Z
2018-12-09T09:17:33.000Z
contrib/wydget/wydget/widgets/drawer.py
bitcraft/pyglet
144257c365ca85528c6a4c5bed8141e683d7a9b6
[ "BSD-3-Clause" ]
null
null
null
contrib/wydget/wydget/widgets/drawer.py
bitcraft/pyglet
144257c365ca85528c6a4c5bed8141e683d7a9b6
[ "BSD-3-Clause" ]
9
2015-12-12T09:12:46.000Z
2021-12-26T13:29:14.000Z
from wydget import anim from wydget.widgets.frame import Frame class Drawer(Frame): """A *transparent container* that may hide and expose its contents. """ name = 'drawer' HIDDEN = 'hidden' EXPOSED = 'exposed' LEFT = 'left' RIGHT = 'right' TOP = 'top' BOTTOM = 'bottom' def _...
35.05
72
0.518466
765
6,309
4.216993
0.101961
0.127092
0.079355
0.039678
0.815561
0.796032
0.779293
0.779293
0.779293
0.779293
0
0.007483
0.364559
6,309
179
73
35.24581
0.797206
0.010144
0
0.727848
0
0
0.005935
0
0
0
0
0
0
1
0.063291
false
0
0.012658
0
0.158228
0
0
0
0
null
0
0
0
1
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
7
2dd69a9a4545cb95b50291a577dec4fd615bb04c
10,440
py
Python
tests/integration_tests/python/test_propagation.py
scitran/nimsapi
a4203cf6c6d29aa15d33011250ee69ff929fcb0d
[ "MIT" ]
13
2016-05-31T14:32:58.000Z
2021-09-17T07:18:11.000Z
tests/integration_tests/python/test_propagation.py
scitran/core
a4203cf6c6d29aa15d33011250ee69ff929fcb0d
[ "MIT" ]
911
2016-02-16T18:40:27.000Z
2018-08-07T17:50:29.000Z
tests/integration_tests/python/test_propagation.py
scitran/nimsapi
a4203cf6c6d29aa15d33011250ee69ff929fcb0d
[ "MIT" ]
16
2016-02-17T15:54:34.000Z
2021-04-07T05:30:34.000Z
# Test changing propagated properties def test_public_propagation_from_project(data_builder, as_admin): """ Tests: - 'public' is a propagated property """ project = data_builder.create_project() session = data_builder.create_session() acquisition = data_builder.create_acquisition() p...
33.354633
115
0.646648
1,457
10,440
4.459849
0.070693
0.06679
0.068944
0.06602
0.875808
0.845029
0.806402
0.804709
0.785165
0.765928
0
0.00061
0.215038
10,440
312
116
33.461538
0.792312
0.116762
0
0.848039
0
0
0.144592
0
0
0
0
0
0.279412
1
0.039216
false
0
0
0
0.058824
0
0
0
0
null
0
0
0
1
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
7
2ddfb7aad8002c9fa30cae84859622223cb7810d
95
py
Python
family_task_queue/db/__init__.py
HitmanBobina47/family-task-queue
d9db82065b88ff7aa85963245dfb5448735464c9
[ "MIT" ]
null
null
null
family_task_queue/db/__init__.py
HitmanBobina47/family-task-queue
d9db82065b88ff7aa85963245dfb5448735464c9
[ "MIT" ]
null
null
null
family_task_queue/db/__init__.py
HitmanBobina47/family-task-queue
d9db82065b88ff7aa85963245dfb5448735464c9
[ "MIT" ]
null
null
null
from . import task, user, db as _db from .db import * def init_app(app): db.init_app(app)
15.833333
35
0.673684
18
95
3.388889
0.5
0.229508
0.327869
0
0
0
0
0
0
0
0
0
0.210526
95
5
36
19
0.813333
0
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
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
7
936c119f00a532271de1f3993a4a84c7e0d227ea
837
py
Python
src/encoded/tests/fixtures/schemas/correlation_quality_metric.py
procha2/encoded
e9f122362b71f3b8641023b8d2d5ad531d3484b7
[ "MIT" ]
102
2015-05-20T01:17:43.000Z
2022-03-07T06:03:55.000Z
src/encoded/tests/fixtures/schemas/correlation_quality_metric.py
procha2/encoded
e9f122362b71f3b8641023b8d2d5ad531d3484b7
[ "MIT" ]
901
2015-01-07T23:11:57.000Z
2022-03-18T13:56:12.000Z
src/encoded/tests/fixtures/schemas/correlation_quality_metric.py
procha2/encoded
e9f122362b71f3b8641023b8d2d5ad531d3484b7
[ "MIT" ]
65
2015-02-06T23:00:26.000Z
2022-01-22T07:58:44.000Z
import pytest @pytest.fixture def correlation_quality_metric(testapp, analysis_step_run_bam, file_tsv_1_2, award, lab): item = { 'step_run': analysis_step_run_bam['@id'], 'quality_metric_of': [file_tsv_1_2['@id']], 'Pearson correlation': 0.1, 'award': award['@id'], 'lab': l...
31
98
0.642772
111
837
4.477477
0.261261
0.156942
0.193159
0.144869
0.812877
0.812877
0.812877
0.812877
0.812877
0.812877
0
0.02071
0.192354
837
26
99
32.192308
0.714497
0
0
0.666667
0
0
0.232975
0.064516
0
0
0
0
0
1
0.095238
false
0
0.047619
0
0.238095
0
0
0
0
null
0
1
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
7
35822ea97b82e59603fb219e1409394d0461c4d2
57,741
py
Python
PicoCTF/2017/Level 1/worldchat.py
bernardosequeir/CTFfiles
36a6ceba49d9a9019056d3669c5e8f84aa83b618
[ "MIT" ]
null
null
null
PicoCTF/2017/Level 1/worldchat.py
bernardosequeir/CTFfiles
36a6ceba49d9a9019056d3669c5e8f84aa83b618
[ "MIT" ]
5
2020-09-23T18:28:25.000Z
2020-09-23T18:28:41.000Z
PicoCTF/2017/Level 1/worldchat.py
bernardosequeir/CTFSolutions
503944617cb18826d12ab98fa33fd761e791328a
[ "MIT" ]
null
null
null
text = "20:31:27 clinton: my parents , in my opinion, are our best chance for what, I do not know 20:31:27 hildegard: My sworn enemy totally understands me and my pet sloth to generate fusion power 20:31:27 jazmin: You is our best chance to drink your milkshake 20:31:27 dede: A huge moose is our best chance to create a...
80.643855
139
0.779723
11,507
57,741
3.912575
0.017902
0.063258
0.036382
0.03234
0.916063
0.909044
0.894141
0.856692
0.825108
0.767003
0
0.090462
0.175439
57,741
715
140
80.756643
0.85516
0
0
0
1
0.345506
0.012002
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
1
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
9
35ac3a79b2fe5d17700cef0d553a62c5f8265bbe
139
py
Python
my_feed/__init__.py
SimoneABNto/My-Code-Py
47276c1d69a92aa284685c9f148c1bd960147f7f
[ "MIT" ]
null
null
null
my_feed/__init__.py
SimoneABNto/My-Code-Py
47276c1d69a92aa284685c9f148c1bd960147f7f
[ "MIT" ]
null
null
null
my_feed/__init__.py
SimoneABNto/My-Code-Py
47276c1d69a92aa284685c9f148c1bd960147f7f
[ "MIT" ]
null
null
null
from my_feed.my_feed import Updater from my_feed.modules.post import PostModel, MediaModel from my_feed.modules.types import PostType
27.8
55
0.827338
22
139
5.045455
0.5
0.216216
0.27027
0.306306
0
0
0
0
0
0
0
0
0.129496
139
4
56
34.75
0.917355
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
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
8
35d15ab910f95d264d0b96e081e31de86168761d
8,794
py
Python
Rosalind.info Problems/Reverse complement.py
peterforgacs/bioinformatics-scripts
f4a497b84bc3cf0c295b7e6b506b9dd9c88e7881
[ "MIT" ]
null
null
null
Rosalind.info Problems/Reverse complement.py
peterforgacs/bioinformatics-scripts
f4a497b84bc3cf0c295b7e6b506b9dd9c88e7881
[ "MIT" ]
null
null
null
Rosalind.info Problems/Reverse complement.py
peterforgacs/bioinformatics-scripts
f4a497b84bc3cf0c295b7e6b506b9dd9c88e7881
[ "MIT" ]
null
null
null
__author__ = 'Peter' t = "ATATTGGCTTGGTGACCATATGGTCTAACCCCGTCCTCGTATGCCTGGAAGAACGAGACGGTTGCCGTTGCTCGGCTAGTCTCTCGACGTGAGCCAAATGCAGGGATCCTTTTATTTTTCAGTAAAGTCAGAGATGTGTATTTGGAGTATCAGAACGATGTGAAACTTGCAAGCAGACTGGCGCTGGATAGGGAAACAGTGCTGGCTGCGACAATCCATGAAATCTCGAATTAATGAAGTCTGCTCACCTAACCAGCTTTGGAGATGTGCGTATATGTCTGAGTAGAGGAAACT...
462.842105
8,489
0.974301
53
8,794
161.584906
0.301887
0.001868
0.001752
0.002452
0.003153
0.003153
0
0
0
0
0
0.001041
0.017171
8,794
19
8,490
462.842105
0.989818
0
0
0.222222
0
0
0.966003
0.964525
0
1
0
0
0
0
null
null
0
0
null
null
0.055556
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
1
0
0
0
0
0
0
0
0
7
35e540dc3c381ff4b46e2a9e9c3ec9227da2f9e0
19,304
py
Python
old training/1. Finding the learning-rate/3.Weight_decay_finder.py
marctimjen/Artefact-Rejection
4e850d172fa8c08ba1776c46e760484673d7e7ad
[ "MIT" ]
null
null
null
old training/1. Finding the learning-rate/3.Weight_decay_finder.py
marctimjen/Artefact-Rejection
4e850d172fa8c08ba1776c46e760484673d7e7ad
[ "MIT" ]
null
null
null
old training/1. Finding the learning-rate/3.Weight_decay_finder.py
marctimjen/Artefact-Rejection
4e850d172fa8c08ba1776c46e760484673d7e7ad
[ "MIT" ]
null
null
null
import neptune.new as neptune import os import torch.nn as nn import torch import torch.nn.functional as F from torch.optim import SGD, Adam from torch.utils.data import DataLoader, random_split from torch.optim.lr_scheduler import CyclicLR import torch.multiprocessing as mp import numpy as np import random import sys...
32.663283
82
0.558226
2,126
19,304
4.80809
0.082314
0.078263
0.058697
0.06486
0.887889
0.880747
0.864312
0.852769
0.852769
0.852769
0
0.025379
0.330501
19,304
590
83
32.718644
0.765552
0.026419
0
0.745011
0
0
0.158859
0.101363
0
0
0
0
0
1
0.028825
false
0.002217
0.039911
0
0.068736
0.002217
0
0
0
null
0
0
0
1
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
7
577e5419d40e6373e39f8b7f01e95910412bb05c
87,105
py
Python
phone_gen/patterns.py
tolstislon/phone_gen
3e85fa87ac706715f4dd0489774d8f5f618defdb
[ "MIT" ]
null
null
null
phone_gen/patterns.py
tolstislon/phone_gen
3e85fa87ac706715f4dd0489774d8f5f618defdb
[ "MIT" ]
null
null
null
phone_gen/patterns.py
tolstislon/phone_gen
3e85fa87ac706715f4dd0489774d8f5f618defdb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Auto-generated file 2022-04-22 09:25:28 UTC Resource: https://github.com/google/libphonenumber v8.12.47 """ PATTERNS = { "info": "libphonenumber v8.12.47", "data": { "AC": { "code": "247", "pattern": "((6[2-467][\\d]{3}))", "mobile": "((4...
71.280687
1,767
0.316342
16,414
87,105
1.67875
0.06464
0.020033
0.021194
0.002323
0.221121
0.165124
0.152241
0.148394
0.148394
0.147233
0
0.291839
0.169887
87,105
1,221
1,768
71.339066
0.089244
0.001447
0
0.058484
1
0.268534
0.762254
0.687114
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
1
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
578e59330093b826b7d82330f59b1553ce7bc3f3
4,065
py
Python
tests/app/migrations/0001_initial.py
marteinn/wagtail-meta-preview
c07a1bace9b9f18dc4c4ef5429eb9b94fdc4eb0b
[ "MIT" ]
22
2020-08-02T07:37:48.000Z
2022-03-23T08:10:42.000Z
tests/app/migrations/0001_initial.py
marteinn/wagtail-meta-preview
c07a1bace9b9f18dc4c4ef5429eb9b94fdc4eb0b
[ "MIT" ]
2
2020-08-02T19:27:12.000Z
2020-08-16T10:02:59.000Z
tests/app/migrations/0001_initial.py
marteinn/wagtail-meta-preview
c07a1bace9b9f18dc4c4ef5429eb9b94fdc4eb0b
[ "MIT" ]
2
2020-08-02T18:55:44.000Z
2020-08-03T12:01:54.000Z
# Generated by Django 3.0.8 on 2020-08-02 16:32 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('wagtailimages', '0022_uploadedimage'), ('wagtailcore', '0045_assign_unlock_grouppagepermission')...
60.671642
196
0.637392
446
4,065
5.630045
0.170404
0.0681
0.111509
0.133811
0.882119
0.882119
0.882119
0.866189
0.84548
0.84548
0
0.019243
0.220172
4,065
66
197
61.590909
0.772871
0.01107
0
0.677966
1
0
0.197362
0.009457
0
0
0
0
0
1
0
false
0
0.033898
0
0.101695
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
17a7f53b70c142f50e5c21f873cd59472f6b8e56
126
py
Python
__init__.py
ValdrST/vrtg
1315cde2d8978da0f86e81bf1f25f06a710235a7
[ "MIT" ]
null
null
null
__init__.py
ValdrST/vrtg
1315cde2d8978da0f86e81bf1f25f06a710235a7
[ "MIT" ]
null
null
null
__init__.py
ValdrST/vrtg
1315cde2d8978da0f86e81bf1f25f06a710235a7
[ "MIT" ]
null
null
null
from . import tools from .tools import Graficador from .tools import Server from .tools import Console from .main import main
21
29
0.801587
19
126
5.315789
0.368421
0.267327
0.445545
0
0
0
0
0
0
0
0
0
0.15873
126
5
30
25.2
0.95283
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
17cae3ad1969e8b424f6f6998a9e7af680967188
45
py
Python
copyrightextractor/__init__.py
samaybhavsar/copyrightextractor
9dec2d475575739689e558a6f5beeaa52ff7c925
[ "MIT" ]
1
2020-04-28T01:28:54.000Z
2020-04-28T01:28:54.000Z
copyrightextractor/__init__.py
samaybhavsar/copyrightextractor
9dec2d475575739689e558a6f5beeaa52ff7c925
[ "MIT" ]
1
2018-03-11T03:42:17.000Z
2018-04-16T07:00:25.000Z
copyrightextractor/__init__.py
samaybhavsar/copyrightextractor
9dec2d475575739689e558a6f5beeaa52ff7c925
[ "MIT" ]
1
2018-03-11T03:42:22.000Z
2018-03-11T03:42:22.000Z
from copyrightextractor import htmlextractor
22.5
44
0.911111
4
45
10.25
1
0
0
0
0
0
0
0
0
0
0
0
0.088889
45
1
45
45
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
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
7
17ddeb24f47466aacb81a1aeba3a815c3adb4246
3,268
py
Python
dev/services/wms/ows_refactored/inland_water/wofs/ows_wofs_cfg.py
nf-s/dea-config
e0fe5fde8a99ad29472c5d14531ecc9208578040
[ "Apache-2.0" ]
14
2018-08-20T00:31:50.000Z
2022-02-04T08:13:06.000Z
dev/services/wms/ows_refactored/inland_water/wofs/ows_wofs_cfg.py
nf-s/dea-config
e0fe5fde8a99ad29472c5d14531ecc9208578040
[ "Apache-2.0" ]
145
2018-06-04T05:06:14.000Z
2022-02-22T23:02:00.000Z
dev/services/wms/ows_refactored/inland_water/wofs/ows_wofs_cfg.py
nf-s/dea-config
e0fe5fde8a99ad29472c5d14531ecc9208578040
[ "Apache-2.0" ]
35
2018-06-04T05:04:15.000Z
2022-01-25T07:48:07.000Z
layers = { "title": "DEA Water Observations", "abstract": "Digital Earth Australia (DEA) Water Observations from Space (WOfS)", "layers": [ { "include": "ows_refactored.inland_water.wofs.individual.ows_c3_wo_cfg.layer", "type": "python", }, { "inc...
35.521739
108
0.556916
340
3,268
4.955882
0.114706
0.124629
0.249258
0.324036
0.898516
0.880712
0.880712
0.880712
0.84451
0.814837
0
0.009276
0.307222
3,268
91
109
35.912088
0.734982
0
0
0.233333
0
0
0.591674
0.449648
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
aa0aaf88ff6c65d73442698ef071ddd47fb01dc6
3,243
py
Python
aclark/db/migrations/0023_auto_20190705_2318.py
aclark4life/aclark-net-1
e256bfdd63ad4445bf0a75ef0b91f6e1fd2479ea
[ "MIT" ]
null
null
null
aclark/db/migrations/0023_auto_20190705_2318.py
aclark4life/aclark-net-1
e256bfdd63ad4445bf0a75ef0b91f6e1fd2479ea
[ "MIT" ]
null
null
null
aclark/db/migrations/0023_auto_20190705_2318.py
aclark4life/aclark-net-1
e256bfdd63ad4445bf0a75ef0b91f6e1fd2479ea
[ "MIT" ]
null
null
null
# Generated by Django 2.1.10 on 2019-07-05 23:18 from django.db import migrations class Migration(migrations.Migration): dependencies = [("db", "0022_remove_project_user_hours")] operations = [ migrations.RemoveField(model_name="client", name="icon_color"), migrations.RemoveField(model_name...
60.055556
80
0.708603
362
3,243
6.11326
0.146409
0.398554
0.493448
0.569363
0.893809
0.893809
0.792137
0.090375
0.047899
0
0
0.007184
0.141536
3,243
53
81
61.188679
0.787716
0.014184
0
0
1
0
0.222222
0.00939
0
0
0
0
0
1
0
false
0
0.021277
0
0.085106
0
0
0
0
null
1
1
1
1
1
1
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
0
0
0
0
0
0
0
7
a4cffcfbc4e685cad628dea6f7715d011f1934a9
19,492
py
Python
packagepy/htmlpy.py
salimsuprayogi/test_automation_whatsapp
8b980fdb0e8e30a9b253742a704f1ecbc3cc4a34
[ "MIT" ]
2
2020-10-28T13:33:38.000Z
2022-03-27T17:53:01.000Z
packagepy/htmlpy.py
salimsuprayogi/test_automation_whatsapp
8b980fdb0e8e30a9b253742a704f1ecbc3cc4a34
[ "MIT" ]
null
null
null
packagepy/htmlpy.py
salimsuprayogi/test_automation_whatsapp
8b980fdb0e8e30a9b253742a704f1ecbc3cc4a34
[ "MIT" ]
null
null
null
#!python3 # -*- coding: utf-8 -*- # automationpy/packagepy/htmlpy # salim suprayogi # created 21 Oktober 2020 # create html with dominate import dominate from dominate.tags import * import os import io import whatsapp def nama_tester(tester="Salim Suprayogi"): # Function name tester nama_tester = tester ...
32.814815
125
0.388467
1,613
19,492
4.586485
0.130192
0.034063
0.018924
0.03163
0.873209
0.859286
0.849959
0.836037
0.831035
0.831035
0
0.023743
0.500872
19,492
593
126
32.870152
0.736664
0.092756
0
0.641026
0
0
0.123608
0.0104
0
0
0
0
0
1
0.017094
false
0.034188
0.021368
0
0.042735
0.012821
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
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
7
a4d65874a265bbe3a1d0d75260624d6098eb5e16
91,012
py
Python
huaweicloud-sdk-swr/huaweicloudsdkswr/v2/swr_async_client.py
wuchen-huawei/huaweicloud-sdk-python-v3
3683d703f4320edb2b8516f36f16d485cff08fc2
[ "Apache-2.0" ]
64
2020-06-12T07:05:07.000Z
2022-03-30T03:32:50.000Z
huaweicloud-sdk-swr/huaweicloudsdkswr/v2/swr_async_client.py
wuchen-huawei/huaweicloud-sdk-python-v3
3683d703f4320edb2b8516f36f16d485cff08fc2
[ "Apache-2.0" ]
11
2020-07-06T07:56:54.000Z
2022-01-11T11:14:40.000Z
huaweicloud-sdk-swr/huaweicloudsdkswr/v2/swr_async_client.py
wuchen-huawei/huaweicloud-sdk-python-v3
3683d703f4320edb2b8516f36f16d485cff08fc2
[ "Apache-2.0" ]
24
2020-06-08T11:42:13.000Z
2022-03-04T06:44:08.000Z
# coding: utf-8 from __future__ import absolute_import import datetime import re import importlib import six from huaweicloudsdkcore.client import Client, ClientBuilder from huaweicloudsdkcore.exceptions import exceptions from huaweicloudsdkcore.utils import http_utils from huaweicloudsdkcore.sdk_stream_request imp...
30.408286
119
0.62483
8,768
91,012
6.093864
0.037865
0.046415
0.081226
0.033239
0.918549
0.906028
0.875147
0.854934
0.844266
0.698097
0
0.000696
0.289489
91,012
2,992
120
30.418449
0.825578
0.10436
0
0.844367
0
0
0.116378
0.048964
0
0
0
0
0
1
0.052846
false
0
0.005807
0
0.11324
0
0
0
0
null
0
0
0
1
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
7
3502228b9652ea9c62b254b734603d057b12470e
641
py
Python
src/recording_script_generator_tests/test_utils.py
stefantaubert/recording-script-generator
01cdcd4b85ed7f245f4bb8535d870c04472746c9
[ "MIT" ]
null
null
null
src/recording_script_generator_tests/test_utils.py
stefantaubert/recording-script-generator
01cdcd4b85ed7f245f4bb8535d870c04472746c9
[ "MIT" ]
null
null
null
src/recording_script_generator_tests/test_utils.py
stefantaubert/recording-script-generator
01cdcd4b85ed7f245f4bb8535d870c04472746c9
[ "MIT" ]
null
null
null
from ordered_set import OrderedSet # def test_detect_ids_from_tex__one_id(): # input_tex = "\\item Nor do all men find the same things the objects of their fear, anger, repulsion, and the rest. % 1\n" # res = detect_ids_from_tex(input_tex) # assert res == OrderedSet([1]) # def test_detect_ids_from_tex__two_i...
37.705882
233
0.720749
111
641
3.936937
0.324324
0.08238
0.118993
0.146453
0.897025
0.897025
0.791762
0.791762
0.791762
0.791762
0
0.015238
0.180967
641
16
234
40.0625
0.817143
0.907956
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
10
35050e5a210bd99be33c7b7857df299f5d2a8895
6,545
py
Python
loldib/getratings/models/NA/na_maokai/na_maokai_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_maokai/na_maokai_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_maokai/na_maokai_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from getratings.models.ratings import Ratings class NA_Maokai_Mid_Aatrox(Ratings): pass class NA_Maokai_Mid_Ahri(Ratings): pass class NA_Maokai_Mid_Akali(Ratings): pass class NA_Maokai_Mid_Alistar(Ratings): pass class NA_Maokai_Mid_Amumu(Ratings): pass class NA_Maokai_Mid_Anivia(Ratings): ...
15.695444
46
0.766692
972
6,545
4.736626
0.151235
0.209818
0.389661
0.479583
0.803432
0.803432
0
0
0
0
0
0
0.169748
6,545
416
47
15.733173
0.847258
0
0
0.498195
0
0
0
0
0
0
0
0
0
1
0
true
0.498195
0.00361
0
0.501805
0
0
0
0
null
1
1
1
1
1
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
8
3511fa656a379307ade37209bc4ba6acd69e9010
3,391
py
Python
test/enabled/test_impl/test_JobBrowserBFF_query_jobs_admin_ee2_test.py
eapearson/kbase-skd-module-job-browser-bff
426445f90569adac16632ef4921f174e51abd42f
[ "MIT" ]
null
null
null
test/enabled/test_impl/test_JobBrowserBFF_query_jobs_admin_ee2_test.py
eapearson/kbase-skd-module-job-browser-bff
426445f90569adac16632ef4921f174e51abd42f
[ "MIT" ]
6
2020-05-26T17:40:07.000Z
2022-03-11T16:33:11.000Z
test/enabled/test_impl/test_JobBrowserBFF_query_jobs_admin_ee2_test.py
eapearson/kbase-skd-module-job-browser-bff
426445f90569adac16632ef4921f174e51abd42f
[ "MIT" ]
1
2020-05-26T17:12:59.000Z
2020-05-26T17:12:59.000Z
# -*- coding: utf-8 -*- from JobBrowserBFF.TestBase import TestBase UPSTREAM_SERVICE = 'ee2' TIMEOUT = 10000 ENV = 'ci' USER_CLASS = 'admin' TIME_FROM = 1585699200000 # 4/1/20 TIME_TO = 1585872000000 # 4/4/20 class JobBrowserBFFTest(TestBase): # Uncomment to skip this test # @unittest.skip("skipped test_q...
35.694737
89
0.519021
347
3,391
4.786744
0.233429
0.048766
0.04696
0.040939
0.838651
0.818784
0.818784
0.74413
0.74413
0.74413
0
0.029089
0.381598
3,391
94
90
36.074468
0.762995
0.132704
0
0.701299
0
0
0.090536
0
0
0
0
0.010638
0.12987
1
0.038961
false
0
0.012987
0
0.064935
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
8
1041fc440ac4f119233609607fe39270c43eb3ba
27,233
py
Python
sdk/python/pulumi_lxd/container.py
soupdiver/pulumi-lxd
258395aefd6a4cf138d470d7de70babed3310063
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_lxd/container.py
soupdiver/pulumi-lxd
258395aefd6a4cf138d470d7de70babed3310063
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_lxd/container.py
soupdiver/pulumi-lxd
258395aefd6a4cf138d470d7de70babed3310063
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
39.640466
134
0.62931
3,063
27,233
5.359125
0.054195
0.118611
0.165519
0.083095
0.874079
0.853244
0.805605
0.783856
0.761681
0.712214
0
0.001992
0.244189
27,233
686
135
39.698251
0.795511
0.040943
0
0.803571
1
0
0.094458
0.007675
0
0
0
0
0
1
0.164286
false
0.001786
0.0125
0.092857
0.276786
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
105e26a321db3e638ee833fa80fee750cccb0980
13,352
py
Python
bio_rtd_test/unit_test/test_pdf.py
open-biotech/bio-rtd
c3e2cf4d7d646bda719e5fc6f694a1cae0e412c0
[ "MIT" ]
5
2020-03-30T13:26:12.000Z
2021-04-02T07:10:49.000Z
bio_rtd_test/unit_test/test_pdf.py
open-biotech/bio-rtd
c3e2cf4d7d646bda719e5fc6f694a1cae0e412c0
[ "MIT" ]
null
null
null
bio_rtd_test/unit_test/test_pdf.py
open-biotech/bio-rtd
c3e2cf4d7d646bda719e5fc6f694a1cae0e412c0
[ "MIT" ]
1
2020-06-03T07:50:56.000Z
2020-06-03T07:50:56.000Z
import unittest import numpy as np from bio_rtd.utils.vectors import true_start, true_end from bio_rtd import pdf, peak_shapes, logger class GaussianTest(unittest.TestCase): @staticmethod def get_gauss_pdf_with_cutoff(t, rt_mean, sigma, cutoff) -> np.ndarray: p: np.ndarray = peak_shapes.gaussian(t, r...
49.820896
115
0.468919
1,576
13,352
3.71066
0.08566
0.083105
0.038304
0.03591
0.883037
0.852257
0.821819
0.784713
0.742305
0.706566
0
0.054531
0.443754
13,352
267
116
50.007491
0.732867
0.056246
0
0.720721
0
0
0
0
0
0
0
0
0.085586
1
0.058559
false
0
0.018018
0
0.103604
0
0
0
0
null
0
0
0
1
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
7
107622d2d82b21cf8a5297cfe93d5e246ea8e7b8
129
py
Python
visualize/grid_attention_visualization/__init__.py
rentainhe/visualization
d9a8aac82ac6049b3fd59754c6ccf3bd60206218
[ "MIT" ]
169
2021-03-14T13:35:07.000Z
2022-03-29T12:21:18.000Z
visualize/grid_attention_visualization/__init__.py
liwanzhao/visualization
0cd047a02957019f9b551f016db21b5117e1cfcd
[ "MIT" ]
6
2021-09-29T08:15:53.000Z
2022-03-13T10:08:29.000Z
visualize/grid_attention_visualization/__init__.py
liwanzhao/visualization
0cd047a02957019f9b551f016db21b5117e1cfcd
[ "MIT" ]
31
2021-03-14T13:35:11.000Z
2022-03-25T11:10:45.000Z
from .visualize_attention_map import visualize_grid_attention from .visualize_attention_map_V2 import visualize_grid_attention_v2
64.5
67
0.930233
18
129
6.111111
0.388889
0.236364
0.4
0.454545
0
0
0
0
0
0
0
0.016393
0.054264
129
2
67
64.5
0.885246
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
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
8
107bb5ad6c81f8a82ea1bcbd831d2bbb0aa38796
127
py
Python
procuret/integrate/xero/__init__.py
Procuret/procuret-python
2f49cbd3454e33986c84a6c32c0f0ab8f60d4b82
[ "MIT" ]
null
null
null
procuret/integrate/xero/__init__.py
Procuret/procuret-python
2f49cbd3454e33986c84a6c32c0f0ab8f60d4b82
[ "MIT" ]
null
null
null
procuret/integrate/xero/__init__.py
Procuret/procuret-python
2f49cbd3454e33986c84a6c32c0f0ab8f60d4b82
[ "MIT" ]
1
2020-10-28T14:26:21.000Z
2020-10-28T14:26:21.000Z
from procuret.integrate.xero.entity_map import XeroEntityMap from procuret.integrate.xero.organisation import XeroOrganisation
42.333333
65
0.889764
15
127
7.466667
0.666667
0.214286
0.375
0.446429
0
0
0
0
0
0
0
0
0.062992
127
2
66
63.5
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
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
8
10b52531bd78d3cd984398a99729052f4c8bca39
1,070
py
Python
avencoding/__init__.py
CraftYun83/AVEncoding
a6dc603f29e35071c25a1c48cd5464c15ddcafd1
[ "MIT" ]
null
null
null
avencoding/__init__.py
CraftYun83/AVEncoding
a6dc603f29e35071c25a1c48cd5464c15ddcafd1
[ "MIT" ]
null
null
null
avencoding/__init__.py
CraftYun83/AVEncoding
a6dc603f29e35071c25a1c48cd5464c15ddcafd1
[ "MIT" ]
null
null
null
def encode(string,level): import base64 message = string message_bytes = message.encode('ascii') base64_bytes = base64.b64encode(message_bytes) base64_message = base64_bytes.decode('ascii') if level == 1 or 0: return(base64_message) else: for i in range(level - 1...
32.424242
59
0.635514
122
1,070
5.360656
0.180328
0.238532
0.165138
0.229358
0.972477
0.972477
0.972477
0.972477
0.972477
0.972477
0
0.079692
0.272897
1,070
33
60
32.424242
0.760925
0
0
0.928571
0
0
0.038499
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.142857
0
0
0
0
null
1
0
1
1
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
9
52f2e80c2369df89ec3d58dc0d2f2b00731ef0c1
31,077
py
Python
test/TestCopyDataToPersonFormEventTree.py
ruchidesai/redi
562706805fb6bb472f38ba79094a57c72848492e
[ "BSD-3-Clause" ]
null
null
null
test/TestCopyDataToPersonFormEventTree.py
ruchidesai/redi
562706805fb6bb472f38ba79094a57c72848492e
[ "BSD-3-Clause" ]
null
null
null
test/TestCopyDataToPersonFormEventTree.py
ruchidesai/redi
562706805fb6bb472f38ba79094a57c72848492e
[ "BSD-3-Clause" ]
null
null
null
import unittest import os from lxml import etree import redi file_dir = os.path.dirname(os.path.realpath(__file__)) goal_dir = os.path.join(file_dir, "../") proj_root = os.path.abspath(goal_dir)+'/' DEFAULT_DATA_DIRECTORY = os.getcwd() class TestCopyDataToPersonFormEventTree(unittest.TestCase): def setUp(self):...
51.451987
450
0.678894
3,420
31,077
5.865205
0.03538
0.05429
0.073284
0.062516
0.961065
0.955332
0.954335
0.946109
0.931253
0.931253
0
0.018519
0.186826
31,077
603
451
51.537313
0.775236
0.000804
0
0.851782
0
0.037523
0.731981
0.499936
0
0
0
0
0.026266
1
0.02439
false
0
0.099437
0.001876
0.125704
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
5e2cf6d47eccbca0c66d2ea2a9a975b2b504e47b
2,780
py
Python
wio/termui.py
Seeed-Studio/wio-cli
ce83f4c2d30be7f72d1a128acd123dfc5effa563
[ "MIT" ]
29
2016-03-28T12:32:51.000Z
2020-04-20T08:00:10.000Z
wio/termui.py
Seeed-Studio/wio-cli
ce83f4c2d30be7f72d1a128acd123dfc5effa563
[ "MIT" ]
10
2016-05-27T10:35:48.000Z
2021-08-20T18:11:08.000Z
wio/termui.py
Seeed-Studio/wio-cli
ce83f4c2d30be7f72d1a128acd123dfc5effa563
[ "MIT" ]
13
2016-01-25T03:34:02.000Z
2021-11-30T09:05:06.000Z
from time import sleep import click import threading class waiting_echo(threading.Thread): def __init__(self, msg): threading.Thread.__init__(self) self.msg = msg self.exiting=False self.flag = True def run(self): while not self.exiting: click.echo("\r-%s" %s...
36.103896
98
0.481655
375
2,780
3.530667
0.170667
0.251511
0.172205
0.229607
0.758308
0.758308
0.758308
0.758308
0.73716
0.73716
0
0.016194
0.289209
2,780
76
99
36.578947
0.653846
0
0
0.652778
0
0
0.147122
0
0
0
0
0
0
1
0.069444
false
0
0.041667
0
0.138889
0
0
0
0
null
1
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
7
5e3b93cab656e4372bb130c7e09e6b5ac60e21fd
9,112
py
Python
Python/REST/rest.py
alexanderkrauck/Weatherstation
bee84d974ee53ae9700681b9e22898137d95f932
[ "WTFPL" ]
null
null
null
Python/REST/rest.py
alexanderkrauck/Weatherstation
bee84d974ee53ae9700681b9e22898137d95f932
[ "WTFPL" ]
5
2018-01-11T11:53:06.000Z
2018-03-01T12:17:57.000Z
Python/REST/rest.py
alexanderkrauck/Weatherstation
bee84d974ee53ae9700681b9e22898137d95f932
[ "WTFPL" ]
null
null
null
from flask import Flask, url_for from flask import Response import flask import web import json #import responses import requests import mysql.connector import logging app = Flask(__name__) log = logging.getLogger('werkzeug') #flask logger log.setLevel(logging.CRITICAL) mysql_host = "db" mysql_user = "root" mysql_pa...
38.774468
235
0.650461
1,179
9,112
4.873622
0.142494
0.055691
0.024887
0.033066
0.771319
0.771319
0.771319
0.771319
0.764184
0.764184
0
0.0118
0.228051
9,112
234
236
38.940171
0.80509
0.034021
0
0.719626
0
0.004673
0.205119
0.051422
0
0
0
0
0
1
0.03271
false
0.051402
0.037383
0.004673
0.163551
0.070093
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
1
0
0
0
0
0
7
eaefeec7f641c642150f5c181ac9da9b3bd0a0f5
46
py
Python
petrophysics/conversions/__init__.py
petroGG/petrophysics
953023d89969f7970f584604146118ad7123ce30
[ "MIT" ]
47
2016-06-30T20:04:02.000Z
2021-12-11T17:01:04.000Z
petrophysics/conversions/__init__.py
Khalilsqu/petrophysics
953023d89969f7970f584604146118ad7123ce30
[ "MIT" ]
null
null
null
petrophysics/conversions/__init__.py
Khalilsqu/petrophysics
953023d89969f7970f584604146118ad7123ce30
[ "MIT" ]
35
2016-09-30T17:28:48.000Z
2022-01-06T02:24:53.000Z
from . import oil from . import temperature
9.2
25
0.73913
6
46
5.666667
0.666667
0.588235
0
0
0
0
0
0
0
0
0
0
0.217391
46
4
26
11.5
0.944444
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
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
7
d82405f08b6204f1ab0cb9e96939f8dfafa4abe7
484
py
Python
s3_mysql_backup/test/test_accounting_file_patterns.py
fogcitymarathoner/s3_mysql_backup
f6e821889abae16381e9a7fa49d24a61ffb28ac2
[ "MIT" ]
null
null
null
s3_mysql_backup/test/test_accounting_file_patterns.py
fogcitymarathoner/s3_mysql_backup
f6e821889abae16381e9a7fa49d24a61ffb28ac2
[ "MIT" ]
null
null
null
s3_mysql_backup/test/test_accounting_file_patterns.py
fogcitymarathoner/s3_mysql_backup
f6e821889abae16381e9a7fa49d24a61ffb28ac2
[ "MIT" ]
null
null
null
import re from s3_mysql_backup.scripts.backup_gnucash import pat as gpat from s3_mysql_backup.scripts.backup_qb import pat as qpat class Test: assert re.match(gpat, 'Personal041008.20140819135748.gnucash.20151005135235.gnucash.20160921104022.gnucash') assert re.match(gpat, 'Personal041008.20140819135748.gnuca...
48.4
112
0.834711
59
484
6.745763
0.389831
0.060302
0.09799
0.128141
0.736181
0.736181
0.585427
0.585427
0.585427
0.40201
0
0.32809
0.080579
484
9
113
53.777778
0.566292
0
0
0
0
0
0.514463
0.514463
0
0
0
0
0.428571
1
0
true
0
0.428571
0
0.571429
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
1
0
0
1
0
1
0
1
0
0
8
d82bce2aa50e30b42f41478c0ab09e0808fc32d9
69,884
py
Python
tests/pytests/unit/pillar/test_netbox.py
waynegemmell/salt
88056db3589cccab8956c2ae4f9b733acce89461
[ "Apache-2.0" ]
9,425
2015-01-01T05:59:24.000Z
2022-03-31T20:44:05.000Z
tests/pytests/unit/pillar/test_netbox.py
waynegemmell/salt
88056db3589cccab8956c2ae4f9b733acce89461
[ "Apache-2.0" ]
33,507
2015-01-01T00:19:56.000Z
2022-03-31T23:48:20.000Z
tests/pytests/unit/pillar/test_netbox.py
waynegemmell/salt
88056db3589cccab8956c2ae4f9b733acce89461
[ "Apache-2.0" ]
5,810
2015-01-01T19:11:45.000Z
2022-03-31T02:37:20.000Z
""" :codeauthor: Gary T. Giesen <ggiesen@giesen.me> """ import pytest import salt.pillar.netbox as netbox from tests.support.mock import patch @pytest.fixture def default_kwargs(): return { "minion_id": "minion1", "pillar": None, "api_url": "http://netbox.example.com", "api_to...
34.837488
105
0.439357
5,950
69,884
4.920672
0.049076
0.050618
0.056288
0.065544
0.916627
0.888619
0.874377
0.867853
0.855386
0.844832
0
0.048523
0.427308
69,884
2,005
106
34.854863
0.683024
0.000673
0
0.790541
0
0
0.280215
0.039527
0
0
0
0
0.018018
1
0.030405
false
0
0.001689
0.012387
0.044482
0
0
0
0
null
0
0
0
1
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
7
dc1a45a58143402a7de65343e1fe4d7f58ce7198
4,861
py
Python
tests/test_rebuild_app.py
gkzz/mydemo_pack
1accb8a270a6c08ac598da81522648e4cfb1abc1
[ "MIT" ]
null
null
null
tests/test_rebuild_app.py
gkzz/mydemo_pack
1accb8a270a6c08ac598da81522648e4cfb1abc1
[ "MIT" ]
null
null
null
tests/test_rebuild_app.py
gkzz/mydemo_pack
1accb8a270a6c08ac598da81522648e4cfb1abc1
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- from st2tests.base import BaseActionTestCase from mock import MagicMock, patch import json import yaml import os import sys import re BASE_DIR = '/opt/stackstorm/packs/mydemo_pack' sys.path.append(BASE_DIR) sys.path.append(BASE_DIR + '/actions/scripts') sys.path.append('...
32.624161
86
0.565521
512
4,861
5.113281
0.21875
0.064171
0.055004
0.029794
0.818946
0.766234
0.766234
0.766234
0.766234
0.766234
0
0.007383
0.303436
4,861
148
87
32.844595
0.7658
0.016458
0
0.770642
0
0
0.15676
0.047091
0
0
0
0
0.12844
1
0.045872
false
0
0.073395
0
0.174312
0.018349
0
0
0
null
0
0
0
1
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
7
f495ad24bbb5cb96c88aaddfeb6c63928fe380ee
6,512
py
Python
playground/learning-face-3d-movement-detection.py
porcelainruler/Driver-Drowsiness-Detection
a93ccde1c871786178f7c03f4cd793007c017c68
[ "Apache-2.0" ]
null
null
null
playground/learning-face-3d-movement-detection.py
porcelainruler/Driver-Drowsiness-Detection
a93ccde1c871786178f7c03f4cd793007c017c68
[ "Apache-2.0" ]
null
null
null
playground/learning-face-3d-movement-detection.py
porcelainruler/Driver-Drowsiness-Detection
a93ccde1c871786178f7c03f4cd793007c017c68
[ "Apache-2.0" ]
1
2020-11-19T14:17:51.000Z
2020-11-19T14:17:51.000Z
import cv2 import numpy as np import dlib from imutils import face_utils #Take Image capture = cv2.VideoCapture(0) detector = dlib.get_frontal_face_detector() predictor = dlib.shape_predictor('../shape_predictor_68_face_landmarks.dat') while(True): ret, im = capture.read() # im = cv2.cvtColor(frame, cv2.COLOR_...
42.562092
155
0.506143
798
6,512
4.015038
0.199248
0.022472
0.013109
0.009988
0.836454
0.81211
0.772784
0.772784
0.772784
0.772784
0
0.099095
0.355344
6,512
153
156
42.562092
0.664126
0.556972
0
0
0
0
0.04398
0.01442
0
0
0
0
0
0
null
null
0
0.078431
null
null
0.058824
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
1
0
0
0
0
0
0
0
0
7
f4ee91128297ea09493c01d983cb0ec3d9c2d756
326
py
Python
gltools/main/__init__.py
jvzantvoort/gltools
e6b013540983ccc70d23d05279164832047bb966
[ "MIT" ]
null
null
null
gltools/main/__init__.py
jvzantvoort/gltools
e6b013540983ccc70d23d05279164832047bb966
[ "MIT" ]
1
2019-11-12T08:11:14.000Z
2019-11-12T08:11:14.000Z
gltools/main/__init__.py
jvzantvoort/gltools
e6b013540983ccc70d23d05279164832047bb966
[ "MIT" ]
null
null
null
from gltools.main.exportgroup import ExportGroup from gltools.main.workongroup import WorkOnGroup from gltools.main.syncgroup import SyncGroup from gltools.main.syncgroup import SyncGroupLocal from gltools.main.groups import ListGroups from gltools.main.projects import ListProjects from gltools.main.config import InitC...
40.75
49
0.871166
42
326
6.761905
0.333333
0.271127
0.369718
0.169014
0.211268
0
0
0
0
0
0
0
0.08589
326
7
50
46.571429
0.95302
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
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
7
52007d4b7eb014b60c4469384c473c38f1c6535b
7,742
py
Python
django_social_launch/tests/test_urls.py
elricgit/django-social-launch
2c005c26986f97c363978b58cc1ce24c1a4d7ed9
[ "BSD-3-Clause" ]
1
2018-06-19T10:45:22.000Z
2018-06-19T10:45:22.000Z
django_social_launch/tests/test_urls.py
elricgit/django-social-launch
2c005c26986f97c363978b58cc1ce24c1a4d7ed9
[ "BSD-3-Clause" ]
null
null
null
django_social_launch/tests/test_urls.py
elricgit/django-social-launch
2c005c26986f97c363978b58cc1ce24c1a4d7ed9
[ "BSD-3-Clause" ]
null
null
null
#Django imports from django.conf import settings from django.contrib.auth.models import User from django.core.urlresolvers import reverse from django.contrib.sessions.backends.db import SessionStore #App imports from .. import user_successfully_created_msg, referrer_url_session_key, referring_user_id_session_key from ...
35.351598
134
0.761431
988
7,742
5.731781
0.098178
0.079463
0.053682
0.045912
0.907823
0.897581
0.889634
0.873918
0.835953
0.817941
0
0.010632
0.113149
7,742
218
135
35.513761
0.814157
0.004779
0
0.806667
0
0
0.091145
0.025708
0
0
0
0
0.486667
1
0.08
false
0.026667
0.046667
0
0.14
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
520578bfe44ca1433a5ffc231025dbc758c7d26a
4,363
py
Python
reference_quality_predictor/fleiss_kappa.py
Aliossandro/WD_references_analysis
ee054182dd398fed90fce49fdfa4b8cd6192f38e
[ "MIT" ]
5
2017-05-10T08:40:30.000Z
2020-04-27T07:28:48.000Z
reference_quality_predictor/fleiss_kappa.py
Aliossandro/WD_references_analysis
ee054182dd398fed90fce49fdfa4b8cd6192f38e
[ "MIT" ]
null
null
null
reference_quality_predictor/fleiss_kappa.py
Aliossandro/WD_references_analysis
ee054182dd398fed90fce49fdfa4b8cd6192f38e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on May 15 2017 @author: Alessandro """ import pandas as pd from reference_quality_predictor.metrics import computeFleissKappa ###T1 def main(): file_name = '~/Documents/PhD/relevance_results_new.csv' file_pd = pd.read_csv(file_name) grouped = file_pd.groupby('X_un...
35.185484
80
0.60463
548
4,363
4.653285
0.164234
0.155294
0.207059
0.271765
0.841176
0.752549
0.752549
0.752549
0.628627
0.323137
0
0.025671
0.205363
4,363
123
81
35.471545
0.709836
0.007564
0
0.422222
0
0
0.170926
0.036811
0
0
0
0
0
0
null
null
0
0.022222
null
null
0.088889
0
0
0
null
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
5290b3d15375bd5b480dd84c4d97744524b60592
5,815
py
Python
whatsbomber.py
arabind-007/Whatshack
e68cf6c54745c36d920ff2660ee519cc68abee09
[ "Apache-2.0" ]
4
2021-05-02T12:56:17.000Z
2022-02-13T12:59:44.000Z
whatsbomber.py
arabind-007/Whatshack
e68cf6c54745c36d920ff2660ee519cc68abee09
[ "Apache-2.0" ]
null
null
null
whatsbomber.py
arabind-007/Whatshack
e68cf6c54745c36d920ff2660ee519cc68abee09
[ "Apache-2.0" ]
null
null
null
from pytransform import pyarmor_runtime pyarmor_runtime() __pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x08\x00\x55\x0d\x0d\x0a\x04\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\x55\x05\x00\x00\x00\x00\x00\x18\x65\xe2\xec\xfb\xc1\x8a\xbd\xf9\xe5\x65\x24\xbf\xf2\x1d\x9c\x3c\x...
1,938.333333
5,755
0.750989
1,441
5,815
3.020819
0.182512
0.030324
0.033081
0.030324
0.013784
0.010338
0.010338
0
0
0
0
0.320758
0.00172
5,815
3
5,755
1,938.333333
0.429113
0
0
0
0
0.333333
0.983144
0.983144
0
1
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
1
1
1
null
1
0
0
0
0
0
1
0
1
0
0
0
0
11
8713897fdfc24f214ec8a737bb5f6b2e209d77da
522
py
Python
test/conftest.py
tchar/ulauncher-calculate-anything
ee0903174c8b87cd1f7c3b6c1acef10702547507
[ "MIT" ]
41
2021-07-12T08:40:28.000Z
2022-03-11T03:03:05.000Z
test/conftest.py
tchar/ulauncher-calculate-anything
ee0903174c8b87cd1f7c3b6c1acef10702547507
[ "MIT" ]
28
2021-07-09T22:36:09.000Z
2022-03-28T08:54:15.000Z
test/conftest.py
tchar/ulauncher-calculate-anything
ee0903174c8b87cd1f7c3b6c1acef10702547507
[ "MIT" ]
3
2021-07-12T04:52:20.000Z
2022-03-03T20:08:11.000Z
from test.fixtures import ( log_filepath, httpserver_listen_address, httpserver_ssl_context, mock_currency_provider, in_memory_cache, mock_currency_service, ecb_data, coinbase_data, fixerio_data, mycurrencynet_data, ) __all__ = [ 'log_filepath', 'httpserver_listen_addre...
19.333333
32
0.699234
55
522
6.018182
0.436364
0.145015
0.126888
0.163142
0.924471
0.924471
0.924471
0.924471
0.924471
0.924471
0
0
0.212644
522
26
33
20.076923
0.805353
0
0
0
0
0
0.321839
0.172414
0
0
0
0
0
1
0
false
0
0.041667
0
0.041667
0
0
0
0
null
0
0
1
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
7
873dcb892e8fe8e39c9caa68c564970d81302e77
167
py
Python
tests/test_youtube.py
AlexWillCode/rick-roll-detector
ef74e7d49d1cea8d848c2e832b3c9842f1331ed9
[ "MIT" ]
12
2021-04-23T23:43:55.000Z
2021-08-22T21:08:35.000Z
tests/test_youtube.py
AlexWillCode/rick-roll-detector
ef74e7d49d1cea8d848c2e832b3c9842f1331ed9
[ "MIT" ]
3
2021-04-22T21:47:51.000Z
2021-06-01T18:04:56.000Z
tests/test_youtube.py
AlexWillCode/rick-roll-detector
ef74e7d49d1cea8d848c2e832b3c9842f1331ed9
[ "MIT" ]
1
2021-06-24T18:21:31.000Z
2021-06-24T18:21:31.000Z
from rick_roll_detector import verify_youtube_video def test_youtube_video(): assert verify_youtube_video("https://www.youtube.com/watch?v=dQw4w9WgXcQ") is True
27.833333
86
0.814371
25
167
5.12
0.76
0.28125
0.28125
0
0
0
0
0
0
0
0
0.013245
0.095808
167
5
87
33.4
0.834437
0
0
0
0
0
0.257485
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
8
8749d186b25b2085b064684422cc0e685a247803
3,496
py
Python
scpl/parser/operators/bitwise.py
jesopo/scpl
1fa5acfb468ab212276781fa1760bb5eda438c23
[ "MIT" ]
null
null
null
scpl/parser/operators/bitwise.py
jesopo/scpl
1fa5acfb468ab212276781fa1760bb5eda438c23
[ "MIT" ]
2
2021-11-15T11:12:14.000Z
2021-11-15T17:35:27.000Z
scpl/parser/operators/bitwise.py
jesopo/scpl
1fa5acfb468ab212276781fa1760bb5eda438c23
[ "MIT" ]
null
null
null
from typing import Dict, Optional from .common import ParseBinaryOperator from ..operands import ParseAtom, ParseInteger class ParseBinaryAndIntegerInteger(ParseBinaryOperator, ParseInteger): def __init__(self, left: ParseInteger, right: ParseInteger): super().__init__(left, right) self._left = lef...
44.253165
80
0.69365
394
3,496
5.901015
0.098985
0.068817
0.033548
0.08172
0.817204
0.807312
0.75914
0.75914
0.75914
0.75914
0
0
0.191362
3,496
78
81
44.820513
0.822427
0
0
0.616438
0
0
0.05206
0.006007
0
0
0
0
0
1
0.273973
false
0
0.041096
0.136986
0.657534
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
1
0
0
0
1
1
0
0
9
876a42d5727e7dee42ff2f57509183a3a3aa1296
135
py
Python
repocribro_file/controllers/__init__.py
MarekSuchanek/repocribro-file
0fa04d56702525f87652506ff7aedb17f5cd8fc1
[ "MIT" ]
null
null
null
repocribro_file/controllers/__init__.py
MarekSuchanek/repocribro-file
0fa04d56702525f87652506ff7aedb17f5cd8fc1
[ "MIT" ]
1
2018-12-03T12:17:27.000Z
2018-12-03T12:17:27.000Z
repocribro_file/controllers/__init__.py
MarekSuchanek/repocribro-file
0fa04d56702525f87652506ff7aedb17f5cd8fc1
[ "MIT" ]
null
null
null
from repocribro_file.controllers.admin import admin_files all_blueprints = [admin_files] __all__ = ['all_blueprints', 'admin_files']
22.5
57
0.807407
17
135
5.823529
0.529412
0.30303
0.262626
0.464646
0
0
0
0
0
0
0
0
0.096296
135
5
58
27
0.811475
0
0
0
0
0
0.185185
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.666667
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
1
0
7
0d584ec5a4a7891e1127def5b1cb05c38044800c
1,455
py
Python
setup.py
isccarrasco/microblog
85d95cf047e16cf188c9280b8bb00f32c07195c9
[ "BSD-3-Clause" ]
null
null
null
setup.py
isccarrasco/microblog
85d95cf047e16cf188c9280b8bb00f32c07195c9
[ "BSD-3-Clause" ]
null
null
null
setup.py
isccarrasco/microblog
85d95cf047e16cf188c9280b8bb00f32c07195c9
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python import os import subprocess import sys subprocess.call(['virtualenv', 'flask']) if sys.platform == 'win32': bin = 'Scripts' else: bin = 'bin' subprocess.call([os.path.join('flask', bin, 'pip'), 'install', '--upgrade', 'flask']) subprocess.call([os.path.join('flask', bin, 'pip'), 'install', '--up...
53.888889
99
0.648797
185
1,455
5.097297
0.183784
0.222694
0.23754
0.296925
0.769883
0.769883
0.769883
0.769883
0.769883
0.769883
0
0.002232
0.076289
1,455
26
100
55.961538
0.699405
0.010997
0
0
0
0
0.361865
0
0
0
0
0
0
1
0
false
0
0.136364
0
0.136364
0
0
0
0
null
1
1
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
8
0d59fe432a2c79570cac3932184aad4b28e507cc
156,591
py
Python
nfv/nfv-tests/nfv_unit_tests/tests/test_sw_patch_strategy.py
SidneyAn/nfv
5f0262a5b6ea4be59f977b9c587c483cbe0e373d
[ "Apache-2.0" ]
null
null
null
nfv/nfv-tests/nfv_unit_tests/tests/test_sw_patch_strategy.py
SidneyAn/nfv
5f0262a5b6ea4be59f977b9c587c483cbe0e373d
[ "Apache-2.0" ]
null
null
null
nfv/nfv-tests/nfv_unit_tests/tests/test_sw_patch_strategy.py
SidneyAn/nfv
5f0262a5b6ea4be59f977b9c587c483cbe0e373d
[ "Apache-2.0" ]
null
null
null
# # Copyright (c) 2016-2020 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 # import mock import uuid from nfv_common import strategy as common_strategy from nfv_vim import nfvi from nfv_vim.objects import HOST_PERSONALITY from nfv_vim.objects import SW_UPDATE_ALARM_RESTRICTION from nfv_vim.objects i...
40.778906
110
0.453046
13,349
156,591
5.053412
0.018728
0.06066
0.070444
0.066827
0.968825
0.965252
0.964274
0.956684
0.952726
0.943268
0
0.020079
0.425299
156,591
3,839
111
40.789529
0.729512
0.052589
0
0.850237
0
0
0.237843
0.019371
0
0
0
0
0.001896
1
0.011374
false
0
0.003476
0
0.015482
0
0
0
0
null
0
0
0
1
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
7
21d25b695e7f7943317e7f5f51cc8824aefa2e14
39,132
py
Python
ndcube/tests/test_sequence_plotting.py
kc611/ndcube
947799ea213728d6215cb791508ef186ca53b24f
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
ndcube/tests/test_sequence_plotting.py
kc611/ndcube
947799ea213728d6215cb791508ef186ca53b24f
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
ndcube/tests/test_sequence_plotting.py
kc611/ndcube
947799ea213728d6215cb791508ef186ca53b24f
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
# # -*- coding: utf-8 -*- # import pytest # import datetime # import copy # import numpy as np # import astropy.units as u # import matplotlib # from ndcube import NDCube, NDCubeSequence # from ndcube.utils.wcs import WCS # import ndcube.mixins.sequence_plotting # # sample data for tests # # TODO: use a fixture read...
50.233633
101
0.614535
5,616
39,132
4.047543
0.049858
0.011966
0.030179
0.019005
0.873609
0.843958
0.801461
0.753156
0.711759
0.662839
0
0.056357
0.190611
39,132
778
102
50.298201
0.66132
0.961873
0
null
0
null
0
0
null
0
0
0.001285
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
8
0dfb63d464722693803f0f6495c989387fb3222a
159,553
py
Python
test/commands/extended/prepare_transfer_test.py
Cornode/cornode.lib.py
866230123a62acc235ca8f46e7b59fe08655049b
[ "MIT" ]
null
null
null
test/commands/extended/prepare_transfer_test.py
Cornode/cornode.lib.py
866230123a62acc235ca8f46e7b59fe08655049b
[ "MIT" ]
null
null
null
test/commands/extended/prepare_transfer_test.py
Cornode/cornode.lib.py
866230123a62acc235ca8f46e7b59fe08655049b
[ "MIT" ]
null
null
null
# coding=utf-8 from __future__ import absolute_import, division, print_function, \ unicode_literals from typing import Iterable, List, Optional from unittest import TestCase import filters as f from filters.test import BaseFilterTestCase from mock import Mock, patch from cornode import Address, BadApiResponse, cor...
56.619233
90
0.779283
5,789
159,553
21.42408
0.17706
0.256281
0.260224
0.470635
0.902495
0.898391
0.896843
0.893488
0.889691
0.886337
0
0.292419
0.182748
159,553
2,817
91
56.639333
0.658706
0.031676
0
0.851928
0
0
0.723549
0.709037
0
1
0
0
0.011895
1
0.014356
false
0.005742
0.005332
0.001641
0.02379
0.00041
0
0
1
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
1
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
15
df8c48bd1ff2245dad0dc0595cba7623da3a3c58
11,749
py
Python
tests/pytests/unit/config/test__validate_opts.py
haodeon/salt
af2964f4ddbf9c5635d1528a495e473996cc7b71
[ "Apache-2.0" ]
null
null
null
tests/pytests/unit/config/test__validate_opts.py
haodeon/salt
af2964f4ddbf9c5635d1528a495e473996cc7b71
[ "Apache-2.0" ]
null
null
null
tests/pytests/unit/config/test__validate_opts.py
haodeon/salt
af2964f4ddbf9c5635d1528a495e473996cc7b71
[ "Apache-2.0" ]
null
null
null
""" Test config option type enforcement """ import pytest import salt.config @pytest.mark.parametrize( "option_value,expected", [ ([1, 2, 3], True), # list ((1, 2, 3), True), # tuple ({"key": "value"}, False), # dict ("str", False), # str (True, False), # bool ...
29.153846
85
0.569495
1,497
11,749
4.363393
0.057448
0.085885
0.098898
0.031843
0.90891
0.864513
0.857012
0.848285
0.827771
0.710196
0
0.022692
0.291089
11,749
402
86
29.226368
0.761556
0.309133
0
0.744526
0
0
0.094589
0.050668
0
0
0
0
0.062044
1
0.062044
false
0
0.007299
0
0.069343
0
0
0
0
null
0
0
0
1
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
7
10dd85de61a14354997831fa97c21ade769fa5d0
20,767
py
Python
QuestionnaireColorCueNew/migrations/0002_auto_20200709_1755.py
AdityaKapoor74/Supervised_Categorization_Study
1ce29de95c8ccc2b848e2d06463719858e57b942
[ "MIT" ]
null
null
null
QuestionnaireColorCueNew/migrations/0002_auto_20200709_1755.py
AdityaKapoor74/Supervised_Categorization_Study
1ce29de95c8ccc2b848e2d06463719858e57b942
[ "MIT" ]
null
null
null
QuestionnaireColorCueNew/migrations/0002_auto_20200709_1755.py
AdityaKapoor74/Supervised_Categorization_Study
1ce29de95c8ccc2b848e2d06463719858e57b942
[ "MIT" ]
null
null
null
# Generated by Django 2.0.2 on 2020-07-09 17:55 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('QuestionnaireColorCueNew', '0001_initial'), ] operations = [ migrations.CreateModel( name='Clas...
48.071759
150
0.57967
2,011
20,767
5.774242
0.049229
0.05968
0.049604
0.066138
0.953841
0.951085
0.950052
0.913538
0.864967
0.861523
0
0.011127
0.294602
20,767
431
151
48.183295
0.781555
0.002167
0
0.684706
1
0
0.223263
0.092857
0
0
0
0
0
1
0
false
0
0.004706
0
0.011765
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
80524b063860be3e4320064a4064963c055499ef
37,826
py
Python
v3.0/framework/parsetab.py
dikujepsen/OpenTran
af9654fcf55e394e7bece38e59bbdc3dd343f092
[ "MIT" ]
1
2015-02-09T12:56:07.000Z
2015-02-09T12:56:07.000Z
v3.0/framework/parsetab.py
dikujepsen/OpenTran
af9654fcf55e394e7bece38e59bbdc3dd343f092
[ "MIT" ]
null
null
null
v3.0/framework/parsetab.py
dikujepsen/OpenTran
af9654fcf55e394e7bece38e59bbdc3dd343f092
[ "MIT" ]
null
null
null
# parsetab.py # This file is automatically generated. Do not edit. _tabversion = '3.2' _lr_method = 'LALR' _lr_signature = '\xcc\xb5(e\x9f\xabO\r,\xe6J\x922\x85M\xb7' _lr_action_items = {'LOGOR':([6,11,12,17,20,21,22,28,32,33,35,47,48,49,50,51,80,81,88,89,92,100,101,102,103,104,105,106,107,108,109,110,111,112,1...
317.865546
20,459
0.667689
8,406
37,826
2.942779
0.03783
0.032381
0.086348
0.115131
0.763593
0.754295
0.746614
0.740591
0.738327
0.726604
0
0.366198
0.017528
37,826
118
20,460
320.559322
0.299438
0.001639
0
0.018349
1
0
0.334746
0.195127
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
1
0
0
0
1
1
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
33983c176699a31b2b26f734bfaddd2c48c690ea
7,333
py
Python
isiscb/isisdata/migrations/0085_auto_20190902_1843.py
bgopalachary/IsisCB
c28e3f504eea60ebeff38318d8bb2071abb28ebb
[ "MIT" ]
4
2016-01-25T20:35:33.000Z
2020-04-07T15:39:52.000Z
isiscb/isisdata/migrations/0085_auto_20190902_1843.py
bgopalachary/IsisCB
c28e3f504eea60ebeff38318d8bb2071abb28ebb
[ "MIT" ]
41
2015-08-19T17:34:41.000Z
2022-03-11T23:19:01.000Z
isiscb/isisdata/migrations/0085_auto_20190902_1843.py
bgopalachary/IsisCB
c28e3f504eea60ebeff38318d8bb2071abb28ebb
[ "MIT" ]
2
2020-11-25T20:18:18.000Z
2021-06-24T15:15:41.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.23 on 2019-09-02 18:43 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('isisdata', '0084_cachedtimeline_recalculate'), ] ...
101.847222
1,043
0.626756
1,077
7,333
4.209842
0.222841
0.021614
0.01985
0.042347
0.774813
0.766211
0.766211
0.748125
0.724746
0.707543
0
0.006223
0.167326
7,333
71
1,044
103.28169
0.736325
0.00941
0
0.578125
1
0.078125
0.420879
0.013772
0
0
0
0
0
1
0
false
0
0.046875
0
0.09375
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
33abc1b2e459be4d0bb096c17d1e75660f9b98e3
107
py
Python
backend/recipes/admin/__init__.py
hnthh/foodgram-project-react
3383c6a116fded11b4a764b95e6ca4ead03444f3
[ "MIT" ]
1
2022-02-09T10:42:45.000Z
2022-02-09T10:42:45.000Z
backend/recipes/admin/__init__.py
hnthh/foodgram
3383c6a116fded11b4a764b95e6ca4ead03444f3
[ "MIT" ]
null
null
null
backend/recipes/admin/__init__.py
hnthh/foodgram
3383c6a116fded11b4a764b95e6ca4ead03444f3
[ "MIT" ]
null
null
null
import recipes.admin.favorite import recipes.admin.recipe import recipes.admin.shopping_cart # noqa: F401
26.75
48
0.831776
15
107
5.866667
0.6
0.443182
0.613636
0
0
0
0
0
0
0
0
0.030928
0.093458
107
3
49
35.666667
0.876289
0.093458
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
33ff6e10353644d91c7aee35525298a075ff7079
4,351
py
Python
torchid/tmp/lstmfitter.py
marcosfelt/sysid-neural-structures-fitting
80eda427251e8cce1d2a565b5cbca533252315e4
[ "MIT" ]
17
2019-11-15T06:27:05.000Z
2021-10-02T14:24:25.000Z
torchid/tmp/lstmfitter.py
marcosfelt/sysid-neural-structures-fitting
80eda427251e8cce1d2a565b5cbca533252315e4
[ "MIT" ]
null
null
null
torchid/tmp/lstmfitter.py
marcosfelt/sysid-neural-structures-fitting
80eda427251e8cce1d2a565b5cbca533252315e4
[ "MIT" ]
4
2020-09-03T17:01:34.000Z
2021-11-05T04:09:24.000Z
from __future__ import print_function import torch import torch.nn as nn class LSTMSimulator(nn.Module): def __init__(self, n_input = 1, n_hidden_1 = 64, n_hidden_2 = 32, n_output = 1): self.n_input = n_input self.n_hidden_1 = n_hidden_1 self.n_hidden_2 = n_hidden_2 self.n_output ...
45.8
138
0.632498
690
4,351
3.65942
0.089855
0.071287
0.104554
0.097822
0.891089
0.891089
0.88396
0.874059
0.874059
0.874059
0
0.03108
0.238336
4,351
94
139
46.287234
0.730839
0.189152
0
0.779221
0
0
0
0
0
0
0
0
0
1
0.064935
false
0
0.038961
0
0.168831
0.012987
0
0
0
null
0
0
0
1
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
7
1d66ad1ccace7774ab24b91862bc0444b0787b33
103
py
Python
venv/lib/python3.8/site-packages/waitress/tests/fixtureapps/runner.py
ayfallen/urler
d7bb5c83018a75cb4af2bbb7178bcf364b61f68f
[ "MIT" ]
978
2015-01-10T08:33:32.000Z
2022-03-29T07:37:48.000Z
venv/lib/python3.8/site-packages/waitress/tests/fixtureapps/runner.py
ayfallen/urler
d7bb5c83018a75cb4af2bbb7178bcf364b61f68f
[ "MIT" ]
257
2015-01-13T09:06:02.000Z
2022-03-31T21:59:34.000Z
venv/lib/python3.8/site-packages/waitress/tests/fixtureapps/runner.py
ayfallen/urler
d7bb5c83018a75cb4af2bbb7178bcf364b61f68f
[ "MIT" ]
155
2015-01-02T20:31:41.000Z
2022-03-06T08:54:17.000Z
def app(): # pragma: no cover return None def returns_app(): # pragma: no cover return app
14.714286
38
0.631068
15
103
4.266667
0.533333
0.28125
0.34375
0.5
0.6875
0
0
0
0
0
0
0
0.271845
103
6
39
17.166667
0.853333
0.320388
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0
0
0.5
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
1
1
0
0
1
1
0
0
9
1d6c744ecbff32e6cdf1b7f6e7f60292fdec869d
112
py
Python
testrep/stuff.py
ErnestoGP/testrep
2c421780e04836181ed6c9a74c821a0d1400b1fb
[ "MIT" ]
null
null
null
testrep/stuff.py
ErnestoGP/testrep
2c421780e04836181ed6c9a74c821a0d1400b1fb
[ "MIT" ]
null
null
null
testrep/stuff.py
ErnestoGP/testrep
2c421780e04836181ed6c9a74c821a0d1400b1fb
[ "MIT" ]
null
null
null
def test_success(): assert True def add_and_del(startnum, addnum, delnum): return startnum + addnum - delnum
18.666667
42
0.758929
16
112
5.125
0.75
0.341463
0.487805
0
0
0
0
0
0
0
0
0
0.151786
112
5
43
22.4
0.863158
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.5
false
0
0
0.25
0.75
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
d57f46e12caa1261a43e2a1e95d470e6a7f8ebba
43,270
py
Python
sdk/python/pulumi_nomad/volume.py
pulumi/pulumi-nomad
00cc556d40bc1895f9ce10cb221fd21d1ef15350
[ "ECL-2.0", "Apache-2.0" ]
3
2021-07-25T19:12:40.000Z
2022-03-17T17:52:35.000Z
sdk/python/pulumi_nomad/volume.py
pulumi/pulumi-nomad
00cc556d40bc1895f9ce10cb221fd21d1ef15350
[ "ECL-2.0", "Apache-2.0" ]
18
2021-11-10T15:49:13.000Z
2022-03-31T15:36:18.000Z
sdk/python/pulumi_nomad/volume.py
pulumi/pulumi-nomad
00cc556d40bc1895f9ce10cb221fd21d1ef15350
[ "ECL-2.0", "Apache-2.0" ]
1
2021-07-25T19:12:49.000Z
2021-07-25T19:12:49.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
46.031915
192
0.655373
5,094
43,270
5.365724
0.042992
0.10866
0.078367
0.057147
0.913475
0.89123
0.866791
0.845096
0.830242
0.785497
0
0.00003
0.234966
43,270
939
193
46.080937
0.825665
0.238502
0
0.749196
1
0
0.119253
0.020482
0
0
0
0
0
1
0.162379
false
0.001608
0.011254
0.025723
0.273312
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
d599b011971e18cab79f9ad19239cd619908addb
4,059
bzl
Python
third_party/dependency_analyzer/src/test/analyzer_test_scala_2.bzl
wiwa/rules_scala
3dd5d8110d56cfc19722532866cbfc039a6a9612
[ "Apache-2.0" ]
null
null
null
third_party/dependency_analyzer/src/test/analyzer_test_scala_2.bzl
wiwa/rules_scala
3dd5d8110d56cfc19722532866cbfc039a6a9612
[ "Apache-2.0" ]
null
null
null
third_party/dependency_analyzer/src/test/analyzer_test_scala_2.bzl
wiwa/rules_scala
3dd5d8110d56cfc19722532866cbfc039a6a9612
[ "Apache-2.0" ]
null
null
null
load("//scala:scala.bzl", "scala_test") def analyzer_tests_scala_2(): common_jvm_flags = [ "-Dplugin.jar.location=$(execpath //third_party/dependency_analyzer/src/main:dependency_analyzer)", "-Dscala.library.location=$(rootpath @io_bazel_rules_scala_scala_library)", "-Dscala.reflect.locatio...
40.59
166
0.646465
446
4,059
5.349776
0.156951
0.067477
0.080469
0.113998
0.861274
0.861274
0.800503
0.776194
0.609807
0.564543
0
0.007507
0.245134
4,059
99
167
41
0.771214
0
0
0.741935
0
0
0.605075
0.580192
0
0
0
0
0
1
0.010753
false
0
0
0
0.010753
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d5a2cab748c4b1228529e88bc73c25b3c36ec241
28,502
py
Python
tests/test_p/test_p_int.py
SimLeek/coordencode
092783b07fe9f025a7104c6cb8979a639387e52a
[ "MIT" ]
1
2019-09-10T10:25:00.000Z
2019-09-10T10:25:00.000Z
tests/test_p/test_p_int.py
SimLeek/coordencode
092783b07fe9f025a7104c6cb8979a639387e52a
[ "MIT" ]
null
null
null
tests/test_p/test_p_int.py
SimLeek/coordencode
092783b07fe9f025a7104c6cb8979a639387e52a
[ "MIT" ]
null
null
null
import numpy as np from pnums import PInt from pnums.p_int import layer_or, layer_xor def test_create_1d(): a = PInt(123456789, confidence=0.6) np.testing.assert_array_almost_equal( [ [ 0.4, 0.4, 0.4, 0.4, 0.4...
26.005474
95
0.307838
3,271
28,502
2.647203
0.065423
0.137891
0.182238
0.222659
0.880702
0.85645
0.842014
0.806213
0.792355
0.732186
0
0.397191
0.555329
28,502
1,095
96
26.029224
0.286019
0.003403
0
0.747219
0
0
0.000986
0
0
0
0
0
0.073812
1
0.012133
false
0
0.003033
0
0.015167
0.003033
0
0
0
null
0
1
1
1
1
1
1
1
1
0
1
1
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
12
6369b61f38fdfb8a6ae5f4798239cb81decbc256
452,558
py
Python
pyboto3/wafregional.py
gehad-shaat/pyboto3
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
[ "MIT" ]
91
2016-12-31T11:38:37.000Z
2021-09-16T19:33:23.000Z
pyboto3/wafregional.py
gehad-shaat/pyboto3
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
[ "MIT" ]
7
2017-01-02T18:54:23.000Z
2020-08-11T13:54:02.000Z
pyboto3/wafregional.py
gehad-shaat/pyboto3
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
[ "MIT" ]
26
2016-12-31T13:11:00.000Z
2022-03-03T21:01:12.000Z
''' The MIT License (MIT) Copyright (c) 2016 WavyCloud Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
45.708312
9,656
0.722908
61,270
452,558
5.317088
0.024465
0.017128
0.03713
0.007861
0.92544
0.911151
0.899481
0.883691
0.871201
0.858327
0
0.011014
0.207757
452,558
9,900
9,657
45.712929
0.89762
0.981454
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
10
636c1e9663543fc6003ed2347eb172f9015791c9
46,568
py
Python
budget_inputs.py
CPOMUCL/Budget_tool
eca9b1064a4d11d07028ef631b5780c6aeebe0b6
[ "MIT" ]
null
null
null
budget_inputs.py
CPOMUCL/Budget_tool
eca9b1064a4d11d07028ef631b5780c6aeebe0b6
[ "MIT" ]
null
null
null
budget_inputs.py
CPOMUCL/Budget_tool
eca9b1064a4d11d07028ef631b5780c6aeebe0b6
[ "MIT" ]
null
null
null
import numpy as np import datetime as dt import struct from dateutil.relativedelta import relativedelta from netCDF4 import Dataset from os.path import exists from scipy.interpolate import griddata from scipy.interpolate.interpnd import _ndim_coords_from_arrays from scipy.spatial import cKDTree class Pathfinder(): ...
38.709892
106
0.526155
6,621
46,568
3.558375
0.064794
0.043294
0.028014
0.02101
0.887691
0.873302
0.847284
0.836375
0.821689
0.812649
0
0.039273
0.341672
46,568
1,202
107
38.742097
0.72923
0.169709
0
0.818807
0
0
0.074144
0.02317
0
0
0
0
0
1
0.049312
false
0
0.010321
0
0.106651
0.034404
0
0
0
null
0
0
0
1
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
7
63ba39886af2db11585f7e6587789767bd4c4e60
23,141
py
Python
tests/http/test_wrappers.py
Daanvdk/jackie
c8529ea7a585e1c53288a154e147a55f4c790531
[ "MIT" ]
null
null
null
tests/http/test_wrappers.py
Daanvdk/jackie
c8529ea7a585e1c53288a154e147a55f4c790531
[ "MIT" ]
2
2021-02-22T01:56:44.000Z
2021-02-22T02:15:22.000Z
tests/http/test_wrappers.py
daanvdk/jackie
c8529ea7a585e1c53288a154e147a55f4c790531
[ "MIT" ]
null
null
null
import asyncio import urllib.parse import tempfile import pytest from jackie.http import ( asgi_to_jackie, jackie_to_asgi, Request, Response, Socket, Disconnect, ) from jackie.http.stream import SendFile @pytest.mark.asyncio async def test_jackie_to_asgi(): @jackie_to_asgi async def app(request): ...
27.353428
79
0.572015
2,571
23,141
4.990665
0.057176
0.046294
0.045047
0.03702
0.858546
0.815057
0.796586
0.758164
0.750526
0.697529
0
0.004769
0.284128
23,141
845
80
27.385799
0.769769
0
0
0.727666
0
0
0.138499
0.007865
0
0
0
0
0.12536
1
0.002882
false
0.005764
0.008646
0
0.01585
0
0
0
0
null
0
0
0
1
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
7
986df3e9e42537ae2b8e87f144880ed715e30604
7,272
py
Python
2018/day_13/python/day13.py
josephroquedev/advent-of-code
bb217deb7a5f5ed5c8c04cb726ddadb5b042ee4d
[ "MIT" ]
null
null
null
2018/day_13/python/day13.py
josephroquedev/advent-of-code
bb217deb7a5f5ed5c8c04cb726ddadb5b042ee4d
[ "MIT" ]
2
2021-06-02T00:41:38.000Z
2021-11-30T10:05:29.000Z
2018/day_13/python/day13.py
autoreleasefool/advent-of-code
bb217deb7a5f5ed5c8c04cb726ddadb5b042ee4d
[ "MIT" ]
null
null
null
from aoc import AOC aoc = AOC(year=2018, day=13) data = aoc.load() path_ids = set(["|", "-"]) curve_ids = set(["\\", "/"]) intersection_ids = set(["+"]) cart_ids = set(["<", ">", "^", "v"]) paths = {} carts = {} cart_last_turn = {} y = 0 next_cart_id = 0 for line in data.lines(): for index, c in enumerate(lin...
34.628571
85
0.515677
972
7,272
3.578189
0.063786
0.082806
0.086256
0.120759
0.951696
0.951696
0.951696
0.951696
0.951696
0.951696
0
0.033228
0.350248
7,272
209
86
34.794258
0.702857
0.000825
0
0.923913
0
0
0.005783
0
0
0
0
0
0
1
0
false
0
0.005435
0
0.005435
0
0
0
0
null
0
0
0
1
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
7
9891595b8cb437ae7e4c0b8ac7a9a8a2fef65863
6,708
py
Python
common/tests/document_parser/test_document_parser.py
Wildertrek/gamechanger-data
d087044594c722bd373cce1a48293d1a6da5d24e
[ "MIT" ]
18
2021-04-20T20:34:01.000Z
2021-11-08T10:28:17.000Z
common/tests/document_parser/test_document_parser.py
Wildertrek/gamechanger-data
d087044594c722bd373cce1a48293d1a6da5d24e
[ "MIT" ]
15
2021-04-20T20:31:33.000Z
2022-03-18T16:00:44.000Z
common/tests/document_parser/test_document_parser.py
dod-advana/gamechanger-data
1cdba2a3dbc1072f5991dcfe1daea6310c8ae42b
[ "MIT" ]
8
2021-04-23T11:38:26.000Z
2021-11-17T22:42:38.000Z
import tempfile import os from pathlib import Path from common.document_parser.cli import pdf_to_json from common.tests import PACKAGE_OCR_PDF_PATH import json import pytest import shutil from dev_tools import REPO_PATH ORIGINAL_TEST_FILES = dict( ocr_pdf_file=os.path.join(REPO_PATH, ...
34.4
137
0.70483
977
6,708
4.350051
0.096213
0.039529
0.063529
0.076235
0.907059
0.895765
0.894353
0.858118
0.853412
0.852
0
0.012896
0.213924
6,708
194
138
34.57732
0.793097
0
0
0.708861
0
0
0.194544
0.144007
0
0
0
0
0.037975
1
0.063291
false
0
0.056962
0
0.126582
0
0
0
0
null
0
0
0
1
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
7
7f410743ff955f321358463531dd10766e86ff8d
42,098
py
Python
sdk/python/pulumi_gcp/monitoring/alert_policy.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
121
2018-06-18T19:16:42.000Z
2022-03-31T06:06:48.000Z
sdk/python/pulumi_gcp/monitoring/alert_policy.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
492
2018-06-22T19:41:03.000Z
2022-03-31T15:33:53.000Z
sdk/python/pulumi_gcp/monitoring/alert_policy.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
43
2018-06-19T01:43:13.000Z
2022-03-23T22:43:37.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
50.477218
241
0.658962
4,839
42,098
5.615003
0.069436
0.066799
0.037614
0.029443
0.920872
0.904678
0.893747
0.882485
0.87748
0.869088
0
0.001997
0.26234
42,098
833
242
50.537815
0.872963
0.520215
0
0.710366
1
0
0.124621
0.053723
0
0
0
0
0
1
0.161585
false
0.003049
0.021341
0
0.280488
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
7f9da29f035236a61918b7e5b829a8bcdf6568d9
28,344
py
Python
tests/test_packages/test_skills_integration/test_tac.py
marcofavorito/agents-aea
e520f2f5d076a193514e194d94aa76c6423ac5bc
[ "Apache-2.0" ]
null
null
null
tests/test_packages/test_skills_integration/test_tac.py
marcofavorito/agents-aea
e520f2f5d076a193514e194d94aa76c6423ac5bc
[ "Apache-2.0" ]
null
null
null
tests/test_packages/test_skills_integration/test_tac.py
marcofavorito/agents-aea
e520f2f5d076a193514e194d94aa76c6423ac5bc
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # # Copyright 2018-2019 Fetch.AI Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the ...
41.560117
120
0.6105
3,166
28,344
5.202464
0.111497
0.030356
0.023739
0.026714
0.88501
0.864125
0.858479
0.837836
0.825512
0.820533
0
0.019417
0.287715
28,344
681
121
41.621145
0.796424
0.068657
0
0.727758
0
0.003559
0.344999
0.099901
0
0
0
0
0.030249
1
0.003559
false
0
0.014235
0
0.024911
0
0
0
0
null
0
0
0
1
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
7