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
6812e3fae0739541978b92b58dabfdbfad2cc122
11,369
py
Python
tests/unit_tests/unitTestAddOns/baseTestSetupMixins.py
mworion/MountWizzard4
4e06b29ec2ef70be40e114b911b7bdf2f858a4b1
[ "Apache-2.0" ]
16
2020-01-11T22:32:26.000Z
2022-03-31T15:18:14.000Z
tests/unit_tests/unitTestAddOns/baseTestSetupMixins.py
mworion/MountWizzard4
4e06b29ec2ef70be40e114b911b7bdf2f858a4b1
[ "Apache-2.0" ]
196
2020-01-16T13:56:01.000Z
2022-03-29T02:06:51.000Z
tests/unit_tests/unitTestAddOns/baseTestSetupMixins.py
mworion/MountWizzard4
4e06b29ec2ef70be40e114b911b7bdf2f858a4b1
[ "Apache-2.0" ]
6
2019-12-01T19:39:33.000Z
2021-05-27T13:14:20.000Z
############################################################ # -*- coding: utf-8 -*- # # # # # # # # # ## ## # ## # # # # # # # # # # # # # # # ## # ## ## ###### # # # # # # # # # Python-based Tool for interaction with the 10micron mounts # GUI with PyQT5 fo...
20.937385
90
0.538306
909
11,369
6.723872
0.365237
0.171793
0.130563
0.167703
0.068717
0.041067
0
0
0
0
0
0.016861
0.373999
11,369
542
91
20.976015
0.841928
0.048465
0
0.388471
0
0
0.016539
0.002552
0
0
0
0
0
1
0.177945
false
0
0.010025
0.175439
0.568922
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
a844d4492cd8d6a4fb314b37ea9e21e3436b4aca
621
py
Python
seconds2years.py
chapman-cpsc-230/hw1-grazi102
18000ed042102282f39c8f47d63633aab98b73f9
[ "MIT" ]
null
null
null
seconds2years.py
chapman-cpsc-230/hw1-grazi102
18000ed042102282f39c8f47d63633aab98b73f9
[ "MIT" ]
1
2016-02-25T05:41:47.000Z
2016-02-25T05:41:47.000Z
seconds2years.py
chapman-cpsc-230/hw1-grazi102
18000ed042102282f39c8f47d63633aab98b73f9
[ "MIT" ]
null
null
null
""" File: <Seconds2years.py> Copyright (c) 2016 <Lauren Graziani> License: MIT <Converting seconds to years> """ seconds = raw_input ('Type number of seconds to be converted to years\n') years = float(seconds) / (365.2425 * 24 * 60 * 60) print "%s seconds equals %.2f years" % (seconds, years) if years <= 82: #ave...
31.05
130
0.697262
98
621
4.408163
0.520408
0.041667
0.090278
0.064815
0.37963
0.291667
0.291667
0.291667
0.291667
0.291667
0
0.045635
0.188406
621
19
131
32.684211
0.811508
0.061192
0
0
0
0.285714
0.583691
0
0
0
0
0
0
0
null
null
0
0
null
null
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
a84e56b9d74d172ae0e20678faa6483eb96cce7d
548
py
Python
templating/mako_templates.py
dhilipsiva/google-chartwrapper
3769aecbef6c83b6cd93ee72ece478ffe433ac57
[ "BSD-3-Clause" ]
null
null
null
templating/mako_templates.py
dhilipsiva/google-chartwrapper
3769aecbef6c83b6cd93ee72ece478ffe433ac57
[ "BSD-3-Clause" ]
1
2019-01-14T05:11:17.000Z
2019-01-14T05:11:17.000Z
templating/mako_templates.py
dhilipsiva/google-chartwrapper
3769aecbef6c83b6cd93ee72ece478ffe433ac57
[ "BSD-3-Clause" ]
null
null
null
from mako.template import Template print Template(""" <%namespace name="gcw" module="GChartWrapper"/> ${ gcw.chart('Line',data)\ .axes.type('xy')\ .axes.label('Mar','Apr','May')\ .axes.label(None,'50+Kb')\ .color('red')\ .line(6,5,2)\ .img() } """).render(data='foh...
18.266667
47
0.536496
59
548
4.983051
0.627119
0.088435
0.14966
0.176871
0.380952
0.380952
0.380952
0.380952
0.380952
0
0
0.026066
0.229927
548
29
48
18.896552
0.670616
0
0
0.347826
0
0
0.790146
0.233577
0
0
0
0
0
0
null
null
0
0.043478
null
null
0.086957
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
a85dee2f2d76771a4b4b518411daeebda010fba2
183
py
Python
rtv/__init__.py
arount/rtv
9fec4a8cdd5a128d19ae2fcabfe3729a1a2fd6bc
[ "MIT" ]
1
2018-01-18T09:02:42.000Z
2018-01-18T09:02:42.000Z
rtv/__init__.py
arount/rtv
9fec4a8cdd5a128d19ae2fcabfe3729a1a2fd6bc
[ "MIT" ]
null
null
null
rtv/__init__.py
arount/rtv
9fec4a8cdd5a128d19ae2fcabfe3729a1a2fd6bc
[ "MIT" ]
null
null
null
from .__version__ import __version__ __title__ = 'Reddit Terminal Viewer' __author__ = 'Michael Lazar' __license__ = 'The MIT License (MIT)' __copyright__ = '(c) 2015 Michael Lazar'
26.142857
40
0.765027
21
183
5.52381
0.761905
0.206897
0
0
0
0
0
0
0
0
0
0.025478
0.142077
183
6
41
30.5
0.713376
0
0
0
0
0
0.42623
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
0
0
0
0
0
0
0
3
a879f2977ff72aa68aa767d0cb789e1d2cc1f901
169
py
Python
code/random_forest.mnist.default.reproducible.py
leetschau/h2o
f28cbb43090d181689e01084607043116b036c26
[ "MIT" ]
93
2016-12-09T11:13:04.000Z
2022-03-28T15:35:51.000Z
code/random_forest.mnist.default.reproducible.py
NivedhithaE/h2o
c077af549ab539b5f71218155f11e5fe3c25042c
[ "MIT" ]
5
2016-12-27T08:55:16.000Z
2017-12-22T09:42:36.000Z
code/random_forest.mnist.default.reproducible.py
NivedhithaE/h2o
c077af549ab539b5f71218155f11e5fe3c25042c
[ "MIT" ]
114
2016-12-10T17:03:40.000Z
2021-10-30T00:46:50.000Z
# Run load.mnist.reproducible.py first m = h2o.estimators.H2ORandomForestEstimator(model_id="RF_defaults", seed=450) %time m.train(x, y, train, validation_frame=valid)
33.8
77
0.786982
25
169
5.2
0.92
0
0
0
0
0
0
0
0
0
0
0.032258
0.08284
169
4
78
42.25
0.806452
0.213018
0
0
0
0
0.083969
0
0
0
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
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
a87aa0d6de0ab106b8715d4e4980f120ce514ebe
716
py
Python
fancy/trainer/configs/__init__.py
susautw/fancy-trainer
eeb7ba1a541a8070171f1be972f8d99f81a4bff9
[ "MIT" ]
null
null
null
fancy/trainer/configs/__init__.py
susautw/fancy-trainer
eeb7ba1a541a8070171f1be972f8d99f81a4bff9
[ "MIT" ]
null
null
null
fancy/trainer/configs/__init__.py
susautw/fancy-trainer
eeb7ba1a541a8070171f1be972f8d99f81a4bff9
[ "MIT" ]
null
null
null
__all__ = [ "TrainingConfig", "TrainerConfig", "DatasetConfig", "ImporterConfig", "ModelConfig", "OptimizerConfig", "LossFunctionConfig", "TransformConfig", "DataLoaderCollectionConfig", "MetricsCollectionConfig" ] from .importer_config import ImporterConfig from .trainer_config import TrainerConfig from ....
42.117647
78
0.847765
65
716
9.061538
0.415385
0.203735
0.074703
0
0
0
0
0
0
0
0
0
0.093575
716
16
79
44.75
0.90755
0
0
0
0
0
0.226257
0.068436
0
0
0
0
0
1
0
false
0
0.733333
0
0.733333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a883760a9c535e176a853c42a50921ba92f379f3
200
py
Python
tests/gds_inner_name_map.py
andreif/generateDS
995fa381b3f1079937bb0c1cb14f8167e879c33d
[ "MIT" ]
null
null
null
tests/gds_inner_name_map.py
andreif/generateDS
995fa381b3f1079937bb0c1cb14f8167e879c33d
[ "MIT" ]
null
null
null
tests/gds_inner_name_map.py
andreif/generateDS
995fa381b3f1079937bb0c1cb14f8167e879c33d
[ "MIT" ]
1
2020-10-18T07:58:16.000Z
2020-10-18T07:58:16.000Z
Inner_name_map = { ("classAType", "inner"): "inner_001", ("classBType", "inner"): "inner_002", #("classAType", "inner"): "class_a_inner", #("classBType", "inner"): "class_b_inner", }
25
46
0.59
21
200
5.238095
0.47619
0.272727
0
0
0
0
0
0
0
0
0
0.035928
0.165
200
7
47
28.571429
0.622754
0.41
0
0
0
0
0.417391
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
3
a88fb89d88f481584b4a53e16a259169ea4695ca
413
py
Python
app/grandchallenge/evaluation/migrations/0016_auto_20211014_1854.py
kaczmarj/grand-challenge.org
8dc8a2170e51072354f7e94f2a22578805a67b94
[ "Apache-2.0" ]
7
2016-11-05T07:16:30.000Z
2017-11-23T03:38:03.000Z
app/grandchallenge/evaluation/migrations/0016_auto_20211014_1854.py
kaczmarj/grand-challenge.org
8dc8a2170e51072354f7e94f2a22578805a67b94
[ "Apache-2.0" ]
113
2015-05-26T09:27:59.000Z
2018-03-21T10:45:56.000Z
app/grandchallenge/evaluation/migrations/0016_auto_20211014_1854.py
kaczmarj/grand-challenge.org
8dc8a2170e51072354f7e94f2a22578805a67b94
[ "Apache-2.0" ]
7
2015-07-16T20:11:22.000Z
2017-06-06T02:41:24.000Z
# Generated by Django 3.1.13 on 2021-10-14 18:54 from django.db import migrations class Migration(migrations.Migration): dependencies = [("evaluation", "0015_submission_user_upload")] operations = [ migrations.RemoveField(model_name="method", name="staged_image_uuid"), migrations.RemoveFiel...
25.8125
78
0.692494
47
413
5.87234
0.723404
0.152174
0.188406
0.217391
0
0
0
0
0
0
0
0.060241
0.196126
413
15
79
27.533333
0.771084
0.11138
0
0
1
0
0.268493
0.150685
0
0
0
0
0
1
0
false
0
0.111111
0
0.444444
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a89dde28e281fecc64593570daa36e1aa96439b9
381
py
Python
Exporters/json.py
lukedupin/libs
0cd2a383f1abfdadd05172bec76d196c84974f1f
[ "MIT" ]
null
null
null
Exporters/json.py
lukedupin/libs
0cd2a383f1abfdadd05172bec76d196c84974f1f
[ "MIT" ]
null
null
null
Exporters/json.py
lukedupin/libs
0cd2a383f1abfdadd05172bec76d196c84974f1f
[ "MIT" ]
null
null
null
def struct_data(): return [ { "name": "JHuman", "fields": [ "str name", "int age", "float lat", "float lng", "bool admin", "long created_on", ] }, { "name": "JHumanList", "fields": [ ...
20.052632
36
0.325459
26
381
4.692308
0.807692
0
0
0
0
0
0
0
0
0
0
0
0.527559
381
18
37
21.166667
0.677778
0
0
0.111111
0
0
0.296588
0
0
0
0
0
0
1
0.055556
true
0
0
0.055556
0.111111
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
a8b0fa2dcd6301192fc44ff08fddcef89ef7488f
359
py
Python
180318_generic_benchmarks/utils.py
Sangram-Rout/scanpy_usage
38030605c74c755167302caa431cf3ff62de646f
[ "BSD-3-Clause" ]
52
2017-07-25T20:30:02.000Z
2022-03-18T07:22:45.000Z
180318_generic_benchmarks/utils.py
Sangram-Rout/scanpy_usage
38030605c74c755167302caa431cf3ff62de646f
[ "BSD-3-Clause" ]
16
2017-08-11T12:26:10.000Z
2020-12-10T23:12:00.000Z
180318_generic_benchmarks/utils.py
Sangram-Rout/scanpy_usage
38030605c74c755167302caa431cf3ff62de646f
[ "BSD-3-Clause" ]
49
2017-09-10T22:39:31.000Z
2022-03-06T08:04:32.000Z
import scanpy.neighbors from sklearn.metrics import pairwise_distances def scanpy0(X, n_neighbors): scanpy.neighbors.compute_neighbors_numpy(X, n_neighbors) def scanpy1(X, n_neighbors): if X.shape[0] < 8192: scanpy.neighbors.compute_neighbors_numpy(X, n_neighbors) else: scanpy.neighbors....
25.642857
64
0.760446
49
359
5.326531
0.428571
0.038314
0.210728
0.356322
0.360153
0.360153
0.360153
0.360153
0
0
0
0.023026
0.153203
359
13
65
27.615385
0.835526
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.444444
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
a8b5605aac49e77422b62717cdea05a38b4fd1bc
304
py
Python
hydra_client/__init__.py
Project-Dream-Weaver/Hydra
76ed67eaf848d1a4b6d0d5ae9c9bf5d69c80e0f2
[ "Apache-2.0" ]
3
2020-10-07T17:23:42.000Z
2020-12-30T14:24:03.000Z
hydra_client/__init__.py
Project-Dream-Weaver/Hydra
76ed67eaf848d1a4b6d0d5ae9c9bf5d69c80e0f2
[ "Apache-2.0" ]
9
2020-07-21T18:38:38.000Z
2020-08-17T21:48:34.000Z
hydra_client/__init__.py
Project-Dream-Weaver/Hydra
76ed67eaf848d1a4b6d0d5ae9c9bf5d69c80e0f2
[ "Apache-2.0" ]
null
null
null
from .workers.websocket import AutoShardedWorker, WebsocketShard, InternalResponses from .workers.workers import Worker from .adapters.asgi import ASGIAdapter from .adapters.wsgi import WSGIAdapter from .adapters.raw import RawAdapter from .runner import run from .helpers import load_data, dumps_data
30.4
83
0.842105
38
304
6.684211
0.552632
0.141732
0
0
0
0
0
0
0
0
0
0
0.108553
304
9
84
33.777778
0.937269
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
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
0
0
3
a8bf5a4d7ae2896868b26abbcda7c2f884ddf059
8,288
py
Python
pynab/openapi/__init__.py
idwagner/pynab
26e0f2d2adc86374ff5caf5a614778fafa1c19d6
[ "Apache-2.0" ]
null
null
null
pynab/openapi/__init__.py
idwagner/pynab
26e0f2d2adc86374ff5caf5a614778fafa1c19d6
[ "Apache-2.0" ]
null
null
null
pynab/openapi/__init__.py
idwagner/pynab
26e0f2d2adc86374ff5caf5a614778fafa1c19d6
[ "Apache-2.0" ]
1
2020-11-05T22:28:13.000Z
2020-11-05T22:28:13.000Z
# coding: utf-8 # flake8: noqa """ YNAB API Endpoints Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://a...
63.753846
294
0.892495
1,004
8,288
7.181275
0.200199
0.132316
0.235229
0.268516
0.502358
0.419556
0.210818
0.013592
0
0
0
0.00142
0.065275
8,288
129
295
64.248062
0.929263
0.060811
0
0
0
0
0.000645
0
0
0
0
0
0
1
0
false
0
0.990741
0
0.990741
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a8d013f569d4aba1ac3009baf5cfba209e0cfbaf
48
py
Python
tempCodeRunnerFile.py
AJV009/mood_detector
4af7930fe2fca0721c50513a55db14e1a887823a
[ "CC0-1.0" ]
6
2020-03-31T21:18:18.000Z
2020-04-03T05:23:14.000Z
tempCodeRunnerFile.py
AJV009/mood_detector
4af7930fe2fca0721c50513a55db14e1a887823a
[ "CC0-1.0" ]
null
null
null
tempCodeRunnerFile.py
AJV009/mood_detector
4af7930fe2fca0721c50513a55db14e1a887823a
[ "CC0-1.0" ]
1
2020-08-31T16:59:28.000Z
2020-08-31T16:59:28.000Z
results = requests.post(url=imageUrl, json=data)
48
48
0.791667
7
48
5.428571
1
0
0
0
0
0
0
0
0
0
0
0
0.0625
48
1
48
48
0.844444
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
3
a8d3bac7ecb5afe19669910192e5e2eec2d5d71b
811
py
Python
src/datadog_api_client/v1/__init__.py
rchenzheng/datadog-api-client-python
2e86ac098c6f0c7fdd90ed218224587c0f8eafef
[ "Apache-2.0" ]
32
2021-01-07T15:09:56.000Z
2022-01-30T05:49:23.000Z
src/datadog_api_client/v1/__init__.py
rchenzheng/datadog-api-client-python
2e86ac098c6f0c7fdd90ed218224587c0f8eafef
[ "Apache-2.0" ]
228
2020-09-03T14:03:54.000Z
2022-03-31T20:16:12.000Z
src/datadog_api_client/v1/__init__.py
rchenzheng/datadog-api-client-python
2e86ac098c6f0c7fdd90ed218224587c0f8eafef
[ "Apache-2.0" ]
12
2020-09-15T21:36:03.000Z
2022-03-31T17:13:17.000Z
# flake8: noqa # Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. # This product includes software developed at Datadog (https://www.datadoghq.com/). # Copyright 2019-Present Datadog, Inc. __version__ = "0.1.0" # import ApiClient from datadog_api_client.v1.a...
35.26087
108
0.843403
110
811
6.027273
0.445455
0.122172
0.168929
0.241327
0.410256
0.343891
0.343891
0
0
0
0
0.024725
0.102343
811
22
109
36.863636
0.885989
0.362515
0
0
0
0
0.009823
0
0
0
0
0
0
1
0
false
0
0.888889
0
0.888889
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a8d50972de4983c8a89d1e530ffb3d8d180b2144
2,064
py
Python
tests/test_manager_os.py
BvB93/AssertionLib
843e866702c17dc7ae5fa9f1a6e841ace7c5d06c
[ "Apache-2.0" ]
2
2019-10-17T14:09:26.000Z
2020-11-29T21:28:07.000Z
tests/test_manager_os.py
BvB93/AssertionLib
843e866702c17dc7ae5fa9f1a6e841ace7c5d06c
[ "Apache-2.0" ]
10
2020-05-24T15:11:24.000Z
2021-10-12T09:49:41.000Z
tests/test_manager_os.py
BvB93/AssertionLib
843e866702c17dc7ae5fa9f1a6e841ace7c5d06c
[ "Apache-2.0" ]
1
2020-08-16T20:55:26.000Z
2020-08-16T20:55:26.000Z
"""Tests for the :class:`AssertionManager<assertionlib.manager.AssertionManager>` class.""" from os.path import dirname, join from assertionlib import assertion PATH: str = dirname(__file__) TEST_DIR: str = join(PATH, 'test_files', 'test_dir') TEST_FILE: str = join(PATH, 'test_files', 'test_file.txt') TEST_DUMMY: st...
33.836066
91
0.708818
262
2,064
5.454198
0.156489
0.104969
0.19944
0.097971
0.436669
0.142057
0.108467
0
0
0
0
0.014085
0.140019
2,064
60
92
34.4
0.790986
0.132752
0
0
0
0
0.04548
0
0
0
0
0
0.756098
1
0.121951
true
0
0.04878
0
0.170732
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
3
a8d61044c03b0ebea8b6fd8c39fc71f5573998c4
120
py
Python
scan.py
kthanigaivel/ssd1306
c82e2d6f85cfe612fca120c79531480898d609b4
[ "MIT" ]
null
null
null
scan.py
kthanigaivel/ssd1306
c82e2d6f85cfe612fca120c79531480898d609b4
[ "MIT" ]
null
null
null
scan.py
kthanigaivel/ssd1306
c82e2d6f85cfe612fca120c79531480898d609b4
[ "MIT" ]
null
null
null
import machine sda=machine.Pin(0) scl=machine.Pin(1) i2c=machine.I2C(0,sda=sda, scl=scl, freq=400000) print(i2c.scan())
20
48
0.741667
23
120
3.869565
0.521739
0.224719
0
0
0
0
0
0
0
0
0
0.107143
0.066667
120
5
49
24
0.6875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
0
0
0
0
0
0
0
3
763aae3fadb2e9f9be7195a97444af112ab4b0d2
8,626
py
Python
tests/MocDownInpParse.py
jeffseif/MocDown
fde73353f6907f3892f1d7e3478be84cb1b9ee8b
[ "BSD-3-Clause" ]
4
2018-03-19T14:19:17.000Z
2022-03-22T16:29:27.000Z
tests/MocDownInpParse.py
jeffseif/MocDown
fde73353f6907f3892f1d7e3478be84cb1b9ee8b
[ "BSD-3-Clause" ]
null
null
null
tests/MocDownInpParse.py
jeffseif/MocDown
fde73353f6907f3892f1d7e3478be84cb1b9ee8b
[ "BSD-3-Clause" ]
5
2015-12-05T20:33:15.000Z
2022-01-14T04:39:42.000Z
#! /usr/bin/env python3 ### ### Import ### from MocDown import * ; ### ### Constants ### ### # Test cases ### mocDownInputFileName2Parameters = { '../examples/rbwrThPin/mocdown.inp' : {'defaultDecayLibrary': 'decay', 'burnCells': [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, ...
143.766667
4,146
0.680733
880
8,626
6.665909
0.392045
0.020457
0.025571
0.03955
0.228776
0.228776
0.220934
0.17252
0.112513
0.112513
0
0.167414
0.095641
8,626
59
4,147
146.20339
0.58454
0.016114
0
0
0
0.136364
0.47503
0.213555
0
0
0
0
0
1
0.090909
false
0.090909
0.090909
0.045455
0.272727
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
766ba6a26383c00466d6f9c8360472df023443f5
94
py
Python
Aula13/ex05.py
danicon/MD2-Curso_Python
77a2eb2d123eb1359dd7c84360c83bf3b3033ab4
[ "MIT" ]
1
2020-11-28T14:48:03.000Z
2020-11-28T14:48:03.000Z
Aula13/ex05.py
danicon/MD2-Curso_Python
77a2eb2d123eb1359dd7c84360c83bf3b3033ab4
[ "MIT" ]
null
null
null
Aula13/ex05.py
danicon/MD2-Curso_Python
77a2eb2d123eb1359dd7c84360c83bf3b3033ab4
[ "MIT" ]
null
null
null
from time import sleep for f in range(11,0,-1): print(f-1) sleep(1) print('FÔGOS!!!')
15.666667
24
0.606383
18
94
3.166667
0.722222
0.210526
0
0
0
0
0
0
0
0
0
0.08
0.202128
94
6
25
15.666667
0.68
0
0
0
0
0
0.084211
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
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
0
0
0
0
0
0
0
3
768bcbbf9e91f1dbced5ecf7ea5e864cbb7ccfca
702
py
Python
src/stoat/core/structure/ref/ref.py
saarkatz/guppy-struct
b9099353312c365cfd788dbd2d168a9c844765be
[ "Apache-2.0" ]
1
2021-12-07T11:59:11.000Z
2021-12-07T11:59:11.000Z
src/stoat/core/structure/ref/ref.py
saarkatz/stoat-struct
b9099353312c365cfd788dbd2d168a9c844765be
[ "Apache-2.0" ]
null
null
null
src/stoat/core/structure/ref/ref.py
saarkatz/stoat-struct
b9099353312c365cfd788dbd2d168a9c844765be
[ "Apache-2.0" ]
null
null
null
import re item_pattern = re.compile('[_a-zA-Z][_a-zA-Z0-9]*') class Ref: def __init__(self, initial_path=None): self._path = initial_path if initial_path else [] def __getattr__(self, item): if item.startswith('_'): raise Exception('Access to private members is only allowed thro...
28.08
103
0.645299
95
702
4.484211
0.494737
0.103286
0.065728
0.084507
0.112676
0
0
0
0
0
0
0.003704
0.230769
702
24
104
29.25
0.785185
0
0
0
0
0
0.240741
0.031339
0
0
0
0
0.0625
1
0.3125
false
0
0.0625
0.125
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
76ba90fdda1af33733326fc56210f67d44ef1640
1,489
py
Python
vendor/github.com/elastic/beats/packetbeat/tests/system/test_0053_amqp_channel_error.py
plinde/mqttbeat
64e3bf19a45686a5cc6aecae58d9d2e140e7c915
[ "Apache-2.0" ]
115
2015-11-30T13:42:27.000Z
2021-10-14T15:41:31.000Z
vendor/github.com/elastic/beats/packetbeat/tests/system/test_0053_amqp_channel_error.py
plinde/mqttbeat
64e3bf19a45686a5cc6aecae58d9d2e140e7c915
[ "Apache-2.0" ]
35
2016-02-14T18:47:27.000Z
2021-01-17T20:12:38.000Z
vendor/github.com/elastic/beats/packetbeat/tests/system/test_0053_amqp_channel_error.py
plinde/mqttbeat
64e3bf19a45686a5cc6aecae58d9d2e140e7c915
[ "Apache-2.0" ]
50
2015-11-28T18:43:19.000Z
2021-07-21T03:58:10.000Z
from packetbeat import BaseTest class Test(BaseTest): def test_amqp_channel_error(self): self.render_config_template( amqp_ports=[5672], ) self.run_packetbeat(pcap="amqp_channel_error.pcap", debug_selectors=["amqp,tcp,publish"]) objs = self...
37.225
90
0.560779
188
1,489
4.37234
0.351064
0.255474
0.107056
0.109489
0.23601
0
0
0
0
0
0
0.029918
0.259234
1,489
39
91
38.179487
0.715322
0
0
0
0
0
0.266622
0.015447
0
0
0
0
0.71875
1
0.03125
false
0.0625
0.03125
0
0.09375
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
3
4f1f75cf4af7c9621d2b5db1a2cb5cc1bc495a21
95
py
Python
lenoftuple.py
bjoffficial/Python
73e6fdc19a1bec18488405c4a60c30ba68581ce5
[ "Apache-2.0" ]
null
null
null
lenoftuple.py
bjoffficial/Python
73e6fdc19a1bec18488405c4a60c30ba68581ce5
[ "Apache-2.0" ]
null
null
null
lenoftuple.py
bjoffficial/Python
73e6fdc19a1bec18488405c4a60c30ba68581ce5
[ "Apache-2.0" ]
null
null
null
st=tuple(input("enter the tuple").split(",")) le=len(st) print("Length of the tuple %d"%le)
23.75
46
0.642105
17
95
3.588235
0.705882
0.262295
0
0
0
0
0
0
0
0
0
0
0.126316
95
3
47
31.666667
0.73494
0
0
0
0
0
0.413043
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
0
0
0
0
0
0
0
3
4f6e1c033d763320470c70d20ab6ce59dc5d1844
192,700
py
Python
python/l0916.py
daidaifan/leetcode-problem-solver
1793eada501a2a18d05f118a98ac52e2edd12ef8
[ "MIT" ]
null
null
null
python/l0916.py
daidaifan/leetcode-problem-solver
1793eada501a2a18d05f118a98ac52e2edd12ef8
[ "MIT" ]
null
null
null
python/l0916.py
daidaifan/leetcode-problem-solver
1793eada501a2a18d05f118a98ac52e2edd12ef8
[ "MIT" ]
null
null
null
""" We are given two arrays A and B of words. Each word is a string of lowercase letters. Now, say that word b is a subset of word a if every letter in b occurs in a, including multiplicity. For example, "wrr" is a subset of "warrior", but is not a subset of "world". Now say a word a from A is universal if for ever...
2,267.058824
130,005
0.682974
20,358
192,700
6.464486
0.555163
0.000243
0.001337
0.001064
0.002819
0.002492
0.002196
0.002196
0.00155
0.000638
0
0.000276
0.003409
192,700
84
130,006
2,294.047619
0.685008
0.006482
0
0.131579
0
0
0.680845
0
0
0
0
0
0
1
0.078947
false
0
0
0
0.210526
0.078947
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4f8b4ecbf08f720445718eff6e3351e8af90fb52
132
py
Python
src/demosp/demosp/__init__.py
haltu/velmu-mpass-demosp
31b609d1413ab1bd9f833f42eac30366a6d3e6d0
[ "MIT" ]
null
null
null
src/demosp/demosp/__init__.py
haltu/velmu-mpass-demosp
31b609d1413ab1bd9f833f42eac30366a6d3e6d0
[ "MIT" ]
1
2018-08-16T13:50:36.000Z
2018-08-16T13:50:36.000Z
src/demosp/demosp/__init__.py
haltu/velmu-mpass-demosp
31b609d1413ab1bd9f833f42eac30366a6d3e6d0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- default_app_config = 'demosp.apps.DefaultConfig' # vim: tabstop=2 expandtab shiftwidth=2 softtabstop=2
14.666667
53
0.712121
17
132
5.411765
0.882353
0
0
0
0
0
0
0
0
0
0
0.035398
0.143939
132
8
54
16.5
0.778761
0.55303
0
0
0
0
0.454545
0.454545
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
96f3abdeb9f9e087a94d8229703ad6666f7e9ee7
3,178
py
Python
modern_ftp/ftp.py
RemiDesgrange/modern-ftp
2d3e8e0df3a87e787a1052eaa3a881fa448f3e29
[ "Unlicense" ]
null
null
null
modern_ftp/ftp.py
RemiDesgrange/modern-ftp
2d3e8e0df3a87e787a1052eaa3a881fa448f3e29
[ "Unlicense" ]
null
null
null
modern_ftp/ftp.py
RemiDesgrange/modern-ftp
2d3e8e0df3a87e787a1052eaa3a881fa448f3e29
[ "Unlicense" ]
null
null
null
from pyftpdlib.servers import FTPServer as pyftpdlibFTPServer from pyftpdlib.authorizers import DummyAuthorizer from pyftpdlib.handlers import FTPHandler from pyftpdlib.filesystems import AbstractedFS from pathlib import Path import s3fs from .queue import Producer class S3FileSystem(AbstractedFS): def __init__(s...
32.10101
114
0.641913
398
3,178
4.9799
0.31407
0.045409
0.063572
0.060545
0.251766
0.230575
0.219475
0.219475
0.219475
0.142281
0
0.013564
0.234424
3,178
98
115
32.428571
0.801069
0.081183
0
0.136364
0
0
0.134708
0.081443
0
0
0
0.010204
0
1
0.30303
false
0.060606
0.106061
0.045455
0.5
0.015152
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
8c155e77d4c365cdcbc288fa207204828706212c
453
py
Python
optimization/c_estimation/base_c_estimator.py
adamw00000/PU-joint-CCCP-DCCP-2021
7b97351af1884a886d1d26a848a3ced517f9feef
[ "MIT" ]
null
null
null
optimization/c_estimation/base_c_estimator.py
adamw00000/PU-joint-CCCP-DCCP-2021
7b97351af1884a886d1d26a848a3ced517f9feef
[ "MIT" ]
null
null
null
optimization/c_estimation/base_c_estimator.py
adamw00000/PU-joint-CCCP-DCCP-2021
7b97351af1884a886d1d26a848a3ced517f9feef
[ "MIT" ]
1
2022-03-26T10:53:19.000Z
2022-03-26T10:53:19.000Z
from abc import ABC, abstractmethod class BaseCEstimator(ABC): P_s_1: float # P(s = 1) c_estimate: float def get_STD_alpha(self): alpha = self.P_s_1 / self.c_estimate return max(0.0, min(1.0, alpha)) def get_CC_alpha(self): alpha = (self.P_s_1 * (1 - self.c_estimate)) / (sel...
23.842105
91
0.600442
76
453
3.368421
0.328947
0.039063
0.058594
0.082031
0.328125
0.328125
0.328125
0.164063
0
0
0
0.045181
0.267108
453
18
92
25.166667
0.725904
0.01766
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.230769
false
0.076923
0.076923
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
8c25aa592b0d7254bc8336d4287d6c72ad414433
244
py
Python
src/train_nn.py
predrag-njegovanovic/poker-hand-recognition
4305e454a4ecabe778f07131efa0ab9fe678ad0f
[ "MIT" ]
12
2018-06-18T21:45:54.000Z
2021-12-03T03:00:12.000Z
src/train_nn.py
Djaps94/PokerHandRecognition
4305e454a4ecabe778f07131efa0ab9fe678ad0f
[ "MIT" ]
null
null
null
src/train_nn.py
Djaps94/PokerHandRecognition
4305e454a4ecabe778f07131efa0ab9fe678ad0f
[ "MIT" ]
10
2018-09-26T00:40:33.000Z
2021-12-22T13:13:54.000Z
from __future__ import division import os import neural_network as nnwd full_path = os.path.dirname(__file__) if __name__ == "__main__": neural_network = nnwd.train_network() neural_network.save(full_path + '/models/neural_model.h5')
24.4
62
0.770492
34
244
4.852941
0.617647
0.236364
0
0
0
0
0
0
0
0
0
0.004739
0.135246
244
9
63
27.111111
0.777251
0
0
0
0
0
0.127049
0.094262
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
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
0
0
1
0
0
0
0
3
8c2991d6b75032bab7ca59c7bd6836b6202c6fd2
139
py
Python
docstringer/__init__.py
ttamg/docstringer
f28cdc178e8cb5dd7ca16c885f3837a052807e16
[ "MIT" ]
null
null
null
docstringer/__init__.py
ttamg/docstringer
f28cdc178e8cb5dd7ca16c885f3837a052807e16
[ "MIT" ]
null
null
null
docstringer/__init__.py
ttamg/docstringer
f28cdc178e8cb5dd7ca16c885f3837a052807e16
[ "MIT" ]
null
null
null
""" Create documentation of your function call stack from their docstrings """ __version__ = "0.1.1" from .decorators import docstringer
23.166667
78
0.76259
18
139
5.666667
0.888889
0
0
0
0
0
0
0
0
0
0
0.025424
0.151079
139
5
79
27.8
0.838983
0.503597
0
0
0
0
0.081967
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8c2eaa4dfb7f9f422e432b9390f15937ca7564ff
415
py
Python
src/check/resource/primitive/string.py
JSAbrahams/mamba
66ae435a4abf496aae945a78e4fdfa8e4785d854
[ "MIT" ]
82
2019-03-19T14:29:59.000Z
2022-01-07T15:08:11.000Z
src/check/resource/primitive/string.py
JSAbrahams/mamba
66ae435a4abf496aae945a78e4fdfa8e4785d854
[ "MIT" ]
171
2019-03-16T14:21:28.000Z
2022-01-11T15:27:39.000Z
src/check/resource/primitive/string.py
JSAbrahams/mamba
66ae435a4abf496aae945a78e4fdfa8e4785d854
[ "MIT" ]
3
2019-03-20T14:06:49.000Z
2020-05-18T09:24:02.000Z
from typing import Union class str: def __init__(self, arg: str): pass def __add__(self, other: Union[int, float, complex, bool, str]) -> str: pass def __str__(self) -> str: pass def __eq__(self, other: str) -> bool: pass def __iter__(self) -> str_iterator: pass class str_iterator: def __in...
23.055556
80
0.648193
59
415
3.983051
0.355932
0.178723
0.170213
0.119149
0
0
0
0
0
0
0
0
0.231325
415
18
81
23.055556
0.736677
0
0
0
0
0
0
0
0
0
0
0
0
1
0.727273
false
0.727273
0.090909
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
8c32e673cd840f50267840ab562487329a90d820
54
py
Python
foldedleastsquares/version.py
martindevora/tls
61811815d5b24dab5b28fb5a2263039711205541
[ "MIT" ]
null
null
null
foldedleastsquares/version.py
martindevora/tls
61811815d5b24dab5b28fb5a2263039711205541
[ "MIT" ]
null
null
null
foldedleastsquares/version.py
martindevora/tls
61811815d5b24dab5b28fb5a2263039711205541
[ "MIT" ]
null
null
null
TLS_VERSIONING = "1.0.29" TLS_DATE = "19 August 2021"
18
27
0.703704
10
54
3.6
0.9
0
0
0
0
0
0
0
0
0
0
0.217391
0.148148
54
2
28
27
0.565217
0
0
0
0
0
0.37037
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8c3c78438e2e4f8df8b821fd95e200e3dbb74583
269
py
Python
trypackage/__init__.py
timgates42/try
785798471ae753968053641b6407ac7be9f91309
[ "MIT" ]
691
2016-03-21T04:44:02.000Z
2022-03-30T03:59:31.000Z
trypackage/__init__.py
timgates42/try
785798471ae753968053641b6407ac7be9f91309
[ "MIT" ]
16
2016-03-21T11:27:10.000Z
2021-12-01T01:51:32.000Z
trypackage/__init__.py
timgates42/try
785798471ae753968053641b6407ac7be9f91309
[ "MIT" ]
47
2016-03-21T05:04:56.000Z
2022-03-09T04:45:26.000Z
""" `try` - Awesome cli tool to try out python packages. :copyright: (c) by Timo Furrer :license: MIT, see LICENSE for details """ from .core import try_packages, TryError, Package __VERSION__ = "0.3.0" __all__ = ["try_packages", "TryError", "Package"]
20.692308
56
0.669145
36
269
4.722222
0.75
0.129412
0.223529
0.305882
0
0
0
0
0
0
0
0.013889
0.197026
269
12
57
22.416667
0.773148
0.457249
0
0
0
0
0.253968
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8c40d5a0c7b0fcf2b58e8a0849d6bc7c47ac0bdc
293
py
Python
build/tests/test_release_constants.py
swiesenhuetter/ApprovalTests.cpp
c6343d7a3a7f4afdf9a0d477091ac3d21808582a
[ "Apache-2.0" ]
259
2017-12-19T08:18:13.000Z
2022-03-22T08:05:30.000Z
build/tests/test_release_constants.py
swiesenhuetter/ApprovalTests.cpp
c6343d7a3a7f4afdf9a0d477091ac3d21808582a
[ "Apache-2.0" ]
179
2018-02-01T11:20:38.000Z
2022-02-28T09:40:21.000Z
build/tests/test_release_constants.py
alepez/ApprovalTests.cpp
a7fb4807714af1cedd817a10262206db7600b416
[ "Apache-2.0" ]
55
2017-11-27T18:56:47.000Z
2022-03-17T09:06:24.000Z
import unittest from approvaltests.approvals import verify_as_json from scripts.release_constants import release_constants class TestReleaseConstants(unittest.TestCase): def test(self) -> None: verify_as_json(release_constants) if __name__ == '__main__': unittest.main()
19.533333
55
0.778157
34
293
6.264706
0.617647
0.225352
0.112676
0
0
0
0
0
0
0
0
0
0.150171
293
14
56
20.928571
0.855422
0
0
0
0
0
0.027304
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8c4cfbfabdf568be30b8c6f2ae1ff27324cd67c3
228
py
Python
src/pytheas/services/tool_service.py
dcronkite/pytheas
3cdd6a21bda488e762931cbf5975964d5e574abd
[ "MIT" ]
null
null
null
src/pytheas/services/tool_service.py
dcronkite/pytheas
3cdd6a21bda488e762931cbf5975964d5e574abd
[ "MIT" ]
null
null
null
src/pytheas/services/tool_service.py
dcronkite/pytheas
3cdd6a21bda488e762931cbf5975964d5e574abd
[ "MIT" ]
null
null
null
def get_all_tools(): return [ { 'name': 'Build Algorithm', 'url_name': 'build', }, { 'name': 'Explore Dataset', 'url_name': 'explore', }, ]
19
38
0.377193
17
228
4.823529
0.647059
0.219512
0
0
0
0
0
0
0
0
0
0
0.469298
228
11
39
20.727273
0.677686
0
0
0
0
0
0.289474
0
0
0
0
0
0
1
0.090909
true
0
0
0.090909
0.181818
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8c632b1867548857b8be16a2b152341402dd7909
380
py
Python
error.py
rehabiftikhar93/web-development
f9f5a29da32c7801a0a5045e64fc311eb485e900
[ "Unlicense" ]
null
null
null
error.py
rehabiftikhar93/web-development
f9f5a29da32c7801a0a5045e64fc311eb485e900
[ "Unlicense" ]
null
null
null
error.py
rehabiftikhar93/web-development
f9f5a29da32c7801a0a5045e64fc311eb485e900
[ "Unlicense" ]
null
null
null
def spam (DividedBy): try: return 42/DividedBy except ZeroDivisionError: print('error') print (spam(2)) print (spam(12)) print (spam(0)) print (spam(1)) def spam (DividedBy): return 42/DividedBy try: print (spam(2)) print (spam(12)) print (spam(0)) print ...
17.272727
30
0.576316
46
380
4.76087
0.326087
0.328767
0.146119
0.136986
0.374429
0.374429
0.374429
0.374429
0.374429
0.374429
0
0.051661
0.286842
380
21
31
18.095238
0.756458
0
0
0.888889
0
0
0.02514
0
0
0
0
0
0
1
0.111111
false
0
0
0.055556
0.222222
0.555556
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
8c64c236e8d9c244486dd35f43a9eea188a6a3d7
708
py
Python
adocker/errors.py
leesdolphin/adocker
079c8728fadbb9d33bb8348780578820af12223c
[ "PSF-2.0", "Apache-2.0" ]
null
null
null
adocker/errors.py
leesdolphin/adocker
079c8728fadbb9d33bb8348780578820af12223c
[ "PSF-2.0", "Apache-2.0" ]
null
null
null
adocker/errors.py
leesdolphin/adocker
079c8728fadbb9d33bb8348780578820af12223c
[ "PSF-2.0", "Apache-2.0" ]
null
null
null
class DockerException(Exception): """ Serves as a base exception for all exceptions in this library. .. todo:: Ensure this is actually the case given we call into both ``aiodocker`` and ``docker`` """ class ChunkedStreamingError(RuntimeError): """ Raised when the end of a st...
21.454545
78
0.680791
81
708
5.950617
0.716049
0.045643
0.053942
0.087137
0.103734
0
0
0
0
0
0
0.005576
0.240113
708
32
79
22.125
0.890335
0.591808
0
0
0
0
0
0
0
0
0
0.03125
0
1
0
true
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
1
0
0
3
4fcb4de194a0ddd922d8e08bbff38cd022637a2a
134
py
Python
src/scratch/toBase64.py
monkeypants/CartridgeOCR
a2cdaa72e3839a881118b85f5ff7b4515579004b
[ "MIT" ]
2
2021-07-12T02:37:46.000Z
2021-12-28T23:03:20.000Z
src/scratch/toBase64.py
monkeypants/CartridgeOCR
a2cdaa72e3839a881118b85f5ff7b4515579004b
[ "MIT" ]
28
2021-12-29T00:51:24.000Z
2022-03-24T08:03:59.000Z
src/scratch/toBase64.py
monkeypants/CartridgeOCR
a2cdaa72e3839a881118b85f5ff7b4515579004b
[ "MIT" ]
4
2021-09-24T16:13:43.000Z
2022-03-09T17:52:35.000Z
import base64 import sys with open(sys.argv[1], "rb") as img_file: my_string = base64.b64encode(img_file.read()) print(my_string)
22.333333
49
0.738806
23
134
4.130435
0.695652
0.147368
0
0
0
0
0
0
0
0
0
0.059829
0.126866
134
5
50
26.8
0.752137
0
0
0
0
0
0.014925
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
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
0
0
1
0
0
0
0
3
4fcec65dcdc4f1c33b724e02d9a061c00e271ac1
430
py
Python
monad/types/null.py
pyx/monad
c4575d76782e218ff4c3ad9049346f77b93eeab8
[ "BSD-3-Clause" ]
4
2015-09-12T20:24:57.000Z
2017-02-02T03:55:59.000Z
monad/types/null.py
pyx/monad
c4575d76782e218ff4c3ad9049346f77b93eeab8
[ "BSD-3-Clause" ]
null
null
null
monad/types/null.py
pyx/monad
c4575d76782e218ff4c3ad9049346f77b93eeab8
[ "BSD-3-Clause" ]
3
2016-11-08T03:25:20.000Z
2022-01-11T10:33:30.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2012-2015, Philip Xu <pyx@xrefactor.com> # License: BSD New, see LICENSE for details. """monad.types.null - The Null type.""" class Null(object): """Null represents nothing.""" # pylint: disable = too-few-public-methods def __repr__(self): return 'Null' ...
21.5
56
0.632558
56
430
4.714286
0.714286
0.05303
0.106061
0
0
0
0
0
0
0
0
0.026627
0.213953
430
19
57
22.631579
0.754438
0.625581
0
0
0
0
0.027586
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4fdb2441eea60e179bf291f6c2048ea1544ae7e0
136
py
Python
unlockgnn/__init__.py
CalvinCYY/unlockGNN
f620f12f2ba823b64895e6c7a6d435320223eb06
[ "MIT" ]
null
null
null
unlockgnn/__init__.py
CalvinCYY/unlockGNN
f620f12f2ba823b64895e6c7a6d435320223eb06
[ "MIT" ]
null
null
null
unlockgnn/__init__.py
CalvinCYY/unlockGNN
f620f12f2ba823b64895e6c7a6d435320223eb06
[ "MIT" ]
null
null
null
"""Tools for adding uncertainty quantification to neural networks.""" from .base import ProbGNN, MEGNetProbModel __version__ = "1.0.0"
27.2
69
0.772059
17
136
5.941176
0.941176
0
0
0
0
0
0
0
0
0
0
0.02521
0.125
136
4
70
34
0.823529
0.463235
0
0
0
0
0.074627
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8b1968f3c5dfe9efc4913c12d42fe2a92f6b81ac
372
py
Python
Week 08/id_510/str/base/Leetcode_709_510.py
sekishi/algorithm004-05
1f1508c03edb94db96a7642e0c746233184a60d3
[ "Apache-2.0" ]
1
2019-10-12T06:48:45.000Z
2019-10-12T06:48:45.000Z
Week 08/id_510/str/base/Leetcode_709_510.py
sekishi/algorithm004-05
1f1508c03edb94db96a7642e0c746233184a60d3
[ "Apache-2.0" ]
null
null
null
Week 08/id_510/str/base/Leetcode_709_510.py
sekishi/algorithm004-05
1f1508c03edb94db96a7642e0c746233184a60d3
[ "Apache-2.0" ]
null
null
null
""" 实现函数 ToLowerCase(),该函数接收一个字符串参数 str,并将该字符串中的大写字母转换成小写字母,之后返回新的字符串。   示例 1: 输入: "Hello" 输出: "hello" 示例 2: 输入: "here" 输出: "here" 示例 3: 输入: "LOVELY" 输出: "lovely" 来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/to-lower-case 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。 """ from typing import List class Solution: d...
13.285714
66
0.685484
52
372
4.903846
0.730769
0.047059
0
0
0
0
0
0
0
0
0
0.009615
0.16129
372
28
67
13.285714
0.807692
0.712366
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.25
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
8b3d817bf35911cd0e1d9b835cff6810b47939fe
188
py
Python
python/flask-example/app/__init__.py
OGLinuk/ptp
bf498759d9958e4fbf4bda30e2b069efa6b7ff5c
[ "Apache-2.0" ]
1
2022-01-31T04:55:59.000Z
2022-01-31T04:55:59.000Z
python/flask-example/app/__init__.py
oglinuk/labs
619f25238cd1631ee3446cb91e46e2376bea6dba
[ "Apache-2.0" ]
null
null
null
python/flask-example/app/__init__.py
oglinuk/labs
619f25238cd1631ee3446cb91e46e2376bea6dba
[ "Apache-2.0" ]
1
2018-10-05T01:54:12.000Z
2018-10-05T01:54:12.000Z
import os from flask import Flask app = Flask(__name__, instance_relative_config=True) from app.controller import views app.config.from_object('config') app.secret_key = os.urandom(24)
18.8
52
0.797872
29
188
4.896552
0.586207
0
0
0
0
0
0
0
0
0
0
0.011976
0.111702
188
9
53
20.888889
0.838323
0
0
0
0
0
0.031915
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8c6999503dadbc572b3b49cdae7b285040f3b463
239
py
Python
applications/physbam/physbam-lib/Scripts/Archives/pd/sim/LABEL_SESSION.py
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
applications/physbam/physbam-lib/Scripts/Archives/pd/sim/LABEL_SESSION.py
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
applications/physbam/physbam-lib/Scripts/Archives/pd/sim/LABEL_SESSION.py
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
#!/usr/bin/python import sys import os import dialog import CLIENT_LIBRARY d=dialog.Dialog(dialog="dialog") d.add_persistent_args(["--backtitle", "PSIM Label Session"]) id=CLIENT_LIBRARY.Get_Session(d) CLIENT_LIBRARY.Label_Session(d,id)
19.916667
60
0.790795
37
239
4.918919
0.513514
0.214286
0.197802
0
0
0
0
0
0
0
0
0
0.075314
239
11
61
21.727273
0.823529
0.066946
0
0
0
0
0.157658
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8c841a54625d2655bf7f5d91c0096f12582b0717
22
py
Python
web/__init__.py
spudmind/spud
86e44bca4efd3cd6358467e1511048698a45edbc
[ "MIT" ]
2
2015-04-11T12:22:41.000Z
2016-08-18T11:12:06.000Z
web/__init__.py
spudmind/spud
86e44bca4efd3cd6358467e1511048698a45edbc
[ "MIT" ]
84
2015-01-22T14:33:49.000Z
2015-04-01T23:15:29.000Z
web/__init__.py
spudmind/spud
86e44bca4efd3cd6358467e1511048698a45edbc
[ "MIT" ]
1
2015-04-16T03:10:39.000Z
2015-04-16T03:10:39.000Z
__author__ = 'warren'
11
21
0.727273
2
22
6
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.631579
0
0
0
0
0
0.272727
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
3
8c91491ea0b73f0eace967316ec983eb748a4875
2,547
py
Python
examples/csv/csv.py
bitranox/Arpeggio
62151cb8ef2cfe5113a4388da09892e7714c5e96
[ "MIT" ]
null
null
null
examples/csv/csv.py
bitranox/Arpeggio
62151cb8ef2cfe5113a4388da09892e7714c5e96
[ "MIT" ]
null
null
null
examples/csv/csv.py
bitranox/Arpeggio
62151cb8ef2cfe5113a4388da09892e7714c5e96
[ "MIT" ]
null
null
null
############################################################################## # Name: csv.py # Purpose: Implementation of CSV parser in arpeggio. # Author: Igor R. Dejanovic <igor DOT dejanovic AT gmail DOT com> # Copyright: (c) 2014 Igor R. Dejanovic <igor DOT dejanovic AT gmail DOT com> # License: MIT License ######...
28.617978
78
0.623871
329
2,547
4.717325
0.43769
0.028995
0.030928
0.023196
0.055412
0.055412
0.055412
0.055412
0.055412
0.055412
0
0.003038
0.224578
2,547
88
79
28.943182
0.782785
0.353357
0
0.095238
0
0
0.072789
0
0
0
0
0
0
1
0.238095
false
0.02381
0.095238
0.190476
0.619048
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8c934008ed4aca6fa8168719c21bf1d8f1a9d047
1,008
py
Python
hyperstyle/src/python/review/reviewers/review_result.py
hyperskill/hyperstyle
bf3c6e2dc42290ad27f2d30ce42d84a53241544b
[ "Apache-2.0" ]
18
2020-10-05T16:48:11.000Z
2022-03-22T04:15:38.000Z
hyperstyle/src/python/review/reviewers/review_result.py
hyperskill/hyperstyle
bf3c6e2dc42290ad27f2d30ce42d84a53241544b
[ "Apache-2.0" ]
60
2020-10-05T17:01:05.000Z
2022-01-27T12:46:14.000Z
hyperstyle/src/python/review/reviewers/review_result.py
hyperskill/hyperstyle
bf3c6e2dc42290ad27f2d30ce42d84a53241544b
[ "Apache-2.0" ]
6
2021-02-09T09:31:19.000Z
2021-08-13T07:45:51.000Z
from dataclasses import dataclass from pathlib import Path from typing import Dict, List from hyperstyle.src.python.review.inspectors.issue import BaseIssue, IssueDifficulty from hyperstyle.src.python.review.quality.model import Quality from hyperstyle.src.python.review.quality.penalty import Punisher @dataclass cla...
29.647059
103
0.781746
115
1,008
6.791304
0.426087
0.053777
0.065301
0.088348
0.234315
0.197183
0.104994
0
0
0
0
0
0.154762
1,008
33
104
30.545455
0.916667
0.28869
0
0.176471
0
0
0
0
0
0
0
0
0
1
0
true
0
0.352941
0
0.823529
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
8c946e2537a754ae8e4598de4b2264d8ab1c83b8
153
py
Python
configs/centernet/centernet_resnet18_140e_coco.py
ruiningTang/mmdetection
100b0b5e0edddc45af0812b9f1474493c61671ef
[ "Apache-2.0" ]
null
null
null
configs/centernet/centernet_resnet18_140e_coco.py
ruiningTang/mmdetection
100b0b5e0edddc45af0812b9f1474493c61671ef
[ "Apache-2.0" ]
null
null
null
configs/centernet/centernet_resnet18_140e_coco.py
ruiningTang/mmdetection
100b0b5e0edddc45af0812b9f1474493c61671ef
[ "Apache-2.0" ]
null
null
null
_base_ = './centernet_resnet18_dcnv2_140e_coco.py' model = dict(neck=dict(use_dcn=False)) work_dir = 'work_dirs/coco/CenterNet/centernet_r18_140e_coco'
30.6
61
0.810458
24
153
4.666667
0.708333
0.142857
0
0
0
0
0
0
0
0
0
0.076923
0.065359
153
4
62
38.25
0.706294
0
0
0
0
0
0.568627
0.568627
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8c991623c736214083d644cc0151a0e57a6e04e3
1,122
py
Python
src/rogerthat/validators.py
goubertbrent/oca-backend
b9f59cc02568aecb55d4b54aec05245790ea25fd
[ "Apache-2.0" ]
null
null
null
src/rogerthat/validators.py
goubertbrent/oca-backend
b9f59cc02568aecb55d4b54aec05245790ea25fd
[ "Apache-2.0" ]
null
null
null
src/rogerthat/validators.py
goubertbrent/oca-backend
b9f59cc02568aecb55d4b54aec05245790ea25fd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2020 Green Valley Belgium NV # # 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 appl...
37.4
167
0.680036
159
1,122
4.761006
0.603774
0.031704
0.042272
0.046235
0.042272
0.042272
0.042272
0.042272
0.042272
0.042272
0
0.040042
0.154189
1,122
29
168
38.689655
0.75764
0.558824
0
0
0
0.125
0.365546
0.283613
0
0
0
0.034483
0
1
0.25
false
0.125
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
8c9d2b9981186cb004347f379d75a0ed93c3e145
340
py
Python
restic_utils/restic_models.py
kennydo/restic-utils
5fa2c6b9a8d974172c7a4dd0c82abe06780e5c5b
[ "MIT" ]
null
null
null
restic_utils/restic_models.py
kennydo/restic-utils
5fa2c6b9a8d974172c7a4dd0c82abe06780e5c5b
[ "MIT" ]
null
null
null
restic_utils/restic_models.py
kennydo/restic-utils
5fa2c6b9a8d974172c7a4dd0c82abe06780e5c5b
[ "MIT" ]
null
null
null
import datetime from typing import List from typing import NamedTuple from typing import Optional class Snapshot(NamedTuple): id_: str short_id: str time: datetime.datetime username: Optional[str] hostname: str paths: List[str] uid: Optional[int] gid: Optional[int] parent: Optional...
18.888889
29
0.7
44
340
5.363636
0.477273
0.127119
0.20339
0
0
0
0
0
0
0
0
0
0.229412
340
17
30
20
0.900763
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.266667
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
8c9d7681f085948f5ce906fbe2cb24f6564067d7
578
py
Python
optiml/opti/unconstrained/tests/test_adadelta.py
AF207/optiml
f8860d90d4f5b6d35a3ed0ef3c1d014a2b517a72
[ "MIT" ]
1
2021-04-06T13:59:03.000Z
2021-04-06T13:59:03.000Z
optiml/opti/unconstrained/tests/test_adadelta.py
AF207/optiml
f8860d90d4f5b6d35a3ed0ef3c1d014a2b517a72
[ "MIT" ]
null
null
null
optiml/opti/unconstrained/tests/test_adadelta.py
AF207/optiml
f8860d90d4f5b6d35a3ed0ef3c1d014a2b517a72
[ "MIT" ]
null
null
null
import numpy as np import pytest from optiml.opti import quad1, quad2 from optiml.opti.unconstrained import Rosenbrock from optiml.opti.unconstrained.stochastic import AdaDelta def test_AdaDelta_quadratic(): assert np.allclose(AdaDelta(f=quad1).minimize().x, quad1.x_star(), rtol=0.15) assert np.allclose(AdaD...
27.52381
96
0.742215
86
578
4.802326
0.383721
0.072639
0.101695
0.174334
0.268765
0
0
0
0
0
0
0.033531
0.122837
578
20
97
28.9
0.781065
0
0
0
0
0
0.013841
0
0
0
0
0
0.230769
1
0.153846
false
0
0.384615
0
0.538462
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8c9e88416f0d53df81793e36769fa278e6888589
339
py
Python
lamby/forms/validators.py
lamby-ml/lamby-web
4e3a1f0c9a12118bb8d6d084d07256475d48256c
[ "MIT" ]
null
null
null
lamby/forms/validators.py
lamby-ml/lamby-web
4e3a1f0c9a12118bb8d6d084d07256475d48256c
[ "MIT" ]
16
2019-01-31T21:48:41.000Z
2019-04-25T21:32:38.000Z
lamby/forms/validators.py
lamby-ml/lamby-web
4e3a1f0c9a12118bb8d6d084d07256475d48256c
[ "MIT" ]
null
null
null
from flask_login import current_user from wtforms import ValidationError class PasswordIsCorrect(object): def __init__(self, message='Invalid Password'): self.message = message def __call__(self, form, field): if not current_user.check_password(field.data or ''): raise ValidationE...
28.25
61
0.722714
40
339
5.825
0.65
0.141631
0
0
0
0
0
0
0
0
0
0
0.19764
339
11
62
30.818182
0.856618
0
0
0
0
0
0.047198
0
0
0
0
0
0
1
0.25
false
0.375
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
8cac075761ff957fb5bc3157f8f925ffaea09e16
6,119
py
Python
pymanopt/solvers/linesearch.py
Nehoroshiy/logmat_riemannian
79cfd704f4f76549a8a7c72e54d87ba920c489ad
[ "BSD-3-Clause" ]
null
null
null
pymanopt/solvers/linesearch.py
Nehoroshiy/logmat_riemannian
79cfd704f4f76549a8a7c72e54d87ba920c489ad
[ "BSD-3-Clause" ]
null
null
null
pymanopt/solvers/linesearch.py
Nehoroshiy/logmat_riemannian
79cfd704f4f76549a8a7c72e54d87ba920c489ad
[ "BSD-3-Clause" ]
null
null
null
""" Line-search based on linesearch.m and linesearch_adaptive.m in the manopt MATLAB package. """ import numpy as np class LineSearch(object): def __init__(self): """Initialise line search default parameters""" # TODO: allow user to initiate these self.contraction_factor = 0.5 self...
32.036649
79
0.569864
765
6,119
4.437909
0.228758
0.035346
0.028277
0.024742
0.7243
0.701915
0.687776
0.678056
0.678056
0.668041
0
0.016427
0.353326
6,119
190
80
32.205263
0.841547
0.36166
0
0.763441
0
0
0
0
0
0
0
0.005263
0
1
0.064516
false
0
0.010753
0
0.139785
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8cb2631c59cd731776f1c31cb5b10fe2656d73c3
400
py
Python
cinspect/_patch_helpers.py
punchagan/cinspect
23834b9d02511a88cba8ca0aa1397eef927822c3
[ "BSD-3-Clause" ]
100
2015-01-06T21:27:41.000Z
2022-03-01T06:58:55.000Z
cinspect/_patch_helpers.py
punchagan/cinspect
23834b9d02511a88cba8ca0aa1397eef927822c3
[ "BSD-3-Clause" ]
4
2015-01-16T21:41:48.000Z
2020-06-25T18:29:29.000Z
cinspect/_patch_helpers.py
punchagan/cinspect
23834b9d02511a88cba8ca0aa1397eef927822c3
[ "BSD-3-Clause" ]
3
2015-08-14T14:57:36.000Z
2017-12-29T11:59:13.000Z
from contextlib import contextmanager import inspect _igetsource = inspect.getsource _igetfile = inspect.getfile @contextmanager def inspect_restored(): igetsource = inspect.getsource igetfile = inspect.getfile inspect.getsource = _igetsource inspect.getfile = _igetfile try: yield fin...
21.052632
38
0.7275
37
400
7.72973
0.378378
0.237762
0.181818
0.237762
0.671329
0.671329
0
0
0
0
0
0
0.2175
400
18
39
22.222222
0.913738
0
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.2
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8ce70410e725a0e959439c5a3a5ff312c22d7986
204
py
Python
api/apiv1.py
jmickela/django-heroku-todo
e58032bc101d73d4dfc2340f168595736e294b9b
[ "Apache-2.0" ]
null
null
null
api/apiv1.py
jmickela/django-heroku-todo
e58032bc101d73d4dfc2340f168595736e294b9b
[ "Apache-2.0" ]
null
null
null
api/apiv1.py
jmickela/django-heroku-todo
e58032bc101d73d4dfc2340f168595736e294b9b
[ "Apache-2.0" ]
null
null
null
from rest_framework.routers import DefaultRouter from todo.views import TodoItemViewSet router = DefaultRouter(trailing_slash=False) router.register(r'todo', TodoItemViewSet, base_name='todo-item')
34
64
0.818627
25
204
6.56
0.72
0
0
0
0
0
0
0
0
0
0
0
0.098039
204
6
64
34
0.891304
0
0
0
0
0
0.065
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
50697c623db0ec71a11a3ce9372426c919a70007
186
py
Python
tests/migrate_args/4.py
aartur/mschematool
57ec9541f80b44890294126eab92ce243c8833c4
[ "BSD-3-Clause" ]
40
2015-01-13T19:51:53.000Z
2019-11-04T18:53:50.000Z
tests/migrate_args/4.py
aartur/mschematool
57ec9541f80b44890294126eab92ce243c8833c4
[ "BSD-3-Clause" ]
9
2015-04-26T05:38:08.000Z
2019-04-07T14:22:39.000Z
tests/migrate_args/4.py
aartur/mschematool
57ec9541f80b44890294126eab92ce243c8833c4
[ "BSD-3-Clause" ]
12
2015-05-09T00:21:08.000Z
2020-10-23T13:22:03.000Z
def migrate(connection, db_config): if db_config['engine'] == 'sqlite': cur = connection.cursor() cur.execute("""INSERT INTO article (id, body) VALUES (3, 'xxx')""")
37.2
75
0.612903
23
186
4.869565
0.826087
0.142857
0
0
0
0
0
0
0
0
0
0.006757
0.204301
186
4
76
46.5
0.75
0
0
0
0
0
0.322581
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
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
0
0
0
0
0
3
508377b5eefed92cd25063478def7a9aaabf0941
2,064
py
Python
tests/unit/transformations/test_ProductBC.py
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
5
2019-10-14T01:06:57.000Z
2021-02-02T16:33:06.000Z
tests/unit/transformations/test_ProductBC.py
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
null
null
null
tests/unit/transformations/test_ProductBC.py
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
null
null
null
#!/usr/bin/env python from load import ROOT as R import gna.constructors as C import numpy as np import pytest from gna.unittest import * product_broadcast_mat_m11 = np.ones((1,), dtype='d') product_broadcast_mat_m34 = np.ones((3,4), dtype='d') product_broadcast_mat_m33 = np.ones((3,3), dtype='d') product_broadcast...
34.983051
107
0.667151
307
2,064
4.149837
0.228013
0.414443
0.417582
0.266876
0.521978
0.463893
0.437206
0.421507
0.369702
0.299058
0
0.068716
0.196221
2,064
58
108
35.586207
0.699216
0.00969
0
0
0
0
0.023005
0
0
0
0
0
0.022222
1
0.022222
false
0
0.111111
0
0.133333
0.111111
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
50d69e6d5337a6ddb67cb53ef2315bc66d6abf5c
605
py
Python
ShivaGyro.py
Atomatrons/CityShaper
b1e6ae01e53becb41a21eb99c1e767e948544085
[ "MIT" ]
null
null
null
ShivaGyro.py
Atomatrons/CityShaper
b1e6ae01e53becb41a21eb99c1e767e948544085
[ "MIT" ]
null
null
null
ShivaGyro.py
Atomatrons/CityShaper
b1e6ae01e53becb41a21eb99c1e767e948544085
[ "MIT" ]
null
null
null
from ev3dev2.sensor.lego import GyroSensor # Defines a property that sets the compass points for the robot class ShivaGyro(GyroSensor): """ Defines a property that sets the compass points for the robot """ def __init__(self, port): super().__init__(port) self.zero_point = self.angle ...
26.304348
68
0.699174
81
605
5.024691
0.444444
0.088452
0.095823
0.127764
0.407862
0.299754
0.299754
0.299754
0.299754
0.299754
0
0.004301
0.231405
605
22
69
27.5
0.870968
0.309091
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0.272727
0.090909
0.090909
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
0f985b95502747576c890c5756d68345c964dbff
139
py
Python
test2.py
Arve-HF/test
aeef22fb20f4bb47947314d95315457661fe1b7f
[ "Apache-2.0" ]
null
null
null
test2.py
Arve-HF/test
aeef22fb20f4bb47947314d95315457661fe1b7f
[ "Apache-2.0" ]
null
null
null
test2.py
Arve-HF/test
aeef22fb20f4bb47947314d95315457661fe1b7f
[ "Apache-2.0" ]
null
null
null
import numpy as np import pandas as pd df = pd.DataFrame([[1,2, 3], [4, 5, 6], [7, 8, 9]]) arr = np.array([10, 11, 12]) print df print arr
19.857143
51
0.604317
30
139
2.8
0.766667
0
0
0
0
0
0
0
0
0
0
0.133929
0.194245
139
6
52
23.166667
0.616071
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
0f98e56ce6e60976d3efde6e3d68544106bffce1
501
py
Python
src/aoc/day_04.py
eduellery/aoc-2015
378a213e21c5b52658c1cec961f7bd80a86ef090
[ "MIT" ]
1
2022-02-15T08:54:51.000Z
2022-02-15T08:54:51.000Z
src/aoc/day_04.py
eduellery/aoc-2015
378a213e21c5b52658c1cec961f7bd80a86ef090
[ "MIT" ]
null
null
null
src/aoc/day_04.py
eduellery/aoc-2015
378a213e21c5b52658c1cec961f7bd80a86ef090
[ "MIT" ]
null
null
null
from hashlib import md5 class Day04: def __init__(self, secret: str): self.secret = secret def calculate_hash(self, zeros: int, limit: int = 10 ** 7) -> int: for i in range(limit): m = md5((self.secret + str(i)).encode('utf-8')) if m.hexdigest().startswith('0' * zeros)...
25.05
70
0.560878
67
501
4.089552
0.537313
0.109489
0.094891
0.124088
0.218978
0.218978
0
0
0
0
0
0.040462
0.309381
501
19
71
26.368421
0.751445
0
0
0
0
0
0.011976
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0f9ecc024671403714916276bd32204c5762d9bd
104
py
Python
AtCoder/ABC/000-159/ABC147_B.py
sireline/PyCode
8578467710c3c1faa89499f5d732507f5d9a584c
[ "MIT" ]
null
null
null
AtCoder/ABC/000-159/ABC147_B.py
sireline/PyCode
8578467710c3c1faa89499f5d732507f5d9a584c
[ "MIT" ]
null
null
null
AtCoder/ABC/000-159/ABC147_B.py
sireline/PyCode
8578467710c3c1faa89499f5d732507f5d9a584c
[ "MIT" ]
null
null
null
S = input() RS = S[::-1] c = 0 for i in range(len(S)//2): if S[i] != RS[i]: c += 1 print(c)
13
26
0.413462
23
104
1.869565
0.608696
0
0
0
0
0
0
0
0
0
0
0.056338
0.317308
104
7
27
14.857143
0.549296
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0fa3e031ba16aae2446d614205f783774c7ec645
6,239
py
Python
src/fleets/electric_vehicles_fleet/load_config.py
GMLC-1-4-2/battery_interface
07ff5c6505aa6ab0a7c0ee144da20303c60baad4
[ "MIT" ]
1
2020-01-17T15:28:45.000Z
2020-01-17T15:28:45.000Z
src/fleets/electric_vehicles_fleet/load_config.py
GMLC-1-4-2/battery_interface
07ff5c6505aa6ab0a7c0ee144da20303c60baad4
[ "MIT" ]
1
2019-08-19T16:54:42.000Z
2019-08-20T15:45:17.000Z
src/fleets/electric_vehicles_fleet/load_config.py
GMLC-1-4-2/battery_interface
07ff5c6505aa6ab0a7c0ee144da20303c60baad4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Description: Class to load a config file and process it Last update: 05/01/2019 Version: 1.0 Author: afernandezcanosa@anl.gov """ import pandas as pd class LoadConfig(object): def __init__(self, config_file): self.config_file = config_file def str_to_bool(sel...
55.212389
145
0.651867
839
6,239
4.630513
0.206198
0.120978
0.158559
0.183784
0.569369
0.563192
0.506564
0.438095
0.430373
0.318147
0
0.015248
0.190575
6,239
112
146
55.705357
0.754059
0.048886
0
0.026667
0
0
0.213707
0.007427
0
0
0
0.008929
0
1
0.213333
false
0
0.013333
0.12
0.453333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
0fb6c0fc45ec0197af71c334c53605aa5cdb8793
191
py
Python
src/config/__init__.py
crucialwebstudio/unemployment-reminders
3472949bb562fc92e04c8108b2b55e2e73e6cf85
[ "Apache-2.0" ]
null
null
null
src/config/__init__.py
crucialwebstudio/unemployment-reminders
3472949bb562fc92e04c8108b2b55e2e73e6cf85
[ "Apache-2.0" ]
null
null
null
src/config/__init__.py
crucialwebstudio/unemployment-reminders
3472949bb562fc92e04c8108b2b55e2e73e6cf85
[ "Apache-2.0" ]
null
null
null
from .config import get_config """ export config singleton for now, this offers defense against calling the Secrets Manager API every time we need a config object """ config = get_config()
21.222222
103
0.774869
29
191
5.034483
0.793103
0.123288
0
0
0
0
0
0
0
0
0
0
0.167539
191
8
104
23.875
0.918239
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
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
0
0
1
0
0
0
0
3
0fcfc29d9db3c810c490dcfd964acded55d8f597
292
py
Python
web/__init__.py
TheImaginaryOne/movies-py
a3b601228cde6850919eaf84c0175f5ce3822e2b
[ "MIT" ]
null
null
null
web/__init__.py
TheImaginaryOne/movies-py
a3b601228cde6850919eaf84c0175f5ce3822e2b
[ "MIT" ]
null
null
null
web/__init__.py
TheImaginaryOne/movies-py
a3b601228cde6850919eaf84c0175f5ce3822e2b
[ "MIT" ]
null
null
null
from flask import Flask, render_template, url_for from werkzeug.utils import redirect def setup_app(app: Flask): @app.errorhandler(404) def error_404(_): return render_template('404.html') @app.route('/') def index(): return redirect(url_for('movies.show'))
24.333333
49
0.681507
39
292
4.923077
0.564103
0.145833
0
0
0
0
0
0
0
0
0
0.038298
0.195205
292
12
50
24.333333
0.778723
0
0
0
0
0
0.068259
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0.222222
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0fda751f865bc3b190c27f75bcd024c0e9df3342
905
py
Python
shapes/rectangle.py
katyanemzer/programming-2021-19fpl
000381bad80089144c687a5add331cf4e286fc74
[ "MIT" ]
null
null
null
shapes/rectangle.py
katyanemzer/programming-2021-19fpl
000381bad80089144c687a5add331cf4e286fc74
[ "MIT" ]
null
null
null
shapes/rectangle.py
katyanemzer/programming-2021-19fpl
000381bad80089144c687a5add331cf4e286fc74
[ "MIT" ]
null
null
null
""" Programming for linguists Implementation of the class Rectangle """ import math from shapes.shape import Shape class Rectangle (Shape): """ A class for rectangles """ def __init__(self, uid: int, width: int, length: int): self.width=width self.length=length super().__init__...
23.815789
58
0.603315
113
905
4.734513
0.274336
0.033645
0.134579
0.201869
0.353271
0.353271
0.130841
0
0
0
0
0.004747
0.301657
905
37
59
24.459459
0.841772
0.361326
0
0
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0.153846
0
0.769231
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
0ff18641f40c04d126929df436ec182d8f5102fa
102
py
Python
setup.py
jclementg80/ide_plus_notebook
44159aab9ac61d884a961f94651d9c5048243761
[ "MIT" ]
1
2021-04-04T07:00:17.000Z
2021-04-04T07:00:17.000Z
setup.py
jclementg80/ide_plus_notebook
44159aab9ac61d884a961f94651d9c5048243761
[ "MIT" ]
null
null
null
setup.py
jclementg80/ide_plus_notebook
44159aab9ac61d884a961f94651d9c5048243761
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='my_lib', version='0.1.0', packages=['my_lib'], )
17
28
0.627451
15
102
4.133333
0.733333
0.16129
0
0
0
0
0
0
0
0
0
0.036585
0.196078
102
6
29
17
0.719512
0
0
0
0
0
0.165049
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
0ffbfdb0973e2ed624960b948238f1a877cd9687
852
py
Python
tovp/promotions/migrations/0010_auto_20161010_1336.py
nrsimha/tovp
311bc957c95c294811d737f5df30b0a218d35610
[ "MIT" ]
null
null
null
tovp/promotions/migrations/0010_auto_20161010_1336.py
nrsimha/tovp
311bc957c95c294811d737f5df30b0a218d35610
[ "MIT" ]
null
null
null
tovp/promotions/migrations/0010_auto_20161010_1336.py
nrsimha/tovp
311bc957c95c294811d737f5df30b0a218d35610
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-10-10 13:36 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('promotions', '0009_auto_20150615_1238'), ] operations = [ migrations.AlterModelOption...
26.625
60
0.591549
72
852
6.833333
0.611111
0.219512
0.252033
0
0
0
0
0
0
0
0
0.052893
0.289906
852
31
61
27.483871
0.760331
0.077465
0
0.333333
1
0
0.247765
0.029374
0
0
0
0
0
1
0
false
0
0.083333
0
0.208333
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ba02aa3950d70fd51bb5a3994494c16b26334d6c
5,823
py
Python
lego/apps/events/migrations/0002_auto_20170828_1020.py
andrinelo/lego
9b53c8fe538d9107b980a70e2a21fb487cc3b290
[ "MIT" ]
null
null
null
lego/apps/events/migrations/0002_auto_20170828_1020.py
andrinelo/lego
9b53c8fe538d9107b980a70e2a21fb487cc3b290
[ "MIT" ]
null
null
null
lego/apps/events/migrations/0002_auto_20170828_1020.py
andrinelo/lego
9b53c8fe538d9107b980a70e2a21fb487cc3b290
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-28 10:20 from __future__ import unicode_literals import django.db.models.deletion from django.conf import settings from django.db import migrations, models import lego.apps.files.models class Migration(migrations.Migration): initial = True de...
34.660714
100
0.549201
543
5,823
5.697974
0.162063
0.104719
0.133807
0.157078
0.790562
0.790562
0.711054
0.66031
0.644473
0.595669
0
0.012734
0.339172
5,823
167
101
34.868263
0.79132
0.011678
0
0.677215
1
0
0.126565
0.003999
0
0
0
0
0
1
0
false
0
0.031646
0
0.056962
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ba094e05676e4bbc0836fe83e0f39b3facc9c53f
176
py
Python
requests_tracker/utils/unique.py
ZhuoZhuoCrayon/bk-nodeman
76cb71fcc971c2a0c2be161fcbd6b019d4a7a8ab
[ "MIT" ]
31
2021-07-28T13:06:11.000Z
2022-03-10T12:16:44.000Z
requests_tracker/utils/unique.py
ZhuoZhuoCrayon/bk-nodeman
76cb71fcc971c2a0c2be161fcbd6b019d4a7a8ab
[ "MIT" ]
483
2021-07-29T03:17:44.000Z
2022-03-31T13:03:04.000Z
requests_tracker/utils/unique.py
ZhuoZhuoCrayon/bk-nodeman
76cb71fcc971c2a0c2be161fcbd6b019d4a7a8ab
[ "MIT" ]
29
2021-07-28T13:06:21.000Z
2022-03-25T06:18:18.000Z
""" requests_tracker.utils.unique ============================= """ import uuid def uniqid(): return uuid.uuid3( uuid.uuid1(), uuid.uuid4().hex ).hex
13.538462
29
0.482955
17
176
4.941176
0.764706
0
0
0
0
0
0
0
0
0
0
0.021898
0.221591
176
12
30
14.666667
0.591241
0.335227
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
true
0
0.166667
0.166667
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
1
0
0
0
3
ba0eaab3203233a40632014f8c3f66339ddcf694
1,790
py
Python
random_agent/player.py
LifeBringer/DeepLearning-GameBot
49e2ddb3f699c99ee4e803c33bb3d7af376fc229
[ "Apache-2.0" ]
null
null
null
random_agent/player.py
LifeBringer/DeepLearning-GameBot
49e2ddb3f699c99ee4e803c33bb3d7af376fc229
[ "Apache-2.0" ]
null
null
null
random_agent/player.py
LifeBringer/DeepLearning-GameBot
49e2ddb3f699c99ee4e803c33bb3d7af376fc229
[ "Apache-2.0" ]
null
null
null
import numpy as np class HockeyPlayer: """ Your ice hockey player. You may do whatever you want here. There are three rules: 1. no calls to the pystk library (your code will not run on the tournament system if you do) 2. There needs to be a deep network somewhere in the loop 3. You ...
42.619048
208
0.621788
251
1,790
4.366534
0.609562
0.029197
0.020073
0
0
0
0
0
0
0
0
0.015291
0.269274
1,790
41
209
43.658537
0.82263
0.450838
0
0
0
0
0.244767
0
0
0
0
0.02439
0
1
0.222222
false
0
0.111111
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
ba18a826fee6a492889def8419767194f09ddb8a
409
py
Python
zero/core/controllers/__init__.py
jsa4000/OpenGL-Python
62055ba0c16f54507b7ba709d6691b2e9c7bc152
[ "Apache-2.0" ]
null
null
null
zero/core/controllers/__init__.py
jsa4000/OpenGL-Python
62055ba0c16f54507b7ba709d6691b2e9c7bc152
[ "Apache-2.0" ]
null
null
null
zero/core/controllers/__init__.py
jsa4000/OpenGL-Python
62055ba0c16f54507b7ba709d6691b2e9c7bc152
[ "Apache-2.0" ]
1
2021-10-08T06:12:11.000Z
2021-10-08T06:12:11.000Z
from __future__ import absolute_import, division, print_function from .devices import (Device, DeviceController, KeyboardDevice, MouseDevice, SystemDevice, JoyDevice) from .display import DisplayController, Display from .render import RenderController from .constants import (DisplayMode, Draw...
25.5625
75
0.728606
36
409
8.111111
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.217604
409
15
76
27.266667
0.9125
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.714286
0
0.714286
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
ba20872afcf69f1bd2ec1289f93ba7d708befb0e
1,379
py
Python
tests/test_generate_table.py
physbean/education_math_homework_generator
c17ffe879593452a2304c5cd80669975ca7a29a0
[ "MIT" ]
7
2020-03-23T15:54:37.000Z
2020-12-27T00:28:37.000Z
tests/test_generate_table.py
physbean/education_math_homework_generator
c17ffe879593452a2304c5cd80669975ca7a29a0
[ "MIT" ]
56
2020-03-26T03:50:36.000Z
2022-03-18T20:22:16.000Z
tests/test_generate_table.py
physbean/education_math_homework_generator
c17ffe879593452a2304c5cd80669975ca7a29a0
[ "MIT" ]
1
2020-04-16T18:37:27.000Z
2020-04-16T18:37:27.000Z
#!/usr/bin/env python """Tests for 'education_math_homework_generator.gen_table' package.""" from education_math_homework_generator.gen_table import generate_table from education_math_homework_generator.pdflatex_functions import convert_latex_to_pdf from education_math_homework_generator.pdflatex_functions import rem...
40.558824
87
0.820885
190
1,379
5.510526
0.236842
0.047755
0.057307
0.114613
0.850048
0.846227
0.613181
0.613181
0.504298
0.504298
0
0.00967
0.100073
1,379
33
88
41.787879
0.834005
0.061639
0
0.380952
1
0
0.129658
0.097826
0
0
0
0
0.047619
1
0.190476
false
0
0.142857
0
0.333333
0
0
0
0
null
0
0
0
1
1
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
0
0
0
0
3
ba2c5b212763d67715dc6a7ddd2a19f67413f33d
242
py
Python
logic/seo_global.py
teddy4445/lecture_website_app_generator
cd5d3b290ad1bbb7e1b1791de84163a85a237969
[ "MIT" ]
4
2020-08-26T08:30:14.000Z
2020-11-11T14:47:04.000Z
logic/seo_global.py
teddy4445/lecture_website_app_generator
cd5d3b290ad1bbb7e1b1791de84163a85a237969
[ "MIT" ]
34
2020-08-26T14:39:40.000Z
2020-12-16T15:24:03.000Z
logic/seo_global.py
lecture-developer/lecture_website_app_generator
cd5d3b290ad1bbb7e1b1791de84163a85a237969
[ "MIT" ]
2
2020-08-17T08:31:27.000Z
2020-08-29T20:06:51.000Z
class SEOGlobal: def __init__(self, faviconLink, websiteLang): self.faviconLink = faviconLink self.websiteLang = websiteLang def analyze_seo(self): print("Analyzing SEO...")
22
38
0.570248
20
242
6.65
0.55
0.225564
0
0
0
0
0
0
0
0
0
0
0.347107
242
10
39
24.2
0.841772
0
0
0
0
0
0.066116
0
0
0
0
0
0
1
0.25
false
0
0
0
0.375
0.125
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
e83b58a04caad243b457c75b9fb3c217a4d22c99
54
py
Python
b01lers-ctf-2020/300_railed/bin_helper.py
novafacing/challenges
cfdfb34973880cfda03b4797d3b369344cfa4b9a
[ "MIT" ]
null
null
null
b01lers-ctf-2020/300_railed/bin_helper.py
novafacing/challenges
cfdfb34973880cfda03b4797d3b369344cfa4b9a
[ "MIT" ]
null
null
null
b01lers-ctf-2020/300_railed/bin_helper.py
novafacing/challenges
cfdfb34973880cfda03b4797d3b369344cfa4b9a
[ "MIT" ]
null
null
null
import sys val = int(sys.argv[1], 2) print(hex(val))
10.8
25
0.648148
11
54
3.181818
0.818182
0
0
0
0
0
0
0
0
0
0
0.043478
0.148148
54
5
26
10.8
0.717391
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
0
0
1
0
0
0
0
3
e85cb7b031cda1fef4bd763440cc3b59e5291d3a
66
py
Python
rot13_encoding.py
bmintz/python-snippets
982861c173bf4bcd5d908514a9e8b1914a580a5d
[ "CC0-1.0" ]
2
2018-11-12T10:33:13.000Z
2019-02-24T05:01:40.000Z
rot13_encoding.py
LyricLy/python-snippets
9d868b7bbccd793ea1dc513f51290963584a1dee
[ "CC0-1.0" ]
null
null
null
rot13_encoding.py
LyricLy/python-snippets
9d868b7bbccd793ea1dc513f51290963584a1dee
[ "CC0-1.0" ]
2
2018-11-24T08:16:59.000Z
2019-02-24T04:41:30.000Z
#!/usr/bin/env python3 # encoding: rot-13 cevag('Uryyb, jbeyq!')
13.2
22
0.666667
10
66
4.4
1
0
0
0
0
0
0
0
0
0
0
0.051724
0.121212
66
4
23
16.5
0.706897
0.575758
0
0
0
0
0.5
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e85ec4a6864e4320777b3b7fc82bb657b0f0be43
471
py
Python
pytracer/volume/__init__.py
zjiayao/pyTracer
c2b4ef299ecbdca1c519059488f7cd2438943ee4
[ "MIT" ]
9
2017-11-20T18:17:27.000Z
2022-01-27T23:00:31.000Z
pytracer/volume/__init__.py
zjiayao/pyTracer
c2b4ef299ecbdca1c519059488f7cd2438943ee4
[ "MIT" ]
4
2021-06-08T19:03:51.000Z
2022-03-11T23:18:44.000Z
pytracer/volume/__init__.py
zjiayao/pyTracer
c2b4ef299ecbdca1c519059488f7cd2438943ee4
[ "MIT" ]
1
2017-11-20T22:48:01.000Z
2017-11-20T22:48:01.000Z
""" __init__.py pytracer.texture.texture package Texture interface and basic textures. Generic interface. NB: Instanciating types need supporting copy() method. Created by Jiayao on Aug 5, 2017 Modified on Aug 14, 2017 """ from __future__ import absolute_import from pytracer.volume.utility import * from pytracer.v...
21.409091
47
0.768577
59
471
5.881356
0.644068
0.086455
0.15562
0.207493
0
0
0
0
0
0
0
0.027363
0.146497
471
22
48
21.409091
0.835821
0.464968
0
0
0
0
0.220408
0.093878
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e8854801aa17a007cf4b741c996277dcef4a5676
775
py
Python
abacusai/dataset_column.py
Ankit-RealityEngines/api-python
3627048d31df5972c5777de2a1c1211ea06a8804
[ "MIT" ]
null
null
null
abacusai/dataset_column.py
Ankit-RealityEngines/api-python
3627048d31df5972c5777de2a1c1211ea06a8804
[ "MIT" ]
null
null
null
abacusai/dataset_column.py
Ankit-RealityEngines/api-python
3627048d31df5972c5777de2a1c1211ea06a8804
[ "MIT" ]
null
null
null
from .return_class import AbstractApiClass class DatasetColumn(AbstractApiClass): """ A schema description for a column """ def __init__(self, client, name=None, dataType=None, featureType=None, originalName=None): super().__init__(client, None) self.name = name self.data_...
36.904762
171
0.695484
96
775
5.3125
0.302083
0.078431
0.070588
0.062745
0.196078
0
0
0
0
0
0
0
0.183226
775
20
172
38.75
0.805687
0.042581
0
0
0
0.083333
0.264543
0.207756
0
0
0
0
0
1
0.25
false
0
0.083333
0.166667
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e895fc094a9757987a6a84eca14f0ef2841a1e98
62
py
Python
Afinkopdracht 2.2.py
jacygroeneveld/Afinkopdracht-2
fd9710d551ab3ecc9dbedb0837e32a1c84bbeac1
[ "MIT" ]
null
null
null
Afinkopdracht 2.2.py
jacygroeneveld/Afinkopdracht-2
fd9710d551ab3ecc9dbedb0837e32a1c84bbeac1
[ "MIT" ]
null
null
null
Afinkopdracht 2.2.py
jacygroeneveld/Afinkopdracht-2
fd9710d551ab3ecc9dbedb0837e32a1c84bbeac1
[ "MIT" ]
null
null
null
x = input("wat is de totale verkoop") print(float(x) * 0.23)
15.5
37
0.645161
12
62
3.333333
0.916667
0
0
0
0
0
0
0
0
0
0
0.058824
0.177419
62
3
38
20.666667
0.72549
0
0
0
0
0
0.387097
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
e89c3e4d73c99b56e8a2533f416db72f23cfd600
161
py
Python
django_rt_cdn/urls.py
reef-technologies/django-rt-cdn
753025c93edcc1cfe985722d51308640e0ab0169
[ "BSD-3-Clause" ]
null
null
null
django_rt_cdn/urls.py
reef-technologies/django-rt-cdn
753025c93edcc1cfe985722d51308640e0ab0169
[ "BSD-3-Clause" ]
null
null
null
django_rt_cdn/urls.py
reef-technologies/django-rt-cdn
753025c93edcc1cfe985722d51308640e0ab0169
[ "BSD-3-Clause" ]
null
null
null
from django.urls import path try: from .contrib.ninja.api import api except ImportError: urlpatterns = [] else: urlpatterns = [path('', api.urls)]
16.1
38
0.677019
20
161
5.45
0.65
0
0
0
0
0
0
0
0
0
0
0
0.204969
161
9
39
17.888889
0.851563
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
0
0
1
0
0
0
0
3
2ce15a582e0a52a165a3f73c751a6d521412d4bd
305
py
Python
simple_proto_db/proto_item.py
calmquant/simple-proto-db
95d36f76165f4217602407b3447879a7a84fc478
[ "MIT" ]
null
null
null
simple_proto_db/proto_item.py
calmquant/simple-proto-db
95d36f76165f4217602407b3447879a7a84fc478
[ "MIT" ]
null
null
null
simple_proto_db/proto_item.py
calmquant/simple-proto-db
95d36f76165f4217602407b3447879a7a84fc478
[ "MIT" ]
null
null
null
from google.protobuf.message import Message as ProtobufMessage class ProtoItemMeta: pass class ProtoItem(metaclass=ProtoItemMeta): proto_type: ProtobufMessage = None # init - accept proto record attributes. Proper docstring? # patch in meta. # dir - do i need to patch it #
17.941176
62
0.714754
36
305
6.027778
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.22623
305
16
63
19.0625
0.919492
0.32459
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
2ce3f2c41576a6d63b7bd9ec3bd923e4623db830
62,492
py
Python
mysite/posts/views.py
2021fallCMPUT404/group-cmput404-project
985b76dc6c554caf77e7cf5788355cca22a26e74
[ "Apache-2.0" ]
2
2021-12-06T06:42:41.000Z
2022-03-29T21:40:14.000Z
mysite/posts/views.py
2021fallCMPUT404/group-cmput404-project
985b76dc6c554caf77e7cf5788355cca22a26e74
[ "Apache-2.0" ]
7
2021-10-29T20:31:44.000Z
2021-12-05T06:55:58.000Z
mysite/posts/views.py
2021fallCMPUT404/group-cmput404-project
985b76dc6c554caf77e7cf5788355cca22a26e74
[ "Apache-2.0" ]
null
null
null
from django.http.response import HttpResponseRedirect, HttpResponseForbidden from django import template from posts.connection import * import traceback from django.shortcuts import get_object_or_404, render, redirect from django.contrib.auth.models import User, AnonymousUser from . import views from django.urls...
44.509972
331
0.57433
6,321
62,492
5.506565
0.063756
0.052748
0.036774
0.048266
0.770966
0.747752
0.707272
0.666331
0.645991
0.62723
0
0.016608
0.329402
62,492
1,403
332
44.541696
0.813969
0.051287
0
0.677533
0
0
0.117459
0.004733
0
0
0
0
0
1
0.046696
false
0.004405
0.038767
0.002643
0.253744
0.020264
0
0
0
null
0
0
0
0
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
3
2ceb12e194a0d37c6806d53e24f12cd93d57b26e
167
py
Python
jenni/tests/simple/jobs/groovy_job.py
synamedia-jenni/Jenni
44a25453d3f7dc08ca22f75b4d817dfa5c141904
[ "Apache-2.0" ]
2
2021-05-11T15:47:52.000Z
2021-06-24T21:55:04.000Z
jenni/tests/simple/jobs/groovy_job.py
synamedia-jenni/Jenni
44a25453d3f7dc08ca22f75b4d817dfa5c141904
[ "Apache-2.0" ]
2
2021-05-19T07:24:41.000Z
2021-06-24T21:54:19.000Z
jenni/tests/simple/jobs/groovy_job.py
synamedia-jenni/Jenni
44a25453d3f7dc08ca22f75b4d817dfa5c141904
[ "Apache-2.0" ]
1
2021-05-14T10:37:53.000Z
2021-05-14T10:37:53.000Z
import jenni class Job(jenni.models.GroovyJobBase): def __init__(self): super(Job, self).__init__() self.code(""" {python("'echo 123'")} """)
20.875
52
0.592814
19
167
4.789474
0.736842
0.175824
0
0
0
0
0
0
0
0
0
0.023077
0.221557
167
7
53
23.857143
0.676923
0
0
0
0
0
0.161677
0
0
0
0
0
0
1
0.2
false
0
0.2
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
0
0
0
0
1
0
0
3
2cf29672db6b3f8db91dfb90e334ac300e4f7625
28
py
Python
teamtemp/tests/views/__init__.py
travisjwarren/teamtemp
21c613b53936b091ef749cfbc0f00de4223e0428
[ "MIT" ]
null
null
null
teamtemp/tests/views/__init__.py
travisjwarren/teamtemp
21c613b53936b091ef749cfbc0f00de4223e0428
[ "MIT" ]
null
null
null
teamtemp/tests/views/__init__.py
travisjwarren/teamtemp
21c613b53936b091ef749cfbc0f00de4223e0428
[ "MIT" ]
null
null
null
__author__ = 'traviswarren'
14
27
0.785714
2
28
9
1
0
0
0
0
0
0
0
0
0
0
0
0.107143
28
1
28
28
0.72
0
0
0
0
0
0.428571
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
3
2cfb56171a80d1c91c1a5561a588c4aec07a71b5
139
py
Python
Web/user/urls.py
Pancras-Zheng/Graduation-Project
5d1ae78d5e890fa7ecc2456d0d3d22bdea7c29f0
[ "MIT" ]
37
2018-01-25T03:14:24.000Z
2021-12-15T10:02:37.000Z
Web/user/urls.py
Pancras-Zheng/Graduation-Project
5d1ae78d5e890fa7ecc2456d0d3d22bdea7c29f0
[ "MIT" ]
null
null
null
Web/user/urls.py
Pancras-Zheng/Graduation-Project
5d1ae78d5e890fa7ecc2456d0d3d22bdea7c29f0
[ "MIT" ]
10
2019-04-11T07:27:10.000Z
2021-11-24T11:16:14.000Z
from django.conf.urls import url from . import views app_name = 'user' urlpatterns = [ url(r'^$', views.index, name='user_index'), ]
15.444444
47
0.669065
20
139
4.55
0.65
0.175824
0
0
0
0
0
0
0
0
0
0
0.172662
139
9
48
15.444444
0.791304
0
0
0
0
0
0.114286
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
0
1
0
0
0
0
3
2cfdbf75f9a05184835220dfb24ae8d1a0d48625
1,944
py
Python
library/pyjamas/Timer.py
certik/pyjamas
5bb72e63e50f09743ac986f4c9690ba50c499ba9
[ "ECL-2.0", "Apache-2.0" ]
1
2018-09-19T09:14:16.000Z
2018-09-19T09:14:16.000Z
library/pyjamas/Timer.py
emk/pyjamas
d7633919d1ec9cd4a36675e356c7e5de71ac2a67
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
library/pyjamas/Timer.py
emk/pyjamas
d7633919d1ec9cd4a36675e356c7e5de71ac2a67
[ "ECL-2.0", "Apache-2.0" ]
1
2019-08-13T20:32:25.000Z
2019-08-13T20:32:25.000Z
# This is the gtk-dependent Timer module. # For the pyjamas/javascript version, see platform/TimerPyJS.py import sys from __pyjamas__ import JS global timeout_add global timeout_end timeout_add = None timeout_end = None # the following is needed because we are currently not able to override things # except functions...
20.041237
78
0.627572
239
1,944
4.966527
0.376569
0.083404
0.083404
0.030329
0.030329
0
0
0
0
0
0
0.000724
0.289609
1,944
96
79
20.25
0.858798
0.157922
0
0.258065
0
0
0.031921
0
0
0
0
0.010417
0
0
null
null
0.193548
0.048387
null
null
0.016129
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
1
0
0
0
0
0
3
fa2347318201c06683ae0350e7257ba31b7a1f4d
3,527
py
Python
tests/util/test_nsi.py
workfloworchestrator/SuPA
75c34a446e7133ac3f9378810db749a7df2c21a3
[ "Apache-2.0" ]
null
null
null
tests/util/test_nsi.py
workfloworchestrator/SuPA
75c34a446e7133ac3f9378810db749a7df2c21a3
[ "Apache-2.0" ]
6
2021-12-01T13:05:28.000Z
2022-03-07T12:40:10.000Z
tests/util/test_nsi.py
workfloworchestrator/SuPA
75c34a446e7133ac3f9378810db749a7df2c21a3
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 SURF. # 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, ...
40.54023
111
0.723278
517
3,527
4.810445
0.201161
0.064335
0.084439
0.106152
0.74226
0.713711
0.672296
0.668275
0.668275
0.660635
0
0.087608
0.148852
3,527
86
112
41.011628
0.740839
0.201871
0
0.48
0
0.16
0.409254
0.33429
0
0
0
0
0.42
1
0.18
false
0
0.06
0
0.24
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
3afe8c23b5c3a3589353479368615f7bcd31f462
458
py
Python
tests/unit/models/configvars/test_to_dict.py
AkBotZ/heroku3.py
584bf1ceebc5ca337873fdebcc4fdf02a51cbca4
[ "MIT" ]
109
2015-03-12T21:34:35.000Z
2022-03-22T05:36:09.000Z
tests/unit/models/configvars/test_to_dict.py
MUTLCC/herokum
6a25e6e56a1bf46ea370c22daa44383ce5a10ca2
[ "MIT" ]
102
2015-03-12T21:34:13.000Z
2022-01-18T12:17:23.000Z
tests/unit/models/configvars/test_to_dict.py
MUTLCC/herokum
6a25e6e56a1bf46ea370c22daa44383ce5a10ca2
[ "MIT" ]
88
2015-03-01T20:46:59.000Z
2022-03-22T03:59:15.000Z
# -*- coding: utf-8; -*- # General libraries from __future__ import division, print_function, absolute_import def test_to_dict(config_vars, config_dict): assert config_vars._ConfigVars__data == config_dict assert config_vars._ConfigVars__data is not config_dict new_dict = config_vars.to_dict() asser...
26.941176
64
0.770742
67
458
4.776119
0.462687
0.1875
0.2
0.25
0.49375
0.49375
0.3875
0.24375
0
0
0
0.007673
0.146288
458
16
65
28.625
0.810742
0.159389
0
0
0
0
0
0
0
0
0
0
0.571429
1
0.142857
false
0
0.142857
0
0.285714
0.142857
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
d701c9d885ac688f56c793e9647048dacf5e3ccb
185
py
Python
usr/examples/write_ppm.py
wangxhere/openmv
9d2de2433d019e36129d068d624aec625a62213d
[ "MIT" ]
null
null
null
usr/examples/write_ppm.py
wangxhere/openmv
9d2de2433d019e36129d068d624aec625a62213d
[ "MIT" ]
null
null
null
usr/examples/write_ppm.py
wangxhere/openmv
9d2de2433d019e36129d068d624aec625a62213d
[ "MIT" ]
null
null
null
import sensor sensor.set_contrast(1) sensor.set_gainceiling(8) sensor.set_framesize(sensor.QQVGA) sensor.set_pixformat(sensor.RGB565) image = sensor.snapshot() image.save("/test.ppm")
20.555556
35
0.805405
27
185
5.37037
0.592593
0.248276
0
0
0
0
0
0
0
0
0
0.028736
0.059459
185
8
36
23.125
0.804598
0
0
0
0
0
0.048649
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
0
0
0
0
0
0
0
3
d7076d36480814b94814d7c209a3f568992d744c
106
py
Python
examples/led/external_led.py
serenetangerine/pico-projects
30c922cf4252248bc7dbd3605c659a85648e39a6
[ "MIT" ]
null
null
null
examples/led/external_led.py
serenetangerine/pico-projects
30c922cf4252248bc7dbd3605c659a85648e39a6
[ "MIT" ]
null
null
null
examples/led/external_led.py
serenetangerine/pico-projects
30c922cf4252248bc7dbd3605c659a85648e39a6
[ "MIT" ]
null
null
null
from machine import Pin # turn on LED so we know the pico is powered on led = Pin(15, Pin.OUT) led.on()
15.142857
47
0.698113
22
106
3.363636
0.727273
0.135135
0
0
0
0
0
0
0
0
0
0.024096
0.216981
106
6
48
17.666667
0.86747
0.424528
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
0
1
0
0
0
0
3
d70c2e41d3354b4899f2294ab9af1883c9c56ecf
109
py
Python
example_project/example_project.py
ihumphrey/example_project
8d0d765560c8ce0fb65abb61fc8be9d532d7fd79
[ "MIT" ]
null
null
null
example_project/example_project.py
ihumphrey/example_project
8d0d765560c8ce0fb65abb61fc8be9d532d7fd79
[ "MIT" ]
null
null
null
example_project/example_project.py
ihumphrey/example_project
8d0d765560c8ce0fb65abb61fc8be9d532d7fd79
[ "MIT" ]
null
null
null
"""example_project module docstring".""" class ExampleClass: """Docstring for ExampleClass.""" ...
15.571429
40
0.651376
9
109
7.777778
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.174312
109
6
41
18.166667
0.777778
0.568807
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d71f83b6200fcd5ce5e2d474a3e70d649a706700
216
py
Python
tests/conftest.py
lsd-maddrive/adas_system
0352d59a500aebbd68fbf45f416fb98d1b850e13
[ "MIT" ]
null
null
null
tests/conftest.py
lsd-maddrive/adas_system
0352d59a500aebbd68fbf45f416fb98d1b850e13
[ "MIT" ]
14
2021-10-02T10:10:45.000Z
2022-03-26T08:32:48.000Z
tests/conftest.py
lsd-maddrive/adas_system
0352d59a500aebbd68fbf45f416fb98d1b850e13
[ "MIT" ]
null
null
null
import os import pytest @pytest.fixture def test_data_dpath(): current_dpath = os.path.abspath(os.path.join(__file__)) test_data_dpath = os.path.join(current_dpath, "test_data") return test_data_dpath
19.636364
62
0.75463
33
216
4.545455
0.424242
0.213333
0.26
0
0
0
0
0
0
0
0
0
0.143519
216
10
63
21.6
0.810811
0
0
0
0
0
0.041667
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d72ba5da94f8381595992a71089a51f302acedba
161
py
Python
Leetcode/1000-2000/1877. Minimize Maximum Pair Sum in Array/1877.py
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/1000-2000/1877. Minimize Maximum Pair Sum in Array/1877.py
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/1000-2000/1877. Minimize Maximum Pair Sum in Array/1877.py
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class Solution: def minPairSum(self, nums: List[int]) -> int: nums.sort() return max(nums[i] + nums[len(nums) - 1 - i] for i in range(len(nums) // 2))
32.2
80
0.608696
27
161
3.62963
0.666667
0.142857
0
0
0
0
0
0
0
0
0
0.015625
0.204969
161
4
81
40.25
0.75
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
d72f6d421f2ad0435784b976d516fffe318e91e3
636
py
Python
qcloudsdkiothub/RemoveProductAttributeRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkiothub/RemoveProductAttributeRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkiothub/RemoveProductAttributeRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class RemoveProductAttributeRequest(Request): def __init__(self): super(RemoveProductAttributeRequest, self).__init__( 'iothub', 'qcloudcliV1', 'RemoveProductAttribute', 'iothub.api.qcloud.com') def get_attribute(self): ...
28.909091
87
0.694969
65
636
6.553846
0.415385
0.091549
0.065728
0.079812
0.122066
0.122066
0
0
0
0
0
0.003846
0.18239
636
21
88
30.285714
0.815385
0.033019
0
0
0
0
0.163132
0.070147
0
0
0
0
0
1
0.384615
false
0
0.076923
0.153846
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d731c6f837e3808b13f0fa3d23811050db47f0e1
351
py
Python
pxtrade/events_queue.py
simongarisch/pytrade
6245c0a47017a880299fa7704a49580f394fa87b
[ "MIT" ]
2
2020-10-19T02:44:57.000Z
2021-11-08T10:45:25.000Z
pxtrade/events_queue.py
simongarisch/pytrade
6245c0a47017a880299fa7704a49580f394fa87b
[ "MIT" ]
1
2020-12-24T02:59:58.000Z
2020-12-24T02:59:58.000Z
pxtrade/events_queue.py
simongarisch/pytrade
6245c0a47017a880299fa7704a49580f394fa87b
[ "MIT" ]
null
null
null
from queue import PriorityQueue from pxtrade import AbstractEvent class EventsQueue(PriorityQueue): def put(self, event): if not isinstance(event, AbstractEvent): raise TypeError("Only expecting Event objects in the queue.") super().put((event.datetime, event)) def __len__(self): ...
27
73
0.689459
41
351
5.804878
0.634146
0.058824
0
0
0
0
0
0
0
0
0
0
0.222222
351
12
74
29.25
0.871795
0
0
0
0
0
0.119658
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d732ac9104dacc09d562097b6788b897c67bc5e2
509
py
Python
tests/toys/test_ab_check.py
dtjv/py-csc
8cd30100dea797cffa8f944cef42507513e81e3d
[ "MIT" ]
null
null
null
tests/toys/test_ab_check.py
dtjv/py-csc
8cd30100dea797cffa8f944cef42507513e81e3d
[ "MIT" ]
null
null
null
tests/toys/test_ab_check.py
dtjv/py-csc
8cd30100dea797cffa8f944cef42507513e81e3d
[ "MIT" ]
null
null
null
import unittest from src.toys.ab_check import ab_check class TestABCheck(unittest.TestCase): def test_should_not_find_pattern(self): self.assertIs(ab_check(), False) self.assertIs(ab_check('ab'), False) self.assertIs(ab_check('a....b'), False) def test_should_find_pattern(self): ...
31.8125
52
0.679764
69
509
4.782609
0.376812
0.190909
0.29697
0.40303
0.560606
0.206061
0.206061
0
0
0
0
0.007212
0.182711
509
15
53
33.933333
0.786058
0
0
0
0
0
0.066798
0
0
0
0
0
0.583333
1
0.166667
false
0
0.166667
0
0.416667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
d73a9a7299708cdd9a1044e67ca13f15bca53c8b
684
py
Python
piedmont/temperature.py
wesleygrimes/piedmont
16ae24cb2f39245a1fc1019606998a99e0ec7d1e
[ "BSD-3-Clause" ]
null
null
null
piedmont/temperature.py
wesleygrimes/piedmont
16ae24cb2f39245a1fc1019606998a99e0ec7d1e
[ "BSD-3-Clause" ]
null
null
null
piedmont/temperature.py
wesleygrimes/piedmont
16ae24cb2f39245a1fc1019606998a99e0ec7d1e
[ "BSD-3-Clause" ]
null
null
null
from piedmont import services from flask import Blueprint from flask import g from flask import redirect from flask import render_template from flask import request from werkzeug.exceptions import abort bp = Blueprint("temperature", __name__) @bp.route("/") def index(): """Fetch temperature plots""" plots = ...
32.571429
103
0.767544
85
684
5.8
0.376471
0.182556
0.15213
0.176471
0.361055
0.137931
0
0
0
0
0
0.020725
0.153509
684
20
104
34.2
0.830743
0.033626
0
0
0
0
0.198473
0.180153
0
0
0
0
0
1
0.066667
false
0
0.466667
0
0.6
0.133333
0
0
0
null
0
0
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
1
0
0
3
d794b0a75a2b0e16a9121993ada98041b34cb532
2,671
py
Python
appengine/third_party/gae_event_mon/__init__.py
stefb965/luci-py
e0a8a5640c4104e5c90781d833168aa8a8d1f24d
[ "Apache-2.0" ]
null
null
null
appengine/third_party/gae_event_mon/__init__.py
stefb965/luci-py
e0a8a5640c4104e5c90781d833168aa8a8d1f24d
[ "Apache-2.0" ]
null
null
null
appengine/third_party/gae_event_mon/__init__.py
stefb965/luci-py
e0a8a5640c4104e5c90781d833168aa8a8d1f24d
[ "Apache-2.0" ]
1
2020-07-05T19:54:40.000Z
2020-07-05T19:54:40.000Z
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # pylint: disable=line-too-long import logging import os import sys from google.appengine.api import modules from google.appengine.api.app_identity import a...
43.786885
81
0.814676
403
2,671
5.084367
0.307692
0.0898
0.13958
0.193265
0.476818
0.45632
0.438263
0.299658
0.220595
0.220595
0
0.005537
0.120928
2,671
60
82
44.516667
0.867121
0.130663
0
0.044444
0
0
0.072633
0
0
0
0
0
0
1
0.022222
false
0
0.577778
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
d796cefec31d0d362a2cbeb21b903047897995b0
350
py
Python
dummies/protoss/__init__.py
eladyaniv01/sharpy-sc2
91119cc3e3fce683c2dbe9687c616c9cc0461b06
[ "MIT" ]
1
2020-03-05T19:21:56.000Z
2020-03-05T19:21:56.000Z
dummies/protoss/__init__.py
MadManSC2/sharpy-sc2
13950357df2db58033daab24f076e3ae83f0b2a8
[ "MIT" ]
null
null
null
dummies/protoss/__init__.py
MadManSC2/sharpy-sc2
13950357df2db58033daab24f076e3ae83f0b2a8
[ "MIT" ]
null
null
null
from .dark_templar_rush import DarkTemplarRush from .proxy_zealot_rush import ProxyZealotRushBot from .macro_stalkers import MacroStalkers from .gate4 import Stalkers4Gate from .robo import MacroRobo from .voidray import MacroVoidray from .cannon_rush import CannonRush from .adept_allin import AdeptRush from .protoss_r...
35
49
0.871429
44
350
6.75
0.590909
0.10101
0
0
0
0
0
0
0
0
0
0.006369
0.102857
350
9
50
38.888889
0.93949
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
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
0
0
3
ad235d0429e0e3264bda8417a85ddf7d71d0ea7d
1,793
py
Python
pycontour/rela/overlap.py
PingjunChen/pycontour
13f64b685740368605db314b0f547f9f8dd4e737
[ "BSD-3-Clause" ]
8
2018-08-30T13:13:48.000Z
2021-07-24T08:49:35.000Z
pycontour/rela/overlap.py
PingjunChen/pycontour
13f64b685740368605db314b0f547f9f8dd4e737
[ "BSD-3-Clause" ]
1
2021-09-21T04:11:39.000Z
2021-09-21T04:11:39.000Z
pycontour/rela/overlap.py
PingjunChen/pycontour
13f64b685740368605db314b0f547f9f8dd4e737
[ "BSD-3-Clause" ]
4
2018-09-21T20:38:26.000Z
2021-09-17T21:45:37.000Z
# -*- coding: utf-8 -*- from ..poly_transform import np_arr_to_poly from .intersect import construct_intersection_polygon from ..poly import get_poly_area def cnt_dice_ratio(cnt1, cnt2, smooth=0.01): """ Calculate the dice ratio between two contours. Parameters ------- cnt1 : np.array contou...
25.253521
91
0.681539
248
1,793
4.673387
0.209677
0.042278
0.066437
0.077653
0.748921
0.712683
0.712683
0.605695
0.605695
0.605695
0
0.038012
0.237033
1,793
70
92
25.614286
0.809211
0.399331
0
0.571429
0
0
0
0
0
0
0
0
0
1
0.095238
false
0
0.142857
0
0.333333
0
0
0
0
null
0
0
0
0
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
3
ad31921ae6e8b330cd18e6addf012ec72a507eba
279
py
Python
Book_1/Django/Scripts/learning_logs/admin.py
Master-sniffer/Learning
fb192ba3972f9238ebee98a8a539087772ad83b2
[ "MIT" ]
1
2020-07-15T22:44:43.000Z
2020-07-15T22:44:43.000Z
Book_1/Django/Scripts/learning_logs/admin.py
Master-sniffer/Learning
fb192ba3972f9238ebee98a8a539087772ad83b2
[ "MIT" ]
3
2021-06-04T23:51:09.000Z
2021-06-10T20:07:33.000Z
Book_1/Django/Scripts/learning_logs/admin.py
Master-sniffer/Learning-PYTHON-
526f31fb189e6422693c32d38618831b22706f87
[ "MIT" ]
null
null
null
from django.contrib import admin # Эта строка обозначает, что файл models надо искать в том же каталоге, где и админ from .models import Topic, Entry admin.site.register(Topic) # Сообщает, что управление должно идти через административный сайт admin.site.register(Entry)
39.857143
117
0.784946
41
279
5.341463
0.756098
0.082192
0.155251
0
0
0
0
0
0
0
0
0
0.157706
279
6
118
46.5
0.931915
0.523297
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
ad31c6258382aed7021bf3b5d8ec51715fcaa60d
140
py
Python
send_message/constants.py
cattod/fajr-py-backend
a26c6ea96bf3a253d4adaf08a061f4e2892c6e11
[ "BSD-2-Clause" ]
null
null
null
send_message/constants.py
cattod/fajr-py-backend
a26c6ea96bf3a253d4adaf08a061f4e2892c6e11
[ "BSD-2-Clause" ]
5
2020-01-22T20:29:35.000Z
2020-01-27T09:52:28.000Z
send_message/constants.py
cattod/fajr-py-backend
a26c6ea96bf3a253d4adaf08a061f4e2892c6e11
[ "BSD-2-Clause" ]
null
null
null
import os dir_path = os.path.dirname(os.path.abspath(__file__)) MESSAGE_SCHEMA_PATH = '{}/{}'.format(dir_path,'schemas/send_message.json')
28
74
0.757143
21
140
4.619048
0.619048
0.14433
0
0
0
0
0
0
0
0
0
0
0.064286
140
4
75
35
0.740458
0
0
0
0
0
0.214286
0.178571
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
0
1
0
0
0
0
3
ad464be8e4c4815249abb67347a2698eacfcdb06
198
py
Python
sampyl/__init__.py
wilsonify/sampyl
fb05a0d04393e4f1691bcc9bc664dbc1b688fc97
[ "MIT" ]
308
2015-06-30T18:16:04.000Z
2022-03-14T17:21:59.000Z
sampyl/__init__.py
wilsonify/sampyl
fb05a0d04393e4f1691bcc9bc664dbc1b688fc97
[ "MIT" ]
20
2015-07-02T06:12:20.000Z
2020-11-26T16:06:57.000Z
sampyl/__init__.py
wilsonify/sampyl
fb05a0d04393e4f1691bcc9bc664dbc1b688fc97
[ "MIT" ]
66
2015-07-27T11:19:03.000Z
2022-03-24T03:35:53.000Z
name = "sampyl-mcmc" __version__ = "0.3" from .samplers import * from .core import np from .starting import find_MAP from . import exceptions from .distributions import * from .model import Model
18
30
0.757576
28
198
5.178571
0.607143
0.137931
0
0
0
0
0
0
0
0
0
0.012048
0.161616
198
10
31
19.8
0.861446
0
0
0
0
0
0.071066
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ad488336191f848da18846bee65bfee98f298d14
936
py
Python
CursoEmVideo- PythonAulas/aula06b.py
nascimentobrenda24/CursoemVideo-Python3
faf5e2c8f33345cbebe721c197a893328c02213a
[ "MIT" ]
1
2021-11-23T21:41:12.000Z
2021-11-23T21:41:12.000Z
CursoEmVideo- PythonAulas/aula06b.py
nascimentobrenda24/CursoemVideo-Python3
faf5e2c8f33345cbebe721c197a893328c02213a
[ "MIT" ]
null
null
null
CursoEmVideo- PythonAulas/aula06b.py
nascimentobrenda24/CursoemVideo-Python3
faf5e2c8f33345cbebe721c197a893328c02213a
[ "MIT" ]
null
null
null
#TESTES n1 = bool(input('Digite um valor:')) print(n1)#Saber se é verdade a variável n1 print('==========================================================') n2 = input('Digite um valor:') print(n2.isnumeric())#Pra saber se é um valor númerico print('==========================================================') n3 = i...
32.275862
82
0.482906
108
936
4.185185
0.435185
0.108407
0.172566
0.238938
0.411504
0.106195
0
0
0
0
0
0.017857
0.102564
936
29
83
32.275862
0.520238
0.291667
0
0.294118
0
0
0.588415
0.442073
0
0
0
0
0
1
0
false
0
0
0
0
0.647059
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
ad549183ef6755ff15bb5b2af655c73ad302c688
405
py
Python
glimix_core/link/test/test_link.py
Horta/limix-inference
1ba102fc544f8d307412d361b574da9d4c166f8e
[ "MIT" ]
7
2019-06-10T12:27:25.000Z
2021-07-23T16:36:04.000Z
glimix_core/link/test/test_link.py
Horta/limix-inference
1ba102fc544f8d307412d361b574da9d4c166f8e
[ "MIT" ]
12
2017-05-28T10:59:31.000Z
2021-05-17T20:11:00.000Z
glimix_core/link/test/test_link.py
Horta/limix-inference
1ba102fc544f8d307412d361b574da9d4c166f8e
[ "MIT" ]
5
2017-08-27T20:13:45.000Z
2022-02-14T06:33:14.000Z
from numpy.testing import assert_allclose from glimix_core.link import LogitLink, LogLink, ProbitLink def test_probit_link(): link = ProbitLink() assert_allclose(link.value(link.inv(3.2)), 3.2) def test_logit_link(): link = LogitLink() assert_allclose(link.value(link.inv(3.2)), 3.2) def test_logl...
21.315789
59
0.711111
62
405
4.467742
0.322581
0.043321
0.194946
0.249097
0.418773
0.418773
0.418773
0.418773
0.418773
0.418773
0
0.034985
0.153086
405
18
60
22.5
0.772595
0
0
0.272727
0
0
0
0
0
0
0
0
0.363636
1
0.272727
false
0
0.181818
0
0.454545
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3