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
520324743a3dcd1549d81f04c75b2fd0e18c4812
1,612
py
Python
large_app/python/models/schemas.py
sahilGupta89/large_flask_app
e1ab54431bb935c02186f586d9246b741d9f2d33
[ "MIT" ]
null
null
null
large_app/python/models/schemas.py
sahilGupta89/large_flask_app
e1ab54431bb935c02186f586d9246b741d9f2d33
[ "MIT" ]
null
null
null
large_app/python/models/schemas.py
sahilGupta89/large_flask_app
e1ab54431bb935c02186f586d9246b741d9f2d33
[ "MIT" ]
null
null
null
from marshmallow_sqlalchemy import TableSchema from .marshmallow import marshmallow as ma from .user import User, UserLocation from .alerts import AlertSubscription, AlertType class UserSchema(TableSchema): class Meta: table = User.__table__ exclude = ("deleted", "created", "updated") stri...
24.424242
73
0.669355
176
1,612
6.017045
0.409091
0.060434
0.033994
0.056657
0
0
0
0
0
0
0
0.001589
0.218983
1,612
65
74
24.8
0.839555
0
0
0.06383
0
0
0.096774
0.014268
0
0
0
0
0
1
0
false
0.042553
0.085106
0
0.659574
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
52056ab945c143413849fba3f8bf7e1f2148aa21
1,034
py
Python
tensorflow_tts/flows/utils/flow_step_test.py
MokkeMeguru/TensorflowTTS
07ad3d179ad39515af59ae3788c338731b87534b
[ "Apache-2.0" ]
null
null
null
tensorflow_tts/flows/utils/flow_step_test.py
MokkeMeguru/TensorflowTTS
07ad3d179ad39515af59ae3788c338731b87534b
[ "Apache-2.0" ]
null
null
null
tensorflow_tts/flows/utils/flow_step_test.py
MokkeMeguru/TensorflowTTS
07ad3d179ad39515af59ae3788c338731b87534b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import numpy as np import tensorflow as tf from tensorflow_tts.flows.utils.flow_step import build_flow_step, _Model class FlowStepTest(tf.test.TestCase): def setUp(self): super().setUp() self.model = _Model() x = tf.random.normal([128, 32, 64]) cond = tf.ran...
34.466667
72
0.624758
148
1,034
4.304054
0.337838
0.075353
0.131868
0.160126
0.477237
0.477237
0.33281
0.33281
0.33281
0.33281
0
0.062657
0.22824
1,034
29
73
35.655172
0.735589
0.020309
0
0.347826
0
0
0
0
0
0
0
0
0.173913
1
0.130435
false
0
0.130435
0
0.304348
0
0
0
0
null
0
0
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
1
52060d23e685dce277bc7a0f01f3af1e4214baa0
3,189
py
Python
src/compas/datastructures/__init__.py
adacko/compas
47c443ad3825897ec7ed932ec20734c2f08ef120
[ "MIT" ]
null
null
null
src/compas/datastructures/__init__.py
adacko/compas
47c443ad3825897ec7ed932ec20734c2f08ef120
[ "MIT" ]
null
null
null
src/compas/datastructures/__init__.py
adacko/compas
47c443ad3825897ec7ed932ec20734c2f08ef120
[ "MIT" ]
1
2022-01-16T02:32:43.000Z
2022-01-16T02:32:43.000Z
""" ******************************************************************************** datastructures ******************************************************************************** .. currentmodule:: compas.datastructures Mesh ==== The mesh is implemented as a half-edge datastructure. It is meant for the representa...
20.574194
83
0.698965
357
3,189
5.915966
0.361345
0.076705
0.115057
0.166193
0.253788
0.056818
0.029356
0
0
0
0
0
0.18407
3,189
154
84
20.707792
0.811683
0.908435
0
0
0
0
0.003534
0
0
0
0
0
0
1
0
false
0.111111
0.666667
0
0.777778
0.111111
0
0
0
null
0
0
1
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
1
1
0
1
0
0
5
520985691c7842fd46d2158df5dc2cbcf311aeb9
10,850
py
Python
scripts/addons/Poly_Source/retopology.py
Tilapiatsu/blender-custom_conf
05592fedf74e4b7075a6228b8448a5cda10f7753
[ "MIT" ]
2
2020-04-16T22:12:40.000Z
2022-01-22T17:18:45.000Z
scripts/addons/Poly_Source/retopology.py
Tilapiatsu/blender-custom_conf
05592fedf74e4b7075a6228b8448a5cda10f7753
[ "MIT" ]
null
null
null
scripts/addons/Poly_Source/retopology.py
Tilapiatsu/blender-custom_conf
05592fedf74e4b7075a6228b8448a5cda10f7753
[ "MIT" ]
2
2019-05-16T04:01:09.000Z
2020-08-25T11:42:26.000Z
import bpy from gpu_extras.batch import batch_for_shader from bpy.types import Operator, GizmoGroup, Gizmo import bmesh import bgl import gpu from math import sin, cos, pi from gpu.types import ( GPUBatch, GPUVertBuf, GPUVertFormat, ) from mathutils import Matrix, Vector import mat...
30.138889
156
0.53318
1,297
10,850
4.199692
0.185813
0.026437
0.042959
0.014687
0.295392
0.241968
0.21186
0.199559
0.173123
0.145218
0
0.007601
0.369493
10,850
360
157
30.138889
0.788627
0.096682
0
0.227027
0
0
0.07122
0.044594
0
0
0
0.002778
0
1
0.048649
false
0
0.064865
0
0.162162
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
520a9ec43a0d88d96156f255913929defdac0155
8,465
py
Python
models/attribute_model.py
imwillhang/multimodal-healthcare
4959fa1a8c99e23334c926b73202c944f1eda457
[ "MIT" ]
null
null
null
models/attribute_model.py
imwillhang/multimodal-healthcare
4959fa1a8c99e23334c926b73202c944f1eda457
[ "MIT" ]
null
null
null
models/attribute_model.py
imwillhang/multimodal-healthcare
4959fa1a8c99e23334c926b73202c944f1eda457
[ "MIT" ]
null
null
null
import numpy as np import torch import random from torch.autograd import Variable import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import torchvision as vision import sys from scipy.misc import imresize from torchvision import transforms, utils import models.modules as modules import sc...
35.270833
116
0.600945
1,034
8,465
4.74178
0.174081
0.016317
0.017132
0.038548
0.254334
0.162146
0.146237
0.103406
0.026922
0.026922
0
0.019724
0.281276
8,465
239
117
35.41841
0.78616
0.023745
0
0.14
0
0
0.062849
0.016986
0
0
0
0
0
1
0.03
false
0
0.075
0
0.155
0.04
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
520b722b948f3610333db718577a1c262a971c72
1,223
py
Python
websauna/system/devop/scripts/sanitycheck.py
highPriestLOL/websauna
2e78cd87eda305fbbb1080d386b8cf96537360e5
[ "CNRI-Python" ]
286
2016-01-17T05:44:02.000Z
2022-02-07T20:28:49.000Z
websauna/system/devop/scripts/sanitycheck.py
highPriestLOL/websauna
2e78cd87eda305fbbb1080d386b8cf96537360e5
[ "CNRI-Python" ]
203
2016-03-15T02:00:53.000Z
2021-09-27T10:48:49.000Z
websauna/system/devop/scripts/sanitycheck.py
ooduor/websauna
2e78cd87eda305fbbb1080d386b8cf96537360e5
[ "CNRI-Python" ]
71
2016-01-17T11:04:26.000Z
2021-08-24T08:04:31.000Z
"""ws-sanity-check script. Execute a sanity check on the configuration. """ # Standard Library import sys import typing as t # Websauna from websauna.system import SanityCheckFailed from websauna.system.devop.cmdline import init_websauna from websauna.system.devop.scripts import FAIL_MSG from websauna.system.devop.sc...
26.021277
96
0.750613
174
1,223
5.103448
0.402299
0.070946
0.121622
0.129505
0.245496
0.245496
0.083333
0
0
0
0
0.005871
0.16435
1,223
46
97
26.586957
0.863014
0.211774
0
0
0
0
0.089552
0
0
0
0
0
0
1
0.04
false
0.04
0.32
0
0.36
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
520d7d29a85d306e13d766664aaa02e5f79571a2
1,410
py
Python
fileProcessing.py
sayid-coder/python-reference
a51e3868d99fb1585aa87c1975f8449d9e6d109f
[ "MIT" ]
null
null
null
fileProcessing.py
sayid-coder/python-reference
a51e3868d99fb1585aa87c1975f8449d9e6d109f
[ "MIT" ]
null
null
null
fileProcessing.py
sayid-coder/python-reference
a51e3868d99fb1585aa87c1975f8449d9e6d109f
[ "MIT" ]
null
null
null
#### Write a File #### with open('somefile.txt', 'w') as file: file.write('tomato\npasta\ngarlic') #### Read a File #### with open('somefile.txt', 'r') as file: # Read the whole content into one string. content = file.read() # Make a list where each line of the file is an element in the list. print...
23.114754
72
0.597872
195
1,410
4.323077
0.374359
0.066429
0.041518
0.035587
0.166074
0.166074
0.109134
0.085409
0.085409
0.085409
0
0.008483
0.247518
1,410
60
73
23.5
0.786051
0.161702
0
0.131579
0
0
0.12656
0.038324
0
0
0
0
0
1
0
false
0
0.078947
0
0.078947
0.263158
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
520ea74705e521f3a196e75e10fe255bb386e933
601
py
Python
node/node_single.py
muddyfish/PYKE
f1bb0f5d7af5663129bd37ca58a0246e5a3699c7
[ "MIT" ]
24
2016-02-21T07:41:45.000Z
2021-08-12T04:34:00.000Z
node/node_single.py
muddyfish/PYKE
f1bb0f5d7af5663129bd37ca58a0246e5a3699c7
[ "MIT" ]
1
2017-08-18T08:14:57.000Z
2017-08-19T14:59:08.000Z
node/node_single.py
muddyfish/PYKE
f1bb0f5d7af5663129bd37ca58a0246e5a3699c7
[ "MIT" ]
4
2016-08-06T18:07:13.000Z
2017-08-12T13:51:52.000Z
#!/usr/bin/env python from nodes import Node import lang_ast class NodeSingle(Node): args = 0 results = 1 ignore = True def __init__(self, value): self.value = value def func(self): return self.value def __repr__(self): return "%s: %s"%(self.__class__.__name_...
23.115385
62
0.589018
79
601
4.227848
0.493671
0.080838
0.083832
0
0
0
0
0
0
0
0
0.004785
0.304493
601
26
63
23.115385
0.794258
0.033278
0
0
0
0
0.010327
0
0
0
0
0
0.052632
1
0.210526
false
0
0.105263
0.105263
0.684211
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
520ef037c08f5f52eb5faedfce85b0ca5e41f23e
1,007
py
Python
main.py
HYOUG/XOREncryption
dd61da113a1e20ec5a5f271c74a24c7a2d50bfbc
[ "MIT" ]
1
2021-02-18T11:44:50.000Z
2021-02-18T11:44:50.000Z
main.py
HYOUG/XOREncryption
dd61da113a1e20ec5a5f271c74a24c7a2d50bfbc
[ "MIT" ]
null
null
null
main.py
HYOUG/XOREncryption
dd61da113a1e20ec5a5f271c74a24c7a2d50bfbc
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # script by "HYOUG" from argparse import ArgumentParser def xorbytes(target:bytes, key:bytes) -> bytes: output = [] index = 0 for byte in target: output.append(byte ^ key[index % (len(key)-1)]) return bytes(output) def main() -> None: parse...
26.5
104
0.60576
144
1,007
4.027778
0.402778
0.082759
0.103448
0.065517
0.131034
0
0
0
0
0
0
0.007762
0.232373
1,007
38
105
26.5
0.742561
0.060576
0
0
0
0.04
0.200212
0.116525
0
0
0
0
0
1
0.08
false
0
0.04
0
0.16
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
520f073cd857c8c25197934ee70d2006058631ab
4,257
py
Python
src/models/wisenet_base/_DEPLOY/train.py
JanAlexanderPersonal/covid19_weak_supervision
5599e48c9945f1e08a2731740bc8f6e44a031703
[ "Apache-2.0" ]
7
2020-07-22T19:48:52.000Z
2021-08-06T13:43:21.000Z
src/models/wisenet_base/_DEPLOY/train.py
JanAlexanderPersonal/covid19_weak_supervision
5599e48c9945f1e08a2731740bc8f6e44a031703
[ "Apache-2.0" ]
1
2021-03-06T15:57:21.000Z
2021-03-06T15:57:21.000Z
src/models/wisenet_base/_DEPLOY/train.py
JanAlexanderPersonal/covid19_weak_supervision
5599e48c9945f1e08a2731740bc8f6e44a031703
[ "Apache-2.0" ]
1
2021-02-09T02:16:21.000Z
2021-02-09T02:16:21.000Z
import torch import numpy as np import timeit start = timeit.default_timer() import misc as ms import ann_utils as au def main(main_dict, train_only=False): ms.print_welcome(main_dict) # EXTRACT VARIABLES reset = main_dict["reset"] epochs = main_dict["epochs"] batch_size = main_dict["batch_size"] sam...
31.768657
88
0.576697
487
4,257
4.73922
0.223819
0.093588
0.041594
0.025997
0.301127
0.271664
0.211438
0.211438
0.15338
0.15338
0
0.003406
0.310312
4,257
133
89
32.007519
0.782698
0.11393
0
0.282051
0
0
0.113782
0
0
0
0
0
0
1
0.012821
false
0
0.064103
0
0.076923
0.038462
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
520f5a41f2a11decc873fe88f3e12f5f3d870325
3,021
py
Python
brainlit/utils/benchmarking_params.py
neurodata/brainl
2de7b5b161000d4d0957de4e836c9e72f7b62ec0
[ "Apache-2.0" ]
null
null
null
brainlit/utils/benchmarking_params.py
neurodata/brainl
2de7b5b161000d4d0957de4e836c9e72f7b62ec0
[ "Apache-2.0" ]
6
2020-01-31T22:21:10.000Z
2020-01-31T22:24:59.000Z
brainlit/utils/benchmarking_params.py
neurodata/brainl
2de7b5b161000d4d0957de4e836c9e72f7b62ec0
[ "Apache-2.0" ]
null
null
null
import numpy as np brain_offsets = { "10-01": [69445.19581378, 12917.40798423, 30199.63896704], "8-01": [70093.27584462, 15071.5958194, 29306.73645404], } vol_offsets = { "10-01": { 1: [3944.427317, 1689.489974, 2904.058044], 2: [7562.41721, 2517.659516, 6720.099583], 3: [6440.34456...
42.549296
65
0.595498
407
3,021
4.410319
0.864865
0.008914
0.012256
0.01337
0
0
0
0
0
0
0
0.732166
0.225091
3,021
70
66
43.157143
0.034601
0
0
0
0
0
0.016551
0
0
0
0
0
0
1
0
false
0
0.015152
0
0.015152
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5210086771a1308858446bfa16fcd10e0c975b59
777
py
Python
strava/commands/profile.py
bwilczynski/strava-cli
54e05663f897bb710e886b4d834eca940b0c4378
[ "MIT" ]
15
2019-01-24T21:20:13.000Z
2022-03-16T23:17:43.000Z
strava/commands/profile.py
bwilczynski/strava-cli
54e05663f897bb710e886b4d834eca940b0c4378
[ "MIT" ]
7
2020-01-10T06:43:29.000Z
2021-09-23T19:07:20.000Z
strava/commands/profile.py
bwilczynski/strava-cli
54e05663f897bb710e886b4d834eca940b0c4378
[ "MIT" ]
10
2019-05-09T17:51:16.000Z
2022-03-16T23:17:56.000Z
import click from strava import api from strava.decorators import output_option, login_required, format_result, OutputType _PROFILE_COLUMNS = ("key", "value") @click.command("profile") @output_option() @login_required @format_result(table_columns=_PROFILE_COLUMNS) def get_profile(output): result = api.get_athle...
25.9
86
0.682111
97
777
5.247423
0.412371
0.098232
0.066798
0.098232
0.145383
0.145383
0
0
0
0
0
0
0.173745
777
29
87
26.793103
0.792835
0
0
0
0
0
0.140283
0.065637
0
0
0
0
0
1
0.142857
false
0
0.142857
0.047619
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
5210c18714c689062802f8dfb64ab77d6eba1984
80
py
Python
rascil/workflows/rsexecute/image/__init__.py
SKA-ScienceDataProcessor/rascil
bd3b47f779e18e184781e2928ad1539d1fdc1c9b
[ "Apache-2.0" ]
7
2019-12-14T13:42:33.000Z
2022-01-28T03:31:45.000Z
rascil/workflows/rsexecute/image/__init__.py
SKA-ScienceDataProcessor/rascil
bd3b47f779e18e184781e2928ad1539d1fdc1c9b
[ "Apache-2.0" ]
6
2020-01-08T09:40:08.000Z
2020-06-11T14:56:13.000Z
rascil/workflows/rsexecute/image/__init__.py
SKA-ScienceDataProcessor/rascil
bd3b47f779e18e184781e2928ad1539d1fdc1c9b
[ "Apache-2.0" ]
3
2020-01-14T11:14:16.000Z
2020-09-15T05:21:06.000Z
""" Workflows for operating on images """ from .image_rsexecute import *
10
37
0.675
9
80
5.888889
1
0
0
0
0
0
0
0
0
0
0
0
0.225
80
7
38
11.428571
0.854839
0.4125
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
5210e1a09ccc2ac0e45cca2349fa4bbf3b523caa
11,419
py
Python
tests/app/helpers.py
pebblecode/cirrus-marketplace-api
64d9e3be8705a2fe64c964b16947e9877885de7b
[ "MIT" ]
null
null
null
tests/app/helpers.py
pebblecode/cirrus-marketplace-api
64d9e3be8705a2fe64c964b16947e9877885de7b
[ "MIT" ]
null
null
null
tests/app/helpers.py
pebblecode/cirrus-marketplace-api
64d9e3be8705a2fe64c964b16947e9877885de7b
[ "MIT" ]
null
null
null
from __future__ import absolute_import import os import json from datetime import datetime, timedelta from nose.tools import assert_equal, assert_in from app import create_app, db from app.models import Service, Supplier, ContactInformation, Framework, Lot, User, FrameworkLot, Brief, Order TEST_SUPPLIERS_COUNT = 3 ...
36.482428
117
0.552938
1,212
11,419
5.0033
0.232673
0.021933
0.029683
0.016161
0.313654
0.275066
0.231036
0.172493
0.108839
0.074208
0
0.013048
0.342237
11,419
312
118
36.599359
0.794302
0.016376
0
0.244275
0
0
0.120517
0.014362
0
0
0
0
0.026718
1
0.091603
false
0.007634
0.026718
0.01145
0.179389
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
5211cbd8113f7d4a20999ceb2e27087a36d8bd72
185
py
Python
Code/build/lib/PEWorld/objects/__init__.py
kasmith/btWorld
b3f47e8475e8cc62ed877056f1912dcf18537b5f
[ "MIT" ]
1
2019-03-09T07:51:15.000Z
2019-03-09T07:51:15.000Z
Code/build/lib/PEWorld/objects/__init__.py
kasmith/btWorld
b3f47e8475e8cc62ed877056f1912dcf18537b5f
[ "MIT" ]
null
null
null
Code/build/lib/PEWorld/objects/__init__.py
kasmith/btWorld
b3f47e8475e8cc62ed877056f1912dcf18537b5f
[ "MIT" ]
null
null
null
__all__ = ['PEBox','PEPlane','PEMesh','BoxGoal','PEHingeJoint'] from objects import PEBox, PEPlane from meshobjs import PEMesh from goals import BoxGoal from joints import PEHingeJoint
30.833333
63
0.794595
23
185
6.217391
0.521739
0.167832
0
0
0
0
0
0
0
0
0
0
0.108108
185
6
64
30.833333
0.866667
0
0
0
0
0
0.198925
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
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
1
0
1
0
0
4
52128b4e46b3d5dc17f6dcfebde2379a30e2e519
275
py
Python
triplinker/journeys/migrations/0021_merge_20200916_1821.py
GonnaFlyMethod/triplinker
f4189e499ad48fd9102dd2211a8884078136eae9
[ "MIT" ]
null
null
null
triplinker/journeys/migrations/0021_merge_20200916_1821.py
GonnaFlyMethod/triplinker
f4189e499ad48fd9102dd2211a8884078136eae9
[ "MIT" ]
null
null
null
triplinker/journeys/migrations/0021_merge_20200916_1821.py
GonnaFlyMethod/triplinker
f4189e499ad48fd9102dd2211a8884078136eae9
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2020-09-16 18:21 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('journeys', '0020_auto_20200916_1810'), ('journeys', '0020_auto_20200916_1651'), ] operations = [ ]
18.333333
48
0.650909
33
275
5.242424
0.787879
0.138728
0.184971
0.277457
0
0
0
0
0
0
0
0.221698
0.229091
275
14
49
19.642857
0.59434
0.163636
0
0
1
0
0.27193
0.201754
0
0
0
0
0
1
0
false
0
0.125
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
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
4
521346f781c40b6853373515f5249bc1baa81f71
277
py
Python
pyspedas/version.py
donglai96/pyspedas
68508e020ca6b1764b8d7ba12d22705c9dc8fac2
[ "MIT" ]
null
null
null
pyspedas/version.py
donglai96/pyspedas
68508e020ca6b1764b8d7ba12d22705c9dc8fac2
[ "MIT" ]
null
null
null
pyspedas/version.py
donglai96/pyspedas
68508e020ca6b1764b8d7ba12d22705c9dc8fac2
[ "MIT" ]
null
null
null
""" File: version.py Description: pySPEDAS version number. Returns: The version number for the current installation. """ def version(): import pkg_resources ver = pkg_resources.get_distribution("pyspedas").version print("pyspedas version: " + ver)
15.388889
60
0.693141
31
277
6.096774
0.612903
0.238095
0
0
0
0
0
0
0
0
0
0
0.205776
277
17
61
16.294118
0.859091
0.454874
0
0
0
0
0.183099
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0.25
0
0
0
null
1
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
0
0
0
2
52152c7be406ee65ec8d704224a66ce6ff41d7b8
63
py
Python
todb/__init__.py
emkor/todb
40a492ea6dc6181fbb3861072ebf512d2a633f04
[ "MIT" ]
null
null
null
todb/__init__.py
emkor/todb
40a492ea6dc6181fbb3861072ebf512d2a633f04
[ "MIT" ]
null
null
null
todb/__init__.py
emkor/todb
40a492ea6dc6181fbb3861072ebf512d2a633f04
[ "MIT" ]
null
null
null
from todb.main import todb from todb.params import InputParams
21
35
0.84127
10
63
5.3
0.6
0.301887
0
0
0
0
0
0
0
0
0
0
0.126984
63
2
36
31.5
0.963636
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
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
6
5216104ad6200530bb1378300e0bd1de568d7f5a
2,221
py
Python
src/olympia/zadmin/admin.py
Sparsh-Bansal/addons-server
133c9d8924017de010e47a25d0a8ca33a45c9f1a
[ "BSD-3-Clause" ]
1
2021-11-27T15:47:47.000Z
2021-11-27T15:47:47.000Z
src/olympia/zadmin/admin.py
Sparsh-Bansal/addons-server
133c9d8924017de010e47a25d0a8ca33a45c9f1a
[ "BSD-3-Clause" ]
1,398
2020-10-08T06:32:26.000Z
2022-03-31T12:06:24.000Z
src/olympia/zadmin/admin.py
Sparsh-Bansal/addons-server
133c9d8924017de010e47a25d0a8ca33a45c9f1a
[ "BSD-3-Clause" ]
1
2021-11-24T07:29:55.000Z
2021-11-24T07:29:55.000Z
from django.conf import settings from django.contrib import admin, auth from django.core.exceptions import PermissionDenied from django.shortcuts import redirect from django.utils.html import format_html from django.urls import reverse from olympia.accounts.utils import redirect_for_login from . import models def r...
34.169231
79
0.695182
294
2,221
5.071429
0.363946
0.064386
0.042924
0.028169
0.144869
0.144869
0.1167
0.1167
0.073776
0.073776
0
0.001697
0.203962
2,221
64
80
34.703125
0.841629
0.158487
0
0.139535
0
0
0.075492
0.02407
0
0
0
0
0
1
0.069767
false
0
0.186047
0
0.372093
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
5216fda27307e0faaea82fdd134e8b8b198b4db0
686
py
Python
play.py
corollari/markov-music
7fd8e005dd93d119b2ab520fe7f388f4e1079982
[ "Unlicense" ]
1
2019-03-06T19:43:51.000Z
2019-03-06T19:43:51.000Z
play.py
corollari/markov-music
7fd8e005dd93d119b2ab520fe7f388f4e1079982
[ "Unlicense" ]
null
null
null
play.py
corollari/markov-music
7fd8e005dd93d119b2ab520fe7f388f4e1079982
[ "Unlicense" ]
null
null
null
import os, csv, time def beep(f,d): os.system('beep -f %s -l %s' % (f,d)) with open('musica.txt') as csvfile: dataOrig = list(csv.reader(csvfile)) data=[] for k in dataOrig: data=data+k[:-1] for j in range(len(data)): data[j]=int(data[j]) duration=200 n=1 data=data[:50] for i in r...
27.44
85
0.578717
130
686
3.053846
0.361538
0.062972
0.030227
0.055416
0.146096
0.146096
0.146096
0.146096
0
0
0
0.089385
0.217201
686
24
86
28.583333
0.649907
0.201166
0
0
0
0
0.047794
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.111111
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
5218eeaf2ee1a04fb33c6f41eb42f27bc72a5315
4,558
py
Python
tydev/gui/list.py
tylerb94/tydev
ca1d9f563e8f804f2b40a88233b00de74f74d195
[ "Unlicense" ]
null
null
null
tydev/gui/list.py
tylerb94/tydev
ca1d9f563e8f804f2b40a88233b00de74f74d195
[ "Unlicense" ]
null
null
null
tydev/gui/list.py
tylerb94/tydev
ca1d9f563e8f804f2b40a88233b00de74f74d195
[ "Unlicense" ]
null
null
null
import pygame import tydev from tydev.gui.template import Template class List(Template): def __init__(self, location, size): Template.__init__(self, location=location, size=size) self.background_color = (255, 255, 255) self.highlight_color = (130, 145, 255) self.objects = [] ...
30.386667
103
0.514919
542
4,558
4.214022
0.177122
0.070053
0.063047
0.035026
0.202715
0.157618
0.068301
0.014886
0.014886
0
0
0.030496
0.381308
4,558
150
104
30.386667
0.779433
0.037736
0
0.190476
0
0
0
0
0
0
0
0
0
1
0.07619
false
0
0.028571
0.009524
0.12381
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
521a9acd3760c7a09ba3c248825a23d45cc0e859
1,525
py
Python
HW1-1/lib/visualize.py
b05611038/MLDS_2019SPRING
0591a1a6f461da0a02b9e1b83f37ad3579f36f4d
[ "MIT" ]
3
2019-06-20T06:47:30.000Z
2021-11-05T03:16:37.000Z
HW1-1/lib/visualize.py
b05611038/MLDS_2019SPRING
0591a1a6f461da0a02b9e1b83f37ad3579f36f4d
[ "MIT" ]
null
null
null
HW1-1/lib/visualize.py
b05611038/MLDS_2019SPRING
0591a1a6f461da0a02b9e1b83f37ad3579f36f4d
[ "MIT" ]
null
null
null
import csv import numpy as np import torch import matplotlib.pyplot as plt def TrainHistoryPlot(his, his_label, save_name, title, axis_name, save = True): #history must be input as list[0]: iter or epoch #and otehr of history list is the acc or loss of different model plt.figure(figsize = (10, 6)) for...
30.5
85
0.619672
227
1,525
4.101322
0.374449
0.051557
0.047261
0.038668
0.259936
0.171858
0.139635
0.139635
0.139635
0.139635
0
0.021368
0.232787
1,525
49
86
31.122449
0.774359
0.104262
0
0.378378
0
0
0.086701
0
0
0
0
0
0
1
0.054054
false
0
0.108108
0
0.162162
0.054054
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
521aac0b6e06e733b3abb4c43e51d21f0ae10476
2,254
py
Python
pcmdi_metrics/variability_mode/param/myParam_demo_NAM.py
jasonb5/pcmdi_metrics
0c23d8d247da24d0ab9deb04d8db9619af628680
[ "BSD-3-Clause" ]
null
null
null
pcmdi_metrics/variability_mode/param/myParam_demo_NAM.py
jasonb5/pcmdi_metrics
0c23d8d247da24d0ab9deb04d8db9619af628680
[ "BSD-3-Clause" ]
null
null
null
pcmdi_metrics/variability_mode/param/myParam_demo_NAM.py
jasonb5/pcmdi_metrics
0c23d8d247da24d0ab9deb04d8db9619af628680
[ "BSD-3-Clause" ]
null
null
null
import datetime import os # ================================================= # Background Information # ------------------------------------------------- mip = "cmip5" exp = "historical" frequency = "mo" realm = "atm" # ================================================= # Analysis Options # --------------------------...
26.833333
105
0.501331
229
2,254
4.781659
0.593886
0.035616
0.027397
0.020091
0.038356
0.038356
0.038356
0
0
0
0
0.053971
0.12866
2,254
83
106
27.156627
0.503564
0.423691
0
0
0
0.020408
0.400787
0.277953
0
0
0
0
0
1
0
false
0
0.040816
0
0.040816
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
521d069f1529af5cc2ba35e43aa532ed88991f76
769
py
Python
setup.py
encukou/spline-pokedex
2dc9945b3f6f367ed867708e77928190a67be8cf
[ "MIT" ]
null
null
null
setup.py
encukou/spline-pokedex
2dc9945b3f6f367ed867708e77928190a67be8cf
[ "MIT" ]
null
null
null
setup.py
encukou/spline-pokedex
2dc9945b3f6f367ed867708e77928190a67be8cf
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name = 'spline-pokedex', version = '0.1', packages = find_packages(), install_requires = [ 'spline', 'pokedex', 'SQLAlchemy>=0.6', ], include_package_data = True, package_data={'splinext': ['*/i18n/*/LC_MESSAGES/*.m...
25.633333
76
0.569571
75
769
5.666667
0.64
0.056471
0.070588
0.108235
0.127059
0.127059
0
0
0
0
0
0.013536
0.231469
769
29
77
26.517241
0.705584
0
0
0
0
0
0.377113
0.10013
0
0
0
0
0
1
0
true
0
0.043478
0
0.043478
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
1
0
0
0
0
0
0
1
521e74ef614227491e5aa8b283c8d7e3d6ed4005
6,915
py
Python
wl_sensibility.py
Algue-Rythme/GAT-Skim-Gram
e6e9db5a936e87a2adfdf81a1f00d952d800d1c8
[ "Apache-2.0" ]
1
2021-10-30T23:19:57.000Z
2021-10-30T23:19:57.000Z
wl_sensibility.py
Algue-Rythme/GAT-Skim-Gram
e6e9db5a936e87a2adfdf81a1f00d952d800d1c8
[ "Apache-2.0" ]
null
null
null
wl_sensibility.py
Algue-Rythme/GAT-Skim-Gram
e6e9db5a936e87a2adfdf81a1f00d952d800d1c8
[ "Apache-2.0" ]
null
null
null
import argparse from collections import Counter import hashlib import random from joblib import Parallel, delayed import matplotlib.pyplot as plt import multiprocessing import networkx as nx import numpy as np from tqdm import tqdm def get_degrees(graph): return {node:str(degree) for node, degree in graph.degree}...
39.289773
118
0.685756
962
6,915
4.677755
0.196466
0.028444
0.030222
0.026444
0.295778
0.266889
0.221556
0.206444
0.169778
0.169778
0
0.011976
0.203037
6,915
175
119
39.514286
0.804573
0.047722
0
0.091549
0
0
0.035825
0
0
0
0
0
0
1
0.112676
false
0
0.070423
0.014085
0.323944
0.028169
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
521fbebde78678cf7f2f06d7d395b59b8fb9102b
441
py
Python
rino/remote.py
rinocloud/rino
34d4d6eb697f501c6ab8aa5d41a9435529342da6
[ "MIT" ]
null
null
null
rino/remote.py
rinocloud/rino
34d4d6eb697f501c6ab8aa5d41a9435529342da6
[ "MIT" ]
null
null
null
rino/remote.py
rinocloud/rino
34d4d6eb697f501c6ab8aa5d41a9435529342da6
[ "MIT" ]
null
null
null
import click from rino import config def set(path): if path.startswith('/'): path = path[1:] if config.set('remote', path): click.echo('remote path set to %s' % path) def unset(): if config.set('remote', None): click.echo('remote path is unset') def list(): if config.get('rem...
22.05
62
0.589569
63
441
4.126984
0.349206
0.192308
0.173077
0.219231
0.161538
0
0
0
0
0
0
0.00303
0.251701
441
19
63
23.210526
0.784848
0
0
0
0
0
0.229025
0
0
0
0
0
0
1
0.2
false
0
0.133333
0
0.333333
0
0
0
0
null
0
0
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
1
5220d2b3980abebb1f716aa4e97b63327b6c7b19
982
py
Python
sample_wsgi.py
Moosky-1/remoteclassroom
bda0280c6c457d8b305e70a7efd0f65fbc3f2238
[ "MIT" ]
null
null
null
sample_wsgi.py
Moosky-1/remoteclassroom
bda0280c6c457d8b305e70a7efd0f65fbc3f2238
[ "MIT" ]
6
2021-03-19T09:45:33.000Z
2021-09-22T19:27:04.000Z
sample_wsgi.py
Moosky-1/online_elearning_portal
bda0280c6c457d8b305e70a7efd0f65fbc3f2238
[ "MIT" ]
null
null
null
# This file contains the WSGI configuration required to serve up your # web application at http://Moosky.pythonanywhere.com/ # It works by setting the variable 'application' to a WSGI handler of some # description. # # +++++++++++ GENERAL DEBUGGING TIPS +++++++++++ # getting imports and sys.path right can be fiddly! #...
31.677419
83
0.735234
141
982
5.078014
0.567376
0.02933
0.022346
0.039106
0.055866
0
0
0
0
0
0
0.002364
0.138493
982
30
84
32.733333
0.843972
0.693483
0
0
0
0
0.259649
0.189474
0
0
0
0
0
1
0
false
0
0.375
0
0.375
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
52210a390fb772a65950f9a77b1235cd948779f5
2,999
py
Python
pythonblockchain/blockchain.py
Alpha5714/mlh-team-mbm
9def98cc6d92dae1f8ee9244b619ee29677e17ed
[ "MIT" ]
null
null
null
pythonblockchain/blockchain.py
Alpha5714/mlh-team-mbm
9def98cc6d92dae1f8ee9244b619ee29677e17ed
[ "MIT" ]
2
2020-07-19T09:20:46.000Z
2022-02-13T04:48:57.000Z
pythonblockchain/blockchain.py
Alpha5714/mlh-team-mbm
9def98cc6d92dae1f8ee9244b619ee29677e17ed
[ "MIT" ]
null
null
null
from hashlib import sha256 from tkinter import * import time import sys import webbrowser global LastHash;LastHash="" try: open('HASH.dat','x').write('') except: pass #global difficulty difficulty=1 #global index index=[] class block: def __init__(self,data): self.tim...
24.382114
115
0.541847
385
2,999
4.18961
0.233766
0.024799
0.029758
0.039678
0.184749
0.123993
0
0
0
0
0
0.023333
0.299767
2,999
122
116
24.581967
0.744762
0.020674
0
0.069767
0
0.011628
0.096051
0
0
0
0
0
0
1
0.116279
false
0.011628
0.05814
0
0.232558
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
52218f75fc7dc0e71c225b1ec2999d31866f521e
2,310
py
Python
model/model/DenoiseBert.py
xcjthu/DisputeMJJD
bfc33da517e472ff7b8d58c8fd3ffbf5d71388a4
[ "MIT" ]
1
2021-04-09T20:36:43.000Z
2021-04-09T20:36:43.000Z
model/model/DenoiseBert.py
xcjthu/DisputeMJJD
bfc33da517e472ff7b8d58c8fd3ffbf5d71388a4
[ "MIT" ]
null
null
null
model/model/DenoiseBert.py
xcjthu/DisputeMJJD
bfc33da517e472ff7b8d58c8fd3ffbf5d71388a4
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F import json from transformers import BertModel from tools.accuracy_tool import multi_label_accuracy, single_label_top1_accuracy class DenoiseBert(nn.Module): def __init__(self, config, gpu_list, *args, **params): super(Denois...
36.09375
124
0.621212
293
2,310
4.726962
0.296928
0.077978
0.018773
0.033213
0.098195
0.037545
0
0
0
0
0
0.014261
0.241126
2,310
63
125
36.666667
0.775813
0.037662
0
0.130435
0
0
0.064067
0
0
0
0
0
0
1
0.108696
false
0
0.130435
0.021739
0.369565
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
5222182808c98751a6b8076f3469746dbb3186ac
1,571
py
Python
computer-vision/image-classification/mnist_rmdl/cnn.py
tyburam/paperswithcode
fcea3fac37e5bf10bb0284216ef7aded4c0c778b
[ "MIT" ]
2
2019-03-31T19:40:48.000Z
2019-04-05T19:16:29.000Z
computer-vision/image-classification/mnist_rmdl/cnn.py
tyburam/paperswithcode
fcea3fac37e5bf10bb0284216ef7aded4c0c778b
[ "MIT" ]
null
null
null
computer-vision/image-classification/mnist_rmdl/cnn.py
tyburam/paperswithcode
fcea3fac37e5bf10bb0284216ef7aded4c0c778b
[ "MIT" ]
null
null
null
import tensorflow as tf import random from tensorflow.keras.layers import Flatten, Dense, Dropout, Conv2D, MaxPooling2D from tensorflow.keras.constraints import MaxNorm class CNN(tf.keras.Model): def __init__(self, shape, number_of_classes, min_hidden_layer_cnn=3, max_hidden_layer_cnn=10, min_nod...
35.704545
101
0.636537
223
1,571
4.26009
0.318386
0.031579
0.056842
0.050526
0.190526
0.124211
0.058947
0
0
0
0
0.031746
0.238065
1,571
43
102
36.534884
0.761905
0
0
0.060606
0
0
0.019733
0
0
0
0
0
0
1
0.060606
false
0
0.121212
0
0.242424
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
5222500ee6e362203013fd073f05aa2c30408d2a
612
py
Python
python/cl1de_plot_utilities.py
joshuahansel/cl1de
a6e641f6f6ffaa477a3a82ef40e013100577b61f
[ "MIT" ]
null
null
null
python/cl1de_plot_utilities.py
joshuahansel/cl1de
a6e641f6f6ffaa477a3a82ef40e013100577b61f
[ "MIT" ]
null
null
null
python/cl1de_plot_utilities.py
joshuahansel/cl1de
a6e641f6f6ffaa477a3a82ef40e013100577b61f
[ "MIT" ]
null
null
null
from file_utilities import readCSVFile from PlotterLine import PlotterLine def plotDataSets(data_sets, data_names): for var in data_names: desc, symbol = data_names[var] plotter = PlotterLine("$x$", desc + ", $" + symbol + "$") for i, data_set in enumerate(data_sets): set_name, data = data_set ...
29.142857
61
0.669935
79
612
4.987342
0.443038
0.114213
0.101523
0
0
0
0
0
0
0
0
0.005929
0.173203
612
20
62
30.6
0.772727
0
0
0
0
0
0.073529
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0
0.235294
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
52225b57cc48677f3a6a009eba902e3be7987016
1,257
py
Python
tests/test_detector_en_US_social_security_number.py
datascopeanalytics/scrubadub
ab199f0b3cc3ca11f646aabb05ebe124d2757ea5
[ "Apache-2.0" ]
190
2015-12-03T01:31:36.000Z
2020-09-02T23:46:38.000Z
tests/test_detector_en_US_social_security_number.py
vishalbelsare/scrubadub
ab199f0b3cc3ca11f646aabb05ebe124d2757ea5
[ "Apache-2.0" ]
54
2020-09-10T14:46:14.000Z
2022-03-10T06:03:00.000Z
tests/test_detector_en_US_social_security_number.py
datascopeanalytics/scrubadub
ab199f0b3cc3ca11f646aabb05ebe124d2757ea5
[ "Apache-2.0" ]
57
2016-04-04T18:37:38.000Z
2020-08-18T22:59:03.000Z
import faker import unittest from scrubadub.filth import SocialSecurityNumberFilth from base import BaseTestCase class SSNTestCase(unittest.TestCase, BaseTestCase): def test_example(self): """ BEFORE: My social security number is 726-60-2033 AFTER: My social security number is {{SOCIAL_...
27.326087
71
0.632458
144
1,257
5.368056
0.298611
0.217335
0.310479
0.227684
0.614489
0.614489
0.614489
0.570505
0.570505
0.570505
0
0.054144
0.280032
1,257
45
72
27.933333
0.8
0.358791
0
0.2
0
0
0.023495
0
0
0
0
0
0.05
1
0.25
false
0
0.2
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
5222fc6f39040bbbe14ad373dd67cb2ff2c273e8
2,633
py
Python
runtests.py
dtisza1/bluebutton-web-server
6322f28d75bd9e00f8dc4b5988a0cd5f7c6c80cb
[ "Apache-2.0" ]
null
null
null
runtests.py
dtisza1/bluebutton-web-server
6322f28d75bd9e00f8dc4b5988a0cd5f7c6c80cb
[ "Apache-2.0" ]
null
null
null
runtests.py
dtisza1/bluebutton-web-server
6322f28d75bd9e00f8dc4b5988a0cd5f7c6c80cb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import argparse import django import os import sys from django.conf import settings from django.test.utils import get_runner ''' Reference: https://docs.djangoproject.com/en/3.0/topics/testing/advanced/#defining-a-test-runner Command line arguments: --integration This optional...
37.614286
102
0.70376
346
2,633
5.080925
0.375723
0.020478
0.03868
0.045506
0.445961
0.416382
0.416382
0.370876
0.370876
0.370876
0
0.000965
0.212685
2,633
69
103
38.15942
0.847082
0.090771
0
0.285714
0
0
0.365544
0.291163
0
0
0
0
0
1
0
false
0
0.171429
0
0.171429
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
522304ad26606201a51e2d5d86daf6992f52eb01
672
py
Python
cride/users/migrations/0006_auto_20191116_0346.py
albertoaldanar/betmatcherAPI
c0590025efd79f4e489f9c9433b17554ea6ba23f
[ "MIT" ]
null
null
null
cride/users/migrations/0006_auto_20191116_0346.py
albertoaldanar/betmatcherAPI
c0590025efd79f4e489f9c9433b17554ea6ba23f
[ "MIT" ]
7
2020-06-05T20:53:27.000Z
2022-03-11T23:47:12.000Z
cride/users/migrations/0006_auto_20191116_0346.py
albertoaldanar/betmatcherAPI
c0590025efd79f4e489f9c9433b17554ea6ba23f
[ "MIT" ]
null
null
null
# Generated by Django 2.0.9 on 2019-11-16 03:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0005_auto_20191018_1819'), ] operations = [ migrations.AddField( model_name='profile', name='notification_t...
28
108
0.625
73
672
5.575342
0.575342
0.157248
0.206388
0.132678
0.476658
0.476658
0.476658
0.476658
0.476658
0.476658
0
0.070281
0.258929
672
23
109
29.217391
0.746988
0.066964
0
0.470588
1
0
0.1776
0.0368
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
522500e73bb4c0bf915c9b1a6531c0684ccad1af
452
py
Python
valentina/app/tests/test_logout_view.py
g4brielvs/valentina
d34ff934c88f465385be924bbe24cec7f1c395c8
[ "MIT" ]
null
null
null
valentina/app/tests/test_logout_view.py
g4brielvs/valentina
d34ff934c88f465385be924bbe24cec7f1c395c8
[ "MIT" ]
1
2021-06-10T23:37:05.000Z
2021-06-10T23:37:05.000Z
valentina/app/tests/test_logout_view.py
g4brielvs/valentina
d34ff934c88f465385be924bbe24cec7f1c395c8
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.shortcuts import resolve_url from django.test import TestCase class TestGetLogout(TestCase): def setUp(self): User.objects.create_user('olivia', password='password') self.client.login(username='olivia', password='password') self.resp...
30.133333
65
0.721239
58
452
5.534483
0.517241
0.093458
0.137072
0.161994
0
0
0
0
0
0
0
0
0.15708
452
14
66
32.285714
0.84252
0
0
0
0
0
0.09292
0
0
0
0
0
0.1
1
0.2
false
0.2
0.3
0
0.6
0
0
0
0
null
0
0
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
1
0
0
1
0
0
3
52268da0e35ed4564d5a254cfc09888ff76a933a
2,535
py
Python
dockerfiles/tasks.py
lexeii/readthedocs.org
df58ae94aa87e3513e57686b3b431ea1deda8fe7
[ "MIT" ]
null
null
null
dockerfiles/tasks.py
lexeii/readthedocs.org
df58ae94aa87e3513e57686b3b431ea1deda8fe7
[ "MIT" ]
null
null
null
dockerfiles/tasks.py
lexeii/readthedocs.org
df58ae94aa87e3513e57686b3b431ea1deda8fe7
[ "MIT" ]
null
null
null
from invoke import task DOCKER_COMPOSE = 'docker-compose.yml' DOCKER_COMPOSE_SEARCH = 'docker-compose-search.yml' DOCKER_COMPOSE_COMMAND = f'docker-compose -f {DOCKER_COMPOSE} -f {DOCKER_COMPOSE_SEARCH}' @task def build(c): """Build docker image for servers.""" c.run(f'{DOCKER_COMPOSE_COMMAND} build --no-cach...
30.914634
89
0.647732
370
2,535
4.337838
0.272973
0.161994
0.043614
0.082243
0.282866
0.249844
0.158255
0.137695
0.04486
0
0
0.002994
0.209467
2,535
81
90
31.296296
0.797904
0.190138
0
0.206897
0
0
0.390828
0.193918
0
0
0
0
0
1
0.155172
false
0
0.017241
0
0.172414
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
52274e63a35c24eaa047e39843078d30a10fd29b
238
py
Python
src/experiments/mnist_sklearn/data.py
IPL-UV/gaussflow
49336e5384856a86aaa4ab1a79bda1b8719b939d
[ "MIT" ]
1
2021-02-17T12:07:09.000Z
2021-02-17T12:07:09.000Z
src/experiments/mnist_sklearn/data.py
IPL-UV/gaussflow
49336e5384856a86aaa4ab1a79bda1b8719b939d
[ "MIT" ]
null
null
null
src/experiments/mnist_sklearn/data.py
IPL-UV/gaussflow
49336e5384856a86aaa4ab1a79bda1b8719b939d
[ "MIT" ]
null
null
null
from argparse import ArgumentParser def add_data_args(parent_parser): parser = ArgumentParser(parents=[parent_parser], add_help=False) # data args parser.add_argument("--batch_size", type=int, default=128) return parser
26.444444
68
0.752101
31
238
5.548387
0.677419
0.093023
0
0
0
0
0
0
0
0
0
0.014851
0.151261
238
8
69
29.75
0.836634
0.037815
0
0
0
0
0.052863
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
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
1
0
0
2
5227fa5e31da69fb997acb1f57122d553968b3c0
7,196
py
Python
src/msbuilder.py
neobepmat/BatchBuilder
17d04f91d4c5f628592347e6e083f3783e478a4d
[ "MIT" ]
null
null
null
src/msbuilder.py
neobepmat/BatchBuilder
17d04f91d4c5f628592347e6e083f3783e478a4d
[ "MIT" ]
null
null
null
src/msbuilder.py
neobepmat/BatchBuilder
17d04f91d4c5f628592347e6e083f3783e478a4d
[ "MIT" ]
null
null
null
# Generic build script that builds, tests, and creates nuget packages. # # INSTRUCTIONS: # Update the following project paths: # proj Path to the project file (.csproj) # test Path to the test project (.csproj) # nuspec Path to the package definition for NuGet. # # delete any of the lines if not appli...
31.286957
124
0.645914
953
7,196
4.873033
0.225603
0.018088
0.027132
0.011843
0.257321
0.219208
0.178941
0.166667
0.125969
0.108312
0
0.020889
0.221651
7,196
230
125
31.286957
0.808249
0.25264
0
0.232394
0
0.007042
0.205969
0.043589
0
0
0
0
0
1
0.049296
false
0.007042
0.014085
0
0.119718
0.084507
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
522a4d325c9353e0142c370ba6f40b501dc79e45
1,664
py
Python
Python/Canvas/HotkeyEditor/HotkeyStyledItemDelegate.py
yoann01/FabricUI
d4d24f25245b8ccd2d206aded2b6c5f2aca09155
[ "BSD-3-Clause" ]
null
null
null
Python/Canvas/HotkeyEditor/HotkeyStyledItemDelegate.py
yoann01/FabricUI
d4d24f25245b8ccd2d206aded2b6c5f2aca09155
[ "BSD-3-Clause" ]
null
null
null
Python/Canvas/HotkeyEditor/HotkeyStyledItemDelegate.py
yoann01/FabricUI
d4d24f25245b8ccd2d206aded2b6c5f2aca09155
[ "BSD-3-Clause" ]
null
null
null
# # Copyright (c) 2010-2017 Fabric Software Inc. All rights reserved. # from PySide import QtCore, QtGui from FabricEngine.Canvas.Utils import * class HotkeyStyledItemDelegate(QtGui.QStyledItemDelegate): keyPressed = QtCore.Signal(QtGui.QKeySequence) def __init__(self, parent=None): super(HotkeyStyl...
31.396226
67
0.626803
168
1,664
6.160714
0.422619
0.077295
0.042512
0.0657
0.117874
0.095652
0.095652
0
0
0
0
0.006717
0.284255
1,664
52
68
32
0.862301
0.059495
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.176471
false
0
0.058824
0
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
522aa1d9926b1ebc23ab672cd5466bbf140cf8fa
7,133
py
Python
src/api_wrappers/generateRAPIWrappers.py
psung/dx-toolkit
f3a430c5e24184215eb4a9883a179edf07bfa08b
[ "Apache-2.0" ]
null
null
null
src/api_wrappers/generateRAPIWrappers.py
psung/dx-toolkit
f3a430c5e24184215eb4a9883a179edf07bfa08b
[ "Apache-2.0" ]
null
null
null
src/api_wrappers/generateRAPIWrappers.py
psung/dx-toolkit
f3a430c5e24184215eb4a9883a179edf07bfa08b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python2.7 # # Copyright (C) 2013-2014 DNAnexus, Inc. # # This file is part of dx-toolkit (DNAnexus platform client libraries). # # 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 Licens...
45.433121
167
0.627366
864
7,133
5.122685
0.234954
0.020334
0.024401
0.016268
0.667646
0.639404
0.639404
0.613647
0.582919
0.563488
0
0.003142
0.241413
7,133
156
168
45.724359
0.814822
0.09421
0
0.681818
0
0.022727
0.733395
0.159373
0
0
0
0
0
0
null
null
0.022727
0.007576
null
null
0.030303
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
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
522c1ac5060d0dd5467b006cd94c060a4be7d8c8
1,423
py
Python
hs_core/management/commands/remove_auto_generated_generic_metadata.py
tommac7/hydroshare
87c4543a55f98103d2614bf4c47f7904c3f9c029
[ "BSD-3-Clause" ]
178
2015-01-08T23:03:36.000Z
2022-03-03T13:56:45.000Z
hs_core/management/commands/remove_auto_generated_generic_metadata.py
tommac7/hydroshare
87c4543a55f98103d2614bf4c47f7904c3f9c029
[ "BSD-3-Clause" ]
4,125
2015-01-01T14:26:15.000Z
2022-03-31T16:38:55.000Z
hs_core/management/commands/remove_auto_generated_generic_metadata.py
tommac7/hydroshare
87c4543a55f98103d2614bf4c47f7904c3f9c029
[ "BSD-3-Clause" ]
53
2015-03-15T17:56:51.000Z
2022-03-17T00:32:16.000Z
"""Removes unmodified GenericLogicalFiles found in composite resources. This functionality is to remove unused GenericLogicalFiles that were created by an earlier iteration of CompositeResource that created an aggregation for every file added to a resource. """ from django.core.management.base import BaseCommand fr...
43.121212
99
0.700632
159
1,423
6.09434
0.45912
0.099071
0.090815
0.119711
0.111455
0
0
0
0
0
0
0.005505
0.234013
1,423
32
100
44.46875
0.883486
0.179902
0
0
0
0
0.158621
0
0
0
0
0
0
1
0.047619
false
0
0.142857
0
0.285714
0.142857
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
522d8a79cd83ff98314e23d6eda7fc455ae2b429
1,287
py
Python
farmers/api/market/migrations/0001_initial.py
BuildForSDG/Farmers-Edge-backend
4924c7f73f3e84698fde6a3d8a893c1ca282ed88
[ "MIT" ]
2
2020-05-17T18:20:50.000Z
2021-04-20T21:42:43.000Z
farmers/api/market/migrations/0001_initial.py
BuildForSDG/Farmers-Edge-backend
4924c7f73f3e84698fde6a3d8a893c1ca282ed88
[ "MIT" ]
19
2020-05-14T14:36:31.000Z
2022-03-12T00:34:40.000Z
farmers/api/market/migrations/0001_initial.py
BuildForSDG/Farmers-Edge-backend
4924c7f73f3e84698fde6a3d8a893c1ca282ed88
[ "MIT" ]
1
2020-05-20T20:09:35.000Z
2020-05-20T20:09:35.000Z
# Generated by Django 3.0.6 on 2020-09-06 20:21 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Order', fields=[ ('id', models.AutoField(au...
35.75
114
0.569542
127
1,287
5.661417
0.417323
0.100139
0.175243
0.233658
0.585535
0.581363
0.581363
0.383866
0.383866
0.383866
0
0.042763
0.291375
1,287
35
115
36.771429
0.745614
0.034965
0
0.357143
1
0
0.079032
0
0
0
0
0
0
1
0
false
0
0.035714
0
0.178571
0
0
0
0
null
0
0
1
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
2
523161b039f90859bbeabd886de8c34f480f8c75
1,385
py
Python
projects/EulerMethods/backward_euler_ode_solver.py
brtymn/python-mini-projects
25c48a0cb2f374a718f85ddee585e87797070b01
[ "MIT" ]
null
null
null
projects/EulerMethods/backward_euler_ode_solver.py
brtymn/python-mini-projects
25c48a0cb2f374a718f85ddee585e87797070b01
[ "MIT" ]
null
null
null
projects/EulerMethods/backward_euler_ode_solver.py
brtymn/python-mini-projects
25c48a0cb2f374a718f85ddee585e87797070b01
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np def feval(funcName, *args): return eval(funcName)(*args) def backwardEuler(func, yinit, x_range, h): m = len(yinit) n = int((x_range[-1] - x_range[0])/h) x = x_range[0] y = yinit xsol = np.empty(0) xsol = np.append(xsol, x) ysol = ...
19.507042
61
0.548014
244
1,385
3.090164
0.336066
0.046419
0.023873
0.043767
0.127321
0.037135
0
0
0
0
0
0.031403
0.26426
1,385
70
62
19.785714
0.708538
0.072924
0
0.044444
0
0
0.049724
0
0
0
0
0
0
1
0.066667
false
0
0.044444
0.022222
0.177778
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
5231f3068efad280dae966b4d5266edbdafdb2b4
7,531
py
Python
jans-linux-setup/jans_setup/setup_app/installers/oxd.py
nikdavnik/jans
5e9abc74cca766a066512eab2aca6563ce480bff
[ "Apache-2.0" ]
18
2022-01-13T13:45:13.000Z
2022-03-30T04:41:18.000Z
jans-linux-setup/jans_setup/setup_app/installers/oxd.py
nikdavnik/jans
5e9abc74cca766a066512eab2aca6563ce480bff
[ "Apache-2.0" ]
604
2022-01-13T12:32:50.000Z
2022-03-31T20:27:36.000Z
jans-linux-setup/jans_setup/setup_app/installers/oxd.py
nikdavnik/jans
5e9abc74cca766a066512eab2aca6563ce480bff
[ "Apache-2.0" ]
8
2022-01-28T00:23:25.000Z
2022-03-16T05:12:12.000Z
import os import glob import ruamel.yaml from setup_app import paths from setup_app.static import AppType, InstallOption from setup_app.utils import base from setup_app.config import Config from setup_app.utils.setup_utils import SetupUtils from setup_app.installers.base import BaseInstaller class OxdInstaller(SetupU...
42.548023
206
0.608419
976
7,531
4.495902
0.243852
0.065634
0.038742
0.034184
0.21969
0.149043
0.084321
0.051048
0.03464
0.03464
0
0.005592
0.240207
7,531
176
207
42.789773
0.761272
0.017129
0
0.136691
0
0.021583
0.227525
0.052589
0
0
0
0
0
1
0.05036
false
0.028777
0.071942
0.007194
0.136691
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
5233c1576475dcf2ff06eeb86ca49404bf46f4ce
7,303
py
Python
gnn_pygan/gan_attack/train.py
Guo-lab/Graph
c4c5fbc8fb5d645c16da20351b9746019cf75aab
[ "MIT" ]
null
null
null
gnn_pygan/gan_attack/train.py
Guo-lab/Graph
c4c5fbc8fb5d645c16da20351b9746019cf75aab
[ "MIT" ]
null
null
null
gnn_pygan/gan_attack/train.py
Guo-lab/Graph
c4c5fbc8fb5d645c16da20351b9746019cf75aab
[ "MIT" ]
null
null
null
import numpy as np import scipy.sparse as sp import torch import torch.nn as nn from tqdm import tqdm import networkx as nx import random import math, os from collections import defaultdict import argparse from models import DGI, LogReg from utils import process from attacker.attacker import Attacker from estim...
25.714789
110
0.630426
1,020
7,303
4.298039
0.210784
0.029197
0.042655
0.017336
0.25479
0.187272
0.170164
0.102646
0.084398
0.066606
0
0.015893
0.224565
7,303
284
111
25.714789
0.758255
0.038614
0
0.127072
0
0
0.054846
0
0
0
0
0
0
1
0.005525
false
0
0.077348
0
0.088398
0.033149
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
52349beaddfa05820a1b11d243b14d4f20968f6e
2,248
py
Python
wiki/views.py
noltron000/make-wiki
1e35c665a636cadcc97ff9975f662ddaf056df8c
[ "MIT" ]
null
null
null
wiki/views.py
noltron000/make-wiki
1e35c665a636cadcc97ff9975f662ddaf056df8c
[ "MIT" ]
5
2021-03-19T08:24:54.000Z
2021-06-10T19:44:27.000Z
wiki/views.py
noltron000/make-wiki
1e35c665a636cadcc97ff9975f662ddaf056df8c
[ "MIT" ]
null
null
null
from wiki.models import Page from django.shortcuts import render from django.views.generic.list import ListView from django.views.generic.detail import DetailView class PageList(ListView): ''' Renders a list of all Pages. ==CHALLENGES== 1. GET: Have a homepage showing all Pages in your wiki. 2. Add a descriptiv...
27.753086
59
0.687722
329
2,248
4.671733
0.382979
0.018217
0.019519
0.028627
0.321405
0.321405
0.217306
0.173064
0.124919
0.063761
0
0.005017
0.201957
2,248
80
60
28.1
0.851728
0.734875
0
0.2
0
0
0.045
0
0
0
0
0.025
0
1
0.15
false
0.05
0.2
0
0.65
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
1
0
0
2
5236b7e26e5d7091f82d0194f314359e6003dbaf
2,895
py
Python
tests/unit/viz/test_experiments_table.py
fdosani/rubicon-ml
b6dbd3ea44afb297a224baec387712fdf65b5b4f
[ "Apache-2.0" ]
null
null
null
tests/unit/viz/test_experiments_table.py
fdosani/rubicon-ml
b6dbd3ea44afb297a224baec387712fdf65b5b4f
[ "Apache-2.0" ]
null
null
null
tests/unit/viz/test_experiments_table.py
fdosani/rubicon-ml
b6dbd3ea44afb297a224baec387712fdf65b5b4f
[ "Apache-2.0" ]
null
null
null
from dash import Dash from rubicon_ml.viz import ExperimentsTable def test_experiments_table(viz_experiments): experiments_table = ExperimentsTable(experiments=viz_experiments, is_selectable=True) expected_experiment_ids = [e.id for e in viz_experiments] for experiment in experiments_table.experiments:...
40.208333
99
0.789637
364
2,895
5.942308
0.200549
0.170134
0.092464
0.110957
0.569117
0.492372
0.45816
0.45816
0.45816
0.45816
0
0.004785
0.133679
2,895
71
100
40.774648
0.857656
0
0
0.297872
0
0
0.08981
0.054577
0
0
0
0
0.404255
1
0.106383
false
0
0.042553
0
0.148936
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
1
0
0
0
0
0
0
0
0
0
1
5237cf1fdafafc7f3df3d20bbeac6dd2091828d7
7,274
py
Python
antenna_size.py
EzraCerpac/SatLink
d5da25d8f287ea25a7da6e91eed8b435ed8416f1
[ "MIT" ]
8
2021-02-12T00:19:19.000Z
2022-03-14T07:36:09.000Z
antenna_size.py
EzraCerpac/SatLink
d5da25d8f287ea25a7da6e91eed8b435ed8416f1
[ "MIT" ]
5
2021-02-11T21:52:02.000Z
2021-06-24T21:09:37.000Z
antenna_size.py
EzraCerpac/SatLink
d5da25d8f287ea25a7da6e91eed8b435ed8416f1
[ "MIT" ]
3
2021-10-04T17:23:42.000Z
2022-03-02T07:35:43.000Z
from GrStat import GroundStation, Reception from sat import Satellite from pathos.pools import ParallelPool from scipy import interpolate import pandas as pd import numpy as np import pickle import tqdm import datetime import sys, os # this file contains the functions used to estimate antenna sizes and di...
36.552764
131
0.61713
923
7,274
4.64247
0.24377
0.078413
0.03944
0.015169
0.371062
0.337223
0.283547
0.283547
0.257643
0.244341
0
0.009889
0.235359
7,274
198
132
36.737374
0.760518
0.201127
0
0.241071
0
0
0.047265
0.009529
0
0
0
0
0
1
0.035714
false
0
0.089286
0
0.160714
0.017857
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
5239533b6f5397cd80a0d345f5bdc9cd7fb5da5c
3,054
py
Python
Sample/Koudai/Server/release/Script/PyScript/Action/action7012.py
wenhulove333/ScutServer
338a50ff577c0e2ef2276a2883a8bfe28517c79b
[ "MIT" ]
2
2017-05-27T13:32:28.000Z
2019-05-28T15:11:33.000Z
Sample/Koudai/Server/src/ZyGames.Tianjiexing.Server/PyScript/Action/action7012.py
Jesse1205/Scut
3df3adbcd0588fa2657ff110380210236ae45dae
[ "Unlicense" ]
null
null
null
Sample/Koudai/Server/src/ZyGames.Tianjiexing.Server/PyScript/Action/action7012.py
Jesse1205/Scut
3df3adbcd0588fa2657ff110380210236ae45dae
[ "Unlicense" ]
4
2016-08-27T05:26:16.000Z
2019-12-27T07:07:09.000Z
import clr import sys clr.AddReference('ZyGames.Framework.Common') clr.AddReference('ZyGames.Framework') clr.AddReference('ZyGames.Framework.Game') clr.AddReference('ZyGames.Tianjiexing.Model') clr.AddReference('ZyGames.Tianjiexing.BLL') clr.AddReference('ZyGames.Tianjiexing.Lang') from System import * from...
37.243902
97
0.724296
303
3,054
7.30033
0.267327
0.05425
0.076854
0.05877
0.358951
0.179928
0.179928
0.152351
0.12387
0.12387
0
0.004416
0.184348
3,054
82
98
37.243902
0.883179
0.003602
0
0.263889
0
0
0.0625
0.047973
0
0
0
0
0
0
null
null
0
0.208333
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
5239f00531c87925dc70d50f063ddeaecd58a029
2,596
py
Python
storyruntime/processing/Stories.py
adnrs96/runtime
e824224317e6aa108cf06968474fc44fa33488d6
[ "Apache-2.0" ]
null
null
null
storyruntime/processing/Stories.py
adnrs96/runtime
e824224317e6aa108cf06968474fc44fa33488d6
[ "Apache-2.0" ]
null
null
null
storyruntime/processing/Stories.py
adnrs96/runtime
e824224317e6aa108cf06968474fc44fa33488d6
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import time from .. import Metrics from ..Exceptions import StoryscriptRuntimeError from ..Story import Story from ..constants.LineSentinels import LineSentinels from ..processing import Lexicon class Stories: @staticmethod def story(app, logger, story_name): return Story(app...
34.157895
75
0.553544
271
2,596
5.151292
0.324723
0.083811
0.080229
0.038682
0.175501
0.122493
0.122493
0.122493
0.122493
0.122493
0
0.000601
0.359014
2,596
75
76
34.613333
0.838341
0.046225
0
0.163636
0
0
0.040902
0
0
0
0
0
0
1
0.036364
false
0
0.109091
0.018182
0.181818
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
5240601439bbe546c3b18d76bac08ee7506a51a6
8,327
py
Python
bin/SchemaUpgrade/versions/f33e544af3e0_version_0_66_001.py
karlam123/DBImport
ebaf3f909841276d289bfb2f6eec0ecafa8395cf
[ "Apache-2.0" ]
10
2019-05-22T04:17:02.000Z
2021-12-05T16:54:08.000Z
bin/SchemaUpgrade/versions/f33e544af3e0_version_0_66_001.py
karlam123/DBImport
ebaf3f909841276d289bfb2f6eec0ecafa8395cf
[ "Apache-2.0" ]
73
2019-05-22T04:19:24.000Z
2022-01-18T05:09:26.000Z
bin/SchemaUpgrade/versions/f33e544af3e0_version_0_66_001.py
BerryOsterlund/DBImport
aa5f4599834985266fc0bf211f9bb8b348f6ae8e
[ "Apache-2.0" ]
5
2020-05-19T23:46:56.000Z
2021-11-12T12:02:37.000Z
"""Version 0.66.001 Revision ID: f33e544af3e0 Revises: 836595368d1e Create Date: 2020-09-25 05:52:02.580943 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql from sqlalchemy import Enum # revision identifiers, used by Alembic. revision = 'f33e544af3e0' down_revision = '83659536...
66.616
276
0.786238
1,018
8,327
6.277996
0.126719
0.046941
0.045063
0.041621
0.765764
0.699734
0.687999
0.630105
0.523392
0.468784
0
0.016251
0.091029
8,327
124
277
67.153226
0.828115
0.034226
0
0.326087
0
0.152174
0.630091
0.179225
0
0
0
0
0
1
0.021739
false
0
0.304348
0
0.326087
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
1
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
5240f058aadb675ebf9c2c66247249f0300d169c
3,028
py
Python
02_assignment/toolbox/Toolbox_Python02450/Scripts/ex8_1_2.py
LukaAvbreht/ML_projects
8b36acdeb017ce8a57959c609b96111968852d5f
[ "MIT" ]
null
null
null
02_assignment/toolbox/Toolbox_Python02450/Scripts/ex8_1_2.py
LukaAvbreht/ML_projects
8b36acdeb017ce8a57959c609b96111968852d5f
[ "MIT" ]
null
null
null
02_assignment/toolbox/Toolbox_Python02450/Scripts/ex8_1_2.py
LukaAvbreht/ML_projects
8b36acdeb017ce8a57959c609b96111968852d5f
[ "MIT" ]
null
null
null
# exercise 8.1.2 import matplotlib.pyplot as plt import numpy as np from scipy.io import loadmat from sklearn.model_selection import train_test_split from sklearn.linear_model import LogisticRegression from toolbox_02450 import rocplot, confmatplot font_size = 15 plt.rcParams.update({'font.size': font_size}) # Load...
34.804598
127
0.735799
507
3,028
4.207101
0.311637
0.078762
0.036568
0.028129
0.265823
0.224566
0.168776
0.042194
0
0
0
0.033258
0.126156
3,028
87
128
34.804598
0.772865
0.22325
0
0.140351
0
0
0.12997
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
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
5243af0eb677f1c2bf0cf313e87c8ba323328266
29
py
Python
usr_dir/__init__.py
thomasehuang/tensor2tensor
33f3ca44b8e1aa1f1149190f8d2cd1aa81032461
[ "Apache-2.0" ]
null
null
null
usr_dir/__init__.py
thomasehuang/tensor2tensor
33f3ca44b8e1aa1f1149190f8d2cd1aa81032461
[ "Apache-2.0" ]
null
null
null
usr_dir/__init__.py
thomasehuang/tensor2tensor
33f3ca44b8e1aa1f1149190f8d2cd1aa81032461
[ "Apache-2.0" ]
null
null
null
from . import data_generators
29
29
0.862069
4
29
6
1
0
0
0
0
0
0
0
0
0
0
0
0.103448
29
1
29
29
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
52441a6a82d99f66bab6f3dad576880ecde4a10f
645
py
Python
tests/test_model.py
LisbethClausen/cookie
590ce8a7d37757bc13acd02f70d298bbad4cfee7
[ "MIT" ]
null
null
null
tests/test_model.py
LisbethClausen/cookie
590ce8a7d37757bc13acd02f70d298bbad4cfee7
[ "MIT" ]
null
null
null
tests/test_model.py
LisbethClausen/cookie
590ce8a7d37757bc13acd02f70d298bbad4cfee7
[ "MIT" ]
null
null
null
from model import MyAwesomeModel import numpy as np import torch from make_dataset import mnist from torch import nn, optim import matplotlib.pyplot as plt def test_Model(): model = MyAwesomeModel() train_set, _ = mnist() trainloader = torch.utils.data.DataLoader( train_set, batch_size=...
26.875
65
0.632558
82
645
4.902439
0.634146
0.039801
0.054726
0.074627
0
0
0
0
0
0
0
0.027957
0.27907
645
23
66
28.043478
0.836559
0
0
0
0
0
0.045101
0
0
0
0
0
0.111111
1
0.055556
false
0
0.333333
0
0.388889
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
5244de274bbf8f74278162b4dc6478110325167a
49,037
py
Python
mnemopy/mnemopy.py
VivekThazhathattil/mnemopy
bdbe582a5c46f82a03cc14575c2a4f8e4ae33db0
[ "MIT" ]
3
2021-07-13T12:44:36.000Z
2021-11-02T21:03:38.000Z
mnemopy/mnemopy.py
VivekThazhathattil/mnemopy
bdbe582a5c46f82a03cc14575c2a4f8e4ae33db0
[ "MIT" ]
null
null
null
mnemopy/mnemopy.py
VivekThazhathattil/mnemopy
bdbe582a5c46f82a03cc14575c2a4f8e4ae33db0
[ "MIT" ]
1
2021-09-28T22:43:07.000Z
2021-09-28T22:43:07.000Z
import datetime import random import numpy as np from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtMultimedia import QSound import sys from .resources import * class Ui_main_window(object): def setupUi(self, main_window): self.running_applet = False self.counter = 0 self.app_no = 0 ...
46.657469
383
0.633705
6,197
49,037
4.745683
0.074552
0.036383
0.059438
0.071169
0.622088
0.529226
0.452549
0.363596
0.261825
0.221701
0
0.03879
0.239799
49,037
1,050
384
46.701905
0.750121
0.039236
0
0.353879
0
0.003188
0.108271
0.00391
0
0
0
0
0
1
0.043571
false
0
0.007439
0
0.052072
0.025505
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
524514da290d2935ceb86dac13afcf7d933b0596
25,056
py
Python
app/console_interface.py
igorxxl8/Calistra
ced32a53f42a8d7a2309a1eb15acef42418a3ecb
[ "MIT" ]
null
null
null
app/console_interface.py
igorxxl8/Calistra
ced32a53f42a8d7a2309a1eb15acef42418a3ecb
[ "MIT" ]
null
null
null
app/console_interface.py
igorxxl8/Calistra
ced32a53f42a8d7a2309a1eb15acef42418a3ecb
[ "MIT" ]
null
null
null
import os import sys import uuid from app.configuration import Files, Configuration from app.command_parser import get_parsers from app.formatted_argparse import FormattedParser from app.help_functions import * from app.parser_args import ParserArgs from app.printer import Printer from app.user_wrapper import ( Us...
30.97157
80
0.630587
2,952
25,056
5.158198
0.090108
0.03126
0.075918
0.034478
0.539962
0.472582
0.412688
0.34314
0.313456
0.301767
0
0.002047
0.259179
25,056
808
81
31.009901
0.818285
0.082854
0
0.405498
0
0
0.035647
0
0
0
0
0
0
1
0.04811
false
0.010309
0.037801
0
0.216495
0.087629
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
5245ec313baa01b218b015463d7468714caad528
14,647
py
Python
dualbound/Arnoldi/shell_Green_Taylor_Arnoldi_spatialDiscretization_mp.py
PengningChao/emdb-sphere
d20ac81ab4fd744f87788bda46d3aa19598658ee
[ "MIT" ]
null
null
null
dualbound/Arnoldi/shell_Green_Taylor_Arnoldi_spatialDiscretization_mp.py
PengningChao/emdb-sphere
d20ac81ab4fd744f87788bda46d3aa19598658ee
[ "MIT" ]
null
null
null
dualbound/Arnoldi/shell_Green_Taylor_Arnoldi_spatialDiscretization_mp.py
PengningChao/emdb-sphere
d20ac81ab4fd744f87788bda46d3aa19598658ee
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Aug 5 21:46:50 2020 @author: pengning """ import numpy as np import scipy.special as sp import matplotlib.pyplot as plt from .shell_domain import shell_rho_M, shell_rho_N import mpmath from mpmath import mp from .dipole_field import mp_spherical_jn, m...
48.339934
242
0.709429
2,121
14,647
4.748232
0.151815
0.005958
0.011121
0.005561
0.629431
0.586238
0.550094
0.525072
0.486347
0.458544
0
0.015193
0.186659
14,647
302
243
48.5
0.830186
0.236294
0
0.4
0
0
0.004
0
0
0
0
0
0
1
0.041176
false
0
0.052941
0
0.135294
0.023529
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
524690b6022bc5b06f95bfc8ab15bde750cf7ead
745
py
Python
sqlalchemy_collectd/server/listener.py
sqlalchemy/sqlalchemy-collectd
f074fb09b9368213f9c1371a64c5aef4a1e73242
[ "MIT" ]
24
2018-02-12T04:53:20.000Z
2022-02-12T22:05:54.000Z
sqlalchemy_collectd/server/listener.py
sqlalchemy/sqlalchemy-collectd
f074fb09b9368213f9c1371a64c5aef4a1e73242
[ "MIT" ]
11
2018-02-15T08:22:42.000Z
2022-01-06T15:54:42.000Z
sqlalchemy_collectd/server/listener.py
sqlalchemy/sqlalchemy-collectd
f074fb09b9368213f9c1371a64c5aef4a1e73242
[ "MIT" ]
9
2018-02-14T08:55:47.000Z
2021-12-02T07:33:29.000Z
import logging import threading import typing if typing.TYPE_CHECKING: from .receiver import Receiver log = logging.getLogger("sqlalchemy_collectd") def _receive(receiver: "Receiver"): while True: try: receiver.receive() except Exception: log.error("message receiver ...
24.032258
76
0.641611
79
745
5.886076
0.506329
0.103226
0
0
0
0
0
0
0
0
0
0
0.27651
745
30
77
24.833333
0.862709
0
0
0
0
0
0.165101
0
0
0
0
0
0
1
0.086957
false
0
0.173913
0
0.26087
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
524763f6378c293fcd27f9f54dd646dbb8d1f69d
661
py
Python
app/main.py
karma-git/cicd_ec2
3b55a0fabded0aeae7623c155a5319cf98849fb2
[ "WTFPL" ]
null
null
null
app/main.py
karma-git/cicd_ec2
3b55a0fabded0aeae7623c155a5319cf98849fb2
[ "WTFPL" ]
null
null
null
app/main.py
karma-git/cicd_ec2
3b55a0fabded0aeae7623c155a5319cf98849fb2
[ "WTFPL" ]
null
null
null
""" Fast API application ref: https://fastapi.tiangolo.com/ """ import os from socket import gethostname from datetime import datetime from uuid import uuid4 from fastapi import FastAPI app = FastAPI() @app.get("/") async def runtime_info() -> dict: return { "hostname": gethostname(), "timestamp"...
20.65625
56
0.633888
93
661
4.408602
0.569892
0.065854
0.087805
0.102439
0.097561
0
0
0
0
0
0
0.052632
0.223903
661
31
57
21.322581
0.746589
0.164902
0
0.1
0
0
0.165441
0
0
0
0
0
0
1
0
false
0
0.25
0
0.35
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
5249768cdf5144c2893c45c7e8e03b473fb59545
5,541
py
Python
spider/QSCrawl.py
xingangzhang/QS_First_Crawl
ac0095cf3149ff3406006e330a5221e701406631
[ "Apache-2.0" ]
null
null
null
spider/QSCrawl.py
xingangzhang/QS_First_Crawl
ac0095cf3149ff3406006e330a5221e701406631
[ "Apache-2.0" ]
null
null
null
spider/QSCrawl.py
xingangzhang/QS_First_Crawl
ac0095cf3149ff3406006e330a5221e701406631
[ "Apache-2.0" ]
null
null
null
# coding:utf-8 """ @author: smartgang @contact: zhangxingang92@qq.com @file: QSCrawl.py @time: 2017/12/11 14:12 """ # !/usr/bin/python # -*-coding:utf-8-*- """ @author: smartgang @contact: zhangxingang92@qq.com @file: qs_crawl.py @time: 2017/11/30 17:29 """ import urllib import urllib2 import re import hashlib imp...
32.028902
137
0.512723
621
5,541
4.537842
0.299517
0.028744
0.009936
0.017388
0.255855
0.221434
0.17885
0.17885
0.160397
0.129879
0
0.02969
0.331348
5,541
172
138
32.215116
0.730904
0.029237
0
0.173228
0
0.007874
0.100562
0.039527
0
0
0
0
0
0
null
null
0
0.055118
null
null
0.047244
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
524a22127bc31653627822ef861db0207304bda5
123
py
Python
recursor/record/dictrecord.py
OaklandPeters/recursor
3a5eabd0b43e5ec2a66e6215a9bad70b4ab47c34
[ "MIT" ]
null
null
null
recursor/record/dictrecord.py
OaklandPeters/recursor
3a5eabd0b43e5ec2a66e6215a9bad70b4ab47c34
[ "MIT" ]
null
null
null
recursor/record/dictrecord.py
OaklandPeters/recursor
3a5eabd0b43e5ec2a66e6215a9bad70b4ab47c34
[ "MIT" ]
null
null
null
""" View type object, wraps around existing dict/mapping (likely nested), and provides convenient history/path access. """
24.6
69
0.764228
16
123
5.875
1
0
0
0
0
0
0
0
0
0
0
0
0.130081
123
4
70
30.75
0.878505
0.926829
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
524ae3bb7a1380ac60a2ff16c03a95c0ba9e192b
5,028
py
Python
tf_yarn/tensorflow/metrics.py
nateagr/tf-yarn
1f958256291a4cacc3c122900c86831b7882f1e3
[ "Apache-2.0" ]
null
null
null
tf_yarn/tensorflow/metrics.py
nateagr/tf-yarn
1f958256291a4cacc3c122900c86831b7882f1e3
[ "Apache-2.0" ]
null
null
null
tf_yarn/tensorflow/metrics.py
nateagr/tf-yarn
1f958256291a4cacc3c122900c86831b7882f1e3
[ "Apache-2.0" ]
null
null
null
import time import os import logging.config from typing import Union, List import tensorflow as tf import skein from tf_yarn.event import broadcast from tf_yarn.tensorflow import experiment, keras_experiment from tf_yarn import mlflow from tf_yarn._task_commons import n_try, is_chief, get_task logger = logging.getL...
35.160839
99
0.681185
628
5,028
5.113057
0.256369
0.048583
0.012457
0.018686
0.155403
0.082529
0.040486
0.018686
0
0
0
0.003358
0.230111
5,028
142
100
35.408451
0.826143
0.022275
0
0.036364
0
0
0.080065
0.015931
0
0
0
0
0.009091
1
0.1
false
0
0.090909
0.009091
0.263636
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
524d3f9238edfe504582ed378f0ba7eec353ca1d
6,417
py
Python
test.py
huangzhikun1995/IPM-Net
9a4bfdeb3f8b38cd592d5a669b484b489b64a24a
[ "Net-SNMP", "Xnet", "RSA-MD" ]
175
2020-04-25T11:30:45.000Z
2022-01-20T07:35:55.000Z
test.py
huangzhikun1995/IPM-Net
9a4bfdeb3f8b38cd592d5a669b484b489b64a24a
[ "Net-SNMP", "Xnet", "RSA-MD" ]
10
2020-05-02T07:02:28.000Z
2022-03-31T07:14:23.000Z
test.py
huangzhikun1995/IPM-Net
9a4bfdeb3f8b38cd592d5a669b484b489b64a24a
[ "Net-SNMP", "Xnet", "RSA-MD" ]
14
2020-04-25T13:55:46.000Z
2021-05-12T00:21:37.000Z
# -*- coding: utf-8 -*- from __future__ import print_function from utils import get_config, pytorch03_to_pytorch04 from trainer import IPMNet_Trainer from torch.autograd import Variable import argparse import torchvision.utils as vutils import sys import torch import os import random from torchvision import transforms...
46.5
144
0.686458
895
6,417
4.740782
0.206704
0.021211
0.040066
0.025454
0.396418
0.330662
0.303794
0.172048
0.172048
0.172048
0
0.012913
0.179367
6,417
137
145
46.839416
0.792822
0.065607
0
0.093458
0
0
0.169287
0.06089
0
0
0
0
0.009346
1
0
false
0
0.121495
0
0.121495
0.018692
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
524dc9cc67b4526f75a6314915dd77fbc6247841
1,424
py
Python
mycodetests/final_single_bn.py
sajib-4414/comparative-study-with-pgmpy
ab33f6fbda594a626c69573d915b560cab038381
[ "MIT" ]
null
null
null
mycodetests/final_single_bn.py
sajib-4414/comparative-study-with-pgmpy
ab33f6fbda594a626c69573d915b560cab038381
[ "MIT" ]
null
null
null
mycodetests/final_single_bn.py
sajib-4414/comparative-study-with-pgmpy
ab33f6fbda594a626c69573d915b560cab038381
[ "MIT" ]
null
null
null
import numpy as np from pgmpy.models import BayesianModel from pgmpy.factors.discrete import TabularCPD from pgmpy.inference.EliminationOrder import WeightedMinFill, MinWeight, MinNeighbors, MinFill model = BayesianModel([('c', 'd'), ('d', 'g'), ('i', 'g'), ('i', 's'), ('s', 'j'), ('g', 'l'), ('l', 'j'), ('j', 'h'), ('...
56.96
131
0.669242
248
1,424
3.633065
0.181452
0.071032
0.106548
0.100999
0.266371
0.219756
0.186459
0.146504
0.146504
0.146504
0
0.026025
0.109551
1,424
25
132
56.96
0.684543
0
0
0.136364
0
0
0.071579
0
0
0
0
0
0
1
0.045455
false
0
0.181818
0.045455
0.272727
0.181818
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
524ed72cf498e495560960c8c922d41f3726549d
2,111
py
Python
tests/nn/rnn_test.py
TylerYep/edutorch
6a4a425cbfd7fcdcd851b010816d29c3b5bae8bd
[ "MIT" ]
3
2021-06-14T01:17:31.000Z
2022-01-20T09:34:32.000Z
tests/nn/rnn_test.py
TylerYep/edutorch
6a4a425cbfd7fcdcd851b010816d29c3b5bae8bd
[ "MIT" ]
null
null
null
tests/nn/rnn_test.py
TylerYep/edutorch
6a4a425cbfd7fcdcd851b010816d29c3b5bae8bd
[ "MIT" ]
null
null
null
import numpy as np from edutorch.nn import RNN from tests.gradient_check import estimate_gradients, rel_error def test_rnn_forward() -> None: N, T, D, H = 2, 3, 4, 5 x = np.linspace(-0.1, 0.3, num=N * T * D).reshape(N, T, D) model = RNN(D, H, N) model.h0 = np.linspace(-0.3, 0.1, num=N * H).reshape(N,...
31.984848
80
0.563714
348
2,111
3.333333
0.25
0.041379
0.082759
0.017241
0.043103
0.031034
0.031034
0
0
0
0
0.199359
0.261014
2,111
65
81
32.476923
0.544231
0
0
0.078431
0
0
0.085741
0
0
0
0
0
0.117647
1
0.039216
false
0
0.058824
0
0.098039
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
524f2cb651d82997c19fb7c2619197aa1c40b24b
699
py
Python
Algorithms/Medium/98. Validate Binary Search Tree/answer.py
KenWoo/Algorithm
4012a2f0a099a502df1e5df2e39faa75fe6463e8
[ "Apache-2.0" ]
null
null
null
Algorithms/Medium/98. Validate Binary Search Tree/answer.py
KenWoo/Algorithm
4012a2f0a099a502df1e5df2e39faa75fe6463e8
[ "Apache-2.0" ]
null
null
null
Algorithms/Medium/98. Validate Binary Search Tree/answer.py
KenWoo/Algorithm
4012a2f0a099a502df1e5df2e39faa75fe6463e8
[ "Apache-2.0" ]
null
null
null
from typing import List class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def isValidBST(self, root: TreeNode) -> bool: def dfs(node, lower, upper): if not node: ret...
24.103448
53
0.519313
84
699
4.178571
0.392857
0.059829
0.079772
0.108262
0.176638
0.176638
0.176638
0.176638
0
0
0
0.002326
0.384835
699
28
54
24.964286
0.813953
0
0
0.227273
0
0
0.021459
0
0
0
0
0
0
1
0.136364
false
0.045455
0.045455
0
0.545455
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
5250ad7e34834ab3c8f0931a48fb8303dc4ac59f
2,035
py
Python
Examples/VoiceMESSAGE/main_data_function.py
davidhozic/Discord-Shiller
ff22bb1ceb7b4128ee0d27f3c9c9dd0a5279feb9
[ "MIT" ]
12
2022-02-20T20:50:24.000Z
2022-03-24T17:15:15.000Z
Examples/VoiceMESSAGE/main_data_function.py
davidhozic/Discord-Shiller
ff22bb1ceb7b4128ee0d27f3c9c9dd0a5279feb9
[ "MIT" ]
3
2022-02-21T15:17:43.000Z
2022-03-17T22:36:23.000Z
Examples/VoiceMESSAGE/main_data_function.py
davidhozic/discord-advertisement-framework
ff22bb1ceb7b4128ee0d27f3c9c9dd0a5279feb9
[ "MIT" ]
1
2022-03-31T01:04:01.000Z
2022-03-31T01:04:01.000Z
import framework, datetime, secret from framework import discord ############################################################################################ # It's VERY IMPORTANT that you use @framework.data_function! ############################################################################################ @fra...
52.179487
140
0.434398
172
2,035
4.982558
0.523256
0.038506
0.049008
0.035006
0
0
0
0
0
0
0
0.019826
0.380344
2,035
39
141
52.179487
0.659794
0.278624
0
0
0
0
0.026383
0
0
0
0
0
0
1
0.037037
false
0
0.074074
0.037037
0.148148
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
525147078c4303005bed80d768d6e902199dcf56
8,036
py
Python
taxcalc/parameters.py
jlyons871/Tax-Calculator
77f3f67ae77f12ea83e15e138e9fc0ab9fd5cd1d
[ "MIT" ]
null
null
null
taxcalc/parameters.py
jlyons871/Tax-Calculator
77f3f67ae77f12ea83e15e138e9fc0ab9fd5cd1d
[ "MIT" ]
null
null
null
taxcalc/parameters.py
jlyons871/Tax-Calculator
77f3f67ae77f12ea83e15e138e9fc0ab9fd5cd1d
[ "MIT" ]
null
null
null
import numpy as np from .utils import expand_array import os import json from pkg_resources import resource_stream, Requirement DEFAULT_START_YEAR = 2013 class Parameters(object): CUR_PATH = os.path.abspath(os.path.dirname(__file__)) PARAM_FILENAME = "params.json" params_path = os.path.join(CUR_PATH, PA...
37.203704
101
0.547038
978
8,036
4.250511
0.205521
0.071446
0.039692
0.024537
0.242723
0.182824
0.130623
0.115708
0.087804
0.074092
0
0.025651
0.364485
8,036
215
102
37.376744
0.78833
0.080264
0
0.173333
0
0
0.068054
0
0
0
0
0
0.013333
1
0.06
false
0
0.033333
0.02
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
52526e6b9718bd65a27d53722dce3848e3edd23c
1,704
py
Python
manila/tests/common/test_config.py
gouthampacha/manila
4b7ba9b99d272663f519b495668715fbf979ffbc
[ "Apache-2.0" ]
159
2015-01-02T09:35:15.000Z
2022-01-04T11:51:34.000Z
manila/tests/common/test_config.py
gouthampacha/manila
4b7ba9b99d272663f519b495668715fbf979ffbc
[ "Apache-2.0" ]
6
2021-02-11T16:09:43.000Z
2022-03-15T09:56:25.000Z
manila/tests/common/test_config.py
gouthampacha/manila
4b7ba9b99d272663f519b495668715fbf979ffbc
[ "Apache-2.0" ]
128
2015-01-05T22:52:28.000Z
2021-12-29T14:00:58.000Z
# Copyright 2015 Mirantis Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
38.727273
78
0.74061
235
1,704
5.208511
0.455319
0.065359
0.065359
0.026144
0.207516
0.163399
0.163399
0.163399
0.163399
0.163399
0
0.006406
0.175469
1,704
43
79
39.627907
0.864769
0.351526
0
0.181818
0
0
0.011927
0
0
0
0
0
0.045455
1
0.090909
false
0
0.272727
0
0.409091
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
52527c09ab51822cd9edb48f797e2f7bdcac9b7e
382
py
Python
Reconnaissance/Campus/migrations/0003_auto_20180905_1746.py
RobinRichard/BITCampusReconnaissance
f3ff77ce524b6182ee68854df15c8ebf0b2ec577
[ "MIT" ]
null
null
null
Reconnaissance/Campus/migrations/0003_auto_20180905_1746.py
RobinRichard/BITCampusReconnaissance
f3ff77ce524b6182ee68854df15c8ebf0b2ec577
[ "MIT" ]
null
null
null
Reconnaissance/Campus/migrations/0003_auto_20180905_1746.py
RobinRichard/BITCampusReconnaissance
f3ff77ce524b6182ee68854df15c8ebf0b2ec577
[ "MIT" ]
null
null
null
# Generated by Django 2.0.3 on 2018-09-05 05:46 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Campus', '0002_category_category_icon'), ] operations = [ migrations.RenameField( model_name='category', old_name='category_...
20.105263
50
0.604712
41
382
5.439024
0.682927
0.161435
0.143498
0
0
0
0
0
0
0
0
0.069853
0.287958
382
18
51
21.222222
0.75
0.117801
0
0
1
0
0.2
0.080597
0
0
0
0
0
1
0
false
0
0.083333
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
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5252b9e0d384e25de7e889713311e7723ff134c8
564
py
Python
1st_100/problem040.py
takekoputa/project-euler
6f434be429bd26f5d0f84f5ab0f5fa2bd677c790
[ "MIT" ]
null
null
null
1st_100/problem040.py
takekoputa/project-euler
6f434be429bd26f5d0f84f5ab0f5fa2bd677c790
[ "MIT" ]
null
null
null
1st_100/problem040.py
takekoputa/project-euler
6f434be429bd26f5d0f84f5ab0f5fa2bd677c790
[ "MIT" ]
1
2021-11-02T12:08:46.000Z
2021-11-02T12:08:46.000Z
# Question: https://projecteuler.net/problem=40 def get_ith_digit_of(n, i): return int(str(n)[i]) N = [10**i for i in range(7)] i = 0 k = 1 prod = 1 lower = 1 # position of the first digit of [10**(k-1), 10**k) upper = 9 # position of the last digit of [10**(k-1), 10**k) for n in N: while not (n >= lower an...
23.5
61
0.546099
106
564
2.830189
0.358491
0.04
0.053333
0.086667
0.093333
0.093333
0.093333
0
0
0
0
0.073892
0.280142
564
23
62
24.521739
0.665025
0.255319
0
0
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0
0.058824
0.117647
0.058824
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
52543cfbc90962ca7a1e72a2c1d73487a8e487c6
5,312
py
Python
grizzly_cli/init.py
Biometria-se/grizzly-cli
75690e565cc42e014de53feb12e3250c014b5b02
[ "MIT" ]
null
null
null
grizzly_cli/init.py
Biometria-se/grizzly-cli
75690e565cc42e014de53feb12e3250c014b5b02
[ "MIT" ]
null
null
null
grizzly_cli/init.py
Biometria-se/grizzly-cli
75690e565cc42e014de53feb12e3250c014b5b02
[ "MIT" ]
1
2021-11-02T09:36:21.000Z
2021-11-02T09:36:21.000Z
from typing import Generator from argparse import Namespace as Arguments from os import path from pathlib import Path from .utils import ask_yes_no from . import EXECUTION_CONTEXT, register_parser from .argparse import ArgumentSubParser # prefix components: space = ' ' branch = '│ ' # pointers: tee = '├── ' last...
32
117
0.65738
664
5,312
5.230422
0.286145
0.031673
0.014973
0.024187
0.145407
0.090988
0.042039
0.025338
0
0
0
0.007037
0.224209
5,312
165
118
32.193939
0.823587
0.12933
0
0.1875
0
0.008929
0.364152
0.038814
0
0
0
0
0
1
0.026786
false
0
0.080357
0
0.133929
0.080357
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
52545548fbd4134a636bff54b3a9ea9622135836
1,052
py
Python
nephelae_paparazzi/missions/rules/TypeCheck.py
pnarvor/nephelae_paparazzi
1c000444c39b342e90f39f432737ef06be762f56
[ "BSD-3-Clause" ]
null
null
null
nephelae_paparazzi/missions/rules/TypeCheck.py
pnarvor/nephelae_paparazzi
1c000444c39b342e90f39f432737ef06be762f56
[ "BSD-3-Clause" ]
null
null
null
nephelae_paparazzi/missions/rules/TypeCheck.py
pnarvor/nephelae_paparazzi
1c000444c39b342e90f39f432737ef06be762f56
[ "BSD-3-Clause" ]
null
null
null
from .ParameterRules import ParameterRules class TypeCheck(ParameterRules): """ TypeCheck Implements a type checking. Attribute --------- allowedTypes : tuple(any type, ...) A tuple of types to check. Check will be done by isinstance(params, self.types) Methods -----...
26.974359
73
0.63403
105
1,052
6.266667
0.438095
0.145897
0.086626
0.066869
0.12462
0.12462
0.12462
0
0
0
0
0
0.262357
1,052
38
74
27.684211
0.847938
0.296578
0
0
0
0
0.092105
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0.142857
0.642857
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
52547218d91a9e3538d379d757700348c851643e
2,086
py
Python
Projective-Geometry/tony/com.tonybeltramelli.homography/PersonTracker.py
tonybeltramelli/Graphics-And-Vision
a1dbeada8e907b119ecce1fe421ae91e64ff3371
[ "Apache-2.0" ]
12
2017-05-26T12:04:38.000Z
2021-07-11T04:42:19.000Z
Projective-Geometry/tony/com.tonybeltramelli.homography/PersonTracker.py
tonybeltramelli/Graphics-And-Vision
a1dbeada8e907b119ecce1fe421ae91e64ff3371
[ "Apache-2.0" ]
null
null
null
Projective-Geometry/tony/com.tonybeltramelli.homography/PersonTracker.py
tonybeltramelli/Graphics-And-Vision
a1dbeada8e907b119ecce1fe421ae91e64ff3371
[ "Apache-2.0" ]
4
2017-05-09T08:26:44.000Z
2018-04-23T03:16:01.000Z
__author__ = 'tbeltramelli' from AHomography import * class PersonTracker(AHomography): _input = None _data = None _map = None _counter = 0 _tracking_output_path = "" def __init__(self, video_path, map_path, tracking_data_path, tracking_output_path, homography_output_path): self._dat...
28.972222
111
0.601151
293
2,086
3.986348
0.225256
0.068493
0.077055
0.028253
0.114726
0.032534
0.032534
0
0
0
0
0.038158
0.271333
2,086
71
112
29.380282
0.730263
0
0
0.081633
0
0
0.005753
0
0
0
0
0
0
1
0.102041
false
0
0.020408
0
0.326531
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
525472b389cc659c518242f40c4501f042d61674
784
py
Python
addons/purchase/models/res_company.py
shdkej/odoo_gvm
15b797e60a329f5d2fddb817a2b30a926b5873fa
[ "MIT" ]
null
null
null
addons/purchase/models/res_company.py
shdkej/odoo_gvm
15b797e60a329f5d2fddb817a2b30a926b5873fa
[ "MIT" ]
3
2020-12-06T11:10:32.000Z
2020-12-06T11:16:48.000Z
addons/purchase/models/res_company.py
shdkej/odoo_gvm
15b797e60a329f5d2fddb817a2b30a926b5873fa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import fields, models class Company(models.Model): _inherit = 'res.company' po_lead = fields.Float(string='Purchase Lead Time', required=True, default=0.0) po_lock = fields.Selection([('edit', 'Al...
56
218
0.732143
107
784
5.261682
0.570093
0.0746
0.063943
0
0
0
0
0
0
0
0
0.011869
0.140306
784
13
219
60.307692
0.823442
0.119898
0
0
0
0
0.427948
0
0
0
0
0
0
1
0
false
0
0.125
0
0.875
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
52566331e034acb7ace56696f917288ee7ab7d8f
199
py
Python
DAV/marks grader.py
KhushMody/Ds-Algo-HacktoberFest
2cb5bdcfcdcb87b67ee31941cc9afc466507a05b
[ "MIT" ]
12
2020-10-04T06:48:29.000Z
2021-02-16T17:54:04.000Z
DAV/marks grader.py
KhushMody/Ds-Algo-HacktoberFest
2cb5bdcfcdcb87b67ee31941cc9afc466507a05b
[ "MIT" ]
14
2020-10-04T09:09:52.000Z
2021-10-16T19:59:23.000Z
DAV/marks grader.py
KhushMody/Ds-Algo-HacktoberFest
2cb5bdcfcdcb87b67ee31941cc9afc466507a05b
[ "MIT" ]
55
2020-10-04T03:09:25.000Z
2021-10-16T09:00:12.000Z
marks=int(input("Enter your marks out of 100 = ")) if marks >=80: print("A") elif marks>=60: print("B") elif marks>=40: print("C") else: print("BETTER LUCK NEXT TIME") print("THANKS")
19.9
50
0.613065
32
199
3.8125
0.71875
0.147541
0
0
0
0
0
0
0
0
0
0.05625
0.19598
199
10
51
19.9
0.70625
0
0
0
0
0
0.3
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
1
5256dc49ae43be461633b31795b4833a40117536
10,159
py
Python
dpsutil/attrdict/defaultdict.py
connortran216/DPS_Util
8e6af59c3cc5d4addf3694ee0dfede08206ec4b3
[ "MIT" ]
1
2021-01-19T03:14:42.000Z
2021-01-19T03:14:42.000Z
dpsutil/attrdict/defaultdict.py
connortran216/DPS_Util
8e6af59c3cc5d4addf3694ee0dfede08206ec4b3
[ "MIT" ]
1
2021-01-27T09:50:33.000Z
2021-01-27T09:50:33.000Z
dpsutil/attrdict/defaultdict.py
connortran216/DPS_Util
8e6af59c3cc5d4addf3694ee0dfede08206ec4b3
[ "MIT" ]
3
2020-03-24T02:49:47.000Z
2021-02-26T04:05:06.000Z
from inspect import isclass from .attrdict import AttrDict class DefaultDict(AttrDict): """ DefaultDict help cover your dict with (keys, values) that was defined before. Implement from dpsutil.attrdict.AttrDict Example: your_dict = DefaultDict(a=1, b=2) your_dict.a # return: 1 ...
29.108883
96
0.571021
1,202
10,159
4.451747
0.142263
0.035881
0.020183
0.049337
0.447767
0.36666
0.317137
0.288357
0.237526
0.211736
0
0.003479
0.320898
10,159
348
97
29.192529
0.772141
0.28802
0
0.439024
0
0
0.122568
0.061808
0
0
0
0
0.012195
1
0.170732
false
0
0.012195
0.018293
0.286585
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
5257e0aa35e7430b3b24144db93916b29ef06292
5,196
py
Python
assets/src/ba_data/python/ba/osmusic.py
Benefit-Zebra/ballistica
eb85df82cff22038e74a2d93abdcbe9cd755d782
[ "MIT" ]
6
2021-04-16T14:25:25.000Z
2021-11-18T17:20:19.000Z
assets/src/ba_data/python/ba/osmusic.py
Benefit-Zebra/ballistica
eb85df82cff22038e74a2d93abdcbe9cd755d782
[ "MIT" ]
1
2021-08-30T10:09:06.000Z
2021-09-21T10:44:15.000Z
assets/src/ba_data/python/ba/osmusic.py
Benefit-Zebra/ballistica
eb85df82cff22038e74a2d93abdcbe9cd755d782
[ "MIT" ]
2
2021-04-20T15:39:27.000Z
2021-07-18T08:45:56.000Z
# Released under the MIT License. See LICENSE for details. # """Music playback using OS functionality exposed through the C++ layer.""" from __future__ import annotations import os import random import threading from typing import TYPE_CHECKING import _ba from ba._music import MusicPlayer if TYPE_CHECKING: from ...
38.205882
79
0.580062
576
5,196
4.946181
0.319444
0.014742
0.02106
0.02457
0.127764
0.058266
0.058266
0.058266
0.030186
0
0
0.002879
0.331601
5,196
135
80
38.488889
0.817449
0.105081
0
0.145631
0
0
0.047372
0.018603
0
0
0
0.007407
0.009709
1
0.097087
false
0
0.126214
0
0.271845
0.048544
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
52594cf6b7777920a97c3a55f55f74487fe1da36
2,710
py
Python
eukarya/scripts_nonsql/run_ROC_stats.py
ESDeutekom/ComparingOrthologies
090b95c29f70865f2c3d6d408f565482f49c0f44
[ "MIT" ]
2
2020-07-15T10:37:31.000Z
2020-10-22T08:44:21.000Z
eukarya/scripts_nonsql/run_ROC_stats.py
ESDeutekom/ComparingOrthologies
090b95c29f70865f2c3d6d408f565482f49c0f44
[ "MIT" ]
1
2021-11-05T02:40:09.000Z
2021-11-10T10:36:57.000Z
eukarya/scripts_nonsql/run_ROC_stats.py
ESDeutekom/ComparingOrthologies
090b95c29f70865f2c3d6d408f565482f49c0f44
[ "MIT" ]
null
null
null
#!/hosts/linuxhome/scarab/eva2/Programs/miniconda3/bin/python #python3 import sys import random import pandas as pd import numpy as np from sklearn.metrics import roc_curve, roc_auc_score, auc from multiprocessing import Process from ROC_statistics import * #Get ROC statistics with permutations and bootstrapping #There...
45.932203
129
0.703321
368
2,710
4.983696
0.459239
0.034896
0.059978
0.068157
0.146129
0.123228
0.123228
0.103053
0.080153
0.080153
0
0.0103
0.176015
2,710
58
130
46.724138
0.811017
0.362731
0
0.052632
0
0
0.2137
0.133489
0
0
0
0
0
1
0.026316
false
0
0.210526
0
0.263158
0.026316
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
525b6d2a714965cf890c7fc7959bcc71d559d4b3
187
py
Python
tests/test_seline.py
iivek/pymorph
aa73dddcc3869ec9b85b85e6b40fad3bd07229a5
[ "BSD-3-Clause" ]
null
null
null
tests/test_seline.py
iivek/pymorph
aa73dddcc3869ec9b85b85e6b40fad3bd07229a5
[ "BSD-3-Clause" ]
null
null
null
tests/test_seline.py
iivek/pymorph
aa73dddcc3869ec9b85b85e6b40fad3bd07229a5
[ "BSD-3-Clause" ]
null
null
null
import pymorph import numpy as np def test_seline_len(): for angle in (0, 45, -45, 90, -90, 180): for w in range(1,7): assert pymorph.seline(w, angle).sum() == w
23.375
54
0.588235
32
187
3.375
0.6875
0
0
0
0
0
0
0
0
0
0
0.102941
0.272727
187
7
55
26.714286
0.691176
0
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.5
0
0
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
1
0
0
0
0
2
525cae8718f08e705c6cbc8f68291e4c9f2f821a
1,494
py
Python
src/zaif.py
colticol/CryptoCurrencyProfit
99fd29b828c7f5a21b02051249e66a90ba2ecf1f
[ "BSD-2-Clause" ]
null
null
null
src/zaif.py
colticol/CryptoCurrencyProfit
99fd29b828c7f5a21b02051249e66a90ba2ecf1f
[ "BSD-2-Clause" ]
3
2018-01-11T07:34:50.000Z
2018-07-24T13:48:24.000Z
src/zaif.py
colticol/CryptoCurrencyTax
99fd29b828c7f5a21b02051249e66a90ba2ecf1f
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import pandas as pd import re from exchange import Exchange class Zaif(Exchange): """docstring for Zaif""" def __init__(self, f_trades, jpy): self.trades = pd.read_csv(f_trades, parse_dates=['日時']) self.trades['日時'] = self.trades['日時'].dt.normalize() self.trades...
38.307692
106
0.544846
175
1,494
4.565714
0.422857
0.082603
0.030038
0.035044
0.152691
0
0
0
0
0
0
0.002918
0.311914
1,494
38
107
39.315789
0.774319
0.07095
0
0
0
0
0.050872
0
0
0
0
0
0
1
0.107143
false
0
0.107143
0
0.321429
0.035714
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
525e334714eb214e4a6f911c418914177e016131
3,543
py
Python
pretix_pizzabot/management/commands/import_appsmart.py
raphaelm/pretix-pizzabot
4ef2d4a1c5a199fcfe32d4da926521622f20784f
[ "Apache-2.0" ]
null
null
null
pretix_pizzabot/management/commands/import_appsmart.py
raphaelm/pretix-pizzabot
4ef2d4a1c5a199fcfe32d4da926521622f20784f
[ "Apache-2.0" ]
null
null
null
pretix_pizzabot/management/commands/import_appsmart.py
raphaelm/pretix-pizzabot
4ef2d4a1c5a199fcfe32d4da926521622f20784f
[ "Apache-2.0" ]
null
null
null
import sys import requests from django.core.files.base import ContentFile from django.core.management.base import BaseCommand from pretix.base.models import Event class Command(BaseCommand): help = "Import data from appsmart" def add_arguments(self, parser): parser.add_argument('event_id', type=int...
35.079208
89
0.546712
409
3,543
4.633252
0.242054
0.061741
0.027441
0.02533
0.295515
0.253298
0.191029
0.191029
0.191029
0.150923
0
0.001238
0.315834
3,543
100
90
35.43
0.779703
0
0
0.174419
0
0.011628
0.129551
0.058425
0
0
0
0
0
1
0.05814
false
0
0.069767
0
0.151163
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
525e43b28c0fe645c6eebac99fd47308c695545c
1,302
py
Python
sympy/core/tests/test_eval_power.py
certik/sympy-oldcore
eb5bd061c309d88cdfb502bfd5df511b30368458
[ "BSD-3-Clause" ]
1
2016-05-08T17:54:57.000Z
2016-05-08T17:54:57.000Z
sympy/core/tests/test_eval_power.py
certik/sympy-oldcore
eb5bd061c309d88cdfb502bfd5df511b30368458
[ "BSD-3-Clause" ]
null
null
null
sympy/core/tests/test_eval_power.py
certik/sympy-oldcore
eb5bd061c309d88cdfb502bfd5df511b30368458
[ "BSD-3-Clause" ]
null
null
null
from sympy.core import * def test_rational(): a = Rational(1, 5) assert a**Rational(1, 2) == a**Rational(1, 2) assert 2 * a**Rational(1, 2) == 2 * a**Rational(1, 2) assert a**Rational(3, 2) == a * a**Rational(1, 2) assert 2 * a**Rational(3, 2) == 2*a * a**Rational(1, 2) assert a**Rational(17...
28.304348
70
0.577573
219
1,302
3.392694
0.228311
0.230148
0.107672
0.088829
0.364738
0.339166
0.247645
0.172275
0.099596
0.099596
0
0.114723
0.196621
1,302
45
71
28.933333
0.595602
0.088326
0
0
0
0
0.002534
0
0
0
0
0
0.428571
1
0.25
false
0
0.035714
0.035714
0.321429
0
0
0
0
null
1
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
1
0
1
0
0
0
0
0
0
0
3
52624e098464fc85ce6b1d78ae147345b2406918
4,710
py
Python
parakeet/frontend/cn_frontend.py
lym0302/Parakeet
97b7000aa2be182d3ff4681f435f8c1463e97083
[ "Apache-2.0" ]
null
null
null
parakeet/frontend/cn_frontend.py
lym0302/Parakeet
97b7000aa2be182d3ff4681f435f8c1463e97083
[ "Apache-2.0" ]
null
null
null
parakeet/frontend/cn_frontend.py
lym0302/Parakeet
97b7000aa2be182d3ff4681f435f8c1463e97083
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
41.681416
92
0.572187
552
4,710
4.733696
0.327899
0.042863
0.036739
0.025258
0.093379
0.077306
0.035974
0.035974
0.035974
0.035974
0
0.011247
0.339278
4,710
112
93
42.053571
0.828406
0.198726
0
0.070588
0
0
0.018652
0
0
0
0
0
0
1
0.047059
false
0
0.105882
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
526279a7337e632342745cde311dcfd0a2f32dd8
503
py
Python
expfactory_deploy/experiments/migrations/0014_experimentrepo_framework.py
rwblair/expfactory-deploy
509b74fc16b70234b448a727c4fe7759fb6057c8
[ "MIT" ]
null
null
null
expfactory_deploy/experiments/migrations/0014_experimentrepo_framework.py
rwblair/expfactory-deploy
509b74fc16b70234b448a727c4fe7759fb6057c8
[ "MIT" ]
null
null
null
expfactory_deploy/experiments/migrations/0014_experimentrepo_framework.py
rwblair/expfactory-deploy
509b74fc16b70234b448a727c4fe7759fb6057c8
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2022-03-08 15:58 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('experiments', '0013_auto_20211119_2336'), ] operations = [ migrations.AddField( model_name='exp...
25.15
121
0.656064
57
503
5.684211
0.684211
0.074074
0.08642
0.135802
0
0
0
0
0
0
0
0.079897
0.228628
503
19
122
26.473684
0.755155
0.089463
0
0
1
0
0.171053
0.096491
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
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
52629716534d1a743641bdea955149cf6682212e
1,580
py
Python
samples/analyzer_level/dotnet/annotation/main.py
CAST-projects/Extension-SDK
7d9233d8e94bf72d3dd516257bc16838f35307ab
[ "MIT" ]
3
2017-09-24T21:21:37.000Z
2022-03-09T04:08:46.000Z
samples/analyzer_level/dotnet/annotation/main.py
CAST-projects/Extension-SDK
7d9233d8e94bf72d3dd516257bc16838f35307ab
[ "MIT" ]
null
null
null
samples/analyzer_level/dotnet/annotation/main.py
CAST-projects/Extension-SDK
7d9233d8e94bf72d3dd516257bc16838f35307ab
[ "MIT" ]
4
2016-09-06T06:24:41.000Z
2020-01-28T17:17:16.000Z
from cast.analysers import log, external_link, filter, create_link import cast.analysers.dotnet def link_to_table(type_, table_name): # search all tables or views with table_name as name tables = external_link.find_objects(table_name, filter.tables_or_views) # the position of the link will be the po...
33.617021
90
0.599367
179
1,580
5.111732
0.424581
0.068852
0.04153
0.032787
0.128962
0.052459
0
0
0
0
0
0.001874
0.324684
1,580
46
91
34.347826
0.85567
0.268354
0
0
0
0
0.071107
0.035104
0
0
0
0
0
1
0.105263
false
0
0.105263
0
0.263158
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
5262a146f4fe6bb405406fb77ba1dd5bb47b9825
336
py
Python
src/setup.py
EasyMicroPython/EMP
8d865c22e8415d5b2ac7ddf9909b66990452748d
[ "MIT" ]
3
2019-02-23T04:27:56.000Z
2021-07-15T12:30:29.000Z
src/setup.py
Easy-MicroPython/EMP
8d865c22e8415d5b2ac7ddf9909b66990452748d
[ "MIT" ]
1
2020-02-06T14:24:07.000Z
2020-02-06T14:24:07.000Z
src/setup.py
EasyMicroPython/EMP-EXT
8d865c22e8415d5b2ac7ddf9909b66990452748d
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name='emp-ext', version='1.14', py_modules=['emp_wifi', 'emp_webide', 'emp_ide', 'emp_utils'], author='singein', author_email='singein@outlook.com', url='http://emp.1zlab.com', description='EMP(Easy MicroPython) is a upy module to make things Easy on ...
28
91
0.675595
48
336
4.604167
0.75
0
0
0
0
0
0
0
0
0
0
0.014286
0.166667
336
11
92
30.545455
0.775
0
0
0
0
0
0.488095
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
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
1
0
0
0
0
0
0
1
5262c658515af324c2b3dc009025011f7c7ce13a
480
py
Python
app/content/models/badge.py
TIHLDE/Lepton
60ec0793381f1c1b222f305586e8c2d4345fb566
[ "MIT" ]
7
2021-03-04T18:49:12.000Z
2021-03-08T18:25:51.000Z
app/content/models/badge.py
TIHLDE/Lepton
60ec0793381f1c1b222f305586e8c2d4345fb566
[ "MIT" ]
251
2021-03-04T19:19:14.000Z
2022-03-31T14:47:53.000Z
app/content/models/badge.py
tihlde/Lepton
5cab3522c421b76373a5c25f49267cfaef7b826a
[ "MIT" ]
3
2021-10-05T19:03:04.000Z
2022-02-25T13:32:09.000Z
import uuid from django.db import models from app.util.models import BaseModel, OptionalImage class Badge(BaseModel, OptionalImage): id = models.UUIDField( auto_created=True, primary_key=True, default=uuid.uuid4, serialize=False, ) title = models.CharField(max_length=200) description = model...
24
81
0.708333
59
480
5.59322
0.661017
0.133333
0.109091
0.145455
0.163636
0
0
0
0
0
0
0.018088
0.19375
480
19
82
25.263158
0.834625
0
0
0
0
0
0.08125
0
0
0
0
0
0
1
0.076923
false
0
0.230769
0.076923
0.769231
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
5263e5bccc39673dd776a344a77421379f771015
47
py
Python
LayerHessians/hessian/__init__.py
yashkhasbage25/HTR
192718f15fafc283d31c22c75fd5e75b31e4db91
[ "MIT" ]
null
null
null
LayerHessians/hessian/__init__.py
yashkhasbage25/HTR
192718f15fafc283d31c22c75fd5e75b31e4db91
[ "MIT" ]
null
null
null
LayerHessians/hessian/__init__.py
yashkhasbage25/HTR
192718f15fafc283d31c22c75fd5e75b31e4db91
[ "MIT" ]
null
null
null
from .hessian import FullHessian, LayerHessian
23.5
46
0.851064
5
47
8
1
0
0
0
0
0
0
0
0
0
0
0
0.106383
47
1
47
47
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
526610e16ee728557c0a3bfa58f2986c17e49598
7,416
py
Python
server/python/django_w2ui/django_w2ui/views.py
EruditePig/w2ui
81e0ee27692956325d4729d36d23e93c1094a397
[ "MIT" ]
1,415
2015-01-01T06:37:10.000Z
2022-03-30T01:40:31.000Z
server/python/django_w2ui/django_w2ui/views.py
EruditePig/w2ui
81e0ee27692956325d4729d36d23e93c1094a397
[ "MIT" ]
1,237
2015-01-05T16:24:34.000Z
2022-03-28T14:21:51.000Z
server/python/django_w2ui/django_w2ui/views.py
EruditePig/w2ui
81e0ee27692956325d4729d36d23e93c1094a397
[ "MIT" ]
640
2015-01-09T12:56:26.000Z
2022-03-30T05:37:37.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals import json import re from operator import or_ , and_ from django.core.paginator import Paginator from django.core.serializers.json import DjangoJSONEncoder from django.db import models from django.db.models import Q from django.http import HttpResponse,...
33.556561
98
0.574299
820
7,416
5.069512
0.284146
0.028867
0.016358
0.022131
0.069762
0.051479
0.040414
0
0
0
0
0.005453
0.307578
7,416
220
99
33.709091
0.80409
0.069984
0
0.093923
0
0
0.083662
0
0
0
0
0.004545
0
1
0.066298
false
0
0.104972
0.022099
0.314917
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
5266a1f4e4a245710a9baa0702447d9883ef87cd
648
py
Python
dist/Platform.app/Contents/Resources/lib/python3.7/wx/gizmos.py
njalloul90/Genomics_Oncology_Platform
9bf6d0edca5df783f4e371fa1bc46b7b1576fe70
[ "MIT" ]
6
2021-07-26T14:21:25.000Z
2021-07-26T14:32:01.000Z
dist/Platform.app/Contents/Resources/lib/python3.7/wx/gizmos.py
njalloul90/Genomics_Oncology_Platform
9bf6d0edca5df783f4e371fa1bc46b7b1576fe70
[ "MIT" ]
2
2021-12-10T10:25:19.000Z
2021-12-10T10:27:15.000Z
dist/Platform.app/Contents/Resources/lib/python3.7/wx/gizmos.py
njalloul90/Genomics_Oncology_Platform
9bf6d0edca5df783f4e371fa1bc46b7b1576fe70
[ "MIT" ]
1
2021-05-10T08:41:12.000Z
2021-05-10T08:41:12.000Z
#--------------------------------------------------------------------------- # Name: wx/gizmos.py # Author: Robin Dunn # # Created: 27-Oct-2017 # Copyright: (c) 2017-2020 by Total Control Software # License: wxWindows License #-----------------------------------------------------------------------...
34.105263
80
0.544753
78
648
4.525641
0.705128
0.042493
0.093484
0
0
0
0
0
0
0
0
0.02583
0.16358
648
18
81
36
0.625461
0.908951
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
4
5267f66ff427f0c0f68a329d6315460ba96446bf
6,230
py
Python
nfdi/nel.py
UB-Mannheim/NFDI
a66d3bdbf967ea508f5281dec4595a6005fb8f21
[ "MIT" ]
1
2021-10-01T18:37:17.000Z
2021-10-01T18:37:17.000Z
nfdi/nel.py
UB-Mannheim/NFDI
a66d3bdbf967ea508f5281dec4595a6005fb8f21
[ "MIT" ]
null
null
null
nfdi/nel.py
UB-Mannheim/NFDI
a66d3bdbf967ea508f5281dec4595a6005fb8f21
[ "MIT" ]
1
2021-09-29T15:51:55.000Z
2021-09-29T15:51:55.000Z
import spacy class linker(): def __init__(self, text="", language="en"): nlp = spacy.blank(language) ruler = nlp.add_pipe("entity_ruler") patterns = [{'label': 'ORG', 'pattern': 'BERD@NFDI', 'id': 'Q108542181'}, {"label": "ORG", "pattern": "BERD-NFDI", "id": "Q108542181...
63.571429
179
0.486517
553
6,230
5.43038
0.294756
0.109224
0.204795
0.037962
0.57376
0.258741
0.237429
0.221112
0.18648
0.177489
0
0.089355
0.342536
6,230
97
180
64.226804
0.643799
0
0
0.266667
0
0.011111
0.4313
0.004013
0
0
0
0
0
1
0.044444
false
0
0.011111
0
0.066667
0.044444
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
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
526932d0d569e4bf6eed17930efef0fc16252d39
2,197
py
Python
test/no_bench/magma_examples/down_over_nested_to_down_over_flattened/down_over_nested_to_down_over_flattened_1 % 1thr.py
David-Durst/embeddedHaskellAetherling
34c5403e07433e572170699f3bd69c5b5c3eff2d
[ "BSD-3-Clause" ]
20
2019-03-12T20:12:31.000Z
2022-02-07T04:23:22.000Z
test/no_bench/magma_examples/down_over_nested_to_down_over_flattened/down_over_nested_to_down_over_flattened_1 % 1thr.py
David-Durst/embeddedHaskellAetherling
34c5403e07433e572170699f3bd69c5b5c3eff2d
[ "BSD-3-Clause" ]
30
2019-07-22T19:25:42.000Z
2020-06-18T17:58:43.000Z
test/no_bench/magma_examples/down_over_nested_to_down_over_flattened/down_over_nested_to_down_over_flattened_1 % 1thr.py
David-Durst/embeddedHaskellAetherling
34c5403e07433e572170699f3bd69c5b5c3eff2d
[ "BSD-3-Clause" ]
3
2019-10-14T18:07:26.000Z
2022-01-20T14:36:17.000Z
import fault import aetherling.helpers.fault_helpers as fault_helpers from aetherling.space_time import * from aetherling.space_time.reshape_st import DefineReshape_ST import magma as m import json @cache_definition def Module_0() -> DefineCircuitKind: class _Module_0(Circuit): name = "top" IO = ...
44.836735
198
0.618571
349
2,197
3.636103
0.237822
0.047281
0.056738
0.104019
0.368794
0.34673
0.332545
0.215918
0.194641
0.106383
0
0.049517
0.246245
2,197
49
198
44.836735
0.716787
0
0
0
0
0.022222
0.077343
0.070519
0
0
0
0
0
1
0.044444
false
0
0.133333
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
526a750ca8417156575545a6ba62ad719cc79049
2,893
py
Python
admin_tests/registration_providers/test_views.py
tsukaeru/RDM-osf.io
2dc3e539322b6110e51772f8bd25ebdeb8e12d0e
[ "Apache-2.0" ]
11
2018-12-11T16:39:40.000Z
2022-02-26T09:51:32.000Z
admin_tests/registration_providers/test_views.py
tsukaeru/RDM-osf.io
2dc3e539322b6110e51772f8bd25ebdeb8e12d0e
[ "Apache-2.0" ]
80
2015-02-25T15:12:15.000Z
2015-06-11T18:44:55.000Z
admin_tests/registration_providers/test_views.py
tsukaeru/RDM-osf.io
2dc3e539322b6110e51772f8bd25ebdeb8e12d0e
[ "Apache-2.0" ]
16
2018-07-09T01:44:51.000Z
2021-06-30T01:57:16.000Z
import pytest from django.test import RequestFactory from osf_tests.factories import ( AuthUserFactory, RegistrationProviderFactory, ) from osf.models import RegistrationProvider from admin_tests.utilities import setup_view, setup_form_view from admin.registration_providers import views from admin.registratio...
26.787037
80
0.730038
269
2,893
7.710037
0.211896
0.094021
0.115718
0.081003
0.456606
0.449855
0.449855
0.418997
0.418997
0.405497
0
0
0.190114
2,893
107
81
27.037383
0.88519
0
0
0.518519
0
0
0.028344
0.024888
0
0
0
0
0
1
0.185185
false
0
0.098765
0.111111
0.530864
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
1
1
0
0
2
526af9efed594956fbfe9f864284d57c10b4f1b7
1,546
py
Python
real_robots/__init__.py
skbly7/real_robots
55863c9ee98bdefa2af2ec4fe298b59156084773
[ "MIT" ]
null
null
null
real_robots/__init__.py
skbly7/real_robots
55863c9ee98bdefa2af2ec4fe298b59156084773
[ "MIT" ]
null
null
null
real_robots/__init__.py
skbly7/real_robots
55863c9ee98bdefa2af2ec4fe298b59156084773
[ "MIT" ]
1
2021-05-23T18:19:17.000Z
2021-05-23T18:19:17.000Z
# -*- coding: utf-8 -*- """Top-level package for real-robots.""" __author__ = """S.P. Mohanty""" __email__ = 'mohanty@aicrowd.com' __version__ = '0.1.13' import os from gym.envs.registration import register from .evaluate import evaluate # noqa F401 register( id='REALRobot-v0', entry_point='real_robots.en...
26.20339
72
0.631307
177
1,546
5.169492
0.451977
0.069945
0.069945
0.065574
0.148634
0.056831
0
0
0
0
0
0.009874
0.279431
1,546
58
73
26.655172
0.81149
0.109961
0
0.105263
0
0
0.219911
0.118871
0
0
0
0
0
1
0.052632
false
0
0.157895
0
0.236842
0.026316
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
526b0a727835a092fa5f20736d85d0e72e54520d
762
py
Python
teuthology/test/test_parallel.py
zhsj/teuthology
7f11a09f2b7d7406d65f21a85fc2e3db395a95a0
[ "MIT" ]
1
2018-05-17T13:02:42.000Z
2018-05-17T13:02:42.000Z
teuthology/test/test_parallel.py
zhsj/teuthology
7f11a09f2b7d7406d65f21a85fc2e3db395a95a0
[ "MIT" ]
1
2021-02-23T19:06:55.000Z
2021-02-23T19:06:55.000Z
teuthology/test/test_parallel.py
zhsj/teuthology
7f11a09f2b7d7406d65f21a85fc2e3db395a95a0
[ "MIT" ]
2
2019-09-26T09:31:37.000Z
2019-09-26T09:36:30.000Z
from ..parallel import parallel def identity(item, input_set=None, remove=False): if input_set is not None: assert item in input_set if remove: input_set.remove(item) return item class TestParallel(object): def test_basic(self): in_set = set(range(10)) with pa...
26.275862
60
0.570866
104
762
4.038462
0.355769
0.095238
0.042857
0.057143
0.338095
0.338095
0.338095
0.338095
0.338095
0.338095
0
0.008032
0.346457
762
28
61
27.214286
0.835341
0
0
0.272727
0
0
0
0
0
0
0
0
0.136364
1
0.136364
false
0
0.045455
0
0.272727
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
526c950d7cd35017e5b92b3e425c26d2940f243b
3,311
py
Python
ew.py
dunky11/exponential-weighting-watermarking
717bd04ac05daf8eb7e902ec84b04fc02126bf92
[ "MIT" ]
7
2020-11-22T19:14:17.000Z
2022-03-01T05:59:58.000Z
ew.py
dunky11/exponential-weighting-watermarking
717bd04ac05daf8eb7e902ec84b04fc02126bf92
[ "MIT" ]
1
2021-10-05T21:17:02.000Z
2021-10-05T21:17:02.000Z
ew.py
dunky11/exponential-weighting-watermarking
717bd04ac05daf8eb7e902ec84b04fc02126bf92
[ "MIT" ]
null
null
null
import tensorflow as tf from tensorflow import keras from tensorflow.python.keras.layers.ops import core as core_ops from tensorflow.python.ops import nn class EWBase(keras.layers.Layer): """ t is called the temperature in the paper. The higher t is, the more the weights are squeezed when exponential weig...
31.533333
99
0.58955
414
3,311
4.577295
0.285024
0.047493
0.021108
0.039578
0.392612
0.305541
0.237467
0.237467
0.194195
0.194195
0
0.00434
0.304138
3,311
104
100
31.836538
0.818142
0.078526
0
0.395062
0
0
0.039261
0
0
0
0
0.009615
0
1
0.123457
false
0.012346
0.049383
0
0.271605
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
526d6a8886346ab9b4111d8cf37b93bc72d77a1e
1,274
py
Python
Advent-Of-Code-2016/05-Hash-Password/05-Hash-Password.py
adriano-arce/Interview-Problems
a29767ba9ececfe1209fd6cc2153eb342d57fc23
[ "MIT" ]
1
2015-10-16T17:35:12.000Z
2015-10-16T17:35:12.000Z
Advent-Of-Code-2016/05-Hash-Password/05-Hash-Password.py
adriano-arce/Interview-Problems
a29767ba9ececfe1209fd6cc2153eb342d57fc23
[ "MIT" ]
null
null
null
Advent-Of-Code-2016/05-Hash-Password/05-Hash-Password.py
adriano-arce/Interview-Problems
a29767ba9ececfe1209fd6cc2153eb342d57fc23
[ "MIT" ]
null
null
null
import hashlib def part_one(door_id): print('Starting part one...') password = ['_'] * 8 index = 0 for i in range(len(password)): print(' [%7d] Password so far: %s' % (index, ''.join(password))) h = hashlib.md5((door_id + str(index)).encode('utf-8')).hexdigest() index += 1 ...
28.954545
79
0.532182
174
1,274
3.758621
0.264368
0.082569
0.067278
0.091743
0.769113
0.669725
0.590214
0.590214
0.590214
0.590214
0
0.046386
0.27237
1,274
43
80
29.627907
0.659115
0
0
0.411765
0
0
0.16405
0
0
0
0
0
0
1
0.088235
false
0.323529
0.029412
0
0.117647
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
0
0
0
1
0
0
0
0
0
1
526d9e99d4a6a35862a69a9e2ea972d41bfbf621
2,027
py
Python
shader.py
jt667/Hydralab-Pallet-Comparison
4148242dcf6b3da20c4ac87b39d4c979f6f35c16
[ "MIT" ]
null
null
null
shader.py
jt667/Hydralab-Pallet-Comparison
4148242dcf6b3da20c4ac87b39d4c979f6f35c16
[ "MIT" ]
null
null
null
shader.py
jt667/Hydralab-Pallet-Comparison
4148242dcf6b3da20c4ac87b39d4c979f6f35c16
[ "MIT" ]
null
null
null
import subprocess import os def Diff(li1, li2): #Returns the files that are not contained in both lists (the symmetric difference of the lists) li_dif = [i for i in li1 + li2 if i not in li1 or i not in li2] return li_dif def pcv(overwrite,src,dest): print("Shading files") print("") ...
40.54
136
0.608288
276
2,027
4.376812
0.434783
0.041391
0.009934
0.028146
0.069536
0
0
0
0
0
0
0.0094
0.317711
2,027
49
137
41.367347
0.864064
0.411939
0
0
0
0
0.086146
0.031083
0
0
0
0
0
1
0.1
false
0
0.1
0
0.25
0.1
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
526f217844c174b7e06e02f7a96389ffb22def23
7,914
py
Python
athena/.ipynb_checkpoints/sampling-checkpoint.py
markowetzlab/Athena
55de866303fd6b82d05b294ccab4e85c4b965f81
[ "MIT" ]
1
2022-03-23T12:45:08.000Z
2022-03-23T12:45:08.000Z
athena/sampling.py
markowetzlab/Athena
55de866303fd6b82d05b294ccab4e85c4b965f81
[ "MIT" ]
null
null
null
athena/sampling.py
markowetzlab/Athena
55de866303fd6b82d05b294ccab4e85c4b965f81
[ "MIT" ]
null
null
null
import os import random import numpy as np import pandas as pd import scanpy as sc from tqdm import tqdm from multiprocessing import Pool, RLock class Sampling: def sample(self, ncells=10000, pop_fp=None, sim_fp=None, cache=True, return_data=False): print (f"Simulation: {self.network_name} Sampling Ce...
39.969697
158
0.584155
1,054
7,914
4.114801
0.163188
0.043579
0.027899
0.02421
0.24095
0.171086
0.140189
0.076089
0.062255
0.062255
0
0.007893
0.3116
7,914
198
159
39.969697
0.788179
0.014026
0
0.090278
0
0.006944
0.079754
0.016284
0
0
0
0
0
1
0.083333
false
0
0.048611
0
0.215278
0.027778
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