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
c0a46912c8e0712f273a070eb8a055457b73a9f1
228
py
Python
Programas de exercicios/exercicio027.py
Elvis-Almeida/Python
91f1427f2aea37f7019b185dc6cb77edc8babc03
[ "MIT" ]
null
null
null
Programas de exercicios/exercicio027.py
Elvis-Almeida/Python
91f1427f2aea37f7019b185dc6cb77edc8babc03
[ "MIT" ]
null
null
null
Programas de exercicios/exercicio027.py
Elvis-Almeida/Python
91f1427f2aea37f7019b185dc6cb77edc8babc03
[ "MIT" ]
null
null
null
#encontrar o primeiro e o ultimo nome n = str(input('digite seu nome: ')).strip() a = n.split() b = int(len(a)) print('Olá {}'.format(n)) print('seu primeiro nome é {}'.format(a[0])) print('seu ultimo nome é {}'.format(a[b-1]))
28.5
44
0.631579
42
228
3.428571
0.547619
0.138889
0.152778
0.166667
0
0
0
0
0
0
0
0.010152
0.135965
228
7
45
32.571429
0.720812
0.157895
0
0
0
0
0.340314
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
c0e787258c7570086d75397e24479a98275513d0
73
py
Python
cbinder/version.py
pombreda/cbinder
b3fead8f0c71c57008656db91f2375cd0e65352e
[ "Apache-2.0" ]
4
2015-11-26T07:01:25.000Z
2021-08-05T06:20:55.000Z
cbinder/version.py
pombreda/cbinder
b3fead8f0c71c57008656db91f2375cd0e65352e
[ "Apache-2.0" ]
null
null
null
cbinder/version.py
pombreda/cbinder
b3fead8f0c71c57008656db91f2375cd0e65352e
[ "Apache-2.0" ]
4
2015-04-17T10:00:08.000Z
2021-03-29T13:37:11.000Z
version = (0, 5, 0) version_string = "0.5.0" release_date = "2013.09.01"
18.25
27
0.643836
14
73
3.214286
0.642857
0.088889
0.133333
0
0
0
0
0
0
0
0
0.225806
0.150685
73
3
28
24.333333
0.5
0
0
0
0
0
0.205479
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
c0f656bca3c9b4b5ec02dec36f6d071a41679862
557
py
Python
zipkin/id_generator.py
prezi/python-zipkin
e018b9ab157bcf27a2cdacbd6e4843ce3446b423
[ "Apache-2.0" ]
21
2016-01-22T08:50:30.000Z
2021-01-07T11:55:44.000Z
zipkin/id_generator.py
prezi/python-zipkin
e018b9ab157bcf27a2cdacbd6e4843ce3446b423
[ "Apache-2.0" ]
9
2015-10-06T21:42:33.000Z
2018-11-15T17:18:35.000Z
zipkin/id_generator.py
prezi/python-zipkin
e018b9ab157bcf27a2cdacbd6e4843ce3446b423
[ "Apache-2.0" ]
5
2016-01-21T19:06:16.000Z
2018-11-15T16:34:49.000Z
import random from zipkin_data import ZipkinId class BaseIdGenerator(object): def generate_trace_id(self): raise NotImplementedError def generate_span_id(self): raise NotImplementedError class SimpleIdGenerator(BaseIdGenerator): @staticmethod def generate_id(): return Zipki...
20.62963
89
0.732496
63
557
6.238095
0.412698
0.139949
0.081425
0.091603
0.320611
0.132316
0
0
0
0
0
0
0.195691
557
26
90
21.423077
0.877232
0
0
0.5
1
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.125
0.1875
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
c0fe28b2246cc57f3aca22f5d24db4fbfedf51bb
1,995
py
Python
equation_controls/separate_values.py
Toxigrammers/functionalcalc
5b2a44360c22086c914b0f4ff762c089c90c91fd
[ "MIT" ]
null
null
null
equation_controls/separate_values.py
Toxigrammers/functionalcalc
5b2a44360c22086c914b0f4ff762c089c90c91fd
[ "MIT" ]
null
null
null
equation_controls/separate_values.py
Toxigrammers/functionalcalc
5b2a44360c22086c914b0f4ff762c089c90c91fd
[ "MIT" ]
null
null
null
def separate_first_degree(equ): split_equ = equ.split(' ') a = b = 0 if len(split_equ) == 2: n1 = split_equ[0] n2 = split_equ[1] pos = n1.find('x') if pos == 0 or n1[pos - 1] == '+': # +1 is implied a = 1 elif n1[pos - 1] == '-': # -1 is implied ...
27.708333
59
0.368922
287
1,995
2.487805
0.10453
0.201681
0.067227
0.078431
0.795518
0.726891
0.690476
0.666667
0.526611
0.526611
0
0.085981
0.463659
1,995
71
60
28.098592
0.581308
0.069674
0
0.782609
0
0
0.013572
0
0
0
0
0
0
1
0.028986
false
0
0
0
0.057971
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8d07f0ebb66c6aebb6de9c34354f593ebadf6f68
221
py
Python
scripts/runserver.py
shlomif/sandman
31d276adbbd64c28081ae1d2e2b7e4e1efff3930
[ "Apache-2.0" ]
1
2018-10-28T06:04:10.000Z
2018-10-28T06:04:10.000Z
scripts/runserver.py
shlomif/sandman
31d276adbbd64c28081ae1d2e2b7e4e1efff3930
[ "Apache-2.0" ]
null
null
null
scripts/runserver.py
shlomif/sandman
31d276adbbd64c28081ae1d2e2b7e4e1efff3930
[ "Apache-2.0" ]
null
null
null
"""Run server""" from sandman import app, db import os app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql+mysqlconnector://jknupp@localhost/Chinook' app.secret_key = 's3cr3t' import models app.run(host='0.0.0.0', debug=True)
27.625
89
0.751131
34
221
4.794118
0.735294
0.03681
0.03681
0
0
0
0
0
0
0
0
0.029703
0.085973
221
7
90
31.571429
0.777228
0.045249
0
0
0
0
0.404878
0.341463
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
23a33e987c35207c1df4a1ce0d8a1c4a4040c6d3
261
py
Python
va_purchase_project/creds.py
VapourApps/billing_backend
4cf2e968640175ea8f5a792b5251ffdd455eb51c
[ "Apache-2.0" ]
2
2019-08-13T05:26:14.000Z
2019-11-03T00:04:39.000Z
va_purchase_project/creds.py
VapourApps/billing_backend
4cf2e968640175ea8f5a792b5251ffdd455eb51c
[ "Apache-2.0" ]
5
2021-03-18T21:39:04.000Z
2022-03-11T23:35:24.000Z
va_purchase_project/creds.py
VapourApps/billing_backend
4cf2e968640175ea8f5a792b5251ffdd455eb51c
[ "Apache-2.0" ]
5
2018-11-23T14:01:52.000Z
2019-08-13T05:39:54.000Z
SECRET_KEY = '4w9hda)ra9drvx^+y(eohk_59-35jejud^b_#9^vajx*+h^m-l' EMAIL_HOST = 'mailsrv-01.va.mk' EMAIL_HOST_USER='no-reply@va.mk' EMAIL_HOST_PASSWORD='vZ5KDjmB2n' DEFAULT_FROM_EMAIL = 'VapourApps Notification <no-reply@va.mk>' SERVER_EMAIL = 'no-reply@va.mk'
32.625
65
0.766284
46
261
4.108696
0.652174
0.084656
0.142857
0.174603
0
0
0
0
0
0
0
0.04918
0.065134
261
7
66
37.285714
0.72541
0
0
0
0
0.166667
0.553846
0.192308
0
0
0
0
0
1
0
false
0.166667
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
23a716dce7f2fcecdd203240f336698a1916d4f5
107
py
Python
pypy/module/_hpy_universal/_vendored/hpy/devel/version.py
olliemath/pypy
8b873bd0b8bf76075aba3d915c260789f26f5788
[ "Apache-2.0", "OpenSSL" ]
null
null
null
pypy/module/_hpy_universal/_vendored/hpy/devel/version.py
olliemath/pypy
8b873bd0b8bf76075aba3d915c260789f26f5788
[ "Apache-2.0", "OpenSSL" ]
1
2022-02-22T00:59:49.000Z
2022-02-22T00:59:49.000Z
pypy/module/_hpy_universal/_vendored/hpy/devel/version.py
olliemath/pypy
8b873bd0b8bf76075aba3d915c260789f26f5788
[ "Apache-2.0", "OpenSSL" ]
1
2022-03-30T11:42:37.000Z
2022-03-30T11:42:37.000Z
# automatically generated by setup.py:get_scm_config() __version__ = "0.0.3" __git_revision__ = "2196f14"
21.4
54
0.766355
15
107
4.733333
0.933333
0
0
0
0
0
0
0
0
0
0
0.094737
0.11215
107
4
55
26.75
0.652632
0.485981
0
0
1
0
0.230769
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
23adbdae53b341042e97502d7807b369862c42ee
832
py
Python
src/t1000/domain/entity/event.py
helcerion/T1000
25684e88dc8adb37fe07ff358f84f797f7b9c716
[ "MIT" ]
1
2021-08-23T01:33:03.000Z
2021-08-23T01:33:03.000Z
src/t1000/domain/entity/event.py
helcerion/T1000
25684e88dc8adb37fe07ff358f84f797f7b9c716
[ "MIT" ]
20
2019-10-29T10:55:27.000Z
2022-03-12T00:04:50.000Z
src/t1000/domain/entity/event.py
helcerion/T1000
25684e88dc8adb37fe07ff358f84f797f7b9c716
[ "MIT" ]
null
null
null
class Event(): def __init__(self, uuid: str, date: str, time: str, event_type: str): self._uuid = uuid self._date = date self._time = time self._event_type = event_type def __str__(self): return ' '.join([str(self.uuid), str(self.date), str(self.time), ...
26
73
0.564904
106
832
4.169811
0.150943
0.162896
0.117647
0.153846
0
0
0
0
0
0
0
0
0.31851
832
31
74
26.83871
0.779541
0
0
0.16
0
0
0.001202
0
0
0
0
0
0
1
0.28
false
0
0
0.24
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
23b8c223e56cee22419a77ab681e27526cd42f9e
13,911
py
Python
tests/test_data/img_group_test_blurb.py
pritamsoni-hsr/cord-client-python
ca5578c932246c0dd98725a648aaaa85cc04c229
[ "Apache-2.0" ]
4
2022-02-09T00:31:18.000Z
2022-03-04T17:19:47.000Z
tests/test_data/img_group_test_blurb.py
pritamsoni-hsr/cord-client-python
ca5578c932246c0dd98725a648aaaa85cc04c229
[ "Apache-2.0" ]
21
2022-02-07T10:05:08.000Z
2022-03-16T19:52:58.000Z
tests/test_data/img_group_test_blurb.py
pritamsoni-hsr/cord-client-python
ca5578c932246c0dd98725a648aaaa85cc04c229
[ "Apache-2.0" ]
2
2022-02-21T13:55:54.000Z
2022-03-04T17:15:19.000Z
IMG_GROUP_TEST_BLURB = { "label_hash": "5fbba385-4918-4eee-85a8-8b7a2e71dd16", "data_title": "image-group-f5ef4", "data_type": "img_group", "data_units": { "76888dd3-1160-4ba9-a638-dacb92e54e3c": { "data_hash": "76888dd3-1160-4ba9-a638-dacb92e54e3c", "data_title": "apple1...
42.411585
78
0.373661
909
13,911
5.640264
0.210121
0.027306
0.024966
0.037449
0.792471
0.771016
0.622391
0.622391
0.622391
0.546323
0
0.262579
0.497089
13,911
327
79
42.541284
0.470269
0
0
0.541284
0
0
0.345266
0.11286
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
23ba1857c390121b28f4ff6f82fe8b464a154b87
316
py
Python
Test Server/test_auth.py
greencoder/mybitly
dfdcd796950c6390d47c05821bdfba2c799527fa
[ "MIT" ]
null
null
null
Test Server/test_auth.py
greencoder/mybitly
dfdcd796950c6390d47c05821bdfba2c799527fa
[ "MIT" ]
null
null
null
Test Server/test_auth.py
greencoder/mybitly
dfdcd796950c6390d47c05821bdfba2c799527fa
[ "MIT" ]
null
null
null
import base64 import urllib2 request = urllib2.Request('http://localhost:5000/oauth/access_token', data={}) base64string = base64.encodestring('%s:%s' % ('gooduser', 'goodpass')).replace('\n', '') request.add_header("Authorization", "Basic %s" % base64string) result = urllib2.urlopen(request) print result.read()
31.6
88
0.727848
37
316
6.162162
0.702703
0.122807
0
0
0
0
0
0
0
0
0
0.051903
0.085443
316
9
89
35.111111
0.737024
0
0
0
0
0
0.265823
0
0
0
0
0
0
0
null
null
0.142857
0.285714
null
null
0.142857
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
1
0
0
1
0
0
0
0
0
3
23c677283967df1f68b91e93b8971a474500c2aa
624
bzl
Python
source/bazel/deps/scrabble_words/get.bzl
luxe/unilang
6c8a431bf61755f4f0534c6299bd13aaeba4b69e
[ "MIT" ]
33
2019-05-30T07:43:32.000Z
2021-12-30T13:12:32.000Z
source/bazel/deps/scrabble_words/get.bzl
luxe/unilang
6c8a431bf61755f4f0534c6299bd13aaeba4b69e
[ "MIT" ]
371
2019-05-16T15:23:50.000Z
2021-09-04T15:45:27.000Z
source/bazel/deps/scrabble_words/get.bzl
luxe/unilang
6c8a431bf61755f4f0534c6299bd13aaeba4b69e
[ "MIT" ]
6
2019-08-22T17:37:36.000Z
2020-11-07T07:15:32.000Z
# Do not edit this file directly. # It was auto-generated by: code/programs/reflexivity/reflexive_refresh load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") def scrabbleWords(): http_archive( name="scrabble_words" , build_file="//bazel/deps/scrabble_words:build.BUILD" , ...
36.705882
112
0.727564
60
624
7.383333
0.716667
0.117381
0.081264
0
0
0
0
0
0
0
0
0.172745
0.165064
624
16
113
39
0.677543
0.161859
0
0
1
0
0.625
0.388462
0
0
0
0
0
1
0.090909
true
0
0
0
0.090909
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
23d26ccd09c9246d8317075ea86916068e79d92b
196
py
Python
AtCoder/diverta2019/B.py
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
1
2018-11-25T04:15:45.000Z
2018-11-25T04:15:45.000Z
AtCoder/diverta2019/B.py
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
null
null
null
AtCoder/diverta2019/B.py
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
2
2018-08-08T13:01:14.000Z
2018-11-25T12:38:36.000Z
R, G, B, N = map(int, input().split()) cnt = 0 for r in range(N + 1): for g in range(N + 1): b = N - (r * R + g * G) if b >= 0 and b % B == 0: cnt += 1 print(cnt)
19.6
38
0.397959
39
196
2
0.435897
0.051282
0.205128
0.230769
0
0
0
0
0
0
0
0.051724
0.408163
196
9
39
21.777778
0.62069
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
23db2299a28af486650b1600af06e9be344fd0ab
176
py
Python
main/TheView/interface_view.py
Comikris/refactoring-interpreter
82fdb5c5900b42a34fc363d55e108dfaae784039
[ "Apache-2.0" ]
null
null
null
main/TheView/interface_view.py
Comikris/refactoring-interpreter
82fdb5c5900b42a34fc363d55e108dfaae784039
[ "Apache-2.0" ]
null
null
null
main/TheView/interface_view.py
Comikris/refactoring-interpreter
82fdb5c5900b42a34fc363d55e108dfaae784039
[ "Apache-2.0" ]
null
null
null
# Kris from abc import ABCMeta, abstractmethod class IView: __metaclass__ = ABCMeta @abstractmethod def say(self, message): raise NotImplementedError
16
54
0.698864
17
176
7
0.882353
0.352941
0
0
0
0
0
0
0
0
0
0
0.25
176
10
55
17.6
0.901515
0.022727
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
23f10902132e36c8208e72cca007e1be93f1df3d
422
py
Python
app/models/models.py
DouglasCarmona/url_exercise
0c93f826ddfb8a4c4d94723d423d80d5c6b6ec6e
[ "MIT" ]
null
null
null
app/models/models.py
DouglasCarmona/url_exercise
0c93f826ddfb8a4c4d94723d423d80d5c6b6ec6e
[ "MIT" ]
null
null
null
app/models/models.py
DouglasCarmona/url_exercise
0c93f826ddfb8a4c4d94723d423d80d5c6b6ec6e
[ "MIT" ]
null
null
null
from typing import Dict from pydantic import BaseModel class KeywordsResponse(BaseModel): """ API Response model for url's keywords statistics """ url: str count_total_keywords: int count_unique_keywords: int keyword_frequency: Dict[str, int] count_short_tail_keywords: int class TitleR...
22.210526
52
0.699052
53
422
5.415094
0.509434
0.114983
0.139373
0.174216
0.222997
0.222997
0.222997
0
0
0
0
0
0.229858
422
19
53
22.210526
0.883077
0.196682
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
true
0
0.181818
0
1
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
1
0
0
0
1
0
0
3
23fe13080e39a51faf1fde157f5ee2f6aef91c9b
673
py
Python
src/outpost/django/utils.py
medunigraz/outpost.django
7691abf2a6a036452c11c16ee0d87830de17c731
[ "BSD-2-Clause" ]
null
null
null
src/outpost/django/utils.py
medunigraz/outpost.django
7691abf2a6a036452c11c16ee0d87830de17c731
[ "BSD-2-Clause" ]
null
null
null
src/outpost/django/utils.py
medunigraz/outpost.django
7691abf2a6a036452c11c16ee0d87830de17c731
[ "BSD-2-Clause" ]
1
2018-09-27T09:35:41.000Z
2018-09-27T09:35:41.000Z
import locale from IPy import IP class IPList(list): def __init__(self, addresses): super(IPList, self).__init__() for address in addresses: self.append(IP(address)) def __contains__(self, address): for net in self: if address in net: return Tr...
23.206897
55
0.634473
82
673
4.853659
0.45122
0.113065
0.158291
0.173367
0.150754
0.150754
0
0
0
0
0
0
0.27786
673
28
56
24.035714
0.81893
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.1
0
0.55
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
1
0
0
3
9b0ce4455ee0eb116d73490af8d0a7f2010b5369
371
py
Python
Bineary Tree/112. Path Sum.py
Into-Y0u/Github-Baby
5e4e6b02f49c2c99533289be9d49911006cad919
[ "MIT" ]
2
2022-01-25T04:30:26.000Z
2022-01-25T10:36:15.000Z
Bineary Tree/112. Path Sum.py
Into-Y0u/Leetcode-Baby
681ad4df01ee908f76d888aa4ccc10f04c03c56f
[ "MIT" ]
null
null
null
Bineary Tree/112. Path Sum.py
Into-Y0u/Leetcode-Baby
681ad4df01ee908f76d888aa4ccc10f04c03c56f
[ "MIT" ]
null
null
null
class Solution: def hasPathSum(self, root: Optional[TreeNode], target: int) -> bool: def dfs (node ,cur) : if not node : return False cur += node.val if not node.left and not node.right : return cur == target return dfs(node.left , cur) or ...
37.1
74
0.539084
48
371
4.166667
0.5
0.105
0.09
0
0
0
0
0
0
0
0
0.004237
0.363881
371
9
75
41.222222
0.84322
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.666667
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
1
0
0
0
0
1
0
0
3
9b0d0c2f880c9ace633d89d4e5065c4ba37f74ff
470
py
Python
src/whitest_sheep/tree_selection.py
lucasbayma/whitest-sheep
d8f634d93ced7640a63c2affe153a57104e99756
[ "MIT" ]
null
null
null
src/whitest_sheep/tree_selection.py
lucasbayma/whitest-sheep
d8f634d93ced7640a63c2affe153a57104e99756
[ "MIT" ]
null
null
null
src/whitest_sheep/tree_selection.py
lucasbayma/whitest-sheep
d8f634d93ced7640a63c2affe153a57104e99756
[ "MIT" ]
1
2019-08-22T03:33:36.000Z
2019-08-22T03:33:36.000Z
# -*- coding: utf-8 -*- """ Features selection using decision trees and forward stepwise """ import logging from whitest_sheep import __version__ _logger = logging.getLogger() class trees_forward: def __init__(self): pass def features_importance_tree(self): # Geting features impor...
19.583333
60
0.665957
51
470
5.862745
0.588235
0.086957
0.120401
0
0
0
0
0
0
0
0
0.002907
0.268085
470
24
61
19.583333
0.866279
0.380851
0
0.3
0
0
0
0
0
0
0
0
0
1
0.3
false
0.3
0.3
0
0.7
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
f1bd224f84c72805cc504afde06854bfef5a7245
20
py
Python
gatekeeper/__init__.py
WGBH/django-gatekeeper
5c9fec9bf7ab88212752dceab7cf1c72b93f1901
[ "MIT" ]
1
2019-02-05T13:40:59.000Z
2019-02-05T13:40:59.000Z
gatekeeper/__init__.py
WGBH/django-gatekeeper
5c9fec9bf7ab88212752dceab7cf1c72b93f1901
[ "MIT" ]
null
null
null
gatekeeper/__init__.py
WGBH/django-gatekeeper
5c9fec9bf7ab88212752dceab7cf1c72b93f1901
[ "MIT" ]
1
2019-12-30T00:45:52.000Z
2019-12-30T00:45:52.000Z
name = 'gatekeeper'
10
19
0.7
2
20
7
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.823529
0
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f1eb16d2c2d1016035bc7f37546a9e5614b17df9
1,726
py
Python
crowd_anki/anki/adapters/deck_manager.py
ll-in-anki/CrowdAnki
b25eace61c2ddbc4dad078b83093b291581c0d87
[ "MIT" ]
391
2016-08-31T21:55:07.000Z
2022-03-30T16:30:12.000Z
crowd_anki/anki/adapters/deck_manager.py
ll-in-anki/CrowdAnki
b25eace61c2ddbc4dad078b83093b291581c0d87
[ "MIT" ]
150
2016-09-01T00:35:35.000Z
2022-03-30T23:26:48.000Z
crowd_anki/anki/adapters/deck_manager.py
ll-in-anki/CrowdAnki
b25eace61c2ddbc4dad078b83093b291581c0d87
[ "MIT" ]
51
2016-09-04T17:02:39.000Z
2022-02-04T11:49:10.000Z
from abc import ABC, abstractmethod from dataclasses import dataclass from functional import seq from pygtrie import StringTrie from typing import Iterable, Any from ..adapters.anki_deck import AnkiDeck, NamedLazyDeck from ...utils.trie import keys_without_children from ...utils.trie import remove_children_of class...
29.758621
89
0.684241
213
1,726
5.380282
0.309859
0.08377
0.049738
0.033159
0.239093
0.162304
0.162304
0.108202
0.108202
0.108202
0
0
0.223059
1,726
57
90
30.280702
0.854586
0.042294
0
0.307692
0
0
0
0
0
0
0
0
0
1
0.205128
false
0.076923
0.205128
0.076923
0.615385
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
f1f4bd261f16deb5ac8015e71437c1030e7f3329
513
py
Python
Using-Python-to-Access-Web-Data/W4A1.py
aliyyousuff/MOOC
9d70cb0f17aa238c9b8a59b42daf02765fd8056c
[ "MIT" ]
null
null
null
Using-Python-to-Access-Web-Data/W4A1.py
aliyyousuff/MOOC
9d70cb0f17aa238c9b8a59b42daf02765fd8056c
[ "MIT" ]
null
null
null
Using-Python-to-Access-Web-Data/W4A1.py
aliyyousuff/MOOC
9d70cb0f17aa238c9b8a59b42daf02765fd8056c
[ "MIT" ]
null
null
null
__author__ = 'Mohammad Yousuf Ali, aliyyousuf@gmail.com' import urllib from BeautifulSoup import * import re numbers = list() import urllib from BeautifulSoup import * import re html = urllib.urlopen('http://python-data.dr-chuck.net/comments_178654.html ').read() soup = BeautifulSoup(html) tags = soup('span') ...
24.428571
85
0.707602
73
513
4.90411
0.643836
0.067039
0.089385
0.162011
0.240223
0.240223
0.240223
0
0
0
0
0.020882
0.159844
513
21
86
24.428571
0.809745
0.095517
0
0.375
0
0
0.225108
0
0
0
0
0
0
0
null
null
0
0.375
null
null
0.0625
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
1
0
0
0
1
0
0
0
0
3
f1f9819c611c8410357fb79cd842a36a0cb2a605
39,118
py
Python
ec2-api-8.0.0/ec2api/tests/unit/test_vpn_connection.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
null
null
null
ec2-api-8.0.0/ec2api/tests/unit/test_vpn_connection.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
5
2019-08-14T06:46:03.000Z
2021-12-13T20:01:25.000Z
ec2-api-8.0.0/ec2api/tests/unit/test_vpn_connection.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
2
2020-03-15T01:24:15.000Z
2020-07-22T20:34:26.000Z
# Copyright 2014 # The Cloudscaling Group, 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 applicable law or agreed to...
46.960384
79
0.649829
4,624
39,118
5.050389
0.068772
0.115231
0.049758
0.02672
0.810046
0.766582
0.702137
0.656361
0.620263
0.591487
0
0.02031
0.258653
39,118
832
80
47.016827
0.784966
0.02789
0
0.584828
0
0
0.12153
0.05287
0
0
0
0
0.164138
1
0.033103
false
0.002759
0.012414
0
0.046897
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f1fa2572953d6b5254ec59bab0dcdc0577439bd0
1,179
py
Python
sandy-disaster-recovery/update_handler.py
toddjcrane/crisiscleanup-legacy
74dbad143ebc3bfae4cc5afc478e43ab4033ff69
[ "Apache-2.0" ]
1
2017-01-07T21:44:21.000Z
2017-01-07T21:44:21.000Z
sandy-disaster-recovery/update_handler.py
aarontitus/crisiscleanup-legacy
74dbad143ebc3bfae4cc5afc478e43ab4033ff69
[ "Apache-2.0" ]
1
2021-03-26T00:25:19.000Z
2021-03-26T00:25:19.000Z
sandy-disaster-recovery/update_handler.py
toddjcrane/crisiscleanup-legacy
74dbad143ebc3bfae4cc5afc478e43ab4033ff69
[ "Apache-2.0" ]
1
2017-09-07T09:52:15.000Z
2017-09-07T09:52:15.000Z
import webapp2 import add_permissions_schema_update from google.appengine.ext import deferred import organization import generate_hash class UpdateHandler(webapp2.RequestHandler): def get(self): # deferred.defer(add_permissions_schema_update.AddPermissionsSchemaUpdate) # self.response.out.write('Sc...
40.655172
89
0.684478
139
1,179
5.582734
0.395683
0.099227
0.07732
0.103093
0.262887
0.14433
0.097938
0
0
0
0
0.006615
0.230704
1,179
29
90
40.655172
0.848953
0.131467
0
0.086957
1
0
0.064643
0
0
0
0
0
0
0
null
null
0.217391
0.217391
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
7b28de88d96a90e72554a2d13c0089a9b98e8a0e
990
py
Python
src/emoji_kana.py
msageha/mozuku
32771f409cb27eee75659830de107eef959ed862
[ "Apache-2.0" ]
null
null
null
src/emoji_kana.py
msageha/mozuku
32771f409cb27eee75659830de107eef959ed862
[ "Apache-2.0" ]
null
null
null
src/emoji_kana.py
msageha/mozuku
32771f409cb27eee75659830de107eef959ed862
[ "Apache-2.0" ]
null
null
null
from collections import OrderedDict from emoji_dicts import * emoji_dict = {} emoji_dict.update(smiley_dict) emoji_dict.update(person_dict) emoji_dict.update(role_dict) emoji_dict.update(fantasy_dict) emoji_dict.update(gesture_activity_dict) emoji_dict.update(sport_dict) emoji_dict.update(family_dict) emoji_dict.updat...
30.9375
73
0.80303
146
990
5.089041
0.342466
0.230148
0.279946
0.409152
0.189771
0.117093
0.117093
0.117093
0.117093
0.117093
0
0.001121
0.09899
990
31
74
31.935484
0.831839
0.027273
0
0.074074
0
0
0.002079
0
0
0
0
0
0
1
0.037037
false
0
0.074074
0
0.148148
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7b2921cb1dd1276f6303d9859cfdfb991a5b85f9
302
py
Python
tests/test_other.py
GenomicsNX/panel-highcharts
2844dd2a98c0a2ea1176daf0d8f746b250b97373
[ "MIT" ]
107
2021-04-04T14:11:27.000Z
2022-03-30T09:08:43.000Z
tests/test_other.py
GenomicsNX/panel-highcharts
2844dd2a98c0a2ea1176daf0d8f746b250b97373
[ "MIT" ]
8
2021-05-05T00:54:28.000Z
2022-03-31T09:37:07.000Z
tests/test_other.py
GenomicsNX/panel-highcharts
2844dd2a98c0a2ea1176daf0d8f746b250b97373
[ "MIT" ]
14
2021-05-03T00:15:11.000Z
2022-01-01T09:33:46.000Z
# pylint: disable=redefined-outer-name,protected-access # pylint: disable=missing-function-docstring,missing-module-docstring,missing-class-docstring import panel_highcharts as ph def test_variwide(): ph.config.js_files(highcharts_variwide=True) ph.config.js_files(highcharts_variwide=False)
33.555556
93
0.817881
40
302
6.025
0.625
0.107884
0.082988
0.124481
0.273859
0.273859
0
0
0
0
0
0
0.07947
302
8
94
37.75
0.866906
0.480132
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
3
9e70b9559fa8f3820d36a11540eea873e6b2edf5
237
py
Python
apps/daily_think/serializers.py
fsxchen/blog-backend
f805b184cd72b814b28d20d661645fc6ebd33c64
[ "Apache-2.0" ]
null
null
null
apps/daily_think/serializers.py
fsxchen/blog-backend
f805b184cd72b814b28d20d661645fc6ebd33c64
[ "Apache-2.0" ]
17
2020-02-12T00:10:09.000Z
2022-03-11T23:46:25.000Z
apps/daily_think/serializers.py
fsxchen/blog-backend
f805b184cd72b814b28d20d661645fc6ebd33c64
[ "Apache-2.0" ]
null
null
null
from rest_framework import serializers from .models import DailyThink class DailyThinkSerializer(serializers.ModelSerializer): class Meta: model = DailyThink fields = ('content', 'author', 'add_time', 'update_time')
29.625
65
0.734177
24
237
7.125
0.75
0
0
0
0
0
0
0
0
0
0
0
0.177215
237
8
65
29.625
0.876923
0
0
0
0
0
0.134454
0
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
0
3
9e7944b6e835c946e10c97b96b49ee934ee7fe32
107
py
Python
output/models/ibm_data/valid/s3_16_2/s3_16_2v06_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ibm_data/valid/s3_16_2/s3_16_2v06_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ibm_data/valid/s3_16_2/s3_16_2v06_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ibm_data.valid.s3_16_2.s3_16_2v06_xsd.s3_16_2v06 import Root __all__ = [ "Root", ]
17.833333
79
0.757009
20
107
3.45
0.7
0.173913
0.231884
0
0
0
0
0
0
0
0
0.172043
0.130841
107
5
80
21.4
0.569892
0
0
0
0
0
0.037383
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9e795b10be3142f977345f3d69f9019a18256663
3,785
py
Python
manifold/vectors_fields.py
FedeClaudi/manyfolds
68f7abba9059e3063eae46285f1c95157ea454cf
[ "MIT" ]
3
2021-11-04T10:29:40.000Z
2021-11-04T12:28:57.000Z
manifold/vectors_fields.py
FedeClaudi/manyfolds
68f7abba9059e3063eae46285f1c95157ea454cf
[ "MIT" ]
null
null
null
manifold/vectors_fields.py
FedeClaudi/manyfolds
68f7abba9059e3063eae46285f1c95157ea454cf
[ "MIT" ]
null
null
null
import numpy as np from numpy import pi """ Maps: psi: M \to R^d p \to (a^i_p) assigning for each point on the manifold a d-dimensional vector of weights used for the linear combination of basis for the tangent vector space in the embedding """ def normalize(func): ...
19.410256
80
0.532893
522
3,785
3.783525
0.189655
0.077975
0.086076
0.027848
0.497722
0.408101
0.330127
0.266835
0.225316
0.180759
0
0.031462
0.26103
3,785
194
81
19.510309
0.674651
0.214795
0
0.316327
0
0
0
0
0
0
0
0
0
1
0.295918
false
0
0.020408
0.183673
0.612245
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9e831a832a9837c4acdb9ffbd0be1af2c1061f07
232
py
Python
smooth_streams_proxy/enums.py
kwaaak/SmoothStreamsProxy
36ec544fdbf66fa455144d05eac84570f8ac18c4
[ "MIT" ]
null
null
null
smooth_streams_proxy/enums.py
kwaaak/SmoothStreamsProxy
36ec544fdbf66fa455144d05eac84570f8ac18c4
[ "MIT" ]
null
null
null
smooth_streams_proxy/enums.py
kwaaak/SmoothStreamsProxy
36ec544fdbf66fa455144d05eac84570f8ac18c4
[ "MIT" ]
null
null
null
from enum import Enum class SmoothStreamsProxyPasswordState(Enum): DECRYPTED = 0 ENCRYPTED = 1 class SmoothStreamsProxyRecordingStatus(Enum): ACTIVE = 'active' PERSISTED = 'persisted' SCHEDULED = 'scheduled'
17.846154
46
0.724138
20
232
8.4
0.65
0
0
0
0
0
0
0
0
0
0
0.010811
0.202586
232
12
47
19.333333
0.897297
0
0
0
0
0
0.103448
0
0
0
0
0
0
1
0
false
0.125
0.125
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
9e8784b4b767975f2b08cd54124a631fcd606b90
3,338
py
Python
dev_up/categories/profile.py
lordralinc/dev_up
e035afd386c8a16c574aaa7615c263f1c1369911
[ "MIT" ]
2
2021-01-10T15:44:41.000Z
2021-01-10T15:59:48.000Z
dev_up/categories/profile.py
lordralinc/dev_up
e035afd386c8a16c574aaa7615c263f1c1369911
[ "MIT" ]
null
null
null
dev_up/categories/profile.py
lordralinc/dev_up
e035afd386c8a16c574aaa7615c263f1c1369911
[ "MIT" ]
4
2021-01-10T15:45:19.000Z
2021-03-05T20:09:57.000Z
from dev_up import models from dev_up.categories.base import BaseAPICategories class ProfileAPICategories(BaseAPICategories): def get(self, user_id: int = None, key: str = None, **kwargs) -> models.ProfileGet: """Получает информацию о профиле DEV-UP""" return self.api.make_request( me...
37.931818
112
0.613841
353
3,338
5.705382
0.17847
0.034757
0.054618
0.089374
0.818272
0.797418
0.734359
0.649454
0.649454
0.564052
0
0
0.269023
3,338
87
113
38.367816
0.82541
0.041941
0
0.569231
0
0
0.053892
0.014637
0
0
0
0
0
1
0.076923
false
0
0.030769
0
0.276923
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9e8fd3e56ade9b8152c0b6758f1b579da98f66fb
412
py
Python
yExplorer/src/modules/yExplorer.py
mightyang/misc
711d6c34074a5ef96fe8d765f9d9d63075b7ad71
[ "Apache-2.0" ]
null
null
null
yExplorer/src/modules/yExplorer.py
mightyang/misc
711d6c34074a5ef96fe8d765f9d9d63075b7ad71
[ "Apache-2.0" ]
null
null
null
yExplorer/src/modules/yExplorer.py
mightyang/misc
711d6c34074a5ef96fe8d765f9d9d63075b7ad71
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # File : yExplorer.py # Author : yang <mightyang@hotmail.com> # Date : 05.12.2018 # Last Modified Date: 10.12.2018 # Last Modified By : yang <mightyang@hotmail.com> import yBase class yExplorer(yBase.yBase): def __init__(self): ...
22.888889
50
0.601942
50
412
4.8
0.66
0.108333
0.166667
0.191667
0
0
0
0
0
0
0
0.056291
0.26699
412
17
51
24.235294
0.738411
0.570388
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.166667
0.166667
0
0.666667
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
1
0
0
0
0
0
3
9ea560113019df80a37a07a0a869b5bafa39ca02
237
py
Python
app/views/example.py
SmuliS/simple-flask-celery
890b7c9214013447c7d31891273be03172006f04
[ "MIT" ]
null
null
null
app/views/example.py
SmuliS/simple-flask-celery
890b7c9214013447c7d31891273be03172006f04
[ "MIT" ]
null
null
null
app/views/example.py
SmuliS/simple-flask-celery
890b7c9214013447c7d31891273be03172006f04
[ "MIT" ]
null
null
null
from flask import Blueprint from app.models.task import Task example = Blueprint('example', __name__) @example.route("/") def hello(): return "Hello World!" @example.route("/tasks") def tasks(): return str(Task.query.all())
15.8
40
0.691983
31
237
5.16129
0.580645
0.15
0
0
0
0
0
0
0
0
0
0
0.151899
237
14
41
16.928571
0.79602
0
0
0
0
0
0.109705
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.222222
0.666667
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9eac053cb03f47247fefe3b1e91a3a09670a3a8c
1,230
py
Python
archive/2018/ml/distances.py
TamaraMaggioni/IntroduccionAprendizajeAutomatico
d9fb1fbb0a694fe00d4229baea78a69a465b941b
[ "MIT" ]
15
2018-06-17T14:59:35.000Z
2021-08-12T19:32:35.000Z
archive/2018/ml/distances.py
TamaraMaggioni/IntroduccionAprendizajeAutomatico
d9fb1fbb0a694fe00d4229baea78a69a465b941b
[ "MIT" ]
null
null
null
archive/2018/ml/distances.py
TamaraMaggioni/IntroduccionAprendizajeAutomatico
d9fb1fbb0a694fe00d4229baea78a69a465b941b
[ "MIT" ]
68
2018-06-01T23:53:41.000Z
2022-02-09T02:29:03.000Z
import numpy as np def euclidean(u, v): """ Calculates the euclidean distance between vectors u an v precondition: u.shape == v.shape :param u: vector of numbers :param v: vector of numbers :return: euclidean distance between u and v """ if u.shape != v.shape: raise ...
21.578947
78
0.614634
185
1,230
4.086486
0.227027
0.015873
0.055556
0.095238
0.640212
0.640212
0.640212
0.640212
0.640212
0.640212
0
0.00339
0.280488
1,230
56
79
21.964286
0.850847
0.517073
0
0.461538
0
0
0.167355
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
7b3745bd6a44bebc6efad116e8641ad2607a095c
1,193
py
Python
jpredapi/__init__.py
MoseleyBioinformaticsLab/jpredapi
a9c3ab035fe299452ece25479e2da0baf37dcb92
[ "MIT" ]
9
2018-02-26T13:53:46.000Z
2021-05-27T17:06:58.000Z
jpredapi/__init__.py
MoseleyBioinformaticsLab/jpredapi
a9c3ab035fe299452ece25479e2da0baf37dcb92
[ "MIT" ]
null
null
null
jpredapi/__init__.py
MoseleyBioinformaticsLab/jpredapi
a9c3ab035fe299452ece25479e2da0baf37dcb92
[ "MIT" ]
3
2019-07-04T09:06:10.000Z
2021-03-17T07:47:02.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ jpredapi Python library ~~~~~~~~~~~~~~~~~~~~~~~ The JPred API allows users to submit jobs from the command-line. Usage example for command-line: .. code:: bash python3 -m jpredapi --help python3 -m jpredapi --version python3 -m jpredapi submit...
25.934783
88
0.678961
151
1,193
5.218543
0.384106
0.071066
0.142132
0.060914
0.248731
0.177665
0.098985
0
0
0
0
0.028426
0.17435
1,193
45
89
26.511111
0.771574
0.853311
0
0
0
0
0.03012
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
7b378bbe6ff78897b681f9901d6d2404e9c14c32
260
py
Python
python-for-beginners/13 - Functions/print_time_repeated_code.py
kbsat/c9-python-getting-started
4033c9aaad27d517478c832c31145b97f2b35d6c
[ "MIT" ]
null
null
null
python-for-beginners/13 - Functions/print_time_repeated_code.py
kbsat/c9-python-getting-started
4033c9aaad27d517478c832c31145b97f2b35d6c
[ "MIT" ]
null
null
null
python-for-beginners/13 - Functions/print_time_repeated_code.py
kbsat/c9-python-getting-started
4033c9aaad27d517478c832c31145b97f2b35d6c
[ "MIT" ]
null
null
null
import datetime # 각 코드의 실행에 걸리는 시간을 확인하기 위하여 # 코드의 각 부분 다음에 타임 스탬프를 출력합니다. first_name = 'Susan' print('task completed') print(datetime.datetime.now()) print() for x in range(0, 10): print(x) print('task completed') print(datetime.datetime.now()) print()
17.333333
30
0.703846
43
260
4.232558
0.627907
0.098901
0.197802
0.252747
0.516484
0.516484
0.516484
0.516484
0
0
0
0.013699
0.157692
260
14
31
18.571429
0.817352
0.207692
0
0.6
0
0
0.162562
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.7
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
1
0
3
7b399b71685cbe59d0e90f378cc14431075ebff7
361
py
Python
miniworld/errors/SimulationErrors.py
miniworld-project/miniworld_core
c591bad232b78eae99e8f55cb1b907c1e228484b
[ "MIT" ]
5
2019-05-11T14:57:15.000Z
2021-07-05T00:35:25.000Z
miniworld/errors/SimulationErrors.py
miniworld-project/miniworld_core
c591bad232b78eae99e8f55cb1b907c1e228484b
[ "MIT" ]
27
2017-03-17T07:11:02.000Z
2019-05-26T23:36:56.000Z
miniworld/errors/SimulationErrors.py
miniworld-project/miniworld_core
c591bad232b78eae99e8f55cb1b907c1e228484b
[ "MIT" ]
6
2017-05-03T12:11:33.000Z
2020-04-03T11:44:27.000Z
import collections from miniworld.model.singletons import Resetable class SimulationErrors(collections.UserList, Resetable.Resetable): """ Attributes ---------- data : list<Exception, None, traceback> """ def reset(self): self.data = [] def __repr__(self): return '%s(%s)...
20.055556
66
0.637119
36
361
6.055556
0.638889
0.073395
0
0
0
0
0
0
0
0
0
0
0.218837
361
17
67
21.235294
0.77305
0.168975
0
0
0
0
0.021739
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7b46c8ed3f05a80fef675619912956cd1cd02f22
222
py
Python
packages/eclipse/plugins/org.python.pydev_4.4.0.201510052309/pysrc/_pydev_imps/_pydev_thread.py
liangazhou/django-rdp
cc5db1b12fff137f849254e0f153c1f9d99f08df
[ "Apache-2.0" ]
null
null
null
packages/eclipse/plugins/org.python.pydev_4.4.0.201510052309/pysrc/_pydev_imps/_pydev_thread.py
liangazhou/django-rdp
cc5db1b12fff137f849254e0f153c1f9d99f08df
[ "Apache-2.0" ]
null
null
null
packages/eclipse/plugins/org.python.pydev_4.4.0.201510052309/pysrc/_pydev_imps/_pydev_thread.py
liangazhou/django-rdp
cc5db1b12fff137f849254e0f153c1f9d99f08df
[ "Apache-2.0" ]
null
null
null
try: from thread import * except: from _thread import * #Py3k try: from gevent import monkey saved = monkey.saved['thread'] for key, val in saved.items(): globals()[key] = val except: pass
17.076923
34
0.617117
29
222
4.689655
0.551724
0.102941
0.235294
0
0
0
0
0
0
0
0
0.00625
0.279279
222
12
35
18.5
0.84375
0.018018
0
0.363636
0
0
0.02765
0
0
0
0
0
0
1
0
false
0.090909
0.272727
0
0.272727
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
7b5a3623850bf162c16dbd78f08946669ade252b
489
py
Python
laguna_timelapse_config.py
geraudc/laguna_timelapse
00004585fb8df297ad0f5d021524d87cb6fe7220
[ "MIT" ]
null
null
null
laguna_timelapse_config.py
geraudc/laguna_timelapse
00004585fb8df297ad0f5d021524d87cb6fe7220
[ "MIT" ]
null
null
null
laguna_timelapse_config.py
geraudc/laguna_timelapse
00004585fb8df297ad0f5d021524d87cb6fe7220
[ "MIT" ]
null
null
null
import json with open('config.json', "r+") as jsonFile : data = json.load(jsonFile) def getImageWidth() : return data["image_width"] def getImageHeight() : return data["image_height"] def getCaptureDelay() : return data["capture_delay"] def setImageWidth(new_width) : ...
22.227273
44
0.609407
54
489
5.388889
0.518519
0.123711
0.14433
0
0
0
0
0
0
0
0
0.002801
0.269939
489
21
45
23.285714
0.812325
0.01227
0
0
0
0
0.147609
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0.2
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7b5c8edef63ff351e3044c903661128ade887006
630
py
Python
tlv/tests/test_tlv_loads.py
Carrene/python-tlv
811f5afb4bc18e1bf1c0a7547e15c3763e2d67e2
[ "MIT" ]
null
null
null
tlv/tests/test_tlv_loads.py
Carrene/python-tlv
811f5afb4bc18e1bf1c0a7547e15c3763e2d67e2
[ "MIT" ]
null
null
null
tlv/tests/test_tlv_loads.py
Carrene/python-tlv
811f5afb4bc18e1bf1c0a7547e15c3763e2d67e2
[ "MIT" ]
null
null
null
from tlv import TLV def test_loads(): dumped_tlv = b'P13006762427CIF012111001209483PHN01109121902288' \ b'TKT003SFTTOK003000TKR00202' tags = TLV.loads(dumped_tlv) assert 'P13' in tags.fields assert 'CIF' in tags.fields assert 'PHN' in tags.fields assert 'TKT' in tags.fields asser...
26.25
69
0.655556
78
630
5.25641
0.333333
0.292683
0.17561
0.263415
0
0
0
0
0
0
0
0.184739
0.209524
630
23
70
27.391304
0.638554
0
0
0
0
0
0.232114
0.116057
0
0
0
0
0.705882
1
0.058824
false
0
0.058824
0
0.117647
0
0
0
0
null
1
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
1
0
0
0
0
0
0
0
0
0
3
7b7fb668d27c70d3cd5a5baf7d8764c907aa983d
29,616
py
Python
tests/test_annotation.py
pynista/telegrambotapiwrapper
4310882a1a7db94f5256b010ff8a3103b405dc0d
[ "MIT" ]
1
2021-05-10T06:49:52.000Z
2021-05-10T06:49:52.000Z
tests/test_annotation.py
pynista/telegrambotapiwrapper
4310882a1a7db94f5256b010ff8a3103b405dc0d
[ "MIT" ]
null
null
null
tests/test_annotation.py
pynista/telegrambotapiwrapper
4310882a1a7db94f5256b010ff8a3103b405dc0d
[ "MIT" ]
null
null
null
import unittest from telegrambotapiwrapper.annotation import AnnotationWrapper class TestAnnotationWrapper(unittest.TestCase): def test_is_list_of_list(self): data_to_test = { 'StickerSet': False, 'Union[InputFile, str]': False, 'Optional[PassportData]': False, ...
41.949008
113
0.536467
2,294
29,616
6.86966
0.04272
0.21778
0.038835
0.011549
0.732407
0.63716
0.581763
0.533917
0.504727
0.501428
0
0
0.321853
29,616
705
114
42.008511
0.784654
0
0
0.736919
0
0
0.442666
0.188716
0
0
0
0
0.018895
1
0.018895
false
0.055233
0.002907
0
0.023256
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
7b99c88e3d5c2d0c44d89a981faaec96a212a439
131
py
Python
src/greenbudget/app/fringe/apps.py
nickmflorin/django-proper-architecture-testing
da7c4019697e85f921695144375d2f548f1e98ad
[ "MIT" ]
null
null
null
src/greenbudget/app/fringe/apps.py
nickmflorin/django-proper-architecture-testing
da7c4019697e85f921695144375d2f548f1e98ad
[ "MIT" ]
null
null
null
src/greenbudget/app/fringe/apps.py
nickmflorin/django-proper-architecture-testing
da7c4019697e85f921695144375d2f548f1e98ad
[ "MIT" ]
null
null
null
from django.apps import AppConfig class FringeConfig(AppConfig): name = 'greenbudget.app.fringe' verbose_name = "Fringe"
18.714286
35
0.740458
15
131
6.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.167939
131
6
36
21.833333
0.880734
0
0
0
0
0
0.21374
0.167939
0
0
0
0
0
1
0
false
0
0.25
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
0
0
0
0
1
0
0
3
7ba3d10d03a75a08add5177a52e8163e2cd0aa4b
48
py
Python
h/definitions.py
whittlbc/h
a840f4cbcbad176050d97480dbc368397f08ea01
[ "MIT" ]
null
null
null
h/definitions.py
whittlbc/h
a840f4cbcbad176050d97480dbc368397f08ea01
[ "MIT" ]
null
null
null
h/definitions.py
whittlbc/h
a840f4cbcbad176050d97480dbc368397f08ea01
[ "MIT" ]
null
null
null
ENTRIES_DIR = '~/.h-entries' ENTRIES_EXT = 'txt'
24
28
0.6875
7
48
4.428571
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.104167
48
2
29
24
0.72093
0
0
0
0
0
0.306122
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7baa40c83a88c28a9dc968e0c9a3885828c356db
205
py
Python
app/sockets/ws_disconnect.py
d3vzer0/reternal-backend
aeeb613c820759212e7aef9150738a66b2882d50
[ "MIT" ]
6
2019-01-01T23:38:12.000Z
2021-07-27T03:43:11.000Z
app/sockets/ws_disconnect.py
d3vzer0/reternal-backend
aeeb613c820759212e7aef9150738a66b2882d50
[ "MIT" ]
1
2020-08-02T00:21:41.000Z
2020-08-02T00:21:41.000Z
app/sockets/ws_disconnect.py
d3vzer0/reternal-backend
aeeb613c820759212e7aef9150738a66b2882d50
[ "MIT" ]
1
2021-07-27T03:43:24.000Z
2021-07-27T03:43:24.000Z
from app.utils import rediscache from .main import sio @sio.on('disconnect') async def socketio_disconnect(sid): user_session = await sio.get_session(sid) rediscache.delete(user_session['sub'])
20.5
45
0.756098
29
205
5.206897
0.655172
0.145695
0
0
0
0
0
0
0
0
0
0
0.136585
205
9
46
22.777778
0.853107
0
0
0
0
0
0.063725
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
0
0
3
7bbc75050312008aab21a26143f0e885be754382
396
py
Python
settings.py
Alex92rus/ErrorDetectionProject
e611ceaaaa1e5e18bc9a6ae4a02ed421db058da8
[ "Apache-2.0" ]
1
2018-11-30T23:50:27.000Z
2018-11-30T23:50:27.000Z
settings.py
Alex92rus/ErrorDetectionProject
e611ceaaaa1e5e18bc9a6ae4a02ed421db058da8
[ "Apache-2.0" ]
null
null
null
settings.py
Alex92rus/ErrorDetectionProject
e611ceaaaa1e5e18bc9a6ae4a02ed421db058da8
[ "Apache-2.0" ]
null
null
null
# common settings for results analysis AMT_FILE = 'batch_results/100_sentence_9_error_detection.csv' AMT_SENTENCE_BATCH = 'batch_input/amt_sentence_batch.csv' AMT_FCE_M2 = 'experiment_output_m2/fce_amt.experiment_two.max.rasp.m2' TRAINING_DATA_FILE = 'fce_data_sets/fce_train.gold.max.rasp.old_cat.m2' RESPONSE_COUNT = 9...
49.5
74
0.818182
62
396
4.822581
0.612903
0.040134
0.107023
0
0
0
0
0
0
0
0
0.024523
0.073232
396
7
75
56.571429
0.790191
0.090909
0
0
0
0
0.628492
0.51676
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7bc10f7b4aba393f2ee3364bb2e4f01065e0c1f5
5,698
py
Python
dbaas/drivers/replication_topologies/base.py
jaeko44/python_dbaas
4fafa4ad70200fec1436c326c751761922ec9fa8
[ "BSD-3-Clause" ]
null
null
null
dbaas/drivers/replication_topologies/base.py
jaeko44/python_dbaas
4fafa4ad70200fec1436c326c751761922ec9fa8
[ "BSD-3-Clause" ]
null
null
null
dbaas/drivers/replication_topologies/base.py
jaeko44/python_dbaas
4fafa4ad70200fec1436c326c751761922ec9fa8
[ "BSD-3-Clause" ]
1
2017-07-02T08:46:17.000Z
2017-07-02T08:46:17.000Z
# -*- coding: utf-8 -*- class BaseTopology(object): def deploy_first_steps(self): raise NotImplementedError() def deploy_last_steps(self): raise NotImplementedError() def monitoring_steps(self): return ( 'workflow.steps.util.deploy.create_zabbix.CreateZabbix', ...
40.411348
93
0.652334
566
5,698
6.286219
0.19788
0.182687
0.238898
0.069421
0.597808
0.388702
0.236369
0.192243
0.125913
0.102305
0
0.000467
0.247631
5,698
140
94
40.7
0.829484
0.008424
0
0.338983
0
0
0.43439
0.411546
0
0
0
0
0
1
0.169492
false
0
0
0.144068
0.322034
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
c873d6c82cac6e517f4ab39e53eb54bf52b39bcc
323
py
Python
rdisq/identification.py
gregie156/rdisq
bed3028997f7f64d956b2731437febfc5f2d0061
[ "MIT" ]
1
2015-09-08T06:12:14.000Z
2015-09-08T06:12:14.000Z
rdisq/identification.py
gregie156/rdisq
bed3028997f7f64d956b2731437febfc5f2d0061
[ "MIT" ]
null
null
null
rdisq/identification.py
gregie156/rdisq
bed3028997f7f64d956b2731437febfc5f2d0061
[ "MIT" ]
2
2016-12-16T10:17:39.000Z
2020-06-13T14:37:57.000Z
__author__ = 'smackware' import os import uuid def get_mac(): return uuid.getnode() def get_consumer_id(): return "%s-%s" % (get_mac(), os.getpid(), ) def get_request_key(task_id): return "request_%s" % (task_id, ) def generate_task_id(): return "%s-%s" % (get_consumer_id(), uuid.uuid4().hex, )...
14.043478
60
0.637771
47
323
4.021277
0.425532
0.095238
0.137566
0.10582
0.137566
0
0
0
0
0
0
0.003817
0.188854
323
22
61
14.681818
0.717557
0
0
0
0
0
0.090343
0
0
0
0
0
0
1
0.363636
false
0
0.181818
0.363636
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c8782da1e651a49736369dafcf892d83e6562665
799
py
Python
richx86/inference.py
yamsam/G2Net-GoGoGo
629199ba044adf8a0ffec3e6fd33146bcad4299e
[ "MIT" ]
null
null
null
richx86/inference.py
yamsam/G2Net-GoGoGo
629199ba044adf8a0ffec3e6fd33146bcad4299e
[ "MIT" ]
null
null
null
richx86/inference.py
yamsam/G2Net-GoGoGo
629199ba044adf8a0ffec3e6fd33146bcad4299e
[ "MIT" ]
null
null
null
from oof_and_tta import save_oof_preds,gen_oof_tta,gen_oof_all_folds,gen_oof_weight,gen_oof_tta_weighted,gen_test_tta,gen_test_tta_weighted from augmentation import augmentations import dataset (conserv_transform_list, aggressive_transform_list, conserv_transform_list_strings, aggre...
44.388889
140
0.853567
117
799
5.205128
0.213675
0.213465
0.262726
0.17734
0.474548
0.474548
0.405583
0.405583
0.311987
0.311987
0
0
0.09637
799
18
141
44.388889
0.84349
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c88f48afa5636debe92aa629ed66e0e9852d488d
151
py
Python
thesis rough codes/brentmethod.py
intisarnaheen/Bayesian-Reinforcement-Learning-with-Maximum-Entropy
b9cef141d6c55d346c74ba03dba269edead245ec
[ "MIT" ]
null
null
null
thesis rough codes/brentmethod.py
intisarnaheen/Bayesian-Reinforcement-Learning-with-Maximum-Entropy
b9cef141d6c55d346c74ba03dba269edead245ec
[ "MIT" ]
null
null
null
thesis rough codes/brentmethod.py
intisarnaheen/Bayesian-Reinforcement-Learning-with-Maximum-Entropy
b9cef141d6c55d346c74ba03dba269edead245ec
[ "MIT" ]
null
null
null
from scipy import optimize def f(x): return (x**3)+(x**2)+x-2 x_min = optimize.minimize_scalar(f, bounds=[-10, 10], method='bounded') print(x_min)
25.166667
71
0.675497
28
151
3.535714
0.642857
0.040404
0.060606
0
0
0
0
0
0
0
0
0.05303
0.125828
151
5
72
30.2
0.69697
0
0
0
0
0
0.046358
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
c8b0fe4aa42e7362d64595878b78eeeeaf5360e5
23
py
Python
rep_distiller/globals.py
RylanSchaeffer/RepDistiller
3612d9d8f6f913527c7aaec7e5ea557e72ed7c5e
[ "BSD-2-Clause" ]
1
2021-12-26T08:22:39.000Z
2021-12-26T08:22:39.000Z
rep_distiller/globals.py
RylanSchaeffer/RepDistiller
3612d9d8f6f913527c7aaec7e5ea557e72ed7c5e
[ "BSD-2-Clause" ]
null
null
null
rep_distiller/globals.py
RylanSchaeffer/RepDistiller
3612d9d8f6f913527c7aaec7e5ea557e72ed7c5e
[ "BSD-2-Clause" ]
null
null
null
num_gradient_steps = 0
11.5
22
0.826087
4
23
4.25
1
0
0
0
0
0
0
0
0
0
0
0.05
0.130435
23
1
23
23
0.8
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c8d85d604602c2bb6b25d470cbeb592a3592ff93
390
py
Python
tests/test_import_imageio.py
zsxoff/conda-env-ml
20568cc54257821a2ba6a36eae8438ab392cbf4d
[ "MIT" ]
null
null
null
tests/test_import_imageio.py
zsxoff/conda-env-ml
20568cc54257821a2ba6a36eae8438ab392cbf4d
[ "MIT" ]
null
null
null
tests/test_import_imageio.py
zsxoff/conda-env-ml
20568cc54257821a2ba6a36eae8438ab392cbf4d
[ "MIT" ]
1
2020-01-30T20:13:22.000Z
2020-01-30T20:13:22.000Z
#!/usr/bin/env python import unittest class SmokeTestImageio(unittest.TestCase): """ imageio smoke tests. Args: unittest (unittest.TestCase): unittest base class. """ @staticmethod def test_import_imageio(): """Test: import imageio.""" import imageio print(...
15.6
58
0.628205
38
390
6.078947
0.578947
0.168831
0.147186
0
0
0
0
0
0
0
0
0
0.25641
390
24
59
16.25
0.796552
0.320513
0
0
0
0
0.034043
0
0
0
0
0
0
1
0.125
true
0
0.375
0
0.625
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
c8dcdb2be3e943a7a039ba1caa8d25803f8c516b
59
py
Python
settings/settings.py
cqkenuo/AccessLogAnylast
574a61f605c7fc4c86f976379da265a9588e426f
[ "MIT" ]
33
2018-05-25T03:51:12.000Z
2021-12-29T02:40:07.000Z
settings/settings.py
cqkenuo/AccessLogAnylast
574a61f605c7fc4c86f976379da265a9588e426f
[ "MIT" ]
1
2022-03-18T10:56:08.000Z
2022-03-18T11:41:46.000Z
settings/settings.py
cqkenuo/AccessLogAnylast
574a61f605c7fc4c86f976379da265a9588e426f
[ "MIT" ]
15
2018-05-25T03:51:15.000Z
2020-05-18T02:14:35.000Z
WebShellScanAccessIPCount = 5 WebShellScanAccessCount = 50
19.666667
29
0.864407
4
59
12.75
1
0
0
0
0
0
0
0
0
0
0
0.056604
0.101695
59
2
30
29.5
0.90566
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
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
3
c8e38f943b92d977d776acb98a78837ef14f5e0d
17
py
Python
sade/__init__.py
papachristoumarios/sade
06560dafc8b805585463a0f26c4809682118a1f1
[ "MIT" ]
7
2019-06-25T17:11:05.000Z
2021-05-31T01:58:34.000Z
sade/__init__.py
azterizk/sade
06560dafc8b805585463a0f26c4809682118a1f1
[ "MIT" ]
1
2020-09-25T03:30:17.000Z
2020-09-25T03:30:17.000Z
sade/__init__.py
azterizk/sade
06560dafc8b805585463a0f26c4809682118a1f1
[ "MIT" ]
1
2021-05-31T01:58:16.000Z
2021-05-31T01:58:16.000Z
__name__ = 'sade'
17
17
0.705882
2
17
4
1
0
0
0
0
0
0
0
0
0
0
0
0.117647
17
1
17
17
0.533333
0
0
0
0
0
0.222222
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c8e4e4a43cec60a63b22bb82f1838495f071d7d4
334
py
Python
venv/lib/python3.8/site-packages/joblib/externals/loky/backend/compat_posix.py
avrumnoor/NewsSummarizer
a963497ef9bc62d2148aa28e624ea32955992f57
[ "MIT" ]
6,989
2017-07-18T06:23:18.000Z
2022-03-31T15:58:36.000Z
venv/lib/python3.7/site-packages/sklearn/externals/joblib/externals/loky/backend/compat_posix.py
John1001Song/Big-Data-Robo-Adviser
9444dce96954c546333d5aecc92a06c3bfd19aa5
[ "MIT" ]
1,978
2017-07-18T09:17:58.000Z
2022-03-31T14:28:43.000Z
venv/lib/python3.7/site-packages/sklearn/externals/joblib/externals/loky/backend/compat_posix.py
John1001Song/Big-Data-Robo-Adviser
9444dce96954c546333d5aecc92a06c3bfd19aa5
[ "MIT" ]
1,228
2017-07-18T09:03:13.000Z
2022-03-29T05:57:40.000Z
# flake8: noqa ############################################################################### # Compat file to load the correct wait function # # author: Thomas Moreau and Olivier grisel # import sys # Compat wait if sys.version_info < (3, 3): from ._posix_wait import wait else: from multiprocessing.connectio...
23.857143
79
0.562874
37
334
5
0.72973
0.108108
0
0
0
0
0
0
0
0
0
0.010563
0.149701
334
13
80
25.692308
0.640845
0.332335
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
cda63bce136e9050c6973842cbbd838d25001603
496
py
Python
verbcalc/core/answers.py
nandinimaheshwari7107/VerbCalc
7a1459466aa16ea81d88e2b1e454587c0fc01d07
[ "BSD-3-Clause" ]
null
null
null
verbcalc/core/answers.py
nandinimaheshwari7107/VerbCalc
7a1459466aa16ea81d88e2b1e454587c0fc01d07
[ "BSD-3-Clause" ]
9
2021-12-06T10:28:59.000Z
2022-03-31T10:30:38.000Z
verbcalc/core/answers.py
LucaMellini/VerbCalc
fc87ae5d9dbc420fe644703febdbcb15a2da6e03
[ "BSD-3-Clause" ]
null
null
null
""" Allows handling of custom answers. """ import random class CustomAnswers: """ Handles custom answers. """ def __init__(self) -> None: self._answers = ['It is', 'The answer is', 'The result is', 'The total is', 'Altogether you get'] self._default = 'The res...
24.8
71
0.594758
59
496
4.830508
0.576271
0.115789
0.077193
0
0
0
0
0
0
0
0
0.002817
0.284274
496
19
72
26.105263
0.8
0.116935
0
0
0
0
0.178313
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
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
0
0
1
1
0
0
3
cdec4604ba327a3b6846b1509558f8313efd5628
403
py
Python
dbt/adapters/ibmdb2/__init__.py
ilikutle/dbt-ibmdb2
2ddc1a3c24b959da59ee1c8b5ff5799f3a96adaf
[ "Apache-2.0" ]
null
null
null
dbt/adapters/ibmdb2/__init__.py
ilikutle/dbt-ibmdb2
2ddc1a3c24b959da59ee1c8b5ff5799f3a96adaf
[ "Apache-2.0" ]
null
null
null
dbt/adapters/ibmdb2/__init__.py
ilikutle/dbt-ibmdb2
2ddc1a3c24b959da59ee1c8b5ff5799f3a96adaf
[ "Apache-2.0" ]
null
null
null
from dbt.adapters.dbt-ibmdb2.connections import IBMDB2ConnectionManager from dbt.adapters.dbt-ibmdb2.connections import IBMDB2Credentials from dbt.adapters.dbt-ibmdb2.impl import IBMDB2Adapter from dbt.adapters.base import AdapterPlugin from dbt.include import dbt-ibmdb2 Plugin = AdapterPlugin( adapter=IBMDB2Ada...
31
71
0.833747
48
403
6.958333
0.375
0.10479
0.179641
0.161677
0.317365
0.245509
0.245509
0
0
0
0
0.027624
0.101737
403
12
72
33.583333
0.895028
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.555556
null
null
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
1
0
0
0
1
0
0
0
0
3
cdef6a3102b774d3e9cdab835b529070ed1cce48
353
py
Python
myapp/serializers.py
Lloyds01/Gain
99ed240170f0c12750e3d88e2e4e4a96691a2467
[ "MIT" ]
null
null
null
myapp/serializers.py
Lloyds01/Gain
99ed240170f0c12750e3d88e2e4e4a96691a2467
[ "MIT" ]
null
null
null
myapp/serializers.py
Lloyds01/Gain
99ed240170f0c12750e3d88e2e4e4a96691a2467
[ "MIT" ]
null
null
null
from .models import * from rest_framework import serializers from rest_framework.serializers import ModelSerializer class EventSerializer(serializers.ModelSerializer): class Meta: model = Event fields = "__all__" class UserSerializer (serializers.ModelSerializer): class Meta: model =...
22.0625
54
0.72238
34
353
7.205882
0.470588
0.244898
0.138776
0.285714
0.326531
0
0
0
0
0
0
0
0.21813
353
15
55
23.533333
0.887681
0
0
0.363636
0
0
0.03966
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.636364
0
0
0
0
null
1
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
1
0
0
3
a80262714a7650d2ee7f62e2111b70b27e365d89
360
py
Python
drf_spectacular/fields.py
Mopsan/drf-spectacular
5d1280c29994793be517b443fd5d902525c6ab3e
[ "BSD-3-Clause" ]
null
null
null
drf_spectacular/fields.py
Mopsan/drf-spectacular
5d1280c29994793be517b443fd5d902525c6ab3e
[ "BSD-3-Clause" ]
null
null
null
drf_spectacular/fields.py
Mopsan/drf-spectacular
5d1280c29994793be517b443fd5d902525c6ab3e
[ "BSD-3-Clause" ]
null
null
null
from abc import abstractmethod from typing import List from drf_spectacular.plumbing import OpenApiGeneratorExtension class OpenApiSerializerFieldExtension(OpenApiGeneratorExtension['OpenApiSerializerFieldExtension']): _registry: List['OpenApiSerializerExtension'] = [] @abstractmethod def map_serializer...
27.692308
100
0.811111
30
360
9.566667
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.130556
360
12
101
30
0.916933
0
0
0
0
0
0.158333
0.158333
0
0
0
0
0
1
0.125
false
0.125
0.375
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
a81482b9380eaded4043fb559fdf8205de4af0d3
105
py
Python
pydano/utils.py
cheekyunts/pydano
f3b8687622543749a599a2ce0a0a5de204c599d1
[ "MIT" ]
null
null
null
pydano/utils.py
cheekyunts/pydano
f3b8687622543749a599a2ce0a0a5de204c599d1
[ "MIT" ]
null
null
null
pydano/utils.py
cheekyunts/pydano
f3b8687622543749a599a2ce0a0a5de204c599d1
[ "MIT" ]
null
null
null
def hexstr(name): output = '' for n in name: output += hex(ord(n))[2:] return output
17.5
33
0.52381
15
105
3.666667
0.733333
0.363636
0
0
0
0
0
0
0
0
0
0.014085
0.32381
105
5
34
21
0.760563
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
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
a82d8acd84b922142aa89be8ef32b128d93dd036
176
py
Python
code/abc013_3_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/abc013_3_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/abc013_3_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
N,H=map(int,input().split()) A,B,C,D,E=map(int,input().split()) ans=C*N for i in range(N+1): cost=(H+B*i+D*(N-i)-1)//(D+E) ans=min(ans,A*i+C*max(0,N-i-cost)) print(ans)
25.142857
38
0.568182
47
176
2.12766
0.468085
0.12
0.22
0.32
0
0
0
0
0
0
0
0.018868
0.096591
176
7
39
25.142857
0.610063
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a83057c1bcf9b0e59e026f5052698a072c79e3e8
1,717
py
Python
src/swimport/tests/11_enums/usage.py
talos-gis/swimport
e8f0fcf02b0c9751b199f750f1f8bc57c8ff54b3
[ "MIT" ]
1
2019-03-07T20:43:42.000Z
2019-03-07T20:43:42.000Z
src/swimport/tests/11_enums/usage.py
talos-gis/swimport
e8f0fcf02b0c9751b199f750f1f8bc57c8ff54b3
[ "MIT" ]
null
null
null
src/swimport/tests/11_enums/usage.py
talos-gis/swimport
e8f0fcf02b0c9751b199f750f1f8bc57c8ff54b3
[ "MIT" ]
null
null
null
import example from swimport.tests.resources import * assert_eq(example.SWEET, 0) assert_eq(example.SOUR, 1) assert_eq(example.SALTY, 6) assert_eq(example.BITTER, 5) assert_eq(example.UMAMI, -1) assert_true(example.good_flavor(example.SWEET)) assert_false(example.good_flavor(example.BITTER)) assert_true(example.is_m...
39.022727
118
0.803145
268
1,717
5
0.272388
0.241791
0.123134
0.068657
0.313433
0.241791
0.108955
0
0
0
0
0.010638
0.069307
1,717
44
119
39.022727
0.82791
0.134537
0
0
0
0
0.003369
0
0
0
0
0
0.848485
1
0
true
0
0.060606
0
0.060606
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
3
b517e96268bd798e236b8e9890be9663be38784b
304
py
Python
kiqpo/core/TextStyle/TextStyle.py
bionic-py/Bionic
a54c85107a6a2aa9a9563b6b3e1f9bb64d63faa4
[ "MIT" ]
9
2021-10-31T03:38:16.000Z
2021-12-17T00:03:36.000Z
kiqpo/core/TextStyle/TextStyle.py
bionic-py/Bionic
a54c85107a6a2aa9a9563b6b3e1f9bb64d63faa4
[ "MIT" ]
12
2021-11-11T14:18:09.000Z
2021-12-03T14:00:25.000Z
kiqpo/core/TextStyle/TextStyle.py
kiqpo/kiqpo
a54c85107a6a2aa9a9563b6b3e1f9bb64d63faa4
[ "MIT" ]
3
2022-03-03T18:30:53.000Z
2022-03-09T13:29:39.000Z
def TextStyle(Color="#000000",Margin="0px",FontSize="100%", Background="transparent",Weight="400",LetterSpacing="1"): return f""" color:{Color}; font-size: {FontSize}; background: {Background}; font-weight: {Weight}; letter-spacing: {LetterSpacing}; margin: {Margin}; """
30.4
117
0.638158
31
304
6.258065
0.645161
0
0
0
0
0
0
0
0
0
0
0.054902
0.161184
304
9
118
33.777778
0.705882
0
0
0
0
0
0.644737
0
0
0
0
0
0
1
0.111111
false
0
0
0.111111
0.222222
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
1
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
b51925354723929645c81fcd03b9ba6bd6b90f8d
328
py
Python
einops/layers/torch.py
pzelasko/einops
5102ad12fa02167556b1df8724e6a3b25b17989d
[ "MIT" ]
4
2020-09-03T02:26:56.000Z
2020-10-13T09:38:48.000Z
einops/layers/torch.py
davidnvq/einops
7fe9d31c48f289623dd300f52a0da021c491f280
[ "MIT" ]
null
null
null
einops/layers/torch.py
davidnvq/einops
7fe9d31c48f289623dd300f52a0da021c491f280
[ "MIT" ]
null
null
null
import torch from . import RearrangeMixin, ReduceMixin __author__ = 'Alex Rogozhnikov' class Rearrange(RearrangeMixin, torch.nn.Module): def forward(self, input): return self._apply_recipe(input) class Reduce(ReduceMixin, torch.nn.Module): def forward(self, input): return self._apply_recip...
21.866667
49
0.734756
39
328
5.974359
0.512821
0.060086
0.111588
0.137339
0.497854
0.497854
0.497854
0.497854
0.497854
0.497854
0
0
0.170732
328
15
50
21.866667
0.856618
0
0
0.444444
0
0
0.048632
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.222222
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b5443b51a57fda65f20684c651af454a24d383f0
283
py
Python
string_session.py
thakorrohan22/Chatbot
3a552ab200f32e2fe61855fbb19bd68458b4172a
[ "MIT" ]
1
2020-02-24T04:04:41.000Z
2020-02-24T04:04:41.000Z
string_session.py
Collosalhavoc/Chatbot
f5c85b7de7d4afb7aa89e0866c9c1a6ce83777a5
[ "MIT" ]
null
null
null
string_session.py
Collosalhavoc/Chatbot
f5c85b7de7d4afb7aa89e0866c9c1a6ce83777a5
[ "MIT" ]
2
2020-10-04T06:39:37.000Z
2021-04-12T11:22:08.000Z
# This file is for generating a string session only # Please copy and save the string session # Note that you need to have api_id and api_hash set in config.ini before executing this from pyrogram import Client with Client(":memory:") as app: print(app.export_session_string())
35.375
88
0.773852
48
283
4.479167
0.8125
0.12093
0
0
0
0
0
0
0
0
0
0
0.169611
283
7
89
40.428571
0.914894
0.621908
0
0
0
0
0.07767
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
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
1
0
1
0
0
0
0
3
b567fb3872df02c00cb9653fd1791a3715e41300
573
py
Python
atest/testdata/libdoc/module.py
ldtri0209/robotframework
6bc11a350cbaf5d0801cc5431f32cc1435bb65df
[ "ECL-2.0", "Apache-2.0" ]
4
2016-01-13T13:48:28.000Z
2021-09-05T07:14:07.000Z
atest/testdata/libdoc/module.py
ldtri0209/robotframework
6bc11a350cbaf5d0801cc5431f32cc1435bb65df
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
atest/testdata/libdoc/module.py
ldtri0209/robotframework
6bc11a350cbaf5d0801cc5431f32cc1435bb65df
[ "ECL-2.0", "Apache-2.0" ]
2
2018-01-18T22:00:17.000Z
2018-07-26T10:53:00.000Z
# coding: utf-8 """Module test library.""" __version__ = '0.1-alpha' def keyword(a1='d', *a2): """A keyword See `get hello` for details""" pass def get_hello(): """Get the intialization variables See `importing` for explanation of arguments and `introduction` for introduction""" retur...
18.483871
50
0.65445
82
573
4.365854
0.670732
0.050279
0.092179
0.117318
0.100559
0
0
0
0
0
0
0.102784
0.184991
573
30
51
19.1
0.663812
0.408377
0
0
0
0
0.057778
0
0
0
0
0
0
1
0.555556
false
0.111111
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
b56e267ce662c54ed83329cb405dc7bdcc22fd75
995
py
Python
tests/unit/test_decorator.py
rcoup/django-dbcache-fields
4784a6b4133e8f4a369b2896050b24f2efb644dc
[ "BSD-3-Clause" ]
4
2017-11-01T07:23:51.000Z
2020-09-28T13:53:55.000Z
tests/unit/test_decorator.py
rcoup/django-dbcache-fields
4784a6b4133e8f4a369b2896050b24f2efb644dc
[ "BSD-3-Clause" ]
3
2017-12-18T15:03:49.000Z
2020-01-20T14:59:07.000Z
tests/unit/test_decorator.py
rcoup/django-dbcache-fields
4784a6b4133e8f4a369b2896050b24f2efb644dc
[ "BSD-3-Clause" ]
1
2019-12-18T12:01:33.000Z
2019-12-18T12:01:33.000Z
# encoding: utf-8 from __future__ import absolute_import, unicode_literals from django.core.exceptions import FieldError from django.db import models from django.test import TestCase from django_dbcache_fields.decorators import dbcache class DecoratorTestCase(TestCase): def test_raise_exc_for_args_field_by_nam...
38.269231
92
0.782915
129
995
5.744186
0.395349
0.129555
0.064777
0.080972
0.441296
0.337382
0.269906
0.269906
0.269906
0
0
0.001157
0.131658
995
25
93
39.8
0.856481
0.015075
0
0
0
0
0.009202
0
0
0
0
0
0.375
1
0.25
false
0
0.3125
0
0.625
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
0
1
0
0
3
b57fb98e28d0ac86cb555901d2da505c848e4630
154
py
Python
src/labportalen/apps.py
strativ-dev/django-labportalen
021cb2ec9d0d2cfafadbc050b361c62afd38213e
[ "MIT" ]
null
null
null
src/labportalen/apps.py
strativ-dev/django-labportalen
021cb2ec9d0d2cfafadbc050b361c62afd38213e
[ "MIT" ]
1
2022-03-01T12:26:52.000Z
2022-03-01T12:26:52.000Z
src/labportalen/apps.py
strativ-dev/django-labportalen
021cb2ec9d0d2cfafadbc050b361c62afd38213e
[ "MIT" ]
null
null
null
from django.apps import AppConfig class LabportalenConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'labportalen'
22
56
0.772727
17
154
6.882353
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.142857
154
6
57
25.666667
0.886364
0
0
0
0
0
0.25974
0.188312
0
0
0
0
0
1
0
false
0
0.25
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
0
0
0
0
1
0
0
3
b58c6b98a21eab00d310f2afbbb05563242ab916
278
py
Python
tieba/__init__.py
changleibox/TiebaCrawler
d4f0af508660d4e6d38cdb410ce2711117d13f3a
[ "Apache-2.0" ]
21
2018-03-15T05:41:46.000Z
2021-07-27T00:06:15.000Z
tieba/__init__.py
changleibox/TiebaCrawler
d4f0af508660d4e6d38cdb410ce2711117d13f3a
[ "Apache-2.0" ]
3
2018-06-01T09:00:52.000Z
2020-04-16T11:39:02.000Z
tieba/__init__.py
changleibox/TiebaCrawler
d4f0af508660d4e6d38cdb410ce2711117d13f3a
[ "Apache-2.0" ]
9
2018-06-07T02:19:33.000Z
2021-07-29T02:55:18.000Z
# import logging # # from tieba.utils.logger import ColorFormatter # # logger = logging.getLogger() # logger.setLevel(logging.DEBUG) # logger.parent = None # # ch = logging.StreamHandler() # ch.setLevel(logging.DEBUG) # ch.setFormatter(ColorFormatter()) # logger.addHandler(ch)
21.384615
47
0.744604
31
278
6.677419
0.516129
0.193237
0.193237
0
0
0
0
0
0
0
0
0
0.111511
278
12
48
23.166667
0.838057
0.910072
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
1
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
3
b5a041e1cde3cf0571a8e8f6a05b5a57782455a2
711
py
Python
problems/graph/Solution1202.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/graph/Solution1202.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/graph/Solution1202.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
""" You are given a string s, and an array of pairs of indices in the string pairs where pairs[i] = [a, b] indicates 2 indices(0-indexed) of the string. You can swap the characters at any pair of indices in the given pairs any number of times. Return the lexicographically smallest string that s can be cha...
35.55
80
0.670886
123
711
3.878049
0.569106
0.037736
0.046122
0.0587
0
0
0
0
0
0
0
0.033333
0.240506
711
19
81
37.421053
0.85
0.881857
0
0
0
0
0
0
0
0
0
0
0
1
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
a90ba5106d07a36e8e2a1521d0981f00e1ee2be5
1,877
py
Python
tests/test_scramble.py
aflag/scramble
635097937e0d756e5c4b575b1ed48d8baafcf56a
[ "MIT" ]
null
null
null
tests/test_scramble.py
aflag/scramble
635097937e0d756e5c4b575b1ed48d8baafcf56a
[ "MIT" ]
null
null
null
tests/test_scramble.py
aflag/scramble
635097937e0d756e5c4b575b1ed48d8baafcf56a
[ "MIT" ]
null
null
null
import unittest import scramble class GetDistanceTestCase(unittest.TestCase): def test_different_sizes(self): self.assertRaises(AssertionError, scramble.get_anagram_distance, "asd", "asdf") def test_empty_string(self): self.assertEqual(scramble.get_anagram_distance("", ""), 0) def test...
27.602941
87
0.62227
205
1,877
5.502439
0.292683
0.080674
0.224291
0.191489
0.470745
0.432624
0.246454
0.153369
0.153369
0.108156
0
0.007628
0.231753
1,877
67
88
28.014925
0.774619
0
0
0.12766
0
0
0.042621
0
0
0
0
0
0.319149
1
0.276596
false
0
0.042553
0
0.382979
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
a9254ee142f1fef85de58f0fb302dd8087e3185d
157
py
Python
testing/time.py
aheadley/pynemap
f2aa373e7c43755ce73c0a60110b609018cd2dcb
[ "MIT" ]
6
2015-10-15T08:28:19.000Z
2021-11-17T23:02:02.000Z
testing/time.py
aheadley/pynemap
f2aa373e7c43755ce73c0a60110b609018cd2dcb
[ "MIT" ]
null
null
null
testing/time.py
aheadley/pynemap
f2aa373e7c43755ce73c0a60110b609018cd2dcb
[ "MIT" ]
null
null
null
#!/usr/bin/python import time a = time.clock() b = time.time() time.sleep(5) print 'clock: %s' % (time.clock() - a) print 'time: %s' % (time.time() - b)
13.083333
38
0.579618
26
157
3.5
0.461538
0.263736
0
0
0
0
0
0
0
0
0
0.007752
0.178344
157
11
39
14.272727
0.697674
0.101911
0
0
0
0
0.121429
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
a92645168f4b1e6436d49d895f4555712ed1f920
6,509
py
Python
pyTMCL/motor.py
LukeSkywalker92/pyTMCL
a1952dba03fce398d9ae4e6fd209db28f8354128
[ "MIT" ]
5
2019-04-04T15:17:48.000Z
2021-06-12T19:09:35.000Z
pyTMCL/motor.py
LukeSkywalker92/pyTMCL
a1952dba03fce398d9ae4e6fd209db28f8354128
[ "MIT" ]
5
2019-12-02T15:28:40.000Z
2021-07-02T07:53:07.000Z
pyTMCL/motor.py
LukeSkywalker92/pyTMCL
a1952dba03fce398d9ae4e6fd209db28f8354128
[ "MIT" ]
null
null
null
from .commands import Command from .trigger_thread import TriggerThread class Module(object): """ Represents a single TMCM module present on the bus. """ def __init__(self, bus, address=1): """ :param bus: A Bus instance that is connected to one or more ...
26.352227
84
0.622062
842
6,509
4.660333
0.168646
0.033894
0.057085
0.064985
0.454383
0.265036
0.197757
0.152396
0.137105
0.095311
0
0.016264
0.282071
6,509
246
85
26.45935
0.823454
0.076356
0
0.233129
0
0
0
0
0
0
0
0
0
1
0.294479
false
0.006135
0.01227
0.116564
0.533742
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a945e09b2bd5310d67e15a6c8de9869d2dd5ffcf
557
py
Python
slender/tests/set/test_isdisjoint.py
torokmark/slender
3bf815e22f7802ba48706f31ba608cf609e23e68
[ "Apache-2.0" ]
1
2020-01-10T21:51:46.000Z
2020-01-10T21:51:46.000Z
slender/tests/set/test_isdisjoint.py
torokmark/slender
3bf815e22f7802ba48706f31ba608cf609e23e68
[ "Apache-2.0" ]
null
null
null
slender/tests/set/test_isdisjoint.py
torokmark/slender
3bf815e22f7802ba48706f31ba608cf609e23e68
[ "Apache-2.0" ]
null
null
null
from unittest import TestCase from expects import expect, equal, raise_error, be_false, be_true from slender import Set class TestIsdisjoint(TestCase): def test_isdisjoint_if_have_intersection(self): e = Set({1, 2, 3, 4}) expect(e.isdisjoint({1, 2, 7})).to(be_false) def test_isdisjoint_if_...
24.217391
66
0.64632
85
557
4.023529
0.423529
0.023392
0.149123
0.166667
0.201754
0.201754
0.169591
0.169591
0.169591
0.169591
0
0.038813
0.213645
557
22
67
25.318182
0.742009
0
0
0.153846
0
0
0.005425
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0
0.538462
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
1
0
0
3
a967c958d49674e66c8a367f50c5722afdfd5f29
666
py
Python
cursoemvideo/ex009.py
rafaelsantosmg/cev_python3
2fa2561b46409bebbd6a2020c60aa8f946fe6244
[ "MIT" ]
1
2021-03-22T03:08:41.000Z
2021-03-22T03:08:41.000Z
cursoemvideo/ex009.py
rafaelsantosmg/cev_python3
2fa2561b46409bebbd6a2020c60aa8f946fe6244
[ "MIT" ]
null
null
null
cursoemvideo/ex009.py
rafaelsantosmg/cev_python3
2fa2561b46409bebbd6a2020c60aa8f946fe6244
[ "MIT" ]
null
null
null
"""Faça um programa que leia um número inteiro na tela e mostre sua tabuada.""" from utilidadescev.dado import leiaint from utilidadescev.string import linha, cabeçalho linha(45, 'verde') n = leiaint('Digite um número para mostrar sua tabuada: ') linha(45, 'verde') cabeçalho(f' TABUADA DO {n} ', 20, 'azul', '=', '-')...
30.272727
79
0.557057
123
666
3.01626
0.365854
0.161725
0.188679
0.215633
0
0
0
0
0
0
0
0.060952
0.211712
666
21
80
31.714286
0.645714
0.10961
0
0.222222
0
0
0.480409
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.555556
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
1
0
3
a98bac73a91c0dada254a675906484fb99709fa4
7,300
py
Python
tarski/formula.py
rmellema/tarski.py
9ae63478776e70e334a2f72e4a0bc2895b800781
[ "MIT" ]
null
null
null
tarski/formula.py
rmellema/tarski.py
9ae63478776e70e334a2f72e4a0bc2895b800781
[ "MIT" ]
1
2018-03-09T11:13:48.000Z
2018-03-09T11:13:48.000Z
tarski/formula.py
rmellema/tarski.py
9ae63478776e70e334a2f72e4a0bc2895b800781
[ "MIT" ]
null
null
null
""" A module for representing first order logical formulas, as given in Language, Proof, and Logic by Barwise and Etchmody. Formulas can be created using the classes described in this module. For convenience, conjunctions, disjunctions, and negations can also be created using ``&``, ``|``, and ``~`` respectively. This...
31.73913
99
0.651781
907
7,300
5.051819
0.198456
0.069839
0.054998
0.037102
0.398298
0.350065
0.285465
0.278481
0.242252
0.233741
0
0.000538
0.236164
7,300
229
100
31.877729
0.821198
0.281918
0
0.414474
0
0
0.149246
0
0
0
0
0
0
1
0.322368
false
0
0.013158
0.197368
0.671053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a99072112108aabe0232f93109b264a3fdb9f69d
384
py
Python
maintenance/replace_header.py
IMTEK-Simulation/python-skeleton
a884ad9c87272047cd99f1171e7d9207b2e692e4
[ "MIT" ]
null
null
null
maintenance/replace_header.py
IMTEK-Simulation/python-skeleton
a884ad9c87272047cd99f1171e7d9207b2e692e4
[ "MIT" ]
2
2021-05-19T11:19:39.000Z
2021-05-20T20:50:19.000Z
maintenance/replace_header.py
IMTEK-Simulation/python-skeleton
a884ad9c87272047cd99f1171e7d9207b2e692e4
[ "MIT" ]
1
2021-05-20T11:52:52.000Z
2021-05-20T11:52:52.000Z
# # import sys file_lines = open(sys.argv[1], 'r').readlines() header_lines = sys.stdin.readlines() while file_lines[0].startswith('#'): file_lines = file_lines[1:] file_lines.insert(0, '#\n') for header_line in header_lines[::-1]: file_lines.insert(0, '# {}'.format(header_line).strip() + '\n') file_lines....
20.210526
67
0.664063
59
384
4.118644
0.389831
0.296296
0.185185
0.197531
0.255144
0.18107
0
0
0
0
0
0.023599
0.117188
384
18
68
21.333333
0.693215
0
0
0.2
0
0
0.039267
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a99c1edb026b51b28352fe6c3ce6bb3b4c465504
38,061
py
Python
python/openvds/volumedataaccess.py
wadesalazar/open-vds2
71b6a49f39f79c913b1a560be1869c8bd391de19
[ "Apache-2.0" ]
null
null
null
python/openvds/volumedataaccess.py
wadesalazar/open-vds2
71b6a49f39f79c913b1a560be1869c8bd391de19
[ "Apache-2.0" ]
null
null
null
python/openvds/volumedataaccess.py
wadesalazar/open-vds2
71b6a49f39f79c913b1a560be1869c8bd391de19
[ "Apache-2.0" ]
null
null
null
############################################################################ # Copyright 2019 The Open Group # Copyright 2019 Bluware, 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 # #...
48.733675
341
0.713407
3,832
38,061
7.030793
0.124217
0.059572
0.03849
0.026724
0.567107
0.550367
0.455311
0.424319
0.414038
0.401789
0
0.019147
0.193164
38,061
780
342
48.796154
0.858185
0.294291
0
0.268786
0
0
0.014592
0
0
0
0
0
0
1
0.251445
false
0
0.020231
0.153179
0.511561
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a9a2923ce62270c6c1368c360bfe252550b7ba5c
270
py
Python
plantsim/error_code.py
tmdt-buw/python-plantsim
464fe5f50b7c7553e36d6a3a2347c98a3905078d
[ "MIT" ]
3
2021-06-09T21:24:14.000Z
2021-11-09T12:00:49.000Z
plantsim/error_code.py
tmdt-buw/python-plantsim
464fe5f50b7c7553e36d6a3a2347c98a3905078d
[ "MIT" ]
1
2021-11-16T11:00:48.000Z
2021-11-30T18:00:38.000Z
plantsim/error_code.py
tmdt-buw/python-plantsim
464fe5f50b7c7553e36d6a3a2347c98a3905078d
[ "MIT" ]
5
2021-01-20T09:26:49.000Z
2022-02-03T12:21:09.000Z
""" Copyright (c) 2021 Tilo van Ekeris / TMDT, University of Wuppertal Distributed under the MIT license, see the accompanying file LICENSE or https://opensource.org/licenses/MIT """ class ErrorCode: @staticmethod def extract(args): return args[2][5]
20.769231
66
0.714815
36
270
5.361111
0.888889
0
0
0
0
0
0
0
0
0
0
0.027397
0.188889
270
12
67
22.5
0.853881
0.644444
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8d3202e5992fbd718cf873147977b17248a84294
1,425
py
Python
gnosis/eth/tests/ethereum_test_case.py
volut-staging/gnosis-py
9d91ab875fbf23cacdea241afa9cd044b45ea231
[ "MIT" ]
null
null
null
gnosis/eth/tests/ethereum_test_case.py
volut-staging/gnosis-py
9d91ab875fbf23cacdea241afa9cd044b45ea231
[ "MIT" ]
null
null
null
gnosis/eth/tests/ethereum_test_case.py
volut-staging/gnosis-py
9d91ab875fbf23cacdea241afa9cd044b45ea231
[ "MIT" ]
null
null
null
import logging from django.conf import settings from eth_account import Account from eth_account.signers.local import LocalAccount from ..ethereum_service import EthereumServiceProvider from .utils import deploy_example_erc20, send_tx logger = logging.getLogger(__name__) class EthereumTestCaseMixin: @classmet...
34.756098
113
0.699649
176
1,425
5.431818
0.329545
0.031381
0.079498
0.072176
0.037657
0
0
0
0
0
0
0.015111
0.210526
1,425
40
114
35.625
0.834667
0
0
0
0
0
0.013333
0
0
0
0
0
0
1
0.206897
false
0
0.206897
0.137931
0.62069
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8d4f8194b1931e2b3f4911734ab6a3601778be15
451
py
Python
rl/policies/__init__.py
MichaelKonobeev/rl
deea2390da83c953d75f7154368efe837942b207
[ "MIT" ]
2
2018-08-02T19:42:05.000Z
2020-02-08T18:57:42.000Z
rl/policies/__init__.py
MichaelKonobeev/rl
deea2390da83c953d75f7154368efe837942b207
[ "MIT" ]
null
null
null
rl/policies/__init__.py
MichaelKonobeev/rl
deea2390da83c953d75f7154368efe837942b207
[ "MIT" ]
null
null
null
from .core import (BasePolicy, PolicyCore, MLPCore, NIPSDQNCore, NatureDQNCore, UniverseStarterCore) from .actor_critic import (ActorCriticPolicy, MLPPolicy, CategoricalAc...
37.583333
63
0.527716
23
451
10.26087
0.826087
0
0
0
0
0
0
0
0
0
0
0
0.436807
451
11
64
41
0.929134
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.272727
0
0.272727
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8d7b002c20fe7f5b49fd7a5fb7b4ea381c62e587
529
py
Python
cfg/bubblesub/__main__.py
rr-/dotfiles
4a684c43a5714a3312b42b445e5ba9ae1fab0d1a
[ "MIT" ]
16
2015-06-05T12:57:44.000Z
2021-08-05T23:49:42.000Z
cfg/bubblesub/__main__.py
rr-/dotfiles
4a684c43a5714a3312b42b445e5ba9ae1fab0d1a
[ "MIT" ]
6
2015-11-01T18:18:26.000Z
2020-10-06T09:17:29.000Z
cfg/bubblesub/__main__.py
rr-/dotfiles
4a684c43a5714a3312b42b445e5ba9ae1fab0d1a
[ "MIT" ]
6
2015-10-31T18:53:12.000Z
2020-11-30T18:03:06.000Z
from libdotfiles.packages import try_install from libdotfiles.util import distro_name if distro_name() == "arch": try_install("python-pyqt5") try_install("ffms2-git") try_install("fftw") elif distro_name() == "linuxmint": try_install("python3-setuptools") try_install("python3-pip") try_install(...
29.388889
44
0.705104
68
529
5.25
0.441176
0.364146
0.190476
0
0
0
0
0
0
0
0
0.022173
0.147448
529
17
45
31.117647
0.769401
0
0
0
0
0
0.266541
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8d8a813a3b4af78330eb0d1aa0a1f0babcb12420
63
py
Python
problems/008.string-to-integer-atoi/solution.py
vv13/leetcode-problems-crawler
e2abf2dd1929b5a80c008f49959429f4a945b7ad
[ "MIT" ]
3
2020-05-20T14:06:55.000Z
2022-01-14T07:30:00.000Z
problems/008.string-to-integer-atoi/solution.py
vv13/leetcode-problems-crawler
e2abf2dd1929b5a80c008f49959429f4a945b7ad
[ "MIT" ]
1
2020-05-18T16:05:45.000Z
2020-05-22T10:18:11.000Z
problems/008.string-to-integer-atoi/solution.py
vv13/leetcode-problems-crawler
e2abf2dd1929b5a80c008f49959429f4a945b7ad
[ "MIT" ]
1
2021-05-29T15:45:07.000Z
2021-05-29T15:45:07.000Z
class Solution: def myAtoi(self, str: str) -> int:
21
38
0.555556
8
63
4.375
0.875
0
0
0
0
0
0
0
0
0
0
0
0.31746
63
3
39
21
0.813953
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
8d8fb56cb35d5762829771cf0234d7976ed0530f
13,391
py
Python
demo/load_examples.py
sky-dust-intelligence-bv/verseagility
27550344c90e5339b507f0f29e20b3da8340ee0a
[ "MIT" ]
15
2020-09-07T17:27:11.000Z
2021-12-16T11:17:21.000Z
demo/load_examples.py
sky-dust-intelligence-bv/verseagility
27550344c90e5339b507f0f29e20b3da8340ee0a
[ "MIT" ]
4
2021-08-04T02:26:19.000Z
2022-01-07T01:15:52.000Z
demo/load_examples.py
sky-dust-intelligence-bv/verseagility
27550344c90e5339b507f0f29e20b3da8340ee0a
[ "MIT" ]
8
2020-09-08T17:15:55.000Z
2021-11-10T08:17:11.000Z
'''Module with language and example definition of Verseagility Dashboard''' import os def get_languages(): '''Define and load languages for dashboard''' LANGUAGES = { "English": "en", "German": "de", "French": "fr", "Italian": "it", "Spanish": "es" } retur...
109.762295
1,429
0.684639
1,957
13,391
4.674502
0.442514
0.021316
0.013774
0.018365
0.072693
0.059467
0.037167
0.031482
0.024705
0.024705
0
0.012089
0.24636
13,391
122
1,430
109.762295
0.893876
0.04279
0
0.280374
0
0.196262
0.791136
0.004143
0
0
0.003127
0
0
1
0.028037
false
0
0.009346
0
0.065421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a5cc2a2e23767fb4af52d06d2db5fe70641944b8
66
py
Python
classify_text_plz/typehelpers.py
DNGros/R-U-A-Robot
f2b9331f21dd0d2a237a9ed968c2b609c4ad979d
[ "MIT" ]
null
null
null
classify_text_plz/typehelpers.py
DNGros/R-U-A-Robot
f2b9331f21dd0d2a237a9ed968c2b609c4ad979d
[ "MIT" ]
null
null
null
classify_text_plz/typehelpers.py
DNGros/R-U-A-Robot
f2b9331f21dd0d2a237a9ed968c2b609c4ad979d
[ "MIT" ]
null
null
null
from typing import Union CLASS_LABEL_TYPE = Union[str, bool, int]
22
40
0.787879
11
66
4.545455
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.136364
66
3
40
22
0.877193
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
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
0
0
0
1
0
0
0
0
3
a5dcc3de479fcb9d5415b3a09c46640fc9efcf3d
25
py
Python
atest/testdata/variables/variables_in_import_settings/variables2.py
phil-davis/robotframework
4d4ce686cbe01e293bb86ea6ff34330e8c45fc43
[ "ECL-2.0", "Apache-2.0" ]
7,073
2015-01-01T17:19:16.000Z
2022-03-31T22:01:29.000Z
atest/testdata/variables/variables_in_import_settings/variables2.py
phil-davis/robotframework
4d4ce686cbe01e293bb86ea6ff34330e8c45fc43
[ "ECL-2.0", "Apache-2.0" ]
2,412
2015-01-02T09:29:05.000Z
2022-03-31T13:10:46.000Z
atest/testdata/variables/variables_in_import_settings/variables2.py
phil-davis/robotframework
4d4ce686cbe01e293bb86ea6ff34330e8c45fc43
[ "ECL-2.0", "Apache-2.0" ]
2,298
2015-01-03T02:47:15.000Z
2022-03-31T02:00:16.000Z
greetings = 'Hi, Tellus!'
25
25
0.68
3
25
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.12
25
1
25
25
0.772727
0
0
0
0
0
0.423077
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a5f0d2bfdad2ae19d8b4dc5122d3672bb543f527
87
py
Python
game.py
MehdiSaffar/cmpe487-term-project
92d534ae42c532356b7d1ae87d69b16736424050
[ "MIT" ]
null
null
null
game.py
MehdiSaffar/cmpe487-term-project
92d534ae42c532356b7d1ae87d69b16736424050
[ "MIT" ]
null
null
null
game.py
MehdiSaffar/cmpe487-term-project
92d534ae42c532356b7d1ae87d69b16736424050
[ "MIT" ]
null
null
null
from package.App import App if __name__ == '__main__': app = App() app.main()
14.5
27
0.62069
12
87
3.833333
0.583333
0.26087
0
0
0
0
0
0
0
0
0
0
0.241379
87
5
28
17.4
0.69697
0
0
0
0
0
0.091954
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
a5f91025ec68709c068f5127295bc456f13780bb
723
py
Python
tests/assertions/assertions.py
e-dang/Autogarden
b15217e5d4755fc028b8dc4255cbdcb77ead80f4
[ "MIT" ]
null
null
null
tests/assertions/assertions.py
e-dang/Autogarden
b15217e5d4755fc028b8dc4255cbdcb77ead80f4
[ "MIT" ]
null
null
null
tests/assertions/assertions.py
e-dang/Autogarden
b15217e5d4755fc028b8dc4255cbdcb77ead80f4
[ "MIT" ]
null
null
null
from datetime import timedelta from typing import Any, Dict, Iterable from django.db.models import Model def assert_image_files_equal(image_path1: str, image_path2: str) -> None: assert image_path1.split('/')[-1] == image_path2.split('/')[-1] def assert_unordered_data_eq(data: Iterable[Any], expected_fields: I...
32.863636
125
0.738589
100
723
5.13
0.45
0.070175
0
0
0
0
0
0
0
0
0
0.017742
0.142462
723
21
126
34.428571
0.809677
0
0
0
0
0
0.002766
0
0
0
0
0
0.666667
1
0.333333
false
0
0.25
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
1
0
0
3
5701607cc7e0516f0563de9f738d22e77aba03a5
95
py
Python
utilities/usage/apps.py
Semprini/cbe-telco
c0385c2572a4059a2882c2c40fe79f6a5f807f6c
[ "Apache-2.0" ]
1
2019-02-26T21:15:47.000Z
2019-02-26T21:15:47.000Z
utilities/usage/apps.py
Semprini/cbe-telco
c0385c2572a4059a2882c2c40fe79f6a5f807f6c
[ "Apache-2.0" ]
null
null
null
utilities/usage/apps.py
Semprini/cbe-telco
c0385c2572a4059a2882c2c40fe79f6a5f807f6c
[ "Apache-2.0" ]
2
2017-05-12T22:38:42.000Z
2021-07-16T13:51:40.000Z
from django.apps import AppConfig class UsageConfig(AppConfig): name = 'utilities.usage'
15.833333
33
0.757895
11
95
6.545455
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.157895
95
5
34
19
0.9
0
0
0
0
0
0.157895
0
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
1
0
0
0
0
3
57048e21d574768a35f44258d1e4957b2f987308
9,527
py
Python
loadstrels.py
bckramer/PocketAces
56e304e724a0f7427533d1bc910dbd2cd3953ac0
[ "MIT" ]
null
null
null
loadstrels.py
bckramer/PocketAces
56e304e724a0f7427533d1bc910dbd2cd3953ac0
[ "MIT" ]
null
null
null
loadstrels.py
bckramer/PocketAces
56e304e724a0f7427533d1bc910dbd2cd3953ac0
[ "MIT" ]
3
2018-06-26T14:50:45.000Z
2021-03-25T20:26:37.000Z
from Utils import * import cv2 from findcontours import * def loadPlayerStrels(): strels = [] two = cv2.imread('PlayerSE/2.PNG', cv2.IMREAD_GRAYSCALE) two = binarizeAndErode(two, 2, 1, 210, False) strels.append(two) three = cv2.imread('PlayerSE/3.PNG', cv2.IMREAD_GRAYSCALE) three = binarizeAn...
31.546358
75
0.650362
1,356
9,527
4.528024
0.067109
0.164169
0.109446
0.191531
0.806352
0.785505
0.682736
0.532573
0.440717
0.415961
0
0.070735
0.200168
9,527
302
76
31.546358
0.735039
0.003989
0
0.382609
0
0
0.09454
0.009802
0
0
0
0.003311
0
1
0.034783
false
0
0.013043
0
0.082609
0
0
0
0
null
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
57175b12d95bb1f24b0226cb0c4e24547e05d7bf
260
py
Python
authors/apps/article_tag/models.py
andela/ah-backend-dojo
f2b14f15c4af906da846cafe722f13868d58371f
[ "BSD-3-Clause" ]
3
2019-05-01T10:41:09.000Z
2021-04-25T22:17:20.000Z
authors/apps/article_tag/models.py
andela/ah-backend-dojo
f2b14f15c4af906da846cafe722f13868d58371f
[ "BSD-3-Clause" ]
24
2019-04-23T14:56:21.000Z
2021-12-13T19:58:37.000Z
authors/apps/article_tag/models.py
andela/ah-backend-dojo
f2b14f15c4af906da846cafe722f13868d58371f
[ "BSD-3-Clause" ]
4
2019-06-29T10:40:32.000Z
2022-01-04T11:44:53.000Z
from django.db import models from django.contrib.postgres.fields import ArrayField class ArticleTag(models.Model): """Model for single tag""" tag_text = models.CharField(unique=True, max_length=50) def __str__(self): return self.tag_text
26
59
0.734615
36
260
5.111111
0.722222
0.108696
0
0
0
0
0
0
0
0
0
0.009259
0.169231
260
9
60
28.888889
0.842593
0.076923
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
0
0
0
3
572b19a8649eec0cc8db31f9855385bd9b0cb209
120
py
Python
web/urls.py
PauBatlle/NewsMultirank
30f2f050bafdab1bf3902deac17c18ad5af648c0
[ "Apache-2.0" ]
null
null
null
web/urls.py
PauBatlle/NewsMultirank
30f2f050bafdab1bf3902deac17c18ad5af648c0
[ "Apache-2.0" ]
null
null
null
web/urls.py
PauBatlle/NewsMultirank
30f2f050bafdab1bf3902deac17c18ad5af648c0
[ "Apache-2.0" ]
1
2018-02-24T04:34:27.000Z
2018-02-24T04:34:27.000Z
from django.conf.urls import url from web.api import views urlpatterns = [ url(r'^prediction/$', views.predict), ]
17.142857
41
0.708333
17
120
5
0.764706
0
0
0
0
0
0
0
0
0
0
0
0.158333
120
6
42
20
0.841584
0
0
0
0
0
0.108333
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
0
0
0
3
574e1bc8388da494f2710b93f1d4502af2c77aff
261
py
Python
knowledge_graph/cli.py
MirkoLenz/Knowledge-Graph
b4c39b4482a9a98a8375fdef2b478506d4cd3b80
[ "Apache-2.0" ]
null
null
null
knowledge_graph/cli.py
MirkoLenz/Knowledge-Graph
b4c39b4482a9a98a8375fdef2b478506d4cd3b80
[ "Apache-2.0" ]
null
null
null
knowledge_graph/cli.py
MirkoLenz/Knowledge-Graph
b4c39b4482a9a98a8375fdef2b478506d4cd3b80
[ "Apache-2.0" ]
null
null
null
import click from . import convert_csv, import_csv, post_process @click.group(chain=True) def main(): pass main.add_command(convert_csv.main) main.add_command(import_csv.main) main.add_command(post_process.main) if __name__ == "__main__": main()
14.5
51
0.750958
39
261
4.589744
0.435897
0.117318
0.234637
0.156425
0.234637
0
0
0
0
0
0
0
0.1341
261
17
52
15.352941
0.792035
0
0
0
0
0
0.030651
0
0
0
0
0
0
1
0.1
true
0.1
0.3
0
0.4
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
93ce730e1d62c527e59b76fb24183619bab6adfe
252
py
Python
school_sdk/PyRsa/__init__.py
Ziki2001/new-school-sdk
b606e666888e1c9813e2f1a6a64bbede3744026e
[ "MIT" ]
9
2021-09-03T11:55:08.000Z
2022-01-29T04:42:01.000Z
school_sdk/PyRsa/__init__.py
Ziki2001/new-school-sdk
b606e666888e1c9813e2f1a6a64bbede3744026e
[ "MIT" ]
15
2022-01-06T08:45:47.000Z
2022-03-31T13:45:07.000Z
school_sdk/PyRsa/__init__.py
Ziki2001/new-school-sdk
b606e666888e1c9813e2f1a6a64bbede3744026e
[ "MIT" ]
6
2021-12-01T04:52:06.000Z
2022-01-29T04:42:04.000Z
# -*- coding: utf-8 -*- ''' :file: __init__.py :author: -Farmer :url: https://blog.farmer233.top :date: 2021/09/02 19:13:12 ''' from .pyrsa import RsaKey from .pyb64 import Base64 from .pyjsbn import Classic from .pyrng import ArcFour
19.384615
36
0.654762
36
252
4.472222
0.833333
0
0
0
0
0
0
0
0
0
0
0.108374
0.194444
252
12
37
21
0.684729
0.468254
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
93e06fd0c197e225e145c07f391a8d6981c1526f
383
py
Python
dgp/utils/cli_utils.py
visakii-work/dgp
51eed60bba0679399b73392bdb0935a4e2306604
[ "MIT" ]
46
2020-05-13T04:21:11.000Z
2022-03-14T02:05:28.000Z
dgp/utils/cli_utils.py
visakii-work/dgp
51eed60bba0679399b73392bdb0935a4e2306604
[ "MIT" ]
20
2020-12-28T02:49:38.000Z
2022-03-31T02:26:19.000Z
dgp/utils/cli_utils.py
visakii-work/dgp
51eed60bba0679399b73392bdb0935a4e2306604
[ "MIT" ]
45
2020-05-11T21:44:10.000Z
2022-03-28T06:55:28.000Z
# Copyright 2020 Toyota Research Institute. All rights reserved. """Various utility functions for Click options""" import functools def add_options(**kwargs): """Decorator function to add a list of Click options to a Click subcommand. """ def _add_options(func): return functools.reduce(lambda x, ...
29.461538
79
0.715405
51
383
5.27451
0.627451
0.111524
0.096654
0
0
0
0
0
0
0
0
0.012862
0.18799
383
12
80
31.916667
0.85209
0.48564
0
0
0
0
0.037634
0
0
0
0
0
0
1
0.4
false
0
0.2
0.2
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
0
1
1
0
0
3
93eafc7dfb184ed4110341f514fe6edf964bef97
114
py
Python
ppo/gym_ytopt/__init__.py
LoopTilingBenchmark/benchmark
52a3d2e70216552a498fd91de02a2fa9cb62122c
[ "BSD-2-Clause" ]
null
null
null
ppo/gym_ytopt/__init__.py
LoopTilingBenchmark/benchmark
52a3d2e70216552a498fd91de02a2fa9cb62122c
[ "BSD-2-Clause" ]
null
null
null
ppo/gym_ytopt/__init__.py
LoopTilingBenchmark/benchmark
52a3d2e70216552a498fd91de02a2fa9cb62122c
[ "BSD-2-Clause" ]
1
2019-10-25T21:51:12.000Z
2019-10-25T21:51:12.000Z
from gym.envs.registration import register register( id='nas-v0', entry_point='gym_ytopt.envs:NasEnv', )
16.285714
42
0.719298
16
114
5
0.8125
0
0
0
0
0
0
0
0
0
0
0.010309
0.149123
114
6
43
19
0.814433
0
0
0
0
0
0.236842
0.184211
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
93f17db0db5eec6a132e8a741dac2d91060f9efa
364
py
Python
rsv_life_checker_project/life_checker_app/forms.py
andrewkomkov/rsv_hack_2021_health
1aa3f7a2e5902059237908c3405f74a5783a4099
[ "Unlicense" ]
null
null
null
rsv_life_checker_project/life_checker_app/forms.py
andrewkomkov/rsv_hack_2021_health
1aa3f7a2e5902059237908c3405f74a5783a4099
[ "Unlicense" ]
null
null
null
rsv_life_checker_project/life_checker_app/forms.py
andrewkomkov/rsv_hack_2021_health
1aa3f7a2e5902059237908c3405f74a5783a4099
[ "Unlicense" ]
null
null
null
from django import forms # creating a form class InputForm(forms.Form): first_name = forms.CharField(max_length = 200) last_name = forms.CharField(max_length = 200) roll_number = forms.IntegerField( help_text = "Enter 6 digit roll number" ) password = for...
33.090909
62
0.642857
42
364
5.428571
0.642857
0.184211
0.157895
0.184211
0.263158
0.263158
0
0
0
0
0
0.026515
0.274725
364
11
62
33.090909
0.837121
0.041209
0
0
0
0
0.072046
0
0
0
0
0
0
1
0
false
0.125
0.125
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
9e124a4eff14de81ac99d932fe3e222838061a5a
471
py
Python
django_sso_app/core/api/authentication.py
paiuolo/django-sso-app
75b96c669dc0b176dc77e08f018a3e97d259f636
[ "MIT" ]
1
2021-11-16T15:16:08.000Z
2021-11-16T15:16:08.000Z
django_sso_app/core/api/authentication.py
paiuolo/django-sso-app
75b96c669dc0b176dc77e08f018a3e97d259f636
[ "MIT" ]
null
null
null
django_sso_app/core/api/authentication.py
paiuolo/django-sso-app
75b96c669dc0b176dc77e08f018a3e97d259f636
[ "MIT" ]
null
null
null
import logging from django.contrib.auth import get_user_model from rest_framework.authentication import SessionAuthentication User = get_user_model() logger = logging.getLogger('django_sso_app') class DjangoSsoApiAuthentication(SessionAuthentication): """ Returns authenticated user if set by authenticatio...
23.55
78
0.760085
51
471
6.862745
0.705882
0.04
0.068571
0
0
0
0
0
0
0
0
0
0.171975
471
19
79
24.789474
0.897436
0.265393
0
0
0
0
0.043344
0
0
0
0
0
0
1
0.125
false
0.125
0.375
0
0.625
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
1
0
1
0
0
3
9e1d4d0b4b8407aac04a0910fe19743f7e97437f
229
py
Python
wiphy/util/__init__.py
ishikawalab/wiphy
00131ee4ad2560d9b39f27fd3c2508d810e84802
[ "MIT" ]
4
2021-03-13T15:17:26.000Z
2022-03-13T07:51:11.000Z
wiphy/util/__init__.py
ishikawalab/wiphy
00131ee4ad2560d9b39f27fd3c2508d810e84802
[ "MIT" ]
null
null
null
wiphy/util/__init__.py
ishikawalab/wiphy
00131ee4ad2560d9b39f27fd3c2508d810e84802
[ "MIT" ]
null
null
null
# Copyright (c) WiPhy Development Team # This library is released under the MIT License, see LICENSE.txt __all__ = ['general', 'plot', 'im', 'chaos'] from . import general from . import plot from . import im from . import chaos
25.444444
65
0.720524
33
229
4.878788
0.666667
0.248447
0
0
0
0
0
0
0
0
0
0
0.174672
229
8
66
28.625
0.851852
0.436681
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
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
1
0
0
0
0
3
9e1e60301ffae368ea2d3e84bb1ea0adf99f5985
883
py
Python
django_sonic_screwdriver/apps/admin_comments/admin.py
rhazdon/django-sonic-screwdriver
0154466bb9b6cf0436c063b5129db0ad4b1f8f54
[ "MIT" ]
5
2015-11-28T08:51:07.000Z
2019-09-15T10:37:23.000Z
django_sonic_screwdriver/apps/admin_comments/admin.py
rhazdon/django-sonic-screwdriver
0154466bb9b6cf0436c063b5129db0ad4b1f8f54
[ "MIT" ]
9
2020-01-21T13:10:22.000Z
2021-09-22T18:35:12.000Z
django_sonic_screwdriver/apps/admin_comments/admin.py
rhazdon/django-sonic-screwdriver
0154466bb9b6cf0436c063b5129db0ad4b1f8f54
[ "MIT" ]
1
2021-12-01T00:04:46.000Z
2021-12-01T00:04:46.000Z
from django.contrib.contenttypes.admin import GenericTabularInline from .forms import CommentInlineForm, CommentInlineFormset from .models import Comment class CommentInline(GenericTabularInline): model = Comment readonly_fields = ["user", "created_at"] def __init__(self, *args, **kwargs): self...
31.535714
87
0.708947
96
883
6.322917
0.447917
0.088962
0.108731
0.082372
0
0
0
0
0
0
0
0.001403
0.192525
883
27
88
32.703704
0.84993
0
0
0
0
0
0.028313
0
0
0
0
0
0
1
0.210526
false
0
0.157895
0.105263
0.684211
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f548f52045995a8ee78cf13bd49a39b15f63e180
1,770
py
Python
restalchemy/api/actions.py
phantomii/restalchemy
8f52ccdd354e781ff02ad43a592ef6bcad7e4468
[ "Apache-2.0" ]
1
2019-07-05T09:01:00.000Z
2019-07-05T09:01:00.000Z
restalchemy/api/actions.py
phantomii/restalchemy
8f52ccdd354e781ff02ad43a592ef6bcad7e4468
[ "Apache-2.0" ]
2
2019-02-06T13:59:05.000Z
2019-12-24T16:50:50.000Z
restalchemy/api/actions.py
phantomii/restalchemy
8f52ccdd354e781ff02ad43a592ef6bcad7e4468
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright 2014 Eugene Frolov <eugene@frolov.net.ru> # # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # ...
26.029412
78
0.642938
243
1,770
4.613169
0.415638
0.071365
0.057092
0.040143
0.080285
0.080285
0.080285
0
0
0
0
0.008321
0.253107
1,770
67
79
26.41791
0.839637
0.375141
0
0.090909
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.030303
0.181818
0.69697
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f5509ef7545e5776231ecd02acc6784e1fbee403
411
py
Python
AdventOfCode/Python/day1.py
AlfonsoCampodonico/AdventOfCode-2021
bcf6102fdd90310253f912608d8de048e9d52d37
[ "MIT" ]
null
null
null
AdventOfCode/Python/day1.py
AlfonsoCampodonico/AdventOfCode-2021
bcf6102fdd90310253f912608d8de048e9d52d37
[ "MIT" ]
null
null
null
AdventOfCode/Python/day1.py
AlfonsoCampodonico/AdventOfCode-2021
bcf6102fdd90310253f912608d8de048e9d52d37
[ "MIT" ]
null
null
null
import numpy as np def read_input(): with open('../Inputs/01.txt', 'r') as f: return np.array(f.read().split('\n'), dtype='int') def part_01(x): # Number of increases return np.sum((x[1:] - x[0:-1]) > 0) def part_02(x): # Number of increases of 3 element rolling window return part_01(...
22.833333
58
0.613139
73
411
3.356164
0.506849
0.073469
0.057143
0.146939
0
0
0
0
0
0
0
0.054711
0.199513
411
18
59
22.833333
0.68997
0.16545
0
0
0
0
0.079412
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.181818
0.636364
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f55224387ddc1ab120f3cdde985f6b847ab07b6b
249
py
Python
__init__.py
el-ric/cfdi_mexico
e5fe364396d1b97a82d10ff5bcd88bada00d1b47
[ "MIT" ]
null
null
null
__init__.py
el-ric/cfdi_mexico
e5fe364396d1b97a82d10ff5bcd88bada00d1b47
[ "MIT" ]
null
null
null
__init__.py
el-ric/cfdi_mexico
e5fe364396d1b97a82d10ff5bcd88bada00d1b47
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from . import controllers from . import partner from . import catalogos_sat from . import res_company from . import account_invoice from . import sale from . import product from . import cfdi from . import cfdi_pagos
24.9
30
0.730924
34
249
5.235294
0.5
0.505618
0.157303
0
0
0
0
0
0
0
0
0.005
0.196787
249
10
31
24.9
0.885
0.084337
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3