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
5dcc483eeee72b31f2a8d42447dbe122317cc528
98
py
Python
lender_books/apps.py
scott-currie/django_lender
c430fc6ab28e9ad3371923fdc329d438687f3ed0
[ "MIT" ]
1
2019-01-25T04:36:33.000Z
2019-01-25T04:36:33.000Z
lender_books/apps.py
scott-currie/django_lender
c430fc6ab28e9ad3371923fdc329d438687f3ed0
[ "MIT" ]
4
2021-04-08T18:48:46.000Z
2021-06-10T17:44:25.000Z
lender_books/apps.py
madelinepet/django_lender
5c6c342e8306e848e93db31a02efe9ef1299a401
[ "MIT" ]
null
null
null
from django.apps import AppConfig class LenderBooksConfig(AppConfig): name = 'lender_books'
16.333333
35
0.77551
11
98
6.818182
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.153061
98
5
36
19.6
0.903614
0
0
0
0
0
0.122449
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5dd35b5ba2a0f941fc0da73cafa587cc3c8fc9f4
861
py
Python
leasing/viewsets/inspection.py
hkotkanen/mvj
a22d40869ef1b13924da428f3026d248acef81a7
[ "MIT" ]
null
null
null
leasing/viewsets/inspection.py
hkotkanen/mvj
a22d40869ef1b13924da428f3026d248acef81a7
[ "MIT" ]
null
null
null
leasing/viewsets/inspection.py
hkotkanen/mvj
a22d40869ef1b13924da428f3026d248acef81a7
[ "MIT" ]
null
null
null
from field_permissions.viewsets import FieldPermissionsViewsetMixin from leasing.models import InspectionAttachment from leasing.serializers.inspection import InspectionAttachmentCreateUpdateSerializer, InspectionAttachmentSerializer from .utils import AtomicTransactionModelViewSet, AuditLogMixin, FileMixin, MultiPart...
45.315789
117
0.799071
59
861
11.559322
0.627119
0.032258
0
0
0
0
0
0
0
0
0
0
0.150987
861
18
118
47.833333
0.932969
0
0
0
0
0
0.039489
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.846154
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f8dbd2e29d7c9a47ef1909abebb109dc8fbba544
2,040
py
Python
keyboards/lowwriter.py
evangs/MiniVanConfigurator
ba960d58339008b4c74826f6d09124114a7d6399
[ "MIT" ]
9
2016-11-20T22:21:56.000Z
2020-07-16T16:05:01.000Z
keyboards/lowwriter.py
evangs/MiniVanConfigurator
ba960d58339008b4c74826f6d09124114a7d6399
[ "MIT" ]
3
2016-12-23T22:10:49.000Z
2017-02-10T16:16:27.000Z
keyboards/lowwriter.py
evangs/MiniVanConfigurator
ba960d58339008b4c74826f6d09124114a7d6399
[ "MIT" ]
6
2016-11-25T17:55:53.000Z
2019-10-26T12:27:56.000Z
# coding: utf8 from common import Keyboard layouts = [] STANDARD_LAYOUT = 'KEYMAP({}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {},...
58.285714
129
0.380392
192
2,040
3.854167
0.375
0.175676
0.121622
0.075676
0.340541
0.340541
0.340541
0.340541
0.340541
0.340541
0
0.118982
0.287255
2,040
34
130
60
0.389959
0.005882
0
0.142857
0
0.285714
0.656466
0.01234
0
0
0
0
0
1
0
false
0
0.035714
0
0.035714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f8ddf41f6f5d87570859eecb2b8688804e18f56c
389
py
Python
Django_DB_MySQL/okex/status_api.py
Flychild193/pythonBot
519c1f1e8cce254b1780ced86ac3b79e377133e8
[ "MIT" ]
null
null
null
Django_DB_MySQL/okex/status_api.py
Flychild193/pythonBot
519c1f1e8cce254b1780ced86ac3b79e377133e8
[ "MIT" ]
null
null
null
Django_DB_MySQL/okex/status_api.py
Flychild193/pythonBot
519c1f1e8cce254b1780ced86ac3b79e377133e8
[ "MIT" ]
2
2022-03-18T15:28:04.000Z
2022-03-25T09:26:10.000Z
from .client import Client from .consts import * class StatusAPI(Client): def __init__(self, api_key, api_secret_key, passphrase, use_server_time=False, flag='1'): Client.__init__(self, api_key, api_secret_key, passphrase, use_server_time, flag) def status(self, state=''): params = {'state': ...
32.416667
93
0.709512
53
389
4.811321
0.490566
0.062745
0.086275
0.109804
0.384314
0.384314
0.384314
0.384314
0.384314
0.384314
0
0.003125
0.177378
389
11
94
35.363636
0.79375
0
0
0
0
0
0.015424
0
0
0
0
0
0
1
0.25
false
0.25
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
f8e2b9b9f42e3658be660ed65a087ccf9be3e123
266
py
Python
tests/tests/mendertesting.py
kjaskiewiczz/integration
8cdb174368e5a4e2e94e2e20c84c56421ac76c5c
[ "Apache-2.0" ]
null
null
null
tests/tests/mendertesting.py
kjaskiewiczz/integration
8cdb174368e5a4e2e94e2e20c84c56421ac76c5c
[ "Apache-2.0" ]
null
null
null
tests/tests/mendertesting.py
kjaskiewiczz/integration
8cdb174368e5a4e2e94e2e20c84c56421ac76c5c
[ "Apache-2.0" ]
null
null
null
import pytest class MenderTesting(object): slow = pytest.mark.skipif(not pytest.config.getoption("--runslow"), reason="need --runslow option to run") fast = pytest.mark.skipif(not pytest.config.getoption("--runfast"), reason="need --runfast option to run")
44.333333
110
0.729323
35
266
5.542857
0.542857
0.103093
0.164948
0.195876
0.412371
0.412371
0.412371
0
0
0
0
0
0.116541
266
5
111
53.2
0.825532
0
0
0
0
0
0.278195
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
f8e8a1122c27d79442b24da47e18aa2bb6dafb28
4,103
py
Python
Backend/assets/scripts/interface/kbemain.py
ZZR0/CardGame
c3137251200b8f717bac61f5065d0e698ccda171
[ "MIT" ]
1
2019-06-17T14:15:56.000Z
2019-06-17T14:15:56.000Z
Backend/assets/scripts/interface/kbemain.py
ZZR0/CardGame
c3137251200b8f717bac61f5065d0e698ccda171
[ "MIT" ]
null
null
null
Backend/assets/scripts/interface/kbemain.py
ZZR0/CardGame
c3137251200b8f717bac61f5065d0e698ccda171
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os import KBEngine from KBEDebug import * from Poller import Poller """ interfaces进程主要处理KBEngine服务端与第三方平台的接入接出工作。 (注意:由于interfaces是一个单线程服务器,如果需要使用python的http服务器库,建议使用异步的(例如:Tornado),否则会卡主线程造成阻塞) 目前支持几种功能: 1: 注册账号 当客户端请求注册账号后,请求会由loginapp转发到dbmgr,如果dbmgr挂接了interfaces,则dbmgr将请求转发至这里(KBEng...
29.307143
113
0.817451
327
4,103
10.189602
0.406728
0.012605
0.07443
0.055822
0.355342
0.268908
0.268908
0.268908
0.268908
0.252701
0
0.005109
0.09359
4,103
139
114
29.517986
0.890831
0.372654
0
0.074074
0
0
0.207004
0.089494
0
0
0
0
0
1
0.222222
false
0.074074
0.148148
0
0.37037
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
f8f0337ac5625dd6442d095279bdf75a8f3e5fab
890
py
Python
service/User/user.py
mackness33/Twitter-Tracker
dc1709df40332dfe3ff23f4da326d855277398cb
[ "MIT" ]
1
2021-11-25T14:35:01.000Z
2021-11-25T14:35:01.000Z
service/User/user.py
mackness33/Twitter-Tracker
dc1709df40332dfe3ff23f4da326d855277398cb
[ "MIT" ]
null
null
null
service/User/user.py
mackness33/Twitter-Tracker
dc1709df40332dfe3ff23f4da326d855277398cb
[ "MIT" ]
null
null
null
from flask_login import UserMixin from werkzeug.security import generate_password_hash, check_password_hash class User(UserMixin): def __init__(self, id, active=True, authenticated=True, confirmed=True): UserMixin.__init__(self) self._id = id self._active = active self._authenticat...
27.8125
77
0.667416
105
890
5.419048
0.314286
0.070299
0.068541
0.084359
0.258348
0.258348
0.258348
0.214411
0.214411
0.214411
0
0
0.248315
890
31
78
28.709677
0.850523
0.204494
0
0.25
1
0
0
0
0
0
0
0
0
1
0.25
false
0.05
0.1
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
5d246056c9ff5d04aab572441d3fa1f8208badee
1,112
py
Python
src/sima/simo/blueprints/dockingconecrosssection.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/simo/blueprints/dockingconecrosssection.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/simo/blueprints/dockingconecrosssection.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
# # Generated with DockingConeCrossSectionBlueprint from dmt.blueprint import Blueprint from dmt.dimension import Dimension from dmt.attribute import Attribute from dmt.enum_attribute import EnumAttribute from dmt.blueprint_attribute import BlueprintAttribute from sima.sima.blueprints.moao import MOAOBlueprint class ...
55.6
121
0.752698
112
1,112
7.357143
0.392857
0.101942
0.145631
0.140777
0.14199
0.101942
0
0
0
0
0
0.002006
0.103417
1,112
20
122
55.6
0.824473
0.042266
0
0
1
0
0.186553
0.070076
0
0
0
0
0
1
0.066667
false
0
0.4
0
0.533333
0.4
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
5d4c297befe7a6141d60990cd22fb7b9d285b399
55,815
py
Python
pysnmp_mibs/FRSLD-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
6
2017-04-21T13:48:08.000Z
2022-01-06T19:42:52.000Z
pysnmp_mibs/FRSLD-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
1
2020-05-05T16:42:25.000Z
2020-05-05T16:42:25.000Z
pysnmp_mibs/FRSLD-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
6
2020-02-08T20:28:49.000Z
2021-09-14T13:36:46.000Z
# # PySNMP MIB module FRSLD-MIB (http://pysnmp.sf.net) # ASN.1 source http://mibs.snmplabs.com:80/asn1/FRSLD-MIB # Produced by pysmi-0.0.7 at Sun Feb 14 00:13:42 2016 # On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose # Using Python version 3.5.0 (default, Jan 5 2016, 17:11:52) # ( ObjectId...
256.03211
4,613
0.720935
6,528
55,815
6.163297
0.094056
0.006114
0.00768
0.009644
0.515907
0.486579
0.426058
0.392926
0.376547
0.359398
0
0.036699
0.18031
55,815
217
4,614
257.211982
0.842714
0.005267
0
0.009615
0
0.350962
0.562023
0.075389
0
0
0
0
0
1
0
false
0
0.043269
0
0.072115
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5d5a7ef9e22b52b8671fa3fdf122a73272bc37be
349
py
Python
ico/tests/tools/test_load_yaml.py
angeldev7/ico
69cd843faae2228c3c1400f7e90725de8af6d08c
[ "Apache-2.0" ]
1,148
2017-03-28T08:41:32.000Z
2019-01-26T13:39:39.000Z
ico/tests/tools/test_load_yaml.py
angeldev7/ico
69cd843faae2228c3c1400f7e90725de8af6d08c
[ "Apache-2.0" ]
117
2017-03-31T07:31:22.000Z
2019-01-14T16:14:49.000Z
ico/tests/tools/test_load_yaml.py
angeldev7/ico
69cd843faae2228c3c1400f7e90725de8af6d08c
[ "Apache-2.0" ]
494
2017-03-30T23:11:45.000Z
2019-01-29T17:41:37.000Z
"""YAML crowdsale definition loader.""" import os from pprint import pprint from populus import Project from ico.definition import load_crowdsale_definitions def test_load_yaml(example_yaml_filename): """Load and expand YAML crowdsale defitions.""" defs = load_crowdsale_definitions(example_yaml_filename, "...
23.266667
73
0.787966
45
349
5.866667
0.488889
0.098485
0.181818
0
0
0
0
0
0
0
0
0
0.137536
349
14
74
24.928571
0.877076
0.2149
0
0
0
0
0.034221
0
0
0
0
0
0
1
0.142857
false
0
0.571429
0
0.714286
0.285714
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
5d64da0721d4f245849129a2fe70ba7ede70535c
607
py
Python
ocr/io.py
archiviofontiorali/afor-ocr
9c7a613a6e2babda00426d2b54b91fe2846166f2
[ "MIT" ]
null
null
null
ocr/io.py
archiviofontiorali/afor-ocr
9c7a613a6e2babda00426d2b54b91fe2846166f2
[ "MIT" ]
null
null
null
ocr/io.py
archiviofontiorali/afor-ocr
9c7a613a6e2babda00426d2b54b91fe2846166f2
[ "MIT" ]
null
null
null
from pathlib import Path from typing import Union import cv2 import numpy as np def aspect_ratio(image: np.ndarray) -> float: height, width = image.shape[:2] return width / height def is_grayscale(image: np.ndarray): return image.ndim == 2 def is_color(image: np.ndarray): return image.ndim == 3 ...
21.678571
53
0.688633
91
607
4.527473
0.450549
0.087379
0.101942
0.097087
0.140777
0.140777
0
0
0
0
0
0.018672
0.205931
607
27
54
22.481481
0.8361
0.067545
0
0
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0.235294
0.117647
0.705882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5d666e2a44ba233d05ebfdca77bd5cfbbe781743
148
py
Python
string/0709_to_lower_case/0709_to_lower_case.py
zdyxry/LeetCode
33371285d0f3302158230f46e8b1b63b9f4639c4
[ "Xnet", "X11" ]
6
2019-09-16T01:50:44.000Z
2020-09-17T08:52:25.000Z
string/0709_to_lower_case/0709_to_lower_case.py
zdyxry/LeetCode
33371285d0f3302158230f46e8b1b63b9f4639c4
[ "Xnet", "X11" ]
null
null
null
string/0709_to_lower_case/0709_to_lower_case.py
zdyxry/LeetCode
33371285d0f3302158230f46e8b1b63b9f4639c4
[ "Xnet", "X11" ]
4
2020-02-07T12:43:16.000Z
2021-04-11T06:38:55.000Z
class Solution: def toLowerCase(self, str: str) -> str: return str.lower() str = "Hello" res = Solution().toLowerCase(str) print(res)
16.444444
43
0.641892
19
148
5
0.578947
0.126316
0
0
0
0
0
0
0
0
0
0
0.209459
148
9
44
16.444444
0.811966
0
0
0
0
0
0.033784
0
0
0
0
0
0
1
0.166667
false
0
0
0.166667
0.5
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
5370f78dc3ed0ed739207b89b96a504e7152896f
2,556
py
Python
arithmetic_netlists/muliplier/Booth algorithm array multiplier/verilog code generation.py
ZeayW/graph-contrastive-learning
b8952b677ec30110f8a616ba7162ae738d5d4052
[ "Apache-2.0" ]
null
null
null
arithmetic_netlists/muliplier/Booth algorithm array multiplier/verilog code generation.py
ZeayW/graph-contrastive-learning
b8952b677ec30110f8a616ba7162ae738d5d4052
[ "Apache-2.0" ]
null
null
null
arithmetic_netlists/muliplier/Booth algorithm array multiplier/verilog code generation.py
ZeayW/graph-contrastive-learning
b8952b677ec30110f8a616ba7162ae738d5d4052
[ "Apache-2.0" ]
null
null
null
#Generate main module text for 16-bit booth array multiplier for m in range(15): i = m + 2 j=16-i k= 15 + i l=i-1 print("ctrl c" + str(i) + "(.md(mdr" +str(i)+"),.cin(cr" + str(i)+"),.a(a),.xi({b[" + str(j) + "],b[" + str(j-1) + "]}));") print("cass_" + str(k) + "bit c"+str(k)+"b1(.pout(poutr" +...
34.540541
141
0.510172
522
2,556
2.492337
0.14751
0.055342
0.030746
0.021522
0.667179
0.639508
0.59339
0.59339
0.541122
0.541122
0
0.065566
0.122848
2,556
74
142
34.540541
0.514719
0.204617
0
0.688525
1
0.04918
0.390123
0.068642
0
0
0
0
0
0
null
null
0
0
null
null
0.42623
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
5374c42e5387602e68d6f4f0d2fb53e620a5467b
337
py
Python
module2-sql-for-analysis/queries.py
mktran0417/DS-Unit-3-Sprint-2-SQL-and-Databases
480440ae35c5ddfb5ab4f8f4b541cf0ff966b49c
[ "MIT" ]
null
null
null
module2-sql-for-analysis/queries.py
mktran0417/DS-Unit-3-Sprint-2-SQL-and-Databases
480440ae35c5ddfb5ab4f8f4b541cf0ff966b49c
[ "MIT" ]
null
null
null
module2-sql-for-analysis/queries.py
mktran0417/DS-Unit-3-Sprint-2-SQL-and-Databases
480440ae35c5ddfb5ab4f8f4b541cf0ff966b49c
[ "MIT" ]
null
null
null
create_titanic = ''' CREATE TABLE IF NOT EXISTS titanic_method_one( ID SERIAL PRIMARY KEY, SURVIVED INT NOT NULL, PCLASS INT NOT NULL, NAME VARCHAR NOT NULL, SEX VARCHAR NOT NULL, AGE INT NOT NULL, Siblings_Spouses_Aboard INT NOT NULL, Parents_Children_Aboard INT NOT NULL, Fare FLOAT...
24.071429
46
0.700297
50
337
4.58
0.54
0.244541
0.218341
0.139738
0
0
0
0
0
0
0
0
0.246291
337
13
47
25.923077
0.901575
0
0
0
0
0
0.928783
0.136499
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
537a35b55c697dd722f20747e6d2b6c19f0fbc54
376
py
Python
nni/runtime/common.py
dutxubo/nni
c16f4e1c89b54b8b80661ef0072433d255ad2d24
[ "MIT" ]
9,680
2019-05-07T01:42:30.000Z
2022-03-31T16:48:33.000Z
nni/runtime/common.py
dutxubo/nni
c16f4e1c89b54b8b80661ef0072433d255ad2d24
[ "MIT" ]
1,957
2019-05-06T21:44:21.000Z
2022-03-31T09:21:53.000Z
nni/runtime/common.py
dutxubo/nni
c16f4e1c89b54b8b80661ef0072433d255ad2d24
[ "MIT" ]
1,571
2019-05-07T06:42:55.000Z
2022-03-31T03:19:24.000Z
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. _multi_thread = False _multi_phase = False def enable_multi_thread(): global _multi_thread _multi_thread = True def multi_thread_enabled(): return _multi_thread def enable_multi_phase(): global _multi_phase _multi_phase = T...
18.8
38
0.760638
49
376
5.346939
0.387755
0.251908
0.10687
0
0
0
0
0
0
0
0
0
0.180851
376
19
39
19.789474
0.850649
0.180851
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
537d9c7b5a42b66b2036e6f701e5fa5ba85f7f26
26,561
py
Python
release/stubs.min/System/Security/Authentication/ExtendedProtection/Configuration.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/System/Security/Authentication/ExtendedProtection/Configuration.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/System/Security/Authentication/ExtendedProtection/Configuration.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
# encoding: utf-8 # module System.Security.Authentication.ExtendedProtection.Configuration calls itself Configuration # from System,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089 # by generator 1.145 """ NamespaceTracker represent a CLS namespace. """ # no imports # no functions # classes c...
29.060175
252
0.75257
2,650
26,561
7.508302
0.12566
0.034377
0.060813
0.104036
0.596472
0.533598
0.464291
0.41167
0.353671
0.313263
0
0.001005
0.175709
26,561
913
253
29.092004
0.907783
0.670532
0
0.5
0
0
0
0
0
0
0
0
0
1
0.394737
false
0.394737
0
0
0.605263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
539254a5bf279998504d73d7e42cd0ad35752076
480
py
Python
GroupProject/pages/forms.py
itachikryst/GroupProject
5f030cb9bf686f3aed31d30e37f724ca99cf57bf
[ "MIT" ]
null
null
null
GroupProject/pages/forms.py
itachikryst/GroupProject
5f030cb9bf686f3aed31d30e37f724ca99cf57bf
[ "MIT" ]
2
2020-11-15T10:17:12.000Z
2020-12-19T23:58:28.000Z
GroupProject/pages/forms.py
itachikryst/GroupProject
5f030cb9bf686f3aed31d30e37f724ca99cf57bf
[ "MIT" ]
null
null
null
from django.contrib.auth.forms import UserCreationForm from django import forms from client.models import User from django.forms import ModelForm from workshop.models import Order class RegistrationForm(UserCreationForm): class Meta: model = User fields = ("type", "username", "first_name", "last_na...
26.666667
73
0.685417
52
480
6.288462
0.538462
0.091743
0.085627
0
0
0
0
0
0
0
0
0.005362
0.222917
480
17
74
28.235294
0.871314
0
0
0.142857
0
0
0.125
0
0
0
0
0
0
1
0
false
0.071429
0.357143
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
53a37dbc208502120fc3a6b1611f258bb7c273da
60
py
Python
mchap/calling/__init__.py
PlantandFoodResearch/MCHap
ea25c3af889275d742e64e722ceeed0f7201f690
[ "MIT" ]
9
2022-01-14T18:27:47.000Z
2022-01-31T09:22:22.000Z
mchap/calling/__init__.py
PlantandFoodResearch/MCHap
ea25c3af889275d742e64e722ceeed0f7201f690
[ "MIT" ]
12
2022-01-13T21:21:08.000Z
2022-03-13T04:31:31.000Z
mchap/calling/__init__.py
PlantandFoodResearch/MCHap
ea25c3af889275d742e64e722ceeed0f7201f690
[ "MIT" ]
null
null
null
from .classes import CallingMCMC __all__ = ["CallingMCMC"]
15
32
0.766667
6
60
7
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.133333
60
3
33
20
0.807692
0
0
0
0
0
0.183333
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
53a6beb48a6e0bdd47e04ea4ecdd34b69094287a
14,319
py
Python
test/model/test_file_based.py
jlchamaa/wf-cli
bd4271ffa457fa9fbbbdfd7f908f8580b0a7283d
[ "MIT" ]
null
null
null
test/model/test_file_based.py
jlchamaa/wf-cli
bd4271ffa457fa9fbbbdfd7f908f8580b0a7283d
[ "MIT" ]
null
null
null
test/model/test_file_based.py
jlchamaa/wf-cli
bd4271ffa457fa9fbbbdfd7f908f8580b0a7283d
[ "MIT" ]
null
null
null
#!/usr/bin/env python3.6 import unittest from unittest.mock import patch, Mock, ANY from model.file_based import UserFile, ModelException from model.model_node import Node from model.node_store import NodeStore class Test_UserFile(unittest.TestCase): @patch("model.file_based.UserFile._load_data") def setUp(s...
35.619403
104
0.603534
1,980
14,319
4.131313
0.077778
0.138631
0.067115
0.052812
0.80599
0.776528
0.715159
0.666993
0.603056
0.556846
0
0.019446
0.245827
14,319
401
105
35.708229
0.738031
0.022069
0
0.600575
0
0
0.056679
0.030234
0
0
0
0
0.284483
1
0.123563
false
0
0.014368
0
0.140805
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
0
0
0
0
0
0
0
0
3
53b938e64333c3a3756b4a6b717ae398935e2d69
227
py
Python
cpp_invoke_python/python_C_API/test1.py
yinglang/BlogCode
e0673b32d5e3d3c84b9e7aaf16d38ff8050906cd
[ "MIT" ]
1
2020-08-13T03:30:43.000Z
2020-08-13T03:30:43.000Z
cpp_invoke_python/python_C_API/test1.py
yinglang/BlogCode
e0673b32d5e3d3c84b9e7aaf16d38ff8050906cd
[ "MIT" ]
null
null
null
cpp_invoke_python/python_C_API/test1.py
yinglang/BlogCode
e0673b32d5e3d3c84b9e7aaf16d38ff8050906cd
[ "MIT" ]
null
null
null
def do_nothing(): print("do_nothing") def add(a, b): return a+b def add_sub(a, b): return a+b, a-b def haha_merge_list(a, b): print("print input in python", a, b) c = list(a)+list(b)+["haha"] return c
17.461538
40
0.585903
44
227
2.909091
0.363636
0.109375
0.125
0.140625
0.15625
0
0
0
0
0
0
0
0.237885
227
13
41
17.461538
0.739884
0
0
0
0
0
0.153509
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.7
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
53d37615a494aeff42c2e765c103f993cfc58676
238
py
Python
tests/item_test.py
rcottoson/poe-currency-flip-planner
9bc30c321e38b47241ac41b04ba8586c449cb70b
[ "MIT" ]
92
2018-04-15T16:14:08.000Z
2021-12-20T02:27:21.000Z
tests/item_test.py
rcottoson/poe-currency-flip-planner
9bc30c321e38b47241ac41b04ba8586c449cb70b
[ "MIT" ]
129
2018-10-23T06:13:04.000Z
2022-01-27T19:22:42.000Z
tests/item_test.py
rcottoson/poe-currency-flip-planner
9bc30c321e38b47241ac41b04ba8586c449cb70b
[ "MIT" ]
24
2018-04-15T16:14:21.000Z
2022-02-27T21:27:33.000Z
import unittest from src.trading.items import ItemList class ItemListTest(unittest.TestCase): def test_load_itemlist_from_file(self): item_list = ItemList.load_from_file() self.assertTrue(len(item_list.items) > 800)
26.444444
51
0.756303
32
238
5.375
0.625
0.093023
0.139535
0
0
0
0
0
0
0
0
0.015
0.159664
238
8
52
29.75
0.845
0
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
53e9e82983335ca43967de8172c25bfc4e334392
179
py
Python
reference/api/urls.py
hftirawan/django_patronus
501438f1d3109c2837420736820679976a56b501
[ "MIT" ]
null
null
null
reference/api/urls.py
hftirawan/django_patronus
501438f1d3109c2837420736820679976a56b501
[ "MIT" ]
5
2021-04-08T20:58:53.000Z
2022-03-12T00:34:47.000Z
reference/api/urls.py
hftirawan/Django-2
add80811c295c3f8e51ae8da30f8fe64bfa77520
[ "MIT" ]
null
null
null
from django.urls import path from . import views app_name = 'reference' urlpatterns = [ path('references/', views.ReferenceListView.as_view(), name = 'api_reference_list'), ]
25.571429
88
0.73743
22
179
5.818182
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.134078
179
7
89
25.571429
0.825806
0
0
0
0
0
0.211111
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
53faba0bb66a07cdfc32f1d19712fb1821423031
66
py
Python
LuoguCodes/AT2659.py
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/AT2659.py
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/AT2659.py
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
n, a = int(raw_input()), 2 while a <= n: a <<= 1 print a >> 1
13.2
26
0.469697
14
66
2.142857
0.642857
0.133333
0
0
0
0
0
0
0
0
0
0.065217
0.30303
66
4
27
16.5
0.586957
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
53ff4f21d65783a2304bfaa7268a03e38115a600
38
py
Python
forge/constants.py
ujjwalsh/pyforge
454d7df39f6d6cc7531d3f87e7b7f7d83ae6e66e
[ "BSD-3-Clause" ]
7
2015-01-01T18:40:53.000Z
2021-10-20T14:13:08.000Z
forge/constants.py
ujjwalsh/pyforge
454d7df39f6d6cc7531d3f87e7b7f7d83ae6e66e
[ "BSD-3-Clause" ]
6
2016-03-31T16:40:30.000Z
2020-12-23T07:24:53.000Z
forge/constants.py
ujjwalsh/pyforge
454d7df39f6d6cc7531d3f87e7b7f7d83ae6e66e
[ "BSD-3-Clause" ]
9
2016-03-31T15:21:29.000Z
2021-03-20T06:29:09.000Z
WILDCARD_DESCRIPTION = "<<Wildcard>>"
19
37
0.736842
3
38
9
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.078947
38
1
38
38
0.771429
0
0
0
0
0
0.315789
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
54f5622d61121879feca172c95b63d3ba7b9b18b
1,081
py
Python
user_profile/admin.py
junaidgirkar/DJ-Comps-Student-Info-Portal
eb2efe54677a084ce7cb287538048e7ea9eb311d
[ "MIT" ]
1
2021-11-17T20:12:50.000Z
2021-11-17T20:12:50.000Z
user_profile/admin.py
junaidgirkar/DJ-Comps-Student-Info-Portal
eb2efe54677a084ce7cb287538048e7ea9eb311d
[ "MIT" ]
null
null
null
user_profile/admin.py
junaidgirkar/DJ-Comps-Student-Info-Portal
eb2efe54677a084ce7cb287538048e7ea9eb311d
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import TeacherProfile from .models import Hackathon, Committee, ResearchPaper, BeProject, Internship from .models import Project, StudentProfile, Skill, Recruiter, KT, Subject from .models import Education, ExtraCurricular, TermTest, SubjectMarks, CompetitiveExams, Admit fr...
40.037037
95
0.848289
120
1,081
7.633333
0.241667
0.176856
0.334061
0.305677
0
0
0
0
0
0
0
0
0.06013
1,081
26
96
41.576923
0.901575
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
070c9f9482a6e264fcdf1703605793539002e01d
976
py
Python
tests/graphs/test_maximum_matching.py
BarrensZeppelin/PyRival
bb01523283af0130c3921445ed5e532bfcf053af
[ "Apache-2.0" ]
748
2018-09-27T01:08:12.000Z
2022-03-25T17:31:56.000Z
tests/graphs/test_maximum_matching.py
swarajspatil158/PyRival
07c4c38b2b6ca69a275d2ed3743b6c09af80b732
[ "Apache-2.0" ]
38
2019-02-24T14:50:02.000Z
2022-03-25T01:27:50.000Z
tests/graphs/test_maximum_matching.py
swarajspatil158/PyRival
07c4c38b2b6ca69a275d2ed3743b6c09af80b732
[ "Apache-2.0" ]
288
2018-10-29T11:55:57.000Z
2022-03-20T04:37:27.000Z
from pyrival.maximum_matching import * def test_maximum_matching__corner_cases(): edges = [] for e in [(0, 1), (1, 2), (2, 0)]: edges.append(e) assert maximum_matching(edges) == 1 for e in [(2, 3), (3, 4)]: edges.append(e) assert maximum_matching(edges) == 2 for e in ...
24.4
54
0.531762
142
976
3.521127
0.28169
0.3
0.294
0.364
0.38
0.38
0.38
0
0
0
0
0.068862
0.315574
976
39
55
25.025641
0.679641
0
0
0.241379
0
0
0
0
0
0
0
0
0.241379
1
0.068966
false
0
0.034483
0
0.103448
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0724d2163b1972d7b03a65525147930219ffc12d
1,868
py
Python
release/stubs.min/System/Security/AccessControl_parts/FileSystemRights.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/System/Security/AccessControl_parts/FileSystemRights.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/System/Security/AccessControl_parts/FileSystemRights.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class FileSystemRights(Enum,IComparable,IFormattable,IConvertible): """ Defines the access rights to use when creating access and audit rules. enum (flags) FileSystemRights,values: AppendData (4),ChangePermissions (262144),CreateDirectories (4),CreateFiles (2),Delete (65536),DeleteSubdirectoriesAndFiles (6...
32.77193
501
0.73394
214
1,868
5.962617
0.411215
0.062696
0.065831
0.070533
0.101097
0.101097
0.101097
0.088558
0.088558
0.088558
0
0.049099
0.138651
1,868
56
502
33.357143
0.74394
0.482334
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.222222
0
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
072712689d00d26c2ce2ce25ed5a68193d9e8d86
111
py
Python
text/_cascade/element/_box/containing.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
text/_cascade/element/_box/containing.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
text/_cascade/element/_box/containing.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
""" Containing-Block """ from .block import BlockBox class ContainingBlock( BlockBox, ): pass
7.928571
27
0.630631
10
111
7
0.8
0
0
0
0
0
0
0
0
0
0
0
0.261261
111
13
28
8.538462
0.853659
0.144144
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
073c0771f3e4b633c2e1935e1fe87e6325bd1cce
65
py
Python
moyu_engine/components/tempCodeRunnerFile.py
MoYuStudio/MoYuEngine
7d9ab5c9cb268de0071e798a3288f0bbb651795e
[ "Apache-2.0" ]
2
2022-03-22T02:32:34.000Z
2022-03-22T02:32:43.000Z
moyu_engine/components/tempCodeRunnerFile.py
MoYuStudio/MoYuEngine
7d9ab5c9cb268de0071e798a3288f0bbb651795e
[ "Apache-2.0" ]
null
null
null
moyu_engine/components/tempCodeRunnerFile.py
MoYuStudio/MoYuEngine
7d9ab5c9cb268de0071e798a3288f0bbb651795e
[ "Apache-2.0" ]
null
null
null
''' [ Window 窗口模块 ] 创建一个窗口 (在玩家的电脑上弹出(创建)一个窗) '''
16.25
33
0.461538
6
65
5
1
0
0
0
0
0
0
0
0
0
0
0
0.353846
65
4
34
16.25
0.714286
0.692308
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
073ee5d5fbd6bbdb776067d280380cfd31d4b819
339
py
Python
src/api/v1/serializers/districts.py
pyn4rc/improved-engine
b1b9b9fafc0381bd75cdb7829fe747203a097a5d
[ "MIT" ]
null
null
null
src/api/v1/serializers/districts.py
pyn4rc/improved-engine
b1b9b9fafc0381bd75cdb7829fe747203a097a5d
[ "MIT" ]
5
2021-03-19T08:43:05.000Z
2022-02-10T10:17:16.000Z
src/api/v1/serializers/districts.py
pyn4rc/improved-engine
b1b9b9fafc0381bd75cdb7829fe747203a097a5d
[ "MIT" ]
null
null
null
from cities.models import District from rest_framework import serializers class DistrictSerializerV1(serializers.ModelSerializer): class Meta: model = District fields = '__all__' class DistrictListSerializerV1(serializers.ModelSerializer): class Meta: model = District fields ...
22.6
60
0.707965
31
339
7.580645
0.580645
0.221277
0.26383
0.297872
0.459574
0.459574
0.459574
0
0
0
0
0.007547
0.218289
339
14
61
24.214286
0.879245
0
0
0.4
0
0
0.038348
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
075c632277e01467dd5813a1eaa6315227641cbf
394
py
Python
skcriteria/madm/__init__.py
elcolie/scikit-criteria
216674d699b60d68fefa98d44afd619943f3bb00
[ "BSD-3-Clause" ]
null
null
null
skcriteria/madm/__init__.py
elcolie/scikit-criteria
216674d699b60d68fefa98d44afd619943f3bb00
[ "BSD-3-Clause" ]
null
null
null
skcriteria/madm/__init__.py
elcolie/scikit-criteria
216674d699b60d68fefa98d44afd619943f3bb00
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # License: BSD-3 (https://tldrlegal.com/license/bsd-3-clause-license-(revised)) # Copyright (c) 2016-2021, Cabral, Juan; Luczywo, Nadia # All rights reserved. # ============================================================================= # DOCS # =========================...
32.833333
79
0.395939
33
394
4.727273
0.878788
0.128205
0.141026
0
0
0
0
0
0
0
0
0.030471
0.083756
394
11
80
35.818182
0.401662
0.939086
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
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
3
4acf8d676b48e8598964da893eb03b3210c03157
398
py
Python
mmdet/ops/roi_pool/modules/roi_pool.py
dandelin/mmdetection
03e1c72f1bb6222bdf9af3bfe60946cf008c7143
[ "Apache-2.0" ]
null
null
null
mmdet/ops/roi_pool/modules/roi_pool.py
dandelin/mmdetection
03e1c72f1bb6222bdf9af3bfe60946cf008c7143
[ "Apache-2.0" ]
null
null
null
mmdet/ops/roi_pool/modules/roi_pool.py
dandelin/mmdetection
03e1c72f1bb6222bdf9af3bfe60946cf008c7143
[ "Apache-2.0" ]
null
null
null
from torch.nn.modules.module import Module from ..functions.roi_pool import roi_pool class RoIPool(Module): def __init__(self, out_size, spatial_scale): super(RoIPool, self).__init__() self.out_size = out_size self.spatial_scale = float(spatial_scale) def forward(self, features, rois...
28.428571
74
0.71608
55
398
4.836364
0.436364
0.105263
0.12406
0.112782
0.172932
0
0
0
0
0
0
0
0.188442
398
13
75
30.615385
0.823529
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ab07303ed26bf16f3f723b98cb1994c17cfe312b
389
py
Python
xoeuf/models/__init__.py
merchise-autrement/xoeuf
583a0faa345480e73110d467203eefd142b0a710
[ "BSD-3-Clause" ]
3
2015-05-16T04:40:14.000Z
2016-01-26T05:36:20.000Z
xoeuf/models/__init__.py
merchise-autrement/xoeuf
583a0faa345480e73110d467203eefd142b0a710
[ "BSD-3-Clause" ]
null
null
null
xoeuf/models/__init__.py
merchise-autrement/xoeuf
583a0faa345480e73110d467203eefd142b0a710
[ "BSD-3-Clause" ]
1
2017-03-23T23:08:50.000Z
2017-03-23T23:08:50.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # --------------------------------------------------------------------- # Copyright (c) Merchise Autrement [~º/~] and Contributors # All rights reserved. # # This is free software; you can do what the LICENCE file allows you to. # """A new object model. """ from odoo.mode...
24.3125
72
0.547558
46
389
4.630435
0.891304
0.093897
0.169014
0
0
0
0
0
0
0
0
0.003058
0.159383
389
15
73
25.933333
0.648318
0.799486
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
ab14f27b364029fc609cc9d89081eefb4860d1d4
204
py
Python
creation/admin.py
Sharmaxz/battle-dual-api
a55c7988ebf3d5c2d5d433c4c957eb034724fe93
[ "MIT" ]
null
null
null
creation/admin.py
Sharmaxz/battle-dual-api
a55c7988ebf3d5c2d5d433c4c957eb034724fe93
[ "MIT" ]
6
2020-11-20T21:22:16.000Z
2021-09-22T19:50:07.000Z
creation/admin.py
Sharmaxz/battle-dual-api
a55c7988ebf3d5c2d5d433c4c957eb034724fe93
[ "MIT" ]
null
null
null
from django.contrib import admin from creation.models import Room class RoomAdmin(admin.ModelAdmin): list_display = ('name', 'game', 'type', 'owner', 'turn') admin.site.register(Room, RoomAdmin)
18.545455
60
0.72549
26
204
5.653846
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.137255
204
10
61
20.4
0.835227
0
0
0
0
0
0.102941
0
0
0
0
0
0
1
0
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ab15c6c48d0eb957275598412d124f3265ebb064
546
py
Python
mloncode/datasets/codrep_dataset.py
m09/mloncode
0c28e6007d5e3cf0e4e0963428f15ec488cb49eb
[ "Apache-2.0" ]
1
2020-03-12T12:58:42.000Z
2020-03-12T12:58:42.000Z
mloncode/datasets/codrep_dataset.py
m09/mloncode
0c28e6007d5e3cf0e4e0963428f15ec488cb49eb
[ "Apache-2.0" ]
2
2019-11-07T14:52:30.000Z
2019-11-08T14:40:06.000Z
mloncode/datasets/codrep_dataset.py
m09/mloncode
0c28e6007d5e3cf0e4e0963428f15ec488cb49eb
[ "Apache-2.0" ]
null
null
null
from bz2 import open as bz2_open from pathlib import Path from pickle import load as pickle_load from typing import Any, Dict from mloncode.datasets.dataset import Dataset class CodRepDataset(Dataset): def __init__(self, *, input_dir: Path) -> None: self._pickles = sorted(input_dir.rglob("*.pickle.bz2")...
27.3
72
0.688645
78
546
4.551282
0.461538
0.092958
0
0
0
0
0
0
0
0
0
0.009217
0.205128
546
19
73
28.736842
0.808756
0
0
0
0
0
0.025641
0
0
0
0
0
0
1
0.230769
false
0
0.384615
0.076923
0.846154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
ab255303d21fe6366987e7ff3232131c619a73a7
1,781
py
Python
display/migrations/0007_auto_20191112_1132.py
SmithChebesta/uni-database
7394c5652f5cd260593951fca08905201ed07d3b
[ "MIT" ]
null
null
null
display/migrations/0007_auto_20191112_1132.py
SmithChebesta/uni-database
7394c5652f5cd260593951fca08905201ed07d3b
[ "MIT" ]
8
2020-06-06T00:28:14.000Z
2022-02-10T13:59:20.000Z
display/migrations/0007_auto_20191112_1132.py
SmithChebesta/uni-database
7394c5652f5cd260593951fca08905201ed07d3b
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2019-11-12 04:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('display', '0006_auto_20191112_1040'), ] operations = [ migrations.RemoveField( model_name='service', name='service_d...
28.725806
61
0.535093
155
1,781
6.019355
0.374194
0.096463
0.187567
0.217578
0.617363
0.617363
0.448017
0.448017
0.448017
0.448017
0
0.028061
0.339697
1,781
61
62
29.196721
0.765306
0.025267
0
0.636364
1
0
0.116494
0.013264
0
0
0
0
0
1
0
false
0
0.018182
0
0.072727
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ab381d118bff31f2b92a598774b99d6dc5a561be
86
py
Python
reference/Python/lang/module_target.py
steadylearner/code
ba6df6c38a6e25b7ea996f4df905921e27760e04
[ "MIT" ]
4
2019-07-17T14:43:32.000Z
2022-03-27T21:38:01.000Z
reference/Python/lang/module_target.py
steadylearner/code
ba6df6c38a6e25b7ea996f4df905921e27760e04
[ "MIT" ]
39
2020-09-04T03:31:16.000Z
2022-03-08T22:54:03.000Z
reference/Python/lang/module_target.py
steadylearner/code
ba6df6c38a6e25b7ea996f4df905921e27760e04
[ "MIT" ]
1
2021-03-03T13:04:28.000Z
2021-03-03T13:04:28.000Z
variable = "This is variable" def hello(): print("It is from module_target.py")
14.333333
40
0.674419
13
86
4.384615
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.197674
86
5
41
17.2
0.826087
0
0
0
0
0
0.505882
0
0
0
0
0
0
1
0.333333
false
0
0
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
1
0
0
0
0
0
0
0
3
ab5cd2a3130e37f3ac4a57fcf36e328593a11c3a
261
py
Python
main/models.py
Tu1026/DjangoWebsite
743eb50579ef2d35027c59e2a4e5f48b5ef344bd
[ "Apache-2.0" ]
1
2021-07-15T17:46:45.000Z
2021-07-15T17:46:45.000Z
main/models.py
Tu1026/djangoWebsite
743eb50579ef2d35027c59e2a4e5f48b5ef344bd
[ "Apache-2.0" ]
null
null
null
main/models.py
Tu1026/djangoWebsite
743eb50579ef2d35027c59e2a4e5f48b5ef344bd
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.contrib.auth.models import User class Coop(models.Model): url = models.CharField(max_length=100) person = models.ForeignKey(User, on_delete=models.CASCADE) def __str__(self): return f'{self.owner}'
29
62
0.727969
37
261
4.972973
0.72973
0.108696
0
0
0
0
0
0
0
0
0
0.013761
0.164751
261
9
63
29
0.830275
0
0
0
0
0
0.045802
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
ab60e32a6841ea3de4c6fe165b980278235a1b03
389
py
Python
tests/someapp/models.py
bartonip/django-cached-fields
ffe1b15a4e12592dfabdc05611c64ab14cbf938d
[ "MIT" ]
null
null
null
tests/someapp/models.py
bartonip/django-cached-fields
ffe1b15a4e12592dfabdc05611c64ab14cbf938d
[ "MIT" ]
null
null
null
tests/someapp/models.py
bartonip/django-cached-fields
ffe1b15a4e12592dfabdc05611c64ab14cbf938d
[ "MIT" ]
null
null
null
from django.db import models from cached_fields.fields import CachedIntegerField from cached_fields.mixins import CachedFieldsMixin def calc_total(instance): return instance.amount * instance.quantity class Invoice(models.Model): amount = models.IntegerField() quantity = models.IntegerField() total = ...
35.363636
81
0.791774
44
389
6.886364
0.522727
0.066007
0.105611
0
0
0
0
0
0
0
0
0
0.123393
389
11
81
35.363636
0.888563
0
0
0
0
0
0.035897
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0.111111
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
db469b6da87e0860499b7435b3313db1295dbc90
106
py
Python
acme_diags/__init__.py
jingxianwen/e3sm_diags
4409d0da2cb724b44e19dbfb1f132d0ccfbbed1e
[ "BSD-3-Clause" ]
null
null
null
acme_diags/__init__.py
jingxianwen/e3sm_diags
4409d0da2cb724b44e19dbfb1f132d0ccfbbed1e
[ "BSD-3-Clause" ]
null
null
null
acme_diags/__init__.py
jingxianwen/e3sm_diags
4409d0da2cb724b44e19dbfb1f132d0ccfbbed1e
[ "BSD-3-Clause" ]
null
null
null
import os import sys __version__ = 'v2.0.0' INSTALL_PATH = os.path.join(sys.prefix, 'share/e3sm_diags/')
17.666667
60
0.735849
18
106
4
0.722222
0
0
0
0
0
0
0
0
0
0
0.042553
0.113208
106
5
61
21.2
0.723404
0
0
0
0
0
0.216981
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
db512cc94f7dd8d7caf5741f29d1ec9d6c0cdf21
687
py
Python
synthetic_test/BenchmarkSuite/src/object_changes/classes/setattr_klass.py
sritejakv/eval_CG
259b2d0ee39cbfe3c6961d7bbdeff8c135ec5712
[ "MIT" ]
null
null
null
synthetic_test/BenchmarkSuite/src/object_changes/classes/setattr_klass.py
sritejakv/eval_CG
259b2d0ee39cbfe3c6961d7bbdeff8c135ec5712
[ "MIT" ]
null
null
null
synthetic_test/BenchmarkSuite/src/object_changes/classes/setattr_klass.py
sritejakv/eval_CG
259b2d0ee39cbfe3c6961d7bbdeff8c135ec5712
[ "MIT" ]
null
null
null
""" :testcase_name setattr_klass :author Sriteja Kummita :script_type Class :description Dynamically initializing the class variable with an object in Pokemon class """ class Pikachu: def talk(self): return 'Pikkkachuuu' class Squirtle: def talk(self): return 'SquirtleSquirtle' class Bulba...
17.175
88
0.650655
81
687
5.308642
0.481481
0.093023
0.076744
0.118605
0
0
0
0
0
0
0
0
0.243086
687
39
89
17.615385
0.826923
0.260553
0
0.15
0
0
0.106
0
0
0
0
0
0
1
0.3
false
0
0
0.2
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
db81fd0927af862f54e3d717465a5ac28d108e9d
319
py
Python
joplin/pages/official_documents_collection/tests.py
cityofaustin/joplin
01424e46993e9b1c8e57391d6b7d9448f31d596b
[ "MIT" ]
15
2018-09-27T07:36:30.000Z
2021-08-03T16:01:21.000Z
joplin/pages/official_documents_collection/tests.py
cityofaustin/joplin
01424e46993e9b1c8e57391d6b7d9448f31d596b
[ "MIT" ]
183
2017-11-16T23:30:47.000Z
2020-12-18T21:43:36.000Z
joplin/pages/official_documents_collection/tests.py
cityofaustin/joplin
01424e46993e9b1c8e57391d6b7d9448f31d596b
[ "MIT" ]
12
2017-12-12T22:48:05.000Z
2021-03-01T18:01:24.000Z
# import pytest # # from pages.official_documents_collection.models import OfficialDocumentCollection # import pages.official_documents_collection.fixtures as fixtures # # # @pytest.mark.django_db # def test_kitchen_sink(): # page = fixtures.kitchen_sink() # assert isinstance(page, OfficialDocumentCollection)
29
83
0.799373
34
319
7.264706
0.617647
0.105263
0.178138
0.259109
0
0
0
0
0
0
0
0
0.115987
319
10
84
31.9
0.875887
0.934169
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
1
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
3
dbac67d5f59e016bef6f40d72df1b7d3d40aef0f
717
py
Python
home/vscode/extensions/ms-python.python-2021.12.1559732655/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/pydev_is_thread_alive.py
qwertzy-antonio-godinho/dots
65cd657f785e7da3a3ccb1a808c0fc1b8496e5b1
[ "Apache-2.0" ]
6
2021-12-26T13:34:32.000Z
2022-02-08T22:09:38.000Z
src/ptvsd/_vendored/pydevd/_pydev_bundle/pydev_is_thread_alive.py
ev3dev/ptvsd
cea22767dd78a812a14e2330a540a368f615224e
[ "MIT" ]
8
2020-07-19T23:39:31.000Z
2022-02-27T01:38:46.000Z
src/ptvsd/_vendored/pydevd/_pydev_bundle/pydev_is_thread_alive.py
ev3dev/ptvsd
cea22767dd78a812a14e2330a540a368f615224e
[ "MIT" ]
3
2020-08-04T02:48:32.000Z
2020-08-17T01:20:09.000Z
from _pydev_imps._pydev_saved_modules import threading # Hack for https://www.brainwy.com/tracker/PyDev/363 (i.e.: calling is_alive() can throw AssertionError under some # circumstances). # It is required to debug threads started by start_new_thread in Python 3.4 _temp = threading.Thread() if hasattr(_temp, '_is...
29.875
115
0.705718
111
717
4.297297
0.603604
0.031447
0.069182
0.100629
0.194969
0.194969
0.146751
0.146751
0.146751
0.146751
0
0.012411
0.213389
717
23
116
31.173913
0.833333
0.435146
0
0.25
0
0
0.072
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.25
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
dbae22a25a8fe0fed7da267dba6c4e3f77a008d8
195
py
Python
datafeeds/__init__.py
liuqiuxi/datafeeds
50d1615a96f7d17d3ecd8ab661c4e1d5f43b9e8d
[ "MIT" ]
1
2021-03-16T03:12:44.000Z
2021-03-16T03:12:44.000Z
datafeeds/__init__.py
liuqiuxi/datafeeds
50d1615a96f7d17d3ecd8ab661c4e1d5f43b9e8d
[ "MIT" ]
null
null
null
datafeeds/__init__.py
liuqiuxi/datafeeds
50d1615a96f7d17d3ecd8ab661c4e1d5f43b9e8d
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- # @Time : 2019-12-26 16:15 # @Author : liuqiuxi # @Email : liuqiuxi1990@gmail.com # @File : __init__.py # @Project : datafeeds # @Software: PyCharm
16.25
36
0.564103
22
195
4.818182
1
0
0
0
0
0
0
0
0
0
0
0.118881
0.266667
195
11
37
17.727273
0.622378
0.846154
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
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
dbbd1e089d139bd6c2c1a031d6082a9fb697b06d
4,946
py
Python
tests/integrational/tornado/test_user.py
panchiwalashivani/python
eacafb9c597d04da3ac306809939045a17611d69
[ "MIT" ]
1
2021-09-29T05:07:57.000Z
2021-09-29T05:07:57.000Z
tests/integrational/tornado/test_user.py
panchiwalashivani/python
eacafb9c597d04da3ac306809939045a17611d69
[ "MIT" ]
null
null
null
tests/integrational/tornado/test_user.py
panchiwalashivani/python
eacafb9c597d04da3ac306809939045a17611d69
[ "MIT" ]
null
null
null
import tornado from tornado.testing import AsyncTestCase from pubnub.pubnub_tornado import PubNubTornado, TornadoEnvelope from pubnub.models.consumer.user import (PNGetUsersResult, PNCreateUserResult, PNGetUserResult, PNUpdateUserResult, PNDeleteUserResult) from pubnub.models.c...
45.376147
114
0.635261
544
4,946
5.661765
0.159926
0.058442
0.116883
0.046753
0.745455
0.733117
0.697403
0.697403
0.697403
0.680195
0
0.00183
0.226446
4,946
108
115
45.796296
0.803189
0
0
0.6
0
0
0.161545
0.058027
0
0
0
0
0.452632
1
0.063158
false
0
0.073684
0
0.147368
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
dbca053f5bea2d4c22385f55795d7b77992506f5
2,270
py
Python
vfxwindow/__init__.py
all-in-one-of/vfxwindow
247571512ffbfd4deb2ba505a75c5de658efffbd
[ "MIT" ]
null
null
null
vfxwindow/__init__.py
all-in-one-of/vfxwindow
247571512ffbfd4deb2ba505a75c5de658efffbd
[ "MIT" ]
null
null
null
vfxwindow/__init__.py
all-in-one-of/vfxwindow
247571512ffbfd4deb2ba505a75c5de658efffbd
[ "MIT" ]
1
2021-02-17T00:00:10.000Z
2021-02-17T00:00:10.000Z
"""Set the window class to be specific to whichever program is loaded. TODO: Substance callbacks Add dialog code for each application Revise setDefault* methods # Potential breaking changes Change setDocked to setFloating Remove docked in favour of floating Remove *_VERSION constants C...
30.266667
80
0.730837
295
2,270
5.555932
0.481356
0.067114
0.064063
0.091519
0.09518
0.041489
0.041489
0.041489
0
0
0
0.002778
0.207048
2,270
74
81
30.675676
0.907778
0.306167
0
0.179487
0
0
0.10414
0
0
0
0
0.013514
0
1
0.025641
false
0.025641
0.615385
0
0.641026
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
0
0
0
1
0
1
0
0
3
dbd952fbb714442fb792385d347c03a837e4652b
1,885
py
Python
hata/discord/interaction/interaction_response_types.py
albertopoljak/hata
96d0b3182eb4f5291eaf36bd23d521787c6b01f1
[ "0BSD" ]
1
2022-03-02T03:59:57.000Z
2022-03-02T03:59:57.000Z
hata/discord/interaction/interaction_response_types.py
m0nk3ybraindead/hata
f87ed3d7009eeae31d6ea158772efd33775c7b1c
[ "0BSD" ]
1
2022-02-08T16:54:39.000Z
2022-02-08T16:54:39.000Z
hata/discord/interaction/interaction_response_types.py
WizzyBots/hata
f6991afc0bebf7dad932888a536f4d010f8663c7
[ "0BSD" ]
1
2020-09-17T20:10:15.000Z
2020-09-17T20:10:15.000Z
__all__ = () __doc__ = """ Contains the interaction response type's, which are the following: +-------------------------------------------+-------+---------------+ | Respective name | Value | Notes | +===========================================+=======+===============+ | none ...
45.97561
69
0.202122
72
1,885
4.986111
0.541667
0.027855
0.050139
0.05571
0.662953
0.662953
0.54039
0.54039
0.54039
0.54039
0
0.015552
0.317772
1,885
40
70
47.125
0.263608
0
0
0.297297
0
0
0.890716
0.471618
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
915d4818a7a141268142feea7609a01f7ff0dccb
235
py
Python
API/curd/admin.py
mangeshbhute/Man_hzn
a063ea2b772ef09808805ecbab70878324c4d622
[ "Unlicense" ]
null
null
null
API/curd/admin.py
mangeshbhute/Man_hzn
a063ea2b772ef09808805ecbab70878324c4d622
[ "Unlicense" ]
null
null
null
API/curd/admin.py
mangeshbhute/Man_hzn
a063ea2b772ef09808805ecbab70878324c4d622
[ "Unlicense" ]
null
null
null
from django.contrib import admin from .models import Prodect_Details # Register your models here. class ProductAdmin(admin.ModelAdmin): list_display = ['no','name','quan','buyer'] admin.site.register(Prodect_Details,ProductAdmin)
29.375
49
0.782979
30
235
6.033333
0.7
0.154696
0
0
0
0
0
0
0
0
0
0
0.102128
235
8
49
29.375
0.85782
0.110638
0
0
0
0
0.072115
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
91651b9c9646d4805690e7356b5471c66cc8f89b
92,772
py
Python
cluster_assignment/get_clustr_sequences.py
peterthorpe5/genomes_tree_phyto_pathogens
6f5fa79e37bbe699f2096c2b5b841b11122386d7
[ "MIT" ]
null
null
null
cluster_assignment/get_clustr_sequences.py
peterthorpe5/genomes_tree_phyto_pathogens
6f5fa79e37bbe699f2096c2b5b841b11122386d7
[ "MIT" ]
null
null
null
cluster_assignment/get_clustr_sequences.py
peterthorpe5/genomes_tree_phyto_pathogens
6f5fa79e37bbe699f2096c2b5b841b11122386d7
[ "MIT" ]
null
null
null
# script to open up a tab MCL output and count the length of the line. The # amount of seuqnces in each cluster. import os from Bio.Seq import Seq from Bio.SeqRecord import SeqRecord from Bio import SeqIO file_name = 'test.txt' script_dir = os.path.dirname(os.path.abspath(__file__)) dest_dir = os.path.join(script_dir...
32.816413
102
0.503482
8,593
92,772
5.109159
0.190504
0.232262
0.006013
0.003827
0.679361
0.625288
0.624376
0.622828
0.553197
0.550395
0
0.367172
0.461562
92,772
2,827
103
32.816413
0.511731
0.004603
0
0.624046
0
0
0.943138
0.002426
0
0
0
0
0
1
0.000363
false
0
0.001453
0
0.001816
0.002543
0
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
916fcd99409144d8488de29135662c955779fe04
52
py
Python
test.py
dewanankit/Mulberry-2
22719ca8311cbd194224e9e26816f5e530464ea6
[ "BSD-3-Clause" ]
null
null
null
test.py
dewanankit/Mulberry-2
22719ca8311cbd194224e9e26816f5e530464ea6
[ "BSD-3-Clause" ]
null
null
null
test.py
dewanankit/Mulberry-2
22719ca8311cbd194224e9e26816f5e530464ea6
[ "BSD-3-Clause" ]
null
null
null
def main(): for i in xrange(1,3): print(i) main()
13
22
0.596154
11
52
2.818182
0.818182
0
0
0
0
0
0
0
0
0
0
0.047619
0.192308
52
4
23
13
0.690476
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
9170cb183dc485b7f9dca00c5fcb8c4a909decca
511
py
Python
02_PYTHON/week07/labs/funciones_03.py
ivanof11/The_Bridge_DataScience_PT_ALUMNI_feb22
a85ebb1b85f49c0c163e8d24cd82531a7927af45
[ "MIT" ]
5
2022-02-05T12:21:24.000Z
2022-02-09T18:36:26.000Z
02_PYTHON/week07/labs/funciones_03.py
ivanof11/The_Bridge_DataScience_PT_ALUMNI_feb22
a85ebb1b85f49c0c163e8d24cd82531a7927af45
[ "MIT" ]
16
2022-02-10T19:51:55.000Z
2022-03-21T23:17:38.000Z
02_PYTHON/week07/labs/funciones_03.py
ivanof11/The_Bridge_DataScience_PT_ALUMNI_feb22
a85ebb1b85f49c0c163e8d24cd82531a7927af45
[ "MIT" ]
20
2022-02-05T11:09:53.000Z
2022-03-05T12:58:20.000Z
import math def compute_all_distances(x, y): def eucl_dist(x, y): # Definimos la función que calcula la distancia utilizando una list # comprehension uniendo los valores de los vectores x e y con zip return math.sqrt(sum([(coord[0]-coord[1])**2 for coord in zip(x,y)])) def manh_dist(x,y):...
30.058824
77
0.643836
92
511
3.48913
0.51087
0.043614
0.074766
0.062305
0.093458
0.093458
0
0
0
0
0
0.042289
0.213307
511
17
78
30.058824
0.756219
0.252446
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
917eb9b0e686898f5a97f91c84f27bede8e92225
313
py
Python
attributes/fields.py
pmaigutyak/mp-shop
14ea67f71fd91a282d2070414924708214fc6464
[ "0BSD" ]
2
2018-03-14T11:32:36.000Z
2021-09-25T14:31:36.000Z
attributes/fields.py
pmaigutyak/mp-shop
14ea67f71fd91a282d2070414924708214fc6464
[ "0BSD" ]
null
null
null
attributes/fields.py
pmaigutyak/mp-shop
14ea67f71fd91a282d2070414924708214fc6464
[ "0BSD" ]
null
null
null
from basement.fields import FormField from attributes.widgets import AttributesFormFieldWidget from attributes.forms import AttributesForm class AttributesFormField(FormField): widget = AttributesFormFieldWidget def _build_form(self, *args, **kwargs): return AttributesForm(*args, **kwargs)
22.357143
56
0.785942
30
313
8.133333
0.666667
0.114754
0
0
0
0
0
0
0
0
0
0
0.146965
313
13
57
24.076923
0.913858
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0.142857
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
919278fb867431cda7a85811abfc0402153b3e3f
466
py
Python
aprendizado/curso_em_video/desafios/desafio004.py
renatodev95/Python
2adee4a01de41f8bbb68fce563100c135a5ab549
[ "MIT" ]
null
null
null
aprendizado/curso_em_video/desafios/desafio004.py
renatodev95/Python
2adee4a01de41f8bbb68fce563100c135a5ab549
[ "MIT" ]
null
null
null
aprendizado/curso_em_video/desafios/desafio004.py
renatodev95/Python
2adee4a01de41f8bbb68fce563100c135a5ab549
[ "MIT" ]
null
null
null
word = input('Digite algo: ') print('O tipo primitivo desse valor é {}'.format(type(word))) print('Só tem espaços? {}'.format(word.isspace())) print('É um número? {}'.format(word.isnumeric())) print('É alfabético? {}'.format(word.isalpha())) print('é alfanumérico? {}'.format(word.isalnum())) print('Está em maiúsc...
46.6
62
0.669528
60
466
5.2
0.533333
0.224359
0.070513
0
0
0
0
0
0
0
0
0
0.098712
466
9
63
51.777778
0.742857
0
0
0
0
0
0.389497
0
0
0
0
0
0
1
0
false
0
0
0
0
0.888889
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
9193a53bc3080509f6d211b4d973427ac775fbf2
87
py
Python
enroll/JoinUs/apps.py
Adysenlab/pay-slip
2f8318d39a9c3eec7ce36633a73b787258e6289b
[ "MIT" ]
null
null
null
enroll/JoinUs/apps.py
Adysenlab/pay-slip
2f8318d39a9c3eec7ce36633a73b787258e6289b
[ "MIT" ]
null
null
null
enroll/JoinUs/apps.py
Adysenlab/pay-slip
2f8318d39a9c3eec7ce36633a73b787258e6289b
[ "MIT" ]
null
null
null
from django.apps import AppConfig class JoinusConfig(AppConfig): name = 'JoinUs'
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
0
0
0
3
919e3866a50861693c253d8561264e1a8081d7c5
91
py
Python
streamsite/songrate/apps.py
aob3/demo
93df657cfbdadaa80050ae1cca8e87f1c5745b72
[ "MIT" ]
1
2021-03-01T08:47:33.000Z
2021-03-01T08:47:33.000Z
streamsite/songrate/apps.py
aob3/demo
93df657cfbdadaa80050ae1cca8e87f1c5745b72
[ "MIT" ]
null
null
null
streamsite/songrate/apps.py
aob3/demo
93df657cfbdadaa80050ae1cca8e87f1c5745b72
[ "MIT" ]
null
null
null
from django.apps import AppConfig class SongrateConfig(AppConfig): name = 'songrate'
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.087912
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
91a94e164f7db48ec75071ff159ad88ccbbdf9b9
93
py
Python
ListImages.py
rauccapuclla/docker-info
58eb92876dccc09ddff5f1c0e908a6289b21d286
[ "MIT" ]
null
null
null
ListImages.py
rauccapuclla/docker-info
58eb92876dccc09ddff5f1c0e908a6289b21d286
[ "MIT" ]
null
null
null
ListImages.py
rauccapuclla/docker-info
58eb92876dccc09ddff5f1c0e908a6289b21d286
[ "MIT" ]
null
null
null
import docker client = docker.from_env() for image in client.images.list(): print image.id
18.6
34
0.752688
15
93
4.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.139785
93
4
35
23.25
0.8625
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
91c3ceaa70827b022218fe948d35b382fed0d10d
401
py
Python
calculators/CHA2DS2_and_HasBledScore/validation_cha2ds2.py
pjayathissa/algorithm-audit
c8d35685187a460ae8ffd13a7ad9c85fb5ac500b
[ "MIT" ]
1
2021-01-26T02:29:31.000Z
2021-01-26T02:29:31.000Z
calculators/CHA2DS2_and_HasBledScore/validation_cha2ds2.py
pjayathissa/algorithm-audit
c8d35685187a460ae8ffd13a7ad9c85fb5ac500b
[ "MIT" ]
6
2020-11-22T21:59:24.000Z
2020-12-07T22:11:58.000Z
calculators/CHA2DS2_and_HasBledScore/validation_cha2ds2.py
pjayathissa/algorithm-audit
c8d35685187a460ae8ffd13a7ad9c85fb5ac500b
[ "MIT" ]
2
2020-11-19T22:52:46.000Z
2021-01-26T19:12:22.000Z
# import calculator_cha2ds2 as cal # import pandas as pd import numpy as np # function to create the audit report def validation(numeric_results_df): # call validate function return 0 def validate(target_column, acutal_value, audit_value): if(acutal_value != audit_value): return "The " + target_...
23.588235
79
0.715711
57
401
4.877193
0.614035
0.107914
0.115108
0.151079
0
0
0
0
0
0
0
0.009585
0.219451
401
16
80
25.0625
0.878594
0.276808
0
0
0
0
0.14386
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
91c929cb6ae1624d8b1bf434dfec6441b2b8b6c3
1,427
py
Python
src/cnn_sent_classification/preprocess.py
numb3r33/dl_nlp
3b28b883de08efaa2eec4bb3d976906c94b926d6
[ "MIT" ]
null
null
null
src/cnn_sent_classification/preprocess.py
numb3r33/dl_nlp
3b28b883de08efaa2eec4bb3d976906c94b926d6
[ "MIT" ]
11
2020-03-24T16:56:30.000Z
2022-03-11T23:45:08.000Z
src/cnn_sent_classification/preprocess.py
numb3r33/dl_nlp
3b28b883de08efaa2eec4bb3d976906c94b926d6
[ "MIT" ]
null
null
null
import spacy from collections import Counter, defaultdict from exp_config import PAD_TOKEN, UNK_TOKEN class Tokenizer(): def __init__(self, lang='en'): self.tok = spacy.blank(lang, disable=['parser', 'tagger', 'ner']) def tokenizer(self, t): return [x.text for x in self.tok.tokenizer(t)] ...
31.711111
106
0.626489
213
1,427
4.028169
0.370892
0.055944
0.025641
0.027972
0.044289
0.044289
0.044289
0
0
0
0
0
0.262789
1,427
44
107
32.431818
0.815589
0.028732
0
0.058824
0
0
0.044149
0
0
0
0
0
0
1
0.264706
false
0
0.088235
0.117647
0.617647
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
91cc8dea7a3c1ae74bd26eb5021d7965a0e0beeb
153
py
Python
zentral/contrib/monolith/metrics_urls.py
janheise/zentral
cd809483573301e7d1aa5d3fc2da2c74a62405ab
[ "Apache-2.0" ]
null
null
null
zentral/contrib/monolith/metrics_urls.py
janheise/zentral
cd809483573301e7d1aa5d3fc2da2c74a62405ab
[ "Apache-2.0" ]
null
null
null
zentral/contrib/monolith/metrics_urls.py
janheise/zentral
cd809483573301e7d1aa5d3fc2da2c74a62405ab
[ "Apache-2.0" ]
null
null
null
from django.urls import path from .metrics_views import MetricsView app_name = "monolith_metrics" urlpatterns = [ path("", MetricsView.as_view()) ]
19.125
38
0.751634
19
153
5.842105
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.143791
153
7
39
21.857143
0.847328
0
0
0
0
0
0.104575
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
91e7df95de405de70cceaf5bbc41cf78d6eae949
703
py
Python
main.py
awlandy/JSON-LONGSTRING-TO-ARRAY
b86c71c7378d2419fe9b862d28a935995e85925d
[ "MIT" ]
null
null
null
main.py
awlandy/JSON-LONGSTRING-TO-ARRAY
b86c71c7378d2419fe9b862d28a935995e85925d
[ "MIT" ]
null
null
null
main.py
awlandy/JSON-LONGSTRING-TO-ARRAY
b86c71c7378d2419fe9b862d28a935995e85925d
[ "MIT" ]
null
null
null
import json import re s = "Some looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...
41.352941
393
0.816501
55
703
10.436364
0.618182
0.017422
0
0
0
0
0
0
0
0
0
0.019139
0.108108
703
16
394
43.9375
0.896332
0.027027
0
0
0
0
0.595308
0.549853
0
1
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
3
37d44bf597c67ca37537f4cc97b99afabb63d6e4
341
py
Python
database/tools.py
Junhua9981/WebProjectFinal
8db619b4196fa3bc684202ddb24a725c15e06d78
[ "MIT" ]
null
null
null
database/tools.py
Junhua9981/WebProjectFinal
8db619b4196fa3bc684202ddb24a725c15e06d78
[ "MIT" ]
null
null
null
database/tools.py
Junhua9981/WebProjectFinal
8db619b4196fa3bc684202ddb24a725c15e06d78
[ "MIT" ]
null
null
null
import random def v_code(): ret = "" for i in range(6): num = random.randint(0, 9) # num = chr(random.randint(48,57))#ASCII表示数字 letter = chr(random.randint(97, 122))#取小写字母 Letter = chr(random.randint(65, 90))#取大写字母 s = str(random.choice([num,letter,Letter])) re...
24.357143
52
0.565982
48
341
4
0.625
0.270833
0.25
0.229167
0
0
0
0
0
0
0
0.065574
0.284457
341
14
53
24.357143
0.721311
0.14956
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
37ee760d0b791444bf45b95fd7b3bb476df23822
421
py
Python
ois_api_client/v2_0/dto/InvoiceMain.py
peterkulik/ois_api_client
51dabcc9f920f89982c4419bb058f5a88193cee0
[ "MIT" ]
7
2020-10-22T08:15:29.000Z
2022-01-27T07:59:39.000Z
ois_api_client/v2_0/dto/InvoiceMain.py
peterkulik/ois_api_client
51dabcc9f920f89982c4419bb058f5a88193cee0
[ "MIT" ]
null
null
null
ois_api_client/v2_0/dto/InvoiceMain.py
peterkulik/ois_api_client
51dabcc9f920f89982c4419bb058f5a88193cee0
[ "MIT" ]
null
null
null
from typing import Optional from typing import List from dataclasses import dataclass from .BatchInvoice import BatchInvoice from .Invoice import Invoice @dataclass class InvoiceMain: """ :param invoice: Data of a single invoice or modification document :param batch_invoice: Data of a batch of modificati...
23.388889
69
0.767221
51
421
6.294118
0.411765
0.062305
0.099688
0.087227
0
0
0
0
0
0
0
0
0.180523
421
17
70
24.764706
0.930435
0.306413
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.555556
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
37feb63568e6ceb1c47e3e74dba8dcaf2c9158b2
827
py
Python
plugins/terminal/manager.py
farazkhanfk7/ajenti
ff51635bea0d29bf9f35dd7912f145398040541d
[ "MIT" ]
1
2021-04-27T07:16:01.000Z
2021-04-27T07:16:01.000Z
plugins/terminal/manager.py
farazkhanfk7/ajenti
ff51635bea0d29bf9f35dd7912f145398040541d
[ "MIT" ]
null
null
null
plugins/terminal/manager.py
farazkhanfk7/ajenti
ff51635bea0d29bf9f35dd7912f145398040541d
[ "MIT" ]
null
null
null
import binascii import os from jadi import service from .terminal import Terminal @service class TerminalManager(): def __init__(self, context): self.context = context self.terminals = {} def __getitem__(self, _id): return self.terminals[_id] def __contains__(self, _id): ...
21.205128
62
0.592503
99
827
4.666667
0.343434
0.19697
0.103896
0.073593
0.08658
0
0
0
0
0
0
0.005111
0.290206
827
38
63
21.763158
0.781942
0
0
0
0
0
0.016929
0
0
0
0
0
0
1
0.25
false
0
0.142857
0.107143
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5321cbdac63cfa56a384c0d7a457e99f4025a4f6
226
py
Python
pycrostates/__init__.py
vferat/pycrostates
ac324fa5c61c0024d3720e3956cb93258cb86f9c
[ "BSD-3-Clause" ]
11
2021-11-27T04:02:55.000Z
2022-03-14T13:55:32.000Z
pycrostates/__init__.py
vferat/pycrostates
ac324fa5c61c0024d3720e3956cb93258cb86f9c
[ "BSD-3-Clause" ]
17
2021-01-05T15:20:19.000Z
2022-03-24T11:02:59.000Z
pycrostates/__init__.py
vferat/pycrostates
ac324fa5c61c0024d3720e3956cb93258cb86f9c
[ "BSD-3-Clause" ]
3
2021-12-13T15:19:13.000Z
2022-03-30T13:57:40.000Z
from . import clustering from . import metrics from . import viz from . import utils from . import preprocessing __all__ = ('clustering', 'metrics', 'viz', 'utils', 'preprocessing')
20.545455
27
0.588496
21
226
6.142857
0.380952
0.387597
0
0
0
0
0
0
0
0
0
0
0.314159
226
11
28
20.545455
0.832258
0
0
0
0
0
0.167401
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
532ecc2d75737e5b87c72125591b3cdde7572331
874
py
Python
Mundo 3/desafios/desafio074 - Maior e menor valores em Tupla.py
marioarl/python
0bd677cdbec87e9603866c09cb8009fef295b89b
[ "MIT" ]
1
2021-11-21T21:04:04.000Z
2021-11-21T21:04:04.000Z
Mundo 3/desafios/desafio074 - Maior e menor valores em Tupla.py
marioarl/python
0bd677cdbec87e9603866c09cb8009fef295b89b
[ "MIT" ]
null
null
null
Mundo 3/desafios/desafio074 - Maior e menor valores em Tupla.py
marioarl/python
0bd677cdbec87e9603866c09cb8009fef295b89b
[ "MIT" ]
null
null
null
#Crie um programa que vai gerar cinco numeros aleatorios e colocar em uma TUPLA. #Depois disso, mostre a listagem de numeros gerados e tambem indique o menor valor e o maior valor que #estao na TUPLA #minha resposta from random import randint numeros = (randint(1, 10), randint(1, 10), randint(1, 10), randint(1, 10), r...
36.416667
102
0.697941
144
874
4.236111
0.375
0.131148
0.163934
0.222951
0.688525
0.688525
0.688525
0.688525
0.688525
0.688525
0
0.04065
0.155606
874
23
103
38
0.785908
0.612128
0
0
0
0
0.346626
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.571429
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
5339fbfba5119e10ae7288f1cd0f1bf65a77b2dd
2,198
py
Python
acme/agents/jax/ppo/config.py
contropist/deepmind-acme
237d9c91531f184104a3f146d289ce8e0d41c807
[ "Apache-2.0" ]
null
null
null
acme/agents/jax/ppo/config.py
contropist/deepmind-acme
237d9c91531f184104a3f146d289ce8e0d41c807
[ "Apache-2.0" ]
null
null
null
acme/agents/jax/ppo/config.py
contropist/deepmind-acme
237d9c91531f184104a3f146d289ce8e0d41c807
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 DeepMind Technologies Limited. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
32.323529
77
0.744313
318
2,198
5
0.518868
0.037736
0.028302
0.020126
0
0
0
0
0
0
0
0.01963
0.188808
2,198
67
78
32.80597
0.872126
0.646042
0
0
0
0
0
0
0
0
0
0.044776
0
1
0
true
0
0.181818
0
0.954545
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
0
1
0
0
0
1
0
0
3
5355211e4fc59771e848f0a94130b15f9b6c6f5f
68
py
Python
docker-demo/image/files/etc/jupyter/jupyter_config.py
jupyterhub/jupyterhub-on-hadoop
b4e4171732016e9c27bbb52a854a460c2bf54d7a
[ "BSD-3-Clause" ]
8
2019-07-17T16:50:57.000Z
2021-06-30T15:24:22.000Z
docker-demo/image/files/etc/jupyter/jupyter_config.py
jcrist/jupyterhub-on-hadoop
b4e4171732016e9c27bbb52a854a460c2bf54d7a
[ "BSD-3-Clause" ]
8
2019-04-17T00:32:59.000Z
2019-05-07T19:33:14.000Z
docker-demo/image/files/etc/jupyter/jupyter_config.py
jcrist/jupyterhub-on-hadoop
b4e4171732016e9c27bbb52a854a460c2bf54d7a
[ "BSD-3-Clause" ]
2
2019-04-26T23:29:44.000Z
2019-04-28T18:05:58.000Z
c.NotebookApp.contents_manager_class = "hdfscm.HDFSContentsManager"
34
67
0.867647
7
68
8.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.044118
68
1
68
68
0.876923
0
0
0
0
0
0.382353
0.382353
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
53573b974762fb9eebf7987944a41d57ef08c606
154
py
Python
functions/summation.py
MateusLinharesDeAelencarLima/Calculator
44e836aa92fd76d21b4c5f0edfcb5419886f1df6
[ "CC0-1.0" ]
null
null
null
functions/summation.py
MateusLinharesDeAelencarLima/Calculator
44e836aa92fd76d21b4c5f0edfcb5419886f1df6
[ "CC0-1.0" ]
1
2021-09-10T21:13:16.000Z
2021-09-23T16:13:08.000Z
functions/summation.py
MateusLinharesDeAelencarLima/Calculator
44e836aa92fd76d21b4c5f0edfcb5419886f1df6
[ "CC0-1.0" ]
null
null
null
def summation(additive1, additive2): total = additive1 + additive2 if (total % 1) == 0: return int(total) else: return total
19.25
36
0.590909
17
154
5.352941
0.647059
0.395604
0
0
0
0
0
0
0
0
0
0.056604
0.311688
154
7
37
22
0.801887
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
535fd4f662a35d3ad9ed8434908302b11f50588f
8,425
py
Python
main/user/migrations/0001_initial.py
MahanBi/Back-End
5074ac1d341ad2addd1750e4aea2e6800be2bfef
[ "MIT" ]
null
null
null
main/user/migrations/0001_initial.py
MahanBi/Back-End
5074ac1d341ad2addd1750e4aea2e6800be2bfef
[ "MIT" ]
null
null
null
main/user/migrations/0001_initial.py
MahanBi/Back-End
5074ac1d341ad2addd1750e4aea2e6800be2bfef
[ "MIT" ]
1
2021-12-06T21:36:28.000Z
2021-12-06T21:36:28.000Z
# Generated by Django 4.0 on 2021-12-31 13:57 from django.db import migrations, models import django.db.models.deletion import user.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', fi...
99.117647
304
0.551929
820
8,425
5.415854
0.135366
0.081738
0.105382
0.146363
0.699167
0.673947
0.673947
0.673947
0.657284
0.657284
0
0.0055
0.179941
8,425
84
305
100.297619
0.637285
0.005104
0
0.38961
1
0
0.306563
0
0
0
0
0
0
1
0
false
0.012987
0.038961
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5368b3f99e36c20e9abc77f3afd3e1f62edc7e16
35,947
py
Python
tensorflow_federated/python/core/backends/mapreduce/canonical_form_utils_test.py
iahsanujunda/federated
109a5653a305dc9d4bcbafc259257add4dc70365
[ "Apache-2.0" ]
1
2020-08-27T14:16:06.000Z
2020-08-27T14:16:06.000Z
tensorflow_federated/python/core/backends/mapreduce/canonical_form_utils_test.py
iahsanujunda/federated
109a5653a305dc9d4bcbafc259257add4dc70365
[ "Apache-2.0" ]
null
null
null
tensorflow_federated/python/core/backends/mapreduce/canonical_form_utils_test.py
iahsanujunda/federated
109a5653a305dc9d4bcbafc259257add4dc70365
[ "Apache-2.0" ]
null
null
null
# Copyright 2019, The TensorFlow Federated Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
41.75029
124
0.742148
4,392
35,947
5.723133
0.089709
0.053469
0.039306
0.037635
0.784532
0.756166
0.723982
0.690046
0.662516
0.640277
0
0.015602
0.167302
35,947
860
125
41.798837
0.824141
0.147022
0
0.589701
0
0
0.052316
0.027952
0
0
0
0
0.074751
1
0.101329
false
0
0.034884
0.008306
0.227575
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7254dbfd5614ba5a2231a29456da38af18a89368
1,904
py
Python
tools/nrfsnifferforbluetoothle300129d2b3/extcap/SnifferAPI/Exceptions.py
wangwanqiang/nrf52840_document
fc58579d9c8109e1186e07ba5ac935e2d931244b
[ "Apache-2.0" ]
null
null
null
tools/nrfsnifferforbluetoothle300129d2b3/extcap/SnifferAPI/Exceptions.py
wangwanqiang/nrf52840_document
fc58579d9c8109e1186e07ba5ac935e2d931244b
[ "Apache-2.0" ]
null
null
null
tools/nrfsnifferforbluetoothle300129d2b3/extcap/SnifferAPI/Exceptions.py
wangwanqiang/nrf52840_document
fc58579d9c8109e1186e07ba5ac935e2d931244b
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2017, Nordic Semiconductor ASA # # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, this ...
37.333333
71
0.755252
250
1,904
5.752
0.54
0.036161
0.045897
0.031989
0.127955
0.094576
0.094576
0.094576
0.094576
0.094576
0
0.004572
0.195903
1,904
50
72
38.08
0.934683
0.832458
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
72779e491713d7a45d6a6f01eded1496e1b174e2
161
py
Python
tests/conftest.py
wellcomecollection/bag-browser
51746b7db478beb74879b9efc56502f0a6c82d5e
[ "MIT" ]
null
null
null
tests/conftest.py
wellcomecollection/bag-browser
51746b7db478beb74879b9efc56502f0a6c82d5e
[ "MIT" ]
2
2020-02-02T20:24:26.000Z
2020-03-04T17:28:57.000Z
tests/conftest.py
wellcomecollection/bag-browser
51746b7db478beb74879b9efc56502f0a6c82d5e
[ "MIT" ]
null
null
null
import pytest from src.database import SqliteDatabase @pytest.fixture def db(tmpdir): db_path = tmpdir / "bags.db" yield SqliteDatabase(path=db_path)
16.1
39
0.745342
22
161
5.363636
0.590909
0.101695
0
0
0
0
0
0
0
0
0
0
0.167702
161
9
40
17.888889
0.880597
0
0
0
0
0
0.043478
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7288ce70a8af5f7e981dabd7b849125ec0e7d460
204
py
Python
office/urls.py
bobjiangps/factory
415cead0983a6701750352ec20124897d588f2d8
[ "MIT" ]
null
null
null
office/urls.py
bobjiangps/factory
415cead0983a6701750352ec20124897d588f2d8
[ "MIT" ]
null
null
null
office/urls.py
bobjiangps/factory
415cead0983a6701750352ec20124897d588f2d8
[ "MIT" ]
null
null
null
from django.urls import re_path from . import views urlpatterns = [ re_path(r'^test/$', views.test_celery, name="test_celery"), re_path(r'^test2/$', views.test_celery_2, name="test_celery_2") ]
22.666667
67
0.705882
32
204
4.21875
0.4375
0.296296
0.103704
0
0
0
0
0
0
0
0
0.017045
0.137255
204
8
68
25.5
0.75
0
0
0
0
0
0.191176
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
728f90cf189353fa236deefa6edd31f3c859d60b
373
py
Python
webapp/blueprints/trends/trends.py
rosalindfranklininstitute/Chamelogator
fa7d14e751676d4e4c633286ba7bb9f10f27473c
[ "Apache-2.0" ]
1
2021-06-28T14:58:20.000Z
2021-06-28T14:58:20.000Z
webapp/blueprints/trends/trends.py
rosalindfranklininstitute/Chamelogator
fa7d14e751676d4e4c633286ba7bb9f10f27473c
[ "Apache-2.0" ]
8
2021-09-15T10:54:40.000Z
2021-09-15T11:02:19.000Z
webapp/blueprints/trends/trends.py
rosalindfranklininstitute/Chamelogator
fa7d14e751676d4e4c633286ba7bb9f10f27473c
[ "Apache-2.0" ]
1
2021-09-08T11:09:04.000Z
2021-09-08T11:09:04.000Z
import pandas as pd from flask import Blueprint from flask import current_app as app from flask import render_template, url_for from . import blueprint # Set up blueprint route @blueprint.route('/trends', methods=['GET', 'POST']) def show_trends(): app.logger.info('-> trends') # Render the trends template ...
21.941176
52
0.737265
53
373
5.09434
0.528302
0.1
0.166667
0
0
0
0
0
0
0
0
0.003185
0.158177
373
16
53
23.3125
0.856688
0.131367
0
0
0
0
0.140187
0.068536
0
0
0
0
0
1
0.111111
true
0
0.555556
0
0.777778
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
72987634a61287ee3533b73b11ae9450feb4b282
485
py
Python
autoclass/tests/features/_test_autoclass_pickle.py
erocarrera/python-autoclass
c798f931f20ea63a8c8e939637b441c390681eb1
[ "BSD-3-Clause" ]
33
2017-08-19T19:54:54.000Z
2022-03-04T10:24:03.000Z
autoclass/tests/features/_test_autoclass_pickle.py
erocarrera/python-autoclass
c798f931f20ea63a8c8e939637b441c390681eb1
[ "BSD-3-Clause" ]
42
2017-08-07T13:46:39.000Z
2021-09-16T13:56:25.000Z
autoclass/tests/features/_test_autoclass_pickle.py
smarie/python-classtools-autocode
1f21d646193bb374ced052eb451378ca78ddf8c2
[ "BSD-3-Clause" ]
2
2020-03-18T21:01:38.000Z
2021-04-19T22:14:26.000Z
# Authors: Sylvain Marie <sylvain.marie@se.com> # # Copyright (c) Schneider Electric Industries, 2019. All right reserved. from autoclass import autoclass @autoclass class Foo(object): def __init__(self, foo1, foo2=0): pass @autoclass class Bar(Foo): def __init__(self, bar, foo1, foo2=0): ...
24.25
110
0.690722
66
485
4.893939
0.651515
0.074303
0.068111
0
0
0
0
0
0
0
0
0.031579
0.216495
485
19
111
25.526316
0.818421
0.459794
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.111111
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
7299872f592da140820841ca59073e97b27e543e
563
py
Python
eventsourcing/contrib/suffixtrees/infrastructure/event_sourced_repos/suffixtree_repo.py
HanhThong/eventsourcing
99c560cca7c6e9d59855bcd82c371794e1a8bfb9
[ "BSD-3-Clause" ]
1
2020-07-31T10:15:33.000Z
2020-07-31T10:15:33.000Z
eventsourcing/contrib/suffixtrees/infrastructure/event_sourced_repos/suffixtree_repo.py
HanhThong/eventsourcing
99c560cca7c6e9d59855bcd82c371794e1a8bfb9
[ "BSD-3-Clause" ]
null
null
null
eventsourcing/contrib/suffixtrees/infrastructure/event_sourced_repos/suffixtree_repo.py
HanhThong/eventsourcing
99c560cca7c6e9d59855bcd82c371794e1a8bfb9
[ "BSD-3-Clause" ]
null
null
null
# from eventsourcing.contrib.suffixtrees.domain.model.suffixtree import ( # Edge, # EdgeRepository, # Node, # NodeRepository, # SuffixTree, # SuffixTreeRepository, # ) # from eventsourcing.infrastructure.eventsourcedrepository import EventSourcedRepository # # # class SuffixTreeRepo(EventSourced...
25.590909
88
0.749556
41
563
10.219512
0.463415
0.078759
0
0
0
0
0
0
0
0
0
0
0.159858
563
21
89
26.809524
0.885835
0.923623
0
null
0
null
0
0
null
0
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
0
0
0
0
0
0
1
0
0
0
0
0
0
3
72a6ac727200a4c9a36342751bed6d73aef66c51
1,410
py
Python
src/Python/qsharp-core/qsharp/packages.py
vxfield/iqsharp
249490833c5d4c0728c911eab796b7b22394ffd6
[ "MIT" ]
115
2019-07-11T16:41:24.000Z
2022-02-06T13:30:32.000Z
src/Python/qsharp-core/qsharp/packages.py
vxfield/iqsharp
249490833c5d4c0728c911eab796b7b22394ffd6
[ "MIT" ]
346
2019-07-11T17:26:31.000Z
2022-03-30T06:52:51.000Z
src/Python/qsharp-core/qsharp/packages.py
vxfield/iqsharp
249490833c5d4c0728c911eab796b7b22394ffd6
[ "MIT" ]
50
2019-07-23T16:03:02.000Z
2022-03-29T21:01:14.000Z
#!/bin/env python # -*- coding: utf-8 -*- ## # packages.py: Abstraction to represent the list of packages. ## # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. ## from distutils.version import LooseVersion from typing import Iterable, Tuple ## LOGGING ## import logging log...
28.77551
80
0.655319
180
1,410
4.966667
0.5
0.044743
0.020134
0.038031
0.082774
0.082774
0.082774
0.082774
0
0
0
0.001855
0.235461
1,410
48
81
29.375
0.827458
0.36383
0
0
0
0
0.063492
0
0
0
0
0
0
1
0.263158
false
0
0.157895
0.105263
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
72b2b819de2f187d5b3cbb18f0d28e6b7ab11c0a
446
py
Python
troupon/troupon/settings/__init__.py
andela/troupon
3704cbe6e69ba3e4c53401d3bbc339208e9ebccd
[ "MIT" ]
14
2016-01-12T07:31:09.000Z
2021-11-20T19:29:35.000Z
troupon/troupon/settings/__init__.py
andela/troupon
3704cbe6e69ba3e4c53401d3bbc339208e9ebccd
[ "MIT" ]
52
2015-09-02T14:54:43.000Z
2016-08-01T08:22:21.000Z
troupon/troupon/settings/__init__.py
andela/troupon
3704cbe6e69ba3e4c53401d3bbc339208e9ebccd
[ "MIT" ]
17
2015-09-30T13:18:48.000Z
2021-11-18T16:25:12.000Z
""" Settings package initialization. """ import os # Ensure development settings are not used in testing and production: if not os.getenv('CI') and not os.getenv('HEROKU'): # load and set environment variables from '.env.yml' or '.env.py' files with django_envie from django_envie.workroom import convertfileto...
26.235294
93
0.733184
60
446
5.416667
0.583333
0.073846
0.067692
0
0
0
0
0
0
0
0
0
0.17713
446
16
94
27.875
0.885559
0.423767
0
0
0
0
0.056452
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
72b87556e782a6d8ac3dc766f61bf038fc6bbf79
97
py
Python
Codeforces Problems/FashionabLee/FashionabLee.py
Social-CodePlat/Comptt-Coding-Solutions
240732e6c1a69e1124064bff4a27a5785a14b021
[ "MIT" ]
null
null
null
Codeforces Problems/FashionabLee/FashionabLee.py
Social-CodePlat/Comptt-Coding-Solutions
240732e6c1a69e1124064bff4a27a5785a14b021
[ "MIT" ]
1
2020-10-13T20:57:34.000Z
2020-10-13T20:57:34.000Z
Codeforces Problems/FashionabLee/FashionabLee.py
Social-CodePlat/Comptt-Coding-Solutions
240732e6c1a69e1124064bff4a27a5785a14b021
[ "MIT" ]
null
null
null
t=int(input()) for i in range(t): n=int(input()) if n%4==0: print("YES") else: print("NO")
13.857143
18
0.556701
20
97
2.7
0.75
0.296296
0
0
0
0
0
0
0
0
0
0.025
0.175258
97
7
19
13.857143
0.65
0
0
0
0
0
0.05102
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f4050b2032efa18c0b6736e3657cfed2f9187fa1
3,386
py
Python
authorship_unmasking/features/interfaces.py
torond/unmasking
247f3510a43ca9cafca54a72eab885521c259232
[ "Apache-2.0" ]
5
2020-03-02T10:39:07.000Z
2021-08-31T21:06:37.000Z
authorship_unmasking/features/interfaces.py
torond/unmasking
247f3510a43ca9cafca54a72eab885521c259232
[ "Apache-2.0" ]
2
2019-06-27T10:56:11.000Z
2021-05-22T12:51:07.000Z
authorship_unmasking/features/interfaces.py
torond/unmasking
247f3510a43ca9cafca54a72eab885521c259232
[ "Apache-2.0" ]
3
2021-04-03T12:01:16.000Z
2021-10-01T16:15:02.000Z
# Copyright (C) 2017-2019 Janek Bevendorff, Webis Group # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
34.20202
101
0.684288
432
3,386
5.314815
0.361111
0.026132
0.020906
0.013937
0.336237
0.336237
0.301394
0.301394
0.301394
0.301394
0
0.006233
0.241878
3,386
98
102
34.55102
0.888196
0.568517
0
0.387097
0
0
0
0
0
0
0
0
0
1
0.258065
false
0.096774
0.16129
0
0.548387
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
f411e5ddcb9523601c5e478cd7dbc4cdea1485ca
3,239
py
Python
tests/test_timestamps.py
alvin-c/fbmessenger-visualizer
f89988720b2af79832a60824dce969f20b0ebb59
[ "MIT" ]
null
null
null
tests/test_timestamps.py
alvin-c/fbmessenger-visualizer
f89988720b2af79832a60824dce969f20b0ebb59
[ "MIT" ]
null
null
null
tests/test_timestamps.py
alvin-c/fbmessenger-visualizer
f89988720b2af79832a60824dce969f20b0ebb59
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from datetime import datetime import unittest import pytz from fbchat_archive_parser.time import (parse_timestamp, UnexpectedTimeFormatError, AmbiguousTimeZoneError) class...
34.094737
87
0.683853
436
3,239
4.805046
0.233945
0.206205
0.13747
0.162291
0.491169
0.478759
0.442005
0.442005
0.408592
0.408592
0
0.074074
0.233097
3,239
94
88
34.457447
0.769324
0.006483
0
0.25
0
0
0.191853
0
0
0
0
0
0.044118
1
0.279412
false
0
0.073529
0
0.367647
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
f4151c7b08455a03c6b89105dfb0c81e076d1493
6,201
py
Python
src/tests/control/test_views.py
MaxRink/pretix
f561ece9d1591673a495a6226db812e809ab3aec
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/tests/control/test_views.py
MaxRink/pretix
f561ece9d1591673a495a6226db812e809ab3aec
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/tests/control/test_views.py
MaxRink/pretix
f561ece9d1591673a495a6226db812e809ab3aec
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
import datetime import pytest from django.utils.timezone import now from pretix.base.models import ( Event, Item, ItemCategory, Order, OrderPosition, Organizer, Question, Quota, Team, User, Voucher, ) @pytest.fixture def event(): orga = Organizer.objects.create(name='CCC', slug='ccc') return Event.o...
40.796053
112
0.652475
753
6,201
5.302789
0.188579
0.14275
0.204358
0.268219
0.467819
0.442024
0.248435
0.048835
0
0
0
0.03849
0.136913
6,201
151
113
41.066225
0.707586
0.013224
0
0.063492
0
0
0.441229
0.411476
0
0
0
0
0.007937
1
0.071429
false
0
0.031746
0.039683
0.166667
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f4366db1f5e682d1eb14455b6a967fd91f981813
354
py
Python
Utils/generalUtils.py
IsVeneti/greek-gov-nlp
23701314007cef377f1d5d8c4679a64df8e90bc0
[ "Apache-2.0" ]
null
null
null
Utils/generalUtils.py
IsVeneti/greek-gov-nlp
23701314007cef377f1d5d8c4679a64df8e90bc0
[ "Apache-2.0" ]
null
null
null
Utils/generalUtils.py
IsVeneti/greek-gov-nlp
23701314007cef377f1d5d8c4679a64df8e90bc0
[ "Apache-2.0" ]
null
null
null
import codecs def string_to_list(string: str, delim: str): converted_list = list(string.split(delim)) return converted_list def list_for_path(): # FIXME: list_for_path print("FIXME") def save_to_txt(text: str, filename: str): with codecs.open(filename + ".txt", "w", encoding='utf8') as text_fi...
20.823529
75
0.686441
52
354
4.442308
0.519231
0.08658
0.095238
0
0
0
0
0
0
0
0
0.003472
0.186441
354
16
76
22.125
0.798611
0.056497
0
0
0
0
0.042169
0
0
0
0
0.0625
0
1
0.333333
false
0
0.111111
0
0.555556
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
f439bf79f993a28d50127b11099c5639de2e6725
169
py
Python
model_compiler/src/model_compiler/models/__init__.py
yuanliya/Adlik
602074b44064002fc0bb054e17a989a5bcf22e92
[ "Apache-2.0" ]
548
2019-09-27T07:37:47.000Z
2022-03-31T05:12:38.000Z
model_compiler/src/model_compiler/models/__init__.py
yuanliya/Adlik
602074b44064002fc0bb054e17a989a5bcf22e92
[ "Apache-2.0" ]
533
2019-09-27T06:30:41.000Z
2022-03-29T07:34:08.000Z
model_compiler/src/model_compiler/models/__init__.py
yuanliya/Adlik
602074b44064002fc0bb054e17a989a5bcf22e92
[ "Apache-2.0" ]
54
2019-10-10T02:19:31.000Z
2021-12-28T03:37:45.000Z
# Copyright 2019 ZTE corporation. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 from . import sources, targets __all__ = [ 'sources', 'targets' ]
16.9
54
0.698225
20
169
5.7
0.85
0.245614
0
0
0
0
0
0
0
0
0
0.043796
0.189349
169
9
55
18.777778
0.788321
0.52071
0
0
0
0
0.179487
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f44abb7e7628abf7ebf9795df8b9ac964e46fe63
328
py
Python
ferris/tests/lib.py
palladius/gae-ferris-ricc
e6d9d8d4aadeae10eb258b94b6fe5912c8630b36
[ "MIT" ]
2
2015-03-04T07:05:57.000Z
2015-03-04T07:06:00.000Z
ferris/tests/lib.py
palladius/gae-ferris-ricc
e6d9d8d4aadeae10eb258b94b6fe5912c8630b36
[ "MIT" ]
null
null
null
ferris/tests/lib.py
palladius/gae-ferris-ricc
e6d9d8d4aadeae10eb258b94b6fe5912c8630b36
[ "MIT" ]
null
null
null
from ferrisnose import AppEngineTest, FerrisAppTest, AppEngineWebTest import logging logging.warning("Ferris test lib is deprecated. Please use the new utilties provided by FerrisNose") class WithTestBed(AppEngineTest): pass class AppTestCase(FerrisAppTest): pass class FerrisTestCase(AppEngineWebTest): ...
19.294118
100
0.79878
35
328
7.485714
0.714286
0.068702
0
0
0
0
0
0
0
0
0
0
0.14939
328
16
101
20.5
0.939068
0
0
0.333333
0
0
0.246951
0
0
0
0
0
0
1
0
true
0.333333
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
f456f364cc50d0376fa23c26aeac8d40cc51393c
11,577
py
Python
stubs.min/System/Windows/Media/__init___parts/DrawingGroup.py
ricardyn/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2021-02-02T13:39:16.000Z
2021-02-02T13:39:16.000Z
stubs.min/System/Windows/Media/__init___parts/DrawingGroup.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/System/Windows/Media/__init___parts/DrawingGroup.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class DrawingGroup(Drawing,ISealable,IAnimatable,IResource,IDrawingContent): """ Represents a collection of drawings that can be operated upon as a single drawing. DrawingGroup() """ def Append(self): """ Append(self: DrawingGroup) -> DrawingContext Opens the System.Windows.Media.DrawingG...
39.511945
263
0.732141
1,377
11,577
6.121278
0.197531
0.087911
0.0662
0.074742
0.489263
0.434808
0.373117
0.312611
0.29446
0.261004
0
0.002989
0.190809
11,577
292
264
39.64726
0.896776
0.626414
0
0.345455
0
0
0
0
0
0
0
0
0
1
0.345455
false
0.345455
0
0
0.654545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
f46049a0bc4471107065b8e1aaa515299d5bff69
238
py
Python
src/ethereum/homestead/vm/precompiled_contracts/__init__.py
muddlebee/execution-specs
f8f051a95ae2b0ff1dc0fd7b69b5aa6a9bbfea9e
[ "CC0-1.0" ]
152
2020-08-12T15:22:13.000Z
2021-08-17T17:13:57.000Z
src/ethereum/frontier/vm/precompiled_contracts/__init__.py
KenMan79/execution-specs
ac8e65a422032a8ebb4077068627bbfb2fce6eda
[ "CC0-1.0" ]
264
2021-08-18T14:15:26.000Z
2022-03-31T12:24:23.000Z
src/ethereum/frontier/vm/precompiled_contracts/__init__.py
KenMan79/execution-specs
ac8e65a422032a8ebb4077068627bbfb2fce6eda
[ "CC0-1.0" ]
72
2020-09-09T19:44:12.000Z
2021-08-14T23:02:11.000Z
""" Precompiled Contract Addresses ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. contents:: Table of Contents :backlinks: none :local: Introduction ------------ Addresses of precompiled contracts and mappings to their implementations. """
15.866667
56
0.609244
20
238
7.25
0.8
0
0
0
0
0
0
0
0
0
0
0
0.151261
238
14
57
17
0.717822
0.962185
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
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f48cd79dc72b2d35ffc59950779a3e72e258c081
498
py
Python
core/serializers.py
zeestack/storefront3
3ba87aae61a4877f4e51bc80442fe5954bbda76d
[ "MIT" ]
null
null
null
core/serializers.py
zeestack/storefront3
3ba87aae61a4877f4e51bc80442fe5954bbda76d
[ "MIT" ]
null
null
null
core/serializers.py
zeestack/storefront3
3ba87aae61a4877f4e51bc80442fe5954bbda76d
[ "MIT" ]
null
null
null
from djoser.serializers import UserCreateSerializer as BaseUserCreateSerializer from djoser.serializers import UserSerializer from store import serializers class UserCreateSerializer(BaseUserCreateSerializer): class Meta(BaseUserCreateSerializer.Meta): fields = ["id", "username", "password", "email", "fir...
35.571429
83
0.763052
47
498
8
0.425532
0.053191
0.111702
0.143617
0.117021
0
0
0
0
0
0
0
0.130522
498
13
84
38.307692
0.86836
0
0
0
0
0
0.15261
0
0
0
0
0
0
1
0
false
0.111111
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
be2dc7f986f3079227f83a26ae0a13da01a311a9
318
py
Python
cognition_testing/student_projects/2020_pettersen/models/CRT_false.py
monthie/cogmods
62af4b8bf2effb77f26a8877d6a89949164d83f0
[ "MIT" ]
null
null
null
cognition_testing/student_projects/2020_pettersen/models/CRT_false.py
monthie/cogmods
62af4b8bf2effb77f26a8877d6a89949164d83f0
[ "MIT" ]
11
2020-05-04T09:05:29.000Z
2021-04-08T13:22:34.000Z
cognition_testing/student_projects/2020_pettersen/models/CRT_false.py
monthie/cogmods
62af4b8bf2effb77f26a8877d6a89949164d83f0
[ "MIT" ]
12
2020-05-02T09:36:14.000Z
2021-06-22T08:10:45.000Z
import numpy as np import ccobra class CRT_false(ccobra.CCobraModel): def __init__(self, name='AlwaysFalse'): super(CRT_false, self).__init__(name, ["crt"], ["single-choice"]) def predict(self, item, **kwargs): # item.choices[0] = false, item.choices[1] = true return item.choices[0]
28.909091
73
0.654088
42
318
4.714286
0.595238
0.166667
0.121212
0
0
0
0
0
0
0
0
0.011719
0.194969
318
10
74
31.8
0.761719
0.147799
0
0
0
0
0.100372
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
be44b28a67864fad99ca4a64c4ee91fe67154914
480
py
Python
tests/helpers/test_lists.py
bataclanofficial/botaclan
93f8ccab4f29c50a395a588b7779431eab8625e8
[ "Apache-2.0" ]
null
null
null
tests/helpers/test_lists.py
bataclanofficial/botaclan
93f8ccab4f29c50a395a588b7779431eab8625e8
[ "Apache-2.0" ]
null
null
null
tests/helpers/test_lists.py
bataclanofficial/botaclan
93f8ccab4f29c50a395a588b7779431eab8625e8
[ "Apache-2.0" ]
null
null
null
import botaclan.helpers.lists def test_get_first_item_empty_list(): sent = [] expected = None assert botaclan.helpers.lists.get_first_item(sent) == expected def test_get_first_item_empty_one_item(): sent = [1] expected = 1 assert botaclan.helpers.lists.get_first_item(sent) == expected de...
20.869565
66
0.697917
68
480
4.588235
0.338235
0.153846
0.230769
0.144231
0.711538
0.711538
0.634615
0.634615
0.634615
0.474359
0
0.005076
0.179167
480
22
67
21.818182
0.786802
0
0
0.230769
0
0
0.010417
0
0
0
0
0
0.230769
1
0.230769
false
0
0.076923
0
0.307692
0
0
0
0
null
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
be5b91a49e1c61675cfc7d828a9e68af9ee76a36
2,529
py
Python
hypergraph/cgp_int_op.py
sflinter/hypergraph
c3108ee51361d2e4b8ddc7eced1953f1548ce8d8
[ "Apache-2.0" ]
1
2020-12-17T11:17:56.000Z
2020-12-17T11:17:56.000Z
hypergraph/cgp_int_op.py
sflinter/hypergraph
c3108ee51361d2e4b8ddc7eced1953f1548ce8d8
[ "Apache-2.0" ]
null
null
null
hypergraph/cgp_int_op.py
sflinter/hypergraph
c3108ee51361d2e4b8ddc7eced1953f1548ce8d8
[ "Apache-2.0" ]
null
null
null
from .cgp import Operators, FuncMark import numpy as np import math class IntOperators(Operators): SERIALIZER_TYPE = 'hg.cgp.int_ops.op' def __init__(self, k=64): self.k = int(k) super().__init__(input_count=2) self._install_op_serializers(self.SERIALIZER_TYPE) @property def ...
19.159091
58
0.51206
352
2,529
3.5625
0.1875
0.044657
0.045455
0.344498
0.602073
0.511962
0.397129
0.299841
0.270335
0.209729
0
0.025846
0.357454
2,529
131
59
19.305344
0.745846
0.054567
0
0.474747
0
0
0.035669
0
0
0
0
0
0
1
0.20202
false
0
0.030303
0.111111
0.515152
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
0
0
0
3
be8e2f3cb2f91ae1755405c30af214f7fee84495
3,643
py
Python
venv/lib/python3.7/site-packages/oauthlib/openid/connect/core/grant_types/dispatchers.py
nicholasadamou/StockBird
257396479667863d4ee122ea46adb86087c9aa78
[ "Apache-2.0" ]
32
2019-11-14T07:49:33.000Z
2022-02-16T00:49:22.000Z
venv/lib/python3.7/site-packages/oauthlib/openid/connect/core/grant_types/dispatchers.py
nicholasadamou/StockBird
257396479667863d4ee122ea46adb86087c9aa78
[ "Apache-2.0" ]
48
2020-10-15T09:53:36.000Z
2021-07-05T15:33:24.000Z
venv/lib/python3.7/site-packages/oauthlib/openid/connect/core/grant_types/dispatchers.py
nicholasadamou/StockBird
257396479667863d4ee122ea46adb86087c9aa78
[ "Apache-2.0" ]
18
2019-08-19T12:11:00.000Z
2021-10-12T09:36:27.000Z
import logging log = logging.getLogger(__name__) class Dispatcher(object): default_grant = None oidc_grant = None class AuthorizationCodeGrantDispatcher(Dispatcher): """ This is an adapter class that will route simple Authorization Code requests, those that have response_type=code and a scope in...
39.597826
127
0.726324
453
3,643
5.576159
0.16777
0.08076
0.07403
0.041568
0.7308
0.707443
0.695962
0.695962
0.695962
0.695962
0
0
0.204227
3,643
91
128
40.032967
0.871335
0.213011
0
0.574074
0
0
0.053419
0
0
0
0
0
0
1
0.203704
false
0
0.018519
0.074074
0.481481
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
beaadc6366ac12485217b224880b39c3f0ae4794
172
py
Python
dpaste/urls/dpaste_api.py
sixfeetup/dpaste
99a3fcd3614dae207fffaec090487a57e46236f8
[ "MIT" ]
1
2016-08-07T16:11:58.000Z
2016-08-07T16:11:58.000Z
dpaste/urls/dpaste_api.py
sandeepraju/dpaste
66203c18fe9ed6b2e1e4257a3c31757c017aed3c
[ "MIT" ]
null
null
null
dpaste/urls/dpaste_api.py
sandeepraju/dpaste
66203c18fe9ed6b2e1e4257a3c31757c017aed3c
[ "MIT" ]
null
null
null
from django.conf.urls import url, patterns from ..views import snippet_api urlpatterns = patterns('', url(r'^api/$', snippet_api, name='dpaste_api_create_snippet'), )
24.571429
66
0.738372
24
172
5.083333
0.625
0.163934
0
0
0
0
0
0
0
0
0
0
0.122093
172
6
67
28.666667
0.807947
0
0
0
0
0
0.180233
0.145349
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
fe32d1a2b5fb8845b46c66ba63c414000f57a4d3
292
py
Python
tabs/tab.py
Matoking/SHOWtime
20ca53479474f2724fd9bc17483f286ef2c9e87b
[ "Unlicense" ]
19
2015-01-02T13:32:51.000Z
2019-05-27T22:57:57.000Z
tabs/tab.py
Matoking/SHOWtime
20ca53479474f2724fd9bc17483f286ef2c9e87b
[ "Unlicense" ]
1
2017-11-22T08:39:54.000Z
2017-11-22T08:39:54.000Z
tabs/tab.py
Matoking/SHOWtime
20ca53479474f2724fd9bc17483f286ef2c9e87b
[ "Unlicense" ]
7
2015-02-08T18:16:08.000Z
2020-07-07T02:45:30.000Z
class Tab: def __init__(self, config={}): """ Do something with the provided settings here """ self.title = "DEFAULT TITLE" def render_tab(self, ctx): raise NotImplementedError("render_tab not implemented on %s!" % self.__class__.__name__)
32.444444
96
0.616438
33
292
5.030303
0.727273
0.108434
0
0
0
0
0
0
0
0
0
0
0.277397
292
9
96
32.444444
0.78673
0.150685
0
0
0
0
0.204444
0
0
0
0
0
0
1
0.4
false
0
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
fe3754633ab5c2b08a76d31a7b6c364fed6eb4a6
904
py
Python
tests/test_active_models.py
lschlessinger1/boms-python
5ad6035a91c1eb3d33556ddfee25b99ba18ee431
[ "MIT" ]
2
2020-04-21T09:58:49.000Z
2021-06-17T14:04:31.000Z
tests/test_active_models.py
lschlessinger1/boms-python
5ad6035a91c1eb3d33556ddfee25b99ba18ee431
[ "MIT" ]
1
2021-07-05T18:27:13.000Z
2021-07-05T18:27:13.000Z
tests/test_active_models.py
lschlessinger1/boms-python
5ad6035a91c1eb3d33556ddfee25b99ba18ee431
[ "MIT" ]
null
null
null
from unittest import TestCase class ActiveModelsTest(TestCase): def __init__(self, candidates, expected_candidate, expected_status): super().__init__() self.candidates = candidates self.expected_candidate = expected_candidate self.expected_status = expected_status @classmetho...
24.432432
72
0.675885
100
904
5.75
0.39
0.166957
0.114783
0.208696
0.215652
0.215652
0
0
0
0
0
0
0.24115
904
36
73
25.111111
0.838192
0
0
0.28
0
0
0.035398
0
0
0
0
0
0
1
0.36
false
0.28
0.04
0
0.44
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
0
0
0
3
fe377aa7e4a94a4a1c26279dafa3699fc229012e
980
py
Python
lesync/trafaret.py
imbolc/lesync
7f12cafe8c290e4d1b90a57bd20fe18c75b1976b
[ "MIT" ]
1
2018-09-27T22:56:10.000Z
2018-09-27T22:56:10.000Z
lesync/trafaret.py
imbolc/lesync
7f12cafe8c290e4d1b90a57bd20fe18c75b1976b
[ "MIT" ]
null
null
null
lesync/trafaret.py
imbolc/lesync
7f12cafe8c290e4d1b90a57bd20fe18c75b1976b
[ "MIT" ]
null
null
null
from functools import wraps from trafaret import DataError from trafaret.constructor import construct def validate_json(validator): validate = construct(validator) def decorator(f): @wraps(f) async def wrapper(request, *args, **kwargs): try: request.json = validat...
27.222222
57
0.578571
103
980
5.466019
0.300971
0.078153
0.120782
0.124334
0.650089
0.650089
0.650089
0.650089
0.650089
0.650089
0
0.00916
0.331633
980
35
58
28
0.850382
0
0
0.714286
0
0
0.012245
0
0
0
0
0
0
1
0.142857
false
0
0.107143
0
0.535714
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
fe4b3f7a056eee86354f19867431a1b36dc24f5a
12,110
py
Python
release/stubs.min/Wms/RemotingObjects/Caching/__init__.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/Wms/RemotingObjects/Caching/__init__.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/Wms/RemotingObjects/Caching/__init__.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
# encoding: utf-8 # module Wms.RemotingObjects.Caching calls itself Caching # from Wms.RemotingObjects,Version=1.23.1.0,Culture=neutral,PublicKeyToken=null # by generator 1.145 # no doc # no important from System.Collections.Generic import * from ..__init__ import * # no functions # classes class CacheObj...
28.764846
215
0.677374
1,460
12,110
5.285616
0.132877
0.085525
0.051315
0.06842
0.603991
0.587534
0.584683
0.577686
0.568485
0.568485
0
0.002115
0.180264
12,110
420
216
28.833333
0.775259
0.36763
0
0.701754
0
0
0
0
0
0
0
0
0
1
0.327485
false
0.274854
0.011696
0
0.701754
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
fe641968776a9c0c5b294a1d1071889e882df0d3
13,892
py
Python
frame/report/style_1.py
maxuechaogao/api_test
a79194cf617a3f7c16ea512d4146bf8d5b94cdcf
[ "MIT" ]
152
2017-11-01T06:19:39.000Z
2022-03-14T08:21:17.000Z
frame/report/style_1.py
maxuechaogao/api_test
a79194cf617a3f7c16ea512d4146bf8d5b94cdcf
[ "MIT" ]
13
2018-11-22T08:14:11.000Z
2021-03-30T03:34:00.000Z
frame/report/style_1.py
maxuechaogao/api_test
a79194cf617a3f7c16ea512d4146bf8d5b94cdcf
[ "MIT" ]
60
2017-11-03T01:33:47.000Z
2021-12-10T03:02:05.000Z
#! /usr/bin/env python # -*- coding: UTF-8 -*- html_head = r""" <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{report_name}</title> <meta http-equiv="...
36.177083
158
0.460193
1,484
13,892
4.165094
0.190027
0.014884
0.017796
0.012619
0.445721
0.40123
0.32697
0.312409
0.268403
0.255299
0
0.012793
0.364166
13,892
383
159
36.27154
0.686969
0.003095
1
0.38806
0
0.062687
0.712284
0.145519
0
0
0
0
0
1
0.002985
false
0.056716
0.002985
0
0.008955
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
fe764279fb304d53df5f05b1c8e3d9d017fed582
2,836
py
Python
rpython/jit/backend/arm/locations.py
kantai/passe-pypy-taint-tracking
b60a3663f8fe89892dc182c8497aab97e2e75d69
[ "MIT" ]
2
2016-07-06T23:30:20.000Z
2017-05-30T15:59:31.000Z
rpython/jit/backend/arm/locations.py
kantai/passe-pypy-taint-tracking
b60a3663f8fe89892dc182c8497aab97e2e75d69
[ "MIT" ]
null
null
null
rpython/jit/backend/arm/locations.py
kantai/passe-pypy-taint-tracking
b60a3663f8fe89892dc182c8497aab97e2e75d69
[ "MIT" ]
2
2020-07-09T08:14:22.000Z
2021-01-15T18:01:25.000Z
from rpython.jit.metainterp.history import INT, FLOAT from rpython.jit.backend.arm.arch import WORD, DOUBLE_WORD class AssemblerLocation(object): _immutable_ = True type = INT def is_imm(self): return False def is_stack(self): return False def is_reg(self): return False ...
19.558621
76
0.605783
357
2,836
4.588235
0.226891
0.152625
0.054945
0.065934
0.423077
0.373016
0.330891
0.330891
0.315629
0.293651
0
0.007117
0.306417
2,836
144
77
19.694444
0.825623
0.050071
0
0.610526
0
0
0.017884
0
0
0
0
0
0
1
0.336842
false
0
0.021053
0.273684
0.852632
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fe914f22eb0bc7cb17fde9bc4d0a1c3e21e4322c
318
py
Python
schedule/models/eventType.py
rankrh/soli
8f19945a175106064591d09a53d07fcbfa26b7da
[ "MIT" ]
null
null
null
schedule/models/eventType.py
rankrh/soli
8f19945a175106064591d09a53d07fcbfa26b7da
[ "MIT" ]
null
null
null
schedule/models/eventType.py
rankrh/soli
8f19945a175106064591d09a53d07fcbfa26b7da
[ "MIT" ]
2
2019-09-07T15:10:14.000Z
2020-09-04T01:51:19.000Z
from django.db import models from django.db.models import CASCADE from schedule.models.calendar import Calendar class EventType(models.Model): class Meta: db_table = "eventtype" app_label = "schedule" name = models.CharField(max_length=32) description = models.CharField(max_length=512)
24.461538
50
0.732704
41
318
5.585366
0.536585
0.087336
0.104803
0.209607
0
0
0
0
0
0
0
0.019305
0.185535
318
12
51
26.5
0.864865
0
0
0
0
0
0.053459
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3