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
a63d599dea6045877e02b25d4ad286249a4128fc
624
py
Python
racket_stringer/settings/development.py
rbennett91/racket_stringer
37cc583003ea924294955a6331bf82d60783c709
[ "PostgreSQL" ]
null
null
null
racket_stringer/settings/development.py
rbennett91/racket_stringer
37cc583003ea924294955a6331bf82d60783c709
[ "PostgreSQL" ]
6
2021-03-31T19:45:30.000Z
2022-02-10T11:58:21.000Z
racket_stringer/settings/development.py
rbennett91/racket_stringer
37cc583003ea924294955a6331bf82d60783c709
[ "PostgreSQL" ]
null
null
null
from .base import * # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = os.environ['SECRET_KEY'] # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = [os.environ['ALLOWED_HOSTS']] # Database # https://docs.djangoproject.com/en/2.2/ref/settings/#...
26
66
0.647436
81
624
4.876543
0.555556
0.159494
0.139241
0
0
0
0
0
0
0
0
0.00396
0.190705
624
23
67
27.130435
0.778218
0.317308
0
0
0
0
0.304762
0.069048
0
0
0
0
0
1
0
false
0.071429
0.071429
0
0.071429
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
0
0
0
0
0
1
a64256e4855190c8d496f99dade4331c334760ed
7,159
py
Python
tests/test_training.py
Jimmy2027/MMVAE_mnist_svhn_text
e6e74059bd5feefc0af088f7b1abc31b0e9f2ab7
[ "MIT" ]
null
null
null
tests/test_training.py
Jimmy2027/MMVAE_mnist_svhn_text
e6e74059bd5feefc0af088f7b1abc31b0e9f2ab7
[ "MIT" ]
24
2021-11-15T14:22:08.000Z
2022-02-28T14:30:23.000Z
tests/test_training.py
Jimmy2027/MMVAE_mnist_svhn_text
e6e74059bd5feefc0af088f7b1abc31b0e9f2ab7
[ "MIT" ]
null
null
null
import tempfile from pathlib import Path import pytest from norby.utils import get_readable_elapsed_time from mmvae_hub.celeba.CelebaTrainer import CelebaTrainer from mmvae_hub.evaluation.eval_metrics.coherence import test_generation from mmvae_hub.mimic.MimicTrainer import MimicTrainer from mmvae_hub.mnistsvhntext.m...
46.187097
118
0.564744
717
7,159
5.380753
0.196653
0.062986
0.074132
0.085537
0.70451
0.617418
0.587092
0.550285
0.508813
0.468377
0
0.00259
0.352703
7,159
154
119
46.487013
0.829953
0.282302
0
0.391892
0
0
0.091255
0.009606
0
0
0
0.025974
0
1
0.094595
false
0
0.162162
0
0.256757
0.013514
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
0
0
0
0
0
1
a6430c564af2fe8b504ab18c9fbc24d3c163cb63
41,339
py
Python
src/api/datahub/access/deploy_plan_views.py
Chromico/bk-base
be822d9bbee544a958bed4831348185a75604791
[ "MIT" ]
84
2021-06-30T06:20:23.000Z
2022-03-22T03:05:49.000Z
src/api/datahub/access/deploy_plan_views.py
Chromico/bk-base
be822d9bbee544a958bed4831348185a75604791
[ "MIT" ]
7
2021-06-30T06:21:16.000Z
2022-03-29T07:36:13.000Z
src/api/datahub/access/deploy_plan_views.py
Chromico/bk-base
be822d9bbee544a958bed4831348185a75604791
[ "MIT" ]
40
2021-06-30T06:21:26.000Z
2022-03-29T12:42:26.000Z
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available. Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. BK-BASE 蓝鲸基础平台 is licensed under the MIT License. License for BK-BASE 蓝鲸基础平台: ------------------------------------------...
38.419145
120
0.497037
3,813
41,339
5.158668
0.137162
0.048754
0.02608
0.013726
0.700305
0.668378
0.647789
0.626894
0.604321
0.591917
0
0.02363
0.389874
41,339
1,075
121
38.454884
0.756245
0.3189
0
0.195804
0
0
0.085745
0.006596
0
0
0
0
0
1
0.048951
false
0
0.104895
0
0.230769
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
0
0
0
0
1
0
a64342d6282acb3e5c3a1da43389d3370a406889
17,804
py
Python
venv/lib/python3.8/site-packages/azureml/_restclient/operations/assets_operations.py
amcclead7336/Enterprise_Data_Science_Final
ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28
[ "Unlicense", "MIT" ]
null
null
null
venv/lib/python3.8/site-packages/azureml/_restclient/operations/assets_operations.py
amcclead7336/Enterprise_Data_Science_Final
ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28
[ "Unlicense", "MIT" ]
null
null
null
venv/lib/python3.8/site-packages/azureml/_restclient/operations/assets_operations.py
amcclead7336/Enterprise_Data_Science_Final
ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28
[ "Unlicense", "MIT" ]
2
2021-05-23T16:46:31.000Z
2021-05-26T23:51:09.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator 2.3.3...
44.621554
242
0.645024
1,872
17,804
5.987714
0.113248
0.034793
0.025694
0.010706
0.778928
0.755286
0.740476
0.721831
0.709608
0.709608
0
0.004479
0.260166
17,804
398
243
44.733668
0.846493
0.364132
0
0.63125
0
0.03125
0.174149
0.084671
0
0
0
0
0
1
0.0375
false
0
0.0125
0
0.11875
0
0
0
0
null
0
0
0
0
1
1
1
1
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
5
a643b7cb05c62d6f05038a65215f5b01cb85f51d
1,284
py
Python
histomicstk/features/__init__.py
basanto/HistomicsTK
f3dbd93a7f31c7825574f9ccf0b86e09e9fee360
[ "Apache-2.0" ]
249
2016-04-04T12:00:54.000Z
2022-03-31T15:46:50.000Z
histomicstk/features/__init__.py
basanto/HistomicsTK
f3dbd93a7f31c7825574f9ccf0b86e09e9fee360
[ "Apache-2.0" ]
616
2016-01-13T21:06:01.000Z
2022-03-19T00:06:28.000Z
histomicstk/features/__init__.py
basanto/HistomicsTK
f3dbd93a7f31c7825574f9ccf0b86e09e9fee360
[ "Apache-2.0" ]
109
2016-01-21T16:14:34.000Z
2022-03-10T00:59:06.000Z
""" This package contains functions to computing a variety of image-based features that quantify the appearance and/or morphology of an objects/regions in the image. These are needed for classifying objects (e.g. nuclei) and regions (e.g. tissues) found in histopathology images. """ # make functions available at the p...
38.909091
82
0.82866
166
1,284
6.096386
0.415663
0.076087
0.145257
0.065217
0.088933
0
0
0
0
0
0
0
0.126168
1,284
32
83
40.125
0.901961
0.369159
0
0
0
0
0.245307
0.201502
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
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
0
0
0
0
1
a643c170360fd65c1fce02757aabe7bff1085035
1,532
py
Python
combined.py
witchOfTheEast/tkinter_tutorial
aeff45ce01cfca88795ec3b9c1be5835553cd907
[ "MIT" ]
null
null
null
combined.py
witchOfTheEast/tkinter_tutorial
aeff45ce01cfca88795ec3b9c1be5835553cd907
[ "MIT" ]
null
null
null
combined.py
witchOfTheEast/tkinter_tutorial
aeff45ce01cfca88795ec3b9c1be5835553cd907
[ "MIT" ]
null
null
null
from Tkinter import * import tkMessageBox def callback(): print 'called the callback!' def setStatus(): myBar.set("%s", 'STATUS BAR INFO') def exitNow(): exit() def confirmExit(): if tkMessageBox.askyesno('Exit dialog', 'Really exit?'): exitNow() root = Tk() # create a menu menu = Menu...
23.569231
88
0.686684
213
1,532
4.859155
0.356808
0.054106
0.057971
0.066667
0.13913
0.13913
0.044444
0.044444
0
0
0
0.00541
0.155352
1,532
64
89
23.9375
0.794436
0.041775
0
0.093023
0
0
0.077186
0
0
0
0
0
0
0
null
null
0
0.046512
null
null
0.023256
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
1
0
0
0
0
0
0
0
0
1
a64617babb2bab4f4378a4b38e453efba462a25c
8,000
py
Python
phipkit/score.py
openvax/phipkit
267a9b0bb3b79b3ff416e07ce390e43b84a02be4
[ "Apache-2.0" ]
null
null
null
phipkit/score.py
openvax/phipkit
267a9b0bb3b79b3ff416e07ce390e43b84a02be4
[ "Apache-2.0" ]
null
null
null
phipkit/score.py
openvax/phipkit
267a9b0bb3b79b3ff416e07ce390e43b84a02be4
[ "Apache-2.0" ]
null
null
null
''' Analyze PHiP-seq read counts matrix to generate enrichment-over-beads-only scores. Algorithm sketch: [I] For each bead-only sample: [1] Bin the read counts across clones into some number of bins (default 50). [2] For each set of clones c associated with each bin: For each other sample s: ...
34.934498
100
0.628375
1,024
8,000
4.726563
0.271484
0.033058
0.039669
0.03843
0.11157
0.063636
0.02686
0.012397
0.012397
0.012397
0
0.007145
0.28275
8,000
228
101
35.087719
0.836354
0.199125
0
0.134969
1
0
0.160169
0.014717
0
0
0
0
0.006135
1
0.01227
false
0
0.06135
0
0.079755
0.067485
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
0
0
0
0
0
1
a6468c6cb1584d9d4b7819179d568755b90ea133
619
py
Python
ciphers/password_encryption.py
sulochanaviji/Python
441d6fc1b0b50b04e3947cdab0384de09965eee1
[ "MIT" ]
null
null
null
ciphers/password_encryption.py
sulochanaviji/Python
441d6fc1b0b50b04e3947cdab0384de09965eee1
[ "MIT" ]
null
null
null
ciphers/password_encryption.py
sulochanaviji/Python
441d6fc1b0b50b04e3947cdab0384de09965eee1
[ "MIT" ]
null
null
null
from passlib.context import CryptContext #importing cryptcontext from passlib pwd_context = CryptContext( schemes=["pbkdf2_sha256"], default="pbkdf2_sha256", pbkdf2_sha256__default_rounds=30000 ) #A round is a part of the algorithm that runs many times in order to reduce "crackability". def ...
26.913043
91
0.780291
78
619
5.974359
0.525641
0.137339
0.081545
0.128755
0
0
0
0
0
0
0
0.032015
0.142165
619
22
92
28.136364
0.845574
0.201939
0
0
0
0
0.093496
0
0
0
0
0
0
1
0.153846
false
0.615385
0.076923
0.153846
0.384615
0.076923
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
0
1
0
0
0
2
a64902e3f8f932d8557295852469583d5b782d2c
233
py
Python
src/basestation/const.py
jariz/basestation
090acf2880e10a08667de85feab0fc3bdb375ada
[ "MIT" ]
2
2021-07-04T11:39:44.000Z
2022-01-20T18:57:53.000Z
src/basestation/const.py
jariz/basestation
090acf2880e10a08667de85feab0fc3bdb375ada
[ "MIT" ]
null
null
null
src/basestation/const.py
jariz/basestation
090acf2880e10a08667de85feab0fc3bdb375ada
[ "MIT" ]
null
null
null
SERVICE = "00001523-1212-efde-1523-785feabcd124" PWR_CHARACTERISTIC = "00001525-1212-EFDE-1523-785FEABCD124" IDENTIFY_CHARACTERISTIC = "00008421-1212-EFDE-1523-785FEABCD124" PWR_ON = b"\x01" PWR_STANDBY = b"\x00" NAME_SUFFIX = "LHB-"
38.833333
64
0.785408
31
233
5.741935
0.612903
0.134831
0.202247
0.404494
0.303371
0
0
0
0
0
0
0.324074
0.072961
233
6
65
38.833333
0.5
0
0
0
0
0
0.512821
0.461538
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
a649eb74dba0e4238520088fa3858aec2514206f
2,264
py
Python
j.py
thatch/cloudmesh-iu
903b897e8234904ea4637f6783e6c53fb9a3c7a8
[ "Apache-2.0" ]
null
null
null
j.py
thatch/cloudmesh-iu
903b897e8234904ea4637f6783e6c53fb9a3c7a8
[ "Apache-2.0" ]
null
null
null
j.py
thatch/cloudmesh-iu
903b897e8234904ea4637f6783e6c53fb9a3c7a8
[ "Apache-2.0" ]
null
null
null
from cloudmesh.common.Shell import Shell import subprocess import asyncio import sys from subprocess import PIPE, Popen import threading from queue import Queue, Empty import time import os import shlex host = "r-003" port = 9010 command = f'ssh juliet "ssh {host} ./ENV3/bin/jupyter-lab --ip localhost --port {port}"' ...
29.789474
104
0.618816
282
2,264
4.957447
0.312057
0.060086
0.042918
0.040057
0.293276
0.293276
0.186695
0.142346
0.142346
0.142346
0
0.015187
0.243816
2,264
76
105
29.789474
0.801402
0.09364
0
0
0
0.025641
0.127088
0.015977
0
0
0
0
0
1
0.025641
false
0
0.25641
0
0.282051
0.153846
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
0
0
0
0
1
0
a64ac3cbe97a0aa5dc2fd09b5e46340c1b456133
171
py
Python
12.HTM_Content/main.py
sarincr/Introduction-to-Flask-Web-framework
69a703b3533b6b12f07712a5473b31176c25c9c7
[ "MIT" ]
null
null
null
12.HTM_Content/main.py
sarincr/Introduction-to-Flask-Web-framework
69a703b3533b6b12f07712a5473b31176c25c9c7
[ "MIT" ]
null
null
null
12.HTM_Content/main.py
sarincr/Introduction-to-Flask-Web-framework
69a703b3533b6b12f07712a5473b31176c25c9c7
[ "MIT" ]
null
null
null
from flask import * app = Flask(__name__) @app.route('/<X>') def message(X): return render_template('index.html', Y = X) if __name__ == '__main__': app.run()
15.545455
47
0.625731
24
171
3.916667
0.75
0
0
0
0
0
0
0
0
0
0
0
0.192982
171
10
48
17.1
0.681159
0
0
0
0
0
0.128655
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.428571
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
0
1
0
0
0
2
a64bbe192a36abeb0640fa965fed32d5ef6bad50
297
py
Python
lib/data_coll/source_file.py
KentWangYQ/server-migration
82b0eaac42db3eb697fd53b79d64bd0d39024842
[ "MIT" ]
null
null
null
lib/data_coll/source_file.py
KentWangYQ/server-migration
82b0eaac42db3eb697fd53b79d64bd0d39024842
[ "MIT" ]
null
null
null
lib/data_coll/source_file.py
KentWangYQ/server-migration
82b0eaac42db3eb697fd53b79d64bd0d39024842
[ "MIT" ]
null
null
null
import os import config def walk(): """ 遍历源文件目录 :return: Generator """ for root in config.Source.include: for path, _, files in os.walk(root): if path not in config.Source.exclude: for file in files: yield (path, file)
19.8
49
0.535354
36
297
4.388889
0.555556
0.101266
0.177215
0
0
0
0
0
0
0
0
0
0.373737
297
14
50
21.214286
0.849462
0.087542
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
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
0
0
0
0
1
0
a6517756a3a14e9acb42f1ecdbdc81a9baa0b501
888
py
Python
utils.py
TobyBoyne/gogen-solver
59f74591fe48bede8d7cff8f6460cfb74b8e3ebd
[ "MIT" ]
null
null
null
utils.py
TobyBoyne/gogen-solver
59f74591fe48bede8d7cff8f6460cfb74b8e3ebd
[ "MIT" ]
null
null
null
utils.py
TobyBoyne/gogen-solver
59f74591fe48bede8d7cff8f6460cfb74b8e3ebd
[ "MIT" ]
null
null
null
from string import ascii_lowercase from itertools import product # the letter z is not found in gogen puzzles lowercase_letters = ascii_lowercase[:-1] def get_connections(word_list): """Returns a dictionary of each letter in the alphabet, where the value is a set of all the letters that are linked to it based on a...
31.714286
75
0.727477
157
888
3.955414
0.394904
0.077295
0.10628
0.028986
0
0
0
0
0
0
0
0.014845
0.165541
888
28
76
31.714286
0.823212
0.396396
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.133333
0
0.533333
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
0
0
1
0
0
1
a6533118b46e76f56bec90a679a74b2a3469e5cd
2,728
py
Python
Utilities/MS_UT_Stack2Dir.py
JaneliaSciComp/MetaSegmenter
6db3e8e26677b49be999773daee6ea475985df55
[ "Unlicense" ]
null
null
null
Utilities/MS_UT_Stack2Dir.py
JaneliaSciComp/MetaSegmenter
6db3e8e26677b49be999773daee6ea475985df55
[ "Unlicense" ]
null
null
null
Utilities/MS_UT_Stack2Dir.py
JaneliaSciComp/MetaSegmenter
6db3e8e26677b49be999773daee6ea475985df55
[ "Unlicense" ]
null
null
null
#! /usr/local/python-2.7.6/bin/python # # Copyright (C) 2015 by Howard Hughes Medical Institute. # # Purpose: given a segmentation stack, # produce a directory of RGB files import os, sys, re, h5py import tifffile as tiff import numpy from skimage.morphology import label from scipy.ndimage import measurements from sk...
35.894737
100
0.603006
385
2,728
4.062338
0.350649
0.076726
0.058184
0.033248
0.147698
0.059463
0.059463
0.059463
0.059463
0.059463
0
0.037608
0.239736
2,728
75
101
36.373333
0.71649
0.119135
0
0.035714
0
0
0.108278
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.071429
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
1
0
0
0
0
0
0
0
0
1
a6544ccff7f22122adea74703d79ead395520358
5,371
py
Python
qa/L0_custom_legacy/custom_legacy_test.py
wiggin66/server
d32e253244be8539a087ba59fee5ab63f9f6a040
[ "BSD-3-Clause" ]
4
2021-06-02T02:37:53.000Z
2022-01-20T19:32:57.000Z
qa/L0_custom_legacy/custom_legacy_test.py
wiggin66/server
d32e253244be8539a087ba59fee5ab63f9f6a040
[ "BSD-3-Clause" ]
null
null
null
qa/L0_custom_legacy/custom_legacy_test.py
wiggin66/server
d32e253244be8539a087ba59fee5ab63f9f6a040
[ "BSD-3-Clause" ]
1
2021-12-17T03:07:54.000Z
2021-12-17T03:07:54.000Z
#!/bin/bash # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # * Redistributions of source code must retain the above copyright # notice, this list of ...
40.383459
83
0.633402
595
5,371
5.541176
0.364706
0.030027
0.024264
0.022748
0.313922
0.266606
0.266606
0.266606
0.266606
0.266606
0
0.011594
0.293428
5,371
132
84
40.689394
0.857181
0.329361
0
0.315789
0
0
0.042881
0.005886
0
0
0
0
0.039474
1
0.078947
false
0
0.118421
0
0.223684
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
0
0
0
0
1
0
a6551b4d98c72a4734c14321b779357ef66e0ea1
811
py
Python
testsuite/sesstion_test.py
olegvg/telebot
e37bce862518a1addaf1db4624a62eaf9dfc4afa
[ "MIT" ]
null
null
null
testsuite/sesstion_test.py
olegvg/telebot
e37bce862518a1addaf1db4624a62eaf9dfc4afa
[ "MIT" ]
null
null
null
testsuite/sesstion_test.py
olegvg/telebot
e37bce862518a1addaf1db4624a62eaf9dfc4afa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import unittest from telebot.storage import EphemeralStorage class TestEphemeralSession(unittest.TestCase): def setUp(self): from telebot.logger import init_root_logger init_root_logger() def test_session_storage_singleton(self): session1 = EphemeralStorage()...
23.852941
51
0.664612
102
811
5.029412
0.352941
0.048733
0.077973
0.070175
0.253411
0.175439
0
0
0
0
0
0.03231
0.236745
811
33
52
24.575758
0.796446
0.025894
0
0
0
0
0
0
0
0
0
0
0.190476
1
0.142857
false
0
0.142857
0
0.333333
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
0
0
0
0
1
0
a65643a5cfe26a75ee90de2f3f498ab27ada61a1
1,856
py
Python
logger.py
SoPudge/lib.py
7e8e6cb76a1838c2af969bd1f3b7cf5ce6cb0441
[ "MIT" ]
null
null
null
logger.py
SoPudge/lib.py
7e8e6cb76a1838c2af969bd1f3b7cf5ce6cb0441
[ "MIT" ]
null
null
null
logger.py
SoPudge/lib.py
7e8e6cb76a1838c2af969bd1f3b7cf5ce6cb0441
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys import logging class Logger(object): def __init__(self,logger,**kw): ''' creat a logger class,port from default loggin module Description: 对于不传入**kw参数的调用,为旧式调用,用于一些旧式程序 对于传输**kw的掉用,则支持如下功能 ...
26.898551
93
0.579741
225
1,856
4.68
0.377778
0.104463
0.041785
0.064577
0.049383
0.049383
0.049383
0
0
0
0
0.006116
0.295259
1,856
68
94
27.294118
0.79893
0.231681
0
0
0
0
0.077663
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.277778
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
0
0
0
0
1
0
a656d2bce16963a39c156a75a1c47bd702c5f92a
965
py
Python
monitor.py
TheRevanchist/rcnn_for_relab
c51dcb464f5485278cdecbe413b9e03819be0a12
[ "MIT" ]
null
null
null
monitor.py
TheRevanchist/rcnn_for_relab
c51dcb464f5485278cdecbe413b9e03819be0a12
[ "MIT" ]
null
null
null
monitor.py
TheRevanchist/rcnn_for_relab
c51dcb464f5485278cdecbe413b9e03819be0a12
[ "MIT" ]
null
null
null
import numpy as np class AccuracyChecker: def __init__(self, n_labels): self.confusion = np.zeros((n_labels, n_labels)) # batch_accuracies = np.zeros((n_batches, max_epoch)) def update(self, real, predicted): if predicted.ndim == 2 and real.ndim == 2: predicted = np.argmax...
29.242424
69
0.619689
125
965
4.704
0.384
0.243197
0.071429
0.117347
0.258503
0.173469
0.173469
0.173469
0.173469
0
0
0.01122
0.26114
965
32
70
30.15625
0.813464
0.112953
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.05
0.15
0.55
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
1
0
0
4
a656dc09ee6ec9003928f2504f93fd239a261cd0
1,287
py
Python
docs/examples/config_manager_test.py
tbeckham/DeploymentManager
c1b2ba47d1732859ff458eb934da671fb0dad37f
[ "Apache-2.0" ]
null
null
null
docs/examples/config_manager_test.py
tbeckham/DeploymentManager
c1b2ba47d1732859ff458eb934da671fb0dad37f
[ "Apache-2.0" ]
null
null
null
docs/examples/config_manager_test.py
tbeckham/DeploymentManager
c1b2ba47d1732859ff458eb934da671fb0dad37f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from config_manager.eucalyptus import Eucalyptus from config_manager.eucalyptus.enterprise import Enterprise from config_manager.eucalyptus.topology import Topology from config_manager.eucalyptus.topology.cluster import Cluster from config_manager.eucalyptus.topology.cluster.nodecontroller import ...
35.75
84
0.742813
149
1,287
6.228188
0.389262
0.053879
0.091595
0.145474
0.128233
0.090517
0
0
0
0
0
0.01259
0.135975
1,287
35
85
36.771429
0.821942
0.408702
0
0
0
0
0.127049
0
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
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
0
0
0
0
1
a657192a2a6097dd374a729b11c2e62a804c6b55
6,581
py
Python
bin/postprocess-exe.py
ktanidis2/Modified_CosmoSIS_for_galaxy_number_count_angular_power_spectra
07e5d308c6a8641a369a3e0b8d13c4104988cd2b
[ "BSD-2-Clause" ]
1
2021-09-15T10:10:26.000Z
2021-09-15T10:10:26.000Z
bin/postprocess-exe.py
ktanidis2/Modified_CosmoSIS_for_galaxy_number_count_angular_power_spectra
07e5d308c6a8641a369a3e0b8d13c4104988cd2b
[ "BSD-2-Clause" ]
null
null
null
bin/postprocess-exe.py
ktanidis2/Modified_CosmoSIS_for_galaxy_number_count_angular_power_spectra
07e5d308c6a8641a369a3e0b8d13c4104988cd2b
[ "BSD-2-Clause" ]
1
2021-06-11T15:29:43.000Z
2021-06-11T15:29:43.000Z
#!/usr/bin/env python from __future__ import print_function from cosmosis.postprocessing.postprocess import postprocessor_for_sampler from cosmosis.postprocessing.inputs import read_input from cosmosis.postprocessing.plots import Tweaks from cosmosis.runtime.utils import mkdir import sys import argparse import os par...
53.072581
183
0.752925
1,021
6,581
4.760039
0.290891
0.076955
0.055967
0.035185
0.169342
0.100823
0.064198
0.034979
0
0
0
0.002952
0.124905
6,581
123
184
53.504065
0.840945
0.104543
0
0
0
0.02439
0.4355
0
0
0
0
0
0
1
0.012195
false
0
0.097561
0
0.121951
0.02439
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
0
0
0
0
1
0
a6571d51ba20f89c596630ca6b73cb59f6d6f6e4
224
py
Python
Task 3.py
IsSveshuD/lab_10
7b6c6f69e9ee272e95300f325b1f1a251b3b07b6
[ "MIT" ]
null
null
null
Task 3.py
IsSveshuD/lab_10
7b6c6f69e9ee272e95300f325b1f1a251b3b07b6
[ "MIT" ]
null
null
null
Task 3.py
IsSveshuD/lab_10
7b6c6f69e9ee272e95300f325b1f1a251b3b07b6
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding^ utf-8 -*- def t(): r = 1 while 1: ch = int(input()) if not ch: break r *= ch print(r) return (r) if __name__ == '__main__': print(t())
13.176471
26
0.446429
31
224
2.967742
0.709677
0
0
0
0
0
0
0
0
0
0
0.028571
0.375
224
16
27
14
0.628571
0.191964
0
0
0
0
0.044693
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
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
0
0
0
0
0
0
0
1
0
a658fb18c246abf8c825b53218e1569f28081bc2
2,592
py
Python
MyPython/wifi-scanner.py
LairdStreak/MyPyPlayGround
e999cfd179d457a6d17c81bf1bacaa7c90e3e1dc
[ "MIT" ]
null
null
null
MyPython/wifi-scanner.py
LairdStreak/MyPyPlayGround
e999cfd179d457a6d17c81bf1bacaa7c90e3e1dc
[ "MIT" ]
null
null
null
MyPython/wifi-scanner.py
LairdStreak/MyPyPlayGround
e999cfd179d457a6d17c81bf1bacaa7c90e3e1dc
[ "MIT" ]
null
null
null
#!/usr/bin/python from scapy.all import * import sys import signal import os #Function to handle Crtl+C def signal_handler(signal, frame): print('\n=================') print('Execution aborted') print('=================') os.system("kill -9 " + str(os.getpid())) sys.exit(1) def signal_exit(signal, frame): prin...
24
100
0.629244
372
2,592
4.325269
0.400538
0.030454
0.019888
0.02051
0.007458
0
0
0
0
0
0
0.046081
0.187886
2,592
108
101
24
0.71829
0.015818
0
0.168421
0
0.010526
0.196471
0.057647
0
0
0
0
0
0
null
null
0.010526
0.042105
null
null
0.168421
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
1
0
0
0
0
0
0
0
0
1
a6592e64bf1d5f88b19a5726eb07a0d0e13e1847
1,715
py
Python
setup.py
AmineSoukara/PyAnime4Up
495c6123a60e28e8a447da4152793c9201729e6a
[ "MIT" ]
2
2021-10-01T20:51:20.000Z
2021-11-12T04:45:16.000Z
setup.py
AmineSoukara/PyAnime4Up
495c6123a60e28e8a447da4152793c9201729e6a
[ "MIT" ]
null
null
null
setup.py
AmineSoukara/PyAnime4Up
495c6123a60e28e8a447da4152793c9201729e6a
[ "MIT" ]
null
null
null
""" PyAnime4Up ~~~~~~~~~ :Copyright: (c) 2021 By Amine Soukara <https://github.com/AmineSoukara>. :License: MIT, See LICENSE For More Details. :Description: A Selenium-less Python Anime4Up Library """ from setuptools import find_packages, setup AUTHOR = "AmineSoukara" EMAIL = "AmineSoukara@gmail.com" URL = "https://g...
30.625
77
0.653061
183
1,715
6.054645
0.535519
0.049639
0.063177
0.117329
0.211191
0.081227
0.081227
0
0
0
0
0.021106
0.198834
1,715
55
78
31.181818
0.785298
0.127114
0
0
0
0
0.515111
0.014775
0
0
0
0
0
1
0
false
0
0.025
0
0.025
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
0
0
0
0
1
0
a659c422f6fefeb24b335ffa862836f6bd0ada52
1,032
py
Python
test/test_middleware.py
sunhailin-Leo/fastapi_apollo_middleware
32351406141dbd87254efd4516288a556adbe72a
[ "MIT" ]
2
2021-03-26T03:54:43.000Z
2021-03-28T10:51:19.000Z
test/test_middleware.py
sunhailin-Leo/fastapi_apollo_middleware
32351406141dbd87254efd4516288a556adbe72a
[ "MIT" ]
null
null
null
test/test_middleware.py
sunhailin-Leo/fastapi_apollo_middleware
32351406141dbd87254efd4516288a556adbe72a
[ "MIT" ]
null
null
null
import time import pytest from fastapi import FastAPI from fastapi.testclient import TestClient from fastapi_apollo_middleware.middleware import ( FastAPIApolloMiddleware, startup_apollo_cycle_task, ) @pytest.fixture(name="test_middleware") def test_middleware(): def _test_middleware(**profiler_kwargs)...
23.454545
71
0.669574
107
1,032
6.224299
0.35514
0.126126
0.076577
0.094595
0.072072
0
0
0
0
0
0
0
0.243217
1,032
43
72
24
0.852753
0.006783
0
0.064516
0
0
0.086999
0
0
0
0
0
0
1
0.129032
false
0
0.16129
0.032258
0.451613
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
0
0
0
0
1
0
a65b05d80f7724fcec88f7d9e34cf1ea27153013
545
py
Python
metadata-ingestion/src/datahub/ingestion/source/bigquery.py
qumingxing/datahub
1b96cd8c2665f17fbda1c523ea55f9db0c4ae77b
[ "Apache-2.0" ]
null
null
null
metadata-ingestion/src/datahub/ingestion/source/bigquery.py
qumingxing/datahub
1b96cd8c2665f17fbda1c523ea55f9db0c4ae77b
[ "Apache-2.0" ]
null
null
null
metadata-ingestion/src/datahub/ingestion/source/bigquery.py
qumingxing/datahub
1b96cd8c2665f17fbda1c523ea55f9db0c4ae77b
[ "Apache-2.0" ]
null
null
null
from typing import Optional from .sql_common import SQLAlchemyConfig, SQLAlchemySource class BigQueryConfig(SQLAlchemyConfig): scheme = "bigquery" project_id: Optional[str] def get_sql_alchemy_url(self): return f"{self.scheme}://{self.project_id}" class BigQuerySource(SQLAlchemySource): de...
24.772727
58
0.710092
62
545
5.967742
0.532258
0.072973
0
0
0
0
0
0
0
0
0
0
0.188991
545
21
59
25.952381
0.837104
0
0
0
0
0
0.089908
0.06055
0
0
0
0
0
1
0.214286
false
0
0.142857
0.071429
0.785714
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
0
1
0
0
2
a65cc33c30371070823025c24bcfdcb3d64f61dc
655
py
Python
HW/final/test/preprocess.py
houzeyu2683/IRRHW
c44298ad14c468eff36bc75ebc63abdc9ba24d55
[ "Apache-2.0" ]
null
null
null
HW/final/test/preprocess.py
houzeyu2683/IRRHW
c44298ad14c468eff36bc75ebc63abdc9ba24d55
[ "Apache-2.0" ]
null
null
null
HW/final/test/preprocess.py
houzeyu2683/IRRHW
c44298ad14c468eff36bc75ebc63abdc9ba24d55
[ "Apache-2.0" ]
1
2022-01-16T03:40:34.000Z
2022-01-16T03:40:34.000Z
import pandas ''' 根據文本資料,建構 term document matrix 矩陣, 存放在指定的位置。 ''' information = pandas.read_csv("csv/information.csv") import text vocabulary = text.vocabulary() vocabulary.build(content = information['abstract'], title=information['title_e']) matrix = pandas.DataFrame(vocabulary.frequency, dtype='int') matrix.i...
22.586207
89
0.757252
81
655
6.08642
0.54321
0.056795
0.105477
0
0
0
0
0
0
0
0
0.011725
0.08855
655
28
90
23.392857
0.81407
0
0
0
0
0
0.151675
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
0
0
0
0
1
0
a65d8a9e5583c81d0cc550a14888526c903f8d10
5,039
py
Python
fai/files.py
st31ny/pyfai
e81aa4b6a62bb4b5f27b5dc7e83dc2fa93862846
[ "MIT" ]
2
2021-12-20T00:47:06.000Z
2021-12-21T15:04:42.000Z
fai/files.py
st31ny/pyfai
e81aa4b6a62bb4b5f27b5dc7e83dc2fa93862846
[ "MIT" ]
null
null
null
fai/files.py
st31ny/pyfai
e81aa4b6a62bb4b5f27b5dc7e83dc2fa93862846
[ "MIT" ]
null
null
null
""" File Handling ============= Pyfai strictly differentiates between virtual paths in the target system (:any:`TargetPath`) and physical paths in the installer system (:any:`InstallerPath`). While the former are always rooted in the target system's filesystem root, only the latter can be resolved ...
33.593333
86
0.670173
674
5,039
4.937685
0.292285
0.016526
0.019832
0.025541
0.095553
0.0622
0.022236
0
0
0
0
0.00356
0.219488
5,039
149
87
33.818792
0.842614
0.54872
0
0.224138
0
0
0.044799
0.011843
0
0
0
0
0.086207
1
0.086207
false
0
0.068966
0
0.189655
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
0
0
0
0
1
0
a65e4a75490f93c29d34c895001bf593d4b147ba
1,595
py
Python
libs/openldap/openldap.py
wrobelda/craft-blueprints-kde
366f460cecd5baebdf3a695696767c8c0e5e7c7e
[ "BSD-2-Clause" ]
14
2017-09-04T09:01:03.000Z
2022-01-04T20:09:00.000Z
libs/openldap/openldap.py
wrobelda/craft-blueprints-kde
366f460cecd5baebdf3a695696767c8c0e5e7c7e
[ "BSD-2-Clause" ]
14
2017-12-15T08:11:22.000Z
2020-12-29T19:11:13.000Z
libs/openldap/openldap.py
wrobelda/craft-blueprints-kde
366f460cecd5baebdf3a695696767c8c0e5e7c7e
[ "BSD-2-Clause" ]
19
2017-09-05T19:16:21.000Z
2020-10-18T12:46:06.000Z
import info class subinfo(info.infoclass): def setTargets(self): for ver in ['2.4.28', '2.4.33', '2.4.36', '2.4.45']: self.targets[ver] = ('ftp://ftp.openldap.org/pub/OpenLDAP/' 'openldap-release/openldap-' + ver + '.tgz') self.targetInstSrc[ver] = ...
43.108108
103
0.64326
187
1,595
5.433155
0.374332
0.035433
0.023622
0.088583
0.11811
0.11811
0.072835
0.072835
0.072835
0.072835
0
0.141304
0.192476
1,595
36
104
44.305556
0.647516
0.089028
0
0
0
0
0.348276
0.205517
0
0
0
0
0
1
0.12
false
0
0.08
0
0.28
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
0
0
0
0
1
0
a65e59791dc58d5a43721bf93a162bd5c1d59c87
4,610
py
Python
cogs/fun/cog.py
uselessvevo/bonny-biboni-bot
ad6d0dc9e688dc9264638103bd07c8a95c2aaa56
[ "MIT" ]
null
null
null
cogs/fun/cog.py
uselessvevo/bonny-biboni-bot
ad6d0dc9e688dc9264638103bd07c8a95c2aaa56
[ "MIT" ]
null
null
null
cogs/fun/cog.py
uselessvevo/bonny-biboni-bot
ad6d0dc9e688dc9264638103bd07c8a95c2aaa56
[ "MIT" ]
null
null
null
""" Description: Old fun module. Will be rewritten Version: 0620/prototype Author: useless_vevo """ # Standard library import os import hashlib import requests from io import BytesIO # Discord import discord from discord.ext import commands # Pillow/PIL from PIL import Image from PIL import ImageFont from PIL import...
35.736434
92
0.565727
562
4,610
4.414591
0.275801
0.056429
0.028214
0.032245
0.28295
0.208787
0.180572
0.108021
0.054817
0.054817
0
0.023499
0.335358
4,610
128
93
36.015625
0.786227
0.081562
0
0.139535
0
0
0.042705
0.028944
0
0
0
0
0
1
0.034884
false
0.011628
0.127907
0
0.197674
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
0
0
0
0
1
0
a65ef392a6bb4a69f0aea268aa1ebea4dbe1f81a
2,271
py
Python
download/gnosis/xml/pickle/test/test_paranoia.py
DavidMertz/gnosis-web
df5ab0d470a02ed6c51c971f2b40f1dcdc7d7350
[ "CC0-1.0" ]
null
null
null
download/gnosis/xml/pickle/test/test_paranoia.py
DavidMertz/gnosis-web
df5ab0d470a02ed6c51c971f2b40f1dcdc7d7350
[ "CC0-1.0" ]
null
null
null
download/gnosis/xml/pickle/test/test_paranoia.py
DavidMertz/gnosis-web
df5ab0d470a02ed6c51c971f2b40f1dcdc7d7350
[ "CC0-1.0" ]
null
null
null
"Test that the PARANOIA setting works --fpm" import gnosis.xml.pickle as xml_pickle from gnosis.xml.pickle.util import \ setParanoia, getParanoia, add_class_to_store import funcs funcs.set_parser() ud_xml = """<?xml version="1.0"?> <!DOCTYPE PyObject SYSTEM "PyObjects.dtd"> <PyObject module="UserDict" class="Us...
19.747826
60
0.660942
341
2,271
4.304985
0.369501
0.067439
0.038147
0.047684
0.305177
0.257493
0.257493
0.241144
0.222071
0.222071
0
0.02067
0.211801
2,271
114
61
19.921053
0.799441
0.295905
0
0.527027
0
0
0.345351
0
0
0
0
0
0
0
null
null
0.013514
0.054054
null
null
0.216216
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
1
0
0
0
0
0
0
0
0
1
a6641926389cb84ab0fd992f95aedcd6c3ef503b
1,079
py
Python
tests/test_regions.py
luigialberti/pytriangle
99ecafc299a692ef0f33e262bc7a1c912d3aa694
[ "MIT" ]
null
null
null
tests/test_regions.py
luigialberti/pytriangle
99ecafc299a692ef0f33e262bc7a1c912d3aa694
[ "MIT" ]
null
null
null
tests/test_regions.py
luigialberti/pytriangle
99ecafc299a692ef0f33e262bc7a1c912d3aa694
[ "MIT" ]
null
null
null
import math import triangle import numpy pointBoundary = [ (-1, -1), (-1, 1.0), ( 0, 1.0), ( 0, -1), ( 1, 1), ( 1, -3)] points = pointBoundary segs = [(0, 1),(1, 2),(2, 3),(3, 0), (2, 4), (4, 5), (5, 3)] # these are ph...
22.957447
77
0.586654
174
1,079
3.603448
0.465517
0.022329
0.019139
0.012759
0
0
0
0
0
0
0
0.065081
0.2595
1,079
46
78
23.456522
0.71965
0.414272
0
0
0
0
0.008052
0
0
0
0
0
0
1
0
false
0
0.136364
0
0.136364
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a66424d83bcda18d8f44b788187e695f8de567b5
183
py
Python
utilities/colormap/prepare_arduino_colormap.py
gauravmm/Remote-Temperature-Monitor
e3695a44dc30e5c013871e303ae8f6fdf481bf04
[ "MIT" ]
null
null
null
utilities/colormap/prepare_arduino_colormap.py
gauravmm/Remote-Temperature-Monitor
e3695a44dc30e5c013871e303ae8f6fdf481bf04
[ "MIT" ]
null
null
null
utilities/colormap/prepare_arduino_colormap.py
gauravmm/Remote-Temperature-Monitor
e3695a44dc30e5c013871e303ae8f6fdf481bf04
[ "MIT" ]
null
null
null
import colormaps as cmaps cmap = cmaps._inferno_data; for i,r in enumerate(cmap): if i % 2 == 0: print "{%s}," % ",\t".join(str(int(round(v * 255))) for v in r);
22.875
73
0.557377
31
183
3.225806
0.774194
0
0
0
0
0
0
0
0
0
0
0.037037
0.262295
183
7
74
26.142857
0.703704
0
0
0
0
0
0.045455
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
a665215b275a48c5f84ca29a35c2258cf294cefc
4,703
py
Python
src/Tester.py
ujjawalmisra/json-ws-test
bece383d414c12b8827afc59da5c7a98d4c46b0f
[ "MIT" ]
1
2017-02-09T14:52:25.000Z
2017-02-09T14:52:25.000Z
src/Tester.py
ujjawalmisra/json-ws-test
bece383d414c12b8827afc59da5c7a98d4c46b0f
[ "MIT" ]
null
null
null
src/Tester.py
ujjawalmisra/json-ws-test
bece383d414c12b8827afc59da5c7a98d4c46b0f
[ "MIT" ]
null
null
null
import argparse import json import pprint import Logger from executors.EndLoopExecutor import EndLoopExecutor from executors.ExecutorFactory import ExecutorFactory from DictUtils import DictUtils class Tester: __LOGGER = Logger.getLogger('Tester') def __init__(self, configFilePath): Tester....
37.624
94
0.51818
438
4,703
5.340183
0.251142
0.117999
0.12313
0.076956
0.264643
0.186404
0.179564
0.102608
0.078239
0
0
0.010906
0.298108
4,703
124
95
37.927419
0.697667
0.015097
0
0.22549
0
0
0.137208
0.027658
0.019608
0
0
0
0
1
0.078431
false
0.039216
0.068627
0.009804
0.22549
0.029412
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
0
0
0
0
1
0
a6656df6119176760b7920afa00e05c68143461d
6,448
py
Python
herald.py
z33kz33k/warriors
7730557a0770058419b7b8d36888d9b5d883e066
[ "MIT" ]
null
null
null
herald.py
z33kz33k/warriors
7730557a0770058419b7b8d36888d9b5d883e066
[ "MIT" ]
null
null
null
herald.py
z33kz33k/warriors
7730557a0770058419b7b8d36888d9b5d883e066
[ "MIT" ]
null
null
null
""" Functions bundled in this module make various announcements about the current game state to the standard output """ import math def introduce_battle(attacker, defender): print() print("********* BATTLE *********") print("Two brave warriors came to fight today:") print(str(attacker)) print(str...
45.408451
299
0.623604
781
6,448
5.052497
0.163892
0.032438
0.044602
0.024328
0.279777
0.21186
0.135327
0.117081
0.117081
0.117081
0
0.001907
0.186725
6,448
141
300
45.730496
0.750572
0.021402
0
0.144144
0
0.009009
0.234053
0.043478
0
0
0
0
0
1
0.081081
false
0
0.009009
0
0.09009
0.477477
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
0
0
0
1
0
1
a6663eeb6a9d4fc56840a93b4bd7b39452405d4b
68
py
Python
AKDSFramework/__init__.py
DeepNet-Research/AKDSFramework
a0b9fc2466b228ea6053b9f03e1d497462567a96
[ "MIT" ]
13
2020-11-03T00:07:43.000Z
2021-12-31T04:18:03.000Z
AKDSFramework/__init__.py
DeepNet-Research/AKDSFramework
a0b9fc2466b228ea6053b9f03e1d497462567a96
[ "MIT" ]
2
2021-03-06T12:20:33.000Z
2021-03-07T04:26:29.000Z
AKDSFramework/__init__.py
DeepNet-Research/AKDSFramework
a0b9fc2466b228ea6053b9f03e1d497462567a96
[ "MIT" ]
2
2020-11-03T23:13:53.000Z
2021-02-24T13:16:02.000Z
from . import structure, applications, error __version__ = '1.0.0'
17
44
0.735294
9
68
5.111111
0.888889
0
0
0
0
0
0
0
0
0
0
0.051724
0.147059
68
3
45
22.666667
0.741379
0
0
0
0
0
0.073529
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
a666a0e5f19e2e19dcb19fdfde8d96921a4a61f8
9,912
py
Python
tests/test_as_json_p.py
malexer/flask-json
ef7c20f9f5e9bc82f13243290df1eddb3733738c
[ "BSD-3-Clause" ]
41
2015-04-23T21:33:26.000Z
2021-12-10T01:25:16.000Z
tests/test_as_json_p.py
malexer/flask-json
ef7c20f9f5e9bc82f13243290df1eddb3733738c
[ "BSD-3-Clause" ]
7
2015-09-27T06:34:12.000Z
2021-11-21T04:44:33.000Z
tests/test_as_json_p.py
malexer/flask-json
ef7c20f9f5e9bc82f13243290df1eddb3733738c
[ "BSD-3-Clause" ]
18
2015-09-26T12:11:20.000Z
2021-07-02T16:21:22.000Z
""" This module provides tests for @as_json_p() decorator. """ import sys import pytest from werkzeug.exceptions import BadRequest from flask import Response, json from flask_json import json_response, _json_p_handler, as_json_p @pytest.fixture def theapp(app): # Disable pretty print to have smaller result string...
39.177866
79
0.55801
1,259
9,912
4.242256
0.135028
0.051114
0.030331
0.043812
0.714286
0.669725
0.653061
0.644449
0.639393
0.627972
0
0.018043
0.312248
9,912
252
80
39.333333
0.765439
0.159403
0
0.662921
0
0
0.140306
0.038485
0
0
0
0
0.247191
1
0.151685
false
0
0.02809
0.05618
0.247191
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a666e2b483e7e338818d32db2cd3f68b92fb8795
7,504
py
Python
tests/L0/run_transformer/run_gpt_minimal_test.py
jpool-nv/apex
d36397d2b8ce5c8854997e4ec2828e056e8fda89
[ "BSD-3-Clause" ]
null
null
null
tests/L0/run_transformer/run_gpt_minimal_test.py
jpool-nv/apex
d36397d2b8ce5c8854997e4ec2828e056e8fda89
[ "BSD-3-Clause" ]
null
null
null
tests/L0/run_transformer/run_gpt_minimal_test.py
jpool-nv/apex
d36397d2b8ce5c8854997e4ec2828e056e8fda89
[ "BSD-3-Clause" ]
1
2021-12-20T00:49:01.000Z
2021-12-20T00:49:01.000Z
from functools import partial from typing import List import time import torch from apex.transformer import parallel_state from apex.transformer.tensor_parallel import model_parallel_cuda_manual_seed from apex.transformer.pipeline_parallel.utils import setup_microbatch_calculator from apex.transformer.pipeli...
38.482051
244
0.678971
927
7,504
5.171521
0.257821
0.046099
0.047559
0.036504
0.38569
0.308719
0.19587
0.121193
0.055069
0.037547
0
0.016129
0.239872
7,504
194
245
38.680412
0.824334
0.087287
0
0.077922
0
0.006494
0.058504
0
0
0
0
0
0.006494
1
0.038961
false
0
0.103896
0
0.181818
0.045455
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
0
0
0
0
1
0
a667624b7f6ad6a76fa1c32f9b8be7619f67e985
92
py
Python
test.py
towarischtsch/siproll
e3efd5f874d8ccb2c89a2947418759e447403861
[ "MIT" ]
1
2020-08-07T00:32:21.000Z
2020-08-07T00:32:21.000Z
test.py
towarischtsch/siproll
e3efd5f874d8ccb2c89a2947418759e447403861
[ "MIT" ]
null
null
null
test.py
towarischtsch/siproll
e3efd5f874d8ccb2c89a2947418759e447403861
[ "MIT" ]
null
null
null
import siproll import sys siproll.do_call("sip:"+ sys.argv[1] + "@voip.eventphone.de", 60)
18.4
64
0.706522
15
92
4.266667
0.8
0
0
0
0
0
0
0
0
0
0
0.036585
0.108696
92
4
65
23
0.743902
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
a6686f130b7b18b5246514e791fb407dc6aced56
8,143
py
Python
src/04/bayes.py
LittleNewton/Data_Mining_Report
4f91c238cdb2faa733af0de332beea0964cc2caf
[ "Apache-2.0" ]
1
2020-10-29T13:33:57.000Z
2020-10-29T13:33:57.000Z
src/04/bayes.py
LittleNewton/Data_Mining_Report
4f91c238cdb2faa733af0de332beea0964cc2caf
[ "Apache-2.0" ]
null
null
null
src/04/bayes.py
LittleNewton/Data_Mining_Report
4f91c238cdb2faa733af0de332beea0964cc2caf
[ "Apache-2.0" ]
null
null
null
# Load libraries import pandas import numpy as np import scipy.stats as stats import matplotlib.pyplot as plt from sklearn import model_selection # 模型比较和选择包 from sklearn.naive_bayes import GaussianNB class Bayes_Test(): # 读取样本 数据集 def load_dataset(self): url = 'Iris.csv' names = ['sepal-lengt...
31.319231
91
0.518728
1,265
8,143
3.041897
0.168379
0.025988
0.024948
0.006237
0.31289
0.255977
0.199844
0.160083
0.122661
0.112266
0
0.084141
0.353432
8,143
260
92
31.319231
0.646344
0.081297
0
0.113514
0
0
0.048615
0
0
0
0
0
0
0
null
null
0.010811
0.032432
null
null
0.091892
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
1
0
0
0
0
0
0
0
0
1
a66b9ccf2bf348065b63a0f36a81c1cbb5d98f94
2,175
py
Python
SampleFunctionAPI/services/dummy_data.py
ms-us-rcg-app-innovation/secure-retail-chat-bot
486c35ca1a0e63dfcbf8f1ad46081f7f3ffc9f44
[ "MIT" ]
null
null
null
SampleFunctionAPI/services/dummy_data.py
ms-us-rcg-app-innovation/secure-retail-chat-bot
486c35ca1a0e63dfcbf8f1ad46081f7f3ffc9f44
[ "MIT" ]
null
null
null
SampleFunctionAPI/services/dummy_data.py
ms-us-rcg-app-innovation/secure-retail-chat-bot
486c35ca1a0e63dfcbf8f1ad46081f7f3ffc9f44
[ "MIT" ]
null
null
null
data = { "recent_sales": [ { "id": 1, "item": 'shirt', "size": 'large', "color": 'blue', "price": '13.99' }, { "id": 2, "item": 'shirt', "size": 'large', "color": 'orange', "price": '15.99' }, { "i...
19.419643
49
0.388046
228
2,175
3.570175
0.29386
0.121622
0.154791
0.163391
0.471744
0.280098
0.280098
0.239558
0.239558
0.239558
0
0.050466
0.407816
2,175
111
50
19.594595
0.581522
0
0
0.386792
0
0
0.234023
0
0
0
0
0
0
1
0.018868
false
0
0
0
0.028302
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
0
0
0
0
0
1
a66b9f7d8fd4fa6e0e8466e1fbc8a8bfb48006d8
1,695
py
Python
tests/unit/test_binary_tree.py
ali92hm/data-structure-implementation
c0b0bd7d711db3085312565dc509c6d8efad03fa
[ "MIT" ]
null
null
null
tests/unit/test_binary_tree.py
ali92hm/data-structure-implementation
c0b0bd7d711db3085312565dc509c6d8efad03fa
[ "MIT" ]
null
null
null
tests/unit/test_binary_tree.py
ali92hm/data-structure-implementation
c0b0bd7d711db3085312565dc509c6d8efad03fa
[ "MIT" ]
null
null
null
import pytest from data_structure_implementation.binary_tree import BinaryTree, BinaryTreeNode class TestBinaryTree: @pytest.fixture def gen_tree(self) -> BinaryTree[int]: root = BinaryTreeNode( 25, BinaryTreeNode( 15, BinaryTreeNode(10, Binary...
36.847826
82
0.639528
213
1,695
4.826291
0.211268
0.272374
0.124514
0.061284
0.447471
0.400778
0.400778
0.145914
0.145914
0.145914
0
0.099842
0.255457
1,695
45
83
37.666667
0.714739
0
0
0.235294
0
0
0.011209
0
0
0
0
0
0.147059
1
0.147059
false
0
0.058824
0
0.264706
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a66d35e9c6f79553a73555c39661a31163d7a94c
16,851
py
Python
src/auth/wxapi/wechat_api.py
zeroleo12345/authen
700e5b6842aecc61c0a3f96bd5ef480fbeecbc46
[ "MIT" ]
null
null
null
src/auth/wxapi/wechat_api.py
zeroleo12345/authen
700e5b6842aecc61c0a3f96bd5ef480fbeecbc46
[ "MIT" ]
null
null
null
src/auth/wxapi/wechat_api.py
zeroleo12345/authen
700e5b6842aecc61c0a3f96bd5ef480fbeecbc46
[ "MIT" ]
1
2019-11-13T05:59:35.000Z
2019-11-13T05:59:35.000Z
#coding:utf-8 import sys import traceback import time import datetime import pytz import base64 import binascii import hashlib # 第三方库 from flask import Flask, request, redirect, jsonify, session, abort, render_template, Response from decouple import config # 自己的库 from mybase.mylog3 import log from mybase.myencrypt2 im...
46.808333
499
0.600142
1,980
16,851
4.927273
0.147475
0.045203
0.012915
0.0164
0.592661
0.545818
0.52132
0.49221
0.475707
0.449877
0
0.01198
0.261943
16,851
359
500
46.938719
0.772453
0.08949
0
0.408935
0
0.030928
0.21968
0.009742
0
0
0
0
0
1
0.037801
false
0.003436
0.061856
0
0.185567
0.003436
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
0
0
0
0
1
0
a66da1cf042e3419a188397e4e43b785aa423282
935
py
Python
main.py
TheRockerfly/weather_app
60e9dd8e535c0dfc318c8064bce6b31492943e93
[ "MIT" ]
null
null
null
main.py
TheRockerfly/weather_app
60e9dd8e535c0dfc318c8064bce6b31492943e93
[ "MIT" ]
1
2021-06-02T01:44:04.000Z
2021-06-02T01:44:04.000Z
main.py
TheRockerfly/weather_app
60e9dd8e535c0dfc318c8064bce6b31492943e93
[ "MIT" ]
null
null
null
from pprint import pprint as pp from flask import Flask, render_template, request from module.weather import query_api app = Flask(__name__) @app.route('/') def index(): return render_template( 'weather.html', data=[{'name': 'Toronto'}, {'name': 'Montreal'}, {'name': 'Calgary'}, {'n...
25.27027
80
0.571123
106
935
4.867925
0.481132
0.081395
0.077519
0
0
0
0
0
0
0
0
0.001422
0.248128
935
36
81
25.972222
0.732575
0
0
0.068966
0
0
0.218182
0
0
0
0
0
0
1
0.068966
false
0
0.103448
0.034483
0.241379
0.034483
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
0
0
0
0
1
0
a66e33c225390d6454c298d14ea6a0904b017ead
426
py
Python
challengenews/migrations/0005_alter_articles_slug.py
scpaes/jungledevs-challenge
188bc7a4aacbb278a9486c57685db53be0477d51
[ "MIT" ]
null
null
null
challengenews/migrations/0005_alter_articles_slug.py
scpaes/jungledevs-challenge
188bc7a4aacbb278a9486c57685db53be0477d51
[ "MIT" ]
6
2021-08-10T02:19:35.000Z
2021-08-10T02:24:05.000Z
challengenews/migrations/0005_alter_articles_slug.py
scpaes/jungledevs-challenge
188bc7a4aacbb278a9486c57685db53be0477d51
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-15 04:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('challengenews', '0004_articles_slug'), ] operations = [ migrations.AlterField( model_name='articles', name='slug', ...
22.421053
89
0.610329
46
426
5.543478
0.782609
0
0
0
0
0
0
0
0
0
0
0.067093
0.265258
426
18
90
23.666667
0.747604
0.105634
0
0
1
0
0.139842
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a66f409d426b89c09b0d5bd141819f3ea9e8e14f
5,094
py
Python
gocardless_pro/services/customer_bank_accounts_service.py
gdvalderrama/gocardless-pro-python
0ff8001f5bba11673c4fa0f30d26eca61a1219ba
[ "MIT" ]
null
null
null
gocardless_pro/services/customer_bank_accounts_service.py
gdvalderrama/gocardless-pro-python
0ff8001f5bba11673c4fa0f30d26eca61a1219ba
[ "MIT" ]
null
null
null
gocardless_pro/services/customer_bank_accounts_service.py
gdvalderrama/gocardless-pro-python
0ff8001f5bba11673c4fa0f30d26eca61a1219ba
[ "MIT" ]
null
null
null
# WARNING: Do not edit by hand, this file was generated by Crank: # # https://github.com/gocardless/crank # from . import base_service from .. import resources from ..paginator import Paginator from .. import errors class CustomerBankAccountsService(base_service.BaseService): """Service class that provides acce...
31.060976
90
0.586965
511
5,094
5.729941
0.311155
0.065574
0.054645
0.035861
0.500683
0.423839
0.377732
0.35485
0.32138
0.32138
0
0
0.335296
5,094
163
91
31.251534
0.864737
0.376914
0
0.509091
1
0
0.084382
0.067728
0
0
0
0
0
1
0.109091
false
0
0.072727
0
0.363636
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
0
0
0
0
0
0
0
0
1
a66ffc143e72f7f83e2cb123a1a619264f32be49
295
py
Python
datasets/mmdet_tusimple/mmdet/core/bbox/iou_calculators/__init__.py
Jinming-Su/SGNet
fcf35edaf332c1a4e2713acad5a0fc0e21509c3e
[ "MIT" ]
13
2021-10-15T15:14:45.000Z
2022-03-09T00:22:55.000Z
datasets/mmdet_tusimple/mmdet/core/bbox/iou_calculators/__init__.py
Jinming-Su/SGNet
fcf35edaf332c1a4e2713acad5a0fc0e21509c3e
[ "MIT" ]
4
2021-10-17T09:04:20.000Z
2022-03-25T06:43:00.000Z
datasets/mmdet_tusimple/mmdet/core/bbox/iou_calculators/__init__.py
Jinming-Su/SGNet
fcf35edaf332c1a4e2713acad5a0fc0e21509c3e
[ "MIT" ]
2
2021-11-17T11:31:35.000Z
2021-11-29T06:50:35.000Z
from .builder import build_iou_calculator from .iou2d_calculator import BboxOverlaps2D, bbox_overlaps from .dis_calculator import Dis, bbox_dis from .riou_calculator import RboxOverlaps2D __all__ = ['build_iou_calculator', 'BboxOverlaps2D', 'bbox_overlaps', 'Dis', 'bbox_dis', 'RboxOverlaps2D']
49.166667
106
0.823729
36
295
6.333333
0.388889
0.210526
0.157895
0
0
0
0
0
0
0
0
0.018587
0.088136
295
5
107
59
0.828996
0
0
0
0
0
0.244068
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
a67191887ff2e4cbe5a722f8867e0bdf2eaf5490
1,256
py
Python
audio/tests/backends/base.py
jerryuhoo/PaddleSpeech
1eec7b5e042da294c7524af92f0fae4c32a71aa3
[ "Apache-2.0" ]
1,379
2021-11-10T02:42:21.000Z
2022-03-31T13:34:25.000Z
audio/tests/backends/base.py
jerryuhoo/PaddleSpeech
1eec7b5e042da294c7524af92f0fae4c32a71aa3
[ "Apache-2.0" ]
268
2021-11-10T14:07:34.000Z
2022-03-31T02:25:20.000Z
audio/tests/backends/base.py
jerryuhoo/PaddleSpeech
1eec7b5e042da294c7524af92f0fae4c32a71aa3
[ "Apache-2.0" ]
296
2021-11-15T02:37:11.000Z
2022-03-31T12:14:46.000Z
# Copyright (c) 2022 PaddlePaddle Authors. 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 appli...
35.885714
77
0.725318
175
1,256
5.16
0.588571
0.066445
0.046512
0.056478
0.093023
0.093023
0.093023
0
0
0
0
0.00779
0.182325
1,256
34
78
36.941176
0.87147
0.464172
0
0
0
0
0.162367
0
0
0
0
0
0
1
0.1875
false
0
0.1875
0
0.4375
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
0
0
0
0
1
0
a671fe0e76961bcf5c4e0d73d1fd01eb4c998058
6,091
py
Python
07keras/09fasttext_multi_classification.py
KEVINYZY/python-tutorial
ae43536908eb8af56c34865f52a6e8644edc4fa3
[ "Apache-2.0" ]
2
2021-01-04T10:44:44.000Z
2022-02-13T07:53:41.000Z
07keras/09fasttext_multi_classification.py
zm79287/python-tutorial
d0f7348e1da4ff954e3add66e1aae55d599283ee
[ "Apache-2.0" ]
null
null
null
07keras/09fasttext_multi_classification.py
zm79287/python-tutorial
d0f7348e1da4ff954e3add66e1aae55d599283ee
[ "Apache-2.0" ]
2
2020-11-23T08:58:51.000Z
2022-02-13T07:53:42.000Z
# -*- coding: utf-8 -*- # Author: XuMing <xuming624@qq.com> # Brief: This example demonstrates the use of fasttext for text classification # Bi-gram : 0.9056 test accuracy after 5 epochs. import os import keras import numpy as np from keras.layers import Dense from keras.layers import Embedding from keras.layers impor...
34.805714
102
0.67099
937
6,091
4.149413
0.219851
0.024691
0.020576
0.021605
0.164095
0.14249
0.105453
0.088477
0.064815
0.024177
0
0.023337
0.197997
6,091
174
103
35.005747
0.772569
0.161221
0
0.025862
0
0
0.117494
0.034828
0
0
0
0
0.008621
1
0.034483
false
0
0.068966
0
0.137931
0.189655
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
0
0
0
0
1
0
a673b3a3ead6195386323a5ae506ff90585ffcf7
529
py
Python
tests/deployment/test_deployment.py
ChristianHinge/ml_ops_project_lectures
34c8cd222526d1af0db3998bfc993fbdccef5b16
[ "MIT" ]
null
null
null
tests/deployment/test_deployment.py
ChristianHinge/ml_ops_project_lectures
34c8cd222526d1af0db3998bfc993fbdccef5b16
[ "MIT" ]
null
null
null
tests/deployment/test_deployment.py
ChristianHinge/ml_ops_project_lectures
34c8cd222526d1af0db3998bfc993fbdccef5b16
[ "MIT" ]
null
null
null
import requests import json import torch import numpy as np x_new = np.zeros((1,1,28,28)) # Convert the array to a serializable list in a JSON document input_json = json.dumps({"data": x_new.tolist()}) # Set the content type headers = { 'Content-Type':'application/json' } predictions = requests.post("http://127.0.0....
29.388889
89
0.727788
84
529
4.488095
0.559524
0.04244
0
0
0
0
0
0
0
0
0
0.034557
0.124764
529
18
90
29.388889
0.779698
0.151229
0
0
0
0
0.154362
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
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
0
0
0
0
1
a67495135f219838eddc7cc161b252690978c0c7
3,943
py
Python
app.py
yeojin-dev/leo
20e4bd7dbd409bee8ff26a713f83cfb3d0a443ba
[ "MIT" ]
null
null
null
app.py
yeojin-dev/leo
20e4bd7dbd409bee8ff26a713f83cfb3d0a443ba
[ "MIT" ]
null
null
null
app.py
yeojin-dev/leo
20e4bd7dbd409bee8ff26a713f83cfb3d0a443ba
[ "MIT" ]
null
null
null
import datetime import os import uuid from urllib.parse import urlparse import slack from flask import ( Flask, jsonify, render_template, request, send_from_directory, ) from flask.cli import load_dotenv from pymongo import MongoClient from pytz import timezone app = Flask(__name__) load_dotenv() ...
33.134454
103
0.67512
508
3,943
4.988189
0.26378
0.039069
0.029597
0.028414
0.210734
0.210734
0.131018
0.101815
0.038674
0.038674
0
0.006732
0.171189
3,943
118
104
33.415254
0.768666
0
0
0.078652
0
0
0.214811
0.043622
0
0
0
0
0
1
0.05618
false
0.05618
0.101124
0.011236
0.224719
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
0
0
0
0
0
1
a675137fe059ab035f6c8c74928e31aa79eec616
961
py
Python
scrapy_store_project/goods/tasks.py
MaksNech/pylab2018_ht_22
5c862b23203e93bf4cbdf5f1e5777f29052f2f69
[ "MIT" ]
null
null
null
scrapy_store_project/goods/tasks.py
MaksNech/pylab2018_ht_22
5c862b23203e93bf4cbdf5f1e5777f29052f2f69
[ "MIT" ]
10
2020-02-11T23:54:49.000Z
2022-03-11T23:42:36.000Z
scrapy_store_project/goods/tasks.py
MaksNech/pylab2018_ht_22
5c862b23203e93bf4cbdf5f1e5777f29052f2f69
[ "MIT" ]
1
2020-12-02T09:32:19.000Z
2020-12-02T09:32:19.000Z
import requests import tempfile from celery.task import task from django.core import files from celery.utils.log import get_task_logger from .models import Bag logger = get_task_logger(__name__) @task( name="save_goods_to_db" ) def save_goods_to_db(items_list): for item in items_list: bag = Bag( ...
24.025
58
0.591051
118
961
4.644068
0.457627
0.04927
0.047445
0.047445
0
0
0
0
0
0
0
0.00885
0.294485
961
39
59
24.641026
0.79941
0
0
0
0
0
0.064516
0
0
0
0
0
0
1
0.032258
false
0
0.193548
0
0.225806
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
0
0
0
0
1
0
a6753cc917302d9905a242a41ec0d71e8e1a5d5d
1,408
py
Python
core/migrations/0002_foodweight.py
MakuZo/nutrigo
e50e10d497bcf9e01294565d42012d777f5c98d0
[ "MIT" ]
30
2019-03-28T18:01:58.000Z
2022-02-26T02:19:28.000Z
core/migrations/0002_foodweight.py
MakuZo/nutrigo
e50e10d497bcf9e01294565d42012d777f5c98d0
[ "MIT" ]
8
2019-06-06T19:33:08.000Z
2022-02-10T13:10:34.000Z
core/migrations/0002_foodweight.py
MakuZo/nutrigo
e50e10d497bcf9e01294565d42012d777f5c98d0
[ "MIT" ]
10
2019-04-04T19:19:28.000Z
2021-06-05T05:29:40.000Z
# Generated by Django 2.1.5 on 2019-02-09 18:55 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("core", "0001_initial")] operations = [ migrations.CreateModel( name="FoodWeight", fields=[ ...
32
83
0.440341
112
1,408
5.419643
0.571429
0.039539
0.046129
0.072488
0.075783
0
0
0
0
0
0
0.035019
0.452415
1,408
43
84
32.744186
0.75227
0.03196
0
0.162162
1
0
0.06025
0
0
0
0
0
0
1
0
false
0
0.054054
0
0.135135
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
0
0
0
0
0
0
0
0
1
a67579557fd6c58769b6d554c5405a8d2d779881
236
py
Python
tests/unit/cli/conftest.py
trainML/trainml-cli
3065ed4cacf415964bcfc8c3854dd8acbc3729c5
[ "MIT" ]
1
2021-02-11T16:08:05.000Z
2021-02-11T16:08:05.000Z
tests/unit/cli/conftest.py
trainML/trainml-cli
3065ed4cacf415964bcfc8c3854dd8acbc3729c5
[ "MIT" ]
1
2021-05-04T00:20:28.000Z
2021-07-07T16:21:35.000Z
tests/unit/cli/conftest.py
trainML/trainml-cli
3065ed4cacf415964bcfc8c3854dd8acbc3729c5
[ "MIT" ]
null
null
null
from click.testing import CliRunner from pytest import fixture, mark from unittest.mock import Mock, AsyncMock, patch, create_autospec pytestmark = [mark.cli,mark.unit] @fixture def runner(): runner = CliRunner() yield runner
21.454545
65
0.762712
31
236
5.774194
0.645161
0
0
0
0
0
0
0
0
0
0
0
0.15678
236
11
66
21.454545
0.899497
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.375
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a6762cb2023d77e741f45f1530edf25cc49e8843
2,835
py
Python
bokeh-app/main.py
jdkent/hrfViz
ab9cf3587cd8387388550f3bef3086ff866a7559
[ "BSD-3-Clause" ]
null
null
null
bokeh-app/main.py
jdkent/hrfViz
ab9cf3587cd8387388550f3bef3086ff866a7559
[ "BSD-3-Clause" ]
null
null
null
bokeh-app/main.py
jdkent/hrfViz
ab9cf3587cd8387388550f3bef3086ff866a7559
[ "BSD-3-Clause" ]
null
null
null
''' Present an interactive function explorer with slider widgets. Scrub the sliders to change the properties of the ``hrf`` curve, or type into the title text box to update the title of the plot. Use the ``bokeh serve`` command to run the example by executing: bokeh serve sliders.py at your command prompt. Then nav...
33.75
96
0.699824
462
2,835
4.218615
0.311688
0.010262
0.024628
0.010775
0.201129
0.201129
0.172396
0.147768
0.103643
0.103643
0
0.037288
0.167549
2,835
83
97
34.156627
0.788559
0.186243
0
0.041667
0
0
0.061928
0.015264
0
0
0
0
0
1
0.041667
false
0
0.145833
0
0.1875
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
0
0
0
0
1
0
a67778c67ef1eefa67194e04daebceb9183fd006
682
py
Python
python-leetcode/laozhang/tree/leetcode_814_.py
sweeneycai/cs-summary-reflection
c4220b153baa6b1b93a11c7e5637d42e3429481f
[ "Apache-2.0" ]
227
2019-04-09T00:36:00.000Z
2022-03-29T05:05:03.000Z
python-leetcode/laozhang/tree/leetcode_814_.py
sweeneycai/cs-summary-reflection
c4220b153baa6b1b93a11c7e5637d42e3429481f
[ "Apache-2.0" ]
139
2019-06-14T01:53:11.000Z
2022-02-16T11:08:40.000Z
python-leetcode/laozhang/tree/leetcode_814_.py
sweeneycai/cs-summary-reflection
c4220b153baa6b1b93a11c7e5637d42e3429481f
[ "Apache-2.0" ]
89
2019-04-10T07:00:54.000Z
2022-03-23T01:36:03.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # coding=utf-8 """ 814. 二叉树剪枝 """ from laozhang import TreeNode class Solution: def pruneTree(self, root: TreeNode) -> TreeNode: def helper(root: TreeNode) -> TreeNode: if root: helper(root.left) helper(root.right)...
28.416667
107
0.530792
85
682
4.258824
0.341176
0.132597
0.110497
0.055249
0.077348
0
0
0
0
0
0
0.018433
0.363636
682
23
108
29.652174
0.815668
0.09824
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.357143
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
0
0
0
0
1
0
a6777a5db732418a0a72fdae43c10c8041048b60
4,816
py
Python
.pyinstaller/run_astropy_tests.py
lmichel/astropy
67f944f6145ae4899e7bf6e335ffcb24c9493ac3
[ "BSD-3-Clause" ]
null
null
null
.pyinstaller/run_astropy_tests.py
lmichel/astropy
67f944f6145ae4899e7bf6e335ffcb24c9493ac3
[ "BSD-3-Clause" ]
null
null
null
.pyinstaller/run_astropy_tests.py
lmichel/astropy
67f944f6145ae4899e7bf6e335ffcb24c9493ac3
[ "BSD-3-Clause" ]
null
null
null
import os import shutil import sys import erfa # noqa import pytest import astropy # noqa if len(sys.argv) == 3 and sys.argv[1] == '--astropy-root': ROOT = sys.argv[2] else: # Make sure we don't allow any arguments to be passed - some tests call # sys.executable which becomes this script when producing...
44.592593
95
0.648463
662
4,816
4.55136
0.351964
0.04381
0.06306
0.056422
0.212745
0.176236
0.159642
0.107202
0.085961
0.070362
0
0.002447
0.236296
4,816
107
96
45.009346
0.816748
0.321429
0
0.0625
0
0
0.316342
0.100093
0
0
0
0.009346
0
1
0
false
0.015625
0.109375
0
0.109375
0.015625
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
0
0
0
0
1
0
a67b1d8de6adb0040480f42eafab24154419c297
425
py
Python
encrypt_decrypt_app/migrations/0019_auto_20200727_0833.py
Chika-Jinanwa/chikas-cipher
91e7139f11132c885bd8872d705ffe3d0ca51b7d
[ "MIT" ]
null
null
null
encrypt_decrypt_app/migrations/0019_auto_20200727_0833.py
Chika-Jinanwa/chikas-cipher
91e7139f11132c885bd8872d705ffe3d0ca51b7d
[ "MIT" ]
9
2021-03-30T14:05:43.000Z
2022-03-12T00:44:58.000Z
encrypt_decrypt_app/migrations/0019_auto_20200727_0833.py
Chika-Jinanwa/chikas-cipher
91e7139f11132c885bd8872d705ffe3d0ca51b7d
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2020-07-27 15:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('encrypt_decrypt_app', '0018_ciphergame_solved'), ] operations = [ migrations.AlterField( model_name='ciphergame', na...
22.368421
74
0.616471
46
425
5.586957
0.804348
0
0
0
0
0
0
0
0
0
0
0.060897
0.265882
425
18
75
23.611111
0.762821
0.105882
0
0
1
0
0.161376
0.058201
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a67cead0877f8b98f05986d181f9f977da542551
333
py
Python
analyzer/migrations/0006_remove_attachment_added_by.py
JackShen1/sentimento-web
19d1973c555fe7d8b745d5ce23555c0fd8c479e2
[ "MIT" ]
1
2021-04-02T10:00:28.000Z
2021-04-02T10:00:28.000Z
analyzer/migrations/0006_remove_attachment_added_by.py
JackShen1/sentimento-web
19d1973c555fe7d8b745d5ce23555c0fd8c479e2
[ "MIT" ]
null
null
null
analyzer/migrations/0006_remove_attachment_added_by.py
JackShen1/sentimento-web
19d1973c555fe7d8b745d5ce23555c0fd8c479e2
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-04-26 10:27 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('analyzer', '0005_auto_20210425_2245'), ] operations = [ migrations.RemoveField( model_name='attachment', name='added_by', ...
18.5
48
0.600601
35
333
5.571429
0.828571
0
0
0
0
0
0
0
0
0
0
0.127119
0.291291
333
17
49
19.588235
0.699153
0.129129
0
0
1
0
0.170139
0.079861
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
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
0
0
0
0
0
0
0
0
1
a680b15fd060d64cf9e6fa6cd3e6835e870e01ee
5,109
py
Python
DataManagements/UserCatesDBManagement.py
CHUht/Hangout_Recommendations
477752da8259e821bb58487cdb9d483a6b208a3f
[ "MIT" ]
2
2020-02-03T22:08:15.000Z
2021-03-11T18:37:47.000Z
DataManagements/UserCatesDBManagement.py
CHUht/Hangout_Recommendations_Back_End
477752da8259e821bb58487cdb9d483a6b208a3f
[ "MIT" ]
null
null
null
DataManagements/UserCatesDBManagement.py
CHUht/Hangout_Recommendations_Back_End
477752da8259e821bb58487cdb9d483a6b208a3f
[ "MIT" ]
null
null
null
import sqlite3 from DataManagements.BackendAPIStaticList import singleton from DataManagements.BackendAPIStaticList import cate_map @singleton class UserCatesManager: def __init__(self): pass def dbconnect(self): """ connect to the database :return: None """ sel...
30.963636
83
0.562145
534
5,109
5.194757
0.245318
0.057678
0.049027
0.060562
0.359048
0.270728
0.204398
0.155732
0.105984
0.075703
0
0.007541
0.351145
5,109
164
84
31.152439
0.829261
0.188491
0
0.475248
0
0
0.210747
0
0
0
0
0
0
1
0.09901
false
0.009901
0.029703
0
0.178218
0.039604
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
0
0
0
0
1
0
a683a3c1e348a3f60fd5ed371539e1911665f6e6
2,255
py
Python
pupillae/fons/generator/dice_roller.py
chomouri/pupillae
7c178eee78e5bff224c8982ca0a3674ea8830e55
[ "MIT" ]
null
null
null
pupillae/fons/generator/dice_roller.py
chomouri/pupillae
7c178eee78e5bff224c8982ca0a3674ea8830e55
[ "MIT" ]
null
null
null
pupillae/fons/generator/dice_roller.py
chomouri/pupillae
7c178eee78e5bff224c8982ca0a3674ea8830e55
[ "MIT" ]
null
null
null
import random import re # Third-party modules: # Local modules: # Function WAI: def roll_3d6(): """Rolls 3d6""" total = 0 for i in range(3): roll = random.randint(1, 6) # print(f"Rolling 1d6: {roll}") total += roll return total # Function WAI: def roll_4d6d(): """Rolls 4d6...
27.5
77
0.536585
294
2,255
3.996599
0.340136
0.054468
0.071489
0.028085
0.29617
0.238298
0.166809
0.142979
0.142979
0.142979
0
0.024793
0.356098
2,255
81
78
27.839506
0.784435
0.122838
0
0.196721
0
0.016393
0.126595
0
0
0
0
0
0
1
0.081967
false
0
0.032787
0
0.213115
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
0
0
0
0
1
0
a684db8114e6f751f36ca0a1f53bcfc8192318de
3,088
py
Python
tests/test_swaplink.py
aratz-lasa/py-swaplink
a1821953704215648749ccde65d6c4d9201998af
[ "MIT" ]
1
2019-10-21T08:54:32.000Z
2019-10-21T08:54:32.000Z
tests/test_swaplink.py
aratz-lasa/py-swaplink
a1821953704215648749ccde65d6c4d9201998af
[ "MIT" ]
1
2021-06-02T00:33:01.000Z
2021-06-02T00:33:01.000Z
tests/test_swaplink.py
aratz-lasa/py-swaplink
a1821953704215648749ccde65d6c4d9201998af
[ "MIT" ]
null
null
null
import asyncio import random from asyncio import Event from typing import List, Any import pytest from swaplink import defaults from tests.utils import setup_network_by_relative_loads # for speeding up tests defaults.HBEAT_SEND_FREQUENCY *= 0.3 defaults.HBEAT_CHECK_FREQUENCY *= 0.3 defaults.RPC_TIMEOUT *= 0.3 @pyt...
29.692308
82
0.731865
414
3,088
5.142512
0.202899
0.050728
0.067637
0.051667
0.633631
0.581494
0.581494
0.564115
0.564115
0.542508
0
0.016881
0.194301
3,088
103
83
29.980583
0.838826
0.045013
0
0.487179
0
0
0
0
0
0
0
0.009709
0.051282
1
0.012821
false
0
0.089744
0
0.102564
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
0
0
0
0
1
0
a685097fe33f7cb01421c71457d5d7a015032c99
110
py
Python
Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex005.py
Jhonattan-rocha/Meus-primeiros-programas
f5971b66c0afd049b5d0493e8b7a116b391d058e
[ "MIT" ]
null
null
null
Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex005.py
Jhonattan-rocha/Meus-primeiros-programas
f5971b66c0afd049b5d0493e8b7a116b391d058e
[ "MIT" ]
null
null
null
Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex005.py
Jhonattan-rocha/Meus-primeiros-programas
f5971b66c0afd049b5d0493e8b7a116b391d058e
[ "MIT" ]
null
null
null
n = int(input("Digite um número: ")) print("O anecessor do número é {} e o sucessor é {} ".format(n-1, n+1))
27.5
71
0.618182
21
110
3.238095
0.714286
0.058824
0
0
0
0
0
0
0
0
0
0.022222
0.181818
110
3
72
36.666667
0.733333
0
0
0
0
0
0.572727
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
a6850dc67dbc459d1feab97522a0718104e78923
846
py
Python
opening_window.py
m3hrab/Snake-and-ladder-game
bc69d280eb893eb658701218b7b42e321e5c41f3
[ "MIT" ]
1
2021-10-04T04:01:49.000Z
2021-10-04T04:01:49.000Z
opening_window.py
m3hrab/Snake-and-Ladder-game
bc69d280eb893eb658701218b7b42e321e5c41f3
[ "MIT" ]
null
null
null
opening_window.py
m3hrab/Snake-and-Ladder-game
bc69d280eb893eb658701218b7b42e321e5c41f3
[ "MIT" ]
null
null
null
import pygame import time class Intro(): """ A class that represent opening window of the game and this window hold the play button, music button, game sound button """ def __init__(self,screen): self.screen = screen def show_open_window(self): # load the i...
24.171429
60
0.599291
105
846
4.647619
0.428571
0.122951
0.086066
0.07377
0
0
0
0
0
0
0
0.00354
0.332151
846
34
61
24.882353
0.860177
0.295508
0
0
0
0
0.030019
0
0
0
0
0
0
1
0.153846
false
0
0.153846
0
0.384615
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
0
0
0
0
1
0
a68586830537b4c7d2e69cd8efe90faed5602e2b
13,741
py
Python
gewittergefahr/scripts/deep_learning_helper.py
dopplerchase/GewitterGefahr
4415b08dd64f37eba5b1b9e8cc5aa9af24f96593
[ "MIT" ]
26
2018-10-04T01:07:35.000Z
2022-01-29T08:49:32.000Z
gewittergefahr/scripts/deep_learning_helper.py
liuximarcus/GewitterGefahr
d819874d616f98a25187bfd3091073a2e6d5279e
[ "MIT" ]
4
2017-12-25T02:01:08.000Z
2018-12-19T01:54:21.000Z
gewittergefahr/scripts/deep_learning_helper.py
liuximarcus/GewitterGefahr
d819874d616f98a25187bfd3091073a2e6d5279e
[ "MIT" ]
11
2017-12-10T23:05:29.000Z
2022-01-29T08:49:33.000Z
"""Handles input args for training deep-learning models.""" import numpy from gewittergefahr.gg_utils import soundings from gewittergefahr.deep_learning import cnn from gewittergefahr.deep_learning import deep_learning_utils as dl_utils TIME_FORMAT = '%Y-%m-%d-%H%M%S' SOUNDING_HEIGHTS_M_AGL = soundings.DEFAULT_HEIGHT...
40.414706
80
0.755695
1,893
13,741
5.07607
0.127839
0.049537
0.054844
0.080654
0.571652
0.492351
0.429805
0.335519
0.276199
0.229576
0
0.003885
0.157121
13,741
339
81
40.533923
0.825764
0.019358
0
0.22179
0
0.003891
0.320443
0.081133
0
0
0
0
0
1
0.003891
false
0
0.015564
0
0.023346
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
0
0
0
0
1
0
a6864cff30190d27e7138fb69ceaf1b96919cb06
1,859
py
Python
custom_components/rinnaitouch/__init__.py
funtastix/rinnaitouch
272b3a4dcd8bcb66a9656c3f9ca497a74a7244b6
[ "MIT" ]
4
2022-02-17T22:26:14.000Z
2022-03-31T05:45:53.000Z
custom_components/rinnaitouch/__init__.py
funtastix/rinnaitouch
272b3a4dcd8bcb66a9656c3f9ca497a74a7244b6
[ "MIT" ]
8
2022-02-19T01:37:16.000Z
2022-03-29T21:12:29.000Z
custom_components/rinnaitouch/__init__.py
funtastix/rinnaitouch
272b3a4dcd8bcb66a9656c3f9ca497a74a7244b6
[ "MIT" ]
null
null
null
"""Set up main entity.""" # pylint: disable=duplicate-code import logging from dataclasses import dataclass from homeassistant.config_entries import ConfigEntry from homeassistant.exceptions import ConfigEntryNotReady from homeassistant.const import CONF_HOST from homeassistant.core import HomeAssistant from homeassis...
26.942029
95
0.731038
212
1,859
6.254717
0.415094
0.076923
0.033183
0.042232
0.057315
0
0
0
0
0
0
0
0.18397
1,859
68
96
27.338235
0.874094
0.077999
0
0
0
0
0.016169
0
0
0
0
0
0
1
0.021739
false
0.021739
0.217391
0
0.369565
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
0
0
0
0
1
0
a686bc5588bf96d2912d72d16b95f0e69f7601c3
4,238
py
Python
python/pydiffx/dom/writer.py
beanbaginc/diffx
d913b4c94fa91bdabd8083882bd1acbe451ed5f8
[ "MIT" ]
null
null
null
python/pydiffx/dom/writer.py
beanbaginc/diffx
d913b4c94fa91bdabd8083882bd1acbe451ed5f8
[ "MIT" ]
null
null
null
python/pydiffx/dom/writer.py
beanbaginc/diffx
d913b4c94fa91bdabd8083882bd1acbe451ed5f8
[ "MIT" ]
1
2022-02-20T16:29:08.000Z
2022-02-20T16:29:08.000Z
"""Writer for generating a DiffX file from DOM objects.""" from __future__ import unicode_literals import six from pydiffx.writer import DiffXWriter from pydiffx.sections import CONTENT_SECTIONS class DiffXDOMWriter(object): """A writer for generating a DiffX file from DOM objects. This will write a :py:c...
30.271429
77
0.596272
467
4,238
5.280514
0.261242
0.028386
0.041363
0.034063
0.317518
0.306164
0.226683
0.194242
0.164639
0.092457
0
0
0.327513
4,238
139
78
30.489209
0.865263
0.434875
0
0.040816
0
0
0.033103
0
0
0
0
0
0
1
0.102041
false
0
0.081633
0
0.285714
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
0
0
0
0
1
0
a687d7feca22a1b98095bff58c06be97ab2cb464
1,540
py
Python
L3_numpy_pandas_2D/A_2D_data.py
angelmtenor/IDAFC
9d23746fd02e4eda2569d75b3c7a1383277e6e78
[ "MIT" ]
null
null
null
L3_numpy_pandas_2D/A_2D_data.py
angelmtenor/IDAFC
9d23746fd02e4eda2569d75b3c7a1383277e6e78
[ "MIT" ]
null
null
null
L3_numpy_pandas_2D/A_2D_data.py
angelmtenor/IDAFC
9d23746fd02e4eda2569d75b3c7a1383277e6e78
[ "MIT" ]
null
null
null
import numpy as np # Subway ridership for 5 stations on 10 different days ridership = np.array([ [0, 0, 2, 5, 0], [1478, 3877, 3674, 2328, 2539], [1613, 4088, 3991, 6461, 2691], [1560, 3392, 3826, 4787, 2613], [1608, 4802, 3932, 4477, 2705], [1576, 3933, 3909, 4979, 2685], [95, 229, 255, 49...
28
76
0.63961
238
1,540
4.071429
0.52521
0.072239
0.04644
0.043344
0.173375
0.066047
0
0
0
0
0
0.164315
0.217532
1,540
54
77
28.518519
0.639834
0.343506
0
0.1
0
0
0
0
0
0
0
0
0
1
0.033333
false
0
0.033333
0
0.1
0.233333
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
0
0
0
0
1
0
a688464b1c3891545d1f144a4ff2e40f465e7ddf
1,158
py
Python
tests/init/feature.py
Carsten-Leue/ReduxPY
3ca633c4d4d8a53418ee1049d571d1094feb14be
[ "MIT" ]
13
2020-04-30T15:06:45.000Z
2021-11-28T20:57:34.000Z
tests/init/feature.py
Carsten-Leue/ReduxPY
3ca633c4d4d8a53418ee1049d571d1094feb14be
[ "MIT" ]
4
2020-04-29T19:43:10.000Z
2021-02-04T15:19:44.000Z
tests/init/feature.py
Carsten-Leue/ReduxPY
3ca633c4d4d8a53418ee1049d571d1094feb14be
[ "MIT" ]
4
2021-02-13T01:18:11.000Z
2022-02-03T08:04:16.000Z
from typing import Any from rx import Observable, pipe from rx.operators import do_action, filter, map, ignore_elements from redux import ( Epic, Reducer, ReduxFeatureModule, combine_epics, create_action, create_feature_module, handle_actions, of_init_feature, of_type, select_ac...
23.632653
78
0.736615
149
1,158
5.315436
0.275168
0.125
0.114899
0.07197
0.049242
0.049242
0
0
0
0
0
0
0.185665
1,158
48
79
24.125
0.839873
0.02677
0
0
0
0
0.028029
0
0
0
0
0
0
1
0.0625
false
0
0.125
0.03125
0.25
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
0
0
0
0
1
0
a68903c183ba83fb6d52c10e82e9219b6946fa95
323
py
Python
mac_random.py
therealedsheenan/public-spoofify
fab1c6f1dad1a1364268cbe79e55a3675470fe5c
[ "MIT" ]
null
null
null
mac_random.py
therealedsheenan/public-spoofify
fab1c6f1dad1a1364268cbe79e55a3675470fe5c
[ "MIT" ]
4
2020-02-11T23:39:49.000Z
2022-01-13T00:40:48.000Z
mac_random.py
therealedsheenan/public-spoofify
fab1c6f1dad1a1364268cbe79e55a3675470fe5c
[ "MIT" ]
null
null
null
import random def randomMAC(): return [ 0x00, 0x16, 0x3e, random.randint(0x00, 0x7f), random.randint(0x00, 0xff), random.randint(0x00, 0xff) ] def MACprettyprint(mac): return ':'.join(map(lambda x: "%02x" % x, mac)) def randomize(): return MACprettyprint(randomMAC()...
21.533333
51
0.597523
36
323
5.361111
0.527778
0.202073
0.264249
0.217617
0
0
0
0
0
0
0
0.096234
0.260062
323
14
52
23.071429
0.711297
0
0
0
0
0
0.015528
0
0
0
0.111801
0
0
1
0.3
false
0
0.1
0.3
0.7
0.2
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
a68a71c2d5af7592d3f37e6fb0303698943d7a06
1,698
py
Python
lms_app/urls.py
sashanight/LMS
8290805d9c3fd2b7ae50896ba75ee112b50619e3
[ "MIT" ]
null
null
null
lms_app/urls.py
sashanight/LMS
8290805d9c3fd2b7ae50896ba75ee112b50619e3
[ "MIT" ]
null
null
null
lms_app/urls.py
sashanight/LMS
8290805d9c3fd2b7ae50896ba75ee112b50619e3
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views app_name = 'lms_app' urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^authentication$', views.auth, name='authentication'), url(r'^registration$', views.registration, name='registration'), url(r'^my_profile$', views.my_profile_request,...
58.551724
115
0.677856
263
1,698
4.114068
0.186312
0.05915
0.04159
0.049908
0.315157
0.290203
0.237523
0.193161
0.193161
0.193161
0
0.014407
0.100707
1,698
29
116
58.551724
0.694172
0.084806
0
0
0
0.125
0.481959
0.316366
0
0
0
0
0
1
0
false
0.083333
0.083333
0
0.083333
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
0
0
0
0
0
1
a68ae2307a359f7e47d9b87116672f1fc3da5cfb
909
py
Python
backend/backend/urls.py
Zhiwei1996/Todoist
c260ac051e909243395c98e8b4f45a42abb548ea
[ "MIT" ]
null
null
null
backend/backend/urls.py
Zhiwei1996/Todoist
c260ac051e909243395c98e8b4f45a42abb548ea
[ "MIT" ]
null
null
null
backend/backend/urls.py
Zhiwei1996/Todoist
c260ac051e909243395c98e8b4f45a42abb548ea
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """backend URL Configuration """ from django.conf.urls import include, url from django.contrib import admin from rest_framework.schemas import get_schema_view from rest_framework.documentation import include_docs_urls from todoist import views API_TITLE = 'Todoist API'...
31.344828
88
0.665567
120
909
4.883333
0.4
0.040956
0.047782
0.068259
0.047782
0
0
0
0
0
0
0.013699
0.19692
909
28
89
32.464286
0.789041
0.075908
0
0
0
0
0.201923
0
0
0
0
0
0
1
0
false
0
0.277778
0
0.277778
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
0
0
0
0
1
0
a68b28a50be4156d9050576bd63538c505309d28
342
py
Python
pyvis/PIMCPy/TestRepulsive.py
b3sigma/fourd
8df1300d9820ffa65e0df4519ce3795f1b2e7c9c
[ "MIT" ]
20
2015-05-15T20:46:40.000Z
2022-02-26T14:30:37.000Z
pyvis/PIMCPy/TestRepulsive.py
b3sigma/fourd
8df1300d9820ffa65e0df4519ce3795f1b2e7c9c
[ "MIT" ]
null
null
null
pyvis/PIMCPy/TestRepulsive.py
b3sigma/fourd
8df1300d9820ffa65e0df4519ce3795f1b2e7c9c
[ "MIT" ]
3
2016-08-13T09:44:49.000Z
2018-07-29T16:52:41.000Z
#!/bin/env python import numpy #import pylab #import stats from VMCHelp import * import random import numpy from PIMC5 import * numParticles=2 numTimeSlices=10 tau=0.1 lam=0.5 Path=PathClass(numParticles,numTimeSlices,tau,lam) Path.SetCouplingConstant(1.0) Path.SetPotential(HarmonicOscillator) print PIMC(10000,Path,...
17.1
50
0.815789
47
342
5.93617
0.617021
0.078853
0
0
0
0
0
0
0
0
0
0.048387
0.093567
342
19
51
18
0.851613
0.116959
0
0.153846
0
0
0
0
0
0
0
0
0
0
null
null
0
0.384615
null
null
0.076923
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
1
0
0
0
1
0
0
0
0
2
a68c75b3fe9c052bf3c96144a5e5dab51f6f733d
139
py
Python
.ycm_extra_conf.py
jaccovanschaik/Into
1292c913957fdcbebf291e82ee3896b1b9883e51
[ "MIT" ]
null
null
null
.ycm_extra_conf.py
jaccovanschaik/Into
1292c913957fdcbebf291e82ee3896b1b9883e51
[ "MIT" ]
null
null
null
.ycm_extra_conf.py
jaccovanschaik/Into
1292c913957fdcbebf291e82ee3896b1b9883e51
[ "MIT" ]
null
null
null
import os def FlagsForFile(filename, **kwargs): return { 'flags': [ '-x', 'c11', '-Wall', '-Wpointer-arith', ], }
13.9
37
0.496403
13
139
5.307692
1
0
0
0
0
0
0
0
0
0
0
0.020202
0.28777
139
9
38
15.444444
0.676768
0
0
0
0
0
0.215827
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
a68c82f5f2c8691b5638188a847f6e4c2977e2f2
731
py
Python
zingkd/zingkd/models/notes.py
brukhabtu/zingk
517bad148b39c4961885908a287cb1c7bd8b65c2
[ "MIT" ]
null
null
null
zingkd/zingkd/models/notes.py
brukhabtu/zingk
517bad148b39c4961885908a287cb1c7bd8b65c2
[ "MIT" ]
3
2016-07-09T22:03:40.000Z
2016-07-28T21:15:14.000Z
zingkd/zingkd/models/notes.py
brukhabtu/zingk
517bad148b39c4961885908a287cb1c7bd8b65c2
[ "MIT" ]
null
null
null
from zingkd.models.meta import Base from sqlalchemy import Column, func from sqlalchemy.types import Unicode, Integer, DateTime, Boolean, UnicodeText from sqlalchemy.orm import relationship, backref class Note(Base): __tablename__ = 'notes' __table_args__ = {'schema': 'zingk'} note_id = Column(Integer,...
34.809524
77
0.746922
88
731
6.034091
0.5
0.146893
0.143126
0.195857
0.177024
0.177024
0.177024
0.177024
0
0
0
0.00639
0.143639
731
20
78
36.55
0.841853
0.087551
0
0
0
0
0.033083
0
0
0
0
0
0
1
0
false
0
0.307692
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a68cf4ecb5b81e1cac7d631028ac2e152c08518b
1,192
py
Python
secs_to_time.py
bonny1992/oneplus-notificator-fixed
2e47d8b21b3100332f2a59b95d79b49e0d680bae
[ "Apache-2.0" ]
null
null
null
secs_to_time.py
bonny1992/oneplus-notificator-fixed
2e47d8b21b3100332f2a59b95d79b49e0d680bae
[ "Apache-2.0" ]
null
null
null
secs_to_time.py
bonny1992/oneplus-notificator-fixed
2e47d8b21b3100332f2a59b95d79b49e0d680bae
[ "Apache-2.0" ]
null
null
null
import math def secs_to_time(seconds): if seconds < 60: return "{seconds} secondi".format( seconds = seconds ) else: if int(seconds / 60 / 60 / 24) > 0: days = seconds / 60 / 60 / 24 return "{days} giorni, {hours} ore, {minutes} minuti, {seconds} secondi"....
37.25
92
0.494128
135
1,192
4.333333
0.192593
0.107692
0.094017
0.138462
0.500855
0.420513
0.358974
0.088889
0
0
0
0.067445
0.353188
1,192
31
93
38.451613
0.69131
0
0
0
0
0
0.136745
0
0
0
0
0
0
1
0.034483
false
0
0.034483
0
0.206897
0.034483
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
0
0
0
0
1
0
a6909423f35884be1c89cea4b72e30e85d038b38
425
py
Python
accounts/migrations/0005_auto_20190819_1447.py
jacobfelknor/sterling
aa4e7a22feb47814e5fae12078f4d9a849d17642
[ "MIT" ]
null
null
null
accounts/migrations/0005_auto_20190819_1447.py
jacobfelknor/sterling
aa4e7a22feb47814e5fae12078f4d9a849d17642
[ "MIT" ]
22
2019-09-02T18:03:08.000Z
2021-06-10T18:38:30.000Z
accounts/migrations/0005_auto_20190819_1447.py
jacobfelknor/sterling
aa4e7a22feb47814e5fae12078f4d9a849d17642
[ "MIT" ]
null
null
null
# Generated by Django 2.2.4 on 2019-08-19 20:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0004_auto_20190819_1441'), ] operations = [ migrations.AlterField( model_name='account', n...
22.368421
70
0.585882
43
425
5.674419
0.767442
0.090164
0
0
0
0
0
0
0
0
0
0.105085
0.305882
425
18
71
23.611111
0.722034
0.105882
0
0
1
0
0.161111
0.063889
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a6916c2562bc34fa77693f0eed4d20bec95c048f
140
py
Python
hook-ctypes.macholib.py
RayFV/yuntech_netflow_check
da30a336cac24e738d5ee5bc20401e198a3b2ce7
[ "MIT" ]
null
null
null
hook-ctypes.macholib.py
RayFV/yuntech_netflow_check
da30a336cac24e738d5ee5bc20401e198a3b2ce7
[ "MIT" ]
null
null
null
hook-ctypes.macholib.py
RayFV/yuntech_netflow_check
da30a336cac24e738d5ee5bc20401e198a3b2ce7
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from PyInstaller.utils.hooks import copy_metadata datas = copy_metadata('apscheduler')
23.333333
50
0.707143
18
140
5.388889
0.888889
0.247423
0
0
0
0
0
0
0
0
0
0.016667
0.142857
140
6
51
23.333333
0.791667
0.307143
0
0
0
0
0.120879
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
a6929cee90954c7741a45c1aea4c6b9d650cee79
2,042
py
Python
backend/jobs/tests.py
k3ndr1c/ML-Platform
35af599602f94b386f13c9ba2c0fa2b678a54375
[ "MIT" ]
null
null
null
backend/jobs/tests.py
k3ndr1c/ML-Platform
35af599602f94b386f13c9ba2c0fa2b678a54375
[ "MIT" ]
null
null
null
backend/jobs/tests.py
k3ndr1c/ML-Platform
35af599602f94b386f13c9ba2c0fa2b678a54375
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from django.test import TestCase from django.urls import reverse from rest_framework import status from rest_framework.test import APIClient from .models import Job, Prediction from .serializers import JobSerializer, PredictionSerializer CREATE_JOB_URL = reverse('jobs...
30.029412
69
0.677767
250
2,042
5.348
0.356
0.044877
0.026926
0.04712
0.253553
0.253553
0.253553
0.153328
0.153328
0.153328
0
0.014393
0.217434
2,042
67
70
30.477612
0.822278
0.114104
0
0.190476
0
0
0.060742
0.011811
0
0
0
0
0.095238
1
0.166667
false
0.02381
0.166667
0.02381
0.428571
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
0
0
0
0
1
0
a692ae98327126c3e0a8986910c448aaa4cdb03b
283
py
Python
Darlington/phase2/Data Structure/day 59 solution/qtn7.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
Darlington/phase2/Data Structure/day 59 solution/qtn7.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
Darlington/phase2/Data Structure/day 59 solution/qtn7.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
#program to convert an array to an array of machine values and return the bytes representation. import array import binascii a = array.array('i', [1,2,3,4,5,6]) print("Original array:") print('A1:', a) bytes_array = a.tobytes() print('Array of bytes:', binascii.hexlify(bytes_array))
35.375
95
0.738516
48
283
4.3125
0.583333
0.067633
0
0
0
0
0
0
0
0
0
0.028112
0.120141
283
8
96
35.375
0.803213
0.332155
0
0
0
0
0.179894
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.428571
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
0
0
1
0
2
a693893f40cf33adad9c304b0df64f4d022f6bf1
22,949
py
Python
swords/__init__.py
p-lambda/swords
04ca75370d0ce098a7f4db68240fc8e79a4f7b3b
[ "CC-BY-3.0" ]
25
2021-05-24T06:54:45.000Z
2022-03-18T15:30:39.000Z
swords/__init__.py
p-lambda/swords
04ca75370d0ce098a7f4db68240fc8e79a4f7b3b
[ "CC-BY-3.0" ]
2
2021-06-11T02:39:47.000Z
2021-09-20T15:06:46.000Z
swords/__init__.py
p-lambda/swords
04ca75370d0ce098a7f4db68240fc8e79a4f7b3b
[ "CC-BY-3.0" ]
2
2021-11-19T09:06:30.000Z
2022-03-24T18:31:40.000Z
from collections import defaultdict import copy from enum import Enum import hashlib import json # From UD v2: https://universaldependencies.org/u/pos/ class Pos(Enum): UNKNOWN = 0 # Open class ADJ = 1 ADV = 2 INTJ = 3 NOUN = 4 PROPN = 5 VERB = 6 # Closed class ADP = 7 AUX = 8 CCONJ = 9 DET =...
31.610193
137
0.657066
3,117
22,949
4.591594
0.095605
0.031861
0.011948
0.01076
0.514184
0.398407
0.320151
0.271241
0.251118
0.23903
0
0.00257
0.219966
22,949
725
138
31.653793
0.796939
0.028847
0
0.306667
0
0
0.123209
0.011247
0
0
0
0.001379
0.015
1
0.088333
false
0.001667
0.008333
0.028333
0.223333
0.001667
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
0
0
0
0
1
0
a69603d25cb114ace361699985f470a1488e41a6
7,239
py
Python
src/gumbel_social_transformer/st_model_tcn.py
tedhuang96/gst
ac300d34e17fa2d6639c1df329ac1e8f80bccaec
[ "MIT" ]
8
2021-11-28T21:16:27.000Z
2022-03-22T06:56:16.000Z
src/gumbel_social_transformer/st_model_tcn.py
tedhuang96/gst
ac300d34e17fa2d6639c1df329ac1e8f80bccaec
[ "MIT" ]
null
null
null
src/gumbel_social_transformer/st_model_tcn.py
tedhuang96/gst
ac300d34e17fa2d6639c1df329ac1e8f80bccaec
[ "MIT" ]
null
null
null
import torch import torch.nn as nn from src.gumbel_social_transformer.gumbel_social_transformer import GumbelSocialTransformer from src.gumbel_social_transformer.temporal_convolution_net import TemporalConvolutionNet def offset_error_square_full_partial(x_pred, x_target, loss_mask_ped, loss_mask_pred_seq): assert...
49.924138
166
0.644426
1,021
7,239
4.219393
0.152791
0.066852
0.038301
0.034123
0.368617
0.229573
0.127205
0.094243
0.048282
0.048282
0
0.018474
0.244785
7,239
145
167
49.924138
0.769526
0
0
0.085938
0
0
0.061188
0.020442
0
0
0
0
0.039063
1
0.046875
false
0
0.03125
0
0.125
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
0
0
0
0
1
0
a69669d6bb96032de0f69b7cc74ce536e85ea475
7,598
py
Python
my_source/__myglobal.py
IBNBlank/Shooting_Stars
38a642ab5a6d1cd59c480f11ae8eea9c86192a46
[ "MIT" ]
3
2018-07-28T15:00:16.000Z
2021-07-15T12:21:58.000Z
my_source/__myglobal.py
IBNBlank/Shooting_Stars
38a642ab5a6d1cd59c480f11ae8eea9c86192a46
[ "MIT" ]
null
null
null
my_source/__myglobal.py
IBNBlank/Shooting_Stars
38a642ab5a6d1cd59c480f11ae8eea9c86192a46
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @Author: IBNBlank # @Date: 2018-07-22 19:56:30 # @Last Modified by: IBNBlank # @Last Modified time: 2018-07-28 22:19:12 import pygame from os import path ##### Color Define ##### COLOR = { "BLACK": (0,0,0), "WHITE": (255,255,255), "RED": (255,0,0), "YELLOW": (255,255,0), ...
39.572917
91
0.672809
1,101
7,598
4.355132
0.128065
0.123462
0.106361
0.134724
0.556413
0.448175
0.294473
0.279458
0.199583
0.189572
0
0.031449
0.154646
7,598
192
92
39.572917
0.715086
0.035931
0
0.077844
0
0
0.209019
0.00332
0
0
0
0
0
1
0.005988
false
0
0.011976
0
0.017964
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
0
0
0
0
1
0
a69710ab18965d75ae34f2d798ed7836b803b1f0
922
py
Python
mpf/tests/test_SegmentMappings.py
Scottacus64/mpf
fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a
[ "MIT" ]
163
2015-01-25T02:19:50.000Z
2022-03-26T12:00:28.000Z
mpf/tests/test_SegmentMappings.py
Scottacus64/mpf
fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a
[ "MIT" ]
1,086
2015-03-23T19:53:17.000Z
2022-03-24T20:46:11.000Z
mpf/tests/test_SegmentMappings.py
Scottacus64/mpf
fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a
[ "MIT" ]
148
2015-01-28T02:31:39.000Z
2022-03-22T13:54:01.000Z
import unittest from mpf.core.segment_mappings import TextToSegmentMapper, BCD_SEGMENTS class TestSegmentDisplay(unittest.TestCase): def test_text_to_mapping(self): mapping = TextToSegmentMapper.map_text_to_segments("1337.23", 10, BCD_SEGMENTS, embed_dots=True) self.assertEqual( [BCD...
40.086957
105
0.651844
115
922
4.921739
0.330435
0.330389
0.24735
0.132509
0.742049
0.742049
0.742049
0.715548
0.542403
0.404594
0
0.034106
0.204989
922
22
106
41.909091
0.738063
0
0
0.235294
0
0
0.02603
0
0
0
0
0
0.117647
1
0.058824
false
0
0.117647
0
0.235294
0
0
0
0
null
1
1
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
a69754150f6815f08c8e7d520f80806f794c55ac
1,845
py
Python
python/example.py
LenakeTech/crowdin-hybrid-sso-examples
7da0868f6537d6abb2f6004f428e15002535eb8d
[ "Apache-2.0" ]
1
2021-06-08T14:29:53.000Z
2021-06-08T14:29:53.000Z
python/example.py
LenakeTech/crowdin-hybrid-sso-examples
7da0868f6537d6abb2f6004f428e15002535eb8d
[ "Apache-2.0" ]
null
null
null
python/example.py
LenakeTech/crowdin-hybrid-sso-examples
7da0868f6537d6abb2f6004f428e15002535eb8d
[ "Apache-2.0" ]
2
2021-03-31T02:59:45.000Z
2021-09-08T10:54:19.000Z
# Copyright 2019 Crowdin # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software...
30.245902
97
0.692683
266
1,845
4.725564
0.567669
0.038186
0.020684
0.025457
0
0
0
0
0
0
0
0.032552
0.16748
1,845
60
98
30.75
0.785807
0.304607
0
0
0
0
0.240536
0
0
0
0
0
0
1
0.052632
false
0
0.131579
0
0.236842
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
0
0
0
0
1
0
a69792fc01aa5b8cfd3d5c9274c48d77d86db356
6,928
py
Python
chrischan-master/chrischan-master/main.py
b9king/Discord-Bots
e6b08eeeb8de0952726883cfce0717d4866eacc9
[ "MIT" ]
null
null
null
chrischan-master/chrischan-master/main.py
b9king/Discord-Bots
e6b08eeeb8de0952726883cfce0717d4866eacc9
[ "MIT" ]
null
null
null
chrischan-master/chrischan-master/main.py
b9king/Discord-Bots
e6b08eeeb8de0952726883cfce0717d4866eacc9
[ "MIT" ]
null
null
null
import discord import helper from helper import * client=discord.Client() @client.event async def on_ready(): print('logged in as') print(client.user.name) print(client.user.id) print('-----') @client.event async def on_guild_join(guild): name = "**<:Png:590089990780878848> Christian Westo...
34.81407
200
0.604648
819
6,928
4.943834
0.267399
0.048407
0.04001
0.048901
0.601383
0.541615
0.476167
0.466288
0.433193
0.433193
0.000289
0.041147
0.270352
6,928
198
201
34.989899
0.758853
0.043303
0
0.464789
0
0.014085
0.38544
0.025072
0
0
0.010874
0
0
1
0
false
0
0.021127
0
0.021127
0.028169
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
0
0
0
0
1
0
a697f19eca0e1bf447aac534db1c805ae86bf32e
4,095
py
Python
python/api/config/serializers.py
dimuha-rs/adcm
0f49cc9ece16c1e257be12375a64b65a34b3a3ae
[ "Apache-2.0" ]
null
null
null
python/api/config/serializers.py
dimuha-rs/adcm
0f49cc9ece16c1e257be12375a64b65a34b3a3ae
[ "Apache-2.0" ]
null
null
null
python/api/config/serializers.py
dimuha-rs/adcm
0f49cc9ece16c1e257be12375a64b65a34b3a3ae
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
38.271028
80
0.723077
480
4,095
6.041667
0.329167
0.035862
0.028966
0.022069
0.186897
0.156552
0.132414
0.032414
0.032414
0.032414
0
0.001202
0.187302
4,095
106
81
38.632075
0.870192
0.151893
0
0.084507
0
0
0.037016
0.006362
0
0
0
0
0
1
0.084507
false
0
0.112676
0.028169
0.690141
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
0
0
1
0
0
1
a6985ed0535d74a9aa8aab737b5e80423499a130
6,433
py
Python
qtvscodestyle/vscode/color_registry_manager.py
Greatness7/QtVSCodeStyle
2654ca967c7ae5db3ce3fb46657ace9f1104f6b9
[ "MIT" ]
8
2021-10-04T00:21:25.000Z
2022-03-14T19:57:03.000Z
qtvscodestyle/vscode/color_registry_manager.py
Greatness7/QtVSCodeStyle
2654ca967c7ae5db3ce3fb46657ace9f1104f6b9
[ "MIT" ]
null
null
null
qtvscodestyle/vscode/color_registry_manager.py
Greatness7/QtVSCodeStyle
2654ca967c7ae5db3ce3fb46657ace9f1104f6b9
[ "MIT" ]
3
2021-11-15T23:58:33.000Z
2022-02-01T18:50:01.000Z
# ============================================================================================= # QtVSCodeStyle. # # Copyright (c) 2015- Microsoft Corporation # Copyright (c) 2021- Yunosuke Ohsugi # # Distributed under the terms of the MIT License. # See https://github.com/microsoft/vscode/blob/main/LICENSE.txt # #...
41.237179
113
0.645733
705
6,433
5.625532
0.164539
0.110943
0.042864
0.047655
0.373424
0.266515
0.224155
0.159102
0.113464
0.067322
0
0.002979
0.217162
6,433
155
114
41.503226
0.784551
0.089849
0
0.082569
0
0
0.048296
0
0
0
0
0
0
1
0.119266
false
0.009174
0.036697
0.06422
0.46789
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
0
0
0
0
1
0
a6998e877e1ced03d03d52f574560425b5d5faf2
181
py
Python
src/Model/MetaCommand.py
anthonyf996/ChessApp
614f72bc641793681fd5ad7040d6a4c407c9ae9e
[ "MIT" ]
null
null
null
src/Model/MetaCommand.py
anthonyf996/ChessApp
614f72bc641793681fd5ad7040d6a4c407c9ae9e
[ "MIT" ]
null
null
null
src/Model/MetaCommand.py
anthonyf996/ChessApp
614f72bc641793681fd5ad7040d6a4c407c9ae9e
[ "MIT" ]
null
null
null
class MetaCommand: def __init__(self, commands): self.commands = commands def execute(self): raise NotImplementedError def undo(self): raise NotImplementedError
18.1
31
0.729282
19
181
6.736842
0.526316
0.1875
0.4375
0
0
0
0
0
0
0
0
0
0.198895
181
9
32
20.111111
0.882759
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0
0
0.571429
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
5
a69a0ad61363ec1a9cf3a9af6dcd2a95de3f22fa
495
py
Python
python/test_region.py
csd2022fuchuang/yolov5-opencv-cpp-python
5b52dbffed6733a1353bd27a0001c09821ee0714
[ "MIT" ]
null
null
null
python/test_region.py
csd2022fuchuang/yolov5-opencv-cpp-python
5b52dbffed6733a1353bd27a0001c09821ee0714
[ "MIT" ]
null
null
null
python/test_region.py
csd2022fuchuang/yolov5-opencv-cpp-python
5b52dbffed6733a1353bd27a0001c09821ee0714
[ "MIT" ]
1
2022-03-24T09:01:45.000Z
2022-03-24T09:01:45.000Z
from shapely.geometry import Polygon import cv2 image = cv2.imread("a.png") window_name = 'Image' # Center coordinates center_coordinates = (120, 50) # Radius of circle radius = 20 # Blue color in BGR color = (255, 0, 0) # Line thickness of 2 px thickness = 2 # Using cv2.circle() method # Draw a circle with blue l...
19.8
71
0.739394
77
495
4.701299
0.506494
0.088398
0.082873
0.077348
0
0
0
0
0
0
0
0.053269
0.165657
495
25
72
19.8
0.823245
0.365657
0
0
0
0
0.032573
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
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
0
0
0
0
1
0
a69c4256c8120424bda3b8934dfaa52b9fbb2738
326
py
Python
testes/test_polinomios.py
DiegoAscanio/matriztdd
eabd8b2bc05e20a062f8b2a23b032637d88bbbeb
[ "MIT" ]
null
null
null
testes/test_polinomios.py
DiegoAscanio/matriztdd
eabd8b2bc05e20a062f8b2a23b032637d88bbbeb
[ "MIT" ]
6
2021-04-06T18:22:48.000Z
2022-03-12T00:52:18.000Z
testes/test_polinomios.py
DiegoAscanio/matriztdd
eabd8b2bc05e20a062f8b2a23b032637d88bbbeb
[ "MIT" ]
null
null
null
from polinomios.polinomios import p_de_A import numpy as np def test_p_de_A(): A = np.array([[-1, 4], [2, 1]]) p = [1, 0, -9] assert np.allclose(p_de_A(p, A), np.zeros((2,2))) def test_q_de_A(): A = np.array([[-1, 4], [2, 1]]) q = [2, 3] assert np.allclose(p_de_A(q, A), np.array([[1, 8], [4, 5...
23.285714
64
0.546012
68
326
2.441176
0.352941
0.090361
0.096386
0.162651
0.421687
0.421687
0.180723
0.180723
0.180723
0
0
0.07451
0.217791
326
13
65
25.076923
0.576471
0
0
0.2
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.2
0
0.4
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
0
0
0
0
0
1
a69c769295af960c87c6100c3fb68c7509427ad5
1,045
py
Python
reverse number.py
TheVishwajeetJagtap/Python-Day-4-Assignments-05-03-21-
e26a95bbc4ce07a369bef44fa15281e5d0e398ec
[ "MIT" ]
null
null
null
reverse number.py
TheVishwajeetJagtap/Python-Day-4-Assignments-05-03-21-
e26a95bbc4ce07a369bef44fa15281e5d0e398ec
[ "MIT" ]
null
null
null
reverse number.py
TheVishwajeetJagtap/Python-Day-4-Assignments-05-03-21-
e26a95bbc4ce07a369bef44fa15281e5d0e398ec
[ "MIT" ]
null
null
null
#wirte a program to read number from keyboard and print it in reverse number=input("Enter the number") reverse=0 for i in range(len(number)): reminder = int(number) % 10 reverse = (reverse * 10) + reminder number = int(number) / 10 print(reverse) #********************************using slice************...
26.794872
100
0.453589
118
1,045
4.016949
0.313559
0.105485
0.109705
0.160338
0.251055
0
0
0
0
0
0
0.020925
0.1311
1,045
38
101
27.5
0.501101
0.427751
0
0.125
0
0
0.173693
0
0
0
0
0
0
1
0
false
0
0
0
0
0.208333
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
0
0
0
0
0
1
a69d50893a1048337e98b47e928f156375ca87ed
8,247
py
Python
pyNastran/converters/cart3d/test_cart3d.py
jtran10/pyNastran
4aed8e05b91576c2b50ee835f0497a9aad1d2cb0
[ "BSD-3-Clause" ]
null
null
null
pyNastran/converters/cart3d/test_cart3d.py
jtran10/pyNastran
4aed8e05b91576c2b50ee835f0497a9aad1d2cb0
[ "BSD-3-Clause" ]
null
null
null
pyNastran/converters/cart3d/test_cart3d.py
jtran10/pyNastran
4aed8e05b91576c2b50ee835f0497a9aad1d2cb0
[ "BSD-3-Clause" ]
null
null
null
"""tests non-gui related Cart3d class/interface""" from __future__ import print_function import os import unittest from numpy import array_equal, allclose import pyNastran from pyNastran.converters.cart3d.cart3d import read_cart3d from pyNastran.converters.cart3d.cart3d_to_nastran import cart3d_to_nastran_filename, ca...
38.900943
111
0.600946
1,128
8,247
4.190603
0.151596
0.030463
0.038079
0.050349
0.539454
0.45568
0.356251
0.283478
0.232917
0.140681
0
0.068114
0.26834
8,247
211
112
39.085308
0.71528
0.089851
0
0.229814
0
0.006211
0.140516
0.006851
0
0
0
0
0.062112
1
0.055901
false
0
0.080745
0
0.142857
0.012422
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
0
0
0
0
1
0
a69e048cd19a312e36e054eaafec0943cd70d41a
118
py
Python
day1.py
marawat/PyManish
fad4cf042f907c8921c2675fda2a555f38e1f7ef
[ "Apache-2.0" ]
null
null
null
day1.py
marawat/PyManish
fad4cf042f907c8921c2675fda2a555f38e1f7ef
[ "Apache-2.0" ]
null
null
null
day1.py
marawat/PyManish
fad4cf042f907c8921c2675fda2a555f38e1f7ef
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/python3 x = ("Hello") y = "day 1 python" z= "good going" print(y) print (z) print(x) print (x,y,z)
7.866667
20
0.559322
22
118
3
0.590909
0.181818
0
0
0
0
0
0
0
0
0
0.021739
0.220339
118
14
21
8.428571
0.695652
0.152542
0
0
0
0
0.278351
0
0
0
0
0
0
1
0
false
0
0
0
0
0.571429
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
0
0
0
1
0
2
a69e23253f289cfbf526d1538461b44447ecb128
2,260
py
Python
python/evolution_reader.py
hzla/Pokeweb
203f8449179a5a0aeb4fa5d48e483048f09b24d1
[ "MIT" ]
3
2021-03-30T22:07:40.000Z
2021-06-11T02:32:06.000Z
python/evolution_reader.py
hzla/Pokeweb
203f8449179a5a0aeb4fa5d48e483048f09b24d1
[ "MIT" ]
2
2021-07-03T18:04:09.000Z
2022-01-12T18:02:30.000Z
python/evolution_reader.py
hzla/Pokeweb
203f8449179a5a0aeb4fa5d48e483048f09b24d1
[ "MIT" ]
1
2021-09-06T18:20:23.000Z
2021-09-06T18:20:23.000Z
import ndspy import ndspy.rom import code import io import os import os.path from os import path import json import copy def set_global_vars(): global ROM_NAME, NARC_FORMAT, POKEDEX, METHODS, ITEMS, MOVES with open(f'session_settings.json', "r") as outfile: settings = json.load(outfile) ROM_NAME = setting...
25.681818
81
0.684071
369
2,260
4.01626
0.254743
0.04251
0.033063
0.032389
0.24359
0.152497
0.033738
0.033738
0.033738
0
0
0.014864
0.136726
2,260
87
82
25.977011
0.744746
0.04469
0
0.034483
0
0
0.203248
0.106729
0
0
0
0
0
1
0.086207
false
0
0.155172
0.017241
0.275862
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
0
0
0
0
1
0
a6a017b54a214e79dd2139fbb9e101b8d4539ba6
609
py
Python
Python/797.py
JWang169/LintCodeJava
b75b06fa1551f5e4d8a559ef64e1ac29db79c083
[ "CNRI-Python" ]
1
2020-12-10T05:36:15.000Z
2020-12-10T05:36:15.000Z
Python/797.py
JWang169/LintCodeJava
b75b06fa1551f5e4d8a559ef64e1ac29db79c083
[ "CNRI-Python" ]
null
null
null
Python/797.py
JWang169/LintCodeJava
b75b06fa1551f5e4d8a559ef64e1ac29db79c083
[ "CNRI-Python" ]
3
2020-04-06T05:55:08.000Z
2021-08-29T14:26:54.000Z
class Solution: def allPathsSourceTarget(self, graph: List[List[int]]) -> List[List[int]]: N = len(graph) - 1 mappings = {} for i, nodes in enumerate(graph): mappings[i] = nodes result = [] queue = deque([[0]]) while queue: path = queu...
27.681818
78
0.438424
58
609
4.603448
0.534483
0.059925
0.082397
0
0
0
0
0
0
0
0
0.009036
0.454844
609
22
79
27.681818
0.795181
0
0
0
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.166667
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
0
0
0
0
1
0
a6a02d8b5ce16766be107720170a139dd7634fa9
661
py
Python
day-07/part-2/div.py
lypnol/adventofcode-2021
8ba277d698e8c59ca9cd554acc135473f5964b87
[ "MIT" ]
6
2021-11-29T15:32:27.000Z
2021-12-10T12:24:26.000Z
day-07/part-2/div.py
lypnol/adventofcode-2021
8ba277d698e8c59ca9cd554acc135473f5964b87
[ "MIT" ]
9
2021-11-29T15:38:04.000Z
2021-12-13T14:54:16.000Z
day-07/part-2/div.py
lypnol/adventofcode-2021
8ba277d698e8c59ca9cd554acc135473f5964b87
[ "MIT" ]
3
2021-12-02T19:11:44.000Z
2021-12-22T20:52:47.000Z
from tool.runners.python import SubmissionPy class DivSubmission(SubmissionPy): def run(self, s): """ :param s: input in string format :return: solution flag """ # Your code goes here positions = [int(x) for x in s.split(",")] min_pos, max_pos = min(position...
23.607143
110
0.547655
88
661
4.056818
0.579545
0.022409
0.033613
0.067227
0
0
0
0
0
0
0
0.019481
0.301059
661
27
111
24.481481
0.753247
0.220877
0
0
0
0
0.002169
0
0
0
0
0
0.076923
1
0.153846
false
0
0.076923
0
0.384615
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
0
0
0
0
1
0
a6a05141e02ec09a3368291709071af8ba627d0b
1,698
py
Python
test/coreneuron/test_psolve.py
niltonlk/nrn
464541abbf72fe58de77b16bf0e1df425a280b89
[ "BSD-3-Clause" ]
null
null
null
test/coreneuron/test_psolve.py
niltonlk/nrn
464541abbf72fe58de77b16bf0e1df425a280b89
[ "BSD-3-Clause" ]
1
2021-04-13T09:19:55.000Z
2021-04-13T09:19:55.000Z
test/coreneuron/test_psolve.py
niltonlk/nrn
464541abbf72fe58de77b16bf0e1df425a280b89
[ "BSD-3-Clause" ]
null
null
null
import os import pytest import sys import traceback enable_gpu = bool(os.environ.get("CORENRN_ENABLE_GPU", "")) from neuron import h, gui pc = h.ParallelContext() def model(): pc.gid_clear() for s in h.allsec(): h.delete_section(sec=s) s = h.Section() s.L = 10 s.diam = 10 s.insert("...
22.64
72
0.567727
267
1,698
3.509363
0.438202
0.037353
0.009605
0.027748
0
0
0
0
0
0
0
0.031993
0.282097
1,698
74
73
22.945946
0.736669
0.099529
0
0.034483
0
0
0.036113
0
0
0
0
0
0.034483
1
0.051724
false
0
0.103448
0
0.172414
0.034483
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
0
0
0
0
1
0
a6a1b27bb26aacef5997572d868b16e29265fa5b
138
wsgi
Python
vagrant/catalog/app.wsgi
jcarter62/udacity-fs-p5
e4760085d93c5ee71fd182c9d118c1d9b258c2b2
[ "MIT" ]
null
null
null
vagrant/catalog/app.wsgi
jcarter62/udacity-fs-p5
e4760085d93c5ee71fd182c9d118c1d9b258c2b2
[ "MIT" ]
null
null
null
vagrant/catalog/app.wsgi
jcarter62/udacity-fs-p5
e4760085d93c5ee71fd182c9d118c1d9b258c2b2
[ "MIT" ]
null
null
null
#!/user/bin/python import os import sys sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) from app import app as application
23
62
0.775362
24
138
4.291667
0.666667
0.116505
0
0
0
0
0
0
0
0
0
0.008
0.094203
138
5
63
27.6
0.816
0.123188
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
a6a1b8a6a8be457c8cc3f0ac959f22dbed709405
247
py
Python
facialrecognition/accounts/models.py
Moran98/facial-recognition
da4711c5d0fb77d77a5dffb20d85bfa9072f7933
[ "MIT" ]
34
2020-01-27T15:07:25.000Z
2021-09-25T17:07:37.000Z
facialrecognition/accounts/models.py
Moran98/facial-recognition
da4711c5d0fb77d77a5dffb20d85bfa9072f7933
[ "MIT" ]
26
2020-01-29T12:24:42.000Z
2022-03-12T00:16:44.000Z
facialrecognition/accounts/models.py
Moran98/facial-recognition
da4711c5d0fb77d77a5dffb20d85bfa9072f7933
[ "MIT" ]
7
2020-01-27T11:42:11.000Z
2021-04-05T04:42:22.000Z
from django.db import models class UserProfile(models.Model): title = models.CharField(max_length=25, default='NULL USER') img = models.ImageField(upload_to="images/", default='null.jpg') def __str__(self): return self.title
27.444444
68
0.708502
33
247
5.121212
0.787879
0.130178
0
0
0
0
0
0
0
0
0
0.009709
0.165992
247
9
69
27.444444
0.81068
0
0
0
0
0
0.096774
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
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
a6a2e757449885213e04fced8e6ceed98541f40d
431
py
Python
docs/make_tutorials.py
jonholdship/SpectralRadex
2c38e136b963aac43ec2b17101da56a83c9884e4
[ "MIT" ]
1
2020-09-23T10:57:03.000Z
2020-09-23T10:57:03.000Z
docs/make_tutorials.py
jonholdship/SpectralRadex
2c38e136b963aac43ec2b17101da56a83c9884e4
[ "MIT" ]
null
null
null
docs/make_tutorials.py
jonholdship/SpectralRadex
2c38e136b963aac43ec2b17101da56a83c9884e4
[ "MIT" ]
null
null
null
import subprocess import glob import os # Convert the tutorials for fn in glob.glob("../examples/*.ipynb"): name = os.path.splitext(os.path.split(fn)[1])[0] outfn = os.path.join("tutorials", name + ".rst") print("Building {0}...".format(name)) subprocess.check_call( "jupyter nbconvert --templat...
30.785714
76
0.63109
56
431
4.803571
0.660714
0.066915
0
0
0
0
0
0
0
0
0
0.008746
0.204176
431
14
77
30.785714
0.77551
0.048724
0
0
0
0
0.332518
0.066015
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.083333
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
0
0
0
0
1
0