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
29aacf80016d63ff924addbb422a6547bbb26697
31
py
Python
unipy_db/core/api.py
pydemia/unipy_db
dafbecf1acc576a17f5ee99de3878a8869f777ce
[ "MIT" ]
1
2017-01-10T14:55:49.000Z
2017-01-10T14:55:49.000Z
unipy/core/api.py
LogSigma/unipy
57eba620795eefba6b97ad4e3cd3e56c35912f2a
[ "MIT" ]
null
null
null
unipy/core/api.py
LogSigma/unipy
57eba620795eefba6b97ad4e3cd3e56c35912f2a
[ "MIT" ]
2
2019-09-20T15:25:01.000Z
2021-02-27T02:47:08.000Z
from unipy.plots.api import *
10.333333
29
0.741935
5
31
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.16129
31
2
30
15.5
0.884615
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
29abe51cdfa363acc07888052e902d921d841f23
104
py
Python
app/models/Post.py
itsumura-h/masonite_admin_dev
8e17a517d17c87b0514e8d79960bbadb278b3fc9
[ "MIT" ]
null
null
null
app/models/Post.py
itsumura-h/masonite_admin_dev
8e17a517d17c87b0514e8d79960bbadb278b3fc9
[ "MIT" ]
15
2020-09-04T23:42:15.000Z
2022-02-26T15:06:26.000Z
app/models/Post.py
itsumura-h/masonite_admin
8e17a517d17c87b0514e8d79960bbadb278b3fc9
[ "MIT" ]
null
null
null
"""Post Model.""" from config.database import Model class Post(Model): """Post Model.""" pass
13
33
0.625
13
104
5
0.615385
0.415385
0
0
0
0
0
0
0
0
0
0
0.201923
104
8
34
13
0.783133
0.221154
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
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
1
1
0
0
0
0
6
d9a282d97f495224f1d6c68e6a448991ab64d140
158
py
Python
busy_beaver/apps/github_integration/blueprint.py
alysivji/github-adapter
5e3543f41f189fbe4a50d64e3d6734dc765579b4
[ "MIT" ]
55
2019-05-05T01:20:58.000Z
2022-01-10T18:03:05.000Z
busy_beaver/apps/github_integration/blueprint.py
alysivji/github-adapter
5e3543f41f189fbe4a50d64e3d6734dc765579b4
[ "MIT" ]
222
2019-05-03T16:31:26.000Z
2021-08-28T23:49:03.000Z
busy_beaver/apps/github_integration/blueprint.py
busy-beaver-dev/busy-beaver
5e3543f41f189fbe4a50d64e3d6734dc765579b4
[ "MIT" ]
19
2019-04-27T19:49:32.000Z
2020-06-30T19:52:09.000Z
from flask import blueprints github_bp = blueprints.Blueprint("github", __name__) from . import api # noqa isort:skip from . import cli # noqa isort:skip
22.571429
52
0.753165
22
158
5.181818
0.590909
0.175439
0.22807
0
0
0
0
0
0
0
0
0
0.164557
158
6
53
26.333333
0.863636
0.196203
0
0
0
0
0.048387
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0.5
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
1
0
6
d9aee17849a1db5750f81ab5814de6c44bd8c7e0
34
py
Python
python3/pracmln/wcsp/__init__.py
seba90/pracmln
2af9e11d72f077834cf130343a2506344480fb07
[ "BSD-2-Clause" ]
123
2016-02-13T08:49:46.000Z
2022-03-15T10:23:55.000Z
python3/pracmln/wcsp/__init__.py
seba90/pracmln
2af9e11d72f077834cf130343a2506344480fb07
[ "BSD-2-Clause" ]
29
2016-06-13T16:06:50.000Z
2022-01-07T23:31:22.000Z
python3/pracmln/wcsp/__init__.py
seba90/pracmln
2af9e11d72f077834cf130343a2506344480fb07
[ "BSD-2-Clause" ]
51
2016-03-22T05:42:45.000Z
2021-11-06T17:36:01.000Z
from .wcsp import WCSP, Constraint
34
34
0.823529
5
34
5.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.117647
34
1
34
34
0.933333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d9b6cc577c06632d4c6eacce29553b863321c9ea
37
py
Python
core/__init__.py
jdlar1/ray_tracing
9a63858ee4918c477532d7484a6b09c87682e6dd
[ "MIT" ]
1
2020-12-28T21:32:23.000Z
2020-12-28T21:32:23.000Z
core/__init__.py
jdlar1/ray_tracing
9a63858ee4918c477532d7484a6b09c87682e6dd
[ "MIT" ]
null
null
null
core/__init__.py
jdlar1/ray_tracing
9a63858ee4918c477532d7484a6b09c87682e6dd
[ "MIT" ]
null
null
null
from .optic_path import OpticalSystem
37
37
0.891892
5
37
6.4
1
0
0
0
0
0
0
0
0
0
0
0
0.081081
37
1
37
37
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d9f1017742ff77216e94ab2e50d7e9a071bf0457
14,915
py
Python
tests/test_space.py
DoofCoder/mesa
b290439e4f68a1a5a4906246546b69e7d783dcfb
[ "Apache-2.0" ]
6
2019-12-21T21:15:54.000Z
2021-04-20T17:35:24.000Z
tests/test_space.py
DoofCoder/mesa
b290439e4f68a1a5a4906246546b69e7d783dcfb
[ "Apache-2.0" ]
40
2019-08-07T13:57:52.000Z
2022-03-18T05:21:42.000Z
tests/test_space.py
DoofCoder/mesa
b290439e4f68a1a5a4906246546b69e7d783dcfb
[ "Apache-2.0" ]
2
2017-07-17T15:25:41.000Z
2022-03-31T07:00:41.000Z
import unittest import networkx as nx import numpy as np import pytest from mesa.space import ContinuousSpace from mesa.space import SingleGrid from mesa.space import NetworkGrid from tests.test_grid import MockAgent TEST_AGENTS = [(-20, -20), (-20, -20.05), (65, 18)] TEST_AGENTS_GRID = [(1, 1), (10, 0), (10, 10)] ...
32.636761
82
0.598994
1,956
14,915
4.355317
0.0818
0.107759
0.036624
0.015847
0.827562
0.825449
0.79129
0.773917
0.761122
0.715812
0
0.033672
0.287161
14,915
456
83
32.708333
0.767588
0.070466
0
0.647249
0
0
0.005099
0
0
0
0
0
0.28479
1
0.119741
false
0
0.02589
0
0.171521
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
d9f25c9f9e40bed1feb7860d121873d3d67abcdb
119
py
Python
np cOMPLETENESS/school_bus/test.py
lovroselic/Coursera
1598b4fe02eb3addbc847f4f3ec21fb5b6e0be08
[ "MIT" ]
null
null
null
np cOMPLETENESS/school_bus/test.py
lovroselic/Coursera
1598b4fe02eb3addbc847f4f3ec21fb5b6e0be08
[ "MIT" ]
null
null
null
np cOMPLETENESS/school_bus/test.py
lovroselic/Coursera
1598b4fe02eb3addbc847f4f3ec21fb5b6e0be08
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Jul 1 12:55:49 2020 @author: SELICLO1 """ print(min([(106, 1), (62, 2)]))
14.875
35
0.546218
20
119
3.25
0.95
0
0
0
0
0
0
0
0
0
0
0.206186
0.184874
119
8
36
14.875
0.463918
0.647059
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
d9fc40199f475beedf2a643dfc035d6ec2a0571a
1,724
py
Python
tests/handling/test_parametrization.py
brennerm/kopf
f13fdd3fa8d71dd3f18f32cc6ee279bb70e5dd58
[ "MIT" ]
null
null
null
tests/handling/test_parametrization.py
brennerm/kopf
f13fdd3fa8d71dd3f18f32cc6ee279bb70e5dd58
[ "MIT" ]
null
null
null
tests/handling/test_parametrization.py
brennerm/kopf
f13fdd3fa8d71dd3f18f32cc6ee279bb70e5dd58
[ "MIT" ]
null
null
null
import asyncio from unittest.mock import Mock import kopf from kopf.reactor.processing import process_resource_event from kopf.structs.containers import ResourceMemories async def test_parameter_is_passed_when_specified(resource, cause_mock, registry, settings): mock = Mock() # If it works for this handler,...
30.245614
99
0.683875
216
1,724
5.291667
0.324074
0.052493
0.034996
0.036745
0.845144
0.845144
0.794401
0.794401
0.794401
0.794401
0
0.007418
0.218097
1,724
56
100
30.785714
0.840504
0.151392
0
0.682927
0
0
0.020576
0
0
0
0
0
0.097561
1
0.04878
false
0.04878
0.121951
0
0.170732
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
8a1da31c56cee43e0f06f859b8d47682854b42c2
98
py
Python
pysal/model/__init__.py
ocefpaf/pysal
7e397bdb4c22d4e2442b4ee88bcd691d2421651d
[ "BSD-3-Clause" ]
1
2021-08-16T02:47:35.000Z
2021-08-16T02:47:35.000Z
pysal/model/__init__.py
ocefpaf/pysal
7e397bdb4c22d4e2442b4ee88bcd691d2421651d
[ "BSD-3-Clause" ]
null
null
null
pysal/model/__init__.py
ocefpaf/pysal
7e397bdb4c22d4e2442b4ee88bcd691d2421651d
[ "BSD-3-Clause" ]
1
2016-11-11T19:20:51.000Z
2016-11-11T19:20:51.000Z
from . import spreg from . import spglm from . import spint from . import mgwr from . import spvcm
19.6
19
0.755102
15
98
4.933333
0.466667
0.675676
0
0
0
0
0
0
0
0
0
0
0.193878
98
5
20
19.6
0.936709
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
8a49e14c08a3de2e010962a6e6ad5d4003e0addd
101,433
py
Python
tensorflow/contrib/layers/python/layers/feature_column_ops_test.py
jksk/tensorflow
48fb73a1c94ee2409382225428063d3496dc651e
[ "Apache-2.0" ]
2
2018-04-10T11:50:28.000Z
2019-01-08T02:40:17.000Z
tensorflow/contrib/layers/python/layers/feature_column_ops_test.py
jksk/tensorflow
48fb73a1c94ee2409382225428063d3496dc651e
[ "Apache-2.0" ]
null
null
null
tensorflow/contrib/layers/python/layers/feature_column_ops_test.py
jksk/tensorflow
48fb73a1c94ee2409382225428063d3496dc651e
[ "Apache-2.0" ]
6
2017-04-14T07:11:14.000Z
2019-11-20T08:19:15.000Z
# Copyright 2015 The TensorFlow 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 applica...
46.084961
80
0.587866
11,603
101,433
4.930708
0.047143
0.074304
0.085473
0.006502
0.816923
0.796315
0.775952
0.746587
0.722361
0.699026
0
0.040519
0.272742
101,433
2,200
81
46.105909
0.735034
0.035629
0
0.67844
0
0
0.039481
0.001351
0
0
0
0
0.106484
1
0.054823
false
0.000527
0.00369
0
0.061676
0.001054
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
8a66d48769a43218b358dbce21f65b7e5b385ce2
32
py
Python
src/repositories/__init__.py
FernandoZnga/flask-api-setup
220ad881e61432d017a1eb34fead461e2042309d
[ "MIT" ]
null
null
null
src/repositories/__init__.py
FernandoZnga/flask-api-setup
220ad881e61432d017a1eb34fead461e2042309d
[ "MIT" ]
null
null
null
src/repositories/__init__.py
FernandoZnga/flask-api-setup
220ad881e61432d017a1eb34fead461e2042309d
[ "MIT" ]
null
null
null
from .user import UserRepository
32
32
0.875
4
32
7
1
0
0
0
0
0
0
0
0
0
0
0
0.09375
32
1
32
32
0.965517
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
8a67bd372ceb0dc6f7af9397f6624f490e11ec96
6,493
py
Python
code/model/temporal_corr.py
JiwanChung/tapm
ec42b139d1c012daccc55f85e67744488d526476
[ "MIT" ]
14
2021-07-14T13:36:52.000Z
2022-02-05T06:41:27.000Z
code/model/temporal_corr.py
JiwanChung/tapm
ec42b139d1c012daccc55f85e67744488d526476
[ "MIT" ]
11
2021-06-11T13:59:11.000Z
2022-03-25T03:57:46.000Z
code/model/temporal_corr.py
JiwanChung/tapm
ec42b139d1c012daccc55f85e67744488d526476
[ "MIT" ]
4
2021-08-12T15:47:07.000Z
2022-02-05T08:00:08.000Z
import torch from torch import nn from exp import ex from .pretrain_aux import PretrainAuxGroupRoll from .encoders import DeepEncoder from .old_encoders import OldTemporalEncoderEx class TemporalCorr(PretrainAuxGroupRoll): # include prev, next @ex.capture def __init__(self, transformer, tokenizer, dropo...
33.817708
86
0.625905
781
6,493
5.012804
0.131882
0.047765
0.043423
0.050575
0.796169
0.796169
0.770115
0.770115
0.770115
0.770115
0
0.00949
0.253504
6,493
191
87
33.994764
0.798226
0.059141
0
0.723077
0
0
0.01808
0
0
0
0
0
0
1
0.153846
false
0
0.046154
0
0.353846
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
8a760b5ce62d993f6914fb105a697b8e98c5b4a3
133
py
Python
sails/ui/mmck/parameters/__init__.py
metrasynth/solar-sails
3a10774dad29d85834d3acb38171741b3a11ef91
[ "MIT" ]
6
2016-11-22T14:32:55.000Z
2021-08-15T01:35:33.000Z
sails/ui/mmck/parameters/__init__.py
metrasynth/s4ils
efc061993d15ebe662b72ab8b3127f7f7ce2f66b
[ "MIT" ]
2
2022-03-18T16:47:43.000Z
2022-03-18T16:47:44.000Z
sails/ui/mmck/parameters/__init__.py
metrasynth/s4ils
efc061993d15ebe662b72ab8b3127f7f7ce2f66b
[ "MIT" ]
2
2019-07-09T23:44:08.000Z
2021-08-15T01:35:37.000Z
# Register widgets for parameter types from . import integer from . import keyvaluepairs from . import pathlist from . import string
22.166667
38
0.796992
17
133
6.235294
0.647059
0.377358
0
0
0
0
0
0
0
0
0
0
0.165414
133
5
39
26.6
0.954955
0.270677
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
8ac2265f2e335381d1f5fc42e925c4b1e6f0a2ee
2,167
py
Python
epytope/Data/pssms/tepitopepan/mat/DRB1_1601_9.py
christopher-mohr/epytope
8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd
[ "BSD-3-Clause" ]
7
2021-02-01T18:11:28.000Z
2022-01-31T19:14:07.000Z
epytope/Data/pssms/tepitopepan/mat/DRB1_1601_9.py
christopher-mohr/epytope
8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd
[ "BSD-3-Clause" ]
22
2021-01-02T15:25:23.000Z
2022-03-14T11:32:53.000Z
epytope/Data/pssms/tepitopepan/mat/DRB1_1601_9.py
christopher-mohr/epytope
8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd
[ "BSD-3-Clause" ]
4
2021-05-28T08:50:38.000Z
2022-03-14T11:45:32.000Z
DRB1_1601_9 = {0: {'A': -999.0, 'E': -999.0, 'D': -999.0, 'G': -999.0, 'F': -0.004754, 'I': -0.99525, 'H': -999.0, 'K': -999.0, 'M': -0.99525, 'L': -0.99525, 'N': -999.0, 'Q': -999.0, 'P': -999.0, 'S': -999.0, 'R': -999.0, 'T': -999.0, 'W': -0.004754, 'V': -0.99525, 'Y': -0.004754}, 1: {'A': 0.0, 'E': 0.1, 'D': -1.3, '...
2,167
2,167
0.395016
525
2,167
1.626667
0.201905
0.114754
0.028103
0.037471
0.224824
0.142857
0.142857
0.142857
0.133489
0.133489
0
0.374656
0.162437
2,167
1
2,167
2,167
0.095868
0
0
0
0
0
0.078875
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
76e04e9c1832ba07698bd9f24a27447e818ad7fd
29
py
Python
newenv/lib/python3.6/site-packages/django_nine/tests/__init__.py
SashaPo/Clovin
d6b63bad015fec4906198c0ff57d39a16207cc76
[ "MIT" ]
null
null
null
newenv/lib/python3.6/site-packages/django_nine/tests/__init__.py
SashaPo/Clovin
d6b63bad015fec4906198c0ff57d39a16207cc76
[ "MIT" ]
7
2020-06-06T01:06:19.000Z
2022-02-10T11:15:14.000Z
newenv/lib/python3.6/site-packages/django_nine/tests/__init__.py
SashaPo/Clovin
d6b63bad015fec4906198c0ff57d39a16207cc76
[ "MIT" ]
1
2020-11-04T03:21:24.000Z
2020-11-04T03:21:24.000Z
from .test_versions import *
14.5
28
0.793103
4
29
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.137931
29
1
29
29
0.88
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
76ef6317e1d34f1182441f995d0f9e1f486d95b0
43,825
py
Python
tests/test_MoleculeSet.py
himaghna/molSim
8c1356ec9cc3e08d4d30696adc682dc912675023
[ "MIT" ]
1
2020-02-10T20:14:21.000Z
2020-02-10T20:14:21.000Z
tests/test_MoleculeSet.py
himaghna/molSim
8c1356ec9cc3e08d4d30696adc682dc912675023
[ "MIT" ]
67
2020-02-10T08:09:03.000Z
2022-01-18T15:27:27.000Z
tests/test_MoleculeSet.py
himaghna/molSim
8c1356ec9cc3e08d4d30696adc682dc912675023
[ "MIT" ]
3
2020-02-10T20:14:25.000Z
2020-06-26T15:35:57.000Z
"""Test the MoleculeSet class.""" from os import remove, mkdir import os.path from shutil import rmtree import unittest import numpy as np import pandas as pd from rdkit.Chem import MolFromSmiles from rdkit.Chem.rdmolfiles import MolToPDBFile from sklearn.decomposition import PCA from sklearn.preprocessing import Stan...
38.886424
85
0.573942
4,585
43,825
5.244929
0.061723
0.097804
0.050566
0.055015
0.864022
0.85059
0.836577
0.822189
0.81566
0.803102
0
0.002302
0.35571
43,825
1,126
86
38.920959
0.849377
0.092755
0
0.691111
0
0.002222
0.202718
0.007688
0
0
0
0
0.113333
1
0.032222
false
0
0.014444
0
0.056667
0.055556
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0a0583de8ff33c8d46e0c134be5353ed8b775cf5
102,967
py
Python
core/controllers/acl_decorators.py
huntermaxfield/oppia
c0fac18a9fc7ea9fed555fb06818496f5ba92dcb
[ "Apache-2.0" ]
null
null
null
core/controllers/acl_decorators.py
huntermaxfield/oppia
c0fac18a9fc7ea9fed555fb06818496f5ba92dcb
[ "Apache-2.0" ]
null
null
null
core/controllers/acl_decorators.py
huntermaxfield/oppia
c0fac18a9fc7ea9fed555fb06818496f5ba92dcb
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2017 The Oppia 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 requi...
34.128936
80
0.647751
11,873
102,967
5.411606
0.036132
0.023423
0.014941
0.017276
0.868969
0.826931
0.779602
0.753253
0.724476
0.691527
0
0.000234
0.294269
102,967
3,016
81
34.140252
0.883964
0.405334
0
0.585185
0
0
0.058031
0.002016
0
0
0
0.000332
0
1
0.122222
false
0
0.021296
0
0.287963
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0a31f04621a88c37047eba0b1f3138090e220e3f
7,116
py
Python
models/encoders.py
romavlasov/idrnd-anti-spoofing-challenge
db35ceb50bfa173cabf651b6ac3a13894d6e34d5
[ "MIT" ]
10
2019-08-22T04:36:36.000Z
2022-02-07T13:11:36.000Z
models/encoders.py
romavlasov/idrnd-anti-spoofing-challenge
db35ceb50bfa173cabf651b6ac3a13894d6e34d5
[ "MIT" ]
8
2019-08-19T10:17:06.000Z
2020-10-29T12:58:40.000Z
models/encoders.py
romavlasov/idrnd-anti-spoofing-challenge
db35ceb50bfa173cabf651b6ac3a13894d6e34d5
[ "MIT" ]
5
2019-08-09T08:17:54.000Z
2021-09-22T01:45:38.000Z
import re import torch import torch.nn as nn from torch.utils import model_zoo from models.backbones.mobilenet import MobileNet from models.backbones.resnet import ResNet from models.backbones.resnet import BasicBlock from models.backbones.resnet import Bottleneck from models.backbones.senet import SENet from model...
38.885246
129
0.687886
953
7,116
4.980063
0.13851
0.057944
0.043826
0.064054
0.807627
0.753477
0.726296
0.719975
0.719975
0.719975
0
0.051348
0.176223
7,116
183
130
38.885246
0.758274
0.007589
0
0.48062
0
0.007752
0.132824
0.013169
0
0
0
0
0
1
0.131783
false
0
0.108527
0
0.364341
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0a39b861d0916abb8094572915d19be1260b1137
7,990
py
Python
data/setAnalysis.py
iesus/systematicity-sentence-production
f281d3642cea2cb342cdaeccfb0d9a0fb643ebc7
[ "BSD-3-Clause" ]
null
null
null
data/setAnalysis.py
iesus/systematicity-sentence-production
f281d3642cea2cb342cdaeccfb0d9a0fb643ebc7
[ "BSD-3-Clause" ]
null
null
null
data/setAnalysis.py
iesus/systematicity-sentence-production
f281d3642cea2cb342cdaeccfb0d9a0fb643ebc7
[ "BSD-3-Clause" ]
null
null
null
''' Created on Apr 22, 2016 @author: jesus Methods to evaluate how the sentence set generated by the production model resembles the set that is related to each DSS ''' def indicesToWords(indices,indexWordMapping): return [indexWordMapping[index] for index in indices] #precision=correctpredictions/allretriev...
102.435897
2,301
0.508385
1,657
7,990
2.445383
0.060954
0.131293
0.11846
0.088845
0.664116
0.636969
0.636969
0.61229
0.605133
0.598717
0
0.41024
0.232416
7,990
78
2,302
102.435897
0.250448
0.193742
0
0.04878
1
0
0.007663
0.006386
0
0
0
0
0
0
null
null
0
0.02439
null
null
0.170732
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
6
0a5005badfb4a907ca77e2f1c5a7394f75d3f15d
2,645
py
Python
src/genie/libs/parser/iosxe/tests/ShowDeviceTrackingMessages/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
204
2018-06-27T00:55:27.000Z
2022-03-06T21:12:18.000Z
src/genie/libs/parser/iosxe/tests/ShowDeviceTrackingMessages/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
468
2018-06-19T00:33:18.000Z
2022-03-31T23:23:35.000Z
src/genie/libs/parser/iosxe/tests/ShowDeviceTrackingMessages/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
309
2019-01-16T20:21:07.000Z
2022-03-30T12:56:41.000Z
expected_output = { "entries": { 1: { "timestamp": "Wed Jul 21 20:31:23.000", "vlan": 1, "interface": "Et0/1", "mac": "aabb.cc00.0300", "protocol": "ARP::REP", "ip": "192.168.23.3", "ignor...
34.350649
67
0.342155
239
2,645
3.769874
0.263598
0.106548
0.133185
0.150943
0.932297
0.914539
0.844617
0.844617
0.810211
0.669256
0
0.164057
0.493006
2,645
77
68
34.350649
0.50783
0
0
0.623377
0
0
0.358277
0.027211
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
6a7718b2ef0886feda21fb86a60ae48f98e1e488
17,675
py
Python
tests/test_versions.py
masonproffitt/uproot
634667fad826ec6c86e2df442887b1024c2cfee8
[ "BSD-3-Clause" ]
null
null
null
tests/test_versions.py
masonproffitt/uproot
634667fad826ec6c86e2df442887b1024c2cfee8
[ "BSD-3-Clause" ]
null
null
null
tests/test_versions.py
masonproffitt/uproot
634667fad826ec6c86e2df442887b1024c2cfee8
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # BSD 3-Clause License; see https://github.com/scikit-hep/uproot/blob/master/LICENSE import pytest try: import lzma except ImportError: lzma = pytest.importorskip('backports.lzma') lz4 = pytest.importorskip('lz4') import uproot class Test(object): sample = { b"n": [0, 1, 2...
129.014599
1,877
0.527242
3,050
17,675
3.041639
0.047213
0.060149
0.081276
0.110596
0.88229
0.85685
0.688477
0.522691
0.522475
0.51342
0
0.423466
0.178331
17,675
136
1,878
129.963235
0.215314
0.023876
0
0.153846
0
0
0.066415
0.030046
0
0
0
0
0.021978
1
0.164835
false
0
0.065934
0
0.252747
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
6a87205aeb3d34bd45b62e4b3ca500971354fb51
16,212
py
Python
nova/tests/compute/test_host_api.py
bopopescu/nova-39
36c7a819582b838b7bbab11d55ca3d991a587405
[ "Apache-2.0" ]
1
2021-04-08T10:13:03.000Z
2021-04-08T10:13:03.000Z
nova/tests/compute/test_host_api.py
bopopescu/nova-39
36c7a819582b838b7bbab11d55ca3d991a587405
[ "Apache-2.0" ]
null
null
null
nova/tests/compute/test_host_api.py
bopopescu/nova-39
36c7a819582b838b7bbab11d55ca3d991a587405
[ "Apache-2.0" ]
1
2020-07-24T09:39:47.000Z
2020-07-24T09:39:47.000Z
# Copyright (c) 2012 OpenStack Foundation # 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 ...
42.328982
79
0.57587
1,824
16,212
4.862939
0.103618
0.053213
0.070688
0.045998
0.786359
0.77531
0.762683
0.744194
0.726719
0.705524
0
0.007761
0.316494
16,212
382
80
42.439791
0.792708
0.058969
0
0.72093
0
0
0.105017
0.010587
0
0
0
0
0.109635
1
0.076412
false
0
0.019934
0.003322
0.106312
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
6ab946b3574d96dfc214417eb890451b4da41f97
55,887
py
Python
websecurityscanner/google/cloud/websecurityscanner_v1alpha/gapic/web_security_scanner_client.py
q-logic/google-cloud-python
a65065c89c059bc564bbdd79288a48970907c399
[ "Apache-2.0" ]
null
null
null
websecurityscanner/google/cloud/websecurityscanner_v1alpha/gapic/web_security_scanner_client.py
q-logic/google-cloud-python
a65065c89c059bc564bbdd79288a48970907c399
[ "Apache-2.0" ]
40
2019-07-16T10:04:48.000Z
2020-01-20T09:04:59.000Z
websecurityscanner/google/cloud/websecurityscanner_v1alpha/gapic/web_security_scanner_client.py
q-logic/google-cloud-python
a65065c89c059bc564bbdd79288a48970907c399
[ "Apache-2.0" ]
2
2019-07-18T00:05:31.000Z
2019-11-27T14:17:22.000Z
# -*- coding: utf-8 -*- # # Copyright 2020 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
42.306586
180
0.605615
5,922
55,887
5.539007
0.07413
0.031827
0.045973
0.032376
0.803427
0.784007
0.752668
0.725657
0.723279
0.708676
0
0.003882
0.317909
55,887
1,320
181
42.338636
0.856611
0.491349
0
0.574959
0
0
0.071857
0.016089
0
0
0
0.00303
0
1
0.031301
false
0.021417
0.037891
0
0.103789
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
6abfcab3e3d1169fc3be25b127012e462a2920b4
78
py
Python
tweet_classifier/layers/__init__.py
amr-amr/CrisisTweetMap
007a32cd23dc0ff5156f6271fbd49198c34077f6
[ "MIT" ]
2
2020-02-01T19:11:09.000Z
2020-08-02T13:10:41.000Z
tweet_classifier/layers/__init__.py
mirandrom/CrisisTweetMap
007a32cd23dc0ff5156f6271fbd49198c34077f6
[ "MIT" ]
null
null
null
tweet_classifier/layers/__init__.py
mirandrom/CrisisTweetMap
007a32cd23dc0ff5156f6271fbd49198c34077f6
[ "MIT" ]
null
null
null
from .cos_classification_layer import * from .l2_classification_layer import *
39
39
0.858974
10
78
6.3
0.6
0.603175
0.793651
0
0
0
0
0
0
0
0
0.014085
0.089744
78
2
40
39
0.873239
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
6ac6901f27f404dac95860298f5fb1456707afea
90
py
Python
devind_dictionaries/tasks/__init__.py
devind-team/devind-django-dictionaries
6b2086a15590c968450a5c6fa2a81b4734ee1a81
[ "MIT" ]
null
null
null
devind_dictionaries/tasks/__init__.py
devind-team/devind-django-dictionaries
6b2086a15590c968450a5c6fa2a81b4734ee1a81
[ "MIT" ]
1
2022-03-30T02:44:05.000Z
2022-03-30T02:44:05.000Z
devind_dictionaries/tasks/__init__.py
devind-team/devind-django-dictionaries
6b2086a15590c968450a5c6fa2a81b4734ee1a81
[ "MIT" ]
null
null
null
"""Background for async tasks.""" from .update_organizations import update_organizations
22.5
54
0.811111
10
90
7.1
0.8
0.535211
0
0
0
0
0
0
0
0
0
0
0.1
90
3
55
30
0.876543
0.3
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
6aedc923f5c7c807baa6dc1ee0ef5657b4030a7e
647
py
Python
ddop/newsvendor/__init__.py
AndreasPhilippi/Package
4ab00d8320f625e3edc191be159e2aa389ed18cf
[ "BSD-3-Clause" ]
4
2021-10-19T12:48:25.000Z
2022-03-25T10:52:38.000Z
ddop/newsvendor/__init__.py
AndreasPhilippi/Package
4ab00d8320f625e3edc191be159e2aa389ed18cf
[ "BSD-3-Clause" ]
1
2021-04-20T08:51:38.000Z
2021-04-20T08:51:38.000Z
ddop/newsvendor/__init__.py
AndreasPhilippi/Package
4ab00d8320f625e3edc191be159e2aa389ed18cf
[ "BSD-3-Clause" ]
2
2020-07-09T08:26:36.000Z
2020-07-28T13:51:08.000Z
from ._SampleAverageApproximationNewsvendor import SampleAverageApproximationNewsvendor from ._WeightedNewsvendor import DecisionTreeWeightedNewsvendor, RandomForestWeightedNewsvendor, \ KNeighborsWeightedNewsvendor, GaussianWeightedNewsvendor from ._LinearRegressionNewsvendor import LinearRegressionNewsvendor from...
58.818182
98
0.848532
27
647
20.037037
0.407407
0.221811
0.325323
0.421442
0
0
0
0
0
0
0
0
0.103555
647
10
99
64.7
0.932759
0
0
0
0
0
0.306028
0.306028
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
1
0
1
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
0ab1575ffbcd0e6999e074e01b84ed6020b0efc3
4,057
py
Python
tests/data/cantfit.py
joshbode/black
cea13f498418784e22f8fbd78db3f9240a2bad11
[ "MIT" ]
null
null
null
tests/data/cantfit.py
joshbode/black
cea13f498418784e22f8fbd78db3f9240a2bad11
[ "MIT" ]
1
2019-05-26T12:45:44.000Z
2019-05-26T12:45:44.000Z
tests/data/cantfit.py
joshbode/black
cea13f498418784e22f8fbd78db3f9240a2bad11
[ "MIT" ]
1
2019-04-10T06:40:09.000Z
2019-04-10T06:40:09.000Z
# long variable name this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = 0 this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = 1 # with a comment this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = [ 1, 2, 3...
39.77451
125
0.797141
693
4,057
4.164502
0.132756
0.11088
0.033957
0.092169
0.997921
0.997921
0.997921
0.997921
0.997921
0.997921
0
0.020684
0.141977
4,057
101
126
40.168317
0.808388
0.037466
0
0.477778
0
0.044444
0.228102
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0ab296da71ce268e32f4f01007f1ffcda2cdc2e5
43
py
Python
mvdnet/config/__init__.py
qiank10/MVDNet
d83663df068183d1e606100adb0fc78c35f1141c
[ "Apache-2.0" ]
51
2021-03-05T08:20:27.000Z
2022-03-30T03:16:19.000Z
mvdnet/config/__init__.py
qiank10/MVDNet
d83663df068183d1e606100adb0fc78c35f1141c
[ "Apache-2.0" ]
10
2021-04-04T09:07:44.000Z
2021-12-14T09:16:11.000Z
mvdnet/config/__init__.py
qiank10/MVDNet
d83663df068183d1e606100adb0fc78c35f1141c
[ "Apache-2.0" ]
4
2021-03-08T01:49:33.000Z
2021-12-03T12:46:01.000Z
from .config import get_mvdnet_cfg_defaults
43
43
0.906977
7
43
5.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.069767
43
1
43
43
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
0ac9f177425b7b1ac3cac05338223fbd7a61a227
34,795
py
Python
pylxd/tests/mock_lxd.py
simondeziel/pylxd
d82e4bbf81cb2a932d62179e895c955c489066fd
[ "Apache-2.0" ]
null
null
null
pylxd/tests/mock_lxd.py
simondeziel/pylxd
d82e4bbf81cb2a932d62179e895c955c489066fd
[ "Apache-2.0" ]
null
null
null
pylxd/tests/mock_lxd.py
simondeziel/pylxd
d82e4bbf81cb2a932d62179e895c955c489066fd
[ "Apache-2.0" ]
null
null
null
import json def instances_POST(request, context): context.status_code = 202 return json.dumps( {"type": "async", "operation": "/1.0/operations/operation-abc?project=default"} ) def instance_POST(request, context): context.status_code = 202 if not request.json().get("migration", False): ...
29.944062
121
0.410231
2,877
34,795
4.916927
0.095586
0.018521
0.043687
0.09105
0.866747
0.858759
0.839672
0.807154
0.78121
0.735119
0
0.071959
0.411697
34,795
1,161
122
29.969854
0.619101
0.010576
0
0.541102
0
0.019874
0.398994
0.063365
0
0
0
0
0
1
0.01355
false
0
0.000903
0
0.028907
0.006323
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0ae7c340ea8bdb8fd7bcc3ddef182d11254f843f
39,128
py
Python
tests/components/homeassistant/triggers/test_state.py
JonahKr/core
8c96eb7c5602b5e0adf7688b8ac6ba127bc663d0
[ "Apache-2.0" ]
null
null
null
tests/components/homeassistant/triggers/test_state.py
JonahKr/core
8c96eb7c5602b5e0adf7688b8ac6ba127bc663d0
[ "Apache-2.0" ]
null
null
null
tests/components/homeassistant/triggers/test_state.py
JonahKr/core
8c96eb7c5602b5e0adf7688b8ac6ba127bc663d0
[ "Apache-2.0" ]
null
null
null
"""The test for state automation.""" from datetime import timedelta import pytest import homeassistant.components.automation as automation from homeassistant.components.homeassistant.triggers import state as state_trigger from homeassistant.core import Context from homeassistant.setup import async_setup_component imp...
34.083624
87
0.546233
4,172
39,128
4.854746
0.043384
0.051842
0.071196
0.096623
0.909055
0.896662
0.881406
0.854498
0.830503
0.807594
0
0.009119
0.332959
39,128
1,147
88
34.113339
0.766897
0.016638
0
0.661475
0
0
0.15261
0.009344
0
0
0
0
0.115265
1
0.002077
false
0
0.010384
0
0.013499
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
e4059f085f069dff6597f0d3a182195fd1a0a044
65
py
Python
tests/test_ap_project.py
jackeiel/2019sp-ap_project-jackeiel
5671d0c40d84a7a4169a7a913f55996912fbc61d
[ "BSD-2-Clause" ]
null
null
null
tests/test_ap_project.py
jackeiel/2019sp-ap_project-jackeiel
5671d0c40d84a7a4169a7a913f55996912fbc61d
[ "BSD-2-Clause" ]
null
null
null
tests/test_ap_project.py
jackeiel/2019sp-ap_project-jackeiel
5671d0c40d84a7a4169a7a913f55996912fbc61d
[ "BSD-2-Clause" ]
null
null
null
from ap_project.cli import main def test_main(): main([])
9.285714
31
0.661538
10
65
4.1
0.8
0
0
0
0
0
0
0
0
0
0
0
0.215385
65
6
32
10.833333
0.803922
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
6
7c0f9352f64cbb0487f84b14a78f39a4453e6144
18
py
Python
project/7.26-7.27/t/c1.py
mintlov3r/oh-my-python
b99e65ebe31926d92d825d8ad3294e970d9dc722
[ "Apache-2.0" ]
null
null
null
project/7.26-7.27/t/c1.py
mintlov3r/oh-my-python
b99e65ebe31926d92d825d8ad3294e970d9dc722
[ "Apache-2.0" ]
null
null
null
project/7.26-7.27/t/c1.py
mintlov3r/oh-my-python
b99e65ebe31926d92d825d8ad3294e970d9dc722
[ "Apache-2.0" ]
null
null
null
a = 1 b = 2 c = 3
6
6
0.333333
6
18
1
1
0
0
0
0
0
0
0
0
0
0
0.333333
0.5
18
3
7
6
0.333333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
7c13d91224f0a420dd0bb8baa98e7a47fc4a9b59
96
py
Python
venv/lib/python3.8/site-packages/distlib/index.py
Retraces/UkraineBot
3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/distlib/index.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/distlib/index.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/51/f7/22/98d5b5f4007b20a59a9b855a25b5ee081bc0aca7d2c61575e84c1abf31
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.416667
0
96
1
96
96
0.479167
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
7cb5458518d6d73ad0c3454f914c7422f4288579
24
py
Python
lungs_ml/__init__.py
dumaevrinat/lung_diseases
caa24a0c263e82106f585b7bcb0c57417fc9a06a
[ "MIT" ]
3
2021-05-09T01:50:41.000Z
2022-01-06T08:07:48.000Z
lungs_ml/__init__.py
dumaevrinat/lung_diseases
caa24a0c263e82106f585b7bcb0c57417fc9a06a
[ "MIT" ]
null
null
null
lungs_ml/__init__.py
dumaevrinat/lung_diseases
caa24a0c263e82106f585b7bcb0c57417fc9a06a
[ "MIT" ]
null
null
null
from .lungs_ml import *
12
23
0.75
4
24
4.25
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
24
1
24
24
0.85
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
7cfef4f68c654a34f1bd273f8e65d80cb4c8ca53
9,774
py
Python
sigpy/mri/rf/b1sel.py
kmjohnson3/sigpy
6d5f9c66f7446a13b3615c31446bbce8adc5dfaa
[ "BSD-3-Clause" ]
196
2018-07-07T00:42:42.000Z
2022-03-22T02:30:24.000Z
sigpy/mri/rf/b1sel.py
kmjohnson3/sigpy
6d5f9c66f7446a13b3615c31446bbce8adc5dfaa
[ "BSD-3-Clause" ]
79
2018-10-12T19:53:21.000Z
2022-03-30T13:44:41.000Z
sigpy/mri/rf/b1sel.py
kmjohnson3/sigpy
6d5f9c66f7446a13b3615c31446bbce8adc5dfaa
[ "BSD-3-Clause" ]
68
2018-09-26T03:46:42.000Z
2022-03-11T03:51:49.000Z
# -*- coding: utf-8 -*- """:math:`B_1^{+}`-selective RF Pulse Design functions. """ import numpy as np from sigpy.mri.rf import slr as slr from sigpy.mri.rf.util import dinf __all__ = ['dz_b1_rf', 'dz_b1_gslider_rf', 'dz_b1_hadamard_rf'] def dz_b1_rf(dt=2e-6, tb=4, ptype='st', flip=np.pi / 6, pbw=0.3, p...
37.163498
79
0.536423
1,446
9,774
3.57538
0.167358
0.008511
0.04352
0.020309
0.82882
0.812379
0.795745
0.777756
0.761122
0.754545
0
0.04566
0.321056
9,774
262
80
37.305344
0.733424
0.501023
0
0.543478
0
0
0.010398
0
0
0
0
0
0
1
0.032609
false
0
0.032609
0
0.097826
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
6b072c8c203130d79974211e801b1b0299ffca89
22,371
py
Python
objectModel/Python/tests/cdm/projection/test_projection_add_attribute_group.py
MiguelSHS/microsoftCDM
d8df31fa455fcc6afd698e3ca7ec0f8c4a6716fd
[ "CC-BY-4.0", "MIT" ]
null
null
null
objectModel/Python/tests/cdm/projection/test_projection_add_attribute_group.py
MiguelSHS/microsoftCDM
d8df31fa455fcc6afd698e3ca7ec0f8c4a6716fd
[ "CC-BY-4.0", "MIT" ]
null
null
null
objectModel/Python/tests/cdm/projection/test_projection_add_attribute_group.py
MiguelSHS/microsoftCDM
d8df31fa455fcc6afd698e3ca7ec0f8c4a6716fd
[ "CC-BY-4.0", "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. import os import unittest from typing import TYPE_CHECKING from cdm.enums import CdmObjectType from cdm.objectmodel import CdmCorpusDefinition, CdmEntityDefinition...
60.137097
166
0.739439
2,577
22,371
6.158324
0.079938
0.075614
0.060113
0.069313
0.835539
0.811153
0.781916
0.738815
0.711846
0.706238
0
0.006327
0.166376
22,371
371
167
60.299191
0.844657
0.172947
0
0.605042
0
0
0.090914
0.02943
0
0
0
0
0.336134
1
0
false
0
0.033613
0
0.046218
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
6b257ff22c24daf4b4b739bdca01754aeab1287a
5,023
py
Python
ims/encryptedfile/tests/test_encrypt_decrypt.py
imsweb/ims.encryptedfile
0c9b588d1b7d2fad4c9d1c4de5325428f081968b
[ "MIT" ]
null
null
null
ims/encryptedfile/tests/test_encrypt_decrypt.py
imsweb/ims.encryptedfile
0c9b588d1b7d2fad4c9d1c4de5325428f081968b
[ "MIT" ]
null
null
null
ims/encryptedfile/tests/test_encrypt_decrypt.py
imsweb/ims.encryptedfile
0c9b588d1b7d2fad4c9d1c4de5325428f081968b
[ "MIT" ]
null
null
null
import os from plone import api from plone.namedfile import NamedFile from zope.component import getUtility from . import base from ..interfaces import IEncryptionUtility from ..utility import DecryptionError base_path = os.path.dirname(os.path.realpath(__file__)) class TestEncryptDecrypt(base.IntegrationTestCase)...
35.373239
84
0.637269
606
5,023
5.107261
0.186469
0.056866
0.029079
0.063974
0.739257
0.739257
0.72504
0.72504
0.688207
0.688207
0
0.007937
0.272546
5,023
141
85
35.624113
0.83908
0.128011
0
0.73913
0
0
0.082517
0
0
0
0
0
0.152174
1
0.054348
false
0.195652
0.086957
0
0.163043
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
6
6b272c80ce6da8ce9664a05b91f35800feaead21
29
py
Python
app_store_connect_files/environ_test.py
VladKhol/Apple_Appstore_Data_Pipeline
9f2000b76cd690a53534ee039a210cd485f7a32e
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
GodwillOnyewuchi/Phase 1/Python Basic 2/day 7 task/task 3.py
GREENFONTS/python-challenge-solutions
a9aad85a250892fe41961a7d5e77f67b8d14fc1b
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
GodwillOnyewuchi/Phase 1/Python Basic 2/day 7 task/task 3.py
GREENFONTS/python-challenge-solutions
a9aad85a250892fe41961a7d5e77f67b8d14fc1b
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
import os print(os.environ)
7.25
17
0.758621
5
29
4.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.137931
29
3
18
9.666667
0.88
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
6
861695dd61fc5887ccd9f824c0684021549e8d0b
75
py
Python
pineboolib/qt3_widgets/qspinbox.py
deavid/pineboo
acc96ab6d5b8bb182990af6dea4bf0986af15549
[ "MIT" ]
2
2015-09-19T16:54:49.000Z
2016-09-12T08:06:29.000Z
pineboolib/qt3_widgets/qspinbox.py
deavid/pineboo
acc96ab6d5b8bb182990af6dea4bf0986af15549
[ "MIT" ]
1
2017-08-14T17:07:14.000Z
2017-08-15T00:22:47.000Z
pineboolib/qt3_widgets/qspinbox.py
deavid/pineboo
acc96ab6d5b8bb182990af6dea4bf0986af15549
[ "MIT" ]
9
2015-01-15T18:15:42.000Z
2019-05-05T18:53:00.000Z
from PyQt5 import QtWidgets class QSpinBox(QtWidgets.QSpinBox): pass
12.5
35
0.773333
9
75
6.444444
0.777778
0
0
0
0
0
0
0
0
0
0
0.016129
0.173333
75
5
36
15
0.919355
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
8654432280fed620c96ee5e35687a35e153afacf
18,718
py
Python
pysph/base/tests/test_kernel.py
nauaneed/pysph
9cb9a859934939307c65a25cbf73e4ecc83fea4a
[ "BSD-3-Clause" ]
293
2017-05-26T14:41:15.000Z
2022-03-28T09:56:16.000Z
pysph/base/tests/test_kernel.py
nauaneed/pysph
9cb9a859934939307c65a25cbf73e4ecc83fea4a
[ "BSD-3-Clause" ]
217
2017-05-29T15:48:14.000Z
2022-03-24T16:16:55.000Z
pysph/base/tests/test_kernel.py
nauaneed/pysph
9cb9a859934939307c65a25cbf73e4ecc83fea4a
[ "BSD-3-Clause" ]
126
2017-05-25T19:17:32.000Z
2022-03-25T11:23:24.000Z
import numpy as np try: from scipy.integrate import quad except ImportError: quad = None from unittest import TestCase, main from pysph.base.kernels import (CubicSpline, Gaussian, QuinticSpline, SuperGaussian, WendlandQuintic, WendlandQuinticC4, W...
35.996154
79
0.564911
2,677
18,718
3.796787
0.063877
0.027548
0.177489
0.095041
0.859406
0.821822
0.733078
0.708678
0.701397
0.693231
0
0.069568
0.247409
18,718
519
80
36.065511
0.651949
0.023774
0
0.633423
0
0
0.007934
0
0
0
0
0
0.231806
1
0.172507
false
0
0.013477
0.010782
0.334232
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
8669e9b87e5d95bc106309d261510fb35c93f370
10,429
py
Python
design2.py
arashdeveloper1380/Store-software-with-PyQT
8d379790eae06eae4330faad2a74f1ce57ebdf5e
[ "Apache-2.0" ]
null
null
null
design2.py
arashdeveloper1380/Store-software-with-PyQT
8d379790eae06eae4330faad2a74f1ce57ebdf5e
[ "Apache-2.0" ]
null
null
null
design2.py
arashdeveloper1380/Store-software-with-PyQT
8d379790eae06eae4330faad2a74f1ce57ebdf5e
[ "Apache-2.0" ]
null
null
null
from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Dialogadd(object): def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(366, 162) Dialog.setMinimumSize(QtCore.QSize(366, 162)) Dialog.setMaximumSize(QtCore.QSize(366, 162)) palette = QtGui.QPalette() brush = QtGui.QBrush(...
50.139423
128
0.748777
1,351
10,429
5.754996
0.102147
0.152154
0.092605
0.121543
0.824051
0.803215
0.737621
0.737621
0.737621
0.731061
0
0.047051
0.115543
10,429
207
129
50.381643
0.795859
0
0
0.459184
0
0
0.018493
0
0
0
0
0
0
1
0.015306
false
0
0.005102
0
0.02551
0.005102
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
867c7204ed439bdc365db2044f59581b9d123f8d
3,656
py
Python
emailtemplates/migrations/0001_initial.py
deployed/django-emailtemplates
d33c80843092e397c78e9310fa4858a7bdc25cb6
[ "MIT" ]
14
2015-11-30T11:19:03.000Z
2022-02-04T08:28:51.000Z
emailtemplates/migrations/0001_initial.py
deployed/django-emailtemplates
d33c80843092e397c78e9310fa4858a7bdc25cb6
[ "MIT" ]
14
2015-11-30T12:58:46.000Z
2018-12-22T14:35:26.000Z
emailtemplates/migrations/0001_initial.py
deployed/django-emailtemplates
d33c80843092e397c78e9310fa4858a7bdc25cb6
[ "MIT" ]
10
2015-11-30T11:20:36.000Z
2020-12-10T13:29:14.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-31 14:23 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateMo...
107.529412
2,509
0.749453
474
3,656
5.535865
0.255274
0.116235
0.109756
0.073171
0.770579
0.737043
0.682546
0.485899
0.367378
0.105945
0
0.013665
0.099289
3,656
33
2,510
110.787879
0.783176
0.0186
0
0.08
1
0
0.604463
0.569596
0
0
0
0
0
1
0
false
0.04
0.12
0
0.28
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
8686adc1d98f5e11b8099acdfadeaaf8b3f61d1c
82
py
Python
cherry/runner/__init__.py
vishalbelsare/cherry-pytorch
7a05b488de1f4a5de52fe7d0f5e639b381da42d4
[ "MIT" ]
11
2020-01-28T15:40:25.000Z
2021-01-02T23:09:05.000Z
cherry/runner/__init__.py
vishalbelsare/cherry-pytorch
7a05b488de1f4a5de52fe7d0f5e639b381da42d4
[ "MIT" ]
30
2019-12-14T12:11:07.000Z
2020-01-29T10:56:13.000Z
cherry/runner/__init__.py
vishalbelsare/cherry-pytorch
7a05b488de1f4a5de52fe7d0f5e639b381da42d4
[ "MIT" ]
1
2020-01-29T13:15:46.000Z
2020-01-29T13:15:46.000Z
from cherry.runner.trainer import Trainer from cherry.runner.player import Player
27.333333
41
0.853659
12
82
5.833333
0.5
0.285714
0.457143
0
0
0
0
0
0
0
0
0
0.097561
82
2
42
41
0.945946
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
869020b15db82244db9b587af332e454775e72c2
2,204
py
Python
test/test_gits_profile.py
oaaky/GITS
2254f298df158b5d085015c4cf9b542b059b3a6c
[ "MIT" ]
2
2020-11-11T08:45:07.000Z
2021-09-02T18:36:21.000Z
test/test_gits_profile.py
oaaky/GITS
2254f298df158b5d085015c4cf9b542b059b3a6c
[ "MIT" ]
24
2020-10-01T16:55:05.000Z
2020-10-27T02:51:25.000Z
test/test_gits_profile.py
oaaky/GITS
2254f298df158b5d085015c4cf9b542b059b3a6c
[ "MIT" ]
15
2020-10-02T03:43:30.000Z
2021-10-01T03:48:32.000Z
import argparse import os import sys sys.path.insert(1, os.getcwd()) from gits_profile import gits_set_profile from mock import patch, Mock def parse_args(args): parser = argparse.ArgumentParser() return parser.parse_args(args) @patch("argparse.ArgumentParser.parse_args", return_value=argparse.Name...
29.783784
94
0.705989
292
2,204
5.061644
0.219178
0.064953
0.060893
0.064953
0.81935
0.81935
0.81935
0.81935
0.81935
0.694858
0
0.003861
0.177405
2,204
73
95
30.191781
0.811362
0.082577
0
0.686275
0
0
0.183704
0.088057
0
0
0
0
0.117647
1
0.078431
false
0
0.098039
0
0.196078
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
8692555f43b25fbc923894859c25e1a7e3d4fc52
11,532
py
Python
dirigible/fts/tests/test_2884_FeedbackForm.py
EnoX1/dirigible-spreadsheet
9a3289c67a93c40190565ad5a555710c50c5f958
[ "MIT" ]
168
2015-01-03T02:09:30.000Z
2022-03-31T22:28:00.000Z
dirigible/fts/tests/test_2884_FeedbackForm.py
EnoX1/dirigible-spreadsheet
9a3289c67a93c40190565ad5a555710c50c5f958
[ "MIT" ]
4
2017-03-14T20:49:49.000Z
2020-04-02T16:13:00.000Z
dirigible/fts/tests/test_2884_FeedbackForm.py
EnoX1/dirigible-spreadsheet
9a3289c67a93c40190565ad5a555710c50c5f958
[ "MIT" ]
46
2015-01-18T04:39:24.000Z
2022-02-17T22:33:05.000Z
# Copyright (c) 2010 Resolver Systems Ltd. # All Rights Reserved # from functionaltest import FunctionalTest, Url class Test_2884_FeedbackForm(FunctionalTest): def tearDown(self): FunctionalTest.tearDown(self) self.clear_email_for_address( 'harold.testuser-admin@projectdirigible.com'...
42.087591
109
0.656348
1,443
11,532
4.987526
0.155925
0.11477
0.124496
0.105044
0.822982
0.818952
0.814784
0.799361
0.799361
0.799361
0
0.002904
0.253469
11,532
273
110
42.241758
0.833082
0.181408
0
0.622754
0
0
0.348396
0.205585
0
0
0
0
0.173653
1
0.023952
false
0
0.005988
0
0.035928
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
86961dd933a73f292da722fe76467657a20e950a
242
py
Python
colossalai/nn/layer/__init__.py
xdjiangkai/ColossalAI
4a3d3446b04065fa1c89b78cba673e96115c6325
[ "Apache-2.0" ]
null
null
null
colossalai/nn/layer/__init__.py
xdjiangkai/ColossalAI
4a3d3446b04065fa1c89b78cba673e96115c6325
[ "Apache-2.0" ]
null
null
null
colossalai/nn/layer/__init__.py
xdjiangkai/ColossalAI
4a3d3446b04065fa1c89b78cba673e96115c6325
[ "Apache-2.0" ]
1
2022-01-06T17:16:32.000Z
2022-01-06T17:16:32.000Z
from .colossalai_layer import * from .parallel_1d import * from .parallel_2d import * from .parallel_2p5d import * from .parallel_3d import * from .parallel_sequence import * from .utils import * from .vanilla import * from .wrapper import *
24.2
32
0.77686
33
242
5.515152
0.393939
0.43956
0.494505
0
0
0
0
0
0
0
0
0.024272
0.14876
242
9
33
26.888889
0.859223
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
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
86d47f03820ceeb21682c096e8f60f4072f90a3d
141
py
Python
directed_information/__init__.py
elipugh/directed_information
d94172496a4d544c9e244c4a95acb8539017bb77
[ "MIT" ]
2
2019-04-23T23:08:03.000Z
2021-01-24T08:26:12.000Z
directed_information/__init__.py
elipugh/directed_information
d94172496a4d544c9e244c4a95acb8539017bb77
[ "MIT" ]
null
null
null
directed_information/__init__.py
elipugh/directed_information
d94172496a4d544c9e244c4a95acb8539017bb77
[ "MIT" ]
null
null
null
from .compute_DI_MI import compute_DI_MI from .ctwalgorithm import ctwalgorithm from .ctwentropy import ctwentropy from . import fast_mat_DI
28.2
40
0.858156
21
141
5.47619
0.428571
0.156522
0.191304
0
0
0
0
0
0
0
0
0
0.113475
141
4
41
35.25
0.92
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
86f6f3b21a38ff481034ad5a0661f51db03c6a26
208
py
Python
test/mainApp/admin.py
BoggerSancho/test_mydjango
b7c456e408e7c76881524e8c68987c1cf3ac7ea9
[ "BSD-3-Clause" ]
null
null
null
test/mainApp/admin.py
BoggerSancho/test_mydjango
b7c456e408e7c76881524e8c68987c1cf3ac7ea9
[ "BSD-3-Clause" ]
5
2020-06-05T19:40:11.000Z
2021-06-10T21:06:08.000Z
test/mainApp/admin.py
BoggerSancho/test_mydjango
b7c456e408e7c76881524e8c68987c1cf3ac7ea9
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from .models import Books, Transletors, Reader, Journal admin.site.register(Books) admin.site.register(Transletors) admin.site.register(Reader) admin.site.register(Journal)
23.111111
55
0.817308
28
208
6.071429
0.428571
0.211765
0.4
0
0
0
0
0
0
0
0
0
0.081731
208
8
56
26
0.890052
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
810558dba8a50d544ab6b7e446194865f9de946e
22,710
py
Python
FastAPI Server Based/Tutorial/venv/Lib/site-packages/graphql_relay/connection/tests/test_arrayconnection.py
viswadeep-sarangi/DeployMLModel
969a6425f2ac93188962f9c62a6b8cde94372212
[ "MIT" ]
2
2021-06-14T20:01:22.000Z
2022-01-07T12:56:53.000Z
FastAPI Server Based/Tutorial/venv/Lib/site-packages/graphql_relay/connection/tests/test_arrayconnection.py
viswadeep-sarangi/DeployMLModel
969a6425f2ac93188962f9c62a6b8cde94372212
[ "MIT" ]
13
2020-03-24T17:53:51.000Z
2022-02-10T20:01:14.000Z
myvenv/lib/python3.6/site-packages/graphql_relay/connection/tests/test_arrayconnection.py
yog240597/saleor
b75a23827a4ec2ce91637f0afe6808c9d09da00a
[ "CC-BY-4.0" ]
2
2021-04-12T18:16:00.000Z
2021-06-26T05:01:18.000Z
from promise import Promise from ..arrayconnection import ( connection_from_list, connection_from_list_slice, connection_from_promised_list, connection_from_promised_list_slice, cursor_for_object_in_connection ) letters = ['A', 'B', 'C', 'D', 'E'] letters_promise = Promise.resolve(letters) def t...
27.100239
86
0.470145
1,444
22,710
7.161357
0.064404
0.044677
0.042066
0.04603
0.938304
0.922445
0.917319
0.881636
0.825549
0.790156
0
0.050658
0.401101
22,710
837
87
27.132616
0.709654
0
0
0.623545
0
0
0.278688
0.166094
0
0
0
0
0.040103
1
0.040103
false
0
0.002587
0
0.042691
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
d4989265fbd96bd43ea5729332e6f5eabf460f6b
178
py
Python
pythonMundoTres/test.py
HendrylNogueira/CursoPython3
c3d9d4e2a27312b83d744aaf0f8d01b26e6faf4f
[ "MIT" ]
null
null
null
pythonMundoTres/test.py
HendrylNogueira/CursoPython3
c3d9d4e2a27312b83d744aaf0f8d01b26e6faf4f
[ "MIT" ]
null
null
null
pythonMundoTres/test.py
HendrylNogueira/CursoPython3
c3d9d4e2a27312b83d744aaf0f8d01b26e6faf4f
[ "MIT" ]
null
null
null
print(f'{"cod nome":<18} {"gols":<10} {"total":>20}') print(f'-' * 50) print(f'{"0 "}', end='') print(f'{"nome":<17}', end='') print(f'{"3, 4":<10}', end='') print(f'{"5":>20}')
25.428571
53
0.466292
31
178
2.677419
0.516129
0.433735
0.325301
0
0
0
0
0
0
0
0
0.111111
0.089888
178
6
54
29.666667
0.401235
0
0
0
0
0
0.466292
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
d49a86991f989be87ffd0222267e751018dbe977
8,037
py
Python
tests/sync_tests/test_interfaces.py
simonw/httpcore
e3fc57660731f586cffab8a6f9fb0fdd69b7e344
[ "BSD-3-Clause" ]
null
null
null
tests/sync_tests/test_interfaces.py
simonw/httpcore
e3fc57660731f586cffab8a6f9fb0fdd69b7e344
[ "BSD-3-Clause" ]
null
null
null
tests/sync_tests/test_interfaces.py
simonw/httpcore
e3fc57660731f586cffab8a6f9fb0fdd69b7e344
[ "BSD-3-Clause" ]
null
null
null
import ssl import typing import pytest import httpcore def read_body(stream: httpcore.SyncByteStream) -> bytes: try: body = [] for chunk in stream: body.append(chunk) return b"".join(body) finally: stream.close() def test_http_request() -> None: with httpco...
31.272374
82
0.588652
1,008
8,037
4.550595
0.10119
0.058862
0.06235
0.036843
0.819054
0.794637
0.769784
0.754524
0.731851
0.723567
0
0.02324
0.277218
8,037
256
83
31.394531
0.766397
0.029737
0
0.686275
0
0
0.096351
0
0
0
0
0
0.230392
1
0.053922
false
0
0.019608
0
0.078431
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
d4eb0ec2d3c0017e839ae331eefdaf9c38b51735
11,364
py
Python
SimModel_Python_API/simmodel_swig/Release/SimGeomSurfaceModel_FaceBasedSurfaceModel_Default.py
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
3
2016-05-30T15:12:16.000Z
2022-03-22T08:11:13.000Z
SimModel_Python_API/simmodel_swig/Release/SimGeomSurfaceModel_FaceBasedSurfaceModel_Default.py
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
21
2016-06-13T11:33:45.000Z
2017-05-23T09:46:52.000Z
SimModel_Python_API/simmodel_swig/Release/SimGeomSurfaceModel_FaceBasedSurfaceModel_Default.py
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.7 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (2, 6, 0): def swig_import_helper(): from os.path imp...
45.638554
196
0.775783
1,082
11,364
7.562847
0.134011
0.415496
0.407797
0.193572
0.746303
0.696688
0.649028
0.596969
0.518636
0.445436
0
0.001773
0.156459
11,364
248
197
45.822581
0.851867
0.025871
0
0.407216
1
0
0.030199
0.009042
0
0
0
0
0
1
0.149485
false
0.010309
0.056701
0.108247
0.530928
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
6
be0ef28ce1fc0291a42cd99f32b01f61d466ea81
144
py
Python
stores/apps/lots/admin.py
diassor/CollectorCity-Market-Place
892ad220b8cf1c0fc7433f625213fe61729522b2
[ "Apache-2.0" ]
135
2015-03-19T13:28:18.000Z
2022-03-27T06:41:42.000Z
stores/apps/lots/admin.py
dfcoding/CollectorCity-Market-Place
e59acec3d600c049323397b17cae14fdcaaaec07
[ "Apache-2.0" ]
null
null
null
stores/apps/lots/admin.py
dfcoding/CollectorCity-Market-Place
e59acec3d600c049323397b17cae14fdcaaaec07
[ "Apache-2.0" ]
83
2015-01-30T01:00:15.000Z
2022-03-08T17:25:10.000Z
from models import * from django.contrib import admin admin.site.register(Lot) admin.site.register(ImageLot) admin.site.register(BidHistory)
16
32
0.805556
20
144
5.8
0.55
0.232759
0.439655
0
0
0
0
0
0
0
0
0
0.097222
144
8
33
18
0.892308
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
078e0b2672dacb4b76bb648966c385829c38dd74
43
py
Python
Python/deepfetal/deepfetal/unit/__init__.py
lcorgra/RGDSVR
46b0b707a797902a5330d6bd5c73bb6fcec01aba
[ "MIT" ]
null
null
null
Python/deepfetal/deepfetal/unit/__init__.py
lcorgra/RGDSVR
46b0b707a797902a5330d6bd5c73bb6fcec01aba
[ "MIT" ]
null
null
null
Python/deepfetal/deepfetal/unit/__init__.py
lcorgra/RGDSVR
46b0b707a797902a5330d6bd5c73bb6fcec01aba
[ "MIT" ]
null
null
null
from .decoder import * from .atac import *
14.333333
22
0.72093
6
43
5.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.186047
43
2
23
21.5
0.885714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
0792496935ab4210fc4b75f4185aae8d94bf9eeb
65
py
Python
qpip/__init__.py
vongostev/QPIP
f19fac9a22cbca0d80a20bc55d57d5c97f296fc4
[ "MIT" ]
1
2021-02-28T16:41:47.000Z
2021-02-28T16:41:47.000Z
qpip/__init__.py
vongostev/QPIP
f19fac9a22cbca0d80a20bc55d57d5c97f296fc4
[ "MIT" ]
1
2021-04-20T22:12:46.000Z
2021-04-20T22:12:46.000Z
qpip/__init__.py
vongostev/QPIP
f19fac9a22cbca0d80a20bc55d57d5c97f296fc4
[ "MIT" ]
null
null
null
from .epscon import * from .denoise import * from .moms import *
16.25
22
0.723077
9
65
5.222222
0.555556
0.425532
0
0
0
0
0
0
0
0
0
0
0.184615
65
3
23
21.666667
0.886792
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
07a8d666606606e1bfa28670b50f4002ecb12cea
181
py
Python
Scripts/rst2odt.py
saranya515/python-api
9870b064c1238845b3e6714c8116e3c949868c62
[ "bzip2-1.0.6" ]
null
null
null
Scripts/rst2odt.py
saranya515/python-api
9870b064c1238845b3e6714c8116e3c949868c62
[ "bzip2-1.0.6" ]
null
null
null
Scripts/rst2odt.py
saranya515/python-api
9870b064c1238845b3e6714c8116e3c949868c62
[ "bzip2-1.0.6" ]
null
null
null
#!C:\Python27\python.exe # EASY-INSTALL-SCRIPT: 'docutils==0.12','rst2odt.py' __requires__ = 'docutils==0.12' __import__('pkg_resources').run_script('docutils==0.12', 'rst2odt.py')
36.2
70
0.723757
26
181
4.653846
0.653846
0.223141
0.272727
0.280992
0.429752
0.429752
0
0
0
0
0
0.075581
0.049724
181
4
71
45.25
0.627907
0.40884
0
0
0
0
0.485714
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
07b7d3ee8f425a7242a0b1637d8e188acab8a205
25,190
py
Python
tests/test_configuration_set.py
Frank5000/python-configuration
daecc89ce704dd043c00748de7aa62185ae739eb
[ "MIT" ]
51
2019-03-01T07:24:35.000Z
2022-03-28T15:14:11.000Z
tests/test_configuration_set.py
Frank5000/python-configuration
daecc89ce704dd043c00748de7aa62185ae739eb
[ "MIT" ]
57
2019-07-05T20:08:32.000Z
2022-03-03T14:58:42.000Z
tests/test_configuration_set.py
Frank5000/python-configuration
daecc89ce704dd043c00748de7aa62185ae739eb
[ "MIT" ]
22
2019-07-05T15:55:18.000Z
2021-12-02T10:23:12.000Z
from config import ( config_from_dict, config_from_env, config_from_python, create_path_from_config, Configuration, ConfigurationSet, config, ) import os import json try: import yaml except ImportError: yaml = None # type: ignore try: import toml except ImportError: toml = ...
28.690205
102
0.562604
3,184
25,190
4.282349
0.079774
0.058893
0.072314
0.033443
0.824202
0.79956
0.773084
0.740887
0.710011
0.687495
0
0.050305
0.28424
25,190
877
103
28.722919
0.705935
0.037634
0
0.552342
0
0.004132
0.132556
0
0
0
0
0
0.096419
1
0.027548
false
0
0.034435
0
0.061983
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
6af4521369cc692597fe497e499b50be6eaa2727
72
py
Python
foundation/backend/views/controller/mixins/__init__.py
tbone255/foundation
ca76fdd9b5345fead2d200f829eb67ba77bc865e
[ "MIT" ]
null
null
null
foundation/backend/views/controller/mixins/__init__.py
tbone255/foundation
ca76fdd9b5345fead2d200f829eb67ba77bc865e
[ "MIT" ]
null
null
null
foundation/backend/views/controller/mixins/__init__.py
tbone255/foundation
ca76fdd9b5345fead2d200f829eb67ba77bc865e
[ "MIT" ]
null
null
null
from .pagination import * from .search import * from . import variables
18
25
0.763889
9
72
6.111111
0.555556
0.363636
0
0
0
0
0
0
0
0
0
0
0.166667
72
3
26
24
0.916667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
ed124098e07e9d6a0c5058dbebb9d67f6b31b93a
9,491
py
Python
tests/commands/test_cmd_workspace.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
null
null
null
tests/commands/test_cmd_workspace.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
43
2019-06-01T23:08:32.000Z
2022-02-07T22:24:53.000Z
tests/commands/test_cmd_workspace.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
null
null
null
import os import shutil import sys import click from click.testing import CliRunner from fastapi.encoders import jsonable_encoder import pytest from ultron8 import config from ultron8.api.factories.users import _MakeRandomNormalUserFactory from ultron8.cli import cli from ultron8.client import UltronAPI from ultron8....
37.366142
97
0.639343
1,090
9,491
5.319266
0.169725
0.060021
0.079338
0.054329
0.808037
0.804415
0.804415
0.798551
0.798551
0.798551
0
0.006386
0.290591
9,491
253
98
37.513834
0.854745
0.243178
0
0.691275
0
0
0.152345
0
0
0
0
0.003953
0.067114
1
0.020134
false
0
0.120805
0
0.147651
0.033557
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
ed3f1677749c876db7dd0fffbd717e8ea0f63d3e
6,246
py
Python
InLine_Implementation/Code/complexnet/gridkernels.py
HMS-CardiacMR/MyoMapNet-Myocardial-Parametric-Mapping
1e2dee8d6d1f97722eba91618462537faf9efba7
[ "MIT" ]
4
2021-12-15T22:57:44.000Z
2022-03-18T14:02:15.000Z
InLine_Implementation/Code/complexnet/gridkernels.py
HMS-CardiacMR/MyoMapNet
1e2dee8d6d1f97722eba91618462537faf9efba7
[ "MIT" ]
null
null
null
InLine_Implementation/Code/complexnet/gridkernels.py
HMS-CardiacMR/MyoMapNet
1e2dee8d6d1f97722eba91618462537faf9efba7
[ "MIT" ]
null
null
null
import torch import numpy as np import torch.nn as nn from saveNet import * from math import exp def sinc(input, weights): x, y = torch.unbind(input, dim=-1) b, c = torch.unbind(weights, dim=-1) mag = np.pi * ((b*x)**2 + (c*y)**2)**0.5 output = torch.sin(mag)/mag return output class GriddingKerne...
44.614286
125
0.527858
1,001
6,246
3.151848
0.095904
0.057052
0.0729
0.045642
0.827892
0.81458
0.80729
0.80729
0.772742
0.757211
0
0.056826
0.292827
6,246
139
126
44.935252
0.65746
0.261447
0
0.609756
0
0
0
0
0
0
0
0
0
1
0.121951
false
0
0.060976
0
0.256098
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
92ebd9acff8242bbbb3b1d706d35994d783ca754
749
py
Python
code/Tragedy.py
HarshRat/hacktoberfest-2018
77b0896d8fab34536bb1361085e8afcab9b5430f
[ "MIT" ]
null
null
null
code/Tragedy.py
HarshRat/hacktoberfest-2018
77b0896d8fab34536bb1361085e8afcab9b5430f
[ "MIT" ]
null
null
null
code/Tragedy.py
HarshRat/hacktoberfest-2018
77b0896d8fab34536bb1361085e8afcab9b5430f
[ "MIT" ]
null
null
null
print("Did you ever hear the tragedy of Darth Plagueis The Wise? I thought not. It's not a story the Jedi would tell you. It's a Sith legend. Darth Plagueis was a Dark Lord of the Sith, so powerful and so wise he could use the Force to influence the midichlorians to create life… He had such a knowledge of the dark side...
374.5
748
0.782377
143
749
4.13986
0.594406
0.025338
0.037162
0
0
0
0
0
0
0
0
0
0.184246
749
1
749
749
0.959083
0
0
0
0
1
0.986649
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
132554c79d368c2659a005c8f3de4f2f4a6079dd
149
py
Python
algorithms/library/methods/usg/__init__.py
heitor57/poi-rss
12990af118f19595be01bf80e26a7ee93f9d05d8
[ "MIT" ]
1
2021-09-01T23:55:27.000Z
2021-09-01T23:55:27.000Z
algorithms/library/methods/usg/__init__.py
heitor57/poi-rss
12990af118f19595be01bf80e26a7ee93f9d05d8
[ "MIT" ]
1
2021-09-09T06:21:48.000Z
2021-09-14T02:08:33.000Z
algorithms/library/methods/usg/__init__.py
heitor57/poi-rss
12990af118f19595be01bf80e26a7ee93f9d05d8
[ "MIT" ]
null
null
null
import sys, os sys.path.insert(0, os.path.abspath('..')) from . import UserBasedCF from . import FriendBasedCF from . import PowerLaw import metrics
21.285714
41
0.758389
21
149
5.380952
0.571429
0.265487
0
0
0
0
0
0
0
0
0
0.007692
0.127517
149
6
42
24.833333
0.861538
0
0
0
0
0
0.013423
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
135cdadeef5241976b2252c32b0193fc1e47d12b
143
py
Python
web/peerstachio/apps/todo/admin.py
FuzedxPheonix/peerstachio-opensource
f681c7454ee795667c32a785809b0f88e4d432fa
[ "Unlicense" ]
2
2019-07-30T14:28:13.000Z
2020-07-25T04:48:43.000Z
web/peerstachio/apps/todo/admin.py
FuzedxPheonix/peerstachio-opensource
f681c7454ee795667c32a785809b0f88e4d432fa
[ "Unlicense" ]
9
2020-06-05T22:12:20.000Z
2022-01-13T01:28:05.000Z
web/peerstachio/apps/todo/admin.py
FuzedxPheonix/peerstachio-opensource
f681c7454ee795667c32a785809b0f88e4d432fa
[ "Unlicense" ]
1
2019-10-21T01:19:13.000Z
2019-10-21T01:19:13.000Z
from django.contrib import admin from .models import Item class ItemAdmin(admin.ModelAdmin): pass admin.site.register(Item, ItemAdmin)
14.3
36
0.776224
19
143
5.842105
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.146853
143
9
37
15.888889
0.909836
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0.4
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
13b60663eac0d399166fb39f8f215936c3f6efe6
15,544
py
Python
test/unit/transport/test_ssh.py
CiscoDevNet/ncclient
ab705fbe5eb7cae23e96e0682273fc9c2ed61739
[ "Apache-2.0" ]
7
2017-07-13T21:20:21.000Z
2021-03-13T05:15:53.000Z
test/unit/transport/test_ssh.py
CiscoDevNet/ncclient
ab705fbe5eb7cae23e96e0682273fc9c2ed61739
[ "Apache-2.0" ]
3
2018-01-09T14:03:47.000Z
2018-11-04T22:29:54.000Z
test/unit/transport/test_ssh.py
CiscoDevNet/ncclient
ab705fbe5eb7cae23e96e0682273fc9c2ed61739
[ "Apache-2.0" ]
7
2017-08-23T15:49:24.000Z
2021-04-22T05:51:46.000Z
# -*- coding: utf-8 -*- import unittest try: from unittest.mock import MagicMock, patch # Python 3.4 and later except ImportError: from mock import MagicMock, patch from ncclient.transport.ssh import SSHSession from ncclient.transport import AuthenticationError, SessionCloseError, NetconfBase import paramiko f...
41.013193
107
0.653435
1,827
15,544
5.287356
0.120963
0.05383
0.064182
0.072464
0.821118
0.797308
0.781159
0.752174
0.752174
0.728986
0
0.012479
0.221565
15,544
378
108
41.121693
0.785868
0.024833
0
0.665654
0
0.009119
0.218115
0.130116
0
0
0
0
0.085106
1
0.072948
false
0.042553
0.039514
0
0.118541
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
13bdf5a6986e21b1ae54aaa2d2dcf067a0f73168
2,341
py
Python
trip_exp/trip_rules.py
Behrouz-Babaki/notebooks
9e84263879ba17e8581b8bdee60aaf3006fa4a73
[ "Unlicense" ]
null
null
null
trip_exp/trip_rules.py
Behrouz-Babaki/notebooks
9e84263879ba17e8581b8bdee60aaf3006fa4a73
[ "Unlicense" ]
null
null
null
trip_exp/trip_rules.py
Behrouz-Babaki/notebooks
9e84263879ba17e8581b8bdee60aaf3006fa4a73
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python from math import sqrt def rain_factor(period): if period.rain: return 1.2 return 1 def dist_factor(reg1, reg2): dist = 0 for i in range(2): dist += (reg1.coordinates[i]-reg2.coordinates[i])**2 dist = sqrt(dist) return 1/dist def rule1(reg1, reg2, day, pe...
32.513889
110
0.644596
342
2,341
4.295322
0.134503
0.098026
0.098026
0.09258
0.797141
0.797141
0.797141
0.797141
0.797141
0.767189
0
0.057963
0.240923
2,341
71
111
32.971831
0.768711
0.008543
0
0.610169
0
0
0
0
0
0
0
0
0
1
0.169492
false
0
0.016949
0
0.508475
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
6
b92a8a372f721fda51e597257b00737876aaa56d
22,073
py
Python
uranium_quantum/circuit_exporter/qiskit-exporter.py
radumarg/uranium_quantum
e9e62046a2b2e2f31bcab661d48d4bd721ca111a
[ "MIT" ]
null
null
null
uranium_quantum/circuit_exporter/qiskit-exporter.py
radumarg/uranium_quantum
e9e62046a2b2e2f31bcab661d48d4bd721ca111a
[ "MIT" ]
null
null
null
uranium_quantum/circuit_exporter/qiskit-exporter.py
radumarg/uranium_quantum
e9e62046a2b2e2f31bcab661d48d4bd721ca111a
[ "MIT" ]
null
null
null
import importlib import math BaseExporter = importlib.import_module("uranium_quantum.circuit_exporter.base-exporter") class Exporter(BaseExporter.BaseExporter): def start_code(self): return f"\ import numpy as np\n\ from qiskit import QuantumRegister\n\ from qiskit.circuit import ClassicalRegister\n\ fro...
41.412758
146
0.576995
3,469
22,073
3.54079
0.049005
0.096719
0.034194
0.061548
0.871855
0.848327
0.820891
0.782789
0.75576
0.699178
0
0.025454
0.223984
22,073
532
147
41.490602
0.691634
0.002129
0
0.480932
0
0.133475
0.234824
0.089398
0
0
0
0
0
1
0.120763
false
0
0.023305
0.004237
0.262712
0.002119
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b92a97b1261d605546ecced5a1461f1819ffdb7d
28
py
Python
neurolib/models/awc/__init__.py
ChristophMetzner/neurolib
912da81fc9dd3a348684ba695f0f4b739e596bad
[ "MIT" ]
1
2021-07-05T10:55:14.000Z
2021-07-05T10:55:14.000Z
neurolib/models/awc/__init__.py
ChristophMetzner/neurolib
912da81fc9dd3a348684ba695f0f4b739e596bad
[ "MIT" ]
null
null
null
neurolib/models/awc/__init__.py
ChristophMetzner/neurolib
912da81fc9dd3a348684ba695f0f4b739e596bad
[ "MIT" ]
null
null
null
from .model import AWCModel
14
27
0.821429
4
28
5.75
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
28
1
28
28
0.958333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b94e8b42f4a3901be1deeede1750a768acf29058
5,451
py
Python
tests/cert_test.py
durnezj/certbot_dns_duckdns
34822ec5838af9886b433fa33d85b3fe191836fc
[ "MIT" ]
null
null
null
tests/cert_test.py
durnezj/certbot_dns_duckdns
34822ec5838af9886b433fa33d85b3fe191836fc
[ "MIT" ]
null
null
null
tests/cert_test.py
durnezj/certbot_dns_duckdns
34822ec5838af9886b433fa33d85b3fe191836fc
[ "MIT" ]
null
null
null
""" ATTENTION: These tests are not meant for the normal test case, as this tries to test the integration to the Certbot by using a subprocess call and installing this package globally. You should not run this test unless you know exactly what you are doing. """ import os import subprocess import unittest from certbot...
40.679104
103
0.515502
517
5,451
5.303675
0.216634
0.083151
0.039387
0.052516
0.787017
0.787017
0.787017
0.787017
0.772794
0.772794
0
0.015394
0.392222
5,451
133
104
40.984962
0.812255
0.115025
0
0.731183
0
0
0.145768
0.031815
0
0
0
0
0.172043
1
0.064516
false
0
0.053763
0
0.172043
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b97b10dd3d7c21d6787458e7cb1b8391dbb804bb
186
py
Python
django/forms/util.py
pomarec/django
98514849dce07acfaa224a90a784bba9d97249e5
[ "BSD-3-Clause" ]
1
2015-06-14T07:55:29.000Z
2015-06-14T07:55:29.000Z
django/forms/util.py
pomarec/django
98514849dce07acfaa224a90a784bba9d97249e5
[ "BSD-3-Clause" ]
null
null
null
django/forms/util.py
pomarec/django
98514849dce07acfaa224a90a784bba9d97249e5
[ "BSD-3-Clause" ]
null
null
null
import warnings warnings.warn( "The django.forms.util module has been renamed. " "Use django.forms.utils instead.", PendingDeprecationWarning) from django.forms.utils import *
23.25
65
0.758065
23
186
6.130435
0.695652
0.234043
0.22695
0
0
0
0
0
0
0
0
0
0.150538
186
7
66
26.571429
0.892405
0
0
0
0
0
0.419355
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
b9dfd1c69dd772cb8aee9d7fb87b2942eeeb0c86
15,573
py
Python
keystone/tests/unit/test_v2_validation.py
andy-ning/stx-keystone
d25ef53d1a152025b78dbf7780b93fe356323836
[ "Apache-2.0" ]
1
2019-05-08T06:09:35.000Z
2019-05-08T06:09:35.000Z
keystone/tests/unit/test_v2_validation.py
andy-ning/stx-keystone
d25ef53d1a152025b78dbf7780b93fe356323836
[ "Apache-2.0" ]
4
2018-08-22T14:51:02.000Z
2018-10-17T14:04:26.000Z
keystone/tests/unit/test_v2_validation.py
andy-ning/stx-keystone
d25ef53d1a152025b78dbf7780b93fe356323836
[ "Apache-2.0" ]
5
2018-08-03T17:19:34.000Z
2019-01-11T15:54:42.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the Li...
37.078571
78
0.607654
1,509
15,573
5.977469
0.098078
0.032594
0.069845
0.113747
0.822727
0.803437
0.761419
0.733925
0.706652
0.679601
0
0.005222
0.311372
15,573
419
79
37.167064
0.835882
0.088551
0
0.621951
0
0
0.037168
0
0
0
0
0
0.070122
1
0.140244
false
0
0.02439
0
0.176829
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b9ecd69c1cc05d601a7789aec44ce9ecd854c77b
315
py
Python
dfvfs/credentials/__init__.py
dfjxs/dfvfs
a4154b07bb08c3c86afa2847f3224189dd80c138
[ "Apache-2.0" ]
176
2015-01-02T13:55:39.000Z
2022-03-12T11:44:37.000Z
dfvfs/credentials/__init__.py
dfjxs/dfvfs
a4154b07bb08c3c86afa2847f3224189dd80c138
[ "Apache-2.0" ]
495
2015-01-13T06:47:06.000Z
2022-03-12T11:07:03.000Z
dfvfs/credentials/__init__.py
dfjxs/dfvfs
a4154b07bb08c3c86afa2847f3224189dd80c138
[ "Apache-2.0" ]
62
2015-02-23T08:19:38.000Z
2022-03-18T06:01:22.000Z
# -*- coding: utf-8 -*- """Imports for the credential manager.""" from dfvfs.credentials import apfs_credentials from dfvfs.credentials import bde_credentials from dfvfs.credentials import encrypted_stream_credentials from dfvfs.credentials import fvde_credentials from dfvfs.credentials import luksde_credentials
35
58
0.834921
39
315
6.589744
0.461538
0.175097
0.389105
0.505837
0.575875
0
0
0
0
0
0
0.003521
0.098413
315
8
59
39.375
0.901408
0.184127
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b9f1078cca32ad346b9a2c252c014e22cf0a605c
20
py
Python
pc_processor/postproc/__init__.py
MasterHow/PanoLiSeg
56bd09fe3c85251c46532dba5fcec5fb03951c36
[ "MIT" ]
65
2021-08-03T02:37:14.000Z
2022-03-28T17:11:23.000Z
pc_processor/postproc/__init__.py
MasterHow/PanoLiSeg
56bd09fe3c85251c46532dba5fcec5fb03951c36
[ "MIT" ]
12
2021-10-30T03:11:00.000Z
2022-03-27T11:36:11.000Z
pc_processor/postproc/__init__.py
MasterHow/PanoLiSeg
56bd09fe3c85251c46532dba5fcec5fb03951c36
[ "MIT" ]
23
2021-10-14T02:44:34.000Z
2022-03-18T11:45:23.000Z
from .knn import KNN
20
20
0.8
4
20
4
0.75
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
6a2b98846bf5b6bbb2786252ea7ec1bf9ff293ae
31,114
py
Python
layer-4-attack/skull-breaker.py
ChaoSoldier3000/Dos
e87727b94f00ca469fc267043c1f61d307557b7b
[ "Apache-2.0" ]
2
2017-11-20T22:51:02.000Z
2019-04-29T19:22:44.000Z
layer-4-attack/skull-breaker.py
ChaoSoldier3000/Dos
e87727b94f00ca469fc267043c1f61d307557b7b
[ "Apache-2.0" ]
null
null
null
layer-4-attack/skull-breaker.py
ChaoSoldier3000/Dos
e87727b94f00ca469fc267043c1f61d307557b7b
[ "Apache-2.0" ]
2
2018-05-21T10:27:50.000Z
2020-08-25T18:13:13.000Z
ua = [ "Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0", "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36", "...
82.75
464
0.656103
6,251
31,114
3.246361
0.084147
0.026216
0.109545
0.054994
0.77337
0.744099
0.718869
0.686099
0.634652
0.599665
0
0.232788
0.148968
31,114
375
465
82.970667
0.533593
0
0
0.022039
0
0.785124
0.894453
0.003921
0
0
0
0
0
0
null
null
0.00551
0.002755
null
null
0.00551
0
0
0
null
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
6
6a32643233a860a1ccdf7165adc2365e8c0ba993
115
py
Python
bmds_server/common/utils.py
shapiromatron/bmds-server
0b2b79b521728582fa66100621e9ea03e251f9f1
[ "MIT" ]
1
2019-07-09T16:42:15.000Z
2019-07-09T16:42:15.000Z
bmds_server/common/utils.py
shapiromatron/bmds-server
0b2b79b521728582fa66100621e9ea03e251f9f1
[ "MIT" ]
103
2016-11-14T15:58:53.000Z
2022-03-07T21:01:03.000Z
bmds_server/common/utils.py
shapiromatron/bmds-server
0b2b79b521728582fa66100621e9ea03e251f9f1
[ "MIT" ]
2
2017-03-17T20:43:22.000Z
2018-01-04T19:15:18.000Z
from datetime import datetime def to_timestamp(dt: datetime) -> str: return dt.strftime("%Y-%b-%d %H:%m %Z")
19.166667
43
0.66087
19
115
3.947368
0.842105
0
0
0
0
0
0
0
0
0
0
0
0.165217
115
5
44
23
0.78125
0
0
0
0
0
0.147826
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
6a36b960765ee707d2c040682ade5ca9c6fb026a
114
py
Python
0x01-python-if_else_loops_functions/9-print_last_digit.py
Trice254/alx-higher_level_programming
b49b7adaf2c3faa290b3652ad703914f8013c67c
[ "MIT" ]
null
null
null
0x01-python-if_else_loops_functions/9-print_last_digit.py
Trice254/alx-higher_level_programming
b49b7adaf2c3faa290b3652ad703914f8013c67c
[ "MIT" ]
null
null
null
0x01-python-if_else_loops_functions/9-print_last_digit.py
Trice254/alx-higher_level_programming
b49b7adaf2c3faa290b3652ad703914f8013c67c
[ "MIT" ]
null
null
null
#!/usr/bin/python3 def print_last_digit(number): print(abs(number) % 10, end='') return(abs(number) % 10)
22.8
35
0.649123
17
114
4.235294
0.705882
0.25
0.305556
0
0
0
0
0
0
0
0
0.052083
0.157895
114
4
36
28.5
0.697917
0.149123
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.666667
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
6
dbecdd1e1dcf7de09c07b464cba5f458775c50e0
61
py
Python
dashboard/signals.py
astrid-project/security-dashboard
0690e017238171899745eacc89f89cf61d8efecc
[ "Apache-2.0" ]
1
2020-10-14T19:50:32.000Z
2020-10-14T19:50:32.000Z
dashboard/signals.py
astrid-project/security-dashboard
0690e017238171899745eacc89f89cf61d8efecc
[ "Apache-2.0" ]
null
null
null
dashboard/signals.py
astrid-project/security-dashboard
0690e017238171899745eacc89f89cf61d8efecc
[ "Apache-2.0" ]
1
2021-07-07T14:20:34.000Z
2021-07-07T14:20:34.000Z
import django.dispatch from django.dispatch import receiver
15.25
36
0.852459
8
61
6.5
0.625
0.538462
0
0
0
0
0
0
0
0
0
0
0.114754
61
3
37
20.333333
0.962963
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
e04ef9631d3f76955c5c752ac88943d22503ef3f
135
py
Python
default/{{cookiecutter.project_short_name}}/tests/test_model.py
timtroendle/cookiecutter-reproducible-science
6f59375e6bbe025bb46ddc8c6b16c348b649a8ed
[ "MIT" ]
9
2018-12-20T22:02:37.000Z
2022-02-20T19:27:53.000Z
default/{{cookiecutter.project_short_name}}/tests/test_model.py
timtroendle/cookiecutter-reproducible-science
6f59375e6bbe025bb46ddc8c6b16c348b649a8ed
[ "MIT" ]
4
2020-10-12T07:47:08.000Z
2021-05-27T08:10:10.000Z
default/{{cookiecutter.project_short_name}}/tests/test_model.py
timtroendle/cookiecutter-reproducible-science
6f59375e6bbe025bb46ddc8c6b16c348b649a8ed
[ "MIT" ]
null
null
null
"""Test case for the model.""" import scripts.model def test_model(): assert scripts.model.linear_model(slope=1, x0=4, x=0) == 4
19.285714
62
0.681481
23
135
3.913043
0.695652
0.266667
0
0
0
0
0
0
0
0
0
0.04386
0.155556
135
6
63
22.5
0.745614
0.177778
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
0
0
0
6
e05128dd3aa67e7284d319b7bda8bfde7c03f3c9
12,789
py
Python
tests/test_clusterv22.py
aditya-dhage/qds-sdk-py
b84036e3b666065cb1832d590d38863d0bfeee30
[ "Apache-2.0" ]
null
null
null
tests/test_clusterv22.py
aditya-dhage/qds-sdk-py
b84036e3b666065cb1832d590d38863d0bfeee30
[ "Apache-2.0" ]
null
null
null
tests/test_clusterv22.py
aditya-dhage/qds-sdk-py
b84036e3b666065cb1832d590d38863d0bfeee30
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function import sys import os if sys.version_info > (2, 7, 0): import unittest else: import unittest2 as unittest from mock import Mock, ANY import tempfile sys.path.append(os.path.join(os.path.dirname(__file__), '../bin')) import qds from qds_sdk.connection import Connection from...
64.590909
119
0.533505
1,221
12,789
5.387387
0.091728
0.083004
0.067194
0.06689
0.849194
0.831408
0.819398
0.812709
0.804348
0.804348
0
0.028177
0.275706
12,789
197
120
64.918782
0.68196
0.002111
0
0.650273
0
0
0.403527
0.158072
0
0
0
0
0.054645
1
0.054645
false
0
0.071038
0
0.131148
0.065574
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
e052b4251c3258e4a63d87436c9ee50db2657848
150
py
Python
WeboscketWrapper_JE/je_websocket/webscoket_core/__init__.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
2
2020-11-27T07:18:23.000Z
2020-12-30T06:37:21.000Z
WeboscketWrapper_JE/je_websocket/webscoket_core/__init__.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
2
2020-11-27T17:19:35.000Z
2020-11-27T20:29:37.000Z
WeboscketWrapper_JE/je_websocket/webscoket_core/__init__.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
from je_websocket.webscoket_core.websocket_client import websocket_client from je_websocket.webscoket_core.websocket_server import websocket_server
50
74
0.906667
20
150
6.4
0.4
0.09375
0.234375
0.375
0.578125
0.578125
0
0
0
0
0
0
0.066667
150
2
75
75
0.914286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
1623394ad6069c4b30a16a2cf9c147aafb3b9e12
4,235
py
Python
allennlp/tests/data/dataset_readers/srl_dataset_reader_test.py
schmmd/allennlp
fbc28cefe03b1ea3ff65300d475d34f5f9629a5c
[ "Apache-2.0" ]
17
2019-11-19T19:02:35.000Z
2021-11-16T16:19:07.000Z
allennlp/tests/data/dataset_readers/srl_dataset_reader_test.py
schmmd/allennlp
fbc28cefe03b1ea3ff65300d475d34f5f9629a5c
[ "Apache-2.0" ]
1
2021-05-31T11:12:02.000Z
2021-06-01T05:34:27.000Z
allennlp/tests/data/dataset_readers/srl_dataset_reader_test.py
schmmd/allennlp
fbc28cefe03b1ea3ff65300d475d34f5f9629a5c
[ "Apache-2.0" ]
10
2019-12-06T11:32:37.000Z
2022-01-06T15:39:09.000Z
# pylint: disable=no-self-use,invalid-name import pytest from allennlp.data.dataset_readers.semantic_role_labeling import SrlReader from allennlp.common.util import ensure_list from allennlp.common.testing import AllenNlpTestCase class TestSrlReader: @pytest.mark.parametrize("lazy", (True, False)) def test_re...
55.723684
107
0.568123
496
4,235
4.782258
0.241935
0.126476
0.126476
0.177066
0.733558
0.720067
0.712901
0.712901
0.704469
0.528668
0
0.016506
0.241795
4,235
75
108
56.466667
0.722205
0.032113
0
0.396825
0
0
0.211966
0
0
0
0
0
0.492063
1
0.031746
false
0
0.063492
0
0.111111
0
0
0
0
null
0
0
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
6
1659ca2dd53d1ac61a5723336e462a72726f252d
89,237
py
Python
cme/modules/handlekatz.py
justinforbes/CrackMapExec
7b8473a82dbf3b5268f80451ff516c31fac1eaed
[ "BSD-2-Clause" ]
null
null
null
cme/modules/handlekatz.py
justinforbes/CrackMapExec
7b8473a82dbf3b5268f80451ff516c31fac1eaed
[ "BSD-2-Clause" ]
null
null
null
cme/modules/handlekatz.py
justinforbes/CrackMapExec
7b8473a82dbf3b5268f80451ff516c31fac1eaed
[ "BSD-2-Clause" ]
null
null
null
# handlekatz module for CME python3 # author of the module : github.com/mpgn # HandleKatz: https://github.com/codewhitesec/HandleKatz from io import StringIO import os import sys import re import time import base64 class CMEModule: name = 'handlekatz' description = "Get lsass dump using handlekatz64 and pars...
579.461039
81,974
0.934556
2,350
89,237
35.444255
0.639149
0.002401
0.000972
0.001153
0.013182
0.011141
0.010229
0.00527
0.00407
0.003554
0
0.075929
0.027108
89,237
154
81,975
579.461039
0.88348
0.005872
0
0.135593
0
0.008475
0.936622
0.924788
0
1
0.000045
0
0
1
0.016949
false
0.033898
0.050847
0
0.118644
0.016949
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
6
16776719e8b23fe93049dc5c3f51ea965464e240
137
py
Python
compiled/construct/repeat_eos_bit.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
4
2017-04-08T12:55:11.000Z
2020-12-05T21:09:31.000Z
compiled/construct/repeat_eos_bit.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
7
2018-04-23T01:30:33.000Z
2020-10-30T23:56:14.000Z
compiled/construct/repeat_eos_bit.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
6
2017-04-08T11:41:14.000Z
2020-10-30T22:47:31.000Z
from construct import * from construct.lib import * repeat_eos_bit = Struct( 'nibbles' / GreedyRange(???), ) _schema = repeat_eos_bit
15.222222
30
0.729927
17
137
5.588235
0.647059
0.273684
0.252632
0
0
0
0
0
0
0
0
0
0.153285
137
8
31
17.125
0.818966
0
0
0
0
0
0.051095
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
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
1
0
0
0
1
0
0
0
0
6
bc5a01a9588ea734436ad2611e5dac2b0ba4835f
52,244
py
Python
kuber/v1_18/rbac_v1beta1.py
datalayer-externals/kuber
4d577950ce7d1be2b882fbe66827dc3d7e67b350
[ "MIT" ]
1
2019-06-11T04:57:34.000Z
2019-06-11T04:57:34.000Z
kuber/v1_18/rbac_v1beta1.py
datalayer-externals/kuber
4d577950ce7d1be2b882fbe66827dc3d7e67b350
[ "MIT" ]
1
2019-05-05T22:08:13.000Z
2019-05-06T11:43:32.000Z
kuber/v1_18/rbac_v1beta1.py
datalayer-externals/kuber
4d577950ce7d1be2b882fbe66827dc3d7e67b350
[ "MIT" ]
2
2021-05-08T14:47:56.000Z
2021-10-15T21:47:04.000Z
import typing # noqa: F401 from kubernetes import client # noqa: F401 from kuber import kube_api as _kube_api # noqa: F401 from kuber import definitions as _kuber_definitions # noqa: F401 from kuber import _types # noqa: F401 from kuber.v1_18.meta_v1 import LabelSelector # noqa: F401 from kuber.v1_18.meta_v1 im...
30.822419
88
0.566783
5,294
52,244
5.450888
0.051001
0.036871
0.00998
0.014416
0.831375
0.814568
0.804103
0.791836
0.78189
0.76134
0
0.005219
0.332459
52,244
1,694
89
30.840614
0.822222
0.21725
0
0.695076
0
0
0.111998
0.037696
0
0
0
0
0
1
0.125
false
0.003788
0.007576
0.022727
0.208333
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
bc5cc8911f3e6fa65b404e8b78ae32e73d8e3b60
1,549
py
Python
practice/dezero/__init__.py
samrullo/deep-learning-from-scratch-3
47f17a9d25c8d40ac635fde7a0e3aa3937ce5ac0
[ "MIT" ]
null
null
null
practice/dezero/__init__.py
samrullo/deep-learning-from-scratch-3
47f17a9d25c8d40ac635fde7a0e3aa3937ce5ac0
[ "MIT" ]
null
null
null
practice/dezero/__init__.py
samrullo/deep-learning-from-scratch-3
47f17a9d25c8d40ac635fde7a0e3aa3937ce5ac0
[ "MIT" ]
null
null
null
is_simple_core = False if is_simple_core: from practice.dezero.core_simple import Variable from practice.dezero.core_simple import Function from practice.dezero.core_simple import using_config from practice.dezero.core_simple import no_grad from practice.dezero.core_simple import as_array from ...
37.780488
58
0.787605
219
1,549
5.424658
0.155251
0.36532
0.439394
0.5
0.885522
0.792929
0.375421
0
0
0
0
0.001549
0.166559
1,549
40
59
38.725
0.918668
0
0
0
0
0
0.004519
0
0
0
0
0
0
1
0
false
0
0.861111
0
0.861111
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
0
0
1
0
0
0
0
6
bc78b7ea935e1ce840e3f4ab4728a6ddbfb34831
44
py
Python
src/OracleDBLibrary/mapper/__init__.py
adeliogullari/robotframework-oracledb-library
15392c9218b6a78059b8186ca24b557226383296
[ "ECL-2.0", "Apache-2.0" ]
6
2022-02-11T07:05:55.000Z
2022-03-12T16:55:34.000Z
src/OracleDBLibrary/mapper/__init__.py
adeliogullari/robotframework-oracledb-library
15392c9218b6a78059b8186ca24b557226383296
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/OracleDBLibrary/mapper/__init__.py
adeliogullari/robotframework-oracledb-library
15392c9218b6a78059b8186ca24b557226383296
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
from .argument_mapper import ArgumentMapper
22
43
0.886364
5
44
7.6
1
0
0
0
0
0
0
0
0
0
0
0
0.090909
44
1
44
44
0.95
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
bcde334e877e220f7e961b5f571da55540d1d932
201
py
Python
d2ix/postprocess/__init__.py
tum-ewk/d2ix_public
dffcb474f51ccdc03a339e306b61b88c224a332d
[ "Apache-2.0" ]
2
2019-12-16T20:48:10.000Z
2020-11-24T03:20:36.000Z
d2ix/postprocess/__init__.py
tum-ewk/d2ix_public
dffcb474f51ccdc03a339e306b61b88c224a332d
[ "Apache-2.0" ]
4
2019-04-15T08:03:23.000Z
2019-04-15T08:05:17.000Z
d2ix/postprocess/__init__.py
tum-ewk/d2ix_public
dffcb474f51ccdc03a339e306b61b88c224a332d
[ "Apache-2.0" ]
8
2019-03-13T06:51:22.000Z
2020-08-31T11:04:56.000Z
from d2ix.postprocess.plot import create_barplot from d2ix.postprocess.timeseries import create_timeseries_df from d2ix.postprocess.utils import create_plotdata_df, extract_synonyms_colors, group_data
50.25
90
0.890547
28
201
6.107143
0.571429
0.140351
0.333333
0
0
0
0
0
0
0
0
0.016043
0.069652
201
3
91
67
0.898396
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
bcf18922458e6d19a95558c47f23f0f6059d9ae2
24
py
Python
Page/__init__.py
howiemac/image
be5f9c577cfd6502f0c63b42e226f5b101b1966c
[ "BSD-3-Clause" ]
null
null
null
Page/__init__.py
howiemac/image
be5f9c577cfd6502f0c63b42e226f5b101b1966c
[ "BSD-3-Clause" ]
null
null
null
Page/__init__.py
howiemac/image
be5f9c577cfd6502f0c63b42e226f5b101b1966c
[ "BSD-3-Clause" ]
null
null
null
from .Page import Page
8
22
0.75
4
24
4.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.208333
24
2
23
12
0.947368
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4c238c594bcc09be0e8cfbe4f7e76aeb9d004524
1,864
py
Python
wagtailmenus/__init__.py
nickyspag/wagtailmenus
e6942e021234c367c40f77a026700751c43ae2c9
[ "MIT" ]
null
null
null
wagtailmenus/__init__.py
nickyspag/wagtailmenus
e6942e021234c367c40f77a026700751c43ae2c9
[ "MIT" ]
null
null
null
wagtailmenus/__init__.py
nickyspag/wagtailmenus
e6942e021234c367c40f77a026700751c43ae2c9
[ "MIT" ]
null
null
null
from wagtailmenus.utils.version import get_version, get_stable_branch_name # major.minor.patch.release.number # release must be one of alpha, beta, rc, or final VERSION = (3, 0, 2, "final", 0) __version__ = get_version(VERSION) stable_branch_name = get_stable_branch_name(VERSION) default_app_config = "wagtailmenus.ap...
32.137931
79
0.74088
265
1,864
5.045283
0.279245
0.094241
0.068063
0.08377
0.755423
0.740464
0.740464
0.740464
0.647719
0.647719
0
0.002647
0.189378
1,864
57
80
32.701754
0.882197
0.542382
0
0.235294
0
0
0.055182
0.048452
0
0
0
0
0
1
0.235294
false
0
0.294118
0
0.764706
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
6
4c3f84640426c9117240b704ddf84e5119b74ec0
12,044
py
Python
util.py
OsiriX-Foundation/IntegrationTest
a6c76f8a6f242aa0668b3417999dbae3d986e136
[ "MIT" ]
null
null
null
util.py
OsiriX-Foundation/IntegrationTest
a6c76f8a6f242aa0668b3417999dbae3d986e136
[ "MIT" ]
9
2020-12-21T17:02:49.000Z
2021-06-02T07:41:28.000Z
util.py
OsiriX-Foundation/IntegrationTest
a6c76f8a6f242aa0668b3417999dbae3d986e136
[ "MIT" ]
null
null
null
import os import requests from requests.auth import AuthBase import json import urllib from threading import Thread import time import pytest import env def print_request(methode, response, url): print("\t" + methode + " " + url + " ["+ str(response.status_code) + " " + requests.status_codes._codes[re...
49.360656
205
0.685902
1,458
12,044
5.425926
0.095336
0.066995
0.026166
0.034888
0.809506
0.789913
0.772342
0.755404
0.722033
0.688788
0
0.008006
0.159997
12,044
243
206
49.563786
0.773945
0.002657
0
0.613861
0
0
0.179496
0.052302
0
0
0
0
0.113861
1
0.113861
false
0.034653
0.044554
0.00495
0.19802
0.20297
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
4c69f5da9ca2d14f9581bb29d3fa738b285b97e5
8,349
py
Python
tests/unittests/test_threshold_results.py
Siegallab/PIE
54b4dfd3fe340b1bc69187dacf8c6b583714d65b
[ "MIT" ]
2
2021-03-24T03:05:27.000Z
2022-02-18T06:10:30.000Z
tests/unittests/test_threshold_results.py
Siegallab/PIE
54b4dfd3fe340b1bc69187dacf8c6b583714d65b
[ "MIT" ]
null
null
null
tests/unittests/test_threshold_results.py
Siegallab/PIE
54b4dfd3fe340b1bc69187dacf8c6b583714d65b
[ "MIT" ]
null
null
null
#!/usr/bin/python ''' Tests that thresholds for input histograms produce correct results ''' import unittest import os import numpy as np from PIE import adaptive_threshold from numpy.testing import assert_allclose #from plotnine import * #import pandas as pd # Old SFig2A: 'xy01_08ms_3702': 11752 # Old SFig2B: 't10...
31.269663
78
0.770032
1,074
8,349
5.709497
0.175047
0.063601
0.049576
0.048924
0.779517
0.77593
0.774951
0.762883
0.703359
0.703359
0
0.056775
0.14349
8,349
267
79
31.269663
0.800727
0.369625
0
0.834586
0
0
0.052818
0
0
0
0
0
0.112782
1
0.165414
false
0
0.037594
0
0.233083
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
d5b58f2b1d8ad6443842e186cb6f795f75997fd3
36
py
Python
scrapers/facebook/__init__.py
nprapps/graeae
b38cdd3de74fb239fdcc92619e92bcfb0818bda3
[ "MIT" ]
5
2015-06-10T15:37:46.000Z
2015-10-12T15:28:37.000Z
scrapers/facebook/__init__.py
nprapps/graeae
b38cdd3de74fb239fdcc92619e92bcfb0818bda3
[ "MIT" ]
175
2015-04-14T20:14:57.000Z
2015-07-13T13:50:45.000Z
scrapers/facebook/__init__.py
nprapps/graeae
b38cdd3de74fb239fdcc92619e92bcfb0818bda3
[ "MIT" ]
3
2015-08-27T14:34:09.000Z
2021-02-23T11:03:40.000Z
from scraper import FacebookScraper
18
35
0.888889
4
36
8
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
36
1
36
36
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d5cfa5e9971bdac78756a3724ddd78dea169c8a0
42,482
py
Python
tests/test_vault.py
data-ductus/varvault
d7f489eb0501ec2d931d6f62717d69b6aded8d95
[ "Apache-2.0" ]
1
2021-11-12T17:23:08.000Z
2021-11-12T17:23:08.000Z
tests/test_vault.py
data-ductus/varvault
d7f489eb0501ec2d931d6f62717d69b6aded8d95
[ "Apache-2.0" ]
null
null
null
tests/test_vault.py
data-ductus/varvault
d7f489eb0501ec2d931d6f62717d69b6aded8d95
[ "Apache-2.0" ]
null
null
null
import os import sys import json import pytest import logging import tempfile DIR = os.path.dirname(os.path.realpath(__file__)) path = f"{os.path.dirname(DIR)}" temp_path = [path] temp_path.extend(sys.path) sys.path = temp_path import varvault logger = logging.getLogger("pytest") vault_file_new = f"{DIR}/new-vault...
52.382244
220
0.705334
5,711
42,482
4.943092
0.058659
0.042402
0.049734
0.058023
0.814453
0.776337
0.747184
0.713177
0.673964
0.630747
0
0.003585
0.205475
42,482
810
221
52.446914
0.832785
0.018361
0
0.487302
0
0.02381
0.197712
0.044589
0
0
0
0
0.168254
1
0.160317
false
0.05873
0.011111
0.053968
0.269841
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
6
d5ea3fba21f930cb6fc598915de84ceb0121c2d1
58,174
py
Python
tests/blob/test_page_blob.py
Ross1503/azure-storage-python
345c3d10e42643a0674a760827ba57b6d626efbb
[ "MIT" ]
348
2015-08-18T22:48:21.000Z
2022-03-28T04:03:29.000Z
tests/blob/test_page_blob.py
Ross1503/azure-storage-python
345c3d10e42643a0674a760827ba57b6d626efbb
[ "MIT" ]
558
2015-08-19T00:10:36.000Z
2022-03-17T01:17:08.000Z
tests/blob/test_page_blob.py
Ross1503/azure-storage-python
345c3d10e42643a0674a760827ba57b6d626efbb
[ "MIT" ]
285
2015-08-17T23:43:34.000Z
2022-03-27T19:34:29.000Z
# coding: utf-8 # ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # --------------------------------------------------------------------...
44.171602
120
0.655602
7,085
58,174
5.051094
0.050106
0.054545
0.083131
0.061028
0.868332
0.830944
0.798558
0.775729
0.762875
0.746249
0
0.017388
0.258535
58,174
1,316
121
44.205167
0.812283
0.086173
0
0.625146
0
0
0.012143
0
0
0
0.001284
0
0.274738
1
0.079162
false
0.002328
0.009313
0.002328
0.112922
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
e6a4780c53eb016ea0efdab1df023361c06d7d9f
233
py
Python
backend/portal/admin.py
pennlabs/student-life
aaac7109b9bd2617787cb3aa813e5f736abb24a5
[ "MIT" ]
7
2019-12-25T04:11:24.000Z
2021-10-11T05:00:17.000Z
backend/portal/admin.py
pennlabs/student-life
aaac7109b9bd2617787cb3aa813e5f736abb24a5
[ "MIT" ]
41
2019-12-25T18:37:35.000Z
2021-10-10T19:50:21.000Z
backend/portal/admin.py
pennlabs/student-life
aaac7109b9bd2617787cb3aa813e5f736abb24a5
[ "MIT" ]
null
null
null
from django.contrib import admin from portal.models import Poll, PollOption, PollVote, TargetPopulation admin.site.register(TargetPopulation) admin.site.register(Poll) admin.site.register(PollOption) admin.site.register(PollVote)
23.3
70
0.832618
29
233
6.689655
0.448276
0.185567
0.350515
0.340206
0
0
0
0
0
0
0
0
0.077253
233
9
71
25.888889
0.902326
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
e6b72696960991e5eee5510671bdcdeaaeb6d056
1,341
py
Python
mazikeen/GeneratorUtils.py
hanniballar/mazikeen
68693a96c69376f18c21576a610470a543a89316
[ "MIT" ]
null
null
null
mazikeen/GeneratorUtils.py
hanniballar/mazikeen
68693a96c69376f18c21576a610470a543a89316
[ "MIT" ]
3
2021-04-05T17:14:21.000Z
2021-04-06T21:49:41.000Z
mazikeen/GeneratorUtils.py
hanniballar/mazikeen
68693a96c69376f18c21576a610470a543a89316
[ "MIT" ]
null
null
null
from mazikeen.GeneratorException import GeneratorException def getYamlInt(data, line, field): if data == None: return None if (not isinstance(data, int)): if (isinstance(data, dict)): raise GeneratorException(f"field '{field}' expects an integer at line {data['__line__']}") raise Ge...
43.258065
102
0.661447
166
1,341
5.246988
0.180723
0.073479
0.220436
0.266361
0.80023
0.784156
0.718714
0.608496
0.608496
0.608496
0
0
0.213274
1,341
31
103
43.258065
0.825592
0
0
0.384615
0
0
0.314456
0
0
0
0
0
0
1
0.153846
false
0
0.038462
0
0.346154
0
0
0
0
null
0
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
e6fd64514a121a0a5221a8eecdf15038b210fc41
25
py
Python
hurricane/testing/__init__.py
marty-2015/django-hurricane
fe05ed1360ad504167aa403c999357eb4f0cdb8b
[ "MIT" ]
30
2020-12-23T21:07:42.000Z
2022-03-24T17:09:43.000Z
hurricane/testing/__init__.py
marty-2015/django-hurricane
fe05ed1360ad504167aa403c999357eb4f0cdb8b
[ "MIT" ]
60
2021-02-05T13:20:32.000Z
2022-03-24T20:56:48.000Z
hurricane/testing/__init__.py
marty-2015/django-hurricane
fe05ed1360ad504167aa403c999357eb4f0cdb8b
[ "MIT" ]
3
2021-02-11T10:46:09.000Z
2021-11-04T16:48:15.000Z
from .testcases import *
12.5
24
0.76
3
25
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.16
25
1
25
25
0.904762
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
e6fd8ee7ab487bf229e65c12e52cacb00dedcfc6
23
py
Python
preprocessing/spelchek/__init__.py
fnatanoy/toxic_comments_classification
780939be69b7b7ed6e99a09a5247ca219e7c1fe4
[ "MIT" ]
null
null
null
preprocessing/spelchek/__init__.py
fnatanoy/toxic_comments_classification
780939be69b7b7ed6e99a09a5247ca219e7c1fe4
[ "MIT" ]
null
null
null
preprocessing/spelchek/__init__.py
fnatanoy/toxic_comments_classification
780939be69b7b7ed6e99a09a5247ca219e7c1fe4
[ "MIT" ]
null
null
null
from . import spelchek
11.5
22
0.782609
3
23
6
1
0
0
0
0
0
0
0
0
0
0
0
0.173913
23
1
23
23
0.947368
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
fc03bca31e14d3daefd1373b631951f8a7cc4253
5,704
py
Python
tests/ops/test_convolution.py
897615138/tfsnippet-jill
2fc898a4def866c8d3c685168df1fa22083bb143
[ "MIT" ]
63
2018-06-06T11:56:40.000Z
2022-03-22T08:00:59.000Z
tests/ops/test_convolution.py
897615138/tfsnippet-jill
2fc898a4def866c8d3c685168df1fa22083bb143
[ "MIT" ]
39
2018-07-04T12:40:53.000Z
2022-02-09T23:48:44.000Z
tests/ops/test_convolution.py
897615138/tfsnippet-jill
2fc898a4def866c8d3c685168df1fa22083bb143
[ "MIT" ]
34
2018-06-25T09:59:22.000Z
2022-02-23T12:46:33.000Z
import numpy as np import tensorflow as tf from mock import mock from tests.layers.convolutional.helper import (input_maybe_to_channels_last, output_maybe_to_channels_first) from tfsnippet.ops import space_to_depth, depth_to_space tf_space_to_depth = tf.space_to_depth tf...
41.035971
80
0.547861
828
5,704
3.571256
0.107488
0.040243
0.068989
0.039567
0.858979
0.809604
0.802164
0.764964
0.764964
0.73791
0
0.04119
0.310484
5,704
138
81
41.333333
0.710653
0.061536
0
0.5
0
0
0.010853
0.009356
0
0
0
0
0.074074
1
0.055556
false
0
0.046296
0
0.157407
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
fc3ba752a40f0e57983b61bc49acece5b6ef57a3
466
py
Python
sngan_projection/links/__init__.py
tanikawa04/sngan_projection
cb463dd30ad485b0bbaef945728251153edba920
[ "MIT" ]
null
null
null
sngan_projection/links/__init__.py
tanikawa04/sngan_projection
cb463dd30ad485b0bbaef945728251153edba920
[ "MIT" ]
null
null
null
sngan_projection/links/__init__.py
tanikawa04/sngan_projection
cb463dd30ad485b0bbaef945728251153edba920
[ "MIT" ]
null
null
null
from sngan_projection.links.categorical_conditional_batch_normalization import CategoricalConditionalBatchNormalization from sngan_projection.links.conditional_batch_normalization import ConditionalBatchNormalization from sngan_projection.links.sn_convolution_2d import SNConvolution2D from sngan_projection.links.sn_con...
66.571429
119
0.922747
54
466
7.62963
0.407407
0.131068
0.276699
0.349515
0.305825
0.179612
0
0
0
0
0
0.004525
0.051502
466
6
120
77.666667
0.927602
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
fc87759f00df90701c53a9670035c9d27c594fce
152
py
Python
toolcache/cachetypes/__init__.py
sslivkoff/toolcache
62fb3441adb03fdee4fdbca14605f0ecec2ad44c
[ "Apache-2.0" ]
null
null
null
toolcache/cachetypes/__init__.py
sslivkoff/toolcache
62fb3441adb03fdee4fdbca14605f0ecec2ad44c
[ "Apache-2.0" ]
null
null
null
toolcache/cachetypes/__init__.py
sslivkoff/toolcache
62fb3441adb03fdee4fdbca14605f0ecec2ad44c
[ "Apache-2.0" ]
null
null
null
from .base_cache import BaseCache from .disk_cache import DiskCache from .memory_cache import MemoryCache from .cachetype_utils import get_cache_class
25.333333
44
0.861842
22
152
5.681818
0.590909
0.264
0
0
0
0
0
0
0
0
0
0
0.111842
152
5
45
30.4
0.925926
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6