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
0fb964504ec0ef23a090f3ff80286b681929884f
142
py
Python
tests/pysphinx_autoindex/data/input/test-project/tests/test_class.py
suburbanmtman/pysphinx-autoindex
9e1e45a6e8cc4391d98ce4c8b5c0a320cbe77824
[ "Apache-2.0" ]
1
2019-05-06T16:53:42.000Z
2019-05-06T16:53:42.000Z
tests/pysphinx_autoindex/data/input/test-project/tests/test_class.py
suburbanmtman/pysphinx-autoindex
9e1e45a6e8cc4391d98ce4c8b5c0a320cbe77824
[ "Apache-2.0" ]
null
null
null
tests/pysphinx_autoindex/data/input/test-project/tests/test_class.py
suburbanmtman/pysphinx-autoindex
9e1e45a6e8cc4391d98ce4c8b5c0a320cbe77824
[ "Apache-2.0" ]
1
2020-01-18T13:28:11.000Z
2020-01-18T13:28:11.000Z
# coding=utf-8 def test_method(param): """ Should not show up :param param: any param :return: None """ return None
12.909091
27
0.577465
19
142
4.263158
0.736842
0.246914
0
0
0
0
0
0
0
0
0
0.010204
0.309859
142
10
28
14.2
0.816327
0.492958
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0fd6f435dca33bcdaddc86f46b6d80a555f0f896
487
bzl
Python
constants.bzl
maxwellE/bazel-diff
864b02e2a93ff881657b65d1de2fd28ea18ffab6
[ "BSD-3-Clause" ]
null
null
null
constants.bzl
maxwellE/bazel-diff
864b02e2a93ff881657b65d1de2fd28ea18ffab6
[ "BSD-3-Clause" ]
null
null
null
constants.bzl
maxwellE/bazel-diff
864b02e2a93ff881657b65d1de2fd28ea18ffab6
[ "BSD-3-Clause" ]
null
null
null
""" Various constants used to build bazel-diff """ DEFAULT_JVM_EXTERNAL_TAG = "3.3" RULES_JVM_EXTERNAL_SHA = "d85951a92c0908c80bd8551002d66cb23c3434409c814179c0ff026b53544dab" BUILD_PROTO_MESSAGE_SHA = "50b79faec3c4154bed274371de5678b221165e38ab59c6167cc94b922d9d9152" BAZEL_DIFF_MAVEN_ARTIFACTS = [ "junit:junit...
27.055556
92
0.767967
61
487
5.934426
0.655738
0.016575
0
0
0
0
0
0
0
0
0
0.242563
0.102669
487
17
93
28.647059
0.585812
0.086242
0
0
0
0
0.624714
0.581236
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ba0b6f3964e702b64d437c12d35435202c9805a1
273
py
Python
lemonshort/views.py
RobbiNespu/lemoncurry
37d5a7a20d3f07aaa8a4041cd3e6092789c1e6d1
[ "MIT" ]
null
null
null
lemonshort/views.py
RobbiNespu/lemoncurry
37d5a7a20d3f07aaa8a4041cd3e6092789c1e6d1
[ "MIT" ]
2
2022-01-13T04:41:57.000Z
2022-03-12T01:09:21.000Z
lemonshort/views.py
RobbiNespu/lemoncurry
37d5a7a20d3f07aaa8a4041cd3e6092789c1e6d1
[ "MIT" ]
null
null
null
from django.apps import apps from django.shortcuts import get_object_or_404, redirect from .convert import abc_to_id def unshort(request, model, tiny): entity = get_object_or_404(apps.get_model(model), pk=abc_to_id(tiny)) return redirect(entity, permanent=True)
27.3
73
0.787546
44
273
4.636364
0.545455
0.098039
0.107843
0.137255
0
0
0
0
0
0
0
0.02521
0.128205
273
9
74
30.333333
0.831933
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ba23a101b3513748441d0ce7b816acb282f5f7f9
5,040
py
Python
temboo/core/Library/Twilio/OutgoingCallerIDs/ListCallerIDs.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/Twilio/OutgoingCallerIDs/ListCallerIDs.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/Twilio/OutgoingCallerIDs/ListCallerIDs.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
# -*- coding: utf-8 -*- ############################################################################### # # ListCallerIDs # Returns a list of Outgoing Caller IDs for a Twilio account. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); #...
42.711864
235
0.685119
609
5,040
5.591133
0.298851
0.016153
0.028194
0.035242
0.328341
0.212041
0.212041
0.069897
0.045815
0.045815
0
0.00374
0.204167
5,040
117
236
43.076923
0.845176
0.487698
0
0
0
0
0.06397
0.022107
0
0
0
0
0
1
0.384615
false
0
0.128205
0.128205
0.769231
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
ba2ab1d87b4ee3e13eb824d814818e42fa944804
19
py
Python
cla.py
ksIsCute/Rocket
8cba1a068523176addabc6ee4a6dcef33fa74502
[ "BSL-1.0" ]
null
null
null
cla.py
ksIsCute/Rocket
8cba1a068523176addabc6ee4a6dcef33fa74502
[ "BSL-1.0" ]
null
null
null
cla.py
ksIsCute/Rocket
8cba1a068523176addabc6ee4a6dcef33fa74502
[ "BSL-1.0" ]
null
null
null
cla = "TOKEN HERE"
9.5
18
0.631579
3
19
4
1
0
0
0
0
0
0
0
0
0
0
0
0.210526
19
1
19
19
0.8
0
0
0
0
0
0.526316
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
ba2e9cefaffccd3a0f61fe59ac7690ceec4250c7
186
py
Python
main/re-sub-regex-substitution/re-sub-regex-substitution.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/re-sub-regex-substitution/re-sub-regex-substitution.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/re-sub-regex-substitution/re-sub-regex-substitution.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
#!/usr/bin/env python3 import re AND = re.compile(r'(?<= )&&(?= )') OR = re.compile(r'(?<= )\|\|(?= )') for _ in range(int(input())): print(OR.sub('or', AND.sub('and', input())))
18.6
48
0.505376
27
186
3.444444
0.62963
0.193548
0.215054
0
0
0
0
0
0
0
0
0.006329
0.150538
186
9
49
20.666667
0.582278
0.112903
0
0
0
0
0.20122
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
e852d9e1e31eae4005df989098d8db85355fab9a
614
bzl
Python
source/bazel/deps/backward_cpp/get.bzl
luxe/unilang
6c8a431bf61755f4f0534c6299bd13aaeba4b69e
[ "MIT" ]
33
2019-05-30T07:43:32.000Z
2021-12-30T13:12:32.000Z
source/bazel/deps/backward_cpp/get.bzl
luxe/unilang
6c8a431bf61755f4f0534c6299bd13aaeba4b69e
[ "MIT" ]
371
2019-05-16T15:23:50.000Z
2021-09-04T15:45:27.000Z
source/bazel/deps/backward_cpp/get.bzl
luxe/unilang
6c8a431bf61755f4f0534c6299bd13aaeba4b69e
[ "MIT" ]
6
2019-08-22T17:37:36.000Z
2020-11-07T07:15:32.000Z
# Do not edit this file directly. # It was auto-generated by: code/programs/reflexivity/reflexive_refresh load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") def backwardCpp(): http_archive( name="backward_cpp" , build_file="//bazel/deps/backward_cpp:build.BUILD" , sha256...
36.117647
110
0.71987
60
614
7.216667
0.716667
0.101617
0.073903
0
0
0
0
0
0
0
0
0.18591
0.167752
614
16
111
38.375
0.661448
0.164495
0
0
1
0
0.621569
0.388235
0
0
0
0
0
1
0.090909
true
0
0
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e85c11a22e61174bdeaf025d22bbffaed3e0740a
389
py
Python
common/data_refinery_common/models/keywords.py
AlexsLemonade/refinebio
52f44947f902adedaccf270d5f9dbd56ab47e40a
[ "BSD-3-Clause" ]
106
2018-03-05T16:24:47.000Z
2022-03-19T19:12:25.000Z
common/data_refinery_common/models/keywords.py
AlexsLemonade/refinebio
52f44947f902adedaccf270d5f9dbd56ab47e40a
[ "BSD-3-Clause" ]
1,494
2018-02-27T17:02:21.000Z
2022-03-24T15:10:30.000Z
common/data_refinery_common/models/keywords.py
AlexsLemonade/refinebio
52f44947f902adedaccf270d5f9dbd56ab47e40a
[ "BSD-3-Clause" ]
15
2019-02-03T01:34:59.000Z
2022-03-29T01:59:13.000Z
from django.db import models class SampleKeyword(models.Model): """An ontology term associated with a sample in our database""" name = models.ForeignKey("OntologyTerm", on_delete=models.CASCADE, related_name="+") sample = models.ForeignKey("Sample", on_delete=models.CASCADE, related_name="keywords") ...
38.9
91
0.753213
48
389
6
0.583333
0.166667
0.145833
0.21875
0.222222
0.222222
0
0
0
0
0
0
0.125964
389
9
92
43.222222
0.847059
0.14653
0
0
0
0
0.119632
0
0
0
0
0
0
1
0
false
0
0.2
0
1
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
0
0
1
0
0
3
e860440332d86b6b3ca85ecce7eb00e3679bdbbd
2,677
py
Python
src/001-050/P011.py
lord483/Project-Euler-Solutions
ba9e9451460d631774dfa75d61cedc1918a462c2
[ "MIT" ]
null
null
null
src/001-050/P011.py
lord483/Project-Euler-Solutions
ba9e9451460d631774dfa75d61cedc1918a462c2
[ "MIT" ]
null
null
null
src/001-050/P011.py
lord483/Project-Euler-Solutions
ba9e9451460d631774dfa75d61cedc1918a462c2
[ "MIT" ]
null
null
null
''' Largest product in a grid Problem 11 In the 20×20 grid below, four numbers along a diagonal line have been marked in red. 08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08 49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 00 81 49 31 73 55 79 14 29 93 71 40 67 53 88 30 03 49 13 36 65 52 70 95 23 ...
33.886076
137
0.601419
693
2,677
2.305916
0.240981
0.042553
0.025031
0.031289
0.234668
0.227159
0.209637
0.197747
0.14393
0.14393
0
0.475749
0.314531
2,677
78
138
34.320513
0.392371
0.594322
0
0.363636
0
0
0.175814
0
0
1
0
0
0
1
0
false
0
0
0
0
0.151515
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
1
0
0
0
0
0
0
0
0
0
0
0
0
3
e86a98ee3424d0aacdddbdc7e403b4080a9df6b8
3,549
py
Python
spacy/tests/lang/id/test_prefix_suffix_infix.py
cedar101/spaCy
66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95
[ "MIT" ]
12
2019-03-20T20:43:47.000Z
2020-04-13T11:10:52.000Z
spacy/tests/lang/id/test_prefix_suffix_infix.py
cedar101/spaCy
66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95
[ "MIT" ]
13
2018-06-05T11:54:40.000Z
2019-07-02T11:33:14.000Z
spacy/tests/lang/id/test_prefix_suffix_infix.py
cedar101/spaCy
66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95
[ "MIT" ]
2
2020-02-15T18:33:35.000Z
2022-02-13T14:11:41.000Z
# coding: utf-8 from __future__ import unicode_literals import pytest @pytest.mark.parametrize("text", ["(Ma'arif)"]) def test_id_tokenizer_splits_no_special(id_tokenizer, text): tokens = id_tokenizer(text) assert len(tokens) == 3 @pytest.mark.parametrize("text", ["Ma'arif"]) def test_id_tokenizer_splits_n...
30.86087
87
0.699352
491
3,549
4.814664
0.160896
0.218697
0.190355
0.158629
0.733503
0.692047
0.631134
0.62775
0.62775
0.62775
0
0.017653
0.138067
3,549
114
88
31.131579
0.755149
0.003663
0
0.3875
0
0
0.114601
0
0
0
0
0
0.3625
1
0.2
false
0
0.025
0
0.225
0
0
0
0
null
1
1
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
0
0
0
0
0
0
0
0
3
e8899f0751368e3fc024426e15aadeb9ace4e8bc
146
py
Python
myAlbum/apps.py
Vitalis-Kirui/My-Album
b2a10fbd50e9efafc9e360db7da1495f405f4516
[ "MIT" ]
null
null
null
myAlbum/apps.py
Vitalis-Kirui/My-Album
b2a10fbd50e9efafc9e360db7da1495f405f4516
[ "MIT" ]
null
null
null
myAlbum/apps.py
Vitalis-Kirui/My-Album
b2a10fbd50e9efafc9e360db7da1495f405f4516
[ "MIT" ]
null
null
null
from django.apps import AppConfig class MyalbumConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'myAlbum'
20.857143
56
0.760274
17
146
6.411765
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.150685
146
6
57
24.333333
0.879032
0
0
0
0
0
0.246575
0.19863
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
e8984f05a72c94e0a3bbd20e1605ce5b8217403c
35,666
py
Python
alt_bn128.py
meilof/python-libsnark
a7b1030d1955b5fa6782bce945c083bb4c27e6e3
[ "MIT" ]
9
2019-09-07T02:12:05.000Z
2021-10-14T05:56:32.000Z
alt_bn128.py
meilof/python-libsnark
a7b1030d1955b5fa6782bce945c083bb4c27e6e3
[ "MIT" ]
2
2021-03-22T20:18:46.000Z
2021-08-24T21:35:30.000Z
alt_bn128.py
meilof/python-libsnark
a7b1030d1955b5fa6782bce945c083bb4c27e6e3
[ "MIT" ]
3
2020-06-20T00:35:14.000Z
2021-08-30T10:02:41.000Z
# This file was automatically generated by SWIG (http://www.swig.org). # Version 4.0.2 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info if _swig_python_version_info < (2, 7, 0): raise Runtime...
41.089862
192
0.713116
4,610
35,666
5.113232
0.054447
0.107246
0.064738
0.025454
0.620694
0.502503
0.45151
0.398651
0.36047
0.315756
0
0.043597
0.160096
35,666
867
193
41.137255
0.74329
0.283912
0
0.285016
1
0.004886
0.074292
0.043246
0
0
0
0
0
1
0.224756
false
0
0.009772
0.001629
0.610749
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
e8d16aa6eaf5e1bed3803552532092ee81c92cb3
4,160
py
Python
app/models.py
Diogosantosecastro/bo_sales
e45599c57608e3e3e5c14fda8d31fa86af68877e
[ "MIT" ]
null
null
null
app/models.py
Diogosantosecastro/bo_sales
e45599c57608e3e3e5c14fda8d31fa86af68877e
[ "MIT" ]
null
null
null
app/models.py
Diogosantosecastro/bo_sales
e45599c57608e3e3e5c14fda8d31fa86af68877e
[ "MIT" ]
null
null
null
import datetime from werkzeug.security import generate_password_hash, check_password_hash from itsdangerous import TimedJSONWebSignatureSerializer as Serializer from flask import current_app, request, url_for from flask_login import UserMixin, AnonymousUserMixin from . import db, login_manager from sqlalchemy import de...
29.714286
106
0.672356
560
4,160
4.844643
0.285714
0.076668
0.095835
0.106156
0.391817
0.304829
0.286399
0.262809
0.250645
0.157759
0
0.016144
0.210817
4,160
139
107
29.928058
0.810235
0.075962
0
0.216495
1
0
0.056021
0
0
0
0
0
0
1
0.154639
false
0.134021
0.072165
0.051546
0.721649
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
2ce8b7b62dc423b145272eb8f5dce7606d5622fb
803
py
Python
Lista2/Lista2ex3.py
hugo-paiva/IntroducaoCienciasDaComputacao
a563f2fd5b773acbffaf4c858b86423b1130ae1f
[ "MIT" ]
null
null
null
Lista2/Lista2ex3.py
hugo-paiva/IntroducaoCienciasDaComputacao
a563f2fd5b773acbffaf4c858b86423b1130ae1f
[ "MIT" ]
null
null
null
Lista2/Lista2ex3.py
hugo-paiva/IntroducaoCienciasDaComputacao
a563f2fd5b773acbffaf4c858b86423b1130ae1f
[ "MIT" ]
null
null
null
cargo = input().lower().strip() tempo = int(input()) salarioAtual = float(input()) if salarioAtual < 1039: print('Salário inválido!') else: if cargo == 'gerente': if tempo <= 3: reajuste = salarioAtual * 0.12 elif tempo <= 6: reajuste = salarioAtual * 0.13 else: ...
28.678571
50
0.56538
83
803
5.46988
0.421687
0.30837
0.323789
0.165198
0.264317
0.264317
0
0
0
0
0
0.063869
0.317559
803
28
51
28.678571
0.764599
0.05604
0
0.32
0
0
0.093668
0.030343
0
0
0
0
0
1
0
false
0
0
0
0
0.12
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
2cf95cdd531a1260e248e5f043387aff9b7d904c
1,139
py
Python
cotidia/team/migrations/0003_auto_20170902_1700.py
guillaumepiot/cotidia-team
cbbc9bc6f3462f5156a38af36a7398bf40c50c85
[ "BSD-3-Clause" ]
null
null
null
cotidia/team/migrations/0003_auto_20170902_1700.py
guillaumepiot/cotidia-team
cbbc9bc6f3462f5156a38af36a7398bf40c50c85
[ "BSD-3-Clause" ]
null
null
null
cotidia/team/migrations/0003_auto_20170902_1700.py
guillaumepiot/cotidia-team
cbbc9bc6f3462f5156a38af36a7398bf40c50c85
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-02 17:00 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('team', '0002_auto_20170901_1317'), ] operations = [ migrations.AlterField( ...
27.780488
75
0.563652
116
1,139
5.396552
0.465517
0.159744
0.199681
0.231629
0.490415
0.490415
0.428115
0.428115
0.277955
0.277955
0
0.051086
0.312555
1,139
40
76
28.475
0.748404
0.059701
0
0.515152
1
0
0.073034
0.021536
0
0
0
0
0
1
0
false
0
0.060606
0
0.151515
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
fa149326b769efadbf316d9fbc1a4bef495f8a31
10,451
py
Python
templates/__init__.py
mpiannucci/MapGetter
b35046b023cddb79467d79c126315ed18af2650e
[ "MIT" ]
null
null
null
templates/__init__.py
mpiannucci/MapGetter
b35046b023cddb79467d79c126315ed18af2650e
[ "MIT" ]
5
2015-03-03T19:50:59.000Z
2015-10-16T18:06:36.000Z
templates/__init__.py
mpiannucci/MapGetter
b35046b023cddb79467d79c126315ed18af2650e
[ "MIT" ]
null
null
null
from web.template import CompiledTemplate, ForLoop, TemplateResult # coding: utf-8 def base (page): __lineoffset__ = -4 loop = ForLoop() self = TemplateResult(); extend_ = self.extend extend_([u'\n']) extend_([u'<html>\n']) extend_([u'<head>\n']) extend_([u' <meta name="viewport" conten...
53.321429
171
0.455937
1,208
10,451
3.786424
0.17798
0.260166
0.293835
0.062527
0.595977
0.570398
0.46655
0.432007
0.381067
0.320507
0
0.012631
0.325806
10,451
195
172
53.594872
0.636531
0.002583
0
0.497297
0
0.07027
0.640595
0.118042
0
0
0
0
0
1
0.010811
false
0
0.005405
0
0.027027
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fa2295bcaa503231240b13e5dccc210dbdebc7cd
1,312
bzl
Python
migrator/wix-bazel-migrator/src/main/resources/import_external.bzl
or-shachar/exodus
b28bf8f4c2330de47b8aac21c2bf3c40fda7cbdc
[ "MIT" ]
186
2019-06-05T01:02:53.000Z
2022-03-31T10:44:19.000Z
migrator/wix-bazel-migrator/src/main/resources/import_external.bzl
or-shachar/exodus
b28bf8f4c2330de47b8aac21c2bf3c40fda7cbdc
[ "MIT" ]
25
2019-06-04T23:18:55.000Z
2021-09-22T03:44:25.000Z
migrator/wix-bazel-migrator/src/main/resources/import_external.bzl
or-shachar/exodus
b28bf8f4c2330de47b8aac21c2bf3c40fda7cbdc
[ "MIT" ]
17
2019-06-04T18:45:19.000Z
2022-01-20T09:40:04.000Z
load("@bazel_tools//tools/build_defs/repo:jvm.bzl", "jvm_maven_import_external") _default_server_urls = ["https://repo.maven.apache.org/maven2/", "https://mvnrepository.com/artifact", "https://maven-central.storage.googleapis.com", "http://gitblit...
39.757576
94
0.673018
147
1,312
5.680272
0.37415
0.118563
0.20479
0.179641
0.48982
0.473054
0.407186
0.148503
0.148503
0.148503
0
0.005786
0.209604
1,312
33
95
39.757576
0.799421
0.007622
0
0.222222
0
0
0.235204
0.052267
0
0
0
0
0
1
0.148148
false
0
0.333333
0
0.481481
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
fa2e552117a07e65857ef89385383ba92941bbba
788
py
Python
tests/validators/test_genomic_substitution.py
cancervariants/varlex
3806317fa0125c3098e80124d5169fe6a13d50db
[ "MIT" ]
null
null
null
tests/validators/test_genomic_substitution.py
cancervariants/varlex
3806317fa0125c3098e80124d5169fe6a13d50db
[ "MIT" ]
15
2019-10-23T17:35:42.000Z
2020-05-05T21:04:01.000Z
tests/validators/test_genomic_substitution.py
cancervariants/varlex
3806317fa0125c3098e80124d5169fe6a13d50db
[ "MIT" ]
null
null
null
"""Module for testing Genomic Substitution Validator.""" import unittest from variation.validators import GenomicSubstitution from variation.classifiers import GenomicSubstitutionClassifier from .validator_base import ValidatorBase class TestGenomicSubstitutionValidator(ValidatorBase, unittest.TestCase): """A cl...
34.26087
73
0.758883
74
788
8.013514
0.418919
0.192243
0.094435
0
0
0
0
0
0
0
0
0
0.164975
788
22
74
35.818182
0.901216
0.308376
0
0
0
0
0.038536
0
0
0
0
0
0
1
0.272727
false
0
0.363636
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
1
0
0
1
0
1
0
0
3
fa329d3c9d8a8dea9d6ef7f5705d1286a5b91b16
124
py
Python
profiles_api/urls.py
aman162000/rest-api
aa979ca07e1069371fd395b42b37cbb7a7d24049
[ "MIT" ]
null
null
null
profiles_api/urls.py
aman162000/rest-api
aa979ca07e1069371fd395b42b37cbb7a7d24049
[ "MIT" ]
null
null
null
profiles_api/urls.py
aman162000/rest-api
aa979ca07e1069371fd395b42b37cbb7a7d24049
[ "MIT" ]
null
null
null
from django.urls import path from .views import HelloApiView urlpatterns = [ path('hello/',HelloApiView.as_view()) ]
17.714286
43
0.725806
15
124
5.933333
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.16129
124
7
44
17.714286
0.855769
0
0
0
0
0
0.048
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
fa3390d15dabeb34ce937795ebd7071e7f5a9e98
202
py
Python
config/product/product_config.py
Eastwu5788/Heron
646eeaacea77e293c6eccc6dad82a04ece9294a3
[ "Apache-2.0" ]
7
2018-01-29T02:46:31.000Z
2018-03-25T11:15:10.000Z
config/product/product_config.py
Eastwu5788/Heron
646eeaacea77e293c6eccc6dad82a04ece9294a3
[ "Apache-2.0" ]
4
2021-06-08T19:38:03.000Z
2022-03-11T23:18:46.000Z
config/product/product_config.py
Eastwu5788/Heron
646eeaacea77e293c6eccc6dad82a04ece9294a3
[ "Apache-2.0" ]
1
2021-06-12T14:14:35.000Z
2021-06-12T14:14:35.000Z
""" 生产环境的配置文件 配置内容: 1. MySQL 2. Redis 3. Memcached 4. Other """ from config.base.base_config import BaseConfig class ProductConfig(BaseConfig): @staticmethod def init_app(app): pass
11.222222
46
0.693069
26
202
5.307692
0.846154
0
0
0
0
0
0
0
0
0
0
0.025
0.207921
202
17
47
11.882353
0.8375
0.277228
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
fa4e1a0f0a2e98815210e7bbe3603e4faa3d76f9
298
wsgi
Python
catalog.wsgi
algarni/catalog
5f7353e310a74087a39bf29a44cb856408b32cca
[ "MIT" ]
null
null
null
catalog.wsgi
algarni/catalog
5f7353e310a74087a39bf29a44cb856408b32cca
[ "MIT" ]
null
null
null
catalog.wsgi
algarni/catalog
5f7353e310a74087a39bf29a44cb856408b32cca
[ "MIT" ]
null
null
null
import sys if sys.version_info[0]<3: # require python3 raise Exception("Python3 required! Current (wrong) version: '%s'" % sys.version_info) sys.path.insert(0, '/home/grader/catalog') import os os.environ['OAUTHLIB_INSECURE_TRANSPORT'] = '1' from application import app as application
29.8
89
0.734899
42
298
5.119048
0.714286
0.093023
0.130233
0
0
0
0
0
0
0
0
0.023438
0.14094
298
9
90
33.111111
0.816406
0.050336
0
0
0
0
0.338078
0.096085
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
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
fa5eaef028a4f658f897b28e9311068311e761bc
5,364
py
Python
pipeline/util/generate-makefile.py
goodb/go-site
352dc124ed502d7fb92cc211617ac0d4b007ea7a
[ "BSD-3-Clause" ]
null
null
null
pipeline/util/generate-makefile.py
goodb/go-site
352dc124ed502d7fb92cc211617ac0d4b007ea7a
[ "BSD-3-Clause" ]
null
null
null
pipeline/util/generate-makefile.py
goodb/go-site
352dc124ed502d7fb92cc211617ac0d4b007ea7a
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 """ Generates a Makefile based on metadata descriptions of source files. """ __author__ = 'cjm' import argparse import yaml from json import dumps SKIP = ["goa_pdb", "goa_uniprot_gcrp"] ONLY_GAF = ["goa_uniprot_all"] def main(): parser = argparse.ArgumentParser(description='GO Metadata'...
32.707317
144
0.61223
752
5,364
4.219415
0.232713
0.028995
0.022061
0.040971
0.248661
0.201072
0.172392
0.095808
0.076899
0.022061
0
0.001212
0.230984
5,364
163
145
32.907975
0.768
0.094519
0
0.058824
1
0.008403
0.176934
0.019498
0
0
0
0.01227
0
1
0.159664
false
0
0.02521
0.12605
0.336134
0.109244
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
1
0
0
0
0
0
0
1
0
0
0
3
fa62e4dd4ac79609c4891dcc930bed151fb6dd13
6,289
py
Python
src/main/1.launch_spiders.py
Peter-32/scrapy2
a9d7b837a90cd8f5567c78a838dd914b42395929
[ "MIT" ]
null
null
null
src/main/1.launch_spiders.py
Peter-32/scrapy2
a9d7b837a90cd8f5567c78a838dd914b42395929
[ "MIT" ]
null
null
null
src/main/1.launch_spiders.py
Peter-32/scrapy2
a9d7b837a90cd8f5567c78a838dd914b42395929
[ "MIT" ]
null
null
null
import os import re import scrapy import shutil import scrapy from bs4 import BeautifulSoup from scrapy.crawler import CrawlerProcess try: shutil.rmtree("html") except: pass os.mkdir("html") if not os.path.exists("../../data/processed"): os.mkdir("../../data/processed") # Customize Spiders class Explorat...
41.375
451
0.63937
848
6,289
4.569575
0.181604
0.139355
0.050323
0.069677
0.716903
0.700645
0.700645
0.691871
0.691871
0.671226
0
0.006037
0.20989
6,289
151
452
41.649007
0.773798
0.005088
0
0.698413
0
0
0.232491
0.034538
0
0
0
0
0
1
0.079365
false
0.007937
0.055556
0
0.253968
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
d70bad42e0d2ccd29f7b0de49ecfd696bfdd8e16
5,204
py
Python
tests/test_inlinequeryresultlocation.py
ehsanbarkhordar/botcup
4e45c3df2dceb8afe3833c0e89813fa9493295ed
[ "MIT" ]
1
2019-10-22T03:46:17.000Z
2019-10-22T03:46:17.000Z
python-telegram-bot/tests/test_inlinequeryresultlocation.py
shyguy-ry/paddingCheckBot
d0a60cc2f397b9b8e4d60bdea699a94beaff2ea1
[ "Apache-2.0" ]
null
null
null
python-telegram-bot/tests/test_inlinequeryresultlocation.py
shyguy-ry/paddingCheckBot
d0a60cc2f397b9b8e4d60bdea699a94beaff2ea1
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # A library that provides a Python interface to the Telegram Bot API # Copyright (C) 2015-2018 # Leandro Toledo de Souza <devs@python-telegram-bot.org> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser Public License as published by #...
46.882883
97
0.733859
614
5,204
5.903909
0.223127
0.118345
0.182897
0.268966
0.491034
0.384828
0.206069
0.103724
0.087448
0.030897
0
0.004749
0.190815
5,204
110
98
47.309091
0.856091
0.14854
0
0
0
0
0.037616
0.009517
0
0
0
0
0.410256
1
0.051282
false
0
0.025641
0.012821
0.24359
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
1
0
0
0
0
0
0
0
0
0
3
d714b95942543d8ed978f9c07cdd5da99df95404
431
py
Python
Leak #5 - Lost In Translation/windows/Resources/Ops/PyScripts/lib/ops/data/logonasuser.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
9
2019-11-22T04:58:40.000Z
2022-02-26T16:47:28.000Z
Python.Fuzzbunch/Resources/Ops/PyScripts/lib/ops/data/logonasuser.py
010001111/Vx-Suites
6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79
[ "MIT" ]
null
null
null
Python.Fuzzbunch/Resources/Ops/PyScripts/lib/ops/data/logonasuser.py
010001111/Vx-Suites
6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79
[ "MIT" ]
8
2017-09-27T10:31:18.000Z
2022-01-08T10:30:46.000Z
from ops.data import OpsClass, OpsField, DszObject, DszCommandObject, cmd_definitions import dsz if ('logonasuser' not in cmd_definitions): dszlogonasuser = OpsClass('logon', {'handle': OpsField('handle', dsz.TYPE_INT), 'alias': OpsField('alias', dsz.TYPE_STRING)}, DszObject) logonasusercommand = OpsClass('log...
61.571429
140
0.765661
44
431
7.386364
0.522727
0.129231
0.184615
0
0
0
0
0
0
0
0
0
0.106729
431
7
141
61.571429
0.844156
0
0
0
0
0
0.150812
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d72e892915335480b53fbfd87ceac9dc5a600f65
2,109
py
Python
tests/utils.py
tdm-project/pykeyrock
805ad0b68368c619bb6bb98d86231cbb22622d3e
[ "Apache-2.0" ]
null
null
null
tests/utils.py
tdm-project/pykeyrock
805ad0b68368c619bb6bb98d86231cbb22622d3e
[ "Apache-2.0" ]
null
null
null
tests/utils.py
tdm-project/pykeyrock
805ad0b68368c619bb6bb98d86231cbb22622d3e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # Copyright 2021 CRS4 - Center for Advanced Studies, Research and Development # in Sardinia # # 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.ap...
30.565217
78
0.716927
293
2,109
5.03413
0.392491
0.067119
0.109153
0.113898
0.399322
0.349831
0.293559
0.289492
0.289492
0.289492
0
0.012728
0.143196
2,109
68
79
31.014706
0.803542
0.303936
0
0.214286
0
0
0.217092
0.026878
0
0
0
0
0
1
0.392857
false
0.035714
0.071429
0.25
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d72fccdfae51e7119d125f6e8f6484c4a63ef468
219
py
Python
donut/modules/editor/__init__.py
rlin0/donut
5672df8e853b4b775d7d50665128b255cd695ec2
[ "MIT" ]
null
null
null
donut/modules/editor/__init__.py
rlin0/donut
5672df8e853b4b775d7d50665128b255cd695ec2
[ "MIT" ]
null
null
null
donut/modules/editor/__init__.py
rlin0/donut
5672df8e853b4b775d7d50665128b255cd695ec2
[ "MIT" ]
null
null
null
import flask blueprint = flask.Blueprint( 'editor', __name__, template_folder='templates', static_folder='static', static_url_path='/donut/modules/editor/static') import donut.modules.editor.routes
21.9
51
0.730594
25
219
6.08
0.56
0.184211
0.236842
0
0
0
0
0
0
0
0
0
0.150685
219
9
52
24.333333
0.817204
0
0
0
0
0
0.223744
0.127854
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.125
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
d7457db529fa802019d3c499f8105b9a9dcc4a77
822
py
Python
datacube/__init__.py
otto-AMA/datacube-core
b5ef5bb8d303a73bebdeca5b80486265067bbcb3
[ "Apache-2.0" ]
2
2019-10-24T15:29:54.000Z
2019-10-24T15:29:58.000Z
datacube/__init__.py
otto-AMA/datacube-core
b5ef5bb8d303a73bebdeca5b80486265067bbcb3
[ "Apache-2.0" ]
2
2021-03-26T00:37:36.000Z
2021-03-31T20:05:01.000Z
datacube/__init__.py
PhilipeRLeal/datacube-core
81bed714f2e5cb30a2492f1b0cf3397b79141c3a
[ "Apache-2.0" ]
null
null
null
""" Datacube ======== Provides access to multi-dimensional data, with a focus on Earth observations data such as LANDSAT. To use this module, see the `Developer Guide <http://datacube-core.readthedocs.io/en/stable/dev/developer.html>`_. The main class to access the datacube is :class:`datacube.Datacube`. To initial...
29.357143
114
0.770073
116
822
5.362069
0.62931
0.019293
0
0
0
0
0
0
0
0
0
0.015625
0.143552
822
27
115
30.444444
0.867898
0.70073
0
0
0
0
0.07173
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
d7966dfa46216625a8a0d8282802b83f9c635c8e
172
py
Python
assignment26.py
swarnaishu/nlp-peronsal-archive
b5ddcb892cc55fe2e1cb66c1726c0ff83b9ce4e0
[ "MIT" ]
null
null
null
assignment26.py
swarnaishu/nlp-peronsal-archive
b5ddcb892cc55fe2e1cb66c1726c0ff83b9ce4e0
[ "MIT" ]
null
null
null
assignment26.py
swarnaishu/nlp-peronsal-archive
b5ddcb892cc55fe2e1cb66c1726c0ff83b9ce4e0
[ "MIT" ]
null
null
null
import grammar_check tool=grammar_check.LanguageTool('en-gb') sentence='he is playing cricket' matches=tool.check(sentence) len(matches) grammar_check.correct(text,matches)
28.666667
40
0.831395
25
172
5.6
0.64
0.257143
0
0
0
0
0
0
0
0
0
0
0.052326
172
6
41
28.666667
0.858896
0
0
0
0
0
0.150289
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
ad1455af4f0d4a3294c6b90d4e3992b5f4ad6740
878
py
Python
main/migrations/0018_dmis_reponse_tools.py
IFRCGo/ifrcgo_react
bfd8572daeb492b0659543be58152626f613a7f4
[ "MIT" ]
null
null
null
main/migrations/0018_dmis_reponse_tools.py
IFRCGo/ifrcgo_react
bfd8572daeb492b0659543be58152626f613a7f4
[ "MIT" ]
null
null
null
main/migrations/0018_dmis_reponse_tools.py
IFRCGo/ifrcgo_react
bfd8572daeb492b0659543be58152626f613a7f4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-11-28 18:45 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0017_auto_20161123_2339'), ] operations = [ migrations.CreateModel(...
31.357143
114
0.575171
91
878
5.351648
0.637363
0.154004
0.184805
0.246407
0.277207
0
0
0
0
0
0
0.076312
0.283599
878
27
115
32.518519
0.697933
0.077449
0
0
1
0
0.091698
0.028501
0
0
0
0
0
1
0
false
0
0.1
0
0.25
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
ad1ba098ba4555a10cc7182ed30f6c9b613f9fe0
105
py
Python
mtinkerer/utils.py
Legutier/mtinkerer
9afd810b12f85917661e88d28b1b8e5d6e0904a4
[ "MIT" ]
null
null
null
mtinkerer/utils.py
Legutier/mtinkerer
9afd810b12f85917661e88d28b1b8e5d6e0904a4
[ "MIT" ]
null
null
null
mtinkerer/utils.py
Legutier/mtinkerer
9afd810b12f85917661e88d28b1b8e5d6e0904a4
[ "MIT" ]
null
null
null
import sys def dir_slash(): slash = '/' if 'win' in sys.platform: slash = '\\' return slash
15
42
0.571429
14
105
4.214286
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.27619
105
6
43
17.5
0.776316
0
0
0
0
0
0.057143
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
ad1e13e924aebf4796252d64c1becb94482af41c
9,047
py
Python
ntcore/api.py
amorygalili/pynetworktables
59b5d1328274e78393202fe2a7e09845f5ff63a5
[ "BSD-3-Clause" ]
null
null
null
ntcore/api.py
amorygalili/pynetworktables
59b5d1328274e78393202fe2a7e09845f5ff63a5
[ "BSD-3-Clause" ]
null
null
null
ntcore/api.py
amorygalili/pynetworktables
59b5d1328274e78393202fe2a7e09845f5ff63a5
[ "BSD-3-Clause" ]
null
null
null
# validated: 2018-11-27 DS 8eafe7f32561 cpp/ntcore_cpp.cpp from .connection_notifier import ConnectionNotifier from .dispatcher import Dispatcher from .ds_client import DsClient from .entry_notifier import EntryNotifier from .rpc_server import RpcServer from .storage import Storage from ntcore.constants import NT_NOT...
31.632867
87
0.696253
978
9,047
6.305726
0.218814
0.064213
0.066159
0.013783
0.250851
0.159072
0.068591
0.02108
0.02108
0.02108
0
0.002266
0.219631
9,047
285
88
31.74386
0.871246
0.073505
0
0.075581
0
0
0
0
0
0
0
0.003509
0
1
0.383721
false
0
0.040698
0.203488
0.656977
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
ad2480c80d071a86a442b037bb0843f01bee1126
97
py
Python
bench/bench_long_empty_string.py
janaknat/markupsafe
770b029aac97da76d306a45a6f33998393a0835a
[ "BSD-3-Clause" ]
415
2016-03-29T13:11:21.000Z
2022-03-30T16:25:27.000Z
bench/bench_long_empty_string.py
janaknat/markupsafe
770b029aac97da76d306a45a6f33998393a0835a
[ "BSD-3-Clause" ]
116
2016-03-31T15:09:01.000Z
2022-03-18T01:46:10.000Z
bench/bench_long_empty_string.py
janaknat/markupsafe
770b029aac97da76d306a45a6f33998393a0835a
[ "BSD-3-Clause" ]
124
2016-03-29T15:55:23.000Z
2022-03-24T23:16:04.000Z
from markupsafe import escape def run(): string = "Hello World!" * 1000 escape(string)
13.857143
34
0.659794
12
97
5.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0.054054
0.237113
97
6
35
16.166667
0.810811
0
0
0
0
0
0.123711
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
ad29c10ca38091b95ef4e4961d451949dc1b7a63
140
py
Python
CommonTools/PileupAlgos/python/PUPuppi_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CommonTools/PileupAlgos/python/PUPuppi_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CommonTools/PileupAlgos/python/PUPuppi_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms from CommonTools.PileupAlgos.Puppi_cff import * pupuppi = puppi.clone( invertPuppi = True )
15.555556
47
0.771429
17
140
6.294118
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.157143
140
8
48
17.5
0.90678
0
0
0
0
0
0
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
ad2e325248e219f969ad805ed5c1ddd1ed10e29a
361
py
Python
components/server/src/data_model/meta/scale.py
kargaranamir/quality-time
1c427c61bee9d31c3526f0a01be2218a7e167c23
[ "Apache-2.0" ]
33
2016-01-20T07:35:48.000Z
2022-03-14T09:20:51.000Z
components/server/src/data_model/meta/scale.py
kargaranamir/quality-time
1c427c61bee9d31c3526f0a01be2218a7e167c23
[ "Apache-2.0" ]
2,410
2016-01-22T18:13:01.000Z
2022-03-31T16:57:34.000Z
components/server/src/data_model/meta/scale.py
kargaranamir/quality-time
1c427c61bee9d31c3526f0a01be2218a7e167c23
[ "Apache-2.0" ]
21
2016-01-16T11:49:23.000Z
2022-01-14T21:53:22.000Z
"""Data model scales.""" from pydantic import BaseModel # pylint: disable=no-name-in-module from .base import DescribedModel class Scale(DescribedModel): # pylint: disable=too-few-public-methods """Base model for scales.""" class Scales(BaseModel): # pylint: disable=too-few-public-methods """Scales map...
22.5625
70
0.709141
45
361
5.6
0.577778
0.154762
0.174603
0.150794
0.253968
0.253968
0
0
0
0
0
0
0.152355
361
15
71
24.066667
0.823529
0.470914
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
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
ad2e545f8bd77eab7224478437910b2f7c55cbfe
289
py
Python
python-django/oauth2demo/oauth/core/token.py
SequencingDOTcom/oAuth2-demo
609bd138cff07643a0c3e1df48f4f2e4adc9be34
[ "MIT" ]
1
2020-11-05T22:16:37.000Z
2020-11-05T22:16:37.000Z
python-django/oauth2demo/oauth/core/token.py
SequencingDOTcom/oAuth2-demo
609bd138cff07643a0c3e1df48f4f2e4adc9be34
[ "MIT" ]
3
2018-02-24T15:01:20.000Z
2021-11-29T17:29:02.000Z
python-django/oauth2demo/oauth/core/token.py
SequencingDOTcom/oAuth2-demo
609bd138cff07643a0c3e1df48f4f2e4adc9be34
[ "MIT" ]
3
2017-04-06T01:38:20.000Z
2017-05-17T09:44:35.000Z
class Token(object): def __init__(self, access_token, refresh_token, lifetime): self.access_token = access_token # Access token value self.refresh_token = refresh_token # Token needed for refreshing access token self.lifetime = lifetime # Access token lifetime
48.166667
85
0.733564
36
289
5.611111
0.361111
0.326733
0.148515
0.217822
0
0
0
0
0
0
0
0
0.204152
289
5
86
57.8
0.878261
0.280277
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ad4903fabdfc5f6611309c2c096361056a44aef4
1,696
py
Python
src/feverous/utils/util.py
creisle/FEVEROUS
73b6c0d52f61c744ed874556b0f5aebef6d707f4
[ "Apache-2.0" ]
42
2021-05-20T19:29:14.000Z
2022-03-16T16:44:16.000Z
src/feverous/utils/util.py
creisle/FEVEROUS
73b6c0d52f61c744ed874556b0f5aebef6d707f4
[ "Apache-2.0" ]
19
2021-05-22T07:18:07.000Z
2022-02-22T03:56:17.000Z
src/feverous/utils/util.py
creisle/FEVEROUS
73b6c0d52f61c744ed874556b0f5aebef6d707f4
[ "Apache-2.0" ]
15
2021-06-05T05:22:27.000Z
2022-03-22T19:41:01.000Z
import json import sys import os import jsonlines import traceback import logging from tqdm import tqdm import pickle import itertools import linecache import html import re ALL_TITLES = {} class WikiElement(object): def get_ids(self) -> list: """Returns list of all ids in that element""" pass ...
23.887324
106
0.663915
231
1,696
4.688312
0.359307
0.038781
0.060942
0.077562
0.201293
0.160665
0.11819
0.051708
0
0
0
0.000776
0.240566
1,696
70
107
24.228571
0.840062
0.185731
0
0.12766
0
0
0.004418
0
0
0
0
0
0
1
0.234043
false
0.085106
0.276596
0.042553
0.702128
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
ad5df7e0ac0ccea4a0e14ece5d00fd05403cf9fa
3,065
py
Python
src/scs_dfe/climate/sht_conf.py
open-seneca/alphasense_aq_sensor
12f37f19b4e2fe6f159b127261130d8d3bc48196
[ "MIT" ]
1
2021-05-10T09:12:13.000Z
2021-05-10T09:12:13.000Z
src/scs_dfe/climate/sht_conf.py
open-seneca/alphasense_aq_sensor
12f37f19b4e2fe6f159b127261130d8d3bc48196
[ "MIT" ]
null
null
null
src/scs_dfe/climate/sht_conf.py
open-seneca/alphasense_aq_sensor
12f37f19b4e2fe6f159b127261130d8d3bc48196
[ "MIT" ]
2
2019-03-07T00:25:11.000Z
2020-02-28T13:45:55.000Z
""" Created on 13 Dec 2016 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) the I2C addresses of the internal (in A4 pot) and external (exposed to air) SHTs example JSON: {"int": "0x44", "ext": "0x45"} """ from collections import OrderedDict from scs_core.data.json import PersistentJSONable from scs_dfe...
26.652174
118
0.42186
278
3,065
4.323741
0.284173
0.069884
0.06406
0.0599
0.22629
0.199667
0.058236
0.058236
0
0
0
0.012495
0.216639
3,065
114
119
26.885965
0.48813
0.400653
0
0.1875
0
0
0.036476
0.011785
0
0
0
0
0
1
0.208333
false
0
0.0625
0.083333
0.583333
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
1
0
0
0
0
1
0
0
3
ad84b2af1a602a9db8e3fece5d4512508e6dcfcc
42
py
Python
arametrics-test-app/config/config.py
AravinthPanch/araMetrics
cf5b5c4d954ed8924dd0f42902a906446253f190
[ "Apache-2.0" ]
null
null
null
arametrics-test-app/config/config.py
AravinthPanch/araMetrics
cf5b5c4d954ed8924dd0f42902a906446253f190
[ "Apache-2.0" ]
4
2020-10-18T20:34:42.000Z
2021-06-02T03:15:17.000Z
arametrics-test-app/config/config.py
AravinthPanch/araMetrics
cf5b5c4d954ed8924dd0f42902a906446253f190
[ "Apache-2.0" ]
null
null
null
TEST_API_ENDPOINT='https://aravinth.info'
21
41
0.809524
6
42
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.02381
42
1
42
42
0.780488
0
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a8e42d141b78ec79032a3ddf29673bfce002b90a
242
py
Python
model_a/utils.py
uSasha/pydata_demo
c7ef5fd12564078c5d0086f4e3f582f5b7e3d143
[ "MIT" ]
6
2019-02-06T13:49:28.000Z
2020-06-17T17:05:13.000Z
model_a/utils.py
uSasha/pydata_demo
c7ef5fd12564078c5d0086f4e3f582f5b7e3d143
[ "MIT" ]
null
null
null
model_a/utils.py
uSasha/pydata_demo
c7ef5fd12564078c5d0086f4e3f582f5b7e3d143
[ "MIT" ]
1
2018-11-02T15:09:50.000Z
2018-11-02T15:09:50.000Z
import redis class ClueLogger: def __init__(self, block, model): self.block = block self.r = redis.StrictRedis('redis') def out(self, model, value): self.r.xadd(self.block, {'model': model, 'value': value})
22
65
0.615702
31
242
4.677419
0.451613
0.186207
0.193103
0
0
0
0
0
0
0
0
0
0.239669
242
10
66
24.2
0.788043
0
0
0
0
0
0.061983
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
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
a8e6cbe66351f44a0229f0bb3f1ae72cac8f9bed
3,556
py
Python
pysnmp/IANA-ADDRESS-FAMILY-NUMBERS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/IANA-ADDRESS-FAMILY-NUMBERS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/IANA-ADDRESS-FAMILY-NUMBERS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module IANA-ADDRESS-FAMILY-NUMBERS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/IANA-ADDRESS-FAMILY-NUMBERS-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 16:50:53 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Pytho...
148.166667
963
0.734533
386
3,556
6.759067
0.5
0.015332
0.012265
0.027597
0.238789
0.131851
0.131851
0.131851
0.131851
0.131851
0
0.149461
0.087458
3,556
23
964
154.608696
0.654545
0.100112
0
0
0
0
0.354748
0.081793
0
0
0
0
0
1
0
false
0
0.4
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a8f3f027967e1d46cc102ccb489c41e7ea99b792
8,504
py
Python
ThePythonSpreader.py
53686b/ThePythonSpreader
29382a51837a2e5350350373dc8024d2648684a2
[ "MIT" ]
null
null
null
ThePythonSpreader.py
53686b/ThePythonSpreader
29382a51837a2e5350350373dc8024d2648684a2
[ "MIT" ]
null
null
null
ThePythonSpreader.py
53686b/ThePythonSpreader
29382a51837a2e5350350373dc8024d2648684a2
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Code by: @53686b (Github/Twitter) # Version: 1.0.1 (23/03/2021) """ ThePythonSpreader is a script that creates files capable of multiplying themselves. The first file copies itself to a new file, which results of the addition of a random number to the original file name...
47.244444
103
0.292686
552
8,504
4.422101
0.387681
0.019664
0.011471
0.013109
0.03687
0.019664
0.019664
0.019664
0.019664
0.019664
0
0.00565
0.125823
8,504
179
104
47.50838
0.322706
0.257173
0
0.4
0
0
0.727056
0.682361
0.02
0
0
0
0
1
0
false
0.02
0.06
0
0.06
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a8f8bdc6e0c58f209cc0e0020420fb7075a76c80
91
py
Python
tests/runtime-trace-tests/cases/assign_stmt.py
jaydeetay/pxt
aad1beaf15edc46e1327806367298cbc942dcbc1
[ "MIT" ]
977
2019-05-06T23:12:55.000Z
2022-03-29T19:11:44.000Z
tests/runtime-trace-tests/cases/assign_stmt.py
jaydeetay/pxt
aad1beaf15edc46e1327806367298cbc942dcbc1
[ "MIT" ]
3,980
2019-05-09T20:48:14.000Z
2022-03-28T20:33:07.000Z
tests/runtime-trace-tests/cases/assign_stmt.py
jaydeetay/pxt
aad1beaf15edc46e1327806367298cbc942dcbc1
[ "MIT" ]
306
2016-04-09T05:28:07.000Z
2019-05-02T14:23:29.000Z
# regular assignment foo = 7 print(foo) # annotated assignmnet bar: number = 9 print(bar)
11.375
22
0.725275
13
91
5.076923
0.769231
0
0
0
0
0
0
0
0
0
0
0.026667
0.175824
91
7
23
13
0.853333
0.428571
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
d1174eb024f36be2dfe83f19e7103973d5eb2c3f
311
py
Python
prashpyutil/sum.py
pfarkya/prashpyutil
31a95222d5b5286df338f7615d3e2dfb864207d5
[ "MIT" ]
null
null
null
prashpyutil/sum.py
pfarkya/prashpyutil
31a95222d5b5286df338f7615d3e2dfb864207d5
[ "MIT" ]
3
2020-03-24T17:56:11.000Z
2021-02-02T22:23:15.000Z
prashpyutil/sum.py
pfarkya/prashpyutil
31a95222d5b5286df338f7615d3e2dfb864207d5
[ "MIT" ]
null
null
null
def sumoftwo(a, b): """ This is an sumoftwo function to add two number :param int a: first number to add :param int b: first number to add :return: return addition of the integer :rtype: int :example: >>> r = sumoftwo(2, 3) >>> r 5 """ return a + b
19.4375
50
0.543408
45
311
3.755556
0.577778
0.088757
0.153846
0.189349
0
0
0
0
0
0
0
0.015
0.356913
311
15
51
20.733333
0.83
0.707396
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
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
1
0
0
0
0
1
0
0
3
d13596af66166d72f737255dad4089e6176feb5a
89
py
Python
individual/carshop/apps.py
PavelBelka/django-2-individual
c7f3409cc221949ef3bbc58f02a3d001881c357a
[ "MIT" ]
null
null
null
individual/carshop/apps.py
PavelBelka/django-2-individual
c7f3409cc221949ef3bbc58f02a3d001881c357a
[ "MIT" ]
null
null
null
individual/carshop/apps.py
PavelBelka/django-2-individual
c7f3409cc221949ef3bbc58f02a3d001881c357a
[ "MIT" ]
null
null
null
from django.apps import AppConfig class CarshopConfig(AppConfig): name = 'carshop'
14.833333
33
0.752809
10
89
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
34
17.8
0.905405
0
0
0
0
0
0.078652
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
d1401c75478a25e65b4c55a4340eb79e47dfd3a5
567
py
Python
encoder_decoder/dtypes_encode_decode.py
UMass-Rescue/encoder_decoder
9e151939e170985f077f0df1418800847fe3980f
[ "MIT" ]
null
null
null
encoder_decoder/dtypes_encode_decode.py
UMass-Rescue/encoder_decoder
9e151939e170985f077f0df1418800847fe3980f
[ "MIT" ]
null
null
null
encoder_decoder/dtypes_encode_decode.py
UMass-Rescue/encoder_decoder
9e151939e170985f077f0df1418800847fe3980f
[ "MIT" ]
null
null
null
import numpy as np def float_ndarray_to_dict(arr): return np_arr_to_dict(arr) def dict_to_float_ndarray(string): return dict_to_np_arr(string) def identity(e): return e def float_to_string(num): return str(num) def string_to_float(string): return float(string) def np_arr_to_dict(arr): retu...
21.807692
65
0.68254
91
567
4.010989
0.263736
0.054795
0.073973
0.082192
0.076712
0
0
0
0
0
0
0
0.179894
567
26
66
21.807692
0.784946
0
0
0
0
0
0.045775
0
0
0
0
0
0
1
0.368421
false
0
0.052632
0.315789
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
d14c97a259139bb4fe5285f6963b2b8354d55747
174
py
Python
Desafios/desafio55.py
gustavodoamaral/115_Desafios_Python
8baa1c0353a40f7a63f442293bc0f6852fd94da0
[ "MIT" ]
1
2022-02-07T01:12:19.000Z
2022-02-07T01:12:19.000Z
Desafios/desafio55.py
gustavodoamaral/desafios_python_gustavo_guanabara
8baa1c0353a40f7a63f442293bc0f6852fd94da0
[ "MIT" ]
null
null
null
Desafios/desafio55.py
gustavodoamaral/desafios_python_gustavo_guanabara
8baa1c0353a40f7a63f442293bc0f6852fd94da0
[ "MIT" ]
null
null
null
pesos = [] for p in range(1,6): peso = int(input("Digite o peso: ")) pesos.append(peso) print("o menor peso é {} e o menor peso é {}".format(min(pesos), max(pesos)))
34.8
77
0.609195
31
174
3.419355
0.645161
0.113208
0.188679
0.207547
0
0
0
0
0
0
0
0.014286
0.195402
174
5
77
34.8
0.742857
0
0
0
0
0
0.297143
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
d14f87dbbd3be8282134e40c516b79c803bc0c32
1,795
py
Python
pymtl3/stdlib/test_utils/test_srcs.py
kevinyuan/pymtl3
5949e6a4acc625c0ccbbb25be3af1d0db683df3c
[ "BSD-3-Clause" ]
null
null
null
pymtl3/stdlib/test_utils/test_srcs.py
kevinyuan/pymtl3
5949e6a4acc625c0ccbbb25be3af1d0db683df3c
[ "BSD-3-Clause" ]
null
null
null
pymtl3/stdlib/test_utils/test_srcs.py
kevinyuan/pymtl3
5949e6a4acc625c0ccbbb25be3af1d0db683df3c
[ "BSD-3-Clause" ]
null
null
null
""" ======================================================================== Test sources ======================================================================== Test sources with CL or RTL interfaces. Author : Yanghui Ou Date : Mar 11, 2019 """ from collections import deque from pymtl3 import * from pymtl3.stdlib...
24.256757
74
0.472423
186
1,795
4.489247
0.365591
0.041916
0.053892
0.071856
0.22994
0.22994
0.22994
0.22994
0.22994
0.22994
0
0.011127
0.198886
1,795
73
75
24.589041
0.569541
0.369916
0
0.25
0
0
0.003597
0
0
0
0
0.013699
0
1
0.21875
false
0
0.09375
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
d169b108ea2f8a3d3ddca8cc1d33730dcf63a09c
46
py
Python
project-simple-00.py
MaxZar1/project-simple
c3f1256c182c6a90f2dc3da96b393b427885ea10
[ "MIT" ]
null
null
null
project-simple-00.py
MaxZar1/project-simple
c3f1256c182c6a90f2dc3da96b393b427885ea10
[ "MIT" ]
null
null
null
project-simple-00.py
MaxZar1/project-simple
c3f1256c182c6a90f2dc3da96b393b427885ea10
[ "MIT" ]
4
2021-02-15T07:54:56.000Z
2021-02-15T08:53:34.000Z
# to jest komentarz WIDTH = 550 HEIGHT = 550
9.2
19
0.695652
7
46
4.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0.171429
0.23913
46
4
20
11.5
0.742857
0.369565
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
0f0ede435fe549398b1328a408b971bf1e594538
113
py
Python
src/atcoder/abc056/a/sol_0.py
kagemeka/competitive-programming
c70fe481bcd518f507b885fc9234691d8ce63171
[ "MIT" ]
1
2021-07-11T03:20:10.000Z
2021-07-11T03:20:10.000Z
src/atcoder/abc056/a/sol_0.py
kagemeka/competitive-programming
c70fe481bcd518f507b885fc9234691d8ce63171
[ "MIT" ]
39
2021-07-10T05:21:09.000Z
2021-12-15T06:10:12.000Z
src/atcoder/abc056/a/sol_0.py
kagemeka/competitive-programming
c70fe481bcd518f507b885fc9234691d8ce63171
[ "MIT" ]
null
null
null
import typing def main() -> typing.NoReturn: a, b = input().split() print('H' if a == b else 'D') main()
12.555556
31
0.566372
18
113
3.555556
0.777778
0.0625
0
0
0
0
0
0
0
0
0
0
0.230089
113
9
32
12.555556
0.735632
0
0
0
0
0
0.017544
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
0f1c48a7f94fc42da2ea79d6bd12b1264ea44199
313
py
Python
labs/04_conv_nets_2/solutions/geom_avg.py
souillade/Deep
3d79384638220376deb7c4c656cfb9cc497998ad
[ "MIT" ]
1
2017-11-30T17:25:08.000Z
2017-11-30T17:25:08.000Z
labs/04_conv_nets_2/solutions/geom_avg.py
souillade/Deep
3d79384638220376deb7c4c656cfb9cc497998ad
[ "MIT" ]
null
null
null
labs/04_conv_nets_2/solutions/geom_avg.py
souillade/Deep
3d79384638220376deb7c4c656cfb9cc497998ad
[ "MIT" ]
null
null
null
heatmap_1_r = imresize(heatmap_1, (50,80)).astype("float32") heatmap_2_r = imresize(heatmap_2, (50,80)).astype("float32") heatmap_3_r = imresize(heatmap_3, (50,80)).astype("float32") heatmap_geom_avg = np.power(heatmap_1_r * heatmap_2_r * heatmap_3_r, 0.333) display_img_and_heatmap("dog.jpg", heatmap_geom_avg)
44.714286
75
0.766773
55
313
3.963636
0.381818
0.110092
0.220183
0.233945
0.330275
0
0
0
0
0
0
0.106897
0.073482
313
6
76
52.166667
0.644828
0
0
0
0
0
0.089457
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0f28ed32f99718ccbd2f34655a9350c15288e369
143
py
Python
docs/basic_usage/bu01.py
jviide/htm.py
16ba9afe1d02b5dd5d32aeb81f2033348b553f2c
[ "MIT" ]
112
2019-06-12T19:53:22.000Z
2022-01-25T04:57:03.000Z
docs/basic_usage/bu01.py
pauleveritt/htm.py
083699ac3d16666f4cb1dcd41a3e943fb2d38550
[ "MIT" ]
14
2019-06-12T19:47:56.000Z
2020-06-22T13:03:32.000Z
docs/basic_usage/bu01.py
pauleveritt/htm.py
083699ac3d16666f4cb1dcd41a3e943fb2d38550
[ "MIT" ]
6
2019-06-12T20:24:56.000Z
2021-02-21T16:47:43.000Z
from htm import htm @htm def html(tag, props, children): return tag, props, children result01 = html(""" <div>Hello World</div> """)
11.916667
31
0.643357
20
143
4.6
0.65
0.173913
0.347826
0
0
0
0
0
0
0
0
0.017544
0.202797
143
11
32
13
0.789474
0
0
0
0
0
0.181818
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.428571
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
0f2cb12dd8bff60dafe9dfba1b2e6fcdf3267025
4,934
py
Python
server/models.py
pastgift/web-app-template-py
3556db189a6bbd3cb04993e4780aef08276861b6
[ "MIT" ]
null
null
null
server/models.py
pastgift/web-app-template-py
3556db189a6bbd3cb04993e4780aef08276861b6
[ "MIT" ]
5
2021-03-18T20:21:29.000Z
2022-03-11T23:15:33.000Z
server/models.py
pastgift/web-app-template-py
3556db189a6bbd3cb04993e4780aef08276861b6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import uuid import hashlib from datetime import datetime from flask import current_app, request from flask.ext.login import UserMixin, AnonymousUserMixin from werkzeug.security import generate_password_hash, check_password_hash from itsdangerous import TimedJSONWebSignatureSerializer as Serial...
29.90303
95
0.632347
603
4,934
4.970149
0.227197
0.048048
0.06006
0.048048
0.368702
0.293293
0.293293
0.248582
0.248582
0.237237
0
0.007023
0.249696
4,934
164
96
30.085366
0.802539
0.004256
0
0.388889
0
0
0.04887
0.010181
0
0
0
0
0
1
0.206349
false
0.071429
0.071429
0.087302
0.690476
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
0f38851bf7eacdf7931fe7bd978d13a421bf9c32
134
py
Python
ecommerce/apps/charts/urls.py
margolek/electronic-ecommerce
0e9b86621daa2341ac66a747f52fff5c4c33a6f4
[ "MIT" ]
null
null
null
ecommerce/apps/charts/urls.py
margolek/electronic-ecommerce
0e9b86621daa2341ac66a747f52fff5c4c33a6f4
[ "MIT" ]
null
null
null
ecommerce/apps/charts/urls.py
margolek/electronic-ecommerce
0e9b86621daa2341ac66a747f52fff5c4c33a6f4
[ "MIT" ]
null
null
null
from django.urls import path from . import views app_name = "charts" urlpatterns = [ path("", views.home, name="dashboard"), ]
13.4
43
0.671642
17
134
5.235294
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.186567
134
9
44
14.888889
0.816514
0
0
0
0
0
0.11194
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0f3bd3f26c31589b1ccc184992e7d9267ddb0d9c
260
py
Python
API/path.py
Elaina-Alex/LaoMaoAppNovelDownloader
ba0039d8371a54e74bb9556bf9283e9f8fd3e79f
[ "MIT" ]
2
2021-11-18T12:03:34.000Z
2021-11-19T08:55:09.000Z
API/path.py
Elaina-Alex/LaoMaoAppNovelDownloader
ba0039d8371a54e74bb9556bf9283e9f8fd3e79f
[ "MIT" ]
null
null
null
API/path.py
Elaina-Alex/LaoMaoAppNovelDownloader
ba0039d8371a54e74bb9556bf9283e9f8fd3e79f
[ "MIT" ]
2
2021-11-18T12:03:35.000Z
2021-11-19T08:55:10.000Z
from instance import * def SAVE_FILE(bookName, number, book_title) return os.path.join(Vars.cfg.data.get('save_dir'), bookName, f"{}.{}.txt"), def OUT_FILE(bookName) return os.path.join(Vars.cfg.data.get('output_dir'), f'{bookName}.txt'), 'a', line)
32.5
87
0.692308
42
260
4.166667
0.595238
0.137143
0.137143
0.182857
0.342857
0.342857
0.342857
0.342857
0
0
0
0
0.111538
260
7
88
37.142857
0.757576
0
0
0
0
0
0.161538
0
0
0
0
0
0
0
null
null
0
0.2
null
null
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
1
0
0
0
0
0
0
0
0
3
0f7835af2ebaa7558a6edbe95dde8ad16cfb6e59
978
py
Python
Tutorials/GLGlutDemos/GLTEST2.py
fovtran/PyGame_samples
5364181136a0b56eb6e57db5998f49913b596b61
[ "BSD-2-Clause" ]
null
null
null
Tutorials/GLGlutDemos/GLTEST2.py
fovtran/PyGame_samples
5364181136a0b56eb6e57db5998f49913b596b61
[ "BSD-2-Clause" ]
null
null
null
Tutorials/GLGlutDemos/GLTEST2.py
fovtran/PyGame_samples
5364181136a0b56eb6e57db5998f49913b596b61
[ "BSD-2-Clause" ]
1
2021-10-09T23:31:28.000Z
2021-10-09T23:31:28.000Z
import sys, time import math as m import numpy as np import scipy as sc import sympy as sy import OpenGL from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GLUT import * import OpenGL.GL import OpenGL.GLUT import OpenGL.GLU def display(): # Clear off-screen buffer glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH...
23.285714
108
0.767894
144
978
5.152778
0.597222
0.06469
0.037736
0
0
0
0
0
0
0
0
0.010949
0.159509
978
41
109
23.853659
0.891727
0.399796
0
0
0
0
0.019031
0
0
0
0
0
0
1
0.08
true
0
0.48
0
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
7e2bc4206748d9873f79fbcc4d5f95fb9918ada7
2,475
py
Python
examples/rkhs.py
gautam1858/autograd
8d7acaf79e33139b4ebfedf7da0602a965b47c63
[ "MIT" ]
6,119
2015-03-10T03:55:58.000Z
2022-03-31T11:54:19.000Z
examples/rkhs.py
gautam1858/autograd
8d7acaf79e33139b4ebfedf7da0602a965b47c63
[ "MIT" ]
523
2015-03-10T11:59:23.000Z
2022-03-05T15:31:59.000Z
examples/rkhs.py
gautam1858/autograd
8d7acaf79e33139b4ebfedf7da0602a965b47c63
[ "MIT" ]
949
2015-03-11T20:04:20.000Z
2022-03-31T12:13:11.000Z
""" Inferring a function from a reproducing kernel Hilbert space (RKHS) by taking gradients of eval with respect to the function-valued argument """ from __future__ import print_function import autograd.numpy as np import autograd.numpy.random as npr from autograd.extend import primitive, defvjp, defjvp, VSpace, Box fr...
30.9375
82
0.62101
396
2,475
3.734848
0.313131
0.040568
0.016227
0.017579
0.064909
0.064909
0.064909
0.045977
0.045977
0.045977
0
0.01986
0.247273
2,475
79
83
31.329114
0.77402
0.109091
0
0.035088
0
0
0.008197
0
0
0
0
0.012658
0.035088
1
0.245614
false
0
0.105263
0.140351
0.526316
0.035088
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
7e2c289e02431eb13f49c1c1d20fb1dd247f1444
8,583
py
Python
Scripts/core/native/animation/__init__.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/core/native/animation/__init__.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/core/native/animation/__init__.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Core\native\animation\__init__.py # Compiled at: 2019-04-24 01:24:31 # Size of source mod 2**32: 13189 byte...
38.146667
131
0.712571
1,124
8,583
5.024021
0.161032
0.041438
0.034709
0.0255
0.576058
0.488578
0.364618
0.270232
0.230388
0.166283
0
0.012377
0.218688
8,583
225
132
38.146667
0.829705
0.036001
0
0.223602
0
0
0.021287
0
0
0
0
0
0
1
0.285714
false
0.018634
0.118012
0.180124
0.695652
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
7e36d91e4f8c5bfb498ab22ea7815990cdd4a829
513
py
Python
mmdet/models/anchor_heads/__init__.py
ziming-liu/ObjectDet
6e25fa784114b9773b052d9d5465aa6fed93468a
[ "Apache-2.0" ]
null
null
null
mmdet/models/anchor_heads/__init__.py
ziming-liu/ObjectDet
6e25fa784114b9773b052d9d5465aa6fed93468a
[ "Apache-2.0" ]
null
null
null
mmdet/models/anchor_heads/__init__.py
ziming-liu/ObjectDet
6e25fa784114b9773b052d9d5465aa6fed93468a
[ "Apache-2.0" ]
null
null
null
from .anchor_head import AnchorHead from .fcos_head import FCOSHead from .ga_retina_head import GARetinaHead from .ga_rpn_head import GARPNHead from .guided_anchor_head import FeatureAdaption, GuidedAnchorHead from .retina_head import RetinaHead from .rpn_head import RPNHead from .ssd_head import SSDHead from ....
36.642857
79
0.779727
60
513
6.4
0.366667
0.234375
0.083333
0
0
0
0
0
0
0
0
0
0.138402
513
13
80
39.461538
0.868778
0
0
0
0
0
0.204
0
0
0
0
0
0
1
0
false
0
0.692308
0
0.692308
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
7e4e5b16638965b5190471eca461cae3bf14be68
2,637
py
Python
tests/settings/settings.py
caputomarcos/mongorest
57d6b28d75e18afed5cef7160522958153b5be15
[ "BSD-3-Clause" ]
16
2015-04-18T02:51:09.000Z
2020-12-15T18:05:16.000Z
tests/settings/settings.py
caputomarcos/mongorest
57d6b28d75e18afed5cef7160522958153b5be15
[ "BSD-3-Clause" ]
8
2015-11-24T23:06:03.000Z
2016-07-21T17:57:59.000Z
tests/settings/settings.py
caputomarcos/mongorest
57d6b28d75e18afed5cef7160522958153b5be15
[ "BSD-3-Clause" ]
2
2015-12-04T13:45:32.000Z
2016-06-11T13:44:53.000Z
# -*- encoding: UTF-8 -*- from __future__ import absolute_import, unicode_literals from os import environ from mongorest.settings import settings from mongorest.testcase import TestCase class TestSettings(TestCase): def test_settings_default_values(self): environ.pop('MONGOREST_SETTINGS_MODULE', None) ...
35.635135
86
0.677285
274
2,637
6.321168
0.354015
0.190531
0.292148
0.190531
0.355081
0.32448
0.32448
0.17321
0.17321
0.17321
0
0.003793
0.200228
2,637
73
87
36.123288
0.817449
0.008722
0
0.226415
0
0
0.218989
0.184916
0
0
0
0
0.471698
1
0.075472
false
0.018868
0.075472
0
0.188679
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
1
0
0
0
0
0
0
0
0
0
3
7e559c443fd492c1529c2200130ea5e0f9c936b6
755
py
Python
metaflow/event_logger.py
RobBlumberg/metaflow
9f737e6026eee250c1593a2cb1d1c4b19a00adf4
[ "Apache-2.0" ]
2
2020-03-05T08:33:05.000Z
2021-05-31T12:54:40.000Z
metaflow/event_logger.py
RobBlumberg/metaflow
9f737e6026eee250c1593a2cb1d1c4b19a00adf4
[ "Apache-2.0" ]
5
2021-12-12T21:04:10.000Z
2022-01-22T21:05:58.000Z
metaflow/event_logger.py
RobBlumberg/metaflow
9f737e6026eee250c1593a2cb1d1c4b19a00adf4
[ "Apache-2.0" ]
2
2020-04-18T22:45:03.000Z
2020-06-25T14:36:20.000Z
from .sidecar import SidecarSubProcess from .sidecar_messages import Message, MessageTypes class NullEventLogger(object): def __init__(self, *args, **kwargs): pass def start(self): pass def log(self, payload): pass def terminate(self): pass class EventLogger(NullEv...
22.205882
66
0.659603
85
755
5.635294
0.352941
0.083507
0.150313
0.070981
0
0
0
0
0
0
0
0
0.249007
755
33
67
22.878788
0.844797
0.025166
0
0.454545
0
0
0
0
0
0
0
0
0
1
0.363636
false
0.181818
0.090909
0
0.545455
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
7e8e3621351d2bf7efd3f216ad4f710ada37b555
216
py
Python
kttool/actions/version.py
heiseish/kt
e5a002408d2d7d36252833ff2ead36af5554b6fa
[ "MIT" ]
6
2020-05-02T08:50:55.000Z
2022-01-26T16:21:25.000Z
kttool/actions/version.py
heiseish/kt
e5a002408d2d7d36252833ff2ead36af5554b6fa
[ "MIT" ]
null
null
null
kttool/actions/version.py
heiseish/kt
e5a002408d2d7d36252833ff2ead36af5554b6fa
[ "MIT" ]
1
2021-09-15T04:31:31.000Z
2021-09-15T04:31:31.000Z
from kttool.version import version from kttool.base import Action from kttool.logger import color_cyan, log class Version(Action): def _act(self) -> None: log(f'Current version: {color_cyan(version)}')
24
54
0.736111
31
216
5.032258
0.548387
0.192308
0
0
0
0
0
0
0
0
0
0
0.166667
216
8
55
27
0.866667
0
0
0
0
0
0.175926
0.097222
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
7e8eba897bb0b2d848167c4dab5869745403f668
593
py
Python
solutions/1450-number-of-students-doing-homework-at-a-given-time.py
lk-hang/leetcode
4c8735463bdcb9f48666e03a39eb03ee9f625cec
[ "MIT" ]
null
null
null
solutions/1450-number-of-students-doing-homework-at-a-given-time.py
lk-hang/leetcode
4c8735463bdcb9f48666e03a39eb03ee9f625cec
[ "MIT" ]
null
null
null
solutions/1450-number-of-students-doing-homework-at-a-given-time.py
lk-hang/leetcode
4c8735463bdcb9f48666e03a39eb03ee9f625cec
[ "MIT" ]
null
null
null
""" Given two integer arrays startTime and endTime and given an integer queryTime. The ith student started doing their homework at the time startTime[i] and finished it at time endTime[i]. Return the number of students doing their homework at time queryTime. More formally, return the number of students where queryTim...
45.615385
189
0.750422
90
593
4.944444
0.522222
0.044944
0.080899
0.089888
0.11236
0
0
0
0
0
0
0
0.168634
593
13
190
45.615385
0.902637
0.634064
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7ea5f736887680b7684f9431c13d695729c2d624
1,862
py
Python
pycs/spells/beacon_of_hope.py
dwagon/pycs
4d02acbf380526d3bf0380f6bb8b757a827024b8
[ "MIT" ]
null
null
null
pycs/spells/beacon_of_hope.py
dwagon/pycs
4d02acbf380526d3bf0380f6bb8b757a827024b8
[ "MIT" ]
null
null
null
pycs/spells/beacon_of_hope.py
dwagon/pycs
4d02acbf380526d3bf0380f6bb8b757a827024b8
[ "MIT" ]
null
null
null
"""https://www.dndbeyond.com/spells/beacon-of-hope""" from pycs.constant import SpellType from pycs.spell import SpellAction ############################################################################## ############################################################################## ##################################...
35.132075
78
0.396885
149
1,862
4.885906
0.577181
0.020604
0.041209
0.035714
0.049451
0
0
0
0
0
0
0.003432
0.217508
1,862
52
79
35.807692
0.496225
0.247583
0
0.086957
0
0
0.05496
0
0
0
0
0
0
1
0.217391
false
0
0.086957
0
0.521739
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
1
0
0
0
0
1
0
0
3
7eb1c3828c3be24845f044c660d9891c6a0c57ac
187
py
Python
PythonAppDevSamples/OrcsV1/orcsV0_0_1.py
HamzaHindRyanSofia/wargameRepo
9eb105ff6cf7ce691128f63457bcf2666f8808db
[ "MIT" ]
null
null
null
PythonAppDevSamples/OrcsV1/orcsV0_0_1.py
HamzaHindRyanSofia/wargameRepo
9eb105ff6cf7ce691128f63457bcf2666f8808db
[ "MIT" ]
null
null
null
PythonAppDevSamples/OrcsV1/orcsV0_0_1.py
HamzaHindRyanSofia/wargameRepo
9eb105ff6cf7ce691128f63457bcf2666f8808db
[ "MIT" ]
null
null
null
''' Created on 16 ago 2017 @author: Hamza ''' class MyClass(object): ''' classdocs ''' def __init__(self, params): ''' Constructor '''
11
31
0.470588
16
187
5.25
1
0
0
0
0
0
0
0
0
0
0
0.052174
0.385027
187
17
32
11
0.678261
0.320856
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
0e3c895ff2be54f4195b02f26f8e4af6ec97831b
235
py
Python
Practice/Regex/Applications/Split_the_Phone_Numbers.py
alexanderbauer89/HackerRank
0fb6face083b0183692c9251ffe4bb635591393f
[ "MIT" ]
1
2021-11-17T02:47:11.000Z
2021-11-17T02:47:11.000Z
Practice/Regex/Applications/Split_the_Phone_Numbers.py
alexanderbauer89/HackerRank
0fb6face083b0183692c9251ffe4bb635591393f
[ "MIT" ]
null
null
null
Practice/Regex/Applications/Split_the_Phone_Numbers.py
alexanderbauer89/HackerRank
0fb6face083b0183692c9251ffe4bb635591393f
[ "MIT" ]
null
null
null
import re def split_phone_numbers(s): return re.split(r'[ -]', s) for i in range(int(input())): match = split_phone_numbers(input()) print('CountryCode=' + match[0] + ',LocalAreaCode=' + match[1] + ',Number=' + match[2])
26.111111
91
0.625532
33
235
4.333333
0.69697
0.13986
0.237762
0
0
0
0
0
0
0
0
0.015385
0.170213
235
8
92
29.375
0.717949
0
0
0
0
0
0.165957
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
0.5
0.166667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
0e4eabdd168e2176623fb7682627e3f82191068d
377
py
Python
src/captcha/tests/urls.py
daniel-werner/stelagifts
809cb70f98a1ead3acbc2fd6aea99a87fdfd9435
[ "MIT" ]
108
2015-01-05T09:22:50.000Z
2022-03-15T23:59:53.000Z
src/captcha/tests/urls.py
daniel-werner/stelagifts
809cb70f98a1ead3acbc2fd6aea99a87fdfd9435
[ "MIT" ]
26
2015-01-04T10:35:53.000Z
2021-11-01T04:41:19.000Z
src/captcha/tests/urls.py
daniel-werner/stelagifts
809cb70f98a1ead3acbc2fd6aea99a87fdfd9435
[ "MIT" ]
48
2015-01-16T02:03:48.000Z
2022-03-15T23:59:55.000Z
from django.conf.urls.defaults import * urlpatterns = patterns('', url(r'test/$','captcha.tests.views.test',name='captcha-test'), url(r'test2/$','captcha.tests.views.test_custom_error_message',name='captcha-test-custom-error-message'), url(r'test3/$','captcha.tests.views.test_per_form_format', name='test_pe...
47.125
109
0.718833
54
377
4.851852
0.444444
0.061069
0.194656
0.240458
0
0
0
0
0
0
0
0.005747
0.076923
377
7
110
53.857143
0.747126
0
0
0
0
0
0.546419
0.376658
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0e6f3dc3b4863d4f1e67a56145be6815247d960f
68
py
Python
src/Modulos/dicti.py
Project-Neon/NeonSeeker
63109ee12e0e8e85d48c68f9fb9cbf9c679f40bb
[ "MIT" ]
null
null
null
src/Modulos/dicti.py
Project-Neon/NeonSeeker
63109ee12e0e8e85d48c68f9fb9cbf9c679f40bb
[ "MIT" ]
null
null
null
src/Modulos/dicti.py
Project-Neon/NeonSeeker
63109ee12e0e8e85d48c68f9fb9cbf9c679f40bb
[ "MIT" ]
3
2018-09-26T11:38:26.000Z
2018-10-31T02:05:15.000Z
import pickle dict=pickle.load(open("memoria.p","rb")) print (dict)
17
40
0.720588
11
68
4.454545
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.073529
68
3
41
22.666667
0.777778
0
0
0
0
0
0.161765
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0e7e9e172caa1e0f02ebce4467c9bcd272e4f6c5
313
py
Python
tests/api/serializers.py
TralahM/drf-generators
0b4b79ae25ddc02aa2f5e9bc9f62be16a9ab028a
[ "MIT" ]
340
2015-04-07T20:32:30.000Z
2022-03-28T12:54:38.000Z
tests/api/serializers.py
TralahM/drf-generators
0b4b79ae25ddc02aa2f5e9bc9f62be16a9ab028a
[ "MIT" ]
37
2015-04-07T22:56:00.000Z
2021-05-19T09:36:47.000Z
tests/api/serializers.py
TralahM/drf-generators
0b4b79ae25ddc02aa2f5e9bc9f62be16a9ab028a
[ "MIT" ]
82
2015-04-11T06:18:12.000Z
2022-03-20T18:26:05.000Z
from rest_framework.serializers import ModelSerializer from api.models import Category, Post class CategorySerializer(ModelSerializer): class Meta: model = Category fields = '__all__' class PostSerializer(ModelSerializer): class Meta: model = Post fields = '__all__'
18.411765
54
0.699681
30
313
7
0.566667
0.190476
0.228571
0.27619
0
0
0
0
0
0
0
0
0.239617
313
16
55
19.5625
0.882353
0
0
0.4
0
0
0.044728
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
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
0
0
1
0
0
3
0ea8d24acd64d80a47f192a5a1fc2e04f21b051d
101
py
Python
twitchstreams/apps.py
naelstrof/PugBot-Discord-Django
e187353ea48eabde08b7efd331386728b93672d4
[ "MIT" ]
3
2019-04-26T03:50:36.000Z
2020-12-21T11:39:48.000Z
twitchstreams/apps.py
naelstrof/PugBot-Discord-Django
e187353ea48eabde08b7efd331386728b93672d4
[ "MIT" ]
null
null
null
twitchstreams/apps.py
naelstrof/PugBot-Discord-Django
e187353ea48eabde08b7efd331386728b93672d4
[ "MIT" ]
3
2020-05-15T19:28:11.000Z
2021-11-11T19:37:50.000Z
from django.apps import AppConfig class TwitchstreamsConfig(AppConfig): name = 'twitchstreams'
16.833333
37
0.782178
10
101
7.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.148515
101
5
38
20.2
0.918605
0
0
0
0
0
0.128713
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
0eae8565b67e3822ab7445cc19f66d661f5102ec
1,069
py
Python
accounts/models.py
igemsoftware/HFUT-China_2015
5db86858963d29188ec1a8fdedaf7a98f4528cf4
[ "Apache-2.0" ]
null
null
null
accounts/models.py
igemsoftware/HFUT-China_2015
5db86858963d29188ec1a8fdedaf7a98f4528cf4
[ "Apache-2.0" ]
3
2015-09-21T21:50:45.000Z
2015-09-22T15:42:28.000Z
accounts/models.py
igemsoftware/HFUT-China_2015
5db86858963d29188ec1a8fdedaf7a98f4528cf4
[ "Apache-2.0" ]
2
2020-03-28T01:33:51.000Z
2021-07-18T13:56:27.000Z
from django.db import models import datetime # Create your models here. class User(models.Model): username = models.CharField(max_length=16, primary_key=True) password = models.CharField(max_length=64) email = models.EmailField() is_confirmed = models.BooleanField() def __unicode__(self): ...
26.073171
69
0.71188
132
1,069
5.522727
0.416667
0.102881
0.123457
0.164609
0.315501
0.074074
0
0
0
0
0
0.011587
0.192703
1,069
41
70
26.073171
0.83314
0.022451
0
0.214286
0
0
0.039272
0
0
0
0
0
0
1
0.107143
false
0.035714
0.071429
0.107143
0.892857
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
7ebb7cbb40512ce2e25ffca2ad808f7ac5000559
482
py
Python
mantle_simulation/LAB.py
Johnson-A/UNM_Research
28d88a4c8229eeef776a2f2ea953c3c6fb5fd6d2
[ "MIT" ]
4
2017-04-07T16:34:40.000Z
2021-04-06T08:07:01.000Z
mantle_simulation/LAB.py
Johnson-A/mantle_simulation
28d88a4c8229eeef776a2f2ea953c3c6fb5fd6d2
[ "MIT" ]
null
null
null
mantle_simulation/LAB.py
Johnson-A/mantle_simulation
28d88a4c8229eeef776a2f2ea953c3c6fb5fd6d2
[ "MIT" ]
2
2016-09-20T22:05:52.000Z
2021-04-06T08:07:08.000Z
from dolfin import tanh, sqrt from constants import mesh_width, mesh_height keel_width = 0.2 * mesh_width scale = keel_width / 4 LAB_height = 0.75 * mesh_height keel_height = mesh_height / 8 def ridge(r, offset): return 1.0 - tanh((r - offset) / scale) def hump(r): return ridge(r, keel_width) - ridge(-r, ...
22.952381
73
0.657676
83
482
3.626506
0.313253
0.119601
0.093023
0.099668
0
0
0
0
0
0
0
0.041775
0.205394
482
20
74
24.1
0.744125
0
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0.153846
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7d02d2203f6884cbe69d3e15d7f579c28cafed1f
31,159
py
Python
lobpy/datareader/lobster.py
bohblue2/lobpy
6bb1c0c70d44ab7d93761e22dd3d42148b469a37
[ "BSD-3-Clause" ]
null
null
null
lobpy/datareader/lobster.py
bohblue2/lobpy
6bb1c0c70d44ab7d93761e22dd3d42148b469a37
[ "BSD-3-Clause" ]
null
null
null
lobpy/datareader/lobster.py
bohblue2/lobpy
6bb1c0c70d44ab7d93761e22dd3d42148b469a37
[ "BSD-3-Clause" ]
null
null
null
""" Copyright (c) 2018, University of Oxford, Rama Cont and ETH Zurich, Marvin S. Mueller This module provides the helper functions and the class LOBSTERReader, a subclass of OBReader to read in limit order book data in lobster format. """ ###### # Imports ###### import csv import math import warnings import nump...
48.685938
464
0.582143
3,853
31,159
4.49987
0.098365
0.041008
0.041239
0.01615
0.774368
0.747491
0.717268
0.689526
0.667839
0.65244
0
0.01841
0.334061
31,159
639
465
48.762128
0.817157
0.239674
0
0.625
0
0.0025
0.056246
0
0
0
0
0
0
1
0.0425
false
0
0.0125
0.005
0.1125
0.0225
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
7d057b3dc0349cb64722f35fd0e2790293bbd518
23
py
Python
survey/utils/__init__.py
ericazhou7/uSurvey
1236f33355662957e7e1e769dde1811b910673a5
[ "BSD-3-Clause" ]
5
2016-08-25T12:48:54.000Z
2018-08-16T22:49:43.000Z
survey/utils/__init__.py
ericazhou7/uSurvey
1236f33355662957e7e1e769dde1811b910673a5
[ "BSD-3-Clause" ]
2
2016-08-11T06:43:56.000Z
2016-12-08T09:11:36.000Z
survey/utils/__init__.py
ericazhou7/uSurvey
1236f33355662957e7e1e769dde1811b910673a5
[ "BSD-3-Clause" ]
7
2016-09-16T11:03:44.000Z
2020-10-28T22:01:20.000Z
__author__ = 'mnandri'
11.5
22
0.73913
2
23
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.130435
23
1
23
23
0.65
0
0
0
0
0
0.304348
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
7d0cd0773380959343b6edecc3611883b56c0a08
158
py
Python
werf_chart_repo_doit_tasks/__init__.py
ilya-lesikov/werf-chart-repo-tasks
fb3f381a3a578a253fed90454474d231482e68af
[ "MIT" ]
null
null
null
werf_chart_repo_doit_tasks/__init__.py
ilya-lesikov/werf-chart-repo-tasks
fb3f381a3a578a253fed90454474d231482e68af
[ "MIT" ]
null
null
null
werf_chart_repo_doit_tasks/__init__.py
ilya-lesikov/werf-chart-repo-tasks
fb3f381a3a578a253fed90454474d231482e68af
[ "MIT" ]
null
null
null
"""werf_chart_repo_doit_tasks - Doit Tasks for managing Werf chart repo""" __version__ = '1.0.6' __author__ = 'Ilya Lesikov <ilya@lesikov.com>' __all__ = []
26.333333
74
0.727848
23
158
4.304348
0.695652
0.181818
0.262626
0
0
0
0
0
0
0
0
0.021898
0.132911
158
5
75
31.6
0.70073
0.43038
0
0
0
0
0.428571
0
0
0
0
0
0
1
0
false
0
0
0
0
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
7d1575d708286cfec011dc5f6d25c64d8146fdf9
920
py
Python
simplemfa/structures.py
mwhawkins/django-simple-mfa
58b5188473a776f5fcebda9843e2147123dce59f
[ "MIT" ]
3
2020-07-17T09:14:09.000Z
2020-12-15T09:26:56.000Z
simplemfa/structures.py
mwhawkins/django-simple-mfa
58b5188473a776f5fcebda9843e2147123dce59f
[ "MIT" ]
1
2020-11-25T10:41:02.000Z
2020-11-25T10:41:02.000Z
simplemfa/structures.py
mwhawkins/django-simple-mfa
58b5188473a776f5fcebda9843e2147123dce59f
[ "MIT" ]
2
2020-11-25T10:47:20.000Z
2021-11-04T15:41:21.000Z
""" A custom immutable dictionary data structure """ class CustomImmutableDict(dict): def __getattr__(self, key): try: return self[key] except KeyError as k: raise AttributeError(k) def __setattr__(self, key, value): # self[key] = value return self._imm...
23
66
0.603261
92
920
5.576087
0.445652
0.081871
0.050682
0.081871
0.183236
0.183236
0.183236
0.183236
0.183236
0.183236
0
0
0.303261
920
39
67
23.589744
0.800312
0.145652
0
0.086957
0
0
0.059432
0
0
0
0
0
0
1
0.26087
false
0
0
0.173913
0.826087
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
adacd6c6e48c35c1534be3ec9b85bda3193be2e6
145
py
Python
lowercase.py
dash219/linux-pipe-spellcheck
8c9715fb1cc6e8b8dc8b49e7ff86ce1c15194e32
[ "MIT" ]
null
null
null
lowercase.py
dash219/linux-pipe-spellcheck
8c9715fb1cc6e8b8dc8b49e7ff86ce1c15194e32
[ "MIT" ]
null
null
null
lowercase.py
dash219/linux-pipe-spellcheck
8c9715fb1cc6e8b8dc8b49e7ff86ce1c15194e32
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import sys while True: for line in sys.stdin: lline = line.lower() sys.stdout.write(lline) sys.stdout.write("\n") break
18.125
25
0.696552
24
145
4.208333
0.708333
0.178218
0.277228
0
0
0
0
0
0
0
0
0.008065
0.144828
145
8
26
18.125
0.806452
0.117241
0
0
0
0
0.015625
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
adc59f57d07fa99e02158da82224677173c2dfaf
837
py
Python
applicationinsights/channel/contracts/__init__.py
allieus/ApplicationInsights-Python
5345a414ff6879ed0a44d090ae01c66e6fffeeec
[ "MIT" ]
1
2019-05-26T12:52:55.000Z
2019-05-26T12:52:55.000Z
applicationinsights/channel/contracts/__init__.py
allieus/ApplicationInsights-Python
5345a414ff6879ed0a44d090ae01c66e6fffeeec
[ "MIT" ]
null
null
null
applicationinsights/channel/contracts/__init__.py
allieus/ApplicationInsights-Python
5345a414ff6879ed0a44d090ae01c66e6fffeeec
[ "MIT" ]
1
2019-05-26T12:56:38.000Z
2019-05-26T12:56:38.000Z
from .Data import Data from .Envelope import Envelope from .DependencyKind import DependencyKind from .SeverityLevel import SeverityLevel from .DataPoint import DataPoint from .MetricData import MetricData from .RemoteDependencyData import RemoteDependencyData from .RequestData import RequestData from .StackFrame impor...
34.875
54
0.862605
92
837
7.847826
0.271739
0
0
0
0
0
0
0
0
0
0
0
0.109916
837
23
55
36.391304
0.969128
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
addbec2efba6c626b8981128a4289409116b3c81
446
py
Python
code401challengespython/array_shift/array_shift.py
danhuyle508/data-structures-and-algorithms
476f32ebcde0350390e36d32e5dc7911ac9bab09
[ "MIT" ]
null
null
null
code401challengespython/array_shift/array_shift.py
danhuyle508/data-structures-and-algorithms
476f32ebcde0350390e36d32e5dc7911ac9bab09
[ "MIT" ]
null
null
null
code401challengespython/array_shift/array_shift.py
danhuyle508/data-structures-and-algorithms
476f32ebcde0350390e36d32e5dc7911ac9bab09
[ "MIT" ]
null
null
null
def insertShiftArray(arr, num): count = len(arr) middle = len(arr) // 2 shift_arr = [] for i in range(count): if i != middle: shift_arr.append(arr[i]) else: if count % 2 == 0: shift_arr.append(num) shift_arr.append(arr[i]) ...
26.235294
43
0.466368
53
446
3.792453
0.339623
0.278607
0.348259
0.253731
0.308458
0.218905
0
0
0
0
0
0.011719
0.426009
446
17
44
26.235294
0.773438
0
0
0.466667
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.133333
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
bc016f182bc95f89d30dd5fd3cf101224416c509
457
py
Python
scfmsp/controlflowanalysis/instructions/InstructionCmp.py
sepidehpouyan/SCF-MSP430
1d7565bf38d9f42e775031d4ea8515ff99bef778
[ "MIT" ]
1
2020-07-03T21:26:52.000Z
2020-07-03T21:26:52.000Z
scfmsp/controlflowanalysis/instructions/InstructionCmp.py
sepidehpouyan/SCF-MSP430
1d7565bf38d9f42e775031d4ea8515ff99bef778
[ "MIT" ]
null
null
null
scfmsp/controlflowanalysis/instructions/InstructionCmp.py
sepidehpouyan/SCF-MSP430
1d7565bf38d9f42e775031d4ea8515ff99bef778
[ "MIT" ]
null
null
null
from scfmsp.controlflowanalysis.instructions.AbstractInstructionTwoRegisters import AbstractInstructionTwoRegisters class InstructionCmp(AbstractInstructionTwoRegisters): name = 'cmp' def get_execution_time(self): return self.clock def execute_judgment(self, ac): self._execute_judgment_...
32.642857
116
0.770241
45
457
7.488889
0.533333
0.222552
0.154303
0.249258
0
0
0
0
0
0
0
0
0.166302
457
14
117
32.642857
0.884514
0
0
0
0
0
0.00655
0
0
0
0
0
0
1
0.2
false
0
0.1
0.1
0.6
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
bc02d3d1b4a30542476d79be89c85ca119384be0
1,037
py
Python
stock_image_clf/somemodels.py
ernest222/-
f4a58d644a655a5313701c8e1c06dbe825df1c50
[ "MIT" ]
10
2019-02-07T11:38:09.000Z
2020-12-19T13:01:11.000Z
stock_image_clf/somemodels.py
SnookerChen1/stock_img_clf
6fc52640928076b51f88eb8867ec23820568132b
[ "MIT" ]
2
2019-03-04T07:58:09.000Z
2021-09-28T11:50:11.000Z
stock_image_clf/somemodels.py
SnookerChen1/stock_img_clf
6fc52640928076b51f88eb8867ec23820568132b
[ "MIT" ]
6
2019-02-07T11:38:15.000Z
2022-01-25T18:08:50.000Z
from keras import layers from keras import models def cnn_model(shape=(80,80,3),dropout=0.5,last_activation='softmax'): model=models.Sequential() model.add(layers.Conv2D(64,(3,3),activation='relu',input_shape=shape)) model.add(layers.MaxPool2D((2,2))) model.add(layers.Conv2D(64,(3,3),act...
28.027027
75
0.673095
141
1,037
4.879433
0.241135
0.139535
0.244186
0.110465
0.742733
0.742733
0.742733
0.678779
0.614826
0.414244
0
0.050633
0.162006
1,037
36
76
28.805556
0.741082
0
0
0.375
0
0
0.049147
0
0
0
0
0
0
1
0.125
false
0.041667
0.083333
0
0.291667
0
0
0
0
null
0
1
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bc04b5be916ab518007db2ef73cd44c673831f4f
1,363
py
Python
photos/serializers.py
christianwgd/photos
b0c3343325a556d25217e9678f6142d4dcb03f51
[ "MIT" ]
null
null
null
photos/serializers.py
christianwgd/photos
b0c3343325a556d25217e9678f6142d4dcb03f51
[ "MIT" ]
6
2021-03-19T20:39:25.000Z
2022-02-10T16:18:00.000Z
photos/serializers.py
christianwgd/photos
b0c3343325a556d25217e9678f6142d4dcb03f51
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.contrib.auth.models import User from rest_framework import serializers from .models import Photo, Event, Import, Tag class EventSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = Event fields = ['url', 'id', 'name'] class TagSerializer(s...
23.912281
66
0.636831
126
1,363
6.825397
0.404762
0.25814
0.097674
0.267442
0.423256
0.155814
0.155814
0.155814
0.155814
0
0
0.000962
0.237711
1,363
56
67
24.339286
0.826757
0.015407
0
0.228571
0
0
0.11791
0
0
0
0
0
0
1
0.028571
false
0
0.142857
0.028571
0.571429
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
bc04fd7a3f444f43f78b7402a894bf1ef04a2c68
1,345
py
Python
govee_api/device_factory.py
filipealvesdef/govee_api
11a54f4405d59db4694efef7f50af3dc88391ce6
[ "Apache-2.0" ]
15
2020-05-26T14:52:16.000Z
2021-12-30T15:04:11.000Z
govee_api/device_factory.py
filipealvesdef/govee_api
11a54f4405d59db4694efef7f50af3dc88391ce6
[ "Apache-2.0" ]
null
null
null
govee_api/device_factory.py
filipealvesdef/govee_api
11a54f4405d59db4694efef7f50af3dc88391ce6
[ "Apache-2.0" ]
11
2020-06-28T17:27:29.000Z
2021-12-27T01:47:02.000Z
import govee_api.device as dev import abc class _AbstractGoveeDeviceFactory(abc.ABC): """ Declare an interface for operations that create abstract Govee devices """ @abc.abstractmethod def build(self, govee, identifier, topic, sku, name, connected): """ Build Govee device """ pass clas...
35.394737
93
0.697398
144
1,345
6.458333
0.340278
0.129032
0.172043
0.197849
0.611828
0.611828
0.573118
0.239785
0.239785
0.188172
0
0.011225
0.205204
1,345
38
94
35.394737
0.858746
0.402974
0
0.2
0
0
0.00646
0
0
0
0
0
0
1
0.2
false
0.066667
0.133333
0.066667
0.733333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
bc29c9945d9b3c57d559023b162b80e68def0291
194
py
Python
example_site/example_site/urls.py
madtreat/django-address
3cec1d8916593fd02053c9a388a2d94fe1d8ed34
[ "BSD-3-Clause" ]
null
null
null
example_site/example_site/urls.py
madtreat/django-address
3cec1d8916593fd02053c9a388a2d94fe1d8ed34
[ "BSD-3-Clause" ]
2
2018-02-05T19:29:49.000Z
2020-08-18T18:59:57.000Z
example_site/example_site/urls.py
madtreat/django-address
3cec1d8916593fd02053c9a388a2d94fe1d8ed34
[ "BSD-3-Clause" ]
1
2019-03-16T21:21:33.000Z
2019-03-16T21:21:33.000Z
from django.contrib import admin from django.urls import path from person import views as person urlpatterns = [ path('', person.home, name='home'), path('admin/', admin.site.urls), ]
19.4
39
0.701031
27
194
5.037037
0.518519
0.147059
0
0
0
0
0
0
0
0
0
0
0.170103
194
9
40
21.555556
0.844721
0
0
0
0
0
0.051546
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
bc3a37ad2f87a8931bbf34ea7af02eb6bf81657a
444
py
Python
docs/configuration/properties.py
keotl/jivago
892dfb0cae773e36245083c3e56f0f8523145523
[ "MIT" ]
12
2018-03-19T20:57:44.000Z
2020-01-27T14:11:24.000Z
docs/configuration/properties.py
keotl/jivago
892dfb0cae773e36245083c3e56f0f8523145523
[ "MIT" ]
73
2018-04-20T22:26:00.000Z
2021-12-01T14:17:37.000Z
docs/configuration/properties.py
keotl/jivago
892dfb0cae773e36245083c3e56f0f8523145523
[ "MIT" ]
1
2019-02-28T13:33:45.000Z
2019-02-28T13:33:45.000Z
from jivago.config.properties.application_properties import ApplicationProperties from jivago.inject.annotation import Component from jivago.lang.annotations import Inject @Component class MyComponent(object): @Inject def __init__(self, application_properties: ApplicationProperties): self.application...
29.6
81
0.804054
46
444
7.521739
0.5
0.303468
0.216763
0
0
0
0
0
0
0
0
0
0.130631
444
14
82
31.714286
0.896373
0
0
0
0
0
0.024775
0
0
0
0
0
0
1
0.2
false
0
0.3
0
0.6
0.1
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
1
0
0
3
bc3a96d0ed6d557eff2e26cc2a8f44e75f41d0c0
4,242
py
Python
u2pl/models/decoder.py
Haochen-Wang409/U2PL
5784b2914b27aacaddd8da55c235b55892a3d13c
[ "Apache-2.0" ]
96
2022-03-04T10:05:52.000Z
2022-03-31T08:23:36.000Z
u2pl/models/decoder.py
Haochen-Wang409/U2PL
5784b2914b27aacaddd8da55c235b55892a3d13c
[ "Apache-2.0" ]
18
2022-03-09T07:30:14.000Z
2022-03-29T10:43:55.000Z
u2pl/models/decoder.py
Haochen-Wang409/U2PL
5784b2914b27aacaddd8da55c235b55892a3d13c
[ "Apache-2.0" ]
7
2022-03-05T08:22:01.000Z
2022-03-30T03:17:33.000Z
import torch import torch.nn as nn from torch.nn import functional as F from .base import ASPP, get_syncbn class dec_deeplabv3(nn.Module): def __init__( self, in_planes, num_classes=19, inner_planes=256, sync_bn=False, dilations=(12, 24, 36), ): super(d...
29.664336
87
0.53819
538
4,242
4.037175
0.156134
0.044199
0.053867
0.051565
0.737569
0.703959
0.703959
0.69291
0.665746
0.665746
0
0.066306
0.345827
4,242
142
88
29.873239
0.716396
0
0
0.647059
0
0
0.003536
0
0
0
0
0
0
1
0.05042
false
0
0.033613
0
0.134454
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
70c37125dc344ece19465de28ef57c18d9c5a52e
1,653
py
Python
git_sentry/parsing/team_config.py
git-sentry/git-sentry
4212ed19e91525656a40b73cb3fa12c30d7097bf
[ "MIT" ]
null
null
null
git_sentry/parsing/team_config.py
git-sentry/git-sentry
4212ed19e91525656a40b73cb3fa12c30d7097bf
[ "MIT" ]
1
2020-06-15T17:07:43.000Z
2020-06-15T18:18:33.000Z
git_sentry/parsing/team_config.py
git-sentry/git-sentry
4212ed19e91525656a40b73cb3fa12c30d7097bf
[ "MIT" ]
null
null
null
from __future__ import annotations from git_sentry.logging.printer import pad class TeamConfig: def __init__(self, members, admins, repos): self._members = members self._admins = admins self._repos = repos def members(self): return self._members def admins(self): ...
32.411765
128
0.609195
214
1,653
4.523364
0.233645
0.090909
0.043388
0.034091
0.098141
0.075413
0.053719
0
0
0
0
0.004898
0.258923
1,653
50
129
33.06
0.785306
0
0
0
0
0
0.033878
0
0
0
0
0
0
1
0.228571
false
0
0.057143
0.142857
0.514286
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
70c9265d2ce62a29afa71e8f79490b473c6cd9a7
38
py
Python
config.py
karan28598/sherlack
b3b4891908f5d7545523af0daea912c3a0feef00
[ "MIT" ]
null
null
null
config.py
karan28598/sherlack
b3b4891908f5d7545523af0daea912c3a0feef00
[ "MIT" ]
null
null
null
config.py
karan28598/sherlack
b3b4891908f5d7545523af0daea912c3a0feef00
[ "MIT" ]
null
null
null
wolframalpha = dict( app_id = '' )
12.666667
20
0.578947
4
38
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.263158
38
3
21
12.666667
0.75
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
70cea88c665179ee5acadb798bcc8a33e0b53c2b
651
py
Python
fexm/helpers/exceptions.py
fgsect/fexm
cf213c9dea3778c09c1d475e6a16b9db78a6f1e6
[ "Apache-2.0" ]
105
2018-08-09T22:13:59.000Z
2022-03-26T23:24:20.000Z
fexm/helpers/exceptions.py
DeadManINDIA/fexm
ca6629bbcbf79639871d3ec52bc2a7de9ae453a4
[ "Apache-2.0" ]
13
2018-08-23T13:40:04.000Z
2022-03-11T23:28:00.000Z
fexm/helpers/exceptions.py
DeadManINDIA/fexm
ca6629bbcbf79639871d3ec52bc2a7de9ae453a4
[ "Apache-2.0" ]
25
2018-08-09T21:56:12.000Z
2022-03-22T22:08:12.000Z
class CouldNotConfigureException(BaseException): def __str__(self): return "Could not configure the repository." class NotABinaryExecutableException(BaseException): def __str__(self): return "The file given is not a binary executable" class ParametersNotAcceptedException(BaseException): ...
29.590909
84
0.738863
73
651
6.260274
0.479452
0.076586
0.087527
0.140044
0.273523
0.245077
0
0
0
0
0
0
0.195084
651
21
85
31
0.872137
0
0
0.285714
0
0
0.27957
0
0
0
0
0
0
1
0.357143
false
0
0
0.285714
0.928571
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
70f8e4d7b85c7eb8f89f1377b32127c23a8a95ca
216
py
Python
algo-c2d.py
AlgoveraAI/DeFi
9e98aa68ad34e5bb177ec8345121e8a03ada6edc
[ "MIT" ]
null
null
null
algo-c2d.py
AlgoveraAI/DeFi
9e98aa68ad34e5bb177ec8345121e8a03ada6edc
[ "MIT" ]
2
2021-12-15T20:15:35.000Z
2021-12-16T10:03:58.000Z
algo-c2d.py
AlgoveraAI/DeFi
9e98aa68ad34e5bb177ec8345121e8a03ada6edc
[ "MIT" ]
1
2022-01-15T11:49:59.000Z
2022-01-15T11:49:59.000Z
import sys def get_input(local=False): pass def run_algo(local=False): filename = get_input(local) if __name__ == "__main__": local = (len(sys.argv) == 2 and sys.argv[1] == "local") run_algo(local)
19.636364
59
0.652778
33
216
3.909091
0.575758
0.124031
0.20155
0
0
0
0
0
0
0
0
0.011494
0.194444
216
11
60
19.636364
0.729885
0
0
0
0
0
0.059908
0
0
0
0
0
0
1
0.25
false
0.125
0.125
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
1
0
1
0
0
0
0
0
3
70fea06b4b0ad729a7d1b461baab3dc18ec809a5
994
py
Python
staghunt/util.py
airibarne/msthesis
b8c1f861461cd9ccf775a0397723a5f0200dc25f
[ "MIT" ]
null
null
null
staghunt/util.py
airibarne/msthesis
b8c1f861461cd9ccf775a0397723a5f0200dc25f
[ "MIT" ]
null
null
null
staghunt/util.py
airibarne/msthesis
b8c1f861461cd9ccf775a0397723a5f0200dc25f
[ "MIT" ]
1
2022-03-03T19:56:10.000Z
2022-03-03T19:56:10.000Z
"""Miscellaneous utility functions and classes""" import gc import numpy as np import torch as t def kronecker_delta(i, j): return 1 if i == j else 0 def _round_by_tol(x, tol): return x if x > tol else 0 round_by_tol = np.vectorize(_round_by_tol, otypes=[np.float64]) def prod(x): """ Computes t...
21.148936
74
0.627767
164
994
3.682927
0.439024
0.034768
0.049669
0.066225
0.13245
0
0
0
0
0
0
0.010855
0.258551
994
46
75
21.608696
0.808684
0.385312
0
0
0
0
0.04936
0.04936
0
0
0
0
0
1
0.263158
false
0
0.157895
0.105263
0.631579
0.052632
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
cb11b50a2309601ede0a9027aab1db62826234bf
336
py
Python
util/date_util.py
hroncok/Google-Calendar-Simple-API
0891485005d909283d862dc5a41a96ccb93209ac
[ "MIT" ]
null
null
null
util/date_util.py
hroncok/Google-Calendar-Simple-API
0891485005d909283d862dc5a41a96ccb93209ac
[ "MIT" ]
null
null
null
util/date_util.py
hroncok/Google-Calendar-Simple-API
0891485005d909283d862dc5a41a96ccb93209ac
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta def get_utc_datetime(date, *args, **kwargs): if isinstance(date, datetime): return date.isoformat() else: return datetime(date, *args, **kwargs).isoformat() def date_range(start_date, day_count): for n in range(day_count): yield start_date...
24
58
0.681548
44
336
5.045455
0.522727
0.108108
0.144144
0.198198
0
0
0
0
0
0
0
0
0.208333
336
13
59
25.846154
0.834586
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
cb128b4114f1509679f998b5f882d8ec3bf87e47
69,861
py
Python
pysnmp/Nortel-MsCarrier-MscPassport-BaseSnmpMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/Nortel-MsCarrier-MscPassport-BaseSnmpMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/Nortel-MsCarrier-MscPassport-BaseSnmpMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module Nortel-MsCarrier-MscPassport-BaseSnmpMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-MsCarrier-MscPassport-BaseSnmpMIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:19:57 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davw...
154.218543
11,636
0.77753
7,483
69,861
7.258987
0.053722
0.009279
0.012592
0.01679
0.49861
0.468123
0.464589
0.45485
0.446308
0.411992
0
0.091276
0.078671
69,861
452
11,637
154.559735
0.752645
0.005353
0
0
0
0
0.135899
0.066539
0
0
0
0
0
1
0
false
0.078652
0.022472
0
0.022472
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
cb1dc6f731f94d98e6544b500c9a13a8697f6d74
387
py
Python
rul_prediction/poly_reg.py
inovex/RCIS2021-degradation-bearing-vessels
27bd1a2e3f08c5b42011596aa98e5ac627a416d6
[ "MIT" ]
2
2021-06-21T11:40:38.000Z
2021-12-29T02:40:30.000Z
rul_prediction/poly_reg.py
chenzhengkun7/RCIS2021-degradation-estimation-bearing-vessels
27bd1a2e3f08c5b42011596aa98e5ac627a416d6
[ "MIT" ]
2
2021-04-08T11:30:28.000Z
2021-04-12T06:41:31.000Z
rul_prediction/poly_reg.py
chenzhengkun7/RCIS2021-degradation-estimation-bearing-vessels
27bd1a2e3f08c5b42011596aa98e5ac627a416d6
[ "MIT" ]
2
2021-06-21T11:40:43.000Z
2021-12-29T02:36:51.000Z
from sklearn.preprocessing import PolynomialFeatures from sklearn.pipeline import make_pipeline from sklearn.linear_model import LinearRegression from sklearn.pipeline import Pipeline def fit_poly_reg(X, y, degree=1, memory_path=None) -> Pipeline: polyreg = make_pipeline(PolynomialFeatures(degree), LinearRegressi...
35.181818
95
0.808786
49
387
6.244898
0.469388
0.143791
0.124183
0.163399
0
0
0
0
0
0
0
0.002933
0.118863
387
10
96
38.7
0.894428
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
cb30d42a2f2769940f2d129f7489269866cb34b5
219
py
Python
Pratica/exe10.py
Joao-Inacio/Curso-de-Python3
179d85f43f77dced640ffb143a87214538254cf3
[ "MIT" ]
1
2021-07-19T12:31:49.000Z
2021-07-19T12:31:49.000Z
Pratica/exe10.py
Joao-Inacio/Curso-de-Python3
179d85f43f77dced640ffb143a87214538254cf3
[ "MIT" ]
null
null
null
Pratica/exe10.py
Joao-Inacio/Curso-de-Python3
179d85f43f77dced640ffb143a87214538254cf3
[ "MIT" ]
null
null
null
def FizzBuzz(n): if (n % 5) == 0 and (n % 3) == 0: return f'{n} FizzBuzz' if (n % 3) == 0: return f'{n} é fizz' if (n % 5) == 0: return f'{n} buzz' return n print(FizzBuzz(25))
18.25
37
0.438356
37
219
2.594595
0.405405
0.09375
0.25
0.28125
0.229167
0.229167
0
0
0
0
0
0.072464
0.369863
219
11
38
19.909091
0.623188
0
0
0
0
0
0.136986
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.555556
0.111111
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
1
0
0
3
cb38ab910dfe01ff4cc3ce63d8c999e92902a261
519
py
Python
civet/extraction/starting_models.py
FNNDSC/pycivet
440839d8dcb3413ec96d06945498a6a9ec710204
[ "MIT" ]
null
null
null
civet/extraction/starting_models.py
FNNDSC/pycivet
440839d8dcb3413ec96d06945498a6a9ec710204
[ "MIT" ]
null
null
null
civet/extraction/starting_models.py
FNNDSC/pycivet
440839d8dcb3413ec96d06945498a6a9ec710204
[ "MIT" ]
null
null
null
""" Data from the `$MNI_DATAPATH/surface-extraction` directory. """ from civet.extraction.surfaces import RegularSurface from civet.globals import MNI_DATAPATH class SurfaceModel(RegularSurface['SurfaceModel']): """ Represents a surface data file from the `$MNI_DATAPATH/surface-extraction` directory. """ ...
28.833333
89
0.741811
61
519
6.147541
0.47541
0.117333
0.144
0.224
0.234667
0.234667
0.234667
0
0
0
0
0.013544
0.146435
519
17
90
30.529412
0.832957
0.279383
0
0
0
0
0.173789
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
0.714286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
cb733fbcb66e78bb3f14d098be495fdec1f13b85
1,657
py
Python
club/views.py
Tizeta2018/itc-172-web-python
78346496a8b67ec3e2ec7eb60b364fc9e326800d
[ "Apache-2.0" ]
null
null
null
club/views.py
Tizeta2018/itc-172-web-python
78346496a8b67ec3e2ec7eb60b364fc9e326800d
[ "Apache-2.0" ]
null
null
null
club/views.py
Tizeta2018/itc-172-web-python
78346496a8b67ec3e2ec7eb60b364fc9e326800d
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from.models import Meeting, MeetingMinutes, Resource, Event from django.contrib.auth.decorators import login_required #create your views here. def index (request): return render(request, 'club/index.html') #importing all the objects under the producttype def clubmeeti...
33.816327
86
0.69825
194
1,657
5.85567
0.335052
0.084507
0.133803
0.161972
0.259683
0.259683
0.172535
0.172535
0.172535
0.172535
0
0.002214
0.182257
1,657
48
87
34.520833
0.836162
0.047677
0
0.166667
0
0
0.142951
0.01377
0
0
0
0
0
1
0.222222
false
0
0.083333
0.027778
0.527778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
cb8b4b360e5543df1ac589b565eb2090473887b4
20,104
py
Python
resnet.py
Akihiro-A-Fujii/tf__resnet
e3fa9601a8f455ad2e4875755ee49801defae556
[ "MIT" ]
6
2019-11-05T08:20:21.000Z
2021-05-22T06:56:28.000Z
resnet.py
Akihiro-A-Fujii/tf__resnet
e3fa9601a8f455ad2e4875755ee49801defae556
[ "MIT" ]
null
null
null
resnet.py
Akihiro-A-Fujii/tf__resnet
e3fa9601a8f455ad2e4875755ee49801defae556
[ "MIT" ]
2
2020-07-14T05:53:26.000Z
2021-07-13T03:49:23.000Z
import tensorflow as tf from tensorflow.keras.models import Model from tensorflow.keras.layers import Input, Activation, Dense,Flatten, Add, TimeDistributed, Flatten, BatchNormalization from tensorflow.keras.layers import Conv1D,MaxPooling1D,GlobalAveragePooling1D, GlobalMaxPooling1D from tensorflow.keras.layers import...
44.875
145
0.624204
2,370
20,104
5.170464
0.081013
0.105435
0.065693
0.097111
0.786764
0.753876
0.720255
0.689652
0.664028
0.649584
0
0.028245
0.263878
20,104
447
146
44.975392
0.799784
0.107939
0
0.587156
0
0.006116
0.064402
0.002105
0
0
0
0
0
1
0.058104
false
0
0.024465
0
0.171254
0.003058
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
cb91f9388b15b7b5aa15f44acdc5459b96e0b125
509
py
Python
sympy/utilities/tests/test_source.py
JMSS-Unknown/sympy
cd98ba006b5c6d6a6d072eafa28ea6d0ebdaf0e7
[ "BSD-3-Clause" ]
8
2019-05-29T09:38:30.000Z
2021-01-20T03:36:59.000Z
sympy/utilities/tests/test_source.py
JMSS-Unknown/sympy
cd98ba006b5c6d6a6d072eafa28ea6d0ebdaf0e7
[ "BSD-3-Clause" ]
12
2021-03-09T03:01:16.000Z
2022-03-11T23:59:36.000Z
sympy/utilities/tests/test_source.py
JMSS-Unknown/sympy
cd98ba006b5c6d6a6d072eafa28ea6d0ebdaf0e7
[ "BSD-3-Clause" ]
1
2020-07-17T12:49:49.000Z
2020-07-17T12:49:49.000Z
from sympy.utilities.source import get_mod_func, get_class, source from sympy.utilities.pytest import raises from sympy import point from sympy.utilities.exceptions import SymPyDeprecationWarning def test_source(): with raises(SymPyDeprecationWarning): source(point) def test_get_mod_func(): assert get...
28.277778
66
0.746562
67
509
5.402985
0.313433
0.099448
0.149171
0.157459
0
0
0
0
0
0
0
0
0.149312
509
17
67
29.941176
0.836028
0
0
0
0
0
0.137525
0.086444
0
0
0
0
0.153846
1
0.230769
false
0
0.307692
0
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
1
0
1
0
0
3
cb9590b77701b434c5d77734cd9748c2d577cef8
53
py
Python
src/app/tasks/__init__.py
serious-notreally/cappa
993a8df35ca6c3b22f3ca811937fd29c07fc71aa
[ "MIT" ]
9
2020-04-05T07:35:55.000Z
2021-08-03T05:50:05.000Z
src/app/tasks/__init__.py
serious-notreally/cappa
993a8df35ca6c3b22f3ca811937fd29c07fc71aa
[ "MIT" ]
89
2020-01-26T11:50:06.000Z
2022-03-31T07:14:18.000Z
src/app/tasks/__init__.py
serious-notreally/cappa
993a8df35ca6c3b22f3ca811937fd29c07fc71aa
[ "MIT" ]
13
2020-03-10T14:45:07.000Z
2021-07-31T02:43:40.000Z
default_app_config = "app.tasks.apps.TasksAppConfig"
26.5
52
0.830189
7
53
6
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.056604
53
1
53
53
0.84
0
0
0
0
0
0.54717
0.54717
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3