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
b889e86e0a94bf54d90a0d8e3809a08fa855b2f6
200
py
Python
zvt/recorders/joinquant/finance_qtr/__init__.py
markqiu/zvt
1bcfb71279f2652c3600f0f8e45d941f98ceaa10
[ "MIT" ]
6
2020-09-03T10:02:00.000Z
2021-02-04T02:51:47.000Z
zvt/recorders/joinquant/finance_qtr/__init__.py
wlwd13303/zvt
23105a5bfdc3a5080c6c22d11e9e53d216688dea
[ "MIT" ]
null
null
null
zvt/recorders/joinquant/finance_qtr/__init__.py
wlwd13303/zvt
23105a5bfdc3a5080c6c22d11e9e53d216688dea
[ "MIT" ]
2
2020-07-08T04:15:40.000Z
2021-06-08T08:51:31.000Z
# -*- coding: utf-8 -*- from zvt.recorders.joinquant.finance_qtr.china_stock_income_statement_qtr_recorder import * from zvt.recorders.joinquant.finance_qtr.china_stock_cash_flow_qtr_recorder import *
66.666667
91
0.845
29
200
5.413793
0.586207
0.089172
0.203822
0.318471
0.573248
0.573248
0.573248
0.573248
0
0
0
0.005319
0.06
200
3
92
66.666667
0.829787
0.105
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
b2149e5515a9b2e2fa6b855bf590d85d4ea54f3f
110,591
py
Python
qualys_cs_api/api/registry_api.py
jlk/qualys-cs-python-client
e2e39fd64d41fd6671d45343843ef36fa3ab59a4
[ "Apache-2.0" ]
null
null
null
qualys_cs_api/api/registry_api.py
jlk/qualys-cs-python-client
e2e39fd64d41fd6671d45343843ef36fa3ab59a4
[ "Apache-2.0" ]
null
null
null
qualys_cs_api/api/registry_api.py
jlk/qualys-cs-python-client
e2e39fd64d41fd6671d45343843ef36fa3ab59a4
[ "Apache-2.0" ]
1
2020-05-15T04:20:48.000Z
2020-05-15T04:20:48.000Z
# coding: utf-8 """ Container Security APIs All features of the Container Security are available through REST APIs.<br/>Access support information at www.qualys.com/support/<br/><br/><b>Permissions:</b><br/>User must have the Container module enabled<br/>User must have API ACCESS permission # noqa: E501 ...
53.117675
489
0.62657
13,138
110,591
5.01606
0.024966
0.038725
0.059483
0.024582
0.979894
0.976692
0.974067
0.969758
0.965949
0.957421
0
0.01399
0.300675
110,591
2,081
490
53.1432
0.838115
0.475283
0
0.811518
0
0
0.194906
0.065861
0
0
0
0
0
1
0.038743
false
0
0.005236
0
0.082723
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b29a6f3baaddf80c3b1e86a7874a671920097023
21,543
py
Python
cinder/tests/unit/api/v3/test_group_snapshots.py
2020human/cinder
04528318848620e4ce2639ea2dd5323783dc7a1f
[ "Apache-2.0" ]
null
null
null
cinder/tests/unit/api/v3/test_group_snapshots.py
2020human/cinder
04528318848620e4ce2639ea2dd5323783dc7a1f
[ "Apache-2.0" ]
null
null
null
cinder/tests/unit/api/v3/test_group_snapshots.py
2020human/cinder
04528318848620e4ce2639ea2dd5323783dc7a1f
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2016 EMC Corporation. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
43.697769
78
0.570348
2,249
21,543
5.160071
0.088039
0.105299
0.046876
0.032572
0.821542
0.799052
0.78897
0.766738
0.751314
0.713744
0
0.007981
0.336954
21,543
492
79
43.786585
0.804467
0.032493
0
0.75644
0
0
0.097954
0.033388
0
0
0
0
0.103045
1
0.042155
false
0
0.035129
0
0.079625
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b2ac571a355e52266fbb237ce4228917534e4002
88,425
py
Python
examples/prevention.py
git-afsantos/hpl-rv-gen
3ffb2298bc8706669b00980b01e9e23fffdd839a
[ "MIT" ]
1
2021-07-16T05:19:27.000Z
2021-07-16T05:19:27.000Z
examples/prevention.py
git-afsantos/hpl-rv-gen
3ffb2298bc8706669b00980b01e9e23fffdd839a
[ "MIT" ]
null
null
null
examples/prevention.py
git-afsantos/hpl-rv-gen
3ffb2298bc8706669b00980b01e9e23fffdd839a
[ "MIT" ]
null
null
null
class PropertyMonitor(object): __slots__ = ( '_lock', # concurrency control '_state', # currently active state '_pool', # MsgRecord deque to hold temporary records 'witness', # MsgRecord list of observed events 'on_enter_scope', # callback upo...
35.684019
177
0.496692
9,952
88,425
4.185993
0.015072
0.082191
0.049641
0.060059
0.996783
0.995727
0.995727
0.995727
0.995727
0.995727
0
0.015033
0.407215
88,425
2,477
178
35.698426
0.779728
0.079073
0
0.974268
0
0.006655
0.075354
0
0
0
0
0
0.033718
1
0.075421
false
0.007542
0
0.001775
0.22449
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a27c5c33826f2e8ec0d032de4fd8df3852021af2
142
py
Python
gym-sapyen/gym_sapyen/envs/__init__.py
MRzNone/SAPIEN-Release
ae6662b7fb8f3c65a0eb6bb3bc3d7d53001d846e
[ "MIT" ]
null
null
null
gym-sapyen/gym_sapyen/envs/__init__.py
MRzNone/SAPIEN-Release
ae6662b7fb8f3c65a0eb6bb3bc3d7d53001d846e
[ "MIT" ]
null
null
null
gym-sapyen/gym_sapyen/envs/__init__.py
MRzNone/SAPIEN-Release
ae6662b7fb8f3c65a0eb6bb3bc3d7d53001d846e
[ "MIT" ]
null
null
null
from gym_sapyen.envs.sapyen_env import SapyenEnv from gym_sapyen.envs.ant import AntEnv from gym_sapyen.envs.halfcheetah import HalfCheetahEnv
47.333333
54
0.880282
22
142
5.5
0.5
0.173554
0.322314
0.421488
0
0
0
0
0
0
0
0
0.077465
142
3
54
47.333333
0.923664
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
a2b28096582d4145484b6da7a11a47227a7b2ba0
247
py
Python
ALC/__init__.py
SimiPixel/automatic_label_correction
c3e785cd9e2b185b4306e92677c1838a883eb2b3
[ "MIT" ]
null
null
null
ALC/__init__.py
SimiPixel/automatic_label_correction
c3e785cd9e2b185b4306e92677c1838a883eb2b3
[ "MIT" ]
null
null
null
ALC/__init__.py
SimiPixel/automatic_label_correction
c3e785cd9e2b185b4306e92677c1838a883eb2b3
[ "MIT" ]
null
null
null
from .automatic_data_enhancement import AutomaticDataEnhancement from .binary_cluster_correction import BinaryClusterCorrection from .cluster_correction import ClusterCorrection from .nearest_neighbour_correction import NearestNeighbourCorrection
49.4
68
0.919028
23
247
9.565217
0.608696
0.218182
0.209091
0
0
0
0
0
0
0
0
0
0.064777
247
4
69
61.75
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
a2b714ee9389e69c22aa48c443cfc3b99f807e9c
60,306
py
Python
setup.py
Halftruth08/Game_AI
629dbe9481568b024495c64e97fff27215bd606b
[ "MIT" ]
1
2017-09-26T13:23:34.000Z
2017-09-26T13:23:34.000Z
setup.py
Halftruth08/Game_AI
629dbe9481568b024495c64e97fff27215bd606b
[ "MIT" ]
5
2019-06-15T17:22:32.000Z
2021-03-22T17:15:59.000Z
setup.py
Halftruth08/Game_AI
629dbe9481568b024495c64e97fff27215bd606b
[ "MIT" ]
1
2017-09-25T01:01:09.000Z
2017-09-25T01:01:09.000Z
from setuptools import setup setup( name='codenames', version='0.1.0', packages=['virtualenv.lib.python3.6.distutils', 'virtualenv.lib.python3.6.encodings', 'virtualenv.lib.python3.6.importlib', 'virtualenv.lib.python3.6.collections', 'virtualenv.lib.python3.6.site-packages.pip'...
86.398281
122
0.692502
6,949
60,306
5.976256
0.054252
0.221315
0.340485
0.357509
0.975896
0.974476
0.969708
0.910544
0.714007
0.513304
0
0.029645
0.171592
60,306
697
123
86.522238
0.801633
0
0
0
0
0.238506
0.791331
0.789606
0
0
0
0
0
1
0
true
0
0.00431
0
0.00431
0
0
0
0
null
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
12
a2d8f9980da6372870482a9f917bf39f100c872e
17,445
py
Python
dev/writeCCode.py
gmarupilla/libSEDML
3a2a207d78afccefb4389b65fea9eeb7e446d09e
[ "BSD-2-Clause" ]
1
2020-10-21T01:41:14.000Z
2020-10-21T01:41:14.000Z
dev/writeCCode.py
gmarupilla/libSEDML
3a2a207d78afccefb4389b65fea9eeb7e446d09e
[ "BSD-2-Clause" ]
null
null
null
dev/writeCCode.py
gmarupilla/libSEDML
3a2a207d78afccefb4389b65fea9eeb7e446d09e
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # # @file writeCCode.py # @brief Create the C code for a class # @author Sarah Keating # import sys import fileHeaders import generalFunctions import strFunctions def writeConstructors(element, package, output): indent = strFunctions.getIndent(element) output.write('/**\n') output.writ...
44.27665
203
0.63961
2,303
17,445
4.780287
0.067738
0.249796
0.146062
0.085021
0.823781
0.801254
0.786902
0.774185
0.764647
0.743937
0
0.015597
0.136314
17,445
394
204
44.27665
0.715073
0.038005
0
0.686441
0
0.048023
0.297202
0.042415
0
0
0
0
0
1
0.031073
false
0
0.011299
0
0.062147
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a2f4ad23bbab3adab7c1544d3c0fa638f2eaf743
10,113
py
Python
attacks/weights/norms.py
davidstutz/random-bit-error-robustness
59d8533c8db87ba1b220a64032cf929e5d67fbfa
[ "Unlicense" ]
null
null
null
attacks/weights/norms.py
davidstutz/random-bit-error-robustness
59d8533c8db87ba1b220a64032cf929e5d67fbfa
[ "Unlicense" ]
null
null
null
attacks/weights/norms.py
davidstutz/random-bit-error-robustness
59d8533c8db87ba1b220a64032cf929e5d67fbfa
[ "Unlicense" ]
null
null
null
""" Norms for weight attacks. """ import torch import common.torch class Norm: def __init__(self): """ Constructor. """ self.norms = [] """ ([float]) Norms per layer. """ def __call__(self, model, perturbed_model, layers, quantization=None, quantization_contexts=None)...
34.397959
119
0.641452
1,064
10,113
5.941729
0.085526
0.126542
0.048086
0.045555
0.909206
0.909206
0.909206
0.903353
0.890066
0.890066
0
0.002995
0.273707
10,113
293
120
34.515358
0.857726
0.35311
0
0.775862
0
0
0
0
0
0
0
0
0.043103
1
0.086207
false
0
0.017241
0
0.232759
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0c44919ccc746bfb862c413a0d310cce9b8d061d
178
py
Python
app/models/__init__.py
galbino/miocardiopediatra
8b60bbce45d15616058a81f6c329f6eaa063f07f
[ "MIT" ]
null
null
null
app/models/__init__.py
galbino/miocardiopediatra
8b60bbce45d15616058a81f6c329f6eaa063f07f
[ "MIT" ]
2
2019-11-06T00:37:17.000Z
2019-11-07T23:10:06.000Z
app/models/__init__.py
galbino/miocardiopediatra
8b60bbce45d15616058a81f6c329f6eaa063f07f
[ "MIT" ]
null
null
null
from app.models.User import User from app.models.FAQ import * from app.models.Anamnese import * from app.models.Especialidade import Especialidade from app.models.Exame import *
29.666667
50
0.814607
27
178
5.37037
0.333333
0.241379
0.448276
0.262069
0
0
0
0
0
0
0
0
0.11236
178
5
51
35.6
0.917722
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
0c56c33d49106d0a495d02e8a344adb562ac79a6
98
py
Python
src/__main__.py
AlbertSuarez/hackeps-pokemonwebspider
362502e6dd89055c9311cbf7981a8477da32dc53
[ "MIT" ]
null
null
null
src/__main__.py
AlbertSuarez/hackeps-pokemonwebspider
362502e6dd89055c9311cbf7981a8477da32dc53
[ "MIT" ]
null
null
null
src/__main__.py
AlbertSuarez/hackeps-pokemonwebspider
362502e6dd89055c9311cbf7981a8477da32dc53
[ "MIT" ]
1
2019-11-10T21:27:22.000Z
2019-11-10T21:27:22.000Z
from src import pokemon_web_spider if __name__ == '__main__': pokemon_web_spider.generate()
16.333333
34
0.765306
13
98
4.846154
0.769231
0.31746
0.507937
0
0
0
0
0
0
0
0
0
0.153061
98
5
35
19.6
0.759036
0
0
0
1
0
0.081633
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
38f22b58d7d098238b57358da5d33d853ef1c2af
135
py
Python
generic/data_provider/batchifier.py
ibrahimSouleiman/GuessWhat
60d140de1aae5ccda27e7d3eef2b9fb9548f0854
[ "Apache-2.0" ]
null
null
null
generic/data_provider/batchifier.py
ibrahimSouleiman/GuessWhat
60d140de1aae5ccda27e7d3eef2b9fb9548f0854
[ "Apache-2.0" ]
null
null
null
generic/data_provider/batchifier.py
ibrahimSouleiman/GuessWhat
60d140de1aae5ccda27e7d3eef2b9fb9548f0854
[ "Apache-2.0" ]
null
null
null
class AbstractBatchifier(object): def filter(self, games): return games def apply(self, games): return games
16.875
33
0.637037
15
135
5.733333
0.6
0.209302
0.348837
0.465116
0
0
0
0
0
0
0
0
0.281481
135
7
34
19.285714
0.886598
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.4
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
8
ac2c91cbd1075ba7e524560567d07e5c0bf7ab9a
4,005
py
Python
helper_scripts/csv_to_items.py
osagha/turktools
389c1243e837e946080b28a5ca83faf62890f4b4
[ "Unlicense", "MIT" ]
null
null
null
helper_scripts/csv_to_items.py
osagha/turktools
389c1243e837e946080b28a5ca83faf62890f4b4
[ "Unlicense", "MIT" ]
null
null
null
helper_scripts/csv_to_items.py
osagha/turktools
389c1243e837e946080b28a5ca83faf62890f4b4
[ "Unlicense", "MIT" ]
null
null
null
import csv contexts = ['context-low-bias', 'context-positive-bias', 'context-negative-bias'] answers = ['answer-high-certainty', 'answer-low-certainty', 'answer-reductive-answer', 'answer-exhaustive-answer', 'answer-non-answer'] # create prior items text file out_file_lines = [] with open('stimuli/relevance_stimuli_a...
37.429907
135
0.609238
520
4,005
4.523077
0.119231
0.10119
0.173469
0.19898
0.869048
0.869048
0.869048
0.869048
0.812925
0.796344
0
0.002701
0.260424
4,005
106
136
37.783019
0.791357
0.03221
0
0.829545
0
0
0.200207
0.132266
0
0
0
0
0
1
0
false
0
0.011364
0
0.011364
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
ac575718613b23892ad7b591cc5481cee6c07fa5
48
py
Python
src/blueprints/credit/__init__.py
ingvalles/serverless-flask-challenge
ff5c8d2b31fd49d5c9e39648589974dd2a39e1de
[ "Unlicense" ]
null
null
null
src/blueprints/credit/__init__.py
ingvalles/serverless-flask-challenge
ff5c8d2b31fd49d5c9e39648589974dd2a39e1de
[ "Unlicense" ]
null
null
null
src/blueprints/credit/__init__.py
ingvalles/serverless-flask-challenge
ff5c8d2b31fd49d5c9e39648589974dd2a39e1de
[ "Unlicense" ]
null
null
null
from src.blueprints.credit.routes import credit
24
47
0.854167
7
48
5.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.083333
48
1
48
48
0.931818
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
7
ac8c2ee215c64ae21ae469430899615208b6d6f2
184
py
Python
colour/volume/datasets/__init__.py
OmarWagih1/colour
bdc880a2783ff523dafb19f1233212dd03a639bd
[ "BSD-3-Clause" ]
2
2020-06-20T03:44:41.000Z
2020-06-20T14:08:41.000Z
colour/volume/datasets/__init__.py
OmarWagih1/colour
bdc880a2783ff523dafb19f1233212dd03a639bd
[ "BSD-3-Clause" ]
null
null
null
colour/volume/datasets/__init__.py
OmarWagih1/colour
bdc880a2783ff523dafb19f1233212dd03a639bd
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import from .optimal_colour_stimuli import ILLUMINANT_OPTIMAL_COLOUR_STIMULI __all__ = ['ILLUMINANT_OPTIMAL_COLOUR_STIMULI']
23
69
0.815217
22
184
6.045455
0.545455
0.293233
0.451128
0.451128
0
0
0
0
0
0
0
0.006061
0.103261
184
7
70
26.285714
0.8
0.11413
0
0
0
0
0.204969
0.204969
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
7
3bd75b583dc60920dbaa3159e030e85ba8dbd63c
571
py
Python
Examples/TV_Remote/pronto_code_converter.py
alex-sherman/MRPC-ESP8266
5e7cef34657411b026fed933b84594c8a446af93
[ "MIT" ]
2
2017-09-28T21:29:26.000Z
2021-02-02T05:36:58.000Z
Examples/TV_Remote/pronto_code_converter.py
alex-sherman/MRPC-ESP8266
5e7cef34657411b026fed933b84594c8a446af93
[ "MIT" ]
null
null
null
Examples/TV_Remote/pronto_code_converter.py
alex-sherman/MRPC-ESP8266
5e7cef34657411b026fed933b84594c8a446af93
[ "MIT" ]
1
2017-03-13T02:30:54.000Z
2017-03-13T02:30:54.000Z
# Some sites give IR codes in this weird pronto format # Cut off the preamble and footer and find which value represents a 1 in the spacing code = "0000 0016 0000 0016 0000 0016 0000 003F 0000 003F 0000 003F 0000 0016 0000 003F 0000 0016 0000 0016 0000 0016 0000 0016 0000 0016 0000 0016 0000 0016 0000 0016 0000 0016 0...
95.166667
333
0.744308
110
571
3.863636
0.354545
0.376471
0.564706
0.451765
0.611765
0.611765
0.611765
0.611765
0.611765
0.489412
0
0.555076
0.189142
571
6
334
95.166667
0.362851
0.236427
0
0
0
0.5
0.762673
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
9
3bf9fdfba2dc1f0af5d203127895ff577f3f1ab5
81
py
Python
kevin/developing/notation/__init__.py
cantbeblank96/kevin_toolbox
a258b2a42c9b4d042decb193354ecb7419bd837c
[ "MIT" ]
null
null
null
kevin/developing/notation/__init__.py
cantbeblank96/kevin_toolbox
a258b2a42c9b4d042decb193354ecb7419bd837c
[ "MIT" ]
null
null
null
kevin/developing/notation/__init__.py
cantbeblank96/kevin_toolbox
a258b2a42c9b4d042decb193354ecb7419bd837c
[ "MIT" ]
null
null
null
from .write import Kevin_Notation_Writer from .read import Kevin_Notation_Reader
27
40
0.876543
12
81
5.583333
0.666667
0.328358
0.567164
0
0
0
0
0
0
0
0
0
0.098765
81
2
41
40.5
0.917808
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
0202146ed214ebaff3e8bfae0e22f1064cdd5442
154
py
Python
test/test_fan_failure.py
erichaase/topcoder-python
de285d8092a94f2ec1b5c0c33eba55b5c27a5390
[ "MIT" ]
1
2017-03-25T17:40:57.000Z
2017-03-25T17:40:57.000Z
test/test_fan_failure.py
erichaase/topcoder-python
de285d8092a94f2ec1b5c0c33eba55b5c27a5390
[ "MIT" ]
null
null
null
test/test_fan_failure.py
erichaase/topcoder-python
de285d8092a94f2ec1b5c0c33eba55b5c27a5390
[ "MIT" ]
null
null
null
from test.assert_json import assert_json from topcoder.fan_failure import solution def test_fan_failure (): assert_json('fan_failure', solution)
25.666667
44
0.792208
22
154
5.227273
0.454545
0.26087
0
0
0
0
0
0
0
0
0
0
0.142857
154
5
45
30.8
0.871212
0
0
0
0
0
0.071429
0
0
0
0
0
0.5
1
0.25
true
0
0.5
0
0.75
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
1
0
1
1
0
1
0
1
0
0
8
028892e3e48151db42f67943eea0c8cb278ee0f9
1,764
py
Python
Homework/2.homework/Tests/test_add.py
mevljas/Quality_and_testing
6a39610084b1538eae270682a6842270e8971b7f
[ "MIT" ]
null
null
null
Homework/2.homework/Tests/test_add.py
mevljas/Quality_and_testing
6a39610084b1538eae270682a6842270e8971b7f
[ "MIT" ]
null
null
null
Homework/2.homework/Tests/test_add.py
mevljas/Quality_and_testing
6a39610084b1538eae270682a6842270e8971b7f
[ "MIT" ]
null
null
null
import pexpect def test_bst_print(): baza = pexpect.pexpect() try: baza.expect("command>") baza.send("add") baza.expect("add> EMSO:") baza.send("3105940500232") baza.expect("add> NAME:") baza.send("Janez Albert") baza.expect("add> SURNAME:") b...
24.164384
48
0.524376
195
1,764
4.671795
0.220513
0.285401
0.228321
0.115258
0.787047
0.759605
0.759605
0.759605
0.759605
0.759605
0
0.046266
0.301587
1,764
72
49
24.5
0.693182
0
0
0.672414
0
0
0.266024
0
0
0
0
0
0
0
null
null
0.017241
0.017241
null
null
0.068966
0
0
0
null
1
1
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
5a32a99db50efa45125e7e6383dc64180d794e73
39,026
py
Python
scripts/tf_cnn_benchmarks/leading_indicators_test.py
kyuucr/benchmarks
5054769776afbec4f920d6e4b6d4dc325a9ed1d2
[ "Apache-2.0" ]
null
null
null
scripts/tf_cnn_benchmarks/leading_indicators_test.py
kyuucr/benchmarks
5054769776afbec4f920d6e4b6d4dc325a9ed1d2
[ "Apache-2.0" ]
null
null
null
scripts/tf_cnn_benchmarks/leading_indicators_test.py
kyuucr/benchmarks
5054769776afbec4f920d6e4b6d4dc325a9ed1d2
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
36.269517
106
0.709527
5,089
39,026
5.097662
0.082138
0.060597
0.064143
0.086501
0.807455
0.792113
0.770989
0.756341
0.732673
0.715866
0
0.029255
0.189822
39,026
1,075
107
36.303256
0.791227
0.203198
0
0.718367
0
0
0.070934
0.003906
0
0
0
0.00186
0.001361
1
0.161905
false
0
0.016327
0.005442
0.221769
0.005442
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
5a555d4a5772cfcd1bdc368d802d1889747b5363
7,372
py
Python
gcp/api/osv_service_v1_pb2_grpc.py
pombredanne/osv
1763d62d5780d20f142f79fb6c4d98b27fe4e8ca
[ "Apache-2.0" ]
483
2021-02-05T18:54:17.000Z
2022-03-29T20:38:07.000Z
gcp/api/osv_service_v1_pb2_grpc.py
pombredanne/osv
1763d62d5780d20f142f79fb6c4d98b27fe4e8ca
[ "Apache-2.0" ]
142
2021-02-05T23:35:58.000Z
2022-03-31T04:18:12.000Z
gcp/api/osv_service_v1_pb2_grpc.py
pombredanne/osv
1763d62d5780d20f142f79fb6c4d98b27fe4e8ca
[ "Apache-2.0" ]
63
2021-02-06T11:50:39.000Z
2022-03-30T09:42:34.000Z
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc from osv import vulnerability_pb2 as osv_dot_vulnerability__pb2 import osv_service_v1_pb2 as osv__service__v1__pb2 class OSVStub(object): """Open source vu...
41.886364
99
0.662235
677
7,372
6.849335
0.155096
0.043131
0.051758
0.064697
0.805693
0.797714
0.758896
0.726116
0.726116
0.726116
0
0.010513
0.264514
7,372
175
100
42.125714
0.844707
0.085323
0
0.661654
1
0
0.068103
0.030737
0
0
0
0
0
1
0.075188
false
0
0.022556
0.030075
0.150376
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ce4545d81de8d9b80a2abfb8e8e25f1c2f19f7cb
463
py
Python
api/mon/tasks.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
97
2016-11-15T14:44:23.000Z
2022-03-13T18:09:15.000Z
api/mon/tasks.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
334
2016-11-17T19:56:57.000Z
2022-03-18T10:45:53.000Z
api/mon/tasks.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
33
2017-01-02T16:04:13.000Z
2022-02-07T19:20:24.000Z
# noinspection PyUnresolvedReferences from api.mon.base.tasks import * # noqa: F401,F403 # noinspection PyUnresolvedReferences from api.mon.vm.tasks import * # noqa: F401,F403 # noinspection PyUnresolvedReferences from api.mon.node.tasks import * # noqa: F401,F403 # noinspection PyUnresolvedReferences from api.mon.a...
42.090909
62
0.792657
56
463
6.553571
0.267857
0.463215
0.517711
0.558583
0.956403
0.773842
0.773842
0.773842
0.773842
0.773842
0
0.073529
0.118791
463
10
63
46.3
0.82598
0.559395
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
12
ce8be91c6ee2caf166dd7dcbb46b7c7dc59a529d
5,993
py
Python
loldib/getratings/models/NA/na_vi/na_vi_top.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_vi/na_vi_top.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_vi/na_vi_top.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from getratings.models.ratings import Ratings class NA_Vi_Top_Aatrox(Ratings): pass class NA_Vi_Top_Ahri(Ratings): pass class NA_Vi_Top_Akali(Ratings): pass class NA_Vi_Top_Alistar(Ratings): pass class NA_Vi_Top_Amumu(Ratings): pass class NA_Vi_Top_Anivia(Ratings): pass class NA_Vi_Top_...
14.371703
46
0.745203
972
5,993
4.168724
0.151235
0.238401
0.306515
0.408687
0.777641
0.777641
0
0
0
0
0
0
0.185383
5,993
416
47
14.40625
0.829988
0
0
0.498195
0
0
0
0
0
0
0
0
0
1
0
true
0.498195
0.00361
0
0.501805
0
0
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
7
0c99c3535e0be2a2018d4456b0f4326cea4fa65f
28,885
py
Python
sdk/luminesce/api/multi_query_execution_api.py
finbourne/luminesce-sdk-python-preview
7af198cfa9c0fbd619272fb90601162fb7db0a67
[ "MIT" ]
null
null
null
sdk/luminesce/api/multi_query_execution_api.py
finbourne/luminesce-sdk-python-preview
7af198cfa9c0fbd619272fb90601162fb7db0a67
[ "MIT" ]
null
null
null
sdk/luminesce/api/multi_query_execution_api.py
finbourne/luminesce-sdk-python-preview
7af198cfa9c0fbd619272fb90601162fb7db0a67
[ "MIT" ]
null
null
null
# coding: utf-8 """ FINBOURNE Honeycomb Web API FINBOURNE Technology # noqa: E501 The version of the OpenAPI document: 1.9.129 Contact: info@finbourne.com Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 c...
54.193246
788
0.635451
3,549
28,885
4.988166
0.107354
0.034796
0.056149
0.018302
0.908151
0.895272
0.887194
0.884709
0.85172
0.82664
0
0.019399
0.293301
28,885
532
789
54.295113
0.847352
0.555859
0
0.588745
1
0
0.195758
0.040446
0
0
0
0
0
1
0.030303
false
0
0.021645
0
0.082251
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0c9ed086afaf750c83021054897bc97fb22f031d
26,990
py
Python
tests/test_observable/test_merge.py
christiansandberg/RxPY
036027d2858ea6c9d45839c863bd791e5bb50c36
[ "MIT" ]
null
null
null
tests/test_observable/test_merge.py
christiansandberg/RxPY
036027d2858ea6c9d45839c863bd791e5bb50c36
[ "MIT" ]
null
null
null
tests/test_observable/test_merge.py
christiansandberg/RxPY
036027d2858ea6c9d45839c863bd791e5bb50c36
[ "MIT" ]
null
null
null
import unittest import reactivex from reactivex import operators as ops from reactivex.testing import ReactiveTest, TestScheduler on_next = ReactiveTest.on_next on_completed = ReactiveTest.on_completed on_error = ReactiveTest.on_error subscribe = ReactiveTest.subscribe subscribed = ReactiveTest.subscribed disposed = ...
31.09447
88
0.496925
2,946
26,990
4.311948
0.064834
0.15209
0.065496
0.085964
0.908683
0.89412
0.87869
0.859167
0.853893
0.806266
0
0.113624
0.395443
26,990
867
89
31.130334
0.664889
0
0
0.803689
0
0
0.000741
0
0
0
0
0
0.060606
1
0.083004
false
0
0.00527
0.040843
0.130435
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0cc2079f06f690caddc243dc13586990eb90d47f
14,806
py
Python
test/test_docker.py
ai-traders/dojo
ad5a2490ccab466f80a0840d7d98688540817239
[ "Apache-2.0" ]
9
2019-03-13T10:46:06.000Z
2019-07-16T19:28:22.000Z
test/test_docker.py
ai-traders/dojo
ad5a2490ccab466f80a0840d7d98688540817239
[ "Apache-2.0" ]
4
2019-02-05T16:07:42.000Z
2019-05-03T11:06:28.000Z
test/test_docker.py
ai-traders/dojo
ad5a2490ccab466f80a0840d7d98688540817239
[ "Apache-2.0" ]
1
2019-03-05T19:38:43.000Z
2019-03-05T19:38:43.000Z
from test.support.common import * def clean_up_docker_container(): run_shell('docker ps -a -q --filter "name=testdojorunid" | xargs --no-run-if-empty docker stop') run_shell('docker ps -a -q --filter "name=testdojorunid" | xargs --no-run-if-empty docker rm') def test_docker_container_is_removed(): resul...
54.634686
177
0.749088
2,150
14,806
4.879535
0.104186
0.115528
0.173291
0.202173
0.856925
0.823849
0.806691
0.787818
0.753026
0.73482
0
0.018794
0.141091
14,806
271
178
54.634686
0.806165
0.128326
0
0.610526
0
0.015789
0.246558
0.066423
0
0
0
0
0.526316
1
0.084211
false
0.005263
0.005263
0
0.089474
0.010526
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
0cd6679e257b3859ec55fb663a117a00ac93c258
8,972
py
Python
scripts/achived/post_plotting.py
nmningmei/metacognition
734082e247cc7fc9d277563e2676e10692617a3f
[ "MIT" ]
3
2019-07-09T15:37:46.000Z
2019-07-17T16:28:02.000Z
scripts/achived/post_plotting.py
nmningmei/metacognition
734082e247cc7fc9d277563e2676e10692617a3f
[ "MIT" ]
null
null
null
scripts/achived/post_plotting.py
nmningmei/metacognition
734082e247cc7fc9d277563e2676e10692617a3f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Jul 23 22:48:24 2018 @author: ning """ import os working_dir = '' import pandas as pd pd.options.mode.chained_assignment = None import seaborn as sns import numpy as np from sklearn.model_selection import StratifiedKFold,permutation_test_score from sklearn.ensemble import Ran...
40.414414
90
0.372938
731
8,972
4.477428
0.218878
0.014665
0.029331
0.027498
0.81821
0.776963
0.759242
0.750076
0.729911
0.729911
0
0.022852
0.47325
8,972
221
91
40.597285
0.6697
0.244204
0
0.714286
0
0
0.203594
0.032248
0
0
0
0
0
1
0
false
0
0.079365
0
0.079365
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0b8db954c70b52760627e847eac6c2834e104e9e
879
py
Python
unit_test/sklearn_like_toolkit/search_param/test_ParamOpt.py
demetoir/MLtools
8c42fcd4cc71728333d9c116ade639fe57d50d37
[ "MIT" ]
null
null
null
unit_test/sklearn_like_toolkit/search_param/test_ParamOpt.py
demetoir/MLtools
8c42fcd4cc71728333d9c116ade639fe57d50d37
[ "MIT" ]
null
null
null
unit_test/sklearn_like_toolkit/search_param/test_ParamOpt.py
demetoir/MLtools
8c42fcd4cc71728333d9c116ade639fe57d50d37
[ "MIT" ]
null
null
null
from script.sklearn_like_toolkit.ClassifierPack import ClassifierPack from script.sklearn_like_toolkit.param_search.ParamOpt import ParamOpt def test_ParamOpt(): clf_pack = ClassifierPack(['skDecisionTreeClf']) dtree = clf_pack['skDecisionTreeClf'] from sklearn.datasets import load_iris data...
26.636364
71
0.671217
117
879
4.854701
0.299145
0.049296
0.059859
0.073944
0.852113
0.753521
0.753521
0.753521
0.753521
0.753521
0
0.014706
0.226394
879
32
72
27.46875
0.820588
0
0
0.782609
0
0
0.080283
0
0
0
0
0
0
1
0.043478
false
0
0.173913
0
0.217391
0.086957
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0b9ab4f2b169b1bcf3ff597e2b67e4659d98c4a4
2,297
py
Python
tests/terraform/checks/provider/aws/test_credentials.py
jamesholland-uk/checkov
d73fd4bd7096d48ab3434a92a177bcc55605460a
[ "Apache-2.0" ]
1
2022-02-20T21:20:39.000Z
2022-02-20T21:20:39.000Z
tests/terraform/checks/provider/aws/test_credentials.py
jamesholland-uk/checkov
d73fd4bd7096d48ab3434a92a177bcc55605460a
[ "Apache-2.0" ]
3
2022-03-07T20:37:31.000Z
2022-03-21T20:20:14.000Z
tests/terraform/checks/provider/aws/test_credentials.py
jamesholland-uk/checkov
d73fd4bd7096d48ab3434a92a177bcc55605460a
[ "Apache-2.0" ]
null
null
null
import unittest import hcl2 from checkov.terraform.checks.provider.aws.credentials import check from checkov.common.models.enums import CheckResult class TestCredentials(unittest.TestCase): def test_success_empty(self): hcl_res = hcl2.loads( """ provider "aws" {} """ ...
30.626667
71
0.569003
229
2,297
5.423581
0.218341
0.144928
0.040258
0.056361
0.808374
0.802738
0.802738
0.778583
0.778583
0.778583
0
0.012234
0.323901
2,297
74
72
31.040541
0.787508
0
0
0.540541
0
0
0.039573
0
0
0
0
0
0.135135
1
0.135135
false
0.054054
0.108108
0
0.27027
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
e7fc9b20884411350ccdb2d7459239dd9946a222
2,282
py
Python
tests/test_scoring.py
Menelau/pymfe
4e43c9210a19e3123d9d24a22efa4e65099ed129
[ "MIT" ]
1
2021-11-26T08:17:00.000Z
2021-11-26T08:17:00.000Z
tests/test_scoring.py
Menelau/pymfe
4e43c9210a19e3123d9d24a22efa4e65099ed129
[ "MIT" ]
null
null
null
tests/test_scoring.py
Menelau/pymfe
4e43c9210a19e3123d9d24a22efa4e65099ed129
[ "MIT" ]
null
null
null
"""Test module for General class metafeatures.""" import pytest import numpy as np from pymfe.scoring import accuracy from pymfe.scoring import balanced_accuracy from pymfe.scoring import f1 def test_accuracy(): y_true = np.array([1, 1, 1, 1, 1, 0, 0, 0, 0, 0]) y_pred = np.array([1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
36.806452
68
0.528046
529
2,282
2.172023
0.056711
0.21584
0.255875
0.257615
0.887728
0.821584
0.818103
0.817232
0.817232
0.800696
0
0.181659
0.249781
2,282
61
69
37.409836
0.489486
0.018843
0
0.5
0
0
0
0
0
0
0
0
0.272727
1
0.068182
false
0
0.113636
0
0.181818
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
f0182d93e564b82ed836b9ec1acb22b5c294c5f9
1,545
py
Python
problem-008/main.py
stevancorre/project-euler
abf99969f0235e7740840bcbf4b23a3f8470fa2b
[ "MIT" ]
null
null
null
problem-008/main.py
stevancorre/project-euler
abf99969f0235e7740840bcbf4b23a3f8470fa2b
[ "MIT" ]
null
null
null
problem-008/main.py
stevancorre/project-euler
abf99969f0235e7740840bcbf4b23a3f8470fa2b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Author: Stévan Corre <stevancorre@protonmail.com> # Date: 04/12/2021 import math def product_of(ns): product = 1 for n in ns: product *= n return product def solve(): result = 0 source = "73167176531330624919225119674426574742355349194...
45.441176
1,015
0.846602
73
1,545
17.780822
0.643836
0.013867
0
0
0
0
0
0
0
0
0
0.734635
0.104854
1,545
33
1,016
46.818182
0.203905
0.071845
0
0
0
0
0.711888
0.699301
0
1
0
0
0
1
0.117647
false
0
0.058824
0
0.294118
0.058824
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
f06fb72a5a2252ee8edb3ffb1bde0cd70b8a2ba4
81,820
py
Python
sdk/python/pulumi_newrelic/nrql_alert_condition.py
bob-bins/pulumi-newrelic
f8a121fb7d6e6ad979d3ccf72467b9e89769e305
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_newrelic/nrql_alert_condition.py
bob-bins/pulumi-newrelic
f8a121fb7d6e6ad979d3ccf72467b9e89769e305
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_newrelic/nrql_alert_condition.py
bob-bins/pulumi-newrelic
f8a121fb7d6e6ad979d3ccf72467b9e89769e305
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
59.204052
526
0.686201
10,166
81,820
5.324415
0.037576
0.06686
0.073714
0.029264
0.962552
0.955919
0.948862
0.945795
0.943781
0.933436
0
0.004798
0.212906
81,820
1,381
527
59.246923
0.835699
0.434674
0
0.890306
1
0.007653
0.166116
0.072849
0
0
0
0
0
1
0.16199
false
0.001276
0.008929
0
0.267857
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
6501353b0ccda822b1119f34ca9acccdf3fc9f18
121
py
Python
04higher_order_functions_modules_std_lambdas_inheritance/my_module.py
DrSloth/first_steps_in_python
36e56bfd4da89bc644d2adbc2ea5010a071f2c4c
[ "MIT" ]
2
2022-02-18T09:03:07.000Z
2022-02-18T09:03:16.000Z
04higher_order_functions_modules_std_lambdas_inheritance/my_module.py
DrSloth/first_steps_in_python
36e56bfd4da89bc644d2adbc2ea5010a071f2c4c
[ "MIT" ]
null
null
null
04higher_order_functions_modules_std_lambdas_inheritance/my_module.py
DrSloth/first_steps_in_python
36e56bfd4da89bc644d2adbc2ea5010a071f2c4c
[ "MIT" ]
null
null
null
# This module contains a function to print Hello, World! # Prints Hello, World! def hello(): print("Hello, World!")
20.166667
56
0.68595
17
121
4.882353
0.647059
0.361446
0.361446
0
0
0
0
0
0
0
0
0
0.190083
121
5
57
24.2
0.846939
0.619835
0
0
0
0
0.302326
0
0
0
0
0
0
1
0.5
true
0
0
0
0.5
0.5
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
1
0
7
3324581aa82e2b9e1bb643ed6389a5890676034b
6,028
py
Python
tests/snapshots/snap_test_holidata/test_holidata_produces_holidays_for_locale_and_year[de_DE-2011] 1.py
ghlecl/holidata
1db24d4aecab7ec7a007720987d84ffb0988b6db
[ "MIT" ]
null
null
null
tests/snapshots/snap_test_holidata/test_holidata_produces_holidays_for_locale_and_year[de_DE-2011] 1.py
ghlecl/holidata
1db24d4aecab7ec7a007720987d84ffb0988b6db
[ "MIT" ]
null
null
null
tests/snapshots/snap_test_holidata/test_holidata_produces_holidays_for_locale_and_year[de_DE-2011] 1.py
ghlecl/holidata
1db24d4aecab7ec7a007720987d84ffb0988b6db
[ "MIT" ]
null
null
null
[ { 'date': '2011-01-01', 'description': 'Neujahr', 'locale': 'de-DE', 'notes': '', 'region': '', 'type': 'NF' }, { 'date': '2011-01-06', 'description': 'Heilige drei Könige', 'locale': 'de-DE', 'notes': '', 'region': 'B...
22
51
0.37077
479
6,028
4.665971
0.146138
0.1217
0.152125
0.228188
0.822819
0.821029
0.811186
0.778076
0.778076
0.724832
0
0.07491
0.397644
6,028
274
52
22
0.540622
0
0
0.620438
0
0
0.390446
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
8
6825b92437b2decac156c71d71cfbd6456858669
108
py
Python
spec_version.py
antonvh/ev3dev-lang-python
7dd6a657d998476c3258863998cae34ea161baa1
[ "MIT" ]
1
2020-12-01T23:23:33.000Z
2020-12-01T23:23:33.000Z
spec_version.py
antonvh/ev3dev-lang-python
7dd6a657d998476c3258863998cae34ea161baa1
[ "MIT" ]
null
null
null
spec_version.py
antonvh/ev3dev-lang-python
7dd6a657d998476c3258863998cae34ea161baa1
[ "MIT" ]
1
2020-12-01T23:23:34.000Z
2020-12-01T23:23:34.000Z
# ~autogen spec_version spec_version = "spec: 0.9.3-pre-r2, kernel: v3.16.7-ckt16-7-ev3dev-ev3" # ~autogen
21.6
71
0.703704
20
108
3.7
0.75
0.297297
0.405405
0
0
0
0
0
0
0
0
0.135417
0.111111
108
4
72
27
0.635417
0.277778
0
0
1
1
0.72
0.346667
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d7a9feddc8c1b28c75d579ce48b9fe064b15ddec
119
py
Python
python_20740628/chapter_one/6.py
vimm0/python_exercise
7773d95b4c25b82a9d014f7a814ac83df9ebac17
[ "MIT" ]
null
null
null
python_20740628/chapter_one/6.py
vimm0/python_exercise
7773d95b4c25b82a9d014f7a814ac83df9ebac17
[ "MIT" ]
null
null
null
python_20740628/chapter_one/6.py
vimm0/python_exercise
7773d95b4c25b82a9d014f7a814ac83df9ebac17
[ "MIT" ]
1
2018-01-04T16:27:31.000Z
2018-01-04T16:27:31.000Z
def check_palindrome(str): return str == str[::-1] print(check_palindrome('palpa')) print(check_palindrome('radar'))
19.833333
32
0.731092
16
119
5.25
0.5625
0.535714
0.47619
0
0
0
0
0
0
0
0
0.009174
0.084034
119
6
33
19.833333
0.761468
0
0
0
0
0
0.083333
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0.5
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
1
0
7
d7f9937de321ef353dde5adfe61aa9c9997e6117
3,190
py
Python
build/lib/pypse/operators.py
HankelBao/PyPse
0022226703592ef030f8d4cdb94cdb089d36edb5
[ "MIT" ]
9
2018-11-25T15:31:21.000Z
2021-03-17T20:24:57.000Z
build/lib/pypse/operators.py
HankelBao/PyPse
0022226703592ef030f8d4cdb94cdb089d36edb5
[ "MIT" ]
null
null
null
build/lib/pypse/operators.py
HankelBao/PyPse
0022226703592ef030f8d4cdb94cdb089d36edb5
[ "MIT" ]
2
2019-02-02T17:42:35.000Z
2020-12-08T16:25:50.000Z
from lark import Tree from .values import Value, ValueType from .debug import DebugOutput class Operator(): priority = 0 def operate(value1: Value, value2: Value) -> Value: pass def debug_output(): DebugOutput.output("anonymous operator") class OperatorAdd(Operator): priority = 2 ...
27.982456
85
0.663636
378
3,190
5.338624
0.116402
0.121407
0.225471
0.124876
0.827552
0.81219
0.81219
0.793855
0.793855
0.793855
0
0.020476
0.249843
3,190
113
86
28.230089
0.822817
0.015361
0
0.625
0
0
0.007964
0
0
0
0
0
0
1
0.2
false
0.0125
0.0375
0
0.575
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
8
cc1ac9d48b670d93f673abd781103ddf70895605
1,584
py
Python
dash_fcast/distributions/utils.py
dsbowen/dash-fcast
b589dfa370e8170f76893ba2f484bf03eaca7522
[ "MIT" ]
null
null
null
dash_fcast/distributions/utils.py
dsbowen/dash-fcast
b589dfa370e8170f76893ba2f484bf03eaca7522
[ "MIT" ]
1
2021-05-26T12:55:28.000Z
2021-05-27T12:15:48.000Z
dash_fcast/distributions/utils.py
dsbowen/dash-fcast
b589dfa370e8170f76893ba2f484bf03eaca7522
[ "MIT" ]
null
null
null
from scipy.stats._continuous_distns import expon_gen, gamma_gen class reflect(): def pdf(self, x, *args, **kwargs): return super().pdf(-x, *args, **kwargs) def logpdf(self, x, *args, **kwargs): return super().logpdf(-x, *args, **kwargs) def cdf(self, x, *args, **kwargs): return 1...
25.967213
63
0.569444
210
1,584
4.161905
0.22381
0.297483
0.237986
0.264302
0.398169
0.306636
0.128146
0
0
0
0
0.007432
0.23548
1,584
61
64
25.967213
0.714286
0.147096
0
0
0
0
0.008969
0
0
0
0
0.016393
0
1
0.392857
false
0
0.035714
0.392857
0.928571
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
1
0
0
1
0
0
0
1
1
0
0
7
0be132164364ba05a50c33f7d7f0ce57460713e7
11,745
py
Python
rlkit/demos/source/encoder_dict_to_mdp_path_loader.py
anair13/rlkit
028885a6528b9d871d1946671f84ad93d90eded1
[ "MIT" ]
11
2020-01-24T17:16:42.000Z
2022-01-30T23:07:06.000Z
rlkit/demos/source/encoder_dict_to_mdp_path_loader.py
anair13/rlkit
028885a6528b9d871d1946671f84ad93d90eded1
[ "MIT" ]
null
null
null
rlkit/demos/source/encoder_dict_to_mdp_path_loader.py
anair13/rlkit
028885a6528b9d871d1946671f84ad93d90eded1
[ "MIT" ]
3
2020-04-13T09:17:25.000Z
2021-10-16T08:03:10.000Z
from collections import OrderedDict import pickle import numpy as np import torch import torch.optim as optim from torch import nn as nn import torch.nn.functional as F import copy import rlkit.torch.pytorch_util as ptu from rlkit.core.eval_util import create_stats_ordered_dict from rlkit.torch.torch_rl_algorithm impor...
35.376506
117
0.595317
1,354
11,745
4.878139
0.127031
0.027252
0.027252
0.013323
0.875852
0.872672
0.861771
0.861771
0.849659
0.836336
0
0.006324
0.313325
11,745
332
118
35.376506
0.812647
0.01192
0
0.863481
0
0
0.055191
0
0
0
0
0
0
1
0.03413
false
0
0.064846
0
0.133106
0.027304
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f097efe23e1c24c07bb3add977603ab04023f660
5,522
py
Python
printacc/accounts/models.py
rozumalex/printacc
419f080ce91a737077c0b3d1e98f961fc41e2850
[ "MIT" ]
null
null
null
printacc/accounts/models.py
rozumalex/printacc
419f080ce91a737077c0b3d1e98f961fc41e2850
[ "MIT" ]
null
null
null
printacc/accounts/models.py
rozumalex/printacc
419f080ce91a737077c0b3d1e98f961fc41e2850
[ "MIT" ]
1
2021-04-08T04:31:19.000Z
2021-04-08T04:31:19.000Z
from django.db import models from django.utils import timezone from django.contrib.auth.models import AbstractUser from .managers import AccountManager class Account(AbstractUser): objects = AccountManager() is_admin = models.BooleanField(default=False, verbose_name='Admin') is_dealer = models.BooleanFi...
31.375
78
0.646143
677
5,522
5.057607
0.138848
0.055491
0.079439
0.107477
0.804322
0.754381
0.702979
0.693341
0.62354
0.600175
0
0.004786
0.243209
5,522
175
79
31.554286
0.814549
0
0
0.626984
0
0
0.020283
0
0
0
0
0
0
1
0.214286
false
0
0.031746
0.126984
0.730159
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
f099a93691f9c459d75553970d0bfda3051f9e34
10,915
py
Python
tests/test_exclusions.py
zreichert/pytest_mark_checker
990a579635b3ba394a9780f6ab934e4983b00ef1
[ "Apache-2.0" ]
null
null
null
tests/test_exclusions.py
zreichert/pytest_mark_checker
990a579635b3ba394a9780f6ab934e4983b00ef1
[ "Apache-2.0" ]
6
2018-04-24T14:00:08.000Z
2018-09-14T15:06:13.000Z
tests/test_exclusions.py
zreichert/pytest_mark_checker
990a579635b3ba394a9780f6ab934e4983b00ef1
[ "Apache-2.0" ]
1
2018-04-26T15:51:00.000Z
2018-04-26T15:51:00.000Z
# -*- coding: utf-8 -*- """Tests for validating rules processing exclusions for test methods and functions. (Driven by the 'exclude_methods' and 'exclude_functions' options.) """ # ====================================================================================================================== # Imports # ======...
32.777778
120
0.622721
1,215
10,915
5.401646
0.123457
0.051501
0.037635
0.045558
0.856163
0.838641
0.809995
0.802225
0.800549
0.761237
0
0.017957
0.229592
10,915
332
121
32.876506
0.762516
0.348694
0
0.77381
0
0
0.38248
0.116852
0
0
0
0
0.077381
1
0.077381
false
0.071429
0.005952
0
0.130952
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
f0f21e632729a2193e3acef46ed979a5688547f9
8,326
py
Python
hiddenfigures/tests/stats/dropshot_test.py
millcityrunner/carball
c94cb8caf2f00e616409d2c22b73475e6268fffa
[ "Apache-2.0" ]
null
null
null
hiddenfigures/tests/stats/dropshot_test.py
millcityrunner/carball
c94cb8caf2f00e616409d2c22b73475e6268fffa
[ "Apache-2.0" ]
null
null
null
hiddenfigures/tests/stats/dropshot_test.py
millcityrunner/carball
c94cb8caf2f00e616409d2c22b73475e6268fffa
[ "Apache-2.0" ]
null
null
null
import unittest from hiddenfigures.analysis.analysis_manager import AnalysisManager from hiddenfigures.tests.utils import run_analysis_test_on_replay, get_raw_replays from hiddenfigures.generated.api.stats.dropshot_pb2 import DAMAGED, DESTROYED class Test_Dropshot(): def test_single_damage(self, replay_cache):...
55.139073
108
0.725198
1,078
8,326
5.219852
0.079777
0.110894
0.1571
0.213258
0.915052
0.909366
0.882886
0.869735
0.854629
0.814111
0
0.044487
0.187365
8,326
150
109
55.506667
0.787171
0
0
0.495327
1
0
0.015494
0.005285
0
0
0
0
0.691589
1
0.093458
false
0
0.037383
0
0.140187
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
9
50077d2b9c95c392a29e8c3a8da944c166fcc7ba
3,574
py
Python
users/forms.py
omzi/django-blog
560799a5d5624ea4a50ed8b8cc60c8bcbc651ab7
[ "MIT" ]
1
2021-05-05T13:57:36.000Z
2021-05-05T13:57:36.000Z
users/forms.py
omzi/django-blog
560799a5d5624ea4a50ed8b8cc60c8bcbc651ab7
[ "MIT" ]
null
null
null
users/forms.py
omzi/django-blog
560799a5d5624ea4a50ed8b8cc60c8bcbc651ab7
[ "MIT" ]
null
null
null
from django.contrib.auth.forms import UserCreationForm, UserChangeForm, PasswordChangeForm, PasswordResetForm from django.contrib.auth.models import User from django import forms from django.core.exceptions import ValidationError class RegistrationForm(UserCreationForm): username = forms.CharField(label='Username...
56.730159
186
0.72188
416
3,574
6.096154
0.161058
0.069401
0.097397
0.108438
0.766167
0.751577
0.72358
0.72358
0.72358
0.640773
0
0.010964
0.132345
3,574
63
187
56.730159
0.806837
0
0
0.478261
0
0
0.266573
0
0
0
0
0
0
1
0.043478
false
0.304348
0.086957
0
0.695652
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
7
502a9d053857ba0e436d96a3af14b408438af774
10,095
py
Python
octopus/modules/es/tests/unit/test_sanitisation.py
richard-jones/magnificent-octopus
4a65f5a3e919af61887302d2911849233347f18f
[ "Apache-2.0" ]
2
2016-02-22T04:31:30.000Z
2021-08-03T23:58:36.000Z
octopus/modules/es/tests/unit/test_sanitisation.py
richard-jones/magnificent-octopus
4a65f5a3e919af61887302d2911849233347f18f
[ "Apache-2.0" ]
9
2015-01-04T14:00:05.000Z
2021-12-13T19:35:07.000Z
octopus/modules/es/tests/unit/test_sanitisation.py
richard-jones/magnificent-octopus
4a65f5a3e919af61887302d2911849233347f18f
[ "Apache-2.0" ]
3
2016-09-09T13:39:45.000Z
2018-02-19T14:23:12.000Z
from unittest import TestCase from octopus.modules.es import sanitise class TestModels(TestCase): def setUp(self): super(TestModels, self).setUp() def tearDown(self): super(TestModels, self).tearDown() def test_01_basic_success(self): query = { "query" : {"match_all" :...
30.044643
118
0.346409
662
10,095
5.13142
0.155589
0.02355
0.044157
0.045334
0.855166
0.825729
0.801001
0.777451
0.745952
0.662644
0
0.013269
0.507281
10,095
336
119
30.044643
0.669682
0.010797
0
0.630508
0
0
0.165865
0
0
0
0
0
0.040678
1
0.040678
false
0
0.00678
0
0.050847
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
acc4d4274a16ea826c0dbe038c70d8dc38be764a
350,426
py
Python
lbpketappipig/Data_11_MagUp_lbpketappipig.py
Williams224/davinci-scripts
730642d2ff13543eca4073a4ce0932631195de56
[ "MIT" ]
null
null
null
lbpketappipig/Data_11_MagUp_lbpketappipig.py
Williams224/davinci-scripts
730642d2ff13543eca4073a4ce0932631195de56
[ "MIT" ]
null
null
null
lbpketappipig/Data_11_MagUp_lbpketappipig.py
Williams224/davinci-scripts
730642d2ff13543eca4073a4ce0932631195de56
[ "MIT" ]
null
null
null
#-- GAUDI jobOptions generated on Sun Feb 7 01:33:09 2016 #-- Contains event types : #-- 90000000 - 3886 files - 297532269 events - 4488.35 GBytes #-- Extra information about the data processing phases: #-- Processing Pass Step-127013 #-- StepId : 127013 #-- StepName : Stripping21r1-Merging-DV-v36r1 #--...
89.623018
118
0.833083
50,595
350,426
5.616405
0.078367
0.300857
0.150428
0.300857
0.888852
0.888852
0.888852
0.888852
0.888852
0.888666
0
0.347978
0.01142
350,426
3,909
119
89.645945
0.472294
0.001547
0
0
1
0.999229
0.955215
0.955203
0
0
0
0
0
1
0
true
0
0.000514
0
0.000514
0
0
0
0
null
1
0
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
1
1
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
15
acd79e3533bcc4a536c6c3b3257c1d3e5fb2c4e4
437
py
Python
tests/test_context.py
ningyixue/AIPI530_Final_Project
b95353ffd003692a37a59042dfcd744a18b7e802
[ "MIT" ]
565
2020-08-01T02:44:28.000Z
2022-03-30T15:00:54.000Z
tests/test_context.py
ningyixue/AIPI530_Final_Project
b95353ffd003692a37a59042dfcd744a18b7e802
[ "MIT" ]
144
2020-08-01T03:45:10.000Z
2022-03-30T14:51:16.000Z
tests/test_context.py
ningyixue/AIPI530_Final_Project
b95353ffd003692a37a59042dfcd744a18b7e802
[ "MIT" ]
103
2020-08-26T13:27:34.000Z
2022-03-31T12:24:27.000Z
from d3rlpy.context import disable_parallel, get_parallel_flag, parallel def test_parallel(): assert not get_parallel_flag() with parallel(): assert get_parallel_flag() with disable_parallel(): assert not get_parallel_flag() assert get_parallel_flag() assert not get_par...
27.3125
72
0.704805
54
437
5.333333
0.240741
0.305556
0.416667
0.347222
0.715278
0.715278
0.590278
0.590278
0.444444
0.444444
0
0.002967
0.228833
437
15
73
29.133333
0.851632
0
0
0.75
0
0
0
0
0
0
0
0
0.583333
1
0.083333
true
0
0.083333
0
0.166667
0
0
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
7
4a17ae374709b77704deca0baa98401f9412a475
23,347
py
Python
hdf5index.py
CodingNowNow/jiaoyi
57513f8cf0d282fa70ac9e8e76ff785d7a2a019c
[ "MIT" ]
1
2019-03-22T06:36:56.000Z
2019-03-22T06:36:56.000Z
hdf5index.py
nvsnvyu/hikyuu
57513f8cf0d282fa70ac9e8e76ff785d7a2a019c
[ "MIT" ]
null
null
null
hdf5index.py
nvsnvyu/hikyuu
57513f8cf0d282fa70ac9e8e76ff785d7a2a019c
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf8 -*- # cp936 """ 建立HDF5索引 """ import datetime import tables class IndexRecord(tables.IsDescription): datetime = tables.UInt64Col() #IGNORE:E1101 start = tables.UInt64Col() #IGNORE:E1101 def UpdateWeekIndex(h5file): try: group = h5file.getNode("/...
32.381415
103
0.544524
2,488
23,347
4.937299
0.062701
0.065939
0.048844
0.034191
0.854038
0.826522
0.822208
0.819766
0.811381
0.802752
0
0.070457
0.345269
23,347
720
104
32.426389
0.733155
0.031096
0
0.795222
0
0
0.056319
0.007001
0
0
0
0
0
0
null
null
0.001706
0.005119
null
null
0.011945
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
c5abdcdf0011c5eff02c7431597d1902c2e051a9
31,060
py
Python
Codigo/Method.py
NicholasAlmeidaPinto/SimuladoresPythonIC
f0e1b072823b89095d8d75b78e6cb09414fc5d76
[ "MIT" ]
null
null
null
Codigo/Method.py
NicholasAlmeidaPinto/SimuladoresPythonIC
f0e1b072823b89095d8d75b78e6cb09414fc5d76
[ "MIT" ]
null
null
null
Codigo/Method.py
NicholasAlmeidaPinto/SimuladoresPythonIC
f0e1b072823b89095d8d75b78e6cb09414fc5d76
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Oct 9 09:03:01 2017 @author: Nicholas de Almeida Pinto """ #import numpy as np #Function that defines and calculates the TVD's method def First_TVD(Sw,N, mio, miw, j, porosity, deltt, deltx, delty): for i in range(N): for k in range(N): ...
60.428016
215
0.398551
7,460
31,060
1.658177
0.020509
0.274535
0.244462
0.205335
0.928052
0.923363
0.921665
0.921342
0.920534
0.915198
0
0.058976
0.266838
31,060
513
216
60.545809
0.484235
0.201062
0
0.880637
0
0
0
0
0
0
0
0
0
1
0.023873
false
0
0.007958
0.002653
0.058355
0
0
0
1
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
12
c5e115af3c072382a00c110d88f4fb99ea9de793
146
py
Python
pystellibs/future/__init__.py
lcjohnso/pystellibs
3df5d029df61e5488c5dae3422ec8b616298e85f
[ "MIT" ]
5
2016-10-25T13:37:55.000Z
2020-11-03T09:46:17.000Z
pystellibs/future/__init__.py
lcjohnso/pystellibs
3df5d029df61e5488c5dae3422ec8b616298e85f
[ "MIT" ]
2
2018-06-01T21:50:29.000Z
2019-01-05T21:12:14.000Z
pystellibs/future/__init__.py
lcjohnso/pystellibs
3df5d029df61e5488c5dae3422ec8b616298e85f
[ "MIT" ]
3
2016-10-18T16:52:39.000Z
2019-11-13T20:09:56.000Z
import matplotlib.path if hasattr(matplotlib.path.Path, 'contains_points'): from matplotlib.path import Path else: from .path import Path
24.333333
52
0.767123
20
146
5.55
0.45
0.378378
0.252252
0
0
0
0
0
0
0
0
0
0.150685
146
5
53
29.2
0.895161
0
0
0
0
0
0.10274
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
c5ef9b34d2c806413107877160ef807fd5daeb11
5,967
py
Python
construct/lib/binary.py
tmr232/construct
208df16e51f8fc35f5c924a5cabc623eb425bc4e
[ "MIT" ]
2
2016-06-04T16:49:11.000Z
2017-07-21T10:21:12.000Z
construct/lib/binary.py
tmr232/construct
208df16e51f8fc35f5c924a5cabc623eb425bc4e
[ "MIT" ]
1
2019-10-28T16:26:19.000Z
2019-10-28T21:38:18.000Z
construct/lib/binary.py
tmr232/construct
208df16e51f8fc35f5c924a5cabc623eb425bc4e
[ "MIT" ]
2
2016-03-18T04:30:35.000Z
2018-03-28T16:57:43.000Z
import six from construct.lib.py3compat import int2byte if six.PY3: def int_to_bin(number, width = 32): r""" Convert an integer into its binary representation in a bytes object. Width is the amount of bits to generate. If width is larger than the actual amount of bits required to r...
31.739362
83
0.516005
837
5,967
3.594982
0.157706
0.035892
0.026587
0.023928
0.92456
0.92456
0.92456
0.909937
0.876703
0.876703
0
0.074143
0.369365
5,967
187
84
31.909091
0.725485
0.368359
0
0.706422
0
0
0.027682
0
0
0
0
0
0
1
0.091743
false
0
0.018349
0
0.201835
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
681a6a8f948814dc0845d6f964af7ca6a09490d3
160
py
Python
domain/services/connect.py
Srinjay-hack/Buddy
155b9ba58a20bf043493213dd8349f61012fc480
[ "Apache-2.0" ]
null
null
null
domain/services/connect.py
Srinjay-hack/Buddy
155b9ba58a20bf043493213dd8349f61012fc480
[ "Apache-2.0" ]
null
null
null
domain/services/connect.py
Srinjay-hack/Buddy
155b9ba58a20bf043493213dd8349f61012fc480
[ "Apache-2.0" ]
null
null
null
from domain.models import Caller,Assistant from accounts.models import Caller as ConnectCaller from accounts.models import Assistant as ConnectAssistant
14.545455
57
0.83125
20
160
6.65
0.5
0.270677
0.270677
0.360902
0
0
0
0
0
0
0
0
0.14375
160
10
58
16
0.970803
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
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
7
a88124bdd0a8d6d705d0b3e8ff19123ccf577665
550
py
Python
eval_covid19china_timm-regnetx_002_MedianBlur.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
eval_covid19china_timm-regnetx_002_MedianBlur.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
eval_covid19china_timm-regnetx_002_MedianBlur.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
import os ls=["python main.py --configs configs/eval_covid19china_unetplusplus_timm-regnetx_002_0_MedianBlur.yml", "python main.py --configs configs/eval_covid19china_unetplusplus_timm-regnetx_002_1_MedianBlur.yml", "python main.py --configs configs/eval_covid19china_unetplusplus_timm-regnetx_002_2_MedianBlur.yml", "p...
50
104
0.849091
80
550
5.4625
0.3
0.114416
0.1373
0.217391
0.897025
0.897025
0.897025
0.897025
0.897025
0.897025
0
0.057803
0.056364
550
11
105
50
0.7842
0
0
0
0
0
0.880218
0.653358
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
a8b3ea68d6b426525fb29ef103c406483a9e5e90
18,847
py
Python
tests/test_json.py
atilaneves/reggae-python
6d98e487733dfb2f870296e96ccd12b7f7a4d09a
[ "BSD-3-Clause" ]
null
null
null
tests/test_json.py
atilaneves/reggae-python
6d98e487733dfb2f870296e96ccd12b7f7a4d09a
[ "BSD-3-Clause" ]
null
null
null
tests/test_json.py
atilaneves/reggae-python
6d98e487733dfb2f870296e96ccd12b7f7a4d09a
[ "BSD-3-Clause" ]
null
null
null
from reggae.build import Target, Build, optional from reggae.rules import * # noqa from json import dumps, loads import pytest def test_target(): tgt = Target("foo.d") assert tgt.jsonify() == {"type": "fixed", "command": {}, "outputs": ["foo.d"], ...
35.695076
79
0.356555
1,342
18,847
4.914307
0.07228
0.10235
0.114026
0.106141
0.856255
0.851099
0.851099
0.828355
0.814253
0.790751
0
0.00119
0.464955
18,847
527
80
35.762808
0.652816
0.000212
0
0.802548
0
0
0.234754
0
0
0
0
0
0.061571
1
0.03397
false
0
0.029724
0
0.063694
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a8b5519df60f2ca13484dd498dc214ede3da8cfb
997
py
Python
run-framework-scidb.py
danutrusu/framework_thesis
be2d6f2484a66d83994baded369bc832b9583563
[ "MIT" ]
null
null
null
run-framework-scidb.py
danutrusu/framework_thesis
be2d6f2484a66d83994baded369bc832b9583563
[ "MIT" ]
null
null
null
run-framework-scidb.py
danutrusu/framework_thesis
be2d6f2484a66d83994baded369bc832b9583563
[ "MIT" ]
null
null
null
import os #os.system("./run.sh operations -s scidb --system-configs conf/scidb.properties --datadir $(pwd)/data --load --generate --sizes 100MB -d 1,2,3,4,5 --datatype char") #os.system("./run.sh operations -s scidb --system-configs conf/scidb.properties --datadir $(pwd)/data --load --generate --sizes 100MB -d 1,2,3,4,...
124.625
166
0.7001
164
997
4.256098
0.176829
0.068768
0.094556
0.111748
0.988539
0.988539
0.988539
0.988539
0.974212
0.974212
0
0.051168
0.098295
997
7
167
142.428571
0.72525
0.49348
0
0
1
0.75
0.890438
0.125498
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
1
0
1
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
12
a8bf1424fc402737312ac37ee2bc23dcc09c6adb
92
py
Python
base.py
augustinharter/sba
43c08c02fe98a007b9f9dcad53db0c0410bc4f0f
[ "MIT" ]
null
null
null
base.py
augustinharter/sba
43c08c02fe98a007b9f9dcad53db0c0410bc4f0f
[ "MIT" ]
null
null
null
base.py
augustinharter/sba
43c08c02fe98a007b9f9dcad53db0c0410bc4f0f
[ "MIT" ]
null
null
null
import numpy as np import torch as T import torch.nn as nn import torch.nn.functional as F
15.333333
31
0.782609
19
92
3.789474
0.473684
0.458333
0.361111
0
0
0
0
0
0
0
0
0
0.184783
92
5
32
18.4
0.96
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
7660919a6a38ad95b8f534eabc8831a9915b5aef
17,575
py
Python
tensorpack/models/l1_norm.py
ToWeRT1An/tensorpack
f343e65b3c92fdf92cda7a90e8d7fd9df622b1b1
[ "Apache-2.0" ]
1
2019-08-26T08:55:43.000Z
2019-08-26T08:55:43.000Z
tensorpack/models/l1_norm.py
ToWeRT1An/tensorpack
f343e65b3c92fdf92cda7a90e8d7fd9df622b1b1
[ "Apache-2.0" ]
7
2019-12-16T21:58:30.000Z
2022-02-10T00:17:01.000Z
tensorpack/models/l1_norm.py
T1anZhenYu/tensorpack
f343e65b3c92fdf92cda7a90e8d7fd9df622b1b1
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # File: batch_norm.py import re import six import os from ..compat import tfv1 as tf # this should be avoided first in model code from tensorflow.python.training import moving_averages from tensorpack.tfutils.summary import add_moving_summary, add_param_summary,add_tensor_summary from ..tfuti...
43.610422
101
0.585092
2,213
17,575
4.416629
0.097153
0.050645
0.033251
0.061387
0.806834
0.796808
0.786577
0.76949
0.754758
0.744117
0
0.01853
0.29377
17,575
403
102
43.610422
0.768933
0.065661
0
0.740525
0
0
0.061669
0
0
0
0
0
0.005831
1
0.058309
false
0
0.046647
0.008746
0.166181
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
76711aa5d70435c0a6f5c16daa696c4962327352
552
py
Python
tests/mangle.py
ZYAZP/python2
7dc3b62eff51e1decb4a408122e77630fdc1687d
[ "MIT" ]
1,062
2015-11-18T01:04:33.000Z
2022-03-29T07:13:30.000Z
tests/mangle.py
ArrowSides/onelinerizer
7dc3b62eff51e1decb4a408122e77630fdc1687d
[ "MIT" ]
26
2015-11-17T06:58:07.000Z
2022-01-15T18:11:16.000Z
tests/mangle.py
ArrowSides/onelinerizer
7dc3b62eff51e1decb4a408122e77630fdc1687d
[ "MIT" ]
100
2015-11-17T09:01:22.000Z
2021-09-12T13:58:28.000Z
__a, _A__a, _B__a, __b, _A__b, _B__b, __c, _A__c, _B__c = 0, 1, 2, 3, 4, 5, 6, 7, 8 print __a, _A__a, _B__a, __b, _A__b, _B__b, __c, _A__c, _B__c class A(object): __a = 9 print __a, _A__a, _B__a, __b, _A__b, _B__b, __c, _A__c, _B__c def f(self): print __a, _A__a, _B__a, __b, _A__b, _B__b, __c, _A__c...
34.5
83
0.583333
125
552
1.392
0.16
0.218391
0.206897
0.275862
0.810345
0.810345
0.810345
0.810345
0.810345
0.810345
0
0.029557
0.264493
552
15
84
36.8
0.399015
0
0
0.5
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.357143
0
0
1
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
12
76901622cb873db301e08d962facfe2ed9177ee7
36,382
py
Python
tool/SoDark.py
MrWhiteSoul/WannaTool
78df7eee605367d04e3e77bfa5865afda680eb4f
[ "MIT" ]
70
2020-04-10T09:50:57.000Z
2022-03-31T23:26:46.000Z
tool/SoDark.py
Acc3ssGr4nt3d/WannaTool
5aba765597f35e221e619c231890fb3af9fc156e
[ "MIT" ]
1
2021-12-12T12:20:17.000Z
2021-12-12T12:22:31.000Z
tool/SoDark.py
Acc3ssGr4nt3d/WannaTool
5aba765597f35e221e619c231890fb3af9fc156e
[ "MIT" ]
19
2020-04-10T06:26:56.000Z
2022-03-20T03:08:54.000Z
import marshal,zlib,base64 exec(marshal.loads(zlib.decompress(base64.b16decode("789CEDBD09741C497618185985AB0AF70DF04CA249102089FB6613CD068F2639CD6B0AEC069B1C363A51990012A80B955924D0035A96DBB646B22C6BA5952FDDA3DD91666C4BD6D81E49F6589675F8D23596656B77EDF7B49E1DAF65EBD9FB56AB95BDE395E57F446466556501209BAD1E8D1B644566C69D...
12,127.333333
36,354
0.999505
12
36,382
3,030.333333
0.75
0
0
0
0
0
0
0
0
0
0
0.635944
0.000082
36,382
2
36,355
18,191
0.363644
0
0
0
0
0
0.997636
0.997636
0
1
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
1
0
1
0
0
0
0
12
76cf14cb16153e9545d11e8565f9c2fb268aeaa9
74,534
py
Python
sdk/python/pulumi_alicloud/slb/rule.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
42
2019-03-18T06:34:37.000Z
2022-03-24T07:08:57.000Z
sdk/python/pulumi_alicloud/slb/rule.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
152
2019-04-15T21:03:44.000Z
2022-03-29T18:00:57.000Z
sdk/python/pulumi_alicloud/slb/rule.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
3
2020-08-26T17:30:07.000Z
2021-07-05T01:37:45.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
61.905316
409
0.681139
9,924
74,534
4.937727
0.034563
0.08014
0.073283
0.053875
0.968838
0.961981
0.956145
0.9519
0.949022
0.939451
0
0.007572
0.220356
74,534
1,203
410
61.956775
0.835691
0.480667
0
0.876791
1
0
0.114891
0.028695
0
0
0
0
0
1
0.167622
false
0.001433
0.007163
0
0.275072
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
4f497964a17ba87394cba31ac5cd687e45701a08
301
py
Python
python/list_to_string.py
codevscolor/codevscolor
35ef9042bdc86f45ef87795c35963b75fb64d5d7
[ "Apache-2.0" ]
6
2019-04-26T03:11:54.000Z
2021-05-07T21:48:29.000Z
python/list_to_string.py
akojif/codevscolor
56db3dffeac8f8d76ff8fcf5656770f33765941f
[ "Apache-2.0" ]
null
null
null
python/list_to_string.py
akojif/codevscolor
56db3dffeac8f8d76ff8fcf5656770f33765941f
[ "Apache-2.0" ]
26
2019-02-23T14:50:46.000Z
2022-02-04T23:44:24.000Z
#example 1 dummy_list = ["one","two","three","four","five","six"] separator = ' ' result_string = separator.join(dummy_list) print(result_string) #example 2 dummy_list = ["one","two","three","four","five","six"] separator = ',' result_string = separator.join(dummy_list) print(result_string)
15.05
54
0.684385
40
301
4.95
0.4
0.181818
0.121212
0.151515
0.919192
0.919192
0.919192
0.919192
0.919192
0.919192
0
0.007491
0.112957
301
19
55
15.842105
0.734082
0.059801
0
0.75
0
0
0.163701
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
4f84d9cf7a96955190402529480de26edd297756
630
py
Python
evaluate.py
zlxy9892/chatbot-retrieval-based-smn
65ae5391f0a01b84f998cbbec1e04eda30ddd569
[ "Apache-2.0" ]
5
2018-09-05T02:52:17.000Z
2021-04-29T01:12:27.000Z
evaluate.py
zlxy9892/chatbot-retrieval-based-smn
65ae5391f0a01b84f998cbbec1e04eda30ddd569
[ "Apache-2.0" ]
1
2020-05-30T13:19:46.000Z
2020-05-30T13:19:46.000Z
evaluate.py
zlxy9892/chatbot-retrieval-based-smn
65ae5391f0a01b84f998cbbec1e04eda30ddd569
[ "Apache-2.0" ]
null
null
null
def ComputeR10_1(scores,labels,count = 10): total = 0 correct = 0 for i in range(len(labels)): if labels[i] == 1: total = total+1 sublist = scores[i:i+count] if max(sublist) == scores[i]: correct = correct + 1 print(float(correct)/ total ) def...
30
43
0.520635
82
630
3.97561
0.268293
0.159509
0.171779
0.110429
0.803681
0.803681
0.803681
0.803681
0.803681
0.803681
0
0.044335
0.355556
630
21
44
30
0.758621
0
0
0.9
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.1
0.1
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
4f8ecb5d638d88e72dab5dee3cbc82eb0b76e10e
4,875
py
Python
backend/api/schedule/tests/test_schedule_invitation.py
patrick91/pycon
9d7e15f540adcf0eaceb61fdbf67206d6aef73ec
[ "MIT" ]
2
2017-07-18T21:51:25.000Z
2017-12-23T11:08:39.000Z
backend/api/schedule/tests/test_schedule_invitation.py
patrick91/pycon
9d7e15f540adcf0eaceb61fdbf67206d6aef73ec
[ "MIT" ]
23
2017-07-18T20:22:38.000Z
2018-01-05T05:45:15.000Z
backend/api/schedule/tests/test_schedule_invitation.py
patrick91/pycon
9d7e15f540adcf0eaceb61fdbf67206d6aef73ec
[ "MIT" ]
2
2017-07-18T21:27:33.000Z
2017-07-18T22:07:03.000Z
import datetime from pytest import mark from schedule.models import ScheduleItem pytestmark = mark.django_db def test_fetch_an_invitation( submission_factory, graphql_client, user, schedule_item_factory, slot_factory, day_factory, ): graphql_client.force_login(user) submission = sub...
25.259067
82
0.590154
438
4,875
6.374429
0.173516
0.04298
0.054441
0.04298
0.889327
0.889327
0.872135
0.837034
0.837034
0.837034
0
0.030778
0.306872
4,875
192
83
25.390625
0.795502
0
0
0.773723
0
0
0.074183
0
0
0
0
0
0.058394
1
0.029197
false
0
0.021898
0
0.051095
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
4ffb0183f1a4d73a0046957acf4f4563eecd144c
21,935
py
Python
SCN.py
Tnorm/SCN
a89b829f86c16fc9359330427bdb71bd8b16349e
[ "MIT" ]
null
null
null
SCN.py
Tnorm/SCN
a89b829f86c16fc9359330427bdb71bd8b16349e
[ "MIT" ]
null
null
null
SCN.py
Tnorm/SCN
a89b829f86c16fc9359330427bdb71bd8b16349e
[ "MIT" ]
1
2019-06-24T07:04:00.000Z
2019-06-24T07:04:00.000Z
#### SIMPLICIAL COMPLEX NEURAL NETWORK LEARN FUNCTIONS! import torch from torch.autograd import Variable import numpy as np import matplotlib.pyplot as plt from scipy.stats import norm class SCN(torch.nn.Module): def __init__(self, visible_num, input_dim, visible_units, depth, model=1): super(SCN, self)....
45.985325
111
0.587782
3,152
21,935
3.914657
0.053617
0.027555
0.020423
0.019856
0.971067
0.965313
0.958587
0.95105
0.947808
0.92933
0
0.023194
0.257032
21,935
476
112
46.081933
0.733939
0.494051
0
0.723958
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.026042
0.026042
0.276042
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
8b4762a27a32d1804b51e8cc84e795ae6aad3ae3
44,226
py
Python
mapel/voting/metrics/lp.py
szufix/mapel
9eaacf7963021ea3eab701a14efd82cf1bfc5c5b
[ "MIT" ]
3
2020-02-15T11:37:30.000Z
2021-02-21T11:46:10.000Z
mapel/voting/metrics/lp.py
szufix/mapel
9eaacf7963021ea3eab701a14efd82cf1bfc5c5b
[ "MIT" ]
9
2020-03-24T11:08:57.000Z
2020-03-24T11:48:04.000Z
mapel/voting/metrics/lp.py
szufix/mapel
9eaacf7963021ea3eab701a14efd82cf1bfc5c5b
[ "MIT" ]
4
2020-04-21T17:47:50.000Z
2022-03-25T16:41:04.000Z
#!/usr/bin/env python import os try: import cplex except ImportError: cplex = None import numpy as np from mapel.voting.metrics.inner_distances import hamming # FOR SUBELECTIONS def solve_lp_voter_subelection(election_1, election_2, metric_name='0'): """ LP solver for voter subelection problem """ ...
34.632733
134
0.467666
5,592
44,226
3.526645
0.041488
0.084478
0.105421
0.036256
0.877643
0.863749
0.821865
0.796511
0.752599
0.710258
0
0.023567
0.386922
44,226
1,276
135
34.659875
0.703769
0.043006
0
0.7979
0
0
0.056566
0
0
0
0
0
0
1
0.020997
false
0.001312
0.006562
0
0.048556
0.010499
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
8c670bd80a26f44623ab287ff7aadedb2184afce
14,028
py
Python
finley/test/python/run_trilinosComplexSolversOnFinley.py
markendr/esys-escript.github.io
0023eab09cd71f830ab098cb3a468e6139191e8d
[ "Apache-2.0" ]
null
null
null
finley/test/python/run_trilinosComplexSolversOnFinley.py
markendr/esys-escript.github.io
0023eab09cd71f830ab098cb3a468e6139191e8d
[ "Apache-2.0" ]
null
null
null
finley/test/python/run_trilinosComplexSolversOnFinley.py
markendr/esys-escript.github.io
0023eab09cd71f830ab098cb3a468e6139191e8d
[ "Apache-2.0" ]
null
null
null
############################################################################## # # Copyright (c) 2003-2018 by The University of Queensland # http://www.uq.edu.au # # Primary Business: Queensland, Australia # Licensed under the Apache License, version 2.0 # http://www.apache.org/licenses/LICENSE-2.0 # # Development unt...
34.895522
102
0.721699
1,499
14,028
6.615077
0.104069
0.064542
0.038725
0.051634
0.897338
0.889976
0.873538
0.871117
0.871117
0.857604
0
0.018777
0.187553
14,028
401
103
34.982544
0.851277
0.0427
0
0.809689
0
0
0.044527
0
0
0
0
0
0
1
0.221453
false
0.00692
0.024221
0
0.363322
0.00346
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8
8c792c195a520a7c0db7d35e44bfe815ead9cb45
1,067
py
Python
data-engineering/labs-concurrent-distributed-programming/config.py
xR86/ml-stuff
2a1b79408897171b78032ff2531ab6f8b18be6c4
[ "MIT" ]
3
2018-12-11T03:03:15.000Z
2020-02-11T19:38:07.000Z
data-engineering/labs-concurrent-distributed-programming/config.py
xR86/ml-stuff
2a1b79408897171b78032ff2531ab6f8b18be6c4
[ "MIT" ]
6
2017-05-31T20:58:32.000Z
2021-02-16T23:13:15.000Z
data-engineering/labs-concurrent-distributed-programming/config.py
xR86/ml-stuff
2a1b79408897171b78032ff2531ab6f8b18be6c4
[ "MIT" ]
null
null
null
CONFIG = dict({ 'demo_battery': [ { 'protocol': 'UDP', 'setup': 'single', 'mode': 'simple', 'size': '1MB', 'test_count': 1 } ], 'full_battery': [ { 'protocol': 'UDP', 'setup': 'single', 'mode': 'simple', 'size': '1MB', 'test_count': 3 }, { 'protocol': 'UDP', 'setup': 'si...
14.226667
21
0.453608
105
1,067
4.504762
0.190476
0.190275
0.266385
0.266385
0.959831
0.959831
0.959831
0.959831
0.959831
0.930233
0
0.028609
0.279288
1,067
74
22
14.418919
0.586476
0
0
0.637681
0
0
0.435801
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
8c7dbf9e8e3f22fa948818b20f9b851b189bc115
80
py
Python
src/hello/helloWorld.py
codeWriter9/python-starter
1786406cffad3253bbeb3362c800d296641f953b
[ "MIT" ]
null
null
null
src/hello/helloWorld.py
codeWriter9/python-starter
1786406cffad3253bbeb3362c800d296641f953b
[ "MIT" ]
null
null
null
src/hello/helloWorld.py
codeWriter9/python-starter
1786406cffad3253bbeb3362c800d296641f953b
[ "MIT" ]
null
null
null
from hello import helloWorldUtil def hello_world(): return "Hello World!!"
16
32
0.7375
10
80
5.8
0.7
0.344828
0
0
0
0
0
0
0
0
0
0
0.175
80
4
33
20
0.878788
0
0
0
0
0
0.1625
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
8
5069cddc609260e3cfc5a9be138b957bc7229fcd
5,693
py
Python
imcsdk/mometa/aaa/AaaUserPasswordExpiration.py
vadimkuznetsov/imcsdk
ed038ce1dbc8031f99d2dfb3ccee3bf0b48309d8
[ "Apache-2.0" ]
null
null
null
imcsdk/mometa/aaa/AaaUserPasswordExpiration.py
vadimkuznetsov/imcsdk
ed038ce1dbc8031f99d2dfb3ccee3bf0b48309d8
[ "Apache-2.0" ]
null
null
null
imcsdk/mometa/aaa/AaaUserPasswordExpiration.py
vadimkuznetsov/imcsdk
ed038ce1dbc8031f99d2dfb3ccee3bf0b48309d8
[ "Apache-2.0" ]
1
2019-11-10T18:42:04.000Z
2019-11-10T18:42:04.000Z
"""This module contains the general information for AaaUserPasswordExpiration ManagedObject.""" from ...imcmo import ManagedObject from ...imccoremeta import MoPropertyMeta, MoMeta from ...imcmeta import VersionMeta class AaaUserPasswordExpirationConsts: ADMIN_ACTION_RESTORE_DEFAULT = "restore-default" class A...
61.880435
220
0.659758
503
5,693
7.264414
0.180915
0.056924
0.17734
0.175151
0.813355
0.803503
0.803503
0.803503
0.803503
0.803503
0
0.033931
0.187248
5,693
91
221
62.56044
0.755781
0.022835
0
0.571429
0
0
0.305531
0.136012
0
0
0.01261
0
0
1
0.014286
false
0.371429
0.042857
0
0.171429
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
5085ede90f07436e9c56aac40f444c1ff54931e8
221
py
Python
tests/micropython/viper_const.py
sebi5361/micropython
6c054cd124bc6229bee127128264dc0829dea53c
[ "MIT" ]
198
2017-03-24T23:23:54.000Z
2022-01-07T07:14:00.000Z
tests/micropython/viper_const.py
sebi5361/micropython
6c054cd124bc6229bee127128264dc0829dea53c
[ "MIT" ]
509
2017-03-28T19:37:18.000Z
2022-03-31T20:31:43.000Z
tests/micropython/viper_const.py
sebi5361/micropython
6c054cd124bc6229bee127128264dc0829dea53c
[ "MIT" ]
187
2017-03-24T23:23:58.000Z
2022-02-25T01:48:45.000Z
# test loading constants in viper functions @micropython.viper def f(): return b'bytes' print(f()) @micropython.viper def f(): @micropython.viper def g() -> int: return 123 return g print(f()())
14.733333
43
0.628959
30
221
4.633333
0.533333
0.345324
0.410072
0.28777
0
0
0
0
0
0
0
0.017751
0.235294
221
14
44
15.785714
0.804734
0.18552
0
0.454545
0
0
0.02809
0
0
0
0
0
0
1
0.272727
true
0
0
0.181818
0.545455
0.181818
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
7
508ad3506135a4f73824667aeafcdbeaf42b8c78
1,499
py
Python
tests/test_common.py
pythonerheaven/helloworld
b00746d5f0eff7aa65719b0d22525c387860e991
[ "Apache-2.0" ]
2
2018-02-02T04:42:12.000Z
2021-01-21T07:03:36.000Z
tests/test_common.py
htq310542/helloworld
90605529ef67c0c3397bbd8f00336962e80aa863
[ "Apache-2.0" ]
null
null
null
tests/test_common.py
htq310542/helloworld
90605529ef67c0c3397bbd8f00336962e80aa863
[ "Apache-2.0" ]
1
2018-02-02T04:42:13.000Z
2018-02-02T04:42:13.000Z
hk_trading = 1 is_hk_trade = 1 us_trading = 1 trading = hk_trading if is_hk_trade else us_trading print(trading) print(hk_trading) hk_trading = 1 is_hk_trade = 1 us_trading = 0 trading = hk_trading if is_hk_trade else us_trading print(trading) print(hk_trading) hk_trading = 1 is_hk_trade = 0 us_trading = 0 tradin...
16.11828
67
0.721147
269
1,499
3.743494
0.167286
0.214499
0.142999
0.142999
0.762661
0.762661
0.762661
0.762661
0.762661
0.752731
0
0.028381
0.200801
1,499
93
68
16.11828
0.812187
0.052035
0
0.793651
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.31746
0
0
0
null
1
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
50981f545f36d31d30d83fafc02796279a8dfaf9
4,327
py
Python
test/pyaz/keyvault/storage/sas_definition/__init__.py
bigdatamoore/py-az-cli
54383a4ee7cc77556f6183e74e992eec95b28e01
[ "MIT" ]
null
null
null
test/pyaz/keyvault/storage/sas_definition/__init__.py
bigdatamoore/py-az-cli
54383a4ee7cc77556f6183e74e992eec95b28e01
[ "MIT" ]
9
2021-09-24T16:37:24.000Z
2021-12-24T00:39:19.000Z
test/pyaz/keyvault/storage/sas_definition/__init__.py
bigdatamoore/py-az-cli
54383a4ee7cc77556f6183e74e992eec95b28e01
[ "MIT" ]
null
null
null
import json, subprocess from .... pyaz_utils import get_cli_name, get_params def create(disabled=None, vault_name, account_name, name, template_uri, sas_type, validity_period, __SAS_DEFINITION_ATTRIBUTES=None, tags=None): params = get_params(locals()) command = "az keyvault storage sas-definition create " ...
37.301724
183
0.676681
536
4,327
5.380597
0.102612
0.07767
0.055479
0.058252
0.926838
0.913662
0.913662
0.913662
0.913662
0.913662
0
0.004676
0.209152
4,327
115
184
37.626087
0.838106
0
0
0.830189
0
0
0.09822
0
0
0
0
0
0
0
null
null
0
0.018868
null
null
0.226415
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
50a5c4f656459f8146fc8237fc681a772ae68c63
26,628
py
Python
influxdb_client/service/invocable_scripts_service.py
wasted925/influxdb-client-python
afee531fd1dc244b3d9d270e262b0a1865a7c89d
[ "MIT" ]
380
2019-09-19T20:20:10.000Z
2022-03-31T12:59:33.000Z
influxdb_client/service/invocable_scripts_service.py
wasted925/influxdb-client-python
afee531fd1dc244b3d9d270e262b0a1865a7c89d
[ "MIT" ]
362
2019-09-16T11:53:29.000Z
2022-03-29T03:11:59.000Z
influxdb_client/service/invocable_scripts_service.py
wasted925/influxdb-client-python
afee531fd1dc244b3d9d270e262b0a1865a7c89d
[ "MIT" ]
130
2019-09-20T08:02:35.000Z
2022-03-30T16:44:45.000Z
# coding: utf-8 """ Influx OSS API Service. No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 OpenAPI spec version: 2.0.0 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import re # noqa: F401 # python...
39.981982
132
0.62438
3,173
26,628
4.935708
0.05925
0.045974
0.069727
0.027584
0.944256
0.938446
0.926569
0.918077
0.911053
0.906839
0
0.018528
0.288568
26,628
665
133
40.042105
0.808171
0.313204
0
0.787293
1
0
0.179481
0.051827
0
0
0
0
0
1
0.035912
false
0
0.008287
0
0.096685
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
50e05bdf7e63b090fd2258b624bea8c108fd4a66
123,504
py
Python
embyapi/api/library_service_api.py
stanionascu/python-embyapi
a3f7aa49aea4052277cc43605c0d89bc6ff21913
[ "BSD-3-Clause" ]
null
null
null
embyapi/api/library_service_api.py
stanionascu/python-embyapi
a3f7aa49aea4052277cc43605c0d89bc6ff21913
[ "BSD-3-Clause" ]
null
null
null
embyapi/api/library_service_api.py
stanionascu/python-embyapi
a3f7aa49aea4052277cc43605c0d89bc6ff21913
[ "BSD-3-Clause" ]
null
null
null
# coding: utf-8 """ Emby Server API Explore the Emby Server API # noqa: E501 OpenAPI spec version: 4.1.1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility library import ...
43.334737
352
0.625202
14,545
123,504
5.064627
0.020832
0.046915
0.021286
0.027367
0.983086
0.976746
0.973909
0.972307
0.966497
0.965547
0
0.01483
0.286946
123,504
2,849
353
43.349947
0.821654
0.380886
0
0.836269
1
0
0.197884
0.050244
0
0
0
0
0
1
0.037182
false
0
0.002609
0
0.095238
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
50f1a935fc342c6cc7f4dadc08f4fbeaca65dfe0
98
py
Python
geometric_vector_perceptron/__init__.py
AspirinCode/geometric-vector-perceptron
0bb57b6f4bf181c00b3855b81bff8cdd0fdd901d
[ "MIT" ]
null
null
null
geometric_vector_perceptron/__init__.py
AspirinCode/geometric-vector-perceptron
0bb57b6f4bf181c00b3855b81bff8cdd0fdd901d
[ "MIT" ]
null
null
null
geometric_vector_perceptron/__init__.py
AspirinCode/geometric-vector-perceptron
0bb57b6f4bf181c00b3855b81bff8cdd0fdd901d
[ "MIT" ]
1
2021-11-28T17:35:44.000Z
2021-11-28T17:35:44.000Z
from geometric_vector_perceptron.geometric_vector_perceptron import GVP, GVPDropout, GVPLayerNorm
49
97
0.908163
11
98
7.727273
0.727273
0.352941
0.588235
0
0
0
0
0
0
0
0
0
0.061224
98
1
98
98
0.923913
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
e8440169ab6b1304cb155867cb0c8952ae9a4c3f
160
py
Python
ai_awesome/model.py
wiktorlazarski/ai-awesome-project-template
f4c93306e6ca7dc7f4fb1638e160eaa879a542b5
[ "Apache-2.0" ]
15
2022-01-22T13:58:10.000Z
2022-03-29T18:57:18.000Z
ai_awesome/model.py
wiktorlazarski/ai-awesome-project-template
f4c93306e6ca7dc7f4fb1638e160eaa879a542b5
[ "Apache-2.0" ]
null
null
null
ai_awesome/model.py
wiktorlazarski/ai-awesome-project-template
f4c93306e6ca7dc7f4fb1638e160eaa879a542b5
[ "Apache-2.0" ]
null
null
null
import torch class NeuralNet(torch.nn.Module): def __init__(self): pass def forward(self, X: torch.Tensor) -> torch.Tensor: return X
16
55
0.63125
21
160
4.619048
0.666667
0.226804
0
0
0
0
0
0
0
0
0
0
0.2625
160
9
56
17.777778
0.822034
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.166667
0.166667
0.166667
0.833333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
7
2cf3d14001280f6546128060e4f38c1ea967b05e
1,449
py
Python
library/test/test_measures.py
pupuis/drep
f5f8d8029321a2f2160f443dbfe1387edb651568
[ "MIT" ]
null
null
null
library/test/test_measures.py
pupuis/drep
f5f8d8029321a2f2160f443dbfe1387edb651568
[ "MIT" ]
null
null
null
library/test/test_measures.py
pupuis/drep
f5f8d8029321a2f2160f443dbfe1387edb651568
[ "MIT" ]
null
null
null
import unittest import library.measures as measures import numpy as np class DummyEstimator: def __init__(self, y): self.y = y def predict(self, x, collapse = False): return self.y class MeasuresTest(unittest.TestCase): def test_diversity_on_completely_agreeing_estimators(self): ...
34.5
78
0.709455
164
1,449
6.060976
0.237805
0.144869
0.181087
0.190141
0.808853
0.760563
0.746479
0.746479
0.746479
0.746479
0
0.011824
0.182885
1,449
41
79
35.341463
0.827703
0
0
0.37931
0
0
0.041408
0
0
0
0
0
0.172414
1
0.241379
false
0
0.103448
0.034483
0.448276
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
9
2cfd67e6830225786889170f21bc719c86e4b8fd
130
py
Python
app/main/__init__.py
8by8-org/usvotes
e2af8b2d8b986bf36804bae1c784bc78b54dc412
[ "MIT" ]
null
null
null
app/main/__init__.py
8by8-org/usvotes
e2af8b2d8b986bf36804bae1c784bc78b54dc412
[ "MIT" ]
null
null
null
app/main/__init__.py
8by8-org/usvotes
e2af8b2d8b986bf36804bae1c784bc78b54dc412
[ "MIT" ]
1
2021-12-18T21:57:40.000Z
2021-12-18T21:57:40.000Z
from flask import Blueprint main = Blueprint('main', __name__) from app.main import starter_views from app.main import error_pages
32.5
34
0.823077
20
130
5.05
0.55
0.257426
0.217822
0.336634
0
0
0
0
0
0
0
0
0.115385
130
4
35
32.5
0.878261
0
0
0
0
0
0.030534
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0.5
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
7
fa32e749dd81bc046ff3f6ec56f42d7afed2980b
258
py
Python
pynumdiff/augmented_data/__init__.py
fossabot/PyNumDiff
dccad2ad7a875f2ecccb0db2bb6e2afa392916d1
[ "MIT" ]
null
null
null
pynumdiff/augmented_data/__init__.py
fossabot/PyNumDiff
dccad2ad7a875f2ecccb0db2bb6e2afa392916d1
[ "MIT" ]
null
null
null
pynumdiff/augmented_data/__init__.py
fossabot/PyNumDiff
dccad2ad7a875f2ecccb0db2bb6e2afa392916d1
[ "MIT" ]
null
null
null
from pynumdiff.augmented_data.__augmented_data__ import linearmodel as linearmodel from pynumdiff.augmented_data.__augmented_data__ import nonlinearmodel as nonlinearmodel from pynumdiff.augmented_data.__augmented_data__ import __integrate__ as __integrate__
86
88
0.910853
30
258
6.966667
0.3
0.373206
0.315789
0.373206
0.645933
0.645933
0.645933
0
0
0
0
0
0.065891
258
3
89
86
0.86722
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
fa4154e77a344515245e030a0334d98d42085174
15,536
py
Python
controlimcap/decoders/memory.py
SikandarBakht/asg2cap
d8a6360eaccdb8c3add5f9c4f6fd72764e47e762
[ "MIT" ]
169
2020-03-15T08:41:39.000Z
2022-03-30T09:36:17.000Z
controlimcap/decoders/memory.py
wtr850/asg2cap
97a1d866d4a2b86c1f474bb168518f97eb2f8b96
[ "MIT" ]
25
2020-05-23T15:14:00.000Z
2022-03-10T06:20:31.000Z
controlimcap/decoders/memory.py
wtr850/asg2cap
97a1d866d4a2b86c1f474bb168518f97eb2f8b96
[ "MIT" ]
25
2020-04-02T10:08:01.000Z
2021-12-09T12:10:10.000Z
import torch import torch.nn as nn import torch.nn.functional as F import caption.decoders.attention from framework.modules.embeddings import Embedding from framework.modules.global_attention import GlobalAttention from controlimcap.decoders.cfattention import ContentFlowAttentionDecoder class MemoryDecoder(caption...
41.989189
110
0.706488
2,247
15,536
4.52826
0.076992
0.062801
0.01769
0.022408
0.927666
0.9143
0.902703
0.89199
0.880786
0.87715
0
0.012582
0.18145
15,536
369
111
42.102981
0.787529
0.091594
0
0.884921
0
0
0.014167
0
0
0
0
0
0
1
0.039683
false
0
0.027778
0
0.115079
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d7286ce807fa966a7dd7ef3ae79c567719b439d5
108
py
Python
models/storage/__init__.py
smbdsbrain/sick_bastard
e99b7a5eca1d8e5f52676aabbabefd9aca5cd446
[ "WTFPL" ]
null
null
null
models/storage/__init__.py
smbdsbrain/sick_bastard
e99b7a5eca1d8e5f52676aabbabefd9aca5cd446
[ "WTFPL" ]
null
null
null
models/storage/__init__.py
smbdsbrain/sick_bastard
e99b7a5eca1d8e5f52676aabbabefd9aca5cd446
[ "WTFPL" ]
null
null
null
from models.storage.mongo import MongoStorage # noqa from models.storage.mongo import MongoStorage # noqa
36
53
0.814815
14
108
6.285714
0.5
0.227273
0.386364
0.5
1
1
1
0
0
0
0
0
0.12963
108
2
54
54
0.93617
0.083333
0
1
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
12
ad38508dfcafee00022ef62d4fc31b2630397290
356
py
Python
mod1-previous-concepts/logs.py
uoc-santiloopz/graphs-complexity
2bd75155a10a4d6caa09db4cdc3ac37fb18e850a
[ "Apache-2.0" ]
null
null
null
mod1-previous-concepts/logs.py
uoc-santiloopz/graphs-complexity
2bd75155a10a4d6caa09db4cdc3ac37fb18e850a
[ "Apache-2.0" ]
null
null
null
mod1-previous-concepts/logs.py
uoc-santiloopz/graphs-complexity
2bd75155a10a4d6caa09db4cdc3ac37fb18e850a
[ "Apache-2.0" ]
null
null
null
def letUsCalculate(): print("Where n is the number of ELEMENTS in the SET, and R is the samples taken in the function\n") print("///////////////////////////////\n") print("///////////////////////////////\n") print("///////////////////////////////\n") print("///////////////////////////////\n") pr...
50.857143
103
0.390449
37
356
3.756757
0.567568
0.215827
0.201439
0.345324
0.215827
0.215827
0.215827
0.215827
0
0
0
0
0.146067
356
7
104
50.857143
0.457237
0
0
0.571429
0
0.142857
0.703081
0.369748
0
0
0
0
0
1
0.142857
true
0
0
0
0.142857
0.857143
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
8
ad4e9582098f8dbd96fd4f1e4574056d47540639
44,585
py
Python
venv/Lib/site-packages/pyo/lib/randoms.py
mintzer/pupillometry-rf-back
cfa86fa984a49dce0123798f8de5b838c02e10d5
[ "CC-BY-4.0" ]
null
null
null
venv/Lib/site-packages/pyo/lib/randoms.py
mintzer/pupillometry-rf-back
cfa86fa984a49dce0123798f8de5b838c02e10d5
[ "CC-BY-4.0" ]
null
null
null
venv/Lib/site-packages/pyo/lib/randoms.py
mintzer/pupillometry-rf-back
cfa86fa984a49dce0123798f8de5b838c02e10d5
[ "CC-BY-4.0" ]
null
null
null
""" Set of objects that implement different kinds of random noise generators. """ from __future__ import absolute_import """ Copyright 2009-2015 Olivier Belanger This file is part of pyo, a python module to help digital signal processing script creation. pyo is free software: you can redistribute it and/or modify i...
29.274458
119
0.537064
5,689
44,585
4.136579
0.081561
0.021417
0.048953
0.012238
0.815068
0.794034
0.775507
0.761186
0.745931
0.731823
0
0.034167
0.339599
44,585
1,522
120
29.293693
0.765079
0.434137
0
0.788091
0
0
0.013618
0
0
0
0
0
0.06655
1
0.197898
false
0
0.005254
0.003503
0.276708
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a8dc309af88502161d08131386290afd3f714a3d
34,449
py
Python
sdk/python/pulumi_gcp/compute/managed_ssl_certificate.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
121
2018-06-18T19:16:42.000Z
2022-03-31T06:06:48.000Z
sdk/python/pulumi_gcp/compute/managed_ssl_certificate.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
492
2018-06-22T19:41:03.000Z
2022-03-31T15:33:53.000Z
sdk/python/pulumi_gcp/compute/managed_ssl_certificate.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
43
2018-06-19T01:43:13.000Z
2022-03-23T22:43:37.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
45.268068
163
0.647305
3,895
34,449
5.570732
0.087291
0.056779
0.050327
0.048668
0.894737
0.870311
0.851184
0.840538
0.834132
0.813163
0
0.004372
0.263056
34,449
760
164
45.327632
0.850317
0.49386
0
0.716172
1
0
0.111149
0.047921
0
0
0
0
0
1
0.161716
false
0.0033
0.023102
0
0.283828
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
a8e26eb6189ec035dc6752547efc06b547b37256
10,749
py
Python
bayesian_quadrature/tests/test_gauss_c.py
jhamrick/bayesian-quadrature
b7245cb6ccb96606da7caf1c516631c410f5dc1b
[ "MIT" ]
13
2015-02-04T15:21:32.000Z
2020-11-20T23:12:12.000Z
bayesian_quadrature/tests/test_gauss_c.py
jhamrick/bayesian-quadrature
b7245cb6ccb96606da7caf1c516631c410f5dc1b
[ "MIT" ]
1
2018-07-20T20:02:55.000Z
2018-07-20T20:02:55.000Z
bayesian_quadrature/tests/test_gauss_c.py
jhamrick/bayesian-quadrature
b7245cb6ccb96606da7caf1c516631c410f5dc1b
[ "MIT" ]
3
2017-04-24T06:48:36.000Z
2021-12-12T19:05:10.000Z
import numpy as np import scipy.stats import pytest from .. import gauss_c from .. import linalg_c as la from . import util import logging logger = logging.getLogger("bayesian_quadrature") logger.setLevel("DEBUG") DTYPE = util.DTYPE options = util.options def test_mvn_logpdf(): util.npseed() x_mean = opti...
27.491049
82
0.581077
1,977
10,749
2.924633
0.049064
0.056728
0.044967
0.079903
0.901245
0.876167
0.872708
0.8523
0.831546
0.815981
0
0.023893
0.229045
10,749
390
83
27.561538
0.673826
0
0
0.700704
0
0
0.02577
0
0
0
0
0
0.073944
1
0.066901
false
0
0.024648
0
0.09507
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0f2d17d68964a29ad200326d5b751864001a4e22
10,944
py
Python
test/test_attestation.py
verifiably/checker
7fafed98b61c99196a21924082c6f47f530186db
[ "Apache-2.0" ]
null
null
null
test/test_attestation.py
verifiably/checker
7fafed98b61c99196a21924082c6f47f530186db
[ "Apache-2.0" ]
null
null
null
test/test_attestation.py
verifiably/checker
7fafed98b61c99196a21924082c6f47f530186db
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import sys import os import base64 import cbor2 import json from OpenSSL import crypto import pytest from verifiably_checker import attestation EXAMPLE_ATT_DOC = "hEShATgioFkQ36lpbW9kdWxlX2lkeCdpLTBkZGIwM2Y2ZjFmMTVjOGFmLWVuYzAxN2ZiOGIyOTc0MDc2ZTlmZGlnZXN0ZlNIQTM4NGl0aW1lc3RhbXAbAAABf7izKm5kc...
100.40367
5,924
0.92288
396
10,944
25.292929
0.335859
0.011382
0.007788
0.014477
0.113818
0.103834
0.099441
0.099441
0.094748
0.094748
0
0.260799
0.04386
10,944
108
5,925
101.333333
0.696388
0.005026
0
0.447761
0
0.014925
0.78578
0.777512
0
1
0
0
0.089552
1
0.104478
false
0
0.119403
0
0.223881
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
0f6d45df57dca5b17eed065e874e0d6a7e4c827c
127
py
Python
CA117/Lab_8/swapletters_51.py
PRITI1999/OneLineWonders
91a7368e0796e5a3b5839c9165f9fbe5460879f5
[ "MIT" ]
6
2016-02-04T00:15:20.000Z
2019-10-13T13:53:16.000Z
CA117/Lab_8/swapletters_51.py
PRITI1999/OneLineWonders
91a7368e0796e5a3b5839c9165f9fbe5460879f5
[ "MIT" ]
2
2016-03-14T04:01:36.000Z
2019-10-16T12:45:34.000Z
CA117/Lab_8/swapletters_51.py
PRITI1999/OneLineWonders
91a7368e0796e5a3b5839c9165f9fbe5460879f5
[ "MIT" ]
10
2016-02-09T14:38:32.000Z
2021-05-25T08:16:26.000Z
(lambda l:print(''.join([l[i+1]+l[i]for i in range(0,len(l)-1,2)])+(l[-1]if len(l)%2else'')))(list(__import__("sys").argv[1]))
63.5
126
0.582677
29
127
2.413793
0.62069
0.057143
0
0
0
0
0
0
0
0
0
0.057851
0.047244
127
1
127
127
0.520661
0
0
0
0
0
0.023622
0
0
0
0
0
0
1
0
true
0
1
0
1
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
7
7e859b407f053ddd022ae4460df909ffd88041ed
59,341
py
Python
luma/oled/const.py
morpheus200/luma.oled
74492ef4ea3374c02d139731855fff7a43c79f7a
[ "MIT" ]
582
2017-01-17T00:01:33.000Z
2022-03-30T17:46:42.000Z
luma/oled/const.py
morpheus200/luma.oled
74492ef4ea3374c02d139731855fff7a43c79f7a
[ "MIT" ]
182
2017-01-12T15:01:19.000Z
2022-03-24T21:06:10.000Z
luma/oled/const.py
morpheus200/luma.oled
74492ef4ea3374c02d139731855fff7a43c79f7a
[ "MIT" ]
112
2017-01-15T02:29:26.000Z
2022-03-30T17:36:56.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2014-18 Richard Hull and contributors # See LICENSE.rst for details. from luma.core.const import common class ssd1306(common): CHARGEPUMP = 0x8D COLUMNADDR = 0x21 COMSCANDEC = 0xC8 COMSCANINC = 0xC0 EXTERNALVCC = 0x1 MEMORYMODE = 0x20 PAGEADDR = 0x...
99.565436
7,053
0.624829
10,320
59,341
3.603973
0.141279
0.619794
0.895572
1.158928
0.635523
0.589385
0.568171
0.480252
0.448256
0.440863
0
0.314314
0.220286
59,341
595
7,054
99.732773
0.485898
0.224432
0
0.156309
0
0.030132
0.385371
0.370038
0
1
0.092652
0.001681
0
1
0
false
0
0.001883
0
0.084746
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
0e52800152dc4132c09824b1c29076f289c161e3
6,796
py
Python
Server-Test-PDP-Exd/2.Ballot/run.py
Parwatsingh/OptSmart
0564abdd04e7bc37a3586982a1d7ca5a97be88d5
[ "Apache-2.0" ]
1
2021-03-13T08:55:13.000Z
2021-03-13T08:55:13.000Z
Server-Test-PDP-Exd/2.Ballot/run.py
Parwatsingh/OptSmart
0564abdd04e7bc37a3586982a1d7ca5a97be88d5
[ "Apache-2.0" ]
null
null
null
Server-Test-PDP-Exd/2.Ballot/run.py
Parwatsingh/OptSmart
0564abdd04e7bc37a3586982a1d7ca5a97be88d5
[ "Apache-2.0" ]
null
null
null
import subprocess #subprocess.call("make") GenAUs = ["g++", "-std=c++17", "GenAUs.cpp", "-o", "genAUs", "-O3", "-g"] subprocess.call(GenAUs) print("\n\n\n---------------- Workload 1 ----------------\n") cmd = ["./genAUs", "100", "900", "50", "1000", "0"] subprocess.call(cmd) subprocess.call(["python", "run.py"], cwd="...
40.452381
73
0.534579
856
6,796
4.244159
0.064252
0.377649
0.440407
0.506468
0.959262
0.950454
0.9455
0.9455
0.9455
0.9455
0
0.034548
0.067245
6,796
167
74
40.694611
0.538571
0.132872
0
0.813559
0
0
0.433799
0.155548
0
0
0
0
0
1
0
false
0
0.008475
0
0.008475
0.161017
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
0e53eefb00a151b2108cafb122e3c212edc3e7f0
4,257
py
Python
code/sentiment.py
JonaBenja/lad-assignment1
d4eeafda1032dd8dbe2b049b3008f3b4ad8c6c74
[ "Apache-2.0" ]
null
null
null
code/sentiment.py
JonaBenja/lad-assignment1
d4eeafda1032dd8dbe2b049b3008f3b4ad8c6c74
[ "Apache-2.0" ]
null
null
null
code/sentiment.py
JonaBenja/lad-assignment1
d4eeafda1032dd8dbe2b049b3008f3b4ad8c6c74
[ "Apache-2.0" ]
null
null
null
from polyglot.text import Text from statistics import mean import pandas as pd from collections import defaultdict, Counter import matplotlib.pyplot as plt import numpy as np """ DUTCH """ # Prepare dictionaries sents_sentiment = defaultdict(list) # Read in data tsv_file = "../data/nl/decoded_nl_greta_overview.tsv" ...
32.746154
94
0.698379
598
4,257
4.842809
0.247492
0.058011
0.047652
0.026243
0.861188
0.861188
0.861188
0.861188
0.861188
0.861188
0
0.015367
0.174536
4,257
130
95
32.746154
0.808765
0.12544
0
0.813953
0
0
0.110624
0.041621
0
0
0
0
0
1
0.023256
false
0
0.069767
0
0.093023
0.023256
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0e7a792774694d631aa13835df29f4d31c3043a8
72
py
Python
Python 3/juego_aun_sin_nombre/nombredejuego.py
DarkShadow4/python
4cd94e0cf53ee06c9c31e9272572ca9656697c30
[ "MIT" ]
null
null
null
Python 3/juego_aun_sin_nombre/nombredejuego.py
DarkShadow4/python
4cd94e0cf53ee06c9c31e9272572ca9656697c30
[ "MIT" ]
null
null
null
Python 3/juego_aun_sin_nombre/nombredejuego.py
DarkShadow4/python
4cd94e0cf53ee06c9c31e9272572ca9656697c30
[ "MIT" ]
1
2020-08-19T17:25:22.000Z
2020-08-19T17:25:22.000Z
import sys, pygame # Main Game def GetMovement(): """ """ pass
10.285714
18
0.569444
8
72
5.125
1
0
0
0
0
0
0
0
0
0
0
0
0.277778
72
6
19
12
0.788462
0.125
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
1
0
1
0
0
7
0e899df236b62cac8c3e686ca972c178ab27afa8
198
py
Python
temboo/core/Library/Stripe/Account/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/Stripe/Account/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/Stripe/Account/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
from temboo.Library.Stripe.Account.RetrieveAccountDetails import RetrieveAccountDetails, RetrieveAccountDetailsInputSet, RetrieveAccountDetailsResultSet, RetrieveAccountDetailsChoreographyExecution
99
197
0.929293
11
198
16.727273
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.035354
198
1
198
198
0.963351
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
7ebdaee9ca66e441cbb82f950e139148327a97d8
14,766
py
Python
test/python/pulse/test_utils.py
Sahar2/qiskit-terra
19fbaeb68f2b279c9748384e919e1d1b006860f2
[ "Apache-2.0" ]
null
null
null
test/python/pulse/test_utils.py
Sahar2/qiskit-terra
19fbaeb68f2b279c9748384e919e1d1b006860f2
[ "Apache-2.0" ]
null
null
null
test/python/pulse/test_utils.py
Sahar2/qiskit-terra
19fbaeb68f2b279c9748384e919e1d1b006860f2
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # This code is part of Qiskit. # # (C) Copyright IBM 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modif...
49.885135
97
0.652851
1,869
14,766
5.05511
0.107544
0.061389
0.047417
0.034293
0.900614
0.900614
0.900614
0.893099
0.872248
0.863146
0
0.025451
0.233645
14,766
295
98
50.054237
0.809473
0.144995
0
0.850679
0
0
0.018074
0
0
0
0
0.00678
0.099548
1
0.090498
false
0
0.040724
0
0.149321
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
7ec2ef9277ea8e85846f07500d7f39944caaee4b
462
py
Python
src/cronos/constants.py
fentas/staketaxcsv
ad37a32d8864111dbf88e926b80eb4ccacb921c6
[ "MIT" ]
null
null
null
src/cronos/constants.py
fentas/staketaxcsv
ad37a32d8864111dbf88e926b80eb4ccacb921c6
[ "MIT" ]
null
null
null
src/cronos/constants.py
fentas/staketaxcsv
ad37a32d8864111dbf88e926b80eb4ccacb921c6
[ "MIT" ]
null
null
null
# todo: make this configurable EXCHANGE_CRONOS_BLOCKCHAIN = "Cronos" CUR_CRONOS = "CRO" MILLION = 100000000.0 CURRENCIES = { "ibc/14F9BC3E44B8A9C1BE1FB08980FAB87034C9905EF17CF2F5008FC085218811CC": "OSMO", "ibc/EB2CED20AB0466F18BE49285E56B31306D4C60438A022EA995BA65D5E3CF7E09": "SCRT", "ibc/FA0006F056DB6719B8...
46.2
83
0.822511
27
462
13.962963
0.814815
0
0
0
0
0
0
0
0
0
0
0.410926
0.088745
462
10
84
46.2
0.484561
0.060606
0
0
0
0
0.685912
0.628176
0
1
0
0.1
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
1
0
1
0
0
0
0
0
0
0
0
0
0
8
7ed92b31c5181b2aa0b59a07c0666dce2d82d744
94,655
py
Python
figureFunctions.py
conbraun/hodgkinHuxleyModel_Research
336ca3276b681ee685fac70bd087f90a8c687b23
[ "MIT" ]
null
null
null
figureFunctions.py
conbraun/hodgkinHuxleyModel_Research
336ca3276b681ee685fac70bd087f90a8c687b23
[ "MIT" ]
null
null
null
figureFunctions.py
conbraun/hodgkinHuxleyModel_Research
336ca3276b681ee685fac70bd087f90a8c687b23
[ "MIT" ]
null
null
null
import numpy as np import matplotlib as mpl from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt import math def recallQuestion1Data(): data_1 = np.array([-124.07267743966287, -96.50906793839974, -83.69271938498048, -75.25080640630922, -68.94545843715301, -63.910735318666404, -59.719435437194456...
334.469965
2,036
0.795996
10,127
94,655
7.400711
0.116323
0.003522
0.007112
0.001868
0.934701
0.930844
0.925974
0.925334
0.923466
0.921505
0
0.767703
0.066494
94,655
283
2,037
334.469965
0.080488
0.007195
0
0.259414
0
0
0.008227
0.002884
0
0
0
0
0
1
0.037657
false
0
0.020921
0
0.062762
0.008368
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
7ef64e3728f5f0c8aca85346e0af93007c894ac3
240
py
Python
Testes Basicos/format.py
gustavoLuuD/estudos_python
c8d3e97913d8fc2d046c7a1942b24800779438f5
[ "MIT" ]
null
null
null
Testes Basicos/format.py
gustavoLuuD/estudos_python
c8d3e97913d8fc2d046c7a1942b24800779438f5
[ "MIT" ]
null
null
null
Testes Basicos/format.py
gustavoLuuD/estudos_python
c8d3e97913d8fc2d046c7a1942b24800779438f5
[ "MIT" ]
null
null
null
print("{:f}".format(123.5)) # 123.500000 print("{:.2f}".format(123.5)) # 123.50 print("{:7.2f}".format(123.5)) # 123.50 print("{:07.2f}".format(123.5)) # 0123.50 print("{:d}".format(123)) # 0123 print(f"Eu sei contar até {1234}")
40
44
0.575
42
240
3.285714
0.404762
0.326087
0.289855
0.282609
0.318841
0.318841
0.318841
0
0
0
0
0.27619
0.125
240
6
45
40
0.380952
0.158333
0
0
0
0
0.269036
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
8
add1bfb790d36509c7d34c46a8a5bb503cd25703
519
py
Python
venv/Lib/site-packages/konlpy/hangul.py
movierecommend-chatbot/chat-bot
fc40c1937e8f597230578c1957305ad22f8280e4
[ "bzip2-1.0.6" ]
null
null
null
venv/Lib/site-packages/konlpy/hangul.py
movierecommend-chatbot/chat-bot
fc40c1937e8f597230578c1957305ad22f8280e4
[ "bzip2-1.0.6" ]
null
null
null
venv/Lib/site-packages/konlpy/hangul.py
movierecommend-chatbot/chat-bot
fc40c1937e8f597230578c1957305ad22f8280e4
[ "bzip2-1.0.6" ]
null
null
null
#! /usr/bin/python # -*- coding: utf-8 -*- def compose_char(char): return NotImplementedError def compose(string): return NotImplementedError def decompose_char(char): return NotImplementedError def decompose(string, aslist=False): l = (decompose_char(c) for c in string) if aslist: ...
14.828571
43
0.620424
57
519
5.578947
0.54386
0.314465
0.264151
0.207547
0.226415
0
0
0
0
0
0
0.002604
0.260116
519
34
44
15.264706
0.825521
0.105973
0
0.266667
0
0
0.002278
0
0
0
0
0.058824
0
1
0.333333
false
0
0
0.2
0.733333
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
1
0
0
1
0
0
0
1
1
0
0
7
adffcbf2f391b71d8fde39d0d9e499ecc83df09b
2,802
py
Python
tests/utils/test_utils_has_lost.py
battleforcastile/battleforcastile
65223fcb56ecc550f1a7c7b70beadff22c866d85
[ "MIT" ]
null
null
null
tests/utils/test_utils_has_lost.py
battleforcastile/battleforcastile
65223fcb56ecc550f1a7c7b70beadff22c866d85
[ "MIT" ]
1
2021-08-21T10:16:03.000Z
2021-08-21T10:16:03.000Z
tests/utils/test_utils_has_lost.py
battleforcastile/battleforcastile
65223fcb56ecc550f1a7c7b70beadff22c866d85
[ "MIT" ]
null
null
null
from battleforcastile.utils.has_lost import has_lost def test_if_has_lost_is_true_when_character_has_lower_value_and_an_empty_hand(): state = { 'hero': { 'value': 10 }, 'board': [[], []], 'enemy': { 'value': 20 } } num_cards_in_hand_hero = 0 ...
28.30303
95
0.577802
364
2,802
3.903846
0.104396
0.135116
0.168895
0.236453
0.948628
0.938072
0.938072
0.933849
0.92822
0.92822
0
0.018302
0.298001
2,802
98
96
28.591837
0.704118
0
0
0.670588
0
0
0.092077
0
0
0
0
0
0.070588
1
0.070588
false
0
0.011765
0
0.082353
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bc039ad3cf1ece508f29574d0c504b375b924109
17,915
py
Python
bLib/trash.py
scottwedge/blib
9a035dafad46fb2723562f19b4549a4216c2cf7d
[ "MIT" ]
7
2020-07-15T08:40:34.000Z
2022-03-02T07:00:02.000Z
bLib/trash.py
scottwedge/blib
9a035dafad46fb2723562f19b4549a4216c2cf7d
[ "MIT" ]
2
2020-05-20T01:37:38.000Z
2020-05-20T01:55:35.000Z
bLib/trash.py
scottwedge/blib
9a035dafad46fb2723562f19b4549a4216c2cf7d
[ "MIT" ]
2
2020-05-20T01:32:47.000Z
2020-11-25T07:59:24.000Z
self.cur_inp = radamsa.radamsa(testcase.fullpath) while not self.cur_inp: self.cur_inp = radamsa.radamsa(testcase.fullpath) self.logger.info('mutating ' + testcase) r = self.executor.exec_one(self.cur_inp) if r == OK: pass elif r == CRASH: self.logger.info('testcase result in a crash') ...
26.580119
84
0.688585
2,688
17,915
4.431548
0.098214
0.039456
0.027032
0.013432
0.873741
0.862576
0.85779
0.837727
0.837727
0.834201
0
0.007034
0.166788
17,915
674
85
26.580119
0.790983
0
0
0.8473
0
0
0.085125
0
0
0
0.000816
0.001484
0
0
null
null
0.001862
0
null
null
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
bc3ac99bf8f85c9552b873d1229ecaaef282d0e7
99,172
py
Python
dlkit/manager_impls/repository/managers.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
2
2018-02-23T12:16:11.000Z
2020-10-08T17:54:24.000Z
dlkit/manager_impls/repository/managers.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
87
2017-04-21T18:57:15.000Z
2021-12-13T19:43:57.000Z
dlkit/manager_impls/repository/managers.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
1
2018-03-01T16:44:25.000Z
2018-03-01T16:44:25.000Z
"""Manager utility implementations of repository managers.""" # pylint: disable=no-init # Numerous classes don't require __init__. # pylint: disable=too-many-public-methods # Number of methods are defined in specification # pylint: disable=too-many-ancestors # Inheritance defined in specification from ..o...
41.442541
155
0.640816
9,796
99,172
6.33432
0.023785
0.052215
0.031587
0.036099
0.956697
0.921967
0.889897
0.823387
0.803984
0.783259
0
0
0.265055
99,172
2,392
156
41.459866
0.851343
0.666065
0
0.577825
0
0
0
0
0
0
0
0
0
1
0.298507
false
0
0.010661
0
0.501066
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
8
70c3a4e66a458130d30abfeb7d2aff4b3c4d00a5
18,264
py
Python
varsom_avalanche_client/api/avalanche_warning_by_coordinates_api.py
NVE/python-varsom-avalanche-client
c7787bf070d8ea91efd3a2a9e7782eedd4961528
[ "MIT" ]
null
null
null
varsom_avalanche_client/api/avalanche_warning_by_coordinates_api.py
NVE/python-varsom-avalanche-client
c7787bf070d8ea91efd3a2a9e7782eedd4961528
[ "MIT" ]
null
null
null
varsom_avalanche_client/api/avalanche_warning_by_coordinates_api.py
NVE/python-varsom-avalanche-client
c7787bf070d8ea91efd3a2a9e7782eedd4961528
[ "MIT" ]
null
null
null
# coding: utf-8 """ Snøskredvarsel API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v5.0.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import im...
44.655257
143
0.625876
2,085
18,264
5.265707
0.078657
0.044448
0.068859
0.110939
0.952273
0.950906
0.945259
0.934876
0.933509
0.932143
0
0.014556
0.277814
18,264
408
144
44.764706
0.817817
0.305081
0
0.786667
1
0
0.260012
0.101846
0
0
0
0
0
1
0.031111
false
0
0.017778
0
0.093333
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8