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
c43ec5ef3b2e21fe5a51bc296666113f8c5b2cc0
77
py
Python
onnx/backend/test/report/base.py
L-Net-1992/onnx
acc127219b45bc27b0180b1fdc08299eac81b167
[ "Apache-2.0" ]
1
2022-03-04T03:29:37.000Z
2022-03-04T03:29:37.000Z
onnx/backend/test/report/base.py
alsj213/onnx
35092895d9bf3592e58f4710d098f8131afef259
[ "Apache-2.0" ]
null
null
null
onnx/backend/test/report/base.py
alsj213/onnx
35092895d9bf3592e58f4710d098f8131afef259
[ "Apache-2.0" ]
1
2022-03-27T19:17:02.000Z
2022-03-27T19:17:02.000Z
# SPDX-License-Identifier: Apache-2.0 class ReporterBase(object): pass
12.833333
37
0.727273
10
77
5.6
1
0
0
0
0
0
0
0
0
0
0
0.030769
0.155844
77
5
38
15.4
0.830769
0.454545
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
c449d98fad9e0d14a599db0a85095568f675755c
61
py
Python
configuration/__init__.py
Parveen3300/Reans
6dfce046b01099284a8c945a04600ed83e5099a4
[ "Apache-2.0" ]
null
null
null
configuration/__init__.py
Parveen3300/Reans
6dfce046b01099284a8c945a04600ed83e5099a4
[ "Apache-2.0" ]
null
null
null
configuration/__init__.py
Parveen3300/Reans
6dfce046b01099284a8c945a04600ed83e5099a4
[ "Apache-2.0" ]
null
null
null
default_app_config = 'configuration.apps.ConfigurationConfig'
61
61
0.885246
6
61
8.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.032787
61
1
61
61
0.881356
0
0
0
0
0
0.612903
0.612903
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c44d887a3ff706ef847207f212c9f1c5b05f7504
1,474
py
Python
generators/simple/templates/src/platform/extensionRunner/cdf/source_service.py
jfallaire/generator-ps-boilerplate-project
36f544a54442c191430451715425da98ea76a63e
[ "MIT" ]
2
2019-07-24T16:00:51.000Z
2019-10-03T18:36:20.000Z
generators/simple/templates/src/platform/extensionRunner/cdf/source_service.py
jfallaire/generator-ps-boilerplate-project
36f544a54442c191430451715425da98ea76a63e
[ "MIT" ]
19
2019-06-20T21:58:44.000Z
2020-11-05T13:48:42.000Z
generators/simple/templates/src/platform/extensionRunner/cdf/source_service.py
jfallaire/generator-ps-boilerplate-project
36f544a54442c191430451715425da98ea76a63e
[ "MIT" ]
1
2019-06-22T17:30:42.000Z
2019-06-22T17:30:42.000Z
""" - THIS FILE IS GENERATED - CoveoInterfaces/CoveoInterfaces/SourceService.jid """ from typing import List from .root import CoveoInterface, api from .crawler import Config from .document_config_definition import DocumentConfig class ISourceService(CoveoInterface): """Interface used to retrieve the crawl...
35.095238
108
0.704206
173
1,474
5.843931
0.283237
0.124629
0.034619
0.04451
0.536103
0.509397
0.509397
0.462908
0.387735
0.276954
0
0
0.208277
1,474
41
109
35.95122
0.866324
0.397558
0
0
1
0
0.290365
0.290365
0
0
0
0
0
1
0.272727
false
0
0.363636
0
0.727273
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
1
0
1
0
0
4
670afb15149c9e7495e9ee74f47e30d688219165
14,795
py
Python
tests/test_check.py
eduflow/samesite-compat-check
74b3c79e22cc68b4693fa4cc7c1ce5d95e2678ae
[ "Apache-2.0" ]
4
2020-08-28T08:30:59.000Z
2021-04-19T20:57:39.000Z
tests/test_check.py
eduflow/samesite-compat-check
74b3c79e22cc68b4693fa4cc7c1ce5d95e2678ae
[ "Apache-2.0" ]
2
2020-03-21T01:13:13.000Z
2020-03-21T01:13:35.000Z
tests/test_check.py
peergradeio/samesite-compat-check
74b3c79e22cc68b4693fa4cc7c1ce5d95e2678ae
[ "Apache-2.0" ]
null
null
null
from samesite_compat_check import should_send_same_site_none ''' User-Agent strings below are sampled from https://developers.whatismybrowser.com/useragents/ Let's reiterate -- the following browsers should not receive a `SameSite=None` cookie: * Chrome 51 to Chrome 66 -- inclusive on both ends (Doesn't apply on i...
64.890351
340
0.775465
2,956
14,795
3.574425
0.092693
0.057732
0.080825
0.103918
0.804562
0.75194
0.686636
0.64452
0.568616
0.523566
0
0.161973
0.119094
14,795
227
341
65.176211
0.648738
0.036769
0
0
0
0.472
0.551227
0.018422
0
0
0
0
0.456
1
0.064
false
0
0.008
0
0.072
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
67318262991a56591e75c39e16e26ef09ad5e225
70
py
Python
dfa/__init__.py
fu11zero/DFA-Implementation
117c34ea678a2877e02f70c96e90806492dd7dd6
[ "MIT" ]
null
null
null
dfa/__init__.py
fu11zero/DFA-Implementation
117c34ea678a2877e02f70c96e90806492dd7dd6
[ "MIT" ]
null
null
null
dfa/__init__.py
fu11zero/DFA-Implementation
117c34ea678a2877e02f70c96e90806492dd7dd6
[ "MIT" ]
1
2021-04-23T11:12:51.000Z
2021-04-23T11:12:51.000Z
""" Package with deterministic finite state machine implementation """
23.333333
62
0.8
7
70
8
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
70
3
63
23.333333
0.903226
0.885714
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
67400d590d3ece34181408a012fe51dfb55cb651
175
py
Python
test.py
nerdguyahmad/discord-emoji-stealer
5e34b7edac0f14cae21de2bd43c573cee0f7631f
[ "MIT" ]
null
null
null
test.py
nerdguyahmad/discord-emoji-stealer
5e34b7edac0f14cae21de2bd43c573cee0f7631f
[ "MIT" ]
null
null
null
test.py
nerdguyahmad/discord-emoji-stealer
5e34b7edac0f14cae21de2bd43c573cee0f7631f
[ "MIT" ]
null
null
null
from discord.ext import commands bot = commands.Bot(command_prefix='!') bot.load_extension("cogs.Makeemoji") bot.load_extension("cogs.StealEmoji") bot.run("token")
19.444444
39
0.731429
23
175
5.434783
0.652174
0.176
0.256
0.32
0
0
0
0
0
0
0
0
0.12
175
8
40
21.875
0.811688
0
0
0
0
0
0.209581
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
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
4
6748c4f366be0ff370647b04fc513ee00f824f0e
239
py
Python
lang/py/pylib/code/exceptions/exceptions_StopIteration.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
13
2020-01-04T07:37:38.000Z
2021-08-31T05:19:58.000Z
lang/py/pylib/code/exceptions/exceptions_StopIteration.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
3
2020-06-05T22:42:53.000Z
2020-08-24T07:18:54.000Z
lang/py/pylib/code/exceptions/exceptions_StopIteration.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
9
2020-10-19T04:53:06.000Z
2021-08-31T05:20:01.000Z
#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2008 Doug Hellmann All rights reserved. # """ """ __version__ = "$Id$" #end_pymotw_header l=[0,1,2] i=iter(l) print i print i.next() print i.next() print i.next() print i.next()
11.95
55
0.65272
41
239
3.658537
0.682927
0.2
0.266667
0.3
0.266667
0.266667
0.266667
0.266667
0.266667
0
0
0.039604
0.154812
239
19
56
12.578947
0.70297
0.447699
0
0.5
0
0
0.033613
0
0
0
0
0
0
0
null
null
0
0
null
null
0.625
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
4
6752bb39f20535e47928020d0b2a9a3daa6c7f38
226
py
Python
tests/integration/cli/projects/script/scripts/deploy.py
Ninjagod1251/ape
9b40ef15f25362ddb83cb6d571d60cab041fce4a
[ "Apache-2.0" ]
1
2022-01-25T21:26:01.000Z
2022-01-25T21:26:01.000Z
tests/integration/cli/projects/script/scripts/deploy.py
Ninjagod1251/ape
9b40ef15f25362ddb83cb6d571d60cab041fce4a
[ "Apache-2.0" ]
1
2022-03-05T07:08:07.000Z
2022-03-11T17:05:13.000Z
tests/integration/cli/projects/script/scripts/deploy.py
Ninjagod1251/ape
9b40ef15f25362ddb83cb6d571d60cab041fce4a
[ "Apache-2.0" ]
null
null
null
from ape import networks # Make sure the re-import bug goes away from ._utils import deploy # noqa: F401 def main(): assert networks.active_provider.name == "test" print("Super secret script output") # noqa: T001
22.6
53
0.712389
33
226
4.818182
0.848485
0
0
0
0
0
0
0
0
0
0
0.033149
0.199115
226
9
54
25.111111
0.845304
0.261062
0
0
0
0
0.184049
0
0
0
0
0
0.2
1
0.2
true
0
0.4
0
0.6
0.2
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
1
0
0
4
677fd6622dffcce93e9c7db0ecb033606431dc94
135
py
Python
fig2/runSimMatrix.py
neurorishika/odor-states
b88a24edabf2ee1ec094d7a062d6ca640bfcf342
[ "MIT" ]
null
null
null
fig2/runSimMatrix.py
neurorishika/odor-states
b88a24edabf2ee1ec094d7a062d6ca640bfcf342
[ "MIT" ]
null
null
null
fig2/runSimMatrix.py
neurorishika/odor-states
b88a24edabf2ee1ec094d7a062d6ca640bfcf342
[ "MIT" ]
null
null
null
from subprocess import call import sys for i in [59428,13674,84932,72957,85036]: call(["python","onlyLNs.py",sys.argv[1],str(i)])
22.5
52
0.703704
23
135
4.130435
0.826087
0
0
0
0
0
0
0
0
0
0
0.218487
0.118519
135
5
53
27
0.579832
0
0
0
0
0
0.118519
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
678303bcd3f3f66cb1f6432e78ad78272ccac839
119
py
Python
component/message/__init__.py
sepal-contrib/se.plan
a534d0f15e371310b6bc483867685f8a21f790c0
[ "MIT" ]
null
null
null
component/message/__init__.py
sepal-contrib/se.plan
a534d0f15e371310b6bc483867685f8a21f790c0
[ "MIT" ]
null
null
null
component/message/__init__.py
sepal-contrib/se.plan
a534d0f15e371310b6bc483867685f8a21f790c0
[ "MIT" ]
null
null
null
import os from pathlib import Path from sepal_ui.translator import Translator cm = Translator(Path(__file__).parent)
17
42
0.815126
17
119
5.411765
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.12605
119
6
43
19.833333
0.884615
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
67aad26b320f0163b8f14d543f14989e05b5f6ce
298
py
Python
backend/account/permissions.py
aurma97/to52_ok
c5f940416938e1bb0d3110dfafa43cb7197df984
[ "MIT" ]
null
null
null
backend/account/permissions.py
aurma97/to52_ok
c5f940416938e1bb0d3110dfafa43cb7197df984
[ "MIT" ]
4
2021-04-08T22:09:42.000Z
2021-06-10T20:38:06.000Z
backend/account/permissions.py
aurma97/to52_ok
c5f940416938e1bb0d3110dfafa43cb7197df984
[ "MIT" ]
null
null
null
from rest_framework.permissions import BasePermission class AllowAny(BasePermission): """ Object-level permission to only allow owners of an object to edit it. Assumes the model instance has an `owner` attribute. """ def has_permission(self, request, view): return True
33.111111
73
0.724832
38
298
5.631579
0.842105
0
0
0
0
0
0
0
0
0
0
0
0.208054
298
9
74
33.111111
0.90678
0.409396
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
67b5a196c9054ae33f2f6468f3cbe8f750336619
38
py
Python
netxlib/__init__.py
vargyropoulos/netxlib
c0f05edf2e7800353a6628beca8dc661b05e885e
[ "MIT" ]
null
null
null
netxlib/__init__.py
vargyropoulos/netxlib
c0f05edf2e7800353a6628beca8dc661b05e885e
[ "MIT" ]
null
null
null
netxlib/__init__.py
vargyropoulos/netxlib
c0f05edf2e7800353a6628beca8dc661b05e885e
[ "MIT" ]
null
null
null
name = "netxlib" from . import cisco
9.5
19
0.684211
5
38
5.2
1
0
0
0
0
0
0
0
0
0
0
0
0.210526
38
3
20
12.666667
0.866667
0
0
0
0
0
0.184211
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
db01dbd252f04ce528da10e6af673f0aff69aaa1
119
py
Python
app/bulbs/admin.py
Ibraci/Inine
d7db6b3265ddfb1b485e86ce3ea59f5f63b931d3
[ "MIT" ]
null
null
null
app/bulbs/admin.py
Ibraci/Inine
d7db6b3265ddfb1b485e86ce3ea59f5f63b931d3
[ "MIT" ]
null
null
null
app/bulbs/admin.py
Ibraci/Inine
d7db6b3265ddfb1b485e86ce3ea59f5f63b931d3
[ "MIT" ]
null
null
null
from django.contrib import admin from rooms.models import Bulb # Register your models here. admin.site.register(Bulb)
19.833333
32
0.806723
18
119
5.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.12605
119
5
33
23.8
0.923077
0.218487
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
db0c798a086f03e0f091876eb0cd996c50a76237
53
py
Python
lessons/Test_and_function_programming_in_Python/project/mymodule/__init__.py
johnklee/oo_dp_lesson
06814a88b86b38435e0ed8f305ce9e50c1aac1f6
[ "MIT" ]
null
null
null
lessons/Test_and_function_programming_in_Python/project/mymodule/__init__.py
johnklee/oo_dp_lesson
06814a88b86b38435e0ed8f305ce9e50c1aac1f6
[ "MIT" ]
7
2021-06-07T03:52:37.000Z
2022-03-14T11:07:31.000Z
lessons/Test_and_function_programming_in_Python/project/mymodule/__init__.py
johnklee/oo_dp_lesson
06814a88b86b38435e0ed8f305ce9e50c1aac1f6
[ "MIT" ]
null
null
null
import os def rm(filename): os.remove(filename)
10.6
23
0.698113
8
53
4.625
0.75
0
0
0
0
0
0
0
0
0
0
0
0.188679
53
4
24
13.25
0.860465
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
4
db11aa0ef6d9dcc0d2d4f1c06e8bf6c30dbc0816
157
py
Python
kaffepause/statusupdates/schema.py
Eirsteir/kaffepause
77535f057e68d575831e3a44f36285ab2fe621d4
[ "MIT" ]
null
null
null
kaffepause/statusupdates/schema.py
Eirsteir/kaffepause
77535f057e68d575831e3a44f36285ab2fe621d4
[ "MIT" ]
2
2022-02-28T21:04:22.000Z
2022-03-01T21:05:37.000Z
kaffepause/statusupdates/schema.py
Eirsteir/kaffepause
77535f057e68d575831e3a44f36285ab2fe621d4
[ "MIT" ]
null
null
null
import graphene from kaffepause.statusupdates.mutations import UpdateStatus class Mutation(graphene.ObjectType): update_status = UpdateStatus.Field()
19.625
59
0.821656
16
157
8
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.11465
157
7
60
22.428571
0.920863
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
db16314a09f3a4581d1fcddaa084f2f55a2270a2
106
py
Python
1-Lists/access-elements/access-elements.py
l33th/intermediate-python-programming
4cdb688b2ae6d5dc36970c1dd9aadfc5258aa6e7
[ "MIT" ]
1
2021-12-19T07:17:17.000Z
2021-12-19T07:17:17.000Z
1-Lists/access-elements/access-elements.py
l33th/advanced-python-programming
4cdb688b2ae6d5dc36970c1dd9aadfc5258aa6e7
[ "MIT" ]
null
null
null
1-Lists/access-elements/access-elements.py
l33th/advanced-python-programming
4cdb688b2ae6d5dc36970c1dd9aadfc5258aa6e7
[ "MIT" ]
null
null
null
crypto_list = ["bitcoin", "ethereum", "monero"] print(crypto_list) crypto = crypto_list[1] print(crypto)
17.666667
47
0.726415
14
106
5.285714
0.5
0.405405
0
0
0
0
0
0
0
0
0
0.010526
0.103774
106
5
48
21.2
0.768421
0
0
0
0
0
0.198113
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
4
db2ea120a07fb49f3934ef996c389d25bb8abf90
39
py
Python
PyDSS/__init__.py
JMorganUSU/PyDSS
7e28c45204e6ba8e703162c24c8a585f038fff6a
[ "BSD-3-Clause" ]
1
2022-03-03T16:05:41.000Z
2022-03-03T16:05:41.000Z
PyDSS/__init__.py
JMorganUSU/PyDSS
7e28c45204e6ba8e703162c24c8a585f038fff6a
[ "BSD-3-Clause" ]
null
null
null
PyDSS/__init__.py
JMorganUSU/PyDSS
7e28c45204e6ba8e703162c24c8a585f038fff6a
[ "BSD-3-Clause" ]
1
2022-03-03T16:05:31.000Z
2022-03-03T16:05:31.000Z
__version__ = "2.0.5" from . import *
9.75
21
0.615385
6
39
3.333333
1
0
0
0
0
0
0
0
0
0
0
0.096774
0.205128
39
3
22
13
0.548387
0
0
0
0
0
0.128205
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
e1d1ed4e6cf8c64e1062449685ad429e586cdcc7
208
py
Python
CONFIG/CONFIG/views.py
Brktrlw/Instagram-Clone-Django-and-React
6390db2133d3beae2097a680097e170bd4fbcabe
[ "MIT", "PostgreSQL", "Unlicense" ]
null
null
null
CONFIG/CONFIG/views.py
Brktrlw/Instagram-Clone-Django-and-React
6390db2133d3beae2097a680097e170bd4fbcabe
[ "MIT", "PostgreSQL", "Unlicense" ]
null
null
null
CONFIG/CONFIG/views.py
Brktrlw/Instagram-Clone-Django-and-React
6390db2133d3beae2097a680097e170bd4fbcabe
[ "MIT", "PostgreSQL", "Unlicense" ]
null
null
null
from django.shortcuts import render from django.views import View class HomePageView(View): http_method_names = ['get',] def get(self,request): return render(request,"homepage.html")
13
46
0.697115
26
208
5.5
0.730769
0.13986
0
0
0
0
0
0
0
0
0
0
0.201923
208
15
47
13.866667
0.861446
0
0
0
0
0
0.078431
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
4
e1e6dc27ca3ddb54329b27672a0bc5ac8f0a65b9
137
py
Python
src/forward/layers/__init__.py
RomainGratier/Black-box_Optimization_via_Deep_Generative-Exploratory_Networks
2cce334b473df709eb67d2f351a96cde1addc5a6
[ "MIT" ]
4
2020-04-07T08:40:11.000Z
2022-03-31T12:57:19.000Z
src/forward/layers/__init__.py
RomainGratier/Black-box_Optimization_via_Deep_Generative-Exploratory_Networks
2cce334b473df709eb67d2f351a96cde1addc5a6
[ "MIT" ]
4
2020-04-08T08:26:03.000Z
2020-04-08T08:28:56.000Z
src/forward/layers/__init__.py
RomainGratier/Black-box_Optimization_via_Deep_Generative-Exploratory_Networks
2cce334b473df709eb67d2f351a96cde1addc5a6
[ "MIT" ]
null
null
null
from .BBB import BBB_Linear, BBB_Conv2d from .BBB_LRT import BBB_LRT_Linear, BBB_LRT_Conv2d from .misc import FlattenLayer, ModuleWrapper
45.666667
51
0.854015
22
137
5
0.409091
0.163636
0
0
0
0
0
0
0
0
0
0.01626
0.10219
137
3
52
45.666667
0.878049
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
c0028f1a33d05cb58ae74b06113bfaaa5d29c17d
303
py
Python
nudgebot/tasks/__init__.py
gshefer/Nudgebot
4cf6cf1fe975a9002299f0460873c0f21bc8d414
[ "MIT" ]
3
2018-04-03T14:34:39.000Z
2018-04-26T12:18:49.000Z
nudgebot/tasks/__init__.py
gshefer/Nudgebot
4cf6cf1fe975a9002299f0460873c0f21bc8d414
[ "MIT" ]
null
null
null
nudgebot/tasks/__init__.py
gshefer/Nudgebot
4cf6cf1fe975a9002299f0460873c0f21bc8d414
[ "MIT" ]
null
null
null
from functools import partial from nudgebot.utils import collect_subclasses from nudgebot.tasks.base import TaskBase from . import base from .base import ConditionalTask, PeriodicTask # noqa collect_task_classes = partial(collect_subclasses, cls=TaskBase, exclude=collect_subclasses(base, TaskBase))
33.666667
108
0.838284
38
303
6.552632
0.473684
0.204819
0
0
0
0
0
0
0
0
0
0
0.105611
303
8
109
37.875
0.918819
0.013201
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
c019d7f3f160df95df6cdaef2c1177307f952c38
206
py
Python
0-python-tutorial/01-syntax03.py
luis2ra/py3-00-w3schools
6bb851837f8ef9520491d13fa2c909047c9b18cf
[ "MIT" ]
null
null
null
0-python-tutorial/01-syntax03.py
luis2ra/py3-00-w3schools
6bb851837f8ef9520491d13fa2c909047c9b18cf
[ "MIT" ]
null
null
null
0-python-tutorial/01-syntax03.py
luis2ra/py3-00-w3schools
6bb851837f8ef9520491d13fa2c909047c9b18cf
[ "MIT" ]
null
null
null
# Demo Python Indentation # The number of spaces is up to you as a programmer, but it has to be at least one. if 5 > 2: print("Five is greater than two!") if 5 > 2: print("Five is greater than two!")
29.428571
83
0.679612
40
206
3.5
0.725
0.042857
0.057143
0.128571
0.414286
0.414286
0.414286
0.414286
0.414286
0
0
0.025316
0.23301
206
7
84
29.428571
0.860759
0.509709
0
1
0
0
0.505051
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
c0325818ca8e564176a19f3e1680c3225f72a7b7
238
py
Python
Exercicios-CursoEmVideo/ex003.py
guilhermeerosa/Python
bf15b2abc952e3792d058ae72c157709e113b651
[ "MIT" ]
null
null
null
Exercicios-CursoEmVideo/ex003.py
guilhermeerosa/Python
bf15b2abc952e3792d058ae72c157709e113b651
[ "MIT" ]
null
null
null
Exercicios-CursoEmVideo/ex003.py
guilhermeerosa/Python
bf15b2abc952e3792d058ae72c157709e113b651
[ "MIT" ]
null
null
null
#Realiza a soma entre os numeros informados print('Calculadora de soma') n1 = int(input('Informe o primeiro número: ')) n2 = int(input('Informe o segundo número: ')) print(f'A soma é {n1+n2}') print(f'A soma entre {n1} e {n2} é {n1+n2}')
34
46
0.684874
43
238
3.790698
0.511628
0.092025
0.122699
0.196319
0
0
0
0
0
0
0
0.039604
0.151261
238
6
47
39.666667
0.767327
0.176471
0
0
0
0
0.625641
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
c037bb0302f8848e18ec02c8ac698998aace47c3
121
py
Python
chap01/k01.py
wtsnjp/nlp100
8beaabd0e8598e8a0cbd1eca690281ce5d783e93
[ "Unlicense" ]
3
2018-01-18T09:56:39.000Z
2019-03-14T05:54:11.000Z
chap01/k01.py
WatsonDNA/nlp100
8beaabd0e8598e8a0cbd1eca690281ce5d783e93
[ "Unlicense" ]
null
null
null
chap01/k01.py
WatsonDNA/nlp100
8beaabd0e8598e8a0cbd1eca690281ce5d783e93
[ "Unlicense" ]
1
2020-05-12T14:24:00.000Z
2020-05-12T14:24:00.000Z
# # usage: python k01.py # def get_odd(s): return s[::2] if __name__ == '__main__': print(get_odd('パタトクカシーー'))
12.1
30
0.603306
18
121
3.5
0.833333
0.190476
0
0
0
0
0
0
0
0
0
0.03125
0.206612
121
9
31
13.444444
0.625
0.165289
0
0
0
0
0.164948
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
c03bb0fa21e06a87bbfafa6c14cbe842673e71ab
7,323
py
Python
pysnmp-with-texts/Netgear-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/Netgear-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/Netgear-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 Netgear-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Netgear-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:26:06 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 0...
90.407407
1,244
0.697801
1,119
7,323
4.566577
0.20286
0.025049
0.181996
0.194129
0.422309
0.378082
0.378082
0.378082
0.333072
0.228571
0
0.21482
0.141199
7,323
80
1,245
91.5375
0.59771
0.043152
0
0
0
0.013889
0.183195
0.006288
0
0
0
0
0
1
0
false
0
0.083333
0
0.125
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c055e194d22f6a7189e090e03566c638a1aa8eff
255
py
Python
tests/tools/monkeypath_target.py
yoyonel/cruft_helloworld
e201bcd83103e65fb86a4a267ff3506c92ddf338
[ "MIT" ]
1
2021-09-15T11:45:35.000Z
2021-09-15T11:45:35.000Z
tests/tools/monkeypath_target.py
yoyonel/cruft_helloworld
e201bcd83103e65fb86a4a267ff3506c92ddf338
[ "MIT" ]
9
2020-12-20T00:29:52.000Z
2021-01-27T19:06:34.000Z
tests/tools/monkeypath_target.py
yoyonel/cruft_helloworld
e201bcd83103e65fb86a4a267ff3506c92ddf338
[ "MIT" ]
1
2021-03-08T19:32:03.000Z
2021-03-08T19:32:03.000Z
from inspect import getmembers from typing import Callable def build_target(target: Callable) -> str: """ >>> build_target(getmembers) 'inspect.getmembers' """ return f"{dict(getmembers(target))['__module__']}.{target.__qualname__}"
23.181818
76
0.694118
27
255
6.185185
0.555556
0.131737
0
0
0
0
0
0
0
0
0
0
0.164706
255
10
77
25.5
0.784038
0.192157
0
0
0
0
0.333333
0.333333
0
0
0
0
0
1
0.25
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
4
221ce5dcc2281064b6dcb84f74293ac344b7230f
21
py
Python
aliyun-python-sdk-ocs/aliyunsdkocs/__init__.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
1,001
2015-07-24T01:32:41.000Z
2022-03-25T01:28:18.000Z
aliyun-python-sdk-ocs/aliyunsdkocs/__init__.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
363
2015-10-20T03:15:00.000Z
2022-03-08T12:26:19.000Z
aliyun-python-sdk-ocs/aliyunsdkocs/__init__.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
682
2015-09-22T07:19:02.000Z
2022-03-22T09:51:46.000Z
__version__ = "0.0.4"
21
21
0.666667
4
21
2.5
0.75
0
0
0
0
0
0
0
0
0
0
0.157895
0.095238
21
1
21
21
0.368421
0
0
0
0
0
0.227273
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
224bcfa480aeed7cc115b23e50b8432bb6b262c5
259
py
Python
rastervision2/core/data/raster_transformer/raster_transformer_config.py
alexchunet/raster-vision
76e2965557fc8380e2ffc4aa7ab1f5dc45f79033
[ "Apache-2.0" ]
1
2020-10-10T12:32:43.000Z
2020-10-10T12:32:43.000Z
rastervision2/core/data/raster_transformer/raster_transformer_config.py
alexchunet/raster-vision
76e2965557fc8380e2ffc4aa7ab1f5dc45f79033
[ "Apache-2.0" ]
null
null
null
rastervision2/core/data/raster_transformer/raster_transformer_config.py
alexchunet/raster-vision
76e2965557fc8380e2ffc4aa7ab1f5dc45f79033
[ "Apache-2.0" ]
1
2021-12-02T08:07:21.000Z
2021-12-02T08:07:21.000Z
from rastervision2.pipeline.config import Config, register_config @register_config('raster_transformer') class RasterTransformerConfig(Config): def update(self, pipeline=None, scene=None): pass def update_root(self, root_dir): pass
23.545455
65
0.745174
30
259
6.266667
0.6
0.148936
0.212766
0
0
0
0
0
0
0
0
0.004651
0.169884
259
10
66
25.9
0.869767
0
0
0.285714
0
0
0.069498
0
0
0
0
0
0
1
0.285714
false
0.285714
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
1
0
0
1
0
0
4
22527f1fde698cb91f9602a8482a7c08c3bff6b1
7,210
py
Python
tests/legacy_unittest/icon_score/test_bloom.py
bayeshack2016/icon-service
36cab484d2e41548d7f2f74526f127ee3a4423fc
[ "Apache-2.0" ]
52
2018-08-24T02:28:43.000Z
2021-07-06T04:44:22.000Z
tests/legacy_unittest/icon_score/test_bloom.py
bayeshack2016/icon-service
36cab484d2e41548d7f2f74526f127ee3a4423fc
[ "Apache-2.0" ]
62
2018-09-17T06:59:16.000Z
2021-12-15T06:02:51.000Z
tests/legacy_unittest/icon_score/test_bloom.py
bayeshack2016/icon-service
36cab484d2e41548d7f2f74526f127ee3a4423fc
[ "Apache-2.0" ]
35
2018-09-14T02:42:10.000Z
2022-02-05T10:34:46.000Z
# source code from # https://github.com/ethereum/eth-bloom # # run tests with following commands: # py.test tests/ # run all tests under tests directory # py.test tests/test_bloom.py # run all tests in tests/test_bloom.py # py.test tests/test_bloom.py::test_icon_bloom # run test_icon_blo...
30.811966
638
0.737171
710
7,210
7.373239
0.170423
0.05616
0.613754
0.722063
0.413754
0.377459
0.267049
0.260745
0.260745
0.260745
0
0.47497
0.193759
7,210
234
639
30.811966
0.425598
0.088904
0
0.306748
0
0
0.333791
0.311193
0
0
0
0
0.300614
1
0.04908
false
0
0.02454
0
0.07362
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2274d68bdbe1d1bd9936eecb203b49d6a9cb97d6
147
py
Python
ms1.py
brucellino/advent-of-code-2017
8a4e63408469558737d0cafa2b7b04b602b6c881
[ "Apache-2.0" ]
null
null
null
ms1.py
brucellino/advent-of-code-2017
8a4e63408469558737d0cafa2b7b04b602b6c881
[ "Apache-2.0" ]
null
null
null
ms1.py
brucellino/advent-of-code-2017
8a4e63408469558737d0cafa2b7b04b602b6c881
[ "Apache-2.0" ]
null
null
null
def inverseCaptcha(input): """ A function to determine the reverse captcha :param input: The string to use """
24.5
51
0.564626
16
147
5.1875
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.360544
147
6
52
24.5
0.882979
0.510204
0
0
0
0
0
0
0
0
0
0
0
1
1
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
97eade3f6e7f5dada3406d02f210043c731838ee
1,314
py
Python
gcp_variant_transforms/transforms/partition_variants.py
sbhave77/gcp-variant-transforms
9c6b229ec7ad879a811fefbb38935c2ebad4fbe6
[ "Apache-2.0" ]
null
null
null
gcp_variant_transforms/transforms/partition_variants.py
sbhave77/gcp-variant-transforms
9c6b229ec7ad879a811fefbb38935c2ebad4fbe6
[ "Apache-2.0" ]
null
null
null
gcp_variant_transforms/transforms/partition_variants.py
sbhave77/gcp-variant-transforms
9c6b229ec7ad879a811fefbb38935c2ebad4fbe6
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
38.647059
89
0.774734
182
1,314
5.456044
0.565934
0.060423
0.026183
0.032226
0.066465
0.066465
0
0
0
0
0
0.007156
0.149163
1,314
33
90
39.818182
0.881038
0.637747
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.444444
0.111111
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
4
97f6721427b8c6defd514e045d7c4bedf0ba048e
190
py
Python
tests/views.py
timgates42/django-redis-cache
87e615eeb1fe5ab2b47ed628de701fc3d9ea03bb
[ "BSD-3-Clause" ]
650
2015-01-05T22:28:33.000Z
2022-03-15T21:53:36.000Z
tests/views.py
timgates42/django-redis-cache
87e615eeb1fe5ab2b47ed628de701fc3d9ea03bb
[ "BSD-3-Clause" ]
122
2015-01-15T16:50:16.000Z
2022-02-10T11:57:25.000Z
tests/views.py
timgates42/django-redis-cache
87e615eeb1fe5ab2b47ed628de701fc3d9ea03bb
[ "BSD-3-Clause" ]
160
2015-02-06T14:44:03.000Z
2022-03-12T18:27:24.000Z
from django.core.cache import caches from django.http import HttpResponse def someview(request): cache = caches['default'] cache.set("foo", "bar") return HttpResponse("Pants")
21.111111
36
0.715789
24
190
5.666667
0.708333
0.147059
0
0
0
0
0
0
0
0
0
0
0.163158
190
8
37
23.75
0.855346
0
0
0
0
0
0.094737
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
97fd7535b40cec77b1e5527520af1b79adfd202e
95
py
Python
BulkDelete/apps.py
4plus39/mysite
5520a684af94ec8930c2f19afb54229e1d71012c
[ "MIT" ]
null
null
null
BulkDelete/apps.py
4plus39/mysite
5520a684af94ec8930c2f19afb54229e1d71012c
[ "MIT" ]
null
null
null
BulkDelete/apps.py
4plus39/mysite
5520a684af94ec8930c2f19afb54229e1d71012c
[ "MIT" ]
null
null
null
from django.apps import AppConfig class BulkdeleteConfig(AppConfig): name = 'BulkDelete'
15.833333
34
0.768421
10
95
7.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.157895
95
5
35
19
0.9125
0
0
0
0
0
0.105263
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
3f2dbc37dabc9b27129ad904d6bc23ff9dd8c53d
96
py
Python
job_search_app/__init__.py
dakotagporter/job_search
5bd7a5355944d81b9a12205b8000ec1e8925a05a
[ "MIT" ]
null
null
null
job_search_app/__init__.py
dakotagporter/job_search
5bd7a5355944d81b9a12205b8000ec1e8925a05a
[ "MIT" ]
null
null
null
job_search_app/__init__.py
dakotagporter/job_search
5bd7a5355944d81b9a12205b8000ec1e8925a05a
[ "MIT" ]
null
null
null
"""Initialization file of Flask application.""" from .app import create_app APP = create_app()
19.2
47
0.75
13
96
5.384615
0.692308
0.257143
0
0
0
0
0
0
0
0
0
0
0.135417
96
4
48
24
0.843373
0.427083
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
3f32bd35e9ec17000c1fcf74c35dd57389380b15
385
py
Python
src/compas/scenes/__init__.py
arpastrana/compas
ed677a162c14dbe562c82d72f370279259faf7da
[ "MIT" ]
null
null
null
src/compas/scenes/__init__.py
arpastrana/compas
ed677a162c14dbe562c82d72f370279259faf7da
[ "MIT" ]
null
null
null
src/compas/scenes/__init__.py
arpastrana/compas
ed677a162c14dbe562c82d72f370279259faf7da
[ "MIT" ]
null
null
null
""" ******************************************************************************** scenes ******************************************************************************** .. currentmodule:: compas.scenes """ from __future__ import absolute_import from __future__ import division from __future__ import print_function...
27.5
80
0.444156
28
385
5.428571
0.642857
0.197368
0.315789
0
0
0
0
0
0
0
0
0
0.085714
385
13
81
29.615385
0.431818
0.524675
0
0
0
0
0.005747
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0.25
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
3f557f56f22006f0950feb1c3c4eda2fc98c561e
641
py
Python
hello/migrations/0010_auto_20201228_1537.py
StafaH/jamm-bandit
3c489817acc5c9b4d86a283809d59569b07f53d7
[ "MIT" ]
2
2021-06-30T11:22:21.000Z
2021-06-30T11:22:23.000Z
hello/migrations/0010_auto_20201228_1537.py
StafaH/jamm-bandit
3c489817acc5c9b4d86a283809d59569b07f53d7
[ "MIT" ]
null
null
null
hello/migrations/0010_auto_20201228_1537.py
StafaH/jamm-bandit
3c489817acc5c9b4d86a283809d59569b07f53d7
[ "MIT" ]
2
2020-11-12T18:05:00.000Z
2020-11-28T20:06:58.000Z
# Generated by Django 3.1.4 on 2020-12-28 20:37 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('hello', '0009_auto_20201228_1511'), ] operations = [ migrations.RemoveField( model_name='profile', name='age', ), ...
21.366667
47
0.528861
56
641
5.928571
0.589286
0.253012
0.313253
0.361446
0.493976
0.493976
0
0
0
0
0
0.075243
0.357254
641
29
48
22.103448
0.730583
0.070203
0
0.521739
1
0
0.138047
0.038721
0
0
0
0
0
1
0
false
0
0.043478
0
0.173913
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
58ba293d963afccec4aa7530bb490a521f3582ca
2,167
py
Python
tests/test_dot.py
brsynth/rp2paths
cb53d452896a5c03330a1c412352ab4bbac556af
[ "MIT" ]
13
2017-12-20T14:51:58.000Z
2021-12-25T13:01:04.000Z
tests/test_dot.py
brsynth/rp2paths
cb53d452896a5c03330a1c412352ab4bbac556af
[ "MIT" ]
4
2018-10-12T07:51:55.000Z
2020-07-27T13:20:57.000Z
tests/test_dot.py
brsynth/rp2paths
cb53d452896a5c03330a1c412352ab4bbac556af
[ "MIT" ]
7
2018-10-04T10:16:52.000Z
2021-05-07T05:51:47.000Z
""" Created on Jul 15 2020 @author: Joan Hérisson """ from module import module files = { module.args.outdir+'/'+module.args.dotfilebase+'1.dot': 1266, module.args.outdir+'/'+module.args.dotfilebase+'10.dot': 1343, module.args.outdir+'/'+module.args.dotfilebase+'11.dot': 1552, module.args.outdir+'/'+module.args.dot...
40.886792
62
0.71712
308
2,167
5.00974
0.256494
0.388853
0.311082
0.427738
0.78289
0.78289
0.399222
0.399222
0
0
0
0.08685
0.059529
2,167
52
63
41.673077
0.670265
0.021228
0
0
0
0
0.097965
0
0
0
0
0
0
1
0.02439
false
0
0.02439
0
0.146341
0
0
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
58e45f1ba419f285d750d4487e40a3dbc803d8e1
209
py
Python
configs/shufflenet_v1/shufflenet-v1-1x_16xb64_in1k.py
YuxinZou/mmclassification
2037260ea6c98a3b115e97727e1151a1c2c32f7a
[ "Apache-2.0" ]
1,190
2020-07-10T01:16:01.000Z
2022-03-31T09:48:38.000Z
configs/shufflenet_v1/shufflenet-v1-1x_16xb64_in1k.py
YuxinZou/mmclassification
2037260ea6c98a3b115e97727e1151a1c2c32f7a
[ "Apache-2.0" ]
702
2020-07-13T13:31:33.000Z
2022-03-31T06:48:04.000Z
configs/shufflenet_v1/shufflenet-v1-1x_16xb64_in1k.py
YuxinZou/mmclassification
2037260ea6c98a3b115e97727e1151a1c2c32f7a
[ "Apache-2.0" ]
502
2020-07-10T02:40:55.000Z
2022-03-31T02:07:09.000Z
_base_ = [ '../_base_/models/shufflenet_v1_1x.py', '../_base_/datasets/imagenet_bs64_pil_resize.py', '../_base_/schedules/imagenet_bs1024_linearlr_bn_nowd.py', '../_base_/default_runtime.py' ]
29.857143
62
0.708134
26
209
4.923077
0.692308
0.140625
0
0
0
0
0
0
0
0
0
0.043243
0.114833
209
6
63
34.833333
0.648649
0
0
0
0
0
0.789474
0.789474
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
451752238306e0e9e6e541077cabc61e600e8e46
154
py
Python
hokusai/commands/build.py
mzikherman/hokusai
d2be123640a4404dfaf7258d7ed5aac52e147202
[ "MIT" ]
null
null
null
hokusai/commands/build.py
mzikherman/hokusai
d2be123640a4404dfaf7258d7ed5aac52e147202
[ "MIT" ]
null
null
null
hokusai/commands/build.py
mzikherman/hokusai
d2be123640a4404dfaf7258d7ed5aac52e147202
[ "MIT" ]
null
null
null
import os from hokusai.lib.command import command from hokusai.services.docker import Docker @command() def build(filename): Docker().build(filename)
17.111111
42
0.785714
21
154
5.761905
0.52381
0.181818
0
0
0
0
0
0
0
0
0
0
0.116883
154
8
43
19.25
0.889706
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
1884f00003c5c00d058e253836e007ff6a313515
162
py
Python
testpy.py
rbrewer123/docker-pyjnius
5c60f72814365b8cecd9c72febf1d6c6271618bb
[ "MIT" ]
null
null
null
testpy.py
rbrewer123/docker-pyjnius
5c60f72814365b8cecd9c72febf1d6c6271618bb
[ "MIT" ]
null
null
null
testpy.py
rbrewer123/docker-pyjnius
5c60f72814365b8cecd9c72febf1d6c6271618bb
[ "MIT" ]
null
null
null
from jnius import autoclass Stack = autoclass('java.util.Stack') stack = Stack() stack.push('hello') stack.push('world') print stack.pop() print stack.pop()
12.461538
36
0.709877
23
162
5
0.521739
0.26087
0.26087
0
0
0
0
0
0
0
0
0
0.12963
162
12
37
13.5
0.815603
0
0
0.285714
0
0
0.15625
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.285714
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
18acfc5391eeaab424b94f711e420b6b54db66f0
278
py
Python
boucanpy/core/api_token/forms.py
bbhunter/boucanpy
7d2fb105e7b1e90653a511534fb878bb62d02f17
[ "MIT" ]
34
2019-11-16T17:22:15.000Z
2022-02-11T23:12:46.000Z
boucanpy/core/api_token/forms.py
bbhunter/boucanpy
7d2fb105e7b1e90653a511534fb878bb62d02f17
[ "MIT" ]
1
2021-02-09T09:34:55.000Z
2021-02-10T21:46:20.000Z
boucanpy/core/api_token/forms.py
bbhunter/boucanpy
7d2fb105e7b1e90653a511534fb878bb62d02f17
[ "MIT" ]
9
2019-11-18T22:18:07.000Z
2021-02-08T13:23:51.000Z
from typing import Optional from pydantic import BaseModel, constr from datetime import datetime class ApiTokenCreateForm(BaseModel): scopes: constr(min_length=4, max_length=1024) expires_at: datetime dns_server_id: Optional[int] http_server_id: Optional[int]
25.272727
49
0.78777
37
278
5.72973
0.621622
0.075472
0.150943
0.179245
0
0
0
0
0
0
0
0.021186
0.151079
278
10
50
27.8
0.877119
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.375
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
18b404d11f25dc75fcfc50b3c58229c891f9575b
22
py
Python
quoter/version.py
jonathaneunice/quoter
d74e703422f60e9656f4f31f03705b76317aae79
[ "Apache-2.0" ]
1
2015-01-13T08:35:06.000Z
2015-01-13T08:35:06.000Z
amonone/__init__.py
demogorgonz/amonone
c882215aa3b970db8f4da1eb7789b6199cf4610a
[ "MIT" ]
1
2021-03-20T05:42:52.000Z
2021-03-20T05:42:52.000Z
amonone/__init__.py
demogorgonz/amonone
c882215aa3b970db8f4da1eb7789b6199cf4610a
[ "MIT" ]
1
2019-10-29T00:41:01.000Z
2019-10-29T00:41:01.000Z
__version__ = '1.6.8'
11
21
0.636364
4
22
2.5
1
0
0
0
0
0
0
0
0
0
0
0.157895
0.136364
22
1
22
22
0.368421
0
0
0
0
0
0.227273
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
18e55914a824483b3a40b412a53d364d26c78575
315
py
Python
base/Class.py
hillasen/kolang
c97401e067280c964994c838490de9de8db875f8
[ "MIT" ]
2
2020-11-22T08:42:06.000Z
2020-11-26T23:19:08.000Z
base/Class.py
hillasen/kolang
c97401e067280c964994c838490de9de8db875f8
[ "MIT" ]
null
null
null
base/Class.py
hillasen/kolang
c97401e067280c964994c838490de9de8db875f8
[ "MIT" ]
null
null
null
from base import base_manager class Dot: def __init__(self): self.rule = [] self.info = {"name" : "dot", "keyword" : "의"} pass def getInfo(self): return self.info def getRule(self): return self.rule def doRun(self, option): return "." pass
19.6875
53
0.533333
37
315
4.405405
0.540541
0.09816
0.171779
0
0
0
0
0
0
0
0
0
0.346032
315
16
54
19.6875
0.791262
0
0
0.153846
0
0
0.050633
0
0
0
0
0
0
1
0.307692
false
0.153846
0.076923
0.153846
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
18e8d0e882b4b663cf6d9dc0402924403378b149
874
py
Python
parallel-nn/distributed/serial.py
AbsoluteStratos/blog-code
3a8e308d55931b053b8a47268c52d62e0fa16bd8
[ "MIT" ]
2
2021-07-30T10:04:18.000Z
2022-01-30T18:29:30.000Z
parallel-nn/distributed/serial.py
AbsoluteStratos/blog-code
3a8e308d55931b053b8a47268c52d62e0fa16bd8
[ "MIT" ]
1
2021-10-17T20:08:41.000Z
2021-10-17T20:08:41.000Z
parallel-nn/distributed/serial.py
AbsoluteStratos/blog-code
3a8e308d55931b053b8a47268c52d62e0fa16bd8
[ "MIT" ]
2
2021-07-30T10:04:20.000Z
2021-09-01T00:07:14.000Z
''' Learning How To Train Neural Networks in Parallel (The Right Way) === Author: Nicholas Geneva (MIT Liscense) url: https://nicholasgeneva.com/blog/ github: https://github.com/NickGeneva/blog-code === ''' import torch from .dist import Distributed class Serial(Distributed): """Place holder distributed comm class...
23
84
0.638444
108
874
5.055556
0.601852
0.038462
0.076923
0.065934
0.076923
0
0
0
0
0
0
0.002999
0.236842
874
38
85
23
0.815592
0.296339
0
0.238095
0
0
0.086235
0
0
0
0
0
0
1
0.333333
false
0.142857
0.095238
0.142857
0.619048
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
e13aae383f24ad7ab56558142a29a43a6280717b
495,045
py
Python
3algo/homo/6_3_10datap.py
allengrr/deadlock_project
933878077c45a7df04daa087407bb2620c064617
[ "MIT" ]
null
null
null
3algo/homo/6_3_10datap.py
allengrr/deadlock_project
933878077c45a7df04daa087407bb2620c064617
[ "MIT" ]
null
null
null
3algo/homo/6_3_10datap.py
allengrr/deadlock_project
933878077c45a7df04daa087407bb2620c064617
[ "MIT" ]
1
2021-03-21T17:54:26.000Z
2021-03-21T17:54:26.000Z
wt6_3_10 = {'192.168.122.110': [5.3816, 5.3811, 5.422, 5.4168, 5.6831, 5.9001, 5.8323, 5.9135, 5.8981, 6.3754, 6.2937, 6.2233, 6.1484, 6.0994, 6.1947, 6.2346, 6.2754, 6.5278, 6.4906, 6.4301, 6.3779, 6.1243, 7.2614, 7.1828, 7.1213, 7.2671, 7.3998, 7.4176, 7.3737, 7.3145, 7.2551, 7.4301, 7.4087, 7.3497, 7.2983, 7.2858, ...
29,120.294118
472,073
0.621265
124,960
495,045
2.460883
0.054674
0.000859
0.001073
0.000527
0.635559
0.266734
0.266656
0.081376
0.081376
0.023332
0
0.710607
0.126219
495,045
17
472,074
29,120.294118
0.000303
0
0
0
0
0
0.000622
0
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
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e17dda4a9a9fb5d0096dbaef90f3e3f73d01f394
66
py
Python
scripts/__init__.py
eklipse2009/ZX-Pokemaster
113bf2e242347b475cca9eadbae4f1b67f498466
[ "MIT" ]
8
2018-11-18T00:37:25.000Z
2020-12-06T13:17:53.000Z
scripts/__init__.py
eklipse2009/ZX-Pokemaster
113bf2e242347b475cca9eadbae4f1b67f498466
[ "MIT" ]
8
2017-08-21T10:07:58.000Z
2020-03-29T18:23:37.000Z
scripts/__init__.py
eklipse2009/ZX-Pokemaster
113bf2e242347b475cca9eadbae4f1b67f498466
[ "MIT" ]
1
2021-03-04T17:43:36.000Z
2021-03-04T17:43:36.000Z
import os if (os.getcwd().endswith('scripts')): os.chdir('..')
22
37
0.606061
9
66
4.444444
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.121212
66
3
38
22
0.689655
0
0
0
0
0
0.134328
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
e1868e52f4a7b1b2107c86da25146382afaa1ad1
137
py
Python
Section 8/mod1.py
PacktPublishing/Learning-Python-v-
30fb28dfaaa18815f1b4c0b683e8839da223b195
[ "MIT" ]
1
2021-10-05T19:45:43.000Z
2021-10-05T19:45:43.000Z
Section 8/mod1.py
PacktPublishing/Learning-Python-v-
30fb28dfaaa18815f1b4c0b683e8839da223b195
[ "MIT" ]
null
null
null
Section 8/mod1.py
PacktPublishing/Learning-Python-v-
30fb28dfaaa18815f1b4c0b683e8839da223b195
[ "MIT" ]
2
2020-09-25T19:56:46.000Z
2021-09-02T11:14:28.000Z
#Import module1, module2, module import module1 x = 12 y = 34 print "Sum is ", module1.sum1(x,y) print "Multiple is ", module1.mul1(x,y)
19.571429
39
0.70073
24
137
4
0.583333
0.270833
0
0
0
0
0
0
0
0
0
0.095652
0.160584
137
7
39
19.571429
0.73913
0.226277
0
0
0
0
0.179245
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
e1a281e337a32e239c0f125276d1ffe5c4f6693a
367
py
Python
lib/cello_util/plasmid_map/Trash/python_tester.py
OGalOz/cello
1b62807e9881900daf8f3f59eafb11743ad84d6d
[ "MIT" ]
null
null
null
lib/cello_util/plasmid_map/Trash/python_tester.py
OGalOz/cello
1b62807e9881900daf8f3f59eafb11743ad84d6d
[ "MIT" ]
null
null
null
lib/cello_util/plasmid_map/Trash/python_tester.py
OGalOz/cello
1b62807e9881900daf8f3f59eafb11743ad84d6d
[ "MIT" ]
null
null
null
import json def test_all(): with open("json_dumps_test.json","r") as f: feat_dict_list = json.loads(f.read()) check_percent_sum(feat_dict_list) def check_percent_sum(feat_dict_list): percent_sum = 0 for feat in feat_dict_list: percent_sum += feat['percentage'] print(perc...
13.592593
47
0.653951
55
367
4.018182
0.454545
0.226244
0.217195
0.171946
0.38914
0.244344
0
0
0
0
0
0.003559
0.234332
367
26
48
14.115385
0.782918
0
0
0
0
0
0.085635
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.307692
0.076923
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
e1a77f2990c08cfad49fa8760712826e2ac2ac6f
1,863
py
Python
util/ffmpeg.py
george-kuanli-peng/audio_extraction
73058010d8f611878f4ad9c30cab6504e333fbf1
[ "Apache-2.0" ]
null
null
null
util/ffmpeg.py
george-kuanli-peng/audio_extraction
73058010d8f611878f4ad9c30cab6504e333fbf1
[ "Apache-2.0" ]
4
2020-09-20T11:19:27.000Z
2020-11-14T07:37:43.000Z
util/ffmpeg.py
george-kuanli-peng/audio_extraction
73058010d8f611878f4ad9c30cab6504e333fbf1
[ "Apache-2.0" ]
null
null
null
import subprocess from typing import Any, Dict, Optional def extract_audio_from_video(input_file_path: str, output_file_path: str, start_time: Optional[str] = None, stop_time: Optional[str] = None): input_args = [ 'ffmpeg', '-v', 'error', '-nostdin', '-...
31.576271
96
0.61299
234
1,863
4.589744
0.260684
0.05959
0.069832
0.070764
0.761639
0.743017
0.743017
0.743017
0.681564
0.681564
0
0
0.265164
1,863
58
97
32.12069
0.784514
0.030596
0
0.666667
0
0
0.098724
0
0
0
0
0
0
1
0.0625
false
0
0.041667
0.020833
0.125
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e1af37cdaecf894cd049f693ab5439797dac2374
2,211
py
Python
tests/html/test_link.py
elliterate/xpath.py
6a244d8067cebf6f9f3cc9d9f05bfb5c1ca9ed40
[ "MIT", "Unlicense" ]
18
2016-07-28T22:05:50.000Z
2021-11-30T13:29:40.000Z
tests/html/test_link.py
elliterate/xpath.py
6a244d8067cebf6f9f3cc9d9f05bfb5c1ca9ed40
[ "MIT", "Unlicense" ]
6
2016-08-02T22:02:36.000Z
2020-04-15T09:41:38.000Z
tests/html/test_link.py
elliterate/xpath.py
6a244d8067cebf6f9f3cc9d9f05bfb5c1ca9ed40
[ "MIT", "Unlicense" ]
7
2017-01-15T16:55:24.000Z
2020-09-15T05:45:52.000Z
from tests.case import HTMLTestCase class LinkTestCase(HTMLTestCase): __fixture__ = "form.html" __matcher__ = "link" class TestLink(LinkTestCase): def test_finds_links_by_id(self): self.assertEqual(self.get("some-id"), "link-id") def test_finds_links_by_content(self): self.assertEqu...
35.66129
78
0.728177
306
2,211
4.911765
0.183007
0.079175
0.103792
0.198935
0.745176
0.627412
0.464405
0.3666
0.262808
0.179641
0
0
0.150158
2,211
61
79
36.245902
0.799894
0
0
0.1
0
0
0.132972
0
0
0
0
0
0.425
1
0.425
false
0
0.025
0
0.575
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
1
0
1
0
0
0
0
1
0
0
4
e1b121ecd115ed1c25cdda45af98bc8c19aad447
247
py
Python
demos/demo_make.py
kul-group/MAZE-sim
0f85e74bf93f9242a73bcfaa20a593ae966f38fa
[ "MIT" ]
13
2021-03-10T18:40:32.000Z
2022-03-21T20:40:57.000Z
demos/demo_make.py
kul-group/MAZE-sim
0f85e74bf93f9242a73bcfaa20a593ae966f38fa
[ "MIT" ]
27
2021-01-28T23:18:44.000Z
2021-05-06T19:33:09.000Z
demos/demo_make.py
kul-group/MAZE-sim
0f85e74bf93f9242a73bcfaa20a593ae966f38fa
[ "MIT" ]
4
2021-03-19T20:46:15.000Z
2022-03-21T20:40:59.000Z
from maze.zeolite import Zeolite, Cluster if __name__ == "__main__": my_iz = Cluster.make('GOO') my_iz = my_iz.delete_atoms([0,1,2,3,4,5,6,7]) print(my_iz.get_type(1)) print(my_iz.get_site_type()) print(my_iz.find_type('O1'))
27.444444
49
0.668016
46
247
3.173913
0.608696
0.164384
0.184932
0.164384
0
0
0
0
0
0
0
0.048077
0.157895
247
9
50
27.444444
0.653846
0
0
0
0
0
0.052419
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.428571
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
1
0
4
e1b7d476f568003294d807c027cb1128467388d7
56
py
Python
config.py
lferran/memcached-stress
5f68b0b8cdb40b6f54c6c5dbb55dc29a5d491bd4
[ "MIT" ]
null
null
null
config.py
lferran/memcached-stress
5f68b0b8cdb40b6f54c6c5dbb55dc29a5d491bd4
[ "MIT" ]
null
null
null
config.py
lferran/memcached-stress
5f68b0b8cdb40b6f54c6c5dbb55dc29a5d491bd4
[ "MIT" ]
null
null
null
""" To modify config.json from env variables """ pass
8
40
0.678571
8
56
4.75
1
0
0
0
0
0
0
0
0
0
0
0
0.196429
56
6
41
9.333333
0.844444
0.714286
0
0
0
0
0
0
0
0
0
0
0
1
0
true
1
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
e1bd1e0cb80ca33636ce9a1e927a54f9678c8232
871
py
Python
h/services/groupfinder.py
kevinjalbert/h
0f260bf59847f27eff720eeb3c3b2468571412b2
[ "BSD-2-Clause" ]
1
2020-06-19T01:49:39.000Z
2020-06-19T01:49:39.000Z
h/services/groupfinder.py
kevinjalbert/h
0f260bf59847f27eff720eeb3c3b2468571412b2
[ "BSD-2-Clause" ]
5
2020-03-24T18:14:50.000Z
2022-03-02T06:56:50.000Z
h/services/groupfinder.py
liquidinvestigations/hypothesis-h
2eebc0b20823fc5bc42a8e8c33551a6d448ad6ba
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from zope.interface import implementer from h import models from h.interfaces import IGroupService from h.util.db import lru_cache_in_transaction # Ideally this would be called the GroupService to match the nomenclature of # the interface. # FIXME: rename / split existing GroupService and re...
29.033333
82
0.750861
113
871
5.557522
0.522124
0.070064
0.031847
0.066879
0.073248
0.073248
0
0
0
0
0
0.001376
0.165327
871
29
83
30.034483
0.862448
0.197474
0
0
0
0
0
0
0
0
0
0.034483
0
1
0.25
false
0
0.25
0.1875
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
1
0
0
4
e1bdbd517e8835fc5c3df9e2c942a06c423c3306
180
py
Python
devel/sorting/test_tridesclous.py
flatironinstitute/spikeforest
bbb5e38f35f66b09c327a593012d5468f4c46d30
[ "Apache-2.0" ]
22
2019-05-07T18:18:06.000Z
2021-11-29T12:03:17.000Z
devel/sorting/test_tridesclous.py
flatironinstitute/spikeforest
bbb5e38f35f66b09c327a593012d5468f4c46d30
[ "Apache-2.0" ]
79
2019-03-05T13:04:46.000Z
2021-11-05T09:27:09.000Z
devel/sorting/test_tridesclous.py
flatironinstitute/spikeforest
bbb5e38f35f66b09c327a593012d5468f4c46d30
[ "Apache-2.0" ]
8
2019-06-04T18:05:28.000Z
2021-09-23T01:09:34.000Z
#!/usr/bin/env python3 import spikeforest as sf from test_sorting import test_sorting def main(): test_sorting(sf.tridesclous_wrapper1) if __name__ == '__main__': main()
18
41
0.744444
25
180
4.88
0.68
0.270492
0
0
0
0
0
0
0
0
0
0.013158
0.155556
180
10
42
18
0.789474
0.116667
0
0
0
0
0.050314
0
0
0
0
0
0
1
0.166667
true
0
0.333333
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
e1c50bfa9de67d01d27b03eb80918a7f38486c59
88
py
Python
haskpy/types/io.py
jluttine/haskpy
79fca70b5f46d8551ed61b4bbd040de5f5ba0440
[ "MIT" ]
2
2021-04-08T18:34:39.000Z
2022-02-24T18:02:45.000Z
haskpy/types/io.py
jluttine/haskpy
79fca70b5f46d8551ed61b4bbd040de5f5ba0440
[ "MIT" ]
null
null
null
haskpy/types/io.py
jluttine/haskpy
79fca70b5f46d8551ed61b4bbd040de5f5ba0440
[ "MIT" ]
null
null
null
"""**TODO** .. autosummary:: :toctree: IO """ class IO(): """**TODO**"""
6.769231
18
0.397727
7
88
5
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.272727
88
12
19
7.333333
0.546875
0.625
0
0
0
0
0
0
0
0
0
0.166667
0
1
0
true
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
1
0
0
0
1
0
0
0
1
0
0
4
e1c59e95ebafced9f083190fb7e5035e92e6a6b2
115
py
Python
hardware/cpu/__init__.py
cu2/aldebaran
affd692bd568cdb5a3a1840c6bc02b5197da1064
[ "MIT" ]
4
2018-11-20T07:31:48.000Z
2020-12-29T22:04:03.000Z
hardware/cpu/__init__.py
cu2/aldebaran
affd692bd568cdb5a3a1840c6bc02b5197da1064
[ "MIT" ]
7
2020-09-04T22:49:12.000Z
2022-02-26T11:19:39.000Z
hardware/cpu/__init__.py
cu2/aldebaran
affd692bd568cdb5a3a1840c6bc02b5197da1064
[ "MIT" ]
null
null
null
''' Internal components of CPU ''' from .cpu import CPU from .registers import Registers from .stack import Stack
14.375
32
0.756522
16
115
5.4375
0.5
0.16092
0
0
0
0
0
0
0
0
0
0
0.165217
115
7
33
16.428571
0.90625
0.226087
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
e1cf43839ae9a28ff849f4c3ba8b3bb83b5f811d
67
py
Python
contest/abc130/A.py
mola1129/atcoder
1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db
[ "MIT" ]
null
null
null
contest/abc130/A.py
mola1129/atcoder
1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db
[ "MIT" ]
null
null
null
contest/abc130/A.py
mola1129/atcoder
1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db
[ "MIT" ]
null
null
null
X,A = map(int, input().split()) print(0) if X < A else print(10)
22.333333
33
0.58209
14
67
2.785714
0.785714
0.102564
0
0
0
0
0
0
0
0
0
0.055556
0.19403
67
2
34
33.5
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
1
0
4
becbeb41427d1bf462f7779ffa804580ec2e0546
257
py
Python
practice/ranf.py
HimadriP/RSA_attacks
db58478a33f0dffe492b9a626bf0a4a055682690
[ "MIT" ]
null
null
null
practice/ranf.py
HimadriP/RSA_attacks
db58478a33f0dffe492b9a626bf0a4a055682690
[ "MIT" ]
null
null
null
practice/ranf.py
HimadriP/RSA_attacks
db58478a33f0dffe492b9a626bf0a4a055682690
[ "MIT" ]
null
null
null
def ex_euc_alg(a,b): if a==0: return (b,0,1) else: g,x,y=ex_euc_alg(b%a,a) return (g,y-(b//a)*x,x) print ex_euc_alg(8125815438165277351481140933197233052027313307864886671229139569349729,90143305010218464651239068244550223)
28.555556
124
0.700389
36
257
4.833333
0.472222
0.086207
0.137931
0
0
0
0
0
0
0
0
0.509434
0.175097
257
8
125
32.125
0.311321
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
bef3a91c93b8f73b91216d0abbac444bfd239eac
62
py
Python
tests/__init__.py
arajkumar/metrics-accumulator
9a192a1b99a5e3a9b4d851352e1202a18725a667
[ "Apache-2.0" ]
1
2019-08-26T05:42:46.000Z
2019-08-26T05:42:46.000Z
tests/__init__.py
arajkumar/metrics-accumulator
9a192a1b99a5e3a9b4d851352e1202a18725a667
[ "Apache-2.0" ]
21
2019-06-27T10:32:23.000Z
2021-03-20T01:15:23.000Z
tests/__init__.py
arajkumar/metrics-accumulator
9a192a1b99a5e3a9b4d851352e1202a18725a667
[ "Apache-2.0" ]
3
2019-06-27T04:18:51.000Z
2020-12-09T14:22:52.000Z
"""Module with unit tests for the license analysis module."""
31
61
0.741935
9
62
5.111111
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.145161
62
1
62
62
0.867925
0.887097
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
bef898c41fa5f18fe3ba4f54e2a947106203b6ea
61
py
Python
filebrowser/__init__.py
HtmlMak/django-media-manager
882efbaa62c235a93f517bc29c02381daa7d20de
[ "BSD-3-Clause" ]
26
2015-01-08T03:04:35.000Z
2021-09-09T01:31:10.000Z
filebrowser/__init__.py
HtmlMak/django-media-manager
882efbaa62c235a93f517bc29c02381daa7d20de
[ "BSD-3-Clause" ]
11
2015-03-05T11:35:47.000Z
2021-06-10T17:38:28.000Z
filebrowser/__init__.py
HtmlMak/django-media-manager
882efbaa62c235a93f517bc29c02381daa7d20de
[ "BSD-3-Clause" ]
26
2015-02-12T14:49:31.000Z
2019-07-29T08:30:41.000Z
default_app_config = "filebrowser.apps.FilebrowserAppConfig"
30.5
60
0.868852
6
61
8.5
1
0
0
0
0
0
0
0
0
0
0
0
0.04918
61
1
61
61
0.87931
0
0
0
0
0
0.606557
0.606557
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
83575c945a619f92f134d4b2b7fda3863e8eaa77
96
py
Python
tests/test_cobang.py
php1301/CoBang
b1c7f1fb72233c58dca5b10084939a528c4cb61c
[ "Apache-2.0" ]
1
2020-05-29T10:14:41.000Z
2020-05-29T10:14:41.000Z
tests/test_cobang.py
php1301/CoBang
b1c7f1fb72233c58dca5b10084939a528c4cb61c
[ "Apache-2.0" ]
null
null
null
tests/test_cobang.py
php1301/CoBang
b1c7f1fb72233c58dca5b10084939a528c4cb61c
[ "Apache-2.0" ]
null
null
null
def test_parse_wifi(): data = 'WIFI:S:royaltea tret ;T:WPA;P:160108hp;H:false;;' return
24
61
0.666667
16
96
3.875
0.9375
0
0
0
0
0
0
0
0
0
0
0.075
0.166667
96
3
62
32
0.7
0
0
0
0
0
0.5
0.28125
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
55c7f3a684adc90b80905e76d9892b71ef8c776b
474
py
Python
cv02/sestiuhelniky.py
matyasm1995/uvod-do-prg
07012800723f48edda0ebea4e2d7963756b3e837
[ "MIT" ]
1
2017-10-09T12:17:03.000Z
2017-10-09T12:17:03.000Z
cv02/sestiuhelniky.py
matyasm1995/uvod-do-prg
07012800723f48edda0ebea4e2d7963756b3e837
[ "MIT" ]
null
null
null
cv02/sestiuhelniky.py
matyasm1995/uvod-do-prg
07012800723f48edda0ebea4e2d7963756b3e837
[ "MIT" ]
8
2017-11-17T17:25:51.000Z
2019-01-05T13:00:29.000Z
from turtle import forward, left, right,exitonclick xsize = 5 ysize = 5 for i in range(xsize): for i in range(ysize): for i in range(6): forward(50) left(60) forward(50) left(60) forward(50) right(60) left(180) for i in range(ysize): ...
16.344828
51
0.518987
64
474
3.84375
0.28125
0.256098
0.268293
0.304878
0.589431
0.45935
0.349594
0.349594
0.349594
0.317073
0
0.121212
0.373418
474
29
52
16.344828
0.707071
0
0
0.708333
0
0
0
0
0
0
0
0
0
1
0
false
0
0.041667
0
0.041667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
55e7b8dd42c7e76d845f4a88c478c80b5d6c327a
2,626
py
Python
src/spaceone/secret/api/v1/secret.py
ku524/secret
c5dad49f40ab1cbbaa0b8f01222de10ae73d1fb1
[ "Apache-2.0" ]
7
2020-06-04T23:01:12.000Z
2021-01-31T08:41:29.000Z
src/spaceone/secret/api/v1/secret.py
ku524/secret
c5dad49f40ab1cbbaa0b8f01222de10ae73d1fb1
[ "Apache-2.0" ]
2
2020-08-05T13:31:53.000Z
2021-03-07T15:15:14.000Z
src/spaceone/secret/api/v1/secret.py
ku524/secret
c5dad49f40ab1cbbaa0b8f01222de10ae73d1fb1
[ "Apache-2.0" ]
6
2020-06-10T01:59:35.000Z
2021-11-25T06:30:35.000Z
from spaceone.api.secret.v1 import secret_pb2, secret_pb2_grpc from spaceone.core.pygrpc import BaseAPI class Secret(BaseAPI, secret_pb2_grpc.SecretServicer): pb2 = secret_pb2 pb2_grpc = secret_pb2_grpc def create(self, request, context): params, metadata = self.parse_request(request, context) ...
42.354839
87
0.700305
309
2,626
5.757282
0.139159
0.125913
0.125913
0.107926
0.757167
0.757167
0.740304
0.718943
0.671726
0.671726
0
0.003826
0.203732
2,626
61
88
43.04918
0.846963
0
0
0.428571
0
0
0.072734
0
0
0
0
0
0
1
0.190476
false
0
0.047619
0
0.5
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3604cce8c0efb7dd8d677875efd328e975607e35
223
py
Python
ml3d/torch/dataloaders/__init__.py
amirshal/Open3D-ML
5549444280ca02f3881cdf06f15c1ed06efb7389
[ "MIT" ]
null
null
null
ml3d/torch/dataloaders/__init__.py
amirshal/Open3D-ML
5549444280ca02f3881cdf06f15c1ed06efb7389
[ "MIT" ]
null
null
null
ml3d/torch/dataloaders/__init__.py
amirshal/Open3D-ML
5549444280ca02f3881cdf06f15c1ed06efb7389
[ "MIT" ]
null
null
null
"""Torch dataloader.""" from .torch_dataloader import TorchDataloader from .default_batcher import DefaultBatcher from .concat_batcher import ConcatBatcher __all__ = ['TorchDataloader', 'DefaultBatcher', 'ConcatBatcher']
27.875
64
0.811659
21
223
8.285714
0.52381
0.172414
0
0
0
0
0
0
0
0
0
0
0.09417
223
7
65
31.857143
0.861386
0.076233
0
0
0
0
0.21
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
36133791e35100eefc6a9eb4bc2454c73758a90e
92
py
Python
ex3.py
hahayacracker/learn_python3_the_hard_way
b1209c264ee51c0d0e567b71b65747178fb4257d
[ "Apache-2.0" ]
null
null
null
ex3.py
hahayacracker/learn_python3_the_hard_way
b1209c264ee51c0d0e567b71b65747178fb4257d
[ "Apache-2.0" ]
null
null
null
ex3.py
hahayacracker/learn_python3_the_hard_way
b1209c264ee51c0d0e567b71b65747178fb4257d
[ "Apache-2.0" ]
null
null
null
print ('I will now count my chickens:') print('Hens', 25+30/6) print('Roosterd', 100-25*3%4)
30.666667
39
0.673913
18
92
3.444444
0.833333
0
0
0
0
0
0
0
0
0
0
0.146341
0.108696
92
3
40
30.666667
0.609756
0
0
0
0
0
0.44086
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
3620a4391cdd746c885f1cdb181d98f6af8fd4ea
34
py
Python
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_String_Length.txt.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
5
2021-06-02T23:44:25.000Z
2021-12-27T16:21:57.000Z
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_String_Length.txt.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
22
2021-05-31T01:33:25.000Z
2021-10-18T18:32:39.000Z
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_String_Length.txt.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
3
2021-06-19T03:37:47.000Z
2021-08-31T00:49:51.000Z
a = "Hello, World!" print(len(a))
11.333333
19
0.588235
6
34
3.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.147059
34
2
20
17
0.689655
0
0
0
0
0
0.382353
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
362808b35c4b6e944d006e2dc55a71b6909801a2
24
py
Python
test/quotes_samples/missing_quotes_after_docstring_error.py
K44rel/error-explainer
786fa558efd0c26534e51a27924167000f1d1eef
[ "MIT" ]
3
2022-01-05T19:07:06.000Z
2022-03-15T21:50:48.000Z
test/quotes_samples/missing_quotes_after_docstring_error.py
kaareloide/error-explainer
786fa558efd0c26534e51a27924167000f1d1eef
[ "MIT" ]
2
2021-04-13T07:20:15.000Z
2021-04-13T07:20:23.000Z
test/quotes_samples/missing_quotes_after_docstring_error.py
kaareloide/error-explainer
786fa558efd0c26534e51a27924167000f1d1eef
[ "MIT" ]
null
null
null
""" This is a docstring
8
19
0.666667
4
24
4
1
0
0
0
0
0
0
0
0
0
0
0
0.208333
24
2
20
12
0.842105
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
4
363b9b1911f00f77145152f0d37d8503ebecfa27
77
py
Python
tests/test_online_pomdp_planning.py
samkatt/online-pomdp-planning
bd772bca088adf8bb3391d15432fa79c55389681
[ "MIT" ]
null
null
null
tests/test_online_pomdp_planning.py
samkatt/online-pomdp-planning
bd772bca088adf8bb3391d15432fa79c55389681
[ "MIT" ]
null
null
null
tests/test_online_pomdp_planning.py
samkatt/online-pomdp-planning
bd772bca088adf8bb3391d15432fa79c55389681
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Tests for :mod:`online_pomdp_planning` package."""
19.25
53
0.701299
11
77
4.727273
1
0
0
0
0
0
0
0
0
0
0
0
0.090909
77
3
54
25.666667
0.742857
0.883117
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
366ea2bfec3db5ed75cc57d7d38aa6580d4870b8
207
py
Python
examples/python_tests/recsys2020/init.py
XinyaoWa/recdp
cc5bd6a29fc3cf7aecac0cda5d0e1473c0f8997e
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0" ]
1
2021-11-05T07:04:00.000Z
2021-11-05T07:04:00.000Z
examples/python_tests/recsys2020/init.py
XinyaoWa/recdp
cc5bd6a29fc3cf7aecac0cda5d0e1473c0f8997e
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0" ]
2
2021-07-23T05:27:47.000Z
2021-07-30T06:50:15.000Z
examples/python_tests/recsys2020/init.py
XinyaoWa/recdp
cc5bd6a29fc3cf7aecac0cda5d0e1473c0f8997e
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0" ]
8
2021-07-17T08:38:53.000Z
2021-12-06T07:42:17.000Z
import findspark import os import sys import pathlib import_path = str(pathlib.Path( __file__).parent.parent.parent.parent.absolute()) # print(import_path) sys.path.append(import_path) findspark.init()
18.818182
53
0.78744
29
207
5.37931
0.448276
0.192308
0.230769
0
0
0
0
0
0
0
0
0
0.101449
207
10
54
20.7
0.83871
0.086957
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
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
1
0
1
0
0
4
367dc585497f924f8c2406dfcb84c3bbf0fb0b3f
96
py
Python
apex/contrib/peer_memory/__init__.py
gilshm/apex
3d61e4a8145a10ed3a86391dd85e3f65b226517b
[ "BSD-3-Clause" ]
null
null
null
apex/contrib/peer_memory/__init__.py
gilshm/apex
3d61e4a8145a10ed3a86391dd85e3f65b226517b
[ "BSD-3-Clause" ]
null
null
null
apex/contrib/peer_memory/__init__.py
gilshm/apex
3d61e4a8145a10ed3a86391dd85e3f65b226517b
[ "BSD-3-Clause" ]
1
2021-12-20T00:49:01.000Z
2021-12-20T00:49:01.000Z
from .peer_memory import PeerMemoryPool from .peer_halo_exchanger_1d import PeerHaloExchanger1d
32
55
0.895833
12
96
6.833333
0.75
0.195122
0
0
0
0
0
0
0
0
0
0.022727
0.083333
96
2
56
48
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
36866c2a30536dbe221ca6fac0d7557ab9c28414
1,779
py
Python
test/builtins/builtins1.py
kylebarron/MagicPython
da6fa0793e2c85d3bf7709ff1d4f65ccf468db11
[ "MIT" ]
1,482
2015-10-16T21:59:32.000Z
2022-03-30T11:44:40.000Z
test/builtins/builtins1.py
kylebarron/MagicPython
da6fa0793e2c85d3bf7709ff1d4f65ccf468db11
[ "MIT" ]
226
2015-10-15T15:53:44.000Z
2022-03-25T03:08:27.000Z
test/builtins/builtins1.py
kylebarron/MagicPython
da6fa0793e2c85d3bf7709ff1d4f65ccf468db11
[ "MIT" ]
129
2015-10-20T02:41:49.000Z
2022-03-22T01:44:36.000Z
AttributeError ConnectionAbortedError PendingDeprecationWarning ModuleNotFoundError SystemExit NotImplemented True None False Ellipsis Warning Exception BaseException sum oct abs type object print exec AttributeError : source.python, support.type.exception.python : source.python ConnectionAbortedError ...
40.431818
72
0.697021
177
1,779
7.00565
0.152542
0.309677
0.246774
0.185484
0.706452
0.679032
0.462903
0.248387
0
0
0
0
0.22597
1,779
43
73
41.372093
0.900508
0
0
0.3
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.05
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
1
0
0
0
0
0
0
0
0
4
368ba17b7b025979821bad998c160b43c9e90145
631
py
Python
src/euler_python_package/euler_python/medium/p475.py
wilsonify/euler
5214b776175e6d76a7c6d8915d0e062d189d9b79
[ "MIT" ]
null
null
null
src/euler_python_package/euler_python/medium/p475.py
wilsonify/euler
5214b776175e6d76a7c6d8915d0e062d189d9b79
[ "MIT" ]
null
null
null
src/euler_python_package/euler_python/medium/p475.py
wilsonify/euler
5214b776175e6d76a7c6d8915d0e062d189d9b79
[ "MIT" ]
null
null
null
def problem475(): """ 12n musicians participate at a music festival. On the first day, they form 3n quartets and practice all day. It is a disaster. At the end of the day, all musicians decide they will never again agree to play with any member of their quartet. On the second day...
28.681818
81
0.652932
102
631
4.039216
0.656863
0.058252
0.053398
0.048544
0.063107
0
0
0
0
0
0
0.112867
0.29794
631
21
82
30.047619
0.817156
0.863708
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
4
3692e42cebaccde0fb1b0281feb05624f759e9c0
744
py
Python
baelfire/dependencies/__init__.py
socek/baelfire
028701bf9da3ac6cbd54342e21681c242d5931e1
[ "Apache-2.0" ]
null
null
null
baelfire/dependencies/__init__.py
socek/baelfire
028701bf9da3ac6cbd54342e21681c242d5931e1
[ "Apache-2.0" ]
1
2016-09-15T09:11:57.000Z
2016-09-15T09:11:57.000Z
baelfire/dependencies/__init__.py
socek/baelfire
028701bf9da3ac6cbd54342e21681c242d5931e1
[ "Apache-2.0" ]
null
null
null
from baelfire.dependencies.dependency import AlwaysTrue from baelfire.dependencies.dependency import Dependency from baelfire.dependencies.file import FileChanged from baelfire.dependencies.file import FileDependency from baelfire.dependencies.file import FileDoesNotExists from baelfire.dependencies.file import FileExi...
29.76
56
0.799731
71
744
8.323944
0.253521
0.203046
0.406091
0.189509
0.592217
0
0
0
0
0
0
0
0.129032
744
24
57
31
0.912037
0
0
0
0
0
0.159946
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
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
1
0
0
0
0
4
36a334a955e0fa8bb3d195c699e0f5efdbe0b05b
33
py
Python
.history/py/main_20210613194103.py
minefarmer/Coding101-OOP
d5655977559e3bd1acf6a4f185a6121cc3b05ce4
[ "Unlicense" ]
null
null
null
.history/py/main_20210613194103.py
minefarmer/Coding101-OOP
d5655977559e3bd1acf6a4f185a6121cc3b05ce4
[ "Unlicense" ]
null
null
null
.history/py/main_20210613194103.py
minefarmer/Coding101-OOP
d5655977559e3bd1acf6a4f185a6121cc3b05ce4
[ "Unlicense" ]
null
null
null
class IceCream: def eat(self)
16.5
17
0.69697
5
33
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.212121
33
2
17
16.5
0.884615
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
4
36fa14c4a3a652671ee5d2fc4f7f1503c0a5eef3
457
py
Python
api/src/opentrons/protocols/geometry/deck_item.py
knownmed/opentrons
d02eb3c6cbf9f1c8c05c5e9e1dac30a92a8c5e6c
[ "Apache-2.0" ]
null
null
null
api/src/opentrons/protocols/geometry/deck_item.py
knownmed/opentrons
d02eb3c6cbf9f1c8c05c5e9e1dac30a92a8c5e6c
[ "Apache-2.0" ]
null
null
null
api/src/opentrons/protocols/geometry/deck_item.py
knownmed/opentrons
d02eb3c6cbf9f1c8c05c5e9e1dac30a92a8c5e6c
[ "Apache-2.0" ]
null
null
null
import abc class DeckItem(abc.ABC): @property # type: ignore @abc.abstractmethod def highest_z(self): pass @highest_z.setter # type: ignore @abc.abstractmethod def highest_z(self, new_z: float): pass @property # type: ignore @abc.abstractmethod def separate_cal...
19.041667
43
0.619256
53
457
5.226415
0.415094
0.144404
0.187726
0.389892
0.635379
0.635379
0.606498
0.303249
0
0
0
0
0.286652
457
23
44
19.869565
0.849693
0.111597
0
0.611111
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.222222
0.055556
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
7fdaeae50e700aa36fa22249104507d11b32f0a2
131
py
Python
cp2k_input_tools/__init__.py
Zhu-Liu/cp2k-input-tools
3c84e82554bc5cde687395499e3d6f9e2b50e13b
[ "MIT" ]
null
null
null
cp2k_input_tools/__init__.py
Zhu-Liu/cp2k-input-tools
3c84e82554bc5cde687395499e3d6f9e2b50e13b
[ "MIT" ]
null
null
null
cp2k_input_tools/__init__.py
Zhu-Liu/cp2k-input-tools
3c84e82554bc5cde687395499e3d6f9e2b50e13b
[ "MIT" ]
1
2020-12-22T19:20:53.000Z
2020-12-22T19:20:53.000Z
import pathlib __version__ = "0.5.1" DEFAULT_CP2K_INPUT_XML = pathlib.Path(__file__).resolve().parent.joinpath("cp2k_input.xml")
21.833333
91
0.778626
19
131
4.736842
0.789474
0.2
0.266667
0
0
0
0
0
0
0
0
0.041322
0.076336
131
5
92
26.2
0.702479
0
0
0
0
0
0.145038
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
7fec2d070523b68cb1642e4bcd42a21210339d2c
127
py
Python
django_model_sync/apps.py
Benoss/django-model-sync
8e35766eeea16bb41ec0073353abbd5cd8a1e323
[ "MIT" ]
null
null
null
django_model_sync/apps.py
Benoss/django-model-sync
8e35766eeea16bb41ec0073353abbd5cd8a1e323
[ "MIT" ]
null
null
null
django_model_sync/apps.py
Benoss/django-model-sync
8e35766eeea16bb41ec0073353abbd5cd8a1e323
[ "MIT" ]
null
null
null
# -*- coding: utf-8 from django.apps import AppConfig class DjangoModelSyncConfig(AppConfig): name = 'django_model_sync'
18.142857
39
0.748031
15
127
6.2
0.866667
0
0
0
0
0
0
0
0
0
0
0.009259
0.149606
127
6
40
21.166667
0.851852
0.133858
0
0
0
0
0.157407
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
3d0dc38399b71d1b1cc0250888a4d4bdc92305a5
125
py
Python
sancus/launcher.py
SolarBAM404/Sancus
9404f57b95fd5cb3590707880e85fb795937a4eb
[ "Apache-2.0" ]
null
null
null
sancus/launcher.py
SolarBAM404/Sancus
9404f57b95fd5cb3590707880e85fb795937a4eb
[ "Apache-2.0" ]
null
null
null
sancus/launcher.py
SolarBAM404/Sancus
9404f57b95fd5cb3590707880e85fb795937a4eb
[ "Apache-2.0" ]
null
null
null
from time import sleep from lib import bot class main(): bot.run("7.0.0") if __name__ == "__main__": main()
13.888889
26
0.6
19
125
3.526316
0.684211
0
0
0
0
0
0
0
0
0
0
0.032609
0.264
125
9
27
13.888889
0.695652
0
0
0
0
0
0.103175
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
3d15d7eceab5e225514883f690fccdb44c7f18b8
167
py
Python
rig/autoModifier.py
fsanges/glTools
8ff0899de43784a18bd4543285655e68e28fb5e5
[ "MIT" ]
165
2015-01-26T05:22:04.000Z
2022-03-22T02:50:41.000Z
rig/autoModifier.py
qeeji/glTools
8ff0899de43784a18bd4543285655e68e28fb5e5
[ "MIT" ]
5
2015-12-02T02:39:44.000Z
2020-12-09T02:45:54.000Z
rig/autoModifier.py
qeeji/glTools
8ff0899de43784a18bd4543285655e68e28fb5e5
[ "MIT" ]
83
2015-02-10T17:18:24.000Z
2022-02-10T07:16:47.000Z
import maya.cmds as mc def autoModifierAttribute(): ''' ''' pass def buildModifiers(moduleTemplateGrp): ''' ''' pass def buildAllModifiers(): ''' ''' pass
9.823529
38
0.646707
15
167
7.2
0.733333
0.12963
0
0
0
0
0
0
0
0
0
0
0.185629
167
16
39
10.4375
0.794118
0
0
0.428571
0
0
0
0
0
0
0
0
0
1
0.428571
false
0.428571
0.142857
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
3d194747c71be32463a98c9751d329767521eebc
136
py
Python
scratch_6.py
ddsanchezc/PythonSourceCode
cc9c6d64bdf5ce5280fb7e0721e60642bb4d50b6
[ "Apache-2.0" ]
null
null
null
scratch_6.py
ddsanchezc/PythonSourceCode
cc9c6d64bdf5ce5280fb7e0721e60642bb4d50b6
[ "Apache-2.0" ]
null
null
null
scratch_6.py
ddsanchezc/PythonSourceCode
cc9c6d64bdf5ce5280fb7e0721e60642bb4d50b6
[ "Apache-2.0" ]
null
null
null
def exponenciacion_aleatoria(n): numero = 5 resultado = exponenciacion_aleatoria(numero) return n ** random.randint(1, 10)
22.666667
48
0.713235
16
136
5.9375
0.75
0.484211
0
0
0
0
0
0
0
0
0
0.036364
0.191176
136
6
49
22.666667
0.827273
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
3d20db64f713b7bf48fc370a7739e6ccf67ce645
271
py
Python
networking/PositionSender.py
wtjerry/prenNetworkConnection
5d3c83bd46b5b9b362462db7f3c3edecd9540deb
[ "MIT" ]
null
null
null
networking/PositionSender.py
wtjerry/prenNetworkConnection
5d3c83bd46b5b9b362462db7f3c3edecd9540deb
[ "MIT" ]
null
null
null
networking/PositionSender.py
wtjerry/prenNetworkConnection
5d3c83bd46b5b9b362462db7f3c3edecd9540deb
[ "MIT" ]
null
null
null
class PositionSender(object): def __init__(self, connection_handler): self._connection_handler = connection_handler def send(self, x, z): s = "new position x: '{x}' z: '{z}'\n".format(x=x, z=z) self._connection_handler.enqueue_message(s)
33.875
63
0.656827
37
271
4.513514
0.486486
0.407186
0.377246
0.047904
0
0
0
0
0
0
0
0
0.202952
271
7
64
38.714286
0.773148
0
0
0
0
0
0.118081
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.5
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
3d4122c91b75983d98946aa864ca1470e91920b8
74
py
Python
chalicelib/__init__.py
kriti-d/snyker
33d256a93428de6eb27cb30b480ce3978551bada
[ "Apache-2.0" ]
1
2021-06-30T02:41:41.000Z
2021-06-30T02:41:41.000Z
chalicelib/__init__.py
kriti-d/snyker
33d256a93428de6eb27cb30b480ce3978551bada
[ "Apache-2.0" ]
1
2020-12-04T12:18:48.000Z
2020-12-04T12:18:48.000Z
chalicelib/__init__.py
kriti-d/snyker
33d256a93428de6eb27cb30b480ce3978551bada
[ "Apache-2.0" ]
3
2021-01-28T14:47:14.000Z
2021-10-17T17:08:10.000Z
""" Placeholder module to demonstrate including local code in Chalice """
18.5
65
0.77027
9
74
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.148649
74
3
66
24.666667
0.904762
0.878378
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
3d43bd0727e1bb5a6e59be1c7f574b1faa97766f
67
py
Python
src/appConfig/__init__.py
juansebastiang29/dashborard_sc
1a9ec66e3f32c39d9c39099cd9e72d12de0ff848
[ "Apache-2.0" ]
null
null
null
src/appConfig/__init__.py
juansebastiang29/dashborard_sc
1a9ec66e3f32c39d9c39099cd9e72d12de0ff848
[ "Apache-2.0" ]
null
null
null
src/appConfig/__init__.py
juansebastiang29/dashborard_sc
1a9ec66e3f32c39d9c39099cd9e72d12de0ff848
[ "Apache-2.0" ]
null
null
null
sales_scale = 1000000000 orders_scale = 1000 TIMEOUT = 60*60*24*30
16.75
24
0.776119
11
67
4.545455
0.818182
0
0
0
0
0
0
0
0
0
0
0.37931
0.134328
67
3
25
22.333333
0.482759
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3d4b075a2387b6c517e314ed581aae604e1572ea
43
py
Python
src/ensae_teaching_cs/helpers/__init__.py
mohamedelkansouli/Ensae_py
8bc867bd2081c259c793fadfa8be5dcc7bd1400b
[ "MIT" ]
null
null
null
src/ensae_teaching_cs/helpers/__init__.py
mohamedelkansouli/Ensae_py
8bc867bd2081c259c793fadfa8be5dcc7bd1400b
[ "MIT" ]
null
null
null
src/ensae_teaching_cs/helpers/__init__.py
mohamedelkansouli/Ensae_py
8bc867bd2081c259c793fadfa8be5dcc7bd1400b
[ "MIT" ]
null
null
null
""" @file @brief Shortcuts for helpers """
8.6
28
0.651163
5
43
5.6
1
0
0
0
0
0
0
0
0
0
0
0
0.162791
43
4
29
10.75
0.777778
0.790698
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
3d55c807c058eb4ee49f344e2df88c17844b4ed3
35
py
Python
search/utils/tests/__init__.py
ID2797370/arxiv-search
889402e8eef9a2faaa8e900978cd27ff2784ce33
[ "MIT" ]
35
2018-12-18T02:51:09.000Z
2022-03-30T04:43:20.000Z
search/utils/tests/__init__.py
ID2797370/arxiv-search
889402e8eef9a2faaa8e900978cd27ff2784ce33
[ "MIT" ]
172
2018-02-02T14:35:11.000Z
2018-12-04T15:35:30.000Z
search/utils/tests/__init__.py
ID2797370/arxiv-search
889402e8eef9a2faaa8e900978cd27ff2784ce33
[ "MIT" ]
13
2019-01-10T22:01:48.000Z
2021-11-05T12:25:08.000Z
"""Tests for utility functions."""
17.5
34
0.685714
4
35
6
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.774194
0.8
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
e9e96ac63a40e5713161d29c8874f12d2fbaaed1
4,254
py
Python
teatime/plugins/ipfs/pins.py
dmuhs/toaster
a9c42a3de036be89fa5b5a2960b8d864052f9839
[ "MIT" ]
87
2020-09-11T14:49:15.000Z
2022-03-27T13:49:00.000Z
teatime/plugins/ipfs/pins.py
dmuhs/toaster
a9c42a3de036be89fa5b5a2960b8d864052f9839
[ "MIT" ]
13
2020-09-28T14:25:06.000Z
2022-03-01T18:13:51.000Z
teatime/plugins/ipfs/pins.py
dmuhs/toaster
a9c42a3de036be89fa5b5a2960b8d864052f9839
[ "MIT" ]
7
2020-09-29T08:02:15.000Z
2021-12-08T15:10:41.000Z
"""This module contains plugins regarding listing and manipulating a node's pins.""" from teatime import Context, Issue, NodeType, Severity from teatime.plugins.base import IPFSRPCPlugin class AddPin(IPFSRPCPlugin): """Detect where it's possible to add new pin. Severity: High Endpoint: https://docs.ipf...
31.051095
93
0.589798
508
4,254
4.875984
0.259843
0.022204
0.032297
0.022608
0.800565
0.752523
0.725071
0.680258
0.631813
0.613242
0
0.007692
0.327692
4,254
136
94
31.279412
0.858392
0.265397
0
0.448718
0
0
0.247276
0.04556
0
0
0
0.007353
0
1
0.076923
false
0
0.025641
0
0.217949
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e9f8c00755e9a6c5263d8929917e3a5328fc5ae2
16
py
Python
test.py
AGarcia-20/Python_practice
805647401970ae90e1e27f28cb489d3a7b0f3f2e
[ "MIT" ]
null
null
null
test.py
AGarcia-20/Python_practice
805647401970ae90e1e27f28cb489d3a7b0f3f2e
[ "MIT" ]
null
null
null
test.py
AGarcia-20/Python_practice
805647401970ae90e1e27f28cb489d3a7b0f3f2e
[ "MIT" ]
null
null
null
a = 20 print(a)
5.333333
8
0.5625
4
16
2.25
0.75
0
0
0
0
0
0
0
0
0
0
0.166667
0.25
16
2
9
8
0.583333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
1803e95561e861c0234a06c93d2839c002d45bdb
76
py
Python
src/moreos/client_adapters/__init__.py
sigmavirus24/moreos
a32056d89fa519499e704f978db32b737977e2d7
[ "MIT" ]
3
2020-12-16T16:43:57.000Z
2021-06-03T10:54:55.000Z
src/moreos/client_adapters/__init__.py
sigmavirus24/moreos
a32056d89fa519499e704f978db32b737977e2d7
[ "MIT" ]
null
null
null
src/moreos/client_adapters/__init__.py
sigmavirus24/moreos
a32056d89fa519499e704f978db32b737977e2d7
[ "MIT" ]
null
null
null
"""The interfaces and built-in implementations to adapt to HTTP clients."""
38
75
0.763158
11
76
5.272727
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.131579
76
1
76
76
0.878788
0.907895
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
182748506a14a0a57f68d44cec589c63eafeb23f
238
py
Python
src/tests.py
QTGTech/DJTB-Generator
96c36516b4bede5fee7a538d79e1e7b380f9d31f
[ "Apache-2.0" ]
null
null
null
src/tests.py
QTGTech/DJTB-Generator
96c36516b4bede5fee7a538d79e1e7b380f9d31f
[ "Apache-2.0" ]
null
null
null
src/tests.py
QTGTech/DJTB-Generator
96c36516b4bede5fee7a538d79e1e7b380f9d31f
[ "Apache-2.0" ]
1
2017-12-08T18:39:01.000Z
2017-12-08T18:39:01.000Z
from functions_DJTB import load_and_parse, format_data chars, rawtext = load_and_parse('./data/tweets_small_raw.txt', verbose=True, pad_to_tweets=False) x1, y1, vocab_size1, ix_to_char1 = format_data(chars, rawtext, 280, verbose_x=True)
47.6
97
0.806723
40
238
4.425
0.7
0.079096
0.135593
0.248588
0
0
0
0
0
0
0
0.032258
0.088235
238
4
98
59.5
0.78341
0
0
0
0
0
0.113445
0.113445
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
1
0
1
0
0
0
0
4
182a4de7d496071b65b5cd6d2d81f0f402017a75
2,305
py
Python
tests/test_link_command.py
finderseyes/unity-tools
23c0297ae4003a3ff015231c958b4e0e44efce30
[ "MIT" ]
5
2018-10-20T07:43:23.000Z
2021-02-20T19:43:58.000Z
tests/test_link_command.py
finderseyes/unity-tools
23c0297ae4003a3ff015231c958b4e0e44efce30
[ "MIT" ]
2
2018-10-20T08:33:58.000Z
2018-10-23T11:34:42.000Z
tests/test_link_command.py
finderseyes/upkit
23c0297ae4003a3ff015231c958b4e0e44efce30
[ "MIT" ]
null
null
null
import os import unittest from collections import namedtuple from upkit import utils from upkit.tools import LinkPackageCommand class LinkPackageCommandTestCase(unittest.TestCase): def test_should_link_with_default_unity_project_link_template(self): output = '../temp/output/project-a' ...
42.685185
115
0.67115
278
2,305
5.417266
0.223022
0.071713
0.084993
0.106242
0.821381
0.74502
0.735724
0.646746
0.625498
0.625498
0
0
0.180911
2,305
53
116
43.490566
0.797669
0
0
0.421053
0
0
0.209685
0.111506
0
0
0
0
0.289474
1
0.078947
false
0
0.131579
0
0.236842
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
184f1b1566b587748366c9f52fb94426ea1386ed
91
py
Python
wardrobe/apps.py
noca/narnia
1608013f1f5a160bc237c2740121faac96d2d2f3
[ "MIT" ]
null
null
null
wardrobe/apps.py
noca/narnia
1608013f1f5a160bc237c2740121faac96d2d2f3
[ "MIT" ]
null
null
null
wardrobe/apps.py
noca/narnia
1608013f1f5a160bc237c2740121faac96d2d2f3
[ "MIT" ]
null
null
null
from django.apps import AppConfig class WardrobeConfig(AppConfig): name = 'wardrobe'
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.087912
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
18576c9c24f82608e63c5a9d34adf3921642d791
2,584
py
Python
chemdash/descriptors.py
dmoccia/chemdash
9b40719cb801032ed1a4868705583b8af0f5c787
[ "MIT" ]
2
2020-06-18T05:13:36.000Z
2021-09-29T11:30:37.000Z
chemdash/descriptors.py
dmoccia/chemdash
9b40719cb801032ed1a4868705583b8af0f5c787
[ "MIT" ]
null
null
null
chemdash/descriptors.py
dmoccia/chemdash
9b40719cb801032ed1a4868705583b8af0f5c787
[ "MIT" ]
1
2020-07-12T21:21:30.000Z
2020-07-12T21:21:30.000Z
from rdkit.Chem import Descriptors, Mol, rdMolDescriptors, Crippen, GraphDescriptors, Lipinski from chemdash.SA_Score import sascorer from chemdash.NP_Score import npscorer round_digs = 2 def get_logp_(mol: Mol) -> float: return round(Crippen.MolLogP(mol), round_digs) def get_qed_(mol: Mol) -> float: retu...
26.367347
94
0.657121
283
2,584
5.787986
0.321555
0.058608
0.06044
0.07326
0.285104
0.114774
0
0
0
0
0
0.003516
0.229489
2,584
98
95
26.367347
0.819186
0.09791
0
0
0
0
0.128408
0.028584
0
0
0
0.010204
0
1
0.326531
false
0
0.061224
0.22449
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
1
0
0
4
1862c57d31e2239a2ed9d6fd30dccaa5f4246595
149
py
Python
Django/translate/sample/forms.py
sug5806/TIL
2309d8a270e4a7b8961268a40b6492c5db317e37
[ "MIT" ]
null
null
null
Django/translate/sample/forms.py
sug5806/TIL
2309d8a270e4a7b8961268a40b6492c5db317e37
[ "MIT" ]
102
2020-02-12T00:10:33.000Z
2022-03-11T23:58:41.000Z
Django/translate/sample/forms.py
sug5806/TIL
2309d8a270e4a7b8961268a40b6492c5db317e37
[ "MIT" ]
null
null
null
from django import forms from django.conf import settings class LanguageForm(forms.Form): code = forms.ChoiceField(choices=settings.LANGUAGES)
21.285714
56
0.798658
19
149
6.263158
0.684211
0.168067
0
0
0
0
0
0
0
0
0
0
0.127517
149
7
56
21.285714
0.915385
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
1878368bba2541d7aa4a5c254ed0b10331d0af77
19
py
Python
tests/test_cli/commands/missing_cli_attr.py
matyasrichter/prisma-client-py
1b320ba32ff8c70c7481396e2ecf5a3fcbf4b5c7
[ "Apache-2.0" ]
518
2021-08-28T01:57:06.000Z
2022-03-30T15:44:45.000Z
tests/test_cli/commands/missing_cli_attr.py
matyasrichter/prisma-client-py
1b320ba32ff8c70c7481396e2ecf5a3fcbf4b5c7
[ "Apache-2.0" ]
288
2021-08-28T04:15:27.000Z
2022-03-29T16:54:51.000Z
tests/test_cli/commands/missing_cli_attr.py
matyasrichter/prisma-client-py
1b320ba32ff8c70c7481396e2ecf5a3fcbf4b5c7
[ "Apache-2.0" ]
19
2021-11-16T15:16:19.000Z
2022-03-14T09:59:34.000Z
"""Empty module"""
9.5
18
0.578947
2
19
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
19
1
19
19
0.647059
0.631579
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
187e609fc3b8933ae07fb327ad793c7c11b2a36c
213
py
Python
kattis/relocation.py
terror/Solutions
1ad33daec95b565a38ac4730261593bcf249ac86
[ "CC0-1.0" ]
2
2021-04-05T14:26:37.000Z
2021-06-10T04:22:01.000Z
kattis/relocation.py
terror/Solutions
1ad33daec95b565a38ac4730261593bcf249ac86
[ "CC0-1.0" ]
null
null
null
kattis/relocation.py
terror/Solutions
1ad33daec95b565a38ac4730261593bcf249ac86
[ "CC0-1.0" ]
null
null
null
N, Q = list(map(int, input().split())) c = list(map(int, input().split())) for i in range(Q): x, y, z = list(map(int, input().split())) if x == 1: c[y - 1] = z else: print(abs(c[y - 1] - c[z - 1]))
21.3
43
0.488263
42
213
2.47619
0.47619
0.201923
0.288462
0.432692
0.576923
0
0
0
0
0
0
0.024691
0.239437
213
9
44
23.666667
0.617284
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
43e561485804f3721d122273fc8d01380b1ded4b
258
py
Python
app/db_templates/missions/mission2.py
xiazeyu/collector
210c50162acd9527345b4443b7656b1fb2fac5e2
[ "MIT" ]
1
2021-12-27T05:54:53.000Z
2021-12-27T05:54:53.000Z
app/db_templates/missions/mission2.py
xiazeyu/collector
210c50162acd9527345b4443b7656b1fb2fac5e2
[ "MIT" ]
9
2021-04-28T09:06:39.000Z
2022-02-25T11:59:53.000Z
app/db_templates/missions/mission2.py
xiazeyu/collector
210c50162acd9527345b4443b7656b1fb2fac5e2
[ "MIT" ]
1
2021-12-27T05:54:55.000Z
2021-12-27T05:54:55.000Z
from pathlib import Path def main(file_path: Path) -> str: """ Test function for showing file path. Args: file_path: file path Returns: str: HTML output """ return f"Hello world mission2, filePath is {file_path}."
17.2
60
0.616279
34
258
4.588235
0.676471
0.25641
0
0
0
0
0
0
0
0
0
0.005495
0.294574
258
14
61
18.428571
0.851648
0.383721
0
0
0
0
0.362205
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
4
43fa168dbd0264460787a4c4f2a9891144255873
307
py
Python
ch10/06.py
hnccho/book
f659bc759dca6d4991183147db7ae04abb4265a4
[ "MIT" ]
84
2017-01-13T04:57:20.000Z
2022-02-17T11:56:03.000Z
ch10/06.py
hnccho/book
f659bc759dca6d4991183147db7ae04abb4265a4
[ "MIT" ]
3
2019-10-12T12:02:54.000Z
2020-04-13T12:09:57.000Z
ch10/06.py
hnccho/book
f659bc759dca6d4991183147db7ae04abb4265a4
[ "MIT" ]
111
2016-09-22T09:02:12.000Z
2022-03-18T13:26:49.000Z
import win32com.client instCpStockCode = win32com.client.Dispatch("CpUtil.CpStockCode") stockNum = instCpStockCode.GetCount() for i in range(stockNum): if instCpStockCode.GetData(1, i) == 'NAVER': print(instCpStockCode.GetData(0,i)) print(instCpStockCode.GetData(1,i)) print(i)
30.7
64
0.713355
35
307
6.257143
0.542857
0.30137
0.210046
0.219178
0
0
0
0
0
0
0
0.027132
0.159609
307
9
65
34.111111
0.821705
0
0
0
0
0
0.074919
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.375
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
43fe194b3356b38bfd8b66ee6f992dcaa552e60c
167
py
Python
haarcascades.py
patrickdijusto/python.hub
776a6a843dbd8895c414dcb8e7730c8cb2f3894d
[ "MIT" ]
null
null
null
haarcascades.py
patrickdijusto/python.hub
776a6a843dbd8895c414dcb8e7730c8cb2f3894d
[ "MIT" ]
null
null
null
haarcascades.py
patrickdijusto/python.hub
776a6a843dbd8895c414dcb8e7730c8cb2f3894d
[ "MIT" ]
null
null
null
import cv2 print(cv2.data.haarcascades) https://github.com/Kalebu/Real-time-Vehicle-Dection-Python/blob/bdfe7b3f4d652d53cc4df84341a49e60296f7708/haarcascade_car.xml
27.833333
124
0.856287
20
167
7.1
0.95
0
0
0
0
0
0
0
0
0
0
0.167702
0.035928
167
6
124
27.833333
0.714286
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
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
1
0
0
0
1
0
0
0
0
4
a1016c9627d71f56296b87649eb83509c4506c0e
77
py
Python
lib_bgp_simulator_engine/tests/utils/peer_link.py
jfuruness/lib_bgp_simulator_engine
cd45a653d7fa26b7387e7450a5891b62efe5bf01
[ "BSD-3-Clause" ]
1
2021-09-27T14:13:10.000Z
2021-09-27T14:13:10.000Z
lib_bgp_simulator_engine/tests/utils/peer_link.py
jfuruness/lib_bgp_simulator_engine
cd45a653d7fa26b7387e7450a5891b62efe5bf01
[ "BSD-3-Clause" ]
null
null
null
lib_bgp_simulator_engine/tests/utils/peer_link.py
jfuruness/lib_bgp_simulator_engine
cd45a653d7fa26b7387e7450a5891b62efe5bf01
[ "BSD-3-Clause" ]
null
null
null
class PeerLink: def __init__(self, p1, p2): self.ases = (p1, p2)
19.25
31
0.571429
11
77
3.636364
0.727273
0.2
0
0
0
0
0
0
0
0
0
0.072727
0.285714
77
3
32
25.666667
0.654545
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
a10436323fd4f5898198bfc5b6290ba6c59892e5
192
py
Python
Strings/1_sWAP cASE.py
FaranakAlikhah/ADM-HW1
f4255112c58a4a200d04c943c74f096cc31e9dad
[ "MIT" ]
null
null
null
Strings/1_sWAP cASE.py
FaranakAlikhah/ADM-HW1
f4255112c58a4a200d04c943c74f096cc31e9dad
[ "MIT" ]
null
null
null
Strings/1_sWAP cASE.py
FaranakAlikhah/ADM-HW1
f4255112c58a4a200d04c943c74f096cc31e9dad
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # # *section 3: Strings* # # ### writer : Faranak Alikhah 1954128 # ### 1.sWAP cASE : # # In[ ]: def swap_case(s): return (s.swapcase()) #
10.105263
38
0.552083
25
192
4.2
0.88
0.152381
0
0
0
0
0
0
0
0
0
0.068966
0.244792
192
18
39
10.666667
0.655172
0.598958
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
a13a1e6fcb06cd7bf09979b7d5af39fd71af356e
464
py
Python
api/persistence/db.py
santiagovj22/Backend-Traveler
84036ba03e9e1618dd153c4e7af2895614286622
[ "MIT" ]
null
null
null
api/persistence/db.py
santiagovj22/Backend-Traveler
84036ba03e9e1618dd153c4e7af2895614286622
[ "MIT" ]
null
null
null
api/persistence/db.py
santiagovj22/Backend-Traveler
84036ba03e9e1618dd153c4e7af2895614286622
[ "MIT" ]
null
null
null
import logging from persistence.mongo_db import DatabaseConnection DB = DatabaseConnection() LOG = logging.getLogger('MongoDB') def init_db(app): DB.init_db(app) def get_tours_collection(): return DB.get_collection('tours') def get_users_collection(): return DB.get_collection('users') def get_lan...
16.571429
51
0.758621
58
464
5.810345
0.362069
0.071217
0.130564
0.249258
0.275964
0
0
0
0
0
0
0
0.137931
464
27
52
17.185185
0.8425
0
0
0
0
0
0.079741
0
0
0
0
0
0
1
0.357143
false
0
0.142857
0.285714
0.785714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4