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
22bb472a9580fa95c68ad07011b9d30ede27e92c
14,244
py
Python
ColorMaker.py
Ljuka/iwen
6aee69bf46c14e301002d0465a8a2b7e74e02953
[ "MIT" ]
1
2019-03-14T17:02:46.000Z
2019-03-14T17:02:46.000Z
ColorMaker.py
Ljuka/iwen
6aee69bf46c14e301002d0465a8a2b7e74e02953
[ "MIT" ]
null
null
null
ColorMaker.py
Ljuka/iwen
6aee69bf46c14e301002d0465a8a2b7e74e02953
[ "MIT" ]
null
null
null
import os import shutil import re import math def createStartFolderStructure(path): if os.path.isdir(path+'/Iwen Colours'): shutil.rmtree(path+'/Iwen Colours') os.mkdir(path+'/Iwen Colours') os.mkdir(path+'/Iwen Colours/IOS') os.mkdir(path+'/Iwen Colours/IOS/Colours.xcassets') os.mkdir(p...
50.510638
241
0.478587
1,596
14,244
4.261278
0.091479
0.021173
0.168211
0.221732
0.845611
0.837965
0.832378
0.81488
0.802529
0.802529
0
0.014417
0.332842
14,244
281
242
50.690391
0.701252
0.057709
0
0.71564
0
0.033175
0.287891
0.061627
0
0
0
0
0
1
0.047393
false
0.018957
0.023697
0.004739
0.094787
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
22cd0767375ae61b6ee76d6157f8d5df23392d86
11,036
py
Python
rosetta/tests/test_streamer.py
rjweiss/rosetta
919c6fc2c54ce726121ab24f738c46cda0598a08
[ "BSD-3-Clause" ]
1
2015-01-19T22:26:10.000Z
2015-01-19T22:26:10.000Z
rosetta/tests/test_streamer.py
rjweiss/rosetta
919c6fc2c54ce726121ab24f738c46cda0598a08
[ "BSD-3-Clause" ]
null
null
null
rosetta/tests/test_streamer.py
rjweiss/rosetta
919c6fc2c54ce726121ab24f738c46cda0598a08
[ "BSD-3-Clause" ]
null
null
null
import os import unittest from StringIO import StringIO from scipy import sparse from rosetta import TokenizerBasic from rosetta.text.streamers import TextFileStreamer, TextIterStreamer from rosetta.text.streamers import MySQLStreamer, MongoStreamer from rosetta.common import DocIDError, TokenError class TestText...
37.158249
77
0.578833
1,213
11,036
5.065128
0.091509
0.042969
0.039388
0.035156
0.893392
0.880371
0.853678
0.853678
0.853678
0.82959
0
0.01231
0.300743
11,036
296
78
37.283784
0.783854
0.003171
0
0.837607
0
0.017094
0.097472
0
0
0
0
0
0.102564
1
0.119658
false
0.012821
0.034188
0.004274
0.183761
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
22efcb89ff2f1d3bcd8e60df6a939a8513551b4f
68,603
py
Python
benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/backup_results_unknownr/EightThreads_h264ref/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/backup_results_unknownr/EightThreads_h264ref/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/backup_results_unknownr/EightThreads_h264ref/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate...
75.057987
124
0.681938
8,090
68,603
5.776885
0.066378
0.12359
0.112977
0.093463
0.941243
0.933219
0.922221
0.89586
0.872986
0.853814
0
0.131549
0.224349
68,603
914
125
75.057987
0.74673
0
0
0.654267
0
0
0.657469
0.048102
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a3e0a05c2aa5412ea5205a77b2641badae72061e
123
py
Python
PManager/classes/sniffer/__init__.py
srisankethu/opengift.io
fc490332bd0252610b55a68c1fff1c4f704fcbd4
[ "Apache-2.0" ]
1
2020-08-30T23:12:08.000Z
2020-08-30T23:12:08.000Z
PManager/classes/sniffer/__init__.py
lenarhus/opengift.io
db37494eac141e795c8d9d5b262d54cd6f20fb15
[ "Apache-2.0" ]
null
null
null
PManager/classes/sniffer/__init__.py
lenarhus/opengift.io
db37494eac141e795c8d9d5b262d54cd6f20fb15
[ "Apache-2.0" ]
null
null
null
__author__ = 'Tonakai' from PManager.classes.sniffer.js_sniffer import * from PManager.classes.sniffer.php_sniffer import *
41
50
0.829268
16
123
6
0.5625
0.25
0.395833
0.541667
0
0
0
0
0
0
0
0
0.081301
123
3
50
41
0.849558
0
0
0
0
0
0.056452
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
7
43021a4f4001525af97e2dd810ed30bf386893d4
17,702
py
Python
kolibril_projects/physics/balmer/balmer_series.py
kolibril13/manim
6a1e03ce79e5abb8bafbf11a7345b51aa7b0d333
[ "MIT" ]
5
2019-02-22T14:10:08.000Z
2022-03-13T01:03:49.000Z
kolibril_projects/physics/balmer/balmer_series.py
kolibril13/manim
6a1e03ce79e5abb8bafbf11a7345b51aa7b0d333
[ "MIT" ]
1
2021-04-15T08:02:43.000Z
2021-04-15T09:46:42.000Z
kolibril_projects/physics/balmer/balmer_series.py
kolibril13/manim
6a1e03ce79e5abb8bafbf11a7345b51aa7b0d333
[ "MIT" ]
1
2019-03-22T14:33:25.000Z
2019-03-22T14:33:25.000Z
from manim import * class Balmer(Scene): # Todo: remove this top, bottom, etc. stuff from the top def construct(self): TOP = config["frame_height"] / 2 * UP BOTTOM = config["frame_height"] / 2 * DOWN LEFT_SIDE = config["frame_width"] / 2 * LEFT RIGHT_SIDE = config["frame_width"...
46.954907
141
0.624675
2,506
17,702
4.197127
0.086991
0.054763
0.045636
0.051341
0.848926
0.84132
0.838087
0.838087
0.838087
0.838087
0
0.043987
0.228166
17,702
377
141
46.954907
0.725829
0.005875
0
0.767584
0
0.018349
0.040763
0.003473
0
0
0
0.002653
0
1
0.021407
false
0
0.009174
0
0.036697
0.015291
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
43026b128d79a69a928dc2be56221d7369457a22
35,591
py
Python
sdk/digitaltwins/azure-digitaltwins-core/tests/test_relationships_async.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
2,728
2015-01-09T10:19:32.000Z
2022-03-31T14:50:33.000Z
sdk/digitaltwins/azure-digitaltwins-core/tests/test_relationships_async.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
17,773
2015-01-05T15:57:17.000Z
2022-03-31T23:50:25.000Z
sdk/digitaltwins/azure-digitaltwins-core/tests/test_relationships_async.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
1,916
2015-01-19T05:05:41.000Z
2022-03-31T19:36:44.000Z
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See LICENSE.txt in the project root for # license information. # ------------------------------------------------------------------------- import pyte...
39.810962
118
0.611615
2,844
35,591
7.366737
0.068214
0.074555
0.074364
0.08434
0.859195
0.8349
0.830605
0.824734
0.807455
0.801966
0
0.003317
0.296901
35,591
893
119
39.855543
0.833919
0.008373
0
0.712546
0
0
0.157849
0.011194
0
0
0
0
0.043849
1
0.001218
false
0.002436
0.008526
0
0.01218
0.001218
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
4310903e36cc4c190deb93a113cea0b2cb148350
76
py
Python
experimental_models/utils/__init__.py
justinbt1/Multimodal-Document-Classification
794eb1e1235efc9c81f1edca881db576d754628a
[ "MIT" ]
null
null
null
experimental_models/utils/__init__.py
justinbt1/Multimodal-Document-Classification
794eb1e1235efc9c81f1edca881db576d754628a
[ "MIT" ]
null
null
null
experimental_models/utils/__init__.py
justinbt1/Multimodal-Document-Classification
794eb1e1235efc9c81f1edca881db576d754628a
[ "MIT" ]
null
null
null
from .data import * from .models_images import * from .models_text import *
19
28
0.763158
11
76
5.090909
0.545455
0.357143
0.571429
0
0
0
0
0
0
0
0
0
0.157895
76
3
29
25.333333
0.875
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
4314ec620840c4177444445838797fafbcb1a029
162
py
Python
Configuration/Generator/python/BsMM_EXTRAS_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Configuration/Generator/python/BsMM_EXTRAS_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Configuration/Generator/python/BsMM_EXTRAS_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
from Configuration.Generator.BsMM_cfi import * from Configuration.Generator.BsMM_filt_cfi import * ProductionFilterSequence = cms.Sequence(MuFilter+MuMuFilter)
27
60
0.851852
18
162
7.5
0.666667
0.251852
0.385185
0.444444
0
0
0
0
0
0
0
0
0.080247
162
5
61
32.4
0.90604
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
7
4a332cbaab2f4f972f703edda528f7037dd53bac
221,884
py
Python
src/genie/libs/parser/nxos/show_pim.py
pwoconnor/genieparser
6c764dea0f452d75bc02f3aff3dbe16aec543c81
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/nxos/show_pim.py
pwoconnor/genieparser
6c764dea0f452d75bc02f3aff3dbe16aec543c81
[ "Apache-2.0" ]
1
2019-04-02T16:51:56.000Z
2019-04-02T16:51:56.000Z
src/genie/libs/parser/nxos/show_pim.py
pwoconnor/genieparser
6c764dea0f452d75bc02f3aff3dbe16aec543c81
[ "Apache-2.0" ]
1
2021-01-29T17:31:33.000Z
2021-01-29T17:31:33.000Z
import re from genie.metaparser import MetaParser from genie.metaparser.util.schemaengine import Schema, Any, Optional from genie.libs.parser.utils.common import Common # ==================================================== # schema Parser for 'show ipv6 pim interface' # ==============================================...
50.052786
137
0.476465
22,343
221,884
4.463948
0.024974
0.035072
0.060759
0.076962
0.867733
0.838958
0.799595
0.773366
0.757956
0.738675
0
0.012974
0.372974
221,884
4,432
138
50.064079
0.703911
0.083458
0
0.752829
0
0.003574
0.214602
0.057587
0
0
0
0.000226
0.005063
1
0.005063
false
0.01489
0.001191
0.000596
0.02978
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
4a6e047d9b61597539022f1fb3400fbfbfc1d546
836,031
py
Python
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_l2vpn_cfg.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_l2vpn_cfg.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_l2vpn_cfg.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
""" Cisco_IOS_XR_l2vpn_cfg This module contains a collection of YANG definitions for Cisco IOS\-XR l2vpn package configuration. This module contains definitions for the following management objects\: l2vpn\: L2VPN configuration generic\-interface\-lists\: generic interface lists evpn\: evpn This YANG module a...
49.158053
344
0.397196
61,088
836,031
5.216049
0.014176
0.041225
0.051532
0.048346
0.87622
0.848053
0.818819
0.788999
0.761924
0.734545
0
0.02126
0.541522
836,031
17,006
345
49.160943
0.810038
0.19333
0
0.746917
0
0.016138
0.10856
0.074115
0
0
0
0
0
1
0.161375
false
0.000262
0.037785
0.00433
0.500787
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
9
4a7efabebfe971ead78807db2b6b690d11b509cc
11,504
py
Python
nnunet/training/network_training/nnUNet_variants/profiling/nnUNetTrainerV2_2epochs.py
Gitsamshi/nnUNet-1
5341684211e6d91dab6ad76a7595a95addff23be
[ "Apache-2.0" ]
1
2020-12-17T02:06:57.000Z
2020-12-17T02:06:57.000Z
nnunet/training/network_training/nnUNet_variants/profiling/nnUNetTrainerV2_2epochs.py
genhao3/nnUNet
756fb365f021cb78a6370c09a970d6f07df81022
[ "Apache-2.0" ]
null
null
null
nnunet/training/network_training/nnUNet_variants/profiling/nnUNetTrainerV2_2epochs.py
genhao3/nnUNet
756fb365f021cb78a6370c09a970d6f07df81022
[ "Apache-2.0" ]
1
2020-11-17T01:35:32.000Z
2020-11-17T01:35:32.000Z
# Copyright 2020 Division of Medical Image Computing, German Cancer Research Center (DKFZ), Heidelberg, Germany # # 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://w...
48.745763
121
0.595967
1,291
11,504
5.030984
0.152595
0.061586
0.020015
0.029253
0.842186
0.837105
0.820631
0.811085
0.811085
0.811085
0
0.01069
0.325104
11,504
236
122
48.745763
0.825863
0.058675
0
0.845714
0
0
0.012024
0
0
0
0
0
0
1
0.148571
false
0.108571
0.062857
0
0.251429
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
436ce52a3e1fb4a0398ef2205da3e6a7372417ae
131
py
Python
examples/python/fastapi/lib/car/car.py
ScriptBox99/pyroscope
fbf5bd297caf6a987f9fb6ffd0240ed804eaf9b4
[ "Apache-2.0" ]
5,751
2021-01-01T18:58:15.000Z
2022-03-31T19:19:39.000Z
examples/python/fastapi/lib/car/car.py
ScriptBox99/pyroscope
fbf5bd297caf6a987f9fb6ffd0240ed804eaf9b4
[ "Apache-2.0" ]
913
2021-01-05T07:46:12.000Z
2022-03-31T20:04:39.000Z
examples/python/fastapi/lib/car/car.py
admariner/pyroscope
e13afb40348914ae29b813881bfad0ca3b89f250
[ "Apache-2.0" ]
329
2021-01-11T06:25:55.000Z
2022-03-29T08:19:33.000Z
from lib.utility.utility import find_nearest_vehicle def order_car(search_radius): find_nearest_vehicle(search_radius, "car")
26.2
52
0.824427
19
131
5.315789
0.631579
0.217822
0.356436
0
0
0
0
0
0
0
0
0
0.099237
131
4
53
32.75
0.855932
0
0
0
0
0
0.022901
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
7
43a18920d1b55d41b6d80fe13840edbae942ac15
82,219
py
Python
hf_datasets/generated_definitions.py
madlag/CodeXGLUE
43a3ddd4e7a4d5190c118b4948c47b333d31c3a2
[ "CC0-1.0", "MIT" ]
null
null
null
hf_datasets/generated_definitions.py
madlag/CodeXGLUE
43a3ddd4e7a4d5190c118b4948c47b333d31c3a2
[ "CC0-1.0", "MIT" ]
null
null
null
hf_datasets/generated_definitions.py
madlag/CodeXGLUE
43a3ddd4e7a4d5190c118b4948c47b333d31c3a2
[ "CC0-1.0", "MIT" ]
null
null
null
DEFINITIONS={ "cc_clone_detection_big_clone_bench": { "class_name": "CodeXGlueCCCloneDetectionBigCloneBench", "data_dir_name": "dataset", "dataset_type": "Code-Code", "description": "CodeXGLUE Clone-detection-BigCloneBench dataset, available at https://github.com/microsoft/CodeXGLUE/...
85.734098
176
0.709508
10,933
82,219
5.247508
0.013628
0.086089
0.12522
0.18783
0.978735
0.973645
0.969967
0.966481
0.960694
0.937059
0
0.002564
0.131879
82,219
959
177
85.734098
0.801222
0
0
0.759124
0
0.577685
0.82497
0.641474
0
0
0
0
0
1
0
false
0
0
0
0
0.468196
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
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
1
0
12
43bb52641a07f380ec1baccd56e38b701c68ddf5
414
py
Python
kapitan/inputs/helm/helm_binding.py
haggishunk/kapitan
2de00ff2539562d48863a0db23d1bf0d9b23338e
[ "Apache-2.0" ]
null
null
null
kapitan/inputs/helm/helm_binding.py
haggishunk/kapitan
2de00ff2539562d48863a0db23d1bf0d9b23338e
[ "Apache-2.0" ]
null
null
null
kapitan/inputs/helm/helm_binding.py
haggishunk/kapitan
2de00ff2539562d48863a0db23d1bf0d9b23338e
[ "Apache-2.0" ]
null
null
null
# auto-generated file import _cffi_backend ffi = _cffi_backend.FFI( "helm_binding", _version=0x2601, _types=b"\x00\x00\x01\x0D\x00\x00\x0B\x03\x00\x00\x01\x11\x00\x00\x01\x11\x00\x00\x01\x11\x00\x00\x01\x11\x00\x00\x01\x11\x00\x00\x00\x0F\x00\x00\x0C\x0D\x00\x00\x0C\x03\x00\x00\x00\x0F\x00\x00\x02\x01\x00\...
41.4
223
0.71256
81
414
3.54321
0.333333
0.397213
0.219512
0.209059
0.334495
0.334495
0.229965
0.229965
0.229965
0.229965
0
0.314961
0.07971
414
9
224
46
0.43832
0.045894
0
0
1
0.142857
0.679389
0.597964
0
0
0.015267
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
1
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
606ca5e655a092dfbb09fcd296b088311f2b971c
132
py
Python
sql/snsql/__init__.py
shlomihod/smartnoise-sdk
1131fed432027c15caa5182d6da00286514efd00
[ "MIT" ]
56
2021-02-21T19:45:47.000Z
2022-03-20T16:45:56.000Z
sql/snsql/__init__.py
shlomihod/smartnoise-sdk
1131fed432027c15caa5182d6da00286514efd00
[ "MIT" ]
87
2021-02-20T20:43:49.000Z
2022-03-31T16:24:46.000Z
sql/snsql/__init__.py
shlomihod/smartnoise-sdk
1131fed432027c15caa5182d6da00286514efd00
[ "MIT" ]
17
2021-02-18T18:47:09.000Z
2022-03-01T06:44:17.000Z
from .connect import from_connection, from_df from .sql.privacy import Privacy __all__ = ['from_connection', 'from_df', 'Privacy']
26.4
51
0.772727
18
132
5.222222
0.444444
0.297872
0.382979
0.425532
0
0
0
0
0
0
0
0
0.113636
132
5
51
26.4
0.803419
0
0
0
0
0
0.218045
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
7
60ac484877850d2884dbad86c4f0af289ff85fd6
12
py
Python
docker/python/app/codes/questions/course1/lesson1/study5/7/sample.py
morisakigogogo/python-react-demo
656299a200479bc5b508c6d15ad8d4cfbb0c7fe0
[ "MIT" ]
null
null
null
docker/python/app/codes/questions/course1/lesson1/study5/7/sample.py
morisakigogogo/python-react-demo
656299a200479bc5b508c6d15ad8d4cfbb0c7fe0
[ "MIT" ]
null
null
null
docker/python/app/codes/questions/course1/lesson1/study5/7/sample.py
morisakigogogo/python-react-demo
656299a200479bc5b508c6d15ad8d4cfbb0c7fe0
[ "MIT" ]
null
null
null
print(10/2)
6
11
0.666667
3
12
2.666667
1
0
0
0
0
0
0
0
0
0
0
0.272727
0.083333
12
1
12
12
0.454545
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
60ca2a8845407f1ce61c42a58147757bb96b7e00
3,600
py
Python
test/fixture/ast.py
gcn-ying/arcee
dc6534e1e9bfaff2fbfec3a03026b1dc0439ac2b
[ "MIT" ]
2
2019-11-15T03:59:18.000Z
2019-11-15T04:03:12.000Z
test/fixture/ast.py
gcn-ying/arcee
dc6534e1e9bfaff2fbfec3a03026b1dc0439ac2b
[ "MIT" ]
null
null
null
test/fixture/ast.py
gcn-ying/arcee
dc6534e1e9bfaff2fbfec3a03026b1dc0439ac2b
[ "MIT" ]
null
null
null
from arcee.lexer.lexer import Token from arcee.parser.arcee_parser import Nonterminal parser_syntax = '''program : expression ; expression : constexp | diffexp | zeroexp | ifexp | varexp | letexp ; constexp : $NUMBER ; diffexp : '-' '(' expression ',' expression ')' ; zeroexp : 'zero?' '(' expr...
55.384615
191
0.563333
447
3,600
4.516779
0.100671
0.316493
0.193165
0.270431
0.824666
0.760277
0.702823
0.654284
0.654284
0.627538
0
0.024661
0.200278
3,600
64
192
56.25
0.676624
0
0
0.135593
0
0
0.237222
0
0
0
0
0
0
1
0
false
0
0.033898
0
0.033898
0
0
0
0
null
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
71c883fb97ca1601f3b1a2d607784c51dfb716f2
15,929
py
Python
binary_class/load_data.py
HarikrishnanNB/genome-classification-nl
087d187d2320b6f3a4fedde00c67f569e18cca98
[ "Apache-2.0" ]
null
null
null
binary_class/load_data.py
HarikrishnanNB/genome-classification-nl
087d187d2320b6f3a4fedde00c67f569e18cca98
[ "Apache-2.0" ]
null
null
null
binary_class/load_data.py
HarikrishnanNB/genome-classification-nl
087d187d2320b6f3a4fedde00c67f569e18cca98
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Author: Harikrishnan NB Email: harikrishnannb07@gmail.com Data details: Class-0: SARS-CoV-2 Class-1: Coronaviradae Class-2: Metapneumovirus Class-3: Rhinovirus Feature Transformation "A" = 1.0 "G" = 0.75 "T" = 0.50 "C" = 0.25 """ from Bio import SeqIO impor...
39.723192
153
0.545734
1,776
15,929
4.656532
0.091216
0.12769
0.111004
0.072551
0.907497
0.894921
0.877146
0.877146
0.87243
0.854293
0
0.020864
0.350053
15,929
400
154
39.8225
0.777939
0.357147
0
0.707483
0
0.006803
0.052342
0
0
0
0
0
0.040816
1
0.013605
false
0
0.068027
0
0.102041
0.040816
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
e0da7b14a7b51eded2145684fe789dc486b43aea
112
py
Python
RecoBTag/PerformanceDB/python/BTagPerformanceDBMC36X.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoBTag/PerformanceDB/python/BTagPerformanceDBMC36X.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoBTag/PerformanceDB/python/BTagPerformanceDBMC36X.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
from RecoBTag.PerformanceDB.measure.Btag_pf36 import * from RecoBTag.PerformanceDB.measure.Btag_calo36 import *
37.333333
56
0.857143
14
112
6.714286
0.571429
0.255319
0.531915
0.680851
0.765957
0
0
0
0
0
0
0.038462
0.071429
112
2
57
56
0.865385
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
e0eaa591794989000de1ff09fc74578cace3853c
287
py
Python
django-server/CoronaGo/keys.py
Junt0/CoronaGo
c75e14c8b07be1be8d8d3a323aceb81a55aa969b
[ "MIT" ]
null
null
null
django-server/CoronaGo/keys.py
Junt0/CoronaGo
c75e14c8b07be1be8d8d3a323aceb81a55aa969b
[ "MIT" ]
6
2021-03-19T01:22:24.000Z
2021-09-22T18:49:17.000Z
django-server/CoronaGo/keys.py
Junt0/CoronaGo
c75e14c8b07be1be8d8d3a323aceb81a55aa969b
[ "MIT" ]
null
null
null
""" DO NOT COMMIT THIS FILE WITH INFORMATION FILLED OUT! DO NOT COMMIT THIS FILE WITH INFORMATION FILLED OUT! DO NOT COMMIT THIS FILE WITH INFORMATION FILLED OUT! DO NOT COMMIT THIS FILE WITH INFORMATION FILLED OUT! """ DB_USERNAME = '' DB_PASSWORD = '' SECRET_KEY = ''
26.090909
56
0.710801
42
287
4.785714
0.333333
0.099502
0.218905
0.298507
0.855721
0.855721
0.855721
0.855721
0.855721
0.855721
0
0
0.222997
287
10
57
28.7
0.901345
0.735192
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.333333
0
0
0
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
9
4608c50c7a2bbaec2bea5d3f072e1e4d5d59b0b2
18,630
py
Python
tests/test_ReactionSystems.py
dsondak/pychemkin
c97f7b4c5a0306fa071709386e151edd36d30b45
[ "MIT" ]
1
2021-08-31T12:33:03.000Z
2021-08-31T12:33:03.000Z
tests/test_ReactionSystems.py
hsim13372/pychemkin
0d98db487ed6862ec60ccbf2be27aced33ed9283
[ "MIT" ]
8
2018-01-22T21:40:53.000Z
2018-05-31T15:44:17.000Z
tests/test_ReactionSystems.py
hsim13372/pychemkin
0d98db487ed6862ec60ccbf2be27aced33ed9283
[ "MIT" ]
5
2018-01-24T21:12:17.000Z
2018-05-31T15:27:53.000Z
"""Test module for reaction systems""" import os, sys sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) import numpy import os import pytest import warnings #warnings.simplefilter("error") from pychemkin.config import DB_DIRECTORY from pychemkin.parsers.XMLParser import XMLParser from pych...
51.181319
113
0.61825
2,230
18,630
5.031839
0.103139
0.071562
0.117102
0.131183
0.83923
0.820515
0.789056
0.778095
0.761964
0.726138
0
0.263301
0.248363
18,630
363
114
51.322314
0.538028
0.173108
0
0.606178
0
0
0.039196
0.01649
0
0
0
0
0.254826
1
0.03861
false
0
0.034749
0
0.084942
0.003861
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
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
e81738081d7d574b8390d9ae21fd569c4cd82f83
197
py
Python
examples/aspectl/advices.py
duelle/kieker-lang-pack-python
563703e8c3f036f6d23b4828135b8c0da31983d7
[ "Apache-2.0" ]
2
2021-11-30T14:55:57.000Z
2021-12-26T23:05:16.000Z
examples/aspectl/advices.py
duelle/kieker-lang-pack-python
563703e8c3f036f6d23b4828135b8c0da31983d7
[ "Apache-2.0" ]
4
2020-04-27T09:02:18.000Z
2021-06-02T13:41:50.000Z
examples/aspectl/advices.py
duelle/kieker-lang-pack-python
563703e8c3f036f6d23b4828135b8c0da31983d7
[ "Apache-2.0" ]
2
2021-06-17T15:55:06.000Z
2021-11-30T12:15:21.000Z
# -*- coding: utf-8 -*- import examples.aspectl.instrument as inst import aspectlib import examples.aspectl.bookstore aspectlib.weave(examples.aspectl.bookstore.Bookstore, inst.wrapper) print(2)
24.625
67
0.791878
25
197
6.24
0.6
0.288462
0.269231
0
0
0
0
0
0
0
0
0.011173
0.091371
197
8
68
24.625
0.860335
0.106599
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0.2
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
e82dad7ad3c02e6961e96351946dc62a16af205c
244
py
Python
test/test_datahandling.py
Undo1/Smokey-McSmokeface
b1d7e3f86941ef200a194ee8e362c30499ee6a5e
[ "Apache-2.0", "MIT" ]
null
null
null
test/test_datahandling.py
Undo1/Smokey-McSmokeface
b1d7e3f86941ef200a194ee8e362c30499ee6a5e
[ "Apache-2.0", "MIT" ]
null
null
null
test/test_datahandling.py
Undo1/Smokey-McSmokeface
b1d7e3f86941ef200a194ee8e362c30499ee6a5e
[ "Apache-2.0", "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from datahandling import append_pings def test_append_pings(): assert append_pings("foo", ["user1", "some user"]) == "foo (@user1 @someuser)" assert append_pings("foo", [u"Doorknob 冰"]) == u"foo (@Doorknob冰)"
27.111111
82
0.647541
32
244
4.78125
0.625
0.287582
0.222222
0.261438
0
0
0
0
0
0
0
0.014563
0.155738
244
8
83
30.5
0.728155
0.086066
0
0
0
0
0.307692
0
0
0
0
0
0.5
1
0.25
true
0
0.25
0
0.5
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
1
0
1
1
0
0
0
0
0
0
7
e83708804bad03ade8741dcd108d6801e1d610c9
3,208
py
Python
tests/unit_tests/test_range_switch.py
hobbe/teslajsonpy
1d185a13ddf8024d74bd7a6bec5d798ca0270f61
[ "Apache-2.0" ]
null
null
null
tests/unit_tests/test_range_switch.py
hobbe/teslajsonpy
1d185a13ddf8024d74bd7a6bec5d798ca0270f61
[ "Apache-2.0" ]
null
null
null
tests/unit_tests/test_range_switch.py
hobbe/teslajsonpy
1d185a13ddf8024d74bd7a6bec5d798ca0270f61
[ "Apache-2.0" ]
null
null
null
"""Test range switch.""" import pytest from tests.tesla_mock import TeslaMock from teslajsonpy.controller import Controller from teslajsonpy.charger import RangeSwitch def test_has_battery(monkeypatch): """Test has_battery().""" _mock = TeslaMock(monkeypatch) _controller = Controller(None) _data ...
25.460317
62
0.725998
374
3,208
5.772727
0.131016
0.060213
0.08893
0.125984
0.826308
0.816582
0.816582
0.777675
0.761
0.739231
0
0
0.165835
3,208
125
63
25.664
0.806801
0.023691
0
0.794521
0
0
0.075113
0
0
0
0
0
0.109589
1
0.027397
false
0
0.054795
0
0.082192
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
c702369789835ad696e217ebc4cee77f5e90329a
22,752
py
Python
tests/test_kinesis/test_kinesis.py
alexsult/moto
ed861ecae1039a048a6350a4ff832ef094cdf2c2
[ "Apache-2.0" ]
2
2019-07-10T14:44:12.000Z
2020-06-08T17:26:29.000Z
tests/test_kinesis/test_kinesis.py
alexsult/moto
ed861ecae1039a048a6350a4ff832ef094cdf2c2
[ "Apache-2.0" ]
5
2018-04-25T21:04:20.000Z
2018-11-02T19:59:27.000Z
tests/test_kinesis/test_kinesis.py
alexsult/moto
ed861ecae1039a048a6350a4ff832ef094cdf2c2
[ "Apache-2.0" ]
2
2020-07-24T18:14:07.000Z
2020-12-10T10:55:26.000Z
from __future__ import unicode_literals import boto.kinesis from boto.kinesis.exceptions import ResourceNotFoundException, InvalidArgumentException import boto3 import sure # noqa import datetime import time from moto import mock_kinesis, mock_kinesis_deprecated @mock_kinesis_deprecated def test_create_cluster(): ...
36.4032
107
0.688203
2,815
22,752
5.31865
0.082771
0.078814
0.053433
0.026115
0.838632
0.809177
0.792546
0.769637
0.739848
0.72876
0
0.017503
0.191412
22,752
624
108
36.461538
0.796325
0.067994
0
0.732719
0
0
0.142668
0.004537
0
0
0
0
0
1
0.052995
false
0
0.018433
0
0.071429
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
c706b09be6481c2eee1119f60c49780dee8a7769
11,640
py
Python
src/pyABFauto/analyses/stimulation.py
swharden/pyABFauto
d353d065aa3bfcef4f4a36fdfed440a6b6f0be9a
[ "MIT" ]
8
2018-11-19T13:15:48.000Z
2022-02-20T22:35:52.000Z
src/pyABFauto/analyses/stimulation.py
swharden/pyABFauto
d353d065aa3bfcef4f4a36fdfed440a6b6f0be9a
[ "MIT" ]
7
2018-11-17T13:39:52.000Z
2020-02-18T23:22:05.000Z
src/pyABFauto/analyses/stimulation.py
swharden/pyABFauto
d353d065aa3bfcef4f4a36fdfed440a6b6f0be9a
[ "MIT" ]
1
2019-12-20T05:15:23.000Z
2019-12-20T05:15:23.000Z
""" ???????????????????????????? """ import pyabf import pyabf.tools import pyabf.tools.memtest import pyabf.filter import pyABFauto import matplotlib.pyplot as plt import numpy as np def optoResponse(abf, fig, optoEpochNumber=3): if abf.sweepUnitsY == "pA" and abf.dataLengthMin > 5: figureShowOptoResp...
34.850299
80
0.669588
1,335
11,640
5.838202
0.118352
0.07339
0.014113
0.022581
0.803823
0.775853
0.773415
0.773415
0.746472
0.743264
0
0.02928
0.193127
11,640
334
81
34.850299
0.800575
0.002406
0
0.797101
0
0
0.050495
0
0
0
0
0
0.032609
1
0.025362
false
0.003623
0.025362
0
0.054348
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
c736044901013070efe75d83251b88afce18d2b1
74
py
Python
finrl_meta/env_execution_optimizing/order_execution_qlib/trade/observation/__init__.py
eitin-infant/FinRL-Meta
4c94011e58425796e7e2e5c1bf848afd65c828d6
[ "MIT" ]
214
2021-11-08T17:06:11.000Z
2022-03-31T18:29:48.000Z
finrl_meta/env_execution_optimizing/order_execution_qlib/trade/observation/__init__.py
eitin-infant/FinRL-Meta
4c94011e58425796e7e2e5c1bf848afd65c828d6
[ "MIT" ]
51
2021-11-14T19:11:02.000Z
2022-03-30T20:23:08.000Z
finrl_meta/env_execution_optimizing/order_execution_qlib/trade/observation/__init__.py
eitin-infant/FinRL-Meta
4c94011e58425796e7e2e5c1bf848afd65c828d6
[ "MIT" ]
110
2021-11-03T07:41:40.000Z
2022-03-31T03:23:38.000Z
from .ppo_obs import * from .teacher_obs import * from .obs_rule import *
18.5
26
0.756757
12
74
4.416667
0.5
0.339623
0.490566
0
0
0
0
0
0
0
0
0
0.162162
74
3
27
24.666667
0.854839
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
c7409f5d28a4ed10f3a3987c2636ce31eb97e393
36,223
py
Python
tests/dhcpv4/kea_only/flexid/test_flex_id.py
shawnmullaney/forge
aaaef0a0645f73d24666aab6a400f3604e753aac
[ "0BSD" ]
null
null
null
tests/dhcpv4/kea_only/flexid/test_flex_id.py
shawnmullaney/forge
aaaef0a0645f73d24666aab6a400f3604e753aac
[ "0BSD" ]
null
null
null
tests/dhcpv4/kea_only/flexid/test_flex_id.py
shawnmullaney/forge
aaaef0a0645f73d24666aab6a400f3604e753aac
[ "0BSD" ]
null
null
null
"""Kea Hook flex-id testing""" # pylint: disable=invalid-name,line-too-long import pytest import misc import srv_msg import srv_control @pytest.mark.v4 @pytest.mark.flexid @pytest.mark.kea_only def test_v4_hooks_flexid_libreload(): misc.test_setup() srv_control.config_srv_subnet('192.168.50.0/24', '192.168...
46.981842
104
0.689479
5,385
36,223
4.289879
0.033426
0.06675
0.079997
0.030302
0.987533
0.987533
0.98697
0.98697
0.98697
0.985022
0
0.078395
0.158711
36,223
770
105
47.042857
0.679661
0.033542
0
0.95315
0
0.017771
0.272795
0.063703
0
0
0
0
0
1
0.024233
true
0.059774
0.006462
0
0.030695
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
1
1
0
0
0
0
0
9
c741b7fb036f13dbe223afaab4080b4db30e60bd
29,723
py
Python
pytest_docker_git_fixtures/fixtures.py
crashvb/pytest-docker-git-fixtures
4fd9ac289ab68c7d036e633125effd1db41304ef
[ "Apache-2.0" ]
null
null
null
pytest_docker_git_fixtures/fixtures.py
crashvb/pytest-docker-git-fixtures
4fd9ac289ab68c7d036e633125effd1db41304ef
[ "Apache-2.0" ]
null
null
null
pytest_docker_git_fixtures/fixtures.py
crashvb/pytest-docker-git-fixtures
4fd9ac289ab68c7d036e633125effd1db41304ef
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # pylint: disable=redefined-outer-name,too-many-arguments,too-many-locals """The actual fixtures, you found them ;).""" import logging import itertools from base64 import b64encode from functools import partial from pathlib import Path from ssl import create_default_context, SSLContext from st...
34.601863
118
0.678868
3,650
29,723
5.199726
0.071233
0.103377
0.041309
0.030297
0.865799
0.831972
0.78629
0.754044
0.710786
0.653986
0
0.002142
0.230259
29,723
858
119
34.642191
0.827396
0.161256
0
0.649612
0
0
0.064669
0.016106
0
0
0
0.002331
0
1
0.055814
false
0.072868
0.020155
0
0.136434
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
c75360268e6fd3afd6cbfb4ecf09a4de5cbf138a
7,320
py
Python
tests/test_sampler.py
zhangwenwen/mmdetection
ccb4e58a4f3aa4fbda8f880c8c53fac561549abc
[ "Apache-2.0" ]
1,467
2020-03-24T01:38:24.000Z
2022-03-31T03:02:05.000Z
tests/test_sampler.py
ZhiyuanChen/mmdetection
bdfa60d6bf3f09111f9620fcb279ef07a6ba6a09
[ "Apache-2.0" ]
208
2020-03-26T16:24:23.000Z
2022-03-30T13:12:07.000Z
tests/test_sampler.py
ZhiyuanChen/mmdetection
bdfa60d6bf3f09111f9620fcb279ef07a6ba6a09
[ "Apache-2.0" ]
300
2020-03-24T03:55:02.000Z
2022-03-29T19:08:07.000Z
import torch from mmdet.core import MaxIoUAssigner from mmdet.core.bbox.samplers import OHEMSampler, RandomSampler def test_random_sampler(): assigner = MaxIoUAssigner( pos_iou_thr=0.5, neg_iou_thr=0.5, ignore_iof_thr=0.5, ignore_wrt_candidates=False, ) bboxes = torch.Floa...
29.28
79
0.636612
1,040
7,320
4.193269
0.117308
0.085302
0.08255
0.022013
0.85164
0.840174
0.8349
0.79867
0.79867
0.79867
0
0.059888
0.244945
7,320
249
80
29.39759
0.729148
0.014208
0
0.803922
0
0
0.011368
0.004159
0
0
0
0
0.058824
1
0.039216
false
0
0.04902
0
0.093137
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
c7a1faeab53667bcdb4ff9423302f5ed974a02e7
146
py
Python
np/reference/ch8code/stringequal.py
focusunsink/study_python
322326642db54df8725793d70a95d21ac40b6507
[ "MIT" ]
null
null
null
np/reference/ch8code/stringequal.py
focusunsink/study_python
322326642db54df8725793d70a95d21ac40b6507
[ "MIT" ]
null
null
null
np/reference/ch8code/stringequal.py
focusunsink/study_python
322326642db54df8725793d70a95d21ac40b6507
[ "MIT" ]
null
null
null
import numpy as np print "Pass", np.testing.assert_string_equal("NumPy", "NumPy") print "Fail", np.testing.assert_string_equal("NumPy", "Numpy")
29.2
62
0.746575
22
146
4.772727
0.5
0.171429
0.285714
0.4
0.685714
0.685714
0.685714
0
0
0
0
0
0.089041
146
4
63
36.5
0.789474
0
0
0
0
0
0.191781
0
0
0
0
0
0.666667
0
null
null
0.333333
0.333333
null
null
0.666667
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
1
1
0
0
1
1
0
0
1
0
9
c7d08a6c54c9bc5f88230fcf3a3b847eda678bab
4,018
py
Python
tests/server/blueprints/alignviewers/test_alignviewers_controllers.py
gmc-norr/scout
ea8eaaa079c63e4033af6216ec08da4a314f9b5c
[ "BSD-3-Clause" ]
null
null
null
tests/server/blueprints/alignviewers/test_alignviewers_controllers.py
gmc-norr/scout
ea8eaaa079c63e4033af6216ec08da4a314f9b5c
[ "BSD-3-Clause" ]
null
null
null
tests/server/blueprints/alignviewers/test_alignviewers_controllers.py
gmc-norr/scout
ea8eaaa079c63e4033af6216ec08da4a314f9b5c
[ "BSD-3-Clause" ]
null
null
null
from scout.server.blueprints.alignviewers import controllers BUILD37 = "37" BUILD38 = "38" CHROM = "22" def test_clinvar_track_build37(): """Test function that returns clinVar track as a dictionary when build is 37""" # WHEN clinVar track controller is invoked with genome build 37 track = controllers.c...
35.557522
89
0.70657
545
4,018
5.13211
0.102752
0.078656
0.045763
0.065785
0.927422
0.85842
0.85842
0.85699
0.839828
0.818019
0
0.031569
0.195869
4,018
112
90
35.875
0.834107
0.40667
0
0.555556
0
0
0.183849
0
0
0
0
0
0.62963
1
0.148148
false
0
0.018519
0
0.166667
0.018519
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
40232cd81520c2497b8ccede38943091d3e8d5b7
23,287
py
Python
tests/test_identities_client.py
FPriv/factom-harmony-connect-python-sdk
b853596e7ca15205e1b431f0d8af6ba423365fc7
[ "MIT" ]
7
2019-03-27T16:20:57.000Z
2019-04-15T18:20:41.000Z
tests/test_identities_client.py
FPriv/factom-harmony-connect-python-sdk
b853596e7ca15205e1b431f0d8af6ba423365fc7
[ "MIT" ]
11
2019-04-02T18:38:11.000Z
2020-01-02T19:14:44.000Z
tests/test_identities_client.py
FPriv/factom-harmony-connect-python-sdk
b853596e7ca15205e1b431f0d8af6ba423365fc7
[ "MIT" ]
3
2019-04-06T04:45:45.000Z
2019-08-03T12:26:17.000Z
from unittest import TestCase from unittest.mock import patch from factom_sdk.client.identities_client import IdentitiesClient from factom_sdk.request_handler.request_handler import RequestHandler class TestIdentityClient(TestCase): def setUp(self): self.identities_client = IdentitiesClient("https://apica...
95.438525
334
0.702881
3,108
23,287
5.227799
0.045689
0.039389
0.041851
0.046775
0.935438
0.927991
0.911681
0.895987
0.883986
0.881893
0
0.016632
0.240907
23,287
243
335
95.831276
0.902529
0.006742
0
0.610837
0
0.197044
0.648383
0.110611
0
0
0
0
0.275862
1
0.039409
false
0
0.019704
0
0.064039
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
4069e613ff4184a8207e961a4cd574ab332ac3df
25,141
py
Python
sdk/python/pulumi_aws/connect/quick_connect.py
chivandikwa/pulumi-aws
19c08bf9dcb90544450ffa4eec7bf6751058fde2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/connect/quick_connect.py
chivandikwa/pulumi-aws
19c08bf9dcb90544450ffa4eec7bf6751058fde2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/connect/quick_connect.py
chivandikwa/pulumi-aws
19c08bf9dcb90544450ffa4eec7bf6751058fde2
[ "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...
50.181637
343
0.6703
2,981
25,141
5.459242
0.072123
0.081111
0.067961
0.043259
0.881467
0.866536
0.845582
0.82936
0.823584
0.81621
0
0.005999
0.224215
25,141
500
344
50.282
0.828394
0.426435
0
0.69145
1
0
0.109207
0.030691
0
0
0
0
0
1
0.159851
false
0.003717
0.026022
0
0.282528
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
4093be00ff2db1d4d433d5a385a5a9a741d68129
4,006
py
Python
low_level_simulation/build/rosbridge_suite/rosapi/cmake/rosapi-genmsg-context.py
abiantorres/autonomous-vehicles-system-simulation
3f0112036b2b270f5055729c648a1310976df933
[ "Apache-2.0" ]
null
null
null
low_level_simulation/build/rosbridge_suite/rosapi/cmake/rosapi-genmsg-context.py
abiantorres/autonomous-vehicles-system-simulation
3f0112036b2b270f5055729c648a1310976df933
[ "Apache-2.0" ]
null
null
null
low_level_simulation/build/rosbridge_suite/rosapi/cmake/rosapi-genmsg-context.py
abiantorres/autonomous-vehicles-system-simulation
3f0112036b2b270f5055729c648a1310976df933
[ "Apache-2.0" ]
null
null
null
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/abiantorres/Documentos/tfg/autonomous-vehicles-system-simulation/low_level_simulation/src/rosbridge_suite/rosapi/msg/TypeDef.msg" services_str = "/home/abiantorres/Documentos/tfg/autonomous-vehicles-system-simulation/low_level_simulation/src/ros...
333.833333
3,364
0.872941
521
4,006
6.53167
0.151631
0.114605
0.191008
0.213929
0.831913
0.831913
0.831913
0.831913
0.831913
0.831913
0
0
0.008487
4,006
11
3,365
364.181818
0.856747
0.012232
0
0
1
0.333333
0.948673
0.94134
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
1
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
14
40aa2c1a35766e58f9fb4a69516a6975a3b3464b
145
py
Python
web_commands/german.py
SalamiArmy/InfoBoet
71df751e50b4b458db44444ef7d6dfe6f68e648f
[ "Apache-2.0" ]
1
2021-07-14T21:48:48.000Z
2021-07-14T21:48:48.000Z
web_commands/german.py
SalamiArmy/InfoBoet
71df751e50b4b458db44444ef7d6dfe6f68e648f
[ "Apache-2.0" ]
6
2017-11-27T06:04:34.000Z
2020-02-19T05:15:02.000Z
web_commands/german.py
SalamiArmy/InfoBoet
71df751e50b4b458db44444ef7d6dfe6f68e648f
[ "Apache-2.0" ]
2
2017-08-16T20:26:02.000Z
2020-11-10T18:44:11.000Z
import telegram_commands.getgerman as getgerman def run(keyConfig, message, totalResults=1): getgerman.run(keyConfig, message, totalResults)
36.25
51
0.813793
17
145
6.882353
0.647059
0.205128
0.324786
0.529915
0
0
0
0
0
0
0
0.007692
0.103448
145
3
52
48.333333
0.892308
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
8
dc16b82124973e172daea01385ba5cda637046ca
2,480
py
Python
entertainment.py
SangramChavan/Movie-website-with-Python
c1e593ca017bbc359e0de14be632454bf96f5be1
[ "MIT" ]
null
null
null
entertainment.py
SangramChavan/Movie-website-with-Python
c1e593ca017bbc359e0de14be632454bf96f5be1
[ "MIT" ]
null
null
null
entertainment.py
SangramChavan/Movie-website-with-Python
c1e593ca017bbc359e0de14be632454bf96f5be1
[ "MIT" ]
null
null
null
import media import fresh_tomatoes chakras = media.Movie("7 Chakras", "How To Open Your 7 Chakras Explained", "https://images-na.ssl-images-amazon.com/images/M/MV5BMTM3MTc3OTc0NF5BMl5BanBnXkFtZTcwOTQ0OTM1MQ@@._V1._CR34,0,295,440_UX182_CR0,0,182,268_AL__QL50.jpg", ...
49.6
175
0.620565
285
2,480
5.235088
0.168421
0.064343
0.044236
0.072386
0.83378
0.83378
0.83378
0.83378
0.83378
0.83378
0
0.114674
0.258065
2,480
49
176
50.612245
0.696196
0.04879
0
0.529412
0
0.176471
0.607401
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
dc16b9ff43dbaf66bbb44370ee0c5864a55aba86
16,605
py
Python
src/conductor/client/http/api/queue_admin_resource_api.py
conductor-sdk/conductor-python
b3e4e0ae196f9963316a829fe42d9e7e01a390e2
[ "Apache-2.0" ]
3
2022-03-10T18:24:46.000Z
2022-03-22T20:49:30.000Z
src/conductor/client/http/api/queue_admin_resource_api.py
conductor-sdk/conductor-python
b3e4e0ae196f9963316a829fe42d9e7e01a390e2
[ "Apache-2.0" ]
6
2022-03-08T17:48:28.000Z
2022-03-30T00:39:22.000Z
src/conductor/client/http/api/queue_admin_resource_api.py
conductor-sdk/conductor-python
b3e4e0ae196f9963316a829fe42d9e7e01a390e2
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility library import six from conductor.client.http.api_client import ApiClient class QueueAdminResourceApi(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the c...
38.978873
123
0.598796
1,958
16,605
4.838611
0.078141
0.047287
0.023644
0.030399
0.938358
0.933819
0.927064
0.919569
0.910914
0.876504
0
0.01658
0.306233
16,605
425
124
39.070588
0.805816
0.307257
0
0.759494
0
0
0.193775
0.034686
0
0
0
0
0
1
0.037975
false
0
0.016878
0
0.109705
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
906f8c24347b215df81f56f9171f39e738749d0e
126,018
py
Python
symphony/bdk/gen/agent_api/dlp_policies_and_dictionary_management_api.py
symphony-mariacristina/symphony-bdk-python
ef65762739890e826ccfaf38f7a41d61b95e7f22
[ "Apache-2.0" ]
null
null
null
symphony/bdk/gen/agent_api/dlp_policies_and_dictionary_management_api.py
symphony-mariacristina/symphony-bdk-python
ef65762739890e826ccfaf38f7a41d61b95e7f22
[ "Apache-2.0" ]
null
null
null
symphony/bdk/gen/agent_api/dlp_policies_and_dictionary_management_api.py
symphony-mariacristina/symphony-bdk-python
ef65762739890e826ccfaf38f7a41d61b95e7f22
[ "Apache-2.0" ]
null
null
null
""" Agent API This document refers to Symphony API calls to send and receive messages and content. They need the on-premise Agent installed to perform decryption/encryption of content. - sessionToken and keyManagerToken can be obtained by calling the authenticationAPI on the symphony back end and the key mana...
39.209085
1,445
0.514022
11,957
126,018
5.141591
0.031864
0.037737
0.051238
0.04099
0.948274
0.94616
0.943899
0.940694
0.923696
0.918068
0
0.005198
0.404601
126,018
3,213
1,446
39.221289
0.81417
0.378176
0
0.75069
0
0
0.249747
0.046781
0
0
0
0
0
1
0.01012
false
0
0.0069
0
0.027139
0
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
908518ae9c5b7a009d733db77a77bedaa867fc9f
99,814
py
Python
msgraph/cli/command_modules/groups/azext_groups/generated/commands.py
microsoftgraph/msgraph-cli-archived
489f70bf4ede1ce67b84bfb31e66da3e4db76062
[ "MIT" ]
null
null
null
msgraph/cli/command_modules/groups/azext_groups/generated/commands.py
microsoftgraph/msgraph-cli-archived
489f70bf4ede1ce67b84bfb31e66da3e4db76062
[ "MIT" ]
22
2022-03-29T22:54:37.000Z
2022-03-29T22:55:27.000Z
msgraph/cli/command_modules/groups/azext_groups/generated/commands.py
microsoftgraph/msgraph-cli-archived
489f70bf4ede1ce67b84bfb31e66da3e4db76062
[ "MIT" ]
null
null
null
# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incor...
54.276237
248
0.807692
11,731
99,814
6.267923
0.02276
0.098886
0.0714
0.05168
0.891675
0.862136
0.8297
0.795033
0.769588
0.726285
0
0
0.122458
99,814
1,838
249
54.305767
0.839458
0.005711
0
0.309245
0
0.001953
0.461131
0.417545
0
0
0
0
0
1
0.000651
false
0.000651
0.001302
0
0.001953
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
90a5f75240a41a5aa782800ec53d17d420f123ee
8,356
py
Python
IPFIX_visualization/models.py
WKobes/ipvix
e8571a45088209812971fb476d6b491141cce9ea
[ "MIT" ]
null
null
null
IPFIX_visualization/models.py
WKobes/ipvix
e8571a45088209812971fb476d6b491141cce9ea
[ "MIT" ]
null
null
null
IPFIX_visualization/models.py
WKobes/ipvix
e8571a45088209812971fb476d6b491141cce9ea
[ "MIT" ]
null
null
null
from django.db import models from datetime import datetime from operator import itemgetter class Visualization(models.Model): id = models.AutoField(primary_key=True) enterprise_id = models.IntegerField() name = models.CharField(max_length=255) description = models.CharField(max_length=255, blank=True)...
31.063197
92
0.500957
847
8,356
4.773318
0.14758
0.038585
0.035617
0.047489
0.861242
0.823646
0.810537
0.790502
0.780114
0.770467
0
0.022205
0.369435
8,356
268
93
31.179104
0.745113
0.009694
0
0.788546
0
0
0.109553
0.003144
0
0
0
0.003731
0
1
0.039648
false
0
0.022026
0.013216
0.198238
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
90bb531f275ad647aff24888a78cc038ff2ccf1a
26,969
py
Python
perception.py
terraregina/BalancingControl
36330cc0a20ad1f2fbd3a8f87ef8fed98df3fb22
[ "MIT" ]
1
2021-08-16T02:34:15.000Z
2021-08-16T02:34:15.000Z
perception.py
terraregina/BalancingControl
36330cc0a20ad1f2fbd3a8f87ef8fed98df3fb22
[ "MIT" ]
null
null
null
perception.py
terraregina/BalancingControl
36330cc0a20ad1f2fbd3a8f87ef8fed98df3fb22
[ "MIT" ]
4
2021-06-07T15:15:28.000Z
2021-11-11T13:05:12.000Z
from misc import ln, softmax import numpy as np import scipy.special as scs from misc import D_KL_nd_dirichlet, D_KL_dirichlet_categorical class HierarchicalPerception(object): def __init__(self, generative_model_observations, generative_model_states, generative_...
50.789077
184
0.58482
3,496
26,969
4.298913
0.042048
0.078848
0.075853
0.06747
0.932464
0.910041
0.896201
0.886686
0.859937
0.855346
0
0.013603
0.274945
26,969
530
185
50.884906
0.754986
0.203864
0
0.810345
0
0
0.000702
0
0
0
0
0.001887
0.005747
1
0.054598
false
0
0.011494
0
0.100575
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
297e8c5d4fa93ef3ca30a8e53de4d1ce42c7db3b
2,760
py
Python
tfmunir/bi/models.py
cfvelez/tfmunir
11f5b5ba01a079743d7cc5f880768f8b9fe75376
[ "Apache-2.0" ]
null
null
null
tfmunir/bi/models.py
cfvelez/tfmunir
11f5b5ba01a079743d7cc5f880768f8b9fe75376
[ "Apache-2.0" ]
null
null
null
tfmunir/bi/models.py
cfvelez/tfmunir
11f5b5ba01a079743d7cc5f880768f8b9fe75376
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. class Locations(models.Model): code = models.CharField(primary_key=True, max_length=4) name_en = models.CharField(max_length=32, blank=True, null=True) name_es = models.CharField(max_length=32, blank=True, null=True) class Meta: managed ...
34.936709
81
0.71558
372
2,760
5.150538
0.120968
0.122129
0.176409
0.230689
0.872129
0.872129
0.872129
0.872129
0.872129
0.868476
0
0.012747
0.175725
2,760
79
82
34.936709
0.829451
0.008696
0
0.614035
0
0
0.035466
0.016819
0
0
0
0
0
1
0
false
0
0.105263
0
0.842105
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
1
0
0
8
46516e6a96817977429d608e0a37ddacb64f1c19
230
py
Python
CodeWars/Python/8 kyu/Find the Integral/main.py
opastushkov/codewars-solutions
0132a24259a4e87f926048318332dcb4d94858ca
[ "MIT" ]
null
null
null
CodeWars/Python/8 kyu/Find the Integral/main.py
opastushkov/codewars-solutions
0132a24259a4e87f926048318332dcb4d94858ca
[ "MIT" ]
null
null
null
CodeWars/Python/8 kyu/Find the Integral/main.py
opastushkov/codewars-solutions
0132a24259a4e87f926048318332dcb4d94858ca
[ "MIT" ]
null
null
null
def integrate(coefficient, exponent): return '{0}x^{1}'.format(coefficient/(exponent + 1), exponent + 1).replace('.0', '') if not coefficient/(exponent + 1) % 1 else '{0}x^{1}'.format(coefficient/(exponent + 1), exponent + 1)
115
192
0.656522
32
230
4.71875
0.40625
0.298013
0.397351
0.119205
0.503311
0.503311
0.503311
0.503311
0.503311
0
0
0.054726
0.126087
230
2
192
115
0.696517
0
0
0
0
0
0.077922
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
467f74f66510a5c370b13a19ed18206a6198c5bd
23,172
py
Python
utils/train_utils.py
HuchieWuchie/AffordanceNet
8827ce3cfc8dcd6a7909641099b4807568aa698c
[ "MIT" ]
9
2021-11-02T11:18:52.000Z
2022-02-15T12:58:03.000Z
utils/train_utils.py
HuchieWuchie/AffordanceNet
8827ce3cfc8dcd6a7909641099b4807568aa698c
[ "MIT" ]
1
2021-12-01T02:50:16.000Z
2021-12-02T13:50:05.000Z
utils/train_utils.py
HuchieWuchie/AffordanceNet
8827ce3cfc8dcd6a7909641099b4807568aa698c
[ "MIT" ]
2
2021-11-04T10:09:40.000Z
2022-02-06T17:19:48.000Z
import tensorflow as tf import math from utils import bbox_utils from tensorflow import keras import tensorflow.keras.losses as KLoss def get_step_size(total_items, batch_size): """Get step size for given total item size and batch size. inputs: total_items = number of total items batch_size = ...
45.081712
212
0.663128
3,395
23,172
4.26215
0.080118
0.019696
0.037733
0.036282
0.860539
0.841949
0.827643
0.821424
0.816655
0.806151
0
0.024715
0.231702
23,172
513
213
45.169591
0.788069
0.327896
0
0.739316
0
0
0.001155
0
0
0
0
0
0
1
0.076923
false
0
0.021368
0
0.149573
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
46ae55f313d74e8b94ecc68a5b06132b5f5dd791
66
py
Python
mct_homography/src/mct_homography/__init__.py
iorodeo/mct
fa8b85f36533c9b1486ca4f6b0c40c3daa6f4e11
[ "Apache-2.0" ]
null
null
null
mct_homography/src/mct_homography/__init__.py
iorodeo/mct
fa8b85f36533c9b1486ca4f6b0c40c3daa6f4e11
[ "Apache-2.0" ]
null
null
null
mct_homography/src/mct_homography/__init__.py
iorodeo/mct
fa8b85f36533c9b1486ca4f6b0c40c3daa6f4e11
[ "Apache-2.0" ]
null
null
null
import homography_calibrator_master import homography_calibrator
16.5
35
0.924242
7
66
8.285714
0.571429
0.551724
0.896552
0
0
0
0
0
0
0
0
0
0.075758
66
3
36
22
0.95082
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
d3caab3a891de423e0b915736f00211619ff6e0b
77,502
py
Python
build/lib/TTE.py
Elon-Lau/TTEkits
9fc356a6543735a4ead9a3735538bdba93c14db0
[ "MIT" ]
null
null
null
build/lib/TTE.py
Elon-Lau/TTEkits
9fc356a6543735a4ead9a3735538bdba93c14db0
[ "MIT" ]
null
null
null
build/lib/TTE.py
Elon-Lau/TTEkits
9fc356a6543735a4ead9a3735538bdba93c14db0
[ "MIT" ]
null
null
null
import math import os import time from datetime import datetime from math import inf from heapq import heappop, heappush import collections import functools from collections import defaultdict import heapq import random import networkx as nx import matplotlib.pyplot as plt import pandas as pd import numpy as np import ...
48.804786
123
0.48631
8,550
77,502
4.224561
0.062573
0.029014
0.026993
0.037375
0.895487
0.880537
0.854817
0.83768
0.828931
0.821844
0
0.040643
0.382519
77,502
1,588
124
48.804786
0.714122
0.080114
0
0.783601
0
0
0.10942
0.035915
0.010989
0
0
0
0
1
0.024514
false
0.001691
0.016906
0
0.071851
0.009298
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
d3d166f509b55cfac49c35a52150d573ade6c064
242
py
Python
discorgeous/__init__.py
Xtansia/Discorgeous
6b84a39d5d48c1eb1a74cbc32959e5e09b47a93b
[ "MIT" ]
6
2018-10-14T00:39:15.000Z
2021-08-07T23:49:23.000Z
discorgeous/__init__.py
Xtansia/Discorgeous
6b84a39d5d48c1eb1a74cbc32959e5e09b47a93b
[ "MIT" ]
2
2018-10-02T15:18:39.000Z
2021-06-01T22:49:27.000Z
discorgeous/__init__.py
Xtansia/Discorgeous
6b84a39d5d48c1eb1a74cbc32959e5e09b47a93b
[ "MIT" ]
2
2020-03-17T05:56:51.000Z
2021-03-26T18:50:21.000Z
from .configuration.general import Configuration as GeneralConfiguration from .configuration.client import Configuration as ClientConfiguration from .configuration.server import Configuration as ServerConfiguration from .client import Client
48.4
72
0.880165
25
242
8.52
0.4
0.239437
0.295775
0
0
0
0
0
0
0
0
0
0.090909
242
4
73
60.5
0.968182
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
d3fb48eb6a1ad601d6c0cff9d165c9962fa0d5d0
32,367
py
Python
Exp_Main/migrations/0001_squashed_0053_auto_20210427_1647.py
SimonSchubotz/Electronic-Laboratory-Notebook
a5dc3daa76b07370c1ee5b7e74fb6c780c3d3c97
[ "Apache-2.0" ]
null
null
null
Exp_Main/migrations/0001_squashed_0053_auto_20210427_1647.py
SimonSchubotz/Electronic-Laboratory-Notebook
a5dc3daa76b07370c1ee5b7e74fb6c780c3d3c97
[ "Apache-2.0" ]
null
null
null
Exp_Main/migrations/0001_squashed_0053_auto_20210427_1647.py
SimonSchubotz/Electronic-Laboratory-Notebook
a5dc3daa76b07370c1ee5b7e74fb6c780c3d3c97
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.3 on 2021-05-04 20:37 import datetime from django.db import migrations, models import django.db.models.deletion import mptt.fields class Migration(migrations.Migration): replaces = [('Exp_Main', '0001_initial'), ('Exp_Main', '0002_auto_20200716_1159'), ('Exp_Main', '0003_auto_20200716_...
64.093069
2,147
0.598418
3,485
32,367
5.360689
0.087518
0.105503
0.130125
0.170164
0.843914
0.834172
0.808051
0.781715
0.763676
0.727545
0
0.030822
0.246208
32,367
504
2,148
64.220238
0.734896
0.00139
0
0.800403
1
0
0.188738
0.048422
0
0
0
0
0
1
0
false
0
0.008065
0
0.018145
0
0
0
0
null
0
0
1
1
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
10
31841a41fa7d1dd84376877859d186f6ab58058c
60,450
py
Python
sdk/python/pulumi_azure/trafficmanager/endpoint.py
ScriptBox99/pulumi-azure
1b8c6d5479ccabc39094741eac25a8ca44c8833a
[ "ECL-2.0", "Apache-2.0" ]
109
2018-06-18T00:19:44.000Z
2022-02-20T05:32:57.000Z
sdk/python/pulumi_azure/trafficmanager/endpoint.py
ScriptBox99/pulumi-azure
1b8c6d5479ccabc39094741eac25a8ca44c8833a
[ "ECL-2.0", "Apache-2.0" ]
663
2018-06-18T21:08:46.000Z
2022-03-31T20:10:11.000Z
sdk/python/pulumi_azure/trafficmanager/endpoint.py
ScriptBox99/pulumi-azure
1b8c6d5479ccabc39094741eac25a8ca44c8833a
[ "ECL-2.0", "Apache-2.0" ]
41
2018-07-19T22:37:38.000Z
2022-03-14T10:56:26.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
53.166227
382
0.674194
7,244
60,450
5.453341
0.044589
0.071005
0.066854
0.037313
0.956561
0.948917
0.93793
0.931475
0.925172
0.913604
0
0.005875
0.239785
60,450
1,136
383
53.213028
0.853748
0.455385
0
0.831502
1
0
0.134512
0.053586
0
0
0
0
0
1
0.164835
false
0.001832
0.012821
0.003663
0.276557
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
3184c69ce1d516c7832445a034a9172678bc183a
183
py
Python
Utilities/Templates/Modules/ScriptedSegmentEditorEffect/SegmentEditorTemplateKeyLib/__init__.py
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
Utilities/Templates/Modules/ScriptedSegmentEditorEffect/SegmentEditorTemplateKeyLib/__init__.py
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
Utilities/Templates/Modules/ScriptedSegmentEditorEffect/SegmentEditorTemplateKeyLib/__init__.py
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
from SegmentEditorEffects.AbstractScriptedSegmentEditorEffect import * from SegmentEditorEffects.AbstractScriptedSegmentEditorLabelEffect import * from .SegmentEditorEffect import *
36.6
75
0.896175
11
183
14.909091
0.545455
0.292683
0
0
0
0
0
0
0
0
0
0
0.071038
183
4
76
45.75
0.964706
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
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
31870a7e37465cacd2177dd504f66eaf5204c1f3
1,237
py
Python
problem008.py
kenteroshima/project_euler_answers
9af9cd53319b70e8a624353356e2b890e72ab625
[ "MIT" ]
null
null
null
problem008.py
kenteroshima/project_euler_answers
9af9cd53319b70e8a624353356e2b890e72ab625
[ "MIT" ]
null
null
null
problem008.py
kenteroshima/project_euler_answers
9af9cd53319b70e8a624353356e2b890e72ab625
[ "MIT" ]
null
null
null
#0.04s user 0.02s system 63% cpu 0.086 total numbers = '731671765313306249192251196744265747423553491949349698352031277450632623957831801698480186947885184385861560789112949495459501737958331952853208805511125406987471585238630507156932909632952274430435576689664895044524452316173185640309871112172238311362229893423380...
95.153846
1,012
0.915117
41
1,237
27.609756
0.585366
0.012367
0
0
0
0
0
0
0
0
0
0.875322
0.059822
1,237
12
1,013
103.083333
0.098022
0.034762
0
0
0
0
0.838223
0.838223
0
1
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
8
319f4d1831aa77ed8d80015b092a65f19a98d690
83
py
Python
module3/lab3_1_1_3.py
dzooli/pcep_prepare
ddf34991a2d6ef2cfe3bda706ec333e9caa2aea5
[ "MIT" ]
null
null
null
module3/lab3_1_1_3.py
dzooli/pcep_prepare
ddf34991a2d6ef2cfe3bda706ec333e9caa2aea5
[ "MIT" ]
null
null
null
module3/lab3_1_1_3.py
dzooli/pcep_prepare
ddf34991a2d6ef2cfe3bda706ec333e9caa2aea5
[ "MIT" ]
null
null
null
var = 0 print(var == 0) print(var == 0.) var = 1 print(var == 0) print(var != 1.1)
11.857143
17
0.542169
17
83
2.647059
0.235294
0.355556
0.6
0.8
0.866667
0
0
0
0
0
0
0.107692
0.216867
83
6
18
13.833333
0.584615
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
0
0
null
1
1
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7
31d6196aca9451726a19a36ae7e869af9b25bac9
6,543
py
Python
background/compute_ranklist.py
B-ROY/TESTGIT
40221cf254c90d37d21afb981635740aebf11949
[ "Apache-2.0" ]
2
2017-12-02T13:58:30.000Z
2018-08-02T17:07:59.000Z
background/compute_ranklist.py
B-ROY/TESTGIT
40221cf254c90d37d21afb981635740aebf11949
[ "Apache-2.0" ]
null
null
null
background/compute_ranklist.py
B-ROY/TESTGIT
40221cf254c90d37d21afb981635740aebf11949
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import os import sys import datetime PROJECT_ROOT = os.path.realpath(os.path.dirname(__file__)) sys.path.insert(0, os.path.join(PROJECT_ROOT, os.pardir)) sys.path.append(os.path.abspath(os.path.join(os.path.abspath(__file__), '../'))) sys.path.append(os.path.abspath(os.path.join(os.path.abspat...
38.715976
133
0.668806
886
6,543
4.594808
0.125282
0.055023
0.047163
0.033407
0.818472
0.751904
0.713338
0.706706
0.706706
0.661017
0
0.011076
0.227266
6,543
168
134
38.946429
0.794106
0.015436
0
0.609375
0
0
0.015387
0
0
0
0
0
0
0
null
null
0
0.054688
null
null
0.023438
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
31de7684e609ac4faad4b64471410ca9a761e519
30,193
py
Python
regular_language/unit_tests/test_ast_AST_clone_subtree.py
ShoYamanishi/nlpregex
795b36d5a2fad8bc25264b2093ffa9c3723b282b
[ "MIT" ]
1
2021-12-03T07:20:18.000Z
2021-12-03T07:20:18.000Z
regular_language/unit_tests/test_ast_AST_clone_subtree.py
ShoYamanishi/nlpregex
795b36d5a2fad8bc25264b2093ffa9c3723b282b
[ "MIT" ]
null
null
null
regular_language/unit_tests/test_ast_AST_clone_subtree.py
ShoYamanishi/nlpregex
795b36d5a2fad8bc25264b2093ffa9c3723b282b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Unit Tests for ast.AST.clone_subtree() """ import unittest import nlpregex.regular_language.ast from nlpregex.regular_language.unit_tests.test_ast_helper import test_AST_helper class test_ast_AST_clone_subtree( unittest.TestCase ): def __init__( se...
28.457116
82
0.516345
4,101
30,193
3.357718
0.029017
0.05374
0.075236
0.056645
0.910603
0.908061
0.903849
0.903849
0.900363
0.899201
0
0.285203
0.398337
30,193
1,060
83
28.483962
0.472806
0.002716
0
0.876364
0
0
0.458252
0
0
0
0
0
0.044848
1
0.049697
false
0
0.003636
0.003636
0.058182
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
31e83c7c52fbd99269a62f4d954d6794af74d0fe
54,790
py
Python
operations/accounts/management/commands/set_user_permissions.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
operations/accounts/management/commands/set_user_permissions.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
operations/accounts/management/commands/set_user_permissions.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
from django.core.management.base import BaseCommand, CommandError from django.contrib.auth.models import Group, Permission from django.contrib.contenttypes.models import ContentType class Command(BaseCommand): help = 'Set Group Permissions' def handle(self, *args, **kwargs): #do stuff Permiss...
65.932611
175
0.763004
6,178
54,790
6.585141
0.020881
0.131259
0.257601
0.396996
0.952462
0.94966
0.947005
0.947005
0.937124
0.928103
0
0.000041
0.113816
54,790
831
176
65.932611
0.837851
0.009746
0
0.006993
0
0
0.197924
0.095321
0
0
0
0
0
0
null
null
0
0.005245
null
null
0.001748
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
9
b4083d9df64925e12634d56c6043cbf442af60d6
13,619
py
Python
src/model_zoo/models_resnet8.py
chisyliu/A_General_Framework_for_Uncertainty_Estimation_in_Deep_Learning
da49ea5a040289d6e76e86bb06325fbfaf13803b
[ "MIT" ]
1
2019-08-23T15:02:03.000Z
2019-08-23T15:02:03.000Z
src/model_zoo/models_resnet8.py
chisyliu/A_General_Framework_for_Uncertainty_Estimation_in_Deep_Learning
da49ea5a040289d6e76e86bb06325fbfaf13803b
[ "MIT" ]
null
null
null
src/model_zoo/models_resnet8.py
chisyliu/A_General_Framework_for_Uncertainty_Estimation_in_Deep_Learning
da49ea5a040289d6e76e86bb06325fbfaf13803b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 import torch.nn as nn import numpy as np from opts import parser FLAGS = parser.parse_args() def init_kernel(m): if isinstance(m, nn.Conv2d): # Initialize kernels of Conv2d layers as kaiming normal nn.init.kaiming_normal_(m.weight, mode='fan_in', nonlinearit...
36.029101
86
0.534474
1,754
13,619
3.978905
0.087799
0.067058
0.042986
0.077375
0.950996
0.940249
0.940249
0.940249
0.940249
0.940249
0
0.070726
0.34283
13,619
377
87
36.124668
0.70905
0.12791
0
0.904
0
0
0.002823
0
0
0
0
0
0
1
0.028
false
0
0.012
0
0.064
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
b40cca76962f221c3fd6d988f10f039053d8f3f6
148,484
py
Python
src/kubernetes/client/apis/batch_v2alpha1_api.py
MarletteFunding/aws-kube-codesuite
ab4e5ce45416b83bffb947ab8d234df5437f4fca
[ "Apache-2.0" ]
184
2017-12-20T21:50:06.000Z
2022-03-19T13:24:58.000Z
src/kubernetes/client/apis/batch_v2alpha1_api.py
MarletteFunding/aws-kube-codesuite
ab4e5ce45416b83bffb947ab8d234df5437f4fca
[ "Apache-2.0" ]
15
2018-01-17T17:30:51.000Z
2021-12-16T14:25:09.000Z
src/kubernetes/client/apis/batch_v2alpha1_api.py
MarletteFunding/aws-kube-codesuite
ab4e5ce45416b83bffb947ab8d234df5437f4fca
[ "Apache-2.0" ]
136
2018-01-09T22:52:06.000Z
2022-02-24T13:26:18.000Z
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import sys import os im...
51.396331
457
0.613137
16,123
148,484
5.461018
0.019661
0.041795
0.018149
0.018808
0.993799
0.992709
0.99172
0.989472
0.987779
0.987336
0
0.002186
0.306686
148,484
2,888
458
51.414127
0.853098
0.379314
0
0.859877
1
0
0.228814
0.081923
0
0
0
0
0
1
0.032126
false
0
0.004785
0
0.084757
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
b4237054c2a4c3bff9f719bd0b821c206581a106
30,641
py
Python
api/test_account.py
robpop/explore_engine
21942c73b28b7b22351877b9772773dfdf298667
[ "MIT" ]
null
null
null
api/test_account.py
robpop/explore_engine
21942c73b28b7b22351877b9772773dfdf298667
[ "MIT" ]
null
null
null
api/test_account.py
robpop/explore_engine
21942c73b28b7b22351877b9772773dfdf298667
[ "MIT" ]
null
null
null
from django.urls import reverse from rest_framework import status from rest_framework.authtoken.models import Token from rest_framework.test import APITestCase, APIClient from django.contrib.auth.models import User from account.models import Profile class AccountTests(APITestCase): def setUp(self): self.s...
38.397243
160
0.615287
3,265
30,641
5.559265
0.058193
0.090078
0.138119
0.051512
0.9086
0.871357
0.842323
0.824362
0.797146
0.751033
0
0.017119
0.275578
30,641
798
161
38.397243
0.800604
0.037075
0
0.705449
0
0
0.206527
0.028326
0
0
0
0
0.16053
1
0.082474
false
0.164948
0.008837
0
0.092784
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
b4605a8e533d782d473e8cec2cc8c0143e4a5348
278
py
Python
2021-10-Python-SEA-ENGRSL-Workshops/Workshop_1-Hello-Python/code/s07a_s3.py
shawnduong/manimations
1d36d9d1e7dff90a1a8da1e687ef442f750e29c5
[ "MIT" ]
null
null
null
2021-10-Python-SEA-ENGRSL-Workshops/Workshop_1-Hello-Python/code/s07a_s3.py
shawnduong/manimations
1d36d9d1e7dff90a1a8da1e687ef442f750e29c5
[ "MIT" ]
null
null
null
2021-10-Python-SEA-ENGRSL-Workshops/Workshop_1-Hello-Python/code/s07a_s3.py
shawnduong/manimations
1d36d9d1e7dff90a1a8da1e687ef442f750e29c5
[ "MIT" ]
null
null
null
x = 0 if x < 1000 and x % 3 == 0: print(x, "is a multiple of 3!") x += 1 if x < 1000 and x % 3 == 0: print(x, "is a multiple of 3!") x += 1 if x < 1000 and x % 3 == 0: print(x, "is a multiple of 3!") x += 1 if x < 1000 and x % 3 == 0: print(x, "is a multiple of 3!") x += 1
19.857143
32
0.510791
66
278
2.151515
0.181818
0.084507
0.197183
0.28169
0.985915
0.985915
0.985915
0.985915
0.985915
0.985915
0
0.169231
0.298561
278
13
33
21.384615
0.558974
0
0
0.923077
0
0
0.273381
0
0
0
0
0
0
1
0
false
0
0
0
0
0.307692
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
81ec802118192bbd10eb0c5030f92407e34b351e
5,043
py
Python
objects/CSCG/_3d/mesh/elements/coordinate_transformation/quad_3d.py
mathischeap/mifem
3242e253fb01ca205a76568eaac7bbdb99e3f059
[ "MIT" ]
1
2020-10-14T12:48:35.000Z
2020-10-14T12:48:35.000Z
objects/CSCG/_3d/mesh/elements/coordinate_transformation/quad_3d.py
mathischeap/mifem
3242e253fb01ca205a76568eaac7bbdb99e3f059
[ "MIT" ]
null
null
null
objects/CSCG/_3d/mesh/elements/coordinate_transformation/quad_3d.py
mathischeap/mifem
3242e253fb01ca205a76568eaac7bbdb99e3f059
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import numpy as np from screws.quadrature import Quadrature from screws.freeze.base import FrozenOnly from objects.CSCG._3d.mesh.elements.coordinate_transformation.helpers.value_cache import \ ElementsCTValuesCache class _3dCSCG_ECT_3d_QUAD(FrozenOnly): def __init__(self, ect): ...
57.306818
119
0.719215
621
5,043
5.341385
0.114332
0.12662
0.12662
0.22249
0.803437
0.790775
0.773289
0.726862
0.705758
0.678022
0
0.010342
0.175491
5,043
88
120
57.306818
0.787398
0.015467
0
0.266667
0
0
0.028485
0.008889
0
0
0
0
0
1
0.293333
false
0
0.053333
0
0.64
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
1
0
0
0
0
1
0
0
9
c327034b61c98a4221372202a95ced76cb0216da
5,390
py
Python
tests/components/zwave_js/test_cover.py
miccico/core
14c205384171dee59c1a908f8449f9864778b2dc
[ "Apache-2.0" ]
3
2021-04-27T16:37:48.000Z
2022-02-23T02:47:33.000Z
tests/components/zwave_js/test_cover.py
miccico/core
14c205384171dee59c1a908f8449f9864778b2dc
[ "Apache-2.0" ]
48
2019-02-06T22:08:09.000Z
2022-03-31T06:02:22.000Z
tests/components/zwave_js/test_cover.py
miccico/core
14c205384171dee59c1a908f8449f9864778b2dc
[ "Apache-2.0" ]
4
2019-02-04T15:56:36.000Z
2020-12-03T02:03:45.000Z
"""Test the Z-Wave JS cover platform.""" from zwave_js_server.event import Event from homeassistant.components.cover import ATTR_CURRENT_POSITION WINDOW_COVER_ENTITY = "cover.zws_12_current_value" async def test_cover(hass, client, chain_actuator_zws12, integration): """Test the light entity.""" node = chai...
28.368421
70
0.538961
519
5,390
5.423892
0.17341
0.056838
0.063943
0.093783
0.85897
0.85897
0.836945
0.812078
0.812078
0.795737
0
0.018946
0.324304
5,390
189
71
28.518519
0.753981
0.028015
0
0.78882
0
0
0.257066
0.004999
0
0
0
0
0.15528
1
0
false
0
0.012422
0
0.012422
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
c357ddbd1bd11e1f3e84e355c57bdbca8442dd84
23,220
py
Python
exif/tests/modify_exif_baselines/modify_rational_hex.py
chbndrhnns/exif
65aa2d8bcdecf79d34752390310222a9bd5d5bb3
[ "MIT" ]
null
null
null
exif/tests/modify_exif_baselines/modify_rational_hex.py
chbndrhnns/exif
65aa2d8bcdecf79d34752390310222a9bd5d5bb3
[ "MIT" ]
null
null
null
exif/tests/modify_exif_baselines/modify_rational_hex.py
chbndrhnns/exif
65aa2d8bcdecf79d34752390310222a9bd5d5bb3
[ "MIT" ]
null
null
null
"""APP1 segment hexadecimal baseline for test_modify_rational.""" from baseline import Baseline MODIFY_RATIONAL_HEX_BASELINE = Baseline(""" FFE12AAE4578696600004D4D002A00000008000C010F000200000006000008B60110000200000009000008BC01 1200030000000100010000011A000500000001000008C6011B000500000001000008CE012800030...
92.88
94
0.946124
260
23,220
84.476923
0.638462
0.712985
1.044892
1.360408
0.364688
0.364688
0.364688
0.364688
0.364688
0.364688
0
0.831294
0.053187
23,220
249
95
93.253012
0.167751
0.002541
0
0.361789
0
0
0.996502
0.943813
0
1
0
0
0
1
0
false
0
0.004065
0
0.004065
0
0
0
1
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
9
c35e24368951899848612d510185346d9565729c
4,077
py
Python
vq_vae/test_nearest_embed.py
christopher-beckham/VQ-VAE
38f6ae34c202b04d53336f40ca7d6dfb18705ea6
[ "BSD-3-Clause" ]
null
null
null
vq_vae/test_nearest_embed.py
christopher-beckham/VQ-VAE
38f6ae34c202b04d53336f40ca7d6dfb18705ea6
[ "BSD-3-Clause" ]
null
null
null
vq_vae/test_nearest_embed.py
christopher-beckham/VQ-VAE
38f6ae34c202b04d53336f40ca7d6dfb18705ea6
[ "BSD-3-Clause" ]
1
2022-02-04T04:01:59.000Z
2022-02-04T04:01:59.000Z
import unittest import numpy as np import torch from torch.autograd import Variable from vq_vae.nearest_embed import nearest_embed # class NearestEmbedTest(unittest.TestCase): # def test_something(self): # # emb = Variable(torch.eye(10, 10).double()) # a = np.array(([1,0,0,0,0,0,0,0,0,0], # ...
42.030928
93
0.44052
571
4,077
3.043783
0.108581
0.188723
0.2313
0.241657
0.857883
0.857883
0.806099
0.789988
0.765823
0.765247
0
0.10038
0.354918
4,077
96
94
42.46875
0.560456
0.107432
0
0.75
0
0
0.002207
0
0
0
0
0
0.09375
1
0.03125
false
0
0.078125
0
0.125
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
c3624a92a2c08dd08348a39bc1989b0783bec274
35
py
Python
HelloPython.py
Guristasrabbit/HelloGit
a4324e08eda0ee0fa8ece6da03eba181efb33d61
[ "Apache-2.0" ]
null
null
null
HelloPython.py
Guristasrabbit/HelloGit
a4324e08eda0ee0fa8ece6da03eba181efb33d61
[ "Apache-2.0" ]
null
null
null
HelloPython.py
Guristasrabbit/HelloGit
a4324e08eda0ee0fa8ece6da03eba181efb33d61
[ "Apache-2.0" ]
null
null
null
print('66666666') print('乌七八糟的')
7
17
0.657143
4
35
5.75
0.75
0
0
0
0
0
0
0
0
0
0
0.258065
0.114286
35
5
18
7
0.483871
0
0
0
0
0
0.371429
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
c379f690e8abc549e8d121a795fd2396bf79ace4
73
py
Python
quicklib/utils.py
yonatanp/quicklib
bd96c6ed5204d0c4e802b320d285d22248beb243
[ "MIT" ]
1
2021-12-16T07:27:59.000Z
2021-12-16T07:27:59.000Z
quicklib/utils.py
yonatanp/quicklib
bd96c6ed5204d0c4e802b320d285d22248beb243
[ "MIT" ]
6
2018-01-15T11:51:37.000Z
2019-08-18T13:37:52.000Z
quicklib/utils.py
yonatanp/quicklib
bd96c6ed5204d0c4e802b320d285d22248beb243
[ "MIT" ]
null
null
null
import os def is_packaging(): return not os.path.exists("PKG-INFO")
14.6
41
0.69863
12
73
4.166667
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.164384
73
5
41
14.6
0.819672
0
0
0
0
0
0.108108
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
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
7
6f0c123371f40a7de5c51c34dc02979c2af7caca
122
py
Python
tweetGenerator/__init__.py
Aarif123456/tweetGenerator
7b3f96e43747530af738abbb9c579996b22839c0
[ "MIT" ]
1
2021-03-20T19:24:59.000Z
2021-03-20T19:24:59.000Z
tweetGenerator/__init__.py
Aarif123456/tweetGenerator
7b3f96e43747530af738abbb9c579996b22839c0
[ "MIT" ]
null
null
null
tweetGenerator/__init__.py
Aarif123456/tweetGenerator
7b3f96e43747530af738abbb9c579996b22839c0
[ "MIT" ]
1
2021-03-20T19:25:00.000Z
2021-03-20T19:25:00.000Z
from .pySparkManager import * from .createTargetList import * from .createCorpus import * from .generateResponse import *
24.4
31
0.803279
12
122
8.166667
0.5
0.306122
0
0
0
0
0
0
0
0
0
0
0.131148
122
4
32
30.5
0.924528
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
6f2e177d626558de29f12add3bd838ae96fc9092
19,639
py
Python
python/RLrecon/environments/fixed_environment.py
syedsaifhasan/rl_reconstruct
1462d3650c3334083a7b4cc34c88e6f5d1095ce3
[ "BSD-3-Clause" ]
3
2019-08-19T12:51:41.000Z
2021-03-29T11:28:06.000Z
python/RLrecon/environments/fixed_environment.py
syedsaifhasan/rl_reconstruct
1462d3650c3334083a7b4cc34c88e6f5d1095ce3
[ "BSD-3-Clause" ]
null
null
null
python/RLrecon/environments/fixed_environment.py
syedsaifhasan/rl_reconstruct
1462d3650c3334083a7b4cc34c88e6f5d1095ce3
[ "BSD-3-Clause" ]
2
2019-01-14T07:55:40.000Z
2021-12-11T13:34:35.000Z
from __future__ import print_function import numpy as np from environment import BaseEnvironment from RLrecon import math_utils class FixedEnvironmentV0(BaseEnvironment): def __init__(self, world_bounding_box, random_reset=True, radius=7.0, heig...
44.132584
114
0.612149
2,450
19,639
4.605714
0.082041
0.048387
0.02632
0.013825
0.942042
0.924672
0.924672
0.924672
0.924672
0.924672
0
0.019004
0.295331
19,639
444
115
44.231982
0.796373
0.294822
0
0.89
0
0
0.004251
0.001566
0
0
0
0.004505
0.003333
1
0.103333
false
0
0.013333
0.033333
0.22
0.02
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
6f3b832f4d3c13fa18558c7647652659a4d1acab
54,929
py
Python
python/models/logic_DIIN.py
Vincent717/Densely-Interactive-Inference-Network
e3038a41eddd06f3ea76a794ed272f235136b335
[ "Apache-2.0" ]
null
null
null
python/models/logic_DIIN.py
Vincent717/Densely-Interactive-Inference-Network
e3038a41eddd06f3ea76a794ed272f235136b335
[ "Apache-2.0" ]
null
null
null
python/models/logic_DIIN.py
Vincent717/Densely-Interactive-Inference-Network
e3038a41eddd06f3ea76a794ed272f235136b335
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf from util import blocks from my.tensorflow.nn import softsel, get_logits, highway_network, multi_conv1d, linear, conv2d, cosine_similarity, variable_summaries, dense_logits, fuse_gate from my.tensorflow import flatten, reconstruct, add_wd, exp_mask import numpy as np class MyModel(object): ...
55.427851
274
0.60032
7,905
54,929
3.868817
0.049209
0.018311
0.01648
0.022365
0.929994
0.919923
0.911062
0.905405
0.8988
0.896446
0
0.030564
0.277485
54,929
990
275
55.483838
0.740041
0.122595
0
0.85474
0
0
0.084065
0.055987
0
0
0
0
0.003058
1
0.051988
false
0
0.007645
0.006116
0.117737
0.027523
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
6f40160841c015fe4bf027245ece92b0590bd28c
59,632
py
Python
tests/contrib/test_pydantic.py
spacemanspiff2007/tortoise-orm
2591bd1cae75236779c21be559bf191fcc41ffe2
[ "Apache-2.0" ]
null
null
null
tests/contrib/test_pydantic.py
spacemanspiff2007/tortoise-orm
2591bd1cae75236779c21be559bf191fcc41ffe2
[ "Apache-2.0" ]
null
null
null
tests/contrib/test_pydantic.py
spacemanspiff2007/tortoise-orm
2591bd1cae75236779c21be559bf191fcc41ffe2
[ "Apache-2.0" ]
null
null
null
import copy from tests.testmodels import Address, Employee, Event, JSONFields, Reporter, Team, Tournament from tortoise.contrib import test from tortoise.contrib.pydantic import pydantic_model_creator, pydantic_queryset_creator class TestPydantic(test.TestCase): async def asyncSetUp(self) -> None: await ...
46.047876
582
0.344077
3,764
59,632
5.369554
0.066153
0.019296
0.016328
0.027757
0.822473
0.779872
0.749245
0.733116
0.716343
0.694671
0
0.039899
0.530521
59,632
1,294
583
46.083462
0.682026
0.013499
0
0.676686
0
0.003249
0.249787
0.035883
0
0
0
0
0.017059
1
0.007311
false
0
0.003249
0
0.012998
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
6f4a90ba54ecb1ef7e942ab6ad2ff54433503bd2
1,805
py
Python
test/test_monitor_running_process.py
etcher-be/elib_run
b0c4037898e16d88658e7cb263be78be46712f77
[ "MIT" ]
null
null
null
test/test_monitor_running_process.py
etcher-be/elib_run
b0c4037898e16d88658e7cb263be78be46712f77
[ "MIT" ]
25
2018-10-23T05:17:00.000Z
2019-06-02T17:27:29.000Z
test/test_monitor_running_process.py
theendsofinvention/elib_run
b0c4037898e16d88658e7cb263be78be46712f77
[ "MIT" ]
1
2019-05-28T17:57:46.000Z
2019-05-28T17:57:46.000Z
# coding=utf-8 import pytest from mockito import mock, verify, when # noinspection PyProtectedMember from elib_run._run import _monitor_running_process def test_monitor_running_process_poll(): context = mock() context.command = mock({'returncode': 0}) when(_monitor_running_process).capture_output_from_r...
37.604167
89
0.782271
220
1,805
6.027273
0.2
0.211161
0.269231
0.117647
0.821267
0.800151
0.76546
0.71267
0.606335
0.606335
0
0.005668
0.120222
1,805
47
90
38.404255
0.829345
0.023823
0
0.540541
0
0
0.017055
0
0
0
0
0
0.081081
1
0.081081
false
0
0.081081
0
0.162162
0
0
0
0
null
1
1
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
6f5cc51845475d23e7c062a5fac024933ee413c7
145
py
Python
loldib/getratings/models/NA/na_galio/__init__.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_galio/__init__.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_galio/__init__.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from .na_galio_top import * from .na_galio_jng import * from .na_galio_mid import * from .na_galio_bot import * from .na_galio_sup import *
24.166667
28
0.758621
25
145
4
0.36
0.3
0.55
0.68
0
0
0
0
0
0
0
0
0.172414
145
5
29
29
0.833333
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
6f5f190a2086a0eb2558ae5e597311cc427260bb
147
py
Python
crm/forms.py
wkshi/tkd_crm
03be2ff84d5d38657f527fe19ec05d8e32779ca3
[ "Apache-2.0" ]
null
null
null
crm/forms.py
wkshi/tkd_crm
03be2ff84d5d38657f527fe19ec05d8e32779ca3
[ "Apache-2.0" ]
null
null
null
crm/forms.py
wkshi/tkd_crm
03be2ff84d5d38657f527fe19ec05d8e32779ca3
[ "Apache-2.0" ]
null
null
null
from django import forms class QueryForm(forms.Form): query_id = forms.CharField(max_length=32) password = forms.CharField(max_length=32)
24.5
45
0.761905
21
147
5.190476
0.666667
0.256881
0.311927
0.422018
0.458716
0
0
0
0
0
0
0.031746
0.142857
147
5
46
29.4
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.25
0.25
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
0
1
0
0
1
0
0
7
48e0ee529ca991ae65b3086136e8b1fa3897e76c
37,355
py
Python
tests/functional-tests/operator_test.py
YiannisGkoufas/ibm-spectrum-scale-csi
3e3c75103af11b8de54a1e7cd1301403cfb2af10
[ "Apache-2.0" ]
2
2022-01-20T12:44:14.000Z
2022-01-24T04:15:58.000Z
tests/functional-tests/operator_test.py
YiannisGkoufas/ibm-spectrum-scale-csi
3e3c75103af11b8de54a1e7cd1301403cfb2af10
[ "Apache-2.0" ]
16
2021-11-11T07:59:58.000Z
2022-01-27T05:37:47.000Z
tests/functional-tests/operator_test.py
YiannisGkoufas/ibm-spectrum-scale-csi
3e3c75103af11b8de54a1e7cd1301403cfb2af10
[ "Apache-2.0" ]
15
2021-11-10T12:27:48.000Z
2022-01-20T04:37:53.000Z
import time import re import random import logging import pytest from kubernetes import client from kubernetes.client.rest import ApiException import scale_operator as scaleop from utils.scale_operator_object_function import randomStringDigits, randomString import utils.fileset_functions as ff LOGGER = loggin...
46.117284
112
0.668906
4,322
37,355
5.508329
0.057381
0.073508
0.034444
0.031755
0.870122
0.834628
0.813584
0.803839
0.795942
0.784391
0
0.003551
0.253755
37,355
809
113
46.174289
0.850481
0
0
0.785912
0
0
0.249685
0.048213
0
0
0
0
0.09116
1
0.033149
false
0.004144
0.013812
0
0.048343
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
5b206f9804f3227e21dbbbe774a8c90d8ce5d7a8
451
py
Python
cupyx/scipy/fftpack/__init__.py
svlandeg/cupy
484e007d5bf58a0445af2f6e7aa3fdfe0fcc2363
[ "MIT" ]
2
2020-02-28T09:27:58.000Z
2020-10-12T07:10:24.000Z
cupyx/scipy/fftpack/__init__.py
svlandeg/cupy
484e007d5bf58a0445af2f6e7aa3fdfe0fcc2363
[ "MIT" ]
1
2020-06-03T10:59:17.000Z
2020-06-03T11:38:20.000Z
cupyx/scipy/fftpack/__init__.py
svlandeg/cupy
484e007d5bf58a0445af2f6e7aa3fdfe0fcc2363
[ "MIT" ]
1
2022-03-24T13:19:55.000Z
2022-03-24T13:19:55.000Z
from cupyx.scipy.fftpack.fft import fft # NOQA from cupyx.scipy.fftpack.fft import fft2 # NOQA from cupyx.scipy.fftpack.fft import fftn # NOQA from cupyx.scipy.fftpack.fft import ifft # NOQA from cupyx.scipy.fftpack.fft import ifft2 # NOQA from cupyx.scipy.fftpack.fft import ifftn # NOQA from cupyx.scipy.fftpack....
45.1
56
0.780488
74
451
4.72973
0.216216
0.231429
0.36
0.54
0.862857
0.862857
0.777143
0
0
0
0
0.005155
0.13969
451
9
57
50.111111
0.896907
0.097561
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
1
1
1
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
10
d28788d0d9b0ba279799f83ab9cf82bdd6a4eb02
4,546
py
Python
tests/kyu_5_tests/test_all_that_is_open_must_be_closed.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
tests/kyu_5_tests/test_all_that_is_open_must_be_closed.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
tests/kyu_5_tests/test_all_that_is_open_must_be_closed.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import unittest from katas.kyu_5.all_that_is_open_must_be_closed import is_balanced class IsBalancedTestCase(unittest.TestCase): def test_true_1(self): self.assertTrue(is_balanced('(Sensei says yes!)', '()')) def test_true_2(self): self.assertTrue(is_balanced('(Sensei [says] yes!)', '()[]'))...
30.510067
77
0.578751
574
4,546
4.355401
0.12892
0.168
0.12
0.21
0.8864
0.842
0.8092
0.7864
0.7732
0.63
0
0.018534
0.228553
4,546
148
78
30.716216
0.694326
0
0
0.180952
0
0
0.24637
0
0
0
0
0
0.390476
1
0.390476
false
0
0.019048
0
0.419048
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
1
0
0
0
0
0
0
0
8
d28ee875b765ac6e3503203cfde3010551766336
35
py
Python
miniconda3-lnx/pkgs/pip-20.0.2-py37_3/info/test/run_test.py
Thibaut-Kovaltchouk/MultiPyzo
a15ecf77e31ebeb195e70385f5ac132f6ab4504d
[ "CC0-1.0" ]
1
2021-11-08T01:25:40.000Z
2021-11-08T01:25:40.000Z
miniconda3-lnx/pkgs/pip-20.0.2-py37_3/info/test/run_test.py
Thibaut-Kovaltchouk/MultiPyzo
a15ecf77e31ebeb195e70385f5ac132f6ab4504d
[ "CC0-1.0" ]
19
2021-03-10T21:30:56.000Z
2022-02-27T06:45:03.000Z
miniconda3-lnx/pkgs/pip-20.0.2-py37_3/info/test/run_test.py
Thibaut-Kovaltchouk/MultiPyzo
a15ecf77e31ebeb195e70385f5ac132f6ab4504d
[ "CC0-1.0" ]
2
2021-11-08T01:25:30.000Z
2022-01-13T07:53:38.000Z
print("import: 'pip'") import pip
8.75
22
0.657143
5
35
4.6
0.6
0.782609
0
0
0
0
0
0
0
0
0
0
0.142857
35
3
23
11.666667
0.766667
0
0
0
0
0
0.382353
0
0
0
0
0
0
1
0
true
0
1
0
1
0.5
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
1
0
8
d2e20ef2da9c784ca993bb4ca0188be2201966e9
38
py
Python
removeLater.py
Luochenghuang/ToxNet
e02788c73abf65134385974d8b09fc08f63badbd
[ "MIT" ]
4
2018-06-29T16:53:30.000Z
2018-07-25T17:58:05.000Z
removeLater.py
Luochenghuang/ToxNet
e02788c73abf65134385974d8b09fc08f63badbd
[ "MIT" ]
1
2018-05-24T23:19:54.000Z
2018-06-06T22:57:21.000Z
removeLater.py
Luochenghuang/ToxNet
e02788c73abf65134385974d8b09fc08f63badbd
[ "MIT" ]
2
2018-12-29T18:59:49.000Z
2019-02-22T19:05:56.000Z
import python def remove(): return 1
9.5
13
0.736842
6
38
4.666667
1
0
0
0
0
0
0
0
0
0
0
0.032258
0.184211
38
4
14
9.5
0.870968
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
8
d2e9887239c92db46be2f87b2c5579c16f7840a8
1,627
py
Python
fused_lasso/gen_data.py
vonguyenleduy/parametric_si_generalized_lasso
3ef9e2d47036b812b9737d4d5b887000dc24ce03
[ "BSD-3-Clause" ]
null
null
null
fused_lasso/gen_data.py
vonguyenleduy/parametric_si_generalized_lasso
3ef9e2d47036b812b9737d4d5b887000dc24ce03
[ "BSD-3-Clause" ]
null
null
null
fused_lasso/gen_data.py
vonguyenleduy/parametric_si_generalized_lasso
3ef9e2d47036b812b9737d4d5b887000dc24ce03
[ "BSD-3-Clause" ]
1
2021-06-04T19:22:37.000Z
2021-06-04T19:22:37.000Z
import numpy as np from scipy.stats import skewnorm def generate(n, p, beta_vec): X = [] y = [] for i in range(n): X.append([]) yi = 0 for j in range(p): xij = np.random.normal(0, 1) X[i].append(xij) yi = yi + xij * beta_vec[j] ...
20.594937
53
0.448064
244
1,627
2.905738
0.17623
0.070522
0.118477
0.126939
0.757405
0.757405
0.7433
0.7433
0.7433
0.7433
0
0.02416
0.414874
1,627
79
54
20.594937
0.720588
0.065765
0
0.892857
1
0
0
0
0
0
0
0
0
1
0.053571
false
0
0.035714
0
0.142857
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
828f19e5a090f68cda014cff42ee74a0a8354d64
200
py
Python
annotationtools/writers/__init__.py
tomaszfurmanek/CRIMAC-annotationtools
c9f6231442a949e015e50b707aefec0c91d8d11a
[ "MIT" ]
null
null
null
annotationtools/writers/__init__.py
tomaszfurmanek/CRIMAC-annotationtools
c9f6231442a949e015e50b707aefec0c91d8d11a
[ "MIT" ]
2
2021-03-11T10:45:25.000Z
2021-06-03T08:33:00.000Z
annotationtools/writers/__init__.py
tomaszfurmanek/CRIMAC-annotationtools
c9f6231442a949e015e50b707aefec0c91d8d11a
[ "MIT" ]
1
2021-09-15T13:06:48.000Z
2021-09-15T13:06:48.000Z
""" Include code to unpack manufacturer-specific data files into an interoperable netCDF format. """ from .annotation_to_work import annotation_to_work from .annotation_to_nc import annotation_to_nc
28.571429
92
0.835
29
200
5.482759
0.62069
0.301887
0.201258
0
0
0
0
0
0
0
0
0
0.115
200
6
93
33.333333
0.898305
0.46
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
82a45883d44f810674eaca5ea88bc1b0c27e045b
7,146
py
Python
core/models/model_utils/resnet_blocks.py
swipswaps/retinal_oct
a99f93d88833fc328b9b7f6aaabe1310632c644b
[ "MIT" ]
15
2021-01-29T17:05:38.000Z
2022-03-16T17:47:42.000Z
core/models/model_utils/resnet_blocks.py
solomonkimunyu/retinal_oct
a99f93d88833fc328b9b7f6aaabe1310632c644b
[ "MIT" ]
null
null
null
core/models/model_utils/resnet_blocks.py
solomonkimunyu/retinal_oct
a99f93d88833fc328b9b7f6aaabe1310632c644b
[ "MIT" ]
14
2021-03-03T03:16:31.000Z
2022-03-23T19:23:42.000Z
from core.models.model_utils.layers import * class ResidualBlock(tf.keras.layers.Layer): def __init__(self, filters, strides, use_projection=False, data_format='channels_last', dropblock_keep_prob=None, dropblock...
39.04918
84
0.552897
696
7,146
5.376437
0.114943
0.144308
0.093533
0.133618
0.85489
0.830305
0.803314
0.761892
0.727953
0.70604
0
0.016555
0.374475
7,146
182
85
39.263736
0.820582
0.024769
0
0.807453
0
0
0.006321
0
0
0
0
0
0
1
0.024845
false
0
0.006211
0
0.055901
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
82c969a88d3f2f77bde04581fa43d8941b47d236
10,632
py
Python
testing/metaopt/test_random.py
Neuraxio/Neuraxle
0615701b781c948e4ec38fa61c6b3a5d8d72c147
[ "Apache-2.0" ]
519
2019-03-29T19:17:41.000Z
2022-03-31T12:45:42.000Z
testing/metaopt/test_random.py
Neuraxio/Neuraxle
0615701b781c948e4ec38fa61c6b3a5d8d72c147
[ "Apache-2.0" ]
401
2019-06-09T19:06:47.000Z
2022-03-31T14:00:12.000Z
testing/metaopt/test_random.py
Neuraxio/Neuraxle
0615701b781c948e4ec38fa61c6b3a5d8d72c147
[ "Apache-2.0" ]
55
2019-06-09T19:24:31.000Z
2022-01-22T00:17:42.000Z
""" Tests for Metaopt ============================================= .. Copyright 2019, Neuraxio Inc. 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/l...
45.050847
132
0.722348
1,318
10,632
5.427921
0.116844
0.082471
0.114621
0.093933
0.855465
0.85267
0.841487
0.841487
0.841487
0.836315
0
0.013176
0.200527
10,632
235
133
45.242553
0.828471
0.152276
0
0.743243
0
0
0.022628
0.018838
0
0
0
0
0.27027
1
0.013514
false
0
0.027027
0
0.040541
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
7da0bb921d254a1f8ebe153262b102bcfc686383
3,816
py
Python
tests/test_cost_calculators/test_pooling.py
suga93/chainer_computational_cost
50869d3efebdff3e681213b98bebe097460369ab
[ "MIT" ]
52
2018-10-17T05:54:49.000Z
2021-06-09T09:19:48.000Z
tests/test_cost_calculators/test_pooling.py
suga93/chainer_computational_cost
50869d3efebdff3e681213b98bebe097460369ab
[ "MIT" ]
18
2018-07-31T11:08:41.000Z
2020-06-01T08:50:13.000Z
tests/test_cost_calculators/test_pooling.py
suga93/chainer_computational_cost
50869d3efebdff3e681213b98bebe097460369ab
[ "MIT" ]
7
2018-10-28T13:17:32.000Z
2021-03-16T13:32:17.000Z
import chainer.functions.pooling as P import numpy as np from helpers import calculate_cost def test_max_pooling(): x = np.random.randn(1, 3, 100, 100).astype(np.float32) f = P.max_pooling_2d.MaxPooling2D(np.int64(2), np.int64(2), np.int64(0), cover_all=True) flops, ...
36.692308
74
0.576782
588
3,816
3.680272
0.117347
0.083179
0.133087
0.083179
0.930684
0.930684
0.930684
0.930684
0.930684
0.930684
0
0.090749
0.257862
3,816
103
75
37.048544
0.673376
0.059486
0
0.738095
0
0
0.027902
0
0
0
0
0
0.5
1
0.071429
false
0
0.035714
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
1
0
0
0
0
0
0
0
0
0
8
7dd7ceba9f158c92cc078578a58985ce19ed9ff1
207
py
Python
Intermediate/9_2_import/main.py
Pure-L0G1C/LearnPython
ac0381ff5171ccbd34e92262cc19bf77bbf613f8
[ "MIT" ]
22
2018-06-05T09:14:23.000Z
2020-11-02T22:52:32.000Z
Intermediate/9_2_import/main.py
s1ko/LearnPython
ea3b01fc93f541c8d136f866a8fd448dbed72ef2
[ "MIT" ]
1
2020-02-08T19:12:43.000Z
2020-02-08T19:12:43.000Z
Intermediate/9_2_import/main.py
s1ko/LearnPython
ea3b01fc93f541c8d136f866a8fd448dbed72ef2
[ "MIT" ]
13
2018-06-05T15:59:04.000Z
2020-11-02T22:52:33.000Z
from lib.src import b # lib/src/b.py from lib.src import c # lib/src/c.py # from lib.src.vendor.new.src.lib import fake # lib/src/vendor/new/src/lib/fake.py from lib.src.c import letter as letter_c
29.571429
83
0.710145
44
207
3.318182
0.272727
0.287671
0.273973
0.246575
0.287671
0.287671
0
0
0
0
0
0
0.164251
207
6
84
34.5
0.843931
0.507246
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
7dea2a3d6a2183649890e0c34612e737155f1b13
6,651
py
Python
MatchApp/migrations/0024_auto_20210319_0108.py
elizza19/django_local_library
f2dc053e44684b7a966d8bc0ff364f5251449f5b
[ "Apache-2.0" ]
null
null
null
MatchApp/migrations/0024_auto_20210319_0108.py
elizza19/django_local_library
f2dc053e44684b7a966d8bc0ff364f5251449f5b
[ "Apache-2.0" ]
null
null
null
MatchApp/migrations/0024_auto_20210319_0108.py
elizza19/django_local_library
f2dc053e44684b7a966d8bc0ff364f5251449f5b
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-19 00:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('MatchApp', '0023_auto_20210318_2056'), ] operations = [ migrations.RemoveField( model_name='personalidad_perro', nam...
49.634328
216
0.462036
766
6,651
3.926893
0.114883
0.068816
0.124335
0.15359
0.816157
0.806516
0.75266
0.75266
0.726729
0.726729
0
0.071633
0.265374
6,651
133
217
50.007519
0.544003
0.006766
0
0.700787
1
0
0.137038
0.003483
0
0
0
0
0
1
0
false
0
0.007874
0
0.031496
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
c4b419f447cfa12d45dbce12de5f2c22b4b4f500
51
py
Python
test_ramBlox.py
ponyatov/ramBlox
f6b5a79561c8139117d4ae46e30eaedb727c1aa3
[ "MIT" ]
null
null
null
test_ramBlox.py
ponyatov/ramBlox
f6b5a79561c8139117d4ae46e30eaedb727c1aa3
[ "MIT" ]
null
null
null
test_ramBlox.py
ponyatov/ramBlox
f6b5a79561c8139117d4ae46e30eaedb727c1aa3
[ "MIT" ]
null
null
null
from ramBlox import * def test_any(): assert True
12.75
27
0.745098
8
51
4.625
1
0
0
0
0
0
0
0
0
0
0
0
0.176471
51
3
28
17
0.880952
0
0
0
0
0
0
0
0
0
0
0
0.5
1
0.5
true
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
1
0
1
0
0
7
c4d23497100d36f5479118a2bee71fc1f0a8253f
18
py
Python
testdata/html_in_string.py
mcmx73/syntaxhighlight
6fb591527d768f6e7a1bb403cf4ce572262de864
[ "BSD-3-Clause" ]
223
2015-01-18T13:03:42.000Z
2022-02-06T05:17:54.000Z
testdata/html_in_string.py
mcmx73/syntaxhighlight
6fb591527d768f6e7a1bb403cf4ce572262de864
[ "BSD-3-Clause" ]
15
2015-01-15T21:21:41.000Z
2020-03-10T13:54:14.000Z
testdata/html_in_string.py
mcmx73/syntaxhighlight
6fb591527d768f6e7a1bb403cf4ce572262de864
[ "BSD-3-Clause" ]
22
2015-01-17T05:42:43.000Z
2020-12-02T11:08:10.000Z
"<h1>hello!</h1>"
9
17
0.5
3
18
3
0.666667
0
0
0
0
0
0
0
0
0
0
0.117647
0.055556
18
1
18
18
0.411765
0.833333
0
0
0
0
0.833333
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
f2284aed69c5ecb7f79e06a130d75c826d83c6d7
219
py
Python
Core/GlobalExceptions.py
jbzdarkid/TwitchLink
c7bae13b46c7e6af7dc74539fdbca9cbb01f4778
[ "MIT" ]
26
2021-02-04T00:29:21.000Z
2022-03-25T17:14:43.000Z
Core/GlobalExceptions.py
jbzdarkid/TwitchLink
c7bae13b46c7e6af7dc74539fdbca9cbb01f4778
[ "MIT" ]
19
2021-02-04T01:27:07.000Z
2022-03-19T16:22:46.000Z
Core/GlobalExceptions.py
jbzdarkid/TwitchLink
c7bae13b46c7e6af7dc74539fdbca9cbb01f4778
[ "MIT" ]
10
2021-06-08T17:41:40.000Z
2022-03-28T22:38:40.000Z
class Exceptions: class NetworkError(Exception): def __str__(self): return "Network Error" class FileSystemError(Exception): def __str__(self): return "File System Error"
27.375
38
0.625571
21
219
6.142857
0.619048
0.186047
0.232558
0.294574
0.387597
0
0
0
0
0
0
0
0.296804
219
8
38
27.375
0.837662
0
0
0.285714
0
0
0.136364
0
0
0
0
0
0
1
0.285714
false
0
0
0.285714
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
0
1
1
0
0
7
48409726abee432d1f19b7fb081eb040798714f1
60,466
py
Python
tests/evidence_string_generation/test_evidence_strings.py
sundarvenkata-EBI/eva-cttv-pipeline
0bcb416919ee29fa40a65426545073900811d4ee
[ "Apache-2.0" ]
null
null
null
tests/evidence_string_generation/test_evidence_strings.py
sundarvenkata-EBI/eva-cttv-pipeline
0bcb416919ee29fa40a65426545073900811d4ee
[ "Apache-2.0" ]
null
null
null
tests/evidence_string_generation/test_evidence_strings.py
sundarvenkata-EBI/eva-cttv-pipeline
0bcb416919ee29fa40a65426545073900811d4ee
[ "Apache-2.0" ]
null
null
null
import os.path import gzip import json import unittest from datetime import datetime from types import SimpleNamespace from eva_cttv_pipeline.evidence_string_generation import clinvar from eva_cttv_pipeline.evidence_string_generation import clinvar_to_evidence_strings from eva_cttv_pipeline.evidence_string_generation...
114.086792
14,292
0.683326
6,971
60,466
5.788266
0.099125
0.021611
0.030607
0.025081
0.87938
0.861512
0.827038
0.802032
0.756456
0.722825
0
0.084262
0.102057
60,466
529
14,293
114.302457
0.6589
0.001125
0
0.47191
0
0.029213
0.53883
0.059561
0
0
0
0.00189
0.193258
1
0.083146
false
0
0.026966
0.002247
0.130337
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
484c519ddf57a4e9299152f6c585f0dfabbf8671
1,185
py
Python
source/cpu/utils/results.py
NikitaMishin/semilocal
10e52d2ed051056560ef29fe5a88a7622e4e3f02
[ "Apache-2.0" ]
null
null
null
source/cpu/utils/results.py
NikitaMishin/semilocal
10e52d2ed051056560ef29fe5a88a7622e4e3f02
[ "Apache-2.0" ]
4
2021-03-27T16:25:26.000Z
2021-12-16T14:17:39.000Z
source/cpu/utils/results.py
NikitaMishin/semilocal
10e52d2ed051056560ef29fe5a88a7622e4e3f02
[ "Apache-2.0" ]
null
null
null
class Result: pass class CombingResult(Result): def __init__(self, elapsed_time_preprocess: int, elapsed_time_algo: int, hash: int, size_a: int, size_b: int, name_a, name_b): self.hash = hash self.elapsed_time_algo = elapsed_time_algo self.elapsed_time_preprocess = ela...
32.916667
114
0.666667
167
1,185
4.299401
0.131737
0.275766
0.188022
0.208914
0.848189
0.848189
0.832869
0.779944
0.779944
0.779944
0
0
0.260759
1,185
35
115
33.857143
0.819635
0
0
0.62069
0
0
0
0
0
0
0
0
0
1
0.103448
false
0.034483
0
0
0.241379
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
487c22bbb49928cbde03c68d51b77a900ed579ac
22,842
py
Python
tccli/services/oceanus/oceanus_client.py
ws0416/tencentcloud-cli
0a90fa77c8be1efa30b196a3eeb31b8be1f6a325
[ "Apache-2.0" ]
null
null
null
tccli/services/oceanus/oceanus_client.py
ws0416/tencentcloud-cli
0a90fa77c8be1efa30b196a3eeb31b8be1f6a325
[ "Apache-2.0" ]
null
null
null
tccli/services/oceanus/oceanus_client.py
ws0416/tencentcloud-cli
0a90fa77c8be1efa30b196a3eeb31b8be1f6a325
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import os import json import tccli.options_define as OptionsDefine import tccli.format_output as FormatOutput from tccli import __version__ from tccli.utils import Utils from tccli.exceptions import ConfigurationError from tencentcloud.common import credential from tencentcloud.common.profile.ht...
42.143911
105
0.721259
2,604
22,842
6.091398
0.065284
0.08057
0.223994
0.054092
0.801286
0.789623
0.785084
0.780545
0.774619
0.723238
0
0.010198
0.171439
22,842
541
106
42.221811
0.827909
0.007486
0
0.653846
0
0
0.041716
0.00415
0
0
0
0
0
1
0.036325
false
0
0.025641
0.002137
0.066239
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
6fa3040e4859ca04f01125278d2c262c4d8cafe2
4,864
py
Python
app/users/test_users.py
Leo-G/T
fb85aa34e98f1f2126d960ceeafa59489d659bd2
[ "MIT" ]
null
null
null
app/users/test_users.py
Leo-G/T
fb85aa34e98f1f2126d960ceeafa59489d659bd2
[ "MIT" ]
1
2015-11-12T10:06:03.000Z
2015-11-12T10:06:03.000Z
app/users/test_users.py
Leo-G/T
fb85aa34e98f1f2126d960ceeafa59489d659bd2
[ "MIT" ]
null
null
null
import unittest import os import sys # Add app path to module path sys.path.append(os.path.dirname(os.path.realpath(__file__).rsplit('/', 2)[0])) from app import create_app from app.users.models import Users app = create_app('config') class TestUsers(unittest.TestCase): def setUp(self): self.app = app...
48.158416
140
0.495683
543
4,864
4.377532
0.276243
0.050484
0.015145
0.023559
0.844762
0.83719
0.816996
0.816996
0.793437
0.793437
0
0.053957
0.428454
4,864
100
141
48.64
0.801079
0.005551
0
0.708861
0
0.025316
0.675905
0.035988
0
0
0
0
0.050633
1
0.063291
false
0.025316
0.063291
0
0.139241
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
d229128ffe27a7cda50645c355062d3f3b3019e5
47,702
py
Python
version_1/v1_4/chaos.py
andrewcistola/fracture-proof
d67f8f4f688fe4168d7eae3a3f991463ee112324
[ "MIT" ]
2
2020-03-03T16:53:03.000Z
2021-07-13T17:50:03.000Z
version_1/v1_4/chaos.py
andrewcistola/fracture-proof
d67f8f4f688fe4168d7eae3a3f991463ee112324
[ "MIT" ]
null
null
null
version_1/v1_4/chaos.py
andrewcistola/fracture-proof
d67f8f4f688fe4168d7eae3a3f991463ee112324
[ "MIT" ]
null
null
null
# FractureProof Chaos label = "_chaos" path = "fp/v1_4/" version = "FractureProof v1.4" title = "Chaos: Finding Significant Predictors in Multi-Level Geographic Data" author = "DrewC!" day = str(date.today()) stamp = str(dt.datetime.now()) ## Setup Workspace ### Import python libraries import os # Operating system na...
70.460857
205
0.724875
7,759
47,702
4.333548
0.076427
0.032358
0.045236
0.032477
0.854033
0.835296
0.814478
0.808381
0.801213
0.780276
0
0.013201
0.166282
47,702
677
206
70.460857
0.832261
0.464048
0
0.446184
0
0.003914
0.256118
0.007169
0
0
0
0
0
0
null
null
0
0.046967
null
null
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
d22eea61f13c855c668b0542247e1507004c2af4
212
py
Python
musicmore/core/views.py
IPenuelas/musicmore_r01
94726c84aa61201940916feb4d5e535bcd4dc230
[ "MIT" ]
null
null
null
musicmore/core/views.py
IPenuelas/musicmore_r01
94726c84aa61201940916feb4d5e535bcd4dc230
[ "MIT" ]
null
null
null
musicmore/core/views.py
IPenuelas/musicmore_r01
94726c84aa61201940916feb4d5e535bcd4dc230
[ "MIT" ]
null
null
null
from django.shortcuts import render, HttpResponse # Create your views here. # Create your views here. def home(request): #return render(request, "shop/shop.html") return render(request, "core/home.html")
30.285714
49
0.740566
29
212
5.413793
0.586207
0.127389
0.191083
0.242038
0
0
0
0
0
0
0
0
0.146226
212
7
50
30.285714
0.867403
0.410377
0
0
0
0
0.114754
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
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
1
0
0
8
d23b75d3e7e8181f4dd49e5a617f6e93dbd21c58
12,157
py
Python
tests/test_metric_full.py
theodumont/client
7402ac67ada5bc8078078a49fd3e0cb4b6172307
[ "MIT" ]
3,968
2017-08-23T21:27:19.000Z
2022-03-31T22:00:19.000Z
tests/test_metric_full.py
theodumont/client
7402ac67ada5bc8078078a49fd3e0cb4b6172307
[ "MIT" ]
2,725
2017-04-17T00:29:15.000Z
2022-03-31T21:01:53.000Z
tests/test_metric_full.py
theodumont/client
7402ac67ada5bc8078078a49fd3e0cb4b6172307
[ "MIT" ]
351
2018-04-08T19:39:34.000Z
2022-03-30T19:38:08.000Z
""" metric full tests. """ import math import numpy as np import six import wandb from wandb.proto import wandb_telemetry_pb2 as tpb def test_metric_default(live_mock_server, test_settings, parse_ctx): run = wandb.init(settings=test_settings) run.log(dict(mystep=1, val=2)) run.log(dict(mystep=2, val=8))...
34.635328
101
0.679279
1,898
12,157
4.143309
0.071654
0.049593
0.076297
0.059003
0.876017
0.843845
0.823499
0.812436
0.805824
0.794761
0
0.020031
0.162293
12,157
350
102
34.734286
0.75216
0.039154
0
0.707407
0
0
0.042024
0
0
0
0
0
0.155556
1
0.092593
false
0
0.018519
0
0.111111
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
d26e95d496f2b5851d67e9ed03d8a6328ef3bc86
303
py
Python
src/NetworkSimulator/NetworkSimulator/__init__.py
zawaki/nara_revision
28bb42f7ca3a768075748d258c405addc7b28c31
[ "MIT" ]
null
null
null
src/NetworkSimulator/NetworkSimulator/__init__.py
zawaki/nara_revision
28bb42f7ca3a768075748d258c405addc7b28c31
[ "MIT" ]
null
null
null
src/NetworkSimulator/NetworkSimulator/__init__.py
zawaki/nara_revision
28bb42f7ca3a768075748d258c405addc7b28c31
[ "MIT" ]
null
null
null
from NetworkSimulator.GlobalMessageBuffer import * from NetworkSimulator.utilz import * from NetworkSimulator.Network import * from NetworkSimulator.NetworkGenerator import * from NetworkSimulator.NetworkManager import * from NetworkSimulator.Components import * from NetworkSimulator.Requests import *
37.875
50
0.861386
28
303
9.321429
0.357143
0.536398
0.597701
0
0
0
0
0
0
0
0
0
0.092409
303
7
51
43.285714
0.949091
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
d2724258252a04e1de262ac67c4a721c374e8b28
10,934
py
Python
python/seldon_deploy_sdk/api/kubernetes_resources_api.py
SachinVarghese/seldon-deploy-sdk
2c70e249c084f113a998ab876c29843ae5f6a99a
[ "Apache-2.0" ]
6
2021-02-18T14:37:54.000Z
2022-01-13T13:27:43.000Z
python/seldon_deploy_sdk/api/kubernetes_resources_api.py
SachinVarghese/seldon-deploy-sdk
2c70e249c084f113a998ab876c29843ae5f6a99a
[ "Apache-2.0" ]
14
2021-01-04T16:32:03.000Z
2021-12-13T17:53:59.000Z
python/seldon_deploy_sdk/api/kubernetes_resources_api.py
SachinVarghese/seldon-deploy-sdk
2c70e249c084f113a998ab876c29843ae5f6a99a
[ "Apache-2.0" ]
7
2021-03-17T09:05:55.000Z
2022-01-05T10:39:56.000Z
# coding: utf-8 """ Seldon Deploy API API to interact and manage the lifecycle of your machine learning models deployed through Seldon Deploy. # noqa: E501 OpenAPI spec version: v1alpha1 Contact: hello@seldon.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future...
42.544747
136
0.638467
1,248
10,934
5.379808
0.145032
0.04647
0.032767
0.047513
0.913018
0.906166
0.906166
0.89008
0.877867
0.877867
0
0.015981
0.273185
10,934
256
137
42.710938
0.828866
0.37205
0
0.793893
0
0
0.212054
0.070685
0
0
0
0
0
1
0.038168
false
0
0.030534
0
0.122137
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
d282d2b1f15590cb531a6b105adc1259e732c399
791
py
Python
rastervision_core/rastervision/core/data/raster_transformer/__init__.py
khlaifiabilel/raster-vision
864d36df901eff7a7d218b0511b7afa682eb28f2
[ "Apache-2.0" ]
null
null
null
rastervision_core/rastervision/core/data/raster_transformer/__init__.py
khlaifiabilel/raster-vision
864d36df901eff7a7d218b0511b7afa682eb28f2
[ "Apache-2.0" ]
70
2018-12-21T15:38:04.000Z
2022-03-01T13:01:47.000Z
rastervision_core/rastervision/core/data/raster_transformer/__init__.py
jamesmcclain/raster-vision
597c196e9fa0b66163ab9049645134b4962e7456
[ "Apache-2.0" ]
1
2022-01-25T09:13:23.000Z
2022-01-25T09:13:23.000Z
# flake8: noqa from rastervision.core.data.raster_transformer.raster_transformer import * from rastervision.core.data.raster_transformer.raster_transformer_config import * from rastervision.core.data.raster_transformer.stats_transformer import * from rastervision.core.data.raster_transformer.stats_transformer_config i...
60.846154
82
0.878635
97
791
6.907216
0.14433
0.304478
0.298507
0.358209
0.967164
0.967164
0.967164
0.967164
0.801493
0
0
0.001339
0.055626
791
12
83
65.916667
0.895582
0.015171
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
11
963e82e9676bef13b0542f785d246df6ca7c5d9d
13,323
py
Python
tests/benchmark/scenarios/neutron/test_network.py
kambiz-aghaiepour/rally
be708bacf0bc898a9538b9b6cb0ba4e1c015c1f2
[ "Apache-2.0" ]
1
2020-09-09T19:01:41.000Z
2020-09-09T19:01:41.000Z
tests/benchmark/scenarios/neutron/test_network.py
kambiz-aghaiepour/rally
be708bacf0bc898a9538b9b6cb0ba4e1c015c1f2
[ "Apache-2.0" ]
null
null
null
tests/benchmark/scenarios/neutron/test_network.py
kambiz-aghaiepour/rally
be708bacf0bc898a9538b9b6cb0ba4e1c015c1f2
[ "Apache-2.0" ]
1
2020-09-09T19:01:43.000Z
2020-09-09T19:01:43.000Z
# Copyright 2014: Intel Inc. # 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 a...
42.028391
78
0.632815
1,440
13,323
5.408333
0.095139
0.083462
0.063303
0.077042
0.862352
0.823832
0.790447
0.765152
0.737673
0.726374
0
0.001548
0.272912
13,323
316
79
42.161392
0.802416
0.063499
0
0.744856
0
0
0.090617
0.008114
0
0
0
0
0.205761
1
0.028807
false
0
0.012346
0
0.045267
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
963e93006adf5421b1cde0808970a0935a5d8ce2
94
py
Python
nnet/nn/functional/__init__.py
trip2eee/nnet2
2061cdf3c8e2ac3f0bdb9e077baa94c67803e99f
[ "MIT" ]
null
null
null
nnet/nn/functional/__init__.py
trip2eee/nnet2
2061cdf3c8e2ac3f0bdb9e077baa94c67803e99f
[ "MIT" ]
null
null
null
nnet/nn/functional/__init__.py
trip2eee/nnet2
2061cdf3c8e2ac3f0bdb9e077baa94c67803e99f
[ "MIT" ]
null
null
null
from nnet.nn.functional.functional import * from nnet.nn.functional.functional_conv import *
23.5
48
0.819149
13
94
5.846154
0.461538
0.210526
0.263158
0.526316
0.789474
0
0
0
0
0
0
0
0.095745
94
3
49
31.333333
0.894118
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