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
648f1c109def9967a3edd309c390b1ad8890f938
734
py
Python
server/config.py
bu-vip/Full-Scale-Testbed
ebd02c598c561d9e4529bb7ce5ffebe200541408
[ "MIT" ]
null
null
null
server/config.py
bu-vip/Full-Scale-Testbed
ebd02c598c561d9e4529bb7ce5ffebe200541408
[ "MIT" ]
null
null
null
server/config.py
bu-vip/Full-Scale-Testbed
ebd02c598c561d9e4529bb7ce5ffebe200541408
[ "MIT" ]
null
null
null
import numpy as np CFG = { 'host': '0.0.0.0', 'port': 9100, 'out_file': 'out.txt', 'state_matrix': np.array([ [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1], [...
30.583333
45
0.303815
176
734
1.255682
0.090909
1.19457
1.628959
1.954751
0.705882
0.705882
0.705882
0.705882
0.705882
0.705882
0
0.377011
0.407357
734
23
46
31.913043
0.131034
0
0
0
0
0
0.057299
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.047619
0
0
0
1
null
1
1
1
0
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
649b2c14154e18c54318960caa56b8212caffbb0
16
py
Python
tests/pydecompile-test/decompiler-baselines/codeBlock.py
jaydeetay/pxt
aad1beaf15edc46e1327806367298cbc942dcbc1
[ "MIT" ]
977
2019-05-06T23:12:55.000Z
2022-03-29T19:11:44.000Z
tests/pydecompile-test/decompiler-baselines/codeBlock.py
jaydeetay/pxt
aad1beaf15edc46e1327806367298cbc942dcbc1
[ "MIT" ]
3,980
2019-05-09T20:48:14.000Z
2022-03-28T20:33:07.000Z
tests/pydecompile-test/decompiler-baselines/codeBlock.py
jaydeetay/pxt
aad1beaf15edc46e1327806367298cbc942dcbc1
[ "MIT" ]
306
2016-04-09T05:28:07.000Z
2019-05-02T14:23:29.000Z
x = 1 x = x + 1
5.333333
9
0.3125
5
16
1
0.4
0.8
0
0
0
0
0
0
0
0
0
0.25
0.5
16
3
9
5.333333
0.375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
1
null
1
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
64d93af206b8034734c27b822cd952fce08d0ed3
18,515
py
Python
setup-fusion-streams-yangcli/session.testapi.py
vlvassilev/ecoc-demo-2018
3f813fdff3c2405561b32122bbe3c51c001ff81b
[ "BSD-3-Clause" ]
1
2019-03-06T13:52:14.000Z
2019-03-06T13:52:14.000Z
setup-fusion-streams-yangcli/session.testapi.py
vlvassilev/ecoc-demo-2018
3f813fdff3c2405561b32122bbe3c51c001ff81b
[ "BSD-3-Clause" ]
null
null
null
setup-fusion-streams-yangcli/session.testapi.py
vlvassilev/ecoc-demo-2018
3f813fdff3c2405561b32122bbe3c51c001ff81b
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python import lxml from lxml import etree import time import sys, os import argparse from collections import namedtuple import tntapi sys.path.append("../common") import testsuiteapi import yangrpc from yangcli import yangcli namespaces={"nc":"urn:ietf:params:xml:ns:netconf:base:1.0", "nd":"urn:ietf:params...
75.264228
420
0.758196
3,096
18,515
4.514858
0.076873
0.087137
0.107025
0.085849
0.849406
0.830949
0.753398
0.720919
0.641437
0.640149
0
0.058629
0.066811
18,515
245
421
75.571429
0.750376
0.001404
0
0.102439
0
0.443902
0.877752
0.494023
0
0
0.006816
0
0.009756
0
null
null
0
0.04878
null
null
0.039024
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
1
0
0
0
0
0
0
0
0
9
b3caaf13e9511fbcc0362c8ff4ac9929aa1fc0a1
96,775
py
Python
tests/EVM/test_EVMSUB.py
ivanpustogarov/manticore
f17410b8427ddbd5d751d8824bdf10ce33c9f3ce
[ "Apache-2.0" ]
null
null
null
tests/EVM/test_EVMSUB.py
ivanpustogarov/manticore
f17410b8427ddbd5d751d8824bdf10ce33c9f3ce
[ "Apache-2.0" ]
null
null
null
tests/EVM/test_EVMSUB.py
ivanpustogarov/manticore
f17410b8427ddbd5d751d8824bdf10ce33c9f3ce
[ "Apache-2.0" ]
1
2018-08-12T17:29:11.000Z
2018-08-12T17:29:11.000Z
import struct import unittest import json from manticore.platforms import evm from manticore.core import state from manticore.core.smtlib import Operators, ConstraintSet import os class EVMTest_SUB(unittest.TestCase): _multiprocess_can_split_ = True maxDiff=None def _execute(self, new_vm): last_...
41.948418
124
0.571656
7,645
96,775
7.084369
0.028515
0.045052
0.02692
0.059823
0.906388
0.906388
0.906388
0.906388
0.906388
0.906388
0
0.283507
0.353996
96,775
2,306
125
41.966609
0.582817
0.045198
0
0.866561
0
0
0.066502
0.026345
0
0
0.072009
0
0.128165
1
0.043249
false
0
0.003692
0
0.049051
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
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
b6055b7e531b76dd952cda0f31feb996d588f125
9,162
py
Python
Pyrado/pyrado/sampling/sequences.py
jacarvalho/SimuRLacra
a6c982862e2ab39a9f65d1c09aa59d9a8b7ac6c5
[ "BSD-3-Clause" ]
null
null
null
Pyrado/pyrado/sampling/sequences.py
jacarvalho/SimuRLacra
a6c982862e2ab39a9f65d1c09aa59d9a8b7ac6c5
[ "BSD-3-Clause" ]
null
null
null
Pyrado/pyrado/sampling/sequences.py
jacarvalho/SimuRLacra
a6c982862e2ab39a9f65d1c09aa59d9a8b7ac6c5
[ "BSD-3-Clause" ]
null
null
null
import numpy as np def sequence_const(x_init, iter, dtype=int): """ Mathematical sequence: x_n = x_0 :param x_init: constant values of the sequence :param iter: iteration until the sequence should be evaluated :param dtype: data type to cast to (either int of float) :return: element at the gi...
34.186567
104
0.585462
1,414
9,162
3.681754
0.06082
0.074914
0.060507
0.045716
0.964848
0.964848
0.964848
0.964848
0.964848
0.964848
0
0.019185
0.305938
9,162
267
105
34.314607
0.799497
0.333115
0
0.903226
0
0
0
0
0
0
0
0
0.135484
1
0.045161
false
0
0.006452
0
0.232258
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
37a4f05fcbafa02d809c9e1746d391d85749456e
306
py
Python
bot/platforms/telegram/commands/settings/__init__.py
AiratK/kaishnik-bot
c42351611a40a04d78c8ae481b97339adbd321e5
[ "MIT" ]
15
2019-04-30T14:37:15.000Z
2022-02-09T06:43:00.000Z
bot/platforms/telegram/commands/settings/__init__.py
AiratK/kaishnik-bot
c42351611a40a04d78c8ae481b97339adbd321e5
[ "MIT" ]
4
2019-03-18T06:09:38.000Z
2021-12-10T06:12:26.000Z
bot/platforms/telegram/commands/settings/__init__.py
AiratK/kaishnik-bot
c42351611a40a04d78c8ae481b97339adbd321e5
[ "MIT" ]
2
2020-04-12T10:31:52.000Z
2021-06-07T20:18:08.000Z
from bot.platforms.telegram.commands.settings import menu from bot.platforms.telegram.commands.settings import appearance from bot.platforms.telegram.commands.settings import platform from bot.platforms.telegram.commands.settings import deletion from bot.platforms.telegram.commands.settings import guard
43.714286
63
0.866013
40
306
6.625
0.3
0.132075
0.301887
0.45283
0.867925
0.867925
0.867925
0
0
0
0
0
0.068627
306
6
64
51
0.929825
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
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
9
37b2432e72f68aa16bd9f16cad6c6beb266449c9
6,594
py
Python
py/torch_tensorrt/fx/test/converters/acc_op/test_ne.py
hassan11196/Torch-TensorRT
a2d0d0e935bf223523a7c28d7814cdbd32f323b2
[ "BSD-3-Clause" ]
null
null
null
py/torch_tensorrt/fx/test/converters/acc_op/test_ne.py
hassan11196/Torch-TensorRT
a2d0d0e935bf223523a7c28d7814cdbd32f323b2
[ "BSD-3-Clause" ]
1
2022-03-15T06:35:59.000Z
2022-03-15T06:35:59.000Z
py/torch_tensorrt/fx/test/converters/acc_op/test_ne.py
hassan11196/Torch-TensorRT
a2d0d0e935bf223523a7c28d7814cdbd32f323b2
[ "BSD-3-Clause" ]
null
null
null
import torch import torch_tensorrt.fx.tracer.acc_tracer.acc_ops as acc_ops from parameterized import parameterized from torch.testing._internal.common_fx2trt import AccTestCase from torch.testing._internal.common_utils import run_tests class TestNeFunctionConverter(AccTestCase): @parameterized.expand( [ ...
30.109589
88
0.46512
731
6,594
3.964432
0.083447
0.15528
0.170807
0.186335
0.869565
0.848861
0.833678
0.833678
0.833678
0.833678
0
0.033113
0.40461
6,594
218
89
30.247706
0.705043
0
0
0.668342
0
0
0.086139
0.043676
0
0
0
0
0
1
0.060302
false
0
0.025126
0.025126
0.160804
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
37c5c5073ce7a6ff0059456f915d9d030704ca6e
15,239
py
Python
src/maintenance/azext_maintenance/generated/custom.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
2
2021-06-05T17:51:26.000Z
2021-11-17T11:17:56.000Z
src/maintenance/azext_maintenance/generated/custom.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
3
2020-05-27T20:16:26.000Z
2020-07-23T19:46:49.000Z
src/maintenance/azext_maintenance/generated/custom.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
5
2020-05-09T17:47:09.000Z
2020-10-01T19:52:06.000Z
# -------------------------------------------------------------------------- # 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...
53.658451
180
0.489008
1,131
15,239
6.104332
0.076039
0.163384
0.132966
0.097335
0.946263
0.934965
0.931054
0.917874
0.882822
0.867758
0
0
0.467222
15,239
283
181
53.848057
0.850351
0.032811
0
0.898305
0
0
0
0
0
0
0
0
0
1
0.076271
false
0
0
0.063559
0.165254
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
03c9cf10a7051dc908b4b08e2048f71ade6b090c
11,806
py
Python
WeOptPy/tests/test_pso.py
kb2623/WeOptPy
2e9e75acf8fedde0ae4c99da6c786a712d4f011c
[ "MIT" ]
1
2021-05-12T10:02:21.000Z
2021-05-12T10:02:21.000Z
WeOptPy/tests/test_pso.py
kb2623/WeOptPy
2e9e75acf8fedde0ae4c99da6c786a712d4f011c
[ "MIT" ]
null
null
null
WeOptPy/tests/test_pso.py
kb2623/WeOptPy
2e9e75acf8fedde0ae4c99da6c786a712d4f011c
[ "MIT" ]
null
null
null
# encoding=utf8 """Particle swarm algorithm test case module.""" from WeOptPy.algorithms import ( ParticleSwarmOptimization, ParticleSwarmAlgorithm, OppositionVelocityClampingParticleSwarmOptimization, CenterParticleSwarmOptimization, MutatedParticleSwarmOptimization, MutatedCenterParticleSwarmOptimization, Co...
36.214724
119
0.720396
1,808
11,806
4.559735
0.04646
0.049491
0.120087
0.090733
0.852984
0.852984
0.846676
0.846676
0.846676
0.754488
0
0.050797
0.096222
11,806
325
120
36.326154
0.721837
0.009402
0
0.792593
0
0
0.039528
0
0
0
0
0
0.503704
1
0.148148
false
0
0.007407
0
0.185185
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
20909cbfc8dc95bd903519a7fa4bbae627736f78
2,626
py
Python
test/test_algs.py
LauraGunsalus/example
516117fd2b9fb11fc3bed6f18aa3c403c87c56b1
[ "Apache-2.0" ]
null
null
null
test/test_algs.py
LauraGunsalus/example
516117fd2b9fb11fc3bed6f18aa3c403c87c56b1
[ "Apache-2.0" ]
null
null
null
test/test_algs.py
LauraGunsalus/example
516117fd2b9fb11fc3bed6f18aa3c403c87c56b1
[ "Apache-2.0" ]
null
null
null
import numpy as np from example import algs def test_pointless_sort(): # generate random vector of length 10 x = np.random.rand(10) # check that pointless_sort always returns [1,2,3] assert np.array_equal(algs.pointless_sort(x), np.array([1,2,3])) # generate a new random vector of length 10 x...
32.419753
84
0.611957
409
2,626
3.867971
0.136919
0.216814
0.139697
0.193426
0.909608
0.909608
0.893173
0.818584
0.753477
0.753477
0
0.042067
0.167174
2,626
80
85
32.825
0.681299
0.12262
0
0.461538
1
0
0.021891
0
0
0
0
0
0.435897
1
0.076923
false
0
0.051282
0
0.128205
0
0
0
0
null
1
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
10
20a025366b41171014eaf8a1ebefbf5d2722671f
4,171
py
Python
visualisation/swiftsimio_binder.py
LBJ-Wade/C-Eagle-analysis
d13ffb219834e11baeb5b9d863c6a6eb965ba6ad
[ "Unlicense" ]
null
null
null
visualisation/swiftsimio_binder.py
LBJ-Wade/C-Eagle-analysis
d13ffb219834e11baeb5b9d863c6a6eb965ba6ad
[ "Unlicense" ]
null
null
null
visualisation/swiftsimio_binder.py
LBJ-Wade/C-Eagle-analysis
d13ffb219834e11baeb5b9d863c6a6eb965ba6ad
[ "Unlicense" ]
null
null
null
def generate_map(*args, parallel = False): """ SWIFTSIMIO WRAPPER ------------------ The key here is that only particles in the domain [0, 1] in x, and [0, 1] in y will be visible in the image. You may have particles outside of this range; they will not crash the code, and may even contribute to t...
40.495146
124
0.655958
602
4,171
4.526578
0.267442
0.008807
0.046239
0.042202
0.922569
0.922569
0.909725
0.909725
0.831193
0.831193
0
0.016409
0.24023
4,171
102
125
40.892157
0.843484
0.792616
0
0.571429
1
0
0.205931
0
0
0
0
0
0
1
0.142857
true
0
0.142857
0
0.571429
0.142857
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
1
0
0
0
1
0
0
9
20e1d0e38b54a87eb3a4cbe66bbdecca16d19e66
33,583
py
Python
py65816/tests/devices/mpu65816_Common_tests_65c02.py
tmr4/py65816
00d9a378ebd0e27378c8ce9e6611a7fec0020b44
[ "BSD-3-Clause" ]
1
2022-02-22T18:04:26.000Z
2022-02-22T18:04:26.000Z
py65816/tests/devices/mpu65816_Common_tests_65c02.py
tmr4/py65816
00d9a378ebd0e27378c8ce9e6611a7fec0020b44
[ "BSD-3-Clause" ]
null
null
null
py65816/tests/devices/mpu65816_Common_tests_65c02.py
tmr4/py65816
00d9a378ebd0e27378c8ce9e6611a7fec0020b44
[ "BSD-3-Clause" ]
null
null
null
# from test_mpu65c02.py, 71 tests class Common65C02Tests: """CMOS 65C02 Tests""" # Reset def test_reset_clears_decimal_flag(self): # W65C02S Datasheet, Apr 14 2009, Table 7-1 Operational Enhancements # NMOS 6502 decimal flag = indetermine after reset, CMOS 65C02 = 0 mpu = self._mak...
35.350526
79
0.602537
4,537
33,583
4.285872
0.05378
0.217537
0.042839
0.077758
0.927745
0.897043
0.880381
0.85801
0.849319
0.832502
0
0.102691
0.273055
33,583
949
80
35.387777
0.693811
0.073668
0
0.82726
0
0
0
0
0
0
0.097411
0
0.384615
1
0.090418
false
0
0
0.00135
0.093117
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
4547882a7328dfc7cd932e00d590fe40a6ee50e6
2,628
py
Python
tests/test_year_2003.py
renovate-tests/jpholiday
bb5ae323f76f15c646c78ad6c4d8b7ce3dd814de
[ "MIT" ]
null
null
null
tests/test_year_2003.py
renovate-tests/jpholiday
bb5ae323f76f15c646c78ad6c4d8b7ce3dd814de
[ "MIT" ]
null
null
null
tests/test_year_2003.py
renovate-tests/jpholiday
bb5ae323f76f15c646c78ad6c4d8b7ce3dd814de
[ "MIT" ]
null
null
null
# coding: utf-8 import datetime import unittest import jpholiday class TestYear2003(unittest.TestCase): def test_holiday(self): """ 2003年祝日 """ self.assertEqual(jpholiday.is_holiday_name(datetime.date(2003, 1, 1)), '元日') self.assertEqual(jpholiday.is_holiday_name(datetime....
50.538462
95
0.681507
339
2,628
5.135693
0.182891
0.249856
0.220563
0.238943
0.804136
0.804136
0.804136
0.778863
0.494543
0.31189
0
0.096419
0.171233
2,628
51
96
51.529412
0.702938
0.015601
0
0
0
0
0.030592
0
0
0
0
0
0.805556
1
0.083333
false
0
0.083333
0
0.194444
0
0
0
0
null
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
4569af23fbf77caf6348b272823a7dba8086f912
5,327
py
Python
tests/datasets/test_tabular_data.py
Atharva-Phatak/torchflare
945f4bee73a855edd8cb19cd646731155499a27f
[ "Apache-2.0" ]
86
2021-04-23T04:55:43.000Z
2022-03-08T05:25:27.000Z
tests/datasets/test_tabular_data.py
Atharva-Phatak/torchflare
945f4bee73a855edd8cb19cd646731155499a27f
[ "Apache-2.0" ]
252
2021-04-20T21:48:10.000Z
2022-03-31T21:12:05.000Z
tests/datasets/test_tabular_data.py
Atharva-Phatak/torchflare
945f4bee73a855edd8cb19cd646731155499a27f
[ "Apache-2.0" ]
8
2021-04-28T19:57:49.000Z
2021-08-09T02:31:35.000Z
# flake8 : noqa import collections import pandas as pd import torch from torchflare.datasets import TabularDataset import pytest from functools import partial inputs = collections.namedtuple("inputs", ["df", "csv_path", "input_columns", "target_columns"]) df = pd.read_csv("tests/datasets/data/tabular_data/diabetes.csv...
37.251748
99
0.653276
667
5,327
4.965517
0.103448
0.121679
0.086957
0.120773
0.894928
0.894928
0.894928
0.871377
0.871377
0.871377
0
0.004765
0.251549
5,327
142
100
37.514085
0.825934
0.00244
0
0.803279
0
0
0.043863
0.016943
0
0
0
0
0.213115
1
0.065574
false
0
0.04918
0
0.131148
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
45d5cf03363ea5180b82482e928f9d07c9c83642
116
py
Python
platform/hwconf_data/efr32mg21/PythonSnippet/__init__.py
lenloe1/v2.7
9ac9c4a7bb37987af382c80647f42d84db5f2e1d
[ "Zlib" ]
null
null
null
platform/hwconf_data/efr32mg21/PythonSnippet/__init__.py
lenloe1/v2.7
9ac9c4a7bb37987af382c80647f42d84db5f2e1d
[ "Zlib" ]
1
2020-08-25T02:36:22.000Z
2020-08-25T02:36:22.000Z
platform/hwconf_data/efr32mg21/PythonSnippet/__init__.py
lenloe1/v2.7
9ac9c4a7bb37987af382c80647f42d84db5f2e1d
[ "Zlib" ]
1
2020-08-25T01:56:04.000Z
2020-08-25T01:56:04.000Z
from efr32mg21.halconfig import halconfig_types as types from efr32mg21.halconfig import halconfig_dependency as dep
58
59
0.887931
16
116
6.3125
0.5
0.257426
0.435644
0.554455
0.732673
0
0
0
0
0
0
0.07619
0.094828
116
2
59
58
0.885714
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
45d8ebec9933204fe39281ac0db27caf2aad7de7
66
py
Python
marble_match/database/__init__.py
ConstObject/marble-match-manager
abb7354656685482cc7289e8f6c68483af615e33
[ "MIT" ]
1
2021-04-02T21:09:46.000Z
2021-04-02T21:09:46.000Z
marble_match/database/__init__.py
ConstObject/marble-match-manager
abb7354656685482cc7289e8f6c68483af615e33
[ "MIT" ]
7
2021-04-02T07:34:03.000Z
2021-06-11T07:11:55.000Z
marble_match/database/__init__.py
ConstObject/marble-match-manager
abb7354656685482cc7289e8f6c68483af615e33
[ "MIT" ]
null
null
null
import database.database_setup import database.database_operation
22
34
0.909091
8
66
7.25
0.5
0.482759
0.758621
0
0
0
0
0
0
0
0
0
0.060606
66
2
35
33
0.935484
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
b30260aa0269d24637d02dd2a447560d98b5a322
1,381
py
Python
regexlib/2021-5-15/python_re2_test_file/regexlib_1.py
yetingli/ReDoS-Benchmarks
f5b5094d835649e957bf3fec6b8bd4f6efdb35fc
[ "MIT" ]
1
2022-01-24T14:43:23.000Z
2022-01-24T14:43:23.000Z
regexlib/python_re2_test_file/regexlib_1.py
yetingli/ReDoS-Benchmarks
f5b5094d835649e957bf3fec6b8bd4f6efdb35fc
[ "MIT" ]
null
null
null
regexlib/python_re2_test_file/regexlib_1.py
yetingli/ReDoS-Benchmarks
f5b5094d835649e957bf3fec6b8bd4f6efdb35fc
[ "MIT" ]
null
null
null
# 1 # ([\d\w-.]+?\.(a[cdefgilmnoqrstuwz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvxyz]|d[ejkmnoz]|e[ceghrst]|f[ijkmnor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eouw]|s[abcdeghijklmnortuvyz]|t[cdfghjkmnoprtvwz]...
72.684211
479
0.682114
205
1,381
4.560976
0.468293
0.035294
0.006417
0.042781
0.737968
0.712299
0.712299
0.712299
0.712299
0.712299
0
0.027216
0.068791
1,381
19
480
72.684211
0.698289
0.407676
0
0
0
0.090909
0.635468
0.57266
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0.090909
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b315b6a6cebe7f822fbb19364cbbd60972633723
3,985
py
Python
tests/test_edge_functions.py
IBM/cis-integration
fbf1f5c2df57b846499856ca927d2de15b4b375c
[ "Apache-2.0" ]
4
2021-08-04T16:58:18.000Z
2022-02-16T03:28:46.000Z
tests/test_edge_functions.py
IBM/cis-integration
fbf1f5c2df57b846499856ca927d2de15b4b375c
[ "Apache-2.0" ]
16
2021-07-13T13:50:31.000Z
2021-08-13T15:31:32.000Z
tests/test_edge_functions.py
IBM/cis-integration
fbf1f5c2df57b846499856ca927d2de15b4b375c
[ "Apache-2.0" ]
null
null
null
import pytest import os from dotenv import load_dotenv from src.ce import create_edge_function import requests import json # custom class to be the mock return value # will override the requests.Response returned from requests.get class MockResponse: # mock json() method always returns a specific testing dictio...
33.487395
72
0.698871
493
3,985
5.450304
0.166329
0.102717
0.066989
0.06885
0.777447
0.756606
0.743952
0.743952
0.743952
0.727577
0
0
0.208281
3,985
118
73
33.771186
0.851664
0.497114
0
0.425532
0
0
0.066293
0
0
0
0
0
0.085106
1
0.212766
false
0
0.12766
0.12766
0.489362
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
7
b316fcfe381f311fe3dc46b1ce31babff95852f1
162
py
Python
smart_shop/smart_shop/views.py
hammott/django-shop-practice
69de1746b360aea2f8b0e4ce6589eb5eee602d0e
[ "MIT" ]
null
null
null
smart_shop/smart_shop/views.py
hammott/django-shop-practice
69de1746b360aea2f8b0e4ce6589eb5eee602d0e
[ "MIT" ]
4
2021-03-30T13:07:11.000Z
2021-06-10T18:49:31.000Z
smart_shop/smart_shop/views.py
hammott/django-shop-practice
69de1746b360aea2f8b0e4ce6589eb5eee602d0e
[ "MIT" ]
null
null
null
from django.shortcuts import render def login(request): return render(request, 'login.html') def index(request): return render (request, 'index.html')
18
41
0.722222
21
162
5.571429
0.52381
0.222222
0.324786
0.444444
0
0
0
0
0
0
0
0
0.160494
162
8
42
20.25
0.860294
0
0
0
0
0
0.124224
0
0
0
0
0
0
1
0.4
false
0
0.2
0.4
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
8
b31b924ad22b4e6c7caa691990a87254a4633629
201
py
Python
stagecraft/apps/datasets/admin/__init__.py
alphagov-mirror/stagecraft
16afba8c0cf942279426c28c416d5dd430ae2d68
[ "MIT" ]
3
2016-03-07T11:12:07.000Z
2018-04-07T21:56:27.000Z
stagecraft/apps/datasets/admin/__init__.py
alphagov-mirror/stagecraft
16afba8c0cf942279426c28c416d5dd430ae2d68
[ "MIT" ]
81
2015-01-05T15:27:56.000Z
2021-03-24T10:51:43.000Z
stagecraft/apps/datasets/admin/__init__.py
alphagov-mirror/stagecraft
16afba8c0cf942279426c28c416d5dd430ae2d68
[ "MIT" ]
6
2015-01-25T09:05:52.000Z
2021-04-10T20:14:58.000Z
from stagecraft.apps.datasets.admin.data_group import DataGroupAdmin from stagecraft.apps.datasets.admin.data_set import DataSetAdmin from stagecraft.apps.datasets.admin.data_type import DataTypeAdmin
50.25
68
0.880597
27
201
6.444444
0.481481
0.241379
0.310345
0.448276
0.603448
0.603448
0
0
0
0
0
0
0.059701
201
3
69
67
0.920635
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
b326eeebf23bb0e31337372a21b90fc925cbaf09
11,897
py
Python
src/views/withdrawView.py
shimadasoftware/ATM-Simulator
2d3b0cdc06f9b5a5ea2ba1b9b17053227e322dc4
[ "Apache-2.0" ]
2
2021-09-08T16:57:51.000Z
2021-09-14T19:41:25.000Z
src/views/withdrawView.py
shimadasoftware/ATM-Simulator
2d3b0cdc06f9b5a5ea2ba1b9b17053227e322dc4
[ "Apache-2.0" ]
null
null
null
src/views/withdrawView.py
shimadasoftware/ATM-Simulator
2d3b0cdc06f9b5a5ea2ba1b9b17053227e322dc4
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Withdraw Views Created on Tue Aug 17 14:16:44 2021 Version: 1.0 Universidad Santo Tomás Tunja Simulation @author: Juana Valentina Mendoza Santamaría @author: Alix Ivonne Chaparro Vasquez presented to: Martha Susana Contreras Ortiz """ def showWithdrawal(): prin...
81.486301
114
0.103219
409
11,897
12.718826
0.254279
0.038447
0.192426
0.116878
0.8391
0.8391
0.8391
0.82526
0.82526
0.82526
0
0.009583
0.429856
11,897
145
115
82.048276
0.157452
0.023115
0
0.914063
0
0.054688
0.823215
0.315078
0
0
0
0
0
1
0.03125
true
0
0
0
0.03125
0.96875
0
0
1
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
13
2fbf19d5b11313637b0457d16e11e6bd935754f7
402
py
Python
zipline/data/bundles/__init__.py
quantrocket-llc/zipline
4eccd1ff3f07addbdc1f9682b608e0584a9b59c6
[ "Apache-2.0" ]
14
2018-02-05T18:38:15.000Z
2022-01-15T21:31:30.000Z
zipline/data/bundles/__init__.py
quantrocket-llc/zipline
4eccd1ff3f07addbdc1f9682b608e0584a9b59c6
[ "Apache-2.0" ]
null
null
null
zipline/data/bundles/__init__.py
quantrocket-llc/zipline
4eccd1ff3f07addbdc1f9682b608e0584a9b59c6
[ "Apache-2.0" ]
8
2020-02-14T04:21:46.000Z
2022-01-30T06:42:50.000Z
from .core import ( UnknownBundle, bundles, from_bundle_ingest_dirname, ingest, ingestions_for_bundle, load, register, to_bundle_ingest_dirname, unregister, ) __all__ = [ 'UnknownBundle', 'bundles', 'from_bundle_ingest_dirname', 'ingest', 'ingestions_for_bundle'...
16.08
33
0.644279
38
402
6.289474
0.394737
0.200837
0.317992
0.251046
0.92887
0.92887
0.92887
0.92887
0.92887
0.92887
0
0
0.251244
402
24
34
16.75
0.79402
0
0
0
0
0
0.29602
0.176617
0
0
0
0
0
1
0
false
0
0.045455
0
0.045455
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
2fc888e95a57d483f827dc0710bb70fd27e364c9
41
py
Python
Chapter 04/ch41h.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 04/ch41h.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 04/ch41h.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
print( (40 and 50) or (0 or 30)) #50
13.666667
35
0.512195
9
41
2.333333
0.777778
0
0
0
0
0
0
0
0
0
0
0.321429
0.317073
41
3
36
13.666667
0.428571
0.04878
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
2ffe46a9cf61884da270727c6c94c3c04ce9dc97
17,215
py
Python
src/pipeline/predict/main.py
RausellLab/tiresias
2acca303a0f6b4b1be784f597a59c1a883dbe43d
[ "Apache-2.0" ]
6
2019-07-03T16:11:15.000Z
2021-07-12T18:42:44.000Z
src/pipeline/predict/main.py
RausellLab/tiresias
2acca303a0f6b4b1be784f597a59c1a883dbe43d
[ "Apache-2.0" ]
null
null
null
src/pipeline/predict/main.py
RausellLab/tiresias
2acca303a0f6b4b1be784f597a59c1a883dbe43d
[ "Apache-2.0" ]
5
2019-10-16T09:40:58.000Z
2020-01-30T20:32:49.000Z
import ray import gc import torch from functools import partial from src import config from src.config import artifact_stores from src.utils.parameters import param_combinations from src.pipeline.predict.tasks.direct_neighbors import direct_neighbors from src.pipeline.predict.tasks.net_prop_with_restart import label_sp...
39.941995
116
0.460529
1,485
17,215
5.054545
0.082155
0.095923
0.06235
0.03797
0.837863
0.815881
0.786171
0.763922
0.743006
0.728084
0
0.008821
0.479756
17,215
430
117
40.034884
0.829276
0.029567
0
0.717877
0
0
0.117351
0.021576
0
0
0
0
0
1
0.002793
false
0
0.044693
0
0.047486
0.067039
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
6409def8b8bbae7e6ec74142598da80cf0a42cd1
204
py
Python
flaskd3/domains/serviceif/__init__.py
hohihohi/flask_ddd_sample
34bd1af4614577be0a6b410250f2d58d2c6f3b93
[ "MIT" ]
null
null
null
flaskd3/domains/serviceif/__init__.py
hohihohi/flask_ddd_sample
34bd1af4614577be0a6b410250f2d58d2c6f3b93
[ "MIT" ]
null
null
null
flaskd3/domains/serviceif/__init__.py
hohihohi/flask_ddd_sample
34bd1af4614577be0a6b410250f2d58d2c6f3b93
[ "MIT" ]
null
null
null
from .bucket_domain_service import BucketDomainServiceIF # NOQA from .data_source_domain_service import DataSourceDomainServiceIF # NOQA from .object_domain_service import ObjectDomainServiceIF # NOQA
51
73
0.867647
22
204
7.727273
0.545455
0.229412
0.335294
0
0
0
0
0
0
0
0
0
0.102941
204
3
74
68
0.928962
0.068627
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
643a26daea7d1690240661a18118bf44a2d43958
3,044
py
Python
L1Trigger/CSCTriggerPrimitives/test/run080609_103605_cfi.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
L1Trigger/CSCTriggerPrimitives/test/run080609_103605_cfi.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
L1Trigger/CSCTriggerPrimitives/test/run080609_103605_cfi.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
import FWCore.ParameterSet.Config as cms source = cms.Source("DaqSource", readerPluginName = cms.untracked.string("CSCFileReader"), readerPset = cms.untracked.PSet( firstEvent = cms.untracked.int32(0), RUI00 = cms.untracked.vstring("/data0/slava/data/run080609_103605/csc_00000000_EmuRUI00_Defau...
98.193548
132
0.782523
397
3,044
5.617128
0.178841
0.134529
0.187444
0.204484
0.741256
0.741256
0.502691
0.502691
0.502691
0.502691
0
0.294867
0.097569
3,044
30
133
101.466667
0.516928
0
0
0
0
0
0.600197
0.561761
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ff7547cb0c3faa7ae25240961b9895d82c2153de
6,850
py
Python
bayetorch/models/frequentist/vgg.py
yliess86/BayeTorch
fbd4447bdf2b9402b3c7df83e776f08ae940b313
[ "MIT" ]
1
2020-04-09T23:08:14.000Z
2020-04-09T23:08:14.000Z
bayetorch/models/frequentist/vgg.py
yliess86/BayeTorch
fbd4447bdf2b9402b3c7df83e776f08ae940b313
[ "MIT" ]
null
null
null
bayetorch/models/frequentist/vgg.py
yliess86/BayeTorch
fbd4447bdf2b9402b3c7df83e776f08ae940b313
[ "MIT" ]
null
null
null
from torch import Tensor import torch import torch.nn as nn class VGG11(nn.Module): def __init__(self, n_classes: int = 10) -> None: super(VGG11, self).__init__() self.n_classes = n_classes self.conv1 = nn.Conv2d( 3, 64, 3, padding=1) self.conv2 = nn.Conv2d( 64, 128, 3,...
39.367816
69
0.558102
1,072
6,850
3.502799
0.055037
0.081491
0.176565
0.162716
0.965379
0.940613
0.938216
0.924368
0.813316
0.813316
0
0.134428
0.28
6,850
174
70
39.367816
0.626926
0
0
0.751773
0
0
0
0
0
0
0
0
0
1
0.056738
false
0
0.021277
0
0.134752
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
ffac750003c39acc5645ff4d6416985641a45c22
5,760
py
Python
test_shrink.py
tmenjo/gimp-python-fu-testing
8ec2d85dd59c71a66b2ce04cb087a8844ad8b5c8
[ "MIT" ]
null
null
null
test_shrink.py
tmenjo/gimp-python-fu-testing
8ec2d85dd59c71a66b2ce04cb087a8844ad8b5c8
[ "MIT" ]
null
null
null
test_shrink.py
tmenjo/gimp-python-fu-testing
8ec2d85dd59c71a66b2ce04cb087a8844ad8b5c8
[ "MIT" ]
null
null
null
# SPDX-License-Identifier: MIT # Copyright (c) 2022 Takashi Menjo import tempfile import unittest from gimpfu import * from shrink import * class TestShrink(unittest.TestCase): def test_shrink_rgb_fhd(self): # create a new image image = pdb.gimp_image_new(1920, 1080, RGB) self.assertIs...
39.452055
72
0.584375
653
5,760
4.977029
0.165391
0.24
0.073846
0.046154
0.758769
0.744
0.718154
0.718154
0.718154
0.718154
0
0.034509
0.320833
5,760
145
73
39.724138
0.796268
0.069618
0
0.611111
0
0
0.009356
0
0
0
0
0
0.592593
1
0.037037
false
0
0.037037
0
0.092593
0
0
0
0
null
1
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
ffad4729a0ab2ddd177f2677d26fcdeafd55e261
1,504
py
Python
python/8.py
dpetker/project-euler
d232367d5f21821871c53d6ecc43c8d6af801d2c
[ "MIT" ]
null
null
null
python/8.py
dpetker/project-euler
d232367d5f21821871c53d6ecc43c8d6af801d2c
[ "MIT" ]
null
null
null
python/8.py
dpetker/project-euler
d232367d5f21821871c53d6ecc43c8d6af801d2c
[ "MIT" ]
null
null
null
# Soultion for Project Euler Problem #8 - https://projecteuler.net/problem=8 # (c) 2017 dpetker TEST_VAL = '7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950...
71.619048
1,013
0.90359
86
1,504
15.604651
0.534884
0.020864
0.025335
0.022355
0
0
0
0
0
0
0
0.720765
0.061835
1,504
20
1,014
75.2
0.230333
0.05984
0
0
0
0
0.77305
0.70922
0
1
0
0
0
1
0.083333
false
0
0
0
0.166667
0.083333
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
443c27bbf5ed68657ffd40e0d64987ff0fe5d51b
135
py
Python
arpoc/utils.py
JustKiddingCode/arpoc
0a3bbd86535fc79c32a99d9f59362637146d344f
[ "MIT" ]
1
2020-11-27T05:12:38.000Z
2020-11-27T05:12:38.000Z
arpoc/utils.py
JustKiddingCode/arpoc
0a3bbd86535fc79c32a99d9f59362637146d344f
[ "MIT" ]
null
null
null
arpoc/utils.py
JustKiddingCode/arpoc
0a3bbd86535fc79c32a99d9f59362637146d344f
[ "MIT" ]
null
null
null
import datetime def now_object(): return datetime.datetime.now() def now(): return int(datetime.datetime.now().timestamp())
15
51
0.703704
17
135
5.529412
0.470588
0.12766
0.404255
0
0
0
0
0
0
0
0
0
0.155556
135
8
52
16.875
0.824561
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
true
0
0.2
0.4
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
7
444131991820f894b68fb89e3c53c4761f8bb61c
8,305
py
Python
backend/apps/volontulo/tests/views/test_contactform.py
SzeregowaD/volontulo
4989af367e89c2f476bddf49bf42e118555cddc3
[ "MIT" ]
null
null
null
backend/apps/volontulo/tests/views/test_contactform.py
SzeregowaD/volontulo
4989af367e89c2f476bddf49bf42e118555cddc3
[ "MIT" ]
null
null
null
backend/apps/volontulo/tests/views/test_contactform.py
SzeregowaD/volontulo
4989af367e89c2f476bddf49bf42e118555cddc3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ .. module:: test_contactform """ from django.core import mail from django.test import Client from django.test import TestCase from apps.volontulo.tests import common class TestPages(TestCase): """Class responsible for testing contact forms.""" test_admin_email = test_admin_usern...
36.911111
77
0.625406
828
8,305
6.115942
0.149758
0.045616
0.094787
0.116904
0.820498
0.820498
0.80075
0.764613
0.718207
0.662717
0
0.012793
0.265864
8,305
224
78
37.075893
0.817779
0.096568
0
0.701754
0
0
0.201002
0.025176
0
0
0
0
0.309942
1
0.05848
false
0.046784
0.023392
0
0.105263
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
446fe94128ac7023b32fc3727e51a54d3ff26c37
3,430
py
Python
osf/migrations/0007_auto_20170403_2304.py
gaybro8777/osf.io
30408511510a40bc393565817b343ef5fd76ab14
[ "Apache-2.0" ]
628
2015-01-15T04:33:22.000Z
2022-03-30T06:40:10.000Z
osf/migrations/0007_auto_20170403_2304.py
gaybro8777/osf.io
30408511510a40bc393565817b343ef5fd76ab14
[ "Apache-2.0" ]
4,712
2015-01-02T01:41:53.000Z
2022-03-30T14:18:40.000Z
osf/migrations/0007_auto_20170403_2304.py
Johnetordoff/osf.io
de10bf249c46cede04c78f7e6f7e352c69e6e6b5
[ "Apache-2.0" ]
371
2015-01-12T16:14:08.000Z
2022-03-31T18:58:29.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-04-04 04:04 from __future__ import unicode_literals from django.db import migrations import django.utils.timezone import osf.utils.fields class Migration(migrations.Migration): dependencies = [ ('osf', '0006_add_jsonb_index_for_fileversions'), ...
35
122
0.608163
318
3,430
6.342767
0.201258
0.063461
0.111056
0.215667
0.75409
0.75409
0.75409
0.727814
0.677243
0.677243
0
0.00817
0.286297
3,430
97
123
35.360825
0.815768
0.01895
0
0.744444
1
0
0.128495
0.018144
0
0
0
0
0
1
0
false
0
0.044444
0
0.077778
0.022222
0
0
0
null
0
0
1
0
1
1
1
0
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
44897a884a7670d98ec9e3f46a44eaad7fa73aec
1,282
py
Python
gym_guidance_collision_avoidance_single/__init__.py
xuxiyang1993/gym-guidance-collision-avoidance-single
2a532a5d86ac1e0ae31d36fa1ad7fb379ac9c932
[ "MIT" ]
4
2019-02-22T03:46:50.000Z
2021-05-15T07:26:34.000Z
gym_guidance_collision_avoidance_single/__init__.py
xuxiyang1993/gym-guidance-collision-avoidance-single
2a532a5d86ac1e0ae31d36fa1ad7fb379ac9c932
[ "MIT" ]
null
null
null
gym_guidance_collision_avoidance_single/__init__.py
xuxiyang1993/gym-guidance-collision-avoidance-single
2a532a5d86ac1e0ae31d36fa1ad7fb379ac9c932
[ "MIT" ]
3
2019-02-02T01:18:01.000Z
2021-02-08T16:35:20.000Z
import logging from gym.envs.registration import register logger = logging.getLogger(__name__) register( id='guidance-collision-avoidance-single-v0', entry_point='gym_guidance_collision_avoidance_single.envs:SingleAircraftEnv', timestep_limit=10000, reward_threshold=10.0, nondeterministic=False, )...
28.488889
92
0.783931
143
1,282
6.755245
0.258741
0.175983
0.269151
0.331263
0.782609
0.782609
0.73913
0.73913
0.73913
0.521739
0
0.040636
0.117005
1,282
44
93
29.136364
0.812721
0
0
0.526316
0
0
0.437598
0.437598
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0
0
0
0
null
0
1
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
924910c27d79a743ea15b4e8a2259f9a6d314c3f
5,730
py
Python
bookmarks/tests/test_utils.py
ulixxe/linkding
dfb040bbb12ecf7542e20bd9323b6009e04d2304
[ "MIT" ]
1,312
2019-12-25T18:14:43.000Z
2022-03-30T13:40:11.000Z
bookmarks/tests/test_utils.py
ulixxe/linkding
dfb040bbb12ecf7542e20bd9323b6009e04d2304
[ "MIT" ]
177
2019-12-26T05:06:14.000Z
2022-03-31T20:29:03.000Z
bookmarks/tests/test_utils.py
ulixxe/linkding
dfb040bbb12ecf7542e20bd9323b6009e04d2304
[ "MIT" ]
109
2019-12-25T22:20:19.000Z
2022-03-28T01:55:12.000Z
from unittest.mock import patch from dateutil.relativedelta import relativedelta from django.test import TestCase from django.utils import timezone from bookmarks.utils import humanize_absolute_date, humanize_relative_date, parse_timestamp class UtilsTestCase(TestCase): def test_humanize_absolute_date(self): ...
52.568807
96
0.665969
744
5,730
4.950269
0.133065
0.24328
0.276948
0.27369
0.831659
0.793646
0.745859
0.706489
0.698887
0.673636
0
0.103025
0.203839
5,730
108
97
53.055556
0.704296
0.029494
0
0.404762
0
0
0.044636
0
0
0
0
0
0.107143
1
0.119048
false
0
0.059524
0
0.190476
0
0
0
0
null
1
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
92590d68b4d73357f6abf1e9474635c8ebd4da64
34,153
py
Python
utilities/neural_networks.py
Tenavi/HJB_NN
11cfa0e721f02bf36d0cdf03b16e08cf6a06e49c
[ "MIT" ]
2
2020-06-25T11:40:00.000Z
2020-06-30T08:03:13.000Z
utilities/neural_networks.py
Tenavi/HJB_NN
11cfa0e721f02bf36d0cdf03b16e08cf6a06e49c
[ "MIT" ]
3
2020-06-30T07:12:34.000Z
2020-07-02T23:06:00.000Z
utilities/neural_networks.py
Tenavi/HJB_NN
11cfa0e721f02bf36d0cdf03b16e08cf6a06e49c
[ "MIT" ]
1
2022-01-12T06:17:08.000Z
2022-01-12T06:17:08.000Z
''' This script contains the classes implementing neural networks modeling V(t,x) and V(0,x). These are HJBnet and HJBnet_t0, respectively. ''' import numpy as np import tensorflow as tf from scipy import stats from scipy.integrate import solve_ivp, solve_bvp import time class HJBnet: def __init__(self, problem, ...
40.227326
111
0.518344
4,488
34,153
3.731506
0.086898
0.014331
0.011704
0.015764
0.803965
0.78641
0.77811
0.762883
0.738102
0.73237
0
0.016277
0.325418
34,153
848
112
40.274764
0.710621
0.1411
0
0.730159
0
0
0.056167
0
0
0
0
0
0
1
0.042328
false
0.003527
0.014109
0
0.10582
0.082892
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
92b8ed94baa5928d7bcf618b03d50334c9d9146a
557
py
Python
cgi-bin/timeTest.py
pinckert/pinckert.com
7d6ce3e37c6c39c1deebbceb40f4442d34c20e23
[ "Apache-2.0" ]
1
2020-07-29T22:45:07.000Z
2020-07-29T22:45:07.000Z
cgi-bin/timeTest.py
pinckert/pinckert.com
7d6ce3e37c6c39c1deebbceb40f4442d34c20e23
[ "Apache-2.0" ]
null
null
null
cgi-bin/timeTest.py
pinckert/pinckert.com
7d6ce3e37c6c39c1deebbceb40f4442d34c20e23
[ "Apache-2.0" ]
null
null
null
<<<<<<< HEAD import math def prettyDelta(duration): norm = float(duration) / 1000 # convert to seconds seconds = math.floor(norm % 60) norm /= 60 minutes = math.floor(norm % 60) return "%2d:%02d" % (minutes, seconds) duration = 65393 ======= import math def prettyDelta(duration): norm = float(duration) / 10...
21.423077
51
0.685817
67
557
5.701493
0.313433
0.094241
0.136126
0.157068
0.82199
0.82199
0.82199
0.82199
0.82199
0.82199
0
0.129032
0.165171
557
26
52
21.423077
0.692473
0.066427
0
0.8
0
0
0.030888
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.05
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
a649f6958082c81dcd34745a2d2bbad84770cd57
835
py
Python
EX 18 sen cos tag.py
RODRIGOKTK/Python-exercicios
f7985f2c277aae8b158bdeea4f2493febaaf06c5
[ "Unlicense" ]
null
null
null
EX 18 sen cos tag.py
RODRIGOKTK/Python-exercicios
f7985f2c277aae8b158bdeea4f2493febaaf06c5
[ "Unlicense" ]
null
null
null
EX 18 sen cos tag.py
RODRIGOKTK/Python-exercicios
f7985f2c277aae8b158bdeea4f2493febaaf06c5
[ "Unlicense" ]
null
null
null
#EXEMPLO #1 import math ângulo = float(input('Digite o ângulo desejado: ')) seno = math.sin(math.radians(ângulo)) print('O ângulo de {} tem o SENO de {:.2f}'.format(ângulo, seno)) cosseno = math.cos(math.radians(ângulo)) print('O ângulo de {} tem o COSSENO de {:.2f}'.format(ângulo, cosseno)) tangente = math.tan(...
43.947368
74
0.682635
129
835
4.418605
0.186047
0.098246
0.189474
0.2
0.845614
0.845614
0.845614
0.845614
0.694737
0.680702
0
0.01122
0.146108
835
19
75
43.947368
0.788219
0.020359
0
0.5
0
0
0.346299
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.375
0
0
0
null
0
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
a69d89d8b43c1f3820f92e1fc848562ed4a7b80b
4,522
py
Python
spec/codecs/ipfix_stress.py
andsel/logstash-codec-netflow
bce0308260ebcd72af825cd52f48b0af88dfe66d
[ "Apache-2.0" ]
85
2015-04-12T01:22:25.000Z
2021-11-09T10:55:58.000Z
spec/codecs/ipfix_stress.py
andsel/logstash-codec-netflow
bce0308260ebcd72af825cd52f48b0af88dfe66d
[ "Apache-2.0" ]
186
2015-01-12T20:51:46.000Z
2022-01-27T13:31:33.000Z
spec/codecs/ipfix_stress.py
andsel/logstash-codec-netflow
bce0308260ebcd72af825cd52f48b0af88dfe66d
[ "Apache-2.0" ]
107
2015-01-12T19:42:20.000Z
2021-11-03T11:08:57.000Z
import socket import sys import time import random ## Standalone IPFIX stressor ## Used to reproduce issue 134 https://github.com/logstash-plugins/logstash-codec-netflow/issues/134 host = 'host02' port = 2055 tpl = '\x00\n\x00\xa4Z\xd2\xc6\xfc\x00\x00K\xce\xabfn\xab\x00\x02\x00\x94\xce\xc7\x00\x17\x00\x08\x00\x04\...
145.870968
3,366
0.752985
970
4,522
3.491753
0.163918
0.728078
0.932684
1.108946
0.691763
0.651904
0.641275
0.640094
0.630056
0.61677
0
0.328995
0.031402
4,522
30
3,367
150.733333
0.444292
0.029191
0
0
0
0.105263
0.910812
0.875
0
0
0
0
0
1
0
false
0
0.210526
0
0.210526
0.105263
0
0
0
null
1
1
1
0
0
0
0
0
1
0
1
0
0
0
1
1
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
471ac2fd8cadc328906fb6193ff9a8d22573bd1e
8,034
py
Python
tests/st/ops/ascend/dynamic_shape/test_dynamic_cast.py
tianjiashuo/akg
a9cbf642063fb1086a93e8bc6be6feb145689817
[ "Apache-2.0" ]
286
2020-06-23T06:40:44.000Z
2022-03-30T01:27:49.000Z
tests/st/ops/ascend/dynamic_shape/test_dynamic_cast.py
tianjiashuo/akg
a9cbf642063fb1086a93e8bc6be6feb145689817
[ "Apache-2.0" ]
10
2020-07-31T03:26:59.000Z
2021-12-27T15:00:54.000Z
tests/st/ops/ascend/dynamic_shape/test_dynamic_cast.py
tianjiashuo/akg
a9cbf642063fb1086a93e8bc6be6feb145689817
[ "Apache-2.0" ]
30
2020-07-17T01:04:14.000Z
2021-12-27T14:05:19.000Z
import pytest from tests.common import boot from tests.common.test_run import cast_run @pytest.mark.level0 @pytest.mark.platform_arm_ascend_training @pytest.mark.platform_x86_ascend_training @pytest.mark.env_onecard def test_cast(): #boot.run("test_resnet50_cast_000", cast_run, ((64, 128, 16, 16), "float32", "floa...
94.517647
107
0.645382
1,194
8,034
4.082915
0.098827
0.109128
0.169231
0.292308
0.911795
0.907077
0.823795
0.775795
0.757744
0.72
0
0.187874
0.127458
8,034
84
108
95.642857
0.507561
0.61414
0
0
0
0
0.35082
0.180328
0
0
0
0
0
1
0.030303
true
0
0.090909
0
0.121212
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
8
5babc92346458d450a9121b1819a4daa1f2385ee
829,352
py
Python
pythonProject1/venv/Lib/site-packages/ModTkinter/__init__.py
mjtomlinson/CNE330_Python_1_Final_Project
05020806860937ef37b9a0ad2e27de4897a606de
[ "CC0-1.0" ]
null
null
null
pythonProject1/venv/Lib/site-packages/ModTkinter/__init__.py
mjtomlinson/CNE330_Python_1_Final_Project
05020806860937ef37b9a0ad2e27de4897a606de
[ "CC0-1.0" ]
null
null
null
pythonProject1/venv/Lib/site-packages/ModTkinter/__init__.py
mjtomlinson/CNE330_Python_1_Final_Project
05020806860937ef37b9a0ad2e27de4897a606de
[ "CC0-1.0" ]
null
null
null
#import ctypes import tkinter as tk from tkinter import * import random import re import sys import base64 import io import os import numpy as np from shutil import copyfile import webbrowser import platform import PIL from PIL import ImageTk,Image '''import tkinter from tkinter import * s= Tk() d=Button(s, text...
266.244623
74,115
0.921173
33,712
829,352
22.630072
0.313983
0.034117
0.041679
0.042957
0.642648
0.639684
0.636052
0.632735
0.63046
0.628376
0
0.120758
0.032851
829,352
3,114
74,116
266.330122
0.830366
0.050736
0
0.676439
0
0.059175
0.881869
0.876351
0
1
0
0
0.001629
1
0.042888
false
0.042345
0.008143
0.002172
0.086319
0.005429
0
0
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
5bc52bfbc0edd970cd2200355ed5c7697253eac4
123
py
Python
tensor2struct/models/overnight/__init__.py
chenyangh/tensor2struct-public
d3257cba6d76d3c658a58a78f687d986bdc755cf
[ "MIT" ]
69
2021-04-14T06:35:07.000Z
2022-03-31T18:35:05.000Z
tensor2struct/models/overnight/__init__.py
chenyangh/tensor2struct-public
d3257cba6d76d3c658a58a78f687d986bdc755cf
[ "MIT" ]
11
2021-04-16T11:16:04.000Z
2022-03-22T21:21:29.000Z
tensor2struct/models/overnight/__init__.py
chenyangh/tensor2struct-public
d3257cba6d76d3c658a58a78f687d986bdc755cf
[ "MIT" ]
18
2021-04-14T07:19:56.000Z
2022-03-23T19:26:18.000Z
from . import overnight_enc from . import overnight_dec from . import overnight_linking from . import overnight_beam_search
30.75
35
0.845528
17
123
5.823529
0.470588
0.40404
0.767677
0
0
0
0
0
0
0
0
0
0.121951
123
4
35
30.75
0.916667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
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
750a2ba5cf47d29cce6266e56ec340826a893af2
9,555
py
Python
p474_ones_and_zeroes.py
feigaochn/leetcode
abf0877fae02aa9c2549051f0b68df0ace952512
[ "MIT" ]
null
null
null
p474_ones_and_zeroes.py
feigaochn/leetcode
abf0877fae02aa9c2549051f0b68df0ace952512
[ "MIT" ]
null
null
null
p474_ones_and_zeroes.py
feigaochn/leetcode
abf0877fae02aa9c2549051f0b68df0ace952512
[ "MIT" ]
null
null
null
class Solution: def findMaxForm(self, strs, m, n): """ :type strs: List[str] :type m: int :type n: int :rtype: int """ pairs = [(s.count('0'), s.count('1')) for s in strs] if m >= sum(p[0] for p in pairs): pairs = [(0, p[1]) for p in pairs]...
97.5
3,686
0.433386
1,442
9,555
2.871706
0.065187
0.254045
0.37817
0.502294
0.79546
0.790147
0.77759
0.77759
0.77759
0.77759
0
0.427866
0.173731
9,555
97
3,687
98.505155
0.096643
0.015489
0
0.083333
0
0
0.353035
0
0
0
0
0
0
1
0.041667
false
0
0.013889
0.013889
0.125
0.111111
0
0
0
null
1
1
1
0
1
1
1
1
1
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
750df0d4e84df5cae1e89585c4baac2aaaa20da9
98
py
Python
test/input/072.py
EliRibble/pyfmt
e84a5531a7c06703eddd9dbc2072b0c8deae8c57
[ "MIT" ]
null
null
null
test/input/072.py
EliRibble/pyfmt
e84a5531a7c06703eddd9dbc2072b0c8deae8c57
[ "MIT" ]
null
null
null
test/input/072.py
EliRibble/pyfmt
e84a5531a7c06703eddd9dbc2072b0c8deae8c57
[ "MIT" ]
null
null
null
def long_function_def(some_really_long_parameter_name, another_really_long_parameter_name): pass
32.666667
91
0.908163
15
98
5.266667
0.6
0.253165
0.481013
0.582278
0
0
0
0
0
0
0
0
0.05102
98
2
92
49
0.849462
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
7
7531cc51a58b080b018f3449e17198eb0c6c38a5
15,410
py
Python
Lib/test/test_compiler/test_static/refine_fields.py
itamaro/cinder
a08198c185a255b59f85dc84183558370a0c5284
[ "CNRI-Python-GPL-Compatible" ]
null
null
null
Lib/test/test_compiler/test_static/refine_fields.py
itamaro/cinder
a08198c185a255b59f85dc84183558370a0c5284
[ "CNRI-Python-GPL-Compatible" ]
null
null
null
Lib/test/test_compiler/test_static/refine_fields.py
itamaro/cinder
a08198c185a255b59f85dc84183558370a0c5284
[ "CNRI-Python-GPL-Compatible" ]
null
null
null
import dis from compiler.static.types import TypedSyntaxError, _TMP_VAR_PREFIX from .common import StaticTestBase class RefineFieldsTests(StaticTestBase): def test_can_refine_loaded_field(self) -> None: codestr = """ class C: def __init__(self) -> None: sel...
34.55157
87
0.46963
1,732
15,410
3.939376
0.086605
0.08061
0.0469
0.066833
0.85417
0.827495
0.827202
0.821633
0.814451
0.800381
0
0.004475
0.434458
15,410
445
88
34.629213
0.778428
0.027774
0
0.822581
0
0
0.606907
0.007414
0
0
0
0
0.104839
1
0.077957
false
0.008065
0.010753
0
0.115591
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
f3754edc96fd65d9844a000f4dd713943e7f08c7
198
py
Python
opendatatools/sns/sns_interface.py
solider245/OpenData
031aa29b7b6b26a903f378e3da10520fd3a1b7ab
[ "Apache-2.0" ]
1,179
2018-05-28T07:14:41.000Z
2022-03-27T16:03:51.000Z
opendatatools/sns/sns_interface.py
taoyeah/OpenData
031aa29b7b6b26a903f378e3da10520fd3a1b7ab
[ "Apache-2.0" ]
42
2018-07-05T02:44:56.000Z
2022-03-29T12:12:30.000Z
opendatatools/sns/sns_interface.py
taoyeah/OpenData
031aa29b7b6b26a903f378e3da10520fd3a1b7ab
[ "Apache-2.0" ]
297
2018-05-28T07:39:38.000Z
2022-03-28T02:35:59.000Z
# encoding: utf-8 from .weibo_agent import WeiboAgent weibo_agent = WeiboAgent() # 1hour, 1day, 1month, 3month def get_weibo_index(word, type): return weibo_agent.get_weibo_index(word, type)
19.8
50
0.762626
29
198
4.965517
0.62069
0.208333
0.180556
0.236111
0.291667
0
0
0
0
0
0
0.029412
0.141414
198
9
51
22
0.817647
0.217172
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
8
f37d271a2d0c431f79bb3b5c1abb0667652e14a0
174
py
Python
unittest_reinvent/transfer_learning_tests/__init__.py
fujirock/Reinvent
9c57636f9d32b4ce5b75670f43906a70d5daf886
[ "MIT" ]
4
2021-05-11T05:34:01.000Z
2022-03-30T10:04:21.000Z
unittest_reinvent/transfer_learning_tests/__init__.py
prasannavd/Reinvent
ca02ebee8d8ed83223c55f4a1dd1b3fbc2359616
[ "MIT" ]
null
null
null
unittest_reinvent/transfer_learning_tests/__init__.py
prasannavd/Reinvent
ca02ebee8d8ed83223c55f4a1dd1b3fbc2359616
[ "MIT" ]
2
2021-06-01T11:56:10.000Z
2021-10-05T04:33:56.000Z
from unittest_reinvent.transfer_learning_tests.test_transfer_learning import * from unittest_reinvent.transfer_learning_tests.test_transfer_learning_with_validation import *
58
94
0.91954
22
174
6.727273
0.454545
0.432432
0.27027
0.378378
0.824324
0.824324
0.824324
0.824324
0.824324
0
0
0
0.045977
174
2
95
87
0.891566
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
1
1
1
1
1
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
13
344c8ac7834d00e98efcd7552fd03cf1d4cdf3b6
1,229
py
Python
_modules/minionmanage.py
djivey/kinetic
8d949f9dba8965c8d4f679d439290b171be7c398
[ "Apache-2.0" ]
null
null
null
_modules/minionmanage.py
djivey/kinetic
8d949f9dba8965c8d4f679d439290b171be7c398
[ "Apache-2.0" ]
null
null
null
_modules/minionmanage.py
djivey/kinetic
8d949f9dba8965c8d4f679d439290b171be7c398
[ "Apache-2.0" ]
null
null
null
import salt.utils.network as network import salt.modules.file as file __virtualname__ = 'minionmanage' def __virtual__(): return __virtualname__ def populate_cache(path): pending = file.readdir(path) pending.remove('.') pending.remove('..') return pending def populate_controller(path): pending = file.readd...
19.822581
36
0.725793
144
1,229
6.048611
0.180556
0.227325
0.154994
0.227325
0.772675
0.772675
0.772675
0.772675
0.772675
0.772675
0
0.003697
0.119609
1,229
61
37
20.147541
0.801294
0
0
0.72
0
0
0.031733
0
0
0
0
0
0
1
0.2
false
0
0.04
0.02
0.44
0
0
0
0
null
1
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
347dacb76fb4e8c4fdf5e174839a812d06380de3
16,672
py
Python
tests/test_chapter06.py
JoseALermaIII/impracticalpythonprojects
0c22c20618243f576f58e8c8bdfb9ce4cd46be5a
[ "MIT" ]
null
null
null
tests/test_chapter06.py
JoseALermaIII/impracticalpythonprojects
0c22c20618243f576f58e8c8bdfb9ce4cd46be5a
[ "MIT" ]
13
2019-05-25T08:26:39.000Z
2019-10-19T20:37:00.000Z
tests/test_chapter06.py
JoseALermaIII/impracticalpythonprojects
0c22c20618243f576f58e8c8bdfb9ce4cd46be5a
[ "MIT" ]
null
null
null
"""Test Chapter 6.""" import os import unittest.mock from io import StringIO from platform import system from docx import Document from docx.shared import RGBColor import src.ch06.p1_invisible_ink as invisible_ink import src.ch06.c1_invisible_ink_mono as invisible_ink_mono import tests.data.ch06.constants as constan...
47.770774
94
0.620262
1,984
16,672
5.03629
0.113407
0.073259
0.039031
0.04944
0.854083
0.83727
0.817654
0.798439
0.76271
0.758807
0
0.015224
0.282929
16,672
348
95
47.908046
0.820577
0.112824
0
0.733577
0
0
0.089628
0.05213
0
0
0
0.002874
0.175182
1
0.025547
false
0
0.032847
0
0.065693
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
cabb8956e4339a5035a854d1cac9caf969a10062
200
py
Python
data_handler/__init__.py
naver-ai/cgl_fairness
00d3bec233c9b3e0f88496118abaed8321ca3159
[ "MIT" ]
1
2022-03-30T06:11:01.000Z
2022-03-30T06:11:01.000Z
data_handler/__init__.py
naver-ai/cgl_fairness
00d3bec233c9b3e0f88496118abaed8321ca3159
[ "MIT" ]
null
null
null
data_handler/__init__.py
naver-ai/cgl_fairness
00d3bec233c9b3e0f88496118abaed8321ca3159
[ "MIT" ]
null
null
null
""" cgl_fairness Copyright (c) 2022-present NAVER Corp. MIT license """ from data_handler.dataloader_factory import * from data_handler.dataset_factory import * from data_handler.ssl_dataset import *
22.222222
45
0.81
28
200
5.535714
0.642857
0.154839
0.290323
0.270968
0.36129
0
0
0
0
0
0
0.022472
0.11
200
8
46
25
0.848315
0.315
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
1bb5770452e191809a31198dd39c47fd673ab61d
8,121
py
Python
dfirtrack_main/tests/entry/test_entry_views.py
blackhatethicalhacking/dfirtrack
9c2e13015291f2981d14d63c9683e7c447e91f3a
[ "MIT" ]
4
2020-03-06T17:37:09.000Z
2020-03-17T07:50:55.000Z
dfirtrack_main/tests/entry/test_entry_views.py
blackhatethicalhacking/dfirtrack
9c2e13015291f2981d14d63c9683e7c447e91f3a
[ "MIT" ]
null
null
null
dfirtrack_main/tests/entry/test_entry_views.py
blackhatethicalhacking/dfirtrack
9c2e13015291f2981d14d63c9683e7c447e91f3a
[ "MIT" ]
1
2020-03-06T20:54:52.000Z
2020-03-06T20:54:52.000Z
from django.contrib.auth.models import User from django.test import TestCase from django.utils import timezone from dfirtrack_main.models import Entry, System, Systemstatus import urllib.parse class EntryViewTestCase(TestCase): """ entry view tests """ @classmethod def setUpTestData(cls): # creat...
38.306604
114
0.650536
872
8,121
5.852064
0.088303
0.05487
0.038801
0.072114
0.85048
0.827552
0.798354
0.790907
0.734666
0.727807
0
0.052107
0.234331
8,121
211
115
38.488152
0.768575
0.120675
0
0.458333
0
0
0.187276
0.072933
0
0
0
0
0.166667
1
0.177083
false
0.135417
0.052083
0
0.239583
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
940812d36711fc3af0f362f57c06f236543b190d
286,488
py
Python
src/testing/TestON/tests/SATScontrollerPerf/SATScontrollerPerf.py
securedataplane/preacher
2f76581de47036e79cd6e1183948c88b35ce4950
[ "MIT" ]
1
2020-07-23T08:06:44.000Z
2020-07-23T08:06:44.000Z
src/testing/TestON/tests/SATScontrollerPerf/SATScontrollerPerf.py
securedataplane/preacher
2f76581de47036e79cd6e1183948c88b35ce4950
[ "MIT" ]
null
null
null
src/testing/TestON/tests/SATScontrollerPerf/SATScontrollerPerf.py
securedataplane/preacher
2f76581de47036e79cd6e1183948c88b35ce4950
[ "MIT" ]
null
null
null
class SATScontrollerPerf: def __init__( self ): self.default = '' def CASE1( self, main ): import time import os import imp """ - Construct tests variables - GIT ( optional ) - Checkout ONOS master branch - Pull latest ONOS code ...
53.689655
164
0.531579
30,456
286,488
4.933051
0.026005
0.014803
0.014856
0.0496
0.93999
0.934119
0.92757
0.92295
0.918132
0.914997
0
0.041871
0.382187
286,488
5,335
165
53.699719
0.806967
0.021055
0
0.895066
0
0.013619
0.21752
0.018151
0
0
0.000793
0
0.063854
0
null
null
0.060728
0.056039
null
null
0.001786
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
9
849ad5bd97fe7248bb00ba6e1e8f9e44486257a8
129
py
Python
utillitycrap/utill.py
gammernut/utillitycrap
449c755bb20e42dc3f4c65358fafb056b2e47e90
[ "MIT" ]
null
null
null
utillitycrap/utill.py
gammernut/utillitycrap
449c755bb20e42dc3f4c65358fafb056b2e47e90
[ "MIT" ]
null
null
null
utillitycrap/utill.py
gammernut/utillitycrap
449c755bb20e42dc3f4c65358fafb056b2e47e90
[ "MIT" ]
null
null
null
def title_card(code_name): print('\n~~~~~~~~~~~~~~~~~~~~~~~') print(code_name) print('~~~~~~~~~~~~~~~~~~~~~~~ \n')
18.428571
39
0.372093
12
129
3.75
0.583333
0.355556
0.577778
0.622222
0
0
0
0
0
0
0
0
0.155039
129
6
40
21.5
0.412844
0
0
0
0
0
0.401575
0.377953
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.75
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
8
84c37735f3ff35b5ed17891236135836a706a4e4
1,886
py
Python
symlib/generic.py
kozbot/kecb
a60a2bb2754098cac127e258e1066cc838264399
[ "MIT" ]
4
2017-05-27T19:08:10.000Z
2021-07-12T06:29:14.000Z
symlib/generic.py
kozbot/kecb
a60a2bb2754098cac127e258e1066cc838264399
[ "MIT" ]
23
2017-05-26T01:03:06.000Z
2018-05-22T03:35:51.000Z
symlib/generic.py
kozbot/kecb
a60a2bb2754098cac127e258e1066cc838264399
[ "MIT" ]
2
2019-08-23T14:40:40.000Z
2020-07-06T08:09:08.000Z
import entity from symlib.terminal import ETERM from symlib.contact import NO, NC class GEN_DEV(entity.CodedSymbol): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) def generate(self): return [ ETERM(), entity.Rect(points=[ entity...
31.433333
76
0.511665
213
1,886
4.394366
0.183099
0.235043
0.125
0.096154
0.907051
0.907051
0.907051
0.907051
0.907051
0.907051
0
0.073693
0.330859
1,886
60
77
31.433333
0.667987
0
0
0.784314
0
0
0.011129
0
0
0
0
0
0
1
0.117647
false
0
0.058824
0.058824
0.294118
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
ca040d05094a4e8f89b386d28eacc610c18d821b
180
py
Python
mbs/tests/__init__.py
hhuuggoo/multiuserblazeserver
0926e5f547c46361e9dfb5e8236461a1ce86479b
[ "BSD-3-Clause" ]
7
2015-01-05T17:18:08.000Z
2019-08-26T02:54:07.000Z
mbs/tests/__init__.py
hhuuggoo/multiuserblazeserver
0926e5f547c46361e9dfb5e8236461a1ce86479b
[ "BSD-3-Clause" ]
null
null
null
mbs/tests/__init__.py
hhuuggoo/multiuserblazeserver
0926e5f547c46361e9dfb5e8236461a1ce86479b
[ "BSD-3-Clause" ]
5
2015-03-30T12:15:47.000Z
2021-02-23T07:38:29.000Z
from os.path import dirname, join def config_file(name): return join(dirname(__file__), 'config', name) def data_file(name): return join(dirname(__file__), 'data', name)
22.5
50
0.716667
26
180
4.576923
0.461538
0.134454
0.235294
0.302521
0.487395
0.487395
0
0
0
0
0
0
0.15
180
7
51
25.714286
0.777778
0
0
0
0
0
0.055556
0
0
0
0
0
0
1
0.4
false
0
0.2
0.4
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
ca22394f703bf59ff3b1c7267fbbbaee3d2f9b97
11,617
py
Python
blog/tests.py
ThomasDang93/programming-blog
5881273e94953eba168814f24331c634f9f90e4a
[ "MIT" ]
1
2018-08-08T01:41:25.000Z
2018-08-08T01:41:25.000Z
blog/tests.py
ThomasDang93/programming-blog
5881273e94953eba168814f24331c634f9f90e4a
[ "MIT" ]
3
2020-06-05T18:44:05.000Z
2021-06-10T20:43:30.000Z
blog/tests.py
ThomasDang93/programming-blog
5881273e94953eba168814f24331c634f9f90e4a
[ "MIT" ]
null
null
null
import datetime from django.utils import timezone from django.test import TestCase from django.urls import reverse from django.contrib.auth.models import User from django.template.defaultfilters import slugify from django.db import models from .models import Post, Category def create_post_with_category(post_author, p...
47.416327
113
0.663252
1,430
11,617
5.191608
0.100699
0.04243
0.053745
0.063982
0.863685
0.830145
0.808594
0.804283
0.786503
0.759025
0
0.017095
0.229577
11,617
244
114
47.610656
0.812402
0.098046
0
0.657303
0
0
0.114879
0
0
0
0
0
0.101124
1
0.078652
false
0.078652
0.044944
0
0.157303
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
ca8d671409661aeaf1c3c63b85e5c0076e8c4101
10,184
py
Python
AllNu4-16.py
edouard-lebas/DictionaryGenerator
d27b3878e4929819e23b6f2dd0e08b3761bbde8f
[ "MIT" ]
null
null
null
AllNu4-16.py
edouard-lebas/DictionaryGenerator
d27b3878e4929819e23b6f2dd0e08b3761bbde8f
[ "MIT" ]
1
2017-12-26T14:51:07.000Z
2017-12-26T14:51:07.000Z
AllNu4-16.py
edouard-lebas/DictionaryGenerator
d27b3878e4929819e23b6f2dd0e08b3761bbde8f
[ "MIT" ]
null
null
null
import time #All lower case letters num = ["0","1","2","3","4","5","6","7","8","9"] lenght = raw_input("Lenght : ") start_time = time.time() if lenght == "4": file = open("DIC_num_4.txt","w") try: for a in num: print a for b in num: for c in num: ...
37.167883
110
0.298311
1,024
10,184
2.938477
0.0625
0.216019
0.276504
0.060485
0.876371
0.876371
0.876371
0.873712
0.870721
0.867398
0
0.013369
0.632757
10,184
274
111
37.167883
0.791176
0.00216
0
0.820896
0
0
0.052844
0
0
0
0
0
0
0
null
null
0
0.003731
null
null
0.152985
0
0
0
null
1
1
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
1
0
0
0
0
0
0
0
0
11
ca90d6cf9058954dbcbdc462d678e3bd96b2e8c9
54,297
py
Python
src/stactools/sentinel5p/product_metadata.py
stactools-packages/sentinel5p
fcf0e939cacec94d53608421d14c1a152c7fedb5
[ "Apache-2.0" ]
null
null
null
src/stactools/sentinel5p/product_metadata.py
stactools-packages/sentinel5p
fcf0e939cacec94d53608421d14c1a152c7fedb5
[ "Apache-2.0" ]
null
null
null
src/stactools/sentinel5p/product_metadata.py
stactools-packages/sentinel5p
fcf0e939cacec94d53608421d14c1a152c7fedb5
[ "Apache-2.0" ]
null
null
null
import json # type: ignore from datetime import datetime from typing import Any, Dict, Optional import netCDF4 as nc # type: ignore from pystac.utils import str_to_datetime from shapely.geometry import Polygon, mapping # type: ignore class ProductMetadataError(Exception): pass class ProductMetadata: def...
48.264
89
0.45124
4,297
54,297
5.385152
0.053991
0.097494
0.096802
0.060761
0.918453
0.910717
0.904408
0.889758
0.87567
0.868366
0
0.011812
0.435567
54,297
1,124
90
48.30694
0.743238
0.001823
0
0.822566
0
0
0.262244
0.088706
0
0
0
0
0
1
0.012739
false
0.00091
0.00546
0.00091
0.031847
0.011829
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
04e156fe69ce4bf0943ae404760afb659d649a06
121
py
Python
tf_kit/lattice/core/embedding/__init__.py
lyssym/NER-toolkits
c6368c6fa33761cf6b82e4616cc6705aad052130
[ "MIT" ]
1
2019-06-18T07:22:57.000Z
2019-06-18T07:22:57.000Z
tf_kit/lattice/core/embedding/__init__.py
lyssym/NER-toolkits
c6368c6fa33761cf6b82e4616cc6705aad052130
[ "MIT" ]
null
null
null
tf_kit/lattice/core/embedding/__init__.py
lyssym/NER-toolkits
c6368c6fa33761cf6b82e4616cc6705aad052130
[ "MIT" ]
2
2019-06-18T07:22:58.000Z
2019-11-28T07:49:34.000Z
# _*_ coding: utf-8 _*_ from . import GloveEmbeddings from . import GloveEmbeddingsPassOOV from . import WordEmbeddings
20.166667
36
0.785124
12
121
7.583333
0.666667
0.32967
0
0
0
0
0
0
0
0
0
0.009709
0.14876
121
5
37
24.2
0.873786
0.173554
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
b6bbab34d51cb448f0c94a597df9afef95525459
199
py
Python
Experiments/overrider/ReplacerB.py
joelliusp/SpaceHabit
5656ef4d9c57f3e58d0ed756a3aa754c8a7dd6a5
[ "MIT" ]
null
null
null
Experiments/overrider/ReplacerB.py
joelliusp/SpaceHabit
5656ef4d9c57f3e58d0ed756a3aa754c8a7dd6a5
[ "MIT" ]
13
2016-07-19T04:13:20.000Z
2016-08-17T06:06:47.000Z
Experiments/overrider/ReplacerB.py
joelliusp/SpaceHabit
5656ef4d9c57f3e58d0ed756a3aa754c8a7dd6a5
[ "MIT" ]
null
null
null
import Top print("Importing replacer B") def counterfeit_print_one(): print("counterfeit 1") def replace(): Top.print_one = counterfeit_print_one def call_print_one(): Top.print_one()
16.583333
41
0.728643
28
199
4.892857
0.428571
0.291971
0.277372
0
0
0
0
0
0
0
0
0.005988
0.160804
199
12
42
16.583333
0.814371
0
0
0
0
0
0.165
0
0
0
0
0
0
1
0.375
true
0
0.25
0
0.625
0.75
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
1
0
7
8e10bbe6418c90cfdd556d34382136d98b4f28c0
69,132
py
Python
tests/tests_equipment_integration.py
Open-CMMS/openCMMS_backend
56511ebac83a5dc1fb8768a98bc675e88530a447
[ "BSD-3-Clause" ]
3
2021-03-08T19:14:38.000Z
2022-02-01T17:57:31.000Z
tests/tests_equipment_integration.py
Open-CMMS/openCMMS_backend
56511ebac83a5dc1fb8768a98bc675e88530a447
[ "BSD-3-Clause" ]
null
null
null
tests/tests_equipment_integration.py
Open-CMMS/openCMMS_backend
56511ebac83a5dc1fb8768a98bc675e88530a447
[ "BSD-3-Clause" ]
null
null
null
from io import BytesIO import pytest from init_db_tests import init_db from PIL import Image from django.contrib.auth.models import Permission from django.test import TestCase from maintenancemanagement.models import ( Equipment, EquipmentType, Field, FieldGroup, FieldObject, FieldValue, ) fro...
43.534005
142
0.557296
6,953
69,132
5.431037
0.036675
0.038663
0.041894
0.025661
0.915126
0.905858
0.887532
0.878661
0.871696
0.856496
0
0.013889
0.346974
69,132
1,587
143
43.561437
0.822572
0.225945
0
0.700772
0
0
0.163418
0.053042
0
0
0
0
0.067568
1
0.050193
false
0.042471
0.010618
0
0.062741
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
8e330189e3caef2d8ad0eb7f5b3b9f6f8cbf9b29
4,653
py
Python
soluciones/RPC/2020-6/K_Auteams.py
ProgamacionCompetitivaUTFSM/ProgramacionCompetitivaUSM
1fec5c3353663c75c66b67f13c6a20bc0ab63af2
[ "MIT" ]
4
2020-03-30T18:29:50.000Z
2020-10-02T03:09:23.000Z
soluciones/RPC/2020-6/K_Auteams.py
ProgamacionCompetitivaUTFSM/ProgramacionCompetitivaUSM
1fec5c3353663c75c66b67f13c6a20bc0ab63af2
[ "MIT" ]
1
2020-06-16T07:35:38.000Z
2020-06-16T07:35:38.000Z
soluciones/RPC/2020-6/K_Auteams.py
ProgamacionCompetitivaUTFSM/ProgramacionCompetitivaUSM
1fec5c3353663c75c66b67f13c6a20bc0ab63af2
[ "MIT" ]
4
2020-03-29T02:19:23.000Z
2021-04-29T15:34:21.000Z
fila1="abcdefghi" fila2="jklmnopqr" fila3="stuvwxyz" n=int(input()) for i in range(0,n): flag=True palabras=input() palabras=palabras.strip().split() if (len(palabras[0])==len(palabras[1])): if (palabras[0]==palabras[1]): print("1") pass else: ...
51.131868
313
0.40533
546
4,653
3.454212
0.065934
0.281548
0.302227
0.299046
0.862142
0.845175
0.841994
0.841994
0.841994
0.841994
0
0.071036
0.452396
4,653
91
314
51.131868
0.669152
0
0
0.640449
0
0
0.006573
0
0
0
0
0
0
1
0
false
0.157303
0
0
0
0.044944
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
1
0
0
0
0
0
10
f3ebc76cb9744035996542750451da854659a8a7
71,692
py
Python
tests/test_flask.py
santosderek/Vitality
cc90d3b561c3b75f000288345d7a1442fb2b3fec
[ "MIT" ]
1
2020-09-18T17:08:53.000Z
2020-09-18T17:08:53.000Z
tests/test_flask.py
santosderek/Vitality
cc90d3b561c3b75f000288345d7a1442fb2b3fec
[ "MIT" ]
91
2020-09-25T23:12:58.000Z
2020-12-19T04:57:50.000Z
tests/test_flask.py
santosderek/4155-Team
cc90d3b561c3b75f000288345d7a1442fb2b3fec
[ "MIT" ]
3
2020-09-26T22:35:42.000Z
2020-10-13T18:22:22.000Z
from datetime import datetime from bson.objectid import ObjectId from flask.globals import request import pytest from flask import g, session, url_for from os import environ from vitality import create_app from vitality import database from vitality.database import Database, WorkoutCreatorIdNotFoundError, password_sha2...
34.700871
114
0.609594
7,935
71,692
5.29351
0.035161
0.131226
0.058566
0.070112
0.916127
0.899176
0.888368
0.862704
0.840729
0.808828
0
0.017977
0.293129
71,692
2,065
115
34.717676
0.810881
0.055446
0
0.813983
0
0
0.122256
0.007192
0
0
0
0
0.25465
1
0.033996
false
0.045542
0.010904
0
0.044901
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
6d46138dc4c3c6e152f68ec2403e677b881acb6f
203
py
Python
bentoml/torchscript.py
sauyon/BentoML
ff702f1fc1ee7cc4cf7aab2e67d1e27512858fe4
[ "Apache-2.0" ]
null
null
null
bentoml/torchscript.py
sauyon/BentoML
ff702f1fc1ee7cc4cf7aab2e67d1e27512858fe4
[ "Apache-2.0" ]
null
null
null
bentoml/torchscript.py
sauyon/BentoML
ff702f1fc1ee7cc4cf7aab2e67d1e27512858fe4
[ "Apache-2.0" ]
null
null
null
from ._internal.frameworks.torchscript import load from ._internal.frameworks.torchscript import save from ._internal.frameworks.torchscript import load_runner __all__ = ["load", "load_runner", "save"]
33.833333
57
0.812808
24
203
6.5
0.375
0.230769
0.423077
0.634615
0.801282
0.551282
0
0
0
0
0
0
0.08867
203
5
58
40.6
0.843243
0
0
0
0
0
0.093596
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
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
1
0
1
0
0
8
6d63f7816546013d855cf182e4b7942ca988f26f
258
py
Python
fafalytics/extractors/base.py
yaniv-aknin/fafalytics
d4f34a2650fb8650dd1eacbefd3b3836b0f81c17
[ "MIT" ]
1
2021-05-04T17:14:12.000Z
2021-05-04T17:14:12.000Z
fafalytics/extractors/base.py
yaniv-aknin/fafalytics
d4f34a2650fb8650dd1eacbefd3b3836b0f81c17
[ "MIT" ]
15
2021-04-22T17:02:27.000Z
2021-04-28T08:18:06.000Z
fafalytics/extractors/base.py
yaniv-aknin/fafalytics
d4f34a2650fb8650dd1eacbefd3b3836b0f81c17
[ "MIT" ]
null
null
null
class Extractor: def __str__(self): return self.__class__.__name__ class ExtractByCommand(Extractor): def feed(self, command): if not hasattr(self, command['type']): return getattr(self, command['type'])(command)
25.8
47
0.639535
28
258
5.464286
0.535714
0.215686
0.196078
0
0
0
0
0
0
0
0
0
0.244186
258
9
48
28.666667
0.784615
0
0
0
0
0
0.031008
0
0
0
0
0
0
1
0.25
false
0
0
0.125
0.75
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
ed9d62261563494376876ab4dbe10653c84023fe
728
py
Python
my_t2t/transformer_med.py
JinkelaCrops/t2t-learning
5d9b5a5164af763c24f1cbce9d97561e9f2b772c
[ "Apache-2.0" ]
5
2019-03-28T03:52:32.000Z
2021-02-24T07:09:26.000Z
my_t2t/transformer_med.py
JinkelaCrops/t2t-learning
5d9b5a5164af763c24f1cbce9d97561e9f2b772c
[ "Apache-2.0" ]
null
null
null
my_t2t/transformer_med.py
JinkelaCrops/t2t-learning
5d9b5a5164af763c24f1cbce9d97561e9f2b772c
[ "Apache-2.0" ]
2
2018-08-07T03:43:09.000Z
2019-12-09T06:41:40.000Z
from tensor2tensor.utils import registry from tensor2tensor.models.transformer import transformer_big_single_gpu @registry.register_hparams def transformer_big_single_gpu_batch_size_1600(): """HParams for transfomer big model on WMT.""" hparams = transformer_big_single_gpu() hparams.batch_size = 1600 ...
31.652174
71
0.776099
97
728
5.515464
0.309278
0.117757
0.186916
0.214953
0.807477
0.807477
0.807477
0.807477
0.807477
0.807477
0
0.055738
0.162088
728
22
72
33.090909
0.821311
0.21978
0
0.714286
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
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
edb16ccc2200dcb5287665aca80948e72119cee0
104
py
Python
torchOnVideo/tracking/towards_realtime_mot/EvaluateModel.py
torchOnVideo/torchOnVideo
aa07d5661f772eca027ecc6b79e14bd68a515aa1
[ "MIT" ]
2
2021-03-19T08:05:06.000Z
2021-05-22T21:54:10.000Z
torchOnVideo/tracking/towards_realtime_mot/EvaluateModel.py
torchOnVideo/torchOnVideo
aa07d5661f772eca027ecc6b79e14bd68a515aa1
[ "MIT" ]
null
null
null
torchOnVideo/tracking/towards_realtime_mot/EvaluateModel.py
torchOnVideo/torchOnVideo
aa07d5661f772eca027ecc6b79e14bd68a515aa1
[ "MIT" ]
null
null
null
from ..towards_realtime_mot import towards_realtime_mot class EvaluateModel( real_time_mot ): pass
20.8
55
0.817308
14
104
5.642857
0.714286
0.379747
0.455696
0
0
0
0
0
0
0
0
0
0.134615
104
4
56
26
0.877778
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
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
1
1
0
1
0
0
8
b65b3b309a6c4cf41739158247ff1f364b16d253
2,270
py
Python
mak/libs/pyxx/cxx/grammar/expression/primary/fold.py
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
4
2015-05-13T16:28:36.000Z
2017-05-24T15:34:14.000Z
mak/libs/pyxx/cxx/grammar/expression/primary/fold.py
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
null
null
null
mak/libs/pyxx/cxx/grammar/expression/primary/fold.py
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
1
2017-03-21T08:28:07.000Z
2017-03-21T08:28:07.000Z
""" fold-expression: ( cast-expression fold-operator ... ) ( ... fold-operator cast-expression ) ( cast-expression fold-operator ... fold-operator cast-expression ) fold-operator: one of + - * / % ^ & | << >> += -= *= /= %= ^= &= |= <<= >>= = == != < > <= >= && || , .* ...
33.880597
112
0.593392
256
2,270
5.242188
0.097656
0.375559
0.312966
0.4769
0.859165
0.839046
0.839046
0.839046
0.76006
0.596125
0
0.00303
0.127753
2,270
66
113
34.393939
0.674747
0.179295
0
0.086957
0
0.021739
0.587379
0
0
0
0
0
0
1
0.043478
false
0.043478
0.086957
0
0.130435
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
0
0
0
0
0
0
0
8
b6a83f51eaadca9cd17d9d32d9c2cdebd45d69bf
8,277
py
Python
tests/did/test_didering.py
reputage/didery
f94a3cf63a7be2a341fa06d173d068924e540e41
[ "Apache-2.0" ]
8
2018-09-07T09:26:52.000Z
2021-01-16T12:22:07.000Z
tests/did/test_didering.py
reputage/didery
f94a3cf63a7be2a341fa06d173d068924e540e41
[ "Apache-2.0" ]
184
2018-04-19T17:46:02.000Z
2019-05-21T19:04:30.000Z
tests/did/test_didering.py
reputage/didery
f94a3cf63a7be2a341fa06d173d068924e540e41
[ "Apache-2.0" ]
3
2018-09-26T19:16:30.000Z
2018-12-18T18:50:40.000Z
import pytest import didery from didery.did import didering from didery.did.methods import dad def didAssertions(did_reference, did, exp_scheme, exp_method, exp_idstring, exp_query, exp_path, ...
29.24735
125
0.605171
826
8,277
5.785714
0.085956
0.107972
0.081607
0.167399
0.804562
0.799121
0.793053
0.761247
0.736974
0.736974
0
0.042268
0.314003
8,277
282
126
29.351064
0.799401
0.038057
0
0.786364
0
0.013636
0.232782
0.197523
0
0
0
0
0.104545
1
0.068182
false
0
0.018182
0
0.086364
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
b6a99f208a2dca169bf3361a49cc6c87c3fcf6b4
16,544
py
Python
sdk/python/pulumi_postgresql/extension.py
pulumi/pulumi-postgresql
8a3b528217aafd48f58e40e4196acd0fb740bef6
[ "ECL-2.0", "Apache-2.0" ]
18
2019-08-13T08:01:04.000Z
2021-11-24T18:54:20.000Z
sdk/python/pulumi_postgresql/extension.py
pulumi/pulumi-postgresql
8a3b528217aafd48f58e40e4196acd0fb740bef6
[ "ECL-2.0", "Apache-2.0" ]
56
2019-06-21T18:31:15.000Z
2022-03-25T20:00:13.000Z
sdk/python/pulumi_postgresql/extension.py
pulumi/pulumi-postgresql
8a3b528217aafd48f58e40e4196acd0fb740bef6
[ "ECL-2.0", "Apache-2.0" ]
6
2019-10-05T10:29:02.000Z
2020-10-14T09:47: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 ...
41.052109
190
0.635155
1,947
16,544
5.214689
0.080123
0.088841
0.101054
0.078007
0.84576
0.834729
0.819265
0.811484
0.806461
0.797794
0
0.000082
0.263298
16,544
402
191
41.154229
0.83295
0.323199
0
0.800866
1
0
0.073386
0.003499
0
0
0
0
0
1
0.160173
false
0.004329
0.021645
0
0.277056
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
fcc922a5bf5f03b7e846941606ea6de3c8e77996
8,190
py
Python
bindings/python/test/test_distribution.py
deephyper/CCS
dd8c976eca2a510c995862cc5c871e81932f3ff4
[ "BSD-3-Clause" ]
1
2021-11-29T16:31:28.000Z
2021-11-29T16:31:28.000Z
bindings/python/test/test_distribution.py
deephyper/CCS
dd8c976eca2a510c995862cc5c871e81932f3ff4
[ "BSD-3-Clause" ]
1
2021-12-15T10:37:41.000Z
2021-12-15T10:48:24.000Z
bindings/python/test/test_distribution.py
deephyper/CCS
dd8c976eca2a510c995862cc5c871e81932f3ff4
[ "BSD-3-Clause" ]
2
2021-09-16T18:20:47.000Z
2021-12-07T17:54:11.000Z
import unittest import sys sys.path.insert(1, '.') sys.path.insert(1, '..') import cconfigspace as ccs class TestDistribution(unittest.TestCase): def test_from_handle_Roulette(self): d = ccs.RouletteDistribution(areas = [ 1.0, 2.0, 1.0, 0.5 ]) d2 = ccs.Object.from_handle(d.handle) self.assertEqual( d.__...
39.375
106
0.675214
1,163
8,190
4.621668
0.074807
0.234419
0.107163
0.08186
0.860837
0.804279
0.782326
0.769674
0.76
0.755163
0
0.027732
0.189866
8,190
207
107
39.565217
0.782366
0
0
0.631016
0
0
0.002198
0
0
0
0
0
0.57754
1
0.090909
false
0
0.016043
0
0.112299
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
fcd49273eb76c226b4e9fd1c6959d949e9c0dafa
491
py
Python
pypesq/metrics.py
quhonglin/objective_speech_metric
0e7cfc3e9695e4128e420b842a9e27b9d9bf9769
[ "MIT" ]
2
2021-01-14T08:26:47.000Z
2021-12-29T03:49:04.000Z
build/lib.linux-x86_64-3.7/pypesq/metrics.py
quhonglin/objective_speech_metric
0e7cfc3e9695e4128e420b842a9e27b9d9bf9769
[ "MIT" ]
null
null
null
build/lib.linux-x86_64-3.7/pypesq/metrics.py
quhonglin/objective_speech_metric
0e7cfc3e9695e4128e420b842a9e27b9d9bf9769
[ "MIT" ]
null
null
null
from pypesq import pesq from pystoi.stoi import stoi def compute_STOI(clean_signal, noisy_signal, sr=16000): """计算 STOI Args: clean_signal:纯净语音信号 noisy_signal:带噪语音信号 sr:采样率 """ return stoi(clean_signal, noisy_signal, sr, extended=False) def compute_PESQ(clean_signal, noisy_s...
19.64
63
0.657841
64
491
4.828125
0.34375
0.213592
0.20712
0.28479
0.711974
0.711974
0.317152
0.317152
0.317152
0.317152
0
0.027322
0.254582
491
24
64
20.458333
0.81694
0.299389
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
7
1e21980038a4d251c9b143762d207911d78349df
2,892
py
Python
user/tasks.py
kthaisociety/website
417ead4d074fc3791fb1453c47d9e6dac0a7a7cd
[ "MIT" ]
1
2020-03-19T09:44:16.000Z
2020-03-19T09:44:16.000Z
user/tasks.py
kthaisociety/website
417ead4d074fc3791fb1453c47d9e6dac0a7a7cd
[ "MIT" ]
43
2020-02-22T09:32:27.000Z
2022-03-22T11:24:51.000Z
user/tasks.py
kthaisociety/website
417ead4d074fc3791fb1453c47d9e6dac0a7a7cd
[ "MIT" ]
3
2020-03-06T13:27:12.000Z
2022-02-07T09:01:07.000Z
from uuid import UUID from celery import shared_task from django.template.loader import render_to_string from app.enums import MailTag from app.utils import get_notification_template, send_email, get_substitutions_templates from user.models import User # @shared_task def send_verify_email(user_id: UUID): contex...
32.494382
88
0.700899
364
2,892
5.354396
0.10989
0.084659
0.12981
0.148794
0.837352
0.837352
0.837352
0.837352
0.837352
0.837352
0
0
0.17047
2,892
88
89
32.863636
0.812422
0.02213
0
0.484848
0
0
0.083983
0
0
0
0
0
0
1
0.075758
false
0.075758
0.136364
0
0.212121
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
1eb214d464430d7a90373b27d57897f882f648e6
16,958
py
Python
microproxy/test/layer/test_http2.py
mike820324/microProxy
64c7c5add4759c6e105b9438cd18c0f8c930c7a3
[ "MIT" ]
20
2016-04-17T08:43:26.000Z
2021-05-31T04:01:27.000Z
microproxy/test/layer/test_http2.py
mike820324/microProxy
64c7c5add4759c6e105b9438cd18c0f8c930c7a3
[ "MIT" ]
237
2016-04-17T07:07:08.000Z
2017-01-26T09:15:52.000Z
microproxy/test/layer/test_http2.py
mike820324/microProxy
64c7c5add4759c6e105b9438cd18c0f8c930c7a3
[ "MIT" ]
5
2016-04-16T14:22:45.000Z
2019-11-27T04:41:55.000Z
import mock from tornado.testing import gen_test from tornado.gen import coroutine from microproxy.test.utils import ProxyAsyncTestCase from microproxy.context import LayerContext, ServerContext from microproxy.layer import Http2Layer from microproxy.protocol.http2 import Connection from microproxy.context import Htt...
36.312634
83
0.618882
1,938
16,958
5.124871
0.072755
0.063431
0.059203
0.042086
0.832863
0.810612
0.783226
0.767922
0.759062
0.75594
0
0.010837
0.270846
16,958
466
84
36.390558
0.792398
0.009317
0
0.718421
0
0
0.03227
0.00125
0
0
0
0
0.157895
0
null
null
0.002632
0.021053
null
null
0.002632
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
94bd01fd36f122218b5cefaa67d729a9b9e33ba3
13
py
Python
models/main/_core/_utils.py
ZAurele/alpha-py
b6330f1e714d07a2010ebe500d5ccdf4cc637998
[ "MIT" ]
null
null
null
models/main/_core/_utils.py
ZAurele/alpha-py
b6330f1e714d07a2010ebe500d5ccdf4cc637998
[ "MIT" ]
null
null
null
models/main/_core/_utils.py
ZAurele/alpha-py
b6330f1e714d07a2010ebe500d5ccdf4cc637998
[ "MIT" ]
null
null
null
import os
2.6
9
0.615385
2
13
4
1
0
0
0
0
0
0
0
0
0
0
0
0.384615
13
4
10
3.25
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
a2212b9dfcbcb3ff2230727277d00b9a49a8e6cb
1,697
py
Python
tests/functional/then/command_status.py
JrGoodle/clowder
864afacfc7122e937f7087e233c61d05fd007af2
[ "MIT" ]
12
2016-02-12T02:37:24.000Z
2021-01-04T05:14:12.000Z
tests/functional/then/command_status.py
JrGoodle/clowder
864afacfc7122e937f7087e233c61d05fd007af2
[ "MIT" ]
370
2015-07-06T22:59:08.000Z
2021-10-01T14:58:17.000Z
tests/functional/then/command_status.py
JrGoodle/clowder
864afacfc7122e937f7087e233c61d05fd007af2
[ "MIT" ]
3
2015-10-22T18:45:31.000Z
2018-10-16T15:30:30.000Z
"""New syntax test file""" from pathlib import Path from pytest_bdd import then, parsers from tests.functional.util import CommandResults, ScenarioInfo @then("the command succeeds") def then_command_succeeded(command_results: CommandResults, scenario_info: ScenarioInfo, tmp_path: Path) -> None: assert len(comm...
43.512821
114
0.771951
217
1,697
5.815668
0.239631
0.166403
0.18225
0.253566
0.717908
0.717908
0.717908
0.683835
0.638669
0.638669
0
0.006139
0.136123
1,697
38
115
44.657895
0.854707
0.011786
0
0.291667
0
0
0.070616
0
0
0
0
0
0.416667
1
0.208333
false
0
0.125
0
0.333333
0
0
0
0
null
0
1
1
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
7
bf67491ff6ae53f083f32bec90a4160a59b09a1d
2,337
py
Python
nexoclom/modelcode/tests/test_xyz_from_latlon.py
mburger-stsci/NExoCloM
c0c81eeb04c5571662f3d86337d84a18f1cd0dcf
[ "BSD-3-Clause" ]
null
null
null
nexoclom/modelcode/tests/test_xyz_from_latlon.py
mburger-stsci/NExoCloM
c0c81eeb04c5571662f3d86337d84a18f1cd0dcf
[ "BSD-3-Clause" ]
null
null
null
nexoclom/modelcode/tests/test_xyz_from_latlon.py
mburger-stsci/NExoCloM
c0c81eeb04c5571662f3d86337d84a18f1cd0dcf
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import pytest import astropy.units as u from nexoclom.modelcode.source_distribution import xyz_from_lonlat @pytest.mark.modelcode def test_xyz_from_latlon(): # Check points around the equator for planet lon = np.arange(0, 2*np.pi, np.pi/4)*u.rad lat = np.zeros_like(lon) exobase = 1....
33.385714
87
0.573813
443
2,337
2.948081
0.130926
0.147014
0.171516
0.196018
0.860643
0.860643
0.823124
0.814701
0.814701
0.814701
0
0.068057
0.220368
2,337
69
88
33.869565
0.648738
0.064613
0
0.76
0
0
0.003668
0
0
0
0
0
0.08
1
0.02
false
0
0.08
0
0.1
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
bf693688d06e868af035276f553593488ff16249
26,581
py
Python
tests/test_water_balancer.py
CIRAIG/bw2waterbalancer
aaeace9f71fe55cb17488d020467f471b32be3d8
[ "MIT" ]
1
2021-01-27T22:16:56.000Z
2021-01-27T22:16:56.000Z
tests/test_water_balancer.py
CIRAIG/bw2waterbalancer
aaeace9f71fe55cb17488d020467f471b32be3d8
[ "MIT" ]
null
null
null
tests/test_water_balancer.py
CIRAIG/bw2waterbalancer
aaeace9f71fe55cb17488d020467f471b32be3d8
[ "MIT" ]
null
null
null
import pytest import numpy as np from bw2waterbalancer.database_water_balancer import DatabaseWaterBalancer from bw2waterbalancer.activity_water_balancer import ActivityWaterBalancer from brightway2 import get_activity def helper_get_matrix_data_sums_for_test(ab, matrix_data): """Helper function to return inputs a...
45.205782
121
0.700651
3,934
26,581
4.44789
0.055669
0.080009
0.064922
0.051492
0.871414
0.827123
0.812264
0.77106
0.764945
0.740256
0
0.024785
0.163651
26,581
587
122
45.282794
0.762314
0.016215
0
0.646123
0
0
0.124602
0.000805
0
0
0
0
0.463221
1
0.06163
false
0
0.013917
0
0.077535
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
bfbafc827450ece4a4d49588aad98ff5916d0ea6
23,076
py
Python
web-component/python/admin_api/api/client_api.py
AbhiGupta03/SDK
f3a61aae7a847f07f0c22a154ca88dc378e9d25e
[ "Apache-2.0" ]
null
null
null
web-component/python/admin_api/api/client_api.py
AbhiGupta03/SDK
f3a61aae7a847f07f0c22a154ca88dc378e9d25e
[ "Apache-2.0" ]
null
null
null
web-component/python/admin_api/api/client_api.py
AbhiGupta03/SDK
f3a61aae7a847f07f0c22a154ca88dc378e9d25e
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Hydrogen Admin API The Hydrogen Admin API # noqa: E501 OpenAPI spec version: 1.0.2 Contact: info@hydrogenplatform.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python ...
46.902439
203
0.644219
2,660
23,076
5.310902
0.071053
0.038508
0.030367
0.028881
0.937708
0.923975
0.910243
0.89736
0.891555
0.881716
0
0.013031
0.265081
23,076
491
204
46.997963
0.819978
0.252687
0
0.763066
1
0
0.167607
0.036135
0
0
0
0
0
1
0.031359
false
0.027875
0.017422
0
0.094077
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
7814c2721e86d6ece8d3cdba3adc643b650d8fd9
24,622
py
Python
example_ast.py
gaming32/PyASM
902bdd6823b32cff10c3ece6c0d0764ac32c7200
[ "MIT" ]
null
null
null
example_ast.py
gaming32/PyASM
902bdd6823b32cff10c3ece6c0d0764ac32c7200
[ "MIT" ]
null
null
null
example_ast.py
gaming32/PyASM
902bdd6823b32cff10c3ece6c0d0764ac32c7200
[ "MIT" ]
null
null
null
from ast import * Module( body=[ ImportFrom( module='pyasm.stubs', names=[ alias(name='*')], level=0, lineno=1, col_offset=0, end_lineno=1, end_col_offset=25), FunctionDef( name='mult', ...
37.025564
58
0.270733
1,597
24,622
3.911083
0.065748
0.270893
0.180596
0.108229
0.87496
0.817163
0.62536
0.572687
0.559558
0.535863
0
0.078321
0.660344
24,622
665
59
37.025564
0.66854
0
0
0.906627
0
0
0.01661
0
0
0
0
0
0
1
0
true
0
0.003012
0
0.003012
0
0
0
0
null
1
1
0
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
78182f00d0eb73188a33854a68e80df5263ecd55
5,808
py
Python
problems/013/run.py
birdchan/project_euler
ec36d3a9e47cbca8c84bdbf41bd93cd49d320364
[ "MIT" ]
null
null
null
problems/013/run.py
birdchan/project_euler
ec36d3a9e47cbca8c84bdbf41bd93cd49d320364
[ "MIT" ]
null
null
null
problems/013/run.py
birdchan/project_euler
ec36d3a9e47cbca8c84bdbf41bd93cd49d320364
[ "MIT" ]
null
null
null
import math import string s = """ 37107287533902102798797998220837590246510135740250 46376937677490009712648124896970078050417018260538 74324986199524741059474233309513058123726617309629 91942213363574161572522430563301811072406154908250 23067588207539346171171980310421047513778063246676 89261670696623633820136378418...
43.669173
63
0.944043
214
5,808
25.457944
0.658879
0.012849
0.004405
0.004772
0.021292
0.021292
0.012849
0.012849
0.012849
0
0
0.899569
0.041667
5,808
132
64
44
0.079231
0.012569
0
0
0
0
0.891972
0.8726
0
1
0
0
0
0
null
null
0
0.016
null
null
0.008
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
1
0
0
0
1
0
0
0
0
0
0
0
0
7
78d4ef9106901c0d8826b173fe41bdac5257cdb4
20,953
py
Python
tests/probability2/empirical_distributions/empirical_distribution_marginal_test.py
rpazuki/algos
bca46326f58eb983db6efe55320bf95fcf2b895f
[ "MIT" ]
null
null
null
tests/probability2/empirical_distributions/empirical_distribution_marginal_test.py
rpazuki/algos
bca46326f58eb983db6efe55320bf95fcf2b895f
[ "MIT" ]
1
2020-08-12T06:56:59.000Z
2020-08-12T08:57:30.000Z
tests/probability2/empirical_distributions/empirical_distribution_marginal_test.py
chasing-entropy/algos
bca46326f58eb983db6efe55320bf95fcf2b895f
[ "MIT" ]
null
null
null
import pytest from probability2.empirical_distributions import DiscreteDistribution from tests.helpers import compare def test_marginals_names_exception_discrete_distribution(): # Wrong rv name with pytest.raises(ValueError): samples = {"a": 3, "b": 4, "c": 5} disc_dist = DiscreteDistribution(...
36.954145
88
0.528325
2,931
20,953
3.617537
0.035142
0.205414
0.230595
0.176554
0.938319
0.890786
0.826747
0.805149
0.788456
0.758087
0
0.090117
0.254856
20,953
566
89
37.019435
0.588996
0.016227
0
0.73374
0
0
0.041572
0
0
0
0
0
0.47561
1
0.010163
false
0
0.006098
0
0.01626
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
11
152cafd0fbf842c60de8cb6234f2ad215be7a899
60,442
py
Python
optimization/first_sdEta_mjj_optimization/tight_analysis_sdeta_3.6_mjj_1250/Output/Histos/MadAnalysis5job_0/selection_11.py
sheride/axion_pheno
7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5
[ "MIT" ]
null
null
null
optimization/first_sdEta_mjj_optimization/tight_analysis_sdeta_3.6_mjj_1250/Output/Histos/MadAnalysis5job_0/selection_11.py
sheride/axion_pheno
7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5
[ "MIT" ]
null
null
null
optimization/first_sdEta_mjj_optimization/tight_analysis_sdeta_3.6_mjj_1250/Output/Histos/MadAnalysis5job_0/selection_11.py
sheride/axion_pheno
7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5
[ "MIT" ]
null
null
null
def selection_11(): # Library import import numpy import matplotlib import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec # Library version matplotlib_version = matplotlib.__version__ numpy_version = numpy.__version__ # Histo binning xBinning = numpy.li...
311.556701
5,900
0.708382
16,292
60,442
2.58317
0.124785
0.486254
0.713413
0.931828
0.429298
0.405869
0.402471
0.389664
0.385601
0.3789
0
0.604692
0.027382
60,442
193
5,901
313.170984
0.111198
0.021789
0
0.185841
0
0.00885
0.017634
0.003436
0
0
0
0
0
1
0.00885
false
0
0.035398
0
0.044248
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
152f485e0eedabd378638dd3a044abf4f4b5bbbf
1,034
py
Python
week3/module2/module3_21_test.py
ivaninkv/python_basics
84bbdf4d0667ca2416e3594538e7ec48f0b88f47
[ "MIT" ]
null
null
null
week3/module2/module3_21_test.py
ivaninkv/python_basics
84bbdf4d0667ca2416e3594538e7ec48f0b88f47
[ "MIT" ]
1
2021-12-13T20:46:59.000Z
2021-12-13T20:46:59.000Z
week3/module2/module3_21_test.py
ivaninkv/python_basics
84bbdf4d0667ca2416e3594538e7ec48f0b88f47
[ "MIT" ]
1
2020-08-06T21:17:34.000Z
2020-08-06T21:17:34.000Z
import module3_21 as tm from io import StringIO def test_input_data(monkeypatch): inp = StringIO('''ababa\na\nb''') monkeypatch.setattr('sys.stdin', inp) assert tm.input_data() == ['ababa', 'a', 'b'] inp = StringIO('''ababa\nb\na''') monkeypatch.setattr('sys.stdin', inp) assert tm.input_data(...
26.512821
49
0.613153
137
1,034
4.49635
0.255474
0.077922
0.204545
0.253247
0.788961
0.788961
0.788961
0.788961
0.788961
0.788961
0
0.00722
0.196325
1,034
38
50
27.210526
0.734055
0
0
0.666667
0
0
0.15087
0
0
0
0
0
0.2
1
0.066667
false
0
0.066667
0
0.133333
0
0
0
0
null
0
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
15343930ad58b788efdc30330c2d49b06ac1ef86
151
py
Python
estore/admin.py
sidmanu/EGBangalore
cd4ad1fe65202f701df4d44b40fb9da0867dd947
[ "Apache-2.0" ]
null
null
null
estore/admin.py
sidmanu/EGBangalore
cd4ad1fe65202f701df4d44b40fb9da0867dd947
[ "Apache-2.0" ]
null
null
null
estore/admin.py
sidmanu/EGBangalore
cd4ad1fe65202f701df4d44b40fb9da0867dd947
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from estore.models import Book from estore.models import Event admin.site.register(Book) admin.site.register(Event)
21.571429
32
0.821192
23
151
5.391304
0.478261
0.16129
0.258065
0.354839
0
0
0
0
0
0
0
0
0.10596
151
6
33
25.166667
0.918519
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
153db456e4d376de3a9c2e4d9b593ace7f42ace2
15,815
py
Python
rlkit/rlkit/data_management/simple_replay_buffer.py
hbutsuak95/iv_rl
0f72a8f077a238237027ea96b7d1160c35ac9959
[ "MIT" ]
9
2022-01-16T11:27:00.000Z
2022-03-13T14:04:48.000Z
rlkit/rlkit/data_management/simple_replay_buffer.py
hbutsuak95/iv_rl
0f72a8f077a238237027ea96b7d1160c35ac9959
[ "MIT" ]
null
null
null
rlkit/rlkit/data_management/simple_replay_buffer.py
hbutsuak95/iv_rl
0f72a8f077a238237027ea96b7d1160c35ac9959
[ "MIT" ]
null
null
null
from collections import OrderedDict import numpy as np import warnings from rlkit.data_management.replay_buffer import ReplayBuffer, EnsembleReplayBuffer class SimpleReplayBuffer(ReplayBuffer): def __init__( self, max_replay_buffer_size, observation_dim, action_dim, env_...
35.619369
143
0.618021
2,023
15,815
4.504202
0.07909
0.039947
0.074078
0.093832
0.865233
0.865233
0.856673
0.856673
0.856673
0.856673
0
0.006504
0.290294
15,815
443
144
35.699774
0.805328
0.103383
0
0.769231
0
0.002959
0.013009
0
0
0
0
0
0.011834
1
0.112426
false
0.011834
0.011834
0.047337
0.195266
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
15406178d46744549f59cba151a30a0eb22f6ca4
125
py
Python
agent/__init__.py
bibofeng/DeepRL-1
7b14d9720a8ea1e08b05a2889d699a70174caf8f
[ "Apache-2.0" ]
null
null
null
agent/__init__.py
bibofeng/DeepRL-1
7b14d9720a8ea1e08b05a2889d699a70174caf8f
[ "Apache-2.0" ]
null
null
null
agent/__init__.py
bibofeng/DeepRL-1
7b14d9720a8ea1e08b05a2889d699a70174caf8f
[ "Apache-2.0" ]
1
2021-08-11T19:37:04.000Z
2021-08-11T19:37:04.000Z
from async_agent import * from DDPG_agent import * from DQN_agent import * from A2C_agent import * from MSDQN_agent import *
20.833333
25
0.8
20
125
4.75
0.4
0.578947
0.631579
0
0
0
0
0
0
0
0
0.009524
0.16
125
5
26
25
0.895238
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
156133c4065bfdfe785ef2f084217767b0504e85
3,755
py
Python
test_app/tests/test_lare_ready_lare_always.py
iekadou/lare.js
9f01fcb585d3532d4ab6d169978d3abde1f5796a
[ "MIT" ]
null
null
null
test_app/tests/test_lare_ready_lare_always.py
iekadou/lare.js
9f01fcb585d3532d4ab6d169978d3abde1f5796a
[ "MIT" ]
1
2016-05-20T08:31:09.000Z
2016-05-20T08:31:09.000Z
test_app/tests/test_lare_ready_lare_always.py
lare-team/lare.js
9f01fcb585d3532d4ab6d169978d3abde1f5796a
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from .helpers import SeleniumTestCase class LareReadyLareAlwaysTest(SeleniumTestCase): def test_lare_ready_lare_always(self): self.browser_get_reverse('index') self.assertEqual(len(self.browser.find_elements_by_class_name('lare-always-div')), 0) s...
55.220588
111
0.729161
544
3,755
4.735294
0.091912
0.132376
0.199146
0.220109
0.884705
0.861025
0.861025
0.861025
0.830745
0.830745
0
0.008285
0.132091
3,755
67
112
56.044776
0.782142
0
0
0.521739
0
0
0.149134
0.013316
0
0
0
0
0.23913
1
0.043478
false
0
0.043478
0
0.108696
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
158dbf7d89fddb2d90df81b929d09a9b03b2431d
107
py
Python
mmdet3d/core/evaluation/neolix_utils/__init__.py
neolixcn/mmdetection3d
45b5b8c2b2cc35762f27b020b34d2c3ee6be97af
[ "Apache-2.0" ]
null
null
null
mmdet3d/core/evaluation/neolix_utils/__init__.py
neolixcn/mmdetection3d
45b5b8c2b2cc35762f27b020b34d2c3ee6be97af
[ "Apache-2.0" ]
null
null
null
mmdet3d/core/evaluation/neolix_utils/__init__.py
neolixcn/mmdetection3d
45b5b8c2b2cc35762f27b020b34d2c3ee6be97af
[ "Apache-2.0" ]
null
null
null
from .eval import neolix_eval, neolix_eval_coco_style __all__ = ['neolix_eval', 'neolix_eval_coco_style']
26.75
53
0.813084
16
107
4.6875
0.4375
0.533333
0.426667
0.533333
0.773333
0.773333
0
0
0
0
0
0
0.093458
107
3
54
35.666667
0.773196
0
0
0
0
0
0.308411
0.205607
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
7
1593284dd4bd01a8162e42427201e0eb55fb3da0
38
py
Python
src/lib/curses/__init__.py
DTenore/skulpt
098d20acfb088d6db85535132c324b7ac2f2d212
[ "MIT" ]
2,671
2015-01-03T08:23:25.000Z
2022-03-31T06:15:48.000Z
src/lib/curses/__init__.py
wakeupmuyunhe/skulpt
a8fb11a80fb6d7c016bab5dfe3712517a350b347
[ "MIT" ]
972
2015-01-05T08:11:00.000Z
2022-03-29T13:47:15.000Z
src/lib/curses/__init__.py
wakeupmuyunhe/skulpt
a8fb11a80fb6d7c016bab5dfe3712517a350b347
[ "MIT" ]
845
2015-01-03T19:53:36.000Z
2022-03-29T18:34:22.000Z
import _sk_fail; _sk_fail._("curses")
19
37
0.763158
6
38
4
0.666667
0.5
0
0
0
0
0
0
0
0
0
0
0.078947
38
1
38
38
0.685714
0
0
0
0
0
0.157895
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
ec6dff0a2b9864b56ce0dfe11c13fba53d0f9a3d
5,323
py
Python
test/PR_test/unit_test/op/numpyop/meta/test_repeat.py
DwijayDS/fastestimator
9b288cb2bd870f971ec4cee09d0b3205e1316a94
[ "Apache-2.0" ]
57
2019-05-21T21:29:26.000Z
2022-02-23T05:55:21.000Z
test/PR_test/unit_test/op/numpyop/meta/test_repeat.py
vbvg2008/fastestimator
6061a4fbbeb62a2194ef82ba8017f651710d0c65
[ "Apache-2.0" ]
93
2019-05-23T18:36:07.000Z
2022-03-23T17:15:55.000Z
test/PR_test/unit_test/op/numpyop/meta/test_repeat.py
vbvg2008/fastestimator
6061a4fbbeb62a2194ef82ba8017f651710d0c65
[ "Apache-2.0" ]
47
2019-05-09T15:41:37.000Z
2022-03-26T17:00:08.000Z
# Copyright 2020 The FastEstimator Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
49.287037
99
0.610558
703
5,323
4.544808
0.165007
0.075117
0.140845
0.187793
0.792488
0.792488
0.792488
0.792488
0.792488
0.792488
0
0.012394
0.22694
5,323
107
100
49.747664
0.764034
0.124554
0
0.776471
0
0
0.136921
0
0
0
0
0
0.352941
1
0.058824
false
0
0.047059
0
0.117647
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ecee42746fc29e4c08c69d77ee030cce970feb22
218
py
Python
api/src/wt/fields/links/__init__.py
sedlar/work-tracking
78917ff8200829eb674142ce43b503d8e892d7eb
[ "BSD-2-Clause" ]
null
null
null
api/src/wt/fields/links/__init__.py
sedlar/work-tracking
78917ff8200829eb674142ce43b503d8e892d7eb
[ "BSD-2-Clause" ]
null
null
null
api/src/wt/fields/links/__init__.py
sedlar/work-tracking
78917ff8200829eb674142ce43b503d8e892d7eb
[ "BSD-2-Clause" ]
null
null
null
from wt.fields.links._obj import Link from wt.fields.links._model import LinksModel from wt.fields.links._error import DuplicateLinkReceived from wt.fields.links._serialization import LinkSerializer, LinksDeserializer
43.6
76
0.862385
29
218
6.344828
0.482759
0.130435
0.26087
0.369565
0
0
0
0
0
0
0
0
0.077982
218
4
77
54.5
0.915423
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
ecf1a2d0044f3cb5964a35957f406db0f198fc7c
186
py
Python
hknweb/polls/admin.py
devanshanker/hknweb
ab0941e9b56cf9a2bc6b733169f90bcf8d6ac1e8
[ "MIT" ]
null
null
null
hknweb/polls/admin.py
devanshanker/hknweb
ab0941e9b56cf9a2bc6b733169f90bcf8d6ac1e8
[ "MIT" ]
null
null
null
hknweb/polls/admin.py
devanshanker/hknweb
ab0941e9b56cf9a2bc6b733169f90bcf8d6ac1e8
[ "MIT" ]
null
null
null
from django.contrib import admin # Register your models here. from django.contrib import admin from .models import Question # Registering Question model. admin.site.register(Question)
20.666667
32
0.811828
25
186
6.04
0.52
0.13245
0.225166
0.304636
0.370861
0
0
0
0
0
0
0
0.129032
186
8
33
23.25
0.932099
0.290323
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
01c266c532bf69eafce2a9a5512ecb535dbe06b7
15,356
py
Python
lib/Web/Harvester.py
prosecurity/AndTroj
cf14625651f022b3c13a2d149281c65446f3e8b9
[ "MIT" ]
1
2019-12-27T18:24:39.000Z
2019-12-27T18:24:39.000Z
lib/Web/Harvester.py
prosecurity/AndTroj
cf14625651f022b3c13a2d149281c65446f3e8b9
[ "MIT" ]
null
null
null
lib/Web/Harvester.py
prosecurity/AndTroj
cf14625651f022b3c13a2d149281c65446f3e8b9
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 # https://t.me/unk9vvn # AVI from core.menu import * LAN = ([l for l in ([ip for ip in socket.gethostbyname_ex(socket.gethostname())[2] if not ip.startswith("127.")][:1], [[(s.connect(('8.8.8.8', 53)), s.getsockname()[0], s.clos...
51.703704
620
0.476752
1,718
15,356
4.079744
0.165891
0.109859
0.06135
0.095163
0.866029
0.861749
0.859181
0.850335
0.826223
0.810957
0
0.023128
0.324238
15,356
296
621
51.878378
0.652308
0.003777
0
0.809859
0
0.130282
0.414607
0.109062
0
0
0
0
0
0
null
null
0.017606
0.003521
null
null
0.035211
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
01c80ff3b27324ae2d9989ff85a6ad02be31a64f
1,392
py
Python
src/config.py
indymnv/Anime-Recommender-System
a2f1faa87571bde70396617ae15e161702eff7d6
[ "MIT" ]
null
null
null
src/config.py
indymnv/Anime-Recommender-System
a2f1faa87571bde70396617ae15e161702eff7d6
[ "MIT" ]
null
null
null
src/config.py
indymnv/Anime-Recommender-System
a2f1faa87571bde70396617ae15e161702eff7d6
[ "MIT" ]
null
null
null
TRAINING_FILE = "../data/train_folds5.csv" MODEL_OUTPUT = "../models/" LABEL="rating_y" BEST_FEATURES = ['rating_x', 'user_id', 'members', 'episodes', 'Action', 'Drama', 'Fantasy', 'Hentai', 'Romance', 'Adventure', 'Comedy', 'School', 'Shounen', 'Supernatural', 'Kids', 'Mecha', 'Sci-Fi', 'Slic...
12.210526
43
0.593391
137
1,392
5.868613
0.518248
0.027363
0.044776
0.059701
0.843284
0.843284
0.843284
0.843284
0.843284
0.843284
0
0.001727
0.168103
1,392
114
44
12.210526
0.692573
0
0
0.87037
0
0
0.596875
0.01875
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
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
01ce6ba07b1e509d667f241ba24784761d934f18
166
py
Python
pygasus/__init__.py
vincent-lg/pygasus
06eaa338c2600316e7e5426ba6132f148282d94b
[ "BSD-3-Clause" ]
null
null
null
pygasus/__init__.py
vincent-lg/pygasus
06eaa338c2600316e7e5426ba6132f148282d94b
[ "BSD-3-Clause" ]
null
null
null
pygasus/__init__.py
vincent-lg/pygasus
06eaa338c2600316e7e5426ba6132f148282d94b
[ "BSD-3-Clause" ]
null
null
null
from pygasus.schema.database import Database from pygasus.schema.field import Field from pygasus.schema.mapper import IDMapper from pygasus.schema.model import Model
33.2
44
0.855422
24
166
5.916667
0.375
0.309859
0.478873
0
0
0
0
0
0
0
0
0
0.096386
166
4
45
41.5
0.946667
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
01cee0815835dca87683ad3598bacef73f914cc3
5,653
py
Python
models/WaDIQaM.py
guanghaoyin/CVRKD-IQA
b596a53c064d5472feb63fc61abe0b100e40606f
[ "MIT" ]
25
2021-12-09T10:01:16.000Z
2022-03-25T03:10:27.000Z
models/WaDIQaM.py
guanghaoyin/CVRKD-IQA
b596a53c064d5472feb63fc61abe0b100e40606f
[ "MIT" ]
1
2022-03-07T08:33:20.000Z
2022-03-08T08:44:38.000Z
models/WaDIQaM.py
guanghaoyin/CVRKD-IQA
b596a53c064d5472feb63fc61abe0b100e40606f
[ "MIT" ]
5
2022-03-02T08:12:29.000Z
2022-03-17T05:22:19.000Z
import torch import torch.nn.functional as F import torch.nn as nn class WaDIQaM_FR(nn.Module): """ (Wa)DIQaM-FR Model """ def __init__(self, weighted_average=True): """ :param weighted_average: weighted average or not? """ super(WaDIQaM_FR, self).__init__() self...
30.89071
72
0.520078
837
5,653
3.403823
0.114695
0.022464
0.082134
0.07722
0.909793
0.904177
0.867322
0.83854
0.83854
0.774307
0
0.084292
0.338935
5,653
182
73
31.06044
0.678084
0.098886
0
0.77686
0
0
0
0
0
0
0
0
0
1
0.049587
false
0
0.024793
0
0.123967
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
01d710970f448564559d4874b3942bb4dea5ade0
95
py
Python
gym-game2048/gym_game2048/envs/__init__.py
gingkg/paly_2048_gym_by_RL
3e5043169e637818ecae8f83688ffe52897e860f
[ "Apache-2.0" ]
1
2020-07-25T11:53:12.000Z
2020-07-25T11:53:12.000Z
gym-game2048/gym_game2048/envs/__init__.py
gingkg/paly_2048_gym_by_RL
3e5043169e637818ecae8f83688ffe52897e860f
[ "Apache-2.0" ]
null
null
null
gym-game2048/gym_game2048/envs/__init__.py
gingkg/paly_2048_gym_by_RL
3e5043169e637818ecae8f83688ffe52897e860f
[ "Apache-2.0" ]
1
2021-11-30T13:12:41.000Z
2021-11-30T13:12:41.000Z
from gym_game2048.envs.env import Game2048Env from gym_game2048.envs.game_2048 import Game2048
31.666667
48
0.873684
15
95
5.333333
0.6
0.175
0.375
0.475
0
0
0
0
0
0
0
0.229885
0.084211
95
2
49
47.5
0.689655
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
1
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
01e989d4d045cb9acc1318c9aa098d0517bb8631
4,010
py
Python
GRFFE/tests/trusted_values_dict.py
kazewong/nrpytutorial
cc511325f37f01284b2b83584beb2a452556b3fb
[ "BSD-2-Clause" ]
null
null
null
GRFFE/tests/trusted_values_dict.py
kazewong/nrpytutorial
cc511325f37f01284b2b83584beb2a452556b3fb
[ "BSD-2-Clause" ]
null
null
null
GRFFE/tests/trusted_values_dict.py
kazewong/nrpytutorial
cc511325f37f01284b2b83584beb2a452556b3fb
[ "BSD-2-Clause" ]
null
null
null
from mpmath import mpf, mp, mpc from UnitTesting.standard_constants import precision mp.dps = precision trusted_values_dict = {} # Generated on: 2019-11-04 trusted_values_dict['GRFFE__generate_everything_for_UnitTesting__globals'] = {'B_notildeU[0]': mpc(real='0.0', imag='-0.742452019604170732058889825566439'), 'B_no...
445.555556
3,851
0.740399
468
4,010
6.247863
0.290598
0.0171
0.060192
0.067715
0.135431
0.101573
0
0
0
0
0
0.519201
0.038903
4,010
8
3,852
501.25
0.239491
0.005985
0
0
1
0
0.703313
0.512801
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
1
0
1
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
9
1732d27eb6ecf1377553e73fc5c98e6297c8f2ef
35
py
Python
dga/__init__.py
hamzakhanvit/dga
fa1f2888a5491559db4c7a248eab81307d9b28bc
[ "MIT" ]
null
null
null
dga/__init__.py
hamzakhanvit/dga
fa1f2888a5491559db4c7a248eab81307d9b28bc
[ "MIT" ]
null
null
null
dga/__init__.py
hamzakhanvit/dga
fa1f2888a5491559db4c7a248eab81307d9b28bc
[ "MIT" ]
null
null
null
from .gfa_parser import gfa_parser
17.5
34
0.857143
6
35
4.666667
0.666667
0.642857
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.903226
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
1753df46ca61f70800840b234f59bc12f68a5c14
32
py
Python
function_21210112.py
hapfooo1/Study-8
8760116d24d58e2ebeff4b0d739227599828f672
[ "MIT" ]
null
null
null
function_21210112.py
hapfooo1/Study-8
8760116d24d58e2ebeff4b0d739227599828f672
[ "MIT" ]
null
null
null
function_21210112.py
hapfooo1/Study-8
8760116d24d58e2ebeff4b0d739227599828f672
[ "MIT" ]
null
null
null
print('My student_id: 21210112')
32
32
0.78125
5
32
4.8
1
0
0
0
0
0
0
0
0
0
0
0.266667
0.0625
32
1
32
32
0.533333
0
0
0
0
0
0.69697
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
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7