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
89f4b89220e6c9020137c93fa4b93f91dde4a3bd
487
py
Python
push_notifications/ser.py
omss24/django-push-notifications
d3863262addc235a021eeeb08a0c17ecc28df668
[ "MIT" ]
null
null
null
push_notifications/ser.py
omss24/django-push-notifications
d3863262addc235a021eeeb08a0c17ecc28df668
[ "MIT" ]
null
null
null
push_notifications/ser.py
omss24/django-push-notifications
d3863262addc235a021eeeb08a0c17ecc28df668
[ "MIT" ]
null
null
null
from rest_framework import serializers from push_notifications.models import Device, GCMDevice, APNSDevice from consultant.ser import ConsultantTokenSer class DeviceSer(serializers.ModelSerializer): user = ConsultantTokenSer() class Meta: model = Device class GCMDeviceSer(serializers.ModelSerializer): user = Con...
24.35
67
0.811088
48
487
8.1875
0.458333
0.234097
0.229008
0.366412
0.473282
0.473282
0.473282
0
0
0
0
0
0.125257
487
20
68
24.35
0.922535
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.8
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
1
0
0
4
d6097551cb5520f6c583c8de98cbd7f8032487b8
2,053
py
Python
python/rikai/spark/sql/generated/RikaiModelSchemaVisitor.py
chunyang/rikai
9eb7f0da68e6c1e27e74de324afdbd8b375df0c3
[ "Apache-2.0" ]
null
null
null
python/rikai/spark/sql/generated/RikaiModelSchemaVisitor.py
chunyang/rikai
9eb7f0da68e6c1e27e74de324afdbd8b375df0c3
[ "Apache-2.0" ]
null
null
null
python/rikai/spark/sql/generated/RikaiModelSchemaVisitor.py
chunyang/rikai
9eb7f0da68e6c1e27e74de324afdbd8b375df0c3
[ "Apache-2.0" ]
null
null
null
# Generated from src/main/antlr4/org/apache/spark/sql/ml/parser/RikaiModelSchema.g4 by ANTLR 4.7.2 from antlr4 import * if __name__ is not None and "." in __name__: from .RikaiModelSchemaParser import RikaiModelSchemaParser else: from RikaiModelSchemaParser import RikaiModelSchemaParser # This class defines a ...
38.735849
100
0.791525
201
2,053
8.044776
0.358209
0.033395
0.055659
0.100186
0.371058
0.371058
0.345083
0.316017
0.316017
0.316017
0
0.003436
0.149537
2,053
53
101
38.735849
0.92268
0.357526
0
0.347826
1
0
0.000769
0
0
0
0
0
0
1
0.347826
false
0
0.130435
0.347826
0.869565
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
1
0
0
4
d625e5e5ddd3743f74d898ae58c9e4710b27e274
5,586
py
Python
autumn/__init__.py
monash-emu/AuTuMN
fa3b81ef54cf561e0e7364a48f4ff96585dc3310
[ "BSD-2-Clause-FreeBSD" ]
14
2020-03-11T06:15:30.000Z
2022-03-09T03:38:35.000Z
autumn/__init__.py
monash-emu/AuTuMN
fa3b81ef54cf561e0e7364a48f4ff96585dc3310
[ "BSD-2-Clause-FreeBSD" ]
96
2020-01-29T05:10:29.000Z
2022-03-31T01:48:46.000Z
autumn/__init__.py
monash-emu/AuTuMN
fa3b81ef54cf561e0e7364a48f4ff96585dc3310
[ "BSD-2-Clause-FreeBSD" ]
10
2020-04-24T00:38:00.000Z
2021-08-19T16:19:03.000Z
import os import warnings # Ignore future warnings they're annoying. warnings.simplefilter(action="ignore", category=FutureWarning) # Ensure NumPy only uses 1 thread for matrix multiplication, # because NumPy is stupid and tries to use heaps of threads, # which is quite wasteful and makes our models run way more slo...
28.943005
100
0.786609
710
5,586
5.959155
0.177465
0.119121
0.198535
0.221224
0.668164
0.482628
0.399433
0.090995
0.023635
0
0
0.034828
0.105621
5,586
192
101
29.09375
0.81205
0.116899
0
0.342657
0
0
0.431217
0.42674
0
0
0
0.005208
0
1
0
true
0
0.027972
0
0.027972
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
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
c384e185a028dbe0d164fb2a713c781e03517dfc
146
py
Python
exercise/traceback_test.py
progzc/PythonDemo
0515fee3511bc132bfddf480014f61ce52080616
[ "Apache-2.0" ]
null
null
null
exercise/traceback_test.py
progzc/PythonDemo
0515fee3511bc132bfddf480014f61ce52080616
[ "Apache-2.0" ]
null
null
null
exercise/traceback_test.py
progzc/PythonDemo
0515fee3511bc132bfddf480014f61ce52080616
[ "Apache-2.0" ]
null
null
null
import traceback # 使用traceback模块打印异常信息 # 注意顺序的随机性 try: print('-------------------------') print(1 / 0) except: traceback.print_exc()
14.6
38
0.554795
13
146
6.153846
0.769231
0
0
0
0
0
0
0
0
0
0
0.016667
0.178082
146
9
39
16.222222
0.65
0.191781
0
0
0
0
0.217391
0.217391
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0.5
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
1
0
4
c3a24d5a1423176a71ca5d88b9915517f13181f5
34,574
py
Python
tests/test_gmm.py
EricKightley/sparseklearn
d5d1f42c0572972ea3f4702734f82066ae7270e3
[ "MIT" ]
3
2018-02-08T08:35:54.000Z
2020-02-19T21:50:28.000Z
tests/test_gmm.py
EricKightley/sparseklearn
d5d1f42c0572972ea3f4702734f82066ae7270e3
[ "MIT" ]
1
2020-07-07T05:23:52.000Z
2020-07-08T13:57:48.000Z
tests/test_gmm.py
EricKightley/sparseklearn
d5d1f42c0572972ea3f4702734f82066ae7270e3
[ "MIT" ]
1
2019-10-07T03:56:41.000Z
2019-10-07T03:56:41.000Z
import unittest import numpy as np from sklearn.mixture.gaussian_mixture import _compute_precision_cholesky from sklearn.mixture.gaussian_mixture import _estimate_log_gaussian_prob from sklearn.mixture.gaussian_mixture import _estimate_gaussian_parameters from sklearn.mixture import GaussianMixture as GMSKL from sparse...
51.220741
102
0.586857
4,189
34,574
4.531392
0.0783
0.049942
0.023759
0.042777
0.7662
0.740333
0.714256
0.697345
0.693868
0.688284
0
0.010458
0.297536
34,574
674
103
51.296736
0.771112
0.135362
0
0.720081
0
0
0.006442
0
0
0
0
0.002967
0.087221
1
0.06288
false
0
0.016227
0
0.085193
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c3c29a2e5b1177c7e147cfa8bdfedded391635e1
337
py
Python
CangJie/utils/testing.py
bigdata-ustc/CangJie
a3264082fa0432d257b5c4722b14c55f9092a411
[ "MIT" ]
2
2020-03-04T02:27:29.000Z
2020-05-22T04:07:24.000Z
CangJie/utils/testing.py
bigdata-ustc/CangJie
a3264082fa0432d257b5c4722b14c55f9092a411
[ "MIT" ]
null
null
null
CangJie/utils/testing.py
bigdata-ustc/CangJie
a3264082fa0432d257b5c4722b14c55f9092a411
[ "MIT" ]
1
2022-03-12T00:31:59.000Z
2022-03-12T00:31:59.000Z
# coding: utf-8 # 2020/1/2 @ tongshiwei import random from CangJie import CHI_CHAR __all__ = ["pseudo_sentence"] def _pseudo_sentence(length): return "".join([random.choice(CHI_CHAR) for _ in range(length)]) def pseudo_sentence(num, max_length): return [_pseudo_sentence(random.randint(1, max_length)) for ...
21.0625
80
0.735905
49
337
4.734694
0.55102
0.241379
0.146552
0
0
0
0
0
0
0
0
0.027682
0.142433
337
15
81
22.466667
0.775087
0.103858
0
0
0
0
0.050167
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.285714
0.857143
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
1
0
0
0
1
1
0
0
4
7f0dc60b40dd08456791043a9d3a4291a01edf3b
143
py
Python
tanuki/history/urls.py
addisonmaupin/capstone2020
cf8c8e7336aa9866859349838e4f42bc6831679c
[ "MIT" ]
null
null
null
tanuki/history/urls.py
addisonmaupin/capstone2020
cf8c8e7336aa9866859349838e4f42bc6831679c
[ "MIT" ]
9
2021-03-19T14:50:48.000Z
2022-03-12T00:47:25.000Z
tanuki/history/urls.py
pabsromo/capstone2020
cf8c8e7336aa9866859349838e4f42bc6831679c
[ "MIT" ]
null
null
null
from django.urls import path from . import views app_name = 'history' urlpatterns = [ path('history/', views.history, name='history'), ]
15.888889
52
0.692308
18
143
5.444444
0.555556
0.22449
0
0
0
0
0
0
0
0
0
0
0.167832
143
8
53
17.875
0.823529
0
0
0
0
0
0.153846
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
4
613cb859cc616b5297d4f1b783cb516f1faa4533
279
py
Python
tests/test_data.py
thoriuchi0531/tutti
d0fe202864edc9d257654743db6dc44a67a1d7ed
[ "MIT" ]
1
2021-11-14T15:53:38.000Z
2021-11-14T15:53:38.000Z
tests/test_data.py
thoriuchi0531/fipie
d0fe202864edc9d257654743db6dc44a67a1d7ed
[ "MIT" ]
null
null
null
tests/test_data.py
thoriuchi0531/fipie
d0fe202864edc9d257654743db6dc44a67a1d7ed
[ "MIT" ]
null
null
null
import pandas as pd from fipie.data import load_example_data def test_load_example_data(): data = load_example_data() assert isinstance(data, pd.DataFrame) def test_instrument_size(): data = load_example_data() # 7 instruments assert data.shape[1] == 7
17.4375
41
0.724014
40
279
4.775
0.5
0.230366
0.314136
0.198953
0
0
0
0
0
0
0
0.013333
0.193548
279
15
42
18.6
0.835556
0.046595
0
0.25
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
613fb08490d3b7f7630791e55f0173cb7d3c7a88
74,326
py
Python
osm_ro/httpserver.py
alfonsoegio/RO
9228f51e8a0abb2772c4b75a3462835fe336498a
[ "Apache-2.0" ]
null
null
null
osm_ro/httpserver.py
alfonsoegio/RO
9228f51e8a0abb2772c4b75a3462835fe336498a
[ "Apache-2.0" ]
null
null
null
osm_ro/httpserver.py
alfonsoegio/RO
9228f51e8a0abb2772c4b75a3462835fe336498a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ## # Copyright 2015 Telefonica Investigacion y Desarrollo, S.A.U. # This file is part of openmano # 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 ...
48.452412
148
0.665972
9,791
74,326
4.801757
0.049433
0.045093
0.027822
0.041732
0.805441
0.771451
0.731293
0.698877
0.671715
0.646191
0
0.003239
0.206496
74,326
1,533
149
48.484018
0.793906
0.105602
0
0.560504
0
0
0.164568
0.049895
0
0
0
0.001305
0
1
0.053782
false
0.020168
0.010084
0.001681
0.121008
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
614274fe73e8e99a09619dde31362d02995e1050
393
py
Python
tools/w3af/w3af/core/data/parsers/__init__.py
sravani-m/Web-Application-Security-Framework
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
[ "MIT" ]
3
2019-04-09T22:59:33.000Z
2019-06-14T09:23:24.000Z
tools/w3af/w3af/core/data/parsers/__init__.py
sravani-m/Web-Application-Security-Framework
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
[ "MIT" ]
null
null
null
tools/w3af/w3af/core/data/parsers/__init__.py
sravani-m/Web-Application-Security-Framework
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
[ "MIT" ]
null
null
null
import re #URL_RE = ('((http|https):[A-Za-z0-9/](([A-Za-z0-9$_.+!*(),;/?:@&~=-])|%' # '[A-Fa-f0-9]{2})+(#([a-zA-Z0-9][a-zA-Z0-9$_.+!*(),;/?:@&~=%-]*))?)') URL_RE = re.compile('((http|https)://([\w:@\-\./]*?)[^ \0\n\r\t"\'<>]*)', re.U) RELATIVE_URL_RE = re.compile( '((:?[/]{1,2}[\w\-~\.%]+)+\.\w{2,4}(((\?)([\w\...
43.666667
79
0.320611
58
393
2.068966
0.37931
0.1
0.166667
0.2
0.208333
0.2
0.2
0.2
0
0
0
0.046832
0.076336
393
9
80
43.666667
0.283747
0.363868
0
0
0
0
0.592742
0.548387
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
61428cb1bd17c54034a7a91e33314c49c207e56a
1,125
py
Python
src/opendr/perception/object_detection_2d/__init__.py
makistsantekidis/opendr
07dee3b59d3487b9c5a93d6946317178a02c9890
[ "Apache-2.0" ]
217
2020-04-10T16:39:36.000Z
2022-03-30T15:39:04.000Z
src/opendr/perception/object_detection_2d/__init__.py
makistsantekidis/opendr
07dee3b59d3487b9c5a93d6946317178a02c9890
[ "Apache-2.0" ]
79
2021-06-23T10:40:10.000Z
2021-12-16T07:59:42.000Z
src/opendr/perception/object_detection_2d/__init__.py
makistsantekidis/opendr
07dee3b59d3487b9c5a93d6946317178a02c9890
[ "Apache-2.0" ]
29
2021-12-16T09:26:13.000Z
2022-03-29T15:19:18.000Z
from opendr.perception.object_detection_2d.centernet.centernet_learner import CenterNetDetectorLearner from opendr.perception.object_detection_2d.detr.detr_learner import DetrLearner from opendr.perception.object_detection_2d.gem.gem_learner import GemLearner from opendr.perception.object_detection_2d.retinaface.retina...
66.176471
106
0.868444
123
1,125
7.642276
0.268293
0.106383
0.212766
0.276596
0.429787
0.429787
0.154255
0.106383
0
0
0
0.013359
0.068444
1,125
16
107
70.3125
0.883588
0
0
0
0
0
0.152
0.062222
0
0
0
0
0
1
0
false
0
0.769231
0
0.769231
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
614d42f47176cd3cfe1f24c3851962b199c67994
109
py
Python
Fujitsu/benchmarks/resnet/implementations/mxnet/3rdparty/tvm/python/tvm/relay/op/vision/_make.py
mengkai94/training_results_v0.6
43dc3e250f8da47b5f8833197d74cb8cf1004fc9
[ "Apache-2.0" ]
64
2021-05-02T14:42:34.000Z
2021-05-06T01:35:03.000Z
python/tvm/relay/op/vision/_make.py
ganzhiliang/tvm
b076cad542524cb3744149d953c341b5815f6474
[ "Apache-2.0" ]
23
2019-07-29T05:21:52.000Z
2020-08-31T18:51:42.000Z
python/tvm/relay/op/vision/_make.py
ganzhiliang/tvm
b076cad542524cb3744149d953c341b5815f6474
[ "Apache-2.0" ]
51
2019-07-12T05:10:25.000Z
2021-07-28T16:19:06.000Z
"""Constructor APIs""" from ...._ffi.function import _init_api _init_api("relay.op.vision._make", __name__)
21.8
44
0.743119
15
109
4.733333
0.866667
0.197183
0
0
0
0
0
0
0
0
0
0
0.082569
109
4
45
27.25
0.71
0.146789
0
0
0
0
0.241379
0.241379
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
615cd29b421949f6404a4f2577a075608df673f2
236
py
Python
phyutil/phylib/scan/__init__.py
frib-high-level-controls/phyhlc
6486607e3aa0212054a12e9f2ad1a3ef15542f48
[ "BSD-3-Clause" ]
1
2018-03-22T15:18:54.000Z
2018-03-22T15:18:54.000Z
phyutil/phylib/scan/__init__.py
frib-high-level-controls/phyhlc
6486607e3aa0212054a12e9f2ad1a3ef15542f48
[ "BSD-3-Clause" ]
null
null
null
phyutil/phylib/scan/__init__.py
frib-high-level-controls/phyhlc
6486607e3aa0212054a12e9f2ad1a3ef15542f48
[ "BSD-3-Clause" ]
null
null
null
""" Lazy load library form either local scan service or remote RESTful based scan server. The library would be loaded on the fly according SCAN_SRV_URL variable. Created on Apr 20, 2015 @author: shen """ from scanlib import ScanLib
21.454545
85
0.775424
38
236
4.763158
0.842105
0
0
0
0
0
0
0
0
0
0
0.030928
0.177966
236
10
86
23.6
0.902062
0.838983
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
616c8fd06283a13b04de9a1628d72b207df008b1
78
py
Python
tests/pack_test.py
ryuichi1208/CRUD-frame-flask
9b0c6453a276f4035c1acda2b548ff5fe7f6e4e8
[ "Apache-2.0" ]
1
2019-08-18T08:21:26.000Z
2019-08-18T08:21:26.000Z
tests/pack_test.py
ryuichi1208/CRUD
9b0c6453a276f4035c1acda2b548ff5fe7f6e4e8
[ "Apache-2.0" ]
6
2021-03-31T19:21:35.000Z
2022-03-11T23:56:16.000Z
tests/pack_test.py
ryuichi1208/CRUD
9b0c6453a276f4035c1acda2b548ff5fe7f6e4e8
[ "Apache-2.0" ]
null
null
null
from src import * create.print_pack() rb.read_book_info("data/sample.json")
13
37
0.75641
13
78
4.307692
1
0
0
0
0
0
0
0
0
0
0
0
0.102564
78
5
38
15.6
0.8
0
0
0
0
0
0.207792
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
618a002b89a23502680282c3e9d117347d37c250
69
py
Python
redwind/wsgi.py
kylewm/redwind
7ad807b5ab2dd74a8d470dbea9dd4baf5567d9c6
[ "BSD-2-Clause" ]
35
2015-01-08T03:26:39.000Z
2020-09-16T00:42:17.000Z
redwind/wsgi.py
kylewm/redwind
7ad807b5ab2dd74a8d470dbea9dd4baf5567d9c6
[ "BSD-2-Clause" ]
47
2015-01-05T23:22:08.000Z
2021-02-02T21:43:26.000Z
redwind/wsgi.py
kylewm/redwind
7ad807b5ab2dd74a8d470dbea9dd4baf5567d9c6
[ "BSD-2-Clause" ]
10
2015-02-20T00:51:37.000Z
2022-01-11T10:59:32.000Z
from . import create_app application = create_app('../redwind.cfg')
17.25
42
0.73913
9
69
5.444444
0.777778
0.367347
0
0
0
0
0
0
0
0
0
0
0.115942
69
3
43
23
0.803279
0
0
0
0
0
0.202899
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
4
4ef8a3824851f6b9f56ee4c14582a2a48239163a
121
py
Python
django_gotolong/gweight/admin.py
ParikhKadam/gotolong
839beb8aa37055a2078eaa289b8ae05b62e8905e
[ "BSD-2-Clause", "BSD-3-Clause" ]
15
2019-12-06T16:19:45.000Z
2021-08-20T13:22:22.000Z
django_gotolong/gweight/admin.py
ParikhKadam/gotolong
839beb8aa37055a2078eaa289b8ae05b62e8905e
[ "BSD-2-Clause", "BSD-3-Clause" ]
14
2020-12-08T10:45:05.000Z
2021-09-21T17:23:45.000Z
django_gotolong/gweight/admin.py
ParikhKadam/gotolong
839beb8aa37055a2078eaa289b8ae05b62e8905e
[ "BSD-2-Clause", "BSD-3-Clause" ]
9
2020-01-01T03:04:29.000Z
2021-04-18T08:42:30.000Z
from django.contrib import admin # Register your models here. from .models import Gweight admin.site.register(Gweight)
17.285714
32
0.801653
17
121
5.705882
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.132231
121
6
33
20.166667
0.92381
0.214876
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
f62f593191a0a4b056b492ed4b0c18f0f7cec798
706
py
Python
core/models/managers/UsuarioManager.py
roimpacta/exemplos
cbfe7c81fc14932697c02eb63bec7d7e4a2c5d5a
[ "Apache-2.0" ]
null
null
null
core/models/managers/UsuarioManager.py
roimpacta/exemplos
cbfe7c81fc14932697c02eb63bec7d7e4a2c5d5a
[ "Apache-2.0" ]
null
null
null
core/models/managers/UsuarioManager.py
roimpacta/exemplos
cbfe7c81fc14932697c02eb63bec7d7e4a2c5d5a
[ "Apache-2.0" ]
null
null
null
from django.contrib.auth.models import AbstractBaseUser, UserManager, BaseUserManager from django.db import models class UsuarioManager(BaseUserManager): use_in_migrations = True def _create_user(self, ra, password, **extra_fields): if not ra: raise ValueError('RA precisa ser preenchido') ...
35.3
85
0.701133
88
706
5.420455
0.420455
0.138365
0.157233
0.220126
0.383648
0.383648
0.383648
0.383648
0.27673
0.27673
0
0
0.201133
706
19
86
37.157895
0.845745
0
0
0.133333
0
0
0.035411
0
0
0
0
0
0
1
0.2
false
0.4
0.133333
0.133333
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
0
0
1
0
1
1
0
0
4
f6337b2484b8660d5938695c2b487b77db4d2994
1,932
py
Python
tests/test_metrics/test___init__.py
dmayo/brain-score
3ab4258152c9e3f8c7d29afb10158b184dbcebbe
[ "MIT" ]
52
2019-12-13T06:43:44.000Z
2022-02-21T07:47:39.000Z
tests/test_metrics/test___init__.py
dmayo/brain-score
3ab4258152c9e3f8c7d29afb10158b184dbcebbe
[ "MIT" ]
104
2019-12-06T18:08:54.000Z
2022-03-31T23:57:51.000Z
tests/test_metrics/test___init__.py
dmayo/brain-score
3ab4258152c9e3f8c7d29afb10158b184dbcebbe
[ "MIT" ]
32
2019-12-05T14:31:14.000Z
2022-03-10T02:04:45.000Z
import numpy as np from brainio.assemblies import DataAssembly from brainscore.metrics import Score class TestScoreRaw: def test_sel(self): score = Score([1, 2], coords={'a': [1, 2]}, dims=['a']) score.attrs['raw'] = DataAssembly([0, 2, 1, 3], coords={'a': [1, 1, 2, 2]}, dims=['a']) sel_s...
44.930233
112
0.54089
311
1,932
3.237942
0.125402
0.039722
0.079444
0.031778
0.770606
0.739821
0.709037
0.709037
0.673287
0.644489
0
0.060106
0.216356
1,932
42
113
46
0.60502
0
0
0.352941
0
0
0.02795
0
0
0
0
0
0.176471
1
0.176471
false
0
0.088235
0
0.294118
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f672a6d387ce80b4a9a8b4f81c34ce28cfc98655
3,704
py
Python
bcg/_nbdev.py
eschmidt42/bcg
3b35de4327d0cfdbabbe784dfc693d695fd013b6
[ "Apache-2.0" ]
1
2022-01-17T07:03:14.000Z
2022-01-17T07:03:14.000Z
bcg/_nbdev.py
eschmidt42/bcg
3b35de4327d0cfdbabbe784dfc693d695fd013b6
[ "Apache-2.0" ]
2
2021-09-28T01:41:23.000Z
2022-02-26T07:12:27.000Z
bcg/_nbdev.py
eschmidt42/bcg
3b35de4327d0cfdbabbe784dfc693d695fd013b6
[ "Apache-2.0" ]
1
2022-01-17T07:04:49.000Z
2022-01-17T07:04:49.000Z
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"GenVars": "00_basics.ipynb", "CommonCauses": "00_basics.ipynb", "Instruments": "00_basics.ipynb", "EffectModifiers": "00_basics.ipynb", "Treatments": "00_basics.ipynb", ...
47.487179
80
0.657397
428
3,704
5.273364
0.21028
0.138237
0.224634
0.19938
0.544085
0.400975
0.136464
0.104564
0.031015
0.031015
0
0.043199
0.200054
3,704
77
81
48.103896
0.718529
0.009719
0
0
1
0
0.667758
0.333061
0
0
0
0
0
1
0.014286
false
0
0.014286
0.014286
0.028571
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
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f674eacdb8914ef2cd91737543492e75adc3bdd5
152
py
Python
aoc20171202a.py
BarnabyShearer/aoc
4feb66c668b068f0f42ad99b916e80732eba5a2d
[ "MIT" ]
null
null
null
aoc20171202a.py
BarnabyShearer/aoc
4feb66c668b068f0f42ad99b916e80732eba5a2d
[ "MIT" ]
null
null
null
aoc20171202a.py
BarnabyShearer/aoc
4feb66c668b068f0f42ad99b916e80732eba5a2d
[ "MIT" ]
null
null
null
def check(line): return max(line) - min(line) def aoc(data): return sum([check([int(x) for x in line.split()]) for line in data.split("\n")])
21.714286
84
0.618421
27
152
3.481481
0.555556
0
0
0
0
0
0
0
0
0
0
0
0.184211
152
6
85
25.333333
0.758065
0
0
0
0
0
0.013158
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
1
0
0
0
1
0
0
0
4
9ca592f62fa6011f23e2615ebf9b5413756c6e71
49
py
Python
torchbiomed/datasets/__init__.py
aicentral/torchbiomed
661b3e4411f7e57f4c5cbb56d02998d2d8bddfdb
[ "BSD-3-Clause" ]
106
2017-03-24T09:36:18.000Z
2021-11-30T11:31:22.000Z
torchbiomed/datasets/__init__.py
aicentral/torchbiomed
661b3e4411f7e57f4c5cbb56d02998d2d8bddfdb
[ "BSD-3-Clause" ]
4
2017-05-11T04:06:48.000Z
2021-04-16T09:38:18.000Z
torchbiomed/datasets/__init__.py
aicentral/torchbiomed
661b3e4411f7e57f4c5cbb56d02998d2d8bddfdb
[ "BSD-3-Clause" ]
37
2017-05-11T07:25:06.000Z
2022-01-16T16:06:42.000Z
from .luna16 import LUNA16 __all__ = ('LUNA16')
12.25
26
0.714286
6
49
5.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0.146341
0.163265
49
3
27
16.333333
0.609756
0
0
0
0
0
0.122449
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
4
9cafd721fe6d01b5f1bc056090f0209840dec272
153
py
Python
server/learning/login/api_urls.py
kantanand/insmartapps
4ab54bb41101e43b5edaac9795509584f01c5c92
[ "MIT" ]
3
2016-05-01T18:39:08.000Z
2019-02-19T11:55:40.000Z
server/learning/login/api_urls.py
kantanand/insmartapps
4ab54bb41101e43b5edaac9795509584f01c5c92
[ "MIT" ]
1
2016-04-28T16:41:24.000Z
2016-06-11T19:11:14.000Z
server/learning/login/api_urls.py
kantanand/insmartapps
4ab54bb41101e43b5edaac9795509584f01c5c92
[ "MIT" ]
null
null
null
from django.conf.urls import url from rest_framework_jwt.views import obtain_jwt_token urlpatterns = [ url(r'^get-auth-token/', obtain_jwt_token), ]
25.5
53
0.777778
24
153
4.708333
0.666667
0.159292
0.247788
0
0
0
0
0
0
0
0
0
0.117647
153
6
54
25.5
0.837037
0
0
0
0
0
0.103896
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
1
0
0
0
0
4
9ccb1093180f78123e9f1ee8fdfac29431e8638b
8,830
py
Python
gen_1.py
heyfaraday/CMB_test
ff4c63bd5797dec02c23338c67e761ef62c87338
[ "MIT" ]
null
null
null
gen_1.py
heyfaraday/CMB_test
ff4c63bd5797dec02c23338c67e761ef62c87338
[ "MIT" ]
null
null
null
gen_1.py
heyfaraday/CMB_test
ff4c63bd5797dec02c23338c67e761ef62c87338
[ "MIT" ]
1
2022-02-13T04:24:42.000Z
2022-02-13T04:24:42.000Z
import numpy as np from math import sqrt, pi, sin, cos from lib import minkowski L_max_field = 7 L_max_polynom = 7 N = 8 def coef_1(in_l, in_m): if in_l != 0: return sqrt((in_l - in_m) * (2.0 * in_l + 1.0) / ((in_l + in_m) * (2.0 * in_l - 1.0))) if in_l == 0: return 0.0 ...
27.767296
118
0.478029
1,827
8,830
2.16694
0.036125
0.031321
0.025764
0.08487
0.8098
0.76004
0.716848
0.659257
0.635767
0.58247
0
0.078246
0.315402
8,830
317
119
27.85489
0.576675
0.057531
0
0.442308
0
0
0
0
0
0
0
0
0
0
null
null
0
0.014423
null
null
0.014423
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
1
0
0
0
0
0
0
0
0
4
9cce62689b1c5c32ca70652f2026acc5cece9497
879
py
Python
neighapp/migrations/0002_auto_20210725_1822.py
mohamedissack/Neighbour-App
649ca351bbfeef4ca8f2caa75c2878a178c06cb1
[ "MIT" ]
null
null
null
neighapp/migrations/0002_auto_20210725_1822.py
mohamedissack/Neighbour-App
649ca351bbfeef4ca8f2caa75c2878a178c06cb1
[ "MIT" ]
null
null
null
neighapp/migrations/0002_auto_20210725_1822.py
mohamedissack/Neighbour-App
649ca351bbfeef4ca8f2caa75c2878a178c06cb1
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-07-25 18:22 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('neighapp', '0001_initial'), ] operations = [ migrations.RenameField( model_name='neighbourhood', old_name='hood_description'...
25.852941
49
0.579067
78
879
6.25641
0.423077
0.278689
0.213115
0.245902
0.442623
0.442623
0.442623
0.442623
0
0
0
0.031773
0.319681
879
33
50
26.636364
0.784281
0.051195
0
0.444444
1
0
0.245192
0.05649
0
0
0
0
0
1
0
false
0
0.037037
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
143834f608a51b55557e648c315238846f44aa78
74
py
Python
pynmapservice/__init__.py
vix597/vrnmap
30c9e69c63aa8282f9ed2bccb96afa4226912fc9
[ "0BSD" ]
null
null
null
pynmapservice/__init__.py
vix597/vrnmap
30c9e69c63aa8282f9ed2bccb96afa4226912fc9
[ "0BSD" ]
null
null
null
pynmapservice/__init__.py
vix597/vrnmap
30c9e69c63aa8282f9ed2bccb96afa4226912fc9
[ "0BSD" ]
null
null
null
"""PyNmapService - A service to control Nmap with a websocket for VR."""
37
73
0.716216
11
74
4.818182
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.175676
74
1
74
74
0.868852
0.891892
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
148ce824bfce64bbffb187870f97b6123dc6abfb
133
py
Python
nose2/tests/functional/support/scenario/module_import_err/pkg/test_import_err.py
ltfish/nose2
e47363dad10056cf906daf387613c21d74f37e56
[ "BSD-2-Clause" ]
null
null
null
nose2/tests/functional/support/scenario/module_import_err/pkg/test_import_err.py
ltfish/nose2
e47363dad10056cf906daf387613c21d74f37e56
[ "BSD-2-Clause" ]
null
null
null
nose2/tests/functional/support/scenario/module_import_err/pkg/test_import_err.py
ltfish/nose2
e47363dad10056cf906daf387613c21d74f37e56
[ "BSD-2-Clause" ]
null
null
null
raise ValueError('booms') import unittest def test(): pass class Test(unittest.TestCase): def test(self): pass
9.5
30
0.639098
16
133
5.3125
0.6875
0.164706
0
0
0
0
0
0
0
0
0
0
0.255639
133
13
31
10.230769
0.858586
0
0
0.285714
0
0
0.037594
0
0
0
0
0
0
1
0.285714
false
0.285714
0.142857
0
0.571429
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
1
0
1
0
0
1
0
0
4
1adfbe5a14442d68c9f4504fad47168384a09dd6
961
py
Python
lib/systems/d-aspartic_acid.py
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
lib/systems/d-aspartic_acid.py
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
lib/systems/d-aspartic_acid.py
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
import pulsar as psr def load_ref_system(): """ Returns d-aspartic_acid as found in the IQMol fragment library. All credit to https://github.com/nutjunkie/IQmol """ return psr.make_system(""" H 1.1749 0.2716 -0.8816 C 0.2902 -0.3063 -0.5085 C -0...
40.041667
71
0.419355
143
961
2.79021
0.573427
0.025063
0
0
0
0
0
0
0
0
0
0.480962
0.480749
961
23
72
41.782609
0.318637
0.116545
0
0
0
0
0.898673
0
0
0
0
0
0
1
0.05
true
0
0.05
0
0.15
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
1ae7b40a189f027b76a7b1c296483fb5c9a8b309
217
py
Python
processmanager/__init__.py
igormacedo/process-manager
c48568d03c83f034d0114228efc919fc38754dc7
[ "MIT" ]
1
2017-09-05T01:27:13.000Z
2017-09-05T01:27:13.000Z
processmanager/__init__.py
igormacedo/process-manager
c48568d03c83f034d0114228efc919fc38754dc7
[ "MIT" ]
null
null
null
processmanager/__init__.py
igormacedo/process-manager
c48568d03c83f034d0114228efc919fc38754dc7
[ "MIT" ]
null
null
null
from flask import Flask from flask_socketio import SocketIO, send app = Flask(__name__) app.config['SECRET_KEY'] = 'mysecret' socketio = SocketIO(app) import processmanager.views import processmanager.sockethandler
21.7
41
0.81106
27
217
6.296296
0.518519
0.105882
0
0
0
0
0
0
0
0
0
0
0.110599
217
9
42
24.111111
0.880829
0
0
0
0
0
0.082949
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
210178e002cb091da1855ecd2446c4e7026eb996
31,623
py
Python
tests/test_client.py
benjamin-bader/aiohttp
ee35cfe4714cd1b13655958b4625e1570719e9d5
[ "Apache-2.0" ]
null
null
null
tests/test_client.py
benjamin-bader/aiohttp
ee35cfe4714cd1b13655958b4625e1570719e9d5
[ "Apache-2.0" ]
null
null
null
tests/test_client.py
benjamin-bader/aiohttp
ee35cfe4714cd1b13655958b4625e1570719e9d5
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """Tests for aiohttp/client.py""" import asyncio import inspect import io import unittest import unittest.mock import urllib.parse import aiohttp from aiohttp.client import ClientRequest, ClientResponse try: import chardet except ImportError: # pragma: no cover chardet = None class...
39.578223
79
0.611074
3,577
31,623
5.287112
0.081353
0.050127
0.036432
0.042566
0.799651
0.762003
0.726681
0.670685
0.64081
0.60496
0
0.011502
0.24947
31,623
798
80
39.62782
0.785329
0.001202
0
0.606383
0
0
0.136613
0.014897
0
0
0
0
0.231003
0
null
null
0.00152
0.015198
null
null
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
210eace1f941559dd477cf20d2205ab83dd98fe2
8,261
py
Python
pymps/lanczos.py
jacobmanalo/dmrg_tool
8a14b7f33b77f53df4356f090bdcd1a82b12ff20
[ "Apache-2.0" ]
null
null
null
pymps/lanczos.py
jacobmanalo/dmrg_tool
8a14b7f33b77f53df4356f090bdcd1a82b12ff20
[ "Apache-2.0" ]
null
null
null
pymps/lanczos.py
jacobmanalo/dmrg_tool
8a14b7f33b77f53df4356f090bdcd1a82b12ff20
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Feb 11 11:28:56 2022 Original Code from Dr. Salim Belhaiza https://www.youtube.com/watch?v=S416IbCFeEA&t=185s """ import numpy as np from scipy.sparse import linalg as la import scipy as SP import sys def random_hermitian(n): #A=np.random.rand(n,n) A ...
27.445183
97
0.526692
1,180
8,261
3.633051
0.167797
0.035923
0.047586
0.024259
0.733147
0.714719
0.707021
0.707021
0.695825
0.668999
0
0.021144
0.341605
8,261
301
98
27.445183
0.767053
0.461809
0
0.408333
0
0
0.01735
0
0
0
0
0
0
1
0.05
false
0
0.033333
0
0.133333
0.025
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2114d6302acbdc76e559f24b678d898dd52b2591
546
py
Python
todo/validators.py
abhijit-mitra/fractal_service
234a8ae954eb856ca31e72b003117d8b97ce4171
[ "MIT" ]
1
2020-02-10T17:49:35.000Z
2020-02-10T17:49:35.000Z
todo/validators.py
abhijit-mitra/fractal_service
234a8ae954eb856ca31e72b003117d8b97ce4171
[ "MIT" ]
5
2020-06-06T00:36:03.000Z
2022-02-10T14:12:37.000Z
todo/validators.py
abhijit-mitra/fractal_service
234a8ae954eb856ca31e72b003117d8b97ce4171
[ "MIT" ]
null
null
null
CREATE_TODO = [{ 'field_name': 'bucketName', 'type': str, }, { 'field_name': 'name', 'type': str, }, { 'field_name': 'done', 'type': bool, }, { 'field_name': 'bucketId', 'type': int, 'required': False, 'blank': (True,) }] UPDATE_TODO = [{ 'field_name': 'name', 'type': st...
16.545455
31
0.492674
54
546
4.796296
0.296296
0.277992
0.138996
0.185328
0.872587
0.671815
0.671815
0.671815
0.671815
0.316602
0
0
0.269231
546
32
32
17.0625
0.649123
0
0
0.870968
0
0
0.362637
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
1
1
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
0
0
0
0
0
0
4
2123b0afaa5ed96d9bc928d0c370baaf17f037f4
91
py
Python
SalesApp/apps.py
Kayarn-Mechatronics/Octello
45f4f73c764ca816918c31ef3ae4889740a68802
[ "Apache-2.0" ]
null
null
null
SalesApp/apps.py
Kayarn-Mechatronics/Octello
45f4f73c764ca816918c31ef3ae4889740a68802
[ "Apache-2.0" ]
null
null
null
SalesApp/apps.py
Kayarn-Mechatronics/Octello
45f4f73c764ca816918c31ef3ae4889740a68802
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class SalesappConfig(AppConfig): name = 'SalesApp'
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.087912
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
1
0
0
4
2136715c0e34258bc108b432c3821b98c34b07cd
14,491
py
Python
src/decoders/arcfactored.py
norikinishida/discourse-parsing
7377a78cc32ad6430d256694e31ed9426e7c6340
[ "Apache-2.0" ]
2
2022-02-16T20:41:22.000Z
2022-03-11T18:28:24.000Z
src/decoders/arcfactored.py
norikinishida/discourse-parsing
7377a78cc32ad6430d256694e31ed9426e7c6340
[ "Apache-2.0" ]
null
null
null
src/decoders/arcfactored.py
norikinishida/discourse-parsing
7377a78cc32ad6430d256694e31ed9426e7c6340
[ "Apache-2.0" ]
null
null
null
import numpy as np RIGHT = 0 LEFT = 1 COMPLETE = 0 INCOMPLETE = 1 class IncrementalEisnerDecoder(object): def __init__(self): self.decoder = EisnerDecoder() def decode(self, arc_scores, edu_ids, # sentence_boundaries, parag...
36.047264
117
0.459182
1,589
14,491
4.006923
0.069855
0.050887
0.040836
0.030627
0.773206
0.766923
0.719648
0.694519
0.678813
0.671902
0
0.030228
0.445242
14,491
401
118
36.137157
0.761786
0.143192
0
0.764479
0
0
0
0
0
0
0
0
0.011583
1
0.027027
false
0.003861
0.003861
0
0.065637
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2142da03589a5f59758f0a45ca10464c6cbed83b
55
py
Python
nnuncert/models/pbp/__init__.py
pjoachims/nnuncert
45dede54fdb714926926d719be2c9b9b542b2601
[ "MIT" ]
2
2021-12-30T06:25:43.000Z
2022-01-25T00:41:22.000Z
nnuncert/models/pbp/__init__.py
pjoachims/nnuncert
45dede54fdb714926926d719be2c9b9b542b2601
[ "MIT" ]
1
2022-01-25T00:35:28.000Z
2022-03-28T15:23:16.000Z
nnuncert/models/pbp/__init__.py
pjoachims/nnuncert
45dede54fdb714926926d719be2c9b9b542b2601
[ "MIT" ]
null
null
null
from nnuncert.models.pbp.model import PBPModel, PBPPred
55
55
0.854545
8
55
5.875
1
0
0
0
0
0
0
0
0
0
0
0
0.072727
55
1
55
55
0.921569
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
dcdc351e3f1ef4a2167b8f72258374c86a28517f
308
py
Python
opencv_learn/charpter15/test.py
zhangxinzhou/play_game
854448f8416b2d3f98bb2c3ed0f7d834a61593de
[ "Apache-2.0" ]
null
null
null
opencv_learn/charpter15/test.py
zhangxinzhou/play_game
854448f8416b2d3f98bb2c3ed0f7d834a61593de
[ "Apache-2.0" ]
null
null
null
opencv_learn/charpter15/test.py
zhangxinzhou/play_game
854448f8416b2d3f98bb2c3ed0f7d834a61593de
[ "Apache-2.0" ]
null
null
null
import numpy as np am = np.array( [ [3, 6, 8, 77, 66], [1, 2, 88, 3, 98], [11, 2, 67, 5, 2] ] ) b = np.where(am > 5) print(type(b)) print(b) print("==========") for i in zip(b): print(i) print("==========") print(*b) print("==========") for i in zip(*b): print(i)
12.833333
26
0.405844
51
308
2.45098
0.509804
0.24
0.176
0.224
0.432
0.432
0.432
0.432
0.432
0.432
0
0.100917
0.292208
308
23
27
13.391304
0.472477
0
0
0.263158
0
0
0.097403
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0.421053
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
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
1
0
4
0d3db71ae427d65d2e4455da73eb382d03b40227
609
py
Python
climetlab/core/docstring.py
sylvielamythepaut/climetlab
59516b8a510ad506a12ad32bea9e8b98bdb9abf3
[ "Apache-2.0" ]
1
2021-10-02T12:30:12.000Z
2021-10-02T12:30:12.000Z
climetlab/core/docstring.py
sylvielamythepaut/climetlab
59516b8a510ad506a12ad32bea9e8b98bdb9abf3
[ "Apache-2.0" ]
null
null
null
climetlab/core/docstring.py
sylvielamythepaut/climetlab
59516b8a510ad506a12ad32bea9e8b98bdb9abf3
[ "Apache-2.0" ]
null
null
null
# (C) Copyright 2020 ECMWF. # # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # In applying this licence, ECMWF does not waive the privileges and immunities # granted to it by virtue of its status as an intergovernmenta...
29
78
0.712644
88
609
4.795455
0.806818
0.009479
0
0
0
0
0
0
0
0
0
0.029106
0.210181
609
20
79
30.45
0.848233
0.766831
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0.2
0
0.2
0.8
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
1
1
0
0
4
b4c056643da6f1fbb3dd080732017533a6843b7f
375
py
Python
trec2015/cuttsum/pipeline/__init__.py
kedz/cuttsum
992c21192af03fd2ef863f5ab7d10752f75580fa
[ "Apache-2.0" ]
6
2015-09-10T02:22:21.000Z
2021-10-01T16:36:46.000Z
trec2015/cuttsum/pipeline/__init__.py
kedz/cuttsum
992c21192af03fd2ef863f5ab7d10752f75580fa
[ "Apache-2.0" ]
null
null
null
trec2015/cuttsum/pipeline/__init__.py
kedz/cuttsum
992c21192af03fd2ef863f5ab7d10752f75580fa
[ "Apache-2.0" ]
2
2018-04-04T10:44:32.000Z
2021-10-01T16:37:26.000Z
from cuttsum.pipeline._article_annotator import ArticlesResource from cuttsum.pipeline._dedupe import DedupedArticlesResource from cuttsum.pipeline._features import SentenceFeaturesResource from cuttsum.pipeline._input_stream import InputStreamResource __all__ = ["ArticlesResource", "DedupedArticlesResource", ...
46.875
64
0.848
31
375
9.935484
0.483871
0.142857
0.246753
0
0
0
0
0
0
0
0
0
0.093333
375
7
65
53.571429
0.905882
0
0
0
0
0
0.218667
0.125333
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b4fcfcdcd2f4bfb8a31e1b613345fad0c5f69146
181
py
Python
pm4pyws/handlers/xes/filtering/versions/__init__.py
ehbasouri/pm4py-ws
9bf5f88848a4aa2873bae86af95d37f64ae1dde1
[ "Apache-2.0" ]
null
null
null
pm4pyws/handlers/xes/filtering/versions/__init__.py
ehbasouri/pm4py-ws
9bf5f88848a4aa2873bae86af95d37f64ae1dde1
[ "Apache-2.0" ]
null
null
null
pm4pyws/handlers/xes/filtering/versions/__init__.py
ehbasouri/pm4py-ws
9bf5f88848a4aa2873bae86af95d37f64ae1dde1
[ "Apache-2.0" ]
null
null
null
from pm4pyws.handlers.xes.filtering.versions import start_activities, end_activities, attributes_pos_trace, \ attributes_neg_trace, attributes_pos_events, attributes_neg_events
60.333333
109
0.867403
23
181
6.391304
0.652174
0.176871
0
0
0
0
0
0
0
0
0
0.005988
0.077348
181
2
110
90.5
0.874252
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
3701addf0f1b3f3999af1c9ffe555fda45bfbb45
5,022
py
Python
TokenizeTweet.py
jtpastro/twitter_traffic_incident_sensor
d9191e4db4dfe48e689817511e3b97b5901893ac
[ "MIT" ]
null
null
null
TokenizeTweet.py
jtpastro/twitter_traffic_incident_sensor
d9191e4db4dfe48e689817511e3b97b5901893ac
[ "MIT" ]
null
null
null
TokenizeTweet.py
jtpastro/twitter_traffic_incident_sensor
d9191e4db4dfe48e689817511e3b97b5901893ac
[ "MIT" ]
null
null
null
from nltk.tokenize import TweetTokenizer from nltk.stem import RSLPStemmer from unidecode import unidecode as unicodeToAscii from nltk.corpus import stopwords import re class Token(str): timeRegex = re.compile(r'^\d{1,2}((h(\d{2})?)|:\d{2})$') dateRegex = re.compile(r'^\d{1,2}/\d{1,2}(/\d{2,4})?$') wordReg...
102.489796
3,164
0.725408
734
5,022
4.889646
0.438692
0.025077
0.012538
0.016718
0.220396
0.197548
0.165784
0.138479
0.116188
0.116188
0
0.085101
0.155317
5,022
49
3,165
102.489796
0.760962
0
0
0.044444
0
0.288889
0.64344
0.072068
0
0
0
0
0
1
0.066667
false
0.022222
0.111111
0
0.333333
0.022222
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2e9a7cbe81552d1fd36c3adbe156d256d2b8546b
193
py
Python
pingdomexport/tests/test_export.py
mattboston/pingdomexport
1cd7acbf813abee0b9a7865b9cd4a1e166d55c37
[ "MIT" ]
4
2018-01-25T09:18:38.000Z
2021-02-12T18:36:08.000Z
pingdomexport/tests/test_export.py
mattboston/pingdomexport
1cd7acbf813abee0b9a7865b9cd4a1e166d55c37
[ "MIT" ]
1
2018-12-04T18:42:06.000Z
2021-05-25T14:03:32.000Z
pingdomexport/tests/test_export.py
mattboston/pingdomexport
1cd7acbf813abee0b9a7865b9cd4a1e166d55c37
[ "MIT" ]
3
2019-04-30T11:52:14.000Z
2021-03-24T20:58:04.000Z
import pytest from pingdomexport import export class TestExport: def test_export_path_unrecognized(self): with pytest.raises(ValueError): export.Export("unrecognized")
24.125
44
0.735751
21
193
6.619048
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.196891
193
7
45
27.571429
0.896774
0
0
0
0
0
0.062176
0
0
0
0
0
0
1
0.166667
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
1
0
0
4
2ea00266b8ce0afa65518c54a9e3e2b20a676e64
5,746
py
Python
environments/MiniGrid/loggingFunctions.py
vanstrn/RL_public
0e971e40e063b17918460e19728f95d7924af8db
[ "MIT" ]
1
2021-03-19T17:57:51.000Z
2021-03-19T17:57:51.000Z
environments/MiniGrid/loggingFunctions.py
vanstrn/RL_public
0e971e40e063b17918460e19728f95d7924af8db
[ "MIT" ]
null
null
null
environments/MiniGrid/loggingFunctions.py
vanstrn/RL_public
0e971e40e063b17918460e19728f95d7924af8db
[ "MIT" ]
null
null
null
import tensorflow as tf import numpy as np import itertools import matplotlib.pyplot as plt import matplotlib.image as mpimg def ConstructSampleMG4R(env,position): grid = env.grid.encode() flagX,flagY = np.unravel_index(np.argmax(grid[:,:,0], axis=None), grid[:,:,0].shape) grid[flagX,flagY] = np.array([ ...
38.563758
103
0.586147
749
5,746
4.429907
0.152203
0.061181
0.007233
0.025316
0.802592
0.757987
0.729958
0.697408
0.685654
0.685654
0
0.027585
0.274452
5,746
148
104
38.824324
0.76829
0.002088
0
0.653846
0
0
0.042045
0
0
0
0
0
0
1
0.092308
false
0
0.038462
0
0.2
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2ea1b5690a4c5c82af8619cc0e9a2fcfb34a9b8a
20
py
Python
example_snippets/multimenus_snippets/Snippets/NumPy/Vectorized (universal) functions/Sums, products, differences within array/cumsum Cumulative sum of the elements along a given axis.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/NumPy/Vectorized (universal) functions/Sums, products, differences within array/cumsum Cumulative sum of the elements along a given axis.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/NumPy/Vectorized (universal) functions/Sums, products, differences within array/cumsum Cumulative sum of the elements along a given axis.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
1
2021-02-04T04:51:48.000Z
2021-02-04T04:51:48.000Z
np.cumsum(a, axis=0)
20
20
0.7
5
20
2.8
1
0
0
0
0
0
0
0
0
0
0
0.052632
0.05
20
1
20
20
0.684211
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
2eb0eedeada92d18cbeda5e7f5647f60fe40731b
121
py
Python
setup.py
neerajsharma9195/adversarial-recommendation-systems
46500d18a7175237f07df80af4f9b25e9d4c1188
[ "MIT" ]
2
2021-03-05T17:12:53.000Z
2021-03-19T18:04:20.000Z
setup.py
neerajsharma9195/adversarial-recommendation-systems
46500d18a7175237f07df80af4f9b25e9d4c1188
[ "MIT" ]
1
2021-03-06T00:58:56.000Z
2021-03-06T00:58:56.000Z
setup.py
neerajsharma9195/adversarial-recommendation-systems
46500d18a7175237f07df80af4f9b25e9d4c1188
[ "MIT" ]
null
null
null
from setuptools import setup from Cython.Build import cythonize setup( ext_modules = cythonize("src/models/*.pyx") )
20.166667
47
0.760331
16
121
5.6875
0.75
0
0
0
0
0
0
0
0
0
0
0
0.140496
121
6
48
20.166667
0.875
0
0
0
0
0
0.131148
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
2edfead133d3f7ee510af74ca2d8c57988538838
31
py
Python
Python/float.py
zSucrilhos/programming
aa0076a4a7084a6064e1e5df258ba0c90cf8ceeb
[ "MIT" ]
null
null
null
Python/float.py
zSucrilhos/programming
aa0076a4a7084a6064e1e5df258ba0c90cf8ceeb
[ "MIT" ]
4
2020-07-18T03:27:03.000Z
2020-07-18T03:28:37.000Z
Python/float.py
zSucrilhos/programming
aa0076a4a7084a6064e1e5df258ba0c90cf8ceeb
[ "MIT" ]
null
null
null
a=1.23 print(a) print(type(a))
7.75
14
0.645161
8
31
2.5
0.625
0
0
0
0
0
0
0
0
0
0
0.107143
0.096774
31
3
15
10.333333
0.607143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
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
1
0
4
2ef97251288ee2925580a4ac7956e57e50d63431
736
py
Python
Problems/Dynamic Programming/Easy/PascalTriangle/test_pascal_triangle.py
dolong2110/Algorithm-By-Problems-Python
31ecc7367aaabdd2b0ac0af7f63ca5796d70c730
[ "MIT" ]
1
2021-08-16T14:52:05.000Z
2021-08-16T14:52:05.000Z
Problems/Dynamic Programming/Easy/PascalTriangle/test_pascal_triangle.py
dolong2110/Algorithm-By-Problems-Python
31ecc7367aaabdd2b0ac0af7f63ca5796d70c730
[ "MIT" ]
null
null
null
Problems/Dynamic Programming/Easy/PascalTriangle/test_pascal_triangle.py
dolong2110/Algorithm-By-Problems-Python
31ecc7367aaabdd2b0ac0af7f63ca5796d70c730
[ "MIT" ]
null
null
null
from unittest import TestCase from pascal_triangle import generate, getRow class Test(TestCase): def test_generate(self): self.assertTrue(generate(1) == [[1]]) self.assertTrue(generate(2) == [[1], [1, 1]]) self.assertTrue(generate(3) == [[1], [1, 1], [1, 2, 1]]) self.assertTrue(gene...
40.888889
95
0.53125
112
736
3.455357
0.196429
0.087855
0.310078
0.237726
0.426357
0.149871
0.05168
0.05168
0.05168
0.05168
0
0.106952
0.237772
736
17
96
43.294118
0.582888
0
0
0
1
0
0
0
0
0
0
0
0.666667
1
0.133333
false
0
0.133333
0
0.333333
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
1
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
2c0a17955f0b3a41b6d6d982db2b74f30e4c43af
215
py
Python
Django/api-basic2/accounts/views.py
sug5806/TIL
2309d8a270e4a7b8961268a40b6492c5db317e37
[ "MIT" ]
null
null
null
Django/api-basic2/accounts/views.py
sug5806/TIL
2309d8a270e4a7b8961268a40b6492c5db317e37
[ "MIT" ]
102
2020-02-12T00:10:33.000Z
2022-03-11T23:58:41.000Z
Django/api-basic2/accounts/views.py
sug5806/TIL
2309d8a270e4a7b8961268a40b6492c5db317e37
[ "MIT" ]
null
null
null
from rest_framework import generics from .serializers import * # Create your views here. class AccountLCAPI(generics.ListCreateAPIView): queryset = get_user_model().objects.all() serializer_class = Account
26.875
47
0.786047
25
215
6.6
0.84
0
0
0
0
0
0
0
0
0
0
0
0.139535
215
8
48
26.875
0.891892
0.106977
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
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
1
0
0
4
2c1c9277947e14ab23b6c2966b1322b29eb10062
162
py
Python
problem0427.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0427.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0427.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #427 n-sequences - Project Euler # https://projecteuler.net/problem=427 # # Code by Kevin Marciniak # ###########################
18
38
0.462963
14
162
5.357143
0.928571
0
0
0
0
0
0
0
0
0
0
0.041667
0.111111
162
8
39
20.25
0.479167
0.567901
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
2c294b7cb6cd4e6c15ae5e7c5d1cf3badafff066
189
py
Python
comments/non_persistent_models.py
taufactor/tau-factor
d7883156bd9502742e0ad5c798fa1b2c38c7ff60
[ "MIT" ]
null
null
null
comments/non_persistent_models.py
taufactor/tau-factor
d7883156bd9502742e0ad5c798fa1b2c38c7ff60
[ "MIT" ]
null
null
null
comments/non_persistent_models.py
taufactor/tau-factor
d7883156bd9502742e0ad5c798fa1b2c38c7ff60
[ "MIT" ]
1
2021-05-18T19:01:14.000Z
2021-05-18T19:01:14.000Z
import typing from courses import models as courses_models class CreateCourseCommentParams(typing.NamedTuple): course: courses_models.Course title: str content: str
18.9
52
0.746032
21
189
6.619048
0.619048
0.18705
0
0
0
0
0
0
0
0
0
0
0.21164
189
9
53
21
0.932886
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
257c374a83306162a9cc67c4c3e292c420eab766
9,511
py
Python
rlkit/samplers/rollout_functions.py
AndrewPaulChester/rlkit
0743c713d60250013803f7f158a38b431f6c9fa9
[ "MIT" ]
null
null
null
rlkit/samplers/rollout_functions.py
AndrewPaulChester/rlkit
0743c713d60250013803f7f158a38b431f6c9fa9
[ "MIT" ]
null
null
null
rlkit/samplers/rollout_functions.py
AndrewPaulChester/rlkit
0743c713d60250013803f7f158a38b431f6c9fa9
[ "MIT" ]
null
null
null
import numpy as np from gym_craft.utils.representations import json_to_screen def multitask_rollout( env, agent, max_path_length=np.inf, render=False, render_kwargs=None, observation_key=None, desired_goal_key=None, get_action_kwargs=None, return_dict_obs=False, ): if render_kw...
28.996951
85
0.608453
1,166
9,511
4.759863
0.109777
0.024324
0.035135
0.035676
0.761441
0.753514
0.72
0.698018
0.698018
0.694775
0
0.009954
0.292293
9,511
327
86
29.085627
0.814589
0.112186
0
0.722846
0
0
0.007248
0.005557
0
0
0
0
0
1
0.014981
false
0.003745
0.007491
0
0.037453
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
259ab6bb6481700cf4ae5e2a5b3a42d34a274d4f
1,212
py
Python
tests/_math/test_validations.py
antalszava/piquasso
7ebff83145cfab44929114437c250852dff5f9a5
[ "Apache-2.0" ]
12
2021-09-12T15:51:45.000Z
2022-03-05T22:25:47.000Z
tests/_math/test_validations.py
antalszava/piquasso
7ebff83145cfab44929114437c250852dff5f9a5
[ "Apache-2.0" ]
36
2021-09-13T08:01:27.000Z
2022-03-21T11:53:30.000Z
tests/_math/test_validations.py
antalszava/piquasso
7ebff83145cfab44929114437c250852dff5f9a5
[ "Apache-2.0" ]
null
null
null
# # Copyright 2021 Budapest Quantum Computing Group # # 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...
26.933333
74
0.766502
196
1,212
4.505102
0.443878
0.071348
0.0453
0.074745
0.165345
0.097395
0.038505
0.038505
0.038505
0
0
0.028293
0.15429
1,212
44
75
27.545455
0.833171
0.469472
0
0
0
0
0
0
0
0
0
0
0.466667
1
0.466667
true
0
0.066667
0
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
1
0
1
1
0
0
0
1
0
0
4
25ca9531414896379d7eab5ac76c01a0db18d4d7
209
py
Python
back.py
winius/chat-bot
7d44745c4544413e612e5cffb740890d248dd030
[ "Apache-2.0" ]
null
null
null
back.py
winius/chat-bot
7d44745c4544413e612e5cffb740890d248dd030
[ "Apache-2.0" ]
null
null
null
back.py
winius/chat-bot
7d44745c4544413e612e5cffb740890d248dd030
[ "Apache-2.0" ]
null
null
null
import random def main(vk, peer_id): vk.messages.send(peer_id=peer_id, random_id=random.getrandbits(32), message='🌐 Главное меню', keyboard=open("keyboards/default.json", "r", encoding="UTF-8").read())
52.25
168
0.722488
33
209
4.484848
0.757576
0.121622
0
0
0
0
0
0
0
0
0
0.015873
0.095694
209
4
168
52.25
0.761905
0
0
0
0
0
0.202899
0.10628
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
4
25f1b3c5db5a9ef4e305a00f822a09c5477cee27
3,341
py
Python
slaid/commons/ecvl.py
mdrio/slaid
67c85f0d1702bced1c089bfb3c20ba1cfbc9c225
[ "MIT" ]
null
null
null
slaid/commons/ecvl.py
mdrio/slaid
67c85f0d1702bced1c089bfb3c20ba1cfbc9c225
[ "MIT" ]
null
null
null
slaid/commons/ecvl.py
mdrio/slaid
67c85f0d1702bced1c089bfb3c20ba1cfbc9c225
[ "MIT" ]
1
2022-02-11T15:54:47.000Z
2022-02-11T15:54:47.000Z
# NAPARI LAZY OPENSLIDE # Copyright (c) 2020, Trevor Manz # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # ...
35.168421
81
0.724633
441
3,341
5.405896
0.421769
0.026426
0.02307
0.021393
0.123742
0.092282
0.092282
0.092282
0.057047
0.057047
0
0.002999
0.201437
3,341
94
82
35.542553
0.890555
0.459144
0
0.136364
0
0
0.007878
0
0
0
0
0.010638
0
1
0.227273
false
0
0.181818
0.136364
0.681818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
1
0
0
4
d3421ebfdadd50a661ab3ff3c339c3f73135af13
53
py
Python
ch02/__init__.py
laszlokiraly/LearningAlgorithms
032a3cc409546619cf41220821d081cde54bbcce
[ "MIT" ]
74
2021-05-06T22:03:18.000Z
2022-03-25T04:37:51.000Z
ch02/__init__.py
laszlokiraly/LearningAlgorithms
032a3cc409546619cf41220821d081cde54bbcce
[ "MIT" ]
null
null
null
ch02/__init__.py
laszlokiraly/LearningAlgorithms
032a3cc409546619cf41220821d081cde54bbcce
[ "MIT" ]
19
2021-07-16T11:42:00.000Z
2022-03-22T00:25:49.000Z
""" Module containing Python code for Chapter 2. """
13.25
44
0.698113
7
53
5.285714
1
0
0
0
0
0
0
0
0
0
0
0.022727
0.169811
53
3
45
17.666667
0.818182
0.830189
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
d359f498acf6ccc425859c61a4c4bd9b13cd05f5
72
py
Python
Python/InvalidType.py
udaypandey/BubblyCode
675fbcdd32c80f685ddb10ed4a5a92e17d139795
[ "MIT" ]
null
null
null
Python/InvalidType.py
udaypandey/BubblyCode
675fbcdd32c80f685ddb10ed4a5a92e17d139795
[ "MIT" ]
null
null
null
Python/InvalidType.py
udaypandey/BubblyCode
675fbcdd32c80f685ddb10ed4a5a92e17d139795
[ "MIT" ]
null
null
null
def say(message, foobar): print(message * foobar) say("hello", 3)
12
27
0.638889
10
72
4.6
0.7
0.565217
0
0
0
0
0
0
0
0
0
0.017241
0.194444
72
5
28
14.4
0.775862
0
0
0
0
0
0.069444
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.333333
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
1
0
0
0
0
0
0
0
4
d368c91efbc90357720da91ab2b372a4d28b51b8
393
py
Python
log.py
ViggAlm/PasswordKit
b92f67f7b5b9623f1c63646003b684eee9e8912a
[ "BSD-2-Clause" ]
1
2022-02-22T19:51:56.000Z
2022-02-22T19:51:56.000Z
log.py
ViggAlm/PasswordKit
b92f67f7b5b9623f1c63646003b684eee9e8912a
[ "BSD-2-Clause" ]
null
null
null
log.py
ViggAlm/PasswordKit
b92f67f7b5b9623f1c63646003b684eee9e8912a
[ "BSD-2-Clause" ]
null
null
null
from colorama import Fore prefix = "[" + Fore.YELLOW + "PasswordKit" + Fore.WHITE + "]" def result(text): print(Fore.WHITE + f"{prefix}" + Fore.GREEN + f"{text}") def error(text): print(Fore.WHITE + f"{prefix}" + Fore.RED + f"{text}") def general(text): print(Fore.WHITE + f"{prefix}{text}") def que...
19.65
61
0.608142
55
393
4.345455
0.345455
0.188285
0.217573
0.301255
0.468619
0.468619
0.364017
0
0
0
0
0
0.183206
393
19
62
20.684211
0.744548
0
0
0
0
0
0.175573
0
0
0
0
0
0
1
0.4
false
0.1
0.1
0
0.5
0.4
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
1
0
0
0
0
0
4
d37cdc52c145b2070b33a144edb7a4a7f04e5af4
641
py
Python
pomodorr/projects/apps.py
kamil559/pomodorr
232e6e98ff3481561dd1235794b3960066713210
[ "MIT" ]
null
null
null
pomodorr/projects/apps.py
kamil559/pomodorr
232e6e98ff3481561dd1235794b3960066713210
[ "MIT" ]
15
2020-04-11T18:30:57.000Z
2020-07-05T09:37:43.000Z
pomodorr/projects/apps.py
kamil559/pomodorr
232e6e98ff3481561dd1235794b3960066713210
[ "MIT" ]
null
null
null
from django.apps import AppConfig from django.utils.translation import gettext_lazy as _ class ProjectsConfig(AppConfig): name = 'pomodorr.projects' verbose = _('Projects') def ready(self): try: from pomodorr.projects.signals.dispatchers import notify_force_finish from pom...
33.736842
111
0.692668
67
641
6.373134
0.567164
0.149883
0.161593
0.18267
0
0
0
0
0
0
0
0.006224
0.24805
641
18
112
35.611111
0.879668
0.014041
0
0
0
0
0.126984
0.087302
0
0
0
0
0
1
0.076923
false
0.076923
0.384615
0
0.692308
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
1
0
1
0
0
4
d383cd85a741d1d27af48818777ba3ae5e9dea05
537
py
Python
tests/pymath/test_visible_cubes.py
JASTYN/pythonmaster
46638ab09d28b65ce5431cd0759fe6df272fb85d
[ "Apache-2.0", "MIT" ]
3
2017-05-02T10:28:13.000Z
2019-02-06T09:10:11.000Z
tests/pymath/test_visible_cubes.py
JASTYN/pythonmaster
46638ab09d28b65ce5431cd0759fe6df272fb85d
[ "Apache-2.0", "MIT" ]
2
2017-06-21T20:39:14.000Z
2020-02-25T10:28:57.000Z
tests/pymath/test_visible_cubes.py
JASTYN/pythonmaster
46638ab09d28b65ce5431cd0759fe6df272fb85d
[ "Apache-2.0", "MIT" ]
2
2016-07-29T04:35:22.000Z
2017-01-18T17:05:36.000Z
import unittest from pymath.visible_cubes import VisibleCubes class VisibleCubesTest(unittest.TestCase): def test_1(self): self.assertEqual(VisibleCubes.not_visible_cubes(0), 0) def test_2(self): self.assertEqual(VisibleCubes.not_visible_cubes(1), 0) def test_3(self): self.asser...
25.571429
62
0.72067
72
537
5.152778
0.305556
0.19407
0.256065
0.41779
0.619946
0.619946
0.619946
0
0
0
0
0.033937
0.176909
537
20
63
26.85
0.80543
0
0
0
0
0
0
0
0
0
0
0
0.384615
1
0.384615
false
0
0.153846
0
0.615385
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
1
0
0
4
d3909bb5f50aa6a1cd42a85aa5f53b8ef59eb532
161
py
Python
m3gnet/trainers/__init__.py
materialsvirtuallab/m3gnet
94fb01d0c90d3b2bffcdc4514f7eb3cb8fab6c90
[ "BSD-3-Clause" ]
1
2022-03-31T14:47:24.000Z
2022-03-31T14:47:24.000Z
m3gnet/trainers/__init__.py
materialsvirtuallab/m3gnet
94fb01d0c90d3b2bffcdc4514f7eb3cb8fab6c90
[ "BSD-3-Clause" ]
null
null
null
m3gnet/trainers/__init__.py
materialsvirtuallab/m3gnet
94fb01d0c90d3b2bffcdc4514f7eb3cb8fab6c90
[ "BSD-3-Clause" ]
null
null
null
"""M3GNet trainers""" # -*- coding: utf-8 -*- from ._potential import PotentialTrainer from ._property import Trainer __all__ = ["Trainer", "PotentialTrainer"]
23
41
0.720497
16
161
6.875
0.75
0
0
0
0
0
0
0
0
0
0
0.014184
0.124224
161
6
42
26.833333
0.765957
0.236025
0
0
0
0
0.196581
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
6c96573e2a86c4d06cd5e786e6a9c65c803e3b54
486
py
Python
tests/__init__.py
pedromtorres/TigerShark
2790a7c03905a094b126b48387c7919c09cce238
[ "BSD-3-Clause" ]
24
2015-03-18T10:15:20.000Z
2022-03-18T13:38:34.000Z
tests/__init__.py
tspannhw/TigerShark
5081641f1b189a43e9eab4813256598cc0a79f6f
[ "BSD-3-Clause" ]
6
2015-03-27T12:36:57.000Z
2021-04-13T15:01:24.000Z
tests/__init__.py
tspannhw/TigerShark
5081641f1b189a43e9eab4813256598cc0a79f6f
[ "BSD-3-Clause" ]
21
2015-11-21T09:19:47.000Z
2020-09-17T16:52:50.000Z
#!/usr/bin/env python """The test package contains test data files as well as unit tests. run_tests =========== .. automodule:: test.run_tests :members: test_navigation =============== .. automodule:: test.test_navigation :members: test_parse =========== .. automodule:: test.test_parse :members...
13.885714
67
0.596708
51
486
5.490196
0.411765
0.25
0.257143
0
0
0
0
0
0
0
0
0
0.174897
486
34
68
14.294118
0.698254
0.979424
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
1
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
4
6c9da72f1e7cd9a44b07213708fdc729bbcbffaf
33
py
Python
Boolean/Boolean1.py
liyuanyuan11/Python
d94cc7ab39e56c6e24bfc741a30da77590d1d220
[ "MIT" ]
null
null
null
Boolean/Boolean1.py
liyuanyuan11/Python
d94cc7ab39e56c6e24bfc741a30da77590d1d220
[ "MIT" ]
null
null
null
Boolean/Boolean1.py
liyuanyuan11/Python
d94cc7ab39e56c6e24bfc741a30da77590d1d220
[ "MIT" ]
null
null
null
thisIsBool=True print(thisIsBool)
16.5
17
0.878788
4
33
7.25
0.75
0
0
0
0
0
0
0
0
0
0
0
0.030303
33
2
17
16.5
0.90625
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
4
6c9ee4047b3a967591fcf09f72904d1bcbe40877
272
py
Python
Python POO/Getters e Setters/exemplo03/alarm.py
luccasocastro/Curso-Python
7ad2b980bb2f95f833811291273d6ca1beb0fe77
[ "MIT" ]
null
null
null
Python POO/Getters e Setters/exemplo03/alarm.py
luccasocastro/Curso-Python
7ad2b980bb2f95f833811291273d6ca1beb0fe77
[ "MIT" ]
null
null
null
Python POO/Getters e Setters/exemplo03/alarm.py
luccasocastro/Curso-Python
7ad2b980bb2f95f833811291273d6ca1beb0fe77
[ "MIT" ]
null
null
null
class Alarme: def __init__(self, estado: bool) -> None: self.__estado = estado def getEstado(self) -> bool: return self.__estado def setEstado(self, valor: bool) -> None: if isinstance(valor, bool): self.__estado = valor
22.666667
45
0.599265
31
272
4.935484
0.451613
0.261438
0
0
0
0
0
0
0
0
0
0
0.294118
272
11
46
24.727273
0.796875
0
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0
0.125
0.625
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
1
0
0
0
1
1
0
0
4
6cc0464d548268e9ae806041a26f69d2278a7df3
1,559
py
Python
qiskit/_openquantumcompiler.py
christians94/qiskit-sdk-py
5c1c68a5aa3dcccdf5c10f9eb307383ebb40826b
[ "Apache-2.0" ]
null
null
null
qiskit/_openquantumcompiler.py
christians94/qiskit-sdk-py
5c1c68a5aa3dcccdf5c10f9eb307383ebb40826b
[ "Apache-2.0" ]
1
2018-08-08T17:56:06.000Z
2018-08-08T17:56:06.000Z
qiskit/_openquantumcompiler.py
christians94/qiskit-sdk-py
5c1c68a5aa3dcccdf5c10f9eb307383ebb40826b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # pylint: disable=redefined-builtin # Copyright 2017 IBM RESEARCH. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/...
42.135135
82
0.686337
214
1,559
4.971963
0.593458
0.056391
0.024436
0.030075
0.018797
0
0
0
0
0
0
0.012658
0.189224
1,559
36
83
43.305556
0.829114
0.817832
0
0
0
0
0.068493
0
0
0
0
0.027778
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
1
0
0
0
0
4
6cd7b3f78c6ea020b669ed58c3c399d8c2e66207
590
py
Python
letter/models.py
HilmiZul/epkl3
63df215eb1676cf5ab2f36f2f20436b19b540b9a
[ "MIT" ]
6
2019-02-15T07:15:33.000Z
2021-01-05T12:18:21.000Z
letter/models.py
HilmiZul/epkl3
63df215eb1676cf5ab2f36f2f20436b19b540b9a
[ "MIT" ]
6
2019-09-14T14:47:48.000Z
2022-03-12T00:56:51.000Z
letter/models.py
HilmiZul/epkl3
63df215eb1676cf5ab2f36f2f20436b19b540b9a
[ "MIT" ]
null
null
null
from django.db import models from master.models import Siswa, Instansi # Create your models here. class Permohonan(models.Model): nama_siswa = models.ForeignKey(Siswa, on_delete=models.CASCADE) nama_instansi = models.ForeignKey(Instansi, on_delete=models.CASCADE) def __str__(self): return self.nam...
32.777778
78
0.750847
75
590
5.666667
0.333333
0.150588
0.131765
0.197647
0.691765
0.691765
0.691765
0.691765
0.691765
0.691765
0
0
0.154237
590
17
79
34.705882
0.851703
0.450847
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
1
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
6ce67f80393f8088cf44c387c9e1c5262727136a
581
py
Python
model/digamma.py
OpenXAIProject/Beta-Bernoulli-Dependent-Dropout
723df2d2392ec16eca3452d4afb81d54c4a2f841
[ "Apache-2.0" ]
13
2018-11-29T05:56:11.000Z
2018-12-05T02:47:23.000Z
model/digamma.py
OpenXAIProject/Beta-Bernoulli-Dependent-Dropout
723df2d2392ec16eca3452d4afb81d54c4a2f841
[ "Apache-2.0" ]
null
null
null
model/digamma.py
OpenXAIProject/Beta-Bernoulli-Dependent-Dropout
723df2d2392ec16eca3452d4afb81d54c4a2f841
[ "Apache-2.0" ]
8
2018-11-30T00:42:27.000Z
2018-12-04T10:11:08.000Z
import tensorflow as tf # @MISC {1446110, # TITLE = {Approximating the Digamma function}, # AUTHOR = {njuffa (https://math.stackexchange.com/users/114200/njuffa)}, # HOWPUBLISHED = {Mathematics Stack Exchange}, # NOTE = {URL:https://math.stackexchange.com/q/1446110 (version: 2015-09-22)}, # EPRINT = {https://math.stack...
38.733333
78
0.686747
77
581
5.116883
0.545455
0.091371
0.22335
0.253807
0.266497
0.266497
0.182741
0
0
0
0
0.159919
0.149742
581
14
79
41.5
0.637652
0.616179
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
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
1
0
0
0
4
6cf35020ab985340d7a20cd326ad9113518513ba
91
py
Python
_downloads/plot_cubist_lena.py
dolfly/scipy-lectures.github.com
0e5babdf839754b075ded5d986f767be35fbbe65
[ "CC-BY-3.0" ]
null
null
null
_downloads/plot_cubist_lena.py
dolfly/scipy-lectures.github.com
0e5babdf839754b075ded5d986f767be35fbbe65
[ "CC-BY-3.0" ]
null
null
null
_downloads/plot_cubist_lena.py
dolfly/scipy-lectures.github.com
0e5babdf839754b075ded5d986f767be35fbbe65
[ "CC-BY-3.0" ]
null
null
null
import numpy as np from scipy import misc import matplotlib.pyplot as plt l = misc.lena()
15.166667
31
0.769231
16
91
4.375
0.75
0
0
0
0
0
0
0
0
0
0
0
0.175824
91
5
32
18.2
0.933333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
9f03534c24da605d0a327352c085084a1edd3ca6
484
py
Python
odk2stata/dataset/__init__.py
PMA-2020/odk2stata
5178736eeedd4bad93bd35044a57cf071f282b4b
[ "MIT" ]
2
2019-12-04T10:30:04.000Z
2022-03-23T11:07:07.000Z
odk2stata/dataset/__init__.py
PMA-2020/odk2stata
5178736eeedd4bad93bd35044a57cf071f282b4b
[ "MIT" ]
3
2019-10-11T17:28:51.000Z
2022-01-09T06:07:08.000Z
odk2stata/dataset/__init__.py
jkpr/odk2stata
361b88d7fdd5751f16cd3ed5ceb7acdbde3bb82c
[ "MIT" ]
3
2019-07-10T23:33:44.000Z
2021-12-18T06:25:53.000Z
"""A module to describe the dataset based on an ODK file. This module describes three primary abstractions: - DatasetCollection - Dataset - Column An ODK file can have repeat groups. When the data are exported to CSV, then those repeat groups become their own datasets. Therefore, the top level is the Dat...
28.470588
70
0.778926
68
484
5.529412
0.705882
0.026596
0.047872
0
0
0
0
0
0
0
0
0
0.181818
484
16
71
30.25
0.949495
0.876033
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
9f1f74457ba290ef289d78ba38eca46ee30f0a62
533
py
Python
utils/app_decorators.py
Omeramsc/hakesh-trom
bede21b96ea807ed78d5169ac5b4a917c15ce286
[ "MIT" ]
null
null
null
utils/app_decorators.py
Omeramsc/hakesh-trom
bede21b96ea807ed78d5169ac5b4a917c15ce286
[ "MIT" ]
4
2020-06-19T09:58:55.000Z
2022-02-13T16:20:28.000Z
utils/app_decorators.py
Omeramsc/hakesh-trom
bede21b96ea807ed78d5169ac5b4a917c15ce286
[ "MIT" ]
1
2020-03-18T18:38:49.000Z
2020-03-18T18:38:49.000Z
from functools import wraps from flask import redirect, abort from flask_login import current_user def admin_access(f): @wraps(f) def decorated_function(*args, **kwargs): if not current_user.is_admin: abort(403) return f(*args, **kwargs) return decorated_function ...
22.208333
45
0.628518
66
533
4.893939
0.348485
0.210526
0.074303
0.080495
0.687307
0.687307
0.687307
0.687307
0.687307
0.687307
0
0.015707
0.283302
533
23
46
23.173913
0.829843
0
0
0.588235
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0.176471
0
0.647059
0
0
0
0
null
1
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
4
9f2f032fefbb445ef3a91589293fd83015bc8ef0
1,641
py
Python
Apartment_Renting_App/backend/views/about_page.py
sushilkplassar/csc848_LiveGator
e95d861679f1dfb8f547d5b9f7d9b7a4fa530c8d
[ "MIT" ]
null
null
null
Apartment_Renting_App/backend/views/about_page.py
sushilkplassar/csc848_LiveGator
e95d861679f1dfb8f547d5b9f7d9b7a4fa530c8d
[ "MIT" ]
1
2019-11-24T06:30:44.000Z
2019-11-24T06:30:44.000Z
Apartment_Renting_App/backend/views/about_page.py
pancreaspinch/LiveGator
680592aaf7a6c1603c0ae798a8094ca5f3ff250f
[ "MIT" ]
null
null
null
#################################### # File name: about_page.py # # Description: # Author: Team-13 # # Submission: Spring-2019 # # Instructor: Dragutin Petkovic # #################################### from flask import Flask, Blueprint, request, flash, url_for, redirect, render_templ...
30.388889
86
0.697136
191
1,641
5.722513
0.308901
0.090576
0.164684
0.168344
0.230558
0.204941
0
0
0
0
0
0.004141
0.117002
1,641
54
87
30.388889
0.750173
0.087751
0
0
0
0
0.215297
0.016997
0
0
0
0
0
1
0.285714
false
0.035714
0.107143
0.285714
0.678571
0.071429
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
1
1
0
0
4
9f4c781ed13aa5ab9d4df3bec8dc6e44debfb804
51
py
Python
model/efficientNet/__init__.py
ztt0810/general_img_cls_template
2ae164d14e1abca1cdcf327acf306dd0415fd3ac
[ "MIT" ]
1
2021-03-02T15:05:24.000Z
2021-03-02T15:05:24.000Z
model/efficientNet/__init__.py
ztt0810/general_img_cls_template
2ae164d14e1abca1cdcf327acf306dd0415fd3ac
[ "MIT" ]
null
null
null
model/efficientNet/__init__.py
ztt0810/general_img_cls_template
2ae164d14e1abca1cdcf327acf306dd0415fd3ac
[ "MIT" ]
null
null
null
from .efficientNet import * from .utils import *
17
28
0.72549
6
51
6.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.196078
51
2
29
25.5
0.902439
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
9f558eee486a98a8b26462c909884d369ed07d81
170
py
Python
FacebookChatPhisher/secretDirectory/secret.py
AshrafTaifour/Private-Facebook-Scraper
0fc72414792ec7a04770364cb036a0f14767069c
[ "MIT" ]
2
2021-04-05T05:17:57.000Z
2021-06-27T07:46:32.000Z
FacebookChatPhisher/secretDirectory/secret.py
AshrafTaifour/Private-Facebook-Scraper
0fc72414792ec7a04770364cb036a0f14767069c
[ "MIT" ]
2
2021-05-16T21:16:36.000Z
2021-07-30T14:37:38.000Z
FacebookChatPhisher/secretDirectory/secret.py
AshrafTaifour/Private-Facebook-Scraper
0fc72414792ec7a04770364cb036a0f14767069c
[ "MIT" ]
null
null
null
EMAIL = "YOUR_FACEBOOK_EMAIL" UNAME = "YOUR_FB_USER_NAME" passw = r"YOUR_FACBOOK_PASSWORD" torBrowserPath = 'PATH_TO_TORBROWSERDIRECTORY' exePath = 'PATH_TO_DRIVER_EXE'
24.285714
46
0.817647
23
170
5.521739
0.782609
0.094488
0
0
0
0
0
0
0
0
0
0
0.094118
170
6
47
28.333333
0.824675
0
0
0
0
0
0.60355
0.284024
0
0
0
0
0
1
0
false
0.2
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
9f56a63924ec5c746a985d2d77f5a5ae47777582
231
py
Python
rename.py
samlarkin/bin
cc2dcf22b37e28f19a237ce4f073aabb539114cd
[ "BSD-3-Clause" ]
null
null
null
rename.py
samlarkin/bin
cc2dcf22b37e28f19a237ce4f073aabb539114cd
[ "BSD-3-Clause" ]
null
null
null
rename.py
samlarkin/bin
cc2dcf22b37e28f19a237ce4f073aabb539114cd
[ "BSD-3-Clause" ]
null
null
null
import os for fn in os.listdir(): if '.wiki' in fn: new_fn = fn[:] new_fn = new_fn.replace('.wiki', '') new_fn = new_fn.replace('.', '') new_fn = new_fn + '.wiki' os.replace(fn, new_fn)
23.1
44
0.506494
35
231
3.114286
0.285714
0.366972
0.385321
0.275229
0.311927
0
0
0
0
0
0
0
0.316017
231
9
45
25.666667
0.689873
0
0
0
0
0
0.069264
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9f69d1c4d6e28dbe64a9d4ed81782a9a6530a5e0
29
py
Python
connection_notifier/__init__.py
NNRepos/connection_alerter
463a4225618cc4155cd97d27f84b28930f68a175
[ "MIT" ]
null
null
null
connection_notifier/__init__.py
NNRepos/connection_alerter
463a4225618cc4155cd97d27f84b28930f68a175
[ "MIT" ]
1
2019-11-01T19:33:48.000Z
2021-11-14T19:36:43.000Z
connection_notifier/__init__.py
NNRepos/connection_alerter
463a4225618cc4155cd97d27f84b28930f68a175
[ "MIT" ]
null
null
null
name = "connection_notifier"
14.5
28
0.793103
3
29
7.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.103448
29
1
29
29
0.846154
0
0
0
0
0
0.655172
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9f8184849b20efb42772fe5c324d73b990a92874
265
py
Python
mindsdb/libs/data_types/tester_response.py
aykuttasil/mindsdb
2c36b6f75f13d7104fe4d3dbb7ca307fa84f45ad
[ "MIT" ]
1
2022-03-14T00:32:53.000Z
2022-03-14T00:32:53.000Z
mindsdb/libs/data_types/tester_response.py
aykuttasil/mindsdb
2c36b6f75f13d7104fe4d3dbb7ca307fa84f45ad
[ "MIT" ]
null
null
null
mindsdb/libs/data_types/tester_response.py
aykuttasil/mindsdb
2c36b6f75f13d7104fe4d3dbb7ca307fa84f45ad
[ "MIT" ]
null
null
null
class TesterResponse(): def __init__(self, error=0, accuracy =0 , predicted_targets={}, real_targets={}): self.error = error self.accuracy = accuracy self.predicted_targets = predicted_targets self.real_targets = real_targets
26.5
85
0.671698
29
265
5.793103
0.37931
0.285714
0.214286
0
0
0
0
0
0
0
0
0.009804
0.230189
265
9
86
29.444444
0.813725
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9f823af966072fa5ca7e3673da51ceeb153a05cf
624
py
Python
src/metrics/abstract_scorer.py
Hazoom/sede
2bf261248feb330889a9e84f74e33ff7df0d6a86
[ "Apache-2.0" ]
65
2021-06-06T09:54:43.000Z
2022-02-28T08:15:02.000Z
src/metrics/abstract_scorer.py
Hazoom/sede
2bf261248feb330889a9e84f74e33ff7df0d6a86
[ "Apache-2.0" ]
null
null
null
src/metrics/abstract_scorer.py
Hazoom/sede
2bf261248feb330889a9e84f74e33ff7df0d6a86
[ "Apache-2.0" ]
10
2021-06-29T11:04:50.000Z
2022-02-12T08:15:49.000Z
from typing import List, Dict from abc import ABC, abstractmethod class AbstractScorer(ABC): @abstractmethod def get_name(self) -> str: raise NotImplementedError() @abstractmethod def __call__(self, pred_lns: List[str], tgt_lns: List[str]) -> None: raise NotImplementedError() @ab...
24.96
72
0.674679
66
624
6.227273
0.409091
0.206813
0.36983
0.399027
0.262774
0.262774
0.262774
0
0
0
0
0
0.227564
624
24
73
26
0.852697
0
0
0.555556
0
0
0
0
0
0
0
0
0
1
0.277778
false
0
0.111111
0
0.444444
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
4c7d156f26e5e8a4d0712c00077b28beeea31a16
39
py
Python
pycotacao/__init__.py
CaioWzy/PyCotacao
6a536f35fad4c38db8ae116d29eb7a4ab4735778
[ "MIT" ]
3
2020-02-08T05:44:39.000Z
2020-10-29T14:10:22.000Z
pycotacao/__init__.py
CaioWzy/PyCotacao
6a536f35fad4c38db8ae116d29eb7a4ab4735778
[ "MIT" ]
null
null
null
pycotacao/__init__.py
CaioWzy/PyCotacao
6a536f35fad4c38db8ae116d29eb7a4ab4735778
[ "MIT" ]
1
2021-03-16T01:48:59.000Z
2021-03-16T01:48:59.000Z
from .api import * __version__ = "1.1"
13
19
0.666667
6
39
3.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0.0625
0.179487
39
3
19
13
0.625
0
0
0
0
0
0.075
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
4
4c82fabe7b2f200f060085e375884907e7a22229
54
py
Python
riscv_mini/const.py
cdonovick/magma_riscv_mini
b7f39e09df28c6dde26ec427aae54aa9b88f1d11
[ "BSD-3-Clause" ]
3
2021-04-13T18:52:09.000Z
2022-01-05T07:18:03.000Z
riscv_mini/const.py
cdonovick/magma_riscv_mini
b7f39e09df28c6dde26ec427aae54aa9b88f1d11
[ "BSD-3-Clause" ]
1
2020-09-01T23:46:05.000Z
2020-09-09T19:13:08.000Z
riscv_mini/const.py
cdonovick/magma_riscv_mini
b7f39e09df28c6dde26ec427aae54aa9b88f1d11
[ "BSD-3-Clause" ]
2
2021-04-16T17:15:18.000Z
2021-09-17T21:09:37.000Z
class Const: PC_START = 0x200 PC_EVEC = 0x100
13.5
20
0.648148
8
54
4.125
0.875
0
0
0
0
0
0
0
0
0
0
0.210526
0.296296
54
3
21
18
0.657895
0
0
0
0
0
0
0
0
0
0.185185
0
0
1
0
false
0
0
0
1
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
1
0
0
4
4c94bef0d115389da735a1e29841834c3e9e1548
29,691
py
Python
test/test_socks.py
glowatsk/txtorcon
db8de75a4568561b118be11299bda61f3fb84719
[ "MIT" ]
180
2015-01-12T23:57:06.000Z
2022-03-17T00:24:35.000Z
test/test_socks.py
glowatsk/txtorcon
db8de75a4568561b118be11299bda61f3fb84719
[ "MIT" ]
262
2015-01-16T21:14:50.000Z
2022-02-25T01:33:42.000Z
test/test_socks.py
glowatsk/txtorcon
db8de75a4568561b118be11299bda61f3fb84719
[ "MIT" ]
61
2015-01-05T01:10:57.000Z
2022-01-04T08:13:39.000Z
from six import BytesIO, text_type from mock import Mock, patch from twisted.trial import unittest from twisted.internet import defer from twisted.internet.address import IPv4Address from twisted.internet.protocol import Protocol from twisted.internet.interfaces import IStreamClientEndpoint from twisted.test import pr...
35.686298
111
0.596376
3,414
29,691
5.039836
0.099004
0.015343
0.016738
0.016855
0.79141
0.772696
0.746019
0.707834
0.687086
0.66843
0
0.041999
0.294298
29,691
831
112
35.729242
0.779172
0.063049
0
0.689498
0
0
0.099475
0.039567
0
0
0.000719
0.001203
0.141553
1
0.100457
false
0
0.018265
0.001522
0.165906
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4cb04dfc726d4ac1800ff0dd0d01f5c28f942726
364
py
Python
python/testData/inspections/PyDataclassInspection/comparisonForManuallyOrdered.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/inspections/PyDataclassInspection/comparisonForManuallyOrdered.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/inspections/PyDataclassInspection/comparisonForManuallyOrdered.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
from dataclasses import dataclass @dataclass(order=False) class Test1: def __gt__(self, other): pass @dataclass class Test2: def __gt__(self, other): pass print(Test1() < Test1()) print(Test2() < Test2()) print(Test1() > Test1()) print(Test2() > Test2()) print(Test1 < Test1) print(Test2 < Test2...
15.826087
33
0.664835
46
364
5.086957
0.326087
0.17094
0.25641
0.34188
0.666667
0.512821
0.512821
0.512821
0.512821
0.512821
0
0.060606
0.184066
364
23
34
15.826087
0.727273
0
0
0.235294
0
0
0
0
0
0
0
0
0
1
0.117647
false
0.117647
0.058824
0
0.294118
0.470588
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
1
0
0
0
1
0
4
4cb8191cdc92d1a5f9c909f5adfaf89d0827d41c
93
py
Python
test/test_getfiles.py
Zhu-Jianwei/LaTeX-helper
322bf686d1aee32804013d813d46bd27a4a8325f
[ "MIT" ]
4
2022-03-13T12:02:38.000Z
2022-03-13T15:30:20.000Z
test/test_getfiles.py
Zhu-Jianwei/LaTeX-helper
322bf686d1aee32804013d813d46bd27a4a8325f
[ "MIT" ]
null
null
null
test/test_getfiles.py
Zhu-Jianwei/LaTeX-helper
322bf686d1aee32804013d813d46bd27a4a8325f
[ "MIT" ]
3
2022-02-06T08:05:37.000Z
2022-02-07T08:26:48.000Z
from utils.fileio import * if __name__ == '__main__': print(get_tex_list_recursive('.'))
23.25
38
0.709677
12
93
4.583333
1
0
0
0
0
0
0
0
0
0
0
0
0.139785
93
4
38
23.25
0.6875
0
0
0
0
0
0.095745
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
4cc547610eb48bfe2850a07303a37c73843e903c
17
py
Python
src/passpredict/_version.py
samtx/pass-predictor
6577f75cd7d64bd3c12a9512880d4b29c2682b4c
[ "MIT" ]
4
2017-01-31T07:12:48.000Z
2018-12-02T21:30:14.000Z
layer-atlas/version.gradle
netguru/Atlas-Android
7a3ca807c8d641346bcb73811cb0d308dca16efe
[ "Apache-2.0" ]
null
null
null
layer-atlas/version.gradle
netguru/Atlas-Android
7a3ca807c8d641346bcb73811cb0d308dca16efe
[ "Apache-2.0" ]
null
null
null
version = '0.5.0'
17
17
0.588235
4
17
2.5
0.75
0
0
0
0
0
0
0
0
0
0
0.2
0.117647
17
1
17
17
0.466667
0
0
0
0
0
0.277778
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4cee5af5f6e26e8e12d1a1f706296d1d58e7b45d
162
py
Python
checkers/5Go/client/__init__.py
C4T-BuT-S4D/stay-home-ctf-2022
7084f53a69e3e25d62a1aaad8b7dfe1cd663a4ec
[ "WTFPL" ]
4
2022-02-06T19:56:46.000Z
2022-02-12T15:21:47.000Z
services/5Go/client/__init__.py
C4T-BuT-S4D/stay-home-ctf-2022
7084f53a69e3e25d62a1aaad8b7dfe1cd663a4ec
[ "WTFPL" ]
null
null
null
services/5Go/client/__init__.py
C4T-BuT-S4D/stay-home-ctf-2022
7084f53a69e3e25d62a1aaad8b7dfe1cd663a4ec
[ "WTFPL" ]
2
2022-02-07T09:59:47.000Z
2022-02-07T10:22:20.000Z
from pathlib import Path import sys sys.path.insert(0, str(Path(__file__).absolute().parent / 'proto')) from .daeh5 import Daeh5 # noqa __all__ = ('Daeh5',)
16.2
67
0.703704
23
162
4.608696
0.652174
0
0
0
0
0
0
0
0
0
0
0.028986
0.148148
162
9
68
18
0.73913
0.024691
0
0
0
0
0.064103
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
4cef4c98ae09635815699f63ee6fc37238126027
165
py
Python
tests/extmod/ure_debug.py
TG-Techie/circuitpython
390295dd218fb705fe652de77132dea472adf1ed
[ "MIT", "BSD-3-Clause", "MIT-0", "Unlicense" ]
3
2020-01-09T21:50:22.000Z
2020-01-15T08:27:48.000Z
tests/extmod/ure_debug.py
TG-Techie/circuitpython
390295dd218fb705fe652de77132dea472adf1ed
[ "MIT", "BSD-3-Clause", "MIT-0", "Unlicense" ]
null
null
null
tests/extmod/ure_debug.py
TG-Techie/circuitpython
390295dd218fb705fe652de77132dea472adf1ed
[ "MIT", "BSD-3-Clause", "MIT-0", "Unlicense" ]
1
2020-01-11T12:42:41.000Z
2020-01-11T12:42:41.000Z
# test printing debugging info when compiling try: import ure except ImportError: print("SKIP") raise SystemExit ure.compile("^a|b[0-9]\w$", ure.DEBUG)
18.333333
45
0.690909
24
165
4.75
0.916667
0
0
0
0
0
0
0
0
0
0
0.014815
0.181818
165
8
46
20.625
0.82963
0.260606
0
0
0
0
0.133333
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
4cf5f417e64e0bebe31c66283110f507586b44ab
444
py
Python
Handlers/BaseHandler.py
Nuit-De-L-Info-2016-STRI-DL/Backend
418f8411cd556c6fc96c7f19c976560e773e35f0
[ "MIT" ]
null
null
null
Handlers/BaseHandler.py
Nuit-De-L-Info-2016-STRI-DL/Backend
418f8411cd556c6fc96c7f19c976560e773e35f0
[ "MIT" ]
3
2016-12-01T20:37:56.000Z
2017-09-28T11:02:52.000Z
Handlers/BaseHandler.py
Nuit-De-L-Info-2016-STRI-DL/Backend
418f8411cd556c6fc96c7f19c976560e773e35f0
[ "MIT" ]
null
null
null
import tornado class BaseHandler(tornado.web.RequestHandler): """Superclass for Handlers which require a connected user """ @property def redis_client(self): return self.application.redis_client def get_current_user(self): """Get current connected user :return: current c...
21.142857
61
0.653153
51
444
5.568627
0.54902
0.137324
0.140845
0.183099
0
0
0
0
0
0
0
0.009036
0.252252
444
20
62
22.2
0.846386
0.265766
0
0
0
0
0.040268
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.777778
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
1
1
0
0
4
980ae279fc6ff666cb86472b0e41e07b61f192a0
219
py
Python
master/routers/spiders.py
sdulsj/spider_platform
8850fdfc1bb12817ef47da89856da68a7a52fd2e
[ "MIT" ]
7
2018-08-17T09:04:18.000Z
2021-10-05T17:02:28.000Z
master/routers/spiders.py
parker-pu/spider_platform
8850fdfc1bb12817ef47da89856da68a7a52fd2e
[ "MIT" ]
1
2021-06-04T05:50:43.000Z
2021-06-04T05:50:43.000Z
master/routers/spiders.py
parker-pu/spider_platform
8850fdfc1bb12817ef47da89856da68a7a52fd2e
[ "MIT" ]
3
2019-03-21T09:40:45.000Z
2020-05-09T13:27:59.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ # @Date : 2018/8/15 # @Author: lsj # @File : views.py # @Desc : 默认Python版本支持:3.6 """ from app.routers import blueprint_spider from flask_login import login_required
18.25
40
0.6621
32
219
4.4375
0.875
0
0
0
0
0
0
0
0
0
0
0.054645
0.164384
219
11
41
19.909091
0.721311
0.579909
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
4
e24923e9e8b668ee62513b6705dcec9a67c54140
138
py
Python
ldndc2nc/__main__.py
deekaey/ldndc2nc
43dcf4ec1175fe9535c0182cefc1553db18f7472
[ "BSD-3-Clause" ]
null
null
null
ldndc2nc/__main__.py
deekaey/ldndc2nc
43dcf4ec1175fe9535c0182cefc1553db18f7472
[ "BSD-3-Clause" ]
null
null
null
ldndc2nc/__main__.py
deekaey/ldndc2nc
43dcf4ec1175fe9535c0182cefc1553db18f7472
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ldndc2nc.__main__: executed when ldndc2nc directory is called as script.""" from .ldndc2nc import main main()
23
78
0.702899
18
138
5.166667
0.777778
0
0
0
0
0
0
0
0
0
0
0.033898
0.144928
138
5
79
27.6
0.754237
0.688406
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
e24ae2ac9ca6b814c6d97818e0f21f67872cd6dc
81
py
Python
blog_embed/__init__.py
insaction-dev/markdown-blog-embed
a45fd7641d600a203b778c9d4d6e7b07460bbfe3
[ "MIT" ]
null
null
null
blog_embed/__init__.py
insaction-dev/markdown-blog-embed
a45fd7641d600a203b778c9d4d6e7b07460bbfe3
[ "MIT" ]
null
null
null
blog_embed/__init__.py
insaction-dev/markdown-blog-embed
a45fd7641d600a203b778c9d4d6e7b07460bbfe3
[ "MIT" ]
null
null
null
"""Allows custom embeds of other websites' data through simple link copy-paste"""
81
81
0.777778
12
81
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.123457
81
1
81
81
0.887324
0.925926
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
e286c0d52f3f7354d99fd6d4b897ffa7143497f8
87
py
Python
apps/zabbix/apps.py
ykyk1229/TurtleDove
074ed03396d603a920bc382ee916fc0f3adab6ea
[ "MIT" ]
3
2020-06-11T10:57:22.000Z
2021-03-25T02:45:05.000Z
apps/zabbix/apps.py
ykyk1229/TurtleDove
074ed03396d603a920bc382ee916fc0f3adab6ea
[ "MIT" ]
2
2020-08-05T07:59:45.000Z
2020-08-05T08:00:48.000Z
apps/zabbix/apps.py
sunfan666/cmdb
71722a8dddf5e337d7658328cfcac0c9108b067c
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ZabbixConfig(AppConfig): name = 'zabbix'
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.172414
87
5
34
17.4
0.902778
0
0
0
0
0
0.068966
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
1
0
0
4
2c33286bf46b60906134beaba1829ed0697c48cd
2,426
py
Python
libs/python/test/test_imaged_object_api.py
Scripta-Qumranica-Electronica/SQE_API_Connectors
aaa9b9eb8709d4257c32ea57321a179c6b1e041a
[ "MIT" ]
null
null
null
libs/python/test/test_imaged_object_api.py
Scripta-Qumranica-Electronica/SQE_API_Connectors
aaa9b9eb8709d4257c32ea57321a179c6b1e041a
[ "MIT" ]
null
null
null
libs/python/test/test_imaged_object_api.py
Scripta-Qumranica-Electronica/SQE_API_Connectors
aaa9b9eb8709d4257c32ea57321a179c6b1e041a
[ "MIT" ]
null
null
null
# coding: utf-8 """ SQE API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: v1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest impo...
31.921053
164
0.731245
317
2,426
5.252366
0.268139
0.101502
0.072072
0.046847
0.67027
0.67027
0.659459
0.592793
0.592793
0.467868
0
0.021432
0.211459
2,426
75
165
32.346667
0.848928
0.5169
0
0.291667
1
0
0.007929
0
0
0
0
0
0
1
0.333333
false
0.291667
0.208333
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
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
2c4e3c128a7b528636324830f29b2f4c8c54768f
138
py
Python
training/unsupervised/ndim/operations.py
purijs/Sentinel-Training-Data-Generation
6d707cf197b7c822076c9cb58ca9b79c5ffdb297
[ "MIT" ]
null
null
null
training/unsupervised/ndim/operations.py
purijs/Sentinel-Training-Data-Generation
6d707cf197b7c822076c9cb58ca9b79c5ffdb297
[ "MIT" ]
null
null
null
training/unsupervised/ndim/operations.py
purijs/Sentinel-Training-Data-Generation
6d707cf197b7c822076c9cb58ca9b79c5ffdb297
[ "MIT" ]
null
null
null
class NdComputations(object): def __init__(self, lerp, nd_distance): self.lerp = lerp self.nd_distance = nd_distance
23
42
0.673913
17
138
5.058824
0.529412
0.348837
0
0
0
0
0
0
0
0
0
0
0.23913
138
6
43
23
0.819048
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
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
1
0
0
0
0
0
0
0
4
2c71c76dbc5cf3746ed57a3d539725bfb3b8bd30
60
py
Python
python/testData/resolve/TypeDunderDocNewStyleClass.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2018-12-29T09:53:39.000Z
2018-12-29T09:53:42.000Z
python/testData/resolve/TypeDunderDocNewStyleClass.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/resolve/TypeDunderDocNewStyleClass.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
class A(object): pass print(A.__doc__) # <ref>
10
16
0.533333
8
60
3.5
0.875
0
0
0
0
0
0
0
0
0
0
0
0.316667
60
6
17
10
0.682927
0.083333
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0
0
0.333333
0.333333
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
1
0
0
0
0
0
4
2ca3c7bc970d88cb2f150a75cd389256ab450ff4
383
py
Python
0-python-tutorial/02-comments01.py
luis2ra/py3-00-w3schools
6bb851837f8ef9520491d13fa2c909047c9b18cf
[ "MIT" ]
null
null
null
0-python-tutorial/02-comments01.py
luis2ra/py3-00-w3schools
6bb851837f8ef9520491d13fa2c909047c9b18cf
[ "MIT" ]
null
null
null
0-python-tutorial/02-comments01.py
luis2ra/py3-00-w3schools
6bb851837f8ef9520491d13fa2c909047c9b18cf
[ "MIT" ]
null
null
null
# @author: https://github.com/luis2ra from https://www.w3schools.com/python/python_comments.asp ''' Python Comments Comments can be used to explain Python code. Comments can be used to make the code more readable. Comments can be used to prevent execution when testing code. Comments starts with a #, and Python will...
23.9375
95
0.751958
60
383
4.783333
0.633333
0.114983
0.135889
0.1777
0.198606
0
0
0
0
0
0
0.006173
0.154047
383
15
96
25.533333
0.87963
0.906005
0
0
0
0
0.481481
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
e2c836e650ec6b90ea6e834a95a542a893d342de
27
py
Python
src/pydictionaria/__init__.py
clld/pydictionaria
e86f849ee732e11c82830dd10cf29fcbc455ced3
[ "Apache-2.0" ]
1
2022-02-23T10:35:21.000Z
2022-02-23T10:35:21.000Z
src/pydictionaria/__init__.py
dictionaria/pydictionaria
4c18edc3b3bb95bf44dd3b2b910aaff3fcd14045
[ "Apache-2.0" ]
17
2019-05-10T07:47:25.000Z
2022-03-05T23:53:11.000Z
src/pydictionaria/__init__.py
clld/pydictionaria
e86f849ee732e11c82830dd10cf29fcbc455ced3
[ "Apache-2.0" ]
null
null
null
# __version__ = '2.2.dev0'
9
24
0.62963
4
27
3.25
0.75
0
0
0
0
0
0
0
0
0
0
0.130435
0.148148
27
2
25
13.5
0.434783
0
0
0
0
0
0.307692
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e2e6e109535f8bb2e122bb20dd4f01afe3c28c67
10,248
py
Python
papertalk/utils/mendeley/example.py
karissa/papertalk
79d77383b1a6fb41e9fef8b9c4f619df97cc8a7c
[ "MIT" ]
null
null
null
papertalk/utils/mendeley/example.py
karissa/papertalk
79d77383b1a6fb41e9fef8b9c4f619df97cc8a7c
[ "MIT" ]
2
2016-02-04T23:59:58.000Z
2016-02-04T23:59:58.000Z
papertalk/utils/mendeley/example.py
karissa/papertalk
79d77383b1a6fb41e9fef8b9c4f619df97cc8a7c
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Mendeley Open API Example Client Copyright (c) 2010, Mendeley Ltd. <copyright@mendeley.com> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in a...
26.968421
114
0.419594
703
10,248
6.054054
0.26458
0.139098
0.125
0.030545
0.305921
0.255639
0.178571
0.140038
0.12406
0.096805
0
0.009196
0.076795
10,248
379
115
27.039578
0.440651
0.010343
0
0.646825
0
0
0.634349
0.481108
0
0
0
0
0
0
null
null
0
0.015873
null
null
0.325397
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
e2e9fd5c53d5066b87e3c2911fa1333d6225513f
253
py
Python
lstchain/visualization/tests/test_plot_dl2.py
labsaha/cta-lstchain
7e65e2cd9c42fbc827b0dcf1bccc7141203ebd22
[ "BSD-3-Clause" ]
null
null
null
lstchain/visualization/tests/test_plot_dl2.py
labsaha/cta-lstchain
7e65e2cd9c42fbc827b0dcf1bccc7141203ebd22
[ "BSD-3-Clause" ]
null
null
null
lstchain/visualization/tests/test_plot_dl2.py
labsaha/cta-lstchain
7e65e2cd9c42fbc827b0dcf1bccc7141203ebd22
[ "BSD-3-Clause" ]
3
2021-06-25T14:20:17.000Z
2021-06-25T16:01:33.000Z
import pandas as pd from lstchain.visualization import plot_dl2 from lstchain.tests.test_lstchain import dl2_file, dl2_params_lstcam_key def test_plot_disp(): dl2_df = pd.read_hdf(dl2_file, key=dl2_params_lstcam_key) plot_dl2.plot_disp(dl2_df)
31.625
72
0.822134
44
253
4.340909
0.454545
0.125654
0.157068
0.188482
0
0
0
0
0
0
0
0.035714
0.114625
253
8
73
31.625
0.816964
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.666667
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
0
1
0
1
0
0
4
3949f89dbcad477050d6fca188d02fd75c7d5286
917
py
Python
importio2/extractor_data.py
import-io/import-io-api-python
5c838a357742233e714b2ccfd19d25c18531cfa3
[ "Apache-2.0" ]
1
2021-08-18T03:27:40.000Z
2021-08-18T03:27:40.000Z
importio2/extractor_data.py
import-io/import-io-api-python
5c838a357742233e714b2ccfd19d25c18531cfa3
[ "Apache-2.0" ]
null
null
null
importio2/extractor_data.py
import-io/import-io-api-python
5c838a357742233e714b2ccfd19d25c18531cfa3
[ "Apache-2.0" ]
2
2021-09-13T14:28:50.000Z
2021-09-27T17:56:21.000Z
# # Copyright 2016 Import.io # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
24.131579
74
0.714286
129
917
4.953488
0.612403
0.093897
0.040689
0.050078
0
0
0
0
0
0
0
0.010989
0.206107
917
37
75
24.783784
0.866758
0.59542
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.25
false
0.166667
0
0.166667
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
1
1
0
0
4
1a3c439ef6960c58744d8611e7ba305dc3cc1c62
202
py
Python
images/python_analysis/src/venv/lib/python3.7/site-packages/elasticsearch/_async/__init__.py
Jael24/TB_ElasticStack
f9aad11eda69045140a90f28739b558bf077d877
[ "MIT" ]
2
2021-05-01T05:40:55.000Z
2021-06-25T13:34:46.000Z
images/python_analysis/src/venv/lib/python3.7/site-packages/elasticsearch/_async/__init__.py
Jael24/TB_ElasticStack
f9aad11eda69045140a90f28739b558bf077d877
[ "MIT" ]
2
2021-02-22T14:55:01.000Z
2021-03-23T12:42:33.000Z
images/python_analysis/src/venv/lib/python3.7/site-packages/elasticsearch/_async/__init__.py
Jael24/TB_ElasticStack
f9aad11eda69045140a90f28739b558bf077d877
[ "MIT" ]
1
2020-05-06T01:31:18.000Z
2020-05-06T01:31:18.000Z
# Licensed to Elasticsearch B.V under one or more agreements. # Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # See the LICENSE file in the project root for more information
50.5
75
0.787129
35
202
4.542857
0.714286
0.176101
0.188679
0
0
0
0
0
0
0
0
0.011976
0.173267
202
3
76
67.333333
0.94012
0.965347
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
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
1ab86d302051275aaf3796d4a4cb1e5d91b522c6
164
py
Python
eddrit/routes/api/__init__.py
corenting/eddrit
640db842d48afa8f8b379f7412c90ad9216312df
[ "MIT" ]
9
2020-10-16T20:29:05.000Z
2022-03-06T08:07:06.000Z
eddrit/routes/api/__init__.py
corenting/eddrit
640db842d48afa8f8b379f7412c90ad9216312df
[ "MIT" ]
7
2020-10-16T16:34:57.000Z
2022-01-19T17:30:29.000Z
eddrit/routes/api/__init__.py
corenting/eddrit
640db842d48afa8f8b379f7412c90ad9216312df
[ "MIT" ]
null
null
null
from starlette.routing import Mount from eddrit.routes.api.comments import routes as comments_routes routes = [ Mount("/comments", routes=comments_routes), ]
20.5
64
0.77439
21
164
5.952381
0.47619
0.336
0
0
0
0
0
0
0
0
0
0
0.134146
164
7
65
23.428571
0.880282
0
0
0
0
0
0.054878
0
0
0
0
0
0
1
0
false
0
0.4
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
1
0
0
0
0
4
1acbe268f731437128a0884f2c6149516b56478e
170
py
Python
Language Skills/Python/Unit 08 Loops/02 Practice makes perfect/Fun with Numbers/4-digit_sum.py
rhyep/Python_tutorials
f5c8a64b91802b005dfe7dd9035f8d8daae8c3e3
[ "MIT" ]
346
2016-02-22T20:21:10.000Z
2022-01-27T20:55:53.000Z
Language Skills/Python/Unit 8/2-Practice makes perfect/Fun with Numbers/4-digit_sum.py
vpstudios/Codecademy-Exercise-Answers
ebd0ee8197a8001465636f52c69592ea6745aa0c
[ "MIT" ]
55
2016-04-07T13:58:44.000Z
2020-06-25T12:20:24.000Z
Language Skills/Python/Unit 8/2-Practice makes perfect/Fun with Numbers/4-digit_sum.py
vpstudios/Codecademy-Exercise-Answers
ebd0ee8197a8001465636f52c69592ea6745aa0c
[ "MIT" ]
477
2016-02-21T06:17:02.000Z
2021-12-22T10:08:01.000Z
def digit_sum(n): b = [] n = str(n) for a in n: a = int(a) b.append(a) return sum(b) print sum(b)
18.888889
27
0.341176
24
170
2.375
0.541667
0.140351
0
0
0
0
0
0
0
0
0
0
0.541176
170
8
28
21.25
0.730769
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.125
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
4
46d41f15f46cf2b1d80352d88c0c09e2a4750a52
68,387
py
Python
test/test_flow_class.py
RViMLab/oflibpytorch
5a6573fe25e174a6d3bd678320b6c20cccfc9b0a
[ "MIT" ]
5
2021-08-08T21:03:44.000Z
2022-02-23T21:50:08.000Z
test/test_flow_class.py
RViMLab/oflibpytorch
5a6573fe25e174a6d3bd678320b6c20cccfc9b0a
[ "MIT" ]
null
null
null
test/test_flow_class.py
RViMLab/oflibpytorch
5a6573fe25e174a6d3bd678320b6c20cccfc9b0a
[ "MIT" ]
1
2021-08-08T21:03:46.000Z
2021-08-08T21:03:46.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright: 2021, Claudio S. Ravasio # License: MIT (https://opensource.org/licenses/MIT) # Author: Claudio S. Ravasio, PhD student at University College London (UCL), research assistant at King's College # London (KCL), supervised by: # Dr Christos Bergeles, PI of the...
52.808494
120
0.562885
9,076
68,387
4.083297
0.047378
0.01592
0.017242
0.017701
0.817053
0.777658
0.742229
0.695872
0.663384
0.602024
0
0.064284
0.302119
68,387
1,294
121
52.849304
0.712232
0.082516
0
0.505474
0
0
0.020433
0.000383
0
0
0
0
0.270073
1
0.029197
false
0
0.007299
0
0.037409
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
46fab5fe057959b5d24e56de0f96ac30c03704cc
245
py
Python
B-CNA-410-LYN-4-1-groundhog/src/r.py
Neotoxic-off/Epitech2024
8b3dd04fa9ac2b7019c0b5b1651975a7252d929b
[ "Apache-2.0" ]
2
2022-02-07T12:44:51.000Z
2022-02-08T12:04:08.000Z
B-CNA-410-LYN-4-1-groundhog/src/r.py
Neotoxic-off/Epitech2024
8b3dd04fa9ac2b7019c0b5b1651975a7252d929b
[ "Apache-2.0" ]
null
null
null
B-CNA-410-LYN-4-1-groundhog/src/r.py
Neotoxic-off/Epitech2024
8b3dd04fa9ac2b7019c0b5b1651975a7252d929b
[ "Apache-2.0" ]
1
2022-01-23T21:26:06.000Z
2022-01-23T21:26:06.000Z
#!/usr/bin/env python from math import sqrt def r(inputs, period): if (len(inputs) > period): if (inputs[-(1 + period)] - 1 > 0): return (round((inputs[-1] / inputs[-(1 + period)] - 1) * 100)) return ("nan")
27.222222
75
0.518367
33
245
3.848485
0.606061
0.165354
0.220472
0.220472
0
0
0
0
0
0
0
0.051429
0.285714
245
9
76
27.222222
0.674286
0.081633
0
0
0
0
0.013825
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
0
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
1
0
0
4