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
430336b7f4dbc40bc44f3cc4b913cdfd02c0d7db
160
py
Python
vmaig_blog/uwsgi-2.0.14/examples/uwsgirouter2.py
StanYaha/Blog
3cb38918e14ebe6ce2e2952ef272de116849910d
[ "BSD-3-Clause" ]
1
2018-11-24T16:10:49.000Z
2018-11-24T16:10:49.000Z
vmaig_blog/uwsgi-2.0.14/examples/uwsgirouter2.py
StanYaha/Blog
3cb38918e14ebe6ce2e2952ef272de116849910d
[ "BSD-3-Clause" ]
null
null
null
vmaig_blog/uwsgi-2.0.14/examples/uwsgirouter2.py
StanYaha/Blog
3cb38918e14ebe6ce2e2952ef272de116849910d
[ "BSD-3-Clause" ]
null
null
null
import uwsgi def application(e,s): for part in uwsgi.send_message("192.168.173.100:3032", 0, 0, e, 0, e['wsgi.input'].fileno(), uwsgi.cl()): yield part
17.777778
106
0.65625
29
160
3.586207
0.758621
0.038462
0
0
0
0
0
0
0
0
0
0.139706
0.15
160
8
107
20
0.625
0
0
0
0
0
0.188679
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
43201553618527ba7995b6a8ba123bd6b8dd3672
15,640
py
Python
tests/checktags_tests.py
okurz/osc-plugin-factory
37499194ce23e426f8be8860437b29f9d97dd533
[ "MIT" ]
null
null
null
tests/checktags_tests.py
okurz/osc-plugin-factory
37499194ce23e426f8be8860437b29f9d97dd533
[ "MIT" ]
null
null
null
tests/checktags_tests.py
okurz/osc-plugin-factory
37499194ce23e426f8be8860437b29f9d97dd533
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (C) 2015 SUSE Linux GmbH # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This ...
53.197279
318
0.569757
1,579
15,640
5.558581
0.21026
0.019141
0.023926
0.029053
0.734647
0.71619
0.68201
0.676541
0.655805
0.637689
0
0.094665
0.309719
15,640
293
319
53.37884
0.718322
0.081522
0
0.673913
0
0.130435
0.654507
0.227463
0
0
0
0
0.004348
1
0.03913
false
0
0.03913
0
0.086957
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
432cef9fad1df03ac05ebc095f41bfac00a1c7bc
16,450
py
Python
try.py
ojas-rajankar/data
2a19e5652a7f243da9de7c20237dfc3cd6793f4c
[ "Unlicense" ]
null
null
null
try.py
ojas-rajankar/data
2a19e5652a7f243da9de7c20237dfc3cd6793f4c
[ "Unlicense" ]
null
null
null
try.py
ojas-rajankar/data
2a19e5652a7f243da9de7c20237dfc3cd6793f4c
[ "Unlicense" ]
null
null
null
global numbering numbering = [0,1,2,3] num = 0 filterbegin = '''res(); for (i=0, o=0; i<115; i++){''' o = ['MSI', 'APPV', 'Citrix MSI', 'Normal','Express','Super Express (BOPO)', 'Simple', 'Medium', 'Complex', 'May', 'June', 'July', 'August'] filterending = '''if (val1 == eq1){ if (val2 == eq2){ if (val3 =...
70.905172
906
0.210578
1,017
16,450
3.406096
0.154376
0.247691
0.199192
0.121247
0.514434
0.5
0.491051
0.486721
0.486721
0.174654
0
0.092833
0.709909
16,450
231
907
71.212121
0.633068
0
0
0.222222
0
0.013889
0.227634
0.105617
0.00463
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4342cf2c49ee19ea6d3ad9820bf49267a38e92b5
67,000
py
Python
blobcity/code_gen/IpynbMeta.py
Thilakraj1998/autoai
f09ed2e13d9882137ab2eb347fa74c731a988525
[ "Apache-2.0" ]
115
2021-09-01T03:55:40.000Z
2022-03-29T07:09:03.000Z
blobcity/code_gen/IpynbMeta.py
Thilakraj1998/autoai
f09ed2e13d9882137ab2eb347fa74c731a988525
[ "Apache-2.0" ]
87
2021-09-10T08:56:32.000Z
2022-02-01T07:18:05.000Z
blobcity/code_gen/IpynbMeta.py
Thilakraj1998/autoai
f09ed2e13d9882137ab2eb347fa74c731a988525
[ "Apache-2.0" ]
35
2021-09-01T04:16:18.000Z
2022-02-05T20:32:26.000Z
# Copyright 2021 BlobCity, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
81.113801
1,254
0.768478
10,054
67,000
5.093097
0.136364
0.009862
0.011288
0.010741
0.632914
0.618365
0.607995
0.594442
0.577354
0.567473
0
0.006736
0.171284
67,000
826
1,255
81.113801
0.915388
0.010507
0
0.263485
0
0.489627
0.975965
0.023915
0
0
0
0
0
1
0
false
0.018672
0
0
0.006224
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4a31debf6428ddcecb6ff1da9d492f0f873e4088
1,798
gyp
Python
node_modules/@toruslabs/eccrypto/binding.gyp
dankmonke/weedpunkz
0c4d5ee4d0846655c5fbce95bd0c0496b5412334
[ "Apache-2.0" ]
3
2022-01-14T20:32:08.000Z
2022-03-22T10:03:02.000Z
node_modules/@toruslabs/eccrypto/binding.gyp
dankmonke/weedpunkz
0c4d5ee4d0846655c5fbce95bd0c0496b5412334
[ "Apache-2.0" ]
14
2020-07-09T06:23:38.000Z
2022-03-08T08:34:51.000Z
node_modules/@toruslabs/eccrypto/binding.gyp
abra-ham/lfg-gcks
a2578c7361df17728c1d510df1b0e9b8930a8d02
[ "MIT" ]
2
2021-09-22T00:05:25.000Z
2022-03-28T10:42:26.000Z
{ "targets": [ { "target_name": "ecdh", "include_dirs": ["<!(node -e \"require('nan')\")"], "cflags": ["-Wall", "-O2"], "sources": ["ecdh.cc"], "conditions": [ ["OS=='win'", { "conditions": [ [ "target_arch=='x64'", { "varia...
26.057971
81
0.335929
106
1,798
5.481132
0.377358
0.201377
0.146299
0.179002
0.48537
0.344234
0.344234
0.344234
0
0
0
0.019956
0.498331
1,798
68
82
26.441176
0.624169
0
0
0.338235
0
0
0.383204
0.143493
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4a4a15de3900d35c519c0d541ab0c2d96a05b9ae
202
py
Python
setup.py
john-patterson/wavvy
5bbd330bd498c06d953c041930bd4e4b2cab67e9
[ "MIT" ]
null
null
null
setup.py
john-patterson/wavvy
5bbd330bd498c06d953c041930bd4e4b2cab67e9
[ "MIT" ]
null
null
null
setup.py
john-patterson/wavvy
5bbd330bd498c06d953c041930bd4e4b2cab67e9
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='wavvy', packages=['wavvy'], include_package_data=True, install_requires=[ 'flask', 'flask_sqlalchemy', 'passlib', 'requests', ], )
18.363636
59
0.633663
20
202
6.2
0.85
0
0
0
0
0
0
0
0
0
0
0
0.217822
202
10
60
20.2
0.78481
0
0
0
0
0
0.227723
0
0
0
0
0
0
1
0
true
0.111111
0.111111
0
0.111111
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
4a4a7d97c527f98dd4593738f3e4e185936b4fe3
2,835
py
Python
src/py_dss_interface/models/Circuit/CircuitS.py
davilamds/py_dss_interface
a447c97787aeac962381db88dd622ccb235eef4b
[ "MIT" ]
null
null
null
src/py_dss_interface/models/Circuit/CircuitS.py
davilamds/py_dss_interface
a447c97787aeac962381db88dd622ccb235eef4b
[ "MIT" ]
null
null
null
src/py_dss_interface/models/Circuit/CircuitS.py
davilamds/py_dss_interface
a447c97787aeac962381db88dd622ccb235eef4b
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- """ Created by eniocc at 11/10/2020 """ import ctypes from py_dss_interface.models.Base import Base class CircuitS(Base): """ This interface can be used to read/write certain properties of the active DSS object. The structure of the interface is as follows: CStr Circuit...
49.736842
114
0.692769
422
2,835
4.540284
0.218009
0.054802
0.057411
0.056367
0.72286
0.688413
0.688413
0.652923
0.628392
0.623695
0
0.016844
0.204233
2,835
56
115
50.625
0.832447
0.435273
0
0.375
0
0
0.030181
0
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
4a5d76cfa32b9d4ec5c472a3077ae5d1be08bb09
81,701
py
Python
stubs.min/System/Security/__init__.py
denfromufa/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2017-07-07T11:15:45.000Z
2017-07-07T11:15:45.000Z
stubs.min/System/Security/__init__.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/System/Security/__init__.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
# encoding: utf-8 # module System.Security calls itself Security # from mscorlib,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089,System,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089,WindowsBase,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35 # by generator 1.145 # n...
34.502111
227
0.710922
9,643
81,701
5.81344
0.076325
0.026347
0.025116
0.029826
0.634118
0.597478
0.551383
0.508322
0.480012
0.446173
0
0.001284
0.198957
81,701
2,367
228
34.516688
0.855285
0.004565
0
0.750343
0
0
0.01288
0.005209
0
0
0
0
0.006859
0
null
null
0.390947
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
4a5fde16ca7c0e7f00959ac15fff78fd8284ed8f
622
py
Python
tests/Exscript/servers/SSHdTest.py
saveshodhan/exscript
72718eee3e87b345d5a5255be9824e867e42927b
[ "MIT" ]
226
2015-01-20T19:59:06.000Z
2022-01-02T11:13:01.000Z
tests/Exscript/servers/SSHdTest.py
saveshodhan/exscript
72718eee3e87b345d5a5255be9824e867e42927b
[ "MIT" ]
155
2015-01-02T07:56:27.000Z
2022-01-09T20:56:19.000Z
tests/Exscript/servers/SSHdTest.py
saveshodhan/exscript
72718eee3e87b345d5a5255be9824e867e42927b
[ "MIT" ]
114
2015-01-03T11:48:17.000Z
2022-01-26T02:50:43.000Z
from __future__ import absolute_import import sys import unittest import re import os sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', '..')) from .ServerTest import ServerTest from Exscript.servers import SSHd from Exscript.protocols import SSH2 class SSHdTest(ServerTest): CORRELATE = SSHd ...
23.037037
71
0.733119
78
622
5.576923
0.538462
0.027586
0
0
0
0
0
0
0
0
0
0.007605
0.154341
622
26
72
23.923077
0.819392
0
0
0
0
0
0.019293
0
0
0
0
0
0
1
0.157895
false
0
0.421053
0.105263
0.789474
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
4a642c7b80be8859af233b9311d0c60a281d259e
401
py
Python
skunky/auditors/cloudwatchlogs/__init__.py
gvauter/skunky
d625d800d533162289361da0d27bbd3feb837b8b
[ "Apache-2.0" ]
44
2018-03-11T22:12:32.000Z
2021-02-16T22:30:21.000Z
skunky/auditors/cloudwatchlogs/__init__.py
gvauter/skunky
d625d800d533162289361da0d27bbd3feb837b8b
[ "Apache-2.0" ]
2
2018-03-11T22:56:42.000Z
2018-12-12T13:22:20.000Z
skunky/auditors/cloudwatchlogs/__init__.py
gvauter/skunky
d625d800d533162289361da0d27bbd3feb837b8b
[ "Apache-2.0" ]
6
2018-08-09T23:38:17.000Z
2020-08-10T03:59:39.000Z
from skunky.skunky import Auditor from skunky.skunky import LOGGER class CloudwatchLogsAuditor(Auditor): def audit(self, instance): LOGGER.info("Instance {} in Account {} with IP {} in {} marked dirty - {}".format( instance['instance_id'], instance['instance_account_id'], instance['bastion_user_i...
40.1
98
0.688279
46
401
5.847826
0.565217
0.178439
0.118959
0.163569
0
0
0
0
0
0
0
0
0.169576
401
9
99
44.555556
0.807808
0
0
0
0
0
0.329177
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
4a649f5a031ac9a7219ee4f7b3216db2e49adbf7
144
py
Python
aplicacion-terminal/Contact.py
jocode/curso-python
17acb889c835b6c0d42533a73d5b7463ce3a4027
[ "MIT" ]
null
null
null
aplicacion-terminal/Contact.py
jocode/curso-python
17acb889c835b6c0d42533a73d5b7463ce3a4027
[ "MIT" ]
null
null
null
aplicacion-terminal/Contact.py
jocode/curso-python
17acb889c835b6c0d42533a73d5b7463ce3a4027
[ "MIT" ]
null
null
null
class Contact: def __init__(self, name, phone, email): self.name = name self.phone = phone self.email = email
20.571429
43
0.5625
17
144
4.529412
0.470588
0.207792
0
0
0
0
0
0
0
0
0
0
0.347222
144
6
44
24
0.819149
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4a6614f2f9de262be92169023dd2f60bbc7d38aa
106
py
Python
cahpter2/expectation.py
443ki/ProRob_Code
e63df939dfffc84c63dff5bf3726aecec635770a
[ "MIT" ]
null
null
null
cahpter2/expectation.py
443ki/ProRob_Code
e63df939dfffc84c63dff5bf3726aecec635770a
[ "MIT" ]
null
null
null
cahpter2/expectation.py
443ki/ProRob_Code
e63df939dfffc84c63dff5bf3726aecec635770a
[ "MIT" ]
null
null
null
import random samples = [ random.choice( [1,2,3,4,5,6]) for i in range(10000) ] sum(samples)/len(samples)
26.5
65
0.688679
20
106
3.65
0.85
0
0
0
0
0
0
0
0
0
0
0.11828
0.122642
106
3
66
35.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4a8daac4fb7641ad3ab2e3663bc2dc8a67897a7c
255
py
Python
Module 3/Chapter 1/ch1_19.py
PacktPublishing/Natural-Language-Processing-Python-and-NLTK
bb7fd9a3071b4247d13accfbf0a48eefec76e925
[ "MIT" ]
50
2016-12-11T13:49:01.000Z
2022-03-20T19:47:55.000Z
Module 3/Chapter 1/ch1_19.py
PacktPublishing/Natural-Language-Processing-Python-and-NLTK
bb7fd9a3071b4247d13accfbf0a48eefec76e925
[ "MIT" ]
null
null
null
Module 3/Chapter 1/ch1_19.py
PacktPublishing/Natural-Language-Processing-Python-and-NLTK
bb7fd9a3071b4247d13accfbf0a48eefec76e925
[ "MIT" ]
40
2017-06-14T14:02:48.000Z
2021-10-14T06:25:00.000Z
import nltk from nltk.tokenize import WhitespaceTokenizer from nltk.tokenize.util import spans_to_relative sent=" She secured 90.56 % in class X \n. She is a meritorious student\n" print(list(spans_to_relative(WhitespaceTokenizer().span_tokenize(sent))))
42.5
73
0.815686
39
255
5.205128
0.641026
0.078818
0.157635
0
0
0
0
0
0
0
0
0.017391
0.098039
255
5
74
51
0.865217
0
0
0
0
0
0.258824
0
0
0
0
0
0
1
0
false
0
0.6
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
0
0
1
0
1
0
0
3
435961523caca5073dd315421c655f622ab2ffa6
1,032
py
Python
mezzala/weights.py
Torvaney/mezzala
2c55d136ac3dae2bb86988071396063c3c79ce8c
[ "Apache-2.0" ]
19
2021-06-01T14:30:14.000Z
2022-03-20T08:19:49.000Z
mezzala/weights.py
Torvaney/mezzala
2c55d136ac3dae2bb86988071396063c3c79ce8c
[ "Apache-2.0" ]
null
null
null
mezzala/weights.py
Torvaney/mezzala
2c55d136ac3dae2bb86988071396063c3c79ce8c
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/weights.ipynb (unless otherwise specified). __all__ = ['UniformWeight', 'ExponentialWeight', 'KeyWeight'] # Cell import numpy as np # Cell class UniformWeight: """ Weight all observations equally """ def __repr__(self): return f'UniformWeight(...
19.471698
91
0.633721
119
1,032
5.193277
0.378151
0.079288
0.053398
0.082524
0.216828
0.187702
0.187702
0.187702
0
0
0
0.002591
0.251938
1,032
53
92
19.471698
0.797927
0.228682
0
0.304348
1
0
0.182062
0.088353
0
0
0
0
0
1
0.347826
false
0
0.043478
0.26087
0.782609
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
436b78a619734fb3db3e000627d57ad6eeb7b0e0
168
py
Python
test_workspaces/workspace05/lineEndingsCheck.py
armaxri/vscode-action-group-executer
9a8f09c7ec0866d179c918f6d239f96a913ebb6d
[ "MIT" ]
null
null
null
test_workspaces/workspace05/lineEndingsCheck.py
armaxri/vscode-action-group-executer
9a8f09c7ec0866d179c918f6d239f96a913ebb6d
[ "MIT" ]
null
null
null
test_workspaces/workspace05/lineEndingsCheck.py
armaxri/vscode-action-group-executer
9a8f09c7ec0866d179c918f6d239f96a913ebb6d
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 print('1a') print('1b') print('2a\n') print('2b\n') print('3a\r\n') print('3b\r\n') print('4a\r') print('4b\r') print('5a\n\r') print('5b\n\r')
12.923077
22
0.583333
36
168
2.722222
0.472222
0.244898
0.142857
0
0
0
0
0
0
0
0
0.070968
0.077381
168
12
23
14
0.56129
0.125
0
0
0
0
0.30137
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
4370d9fec01d6e1af99f298ddc5ac6d90c1d309b
659
py
Python
setup.py
Dentosal/sigepy
9cce4dcbd1c36340cfbdf603a1de6d5e38132828
[ "MIT" ]
null
null
null
setup.py
Dentosal/sigepy
9cce4dcbd1c36340cfbdf603a1de6d5e38132828
[ "MIT" ]
null
null
null
setup.py
Dentosal/sigepy
9cce4dcbd1c36340cfbdf603a1de6d5e38132828
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="sigepy", version="0.1.0", author="Hannes Karppila", license="MIT", url="https://github.com/Dentosal/sigepy", packages=["sigepy"], package_data={"": ["LICENSE"]}, install_requires=[], classifiers=[ "Development Status :: 4 - Beta", ...
28.652174
54
0.582701
64
659
5.96875
0.703125
0.198953
0.26178
0.204188
0
0
0
0
0
0
0
0.018367
0.256449
659
22
55
29.954545
0.761224
0
0
0
0
0
0.540212
0
0
0
0
0
0
1
0
true
0
0.047619
0
0.047619
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
43c013752ea73e491c90e62423bd05bb11f4eb9f
273
py
Python
src/devpy/__init__.py
sametmax/devpy
66a150817644edf825d19b80f644e7d05b2a3e86
[ "MIT" ]
161
2017-03-01T16:36:27.000Z
2021-08-13T11:44:26.000Z
src/devpy/__init__.py
sametmax/devpy
66a150817644edf825d19b80f644e7d05b2a3e86
[ "MIT" ]
16
2017-03-02T14:12:30.000Z
2017-03-31T07:04:46.000Z
src/devpy/__init__.py
sametmax/devpy
66a150817644edf825d19b80f644e7d05b2a3e86
[ "MIT" ]
7
2017-03-03T20:29:25.000Z
2017-04-17T21:11:06.000Z
import devpy from .log import autolog # noqa from .tb import color_traceback # noqa __version__ = "0.1.8" def dev_mode(color_traceback=True, autolog=True): # noqa if color_traceback: devpy.color_traceback() if autolog: return devpy.autolog()
19.5
57
0.692308
37
273
4.864865
0.513514
0.311111
0
0
0
0
0
0
0
0
0
0.014085
0.21978
273
13
58
21
0.830986
0.051282
0
0
0
0
0.019608
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
78fe3893c2d308f27b4e60a715c468bf051b4e78
1,075
py
Python
bach/tests/unit/sql_models/test_model_escape_format.py
objectiv/objectiv-analytics
86ec1508f71c2d61ea7d67479800e4dc417a46e1
[ "Apache-2.0" ]
23
2021-11-10T21:37:42.000Z
2022-03-30T11:46:19.000Z
bach/tests/unit/sql_models/test_model_escape_format.py
objectiv/objectiv-analytics
86ec1508f71c2d61ea7d67479800e4dc417a46e1
[ "Apache-2.0" ]
163
2021-11-10T10:11:26.000Z
2022-03-31T16:04:27.000Z
bach/tests/unit/sql_models/test_model_escape_format.py
objectiv/objectiv-analytics
86ec1508f71c2d61ea7d67479800e4dc417a46e1
[ "Apache-2.0" ]
null
null
null
""" Copyright 2022 Objectiv B.V. """ import pytest from sql_models.model import escape_format_string pytestmark = [pytest.mark.db_independent] # mark all tests here as database independent. def assert_escape_compare_value(value): """ helper for test__escape_value. Assert that the escaped value, after formatting...
37.068966
109
0.72186
148
1,075
4.939189
0.310811
0.114911
0.181943
0.229822
0.473324
0.391245
0.391245
0.391245
0.391245
0.391245
0
0.005405
0.139535
1,075
28
110
38.392857
0.784865
0.16093
0
0
0
0
0.105856
0
0
0
0
0
0.578947
1
0.105263
false
0
0.105263
0
0.210526
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
600ff1d7b626851c0793e09614c76463019b4c99
69
py
Python
pigeon/blog/cli/__init__.py
PigeonQwQ/PigeonBlog
d8d0118e0d8b4ce1d71b90a68eb8d2620e116dc6
[ "MIT" ]
null
null
null
pigeon/blog/cli/__init__.py
PigeonQwQ/PigeonBlog
d8d0118e0d8b4ce1d71b90a68eb8d2620e116dc6
[ "MIT" ]
null
null
null
pigeon/blog/cli/__init__.py
PigeonQwQ/PigeonBlog
d8d0118e0d8b4ce1d71b90a68eb8d2620e116dc6
[ "MIT" ]
null
null
null
from pigeon.blog.cli.entry import _app as main __all__ = ["main", ]
17.25
46
0.710145
11
69
4
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.15942
69
3
47
23
0.758621
0
0
0
0
0
0.057971
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
602e202b701d9390874f9552b312555de54f2b9b
324
py
Python
9_k_type_inference_tuple_precision.py
traff/python_completion_benchmark
df25caaabf46f8b6eca34d5618052bff7ea8b0bf
[ "Xnet", "X11" ]
1
2018-11-23T18:53:05.000Z
2018-11-23T18:53:05.000Z
9_k_type_inference_tuple_precision.py
traff/python_completion_benchmark
df25caaabf46f8b6eca34d5618052bff7ea8b0bf
[ "Xnet", "X11" ]
null
null
null
9_k_type_inference_tuple_precision.py
traff/python_completion_benchmark
df25caaabf46f8b6eca34d5618052bff7ea8b0bf
[ "Xnet", "X11" ]
null
null
null
class C: def foo(self): pass class D: def bar(self): pass class E: def baz(self): pass def f(): return 0 def g(): return x = (C(), D(), E()) a, b, c = x x[0].bar() # NO bar x[1].baz() # NO baz x[2].foo() # baz a.bar() # NO bar b.baz() # NO baz c.foo() # NO ...
9.257143
20
0.444444
59
324
2.440678
0.338983
0.166667
0.180556
0
0
0
0
0
0
0
0
0.019417
0.364198
324
34
21
9.529412
0.679612
0.117284
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.238095
false
0.142857
0
0.095238
0.47619
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
604d62facd44f9ba2998918ac1674118fde1b465
5,434
py
Python
ingestion_server/ingestion_server/es_mapping.py
H4NG-MAN/cccatalog-api
e7b8ad517734905cc3e33f123c90ad1996b0ddac
[ "MIT" ]
null
null
null
ingestion_server/ingestion_server/es_mapping.py
H4NG-MAN/cccatalog-api
e7b8ad517734905cc3e33f123c90ad1996b0ddac
[ "MIT" ]
null
null
null
ingestion_server/ingestion_server/es_mapping.py
H4NG-MAN/cccatalog-api
e7b8ad517734905cc3e33f123c90ad1996b0ddac
[ "MIT" ]
null
null
null
def create_mapping(table_name): """ Return the Elasticsearch mapping for a given table in the database. :param table_name: The name of the table in the upstream database. :return: """ mapping = { 'image': { "mappings": { "doc": { "properties"...
35.75
71
0.187891
188
5,434
5.324468
0.303191
0.142857
0.197802
0.20979
0.481518
0.481518
0.481518
0.481518
0.481518
0
0
0.020275
0.718623
5,434
151
72
35.986755
0.634402
0.0265
0
0.462069
0
0
0.155336
0
0
0
0
0
0
1
0.006897
false
0
0
0
0.013793
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
605a3c65b2c6fd898d1181bfd181db7c07af37a8
100
py
Python
src/eduid_graphdb/__init__.py
SUNET/eduid-groupdb
c9b4631ff944211eab82595f005bc7e707142216
[ "BSD-3-Clause" ]
1
2020-09-05T03:14:37.000Z
2020-09-05T03:14:37.000Z
src/eduid_graphdb/__init__.py
SUNET/eduid-graphdb
c9b4631ff944211eab82595f005bc7e707142216
[ "BSD-3-Clause" ]
null
null
null
src/eduid_graphdb/__init__.py
SUNET/eduid-graphdb
c9b4631ff944211eab82595f005bc7e707142216
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from eduid_graphdb.db import BaseGraphDB, Neo4jDB __author__ = 'lundberg'
16.666667
49
0.71
12
100
5.5
1
0
0
0
0
0
0
0
0
0
0
0.023529
0.15
100
5
50
20
0.752941
0.21
0
0
0
0
0.103896
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
607e06728e55a84f48d99c94b156747cdf22a705
305
py
Python
test/resource/test_data/real_suite/libs/com/company/library.py
wasteland-rider/sublime-robot-framework-assistant
7d75b85c5364995f1012a55ac9f67600aa8ba5e3
[ "MIT" ]
null
null
null
test/resource/test_data/real_suite/libs/com/company/library.py
wasteland-rider/sublime-robot-framework-assistant
7d75b85c5364995f1012a55ac9f67600aa8ba5e3
[ "MIT" ]
null
null
null
test/resource/test_data/real_suite/libs/com/company/library.py
wasteland-rider/sublime-robot-framework-assistant
7d75b85c5364995f1012a55ac9f67600aa8ba5e3
[ "MIT" ]
null
null
null
from robot.libraries.BuiltIn import BuiltIn class CompanyLibrary(object): """docstring for ComparyLibrary""" def company_keyword(self, arg): print(arg) def company_keyword_2(self, args): print(args) print(BuiltIn().get_library_instance('SeleniumLibrary'))
23.461538
64
0.67541
33
305
6.090909
0.69697
0.099502
0.169154
0
0
0
0
0
0
0
0
0.004202
0.219672
305
12
65
25.416667
0.840336
0.091803
0
0
0
0
0.057252
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
1
0
3
60ce714738fe671d6a764658f10038debec586cb
289
py
Python
test/python/tests/test_defaultsMissing.py
lucascoelhof/rosparam_handler
92f8ad0b2655a3af3e1f31736b60339d74a291d3
[ "BSD-2-Clause-FreeBSD" ]
52
2016-08-15T13:01:50.000Z
2022-02-20T16:47:46.000Z
test/python/tests/test_defaultsMissing.py
lucascoelhof/rosparam_handler
92f8ad0b2655a3af3e1f31736b60339d74a291d3
[ "BSD-2-Clause-FreeBSD" ]
53
2016-08-16T06:43:11.000Z
2021-08-25T15:55:41.000Z
test/python/tests/test_defaultsMissing.py
lucascoelhof/rosparam_handler
92f8ad0b2655a3af3e1f31736b60339d74a291d3
[ "BSD-2-Clause-FreeBSD" ]
23
2016-08-15T20:35:43.000Z
2021-02-03T23:06:45.000Z
import unittest from rosparam_handler.param.DefaultsMissingParameters import DefaultsMissingParameters class TestDefaultsMissingParameters(unittest.TestCase): def test_defaults_missing(self): with self.assertRaises(KeyError): params = DefaultsMissingParameters()
32.111111
86
0.802768
24
289
9.541667
0.791667
0
0
0
0
0
0
0
0
0
0
0
0.141869
289
8
87
36.125
0.923387
0
0
0
0
0
0
0
0
0
0
0
0.166667
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
0
0
0
3
60d303dc993afca05b4a844ac738996e758cd5d9
1,530
py
Python
backend/app/middleware/cache.py
brianchul/project_cryptoCost
c49776a923fe2d35ca62aa1272bfbcc263b0fd14
[ "MIT" ]
3
2021-07-06T13:26:27.000Z
2021-07-07T01:12:00.000Z
backend/app/middleware/cache.py
brianchul/project_cryptoCost
c49776a923fe2d35ca62aa1272bfbcc263b0fd14
[ "MIT" ]
null
null
null
backend/app/middleware/cache.py
brianchul/project_cryptoCost
c49776a923fe2d35ca62aa1272bfbcc263b0fd14
[ "MIT" ]
null
null
null
import redis, json from collections.abc import Callable from flask import current_app class getOrSetCache: def __init__(self): self.redis = redis.Redis(host=current_app.config["REDIS_URL"] or "localhost", port=current_app.config["REDIS_PORT"] or 6379) def findOrSet(self, key:str, callback:Callable[[s...
34
132
0.597386
201
1,530
4.502488
0.313433
0.079558
0.044199
0.061878
0.235359
0.170166
0.170166
0
0
0
0
0.006404
0.285621
1,530
45
133
34
0.821592
0
0
0.085714
0
0
0.026127
0
0
0
0
0
0
1
0.228571
false
0
0.085714
0.142857
0.6
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
60d5d866c3fcd9a7c346cd6ee1a1a9d6529dc3e8
196
py
Python
main.py
haideralipunjabi/DatabaseGenerator
af005c2eb64a1b67becd2f78423a2f44b4f93e11
[ "MIT" ]
1
2018-09-18T01:52:45.000Z
2018-09-18T01:52:45.000Z
main.py
haideralipunjabi/DatabaseGenerator
af005c2eb64a1b67becd2f78423a2f44b4f93e11
[ "MIT" ]
null
null
null
main.py
haideralipunjabi/DatabaseGenerator
af005c2eb64a1b67becd2f78423a2f44b4f93e11
[ "MIT" ]
null
null
null
import src.webManager import src.dbgenerator print("Database Generator - Hack-e-Sta") if(src.webManager.Connection().isserveravailable()): generator = src.dbgenerator.DatabaseGenerator()
32.666667
53
0.770408
21
196
7.190476
0.666667
0.119205
0
0
0
0
0
0
0
0
0
0
0.107143
196
6
54
32.666667
0.862857
0
0
0
0
0
0.161458
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
60fccda3c6c723937eaab103910683729d169bba
147
py
Python
Python/File Handling/05_assignment7.1.py
gaurgs/Coursera-Python
0ed61a505d85c46d98a60ade71fc11b17a03e9ac
[ "MIT" ]
null
null
null
Python/File Handling/05_assignment7.1.py
gaurgs/Coursera-Python
0ed61a505d85c46d98a60ade71fc11b17a03e9ac
[ "MIT" ]
null
null
null
Python/File Handling/05_assignment7.1.py
gaurgs/Coursera-Python
0ed61a505d85c46d98a60ade71fc11b17a03e9ac
[ "MIT" ]
null
null
null
# Use words.txt as the file name fname = raw_input("Enter file name: ") fh = open(fname) for line in fh: temp=line.rstrip(); print temp.upper();
21
38
0.687075
26
147
3.846154
0.769231
0.16
0
0
0
0
0
0
0
0
0
0
0.170068
147
6
39
24.5
0.819672
0.204082
0
0
0
0
0.147826
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
881243a0ce93c771c4dd6d5a2de4f78220e2ea58
3,673
py
Python
tests/test_utils.py
rconradharris/pyhole
1d5d7991c6b1c2343175e878af8b70bc9047384a
[ "Apache-2.0" ]
null
null
null
tests/test_utils.py
rconradharris/pyhole
1d5d7991c6b1c2343175e878af8b70bc9047384a
[ "Apache-2.0" ]
null
null
null
tests/test_utils.py
rconradharris/pyhole
1d5d7991c6b1c2343175e878af8b70bc9047384a
[ "Apache-2.0" ]
null
null
null
# Copyright 2011 Josh Kearney # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
32.219298
78
0.659406
486
3,673
4.728395
0.283951
0.207137
0.182768
0.155352
0.498259
0.477372
0.434291
0.398607
0.398607
0.37772
0
0.024508
0.211271
3,673
113
79
32.504425
0.768726
0.161721
0
0.183099
0
0
0.067298
0.007187
0
0
0
0
0.295775
1
0.295775
false
0
0.070423
0
0.380282
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
7167f18592e209c8f9d57ec08e9295b45b48a1c9
1,569
py
Python
pincer/objects/guild/template.py
mjneff2/Pincer
a11bc3e4bad319fdf927d913c58c933576ec7c99
[ "MIT" ]
null
null
null
pincer/objects/guild/template.py
mjneff2/Pincer
a11bc3e4bad319fdf927d913c58c933576ec7c99
[ "MIT" ]
null
null
null
pincer/objects/guild/template.py
mjneff2/Pincer
a11bc3e4bad319fdf927d913c58c933576ec7c99
[ "MIT" ]
null
null
null
# Copyright Pincer 2021-Present # Full MIT License can be found in `LICENSE` at the project root. from __future__ import annotations from dataclasses import dataclass from typing import Optional, TYPE_CHECKING from ...utils import APIObject if TYPE_CHECKING: from ..guild import Guild from ..user import User...
23.41791
65
0.695347
207
1,569
5.154589
0.386473
0.051546
0.044986
0.01687
0.1209
0.061856
0.061856
0
0
0
0
0.003445
0.260038
1,569
66
66
23.772727
0.91559
0.553219
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.904762
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
716d231736193d0fa483dcb534c42efe8cbcd9a9
135
py
Python
jj/matchers/request_matchers/_request_matcher.py
TeoDV/jj
a58d91ad7b37ba3115daea4890190abede8f3353
[ "Apache-2.0" ]
4
2020-09-08T08:14:21.000Z
2022-01-27T19:22:53.000Z
jj/matchers/request_matchers/_request_matcher.py
TeoDV/jj
a58d91ad7b37ba3115daea4890190abede8f3353
[ "Apache-2.0" ]
19
2018-02-13T05:51:25.000Z
2022-03-27T22:48:11.000Z
jj/matchers/request_matchers/_request_matcher.py
TeoDV/jj
a58d91ad7b37ba3115daea4890190abede8f3353
[ "Apache-2.0" ]
3
2017-11-17T13:25:23.000Z
2022-02-03T12:57:00.000Z
from .._resolvable_matcher import ResolvableMatcher __all__ = ("RequestMatcher",) class RequestMatcher(ResolvableMatcher): pass
16.875
51
0.792593
11
135
9.181818
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.125926
135
7
52
19.285714
0.855932
0
0
0
0
0
0.103704
0
0
0
0
0
0
1
0
false
0.25
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
7172481eefc3833d36f3b5c11b31d32b38844bee
170
py
Python
arc/arc113/arc113a.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
1
2019-08-21T00:49:34.000Z
2019-08-21T00:49:34.000Z
arc/arc113/arc113a.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
arc/arc113/arc113a.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
K = int(input()) result = 0 for A in range(1, K + 1): for B in range(1, K + 1): if A * B > K: break result += K // (A * B) print(result)
17
30
0.435294
30
170
2.466667
0.466667
0.189189
0.216216
0.243243
0.27027
0
0
0
0
0
0
0.04902
0.4
170
9
31
18.888889
0.676471
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
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
717c9c3105381ab0588408573b0a3ea74d567df9
94
py
Python
testStockDao.py
G00387867/Data_Representation_Project
157c4ed749fd3f0177d56be6cf00e066c8c2641b
[ "MIT" ]
null
null
null
testStockDao.py
G00387867/Data_Representation_Project
157c4ed749fd3f0177d56be6cf00e066c8c2641b
[ "MIT" ]
null
null
null
testStockDao.py
G00387867/Data_Representation_Project
157c4ed749fd3f0177d56be6cf00e066c8c2641b
[ "MIT" ]
null
null
null
from StockDAO import stockDAO # print("OK") returnValue = stockDAO.getAll() print(returnValue)
23.5
31
0.787234
11
94
6.727273
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.095745
94
4
32
23.5
0.870588
0.117021
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7185023cd991327a0a4f4af638037c78983d3cc8
452
py
Python
pytpp/attributes/server_agent_base_device_placement_work.py
Venafi/pytpp
42af655b2403b8c9447c86962abd4aaa0201f646
[ "MIT" ]
4
2022-02-04T23:58:55.000Z
2022-02-15T18:53:08.000Z
pytpp/attributes/server_agent_base_device_placement_work.py
Venafi/pytpp
42af655b2403b8c9447c86962abd4aaa0201f646
[ "MIT" ]
null
null
null
pytpp/attributes/server_agent_base_device_placement_work.py
Venafi/pytpp
42af655b2403b8c9447c86962abd4aaa0201f646
[ "MIT" ]
null
null
null
from pytpp.attributes._helper import IterableMeta, Attribute from pytpp.attributes.client_work_base import ClientWorkBaseAttributes class ServerAgentBaseDevicePlacementWorkAttributes(ClientWorkBaseAttributes, metaclass=IterableMeta): __config_class__ = "Server Agent Base Device Placement Work" device_object_locatio...
50.222222
101
0.845133
50
452
7.36
0.54
0.048913
0.103261
0.070652
0
0
0
0
0
0
0
0.014458
0.081858
452
8
102
56.5
0.872289
0
0
0
0
0
0.190265
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
719a92f5de3161be87b225e1f8a5fd54a35539ca
18
py
Python
snapdump/__init__.py
JMarkin/snapdump
5bb8746a9c46f00d2a89cd12731d49da5a2b65fd
[ "MIT" ]
13
2019-02-21T15:41:04.000Z
2021-09-25T03:52:14.000Z
snapdump/__init__.py
JMarkin/snapdump
5bb8746a9c46f00d2a89cd12731d49da5a2b65fd
[ "MIT" ]
1
2019-12-08T19:46:32.000Z
2019-12-10T07:46:36.000Z
snapdump/__init__.py
omry/snapdump
5517d3f905bde2f11bd0eb0b0ce3ab6055f716a4
[ "MIT" ]
null
null
null
name = "snapdump"
9
17
0.666667
2
18
6
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
18
1
18
18
0.8
0
0
0
0
0
0.444444
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
71b0a9396c7c9902edbdc5c270b5e5287d79032a
670
py
Python
script/study/sedov/globalvars.py
will-iam/Variant
5b6732134fd51cf6c2b90b51b7976be0693ba28d
[ "MIT" ]
8
2017-05-04T07:50:02.000Z
2019-05-17T02:27:20.000Z
script/study/sedov/globalvars.py
will-iam/Variant
5b6732134fd51cf6c2b90b51b7976be0693ba28d
[ "MIT" ]
null
null
null
script/study/sedov/globalvars.py
will-iam/Variant
5b6732134fd51cf6c2b90b51b7976be0693ba28d
[ "MIT" ]
null
null
null
class comvars(object): gamma = 0.0 gamm1 = 0.0 gamp1 = 0.0 gpogm = 0.0 xgeom = 0 xg2 = 0.0 rwant = 0.0 r2 = 0.0 a0 = 0.0 a1 = 0.0 a2 = 0.0 a3 = 0.0 a4 = 0.0 a5 = 0.0 a_val = 0.0 b_val = 0.0 c_val = 0.0 d_val = 0.0 e_val = 0....
670
670
0.492537
115
670
2.808696
0.486957
0.142415
0.077399
0
0
0
0
0
0
0
0
0.168367
0.414925
670
1
670
670
0.655612
0.183582
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
71cffb5c19d650f139d0963d11a173baa4c1209d
9,409
py
Python
cohesity_management_sdk/controllers/interface_group.py
sachinthakare-cohesity/management-sdk-python
c95f67b7d387d5bab8392be43190e598280ae7b5
[ "MIT" ]
null
null
null
cohesity_management_sdk/controllers/interface_group.py
sachinthakare-cohesity/management-sdk-python
c95f67b7d387d5bab8392be43190e598280ae7b5
[ "MIT" ]
null
null
null
cohesity_management_sdk/controllers/interface_group.py
sachinthakare-cohesity/management-sdk-python
c95f67b7d387d5bab8392be43190e598280ae7b5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2019 Cohesity Inc. import logging from cohesity_management_sdk.api_helper import APIHelper from cohesity_management_sdk.configuration import Configuration from cohesity_management_sdk.controllers.base_controller import BaseController from cohesity_management_sdk.http.auth.auth_manag...
40.381974
117
0.634711
998
9,409
5.748497
0.147295
0.043577
0.048806
0.0441
0.748998
0.748998
0.702458
0.691651
0.691651
0.671082
0
0.001663
0.297056
9,409
232
118
40.556034
0.865739
0.266766
0
0.526786
0
0
0.196519
0.091021
0
0
0
0.008621
0
1
0.044643
false
0
0.0625
0
0.142857
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
71e1280f0cf08f2f0568b7db8a8ad21c74787c3d
82
py
Python
Session5-While-Loops/01_read_text.py
elenaborisova/Crack-the-Code
d0b505ebad878d5228d98c934779ed9b28f6c034
[ "MIT" ]
null
null
null
Session5-While-Loops/01_read_text.py
elenaborisova/Crack-the-Code
d0b505ebad878d5228d98c934779ed9b28f6c034
[ "MIT" ]
null
null
null
Session5-While-Loops/01_read_text.py
elenaborisova/Crack-the-Code
d0b505ebad878d5228d98c934779ed9b28f6c034
[ "MIT" ]
1
2021-05-31T14:47:53.000Z
2021-05-31T14:47:53.000Z
line = input() while not line == "Stop": print(line) line = input()
13.666667
26
0.52439
10
82
4.3
0.6
0.418605
0
0
0
0
0
0
0
0
0
0
0.317073
82
5
27
16.4
0.767857
0
0
0.5
0
0
0.051948
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
71e2713fb9ad31ef314f1e1e2574e9e278ce1bbd
66
py
Python
api_site/src/test_pay_site/config/prod.py
webee/pay
b48c6892686bf3f9014bb67ed119506e41050d45
[ "W3C" ]
1
2019-10-14T11:51:49.000Z
2019-10-14T11:51:49.000Z
api_site/src/test_pay_site/config/prod.py
webee/pay
b48c6892686bf3f9014bb67ed119506e41050d45
[ "W3C" ]
null
null
null
api_site/src/test_pay_site/config/prod.py
webee/pay
b48c6892686bf3f9014bb67ed119506e41050d45
[ "W3C" ]
null
null
null
# coding=utf-8 class App: DEBUG = False TESTING = False
9.428571
19
0.606061
9
66
4.444444
0.888889
0
0
0
0
0
0
0
0
0
0
0.021739
0.30303
66
6
20
11
0.847826
0.181818
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
e09013f6f44664bc70d7f25d107ca866f1cb6ae7
26
py
Python
common/libs/harri_sessions/__init__.py
Mohammad-Kabajah/django_project
6598668dbc4f8d777ccf716464d259c49d881cd8
[ "Apache-2.0" ]
null
null
null
common/libs/harri_sessions/__init__.py
Mohammad-Kabajah/django_project
6598668dbc4f8d777ccf716464d259c49d881cd8
[ "Apache-2.0" ]
null
null
null
common/libs/harri_sessions/__init__.py
Mohammad-Kabajah/django_project
6598668dbc4f8d777ccf716464d259c49d881cd8
[ "Apache-2.0" ]
null
null
null
__author__ = 'adarwazeh'
13
25
0.730769
2
26
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.153846
26
1
26
26
0.681818
0
0
0
0
0
0.36
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e09ebc7f3a8d0c48343899f78f42ab432c44b531
1,138
py
Python
python_toolbox/reasoned_bool.py
hboshnak/python_toolbox
cb9ef64b48f1d03275484d707dc5079b6701ad0c
[ "MIT" ]
119
2015-02-05T17:59:47.000Z
2022-02-21T22:43:40.000Z
python_toolbox/reasoned_bool.py
hboshnak/python_toolbox
cb9ef64b48f1d03275484d707dc5079b6701ad0c
[ "MIT" ]
4
2019-04-24T14:01:14.000Z
2020-05-21T12:03:29.000Z
python_toolbox/reasoned_bool.py
hboshnak/python_toolbox
cb9ef64b48f1d03275484d707dc5079b6701ad0c
[ "MIT" ]
14
2015-03-30T06:30:42.000Z
2021-12-24T23:45:11.000Z
# Copyright 2009-2017 Ram Rachum. # This program is distributed under the MIT license. class ReasonedBool: ''' A variation on `bool` that also gives a `.reason`. This is useful when you want to say "This is False because... (reason.)" Unfortunately this class is not a subclass of `bool`, since Pytho...
24.73913
79
0.607206
154
1,138
4.305195
0.454545
0.067873
0.036199
0.045249
0.060332
0
0
0
0
0
0
0.009889
0.289104
1,138
46
80
24.73913
0.809642
0.426186
0
0
0
0
0.121368
0
0
0
0
0
0
1
0.352941
false
0
0
0.235294
0.764706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e0a1c10ae6390769c98af7f96fec6a9849765502
396
py
Python
exercises/ja/test_03_03.py
tuanducdesign/spacy-course
f8d092c5fa2997fccb3f367d174dce8667932b3d
[ "MIT" ]
2
2020-07-07T01:46:37.000Z
2021-04-20T03:19:43.000Z
exercises/ja/test_03_03.py
tuanducdesign/spacy-course
f8d092c5fa2997fccb3f367d174dce8667932b3d
[ "MIT" ]
null
null
null
exercises/ja/test_03_03.py
tuanducdesign/spacy-course
f8d092c5fa2997fccb3f367d174dce8667932b3d
[ "MIT" ]
null
null
null
def test(): assert nlp.meta["name"] == "core_news_sm", "正しいパイプラインをロードしましたか?" assert nlp.meta["lang"] == "ja", "正しいパイプラインをロードしましたか?" assert "print(nlp.pipe_names)" in __solution__, "パイプラインの名前をプリントしましたか?" assert "print(nlp.pipeline)" in __solution__, "パイプラインをプリントしましたか?" __msg__.good( "Well do...
39.6
85
0.707071
40
396
6.6
0.675
0.068182
0.098485
0
0
0
0
0
0
0
0
0
0.14899
396
9
86
44
0.783383
0
0
0
0
0
0.535354
0.229798
0
0
0
0
0.5
1
0.125
true
0
0
0
0.125
0.25
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
1
0
0
1
0
0
0
0
0
0
3
e0a9fc0f01b11e52b1793e9e000c87abb7f423b4
2,644
py
Python
scratch/shawn/analyze_noise_vs_bias_offline.py
ccffccffcc/pysmurf
e9bc60a48b2ecc800e50796ee42ad88e3a028587
[ "BSD-3-Clause-LBNL" ]
null
null
null
scratch/shawn/analyze_noise_vs_bias_offline.py
ccffccffcc/pysmurf
e9bc60a48b2ecc800e50796ee42ad88e3a028587
[ "BSD-3-Clause-LBNL" ]
null
null
null
scratch/shawn/analyze_noise_vs_bias_offline.py
ccffccffcc/pysmurf
e9bc60a48b2ecc800e50796ee42ad88e3a028587
[ "BSD-3-Clause-LBNL" ]
null
null
null
import os datafile_path='/data/smurf_data/20200220/1582161944/outputs' datafiles = ['1582162928.dat','1582163631.dat','1582164334.dat','1582165036.dat','1582165740.dat','1582166443.dat','1582167146.dat','1582167850.dat','1582168553.dat','1582169256.dat','1582169959.dat','1582170662.dat','1582171365.dat','1582172068.d...
71.459459
1,322
0.69062
420
2,644
4.264286
0.328571
0.017867
0.030151
0
0
0
0
0
0
0
0
0.423743
0.104766
2,644
36
1,323
73.444444
0.332911
0
0
0
0
0
0.427544
0.016648
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e0b1e1679cf61313589d9b51f1d97b4f8fa4dc42
1,090
py
Python
python-flask-server/jatdb_server/trello_controller.py
NGenetzky/jatdb
518e0cedca1b61b8a744aef5e02255d8501bf8eb
[ "MIT" ]
null
null
null
python-flask-server/jatdb_server/trello_controller.py
NGenetzky/jatdb
518e0cedca1b61b8a744aef5e02255d8501bf8eb
[ "MIT" ]
null
null
null
python-flask-server/jatdb_server/trello_controller.py
NGenetzky/jatdb
518e0cedca1b61b8a744aef5e02255d8501bf8eb
[ "MIT" ]
null
null
null
import connexion import six from jatdb_server.models.trello_query import TrelloQuery # noqa: E501 from jatdb_server.models.universal_resource import UniversalResource # noqa: E501 from jatdb_server import util def trello_model_id_put(model, id): # noqa: E501 """Updates the models currently in db. # noqa...
19.464286
82
0.634862
143
1,090
4.734266
0.314685
0.106352
0.06647
0.075332
0.286558
0.218612
0.141802
0.141802
0.141802
0.141802
0
0.033499
0.26055
1,090
55
83
19.818182
0.806452
0.408257
0
0.230769
0
0
0.079395
0
0
0
0
0
0
1
0.230769
false
0
0.384615
0
0.846154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
e0bf9028a9770b681a392f64a60bb5822b240083
902
py
Python
eu_parliament/_nbdev.py
eschmidt42/eu-parliament-votes
b4578736cb5d33f1e9c032f575e27ac97b6c3bdc
[ "Apache-2.0" ]
null
null
null
eu_parliament/_nbdev.py
eschmidt42/eu-parliament-votes
b4578736cb5d33f1e9c032f575e27ac97b6c3bdc
[ "Apache-2.0" ]
null
null
null
eu_parliament/_nbdev.py
eschmidt42/eu-parliament-votes
b4578736cb5d33f1e9c032f575e27ac97b6c3bdc
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"URL": "00_downloading_pdfs.ipynb", "PDF_PATH": "00_downloading_pdfs.ipynb", "identify_links_for_pdfs": "00_downloading_pdfs.ipynb", "download_file": "00_downloading_pdfs.ipynb", ...
37.583333
68
0.699557
116
902
4.974138
0.465517
0.112652
0.147314
0.190641
0.233969
0.233969
0
0
0
0
0
0.031788
0.162971
902
23
69
39.217391
0.73245
0.039911
0
0
1
0
0.652778
0.381944
0
0
0
0
0
1
0.0625
false
0
0
0.0625
0.0625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e0d0cba87cfe1af3901e71c299ae36e4910e1193
478
py
Python
tests/testcompat.py
lenormf/screenplain
dc691b1fcbed50703acc0de03f326eb77ab57138
[ "MIT" ]
96
2015-03-03T10:11:03.000Z
2022-02-02T22:17:41.000Z
tests/testcompat.py
lenormf/screenplain
dc691b1fcbed50703acc0de03f326eb77ab57138
[ "MIT" ]
57
2015-04-03T16:24:03.000Z
2022-01-04T21:09:16.000Z
tests/testcompat.py
lenormf/screenplain
dc691b1fcbed50703acc0de03f326eb77ab57138
[ "MIT" ]
35
2015-04-03T08:20:45.000Z
2022-02-13T15:47:00.000Z
# Copyright (c) 2011 Martin Vilcans # Licensed under the MIT license: # http://www.opensource.org/licenses/mit-license.php """Provides compatibility between Python 2 and 3. In Python 2 we use the unittest2 module. The functionality of that module is already in Python 3, so we don't depend on it. This module exports t...
26.555556
78
0.769874
73
478
5.041096
0.712329
0.054348
0
0
0
0
0
0
0
0
0
0.025189
0.169456
478
17
79
28.117647
0.901763
0.769874
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
460005a2b87ab21947d7fa972d1767ae5ba9a996
460
py
Python
llvm/bindings/python/llvm/tests/test_bitreader.py
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
4,812
2015-01-02T19:38:10.000Z
2022-03-27T12:42:24.000Z
llvm/bindings/python/llvm/tests/test_bitreader.py
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
11,789
2015-01-05T04:50:15.000Z
2022-03-31T23:39:19.000Z
llvm/bindings/python/llvm/tests/test_bitreader.py
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
2,543
2015-01-01T11:18:36.000Z
2022-03-22T21:32:36.000Z
from __future__ import print_function from .base import TestBase from ..core import OpCode from ..core import MemoryBuffer from ..core import PassRegistry from ..core import Context from ..core import Module from ..bit_reader import parse_bitcode class TestBitReader(TestBase): def test_parse_bitcode(self): ...
25.555556
56
0.743478
60
460
5.5
0.483333
0.121212
0.212121
0
0
0
0
0
0
0
0
0
0.180435
460
17
57
27.058824
0.875332
0
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0.071429
0.571429
0
0.714286
0.214286
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
460ff58d17fa3dd37db234edba500ecf128b7a06
90
py
Python
AtCoder/ABC/170-179/ABC172_B.py
sireline/PyCode
8578467710c3c1faa89499f5d732507f5d9a584c
[ "MIT" ]
null
null
null
AtCoder/ABC/170-179/ABC172_B.py
sireline/PyCode
8578467710c3c1faa89499f5d732507f5d9a584c
[ "MIT" ]
null
null
null
AtCoder/ABC/170-179/ABC172_B.py
sireline/PyCode
8578467710c3c1faa89499f5d732507f5d9a584c
[ "MIT" ]
null
null
null
S = input() T = input() i = 0 for s, t in zip(S, T): if s!=t: i += 1 print(i)
11.25
22
0.422222
20
90
1.9
0.55
0.157895
0
0
0
0
0
0
0
0
0
0.035088
0.366667
90
7
23
12.857143
0.631579
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1ccd8f80f39a6323422659e39ae5eb825f3ac8e2
983
py
Python
sacx/environments/mock_env.py
Gerryflap/RL_project_common
7663a84371ee49668eb667f8f73a46d0262425ab
[ "MIT" ]
5
2018-08-07T13:01:55.000Z
2020-10-10T05:16:06.000Z
sacx/environments/mock_env.py
Gerryflap/RL_project_common
7663a84371ee49668eb667f8f73a46d0262425ab
[ "MIT" ]
1
2020-07-16T06:30:52.000Z
2020-07-16T06:30:52.000Z
sacx/environments/mock_env.py
Gerryflap/RL_project_common
7663a84371ee49668eb667f8f73a46d0262425ab
[ "MIT" ]
1
2019-06-07T02:16:44.000Z
2019-06-07T02:16:44.000Z
import numpy as np from core import FiniteActionEnvironment, State, Action from sacx.extcore import TaskEnvironment ACTIONS = [0, 1, 2] TASKS = [0,1,2] class MockState(State): def __init__(self, terminal: bool, state): super().__init__(terminal) self.state = state class MockEnv(FiniteActionEn...
22.860465
70
0.641913
121
983
5.099174
0.396694
0.012966
0.082658
0.06483
0.119935
0.119935
0.119935
0.119935
0.119935
0
0
0.021651
0.24822
983
43
71
22.860465
0.813261
0
0
0.241379
0
0
0
0
0
0
0
0
0
1
0.275862
false
0
0.103448
0.206897
0.689655
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1cf159b7d613c9f277ad537a54f261d078f86618
401
py
Python
majority-element-ii/test_majority_element_ii.py
joaojunior/hackerrank
a5ee0449e791535930b8659dfb7dddcf9e1237de
[ "MIT" ]
null
null
null
majority-element-ii/test_majority_element_ii.py
joaojunior/hackerrank
a5ee0449e791535930b8659dfb7dddcf9e1237de
[ "MIT" ]
null
null
null
majority-element-ii/test_majority_element_ii.py
joaojunior/hackerrank
a5ee0449e791535930b8659dfb7dddcf9e1237de
[ "MIT" ]
1
2019-06-19T00:51:02.000Z
2019-06-19T00:51:02.000Z
from majority_element_ii import Solution def test_example_1(): nums = [3, 2, 3] expected = [3] assert expected == Solution().majority_element(nums) def test_example_2(): nums = [1] expected = [1] assert expected == Solution().majority_element(nums) def test_example_3(): nums = [1, 2]...
17.434783
56
0.648379
52
401
4.788462
0.288462
0.240964
0.168675
0.361446
0.606426
0.606426
0.441767
0.441767
0.441767
0
0
0.041667
0.221945
401
22
57
18.227273
0.75641
0
0
0.230769
0
0
0
0
0
0
0
0
0.230769
1
0.230769
false
0
0.076923
0
0.307692
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
e814cbbd07e2a5fcff401546bc40ebd099afbc06
1,700
py
Python
mayan/apps/documents/tests/test_recently_accessed_document_views.py
nattangwiwat/Mayan-EDMS-recitation
fcf16afb56eae812fb99144d65ae1ae6749de0b7
[ "Apache-2.0" ]
4
2021-09-02T00:16:30.000Z
2021-09-09T22:25:15.000Z
mayan/apps/documents/tests/test_recently_accessed_document_views.py
nattangwiwat/Mayan-EDMS-recitation
fcf16afb56eae812fb99144d65ae1ae6749de0b7
[ "Apache-2.0" ]
86
2021-09-01T23:53:02.000Z
2021-09-20T02:25:10.000Z
mayan/apps/documents/tests/test_recently_accessed_document_views.py
nattangwiwat/Mayan-EDMS-recitation
fcf16afb56eae812fb99144d65ae1ae6749de0b7
[ "Apache-2.0" ]
70
2021-09-01T12:54:51.000Z
2022-02-16T00:53:18.000Z
from ..permissions import permission_document_view from .base import GenericDocumentViewTestCase from .mixins.recently_accessed_document_mixins import RecentlyAccessedDocumentViewTestMixin class RecentlyAccessedDocumentViewTestCase( RecentlyAccessedDocumentViewTestMixin, GenericDocumentViewTestCase ): def te...
35.416667
91
0.739412
184
1,700
6.342391
0.217391
0.082262
0.123393
0.143959
0.723222
0.723222
0.723222
0.689803
0.689803
0.689803
0
0.006652
0.204118
1,700
47
92
36.170213
0.855876
0
0
0.486486
0
0
0
0
0
0
0
0
0.081081
1
0.081081
false
0
0.081081
0
0.189189
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e8255587a29a9855b20ab451a0c5371c4e857609
310
py
Python
src/machines/state.py
kirill-ivanov-a/primes-grammar
96fc0e702602188e4795f61daa826d96240e7c84
[ "MIT" ]
null
null
null
src/machines/state.py
kirill-ivanov-a/primes-grammar
96fc0e702602188e4795f61daa826d96240e7c84
[ "MIT" ]
2
2021-11-19T18:18:39.000Z
2021-11-20T20:50:40.000Z
src/machines/state.py
kirill-ivanov-a/primes-grammar
96fc0e702602188e4795f61daa826d96240e7c84
[ "MIT" ]
1
2021-11-12T11:38:34.000Z
2021-11-12T11:38:34.000Z
__all__ = ["State"] class State: def __init__(self, value: str): self.value = value def __eq__(self, other): if not isinstance(other, State): return False else: return self.value == other.value def __hash__(self): return hash(self.value)
19.375
44
0.567742
36
310
4.444444
0.472222
0.225
0
0
0
0
0
0
0
0
0
0
0.329032
310
15
45
20.666667
0.769231
0
0
0
0
0
0.016129
0
0
0
0
0
0
1
0.272727
false
0
0
0.090909
0.636364
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
e834baf8bae6882e24c12909e8d73a33fba9691d
6,520
py
Python
ooobuild/lo/sheet/sheet_cell.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/sheet/sheet_cell.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/sheet/sheet_cell.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # 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 applicab...
41.006289
523
0.742485
738
6,520
6.398374
0.341463
0.044261
0.010589
0.012706
0.195044
0.195044
0.170902
0.157772
0.148454
0.148454
0
0.051022
0.197393
6,520
158
524
41.265823
0.851328
0.36365
0
0.207547
0
0
0.060748
0.04398
0
0
0
0
0
1
0.207547
false
0
0.471698
0
0.754717
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
08fb8a10f3378688b494e2017b5dac109c0cbe39
327
py
Python
django/tabletop/apps/worlds/apps.py
whutch/tabletop
ff8fc3c8f2e12d6344a0aac6cd95c8790c972976
[ "MIT" ]
null
null
null
django/tabletop/apps/worlds/apps.py
whutch/tabletop
ff8fc3c8f2e12d6344a0aac6cd95c8790c972976
[ "MIT" ]
null
null
null
django/tabletop/apps/worlds/apps.py
whutch/tabletop
ff8fc3c8f2e12d6344a0aac6cd95c8790c972976
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """App configuration for the worlds app.""" # Part of Tabletop (https://github.com/whutch/tabletop) # :copyright: (c) 2018 Will Hutcheson # :license: MIT (https://github.com/whutch/tabletop/blob/master/LICENSE.txt) from django.apps import AppConfig class WorldsConfig(AppConfig): name = 'w...
27.25
76
0.712538
43
327
5.418605
0.767442
0.094421
0.120172
0.171674
0.240343
0
0
0
0
0
0
0.017544
0.12844
327
11
77
29.727273
0.8
0.688073
0
0
0
0
0.064516
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
1c0784a1811408d86c57da2749a3c18961db6c34
518
py
Python
tagalog/shipper/formatter.py
alphagov/tagalog
96336539214a96bd05d600c77c37205eca5cdb48
[ "MIT" ]
2
2015-03-12T07:33:38.000Z
2015-04-27T13:18:01.000Z
tagalog/shipper/formatter.py
alphagov/tagalog
96336539214a96bd05d600c77c37205eca5cdb48
[ "MIT" ]
null
null
null
tagalog/shipper/formatter.py
alphagov/tagalog
96336539214a96bd05d600c77c37205eca5cdb48
[ "MIT" ]
3
2015-03-12T07:33:41.000Z
2021-04-10T20:56:14.000Z
import json def elasticsearch_bulk_decorate(bulk_index, bulk_type, msg): """ Decorates the msg with elasticsearch bulk format and adds index and message type""" command = json.dumps({'index': {'_index': bulk_index, '_type': bulk_type}}) return '{0}\n{1}\n'.format(command, msg) def format_as_json(msg): ...
34.533333
91
0.745174
76
518
4.789474
0.315789
0.186813
0.107143
0.14011
0.409341
0.230769
0.230769
0
0
0
0
0.004494
0.140927
518
14
92
37
0.813483
0.15444
0
0
0
0
0.060325
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1c0b1a0472dc43e6d4befb8c2978df15f8afada7
416
py
Python
lesson6/1-multipage/multipage.py
lucasca95/harvard_flask_python_course
76ac51ae6f6b5f5e7460c9c9c40d0c1be52779e1
[ "Apache-2.0" ]
null
null
null
lesson6/1-multipage/multipage.py
lucasca95/harvard_flask_python_course
76ac51ae6f6b5f5e7460c9c9c40d0c1be52779e1
[ "Apache-2.0" ]
null
null
null
lesson6/1-multipage/multipage.py
lucasca95/harvard_flask_python_course
76ac51ae6f6b5f5e7460c9c9c40d0c1be52779e1
[ "Apache-2.0" ]
null
null
null
from flask import Flask, render_template app = Flask(__name__) app.config['ENV'] = 'development' app.config['DEBUG'] = True @app.route('/') def first(): return render_template('first.html') @app.route('/second') def second(): return render_template('second.html') @app.route('/third') def third(): retur...
19.809524
41
0.675481
58
416
4.568966
0.448276
0.211321
0.226415
0
0
0
0
0
0
0
0
0.016667
0.134615
416
21
42
19.809524
0.719444
0
0
0
0
0
0.189448
0
0
0
0
0
0
1
0.2
false
0
0.066667
0.2
0.466667
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
1c12a532c6f34fb100a9041908cf405c2c6c4eee
205
py
Python
Chapter 5/5-13.py
Nolazco1/pythonProjects
33938487cb2e4771ea4ff6716703868844d04e52
[ "MIT" ]
null
null
null
Chapter 5/5-13.py
Nolazco1/pythonProjects
33938487cb2e4771ea4ff6716703868844d04e52
[ "MIT" ]
null
null
null
Chapter 5/5-13.py
Nolazco1/pythonProjects
33938487cb2e4771ea4ff6716703868844d04e52
[ "MIT" ]
null
null
null
# Create a global variable. my_value = 10 # The show_value function prints # the value of the global variable. def show_value(): print(my_value) # Call the show_value function show_value()
18.636364
36
0.712195
31
205
4.516129
0.483871
0.257143
0.171429
0.285714
0
0
0
0
0
0
0
0.0125
0.219512
205
10
37
20.5
0.8625
0.580488
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.25
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
1c33763f08e3455be5c1b27f67dfa283532c92fc
81
py
Python
app-engine-by-example/local_constants.py
draescherl/griffith-cloud-plaforms-applications
97f86f0a6cb40e3c66572023d7d7de7b49497b49
[ "MIT" ]
null
null
null
app-engine-by-example/local_constants.py
draescherl/griffith-cloud-plaforms-applications
97f86f0a6cb40e3c66572023d7d7de7b49497b49
[ "MIT" ]
null
null
null
app-engine-by-example/local_constants.py
draescherl/griffith-cloud-plaforms-applications
97f86f0a6cb40e3c66572023d7d7de7b49497b49
[ "MIT" ]
null
null
null
PROJECT_NAME='gae-by-example' PROJECT_STORAGE_BUCKET='gae-by-example.appspot.com'
40.5
51
0.839506
13
81
5
0.692308
0.153846
0.369231
0
0
0
0
0
0
0
0
0
0.012346
81
2
51
40.5
0.8125
0
0
0
0
0
0.487805
0.317073
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1c3d19dd9cb90eb6fc36527ce8f8ba2b73de07a4
2,234
py
Python
gameplay/Item.py
WilliamDASILVA/TheMysteryOfSchweitzer
f81edc2e202bd5009fc96ccfbbfcc40bc135a17a
[ "MIT" ]
null
null
null
gameplay/Item.py
WilliamDASILVA/TheMysteryOfSchweitzer
f81edc2e202bd5009fc96ccfbbfcc40bc135a17a
[ "MIT" ]
null
null
null
gameplay/Item.py
WilliamDASILVA/TheMysteryOfSchweitzer
f81edc2e202bd5009fc96ccfbbfcc40bc135a17a
[ "MIT" ]
null
null
null
from engine.render.image import Image; class Item(): def __init__(self, name = None, description = None, iconPath = None): self.setName(name); self.setDescription(description); self.functionsToCallWhenAction = []; self.icon = None; # icon if iconPath != None: drawable = Image(iconPath); self.ico...
28.278481
70
0.432408
156
2,234
6.166667
0.282051
0.036383
0.049896
0.022869
0.037422
0
0
0
0
0
0
0
0.153984
2,234
79
71
28.278481
0.508995
0.595345
0
0
0
0
0
0
0
0
0
0
0
1
0.32
false
0
0.04
0.12
0.52
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1c3d1b6042a8dc94a843134c38cb9f370cffab76
863
py
Python
DQMServices/Diagnostic/scripts/Database/Python/PopulateDB.py
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
DQMServices/Diagnostic/scripts/Database/Python/PopulateDB.py
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
7
2016-07-17T02:34:54.000Z
2019-08-13T07:58:37.000Z
DQMServices/Diagnostic/scripts/Database/Python/PopulateDB.py
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
from __future__ import print_function import os class PopulateDB: def run(self): os.system("cat "+self.TemplatesDir+"/template_"+self.DetName+"HistoryDQMService_cfg.py | sed -e \"s@RUNNUMBER@"+self.RunNumber+"@g\" -e \"s@FILENAME@"+self.FileName+"@\" -e \"s@TAGNAME@"+self.TagName+"@g\" -e \"s@DATABASE@"+se...
95.888889
366
0.663963
118
863
4.694915
0.322034
0.088448
0.090253
0.126354
0.498195
0.498195
0.498195
0.498195
0.433213
0.433213
0
0.002551
0.091541
863
8
367
107.875
0.704082
0
0
0
0
0
0.327926
0.056779
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1c4f4e5f0010843425da2232dadd7ee9809b41cb
125
py
Python
week1/18.py
kamorozov/coursera_python
706bc1bc46839f8b3debdf293240ad5ce20c9775
[ "Unlicense" ]
2
2019-05-17T13:42:02.000Z
2019-05-18T04:00:35.000Z
week1/18.py
kamorozov/coursera_python
706bc1bc46839f8b3debdf293240ad5ce20c9775
[ "Unlicense" ]
null
null
null
week1/18.py
kamorozov/coursera_python
706bc1bc46839f8b3debdf293240ad5ce20c9775
[ "Unlicense" ]
2
2019-10-03T09:07:44.000Z
2019-12-28T19:17:20.000Z
N = int(input()) h = N // 3600 % 24 min = N % 3600 // 60 sec = N % 60 print(h, '%02d' % (min), '%02d' % (sec), sep=':')
20.833333
50
0.432
21
125
2.571429
0.571429
0.185185
0
0
0
0
0
0
0
0
0
0.2
0.28
125
5
51
25
0.4
0
0
0
0
0
0.075
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1c56d8ed7a2c3a53b36ec480271807b45f74d639
665
py
Python
lib/imports.py
adbmd/explainx
bb8bd78bcb1b6fbf2de368e56de6300de98a413a
[ "MIT" ]
1
2020-09-12T17:05:32.000Z
2020-09-12T17:05:32.000Z
lib/imports.py
adbmd/explainx
bb8bd78bcb1b6fbf2de368e56de6300de98a413a
[ "MIT" ]
null
null
null
lib/imports.py
adbmd/explainx
bb8bd78bcb1b6fbf2de368e56de6300de98a413a
[ "MIT" ]
null
null
null
from jupyter_dash import JupyterDash import dash_bootstrap_components as dbc import dash import dash_core_components as dcc import dash_core_components import dash_html_components as html from dash.dependencies import Input, Output, State import plotly.express as px import plotly.graph_objects as go from plotly.grap...
21.451613
50
0.86015
104
665
5.336538
0.432692
0.144144
0.068468
0.104505
0.144144
0.144144
0.144144
0
0
0
0
0
0.126316
665
30
51
22.166667
0.95525
0
0
0.153846
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
1c6af92ff9f4f19135b8a01f7c0e12b4b584d648
198
py
Python
search/views.py
Machina123/PythonAssignment
c1fa274810887350735c958c55462d236146ef8f
[ "MIT" ]
null
null
null
search/views.py
Machina123/PythonAssignment
c1fa274810887350735c958c55462d236146ef8f
[ "MIT" ]
null
null
null
search/views.py
Machina123/PythonAssignment
c1fa274810887350735c958c55462d236146ef8f
[ "MIT" ]
null
null
null
from django.http import HttpResponseRedirect def szukajka(request): keyword = request.GET['keyword'] url = "http://www.google.pl/search?q=" + keyword return HttpResponseRedirect(url)
22
52
0.722222
23
198
6.217391
0.73913
0
0
0
0
0
0
0
0
0
0
0
0.156566
198
8
53
24.75
0.856287
0
0
0
0
0
0.187817
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1c7c4389fbac54a1f35642cc4c43d9f29b05d2b3
7,501
py
Python
utils/draw.py
SpiritedAwayCN/AIintro-GiveMeSomeCredit
c73288c8eebd6ea7122bf5ab70be23766bc7647b
[ "MIT" ]
1
2022-03-17T07:53:48.000Z
2022-03-17T07:53:48.000Z
utils/draw.py
SpiritedAwayCN/AIintro-GiveMeSomeCredit
c73288c8eebd6ea7122bf5ab70be23766bc7647b
[ "MIT" ]
null
null
null
utils/draw.py
SpiritedAwayCN/AIintro-GiveMeSomeCredit
c73288c8eebd6ea7122bf5ab70be23766bc7647b
[ "MIT" ]
null
null
null
# 画图 import numpy as np import pandas as pd import matplotlib.pyplot as plt import matplotlib.transforms as trs import math import seaborn data = pd.read_csv('cs-training.csv', index_col=0) data.drop_duplicates(inplace=True) data.boxplot(column=['NumberOfTime30-59DaysPastDueNotWorse', 'NumberOfT...
40.545946
105
0.734302
987
7,501
5.527862
0.151976
0.167155
0.193548
0.237537
0.731855
0.713893
0.661107
0.595858
0.562133
0.516312
0
0.052173
0.097987
7,501
184
106
40.766304
0.754212
0.021597
0
0.509804
0
0
0.355847
0.136308
0
0
0
0
0
1
0
false
0
0.039216
0
0.039216
0.006536
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1c95bc7a110bdef5f7be5ad5ff2470324ca6665c
137
py
Python
3.Python/Sharwan27.py
tony21122000/Learn-Coding
11862f3a372069693bd381b1f99063d95d3b2b65
[ "MIT" ]
54
2020-10-01T07:06:36.000Z
2021-10-21T03:24:30.000Z
3.Python/Sharwan27.py
tony21122000/Learn-Coding
11862f3a372069693bd381b1f99063d95d3b2b65
[ "MIT" ]
19
2020-10-01T13:04:55.000Z
2020-10-27T06:10:52.000Z
3.Python/Sharwan27.py
tony21122000/Learn-Coding
11862f3a372069693bd381b1f99063d95d3b2b65
[ "MIT" ]
97
2020-10-01T07:07:17.000Z
2021-10-21T03:25:20.000Z
name, age = "Sharwan27", 16 username = "Sharwan27" print ('Hello!') print("Name: {}\nAge: {}\nUsername: {}".format(name, age, username))
27.4
68
0.642336
16
137
5.5
0.625
0.159091
0
0
0
0
0
0
0
0
0
0.049587
0.116788
137
4
69
34.25
0.677686
0
0
0
0
0
0.40146
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
98be38e418421599ace4fd47ecfe1d14dea982d5
211
py
Python
meiduo_mall/apps/meiduo_admin/serializers/brand.py
Wang-TaoTao/meiduo_admin_project
73b2933021db63530d38089b925fbd700e866e25
[ "MIT" ]
null
null
null
meiduo_mall/apps/meiduo_admin/serializers/brand.py
Wang-TaoTao/meiduo_admin_project
73b2933021db63530d38089b925fbd700e866e25
[ "MIT" ]
4
2020-05-11T20:27:56.000Z
2021-11-02T15:46:08.000Z
meiduo_mall/apps/meiduo_admin/serializers/brand.py
Wang-TaoTao/meiduo_admin_project
73b2933021db63530d38089b925fbd700e866e25
[ "MIT" ]
null
null
null
from rest_framework import serializers from apps.goods.models import Brand # 获取品牌信息 序列化器 class BrandSerializer(serializers.ModelSerializer): class Meta: model = Brand fields = '__all__'
16.230769
51
0.725118
23
211
6.434783
0.782609
0
0
0
0
0
0
0
0
0
0
0
0.218009
211
13
52
16.230769
0.89697
0.052133
0
0
0
0
0.035897
0
0
0
0
0
0
1
0
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
98c58b73258aebad77a3174e940849271f2ae244
22
py
Python
backend/appengine/routes/courses/__init__.py
MarcosVn/turinginformatica
21eba5f105ad052aa7505b6e77ca5871167a9dc2
[ "MIT" ]
null
null
null
backend/appengine/routes/courses/__init__.py
MarcosVn/turinginformatica
21eba5f105ad052aa7505b6e77ca5871167a9dc2
[ "MIT" ]
null
null
null
backend/appengine/routes/courses/__init__.py
MarcosVn/turinginformatica
21eba5f105ad052aa7505b6e77ca5871167a9dc2
[ "MIT" ]
null
null
null
__author__ = 'Marcos'
11
21
0.727273
2
22
6
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.631579
0
0
0
0
0
0.272727
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
98e9f3d489e4c0f3345aad6753552939890a2a3b
1,331
py
Python
directory_api_client/supplier.py
uktrade/directory-api-client
a7be7f4a9fd43424c54274511d4dbb8aabfe217f
[ "MIT" ]
null
null
null
directory_api_client/supplier.py
uktrade/directory-api-client
a7be7f4a9fd43424c54274511d4dbb8aabfe217f
[ "MIT" ]
102
2016-10-14T10:30:47.000Z
2021-11-19T21:36:01.000Z
directory_api_client/supplier.py
uktrade/directory-api-client
a7be7f4a9fd43424c54274511d4dbb8aabfe217f
[ "MIT" ]
2
2017-08-30T08:11:34.000Z
2021-05-15T14:35:50.000Z
from directory_client_core.authentication import SessionSSOAuthenticator from directory_api_client.base import AbstractAPIClient url_unsubscribe = '/supplier/unsubscribe/' url_supplier_update = '/supplier/' url_csv_dump = '/supplier/csv-dump/' url_disconnect_from_company = '/supplier/company/disconnect/' url_supplier...
39.147059
111
0.785875
175
1,331
5.634286
0.257143
0.066937
0.073022
0.048682
0.283976
0.264706
0.209939
0.073022
0.073022
0
0
0
0.117956
1,331
33
112
40.333333
0.839864
0
0
0
0
0
0.095417
0.055597
0
0
0
0
0
1
0.272727
false
0
0.090909
0.272727
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
98ed04fd7b2655ab48fa1b26e27ae02f9bc69be9
334
py
Python
venv/Lib/site-packages/tzlocal/__init__.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
137
2015-01-10T18:06:55.000Z
2022-03-18T06:35:35.000Z
venv/Lib/site-packages/tzlocal/__init__.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
96
2015-01-12T21:51:08.000Z
2022-03-19T14:53:18.000Z
venv/Lib/site-packages/tzlocal/__init__.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
56
2015-01-12T20:08:15.000Z
2022-03-18T07:36:03.000Z
import sys if sys.platform == "win32": from tzlocal.win32 import ( get_localzone, get_localzone_name, reload_localzone, ) # pragma: no cover else: from tzlocal.unix import get_localzone, get_localzone_name, reload_localzone __all__ = ["get_localzone", "get_localzone_name", "reloa...
23.857143
80
0.703593
40
334
5.475
0.425
0.328767
0.205479
0.328767
0.643836
0.643836
0.643836
0.447489
0
0
0
0.015152
0.209581
334
13
81
25.692308
0.814394
0.047904
0
0
0
0
0.164557
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
98f843d83f07f07edbed93b0f40b5244692b8a5b
340
py
Python
src/server/renderer/__init__.py
randy-ang/svelte-flask-template
7c6b1bcbb522df3348d27668a95a4df9ea9b2440
[ "MIT" ]
null
null
null
src/server/renderer/__init__.py
randy-ang/svelte-flask-template
7c6b1bcbb522df3348d27668a95a4df9ea9b2440
[ "MIT" ]
null
null
null
src/server/renderer/__init__.py
randy-ang/svelte-flask-template
7c6b1bcbb522df3348d27668a95a4df9ea9b2440
[ "MIT" ]
null
null
null
import json import subprocess from pathlib import Path def render_ssr(url): props = json.dumps({'url': url}) p = subprocess.Popen(['node', Path(__file__).parent / "svelte_ssr.js"], stdout=subprocess.PIPE, stdin=subprocess.PIPE) stdout_data = p.communicate(input=str.encode(props))[0] return json.loads(s...
37.777778
122
0.726471
48
340
4.979167
0.645833
0.117155
0
0
0
0
0
0
0
0
0
0.003367
0.126471
340
9
123
37.777778
0.801347
0
0
0
0
0
0.058651
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
98ffd1d654fad32d69ecbf06430f8297abd5aec6
99
py
Python
code/python_to_arduino/serial_receive_sensor.py
var-mar/workshop_topconf_introduction_arduino
2228d85103a00d36c1f0917c1283e1b7589e5637
[ "MIT" ]
null
null
null
code/python_to_arduino/serial_receive_sensor.py
var-mar/workshop_topconf_introduction_arduino
2228d85103a00d36c1f0917c1283e1b7589e5637
[ "MIT" ]
null
null
null
code/python_to_arduino/serial_receive_sensor.py
var-mar/workshop_topconf_introduction_arduino
2228d85103a00d36c1f0917c1283e1b7589e5637
[ "MIT" ]
null
null
null
import serial ser = serial.Serial('/dev/tty.usbmodem1411', 9600) while True: print ser.readline()
19.8
50
0.747475
14
99
5.285714
0.785714
0
0
0
0
0
0
0
0
0
0
0.090909
0.111111
99
5
51
19.8
0.75
0
0
0
0
0
0.21
0.21
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
c705acbecad93b4a0acc87e863ee69506dfc92c1
4,464
py
Python
test_smoke.py
Mikhail-QA/HS
8ddbc09a0d1493128f3af6b8078c295609908dd7
[ "Apache-2.0" ]
null
null
null
test_smoke.py
Mikhail-QA/HS
8ddbc09a0d1493128f3af6b8078c295609908dd7
[ "Apache-2.0" ]
null
null
null
test_smoke.py
Mikhail-QA/HS
8ddbc09a0d1493128f3af6b8078c295609908dd7
[ "Apache-2.0" ]
null
null
null
import unittest from Smoke.test_000_удаление_П_в_админке import RemovingUsersInAdminPanel from Smoke.test_001_регистрация_покупка_1_класс_Cамостоятельный_1месяц_выкл_АП import CreateAccountAndBuyLearningOneMonth from Smoke.test_002_регистрация_покупка_7_класс_Сучителем_3месяца_с_вкл_АП_и_ПН_без_АП import CreateAccount...
67.636364
139
0.918683
461
4,464
8.535792
0.321041
0.066328
0.095807
0.213723
0.021855
0
0
0
0
0
0
0.022284
0.034946
4,464
65
140
68.676923
0.891133
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.066667
0.5
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
c709f3f03b5139815f3c9856ba10003bea265b6c
759
py
Python
python/src/vmaf/svmutil.py
aachenmax/vmaf
e65143f36ac9324a1242614bdd6256861d4f46f6
[ "BSD-2-Clause-Patent" ]
2,874
2016-06-06T16:11:37.000Z
2022-03-31T10:10:22.000Z
python/src/vmaf/svmutil.py
aachenmax/vmaf
e65143f36ac9324a1242614bdd6256861d4f46f6
[ "BSD-2-Clause-Patent" ]
619
2016-06-07T19:30:53.000Z
2022-03-31T16:36:05.000Z
python/src/vmaf/svmutil.py
aachenmax/vmaf
e65143f36ac9324a1242614bdd6256861d4f46f6
[ "BSD-2-Clause-Patent" ]
723
2016-06-05T02:44:33.000Z
2022-03-31T03:29:12.000Z
# TODO: dependency on src/libsvm/svmutil needs to be properly done, this is a temporary workaround wrapper from __future__ import absolute_import import sys from vmaf.config import VmafConfig # This will work only when running with a checked out vmaf source, but not via pip install libsvm_path = VmafConfig.root_pat...
30.36
110
0.736495
117
759
4.683761
0.632479
0.072993
0.043796
0
0
0
0
0
0
0
0
0.001629
0.191041
759
24
111
31.625
0.890879
0.479578
0
0
0
0
0.141388
0
0
0
0
0.041667
0
1
0
false
0
0.545455
0
0.545455
0.090909
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
0
0
0
1
0
1
0
0
3
c70effa3ecf8678e75932441095a522ffa286064
4,209
py
Python
pm/models/situ_activity_outside.py
aosojnik/pipeline-manager-features-models
e5232f1c1b2073253a1c505dc9fff0d3d839dd6c
[ "MIT" ]
null
null
null
pm/models/situ_activity_outside.py
aosojnik/pipeline-manager-features-models
e5232f1c1b2073253a1c505dc9fff0d3d839dd6c
[ "MIT" ]
null
null
null
pm/models/situ_activity_outside.py
aosojnik/pipeline-manager-features-models
e5232f1c1b2073253a1c505dc9fff0d3d839dd6c
[ "MIT" ]
null
null
null
################################################################################## ##########--this is an autogenerated python model definition for proDEX--######### ##--original file: situ_activity_outside_simplified4levels.dxi --## ################################################################################## fr...
67.887097
119
0.796626
505
4,209
6.128713
0.083168
0.199031
0.180937
0.142811
0.758966
0.710501
0.664297
0.567367
0.495961
0.453312
0
0.006143
0.033024
4,209
61
120
69
0.7543
0.029936
0
0
1
0
0.19846
0.026701
0
0
0
0
0
1
0
false
0
0.020833
0
0.020833
0
0
0
0
null
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c71642225d64b90f5438ed1e42a22b36e7318492
1,013
py
Python
jaxkern/dist.py
J-Garcke-SCAI/jaxkern
9de7ebf52fe2d186d316350a6692b2ecc0885adc
[ "MIT" ]
7
2020-09-28T07:39:16.000Z
2022-03-11T14:09:41.000Z
jaxkern/dist.py
J-Garcke-SCAI/jaxkern
9de7ebf52fe2d186d316350a6692b2ecc0885adc
[ "MIT" ]
5
2020-09-25T01:25:57.000Z
2020-10-09T16:15:49.000Z
jaxkern/dist.py
J-Garcke-SCAI/jaxkern
9de7ebf52fe2d186d316350a6692b2ecc0885adc
[ "MIT" ]
2
2021-05-25T21:59:58.000Z
2022-01-11T07:23:32.000Z
import functools from typing import Callable import jax import jax.numpy as np # @jax.jit def sqeuclidean_distance(x: np.array, y: np.array) -> float: return np.sum((x - y) ** 2) # @jax.jit def euclidean_distance(x: np.array, y: np.array) -> float: return np.sqrt(sqeuclidean_distance(x, y)) # @jax.jit de...
24.119048
72
0.673248
150
1,013
4.5
0.333333
0.062222
0.053333
0.071111
0.259259
0.259259
0.259259
0.259259
0.173333
0.173333
0
0.007194
0.176703
1,013
41
73
24.707317
0.802158
0.312932
0
0
0
0
0
0
0
0
0
0
0
1
0.357143
false
0
0.285714
0.214286
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c71d50291bc11b9707e87cc43cd188416d0b62ec
44
py
Python
chat/__init__.py
maverick-labs-pune/wikirumours
51651aae651fd88468b54d08abb8ec28a93e65fa
[ "MIT" ]
21
2020-08-24T13:27:03.000Z
2021-10-15T09:17:46.000Z
chat/__init__.py
maverick-labs-pune/wikirumours
51651aae651fd88468b54d08abb8ec28a93e65fa
[ "MIT" ]
29
2019-03-11T19:04:50.000Z
2019-05-14T17:24:40.000Z
chat/__init__.py
maverick-labs-pune/wikirumours
51651aae651fd88468b54d08abb8ec28a93e65fa
[ "MIT" ]
5
2020-08-25T16:34:51.000Z
2021-02-19T04:48:10.000Z
default_app_config = 'chat.apps.ChatConfig'
22
43
0.818182
6
44
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.068182
44
1
44
44
0.829268
0
0
0
0
0
0.454545
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c71f2fea97725da929547a744aefcdc9da9f1d7f
163
py
Python
main/utility/translator.py
farhannysf/ocr-translate
8d0ed9905817bd42f93167f1fee715e33722ad84
[ "MIT" ]
1
2022-03-10T13:20:14.000Z
2022-03-10T13:20:14.000Z
main/utility/translator.py
farhannysf/ocr-translate
8d0ed9905817bd42f93167f1fee715e33722ad84
[ "MIT" ]
null
null
null
main/utility/translator.py
farhannysf/ocr-translate
8d0ed9905817bd42f93167f1fee715e33722ad84
[ "MIT" ]
null
null
null
from googletrans import Translator translator = Translator() async def translate(text): translation = translator.translate(text) return translation.text
20.375
44
0.779141
17
163
7.470588
0.588235
0.314961
0
0
0
0
0
0
0
0
0
0
0.153374
163
8
45
20.375
0.92029
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c758678ae5808c9b900917d8ff51e02ae89c38fb
121
py
Python
Python/Py4e/tests/task3.py
Cryptoniac/Challenge
fcb2f685c21bd84c1ef0924e5f0026bd2961c772
[ "MIT" ]
null
null
null
Python/Py4e/tests/task3.py
Cryptoniac/Challenge
fcb2f685c21bd84c1ef0924e5f0026bd2961c772
[ "MIT" ]
null
null
null
Python/Py4e/tests/task3.py
Cryptoniac/Challenge
fcb2f685c21bd84c1ef0924e5f0026bd2961c772
[ "MIT" ]
null
null
null
# Calculate paycheck xh = input("Enter Hors: ") xr = input("Enter Rate: ") xp = float(xh) * float(xr) print("Pay:", xp)
17.285714
26
0.619835
18
121
4.166667
0.666667
0.266667
0
0
0
0
0
0
0
0
0
0
0.173554
121
6
27
20.166667
0.75
0.14876
0
0
0
0
0.277228
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c773f08ba658fbdb187aa34c15d235e5bc84dda3
285
py
Python
VirusTotalAVBot/__main__.py
kenanismayilov335/VirusTotal-File-Scan-Bot
369e8bba10ce40cf9e9bdaeba018496e8509cd8d
[ "MIT" ]
null
null
null
VirusTotalAVBot/__main__.py
kenanismayilov335/VirusTotal-File-Scan-Bot
369e8bba10ce40cf9e9bdaeba018496e8509cd8d
[ "MIT" ]
null
null
null
VirusTotalAVBot/__main__.py
kenanismayilov335/VirusTotal-File-Scan-Bot
369e8bba10ce40cf9e9bdaeba018496e8509cd8d
[ "MIT" ]
6
2020-11-01T17:46:27.000Z
2022-03-01T14:34:17.000Z
import logging from .virustotalavbot import VirusTotalAVBot if __name__ == '__main__': logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', datefmt='%m/%d/%Y %H:%M:%S') VirusTotalAVBot().run()
31.666667
107
0.607018
32
285
5.15625
0.65625
0
0
0
0
0
0
0
0
0
0
0
0.221053
285
8
108
35.625
0.743243
0
0
0
0
0
0.277978
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
c7740968567618aabe95f0b6b906fa0d2aed1650
191
py
Python
apps/opsdocs/router.py
ykyk1229/TurtleDove
074ed03396d603a920bc382ee916fc0f3adab6ea
[ "MIT" ]
1
2019-09-02T01:17:34.000Z
2019-09-02T01:17:34.000Z
apps/opsdocs/router.py
ykyk1229/TurtleDove
074ed03396d603a920bc382ee916fc0f3adab6ea
[ "MIT" ]
null
null
null
apps/opsdocs/router.py
ykyk1229/TurtleDove
074ed03396d603a920bc382ee916fc0f3adab6ea
[ "MIT" ]
null
null
null
from rest_framework.routers import DefaultRouter from .views import OpsdocsViewset docs_router = DefaultRouter() docs_router.register(r'opsDocs', OpsdocsViewset, base_name="opsDocs")
27.285714
70
0.806283
22
191
6.818182
0.681818
0.133333
0
0
0
0
0
0
0
0
0
0
0.115183
191
6
71
31.833333
0.887574
0
0
0
0
0
0.075676
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c78d7213c6489b3a1e9b352abdf363e0d771a865
2,392
py
Python
src/configuration.py
ashlander/ScrapDic
ab060a378eee25cc67da9e0f4747010f924902ca
[ "MIT" ]
null
null
null
src/configuration.py
ashlander/ScrapDic
ab060a378eee25cc67da9e0f4747010f924902ca
[ "MIT" ]
null
null
null
src/configuration.py
ashlander/ScrapDic
ab060a378eee25cc67da9e0f4747010f924902ca
[ "MIT" ]
null
null
null
import ConfigParser class Inputs: versions = ["scrapbook15"] default = "" def __init__(self): self.default = self.versions[0] class Outputs: versions = ["freemind09"] default = "" def __init__(self): self.default = self.versions[0] class Configuration: __config = Config...
29.9
99
0.661789
230
2,392
6.426087
0.247826
0.074425
0.128552
0.069012
0.351827
0.351827
0.330176
0.285521
0.146143
0.146143
0
0.003286
0.236622
2,392
79
100
30.278481
0.806134
0.061037
0
0.132075
0
0
0.050893
0
0
0
0
0
0
1
0.264151
false
0
0.018868
0.132075
0.698113
0.075472
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c795c7a7e96dd3b37ae86f2ce46ff50308c836b4
138
py
Python
e01.py
nayunhwan/SMaSH_Python
6e80520f43f6e014be2abc40d6f51f76338e3ff8
[ "MIT" ]
null
null
null
e01.py
nayunhwan/SMaSH_Python
6e80520f43f6e014be2abc40d6f51f76338e3ff8
[ "MIT" ]
null
null
null
e01.py
nayunhwan/SMaSH_Python
6e80520f43f6e014be2abc40d6f51f76338e3ff8
[ "MIT" ]
null
null
null
#coding: utf-8 length = int(input("정사각형의 크기를 입력하시오. ")) for i in range(length): for j in range(length): print("#",end=" ") print("")
17.25
40
0.608696
22
138
3.818182
0.727273
0.166667
0.309524
0
0
0
0
0
0
0
0
0.008772
0.173913
138
8
41
17.25
0.72807
0.094203
0
0
0
0
0.152
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c7aa3ff203b628e62beb63221eb2a4d00778cb54
191
py
Python
resultofpaper/en2zh/process.py
ZNLP/ATSum
02e92489ebfa4652a4f3354c578f3a64c34ff64b
[ "BSD-3-Clause" ]
73
2020-04-24T04:02:17.000Z
2022-02-19T12:05:34.000Z
resultofpaper/en2zh/process.py
ZNLP/ATSum
02e92489ebfa4652a4f3354c578f3a64c34ff64b
[ "BSD-3-Clause" ]
4
2020-06-20T10:14:49.000Z
2021-10-09T08:10:13.000Z
resultofpaper/en2zh/process.py
ZNLP/ATSum
02e92489ebfa4652a4f3354c578f3a64c34ff64b
[ "BSD-3-Clause" ]
4
2021-02-20T09:46:47.000Z
2021-11-22T13:06:43.000Z
import sys with open(sys.argv[1], 'r') as file, open(sys.argv[1] + '.new', 'w') as file1: for line in file: line = line.strip() file1.write(''.join(line.split()) + '\n')
27.285714
78
0.549738
31
191
3.387097
0.645161
0.133333
0.209524
0.228571
0
0
0
0
0
0
0
0.027211
0.230366
191
6
79
31.833333
0.687075
0
0
0
0
0
0.041885
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c7b1daadef82a03f3ea344975f3f4d03288b162b
4,031
py
Python
utils/matlab_call_hevc_tools/unit_test_parse_all_saved_info.py
roman-vygon/pyFAST
fda27d6e027f9b8607d97209a4474fd08363e3b0
[ "MIT" ]
null
null
null
utils/matlab_call_hevc_tools/unit_test_parse_all_saved_info.py
roman-vygon/pyFAST
fda27d6e027f9b8607d97209a4474fd08363e3b0
[ "MIT" ]
1
2020-06-30T16:13:36.000Z
2020-06-30T16:13:36.000Z
utils/matlab_call_hevc_tools/unit_test_parse_all_saved_info.py
roman-vygon/pyFAST
fda27d6e027f9b8607d97209a4474fd08363e3b0
[ "MIT" ]
null
null
null
# Generated with SMOP 0.41 from libsmop import * # unit_test_parse_all_saved_info.m # This script tests the pipeline to call the encoder, decoder of HEVC, and # parse the dumped information to MATLAB. clc clear close_('all') # ------------------------------------------------------------------...
44.296703
125
0.574795
578
4,031
3.588235
0.231834
0.108004
0.175506
0.229508
0.507232
0.490839
0.490839
0.415622
0.305689
0.189971
0
0.022073
0.112131
4,031
91
126
44.296703
0.557418
0.498388
0
0.125
1
0
0.200506
0.159494
0
0
0
0
0
0
null
null
0
0.025
null
null
0.25
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
c7bbdf22e15f3e45ff3847a5f46844b585b98957
602
py
Python
genie/__init__.py
karawoo/Genie
d39451655ec3632df6002c1d73b17dacba2a8720
[ "MIT" ]
null
null
null
genie/__init__.py
karawoo/Genie
d39451655ec3632df6002c1d73b17dacba2a8720
[ "MIT" ]
null
null
null
genie/__init__.py
karawoo/Genie
d39451655ec3632df6002c1d73b17dacba2a8720
[ "MIT" ]
null
null
null
# Import logging last to not take in synapseclient logging import logging from . import bed from . import vcf from . import bedSP from . import workflow from . import clinical from . import seg from . import cbs from . import maf from . import mafSP from . import clinicalSP from . import cna from . import fusions from...
22.296296
58
0.787375
78
602
5.923077
0.435897
0.38961
0
0
0
0
0
0
0
0
0
0
0.16113
602
26
59
23.153846
0.914851
0.182724
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.9
0
0.9
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
c7c95154c37bbd7daa7bafaf9d1e8ed54a7382d8
222
py
Python
ddtrace/ext/mongo.py
mykytarudenko/new-project
e06a912382239739dd3f93b54d545b9506102372
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
ddtrace/ext/mongo.py
mykytarudenko/new-project
e06a912382239739dd3f93b54d545b9506102372
[ "Apache-2.0", "BSD-3-Clause" ]
1
2021-01-27T04:53:24.000Z
2021-01-27T04:53:24.000Z
ddtrace/ext/mongo.py
mykytarudenko/new-project
e06a912382239739dd3f93b54d545b9506102372
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
from . import SpanTypes # [TODO] Deprecated, remove when we remove AppTypes TYPE = SpanTypes.MONGODB SERVICE = "mongodb" COLLECTION = "mongodb.collection" DB = "mongodb.db" ROWS = "mongodb.rows" QUERY = "mongodb.query"
18.5
51
0.734234
27
222
6.037037
0.592593
0.208589
0
0
0
0
0
0
0
0
0
0
0.148649
222
11
52
20.181818
0.862434
0.220721
0
0
0
0
0.350877
0
0
0
0
0.090909
0
1
0
false
0
0.142857
0
0.142857
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
1
0
0
0
0
0
0
0
0
0
0
3
c7cda85c4b3fb494340a52cc621181737592857a
584
py
Python
Exercicios/triangulo_retangulo.py
eduardodarocha/Introducao_Ciencia_da_Computacao_com_Python_Parte_2_Coursera
b5b9198e16b4b67894b85766eb521ae96010accf
[ "MIT" ]
1
2020-08-28T20:29:23.000Z
2020-08-28T20:29:23.000Z
Exercicios/triangulo_retangulo.py
eduardodarocha/Introducao_Ciencia_da_Computacao_com_Python_Parte_2_Coursera
b5b9198e16b4b67894b85766eb521ae96010accf
[ "MIT" ]
null
null
null
Exercicios/triangulo_retangulo.py
eduardodarocha/Introducao_Ciencia_da_Computacao_com_Python_Parte_2_Coursera
b5b9198e16b4b67894b85766eb521ae96010accf
[ "MIT" ]
null
null
null
'''Escreva, na classe Triangulo, o método retangulo() que devolve True se o triângulo for retângulo, e False caso contrário.''' from math import pow class Triangulo: def __init__(self, a, b, c): self.a = a self.b = b self.c = c def perimetro(self): return self.a + self...
30.736842
158
0.563356
97
584
3.350515
0.360825
0.193846
0.147692
0.083077
0.258462
0.258462
0.255385
0.224615
0
0
0
0.021845
0.294521
584
18
159
32.444444
0.76699
0.208904
0
0
0
0
0
0
0
0
0
0.055556
0
1
0.230769
false
0
0.076923
0.076923
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
c7e8ca74c179fca6e20964b60c14a6f5f4d07472
2,003
py
Python
pyspedas/polar/tests/tests.py
ergsc-devel/pyspedas
43d985cbcd23c54205453b06e08f8e51d29ab435
[ "MIT" ]
75
2019-02-22T12:59:33.000Z
2022-02-26T15:33:20.000Z
pyspedas/polar/tests/tests.py
ergsc-devel/pyspedas
43d985cbcd23c54205453b06e08f8e51d29ab435
[ "MIT" ]
40
2019-07-02T07:46:34.000Z
2022-02-23T21:48:50.000Z
pyspedas/polar/tests/tests.py
ergsc-devel/pyspedas
43d985cbcd23c54205453b06e08f8e51d29ab435
[ "MIT" ]
43
2019-02-22T13:03:41.000Z
2022-01-24T19:26:59.000Z
import os import unittest from pyspedas.utilities.data_exists import data_exists import pyspedas class LoadTestCases(unittest.TestCase): def test_downloadonly(self): files = pyspedas.polar.efi(downloadonly=True) self.assertTrue(os.path.exists(files[0])) def test_load_mfe_data(self): ...
32.306452
97
0.687968
264
2,003
4.890152
0.257576
0.131681
0.20914
0.278854
0.130906
0
0
0
0
0
0
0.011743
0.192212
2,003
62
98
32.306452
0.786156
0
0
0
0
0
0.07339
0
0
0
0
0
0.340426
1
0.255319
false
0
0.085106
0
0.361702
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
1bebb369f8b02285c0d9ec5dc0675413dc8f57e4
472
py
Python
Webapp/module_locator.py
akbarman8/KSCrash
1f3b36de8ad25a9f70ff55c052a241e9317034b8
[ "MIT" ]
3,369
2015-01-03T03:42:31.000Z
2022-03-31T09:31:08.000Z
Webapp/module_locator.py
akbarman8/KSCrash
1f3b36de8ad25a9f70ff55c052a241e9317034b8
[ "MIT" ]
327
2015-02-05T18:28:16.000Z
2022-03-10T11:36:26.000Z
Webapp/module_locator.py
akbarman8/KSCrash
1f3b36de8ad25a9f70ff55c052a241e9317034b8
[ "MIT" ]
622
2015-01-08T06:57:37.000Z
2022-03-29T11:29:09.000Z
# from http://stackoverflow.com/questions/2632199/how-do-i-get-the-path-of-the-current-executed-file-in-python import os import sys def we_are_frozen(): # All of the modules are built-in to the interpreter, e.g., by py2exe return hasattr(sys, "frozen") def module_path(): encoding = sys.getfilesystemencod...
31.466667
110
0.728814
70
472
4.785714
0.614286
0.029851
0.065672
0.113433
0.155224
0
0
0
0
0
0
0.019851
0.146186
472
14
111
33.714286
0.811414
0.372881
0
0
0
0
0.020478
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4013cca63c030ea7e59e1b903d04997bce201920
924
py
Python
src/axiom/test/test_pysqlite2.py
winjer/squeal
20401986e0d1698776f5b482b28e14c57b11833c
[ "Apache-2.0" ]
2
2015-01-30T10:22:12.000Z
2015-11-05T15:37:23.000Z
src/axiom/test/test_pysqlite2.py
winjer/squeal
20401986e0d1698776f5b482b28e14c57b11833c
[ "Apache-2.0" ]
null
null
null
src/axiom/test/test_pysqlite2.py
winjer/squeal
20401986e0d1698776f5b482b28e14c57b11833c
[ "Apache-2.0" ]
null
null
null
""" Test cases for PySQLite2-specific parts of the backend. """ from pysqlite2.dbapi2 import OperationalError from twisted.trial.unittest import TestCase from axiom._pysqlite2 import Connection from axiom.test.cursortest import ConnectionTestCaseMixin, StubConnection class PySQLite2StubConnection(StubConnection): ...
27.176471
73
0.744589
84
924
8.178571
0.547619
0.017467
0.026201
0
0
0
0
0
0
0
0
0.007833
0.170996
924
33
74
28
0.889034
0.123377
0
0
0
0
0.033376
0
0
0
0
0
0
1
0.266667
false
0
0.266667
0.133333
0.933333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4018448568c44187f38b37d607603bd91e90cd6d
300
py
Python
twontw/models/users_watched_url.py
arasumran/TEONTE
4ca6cf5752c9fa710c56fc7268fb38ac9ccbb0b7
[ "MIT" ]
null
null
null
twontw/models/users_watched_url.py
arasumran/TEONTE
4ca6cf5752c9fa710c56fc7268fb38ac9ccbb0b7
[ "MIT" ]
3
2021-03-31T18:55:26.000Z
2021-12-13T19:51:46.000Z
twontw/models/users_watched_url.py
arasumran/TEONTE
4ca6cf5752c9fa710c56fc7268fb38ac9ccbb0b7
[ "MIT" ]
null
null
null
from twontw.utils.mixins import * class UsersWatchedUrlModel(TimeStampMixin): user_id = models.IntegerField() url_id = models.IntegerField() class Meta: db_table = 'users_watched_url' verbose_name = 'users_watched_url' verbose_name_plural = 'user_watched_urls'
25
49
0.713333
34
300
5.941176
0.647059
0.079208
0.19802
0.217822
0.257426
0
0
0
0
0
0
0
0.206667
300
11
50
27.272727
0.84874
0
0
0
0
0
0.17
0
0
0
0
0
0
1
0
false
0
0.125
0
0.625
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
403e970c0c52e891a0e0d24acfa6028c3cd18c6b
914
py
Python
venv/lib/python3.6/site-packages/csvimport/tests/views.py
odenyirechristopher/instagramapp
abd3d125f49f4a7a65c95d902024f59e60bcfc65
[ "Unlicense" ]
2
2021-04-09T14:04:41.000Z
2021-04-29T07:50:58.000Z
venv/lib/python3.6/site-packages/csvimport/tests/views.py
odenyirechristopher/instagramapp
abd3d125f49f4a7a65c95d902024f59e60bcfc65
[ "Unlicense" ]
5
2020-06-02T16:10:56.000Z
2022-01-13T02:47:34.000Z
venv/lib/python3.6/site-packages/csvimport/tests/views.py
odenyirechristopher/instagramapp
abd3d125f49f4a7a65c95d902024f59e60bcfc65
[ "Unlicense" ]
1
2020-05-31T20:23:38.000Z
2020-05-31T20:23:38.000Z
from django.http import HttpResponse def index(request, template="README.txt", **kwargs): return HttpResponse( """<html><body><h1>django-csvimport Test app</h1> <p>You have installed the test django-csvimport application. Click on the <a href="/admin/">admin</a> ...
45.7
104
0.547046
111
914
4.504505
0.558559
0.016
0.032
0
0
0
0
0
0
0
0
0.003356
0.347921
914
19
105
48.105263
0.83557
0
0
0
0
0
0.075758
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4049427419a3ee441debf6d567cf1d265a0cb4b3
120
py
Python
libalgopy/common/enums/insert_position.py
PotapenkoOleg/libalgopy
ac625c0f874918c1967218c302c6fcb200db0271
[ "MIT" ]
null
null
null
libalgopy/common/enums/insert_position.py
PotapenkoOleg/libalgopy
ac625c0f874918c1967218c302c6fcb200db0271
[ "MIT" ]
null
null
null
libalgopy/common/enums/insert_position.py
PotapenkoOleg/libalgopy
ac625c0f874918c1967218c302c6fcb200db0271
[ "MIT" ]
null
null
null
from enum import Enum class InsertPosition(Enum): BEGINNING = 1 END = 2 if __name__ == '__main__': pass
10.909091
27
0.641667
15
120
4.6
0.866667
0
0
0
0
0
0
0
0
0
0
0.022989
0.275
120
10
28
12
0.770115
0
0
0
0
0
0.066667
0
0
0
0
0
0
1
0
false
0.166667
0.166667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
404d39d7f5898c97b6872f94a4d2bbe2b37390c8
174
py
Python
quest/apps.py
pincoin/thai-online-judge
454c129541783a67b33113851318b808c722de9e
[ "MIT" ]
null
null
null
quest/apps.py
pincoin/thai-online-judge
454c129541783a67b33113851318b808c722de9e
[ "MIT" ]
5
2020-06-05T22:01:14.000Z
2021-06-09T18:10:50.000Z
quest/apps.py
pincoin/pincoin-online-judge
454c129541783a67b33113851318b808c722de9e
[ "MIT" ]
null
null
null
from django.apps import AppConfig from django.utils.translation import gettext_lazy as _ class QuestConfig(AppConfig): name = 'quest' verbose_name = _('Quest App')
21.75
54
0.752874
22
174
5.772727
0.727273
0.15748
0
0
0
0
0
0
0
0
0
0
0.166667
174
7
55
24.857143
0.875862
0
0
0
0
0
0.08046
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
40504189ef80636552202394884faa606f69121a
170
py
Python
pythonDemo/pythonapi.py
JGX020/python-hadoop-web-restful-api
7a9b24f69725fa163787397697fb0c0823f6f81e
[ "Apache-2.0" ]
1
2017-02-01T14:39:34.000Z
2017-02-01T14:39:34.000Z
pythonDemo/pythonapi.py
JGX020/python-hadoop-web-restful-api
7a9b24f69725fa163787397697fb0c0823f6f81e
[ "Apache-2.0" ]
null
null
null
pythonDemo/pythonapi.py
JGX020/python-hadoop-web-restful-api
7a9b24f69725fa163787397697fb0c0823f6f81e
[ "Apache-2.0" ]
null
null
null
import requests headers={'content-type':'application/json'} r=requests.get("http://119.29.0.61:8000/ls",auth=("admin","TvvRvHkyr9b6ls1I"),headers=headers) print r.text
42.5
95
0.741176
25
170
5.04
0.84
0
0
0
0
0
0
0
0
0
0
0.092593
0.047059
170
4
96
42.5
0.685185
0
0
0
0
0
0.446429
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
4067e934b01b8c18f7cbc7d8d24b60f0ee85d33c
241
py
Python
pyffs/bin/pyffs_generate.py
rominf/pyffs
6c805fbfd7771727138b169b32484b53c0b0fad1
[ "MIT" ]
21
2018-07-17T13:21:11.000Z
2022-03-07T03:00:37.000Z
pyffs/bin/pyffs_generate.py
rominf/pyffs
6c805fbfd7771727138b169b32484b53c0b0fad1
[ "MIT" ]
10
2016-09-23T20:30:18.000Z
2021-03-07T12:56:56.000Z
pyffs/bin/pyffs_generate.py
antoinewdg/pyffs
6ac2b6cac67422cbfd34ad0896d6faf35be9ccb9
[ "MIT" ]
3
2018-08-21T12:08:36.000Z
2020-11-12T19:32:54.000Z
import click from pyffs.automaton_management import generate_automaton_to_file @click.command() @click.argument('tolerance', type=int) def main(tolerance): generate_automaton_to_file(tolerance) if __name__ == "__main__": main()
17.214286
65
0.771784
30
241
5.7
0.6
0.19883
0.222222
0.269006
0
0
0
0
0
0
0
0
0.124481
241
13
66
18.538462
0.810427
0
0
0
1
0
0.070539
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
406855adf4b73bd5fbd093f2840d66541741f6d6
159
py
Python
main_test.py
Kylin824/federated-learning
479a114712908fee5a9e06da3afb23a8469e44b1
[ "MIT" ]
null
null
null
main_test.py
Kylin824/federated-learning
479a114712908fee5a9e06da3afb23a8469e44b1
[ "MIT" ]
null
null
null
main_test.py
Kylin824/federated-learning
479a114712908fee5a9e06da3afb23a8469e44b1
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd chosen_list = np.loadtxt('./simulation/valid_list_random.txt') a = chosen_list[0] idx = a[np.where(a != -1)] print(idx)
22.714286
62
0.72327
29
159
3.827586
0.655172
0.18018
0
0
0
0
0
0
0
0
0
0.014388
0.125786
159
7
63
22.714286
0.784173
0
0
0
0
0
0.2125
0.2125
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
406d22cf33e0366806b89acdf3bf0a67be2a7833
1,413
py
Python
geonode/geonode/catalogue/backends/base.py
ttungbmt/BecaGIS_GeoPortal
6c05f9fc020ec4ccf600ba2503a06c2231443920
[ "MIT" ]
null
null
null
geonode/geonode/catalogue/backends/base.py
ttungbmt/BecaGIS_GeoPortal
6c05f9fc020ec4ccf600ba2503a06c2231443920
[ "MIT" ]
null
null
null
geonode/geonode/catalogue/backends/base.py
ttungbmt/BecaGIS_GeoPortal
6c05f9fc020ec4ccf600ba2503a06c2231443920
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ######################################################################### # # Copyright (C) 2016 OSGeo # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 ...
35.325
73
0.630573
170
1,413
5.217647
0.558824
0.054115
0.076663
0.162345
0.291995
0.173619
0.110485
0
0
0
0
0.005231
0.188252
1,413
39
74
36.230769
0.768091
0.578202
0
0.444444
0
0
0
0
0
0
0
0
0
1
0.444444
false
0
0
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
4077e8967e00e9270ac29ddb55dfd27d043bab86
6,923
py
Python
tests/core/consensus/test_clique_utils.py
ggs134/py-evm
5ad87356181b03c14a2452131f50fe8762127c84
[ "MIT" ]
1,641
2017-11-24T04:24:22.000Z
2022-03-31T14:59:30.000Z
tests/core/consensus/test_clique_utils.py
ggs134/py-evm
5ad87356181b03c14a2452131f50fe8762127c84
[ "MIT" ]
1,347
2017-11-23T10:37:36.000Z
2022-03-20T16:31:44.000Z
tests/core/consensus/test_clique_utils.py
ggs134/py-evm
5ad87356181b03c14a2452131f50fe8762127c84
[ "MIT" ]
567
2017-11-22T18:03:27.000Z
2022-03-28T17:49:08.000Z
import pytest from eth_utils import ( decode_hex, ) from eth_keys import keys from eth_typing import Address from eth.chains.goerli import ( GOERLI_GENESIS_HEADER, ) from eth.consensus.clique.constants import ( VANITY_LENGTH, SIGNATURE_LENGTH, ) from eth.consensus.clique._utils import ( get_bloc...
44.664516
240
0.822909
579
6,923
9.509499
0.241796
0.065383
0.028333
0.114784
0.491101
0.448965
0.417726
0.417726
0.37668
0.37668
0
0.340839
0.108335
6,923
154
241
44.954545
0.55111
0.068901
0
0.333333
0
0
0.441593
0.421527
0
0
0.432727
0
0.02439
1
0.02439
false
0
0.065041
0
0.089431
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
3
40791efbf97b42669a0430d6f9c4d997b3d2514c
950
py
Python
source/models/technical_specs.py
jeremyrea/caterblu
77bf902997a46b36eca13ba1e8ca09d7e86958d0
[ "MIT" ]
null
null
null
source/models/technical_specs.py
jeremyrea/caterblu
77bf902997a46b36eca13ba1e8ca09d7e86958d0
[ "MIT" ]
11
2016-03-18T17:53:18.000Z
2021-06-10T18:29:42.000Z
source/models/technical_specs.py
jeremyrea/caterblu
77bf902997a46b36eca13ba1e8ca09d7e86958d0
[ "MIT" ]
null
null
null
class TechnicalSpecs(object): def __init__(self): self.__negative_format = None self.__cinematographic_process = None self.__link = None @property def negative_format(self): return self.__negative_format @negative_format.setter def negative_format(self, negative_for...
27.941176
102
0.686316
95
950
6.4
0.168421
0.230263
0.148026
0.069079
0.394737
0
0
0
0
0
0
0
0.234737
950
33
103
28.787879
0.836314
0
0
0.115385
0
0
0.048421
0
0
0
0
0
0
1
0.307692
false
0
0
0.153846
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
40891009b54368aab3a6e9f1cc5e4d0c9e3efd88
664
py
Python
source/interprocedural_analyses/taint/test/integration/format.py
joehendrix/pyre-check
23693455b1e0b4a7287efba9337be6bbfe23ada4
[ "MIT" ]
1
2022-02-10T10:51:32.000Z
2022-02-10T10:51:32.000Z
source/interprocedural_analyses/taint/test/integration/format.py
joehendrix/pyre-check
23693455b1e0b4a7287efba9337be6bbfe23ada4
[ "MIT" ]
null
null
null
source/interprocedural_analyses/taint/test/integration/format.py
joehendrix/pyre-check
23693455b1e0b4a7287efba9337be6bbfe23ada4
[ "MIT" ]
null
null
null
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from builtins import _test_sink, _test_source def source_via_format(): taint = _test_source() return f"{taint} is bad" def sourc...
20.121212
65
0.703313
107
664
4.102804
0.401869
0.072893
0.05467
0.095672
0.127563
0.127563
0
0
0
0
0
0.011152
0.189759
664
32
66
20.75
0.804833
0.256024
0
0.133333
0
0
0.249489
0
0
0
0
0
0
1
0.4
false
0
0.066667
0.133333
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3