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
0a1eaf6b7e32695b5e6a96b0eee80707d820de35
9,462
py
Python
colab_logica.py
smdesai/logica
ad099bcd6064e38e9c2bc9a99564832857c0768c
[ "Apache-2.0" ]
null
null
null
colab_logica.py
smdesai/logica
ad099bcd6064e38e9c2bc9a99564832857c0768c
[ "Apache-2.0" ]
null
null
null
colab_logica.py
smdesai/logica
ad099bcd6064e38e9c2bc9a99564832857c0768c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
28.672727
92
0.686007
1,208
9,462
5.25745
0.25745
0.010077
0.011337
0.01606
0.282475
0.240277
0.20296
0.181074
0.160605
0.160605
0
0.005134
0.217713
9,462
329
93
28.759878
0.852878
0.106743
0
0.288538
0
0.003953
0.260518
0.02995
0
0
0
0.00304
0
1
0.083004
false
0.027668
0.106719
0.011858
0.280632
0.071146
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a1ed95ecf3a94b0314f7b8f523edacf4c486e8a
275
py
Python
pyccel/ast/basic.py
toddrme2178/pyccel
deec37503ab0c5d0bcca1a035f7909f7ce8ef653
[ "MIT" ]
null
null
null
pyccel/ast/basic.py
toddrme2178/pyccel
deec37503ab0c5d0bcca1a035f7909f7ce8ef653
[ "MIT" ]
null
null
null
pyccel/ast/basic.py
toddrme2178/pyccel
deec37503ab0c5d0bcca1a035f7909f7ce8ef653
[ "MIT" ]
null
null
null
from sympy.core.basic import Basic as sp_Basic class Basic(sp_Basic): """Basic class for Pyccel AST.""" _fst = None def set_fst(self, fst): """Sets the redbaron fst.""" self._fst = fst @property def fst(self): return self._fst
18.333333
46
0.6
39
275
4.076923
0.538462
0.132075
0.125786
0
0
0
0
0
0
0
0
0
0.287273
275
14
47
19.642857
0.811224
0.181818
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0a20c183c03d4133fca24e84a8755331075102c6
1,195
py
Python
alibi_detect/utils/tests/test_discretize.py
Clusks/alibi-detect
b39406a6cf88f315f401562d4fea93a42aa6dcc1
[ "ECL-2.0", "Apache-2.0", "CC0-1.0" ]
1,227
2019-11-19T15:38:40.000Z
2022-03-31T11:18:32.000Z
alibi_detect/utils/tests/test_discretize.py
Clusks/alibi-detect
b39406a6cf88f315f401562d4fea93a42aa6dcc1
[ "ECL-2.0", "Apache-2.0", "CC0-1.0" ]
323
2019-11-21T18:41:00.000Z
2022-03-31T21:08:56.000Z
alibi_detect/utils/tests/test_discretize.py
Clusks/alibi-detect
b39406a6cf88f315f401562d4fea93a42aa6dcc1
[ "ECL-2.0", "Apache-2.0", "CC0-1.0" ]
133
2019-11-19T14:23:23.000Z
2022-03-31T07:55:43.000Z
from itertools import product import numpy as np import pytest from alibi_detect.utils.discretizer import Discretizer x = np.random.rand(10, 4) n_features = x.shape[1] feature_names = [str(_) for _ in range(n_features)] categorical_features = [[], [1, 3]] percentiles = [list(np.arange(25, 100, 25)), list(np.arange(10...
31.447368
85
0.663598
181
1,195
4.232044
0.370166
0.036554
0.093995
0.031332
0
0
0
0
0
0
0
0.024565
0.182427
1,195
37
86
32.297297
0.759468
0
0
0
0
0
0.016736
0
0
0
0
0
0.2
1
0.066667
false
0
0.133333
0
0.233333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a21ba878c2e6396a56688811ff51897970088c4
3,361
py
Python
tinc/tests/parameter_space_test.py
AlloSphere-Research-Group/tinc-python
4c3390df9911a391833244de1eb1d33a2e19d330
[ "BSD-3-Clause" ]
1
2020-11-23T22:42:50.000Z
2020-11-23T22:42:50.000Z
tinc/tests/parameter_space_test.py
AlloSphere-Research-Group/tinc-python
4c3390df9911a391833244de1eb1d33a2e19d330
[ "BSD-3-Clause" ]
null
null
null
tinc/tests/parameter_space_test.py
AlloSphere-Research-Group/tinc-python
4c3390df9911a391833244de1eb1d33a2e19d330
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Jun 14 11:49:43 2021 @author: Andres """ import sys,time import unittest from tinc import * class ParameterSpaceTest(unittest.TestCase): def test_parameter(self): p1 = Parameter("param1") p2 = Parameter("param2") ps = ParameterSpace("ps") ...
28.974138
86
0.555489
476
3,361
3.754202
0.17437
0.021265
0.011752
0.067152
0.730274
0.702854
0.660325
0.620593
0.536094
0.476217
0
0.105818
0.294258
3,361
115
87
29.226087
0.647555
0.039274
0
0.607595
0
0
0.063354
0.008696
0
0
0
0.008696
0.101266
1
0.088608
false
0
0.037975
0.025316
0.164557
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a247bd11d82f9ea0cd74cd38836b820c3903839
5,048
py
Python
interpretable_ddts/runfiles/gym_runner.py
CORE-Robotics-Lab/Interpretable_DDTS_AISTATS2020
a7fde4d2a7d70477b2e6c96b140f8c6587f78791
[ "MIT" ]
5
2021-08-11T14:58:36.000Z
2022-02-12T06:12:19.000Z
interpretable_ddts/runfiles/gym_runner.py
CORE-Robotics-Lab/Interpretable_DDTS_AISTATS2020
a7fde4d2a7d70477b2e6c96b140f8c6587f78791
[ "MIT" ]
null
null
null
interpretable_ddts/runfiles/gym_runner.py
CORE-Robotics-Lab/Interpretable_DDTS_AISTATS2020
a7fde4d2a7d70477b2e6c96b140f8c6587f78791
[ "MIT" ]
4
2020-10-21T03:57:52.000Z
2021-06-28T08:08:05.000Z
# Created by Andrew Silva on 8/28/19 import gym import numpy as np import torch from interpretable_ddts.agents.ddt_agent import DDTAgent from interpretable_ddts.agents.mlp_agent import MLPAgent from interpretable_ddts.opt_helpers.replay_buffer import discount_reward import torch.multiprocessing as mp import argparse im...
40.709677
112
0.621434
642
5,048
4.641745
0.280374
0.040268
0.051342
0.035235
0.215772
0.113423
0.095302
0.039597
0.039597
0.039597
0
0.012028
0.275357
5,048
123
113
41.04065
0.802624
0.059826
0
0.141509
0
0
0.113411
0
0
0
0
0
0
1
0.018868
false
0
0.09434
0
0.141509
0.028302
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a263ee52f1bcf865cb343ad7cbe07411cfb3a5e
1,534
py
Python
Week 08/tw10_words_by_prefix.py
andrewn488/OMSBA-5061
8e57fff45d8965b0423a6fe338bd74cedfe94ea0
[ "MIT" ]
null
null
null
Week 08/tw10_words_by_prefix.py
andrewn488/OMSBA-5061
8e57fff45d8965b0423a6fe338bd74cedfe94ea0
[ "MIT" ]
null
null
null
Week 08/tw10_words_by_prefix.py
andrewn488/OMSBA-5061
8e57fff45d8965b0423a6fe338bd74cedfe94ea0
[ "MIT" ]
1
2022-02-07T02:42:43.000Z
2022-02-07T02:42:43.000Z
""" TW10: Words by Prefix Team: Tam Tamura, Andrew Nalundasan For: OMSBA 2061, Seattle University Date: 11/3/2020 """ def wordByPrefix(prefix_length, word): my_dict = {} for key in word: for letter in word: prefix_key = letter[:prefix_length] letter = word[:prefix_len...
24.741935
82
0.544329
181
1,534
4.464088
0.265193
0.089109
0.079208
0.089109
0.5
0.472772
0.431931
0.431931
0.431931
0.431931
0
0.021341
0.35854
1,534
61
83
25.147541
0.799797
0.083442
0
0.636364
0
0
0.02994
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.204545
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a26a5869fd7404e249d795b4a225c3eca2ac49a
2,683
py
Python
openff/bespokefit/executor/services/qcgenerator/cache.py
openforcefield/bespoke-f
27b072bd09610dc8209429118d739e1f453edd61
[ "MIT" ]
12
2020-08-28T20:49:00.000Z
2021-11-17T08:50:32.000Z
openff/bespokefit/executor/services/qcgenerator/cache.py
openforcefield/bespoke-f
27b072bd09610dc8209429118d739e1f453edd61
[ "MIT" ]
95
2020-02-19T18:40:54.000Z
2021-12-02T10:52:23.000Z
openff/bespokefit/executor/services/qcgenerator/cache.py
openforcefield/openff-bespokefit
85c92a51055a5a82e5d50fee1668a7de4ce2b1d4
[ "MIT" ]
3
2021-04-01T04:22:49.000Z
2021-04-13T03:19:10.000Z
import hashlib from typing import TypeVar, Union import redis from openff.toolkit.topology import Molecule from openff.bespokefit.executor.services.qcgenerator import worker from openff.bespokefit.schema.tasks import HessianTask, OptimizationTask, Torsion1DTask from openff.bespokefit.utilities.molecule import canonic...
31.197674
87
0.706299
336
2,683
5.449405
0.369048
0.022938
0.032769
0.031677
0.15183
0.086292
0.086292
0.086292
0.086292
0.086292
0
0.006155
0.212821
2,683
85
88
31.564706
0.860795
0.13306
0
0.111111
0
0
0.032496
0
0
0
0
0
0
1
0.037037
false
0
0.12963
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a277a87fbb9f9430d9ecdf658e9964b1157dc17
3,951
py
Python
advanced-workflows/task-graphs-lab/exercise/plugins/lab/plugin/workflows.py
jrzeszutek/cloudify-training-labs
5477750d269cb703ce47e35a1c13749fc88f3f6f
[ "Apache-2.0" ]
6
2015-07-06T01:10:08.000Z
2016-12-21T15:42:07.000Z
advanced-workflows/task-graphs-lab/exercise/plugins/lab/plugin/workflows.py
jrzeszutek/cloudify-training-labs
5477750d269cb703ce47e35a1c13749fc88f3f6f
[ "Apache-2.0" ]
4
2015-08-25T06:32:36.000Z
2016-09-07T07:01:34.000Z
advanced-workflows/task-graphs-lab/exercise/plugins/lab/plugin/workflows.py
jrzeszutek/cloudify-training-labs
5477750d269cb703ce47e35a1c13749fc88f3f6f
[ "Apache-2.0" ]
14
2015-03-28T05:45:58.000Z
2017-02-14T02:22:09.000Z
'''Copyright Gigaspaces, 2017, All Rights Reserved''' from cloudify.plugins import lifecycle OP_START = 'hacker.interfaces.lifecycle.start' OP_STOP = 'hacker.interfaces.lifecycle.stop' OP_SS_C = 'hacker.interfaces.lifecycle.create_snapshots' OP_SS_D = 'hacker.interfaces.lifecycle.delete_snapshots' REQUIRED_OPS = set([...
37.628571
77
0.679069
497
3,951
5.229376
0.259557
0.012312
0.0404
0.055791
0.290112
0.232397
0.181608
0.181608
0.152366
0.112351
0
0.001336
0.241964
3,951
104
78
37.990385
0.866444
0.332068
0
0.115385
0
0
0.176637
0.061843
0
0
0
0
0
1
0.057692
false
0
0.019231
0
0.134615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a28f4c1d95b682b9a50e90e2f39fe8345b14eab
33,404
py
Python
File Transfer/Flyter/flyter.py
CryptoNyxz/Miscellaneous-Tools
797ea04d7c369469ab3d2a1ae2838c4a7b7b9c02
[ "MIT" ]
null
null
null
File Transfer/Flyter/flyter.py
CryptoNyxz/Miscellaneous-Tools
797ea04d7c369469ab3d2a1ae2838c4a7b7b9c02
[ "MIT" ]
null
null
null
File Transfer/Flyter/flyter.py
CryptoNyxz/Miscellaneous-Tools
797ea04d7c369469ab3d2a1ae2838c4a7b7b9c02
[ "MIT" ]
null
null
null
""" Flyter Tool for transferring files on the same network using raw sockets. Doesn't use encryption. """ __version__ = (0, 0, 0) __author__ = "CryptoNyxz" __license__ = """ MIT License Copyright (c) 2021 Jaymund Cyrus F. Floranza Permission is hereby granted, free of charge, to any person obtaining a copy of this...
31.542965
79
0.55176
3,738
33,404
4.742643
0.129481
0.054152
0.035537
0.025722
0.514722
0.435921
0.401907
0.358416
0.326658
0.291403
0
0.008122
0.3587
33,404
1,058
80
31.572779
0.819345
0.099659
0
0.480337
0
0
0.14317
0.016439
0
0
0
0
0.015449
1
0.049157
false
0.008427
0.019663
0
0.189607
0.109551
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a29f1417c7897dd77e238158ebcffa7aedd19a4
14,751
py
Python
tests/test_modeling_tf_led.py
patelrajnath/transformers
98afe9d7c94a840d4b30c7eb76f9bfe570d2ed50
[ "Apache-2.0" ]
null
null
null
tests/test_modeling_tf_led.py
patelrajnath/transformers
98afe9d7c94a840d4b30c7eb76f9bfe570d2ed50
[ "Apache-2.0" ]
null
null
null
tests/test_modeling_tf_led.py
patelrajnath/transformers
98afe9d7c94a840d4b30c7eb76f9bfe570d2ed50
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright Iz Beltagy, Matthew E. Peters, Arman Cohan and The HuggingFace Inc. team. 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.ap...
42.266476
119
0.686055
1,905
14,751
4.974803
0.186352
0.030389
0.022159
0.011396
0.45278
0.364778
0.272871
0.253772
0.221062
0.216208
0
0.027379
0.229951
14,751
348
120
42.387931
0.806937
0.137075
0
0.198413
0
0
0.023727
0.011824
0
0
0
0.002874
0.09127
1
0.06746
false
0.007937
0.027778
0.003968
0.154762
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a2a4e7e62506f1bbd8360775e618cece1d71944
5,239
py
Python
src/wann_genetic/individual/numpy/ffnn.py
plonerma/wann-genetic
c4a8a1db81665b2549994d615e1d347dbe00226a
[ "MIT" ]
null
null
null
src/wann_genetic/individual/numpy/ffnn.py
plonerma/wann-genetic
c4a8a1db81665b2549994d615e1d347dbe00226a
[ "MIT" ]
null
null
null
src/wann_genetic/individual/numpy/ffnn.py
plonerma/wann-genetic
c4a8a1db81665b2549994d615e1d347dbe00226a
[ "MIT" ]
null
null
null
import numpy as np import sklearn import logging from wann_genetic.individual.network_base import BaseFFNN def softmax(x, axis=-1): """Compute softmax values for each sets of scores in x. Returns: softmax - softmax normalized in dim axis """ e_x = np.exp(x - np.expand_dims(np.max(x,axis=axis)...
33.158228
86
0.601642
722
5,239
4.192521
0.261773
0.015857
0.020813
0.043608
0.087876
0.042286
0.03634
0.03634
0.03634
0.017839
0
0.010821
0.27677
5,239
157
87
33.369427
0.788071
0.175988
0
0.075269
0
0
0.046364
0
0
0
0
0
0.032258
1
0.064516
false
0
0.043011
0
0.215054
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a2acc58ab0f0250a6af12c5eb3f75f975289067
14,665
py
Python
common/tests/util.py
uktrade/tamato
4ba2ffb25eea2887e4e081c81da7634cd7b4f9ca
[ "MIT" ]
14
2020-03-25T11:11:29.000Z
2022-03-08T20:41:33.000Z
common/tests/util.py
uktrade/tamato
4ba2ffb25eea2887e4e081c81da7634cd7b4f9ca
[ "MIT" ]
352
2020-03-25T10:42:09.000Z
2022-03-30T15:32:26.000Z
common/tests/util.py
uktrade/tamato
4ba2ffb25eea2887e4e081c81da7634cd7b4f9ca
[ "MIT" ]
3
2020-08-06T12:22:41.000Z
2022-01-16T11:51:12.000Z
import contextlib from datetime import date from datetime import datetime from datetime import timezone from functools import wraps from io import BytesIO from itertools import count from typing import Any from typing import Dict from typing import Sequence import pytest from dateutil.parser import parse as parse_date...
31.268657
93
0.633277
1,685
14,665
5.361424
0.217211
0.015497
0.033208
0.012619
0.264113
0.197144
0.159951
0.159951
0.149989
0.137259
0
0.011576
0.269553
14,665
468
94
31.33547
0.831777
0.16345
0
0.21118
0
0
0.096074
0.019048
0
0
0
0
0.02795
1
0.07764
false
0.003106
0.124224
0.021739
0.270186
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a2ad964a50ee086e447a623b3863c7fbb9ef26a
1,977
py
Python
src/com/python/email/send_mail.py
Leeo1124/pythonDemo
72e2209c095301a3f1f61edfe03ea69c3c05be40
[ "Apache-2.0" ]
null
null
null
src/com/python/email/send_mail.py
Leeo1124/pythonDemo
72e2209c095301a3f1f61edfe03ea69c3c05be40
[ "Apache-2.0" ]
null
null
null
src/com/python/email/send_mail.py
Leeo1124/pythonDemo
72e2209c095301a3f1f61edfe03ea69c3c05be40
[ "Apache-2.0" ]
null
null
null
''' Created on 2016年8月10日 @author: Administrator ''' from email import encoders from email.header import Header from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart from email.mime.multipart import MIMEBase from email.utils import parseaddr, formataddr import smtplib def _format_addr(s)...
29.073529
83
0.676277
267
1,977
4.947566
0.397004
0.040878
0.029523
0.033308
0.195307
0.152914
0.152914
0.152914
0.152914
0.152914
0
0.025015
0.130501
1,977
68
84
29.073529
0.736475
0.233687
0
0.171429
0
0
0.221328
0.0389
0
0
0
0
0
1
0.028571
false
0.057143
0.2
0
0.257143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0a2b055f1a31031a96cc1310b503a9a15b43be19
4,176
py
Python
aqui_carattino/blog/migrations/0002_auto_20200424_1452.py
aquilesC/aquicarattino
b6d873aea6e3ec9d1b802ea13952746e4fcc22b6
[ "MIT" ]
null
null
null
aqui_carattino/blog/migrations/0002_auto_20200424_1452.py
aquilesC/aquicarattino
b6d873aea6e3ec9d1b802ea13952746e4fcc22b6
[ "MIT" ]
2
2020-05-08T04:30:26.000Z
2021-06-17T20:19:02.000Z
aqui_carattino/blog/migrations/0002_auto_20200424_1452.py
aquilesC/aquicarattino
b6d873aea6e3ec9d1b802ea13952746e4fcc22b6
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-04-24 12:52 from django.db import migrations, models import django.db.models.deletion import modelcluster.contrib.taggit import modelcluster.fields import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks class Migration(migrations.Migration): depend...
68.459016
1,357
0.670498
474
4,176
5.793249
0.320675
0.076111
0.105244
0.04807
0.386016
0.276402
0.264749
0.249818
0.21413
0.17917
0
0.011932
0.177203
4,176
60
1,358
69.6
0.787253
0.010776
0
0.351852
1
0
0.215064
0.028821
0.037037
0
0
0
0
1
0
false
0
0.12963
0
0.185185
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0a2b4094e1ca26bb245cb9af7bc67b4f16fdf9b2
2,224
py
Python
studies/mixture_feasibility/parsley_benchmark/alcohol_ester/run.py
openforcefield/nistdataselection
d797d597f4ff528a7219d58daa8ef6508d438b24
[ "MIT" ]
3
2020-03-25T02:42:04.000Z
2020-07-20T10:39:35.000Z
studies/mixture_feasibility/parsley_benchmark/alcohol_ester/run.py
openforcefield/nistdataselection
d797d597f4ff528a7219d58daa8ef6508d438b24
[ "MIT" ]
13
2019-09-05T00:20:03.000Z
2020-03-05T23:58:04.000Z
studies/mixture_feasibility/parsley_benchmark/alcohol_ester/run.py
openforcefield/nistdataselection
d797d597f4ff528a7219d58daa8ef6508d438b24
[ "MIT" ]
null
null
null
from evaluator import unit from evaluator.backends import QueueWorkerResources from evaluator.backends.dask import DaskLSFBackend from evaluator.client import ConnectionOptions, EvaluatorClient from evaluator.datasets import PhysicalPropertyDataSet from evaluator.forcefield import SmirnoffForceFieldSource from evaluato...
31.771429
85
0.71223
247
2,224
6.133603
0.441296
0.068647
0.031683
0.026403
0
0
0
0
0
0
0
0.016802
0.223921
2,224
69
86
32.231884
0.86095
0.119155
0
0
0
0
0.069708
0
0
0
0
0
0
1
0.022222
false
0
0.177778
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a2b482bae656ac79eb981d550db6a1224027b57
2,268
py
Python
nuplan/planning/simulation/observation/idm/test/test_profile_idm_observation.py
motional/nuplan-devkit
e39029e788b17f47f2fcadb774098ef8fbdd0d67
[ "Apache-2.0" ]
128
2021-12-06T15:41:14.000Z
2022-03-29T13:16:32.000Z
nuplan/planning/simulation/observation/idm/test/test_profile_idm_observation.py
motional/nuplan-devkit
e39029e788b17f47f2fcadb774098ef8fbdd0d67
[ "Apache-2.0" ]
28
2021-12-11T08:11:31.000Z
2022-03-25T02:35:43.000Z
nuplan/planning/simulation/observation/idm/test/test_profile_idm_observation.py
motional/nuplan-devkit
e39029e788b17f47f2fcadb774098ef8fbdd0d67
[ "Apache-2.0" ]
14
2021-12-11T04:12:26.000Z
2022-03-24T06:38:30.000Z
import logging import unittest from pyinstrument import Profiler from nuplan.planning.scenario_builder.nuplan_db.test.nuplan_scenario_test_utils import get_test_nuplan_scenario from nuplan.planning.simulation.history.simulation_history_buffer import SimulationHistoryBuffer from nuplan.planning.simulation.observation....
36.580645
119
0.665785
252
2,268
5.690476
0.392857
0.058577
0.062762
0.058577
0.122734
0.090656
0.090656
0.090656
0.090656
0.090656
0
0.011799
0.252646
2,268
61
120
37.180328
0.834218
0.051146
0
0
0
0
0.003795
0
0
0
0
0
0
1
0.04878
false
0
0.170732
0
0.243902
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a2c405aef1ab33457cf8c88423bb2ac392300fb
11,867
py
Python
baselines/ddpg/ddpg.py
RDaneelOlivav/baselines
fea6ba932055bb76d68b4b22e812bab738fc18f8
[ "MIT" ]
11
2021-02-23T17:15:21.000Z
2021-09-08T21:31:57.000Z
baselines/ddpg/ddpg.py
RDaneelOlivav/baselines
fea6ba932055bb76d68b4b22e812bab738fc18f8
[ "MIT" ]
1
2021-03-04T05:49:46.000Z
2021-03-04T10:50:59.000Z
baselines/ddpg/ddpg.py
RDaneelOlivav/baselines
fea6ba932055bb76d68b4b22e812bab738fc18f8
[ "MIT" ]
2
2021-01-29T10:40:35.000Z
2021-03-03T08:03:59.000Z
import os import os.path as osp import time from collections import deque import pickle from baselines.ddpg.ddpg_learner import DDPG from baselines.ddpg.models import Actor, Critic from baselines.ddpg.memory import Memory from baselines.ddpg.noise import AdaptiveParamNoiseSpec, NormalActionNoise, OrnsteinUhlenbeckActi...
41.493007
188
0.610854
1,459
11,867
4.717615
0.211104
0.05855
0.02557
0.013947
0.200203
0.159959
0.124219
0.093709
0.086154
0.069446
0
0.010216
0.298896
11,867
285
189
41.638596
0.817067
0.079717
0
0.093333
0
0
0.055913
0.010742
0
0
0
0
0.013333
1
0.008889
false
0.004444
0.066667
0
0.088889
0.004444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a2e0012f198d1fec400f883216fa2149bcfd26b
1,889
py
Python
footprints/transaction_details.py
enwawerueli/footprints
d9b2a0064b21495edfd0563cb521b0675ee4363d
[ "MIT" ]
1
2018-10-11T19:23:08.000Z
2018-10-11T19:23:08.000Z
footprints/transaction_details.py
enwawerueli/footprints
d9b2a0064b21495edfd0563cb521b0675ee4363d
[ "MIT" ]
null
null
null
footprints/transaction_details.py
enwawerueli/footprints
d9b2a0064b21495edfd0563cb521b0675ee4363d
[ "MIT" ]
null
null
null
import os from datetime import datetime from PySide2.QtGui import * from PySide2.QtCore import * from PySide2.QtWidgets import * from PySide2.QtPrintSupport import QPrinter, QPrintDialog from jinja2 import TemplateNotFound from .ui.ui_transaction_details import Ui_TransactionDetails from .ui import images_rc from . i...
38.55102
119
0.68343
214
1,889
5.873832
0.429907
0.071599
0.040573
0.025457
0.167064
0.167064
0.10183
0.10183
0.10183
0.10183
0
0.004692
0.210164
1,889
48
120
39.354167
0.837802
0
0
0.142857
0
0
0.074643
0.012176
0
0
0
0
0
1
0.047619
false
0.02381
0.261905
0
0.380952
0.190476
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a2e68851d4d316362a1de570d5c1e2e08a4775e
64,070
py
Python
yt/units/yt_array.py
FeiLi5/git-github.com-yt-project-yt
0c6cf75351b91e4da80f6a0207ebbcb73dd72a59
[ "BSD-3-Clause-Clear" ]
null
null
null
yt/units/yt_array.py
FeiLi5/git-github.com-yt-project-yt
0c6cf75351b91e4da80f6a0207ebbcb73dd72a59
[ "BSD-3-Clause-Clear" ]
null
null
null
yt/units/yt_array.py
FeiLi5/git-github.com-yt-project-yt
0c6cf75351b91e4da80f6a0207ebbcb73dd72a59
[ "BSD-3-Clause-Clear" ]
null
null
null
""" YTArray class. """ from __future__ import print_function #----------------------------------------------------------------------------- # Copyright (c) 2013, yt Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this so...
35.106849
119
0.592836
7,991
64,070
4.584908
0.10662
0.0113
0.017905
0.019815
0.411185
0.36918
0.32005
0.270975
0.240024
0.217288
0
0.013325
0.307726
64,070
1,824
120
35.126096
0.812711
0.282129
0
0.236196
0
0
0.029236
0
0.001022
0
0
0
0
1
0.122699
false
0.02045
0.026585
0.023517
0.312883
0.001022
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a306266dca5739cfacd9015b52dba19c79b8c41
1,548
py
Python
src/posts/api/serializers.py
MahmoudMagdi20/django_rest_blog_api
e1969c75e20b4d807baf26051924a0b99a23b4dc
[ "MIT" ]
null
null
null
src/posts/api/serializers.py
MahmoudMagdi20/django_rest_blog_api
e1969c75e20b4d807baf26051924a0b99a23b4dc
[ "MIT" ]
null
null
null
src/posts/api/serializers.py
MahmoudMagdi20/django_rest_blog_api
e1969c75e20b4d807baf26051924a0b99a23b4dc
[ "MIT" ]
null
null
null
from rest_framework import serializers from posts.models import Post class PostCreateUpdateSerializer(serializers.ModelSerializer): class Meta: model = Post fields = [ #'id', 'title', #'slug', 'content', 'publish', ] post_detail_...
22.434783
62
0.541344
133
1,548
6.195489
0.330827
0.15534
0.050971
0.065534
0.48301
0.393204
0.393204
0.393204
0.288835
0.099515
0
0
0.360465
1,548
68
63
22.764706
0.832323
0.007752
0
0.535714
0
0
0.0691
0
0
0
0
0
0
1
0.071429
false
0
0.035714
0.053571
0.392857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a31cb53c607d4ae46c2c3f0ae523a2030f68afc
1,085
py
Python
Protheus_WebApp/Modules/SIGAGTP/GTPA036ETestCase.py
98llm/tir-script-samples
0bff8393b79356aa562e9e6512c11ee6e039b177
[ "MIT" ]
17
2018-09-24T17:27:08.000Z
2021-09-16T19:09:46.000Z
Protheus_WebApp/Modules/SIGAGTP/GTPA036ETestCase.py
98llm/tir-script-samples
0bff8393b79356aa562e9e6512c11ee6e039b177
[ "MIT" ]
4
2018-09-24T17:30:32.000Z
2022-01-03T11:39:30.000Z
Protheus_WebApp/Modules/SIGAGTP/GTPA036ETestCase.py
98llm/tir-script-samples
0bff8393b79356aa562e9e6512c11ee6e039b177
[ "MIT" ]
18
2019-06-07T17:41:34.000Z
2022-01-31T18:17:31.000Z
from tir import Webapp import unittest class GTPA036E(unittest.TestCase): @classmethod def setUpClass(inst): inst.oHelper = Webapp() inst.oHelper.Setup("SIGAGTP", "05/08/2020", "T1", "D MG 01 ") inst.oHelper.Program('GTPA036') def test_GTPA036E_CT001(self): self.oHelper.SetButton('Avançar') ...
35
94
0.62765
120
1,085
5.525
0.541667
0.182504
0.120664
0.067873
0.214178
0.11463
0
0
0
0
0
0.058753
0.231336
1,085
30
95
36.166667
0.736211
0
0
0.166667
0
0
0.140214
0
0
0
0
0
0.041667
1
0.125
false
0
0.083333
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a31df6f647d431831f887f61ef014c34b1a74e5
1,436
py
Python
code_tmpl/views.py
lovebirdegg/nnms-server
9fd4563ccca9f29add375d346cdd1c2dd636c512
[ "MIT" ]
null
null
null
code_tmpl/views.py
lovebirdegg/nnms-server
9fd4563ccca9f29add375d346cdd1c2dd636c512
[ "MIT" ]
null
null
null
code_tmpl/views.py
lovebirdegg/nnms-server
9fd4563ccca9f29add375d346cdd1c2dd636c512
[ "MIT" ]
null
null
null
# @Time : {time} # @Author : code_generator from rest_framework.viewsets import ModelViewSet from rest_framework.generics import ListAPIView from rest_framework.filters import SearchFilter, OrderingFilter from rest_framework.response import Response from rest_framework.decorators import api_view,authentication_cla...
39.888889
95
0.83078
163
1,436
7.07362
0.392638
0.062446
0.103209
0.062446
0.039896
0
0
0
0
0
0
0
0.107242
1,436
36
96
39.888889
0.899376
0.029944
0
0
0
0
0.001438
0
0
0
0
0
0
0
null
null
0
0.62963
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
0a32bc170cadd36fc1306d343ea0e49f3379160d
1,654
py
Python
src/collectors/heartbeat/heartbeat.py
art19/netuitive-diamond
57f61f2444e6f3d3692b4ee989415939bfaa932e
[ "MIT" ]
2
2016-11-17T13:17:50.000Z
2017-03-28T19:42:04.000Z
src/collectors/heartbeat/heartbeat.py
art19/netuitive-diamond
57f61f2444e6f3d3692b4ee989415939bfaa932e
[ "MIT" ]
62
2016-09-30T14:04:52.000Z
2021-04-22T21:22:28.000Z
src/collectors/heartbeat/heartbeat.py
art19/netuitive-diamond
57f61f2444e6f3d3692b4ee989415939bfaa932e
[ "MIT" ]
4
2017-01-24T14:44:56.000Z
2021-03-03T17:14:19.000Z
# coding=utf-8 """ Send a value of 1 as a heartbeat every time this collector is invoked. #### Dependencies None #### Usage Add the collector config as : enabled = True path = netuitive Metrics are collected as : - metrics.heartbeat Netuitive Change History ======================== DVG 2016/11/14 In...
25.84375
90
0.615478
181
1,654
5.475138
0.447514
0.102926
0.063572
0.038345
0
0
0
0
0
0
0
0.009267
0.282346
1,654
63
91
26.253968
0.825611
0.198307
0
0.068966
0
0
0.114655
0.042521
0
0
0
0
0
1
0.068966
false
0
0.172414
0
0.310345
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a33b4fb181d675d2537be4a920a504933aa3c82
6,599
py
Python
process_script/stat.py
vitorebatista/AVEMH
1c0bea3ae6c35729b80ba49b9663ce83ea43922d
[ "MIT" ]
2
2020-11-11T14:02:53.000Z
2020-12-10T00:10:50.000Z
process_script/stat.py
vitorebatista/AVEMH
1c0bea3ae6c35729b80ba49b9663ce83ea43922d
[ "MIT" ]
null
null
null
process_script/stat.py
vitorebatista/AVEMH
1c0bea3ae6c35729b80ba49b9663ce83ea43922d
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import sys markets = ["hangseng", "dax", "ftse", "sp", "nikkei"] market = markets[int(sys.argv[1])-1] # read GD data file dat = pd.read_csv("./num_res/{}.GD.csv".format(market)) # split into two experiments exp1_GD = dat[dat.columns[:5]] exp2_GD = dat[dat.columns[5:...
39.279762
105
0.690711
893
6,599
4.892497
0.091825
0.052186
0.035706
0.038453
0.425956
0.262303
0.262303
0.166171
0.072786
0.072786
0
0.036973
0.122897
6,599
167
106
39.51497
0.717865
0.177754
0
0.019231
0
0
0.130626
0.037541
0
0
0
0.005988
0
1
0
false
0
0.028846
0
0.028846
0.096154
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a33cb634cfe076d601a3145a01487981499f068
22,712
py
Python
Scripts/calc_Utilities.py
zmlabe/ThicknessSensitivity
6defdd897a61d7d1a02f34a9f4ec92b2b17b3075
[ "MIT" ]
1
2017-10-22T02:22:14.000Z
2017-10-22T02:22:14.000Z
Scripts/calc_Utilities.py
zmlabe/ThicknessSensitivity
6defdd897a61d7d1a02f34a9f4ec92b2b17b3075
[ "MIT" ]
null
null
null
Scripts/calc_Utilities.py
zmlabe/ThicknessSensitivity
6defdd897a61d7d1a02f34a9f4ec92b2b17b3075
[ "MIT" ]
4
2018-04-05T17:55:36.000Z
2022-03-31T07:05:01.000Z
""" Functions are useful untilities for SITperturb experiments Notes ----- Author : Zachary Labe Date : 13 August 2017 Usage ----- [1] calcDecJan(varx,vary,lat,lon,level,levsq) [2] calcDecJanFeb(varx,vary,lat,lon,level,levsq) [3] calc_indttest(varx,vary) [4] calc_weightedAve(var,lats) ...
36.514469
95
0.468739
2,463
22,712
4.295575
0.097848
0.042533
0.020416
0.022684
0.831947
0.81465
0.795747
0.750189
0.738185
0.719187
0
0.030765
0.330222
22,712
622
96
36.514469
0.664738
0.224287
0
0.686411
0
0
0.11901
0.006239
0
0
0
0
0
1
0.059233
false
0
0.034843
0
0.15331
0.12892
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0a33db09aef1c74c5ffed0995a5bf7a3bfec7f84
13,403
py
Python
tests/python/unittest/test_tir_schedule_compute_inline.py
xiebaiyuan/tvm
726239d788e3b90cbe4818271ca5361c46d8d246
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0" ]
null
null
null
tests/python/unittest/test_tir_schedule_compute_inline.py
xiebaiyuan/tvm
726239d788e3b90cbe4818271ca5361c46d8d246
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0" ]
null
null
null
tests/python/unittest/test_tir_schedule_compute_inline.py
xiebaiyuan/tvm
726239d788e3b90cbe4818271ca5361c46d8d246
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
35.836898
94
0.643886
2,226
13,403
3.685085
0.075022
0.048275
0.063148
0.054858
0.842375
0.801536
0.758503
0.714007
0.679508
0.665366
0
0.0596
0.197568
13,403
373
95
35.932976
0.703115
0.072297
0
0.686833
0
0
0.010071
0
0
0
0
0
0.05694
1
0.120996
false
0
0.014235
0
0.135231
0
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
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
0a3465198ac8a54def9b1ff02f89cdbec3079889
4,239
py
Python
cwl_flask.py
Sage-Bionetworks/workflow-service
8b5dc0afe9ea0972014cdf48a693ee6f893cfe5e
[ "Apache-2.0" ]
1
2019-11-14T23:46:23.000Z
2019-11-14T23:46:23.000Z
cwl_flask.py
Sage-Bionetworks/workflow-service
8b5dc0afe9ea0972014cdf48a693ee6f893cfe5e
[ "Apache-2.0" ]
null
null
null
cwl_flask.py
Sage-Bionetworks/workflow-service
8b5dc0afe9ea0972014cdf48a693ee6f893cfe5e
[ "Apache-2.0" ]
null
null
null
from flask import Flask, Response, request, redirect import subprocess import tempfile import json import yaml import signal import threading import time import copy app = Flask(__name__) jobs_lock = threading.Lock() jobs = [] class Job(threading.Thread): def __init__(self, jobid, path, inputobj): super...
28.641892
79
0.517103
444
4,239
4.867117
0.297297
0.050902
0.05553
0.061083
0.240629
0.180009
0.103656
0.048126
0.048126
0.048126
0
0.00547
0.353149
4,239
147
80
28.836735
0.78264
0.003774
0
0.147541
0
0
0.068704
0.004975
0
0
0
0
0
1
0.106557
false
0
0.07377
0
0.229508
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a3472688b742e51fb849821bffb5408a0c299f0
5,306
py
Python
cs15211/ReverseBits.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2021-07-05T01:53:30.000Z
2021-07-05T01:53:30.000Z
cs15211/ReverseBits.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
null
null
null
cs15211/ReverseBits.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2018-01-08T07:14:08.000Z
2018-01-08T07:14:08.000Z
__source__ = 'https://leetcode.com/problems/reverse-bits/description/' # https://github.com/kamyu104/LeetCode/blob/master/Python/reverse-bits.py # Time : O(n) # Space: O(1) # Bit Manipulation # # Description: Leetcode # 190. Reverse Bits # # Reverse bits of a given 32 bits unsigned integer. # # For example, given input...
31.963855
96
0.67942
885
5,306
3.80452
0.216949
0.470448
0.595189
0.646273
0.485595
0.473715
0.463023
0.454707
0.36828
0.328185
0
0.314932
0.225028
5,306
165
97
32.157576
0.503891
0.109876
0
0.264
0
0.024
0.905472
0.267618
0
0
0.017032
0
0.008
0
null
null
0
0.008
null
null
0.008
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
6
0a34f204369f984c96ff6e5a370ca5dd3ef2cd5a
128
py
Python
tibanna/_version.py
freezecoder/tibanna
89b02e95d04b9c630a9786f4d1eb8157c40098e0
[ "MIT" ]
null
null
null
tibanna/_version.py
freezecoder/tibanna
89b02e95d04b9c630a9786f4d1eb8157c40098e0
[ "MIT" ]
null
null
null
tibanna/_version.py
freezecoder/tibanna
89b02e95d04b9c630a9786f4d1eb8157c40098e0
[ "MIT" ]
null
null
null
"""Version information.""" # The following line *must* be the last in the module, exactly as formatted: __version__ = "0.16.1"
25.6
76
0.710938
19
128
4.578947
0.842105
0
0
0
0
0
0
0
0
0
0
0.037037
0.15625
128
4
77
32
0.768519
0.75
0
0
0
0
0.230769
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0a35e9528722fb698d7d9b2d769ceed182b29b73
1,265
py
Python
selective_merge_pdf.py
vs-slavchev/selective_merge_pdf
b24b4dbcaf1ffb8dc0924dafec56f94e452c1ebd
[ "MIT" ]
null
null
null
selective_merge_pdf.py
vs-slavchev/selective_merge_pdf
b24b4dbcaf1ffb8dc0924dafec56f94e452c1ebd
[ "MIT" ]
null
null
null
selective_merge_pdf.py
vs-slavchev/selective_merge_pdf
b24b4dbcaf1ffb8dc0924dafec56f94e452c1ebd
[ "MIT" ]
null
null
null
from sys import argv from PyPDF2 import PdfFileReader, PdfFileWriter import re range_pattern = re.compile(r'(\d+)(\.\.|-)(\d+)') comma_pattern = re.compile('\d+(,\d+)*') def pages_args_to_array(pages_str): groups = range_pattern.search(pages_str) if groups: start = int(groups.group(1)) end = int(groups.group(3)...
31.625
115
0.709091
208
1,265
4.096154
0.447115
0.046948
0.037559
0.037559
0.049296
0
0
0
0
0
0
0.027778
0.146245
1,265
39
116
32.435897
0.761111
0
0
0
0
0.032258
0.190514
0.017391
0
0
0
0
0.064516
1
0.032258
false
0
0.096774
0
0.193548
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a366dc7ea5c7f093418a07f29237983fc6bf2d7
4,031
py
Python
vp/scoring.py
romack77/vp-toolbox
2677b78b80d0b4794735f3ee9bd70403c6b884e6
[ "MIT" ]
10
2019-08-03T06:29:47.000Z
2022-02-05T03:08:15.000Z
vp/scoring.py
romack77/vp-toolbox
2677b78b80d0b4794735f3ee9bd70403c6b884e6
[ "MIT" ]
null
null
null
vp/scoring.py
romack77/vp-toolbox
2677b78b80d0b4794735f3ee9bd70403c6b884e6
[ "MIT" ]
3
2019-01-22T12:19:05.000Z
2021-02-25T16:58:59.000Z
import math from vp import geom_tools def horizon_error(ground_truth_horizon, detected_horizon, image_dims): """Calculates error in a detected horizon. This measures the max distance between the detected horizon line and the ground truth horizon line, within the image's x-axis, and normalized by ima...
34.161017
86
0.675019
618
4,031
4.142395
0.190939
0.094531
0.060156
0.015625
0.420313
0.414063
0.389844
0.290625
0.271094
0.246094
0
0.010224
0.247829
4,031
117
87
34.452991
0.834103
0.359712
0
0.264151
0
0
0
0
0
0
0
0
0
1
0.113208
false
0
0.037736
0.037736
0.301887
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a36be6ff9e65c7b1ffad1c7ff8f47b4ee0f6df3
4,175
py
Python
compositional-rl-benchmark/composition/spinningup_training/train_mtl_ppo.py
collassubmission91/CompoSuite-Code
ac544efb68a11ed8a483b0932975c4949f0cec90
[ "MIT" ]
null
null
null
compositional-rl-benchmark/composition/spinningup_training/train_mtl_ppo.py
collassubmission91/CompoSuite-Code
ac544efb68a11ed8a483b0932975c4949f0cec90
[ "MIT" ]
null
null
null
compositional-rl-benchmark/composition/spinningup_training/train_mtl_ppo.py
collassubmission91/CompoSuite-Code
ac544efb68a11ed8a483b0932975c4949f0cec90
[ "MIT" ]
null
null
null
import numpy as np import argparse import composition import os import json import torch from spinup.algos.pytorch.ppo.core import MLPActorCritic from spinup.algos.pytorch.ppo.ppo import ppo from spinup.utils.run_utils import setup_logger_kwargs from spinup.utils.mpi_tools import proc_id, num_procs def parse_args()...
43.489583
199
0.697725
606
4,175
4.592409
0.273927
0.084082
0.158821
0.030543
0.189723
0.151635
0.151635
0.128638
0.050305
0
0
0.014135
0.135808
4,175
95
200
43.947368
0.757206
0.046228
0
0
0
0
0.10804
0.00603
0
0
0
0
0
1
0.027397
false
0
0.136986
0
0.178082
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a36ce830d4011a6336f73093bb61b54abdb2cbd
7,782
py
Python
pypy/interpreter/test/test_generator.py
m4sterchain/mesapy
ed546d59a21b36feb93e2309d5c6b75aa0ad95c9
[ "Apache-2.0", "OpenSSL" ]
381
2018-08-18T03:37:22.000Z
2022-02-06T23:57:36.000Z
pypy/interpreter/test/test_generator.py
m4sterchain/mesapy
ed546d59a21b36feb93e2309d5c6b75aa0ad95c9
[ "Apache-2.0", "OpenSSL" ]
16
2018-09-22T18:12:47.000Z
2022-02-22T20:03:59.000Z
pypy/interpreter/test/test_generator.py
m4sterchain/mesapy
ed546d59a21b36feb93e2309d5c6b75aa0ad95c9
[ "Apache-2.0", "OpenSSL" ]
30
2018-08-20T03:16:34.000Z
2022-01-12T17:39:22.000Z
class AppTestGenerator: def test_generator(self): def f(): yield 1 assert f().next() == 1 def test_generator2(self): def f(): yield 1 g = f() assert g.next() == 1 raises(StopIteration, g.next) def test_attributes(self): def f...
24.092879
77
0.467489
945
7,782
3.730159
0.167196
0.069504
0.056738
0.062695
0.495035
0.428936
0.371915
0.272057
0.230922
0.140426
0
0.023841
0.423285
7,782
322
78
24.167702
0.761586
0.035209
0
0.592857
0
0
0.104575
0
0
0
0
0
0.146429
0
null
null
0.007143
0.007143
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0a3711b515419fb6ad721023cf62fe24b0ba8280
15,121
py
Python
igvm/cli.py
innogames/igvm
6c4bd98d61ebaf6280698e74d560ea5b3d70cd9e
[ "MIT" ]
14
2018-02-15T14:09:54.000Z
2021-07-19T01:55:58.000Z
igvm/cli.py
innogames/igvm
6c4bd98d61ebaf6280698e74d560ea5b3d70cd9e
[ "MIT" ]
129
2018-02-19T09:47:18.000Z
2022-03-02T14:08:10.000Z
igvm/cli.py
innogames/igvm
6c4bd98d61ebaf6280698e74d560ea5b3d70cd9e
[ "MIT" ]
10
2018-02-16T15:56:59.000Z
2021-05-14T23:31:31.000Z
"""igvm - The command line interface Copyright (c) 2017 InnoGames GmbH """ from __future__ import print_function from argparse import ArgumentParser, _SubParsersAction from logging import StreamHandler, root as root_logger import time from fabric.network import disconnect_all from igvm.commands import ( change_...
29.824458
79
0.612195
1,709
15,121
5.231714
0.194266
0.068896
0.120792
0.053126
0.506096
0.474779
0.425456
0.416508
0.389666
0.389666
0
0.005266
0.284174
15,121
506
80
29.883399
0.820769
0.058925
0
0.433708
0
0
0.315567
0.001619
0
0
0
0
0
1
0.013483
false
0
0.01573
0
0.053933
0.004494
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a390498151447698302dd1d056f6ca3842fd3c6
987
py
Python
test/test_data_processor/test_condition_generation_dataset.py
puraminy/OpenPrompt
49f0ed9719bb6285e94c746de4511991c848492c
[ "Apache-2.0" ]
979
2021-09-30T15:32:58.000Z
2022-03-31T11:23:03.000Z
test/test_data_processor/test_condition_generation_dataset.py
Spritebai/OpenPrompt
bd9ea544ab144d94af32d245101ba35c9d5a5a65
[ "Apache-2.0" ]
104
2021-10-01T07:56:33.000Z
2022-03-31T14:39:09.000Z
test/test_data_processor/test_condition_generation_dataset.py
Spritebai/OpenPrompt
bd9ea544ab144d94af32d245101ba35c9d5a5a65
[ "Apache-2.0" ]
121
2021-09-30T16:09:53.000Z
2022-03-31T09:39:34.000Z
import os, sys from os.path import dirname as d from os.path import abspath, join root_dir = d(d(d(abspath(__file__)))) sys.path.append(root_dir) from openprompt.data_utils.conditional_generation_dataset import PROCESSORS base_path = os.path.join(root_dir, "datasets/CondGen") def test_WebNLGProcessor(): dataset_n...
41.125
98
0.761905
139
987
5.107914
0.388489
0.077465
0.080282
0.076056
0.183099
0.121127
0.121127
0
0
0
0
0.024677
0.137791
987
23
99
42.913043
0.809636
0
0
0
0
0
0.142857
0.024316
0
0
0
0
0.3
1
0.05
false
0
0.2
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a393fec60ca724f475a9fdf13a20c1df07768c4
5,354
py
Python
BaseTools/Source/Python/Common/BuildToolError.py
JayLeeCompal/EDKII_Git
de4800d50e1f357002bf77235d3bebabd0c00007
[ "MIT" ]
1
2022-01-20T04:51:29.000Z
2022-01-20T04:51:29.000Z
BaseTools/Source/Python/Common/BuildToolError.py
JayLeeCompal/EDKII_Git
de4800d50e1f357002bf77235d3bebabd0c00007
[ "MIT" ]
1
2022-01-21T06:19:02.000Z
2022-01-21T06:19:02.000Z
BaseTools/Source/Python/Common/BuildToolError.py
JayLeeCompal/EDKII_Git
de4800d50e1f357002bf77235d3bebabd0c00007
[ "MIT" ]
null
null
null
## @file # Standardized Error Hanlding infrastructures. # # Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR> # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text...
33.886076
85
0.699664
617
5,354
5.748784
0.356564
0.081195
0.042853
0.05413
0.11841
0
0
0
0
0
0
0.056307
0.240381
5,354
157
86
34.101911
0.815835
0.110758
0
0.016529
0
0
0.207588
0
0
0
0.0628
0
0
1
0
false
0.016529
0
0
0.008264
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a3943aef4b92eda2997e8228a72ccdd4b255c3d
1,360
py
Python
datasets/SUN397EncodbleDataset.py
allenai/ViRB
fbe1c42571ce0994b1e41bc4bdf88cf9658ae48b
[ "Apache-2.0" ]
26
2021-05-19T13:49:53.000Z
2022-02-10T16:33:47.000Z
datasets/SUN397EncodbleDataset.py
allenai/ViRB
fbe1c42571ce0994b1e41bc4bdf88cf9658ae48b
[ "Apache-2.0" ]
null
null
null
datasets/SUN397EncodbleDataset.py
allenai/ViRB
fbe1c42571ce0994b1e41bc4bdf88cf9658ae48b
[ "Apache-2.0" ]
1
2021-06-07T02:55:30.000Z
2021-06-07T02:55:30.000Z
import torch import torchvision.transforms as transforms from torch.utils.data import Dataset import glob from PIL import Image import random class SUN397EncodableDataset(Dataset): """SUN397 encodable dataset class""" def __init__(self, train=True): super().__init__() path = 'data/SUN397/trai...
34
97
0.625735
179
1,360
4.636872
0.413408
0.048193
0.028916
0.031325
0.06506
0.06506
0.06506
0.06506
0
0
0
0.044719
0.227206
1,360
39
98
34.871795
0.745005
0.022059
0
0
0
0
0.047583
0.037009
0
0
0
0
0
1
0.129032
false
0
0.193548
0.064516
0.483871
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a3a46f51a8f874a867b535822da740830faf6e6
966
py
Python
cybox/common/location.py
tirkarthi/python-cybox
a378deb68b3ac56360c5cc35ff5aad1cd3dcab83
[ "BSD-3-Clause" ]
40
2015-03-05T18:22:51.000Z
2022-03-06T07:29:25.000Z
cybox/common/location.py
tirkarthi/python-cybox
a378deb68b3ac56360c5cc35ff5aad1cd3dcab83
[ "BSD-3-Clause" ]
106
2015-01-12T18:52:20.000Z
2021-04-25T22:57:52.000Z
cybox/common/location.py
tirkarthi/python-cybox
a378deb68b3ac56360c5cc35ff5aad1cd3dcab83
[ "BSD-3-Clause" ]
30
2015-03-25T07:24:40.000Z
2021-07-23T17:10:11.000Z
# Copyright (c) 2017, The MITRE Corporation. All rights reserved. # See LICENSE.txt for complete terms. from mixbox import entities, fields import cybox import cybox.bindings.cybox_common as common_binding class LocationFactory(entities.EntityFactory): @classmethod def entity_class(cls, key): return...
26.108108
65
0.704969
120
966
5.483333
0.508333
0.06383
0.051672
0.079027
0
0
0
0
0
0
0
0.006477
0.200828
966
36
66
26.833333
0.845855
0.128364
0
0
0
0
0.059666
0
0
0
0
0
0
1
0.130435
false
0
0.130435
0.086957
0.782609
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0a3be6996ac9517d3022400855065d32ff7ed3c0
1,359
py
Python
scripts/bam-stats.py
varlociraptor/prosic-evaluation
f4f1950ba5c10bda0f41df2a8f519d98f779d736
[ "MIT" ]
2
2020-04-29T00:56:09.000Z
2021-03-07T19:59:06.000Z
scripts/bam-stats.py
varlociraptor/prosic-evaluation
f4f1950ba5c10bda0f41df2a8f519d98f779d736
[ "MIT" ]
null
null
null
scripts/bam-stats.py
varlociraptor/prosic-evaluation
f4f1950ba5c10bda0f41df2a8f519d98f779d736
[ "MIT" ]
1
2022-03-15T12:23:03.000Z
2022-03-15T12:23:03.000Z
#!/usr/bin/env python import sys import numpy as np import pandas as pd import pysam import matplotlib matplotlib.use("agg") import matplotlib.pyplot as plt import seaborn as sns from functools import partial tumor = pysam.AlignmentFile(snakemake.input[0], "rb") normal = pysam.AlignmentFile(snakemake.input[1], "rb") ...
28.3125
92
0.675497
206
1,359
4.354369
0.436893
0.023411
0.036789
0.071349
0.06243
0.06243
0
0
0
0
0
0.028597
0.1766
1,359
47
93
28.914894
0.773012
0.014717
0
0
0
0
0.049327
0
0
0
0
0
0
1
0.027027
false
0
0.216216
0
0.243243
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a3bec6c960ec5a80b8e4e32d4669b80255b605f
1,114
py
Python
app/rss_feeder_api/migrations/0003_auto_20200813_1623.py
RSaab/rss-scraper
9bf608878e7d08fea6508ae90b27f1c226b313f1
[ "MIT" ]
null
null
null
app/rss_feeder_api/migrations/0003_auto_20200813_1623.py
RSaab/rss-scraper
9bf608878e7d08fea6508ae90b27f1c226b313f1
[ "MIT" ]
null
null
null
app/rss_feeder_api/migrations/0003_auto_20200813_1623.py
RSaab/rss-scraper
9bf608878e7d08fea6508ae90b27f1c226b313f1
[ "MIT" ]
null
null
null
# Generated by Django 3.1 on 2020-08-13 16:23 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('rss_feeder_api', '0002_feed_subtitle'), ] operations = [ migrations.AlterModelOptions( name='entry', ...
29.315789
107
0.577199
104
1,114
5.990385
0.528846
0.057785
0.060995
0.077047
0.333868
0.333868
0
0
0
0
0
0.022785
0.290844
1,114
37
108
30.108108
0.765823
0.0386
0
0.419355
1
0
0.172123
0
0
0
0
0
0
1
0
false
0
0.064516
0
0.16129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a3c1af48960fabf760e667011b0450023e75e10
4,849
py
Python
AdversarialSampleGeneratorV11/AdversarialSampleGeneratorV11/ResNetConstructor.py
MetaMain/BewareAdvML
52d489b565b0df36cb588b5709c29c2e8e4d3f49
[ "BSD-3-Clause" ]
1
2022-03-25T07:53:13.000Z
2022-03-25T07:53:13.000Z
AdversarialSampleGeneratorV11/AdversarialSampleGeneratorV11/ResNetConstructor.py
MetaMain/BewareAdvML
52d489b565b0df36cb588b5709c29c2e8e4d3f49
[ "BSD-3-Clause" ]
null
null
null
AdversarialSampleGeneratorV11/AdversarialSampleGeneratorV11/ResNetConstructor.py
MetaMain/BewareAdvML
52d489b565b0df36cb588b5709c29c2e8e4d3f49
[ "BSD-3-Clause" ]
null
null
null
import tensorflow from tensorflow import keras Model = keras.models.Model Dense = keras.layers.Dense Activation = keras.layers.Activation Flatten = keras.layers.Flatten BatchNormalization= keras.layers.BatchNormalization Conv2D = tensorflow.keras.layers.Conv2D AveragePooling2D = keras.layers.AveragePooling2D I...
37.589147
80
0.545061
495
4,849
5.175758
0.274747
0.078064
0.032787
0.039032
0.272443
0.218579
0.159641
0.14676
0.106167
0.106167
0
0.018103
0.384822
4,849
129
81
37.589147
0.840764
0.176325
0
0.336842
0
0
0.023672
0
0
0
0
0
0
1
0.021053
false
0
0.031579
0
0.073684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a3cda3b610042fefd30969a702f9d925c74876f
4,421
py
Python
ttl2json.py
the-norman-sicily-project/genealogical-trees
32fa4f25861ae34543b0a6b95e54842c0018331b
[ "MIT" ]
1
2021-05-18T20:39:30.000Z
2021-05-18T20:39:30.000Z
ttl2json.py
the-norman-sicily-project/genealogical-trees
32fa4f25861ae34543b0a6b95e54842c0018331b
[ "MIT" ]
null
null
null
ttl2json.py
the-norman-sicily-project/genealogical-trees
32fa4f25861ae34543b0a6b95e54842c0018331b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys import json import rdflib import rdflib.plugins.sparql as sparql RELS_TO_DRAW = ['isWifeOf', 'isMotherOf', 'isFatherOf', 'isHusbandOf', 'isSpouseOf'] RELS_TO_INFER = ['hasGrandParent', 'isGrandParentOf', 'hasGreatGrandParent', 'isGreatGrandParentOf', 'isUncleOf', 'ha...
28.339744
84
0.555078
425
4,421
5.687059
0.338824
0.026479
0.021514
0.021101
0.15391
0.098883
0.086885
0.086885
0.086885
0.086885
0
0.003938
0.310789
4,421
155
85
28.522581
0.789301
0.00475
0
0.090909
0
0
0.213577
0.011848
0
0
0
0
0
1
0.011364
false
0
0.045455
0
0.079545
0.011364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a3d017dc9b9c85df909d024333ec6af657c45e5
53,871
py
Python
tests/rest/client/test_login.py
BearerPipelineTest/synapse-1
78b99de7c206b106340e12cdee0af9aa246bd5ad
[ "Apache-2.0" ]
null
null
null
tests/rest/client/test_login.py
BearerPipelineTest/synapse-1
78b99de7c206b106340e12cdee0af9aa246bd5ad
[ "Apache-2.0" ]
null
null
null
tests/rest/client/test_login.py
BearerPipelineTest/synapse-1
78b99de7c206b106340e12cdee0af9aa246bd5ad
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2021 The Matrix.org Foundation C.I.C. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
40.443694
119
0.626218
6,317
53,871
5.168276
0.120785
0.061106
0.070755
0.034244
0.570724
0.536694
0.503706
0.48251
0.469278
0.446949
0
0.016304
0.255369
53,871
1,331
120
40.47408
0.797577
0.153608
0
0.443593
0
0.003286
0.174903
0.046257
0
0
0
0
0.173056
1
0.063527
false
0.021906
0.028478
0
0.133625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a3d26451658f18eb6e4d945d41095c7fba3dc44
1,683
py
Python
rmf_demo_tasks/rmf_demo_tasks/request_delivery.py
Kevinskwk/rmf_demos
2d7b9c7c75211b89b91977e5d1a66f440cc5df95
[ "Apache-2.0" ]
null
null
null
rmf_demo_tasks/rmf_demo_tasks/request_delivery.py
Kevinskwk/rmf_demos
2d7b9c7c75211b89b91977e5d1a66f440cc5df95
[ "Apache-2.0" ]
null
null
null
rmf_demo_tasks/rmf_demo_tasks/request_delivery.py
Kevinskwk/rmf_demos
2d7b9c7c75211b89b91977e5d1a66f440cc5df95
[ "Apache-2.0" ]
null
null
null
import argparse import sys from time import sleep import uuid import rclpy from rmf_task_msgs.msg import Delivery def main(argv = sys.argv): rclpy.init(args=argv) args_without_ros = rclpy.utilities.remove_ros_args(argv) ''' # Example request: task_id: randomid_001 items: [itemA, itemB....] ...
27.590164
88
0.680333
218
1,683
5.004587
0.422018
0.038497
0.062328
0.056829
0.076994
0.076994
0
0
0
0
0
0.009531
0.189542
1,683
60
89
28.05
0.790323
0
0
0.0625
0
0
0.171765
0.017255
0
0
0
0
0
1
0.03125
false
0
0.1875
0
0.21875
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a3d8aa1a0610f6e6749b406310d289569ef5143
13,701
py
Python
dis_snek/api/http/http_client.py
BoredManCodes/Dis-Snek
662dbc3f86c133fd704c22d3d6d55af5ee1f6f5b
[ "MIT" ]
null
null
null
dis_snek/api/http/http_client.py
BoredManCodes/Dis-Snek
662dbc3f86c133fd704c22d3d6d55af5ee1f6f5b
[ "MIT" ]
null
null
null
dis_snek/api/http/http_client.py
BoredManCodes/Dis-Snek
662dbc3f86c133fd704c22d3d6d55af5ee1f6f5b
[ "MIT" ]
null
null
null
"""This file handles the interaction with discords http endpoints.""" import asyncio import logging from typing import Any, Dict, Optional, Union from urllib.parse import quote as _uriquote from weakref import WeakValueDictionary import aiohttp from aiohttp import BaseConnector, ClientSession, ClientWebSocketResponse,...
38.485955
160
0.593387
1,529
13,701
5.179856
0.23741
0.013131
0.008333
0.010101
0.189141
0.121212
0.081313
0.062879
0.062879
0.049242
0
0.008048
0.319831
13,701
355
161
38.594366
0.841829
0.133348
0
0.245536
0
0.017857
0.100019
0.022946
0
0
0
0
0
1
0.044643
false
0.004464
0.066964
0.004464
0.165179
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a3e0181aa1152f21b25e174598bc71d6679ab76
986
py
Python
config.py
conradsuuna/uac-computer-competency
40f8b165e5432ca22ab97838f424e26650a3d300
[ "MIT" ]
null
null
null
config.py
conradsuuna/uac-computer-competency
40f8b165e5432ca22ab97838f424e26650a3d300
[ "MIT" ]
null
null
null
config.py
conradsuuna/uac-computer-competency
40f8b165e5432ca22ab97838f424e26650a3d300
[ "MIT" ]
null
null
null
from os import environ import psycopg2 from datetime import timedelta from dotenv import load_dotenv load_dotenv() class Config(object): """ app configuration class """ TESTING = False CSRF_ENABLED = True SECRET_KEY = environ.get('SECRET_KEY') USER = environ.get('DB_USER') PASSWORD = environ.g...
27.388889
80
0.720081
121
986
5.628099
0.471074
0.088106
0.070485
0.0558
0.082232
0.082232
0
0
0
0
0
0.004981
0.185598
986
35
81
28.171429
0.843088
0.116633
0
0.08
0
0
0.128355
0.054842
0
0
0
0
0
1
0
false
0.08
0.16
0
0.96
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
0a3e6de6fa0adef7035c5c9d0aedbcc9e7f13b79
791
py
Python
electrum/version.py
c4pt000/electrum-radiocoin
7cb5f618a9aa8cd03d60191624a0e57cc24646d2
[ "MIT" ]
null
null
null
electrum/version.py
c4pt000/electrum-radiocoin
7cb5f618a9aa8cd03d60191624a0e57cc24646d2
[ "MIT" ]
null
null
null
electrum/version.py
c4pt000/electrum-radiocoin
7cb5f618a9aa8cd03d60191624a0e57cc24646d2
[ "MIT" ]
null
null
null
ELECTRUM_VERSION = '4.1.5-radc' # version of the client package APK_VERSION = '4.1.5.0' # read by buildozer.spec PROTOCOL_VERSION = '1.4' # protocol version requested # The hash of the mnemonic seed must begin with this SEED_PREFIX = '01' # Standard wallet SEED_PREFIX_SW = '100' # S...
34.391304
67
0.668774
112
791
4.473214
0.4375
0.179641
0.103792
0.03992
0
0
0
0
0
0
0
0.043406
0.242731
791
22
68
35.954545
0.792988
0.273072
0
0
0
0
0.155477
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a3ee6851d0a7ef05afcdf6a271167449fef0269
7,867
py
Python
lib/layers/functions/prior_box.py
arleyzhang/object-detection-pytorch
de96a507e6643a7019b94d92f77219439ccca29f
[ "MIT" ]
4
2018-10-10T03:06:38.000Z
2018-12-18T07:32:30.000Z
lib/layers/functions/prior_box.py
arleyzhang/object-detection-pytorch
de96a507e6643a7019b94d92f77219439ccca29f
[ "MIT" ]
null
null
null
lib/layers/functions/prior_box.py
arleyzhang/object-detection-pytorch
de96a507e6643a7019b94d92f77219439ccca29f
[ "MIT" ]
1
2018-10-10T03:06:39.000Z
2018-10-10T03:06:39.000Z
from __future__ import division from math import sqrt as sqrt from itertools import product as product import torch import numpy as np import cv2 from lib.utils.visualize_utils import TBWriter def vis(func): """tensorboard visualization if has writer as input""" def wrapper(*args, **kw): return func...
38.004831
104
0.583196
1,150
7,867
3.784348
0.195652
0.040441
0.047794
0.022518
0.328585
0.281939
0.258272
0.225873
0.195313
0.139476
0
0.035149
0.276726
7,867
206
105
38.18932
0.729701
0.142367
0
0.165517
0
0
0.058718
0.003287
0
0
0
0.004854
0.02069
1
0.096552
false
0
0.062069
0.006897
0.213793
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a3fe7e6abe2393d5617b3058cbf7b54468e33ee
5,073
py
Python
python/Gaffer/SequencePath.py
cwmartin/gaffer
1f8a0f75522105c9d5efefac6d55cb61c1038909
[ "BSD-3-Clause" ]
null
null
null
python/Gaffer/SequencePath.py
cwmartin/gaffer
1f8a0f75522105c9d5efefac6d55cb61c1038909
[ "BSD-3-Clause" ]
null
null
null
python/Gaffer/SequencePath.py
cwmartin/gaffer
1f8a0f75522105c9d5efefac6d55cb61c1038909
[ "BSD-3-Clause" ]
null
null
null
########################################################################## # # Copyright (c) 2012-2013, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redi...
27.721311
133
0.668244
598
5,073
5.59699
0.359532
0.017927
0.022408
0.015238
0.118315
0.089633
0.057962
0.057962
0.057962
0.040633
0
0.003289
0.220974
5,073
182
134
27.873626
0.843623
0.325448
0
0.184466
0
0
0.029648
0.014824
0
0
0
0
0
1
0.106796
false
0
0.019417
0.009709
0.271845
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a4049bea9cce33edfb9f0362df0cd2e91b7aa1a
335
py
Python
reo/migrations/0121_merge_20211001_1841.py
NREL/REopt_API
fbc70f3b0cdeec9ee220266d6b3b0c5d64f257a6
[ "BSD-3-Clause" ]
7
2022-01-29T12:10:10.000Z
2022-03-28T13:45:20.000Z
reo/migrations/0121_merge_20211001_1841.py
NREL/reopt_api
fbc70f3b0cdeec9ee220266d6b3b0c5d64f257a6
[ "BSD-3-Clause" ]
12
2022-02-01T18:23:18.000Z
2022-03-31T17:22:17.000Z
reo/migrations/0121_merge_20211001_1841.py
NREL/REopt_API
fbc70f3b0cdeec9ee220266d6b3b0c5d64f257a6
[ "BSD-3-Clause" ]
3
2022-02-08T19:44:40.000Z
2022-03-12T11:05:36.000Z
# Generated by Django 3.1.13 on 2021-10-01 18:41 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('reo', '0117_financialmodel_generator_fuel_escalation_pct'), ('reo', '0120_auto_20210927_2046'), ('reo', '0121_auto_20211012_0305') ] operat...
20.9375
69
0.662687
40
335
5.275
0.85
0
0
0
0
0
0
0
0
0
0
0.198473
0.21791
335
15
70
22.333333
0.60687
0.137313
0
0
1
0
0.362369
0.33101
0
0
0
0
0
1
0
false
0
0.111111
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a42c30234b3cb9b1bf3706f896598d1f485e00b
7,765
py
Python
PhysicsTools/Heppy/python/analyzers/objects/TauAnalyzer.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
PhysicsTools/Heppy/python/analyzers/objects/TauAnalyzer.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
PhysicsTools/Heppy/python/analyzers/objects/TauAnalyzer.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
from PhysicsTools.Heppy.analyzers.core.Analyzer import Analyzer from PhysicsTools.Heppy.analyzers.core.AutoHandle import AutoHandle from PhysicsTools.Heppy.physicsobjects.Tau import Tau from PhysicsTools.HeppyCore.utils.deltar import deltaR, matchObjectCollection3 import PhysicsTools.HeppyCore.framework.config as cfg...
45.145349
171
0.619446
890
7,765
5.294382
0.224719
0.041596
0.057301
0.052419
0.366511
0.283531
0.219228
0.171265
0.127971
0.099533
0
0.014777
0.25924
7,765
171
172
45.409357
0.804416
0.125435
0
0.096774
0
0
0.096592
0.047626
0
0
0
0
0
1
0.072581
false
0
0.040323
0
0.16129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a42e80075481314be34a3f3fd3ff44396a763e9
4,020
py
Python
vize/170401038.py
omuryorulmaz/kriptografi
04c22e4f05f126b14f41842597a7b27065326670
[ "Unlicense" ]
8
2020-04-15T12:06:42.000Z
2022-01-21T10:35:51.000Z
vize/170401038.py
omuryorulmaz/kriptografi
04c22e4f05f126b14f41842597a7b27065326670
[ "Unlicense" ]
3
2020-05-13T20:41:27.000Z
2020-06-11T00:45:27.000Z
vize/170401038.py
omuryorulmaz/kriptografi
04c22e4f05f126b14f41842597a7b27065326670
[ "Unlicense" ]
54
2020-04-23T14:58:50.000Z
2020-06-26T06:00:32.000Z
# İsmail ALTAY 170401038 import math import random r = 3271 def egcd(a,b): if(a == 0): return(b,0,1) else: c,d,e = egcd(b % a, a) return(c, e - (b // a) * d, d) def modInvert(a,b): c,d,e = egcd(a,b) if c != 1: raise Exception('moduler ters bulunamad...
26.447368
122
0.510945
495
4,020
4.151515
0.224242
0.006813
0.024331
0.016058
0.139173
0.125547
0.0691
0
0
0
0
0.028485
0.345025
4,020
151
123
26.622517
0.751614
0.005473
0
0.260504
0
0
0.131079
0
0
0
0
0
0
1
0.067227
false
0
0.016807
0.008403
0.159664
0.033613
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a42fad82c7026120ddbfdc222f7f45f5ba001fc
8,219
py
Python
seqenv/ontology.py
xapple/seqenv
a898b936b64b51340f439b05fc8909f4ed826247
[ "MIT" ]
7
2016-12-02T09:28:00.000Z
2021-11-04T13:47:16.000Z
seqenv/ontology.py
xapple/seqenv
a898b936b64b51340f439b05fc8909f4ed826247
[ "MIT" ]
7
2016-04-07T17:00:50.000Z
2018-05-14T12:16:06.000Z
seqenv/ontology.py
xapple/seqenv
a898b936b64b51340f439b05fc8909f4ed826247
[ "MIT" ]
4
2016-03-15T16:41:12.000Z
2021-12-06T09:30:35.000Z
# Built-in modules # # Internal modules # from seqenv import module_dir from seqenv.common.cache import property_cached # Third party modules # import sh, networkx import matplotlib.colors # A list of envos to help test this module # test_envos = [ "ENVO:00000033", "ENVO:00000043", "ENVO:00000067", "...
35.426724
90
0.565397
1,002
8,219
4.558882
0.257485
0.021016
0.018608
0.020797
0.20359
0.091068
0.075306
0.065674
0.058669
0.058669
0
0.01723
0.279718
8,219
231
91
35.580087
0.754392
0.100742
0
0.090164
0
0.016393
0.223596
0.03455
0
0
0
0
0.02459
0
null
null
0
0.065574
null
null
0.114754
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0a433c84b0dfa57ea11f80f51e65908aaa8c4377
87,582
py
Python
sdk/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2019_11_04/models/_models.py
adewaleo/azure-sdk-for-python
169457edbea5e3c5557246cfcf8bd635d528bae4
[ "MIT" ]
1
2020-03-05T18:10:35.000Z
2020-03-05T18:10:35.000Z
sdk/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2019_11_04/models/_models.py
adewaleo/azure-sdk-for-python
169457edbea5e3c5557246cfcf8bd635d528bae4
[ "MIT" ]
2
2020-03-03T23:11:13.000Z
2020-03-30T18:50:55.000Z
sdk/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2019_11_04/models/_models.py
adewaleo/azure-sdk-for-python
169457edbea5e3c5557246cfcf8bd635d528bae4
[ "MIT" ]
null
null
null
# coding=utf-8 # -------------------------------------------------------------------------- # 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 ...
36.706622
283
0.650042
10,063
87,582
5.50154
0.072046
0.017955
0.013312
0.020574
0.560836
0.516202
0.480203
0.432029
0.404736
0.377299
0
0.012971
0.221826
87,582
2,385
284
36.722013
0.799337
0.44258
0
0.557131
0
0.001668
0.251472
0.037216
0
0
0
0
0
1
0.05588
false
0
0.003336
0
0.209341
0.005004
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a435a4c25f9daef6a9569a6a1c22b40cc97a64d
18,579
py
Python
tests/unit/controllers/v1/test_rbac_for_supported_st2api_endpoints.py
cognifloyd/st2-open-rbac
fb3251223743e497267277fe9f5cef91f41ade34
[ "Apache-2.0" ]
null
null
null
tests/unit/controllers/v1/test_rbac_for_supported_st2api_endpoints.py
cognifloyd/st2-open-rbac
fb3251223743e497267277fe9f5cef91f41ade34
[ "Apache-2.0" ]
null
null
null
tests/unit/controllers/v1/test_rbac_for_supported_st2api_endpoints.py
cognifloyd/st2-open-rbac
fb3251223743e497267277fe9f5cef91f41ade34
[ "Apache-2.0" ]
null
null
null
# Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use th...
33.78
98
0.466171
1,604
18,579
5.262469
0.222569
0.045492
0.026063
0.036252
0.348063
0.291316
0.263713
0.192631
0.131027
0.121076
0
0.013864
0.398245
18,579
549
99
33.84153
0.741145
0.091663
0
0.315904
0
0
0.248453
0.066932
0
0
0
0
0.010893
1
0.013072
false
0
0.028322
0
0.058824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a444a2a9b00c93ede978edd61b59c20a6608e93
5,351
py
Python
testing/scripts/test_ksonnet_single_namespace.py
dtrawins/seldon-core
3d8b3791b343118953757a1e787e5919cc64e697
[ "Apache-2.0" ]
null
null
null
testing/scripts/test_ksonnet_single_namespace.py
dtrawins/seldon-core
3d8b3791b343118953757a1e787e5919cc64e697
[ "Apache-2.0" ]
null
null
null
testing/scripts/test_ksonnet_single_namespace.py
dtrawins/seldon-core
3d8b3791b343118953757a1e787e5919cc64e697
[ "Apache-2.0" ]
null
null
null
import pytest import time import subprocess from subprocess import run,Popen from seldon_utils import * from k8s_utils import * def wait_for_shutdown(deploymentName): ret = run("kubectl get deploy/"+deploymentName, shell=True) while ret.returncode == 0: time.sleep(1) ret = run("kubectl get depl...
50.481132
245
0.657073
720
5,351
4.709722
0.152778
0.053082
0.031849
0.050428
0.830434
0.784429
0.775877
0.775877
0.761722
0.730758
0
0.020525
0.216969
5,351
105
246
50.961905
0.788783
0.027658
0
0.617021
0
0.031915
0.320446
0.071552
0
0
0
0
0.12766
1
0.06383
false
0
0.06383
0
0.148936
0.12766
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0a44501273cac10db9558b11e30ff5a413b1857f
89
py
Python
enthought/envisage/safeweakref.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
3
2016-12-09T06:05:18.000Z
2018-03-01T13:00:29.000Z
enthought/envisage/safeweakref.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
1
2020-12-02T00:51:32.000Z
2020-12-02T08:48:55.000Z
enthought/envisage/safeweakref.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
null
null
null
# proxy module from __future__ import absolute_import from envisage.safeweakref import *
22.25
38
0.842697
11
89
6.363636
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.123596
89
3
39
29.666667
0.897436
0.134831
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
0a448d09286de882fe626777f47593a108a44caa
628
py
Python
test_app/models.py
alissonmuller/django-group-by
645c36ad2c3ab1f4691de6fcc04fed8b5d7ef78d
[ "MIT" ]
25
2016-09-29T15:25:16.000Z
2021-09-19T14:20:58.000Z
test_app/models.py
alissonmuller/django-group-by
645c36ad2c3ab1f4691de6fcc04fed8b5d7ef78d
[ "MIT" ]
22
2016-05-29T00:14:47.000Z
2019-06-08T13:24:21.000Z
test_app/models.py
alissonmuller/django-group-by
645c36ad2c3ab1f4691de6fcc04fed8b5d7ef78d
[ "MIT" ]
2
2018-09-24T07:28:39.000Z
2019-02-12T14:09:18.000Z
from django.db import models from .query import BookQuerySet class Book(models.Model): objects = BookQuerySet.as_manager() title = models.CharField(max_length=50) publication_date = models.DateTimeField() author = models.ForeignKey('Author') genres = models.ManyToManyField('Genre') class Autho...
23.259259
56
0.732484
77
628
5.883117
0.415584
0.165563
0.198676
0.264901
0.386313
0.271523
0.271523
0.271523
0
0
0
0.018832
0.154459
628
26
57
24.153846
0.834275
0
0
0.1875
0
0
0.02707
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
0a4491bed67c4627a06dabc6e88940ee8f57226d
14,777
py
Python
ResNet/dropblock.py
whj363636/CamDrop
f8af8c200665145f112b59348f60fc4cf80f04ec
[ "MIT" ]
null
null
null
ResNet/dropblock.py
whj363636/CamDrop
f8af8c200665145f112b59348f60fc4cf80f04ec
[ "MIT" ]
null
null
null
ResNet/dropblock.py
whj363636/CamDrop
f8af8c200665145f112b59348f60fc4cf80f04ec
[ "MIT" ]
1
2021-11-06T11:22:49.000Z
2021-11-06T11:22:49.000Z
# -*- coding: utf-8 -*- # File: dropblock.py from __future__ import absolute_import from __future__ import division from __future__ import print_function import re import six # from tensorpack.tfutils.compat import tfv1 as tf # this should be avoided first in model code from tensorpack.tfutils.tower import get_curren...
45.891304
166
0.663667
2,295
14,777
4.061002
0.116776
0.079506
0.054077
0.049356
0.688734
0.655579
0.640665
0.60676
0.603112
0.584013
0
0.021737
0.193679
14,777
322
167
45.891304
0.76047
0.35474
0
0.647399
0
0
0.067293
0
0
0
0
0
0
1
0.023121
false
0
0.046243
0
0.109827
0.00578
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a44f5460d17d97fc0728fbb786ff7e11153576a
2,374
py
Python
tutorial/deprecated/tutorial_recurrent_policy/main_a2c.py
Purple-PI/rlstructures
9b201b083715bbda2f3534b010c84e11dfc0a1c7
[ "MIT" ]
281
2021-01-13T14:20:23.000Z
2022-03-23T08:46:56.000Z
tutorial/deprecated/tutorial_recurrent_policy/main_a2c.py
Purple-PI/rlstructures
9b201b083715bbda2f3534b010c84e11dfc0a1c7
[ "MIT" ]
2
2021-01-22T23:28:34.000Z
2021-04-29T22:05:42.000Z
tutorial/deprecated/tutorial_recurrent_policy/main_a2c.py
Purple-PI/rlstructures
9b201b083715bbda2f3534b010c84e11dfc0a1c7
[ "MIT" ]
13
2021-01-15T14:53:32.000Z
2022-03-22T11:12:54.000Z
# # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # from rlstructures import logging from rlstructures.env_wrappers import GymEnv, GymEnvInf from rlstructures.tools import weight_init impor...
29.675
156
0.700505
347
2,374
4.536023
0.391931
0.031131
0.066709
0.02859
0.315756
0.259212
0.259212
0.259212
0.182973
0.182973
0
0.019691
0.208509
2,374
79
157
30.050633
0.817988
0.171019
0
0.178571
0
0
0.101582
0.01072
0
0
0
0
0
1
0.089286
false
0
0.25
0.035714
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a458f21d72d88857440d86e340b226a075998cd
19,980
py
Python
dashboard/gnd-app.py
buchmuseum/GND_Dashboard
c8c039bc8c09c480fc5ab8a0b186cd9dc37d7423
[ "CC0-1.0" ]
5
2021-01-21T17:54:23.000Z
2021-08-09T07:34:10.000Z
dashboard/gnd-app.py
buchmuseum/GND_Dashboard
c8c039bc8c09c480fc5ab8a0b186cd9dc37d7423
[ "CC0-1.0" ]
2
2021-07-27T13:38:06.000Z
2021-08-05T16:01:19.000Z
dashboard/gnd-app.py
buchmuseum/GND_Dashboard
c8c039bc8c09c480fc5ab8a0b186cd9dc37d7423
[ "CC0-1.0" ]
2
2021-03-02T12:48:14.000Z
2021-07-17T08:48:48.000Z
from matplotlib.pyplot import title import streamlit as st import pandas as pd import altair as alt import pydeck as pdk import os import glob from wordcloud import WordCloud import streamlit_analytics path = os.path.dirname(__file__) streamlit_analytics.start_tracking() @st.cache def load_gnd_top_daten(typ): gn...
50.71066
479
0.682382
2,661
19,980
5.016911
0.222097
0.021723
0.013483
0.013184
0.352584
0.299026
0.27191
0.246667
0.216704
0.202397
0
0.019279
0.174424
19,980
394
480
50.71066
0.78933
0.058809
0
0.246795
0
0.051282
0.426282
0.062457
0
0
0
0
0
1
0.041667
false
0
0.028846
0
0.092949
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a47a03d932bb0b243e96234078c92e60fb74516
891
py
Python
seamo/support/seamo_exceptions.py
amandalynne/Seattle-Mobility-Index
f21d2fa6913ce9474aedc298e9e4a6e7c9390e64
[ "MIT" ]
3
2018-08-20T18:34:03.000Z
2018-10-02T23:41:52.000Z
seamo/support/seamo_exceptions.py
amandalynne/Seattle-Mobility-Index
f21d2fa6913ce9474aedc298e9e4a6e7c9390e64
[ "MIT" ]
null
null
null
seamo/support/seamo_exceptions.py
amandalynne/Seattle-Mobility-Index
f21d2fa6913ce9474aedc298e9e4a6e7c9390e64
[ "MIT" ]
1
2018-10-02T23:42:24.000Z
2018-10-02T23:42:24.000Z
""" Class for all excpetions used in following scripts - geocoder.py - geocoder_input.py """ class OverlappingGeographyError(Exception): def __init__(self, message): self.message = message # msg: geodataframe has overlapping polygons representing geographic features # please how shapefiles are pro...
27
81
0.740741
89
891
7.179775
0.382022
0.172144
0.086072
0.140845
0.676056
0.676056
0.676056
0.676056
0.463224
0.463224
0
0
0.188552
891
33
82
27
0.883817
0.349046
0
0.666667
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
0a4800ab1d62e509adf8e4628718cf0758bb7bb5
3,189
py
Python
vize/150401052/sunucu.py
hasan-se/blm304
893d15282497a426ff96b0c8b6c77d57c406742e
[ "Unlicense" ]
1
2021-05-04T21:46:08.000Z
2021-05-04T21:46:08.000Z
vize/150401052/sunucu.py
hasan-se/blm304
893d15282497a426ff96b0c8b6c77d57c406742e
[ "Unlicense" ]
null
null
null
vize/150401052/sunucu.py
hasan-se/blm304
893d15282497a426ff96b0c8b6c77d57c406742e
[ "Unlicense" ]
null
null
null
#Erdin Alhas 150401052 import os import sys import time from socket import * from os import system, name ip = '127.0.0.1' port = 42 s_soket = socket(AF_INET, SOCK_DGRAM) s_soket.bind((ip, port)) print("\nSunucu Hazir\n") kontrol, istemciAdres = s_soket...
54.050847
107
0.444967
289
3,189
4.844291
0.311419
0.072857
0.071429
0.102857
0.396429
0.292857
0.171429
0.078571
0.078571
0.078571
0
0.039019
0.437441
3,189
59
108
54.050847
0.74136
0.006585
0
0.298246
0
0
0.134084
0
0
0
0
0
0
1
0
false
0
0.087719
0
0.087719
0.122807
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a482fa1649b42a4ec4a6b713bc6b758170e2273
12,096
py
Python
httprunner/compat.py
panyuan209/httprunner
d90f2b9ab06963e8efa1c327975fca5296d6bc39
[ "Apache-2.0" ]
null
null
null
httprunner/compat.py
panyuan209/httprunner
d90f2b9ab06963e8efa1c327975fca5296d6bc39
[ "Apache-2.0" ]
null
null
null
httprunner/compat.py
panyuan209/httprunner
d90f2b9ab06963e8efa1c327975fca5296d6bc39
[ "Apache-2.0" ]
null
null
null
""" This module handles compatibility issues between testcase format v2 and v3. 解决httprunner2 和 3 之间测试用例兼容性问题 """ import os import sys from typing import List, Dict, Text, Union, Any from loguru import logger from httprunner import exceptions from httprunner.loader import load_project_meta, convert_relative_project_r...
30.315789
112
0.61789
1,438
12,096
4.997914
0.176634
0.019897
0.016279
0.011688
0.269514
0.200362
0.132183
0.078753
0.068735
0.041185
0
0.006964
0.252149
12,096
398
113
30.39196
0.78753
0.081019
0
0.123188
0
0
0.333424
0.088195
0
0
0
0.002513
0
1
0.043478
false
0
0.050725
0
0.141304
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a49026066247a3018418704bbd8ff4e56b70f26
2,888
py
Python
examples/demo/basic/scatter.py
ContinuumIO/chaco
e4a42b91cb25ef7191fd465caaef2c3256fc668e
[ "BSD-3-Clause" ]
3
2017-09-17T17:32:06.000Z
2022-03-15T13:04:43.000Z
examples/demo/basic/scatter.py
ContinuumIO/chaco
e4a42b91cb25ef7191fd465caaef2c3256fc668e
[ "BSD-3-Clause" ]
null
null
null
examples/demo/basic/scatter.py
ContinuumIO/chaco
e4a42b91cb25ef7191fd465caaef2c3256fc668e
[ "BSD-3-Clause" ]
5
2015-05-17T16:08:11.000Z
2021-02-23T09:23:42.000Z
""" Scatter plot with panning and zooming Shows a scatter plot of a set of random points, with basic Chaco panning and zooming. Interacting with the plot: - Left-mouse-drag pans the plot. - Mouse wheel up and down zooms the plot in and out. - Pressing "z" brings up the Zoom Box, and you can click-drag a recta...
29.773196
80
0.541205
320
2,888
4.79375
0.45
0.031943
0.022164
0
0
0
0
0
0
0
0
0.006878
0.244806
2,888
96
81
30.083333
0.69647
0.421053
0
0
0
0
0.072904
0
0
0
0
0
0
1
0.042553
false
0
0.148936
0.021277
0.297872
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a4908d9ecd7f27856ad9555eafa94debe8ca0ea
1,347
py
Python
webstr/core/config.py
fbalak/webstr
7c7e552fb9943bf664b94ca75a88747c0b243722
[ "Apache-2.0" ]
3
2017-03-01T11:51:12.000Z
2018-04-16T13:09:56.000Z
webstr/core/config.py
fbalak/webstr
7c7e552fb9943bf664b94ca75a88747c0b243722
[ "Apache-2.0" ]
null
null
null
webstr/core/config.py
fbalak/webstr
7c7e552fb9943bf664b94ca75a88747c0b243722
[ "Apache-2.0" ]
1
2018-04-16T13:09:34.000Z
2018-04-16T13:09:34.000Z
""" Central configuration module of webstr selenium tests. This module provides configuration options along with default values and function to redefine values. """ # Copyright 2016 Red Hat # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the Li...
27.489796
79
0.746845
195
1,347
5.051282
0.6
0.060914
0.026396
0.032487
0
0
0
0
0
0
0
0.020871
0.181886
1,347
48
80
28.0625
0.872958
0.60876
0
0
0
0
0.03055
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a4957ae4c91cc14cfa8216c87afffecedc2a26e
641
py
Python
operations/mutations/mutation.py
PiotrBosowski/feat-genes
8e6604fd4e121022f8ac988d9b56985de01b8331
[ "MIT" ]
null
null
null
operations/mutations/mutation.py
PiotrBosowski/feat-genes
8e6604fd4e121022f8ac988d9b56985de01b8331
[ "MIT" ]
null
null
null
operations/mutations/mutation.py
PiotrBosowski/feat-genes
8e6604fd4e121022f8ac988d9b56985de01b8331
[ "MIT" ]
null
null
null
import random class Mutation: def __init__(self, chrom_mut_chance, gen_mut_chance): self.chrom_mut_chance = chrom_mut_chance self.gen_mut_chance = gen_mut_chance def __call__(self, population): chroms_to_mutate = random.sample( population, round(self.chrom_mut_...
32.05
59
0.620905
80
641
4.575
0.35
0.196721
0.153005
0.147541
0.114754
0
0
0
0
0
0
0
0.299532
641
19
60
33.736842
0.815145
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.0625
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a498f8f754b453bd4fdad3c6f6282e67b1ff4ac
1,551
py
Python
examples/CountLettersInList.py
Ellis0817/Introduction-to-Programming-Using-Python
1882a2a846162d5ff56d4d56c3940b638ef408bd
[ "MIT" ]
null
null
null
examples/CountLettersInList.py
Ellis0817/Introduction-to-Programming-Using-Python
1882a2a846162d5ff56d4d56c3940b638ef408bd
[ "MIT" ]
4
2019-11-07T12:32:19.000Z
2020-07-19T14:04:44.000Z
examples/CountLettersInList.py
Ellis0817/Introduction-to-Programming-Using-Python
1882a2a846162d5ff56d4d56c3940b638ef408bd
[ "MIT" ]
5
2019-12-04T15:56:55.000Z
2022-01-14T06:19:18.000Z
import RandomCharacter # Defined in Listing 6.9 def main(): """Main.""" # Create a list of characters chars = createList() # Display the list print("The lowercase letters are:") displayList(chars) # Count the occurrences of each letter counts = countLetters(chars) # Display cou...
23.149254
64
0.597679
204
1,551
4.544118
0.313725
0.045307
0.02589
0.047465
0.254585
0.161812
0.12082
0
0
0
0
0.019731
0.281109
1,551
66
65
23.5
0.811659
0.328175
0
0.125
0
0
0.065672
0
0
0
0
0
0
1
0.15625
false
0
0.03125
0
0.25
0.21875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a49a5caf98b95481017eff59d5dcd3666b0a6ef
1,318
py
Python
ddtrace/contrib/vertica/__init__.py
lightstep/dd-trace-py
9108cbf54ff31f803eac735507ae6d2a87b9b45f
[ "Apache-2.0", "BSD-3-Clause" ]
5
2020-03-07T01:12:29.000Z
2021-04-21T00:53:19.000Z
ddtrace/contrib/vertica/__init__.py
lightstep/dd-trace-py
9108cbf54ff31f803eac735507ae6d2a87b9b45f
[ "Apache-2.0", "BSD-3-Clause" ]
4
2019-11-22T20:58:01.000Z
2020-08-17T21:16:13.000Z
ddtrace/contrib/vertica/__init__.py
lightstep/dd-trace-py
9108cbf54ff31f803eac735507ae6d2a87b9b45f
[ "Apache-2.0", "BSD-3-Clause" ]
3
2020-03-18T16:29:20.000Z
2020-07-20T16:05:10.000Z
""" The Vertica integration will trace queries made using the vertica-python library. Vertica will be automatically instrumented with ``patch_all``, or when using the ``ls-trace-run`` command. Vertica is instrumented on import. To instrument Vertica manually use the ``patch`` function. Note the ordering of the follow...
25.346154
78
0.741275
173
1,318
5.526012
0.421965
0.08159
0.0659
0.043933
0.140167
0.073222
0
0
0
0
0
0
0.180577
1,318
51
79
25.843137
0.885185
0.800455
0
0
0
0
0.054902
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
0a49e1637a3ffcd5ae7b64809f0205d8b48bfcf6
627
py
Python
desktop/core/ext-py/python-openid-2.2.5/openid/test/test_htmldiscover.py
kokosing/hue
2307f5379a35aae9be871e836432e6f45138b3d9
[ "Apache-2.0" ]
5,079
2015-01-01T03:39:46.000Z
2022-03-31T07:38:22.000Z
desktop/core/ext-py/python-openid-2.2.5/openid/test/test_htmldiscover.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
1,623
2015-01-01T08:06:24.000Z
2022-03-30T19:48:52.000Z
desktop/core/ext-py/python-openid-2.2.5/openid/test/test_htmldiscover.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
2,033
2015-01-04T07:18:02.000Z
2022-03-28T19:55:47.000Z
from openid.consumer.discover import OpenIDServiceEndpoint import datadriven class BadLinksTestCase(datadriven.DataDrivenTestCase): cases = [ '', "http://not.in.a.link.tag/", '<link rel="openid.server" href="not.in.html.or.head" />', ] def __init__(self, data): datadriv...
28.5
80
0.660287
63
627
6.380952
0.603175
0.079602
0.059701
0
0
0
0
0
0
0
0
0
0.212121
627
21
81
29.857143
0.813765
0
0
0
0
0.058824
0.1563
0.041467
0
0
0
0
0
1
0.176471
false
0
0.117647
0.058824
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a4ab6a6c7a8f22ae4262d99f43041e035e6b535
602
py
Python
project/settings/production.py
chiehtu/kissaten
a7aad01de569107d5fd5ed2cd781bca6e5750871
[ "MIT" ]
null
null
null
project/settings/production.py
chiehtu/kissaten
a7aad01de569107d5fd5ed2cd781bca6e5750871
[ "MIT" ]
null
null
null
project/settings/production.py
chiehtu/kissaten
a7aad01de569107d5fd5ed2cd781bca6e5750871
[ "MIT" ]
null
null
null
from .base import * SECRET_KEY = get_env_var('SECRET_KEY') CSRF_COOKIE_SECURE = True SESSION_COOKIE_SECURE = True TEMPLATE_LOADERS = ( ('django.template.loaders.cached.Loader', ( 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', )), ) EMAIL_BACK...
18.8125
61
0.750831
81
602
5.197531
0.493827
0.106888
0.064133
0.128266
0.085511
0
0
0
0
0
0
0.00578
0.137874
602
31
62
19.419355
0.805395
0
0
0
0
0
0.373754
0.277409
0
0
0
0
0
1
0
false
0.055556
0.055556
0
0.055556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0a4b453e9f68bd48c8b434b43c7c61e7c47c248d
3,400
py
Python
modelflow/graph_viz_from_outputs.py
ModelFlow/modelflow
c2b720b2da8bb17462baff5c00bbe942644474b0
[ "MIT" ]
6
2020-07-28T19:58:28.000Z
2021-05-01T18:51:37.000Z
modelflow/graph_viz_from_outputs.py
ModelFlow/modelflow
c2b720b2da8bb17462baff5c00bbe942644474b0
[ "MIT" ]
81
2020-07-30T07:08:10.000Z
2021-07-28T02:17:43.000Z
modelflow/graph_viz_from_outputs.py
ModelFlow/modelflow
c2b720b2da8bb17462baff5c00bbe942644474b0
[ "MIT" ]
null
null
null
import pandas as pd import argparse import json try: from graphviz import Digraph except: print("Note: Optional graphviz not installed") def generate_graph(df, graph_format='pdf'): g = Digraph('ModelFlow', filename='modelflow.gv', engine='neato', format=graph_format) g.attr(overlap='false') g.attr...
32.380952
95
0.577941
446
3,400
4.188341
0.262332
0.192719
0.077088
0.04818
0.457173
0.413276
0.38651
0.314775
0.314775
0.314775
0
0.015783
0.273235
3,400
104
96
32.692308
0.740186
0.045
0
0.371795
1
0
0.087037
0
0
0
0
0.009615
0
1
0.051282
false
0
0.051282
0
0.141026
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a4c02948fcf1ba6f4a5b3cae666b7bb9cd4c29a
4,508
py
Python
src/command/voice_log/chart.py
link1345/Vol-GameClanTools-DiscordBot
c3349f38d59cba59161b8c54c172e39ba873c53d
[ "MIT" ]
null
null
null
src/command/voice_log/chart.py
link1345/Vol-GameClanTools-DiscordBot
c3349f38d59cba59161b8c54c172e39ba873c53d
[ "MIT" ]
25
2021-08-11T13:02:18.000Z
2021-08-20T23:24:19.000Z
src/command/voice_log/chart.py
link1345/Vol-GameClanTools-DiscordBot
c3349f38d59cba59161b8c54c172e39ba873c53d
[ "MIT" ]
null
null
null
import discord import os import json import datetime import pandas as pd from dateutil.relativedelta import relativedelta from pprint import pprint import base.ColorPrint as CPrint import command.voice_log.Config_Main as CSetting def most_old_Month() : old_month = 1 labels = [] fileNameList = [] while True : ...
23.479167
154
0.675244
593
4,508
5.016863
0.306914
0.020168
0.031933
0.025546
0.08605
0.08605
0.063193
0.053782
0.053782
0.021513
0
0.008139
0.182343
4,508
191
155
23.602094
0.798969
0.110248
0
0.104762
0
0
0.050894
0
0
0
0
0
0
1
0.019048
false
0
0.095238
0
0.190476
0.038095
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a4c68a0832d4cee3f0250c6c84f885007935c0b
194
py
Python
5kyu/(5 kyu) Count IP Addresses/(5 kyu) Count IP Addresses.py
e1r0nd/codewars
9b05e32a26ee5f36a4b3f1e76a71e0c79b3c865b
[ "MIT" ]
49
2018-04-30T06:42:45.000Z
2021-07-22T16:39:02.000Z
5kyu/(5 kyu) Count IP Addresses/(5 kyu) Count IP Addresses.py
nis24jit/codewars-3
1a0d910af12f8af6e1070c31a30ba3c785a9b857
[ "MIT" ]
1
2020-08-31T02:36:53.000Z
2020-08-31T10:14:00.000Z
5kyu/(5 kyu) Count IP Addresses/(5 kyu) Count IP Addresses.py
nis24jit/codewars-3
1a0d910af12f8af6e1070c31a30ba3c785a9b857
[ "MIT" ]
25
2018-04-02T20:57:58.000Z
2021-05-28T15:24:51.000Z
def ips_between(start, end): calc = lambda n, m: (int(end.split(".")[n]) - int(start.split(".")[n])) * m return calc(0, 256 * 256 * 256) + calc(1, 256 * 256) + calc(2, 256) + calc(3, 1)
48.5
84
0.546392
34
194
3.088235
0.5
0.171429
0.190476
0
0
0
0
0
0
0
0
0.148387
0.201031
194
3
85
64.666667
0.529032
0
0
0
0
0
0.010309
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
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
0
0
0
0
1
0
0
4
0a4c9bc797a43e5add896c8bde8af43dfb42905c
23,511
py
Python
python/src/vmaf/core/feature_extractor.py
jayholman/vmaf
0bba4faf68ab89e38314cc596e6908b4fb83984d
[ "Apache-2.0" ]
40
2019-07-04T06:22:10.000Z
2022-03-10T14:49:33.000Z
python/src/vmaf/core/feature_extractor.py
jayholman/vmaf
0bba4faf68ab89e38314cc596e6908b4fb83984d
[ "Apache-2.0" ]
null
null
null
python/src/vmaf/core/feature_extractor.py
jayholman/vmaf
0bba4faf68ab89e38314cc596e6908b4fb83984d
[ "Apache-2.0" ]
8
2019-08-20T08:14:41.000Z
2021-11-18T07:01:19.000Z
from abc import ABCMeta, abstractmethod import os from vmaf.tools.misc import make_absolute_path, run_process from vmaf.tools.stats import ListStats __copyright__ = "Copyright 2016-2018, Netflix, Inc." __license__ = "Apache, Version 2.0" import re import numpy as np import ast from vmaf import ExternalProgramCaller,...
44.02809
146
0.663562
3,134
23,511
4.554882
0.087428
0.105919
0.055482
0.052539
0.716848
0.672644
0.601191
0.565254
0.443923
0.41289
0
0.019697
0.246395
23,511
533
147
44.110694
0.78598
0.138616
0
0.288043
0
0
0.092788
0.002732
0
0
0
0
0.024457
1
0.040761
false
0
0.032609
0.005435
0.184783
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a4d54d89c32a47c57e2c8a928a39b69e030c881
35
py
Python
notebooks/_solutions/pandas_02_basic_operations28.py
rprops/Python_DS-WS
b2fc449a74be0c82863e5fcf1ddbe7d64976d530
[ "BSD-3-Clause" ]
65
2017-03-21T09:15:40.000Z
2022-02-01T23:43:08.000Z
notebooks/_solutions/pandas_02_basic_operations28.py
rprops/Python_DS-WS
b2fc449a74be0c82863e5fcf1ddbe7d64976d530
[ "BSD-3-Clause" ]
100
2016-12-15T03:44:06.000Z
2022-03-07T08:14:07.000Z
notebooks/_solutions/pandas_02_basic_operations28.py
rprops/Python_DS-WS
b2fc449a74be0c82863e5fcf1ddbe7d64976d530
[ "BSD-3-Clause" ]
52
2016-12-19T07:48:52.000Z
2022-02-19T17:53:48.000Z
df['Age'].hist() #bins=30, log=True
35
35
0.628571
7
35
3.142857
1
0
0
0
0
0
0
0
0
0
0
0.060606
0.057143
35
1
35
35
0.606061
0.485714
0
0
0
0
0.166667
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
0a4ed29474e7c8d2e3be0b36b2cae77e32eb65c8
376
py
Python
controller/base_service.py
oopsteams/pansite
11896842da66efc72c26eab071f7f802b982f435
[ "MIT" ]
null
null
null
controller/base_service.py
oopsteams/pansite
11896842da66efc72c26eab071f7f802b982f435
[ "MIT" ]
1
2021-06-02T01:00:41.000Z
2021-06-02T01:00:41.000Z
controller/base_service.py
oopsteams/pansite
11896842da66efc72c26eab071f7f802b982f435
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created by susy at 2019/11/8 """ from dao.dao import DataDao import pytz from dao.models import PanAccounts from cfg import PAN_SERVICE, MASTER_ACCOUNT_ID class BaseService: def __init__(self): self.default_tz = pytz.timezone('Asia/Chongqing') # self.pan_acc: PanAccoun...
23.5
88
0.726064
54
376
4.814815
0.648148
0.053846
0.115385
0
0
0
0
0
0
0
0
0.025559
0.167553
376
15
89
25.066667
0.805112
0.345745
0
0
0
0
0.059072
0
0
0
0
0
0
1
0.142857
false
0
0.571429
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0a4f114d5336abdf79c1eeb8751aaf58a158b4d8
1,382
py
Python
transformerquant/modules/attention/multi_head.py
StateOfTheArt-quant/transformerquant
f6775d7aa920b84908b0a09d9ba098b1fe87bdff
[ "Apache-2.0" ]
22
2019-11-02T12:00:38.000Z
2022-02-16T08:00:36.000Z
transformerquant/modules/attention/multi_head.py
StateOfTheArt-quant/transformerquant
f6775d7aa920b84908b0a09d9ba098b1fe87bdff
[ "Apache-2.0" ]
null
null
null
transformerquant/modules/attention/multi_head.py
StateOfTheArt-quant/transformerquant
f6775d7aa920b84908b0a09d9ba098b1fe87bdff
[ "Apache-2.0" ]
6
2020-04-19T08:10:03.000Z
2021-12-07T05:59:46.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import torch.nn as nn from .single import attention class MultiHeadedAttention(nn.Module): def __init__(self, d_model, nhead, dropout=0.1): super().__init__() assert d_model % nhead ==0 # we assume d_v always equal d_k s...
35.435897
92
0.595514
202
1,382
3.925743
0.391089
0.06053
0.065574
0.035309
0.123581
0.123581
0.07314
0.07314
0.07314
0
0
0.017294
0.288712
1,382
39
93
35.435897
0.78942
0.184515
0
0
0
0
0
0
0
0
0
0
0.047619
1
0.095238
false
0
0.095238
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a50b1cbdb77a8f4dc63235c790b37c0f8c9b3d2
5,658
py
Python
avatar/generalization.py
Julian-Theis/AVATAR
24fcd6eaa26f413be528a160d865d5d7e49a780b
[ "MIT" ]
7
2020-12-22T12:09:14.000Z
2022-03-29T12:50:35.000Z
avatar/generalization.py
ProminentLab/AVATAR
a20c767d8739a52f538927b4ec3d528952263d5a
[ "MIT" ]
10
2020-11-13T17:45:59.000Z
2022-02-10T00:50:38.000Z
avatar/generalization.py
ProminentLab/AVATAR
a20c767d8739a52f538927b4ec3d528952263d5a
[ "MIT" ]
2
2020-03-26T22:27:27.000Z
2020-07-07T22:36:41.000Z
import os, time, argparse from datetime import datetime from pm4py.objects.log.importer.csv import factory as csv_importer from pm4py.objects.log.exporter.xes import factory as xes_exporter from pm4py.objects.log.importer.xes import factory as xes_importer from pm4py.objects.petri.importer import pnml as pnml_importer...
39.84507
166
0.61824
728
5,658
4.623626
0.197802
0.019608
0.029709
0.041592
0.455437
0.366013
0.3571
0.345811
0.345811
0.301842
0
0.006744
0.240014
5,658
142
167
39.84507
0.776047
0
0
0.247788
0
0
0.145109
0.008062
0
0
0
0
0
1
0.026549
false
0
0.106195
0
0.141593
0.079646
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a515a3d5abf09db1a4745bebd807a1a69030c04
219
py
Python
Introductions/The Rust Programming Language/embed/bindings/embed.py
uqtimes/Rust-SampleCodes
f9d7a040d8198acd30bf3423e7c6cf52bc9c7b6e
[ "MIT" ]
null
null
null
Introductions/The Rust Programming Language/embed/bindings/embed.py
uqtimes/Rust-SampleCodes
f9d7a040d8198acd30bf3423e7c6cf52bc9c7b6e
[ "MIT" ]
null
null
null
Introductions/The Rust Programming Language/embed/bindings/embed.py
uqtimes/Rust-SampleCodes
f9d7a040d8198acd30bf3423e7c6cf52bc9c7b6e
[ "MIT" ]
null
null
null
# $ python embed.py from ctypes import cdll lib = cdll.LoadLibrary("../target/release/libembed.dylib") #=> for Mac #lib = cdll.LoadLibrary("../target/release/libembed.so") #=> for Linux lib.process() print("done!")
19.909091
70
0.689498
29
219
5.206897
0.689655
0.092715
0.238411
0.317881
0.516556
0.516556
0
0
0
0
0
0
0.118721
219
10
71
21.9
0.782383
0.43379
0
0
0
0
0.310924
0.268908
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0a51f623e8f7d8887b5aa54af4a94e17cde8759e
6,960
py
Python
huaweicloud-sdk-image/huaweicloudsdkimage/v1/image_client.py
handsome-baby/huaweicloud-sdk-python-v3
6cdcf1da8b098427e58fc3335a387c14df7776d0
[ "Apache-2.0" ]
1
2021-04-16T07:59:28.000Z
2021-04-16T07:59:28.000Z
huaweicloud-sdk-image/huaweicloudsdkimage/v1/image_client.py
Lencof/huaweicloud-sdk-python-v3
d13dc4e2830a83e295be6e4de021999b3376e34e
[ "Apache-2.0" ]
null
null
null
huaweicloud-sdk-image/huaweicloudsdkimage/v1/image_client.py
Lencof/huaweicloud-sdk-python-v3
d13dc4e2830a83e295be6e4de021999b3376e34e
[ "Apache-2.0" ]
1
2022-01-17T02:24:18.000Z
2022-01-17T02:24:18.000Z
# coding: utf-8 from __future__ import absolute_import import datetime import re import importlib import six from huaweicloudsdkcore.client import Client, ClientBuilder from huaweicloudsdkcore.exceptions import exceptions from huaweicloudsdkcore.utils import http_utils from huaweicloudsdkcore.sdk_stream_request imp...
32.985782
135
0.653305
718
6,960
6.050139
0.229805
0.033149
0.025783
0.024171
0.536832
0.526243
0.493094
0.481123
0.481123
0.481123
0
0.001769
0.268822
6,960
210
136
33.142857
0.851837
0.243966
0
0.555556
0
0
0.077468
0.039846
0
0
0
0
0
1
0.059829
false
0
0.08547
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a52fbe0941050c6bef7a51be53e3c24aa5d63bd
18,295
py
Python
frank_wolfe.py
ebezzam/PolyatomicFW_SPL
7fbbead5a642915c4bb4d061006b7dac8f6af788
[ "MIT" ]
null
null
null
frank_wolfe.py
ebezzam/PolyatomicFW_SPL
7fbbead5a642915c4bb4d061006b7dac8f6af788
[ "MIT" ]
null
null
null
frank_wolfe.py
ebezzam/PolyatomicFW_SPL
7fbbead5a642915c4bb4d061006b7dac8f6af788
[ "MIT" ]
1
2022-02-23T07:18:03.000Z
2022-02-23T07:18:03.000Z
import numpy as np from typing import Optional, Any from pandas import DataFrame from copy import deepcopy from abc import abstractmethod from utils import TimedGenericIterativeAlgorithm import pycsou.core as pcore import pycsou.linop as pl from pycsou.func.penalty import L1Norm from pycsou.func.loss import SquaredL2...
54.287834
135
0.574857
1,913
18,295
5.292211
0.111343
0.021335
0.022718
0.02825
0.586033
0.538424
0.469676
0.439154
0.406262
0.374654
0
0.012902
0.330637
18,295
336
136
54.449405
0.813817
0.023066
0
0.417544
0
0
0.055649
0.001346
0
0
0
0
0
1
0.049123
false
0.003509
0.038596
0
0.129825
0.017544
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a5476d41706f1feaac0aa6254b09258ce332025
1,700
py
Python
lib/rdflib-3.1.0/test/test_trix_serialize.py
suzuken/xbrlparser
d9309081b8d21113ebb7a0983c677bee971af0a1
[ "MIT" ]
3
2015-01-12T16:16:50.000Z
2020-03-20T03:22:36.000Z
lib/rdflib-3.1.0/test/test_trix_serialize.py
suzuken/xbrlparser
d9309081b8d21113ebb7a0983c677bee971af0a1
[ "MIT" ]
null
null
null
lib/rdflib-3.1.0/test/test_trix_serialize.py
suzuken/xbrlparser
d9309081b8d21113ebb7a0983c677bee971af0a1
[ "MIT" ]
null
null
null
#!/usr/bin/env python import unittest from rdflib.graph import ConjunctiveGraph from rdflib.term import URIRef, Literal from rdflib.graph import Graph class TestTrixSerialize(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def testSerialize(self): s1 = URIRef...
26.984127
72
0.597059
236
1,700
4.262712
0.427966
0.047714
0.011928
0.04175
0.117296
0.101392
0.053678
0.053678
0.053678
0
0
0.029009
0.27
1,700
62
73
27.419355
0.781628
0.160588
0
0.051282
0
0
0.068966
0
0
0
0
0.016129
0.025641
1
0.076923
false
0.051282
0.128205
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
0a554fb894afeaf01a54f7e6b34139ca26334475
862
py
Python
dbschema/revertDBinstall.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
null
null
null
dbschema/revertDBinstall.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
null
null
null
dbschema/revertDBinstall.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
1
2019-09-05T20:58:37.000Z
2019-09-05T20:58:37.000Z
#!/usr/bin/env python from sinedon import dbupgrade, dbconfig import updatelib project_dbupgrade = dbupgrade.DBUpgradeTools('projectdata', drop=True) if __name__ == "__main__": updatelib_inst = updatelib.UpdateLib(project_dbupgrade) checkout_version = raw_input('Revert to checkout version, for example, 2.1 -->') i...
41.047619
90
0.759861
114
862
5.54386
0.517544
0.142405
0.079114
0.050633
0.075949
0
0
0
0
0
0
0.040789
0.118329
862
20
91
43.1
0.790789
0.023202
0
0
0
0
0.326992
0
0
0
0
0
0
0
null
null
0
0.117647
null
null
0.176471
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0a56848b910320fe7cdd13bea4f9b4579072e4c7
724
py
Python
fightchurn/listings/chap9/listing_9_4_regression_cparam.py
guy4261/fight-churn
f3820edd6d4af5e0bd625434d3ad4236aa781ef4
[ "MIT" ]
151
2019-04-26T19:05:14.000Z
2022-03-28T10:11:53.000Z
fightchurn/listings/chap9/listing_9_4_regression_cparam.py
guy4261/fight-churn
f3820edd6d4af5e0bd625434d3ad4236aa781ef4
[ "MIT" ]
15
2019-08-05T06:35:00.000Z
2022-03-31T02:58:30.000Z
fightchurn/listings/chap9/listing_9_4_regression_cparam.py
guy4261/fight-churn
f3820edd6d4af5e0bd625434d3ad4236aa781ef4
[ "MIT" ]
71
2019-06-07T17:50:04.000Z
2022-03-27T02:49:24.000Z
from sklearn.linear_model import LogisticRegression from fightchurn.listings.chap8.listing_8_2_logistic_regression import prepare_data, save_regression_model from fightchurn.listings.chap8.listing_8_2_logistic_regression import save_regression_summary, save_dataset_predictions def regression_cparam(data_set_path, C_pa...
51.714286
119
0.825967
111
724
4.954955
0.36036
0.063636
0.1
0.123636
0.403636
0.330909
0.330909
0.330909
0.330909
0.218182
0
0.01214
0.089779
724
13
120
55.692308
0.822458
0
0
0
0
0
0.026279
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a56c8065ff434f391ba424536df2984e5ef9221
3,396
py
Python
notebooks/classical_clustering.py
prise6/smart-iss-posts
fc913078e7fbe6343fd36ec6ca9852322247da5d
[ "MIT" ]
null
null
null
notebooks/classical_clustering.py
prise6/smart-iss-posts
fc913078e7fbe6343fd36ec6ca9852322247da5d
[ "MIT" ]
10
2020-01-28T23:15:20.000Z
2022-03-12T00:12:31.000Z
notebooks/classical_clustering.py
prise6/smart-iss-posts
fc913078e7fbe6343fd36ec6ca9852322247da5d
[ "MIT" ]
null
null
null
#%% [markdown] # # Clustering classique #%% [markdown] # ## import classique import os #%% %load_ext autoreload %autoreload 2 os.chdir('/home/jovyan/work') #%% [markdown] # ## Import iss #%% from iss.tools import Config from iss.tools import Tools from iss.models import SimpleConvAutoEncoder from iss.clustering imp...
22.196078
152
0.707008
441
3,396
5.272109
0.342404
0.044731
0.075699
0.03957
0.343226
0.295914
0.190968
0.162581
0.141505
0.141505
0
0.019614
0.12927
3,396
152
153
22.342105
0.766655
0.232332
0
0.043478
0
0
0.076801
0.033426
0
0
0
0
0
0
null
null
0
0.195652
null
null
0.065217
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0a56fc807619248f05b24361a88a0d2de688ca4d
2,156
py
Python
SM_28BYJ48/logger/logger.py
kaulketh/stepper-motor-stuff
ca7cc78279b378e5ad8e19f9c77b794a43d9a07e
[ "Unlicense" ]
null
null
null
SM_28BYJ48/logger/logger.py
kaulketh/stepper-motor-stuff
ca7cc78279b378e5ad8e19f9c77b794a43d9a07e
[ "Unlicense" ]
null
null
null
SM_28BYJ48/logger/logger.py
kaulketh/stepper-motor-stuff
ca7cc78279b378e5ad8e19f9c77b794a43d9a07e
[ "Unlicense" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- # ----------------------------------------------------------- # created 02.02.2021, tkaulke # Thomas Kaulke, kaulkth@gmail.com # https://github.com/kaulketh # ----------------------------------------------------------- __author__ = "Thomas Kaulke" __email__ = "kaulketh@gmail...
28.746667
78
0.652597
274
2,156
4.905109
0.408759
0.053571
0.029762
0.041667
0.212798
0.150298
0.150298
0.09375
0.09375
0.09375
0
0.009518
0.171614
2,156
74
79
29.135135
0.743001
0.224954
0
0.133333
0
0
0.176649
0.027828
0
0
0
0
0
1
0.022222
false
0.044444
0.088889
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a5717bafa0ff0998fa59136b620ff9a8093ee50
11,521
py
Python
tests/test_mr_uplift.py
Ibotta/mr_uplift
e1facd39a87683dfdeaf7b08336e0ce781ff87cf
[ "Apache-2.0" ]
48
2020-04-22T16:57:55.000Z
2022-02-02T00:21:13.000Z
tests/test_mr_uplift.py
Ibotta/mr_uplift
e1facd39a87683dfdeaf7b08336e0ce781ff87cf
[ "Apache-2.0" ]
6
2020-05-01T18:15:22.000Z
2022-02-21T07:26:18.000Z
tests/test_mr_uplift.py
Ibotta/mr_uplift
e1facd39a87683dfdeaf7b08336e0ce781ff87cf
[ "Apache-2.0" ]
4
2020-04-25T08:41:34.000Z
2022-01-08T11:21:23.000Z
import numpy as np import pytest from mr_uplift.dataset.data_simulation import get_no_noise_data, get_simple_uplift_data, get_observational_uplift_data_1 from mr_uplift.mr_uplift import MRUplift, get_t_data from mr_uplift.keras_model_functionality import prepare_data_optimized_loss import sys import pandas as pd clas...
42.356618
174
0.63432
1,699
11,521
3.964685
0.090642
0.040083
0.02405
0.026722
0.790974
0.74139
0.683492
0.665083
0.662411
0.627969
0
0.0394
0.23557
11,521
271
175
42.512915
0.725446
0
0
0.524064
0
0
0.012846
0.00868
0
0
0
0
0.181818
1
0.058824
false
0
0.037433
0
0.101604
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0a57479ced46772f03d9c9dc023a3217a695d37d
345
py
Python
lambdataalchemani/lambda_test.py
Full-Data-Alchemist/lambdata-Mani-alch
90dcbc091d8f9841d5a1046e64437058a4156dc5
[ "MIT" ]
null
null
null
lambdataalchemani/lambda_test.py
Full-Data-Alchemist/lambdata-Mani-alch
90dcbc091d8f9841d5a1046e64437058a4156dc5
[ "MIT" ]
null
null
null
lambdataalchemani/lambda_test.py
Full-Data-Alchemist/lambdata-Mani-alch
90dcbc091d8f9841d5a1046e64437058a4156dc5
[ "MIT" ]
null
null
null
""" """ import unittest from example_module import COLORS, increment class ExampleTest(unittest.TestCase): """ #TODO """ def test_increment(self): x0 = 0 y0 = increment(x0) #y0 == 1 self.assertEqual(y0, 1) x1 = 100 y1 = increment(x1) #y1 == 101 se...
15.681818
44
0.550725
39
345
4.820513
0.589744
0.031915
0
0
0
0
0
0
0
0
0
0.094421
0.324638
345
21
45
16.428571
0.712446
0.063768
0
0
0
0
0
0
0
0
0
0.047619
0.2
1
0.1
false
0
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0a585a8c735b3266210fbee5416e533aa2feb0c6
8,847
py
Python
desktop/core/src/desktop/auth/views.py
bopopescu/hue-5
665c275d0c0570b1a4a34a293503cc72ec35695c
[ "Apache-2.0" ]
1
2018-05-07T05:40:36.000Z
2018-05-07T05:40:36.000Z
desktop/core/src/desktop/auth/views.py
lockhart39/HueQualityAndIngestionApp
c75e55a43a8bdeb7aa0f5bf2101ec72b01dcac1c
[ "Apache-2.0" ]
null
null
null
desktop/core/src/desktop/auth/views.py
lockhart39/HueQualityAndIngestionApp
c75e55a43a8bdeb7aa0f5bf2101ec72b01dcac1c
[ "Apache-2.0" ]
1
2022-03-21T09:41:35.000Z
2022-03-21T09:41:35.000Z
#!/usr/bin/env python # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you ma...
34.158301
126
0.722505
1,136
8,847
5.442782
0.242958
0.019408
0.022643
0.018114
0.19214
0.172893
0.123403
0.110464
0.096232
0.082161
0
0.001513
0.178026
8,847
258
127
34.290698
0.848735
0.119363
0
0.222857
0
0
0.11319
0.01041
0
0
0
0
0.005714
0
null
null
0.017143
0.131429
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0a58933890bb698e85d3cfefe359ee1effd69d83
1,050
py
Python
models/node.py
AlonsoReyes/t-intersection-graph
68bab234cd6e334edcec27bfee3e019f08997945
[ "MIT" ]
null
null
null
models/node.py
AlonsoReyes/t-intersection-graph
68bab234cd6e334edcec27bfee3e019f08997945
[ "MIT" ]
null
null
null
models/node.py
AlonsoReyes/t-intersection-graph
68bab234cd6e334edcec27bfee3e019f08997945
[ "MIT" ]
null
null
null
class Node(object): def __init__(self, name, follow_list, intention, lane): self.name = name self.follow_list = follow_list self.intention = intention self.lane = lane def __eq__(self, other): if isinstance(other, Node): if self.name == other.get...
26.25
99
0.591429
129
1,050
4.573643
0.162791
0.186441
0.118644
0.067797
0.122034
0
0
0
0
0
0
0
0.320952
1,050
39
100
26.923077
0.827489
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.357143
false
0
0
0.142857
0.607143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0a58e531ca2dae9287cb878ce3e08653ca7ffa30
1,451
py
Python
gsheetsdb/url.py
tim-werner/gsheets-db-api
12f2a4fbe1bd5aa36781226759326ce782b08a91
[ "MIT" ]
3
2021-02-23T06:40:35.000Z
2022-03-14T23:13:10.000Z
gsheetsdb/url.py
tim-werner/gsheets-db-api
12f2a4fbe1bd5aa36781226759326ce782b08a91
[ "MIT" ]
null
null
null
gsheetsdb/url.py
tim-werner/gsheets-db-api
12f2a4fbe1bd5aa36781226759326ce782b08a91
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from collections import OrderedDict from moz_sql_parser import parse as parse_sql import pyparsing import re from six.moves.urllib import parse FROM_REGEX = re.compile...
25.45614
63
0.626465
191
1,451
4.612565
0.371728
0.045403
0.072645
0
0
0
0
0
0
0
0
0.006346
0.239835
1,451
56
64
25.910714
0.792384
0.022743
0
0.046512
0
0
0.066384
0
0
0
0
0
0
1
0.046512
false
0
0.209302
0
0.325581
0.023256
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a5afdc282108af1d03f7c2caaa0527030efeee6
5,178
py
Python
detr/datasets/construction_panoptic.py
joyjeni/detr-fine
dfc0f4abc2579a2b3ef4527904af3345c7a9de4d
[ "Apache-2.0" ]
null
null
null
detr/datasets/construction_panoptic.py
joyjeni/detr-fine
dfc0f4abc2579a2b3ef4527904af3345c7a9de4d
[ "Apache-2.0" ]
null
null
null
detr/datasets/construction_panoptic.py
joyjeni/detr-fine
dfc0f4abc2579a2b3ef4527904af3345c7a9de4d
[ "Apache-2.0" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import json from pathlib import Path import numpy as np import torch from PIL import Image from panopticapi.utils import rgb2id # from util.box_ops import masks_to_boxes from .construction import make_construction_transforms import logging def...
30.821429
115
0.571649
653
5,178
4.358346
0.235835
0.034434
0.029515
0.03338
0.152846
0.121926
0.077653
0.068166
0.021785
0
0
0.008303
0.30224
5,178
167
116
31.005988
0.779408
0.117613
0
0.035398
0
0
0.086078
0
0
0
0
0
0.017699
1
0.061947
false
0
0.070796
0.00885
0.19469
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a5cd9823d91b39775866f431a665d36a045cbd2
2,450
py
Python
Code/all-starter-code/search.py
diyarkudrat/CS-1.3-Core-Data-Structures
7d7d48ad7913cded7b0ea75ced144d0a08989924
[ "MIT" ]
null
null
null
Code/all-starter-code/search.py
diyarkudrat/CS-1.3-Core-Data-Structures
7d7d48ad7913cded7b0ea75ced144d0a08989924
[ "MIT" ]
null
null
null
Code/all-starter-code/search.py
diyarkudrat/CS-1.3-Core-Data-Structures
7d7d48ad7913cded7b0ea75ced144d0a08989924
[ "MIT" ]
null
null
null
#!python """ ANNOTATE FUNCTIONS WITH TIME AND SPACE COMPLEXITY!!!!! """ def linear_search(array, item): """return the first index of item in array or None if item is not found""" return linear_search_iterative(array, item) # return linear_search_recursive(array, item) def linear_search_iterative(ar...
27.222222
117
0.628571
335
2,450
4.525373
0.223881
0.077177
0.092348
0.110818
0.48285
0.384565
0.094987
0.043536
0.043536
0
0
0.011306
0.277959
2,450
89
118
27.52809
0.845676
0.365306
0
0.439024
0
0
0
0
0
0
0
0.011236
0
1
0.146341
false
0
0
0
0.487805
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0a5d7faf0aee2e49257e320032c83e577c7a4db4
2,994
py
Python
max_ai/src/max_ai/mem_db.py
mat-heim/max_ros
e01e4f5b2db96d94865d80452d41b8dcf1412232
[ "Apache-2.0" ]
null
null
null
max_ai/src/max_ai/mem_db.py
mat-heim/max_ros
e01e4f5b2db96d94865d80452d41b8dcf1412232
[ "Apache-2.0" ]
null
null
null
max_ai/src/max_ai/mem_db.py
mat-heim/max_ros
e01e4f5b2db96d94865d80452d41b8dcf1412232
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python ''' memory class stored in sqlite data base holds raw input and memories in parse taged columns ''' import sys import re import sqlite3 import os from datetime import date, datetime from pattern.en import parse from pattern.en import pprint from pattern.en import parsetree from pattern.en import ...
31.1875
108
0.58684
375
2,994
4.618667
0.357333
0.038106
0.045035
0.06582
0.129908
0.073903
0.073903
0
0
0
0
0.006524
0.283233
2,994
95
109
31.515789
0.800559
0.237475
0
0.133333
0
0
0.174202
0.022606
0
0
0
0
0
1
0.15
false
0
0.183333
0.016667
0.433333
0.016667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a5e25995315baeb1a8d9bd6a0b259803f947416
1,768
py
Python
examples/pylab_examples/image_masked.py
pierre-haessig/matplotlib
0d945044ca3fbf98cad55912584ef80911f330c6
[ "MIT", "PSF-2.0", "BSD-3-Clause" ]
16
2016-06-14T19:45:35.000Z
2020-11-30T19:02:58.000Z
examples/pylab_examples/image_masked.py
pierre-haessig/matplotlib
0d945044ca3fbf98cad55912584ef80911f330c6
[ "MIT", "PSF-2.0", "BSD-3-Clause" ]
7
2015-05-08T19:36:25.000Z
2015-06-30T15:32:17.000Z
examples/pylab_examples/image_masked.py
pierre-haessig/matplotlib
0d945044ca3fbf98cad55912584ef80911f330c6
[ "MIT", "PSF-2.0", "BSD-3-Clause" ]
6
2015-06-05T03:34:06.000Z
2022-01-25T09:07:10.000Z
#!/usr/bin/env python '''imshow with masked array input and out-of-range colors. The second subplot illustrates the use of BoundaryNorm to get a filled contour effect. ''' from pylab import * from numpy import ma import matplotlib.colors as colors delta = 0.025 x = y = arange(-3.0, 3.0, delta) X, Y = meshgri...
31.571429
70
0.673643
300
1,768
3.943333
0.453333
0.013525
0.010144
0.02874
0.138631
0.059172
0.059172
0.059172
0.059172
0.059172
0
0.051176
0.182127
1,768
55
71
32.145455
0.766943
0.381787
0
0.129032
0
0
0.106942
0
0
0
0
0
0
1
0
false
0
0.096774
0
0.096774
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a5ebfcd3225195296a0dbc5f193ada9ab19e141
164
py
Python
app/schemas/socket.py
d3vzer0/reternal-backend
aeeb613c820759212e7aef9150738a66b2882d50
[ "MIT" ]
6
2019-01-01T23:38:12.000Z
2021-07-27T03:43:11.000Z
app/schemas/socket.py
d3vzer0/reternal-backend
aeeb613c820759212e7aef9150738a66b2882d50
[ "MIT" ]
1
2020-08-02T00:21:41.000Z
2020-08-02T00:21:41.000Z
app/schemas/socket.py
d3vzer0/reternal-backend
aeeb613c820759212e7aef9150738a66b2882d50
[ "MIT" ]
1
2021-07-27T03:43:24.000Z
2021-07-27T03:43:24.000Z
from pydantic import BaseModel, validator, Field from typing import List, Dict from datetime import datetime class Authenticate(BaseModel): access_token: str
20.5
48
0.804878
21
164
6.238095
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.152439
164
8
49
20.5
0.942446
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
0a5ef02906722fedfa7e1972d812a70076441239
1,548
py
Python
meme/meme.py
aniket091/modmail-plugins-1
4360ff885f27e5c9488ea5cf9431aff20435209b
[ "MIT" ]
8
2020-01-03T19:01:59.000Z
2021-04-14T13:30:49.000Z
meme/meme.py
aniket091/modmail-plugins-1
4360ff885f27e5c9488ea5cf9431aff20435209b
[ "MIT" ]
4
2020-12-22T12:51:03.000Z
2022-01-05T20:17:00.000Z
meme/meme.py
aniket091/modmail-plugins-1
4360ff885f27e5c9488ea5cf9431aff20435209b
[ "MIT" ]
27
2020-01-17T18:05:29.000Z
2022-02-04T07:38:52.000Z
import discord from discord.ext import commands import requests import random from box import Box class WildMemes(commands.Cog): """ Randomly spawns memes. """ subreddits = [ "dankmemes", "wholesomememes", "memes", "terriblefacebookmemes", "historymemes", "me_irl", "2meirl4m...
30.352941
108
0.566537
173
1,548
4.988439
0.526012
0.024334
0
0
0
0
0
0
0
0
0
0.016997
0.315891
1,548
51
109
30.352941
0.797923
0.014212
0
0
0
0.02381
0.180013
0.013898
0
0
0.005295
0
0
1
0.047619
false
0
0.119048
0
0.238095
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a5f2c5e88f319fb43560833894661a1abbe9435
1,934
py
Python
pcat2py/class/20bdcef0-5cc5-11e4-af55-00155d01fe08.py
phnomcobra/PCAT2PY
937c3b365cdc5ac69b78f59070be0a21bdb53db0
[ "MIT" ]
null
null
null
pcat2py/class/20bdcef0-5cc5-11e4-af55-00155d01fe08.py
phnomcobra/PCAT2PY
937c3b365cdc5ac69b78f59070be0a21bdb53db0
[ "MIT" ]
null
null
null
pcat2py/class/20bdcef0-5cc5-11e4-af55-00155d01fe08.py
phnomcobra/PCAT2PY
937c3b365cdc5ac69b78f59070be0a21bdb53db0
[ "MIT" ]
null
null
null
#!/usr/bin/python ################################################################################ # 20bdcef0-5cc5-11e4-af55-00155d01fe08 # # Justin Dierking # justindierking@hardbitsolutions.com # phnomcobra@gmail.com # # 10/24/2014 Original Construction ################################################################...
46.047619
320
0.682006
196
1,934
6.637755
0.397959
0.176787
0.230592
0.156802
0.635665
0.586472
0.586472
0.586472
0.513451
0.387394
0
0.027496
0.134953
1,934
41
321
47.170732
0.750149
0.122027
0
0.105263
0
0.105263
0.591088
0.484273
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
0a616ab1db1fb980b42809561222fc9a899b77c4
153
py
Python
mikan/exceptions.py
dzzhvks94vd2/mikan
569b331cff02a089721fd6d0a430d5c2812b4934
[ "MIT" ]
1
2021-12-31T23:56:21.000Z
2021-12-31T23:56:21.000Z
mikan/exceptions.py
dzzhvks94vd2/mikan
569b331cff02a089721fd6d0a430d5c2812b4934
[ "MIT" ]
null
null
null
mikan/exceptions.py
dzzhvks94vd2/mikan
569b331cff02a089721fd6d0a430d5c2812b4934
[ "MIT" ]
null
null
null
class MikanException(Exception): """Generic Mikan exception""" class ConversionError(MikanException, ValueError): """Cannot convert a string"""
25.5
50
0.738562
14
153
8.071429
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.137255
153
5
51
30.6
0.856061
0.30719
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4