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
43f7dffaa88275e72d3be5458a17d391e278b777
158
py
Python
fastapi_simple_login/schema/auth.py
thibautfrain/fastapi-simple-login
3c12ef8d7e023406bbd7e7576863b11500fe63f8
[ "MIT" ]
null
null
null
fastapi_simple_login/schema/auth.py
thibautfrain/fastapi-simple-login
3c12ef8d7e023406bbd7e7576863b11500fe63f8
[ "MIT" ]
null
null
null
fastapi_simple_login/schema/auth.py
thibautfrain/fastapi-simple-login
3c12ef8d7e023406bbd7e7576863b11500fe63f8
[ "MIT" ]
null
null
null
from pydantic import BaseModel class LoginInput(BaseModel): email: str password: str class LoginOutput(BaseModel): status: str token: str
13.166667
30
0.708861
18
158
6.222222
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.227848
158
11
31
14.363636
0.918033
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.142857
0.142857
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
4
a1004911495933c7363dce433b0cccfd12e643be
9,346
py
Python
api_tests/tokens/views/test_token_detail.py
DanielSBrown/osf.io
98dda2ac237377197acacce78274bc0a4ce8f303
[ "Apache-2.0" ]
null
null
null
api_tests/tokens/views/test_token_detail.py
DanielSBrown/osf.io
98dda2ac237377197acacce78274bc0a4ce8f303
[ "Apache-2.0" ]
13
2020-03-24T15:29:41.000Z
2022-03-11T23:15:28.000Z
api_tests/tokens/views/test_token_detail.py
DanielSBrown/osf.io
98dda2ac237377197acacce78274bc0a4ce8f303
[ "Apache-2.0" ]
null
null
null
import copy import mock from nose.tools import * # flake8: noqa from website.models import User, ApiOAuth2PersonalToken from website.util import api_v2_url from tests.base import ApiTestCase from tests.factories import ApiOAuth2PersonalTokenFactory, AuthUserFactory TOKEN_LIST_URL = api_v2_url('tokens/', base_route...
41.537778
122
0.618981
1,159
9,346
4.680759
0.125971
0.092903
0.082581
0.06894
0.767373
0.760369
0.731797
0.723134
0.686452
0.680184
0
0.020846
0.271132
9,346
224
123
41.723214
0.775543
0.001284
0
0.378378
0
0
0.108123
0.031505
0
0
0
0
0.156757
1
0.135135
false
0
0.037838
0
0.183784
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a1069df3137d1424fe91f1439aeb6f9925811c4a
369
py
Python
pythran/analyses/yield_points.py
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,647
2015-01-13T01:45:38.000Z
2022-03-28T01:23:41.000Z
pythran/analyses/yield_points.py
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,116
2015-01-01T09:52:05.000Z
2022-03-18T21:06:40.000Z
pythran/analyses/yield_points.py
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
180
2015-02-12T02:47:28.000Z
2022-03-14T10:28:18.000Z
""" YieldPoints gathers all yield points from a node """ from pythran.passmanager import FunctionAnalysis class YieldPoints(FunctionAnalysis): '''Gathers all yield points of a generator, if any.''' def __init__(self): self.result = list() super(YieldPoints, self).__init__() def visit_Yie...
23.0625
58
0.688347
44
369
5.568182
0.568182
0.081633
0.122449
0.171429
0
0
0
0
0
0
0
0
0.205962
369
15
59
24.6
0.836177
0.262873
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.142857
0.142857
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
a1190f72a35ae6e057b7b1549716680eec814827
111
py
Python
read/quotes_read.py
manoj-jojo/Rekognice
c80597444389bf7358e2a8888b23ed2b2e411978
[ "MIT" ]
null
null
null
read/quotes_read.py
manoj-jojo/Rekognice
c80597444389bf7358e2a8888b23ed2b2e411978
[ "MIT" ]
null
null
null
read/quotes_read.py
manoj-jojo/Rekognice
c80597444389bf7358e2a8888b23ed2b2e411978
[ "MIT" ]
null
null
null
###### Add path according to your system. ####### with open("quotes.txt", "r") as f: print(f.read())
27.75
53
0.531532
16
111
3.6875
0.9375
0
0
0
0
0
0
0
0
0
0
0
0.216216
111
3
54
37
0.678161
0.306306
0
0
0
0
0.196429
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
a12c7952701cf798acca4171421ae3a47d393c40
803
py
Python
extra/constants.py
costaluu/sloth-bot
48727aff5859ec96c48691a638b3b8c0a90c70f9
[ "MIT" ]
21
2020-09-13T17:25:00.000Z
2022-02-22T19:19:57.000Z
extra/constants.py
costaluu/sloth-bot
48727aff5859ec96c48691a638b3b8c0a90c70f9
[ "MIT" ]
12
2020-09-13T18:07:28.000Z
2022-01-20T05:20:07.000Z
extra/constants.py
costaluu/sloth-bot
48727aff5859ec96c48691a638b3b8c0a90c70f9
[ "MIT" ]
20
2020-09-13T16:58:22.000Z
2022-03-28T12:27:44.000Z
class Emojis: cross_mark = "\u274C" star = "\u2B50" christmas_tree = "\U0001F384" check = "\u2611" envelope = "\U0001F4E8" trashcan = "🗑️" ok_hand = ":ok_hand:" hand_raised = "\U0001F64B" number_emojis = { 1: "\u0031\ufe0f\u20e3", 2: "\u0032\ufe0f\u20e3", 3...
21.702703
33
0.518057
90
803
4.588889
0.7
0.217918
0
0
0
0
0
0
0
0
0
0.228164
0.30137
803
37
34
21.702703
0.490196
0
0
0
0
0
0.324627
0
0
0
0
0
0
1
0
false
0
0
0
0.677419
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
a158c62e419e7cb99d48056760217cb06ba92aab
91
py
Python
notifies/apps.py
QizaiMing/ergo-project-manager
2b02b2ab6d9e48bfccbbca8c05180b07177dcb77
[ "MIT" ]
null
null
null
notifies/apps.py
QizaiMing/ergo-project-manager
2b02b2ab6d9e48bfccbbca8c05180b07177dcb77
[ "MIT" ]
3
2020-11-01T22:08:38.000Z
2022-03-12T00:49:00.000Z
notifies/apps.py
QizaiMing/ergo-project-manager
2b02b2ab6d9e48bfccbbca8c05180b07177dcb77
[ "MIT" ]
2
2021-01-03T07:17:16.000Z
2021-05-29T17:27:11.000Z
from django.apps import AppConfig class NotifiesConfig(AppConfig): name = 'notifies'
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.087912
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
a192f5f0b286bd0fe496b80fc7f6cd8eb4b00b2a
133
py
Python
src/safdie/__init__.py
coddingtonbear/fuller
32d4d563e074cf026698065f4b3109e833722b88
[ "MIT" ]
3
2021-08-28T00:53:52.000Z
2021-12-29T08:54:25.000Z
src/safdie/__init__.py
coddingtonbear/safdie
32d4d563e074cf026698065f4b3109e833722b88
[ "MIT" ]
null
null
null
src/safdie/__init__.py
coddingtonbear/safdie
32d4d563e074cf026698065f4b3109e833722b88
[ "MIT" ]
null
null
null
from .command import BaseCommand from .command_runner import SafdieRunner from .finder import get_entrypoints __version__ = "2.0.1"
22.166667
40
0.819549
18
133
5.722222
0.722222
0.213592
0
0
0
0
0
0
0
0
0
0.025641
0.120301
133
5
41
26.6
0.854701
0
0
0
0
0
0.037594
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
a1f551afbfb3835601926eca98fb01af25dcadc2
247
py
Python
tweets/models.py
miswo/tweet
973fea6ed694a04c2dda7d2530573d502841303e
[ "MIT" ]
null
null
null
tweets/models.py
miswo/tweet
973fea6ed694a04c2dda7d2530573d502841303e
[ "MIT" ]
null
null
null
tweets/models.py
miswo/tweet
973fea6ed694a04c2dda7d2530573d502841303e
[ "MIT" ]
null
null
null
from django.db import models class OAuthTokenTemp(models.Model): ''' ''' oauth_token = models.CharField(max_length=255, db_index=True, unique=True) oauth_token_secret = models.CharField(max_length=255, db_index=True, unique=True)
30.875
85
0.740891
34
247
5.176471
0.529412
0.113636
0.204545
0.272727
0.545455
0.545455
0.545455
0.545455
0.545455
0.545455
0
0.028302
0.1417
247
7
86
35.285714
0.801887
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
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
1
0
0
4
a1fac1e434b89355a081dee21f2482ed5e8bc775
84
py
Python
backend/testing_apps/test_app/apps.py
mmcardle/projectx
058935273834c683de8db8bb2d720b1ddcd433e8
[ "MIT" ]
4
2021-04-22T08:55:13.000Z
2022-03-23T12:58:43.000Z
backend/testing_apps/test_app/apps.py
mmcardle/projectx
058935273834c683de8db8bb2d720b1ddcd433e8
[ "MIT" ]
3
2021-05-12T11:05:58.000Z
2021-09-12T16:40:31.000Z
backend/testing_apps/test_app/apps.py
mmcardle/projectx
058935273834c683de8db8bb2d720b1ddcd433e8
[ "MIT" ]
1
2021-04-18T08:33:02.000Z
2021-04-18T08:33:02.000Z
from django.apps import AppConfig class TestApp(AppConfig): name = "test_app"
14
33
0.738095
11
84
5.545455
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.178571
84
5
34
16.8
0.884058
0
0
0
0
0
0.095238
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b818e4519519714adefa27059adf8c26759690dd
131
py
Python
pyperbolic/metric.py
JWKennington/pyperbolic
3c4608774a6873f4ef358bb33a14ccc882f4a358
[ "MIT" ]
null
null
null
pyperbolic/metric.py
JWKennington/pyperbolic
3c4608774a6873f4ef358bb33a14ccc882f4a358
[ "MIT" ]
4
2019-03-16T03:40:05.000Z
2019-03-16T04:29:27.000Z
pyperbolic/metric.py
JWKennington/pyperbolic
3c4608774a6873f4ef358bb33a14ccc882f4a358
[ "MIT" ]
null
null
null
"""Hyperbolic metrics This module contains several metrics used in hyperbolic spaces. References: [1] """ import numpy
9.357143
63
0.709924
15
131
6.2
0.866667
0
0
0
0
0
0
0
0
0
0
0.009709
0.21374
131
13
64
10.076923
0.893204
0.793893
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
629dc67a0925e0f706f795a9bb81243c1c2dab9a
148
py
Python
tools/ip/ip.py
ownthink/qimen
278d2e4d97948c40e53dab5f764e19bd4169ba91
[ "MIT" ]
26
2019-04-19T13:15:20.000Z
2022-02-07T08:47:14.000Z
tools/ip/ip.py
ownthink/qimen
278d2e4d97948c40e53dab5f764e19bd4169ba91
[ "MIT" ]
null
null
null
tools/ip/ip.py
ownthink/qimen
278d2e4d97948c40e53dab5f764e19bd4169ba91
[ "MIT" ]
17
2019-04-19T13:13:28.000Z
2022-01-18T07:38:09.000Z
import re text = '我的ip是127.0.0.1' ips = re.findall("(?:(?:[0,1]?\d?\d|2[0-4]\d|25[0-5])\.){3}(?:[0,1]?\d?\d|2[0-4]\d|25[0-5])", text) print(ips)
18.5
99
0.486486
36
148
2
0.416667
0.083333
0.083333
0.111111
0.333333
0.333333
0.333333
0.333333
0.333333
0.333333
0
0.185185
0.087838
148
7
100
21.142857
0.348148
0
0
0
0
0.25
0.587838
0.493243
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
62b6119967fde1b6f3c399405f61c4a4e8b04983
81
py
Python
python/dwave_qbsolv/__init__.py
Seyrom/qbsolv
85acf8c3cfe4ed400bbef47d298da935f1775ab0
[ "Apache-2.0" ]
1,018
2017-01-11T18:43:32.000Z
2022-03-18T00:41:28.000Z
python/dwave_qbsolv/__init__.py
Seyrom/qbsolv
85acf8c3cfe4ed400bbef47d298da935f1775ab0
[ "Apache-2.0" ]
122
2017-01-12T08:22:18.000Z
2021-11-01T20:03:51.000Z
python/dwave_qbsolv/__init__.py
Seyrom/qbsolv
85acf8c3cfe4ed400bbef47d298da935f1775ab0
[ "Apache-2.0" ]
277
2017-01-11T19:36:38.000Z
2022-03-23T02:49:54.000Z
from __future__ import absolute_import from dwave_qbsolv.dimod_wrapper import *
20.25
40
0.864198
11
81
5.727273
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.111111
81
3
41
27
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
62b8691f9c135756c86c3975ad0fb508ab08de89
315
py
Python
oscar/lib/python2.7/site-packages/django/contrib/admin/templatetags/admin_static.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
oscar/lib/python2.7/site-packages/django/contrib/admin/templatetags/admin_static.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
oscar/lib/python2.7/site-packages/django/contrib/admin/templatetags/admin_static.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
from django.template import Library from django.templatetags.static import static as _static register = Library() @register.simple_tag def static(path): # Backwards compatibility alias for django.templatetags.static.static(). # Deprecation should start in Django 2.0. return _static(path)
26.25
77
0.746032
39
315
5.948718
0.615385
0.086207
0.206897
0
0
0
0
0
0
0
0
0.007752
0.180952
315
11
78
28.636364
0.891473
0.349206
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
4
62d87e3f118bc47b66bc71945fdd4e22af905960
68
py
Python
pcmdi_metrics/devel/example_dev/lib/file1.py
tomvothecoder/pcmdi_metrics
34cdd56a78859db6417cbc7018c8ae8bbf2f09b5
[ "BSD-3-Clause" ]
47
2015-03-18T22:44:51.000Z
2022-01-30T04:35:05.000Z
pcmdi_metrics/devel/example_dev/lib/file1.py
tomvothecoder/pcmdi_metrics
34cdd56a78859db6417cbc7018c8ae8bbf2f09b5
[ "BSD-3-Clause" ]
524
2015-01-01T04:00:34.000Z
2022-03-31T15:06:46.000Z
pcmdi_metrics/devel/example_dev/lib/file1.py
tomvothecoder/pcmdi_metrics
34cdd56a78859db6417cbc7018c8ae8bbf2f09b5
[ "BSD-3-Clause" ]
30
2015-06-05T17:19:43.000Z
2021-11-02T15:22:21.000Z
def example(a, b): print("Adding", a, "to", b) return a + b
17
31
0.514706
12
68
2.916667
0.666667
0.114286
0
0
0
0
0
0
0
0
0
0
0.279412
68
3
32
22.666667
0.714286
0
0
0
0
0
0.117647
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
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
1
0
0
0
0
1
0
0
4
62f734675357ca5cec14f85d53c4177c71e828c7
146
py
Python
ofsc/handler.py
nwiizo/ofsc-tester
b52f9e17e94ef2f6e5dffe35e9a232203f4bc2e9
[ "MIT" ]
1
2018-12-07T03:34:08.000Z
2018-12-07T03:34:08.000Z
ofsc/handler.py
nwiizo/ofsc-tester
b52f9e17e94ef2f6e5dffe35e9a232203f4bc2e9
[ "MIT" ]
null
null
null
ofsc/handler.py
nwiizo/ofsc-tester
b52f9e17e94ef2f6e5dffe35e9a232203f4bc2e9
[ "MIT" ]
null
null
null
def handle(req): msg = req if len(req) == 0: return "pass a value to the function" return str.format("Anisha said: {}", msg)
20.857143
45
0.575342
22
146
3.818182
0.818182
0
0
0
0
0
0
0
0
0
0
0.009615
0.287671
146
6
46
24.333333
0.798077
0
0
0
0
0
0.294521
0
0
0
0
0
0
1
0.2
false
0.2
0
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
1
0
0
1
0
0
4
1a03f4bd7b4977db6aee0872f093116f3e072589
87
py
Python
app/recipe/apps.py
MauricioAntonioMartinez/recipie-api-django
69fd3d097033331cb9531e5ae6220d0931ec40e5
[ "MIT" ]
null
null
null
app/recipe/apps.py
MauricioAntonioMartinez/recipie-api-django
69fd3d097033331cb9531e5ae6220d0931ec40e5
[ "MIT" ]
null
null
null
app/recipe/apps.py
MauricioAntonioMartinez/recipie-api-django
69fd3d097033331cb9531e5ae6220d0931ec40e5
[ "MIT" ]
null
null
null
from django.apps import AppConfig class recipeConfig(AppConfig): name = 'recipe'
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.172414
87
5
34
17.4
0.902778
0
0
0
0
0
0.068966
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
1a207d9be9257dc19f603dc46690606db340c5af
367
py
Python
28_Implement_strStr.py
AutuanLiu/LeetCode2019
8efc7c5475fd888f7d86c3b08a3c1c9e55c1ac30
[ "MIT" ]
1
2019-06-20T07:43:59.000Z
2019-06-20T07:43:59.000Z
28_Implement_strStr.py
AutuanLiu/Code-Storm2019
8efc7c5475fd888f7d86c3b08a3c1c9e55c1ac30
[ "MIT" ]
null
null
null
28_Implement_strStr.py
AutuanLiu/Code-Storm2019
8efc7c5475fd888f7d86c3b08a3c1c9e55c1ac30
[ "MIT" ]
null
null
null
# 28. Implement strStr() class Solution: def strStr(self, haystack: str, needle: str) -> int: return haystack.find(needle) class Solution: def strStr(self, haystack: str, needle: str) -> int: for i in range(0, len(haystack) - len(needle) + 1): if haystack[i:i + len(needle)] == need...
28.230769
59
0.580381
48
367
4.4375
0.4375
0.122066
0.150235
0.206573
0.460094
0.460094
0.460094
0.460094
0.460094
0.460094
0
0.019231
0.291553
367
12
60
30.583333
0.8
0.059946
0
0.444444
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.777778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
a7e9caf6938210818f3458376c20a6408dbcc6f1
75
py
Python
main.py
Cegard/Pong
3d40fc29a2a8ef9089e663198134c2f74e013373
[ "MIT" ]
null
null
null
main.py
Cegard/Pong
3d40fc29a2a8ef9089e663198134c2f74e013373
[ "MIT" ]
null
null
null
main.py
Cegard/Pong
3d40fc29a2a8ef9089e663198134c2f74e013373
[ "MIT" ]
null
null
null
from PongApp import PongApp if __name__ == '__main__': PongApp().run()
18.75
27
0.693333
9
75
4.888889
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.173333
75
4
28
18.75
0.709677
0
0
0
0
0
0.105263
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
c525ca36d3617e166a7d314bf19ec903f97339ae
2,283
py
Python
app/blog/migrations/0002_auto_20200109_0113.py
jayjodev/oncollegehub
5633df8beaef232d58025c4407bd9e25bd349e49
[ "MIT" ]
2
2018-11-14T17:08:05.000Z
2018-11-14T17:08:38.000Z
app/blog/migrations/0002_auto_20200109_0113.py
jayjodev/oncollegehub
5633df8beaef232d58025c4407bd9e25bd349e49
[ "MIT" ]
16
2020-01-11T04:09:50.000Z
2022-03-12T00:11:19.000Z
app/blog/migrations/0002_auto_20200109_0113.py
jayjodev/oncollegehub
5633df8beaef232d58025c4407bd9e25bd349e49
[ "MIT" ]
2
2018-11-14T17:08:07.000Z
2018-11-28T21:38:16.000Z
# Generated by Django 2.2.6 on 2020-01-09 01:13 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('blog...
35.123077
112
0.609724
239
2,283
5.694561
0.192469
0.064658
0.102866
0.161646
0.765614
0.738428
0.695812
0.695812
0.695812
0.695812
0
0.013748
0.267192
2,283
64
113
35.671875
0.799761
0.019711
0
0.684211
1
0
0.097048
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.122807
0
0
0
0
null
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c529c0e5e161ba053ecf3da36d6d51d02a2aec41
189
py
Python
gooddata-sdk/gooddata_sdk/catalog/types.py
hkad98/gooddata-python-sdk
64942080ecb44c2d8e914e57f7a591daa6cca205
[ "MIT" ]
7
2022-01-24T16:27:06.000Z
2022-02-25T10:18:49.000Z
gooddata-sdk/gooddata_sdk/catalog/types.py
hkad98/gooddata-python-sdk
64942080ecb44c2d8e914e57f7a591daa6cca205
[ "MIT" ]
29
2022-01-20T15:45:38.000Z
2022-03-31T09:39:25.000Z
gooddata-sdk/gooddata_sdk/catalog/types.py
hkad98/gooddata-python-sdk
64942080ecb44c2d8e914e57f7a591daa6cca205
[ "MIT" ]
7
2022-01-20T07:11:15.000Z
2022-03-09T14:50:17.000Z
# (C) 2022 GoodData Corporation from __future__ import annotations from typing import Dict, Set # Use typing collection types to support python < py3.9 ValidObjects = Dict[str, Set[str]]
23.625
55
0.772487
27
189
5.259259
0.777778
0
0
0
0
0
0
0
0
0
0
0.037736
0.15873
189
7
56
27
0.855346
0.439153
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
c52bd01220fff57227591a8aa544e57424cf0fd0
1,089
py
Python
src/core/dmisc/ecaaf_container.py
swanandrao/ecaaf
80b547ce66e6dcbf615f66e8ac8d18aec4c0ab4e
[ "Apache-2.0" ]
3
2019-03-23T21:11:03.000Z
2019-04-12T17:21:24.000Z
src/core/dmisc/ecaaf_container.py
swanandrao/ecaaf
80b547ce66e6dcbf615f66e8ac8d18aec4c0ab4e
[ "Apache-2.0" ]
2
2019-03-25T14:04:53.000Z
2019-03-25T15:45:37.000Z
src/core/dmisc/ecaaf_container.py
swanandrao/ecaaf
80b547ce66e6dcbf615f66e8ac8d18aec4c0ab4e
[ "Apache-2.0" ]
2
2019-03-25T15:18:30.000Z
2019-04-12T17:20:26.000Z
"""Wrapper for container runtime used by the core services""" import docker __author__ = "Swanand Rao" __copyright__ = "" __credits__ = ["Swanand Rao"] __license__ = "" __version__ = "0.1" __maintainer__ = "Swanand Rao" __email__ = "swanand.rao@gmail.com" __status__ = "pre-alpha" __cli...
24.75
69
0.695133
149
1,089
4.771812
0.489933
0.056259
0.050633
0.059072
0.267229
0.267229
0.267229
0.267229
0.267229
0.267229
0
0.00225
0.183655
1,089
43
70
25.325581
0.797525
0.366391
0
0.12
0
0
0.10963
0.031111
0
0
0
0.023256
0
1
0.24
false
0
0.04
0.16
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
1
0
0
1
0
0
0
1
1
0
0
4
c5357a9ccdb6f4a9a105cc23fa702a74c75d5b5f
52
py
Python
qualitymeter/qmood/reusability.py
fatemehkarimi/QualityMeter
349aeff9cada12bba803aa21d8883220495c0d81
[ "MIT" ]
1
2021-11-15T17:57:03.000Z
2021-11-15T17:57:03.000Z
qualitymeter/qmood/reusability.py
fatemehkarimi/QualityMeter
349aeff9cada12bba803aa21d8883220495c0d81
[ "MIT" ]
5
2021-11-18T14:06:21.000Z
2021-12-24T16:19:15.000Z
qualitymeter/qmood/reusability.py
fatemehkarimi/QualityMeter
349aeff9cada12bba803aa21d8883220495c0d81
[ "MIT" ]
20
2021-11-15T05:06:47.000Z
2022-02-14T13:35:56.000Z
""" """ # Todo: implement the reusability module
7.428571
40
0.634615
5
52
6.6
1
0
0
0
0
0
0
0
0
0
0
0
0.211538
52
6
41
8.666667
0.804878
0.730769
0
null
0
null
0
0
null
0
0
0.166667
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
4
c538336dcf15a8c40afb9d5b2f177c803f186497
169
py
Python
Python_OOP/Inheritance/Exercise/project/capacity_mixin.py
antonarnaudov/SoftUniProjects
01cbdce2b350b57240045d1bc3e21d34f9d0351d
[ "MIT" ]
null
null
null
Python_OOP/Inheritance/Exercise/project/capacity_mixin.py
antonarnaudov/SoftUniProjects
01cbdce2b350b57240045d1bc3e21d34f9d0351d
[ "MIT" ]
null
null
null
Python_OOP/Inheritance/Exercise/project/capacity_mixin.py
antonarnaudov/SoftUniProjects
01cbdce2b350b57240045d1bc3e21d34f9d0351d
[ "MIT" ]
null
null
null
class CapacityMixin: def get_capacity(self, capacity, amount): if amount > capacity: return 'Capacity reached!' return capacity - amount
28.166667
45
0.639053
17
169
6.294118
0.588235
0.261682
0
0
0
0
0
0
0
0
0
0
0.289941
169
5
46
33.8
0.891667
0
0
0
0
0
0.100592
0
0
0
0
0
0
1
0.2
false
0
0
0
0.8
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
1
0
0
4
c56dd17d2a7ed95b42b16fdb05e87d3e886bc9f5
22
py
Python
panoptes_aggregation/version/__init__.py
isabella232/aggregation-for-caesar
9ce7616b60ab32b13791868ace1637801ea937e9
[ "Apache-2.0" ]
null
null
null
panoptes_aggregation/version/__init__.py
isabella232/aggregation-for-caesar
9ce7616b60ab32b13791868ace1637801ea937e9
[ "Apache-2.0" ]
1
2021-02-23T23:28:36.000Z
2021-02-23T23:28:36.000Z
panoptes_aggregation/version/__init__.py
isabella232/aggregation-for-caesar
9ce7616b60ab32b13791868ace1637801ea937e9
[ "Apache-2.0" ]
null
null
null
__version__ = '3.4.5'
11
21
0.636364
4
22
2.5
1
0
0
0
0
0
0
0
0
0
0
0.157895
0.136364
22
1
22
22
0.368421
0
0
0
0
0
0.227273
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c57541b766372f16a0f100079312f8e46d436504
961
py
Python
server/data/models.py
xhuang98/Dtect
929d01945fd2768032dbb84d8ba1f62069132172
[ "MIT" ]
1
2021-12-25T01:43:43.000Z
2021-12-25T01:43:43.000Z
server/data/models.py
xhuang98/Dtect
929d01945fd2768032dbb84d8ba1f62069132172
[ "MIT" ]
null
null
null
server/data/models.py
xhuang98/Dtect
929d01945fd2768032dbb84d8ba1f62069132172
[ "MIT" ]
1
2021-09-02T15:30:04.000Z
2021-09-02T15:30:04.000Z
from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() class UserLogin(db.Model): __tablename__ = "userlogin" id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(127), unique=True) password = db.Column(db.String(127)) def __init__(self, username, password): self...
33.137931
53
0.700312
128
961
5.078125
0.296875
0.172308
0.215385
0.246154
0.489231
0.401538
0.101538
0.101538
0
0
0
0.037547
0.168574
961
28
54
34.321429
0.77597
0
0
0.086957
0
0
0.023933
0
0
0
0
0
0
1
0.043478
false
0.130435
0.043478
0
0.869565
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
4
3d652a7be8b5c8f3d79f88a23da2f663f227d3c3
34
py
Python
neurogym/tests/test_collections.py
ruyuanzhang/neurogym
b4b456f3d41ab2f1648243828c2c907453f51f80
[ "MIT" ]
112
2020-07-31T14:52:53.000Z
2022-03-30T16:53:25.000Z
neurogym/tests/test_collections.py
ruyuanzhang/neurogym
b4b456f3d41ab2f1648243828c2c907453f51f80
[ "MIT" ]
15
2020-10-13T15:59:41.000Z
2021-05-22T03:30:12.000Z
neurogym/tests/test_collections.py
ruyuanzhang/neurogym
b4b456f3d41ab2f1648243828c2c907453f51f80
[ "MIT" ]
23
2020-10-24T04:26:06.000Z
2022-03-09T07:40:57.000Z
"""Test collections of tasks."""
11.333333
32
0.647059
4
34
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.147059
34
2
33
17
0.758621
0.764706
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
3db4ff9468d7281315237f3d36ca16d9f7af647a
950
py
Python
mouse_click.py
SujeethJinesh/Meyece
2225da4075101dd36086d3570ac2d4ac8ef94be0
[ "MIT" ]
null
null
null
mouse_click.py
SujeethJinesh/Meyece
2225da4075101dd36086d3570ac2d4ac8ef94be0
[ "MIT" ]
null
null
null
mouse_click.py
SujeethJinesh/Meyece
2225da4075101dd36086d3570ac2d4ac8ef94be0
[ "MIT" ]
null
null
null
# References code from: # http://web.archive.org/web/20111229234504/http://www.geekorgy.com:80/index.php/2010/06/python-mouse-click-and-move-mouse-in-apple-mac-osx-snow-leopard-10-6-x/ from Quartz.CoreGraphics import CGEventCreateMouseEvent from Quartz.CoreGraphics import CGEventPost from Quartz.CoreGraphics import kC...
36.538462
160
0.809474
114
950
6.684211
0.421053
0.091864
0.2021
0.257218
0
0
0
0
0
0
0
0.029274
0.101053
950
25
161
38
0.862998
0.189474
0
0
0
0
0
0
0
0
0
0
0
1
0.1875
false
0
0.4375
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
1
0
1
0
0
4
3df66153bbc2f91095c8e4a5f3ef5b231c686701
18,112
py
Python
utils/misc_code.py
rakshithShetty/SemanticAdversary
e6d50f00af6f7d847cba4210613afea4be773254
[ "MIT" ]
1
2020-09-15T15:12:00.000Z
2020-09-15T15:12:00.000Z
utils/misc_code.py
rakshithShetty/SemanticAdversary
e6d50f00af6f7d847cba4210613afea4be773254
[ "MIT" ]
null
null
null
utils/misc_code.py
rakshithShetty/SemanticAdversary
e6d50f00af6f7d847cba4210613afea4be773254
[ "MIT" ]
null
null
null
import numpy as np import matplotlib import matplotlib.pyplot as plt from utils.utils import show from sklearn.cluster import KMeans from removalmodels.stargan import kp2gaussian import torch import cv2 from utils.data_loader_stargan import get_dataset from torch.nn import functional as F def visualize_keypoints(kp, c...
42.317757
183
0.669225
2,675
18,112
4.299813
0.11215
0.014954
0.017388
0.016258
0.788124
0.750739
0.740567
0.718832
0.690402
0.677274
0
0.027006
0.161771
18,112
427
184
42.416862
0.730602
0.069402
0
0.678899
0
0
0.083893
0.015329
0.003058
0
0
0
0
1
0.006116
false
0
0.051988
0
0.06422
0.015291
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9a81c3bc637a97952431a36cdcf81b7271f2fc38
1,031
py
Python
workspace/utils/data.py
deepboltzer/brAIn
7c8f6c2e162ae21027b227bc4c685c283ed3d8a0
[ "MIT" ]
2
2021-11-24T18:58:05.000Z
2021-12-03T12:43:32.000Z
workspace/utils/data.py
deepboltzer/brAIn
7c8f6c2e162ae21027b227bc4c685c283ed3d8a0
[ "MIT" ]
null
null
null
workspace/utils/data.py
deepboltzer/brAIn
7c8f6c2e162ae21027b227bc4c685c283ed3d8a0
[ "MIT" ]
4
2021-11-14T10:18:22.000Z
2022-03-22T21:09:58.000Z
class AttackData(): """Simple utility class to hold data.""" def __init__(self): self._last_obs = [] self._last_act = [] self._last_rew = 0 self._last_done = False self._last_info = {} @property def last_obs(self): return self._last_obs @last...
21.479167
44
0.57711
133
1,031
4.105263
0.157895
0.21978
0.137363
0.164835
0
0
0
0
0
0
0
0.001451
0.331717
1,031
48
45
21.479167
0.791001
0.032978
0
0.135135
0
0
0
0
0
0
0
0
0
1
0.297297
false
0
0
0.135135
0.459459
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
1
0
0
0
4
9a8bfdefa97cdecff0893c309177cc3e7b1c1d8a
69
py
Python
gedit_wakatime/__init__.py
ItzSwirlz/gedit-wakatime
b2cb5812f5b4feafae8e811a232e183aed4aee10
[ "BSD-2-Clause" ]
23
2015-05-04T19:23:21.000Z
2022-01-15T07:11:08.000Z
gedit_wakatime/__init__.py
ItzSwirlz/gedit-wakatime
b2cb5812f5b4feafae8e811a232e183aed4aee10
[ "BSD-2-Clause" ]
11
2015-05-18T12:53:15.000Z
2022-01-08T00:13:07.000Z
gedit_wakatime/__init__.py
ItzSwirlz/gedit-wakatime
b2cb5812f5b4feafae8e811a232e183aed4aee10
[ "BSD-2-Clause" ]
7
2015-05-12T13:30:08.000Z
2022-01-15T07:11:12.000Z
from ._version import __version__ from .plugin import WakatimePlugin
23
34
0.855072
8
69
6.75
0.625
0
0
0
0
0
0
0
0
0
0
0
0.115942
69
2
35
34.5
0.885246
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
9aaf13359bd95e6ea709c4477b5e9b8d88e098ac
15
py
Python
data/studio21_generated/interview/1754/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/1754/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/1754/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def valid(a):
7.5
13
0.6
3
15
3
1
0
0
0
0
0
0
0
0
0
0
0
0.2
15
2
14
7.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
9ac312b002889eb3a6a7acf47ca9037799b8fb80
281
py
Python
backend/things/schema.py
LeBoku/thingified
7c90c4f435cdd7185e0d8517d23001e3283d7dbb
[ "MIT" ]
null
null
null
backend/things/schema.py
LeBoku/thingified
7c90c4f435cdd7185e0d8517d23001e3283d7dbb
[ "MIT" ]
null
null
null
backend/things/schema.py
LeBoku/thingified
7c90c4f435cdd7185e0d8517d23001e3283d7dbb
[ "MIT" ]
null
null
null
connection = { "type": "dict", "schema": { "name": {"type": "string"}, "type": {"type": "number"} } } schema = { "name": { "type": "string", "required": True }, "description": { "type": "string" }, "connections": { "type": "list", "schema": connection } }
12.217391
29
0.498221
24
281
5.833333
0.5
0.214286
0.2
0.285714
0
0
0
0
0
0
0
0
0.224199
281
22
30
12.772727
0.642202
0
0
0
0
0
0.392857
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
4
9adc57ec5a10ed9618268863f1be317bdb79620f
224
py
Python
test/mitmproxy/contentviews/__init__.py
0x7c48/mitmproxy
f9d8f3bae3f4e681d5f4d406b7e06b099e60ecba
[ "MIT" ]
24,939
2015-01-01T17:13:21.000Z
2022-03-31T17:50:04.000Z
test/mitmproxy/contentviews/__init__.py
0x7c48/mitmproxy
f9d8f3bae3f4e681d5f4d406b7e06b099e60ecba
[ "MIT" ]
3,655
2015-01-02T12:31:43.000Z
2022-03-31T20:24:57.000Z
test/mitmproxy/contentviews/__init__.py
0x7c48/mitmproxy
f9d8f3bae3f4e681d5f4d406b7e06b099e60ecba
[ "MIT" ]
3,712
2015-01-06T06:47:06.000Z
2022-03-31T10:33:27.000Z
def full_eval(instance): def call(data, **metadata): x = instance(data, **metadata) if x is None: return None name, generator = x return name, list(generator) return call
22.4
38
0.5625
27
224
4.62963
0.555556
0.192
0
0
0
0
0
0
0
0
0
0
0.34375
224
9
39
24.888889
0.85034
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.625
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
b10484b41b54c00d7d68db2e31a84632d19c24de
536
py
Python
PortalAdmin/views_forum.py
elryndir/GuildPortal
d9604bdffdca93debcf5a4063b56e7f0efcc49fd
[ "MIT" ]
null
null
null
PortalAdmin/views_forum.py
elryndir/GuildPortal
d9604bdffdca93debcf5a4063b56e7f0efcc49fd
[ "MIT" ]
null
null
null
PortalAdmin/views_forum.py
elryndir/GuildPortal
d9604bdffdca93debcf5a4063b56e7f0efcc49fd
[ "MIT" ]
null
null
null
from braces.views import LoginRequiredMixin, StaffuserRequiredMixin from django.views.generic import ListView from Forum.models import Category, Forum __author__ = 'Alexandre Cloquet' class ListCategoryView(LoginRequiredMixin, StaffuserRequiredMixin, ListView): model = Category template_name = 'Administratio...
35.733333
77
0.809701
52
536
8.153846
0.5
0.283019
0.226415
0.25
0
0
0
0
0
0
0
0
0.119403
536
15
78
35.733333
0.898305
0
0
0
0
0
0.201117
0.143389
0
0
0
0
0
1
0
false
0
0.272727
0
0.909091
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
1
0
0
4
b13131ad2feb3e3f5bea436cabb011e52cd6bca0
110
py
Python
logfile/__init__.py
TheBigCock/A-simple-and-effective-method-for-Occluded-Person-Re-id
d976aa959ad92186e797062f6fe39f9e2f5d1b61
[ "MulanPSL-1.0" ]
null
null
null
logfile/__init__.py
TheBigCock/A-simple-and-effective-method-for-Occluded-Person-Re-id
d976aa959ad92186e797062f6fe39f9e2f5d1b61
[ "MulanPSL-1.0" ]
null
null
null
logfile/__init__.py
TheBigCock/A-simple-and-effective-method-for-Occluded-Person-Re-id
d976aa959ad92186e797062f6fe39f9e2f5d1b61
[ "MulanPSL-1.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # author:1111 # datetime:2019/9/1 11:40 # software: PyCharm
22
26
0.627273
17
110
4.058824
1
0
0
0
0
0
0
0
0
0
0
0.173913
0.163636
110
5
27
22
0.576087
0.881818
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
b13d814aad6f2655c929a2016ea129cedf3923e1
95
py
Python
jade.py
jade-emperror/instabot
0279603277511bc6df481ab935cb628b863d06b8
[ "MIT" ]
1
2021-08-13T08:19:08.000Z
2021-08-13T08:19:08.000Z
jade.py
jade-emperror/instabot
0279603277511bc6df481ab935cb628b863d06b8
[ "MIT" ]
null
null
null
jade.py
jade-emperror/instabot
0279603277511bc6df481ab935cb628b863d06b8
[ "MIT" ]
1
2021-08-13T07:57:02.000Z
2021-08-13T07:57:02.000Z
class profile: def __init__(self): self.uid="username" self.pwd="password"
19
27
0.6
11
95
4.818182
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.273684
95
4
28
23.75
0.768116
0
0
0
0
0
0.168421
0
0
0
0
0
0
1
0.25
false
0.25
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
b14a79ca30b989959134a9bcb17e58e4b8393340
146
py
Python
render/frame/__init__.py
bvraghav/standible
ce93fb7b3b428be1f4cbbe64cc6f3e0e2bb6f5b8
[ "MIT" ]
1
2021-09-06T08:20:13.000Z
2021-09-06T08:20:13.000Z
render/frame/__init__.py
bvraghav/standible
ce93fb7b3b428be1f4cbbe64cc6f3e0e2bb6f5b8
[ "MIT" ]
null
null
null
render/frame/__init__.py
bvraghav/standible
ce93fb7b3b428be1f4cbbe64cc6f3e0e2bb6f5b8
[ "MIT" ]
null
null
null
from . FrameDefault import FrameDefault from . FrameGnomon import FrameGnomon from . FrameSketchGeom import FrameSketchGeom __all__ = locals()
24.333333
46
0.815068
14
146
8.214286
0.5
0
0
0
0
0
0
0
0
0
0
0
0.143836
146
5
47
29.2
0.92
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b15e0b71add85fe72bc43627ec41f8a0641692d5
167
py
Python
music/create_song_index.py
naren-m/home_assistant
a20d64b79d97cbb2c9bae197c0900515ed8bfbfc
[ "MIT" ]
null
null
null
music/create_song_index.py
naren-m/home_assistant
a20d64b79d97cbb2c9bae197c0900515ed8bfbfc
[ "MIT" ]
null
null
null
music/create_song_index.py
naren-m/home_assistant
a20d64b79d97cbb2c9bae197c0900515ed8bfbfc
[ "MIT" ]
null
null
null
import eyeD3 tab - eyeD3.Tag() song_link = "/home/narenuday/Music/songs/Zariya.mp3" tag.link(song_link) print tag.getArtist() print tag.getAlbum() print tag.getTitle()
23.857143
52
0.766467
26
167
4.846154
0.615385
0.190476
0
0
0
0
0
0
0
0
0
0.019608
0.083832
167
7
53
23.857143
0.803922
0
0
0
0
0
0.22619
0.22619
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.428571
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
1
0
4
b17a246d1d4bd536151f6f980f5dca215165a262
8,711
py
Python
tracportal/project_list/model.py
isabella232/TracPortalPlugin
985581b16aad360cfc78d6b901c93fb922f7bc30
[ "MIT" ]
2
2015-01-19T05:53:30.000Z
2016-01-08T10:30:02.000Z
tracportal/project_list/model.py
iij/TracPortalPlugin
985581b16aad360cfc78d6b901c93fb922f7bc30
[ "MIT" ]
1
2022-01-20T12:47:18.000Z
2022-01-20T12:47:18.000Z
tracportal/project_list/model.py
isabella232/TracPortalPlugin
985581b16aad360cfc78d6b901c93fb922f7bc30
[ "MIT" ]
3
2016-12-08T02:25:36.000Z
2022-01-20T12:10:58.000Z
# -*- coding: utf-8 -*- # # Data Models. # # (C) 2013 Internet Initiative Japan Inc. # All rights reserved. # # Created on 2011/01/27 # @author: yosinobu@iij.ad.jp import time from trac.config import IntOption from trac.core import TracError from trac.resource import ResourceNotFound from tracportal.i18n import _ fr...
36.755274
93
0.574676
1,047
8,711
4.613181
0.129895
0.049275
0.031884
0.033126
0.80559
0.769358
0.712422
0.693582
0.659006
0.639959
0
0.012462
0.318333
8,711
236
94
36.911017
0.800943
0.083802
0
0.557471
0
0.005747
0.251148
0.020536
0
0
0
0
0.034483
1
0.103448
false
0
0.034483
0.011494
0.195402
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b17a4de447c0ea24e399b9dbf4064e3775fea0bc
1,318
py
Python
studygroups/migrations/0076_auto_20170825_1019.py
p2pu/learning-circles
ccd94208ec18082f8fda6d7f21eacdd71bad6023
[ "MIT" ]
10
2016-05-03T20:41:25.000Z
2021-09-17T18:42:01.000Z
studygroups/migrations/0076_auto_20170825_1019.py
p2pu/learning-circles
ccd94208ec18082f8fda6d7f21eacdd71bad6023
[ "MIT" ]
655
2016-05-04T19:00:35.000Z
2022-03-28T13:09:20.000Z
studygroups/migrations/0076_auto_20170825_1019.py
p2pu/learning-circles
ccd94208ec18082f8fda6d7f21eacdd71bad6023
[ "MIT" ]
8
2016-05-06T10:24:27.000Z
2020-10-21T00:56:59.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-08-25 10:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('studygroups', '0075_auto_20170823_1537'), ] operations = [ migrations.AlterField( model_name='course',...
25.843137
51
0.531108
118
1,318
5.79661
0.415254
0.204678
0.255848
0.296784
0.611111
0.399123
0
0
0
0
0
0.053551
0.348255
1,318
50
52
26.36
0.742724
0.051593
0
0.5
1
0
0.098637
0.018444
0
0
0
0
0
1
0
false
0
0.02381
0
0.095238
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b18889fc0c1eecda09751e2249916cbab3890d36
101
py
Python
flask_sapb1/__init__.py
Python3pkg/Flask-SAPB1
40b4afd963a7d41f6b026db87b555b9136bfcfbd
[ "MIT" ]
null
null
null
flask_sapb1/__init__.py
Python3pkg/Flask-SAPB1
40b4afd963a7d41f6b026db87b555b9136bfcfbd
[ "MIT" ]
null
null
null
flask_sapb1/__init__.py
Python3pkg/Flask-SAPB1
40b4afd963a7d41f6b026db87b555b9136bfcfbd
[ "MIT" ]
1
2019-12-12T12:31:44.000Z
2019-12-12T12:31:44.000Z
__all__ = ["flask_sapb1"] from .flask_sapb1 import SAPB1COMAdaptor, MSSQLCursorAdaptor, SAPB1Adaptor
33.666667
74
0.831683
10
101
7.8
0.8
0.25641
0
0
0
0
0
0
0
0
0
0.043478
0.089109
101
2
75
50.5
0.804348
0
0
0
0
0
0.108911
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
b191e0c36dc59ffd4e17b5e9cf6630f3b863de30
154
py
Python
feed/forms.py
litanpranab/django-101-repo
3aaa166714fdd5065e5dc225ad71a0dbd97af4a7
[ "MIT" ]
null
null
null
feed/forms.py
litanpranab/django-101-repo
3aaa166714fdd5065e5dc225ad71a0dbd97af4a7
[ "MIT" ]
null
null
null
feed/forms.py
litanpranab/django-101-repo
3aaa166714fdd5065e5dc225ad71a0dbd97af4a7
[ "MIT" ]
null
null
null
from cProfile import label from django import forms class PostForm(forms.Form): text = forms.CharField(label='Title') image = forms.FileField()
19.25
41
0.733766
20
154
5.65
0.7
0
0
0
0
0
0
0
0
0
0
0
0.168831
154
7
42
22
0.882813
0
0
0
0
0
0.032468
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
1
0
0
4
492a6225d657b7381cc6efa39b71b8e9a91b8857
238
py
Python
holobot/extensions/moderation/commands/responses/log_channel_toggled_response.py
rexor12/holobot
89b7b416403d13ccfeee117ef942426b08d3651d
[ "MIT" ]
1
2021-05-24T00:17:46.000Z
2021-05-24T00:17:46.000Z
holobot/extensions/moderation/commands/responses/log_channel_toggled_response.py
rexor12/holobot
89b7b416403d13ccfeee117ef942426b08d3651d
[ "MIT" ]
41
2021-03-24T22:50:09.000Z
2021-12-17T12:15:13.000Z
holobot/extensions/moderation/commands/responses/log_channel_toggled_response.py
rexor12/holobot
89b7b416403d13ccfeee117ef942426b08d3651d
[ "MIT" ]
null
null
null
from dataclasses import dataclass from holobot.discord.sdk.commands.models import CommandResponse @dataclass class LogChannelToggledResponse(CommandResponse): author_id: str = "" is_enabled: bool = False channel_id: str = ""
26.444444
63
0.773109
26
238
6.961538
0.769231
0.055249
0
0
0
0
0
0
0
0
0
0
0.151261
238
8
64
29.75
0.89604
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
492a895ea3cc115c5d93b3c00c6023c50dcf5f39
54
py
Python
__init__.py
agcooke/Python-Wave-Forecast
adaf4788da06143aa8b1ab4908e542cbb44073e8
[ "BSD-3-Clause" ]
4
2017-09-21T07:59:43.000Z
2021-07-12T16:19:36.000Z
__init__.py
agcooke/Python-Wave-Forecast
adaf4788da06143aa8b1ab4908e542cbb44073e8
[ "BSD-3-Clause" ]
null
null
null
__init__.py
agcooke/Python-Wave-Forecast
adaf4788da06143aa8b1ab4908e542cbb44073e8
[ "BSD-3-Clause" ]
1
2018-04-09T19:51:47.000Z
2018-04-09T19:51:47.000Z
__author__="cooke" __date__ ="$10-Dec-2011 11:57:59$"
18
34
0.703704
9
54
3.333333
1
0
0
0
0
0
0
0
0
0
0
0.24
0.074074
54
2
35
27
0.36
0
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
49338ee37476dfa755cfd9acf11154617007d0d3
319
py
Python
versions.py
hash451722/MNISTCamera
89b5d8a75082ec0e87c2f3f073d43e6701355473
[ "MIT" ]
null
null
null
versions.py
hash451722/MNISTCamera
89b5d8a75082ec0e87c2f3f073d43e6701355473
[ "MIT" ]
null
null
null
versions.py
hash451722/MNISTCamera
89b5d8a75082ec0e87c2f3f073d43e6701355473
[ "MIT" ]
null
null
null
import platform import cv2 import torch import torchvision def print_version(): print("Python", platform.python_version()) print("OpenCV", cv2.__version__) print("PyTorch", torch.__version__) print("torchvision", torchvision.__version__) if __name__ == '__main__': print_version()
21.266667
50
0.695925
33
319
6.030303
0.424242
0.241206
0
0
0
0
0
0
0
0
0
0.007752
0.191223
319
15
51
21.266667
0.763566
0
0
0
0
0
0.124183
0
0
0
0
0
0
1
0.090909
true
0
0.363636
0
0.454545
0.545455
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
4
4947427bade2e650406d7db4335b4f0deb52c34f
222
py
Python
CodingBat/Python/List-1/make_ends.py
Togohogo1/pg
ee3c36acde47769c66ee13a227762ee677591375
[ "MIT" ]
null
null
null
CodingBat/Python/List-1/make_ends.py
Togohogo1/pg
ee3c36acde47769c66ee13a227762ee677591375
[ "MIT" ]
1
2021-10-14T18:26:56.000Z
2021-10-14T18:26:56.000Z
CodingBat/Python/List-1/make_ends.py
Togohogo1/pg
ee3c36acde47769c66ee13a227762ee677591375
[ "MIT" ]
1
2021-08-06T03:39:55.000Z
2021-08-06T03:39:55.000Z
''' Given an array of ints, return a new array length 2 containing the first and last elements from the original array. The original array will be length 1 or more. ''' def make_ends(nums): return [nums[0], nums[-1]]
24.666667
77
0.720721
39
222
4.076923
0.717949
0.138365
0.201258
0
0
0
0
0
0
0
0
0.022222
0.189189
222
8
78
27.75
0.861111
0.720721
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
4948fa125f0eb03ab5281493ecdf3faa1ffb4054
20,511
py
Python
tests/unit/vpc/test_routetable.py
Yurzs/boto
d739d6c52877699206e69b9901bbe92ea437ba5d
[ "MIT" ]
5,079
2015-01-01T03:39:46.000Z
2022-03-31T07:38:22.000Z
tests/unit/vpc/test_routetable.py
Yurzs/boto
d739d6c52877699206e69b9901bbe92ea437ba5d
[ "MIT" ]
4,640
2015-07-08T16:19:08.000Z
2019-12-02T15:01:27.000Z
tests/unit/vpc/test_routetable.py
Yurzs/boto
d739d6c52877699206e69b9901bbe92ea437ba5d
[ "MIT" ]
2,033
2015-01-04T07:18:02.000Z
2022-03-28T19:55:47.000Z
from tests.unit import unittest from tests.unit import AWSMockServiceTestCase from boto.vpc import VPCConnection, RouteTable class TestDescribeRouteTables(AWSMockServiceTestCase): connection_class = VPCConnection def default_body(self): return b""" <DescribeRouteTablesResponse xmlns="ht...
45.885906
99
0.587002
1,818
20,511
6.431243
0.094609
0.015737
0.016421
0.108536
0.811067
0.768902
0.741789
0.666353
0.627951
0.609049
0
0.059961
0.29667
20,511
446
100
45.988789
0.75052
0
0
0.67602
0
0
0.432792
0.127883
0
0
0
0
0.183673
1
0.063776
false
0
0.007653
0.022959
0.140306
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
495575ee23bd3b36debdbe475186be518a0493c4
139
py
Python
src/gpt2/__init__.py
azadyasar/GPT2
913590671d731e59815e61bb52645ee291daa970
[ "Apache-2.0" ]
null
null
null
src/gpt2/__init__.py
azadyasar/GPT2
913590671d731e59815e61bb52645ee291daa970
[ "Apache-2.0" ]
null
null
null
src/gpt2/__init__.py
azadyasar/GPT2
913590671d731e59815e61bb52645ee291daa970
[ "Apache-2.0" ]
null
null
null
from gpt2 import (train_model, evaluate_model, generate_sentences, visualize_metrics)
34.75
37
0.532374
11
139
6.363636
0.909091
0
0
0
0
0
0
0
0
0
0
0.012658
0.431655
139
4
38
34.75
0.873418
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
496af4124905cec3a8edccc15a754ced2c919f06
94
py
Python
TI/src/World/Item.py
smips/Temporary_Insanity
2befafd03150673a5ad500d5c459b9d980acb773
[ "MIT" ]
null
null
null
TI/src/World/Item.py
smips/Temporary_Insanity
2befafd03150673a5ad500d5c459b9d980acb773
[ "MIT" ]
null
null
null
TI/src/World/Item.py
smips/Temporary_Insanity
2befafd03150673a5ad500d5c459b9d980acb773
[ "MIT" ]
null
null
null
import GameObject class Item(GameObject.GameObject): """description of class"""
13.428571
35
0.670213
10
94
6.4
0.7
0
0
0
0
0
0
0
0
0
0
0
0.212766
94
6
36
15.666667
0.851351
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.5
null
null
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
1
0
0
0
1
0
0
0
0
4
496d3efea2f64b15757ac43e5c17c9f4735db0e3
16,081
py
Python
SBaaS_isotopomer/stage01_isotopomer_peakData_query.py
dmccloskey/SBaaS_isotopomer
b669abd6e41034739a2c53d855005753e658c436
[ "MIT" ]
null
null
null
SBaaS_isotopomer/stage01_isotopomer_peakData_query.py
dmccloskey/SBaaS_isotopomer
b669abd6e41034739a2c53d855005753e658c436
[ "MIT" ]
null
null
null
SBaaS_isotopomer/stage01_isotopomer_peakData_query.py
dmccloskey/SBaaS_isotopomer
b669abd6e41034739a2c53d855005753e658c436
[ "MIT" ]
null
null
null
from .stage01_isotopomer_peakData_postgresql_models import * from SBaaS_LIMS.lims_experiment_postgresql_models import * from SBaaS_LIMS.lims_sample_postgresql_models import * from SBaaS_base.sbaas_base_query_update import sbaas_base_query_update from SBaaS_base.sbaas_base_query_drop import sbaas_base_query_drop from S...
60.228464
188
0.658292
1,757
16,081
5.572567
0.07399
0.140639
0.169441
0.210295
0.794199
0.751813
0.709938
0.663058
0.630375
0.617404
0
0.015202
0.275978
16,081
267
189
60.228464
0.825732
0.061315
0
0.614108
0
0
0.044301
0.031843
0
0
0
0
0
1
0.062241
false
0
0.041494
0
0.141079
0.058091
0
0
0
null
0
0
1
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
4
4993889af91275e8e86184e332710ce1211aceea
91
py
Python
studyguide/apps.py
fboerman/coursebrowser
dd1e483a9720021a55554cd9cf95037d1037eb9b
[ "BSD-3-Clause" ]
null
null
null
studyguide/apps.py
fboerman/coursebrowser
dd1e483a9720021a55554cd9cf95037d1037eb9b
[ "BSD-3-Clause" ]
1
2020-09-07T08:03:54.000Z
2020-10-02T09:05:24.000Z
studyguide/apps.py
KolibriSolutions/coursebrowser
dd1e483a9720021a55554cd9cf95037d1037eb9b
[ "BSD-3-Clause" ]
null
null
null
from django.apps import AppConfig class OsirisConfig(AppConfig): name = 'studyguide'
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.10989
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b8c887049c2627d55d6816c2f7039765ca2f8058
46
py
Python
hw0_release/.env/lib/python3.7/site-packages/IPython/utils/_sysinfo.py
Renhy/CS131_release
23b92d04c4cbb122da18dc929199d3d06fb0251f
[ "MIT" ]
1
2021-11-25T02:14:23.000Z
2021-11-25T02:14:23.000Z
Lib/site-packages/IPython/utils/_sysinfo.py
caiyongji/Anaconda-py36.5-tensorflow-built-env
f4eb40b5ca3f49dfc929ff3ad2b4bb877e9663e2
[ "PSF-2.0" ]
1
2021-11-15T17:46:44.000Z
2021-11-15T17:46:44.000Z
Lib/site-packages/IPython/utils/_sysinfo.py
caiyongji/Anaconda-py36.5-tensorflow-built-env
f4eb40b5ca3f49dfc929ff3ad2b4bb877e9663e2
[ "PSF-2.0" ]
null
null
null
# GENERATED BY setup.py commit = u"d774f565b"
15.333333
23
0.73913
7
46
4.857143
1
0
0
0
0
0
0
0
0
0
0
0.153846
0.152174
46
2
24
23
0.717949
0.456522
0
0
1
0
0.391304
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b8e62c419288c2d42ea81494f0c0794bbf42f51d
89
py
Python
backend/booking/apps.py
crowdbotics-apps/zaka-28999
5c9fff173a11033fc15f3930c2665b077756d738
[ "FTL", "AML", "RSA-MD" ]
1
2020-04-16T15:35:46.000Z
2020-04-16T15:35:46.000Z
backend/booking/apps.py
crowdbotics-apps/zaka-28999
5c9fff173a11033fc15f3930c2665b077756d738
[ "FTL", "AML", "RSA-MD" ]
28
2021-08-08T19:40:57.000Z
2022-02-13T16:34:21.000Z
backend/booking/apps.py
crowdbotics-apps/nyk-30233
d5770a0622a3af836cbd70857ef3c2751692e3ef
[ "FTL", "AML", "RSA-MD" ]
2
2020-02-29T13:55:47.000Z
2020-12-02T10:06:25.000Z
from django.apps import AppConfig class BookingConfig(AppConfig): name = "booking"
14.833333
33
0.752809
10
89
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
34
17.8
0.905405
0
0
0
0
0
0.078652
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b8e88fe954637588fe8598694dd916214282d225
584
py
Python
web/models.py
wabscale/flasq
ea5cba81c3259441f64e96a7c63d2234728100a3
[ "MIT" ]
1
2022-02-25T02:12:10.000Z
2022-02-25T02:12:10.000Z
web/models.py
wabscale/flasq
ea5cba81c3259441f64e96a7c63d2234728100a3
[ "MIT" ]
null
null
null
web/models.py
wabscale/flasq
ea5cba81c3259441f64e96a7c63d2234728100a3
[ "MIT" ]
null
null
null
from werkzeug.security import generate_password_hash, check_password_hash from flask_login import UserMixin from .app import db class User(db.Model, UserMixin): id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(128), unique=True, index=True) password = db.Column(db.String(128), n...
30.736842
73
0.738014
80
584
5.225
0.425
0.114833
0.07177
0.076555
0.090909
0
0
0
0
0
0
0.012346
0.167808
584
18
74
32.444444
0.847737
0
0
0
1
0
0
0
0
0
0
0
0
1
0.230769
false
0.461538
0.230769
0.153846
0.923077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
4
b8effe7cbaaac799f748e9d537181ae2dd50c51f
1,477
py
Python
test/test_user_profile_api.py
FastReports/FastReport-Cloud-Python
4442e19ef4c980222ede6d9e0597f564d6d85b26
[ "MIT" ]
null
null
null
test/test_user_profile_api.py
FastReports/FastReport-Cloud-Python
4442e19ef4c980222ede6d9e0597f564d6d85b26
[ "MIT" ]
null
null
null
test/test_user_profile_api.py
FastReports/FastReport-Cloud-Python
4442e19ef4c980222ede6d9e0597f564d6d85b26
[ "MIT" ]
null
null
null
# coding: utf-8 """ FastReport Cloud No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: v1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unitt...
26.854545
184
0.7109
192
1,477
5.197917
0.385417
0.121242
0.072144
0.04509
0.370741
0.325651
0.297595
0.179359
0
0
0
0.017346
0.219364
1,477
54
185
27.351852
0.848222
0.480027
0
0.222222
1
0
0.011923
0
0
0
0
0
0
1
0.277778
false
0.222222
0.277778
0
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
77226f739af1b65db4b1fd0062029ebaafa2333f
183
py
Python
constance/apps.py
jerzyk/django-constance
d9a98edfc112ec696299ef2b1333d3f492dfae6d
[ "BSD-3-Clause" ]
2
2017-06-21T09:46:55.000Z
2018-05-30T10:07:32.000Z
constance/apps.py
jerzyk/django-constance
d9a98edfc112ec696299ef2b1333d3f492dfae6d
[ "BSD-3-Clause" ]
null
null
null
constance/apps.py
jerzyk/django-constance
d9a98edfc112ec696299ef2b1333d3f492dfae6d
[ "BSD-3-Clause" ]
1
2020-10-01T04:11:41.000Z
2020-10-01T04:11:41.000Z
from django.apps import AppConfig from django.utils.translation import ugettext_lazy as _ class ConstanceConfig(AppConfig): name = 'constance' verbose_name = _('Constance')
22.875
55
0.770492
21
183
6.52381
0.714286
0.145985
0
0
0
0
0
0
0
0
0
0
0.153005
183
7
56
26.142857
0.883871
0
0
0
0
0
0.098361
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
1
0
0
4
773464bb6fa2467e9b2e446853309d6ddf05f0e6
18
py
Python
rivalcfg/version.py
nixtux/rivalcfg
abe0dd650f6a592c539751cda9652319aea2c342
[ "WTFPL" ]
null
null
null
rivalcfg/version.py
nixtux/rivalcfg
abe0dd650f6a592c539751cda9652319aea2c342
[ "WTFPL" ]
null
null
null
rivalcfg/version.py
nixtux/rivalcfg
abe0dd650f6a592c539751cda9652319aea2c342
[ "WTFPL" ]
null
null
null
VERSION = "4.2.0"
9
17
0.555556
4
18
2.5
1
0
0
0
0
0
0
0
0
0
0
0.2
0.166667
18
1
18
18
0.466667
0
0
0
0
0
0.277778
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
77541547414d88c5eb48362beba3f6795d4178ac
1,850
py
Python
tests/model/test_config.py
kylape/yacg
bbfe369445b9572d4190f4bd37bcbcf13245f359
[ "MIT" ]
null
null
null
tests/model/test_config.py
kylape/yacg
bbfe369445b9572d4190f4bd37bcbcf13245f359
[ "MIT" ]
null
null
null
tests/model/test_config.py
kylape/yacg
bbfe369445b9572d4190f4bd37bcbcf13245f359
[ "MIT" ]
null
null
null
# Attention, this file is generated. Manual changes get lost with the next # run of the code generation. # created by yacg (template: pythonBeans.mako v1.0.0) import unittest import yacg.model.config class TestYacgConfigurationModel (unittest.TestCase): def testJob(self): x = yacg.model.config.Job() ...
34.259259
98
0.732973
180
1,850
7.488889
0.344444
0.106825
0.178042
0.166172
0.48368
0.379822
0
0
0
0
0
0.001963
0.174054
1,850
53
99
34.90566
0.880236
0.082162
0
0.194444
1
0
0.004723
0
0
0
0
0
0.416667
1
0.25
false
0
0.055556
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
4
775ba38b47dcd716b42d16b4fbadf4b5d632dc52
139
py
Python
Dict_Tuple.py
arpansarkar190794/Arpan_Sarkar
b36f66f0ed00668b005fae903ce463883a803fd5
[ "bzip2-1.0.6" ]
null
null
null
Dict_Tuple.py
arpansarkar190794/Arpan_Sarkar
b36f66f0ed00668b005fae903ce463883a803fd5
[ "bzip2-1.0.6" ]
null
null
null
Dict_Tuple.py
arpansarkar190794/Arpan_Sarkar
b36f66f0ed00668b005fae903ce463883a803fd5
[ "bzip2-1.0.6" ]
null
null
null
D1={'SID':12,'SN':'Arpan','STM':200} print(D1) T1 =(('col1','col2','col3'),('red','blue','yellow')) print(T1) print (D1['SID'])
15.444444
53
0.510791
21
139
3.380952
0.714286
0.140845
0
0
0
0
0
0
0
0
0
0.107438
0.129496
139
8
54
17.375
0.479339
0
0
0
0
0
0.315385
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
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
1
0
4
6230620782d8a9ce578b71ec6a79e2fa8e02a90a
140
py
Python
plugin/depth_lidar_supervision/detector.py
a1600012888/mmdet3d-plugin
c22b5c740cb79fe7815282b47aafb06c5960a158
[ "Apache-2.0" ]
null
null
null
plugin/depth_lidar_supervision/detector.py
a1600012888/mmdet3d-plugin
c22b5c740cb79fe7815282b47aafb06c5960a158
[ "Apache-2.0" ]
null
null
null
plugin/depth_lidar_supervision/detector.py
a1600012888/mmdet3d-plugin
c22b5c740cb79fe7815282b47aafb06c5960a158
[ "Apache-2.0" ]
null
null
null
from mmdet.models import DETECTORS import torch @DETECTORS.register_module() class MyModel(object): def __init__(self, ): pass
17.5
34
0.728571
17
140
5.705882
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.185714
140
8
35
17.5
0.850877
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
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
1
1
0
0
0
0
4
625ca7e148d76f83f7dd8736a093117d8792cd64
100
py
Python
venv/Lib/site-packages/scipy/io/matlab/tests/data/japanese_utf8.txt.py
roshanba/mangal
f7b428811dc07214009cc33f0beb665ead402038
[ "bzip2-1.0.6", "MIT" ]
null
null
null
venv/Lib/site-packages/scipy/io/matlab/tests/data/japanese_utf8.txt.py
roshanba/mangal
f7b428811dc07214009cc33f0beb665ead402038
[ "bzip2-1.0.6", "MIT" ]
null
null
null
venv/Lib/site-packages/scipy/io/matlab/tests/data/japanese_utf8.txt.py
roshanba/mangal
f7b428811dc07214009cc33f0beb665ead402038
[ "bzip2-1.0.6", "MIT" ]
null
null
null
XXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXX XXXXXXXXXX XXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX
20
24
0.94
6
100
15.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.06
100
5
24
20
1
0
0
0.4
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
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
1
0
0
0
0
0
0
0
0
4
6555e89e35a4d79924dc4f938c15b5f1cb1ed59a
83
py
Python
python/testData/inspections/PyCompatibilityInspection/underscoreBz2Module.py
Tasemo/intellij-community
50aeaf729b7073e91c7c77487a1f155e0dfe3fcd
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/inspections/PyCompatibilityInspection/underscoreBz2Module.py
Tasemo/intellij-community
50aeaf729b7073e91c7c77487a1f155e0dfe3fcd
[ "Apache-2.0" ]
null
null
null
python/testData/inspections/PyCompatibilityInspection/underscoreBz2Module.py
Tasemo/intellij-community
50aeaf729b7073e91c7c77487a1f155e0dfe3fcd
[ "Apache-2.0" ]
null
null
null
import <warning descr="Python version 2.7 does not have module _bz2">_bz2</warning>
83
83
0.783133
14
83
4.5
0.857143
0
0
0
0
0
0
0
0
0
0
0.054054
0.108434
83
1
83
83
0.797297
0
0
0
0
0
0.52381
0
0
0
0
0
0
0
null
null
0
1
null
null
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
1
0
0
0
1
0
0
0
0
4
6566e28cbf47b61e8f5d93be7356963ee730033a
56,608
py
Python
RPG_walking_a_path/dialogs.py
poly451/Misc
fc8011488ebd3450b5b2088f1288d299b8324af9
[ "MIT" ]
null
null
null
RPG_walking_a_path/dialogs.py
poly451/Misc
fc8011488ebd3450b5b2088f1288d299b8324af9
[ "MIT" ]
null
null
null
RPG_walking_a_path/dialogs.py
poly451/Misc
fc8011488ebd3450b5b2088f1288d299b8324af9
[ "MIT" ]
null
null
null
import pygame import constants import random import utils # from inventory_classes import Inventory from shutil import copyfile import os, sys # ------------------------------------------------------------ # class DialogMerchant # ------------------------------------------------------------ class D...
43.411043
160
0.520191
5,792
56,608
4.857735
0.068715
0.025874
0.031561
0.022747
0.764572
0.731661
0.70767
0.677175
0.660719
0.644157
0
0.012455
0.296531
56,608
1,304
161
43.411043
0.694089
0.208115
0
0.718436
0
0
0.031725
0
0
0
0
0
0
1
0.080447
false
0.004469
0.008939
0
0.107263
0.018994
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
65703e9935a41d58f23c3fc3578862fcc9e1b291
466
py
Python
ecommerce/exceptions.py
umarmughal824/bootcamp-ecommerce
681bcc788a66867b8f240790c0ed33680b73932b
[ "BSD-3-Clause" ]
2
2018-06-20T19:37:03.000Z
2021-01-06T09:51:40.000Z
ecommerce/exceptions.py
mitodl/bootcamp-ecommerce
ba7d6aefe56c6481ae2a5afc84cdd644538b6d50
[ "BSD-3-Clause" ]
1,226
2017-02-23T14:52:28.000Z
2022-03-29T13:19:54.000Z
ecommerce/exceptions.py
umarmughal824/bootcamp-ecommerce
681bcc788a66867b8f240790c0ed33680b73932b
[ "BSD-3-Clause" ]
3
2017-03-20T03:51:27.000Z
2021-03-19T15:54:31.000Z
""" Exceptions for ecommerce """ class EcommerceException(Exception): """ General exception regarding ecommerce """ class EcommerceModelException(Exception): """ Exception regarding ecommerce models """ class ParseException(Exception): """ Exception regarding parsing CyberSource re...
16.642857
61
0.699571
36
466
9.055556
0.583333
0.220859
0.248466
0
0
0
0
0
0
0
0
0
0.2103
466
27
62
17.259259
0.88587
0.45279
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
1.25
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
1
0
0
0
1
0
0
4
657ab70f380dd3d7fb5feee4635fd6395df2b92c
358
py
Python
templates/email/reset_password_email.py
AndreMPCosta/backend-ecommerce
002666a424c2c6d294d7e50a9e8269ae75ab87ce
[ "MIT" ]
1
2021-12-05T06:41:39.000Z
2021-12-05T06:41:39.000Z
templates/email/reset_password_email.py
AndreMPCosta/backend-ecommerce
002666a424c2c6d294d7e50a9e8269ae75ab87ce
[ "MIT" ]
null
null
null
templates/email/reset_password_email.py
AndreMPCosta/backend-ecommerce
002666a424c2c6d294d7e50a9e8269ae75ab87ce
[ "MIT" ]
null
null
null
reset_template = { 'pt': 'Aceda a esta hiperligação para fazer o reset da sua password: <a href={link}>{link}</a><br>' 'Se não fez este pedido, por favor ignore este email.', 'en-US': 'Please access this hyperlink to reset your password: <a href={link}>{link}</a><br>' "If you did not requ...
59.666667
103
0.642458
56
358
4.089286
0.678571
0.078603
0.113537
0.148472
0.209607
0.209607
0.209607
0
0
0
0
0
0.22067
358
6
104
59.666667
0.820789
0
0
0
0
0.333333
0.796657
0.144847
0
0
0
0
0
1
0
false
0.333333
0
0
0
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
1
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
657b23640c913d4cb67ee8b701739aebb949dc3a
220
py
Python
helper/get_access_key.py
HorizonKinen/YoutubeToBilibili
3203741ef29cd3ef56b4e86d88b41d02da9c405b
[ "WTFPL" ]
22
2021-04-01T03:25:45.000Z
2021-11-07T12:21:01.000Z
helper/get_access_key.py
TeamToki/YoutubeToBilibili
3203741ef29cd3ef56b4e86d88b41d02da9c405b
[ "WTFPL" ]
3
2021-01-30T08:21:22.000Z
2021-01-31T11:14:47.000Z
helper/get_access_key.py
HorizonKinen/YoutubeToBilibili
3203741ef29cd3ef56b4e86d88b41d02da9c405b
[ "WTFPL" ]
8
2021-04-02T10:54:56.000Z
2021-11-18T19:48:44.000Z
from bilibili_api import sync, video_uploader print("acc:") acc = input() print("pw:") pw = input() credential = video_uploader.VideoUploaderCredential(account=acc, password=pw) print(sync(credential.get_access_key()))
24.444444
77
0.772727
29
220
5.689655
0.62069
0.157576
0
0
0
0
0
0
0
0
0
0
0.086364
220
9
78
24.444444
0.820896
0
0
0
0
0
0.031674
0
0
0
0
0
0
1
0
false
0.142857
0.142857
0
0.142857
0.428571
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
1
0
4
65c558f270fee4499e7a84ad7c47a1fad959d478
325
py
Python
engineer/datasets/pipelines/__init__.py
lingtengqiu/Open-PIFuhd
3a66b647bcf5591e818af62735e64a93c4aaef85
[ "MIT" ]
191
2021-03-18T08:09:06.000Z
2022-03-21T05:48:02.000Z
engineer/datasets/pipelines/__init__.py
lingtengqiu/Open-PIFuhd
3a66b647bcf5591e818af62735e64a93c4aaef85
[ "MIT" ]
9
2021-03-18T10:34:25.000Z
2022-01-05T19:22:48.000Z
engineer/datasets/pipelines/__init__.py
lingtengqiu/Open-PIFuhd
3a66b647bcf5591e818af62735e64a93c4aaef85
[ "MIT" ]
26
2021-03-18T08:09:08.000Z
2022-03-28T01:07:19.000Z
from .compose import Compose from .formating import ToTensor,Collect,FormatShape from .process import img_pad,flip,scale,random_crop_trans,resize,color_jitter,normalize_normal __all__ =['Compose','ToTensor','Collect','FormatShape','img_pad','flip','scale','random_crop_trans','resize',\ 'color_jitter','normalize_nor...
65
110
0.8
42
325
5.857143
0.5
0.121951
0.211382
0.121951
0.504065
0.504065
0.504065
0.504065
0.504065
0.504065
0
0
0.055385
325
5
111
65
0.801303
0
0
0
0
0
0.306748
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
028ebee5e3ddca32a6d07f2cdab7b4185e9982ef
95
py
Python
loqusdb/exceptions/vcf.py
Clinical-Genomics/loqusdb
0b72a436e68e23ecc6c4610ed7e58727fdabcaa2
[ "MIT" ]
1
2021-12-10T12:01:48.000Z
2021-12-10T12:01:48.000Z
loqusdb/exceptions/vcf.py
Clinical-Genomics/loqusdb
0b72a436e68e23ecc6c4610ed7e58727fdabcaa2
[ "MIT" ]
10
2019-03-27T08:50:38.000Z
2022-01-14T15:26:38.000Z
loqusdb/exceptions/vcf.py
Clinical-Genomics/loqusdb
0b72a436e68e23ecc6c4610ed7e58727fdabcaa2
[ "MIT" ]
null
null
null
class VcfError(Exception): """A general exception for problems with VCF files""" pass
19
57
0.694737
12
95
5.5
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.210526
95
4
58
23.75
0.88
0.494737
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
02afcb0a364f08f3a60dca17892b508a7a6c6e78
144
py
Python
ibllib/io/extractors/__init__.py
k1o0/ibllib
842a8d72e0b75153126296061f4561f477e99646
[ "MIT" ]
1
2020-11-21T07:02:21.000Z
2020-11-21T07:02:21.000Z
ibllib/io/extractors/__init__.py
k1o0/ibllib
842a8d72e0b75153126296061f4561f477e99646
[ "MIT" ]
null
null
null
ibllib/io/extractors/__init__.py
k1o0/ibllib
842a8d72e0b75153126296061f4561f477e99646
[ "MIT" ]
null
null
null
from ibllib.io.extractors import (biased_trials, ephys_fpga, training_wheel, training_audio, training_trials)
48
76
0.652778
15
144
5.933333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.291667
144
2
77
72
0.872549
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
02bb5357cf9c1ff01b1f6c12bbca072935b8561c
107
py
Python
tests/cdi/interfaces.py
odss/py-odss
b35838bba89f4dffc0dadd0b3821d8b38c0ca497
[ "MIT" ]
null
null
null
tests/cdi/interfaces.py
odss/py-odss
b35838bba89f4dffc0dadd0b3821d8b38c0ca497
[ "MIT" ]
null
null
null
tests/cdi/interfaces.py
odss/py-odss
b35838bba89f4dffc0dadd0b3821d8b38c0ca497
[ "MIT" ]
null
null
null
class IService: pass class IListener: pass class IStorage: pass class IManager: pass
7.133333
16
0.64486
12
107
5.75
0.5
0.391304
0
0
0
0
0
0
0
0
0
0
0.317757
107
14
17
7.642857
0.945205
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
02eef27b021329af067695b81e590d7abbcb43fc
124
py
Python
test/tests/package_import_in_nonpackage.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
null
null
null
test/tests/package_import_in_nonpackage.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
null
null
null
test/tests/package_import_in_nonpackage.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
null
null
null
# expected: fail # - Relative imports not supported try: from . import doesnt_exist except ImportError, e: print e
15.5
34
0.709677
16
124
5.4375
0.9375
0
0
0
0
0
0
0
0
0
0
0
0.225806
124
7
35
17.714286
0.90625
0.379032
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.5
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
1
0
0
0
0
4
f3130827f4000ed50a1ae8fa4fe9005e5cbe54c1
281,651
py
Python
3algo/homo/2_10_7datap.py
allengrr/deadlock_project
933878077c45a7df04daa087407bb2620c064617
[ "MIT" ]
null
null
null
3algo/homo/2_10_7datap.py
allengrr/deadlock_project
933878077c45a7df04daa087407bb2620c064617
[ "MIT" ]
null
null
null
3algo/homo/2_10_7datap.py
allengrr/deadlock_project
933878077c45a7df04daa087407bb2620c064617
[ "MIT" ]
1
2021-03-21T17:54:26.000Z
2021-03-21T17:54:26.000Z
wt2_10_7 = {'192.168.122.111': [5.8837, 6.5049, 4.9241, 5.2784, 5.5916, 5.7957, 5.7575, 6.161, 6.8145, 7.5204, 7.3546, 7.2497, 7.107, 7.0225, 6.9199, 7.0433, 7.043, 7.2298, 7.1605, 7.067, 6.9903, 7.1675, 7.1008, 7.0789, 7.0424, 6.9815, 7.5671, 7.5441, 7.4816, 7.4303, 7.3989, 7.3564, 7.2988, 7.5068, 8.3101, 8.383, 8.36...
17,603.1875
258,107
0.619976
71,332
281,651
2.447415
0.077216
0.000561
0.000962
0.001088
0.530883
0.171097
0.170301
0.043018
0.042834
0.013931
0
0.709285
0.126675
281,651
16
258,108
17,603.1875
0.000463
0
0
0
0
0
0.000699
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f31b86883b5846ddbc0d46a608cdafb130600422
211
py
Python
flaskerize/schematics/schematic/schematic_test.py
ehoeffner/flaskerize
cb887a80ae0a2c06f61cf941e029fd7174fdd233
[ "BSD-3-Clause" ]
119
2019-05-07T00:48:58.000Z
2022-03-30T07:17:53.000Z
flaskerize/schematics/schematic/schematic_test.py
ehoeffner/flaskerize
cb887a80ae0a2c06f61cf941e029fd7174fdd233
[ "BSD-3-Clause" ]
36
2019-04-28T11:14:56.000Z
2022-03-28T16:09:21.000Z
flaskerize/schematics/schematic/schematic_test.py
ehoeffner/flaskerize
cb887a80ae0a2c06f61cf941e029fd7174fdd233
[ "BSD-3-Clause" ]
15
2019-08-29T17:38:28.000Z
2021-04-29T02:27:59.000Z
import os def test_schematic_from_Flaskerize(tmp_path): from flaskerize.parser import Flaskerize assert Flaskerize( f"fz generate schematic --from-dir {tmp_path} test_schematic".split() )
21.1
77
0.734597
27
211
5.518519
0.592593
0.174497
0
0
0
0
0
0
0
0
0
0
0.189573
211
9
78
23.444444
0.871345
0
0
0
1
0
0.274882
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
f3242477a728f138eff39767aa8bbd015587ab03
610
py
Python
test/test_heapq.py
taleinat/funcy-chain
58ec8245b7be5da4a57e6655463b31bf5435ead6
[ "MIT" ]
2
2021-09-05T10:30:51.000Z
2021-09-14T14:35:27.000Z
test/test_heapq.py
taleinat/funcy-chain
58ec8245b7be5da4a57e6655463b31bf5435ead6
[ "MIT" ]
null
null
null
test/test_heapq.py
taleinat/funcy-chain
58ec8245b7be5da4a57e6655463b31bf5435ead6
[ "MIT" ]
null
null
null
def test_nlargest(Chain): assert Chain([]).nlargest(0).value == [] assert Chain([]).nlargest(1).value == [] assert Chain([1, 3, 2, 4, 3]).nlargest(2).value == [4, 3] assert Chain([1, 3, 2, 4, 3]).nlargest(3).value == [4, 3, 3] assert Chain([1, 3, 2, 4, 1]).nlargest(0).value == [] def test_nsmalles...
40.666667
65
0.554098
98
610
3.428571
0.122449
0.327381
0.214286
0.232143
0.455357
0.455357
0.455357
0.401786
0
0
0
0.101215
0.190164
610
14
66
43.571429
0.578947
0
0
0
0
0
0
0
0
0
0
0
0.833333
1
0.166667
false
0
0
0
0.166667
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
1
0
0
0
0
0
0
0
0
0
4
b84ffbefd251bb9d95a5db17790f59b3d448ca29
248
py
Python
Credit_Note/admin.py
adithyanps/netprofit-django
7ba87f054d09a201352635bb6cf8d0112208609e
[ "MIT" ]
null
null
null
Credit_Note/admin.py
adithyanps/netprofit-django
7ba87f054d09a201352635bb6cf8d0112208609e
[ "MIT" ]
null
null
null
Credit_Note/admin.py
adithyanps/netprofit-django
7ba87f054d09a201352635bb6cf8d0112208609e
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.utils.translation import gettext as _ from Credit_Note import models # Register your models here. admin.site.register(models.CreditNote)
31
64
0.83871
35
248
5.885714
0.571429
0.145631
0.165049
0
0
0
0
0
0
0
0
0
0.108871
248
7
65
35.428571
0.932127
0.104839
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.8
0
0.8
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
1
0
0
4
b88229941f5bf66e665099781184c70277eaa6c8
3,959
py
Python
app/form.py
and27/Edubot-Flask-Firebase
0cd73cf9a72738735a25fcfdf1212a7fdd752265
[ "MIT" ]
1
2020-08-31T20:40:16.000Z
2020-08-31T20:40:16.000Z
app/form.py
and27/Edubot-Flask-Firebase
0cd73cf9a72738735a25fcfdf1212a7fdd752265
[ "MIT" ]
null
null
null
app/form.py
and27/Edubot-Flask-Firebase
0cd73cf9a72738735a25fcfdf1212a7fdd752265
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, SubmitField, TextAreaField, PasswordField, IntegerField, validators from wtforms.validators import DataRequired, Email, EqualTo, Regexp, Length class LoginForm(FlaskForm): email = StringField("", [ DataRequired(), Email(message=("Correo Incorr...
46.576471
188
0.632483
373
3,959
6.632708
0.270777
0.067906
0.110348
0.144301
0.73363
0.73363
0.73363
0.73363
0.550525
0.469685
0
0.004994
0.190705
3,959
84
189
47.130952
0.767166
0.030311
0
0.569444
0
0
0.310642
0
0
0
0
0
0
1
0
false
0.111111
0.041667
0
0.416667
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
b887c97b9b6c1473754f2f38baba56c639c948ff
257
py
Python
ratechecker/urls.py
fna/owning-a-home-api
4f0cc8257989757ec64b85628d95022db5fe2b13
[ "CC0-1.0" ]
null
null
null
ratechecker/urls.py
fna/owning-a-home-api
4f0cc8257989757ec64b85628d95022db5fe2b13
[ "CC0-1.0" ]
null
null
null
ratechecker/urls.py
fna/owning-a-home-api
4f0cc8257989757ec64b85628d95022db5fe2b13
[ "CC0-1.0" ]
null
null
null
from django.conf.urls import patterns, url urlpatterns = patterns( '', url(r'rate-checker$', 'ratechecker.views.rate_checker', name='rate-checker'), url(r'rate-checker-fees$', 'ratechecker.views.rate_checker_fees', name='rate-checker-fees'), )
32.125
96
0.712062
34
257
5.294118
0.441176
0.366667
0.25
0.166667
0
0
0
0
0
0
0
0
0.11284
257
7
97
36.714286
0.789474
0
0
0
0
0
0.486381
0.252918
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b89c9462118ba5abdafd046b3e1bd280e95b9589
29,812
py
Python
mcwpy/data/minecraft/selector.py
vianneyveremme/minecraft_with_python
25edded44dd56348068758bc78eb71a3ce546583
[ "MIT" ]
1
2021-07-29T14:22:15.000Z
2021-07-29T14:22:15.000Z
mcwpy/data/minecraft/selector.py
vianneyveremme/minecraft_with_python
25edded44dd56348068758bc78eb71a3ce546583
[ "MIT" ]
2
2021-11-04T18:44:12.000Z
2021-11-08T03:29:43.000Z
mcwpy/data/minecraft/selector.py
vianneyveremme/minecraft_with_python
25edded44dd56348068758bc78eb71a3ce546583
[ "MIT" ]
null
null
null
# -*- coding: ascii -*- from dataclasses import dataclass @dataclass class Selector: all = '@a' entities = '@e' furthest = '@e[sort=furthest]' nearest = '@e[sort=nearest]' random = '@e[sort=random]' self = '@s' @classmethod def set(_, string: str, **kwargs) -> str: for key_word in kwargs: if key_word in...
36.759556
150
0.720448
4,237
29,812
5.008733
0.042011
0.271369
0.15597
0.171049
0.711007
0.649185
0.642022
0.642022
0.308972
0.013288
0
0.012596
0.102576
29,812
810
151
36.804938
0.780631
0.001476
0
0.166425
0
0
0.652197
0.64998
0.001447
0
0
0
0
1
0.001447
false
0
0.001447
0
0.176556
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b8b8d49e747cceaf2887ebff3de03c3efff3f7db
108
py
Python
openproblems/tasks/_batch_integration/__init__.py
scottgigante-immunai/openproblems
d093c1a2f21715d98e07ec760eff2c8f50c68373
[ "MIT" ]
null
null
null
openproblems/tasks/_batch_integration/__init__.py
scottgigante-immunai/openproblems
d093c1a2f21715d98e07ec760eff2c8f50c68373
[ "MIT" ]
null
null
null
openproblems/tasks/_batch_integration/__init__.py
scottgigante-immunai/openproblems
d093c1a2f21715d98e07ec760eff2c8f50c68373
[ "MIT" ]
null
null
null
from ... import utils # from . import datasets, methods, metrics, checks _task_name = "Batch integration"
18
50
0.731481
13
108
5.923077
0.846154
0.25974
0
0
0
0
0
0
0
0
0
0
0.166667
108
5
51
21.6
0.855556
0.444444
0
0
0
0
0.293103
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
b8bdc1eb816efa8a0aeedea84df10bee6ee1cb52
51
py
Python
dthm4kaiako/tests/config/templatetags/__init__.py
uccser/cs4teachers
e2dc6278a8ca75093cbab987b4c54d80799dd35b
[ "MIT" ]
2
2018-04-25T09:04:09.000Z
2018-07-06T08:51:33.000Z
dthm4kaiako/tests/config/templatetags/__init__.py
uccser/cs4teachers
e2dc6278a8ca75093cbab987b4c54d80799dd35b
[ "MIT" ]
137
2017-06-13T10:28:18.000Z
2018-09-11T11:14:59.000Z
dthm4kaiako/tests/config/templatetags/__init__.py
uccser/cs4teachers
e2dc6278a8ca75093cbab987b4c54d80799dd35b
[ "MIT" ]
1
2018-04-08T08:53:11.000Z
2018-04-08T08:53:11.000Z
"""Module for tests of the templatetags module."""
25.5
50
0.72549
7
51
5.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.137255
51
1
51
51
0.840909
0.862745
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
b8c0d7fb4cc07e9f18330ddb2e9da6ff0ba7f4e0
71
py
Python
answers/pandas_answer3.py
monocilindro/foss4g-geopandas
12afbc787c1f65cc046234b41166bd62bbb6ac29
[ "Apache-2.0" ]
null
null
null
answers/pandas_answer3.py
monocilindro/foss4g-geopandas
12afbc787c1f65cc046234b41166bd62bbb6ac29
[ "Apache-2.0" ]
null
null
null
answers/pandas_answer3.py
monocilindro/foss4g-geopandas
12afbc787c1f65cc046234b41166bd62bbb6ac29
[ "Apache-2.0" ]
null
null
null
boroughs.loc[boroughs['Happiness_score_2011-14_(out_of_10)'].idxmax()]
35.5
70
0.802817
11
71
4.727273
0.909091
0
0
0
0
0
0
0
0
0
0
0.114286
0.014085
71
1
71
71
0.628571
0
0
0
0
0
0.492958
0.492958
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
b251fc1ae6ce939ed0a02cccbbcb0239423820a3
189
py
Python
Semana10/Dia4/DjangoRestFramework/productosdb/serializers.py
GuidoTorres/codigo8
7fdff4f677f048de7d7877b96ec3a688d3dde163
[ "MIT" ]
null
null
null
Semana10/Dia4/DjangoRestFramework/productosdb/serializers.py
GuidoTorres/codigo8
7fdff4f677f048de7d7877b96ec3a688d3dde163
[ "MIT" ]
40
2021-03-10T16:58:17.000Z
2022-03-26T01:55:17.000Z
Semana10/Dia4/DjangoRestFramework/productosdb/serializers.py
GuidoTorres/codigo8
7fdff4f677f048de7d7877b96ec3a688d3dde163
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Producto class ProductoSerializer(serializers.ModelSerializer): class Meta: model = Producto fields='__all__'
27
54
0.756614
19
189
7.263158
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.190476
189
7
55
27
0.901961
0
0
0
0
0
0.036842
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b2686475054f622ed6e4102340e1cbef670007d0
273
py
Python
01-DesenvolvimentoDeSistemas/02-LinguagensDeProgramacao/01-Python/01-ListaDeExercicios/02-Aluno/Roberto/exc0014.py
moacirsouza/nadas
ad98d73b4281d1581fd2b2a9d29001acb426ee56
[ "MIT" ]
1
2020-07-03T13:54:18.000Z
2020-07-03T13:54:18.000Z
01-DesenvolvimentoDeSistemas/02-LinguagensDeProgramacao/01-Python/01-ListaDeExercicios/02-Aluno/Roberto/exc0014.py
moacirsouza/nadas
ad98d73b4281d1581fd2b2a9d29001acb426ee56
[ "MIT" ]
null
null
null
01-DesenvolvimentoDeSistemas/02-LinguagensDeProgramacao/01-Python/01-ListaDeExercicios/02-Aluno/Roberto/exc0014.py
moacirsouza/nadas
ad98d73b4281d1581fd2b2a9d29001acb426ee56
[ "MIT" ]
null
null
null
print('[-- Escreva um programa que converta uma temperatura digitada em °C e converta para °F. --]\n') celsius = float(input('Qual a temperatura em graus Celsius? ')) fahrenheit = ((9*celsius)/5)+32 print('A temperatura em graus fahrenheit é: {}° ' .format(fahrenheit))
34.125
102
0.703297
42
273
4.642857
0.666667
0.123077
0.14359
0.194872
0
0
0
0
0
0
0
0.017167
0.14652
273
7
103
39
0.806867
0
0
0
0
0
0.633333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
b275c76c5981a6a875b550f4eed6a9d2f56b01ef
185
py
Python
octoprint_JuliaExtended2022TouchUI/hurry/filesize/tests.py
FracktalWorks/JuliaExtended2022TouchUI
7843846830a543248d169034b7b8c37f229e7960
[ "MIT" ]
null
null
null
octoprint_JuliaExtended2022TouchUI/hurry/filesize/tests.py
FracktalWorks/JuliaExtended2022TouchUI
7843846830a543248d169034b7b8c37f229e7960
[ "MIT" ]
null
null
null
octoprint_JuliaExtended2022TouchUI/hurry/filesize/tests.py
FracktalWorks/JuliaExtended2022TouchUI
7843846830a543248d169034b7b8c37f229e7960
[ "MIT" ]
null
null
null
import unittest, doctest def test_suite(): return unittest.TestSuite(( doctest.DocFileSuite('README.txt'), doctest.DocTestSuite('hurry.filesize.filesize'), ))
20.555556
56
0.675676
18
185
6.888889
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.194595
185
8
57
23.125
0.832215
0
0
0
0
0
0.178378
0.124324
0
0
0
0
0
1
0.166667
true
0
0.166667
0.166667
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
1
0
0
0
4
b2a869d68ca79c1ac47a5667846a10350c6eeaf3
192
py
Python
remediation/samples/quick-start/sample_sum.py
vmware/json-template-engine
afa606aef47599f8ff7cf7d1f927877a9ce786e7
[ "Apache-2.0" ]
21
2019-09-30T08:41:01.000Z
2022-03-15T08:23:28.000Z
remediation/samples/quick-start/sample_sum.py
vmware/json-template-engine
afa606aef47599f8ff7cf7d1f927877a9ce786e7
[ "Apache-2.0" ]
1
2020-03-17T03:14:00.000Z
2020-05-01T18:02:23.000Z
remediation/samples/quick-start/sample_sum.py
vmware/json-template-engine
afa606aef47599f8ff7cf7d1f927877a9ce786e7
[ "Apache-2.0" ]
7
2019-06-18T14:35:57.000Z
2021-12-06T23:01:30.000Z
from jsonreme.consts import WS_OUTPUT def sum_k(target, companion, params, workspace): if WS_OUTPUT not in workspace: workspace[WS_OUTPUT] = 0 workspace[WS_OUTPUT] += target
24
48
0.723958
27
192
4.962963
0.62963
0.238806
0.253731
0
0
0
0
0
0
0
0
0.006494
0.197917
192
7
49
27.428571
0.863636
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a2575198768b9bc48f103c9fbc749c9d39524822
346
py
Python
normalizer/identity_normalizer.py
jbinder/nn-eval
1aed1bb84683392569466071155bfa825fed36e0
[ "MIT" ]
null
null
null
normalizer/identity_normalizer.py
jbinder/nn-eval
1aed1bb84683392569466071155bfa825fed36e0
[ "MIT" ]
null
null
null
normalizer/identity_normalizer.py
jbinder/nn-eval
1aed1bb84683392569466071155bfa825fed36e0
[ "MIT" ]
null
null
null
from normalizer.normalizer_base import NormalizerBase class IdentityNormalizer(NormalizerBase): """ Normalizes values in a numpy array using the identity function. """ def normalize(self, data): return NormalizerBase.normalize(self, data) def denormalize(self, data): return NormalizerBas...
28.833333
75
0.742775
37
346
6.918919
0.621622
0.125
0.132813
0.21875
0
0
0
0
0
0
0
0
0.179191
346
11
76
31.454545
0.901408
0.182081
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.333333
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
a26337a0bb469bbdd6052fe7ede41a903253fba5
289
py
Python
Codewars/MontyHallProblem.py
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
Codewars/MontyHallProblem.py
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
Codewars/MontyHallProblem.py
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
# idea: people who guessed correctly at first will lose by switching, the rest will win def monty_hall(correct_door_number, participant_guesses): win_rate = sum(1 for guess in participant_guesses if guess != correct_door_number)/len(participant_guesses) return round(100*win_rate)
57.8
111
0.799308
45
289
4.911111
0.733333
0.244344
0.153846
0
0
0
0
0
0
0
0
0.016064
0.138408
289
4
112
72.25
0.871486
0.294118
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
a27607c1920aa22bb44297e1ed0e4ee9b4ce4838
5,060
py
Python
srd20/migrations/0014_convert_multiple_and_stack.py
machinalis/django-srd20
00c969cbe9353128e681c308bdc6810dfbd46b70
[ "BSD-3-Clause" ]
16
2015-04-12T00:57:49.000Z
2018-07-24T16:06:55.000Z
srd20/migrations/0014_convert_multiple_and_stack.py
machinalis/django-srd20
00c969cbe9353128e681c308bdc6810dfbd46b70
[ "BSD-3-Clause" ]
null
null
null
srd20/migrations/0014_convert_multiple_and_stack.py
machinalis/django-srd20
00c969cbe9353128e681c308bdc6810dfbd46b70
[ "BSD-3-Clause" ]
5
2015-07-04T14:39:00.000Z
2018-07-24T16:06:57.000Z
# encoding: utf-8 import datetime from south.db import db from south.v2 import DataMigration from django.db import models class Migration(DataMigration): def forwards(self, orm): for f in orm.Feat.objects.all(): f.multiple = f.multiple_copy == 'Yes' f.stack = f.stack_copy =='Yes' ...
68.378378
124
0.552174
541
5,060
5.053604
0.205176
0.128749
0.22019
0.314557
0.766277
0.726774
0.717264
0.577176
0.376006
0.277981
0
0.020813
0.202372
5,060
73
125
69.315068
0.656591
0.014625
0
0.119403
0
0
0.525587
0.29119
0
0
0
0
0
1
0.029851
false
0
0.059701
0
0.134328
0
0
0
0
null
0
1
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a29c3ec781bbe89de4f8c94028eb126801db2b65
603
py
Python
PythonStandardLibrariesModules/StandardLibrariesModules.py
VarunPy84/PyDevTraining
c088e877908fbf147af7d7442457f877a340d8e3
[ "MIT" ]
null
null
null
PythonStandardLibrariesModules/StandardLibrariesModules.py
VarunPy84/PyDevTraining
c088e877908fbf147af7d7442457f877a340d8e3
[ "MIT" ]
null
null
null
PythonStandardLibrariesModules/StandardLibrariesModules.py
VarunPy84/PyDevTraining
c088e877908fbf147af7d7442457f877a340d8e3
[ "MIT" ]
1
2022-01-30T12:35:56.000Z
2022-01-30T12:35:56.000Z
#Math ''' import math print(abs(1.5)) print(math.ceil(1.5)) print(math.floor(1.5)) print(round(3.5645,2)) print(max(2,3,1)) #String str1 = "StringObject" count_returned = str1.count("S") print(count_returned) str2 = "Learning python is easy" print(str2.replace("easy","not easy")) print(str2) paragraph = "Anil and the...
20.793103
57
0.719735
94
603
4.595745
0.510638
0.013889
0.048611
0.050926
0
0
0
0
0
0
0
0.052045
0.107794
603
29
58
20.793103
0.750929
0.824212
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
4
a2a22c6307e9ac87fed3f4f24b7df4e8ace7919c
426
py
Python
ACME/loss/compactness_metric.py
mauriziokovacic/ACME
2615b66dd4addfd5c03d9d91a24c7da414294308
[ "MIT" ]
3
2019-10-23T23:10:55.000Z
2021-09-01T07:30:14.000Z
ACME/loss/compactness_metric.py
mauriziokovacic/ACME-Python
2615b66dd4addfd5c03d9d91a24c7da414294308
[ "MIT" ]
null
null
null
ACME/loss/compactness_metric.py
mauriziokovacic/ACME-Python
2615b66dd4addfd5c03d9d91a24c7da414294308
[ "MIT" ]
1
2020-07-11T11:35:43.000Z
2020-07-11T11:35:43.000Z
import torch from ..geometry.compactness import * def compactness_metric(P, i=None): """ Measures the compactness metric for the given points set Parameters ---------- P : Tensor a (...,N,D,) points set tensor Returns ------- Tensor a (1,) compactness metric tensor ...
18.521739
60
0.586854
52
426
4.788462
0.519231
0.204819
0.11245
0.200803
0.208835
0
0
0
0
0
0
0.003257
0.279343
426
22
61
19.363636
0.807818
0.43662
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
a2a564ab136afc7cbbe9cc395079212370fb4c6f
16
py
Python
nudgebot/__init__.py
gshefer/Nudgebot
4cf6cf1fe975a9002299f0460873c0f21bc8d414
[ "MIT" ]
3
2018-04-03T14:34:39.000Z
2018-04-26T12:18:49.000Z
nudgebot/__init__.py
gshefer/Nudgebot
4cf6cf1fe975a9002299f0460873c0f21bc8d414
[ "MIT" ]
null
null
null
nudgebot/__init__.py
gshefer/Nudgebot
4cf6cf1fe975a9002299f0460873c0f21bc8d414
[ "MIT" ]
null
null
null
"""Nudgebot."""
8
15
0.5
1
16
8
1
0
0
0
0
0
0
0
0
0
0
0
0.0625
16
1
16
16
0.533333
0.5625
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
a2a84bbcf43fd8abc8cbcc3e66e446de1a546a60
55
py
Python
decospectors/__init__.py
muhamuhamuha/decospectors
eb5694051435e3f9c7c929812575916296829c53
[ "MIT" ]
null
null
null
decospectors/__init__.py
muhamuhamuha/decospectors
eb5694051435e3f9c7c929812575916296829c53
[ "MIT" ]
null
null
null
decospectors/__init__.py
muhamuhamuha/decospectors
eb5694051435e3f9c7c929812575916296829c53
[ "MIT" ]
null
null
null
from .decospectors import decospector, SafeDecospector
27.5
54
0.872727
5
55
9.6
1
0
0
0
0
0
0
0
0
0
0
0
0.090909
55
1
55
55
0.96
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
a2afcb958a55af7ced371bf65978424a3f619773
595
py
Python
myjwt/Exception.py
winterwolf32/JWT-
34c552cab40c0f8c4370a26f1a0848182b8182f8
[ "MIT" ]
null
null
null
myjwt/Exception.py
winterwolf32/JWT-
34c552cab40c0f8c4370a26f1a0848182b8182f8
[ "MIT" ]
null
null
null
myjwt/Exception.py
winterwolf32/JWT-
34c552cab40c0f8c4370a26f1a0848182b8182f8
[ "MIT" ]
null
null
null
""" Exception package """ class InvalidJWT(Exception): """ Invalid JWT """ def __init__(self, message): self.message = message class InvalidJwtJson(Exception): """ Invalid InvalidJwtJson """ def __init__(self, message): self.message = message ...
14.875
33
0.556303
49
595
6.428571
0.285714
0.279365
0.139683
0.228571
0.504762
0.504762
0.504762
0.390476
0
0
0
0
0.332773
595
39
34
15.25641
0.793451
0.129412
0
0.666667
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
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
1
0
0
4
a2d57038927cb960d15af33165bd1bceb0b2bf3b
158
py
Python
Python/Tests/TestData/TestExecutor/test_env_var.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
404
2019-05-07T02:21:57.000Z
2022-03-31T17:03:04.000Z
Python/Tests/TestData/TestExecutor/test_env_var.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
1,672
2019-05-06T21:09:38.000Z
2022-03-31T23:16:04.000Z
Python/Tests/TestData/TestExecutor/test_env_var.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
186
2019-05-13T03:17:37.000Z
2022-03-31T16:24:05.000Z
import os import unittest class EnvironmentVariableTests(unittest.TestCase): def test_variable(self): assert os.environ['USER_ENV_VAR'] == '123'
22.571429
50
0.740506
19
158
6
0.842105
0
0
0
0
0
0
0
0
0
0
0.022556
0.158228
158
6
51
26.333333
0.834586
0
0
0
0
0
0.094937
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
a2db8501ebe6d634e749ac8528812ba79dcff624
69
py
Python
config.py
Dave0x21/sendTx
e31d03b243f4318597746669c0545fa49a8ff3eb
[ "MIT" ]
2
2020-12-07T20:58:15.000Z
2020-12-09T08:10:07.000Z
config.py
Dave0x21/sendTx
e31d03b243f4318597746669c0545fa49a8ff3eb
[ "MIT" ]
null
null
null
config.py
Dave0x21/sendTx
e31d03b243f4318597746669c0545fa49a8ff3eb
[ "MIT" ]
null
null
null
PRIV_KEY = '' RPC_URL = 'wss://mainnet.infura.io/ws/v3/<PROJECT_ID>'
23
54
0.681159
12
69
3.666667
1
0
0
0
0
0
0
0
0
0
0
0.015873
0.086957
69
2
55
34.5
0.68254
0
0
0
0
0
0.608696
0.608696
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a2f9858e89da57924c0893bbcab98aa5d8122dad
482
py
Python
astrofunc/LensingProfiles/no_lens.py
LBJ-Wade/astrofunc_lensing_profile
d2223705bc44d07575a5e93291375ab8e69ebfa8
[ "MIT" ]
null
null
null
astrofunc/LensingProfiles/no_lens.py
LBJ-Wade/astrofunc_lensing_profile
d2223705bc44d07575a5e93291375ab8e69ebfa8
[ "MIT" ]
null
null
null
astrofunc/LensingProfiles/no_lens.py
LBJ-Wade/astrofunc_lensing_profile
d2223705bc44d07575a5e93291375ab8e69ebfa8
[ "MIT" ]
null
null
null
__author__ = 'sibirrer' import numpy as np class NoLens(object): """ this is the trivial mapping without deflecting anything """ def function(self, x, y): return np.zeros_like(x) def derivatives(self, x, y): f_x = np.zeros_like(x) f_y = np.zeros_like(x) return f_x,...
22.952381
59
0.587137
79
482
3.329114
0.392405
0.159696
0.250951
0.273764
0.292776
0.144487
0
0
0
0
0
0
0.302905
482
21
60
22.952381
0.782738
0.114108
0
0
0
0
0.019417
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0.071429
0.571429
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
1
0
0
4
0c402e1a819e0c79739c6e19ba7d66359a1cbe32
64
py
Python
ipython.py
sci-bots/py2exe-test
f7ee024098e9b64ebd281535e1f660cdd5dba88a
[ "BSD-3-Clause" ]
null
null
null
ipython.py
sci-bots/py2exe-test
f7ee024098e9b64ebd281535e1f660cdd5dba88a
[ "BSD-3-Clause" ]
null
null
null
ipython.py
sci-bots/py2exe-test
f7ee024098e9b64ebd281535e1f660cdd5dba88a
[ "BSD-3-Clause" ]
null
null
null
import IPython if __name__ == '__main__': IPython.embed()
10.666667
26
0.671875
7
64
5
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.203125
64
5
27
12.8
0.686275
0
0
0
0
0
0.125
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
0c5fa91547a75090a344c895f02a57a00f9c0c0b
10,905
py
Python
gisvalidation.py
gsidhu/gis-validation
c1d1ecf19e7c84f76e4c49c55bad12e26c837a37
[ "MIT" ]
null
null
null
gisvalidation.py
gsidhu/gis-validation
c1d1ecf19e7c84f76e4c49c55bad12e26c837a37
[ "MIT" ]
null
null
null
gisvalidation.py
gsidhu/gis-validation
c1d1ecf19e7c84f76e4c49c55bad12e26c837a37
[ "MIT" ]
null
null
null
## GIS Validation v0.1 ## Author: Gurjot Sidhu ## License: MIT ## Acknowledgement: James Halliday (https://github.com/substack/point-in-polygon) ## Description: This script checks whether a geospatial coordinate (long, lat) falls within the boundaries defined by a (multi-shape) polygon. It uses the PNPOLY - Point Inclu...
111.27551
7,124
0.758918
1,215
10,905
6.811523
0.390947
0.007612
0.003625
0.003383
0.253504
0.057274
0.046158
0.046158
0.046158
0.033591
0
0.680643
0.081431
10,905
98
7,125
111.27551
0.145553
0.053003
0
0.418919
0
0
0.008438
0
0
0
0
0
0
1
0.081081
false
0
0
0
0.22973
0.067568
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a762b8e689d10b5411f738e28e78cf2b9008ebd7
97
py
Python
liveDataApp/CoronaWebApp/liveDataApp/apps.py
subahanii/COVID19-tracker
b7d30ff996974755e78393f0777d6cf623c4d654
[ "MIT" ]
7
2020-04-28T12:34:42.000Z
2021-05-17T06:20:51.000Z
liveDataApp/apps.py
subahanii/COVID19-India-API
ad0d7c1b74da21327bd14e161af00161d6800ffb
[ "MIT" ]
1
2020-07-09T18:17:32.000Z
2020-07-10T13:56:01.000Z
liveDataApp/apps.py
subahanii/COVID19-India-API
ad0d7c1b74da21327bd14e161af00161d6800ffb
[ "MIT" ]
null
null
null
from django.apps import AppConfig class LivedataappConfig(AppConfig): name = 'liveDataApp'
16.166667
35
0.773196
10
97
7.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.154639
97
5
36
19.4
0.914634
0
0
0
0
0
0.113402
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
a772d8f52fabf0eee2a29dd2dab68733cd2c88d8
125
py
Python
training/helpers/keras_compressor/keras_compressor/__init__.py
jim-schwoebel/allie
d85db041b91c81dfb3fd1a4d719b5aaaf3b6697e
[ "Apache-2.0" ]
87
2020-08-07T09:05:11.000Z
2022-01-24T00:48:22.000Z
training/helpers/keras_compressor/keras_compressor/__init__.py
jim-schwoebel/allie
d85db041b91c81dfb3fd1a4d719b5aaaf3b6697e
[ "Apache-2.0" ]
87
2020-08-07T19:12:10.000Z
2022-02-08T14:46:34.000Z
training/helpers/keras_compressor/keras_compressor/__init__.py
jim-schwoebel/allie
d85db041b91c81dfb3fd1a4d719b5aaaf3b6697e
[ "Apache-2.0" ]
25
2020-08-07T20:03:08.000Z
2022-03-16T07:33:25.000Z
from .layers import custom_layers __all__ = ['custom_objects'] custom_objects = dict(custom_layers.items()) # shallow copy
25
60
0.776
16
125
5.5625
0.625
0.269663
0
0
0
0
0
0
0
0
0
0
0.12
125
4
61
31.25
0.809091
0.096
0
0
0
0
0.126126
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4