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
3d03e7e9418a784fa6ae34ca818d4e877cfbf8bb
6,545
py
Python
loldib/getratings/models/NA/na_khazix/na_khazix_top.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_khazix/na_khazix_top.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_khazix/na_khazix_top.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from getratings.models.ratings import Ratings class NA_Khazix_Top_Aatrox(Ratings): pass class NA_Khazix_Top_Ahri(Ratings): pass class NA_Khazix_Top_Akali(Ratings): pass class NA_Khazix_Top_Alistar(Ratings): pass class NA_Khazix_Top_Amumu(Ratings): pass class NA_Khazix_Top_Anivia(Ratings): ...
15.695444
46
0.766692
972
6,545
4.736626
0.151235
0.209818
0.389661
0.479583
0.803432
0.803432
0
0
0
0
0
0
0.169748
6,545
416
47
15.733173
0.847258
0
0
0.498195
0
0
0
0
0
0
0
0
0
1
0
true
0.498195
0.00361
0
0.501805
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
7
3d189022514ffa92e24cccd1441a05b0577b4e2e
2,169
py
Python
tests/test_pyhive_runBCFTools_VC.py
elowy01/igsr_analysis
ffea4885227c2299f886a4f41e70b6e1f6bb43da
[ "Apache-2.0" ]
3
2018-04-20T15:04:34.000Z
2022-03-30T06:36:02.000Z
tests/test_pyhive_runBCFTools_VC.py
elowy01/igsr_analysis
ffea4885227c2299f886a4f41e70b6e1f6bb43da
[ "Apache-2.0" ]
7
2019-06-06T09:22:20.000Z
2021-11-23T17:41:52.000Z
tests/test_pyhive_runBCFTools_VC.py
elowy01/igsr_analysis
ffea4885227c2299f886a4f41e70b6e1f6bb43da
[ "Apache-2.0" ]
5
2017-11-02T11:17:35.000Z
2021-12-11T19:34:09.000Z
import os import subprocess import glob import pytest # test_pyhive_runBCFTools_VC.py def test_runBCFTools_VC(bcftools_folder, hive_dir, datadir, clean_tmp): """ Test function to run BCFTools mpileup|call on a BAM file """ bam_file = "{0}/exampleBAM.bam".format(datadir) reference = "{0}/exampleFA...
38.052632
106
0.599355
256
2,169
4.9375
0.351563
0.066456
0.028481
0.031646
0.862342
0.862342
0.862342
0.862342
0.862342
0.862342
0
0.035421
0.271093
2,169
56
107
38.732143
0.764073
0.081604
0
0.756757
0
0.081081
0.091467
0.022483
0
0
0
0
0.108108
1
0.054054
false
0
0.108108
0
0.162162
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
3d479358107ba6396633f05381cdd46111709044
37,605
py
Python
rbac/common/protobuf/task_transaction_pb2.py
knagware9/sawtooth-next-directory
be80852e08d2b27e105d964c727509f2a974002d
[ "Apache-2.0" ]
1
2019-04-14T20:16:59.000Z
2019-04-14T20:16:59.000Z
rbac/common/protobuf/task_transaction_pb2.py
crazyrex/sawtooth-next-directory
210b581c8c92c307fab2f6d2b9a55526b56b790a
[ "Apache-2.0" ]
null
null
null
rbac/common/protobuf/task_transaction_pb2.py
crazyrex/sawtooth-next-directory
210b581c8c92c307fab2f6d2b9a55526b56b790a
[ "Apache-2.0" ]
1
2018-12-07T10:55:08.000Z
2018-12-07T10:55:08.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: task_transaction.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection ...
41.506623
2,776
0.737216
4,686
37,605
5.627828
0.040973
0.05976
0.060519
0.027757
0.740937
0.724291
0.724291
0.724291
0.724291
0.694525
0
0.037179
0.130967
37,605
905
2,777
41.552486
0.769798
0.025741
0
0.741007
1
0.001199
0.181823
0.130428
0
0
0
0
0
1
0
false
0
0.005995
0
0.005995
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
181ed57e3eb39153ad141aa8f03aeb15ee7f7127
510
py
Python
idManager/view/authentication_view.py
lgarciasbr/idm-api
3517d29d55eb2a06fb5b4b21359b6cf6d11529a0
[ "Apache-2.0" ]
2
2018-01-14T22:43:43.000Z
2018-01-14T22:43:48.000Z
idManager/view/authentication_view.py
lgarciasbr/idm-api
3517d29d55eb2a06fb5b4b21359b6cf6d11529a0
[ "Apache-2.0" ]
null
null
null
idManager/view/authentication_view.py
lgarciasbr/idm-api
3517d29d55eb2a06fb5b4b21359b6cf6d11529a0
[ "Apache-2.0" ]
null
null
null
from flask import jsonify def auth_login(http_status_code, message, token): view = jsonify({'status_code': http_status_code, 'message': message, '_token': token}) return view def auth_is_valid(http_status_code, message, token): view = jsonify({'status_code': http_status_code, 'message': message, '_toke...
25.5
90
0.721569
68
510
5.088235
0.25
0.260116
0.242775
0.364162
0.864162
0.864162
0.864162
0.864162
0.864162
0.864162
0
0
0.154902
510
19
91
26.842105
0.802784
0
0
0.6
0
0
0.141176
0
0
0
0
0
0
1
0.3
false
0
0.1
0
0.7
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
1
0
0
0
0
1
0
0
11
184e8888d3aeff144a6fa7390d4e574c4fcd9c17
18,542
py
Python
pytests/tuqquery/tuq_tokens.py
ramalingam-cb/testrunner
81cea7a5a493cf0c67fca7f97c667cd3c6ad2142
[ "Apache-2.0" ]
null
null
null
pytests/tuqquery/tuq_tokens.py
ramalingam-cb/testrunner
81cea7a5a493cf0c67fca7f97c667cd3c6ad2142
[ "Apache-2.0" ]
null
null
null
pytests/tuqquery/tuq_tokens.py
ramalingam-cb/testrunner
81cea7a5a493cf0c67fca7f97c667cd3c6ad2142
[ "Apache-2.0" ]
null
null
null
from lib.remote.remote_util import RemoteMachineShellConnection from pytests.tuqquery.tuq import QueryTests class TokenTests(QueryTests): def setUp(self): if not self._testMethodName == 'suite_setUp': self.skip_buckets_handle = True super(TokenTests, self).setUp() self.n1ql_port...
65.059649
367
0.642595
2,416
18,542
4.814983
0.086507
0.06963
0.055876
0.083813
0.85842
0.844752
0.827989
0.81329
0.805811
0.741425
0
0.013943
0.210927
18,542
284
368
65.288732
0.78115
0.026696
0
0.516393
0
0.204918
0.475325
0.111648
0
0
0
0
0.159836
1
0.020492
false
0
0.008197
0
0.032787
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a1003f2195e718d7338e4e93046ad32eab667f13
6,545
py
Python
loldib/getratings/models/NA/na_rengar/na_rengar_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_rengar/na_rengar_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_rengar/na_rengar_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from getratings.models.ratings import Ratings class NA_Rengar_Mid_Aatrox(Ratings): pass class NA_Rengar_Mid_Ahri(Ratings): pass class NA_Rengar_Mid_Akali(Ratings): pass class NA_Rengar_Mid_Alistar(Ratings): pass class NA_Rengar_Mid_Amumu(Ratings): pass class NA_Rengar_Mid_Anivia(Ratings): ...
15.695444
46
0.766692
972
6,545
4.736626
0.151235
0.209818
0.389661
0.479583
0.803432
0.803432
0
0
0
0
0
0
0.169748
6,545
416
47
15.733173
0.847258
0
0
0.498195
0
0
0
0
0
0
0
0
0
1
0
true
0.498195
0.00361
0
0.501805
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
8
a1cc680c5d6f410a35524d1c6900493495131044
181
py
Python
hw4/4.3.py
ArtemNikolaev/gb-hw
b82403e39dc1ca530dc438309fc98ba89ce4337b
[ "Unlicense" ]
null
null
null
hw4/4.3.py
ArtemNikolaev/gb-hw
b82403e39dc1ca530dc438309fc98ba89ce4337b
[ "Unlicense" ]
40
2021-12-30T15:57:10.000Z
2022-01-26T16:44:24.000Z
hw4/4.3.py
ArtemNikolaev/gb-hw
b82403e39dc1ca530dc438309fc98ba89ce4337b
[ "Unlicense" ]
1
2022-03-12T19:17:26.000Z
2022-03-12T19:17:26.000Z
# https://github.com/ArtemNikolaev/gb-hw/issues/24 def multiple_of_20_21(): return (i for i in range(20, 241) if i % 20 == 0 or i % 21 == 0) print(list(multiple_of_20_21()))
22.625
68
0.662983
35
181
3.257143
0.685714
0.175439
0.210526
0.245614
0
0
0
0
0
0
0
0.14
0.171271
181
7
69
25.857143
0.62
0.265193
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0
0.333333
0.666667
0.333333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
7
a1cdf3d6b6757ac8b742a5871545ebfcd99aef04
13,761
py
Python
hopper_controller/src/hexapod/folding_manager.py
CreedyNZ/Hopper_ROS
1e6354109f034a7d1d41a5b39ddcb632cfee64b2
[ "MIT" ]
36
2018-12-19T18:03:08.000Z
2022-02-21T16:20:12.000Z
hopper_controller/src/hexapod/folding_manager.py
CreedyNZ/Hopper_ROS
1e6354109f034a7d1d41a5b39ddcb632cfee64b2
[ "MIT" ]
null
null
null
hopper_controller/src/hexapod/folding_manager.py
CreedyNZ/Hopper_ROS
1e6354109f034a7d1d41a5b39ddcb632cfee64b2
[ "MIT" ]
7
2019-08-11T20:31:27.000Z
2021-09-19T04:34:18.000Z
import rospy MOVE_CYCLE_PERIOD = 0.01 def move_towards(target, current, step=1): if abs(target-current) < step: return target, True else: if target > current: return current + step, False else: return current - step, False def move_leg(leg, coxa=None, femur=N...
44.824104
128
0.637599
1,849
13,761
4.436993
0.050297
0.105314
0.171136
0.276451
0.870673
0.865553
0.865553
0.854705
0.826548
0.783642
0
0.03118
0.286825
13,761
306
129
44.970588
0.804769
0.023181
0
0.716912
0
0
0
0
0
0
0
0
0
1
0.036765
false
0
0.003676
0
0.066176
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
b8014951415d289b10583d9f4dc51aea80536fbd
4,905
py
Python
ksteta3pi/Consideredbkg/MC_12_11134011_MagUp.py
Williams224/davinci-scripts
730642d2ff13543eca4073a4ce0932631195de56
[ "MIT" ]
null
null
null
ksteta3pi/Consideredbkg/MC_12_11134011_MagUp.py
Williams224/davinci-scripts
730642d2ff13543eca4073a4ce0932631195de56
[ "MIT" ]
null
null
null
ksteta3pi/Consideredbkg/MC_12_11134011_MagUp.py
Williams224/davinci-scripts
730642d2ff13543eca4073a4ce0932631195de56
[ "MIT" ]
null
null
null
#-- GAUDI jobOptions generated on Mon Jul 20 10:20:49 2015 #-- Contains event types : #-- 11134011 - 42 files - 900254 events - 251.92 GBytes #-- Extra information about the data processing phases: #-- Processing Pass Step-125836 #-- StepId : 125836 #-- StepName : Stripping20-NoPrescalingFlagged for Sim08...
62.088608
215
0.798777
686
4,905
5.588921
0.189504
0.28482
0.098592
0.14241
0.709963
0.709963
0.709963
0.709963
0.709963
0.697966
0
0.317793
0.046687
4,905
78
216
62.884615
0.502139
0.238124
0
0
1
0.933333
0.917565
0.916487
0
0
0
0
0
1
0
true
0
0.044444
0
0.044444
0
0
0
0
null
1
0
0
0
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
1
1
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
12
b80bd1236784afca06c2fdaedb154f5764c38921
258
py
Python
henrietta/tests/__init__.py
zkbt/henrietta
653d798b241ad5591b704967a0413a2457a4e734
[ "MIT" ]
null
null
null
henrietta/tests/__init__.py
zkbt/henrietta
653d798b241ad5591b704967a0413a2457a4e734
[ "MIT" ]
12
2018-09-12T03:56:04.000Z
2019-02-15T04:12:53.000Z
henrietta/tests/__init__.py
zkbt/henrietta
653d798b241ad5591b704967a0413a2457a4e734
[ "MIT" ]
null
null
null
from .test_lightcurves import * from .test_statistics import * from .test_models import * from .test_fitting import * from .test_tools import * from .test_photometry import * from .test_tpf import * from .test_imaging import * from .test_photometry import *
25.8
31
0.790698
36
258
5.416667
0.305556
0.369231
0.574359
0.246154
0.307692
0
0
0
0
0
0
0
0.139535
258
9
32
28.666667
0.878378
0
0
0.222222
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
62dc5a004b7115829f44a8eadc00ed4081475f1f
161
py
Python
src/libs/django/utils/request.py
antiline/jun2
00928cea1f4b8cd6634cf9a1ae6dc19c95d0e54c
[ "MIT" ]
null
null
null
src/libs/django/utils/request.py
antiline/jun2
00928cea1f4b8cd6634cf9a1ae6dc19c95d0e54c
[ "MIT" ]
17
2019-06-24T14:11:49.000Z
2021-06-04T22:19:59.000Z
src/libs/django/utils/request.py
tabetaku/roots
8a9f91b8b0e0b64a85db2898a537b12be65de753
[ "MIT" ]
null
null
null
from ipware.ip import get_ip from ipware.utils import is_private_ip def is_private_ip_from_request(request) -> bool: return is_private_ip(get_ip(request))
23
48
0.807453
28
161
4.285714
0.428571
0.225
0.275
0
0
0
0
0
0
0
0
0
0.124224
161
6
49
26.833333
0.851064
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
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
1
0
0
1
1
1
0
0
8
1a0ee9a3148043007875afdc8ae0b227516a59d4
131,586
py
Python
pybind/slxos/v17r_2_00/mpls_state/lsp/secondary_path/__init__.py
extremenetworks/pybind
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
[ "Apache-2.0" ]
null
null
null
pybind/slxos/v17r_2_00/mpls_state/lsp/secondary_path/__init__.py
extremenetworks/pybind
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
[ "Apache-2.0" ]
null
null
null
pybind/slxos/v17r_2_00/mpls_state/lsp/secondary_path/__init__.py
extremenetworks/pybind
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
[ "Apache-2.0" ]
1
2021-11-05T22:15:42.000Z
2021-11-05T22:15:42.000Z
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
75.973441
1,982
0.766221
17,900
131,586
5.312905
0.01419
0.037644
0.050641
0.032555
0.954901
0.935521
0.915921
0.897877
0.872956
0.853598
0
0.005787
0.114967
131,586
1,731
1,983
76.017331
0.810825
0.197323
0
0.53159
0
0.045752
0.393765
0.262245
0
0
0
0
0
1
0.140523
false
0.004357
0.010893
0
0.254902
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a7dfe24c47f27180a9478cedac00f9ebde2a0811
16,502
py
Python
pybind/slxos/v16r_1_00b/protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/__init__.py
shivharis/pybind
4e1c6d54b9fd722ccec25546ba2413d79ce337e6
[ "Apache-2.0" ]
null
null
null
pybind/slxos/v16r_1_00b/protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/__init__.py
shivharis/pybind
4e1c6d54b9fd722ccec25546ba2413d79ce337e6
[ "Apache-2.0" ]
null
null
null
pybind/slxos/v16r_1_00b/protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/__init__.py
shivharis/pybind
4e1c6d54b9fd722ccec25546ba2413d79ce337e6
[ "Apache-2.0" ]
1
2021-11-05T22:15:42.000Z
2021-11-05T22:15:42.000Z
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
85.061856
1,055
0.690038
2,337
16,502
4.674369
0.088575
0.020505
0.041011
0.026364
0.817008
0.786891
0.775906
0.762175
0.762175
0.753387
0
0.008571
0.151618
16,502
193
1,056
85.502591
0.771714
0.106351
0
0.387597
0
0.023256
0.411091
0.14697
0
0
0
0
0
1
0.093023
false
0
0.069767
0
0.294574
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
c52074b71855ef72867102bc5564df2ba1896c19
4,619
py
Python
client/src/obc.py
estcube/telemetry-forwarding-client
be659c8dd8e4bd26d1d1974d63f90acffd150e34
[ "MIT" ]
3
2020-06-11T12:34:25.000Z
2020-09-16T12:06:32.000Z
client/src/obc.py
estcube/telemetry-forwarding-client
be659c8dd8e4bd26d1d1974d63f90acffd150e34
[ "MIT" ]
57
2020-09-16T09:11:04.000Z
2022-02-28T01:32:13.000Z
client/src/obc.py
estcube/Telemetry-Forwarding-Client
be659c8dd8e4bd26d1d1974d63f90acffd150e34
[ "MIT" ]
null
null
null
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild from pkg_resources import parse_version from kaitaistruct import __version__ as ks_version, KaitaiStruct, KaitaiStream, BytesIO if parse_version(ks_version) < parse_version('0.7'): raise Exception("Incompatible Kai...
52.488636
118
0.657285
787
4,619
3.443456
0.120712
0.161624
0.247232
0.330627
0.823985
0.820295
0.796679
0.796679
0.796679
0.663838
0
0.050539
0.216064
4,619
87
119
53.091954
0.697874
0.020784
0
0
1
0
0.018367
0
0
0
0
0
0
1
0.025316
false
0
0.025316
0
0.063291
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
c52c02d266fb08aaf3f326c61fa1e270518102e0
121
py
Python
cartographer/utils/collections.py
Patreon/cartographer
fe5c03decf01c9f7894bb9cf1f839af435143527
[ "Apache-2.0" ]
29
2016-03-30T00:53:42.000Z
2022-03-02T23:45:12.000Z
cartographer/utils/collections.py
Patreon/cartographer
fe5c03decf01c9f7894bb9cf1f839af435143527
[ "Apache-2.0" ]
20
2016-04-19T18:34:05.000Z
2022-02-14T14:18:33.000Z
cartographer/utils/collections.py
Patreon/cartographer
fe5c03decf01c9f7894bb9cf1f839af435143527
[ "Apache-2.0" ]
5
2016-04-28T00:44:24.000Z
2019-10-26T08:09:17.000Z
def filter_dict(dictionary_to_filter): return dict((k, v) for k, v in dictionary_to_filter.items() if v is not None)
40.333333
81
0.743802
23
121
3.695652
0.652174
0.282353
0.423529
0
0
0
0
0
0
0
0
0
0.157025
121
2
82
60.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
1
0
0
0
1
1
0
0
7
c52fa39e205177e471e16b57a23781f02f1d2a0d
7,345
py
Python
2019/day21_input.py
coingraham/adventofcode
52b5b3f049242881285d0c2704f44cc1ee2a821e
[ "MIT" ]
5
2020-12-04T04:30:17.000Z
2021-11-12T11:26:22.000Z
2019/day21_input.py
coingraham/adventofcode
52b5b3f049242881285d0c2704f44cc1ee2a821e
[ "MIT" ]
null
null
null
2019/day21_input.py
coingraham/adventofcode
52b5b3f049242881285d0c2704f44cc1ee2a821e
[ "MIT" ]
null
null
null
input_data = """109,2050,21101,0,966,1,21101,13,0,0,1106,0,1378,21101,20,0,0,1105,1,1337,21101,0,27,0,1105,1,1279,1208,1,65,748,1005,748,73,1208,1,79,748,1005,748,110,1208,1,78,748,1005,748,132,1208,1,87,748,1005,748,169,1208,1,82,748,1005,748,239,21101,0,1041,1,21102,1,73,0,1105,1,1421,21101,0,78,1,21101,1041,0,2,2110...
7,345
7,345
0.687543
2,052
7,345
2.460526
0.184211
0.037235
0.036245
0.045157
0.276887
0.205585
0.116855
0.097445
0.077441
0.077441
0
0.686368
0.000272
7,345
1
7,345
7,345
0.001226
0
0
0
0
1
0.997277
0.997277
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
c53329de3ea7d9bd985ca5fb1b5d8d143c4eb7ac
2,191
py
Python
pyrez/exceptions.py
EthanHicks1/Pyrez
022d62ae893594c2ddcd7fac5e740c693fd4fd54
[ "MIT" ]
null
null
null
pyrez/exceptions.py
EthanHicks1/Pyrez
022d62ae893594c2ddcd7fac5e740c693fd4fd54
[ "MIT" ]
null
null
null
pyrez/exceptions.py
EthanHicks1/Pyrez
022d62ae893594c2ddcd7fac5e740c693fd4fd54
[ "MIT" ]
null
null
null
class CustomException(Exception): def __init__(self, *args, **kwargs): return super().__init__(self, *args, **kwargs) def __str__(self): return str(self.args [1]) class DeprecatedException(CustomException): def __init__(self, *args, **kwargs): return super().__init__(*args, **kwargs)...
42.960784
54
0.700593
217
2,191
6.465438
0.124424
0.228083
0.145403
0.218104
0.727726
0.727726
0.727726
0.727726
0.702067
0.702067
0
0.000536
0.149247
2,191
50
55
43.82
0.752146
0
0
0.62
0
0
0
0
0
0
0
0
0
1
0.34
false
0
0
0.34
1
0
0
0
0
null
1
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
10
c54de03fd28e53eb54540b034a2e8a1f2994146a
3,532
py
Python
graph_test.py
MathewMacDougall/Two-Faced-Type
53fae81a151fd0689ac7328dda6b3e984c9a42e9
[ "MIT" ]
null
null
null
graph_test.py
MathewMacDougall/Two-Faced-Type
53fae81a151fd0689ac7328dda6b3e984c9a42e9
[ "MIT" ]
25
2020-11-15T05:30:23.000Z
2020-12-12T22:03:35.000Z
graph_test.py
MathewMacDougall/Two-Faced-Type
53fae81a151fd0689ac7328dda6b3e984c9a42e9
[ "MIT" ]
null
null
null
import unittest from graph import Graph class TestGraph(unittest.TestCase): def test_create_graph_simple(self): graph = Graph() graph.add_edge(0, 1) graph.add_edge(1, 2) graph.add_edge(2, 0) graph.add_edge(2, 0) # Test double edges don't make a difference self.assert...
34.627451
72
0.610136
509
3,532
4.013752
0.094303
0.140969
0.211454
0.246696
0.841899
0.789525
0.789525
0.789036
0.698972
0.611356
0
0.060708
0.239807
3,532
101
73
34.970297
0.700186
0.011608
0
0.650602
0
0
0.002294
0
0
0
0
0
0.325301
1
0.060241
false
0
0.024096
0
0.096386
0.024096
0
0
0
null
0
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
3d7b2d7375396a8c241a8c99281ec5431deb5055
1,257
py
Python
tests/windows/get_physicaldisk/test_getting_unique_ids_from_output.py
Abd-Elrazek/InQRy
ab9d19a737a41673e8dcc419d49ca0e96476d560
[ "MIT" ]
37
2017-05-12T02:32:26.000Z
2019-05-03T14:43:08.000Z
tests/windows/get_physicaldisk/test_getting_unique_ids_from_output.py
Abd-Elrazek/InQRy
ab9d19a737a41673e8dcc419d49ca0e96476d560
[ "MIT" ]
11
2017-08-27T03:36:18.000Z
2018-10-28T01:31:12.000Z
tests/windows/get_physicaldisk/test_getting_unique_ids_from_output.py
Abd-Elrazek/InQRy
ab9d19a737a41673e8dcc419d49ca0e96476d560
[ "MIT" ]
15
2019-06-13T11:29:12.000Z
2022-02-28T06:40:14.000Z
from inqry.system_specs import win_physical_disk UNIQUE_ID_OUTPUT = """ UniqueId -------- {256a2559-ce63-5434-1bee-3ff629daa3a7} {4069d186-f178-856e-cff3-ba250c28446d} {4da19f06-2e28-2722-a0fb-33c02696abcd} 50014EE20D887D66 eui.0025384161B6798A 5000C5007A75E216 500A07510F1A545C ATA LITEONIT LMT-256M6M mSATA 256GB ...
43.344828
125
0.638823
126
1,257
6.166667
0.515873
0.015444
0.015444
0.05148
0.738739
0.738739
0.738739
0.738739
0.738739
0.738739
0
0.344828
0.261734
1,257
28
126
44.892857
0.492457
0
0
0
0
0.08
0.564837
0.326173
0
0
0
0
0.04
1
0.04
false
0
0.04
0
0.08
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
1
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
7
3da3144e79a3871eba136a301ca02449b8340d18
390
py
Python
pyctogram/instagram_client/relations/__init__.py
RuzzyRullezz/pyctogram
b811c55dc1c74d57ef489810816322e7f2909f3d
[ "MIT" ]
1
2019-12-10T08:01:58.000Z
2019-12-10T08:01:58.000Z
pyctogram/instagram_client/relations/__init__.py
RuzzyRullezz/pyctogram
b811c55dc1c74d57ef489810816322e7f2909f3d
[ "MIT" ]
null
null
null
pyctogram/instagram_client/relations/__init__.py
RuzzyRullezz/pyctogram
b811c55dc1c74d57ef489810816322e7f2909f3d
[ "MIT" ]
null
null
null
from . base import Actions, get_users def get_followers(username, password, victim_username, proxies=None): return get_users(username, password, victim_username, proxies=proxies, relation=Actions.followers) def get_followings(username, password, victim_username, proxies=None): return get_users(username, pas...
39
103
0.810256
48
390
6.395833
0.333333
0.208469
0.286645
0.390879
0.742671
0.742671
0.742671
0.742671
0.742671
0.742671
0
0
0.102564
390
9
104
43.333333
0.877143
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0.8
0.2
0.4
1
0
0
0
0
null
1
1
1
0
1
1
1
1
1
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
0
0
0
12
3dca45f1cb27867b123a5f15fcfde334028fa3ca
7,964
py
Python
ogc_edr_lib/ogc_api_collection_metadata.py
eugenegesdisc/gmuedr
e8b3e5c7b8d18421d875f0f6f778a37a6d8ec3fd
[ "MIT" ]
null
null
null
ogc_edr_lib/ogc_api_collection_metadata.py
eugenegesdisc/gmuedr
e8b3e5c7b8d18421d875f0f6f778a37a6d8ec3fd
[ "MIT" ]
null
null
null
ogc_edr_lib/ogc_api_collection_metadata.py
eugenegesdisc/gmuedr
e8b3e5c7b8d18421d875f0f6f778a37a6d8ec3fd
[ "MIT" ]
null
null
null
from typing import Tuple, Union from aiohttp import web from ogc_edr_lib.ogc_api import OgcApi import logging from ogc_edr_lib.ogc_api_collection_metadata_get_queries import ( OgcApiCollectionMetadataGetQueries) from ogc_edr_lib.ogc_api_collection_metadata_list_data_items import ( OgcApiCollectionMetadataListD...
63.206349
1,561
0.708815
1,108
7,964
5.046029
0.195848
0.025756
0.035772
0.030048
0.826507
0.810052
0.800751
0.800751
0.794133
0.794133
0
0.039043
0.228152
7,964
125
1,562
63.712
0.870506
0.727022
0
0.085714
0
0
0
0
0
0
0
0
0
1
0.085714
false
0
0.2
0
0.4
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
9a95d81d2c4081cc80031302b6a6bfe2482c9c94
167
py
Python
new/views.py
Sravan996/django
3a982382d5cfe9bfb498534f1effcf58a3771539
[ "MIT" ]
null
null
null
new/views.py
Sravan996/django
3a982382d5cfe9bfb498534f1effcf58a3771539
[ "MIT" ]
null
null
null
new/views.py
Sravan996/django
3a982382d5cfe9bfb498534f1effcf58a3771539
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.shortcuts import HttpResponse # Create your views here. def index(request): return HttpResponse('Hello World</en>')
20.875
41
0.790419
22
167
6
0.772727
0.151515
0.287879
0.378788
0
0
0
0
0
0
0
0
0.125749
167
7
42
23.857143
0.90411
0.137725
0
0
0
0
0.112676
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
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
1
0
0
1
1
0
0
0
7
9aa0a86fc034faf07525b543313701f15dfaa4e4
4,526
py
Python
datasets/datasets.py
rioyokotalab/ecl-isvr
ae274b1b81b1d1c10db008140c477f5893a0c1c3
[ "BSD-4-Clause-UC" ]
null
null
null
datasets/datasets.py
rioyokotalab/ecl-isvr
ae274b1b81b1d1c10db008140c477f5893a0c1c3
[ "BSD-4-Clause-UC" ]
null
null
null
datasets/datasets.py
rioyokotalab/ecl-isvr
ae274b1b81b1d1c10db008140c477f5893a0c1c3
[ "BSD-4-Clause-UC" ]
2
2021-09-30T02:13:40.000Z
2021-12-14T07:33:28.000Z
#! -*- coding:utf-8 from typing import Callable, List, Optional import numpy as np import torch import torchvision __all__ = ["CIFAR10", "FashionMNIST"] class CIFAR10(torch.utils.data.Dataset): def __init__(self, root: str, train: bool = True, tra...
36.208
87
0.527176
446
4,526
4.865471
0.152466
0.0553
0.077419
0.053456
0.917972
0.917972
0.917972
0.917972
0.917972
0.869124
0
0.005405
0.386876
4,526
124
88
36.5
0.776577
0.015466
0
0.899083
0
0
0.004389
0
0
0
0
0
0
1
0.146789
false
0
0.036697
0.110092
0.220183
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
1
0
0
0
8
b1353e1a12ba28028561c94ebd3cbfad77dbf672
194
py
Python
bentoml/lightgbm.py
francoisserra/BentoML
213e9e9b39e055286f2649c733907df88e6d2503
[ "Apache-2.0" ]
1
2021-06-12T17:04:07.000Z
2021-06-12T17:04:07.000Z
bentoml/lightgbm.py
francoisserra/BentoML
213e9e9b39e055286f2649c733907df88e6d2503
[ "Apache-2.0" ]
4
2021-05-16T08:06:25.000Z
2021-11-13T08:46:36.000Z
bentoml/lightgbm.py
francoisserra/BentoML
213e9e9b39e055286f2649c733907df88e6d2503
[ "Apache-2.0" ]
null
null
null
from ._internal.frameworks.lightgbm import load from ._internal.frameworks.lightgbm import save from ._internal.frameworks.lightgbm import load_runner __all__ = ["load", "load_runner", "save"]
32.333333
54
0.804124
24
194
6.125
0.375
0.244898
0.44898
0.612245
0.789116
0.544218
0
0
0
0
0
0
0.092784
194
5
55
38.8
0.835227
0
0
0
0
0
0.097938
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
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
b15a0f38860998844631ced61f5490b9a9898c55
7,135
py
Python
tests/test_detectCompileCommand.py
langrind/ccjtools
6f92d8cadf24d6e1f26e984df3c11b4d58061053
[ "MIT" ]
null
null
null
tests/test_detectCompileCommand.py
langrind/ccjtools
6f92d8cadf24d6e1f26e984df3c11b4d58061053
[ "MIT" ]
null
null
null
tests/test_detectCompileCommand.py
langrind/ccjtools
6f92d8cadf24d6e1f26e984df3c11b4d58061053
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from ccjtools import ccj_make def test_detectExactSpecifiedCompilerCommandWord(): """Using -c option, check that the exact word is recognized""" inputFileName = 'dummy' parsedArgs = ccj_make.mkccj_parse_args(['progname', inputFileName, '-c', 'mastadon']) if not parsedArgs: ...
62.043478
1,789
0.737211
981
7,135
5.20897
0.234455
0.034247
0.05636
0.035616
0.947945
0.939726
0.92955
0.92407
0.907436
0.904892
0
0.008511
0.12726
7,135
114
1,790
62.587719
0.812109
0.07274
0
0.746269
0
0.059701
0.608405
0.290396
0
0
0
0
0.41791
1
0.059701
false
0
0.014925
0
0.074627
0.029851
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
1
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
10
493bd803d4c7823847afa2537f0ada612dffc26a
154
py
Python
unicode_urls/cms/__init__.py
Alexx-G/django-unicode-urls
fd4f89181c7172412ddf499efd050119c16c7d43
[ "MIT" ]
null
null
null
unicode_urls/cms/__init__.py
Alexx-G/django-unicode-urls
fd4f89181c7172412ddf499efd050119c16c7d43
[ "MIT" ]
null
null
null
unicode_urls/cms/__init__.py
Alexx-G/django-unicode-urls
fd4f89181c7172412ddf499efd050119c16c7d43
[ "MIT" ]
null
null
null
from .urlutils import any_path_re def patch_djangocms_urls(): import cms.utils.urlutils as cms_urlutils cms_urlutils.any_path_re = any_path_re
19.25
45
0.792208
25
154
4.48
0.52
0.1875
0.241071
0
0
0
0
0
0
0
0
0
0.155844
154
7
46
22
0.861538
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0.5
0
0.75
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
4950f58ba8e9dd8055eb104d658977925fab01b1
202
py
Python
src/success_backup_check/tests/test_success_backup_check.py
linuxluigi/success-backup-check
aa3be2dbd8b0106b931bf226614e05af68034077
[ "MIT" ]
null
null
null
src/success_backup_check/tests/test_success_backup_check.py
linuxluigi/success-backup-check
aa3be2dbd8b0106b931bf226614e05af68034077
[ "MIT" ]
7
2017-10-20T08:14:08.000Z
2017-10-31T10:04:19.000Z
src/success_backup_check/tests/test_success_backup_check.py
linuxluigi/success-backup-check
aa3be2dbd8b0106b931bf226614e05af68034077
[ "MIT" ]
null
null
null
import pytest import success_backup_check def test_project_defines_author_and_version(): assert hasattr(success_backup_check, '__author__') assert hasattr(success_backup_check, '__version__')
25.25
55
0.826733
25
202
5.92
0.56
0.263514
0.364865
0.351351
0.418919
0
0
0
0
0
0
0
0.108911
202
7
56
28.857143
0.822222
0
0
0
0
0
0.10396
0
0
0
0
0
0.4
1
0.2
true
0
0.4
0
0.6
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
497c36a9409e9932ee77efb6c8843fae9cedceac
1,200
py
Python
prompts/wizard_of_wikipedia.py
andreamad8/FSB
a81593590189fa5ad1cc37c5857f974effd9750a
[ "MIT" ]
53
2021-10-11T03:24:14.000Z
2022-03-30T15:17:23.000Z
prompts/wizard_of_wikipedia.py
andreamad8/FSB
a81593590189fa5ad1cc37c5857f974effd9750a
[ "MIT" ]
1
2021-12-26T22:48:38.000Z
2022-01-15T18:05:32.000Z
prompts/wizard_of_wikipedia.py
andreamad8/FSB
a81593590189fa5ad1cc37c5857f974effd9750a
[ "MIT" ]
5
2022-01-27T09:07:39.000Z
2022-03-04T08:58:23.000Z
def convert_sample_to_shot_wow(sample, with_knowledge=True): prefix = "Dialogue:\n" assert len(sample["dialogue"]) == len(sample["meta"]) for turn, meta in zip(sample["dialogue"],sample["meta"]): prefix += f"User: {turn[0]}" +"\n" if with_knowledge: if len(meta)>0: ...
33.333333
69
0.500833
145
1,200
4.041379
0.213793
0.119454
0.061433
0.061433
0.952218
0.952218
0.866894
0.866894
0.744027
0.744027
0
0.012361
0.325833
1,200
35
70
34.285714
0.71199
0
0
0.8125
0
0
0.186667
0
0
0
0
0
0.0625
1
0.0625
false
0
0
0
0.1875
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
49905454a4a778d8f4095622f9b3c6a78a737493
76,810
py
Python
h1/api/recovery_project_plan_api.py
hyperonecom/h1-client-python
4ce355852ba3120ec1b8f509ab5894a5c08da730
[ "MIT" ]
null
null
null
h1/api/recovery_project_plan_api.py
hyperonecom/h1-client-python
4ce355852ba3120ec1b8f509ab5894a5c08da730
[ "MIT" ]
null
null
null
h1/api/recovery_project_plan_api.py
hyperonecom/h1-client-python
4ce355852ba3120ec1b8f509ab5894a5c08da730
[ "MIT" ]
null
null
null
""" HyperOne HyperOne API # noqa: E501 The version of the OpenAPI document: 0.1.0 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from h1.api_client import ApiClient, Endpoint as _Endpoint from h1.model_utils import ( # noqa: F401 check_allowe...
36.524013
137
0.442833
6,439
76,810
4.987886
0.03308
0.043155
0.053243
0.041411
0.943675
0.920042
0.899804
0.897811
0.874739
0.871439
0
0.003379
0.472204
76,810
2,102
138
36.541389
0.788851
0.289975
0
0.719784
1
0
0.231413
0.050658
0
0
0
0
0
1
0.010128
false
0
0.008103
0
0.028359
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
499a70e266d8579796d64d1f4d58f86d8e09e3c3
143
py
Python
src/Utilities/__init__.py
sigseg5/nometa-tg
7d0d9f0cf5d8fd98a3808c07a5c44d30f1b13032
[ "MIT" ]
3
2020-12-15T07:44:58.000Z
2022-03-11T18:57:44.000Z
src/Utilities/__init__.py
sigseg5/nometa-tg
7d0d9f0cf5d8fd98a3808c07a5c44d30f1b13032
[ "MIT" ]
null
null
null
src/Utilities/__init__.py
sigseg5/nometa-tg
7d0d9f0cf5d8fd98a3808c07a5c44d30f1b13032
[ "MIT" ]
null
null
null
from src.Utilities import cmd_logger from src.Utilities import metadata_worker from src.Utilities import misc from src.Utilities import runner
28.6
41
0.86014
22
143
5.5
0.454545
0.231405
0.528926
0.727273
0
0
0
0
0
0
0
0
0.111888
143
4
42
35.75
0.952756
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
b8da34c95a45838a0718da8340a3212acd784270
3,947
py
Python
tests/test_data.py
SaiKrishna1207/aos
a55a1eed80dc9b21f7e295b265228c0d54072a66
[ "Apache-2.0" ]
3
2020-03-03T08:35:42.000Z
2020-09-03T09:30:37.000Z
tests/test_data.py
SaiKrishna1207/aos
a55a1eed80dc9b21f7e295b265228c0d54072a66
[ "Apache-2.0" ]
4
2020-02-21T12:48:58.000Z
2020-04-30T11:12:52.000Z
tests/test_data.py
SaiKrishna1207/aos
a55a1eed80dc9b21f7e295b265228c0d54072a66
[ "Apache-2.0" ]
5
2020-03-01T04:14:32.000Z
2021-12-11T15:20:42.000Z
def get_obj1(): obj = \ { "sha": "d25341478381063d1c76e81b3a52e0592a7c997f", "commit": { "author": { "name": "Stephen Dolan", "email": "mu@netsoc.tcd.ie", "date": "2013-06-22T16:30:59Z" }, "committer": { "name": "Stephen Dolan", ...
49.962025
123
0.633392
405
3,947
6.074074
0.214815
0.107317
0.11626
0.179675
0.776829
0.776829
0.776829
0.776829
0.731707
0.697561
0
0.126999
0.192045
3,947
79
124
49.962025
0.644403
0
0
0.564103
0
0
0.706687
0.047366
0
0
0
0
0
1
0.012821
false
0
0
0
0.025641
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
77009347b5bee01d461e0bc59d8b6aa0208dc523
7,201
py
Python
ui/Pytest/test_Range.py
MoisesHenr/OCEAN
e99c853893adc89652794ace62fcc8ffa78aa7ac
[ "MIT" ]
15
2021-06-15T13:48:03.000Z
2022-01-26T13:51:46.000Z
ui/Pytest/test_Range.py
MoisesHenr/OCEAN
e99c853893adc89652794ace62fcc8ffa78aa7ac
[ "MIT" ]
1
2021-07-04T02:58:29.000Z
2021-07-04T02:58:29.000Z
ui/Pytest/test_Range.py
MoisesHenr/OCEAN
e99c853893adc89652794ace62fcc8ffa78aa7ac
[ "MIT" ]
2
2021-06-21T20:44:01.000Z
2021-06-23T11:10:56.000Z
# Author: Moises Henrique Pereira # this class handle the functions tests of controller of the component of the numerical features import pytest import sys from PyQt5 import QtWidgets from ui.mainTest import StaticObjects @pytest.mark.parametrize('slider', [1, 2.9, False, ('t1', 't2'), None]) def test_CIR_setSli...
56.257813
113
0.805583
543
7,201
10.574586
0.119705
0.222048
0.02264
0.061129
0.924417
0.918147
0.912748
0.902821
0.89272
0.89272
0
0.02914
0.127899
7,201
128
114
56.257813
0.885191
0.017498
0
0.733945
0
0
0.001414
0
0
0
0
0
0.082569
1
0.119266
false
0
0.036697
0
0.155963
0
0
0
1
null
1
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
9
6221a46e082c35a5b882386742c5234fe505e8f6
9,529
py
Python
test/propagation_warn_only_test.py
lechat/jenkinsflow
87396069dda4f0681829e5d4e264e4f09ae34131
[ "BSD-3-Clause" ]
null
null
null
test/propagation_warn_only_test.py
lechat/jenkinsflow
87396069dda4f0681829e5d4e264e4f09ae34131
[ "BSD-3-Clause" ]
null
null
null
test/propagation_warn_only_test.py
lechat/jenkinsflow
87396069dda4f0681829e5d4e264e4f09ae34131
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2012 - 2015 Lars Hupfeldt Nielsen, Hupfeldt IT # All rights reserved. This work is under a BSD license, see LICENSE.TXT. from pytest import raises from jenkinsflow.flow import serial, parallel, FailedChildJobException, FailedChildJobsException, Propagation, BuildResult from .framework import api_selec...
50.68617
149
0.683702
1,409
9,529
4.314407
0.074521
0.046389
0.054779
0.066952
0.909854
0.900806
0.900806
0.89291
0.89291
0.88633
0
0.062368
0.204114
9,529
187
150
50.957219
0.739188
0.024137
0
0.769231
0
0
0.036364
0
0
0
0
0
0.006993
1
0.06993
false
0
0.027972
0
0.097902
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
62691bca9ef85cd31b36e1e397faed73d833bd04
2,992
py
Python
tests/test_year_2018.py
l0pht511/jpholiday
083145737b61fad3420c066968c4329d17dc3baf
[ "MIT" ]
179
2017-10-05T12:41:10.000Z
2022-03-24T22:18:25.000Z
tests/test_year_2018.py
l0pht511/jpholiday
083145737b61fad3420c066968c4329d17dc3baf
[ "MIT" ]
17
2018-10-23T00:51:13.000Z
2021-11-22T11:40:06.000Z
tests/test_year_2018.py
l0pht511/jpholiday
083145737b61fad3420c066968c4329d17dc3baf
[ "MIT" ]
17
2018-10-19T11:13:07.000Z
2022-01-29T08:05:56.000Z
# coding: utf-8 import datetime import unittest import jpholiday class TestYear2018(unittest.TestCase): def test_holiday(self): """ 2018年祝日 """ self.assertEqual(jpholiday.is_holiday_name(datetime.date(2018, 1, 1)), '元日') self.assertEqual(jpholiday.is_holiday_name(datetime....
53.428571
94
0.684492
390
2,992
5.102564
0.164103
0.248744
0.241206
0.261307
0.819095
0.819095
0.819095
0.774874
0.548744
0.495477
0
0.094741
0.167447
2,992
55
95
54.4
0.704135
0.013703
0
0
0
0
0.03714
0
0
0
0
0
0.825
1
0.075
false
0
0.075
0
0.175
0
0
0
0
null
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
658e190370f91502c18753af3de961237b0e0150
129
py
Python
model/__init__.py
Pearl-UTexas/DUST-net
debea05a04e9340109176c7803909b50f84892ba
[ "MIT" ]
null
null
null
model/__init__.py
Pearl-UTexas/DUST-net
debea05a04e9340109176c7803909b50f84892ba
[ "MIT" ]
null
null
null
model/__init__.py
Pearl-UTexas/DUST-net
debea05a04e9340109176c7803909b50f84892ba
[ "MIT" ]
null
null
null
from .von_mises_stiefel import * from .von_mises_fisher import * from .model import * from .metrics import * from .loss import *
21.5
32
0.767442
19
129
5
0.473684
0.421053
0.252632
0
0
0
0
0
0
0
0
0
0.155039
129
5
33
25.8
0.87156
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
65c2afb8b2d130681f854965474e19205bdcd378
5,087
py
Python
tests/test_observable/test_dowhile.py
yutiansut/RxPY
c3bbba77f9ebd7706c949141725e220096deabd4
[ "ECL-2.0", "Apache-2.0" ]
1
2018-11-16T09:07:13.000Z
2018-11-16T09:07:13.000Z
tests/test_observable/test_dowhile.py
yutiansut/RxPY
c3bbba77f9ebd7706c949141725e220096deabd4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
tests/test_observable/test_dowhile.py
yutiansut/RxPY
c3bbba77f9ebd7706c949141725e220096deabd4
[ "ECL-2.0", "Apache-2.0" ]
1
2020-05-08T08:23:08.000Z
2020-05-08T08:23:08.000Z
import unittest from rx.testing import TestScheduler, ReactiveTest class TestDoWhile(ReactiveTest, unittest.TestCase): def test_dowhile_always_false(self): scheduler = TestScheduler() xs = scheduler.create_cold_observable( self.on_next(50, 1), self.on_next(100, 2), ...
31.79375
68
0.525654
621
5,087
4.128824
0.115942
0.156786
0.226209
0.060062
0.875585
0.849064
0.834633
0.803042
0.803042
0.803042
0
0.104478
0.354629
5,087
159
69
31.993711
0.676515
0
0
0.797101
0
0
0.000786
0
0
0
0
0
0.086957
1
0.101449
false
0
0.014493
0.028986
0.181159
0
0
0
0
null
0
1
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
8
65cff554030214e04d5a8a2df9a42dced600b89e
11,487
py
Python
test/nn/test_nonlinearities_fliprotations.py
steven-lang/e2cnn
48f49760766ec958b52d0dd7b02483886dfa2096
[ "BSD-3-Clause" ]
356
2019-11-22T10:37:22.000Z
2022-03-25T14:42:45.000Z
test/nn/test_nonlinearities_fliprotations.py
steven-lang/e2cnn
48f49760766ec958b52d0dd7b02483886dfa2096
[ "BSD-3-Clause" ]
52
2020-01-20T16:51:36.000Z
2022-03-31T21:40:19.000Z
test/nn/test_nonlinearities_fliprotations.py
steven-lang/e2cnn
48f49760766ec958b52d0dd7b02483886dfa2096
[ "BSD-3-Clause" ]
48
2019-12-11T09:29:30.000Z
2022-03-18T17:51:55.000Z
import unittest from unittest import TestCase from e2cnn.nn import * from e2cnn.gspaces import * import random class TestNonLinearitiesFlipRotations(TestCase): def test_dihedral_norm_relu(self): N = 8 g = FlipRot2dOnR2(N) r = FieldType(g, list(g.representations.values()) * ...
30.149606
107
0.572038
1,297
11,487
4.903624
0.074017
0.058176
0.089937
0.07956
0.908648
0.894182
0.867138
0.836006
0.819811
0.79827
0
0.022485
0.322451
11,487
380
108
30.228947
0.794681
0
0
0.758333
0
0
0.026813
0
0
0
0
0
0.029167
1
0.1125
false
0
0.020833
0
0.1375
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
65d01a4d1ad87624330d3bcc5a359ecdd7b3f0fa
5,880
py
Python
TestModule/AnonymousPlayerTest.py
INYEONGKIM/Quattro
0fd70b08716f71404f520941791cd314d90de83a
[ "MIT" ]
null
null
null
TestModule/AnonymousPlayerTest.py
INYEONGKIM/Quattro
0fd70b08716f71404f520941791cd314d90de83a
[ "MIT" ]
null
null
null
TestModule/AnonymousPlayerTest.py
INYEONGKIM/Quattro
0fd70b08716f71404f520941791cd314d90de83a
[ "MIT" ]
null
null
null
import unittest from QuattroComponents.Player import Anonymous_player from QuattroComponents.Card import Card from TestModule.GetMethodName import get_method_name_decorator from collections import deque def reset_player_attributes(anonymous: Anonymous_player): anonymous.player1_changed = False anonymous.playe...
43.880597
126
0.633844
679
5,880
5.27246
0.091311
0.108939
0.06257
0.082123
0.872905
0.848603
0.838827
0.836034
0.836034
0.830168
0
0.013209
0.253231
5,880
133
127
44.210526
0.802095
0.012245
0
0.8125
0
0
0.042916
0
0
0
0
0
0.1875
1
0.035714
false
0
0.044643
0
0.107143
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
65df788e5e4510c44fcdee2981d1538a1d6e2abd
801
py
Python
tests/gcs_test.py
rishi1111/vaex
b3516201d04e9277b8918dadab9df33a7c83c01a
[ "MIT" ]
1
2020-08-31T17:53:01.000Z
2020-08-31T17:53:01.000Z
tests/gcs_test.py
rishi1111/vaex
b3516201d04e9277b8918dadab9df33a7c83c01a
[ "MIT" ]
null
null
null
tests/gcs_test.py
rishi1111/vaex
b3516201d04e9277b8918dadab9df33a7c83c01a
[ "MIT" ]
null
null
null
import vaex import pytest @pytest.mark.skipif(vaex.utils.devmode, reason='runs too slow when developing') def test_gcs(): df = vaex.open('gs://vaex-data/testing/xys.hdf5?cache=false&token=anon') assert df.x.tolist() == [1, 2] assert df.y.tolist() == [3, 4] assert df.s.tolist() == ['5', '6'] df = ...
33.375
83
0.627965
129
801
3.875969
0.317829
0.144
0.06
0.072
0.87
0.87
0.836
0.836
0.776
0.776
0
0.026706
0.158552
801
23
84
34.826087
0.715134
0
0
0.444444
0
0.055556
0.28839
0.209738
0
0
0
0
0.5
1
0.111111
false
0
0.111111
0
0.222222
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
0297324475a0f71073a283c42e8668872ade345c
38,375
py
Python
sdk/python/pulumi_databricks/permissions.py
pulumi/pulumi-databricks
43580d4adbd04b72558f368ff0eef3d03432ebc1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_databricks/permissions.py
pulumi/pulumi-databricks
43580d4adbd04b72558f368ff0eef3d03432ebc1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_databricks/permissions.py
pulumi/pulumi-databricks
43580d4adbd04b72558f368ff0eef3d03432ebc1
[ "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 ...
41.802832
279
0.645368
4,544
38,375
5.15757
0.042914
0.108892
0.126643
0.152074
0.925969
0.917648
0.907407
0.901135
0.891961
0.864397
0
0.000034
0.23445
38,375
917
280
41.848419
0.797706
0.165524
0
0.885434
1
0
0.109275
0.010603
0
0
0
0
0
1
0.166939
false
0.001637
0.011457
0.03437
0.278232
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
02d4e6b3a3eee626ac3250b843b87270720d699e
56
py
Python
tests/test_init.py
keisuke-umezawa/chutil
df60440983c38a6dbbe4710019bcec5e83331904
[ "MIT" ]
1
2019-02-16T06:20:50.000Z
2019-02-16T06:20:50.000Z
tests/test_init.py
keisuke-umezawa/chutil
df60440983c38a6dbbe4710019bcec5e83331904
[ "MIT" ]
null
null
null
tests/test_init.py
keisuke-umezawa/chutil
df60440983c38a6dbbe4710019bcec5e83331904
[ "MIT" ]
null
null
null
import chutil as module def test_versions(): pass
9.333333
23
0.714286
8
56
4.875
1
0
0
0
0
0
0
0
0
0
0
0
0.232143
56
5
24
11.2
0.906977
0
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
b824108791760c3044be86fca8557a92a30f2d41
27,400
py
Python
gsf/function_class.py
mtakahiro/gsf
c09c5d32a45b0277c469d2d3cb2f8c11f1fc0278
[ "MIT" ]
9
2019-08-23T19:00:54.000Z
2022-02-23T17:57:41.000Z
gsf/function_class.py
mtakahiro/gsf
c09c5d32a45b0277c469d2d3cb2f8c11f1fc0278
[ "MIT" ]
17
2020-05-22T17:41:15.000Z
2022-03-20T03:32:48.000Z
gsf/function_class.py
mtakahiro/gsf
c09c5d32a45b0277c469d2d3cb2f8c11f1fc0278
[ "MIT" ]
1
2020-02-01T22:55:37.000Z
2020-02-01T22:55:37.000Z
import numpy as np import sys import scipy.interpolate as interpolate import asdf from .function import * from .basic_func import Basic class Func: ''' The list of (possible) `Func` attributes is given below: Attributes ---------- ''' def __init__(self, MB, dust_model=0): ''' ...
31.823461
123
0.464964
3,865
27,400
3.194825
0.077878
0.066569
0.026239
0.037901
0.871234
0.855037
0.83965
0.820376
0.806122
0.793732
0
0.040324
0.382737
27,400
861
124
31.823461
0.689765
0.111934
0
0.874172
0
0
0.033716
0
0
0
0
0
0
1
0.02649
false
0.006623
0.023179
0
0.084437
0.004967
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
b8ae72a8774e3f5e5b83670734de99743ac5f598
94
py
Python
Server/programs/__init__.py
VHirtz/CC-mastermind
11dc4e043ed67c86e66230812cbd86f736e6a7d1
[ "MIT" ]
null
null
null
Server/programs/__init__.py
VHirtz/CC-mastermind
11dc4e043ed67c86e66230812cbd86f736e6a7d1
[ "MIT" ]
null
null
null
Server/programs/__init__.py
VHirtz/CC-mastermind
11dc4e043ed67c86e66230812cbd86f736e6a7d1
[ "MIT" ]
null
null
null
from . import program from . import turtle_test from . import antoine_test from . import dance
23.5
26
0.797872
14
94
5.214286
0.5
0.547945
0.383562
0
0
0
0
0
0
0
0
0
0.159574
94
4
27
23.5
0.924051
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
b285955d688db6c4b472e2c5faffe22749cd5bcf
7,081
py
Python
ssh/factorcheck.py
riquelmev/cs338
cdbff5e25b112a9fb2e039f59c0ebf036649ffd8
[ "MIT" ]
null
null
null
ssh/factorcheck.py
riquelmev/cs338
cdbff5e25b112a9fb2e039f59c0ebf036649ffd8
[ "MIT" ]
null
null
null
ssh/factorcheck.py
riquelmev/cs338
cdbff5e25b112a9fb2e039f59c0ebf036649ffd8
[ "MIT" ]
null
null
null
import numpy import math print(math.lcm(0x00eca08bfa42dcad582302232a80813894fd2e4b842dca21eba465619a0d464a9f864ab2e9c0be42367d63c595e81385dcb66bbf8242cddb848969f883af2fbb8c1490a3932c03d15b2d7dfb08dd2c61e05978fbfd337e70ba838574cfe443658910aef9303e968d32351339c14a3c08920a5c1a854cea5af98bd32f1098a2fc5f8a468009c7c063f48c2...
337.190476
1,320
0.990679
26
7,081
269.807692
0.538462
0.265146
0
0
0
0
0
0
0
0
0
0.86223
0.00466
7,081
20
1,321
354.05
0.133087
0
0
0
0
0
0
0
0
1
0.328202
0
0
1
0
true
0
0.166667
0
0.166667
0.416667
1
0
1
null
1
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
1
0
0
0
0
0
1
0
0
0
0
1
0
10
b2ae0f0ae136e69e9eedb942d08d354586e0fafa
4,850
py
Python
HyperAPI/hdp_api/routes/nitro.py
RomainGeffraye/HyperAPI
6bcd831ee48abb3a4f67f85051bc0d2a07c7aaef
[ "BSD-3-Clause" ]
null
null
null
HyperAPI/hdp_api/routes/nitro.py
RomainGeffraye/HyperAPI
6bcd831ee48abb3a4f67f85051bc0d2a07c7aaef
[ "BSD-3-Clause" ]
null
null
null
HyperAPI/hdp_api/routes/nitro.py
RomainGeffraye/HyperAPI
6bcd831ee48abb3a4f67f85051bc0d2a07c7aaef
[ "BSD-3-Clause" ]
null
null
null
from HyperAPI.hdp_api.routes import Resource, Route from HyperAPI.hdp_api.routes.base.version_management import available_since class Nitro(Resource): name = "nitro" class _getForecasts(Route): name = "getForecasts" httpMethod = Route.POST path = "/nitro/projects/{project_ID}/datasets...
38.188976
113
0.640412
467
4,850
6.342612
0.11349
0.080351
0.18366
0.27549
0.77549
0.759284
0.759284
0.759284
0.759284
0.759284
0
0.001104
0.252784
4,850
126
114
38.492063
0.816225
0
0
0.553571
0
0
0.319381
0.214227
0
0
0
0
0
1
0
false
0
0.017857
0
0.142857
0
0
0
0
null
0
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a2ac4d61989a683d4c9f7b828fb2128fcf9a33a2
7,934
py
Python
ivy/container/gradients.py
Aarsh2001/ivy
827164d7d31bd08c5287bbd1ac9ccce588b733bc
[ "Apache-2.0" ]
null
null
null
ivy/container/gradients.py
Aarsh2001/ivy
827164d7d31bd08c5287bbd1ac9ccce588b733bc
[ "Apache-2.0" ]
null
null
null
ivy/container/gradients.py
Aarsh2001/ivy
827164d7d31bd08c5287bbd1ac9ccce588b733bc
[ "Apache-2.0" ]
null
null
null
from typing import Optional, Union, List, Dict # local import ivy from ivy.container.base import ContainerBase # noinspection PyMissingConstructor class ContainerWithGradients(ContainerBase): @staticmethod def static_optimizer_update( w, effective_grad, lr, inplace=None, ...
25.511254
70
0.515755
792
7,934
4.886364
0.088384
0.083979
0.04832
0.062016
0.92739
0.917829
0.917829
0.856848
0.856848
0.856848
0
0.017172
0.40547
7,934
310
71
25.593548
0.803265
0.004916
0
0.870748
0
0
0.009123
0.002914
0
0
0
0
0
1
0.034014
false
0
0.010204
0.034014
0.081633
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
0c5539475c0da1f3dfc53cbf5dc335c43077d9cf
2,835
py
Python
services/backend/expiring_links/tests/test_expiring_link_generator_serializer.py
patpio/drf_images_api
ef689bac10ce8b9d2f03d6b647fa4bbd70b02f1c
[ "Beerware" ]
1
2022-02-27T16:34:46.000Z
2022-02-27T16:34:46.000Z
services/backend/expiring_links/tests/test_expiring_link_generator_serializer.py
patpio/drf_images_api
ef689bac10ce8b9d2f03d6b647fa4bbd70b02f1c
[ "Beerware" ]
null
null
null
services/backend/expiring_links/tests/test_expiring_link_generator_serializer.py
patpio/drf_images_api
ef689bac10ce8b9d2f03d6b647fa4bbd70b02f1c
[ "Beerware" ]
null
null
null
import pytest from expiring_links.serializers import ExpiringLinkGeneratorSerializer @pytest.mark.serializers def test_fields(db, create_test_expiring_link_serializer_data): assert list(create_test_expiring_link_serializer_data.keys()) == ['image_id', 'expiration_time'] @pytest.mark.serializers def test_valid_...
42.954545
118
0.71358
313
2,835
5.971246
0.15016
0.171215
0.144462
0.176565
0.860888
0.815944
0.778491
0.720706
0.720706
0.720706
0
0.004052
0.216578
2,835
65
119
43.615385
0.837461
0
0
0.627907
0
0
0.047619
0
0
0
0
0
0.232558
1
0.139535
false
0
0.046512
0
0.186047
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
0c553d8f4165e63fa177620f1fa3f79bb1b9cb45
91,609
py
Python
com/vmware/nsx/trust_management_client.py
adammillerio/vsphere-automation-sdk-python
c07e1be98615201139b26c28db3aa584c4254b66
[ "MIT" ]
null
null
null
com/vmware/nsx/trust_management_client.py
adammillerio/vsphere-automation-sdk-python
c07e1be98615201139b26c28db3aa584c4254b66
[ "MIT" ]
null
null
null
com/vmware/nsx/trust_management_client.py
adammillerio/vsphere-automation-sdk-python
c07e1be98615201139b26c28db3aa584c4254b66
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #--------------------------------------------------------------------------- # Copyright 2020 VMware, Inc. All rights reserved. # AUTO GENERATED FILE -- DO NOT MODIFY! # # vAPI stub file for package com.vmware.nsx.trust_management. #-------------------------------------------------------------...
44.40572
156
0.596492
9,069
91,609
5.798434
0.039365
0.079755
0.092705
0.114099
0.909101
0.893394
0.872837
0.856445
0.847393
0.839558
0
0.000745
0.296554
91,609
2,062
157
44.427255
0.815276
0.270388
0
0.727135
1
0.002268
0.322016
0.227404
0
0
0
0
0
1
0.026455
false
0
0.040816
0
0.100529
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
0c5c225bea97b848df7068538bc1df5271634638
10,326
py
Python
tests/test_rundramatiq_command.py
BradleyKirton/django_dramatiq
93a4a9ae39aee643cc4a987b18030ad8d1fc8480
[ "Apache-2.0" ]
null
null
null
tests/test_rundramatiq_command.py
BradleyKirton/django_dramatiq
93a4a9ae39aee643cc4a987b18030ad8d1fc8480
[ "Apache-2.0" ]
null
null
null
tests/test_rundramatiq_command.py
BradleyKirton/django_dramatiq
93a4a9ae39aee643cc4a987b18030ad8d1fc8480
[ "Apache-2.0" ]
null
null
null
import os import sys from io import StringIO from unittest.mock import patch from django.core.management import call_command from django_dramatiq.management.commands import rundramatiq def test_rundramatiq_command_autodiscovers_modules(): assert rundramatiq.Command().discover_tasks_modules() == [ "django...
35.122449
93
0.673833
1,228
10,326
5.456026
0.079805
0.074627
0.126269
0.106418
0.92
0.900299
0.887313
0.875224
0.871194
0.850299
0
0.008846
0.200852
10,326
294
94
35.122449
0.803078
0.127445
0
0.775229
0
0
0.361723
0.214095
0
0
0
0
0.091743
1
0.045872
false
0
0.027523
0
0.073395
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
a7d4fbe6bb2f93758e5bbd91a20e5e655a876720
7,386
py
Python
test_undirect_graf.py
rodrigondec/Grafos
dd3bb7ffd56909395cc211c6d68f9e3eaa5fa9ba
[ "Unlicense" ]
null
null
null
test_undirect_graf.py
rodrigondec/Grafos
dd3bb7ffd56909395cc211c6d68f9e3eaa5fa9ba
[ "Unlicense" ]
null
null
null
test_undirect_graf.py
rodrigondec/Grafos
dd3bb7ffd56909395cc211c6d68f9e3eaa5fa9ba
[ "Unlicense" ]
null
null
null
from grafo import Grafo, DiGrafo from no import No from aresta import Aresta import unittest class TestStringMethods(unittest.TestCase): def setUp(self): self.grafo = Grafo() def test_atingivel(self): self.grafo.insertNo(No(1)) self.grafo.insertNo(No(2)) self.grafo.insertNo(No(3)) self.grafo.insertNo(No(4...
29.544
58
0.716084
1,154
7,386
4.557192
0.038995
0.320023
0.242442
0.270964
0.941624
0.93706
0.887241
0.887051
0.869557
0.86138
0
0.04103
0.105741
7,386
250
59
29.544
0.755185
0
0
0.839024
0
0
0.001083
0
0
0
0
0
0.185366
0
null
null
0
0.019512
null
null
0.004878
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
1
0
0
0
0
0
0
0
0
11
ac1b3ebd8ffb64179ceb128585149b4d27bf039c
575
py
Python
content_f_conditions/ex45_multiple_conditions.py
Alyssonmach/learning-python-with-codes
e5ef70f3b56712e98449b3053eb34416b8025cb1
[ "MIT" ]
3
2020-11-28T08:26:54.000Z
2020-12-23T18:37:37.000Z
content_f_conditions/ex45_multiple_conditions.py
Alyssonmach/learning-python-with-codes
e5ef70f3b56712e98449b3053eb34416b8025cb1
[ "MIT" ]
1
2021-02-12T12:17:49.000Z
2021-02-12T12:17:49.000Z
content_f_conditions/ex45_multiple_conditions.py
Alyssonmach/learning-python-with-codes
e5ef70f3b56712e98449b3053eb34416b8025cb1
[ "MIT" ]
null
null
null
requested_toppings = ['mushrooms', 'extra cheese'] if 'mushrooms' in requested_toppings: print("Adding mushrooms.") if 'pepperoni' in requested_toppings: print("Adding pepperoni.") if 'extra cheese' in requested_toppings: print("Adding extra cheese.") print("\nFinished making your first pizza!") if 'mush...
30.263158
50
0.73913
69
575
6.057971
0.246377
0.284689
0.272727
0.344498
0.832536
0.832536
0.832536
0.602871
0.363636
0.363636
0
0
0.142609
575
19
51
30.263158
0.84787
0
0
0.533333
0
0
0.451389
0
0
0
0
0
0
1
0
false
0
0
0
0
0.533333
0
0
0
null
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7
ac3ca086610d59e10a3cca75b54708abf363a598
6,194
py
Python
Script/WDI_writer_functions.py
Riemer1818/Cattlelyst_wikibase_2021
1f3e3199391844206e6621e63756461bf984bf36
[ "MIT" ]
null
null
null
Script/WDI_writer_functions.py
Riemer1818/Cattlelyst_wikibase_2021
1f3e3199391844206e6621e63756461bf984bf36
[ "MIT" ]
null
null
null
Script/WDI_writer_functions.py
Riemer1818/Cattlelyst_wikibase_2021
1f3e3199391844206e6621e63756461bf984bf36
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from wikidataintegrator import wdi_core, wdi_login import logging import pickle __author__ = "Riemer van der Vliet" __copyright__ = "Copyright 2020, Laboratory of Systems and Synthetic Biology" __credits__ = ["Riemer van der Vliet", "Jasper Koehorst"] __license_...
30.512315
102
0.66516
813
6,194
4.912669
0.186962
0.071607
0.036054
0.042063
0.800451
0.794692
0.782674
0.780921
0.780921
0.780921
0
0.002923
0.226671
6,194
202
103
30.663366
0.830898
0.314659
0
0.826087
0
0
0.546805
0.187717
0
0
0
0
0
1
0.076087
false
0
0.043478
0
0.217391
0.021739
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
ac460ebb2a0293670e0c132534dbc9da8b9efb13
5,588
py
Python
rio_tiler/mosaic/methods/defaults.py
vincentsarago/rio-tiler
21022a0766009a64acf0038dc6adae33d9831a41
[ "BSD-3-Clause" ]
77
2017-10-12T18:17:14.000Z
2019-01-17T15:39:24.000Z
rio_tiler/mosaic/methods/defaults.py
vincentsarago/rio-tiler
21022a0766009a64acf0038dc6adae33d9831a41
[ "BSD-3-Clause" ]
40
2017-10-17T08:31:51.000Z
2019-01-11T22:00:44.000Z
rio_tiler/mosaic/methods/defaults.py
vincentsarago/rio-tiler
21022a0766009a64acf0038dc6adae33d9831a41
[ "BSD-3-Clause" ]
23
2017-10-13T21:41:08.000Z
2019-01-09T06:08:27.000Z
"""rio_tiler.mosaic.methods.defaults: default mosaic filling methods.""" import numpy from .base import MosaicMethodBase class FirstMethod(MosaicMethodBase): """Feed the mosaic tile with the first pixel available.""" def __init__(self): """Overwrite base and init First method.""" super(Firs...
29.256545
86
0.573193
707
5,588
4.449788
0.120226
0.175461
0.064844
0.071202
0.850922
0.850922
0.842339
0.765099
0.765099
0.755563
0
0.008678
0.298855
5,588
190
87
29.410526
0.794283
0.163386
0
0.75
0
0
0
0
0
0
0
0
0
1
0.141667
false
0
0.016667
0
0.325
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
ac6fc1b210632046a04f35464d2d89383a795143
876
py
Python
N-Gram/PlotUtils.py
FindTheTruth/Natural-Language-Processing
a52c777e505dd5ccd9f892fbf98ba50d4c29b31b
[ "Apache-2.0" ]
1
2022-03-23T09:26:59.000Z
2022-03-23T09:26:59.000Z
N-Gram/PlotUtils.py
FindTheTruth/Natural-Language-Processing
a52c777e505dd5ccd9f892fbf98ba50d4c29b31b
[ "Apache-2.0" ]
null
null
null
N-Gram/PlotUtils.py
FindTheTruth/Natural-Language-Processing
a52c777e505dd5ccd9f892fbf98ba50d4c29b31b
[ "Apache-2.0" ]
null
null
null
import matplotlib.pyplot as plt x = ["N=1", "N=2", "N=3", "N=4", "N=5","N=6"] y = [0.9365, 0.9865, 0.9895, 0.9950,0.9880,0.9615] rects = plt.barh(x, y, color=["red", "blue", "purple", "violet", "green", "black"]) for rect in rects: # rects 是三根柱子的集合 width = rect.get_width() print(width) plt.text(width, rec...
36.5
83
0.589041
172
876
2.965116
0.296512
0.082353
0.094118
0.027451
0.815686
0.815686
0.815686
0.815686
0.815686
0.815686
0
0.162198
0.148402
876
24
84
36.5
0.521448
0.121005
0
0.736842
0
0
0.145098
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0.105263
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
3bd6298a19903f15f7e907c194b8869777800558
21,160
py
Python
model_blocks/tests.py
aptivate/django-model-blocks
5057ed57887683d777f04c95d67d268d21a18c02
[ "BSD-3-Clause" ]
6
2015-01-20T08:43:44.000Z
2020-08-13T01:57:10.000Z
model_blocks/tests.py
techdragon/django-model-blocks
8175d7353d792cb720b4ac356f4538888bf7747c
[ "BSD-3-Clause" ]
1
2016-10-16T17:35:07.000Z
2016-10-16T17:35:07.000Z
model_blocks/tests.py
techdragon/django-model-blocks
8175d7353d792cb720b4ac356f4538888bf7747c
[ "BSD-3-Clause" ]
null
null
null
""" Test the model blocks """ import datetime from django.test import TestCase from mock import Mock from django.db.models import Model, IntegerField, DateTimeField, CharField from django.template import Context, Template, TemplateSyntaxError from example_project.pepulator_factory.models import Pepulator, Distribut...
44.453782
304
0.578544
2,168
21,160
5.446033
0.095018
0.031507
0.023122
0.037351
0.870077
0.844584
0.835945
0.824257
0.822902
0.784958
0
0.024127
0.308554
21,160
475
305
44.547368
0.782858
0.094518
0
0.704969
0
0.015528
0.353259
0.129527
0
0
0
0
0.118012
1
0.086957
false
0
0.024845
0
0.158385
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
ce34ebaf15612703873e6a27020070246ab042d8
7,197
py
Python
test-framework/test-suites/integration/tests/add/test_add_host_bonded.py
knutsonchris/stacki
33087dd5fa311984a66ccecfeee6f9c2c25f665d
[ "BSD-3-Clause" ]
123
2015-05-12T23:36:45.000Z
2017-07-05T23:26:57.000Z
test-framework/test-suites/integration/tests/add/test_add_host_bonded.py
knutsonchris/stacki
33087dd5fa311984a66ccecfeee6f9c2c25f665d
[ "BSD-3-Clause" ]
177
2015-06-05T19:17:47.000Z
2017-07-07T17:57:24.000Z
test-framework/test-suites/integration/tests/add/test_add_host_bonded.py
knutsonchris/stacki
33087dd5fa311984a66ccecfeee6f9c2c25f665d
[ "BSD-3-Clause" ]
32
2015-06-07T02:25:03.000Z
2017-06-23T07:35:35.000Z
import json from textwrap import dedent import pytest @pytest.mark.usefixtures("add_host_with_interface") class TestAddHostBonded: def test_no_hosts(self, host): result = host.run('stack add host bonded') assert result.rc == 255 assert result.stderr == dedent('''\ error - "host" argument is required {ho...
28.559524
106
0.632208
966
7,197
4.675983
0.089027
0.016383
0.071729
0.075714
0.911003
0.911003
0.911003
0.911003
0.89462
0.864069
0
0.039199
0.202445
7,197
251
107
28.673307
0.747735
0.0528
0
0.730233
0
0.032558
0.489052
0.007348
0
0
0
0
0.144186
1
0.055814
false
0
0.013953
0
0.074419
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
020e09341ffea9ce59519650e80614b26a974b81
6,610
py
Python
tests/mixins.py
jarkkorantala/sqlalchemy-utils
7cee65f0a3074245b853425e19a732aa274bfa3e
[ "BSD-3-Clause" ]
879
2015-01-01T12:06:35.000Z
2022-03-27T16:13:05.000Z
tests/mixins.py
jarkkorantala/sqlalchemy-utils
7cee65f0a3074245b853425e19a732aa274bfa3e
[ "BSD-3-Clause" ]
418
2015-01-02T08:43:43.000Z
2022-03-25T15:49:21.000Z
tests/mixins.py
jarkkorantala/sqlalchemy-utils
7cee65f0a3074245b853425e19a732aa274bfa3e
[ "BSD-3-Clause" ]
295
2015-01-06T14:19:33.000Z
2022-03-26T16:20:50.000Z
import pytest import sqlalchemy as sa class ThreeLevelDeepOneToOne(object): @pytest.fixture def Catalog(self, Base, Category): class Catalog(Base): __tablename__ = 'catalog' id = sa.Column('_id', sa.Integer, primary_key=True) category = sa.orm.relationship( ...
28.864629
79
0.522542
596
6,610
5.558725
0.077181
0.054331
0.079686
0.043465
0.832176
0.822819
0.822819
0.774525
0.760942
0.727136
0
0
0.381846
6,610
228
80
28.991228
0.810817
0
0
0.73057
0
0
0.090469
0
0
0
0
0
0
1
0.082902
false
0.015544
0.010363
0.005181
0.238342
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
026bd83279fbac0f51bacbf47138a5022a5dd278
27,723
py
Python
src/ezcode/knapsack/__init__.py
zheng-gao/ez_code
fbf48990291aa57d6436d4548b0a6c25dfb8f82d
[ "MIT" ]
null
null
null
src/ezcode/knapsack/__init__.py
zheng-gao/ez_code
fbf48990291aa57d6436d4548b0a6c25dfb8f82d
[ "MIT" ]
null
null
null
src/ezcode/knapsack/__init__.py
zheng-gao/ez_code
fbf48990291aa57d6436d4548b0a6c25dfb8f82d
[ "MIT" ]
null
null
null
from typing import Callable class Knapsack: @staticmethod def best_value( capacity: int, sizes: list, values: list, quantities, min_max: Callable = max, zero_capacity_value=0, fill_to_capacity=True, output_item_list=True ): if capacit...
48.046794
145
0.537171
3,618
27,723
3.872305
0.049475
0.086296
0.057388
0.053676
0.889507
0.879515
0.863812
0.85025
0.821984
0.80257
0
0.013545
0.366194
27,723
576
146
48.130208
0.783791
0.165386
0
0.888172
0
0
0.026493
0
0
0
0
0
0.004301
1
0.021505
false
0
0.002151
0
0.088172
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
65ffb62169d811cc14af150c5eafa69ec8772792
19,924
py
Python
data/battle_animation_scripts.py
kielbasiago/WorldsCollide
5aa7cffdecd14754c9eaa83cd0ad4d0282cc2cc2
[ "MIT" ]
7
2022-01-15T02:53:53.000Z
2022-02-17T00:51:32.000Z
data/battle_animation_scripts.py
asilverthorn/WorldsCollide
5aa7cffdecd14754c9eaa83cd0ad4d0282cc2cc2
[ "MIT" ]
8
2022-01-16T02:45:24.000Z
2022-03-21T02:08:27.000Z
data/battle_animation_scripts.py
asilverthorn/WorldsCollide
5aa7cffdecd14754c9eaa83cd0ad4d0282cc2cc2
[ "MIT" ]
5
2022-01-15T02:53:38.000Z
2022-01-19T17:42:10.000Z
# List of addresses within the Battle Animation Scripts for the following commands which cause screen flashes: # B0 - Set background palette color addition (absolute) # B5 - Add color to background palette (relative) # AF - Set background palette color subtraction (absolute) # B6 - Subtract color from backgroun...
58.428152
133
0.630546
2,489
19,924
5.046605
0.160305
0.279436
0.298464
0.224902
0.775575
0.766738
0.722793
0.722793
0.722793
0
0
0.152435
0.294067
19,924
340
134
58.6
0.740633
0.674312
0
0.144144
0
0
0.069106
0
0
0
0.315718
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
5a2fba5afd104e89bb7c06d80b25ac575e16cde2
2,528
py
Python
app/auth/forms/__init__.py
jg-725/IS219-FlaskAppProject
316aa298eda1bcda766ed085bb6f26ca7da7dfee
[ "BSD-3-Clause" ]
null
null
null
app/auth/forms/__init__.py
jg-725/IS219-FlaskAppProject
316aa298eda1bcda766ed085bb6f26ca7da7dfee
[ "BSD-3-Clause" ]
null
null
null
app/auth/forms/__init__.py
jg-725/IS219-FlaskAppProject
316aa298eda1bcda766ed085bb6f26ca7da7dfee
[ "BSD-3-Clause" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import validators from wtforms.fields import * class login_form(FlaskForm): email = EmailField('Email Address', [ validators.DataRequired(), ]) password = PasswordField('Password', [ validators.DataRequired(), validators.length(min=6, m...
32.410256
120
0.679589
260
2,528
6.553846
0.276923
0.103286
0.077465
0.065728
0.801056
0.787559
0.787559
0.787559
0.751174
0.751174
0
0.006458
0.203718
2,528
78
121
32.410256
0.84004
0
0
0.709091
0
0
0.259391
0
0
0
0
0
0
1
0
false
0.236364
0.054545
0
0.6
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
1
0
0
9
5a3481b2ed60e03ed802eb9ef17136804b5ee7a0
981
py
Python
pyhack/boris_stag.py
Krissmedt/runko
073306de9284f1502d0538d33545bc14c80e8b93
[ "MIT" ]
null
null
null
pyhack/boris_stag.py
Krissmedt/runko
073306de9284f1502d0538d33545bc14c80e8b93
[ "MIT" ]
null
null
null
pyhack/boris_stag.py
Krissmedt/runko
073306de9284f1502d0538d33545bc14c80e8b93
[ "MIT" ]
null
null
null
import numpy as np from pyhack.py_runko_aux import * from pyhack.boris import * def boris_staggered(tile,dtf=1): c = tile.cfl cont = tile.get_container(0) pos = py_pos(cont) vel = py_vel(cont) E,B = py_em(cont) nq = pos.shape[0] dims = pos.shape[1] vel = boris_rp(vel,E,B,c,cont.q,dtf...
18.509434
48
0.579001
183
981
2.989071
0.240437
0.014625
0.058501
0.080439
0.8117
0.8117
0.8117
0.8117
0.8117
0.8117
0
0.02439
0.247706
981
52
49
18.865385
0.716802
0
0
0.787879
0
0
0
0
0
0
0
0
0
1
0.060606
false
0
0.090909
0
0.151515
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
5a395024f625042332e48560226cfb73aaa1b4a7
14,129
py
Python
angr/procedures/definitions/win32_d3dcompiler_47.py
r4b3rt/angr
c133cfd4f83ffea2a1d9e064241e9459eaabc55f
[ "BSD-2-Clause" ]
null
null
null
angr/procedures/definitions/win32_d3dcompiler_47.py
r4b3rt/angr
c133cfd4f83ffea2a1d9e064241e9459eaabc55f
[ "BSD-2-Clause" ]
null
null
null
angr/procedures/definitions/win32_d3dcompiler_47.py
r4b3rt/angr
c133cfd4f83ffea2a1d9e064241e9459eaabc55f
[ "BSD-2-Clause" ]
null
null
null
# pylint:disable=line-too-long import logging from ...sim_type import SimTypeFunction, SimTypeShort, SimTypeInt, SimTypeLong, SimTypeLongLong, SimTypeDouble, SimTypeFloat, SimTypePointer, SimTypeChar, SimStruct, SimTypeFixedSizeArray, SimTypeBottom, SimUnion, SimTypeBool from ...calling...
190.932432
1,222
0.737561
1,429
14,129
7.253324
0.116165
0.07699
0.113459
0.140473
0.820646
0.817077
0.80849
0.789387
0.76604
0.757356
0
0.024334
0.080897
14,129
73
1,223
193.547945
0.773833
0.001982
0
0
0
0
0.217484
0.016445
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
5a7f42aae312bdb1dfd1e806bfb1013a4638beeb
48
py
Python
surge_multiplier_mdp/__init__.py
mbattifarano/surge-multiplier-mdp
8a8477662a2a9b7daa7acb8b8cf486bef0ec8c05
[ "MIT" ]
null
null
null
surge_multiplier_mdp/__init__.py
mbattifarano/surge-multiplier-mdp
8a8477662a2a9b7daa7acb8b8cf486bef0ec8c05
[ "MIT" ]
null
null
null
surge_multiplier_mdp/__init__.py
mbattifarano/surge-multiplier-mdp
8a8477662a2a9b7daa7acb8b8cf486bef0ec8c05
[ "MIT" ]
null
null
null
from .mdp_value_iteration import value_iteration
48
48
0.916667
7
48
5.857143
0.714286
0.682927
0
0
0
0
0
0
0
0
0
0
0.0625
48
1
48
48
0.911111
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
ce5dcda8e728127b9f9d9754ec7ec959e800ef14
31,373
py
Python
modules/users_and_roles_tab.py
scrummastermind/sumologictoolbox
02d9acb970943521685091d36b8d5135e817c22c
[ "Apache-2.0" ]
null
null
null
modules/users_and_roles_tab.py
scrummastermind/sumologictoolbox
02d9acb970943521685091d36b8d5135e817c22c
[ "Apache-2.0" ]
null
null
null
modules/users_and_roles_tab.py
scrummastermind/sumologictoolbox
02d9acb970943521685091d36b8d5135e817c22c
[ "Apache-2.0" ]
null
null
null
class_name = 'users_and_roles_tab' from qtpy import QtCore, QtGui, QtWidgets, uic import os import sys import re import pathlib import json from logzero import logger from modules.sumologic import SumoLogic from modules.shared import ShowTextDialog class users_and_roles_tab(QtWidgets.QWidget): def __init__(self...
48.340524
137
0.597966
2,929
31,373
6.298054
0.100376
0.115358
0.071882
0.042283
0.815363
0.80322
0.791999
0.754703
0.728357
0.720984
0
0.000555
0.310936
31,373
648
138
48.415123
0.852762
0.021611
0
0.739209
0
0.003597
0.084395
0.00075
0
0
0
0
0
1
0.026978
false
0.046763
0.016187
0
0.097122
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
0c92ac74a41c6d27584a5d7d7e530d1077058597
2,385
py
Python
datasets/few_shot_test_pickle.py
PengWan-Yang/few-shot-transformer
c055239061744124c72960420cd4037495952b6d
[ "Apache-2.0" ]
4
2022-02-06T19:51:19.000Z
2022-03-15T21:19:23.000Z
datasets/few_shot_test_pickle.py
PengWan-Yang/few-shot-transformer
c055239061744124c72960420cd4037495952b6d
[ "Apache-2.0" ]
1
2022-02-06T20:00:15.000Z
2022-02-06T20:00:15.000Z
datasets/few_shot_test_pickle.py
PengWan-Yang/few-shot-transformer
c055239061744124c72960420cd4037495952b6d
[ "Apache-2.0" ]
null
null
null
import pickle # modify validation data _few_shot_pickle_file = 'few_shot_test_data.pkl' _few_shot_file = open(_few_shot_pickle_file, 'rb') data_few_shot = pickle.load(_few_shot_file) _few_shot_pickle_file = 'few_shot_val_data.pkl' _few_shot_file = open(_few_shot_pickle_file, 'rb') data_val = pickle.load(_few_shot_...
37.857143
98
0.65283
327
2,385
4.238532
0.143731
0.186869
0.150072
0.159452
0.919192
0.878066
0.878066
0.862193
0.862193
0.862193
0
0.019105
0.231866
2,385
62
99
38.467742
0.737445
0.026415
0
0.75
0
0
0.267703
0.210276
0
0
0
0
0
1
0
false
0
0.022727
0
0.022727
0.068182
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
0ca19eadb115712fb3c48ed0a589480fef063fda
27,687
py
Python
tests/test_home.py
jeroenterheerdt/nexia
93ff554913e1dad6389b54179eca7c4ec1f29371
[ "Apache-2.0" ]
null
null
null
tests/test_home.py
jeroenterheerdt/nexia
93ff554913e1dad6389b54179eca7c4ec1f29371
[ "Apache-2.0" ]
null
null
null
tests/test_home.py
jeroenterheerdt/nexia
93ff554913e1dad6389b54179eca7c4ec1f29371
[ "Apache-2.0" ]
null
null
null
"""Tests for Nexia Home.""" import json import os from os.path import dirname import unittest import pytest from nexia.home import NexiaHome def load_fixture(filename): """Load a fixture.""" test_dir = dirname(__file__) path = os.path.join(test_dir, "fixtures", filename) with open(path) as fptr: ...
44.946429
86
0.674757
3,182
27,687
5.599309
0.073224
0.239939
0.246955
0.202728
0.920189
0.902565
0.882079
0.872369
0.84498
0.84498
0
0.050902
0.205295
27,687
615
87
45.019512
0.758851
0.029797
0
0.688109
0
0
0.073843
0.018507
0
0
0
0
0.555556
1
0.038986
false
0
0.011696
0
0.060429
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
1
0
0
0
0
0
0
0
0
0
10
0ca3cc7e85961f379dcec8f7f5d9db60fd5df51d
138,423
py
Python
dlkit/abstract_osid/calendaring/queries.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
2
2018-02-23T12:16:11.000Z
2020-10-08T17:54:24.000Z
dlkit/abstract_osid/calendaring/queries.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
87
2017-04-21T18:57:15.000Z
2021-12-13T19:43:57.000Z
dlkit/abstract_osid/calendaring/queries.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
1
2018-03-01T16:44:25.000Z
2018-03-01T16:44:25.000Z
"""Implementations of calendaring abstract base class queries.""" # pylint: disable=invalid-name # Method names comply with OSID specification. # pylint: disable=no-init # Abstract classes do not define __init__. # pylint: disable=too-few-public-methods # Some interfaces are specified as 'markers' and inclu...
28.934574
120
0.632409
15,432
138,423
5.531752
0.017172
0.064124
0.07544
0.060352
0.936825
0.903744
0.866059
0.830975
0.808483
0.78994
0
0
0.257898
138,423
4,783
121
28.940623
0.831023
0.598289
0
0.797535
0
0
0
0
0
0
0
0
0
1
0.283451
false
0.208627
0.00088
0
0.507923
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
10
0ce0840b66e590ef2a41c729b631412a225153c7
12,383
py
Python
test/unit/agent/common/util/text.py
dp92987/nginx-amplify-agent
1b2eed6eab52a82f35974928d75044451b4bedaf
[ "BSD-2-Clause" ]
308
2015-11-17T13:15:33.000Z
2022-03-24T12:03:40.000Z
test/unit/agent/common/util/text.py
dp92987/nginx-amplify-agent
1b2eed6eab52a82f35974928d75044451b4bedaf
[ "BSD-2-Clause" ]
211
2015-11-16T15:27:41.000Z
2022-03-28T16:20:15.000Z
test/unit/agent/common/util/text.py
dp92987/nginx-amplify-agent
1b2eed6eab52a82f35974928d75044451b4bedaf
[ "BSD-2-Clause" ]
80
2015-11-16T18:20:30.000Z
2022-03-02T12:47:56.000Z
# -*- coding: utf-8 -*- from hamcrest import * from test.base import BaseTestCase from amplify.agent.common.util.text import ( decompose_format, parse_line, parse_line_split ) __author__ = "Grant Hulegaard" __copyright__ = "Copyright (C) Nginx, Inc. All rights reserved." __license__ = "" __maintainer__ = "Grant...
42.407534
115
0.605023
1,650
12,383
4.230303
0.085455
0.083095
0.112034
0.040831
0.938252
0.938252
0.932235
0.923352
0.918911
0.918911
0
0.053244
0.264395
12,383
291
116
42.553265
0.713031
0.046112
0
0.785047
0
0.11215
0.334322
0.10367
0
0
0
0
0.271028
1
0.056075
false
0
0.014019
0
0.074766
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
0ce9ddf8982fdd13b64038e356850186f884758e
4,462
py
Python
go/apps/http_api/tests/test_views.py
lynnUg/vumi-go
852f906c46d5d26940bd6699f11488b73bbc3742
[ "BSD-3-Clause" ]
null
null
null
go/apps/http_api/tests/test_views.py
lynnUg/vumi-go
852f906c46d5d26940bd6699f11488b73bbc3742
[ "BSD-3-Clause" ]
null
null
null
go/apps/http_api/tests/test_views.py
lynnUg/vumi-go
852f906c46d5d26940bd6699f11488b73bbc3742
[ "BSD-3-Clause" ]
null
null
null
from go.apps.tests.view_helpers import AppViewsHelper from go.base.tests.helpers import GoDjangoTestCase class TestHttpApiViews(GoDjangoTestCase): def setUp(self): self.app_helper = self.add_helper(AppViewsHelper(u'http_api')) self.client = self.app_helper.get_client() def test_show_stopped(...
40.93578
72
0.61385
482
4,462
5.340249
0.134855
0.081585
0.080808
0.066045
0.879953
0.866744
0.866744
0.848096
0.848096
0.848096
0
0.003042
0.263335
4,462
108
73
41.314815
0.780043
0.013223
0
0.758242
0
0
0.202938
0.047521
0
0
0
0
0.197802
1
0.065934
false
0
0.021978
0
0.098901
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
0b519f8596f5bf7ee53103adc8d550ce1fb62540
68,172
py
Python
tests/test_generate_unique_id_function.py
ssensalo/fastapi
146f57b8f70c5757dc20edc716dba1b96936a8d6
[ "MIT" ]
1
2022-01-08T16:39:28.000Z
2022-01-08T16:39:28.000Z
tests/test_generate_unique_id_function.py
ssensalo/fastapi
146f57b8f70c5757dc20edc716dba1b96936a8d6
[ "MIT" ]
1
2022-01-07T21:04:04.000Z
2022-01-07T21:04:04.000Z
tests/test_generate_unique_id_function.py
ssensalo/fastapi
146f57b8f70c5757dc20edc716dba1b96936a8d6
[ "MIT" ]
null
null
null
import warnings from typing import List from fastapi import APIRouter, FastAPI from fastapi.routing import APIRoute from fastapi.testclient import TestClient from pydantic import BaseModel def custom_generate_unique_id(route: APIRoute): return f"foo_{route.name}" def custom_generate_unique_id2(route: APIRoute)...
41.772059
106
0.285161
3,252
68,172
5.851476
0.038438
0.098271
0.108256
0.094172
0.944401
0.940197
0.930948
0.930948
0.926743
0.925797
0
0.015787
0.597679
68,172
1,631
107
41.79767
0.678018
0.004445
0
0.646574
0
0
0.226547
0.049522
0
0
0
0
0.006345
1
0.01967
false
0
0.003807
0.014594
0.041878
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
0b5db17336f788ad1d51e0ebfedab480c4c72a7e
2,068
py
Python
quiz/models.py
jzi040941/django_quiz
465d29c74e3ff6814f686296d225f18a50c99b9a
[ "MIT" ]
1
2018-03-14T16:43:00.000Z
2018-03-14T16:43:00.000Z
quiz/models.py
jzi040941/django_quiz
465d29c74e3ff6814f686296d225f18a50c99b9a
[ "MIT" ]
null
null
null
quiz/models.py
jzi040941/django_quiz
465d29c74e3ff6814f686296d225f18a50c99b9a
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class quiz_short(models.Model): AssignNum = models.ForeignKey('teacher.Assignment', on_delete=models.CASCADE) Question = models.TextField() Answer = models.TextField() def __str__(self): return "AssignNum : %s, question: %s Answer: %s" % ...
35.655172
113
0.696325
243
2,068
5.72428
0.193416
0.183321
0.099209
0.074766
0.86197
0.86197
0.86197
0.86197
0.86197
0.86197
0
0.014068
0.175048
2,068
57
114
36.280702
0.80129
0.041103
0
0.633333
0
0
0.128096
0
0
0
0
0
0
1
0.1
false
0
0.033333
0.1
1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
7
0b5e2ce14cd1b7d0c4bdab1dbcbd6268fb51f4f1
165
py
Python
benchmark/VAR/GG/common.py
victor-estrade/SystGradDescent
822e7094290301ec47a99433381a8d6406798aff
[ "MIT" ]
2
2019-03-20T09:05:02.000Z
2019-03-20T15:23:44.000Z
benchmark/VAR/GG/common.py
victor-estrade/SystGradDescent
822e7094290301ec47a99433381a8d6406798aff
[ "MIT" ]
null
null
null
benchmark/VAR/GG/common.py
victor-estrade/SystGradDescent
822e7094290301ec47a99433381a8d6406798aff
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import print_function from __future__ import division from __future__ import absolute_import from __future__ import unicode_literals
27.5
39
0.866667
22
165
5.636364
0.545455
0.322581
0.516129
0
0
0
0
0
0
0
0
0.006849
0.115152
165
5
40
33
0.842466
0.078788
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.25
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
0b77f76b149075d4d3817aa9211f7115e499a12a
273
py
Python
tests/parser/rewriting.projection.4.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/rewriting.projection.4.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/rewriting.projection.4.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
input = """ f(X,1) :- a(X,Y), g(A,X),g(B,X), not f(1,X). a(X,Y) :- g(X,0),g(Y,0). g(x1,0). g(x2,0). """ output = """ f(X,1) :- a(X,Y), g(A,X),g(B,X), not f(1,X). a(X,Y) :- g(X,0),g(Y,0). g(x1,0). g(x2,0). """
11.869565
25
0.296703
64
273
1.265625
0.203125
0.148148
0.148148
0.197531
0.864198
0.864198
0.864198
0.864198
0.864198
0.864198
0
0.089385
0.344322
273
22
26
12.409091
0.363128
0
0
0.875
0
0
0.878431
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
0b9113a200832679e9fc55536bc662bb2d860b4c
228
py
Python
satyrus/sat/types/string.py
lucasvg/Satyrus3-FinalProject-EspTopsOTM
024785752abdc46e3463d8c94df7c3da873c354d
[ "MIT" ]
null
null
null
satyrus/sat/types/string.py
lucasvg/Satyrus3-FinalProject-EspTopsOTM
024785752abdc46e3463d8c94df7c3da873c354d
[ "MIT" ]
null
null
null
satyrus/sat/types/string.py
lucasvg/Satyrus3-FinalProject-EspTopsOTM
024785752abdc46e3463d8c94df7c3da873c354d
[ "MIT" ]
null
null
null
from .main import SatType class String(SatType, str): def __new__(cls, *args, **kwargs): return str.__new__(cls, *args, **kwargs) def __init__(self, *args, **kwargs): SatType.__init__(self)
25.333333
49
0.605263
27
228
4.518519
0.555556
0.245902
0.163934
0.262295
0
0
0
0
0
0
0
0
0.254386
228
9
50
25.333333
0.717647
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
1
0
0
null
1
0
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
7
0ba1dc47fec515daa7ce78ab6cbd344fd812af6f
113,179
py
Python
networking_vsphere/tests/unit/agent/test_ovsvapp_agent.py
Mirantis/vmware-dvs
37b874f9bf40b47d0de231c640367275fb3afb9b
[ "Apache-2.0" ]
8
2015-04-23T15:36:56.000Z
2019-03-06T13:23:28.000Z
networking_vsphere/tests/unit/agent/test_ovsvapp_agent.py
Mirantis/vmware-dvs
37b874f9bf40b47d0de231c640367275fb3afb9b
[ "Apache-2.0" ]
1
2016-10-04T13:24:50.000Z
2016-10-04T13:24:50.000Z
networking_vsphere/tests/unit/agent/test_ovsvapp_agent.py
Mirantis/vmware-dvs
37b874f9bf40b47d0de231c640367275fb3afb9b
[ "Apache-2.0" ]
19
2015-09-15T13:25:01.000Z
2019-09-03T08:23:21.000Z
# Copyright (c) 2015 Hewlett-Packard Development Company, L.P. # # 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/LIC...
52.54364
96
0.594227
12,944
113,179
4.812809
0.03492
0.10344
0.067419
0.074723
0.91311
0.880476
0.861133
0.831164
0.802559
0.783649
0
0.010182
0.318822
113,179
2,153
97
52.568045
0.797873
0.005619
0
0.752343
0
0
0.090015
0.038089
0
0
0.000027
0
0.189936
1
0.043907
false
0
0.007893
0.000493
0.057227
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
e7ee8f88cffe1a482d5fa7391195738c0119a53d
2,228
py
Python
SQLFileGenerator/sqlqueries.py
DataMadeEasy/PySQLFileGenerator
3efc54fa7b8741f48d00dc199675081b0fc4e04d
[ "BSD-2-Clause" ]
null
null
null
SQLFileGenerator/sqlqueries.py
DataMadeEasy/PySQLFileGenerator
3efc54fa7b8741f48d00dc199675081b0fc4e04d
[ "BSD-2-Clause" ]
null
null
null
SQLFileGenerator/sqlqueries.py
DataMadeEasy/PySQLFileGenerator
3efc54fa7b8741f48d00dc199675081b0fc4e04d
[ "BSD-2-Clause" ]
null
null
null
sqlqueries = { 'WeatherForecast':"select concat ('FY', to_char(f.forecasted_timestamp, 'YY')) Fiscal_yr, to_char(f.forecasted_timestamp, 'MON') Fiscal_mth, concat ('Day_', to_char(f.forecasted_timestamp, 'DD')) Fiscal_day, f.zipcode zip, min(f.temp_avg) low, max(f.temp_avg) high, max(f.wind_speed) wind, max(f.humid...
371.333333
604
0.763465
344
2,228
4.688953
0.133721
0.104154
0.052077
0.133912
0.815251
0.815251
0.814631
0.814631
0.814631
0.769994
0
0.003941
0.088869
2,228
6
605
371.333333
0.79064
0
0
0
0
0.666667
0.973082
0.428443
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
1
0
1
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
f06f2cf97d8da48c7ae640dd4974c12d832537f5
3,398
py
Python
njdate/hebdfind.py
schorrm/njdate
5a31d944973904b75f1dbac811fc7393aaa4ed7c
[ "MIT" ]
4
2019-07-16T19:58:42.000Z
2021-11-17T14:50:17.000Z
njdate/hebdfind.py
schorrm/njdate
5a31d944973904b75f1dbac811fc7393aaa4ed7c
[ "MIT" ]
null
null
null
njdate/hebdfind.py
schorrm/njdate
5a31d944973904b75f1dbac811fc7393aaa4ed7c
[ "MIT" ]
null
null
null
# Takes two years, and runs an aggressive search for dates in between those two years (inclusive). import njdate.gematria as gematria import njdate.ej_generic as ej_generic import string specpunc = string.punctuation.replace('"','').replace("'","") tr_table = str.maketrans("","",specpunc) def date_aggressor (...
57.59322
110
0.700706
428
3,398
5.364486
0.184579
0.11324
0.235192
0.266551
0.819686
0.819686
0.819686
0.819686
0.79007
0.732143
0
0.009154
0.196292
3,398
58
111
58.586207
0.831564
0.079164
0
0.76
0
0
0.004891
0
0
0
0
0
0
1
0.08
false
0
0.06
0
0.4
0
0
0
0
null
0
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
9
f0706f06dae68a2eb12befe8740b73ce25344c53
10,323
py
Python
tests/test_cli.py
redglue/brickops
77fbe0da295f69b2b8bfebd0ec2c8b3bfdb1046b
[ "BSD-3-Clause" ]
null
null
null
tests/test_cli.py
redglue/brickops
77fbe0da295f69b2b8bfebd0ec2c8b3bfdb1046b
[ "BSD-3-Clause" ]
3
2019-07-23T16:38:14.000Z
2021-06-02T03:55:23.000Z
tests/test_cli.py
aquicore/apparate
bc0d9a5db2ffb863ddde4ff61ac2ac0dbc8f1bad
[ "BSD-3-Clause" ]
null
null
null
import logging from os.path import expanduser, join from unittest import mock import pytest from click.testing import CliRunner from configparser import ConfigParser from apparate.configure import configure from apparate.cli_commands import upload, upload_and_update logging.basicConfig(level=logging.INFO) logger = ...
28.675
79
0.625303
1,206
10,323
5.107794
0.106136
0.053571
0.042208
0.036364
0.905357
0.905357
0.900162
0.893344
0.893344
0.891883
0
0
0.248087
10,323
359
80
28.754875
0.79361
0
0
0.769492
0
0
0.284317
0.043495
0
0
0
0
0.101695
1
0.040678
false
0
0.027119
0
0.067797
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
f076aaf49a3d8fba6fb5ba17c6020bb113d2de01
5,417
py
Python
src/jsonengine/main.py
youhengzhou/json-crud-engine
8ee614af6dddbe1236a78a7debf71048f476a3ff
[ "MIT" ]
2
2021-07-02T04:33:36.000Z
2022-01-09T23:40:30.000Z
src/jsonengine/main.py
youhengzhou/json-crud-engine
8ee614af6dddbe1236a78a7debf71048f476a3ff
[ "MIT" ]
null
null
null
src/jsonengine/main.py
youhengzhou/json-crud-engine
8ee614af6dddbe1236a78a7debf71048f476a3ff
[ "MIT" ]
null
null
null
# JSON engine 21 9 16 # database # eng.json # engine # eng.py import os import json path = os.getcwd() + '\\json_engine_database\\' path_string = '' def set_path(string): global path path = os.getcwd() + string def dictionary_kv(dictionary, key, value): dictionary[key] = value return ...
31.132184
75
0.568027
741
5,417
4.040486
0.087719
0.203741
0.130929
0.141951
0.808283
0.794923
0.782231
0.769873
0.756179
0.756179
0
0.005523
0.298136
5,417
173
76
31.312139
0.781957
0.012368
0
0.706667
0
0
0.083084
0.004491
0
0
0
0
0
1
0.113333
false
0
0.013333
0
0.293333
0.066667
0
0
0
null
1
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
8
b2bb1c7a2af64e0803771a48f87683d4a4a1c0d2
50,483
py
Python
cottonformation/res/lookoutmetrics.py
gitter-badger/cottonformation-project
354f1dce7ea106e209af2d5d818b6033a27c193c
[ "BSD-2-Clause" ]
null
null
null
cottonformation/res/lookoutmetrics.py
gitter-badger/cottonformation-project
354f1dce7ea106e209af2d5d818b6033a27c193c
[ "BSD-2-Clause" ]
null
null
null
cottonformation/res/lookoutmetrics.py
gitter-badger/cottonformation-project
354f1dce7ea106e209af2d5d818b6033a27c193c
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ This module """ import attr import typing from ..core.model import ( Property, Resource, Tag, GetAtt, TypeHint, TypeCheck, ) from ..core.constant import AttrMeta #--- Property declaration --- @attr.s class AnomalyDetectorCsvFormatDescriptor(Property): """ AWS Object Type = "...
72.952312
244
0.792247
4,905
50,483
8.059123
0.027727
0.205414
0.040349
0.062358
0.909006
0.909006
0.895447
0.851278
0.851202
0.848039
0
0.000632
0.090466
50,483
691
245
73.057887
0.860288
0.346453
0
0.457801
0
0
0.103117
0.063617
0
0
0
0
0
1
0.005115
false
0
0.01023
0
0.26087
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
6513f213b7ae02509adbae8bebb7d8031a8a3323
110
py
Python
pond5/blueprints/webui/views.py
IvanFrezzaJr/pond5
02cc39262b33eac59727ee416645f7006a99b099
[ "MIT" ]
null
null
null
pond5/blueprints/webui/views.py
IvanFrezzaJr/pond5
02cc39262b33eac59727ee416645f7006a99b099
[ "MIT" ]
null
null
null
pond5/blueprints/webui/views.py
IvanFrezzaJr/pond5
02cc39262b33eac59727ee416645f7006a99b099
[ "MIT" ]
null
null
null
from flask import render_template def index(): return render_template("index.html", title='pond5 test')
18.333333
60
0.745455
15
110
5.333333
0.8
0.35
0
0
0
0
0
0
0
0
0
0.010638
0.145455
110
5
61
22
0.840426
0
0
0
0
0
0.183486
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
651ec842e96c1b1f0d0e9ffe6067c0199b8a1424
124
py
Python
pyvat/utils.py
ponyville/pyvat
75fb781d3c00cf323544eb929a96344c1978e2c8
[ "Apache-2.0" ]
48
2015-07-22T12:02:20.000Z
2022-02-07T16:54:13.000Z
pyvat/utils.py
ponyville/pyvat
75fb781d3c00cf323544eb929a96344c1978e2c8
[ "Apache-2.0" ]
34
2015-03-27T17:47:38.000Z
2022-02-08T18:14:55.000Z
pyvat/utils.py
ponyville/pyvat
75fb781d3c00cf323544eb929a96344c1978e2c8
[ "Apache-2.0" ]
40
2015-04-08T14:03:06.000Z
2022-02-09T12:29:04.000Z
from decimal import Decimal def ensure_decimal(value): return value if isinstance(value, Decimal) else Decimal(value)
20.666667
66
0.782258
17
124
5.647059
0.588235
0.25
0
0
0
0
0
0
0
0
0
0
0.153226
124
5
67
24.8
0.914286
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
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
0
0
1
1
1
0
0
7
6534325409884c8b43e265c56070a9cc57567e0b
42
py
Python
examples/phobos/tests/test_std_system.py
kinke/autowrap
2f042df3f292aa39b1da0b9607fbe3424f56ff4a
[ "BSD-3-Clause" ]
47
2019-07-16T10:38:07.000Z
2022-03-30T16:34:24.000Z
examples/phobos/tests/test_std_system.py
kinke/autowrap
2f042df3f292aa39b1da0b9607fbe3424f56ff4a
[ "BSD-3-Clause" ]
199
2019-06-17T23:24:40.000Z
2021-06-16T16:41:36.000Z
examples/phobos/tests/test_std_system.py
kinke/autowrap
2f042df3f292aa39b1da0b9607fbe3424f56ff4a
[ "BSD-3-Clause" ]
7
2019-09-13T18:03:49.000Z
2022-01-17T03:53:00.000Z
def test_import(): import std_system
10.5
21
0.714286
6
42
4.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.214286
42
3
22
14
0.848485
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0
1
0
1.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
e8e88d99dce51ba1201b6f79edf2263f1faa8d1a
125
py
Python
microtbs_rl/algorithms/common/__init__.py
alex-petrenko/simple-reinforcement-learning
d0da1d9026d1f05e2552d08e56fbe58ad869fafd
[ "MIT" ]
8
2018-03-05T05:13:39.000Z
2021-02-27T03:12:05.000Z
microtbs_rl/algorithms/common/__init__.py
alex-petrenko/simple-reinforcement-learning
d0da1d9026d1f05e2552d08e56fbe58ad869fafd
[ "MIT" ]
null
null
null
microtbs_rl/algorithms/common/__init__.py
alex-petrenko/simple-reinforcement-learning
d0da1d9026d1f05e2552d08e56fbe58ad869fafd
[ "MIT" ]
4
2018-09-04T04:44:26.000Z
2021-07-22T06:34:51.000Z
from microtbs_rl.algorithms.common.agent import AgentLearner from microtbs_rl.algorithms.common.loops import run_policy_loop
41.666667
63
0.888
18
125
5.944444
0.666667
0.224299
0.261682
0.448598
0.560748
0
0
0
0
0
0
0
0.064
125
2
64
62.5
0.91453
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
e8f4043d5536bdca2c37406c6cd15241be633a78
21,362
py
Python
tests/test_managedblockchain/test_managedblockchain_proposalvotes.py
junelife/moto
e61d794cbc9c18b06c11014da666e25f3fce637b
[ "Apache-2.0" ]
1
2021-12-12T04:23:06.000Z
2021-12-12T04:23:06.000Z
tests/test_managedblockchain/test_managedblockchain_proposalvotes.py
junelife/moto
e61d794cbc9c18b06c11014da666e25f3fce637b
[ "Apache-2.0" ]
2
2018-08-07T10:47:18.000Z
2018-08-08T15:13:04.000Z
tests/test_managedblockchain/test_managedblockchain_proposalvotes.py
junelife/moto
e61d794cbc9c18b06c11014da666e25f3fce637b
[ "Apache-2.0" ]
null
null
null
from __future__ import unicode_literals import os import boto3 import sure # noqa from freezegun import freeze_time from unittest import SkipTest from moto import mock_managedblockchain, settings from . import helpers @mock_managedblockchain def test_vote_on_proposal_one_member_total_yes(): conn = boto3.clien...
31.836066
87
0.679805
2,130
21,362
6.595305
0.078404
0.044846
0.062785
0.066629
0.936503
0.913724
0.902548
0.888027
0.878203
0.852719
0
0.01877
0.221889
21,362
670
88
31.883582
0.826375
0.06535
0
0.786
0
0
0.151253
0.03014
0
0
0
0
0
1
0.026
false
0
0.016
0
0.042
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
68584b0872eb1fd43baeac7af1a1487c2977e004
21,365
py
Python
session.py
cheng6076/virnng
d790c02833865c43cb8afb2552a75c9445365f24
[ "Apache-2.0" ]
13
2017-05-18T22:44:22.000Z
2020-09-16T14:19:49.000Z
session.py
cheng6076/virnng
d790c02833865c43cb8afb2552a75c9445365f24
[ "Apache-2.0" ]
1
2018-07-02T12:08:15.000Z
2018-07-02T12:08:15.000Z
session.py
cheng6076/virnng
d790c02833865c43cb8afb2552a75c9445365f24
[ "Apache-2.0" ]
3
2017-11-08T11:51:17.000Z
2019-11-03T23:18:50.000Z
from encoder import Encoder from decoder import Decoder from parser import Parser from baseline import * from language_model import LanguageModel from util import Reader import dynet as dy from misc import compute_eval_score, compute_perplexity import os initializers = {'glorot': dy.GlorotInitializer(), ...
42.475149
148
0.514299
2,355
21,365
4.472611
0.082803
0.11801
0.043577
0.051267
0.839362
0.829868
0.809266
0.791133
0.784297
0.781164
0
0.021434
0.390733
21,365
502
149
42.559761
0.787739
0.022841
0
0.765432
0
0
0.04785
0
0
0
0
0
0.019753
1
0.034568
false
0
0.022222
0.004938
0.066667
0.074074
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
d7b09b3899eab74c7da7d05d1a738239da6a6f8c
93
py
Python
backoffice/transactions/utils.py
AlejandroUPC/pythonmicroservices
9d42bd6dfd9847ad4a8e6029e808de927292c251
[ "MIT" ]
null
null
null
backoffice/transactions/utils.py
AlejandroUPC/pythonmicroservices
9d42bd6dfd9847ad4a8e6029e808de927292c251
[ "MIT" ]
null
null
null
backoffice/transactions/utils.py
AlejandroUPC/pythonmicroservices
9d42bd6dfd9847ad4a8e6029e808de927292c251
[ "MIT" ]
null
null
null
import random def create_random_id(): return str(random.randint(100000,999999999999999))
23.25
54
0.795699
12
93
6
0.833333
0
0
0
0
0
0
0
0
0
0
0.253012
0.107527
93
4
54
23.25
0.614458
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
8
d7da6c76e88c3141152b6b83c5b2260da1ff5ebc
168
py
Python
classification/admin/__init__.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
5
2021-01-14T03:34:42.000Z
2022-03-07T15:34:18.000Z
classification/admin/__init__.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
551
2020-10-19T00:02:38.000Z
2022-03-30T02:18:22.000Z
classification/admin/__init__.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
null
null
null
from classification.admin.classification_admin import * from classification.admin.clinvar_export_admin import * from classification.admin.condition_text_admin import *
42
55
0.875
20
168
7.1
0.4
0.535211
0.485915
0.408451
0.478873
0
0
0
0
0
0
0
0.071429
168
3
56
56
0.910256
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
041d25b3caf16615ffe44105dc3916c9eb43a246
10,048
py
Python
tf_DDPG.py
laket/DDPG_Eager
e0b6f960acc193838189b714e67cd1f7da60f440
[ "Apache-2.0" ]
2
2019-05-13T18:43:17.000Z
2019-08-22T08:08:03.000Z
tf_DDPG.py
DeanLeeFumu/DDPG_Eager
e0b6f960acc193838189b714e67cd1f7da60f440
[ "Apache-2.0" ]
null
null
null
tf_DDPG.py
DeanLeeFumu/DDPG_Eager
e0b6f960acc193838189b714e67cd1f7da60f440
[ "Apache-2.0" ]
1
2019-08-23T02:45:16.000Z
2019-08-23T02:45:16.000Z
# Copyright 2018 Oiki Tomoaki. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
40.192
116
0.624104
1,241
10,048
4.868654
0.158743
0.046342
0.030122
0.033764
0.8143
0.79477
0.784012
0.770937
0.770937
0.743959
0
0.017444
0.264033
10,048
249
117
40.353414
0.799594
0.107982
0
0.751724
0
0
0.00532
0
0
0
0
0
0.027586
1
0.082759
false
0
0.02069
0
0.165517
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
0431b86b5fec8a3a6766b7ed7c6bc620c17ad76e
86
py
Python
functionalities.py
Dilkovak/Naggy-Bot
7727a77d1916336d6f3f52efc40437a9d1ae960b
[ "MIT" ]
null
null
null
functionalities.py
Dilkovak/Naggy-Bot
7727a77d1916336d6f3f52efc40437a9d1ae960b
[ "MIT" ]
null
null
null
functionalities.py
Dilkovak/Naggy-Bot
7727a77d1916336d6f3f52efc40437a9d1ae960b
[ "MIT" ]
null
null
null
import random def coinflip(): # print(random.random()) return random.random()
17.2
28
0.674419
10
86
5.8
0.6
0.413793
0
0
0
0
0
0
0
0
0
0
0.186047
86
5
29
17.2
0.828571
0.255814
0
0
0
0
0
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
f0994ccd4067e97928229e99678562d13da50032
5,254
py
Python
src/zebrafish_ec_migration/pipelines/cell_trajectory_analysis_pipeline/compute_trajectory_features.py
wgiese/zebrafish_ec_migration
6c0e83716f4b9dcf8ca67528ae1efba031c75117
[ "Apache-2.0" ]
null
null
null
src/zebrafish_ec_migration/pipelines/cell_trajectory_analysis_pipeline/compute_trajectory_features.py
wgiese/zebrafish_ec_migration
6c0e83716f4b9dcf8ca67528ae1efba031c75117
[ "Apache-2.0" ]
null
null
null
src/zebrafish_ec_migration/pipelines/cell_trajectory_analysis_pipeline/compute_trajectory_features.py
wgiese/zebrafish_ec_migration
6c0e83716f4b9dcf8ca67528ae1efba031c75117
[ "Apache-2.0" ]
null
null
null
import pandas as pd from typing import Dict, List import numpy as np import pylab as plt def compute_trajectory_features_set1(aligned_trajector_key_file: pd.DataFrame, parameters: Dict, start_time, end_time): features_df = pd.DataFrame() data_statistics_df = pd.DataFrame() counter = 0 frame_interval =...
47.763636
120
0.611153
661
5,254
4.416036
0.134644
0.189106
0.049332
0.063035
0.953751
0.953751
0.953751
0.953751
0.953751
0.953751
0
0.01589
0.281309
5,254
110
121
47.763636
0.75715
0.022078
0
0.923077
0
0
0.110224
0.017527
0
0
0
0
0
1
0.025641
false
0
0.051282
0
0.102564
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
f0dd70671137f9276770eb4324b9867b67865ca3
51,458
py
Python
tests/test_number_cleaner.py
theseus-automl/gorgona
a7366d54430caa5a038488432fb93702e1cb83b8
[ "Apache-2.0" ]
1
2021-12-12T10:47:00.000Z
2021-12-12T10:47:00.000Z
tests/test_number_cleaner.py
theseus-automl/gorgona
a7366d54430caa5a038488432fb93702e1cb83b8
[ "Apache-2.0" ]
5
2021-12-12T10:45:04.000Z
2022-01-17T07:51:14.000Z
tests/test_number_cleaner.py
theseus-automl/gorgona
a7366d54430caa5a038488432fb93702e1cb83b8
[ "Apache-2.0" ]
null
null
null
import pytest from gorgona.stages.cleaners import NumberCleaner @pytest.fixture() def setup_number_cleaner(): nc = NumberCleaner( '', '', ) return nc def test_positive_integer_single_digit_single_digit(setup_number_cleaner): assert setup_number_cleaner("7") == "" def test_positiv...
39.766615
110
0.837324
7,050
51,458
5.511064
0.05234
0.181479
0.296965
0.197668
0.922606
0.921628
0.91962
0.914344
0.903663
0.891283
0
0.052841
0.086459
51,458
1,293
111
39.79737
0.77366
0
0
0.006163
0
0
0.13067
0
0
0
0
0
0.493066
1
0.494607
false
0
0.003082
0
0.49923
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
1
0
1
0
0
0
0
0
0
0
10
9bda521421d444cb1361c910a70adc7a47fdcd9f
80,233
py
Python
sympy/integrals/rubi/rubi_tests/tests/test_hyperbolic_sine.py
Michal-Gagala/sympy
3cc756c2af73b5506102abaeefd1b654e286e2c8
[ "MIT" ]
null
null
null
sympy/integrals/rubi/rubi_tests/tests/test_hyperbolic_sine.py
Michal-Gagala/sympy
3cc756c2af73b5506102abaeefd1b654e286e2c8
[ "MIT" ]
null
null
null
sympy/integrals/rubi/rubi_tests/tests/test_hyperbolic_sine.py
Michal-Gagala/sympy
3cc756c2af73b5506102abaeefd1b654e286e2c8
[ "MIT" ]
null
null
null
import sys from sympy.external import import_module matchpy = import_module("matchpy") if not matchpy: #bin/test will not execute any tests now disabled = True if sys.version_info[:2] < (3, 6): disabled = True from sympy.integrals.rubi.utility_function import ( sympy_op_factory, Int, ...
251.514107
2,469
0.511161
19,581
80,233
2.059599
0.030233
0.083959
0.04746
0.025391
0.825709
0.819435
0.813831
0.808351
0.797838
0.785068
0
0.049775
0.117844
80,233
318
2,470
252.305031
0.52002
0.050765
0
0.006711
0
0.003356
0.001145
0
0
0
0
0
0.540268
1
0.003356
false
0
0.073826
0
0.077181
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
9
5010b73121964b1e2039f7c97a78c65b09242001
21,089
py
Python
CalibTracker/SiStripChannelGain/test/Cosmic_B38/InputFiles_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CalibTracker/SiStripChannelGain/test/Cosmic_B38/InputFiles_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CalibTracker/SiStripChannelGain/test/Cosmic_B38/InputFiles_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
'rfio:///?svcClass=cmscaf&path=/castor/cern.ch/cms/store/data/Commissioning08/Cosmics/ALCARECO/CRAFT_V2P_StreamALCARECOTkAlCosmics0T_v7/0014/80C4285C-779E-DD11-9889-001617E30CA4.root', 'rfio:///?svcClass=cmscaf&path=/castor/cern.ch/cms/store/data/Commissioning08/Cosmics/ALCARECO/CRAFT_V2P_StreamALCARECOTkAlCosmics0T_v7...
183.382609
184
0.843283
2,736
21,089
6.375
0.149488
0.078431
0.117647
0.143791
0.829148
0.829148
0.829148
0.829148
0.829148
0.829148
0
0.165101
0.005406
21,089
114
185
184.991228
0.66646
0
0
0
0
1
0.978425
0.978425
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
11
ac95238747ed70d5ab97026ac30760503ed60208
24,199
py
Python
src/testing/TestON/bin/nec.py
securedataplane/preacher
2f76581de47036e79cd6e1183948c88b35ce4950
[ "MIT" ]
1
2020-07-23T08:06:44.000Z
2020-07-23T08:06:44.000Z
src/testing/TestON/bin/nec.py
securedataplane/preacher
2f76581de47036e79cd6e1183948c88b35ce4950
[ "MIT" ]
null
null
null
src/testing/TestON/bin/nec.py
securedataplane/preacher
2f76581de47036e79cd6e1183948c88b35ce4950
[ "MIT" ]
null
null
null
class NEC: def __init__( self ): self.prompt = '(.*)' self.timeout = 60 def show(self, *options, **def_args ): '''Possible Options :[' access-filter ', ' accounting ', ' acknowledgments ', ' auto-config ', ' axrp ', ' cfm ', ' channel-group ', ' clock ', ' config-lock-s...
44.320513
867
0.592793
2,470
24,199
5.718623
0.040081
0.080283
0.129982
0.068814
0.919858
0.919858
0.915186
0.915186
0.911717
0.911717
0
0.000458
0.278193
24,199
545
868
44.401835
0.80821
0.081863
0
0.743119
0
0
0.077645
0
0
0
0
0
0
1
0.126147
false
0
0
0
0.252294
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
acff916c9c13ec45d8705a7c78687da27d11f532
92
py
Python
parameters_8560.py
ksuhr1/CMPS183-hw3
d0450827912b7ec355a9e433c0c7e33d1b2610a0
[ "BSD-3-Clause" ]
null
null
null
parameters_8560.py
ksuhr1/CMPS183-hw3
d0450827912b7ec355a9e433c0c7e33d1b2610a0
[ "BSD-3-Clause" ]
null
null
null
parameters_8560.py
ksuhr1/CMPS183-hw3
d0450827912b7ec355a9e433c0c7e33d1b2610a0
[ "BSD-3-Clause" ]
null
null
null
password="pbkdf2(1000,20,sha512)$b24904a15adb4514$85f395bc9c1f6be8227d9f7540e54127cd4f0fdf"
46
91
0.891304
7
92
11.714286
1
0
0
0
0
0
0
0
0
0
0
0.494505
0.01087
92
1
92
92
0.406593
0
0
0
0
0
0.869565
0.869565
0
0
0
0
0
1
0
false
1
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
4a0c17dcadf4678d289fa2db3d23b33230f5a519
2,303
py
Python
example/django_example/polls/tests.py
dmsimard/dynaconf
ec394ab07e3b522879c8be678c65ebeb05fc2b59
[ "MIT" ]
null
null
null
example/django_example/polls/tests.py
dmsimard/dynaconf
ec394ab07e3b522879c8be678c65ebeb05fc2b59
[ "MIT" ]
null
null
null
example/django_example/polls/tests.py
dmsimard/dynaconf
ec394ab07e3b522879c8be678c65ebeb05fc2b59
[ "MIT" ]
null
null
null
from django.conf import settings from django.test import TestCase # Create your tests here. class SettingsTest(TestCase): def test_settings(self): self.assertEqual(settings.SERVER, 'prodserver.com') self.assertEqual( settings.STATIC_URL, '/changed/in/settings.toml/by/dynaconf/') ...
46.06
74
0.696049
249
2,303
6.333333
0.188755
0.285352
0.43754
0.16487
0.803424
0.790108
0.790108
0.790108
0.762207
0.720989
0
0.013492
0.195397
2,303
49
75
47
0.837561
0.009987
0
0.657895
0
0
0.249781
0.016681
0
0
0
0
0.789474
1
0.026316
false
0.210526
0.052632
0
0.105263
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
1
0
0
0
1
0
0
0
0
0
11
c59ff6269abc6e4442e009258e5c25cd74a0c2dd
59,325
py
Python
nipyapi/nifi/apis/parameter_contexts_api.py
oneextrafact/nipyapi
4c184d69002a8ee3ac528fda63b2ffcc6cedbae5
[ "Apache-2.0" ]
null
null
null
nipyapi/nifi/apis/parameter_contexts_api.py
oneextrafact/nipyapi
4c184d69002a8ee3ac528fda63b2ffcc6cedbae5
[ "Apache-2.0" ]
null
null
null
nipyapi/nifi/apis/parameter_contexts_api.py
oneextrafact/nipyapi
4c184d69002a8ee3ac528fda63b2ffcc6cedbae5
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ NiFi Rest Api The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, ...
50.661827
752
0.615306
6,414
59,325
5.501403
0.0488
0.046704
0.01587
0.020405
0.973842
0.968741
0.963045
0.957264
0.954685
0.949215
0
0.000172
0.312819
59,325
1,170
753
50.705128
0.865381
0.41748
0
0.801394
0
0
0.192511
0.076789
0
0
0
0
0
1
0.036585
false
0
0.012195
0
0.102787
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
a85d28a147c2851074f1bb71e893b4e8755ebe06
660
py
Python
aws_lambda_typing/events/config.py
curekoshimizu/aws-lambda-typing
ea5649e084f598f02dadad1a60927034ea46ae5d
[ "MIT" ]
null
null
null
aws_lambda_typing/events/config.py
curekoshimizu/aws-lambda-typing
ea5649e084f598f02dadad1a60927034ea46ae5d
[ "MIT" ]
null
null
null
aws_lambda_typing/events/config.py
curekoshimizu/aws-lambda-typing
ea5649e084f598f02dadad1a60927034ea46ae5d
[ "MIT" ]
null
null
null
#!/usr/bin/env python import typing class ConfigEvent(typing.TypedDict): """ MQEvent https://docs.aws.amazon.com/lambda/latest/dg/services-config.html Attributes: ---------- invokingEvent: str ruleParameters: str resultToken: str eventLeftScope: bool executionRoleArn: str ...
15.348837
77
0.660606
63
660
6.920635
0.539683
0.073395
0.137615
0.151376
0.706422
0.706422
0.706422
0.706422
0.706422
0.706422
0
0
0.251515
660
42
78
15.714286
0.882591
0.471212
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.083333
0
1
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
1
0
0
0
1
0
0
7
765266b4bc6c376f8d781ac5b9e414a2c40c4c70
6,546
py
Python
parser/team12/src/EXPRESION/EXPRESION_RELACIONAL/Expresion_Relacional.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
35
2020-12-07T03:11:43.000Z
2021-04-15T17:38:16.000Z
parser/team12/src/EXPRESION/EXPRESION_RELACIONAL/Expresion_Relacional.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
47
2020-12-09T01:29:09.000Z
2021-01-13T05:37:50.000Z
parser/team12/src/EXPRESION/EXPRESION_RELACIONAL/Expresion_Relacional.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
556
2020-12-07T03:13:31.000Z
2021-06-17T17:41:10.000Z
import sys, os.path import datetime nodo_dir = (os.path.abspath(os.path.join(os.path.dirname(__file__), '..','..')) + '\\ENTORNO\\') sys.path.append(nodo_dir) from Tipo import Data_Type # ************************************************************************************************************** def diferente(exp1...
38.505882
112
0.540636
677
6,546
5.039882
0.062038
0.283705
0.21102
0.28136
0.94871
0.94871
0.94871
0.94871
0.94871
0.94871
0
0.020108
0.179499
6,546
170
113
38.505882
0.615155
0.20333
0
0.891089
0
0
0.002883
0
0
0
0
0
0
1
0.059406
false
0
0.029703
0
0.148515
0
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