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
f082c41af88239a42e587b5df115c245699b68b1
240
py
Python
plink/admin.py
dgraham66/apertura_django
bfc524c3681395e655098500510d67e40886d7d4
[ "MIT" ]
1
2016-07-22T10:40:41.000Z
2016-07-22T10:40:41.000Z
plink/admin.py
dgraham66/apertura_django
bfc524c3681395e655098500510d67e40886d7d4
[ "MIT" ]
null
null
null
plink/admin.py
dgraham66/apertura_django
bfc524c3681395e655098500510d67e40886d7d4
[ "MIT" ]
null
null
null
from django.contrib import admin from models import Plink from models import PlinkJob from models import PlinkOption # Register your models here. admin.site.register(Plink) admin.site.register(PlinkJob) admin.site.register(PlinkOption)
18.461538
32
0.820833
33
240
5.969697
0.393939
0.152284
0.243655
0
0
0
0
0
0
0
0
0
0.116667
240
12
33
20
0.929245
0.108333
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
b2b6b2ace4430dfecfe0b6654eedbe76f9a8218a
1,444
py
Python
tests/unit/compress/CompressWithOrder.py
wangjeaf/CSSCheckStyle
d1b1ed89c61ca80d65f398ec4a07d73789197b04
[ "BSD-3-Clause" ]
21
2015-04-27T14:54:45.000Z
2021-11-08T09:12:08.000Z
tests/unit/compress/CompressWithOrder.py
wangjeaf/CSSCheckStyle
d1b1ed89c61ca80d65f398ec4a07d73789197b04
[ "BSD-3-Clause" ]
null
null
null
tests/unit/compress/CompressWithOrder.py
wangjeaf/CSSCheckStyle
d1b1ed89c61ca80d65f398ec4a07d73789197b04
[ "BSD-3-Clause" ]
6
2015-03-02T08:08:59.000Z
2016-03-16T14:52:38.000Z
from helper import * def doTest(): _basic() _with_hack() _with_extra() _with_different_level() _with_css3_props() def _basic(): msg = doCssCompress('/* @wangjeaf */ .test {width: 100px; display:none; height: 100px;}') equal(msg, '.test{display:none;width:100px;height:100px}', 'general orde...
49.793103
167
0.718144
198
1,444
5.09596
0.262626
0.079286
0.055501
0.083251
0.456888
0.374628
0.243806
0.075322
0
0
0
0.046548
0.107341
1,444
28
168
51.571429
0.73623
0
0
0
0
0.272727
0.654432
0.449446
0
0
0
0
0
1
0.272727
false
0
0.136364
0
0.409091
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
1
1
1
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
b2c3ea1bcacaf61348fb99ebd07da99776aed39c
83
py
Python
pafd/apps.py
kavinzhao/fduhole
508922cfa0558c58b95206dd8fbf51d10525fa1e
[ "Apache-2.0" ]
9
2021-04-14T12:08:38.000Z
2021-12-16T08:14:40.000Z
pafd/apps.py
kavinzhao/fduhole
508922cfa0558c58b95206dd8fbf51d10525fa1e
[ "Apache-2.0" ]
9
2021-04-18T09:48:25.000Z
2021-11-26T07:43:22.000Z
pafd/apps.py
kavinzhao/fduhole
508922cfa0558c58b95206dd8fbf51d10525fa1e
[ "Apache-2.0" ]
4
2021-07-15T02:10:42.000Z
2022-01-22T02:12:11.000Z
from django.apps import AppConfig class PafdConfig(AppConfig): name = 'pafd'
13.833333
33
0.73494
10
83
6.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.180723
83
5
34
16.6
0.897059
0
0
0
0
0
0.048193
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
b2d16142577b6e024a6f8a010d2ed3092065fe2c
162
py
Python
t2.py
mabotech/mabo.data
6142226580aca6e0031f9d7f48e0823e7b0fe30a
[ "MIT" ]
null
null
null
t2.py
mabotech/mabo.data
6142226580aca6e0031f9d7f48e0823e7b0fe30a
[ "MIT" ]
null
null
null
t2.py
mabotech/mabo.data
6142226580aca6e0031f9d7f48e0823e7b0fe30a
[ "MIT" ]
null
null
null
#-*- coding: UTF-8 -*- import urllib s = "测试" print urllib.urlencode(s) print(repr(s)) # \'c8\'d5\'c6\'da\lang2052\f2\'c8\'d5\'c6\'da\ #u'\xb2\xe2\xca\xd4'
11.571429
47
0.58642
29
162
3.275862
0.724138
0.084211
0.126316
0.168421
0
0
0
0
0
0
0
0.106383
0.12963
162
14
48
11.571429
0.567376
0.530864
0
0
0
0
0.027027
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.5
1
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
1
0
0
0
0
0
0
1
0
4
b2d398c8ff7ba8807d8f15677195538be7ced920
4,416
py
Python
roster/migrations/0060_studentregistration_country.py
ankanb240/otis-web
45eda65b419705c65c02b15872a137969d53d8e9
[ "MIT" ]
15
2021-08-28T18:18:37.000Z
2022-03-13T07:48:15.000Z
roster/migrations/0060_studentregistration_country.py
ankanb240/otis-web
45eda65b419705c65c02b15872a137969d53d8e9
[ "MIT" ]
65
2021-08-20T02:37:27.000Z
2022-02-07T17:19:23.000Z
roster/migrations/0060_studentregistration_country.py
ankanb240/otis-web
45eda65b419705c65c02b15872a137969d53d8e9
[ "MIT" ]
31
2020-01-09T02:35:29.000Z
2022-03-13T07:48:18.000Z
# Generated by Django 3.2.5 on 2021-07-27 22:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('roster', '0059_auto_20210727_1754'), ] operations = [ migrations.AddField( model_name='studentregistration', name='c...
232.421053
4,069
0.54144
517
4,416
4.615087
0.663443
0.025147
0.012573
0.01425
0
0
0
0
0
0
0
0.008346
0.131793
4,416
18
4,070
245.333333
0.61398
0.01019
0
0
1
0
0.609522
0.005264
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b2d9ed8cc228811cd062a85279547d65134826bb
201
py
Python
channels_presence/management/commands/prune_presences.py
klima7/django4-channels-presence
112b79517d2e8c2e24100576a5364efeacf540bc
[ "MIT" ]
37
2017-08-25T15:33:42.000Z
2020-10-29T10:18:07.000Z
channels_presence/management/commands/prune_presences.py
klima7/django4-channels-presence
112b79517d2e8c2e24100576a5364efeacf540bc
[ "MIT" ]
12
2017-09-10T08:37:00.000Z
2020-03-30T14:53:19.000Z
channels_presence/management/commands/prune_presences.py
klima7/django4-channels-presence
112b79517d2e8c2e24100576a5364efeacf540bc
[ "MIT" ]
12
2017-12-22T12:25:36.000Z
2020-08-06T13:56:46.000Z
from django.core.management.base import BaseCommand from channels_presence.models import Room class Command(BaseCommand): def handle(self, *args, **kwargs): Room.objects.prune_presences()
28.714286
51
0.766169
25
201
6.08
0.84
0
0
0
0
0
0
0
0
0
0
0
0.139303
201
6
52
33.5
0.878613
0
0
0
0
0
0
0
0
0
0
0
0
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
b2f1f7837cddfa0c32b840364dad90525b41cd2d
104
py
Python
apps/rivenmygoods/apps.py
tufbel/wFocus
ee0f02053b8a5bc9c40dd862306fc5df1a063b9d
[ "Apache-2.0" ]
null
null
null
apps/rivenmygoods/apps.py
tufbel/wFocus
ee0f02053b8a5bc9c40dd862306fc5df1a063b9d
[ "Apache-2.0" ]
11
2020-06-06T01:51:51.000Z
2022-02-10T14:31:21.000Z
apps/rivenmygoods/apps.py
tufbel/wFocus
ee0f02053b8a5bc9c40dd862306fc5df1a063b9d
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class RivenmygoodsConfig(AppConfig): name = 'apps.rivenmygoods'
17.333333
36
0.778846
11
104
7.363636
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.144231
104
5
37
20.8
0.910112
0
0
0
0
0
0.163462
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
651255c68a0bd167004e87c9844ce723d2a0b03d
36,552
py
Python
plugins/modules/oci_cloud_guard_responder_recipe.py
sohwaje/oci-ansible-collection
9e6b8cf55e596a96560710a457a7df05886fc59c
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_cloud_guard_responder_recipe.py
sohwaje/oci-ansible-collection
9e6b8cf55e596a96560710a457a7df05886fc59c
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_cloud_guard_responder_recipe.py
sohwaje/oci-ansible-collection
9e6b8cf55e596a96560710a457a7df05886fc59c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Copyright (c) 2020, 2021 Oracle and/or its affiliates. # This software is made available to you under the terms of the GPL 3.0 license or the Apache 2.0 license. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Apache License v2.0 # See LICENSE.TXT for d...
41.395243
157
0.470535
2,877
36,552
5.776851
0.109141
0.044525
0.075692
0.093502
0.758905
0.718171
0.687545
0.644043
0.638147
0.610048
0
0.01571
0.468839
36,552
882
158
41.442177
0.84033
0.012065
0
0.737923
0
0.012077
0.81861
0.068229
0
0
0
0
0
1
0.0157
false
0.001208
0.009662
0.008454
0.042271
0.001208
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6526981e44148365134d29661d8822cba0993f3d
50
py
Python
cloudaux/orchestration/aws/iam/__init__.py
scriptsrc/cloudaux
9e2bdc1c690df9aa01ddf919d1d79bd77e5cb5e4
[ "Apache-2.0" ]
76
2017-02-20T21:35:29.000Z
2022-02-07T19:21:07.000Z
cloudaux/orchestration/aws/iam/__init__.py
scriptsrc/cloudaux
9e2bdc1c690df9aa01ddf919d1d79bd77e5cb5e4
[ "Apache-2.0" ]
100
2016-11-13T08:36:09.000Z
2021-08-11T05:59:18.000Z
cloudaux/orchestration/aws/iam/__init__.py
scriptsrc/cloudaux
9e2bdc1c690df9aa01ddf919d1d79bd77e5cb5e4
[ "Apache-2.0" ]
43
2016-11-13T16:50:40.000Z
2021-08-16T21:01:03.000Z
class MissingFieldException(Exception): pass
12.5
39
0.78
4
50
9.75
1
0
0
0
0
0
0
0
0
0
0
0
0.16
50
3
40
16.666667
0.928571
0
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
e8ddbe336f43f80a5c4dd8228effd504807229cf
136
py
Python
django_mako_plus/router/base.py
knowsuchagency/django-mako-plus
e737be6a2db6e9e897cc804c660494415c4ea180
[ "Apache-2.0" ]
null
null
null
django_mako_plus/router/base.py
knowsuchagency/django-mako-plus
e737be6a2db6e9e897cc804c660494415c4ea180
[ "Apache-2.0" ]
null
null
null
django_mako_plus/router/base.py
knowsuchagency/django-mako-plus
e737be6a2db6e9e897cc804c660494415c4ea180
[ "Apache-2.0" ]
null
null
null
#################################### ### The router base class class Router(object): '''Common superclass of routers''' pass
19.428571
38
0.470588
12
136
5.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.176471
136
6
39
22.666667
0.571429
0.389706
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
e8ece3a88c15a65546294c733def1fc74a26c13c
338
py
Python
trains/backend_api/session/__init__.py
doliveralg/trains
c99d3f36ba621153ff3c35859b8b6c946cdbc80b
[ "Apache-2.0" ]
112
2019-10-29T10:36:20.000Z
2020-12-19T08:08:27.000Z
trains/backend_api/session/__init__.py
doliveralg/trains
c99d3f36ba621153ff3c35859b8b6c946cdbc80b
[ "Apache-2.0" ]
53
2020-12-29T07:52:40.000Z
2022-03-31T10:11:54.000Z
trains/backend_api/session/__init__.py
doliveralg/trains
c99d3f36ba621153ff3c35859b8b6c946cdbc80b
[ "Apache-2.0" ]
29
2019-10-29T13:06:29.000Z
2020-12-19T08:09:24.000Z
from .session import Session from .datamodel import DataModel, NonStrictDataModel, schema_property, StringEnum from .request import Request, BatchRequest, CompoundRequest from .response import Response from .token_manager import TokenManager from .errors import TimeoutExpiredError, ResultNotReadyError from .callresult ...
42.25
81
0.860947
36
338
8.027778
0.527778
0
0
0
0
0
0
0
0
0
0
0
0.100592
338
7
82
48.285714
0.950658
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
331256a509f1916ee161385839501fb077ba2a23
365
py
Python
quenv/management/commands/__init__.py
raratiru/django-quenv
7a900e3d73de4cb9477375f3257eef99f9126eb0
[ "BSD-3-Clause" ]
2
2019-11-06T14:30:26.000Z
2020-07-31T18:32:49.000Z
quenv/management/commands/__init__.py
raratiru/django-quenv
7a900e3d73de4cb9477375f3257eef99f9126eb0
[ "BSD-3-Clause" ]
10
2019-05-06T19:51:34.000Z
2021-12-29T17:42:34.000Z
quenv/management/commands/__init__.py
raratiru/django-quenv
7a900e3d73de4cb9477375f3257eef99f9126eb0
[ "BSD-3-Clause" ]
2
2019-05-07T13:13:10.000Z
2020-07-30T20:46:16.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # ============================================================================== # # File Name : quenv/management/commands/__init__.py # # Creation Date : Fri 31 Jul 2020 10:51:23 PM EEST (22:51) # # Last Modified : # # ==================================...
26.071429
80
0.323288
29
365
3.931034
0.965517
0
0
0
0
0
0
0
0
0
0
0.055016
0.153425
365
13
81
28.076923
0.313916
0.934247
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
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
332b273ba3ab41289f108b7b05df7fbe14a9ec7b
166
py
Python
problem0426.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0426.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0426.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #426 Box-ball system - Project Euler # https://projecteuler.net/problem=426 # # Code by Kevin Marciniak # ###########################
18.444444
38
0.46988
15
166
5.2
0.933333
0
0
0
0
0
0
0
0
0
0
0.040816
0.114458
166
8
39
20.75
0.489796
0.578313
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
3335265e414d5035d97b091289cc71a079ddac4f
162
py
Python
application/filters.py
Falldog/appengine-flask-template-light
b87b73b1d1862db6dbb388fee716b60d29b3b10c
[ "Apache-2.0" ]
null
null
null
application/filters.py
Falldog/appengine-flask-template-light
b87b73b1d1862db6dbb388fee716b60d29b3b10c
[ "Apache-2.0" ]
null
null
null
application/filters.py
Falldog/appengine-flask-template-light
b87b73b1d1862db6dbb388fee716b60d29b3b10c
[ "Apache-2.0" ]
null
null
null
from application import app @app.template_filter('reverse') def reverse_filter(s): return s[::-1] # app.jinja_env.filters['reverse'] = reverse_filte
20.25
51
0.703704
22
162
5
0.681818
0
0
0
0
0
0
0
0
0
0
0.007353
0.160494
162
7
52
23.142857
0.801471
0.296296
0
0
0
0
0.067308
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
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
1
0
0
0
1
0
0
0
4
3339142f49678f8f22576268adc34643b9ea8b39
78
py
Python
src/astro/files/__init__.py
astro-projects/astro
7fa0404fc690569ff85e379ecca54778f09a9333
[ "Apache-2.0" ]
71
2021-12-06T22:41:59.000Z
2022-03-31T21:47:16.000Z
src/astro/files/__init__.py
astro-projects/astro
7fa0404fc690569ff85e379ecca54778f09a9333
[ "Apache-2.0" ]
171
2021-12-14T07:34:57.000Z
2022-03-31T21:04:15.000Z
src/astro/files/__init__.py
astro-projects/astro
7fa0404fc690569ff85e379ecca54778f09a9333
[ "Apache-2.0" ]
11
2021-12-06T22:46:23.000Z
2022-03-31T18:09:46.000Z
from astro.files.base import File, get_files # noqa: F401 # skipcq: PY-W2000
39
77
0.74359
13
78
4.384615
0.923077
0
0
0
0
0
0
0
0
0
0
0.106061
0.153846
78
1
78
78
0.757576
0.358974
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
333fa6cb51b4ded9341ed8b9eaf0b4f91a4da306
203
py
Python
blog/urls.py
u-will/Django-blog-project
917599c5364f361b3f1b4920191b862ccd9024a4
[ "MIT" ]
null
null
null
blog/urls.py
u-will/Django-blog-project
917599c5364f361b3f1b4920191b862ccd9024a4
[ "MIT" ]
null
null
null
blog/urls.py
u-will/Django-blog-project
917599c5364f361b3f1b4920191b862ccd9024a4
[ "MIT" ]
null
null
null
from django.urls import path from .views import HomePage from .views import AboutPage urlpatterns = [ path('', HomePage.as_view(), name="home"), path('about/', AboutPage.as_view(), name="about"), ]
22.555556
52
0.704433
27
203
5.222222
0.518519
0.12766
0.212766
0
0
0
0
0
0
0
0
0
0.133005
203
8
53
25.375
0.801136
0
0
0
0
0
0.073892
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
33689ab13b42b0e9be97e4ccee2538e1b9d6da0a
429
py
Python
cogdl/wrappers/data_wrapper/link_prediction/gnn_kg_link_prediction_dw.py
li-ziang/cogdl
60022d3334e3abae2d2a505e6e049a26acf10f39
[ "MIT" ]
6
2020-07-09T02:48:41.000Z
2021-06-16T09:04:14.000Z
cogdl/wrappers/data_wrapper/link_prediction/gnn_kg_link_prediction_dw.py
li-ziang/cogdl
60022d3334e3abae2d2a505e6e049a26acf10f39
[ "MIT" ]
null
null
null
cogdl/wrappers/data_wrapper/link_prediction/gnn_kg_link_prediction_dw.py
li-ziang/cogdl
60022d3334e3abae2d2a505e6e049a26acf10f39
[ "MIT" ]
1
2020-05-19T11:45:45.000Z
2020-05-19T11:45:45.000Z
from .. import DataWrapper class GNNKGLinkPredictionDataWrapper(DataWrapper): def __init__(self, dataset): super(GNNKGLinkPredictionDataWrapper, self).__init__(dataset) self.dataset = dataset self.edge_set = None def train_wrapper(self): return self.dataset.data def val_w...
23.833333
69
0.692308
46
429
6.195652
0.413043
0.192982
0.178947
0.221053
0.357895
0.357895
0.245614
0
0
0
0
0
0.228438
429
17
70
25.235294
0.861027
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.083333
0.25
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
681ee56a47befeb9b481745f3d4b51963f16b41e
79
py
Python
.history/auto-click2_20220119222038.py
pedroeuropeu/python-stubs
c3dcf6cba5fb706be9b4b199c930aa97533bcf31
[ "Apache-2.0" ]
null
null
null
.history/auto-click2_20220119222038.py
pedroeuropeu/python-stubs
c3dcf6cba5fb706be9b4b199c930aa97533bcf31
[ "Apache-2.0" ]
null
null
null
.history/auto-click2_20220119222038.py
pedroeuropeu/python-stubs
c3dcf6cba5fb706be9b4b199c930aa97533bcf31
[ "Apache-2.0" ]
null
null
null
import pyautogui print(pyautogui.size()) pyautogui.moveTo(2100,425,duration=1)
19.75
37
0.810127
11
79
5.818182
0.818182
0
0
0
0
0
0
0
0
0
0
0.106667
0.050633
79
4
37
19.75
0.746667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
6828a62151e848ac4834c9934f60af4a4dba19f7
797
py
Python
tests/distortion_test.py
KendallPark/pangloss
2e13b56ecfb21011e0b9e83cdbcfa68aafb72903
[ "MIT" ]
null
null
null
tests/distortion_test.py
KendallPark/pangloss
2e13b56ecfb21011e0b9e83cdbcfa68aafb72903
[ "MIT" ]
1
2020-09-25T21:10:58.000Z
2020-09-25T21:10:58.000Z
tests/distortion_test.py
KendallPark/panaugment
2e13b56ecfb21011e0b9e83cdbcfa68aafb72903
[ "MIT" ]
null
null
null
import unittest from panaugment import distortion def int_add_fn(example, magnitude): return example + magnitude def int_sub_fn(example, magnitude): return example - magnitude def int_mult_fn(example, magnitude): return example * magnitude def int_div_fn(example, magnitude): return example / magnitude ...
20.973684
67
0.762861
108
797
5.305556
0.268519
0.223386
0.125654
0.167539
0.418848
0.418848
0.240838
0.240838
0
0
0
0.004342
0.132999
797
37
68
21.540541
0.824891
0
0
0
0
0
0.030113
0
0
0
0
0
0.047619
1
0.285714
false
0
0.095238
0.190476
0.619048
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
68293a9f10bf2a1a1027b00a000342e2206e5b75
100
py
Python
omoide/migration_engine/operations/relocate/__init__.py
TaXeH/Omoide
8ccc9d47e802433bb2de21ff930e6630658cd5e3
[ "MIT" ]
null
null
null
omoide/migration_engine/operations/relocate/__init__.py
TaXeH/Omoide
8ccc9d47e802433bb2de21ff930e6630658cd5e3
[ "MIT" ]
null
null
null
omoide/migration_engine/operations/relocate/__init__.py
TaXeH/Omoide
8ccc9d47e802433bb2de21ff930e6630658cd5e3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from omoide.migration_engine.operations \ .relocate.relocate import act
25
41
0.71
12
100
5.833333
0.916667
0
0
0
0
0
0
0
0
0
0
0.011765
0.15
100
3
42
33.333333
0.811765
0.21
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
686094b5fafde27e34a296544c83cddcdc368f49
110
py
Python
Part_3_advanced/m17_tests_II/stub_mock/homework_1_start/galactic_systems/vehicle.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_3_advanced/m17_tests_II/stub_mock/homework_1_start/galactic_systems/vehicle.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_3_advanced/m17_tests_II/stub_mock/homework_1_start/galactic_systems/vehicle.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
from dataclasses import dataclass @dataclass class Vehicle: name: str model: str max_speed: int
12.222222
33
0.709091
14
110
5.5
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.245455
110
8
34
13.75
0.927711
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
6866d78498e1d151df134278c8be475caa7e5a27
950
py
Python
tests/resource/test_todo.py
mbohal/sandbox_apistar
aa146bfb375691f17dea6bd316076599b58ee519
[ "MIT" ]
null
null
null
tests/resource/test_todo.py
mbohal/sandbox_apistar
aa146bfb375691f17dea6bd316076599b58ee519
[ "MIT" ]
null
null
null
tests/resource/test_todo.py
mbohal/sandbox_apistar
aa146bfb375691f17dea6bd316076599b58ee519
[ "MIT" ]
null
null
null
from apistar import test from app import APP CLIENT = test.TestClient(APP) def test_todo_item_get(): response = CLIENT.get('/todos/1') assert response.status_code == 200 assert response.json() == {'id': 1, 'task': 'Buy milk'} def test_todo_item_put(): response = CLIENT.put('/todos/100', {'task': 'Bu...
31.666667
98
0.661053
129
950
4.705426
0.286822
0.207578
0.09061
0.197694
0.420099
0.337727
0.271829
0.271829
0.271829
0.194399
0
0.035443
0.168421
950
29
99
32.758621
0.732911
0
0
0.136364
0
0
0.136842
0
0
0
0
0
0.409091
1
0.227273
false
0
0.090909
0
0.318182
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
1
0
1
0
0
0
0
0
0
0
4
6869df174e0b3945a7c63942e864cb0edcf37832
28
py
Python
client/__init__.py
leni1/click-cli-news-api
63e4242496cab9b7d65f9a3eb0d68c89f5ad5b2c
[ "BSD-3-Clause" ]
null
null
null
client/__init__.py
leni1/click-cli-news-api
63e4242496cab9b7d65f9a3eb0d68c89f5ad5b2c
[ "BSD-3-Clause" ]
1
2021-06-01T23:32:02.000Z
2021-06-01T23:32:02.000Z
client/__init__.py
leni1/click-cli-news-api
63e4242496cab9b7d65f9a3eb0d68c89f5ad5b2c
[ "BSD-3-Clause" ]
null
null
null
name = "click-cli-news-api"
14
27
0.678571
5
28
3.8
1
0
0
0
0
0
0
0
0
0
0
0
0.107143
28
1
28
28
0.76
0
0
0
0
0
0.642857
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6888206c2ad33f770fa0b0e6a8bb13a46222db01
106
py
Python
pytest_djangoapp/tests/testapp/models.py
jayvdb/pytest-djangoapp
271df3cd57045961aadeb1ee4433de3f4fcfd2ef
[ "BSD-3-Clause" ]
34
2018-06-18T12:18:13.000Z
2021-05-14T14:15:39.000Z
pytest_djangoapp/tests/testapp/models.py
jayvdb/pytest-djangoapp
271df3cd57045961aadeb1ee4433de3f4fcfd2ef
[ "BSD-3-Clause" ]
25
2019-05-21T23:13:13.000Z
2022-02-10T10:49:50.000Z
pytest_djangoapp/tests/testapp/models.py
jayvdb/pytest-djangoapp
271df3cd57045961aadeb1ee4433de3f4fcfd2ef
[ "BSD-3-Clause" ]
4
2018-06-25T03:59:22.000Z
2021-05-27T04:09:57.000Z
from django.db import models class Article(models.Model): title = models.CharField(max_length=200)
15.142857
44
0.754717
15
106
5.266667
0.866667
0
0
0
0
0
0
0
0
0
0
0.033333
0.150943
106
6
45
17.666667
0.844444
0
0
0
0
0
0
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
68a840ae3592ebb5f5c89171558117c185122171
119
py
Python
tests/runtests.py
deformio/python-deform
c1edc7572881b83a4981b2dd39898527e518bd1f
[ "MIT" ]
3
2016-02-22T16:35:30.000Z
2019-09-05T15:08:55.000Z
tests/runtests.py
deformio/python-deform
c1edc7572881b83a4981b2dd39898527e518bd1f
[ "MIT" ]
12
2016-03-21T09:13:02.000Z
2016-07-30T17:15:56.000Z
tests/runtests.py
deformio/python-deform
c1edc7572881b83a4981b2dd39898527e518bd1f
[ "MIT" ]
null
null
null
import nose import requests requests.packages.urllib3.disable_warnings() if __name__ == '__main__': nose.main()
13.222222
44
0.747899
14
119
5.714286
0.714286
0
0
0
0
0
0
0
0
0
0
0.009804
0.142857
119
8
45
14.875
0.77451
0
0
0
0
0
0.067227
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
d7c3a88b60f9a0e7720e1018329e60af8f4e920a
733
py
Python
Mobiles/models.py
roqcodes/RoundUpCart
444aad70ff5d8b0646b6ee58f1e7df25358a7c3c
[ "MIT-0", "MIT" ]
1
2021-06-16T14:15:35.000Z
2021-06-16T14:15:35.000Z
Mobiles/models.py
roqcodes/RoundUpCart
444aad70ff5d8b0646b6ee58f1e7df25358a7c3c
[ "MIT-0", "MIT" ]
null
null
null
Mobiles/models.py
roqcodes/RoundUpCart
444aad70ff5d8b0646b6ee58f1e7df25358a7c3c
[ "MIT-0", "MIT" ]
null
null
null
from django.db import models # Create your models here. class Product(models.Model): name = models.CharField(max_length=255) category = models.CharField(max_length=255 ) price = models.FloatField() data = models.CharField(max_length=2000 ) stock = models.IntegerField() image = models.CharFie...
27.148148
49
0.709413
90
733
5.688889
0.411111
0.234375
0.28125
0.375
0.375
0.164063
0.164063
0.164063
0
0
0
0.054817
0.178718
733
26
50
28.192308
0.795681
0.098226
0
0.125
0
0
0
0
0
0
0
0
0
1
0
false
0
0.0625
0
1
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
cc01fb7554c2acd0d43ac2f134f3f76db6785d56
49
py
Python
_common/__init__.py
davidslusser/padlock
5a8714b0febb0eecd04e9245919720199f1d3c30
[ "Apache-2.0" ]
null
null
null
_common/__init__.py
davidslusser/padlock
5a8714b0febb0eecd04e9245919720199f1d3c30
[ "Apache-2.0" ]
2
2020-06-05T21:07:29.000Z
2021-06-10T21:34:13.000Z
_common/__init__.py
davidslusser/padlock
5a8714b0febb0eecd04e9245919720199f1d3c30
[ "Apache-2.0" ]
null
null
null
default_app_config = '_common.apps.CommonConfig'
24.5
48
0.836735
6
49
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.061224
49
1
49
49
0.826087
0
0
0
0
0
0.510204
0.510204
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
cc2fe53a33a12f60977121dc16e6ba6c03e9c0a0
88
py
Python
csv_to_html.py
cathdp/Web-Design-Challenge
6de86e72bfba8baf7b6c2b1845d830717a84fabf
[ "ADSL" ]
null
null
null
csv_to_html.py
cathdp/Web-Design-Challenge
6de86e72bfba8baf7b6c2b1845d830717a84fabf
[ "ADSL" ]
null
null
null
csv_to_html.py
cathdp/Web-Design-Challenge
6de86e72bfba8baf7b6c2b1845d830717a84fabf
[ "ADSL" ]
null
null
null
import pandas as pd pd.read_csv('Resources/cities.csv').to_html('Resources/table.html')
29.333333
67
0.784091
15
88
4.466667
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.056818
88
3
67
29.333333
0.807229
0
0
0
0
0
0.449438
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
0bc3542a91ba0505f3dbbf8471e3cf4a291da639
2,110
py
Python
spydrnet/ir/views/listview.py
ganeshgore/spydrnet
22672b8fc7d63461a71077bd20f29df6d38e96f4
[ "BSD-3-Clause" ]
34
2020-03-12T15:40:49.000Z
2022-02-28T07:13:47.000Z
spydrnet/ir/views/listview.py
ganeshgore/spydrnet
22672b8fc7d63461a71077bd20f29df6d38e96f4
[ "BSD-3-Clause" ]
104
2020-01-06T20:32:19.000Z
2022-01-02T00:20:14.000Z
spydrnet/ir/views/listview.py
ganeshgore/spydrnet
22672b8fc7d63461a71077bd20f29df6d38e96f4
[ "BSD-3-Clause" ]
10
2020-09-02T20:24:00.000Z
2022-02-24T16:10:07.000Z
class ListView: __slots__ = ['_list'] def __init__(self, list_object): self._list = list_object def __add__(self, other): return self._list.__add__(other) def __getitem__(self, other): return self._list.__getitem__(other) def __contains__(self, item): return self....
25.731707
64
0.631754
251
2,110
4.494024
0.183267
0.191489
0.297872
0.111702
0.490248
0.274823
0.274823
0.274823
0.274823
0.10461
0
0
0.258768
2,110
82
65
25.731707
0.721228
0
0
0.103448
0
0
0.037423
0
0
0
0
0
0
1
0.413793
false
0
0
0.293103
0.87931
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
0bca467fe9587280e8f29063469d683f5a75c777
197
py
Python
examples/sample_package/util/io.py
sherbold/Python-Programmierkurs
d77a0196019e8c70730cd64f005cce6854bf1a23
[ "Apache-2.0" ]
6
2019-04-11T12:44:38.000Z
2022-01-24T09:56:40.000Z
examples/sample_package/util/io.py
sherbold/Python-Programmierkurs
d77a0196019e8c70730cd64f005cce6854bf1a23
[ "Apache-2.0" ]
null
null
null
examples/sample_package/util/io.py
sherbold/Python-Programmierkurs
d77a0196019e8c70730cd64f005cce6854bf1a23
[ "Apache-2.0" ]
2
2019-05-23T11:30:22.000Z
2020-04-17T11:07:20.000Z
def print_with_linenumbers(*args, numberwidth=3): """Prints every argument in a new line and adds line numbers""" for i,arg in enumerate(args): print(f"{i:0{numberwidth}d}: {arg}")
39.4
67
0.675127
31
197
4.225806
0.774194
0
0
0
0
0
0
0
0
0
0
0.012422
0.182741
197
4
68
49.25
0.801242
0.28934
0
0
0
0
0.19403
0
0
0
0
0
0
1
0.333333
true
0
0
0
0.333333
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
1
0
4
0bdfd6ac856e8f733b77f6e1a048b86843e7dd38
1,099
py
Python
lib/systems/d-glutamic_acid.py
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
lib/systems/d-glutamic_acid.py
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
lib/systems/d-glutamic_acid.py
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
import pulsar as psr def load_ref_system(): """ Returns d-glutamic_acid as found in the IQMol fragment library. All credit to https://github.com/nutjunkie/IQmol """ return psr.make_system(""" C 1.9188 -0.6506 -1.2786 C 0.5809 -1.0283 -0.6469 N -0...
40.703704
71
0.410373
164
1,099
2.72561
0.560976
0.026846
0
0
0
0
0
0
0
0
0
0.503534
0.484986
1,099
26
72
42.269231
0.286219
0.101911
0
0
0
0
0.913133
0
0
0
0
0
0
1
0.043478
true
0
0.043478
0
0.130435
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
0be075a2b91d2e8066d6617820d13bd0ae89fa71
329
py
Python
scripts/Damper.py
kakemotokeita/dqn-seismic-control
d8d76df760c41eadc375bbd20d92fecfc1e51344
[ "MIT" ]
null
null
null
scripts/Damper.py
kakemotokeita/dqn-seismic-control
d8d76df760c41eadc375bbd20d92fecfc1e51344
[ "MIT" ]
null
null
null
scripts/Damper.py
kakemotokeita/dqn-seismic-control
d8d76df760c41eadc375bbd20d92fecfc1e51344
[ "MIT" ]
null
null
null
class Damper: def __init__(self): self.damper_force0 = 0 def d_damper_force(self, force, action): damper_force = force * -action # AIが決定するパラメータで、与えられた力に対して、どんな割合で力を返すかを決める値 d_damper_force = damper_force - self.damper_force0 self.damper_force0 = damper_force return d_damp...
32.9
82
0.699088
40
329
5.35
0.35
0.308411
0.224299
0
0
0
0
0
0
0
0
0.015873
0.234043
329
9
83
36.555556
0.833333
0.12462
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
0be8e4501e5c8fd52193f9ebc4de64285c0d28fa
60
py
Python
base.py
gajanlee/JumpMore
93df00c669b9f7bffd5623b353fee39793859cca
[ "MIT" ]
null
null
null
base.py
gajanlee/JumpMore
93df00c669b9f7bffd5623b353fee39793859cca
[ "MIT" ]
null
null
null
base.py
gajanlee/JumpMore
93df00c669b9f7bffd5623b353fee39793859cca
[ "MIT" ]
null
null
null
import func if __name__ == "__main__": os.system("dir")
15
26
0.65
8
60
3.875
1
0
0
0
0
0
0
0
0
0
0
0
0.183333
60
4
27
15
0.632653
0
0
0
0
0
0.180328
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
040426b2a18d923d502b932bfa607404c528fac0
198
py
Python
api/api_v1/horoskop/api.py
mhajder/dobrysennik-api
83b549edd663c93012be30d76b6d470ce505eff4
[ "MIT" ]
null
null
null
api/api_v1/horoskop/api.py
mhajder/dobrysennik-api
83b549edd663c93012be30d76b6d470ce505eff4
[ "MIT" ]
null
null
null
api/api_v1/horoskop/api.py
mhajder/dobrysennik-api
83b549edd663c93012be30d76b6d470ce505eff4
[ "MIT" ]
null
null
null
from fastapi import APIRouter from api.api_v1.horoskop import horoskop_anielski horoskop_router = APIRouter() horoskop_router.include_router(horoskop_anielski.router, prefix="/horoskop-anielski")
28.285714
85
0.848485
25
198
6.48
0.44
0.296296
0
0
0
0
0
0
0
0
0
0.005464
0.075758
198
6
86
33
0.879781
0
0
0
0
0
0.090909
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
041e116214a78a60600b7e02ed6a5fbcea8c88ba
203
py
Python
table.py
Hrushabhs/My-Pycode
c27549b89a7848827117e42d324d383732adfac5
[ "Apache-2.0" ]
null
null
null
table.py
Hrushabhs/My-Pycode
c27549b89a7848827117e42d324d383732adfac5
[ "Apache-2.0" ]
null
null
null
table.py
Hrushabhs/My-Pycode
c27549b89a7848827117e42d324d383732adfac5
[ "Apache-2.0" ]
null
null
null
#/* n=int(input("Enter the number to print the tables for:")) #for i in range(1,11): # print(n,"x",i,"=",n*i) n=int(input("Enter the number")) for i in range(1,11): print (n ,"x", i, "=", n * i)
25.375
61
0.55665
41
203
2.756098
0.390244
0.053097
0.159292
0.247788
0.831858
0.831858
0.424779
0.424779
0.424779
0.424779
0
0.036364
0.187192
203
7
62
29
0.648485
0.527094
0
0
0
0
0.193548
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
1
1
1
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
0422cdf6965fd3310cb3ebce9dada590aef4eab6
82
py
Python
cogs/owner/__init__.py
DangVietH/DangVietBot
e59092c57d990339d6a4f0cd412e5f243df2d6ed
[ "MIT" ]
2
2022-03-24T09:03:40.000Z
2022-03-25T18:31:42.000Z
cogs/owner/__init__.py
DangVietH/DangVietBot
e59092c57d990339d6a4f0cd412e5f243df2d6ed
[ "MIT" ]
null
null
null
cogs/owner/__init__.py
DangVietH/DangVietBot
e59092c57d990339d6a4f0cd412e5f243df2d6ed
[ "MIT" ]
null
null
null
from .owner import Owner async def setup(bot): await bot.add_cog(Owner(bot))
16.4
33
0.719512
14
82
4.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.170732
82
5
33
16.4
0.852941
0
0
0
0
0
0
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
04342ae9a1580691a139cbaeb35014849e51bf63
83
py
Python
signals.py
allenling/dbss
238913e0514ceefee7089cebaaacf12c858652bb
[ "MIT" ]
null
null
null
signals.py
allenling/dbss
238913e0514ceefee7089cebaaacf12c858652bb
[ "MIT" ]
null
null
null
signals.py
allenling/dbss
238913e0514ceefee7089cebaaacf12c858652bb
[ "MIT" ]
null
null
null
import django.dispatch index_update = django.dispatch.Signal(providing_args=[''])
20.75
58
0.795181
10
83
6.4
0.8
0.4375
0
0
0
0
0
0
0
0
0
0
0.072289
83
3
59
27.666667
0.831169
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
04391a93aea17a93933e769d9f77381e6a6a9cbb
4,287
py
Python
PAL/Cross/pupy/crypto/credentials.py
infosecsecurity/OSPTF
df3f63dc882db6d7e0b7bd80476e9bbc8471ac1f
[ "MIT" ]
2
2017-11-23T01:07:37.000Z
2021-06-25T05:03:49.000Z
PAL/Cross/pupy/crypto/credentials.py
infosecsecurity/OSPTF
df3f63dc882db6d7e0b7bd80476e9bbc8471ac1f
[ "MIT" ]
null
null
null
PAL/Cross/pupy/crypto/credentials.py
infosecsecurity/OSPTF
df3f63dc882db6d7e0b7bd80476e9bbc8471ac1f
[ "MIT" ]
1
2018-05-22T02:28:43.000Z
2018-05-22T02:28:43.000Z
#!/usr/bin/env python # -*- coding: UTF8 -*- # This file should contains the credentials your payloads' transports needs. # These credentials will be embedded depending on which transport you use when you generate payloads with pupygen.py # If pupygen.py doesn't find your credentials here, it will use default ones #S...
51.035714
116
0.904362
219
4,287
17.643836
0.872146
0.004658
0.006211
0
0
0
0
0
0
0
0
0.117335
0.033823
4,287
83
117
51.650602
0.815548
0.963144
0
null
0
null
0
0
null
1
0
0
null
1
null
true
0
0
null
null
null
0
0
1
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
1
0
0
0
0
0
1
0
0
0
0
0
0
4
043f444bc58f084afdb93cc9fe60281e884207d8
102
py
Python
django_renderservice/apps.py
aldowntown/django-renderservice
04e20963da313b6d16be370a92292262555a86fc
[ "MIT" ]
null
null
null
django_renderservice/apps.py
aldowntown/django-renderservice
04e20963da313b6d16be370a92292262555a86fc
[ "MIT" ]
null
null
null
django_renderservice/apps.py
aldowntown/django-renderservice
04e20963da313b6d16be370a92292262555a86fc
[ "MIT" ]
null
null
null
from django.apps import AppConfig class RenderServiceConfig(AppConfig): name = 'render_service'
17
37
0.784314
11
102
7.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.147059
102
5
38
20.4
0.908046
0
0
0
0
0
0.137255
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
f0b55399da69fabeefc52b71a3166c1f5f6d8865
123
py
Python
intro/language/demo.py
junghun73/Learning
8b5a295c42f142a3b2f5fa13fc75434a2ea9235a
[ "CC-BY-4.0" ]
419
2016-03-05T08:50:48.000Z
2022-03-24T15:16:46.000Z
intro/language/demo.py
techeye220/scipy-lecture-notes-zh-CN
cc87204fcc4bd2f4702f7c29c83cb8ed5c94b7d6
[ "CC-BY-4.0" ]
5
2016-05-21T14:21:12.000Z
2017-10-06T11:09:48.000Z
intro/language/demo.py
techeye220/scipy-lecture-notes-zh-CN
cc87204fcc4bd2f4702f7c29c83cb8ed5c94b7d6
[ "CC-BY-4.0" ]
233
2016-02-13T09:22:57.000Z
2021-11-11T17:58:44.000Z
"A demo module." def print_b(): "Prints b." print 'b' def print_a(): "Prints a." print 'a' c = 2 d = 2
8.785714
16
0.495935
21
123
2.809524
0.47619
0.271186
0
0
0
0
0
0
0
0
0
0.02439
0.333333
123
13
17
9.461538
0.695122
0
0
0
0
0
0.276423
0
0
0
0
0
0
0
null
null
0
0
null
null
0.444444
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
1
0
0
0
0
0
0
1
0
4
f0b739474b9b6af6ba0ed03e322b1d5a250a8c5e
31
py
Python
data/studio21_generated/introductory/3710/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3710/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3710/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def ulam_sequence(u0, u1, n):
15.5
29
0.677419
6
31
3.333333
1
0
0
0
0
0
0
0
0
0
0
0.076923
0.16129
31
2
30
15.5
0.692308
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
f0bbaed1c3fcd94be0fd462d5d84048db6b6e089
101
py
Python
M-SOLUTIONS/MS_B.py
consommee/AtCoder
9beccf6a1202ca48491b4fcf748aa3dba0f12fb3
[ "MIT" ]
null
null
null
M-SOLUTIONS/MS_B.py
consommee/AtCoder
9beccf6a1202ca48491b4fcf748aa3dba0f12fb3
[ "MIT" ]
null
null
null
M-SOLUTIONS/MS_B.py
consommee/AtCoder
9beccf6a1202ca48491b4fcf748aa3dba0f12fb3
[ "MIT" ]
null
null
null
a = int(input()) print((a-2)*180)c = input() if c.count('x') <= 7: print("YES") else: print("NO")
16.833333
27
0.534653
19
101
2.842105
0.736842
0
0
0
0
0
0
0
0
0
0
0.058824
0.158416
101
6
28
16.833333
0.576471
0
0
0
0
0
0.058824
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
1
0
4
f0ee765356c79d2d347e75c002daf5561759936a
1,996
py
Python
apps/breakfast/tools/Life/tools/cx/messages/SetProbeSchedule.py
mtaghiza/tinyos-main-1
cac075f7eae46c6a37409e66137a78b9bc3a64b1
[ "BSD-3-Clause" ]
null
null
null
apps/breakfast/tools/Life/tools/cx/messages/SetProbeSchedule.py
mtaghiza/tinyos-main-1
cac075f7eae46c6a37409e66137a78b9bc3a64b1
[ "BSD-3-Clause" ]
null
null
null
apps/breakfast/tools/Life/tools/cx/messages/SetProbeSchedule.py
mtaghiza/tinyos-main-1
cac075f7eae46c6a37409e66137a78b9bc3a64b1
[ "BSD-3-Clause" ]
1
2022-02-21T14:31:18.000Z
2022-02-21T14:31:18.000Z
from tools.cx.messages import SetSettingsStorageMsg import tools.cx.constants class SetProbeSchedule(SetSettingsStorageMsg.SetSettingsStorageMsg): def __init__(self, probeInterval, channel, invFrequency, bw, maxDepth): SetSettingsStorageMsg.SetSettingsStorageMsg.__init__(self ) self.set_...
51.179487
74
0.665331
257
1,996
5.054475
0.272374
0.221709
0.270978
0.394149
0.507313
0.426482
0.371824
0
0
0
0
0.059899
0.205411
1,996
38
75
52.526316
0.759143
0.04008
0
0
0
0
0.015699
0
0
0
0
0
0
0
null
null
0
0.064516
null
null
0.032258
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
f0f373aaf363bfe55b135af7713608298f484256
57
py
Python
src/start.py
jairomr/ReportCamera
550b4e2e943660b9157b3918deef9048f2627117
[ "MIT" ]
null
null
null
src/start.py
jairomr/ReportCamera
550b4e2e943660b9157b3918deef9048f2627117
[ "MIT" ]
null
null
null
src/start.py
jairomr/ReportCamera
550b4e2e943660b9157b3918deef9048f2627117
[ "MIT" ]
null
null
null
from GetFileFTP import GetFileFTP as gftp gftp().main()
14.25
41
0.77193
8
57
5.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.140351
57
3
42
19
0.897959
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
f0f8278a7db188aa7870423ca03f857140617070
100
py
Python
Question 51 - 60/Q55.py
debdutgoswami/python-semester-practical
9abdc9091d825a2425b36437f6f8fe6806ac84f2
[ "MIT" ]
null
null
null
Question 51 - 60/Q55.py
debdutgoswami/python-semester-practical
9abdc9091d825a2425b36437f6f8fe6806ac84f2
[ "MIT" ]
null
null
null
Question 51 - 60/Q55.py
debdutgoswami/python-semester-practical
9abdc9091d825a2425b36437f6f8fe6806ac84f2
[ "MIT" ]
null
null
null
import math a, b = tuple(int(i) for i in input("enter two number: ").split()) print(math.gcd(a,b))
20
65
0.65
20
100
3.25
0.8
0.061538
0
0
0
0
0
0
0
0
0
0
0.15
100
5
66
20
0.764706
0
0
0
0
0
0.178218
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
0b072e123f4c3af5c3fbb8a97f91dbb823ca1c93
192
py
Python
rocketman/types/history.py
Batucho/Rocketman
ff93b7e68be269e4b1b04b4d72611e308e73a76b
[ "MIT" ]
null
null
null
rocketman/types/history.py
Batucho/Rocketman
ff93b7e68be269e4b1b04b4d72611e308e73a76b
[ "MIT" ]
null
null
null
rocketman/types/history.py
Batucho/Rocketman
ff93b7e68be269e4b1b04b4d72611e308e73a76b
[ "MIT" ]
null
null
null
from typing import Dict, TypedDict class HistoricEventData(TypedDict): id: str links: Dict[str, str] title: str event_date_utc: str event_date_unix: int details: str
17.454545
35
0.692708
26
192
4.961538
0.653846
0.124031
0.186047
0
0
0
0
0
0
0
0
0
0.239583
192
10
36
19.2
0.883562
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.125
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
9bcef62a7d3242edb57a41139cda014a1a7bf36e
91
py
Python
configs/__init__.py
mutalisk999/bibi
2e0043d207c83ef7fc55d20b9c0a1b7e493a551c
[ "Apache-2.0" ]
1,037
2017-03-24T11:18:55.000Z
2022-03-19T14:02:27.000Z
configs/__init__.py
spacecode-live/An-e-commerce-fullstack-solution-for-Flask-
28130a18a73afbb99bf850e857dd1f14c08fbca1
[ "Apache-2.0" ]
8
2017-03-26T02:53:24.000Z
2018-09-14T03:18:26.000Z
configs/__init__.py
spacecode-live/An-e-commerce-fullstack-solution-for-Flask-
28130a18a73afbb99bf850e857dd1f14c08fbca1
[ "Apache-2.0" ]
365
2017-03-24T11:29:02.000Z
2021-11-24T03:14:19.000Z
# -*- coding: utf-8 -*- from .config import BaseConfig, DevConfig, TestConfig, get_config
22.75
65
0.714286
11
91
5.818182
0.909091
0
0
0
0
0
0
0
0
0
0
0.012821
0.142857
91
3
66
30.333333
0.807692
0.230769
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
9be5cd74a92a724c408e39cb56bd9e8e9f4ccda9
226
py
Python
{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/models.py
pylabs/pyramid-full
9bc40a16ae1fa71aef9746bdbeb5a19ae305ee90
[ "MIT" ]
null
null
null
{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/models.py
pylabs/pyramid-full
9bc40a16ae1fa71aef9746bdbeb5a19ae305ee90
[ "MIT" ]
null
null
null
{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/models.py
pylabs/pyramid-full
9bc40a16ae1fa71aef9746bdbeb5a19ae305ee90
[ "MIT" ]
null
null
null
#from pyramid_sqlalchemy import BaseObject #from sqlalchemy import Column, Integer, String #class MyModel(BaseObject): # # __tablename__ = '' # # id = Column(Integer, primary_key=True) # field = Column(String(255))
20.545455
47
0.716814
25
226
6.24
0.68
0.205128
0
0
0
0
0
0
0
0
0
0.015957
0.168142
226
10
48
22.6
0.81383
0.920354
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
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
0
0
0
0
0
4
9bf03018ab48026de12c74be90575e18c75c0354
247
py
Python
qmt/__init__.py
merrittlosert/qmt
bf4684d9cf0ae64aac05ecd1e16b2aaa2d359c54
[ "MIT" ]
31
2018-03-07T18:30:41.000Z
2019-05-06T18:35:41.000Z
qmt/__init__.py
merrittlosert/qmt
bf4684d9cf0ae64aac05ecd1e16b2aaa2d359c54
[ "MIT" ]
64
2018-03-23T19:10:48.000Z
2019-05-06T18:14:13.000Z
qmt/__init__.py
merrittlosert/qmt
bf4684d9cf0ae64aac05ecd1e16b2aaa2d359c54
[ "MIT" ]
15
2019-05-08T10:55:04.000Z
2022-01-05T16:49:29.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from ._version import __version__ del _version from .physics_constants import units, constants, parse_unit, to_float from .materials import Materials
24.7
69
0.809717
32
247
5.96875
0.75
0
0
0
0
0
0
0
0
0
0
0
0.137652
247
9
70
27.444444
0.896714
0.360324
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
9bf9338f1b7bdb27f31d544457ae65d79d59a453
17,582
py
Python
tests/utils/test_flexible_version.py
mbearup/WALinuxAgent
4a64802c2a0a31c458a2d1de9cbe378b26674bac
[ "Apache-2.0" ]
null
null
null
tests/utils/test_flexible_version.py
mbearup/WALinuxAgent
4a64802c2a0a31c458a2d1de9cbe378b26674bac
[ "Apache-2.0" ]
null
null
null
tests/utils/test_flexible_version.py
mbearup/WALinuxAgent
4a64802c2a0a31c458a2d1de9cbe378b26674bac
[ "Apache-2.0" ]
null
null
null
import random # pylint: disable=unused-import import re import unittest from azurelinuxagent.common.utils.flexible_version import FlexibleVersion class TestFlexibleVersion(unittest.TestCase): def setUp(self): self.v = FlexibleVersion() # pylint: disable=invalid-name def test_compile_separator(self...
32.925094
138
0.479752
1,990
17,582
4.171357
0.08392
0.028912
0.036863
0.063607
0.84014
0.775087
0.722443
0.699916
0.689555
0.668233
0
0.076051
0.368047
17,582
533
139
32.986867
0.671047
0.124616
0
0.557447
0
0
0.168168
0
0
0
0
0
0.095745
1
0.042553
false
0.010638
0.008511
0
0.091489
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
ac8d295e14f2f964d4cbd786e12e2b52c32d8ae3
1,059
py
Python
libra/transaction/__init__.py
MoveOnLibra/libra-core
3b04fd86d263a22e323cca873c13e6397a560f8b
[ "MIT" ]
5
2020-01-06T08:31:23.000Z
2020-10-17T19:24:30.000Z
libra/transaction/__init__.py
MoveOnLibra/libra-core
3b04fd86d263a22e323cca873c13e6397a560f8b
[ "MIT" ]
1
2020-04-08T10:35:48.000Z
2020-04-08T10:35:48.000Z
libra/transaction/__init__.py
MoveOnLibra/libra-core
3b04fd86d263a22e323cca873c13e6397a560f8b
[ "MIT" ]
1
2020-04-07T11:19:59.000Z
2020-04-07T11:19:59.000Z
from libra.transaction.transaction_argument import TransactionArgument # noqa: F401 from libra.transaction.write_set import WriteSet, WriteOp # noqa: F401 from libra.transaction.change_set import ChangeSet # noqa: F401 from libra.transaction.script import Script # noqa: F401 from libra.transaction.module import...
70.6
110
0.830028
122
1,059
7.081967
0.352459
0.125
0.277778
0.216435
0.394676
0.135417
0
0
0
0
0
0.044872
0.116147
1,059
15
111
70.6
0.878205
0.123702
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
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
ac8e729873144f89e2255b843a2b5b36a8f3d405
28
py
Python
wrangalytics/config/__init__.py
acastrounis/data-wrangler
0288449e08ebd14393e1718e6ecf3765b0ec77b2
[ "MIT" ]
1
2018-07-02T22:18:24.000Z
2018-07-02T22:18:24.000Z
wrangalytics/config/__init__.py
acastrounis/data-wrangler
0288449e08ebd14393e1718e6ecf3765b0ec77b2
[ "MIT" ]
null
null
null
wrangalytics/config/__init__.py
acastrounis/data-wrangler
0288449e08ebd14393e1718e6ecf3765b0ec77b2
[ "MIT" ]
null
null
null
name = "wrangalytics.config"
28
28
0.785714
3
28
7.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.071429
28
1
28
28
0.846154
0
0
0
0
0
0.655172
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
ac920722c5c99eeb88e78ee45c08918b9ea695e2
259
py
Python
apps/main/api/document.py
major-hub/soil_app
ddd250161ad496afd4c8484f79500ff2657b51df
[ "MIT" ]
null
null
null
apps/main/api/document.py
major-hub/soil_app
ddd250161ad496afd4c8484f79500ff2657b51df
[ "MIT" ]
null
null
null
apps/main/api/document.py
major-hub/soil_app
ddd250161ad496afd4c8484f79500ff2657b51df
[ "MIT" ]
null
null
null
from rest_framework.viewsets import ModelViewSet from main.models import Document from main.serializers.document import DocumentSerializer class DocumentViewSet(ModelViewSet): queryset = Document.objects.all() serializer_class = DocumentSerializer
25.9
56
0.830116
27
259
7.888889
0.62963
0.075117
0
0
0
0
0
0
0
0
0
0
0.119691
259
9
57
28.777778
0.934211
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
ac9cf64b6710a2d79c467efc2bdd0184afa2efa7
510
py
Python
tests/kyu_7_tests/test_digitize.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
tests/kyu_7_tests/test_digitize.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
tests/kyu_7_tests/test_digitize.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import unittest from katas.kyu_7.digitize import digitize class DigitizeTestCase(unittest.TestCase): def test_equals(self): self.assertEqual(digitize(123), [1, 2, 3]) def test_equals_2(self): self.assertEqual(digitize(1), [1]) def test_equals_3(self): self.assertEqual(digitize(0...
24.285714
66
0.65098
73
510
4.410959
0.369863
0.108696
0.201863
0.419255
0
0
0
0
0
0
0
0.091584
0.207843
510
20
67
25.5
0.705446
0
0
0
0
0
0
0
0
0
0
0
0.384615
1
0.384615
false
0
0.153846
0
0.615385
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
ac9dfb6a997d4da3fd657f04305b7706b974db33
15,620
py
Python
musiczone/Music/tests.py
yan17asn/ITC172win20
1a7c0280956fdb9279d46dff5237190584653a5e
[ "Apache-2.0" ]
null
null
null
musiczone/Music/tests.py
yan17asn/ITC172win20
1a7c0280956fdb9279d46dff5237190584653a5e
[ "Apache-2.0" ]
null
null
null
musiczone/Music/tests.py
yan17asn/ITC172win20
1a7c0280956fdb9279d46dff5237190584653a5e
[ "Apache-2.0" ]
null
null
null
from django.test import TestCase from django.urls import reverse from .models import Genre, Artist, Album, Song, SongReview from django.contrib.auth.models import User from .forms import GenreForm, ArtistForm, AlbumForm, SongForm, SongReviewForm # Create your tests here. # ================== Genre Model ============...
42.445652
143
0.675288
1,958
15,620
5.262002
0.07712
0.036688
0.048918
0.0396
0.826749
0.771038
0.720567
0.652431
0.557022
0.523634
0
0.022117
0.163444
15,620
368
144
42.445652
0.766358
0.03694
0
0.514815
0
0
0.185691
0.014576
0
0
0
0
0.237037
1
0.240741
false
0.040741
0.018519
0
0.351852
0
0
0
0
null
0
0
0
1
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
1
0
0
0
0
0
0
0
4
aca69dfe476764a1dcf08a1e2ba90caf76fa27f0
69
py
Python
test.py
axetrades/testnew
e8586f6570c5aca69f2fed6d916733c77e384a78
[ "Apache-2.0" ]
null
null
null
test.py
axetrades/testnew
e8586f6570c5aca69f2fed6d916733c77e384a78
[ "Apache-2.0" ]
null
null
null
test.py
axetrades/testnew
e8586f6570c5aca69f2fed6d916733c77e384a78
[ "Apache-2.0" ]
null
null
null
import yfinance as yf ticker = yf.Ticker("AAPL") print(ticker.info)
13.8
26
0.73913
11
69
4.636364
0.727273
0.313725
0
0
0
0
0
0
0
0
0
0
0.130435
69
5
27
13.8
0.85
0
0
0
0
0
0.057143
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
acac4bfb0ac46e8083b8b2e050fc9f839ca0e09a
3,697
py
Python
cv19gm/utils/cv19errors.py
DLab/covid19geomodeller
a3a9eedf064078b21be0928ee41b41c902938eff
[ "MIT" ]
null
null
null
cv19gm/utils/cv19errors.py
DLab/covid19geomodeller
a3a9eedf064078b21be0928ee41b41c902938eff
[ "MIT" ]
null
null
null
cv19gm/utils/cv19errors.py
DLab/covid19geomodeller
a3a9eedf064078b21be0928ee41b41c902938eff
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import numpy as np """ # -------------------------------- # # Error measuring functions # # -------------------------------- # """ def cv19errorbuild(input): """ Function builder # crear un iterador que recorra el input y cree la función a partir de un c...
32.429825
116
0.550176
545
3,697
3.649541
0.194495
0.100553
0.108597
0.054299
0.790347
0.769231
0.738562
0.680241
0.680241
0.676219
0
0.008922
0.242088
3,697
114
117
32.429825
0.700928
0.305112
0
0.5
0
0
0.004292
0
0
0
0
0
0
1
0.208333
false
0
0.020833
0
0.458333
0.020833
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
acc0c0858ef358cc9dc45678e223dd39761be7ae
2,109
py
Python
python3/base/os.py
shuguoqing123/code_store
32b867d1980c52b352b8c3af8d50c1534ff5b644
[ "MIT" ]
null
null
null
python3/base/os.py
shuguoqing123/code_store
32b867d1980c52b352b8c3af8d50c1534ff5b644
[ "MIT" ]
null
null
null
python3/base/os.py
shuguoqing123/code_store
32b867d1980c52b352b8c3af8d50c1534ff5b644
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 #-*-coding:utf-8-*- ''' 不同操作系统底层实现不同,文件系统不同 os模块可以帮助我们屏蔽操作系统的差异 ''' import os print(os.getcwd())#返回当前目录,脚本所在目录 os.chdir('/home/shuguoqing')#改变工作目录,相当于cd命令 print(os.getcwd())#工作目录被改变 print(os.listdir('.'))#列出目录下所有文件和目录 os.mkdir('new')#在工作目录下新建一个目录 os.makedirs('new/a/b')#在工作目录下新建多层目录 os.chdir('n...
32.953125
108
0.764817
316
2,109
5.060127
0.341772
0.078799
0.201376
0.236398
0.451532
0.406504
0.406504
0.35272
0.35272
0
0
0.008828
0.033191
2,109
63
109
33.47619
0.77538
0.213371
0
0.057143
0
0
0.533499
0.447891
0
0
0
0
0
1
0
false
0
0.057143
0
0.057143
0.6
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
1
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
acdbdf75290ee1fc9a941b69225170e8498381d2
75,885
py
Python
sfa_api/conftest.py
SolarArbiter/solarforecastarbiter-api
280800c73eb7cfd49029462b352887e78f1ff91b
[ "MIT" ]
7
2018-12-07T22:05:36.000Z
2020-05-03T03:20:50.000Z
sfa_api/conftest.py
SolarArbiter/solarforecastarbiter-api
280800c73eb7cfd49029462b352887e78f1ff91b
[ "MIT" ]
220
2018-11-01T23:33:19.000Z
2021-12-02T21:06:38.000Z
sfa_api/conftest.py
SolarArbiter/solarforecastarbiter-api
280800c73eb7cfd49029462b352887e78f1ff91b
[ "MIT" ]
3
2018-10-31T20:55:07.000Z
2021-11-10T22:51:43.000Z
from contextlib import contextmanager import datetime as dt from functools import partial from io import StringIO import json from flask import _request_ctx_stack import numpy as np import pandas as pd import pymysql import pytest import pytz import requests from sfa_api import create_app from sfa_api.utils import ...
34.508868
120
0.659814
13,626
75,885
3.606488
0.124101
0.147491
0.114525
0.043161
0.465712
0.35607
0.322372
0.276444
0.230597
0.175573
0
0.438582
0.148844
75,885
2,198
121
34.524568
0.322248
0.014601
0
0.266165
0
0.003008
0.672292
0.524223
0
0
0
0
0.000501
1
0.037093
false
0.001504
0.007519
0.013534
0.074687
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4a06941c1fc98c19e86b7b106006add68be78f79
97
py
Python
code/pyFoamInitVCSCase.py
sosohungry/pyfoam
b19e40a0ef1f41268930122226660414722178e6
[ "MIT" ]
null
null
null
code/pyFoamInitVCSCase.py
sosohungry/pyfoam
b19e40a0ef1f41268930122226660414722178e6
[ "MIT" ]
null
null
null
code/pyFoamInitVCSCase.py
sosohungry/pyfoam
b19e40a0ef1f41268930122226660414722178e6
[ "MIT" ]
null
null
null
#! /usr/bin/env python from PyFoam.Applications.InitVCSCase import InitVCSCase InitVCSCase()
13.857143
55
0.783505
11
97
6.909091
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.123711
97
6
56
16.166667
0.894118
0.216495
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
4a17a369272dd73d61bcf9a1aa9faee2c7c67761
193
py
Python
src/runner/i_discord_bot_runner.py
konrad2508/kokomi-discord-bot
5a9d459e92d552fa24ba3ada5188db19d93f0aaa
[ "MIT" ]
2
2022-03-02T15:56:41.000Z
2022-03-10T16:30:41.000Z
src/runner/i_discord_bot_runner.py
konrad2508/kokomi-discord-bot
5a9d459e92d552fa24ba3ada5188db19d93f0aaa
[ "MIT" ]
2
2022-03-10T16:30:20.000Z
2022-03-16T14:33:59.000Z
src/runner/i_discord_bot_runner.py
konrad2508/kokomi-discord-bot
5a9d459e92d552fa24ba3ada5188db19d93f0aaa
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod class IDiscordBotRunner(ABC): '''Class responsible for running the bot.''' @abstractmethod def run(self) -> None: '''Runs the bot.'''
19.3
48
0.647668
22
193
5.681818
0.727273
0.096
0
0
0
0
0
0
0
0
0
0
0.227979
193
9
49
21.444444
0.838926
0.26943
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
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
1
0
0
0
0
1
0
0
4
c58fa26cc451ddeb585d48e3a8b9d18f10e73165
1,416
py
Python
hackerrank/Algorithms/Floyd - City of Blinding Lights/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
4
2020-07-24T01:59:50.000Z
2021-07-24T15:14:08.000Z
hackerrank/Algorithms/Floyd - City of Blinding Lights/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
hackerrank/Algorithms/Floyd - City of Blinding Lights/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
import unittest import solution class TestQ(unittest.TestCase): def test_case_0(self): dist = solution.calculate_distances(5, [1, 1, 1, 1, 2, 3, 4], [2, 3, 4, 5, 3, 4, 5], [...
42.909091
73
0.53178
168
1,416
4.333333
0.220238
0.226648
0.347527
0.468407
0.782967
0.68956
0.68956
0.629121
0.504121
0.494505
0
0.095802
0.343927
1,416
32
74
44.25
0.687836
0
0
0.230769
0
0
0.00565
0
0
0
0
0
0.423077
1
0.076923
false
0
0.076923
0
0.192308
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
c59541ab353b33ef50372d6f3200689266ab0c18
6,338
py
Python
acos_client/tests/unit/v21/test_slb_service_group_member.py
sana-ag/acos-client
88707cc029551cfae0d4a32904b9c282d4dad0b4
[ "Apache-2.0" ]
33
2015-02-11T16:42:04.000Z
2021-08-24T16:06:23.000Z
acos_client/tests/unit/v21/test_slb_service_group_member.py
sana-ag/acos-client
88707cc029551cfae0d4a32904b9c282d4dad0b4
[ "Apache-2.0" ]
154
2015-01-12T18:46:28.000Z
2022-01-22T13:59:48.000Z
acos_client/tests/unit/v21/test_slb_service_group_member.py
sana-ag/acos-client
88707cc029551cfae0d4a32904b9c282d4dad0b4
[ "Apache-2.0" ]
68
2015-01-12T22:29:57.000Z
2021-07-13T07:21:05.000Z
# Copyright 2014, Doug Wiegley, A10 Networks. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
43.115646
116
0.68823
794
6,338
5.338791
0.191436
0.06511
0.089172
0.082567
0.75348
0.732248
0.712432
0.712432
0.699693
0.695447
0
0.021215
0.181919
6,338
146
117
43.410959
0.796336
0.105238
0
0.627451
0
0
0.131011
0.024929
0
0
0
0.006849
0.27451
1
0.078431
false
0.009804
0.078431
0
0.166667
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
c5cdee22e5c59d42752507ba83bff3da27fa9953
163
py
Python
examples/kubernetes/lib/custom_jinja2_filter.py
tklebanoff/kapitan
1e55f356ef0212f98fdf76bddc25f183dd42e694
[ "Apache-2.0" ]
null
null
null
examples/kubernetes/lib/custom_jinja2_filter.py
tklebanoff/kapitan
1e55f356ef0212f98fdf76bddc25f183dd42e694
[ "Apache-2.0" ]
1
2019-03-29T10:38:51.000Z
2019-03-29T10:38:51.000Z
examples/kubernetes/lib/custom_jinja2_filter.py
tklebanoff/kapitan
1e55f356ef0212f98fdf76bddc25f183dd42e694
[ "Apache-2.0" ]
null
null
null
import base64 def custom_jinja2_filter(string): """encodes a string using base64 schema""" return base64.b64encode(string.encode("UTF-8")).decode("UTF-8")
32.6
67
0.730061
23
163
5.086957
0.73913
0.068376
0
0
0
0
0
0
0
0
0
0.076923
0.122699
163
5
67
32.6
0.741259
0.220859
0
0
0
0
0.081967
0
0
0
0
0
0
1
0.333333
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
1
0
0
1
0
0
0
0
4
6803139a5638e6981a70047aa64fa7759c8e3bf6
82
py
Python
src/flask_graphql_pandas/__init__.py
p768lwy3/flask-graphql-pandas
f343d1e49049b73210ce37ac02254e0b910ea0b9
[ "MIT" ]
2
2019-11-04T08:40:41.000Z
2020-03-19T19:37:05.000Z
src/flask_graphql_pandas/__init__.py
p768lwy3/flask-graphql-pandas
f343d1e49049b73210ce37ac02254e0b910ea0b9
[ "MIT" ]
null
null
null
src/flask_graphql_pandas/__init__.py
p768lwy3/flask-graphql-pandas
f343d1e49049b73210ce37ac02254e0b910ea0b9
[ "MIT" ]
null
null
null
from .graphqlpandasview import GraphQLPandasView __all__ = ["GraphQLPandasView"]
20.5
48
0.829268
6
82
10.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.097561
82
3
49
27.333333
0.864865
0
0
0
0
0
0.207317
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
0
0
0
0
1
0
0
0
0
4
a84d3a03ec3904180e731e724be3be9db3538660
726
py
Python
py/device/boards/pit.py
arccode/factory
a1b0fccd68987d8cd9c89710adc3c04b868347ec
[ "BSD-3-Clause" ]
3
2022-01-06T16:52:52.000Z
2022-03-07T11:30:47.000Z
py/device/boards/pit.py
arccode/factory
a1b0fccd68987d8cd9c89710adc3c04b868347ec
[ "BSD-3-Clause" ]
null
null
null
py/device/boards/pit.py
arccode/factory
a1b0fccd68987d8cd9c89710adc3c04b868347ec
[ "BSD-3-Clause" ]
1
2021-10-24T01:47:22.000Z
2021-10-24T01:47:22.000Z
# Copyright 2015 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import logging from cros.factory.device.boards import chromeos from cros.factory.device import device_types from cros.factory.device import power class...
25.928571
75
0.769972
97
726
5.742268
0.690722
0.043088
0.08079
0.113106
0.096948
0
0
0
0
0
0
0.014634
0.152893
726
27
76
26.888889
0.891057
0.322314
0
0
0
0
0.113872
0
0
0
0
0.037037
0
1
0.230769
false
0
0.307692
0.076923
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
1
0
1
0
0
4
a85dff2b28621c44b710fa8edba724e4a00b0412
20
py
Python
testsuite/test.py
tsukit2/hasthon
45be6c6246aae17135b9be39680799de40162bca
[ "MIT" ]
null
null
null
testsuite/test.py
tsukit2/hasthon
45be6c6246aae17135b9be39680799de40162bca
[ "MIT" ]
null
null
null
testsuite/test.py
tsukit2/hasthon
45be6c6246aae17135b9be39680799de40162bca
[ "MIT" ]
null
null
null
"""abcdd efddfdf"""
6.666667
10
0.6
2
20
6
1
0
0
0
0
0
0
0
0
0
0
0
0.1
20
2
11
10
0.666667
0.65
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
a86adf13be6794c5342e6b321d29c7db40ab7d1c
35
py
Python
tests/components/spc/__init__.py
domwillcode/home-assistant
f170c80bea70c939c098b5c88320a1c789858958
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
tests/components/spc/__init__.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
31,101
2020-03-02T13:00:16.000Z
2022-03-31T23:57:36.000Z
tests/components/spc/__init__.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""Tests for the spc component."""
17.5
34
0.657143
5
35
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
35
1
35
35
0.766667
0.8
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
a87016099cc5a3c7d5292dfe478d8bba2de6e207
135
py
Python
lib/__init__.py
mikniloes/frcnn-sutdy
f9aacb22f0e4306dc5cc54aebc6172e129bc2d93
[ "MIT" ]
1
2021-04-12T03:26:23.000Z
2021-04-12T03:26:23.000Z
lib/__init__.py
mikniloes/frcnn-sutdy
f9aacb22f0e4306dc5cc54aebc6172e129bc2d93
[ "MIT" ]
3
2021-04-07T05:28:56.000Z
2021-08-25T01:23:36.000Z
lib/__init__.py
mikniloes/frcnn-sutdy
f9aacb22f0e4306dc5cc54aebc6172e129bc2d93
[ "MIT" ]
null
null
null
import os import sys lib_path = os.path.join(os.path.dirname(__file__)) if lib_path not in sys.path: sys.path.insert(0, lib_path)
19.285714
50
0.740741
26
135
3.576923
0.5
0.225806
0
0
0
0
0
0
0
0
0
0.008621
0.140741
135
6
51
22.5
0.793103
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
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
a87dd0b83311034ceae7ddb83e11751181b28e4d
5,282
py
Python
tests/test_palettetools_constants.py
fossabot/palette-tools
c44be30d783998edb17a30b7f323df65df8170a4
[ "BSD-2-Clause" ]
null
null
null
tests/test_palettetools_constants.py
fossabot/palette-tools
c44be30d783998edb17a30b7f323df65df8170a4
[ "BSD-2-Clause" ]
null
null
null
tests/test_palettetools_constants.py
fossabot/palette-tools
c44be30d783998edb17a30b7f323df65df8170a4
[ "BSD-2-Clause" ]
null
null
null
BLACK_HEX = '000' WHITE_HEX = 'fff' IMG_BLUEHAT = "https://assets.imgix.net/examples/bluehat.jpg" IMG_PINE = "https://sherwinski.imgix.net/pineneedles.jpg" BROKEN_URL = "https://assets.imgix.net/examples/invalid" INVALID_URL = "https://google.com" CSS_BLUEHAT = """.image-fg-1 { color:#0d0c10 !important; } .image-bg-1 ...
377.285714
1,465
0.662817
730
5,282
4.765753
0.175342
0.217304
0.128773
0.039667
0.61167
0.492095
0.208106
0.073584
0.073584
0.073584
0
0.180214
0.098637
5,282
14
1,466
377.285714
0.550515
0
0
0
0
0.2
0.712474
0.177172
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a88895b39ad9b10a85ef11cb104b05c1acd7d81a
225
py
Python
PacketHandler/Filters/http_200_filter.py
akbokha/fhttp
6ac98ac9abe56259565d45854f58daf4ab808d65
[ "MIT" ]
1
2018-03-19T10:16:37.000Z
2018-03-19T10:16:37.000Z
PacketHandler/Filters/http_200_filter.py
akbokha/fhttp
6ac98ac9abe56259565d45854f58daf4ab808d65
[ "MIT" ]
3
2018-03-22T23:38:09.000Z
2018-04-07T09:09:53.000Z
PacketHandler/Filters/http_200_filter.py
akbokha/fhttp
6ac98ac9abe56259565d45854f58daf4ab808d65
[ "MIT" ]
null
null
null
from PacketHandler.Filters.tcp_regex_filter import TcpRegexFilter class Http200Filter(TcpRegexFilter): def __init__(self): super(Http200Filter, self).__init__('^HTTP/\d(\.\d)? 200 OK[^\n]*\r\n[\s\S]*$')
28.125
88
0.68
28
225
5.107143
0.75
0
0
0
0
0
0
0
0
0
0
0.04712
0.151111
225
7
89
32.142857
0.701571
0
0
0
0
0
0.183486
0
0
0
0
0
0
1
0.25
false
0
0.25
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
1
0
0
0
0
1
0
0
4
a88a697761f22c65563cf870292030cba1b1f8e2
65
py
Python
tests/__init__.py
raydeean/apphelpers
b2a77a8e7b04497f1c844cfb8caae77b95b74a5a
[ "MIT" ]
1
2019-05-10T06:55:11.000Z
2019-05-10T06:55:11.000Z
tests/__init__.py
raydeean/apphelpers
b2a77a8e7b04497f1c844cfb8caae77b95b74a5a
[ "MIT" ]
4
2019-05-08T07:40:06.000Z
2020-08-01T01:42:39.000Z
tests/__init__.py
scrolltech/commonlib
2ae0c9206c631ea5942024a00755f2d858de9d3f
[ "MIT" ]
5
2019-04-26T06:57:48.000Z
2020-12-24T12:10:22.000Z
# -*- coding: utf-8 -*- """Unit test package for apphelpers."""
16.25
39
0.584615
8
65
4.75
1
0
0
0
0
0
0
0
0
0
0
0.018519
0.169231
65
3
40
21.666667
0.685185
0.861538
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
a88e4ec10da72c65a142dc2b23fc189a94886969
128
py
Python
school_management_system_app/apps.py
AgereJoseph1/Basic-school-management-system
8ed7405654f40738e91546d05ad5e8e02d6dde4b
[ "MIT" ]
null
null
null
school_management_system_app/apps.py
AgereJoseph1/Basic-school-management-system
8ed7405654f40738e91546d05ad5e8e02d6dde4b
[ "MIT" ]
null
null
null
school_management_system_app/apps.py
AgereJoseph1/Basic-school-management-system
8ed7405654f40738e91546d05ad5e8e02d6dde4b
[ "MIT" ]
null
null
null
from django.apps import AppConfig class SchoolManagementSystemAppConfig(AppConfig): name = 'school_management_system_app'
21.333333
49
0.828125
13
128
7.923077
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.117188
128
5
50
25.6
0.911504
0
0
0
0
0
0.21875
0.21875
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
a89f298697050a2c424f873ab03e66ee832c4dc3
35
py
Python
lib/python3.5/tarfile.py
hwroitzsch/BikersLifeSaver
469c738fdd6352c44a3f20689b17fa8ac04ad8a2
[ "MIT" ]
1
2020-08-16T04:04:23.000Z
2020-08-16T04:04:23.000Z
lib/python3.5/tarfile.py
hwroitzsch/BikersLifeSaver
469c738fdd6352c44a3f20689b17fa8ac04ad8a2
[ "MIT" ]
5
2020-06-05T18:53:24.000Z
2021-12-13T19:49:15.000Z
lib/python3.5/tarfile.py
hwroitzsch/BikersLifeSaver
469c738fdd6352c44a3f20689b17fa8ac04ad8a2
[ "MIT" ]
null
null
null
/usr/local/lib/python3.5/tarfile.py
35
35
0.8
7
35
4
1
0
0
0
0
0
0
0
0
0
0
0.057143
0
35
1
35
35
0.742857
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
a8b0618153c23f3f05035f147b3c8b031783ae72
104
py
Python
app/routers.py
eason-lee/fastapi-demo
89f0b6be6c6038d90179cf8772895b337642a717
[ "Apache-2.0" ]
null
null
null
app/routers.py
eason-lee/fastapi-demo
89f0b6be6c6038d90179cf8772895b337642a717
[ "Apache-2.0" ]
null
null
null
app/routers.py
eason-lee/fastapi-demo
89f0b6be6c6038d90179cf8772895b337642a717
[ "Apache-2.0" ]
null
null
null
from fastapi import APIRouter router = APIRouter(prefix='/v1/statistics') from . import views # noqa
17.333333
43
0.75
13
104
6
0.769231
0
0
0
0
0
0
0
0
0
0
0.011364
0.153846
104
5
44
20.8
0.875
0.038462
0
0
0
0
0.142857
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
a8c1012999ba957c11308ab8fa526f84f1cb49de
19
py
Python
epcy/__init__.py
iric-soft/epcy
48af624731c8665298321ebb5df526708761cd2f
[ "MIT" ]
5
2019-08-12T13:46:45.000Z
2022-03-18T13:53:06.000Z
epcy/__init__.py
iric-soft/epcy
48af624731c8665298321ebb5df526708761cd2f
[ "MIT" ]
4
2019-12-09T17:16:22.000Z
2021-05-28T19:26:13.000Z
epcy/__init__.py
iric-soft/epcy
48af624731c8665298321ebb5df526708761cd2f
[ "MIT" ]
null
null
null
__all__ = ['epcy']
9.5
18
0.578947
2
19
3.5
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
19
1
19
19
0.4375
0
0
0
0
0
0.210526
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
7633ea98b4a071ce47249acd518175c0ebd00fcb
24
py
Python
tornado_swagger/__init__.py
Cthulhu2/tornado-swagger
bb940387657c7dc4109194a0bc66768b53725d61
[ "MIT" ]
null
null
null
tornado_swagger/__init__.py
Cthulhu2/tornado-swagger
bb940387657c7dc4109194a0bc66768b53725d61
[ "MIT" ]
null
null
null
tornado_swagger/__init__.py
Cthulhu2/tornado-swagger
bb940387657c7dc4109194a0bc66768b53725d61
[ "MIT" ]
null
null
null
__version__ = "1.4.1.1"
12
23
0.625
5
24
2.2
0.6
0
0
0
0
0
0
0
0
0
0
0.190476
0.125
24
1
24
24
0.333333
0
0
0
0
0
0.291667
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
7678ac784fd447d19042c62abe42215bbc9b6aaf
456
py
Python
tests/plugs/wrong/__init__.py
PapuutekAPT/flask-plugins
5eaf538da18255a9689fb6552d0f649803f04c58
[ "BSD-3-Clause" ]
38
2015-04-22T13:46:07.000Z
2021-12-14T05:27:27.000Z
tests/plugs/wrong/__init__.py
PapuutekAPT/flask-plugins
5eaf538da18255a9689fb6552d0f649803f04c58
[ "BSD-3-Clause" ]
16
2015-01-06T14:05:12.000Z
2022-03-25T12:36:14.000Z
tests/plugs/wrong/__init__.py
PapuutekAPT/flask-plugins
5eaf538da18255a9689fb6552d0f649803f04c58
[ "BSD-3-Clause" ]
33
2015-02-19T18:54:32.000Z
2022-01-03T09:13:12.000Z
from flask_plugins import Plugin __plugin__ = "WrongPluginClass" class TestWrongPlugin(Plugin): name = "Test Wrong" description = "Test Wrong description" author = "test1" license = "BSD" version = "1.0" def enable(self): # pragma: no cover pass def disable(self): # pragma: no...
19
44
0.614035
52
456
5.288462
0.557692
0.145455
0.174545
0.247273
0.338182
0.261818
0
0
0
0
0
0.009317
0.29386
456
23
45
19.826087
0.844721
0.14693
0
0.25
0
0
0.153646
0
0
0
0
0
0
1
0.25
false
0.25
0.0625
0
0.6875
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
767c7bfec2dc5cc4962ffd7e88d5b0ca149f4c6a
217
py
Python
Tutorial_Code/HeadandTailLights.py
aldavhu221/aldavhu221
67e9008ecd5c489ed31a314e9eb66a4393169f3c
[ "MIT" ]
3
2021-12-29T21:32:30.000Z
2022-01-29T13:05:48.000Z
Tutorial_Code/HeadandTailLights.py
aldavhu221/aldavhu221
67e9008ecd5c489ed31a314e9eb66a4393169f3c
[ "MIT" ]
2
2022-01-13T08:06:53.000Z
2022-02-02T14:19:22.000Z
Tutorial_Code/HeadandTailLights.py
aldavhu221/aldavhu221
67e9008ecd5c489ed31a314e9eb66a4393169f3c
[ "MIT" ]
2
2022-01-13T01:42:06.000Z
2022-01-26T13:56:32.000Z
from PicoAutonomousRobotics import KitronikPicoRobotBuggy buggy = KitronikPicoRobotBuggy() buggy.setLED(0, buggy.WHITE) buggy.setLED(1, buggy.WHITE) buggy.setLED(2, buggy.RED) buggy.setLED(3, buggy.RED) buggy.show()
24.111111
57
0.801843
28
217
6.214286
0.464286
0.252874
0.172414
0.241379
0
0
0
0
0
0
0
0.02
0.078341
217
8
58
27.125
0.85
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
76ae82b15f01504a93296af1208b56eb24a2e96d
56
py
Python
test_apps/python_app/example/patterns/empty.py
Origen-SDK/o2
5b0f9a6d113ddebc73c7ee224931e8b2d0301794
[ "MIT" ]
null
null
null
test_apps/python_app/example/patterns/empty.py
Origen-SDK/o2
5b0f9a6d113ddebc73c7ee224931e8b2d0301794
[ "MIT" ]
127
2019-11-23T17:09:35.000Z
2021-09-02T11:06:20.000Z
test_apps/python_app/example/patterns/empty.py
Origen-SDK/o2
5b0f9a6d113ddebc73c7ee224931e8b2d0301794
[ "MIT" ]
null
null
null
# Corner case for generating a pattern with no contents
28
55
0.803571
9
56
5
1
0
0
0
0
0
0
0
0
0
0
0
0.178571
56
1
56
56
0.978261
0.946429
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
76b79700d3fb7c05ce139ef95b9929bab4bb3851
1,825
py
Python
blog/models.py
peymanhc/django_animated
6180a3f4d5125e6df7ac00062601865d05148cba
[ "MIT" ]
1
2021-04-16T11:46:49.000Z
2021-04-16T11:46:49.000Z
blog/models.py
peymanhc/django_animated
6180a3f4d5125e6df7ac00062601865d05148cba
[ "MIT" ]
null
null
null
blog/models.py
peymanhc/django_animated
6180a3f4d5125e6df7ac00062601865d05148cba
[ "MIT" ]
null
null
null
from django.db import models class Post(models.Model): id = models.AutoField(primary_key=True) title = models.CharField(max_length=255) image = models.FileField(null=True,blank=True,upload_to='') slug = models.SlugField() intro = models.TextField() body = models.TextField() date_added = mod...
31.465517
63
0.695342
233
1,825
5.287554
0.253219
0.051136
0.063312
0.092532
0.790584
0.768669
0.706169
0.706169
0.672078
0.594968
0
0.01204
0.180822
1,825
58
64
31.465517
0.81204
0
0
0.553191
0
0
0.023001
0
0
0
0
0
0
1
0.042553
false
0
0.021277
0.021277
0.893617
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
0
0
0
1
0
0
4
76bfb458a64991f35a39e9c5bac7472638d43e10
197
py
Python
src/bxcommon/models/entity_type_model.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
12
2019-11-06T17:39:10.000Z
2022-03-01T11:26:19.000Z
src/bxcommon/models/entity_type_model.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
8
2019-11-06T21:31:11.000Z
2021-06-02T00:46:50.000Z
src/bxcommon/models/entity_type_model.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
5
2019-11-14T18:08:11.000Z
2022-02-08T09:36:22.000Z
from bxcommon.models.serializable_flag import SerializableFlag class EntityType(SerializableFlag): TRANSACTION = 1 BLOCK = 2 def __str__(self): return str(self.name).lower()
19.7
62
0.720812
22
197
6.227273
0.863636
0.10219
0
0
0
0
0
0
0
0
0
0.012658
0.19797
197
9
63
21.888889
0.85443
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
4f1e7c4f6a5e4b76f9005c5174e458456096a869
73
py
Python
dkr-py310/docker-student-portal-310/course_files/begin_advanced/py_list_comp_1.py
pbarton666/virtual_classroom
a9d0dc2eb16ebc4d2fd451c3a3e6f96e37c87675
[ "MIT" ]
null
null
null
dkr-py310/docker-student-portal-310/course_files/begin_advanced/py_list_comp_1.py
pbarton666/virtual_classroom
a9d0dc2eb16ebc4d2fd451c3a3e6f96e37c87675
[ "MIT" ]
null
null
null
dkr-py310/docker-student-portal-310/course_files/begin_advanced/py_list_comp_1.py
pbarton666/virtual_classroom
a9d0dc2eb16ebc4d2fd451c3a3e6f96e37c87675
[ "MIT" ]
null
null
null
#py_list_comp_1.py print([str(x)+"!" for x in [y for y in range(10)]])
14.6
51
0.616438
17
73
2.470588
0.705882
0
0
0
0
0
0
0
0
0
0
0.04918
0.164384
73
4
52
18.25
0.639344
0.232877
0
0
0
0
0.018519
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
4f2639530ddc7d70d60b07c0474a6b61477f3ce8
134
py
Python
servercraft/code_model/script.py
jumphone/ServerCraft
a5031d433a8344229411602fd7257f231f4e92d6
[ "Apache-2.0" ]
1
2016-11-02T22:27:22.000Z
2016-11-02T22:27:22.000Z
servercraft/code_model/script.py
jumphone/ServerCraft
a5031d433a8344229411602fd7257f231f4e92d6
[ "Apache-2.0" ]
null
null
null
servercraft/code_model/script.py
jumphone/ServerCraft
a5031d433a8344229411602fd7257f231f4e92d6
[ "Apache-2.0" ]
null
null
null
SCRIPT=r''' import sys,time fi=open(sys.argv[1]) time.sleep(8) fo=open(sys.argv[2],'w') fo.write(fi.read()) fi.close() fo.close() '''
13.4
24
0.641791
27
134
3.185185
0.62963
0.162791
0.255814
0
0
0
0
0
0
0
0
0.024194
0.074627
134
9
25
14.888889
0.669355
0
0
0
0
0
0.88806
0.179104
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4f39031801f5221a7c121cd781047ff5a879b273
28,302
py
Python
examples/siftmov.py
AppGonder/face_recognition
c69d55868fcd456a873c7f95d779d630adc10b0c
[ "MIT" ]
null
null
null
examples/siftmov.py
AppGonder/face_recognition
c69d55868fcd456a873c7f95d779d630adc10b0c
[ "MIT" ]
null
null
null
examples/siftmov.py
AppGonder/face_recognition
c69d55868fcd456a873c7f95d779d630adc10b0c
[ "MIT" ]
null
null
null
import face_recognition import urllib.request import boto3 import requests import pyodbc from time import time from flask import Flask, jsonify, request, redirect, g, render_template from flask_cors import CORS from PIL import Image, ImageDraw import io import time import base64 import numpy as np from datetime import ...
39.69425
188
0.387888
2,340
28,302
4.468803
0.258974
0.25973
0.010902
0.010711
0.724108
0.718179
0.70613
0.687386
0.687386
0.687386
0
0.12221
0.477563
28,302
712
189
39.75
0.585013
0.014699
0
0.383387
0
0.020767
0.562987
0.013634
0
0
0
0
0
1
0.003195
false
0
0.025559
0
0.038339
0
0
0
0
null
1
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4f3c4a933f0e19577a30779f1180431a5b4cf88f
34
py
Python
tests/unit/cmor/__init__.py
Peter9192/ESMValCore
febd96a39480cc837afbf4e1f5b0ef61571af76a
[ "Apache-2.0" ]
26
2019-06-07T07:50:07.000Z
2022-03-22T21:04:01.000Z
tests/unit/cmor/__init__.py
Peter9192/ESMValCore
febd96a39480cc837afbf4e1f5b0ef61571af76a
[ "Apache-2.0" ]
1,370
2019-06-06T09:03:07.000Z
2022-03-31T04:37:20.000Z
tests/unit/cmor/__init__.py
Peter9192/ESMValCore
febd96a39480cc837afbf4e1f5b0ef61571af76a
[ "Apache-2.0" ]
26
2019-07-03T13:08:48.000Z
2022-03-02T16:08:47.000Z
"""Unit tests for cmor module."""
17
33
0.647059
5
34
4.4
1
0
0
0
0
0
0
0
0
0
0
0
0.147059
34
1
34
34
0.758621
0.794118
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
4f5375a6049dd299fdd6fb908c4c5c244467e472
22,580
py
Python
test/xls_test.py
ITB-ProtMet/eppi
55f7e361b33a364e4494cd9e0d7f6e07ba9b1930
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
test/xls_test.py
ITB-ProtMet/eppi
55f7e361b33a364e4494cd9e0d7f6e07ba9b1930
[ "ECL-2.0", "Apache-2.0" ]
2
2015-02-24T15:30:15.000Z
2015-02-24T15:32:28.000Z
test/xls_test.py
ITB-ProtMet/eppi
55f7e361b33a364e4494cd9e0d7f6e07ba9b1930
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2015 Pietro Brunetti <pietro.brunetti@itb.cnr.it> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # Unl...
38.598291
123
0.549734
2,960
22,580
4.068581
0.106419
0.098813
0.112929
0.091672
0.757785
0.731462
0.707797
0.680229
0.66055
0.639957
0
0.044107
0.317228
22,580
584
124
38.664384
0.737044
0.032817
0
0.69802
0
0
0.094928
0.014701
0
0
0
0
0.056931
0
null
null
0.037129
0.017327
null
null
0.004951
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
4f6a10b2c999200401fc71ec279ae0ca75b7a4fd
283
py
Python
church/models/__init__.py
khanhpn/florida
5e83d0561b9f41ff79383a6a2f0a84d6c8459ef0
[ "Apache-2.0" ]
1
2021-01-22T02:52:33.000Z
2021-01-22T02:52:33.000Z
church/models/__init__.py
khanhpn/florida
5e83d0561b9f41ff79383a6a2f0a84d6c8459ef0
[ "Apache-2.0" ]
null
null
null
church/models/__init__.py
khanhpn/florida
5e83d0561b9f41ff79383a6a2f0a84d6c8459ef0
[ "Apache-2.0" ]
null
null
null
from .introduction import * from .facebook_link import * from .prayer_after_mass import * from .video_misa import * from .youtube_mass import * from .confession_time import * from .mass_time import * from .linked_church import * from .activity_image import * from .activity import *
25.727273
32
0.787986
39
283
5.487179
0.435897
0.420561
0.130841
0
0
0
0
0
0
0
0
0
0.141343
283
10
33
28.3
0.880658
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
4f79754fa52447e26a921ac8371bd7c6fa4984c3
11,017
py
Python
src/test/test_routes.py
joyliao07/401_midterm_wizard_game
4683c04a5c54f8fa499110cd84b9e5e254139b3c
[ "MIT" ]
1
2019-02-27T01:51:33.000Z
2019-02-27T01:51:33.000Z
src/test/test_routes.py
joyliao07/wizards_apprentice
4683c04a5c54f8fa499110cd84b9e5e254139b3c
[ "MIT" ]
30
2018-12-27T18:33:16.000Z
2021-09-08T00:48:37.000Z
src/test/test_routes.py
joyliao07/401_midterm_wizard_game
4683c04a5c54f8fa499110cd84b9e5e254139b3c
[ "MIT" ]
null
null
null
import pytest import io # Login function def login_for_test(app): """ this logs in test user """ app.post('/login', data=dict( email='default@example.com', password='secret' ), follow_redirects=True) # test basics def test_app_import(app): assert app def test_bad_route(app): ...
28.321337
79
0.631842
1,596
11,017
4.208647
0.10401
0.036475
0.033348
0.072354
0.819116
0.76954
0.733065
0.674408
0.656245
0.617389
0
0.01097
0.255333
11,017
388
80
28.39433
0.807777
0.198511
0
0.627358
0
0
0.173064
0.027913
0
0
0
0
0.264151
1
0.136792
false
0.004717
0.014151
0
0.150943
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
4f8ccd720c5bbd5cf5b75a4f7deb736c5a27a0cb
861
py
Python
mojibake/main.py
ardinor/mojibake
b080656866603ebf4020ea2b49618cc29533a77b
[ "MIT" ]
1
2015-11-05T16:14:13.000Z
2015-11-05T16:14:13.000Z
mojibake/main.py
ardinor/mojibake
b080656866603ebf4020ea2b49618cc29533a77b
[ "MIT" ]
null
null
null
mojibake/main.py
ardinor/mojibake
b080656866603ebf4020ea2b49618cc29533a77b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- '''Entry point to all things to avoid circular imports.''' from mojibake.app import app, db, models from mojibake.settings import DEBUG from mojibake.views import * from mojibake.views.archive import archive from mojibake.views.base import base from mojibake.views.tags import tag from mojibak...
33.115385
62
0.801394
118
861
5.737288
0.29661
0.177253
0.206795
0
0
0
0
0
0
0
0
0.00128
0.092915
861
25
63
34.44
0.865557
0.220674
0
0
0
0
0.059002
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0.4
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
4f8d93fa0a6508934ed869bcc97ce81c06450858
300
py
Python
irtorch/estimate/model/util.py
naktazdim/irtorch
3838496e109cb3a096a84c83461c4c1d6c4080d7
[ "MIT" ]
1
2021-02-22T16:32:30.000Z
2021-02-22T16:32:30.000Z
irtorch/estimate/model/util.py
naktazdim/irtorch
3838496e109cb3a096a84c83461c4c1d6c4080d7
[ "MIT" ]
null
null
null
irtorch/estimate/model/util.py
naktazdim/irtorch
3838496e109cb3a096a84c83461c4c1d6c4080d7
[ "MIT" ]
1
2021-02-22T16:33:44.000Z
2021-02-22T16:33:44.000Z
import torch import torch.nn as nn import torch.nn.functional as F def parameter(*size: int) -> nn.Parameter: return nn.Parameter(torch.zeros(*size), requires_grad=True) def positive(tensor: torch.Tensor) -> torch.Tensor: return F.softplus(tensor) # ReLU + eps とかだとうまくいかない (おそらく勾配消失のせい)
25
69
0.736667
43
300
5.116279
0.511628
0.15
0.118182
0
0
0
0
0
0
0
0
0
0.146667
300
11
70
27.272727
0.859375
0.12
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.428571
0.285714
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
4
4fa2356d2c8b2d6f60df33c2793db1157a8c561e
56
py
Python
materialize_threats/mx/shapes/__init__.py
sfc-gh-nsfard/materialize-threats
983cbaf4921cc9e349be5daf4ab8dfddf01ec865
[ "Apache-2.0" ]
30
2020-08-10T22:45:50.000Z
2021-11-11T17:21:20.000Z
materialize_threats/mx/shapes/__init__.py
sfc-gh-nsfard/materialize-threats
983cbaf4921cc9e349be5daf4ab8dfddf01ec865
[ "Apache-2.0" ]
14
2020-10-06T21:57:04.000Z
2021-02-26T22:28:06.000Z
materialize_threats/mx/shapes/__init__.py
sfc-gh-nsfard/materialize-threats
983cbaf4921cc9e349be5daf4ab8dfddf01ec865
[ "Apache-2.0" ]
3
2020-08-01T01:09:54.000Z
2020-08-09T22:57:54.000Z
from .Arguments import Arguments from .Rect import Rect
18.666667
32
0.821429
8
56
5.75
0.5
0
0
0
0
0
0
0
0
0
0
0
0.142857
56
2
33
28
0.958333
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
96f26e7129ffaab93fd21339efbf7bc27b399f41
112
py
Python
main/views.py
FerdiantJoshua/belajar_online
1aa2f5edea04a9fc655ae74bd60b9583c0691d7a
[ "MIT" ]
null
null
null
main/views.py
FerdiantJoshua/belajar_online
1aa2f5edea04a9fc655ae74bd60b9583c0691d7a
[ "MIT" ]
8
2021-03-19T01:58:24.000Z
2022-01-13T02:32:40.000Z
main/views.py
FerdiantJoshua/belajar_online
1aa2f5edea04a9fc655ae74bd60b9583c0691d7a
[ "MIT" ]
null
null
null
from django.views import generic class IndexView(generic.TemplateView): template_name = 'main/index.html'
18.666667
38
0.776786
14
112
6.142857
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.133929
112
5
39
22.4
0.886598
0
0
0
0
0
0.133929
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
8c0c2d966b6874d09b10fc8ddc193f0a6d3fc0b7
87
py
Python
habitat/biolab/apps.py
matrach/habitatOS
1ae2a3caf6f279cf6d6d20bcd81f24d50f61d7d3
[ "MIT" ]
1
2021-02-01T19:04:39.000Z
2021-02-01T19:04:39.000Z
habitat/biolab/apps.py
matrach/habitatOS
1ae2a3caf6f279cf6d6d20bcd81f24d50f61d7d3
[ "MIT" ]
null
null
null
habitat/biolab/apps.py
matrach/habitatOS
1ae2a3caf6f279cf6d6d20bcd81f24d50f61d7d3
[ "MIT" ]
null
null
null
from django.apps import AppConfig class BiolabConfig(AppConfig): name = 'biolab'
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
8c14078b64bb4c6108c51b94b917ea5483f40978
219
py
Python
Framework/ResourceManagement/SoundLoader.py
EpicTofuu/Froggers
0395ef801fe11a7881fd32fd570bf3135a4a761f
[ "MIT" ]
1
2020-11-17T04:32:55.000Z
2020-11-17T04:32:55.000Z
Framework/ResourceManagement/SoundLoader.py
EpicTofuu/Froggers
0395ef801fe11a7881fd32fd570bf3135a4a761f
[ "MIT" ]
null
null
null
Framework/ResourceManagement/SoundLoader.py
EpicTofuu/Froggers
0395ef801fe11a7881fd32fd570bf3135a4a761f
[ "MIT" ]
null
null
null
import pygame # load in exclusively sound effects (se) # use pygame.mixer.music for bgm class SoundLoader: def __init__ (self): pass def get_asset (self, path): return pygame.mixer.Sound (path)
21.9
40
0.680365
30
219
4.8
0.766667
0.152778
0
0
0
0
0
0
0
0
0
0
0.237443
219
10
41
21.9
0.862275
0.315068
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.166667
0.166667
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
8c1e8243fb71f00d3b88d662cc2b66196d5f4873
993
py
Python
causaldag/__init__.py
jcai117/causaldag
94933db7086d21dad1f9d0ea64d538b0365c8add
[ "BSD-3-Clause" ]
86
2019-02-17T18:23:36.000Z
2022-03-24T14:28:35.000Z
causaldag/__init__.py
jcai117/causaldag
94933db7086d21dad1f9d0ea64d538b0365c8add
[ "BSD-3-Clause" ]
11
2019-11-22T05:35:27.000Z
2022-02-26T07:28:05.000Z
causaldag/__init__.py
jcai117/causaldag
94933db7086d21dad1f9d0ea64d538b0365c8add
[ "BSD-3-Clause" ]
17
2019-03-28T16:46:00.000Z
2022-01-31T19:22:12.000Z
""" CausalDAG ========= CausalDAG is a Python package for the creation, manipulation, and learning of Causal DAGs. Simple Example -------------- >>> from causaldag import rand, partial_correlation_suffstat, partial_correlation_test, MemoizedCI_Tester, gsp >>> import numpy as np >>> np.random.seed(12312) >>> nnodes =...
26.837838
110
0.733132
128
993
5.515625
0.5625
0.101983
0.073654
0
0
0
0
0
0
0
0
0.023095
0.127895
993
36
111
27.583333
0.792148
0.839879
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
8c1fcdfa31d89d3ee89680f7a3d252caa3a3a0f9
109
py
Python
specs/master/cluster-init/files/host_provider/test/test_json_source_helper.py
Azure/cyclecloud-symphony
a81c410e3ede1f4472116b5b98eb68d63ff29162
[ "MIT" ]
1
2020-06-01T14:05:45.000Z
2020-06-01T14:05:45.000Z
specs/master/cluster-init/files/host_provider/test/test_json_source_helper.py
Azure/cyclecloud-symphony
a81c410e3ede1f4472116b5b98eb68d63ff29162
[ "MIT" ]
1
2019-08-09T00:49:42.000Z
2019-08-09T00:49:42.000Z
specs/master/cluster-init/files/host_provider/test/test_json_source_helper.py
Azure/cyclecloud-symphony
a81c410e3ede1f4472116b5b98eb68d63ff29162
[ "MIT" ]
3
2019-02-07T01:12:52.000Z
2020-12-30T10:28:32.000Z
from util import JsonStore import sys if not JsonStore(sys.argv[1], sys.argv[2])._lock(): sys.exit(101)
18.166667
51
0.706422
19
109
4
0.684211
0.184211
0
0
0
0
0
0
0
0
0
0.053763
0.146789
109
5
52
21.8
0.763441
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
8c2055812be56c85b3c27f88dc07ec8fbb597f88
52
py
Python
ernest/models/filetypes/__init__.py
alycejenni/ernest
687e916764a50906d9761108d532ba1120ee629a
[ "MIT" ]
null
null
null
ernest/models/filetypes/__init__.py
alycejenni/ernest
687e916764a50906d9761108d532ba1120ee629a
[ "MIT" ]
1
2018-11-08T10:00:57.000Z
2018-11-08T10:00:57.000Z
ernest/models/filetypes/__init__.py
alycejenni/ernest
687e916764a50906d9761108d532ba1120ee629a
[ "MIT" ]
null
null
null
from ._py import Pyfile from ._base import FileItem
17.333333
27
0.807692
8
52
5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.153846
52
2
28
26
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
4fd5b55f712b8705680f4619aa7faf1c5ede42dc
64
py
Python
src/package_name/module_name.py
rlipperts/python_package_template
589b7fa480033351ff0448addf881ddb63112f54
[ "MIT" ]
null
null
null
src/package_name/module_name.py
rlipperts/python_package_template
589b7fa480033351ff0448addf881ddb63112f54
[ "MIT" ]
null
null
null
src/package_name/module_name.py
rlipperts/python_package_template
589b7fa480033351ff0448addf881ddb63112f54
[ "MIT" ]
null
null
null
""" Implement the functionality here (and in sub-packages). """
16
55
0.703125
8
64
5.625
1
0
0
0
0
0
0
0
0
0
0
0
0.140625
64
3
56
21.333333
0.818182
0.859375
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
4ff144769a92344d6ea0591ee21da8e58339335a
4,282
py
Python
server/ahj_app/tests/test_misc_views.py
btansy/ahj-registry
b5340c7474f610964e828588572846ce4fb088aa
[ "MIT" ]
null
null
null
server/ahj_app/tests/test_misc_views.py
btansy/ahj-registry
b5340c7474f610964e828588572846ce4fb088aa
[ "MIT" ]
null
null
null
server/ahj_app/tests/test_misc_views.py
btansy/ahj-registry
b5340c7474f610964e828588572846ce4fb088aa
[ "MIT" ]
null
null
null
from django.urls import reverse from django.conf import settings from ahj_app.models import User, Edit, Comment from fixtures import * import pytest import datetime @pytest.mark.django_db def test_form_validator__username_exists(generate_client_with_webpage_credentials): client = generate_client_with_webpage_crede...
49.790698
164
0.767865
560
4,282
5.592857
0.182143
0.063857
0.108557
0.178799
0.796616
0.787995
0.72318
0.696041
0.643997
0.643997
0
0.016698
0.11887
4,282
86
165
49.790698
0.813411
0.02709
0
0.546667
0
0
0.118241
0.005047
0
0
0
0
0.24
1
0.133333
false
0
0.08
0
0.213333
0
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