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
fbbc5bc86a9eadd44aae5283b14050fa183a3292
118
py
Python
frontend/backend/home/urls.py
OnlinePoliticalTransparency/Facebook-Political-Ad-Landscape-Notifications
e69637584ba89ef86256ff10906dde10dda5720d
[ "MIT" ]
null
null
null
frontend/backend/home/urls.py
OnlinePoliticalTransparency/Facebook-Political-Ad-Landscape-Notifications
e69637584ba89ef86256ff10906dde10dda5720d
[ "MIT" ]
3
2021-06-05T00:09:26.000Z
2021-09-08T03:00:03.000Z
frontend/backend/home/urls.py
OnlinePoliticalTransparency/Facebook-Political-Ad-Landscape-Notifications
e69637584ba89ef86256ff10906dde10dda5720d
[ "MIT" ]
null
null
null
from django.urls import re_path from .views import home urlpatterns = [ re_path(r"^.*?$", home, name="home"), ]
14.75
41
0.652542
17
118
4.411765
0.647059
0.16
0
0
0
0
0
0
0
0
0
0
0.177966
118
7
42
16.857143
0.773196
0
0
0
0
0
0.076271
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
fbcb6f03ed76192bc196a020a804f1c7c87687b8
212
py
Python
mailer.py
milles9393/deploy-python-openshift-s2i-tutorial
790d1c966799bd5fb77d5499b9250d36dd683bd3
[ "Apache-2.0" ]
null
null
null
mailer.py
milles9393/deploy-python-openshift-s2i-tutorial
790d1c966799bd5fb77d5499b9250d36dd683bd3
[ "Apache-2.0" ]
null
null
null
mailer.py
milles9393/deploy-python-openshift-s2i-tutorial
790d1c966799bd5fb77d5499b9250d36dd683bd3
[ "Apache-2.0" ]
null
null
null
x = 1 if x == 1: # indented four spaces print("x is ASDJASJDJAJSAJD JASJD ASJD JASJD JASDJ AJSDJ ASJD JASJD JASJD JASJD AJS DJASJD JASJD JASDJ AJSD JASJD JSADJ ASJD JASD AJSD JASJD JASD AJSDJ ASJD JA1.")
42.4
167
0.735849
36
212
4.333333
0.527778
0.025641
0
0
0
0
0
0
0
0
0
0.018072
0.216981
212
4
168
53
0.921687
0.09434
0
0
0
0.333333
0.810526
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fbdacbed2b7247f89afd87222786ee4beeedec22
5,275
py
Python
scripts/word_count_cli.py
b-cube/Response-Identification-Info
d2fa24c9f0d7db7d8bbf5cda937e1a9dd29a8f6e
[ "MIT" ]
null
null
null
scripts/word_count_cli.py
b-cube/Response-Identification-Info
d2fa24c9f0d7db7d8bbf5cda937e1a9dd29a8f6e
[ "MIT" ]
1
2015-09-23T16:30:34.000Z
2015-09-23T16:30:34.000Z
scripts/word_count_cli.py
b-cube/Response-Identification-Info
d2fa24c9f0d7db7d8bbf5cda937e1a9dd29a8f6e
[ "MIT" ]
1
2020-03-25T09:41:03.000Z
2020-03-25T09:41:03.000Z
# -*- coding: utf-8 -*- from optparse import OptionParser import sys import re import dateutil.parser as dateparser from itertools import chain from semproc.bag_parser import BagParser from semproc.nlp_utils import * import warnings warnings.filterwarnings('ignore') ''' a little cli for the bag of words count to ha...
45.08547
2,016
0.590711
1,044
5,275
2.941571
0.444444
0.005861
0.007815
0.009118
0.413546
0.413546
0.391403
0.391403
0.391403
0.388147
0
0.009872
0.155071
5,275
116
2,017
45.474138
0.678708
0.052133
0
0.069444
0
0.055556
0.499374
0.436614
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
fbdd78b74ab21c393da357de8b1428e7084fcddd
3,507
py
Python
apps/users_auth/models.py
matheuslins/cuzjobs
0f46402d534fefaef394ccd09b454fe361bb36f2
[ "MIT" ]
1
2018-07-10T20:30:52.000Z
2018-07-10T20:30:52.000Z
apps/users_auth/models.py
matheuslins/cuscuzjobs
0f46402d534fefaef394ccd09b454fe361bb36f2
[ "MIT" ]
10
2019-04-25T00:01:29.000Z
2021-04-08T18:52:52.000Z
apps/users_auth/models.py
matheuslins/cuzjobs
0f46402d534fefaef394ccd09b454fe361bb36f2
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.db import models from django.contrib.auth.models import (BaseUserManager, AbstractBaseUser, PermissionsMixin) from apps.company.models import Company class UserManager(BaseUserManager): use_in_migrations = True def ...
29.225
82
0.654691
424
3,507
5.191038
0.29717
0.059973
0.031804
0.038619
0.418901
0.345298
0.314403
0.252612
0.212631
0.173557
0
0.002258
0.242372
3,507
119
83
29.470588
0.82612
0.043342
0
0.283951
0
0
0.113213
0.006607
0
0
0
0
0
1
0.17284
false
0.074074
0.049383
0.135802
0.641975
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
fbde16f3927c21c313b52510a2af057e25f535cb
9,548
py
Python
mtda/client.py
hkoturap/mtda
9cd55dfd40a2fcb14c5bd31daf86d40ca0011e43
[ "MIT" ]
null
null
null
mtda/client.py
hkoturap/mtda
9cd55dfd40a2fcb14c5bd31daf86d40ca0011e43
[ "MIT" ]
null
null
null
mtda/client.py
hkoturap/mtda
9cd55dfd40a2fcb14c5bd31daf86d40ca0011e43
[ "MIT" ]
null
null
null
# --------------------------------------------------------------------------- # MTDA Client # --------------------------------------------------------------------------- # # This software is a part of MTDA. # Copyright (c) Mentor, a Siemens business, 2017-2020 # # -------------------------------------------------------...
30.504792
79
0.601906
1,140
9,548
4.821053
0.177193
0.074236
0.10444
0.078603
0.341157
0.191776
0.134825
0.110444
0.050582
0.02147
0
0.004942
0.27943
9,548
312
80
30.602564
0.793895
0.090595
0
0.205607
0
0
0.008778
0.002426
0
0
0
0
0
1
0.252336
false
0
0.03271
0.224299
0.560748
0.009346
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
8372496172d5eaf9434580da17e0cef12cfad314
293
py
Python
hello.py
SaraWestWA/TwitOff_SW
61ce9254aaffc3d180b6b85a9482ec5923f6062c
[ "MIT" ]
null
null
null
hello.py
SaraWestWA/TwitOff_SW
61ce9254aaffc3d180b6b85a9482ec5923f6062c
[ "MIT" ]
null
null
null
hello.py
SaraWestWA/TwitOff_SW
61ce9254aaffc3d180b6b85a9482ec5923f6062c
[ "MIT" ]
null
null
null
from flask import Flask app = Flask(__name__) @app.route('/') def index(): return 'Index Page' @app.route('/hello') def hello_world(): return 'Hello, World!' @app.route('/new') def new(): return 'Hello, Brave New World!' if __name__ == "__main__": app.run(debug=True)
12.73913
36
0.627986
40
293
4.275
0.475
0.140351
0
0
0
0
0
0
0
0
0
0
0.194539
293
23
37
12.73913
0.724576
0
0
0
0
0
0.221088
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.230769
0.538462
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
837e898a06ea09978f922db71a0f69d201906c48
12,327
py
Python
autofile/data_types/name.py
lpratalimaffei/autofile
3dae8777473272662acf68a7106d2e1bf4555a00
[ "Apache-2.0" ]
null
null
null
autofile/data_types/name.py
lpratalimaffei/autofile
3dae8777473272662acf68a7106d2e1bf4555a00
[ "Apache-2.0" ]
null
null
null
autofile/data_types/name.py
lpratalimaffei/autofile
3dae8777473272662acf68a7106d2e1bf4555a00
[ "Apache-2.0" ]
8
2019-12-24T20:23:39.000Z
2021-01-04T19:30:37.000Z
""" file namers """ class Extension(): """ file extensions """ INFORMATION = '.yaml' INPUT_LOG = '.inp' OUTPUT_LOG = '.out' PROJROT_LOG = '.prot' TEMPLATE = '.temp' SHELL_SCRIPT = '.sh' ENERGY = '.ene' GEOMETRY = '.xyz' TRAJECTORY = '.t.xyz' ZMATRIX = '.zmat' VMATRIX = ...
24.506958
72
0.688813
1,602
12,327
5.074282
0.078652
0.16435
0.082667
0.103334
0.702423
0.683725
0.679419
0.679419
0.679419
0.679419
0
0
0.221708
12,327
502
73
24.555777
0.8473
0.479679
0
0.015625
0
0
0.040474
0
0
0
0
0
0
1
0.328125
false
0
0
0
0.984375
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
838471e060a16f83d890f8cc7f90990275c19564
79
py
Python
exercicios_curso_em_video/Exercicio 16.py
Sposigor/Caminho_do_Python
e84d74e9dc89c0966f931a94cb9ebe3ee4671b6d
[ "MIT" ]
1
2021-01-13T18:07:46.000Z
2021-01-13T18:07:46.000Z
exercicios_curso_em_video/Exercicio 16.py
Sposigor/Caminho_do_Python
e84d74e9dc89c0966f931a94cb9ebe3ee4671b6d
[ "MIT" ]
null
null
null
exercicios_curso_em_video/Exercicio 16.py
Sposigor/Caminho_do_Python
e84d74e9dc89c0966f931a94cb9ebe3ee4671b6d
[ "MIT" ]
null
null
null
N = float(input('Número: ')) print(f'A porção do número inteiro {N} é {N:.0f}')
39.5
50
0.632911
15
79
3.333333
0.8
0
0
0
0
0
0
0
0
0
0
0.014706
0.139241
79
2
50
39.5
0.720588
0
0
0
0
0
0.6
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
8388818c8bceeff6a45eea8ba64a9e8b27daa733
959
py
Python
src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/spinnman/messages/scp/impl/scp_read_adc_request.py
Roboy/LSM_SpiNNaker_MyoArm
04fa1eaf78778edea3ba3afa4c527d20c491718e
[ "BSD-3-Clause" ]
2
2020-11-01T13:22:11.000Z
2020-11-01T13:22:20.000Z
src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/spinnman/messages/scp/impl/scp_read_adc_request.py
Roboy/LSM_SpiNNaker_MyoArm
04fa1eaf78778edea3ba3afa4c527d20c491718e
[ "BSD-3-Clause" ]
null
null
null
src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/spinnman/messages/scp/impl/scp_read_adc_request.py
Roboy/LSM_SpiNNaker_MyoArm
04fa1eaf78778edea3ba3afa4c527d20c491718e
[ "BSD-3-Clause" ]
null
null
null
""" ScpReadAdcRequest """ from spinnman.messages.scp.abstract_messages.abstract_scp_bmp_request import \ AbstractSCPBMPRequest from spinnman.messages.scp.impl.scp_read_adc_response import SCPReadADCResponse from spinnman.messages.scp.scp_command import SCPCommand from spinnman.messages.scp.scp_request_header import...
29.96875
79
0.716371
102
959
6.480392
0.421569
0.090772
0.151286
0.173979
0.118003
0
0
0
0
0
0
0.001318
0.208551
959
31
80
30.935484
0.869565
0.187696
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.357143
0
0.642857
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
838906cc75735519a9d7bd46a8e6df6afa5400bc
146
py
Python
rainforest/apibits/api_endpoint.py
apibitsco/rainforestapp-python
426245fdb93748d4c2a6f3f12bcce3af20320137
[ "MIT" ]
1
2016-10-25T18:47:55.000Z
2016-10-25T18:47:55.000Z
rainforest/apibits/api_endpoint.py
apibitsco/rainforestapp-python
426245fdb93748d4c2a6f3f12bcce3af20320137
[ "MIT" ]
6
2015-10-15T11:27:42.000Z
2019-01-31T10:12:42.000Z
rainforest/apibits/api_endpoint.py
rainforestapp/rainforest-python
c0e5c5dba55c000ee6f92ae5fc9db5f90e415500
[ "MIT" ]
null
null
null
class ApiEndpoint(object): client = None parent = None def __init__(self, client, parent=None): self.client = client self.parent = parent
18.25
41
0.719178
19
146
5.315789
0.473684
0.19802
0
0
0
0
0
0
0
0
0
0
0.178082
146
7
42
20.857143
0.841667
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
839613063e9eded6df6352827880762c52e31454
237
py
Python
starter_kits/ml/SVM/train.py
johnnykwwang/Halite-III
dd16463f1f13d652e7172e82687136f2217bb427
[ "MIT" ]
2
2018-11-15T14:04:26.000Z
2018-11-19T01:54:01.000Z
starter_kits/ml/SVM/train.py
johnnykwwang/Halite-III
dd16463f1f13d652e7172e82687136f2217bb427
[ "MIT" ]
5
2021-02-08T20:26:47.000Z
2022-02-26T04:28:33.000Z
starter_kits/ml/SVM/train.py
johnnykwwang/Halite-III
dd16463f1f13d652e7172e82687136f2217bb427
[ "MIT" ]
1
2018-11-22T14:58:12.000Z
2018-11-22T14:58:12.000Z
#!/usr/bin/env python3 import model m = model.HaliteModel() m.train_on_files('training', 'aggressive') m.save(file_name='aggressive.svc') m = model.HaliteModel() m.train_on_files('training', 'passive') m.save(file_name='passive.svc')
19.75
42
0.738397
36
237
4.694444
0.5
0.071006
0.201183
0.213018
0.449704
0.449704
0.449704
0.449704
0
0
0
0.004587
0.080169
237
11
43
21.545455
0.770642
0.088608
0
0.285714
0
0
0.269767
0
0
0
0
0
0
1
0
false
0.285714
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
0
1
0
0
0
0
0
3
83a53e469c6ba9bb86608d4d3d1a78b7573c7baf
62
py
Python
app/defaults/Bootstrapped_Thompson_Sampling/get_context.py
bartfrenk/streamingbandit
4237a05b439c2c12912e813f0b76ccf8af382aef
[ "MIT" ]
64
2017-05-21T06:08:57.000Z
2022-01-25T14:44:54.000Z
app/defaults/Bootstrapped_Thompson_Sampling/get_context.py
bartfrenk/streamingbandit
4237a05b439c2c12912e813f0b76ccf8af382aef
[ "MIT" ]
76
2017-05-04T10:30:59.000Z
2020-05-07T06:43:03.000Z
app/defaults/Bootstrapped_Thompson_Sampling/get_context.py
bartfrenk/streamingbandit
4237a05b439c2c12912e813f0b76ccf8af382aef
[ "MIT" ]
12
2017-05-04T13:10:23.000Z
2020-02-22T17:12:49.000Z
self.context["customer"] = random.choice(["new", "returning"])
62
62
0.693548
7
62
6.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.048387
62
1
62
62
0.728814
0
0
0
0
0
0.31746
0
0
0
0
0
0
1
0
true
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
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
83a598cf7477bd6af446480fe6bb3abce321f289
279
tac
Python
semantics_and_generate/samples/op10.tac
AHEADer/my_decaf_compiler
42ba9f140c5fda3cd2b4fdb727745d2cfd39c923
[ "MIT" ]
1
2018-01-03T03:35:38.000Z
2018-01-03T03:35:38.000Z
semantics_and_generate/samples/op10.tac
AHEADer/my_decaf_compiler
42ba9f140c5fda3cd2b4fdb727745d2cfd39c923
[ "MIT" ]
null
null
null
semantics_and_generate/samples/op10.tac
AHEADer/my_decaf_compiler
42ba9f140c5fda3cd2b4fdb727745d2cfd39c923
[ "MIT" ]
null
null
null
main: BeginFunc 32 ; _tmp0 = 5 ; _tmp1 = 0 ; _tmp2 = _tmp1 - _tmp0 ; PushParam _tmp2 ; LCall _PrintInt ; PopParams 4 ; _tmp3 = 9 ; _tmp4 = 0 ; _tmp5 = _tmp4 - _tmp3 ; _tmp6 = 0 ; _tmp7 = _tmp6 - _tmp5 ; PushParam _tmp7 ; LCall _PrintInt ; PopParams 4 ; EndFunc ;
15.5
24
0.620072
35
279
4.428571
0.571429
0.167742
0.283871
0.296774
0
0
0
0
0
0
0
0.124378
0.27957
279
17
25
16.411765
0.646766
0
0
0.235294
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
83a5dbde21176916cb810826ae29aaf5f719e822
270
py
Python
pyzshcomplete/adapters/base/__init__.py
marble/pyzshcomplete
c7896c8db3d753fb41fd1de403d9feaf2a3bae1e
[ "MIT" ]
14
2020-05-23T01:52:53.000Z
2021-09-21T16:41:01.000Z
pyzshcomplete/adapters/base/__init__.py
marble/pyzshcomplete
c7896c8db3d753fb41fd1de403d9feaf2a3bae1e
[ "MIT" ]
35
2020-03-13T22:46:59.000Z
2021-09-17T02:48:34.000Z
pyzshcomplete/adapters/base/__init__.py
marble/pyzshcomplete
c7896c8db3d753fb41fd1de403d9feaf2a3bae1e
[ "MIT" ]
1
2021-09-10T09:25:23.000Z
2021-09-10T09:25:23.000Z
''' This package serves two purposes: 1. Define the interface for different parser adapters to implement. 2. Implement the completion generation logic based on the defined interface. Other packages should subclass the supplied classes and implement the interface. '''
30
80
0.803704
37
270
5.864865
0.783784
0.110599
0
0
0
0
0
0
0
0
0
0.008734
0.151852
270
8
81
33.75
0.938865
0.966667
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
83e059243d00d20cac7b116e62ce3fb5e37f9565
3,179
py
Python
integration-test/1813-landcover-landuse-zoom-9.py
rinnyB/vector-datasource
024909ed8245a4ad4a25c908413ba3602de6c335
[ "MIT" ]
null
null
null
integration-test/1813-landcover-landuse-zoom-9.py
rinnyB/vector-datasource
024909ed8245a4ad4a25c908413ba3602de6c335
[ "MIT" ]
2
2021-03-31T20:22:37.000Z
2021-12-13T20:50:11.000Z
integration-test/1813-landcover-landuse-zoom-9.py
rinnyB/vector-datasource
024909ed8245a4ad4a25c908413ba3602de6c335
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- from . import FixtureTest class LandcoverTest(FixtureTest): def _starts_at(self, zoom, props): import dsl all_props = {'source': 'openstreetmap.org'} all_props.update(props) # biggest polygon possible - covering the whole world - should be # vis...
32.111111
73
0.614973
429
3,179
4.337995
0.207459
0.141859
0.206341
0.188608
0.495433
0.470177
0.455132
0.455132
0.455132
0.455132
0
0.025608
0.262976
3,179
98
74
32.438776
0.768673
0.258572
0
0
0
0
0.133676
0
0
0
0
0
0.019608
1
0.392157
false
0
0.039216
0
0.45098
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
83e7094dabea9b50e718c6aebdb793ee58a18515
10,839
py
Python
docs/build/Pygments/tests/examplefiles/output/linecontinuation.py
mjtamlyn/django-braces
8adc9bc4f5139e3d032d4e38657bf86413388b78
[ "BSD-3-Clause" ]
1
2015-03-22T16:49:07.000Z
2015-03-22T16:49:07.000Z
docs/build/Pygments/tests/examplefiles/output/linecontinuation.py
mjtamlyn/django-braces
8adc9bc4f5139e3d032d4e38657bf86413388b78
[ "BSD-3-Clause" ]
null
null
null
docs/build/Pygments/tests/examplefiles/output/linecontinuation.py
mjtamlyn/django-braces
8adc9bc4f5139e3d032d4e38657bf86413388b78
[ "BSD-3-Clause" ]
null
null
null
(lp1 (ccopy_reg _reconstructor p2 (cpygments.token _TokenType p3 c__builtin__ tuple p4 (S'Name' p5 ttRp6 (dp7 S'Function' p8 g2 (g3 g4 (g5 g8 ttRp9 (dp10 S'subtypes' p11 c__builtin__ set p12 ((ltRp13 sS'parent' p14 g6 sbsS'Exception' p15 g2 (g3 g4 (g5 g15 ttRp16 (dp17 g11 g12 ((ltRp18 sg14 g6 sbsS'Tag' p19 g2 (g3 g4 (g...
5.833692
22
0.741581
2,150
10,839
3.731628
0.414419
0.043375
0.061324
0.0349
0.09398
0.009473
0.004986
0
0
0
0
0.444683
0.181936
10,839
1,858
23
5.833692
0.460133
0
0
0.533369
0
0
0.046863
0
0
0
0
0
0
0
null
null
0.002691
0.002153
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
83f970444a450fdb66171abff201d31113587318
499
py
Python
password_policies/tests/views.py
myecoach/django-password-policies-iplweb
7127424b31facc4b8df6dade7a9b938351a688a9
[ "BSD-3-Clause" ]
37
2015-02-10T21:39:58.000Z
2021-02-25T01:26:43.000Z
password_policies/tests/views.py
myecoach/django-password-policies-iplweb
7127424b31facc4b8df6dade7a9b938351a688a9
[ "BSD-3-Clause" ]
39
2015-01-24T14:24:24.000Z
2021-01-02T19:29:33.000Z
password_policies/tests/views.py
myecoach/django-password-policies-iplweb
7127424b31facc4b8df6dade7a9b938351a688a9
[ "BSD-3-Clause" ]
66
2015-01-21T18:56:26.000Z
2021-07-19T04:09:53.000Z
from django.http import HttpResponse from django.views.generic.base import View from django.contrib.auth.decorators import login_required from django.utils.decorators import method_decorator class TestHomeView(View): def get(self, request): return HttpResponse('<html><head><title>Home</title></head><body>...
35.642857
104
0.739479
64
499
5.703125
0.546875
0.109589
0
0
0
0
0
0
0
0
0
0
0.126253
499
13
105
38.384615
0.837156
0
0
0
0
0.1
0.146293
0.146293
0
0
0
0
0
1
0.2
false
0
0.4
0.2
0.9
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
83fff08f846096a24b5bba244ce1c6f0246bb3f8
212
py
Python
doc/cellprofiler/RunImageJMacroWorkflow/test_ball_macro.py
karlduderstadt/pyimagej
4585f42cdbf427e43b11bdcb5b39d850d8ba5226
[ "Apache-2.0" ]
27
2018-04-08T00:37:33.000Z
2018-11-21T19:43:44.000Z
doc/cellprofiler/RunImageJMacroWorkflow/test_ball_macro.py
karlduderstadt/pyimagej
4585f42cdbf427e43b11bdcb5b39d850d8ba5226
[ "Apache-2.0" ]
13
2018-06-07T15:40:39.000Z
2018-11-27T15:18:08.000Z
doc/cellprofiler/RunImageJMacroWorkflow/test_ball_macro.py
karlduderstadt/pyimagej
4585f42cdbf427e43b11bdcb5b39d850d8ba5226
[ "Apache-2.0" ]
8
2018-03-15T22:33:51.000Z
2018-10-30T13:49:55.000Z
#@String directory from ij import IJ import os im = IJ.open(os.path.join(directory, 'dummy.tiff')) IJ.run(im, "Subtract Background...", "rolling=50") IJ.saveAs(im,'tiff',os.path.join(directory,'backsub.tiff'))
23.555556
59
0.712264
34
212
4.441176
0.558824
0.10596
0.13245
0.251656
0
0
0
0
0
0
0
0.010363
0.089623
212
8
60
26.5
0.772021
0.080189
0
0
0
0
0.298969
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f7aed22c34587ace14e645533078a00fd5fbb42a
638
py
Python
generic_request_signer/backend.py
imtapps/generic-request-signer
34c18856ffda6305bd4cd931bd20365bf161d1de
[ "BSD-2-Clause" ]
null
null
null
generic_request_signer/backend.py
imtapps/generic-request-signer
34c18856ffda6305bd4cd931bd20365bf161d1de
[ "BSD-2-Clause" ]
6
2016-01-07T19:16:43.000Z
2022-02-09T19:22:29.000Z
generic_request_signer/backend.py
imtapps/generic-request-signer
34c18856ffda6305bd4cd931bd20365bf161d1de
[ "BSD-2-Clause" ]
5
2016-01-04T15:06:34.000Z
2016-08-22T17:28:18.000Z
class BasicSettingsApiCredentialsBackend(object): CLIENT_ERROR_MESSAGE = "Client implementations must define a `{0}` attribute" CLIENT_SETTINGS_ERROR_MESSAGE = "Settings must contain a `{0}` attribute" def __init__(self, client): self.client = client @property def base_url(self): ...
27.73913
81
0.710031
75
638
5.72
0.4
0.09324
0.097902
0.118881
0.167832
0
0
0
0
0
0
0.003945
0.205329
638
22
82
29
0.842209
0
0
0.1875
0
0
0.249216
0.075235
0
0
0
0
0
1
0.3125
false
0
0
0.1875
0.6875
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
f7b61528710fc037120f500c92118d78c6a1e5fb
5,755
py
Python
Urbanization/GOST_Urban/Urban/testingGEE.py
ramarty/GOST_PublicGoods
de9cf36e37208eaf69253e784833990ceeb1058a
[ "MIT" ]
40
2018-03-13T13:47:36.000Z
2022-02-17T13:17:32.000Z
Urbanization/GOST_Urban/Urban/testingGEE.py
ramarty/GOST_PublicGoods
de9cf36e37208eaf69253e784833990ceeb1058a
[ "MIT" ]
11
2018-07-30T20:17:13.000Z
2020-08-13T20:30:20.000Z
Urbanization/GOST_Urban/Urban/testingGEE.py
ramarty/GOST_PublicGoods
de9cf36e37208eaf69253e784833990ceeb1058a
[ "MIT" ]
14
2018-08-14T07:47:56.000Z
2021-11-23T11:07:56.000Z
###TESTING GEE import os, sys, inspect, argparse, logging, shutil, re, geojson import ee ee.Initialize() #Initialize the ee object, but this requires work the first time through # https://developers.google.com/earth-engine/python_install import geopandas as gpd import pandas as pd try: from gbdxt...
32.514124
147
0.636664
679
5,755
5.318115
0.349043
0.016616
0.0144
0.00997
0.111327
0.075325
0.075325
0.075325
0.075325
0.024924
0
0.014873
0.252302
5,755
177
148
32.514124
0.824309
0.031798
0
0.195652
0
0
0.111354
0.093341
0
0
0
0
0
0
null
null
0.065217
0.391304
null
null
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
1
0
0
0
0
3
f7beced02fb0365466d3ca8740264f8e4da98dbf
339
py
Python
devind_helpers/import_from_file/__init__.py
devind-team/devind-django-helpers
5c64d46a12802bbe0b70e44aa9d19bf975511b6e
[ "MIT" ]
null
null
null
devind_helpers/import_from_file/__init__.py
devind-team/devind-django-helpers
5c64d46a12802bbe0b70e44aa9d19bf975511b6e
[ "MIT" ]
4
2022-02-18T09:24:05.000Z
2022-03-31T16:46:29.000Z
devind_helpers/import_from_file/__init__.py
devind-team/devind-django-helpers
5c64d46a12802bbe0b70e44aa9d19bf975511b6e
[ "MIT" ]
null
null
null
from .base_reader import BaseReader from .csv_reader import CsvReader from .excel_reader import ExcelReader from .exceptions import HookException, HookItemException, ItemsException from .import_from_file import Errors, ItemError, Relative, BeforeCreate, Created, ImportFromFile from .json_reader import JsonReader from ....
42.375
96
0.855457
41
339
6.926829
0.560976
0.169014
0
0
0
0
0
0
0
0
0
0
0.103245
339
7
97
48.428571
0.934211
0
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
f7cbb841a96dd53bacc653f43012ce0d113be20e
190
py
Python
vyc.py
yueiuieui/vpy_inside
d6c3ee6741f9fb10ee743fb8041a2fc649c263b4
[ "MIT" ]
null
null
null
vyc.py
yueiuieui/vpy_inside
d6c3ee6741f9fb10ee743fb8041a2fc649c263b4
[ "MIT" ]
null
null
null
vyc.py
yueiuieui/vpy_inside
d6c3ee6741f9fb10ee743fb8041a2fc649c263b4
[ "MIT" ]
null
null
null
from standard import * vout("------vy compiler ------") cp=vin("> ") with open(cp+'.vy','r') as f: temp=f.read() write_file('temp.py','w','from standard import *\n'+temp) run('temp.py')
23.75
57
0.584211
31
190
3.548387
0.677419
0.218182
0.327273
0
0
0
0
0
0
0
0
0
0.121053
190
7
58
27.142857
0.658683
0
0
0
0
0
0.363158
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f7d1aa5dc0cace475feaceadb6ba33f944eeecb2
128
py
Python
util/text_utils.py
lpmi-13/pypobot
cc481039c0a933e8683342b654d1d319d4ca6687
[ "MIT" ]
1
2017-06-18T10:33:37.000Z
2017-06-18T10:33:37.000Z
util/text_utils.py
lpmi-13/pypobot
cc481039c0a933e8683342b654d1d319d4ca6687
[ "MIT" ]
9
2017-06-21T19:13:11.000Z
2018-08-10T21:42:04.000Z
util/text_utils.py
lpmi-13/pypobot
cc481039c0a933e8683342b654d1d319d4ca6687
[ "MIT" ]
null
null
null
import re def an_finder(text): pattern = re.compile(' an an ') result = pattern.search(text) return result.group()
18.285714
35
0.65625
18
128
4.611111
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.21875
128
6
36
21.333333
0.83
0
0
0
0
0
0.054688
0
0
0
0
0
0
1
0.2
false
0
0.2
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
0
0
1
0
0
3
f7e117b4b50e223e09f1b60dfe0afcaaf667f617
137
py
Python
AoC/dec2018/d1/a.py
zegabr/aoc
ac750781339bd50491d84617996a01dd0c4709bb
[ "MIT" ]
null
null
null
AoC/dec2018/d1/a.py
zegabr/aoc
ac750781339bd50491d84617996a01dd0c4709bb
[ "MIT" ]
null
null
null
AoC/dec2018/d1/a.py
zegabr/aoc
ac750781339bd50491d84617996a01dd0c4709bb
[ "MIT" ]
null
null
null
import sys a=sys.stdin.read().split() #print(a) #f = open("i.txt",'r') #a=f.read().split() sum=0 for i in a: sum+=int(i) print (sum)
13.7
26
0.583942
29
137
2.758621
0.586207
0.225
0
0
0
0
0
0
0
0
0
0.008547
0.145985
137
9
27
15.222222
0.675214
0.343066
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
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
f7e6c12048a8e33ff8fce444fc0f763795d3c5b4
275
py
Python
Python_Codes_for_BJ/stage07 문자열 사용하기/다이얼.py
ch96an/BaekJoonSolution
25594fda5ba1c0c4d26ff0828ec8dcf2f6572d33
[ "MIT" ]
null
null
null
Python_Codes_for_BJ/stage07 문자열 사용하기/다이얼.py
ch96an/BaekJoonSolution
25594fda5ba1c0c4d26ff0828ec8dcf2f6572d33
[ "MIT" ]
null
null
null
Python_Codes_for_BJ/stage07 문자열 사용하기/다이얼.py
ch96an/BaekJoonSolution
25594fda5ba1c0c4d26ff0828ec8dcf2f6572d33
[ "MIT" ]
null
null
null
dial = {'A': 2, 'B': 2, 'C': 2, 'D': 3, 'E': 3, 'F': 3, 'G': 4, 'H': 4, 'I': 4, 'J': 5, 'K': 5, 'L': 5, 'M': 6, 'N': 6, 'O': 6, 'P': 7, 'Q': 7, 'R': 7, 'T': 8, 'U': 8, 'V': 8, 'W': 9, 'X': 9, 'Y': 9, 'S': 7, 'Z': 9} n, s = 0, input() for c in s: n += dial[c] print(n+len(s))
55
215
0.316364
68
275
1.279412
0.602941
0
0
0
0
0
0
0
0
0
0
0.129808
0.243636
275
5
216
55
0.288462
0
0
0
0
0
0.094203
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f7f4d32b0d4c21102074690da7e79ca0ebfccf27
38
py
Python
workflowV2/__init__.py
neal-p/workflow2.0
65a71754310051ddb3fd4338ff579c499608a483
[ "MIT" ]
null
null
null
workflowV2/__init__.py
neal-p/workflow2.0
65a71754310051ddb3fd4338ff579c499608a483
[ "MIT" ]
1
2021-07-22T15:19:58.000Z
2021-07-22T15:19:58.000Z
workflowV2/__init__.py
neal-p/workflowV2
65a71754310051ddb3fd4338ff579c499608a483
[ "MIT" ]
null
null
null
__logfile__ = None __logging__ = True
12.666667
18
0.789474
4
38
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
38
2
19
19
0.6875
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
f7ff2b88a5f2e3746635f10ada3446d842d5baea
1,248
py
Python
tests/test_openwebifpy.py
fbradyirl/openwebifpy
e40454fbf6e67568a032c67700818aaf6d8e81df
[ "MIT" ]
5
2019-04-07T09:37:37.000Z
2021-12-01T11:30:23.000Z
tests/test_openwebifpy.py
fbradyirl/openwebifpy
e40454fbf6e67568a032c67700818aaf6d8e81df
[ "MIT" ]
6
2019-03-01T16:16:17.000Z
2021-05-21T14:52:06.000Z
tests/test_openwebifpy.py
fbradyirl/openwebifpy
e40454fbf6e67568a032c67700818aaf6d8e81df
[ "MIT" ]
1
2020-11-13T14:42:02.000Z
2020-11-13T14:42:02.000Z
""" tests.test_api ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tests the api Copyright (c) 2015 Finbarr Brady <https://github.com/fbradyirl> Licensed under the MIT license. """ # pylint: disable=protected-access import unittest import openwebif.api from openwebif.error import OpenWebIfError, MissingParamError class TestAP...
32
93
0.66266
150
1,248
5.42
0.573333
0.088561
0.118081
0.073801
0
0
0
0
0
0
0
0.01592
0.194712
1,248
38
94
32.842105
0.793035
0.610577
0
0
0
0
0.028698
0
0
0
0
0
0.25
1
0.25
false
0
0.375
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
7900e4fba482c2349f7afd1bedc8ed327d0b15f8
4,326
py
Python
GP/data_transformation.py
VirgiAgl/V_savigp
310f31f789db34737313bf057ff1474e314d68fd
[ "Apache-2.0" ]
7
2016-04-25T15:02:34.000Z
2020-03-30T15:10:03.000Z
GP/data_transformation.py
VirgiAgl/V_savigp
310f31f789db34737313bf057ff1474e314d68fd
[ "Apache-2.0" ]
null
null
null
GP/data_transformation.py
VirgiAgl/V_savigp
310f31f789db34737313bf057ff1474e314d68fd
[ "Apache-2.0" ]
5
2015-12-09T22:57:58.000Z
2020-10-07T11:01:34.000Z
import numpy as np from sklearn import preprocessing class DataTransformation: """ A generic class for the transformation of data """ def __init__(self): pass def transform_X(self, X): """ transforms X :param X: Input X :return transform...
21.63
103
0.596163
501
4,326
5
0.167665
0.111776
0.023952
0.038323
0.51976
0.396806
0.378443
0.3002
0.26986
0.251896
0
0.002665
0.306056
4,326
199
104
21.738693
0.831779
0.162275
0
0.670213
0
0
0.001531
0
0
0
0
0
0
1
0.414894
false
0.021277
0.021277
0.297872
0.787234
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
790cf0917728b0fd2c56d1cef1a5a4d45cb2cea1
20
py
Python
tests/__init__.py
noamkatzir/palm-hand-reading
1a405759c03218fc74d661805bced8e4f4a92e74
[ "BSD-3-Clause" ]
5
2018-10-21T13:07:36.000Z
2021-11-26T17:01:47.000Z
tests/__init__.py
noamkatzir/palm-hand-reading
1a405759c03218fc74d661805bced8e4f4a92e74
[ "BSD-3-Clause" ]
null
null
null
tests/__init__.py
noamkatzir/palm-hand-reading
1a405759c03218fc74d661805bced8e4f4a92e74
[ "BSD-3-Clause" ]
3
2019-06-08T07:04:36.000Z
2019-11-27T03:12:53.000Z
__author__ = 'noam'
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
7918deeae964f3e7aeec689952c68e14507b214a
1,188
py
Python
test_servers.py
heicj/http-server
12fd83197d0a0355a91490f0e653310d67fd20af
[ "MIT" ]
null
null
null
test_servers.py
heicj/http-server
12fd83197d0a0355a91490f0e653310d67fd20af
[ "MIT" ]
null
null
null
test_servers.py
heicj/http-server
12fd83197d0a0355a91490f0e653310d67fd20af
[ "MIT" ]
null
null
null
import unittest from client import client class TestIt(unittest.TestCase): #test 1,2,3 work for echo server """ def test_1(self): self.assertEqual(client("LF", "Test"), "Test") def test_2(self): self.assertEqual(client("LF", "This is a long string test"), "This is a long string test") def test_3(self): ...
28.97561
92
0.677609
184
1,188
4.331522
0.391304
0.070263
0.21079
0.144291
0.154329
0.052698
0
0
0
0
0
0.028398
0.170034
1,188
40
93
29.7
0.779919
0.755051
0
0
0
0
0.164286
0
0
0
0
0
0.285714
1
0.285714
false
0
0.285714
0
0.714286
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
0
1
0
0
3
7927f507f1296d336b14e5a433dabc6791260e95
17,530
py
Python
splunk_sdk/identity/gen_identity_and_access_control_api.py
ahallur/splunk-cloud-sdk-python
27914e4cb624bcc67788408688553cfb99f64aa1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
splunk_sdk/identity/gen_identity_and_access_control_api.py
ahallur/splunk-cloud-sdk-python
27914e4cb624bcc67788408688553cfb99f64aa1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
splunk_sdk/identity/gen_identity_and_access_control_api.py
ahallur/splunk-cloud-sdk-python
27914e4cb624bcc67788408688553cfb99f64aa1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding: utf-8 # Copyright © 2019 Splunk, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"): you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # [http://www.apache.org/licenses/LICENSE-2.0] # # Unless required by applicable law or agre...
32.64432
128
0.622647
2,013
17,530
5.240437
0.094386
0.061617
0.08361
0.067589
0.760356
0.744052
0.721964
0.65447
0.641483
0.633709
0
0.005995
0.267256
17,530
536
129
32.705224
0.815181
0.146321
0
0.667752
0
0
0.094562
0.08298
0
0
0
0
0
1
0.104235
false
0
0.061889
0
0.270358
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
7930e665230a8a67e2f4989e1a1b862c5e6e12d1
573
py
Python
backend/db/entities/staging/tunjangan_kinerja.py
R-N/sistem_gaji_vue_thrift
9ba800b4d8e7849e2c6c4016cb32633caab087be
[ "MIT" ]
null
null
null
backend/db/entities/staging/tunjangan_kinerja.py
R-N/sistem_gaji_vue_thrift
9ba800b4d8e7849e2c6c4016cb32633caab087be
[ "MIT" ]
null
null
null
backend/db/entities/staging/tunjangan_kinerja.py
R-N/sistem_gaji_vue_thrift
9ba800b4d8e7849e2c6c4016cb32633caab087be
[ "MIT" ]
null
null
null
from sqlalchemy.orm import reconstructor from sqlalchemy.ext.hybrid import hybrid_property from .base import DbStagingEntity from ..mixin import MxTunjanganKinerja, MxStagingLite from .job_level import DbJobLevel from .kinerja import DbKinerja class DbTunjanganKinerja(MxStagingLite, MxTunjanganKinerja, DbStagingEnti...
30.157895
77
0.808028
67
573
6.731343
0.432836
0.170732
0.062084
0
0
0
0
0
0
0
0
0
0.139616
573
18
78
31.833333
0.914807
0
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.461538
0.153846
0.846154
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
f7135c08808687352a851c163a3b0dd12fad5af9
608
py
Python
Python-Basics/12. While Exercise/05.Vending machine.py
Xamaneone/SoftUni-Intro
985fe3249cd2adf021c2003372e840219811d989
[ "MIT" ]
null
null
null
Python-Basics/12. While Exercise/05.Vending machine.py
Xamaneone/SoftUni-Intro
985fe3249cd2adf021c2003372e840219811d989
[ "MIT" ]
null
null
null
Python-Basics/12. While Exercise/05.Vending machine.py
Xamaneone/SoftUni-Intro
985fe3249cd2adf021c2003372e840219811d989
[ "MIT" ]
null
null
null
coins = 0 price = round(float(input()), 2) while price != 0: if price >= 2: price -= 2 coins += 1 elif price >= 1: price -= 1 coins += 1 elif price >= 0.50: price -= 0.50 coins += 1 elif price >= 0.20: price -= 0.20 coins += 1 elif pric...
20.965517
32
0.430921
84
608
3.119048
0.214286
0.29771
0.267176
0.400763
0.366412
0
0
0
0
0
0
0.149425
0.427632
608
29
33
20.965517
0.603448
0
0
0.275862
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.034483
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
f71ce4ec1624e15791c2a9cbe2ce17cdd55390d6
733
py
Python
mycloud/drive/filesystem/file_version.py
ThomasGassmann/swisscom-my-cloud-backup
97e222c45a54197c82c8f3a5d59aa20bf3382ed8
[ "MIT" ]
4
2019-11-28T22:10:43.000Z
2022-01-23T15:18:26.000Z
mycloud/drive/filesystem/file_version.py
ThomasGassmann/swisscom-my-cloud-backup
97e222c45a54197c82c8f3a5d59aa20bf3382ed8
[ "MIT" ]
18
2019-01-20T22:30:48.000Z
2020-06-09T21:16:07.000Z
mycloud/drive/filesystem/file_version.py
thomasgassmann/mycloud-cli
97e222c45a54197c82c8f3a5d59aa20bf3382ed8
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from mycloud.common import sha256_file from mycloud.constants import VERSION_HASH_LENGTH class CalculatableVersion(ABC): @abstractmethod def calculate_version(self): raise NotImplementedError() class BasicStringVersion(CalculatableVersion): def __init__(sel...
22.212121
65
0.740791
83
733
6.228916
0.313253
0.087041
0.10058
0.133462
0.220503
0.12766
0.12766
0
0
0
0
0.015152
0.189632
733
32
66
22.90625
0.855219
0
0
0.157895
0
0
0
0
0
0
0
0
0
1
0.315789
false
0
0.157895
0.157895
0.789474
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
f724a1382e8af5cf9306be07c058f0768f836073
807
py
Python
VetsApp/migrations/0001_initial.py
Sabrinax3/Pet-Clinic-1
776955d118a46c8d4eaa74de22ea0280b82debc9
[ "MIT" ]
2
2020-04-13T14:26:54.000Z
2022-01-19T01:30:25.000Z
VetsApp/migrations/0001_initial.py
Sabrinax3/Pet-Clinic-1
776955d118a46c8d4eaa74de22ea0280b82debc9
[ "MIT" ]
2
2020-05-29T18:52:55.000Z
2020-05-30T02:06:28.000Z
VetsApp/migrations/0001_initial.py
Sabrinax3/Pet-Clinic-1
776955d118a46c8d4eaa74de22ea0280b82debc9
[ "MIT" ]
8
2020-04-11T08:30:44.000Z
2020-05-30T03:26:13.000Z
# Generated by Django 3.0.5 on 2020-04-10 10:01 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Vets', fields=[ ('id', models.AutoField(aut...
29.888889
114
0.570012
81
807
5.567901
0.592593
0.199557
0.239468
0.31929
0.119734
0
0
0
0
0
0
0.056239
0.294919
807
26
115
31.038462
0.73638
0.055762
0
0
1
0
0.073684
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.263158
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
f7569bfb29145ae6d4ea355c92b3223507df2d9f
265
py
Python
Tests/Tests.py
SkyLined/mDebugOutput
0ba3ae5e6118283449119a4942186cb55e47dfe6
[ "CC-BY-4.0" ]
2
2019-07-23T06:47:07.000Z
2021-01-30T07:29:28.000Z
Tests/Tests.py
SkyLined/zyp
d5d68257d1bacff4781ad7af318d6922f0dbbd46
[ "CC-BY-4.0" ]
null
null
null
Tests/Tests.py
SkyLined/zyp
d5d68257d1bacff4781ad7af318d6922f0dbbd46
[ "CC-BY-4.0" ]
null
null
null
import os, sys; sModulePath = os.path.dirname(__file__); sys.path = [sModulePath] + [sPath for sPath in sys.path if sPath.lower() != sModulePath.lower()]; from fTestDependencies import fTestDependencies; fTestDependencies(); # I should add some tests here. pass;
26.5
97
0.750943
34
265
5.735294
0.617647
0.071795
0
0
0
0
0
0
0
0
0
0
0.128302
265
9
98
29.444444
0.844156
0.109434
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.166667
0.333333
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
0
0
1
1
0
0
0
0
3
f7673ae10e7de6de3c23b3b3523fbe6ea9e77e97
173
py
Python
1_languages/python/src/types_tuple.py
praisetompane/3_programming
dd3e2e89a36a613d895fdbdd9c03845cb648fddf
[ "MIT" ]
null
null
null
1_languages/python/src/types_tuple.py
praisetompane/3_programming
dd3e2e89a36a613d895fdbdd9c03845cb648fddf
[ "MIT" ]
null
null
null
1_languages/python/src/types_tuple.py
praisetompane/3_programming
dd3e2e89a36a613d895fdbdd9c03845cb648fddf
[ "MIT" ]
null
null
null
''' immutable ''' letters = ("a", "b", "c", "d", "c") print(letters.count("c")) print(letters.index("d")) coordinates = (94, 6, 7) x, y, z = coordinates print(x, y, z)
15.727273
35
0.543353
27
173
3.481481
0.592593
0.12766
0.276596
0
0
0
0
0
0
0
0
0.027972
0.17341
173
11
36
15.727273
0.629371
0.052023
0
0
0
0
0.045752
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
f7740965e74ceb03ba5d25ad485c1292fd0c77ea
2,231
py
Python
bokeh/models/canvas.py
TheLaw1337/bokeh
ca6c4abf3b0cef587136b8431e9d6ee6acbedc2f
[ "BSD-3-Clause" ]
15,193
2015-01-01T05:11:45.000Z
2022-03-31T19:30:20.000Z
bokeh/models/canvas.py
TheLaw1337/bokeh
ca6c4abf3b0cef587136b8431e9d6ee6acbedc2f
[ "BSD-3-Clause" ]
9,554
2015-01-01T03:16:54.000Z
2022-03-31T22:59:39.000Z
bokeh/models/canvas.py
TheLaw1337/bokeh
ca6c4abf3b0cef587136b8431e9d6ee6acbedc2f
[ "BSD-3-Clause" ]
4,829
2015-01-02T03:35:32.000Z
2022-03-30T16:40:26.000Z
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2021, Anaconda, Inc., and Bokeh Contributors. # All rights reserved. # # The full license is in the file LICENSE.txt, distributed with this software. #-------------------------------------------------------------------...
37.813559
78
0.317795
117
2,231
5.905983
0.564103
0.075253
0.054993
0.075253
0.24602
0.24602
0
0
0
0
0
0.005366
0.08113
2,231
58
79
38.465517
0.331707
0.692066
0
0
0
0
0.026074
0
0
0
0
0
0
1
0
false
0
0.352941
0
0.764706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f787d83923194f987062e8fb6ab6acfe63a905a0
1,666
py
Python
Creational/abstract_factory.py
ofl/design-patterns-for-humans-python
0fd1830dce3ee024ed8db0494ce24b1f0c93b72a
[ "CC-BY-4.0" ]
null
null
null
Creational/abstract_factory.py
ofl/design-patterns-for-humans-python
0fd1830dce3ee024ed8db0494ce24b1f0c93b72a
[ "CC-BY-4.0" ]
2
2021-03-13T08:35:42.000Z
2021-04-06T11:46:44.000Z
Creational/abstract_factory.py
ofl/design-patterns-for-humans-python
0fd1830dce3ee024ed8db0494ce24b1f0c93b72a
[ "CC-BY-4.0" ]
null
null
null
# Abstract Factory Pattern from abc import ABCMeta, abstractmethod import random class AbstractProductX(metaclass=ABCMeta): @abstractmethod def get_description(self) -> None: pass class AbstractProductY(metaclass=ABCMeta): @abstractmethod def get_description(self) -> None: pass cl...
22.513514
49
0.715486
177
1,666
6.576271
0.237288
0.09622
0.087629
0.108247
0.532646
0.532646
0.472509
0.402062
0.305842
0.305842
0
0.020149
0.195678
1,666
73
50
22.821918
0.848507
0.014406
0
0.425532
0
0
0.041463
0
0
0
0
0
0
1
0.255319
false
0.085106
0.042553
0.085106
0.574468
0.085106
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
f7a0004839183a957e900ba421df425be0490aee
5,795
py
Python
juego/Disparo.py
rodrigo129/JuegoBulletHell
274b95e8ae697219b3aa2485c6a93e794acad498
[ "MIT" ]
null
null
null
juego/Disparo.py
rodrigo129/JuegoBulletHell
274b95e8ae697219b3aa2485c6a93e794acad498
[ "MIT" ]
null
null
null
juego/Disparo.py
rodrigo129/JuegoBulletHell
274b95e8ae697219b3aa2485c6a93e794acad498
[ "MIT" ]
null
null
null
""" @author: Rodrigo Vargas modulo encargado del comportamiento de los disparos estandar """ class Disparo : """ modulo encargado del comportamiento de los disparos estandar Attributes: XY (list):coordenadas (x,y) del disparo Velocidad (int):velocidad del disparo Index(...
26.828704
72
0.512338
582
5,795
5.094502
0.256014
0.043845
0.045868
0.030354
0.270152
0.222934
0.186847
0.16796
0.132209
0.132209
0
0.006924
0.401898
5,795
215
73
26.953488
0.848529
0.39862
0
0.169231
0
0
0.003284
0
0
0
0
0
0
1
0.246154
false
0.076923
0
0
0.569231
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
e39b193e7b3fe254714a0a515b6ec12ba93f88be
3,382
py
Python
MS5607.py
llinear/MS5607
29e1855fe3575a725dd097737ee94155ce0b5438
[ "MIT" ]
4
2016-03-04T22:26:57.000Z
2019-03-19T18:39:50.000Z
MS5607.py
llinear/MS5607
29e1855fe3575a725dd097737ee94155ce0b5438
[ "MIT" ]
null
null
null
MS5607.py
llinear/MS5607
29e1855fe3575a725dd097737ee94155ce0b5438
[ "MIT" ]
1
2021-04-21T14:09:22.000Z
2021-04-21T14:09:22.000Z
import time import smbus import math bus = smbus.SMBus(1) class MS5607: """ http://www.parallaxinc.com/sites/default/files/downloads/29124-APPNote_520_C_code.pdf http://www.parallaxinc.com/sites/default/files/downloads/29124-MS5607-02BA03-Datasheet.pdf Offset for humidity to provide better precision ...
41.243902
154
0.667948
434
3,382
4.990783
0.336406
0.055402
0.050785
0.019391
0.177285
0.161588
0.147738
0.119114
0.085873
0
0
0.101449
0.224719
3,382
81
155
41.753086
0.724638
0.133944
0
0
0
0
0
0
0
0
0.01795
0
0
1
0.241935
false
0
0.048387
0.112903
0.709677
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
e3c00e1018e148e9c58ff6cb7973ea44ce3df215
871
py
Python
behavioral/strategy.py
zhengxiaowai/python-javascript-design-patterns
867ef54c34994752afd77fd0ac54b99567ccfa52
[ "MIT" ]
6
2019-03-13T03:09:36.000Z
2021-06-05T03:05:02.000Z
behavioral/strategy.py
zhengxiaowai/python-javascript-design-patterns
867ef54c34994752afd77fd0ac54b99567ccfa52
[ "MIT" ]
null
null
null
behavioral/strategy.py
zhengxiaowai/python-javascript-design-patterns
867ef54c34994752afd77fd0ac54b99567ccfa52
[ "MIT" ]
3
2017-05-08T08:09:37.000Z
2018-12-16T09:16:39.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # 定义一系列计算年终奖的算法 bouns_strategy = { 'S': lambda s: s * 4, 'A': lambda s: s * 3, 'B': lambda s: s * 2, # 添加 S+ 和 C 算法 'SP': lambda s: s * 5, 'C': lambda s: s, } def calculate_bouns(name, strategy, salary): return '{name} get {salary}'.format(na...
26.393939
75
0.615385
125
871
4.112
0.352
0.177043
0.22179
0.18677
0.466926
0.466926
0.326848
0.326848
0.326848
0.326848
0
0.050143
0.198622
871
32
76
27.21875
0.686246
0.149254
0
0.117647
0
0
0.106267
0
0
0
0
0
0
1
0.058824
false
0
0
0.058824
0.117647
0.411765
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
e3c4d848521c652c8216dc5f8d6fc1ec0b15da4d
147
py
Python
solutions/090_solution_01.py
UFResearchComputing/py4ai
db7f80614f26274ec18556d56ea9f549c463165a
[ "CC-BY-4.0" ]
null
null
null
solutions/090_solution_01.py
UFResearchComputing/py4ai
db7f80614f26274ec18556d56ea9f549c463165a
[ "CC-BY-4.0" ]
null
null
null
solutions/090_solution_01.py
UFResearchComputing/py4ai
db7f80614f26274ec18556d56ea9f549c463165a
[ "CC-BY-4.0" ]
1
2021-04-27T09:50:54.000Z
2021-04-27T09:50:54.000Z
values = [] values.append(1) values.append(3) values.append(5) print('first time:', values) values = values[1:] print('second time:', values)
21
29
0.673469
21
147
4.714286
0.428571
0.363636
0
0
0
0
0
0
0
0
0
0.031496
0.136054
147
7
30
21
0.748032
0
0
0
0
0
0.161972
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
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
e3d6287d7505de5a0acd34bbeec93abae5a3da30
48
py
Python
smartpost/__init__.py
raoz/pysmartpost
9b8fdad0b63b45b8d358f2674e7fffb7bd3b5fa2
[ "MIT" ]
null
null
null
smartpost/__init__.py
raoz/pysmartpost
9b8fdad0b63b45b8d358f2674e7fffb7bd3b5fa2
[ "MIT" ]
11
2019-09-25T04:05:04.000Z
2022-01-06T03:07:28.000Z
smartpost/__init__.py
raoz/pysmartpost
9b8fdad0b63b45b8d358f2674e7fffb7bd3b5fa2
[ "MIT" ]
null
null
null
name = "smartpost-itella" __version__ = "0.0.1"
16
25
0.6875
7
48
4.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0.071429
0.125
48
2
26
24
0.619048
0
0
0
0
0
0.4375
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
e3ed1057f5d0cf1b7bf15135485dbb7a836ce135
507
py
Python
fdk_client/application/models/DiscountProperties.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
fdk_client/application/models/DiscountProperties.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
fdk_client/application/models/DiscountProperties.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
"""Application Models.""" from marshmallow import fields, Schema from marshmallow.validate import OneOf from ..enums import * from ..models.BaseSchema import BaseSchema class DiscountProperties(BaseSchema): # Rewards swagger.json absolute = fields.Float(required=False) currency = fie...
14.911765
49
0.698225
53
507
6.641509
0.45283
0.184659
0.144886
0.1875
0.164773
0
0
0
0
0
0
0
0.213018
507
33
50
15.363636
0.882206
0.080868
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
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
e3f3a278d74472b5a10e342c8b2cd1a27b01a763
1,365
py
Python
juriscraper/opinions/united_states/state/fladistctapp_3.py
EvandoBlanco/juriscraper
3d16af258620d4ba1b4827f66ef69e8a2c5a0484
[ "BSD-2-Clause" ]
228
2015-01-23T04:41:39.000Z
2022-03-30T09:52:20.000Z
juriscraper/opinions/united_states/state/fladistctapp_3.py
EvandoBlanco/juriscraper
3d16af258620d4ba1b4827f66ef69e8a2c5a0484
[ "BSD-2-Clause" ]
331
2015-01-05T18:53:40.000Z
2022-03-29T23:43:30.000Z
juriscraper/opinions/united_states/state/fladistctapp_3.py
EvandoBlanco/juriscraper
3d16af258620d4ba1b4827f66ef69e8a2c5a0484
[ "BSD-2-Clause" ]
84
2015-01-03T01:19:21.000Z
2022-03-01T08:09:32.000Z
""" Scraper for Florida 3rd District Court of Appeal CourtID: flaapp3 Court Short Name: flaapp3 Contact: 3dca@flcourts.org, Angel Falero <faleroa@flcourts.org> (305-229-6743) """ from juriscraper.lib.string_utils import convert_date_string from juriscraper.lib.html_utils import ( get_table_column_links, get_ta...
35.921053
220
0.740659
194
1,365
4.902062
0.479381
0.050473
0.088328
0.07571
0.182965
0.157729
0.07571
0.07571
0
0
0
0.027682
0.153114
1,365
37
221
36.891892
0.794983
0.183883
0
0
0
0.045455
0.188065
0
0
0
0
0
0
1
0.272727
false
0
0.136364
0.181818
0.681818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5410e107e5244b85794a15a20ff3f6c3394e37f6
91
py
Python
Code/Python2.7/Kattis/13taketwostones.py
nicholasz2510/General
e2783cad4da7f9b50c952c2b91ef311d22b1d56f
[ "MIT" ]
1
2019-11-21T15:56:03.000Z
2019-11-21T15:56:03.000Z
Code/Python2.7/Kattis/13taketwostones.py
nicholasz2510/General
e2783cad4da7f9b50c952c2b91ef311d22b1d56f
[ "MIT" ]
12
2019-11-21T21:00:57.000Z
2022-02-27T01:46:56.000Z
Code/Python2.7/Kattis/13taketwostones.py
nicholasz2510/General
e2783cad4da7f9b50c952c2b91ef311d22b1d56f
[ "MIT" ]
1
2019-11-21T20:49:18.000Z
2019-11-21T20:49:18.000Z
import sys if int(sys.stdin.readline()) % 2 == 0: print "Bob" else: print "Alice"
13
38
0.593407
14
91
3.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0.028986
0.241758
91
6
39
15.166667
0.753623
0
0
0
0
0
0.087912
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.4
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
541ae21951bce72d005b560cd139366a9fec2885
43
py
Python
smiview/link/__init__.py
Haros85/gios
bfde14ab61c3ac448864ebe200062155d8564cee
[ "MIT" ]
null
null
null
smiview/link/__init__.py
Haros85/gios
bfde14ab61c3ac448864ebe200062155d8564cee
[ "MIT" ]
null
null
null
smiview/link/__init__.py
Haros85/gios
bfde14ab61c3ac448864ebe200062155d8564cee
[ "MIT" ]
null
null
null
default_app_config = "link.apps.LinkConfig"
43
43
0.837209
6
43
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.046512
43
1
43
43
0.829268
0
0
0
0
0
0.454545
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
5809c8d0c7beac98f65906661938b178d3ed7209
402
py
Python
core/newintentobserver.py
Wil-Peters/HomeAutomation
ab4f78d9fad42093435732233e99003f12dca5e7
[ "MIT" ]
2
2020-04-09T20:29:15.000Z
2021-01-20T09:21:02.000Z
core/newintentobserver.py
Wil-Peters/HomeAutomation
ab4f78d9fad42093435732233e99003f12dca5e7
[ "MIT" ]
null
null
null
core/newintentobserver.py
Wil-Peters/HomeAutomation
ab4f78d9fad42093435732233e99003f12dca5e7
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from core.intent import Intent class NewIntentObserver(ABC): """The NewIntentObserver & NewIntentSubject abstract base classes are used to have a clean interface between the part of the code where the origin of the Intent lies, and the part where the Intent is handled....
30.923077
94
0.733831
55
402
5.363636
0.636364
0.047458
0
0
0
0
0
0
0
0
0
0
0.211443
402
12
95
33.5
0.930599
0.50995
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
583ff3998e33d0e84f82b85e9355f48c89d34d02
429
py
Python
psi/data/sinks/api.py
bburan/psiexperiment
9b70f7f0b4a4379d8c3fc463e1df272153afd247
[ "MIT" ]
5
2016-05-26T13:46:00.000Z
2020-03-03T13:07:47.000Z
psi/data/sinks/api.py
bburan/psiexperiment
9b70f7f0b4a4379d8c3fc463e1df272153afd247
[ "MIT" ]
2
2018-04-17T15:06:35.000Z
2019-03-25T18:13:10.000Z
psi/data/sinks/api.py
bburan/psiexperiment
9b70f7f0b4a4379d8c3fc463e1df272153afd247
[ "MIT" ]
1
2016-05-28T19:36:38.000Z
2016-05-28T19:36:38.000Z
import enaml with enaml.imports(): from .bcolz_store import BColzStore from .display_value import DisplayValue from .event_log import EventLog from .epoch_counter import EpochCounter, GroupedEpochCounter from .preferences_store import PreferencesStore from .table_store import TableStore fro...
33
64
0.785548
51
429
6.431373
0.568627
0.134146
0
0
0
0
0
0
0
0
0
0
0.181818
429
12
65
35.75
0.934473
0
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
584a9360b94e07b9bed039e35476cf70ccd91d84
1,685
py
Python
lsfd202201/settings.py
z-t-y/lsfd202201v3
5f751083bfd9bad8f56e7d1168957edb2be80b35
[ "MIT" ]
1
2020-07-24T11:38:13.000Z
2020-07-24T11:38:13.000Z
lsfd202201/settings.py
z-t-y/LSFD202201V3
5f751083bfd9bad8f56e7d1168957edb2be80b35
[ "MIT" ]
2
2020-07-24T11:59:56.000Z
2020-07-26T03:16:07.000Z
lsfd202201/settings.py
z-t-y/LSFD202201V3
5f751083bfd9bad8f56e7d1168957edb2be80b35
[ "MIT" ]
null
null
null
# flake8: noqa import os from werkzeug.security import generate_password_hash def generate_sqlite_file(file_name: str): basedir = os.path.abspath(os.path.dirname(__file__)) return "sqlite:///" + os.path.join(basedir, f"{file_name}.sqlite3") class Base: DEBUG = False TESTING = False SECRET_KEY =...
29.051724
89
0.719881
212
1,685
5.386792
0.330189
0.077058
0.052539
0.049037
0.180385
0.180385
0.070053
0
0
0
0
0.005678
0.163798
1,685
57
90
29.561404
0.804826
0.007122
0
0.051282
1
0
0.216038
0
0
0
0
0
0
1
0.025641
false
0.153846
0.051282
0
0.846154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
5885818511e1bfabe8d22eb1788a8214c5572568
85
py
Python
pluto/apps.py
rororobby/melody
afae3d0df9b494f85dc0a2dca91b5342350b5860
[ "MIT" ]
2
2020-11-28T19:16:01.000Z
2021-01-16T15:47:48.000Z
pluto/apps.py
rororobby/melody
afae3d0df9b494f85dc0a2dca91b5342350b5860
[ "MIT" ]
null
null
null
pluto/apps.py
rororobby/melody
afae3d0df9b494f85dc0a2dca91b5342350b5860
[ "MIT" ]
null
null
null
from django.apps import AppConfig class PlutoConfig(AppConfig): name = 'pluto'
14.166667
33
0.741176
10
85
6.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.176471
85
5
34
17
0.9
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
588a57fc4f2b2eab21ad8f89560dcc4347c11739
11,386
py
Python
pylox/builtins/py_builtins.py
sco1/pylox
b4820828306c20cee3f8533c2547fafb92c6c1bd
[ "MIT" ]
2
2021-12-18T01:52:50.000Z
2022-01-17T19:41:52.000Z
pylox/builtins/py_builtins.py
sco1/pylox
b4820828306c20cee3f8533c2547fafb92c6c1bd
[ "MIT" ]
18
2021-11-30T04:05:53.000Z
2022-02-01T03:30:04.000Z
pylox/builtins/py_builtins.py
sco1/pylox
b4820828306c20cee3f8533c2547fafb92c6c1bd
[ "MIT" ]
null
null
null
import math import re import statistics import time import typing as t from collections import deque from pathlib import Path from pylox.callable import LoxCallable, LoxInstance from pylox.containers.array import LoxArray from pylox.environment import Environment from pylox.protocols.interpreter import SourceInterpret...
28.898477
100
0.657913
1,341
11,386
5.52349
0.192394
0.031592
0.047523
0.059403
0.398407
0.36992
0.353989
0.345889
0.345889
0.326178
0
0.007272
0.239153
11,386
393
101
28.97201
0.847743
0.251449
0
0.392857
0
0
0.047969
0.003793
0
0
0
0
0
1
0.214286
false
0.004464
0.053571
0.102679
0.705357
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
5894f59e6a265fbcd2ec93ad68c5b02570c799f3
16,492
py
Python
tests/test_simulation.py
PrincetonUniversity/ASPIRE-Python
1bff8d3884183203bd77695a76bccb1efc909fd3
[ "MIT" ]
7
2018-11-07T16:45:35.000Z
2020-01-10T16:54:26.000Z
tests/test_simulation.py
PrincetonUniversity/ASPIRE-Python
1bff8d3884183203bd77695a76bccb1efc909fd3
[ "MIT" ]
1
2019-04-05T18:41:39.000Z
2019-04-05T18:41:39.000Z
tests/test_simulation.py
PrincetonUniversity/ASPIRE-Python
1bff8d3884183203bd77695a76bccb1efc909fd3
[ "MIT" ]
2
2019-06-04T17:01:53.000Z
2019-07-08T19:01:40.000Z
import os.path import tempfile from unittest import TestCase import numpy as np from aspire.operators import IdentityFilter, RadialCTFFilter from aspire.source.relion import RelionSource from aspire.source.simulation import Simulation from aspire.utils.types import utest_tolerance from aspire.volume import Volume DA...
33.520325
120
0.38928
1,378
16,492
4.584906
0.304064
0.027699
0.055714
0.083571
0.30975
0.293606
0.280785
0.212884
0.177271
0.172206
0
0.316987
0.517766
16,492
491
121
33.588595
0.47743
0.043172
0
0.244944
0
0
0.016118
0.004442
0
0
0
0
0.053933
1
0.042697
false
0.002247
0.020225
0
0.067416
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
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
589dc4d487e6272607c2716232f8c68e0095307f
237
py
Python
src/lib/metrics.py
lab-a1/correct-image-rotation
526a708cd536f894635cc89159d5dc2615b8a0c3
[ "WTFPL" ]
null
null
null
src/lib/metrics.py
lab-a1/correct-image-rotation
526a708cd536f894635cc89159d5dc2615b8a0c3
[ "WTFPL" ]
null
null
null
src/lib/metrics.py
lab-a1/correct-image-rotation
526a708cd536f894635cc89159d5dc2615b8a0c3
[ "WTFPL" ]
null
null
null
import torch def accuracy(output, target): _, predicted = torch.max(output.data, 1) correct_predictions = (predicted == target).sum().item() accuracy_result = correct_predictions / target.size(0) return accuracy_result
26.333333
60
0.7173
28
237
5.892857
0.642857
0.218182
0
0
0
0
0
0
0
0
0
0.010152
0.168776
237
8
61
29.625
0.827411
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
58a302ec0728977ace16b587d34fb6377c71a027
255
py
Python
helloworld.py
zqli-90s/LearnPythonCode
8cdf5044c3b33435d904132b910c882cf6ee2231
[ "MIT" ]
null
null
null
helloworld.py
zqli-90s/LearnPythonCode
8cdf5044c3b33435d904132b910c882cf6ee2231
[ "MIT" ]
null
null
null
helloworld.py
zqli-90s/LearnPythonCode
8cdf5044c3b33435d904132b910c882cf6ee2231
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # print "hello world!" # print "100 + 200 + 300 =", 100 + 200 + 300 # # name = raw_input("please input a name: ") # print "hello, ", name print "hello, %s! age is %d" %("zqli", 27)
13.421053
45
0.505882
35
255
3.657143
0.685714
0.234375
0.140625
0
0
0
0
0
0
0
0
0.116022
0.290196
255
18
46
14.166667
0.59116
0.666667
0
0
0
0
0.461538
0
0
0
0
0
0
0
null
null
0
0
null
null
1
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
1
0
0
0
0
0
0
1
0
3
547bdb35c7788c72796738382e794ed7db0b2934
144
py
Python
homeassistant/components/trace/const.py
WizBangCrash/core
b1d0b37d2c575a440686c9bd177862a723deea68
[ "Apache-2.0" ]
1
2021-03-23T07:20:03.000Z
2021-03-23T07:20:03.000Z
homeassistant/components/trace/const.py
WizBangCrash/core
b1d0b37d2c575a440686c9bd177862a723deea68
[ "Apache-2.0" ]
19
2021-08-18T06:16:06.000Z
2022-03-31T06:17:46.000Z
homeassistant/components/trace/const.py
vasili8m/core
cd455e296e331af0212344563d95ded2a537b877
[ "Apache-2.0" ]
null
null
null
"""Shared constants for automation and script tracing and debugging.""" DATA_TRACE = "trace" STORED_TRACES = 5 # Stored traces per automation
28.8
71
0.763889
19
144
5.684211
0.736842
0.222222
0
0
0
0
0
0
0
0
0
0.008197
0.152778
144
4
72
36
0.877049
0.659722
0
0
0
0
0.116279
0
0
0
0
0
0
1
0
false
0
0
0
0
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
5492e7bf0d19f91cb4819df4243a577c41067e7c
176
py
Python
Utopian Tree .py
SriCharan220800/RomanReigns
0ec11c65fa0cfa6264f162c5e3f2ba5e45986fbb
[ "MIT" ]
null
null
null
Utopian Tree .py
SriCharan220800/RomanReigns
0ec11c65fa0cfa6264f162c5e3f2ba5e45986fbb
[ "MIT" ]
null
null
null
Utopian Tree .py
SriCharan220800/RomanReigns
0ec11c65fa0cfa6264f162c5e3f2ba5e45986fbb
[ "MIT" ]
null
null
null
t=int(input()) for i in range(t): n=int(input()) h=0 for i in range(n+1): if i%2==0: h += 1 else: h *= 2 print(h)
16
25
0.363636
30
176
2.133333
0.5
0.25
0.1875
0.34375
0
0
0
0
0
0
0
0.064516
0.471591
176
11
26
16
0.623656
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.1
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
5496c95843d29eac8544f4fae025620822d0af73
610
py
Python
ModelServices/eventTriggerInputGroupingMappingServices.py
tuanldchainos/HcPullData
65f89cfdcae135781aad4b3edf210c0ecd2d6a1c
[ "Apache-2.0" ]
null
null
null
ModelServices/eventTriggerInputGroupingMappingServices.py
tuanldchainos/HcPullData
65f89cfdcae135781aad4b3edf210c0ecd2d6a1c
[ "Apache-2.0" ]
null
null
null
ModelServices/eventTriggerInputGroupingMappingServices.py
tuanldchainos/HcPullData
65f89cfdcae135781aad4b3edf210c0ecd2d6a1c
[ "Apache-2.0" ]
null
null
null
from Repository.eventTriggerInputGroupingMappingRepo import eventTriggerInputGroupingMappingRepo from sqlalchemy import Table from sqlalchemy.engine.base import Connection from sqlalchemy.sql.expression import BinaryExpression class eventTriggerInputGroupingMappingServices(): __eventTriggerInputGroupingMappingRepo...
55.454545
146
0.865574
38
610
13.684211
0.5
0.080769
0
0
0
0
0
0
0
0
0
0
0.098361
610
11
147
55.454545
0.945455
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.875
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
54b5dcdc183250e2408650efabf9e702604d16b8
383
py
Python
msr18model/__init__.py
mandoway/dfp
d8b1bd911fa810ce08e9719c9988e5a765b0128b
[ "Apache-2.0" ]
null
null
null
msr18model/__init__.py
mandoway/dfp
d8b1bd911fa810ce08e9719c9988e5a765b0128b
[ "Apache-2.0" ]
null
null
null
msr18model/__init__.py
mandoway/dfp
d8b1bd911fa810ce08e9719c9988e5a765b0128b
[ "Apache-2.0" ]
null
null
null
from .Project import Project from .Dockerfile import Dockerfile from .Snapshot import Snapshot from .Violation import Violation from .SnapViolationDiff import SnapViolationDiff from .SnapViolDiffItem import SnapViolDiffItem from .Diff import Diff from .DiffType import DiffType from .MapDiff import MapDiff from .FailedP...
31.916667
48
0.856397
44
383
7.454545
0.295455
0
0
0
0
0
0
0
0
0
0
0
0.114883
383
11
49
34.818182
0.967552
0
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
54ba227f2264a6721037a87db97dfa5449e0490f
566
py
Python
tests/test_util.py
20c/grainy
a25c3c972a74204773b9d3d6a0a06e0d93a6e2d1
[ "Apache-2.0" ]
2
2019-01-22T13:34:06.000Z
2020-07-31T12:42:42.000Z
tests/test_util.py
20c/grainy
a25c3c972a74204773b9d3d6a0a06e0d93a6e2d1
[ "Apache-2.0" ]
11
2017-12-04T11:50:33.000Z
2021-08-24T15:36:42.000Z
tests/test_util.py
20c/grainy
a25c3c972a74204773b9d3d6a0a06e0d93a6e2d1
[ "Apache-2.0" ]
1
2021-08-06T17:53:38.000Z
2021-08-06T17:53:38.000Z
import unittest from grainy import const, core class TestUtils(unittest.TestCase): def test_int_flags(self): self.assertEqual(core.int_flags("c"), const.PERM_CREATE) self.assertEqual(core.int_flags("cr"), const.PERM_CREATE | const.PERM_READ) self.assertEqual( core.int_flags("c...
31.444444
88
0.646643
70
566
5
0.342857
0.257143
0.217143
0.251429
0.634286
0.325714
0.245714
0.245714
0.245714
0
0
0
0.243816
566
17
89
33.294118
0.817757
0
0
0.142857
0
0
0.017668
0
0
0
0
0
0.285714
1
0.071429
false
0
0.142857
0
0.285714
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
54c57f463b293d019c4981fa4cea412d6dd57abe
476
py
Python
core/taming/modules/diffusion/__init__.py
ollietb/VQGAN-CLIP-Docker
f3c6bd44bd1948dd9a5a4fd75d8d43910c9267ce
[ "MIT" ]
57
2021-08-06T19:23:06.000Z
2022-03-30T04:20:11.000Z
core/taming/modules/diffusion/__init__.py
ollietb/VQGAN-CLIP-Docker
f3c6bd44bd1948dd9a5a4fd75d8d43910c9267ce
[ "MIT" ]
3
2021-09-01T00:31:10.000Z
2021-11-13T11:27:42.000Z
core/taming/modules/diffusion/__init__.py
ollietb/VQGAN-CLIP-Docker
f3c6bd44bd1948dd9a5a4fd75d8d43910c9267ce
[ "MIT" ]
12
2021-08-08T05:18:38.000Z
2022-03-24T20:12:56.000Z
from core.taming.modules.diffusion.attn_block import AttnBlock from core.taming.modules.diffusion.resnet_block import ResnetBlock from core.taming.modules.diffusion.downsample import Downsample from core.taming.modules.diffusion.upsample import Upsample from core.taming.modules.diffusion.encoder import Encoder from c...
25.052632
66
0.80042
57
476
6.578947
0.280702
0.128
0.224
0.336
0.48
0
0
0
0
0
0
0
0.130252
476
18
67
26.444444
0.905797
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
49b4f07464dd5e07f11dc493f7687e114779e805
1,610
py
Python
drf_actions/migrations/0003_auto_20210729_0724.py
speechki-book/drf-actions
7effcf8df2c47ce6a1028ad86f252b3c6378c371
[ "MIT" ]
null
null
null
drf_actions/migrations/0003_auto_20210729_0724.py
speechki-book/drf-actions
7effcf8df2c47ce6a1028ad86f252b3c6378c371
[ "MIT" ]
null
null
null
drf_actions/migrations/0003_auto_20210729_0724.py
speechki-book/drf-actions
7effcf8df2c47ce6a1028ad86f252b3c6378c371
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-07-29 07:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('drf_actions', '0002_auto_20200618_1044'), ] operations = [ migrations.AlterField( model_name='actioncontenttype', na...
36.590909
143
0.588199
157
1,610
5.878981
0.388535
0.130011
0.162514
0.188516
0.712893
0.691224
0.561213
0.561213
0.561213
0.561213
0
0.031197
0.263354
1,610
43
144
37.44186
0.747049
0.02795
0
0.702703
1
0
0.172745
0.014715
0
0
0
0
0
1
0
false
0
0.027027
0
0.108108
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
49ba5766e8794f1af11e5183d10b31dea90cd2d8
247
py
Python
ch_2/compare_float.py
ProhardONE/python_primer
211e37c1f2fd169269fc4f3c08e8b7e5225f2ad0
[ "MIT" ]
51
2016-04-05T16:56:11.000Z
2022-02-08T00:08:47.000Z
ch_2/compare_float.py
zhangxiao921207/python_primer
211e37c1f2fd169269fc4f3c08e8b7e5225f2ad0
[ "MIT" ]
null
null
null
ch_2/compare_float.py
zhangxiao921207/python_primer
211e37c1f2fd169269fc4f3c08e8b7e5225f2ad0
[ "MIT" ]
47
2016-05-02T07:51:37.000Z
2022-02-08T01:28:15.000Z
# Exercise 2.24 # Author: Noah Waterfield Price a = 1 / 947.0 * 947 b = 1 if a != b: print 'Wrong result!' a = 1 / 947.0 * 947 b = 1 if abs(a - b) > 1e-15: print 'Wrong result!' """ Sample run: python compare_float.py Wrong result! """
13
31
0.591093
44
247
3.295455
0.568182
0.227586
0.068966
0.082759
0.17931
0.17931
0.17931
0.17931
0
0
0
0.130435
0.255061
247
18
32
13.722222
0.657609
0.174089
0
0.75
0
0
0.180556
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
49d1e4d15232468c84571b9e3397f64736a6e4bd
1,905
py
Python
PyObjCTest/test_nsscroller.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
PyObjCTest/test_nsscroller.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
PyObjCTest/test_nsscroller.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
import AppKit from PyObjCTools.TestSupport import TestCase, min_os_level class TestNSScroller(TestCase): def testConstants(self): self.assertEqual(AppKit.NSScrollerArrowsMaxEnd, 0) self.assertEqual(AppKit.NSScrollerArrowsMinEnd, 1) self.assertEqual(AppKit.NSScrollerArrowsDefaultSetting, 0)...
41.413043
88
0.751181
172
1,905
8.244186
0.337209
0.222144
0.311001
0.108604
0.086037
0.086037
0
0
0
0
0
0.022599
0.16378
1,905
45
89
42.333333
0.867546
0
0
0.057143
0
0
0.004199
0
0
0
0
0
0.742857
1
0.114286
false
0
0.057143
0
0.2
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
49f0213c5e0c381e637716e610a8b058cde65e70
9,407
py
Python
zkay/config.py
nibau/zkay
da04760088767e05214aac2d2beee4cbf8ed77f6
[ "MIT" ]
null
null
null
zkay/config.py
nibau/zkay
da04760088767e05214aac2d2beee4cbf8ed77f6
[ "MIT" ]
null
null
null
zkay/config.py
nibau/zkay
da04760088767e05214aac2d2beee4cbf8ed77f6
[ "MIT" ]
null
null
null
import json import math import os from contextlib import contextmanager from typing import Dict, Any, ContextManager, List from semantic_version import NpmSpec from zkay.compiler.privacy.proving_scheme.meta import provingschemeparams from zkay.config_user import UserConfig from zkay.config_version import Versions fro...
33.476868
127
0.675136
1,205
9,407
4.99751
0.229876
0.056626
0.023746
0.028396
0.271172
0.206742
0.188143
0.159415
0.092328
0.042179
0
0.001396
0.238758
9,407
280
128
33.596429
0.839548
0.15042
0
0.208556
0
0
0.121464
0.0631
0
0
0
0
0.005348
1
0.251337
false
0
0.058824
0.139037
0.529412
0.02139
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
b724555684e39e44199cefc865c7a68aec3d61f1
677
py
Python
Aula20/exercicio3.py
marcelabbc07/TrabalhosPython
91734d13110e4dee12a532dfd7091e36394a6449
[ "MIT" ]
null
null
null
Aula20/exercicio3.py
marcelabbc07/TrabalhosPython
91734d13110e4dee12a532dfd7091e36394a6449
[ "MIT" ]
null
null
null
Aula20/exercicio3.py
marcelabbc07/TrabalhosPython
91734d13110e4dee12a532dfd7091e36394a6449
[ "MIT" ]
null
null
null
# Aula 20 - 05-12-2019 # Surgiu a necessidade de envio massivo de e-mails dos clientes cadastrados # no arquivo cadastro1.txt # >>>> Fazer tudo com metodos <<<<< # 1 - Para isso o programa necessita que separe os clientes maiores de 20 anos # em um arquivo separado chamado menores_de_idade.txt # 2 - Separar os client...
56.416667
79
0.750369
110
677
4.6
0.709091
0.035573
0.043478
0
0
0
0
0
0
0
0
0.028777
0.17873
677
11
80
61.545455
0.881295
0.966027
0
null
0
null
0
0
null
0
0
0.090909
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
3
b72c6bcb79db8c3ae7539f7378565c1640d4aaa3
152
py
Python
polrev/volunteers/apps.py
polrev-github/polrev-django
99108ace1a5307b14c3eccb424a9f9616e8c02ae
[ "MIT" ]
1
2021-12-10T05:54:16.000Z
2021-12-10T05:54:16.000Z
polrev/volunteers/apps.py
polrev-github/polrev-django
99108ace1a5307b14c3eccb424a9f9616e8c02ae
[ "MIT" ]
null
null
null
polrev/volunteers/apps.py
polrev-github/polrev-django
99108ace1a5307b14c3eccb424a9f9616e8c02ae
[ "MIT" ]
null
null
null
from django.apps import AppConfig class VolunteersConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'volunteers'
21.714286
56
0.769737
17
152
6.764706
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.144737
152
6
57
25.333333
0.884615
0
0
0
0
0
0.256579
0.190789
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b73740c5f44efa16fad64b46b64e5616b9a26657
24,860
py
Python
tests.py
KyleKing/implements
781f5ee51093bdfc0bdda915c985ef6d2d2c0f46
[ "Apache-2.0" ]
29
2017-05-28T02:53:26.000Z
2021-12-22T17:43:30.000Z
tests.py
KyleKing/implements
781f5ee51093bdfc0bdda915c985ef6d2d2c0f46
[ "Apache-2.0" ]
23
2019-04-12T11:45:04.000Z
2022-01-18T12:53:14.000Z
tests.py
KyleKing/implements
781f5ee51093bdfc0bdda915c985ef6d2d2c0f46
[ "Apache-2.0" ]
5
2017-07-23T02:19:26.000Z
2021-06-30T01:54:43.000Z
# Copyright 2017-2020 Kamil Sindi # # 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 writ...
25.264228
77
0.587932
2,276
24,860
6.336995
0.138401
0.042848
0.06032
0.114054
0.683561
0.647299
0.618873
0.538238
0.491299
0.446162
0
0.010585
0.331134
24,860
983
78
25.289929
0.856808
0.097546
0
0.797784
0
0
0.006396
0
0
0
0
0
0.004155
1
0.259003
false
0.235457
0.006925
0.00554
0.484765
0.001385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
3f8079857f369f246815ddc3dc776c04aeee5ff1
1,045
py
Python
python/tests/test_builder_pattern.py
imsardine/learning
925841ddd93d60c740a62e12d9f57ef15b6e0a20
[ "MIT" ]
null
null
null
python/tests/test_builder_pattern.py
imsardine/learning
925841ddd93d60c740a62e12d9f57ef15b6e0a20
[ "MIT" ]
null
null
null
python/tests/test_builder_pattern.py
imsardine/learning
925841ddd93d60c740a62e12d9f57ef15b6e0a20
[ "MIT" ]
null
null
null
from datetime import datetime class LogRecord: def __init__(self, time, level, message): self._time = time self._level = level self._message = message @property def time(self): return self._time @property def level(self): return self._level @property ...
21.326531
83
0.61244
121
1,045
5.07438
0.239669
0.091205
0.068404
0
0
0
0
0
0
0
0
0.013369
0.284211
1,045
48
84
21.770833
0.807487
0
0
0.342857
0
0
0.032567
0
0
0
0
0
0.057143
1
0.285714
false
0
0.028571
0.114286
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
0
0
1
1
0
0
3
3f86cd1c0cd5f083fe9342fa3f362925c1904dcc
482
py
Python
tests/step25_tests.py
svaningelgem/advent_of_code_2021
80351508d6d6953392bc57af20e1fac05ab3ec2a
[ "MIT" ]
null
null
null
tests/step25_tests.py
svaningelgem/advent_of_code_2021
80351508d6d6953392bc57af20e1fac05ab3ec2a
[ "MIT" ]
null
null
null
tests/step25_tests.py
svaningelgem/advent_of_code_2021
80351508d6d6953392bc57af20e1fac05ab3ec2a
[ "MIT" ]
null
null
null
from pathlib import Path TEST_INPUT = Path(__file__).parent / 'step25.txt' REAL_INPUT = Path(__file__).parent.parent / 'src/step25.txt' def test_step25(): # assert calculate_position() == 150 pass def test_step25_real_data(): # assert calculate_position() == 2039256 pass def test_step25_part2(): ...
19.28
60
0.715768
62
482
5.112903
0.403226
0.088328
0.164038
0.160883
0.451104
0
0
0
0
0
0
0.093671
0.180498
482
24
61
20.083333
0.708861
0.348548
0
0.363636
0
0
0.07767
0
0
0
0
0
0
1
0.363636
false
0.363636
0.090909
0
0.454545
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
3f90ddaf6c49e364e14a5efa42eb889c3d07ef27
229
py
Python
neat/function_reporter.py
ykeuter/neat-python
8a4385624f759eb9f66c7a9a071f0789edff4d95
[ "BSD-3-Clause" ]
null
null
null
neat/function_reporter.py
ykeuter/neat-python
8a4385624f759eb9f66c7a9a071f0789edff4d95
[ "BSD-3-Clause" ]
null
null
null
neat/function_reporter.py
ykeuter/neat-python
8a4385624f759eb9f66c7a9a071f0789edff4d95
[ "BSD-3-Clause" ]
null
null
null
from neat.reporting import BaseReporter class FunctionReporter(BaseReporter): def __init__(self, handle): self._handle = handle def end_generation(self, config, population, species_set): self._handle()
22.9
62
0.720524
25
229
6.28
0.68
0.191083
0
0
0
0
0
0
0
0
0
0
0.196507
229
9
63
25.444444
0.853261
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
3fa5af38d8c73c64a9f2683a0ec3565464d69f98
19
py
Python
src/urh/util/__init__.py
awesome-archive/urh
c8c3aabc9d637ca660d8c72c3d8372055e0f3ec7
[ "Apache-2.0" ]
1
2017-06-21T02:37:16.000Z
2017-06-21T02:37:16.000Z
src/urh/util/__init__.py
dspmandavid/urh
30643c1a68634b1c97eb9989485a4e96a3b038ae
[ "Apache-2.0" ]
null
null
null
src/urh/util/__init__.py
dspmandavid/urh
30643c1a68634b1c97eb9989485a4e96a3b038ae
[ "Apache-2.0" ]
null
null
null
__author__ = 'joe'
9.5
18
0.684211
2
19
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
19
1
19
19
0.5625
0
0
0
0
0
0.157895
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
3faf02ac2273b8c8dc8b8bb1c94269b19f9ab331
129
py
Python
backend/payments/urls.py
BloomTech-Labs/Labs8-OfflineReader
be56741c59a9675dd9c1364155a0ea1027d8b28e
[ "MIT" ]
10
2018-11-05T22:29:06.000Z
2020-02-19T16:30:19.000Z
backend/payments/urls.py
jtwray/Labs8-OfflineReader
be56741c59a9675dd9c1364155a0ea1027d8b28e
[ "MIT" ]
22
2018-11-07T17:17:38.000Z
2021-09-01T01:51:26.000Z
backend/payments/urls.py
jtwray/Labs8-OfflineReader
be56741c59a9675dd9c1364155a0ea1027d8b28e
[ "MIT" ]
5
2019-03-11T04:01:30.000Z
2020-01-30T22:56:47.000Z
from django.urls import path from .views import checkout urlpatterns = [ path('create-charge/', checkout, name="cout"), ]
14.333333
50
0.697674
16
129
5.625
0.75
0
0
0
0
0
0
0
0
0
0
0
0.170543
129
8
51
16.125
0.841122
0
0
0
0
0
0.139535
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
3fbfa4d6dc63081d71f48631512befbdec626928
77
py
Python
magda/utils/logger/__init__.py
p-mielniczuk/magda
6359fa5721b4e27bd98f2c6af0e858b476645618
[ "Apache-2.0" ]
8
2021-02-25T14:00:25.000Z
2022-03-10T00:32:43.000Z
magda/utils/logger/__init__.py
p-mielniczuk/magda
6359fa5721b4e27bd98f2c6af0e858b476645618
[ "Apache-2.0" ]
22
2021-03-24T11:56:47.000Z
2021-11-02T15:09:50.000Z
magda/utils/logger/__init__.py
p-mielniczuk/magda
6359fa5721b4e27bd98f2c6af0e858b476645618
[ "Apache-2.0" ]
6
2021-04-06T07:26:47.000Z
2021-12-07T18:55:52.000Z
from magda.utils.logger.logger import MagdaLogger __all__ = ['MagdaLogger']
19.25
49
0.792208
9
77
6.333333
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.103896
77
3
50
25.666667
0.826087
0
0
0
0
0
0.142857
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
3fc010849f3400db96af61ec2e6dfcafd4498abd
439
py
Python
rl_sandbox/priors/gaussian.py
chanb/rl_sandbox_public
e55f954a29880f83a5b0c3358badda4d900f1564
[ "MIT" ]
14
2020-11-09T22:05:37.000Z
2022-02-11T12:41:33.000Z
rl_sandbox/priors/gaussian.py
chanb/rl_sandbox_public
e55f954a29880f83a5b0c3358badda4d900f1564
[ "MIT" ]
null
null
null
rl_sandbox/priors/gaussian.py
chanb/rl_sandbox_public
e55f954a29880f83a5b0c3358badda4d900f1564
[ "MIT" ]
null
null
null
import torch from torch.distributions import Normal from rl_sandbox.constants import CPU class GaussianPrior: def __init__(self, loc, scale, device=torch.device(CPU)): self.device = device self.dist = Normal(loc=loc, scale=scale) def sample(self, num_samples): return self.dist.rsamp...
24.388889
74
0.710706
60
439
5.05
0.466667
0.079208
0.112211
0.138614
0
0
0
0
0
0
0
0
0.191344
439
17
75
25.823529
0.853521
0
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.272727
0.181818
0.818182
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
3fc2ecdc29177b616df5342cd72fee12b0128df5
157
py
Python
python/deep_learning/FUNCTIONAL/1.py
SayanGhoshBDA/code-backup
8b6135facc0e598e9686b2e8eb2d69dd68198b80
[ "MIT" ]
16
2018-11-26T08:39:42.000Z
2019-05-08T10:09:52.000Z
python/deep_learning/FUNCTIONAL/1.py
SayanGhoshBDA/code-backup
8b6135facc0e598e9686b2e8eb2d69dd68198b80
[ "MIT" ]
8
2020-05-04T06:29:26.000Z
2022-02-12T05:33:16.000Z
python/deep_learning/FUNCTIONAL/1.py
SayanGhoshBDA/code-backup
8b6135facc0e598e9686b2e8eb2d69dd68198b80
[ "MIT" ]
5
2020-02-11T16:02:21.000Z
2021-02-05T07:48:30.000Z
def running_sum(numbers, start=0): if len(numbers) == 0: print() return total = numbers[0] + start print(total,end="") running_sum(numbers[1:],total)
19.625
34
0.675159
24
157
4.333333
0.541667
0.192308
0.326923
0
0
0
0
0
0
0
0
0.029851
0.146497
157
7
35
22.428571
0.746269
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.285714
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3fcf8821703be5b4811e722f33f8b5e9ce735c11
64
py
Python
URI Online Judge/Python/SimpleSum.py
AugustoEstevaoMonte/Learning---C-programming
e496b301b6cc9dda68b1da6d72a4937b2c5f9aec
[ "MIT" ]
null
null
null
URI Online Judge/Python/SimpleSum.py
AugustoEstevaoMonte/Learning---C-programming
e496b301b6cc9dda68b1da6d72a4937b2c5f9aec
[ "MIT" ]
1
2020-08-04T17:08:41.000Z
2020-08-04T17:12:48.000Z
URI Online Judge/Python/SimpleSum.py
AugustoEstevaoMonte/Learning---C-programming
e496b301b6cc9dda68b1da6d72a4937b2c5f9aec
[ "MIT" ]
null
null
null
a=int(input()) b=int(input()) soma=a+b print("SOMA = %i" % soma)
16
25
0.59375
13
64
2.923077
0.538462
0.421053
0
0
0
0
0
0
0
0
0
0
0.109375
64
4
25
16
0.666667
0
0
0
0
0
0.138462
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
3ff37a618611f015465d215c44ad3868c97f269a
606
py
Python
kolibri/plugins/setup_wizard/hooks.py
arceduardvincent/kolibri
26073dda2569bb38bfe1e08ba486e96f650d10ce
[ "MIT" ]
null
null
null
kolibri/plugins/setup_wizard/hooks.py
arceduardvincent/kolibri
26073dda2569bb38bfe1e08ba486e96f650d10ce
[ "MIT" ]
null
null
null
kolibri/plugins/setup_wizard/hooks.py
arceduardvincent/kolibri
26073dda2569bb38bfe1e08ba486e96f650d10ce
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals from kolibri.core.webpack import hooks as webpack_hooks class SetupWizardSyncHook(webpack_hooks.WebpackInclusionHook): """ Inherit a hook defining assets to be loaded sychronously in setup_wiz...
28.857143
94
0.768977
72
606
6.166667
0.458333
0.099099
0.108108
0.175676
0.581081
0.581081
0.581081
0.581081
0.581081
0.581081
0
0
0.181518
606
20
95
30.3
0.895161
0.29868
0
0.4
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0.1
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
b20862597eb41497f99429580da31bdc98cb9da7
88
py
Python
Regular/15/15-A.py
unasuke/AtCoder
2e9f369ff8a6d8ae45c7786a360fe218bd0f160a
[ "MIT" ]
null
null
null
Regular/15/15-A.py
unasuke/AtCoder
2e9f369ff8a6d8ae45c7786a360fe218bd0f160a
[ "MIT" ]
null
null
null
Regular/15/15-A.py
unasuke/AtCoder
2e9f369ff8a6d8ae45c7786a360fe218bd0f160a
[ "MIT" ]
null
null
null
#AtCoder Regular 15 A celsius = int(raw_input()) print ( (9.0 / 5.0) * celsius ) + 32.0
22
38
0.625
16
88
3.375
0.8125
0
0
0
0
0
0
0
0
0
0
0.126761
0.193182
88
3
39
29.333333
0.633803
0.227273
0
0
0
0
0
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
b74cb3fb4565deb53adbf744fc8a2e363a3ef603
131
py
Python
nose2/tests/functional/support/scenario/pretty_asserts/unittest_assertion/test_prettyassert_unittestassertion.py
ltfish/nose2
e47363dad10056cf906daf387613c21d74f37e56
[ "BSD-2-Clause" ]
637
2015-01-12T02:02:53.000Z
2022-03-30T19:47:48.000Z
nose2/tests/functional/support/scenario/pretty_asserts/unittest_assertion/test_prettyassert_unittestassertion.py
ltfish/nose2
e47363dad10056cf906daf387613c21d74f37e56
[ "BSD-2-Clause" ]
276
2015-01-02T19:14:06.000Z
2022-03-18T04:03:08.000Z
nose2/tests/functional/support/scenario/pretty_asserts/unittest_assertion/test_prettyassert_unittestassertion.py
ltfish/nose2
e47363dad10056cf906daf387613c21d74f37e56
[ "BSD-2-Clause" ]
127
2015-01-08T12:02:10.000Z
2022-01-10T20:52:29.000Z
import unittest class TestFoo(unittest.TestCase): def test_old_assertion(self): x = False self.assertTrue(x)
16.375
33
0.671756
16
131
5.375
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.244275
131
7
34
18.714286
0.868687
0
0
0
0
0
0
0
0
0
0
0
0.4
1
0.2
false
0
0.2
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
0
0
1
0
0
3
b7505b10cbeaeb04346903ab78322434f70e2701
116
py
Python
ipcluster/kernel.py
wasit7/tutorials
83499821266c8debac05cb5d6d5f6da0f0abd68f
[ "MIT" ]
4
2016-02-23T15:39:45.000Z
2018-03-25T20:15:07.000Z
ipcluster/kernel.py
wasit7/tutorials
83499821266c8debac05cb5d6d5f6da0f0abd68f
[ "MIT" ]
null
null
null
ipcluster/kernel.py
wasit7/tutorials
83499821266c8debac05cb5d6d5f6da0f0abd68f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Oct 14 17:40:55 2015 @author: Wasit """ import numpy as np y=np.sum(x)
11.6
35
0.603448
22
116
3.181818
0.954545
0
0
0
0
0
0
0
0
0
0
0.139785
0.198276
116
9
36
12.888889
0.612903
0.637931
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
b783f6e20b4940d15fb2deccfb44b27e44332116
2,468
py
Python
isi_sdk_8_0_1/test/test_network_api.py
mohitjain97/isilon_sdk_python
a371f438f542568edb8cda35e929e6b300b1177c
[ "Unlicense" ]
24
2018-06-22T14:13:23.000Z
2022-03-23T01:21:26.000Z
isi_sdk_8_0_1/test/test_network_api.py
mohitjain97/isilon_sdk_python
a371f438f542568edb8cda35e929e6b300b1177c
[ "Unlicense" ]
46
2018-04-30T13:28:22.000Z
2022-03-21T21:11:07.000Z
isi_sdk_8_0_1/test/test_network_api.py
mohitjain97/isilon_sdk_python
a371f438f542568edb8cda35e929e6b300b1177c
[ "Unlicense" ]
29
2018-06-19T00:14:04.000Z
2022-02-08T17:51:19.000Z
# coding: utf-8 """ Isilon SDK Isilon SDK - Language bindings for the OneFS API # noqa: E501 OpenAPI spec version: 4 Contact: sdk@isilon.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import isi_sdk_8_0_1 from i...
19.744
75
0.632901
304
2,468
4.763158
0.233553
0.072514
0.11395
0.155387
0.595304
0.444061
0.080111
0.030387
0
0
0
0.013061
0.286467
2,468
124
76
19.903226
0.809199
0.389384
0
0.380952
1
0
0.005727
0
0
0
0
0
0
1
0.404762
false
0.380952
0.119048
0
0.547619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
b7860053edab7d51d1ccec9202ad3804553afe52
91
py
Python
immutable_collection/__init__.py
djtaylor/python-immutable-collection
2248c3169f03556782d292d2bd9c17f2310c9c2f
[ "MIT" ]
1
2018-07-25T14:58:48.000Z
2018-07-25T14:58:48.000Z
immutable_collection/__init__.py
djtaylor/python-immutable-collection
2248c3169f03556782d292d2bd9c17f2310c9c2f
[ "MIT" ]
null
null
null
immutable_collection/__init__.py
djtaylor/python-immutable-collection
2248c3169f03556782d292d2bd9c17f2310c9c2f
[ "MIT" ]
null
null
null
__version__ = '1.1.post2' from immutable_collection.collection import ImmutableCollection
22.75
63
0.846154
10
91
7.2
0.8
0
0
0
0
0
0
0
0
0
0
0.036145
0.087912
91
3
64
30.333333
0.831325
0
0
0
0
0
0.098901
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
b79a8eef0482a049e7b11dc0738b4a6ac1888822
408
py
Python
main (9).py
AntonMarinin/itstep
c3e313cd1f790cd7f910d91ef420c14dfad98d85
[ "Apache-2.0" ]
null
null
null
main (9).py
AntonMarinin/itstep
c3e313cd1f790cd7f910d91ef420c14dfad98d85
[ "Apache-2.0" ]
null
null
null
main (9).py
AntonMarinin/itstep
c3e313cd1f790cd7f910d91ef420c14dfad98d85
[ "Apache-2.0" ]
null
null
null
our_set = set() our_set2 = {0} print(our_set, type(our_set)) print(our_set2, type(our_set2)) our_set.add('tomato') our_set2.add("potato") print(our_set) print(our_set2) x = "tomato" print(x in our_set) print(x in our_set2) print(our_set.isdisjoint(our_set2)) our_set3 = our_set.union(our_set2) print(our_set3) our_set.up...
22.666667
35
0.77451
79
408
3.683544
0.202532
0.247423
0.189003
0.14433
0.42268
0.140893
0
0
0
0
0
0.037135
0.07598
408
18
36
22.666667
0.734748
0
0
0.111111
0
0
0.04401
0
0
0
0
0
0
1
0
false
0
0
0
0
0.555556
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
b7a65da9fbae4d79e7f5f6bd57b653c3f239b80e
4,290
py
Python
srgan/vgg19/vgg19.py
pushkalkatara/Low-Resolution-Face-Recognition
bba9074acd0e695a0baa6d979cd7afe034235392
[ "MIT" ]
3
2020-02-14T09:54:31.000Z
2021-07-29T07:53:56.000Z
srgan/vgg19/vgg19.py
sohne-ck/Low-Resolution-Face-Recognition
bba9074acd0e695a0baa6d979cd7afe034235392
[ "MIT" ]
null
null
null
srgan/vgg19/vgg19.py
sohne-ck/Low-Resolution-Face-Recognition
bba9074acd0e695a0baa6d979cd7afe034235392
[ "MIT" ]
1
2020-11-16T00:33:16.000Z
2020-11-16T00:33:16.000Z
import tensorflow as tf import sys sys.path.append('../utils') from layer import * class VGG19: def __init__(self, x, t, is_training): if x is None: return self.out, self.phi = self.build_model(x, is_training) self.loss = self.inference_loss(self.out, t) def build_model(self, x, is_tr...
37.631579
64
0.479254
555
4,290
3.517117
0.142342
0.076844
0.143443
0.194672
0.745902
0.703381
0.696721
0.656762
0.656762
0.656762
0
0.071456
0.399767
4,290
113
65
37.964602
0.686602
0
0
0.554455
0
0
0.028445
0
0
0
0
0
0
1
0.029703
false
0
0.029703
0
0.089109
0
0
0
0
null
0
0
1
0
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
b7b971d3a9ba8d5ab948b2ea62a67368cfba5373
838
py
Python
api_app/api/dependencies/workspace_service_templates.py
stuartleeks/AzureTRE
56069f83a1ae27f434c444526f2fa504a8868ce8
[ "MIT" ]
71
2021-03-04T15:10:18.000Z
2022-03-29T16:37:37.000Z
api_app/api/dependencies/workspace_service_templates.py
stuartleeks/AzureTRE
56069f83a1ae27f434c444526f2fa504a8868ce8
[ "MIT" ]
1,498
2021-03-05T07:28:00.000Z
2022-03-31T16:28:06.000Z
api_app/api/dependencies/workspace_service_templates.py
stuartleeks/AzureTRE
56069f83a1ae27f434c444526f2fa504a8868ce8
[ "MIT" ]
60
2021-04-30T10:09:26.000Z
2022-03-30T12:39:27.000Z
from fastapi import Depends, HTTPException, Path from starlette.status import HTTP_404_NOT_FOUND from api.dependencies.database import get_repository from db.errors import EntityDoesNotExist from db.repositories.resource_templates import ResourceTemplateRepository from models.domain.resource import ResourceType from m...
49.294118
186
0.854415
100
838
6.87
0.49
0.065502
0.029112
0.043668
0
0
0
0
0
0
0
0.007905
0.094272
838
16
187
52.375
0.897233
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.615385
0
0.692308
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
b7c2ca3fe6ec7cd86819dba69cb3cd0227c23072
187
py
Python
telegramtui/src/aalib.py
Bergiu/TelegramTUI
ea37481c3cecdce82e9d1a35565d892e2b0cd4a3
[ "MIT" ]
470
2018-10-17T04:44:18.000Z
2022-03-20T15:40:42.000Z
telegramtui/src/aalib.py
Bergiu/TelegramTUI
ea37481c3cecdce82e9d1a35565d892e2b0cd4a3
[ "MIT" ]
29
2018-11-20T08:58:39.000Z
2022-01-23T17:47:41.000Z
telegramtui/src/aalib.py
Bergiu/TelegramTUI
ea37481c3cecdce82e9d1a35565d892e2b0cd4a3
[ "MIT" ]
62
2018-12-10T23:04:37.000Z
2022-03-04T16:05:23.000Z
import platform def is_aalib_support(): """ Currently aalib working only on Linux :return: """ if platform.system() in ('Linux'): return True return False
18.7
41
0.614973
22
187
5.136364
0.772727
0.19469
0
0
0
0
0
0
0
0
0
0
0.283422
187
10
42
18.7
0.843284
0.245989
0
0
0
0
0.040984
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
b7c6b675fa85e7649b17540a5ccd723fc94bac62
126
py
Python
week3/week3 1.py
Kevinskwk/ILP
7a3925a22232d486a5a8f5df8255f9297fd73fec
[ "MIT" ]
1
2020-07-09T23:10:56.000Z
2020-07-09T23:10:56.000Z
week3/week3 1.py
Kevinskwk/ILP
7a3925a22232d486a5a8f5df8255f9297fd73fec
[ "MIT" ]
null
null
null
week3/week3 1.py
Kevinskwk/ILP
7a3925a22232d486a5a8f5df8255f9297fd73fec
[ "MIT" ]
null
null
null
listone = [1,2,3,4,5,6,7,8,9] listtwo = [] for i in listone: if i%2==0: listtwo.append(i) print listtwo
14
30
0.531746
24
126
2.791667
0.75
0
0
0
0
0
0
0
0
0
0
0.123596
0.293651
126
8
31
15.75
0.629213
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
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
b7dcd16aa18f602b77d05c3be6953762efe388be
248
py
Python
mmseg/core/seg/__init__.py
evgeniya-egupova/mmsegmentation
3857f19321ad6af41c8a6af364898ee050225f4c
[ "Apache-2.0" ]
null
null
null
mmseg/core/seg/__init__.py
evgeniya-egupova/mmsegmentation
3857f19321ad6af41c8a6af364898ee050225f4c
[ "Apache-2.0" ]
null
null
null
mmseg/core/seg/__init__.py
evgeniya-egupova/mmsegmentation
3857f19321ad6af41c8a6af364898ee050225f4c
[ "Apache-2.0" ]
null
null
null
from .builder import build_pixel_sampler from .sampler import BasePixelSampler, OHEMPixelSampler, ClassWeightingPixelSampler __all__ = [ 'build_pixel_sampler', 'BasePixelSampler', 'OHEMPixelSampler', 'ClassWeightingPixelSampler' ]
24.8
83
0.78629
19
248
9.842105
0.526316
0.106952
0.181818
0
0
0
0
0
0
0
0
0
0.141129
248
9
84
27.555556
0.877934
0
0
0
0
0
0.310484
0.104839
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4d0b6683a453e00041fa5fde622b4fb5bc9c45d6
199
py
Python
apps/mappings/apps.py
fylein/fyle-qbo-api
627339ddbab37cafc8aa419a757d826759d86778
[ "MIT" ]
1
2021-03-08T08:13:36.000Z
2021-03-08T08:13:36.000Z
apps/mappings/apps.py
fylein/fyle-netsuite-api
d7957642524698208db368582e7166a9f392e439
[ "MIT" ]
82
2020-11-24T10:17:29.000Z
2022-03-30T07:27:26.000Z
apps/mappings/apps.py
fylein/fyle-xero-api
ba81af058dc413fc801d4cf7d1a8961bd42df469
[ "MIT" ]
3
2020-03-09T12:56:31.000Z
2020-06-10T07:55:47.000Z
from django.apps import AppConfig class MappingsConfig(AppConfig): name = 'apps.mappings' def ready(self): super(MappingsConfig, self).ready() import apps.mappings.signals
19.9
43
0.693467
22
199
6.272727
0.636364
0.173913
0
0
0
0
0
0
0
0
0
0
0.211055
199
9
44
22.111111
0.878981
0
0
0
0
0
0.065327
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
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
4d20d44b0116e5a30f6e28e7711e01d07a503470
8,251
py
Python
integration/switch/test.py
xbabka01/retdec-regression-tests
1ac40cca5165740364e6f7fb72b20820eac9bc7c
[ "MIT" ]
8
2017-12-14T14:25:17.000Z
2019-03-09T03:29:12.000Z
integration/switch/test.py
xbabka01/retdec-regression-tests
1ac40cca5165740364e6f7fb72b20820eac9bc7c
[ "MIT" ]
10
2019-06-14T09:12:55.000Z
2021-10-01T12:15:43.000Z
integration/switch/test.py
xbabka01/retdec-regression-tests
1ac40cca5165740364e6f7fb72b20820eac9bc7c
[ "MIT" ]
8
2019-05-10T14:59:48.000Z
2022-03-07T16:34:23.000Z
from regression_tests import * class TestBase(Test): def test_produce_expected_output(self): self.assert_c_produces_output_when_run( input='0', expected_return_code=0, expected_output=' 0 after 0 after 0 after 0 after 0 after 0 after 0 0 22 after before 0 after ' ...
46.353933
109
0.658223
1,192
8,251
4.247483
0.106544
0.13411
0.153269
0.254395
0.793403
0.758246
0.623543
0.532688
0.461979
0.399763
0
0.044068
0.213429
8,251
177
110
46.615819
0.736055
0.240335
0
0.19685
0
0
0.166319
0.02919
0
0
0.001283
0
0.559055
1
0.086614
false
0
0.007874
0
0.165354
0.015748
0
0
0
null
0
0
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
1
0
0
0
0
0
0
0
0
0
3
4d28d4a376cb665cef81e56764b4f48b50edd3b8
184
py
Python
Codeforces/A_k_Multiple_Free_Set.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
Codeforces/A_k_Multiple_Free_Set.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
Codeforces/A_k_Multiple_Free_Set.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
n, k = map(int, input().split()) a = list(sorted(map(int, input().split()), reverse=True)) s = set() for i in range(len(a)): if a[i] * k not in s: s.add(a[i]) print(len(s))
26.285714
57
0.548913
37
184
2.72973
0.594595
0.118812
0.217822
0.316832
0
0
0
0
0
0
0
0
0.201087
184
7
58
26.285714
0.687075
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4d40e63ebeb6df46e96de8604d6c6e4ee5b58f19
58
py
Python
commands/willie.py
WouterPennings/willie
be80e7830c0905c49cc53f6d742142bfe411829e
[ "MIT" ]
null
null
null
commands/willie.py
WouterPennings/willie
be80e7830c0905c49cc53f6d742142bfe411829e
[ "MIT" ]
null
null
null
commands/willie.py
WouterPennings/willie
be80e7830c0905c49cc53f6d742142bfe411829e
[ "MIT" ]
null
null
null
async def Willie(context): await context.send("Wonka")
29
31
0.724138
8
58
5.25
0.875
0
0
0
0
0
0
0
0
0
0
0
0.137931
58
2
31
29
0.84
0
0
0
0
0
0.084746
0
0
0
0
0
0
1
0
true
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
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4d544c6acf7e83e4d3386c276ee1b1b16d6972ae
180
py
Python
lotube/videos/apps.py
zurfyx/lotube
d00a456d4aff5a6f4c63dab5d90ba6a3a72e3a3f
[ "MIT" ]
null
null
null
lotube/videos/apps.py
zurfyx/lotube
d00a456d4aff5a6f4c63dab5d90ba6a3a72e3a3f
[ "MIT" ]
null
null
null
lotube/videos/apps.py
zurfyx/lotube
d00a456d4aff5a6f4c63dab5d90ba6a3a72e3a3f
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.apps import AppConfig class VideosConfig(AppConfig): name = 'videos' def ready(self): from . import signals
16.363636
39
0.722222
21
180
5.952381
0.761905
0
0
0
0
0
0
0
0
0
0
0
0.216667
180
10
40
18
0.886525
0
0
0
0
0
0.033333
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
4d65302c873a133dca7d2a1f2fb1b74a67ab0d2c
294
py
Python
server/.vim/plugged/python-mode/submodules/pylint/tests/extensions/data/broad_try_clause.py
hkdb/sysconf
99d334f7309657647059c4b37f25e33dffc81fc3
[ "MIT" ]
10
2020-07-21T21:59:54.000Z
2021-07-19T11:01:47.000Z
server/.vim/plugged/python-mode/submodules/pylint/tests/extensions/data/broad_try_clause.py
hkdb/sysconf
99d334f7309657647059c4b37f25e33dffc81fc3
[ "MIT" ]
null
null
null
server/.vim/plugged/python-mode/submodules/pylint/tests/extensions/data/broad_try_clause.py
hkdb/sysconf
99d334f7309657647059c4b37f25e33dffc81fc3
[ "MIT" ]
1
2021-01-30T18:17:01.000Z
2021-01-30T18:17:01.000Z
# pylint: disable=missing-docstring, invalid-name MY_DICTIONARY = {"key_one": 1, "key_two": 2, "key_three": 3} try: # [max-try-statements] value = MY_DICTIONARY["key_one"] value += 1 except KeyError: pass try: value = MY_DICTIONARY["key_one"] except KeyError: value = 0
19.6
60
0.663265
41
294
4.560976
0.560976
0.192513
0.240642
0.28877
0.245989
0
0
0
0
0
0
0.021097
0.193878
294
14
61
21
0.767932
0.231293
0
0.6
0
0
0.165919
0
0
0
0
0
0
1
0
false
0.1
0
0
0
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
1
0
0
0
0
0
3
4d72f655a83f73f920cc0d28db9de400f5c3bfc8
1,873
py
Python
third_party/spider/baselines/nl2code/nn/objectives.py
chenyangh/tensor2struct-public
d3257cba6d76d3c658a58a78f687d986bdc755cf
[ "MIT" ]
69
2021-04-14T06:35:07.000Z
2022-03-31T18:35:05.000Z
third_party/spider/baselines/nl2code/nn/objectives.py
chenyangh/tensor2struct-public
d3257cba6d76d3c658a58a78f687d986bdc755cf
[ "MIT" ]
19
2018-12-17T20:42:11.000Z
2020-02-12T21:29:51.000Z
third_party/spider/baselines/nl2code/nn/objectives.py
chenyangh/tensor2struct-public
d3257cba6d76d3c658a58a78f687d986bdc755cf
[ "MIT" ]
31
2016-01-26T16:08:28.000Z
2021-11-29T00:24:10.000Z
from __future__ import absolute_import import theano import theano.tensor as T import numpy as np from six.moves import range if theano.config.floatX == 'float64': epsilon = 1.0e-9 else: epsilon = 1.0e-7 def mean_squared_error(y_true, y_pred): return T.sqr(y_pred - y_true).mean(axis=-1) def mean_absolu...
28.815385
121
0.714362
329
1,873
3.81459
0.25228
0.099602
0.057371
0.095618
0.413546
0.301195
0.287649
0.251793
0.195219
0.154582
0
0.019695
0.159637
1,873
64
122
29.265625
0.777637
0.075814
0
0.051282
0
0
0.009281
0
0
0
0
0
0
1
0.25641
false
0
0.153846
0.205128
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4d8974f8e4462d307e7cce226ed8f03009274694
3,172
py
Python
reamber/algorithms/api/osu/OsuAPIV2.py
Bestfast/reamberPy
91b76ca6adf11fbe8b7cee7c186481776a4d7aaa
[ "MIT" ]
null
null
null
reamber/algorithms/api/osu/OsuAPIV2.py
Bestfast/reamberPy
91b76ca6adf11fbe8b7cee7c186481776a4d7aaa
[ "MIT" ]
null
null
null
reamber/algorithms/api/osu/OsuAPIV2.py
Bestfast/reamberPy
91b76ca6adf11fbe8b7cee7c186481776a4d7aaa
[ "MIT" ]
null
null
null
from __future__ import annotations import requests from dataclasses import dataclass from configparser import ConfigParser BASE_URL = "https://osu.ppy.sh/api/v2" @dataclass class OsuAPIV2: """ This class helps in connecting with the new osu! API. This isn't fleshed out yet since a lot of useful functionality...
40.151899
106
0.604981
384
3,172
4.869792
0.346354
0.025668
0.034759
0.037433
0.390374
0.359893
0.316578
0.316578
0.255615
0.120321
0
0.003928
0.277743
3,172
78
107
40.666667
0.812309
0.123266
0
0.185185
0
0
0.135155
0.017851
0
0
0
0
0
1
0.203704
false
0
0.074074
0.166667
0.518519
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
4d91150ef476a3aa58a7774f95b2be4351981d16
787
py
Python
coinExchange/trading/admin.py
biz2013/xwjy
8f4b5e3e3fc964796134052ff34d58d31ed41904
[ "Apache-2.0" ]
1
2019-12-15T16:56:44.000Z
2019-12-15T16:56:44.000Z
coinExchange/trading/admin.py
biz2013/xwjy
8f4b5e3e3fc964796134052ff34d58d31ed41904
[ "Apache-2.0" ]
87
2018-01-06T10:18:31.000Z
2022-03-11T23:32:30.000Z
coinExchange/trading/admin.py
biz2013/xwjy
8f4b5e3e3fc964796134052ff34d58d31ed41904
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import Wallet, Cryptocurrency, SiteSettings, Transaction from .models import PaymentProvider, UserExternalWalletAddress from .models import UserPaymentMethod, UserPaymentMethodImage, Order, UserWallet from .models import UserWalletTransaction from .adminModels import UserPa...
43.722222
80
0.871665
75
787
9.146667
0.293333
0.131195
0.247813
0.113703
0
0
0
0
0
0
0
0
0.057179
787
17
81
46.294118
0.924528
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.375
0
0.375
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
4daa8afcea08709f848ba5a0c558662e99bac5cc
75,863
py
Python
dataloader/file_io/filelist_creator.py
ifnspaml/IFN_Dataloader
864a10f0dfea27cbbe46f18cf3c9958768f3c0be
[ "MIT" ]
6
2020-09-18T06:25:20.000Z
2021-11-16T22:33:37.000Z
dataloader/file_io/filelist_creator.py
ifnspaml/IFN_Dataloader
864a10f0dfea27cbbe46f18cf3c9958768f3c0be
[ "MIT" ]
null
null
null
dataloader/file_io/filelist_creator.py
ifnspaml/IFN_Dataloader
864a10f0dfea27cbbe46f18cf3c9958768f3c0be
[ "MIT" ]
1
2021-03-05T08:36:49.000Z
2021-03-05T08:36:49.000Z
import os import sys import json import numpy as np import pandas as pd import dataloader.file_io.dir_lister as dl import dataloader.file_io.get_path as gp SUPPORTED_DATASETS = ('cityscapes', 'cityscapes_video', 'cityscapes_sequence', 'cityscapes_extra', 'cityscapes_part', 'kitti', 'kitti_2012',...
50.948959
120
0.584554
8,920
75,863
4.777018
0.060314
0.029851
0.014949
0.011969
0.756119
0.722372
0.70578
0.685339
0.664828
0.651757
0
0.01459
0.303442
75,863
1,488
121
50.983199
0.791779
0.226566
0
0.619094
0
0
0.092542
0.011791
0.000964
0
0
0
0.000964
1
0.051109
false
0
0.00675
0
0.079074
0.023144
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