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
ef41a17afcfac48d8984afd61cf71b380ea6f707
85
py
Python
authx/middleware/__init__.py
theoohoho/authx
5c79983cedd4f33fe4c6c3d744c6857f830653fc
[ "MIT" ]
141
2021-11-08T18:59:57.000Z
2022-03-31T18:49:23.000Z
authx/middleware/__init__.py
theoohoho/authx
5c79983cedd4f33fe4c6c3d744c6857f830653fc
[ "MIT" ]
85
2021-11-08T17:30:08.000Z
2022-03-24T18:23:51.000Z
authx/middleware/__init__.py
theoohoho/authx
5c79983cedd4f33fe4c6c3d744c6857f830653fc
[ "MIT" ]
15
2021-11-09T00:01:13.000Z
2022-03-26T20:25:18.000Z
from authx.middleware.Oauth2 import MiddlewareOauth2 __all__ = ["MiddlewareOauth2"]
21.25
52
0.823529
8
85
8.25
0.875
0
0
0
0
0
0
0
0
0
0
0.038961
0.094118
85
3
53
28.333333
0.818182
0
0
0
0
0
0.188235
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ef4875220a3f1fc682c10d3c445761a778a40c39
250
py
Python
net/activations.py
LBartolini/GKPositioning
b522e1620be68e64fc2e02554c7ee19ff2698bf8
[ "MIT" ]
null
null
null
net/activations.py
LBartolini/GKPositioning
b522e1620be68e64fc2e02554c7ee19ff2698bf8
[ "MIT" ]
null
null
null
net/activations.py
LBartolini/GKPositioning
b522e1620be68e64fc2e02554c7ee19ff2698bf8
[ "MIT" ]
null
null
null
import numpy as np # activation functions and its derivatives def tanh(x): return np.tanh(x) def tanh_prime(x): return 1-np.tanh(x)**2 def sigmoid(x): return 1/(1+np.exp(-x)) def sigmoid_prime(x): return sigmoid(x)*(1-sigmoid(x))
16.666667
42
0.664
45
250
3.644444
0.4
0.170732
0.085366
0
0
0
0
0
0
0
0
0.02451
0.184
250
14
43
17.857143
0.779412
0.16
0
0
0
0
0
0
0
0
0
0
0
1
0.444444
false
0
0.111111
0.444444
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
32386c7efd3b6e87071529a8cc284879a7abff0f
519
py
Python
code/utilities/date_util.py
msinkinson/CommonOwnerReplication
59a4b275464521623c6bfc22738959c27a534504
[ "MIT" ]
23
2020-06-24T21:07:35.000Z
2022-02-25T10:58:15.000Z
code/utilities/date_util.py
msinkinson/CommonOwnerReplication
59a4b275464521623c6bfc22738959c27a534504
[ "MIT" ]
1
2020-06-29T16:56:06.000Z
2020-06-29T16:56:06.000Z
code/utilities/date_util.py
msinkinson/CommonOwnerReplication
59a4b275464521623c6bfc22738959c27a534504
[ "MIT" ]
14
2020-06-24T19:46:57.000Z
2022-03-24T17:06:44.000Z
import pandas as pd def lookup_dates(s): """ This is an extremely fast approach to datetime parsing. For large data, the same dates are often repeated. Rather than re-parse these, we store all unique dates, parse them, and use a lookup to convert all dates. """ dates_dict = {date:pd.to_date...
37.071429
93
0.709056
81
519
4.481481
0.679012
0.055096
0.088154
0
0
0
0
0
0
0
0
0.002381
0.190751
519
14
93
37.071429
0.861905
0.408478
0
0
0
0
0.021429
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
323a616d276db5c2930e9506fc0638036106f972
721
py
Python
pisap/__init__.py
hanaecarrie/pisap
958f53dbc28afc6fb84c7f3d678c8549307ef9f5
[ "CECILL-B" ]
null
null
null
pisap/__init__.py
hanaecarrie/pisap
958f53dbc28afc6fb84c7f3d678c8549307ef9f5
[ "CECILL-B" ]
null
null
null
pisap/__init__.py
hanaecarrie/pisap
958f53dbc28afc6fb84c7f3d678c8549307ef9f5
[ "CECILL-B" ]
null
null
null
########################################################################## # XXX - Copyright (C) XXX, 2017 # Distributed under the terms of the CeCILL-B license, as published by # the CEA-CNRS-INRIA. Refer to the LICENSE file or to # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html # for details. ###########...
37.947368
79
0.617198
90
721
4.877778
0.711111
0.031891
0.059226
0
0
0
0
0
0
0
0
0.009434
0.117892
721
18
80
40.055556
0.680818
0.604716
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
326959053fce1cd28c3bb17cf3ce8d35a636a081
228
pyde
Python
session_3/Examples/LoadImage/LoadImage.pyde
matthias-jaeger-net/coding-sessions
01196ec3277f1199bdee0fb3a7771bfc970a08c5
[ "MIT" ]
1
2020-01-25T15:27:22.000Z
2020-01-25T15:27:22.000Z
session_3/Examples/LoadImage/LoadImage.pyde
matthias-jaeger-net/coding-sessions
01196ec3277f1199bdee0fb3a7771bfc970a08c5
[ "MIT" ]
null
null
null
session_3/Examples/LoadImage/LoadImage.pyde
matthias-jaeger-net/coding-sessions
01196ec3277f1199bdee0fb3a7771bfc970a08c5
[ "MIT" ]
null
null
null
# Example 1 def setup(): # Set to the same size as the source image # https://unsplash.com/photos/mGy1Jjr2e6M size(900, 600) # Load and display and position the image image(loadImage("file.jpg"), 0, 0)
22.8
46
0.644737
34
228
4.323529
0.794118
0
0
0
0
0
0
0
0
0
0
0.069767
0.245614
228
9
47
25.333333
0.784884
0.574561
0
0
0
0
0.086957
0
0
0
0
0
0
1
0.333333
true
0
0
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
3
3279d3e14d40fa6b329d283e373be3470ec67605
277
py
Python
Validation/RecoB/python/bTagAnalysis_harvesting_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Validation/RecoB/python/bTagAnalysis_harvesting_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Validation/RecoB/python/bTagAnalysis_harvesting_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms # BTagPerformanceAnalyzer configuration from Validation.RecoB.bTagAnalysis_cfi import * bTagValidationHarvest = bTagHarvestMC.clone() from DQMOffline.RecoB.bTagAnalysisData_cfi import * bTagValidationHarvestData = bTagHarvest.clone()
30.777778
51
0.855596
26
277
9.038462
0.769231
0.076596
0
0
0
0
0
0
0
0
0
0
0.083032
277
8
52
34.625
0.925197
0.133574
0
0
0
0
0
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
0
0
0
3
328ab31966b94bac98d6aabe62a200019dc04926
50
py
Python
api/src/app.py
marreche/deep_film
257b30298f991c85432235eccbb5acdba110a2d8
[ "MIT" ]
null
null
null
api/src/app.py
marreche/deep_film
257b30298f991c85432235eccbb5acdba110a2d8
[ "MIT" ]
null
null
null
api/src/app.py
marreche/deep_film
257b30298f991c85432235eccbb5acdba110a2d8
[ "MIT" ]
1
2021-11-18T09:36:21.000Z
2021-11-18T09:36:21.000Z
from flask import Flask app = Flask("movies_api")
16.666667
25
0.76
8
50
4.625
0.75
0
0
0
0
0
0
0
0
0
0
0
0.14
50
3
25
16.666667
0.860465
0
0
0
0
0
0.196078
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
32c5e2fc97453b7141b89e70d8e4673258e24429
152
py
Python
coding/product_of_array_except_self/starter.py
skumaravelan/tech-interview-questions
637dfbf131123c77a8e2e4e45ba420355dcb381f
[ "MIT" ]
14
2022-02-08T17:29:29.000Z
2022-03-27T17:22:14.000Z
coding/product_of_array_except_self/starter.py
skumaravelan/tech-interview-questions
637dfbf131123c77a8e2e4e45ba420355dcb381f
[ "MIT" ]
18
2022-01-27T17:37:26.000Z
2022-03-29T15:16:18.000Z
coding/product_of_array_except_self/starter.py
skumaravelan/tech-interview-questions
637dfbf131123c77a8e2e4e45ba420355dcb381f
[ "MIT" ]
9
2022-02-08T16:03:10.000Z
2022-03-19T03:26:30.000Z
class Solution(object): def productExceptSelf(self, nums): """ :type nums: List[int] :rtype: List[int] """
19
38
0.486842
14
152
5.285714
0.785714
0.189189
0
0
0
0
0
0
0
0
0
0
0.375
152
7
39
21.714286
0.778947
0.256579
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0875555187c962f1beee2c7a91d74d3b3cacb958
149
py
Python
cwd.py
Nuk3lar/FluxBot
96d604a7178e83d29030f61bddd7cdc032b18249
[ "MIT" ]
null
null
null
cwd.py
Nuk3lar/FluxBot
96d604a7178e83d29030f61bddd7cdc032b18249
[ "MIT" ]
null
null
null
cwd.py
Nuk3lar/FluxBot
96d604a7178e83d29030f61bddd7cdc032b18249
[ "MIT" ]
null
null
null
import os, sys #Determines the system type if sys.platform == "linux": cwd = os.getenv('PWD') elif sys.platform == "win32": cwd = os.getcwd()
24.833333
29
0.651007
22
149
4.409091
0.727273
0.226804
0
0
0
0
0
0
0
0
0
0.016529
0.187919
149
6
30
24.833333
0.785124
0.174497
0
0
0
0
0.105691
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
08863baf1738e858617066f7df18b1e279cc449d
317
py
Python
Data Scientist Career Path/5. Data Manipulation with Pandas/2. Hands On with Pandas/2. Modifying/8. lambda row.py
myarist/Codecademy
2ba0f104bc67ab6ef0f8fb869aa12aa02f5f1efb
[ "MIT" ]
23
2021-06-06T15:35:55.000Z
2022-03-21T06:53:42.000Z
Data Scientist Career Path/5. Data Manipulation with Pandas/2. Hands On with Pandas/2. Modifying/8. lambda row.py
shivaniverma1/Data-Scientist
f82939a411484311171465591455880c8e354750
[ "MIT" ]
null
null
null
Data Scientist Career Path/5. Data Manipulation with Pandas/2. Hands On with Pandas/2. Modifying/8. lambda row.py
shivaniverma1/Data-Scientist
f82939a411484311171465591455880c8e354750
[ "MIT" ]
9
2021-06-08T01:32:04.000Z
2022-03-18T15:38:09.000Z
import codecademylib import pandas as pd df = pd.read_csv('employees.csv') total_earned = lambda row: row['hours_worked'] * row['hourly_wage'] if row['hours_worked'] <= 40 else (40 * row['hourly_wage']) + (row['hours_worked'] - 40) * (row['hourly_wage'] * 1.50) df['total_earned'] = df.apply(total_earned, axis=1)
39.625
187
0.694006
50
317
4.2
0.48
0.157143
0.2
0.152381
0
0
0
0
0
0
0
0.035971
0.123028
317
8
188
39.625
0.719424
0
0
0
0
0
0.295597
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
0
0
0
3
0894210380f9f449a95fc68c8cc8da3b277f0ca5
157
py
Python
src/flask_app_generator/templates/views/__init__.py
SeoDongMyeong/flask-generator
420ed31d3b0fca2822fed9903446d75d9a93bec5
[ "MIT" ]
null
null
null
src/flask_app_generator/templates/views/__init__.py
SeoDongMyeong/flask-generator
420ed31d3b0fca2822fed9903446d75d9a93bec5
[ "MIT" ]
null
null
null
src/flask_app_generator/templates/views/__init__.py
SeoDongMyeong/flask-generator
420ed31d3b0fca2822fed9903446d75d9a93bec5
[ "MIT" ]
1
2018-02-03T10:33:57.000Z
2018-02-03T10:33:57.000Z
import index BLUEPRINTS = [ index.blueprint ] def register_blueprint(app): for blueprint in BLUEPRINTS: app.register_blueprint(blueprint)
14.272727
41
0.719745
17
157
6.529412
0.529412
0.306306
0
0
0
0
0
0
0
0
0
0
0.210191
157
10
42
15.7
0.895161
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0.571429
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
08a3c2d8042cbbc05353c7cc312ee8ddbe7dc9ce
175
py
Python
examples/testZedPose.py
rraid/navi-v2
9b4bff86791cf81fc00f6c9bd16cb257f9949afb
[ "MIT" ]
null
null
null
examples/testZedPose.py
rraid/navi-v2
9b4bff86791cf81fc00f6c9bd16cb257f9949afb
[ "MIT" ]
9
2017-07-20T23:16:24.000Z
2017-08-12T01:13:32.000Z
examples/testZedPose.py
rraid/navi-v2
9b4bff86791cf81fc00f6c9bd16cb257f9949afb
[ "MIT" ]
null
null
null
import sys sys.path.append("../device/") import zed import numpy as np import cv2 import time zed.open() while True: print zed.getPose() time.sleep(.01) zed.close()
10.9375
29
0.691429
28
175
4.321429
0.678571
0
0
0
0
0
0
0
0
0
0
0.02069
0.171429
175
15
30
11.666667
0.813793
0
0
0
0
0
0.057143
0
0
0
0
0
0
0
null
null
0
0.454545
null
null
0.090909
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
1
0
0
0
1
0
0
0
0
3
08cb4fa5fb5fad51699435af3ff02778340e982b
124
py
Python
baekjoon/math/13277-big-multiply.py
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
2
2019-02-08T01:23:07.000Z
2020-11-19T12:23:52.000Z
baekjoon/math/13277-big-multiply.py
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
null
null
null
baekjoon/math/13277-big-multiply.py
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
null
null
null
from decimal import Decimal,getcontext getcontext().prec=10**6 a,b = map(Decimal,input().split()) print(format(a * b,'f'))
20.666667
38
0.701613
20
124
4.35
0.75
0.045977
0
0
0
0
0
0
0
0
0
0.026786
0.096774
124
5
39
24.8
0.75
0
0
0
0
0
0.008065
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
08d0368c5343c998090afcf80c32d52904a8109f
1,470
py
Python
tests/conftest.py
sunwei/ddd-nginx
77796351a3fc61df1afbbbf353f0058f7a0e8ed3
[ "MIT" ]
null
null
null
tests/conftest.py
sunwei/ddd-nginx
77796351a3fc61df1afbbbf353f0058f7a0e8ed3
[ "MIT" ]
null
null
null
tests/conftest.py
sunwei/ddd-nginx
77796351a3fc61df1afbbbf353f0058f7a0e8ed3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Test data""" import os import pytest TEST_PATH = os.path.abspath(os.path.dirname(__file__)) TEST_DATA_PATH = os.path.join(TEST_PATH, 'test_data') def _get_test_data(filename): file_path = os.path.join(TEST_DATA_PATH, filename) with open(file_path, encoding='utf-8') as data_file: ...
22.615385
56
0.742177
221
1,470
4.565611
0.158371
0.11893
0.119921
0.168484
0.561943
0.280476
0.106046
0.063429
0
0
0
0.001535
0.113605
1,470
64
57
22.96875
0.772832
0.021769
0
0
0
0
0.223464
0.03771
0
0
0
0
0
1
0.282051
false
0
0.051282
0.25641
0.615385
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
0
0
0
3
08dffaba463e7f42bf6ecb90d6ab534d7ee530be
300
py
Python
sample/fastapi/server.py
egmkang/koala
70ea68c0d4380242c61faa8a6f023fa248049ec8
[ "MIT" ]
15
2021-06-02T12:43:26.000Z
2022-01-24T19:14:02.000Z
sample/fastapi/server.py
egmkang/flash
70ea68c0d4380242c61faa8a6f023fa248049ec8
[ "MIT" ]
1
2021-06-14T10:08:46.000Z
2021-06-14T10:08:46.000Z
sample/fastapi/server.py
egmkang/flash
70ea68c0d4380242c61faa8a6f023fa248049ec8
[ "MIT" ]
1
2021-01-20T06:38:01.000Z
2021-01-20T06:38:01.000Z
import os from koala.server import koala_host from koala.server.fastapi import * from sample.fastapi.http_api import * import sample.player koala_host.init_server(globals().copy(), f"{os.getcwd()}/sample/app.yaml") koala_host.use_pd() koala_host.listen_fastapi() koala_host.run_server()
25
75
0.766667
46
300
4.782609
0.478261
0.204545
0.136364
0
0
0
0
0
0
0
0
0
0.113333
300
11
76
27.272727
0.827068
0
0
0
0
0
0.100346
0.100346
0
0
0
0
0
1
0
true
0
0.555556
0
0.555556
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
3e956e23b115a9462efdc3b663ad5bc35a8e7669
229
py
Python
Python/School/C1/Q9C1.py
abdalrhmanyasser/Abdalrhman_Rep
e0fc3caa2cc04e92f591ccd7934586986d194000
[ "CC0-1.0" ]
null
null
null
Python/School/C1/Q9C1.py
abdalrhmanyasser/Abdalrhman_Rep
e0fc3caa2cc04e92f591ccd7934586986d194000
[ "CC0-1.0" ]
null
null
null
Python/School/C1/Q9C1.py
abdalrhmanyasser/Abdalrhman_Rep
e0fc3caa2cc04e92f591ccd7934586986d194000
[ "CC0-1.0" ]
null
null
null
x = int(input("Enter the meal price in AED: ")) y = int(input("Enter the tip you want to leave : ")) print("Total (tip unincluded) : " + str(x) + "\nTip : " + str(y) + "%" + "\nTotal (tip included) : " + str(x+x*(y/100)) + "AED")
76.333333
128
0.563319
37
229
3.486486
0.621622
0.124031
0.20155
0.248062
0
0
0
0
0
0
0
0.016216
0.19214
229
3
128
76.333333
0.681081
0
0
0
0
0
0.543478
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3ea1801e8b544d3cf1b90b0af1dbb474db55e499
302
py
Python
dl/graph/__init__.py
skankhunt76/deeplearning-py
e0a0363e84db94d7aebe18240dcda49981b67f74
[ "MIT" ]
null
null
null
dl/graph/__init__.py
skankhunt76/deeplearning-py
e0a0363e84db94d7aebe18240dcda49981b67f74
[ "MIT" ]
null
null
null
dl/graph/__init__.py
skankhunt76/deeplearning-py
e0a0363e84db94d7aebe18240dcda49981b67f74
[ "MIT" ]
null
null
null
from .op import * from .variable import * # Layers created will hold variable of weight and bias # Create placeholder for input values # Compute to create the final y # go backward to compute gradient for each variables # if variable is not constant, gradient ++ # if not, recurrent over
30.2
55
0.731788
44
302
5.022727
0.75
0
0
0
0
0
0
0
0
0
0
0
0.221854
302
9
56
33.555556
0.940426
0.784768
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
3ebb9cba32c733132a167b7f95a5854a27ce8a67
334
py
Python
jp.atcoder/abc070/abc070_c/9100646.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc070/abc070_c/9100646.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc070/abc070_c/9100646.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
import sys from functools import reduce def gcd(a, b): while b: a, b = b, a % b return abs(a) def lcm(a, b): return abs(a // gcd(a, b) * b) n, *t = map(int, sys.stdin.read().split()) def main(): return reduce(lcm, t) if __name__ == "__main__": ans = main() ...
13.36
43
0.502994
52
334
3.076923
0.480769
0.0625
0.0625
0.1375
0.15
0
0
0
0
0
0
0
0.341317
334
24
44
13.916667
0.727273
0
0
0
0
0
0.025806
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0.142857
0.571429
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3ec39b4508bcbacfa71294dd41ec65e7ca3f4332
2,138
py
Python
examples/gridworld/GridWorldUnitTests/GridFactory.py
parrisma/TicTacToe-DeepLearning
4fefb1ef9d172eb19709f0f2a681307537769f58
[ "MIT" ]
1
2021-08-17T12:09:48.000Z
2021-08-17T12:09:48.000Z
examples/gridworld/GridWorldUnitTests/GridFactory.py
parrisma/TicTacToe-DeepLearning
4fefb1ef9d172eb19709f0f2a681307537769f58
[ "MIT" ]
null
null
null
examples/gridworld/GridWorldUnitTests/GridFactory.py
parrisma/TicTacToe-DeepLearning
4fefb1ef9d172eb19709f0f2a681307537769f58
[ "MIT" ]
null
null
null
import numpy as np from examples.gridworld.Grid import Grid from examples.gridworld.SimpleGridOne import SimpleGridOne class GridFactory: step = SimpleGridOne.STEP fire = SimpleGridOne.FIRE blck = SimpleGridOne.BLCK goal = SimpleGridOne.GOAL @classmethod def test_grid_one(cls) -> Grid: ...
27.410256
63
0.471001
254
2,138
3.925197
0.153543
0.294885
0.381143
0.46339
0.664995
0.660983
0.617854
0.521565
0.475426
0.399198
0
0.033965
0.407858
2,138
77
64
27.766234
0.753555
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.078125
false
0
0.046875
0
0.28125
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3ee324df90696dce9c9397a03ef8bba15b629121
1,120
py
Python
adam_astrom_photom_condition_checker.py
deapplegate/wtgpipeline
9693e8562022cc97bf5a96427e22965e1a5e8497
[ "MIT" ]
1
2019-03-15T04:01:19.000Z
2019-03-15T04:01:19.000Z
adam_astrom_photom_condition_checker.py
deapplegate/wtgpipeline
9693e8562022cc97bf5a96427e22965e1a5e8497
[ "MIT" ]
5
2017-12-11T00:11:39.000Z
2021-07-09T17:05:16.000Z
adam_astrom_photom_condition_checker.py
deapplegate/wtgpipeline
9693e8562022cc97bf5a96427e22965e1a5e8497
[ "MIT" ]
2
2017-08-15T21:19:11.000Z
2017-10-12T00:36:35.000Z
#! /usr/bin/env python #astref=starcat astref_wt=1 stability_type=exp #astref=starcat astref_wt=1 stability_type=instrum #astref=starcat astref_wt=10 stability_type=exp #astref=starcat astref_wt=10 stability_type=instrum #astref=refcat astref_wt=1 stability_type=exp #astref=refcat astref_wt=1 stability_type=instr...
36.129032
98
0.730357
175
1,120
4.48
0.188571
0.142857
0.068878
0.107143
0.790816
0.757653
0.748724
0.272959
0.272959
0.272959
0
0.047521
0.135714
1,120
30
99
37.333333
0.762397
0.361607
0
0.588235
0
0
0.314894
0
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.176471
0
0
0
null
0
0
0
0
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
3
3ee9d6760e20b48019abff452023cb0a513879ef
6,582
py
Python
cogs/kawaii.py
exunious/Noella-Bot
ef119cf1ffc102188954962d54f07d895f4a7a94
[ "MIT" ]
null
null
null
cogs/kawaii.py
exunious/Noella-Bot
ef119cf1ffc102188954962d54f07d895f4a7a94
[ "MIT" ]
1
2019-01-08T21:53:38.000Z
2019-01-08T21:53:38.000Z
cogs/kawaii.py
exunious/Noella-Bot
ef119cf1ffc102188954962d54f07d895f4a7a94
[ "MIT" ]
3
2018-01-05T02:58:01.000Z
2018-06-14T20:56:51.000Z
######################################### ############ Kawaii Commands ############ ######################################### import discord import random from config import embed_color, embed_color_attention, embed_color_error, embed_color_succes from discord.ext import commands from cogs.data.kawaiidata import * cl...
32.91
123
0.60392
806
6,582
4.861042
0.111663
0.079122
0.061256
0.095712
0.822358
0.777693
0.777693
0.656457
0.584482
0.469117
0
0
0.237618
6,582
199
124
33.075377
0.780789
0.067001
0
0.604317
0
0
0.124792
0.024427
0
0
0
0
0
1
0.014388
false
0
0.035971
0
0.057554
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f5b7bdc14adf7bf146ed029f0374809f23d84a2f
2,186
py
Python
synergos/abstract.py
aimakerspace/Synergos
ce972f6b031535e82be6724f42118c33f90e9189
[ "Apache-2.0" ]
null
null
null
synergos/abstract.py
aimakerspace/Synergos
ce972f6b031535e82be6724f42118c33f90e9189
[ "Apache-2.0" ]
null
null
null
synergos/abstract.py
aimakerspace/Synergos
ce972f6b031535e82be6724f42118c33f90e9189
[ "Apache-2.0" ]
3
2021-11-25T03:26:52.000Z
2022-01-24T09:48:37.000Z
#!/usr/bin/env python #################### # Required Modules # #################### # Generic/Built-in import abc import logging from typing import Callable # Libs # Custom ################## # Configurations # ################## class AbstractTask(abc.ABC): @abc.abstractmethod def create(self, *args,...
27.325
80
0.593321
230
2,186
5.634783
0.269565
0.069444
0.07716
0.069444
0.661265
0.636574
0.636574
0.636574
0.636574
0.636574
0
0
0.31107
2,186
80
81
27.325
0.860558
0.559927
0
0.526316
0
0
0
0
0
0
0
0
0
1
0.263158
false
0.263158
0.157895
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
f5cd68d25f0f464a74ab59c942bd6abc3a3b227b
940
py
Python
bento_meta_shim/models/mdbnode.py
CBIIT/bento-meta-shim
42396456088f1d53158fe831bf774101c9ec0c33
[ "MIT" ]
null
null
null
bento_meta_shim/models/mdbnode.py
CBIIT/bento-meta-shim
42396456088f1d53158fe831bf774101c9ec0c33
[ "MIT" ]
null
null
null
bento_meta_shim/models/mdbnode.py
CBIIT/bento-meta-shim
42396456088f1d53158fe831bf774101c9ec0c33
[ "MIT" ]
null
null
null
from bento_meta.objects import Node from bento_meta_shim.models.mdbproperty import MDBproperty class MDBnode(): __node = None """give proper life""" def __init__(self, node): self.__node = node self.kind = node.mapspec_['label'] self.name = node.handle self.handle = node.ha...
29.375
77
0.608511
112
940
4.776786
0.375
0.074766
0.048598
0.06729
0.119626
0.119626
0.119626
0
0
0
0
0
0.274468
940
32
78
29.375
0.784457
0
0
0
0
0
0.033732
0
0
0
0
0
0
1
0.208333
false
0
0.083333
0.125
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f5e63db575d87e32054810556f16fe242a14feb1
500
py
Python
weather_models/flo2d/utils.py
CUrW-SL/DSS-Framework
43a39b322ffb0eb92dd116e77cf9a8479357a121
[ "MIT" ]
null
null
null
weather_models/flo2d/utils.py
CUrW-SL/DSS-Framework
43a39b322ffb0eb92dd116e77cf9a8479357a121
[ "MIT" ]
null
null
null
weather_models/flo2d/utils.py
CUrW-SL/DSS-Framework
43a39b322ffb0eb92dd116e77cf9a8479357a121
[ "MIT" ]
null
null
null
INVALID_VALUE = -9999 def search_in_dictionary_list(dictionary_list, key_name, key_value): for dictionary in dictionary_list: if dictionary[key_name] == key_value: return dictionary return None def search_value_in_dictionary_list(dictionary_list, key_name, key_value, value_key): dict...
29.411765
85
0.746
67
500
5.179104
0.253731
0.282421
0.184438
0.172911
0.423631
0.423631
0.423631
0.423631
0.423631
0.293948
0
0.009975
0.198
500
16
86
31.25
0.855362
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
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
0
0
0
0
0
0
0
0
3
f5fc8645e590b7f69a2bd6b9fb48cd7b7c228e2c
269
py
Python
jd/api/rest/UnionOpenCouponQueryRequest.py
fengjinqi/linjuanbang
8cdc4e81df73ccd737ac547da7f2c7dca545862a
[ "MIT" ]
5
2019-10-30T01:16:30.000Z
2020-06-14T03:32:19.000Z
jd/api/rest/UnionOpenCouponQueryRequest.py
fengjinqi/linjuanbang
8cdc4e81df73ccd737ac547da7f2c7dca545862a
[ "MIT" ]
2
2020-10-12T07:12:48.000Z
2021-06-02T03:15:47.000Z
jd/api/rest/UnionOpenCouponQueryRequest.py
fengjinqi/linjuanbang
8cdc4e81df73ccd737ac547da7f2c7dca545862a
[ "MIT" ]
3
2019-12-06T17:33:49.000Z
2021-03-01T13:24:22.000Z
from jd.api.base import RestApi class UnionOpenCouponQueryRequest(RestApi): def __init__(self,domain='gw.api.360buy.com',port=80): RestApi.__init__(self,domain, port) self.couponUrls = None def getapiname(self): return 'jd.union.open.coupon.query'
16.8125
56
0.736059
36
269
5.277778
0.694444
0.084211
0.147368
0
0
0
0
0
0
0
0
0.021645
0.141264
269
15
57
17.933333
0.800866
0
0
0
0
0
0.163498
0.098859
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f5fe1933ba7b8a1126ade73e4b309833a36080a3
59
py
Python
python/testData/codeInsight/controlflow/break.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/codeInsight/controlflow/break.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/codeInsight/controlflow/break.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
while foo: if condition: break print "Hello"
11.8
17
0.576271
7
59
4.857143
1
0
0
0
0
0
0
0
0
0
0
0
0.355932
59
4
18
14.75
0.894737
0
0
0
0
0
0.084746
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
eb02133e1de0e08dd0d0d8f17e971a051889d539
82
py
Python
yalzma/__init__.py
messa/yalzma
4d5672f07ef5499544a2cef35d0b1526699da790
[ "MIT" ]
1
2018-12-15T11:52:02.000Z
2018-12-15T11:52:02.000Z
yalzma/__init__.py
messa/yalzma
4d5672f07ef5499544a2cef35d0b1526699da790
[ "MIT" ]
null
null
null
yalzma/__init__.py
messa/yalzma
4d5672f07ef5499544a2cef35d0b1526699da790
[ "MIT" ]
null
null
null
__version__ = '0.0.4' __all__ = ['LZMAEncoder'] from .encoder import LZMAEncoder
16.4
32
0.731707
10
82
5.2
0.8
0
0
0
0
0
0
0
0
0
0
0.042254
0.134146
82
4
33
20.5
0.690141
0
0
0
0
0
0.195122
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
eb1c110cdbba36a259e3ab83ec031b6aae322ec3
10,020
py
Python
jerex/entities.py
Brant-Skywalker/jerex
09b330fe4472cb9dde2dd7f8ac4d0c574fa08cd0
[ "MIT" ]
39
2021-02-19T12:56:30.000Z
2022-03-26T08:08:57.000Z
jerex/entities.py
Brant-Skywalker/jerex
09b330fe4472cb9dde2dd7f8ac4d0c574fa08cd0
[ "MIT" ]
13
2021-03-07T05:22:22.000Z
2022-03-17T13:21:44.000Z
jerex/entities.py
Brant-Skywalker/jerex
09b330fe4472cb9dde2dd7f8ac4d0c574fa08cd0
[ "MIT" ]
7
2021-04-29T08:02:52.000Z
2022-03-31T02:00:06.000Z
from typing import List class RelationType: def __init__(self, identifier, index, short_name, verbose_name, symmetric=False): self._identifier = identifier self._index = index self._short_name = short_name self._verbose_name = verbose_name self._symmetric = symmetric @...
22.929062
111
0.631737
1,202
10,020
4.877704
0.072379
0.134743
0.150435
0.034112
0.611973
0.571039
0.545284
0.512195
0.435101
0.393485
0
0.001672
0.283633
10,020
436
112
22.981651
0.81513
0.035729
0
0.621451
0
0
0.00114
0
0
0
0
0
0
1
0.315457
false
0
0.003155
0.249211
0.652997
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
eb353e540e53adc46d65436d27e95950ed9e1685
194
py
Python
utils/time_converter.py
sarzz2/bonafide-bot
c61c738124099144ed4eb173d423567d3465a95e
[ "MIT" ]
1
2021-06-14T23:41:18.000Z
2021-06-14T23:41:18.000Z
utils/time_converter.py
sarzz2/bonafide-bot
c61c738124099144ed4eb173d423567d3465a95e
[ "MIT" ]
null
null
null
utils/time_converter.py
sarzz2/bonafide-bot
c61c738124099144ed4eb173d423567d3465a95e
[ "MIT" ]
null
null
null
time_convert = {"s": 1, "m": 60, "h": 3600, "d": 86400} def convert_time_to_seconds(time): try: return int(time[:-1]) * time_convert[time[-1]] except: raise ValueError
21.555556
55
0.582474
28
194
3.857143
0.678571
0.203704
0
0
0
0
0
0
0
0
0
0.094595
0.237113
194
8
56
24.25
0.635135
0
0
0
0
0
0.020619
0
0
0
0
0
0
1
0.166667
false
0
0
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
0
0
0
0
0
3
de1697c853b523656c534204afe853ba808d1454
257
py
Python
0-notes/job-search/Cracking the Coding Interview/C13Java/questions/13.8-question.py
eengineergz/Lambda
1fe511f7ef550aed998b75c18a432abf6ab41c5f
[ "MIT" ]
null
null
null
0-notes/job-search/Cracking the Coding Interview/C13Java/questions/13.8-question.py
eengineergz/Lambda
1fe511f7ef550aed998b75c18a432abf6ab41c5f
[ "MIT" ]
null
null
null
0-notes/job-search/Cracking the Coding Interview/C13Java/questions/13.8-question.py
eengineergz/Lambda
1fe511f7ef550aed998b75c18a432abf6ab41c5f
[ "MIT" ]
null
null
null
# 13.8 Lambda Random # Using Lambda expressions, write a function # List<Integer> getRandomSubset(List<Integer> list) # that returns a random subset of arbitrary size. # All subsets, including the empty set, should be equally likely to be chosen.
42.833333
78
0.747082
37
257
5.189189
0.810811
0.114583
0
0
0
0
0
0
0
0
0
0.014354
0.18677
257
6
78
42.833333
0.904306
0.92607
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3
de1f9b0c3f326cf2825498b1b68c28117beab436
497
py
Python
hw/hw10/tests/q1_2.py
ds-modules/Colab-demo
cccaff13633f8a5ec697cd4aeca9087f2feec2e4
[ "BSD-3-Clause" ]
null
null
null
hw/hw10/tests/q1_2.py
ds-modules/Colab-demo
cccaff13633f8a5ec697cd4aeca9087f2feec2e4
[ "BSD-3-Clause" ]
null
null
null
hw/hw10/tests/q1_2.py
ds-modules/Colab-demo
cccaff13633f8a5ec697cd4aeca9087f2feec2e4
[ "BSD-3-Clause" ]
null
null
null
test = { 'name': 'q1_2', 'points': 1, 'suites': [ { 'cases': [ {'code': '>>> sum(standard_units(make_array(1,2,3,4,5))) == 0\nTrue', 'hidden': False, 'locked': False}, {'code': '>>> np.isclose(standard_units(make_array(1,2,3,4,5))[0], -1.41421356)\nTrue', 'hidden': Fal...
55.222222
158
0.416499
51
497
3.960784
0.607843
0.128713
0.168317
0.217822
0.544554
0.277228
0.277228
0.277228
0.277228
0.277228
0
0.074766
0.354125
497
8
159
62.125
0.554517
0
0
0
0
0.25
0.440644
0.189135
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
de323f0ef5068ed2edbc006d1b9afa7a1aeb535c
55
py
Python
code/abc053_b_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/abc053_b_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/abc053_b_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
s=input() print(len(s)-s[::-1].index("Z")-s.index("A"))
27.5
45
0.545455
12
55
2.5
0.666667
0
0
0
0
0
0
0
0
0
0
0.018519
0.018182
55
2
45
27.5
0.537037
0
0
0
0
0
0.035714
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
1
0
3
de57bfcee72c95047c8acca64e459f16c3a7c1e0
205
py
Python
src/callbacks/getFiles.py
dinesh-0602/TorrentSeedr
51bc75f34e9b07feba39af91021655914be85b6e
[ "MIT" ]
32
2021-08-20T04:05:26.000Z
2022-03-27T17:35:47.000Z
src/callbacks/getFiles.py
rajV2/TorrentSeedr
51bc75f34e9b07feba39af91021655914be85b6e
[ "MIT" ]
null
null
null
src/callbacks/getFiles.py
rajV2/TorrentSeedr
51bc75f34e9b07feba39af91021655914be85b6e
[ "MIT" ]
32
2021-08-21T14:21:46.000Z
2022-03-30T02:05:02.000Z
from src.objs import * from src.commands.getFiles import getFiles @bot.callback_query_handler(func=lambda call: True and call.data[:9] == 'getFiles_') def getFilesCb(call): getFiles(call, called=True)
34.166667
84
0.765854
30
205
5.133333
0.666667
0.090909
0
0
0
0
0
0
0
0
0
0.005495
0.112195
205
6
85
34.166667
0.840659
0
0
0
0
0
0.043689
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
de64d568db19a47035b8523e540ffd8a889f996f
509
py
Python
bavard_ml_utils/persistence/record_store/__init__.py
bavard-ai/bavard-ml-utils
00b6575d5c74c66f57ca1da753b91d3ceef6d1e4
[ "MIT" ]
1
2022-02-24T21:25:02.000Z
2022-02-24T21:25:02.000Z
bavard_ml_utils/persistence/record_store/__init__.py
bavard-ai/bavard-ml-utils
00b6575d5c74c66f57ca1da753b91d3ceef6d1e4
[ "MIT" ]
null
null
null
bavard_ml_utils/persistence/record_store/__init__.py
bavard-ai/bavard-ml-utils
00b6575d5c74c66f57ca1da753b91d3ceef6d1e4
[ "MIT" ]
null
null
null
""" Contains methods for easily persisting `Pydantic <https://pydantic-docs.helpmanual.io/>`_ data structures to and from arbitrary storage back-ends. Contains a base class for the store behavior, as well as subclasses which allow Google Cloud Firestore or in-memory to be used as the storage back-end. Supports saving, ...
63.625
118
0.797642
78
509
5.192308
0.820513
0.054321
0
0
0
0
0
0
0
0
0
0
0.141454
509
7
119
72.714286
0.926773
0.982318
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3
de69f2b5531a2e88de06ca2d6c91affc2280a036
475
py
Python
globals/moduleaccess.py
RogueScholar/debreate
0abc168c51336b31ff87c61f84bc7bb6000e88f4
[ "MIT" ]
97
2016-09-16T08:44:04.000Z
2022-01-29T22:30:18.000Z
globals/moduleaccess.py
RogueScholar/debreate
0abc168c51336b31ff87c61f84bc7bb6000e88f4
[ "MIT" ]
34
2016-09-20T00:42:45.000Z
2021-04-16T07:21:44.000Z
globals/moduleaccess.py
RogueScholar/debreate
0abc168c51336b31ff87c61f84bc7bb6000e88f4
[ "MIT" ]
24
2016-09-16T08:44:56.000Z
2021-07-29T11:32:47.000Z
# -*- coding: utf-8 -*- ## \package dbr.moduleaccess # MIT licensing # See: docs/LICENSE.txt ## This class allows access to a 'name' attribute # # \param module_name # \b \e unicode|str : Ideally set to the module's __name__ attribute class ModuleAccessCtrl: def __init__(self, moduleName): self.ModuleName = mo...
19.791667
69
0.707368
63
475
5.174603
0.603175
0.119632
0.055215
0.07362
0
0
0
0
0
0
0
0.002571
0.181053
475
23
70
20.652174
0.835476
0.627368
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
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
0
0
1
1
0
0
3
de7549d924587b80175b899522c6565f010ece0c
874
py
Python
package/awesome_streamlit/shared/models.py
Ben0mmen/.-MfG-ThC-.
7d53d813d237c0b3ca3b2bd9bda5a7d7e042379e
[ "CC0-1.0" ]
1
2019-10-19T20:03:40.000Z
2019-10-19T20:03:40.000Z
package/awesome_streamlit/shared/models.py
Ben0mmen/.-MfG-ThC-.
7d53d813d237c0b3ca3b2bd9bda5a7d7e042379e
[ "CC0-1.0" ]
null
null
null
package/awesome_streamlit/shared/models.py
Ben0mmen/.-MfG-ThC-.
7d53d813d237c0b3ca3b2bd9bda5a7d7e042379e
[ "CC0-1.0" ]
null
null
null
"""Models of app""" from typing import List, NamedTuple, Optional class Tag(NamedTuple): """Model of a Tag""" name: str def __str__(self): return self.name def __repr__(self): return self.name class Author(NamedTuple): """Model of an Author""" name: str url: str ...
17.137255
61
0.576659
107
874
4.495327
0.345794
0.099792
0.14553
0.18711
0.286902
0.286902
0.237006
0.237006
0.237006
0.237006
0
0
0.30778
874
50
62
17.48
0.795041
0.17849
0
0.6
0
0
0.04048
0.037481
0
0
0
0
0
1
0.24
false
0
0.04
0.2
0.96
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
0
0
0
3
de781d0b3eb2681c916997213e363f685b8fa360
89
py
Python
Python_Basics/02_Conditional_Statements/03_Greater_Num.py
Dochko0/Python
e9612c4e842cfd3d9a733526cc7485765ef2238f
[ "MIT" ]
null
null
null
Python_Basics/02_Conditional_Statements/03_Greater_Num.py
Dochko0/Python
e9612c4e842cfd3d9a733526cc7485765ef2238f
[ "MIT" ]
null
null
null
Python_Basics/02_Conditional_Statements/03_Greater_Num.py
Dochko0/Python
e9612c4e842cfd3d9a733526cc7485765ef2238f
[ "MIT" ]
null
null
null
num1 = int(input()) num2 = int(input()) if(num1>=num2): print(num1) else:print(num2)
14.833333
19
0.629213
14
89
4
0.5
0.285714
0
0
0
0
0
0
0
0
0
0.078947
0.146067
89
6
20
14.833333
0.657895
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
debf4fc183ea480cc5d2cd001a682d1f7c5887ba
57
py
Python
public_data/__init__.py
danamlewis/open-humans
9b08310cf151f49032b66ddd005bbd47d466cc4e
[ "MIT" ]
57
2016-09-01T21:55:52.000Z
2022-03-27T22:15:32.000Z
public_data/__init__.py
danamlewis/open-humans
9b08310cf151f49032b66ddd005bbd47d466cc4e
[ "MIT" ]
464
2015-03-23T18:08:28.000Z
2016-08-25T04:57:36.000Z
public_data/__init__.py
danamlewis/open-humans
9b08310cf151f49032b66ddd005bbd47d466cc4e
[ "MIT" ]
25
2017-01-24T16:23:27.000Z
2021-11-07T01:51:42.000Z
default_app_config = "public_data.apps.PublicDataConfig"
28.5
56
0.859649
7
57
6.571429
1
0
0
0
0
0
0
0
0
0
0
0
0.052632
57
1
57
57
0.851852
0
0
0
0
0
0.578947
0.578947
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dec3677b20d4adc3eb68a08d3387d17a39e78d6a
513
py
Python
src/config/__init__.py
jonwhittlestone/mongo-csfle-beanie-fastapi
8194822a59114558d01f00e9c8c80f42aa78a412
[ "MIT" ]
null
null
null
src/config/__init__.py
jonwhittlestone/mongo-csfle-beanie-fastapi
8194822a59114558d01f00e9c8c80f42aa78a412
[ "MIT" ]
null
null
null
src/config/__init__.py
jonwhittlestone/mongo-csfle-beanie-fastapi
8194822a59114558d01f00e9c8c80f42aa78a412
[ "MIT" ]
null
null
null
import os from pydantic import BaseSettings class CommonSettings(BaseSettings): APP_NAME: str = "CustomerDB" class ServerSettings(BaseSettings): pass class DatabaseSettings(BaseSettings): DB_USERNAME: str = os.environ.get("MONGO_USERNAME") DB_PASSWORD: str = os.environ.get("MONGO_PASSWORD") DB...
20.52
65
0.74269
60
513
6.2
0.383333
0.053763
0.129032
0.16129
0.215054
0
0
0
0
0
0
0
0.153996
513
24
66
21.375
0.857143
0
0
0.142857
0
0
0.118908
0
0
0
0
0
0
1
0
false
0.214286
0.142857
0
0.785714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
dee33c6d8f905d64708267fd1cdf85d343ee0a76
4,123
py
Python
gpsearch/core/acquisitions/ints.py
Fluid-Dynamics-Group/gpsearch
8c5758c9fb2b623ef79952c3e9c113cb157d79bc
[ "MIT" ]
6
2020-07-13T00:02:17.000Z
2022-03-11T08:49:27.000Z
gpsearch/core/acquisitions/ints.py
Fluid-Dynamics-Group/gpsearch
8c5758c9fb2b623ef79952c3e9c113cb157d79bc
[ "MIT" ]
null
null
null
gpsearch/core/acquisitions/ints.py
Fluid-Dynamics-Group/gpsearch
8c5758c9fb2b623ef79952c3e9c113cb157d79bc
[ "MIT" ]
9
2020-07-18T13:29:46.000Z
2022-03-22T15:14:14.000Z
import numpy as np from .base import Acquisition, AcquisitionWeighted from ..utils import grid_nint, add_xnew, jacobian_fdiff class IVRInt(Acquisition): """A class for IVR computed by numerical integration. Parameters ---------- model, inputs : see parent class (Acquisition) ngrid : int N...
31.473282
74
0.603929
525
4,123
4.649524
0.219048
0.054076
0.068824
0.019664
0.715281
0.715281
0.70381
0.682917
0.682917
0.650143
0
0.009884
0.288382
4,123
130
75
31.715385
0.822086
0.377395
0
0.529412
0
0
0
0
0
0
0
0
0
1
0.137255
false
0
0.058824
0.039216
0.333333
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
0
0
0
0
0
0
0
0
0
3
deef8546df445c075b8feff707660404e0c6b23e
312
py
Python
cmsplugin_oembed/models.py
ausgestrahlt/cmsplugin_oembed
d8e5fc61c518af70d31730ca3eff69a1176f6a32
[ "BSD-2-Clause" ]
null
null
null
cmsplugin_oembed/models.py
ausgestrahlt/cmsplugin_oembed
d8e5fc61c518af70d31730ca3eff69a1176f6a32
[ "BSD-2-Clause" ]
null
null
null
cmsplugin_oembed/models.py
ausgestrahlt/cmsplugin_oembed
d8e5fc61c518af70d31730ca3eff69a1176f6a32
[ "BSD-2-Clause" ]
null
null
null
from django.db import models from cms.models import CMSPlugin from embed_video.fields import EmbedVideoField class VideoPluginModel(CMSPlugin): video_url = EmbedVideoField() max_width = models.IntegerField(blank=True, null=True, help_text="in px") def __str__(self): return self.video_url
26
77
0.762821
41
312
5.585366
0.682927
0.069869
0
0
0
0
0
0
0
0
0
0
0.160256
312
11
78
28.363636
0.874046
0
0
0
0
0
0.016026
0
0
0
0
0
0
1
0.125
false
0
0.375
0.125
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
def2e671af56348127cebb854cea3c0d91bf0465
4,896
py
Python
py/docria/query.py
marcusklang/docria
e2fc9d85d3e40a3e089e26e5e26e776b2eab9300
[ "Apache-2.0" ]
6
2019-01-23T15:44:22.000Z
2020-06-01T09:25:53.000Z
py/docria/query.py
marcusklang/docria
e2fc9d85d3e40a3e089e26e5e26e776b2eab9300
[ "Apache-2.0" ]
null
null
null
py/docria/query.py
marcusklang/docria
e2fc9d85d3e40a3e089e26e5e26e776b2eab9300
[ "Apache-2.0" ]
1
2021-06-04T05:35:10.000Z
2021-06-04T05:35:10.000Z
# -*- coding: utf-8 -*- # # Copyright 2021 Marcus Klang (marcus.klang@cs.lth.se) # # 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 requ...
27.351955
75
0.63031
626
4,896
4.667732
0.204473
0.07666
0.048939
0.098563
0.493498
0.414442
0.264545
0.264545
0.241273
0.221424
0
0.00239
0.230801
4,896
178
76
27.505618
0.7735
0.128268
0
0.361111
0
0
0.073464
0
0
0
0
0
0
1
0.37037
false
0
0.018519
0.240741
0.759259
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
defa371f642b654b3c4557ba4345e184bce73691
84
py
Python
MSMetaEnhancer/libs/converters/compute/__init__.py
RECETOX/MSMetaEnhancer
863077330740a5b2c91f005599460cee238b2e6f
[ "MIT" ]
null
null
null
MSMetaEnhancer/libs/converters/compute/__init__.py
RECETOX/MSMetaEnhancer
863077330740a5b2c91f005599460cee238b2e6f
[ "MIT" ]
33
2021-11-16T15:12:45.000Z
2022-03-31T08:59:50.000Z
MSMetaEnhancer/libs/converters/compute/__init__.py
RECETOX/MSMetaEnhancer
863077330740a5b2c91f005599460cee238b2e6f
[ "MIT" ]
null
null
null
from MSMetaEnhancer.libs.converters.compute.RDKit import RDKit __all__ = ['RDKit']
21
62
0.797619
10
84
6.3
0.8
0
0
0
0
0
0
0
0
0
0
0
0.095238
84
3
63
28
0.828947
0
0
0
0
0
0.059524
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7202a86b6530b9cd4b72cb5b876dd11df4b395d9
1,239
py
Python
day5/common.py
NekohimeMusou/advent-of-code
a1215336a24713e63f77018f379ff90675afdd0d
[ "MIT" ]
null
null
null
day5/common.py
NekohimeMusou/advent-of-code
a1215336a24713e63f77018f379ff90675afdd0d
[ "MIT" ]
null
null
null
day5/common.py
NekohimeMusou/advent-of-code
a1215336a24713e63f77018f379ff90675afdd0d
[ "MIT" ]
null
null
null
from itertools import permutations from string import ascii_lowercase INPUT_PATH = 'input.txt' def get_input(path=INPUT_PATH): """Get the input for day 5. This should all be one long string. I tested with the given input and we don't need to join the lines but it's just a bit less brittle this way.""" ...
30.219512
104
0.675545
178
1,239
4.629213
0.494382
0.084951
0.033981
0
0
0
0
0
0
0
0
0.006205
0.219532
1,239
40
105
30.975
0.845915
0.271994
0
0
0
0
0.069714
0.059429
0
0
0
0
0
1
0.210526
false
0
0.105263
0.105263
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7213effc82d859939de919f4f6899e6a116eeb07
807
py
Python
flog/testing/views.py
mutalisk999/Flog
5d836e26967b39faebdf2d5a2c558316bf93221b
[ "MIT" ]
1
2020-08-24T03:39:52.000Z
2020-08-24T03:39:52.000Z
flog/testing/views.py
mutalisk999/Flog
5d836e26967b39faebdf2d5a2c558316bf93221b
[ "MIT" ]
null
null
null
flog/testing/views.py
mutalisk999/Flog
5d836e26967b39faebdf2d5a2c558316bf93221b
[ "MIT" ]
null
null
null
""" MIT License Copyright(c) 2021 Andy Zhou """ from flask import abort from . import testing_bp from flog.utils import redirect_back @testing_bp.route("/400") def trigger_bad_request(): abort(400) @testing_bp.route("/403") def trigger_forbidden(): abort(403) @testing_bp.route("/404") ...
16.8125
58
0.674102
109
807
4.724771
0.422018
0.157282
0.217476
0
0
0
0
0
0
0
0
0.069909
0.184634
807
47
59
17.170213
0.712766
0.048327
0
0
0
0
0.079944
0
0
0
0
0
0
1
0.296296
true
0
0.111111
0.037037
0.444444
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
3
7225e1430f84c05f3579a0af6341fb20d179d2e9
1,089
py
Python
qdscreen/tests/encoding_ref_help.py
python-qds/pyqds
c2d3c173a7edccf17241fef3aedeca1d30a59fe4
[ "BSD-3-Clause" ]
null
null
null
qdscreen/tests/encoding_ref_help.py
python-qds/pyqds
c2d3c173a7edccf17241fef3aedeca1d30a59fe4
[ "BSD-3-Clause" ]
19
2021-01-20T08:58:46.000Z
2022-01-07T08:42:09.000Z
qdscreen/tests/encoding_ref_help.py
python-qds/qdscreen
c2d3c173a7edccf17241fef3aedeca1d30a59fe4
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # the above encoding declaration is needed to have non-ascii characters in this file (anywhere even in comments) from __future__ import unicode_literals # this module mimics what happens in main.py: # - there are special characters in the Foo.__str__ method. To support them in python 2 we need ...
41.884615
118
0.728191
179
1,089
4.212291
0.497207
0.046419
0.055703
0.095491
0.074271
0.074271
0
0
0
0
0
0.011468
0.199265
1,089
25
119
43.56
0.848624
0.737374
0
0
0
0
0.021978
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
72395949c3e1f4f2c2a205a12f860287d106ffc9
66
py
Python
src/twocaptcha/__init__.py
tiagocardosoweb/2captcha-wrapper
e507e36b9b94895c9fd66bd8fe9910a7d8457054
[ "BSD-2-Clause-FreeBSD" ]
4
2017-09-29T23:14:00.000Z
2018-02-19T23:50:14.000Z
src/twocaptcha/__init__.py
streetgt/2captcha-wrapper
e507e36b9b94895c9fd66bd8fe9910a7d8457054
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/twocaptcha/__init__.py
streetgt/2captcha-wrapper
e507e36b9b94895c9fd66bd8fe9910a7d8457054
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
__author__ = 'tiagocardosoweb' from .twocaptcha import TwoCaptcha
22
34
0.833333
6
66
8.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.106061
66
2
35
33
0.864407
0
0
0
0
0
0.227273
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
723dd85970e8a6126b2ebe6fe39fdafa77613901
431
py
Python
soccerpy/modules/Fixture/fixtures_specific.py
SlapBot/soccerpy
e70cd9bf2ad130f004d85328a83deba0815461bd
[ "MIT" ]
null
null
null
soccerpy/modules/Fixture/fixtures_specific.py
SlapBot/soccerpy
e70cd9bf2ad130f004d85328a83deba0815461bd
[ "MIT" ]
1
2017-07-18T17:04:58.000Z
2017-07-19T02:02:46.000Z
soccerpy/modules/Fixture/fixtures_specific.py
SlapBot/soccerpy
e70cd9bf2ad130f004d85328a83deba0815461bd
[ "MIT" ]
1
2018-08-17T23:51:31.000Z
2018-08-17T23:51:31.000Z
from soccerpy.modules.Fixture.base_fixture import BaseFixture from soccerpy.modules.Fundamentals.fixtures import Fixture from soccerpy.modules.Fundamentals.head2head import Head2Head class FixturesSpecific(BaseFixture): def __init__(self, data, headers, request): super().__init__(headers, request) ...
39.181818
61
0.761021
49
431
6.510204
0.408163
0.112853
0.178683
0.194357
0
0
0
0
0
0
0
0.013441
0.136891
431
10
62
43.1
0.844086
0
0
0
0
0
0.037123
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a0c9cef0a5cf89e8a00d7f38ba016b4f5a0bc2ac
1,801
py
Python
src/Logikanalysator/sigrok-integration/libsigrokdecode/decoders/uart/__init__.py
dm7h/fpga-event-recorder
4e53babbbb514ee375f4b5585b1d24e5b40f8df7
[ "0BSD" ]
null
null
null
src/Logikanalysator/sigrok-integration/libsigrokdecode/decoders/uart/__init__.py
dm7h/fpga-event-recorder
4e53babbbb514ee375f4b5585b1d24e5b40f8df7
[ "0BSD" ]
null
null
null
src/Logikanalysator/sigrok-integration/libsigrokdecode/decoders/uart/__init__.py
dm7h/fpga-event-recorder
4e53babbbb514ee375f4b5585b1d24e5b40f8df7
[ "0BSD" ]
null
null
null
## ## This file is part of the libsigrokdecode project. ## ## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the Li...
40.022222
76
0.755691
297
1,801
4.582492
0.582492
0.022043
0.028655
0.041881
0.06025
0.041146
0
0
0
0
0
0.019595
0.178234
1,801
44
77
40.931818
0.9
0.952249
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
0
0
0
3
a0e9ac7f1613a030fb1d8a2f65415b51cea46365
127
py
Python
quandl/api_config.py
dpete2008/quandl
e2540dc8333c03802583344820bb0dd6b93f07df
[ "MIT" ]
2
2020-02-01T23:41:58.000Z
2020-05-19T02:11:33.000Z
quandl/api_config.py
dpete2008/quandl
e2540dc8333c03802583344820bb0dd6b93f07df
[ "MIT" ]
null
null
null
quandl/api_config.py
dpete2008/quandl
e2540dc8333c03802583344820bb0dd6b93f07df
[ "MIT" ]
2
2019-02-14T08:13:33.000Z
2019-04-23T21:47:48.000Z
class ApiConfig: api_key = None api_base = 'https://www.quandl.com/api/v3' api_version = None page_limit = 100
21.166667
46
0.653543
19
127
4.157895
0.789474
0
0
0
0
0
0
0
0
0
0
0.041237
0.23622
127
5
47
25.4
0.773196
0
0
0
0
0
0.228346
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
a0f59170c948cfd667c46384e5d83c71d62026b3
6,971
py
Python
client/tests/test_proof.py
mithril-security/blindai
48739da059d30ab28429ca5106d7f07f8d5d3f66
[ "Apache-2.0" ]
121
2022-02-15T17:37:53.000Z
2022-03-30T14:55:19.000Z
client/tests/test_proof.py
mithril-security/blindai
48739da059d30ab28429ca5106d7f07f8d5d3f66
[ "Apache-2.0" ]
18
2022-02-16T12:23:24.000Z
2022-03-27T20:33:33.000Z
client/tests/test_proof.py
mithril-security/blindai
48739da059d30ab28429ca5106d7f07f8d5d3f66
[ "Apache-2.0" ]
10
2022-02-24T20:54:52.000Z
2022-03-25T19:39:53.000Z
from copy import deepcopy from hashlib import sha256 import os import unittest from google.protobuf.timestamp_pb2 import Timestamp from blindai.pb.securedexchange_pb2 import ( Payload, ) from blindai.client import ( RunModelResponse, UploadModelResponse, ) from blindai.dcap_attestation import Policy from ...
30.709251
74
0.631904
656
6,971
6.542683
0.135671
0.073392
0.112535
0.041938
0.801491
0.771901
0.676608
0.629077
0.614632
0.614632
0
0.01699
0.282312
6,971
226
75
30.845133
0.840895
0.021374
0
0.650888
0
0
0.00969
0
0
0
0
0
0.195266
1
0.023669
false
0
0.059172
0
0.088757
0
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a0fb91abced3e5f15faa2fb6f86c227da7378fc0
39
py
Python
src/IceRayPy/core/material/instruction/label/coord3d/const.py
dmilos/IceRay
4e01f141363c0d126d3c700c1f5f892967e3d520
[ "MIT-0" ]
2
2020-09-04T12:27:15.000Z
2022-01-17T14:49:40.000Z
src/IceRayPy/core/material/instruction/label/coord3d/const.py
dmilos/IceRay
4e01f141363c0d126d3c700c1f5f892967e3d520
[ "MIT-0" ]
null
null
null
src/IceRayPy/core/material/instruction/label/coord3d/const.py
dmilos/IceRay
4e01f141363c0d126d3c700c1f5f892967e3d520
[ "MIT-0" ]
1
2020-09-04T12:27:52.000Z
2020-09-04T12:27:52.000Z
_BEGIN = 0 ZERO=0 RAND=1 _END = 10
7.8
11
0.589744
8
39
2.625
0.875
0
0
0
0
0
0
0
0
0
0
0.185185
0.307692
39
4
12
9.75
0.592593
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9d02e24cc3e773e9c6844ba553a6e9450a812cca
662
py
Python
examples/by_systems/mass_spring_damper/two_mass_with_pid.py
SherbyRobotics/PyRobotics
86eb1189258f6f41642a149c813dd2fd6853bcc1
[ "MIT" ]
14
2019-05-03T15:22:38.000Z
2022-03-14T15:31:54.000Z
examples/by_systems/mass_spring_damper/two_mass_with_pid.py
SherbyRobotics/PyRobotics
86eb1189258f6f41642a149c813dd2fd6853bcc1
[ "MIT" ]
9
2019-08-01T14:22:13.000Z
2021-06-12T01:44:50.000Z
examples/by_systems/mass_spring_damper/two_mass_with_pid.py
SherbyRobotics/PyRobotics
86eb1189258f6f41642a149c813dd2fd6853bcc1
[ "MIT" ]
9
2019-05-21T12:38:36.000Z
2022-03-29T16:28:45.000Z
# -*- coding: utf-8 -*- """ Created on Jun 2 2021 @author: Alex """ import numpy as np from pyro.dynamic import massspringdamper from pyro.control.linear import PIDController # Plant sys = massspringdamper.TwoMass() sys.m1 = 2 sys.m2 = 3 sys.k1 = 5 sys.k2 = 2 sys.b1 = 0.1 sys.b2 = 0.2 sys.com...
662
662
0.691843
110
662
4.018182
0.527273
0.079186
0.061086
0.085973
0
0
0
0
0
0
0
0.052045
0.187311
662
1
662
662
0.769517
1.049849
0
0
0
0
0.003861
0
0
0
0
0
0
1
0
false
0
0.130435
0
0.130435
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9d267256f8642c23b94674d0e9575f186d81491d
164
py
Python
Udemy/Secao5/aula132/tempCodeRunnerFile.py
rafaelgama/Curso_Python
908231de9de4a17f5aa829f2671fd88de9261eda
[ "MIT" ]
1
2020-05-07T20:21:15.000Z
2020-05-07T20:21:15.000Z
Udemy/Secao5/aula132/tempCodeRunnerFile.py
rafaelgama/Curso_Python
908231de9de4a17f5aa829f2671fd88de9261eda
[ "MIT" ]
null
null
null
Udemy/Secao5/aula132/tempCodeRunnerFile.py
rafaelgama/Curso_Python
908231de9de4a17f5aa829f2671fd88de9261eda
[ "MIT" ]
null
null
null
for arquivo in os.listdir(caminho): caminho_completo = os.path.join(caminho, arquivo) #zip.write(caminho_completo, arquivo) print(caminho_completo)
32.8
53
0.731707
21
164
5.571429
0.571429
0.384615
0
0
0
0
0
0
0
0
0
0
0.164634
164
5
54
32.8
0.854015
0.219512
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
0
3
9d3cdcb3f4a0fb1df8c5f6d0ed17022f0dcbc137
1,441
py
Python
AcdUtilLib.py
fermi-lat/AcdUtil
0fc8537ebc7c90dec9cb4a72e1ee274b78dd1b09
[ "BSD-3-Clause" ]
null
null
null
AcdUtilLib.py
fermi-lat/AcdUtil
0fc8537ebc7c90dec9cb4a72e1ee274b78dd1b09
[ "BSD-3-Clause" ]
null
null
null
AcdUtilLib.py
fermi-lat/AcdUtil
0fc8537ebc7c90dec9cb4a72e1ee274b78dd1b09
[ "BSD-3-Clause" ]
null
null
null
# $Header: /nfs/slac/g/glast/ground/cvs/GlastRelease-scons/AcdUtil/AcdUtilLib.py,v 1.4 2009/08/08 01:08:04 jrb Exp $ def generate(env, **kw): if not kw.get('depsOnly', 0): env.Tool('addLibrary', library = ['AcdUtil']) if env['PLATFORM'] == 'win32': env.Tool('findPkgPath', package = 'AcdUtil') env...
40.027778
116
0.637752
169
1,441
5.43787
0.426036
0.17519
0.129489
0.182807
0.146899
0
0
0
0
0
0
0.020287
0.179042
1,441
35
117
41.171429
0.756551
0.124913
0
0
1
0
0.340223
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
19d35e18e58b4952ba92b768fcb825dac54015d2
1,643
py
Python
myenv/Lib/site-packages/github/enums/repositorysubscription.py
thestackcoder/notifao_app
e21ab3c0eed72a64ee24508b92045de13c8385bb
[ "MIT" ]
null
null
null
myenv/Lib/site-packages/github/enums/repositorysubscription.py
thestackcoder/notifao_app
e21ab3c0eed72a64ee24508b92045de13c8385bb
[ "MIT" ]
null
null
null
myenv/Lib/site-packages/github/enums/repositorysubscription.py
thestackcoder/notifao_app
e21ab3c0eed72a64ee24508b92045de13c8385bb
[ "MIT" ]
null
null
null
""" /github/enums/repositorysubscription.py Copyright (c) 2019-2020 ShineyDev 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...
26.934426
76
0.655508
188
1,643
5.585106
0.56383
0.057143
0.031429
0.042857
0.048571
0
0
0
0
0
0
0.012215
0.252587
1,643
60
77
27.383333
0.842834
0.529519
0
0.166667
0
0
0.127031
0.033973
0
0
0
0
0
1
0.333333
false
0
0
0.111111
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c21a42299fa0e15ccf9db8ab8af70841a1ea0272
109
py
Python
fb4/sqldb.py
tholzheim/pyFlaskBootstrap4
7e08ce6b98fc247ff97379385c41db42974db26d
[ "Apache-2.0" ]
3
2021-07-31T03:40:28.000Z
2022-02-16T06:47:45.000Z
fb4/sqldb.py
tholzheim/pyFlaskBootstrap4
7e08ce6b98fc247ff97379385c41db42974db26d
[ "Apache-2.0" ]
31
2021-01-08T14:21:18.000Z
2022-02-25T16:00:57.000Z
fb4/sqldb.py
tholzheim/pyFlaskBootstrap4
7e08ce6b98fc247ff97379385c41db42974db26d
[ "Apache-2.0" ]
3
2021-02-03T10:58:43.000Z
2021-12-20T18:57:41.000Z
''' Created on 21.01.2021 @author: wf ''' from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy()
13.625
39
0.669725
14
109
5.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0.093023
0.211009
109
8
40
13.625
0.744186
0.311927
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
dfa4c2f3dec2ddadb16069cf01ac883ebe6907a1
784
py
Python
test.py
mokha/natas
a43c8014db33c47953da59c108ba5c1f5c42920f
[ "Apache-2.0" ]
null
null
null
test.py
mokha/natas
a43c8014db33c47953da59c108ba5c1f5c42920f
[ "Apache-2.0" ]
null
null
null
test.py
mokha/natas
a43c8014db33c47953da59c108ba5c1f5c42920f
[ "Apache-2.0" ]
null
null
null
from natas import ocr_builder from mikatools import * #from gensim.models import Word2Vec #from gensim.models.keyedvectors import Word2VecKeyedVectors import natas print(natas.normalize_words(["seacreat", "wiþe"], n_best=5)) print(natas.ocr_correct_words(["paft", "friendlhip"])) #print(natas.is_correctly_spelled("cat...
37.333333
110
0.790816
109
784
5.46789
0.550459
0.067114
0.053691
0.07047
0.09396
0
0
0
0
0
0
0.036735
0.0625
784
20
111
39.2
0.77415
0.733418
0
0
0
0
0.13198
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0.4
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
dfcccf0b26cecb7b0c2bdc6e54c4d550bcb2667f
264
py
Python
src/python/main.py
daboross/dxnr
8f73e9d5f4473b97dcfe05804a40c9a0826e51b6
[ "MIT" ]
null
null
null
src/python/main.py
daboross/dxnr
8f73e9d5f4473b97dcfe05804a40c9a0826e51b6
[ "MIT" ]
null
null
null
src/python/main.py
daboross/dxnr
8f73e9d5f4473b97dcfe05804a40c9a0826e51b6
[ "MIT" ]
null
null
null
from defs import * def main() -> None: """ Main game logic loop shim. """ from providers import cpucheck cpucheck.instantiate() if cpucheck.is_over_limit(): return import logic logic.main() module.exports.loop = main
13.2
34
0.613636
31
264
5.16129
0.645161
0
0
0
0
0
0
0
0
0
0
0
0.287879
264
19
35
13.894737
0.851064
0.098485
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
dfcdb76f2a65b29e8c04159d0cf267e398aafe7d
266
py
Python
helper.py
alterthefuture/modmail
2be9b044270fc0c5a24803effb4e3680fefdce65
[ "MIT" ]
null
null
null
helper.py
alterthefuture/modmail
2be9b044270fc0c5a24803effb4e3680fefdce65
[ "MIT" ]
null
null
null
helper.py
alterthefuture/modmail
2be9b044270fc0c5a24803effb4e3680fefdce65
[ "MIT" ]
null
null
null
import discord import random def create_embed(text): embed=discord.Embed(description=text,color=discord.Color.blurple()) return embed def error_embed(text): embed=discord.Embed(description=text,color=discord.Color.red()) return embed
20.461538
72
0.721805
34
266
5.588235
0.382353
0.094737
0.147368
0.221053
0.610526
0.610526
0.610526
0.610526
0.610526
0.610526
0
0
0.172932
266
12
73
22.166667
0.863636
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
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
1
0
0
0
0
0
0
0
3
dfce3a700d385f866fe5baa6ae87a25014aca0d2
310
py
Python
ranking/models.py
ShitamatsugeFactory/KokoWalk_Server
9af36f750a512aa56635b04a190589d76822bc86
[ "MIT" ]
3
2017-01-01T07:34:54.000Z
2017-01-04T02:18:37.000Z
ranking/models.py
ShitamatsugeFactory/KokoWalk_Server
9af36f750a512aa56635b04a190589d76822bc86
[ "MIT" ]
null
null
null
ranking/models.py
ShitamatsugeFactory/KokoWalk_Server
9af36f750a512aa56635b04a190589d76822bc86
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.db import models # Create your models here. class Ranking(models.Model): # marikoojisan / doitsujin / .... part = models.CharField(max_length=64) # user name name = models.CharField(max_length=64) score = models.IntegerField(null=True)
25.833333
42
0.725806
39
310
5.589744
0.692308
0.137615
0.165138
0.220183
0.238532
0
0
0
0
0
0
0.015686
0.177419
310
11
43
28.181818
0.839216
0.212903
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
dfd070d32d8603034c917a0d80eb4f7bd3712d05
194
py
Python
day_1/range_object.py
anishLearnsToCode/python-workshop-wac-5
edaa5d9fdc1dd0b2a7557155215ff823b0be44b5
[ "MIT" ]
3
2020-07-23T13:44:16.000Z
2021-09-15T20:28:52.000Z
day_1/range_object.py
anishLearnsToCode/python-workshop-wac-5
edaa5d9fdc1dd0b2a7557155215ff823b0be44b5
[ "MIT" ]
null
null
null
day_1/range_object.py
anishLearnsToCode/python-workshop-wac-5
edaa5d9fdc1dd0b2a7557155215ff823b0be44b5
[ "MIT" ]
1
2020-11-01T00:53:00.000Z
2020-11-01T00:53:00.000Z
""" Range range(stop) range(start, stop) range(start, stop, step) start = 0 step = 1 - iterable object - string is iterable """ r = range(5, 10, 2) print(r.start) print(r.stop) print(r.step)
10.777778
24
0.659794
33
194
3.878788
0.454545
0.140625
0.21875
0.28125
0
0
0
0
0
0
0
0.037267
0.170103
194
17
25
11.411765
0.757764
0.623711
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
a05d0fc15f30512f54b09f2d9e7e7188a722329e
965
py
Python
web/users/migrations/0002_auto_20200906_2028.py
MariaMozgunova/dockerized_rest_api
aa6aef810317dd58bfd36e4f3d64c3067c6cade0
[ "MIT" ]
null
null
null
web/users/migrations/0002_auto_20200906_2028.py
MariaMozgunova/dockerized_rest_api
aa6aef810317dd58bfd36e4f3d64c3067c6cade0
[ "MIT" ]
null
null
null
web/users/migrations/0002_auto_20200906_2028.py
MariaMozgunova/dockerized_rest_api
aa6aef810317dd58bfd36e4f3d64c3067c6cade0
[ "MIT" ]
12
2021-02-11T16:39:00.000Z
2022-03-30T19:18:24.000Z
# Generated by Django 3.0.5 on 2020-09-06 20:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AlterField( model_name='user', name='bio', field=mo...
28.382353
91
0.570984
99
965
5.434343
0.484848
0.148699
0.185874
0.215613
0.275093
0.275093
0
0
0
0
0
0.041481
0.300518
965
33
92
29.242424
0.755556
0.046632
0
0.444444
1
0
0.086057
0
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
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
0
0
0
0
0
0
0
0
0
0
3
a06f62c7fccfc8824dad9109000dd483cda84151
299
py
Python
no12/no12.py
shopetan/ksnctf
f4b7724c956a5dc0590c83ff6f5fb6a249b81371
[ "MIT" ]
null
null
null
no12/no12.py
shopetan/ksnctf
f4b7724c956a5dc0590c83ff6f5fb6a249b81371
[ "MIT" ]
null
null
null
no12/no12.py
shopetan/ksnctf
f4b7724c956a5dc0590c83ff6f5fb6a249b81371
[ "MIT" ]
null
null
null
import requests postdata = """<?php system('cat flag_flag_flag.txt'); die();?>""" url = """http://ctfq.sweetduet.info:10080/~q12/?-d+allow_url_include%3DOn+-d+auto_prepend_file%3Dphp://input""" #url = """http://ctfq.sweetduet.info:10080/~q12/?-s""" hax = requests.post(url,postdata) print hax.text
37.375
111
0.692308
45
299
4.466667
0.666667
0.079602
0.109453
0.199005
0.318408
0.318408
0.318408
0
0
0
0
0.057348
0.06689
299
7
112
42.714286
0.663082
0.177258
0
0
0
0.2
0.6
0.085714
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
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
1
0
0
0
0
0
0
0
0
3
a07b635dce815ae1f05cbb0cacee5b50409ac6c9
1,804
py
Python
graphs/graphs.py
mihir86/Client-Server-Architecture-with-Shift-Repeat-protocol
4c647f4db53499668b5ecfbff0e186e416e69799
[ "MIT" ]
null
null
null
graphs/graphs.py
mihir86/Client-Server-Architecture-with-Shift-Repeat-protocol
4c647f4db53499668b5ecfbff0e186e416e69799
[ "MIT" ]
null
null
null
graphs/graphs.py
mihir86/Client-Server-Architecture-with-Shift-Repeat-protocol
4c647f4db53499668b5ecfbff0e186e416e69799
[ "MIT" ]
null
null
null
# Gaurang Gupta - 2018A7PS0225H # Rushabh Musthyala - 2018A7PS0433H # Mihir Bansal - 2018A7PS0215H # Aditya Jhaveri Alok - 2018A7PS0209H # Dev Gupta - 2017B3A71082H import numpy as np import matplotlib.pyplot as plt filesize = 10615705 plt.figure(figsize=(20, 10)) x = [0, 5, 10, 15, 20, 25, 30...
26.144928
104
0.639135
314
1,804
3.671975
0.423567
0.046834
0.083261
0.093669
0.640937
0.640937
0.558543
0.494363
0.468343
0.398959
0
0.291638
0.18459
1,804
69
105
26.144928
0.492182
0.095344
0
0.733333
0
0
0.142582
0
0
0
0
0
0
1
0
false
0
0.044444
0
0.044444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a0836229e225c17b6864f4aefb709b275b9cd0e5
1,121
py
Python
torch_scae/math_ops.py
KohavTal/SCAE_Project
bc6d1c3697fcb9327dd96e9657c3299b47cf355e
[ "Apache-2.0" ]
40
2020-05-25T02:38:45.000Z
2022-03-24T03:21:46.000Z
torch_scae/math_ops.py
KohavTal/SCAE_Project
bc6d1c3697fcb9327dd96e9657c3299b47cf355e
[ "Apache-2.0" ]
11
2020-05-26T10:19:20.000Z
2022-03-26T01:33:12.000Z
torch_scae/math_ops.py
karayanni/torch-scae
e044662d8942d8d1923d13d071f375144cf4a1e8
[ "Apache-2.0" ]
13
2020-06-15T17:14:55.000Z
2022-03-24T07:57:33.000Z
# Copyright 2020 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
32.028571
84
0.73149
175
1,121
4.617143
0.531429
0.074257
0.032178
0.039604
0.066832
0.066832
0
0
0
0
0
0.020408
0.169492
1,121
34
85
32.970588
0.847476
0.504014
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.083333
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a09a0b1f223679dd83e645e430796432082c7b8f
103
py
Python
tests/paths.py
ffoxin/kodi.kino.pub
f085beb99fcbab3da4efc698d56775d9553b9f28
[ "BSD-3-Clause" ]
59
2018-10-07T19:54:27.000Z
2022-03-27T08:55:57.000Z
tests/paths.py
ffoxin/kodi.kino.pub
f085beb99fcbab3da4efc698d56775d9553b9f28
[ "BSD-3-Clause" ]
147
2018-10-07T19:02:13.000Z
2022-03-05T17:15:16.000Z
tests/paths.py
ffoxin/kodi.kino.pub
f085beb99fcbab3da4efc698d56775d9553b9f28
[ "BSD-3-Clause" ]
22
2018-11-14T16:40:19.000Z
2022-02-11T22:30:28.000Z
from pathlib import Path HOST_DIR = f"{Path('.').absolute()}/tests/data" CON_DIR = "/home/kodi/.kodi"
20.6
47
0.679612
16
103
4.25
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.106796
103
4
48
25.75
0.73913
0
0
0
0
0
0.475728
0.320388
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a0a1449a7d23d9b79a452d8c43dc6d174b0430bd
559
py
Python
passcode_decipher/tests.py
IamTechknow/team-arcana-magnus
527218b71aefe624155fdd3ac3f77d14a2d4b8c9
[ "MIT" ]
1
2018-04-06T06:07:35.000Z
2018-04-06T06:07:35.000Z
passcode_decipher/tests.py
IamTechknow/team-arcana-magnus
527218b71aefe624155fdd3ac3f77d14a2d4b8c9
[ "MIT" ]
null
null
null
passcode_decipher/tests.py
IamTechknow/team-arcana-magnus
527218b71aefe624155fdd3ac3f77d14a2d4b8c9
[ "MIT" ]
null
null
null
from time import sleep import pygame, sys import RPi.GPIO as GPIO from classes.rotary import Rotary from classes.algorithm import Algorithm from classes.algorithm import AlgorithmType algo = Algorithm(AlgorithmType.VIGENERE) print (algo.encrypt("mathieu","ee")) algo = Algorithm(AlgorithmType.BASE64) print (algo.encry...
26.619048
43
0.78712
69
559
6.376812
0.347826
0.147727
0.295455
0.261364
0.334091
0.334091
0.334091
0
0
0
0
0.01581
0.094812
559
21
44
26.619048
0.853755
0
0
0.1875
0
0
0.073214
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.3125
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
0
0
0
3
a0a34163c4948e9387959a4cdc3764a4ac10116f
20,290
py
Python
tests/test_api_device.py
skylli/devicehive-python
c61da550443b2d59938076b8394ac3e1eadc5fba
[ "Apache-2.0" ]
28
2015-07-26T10:39:33.000Z
2021-04-16T11:33:50.000Z
tests/test_api_device.py
skylli/devicehive-python
c61da550443b2d59938076b8394ac3e1eadc5fba
[ "Apache-2.0" ]
24
2015-05-27T08:55:32.000Z
2020-12-23T06:03:07.000Z
tests/test_api_device.py
skylli/devicehive-python
c61da550443b2d59938076b8394ac3e1eadc5fba
[ "Apache-2.0" ]
21
2015-09-29T20:17:40.000Z
2021-02-12T05:02:27.000Z
# Copyright (C) 2018 DataArt # # 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, ...
37.854478
79
0.670774
2,352
20,290
5.534864
0.067602
0.043094
0.025964
0.027039
0.801429
0.74228
0.676525
0.655093
0.630973
0.610232
0
0.008789
0.23174
20,290
535
80
37.925234
0.826341
0.030853
0
0.666667
0
0
0.057967
0
0
0
0
0
0.226667
1
0.088889
false
0.02
0.004444
0
0.108889
0
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a0b73b2b8afc0e8920b81429945e0bee043f55fe
1,731
py
Python
test/testAbCoastalCellDetector.py
menta78/alphaBetaLab
8fac6cc5bd640a008bb9c0d85702053bf010e071
[ "MIT" ]
3
2019-11-18T21:06:40.000Z
2022-01-28T14:45:00.000Z
test/testAbCoastalCellDetector.py
menta78/alphaBetaLab
8fac6cc5bd640a008bb9c0d85702053bf010e071
[ "MIT" ]
2
2020-09-19T14:32:02.000Z
2022-01-24T12:22:44.000Z
test/testAbCoastalCellDetector.py
menta78/alphaBetaLab
8fac6cc5bd640a008bb9c0d85702053bf010e071
[ "MIT" ]
2
2018-11-29T10:36:01.000Z
2021-06-16T03:29:01.000Z
import unittest from shapely import geometry as g from alphaBetaLab import abCoastalCellDetector class testAbCoastalCellDetector(unittest.TestCase): def testCellOnLand(self): dtctr = abCoastalCellDetector.abCoastalCellDetector(None) cell = g.Polygon([[6, 47], [12, 47], [12, 49], [6, 49]]) cellbnd = ...
36.829787
72
0.70364
197
1,731
6.142132
0.218274
0.178512
0.218182
0.238017
0.781818
0.754545
0.673554
0.673554
0.528099
0.528099
0
0.04446
0.155402
1,731
46
73
37.630435
0.783174
0
0
0.552632
0
0
0.004622
0
0
0
0
0
0.315789
1
0.105263
false
0
0.078947
0
0.210526
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
39fe996c390365307afdbce6db8fd7d8367caabe
510
py
Python
mlreflect/models/__init__.py
schreiber-lab/mlreflect
88a80ccac48461cc8934a46041726b70e469c6b8
[ "MIT" ]
null
null
null
mlreflect/models/__init__.py
schreiber-lab/mlreflect
88a80ccac48461cc8934a46041726b70e469c6b8
[ "MIT" ]
null
null
null
mlreflect/models/__init__.py
schreiber-lab/mlreflect
88a80ccac48461cc8934a46041726b70e469c6b8
[ "MIT" ]
null
null
null
from pathlib import Path from . import model_helpers from . import simple_model from .trained_model import TrainedModel, DefaultTrainedModel default_model_path = Path(__file__).parents[1] / Path('resources', 'models', 'default_trained_model_with_absorption.h5') alternative_model_path = Path(__file__).parents[1] / Pat...
42.5
120
0.778431
60
510
6.116667
0.366667
0.098093
0.207084
0.234332
0.47139
0.239782
0.239782
0.239782
0.239782
0
0
0.008753
0.103922
510
11
121
46.363636
0.794311
0
0
0
0
0
0.360784
0.121569
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
0
0
0
3
2602becc3d164d95ff23178fab0254f13cf47360
4,417
py
Python
arxpy/smt/tests/test_types.py
ranea/RX-difference-tool
28b4a42bc0c602956f980a8b0d7d758f4147ff5e
[ "MIT" ]
25
2018-07-11T08:52:56.000Z
2022-01-02T10:01:00.000Z
arxpy/smt/tests/test_types.py
ranea/RX-difference-tool
28b4a42bc0c602956f980a8b0d7d758f4147ff5e
[ "MIT" ]
3
2020-12-28T03:49:11.000Z
2022-01-11T16:47:35.000Z
arxpy/smt/tests/test_types.py
ranea/RX-difference-tool
28b4a42bc0c602956f980a8b0d7d758f4147ff5e
[ "MIT" ]
4
2018-03-04T06:46:38.000Z
2020-09-28T01:53:52.000Z
"""Tests for the Types module.""" import doctest import functools import unittest from arxpy.bitvector.core import Constant, Variable from arxpy.bitvector.operation import ( BvNot, BvComp, RotateLeft, RotateRight, Concat, Repeat, ZeroExtend, Ite) import arxpy.smt.types from arxpy.smt.types import bv2pysmt as _bv2...
44.616162
113
0.621463
609
4,417
4.486043
0.229885
0.203148
0.294656
0.155564
0.361274
0.293924
0.24634
0.224744
0.09041
0
0
0.044509
0.216663
4,417
98
114
45.071429
0.745087
0.041204
0
0
0
0
0.006166
0
0
0
0
0
0.513889
1
0.055556
false
0
0.111111
0.013889
0.208333
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
26079cb831c995ef36f89bc926a92b906304cfce
108
py
Python
ref/initialtest/read_output.py
dli-invest/zipline-docker
ed5ec66b6151e6eb0b560bca3485af77985fecfd
[ "MIT" ]
null
null
null
ref/initialtest/read_output.py
dli-invest/zipline-docker
ed5ec66b6151e6eb0b560bca3485af77985fecfd
[ "MIT" ]
1
2021-04-19T16:47:10.000Z
2021-04-19T16:47:10.000Z
ref/initialtest/read_output.py
dli-invest/zipline-docker
ed5ec66b6151e6eb0b560bca3485af77985fecfd
[ "MIT" ]
null
null
null
import pandas as pd perf = pd.read_pickle('buyapple_out.pickle') # read in perf DataFrame print(perf.head())
36
69
0.768519
18
108
4.5
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.111111
108
3
70
36
0.84375
0.203704
0
0
0
0
0.223529
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
3
264d107d51dff729e7940e558ab0f4d45e9883c4
47
py
Python
extra_apps/__init__.py
super-GY/jtwcspider
45a6e69b93c79f6e175a0d105f2636e026ecb714
[ "Apache-2.0" ]
null
null
null
extra_apps/__init__.py
super-GY/jtwcspider
45a6e69b93c79f6e175a0d105f2636e026ecb714
[ "Apache-2.0" ]
null
null
null
extra_apps/__init__.py
super-GY/jtwcspider
45a6e69b93c79f6e175a0d105f2636e026ecb714
[ "Apache-2.0" ]
null
null
null
# _*_ coding:utf-8 _*_ __author__ = "super.gyk"
23.5
24
0.680851
6
47
4
1
0
0
0
0
0
0
0
0
0
0
0.02439
0.12766
47
2
24
23.5
0.560976
0.425532
0
0
0
0
0.346154
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
264d71529741f0abf129d5183e888c76a74c88af
444
py
Python
tests/test_usgsm2m.py
ashutoshkumarjha/usgsm2m
eb655d4a57e2c0d6f770003e682b6ae0591e632e
[ "MIT" ]
null
null
null
tests/test_usgsm2m.py
ashutoshkumarjha/usgsm2m
eb655d4a57e2c0d6f770003e682b6ae0591e632e
[ "MIT" ]
null
null
null
tests/test_usgsm2m.py
ashutoshkumarjha/usgsm2m
eb655d4a57e2c0d6f770003e682b6ae0591e632e
[ "MIT" ]
null
null
null
"""Tests for usgsm2m module.""" import os import pytest from usgsm2m.usgsm2m import USGSM2M from usgsm2m.errors import USGSM2MError @pytest.fixture(scope="module") def ee(): return USGSM2M( os.getenv("USGSM2M_USERNAME"), os.getenv("USGSM2M_PASSWORD") ) def test_ee_login(ee): assert ee.logged_i...
18.5
68
0.716216
57
444
5.403509
0.473684
0.071429
0.097403
0.090909
0
0
0
0
0
0
0
0.02973
0.166667
444
23
69
19.304348
0.802703
0.056306
0
0
0
0
0.150121
0
0
0
0
0
0.071429
1
0.214286
false
0.142857
0.285714
0.071429
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
26525da2ef42b0bfd988c84a74bb307737ebff90
85,056
py
Python
pw_tokenizer/py/varint_test_data.py
curtin-space/pigweed
fe2e1743e03fabd2676f01d9de0ac9d34a426076
[ "Apache-2.0" ]
86
2021-03-09T23:49:40.000Z
2022-03-30T08:14:51.000Z
pw_tokenizer/py/varint_test_data.py
curtin-space/pigweed
fe2e1743e03fabd2676f01d9de0ac9d34a426076
[ "Apache-2.0" ]
4
2021-07-27T20:32:03.000Z
2022-03-08T10:39:07.000Z
pw_tokenizer/py/varint_test_data.py
curtin-space/pigweed
fe2e1743e03fabd2676f01d9de0ac9d34a426076
[ "Apache-2.0" ]
22
2021-03-11T15:15:47.000Z
2022-02-09T06:16:36.000Z
# Copyright 2020 The Pigweed Authors # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
84.130564
117
0.651571
11,938
85,056
4.641816
0.111325
0.100047
0.062403
0.004764
0.045656
0.008211
0.006424
0.006424
0.005215
0.002851
0
0.375998
0.05922
85,056
1,010
118
84.213861
0.316512
0.011428
0
0.004111
0
0
0.641445
0.22733
0
0
0
0
0
1
0.001028
false
0
0
0.001028
0.002056
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
0
0
0
0
0
0
0
3
26710ae602f22531c1992410068d92816040b136
37
py
Python
string/stringmatching.py
ashutoshdumiyan/CSES-Solutions
48ff04f0003c2a1f808412497a22c7c7841bb3db
[ "MIT" ]
null
null
null
string/stringmatching.py
ashutoshdumiyan/CSES-Solutions
48ff04f0003c2a1f808412497a22c7c7841bb3db
[ "MIT" ]
null
null
null
string/stringmatching.py
ashutoshdumiyan/CSES-Solutions
48ff04f0003c2a1f808412497a22c7c7841bb3db
[ "MIT" ]
null
null
null
s = input() t = input() print()
7.4
12
0.459459
5
37
3.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.324324
37
4
13
9.25
0.68
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
13fe5c712851d7975ca8618f0f04b443e272383e
36
py
Python
server/constants.py
deepti-96/ConvoCare-Mental-Health-
1bae3febc3bc1253eec4f3fee63fb867756bcb5b
[ "MIT" ]
1
2022-02-06T20:44:17.000Z
2022-02-06T20:44:17.000Z
server/constants.py
deepti-96/ConvoCare-Mental-Health
1bae3febc3bc1253eec4f3fee63fb867756bcb5b
[ "MIT" ]
null
null
null
server/constants.py
deepti-96/ConvoCare-Mental-Health
1bae3febc3bc1253eec4f3fee63fb867756bcb5b
[ "MIT" ]
null
null
null
CLASSES = ['anxiety', 'depression']
18
35
0.666667
3
36
8
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
36
1
36
36
0.75
0
0
0
0
0
0.472222
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cd07c968339135843b4cf9c8f0149fcdaf84bdcd
609
py
Python
animationGenerator.py
Memnarch1113/keyboardAnimation
93e7124fdb10abc03be59021a5a92d0535e82a6b
[ "MIT" ]
null
null
null
animationGenerator.py
Memnarch1113/keyboardAnimation
93e7124fdb10abc03be59021a5a92d0535e82a6b
[ "MIT" ]
null
null
null
animationGenerator.py
Memnarch1113/keyboardAnimation
93e7124fdb10abc03be59021a5a92d0535e82a6b
[ "MIT" ]
null
null
null
# print ("hello world") # import sys # print(sys.version) # columns = [0,2,4,6,8,10,12,14,16,18,20,22,24,25,27,29,31,33,35,37,39,41,43,45,47,49,50,52,54,56,58,60,62,64,66,68,70,72,74,75,77,79,81,83,85,87,89,91,93,95,97,] for x in range(0, 125): print('P[c:{0}] (0,255,0), '.format(x%125), end='') # Green print...
46.846154
162
0.551724
131
609
2.564886
0.572519
0.089286
0.104167
0.119048
0.136905
0.083333
0
0
0
0
0
0.304104
0.119869
609
13
163
46.846154
0.322761
0.399015
0
0
0
0
0.29972
0
0
0
0
0
0
1
0
false
0
0
0
0
0.857143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
cd1b0e66960e25c44228f14d97d7cbc499be6547
347
py
Python
functional_tests/server_tools.py
jeckt/mindful-spending
e77d991ab6eb0302a75da51ec3802e64877f972a
[ "Apache-2.0" ]
2
2018-07-23T21:12:38.000Z
2018-07-23T21:54:59.000Z
functional_tests/server_tools.py
jeckt/mindful-spending
e77d991ab6eb0302a75da51ec3802e64877f972a
[ "Apache-2.0" ]
null
null
null
functional_tests/server_tools.py
jeckt/mindful-spending
e77d991ab6eb0302a75da51ec3802e64877f972a
[ "Apache-2.0" ]
null
null
null
from fabric.api import run from fabric.context_managers import settings def _get_manage_dot_py(host): return f'~/sites/{host}/virtualenv/bin/python ~/sites/{host}/manage.py' def reset_database(host): manage_dot_py = _get_manage_dot_py(host) with settings(host_string=f'steve@{host}'): run(f'{manage...
31.545455
75
0.740634
54
347
4.481481
0.5
0.14876
0.181818
0.115702
0.14876
0
0
0
0
0
0
0
0.129683
347
10
76
34.7
0.801325
0
0
0
0
0
0.299712
0.172911
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.625
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
cd260b6f41987246d8c61522e606080bcc0d5196
452
py
Python
config/debug/settings.py
saengate/django
699a42f661e7cf0d1461553775caee65f6823f09
[ "Apache-2.0" ]
null
null
null
config/debug/settings.py
saengate/django
699a42f661e7cf0d1461553775caee65f6823f09
[ "Apache-2.0" ]
9
2021-04-06T18:47:10.000Z
2021-09-22T19:48:02.000Z
config/debug/settings.py
saengate/wagtail-blog
db875d8f455fc92d5f9ac7ce98a4efdac1744381
[ "Apache-2.0" ]
null
null
null
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.7. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ from config.s...
25.111111
60
0.769912
67
452
5.164179
0.61194
0.017341
0.069364
0.144509
0.184971
0.184971
0.184971
0.184971
0
0
0
0.0175
0.115044
452
17
61
26.588235
0.8475
0.670354
0
0
1
0
0.432624
0.432624
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cd69a6f72d833191d5d6cc3c149e3f9a5af34868
132
py
Python
back-end/stripe_payment/urls.py
BloomTech-Labs/CS10-employee-shift
bb45c8e0ece121b8e38db9f156bddd8ac204d875
[ "MIT" ]
null
null
null
back-end/stripe_payment/urls.py
BloomTech-Labs/CS10-employee-shift
bb45c8e0ece121b8e38db9f156bddd8ac204d875
[ "MIT" ]
6
2022-02-12T15:59:53.000Z
2022-03-08T22:53:17.000Z
back-end/stripe_payment/urls.py
BloomTech-Labs/CS10-employee-shift
bb45c8e0ece121b8e38db9f156bddd8ac204d875
[ "MIT" ]
4
2018-09-10T16:13:48.000Z
2021-01-30T20:04:37.000Z
from django.conf.urls import url from .api import checkout urlpatterns = [ url(r'^create-charge/$', checkout, name="cout"), ]
16.5
52
0.689394
18
132
5.055556
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.159091
132
8
53
16.5
0.81982
0
0
0
0
0
0.150376
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cd879ba204b62757471cf287dc2db247b8098608
1,116
py
Python
tangos/input_handlers/halo_stat_files/translations.py
TobiBu/tangos
decab8c892c5937fd68474a375089abef198dba2
[ "BSD-3-Clause" ]
null
null
null
tangos/input_handlers/halo_stat_files/translations.py
TobiBu/tangos
decab8c892c5937fd68474a375089abef198dba2
[ "BSD-3-Clause" ]
null
null
null
tangos/input_handlers/halo_stat_files/translations.py
TobiBu/tangos
decab8c892c5937fd68474a375089abef198dba2
[ "BSD-3-Clause" ]
null
null
null
"""Helper classes for defining translations between .stat file of different formats.""" class Function(object): """Define a column which is actually a function of other columns""" def __init__(self, fn, *input_arg_names): self.fn = fn self.input_arg_names = input_arg_names def __call__(sel...
31
101
0.683692
157
1,116
4.503185
0.286624
0.113154
0.091938
0.080622
0.393211
0.268741
0.268741
0.178218
0.178218
0.12447
0
0
0.22043
1,116
36
102
31
0.812644
0.199821
0
0.26087
0
0
0
0
0
0
0
0
0
1
0.391304
false
0
0
0.217391
0.782609
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
26a73ee1ad8fce816b89a620cd83db2775918e4d
354
py
Python
hard-gists/9842903/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
21
2019-07-08T08:26:45.000Z
2022-01-24T23:53:25.000Z
hard-gists/9842903/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
5
2019-06-15T14:47:47.000Z
2022-02-26T05:02:56.000Z
hard-gists/9842903/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
17
2019-05-16T03:50:34.000Z
2021-01-14T14:35:12.000Z
from django.views.generic import TemplateView if settings.DEBUG: # enable local preview of error pages urlpatterns += patterns('', (r'^403/$', TemplateView.as_view(template_name="403.html")), (r'^404/$', TemplateView.as_view(template_name="404.html")), (r'^500/$', TemplateView.as_view...
32.181818
68
0.658192
44
354
5.159091
0.590909
0.185022
0.237885
0.343612
0.396476
0
0
0
0
0
0
0.061433
0.172316
354
11
69
32.181818
0.713311
0.09887
0
0
0
0
0.132075
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
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
1
0
0
0
0
0
0
3
26d0964d29f16c3fe3367e1615a396577eb30743
527
py
Python
Classes.py
max15474/Lesson_9
554c0a542e2a308876aa523369c8ea67168485a2
[ "MIT" ]
null
null
null
Classes.py
max15474/Lesson_9
554c0a542e2a308876aa523369c8ea67168485a2
[ "MIT" ]
null
null
null
Classes.py
max15474/Lesson_9
554c0a542e2a308876aa523369c8ea67168485a2
[ "MIT" ]
null
null
null
class Point: def __init__(self, x, y): self.x = x self.y = y def __str__(self): return f'Точка: ({self.x}, {self.y})' def __add__(self, other): return Point(self.x + other.x, self.y + other.y) def distance(self): return (self.x ** 2 + self.y ** 2) ** 0.5 d...
19.518519
61
0.514231
93
527
2.763441
0.290323
0.116732
0.070039
0
0
0
0
0
0
0
0
0.037135
0.28463
527
26
62
20.269231
0.644562
0
0
0
0
0
0.051233
0
0
0
0
0
0
1
0.263158
false
0
0
0.210526
0.526316
0.263158
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
26dd8130b8930722c7e3143c6c7519fd5744e3bd
1,814
py
Python
hexfarm/gen.py
bhgomes/hexfarm
f5804944fb8a59d15fb5e6666612c74b935e8191
[ "MIT" ]
1
2018-05-30T00:42:45.000Z
2018-05-30T00:42:45.000Z
hexfarm/gen.py
bhgomes/hexfarm
f5804944fb8a59d15fb5e6666612c74b935e8191
[ "MIT" ]
6
2019-04-04T05:24:11.000Z
2020-09-20T18:47:14.000Z
hexfarm/gen.py
bhgomes/hexfarm
f5804944fb8a59d15fb5e6666612c74b935e8191
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # # hexfarm/gen.py # # # MIT License # # Copyright (c) 2018-2019 Brandon Gomes # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including witho...
27.484848
80
0.723264
246
1,814
5.280488
0.54065
0.067744
0.020015
0.027714
0
0
0
0
0
0
0
0.005956
0.167034
1,814
65
81
27.907692
0.853739
0.708931
0
0
0
0
0.026804
0
0
0
0
0
0
1
0
false
0.066667
0.666667
0
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
26e1d5051739702008720bfbad6b3e30046a06e9
164
py
Python
hon/structure/readme.py
swquinn/hon
333332029ee884a8822d38024659d5d7da64ff1a
[ "MIT" ]
null
null
null
hon/structure/readme.py
swquinn/hon
333332029ee884a8822d38024659d5d7da64ff1a
[ "MIT" ]
14
2019-06-23T01:49:55.000Z
2021-02-22T01:26:51.000Z
hon/structure/readme.py
swquinn/hon
333332029ee884a8822d38024659d5d7da64ff1a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ hon.structure.readme ~~~~~ The structure module for parsing the README.md file. """ def parse_readme(app, text): pass
14.909091
56
0.591463
21
164
4.571429
0.809524
0
0
0
0
0
0
0
0
0
0
0.008
0.237805
164
11
57
14.909091
0.76
0.628049
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
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
0
0
0
3
26f4adff86d676b725fdcfdca1ae89254dbdde30
87
py
Python
tools/bin/pythonSrc/pychecker-0.8.18/test_input/import37.py
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
450
2015-09-05T09:12:51.000Z
2018-08-30T01:45:36.000Z
tools/bin/pythonSrc/pychecker-0.8.18/test_input/import37.py
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
1,274
2015-09-22T20:06:16.000Z
2018-08-31T22:14:00.000Z
tools/bin/pythonSrc/pychecker-0.8.18/test_input/import37.py
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
278
2015-09-21T19:15:06.000Z
2018-08-31T00:36:51.000Z
'd' class Test: 'doc' def x(self): import struct print struct
10.875
21
0.505747
11
87
4
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.402299
87
7
22
12.428571
0.846154
0
0
0
0
0
0.045977
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
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
1
0
0
0
0
0
0
0
0
3
f8123c35013b03bf3ffe3a3a4ec12be9ee73f764
2,584
py
Python
ToolsTwitter/preprocess/twitter.py
inspectorgadgetteknofest/inspector-gadget-acikhack2021
026e54f1cdc793f92eb33dcbc212cef6d7655b0a
[ "MIT" ]
null
null
null
ToolsTwitter/preprocess/twitter.py
inspectorgadgetteknofest/inspector-gadget-acikhack2021
026e54f1cdc793f92eb33dcbc212cef6d7655b0a
[ "MIT" ]
null
null
null
ToolsTwitter/preprocess/twitter.py
inspectorgadgetteknofest/inspector-gadget-acikhack2021
026e54f1cdc793f92eb33dcbc212cef6d7655b0a
[ "MIT" ]
1
2021-12-10T18:39:11.000Z
2021-12-10T18:39:11.000Z
import re import os class Twitter(): def __init__(self): pass def removeHastag(self, tweet): """ Remove hastag in a tweet. (Tweet içerisindeki hastag'i kaldırır.) Example: Input: \ttext [string] => "Merhaba #Hello" Ou...
25.087379
132
0.485681
251
2,584
4.956175
0.406375
0.053055
0.054662
0.03135
0.40836
0.283762
0.196141
0.196141
0.196141
0.196141
0
0.001908
0.391641
2,584
102
133
25.333333
0.78944
0.436533
0
0
0
0.111111
0.254237
0.043868
0
0
0
0
0
1
0.277778
false
0.055556
0.111111
0
0.611111
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
f823c93d6bccec2028f60c651c2a80957d6e66fa
57
py
Python
aswan/security/__init__.py
papsebestyen/aswan
ed1b2a3dae6a8b7de355edd75de8d4ad577c97cd
[ "MIT" ]
1
2021-04-28T23:08:07.000Z
2021-04-28T23:08:07.000Z
aswan/security/__init__.py
papsebestyen/aswan
ed1b2a3dae6a8b7de355edd75de8d4ad577c97cd
[ "MIT" ]
1
2022-01-22T22:02:55.000Z
2022-01-22T22:02:55.000Z
aswan/security/__init__.py
papsebestyen/aswan
ed1b2a3dae6a8b7de355edd75de8d4ad577c97cd
[ "MIT" ]
2
2022-01-05T10:01:22.000Z
2022-02-16T10:58:46.000Z
from .proxy_base import NoProxy DEFAULT_PROXY = NoProxy
14.25
31
0.824561
8
57
5.625
0.75
0
0
0
0
0
0
0
0
0
0
0
0.140351
57
3
32
19
0.918367
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f85592d9d2ddfd6e85896942255c8e5ac98e5967
525
py
Python
bert-ranker/experiment/qa/train/no_training.py
UKPLab/emnlp2020-multicqa
9d08a89dba5e51786bb3153ca3733b23006eb628
[ "Apache-2.0" ]
14
2020-09-23T11:47:05.000Z
2022-01-10T07:18:55.000Z
bert-ranker/experiment/qa/train/no_training.py
UKPLab/emnlp2020-multicqa
9d08a89dba5e51786bb3153ca3733b23006eb628
[ "Apache-2.0" ]
1
2020-07-17T07:32:46.000Z
2020-07-17T07:34:19.000Z
bert-ranker/experiment/qa/train/no_training.py
UKPLab/emnlp2020-multicqa
9d08a89dba5e51786bb3153ca3733b23006eb628
[ "Apache-2.0" ]
2
2021-03-05T05:19:10.000Z
2021-09-13T08:26:39.000Z
import tensorflow as tf import experiment class NoTraining(experiment.Training): """This is a replacement component that skips the training process""" def __init__(self, config, config_global, logger): super(NoTraining, self).__init__(config, config_global, logger) def start(self, model, data, ...
22.826087
73
0.708571
62
525
5.790323
0.580645
0.066852
0.100279
0.133705
0
0
0
0
0
0
0
0
0.20381
525
22
74
23.863636
0.858852
0.12
0
0.166667
0
0
0.037281
0
0
0
0
0
0
1
0.333333
false
0.166667
0.166667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
f85cbd43724defb0fe5f52252845c409f39b65ea
329
py
Python
course/TronShow/Domino2/sample.py
playpuppy/course-demo
7dd787a3219f20d9bca8b7c7c2509844e32e35c7
[ "MIT" ]
null
null
null
course/TronShow/Domino2/sample.py
playpuppy/course-demo
7dd787a3219f20d9bca8b7c7c2509844e32e35c7
[ "MIT" ]
null
null
null
course/TronShow/Domino2/sample.py
playpuppy/course-demo
7dd787a3219f20d9bca8b7c7c2509844e32e35c7
[ "MIT" ]
null
null
null
from puppy2d import * setGravity(0, -1) Rectangle(-100, 200, 700, 30, isStatic=True) for i in [-300, -200, -100, 0]: Rectangle(i, 300, 20, 200) Circle(200, 300, 150) Rectangle(0, -200, 1000, 30, isStatic=True) for i in [-400, -300, -200, -100, 0, 100, 200, 300]: Rectangle(i, -100, 20, 200) Circle(-350, 5...
18.277778
52
0.613982
56
329
3.607143
0.428571
0.059406
0.138614
0.168317
0.19802
0.19802
0
0
0
0
0
0.338346
0.191489
329
17
53
19.352941
0.421053
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f87f05fcc3b8372c33c9e29a96d27a78ca11a96a
182
py
Python
problem0579.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0579.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0579.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #579 Lattice points in lattice cubes - Project Euler # https://projecteuler.net/problem=579 # # Code by Kevin Marciniak # ###########################
20.222222
54
0.505495
17
182
5.411765
0.882353
0
0
0
0
0
0
0
0
0
0
0.0375
0.120879
182
8
55
22.75
0.5375
0.615385
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f88630113525150ad6ff4cf3167bea57fc4bf63e
20
py
Python
tests/__init__.py
eladhayun/cinnamon-server
559fb2f41c0d1dd22e3170e29900f4df22107b42
[ "MIT" ]
4
2019-09-03T04:10:55.000Z
2020-10-02T10:14:37.000Z
tests/__init__.py
eladhayun/activity-monitor
559fb2f41c0d1dd22e3170e29900f4df22107b42
[ "MIT" ]
null
null
null
tests/__init__.py
eladhayun/activity-monitor
559fb2f41c0d1dd22e3170e29900f4df22107b42
[ "MIT" ]
null
null
null
__author__ = 'Elad'
10
19
0.7
2
20
5
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.588235
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f88f72dd74d324249a2dd6b2124604809bc7ab37
1,888
py
Python
hd_ansible/migrations/0001_initial.py
Rmond/OperMge
926f00107614ed55b26ff3beac178fe955de856a
[ "Apache-2.0" ]
1
2017-08-18T07:03:34.000Z
2017-08-18T07:03:34.000Z
hd_ansible/migrations/0001_initial.py
Rmond/OperMge
926f00107614ed55b26ff3beac178fe955de856a
[ "Apache-2.0" ]
null
null
null
hd_ansible/migrations/0001_initial.py
Rmond/OperMge
926f00107614ed55b26ff3beac178fe955de856a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-06-01 09:56 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( ...
41.955556
115
0.559852
181
1,888
5.657459
0.364641
0.205078
0.123047
0.164063
0.620117
0.509766
0.441406
0.441406
0.441406
0.441406
0
0.033033
0.294492
1,888
44
116
42.909091
0.735736
0.034958
0
0.5
1
0
0.100282
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.166667
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f8a26ba3748a39af3cf02b5817e00cb98e19b8e6
183
py
Python
03.Complete Python Developer - Zero to Mastery - AN/04.Advanced Python Functional Programming/zip.py
ptyadana/python-dojo
98c7234b84f0afea99a091c7198342d66bbdff5b
[ "MIT" ]
3
2020-06-01T04:17:18.000Z
2020-12-18T03:05:55.000Z
03.Complete Python Developer - Zero to Mastery - AN/04.Advanced Python Functional Programming/zip.py
ptyadana/python-dojo
98c7234b84f0afea99a091c7198342d66bbdff5b
[ "MIT" ]
1
2020-04-25T08:01:59.000Z
2020-04-25T08:01:59.000Z
03.Complete Python Developer - Zero to Mastery - AN/04.Advanced Python Functional Programming/zip.py
ptyadana/python-dojo
98c7234b84f0afea99a091c7198342d66bbdff5b
[ "MIT" ]
7
2020-04-26T10:02:36.000Z
2021-06-08T05:12:46.000Z
#zip my_list = [1,2,3] your_list = [100,200,300] their_list = [1000,2000,3000] print(list(zip(my_list, your_list, their_list))[0][2]) print(list(zip(my_list, your_list, their_list)))
26.142857
54
0.715847
36
183
3.388889
0.444444
0.122951
0.221311
0.229508
0.57377
0.57377
0.57377
0.57377
0.57377
0
0
0.155689
0.087432
183
7
55
26.142857
0.57485
0.016393
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f8aac16af4863d042429c0588ae1998760a8a7ef
10,470
py
Python
api_v3/tests/views/test_subscribers.py
DrWhax/id-backend
603abbf4193591932708313662da9b2811f6867a
[ "MIT" ]
null
null
null
api_v3/tests/views/test_subscribers.py
DrWhax/id-backend
603abbf4193591932708313662da9b2811f6867a
[ "MIT" ]
1
2021-06-10T23:43:34.000Z
2021-06-10T23:43:34.000Z
api_v3/tests/views/test_subscribers.py
DrWhax/id-backend
603abbf4193591932708313662da9b2811f6867a
[ "MIT" ]
null
null
null
import json from django.conf import settings from django.template.loader import render_to_string from api_v3.factories import ( ProfileFactory, TicketFactory, ResponderFactory, SubscriberFactory) from api_v3.factories.support import Faker from api_v3.models import Subscriber, Action from api_v3.serializers import...
33.132911
80
0.63362
1,107
10,470
5.813008
0.112014
0.081585
0.04662
0.067599
0.758819
0.722145
0.701166
0.678011
0.637296
0.625486
0
0.01249
0.250621
10,470
315
81
33.238095
0.807673
0
0
0.544304
0
0
0.072302
0.012607
0
0
0
0
0.147679
1
0.07173
false
0
0.042194
0
0.118143
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
0
0
0
0
0
0
0
0
0
3
3e0aedb8dadd5806fd35f0531765964c7e3e9f93
81
py
Python
examples/develop/lp/002/__init__.py
cr0hn/OMSTD
814eb60e36f2b6693dffa46c24f0bca190ed48c1
[ "BSD-2-Clause" ]
26
2015-01-26T15:34:03.000Z
2021-02-25T03:02:57.000Z
examples/develop/st/003/__init__.py
cr0hn/OMSTD
814eb60e36f2b6693dffa46c24f0bca190ed48c1
[ "BSD-2-Clause" ]
null
null
null
examples/develop/st/003/__init__.py
cr0hn/OMSTD
814eb60e36f2b6693dffa46c24f0bca190ed48c1
[ "BSD-2-Clause" ]
22
2015-01-03T00:27:51.000Z
2021-02-24T18:56:28.000Z
# -*- coding: utf-8 -*- __author__ = 'cr0hn - cr0hn<-at->cr0hn.com (@ggdaniel)'
20.25
55
0.592593
10
81
4.4
0.8
0
0
0
0
0
0
0
0
0
0
0.057971
0.148148
81
3
56
27
0.57971
0.259259
0
0
0
0
0.689655
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3e13d9f04c5b9e380942a3048140fa5f7f9bee3d
919
py
Python
patterns/creational/factory_method.py
zhaijingrong/patterns_in_python
8cb53a58cbb78dc7ed578887a8e7c481cfa72c80
[ "MIT" ]
null
null
null
patterns/creational/factory_method.py
zhaijingrong/patterns_in_python
8cb53a58cbb78dc7ed578887a8e7c481cfa72c80
[ "MIT" ]
null
null
null
patterns/creational/factory_method.py
zhaijingrong/patterns_in_python
8cb53a58cbb78dc7ed578887a8e7c481cfa72c80
[ "MIT" ]
null
null
null
""" 抽象工厂方法--对象创建型模式 1. 目标 定义一个用于创建对象的接口, 让子类决定实例化哪一个类, 使一个类的实例化延迟到子类。 """ class CakeFactory(object): def make_cake(self): print('make a cake') class CreamCakeFactory(CakeFactory): def make_cake(self): print('make a cream cake') return CreamCake() class FruitCakeFactory(CakeFactory...
19.145833
47
0.671382
112
919
5.178571
0.267857
0.093103
0.056897
0.077586
0.387931
0.305172
0.305172
0.22069
0
0
0
0.001408
0.227421
919
48
48
19.145833
0.815493
0.071817
0
0.222222
0
0
0.126627
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.62963
0.185185
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3e3bf58cf5c34f249c2596d9cc528ff41686bfa7
286
py
Python
tbans/consts/iid_error.py
BookWorm0103/the-blue-alliance
39b2f33531308b19218d58c726d51f020ee9d8b5
[ "MIT" ]
null
null
null
tbans/consts/iid_error.py
BookWorm0103/the-blue-alliance
39b2f33531308b19218d58c726d51f020ee9d8b5
[ "MIT" ]
null
null
null
tbans/consts/iid_error.py
BookWorm0103/the-blue-alliance
39b2f33531308b19218d58c726d51f020ee9d8b5
[ "MIT" ]
null
null
null
class IIDError: INTERNAL_ERROR = 'internal-error' UNKNOWN_ERROR = 'unknown-error' ERROR_CODES = { 400: 'invalid-argument', 401: 'authentication-error', 403: 'authentication-error', 500: INTERNAL_ERROR, 503: 'server-unavailable' }
26
37
0.611888
27
286
6.333333
0.592593
0.22807
0.19883
0
0
0
0
0
0
0
0
0.072115
0.272727
286
10
38
28.6
0.75
0
0
0
0
0
0.353147
0
0
0
0
0
0
1
0
false
0
0
0
0.4
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3