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
fc27b29cfbfd1ea2e06f38bfeb18691ed058b5af
5,579
py
Python
scripts/venv/lib/python2.7/site-packages/cogent/maths/function_optimisation.py
sauloal/cnidaria
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
[ "MIT" ]
3
2015-11-20T08:44:42.000Z
2016-12-14T01:40:03.000Z
scripts/venv/lib/python2.7/site-packages/cogent/maths/function_optimisation.py
sauloal/cnidaria
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
[ "MIT" ]
1
2017-09-04T14:04:32.000Z
2020-05-26T19:04:00.000Z
scripts/venv/lib/python2.7/site-packages/cogent/maths/function_optimisation.py
sauloal/cnidaria
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Algorthims for function optimisation great_deluge() is a hillclimbing algorithm based on: Gunter Dueck: New Optimization Heuristics, The Great Deluge Algorithm and the Record-to-Record Travel. Journal of Computational Physics, Vol. 104, 1993, pp. 86 - 92 ga_evolve(...
42.915385
80
0.661767
745
5,579
4.783893
0.303356
0.025253
0.012346
0.010662
0.075758
0.050505
0.024691
0.024691
0.024691
0.024691
0
0.011631
0.275677
5,579
129
81
43.248062
0.870329
0.554938
0
0.071429
0
0
0.069062
0.009799
0
0
0
0
0
1
0.107143
false
0
0.017857
0
0.196429
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
fc2801c140aa271fa4c9a495e831e1f55bb54ab3
6,871
py
Python
collect_policies.py
jonathanbglass/parallel_prowler
453774a69f078c7fce11c9bb72b6deab6fc04217
[ "MIT" ]
3
2021-04-09T12:37:13.000Z
2021-10-18T19:41:39.000Z
collect_policies.py
jonathanbglass/parallel_prowler
453774a69f078c7fce11c9bb72b6deab6fc04217
[ "MIT" ]
5
2019-04-30T13:08:43.000Z
2019-04-30T13:21:25.000Z
collect_policies.py
jonathanbglass/parallel_prowler
453774a69f078c7fce11c9bb72b6deab6fc04217
[ "MIT" ]
null
null
null
import argparse import boto3 import json import logging import os from progressbar import ProgressBar import sys """ Collects IAM Policies Evaluates policies looking for badness (*.*, Effect:Allow + NotAction) Need to add more tests/use cases """ def get_policies(profile): session = boto3.session.Session(profi...
33.193237
79
0.536603
667
6,871
5.473763
0.316342
0.027116
0.023281
0.024651
0.209806
0.174199
0.123254
0.058066
0.039989
0.039989
0
0.007251
0.337651
6,871
206
80
33.354369
0.79499
0.174647
0
0.241135
0
0
0.159054
0.00455
0
0
0
0
0
1
0.035461
false
0.035461
0.049645
0
0.120567
0.049645
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
fc2ae536bffe1db19ce9b95cd5dd88a0d55394cd
3,556
py
Python
test/molecule-role/molecule/integrations/tests/test_nagios.py
StackVista/stackstate-agent
843f66189fae107646c57f71fed962bdaab3b3be
[ "Apache-2.0" ]
2
2018-11-12T22:00:56.000Z
2019-11-07T22:14:23.000Z
test/molecule-role/molecule/integrations/tests/test_nagios.py
StackVista/stackstate-agent
843f66189fae107646c57f71fed962bdaab3b3be
[ "Apache-2.0" ]
49
2018-10-02T18:14:58.000Z
2022-01-20T21:06:31.000Z
test/molecule-role/molecule/integrations/tests/test_nagios.py
StackVista/stackstate-agent
843f66189fae107646c57f71fed962bdaab3b3be
[ "Apache-2.0" ]
3
2019-05-10T13:06:59.000Z
2020-05-21T17:29:33.000Z
import json import os import re from testinfra.utils.ansible_runner import AnsibleRunner import util testinfra_hosts = AnsibleRunner(os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('agent-integrations') def _get_key_value(tag_list): for key, value in (pair.split(':', 1) for pair in tag_list): yield ke...
39.955056
119
0.604331
423
3,556
4.855792
0.328605
0.035054
0.017527
0.02629
0.268744
0.226874
0.199611
0.169426
0.169426
0.169426
0
0.01219
0.261811
3,556
88
120
40.409091
0.770286
0
0
0.114286
0
0
0.29387
0.086614
0
0
0
0
0.171429
1
0.1
false
0
0.071429
0.014286
0.214286
0.014286
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
fc2b9cb9eed0c84da94b5402d4ee3d9ce1910b43
589
py
Python
erudition/util.py
papsebestyen/erudition
35aa502a96189131baff714a6212eb56de2b1272
[ "MIT" ]
null
null
null
erudition/util.py
papsebestyen/erudition
35aa502a96189131baff714a6212eb56de2b1272
[ "MIT" ]
null
null
null
erudition/util.py
papsebestyen/erudition
35aa502a96189131baff714a6212eb56de2b1272
[ "MIT" ]
1
2022-02-21T21:17:17.000Z
2022-02-21T21:17:17.000Z
import os import sys from contextlib import contextmanager from invoke import UnexpectedExit def git_commit(c, addstr, msg): try: c.run("git config --get user.email") c.run("git config --get user.name") except UnexpectedExit: c.run('git config --local user.email "ci@cd.org"') ...
22.653846
58
0.634975
89
589
4.179775
0.449438
0.053763
0.075269
0.139785
0.225806
0.225806
0
0
0
0
0
0.004357
0.220713
589
25
59
23.56
0.8061
0
0
0
0
0
0.290323
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.3
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
fc2d6707aecf302c38a120bd486580b956d4c75c
1,263
py
Python
python3/distortion_correct_aksk_demo.py
MeekoI/ais-sdk
76240abc49795e914988f3cafb6d08f60dbdcb4c
[ "Apache-2.0" ]
null
null
null
python3/distortion_correct_aksk_demo.py
MeekoI/ais-sdk
76240abc49795e914988f3cafb6d08f60dbdcb4c
[ "Apache-2.0" ]
null
null
null
python3/distortion_correct_aksk_demo.py
MeekoI/ais-sdk
76240abc49795e914988f3cafb6d08f60dbdcb4c
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- from ais_sdk.utils import encode_to_base64 from ais_sdk.utils import decode_to_wave_file from ais_sdk.distortion_correct import distortion_correct_aksk from ais_sdk.utils import init_global_env import json if __name__ == '__main__': # # access moderation distortion correct.post data by a...
39.46875
119
0.695962
177
1,263
4.672316
0.367232
0.065296
0.048368
0.091898
0.448609
0.37243
0.37243
0.37243
0.270859
0.270859
0
0.008491
0.160728
1,263
32
120
39.46875
0.771698
0.136975
0
0.363636
0
0.045455
0.23893
0.095941
0
0
0
0
0
1
0
false
0
0.227273
0
0.227273
0.090909
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
fc2e07191680875cf76ef21ec4089df4cb779bed
527
py
Python
exercise/migrations/0016_auto_20191025_1624.py
Arpit8081/Phishtray_Edited_Version
9f3342e6fd2620b7f01ad91ce5b36fa8ea111bc8
[ "MIT" ]
2
2020-03-31T12:38:10.000Z
2022-01-21T22:21:06.000Z
exercise/migrations/0016_auto_20191025_1624.py
Arpit8081/Phishtray_Edited_Version
9f3342e6fd2620b7f01ad91ce5b36fa8ea111bc8
[ "MIT" ]
252
2018-05-24T14:55:24.000Z
2022-02-26T13:02:10.000Z
exercise/migrations/0016_auto_20191025_1624.py
Arpit8081/Phishtray_Edited_Version
9f3342e6fd2620b7f01ad91ce5b36fa8ea111bc8
[ "MIT" ]
11
2018-06-23T14:54:42.000Z
2021-02-19T11:33:44.000Z
# Generated by Django 2.2.6 on 2019-10-25 16:24 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('exercise', '0015_exerciseemailproperties_date_received'), ] operations = [ migrations.AlterField( ...
26.35
131
0.666034
60
527
5.733333
0.65
0.069767
0.081395
0.127907
0
0
0
0
0
0
0
0.046229
0.220114
527
19
132
27.736842
0.790754
0.085389
0
0
1
0
0.179167
0.0875
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
fc2e16e55954bef33913f1502bf7278f77489ed4
3,504
py
Python
release/stubs.min/Autodesk/Revit/DB/__init___parts/GeomCombinationSet.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/__init___parts/GeomCombinationSet.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/__init___parts/GeomCombinationSet.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class GeomCombinationSet(APIObject, IDisposable, IEnumerable): """ A set that contains GeomCombination objects. GeomCombinationSet() """ def Clear(self): """ Clear(self: GeomCombinationSet) Removes every item GeomCombination the set,rendering it empty. """ pass ...
22.901961
221
0.62871
364
3,504
5.865385
0.255495
0.044965
0.044965
0.053396
0.381265
0.290398
0.254801
0.203279
0.185948
0.185948
0
0.000395
0.278253
3,504
152
222
23.052632
0.843812
0.556221
0
0.451613
0
0
0
0
0
0
0
0
0
1
0.451613
false
0.451613
0
0
0.548387
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
1
0
0
1
0
0
3
fc2e4f714b9faba2c5ecf66e26fac9c7e7da6366
1,527
py
Python
rainbow/datasources/cfn_datasource.py
omribahumi/rainbow
17aad61231b1f1b9d0dca43979e2fa4c8a1603f3
[ "BSD-2-Clause-FreeBSD" ]
35
2015-01-04T15:23:49.000Z
2020-11-24T16:10:33.000Z
rainbow/datasources/cfn_datasource.py
omribahumi/rainbow
17aad61231b1f1b9d0dca43979e2fa4c8a1603f3
[ "BSD-2-Clause-FreeBSD" ]
10
2015-01-20T07:45:41.000Z
2015-06-23T15:03:42.000Z
rainbow/datasources/cfn_datasource.py
omribahumi/rainbow
17aad61231b1f1b9d0dca43979e2fa4c8a1603f3
[ "BSD-2-Clause-FreeBSD" ]
17
2015-01-04T14:20:31.000Z
2020-11-24T16:10:36.000Z
from rainbow.cloudformation import Cloudformation from base import DataSourceBase __all__ = ['CfnOutputsDataSource', 'CfnResourcesDataSource', 'CfnParametersDataSource'] class CfnDataSourceBase(DataSourceBase): def __init__(self, data_source): super(CfnDataSourceBase, self).__init__(data_source) ...
30.54
108
0.717092
163
1,527
6.312883
0.288344
0.1069
0.04276
0.058309
0.176871
0.176871
0
0
0
0
0
0.000812
0.193844
1,527
49
109
31.163265
0.835093
0
0
0.137931
0
0
0.079895
0.02947
0
0
0
0
0
1
0.137931
false
0
0.068966
0
0.448276
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
fc2e789c677ad0b86e4fb3d988a64d970401e0fa
401
py
Python
epio_commands/management/commands/epio_flush_redis.py
idan/pypostbin
61dd1c0960e8fb6e4460a5623971cbbc78a55ee7
[ "BSD-3-Clause" ]
2
2015-11-05T08:51:42.000Z
2016-03-01T22:13:25.000Z
epio_commands/management/commands/epio_flush_redis.py
idan/pypostbin
61dd1c0960e8fb6e4460a5623971cbbc78a55ee7
[ "BSD-3-Clause" ]
null
null
null
epio_commands/management/commands/epio_flush_redis.py
idan/pypostbin
61dd1c0960e8fb6e4460a5623971cbbc78a55ee7
[ "BSD-3-Clause" ]
null
null
null
import redis from bundle_config import config from django.core.management.base import NoArgsCommand class Command(NoArgsCommand): help = 'Flushes all keys in redis.' def handle_noargs(self, **options): r = redis.Redis(host=config['redis']['host'], port=int(config['redis']['port']), password=config['r...
30.846154
126
0.688279
51
401
5.372549
0.588235
0.120438
0
0
0
0
0
0
0
0
0
0
0.169576
401
12
127
33.416667
0.822823
0
0
0
0
0
0.199501
0
0
0
0
0
0
0
null
null
0.111111
0.333333
null
null
0.111111
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
1
1
0
0
0
0
3
fc2e92525a1caaa4ddf0a3ef664b415296525d97
2,338
py
Python
python/flexflow_cffi_build.py
zmxdream/FlexFlow
7ea50d71a02e853af7ae573d88c911511b3e82e0
[ "Apache-2.0" ]
455
2018-12-09T01:57:46.000Z
2022-03-22T01:56:47.000Z
python/flexflow_cffi_build.py
zmxdream/FlexFlow
7ea50d71a02e853af7ae573d88c911511b3e82e0
[ "Apache-2.0" ]
136
2019-04-19T08:24:27.000Z
2022-03-28T01:39:19.000Z
python/flexflow_cffi_build.py
zmxdream/FlexFlow
7ea50d71a02e853af7ae573d88c911511b3e82e0
[ "Apache-2.0" ]
102
2018-12-22T07:38:05.000Z
2022-03-30T06:04:39.000Z
#!/usr/bin/env python # Copyright 2020 Stanford University, Los Alamos National Laboratory # # 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 ...
38.327869
116
0.727545
339
2,338
4.79351
0.418879
0.040615
0.043077
0.031385
0.213538
0.122462
0.038154
0
0
0
0
0.005102
0.161677
2,338
60
117
38.966667
0.82398
0.260479
0
0
0
0
0.120187
0.028588
0
0
0
0
0
1
0.09375
false
0
0.125
0
0.28125
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc2eebcbe5bb3cf4ff6427b453a41d0127cdd332
1,414
py
Python
gaphor/plugins/xmiexport/__init__.py
tuxcell/gaphor
22eb13479f589a0105ad25a11aed968e9ad932dc
[ "Apache-2.0" ]
null
null
null
gaphor/plugins/xmiexport/__init__.py
tuxcell/gaphor
22eb13479f589a0105ad25a11aed968e9ad932dc
[ "Apache-2.0" ]
null
null
null
gaphor/plugins/xmiexport/__init__.py
tuxcell/gaphor
22eb13479f589a0105ad25a11aed968e9ad932dc
[ "Apache-2.0" ]
null
null
null
"""This plugin extends Gaphor with XMI export functionality.""" import logging from gaphor.abc import ActionProvider, Service from gaphor.core import action, gettext from gaphor.plugins.xmiexport import exportmodel from gaphor.ui.filedialog import FileDialog logger = logging.getLogger(__name__) class XMIExport(Ser...
32.883721
83
0.666195
164
1,414
5.615854
0.408537
0.043431
0.058632
0.045603
0.049946
0
0
0
0
0
0
0.000934
0.242574
1,414
42
84
33.666667
0.85901
0.040311
0
0
0
0
0.15396
0
0
0
0
0
0
1
0.09375
false
0.03125
0.15625
0
0.28125
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
fc2f49e15f4138f716bca2a01da611b02c245377
2,278
py
Python
tests/utils.py
btk15049/online-judge-tools
22505e98359c50df06e7cc1d53a7d253cb096b14
[ "MIT" ]
null
null
null
tests/utils.py
btk15049/online-judge-tools
22505e98359c50df06e7cc1d53a7d253cb096b14
[ "MIT" ]
null
null
null
tests/utils.py
btk15049/online-judge-tools
22505e98359c50df06e7cc1d53a7d253cb096b14
[ "MIT" ]
null
null
null
import contextlib import os import pathlib import subprocess import sys import tempfile @contextlib.contextmanager def chdir(path): cwd = os.getcwd() try: os.chdir(path) yield finally: os.chdir(cwd) def prepare_files(files): for f in files: path = pathlib.Path(f['path...
24.76087
108
0.618086
306
2,278
4.506536
0.356209
0.032632
0.055112
0.014503
0.094271
0.033358
0.033358
0
0
0
0
0.005239
0.24583
2,278
91
109
25.032967
0.797439
0.061896
0
0.104478
0
0.014925
0.109705
0.037975
0
0
0
0
0.029851
1
0.164179
false
0
0.119403
0
0.447761
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
fc2f8d6fdf5321bc7fa432fe83690f0311e43ce9
303
py
Python
git_operation.py
zerzerzerz/Computer-Virus
4a3125b45e0e4210fb1b8c970a0d6c6bde77f2e8
[ "MIT" ]
null
null
null
git_operation.py
zerzerzerz/Computer-Virus
4a3125b45e0e4210fb1b8c970a0d6c6bde77f2e8
[ "MIT" ]
null
null
null
git_operation.py
zerzerzerz/Computer-Virus
4a3125b45e0e4210fb1b8c970a0d6c6bde77f2e8
[ "MIT" ]
null
null
null
import os commit_string = "选择data的前多少个维度参与训练" not_add = ['results', 'data', 'weights'] for item in os.listdir(): if item in not_add: # print(item) continue else: os.system(f"git add {item}") os.system(f'git commit -m "{commit_string}"') os.system("git push origin main")
25.25
45
0.636964
44
303
4.295455
0.568182
0.126984
0.095238
0.126984
0
0
0
0
0
0
0
0
0.214521
303
12
46
25.25
0.794118
0.036304
0
0
0
0
0.343643
0
0
0
0
0
0
1
0
false
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
0
0
0
0
0
0
1
0
fc3035214a995b5b1335519d9f36c232352adce4
6,523
py
Python
src/cool_grammar.py
peanut-butter-jellyyy/cool-compiler-2021
63a668d435ed22cfb8dbb096bc3c82a34f09517b
[ "MIT" ]
null
null
null
src/cool_grammar.py
peanut-butter-jellyyy/cool-compiler-2021
63a668d435ed22cfb8dbb096bc3c82a34f09517b
[ "MIT" ]
null
null
null
src/cool_grammar.py
peanut-butter-jellyyy/cool-compiler-2021
63a668d435ed22cfb8dbb096bc3c82a34f09517b
[ "MIT" ]
null
null
null
from src.cmp.pycompiler import Grammar from src.ast_nodes import ( ProgramNode, ClassDeclarationNode, FuncDeclarationNode, AttrDeclarationNode, IfNode, WhileNode, LetNode, CaseNode, IsvoidNode, AssignNode, VarDeclarationNode, CaseItemNode, NotNode, ...
36.038674
87
0.559099
917
6,523
3.904035
0.142857
0.117318
0.134078
0.057821
0.352793
0.248883
0.194693
0.13743
0.065922
0.065922
0
0.020594
0.27794
6,523
180
88
36.238889
0.73949
0.006592
0
0.026667
0
0.006667
0.057824
0
0
0
0
0
0
1
0.006667
false
0
0.013333
0
0.026667
0.02
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
fc30849700e1ea4826d82e5040dc0a3f7cab1d33
1,599
py
Python
userbot/plugins/selfdestruct.py
Aliensuniquebot/CatUserbot
93561a620fc1198c6fe6c259412088f4bc81d97b
[ "MIT" ]
1
2020-07-18T07:42:58.000Z
2020-07-18T07:42:58.000Z
userbot/plugins/selfdestruct.py
praveen368/CatUserbot
4b0cd970551ffaf86b9fdd5da584c1b3882821ff
[ "MIT" ]
null
null
null
userbot/plugins/selfdestruct.py
praveen368/CatUserbot
4b0cd970551ffaf86b9fdd5da584c1b3882821ff
[ "MIT" ]
2
2020-06-25T11:14:50.000Z
2021-04-04T13:49:13.000Z
# For @UniBorg # courtesy Yasir siddiqui """Self Destruct Plugin .sd <time in seconds> <text> """ import time from userbot import CMD_HELP from telethon.errors import rpcbaseerrors from userbot.utils import admin_cmd import importlib.util @borg.on(admin_cmd(pattern="sdm", outgoing=True)) async def selfdestruct(des...
28.052632
90
0.602251
196
1,599
4.867347
0.352041
0.092243
0.050314
0.02935
0.612159
0.568134
0.568134
0.568134
0.568134
0.568134
0
0.008525
0.266417
1,599
56
91
28.553571
0.804774
0.054409
0
0.428571
0
0
0.055186
0
0
0
0
0
0
1
0
false
0
0.119048
0
0.119048
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
fc311bab55ecedbbd72f07232e73e6cac438a6b2
1,101
py
Python
snippets/basic_render_template_class.py
OSAMAMOHAMED1234/python_projects
fb4bc7356847c3f46df690a9386cf970377a6f7c
[ "MIT" ]
null
null
null
snippets/basic_render_template_class.py
OSAMAMOHAMED1234/python_projects
fb4bc7356847c3f46df690a9386cf970377a6f7c
[ "MIT" ]
null
null
null
snippets/basic_render_template_class.py
OSAMAMOHAMED1234/python_projects
fb4bc7356847c3f46df690a9386cf970377a6f7c
[ "MIT" ]
null
null
null
import os class Template: template_name = '' context = None def __init__(self, template_name='', context=None, *args, **kwargs): self.template_name = template_name self.context = context def get_template(self): template_path = os.path.join(os.path.join(os.path.dirname(os.path.abspath(__file__)), '...
30.583333
123
0.693006
149
1,101
4.912752
0.308725
0.114754
0.081967
0.062842
0.177596
0
0
0
0
0
0
0.002174
0.164396
1,101
36
124
30.583333
0.793478
0
0
0
0
0
0.082577
0
0
0
0
0
0
1
0.103448
false
0
0.034483
0
0.310345
0.103448
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
fc3188873ff10721356aeaf7e965132781c78f98
793
py
Python
level_one/strings.py
jameskzhao/python36
855e8a6e164065702efa7773da1f089454fdcbcc
[ "Apache-2.0" ]
null
null
null
level_one/strings.py
jameskzhao/python36
855e8a6e164065702efa7773da1f089454fdcbcc
[ "Apache-2.0" ]
null
null
null
level_one/strings.py
jameskzhao/python36
855e8a6e164065702efa7773da1f089454fdcbcc
[ "Apache-2.0" ]
null
null
null
#Basics a = "hello" a += " I'm a dog" print(a) print(len(a)) print(a[1:]) #Output: ello I'm a dog print(a[:5]) #Output: hello(index 5 is not included) print(a[2:5])#Output: llo(index 2 is included) print(a[::2])#Step size #string is immutable so you can't assign a[1]= b x = a.upper() print(x) x = a.capitalize() prin...
22.027778
63
0.631778
150
793
3.34
0.426667
0.095808
0.097804
0.07984
0.0998
0.047904
0
0
0
0
0
0.011923
0.153846
793
36
64
22.027778
0.734724
0.320303
0
0.285714
0
0
0.280603
0
0
0
0
0
0
1
0
false
0
0
0
0
0.571429
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
fc321e4d24702ee71bce5b7e534a97061ead9698
2,950
py
Python
tests/test_01_accept_time_get_headers.py
glushkovvv/test_2gis
2affff49411a3c7ff77e9d399ec86eb314aa3757
[ "MIT" ]
null
null
null
tests/test_01_accept_time_get_headers.py
glushkovvv/test_2gis
2affff49411a3c7ff77e9d399ec86eb314aa3757
[ "MIT" ]
1
2020-08-05T06:27:23.000Z
2020-08-05T06:27:42.000Z
tests/test_01_accept_time_get_headers.py
glushkovvv/test_2gis
2affff49411a3c7ff77e9d399ec86eb314aa3757
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ test_01_accept_time_get_headers ~~~~~~~~~~~~~~ The 2GIS API Test Check time get headers :author: Vadim Glushkov :copyright: Copyright 2019, The2GIS API Test" :license: MIT :version: 1.0.0 :maintainer: Vadim Glushkov :email: plussg@yandex.ru :status: Development """ import pytest import a...
38.815789
116
0.649831
364
2,950
5.049451
0.293956
0.083787
0.019587
0.028292
0.800326
0.779108
0.73667
0.73667
0.73667
0.73667
0
0.014141
0.232881
2,950
75
117
39.333333
0.798056
0.231864
0
0.514286
0
0
0.391682
0.102377
0
0
0
0
0.057143
1
0.057143
false
0
0.085714
0
0.142857
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
fc3233cb1459781c899740baf647a5f25ec92581
541
py
Python
transformers/string/strlen_transformer.py
ucds-sg/h2oai
7042860767dc25d1a7d7122103bbd5016d02df53
[ "Apache-2.0" ]
null
null
null
transformers/string/strlen_transformer.py
ucds-sg/h2oai
7042860767dc25d1a7d7122103bbd5016d02df53
[ "Apache-2.0" ]
null
null
null
transformers/string/strlen_transformer.py
ucds-sg/h2oai
7042860767dc25d1a7d7122103bbd5016d02df53
[ "Apache-2.0" ]
null
null
null
"""Returns the string length of categorical values""" from h2oaicore.transformer_utils import CustomTransformer import datatable as dt import numpy as np class MyStrLenEncoderTransformer(CustomTransformer): @staticmethod def get_default_properties(): return dict(col_type="any", min_cols=1, max_cols=1,...
31.823529
82
0.724584
74
541
5.175676
0.689189
0.02611
0.073107
0.083551
0.109661
0
0
0
0
0
0
0.011086
0.166359
541
16
83
33.8125
0.838137
0.086876
0
0
0
0
0.006148
0
0
0
0
0
0
1
0.272727
false
0
0.363636
0.272727
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
1
0
0
1
1
1
0
0
4
fc34bcbcfb8ac1f6bc09817c52d24607717e7ad1
235
py
Python
geometry/eolearn/geometry/__init__.py
eerzin/eo-learn
53c5cc229de13b98b5778aeb1d45950c25bf2f95
[ "MIT" ]
1
2019-04-12T09:03:52.000Z
2019-04-12T09:03:52.000Z
geometry/eolearn/geometry/__init__.py
eerzin/eo-learn
53c5cc229de13b98b5778aeb1d45950c25bf2f95
[ "MIT" ]
null
null
null
geometry/eolearn/geometry/__init__.py
eerzin/eo-learn
53c5cc229de13b98b5778aeb1d45950c25bf2f95
[ "MIT" ]
3
2019-05-03T09:43:57.000Z
2019-09-10T17:29:39.000Z
""" Subpackage containing EOTasks for geometrical transformations """ from .utilities import ErosionTask, VectorToRaster, RasterToVector from .sampling import PointSamplingTask, PointSampler, PointRasterSampler __version__ = '0.4.2'
26.111111
73
0.821277
22
235
8.590909
0.909091
0
0
0
0
0
0
0
0
0
0
0.014286
0.106383
235
8
74
29.375
0.885714
0.259574
0
0
0
0
0.03012
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
fc35043bdda56bc264f387918b5687e34dea2849
1,152
py
Python
api/models/users.py
felipebarraza6/startup_comedy
42b4a4547bffc0d7cf34ace520355d80053bbd9e
[ "MIT" ]
null
null
null
api/models/users.py
felipebarraza6/startup_comedy
42b4a4547bffc0d7cf34ace520355d80053bbd9e
[ "MIT" ]
null
null
null
api/models/users.py
felipebarraza6/startup_comedy
42b4a4547bffc0d7cf34ace520355d80053bbd9e
[ "MIT" ]
null
null
null
"""User Model.""" # Django from django.db import models from django.contrib.auth.models import AbstractUser # Utilities from .utils import ApiModel class User(ApiModel, AbstractUser): email = models.EmailField( 'email', unique = True, ) USERNAME_FIELD = 'email' REQUIRED_FIELDS = [...
24
71
0.667535
126
1,152
5.865079
0.492063
0.05954
0.043302
0.054127
0.073072
0
0
0
0
0
0
0
0.233507
1,152
47
72
24.510638
0.83692
0.025174
0
0.206897
0
0
0.138117
0
0
0
0
0
0
1
0.103448
false
0
0.103448
0.103448
0.689655
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
0
0
0
1
fc3539d71d659a16209a54fcd5f9758f5e36c76b
3,993
py
Python
tests/test_server.py
m-bo-one/ethereumd-proxy
1d1eb3905dac4b28a8e23c283214859a13f6e020
[ "MIT" ]
21
2017-07-24T15:45:03.000Z
2019-09-21T16:18:48.000Z
tests/test_server.py
m-bo-one/ethereumd-proxy
1d1eb3905dac4b28a8e23c283214859a13f6e020
[ "MIT" ]
11
2017-07-24T20:14:16.000Z
2019-02-10T22:52:32.000Z
tests/test_server.py
DeV1doR/ethereumd-proxy
1d1eb3905dac4b28a8e23c283214859a13f6e020
[ "MIT" ]
8
2018-02-17T13:33:15.000Z
2020-08-16T05:21:34.000Z
from collections import namedtuple import json from asynctest.mock import patch import pytest from ethereumd.server import RPCServer from ethereumd.proxy import EthereumProxy from aioethereum.errors import BadResponseError from .base import BaseTestRunner Request = namedtuple('Request', ['json']) class TestServe...
33.554622
76
0.596043
421
3,993
5.489311
0.2019
0.067503
0.077888
0.047598
0.707486
0.707486
0.707486
0.707486
0.707486
0.666811
0
0.013708
0.287503
3,993
118
77
33.838983
0.798594
0
0
0.633663
0
0
0.119459
0.007012
0
0
0
0
0.138614
1
0.029703
false
0
0.079208
0
0.138614
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
fc371494e70184822be6d1e222d5e8799a784228
973
py
Python
neorl/rl/baselines/readme.py
evdcush/neorl
a1af069072e752ab79e7279a88ad95d195a81821
[ "MIT" ]
20
2021-04-20T19:15:33.000Z
2022-03-19T17:00:12.000Z
neorl/rl/baselines/readme.py
evdcush/neorl
a1af069072e752ab79e7279a88ad95d195a81821
[ "MIT" ]
17
2021-04-07T21:52:41.000Z
2022-03-06T16:05:31.000Z
neorl/rl/baselines/readme.py
evdcush/neorl
a1af069072e752ab79e7279a88ad95d195a81821
[ "MIT" ]
8
2021-05-07T03:36:30.000Z
2021-12-15T03:41:41.000Z
# This file is part of NEORL. # Copyright (c) 2021 Exelon Corporation and MIT Nuclear Science and Engineering # NEORL is free software: you can redistribute it and/or modify # it under the terms of the MIT LICENSE # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # ...
54.055556
94
0.74409
149
973
4.85906
0.651007
0.04558
0.027624
0
0
0
0
0
0
0
0
0.005208
0.210689
973
18
95
54.055556
0.9375
0.946557
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
0
0
0
0
0
2
fc3a04cfd338f72934bd5d86f8126f4adfa55c05
1,330
py
Python
Compare.py
sushantPatrikar/WaveCompartor
112395287b41c1b5533924ebe293c5641647a5e3
[ "MIT" ]
3
2019-10-27T03:45:18.000Z
2022-02-21T18:50:58.000Z
Compare.py
sushantPatrikar/WaveComparator
112395287b41c1b5533924ebe293c5641647a5e3
[ "MIT" ]
null
null
null
Compare.py
sushantPatrikar/WaveComparator
112395287b41c1b5533924ebe293c5641647a5e3
[ "MIT" ]
1
2021-04-20T07:39:37.000Z
2021-04-20T07:39:37.000Z
from scipy.io import wavfile import numpy as np import pingouin as pg import pandas as pd _,data = wavfile.read('wav//ed//mp3baked.wav') _,data1 = wavfile.read('wav//ing//ingeating.wav') i= data.shape[0]-1 j = data1.shape[0]-1 index_1 = -1 index_2 = -1 try: data.shape[1] except IndexError: ...
15.647059
50
0.552632
201
1,330
3.597015
0.238806
0.077455
0.058091
0.045643
0.224066
0.224066
0.224066
0.071923
0.071923
0.071923
0
0.094378
0.251128
1,330
84
51
15.833333
0.631526
0.291729
0
0.171429
0
0
0.052443
0.052443
0
0
0
0
0
1
0
false
0.057143
0.114286
0
0.114286
0.028571
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
fc3abec567aafacd5d2829eabdf814ac53962d6d
495
py
Python
tests/comments/test_only_block_comment.py
sco1/pylox
b4820828306c20cee3f8533c2547fafb92c6c1bd
[ "MIT" ]
2
2021-12-18T01:52:50.000Z
2022-01-17T19:41:52.000Z
tests/comments/test_only_block_comment.py
sco1/pylox
b4820828306c20cee3f8533c2547fafb92c6c1bd
[ "MIT" ]
18
2021-11-30T04:05:53.000Z
2022-02-01T03:30:04.000Z
tests/comments/test_only_block_comment.py
sco1/pylox
b4820828306c20cee3f8533c2547fafb92c6c1bd
[ "MIT" ]
null
null
null
from textwrap import dedent import pytest from pylox.lox import Lox TEST_SRC = dedent( """\ /* This is a multiline block comment */ """ ) EXPECTED_STDOUTS: list[str] = [] def test_block_comment_at_eof(capsys: pytest.CaptureFixture) -> None: interpreter = Lox() interpreter.run(TEST_SRC)...
18.333333
69
0.70101
62
495
5.387097
0.580645
0.041916
0.11976
0.137725
0
0
0
0
0
0
0
0
0.206061
495
26
70
19.038462
0.849873
0
0
0
0
0
0
0
0
0
0
0
0.230769
1
0.076923
false
0
0.230769
0
0.307692
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
fc3c853df2b1d6ee609b09518a9278f9e15018c1
114
py
Python
mlbase/lazy.py
n-kats/mlbase
7d69f259dcaf9608a921523083458fa6d0d6914b
[ "MIT" ]
null
null
null
mlbase/lazy.py
n-kats/mlbase
7d69f259dcaf9608a921523083458fa6d0d6914b
[ "MIT" ]
2
2018-09-23T18:39:01.000Z
2018-09-24T18:02:21.000Z
mlbase/lazy.py
n-kats/mlbase
7d69f259dcaf9608a921523083458fa6d0d6914b
[ "MIT" ]
null
null
null
from mlbase.utils.misc import lazy tensorflow = lazy("tensorflow") numpy = lazy("numpy") gensim = lazy("gensim")
19
34
0.72807
15
114
5.533333
0.6
0.337349
0
0
0
0
0
0
0
0
0
0
0.122807
114
5
35
22.8
0.83
0
0
0
0
0
0.184211
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
0
0
0
0
0
0
3
fc3d1481782a2c4ff97885d3937f7846223c55ab
1,082
py
Python
setup.py
sturmianseq/observed
d99fb99ff2a470a86efb2763685e8e2c021e799f
[ "MIT" ]
33
2015-04-29T08:11:42.000Z
2022-02-01T16:50:25.000Z
setup.py
sturmianseq/observed
d99fb99ff2a470a86efb2763685e8e2c021e799f
[ "MIT" ]
15
2015-02-04T15:11:17.000Z
2022-01-26T19:58:29.000Z
setup.py
sturmianseq/observed
d99fb99ff2a470a86efb2763685e8e2c021e799f
[ "MIT" ]
6
2017-06-11T19:40:31.000Z
2021-08-05T07:57:28.000Z
import re import setuptools README_FILENAME = "README.md" VERSION_FILENAME = "observed.py" VERSION_RE = r"^__version__ = ['\"]([^'\"]*)['\"]" # Get version information with open(VERSION_FILENAME, "r") as version_file: mo = re.search(VERSION_RE, version_file.read(), re.M) if mo: version = mo.group(1) else: ...
27.05
67
0.685767
129
1,082
5.573643
0.55814
0.083449
0.052851
0.083449
0
0
0
0
0
0
0
0.00225
0.178373
1,082
39
68
27.74359
0.806524
0.047135
0
0
0
0
0.327821
0.020428
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
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
fc3d20f3595ad33d1e9d9bf80ce974904075e7ce
3,536
py
Python
src/coco.py
catalyst-team/detector
383c17ba7701d960ca92be0aafbff05207f2de3a
[ "Apache-2.0" ]
15
2019-05-15T13:42:51.000Z
2020-11-09T23:13:06.000Z
src/coco.py
catalyst-team/detector
383c17ba7701d960ca92be0aafbff05207f2de3a
[ "Apache-2.0" ]
1
2020-01-09T08:53:49.000Z
2020-01-16T19:41:16.000Z
src/coco.py
catalyst-team/detection
383c17ba7701d960ca92be0aafbff05207f2de3a
[ "Apache-2.0" ]
null
null
null
import os import json import numpy as np import pickle from typing import Any from pycocotools.coco import COCO from torch.utils.data import Dataset class DetectionMSCOCODataset(Dataset): def __init__(self, annotation_file: str, image_dir: str): self._annotation_file = annotation_file self._imag...
32.440367
97
0.588235
438
3,536
4.399543
0.226027
0.062273
0.045667
0.021796
0.104826
0
0
0
0
0
0
0.00406
0.30345
3,536
108
98
32.740741
0.778319
0
0
0
0
0
0.047511
0
0
0
0
0
0
1
0.094118
false
0
0.082353
0.023529
0.235294
0.035294
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
fc3d3b9be540fd17668cfe15a94b53ed79b67b0a
328
py
Python
UVa 10105 polynomial coefficients/sample/main.py
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 10105 polynomial coefficients/sample/main.py
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 10105 polynomial coefficients/sample/main.py
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
import sys import operator sys.stdin = open('input.txt') fact = [1, 1] for i in range(2, 15): fact.append(fact[-1] * i) while True: try: n, k = map(int, raw_input().split()) coef = map(int, raw_input().split()) except: break print fact[n] / reduce(operator.mul, [fact[c] for c in...
21.866667
65
0.579268
53
328
3.54717
0.603774
0.053191
0.095745
0.148936
0.202128
0
0
0
0
0
0
0.02449
0.253049
328
14
66
23.428571
0.742857
0
0
0
0
0
0.027439
0
0
0
0
0
0
0
null
null
0
0.153846
null
null
0.076923
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
fc3d8c49e88cab357d3bb76422dab0b50f4b1b22
702
py
Python
pynotes/note/models.py
wallaceleonel/Flash-Cards
fd563455d437f77e42ddf96133214cf752b62bb6
[ "MIT" ]
2
2020-08-06T15:03:31.000Z
2020-10-18T14:40:19.000Z
pynotes/note/models.py
wallaceleonel/Flash-Cards
fd563455d437f77e42ddf96133214cf752b62bb6
[ "MIT" ]
1
2020-08-06T16:15:12.000Z
2020-08-06T16:15:12.000Z
pynotes/note/models.py
wallaceleonel/Flash-Cards
fd563455d437f77e42ddf96133214cf752b62bb6
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.db import models from django.urls import reverse # Create your models here. class Post(models.Model): title = models.CharField(max_length=255) slug = models.SlugField(max_length=255,unique=True) #meusite.com/blog;introducao-ao-django author = mo...
27
65
0.710826
92
702
5.293478
0.597826
0.061602
0.049281
0.106776
0
0
0
0
0
0
0
0.010399
0.178063
702
25
66
28.08
0.833622
0.086895
0
0
0
0
0.03605
0
0
0
0
0
0
1
0.125
false
0
0.1875
0.125
0.9375
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
fc3e56f1b6dc2446fe20c8456364bfd95e849dd0
7,538
py
Python
infrastructure-provisioning/src/general/scripts/azure/common_notebook_configure_dataengine.py
DmytroLiaskovskyi/incubator-dlab
af995e98b3b3cf526fb9741a3e5117dd1e04f3aa
[ "Apache-2.0" ]
null
null
null
infrastructure-provisioning/src/general/scripts/azure/common_notebook_configure_dataengine.py
DmytroLiaskovskyi/incubator-dlab
af995e98b3b3cf526fb9741a3e5117dd1e04f3aa
[ "Apache-2.0" ]
null
null
null
infrastructure-provisioning/src/general/scripts/azure/common_notebook_configure_dataengine.py
DmytroLiaskovskyi/incubator-dlab
af995e98b3b3cf526fb9741a3e5117dd1e04f3aa
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # ***************************************************************************** # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The A...
51.986207
122
0.628549
837
7,538
5.369176
0.249701
0.183801
0.080107
0.054072
0.487094
0.384513
0.313529
0.277926
0.252114
0.243213
0
0.006487
0.222871
7,538
144
123
52.347222
0.760669
0.127089
0
0.362832
0
0.00885
0.31534
0.031717
0
0
0
0
0
1
0
false
0
0.070796
0
0.070796
0.088496
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
fc403c27d1d4da0e66a446351a2e2650278bc62d
1,527
py
Python
pyACA/ToolFreq2Bark.py
ruohoruotsi/pyACA
339e9395b65a217aa5965638af941b32d5c95454
[ "MIT" ]
81
2019-07-08T15:48:03.000Z
2022-03-21T22:52:25.000Z
pyACA/ToolFreq2Bark.py
ruohoruotsi/pyACA
339e9395b65a217aa5965638af941b32d5c95454
[ "MIT" ]
24
2019-10-03T19:20:18.000Z
2022-02-28T17:20:40.000Z
pyACA/ToolFreq2Bark.py
ruohoruotsi/pyACA
339e9395b65a217aa5965638af941b32d5c95454
[ "MIT" ]
26
2019-07-18T23:50:52.000Z
2022-03-10T14:59:35.000Z
# -*- coding: utf-8 -*- """ helper function: convert Hz to Bark scale Args: fInHz: The frequency to be converted, can be scalar or vector cModel: The name of the model ('Schroeder' [default], 'Terhardt', 'Zwicker', 'Traunmuller') Returns: Bark values of the input dimension """ import numpy as np imp...
28.811321
95
0.591356
199
1,527
4.477387
0.38191
0.062851
0.058361
0.035915
0.107744
0.107744
0.107744
0.107744
0
0
0
0.040553
0.289456
1,527
52
96
29.365385
0.780645
0.18795
0
0.342857
0
0
0.049513
0
0
0
0
0
0
1
0.142857
false
0
0.057143
0.114286
0.457143
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
0
0
0
1
fc40aa5a0884df8e751f2fa5cfb93216f3c13768
16,560
py
Python
magenta/models/sketch_rnn/rnn.py
laurens-in/magenta
be6ed8d5b1eb2986ca277aa9c574a7912dd5ed0f
[ "Apache-2.0" ]
1
2021-12-27T10:43:39.000Z
2021-12-27T10:43:39.000Z
magenta/models/sketch_rnn/rnn.py
kyungyunlee/magenta
cf80d19fc0c2e935821f284ebb64a8885f793717
[ "Apache-2.0" ]
null
null
null
magenta/models/sketch_rnn/rnn.py
kyungyunlee/magenta
cf80d19fc0c2e935821f284ebb64a8885f793717
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 The Magenta Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
33.186373
80
0.634964
2,423
16,560
4.089971
0.134957
0.046821
0.03996
0.011806
0.549647
0.492936
0.46448
0.442482
0.412714
0.365691
0
0.019692
0.254831
16,560
498
81
33.253012
0.783387
0.195411
0
0.511494
0
0
0.021418
0
0
0
0
0
0
1
0.077586
false
0
0.017241
0.025862
0.178161
0.002874
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
fc412db90075a83ae4e5731ee32b0fb7611791ff
6,034
py
Python
src/cogent3/cluster/UPGMA.py
u6052029/cogent3
ca0efcb7f60b715bcbfbecd924cdb98a53cefe20
[ "BSD-3-Clause" ]
null
null
null
src/cogent3/cluster/UPGMA.py
u6052029/cogent3
ca0efcb7f60b715bcbfbecd924cdb98a53cefe20
[ "BSD-3-Clause" ]
null
null
null
src/cogent3/cluster/UPGMA.py
u6052029/cogent3
ca0efcb7f60b715bcbfbecd924cdb98a53cefe20
[ "BSD-3-Clause" ]
null
null
null
# usr/bin/env python """Functions to cluster using UPGMA upgma takes an dictionary of pair tuples mapped to distances as input. UPGMA_cluster takes an array and a list of PhyloNode objects corresponding to the array as input. Can also generate this type of input from a DictArray using inputs_from_dict_array function....
36.569697
82
0.716937
881
6,034
4.755959
0.270148
0.07136
0.024344
0.013604
0.187351
0.129594
0.082339
0.04105
0
0
0
0.01385
0.222241
6,034
164
83
36.792683
0.878969
0.46934
0
0.075
0
0
0.05625
0.006908
0
0
0
0
0
1
0.075
false
0
0.05
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
fc416ffd2f7c1bbdb707cd0d27fb98dd3ff367ba
881
py
Python
src/python/make_store_entry.py
kf7lsu/RegfileCompiler-public
0845f1458137cef06d584047bb4287a72c6afbab
[ "Apache-2.0" ]
null
null
null
src/python/make_store_entry.py
kf7lsu/RegfileCompiler-public
0845f1458137cef06d584047bb4287a72c6afbab
[ "Apache-2.0" ]
null
null
null
src/python/make_store_entry.py
kf7lsu/RegfileCompiler-public
0845f1458137cef06d584047bb4287a72c6afbab
[ "Apache-2.0" ]
null
null
null
#this code will generate the structural verilog for a single entry in the register file #takes in the output file manager, the entry number, the number of bits, the number of reads, and the width of the #tristate buffers on the read outputs #expects the same things as make_store_cell, ensure code is valid there #Matt...
31.464286
114
0.760499
157
881
4.063694
0.522293
0.098746
0.081505
0.056426
0.075235
0
0
0
0
0
0
0.017711
0.166856
881
27
115
32.62963
0.851499
0.496027
0
0
1
0
0.066667
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fc417b4336f77e529dd64d425d37722b3edade09
1,007
py
Python
module1/api.py
oceandelee/tac
62ffbcb31b374a9fa83a1ee6010b2e00f2de8a7c
[ "MIT" ]
null
null
null
module1/api.py
oceandelee/tac
62ffbcb31b374a9fa83a1ee6010b2e00f2de8a7c
[ "MIT" ]
null
null
null
module1/api.py
oceandelee/tac
62ffbcb31b374a9fa83a1ee6010b2e00f2de8a7c
[ "MIT" ]
null
null
null
"""API for AVB""" import json import sys import requests def actualite_found (): osm = "https://opendata.bruxelles.be/api/datasets/1.0/search/?q=" data = { "nhits":0, "parameters":{ "dataset":"actualites-ville-de-bruxelles", "timezone":"UTC", "q":"actualite", "langu...
19.365385
69
0.5571
115
1,007
4.747826
0.530435
0.07326
0.087912
0
0
0
0
0
0
0
0
0.014946
0.269116
1,007
52
70
19.365385
0.726902
0.025819
0
0
0
0
0.256148
0.029713
0
0
0
0
0
1
0.076923
false
0
0.076923
0.025641
0.230769
0.102564
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
fc422cd23ef7241b5d35bfeb10b87ff16ba77128
7,782
py
Python
improver/cli/nbhood.py
cpelley/improver
ebf77fe2adc85ed7aec74c26671872a2e4388ded
[ "BSD-3-Clause" ]
77
2017-04-26T07:47:40.000Z
2022-03-31T09:40:49.000Z
improver/cli/nbhood.py
cpelley/improver
ebf77fe2adc85ed7aec74c26671872a2e4388ded
[ "BSD-3-Clause" ]
1,440
2017-03-29T10:04:15.000Z
2022-03-28T10:11:29.000Z
improver/cli/nbhood.py
MoseleyS/improver
ca028e3a1c842e3ff00b188c8ea6eaedd0a07149
[ "BSD-3-Clause" ]
72
2017-03-17T16:53:45.000Z
2022-02-16T09:41:37.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # (C) British Crown Copyright 2017-2021 Met Office. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the ...
42.758242
88
0.681187
936
7,782
5.560897
0.313034
0.022478
0.018444
0.013833
0.151777
0.104899
0.080692
0.064938
0.064938
0.026129
0
0.001912
0.260601
7,782
181
89
42.994475
0.902676
0.648933
0
0.206349
0
0
0.094527
0.014096
0
0
0
0
0
1
0.015873
false
0
0.095238
0
0.126984
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
fc43b75bb4a6cda564bcd320da8b77c8174105e4
58,644
py
Python
bonsai/model.py
ipa-mirb/bonsai
cb73317cdf779566f7c496fc39546c9c689aa09c
[ "MIT" ]
null
null
null
bonsai/model.py
ipa-mirb/bonsai
cb73317cdf779566f7c496fc39546c9c689aa09c
[ "MIT" ]
null
null
null
bonsai/model.py
ipa-mirb/bonsai
cb73317cdf779566f7c496fc39546c9c689aa09c
[ "MIT" ]
null
null
null
#Copyright (c) 2017 Andre Santos # #Permission is hereby granted, free of charge, to any person obtaining a copy #of this software and associated documentation files (the "Software"), to deal #in the Software without restriction, including without limitation the rights #to use, copy, modify, merge, publish, distribute...
35.889841
81
0.60325
6,906
58,644
5.038952
0.082682
0.034771
0.02138
0.025662
0.571281
0.507141
0.465732
0.430616
0.409926
0.393575
0
0.001641
0.293602
58,644
1,633
82
35.911819
0.838387
0.427819
0
0.487805
0
0
0.024693
0
0
0
0
0
0.032999
1
0.220947
false
0.012912
0
0.002869
0.407461
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
fc44182959538bc560fdd3758022cac4683b26ba
737
py
Python
api/views/todo_views.py
felipe-menelau/todo-list-web
9b60a549dc6d5bdd88e1a584b8bb2c4f56131cb5
[ "MIT" ]
null
null
null
api/views/todo_views.py
felipe-menelau/todo-list-web
9b60a549dc6d5bdd88e1a584b8bb2c4f56131cb5
[ "MIT" ]
null
null
null
api/views/todo_views.py
felipe-menelau/todo-list-web
9b60a549dc6d5bdd88e1a584b8bb2c4f56131cb5
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from rest_framework import viewsets, status from rest_framework.response import Response from rest_framework.permissions import IsAuthenticated, IsAdminUser from api.serializers import TODOListSerializer from api.models import TODOList class TODOListViewSet(viewsets.ModelVi...
33.5
86
0.766621
87
737
6.356322
0.505747
0.0434
0.092224
0
0
0
0
0
0
0
0
0
0.14654
737
21
87
35.095238
0.879173
0
0
0
0
0
0.02038
0
0
0
0
0
0
1
0.133333
false
0
0.4
0
0.866667
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
1
0
0
2
fc4539e7bc135f9ebeba5ee7c487446b450f5f15
35
py
Python
Python/Tests/TestData/ProjectHomeProjects/Subfolder/ProgramB.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
404
2019-05-07T02:21:57.000Z
2022-03-31T17:03:04.000Z
Python/Tests/TestData/ProjectHomeProjects/Subfolder/ProgramB.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
1,672
2019-05-06T21:09:38.000Z
2022-03-31T23:16:04.000Z
Python/Tests/TestData/ProjectHomeProjects/Subfolder/ProgramB.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
186
2019-05-13T03:17:37.000Z
2022-03-31T16:24:05.000Z
# ProgramB.py print('Hello World')
11.666667
20
0.714286
5
35
5
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
2
21
17.5
0.806452
0.314286
0
0
0
0
0.5
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
fc461d0fe4c1ef7384477f1e053ae3080c54c6a9
1,541
py
Python
donation/migrations/0043_auto_20180109_0012.py
effective-altruism-australia/donation-portal
45fe58edc44d0c4444b493e4ac025fc53897c799
[ "MIT" ]
1
2019-04-23T01:29:26.000Z
2019-04-23T01:29:26.000Z
donation/migrations/0043_auto_20180109_0012.py
effective-altruism-australia/donation-portal
45fe58edc44d0c4444b493e4ac025fc53897c799
[ "MIT" ]
68
2017-02-10T21:33:39.000Z
2019-06-22T13:40:02.000Z
donation/migrations/0043_auto_20180109_0012.py
effective-altruism-australia/donation-portal
45fe58edc44d0c4444b493e4ac025fc53897c799
[ "MIT" ]
5
2016-11-08T01:35:47.000Z
2020-12-08T07:32:34.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion def copy_existing_referrals_into_new_field(apps, schema_editor): Pledge = apps.get_model('donation', 'Pledge') Referral = apps.get_model('donation', 'Referral') reason...
35.022727
171
0.658663
184
1,541
5.23913
0.461957
0.03112
0.046681
0.067427
0.209544
0.209544
0.120332
0.06639
0
0
0
0.006734
0.229072
1,541
43
172
35.837209
0.804714
0.029202
0
0.117647
0
0
0.121902
0.051574
0
0
0
0
0
1
0.029412
false
0
0.088235
0
0.205882
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
fc4647689f1b8d8a1248e0d89dd5fa8d84dedfbf
350
py
Python
python/is_even.py
c1m50c/twitter-examples
c3ed7cf88dacbb761fed1b0b0dc593d7d3648378
[ "MIT" ]
null
null
null
python/is_even.py
c1m50c/twitter-examples
c3ed7cf88dacbb761fed1b0b0dc593d7d3648378
[ "MIT" ]
null
null
null
python/is_even.py
c1m50c/twitter-examples
c3ed7cf88dacbb761fed1b0b0dc593d7d3648378
[ "MIT" ]
null
null
null
def is_even(i: int) -> bool: if i == 1: return False elif i == 2: return True elif i == 3: return False elif i == 4: return True elif i == 5: ... # Never do that! Use one of these instead... is_even = lambda i : i % 2 == 0 is_even = lambda i : not i & 1 is_o...
20.588235
44
0.511429
59
350
2.949153
0.474576
0.137931
0.08046
0.183908
0
0
0
0
0
0
0
0.036364
0.371429
350
17
45
20.588235
0.754545
0.12
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.357143
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
fc46a91fda80741480960994acf3dbc98c9e618b
8,886
py
Python
wordpress-brute.py
RandomRobbieBF/wordpress-bf
fe78d4367b7baaf18a4200c5c040595d37b4100f
[ "MIT" ]
1
2020-07-27T11:30:23.000Z
2020-07-27T11:30:23.000Z
wordpress-brute.py
RandomRobbieBF/wordpress-bf
fe78d4367b7baaf18a4200c5c040595d37b4100f
[ "MIT" ]
null
null
null
wordpress-brute.py
RandomRobbieBF/wordpress-bf
fe78d4367b7baaf18a4200c5c040595d37b4100f
[ "MIT" ]
1
2020-05-17T12:40:13.000Z
2020-05-17T12:40:13.000Z
#!/usr/bin/env python # # Wordpress Bruteforce Tool # # By @random_robbie # # import requests import json import sys import argparse import re import os.path from requests.packages.urllib3.exceptions import InsecureRequestWarning requests.packages.urllib3.disable_warnings(InsecureRequestWarning) session = requests.Se...
31.399293
388
0.679721
1,289
8,886
4.624515
0.223429
0.007046
0.027177
0.019963
0.41436
0.393055
0.33954
0.296427
0.241738
0.228988
0
0.028727
0.153838
8,886
282
389
31.510638
0.764064
0.059419
0
0.344498
0
0.043062
0.325699
0.039333
0
0
0
0
0
1
0.062201
false
0.124402
0.033493
0
0.191388
0.095694
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
fc48029eb6bc6d9c3b97d0e2970ae2bc11eb162e
5,626
py
Python
graph_search/week2/assignment_dijkstra_shortest_paths.py
liaoaoyuan97/standford_algorithms_specialization
2914fdd397ce895d986ac855e78afd7a51ceff68
[ "MIT" ]
null
null
null
graph_search/week2/assignment_dijkstra_shortest_paths.py
liaoaoyuan97/standford_algorithms_specialization
2914fdd397ce895d986ac855e78afd7a51ceff68
[ "MIT" ]
null
null
null
graph_search/week2/assignment_dijkstra_shortest_paths.py
liaoaoyuan97/standford_algorithms_specialization
2914fdd397ce895d986ac855e78afd7a51ceff68
[ "MIT" ]
1
2021-01-18T19:35:48.000Z
2021-01-18T19:35:48.000Z
import heapq import time from os import path from math import floor class Heap: def __init__(self): self.size = 0 self.array = [] self.v2index_map = {} def __get_parent_index(self, idx): return int(floor((idx - 1) / 2)) def __get_left_child_index(self, idx): retur...
27.714286
119
0.551369
824
5,626
3.515777
0.161408
0.059027
0.033828
0.01795
0.383155
0.327235
0.25164
0.182258
0.159475
0.11253
0
0.046691
0.307145
5,626
202
120
27.851485
0.696511
0.088162
0
0.159091
0
0
0.006068
0
0
0
0
0
0.015152
1
0.106061
false
0
0.030303
0.030303
0.204545
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc480677b321e1843fe0812d2b7ce6bbeeb5090e
4,345
py
Python
ssod/utils/structure_utils.py
huimlight/SoftTeacher
97064fbcce1ab87b40977544ba7a9c488274d66f
[ "MIT" ]
604
2021-08-09T03:00:35.000Z
2022-03-31T13:43:14.000Z
ssod/utils/structure_utils.py
huimlight/SoftTeacher
97064fbcce1ab87b40977544ba7a9c488274d66f
[ "MIT" ]
158
2021-08-29T07:58:22.000Z
2022-03-31T15:23:27.000Z
ssod/utils/structure_utils.py
huimlight/SoftTeacher
97064fbcce1ab87b40977544ba7a9c488274d66f
[ "MIT" ]
92
2021-08-24T07:29:37.000Z
2022-03-29T03:01:34.000Z
import warnings from collections import Counter, Mapping, Sequence from numbers import Number from typing import Dict, List import numpy as np import torch from mmdet.core.mask.structures import BitmapMasks from torch.nn import functional as F _step_counter = Counter() def list_concat(data_list: List[list]): if...
28.214286
88
0.607595
621
4,345
4.132045
0.201288
0.042868
0.007794
0.010912
0.128995
0.093141
0.082619
0.082619
0.030398
0.030398
0
0.012698
0.275029
4,345
153
89
28.398693
0.801905
0
0
0.125
0
0
0.011277
0
0
0
0
0
0.016667
1
0.116667
false
0
0.066667
0.008333
0.391667
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
fc49b99b0326493e147f5f9c2af303341e2290ed
2,422
py
Python
tests/tabular_output/test_terminaltables_adapter.py
zzl0/cli_helpers
266645937423225bdb636ef6aa659f1a40ceec5f
[ "BSD-3-Clause" ]
null
null
null
tests/tabular_output/test_terminaltables_adapter.py
zzl0/cli_helpers
266645937423225bdb636ef6aa659f1a40ceec5f
[ "BSD-3-Clause" ]
null
null
null
tests/tabular_output/test_terminaltables_adapter.py
zzl0/cli_helpers
266645937423225bdb636ef6aa659f1a40ceec5f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """Test the terminaltables output adapter.""" from __future__ import unicode_literals from textwrap import dedent import pytest from cli_helpers.compat import HAS_PYGMENTS from cli_helpers.tabular_output import terminaltables_adapter if HAS_PYGMENTS: from pygments.style import Style ...
34.6
86
0.547069
316
2,422
4.091772
0.218354
0.092807
0.148492
0.204176
0.492653
0.440062
0.402939
0.402939
0.402939
0.402939
0
0.143322
0.239472
2,422
69
87
35.101449
0.558632
0.066061
0
0.306122
0
0
0.305112
0.159212
0
0
0
0
0.040816
1
0.040816
false
0
0.142857
0
0.244898
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
fc4a04571ae8ad033810ff66b391deb8c9d55bed
1,642
py
Python
dev/Tools/build/waf-1.7.13/waflib/extras/fc_xlf.py
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Tools/build/waf-1.7.13/waflib/extras/fc_xlf.py
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Tools/build/waf-1.7.13/waflib/extras/fc_xlf.py
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
#! /usr/bin/env python # encoding: utf-8 # harald at klimachs.de import re from waflib import Utils,Errors from waflib.Tools import fc,fc_config,fc_scan from waflib.Configure import conf from waflib.Tools.compiler_fc import fc_compiler fc_compiler['aix'].insert(0, 'fc_xlf') @conf def find_xlf(conf): """Find the xlf...
25.261538
115
0.693057
269
1,642
4.037175
0.394052
0.060773
0.041436
0.027624
0
0
0
0
0
0
0
0.013399
0.136419
1,642
64
116
25.65625
0.752468
0.091352
0
0.083333
0
0
0.210419
0.020974
0
0
0
0
0
1
0.104167
false
0
0.104167
0
0.208333
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
fc4af8f087c68aec19d9b595aee4bd3178dfeac2
9,119
py
Python
tutorials/create_table/tests.py
MeGustas-5427/SQL_Tutorials
627372c2d5d8656d72645830c9a1fae1df278fc7
[ "Apache-2.0" ]
13
2020-11-05T04:22:51.000Z
2022-02-27T08:44:50.000Z
tutorials/create_table/tests.py
MeGustas-5427/SQL_Tutorials
627372c2d5d8656d72645830c9a1fae1df278fc7
[ "Apache-2.0" ]
null
null
null
tutorials/create_table/tests.py
MeGustas-5427/SQL_Tutorials
627372c2d5d8656d72645830c9a1fae1df278fc7
[ "Apache-2.0" ]
2
2020-11-10T10:01:20.000Z
2021-04-07T02:33:29.000Z
#!/usr/bin/python3 # -*- coding:utf-8 -*- # __author__ = '__MeGustas__' from django.test import TestCase from django.db import connection from tutorials.create_table.models import * # Create your tests here. class TestHealthFile(TestCase): def setUp(self): cursor = connection.cursor() # Popul...
67.051471
154
0.665205
1,263
9,119
4.619161
0.196358
0.095818
0.140041
0.169523
0.70312
0.687693
0.67398
0.67398
0.67398
0.654782
0
0.080113
0.188288
9,119
136
155
67.051471
0.708052
0.027196
0
0.440367
0
0.220183
0.17197
0.004739
0
0
0
0
0
1
0.027523
false
0
0.027523
0
0.06422
0.045872
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fc4b846e57d2910c0d4eb0a932e3548a8ac421c6
31,822
py
Python
hero/hero.py
tmfds/dfk
91b6f95a4630b57deecf87cf4850b6576646c7d1
[ "MIT" ]
null
null
null
hero/hero.py
tmfds/dfk
91b6f95a4630b57deecf87cf4850b6576646c7d1
[ "MIT" ]
null
null
null
hero/hero.py
tmfds/dfk
91b6f95a4630b57deecf87cf4850b6576646c7d1
[ "MIT" ]
null
null
null
import copy from web3 import Web3 from .utils import utils as hero_utils CONTRACT_ADDRESS = '0x5f753dcdf9b1ad9aabc1346614d1f4746fd6ce5c' ABI = """ [ {"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"addres...
117.859259
5,003
0.671139
3,312
31,822
6.311292
0.081824
0.078362
0.095776
0.104483
0.818591
0.803138
0.744821
0.681385
0.677606
0.60575
0
0.033411
0.068852
31,822
269
5,004
118.297398
0.672033
0.004242
0
0.105263
0
0.220096
0.737372
0.678274
0
0
0.001326
0
0
1
0.033493
false
0
0.014354
0.004785
0.076555
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
1
1
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
fc4c938deecee815416606c1468c7d127f759b88
364
py
Python
tests/test_langs_fr.py
honzajavorek/tipi
cbe51192725608b6fba1244a48610ae231b13e08
[ "MIT" ]
3
2016-04-13T17:49:09.000Z
2017-11-10T22:26:17.000Z
tests/test_langs_fr.py
honzajavorek/tipi
cbe51192725608b6fba1244a48610ae231b13e08
[ "MIT" ]
null
null
null
tests/test_langs_fr.py
honzajavorek/tipi
cbe51192725608b6fba1244a48610ae231b13e08
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from tipi import tipi as _tipi tipi = lambda s: _tipi(s, lang='fr') def test_double_quotes(): assert tipi('''"brutal" "quote's"''') == ( '''«brutal» «quote's»''' ) def test_single_quotes(): assert tipi("""'brutal' 'quote's'""") ...
17.333333
46
0.56044
53
364
3.792453
0.490566
0.119403
0.159204
0.218905
0.278607
0.278607
0
0
0
0
0
0.003534
0.222527
364
20
47
18.2
0.678445
0.057692
0
0
0
0
0.129693
0
0
0
0
0
0.222222
1
0.222222
false
0
0.222222
0
0.444444
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
1
0
0
0
0
0
0
0
2
fc50f97ead454f81e6290dc083d27cd62ab11353
2,878
py
Python
vendor/models.py
brethauer/mirage
396f61206bf76f997c0535277af918058aa1b827
[ "CC0-1.0" ]
8
2015-03-07T02:56:32.000Z
2016-08-30T17:09:30.000Z
vendor/models.py
brethauer/mirage
396f61206bf76f997c0535277af918058aa1b827
[ "CC0-1.0" ]
16
2015-02-25T16:09:39.000Z
2016-12-09T22:58:04.000Z
vendor/models.py
brethauer/mirage
396f61206bf76f997c0535277af918058aa1b827
[ "CC0-1.0" ]
13
2015-03-09T00:20:49.000Z
2021-02-14T11:02:32.000Z
from django.db import models VEHICLE_CHOICES = ( ('OASISSB', 'OASIS Small Business'), ('OASIS', 'OASIS Unrestricted') ) STATUS_CHOICES = ( ('P', 'In Progress'), ('C', 'Completed'), ('F', 'Cancelled') ) class Vendor(models.Model): name = models.CharField(max_length=128) duns = models.C...
33.858824
82
0.709173
375
2,878
5.245333
0.261333
0.18302
0.109812
0.097611
0.449415
0.401118
0.3091
0.2303
0.046772
0
0
0.029801
0.160528
2,878
84
83
34.261905
0.784354
0
0
0.078125
0
0
0.055247
0
0
0
0
0
0
1
0.078125
false
0
0.015625
0.078125
0.859375
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
fc515ce56fd34f4315010ae886d6091f5950eab2
610
py
Python
two_qubit_simulator/circuits.py
L-McCormack/two-qubit-simulator
d7115f0630c9931724aa660dba4b89a50db4e2e0
[ "MIT" ]
null
null
null
two_qubit_simulator/circuits.py
L-McCormack/two-qubit-simulator
d7115f0630c9931724aa660dba4b89a50db4e2e0
[ "MIT" ]
null
null
null
two_qubit_simulator/circuits.py
L-McCormack/two-qubit-simulator
d7115f0630c9931724aa660dba4b89a50db4e2e0
[ "MIT" ]
null
null
null
""" Contains the QuantumCircuit class boom. """ class QuantumCircuit(object): # pylint: disable=useless-object-inheritance """ Implements a quantum circuit. - - - WRITE DOCUMENTATION HERE - - - """ def __init__(self): """ Initialise a QuantumCircuit object """ pass def add_ga...
23.461538
74
0.598361
67
610
5.298507
0.447761
0.059155
0.084507
0.101408
0.292958
0.292958
0.292958
0.292958
0.292958
0.292958
0
0
0.291803
610
25
75
24.4
0.821759
0.498361
0
0.444444
0
0
0
0
0
0
0
0
0
1
0.444444
false
0.444444
0
0
0.555556
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
1
0
0
1
0
0
3
fc519cd073372b79ff5e315d6c117f1de77e8ef5
602
py
Python
examples/bathymetricGradient.py
usgs/water-datapreptools
49c852a0c189e142a351331ba6e0d1ef9e7a408b
[ "CC0-1.0" ]
2
2021-06-22T18:18:47.000Z
2021-09-25T18:16:26.000Z
examples/bathymetricGradient.py
usgs/water-datapreptools
49c852a0c189e142a351331ba6e0d1ef9e7a408b
[ "CC0-1.0" ]
null
null
null
examples/bathymetricGradient.py
usgs/water-datapreptools
49c852a0c189e142a351331ba6e0d1ef9e7a408b
[ "CC0-1.0" ]
null
null
null
import sys sys.path.append("..") # change environment to see tools from make_hydrodem import bathymetricGradient workspace = r"" # path to geodatabase to use as a workspace snapGrid = r"" # path to snapping grid hucPoly = r"" # path to local folder polygon hydrographyArea = r"" # path to NHD area feature class...
43
67
0.757475
74
602
6.148649
0.527027
0.065934
0.092308
0.065934
0
0
0
0
0
0
0
0
0.167774
602
14
68
43
0.908184
0.393688
0
0
0
0
0.005814
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc52596785d1ffc33b3982ed9e7fa9443b9fefb7
9,799
py
Python
out/flowContext.py
hxb1997/Menge
7a09a6236d8eef23e3d15d08873d5918d064761b
[ "Apache-2.0" ]
null
null
null
out/flowContext.py
hxb1997/Menge
7a09a6236d8eef23e3d15d08873d5918d064761b
[ "Apache-2.0" ]
null
null
null
out/flowContext.py
hxb1997/Menge
7a09a6236d8eef23e3d15d08873d5918d064761b
[ "Apache-2.0" ]
1
2021-07-01T09:40:01.000Z
2021-07-01T09:40:01.000Z
# This is the OpenGL context for drawing flow calculation lines from Context import * from primitives import Vector2, Segment from OpenGL.GL import * from copy import deepcopy class GLFlowSegment( Segment ): '''The OpenGL representation of a flow line. Basically a segment with a direciton indicator. The dire...
37.98062
89
0.525462
1,122
9,799
4.554367
0.221925
0.033464
0.046575
0.022309
0.294325
0.226223
0.179256
0.170646
0.12407
0.108023
0
0.013866
0.381774
9,799
257
90
38.128405
0.829647
0.253087
0
0.333333
0
0
0.004146
0
0
0
0
0
0.023392
1
0.128655
false
0
0.023392
0.017544
0.245614
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
fc526e31f18c99d7210b6012a52b4a8ccf202ae9
35
py
Python
instascrape/collectors/__init__.py
Paola351/instascrape
b4a50c9140fa9054187738f6d1564cecc32cbaab
[ "MIT" ]
1
2021-03-10T03:36:43.000Z
2021-03-10T03:36:43.000Z
examples/collectors/__init__.py
fo0nikens/instascrape
699dd2169a96438d1d71bce5b1401fd5c5f0e531
[ "MIT" ]
null
null
null
examples/collectors/__init__.py
fo0nikens/instascrape
699dd2169a96438d1d71bce5b1401fd5c5f0e531
[ "MIT" ]
null
null
null
from .interval_collectors import *
17.5
34
0.828571
4
35
7
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.903226
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
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
fc5346e19911a49d8686625f457f771311d07483
324
py
Python
Codes/gracekoo/test.py
ghoslation/algorithm
5708bf89e59a80cd0f50f2e6138f069b4f9bc96e
[ "Apache-2.0" ]
256
2017-10-25T13:02:15.000Z
2022-02-25T13:47:59.000Z
Codes/gracekoo/test.py
IYoreI/Algorithm
0addf0cda0ec9e3f46c480eeda3a8ecb64c94121
[ "Apache-2.0" ]
56
2017-10-27T01:34:20.000Z
2022-03-01T00:20:55.000Z
Codes/gracekoo/test.py
IYoreI/Algorithm
0addf0cda0ec9e3f46c480eeda3a8ecb64c94121
[ "Apache-2.0" ]
83
2017-10-25T12:51:53.000Z
2022-02-15T08:27:03.000Z
# -*- coding: utf-8 -*- # @Time: 2020/11/8 23:47 # @Author: GraceKoo # @File: test.py # @Desc: from threading import Thread import time def print_numbers(): time.sleep(0.2) print("子线程结束") if __name__ == "__main__": t1 = Thread(target=print_numbers) t1.setDaemon(True) t1.start() # print("主线程结...
16.2
37
0.623457
45
324
4.266667
0.755556
0.125
0
0
0
0
0
0
0
0
0
0.065891
0.203704
324
19
38
17.052632
0.678295
0.305556
0
0
0
0
0.059633
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.333333
0.333333
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
fc534b79cb83ef68a1a71a69fd50a17561f7b0a3
5,894
py
Python
src/_main_/settings.py
gregory-chekler/api
11ecbea945e7eb6fa677a0c0bb32bda51ba15f28
[ "MIT" ]
null
null
null
src/_main_/settings.py
gregory-chekler/api
11ecbea945e7eb6fa677a0c0bb32bda51ba15f28
[ "MIT" ]
null
null
null
src/_main_/settings.py
gregory-chekler/api
11ecbea945e7eb6fa677a0c0bb32bda51ba15f28
[ "MIT" ]
null
null
null
""" Django settings for massenergize_portal_backend project. Generated by 'django-admin startproject' using Django 2.1.4. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/setting...
29.918782
165
0.69172
653
5,894
6.027565
0.335375
0.036585
0.045732
0.035569
0.198679
0.146341
0.092226
0.071646
0.030488
0
0
0.011708
0.159484
5,894
196
166
30.071429
0.782802
0.199864
0
0.015504
1
0
0.455575
0.338531
0
0
0
0
0
1
0
false
0.062016
0.031008
0
0.031008
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
1
0
0
0
0
0
2
fc545ada34aef15e72804247df9cc885de6ee820
2,657
py
Python
aiorpcgrid/client.py
urands/aiorpcgrid
7bc9ee9a80fa843998b2604d7c0803b323628480
[ "Apache-2.0" ]
null
null
null
aiorpcgrid/client.py
urands/aiorpcgrid
7bc9ee9a80fa843998b2604d7c0803b323628480
[ "Apache-2.0" ]
null
null
null
aiorpcgrid/client.py
urands/aiorpcgrid
7bc9ee9a80fa843998b2604d7c0803b323628480
[ "Apache-2.0" ]
null
null
null
import asyncio # from aiorpcgrid.client import Client from aiorpcgrid.task import AsyncTask, State class AsyncClient: _provider = None _method = None _requests: dict = {} _running = True _request_queue: asyncio.Queue = asyncio.Queue() _loop = None def __init__(self, provider, loop=None):...
34.960526
77
0.546481
277
2,657
5.025271
0.249097
0.068966
0.057471
0.063218
0.047414
0.047414
0
0
0
0
0
0
0.368837
2,657
75
78
35.426667
0.830054
0.013549
0
0.031746
0
0
0.018709
0
0
0
0
0
0
1
0.031746
false
0
0.031746
0
0.206349
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
fc557f84938097fbd8c0d95d4d05c57f1ad0bde0
4,093
py
Python
python/src/otel/otel_sdk/opentelemetry/instrumentation/aws_lambda/__init__.py
matt-tyler/opentelemetry-lambda
6b427d351fa721620fcd387e836e9f2f9f20cb60
[ "Apache-2.0" ]
null
null
null
python/src/otel/otel_sdk/opentelemetry/instrumentation/aws_lambda/__init__.py
matt-tyler/opentelemetry-lambda
6b427d351fa721620fcd387e836e9f2f9f20cb60
[ "Apache-2.0" ]
null
null
null
python/src/otel/otel_sdk/opentelemetry/instrumentation/aws_lambda/__init__.py
matt-tyler/opentelemetry-lambda
6b427d351fa721620fcd387e836e9f2f9f20cb60
[ "Apache-2.0" ]
1
2021-01-24T12:08:18.000Z
2021-01-24T12:08:18.000Z
# Copyright 2020, OpenTelemetry Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
34.108333
151
0.716101
497
4,093
5.647887
0.382294
0.022444
0.029925
0.027075
0.133951
0.086926
0.066263
0.066263
0.034913
0.034913
0
0.006096
0.198387
4,093
119
152
34.394958
0.849436
0.374786
0
0.04
0
0
0.07109
0.020142
0
0
0
0.016807
0
1
0.06
false
0
0.2
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
fc572a69e6a41f7d2d8f4eb6c221dcaa2427e9e3
471
py
Python
instructors/migrations/0021_alter_user_avatar_url.py
bastoune57/gokiting_back_end
f3edcbeede292713349b28f2390b5d57e1420f8e
[ "MIT" ]
null
null
null
instructors/migrations/0021_alter_user_avatar_url.py
bastoune57/gokiting_back_end
f3edcbeede292713349b28f2390b5d57e1420f8e
[ "MIT" ]
null
null
null
instructors/migrations/0021_alter_user_avatar_url.py
bastoune57/gokiting_back_end
f3edcbeede292713349b28f2390b5d57e1420f8e
[ "MIT" ]
null
null
null
# Generated by Django 4.0.2 on 2022-04-01 16:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('instructors', '0020_alter_user_description_alter_user_title'), ] operations = [ migrations.AlterField( model_name='user', ...
24.789474
108
0.651805
53
471
5.566038
0.792453
0.061017
0
0
0
0
0
0
0
0
0
0.052925
0.237792
471
18
109
26.166667
0.768802
0.095541
0
0
1
0
0.271226
0.183962
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
fc58e1c32b322dbf5e028fbcbb5c81a4dc6ff07a
1,348
py
Python
sopa/src/models/utils.py
SamplingAndEnsemblingSolvers/SamplingAndEnsemblingSolvers
5ad3cae76c3cc9cec4d347807012e61121ea61b9
[ "MIT" ]
25
2021-03-16T13:40:45.000Z
2021-08-12T04:54:39.000Z
sopa/src/models/utils.py
MetaSolver/icml2021
619774abe4a834ae371434af8b23379e9524e7da
[ "BSD-3-Clause" ]
null
null
null
sopa/src/models/utils.py
MetaSolver/icml2021
619774abe4a834ae371434af8b23379e9524e7da
[ "BSD-3-Clause" ]
1
2021-03-31T02:58:03.000Z
2021-03-31T02:58:03.000Z
import numpy as np import torch import random from .odenet_mnist.layers import MetaNODE def fix_seeds(seed=502): np.random.seed(seed) random.seed(seed) torch.manual_seed(seed) torch.cuda.manual_seed_all(seed) torch.set_printoptions(precision=10) torch.backends.cudnn.deterministic = Tr...
27.510204
99
0.635015
171
1,348
4.795322
0.426901
0.076829
0.040244
0.069512
0.087805
0.070732
0
0
0
0
0
0.011111
0.265579
1,348
49
100
27.510204
0.817172
0.03635
0
0
0
0
0.015456
0
0
0
0
0
0
1
0.142857
false
0
0.114286
0
0.314286
0.028571
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
fc5ae40661fc1b76d02d932d2ea414f59839b072
319
py
Python
packages/micropython-official/v1.10/esp32/stubs/ubinascii.py
TheVinhLuong102/micropy-stubs
55ff1773008f7c4dfc3d70a403986486226eb6b3
[ "MIT" ]
18
2019-07-11T13:31:09.000Z
2022-01-27T06:38:40.000Z
packages/micropython-official/v1.10/esp32/stubs/ubinascii.py
TheVinhLuong102/micropy-stubs
55ff1773008f7c4dfc3d70a403986486226eb6b3
[ "MIT" ]
9
2019-09-01T21:44:49.000Z
2022-02-04T20:55:08.000Z
packages/micropython-official/v1.10/esp32/stubs/ubinascii.py
TheVinhLuong102/micropy-stubs
55ff1773008f7c4dfc3d70a403986486226eb6b3
[ "MIT" ]
6
2019-10-08T05:31:21.000Z
2021-04-22T10:21:01.000Z
""" Module: 'ubinascii' on esp32 1.10.0 """ # MCU: (sysname='esp32', nodename='esp32', release='1.10.0', version='v1.10 on 2019-01-25', machine='ESP32 module with ESP32') # Stubber: 1.2.0 def a2b_base64(): pass def b2a_base64(): pass def crc32(): pass def hexlify(): pass def unhexlify(): pass
15.190476
126
0.623824
49
319
4.020408
0.571429
0.142132
0.040609
0
0
0
0
0
0
0
0
0.155642
0.194357
319
20
127
15.95
0.610895
0.551724
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
true
0.5
0
0
0.5
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
1
1
0
0
0
0
0
3
fc5b4e12e35ec5a1123e4672989f9b50567b330a
3,141
py
Python
jv/test_jv.py
chenwang/QuantEcon.lectures.code
8832a74acd219a71cb0a99dc63c5e976598ac999
[ "BSD-3-Clause" ]
56
2017-05-09T10:45:23.000Z
2022-01-20T20:33:27.000Z
jv/test_jv.py
chenwang/QuantEcon.lectures.code
8832a74acd219a71cb0a99dc63c5e976598ac999
[ "BSD-3-Clause" ]
7
2017-06-30T01:52:46.000Z
2019-05-01T20:09:47.000Z
jv/test_jv.py
QuantEcon/QuantEcon.lectures.code
d61ac7bc54529dd5c77470c17539eb2418b047c9
[ "BSD-3-Clause" ]
117
2017-04-25T16:09:17.000Z
2022-03-23T02:30:29.000Z
""" @author : Spencer Lyon """ from __future__ import division import sys import unittest from nose.plugins.skip import SkipTest from jv import JvWorker from quantecon import compute_fixed_point from quantecon.tests import get_h5_data_file, write_array, max_abs_diff # specify params -- use defaults A = 1.4 alpha = 0...
28.044643
78
0.606176
469
3,141
3.842217
0.328358
0.027192
0.037736
0.023307
0.147614
0.147614
0.147614
0.126526
0.126526
0.049945
0
0.017383
0.304043
3,141
111
79
28.297297
0.806953
0.209169
0
0.197183
0
0
0.104205
0
0
0
0
0
0.070423
1
0.112676
false
0
0.098592
0
0.28169
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
fc5bfb461089e67c5b2c46ef4db3208ad1a8b352
9,820
py
Python
excentury/command/config.py
LaudateCorpus1/excentury
8d0f20bb3e543382170e042fac51a56377c4024b
[ "BSD-2-Clause" ]
null
null
null
excentury/command/config.py
LaudateCorpus1/excentury
8d0f20bb3e543382170e042fac51a56377c4024b
[ "BSD-2-Clause" ]
null
null
null
excentury/command/config.py
LaudateCorpus1/excentury
8d0f20bb3e543382170e042fac51a56377c4024b
[ "BSD-2-Clause" ]
1
2021-12-31T13:24:16.000Z
2021-12-31T13:24:16.000Z
"""Config This module is in charge of providing all the necessary settings to the rest of the modules in excentury. """ import os import re import sys import textwrap import argparse from collections import OrderedDict from excentury.command import error, trace, import_mod DESC = """Edit a configuration file for ex...
33.175676
77
0.559063
1,253
9,820
4.295291
0.227454
0.024155
0.012263
0.014121
0.168711
0.139911
0.122074
0.090115
0.060201
0.050167
0
0.007828
0.323523
9,820
295
78
33.288136
0.802348
0.200102
0
0.159624
0
0
0.144457
0.006364
0
0
0
0
0
1
0.065728
false
0.004695
0.037559
0
0.150235
0.018779
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
fc5d1f91e8b522de235f963587514841692890ab
4,696
py
Python
tests/test_urls.py
pkjmesra/nseta
28cd8cede465efe9f506a38c5933602c463e5185
[ "MIT" ]
8
2020-10-12T02:59:03.000Z
2022-03-20T15:06:50.000Z
tests/test_urls.py
pkjmesra/nseta
28cd8cede465efe9f506a38c5933602c463e5185
[ "MIT" ]
3
2020-10-13T16:30:09.000Z
2021-01-07T23:57:05.000Z
tests/test_urls.py
pkjmesra/nseta
28cd8cede465efe9f506a38c5933602c463e5185
[ "MIT" ]
5
2020-10-12T14:57:41.000Z
2021-12-30T11:52:34.000Z
# -*- coding: utf-8 -*- ''' Created on Thu Nov 19 20:52:33 2015 @author: SW274998 ''' from nseta.common.commons import * import datetime import unittest import time from bs4 import BeautifulSoup from tests import htmls import json import requests import six from nseta.common.urls import * import nseta.common.urls as ...
34.277372
178
0.643526
590
4,696
4.925424
0.30339
0.121129
0.098417
0.113558
0.355816
0.235375
0.075705
0.020647
0
0
0
0.048696
0.199744
4,696
136
179
34.529412
0.724588
0.043441
0
0.063636
0
0
0.125809
0.029891
0
0
0
0
0.172727
1
0.145455
false
0
0.118182
0
0.272727
0.063636
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
fc5d4359e9534912a4f50ac4cf894cf8797005d0
3,207
py
Python
accounts/forms.py
cheradenine/Django-CRM
692572ced050d314c1f880af8b4000c97cbf7440
[ "MIT" ]
2
2019-08-30T14:42:45.000Z
2019-09-01T01:49:38.000Z
accounts/forms.py
cheradenine/Django-CRM
692572ced050d314c1f880af8b4000c97cbf7440
[ "MIT" ]
7
2021-03-31T20:01:14.000Z
2022-03-12T00:47:10.000Z
accounts/forms.py
gthreepwood/Django-CRM
12de7e6c622d9d7483c210212c8b7fe3dbde2739
[ "MIT" ]
1
2021-10-09T10:03:46.000Z
2021-10-09T10:03:46.000Z
from django import forms from .models import Account from common.models import Comment, Attachments from leads.models import Lead from contacts.models import Contact from django.db.models import Q class AccountForm(forms.ModelForm): def __init__(self, *args, **kwargs): account_view = kwargs.pop('account'...
41.115385
104
0.617399
342
3,207
5.637427
0.28655
0.108921
0.114627
0.072614
0.267635
0.090768
0.060166
0.060166
0.060166
0.060166
0
0.009046
0.241659
3,207
77
105
41.649351
0.783717
0
0
0.046154
0
0
0.193951
0
0
0
0
0
0
1
0.015385
false
0
0.092308
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc5dc71b519a1377907665d2b2ecee494faf08a3
2,408
py
Python
pywren/pywren_ibm_cloud/invokers.py
thetolga/pywren-ibm-cloud
ce48c158cf469b55100ab68a75d3dcd6ae9a3ffe
[ "Apache-2.0" ]
null
null
null
pywren/pywren_ibm_cloud/invokers.py
thetolga/pywren-ibm-cloud
ce48c158cf469b55100ab68a75d3dcd6ae9a3ffe
[ "Apache-2.0" ]
null
null
null
pywren/pywren_ibm_cloud/invokers.py
thetolga/pywren-ibm-cloud
ce48c158cf469b55100ab68a75d3dcd6ae9a3ffe
[ "Apache-2.0" ]
null
null
null
# # Copyright 2018 PyWren Team # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
34.898551
148
0.658638
298
2,408
5.124161
0.40604
0.045842
0.047151
0.05239
0.081205
0.057629
0.057629
0.057629
0.057629
0.057629
0
0.005556
0.252492
2,408
68
149
35.411765
0.842778
0.260382
0
0.057143
0
0
0.127981
0
0
0
0
0
0
1
0.085714
false
0
0.114286
0
0.285714
0.028571
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
fc5f5a1b908ccb47f94225746e71f15650a97363
4,160
py
Python
Projet1/Dataset/addlinkRealExample.py
Arugakente/DataScienceP1
94ca874ed8a76a89a3da9ecf2fe6e554700f0507
[ "MIT" ]
null
null
null
Projet1/Dataset/addlinkRealExample.py
Arugakente/DataScienceP1
94ca874ed8a76a89a3da9ecf2fe6e554700f0507
[ "MIT" ]
null
null
null
Projet1/Dataset/addlinkRealExample.py
Arugakente/DataScienceP1
94ca874ed8a76a89a3da9ecf2fe6e554700f0507
[ "MIT" ]
null
null
null
import os import random inputDirectory = "./original" outputDirectory = "./processed" #probability parameters TopLevel = 0.6 SecondLevel = 0.5 ThirdLevel = 0.4 FourAndAbove = 0.2 pickInside = 0.5 pickOutside = 0.25 topics = [] siteLevel = [] fileStructure = [] count = 0 def findPossibleIndex(toParse): toRetu...
33.821138
178
0.571394
364
4,160
6.53022
0.222527
0.060581
0.073202
0.018511
0.127472
0.059739
0
0
0
0
0
0.017926
0.316106
4,160
123
179
33.821138
0.817575
0.005288
0
0.064516
0
0
0.014258
0
0
0
0
0
0
1
0.021505
false
0
0.021505
0
0.064516
0.021505
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
fc61f699dd50ec363bb2a766f77f3f5058fefd54
13,616
py
Python
kkcalc/kk.py
benajamin/kkcalc
fcabfba288442dd297e3bd9910062c5db2231a91
[ "Zlib" ]
null
null
null
kkcalc/kk.py
benajamin/kkcalc
fcabfba288442dd297e3bd9910062c5db2231a91
[ "Zlib" ]
1
2021-02-09T10:18:14.000Z
2021-02-17T08:28:58.000Z
kkcalc/kk.py
benajamin/kkcalc
fcabfba288442dd297e3bd9910062c5db2231a91
[ "Zlib" ]
3
2021-02-06T23:37:14.000Z
2022-01-19T15:26:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of the Kramers-Kronig Calculator software package. # # Copyright (c) 2013 Benjamin Watts, Daniel J. Lauk # # The software is licensed under the terms of the zlib/libpng license. # For details see LICENSE.txt """This module implements the Kramers-Kronig...
47.608392
363
0.735238
2,109
13,616
4.586534
0.168326
0.045694
0.022744
0.017368
0.444123
0.399049
0.354389
0.344877
0.326889
0.311692
0
0.023127
0.113984
13,616
285
364
47.775439
0.77868
0.422444
0
0.106557
0
0
0.048957
0.004069
0
0
0
0
0
1
0.040984
false
0.008197
0.057377
0
0.139344
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
fc62c8d6aa28b5a801e73fa4abc1d1fe577304dd
1,884
py
Python
random-images/hexxy.py
dominicschaff/random
14a19b976a09c768ab8844b7cda237c17a92c9ae
[ "MIT" ]
null
null
null
random-images/hexxy.py
dominicschaff/random
14a19b976a09c768ab8844b7cda237c17a92c9ae
[ "MIT" ]
null
null
null
random-images/hexxy.py
dominicschaff/random
14a19b976a09c768ab8844b7cda237c17a92c9ae
[ "MIT" ]
null
null
null
from PIL import ImageDraw, Image from math import cos,sin,radians from random import randint import sys a = "a0A1b2B3c4C5d6D7e8E9f!F,g.G/h?H<i>I:j;J'k\"K\\l|L/m M\nn\tN@o#O$p%P^q&Q*r(R)s_S-t+T=u{U}v[V]w W x X y Y z Z" if len(a) > 128: print("TOO MANY CHARACTERS") sys.exit(1) # for i in a: # print("%s -> %...
28.545455
113
0.537686
396
1,884
2.555556
0.270202
0.023715
0.027668
0.062253
0.362648
0.352767
0.310277
0.221344
0.221344
0.221344
0
0.107397
0.253716
1,884
66
114
28.545455
0.612376
0.196921
0
0
0
0.204545
0.061252
0.027963
0
0
0
0
0
1
0.045455
false
0
0.090909
0
0.159091
0.045455
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fc63326e97a96ff49b392fe1692ec3ec3a6b80ad
16,626
py
Python
src/plugins/maimaidx.py
LonelyFantasy/Chiyuki-Bot
16a91b96661825c2a367a12c30d6a28ad13b95a9
[ "MIT" ]
null
null
null
src/plugins/maimaidx.py
LonelyFantasy/Chiyuki-Bot
16a91b96661825c2a367a12c30d6a28ad13b95a9
[ "MIT" ]
null
null
null
src/plugins/maimaidx.py
LonelyFantasy/Chiyuki-Bot
16a91b96661825c2a367a12c30d6a28ad13b95a9
[ "MIT" ]
null
null
null
import math from collections import defaultdict from typing import List, Dict, Any from nonebot import on_command, on_message, on_notice, on_regex, get_driver from nonebot.log import logger from nonebot.permission import Permission from nonebot.typing import T_State from nonebot.adapters import Event, Bot from nonebot...
33.318637
216
0.566582
2,199
16,626
4.138699
0.192815
0.031865
0.016921
0.024613
0.394682
0.345127
0.303154
0.262499
0.247226
0.197451
0
0.020239
0.265969
16,626
498
217
33.385542
0.7255
0.004812
0
0.277389
0
0.013986
0.224687
0.058091
0
0
0
0
0
1
0.006993
false
0
0.04662
0.002331
0.090909
0.004662
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
fc63dea630bc5c4125015a5d1d443364d31e7cfa
1,853
py
Python
trace_analysis/trace_analysis/architecture/interface.py
hsgwa/trace_analysis
16169f84e838af5202e2be8f4883dfca5bc7f592
[ "Apache-2.0" ]
null
null
null
trace_analysis/trace_analysis/architecture/interface.py
hsgwa/trace_analysis
16169f84e838af5202e2be8f4883dfca5bc7f592
[ "Apache-2.0" ]
null
null
null
trace_analysis/trace_analysis/architecture/interface.py
hsgwa/trace_analysis
16169f84e838af5202e2be8f4883dfca5bc7f592
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Research Institute of Systems Planning, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
26.471429
81
0.72531
220
1,853
6.022727
0.490909
0.089811
0.075472
0.06566
0
0
0
0
0
0
0
0.005394
0.199676
1,853
69
82
26.855072
0.888065
0.313546
0
0.473684
0
0
0.007154
0
0
0
0
0
0
1
0.210526
false
0.236842
0.157895
0
0.473684
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
1
0
0
0
0
0
2
fc652ca3b217323de609509cf9bf7a86e05a1571
28
py
Python
disrank/__init__.py
treehousekingcomic/disrank
6a6ef3a2f2d4dc81bc3da8064b897dac4c773ef7
[ "MIT" ]
1
2021-05-06T14:46:46.000Z
2021-05-06T14:46:46.000Z
disrank/__init__.py
treehousekingcomic/disrank
6a6ef3a2f2d4dc81bc3da8064b897dac4c773ef7
[ "MIT" ]
null
null
null
disrank/__init__.py
treehousekingcomic/disrank
6a6ef3a2f2d4dc81bc3da8064b897dac4c773ef7
[ "MIT" ]
null
null
null
from thkc_disrank import *
14
27
0.785714
4
28
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.178571
28
1
28
28
0.913043
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
fc66871c7a70ed30f6605efa0e99f0abf3ceaa25
4,854
py
Python
layers/gin_layer.py
JakeStevens/benchmarking-gnns
a17fdf1b1d758fc65d5eeaf3726f5efa747a4081
[ "MIT" ]
275
2020-10-22T22:03:33.000Z
2022-03-25T06:08:05.000Z
semisupervised_MNIST_CIFAR10/pre-training/layers/gin_layer.py
xgbt/GraphCL
d857849d51bb168568267e07007c0b0c8bb6d869
[ "MIT" ]
43
2020-10-30T08:28:01.000Z
2022-03-31T16:55:12.000Z
semisupervised_MNIST_CIFAR10/pre-training/layers/gin_layer.py
xgbt/GraphCL
d857849d51bb168568267e07007c0b0c8bb6d869
[ "MIT" ]
70
2020-10-28T19:14:18.000Z
2022-03-27T06:11:51.000Z
import torch import torch.nn as nn import torch.nn.functional as F import dgl.function as fn """ GIN: Graph Isomorphism Networks HOW POWERFUL ARE GRAPH NEURAL NETWORKS? (Keyulu Xu, Weihua Hu, Jure Leskovec and Stefanie Jegelka, ICLR 2019) https://arxiv.org/pdf/1810.00826.pdf """ class GINLayer(nn.Module):...
32.577181
124
0.581994
633
4,854
4.279621
0.273302
0.0299
0.019195
0.016611
0.054264
0.045035
0.045035
0
0
0
0
0.00726
0.318912
4,854
149
125
32.577181
0.81216
0.237948
0
0.109756
0
0
0.028912
0
0
0
0
0
0
1
0.073171
false
0
0.04878
0
0.207317
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
fc66cd08fbbe334f7cc1e76eb76063eb07e5b49e
673
py
Python
music/distance/aural/diatonic/__init__.py
jedhsu/music
dea68c4a82296cd4910e786f533b2cbf861377c3
[ "MIT" ]
null
null
null
music/distance/aural/diatonic/__init__.py
jedhsu/music
dea68c4a82296cd4910e786f533b2cbf861377c3
[ "MIT" ]
null
null
null
music/distance/aural/diatonic/__init__.py
jedhsu/music
dea68c4a82296cd4910e786f533b2cbf861377c3
[ "MIT" ]
null
null
null
""" *mus . it . dia* The simple diatonic intervals. """ from .second import MinorSecond from .second import MajorSecond from .third import MinorThird from .third import MajorThird from .fourth import PerfectFourth from .fifth import Tritone from .fifth import PerfectFifth from .sixth import MinorSixth from .s...
18.694444
33
0.708767
68
673
6.955882
0.426471
0.042283
0.067653
0
0
0
0
0
0
0
0
0
0.199108
673
35
34
19.228571
0.877551
0.071322
0
0
0
0
0.203612
0
0
0
0
0
0
1
0
false
0
0.461538
0
0.461538
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
fc6780fb69ebe4416f273d6821ceb9f2cb3226e8
760
py
Python
selenium_tests/test_functions.py
AriTheGuitarMan/AriTheGuitarMan.github.io
8348ad0c47e48477560e7e40ec7eac8bca6fcdfa
[ "MIT" ]
null
null
null
selenium_tests/test_functions.py
AriTheGuitarMan/AriTheGuitarMan.github.io
8348ad0c47e48477560e7e40ec7eac8bca6fcdfa
[ "MIT" ]
null
null
null
selenium_tests/test_functions.py
AriTheGuitarMan/AriTheGuitarMan.github.io
8348ad0c47e48477560e7e40ec7eac8bca6fcdfa
[ "MIT" ]
null
null
null
# this file holds some common testing functions from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By depurl = "localhost:3000" def getElement(driver, xpath): return WebDriverWait(driver, 10).until(EC....
33.043478
93
0.727632
98
760
5.571429
0.479592
0.117216
0.115385
0.102564
0.175824
0
0
0
0
0
0
0.009146
0.136842
760
23
94
33.043478
0.823171
0.059211
0
0.111111
0
0
0.112045
0.064426
0
0
0
0
0
1
0.166667
false
0.166667
0.166667
0.055556
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
1
0
0
0
0
0
1
fc68e0edf30588586dedbfe1358fdf97ab01598d
4,783
py
Python
papirus_renderer.py
ryuchihoon/WeatherStation
e3fd210939a961bc1724197f3885964cb4ae5a28
[ "Apache-2.0" ]
null
null
null
papirus_renderer.py
ryuchihoon/WeatherStation
e3fd210939a961bc1724197f3885964cb4ae5a28
[ "Apache-2.0" ]
null
null
null
papirus_renderer.py
ryuchihoon/WeatherStation
e3fd210939a961bc1724197f3885964cb4ae5a28
[ "Apache-2.0" ]
null
null
null
#-- coding: utf-8 -- import sys reload(sys) sys.setdefaultencoding('utf-8') import os import time import collections from PIL import Image, ImageOps, ImageDraw, ImageFont code_2_icono = collections.defaultdict(lambda : '38') kor_2_eng = collections.defaultdict(lambda : 'UNKNOWN') code_2_icono['SKY_O00'] = ['38'] ...
32.986207
127
0.615931
679
4,783
4.097202
0.306333
0.050324
0.100647
0.121495
0.185478
0.113228
0.022646
0.022646
0.022646
0.022646
0
0.064785
0.222245
4,783
144
128
33.215278
0.683065
0.019026
0
0.055046
0
0
0.117208
0.010034
0
0
0
0
0
1
0.045872
false
0
0.073395
0
0.155963
0.082569
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
fc69e4e9cacf2317d6b062809fbe0cb9a22ea2b1
72
py
Python
hydrobox/discharge/__init__.py
VForWaTer/hydrobox
ae7d10bf5aa48bf7daf3d1094e6bb66f0a7ce96b
[ "MIT" ]
4
2020-10-08T15:31:36.000Z
2021-06-25T00:46:40.000Z
hydrobox/discharge/__init__.py
joergmeyer-kit/hydrobox
af75a5ba87147e00656435c170535c69fc3298a8
[ "MIT" ]
5
2020-05-12T08:45:18.000Z
2021-05-20T07:18:47.000Z
hydrobox/discharge/__init__.py
joergmeyer-kit/hydrobox
af75a5ba87147e00656435c170535c69fc3298a8
[ "MIT" ]
3
2020-07-27T07:16:14.000Z
2021-04-28T21:57:48.000Z
from .catchment import regime, flow_duration_curve from . import indices
36
50
0.847222
10
72
5.9
0.8
0
0
0
0
0
0
0
0
0
0
0
0.111111
72
2
51
36
0.921875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
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
fc69e76506c689aa4c8cc54b37cd338453f7483a
1,256
py
Python
scripts/convert_keras2onnx.py
ecmwf-lab/infero
4fec006175af48cd0313b2f89722c01636e961db
[ "Apache-2.0" ]
8
2021-12-20T06:24:16.000Z
2022-02-17T15:21:55.000Z
scripts/convert_keras2onnx.py
ecmwf-projects/infero
4c229a16ce75a249c83cbf43e0c953a7a42f2f83
[ "Apache-2.0" ]
null
null
null
scripts/convert_keras2onnx.py
ecmwf-projects/infero
4c229a16ce75a249c83cbf43e0c953a7a42f2f83
[ "Apache-2.0" ]
1
2021-10-04T10:14:23.000Z
2021-10-04T10:14:23.000Z
# # (C) Copyright 1996- ECMWF. # # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # In applying this licence, ECMWF does not waive the privileges and immunities # granted to it by virtue of its status as an intergovernme...
30.634146
95
0.72293
181
1,256
4.878453
0.524862
0.06795
0.057758
0.038505
0.04983
0.04983
0
0
0
0
0
0.009823
0.18949
1,256
40
96
31.4
0.857564
0.33121
0
0
0
0
0.233957
0
0
0
0
0
0
1
0
false
0.058824
0.294118
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
fc6ae61e76507e8c85be28c293840912ca2612a4
7,683
py
Python
src/lava/lib/dl/slayer/utils/assistant.py
timcheck/lava-dl
e680722071129fde952ea0d744984aa2a038797a
[ "BSD-3-Clause" ]
37
2021-09-30T16:47:15.000Z
2022-03-07T22:29:21.000Z
src/lava/lib/dl/slayer/utils/assistant.py
timcheck/lava-dl
e680722071129fde952ea0d744984aa2a038797a
[ "BSD-3-Clause" ]
36
2021-11-04T16:54:55.000Z
2022-03-31T02:26:29.000Z
src/lava/lib/dl/slayer/utils/assistant.py
timcheck/lava-dl
e680722071129fde952ea0d744984aa2a038797a
[ "BSD-3-Clause" ]
20
2021-10-29T22:55:58.000Z
2022-03-22T17:27:16.000Z
# Copyright (C) 2022 Intel Corporation # SPDX-License-Identifier: BSD-3-Clause """Assistant utility for automatically load network from network description.""" import torch class Assistant: """Assistant that bundles training, validation and testing workflow. Parameters ---------- net : torch.nn.Mo...
29.436782
78
0.521281
834
7,683
4.752998
0.196643
0.035318
0.036327
0.036327
0.534057
0.524975
0.524975
0.506307
0.506307
0.506307
0
0.003847
0.390993
7,683
260
79
29.55
0.843343
0.312508
0
0.674797
0
0
0.007214
0
0
0
0
0
0
1
0.04065
false
0
0.00813
0
0.105691
0.00813
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
fc6bbad5b323947c5f4946373831830060872620
5,961
py
Python
lstm-synthetic-wave-anomaly-detect.py
cse-icon-dataAnalytics/lstm-anomaly-detect
bcfb01db383698acbd5692f1a76a5f20ec3629a8
[ "MIT" ]
178
2016-03-31T05:32:07.000Z
2022-03-26T02:36:35.000Z
lstm-synthetic-wave-anomaly-detect.py
rob-med/lstm-anomaly-detect
bcfb01db383698acbd5692f1a76a5f20ec3629a8
[ "MIT" ]
4
2016-11-01T01:51:06.000Z
2018-04-24T13:42:33.000Z
lstm-synthetic-wave-anomaly-detect.py
rob-med/lstm-anomaly-detect
bcfb01db383698acbd5692f1a76a5f20ec3629a8
[ "MIT" ]
106
2016-03-31T05:32:11.000Z
2021-08-28T09:49:16.000Z
""" Inspired by example from https://github.com/Vict0rSch/deep_learning/tree/master/keras/recurrent Uses the TensorFlow backend The basic idea is to detect anomalies in a time-series. """ import matplotlib.pyplot as plt import numpy as np import time from keras.layers.core import Dense, Activation, Dropout from keras.l...
30.258883
110
0.631102
843
5,961
4.326216
0.282325
0.021387
0.032904
0.019742
0.178503
0.178503
0.164793
0.157938
0.139841
0.139841
0
0.028331
0.242073
5,961
196
111
30.413265
0.778884
0.045798
0
0.142857
0
0
0.105096
0
0
0
0
0
0
0
null
null
0
0.05
null
null
0.178571
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
fc6bfc96896fcc886f4088ddc53f2aa20f638760
1,309
py
Python
hpc-historias-clinicas/historias/migrations/0007_auto_20150425_1459.py
btenaglia/hpc-historias-clinicas
649d8660381381b1c591667760c122d73071d5ec
[ "BSD-3-Clause" ]
null
null
null
hpc-historias-clinicas/historias/migrations/0007_auto_20150425_1459.py
btenaglia/hpc-historias-clinicas
649d8660381381b1c591667760c122d73071d5ec
[ "BSD-3-Clause" ]
null
null
null
hpc-historias-clinicas/historias/migrations/0007_auto_20150425_1459.py
btenaglia/hpc-historias-clinicas
649d8660381381b1c591667760c122d73071d5ec
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import datetime class Migration(migrations.Migration): dependencies = [ ('historias', '0006_auto_20150413_0001'), ] operations = [ migrations.AlterField( model_name='hist...
38.5
290
0.593583
165
1,309
4.581818
0.412121
0.066138
0.099206
0.115079
0.388889
0.318783
0.246032
0.246032
0.246032
0
0
0.067814
0.245225
1,309
33
291
39.666667
0.697368
0.016043
0
0.407407
0
0
0.205288
0.017885
0
0
0
0
0
1
0
false
0
0.111111
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc6d62eed45d350cb72c202ceedfb98394117cd4
315
py
Python
venv/Lib/site-packages/har2case/__about__.py
Verckolf/MyInterfaceTest
e05674bd673a6a43cfb33f7cb4318886ba92a05c
[ "MIT" ]
null
null
null
venv/Lib/site-packages/har2case/__about__.py
Verckolf/MyInterfaceTest
e05674bd673a6a43cfb33f7cb4318886ba92a05c
[ "MIT" ]
null
null
null
venv/Lib/site-packages/har2case/__about__.py
Verckolf/MyInterfaceTest
e05674bd673a6a43cfb33f7cb4318886ba92a05c
[ "MIT" ]
null
null
null
__title__ = 'har2case' __description__ = 'Convert HAR(HTTP Archive) to YAML/JSON testcases for HttpRunner.' __url__ = 'https://github.com/HttpRunner/har2case' __version__ = '0.2.0' __author__ = 'debugtalk' __author_email__ = 'mail@debugtalk.com' __license__ = 'Apache-2.0' __copyright__ = 'Copyright 2017 debugtalk'
39.375
84
0.771429
38
315
5.526316
0.736842
0.019048
0
0
0
0
0
0
0
0
0
0.038869
0.101587
315
8
85
39.375
0.70318
0
0
0
0
0
0.556962
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fc6eb694558519bbe4bb770c6ebebf2c2317f744
2,160
py
Python
app_id_utils.py
woctezuma/match-steam-banners
dff1bc2ddf35a37bcdea46a220f5d0257d47e017
[ "MIT" ]
null
null
null
app_id_utils.py
woctezuma/match-steam-banners
dff1bc2ddf35a37bcdea46a220f5d0257d47e017
[ "MIT" ]
10
2021-05-01T19:57:06.000Z
2022-03-12T00:54:04.000Z
app_id_utils.py
woctezuma/match-steam-banners
dff1bc2ddf35a37bcdea46a220f5d0257d47e017
[ "MIT" ]
null
null
null
import os from pathlib import Path from data_utils import get_data_path, get_image_data_path, get_image_extension def app_id_to_image_filename(app_id, is_horizontal_banner=False): image_data_path = get_image_data_path(is_horizontal_banner) image_filename = image_data_path + str(app_id) + get_image_extension...
29.589041
115
0.747222
341
2,160
4.302053
0.255132
0.106339
0.130879
0.0818
0.316292
0.283572
0.225631
0.203136
0.155419
0.102249
0
0.001125
0.177315
2,160
72
116
30
0.824423
0.094444
0
0.097561
0
0
0.022529
0
0
0
0
0
0
1
0.170732
false
0
0.073171
0
0.414634
0.02439
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
fc6f65558ddc1ad343876953a1a42d3ab2c832a9
348
py
Python
upload.py
sjm446/aMAZEd
38789f9898097991b19e686fd76ef4abd5bfe94c
[ "MIT" ]
null
null
null
upload.py
sjm446/aMAZEd
38789f9898097991b19e686fd76ef4abd5bfe94c
[ "MIT" ]
null
null
null
upload.py
sjm446/aMAZEd
38789f9898097991b19e686fd76ef4abd5bfe94c
[ "MIT" ]
null
null
null
#!/usr/bin/env python import boto3 import random import os BUCKET=os.environ.get('EXPORT_S3_BUCKET_URL') if (BUCKET != None): s3 = boto3.client('s3') with open("maze.txt", "rb") as f: s3.upload_fileobj(f, BUCKET, "maze"+str(random.randrange(100000))+".txt") else: print("EXPORT_S3_BUCKET_URL was not ...
29
81
0.692529
56
348
4.178571
0.660714
0.068376
0.119658
0.145299
0
0
0
0
0
0
0
0.044068
0.152299
348
11
82
31.636364
0.749153
0.057471
0
0
0
0
0.287462
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
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
fc709a454475435a2a06bba2371531a53e2d11c0
2,790
py
Python
zerver/management/commands/list_realms.py
rtzll/zulip
b831df8f7fc2f5b89ec998266901ac491d52a7fc
[ "Apache-2.0" ]
null
null
null
zerver/management/commands/list_realms.py
rtzll/zulip
b831df8f7fc2f5b89ec998266901ac491d52a7fc
[ "Apache-2.0" ]
null
null
null
zerver/management/commands/list_realms.py
rtzll/zulip
b831df8f7fc2f5b89ec998266901ac491d52a7fc
[ "Apache-2.0" ]
1
2019-10-14T23:36:14.000Z
2019-10-14T23:36:14.000Z
import sys from typing import Any from argparse import ArgumentParser from zerver.models import Realm from zerver.lib.management import ZulipBaseCommand class Command(ZulipBaseCommand): help = """List realms in the server and it's configuration settings(optional). Usage examples: ./manage.py list_realms ./man...
37.702703
99
0.557348
302
2,790
5.029801
0.39404
0.041475
0.065833
0.082291
0.269256
0.24819
0.223173
0.148782
0.148782
0.096116
0
0.005435
0.340502
2,790
73
100
38.219178
0.820109
0.083154
0
0.226415
0
0
0.155233
0.008624
0
0
0
0
0
1
0.037736
false
0
0.09434
0
0.169811
0.207547
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
fc7137abb720c86400bb993740cb9e14c54237f5
8,892
py
Python
tests/integration/ec2/test_connection.py
bopopescu/debpkg_python-boto
06f9b6f3693ba1933be8214da69cebcd5212cd97
[ "MIT" ]
15
2015-03-25T05:24:11.000Z
2021-12-18T04:24:06.000Z
tests/integration/ec2/test_connection.py
bopopescu/debpkg_python-boto
06f9b6f3693ba1933be8214da69cebcd5212cd97
[ "MIT" ]
null
null
null
tests/integration/ec2/test_connection.py
bopopescu/debpkg_python-boto
06f9b6f3693ba1933be8214da69cebcd5212cd97
[ "MIT" ]
10
2015-04-26T17:56:37.000Z
2020-09-24T14:01:53.000Z
# Copyright (c) 2006-2010 Mitch Garnaat http://garnaat.org/ # Copyright (c) 2009, Eucalyptus Systems, Inc. # All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the # "Software"), to deal in the Software without res...
36.743802
77
0.587607
1,138
8,892
4.471002
0.269772
0.007665
0.013758
0.01592
0.394654
0.368907
0.338443
0.306997
0.30228
0.30228
0
0.024518
0.334908
8,892
241
78
36.896266
0.835813
0.263383
0
0.52439
0
0
0.09129
0.00775
0
0
0
0
0.170732
0
null
null
0.012195
0.042683
null
null
0.018293
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
fc719b76ab94dd3be6cc776d78a4aa8bbc400d47
8,761
py
Python
docusign_esign/models/conditional_recipient_rule_filter.py
joekohlsdorf/docusign-esign-python-client
40407544f79c88716d36fabf36f65c3ef1a5c3ba
[ "MIT" ]
58
2017-10-18T23:06:57.000Z
2021-04-15T23:14:58.000Z
docusign_esign/models/conditional_recipient_rule_filter.py
joekohlsdorf/docusign-esign-python-client
40407544f79c88716d36fabf36f65c3ef1a5c3ba
[ "MIT" ]
49
2017-10-27T05:54:09.000Z
2021-04-29T22:06:17.000Z
docusign_esign/models/conditional_recipient_rule_filter.py
joekohlsdorf/docusign-esign-python-client
40407544f79c88716d36fabf36f65c3ef1a5c3ba
[ "MIT" ]
49
2017-09-16T07:23:41.000Z
2021-05-07T20:21:20.000Z
# coding: utf-8 """ DocuSign REST API The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. # noqa: E501 OpenAPI spec version: v2.1 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.gi...
30.526132
140
0.604155
980
8,761
5.260204
0.154082
0.058972
0.195538
0.186227
0.543356
0.492338
0.459748
0.381765
0.264016
0.130941
0
0.020029
0.299053
8,761
286
141
30.632867
0.819411
0.415934
0
0.092437
0
0
0.076325
0
0
0
0
0
0
1
0.168067
false
0
0.033613
0
0.344538
0.016807
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fc72be3f56a4f14c061f7d67ae504148f309762b
407
py
Python
conman/routes/apps.py
meshy/django-conman
c739d09250d02d99068358e925ed8298a2a37a75
[ "BSD-2-Clause" ]
null
null
null
conman/routes/apps.py
meshy/django-conman
c739d09250d02d99068358e925ed8298a2a37a75
[ "BSD-2-Clause" ]
81
2015-07-27T23:21:49.000Z
2018-05-21T22:06:09.000Z
conman/routes/apps.py
meshy/django-conman
c739d09250d02d99068358e925ed8298a2a37a75
[ "BSD-2-Clause" ]
2
2015-10-06T09:18:06.000Z
2017-03-17T08:51:56.000Z
from django.apps import AppConfig from django.core.checks import register from . import checks class RouteConfig(AppConfig): """The AppConfig for conman routes.""" name = 'conman.routes' def ready(self): """Register checks for conman routes.""" register(checks.polymorphic_installed) ...
25.4375
48
0.712531
46
407
6.217391
0.521739
0.195804
0.104895
0
0
0
0
0
0
0
0
0
0.19656
407
15
49
27.133333
0.874618
0.164619
0
0
0
0
0.039514
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fc72c71783ded10cb6bea92ec124528a890dca34
627
py
Python
Other/transactionlog entries since timestamp.py
DJHig/TM1py-samples
da4050380447472a02e2a107a2c5be79ac284d0a
[ "MIT" ]
1
2019-05-30T10:10:20.000Z
2019-05-30T10:10:20.000Z
Other/transactionlog entries since timestamp.py
DJHig/TM1py-samples
da4050380447472a02e2a107a2c5be79ac284d0a
[ "MIT" ]
null
null
null
Other/transactionlog entries since timestamp.py
DJHig/TM1py-samples
da4050380447472a02e2a107a2c5be79ac284d0a
[ "MIT" ]
1
2017-09-01T03:35:18.000Z
2017-09-01T03:35:18.000Z
""" Get all TM1 transactions for all cubes starting to a specific date. """ import configparser config = configparser.ConfigParser() config.read('..\config.ini') from datetime import datetime from TM1py.Services import TM1Service with TM1Service(**config['tm1srv01']) as tm1: # Timestamp for Message-Log parsin...
24.115385
81
0.716108
82
627
5.439024
0.609756
0.026906
0.09417
0
0
0
0
0
0
0
0
0.039063
0.183413
627
25
82
25.08
0.832031
0.261563
0
0
0
0
0.066372
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
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
fc73faf5f8cb49244c505ccd988f122eb6b59c66
6,019
py
Python
src/patteRNA/Dataset.py
AviranLab/patteRNA
88b900844016717a71b6ec8e4f2d10d8888600ce
[ "BSD-2-Clause" ]
12
2018-03-02T21:48:46.000Z
2022-01-31T02:58:59.000Z
src/patteRNA/Dataset.py
AviranLab/patteRNA
88b900844016717a71b6ec8e4f2d10d8888600ce
[ "BSD-2-Clause" ]
2
2018-07-19T01:11:11.000Z
2019-04-08T23:54:08.000Z
src/patteRNA/Dataset.py
AviranLab/patteRNA
88b900844016717a71b6ec8e4f2d10d8888600ce
[ "BSD-2-Clause" ]
5
2018-03-06T18:13:36.000Z
2021-01-08T20:54:28.000Z
import logging import numpy as np from scipy.stats import entropy from patteRNA.Transcript import Transcript from patteRNA import filelib logger = logging.getLogger(__name__) class Dataset: def __init__(self, fp_observations, fp_sequences=None, fp_references=None): self.fp_obs = fp_observations s...
39.339869
113
0.6104
752
6,019
4.679521
0.232713
0.061381
0.040637
0.02046
0.194089
0.153453
0.137539
0.079
0.022734
0.022734
0
0.007694
0.287423
6,019
152
114
39.598684
0.812777
0.088054
0
0.110092
0
0
0.056109
0
0
0
0
0
0
1
0.082569
false
0
0.045872
0
0.165138
0.018349
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
fc74cac1c4d460520f828712a631b873e6f7c8d7
3,118
py
Python
src/Simulation/developer_0/main.py
GYRY-NEU/CS7610-Experiments
3731b45c4a9cba2a1d7e44d37f28d1046a38de47
[ "MIT" ]
null
null
null
src/Simulation/developer_0/main.py
GYRY-NEU/CS7610-Experiments
3731b45c4a9cba2a1d7e44d37f28d1046a38de47
[ "MIT" ]
1
2021-12-02T20:45:02.000Z
2021-12-02T20:45:02.000Z
src/Simulation/developer_0/main.py
GYRY-NEU/Simulation
3731b45c4a9cba2a1d7e44d37f28d1046a38de47
[ "MIT" ]
null
null
null
import library import json @library.export def init(args): model = [[9.2, 0.21, 0.21], [8.2, 0.22, 0.21], [7.2, 1.21, 2.41], [1.2, 2.21, 0.29]] library.put("model", model) ROUND = 0 library.put("ROUND", ROUND) alpha = 0.2 library.put("alpha", alpha) @libr...
29.695238
109
0.645606
407
3,118
4.896806
0.341523
0.044155
0.032112
0.036126
0.147516
0.130958
0.130958
0.130958
0.130958
0.082288
0
0.021524
0.254971
3,118
104
110
29.980769
0.836418
0.295382
0
0.2
0
0
0.036761
0
0
0
0
0
0.036364
1
0.090909
false
0
0.036364
0.036364
0.218182
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
fc75b91ed00a53eb686038762f01dc7958ac5d5b
172
py
Python
molecule_ignite/test/unit/test_driver.py
ragingpastry/molecule-ignite
aaf005cabba9a8c933191458cf8553da9bac581d
[ "MIT" ]
17
2020-02-19T08:16:49.000Z
2022-02-05T08:16:42.000Z
molecule_ignite/test/unit/test_driver.py
ragingpastry/molecule-ignite
aaf005cabba9a8c933191458cf8553da9bac581d
[ "MIT" ]
15
2020-06-27T10:16:44.000Z
2022-01-04T10:37:54.000Z
molecule_ignite/test/unit/test_driver.py
ragingpastry/molecule-ignite
aaf005cabba9a8c933191458cf8553da9bac581d
[ "MIT" ]
11
2020-02-18T16:24:29.000Z
2022-03-28T11:44:51.000Z
from molecule import api def test_driver_is_detected(): driver_name = __name__.split(".")[0].split("_")[-1] assert driver_name in [str(d) for d in api.drivers()]
24.571429
57
0.686047
27
172
4
0.703704
0.185185
0
0
0
0
0
0
0
0
0
0.013793
0.156977
172
6
58
28.666667
0.731034
0
0
0
0
0
0.011628
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
fc7738cdaacc95969a1834885a266a49c73d4c6b
12,361
py
Python
coffeine/pipelines.py
dengemann/meegpowreg
e9cc8f2372f8b8ef4b372bfea113ed0b9646cb39
[ "MIT" ]
6
2021-07-19T12:17:59.000Z
2021-08-09T15:50:18.000Z
coffeine/pipelines.py
dengemann/meegpowreg
e9cc8f2372f8b8ef4b372bfea113ed0b9646cb39
[ "MIT" ]
23
2021-04-16T21:41:36.000Z
2021-07-13T10:08:47.000Z
coffeine/pipelines.py
dengemann/meegpowreg
e9cc8f2372f8b8ef4b372bfea113ed0b9646cb39
[ "MIT" ]
5
2021-04-15T15:28:51.000Z
2021-06-28T21:17:11.000Z
import numpy as np from coffeine.covariance_transformers import ( Diag, LogDiag, ExpandFeatures, Riemann, RiemannSnp, NaiveVec) from coffeine.spatial_filters import ( ProjIdentitySpace, ProjCommonSpace, ProjLWSpace, ProjRandomSpace, ProjSPoCSpace) from sklearn.compose impor...
37.685976
77
0.659574
1,374
12,361
5.820961
0.171761
0.027507
0.028882
0.012753
0.745561
0.736434
0.736434
0.729182
0.729182
0.729182
0
0.014614
0.258232
12,361
327
78
37.801223
0.857673
0.548338
0
0.33871
0
0
0.064218
0
0
0
0
0
0.008065
1
0.032258
false
0.008065
0.056452
0.008065
0.120968
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
fc78a988ef549d86a9021df34f1480ea70a43721
11,516
py
Python
submissions/Chouard/mygames.py
dysomni/aima-python
c67104e50007ec5ac2a9aa37f0cb972cb6315528
[ "MIT" ]
null
null
null
submissions/Chouard/mygames.py
dysomni/aima-python
c67104e50007ec5ac2a9aa37f0cb972cb6315528
[ "MIT" ]
null
null
null
submissions/Chouard/mygames.py
dysomni/aima-python
c67104e50007ec5ac2a9aa37f0cb972cb6315528
[ "MIT" ]
1
2018-08-23T19:27:23.000Z
2018-08-23T19:27:23.000Z
from games import Game from math import nan, isnan from queue import PriorityQueue from copy import deepcopy from utils import isnumber from grading.util import print_table class GameState: def __init__(self, to_move, position, board, label=None): self.to_move = to_move self.position = position ...
27.951456
133
0.500174
1,414
11,516
4.008487
0.123762
0.028582
0.009527
0.011997
0.572689
0.514467
0.430487
0.379323
0.357269
0.330452
0
0.01817
0.311827
11,516
411
134
28.019465
0.697035
0.046631
0
0.403125
0
0
0.08773
0
0
0
0
0
0.003125
1
0.0875
false
0
0.01875
0.00625
0.209375
0.021875
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
fc798568d1c4c7d74cc7db30deace979155e8ddb
4,797
py
Python
discordbot/stocks/options/opt_chain.py
minhhoang1023/GamestonkTerminal
195dc19b491052df080178c0cc6a9d535a91a704
[ "MIT" ]
1
2022-02-18T04:02:52.000Z
2022-02-18T04:02:52.000Z
discordbot/stocks/options/opt_chain.py
minhhoang1023/GamestonkTerminal
195dc19b491052df080178c0cc6a9d535a91a704
[ "MIT" ]
null
null
null
discordbot/stocks/options/opt_chain.py
minhhoang1023/GamestonkTerminal
195dc19b491052df080178c0cc6a9d535a91a704
[ "MIT" ]
null
null
null
import os import df2img import disnake import numpy as np import pandas as pd from menus.menu import Menu from PIL import Image import discordbot.config_discordbot as cfg from discordbot.config_discordbot import gst_imgur, logger from discordbot.helpers import autocrop_image from gamestonk_terminal.stocks.options imp...
29.429448
94
0.518449
557
4,797
4.310592
0.332136
0.026239
0.019992
0.012495
0.164515
0.120367
0.069971
0.049979
0.049979
0
0
0.02055
0.371065
4,797
162
95
29.611111
0.774942
0.019179
0
0.090226
0
0
0.09085
0
0
0
0
0
0
1
0
false
0
0.082707
0
0.082707
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
fc7a203231a6818121284acfef4c18f0b9192863
2,312
py
Python
scripts/get_lenderprofit.py
xujiahuayz/premfin
0e90d876ef7c9ef4f3da7d4842b8ec5ae9ac7e68
[ "MIT" ]
4
2021-05-03T16:03:24.000Z
2022-02-17T16:08:49.000Z
scripts/get_lenderprofit.py
xujiahuayz/premfin
0e90d876ef7c9ef4f3da7d4842b8ec5ae9ac7e68
[ "MIT" ]
null
null
null
scripts/get_lenderprofit.py
xujiahuayz/premfin
0e90d876ef7c9ef4f3da7d4842b8ec5ae9ac7e68
[ "MIT" ]
1
2021-06-30T11:27:56.000Z
2021-06-30T11:27:56.000Z
#%% import packages import numpy as np import pandas as pd import multiprocessing from time import time import json from premiumFinance.constants import ( MORTALITY_TABLE_CLEANED_PATH, PROCESSED_PROFITABILITY_PATH, ) from premiumFinance.financing import calculate_lender_profit, yield_curve mortality_experien...
26.574713
78
0.675606
272
2,312
5.404412
0.356618
0.055102
0.046939
0.034014
0.068027
0.068027
0.068027
0.068027
0.068027
0.068027
0
0.012415
0.233564
2,312
86
79
26.883721
0.817156
0.020761
0
0.029412
0
0
0.073419
0
0
0
0
0
0
1
0.044118
false
0
0.102941
0
0.191176
0.014706
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
fc7acbb33a6b536b7d8fb8f0b3208c55dac034b1
5,700
py
Python
dashboard/dashboard/common/layered_cache.py
BearerPipelineTest/catapult
3800a67cd916200046a50748893bbd0dcf3d7f4a
[ "BSD-3-Clause" ]
null
null
null
dashboard/dashboard/common/layered_cache.py
BearerPipelineTest/catapult
3800a67cd916200046a50748893bbd0dcf3d7f4a
[ "BSD-3-Clause" ]
1
2022-01-12T14:28:55.000Z
2022-01-12T14:28:55.000Z
dashboard/dashboard/common/layered_cache.py
atuchin-m/catapult
108ea3e2ec108e68216b1250a3d79cc642600294
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2018 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Caches processed query results in memcache and datastore. Memcache is not very reliable for the perf dashboard. Prometheus team explained that memcache is...
35.403727
80
0.759649
801
5,700
5.293383
0.318352
0.031132
0.023585
0.032075
0.289387
0.256368
0.228302
0.174057
0.174057
0.156132
0
0.002119
0.172105
5,700
160
81
35.625
0.896376
0.47193
0
0.216216
0
0
0.023328
0
0
0
0
0
0
1
0.121622
false
0
0.162162
0.013514
0.432432
0.013514
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
fc7af78333f9477d4091f8e1379313d34cf45c32
2,241
py
Python
hypergbm/tests/cuml_/run_experiment_cuml.py
BigAndSweet/HyperGBM
f3bc4e0d877b82a264d35158f9bc974f43a2a5ee
[ "Apache-2.0" ]
null
null
null
hypergbm/tests/cuml_/run_experiment_cuml.py
BigAndSweet/HyperGBM
f3bc4e0d877b82a264d35158f9bc974f43a2a5ee
[ "Apache-2.0" ]
null
null
null
hypergbm/tests/cuml_/run_experiment_cuml.py
BigAndSweet/HyperGBM
f3bc4e0d877b82a264d35158f9bc974f43a2a5ee
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- """ """ import cudf from hypergbm import make_experiment from hypernets.tabular import get_tool_box from hypernets.tabular.datasets import dsutils def main(target='y', dtype=None, max_trials=3, drift_detection=False, clear_cache=True, **kwargs): tb = get_tool_box(cudf.DataFrame) asse...
35.571429
109
0.630076
305
2,241
4.386885
0.363934
0.053812
0.035874
0.044843
0.113602
0.052317
0.052317
0.052317
0
0
0
0.016037
0.220884
2,241
62
110
36.145161
0.750286
0.171798
0
0
0
0
0.120521
0
0
0
0
0
0.05
1
0.025
false
0
0.1
0
0.15
0.15
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
fc7dad2207dc0af9eee6f35c716072b33850e1f6
252
py
Python
Inserter.py
DarthSpector/Poster-Adder
97a86338987dd8cbcdf56414f53932c0370dcfc2
[ "MIT" ]
null
null
null
Inserter.py
DarthSpector/Poster-Adder
97a86338987dd8cbcdf56414f53932c0370dcfc2
[ "MIT" ]
null
null
null
Inserter.py
DarthSpector/Poster-Adder
97a86338987dd8cbcdf56414f53932c0370dcfc2
[ "MIT" ]
null
null
null
def pictureInserter(og,address,list): j=0 for i in og: file1 = open(address+'/'+i, "a") x="\ncover::https://image.tmdb.org/t/p/original/"+list[j] file1.writelines(x) file1.close() j=j+1
25.2
66
0.503968
35
252
3.628571
0.714286
0.07874
0
0
0
0
0
0
0
0
0
0.02924
0.321429
252
10
67
25.2
0.71345
0
0
0
0
0
0.192623
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
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