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
b0347f10c5746915500b0d6e172c2c32ab5316d0
121
py
Python
Deutsch-Jozsa-Algorithm/main.py
Gregory-Eales/QA-Reimplementations
bef0b3e67397a73c468e539c426c6629d398433b
[ "MIT" ]
1
2019-05-03T21:48:29.000Z
2019-05-03T21:48:29.000Z
Deutsch-Jozsa-Algorithm/main.py
Gregory-Eales/QA-Reimplementations
bef0b3e67397a73c468e539c426c6629d398433b
[ "MIT" ]
null
null
null
Deutsch-Jozsa-Algorithm/main.py
Gregory-Eales/QA-Reimplementations
bef0b3e67397a73c468e539c426c6629d398433b
[ "MIT" ]
null
null
null
import qsharp from DeutschJozsa import SayHello, RunDeutschJozsa SayHello.simulate() RunDeutschJozsa.simulate(N=10)
13.444444
50
0.818182
14
121
7.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0.018519
0.107438
121
8
51
15.125
0.898148
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.5
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
4
b06a839b9e9c3f3cd1914d16be145f347a1d20cd
11,314
py
Python
nyc/nyc-new-cases.py
btrr/covid19-epicenters
4134967f6dbbdeb5ad91a435dc72d905e9886fd6
[ "MIT" ]
1
2020-04-02T15:48:28.000Z
2020-04-02T15:48:28.000Z
nyc/nyc-new-cases.py
btrr/covid19-epicenters
4134967f6dbbdeb5ad91a435dc72d905e9886fd6
[ "MIT" ]
null
null
null
nyc/nyc-new-cases.py
btrr/covid19-epicenters
4134967f6dbbdeb5ad91a435dc72d905e9886fd6
[ "MIT" ]
null
null
null
import datetime as dt import matplotlib.pyplot as plt import matplotlib.dates as mdates import matplotlib.ticker as ticker from matplotlib.dates import MO, TU, WE, TH, FR, SA, SU dates = ['2/29/2020', '3/1/2020', '3/2/2020', '3/3/2020', '3/4/2020', '3/5/2020', '3/6/2020', '3/7/2020', '3/8/2020', '3/9/2020', '3/10/2020...
176.78125
4,998
0.595457
2,255
11,314
2.981818
0.26031
0.025283
0.012493
0.020821
0.058447
0.037329
0.026175
0.014872
0.014872
0.014872
0
0.537676
0.116758
11,314
63
4,999
179.587302
0.135195
0.021831
0
0.05
0
0
0.450054
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c67cc3624a702cafd7e7246abe8b88132e111d61
53
py
Python
modules/__init__.py
richardHaw/nagare
4909c4ba8833e7cf5152e39a7bc58a558aaa2c7c
[ "MIT" ]
null
null
null
modules/__init__.py
richardHaw/nagare
4909c4ba8833e7cf5152e39a7bc58a558aaa2c7c
[ "MIT" ]
null
null
null
modules/__init__.py
richardHaw/nagare
4909c4ba8833e7cf5152e39a7bc58a558aaa2c7c
[ "MIT" ]
null
null
null
# this file is needed for python2, delete for python3
53
53
0.792453
9
53
4.666667
0.888889
0
0
0
0
0
0
0
0
0
0
0.045455
0.169811
53
1
53
53
0.909091
0.962264
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
c69f9f22e1976429e68cc587ef9c41a2baa5fb93
85
py
Python
nginx/apps.py
rockychen-dpaw/it-assets
92ec23c6a413c5c45bb3d96981d6af68535d225c
[ "Apache-2.0" ]
4
2018-11-16T13:49:49.000Z
2021-08-19T05:16:50.000Z
nginx/apps.py
rockychen-dpaw/it-assets
92ec23c6a413c5c45bb3d96981d6af68535d225c
[ "Apache-2.0" ]
10
2018-07-06T09:34:56.000Z
2022-01-28T06:09:05.000Z
nginx/apps.py
rockychen-dpaw/it-assets
92ec23c6a413c5c45bb3d96981d6af68535d225c
[ "Apache-2.0" ]
9
2018-05-05T23:29:10.000Z
2020-06-26T02:29:17.000Z
from django.apps import AppConfig class NginxConfig(AppConfig): name = 'nginx'
14.166667
33
0.741176
10
85
6.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.176471
85
5
34
17
0.9
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
c6c0d208582ba1aed39ac80bef8ef9d7e28b0eae
337
py
Python
main/test/test.py
gitter-badger/grow-controller-Rpi
0107251af85a4dc23b61b8be66fe49d597fd776b
[ "Unlicense" ]
3
2017-03-21T22:35:01.000Z
2021-08-19T03:16:39.000Z
main/test/test.py
gitter-badger/grow-controller-Rpi
0107251af85a4dc23b61b8be66fe49d597fd776b
[ "Unlicense" ]
null
null
null
main/test/test.py
gitter-badger/grow-controller-Rpi
0107251af85a4dc23b61b8be66fe49d597fd776b
[ "Unlicense" ]
null
null
null
###PiPlate buttons print('sudo crontab /home/pi/grow-controller-Rpi/main/ref/crontab.cron') ''' while True: time.sleep(0.5) # without this time.sleep, 23% cpu usage. with 3% if lcd.is_pressed(LCD.UP): GPIO.output(pin1, GPIO.LOW) # on if lcd.is_pressed(LCD.DOWN): GPIO.output(pin1, GPIO...
22.466667
72
0.64095
53
337
4.037736
0.735849
0.084112
0.065421
0.130841
0.158879
0
0
0
0
0
0
0.02583
0.195846
337
15
73
22.466667
0.763838
0.04451
0
0
0
0
0.797468
0.632911
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
1
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
c6d681ac44ef1494d6073c997560935007da32f3
131
py
Python
lightning_transformers/task/nlp/multiple_choice/datasets/swag/__init__.py
maksym-taranukhin/lightning-transformers
aa7202657973b5b65c3c36eb745621043859ebc4
[ "Apache-2.0" ]
451
2021-04-21T15:53:59.000Z
2022-03-29T10:39:45.000Z
lightning_transformers/task/nlp/multiple_choice/datasets/swag/__init__.py
mathemusician/lightning-transformers
b2ef06113433e6a178ce4d3c9df7ede8064e247f
[ "Apache-2.0" ]
92
2021-04-21T18:42:58.000Z
2022-03-30T05:29:54.000Z
lightning_transformers/task/nlp/multiple_choice/datasets/swag/__init__.py
mathemusician/lightning-transformers
b2ef06113433e6a178ce4d3c9df7ede8064e247f
[ "Apache-2.0" ]
51
2021-04-22T05:35:28.000Z
2022-03-17T13:08:12.000Z
from lightning_transformers.task.nlp.multiple_choice.datasets.swag.data import ( # noqa: F401 SwagMultipleChoiceDataModule, )
32.75
94
0.80916
14
131
7.428571
1
0
0
0
0
0
0
0
0
0
0
0.025641
0.10687
131
3
95
43.666667
0.863248
0.076336
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
c6d92303c364567cf9a1dd4b401fd0429cd92a45
195
py
Python
Latest/venv/Lib/site-packages/pyface/resource/__init__.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
1
2022-01-09T20:04:31.000Z
2022-01-09T20:04:31.000Z
Latest/venv/Lib/site-packages/pyface/resource/__init__.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
1
2022-02-15T12:01:57.000Z
2022-03-24T19:48:47.000Z
Latest/venv/Lib/site-packages/pyface/resource/__init__.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2005-2011, Enthought, Inc. # All rights reserved. """ Support for managing resources such as images and sounds. Part of the TraitsGUI project of the Enthought Tool Suite. """
32.5
62
0.733333
28
195
5.107143
0.892857
0.06993
0
0
0
0
0
0
0
0
0
0.05
0.179487
195
5
63
39
0.84375
0.917949
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
c6e2e070ba03aa1892f65c8ab57f90a175c0ba2f
31
py
Python
flask/deploy.py
dcu-sharepoint/Browser-id
4baeb18cb6bef26dad5a1a6fcf815ac1024203da
[ "MIT" ]
1
2018-05-14T20:00:21.000Z
2018-05-14T20:00:21.000Z
flask/deploy.py
zakybstrd21215/cross_browser
4baeb18cb6bef26dad5a1a6fcf815ac1024203da
[ "MIT" ]
null
null
null
flask/deploy.py
zakybstrd21215/cross_browser
4baeb18cb6bef26dad5a1a6fcf815ac1024203da
[ "MIT" ]
null
null
null
cp ./* ~/server/uniquemachine/
15.5
30
0.677419
3
31
7
1
0
0
0
0
0
0
0
0
0
0
0
0.096774
31
1
31
31
0.75
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
c6e6312f6be52c69218d6689cca0b968307e1db4
46,788
py
Python
resources.py
jajberni/BreederMap
8a14d906a6af63dc2c27d77e43968c2e2794fa06
[ "MIT" ]
null
null
null
resources.py
jajberni/BreederMap
8a14d906a6af63dc2c27d77e43968c2e2794fa06
[ "MIT" ]
null
null
null
resources.py
jajberni/BreederMap
8a14d906a6af63dc2c27d77e43968c2e2794fa06
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt5 (Qt v5.9.7) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x00\x2a\xae\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x01\xd0\x0...
62.634538
103
0.727131
11,256
46,788
3.019101
0.027186
0.035488
0.017744
0.014478
0.181591
0.168261
0.158785
0.15446
0.15446
0.150487
0
0.312242
0.01774
46,788
746
104
62.718499
0.427194
0.003227
0
0.054795
0
0.950685
0.000086
0
0
1
0
0
0
1
0.00274
false
0
0.00137
0
0.00411
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
05c47851eed298a1ca3b5574ee61fdfb8228a592
412
py
Python
Les 1/1_1.py
tloader11/TICT-V1PROG-15
dac7e991dcb11a397082bdceaf60a07b9bbc1a4a
[ "Unlicense" ]
null
null
null
Les 1/1_1.py
tloader11/TICT-V1PROG-15
dac7e991dcb11a397082bdceaf60a07b9bbc1a4a
[ "Unlicense" ]
null
null
null
Les 1/1_1.py
tloader11/TICT-V1PROG-15
dac7e991dcb11a397082bdceaf60a07b9bbc1a4a
[ "Unlicense" ]
null
null
null
5 5 integer 5.0 5.0 float 5 % 2 1 int 5 > 1 True boolean '5' '5' String 5 * 2 10 int '5' * 2 '55' String '5' + '2' '52' String 5 / 2 2.5 float 5 // 2 ...
29.428571
35
0.279126
54
412
2.12963
0.333333
0.13913
0.078261
0
0
0
0
0
0
0
0
0.27451
0.628641
412
13
36
31.692308
0.477124
0
0
0
0
0
0.021898
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
05d337eef8af353471796ace517f3b818298177f
2,342
py
Python
camera_calib/image.py
justinblaber/camera_calib_python
9427ff31d55af7619e7aee74136446a31d10def0
[ "Apache-2.0" ]
3
2020-10-14T10:24:09.000Z
2021-09-19T20:48:40.000Z
camera_calib/image.py
justinblaber/camera_calib_python
9427ff31d55af7619e7aee74136446a31d10def0
[ "Apache-2.0" ]
1
2021-09-28T02:06:42.000Z
2021-09-28T02:06:42.000Z
camera_calib/image.py
justinblaber/camera_calib_python
9427ff31d55af7619e7aee74136446a31d10def0
[ "Apache-2.0" ]
2
2021-01-07T20:13:31.000Z
2021-01-08T18:16:53.000Z
# AUTOGENERATED! DO NOT EDIT! File to edit: image.ipynb (unless otherwise specified). __all__ = ['Img', 'FileImg', 'File16bitImg', 'ArrayImg'] # Cell import warnings import numpy as np import torch from PIL import Image from .utils import * # Cell class Img: def exists(self): raise NotImplemented...
32.527778
91
0.61614
308
2,342
4.548701
0.282468
0.044968
0.054961
0.111349
0.351892
0.079943
0
0
0
0
0
0.014594
0.268574
2,342
72
92
32.527778
0.803269
0.073015
0
0.2
1
0
0.124884
0.017576
0
0
0
0
0
1
0.34
false
0.02
0.1
0.16
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
05e2589d4291356b8e585fa87a27f0d7fe177954
209
py
Python
py_battlescribe/shared/rules.py
akabbeke/py_battlescribe
7f96d44295d46810268e666394e3e3238a6f2c61
[ "MIT" ]
1
2021-11-17T22:00:21.000Z
2021-11-17T22:00:21.000Z
py_battlescribe/shared/rules.py
akabbeke/py_battlescribe
7f96d44295d46810268e666394e3e3238a6f2c61
[ "MIT" ]
null
null
null
py_battlescribe/shared/rules.py
akabbeke/py_battlescribe
7f96d44295d46810268e666394e3e3238a6f2c61
[ "MIT" ]
null
null
null
from ..bs_node.iterable import BSNodeIterable from ..bs_reference.iter import BSReferenceIter class SharedRules(BSNodeIterable): _tag_name = 'sharedRules' _iter_child_class = BSReferenceIter('Rule')
26.125
47
0.794258
23
209
6.913043
0.652174
0.075472
0
0
0
0
0
0
0
0
0
0
0.124402
209
8
48
26.125
0.868852
0
0
0
0
0
0.071429
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
05f89c6e9f8cabc37acf4ef72901aa6289131ace
15,798
py
Python
parse_to_latex.py
bkolosk1/bkolosk1-CrossLingualKeywords
27cdc5075d1e30b02bb38891933a8fbb51957899
[ "MIT" ]
2
2021-04-19T23:57:58.000Z
2021-11-02T08:40:16.000Z
parse_to_latex.py
bkolosk1/bkolosk1-CrossLingualKeywords
27cdc5075d1e30b02bb38891933a8fbb51957899
[ "MIT" ]
1
2021-11-22T09:05:10.000Z
2021-11-22T09:05:10.000Z
bert/parse_to_latex.py
bkolosk1/Extending-Neural-Keyword-Extraction-with-TF-IDF-tagset-matching
d52b9b9e1fb9130239479b1830b0930161672325
[ "MIT" ]
null
null
null
import re def parse_to_latex(): configs = ['nolm', 'lm', 'maskedlm', 'lm+bp', 'lm+pos', 'lm+rnn', 'lm+bpe+rnn', 'lm+bpe+crf'] datasets = ['kp20k', 'inspec', 'krapivin', 'nus', 'semeval', 'kptimes', 'jptimes', 'duc'] config_dict = {} with open('class_results-FINAL.txt', 'r', encoding='utf8') as file: ...
50.152381
223
0.44993
2,295
15,798
3.084096
0.139869
0.04846
0.016954
0.045634
0.493077
0.379344
0.317321
0.287652
0.258548
0.247386
0
0.246924
0.305545
15,798
314
224
50.312102
0.398232
0.007153
0
0.305344
0
0.244275
0.627123
0.085813
0
0
0
0
0
1
0.015267
false
0
0.003817
0
0.019084
0.080153
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
af5d86c2560d06e00d095d4daa7efcc3669f67c7
377
py
Python
test_Task1D.py
dan7267/1a-flood-risk-project-93
d95cee987f5673d637626e1804f719371a25daa8
[ "MIT" ]
null
null
null
test_Task1D.py
dan7267/1a-flood-risk-project-93
d95cee987f5673d637626e1804f719371a25daa8
[ "MIT" ]
null
null
null
test_Task1D.py
dan7267/1a-flood-risk-project-93
d95cee987f5673d637626e1804f719371a25daa8
[ "MIT" ]
null
null
null
from floodsystem.geo import rivers_with_station from floodsystem.geo import stations_by_river from floodsystem.station import MonitoringStation def test_rivers_with_station(): lst2 = rivers_with_station(MonitoringStation) assert len(lst2) == len(set(lst2)) def test_stations_by_river(): dct1 = stations_by_...
26.928571
49
0.795756
49
377
5.836735
0.408163
0.157343
0.178322
0.167832
0
0
0
0
0
0
0
0.015291
0.132626
377
13
50
29
0.859327
0
0
0
0
0
0
0
0
0
0
0
0.222222
1
0.222222
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
4
af69c8ebfb3a3b4a0f27bd8ba4d232051770a3d4
38,140
py
Python
spongebob_images/spongebob_rgb_values.py
JuicySeals/mc-spongebob-plugin
0df8d8e53705540314ebe6ef6ca411654bbeb56c
[ "MIT" ]
null
null
null
spongebob_images/spongebob_rgb_values.py
JuicySeals/mc-spongebob-plugin
0df8d8e53705540314ebe6ef6ca411654bbeb56c
[ "MIT" ]
null
null
null
spongebob_images/spongebob_rgb_values.py
JuicySeals/mc-spongebob-plugin
0df8d8e53705540314ebe6ef6ca411654bbeb56c
[ "MIT" ]
null
null
null
from PIL import Image from math import sqrt import os import time import json os.system('cls') COLORS = { "blocks_rgb":[ [ 224, 220, 200 ], [ 107, 88, 57 ], [ 146, 99, 86 ], ...
27.1266
93
0.440509
3,658
38,140
4.330235
0.103062
0.066667
0.116982
0.05
0.72279
0.718497
0.718497
0.718497
0.650884
0.645581
0
0.103447
0.456083
38,140
1,405
94
27.145907
0.660111
0.002334
0
0.540458
0
0
0.135426
0.025928
0
0
0
0
0
1
0.000763
false
0
0.003817
0
0.005344
0.00458
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
af7bf1efb310882137ab2c2a20b32d59f0f8b898
89
py
Python
mergics/apps.py
nim65s/mergics
253b7414d3bcf03078c62b2c58abec8f4b0b9722
[ "BSD-2-Clause" ]
null
null
null
mergics/apps.py
nim65s/mergics
253b7414d3bcf03078c62b2c58abec8f4b0b9722
[ "BSD-2-Clause" ]
1
2020-10-06T20:03:20.000Z
2020-10-06T20:27:03.000Z
mergics/apps.py
nim65s/mergics
253b7414d3bcf03078c62b2c58abec8f4b0b9722
[ "BSD-2-Clause" ]
null
null
null
from django.apps import AppConfig class MergicsConfig(AppConfig): name = 'mergics'
14.833333
33
0.752809
10
89
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
34
17.8
0.905405
0
0
0
0
0
0.078652
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
af8999488b4c74fa92580fccfbc64a7e842f0087
260
py
Python
stix_shifter/stix_transmission/src/modules/cloudIdentity/cloudIdentity_results_connector.py
cookna/stix-shifter
3152f24cf7acb7670454433525ec10030102e146
[ "Apache-2.0" ]
null
null
null
stix_shifter/stix_transmission/src/modules/cloudIdentity/cloudIdentity_results_connector.py
cookna/stix-shifter
3152f24cf7acb7670454433525ec10030102e146
[ "Apache-2.0" ]
null
null
null
stix_shifter/stix_transmission/src/modules/cloudIdentity/cloudIdentity_results_connector.py
cookna/stix-shifter
3152f24cf7acb7670454433525ec10030102e146
[ "Apache-2.0" ]
2
2019-06-26T19:23:52.000Z
2019-07-09T15:33:16.000Z
from ..base.base_results_connector import BaseResultsConnector import json from .....utils.error_response import ErrorResponder class CloudIdentityResultsConnector(BaseQueryConnector): def __init__(self, api_client): self.api_client = api_client
28.888889
62
0.807692
28
260
7.142857
0.678571
0.135
0.13
0
0
0
0
0
0
0
0
0
0.123077
260
8
63
32.5
0.877193
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
afaf5d11e5a28c1db05bcfd2d0127aa64f8b14b1
18,044
py
Python
marcotti/etl/base/transform.py
soccermetrics/marcotti
eda2f19bd6cbc6f9c7482e8fe31b2233b33aacfd
[ "MIT" ]
30
2015-11-23T07:51:54.000Z
2020-06-29T16:11:55.000Z
marcotti/etl/base/transform.py
soccermetrics/marcotti
eda2f19bd6cbc6f9c7482e8fe31b2233b33aacfd
[ "MIT" ]
1
2016-06-26T18:44:47.000Z
2016-06-29T03:02:40.000Z
marcotti/etl/base/transform.py
soccermetrics/marcotti
eda2f19bd6cbc6f9c7482e8fe31b2233b33aacfd
[ "MIT" ]
8
2016-01-13T12:23:16.000Z
2021-10-11T07:39:33.000Z
import pandas as pd import marcotti.models.club as mc import marcotti.models.common.enums as enums import marcotti.models.common.overview as mco import marcotti.models.common.personnel as mcp import marcotti.models.common.suppliers as mcs from .workflows import WorkflowBase class MarcottiTransform(WorkflowBase): ...
54.349398
121
0.627854
2,265
18,044
4.707285
0.091832
0.059088
0.054024
0.030951
0.779122
0.743294
0.723692
0.707747
0.689739
0.667136
0
0.003062
0.239803
18,044
331
122
54.513595
0.774222
0.002106
0
0.572881
0
0
0.187326
0.004892
0
0
0
0
0
1
0.084746
false
0.00678
0.027119
0.010169
0.2
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
afb50c8aa67608ab3deea105ffee6debac103ea3
195
py
Python
multiplepagesproject/prodforms.py
mandeep-django/admin-panel
30c65730e74004ec21cf891627fbbaa027f626db
[ "MIT" ]
null
null
null
multiplepagesproject/prodforms.py
mandeep-django/admin-panel
30c65730e74004ec21cf891627fbbaa027f626db
[ "MIT" ]
null
null
null
multiplepagesproject/prodforms.py
mandeep-django/admin-panel
30c65730e74004ec21cf891627fbbaa027f626db
[ "MIT" ]
null
null
null
from django import forms from multiplepagesproject.prodmodels import proddisplay class productforms(forms.ModelForm): class Meta: model = proddisplay fields = "__all__"
27.857143
56
0.723077
19
195
7.210526
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.225641
195
7
57
27.857143
0.907285
0
0
0
0
0
0.036842
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
afbdd176b769632287834f6d6008afe844162c2f
245
py
Python
other/simpleOSC/sendbundle.py
neonkingfr/VizBench
e41f559cb6e761d717f2f5b202482d5d8dacd2d8
[ "MIT" ]
7
2015-01-05T06:32:49.000Z
2020-10-30T19:29:07.000Z
other/simpleOSC/sendbundle.py
neonkingfr/VizBench
e41f559cb6e761d717f2f5b202482d5d8dacd2d8
[ "MIT" ]
null
null
null
other/simpleOSC/sendbundle.py
neonkingfr/VizBench
e41f559cb6e761d717f2f5b202482d5d8dacd2d8
[ "MIT" ]
4
2016-03-09T22:29:26.000Z
2021-04-07T13:52:28.000Z
import osc osc.init() # create and send a bundle bundle = osc.createBundle() osc.appendToBundle(bundle, "/test/bndlprt1", [1, 2.2, "333"]) osc.appendToBundle(bundle, "/test/bndlprt2", [4, 5.5, 6]) osc.sendBundle(bundle, "127.0.0.1", 9999)
24.5
61
0.677551
38
245
4.368421
0.605263
0.204819
0.277108
0.325301
0
0
0
0
0
0
0
0.102804
0.126531
245
9
62
27.222222
0.672897
0.097959
0
0
0
0
0.182648
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
afcecca0aaa83b41a9ff96c5213253a69fa739e1
153
py
Python
osbot_aws/helpers/Fargate_Cluster.py
artem7902/OSBot-AWS
4b676b8323f18d3d9809d41263f3a71745ec2828
[ "Apache-2.0" ]
null
null
null
osbot_aws/helpers/Fargate_Cluster.py
artem7902/OSBot-AWS
4b676b8323f18d3d9809d41263f3a71745ec2828
[ "Apache-2.0" ]
null
null
null
osbot_aws/helpers/Fargate_Cluster.py
artem7902/OSBot-AWS
4b676b8323f18d3d9809d41263f3a71745ec2828
[ "Apache-2.0" ]
null
null
null
from osbot_aws.apis.Fargate import Fargate class Fargate_Cluster(Fargate): def __init__(self, account_id): super().__init__(account_id)
15.3
42
0.732026
20
153
5
0.7
0.18
0
0
0
0
0
0
0
0
0
0
0.176471
153
9
43
17
0.793651
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
bb723c07c298e3147c128f216ca171ac795e93ac
192
py
Python
src/lib/core_funcs.py
thekraftyman/discord-bot-starter
e6b9174ea346ec060ecda3f2b1d22f1eb6066f95
[ "MIT" ]
null
null
null
src/lib/core_funcs.py
thekraftyman/discord-bot-starter
e6b9174ea346ec060ecda3f2b1d22f1eb6066f95
[ "MIT" ]
null
null
null
src/lib/core_funcs.py
thekraftyman/discord-bot-starter
e6b9174ea346ec060ecda3f2b1d22f1eb6066f95
[ "MIT" ]
null
null
null
# core_funcs.py # By: thekraftyman ''' container for all of the core funcs that have been distributed among files ''' from src.lib.async_funcs import * from src.lib.non_async_funcs import *
19.2
74
0.760417
31
192
4.580645
0.709677
0.126761
0.140845
0
0
0
0
0
0
0
0
0
0.15625
192
9
75
21.333333
0.876543
0.552083
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
bbabb955113863d40c2a80d48e3d2cd18a7d9577
164
py
Python
flake8diff/test_flake8.py
miki725/flake8-diff
bec04390ce9263fc7957ccb7fcf39d582fa8d4ad
[ "MIT" ]
18
2015-03-10T20:05:57.000Z
2020-08-12T20:46:00.000Z
flake8diff/test_flake8.py
miki725/flake8-diff
bec04390ce9263fc7957ccb7fcf39d582fa8d4ad
[ "MIT" ]
20
2015-03-21T19:39:12.000Z
2020-05-26T15:25:33.000Z
flake8diff/test_flake8.py
miki725/flake8-diff
bec04390ce9263fc7957ccb7fcf39d582fa8d4ad
[ "MIT" ]
7
2015-03-21T19:12:31.000Z
2018-09-28T20:56:45.000Z
from unittest import TestCase from flake8diff import flake8 class Flake8DiffTestCase(TestCase): def test_flake8diff(self): flake8.Flake8Diff("", {})
18.222222
35
0.737805
17
164
7.058824
0.647059
0
0
0
0
0
0
0
0
0
0
0.044444
0.176829
164
8
36
20.5
0.844444
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
bbc82f2eff9c39c28075f8ddd776994572815053
1,660
py
Python
model/documentmanifest.py
beda-software/fhir-py-experements
363cfb894fa6f971b9be19340cae1b0a3a4377d8
[ "MIT" ]
null
null
null
model/documentmanifest.py
beda-software/fhir-py-experements
363cfb894fa6f971b9be19340cae1b0a3a4377d8
[ "MIT" ]
null
null
null
model/documentmanifest.py
beda-software/fhir-py-experements
363cfb894fa6f971b9be19340cae1b0a3a4377d8
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 4.0.1-9346c8cc45 (http://hl7.org/fhir/StructureDefinition/DocumentManifest) on 2020-02-03. # 2020, SMART Health IT. import sys from dataclasses import dataclass, field from typing import ClassVar, Optional, List from .backboneelement import Backbo...
33.2
113
0.751807
179
1,660
6.955307
0.452514
0.048193
0.032129
0.036948
0
0
0
0
0
0
0
0.017241
0.161446
1,660
50
114
33.2
0.877155
0.24759
0
0.068966
1
0
0.032205
0.018993
0
0
0
0
0
1
0
true
0
0.310345
0
0.931034
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
1
0
1
0
1
0
0
4
bbfb94b2d81a97cc98431123af9d98c4a0ea9623
16,554
py
Python
edgetpu/swig/edgetpu_cpp_wrapper.py
TinkerEdgeT/mendel-edgetpu
5df7f62a2d88dc0d9e98c8c794717d77b62daa89
[ "Apache-2.0" ]
null
null
null
edgetpu/swig/edgetpu_cpp_wrapper.py
TinkerEdgeT/mendel-edgetpu
5df7f62a2d88dc0d9e98c8c794717d77b62daa89
[ "Apache-2.0" ]
null
null
null
edgetpu/swig/edgetpu_cpp_wrapper.py
TinkerEdgeT/mendel-edgetpu
5df7f62a2d88dc0d9e98c8c794717d77b62daa89
[ "Apache-2.0" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.8 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (2, 6, 0): def swig_import_helper(): from os.path imp...
31.411765
100
0.691434
1,967
16,554
5.382308
0.162684
0.084065
0.142911
0.136866
0.461793
0.393218
0.270709
0.171909
0.119108
0.083215
0
0.003316
0.234989
16,554
526
101
31.471483
0.832675
0.229008
0
0.202247
1
0
0.013797
0
0
0
0
0
0
1
0.277154
false
0.007491
0.033708
0.191011
0.715356
0.033708
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
a5212eabcb877d5b4c6f79a259ed99bcf35ed6f2
396
py
Python
app/forms/login.py
mkorcha/CoyoteLab
8932d9cc35fb840e468368c2e1249ca4811b59d0
[ "MIT" ]
2
2016-12-01T00:10:46.000Z
2016-12-31T19:18:35.000Z
app/forms/login.py
mkorcha/CoyoteLab
8932d9cc35fb840e468368c2e1249ca4811b59d0
[ "MIT" ]
null
null
null
app/forms/login.py
mkorcha/CoyoteLab
8932d9cc35fb840e468368c2e1249ca4811b59d0
[ "MIT" ]
null
null
null
from flask_wtf import Form from wtforms import StringField, PasswordField, SubmitField from wtforms.validators import DataRequired class LoginForm(Form): ''' Form used to perform a user login ''' username = StringField('Username', validators=[DataRequired()]) password = PasswordField('Password', validators=[Data...
28.285714
66
0.765152
42
396
7.190476
0.571429
0.218543
0
0
0
0
0
0
0
0
0
0
0.121212
396
14
67
28.285714
0.867816
0.083333
0
0
0
0
0.062147
0
0
0
0
0
0
1
0
false
0.285714
0.428571
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
4
a54a95f758a5621c7d99991bc1935abca6851391
799
py
Python
tests/lanczos/build.py
weikengchen/Libra
7ad48800febee0d4426a6146d54906476b7acc5a
[ "Apache-2.0" ]
28
2020-01-05T12:05:57.000Z
2021-11-23T16:18:40.000Z
tests/lanczos/build.py
weikengchen/Libra
7ad48800febee0d4426a6146d54906476b7acc5a
[ "Apache-2.0" ]
1
2020-08-10T17:15:38.000Z
2020-08-11T16:14:46.000Z
tests/lanczos/build.py
weikengchen/Libra
7ad48800febee0d4426a6146d54906476b7acc5a
[ "Apache-2.0" ]
13
2020-01-31T05:53:37.000Z
2021-08-02T14:05:43.000Z
import os os.system('./build.sh') os.system('g++ parser_sha_data_parallel.cpp -o psdp -O3') os.system('./psdp lanczos2_16.pws lanczos2_16_112_N=16_rdl.pws lanczos2_112_N=16_circuit.txt lanczos2_112_N=16_meta.txt') os.system('./psdp lanczos2_16.pws lanczos2_16_176_N=64_rdl.pws lanczos2_176_N=64_circuit.txt lanczos2_176...
61.461538
130
0.807259
155
799
3.767742
0.251613
0.171233
0.10274
0.171233
0.347603
0.347603
0.347603
0.347603
0.287671
0.287671
0
0.177015
0.052566
799
12
131
66.583333
0.594452
0
0
0
0
0
0.827284
0.576971
0
0
0
0
0
1
0
true
0
0.1
0
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
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
a54eed00dc082ef6adf720e7a6dc2ace18221748
127
py
Python
tests/ev3dev/brick/battery.py
GianCann/pybricks-micropython
f23cdf7fdf9abd068e7e84ca54d6162b4fc5f72a
[ "MIT" ]
null
null
null
tests/ev3dev/brick/battery.py
GianCann/pybricks-micropython
f23cdf7fdf9abd068e7e84ca54d6162b4fc5f72a
[ "MIT" ]
null
null
null
tests/ev3dev/brick/battery.py
GianCann/pybricks-micropython
f23cdf7fdf9abd068e7e84ca54d6162b4fc5f72a
[ "MIT" ]
null
null
null
from pybricks.hubs import EV3Brick ev3 = EV3Brick() print(ev3.battery.voltage()) # 7400 print(ev3.battery.current()) # 180
18.142857
36
0.724409
17
127
5.411765
0.705882
0.173913
0.326087
0
0
0
0
0
0
0
0
0.109091
0.133858
127
6
37
21.166667
0.727273
0.062992
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
a55d8714cd1710f5fc46c5b77d8879d3591e23b3
39
py
Python
pynairus/actions/__init__.py
venairus/pynairus
76227072aa0f0f98a36a3a04eb6a436473cfd9a6
[ "MIT" ]
2
2018-02-15T12:16:10.000Z
2018-09-11T12:05:12.000Z
pynairus/actions/__init__.py
venairus/pynairus
76227072aa0f0f98a36a3a04eb6a436473cfd9a6
[ "MIT" ]
null
null
null
pynairus/actions/__init__.py
venairus/pynairus
76227072aa0f0f98a36a3a04eb6a436473cfd9a6
[ "MIT" ]
1
2019-10-30T09:40:28.000Z
2019-10-30T09:40:28.000Z
# coding: utf-8 """Actions package"""
9.75
21
0.615385
5
39
4.8
1
0
0
0
0
0
0
0
0
0
0
0.030303
0.153846
39
3
22
13
0.69697
0.769231
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
a5690fcf0124a35633cc811501e412b22c1aa270
60
py
Python
tests/__init__.py
ziliac/pyrmx
54f1c79f85f2142b8fb755f815642c4701e5a57b
[ "MIT" ]
null
null
null
tests/__init__.py
ziliac/pyrmx
54f1c79f85f2142b8fb755f815642c4701e5a57b
[ "MIT" ]
null
null
null
tests/__init__.py
ziliac/pyrmx
54f1c79f85f2142b8fb755f815642c4701e5a57b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Unit test package for pyrmx."""
15
34
0.55
8
60
4.125
1
0
0
0
0
0
0
0
0
0
0
0.020408
0.183333
60
3
35
20
0.653061
0.85
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
a5bef664ecd325ec7c754416c8cb289908db04d1
2,026
py
Python
tests/test_fetching_info_from_websites.py
antoniodimariano/websites_metrics_collector
5113a680612b126005ac7f9f52ed35d26b806ea0
[ "Apache-2.0" ]
null
null
null
tests/test_fetching_info_from_websites.py
antoniodimariano/websites_metrics_collector
5113a680612b126005ac7f9f52ed35d26b806ea0
[ "Apache-2.0" ]
null
null
null
tests/test_fetching_info_from_websites.py
antoniodimariano/websites_metrics_collector
5113a680612b126005ac7f9f52ed35d26b806ea0
[ "Apache-2.0" ]
null
null
null
import unittest from unittest import IsolatedAsyncioTestCase from websites_metrics_collector.communication import webpages_fetcher class Test(IsolatedAsyncioTestCase): """ This Class tests the fetch_list_of_urls() async method used to fetch URLs """ async def test_a_fetch_with_valid_list_of_url(self): ...
44.043478
117
0.695953
263
2,026
5.106464
0.220532
0.038719
0.154133
0.099032
0.718541
0.718541
0.718541
0.694713
0.694713
0.694713
0
0.014899
0.171767
2,026
45
118
45.022222
0.785459
0.036032
0
0.529412
0
0
0.118346
0
0
0
0
0
0.558824
1
0
false
0
0.088235
0
0.117647
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
3c0172a4b6c39d5c3838a7e6ee2dd86d14d618b0
77
py
Python
proxy/admin.py
jokajak/infinity_tracker
21f83925d9899dc25bc58b198426f329a549b0e0
[ "Apache-2.0" ]
1
2021-01-21T08:44:21.000Z
2021-01-21T08:44:21.000Z
proxy/admin.py
jokajak/infinity_tracker
21f83925d9899dc25bc58b198426f329a549b0e0
[ "Apache-2.0" ]
126
2020-08-03T22:07:38.000Z
2022-03-28T22:25:59.000Z
proxy/admin.py
jokajak/infinity_tracker
21f83925d9899dc25bc58b198426f329a549b0e0
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin # NOQA: F401 # Register your models here.
19.25
46
0.753247
11
77
5.272727
1
0
0
0
0
0
0
0
0
0
0
0.047619
0.181818
77
3
47
25.666667
0.873016
0.480519
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
3c1ce045f39d2d470a259001626bc914b8162303
29
py
Python
homeassistant/components/thomson/__init__.py
domwillcode/home-assistant
f170c80bea70c939c098b5c88320a1c789858958
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
homeassistant/components/thomson/__init__.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
31,101
2020-03-02T13:00:16.000Z
2022-03-31T23:57:36.000Z
homeassistant/components/thomson/__init__.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""The thomson component."""
14.5
28
0.655172
3
29
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.103448
29
1
29
29
0.730769
0.758621
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
3c2d0e8fef55c7fd0b954db4e7dcf85c4711c86c
4,606
py
Python
sunpy/sun/tests/test_sun.py
PritishC/sunpy
76a7b5994566674d85eada7dcec54bf0f120269a
[ "BSD-2-Clause" ]
null
null
null
sunpy/sun/tests/test_sun.py
PritishC/sunpy
76a7b5994566674d85eada7dcec54bf0f120269a
[ "BSD-2-Clause" ]
null
null
null
sunpy/sun/tests/test_sun.py
PritishC/sunpy
76a7b5994566674d85eada7dcec54bf0f120269a
[ "BSD-2-Clause" ]
null
null
null
from astropy.coordinates import Angle from astropy.time import Time import astropy.units as u from astropy.tests.helper import assert_quantity_allclose from sunpy.sun import sun def test_true_longitude(): # Validate against a published value from the Astronomical Almanac (1992) t = Time('1992-10-13', scale='...
41.495495
124
0.721884
695
4,606
4.581295
0.191367
0.109925
0.172739
0.188442
0.796168
0.77544
0.733668
0.657035
0.590452
0.573492
0
0.109252
0.143508
4,606
110
125
41.872727
0.697845
0.135041
0
0.1875
0
0
0.096173
0
0
0
0
0
0.390625
1
0.265625
false
0
0.078125
0
0.34375
0.03125
0
0
0
null
0
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
3c599676a9ae26a258559d911189a12f55452ddf
666
py
Python
src/yellowdog_client/model/internal_user.py
yellowdog/yellowdog-sdk-python-public
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
[ "Apache-2.0" ]
null
null
null
src/yellowdog_client/model/internal_user.py
yellowdog/yellowdog-sdk-python-public
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
[ "Apache-2.0" ]
null
null
null
src/yellowdog_client/model/internal_user.py
yellowdog/yellowdog-sdk-python-public
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass, field from typing import List, Optional from .access_delegate import AccessDelegate from .password_state import PasswordState from .user import User @dataclass class InternalUser(User): """Represents an internal user within the YellowDog Platform.""" type: str = field(defau...
33.3
85
0.753754
79
666
6.329114
0.493671
0.072
0.06
0.08
0.1
0
0
0
0
0
0
0
0.154655
666
19
86
35.052632
0.888099
0.087087
0
0
0
0
0.066445
0.066445
0
0
0
0
0
1
0
true
0.133333
0.333333
0
0.933333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
4
b1e811f35a54f18497c53bcd1b57a0f2b90a05d1
455
py
Python
src/epyodbc/constructs/base_class.py
kingspp/epyodbc
601ea659c243e7128f946fed264a095f82b25f8a
[ "MIT" ]
null
null
null
src/epyodbc/constructs/base_class.py
kingspp/epyodbc
601ea659c243e7128f946fed264a095f82b25f8a
[ "MIT" ]
null
null
null
src/epyodbc/constructs/base_class.py
kingspp/epyodbc
601ea659c243e7128f946fed264a095f82b25f8a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ | **@created on:** 9/4/20, | **@author:** prathyushsp, | **@version:** v0.0.1 | | **Description:** | | | **Sphinx Documentation Status:** """ from abc import ABCMeta, abstractmethod import json class BaseClass(metaclass=ABCMeta): @abstractmethod def pretty(self): pass ...
18.2
61
0.586813
51
455
5.137255
0.843137
0.160305
0
0
0
0
0
0
0
0
0
0.025937
0.237363
455
24
62
18.958333
0.729107
0.356044
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.111111
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
b1ff7639399b3c6d47d30f81feb9b3ec46b39e02
106
py
Python
Discord Bots/Discord Bot/test_Bot.py
SeymoTheDev/skittles-stuff
f9eba3efd0577045085418391b7154f3fd121f70
[ "MIT" ]
null
null
null
Discord Bots/Discord Bot/test_Bot.py
SeymoTheDev/skittles-stuff
f9eba3efd0577045085418391b7154f3fd121f70
[ "MIT" ]
null
null
null
Discord Bots/Discord Bot/test_Bot.py
SeymoTheDev/skittles-stuff
f9eba3efd0577045085418391b7154f3fd121f70
[ "MIT" ]
null
null
null
from unittest import TestCase class Test(TestCase): def test_punch(self): self.fail()
15.142857
30
0.641509
13
106
5.153846
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.273585
106
6
31
17.666667
0.87013
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
5906bff03b00e79f2660983fe9997b9cd354f2bc
30
py
Python
tests/database/__init__.py
dinosv/cobib
15342de37336a51d87c8f04f8430d0621da69a5c
[ "MIT" ]
9
2020-09-27T19:22:35.000Z
2022-02-27T20:00:58.000Z
tests/database/__init__.py
dinosv/cobib
15342de37336a51d87c8f04f8430d0621da69a5c
[ "MIT" ]
null
null
null
tests/database/__init__.py
dinosv/cobib
15342de37336a51d87c8f04f8430d0621da69a5c
[ "MIT" ]
2
2020-12-07T15:26:03.000Z
2021-10-03T18:04:57.000Z
"""coBib's database tests."""
15
29
0.633333
4
30
4.75
1
0
0
0
0
0
0
0
0
0
0
0
0.1
30
1
30
30
0.703704
0.766667
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
59276445280313e61b8b7bc4ae85576dc76c9f96
3,174
py
Python
src/ReichardtDS8.py
smittal6/i3d
e347b5415f5665a6f25b644a3dda5dd32f01dbbb
[ "MIT" ]
null
null
null
src/ReichardtDS8.py
smittal6/i3d
e347b5415f5665a6f25b644a3dda5dd32f01dbbb
[ "MIT" ]
null
null
null
src/ReichardtDS8.py
smittal6/i3d
e347b5415f5665a6f25b644a3dda5dd32f01dbbb
[ "MIT" ]
null
null
null
import numpy as np def Reichardt8(video, dirs=[0,1,2,3,4,5,6,7]): ''' Returns a tuple of Reichardt-Hassenstein correlators in 8 directions args: video: Shape ~ [TimeSteps, H, W, 1] ''' vp1, vm1 = Reichardt_vertical_2channels_Vectorized(video) #Directions 1, -1 vp3, vm3 = Reich...
34.5
104
0.732199
511
3,174
4.270059
0.174168
0.089826
0.050412
0.082493
0.843263
0.745646
0.717232
0.639322
0.639322
0.639322
0
0.048216
0.170132
3,174
91
105
34.879121
0.780182
0.26213
0
0.545455
0
0
0
0
0
0
0
0
0
1
0.113636
false
0
0.022727
0
0.25
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
593862c08f86b1ec3350fd994c6a0a23e0d407ad
202
py
Python
remote_works/graphql/delivery/resolvers.py
tetyanaloskutova/saleor
b3bb51e9c0c4c2febf4aa1e2a7d893e77c331e89
[ "BSD-3-Clause" ]
7
2019-05-17T14:27:13.000Z
2021-12-17T22:52:40.000Z
remote_works/graphql/delivery/resolvers.py
tetyanaloskutova/saleor
b3bb51e9c0c4c2febf4aa1e2a7d893e77c331e89
[ "BSD-3-Clause" ]
9
2019-04-13T09:24:28.000Z
2019-09-09T15:35:05.000Z
remote_works/graphql/delivery/resolvers.py
tetyanaloskutova/remote-works
b3bb51e9c0c4c2febf4aa1e2a7d893e77c331e89
[ "BSD-3-Clause" ]
null
null
null
import graphene_django_optimizer as gql_optimizer from ...delivery import models def resolve_delivery_zones(info): qs = models.DeliveryZone.objects.all() return gql_optimizer.query(qs, info)
22.444444
49
0.787129
27
202
5.666667
0.703704
0.156863
0
0
0
0
0
0
0
0
0
0
0.133663
202
8
50
25.25
0.874286
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
3cc75769cc0430a3c58ed37733ff77e1117674ee
83
py
Python
bemy/apps.py
foropolo/profiles-rest-api
f35cbb5727204bf4419c6b0a9797d7c624773219
[ "MIT" ]
null
null
null
bemy/apps.py
foropolo/profiles-rest-api
f35cbb5727204bf4419c6b0a9797d7c624773219
[ "MIT" ]
6
2019-12-05T00:35:40.000Z
2022-02-10T08:29:56.000Z
bemy/apps.py
foropolo/profiles-rest-api
f35cbb5727204bf4419c6b0a9797d7c624773219
[ "MIT" ]
null
null
null
from django.apps import AppConfig class BemyConfig(AppConfig): name = 'bemy'
13.833333
33
0.73494
10
83
6.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.180723
83
5
34
16.6
0.897059
0
0
0
0
0
0.048193
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
3cd24bc69492048a6c6dccda50896c121dfcd5b5
1,453
py
Python
alexhart/day1-2.py
chadnetzer/advent2020
b992eb202ff9dd5cc353914a136337412c8bd074
[ "MIT" ]
null
null
null
alexhart/day1-2.py
chadnetzer/advent2020
b992eb202ff9dd5cc353914a136337412c8bd074
[ "MIT" ]
1
2020-12-06T07:51:48.000Z
2020-12-08T05:03:11.000Z
alexhart/day1-2.py
chadnetzer/advent2020
b992eb202ff9dd5cc353914a136337412c8bd074
[ "MIT" ]
8
2020-12-01T21:29:21.000Z
2020-12-09T23:55:15.000Z
chalenge_input = '''1956 1994 457 1654 2003 1902 1741 1494 1597 1129 1146 1589 1989 1093 1881 1288 1848 1371 1508 1035 1813 1335 1634 1102 1262 1637 1048 1807 1270 1528 1670 1803 1202 1294 1570 1640 1484 1872 1140 1207 1485 1781 1778 1772 1334 1267 1045 1194 1873 1441 1557 1414 1123 1980 1527 1591 1665 1916 1662 1139 1...
6.634703
70
0.751549
258
1,453
4.189922
0.868217
0.022202
0.027752
0.037003
0.055504
0.055504
0
0
0
0
0
0.713911
0.213352
1,453
219
71
6.634703
0.231846
0
0
0
0
0
0.698762
0
0
1
0
0
0
1
0.004651
false
0
0
0
0.009302
0.009302
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
3ced6fbe48c455d53e5baee0065fd6577be73a4b
35
py
Python
__init__.py
chunlaw/GeoNews
836547a51a0ed177f04135979e0a0f5212e88ed7
[ "MIT" ]
3
2016-09-05T13:43:59.000Z
2016-09-05T15:36:12.000Z
__init__.py
chunlaw/GeoNews
836547a51a0ed177f04135979e0a0f5212e88ed7
[ "MIT" ]
null
null
null
__init__.py
chunlaw/GeoNews
836547a51a0ed177f04135979e0a0f5212e88ed7
[ "MIT" ]
null
null
null
__all__ = ['models'] import models
11.666667
20
0.714286
4
35
5.25
0.75
0
0
0
0
0
0
0
0
0
0
0
0.142857
35
2
21
17.5
0.7
0
0
0
0
0
0.171429
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
a7054f9458e6b8299d380a912e48321581ca4d88
67
py
Python
patan/exceptions.py
tttlh/patan
d3e5cfec085e21f963204b5c07a85cf1f029560c
[ "MIT" ]
null
null
null
patan/exceptions.py
tttlh/patan
d3e5cfec085e21f963204b5c07a85cf1f029560c
[ "MIT" ]
null
null
null
patan/exceptions.py
tttlh/patan
d3e5cfec085e21f963204b5c07a85cf1f029560c
[ "MIT" ]
1
2021-03-01T08:35:34.000Z
2021-03-01T08:35:34.000Z
# _*_ coding: utf-8 _*_ class IgnoreRequest(Exception): pass
11.166667
31
0.671642
7
67
5.857143
1
0
0
0
0
0
0
0
0
0
0
0.018868
0.208955
67
5
32
13.4
0.754717
0.313433
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
5952b761ae49fba6ea7b48e61c02b4ec86ac2f3e
209
py
Python
Isomorphic Strings.py
HalShaw/Leetcode
27c52aac5a8ecc5b5f02e54096a001920661b4bb
[ "MIT" ]
1
2016-12-22T04:09:25.000Z
2016-12-22T04:09:25.000Z
Isomorphic Strings.py
HalShaw/Leetcode
27c52aac5a8ecc5b5f02e54096a001920661b4bb
[ "MIT" ]
null
null
null
Isomorphic Strings.py
HalShaw/Leetcode
27c52aac5a8ecc5b5f02e54096a001920661b4bb
[ "MIT" ]
null
null
null
class Solution(object): def isIsomorphic(self, s, t): """ :type s: str :type t: str :rtype: bool """ return map(s.index,s)==map(t.index,t)#相同格式都可以用
20.9
54
0.473684
26
209
3.807692
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.37799
209
9
55
23.222222
0.761538
0.22488
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
59801917a885910b96ef72a02bd5c83398abe7ef
705
py
Python
tests/acceptance/selene_collection_should_test.py
KalinkinaMaria/selene
859e1102c85740b52af8d0f08dd6b6490b4bd2ff
[ "MIT" ]
null
null
null
tests/acceptance/selene_collection_should_test.py
KalinkinaMaria/selene
859e1102c85740b52af8d0f08dd6b6490b4bd2ff
[ "MIT" ]
1
2021-06-02T04:21:17.000Z
2021-06-02T04:21:17.000Z
tests/acceptance/selene_collection_should_test.py
vkarpenko/selene
4776357430c940be38f38be9981006dd156f9730
[ "MIT" ]
null
null
null
import pytest from selenium.common.exceptions import TimeoutException from selene.browser import * from selene.support.conditions import have from selene.support.jquery_style_selectors import ss from tests.acceptance.helpers.helper import get_test_driver from tests.acceptance.helpers.todomvc import given_active def ...
25.178571
77
0.741844
101
705
5
0.485149
0.015842
0.067327
0.10297
0.134653
0.134653
0.134653
0.134653
0.134653
0.134653
0
0.003241
0.124823
705
27
78
26.111111
0.815235
0
0
0.111111
0
0
0.051064
0
0
0
0
0
0
1
0.222222
false
0.055556
0.388889
0
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
1
0
1
0
0
4
59aea2d28a91ba70d32d02acede77adbfb29d245
482
py
Python
hieroskopia/utils/evaluator.py
AlbCM/hieroskopia
59ab7c9c4bb9315b84cd3b184dfc82c3d565e556
[ "MIT" ]
null
null
null
hieroskopia/utils/evaluator.py
AlbCM/hieroskopia
59ab7c9c4bb9315b84cd3b184dfc82c3d565e556
[ "MIT" ]
null
null
null
hieroskopia/utils/evaluator.py
AlbCM/hieroskopia
59ab7c9c4bb9315b84cd3b184dfc82c3d565e556
[ "MIT" ]
null
null
null
from pandas import Series class Evaluator: series: Series def __init__(self, series: Series): self.series = series self.unique_series = [value for value in self.series.dropna().unique()] def series_match(self, pattern: str): return Series(self.unique_series).astype(str).str.match...
30.125
90
0.690871
65
482
4.984615
0.369231
0.123457
0.148148
0.203704
0.333333
0.333333
0.333333
0.333333
0.333333
0.333333
0
0
0.180498
482
15
91
32.133333
0.820253
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
59b1e67d3ab1f07d0144d6c862fa57ed097c01dd
213
py
Python
expenda_api/monthly_budgets/serializers.py
ihsaro/Expenda
5eb9115da633b025bd7d2f294deaecdc20674281
[ "Apache-2.0" ]
null
null
null
expenda_api/monthly_budgets/serializers.py
ihsaro/Expenda
5eb9115da633b025bd7d2f294deaecdc20674281
[ "Apache-2.0" ]
null
null
null
expenda_api/monthly_budgets/serializers.py
ihsaro/Expenda
5eb9115da633b025bd7d2f294deaecdc20674281
[ "Apache-2.0" ]
null
null
null
from rest_framework.serializers import ModelSerializer from .models import MonthlyBudget class MonthlyBudgetSerializer(ModelSerializer): class Meta: model = MonthlyBudget fields = '__all__'
21.3
54
0.760563
19
213
8.263158
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.192488
213
9
55
23.666667
0.912791
0
0
0
0
0
0.032864
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
59d047316597f7b57f9b2c7cb27c13bfdbf4f731
924
py
Python
mpos/models/milk_collection.py
cackharot/ngen-milk-pos
4814bdbc6bddf02530ff10e1ec842fb316b0fa91
[ "Apache-2.0" ]
null
null
null
mpos/models/milk_collection.py
cackharot/ngen-milk-pos
4814bdbc6bddf02530ff10e1ec842fb316b0fa91
[ "Apache-2.0" ]
null
null
null
mpos/models/milk_collection.py
cackharot/ngen-milk-pos
4814bdbc6bddf02530ff10e1ec842fb316b0fa91
[ "Apache-2.0" ]
1
2019-04-24T06:11:47.000Z
2019-04-24T06:11:47.000Z
from db_manager import db class MilkCollection(db.Model): id = db.Column(db.Integer, primary_key=True) shift = db.Column(db.String(80)) member_id = db.Column(db.Integer, db.ForeignKey('member.id')) member = db.relationship('Member', backref=db.backref('milk_collections', lazy='dynamic')) ...
36.96
65
0.687229
138
924
4.536232
0.333333
0.204473
0.255591
0.167732
0.515974
0.455272
0
0
0
0
0
0.011568
0.158009
924
25
66
36.96
0.793059
0
0
0
0
0
0.041081
0
0
0
0
0
0
1
0
false
0
0.05
0
0.95
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
59df0b240a9d3b4933dccd2e6dff935a33c55f00
33
py
Python
nasbench301/surrogate_models/bananas/bananas_src/bo/dom/__init__.py
Basvanstein/nasbench301
2984dec45c760d47762f50efe39b71e9d1ac22e0
[ "Apache-2.0" ]
167
2019-10-26T19:54:49.000Z
2021-12-14T15:25:32.000Z
nasbench301/surrogate_models/bananas/bananas_src/bo/dom/__init__.py
Basvanstein/nasbench301
2984dec45c760d47762f50efe39b71e9d1ac22e0
[ "Apache-2.0" ]
12
2020-11-07T12:50:19.000Z
2022-01-21T08:52:53.000Z
nasbench301/surrogate_models/bananas/bananas_src/bo/dom/__init__.py
Basvanstein/nasbench301
2984dec45c760d47762f50efe39b71e9d1ac22e0
[ "Apache-2.0" ]
23
2019-10-28T12:26:32.000Z
2020-10-12T12:31:39.000Z
""" Code for domain classes. """
8.25
24
0.606061
4
33
5
1
0
0
0
0
0
0
0
0
0
0
0
0.181818
33
3
25
11
0.740741
0.727273
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
ab83242c49c298d4076cedd427c62e364bff8f46
115
py
Python
angr/procedures/linux_loader/__init__.py
Kyle-Kyle/angr
345b2131a7a67e3a6ffc7d9fd475146a3e12f837
[ "BSD-2-Clause" ]
6,132
2015-08-06T23:24:47.000Z
2022-03-31T21:49:34.000Z
angr/procedures/linux_loader/__init__.py
Kyle-Kyle/angr
345b2131a7a67e3a6ffc7d9fd475146a3e12f837
[ "BSD-2-Clause" ]
2,272
2015-08-10T08:40:07.000Z
2022-03-31T23:46:44.000Z
angr/procedures/linux_loader/__init__.py
Kyle-Kyle/angr
345b2131a7a67e3a6ffc7d9fd475146a3e12f837
[ "BSD-2-Clause" ]
1,155
2015-08-06T23:37:39.000Z
2022-03-31T05:54:11.000Z
""" These function implement functions or other functionalities provided by the linux userspace dynamic loader """
28.75
106
0.808696
14
115
6.642857
1
0
0
0
0
0
0
0
0
0
0
0
0.13913
115
3
107
38.333333
0.939394
0.921739
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
ab89f3062c9b1d258830957560a8a3b7c82d745c
2,513
py
Python
app/tile.py
kylebisley/starter-snake-python
d8a93dc6d50bfa15b9cc0492666bc290c1f78320
[ "MIT" ]
3
2020-03-06T02:12:36.000Z
2021-03-12T20:23:07.000Z
app/tile.py
kylebisley/starter-snake-python
d8a93dc6d50bfa15b9cc0492666bc290c1f78320
[ "MIT" ]
7
2020-02-18T23:07:19.000Z
2020-03-06T05:34:41.000Z
app/tile.py
kylebisley/starter-snake-python
d8a93dc6d50bfa15b9cc0492666bc290c1f78320
[ "MIT" ]
2
2020-02-26T00:07:53.000Z
2020-02-26T03:20:58.000Z
class Tile: """ represents one space on the board responsible for storing and giving information about itself in a safe manner, usually generated by a board object Attributes: _x (integer): the x coordinate, should line up with our other methods _y (integer): the y coordinate e...
31.810127
99
0.618782
364
2,513
4.096154
0.326923
0.046948
0.056338
0.025486
0
0
0
0
0
0
0
0.001701
0.29805
2,513
78
100
32.217949
0.843537
0.463589
0
0.054054
1
0
0.024213
0
0
0
0
0
0
1
0.297297
false
0
0
0.162162
0.567568
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
ab90d680317bdb320ada2d7ab73d8de4bca113e5
46,271
py
Python
custos-client-sdks/custos-python-sdk/custos/server/core/ResourceSecretService_pb2.py
hasithajayasundara/airavata-custos
2d341849dd8ea8a7c2efec6cc73b01dfd495352e
[ "Apache-2.0" ]
null
null
null
custos-client-sdks/custos-python-sdk/custos/server/core/ResourceSecretService_pb2.py
hasithajayasundara/airavata-custos
2d341849dd8ea8a7c2efec6cc73b01dfd495352e
[ "Apache-2.0" ]
null
null
null
custos-client-sdks/custos-python-sdk/custos/server/core/ResourceSecretService_pb2.py
hasithajayasundara/airavata-custos
2d341849dd8ea8a7c2efec6cc73b01dfd495352e
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ResourceSecretService.proto """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from...
48.75764
5,647
0.78118
5,394
46,271
6.414164
0.063404
0.043182
0.074137
0.07645
0.751517
0.727701
0.721371
0.68897
0.668449
0.56853
0
0.032172
0.105206
46,271
948
5,648
48.809072
0.803468
0.027512
0
0.658757
1
0.00113
0.291543
0.261283
0
0
0
0
0
1
0
false
0.022599
0.00565
0
0.00565
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
abc47a42e5800e9371627fb5c621e40ef15d6a3b
741
py
Python
app/errors/handlers.py
kai-jinny/Agile-Development-Project
d3879040c3b8a70bf539f3c7db0437da6766c6c4
[ "MIT" ]
2
2021-04-08T06:50:49.000Z
2021-04-17T12:52:45.000Z
app/errors/handlers.py
kai-jinny/Agile-Development-Project
d3879040c3b8a70bf539f3c7db0437da6766c6c4
[ "MIT" ]
16
2021-04-12T08:21:49.000Z
2021-05-18T07:21:38.000Z
app/errors/handlers.py
kai-jinny/Agile-Development-Project
d3879040c3b8a70bf539f3c7db0437da6766c6c4
[ "MIT" ]
1
2021-04-17T12:54:34.000Z
2021-04-17T12:54:34.000Z
from flask import render_template from app import db from app.errors import bp @bp.app_errorhandler(400) def not_found_error(error): return render_template('errors/400.html'), 400 @bp.app_errorhandler(401) def not_found_error(error): return render_template('errors/401.html'), 401 @bp.app_errorhandler(403) ...
24.7
50
0.766532
112
741
4.857143
0.223214
0.180147
0.1875
0.286765
0.431985
0.431985
0.431985
0.431985
0.431985
0
0
0.082192
0.11336
741
30
51
24.7
0.745814
0
0
0.227273
0
0
0.121457
0
0
0
0
0
0
1
0.272727
false
0
0.136364
0.227273
0.681818
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
abd45386c13bbf86460d0c5870b53d4590ef63ba
933
py
Python
clients/client/python/test/test_volume.py
simoneromano96/sdk
a6113d0daefbbb803790297e4b242d4c7cbbcb22
[ "Apache-2.0" ]
null
null
null
clients/client/python/test/test_volume.py
simoneromano96/sdk
a6113d0daefbbb803790297e4b242d4c7cbbcb22
[ "Apache-2.0" ]
null
null
null
clients/client/python/test/test_volume.py
simoneromano96/sdk
a6113d0daefbbb803790297e4b242d4c7cbbcb22
[ "Apache-2.0" ]
null
null
null
""" Ory APIs Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501 The version of the OpenAPI document: v0.0.1-alpha.3 Contact: support@ory.sh Generated by: http...
23.923077
194
0.697749
118
933
5.40678
0.635593
0.04232
0.040752
0.056426
0.075235
0
0
0
0
0
0
0.013736
0.219721
933
38
195
24.552632
0.862637
0.49089
0
0.2
0
0
0.052874
0
0
0
0
0.026316
0
1
0.2
false
0.2
0.333333
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
1
0
1
0
0
4
abfe5cbf9100c74ccd8fce63d1076b3d06dffdca
93
py
Python
protocols/apps.py
OhEvolve/LabBio
4495f70ea544e0c7208d51abcb1469adcb84fc1b
[ "MIT" ]
null
null
null
protocols/apps.py
OhEvolve/LabBio
4495f70ea544e0c7208d51abcb1469adcb84fc1b
[ "MIT" ]
null
null
null
protocols/apps.py
OhEvolve/LabBio
4495f70ea544e0c7208d51abcb1469adcb84fc1b
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ProtocolsConfig(AppConfig): name = 'protocols'
15.5
33
0.763441
10
93
7.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
5
34
18.6
0.910256
0
0
0
0
0
0.096774
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
f9eebbfc0db7d11ed30b9b7cf32f005e8751ccbd
39
py
Python
lang/Python/singly-linked-list-traversal-1.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/singly-linked-list-traversal-1.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/singly-linked-list-traversal-1.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
for node in lst: print(node.value)
13
21
0.666667
7
39
3.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.230769
39
2
22
19.5
0.866667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
f9fd62eb176a26c3629cfbc22be516bafd9ae4e3
229
py
Python
cs585/HW1/Eval.py
tiaotiao/applets
c583a4405ed18c7d74bfba49884525c43d114398
[ "MIT" ]
null
null
null
cs585/HW1/Eval.py
tiaotiao/applets
c583a4405ed18c7d74bfba49884525c43d114398
[ "MIT" ]
null
null
null
cs585/HW1/Eval.py
tiaotiao/applets
c583a4405ed18c7d74bfba49884525c43d114398
[ "MIT" ]
null
null
null
import numpy as np class Eval: def __init__(self, pred, gold): self.pred = pred self.gold = gold def Accuracy(self): return np.sum(np.equal(self.pred, self.gold)) / float(len(self.gold))
22.9
77
0.593886
33
229
4
0.515152
0.181818
0.181818
0
0
0
0
0
0
0
0
0
0.283843
229
9
78
25.444444
0.804878
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
e6184b491c0b4ec3b27d15dd525a54b420ab6962
109
py
Python
tests/python-reference/dict/dict-bool.py
jpolitz/lambda-py-paper
746ef63fc1123714b4adaf78119028afbea7bd76
[ "Apache-2.0" ]
25
2015-04-16T04:31:49.000Z
2022-03-10T15:53:28.000Z
tests/python-reference/dict/dict-bool.py
jpolitz/lambda-py-paper
746ef63fc1123714b4adaf78119028afbea7bd76
[ "Apache-2.0" ]
1
2018-11-21T22:40:02.000Z
2018-11-26T17:53:11.000Z
tests/python-reference/dict/dict-bool.py
jpolitz/lambda-py-paper
746ef63fc1123714b4adaf78119028afbea7bd76
[ "Apache-2.0" ]
1
2021-03-26T03:36:19.000Z
2021-03-26T03:36:19.000Z
___assertIs(not {}, True) ___assertTrue({1: 2}) ___assertIs(bool({}), False) ___assertIs(bool({1: 2}), True)
21.8
31
0.678899
14
109
4.428571
0.571429
0.064516
0
0
0
0
0
0
0
0
0
0.040404
0.091743
109
4
32
27.25
0.585859
0
0
0
0
0
0
0
0
0
0
0
1
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
4
e61e22d90752c055fa760632a6070ebc75d3da15
228
py
Python
utils/alerts.py
RealDebian/Palpeo
23be184831a3c529cf933277944e7aacda08cdad
[ "MIT" ]
null
null
null
utils/alerts.py
RealDebian/Palpeo
23be184831a3c529cf933277944e7aacda08cdad
[ "MIT" ]
null
null
null
utils/alerts.py
RealDebian/Palpeo
23be184831a3c529cf933277944e7aacda08cdad
[ "MIT" ]
null
null
null
from colorama import Fore good = Fore.GREEN + '[*]' + Fore.RESET bad = Fore.RED + '[!]' + Fore.RESET warning = Fore.RED + '[$]' + Fore.RESET excellent = Fore.CYAN + '[$]' + Fore.RESET debug_point = Fore.RED + '{*}' + Fore.RESET
32.571429
43
0.609649
30
228
4.6
0.466667
0.326087
0.23913
0.347826
0
0
0
0
0
0
0
0
0.171053
228
7
43
32.571429
0.730159
0
0
0
0
0
0.065502
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e637df68b541d6e5860c6604066ab8cbf8d7df24
164
py
Python
xs/nn/__init__.py
eLeVeNnN/xshinnosuke
69da91e0ea5042437edfc31c0e6ff9ef394c6cc9
[ "MIT" ]
290
2020-07-06T02:13:12.000Z
2021-01-04T14:23:39.000Z
xs/nn/__init__.py
E1eveNn/xshinnosuke
69da91e0ea5042437edfc31c0e6ff9ef394c6cc9
[ "MIT" ]
1
2020-12-03T11:11:48.000Z
2020-12-03T11:11:48.000Z
xs/nn/__init__.py
E1eveNn/xshinnosuke
69da91e0ea5042437edfc31c0e6ff9ef394c6cc9
[ "MIT" ]
49
2020-07-16T00:27:47.000Z
2020-11-26T03:03:14.000Z
from .objectives import MSELoss, CrossEntropyLoss from .models import Sequential, Model, Module from .grad_fn import Parameter, Tensor from .td_functional import *
32.8
49
0.823171
21
164
6.333333
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.121951
164
4
50
41
0.923611
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
e667758e13389c3d1155786a731f2598edf57be3
981
py
Python
test/test_theaigame_bot.py
gnmerritt/poker
5e7241efac1b0757f39c28f6d485f4d79960095b
[ "MIT" ]
5
2015-04-09T02:45:12.000Z
2018-06-27T05:34:41.000Z
test/test_theaigame_bot.py
gnmerritt/poker
5e7241efac1b0757f39c28f6d485f4d79960095b
[ "MIT" ]
null
null
null
test/test_theaigame_bot.py
gnmerritt/poker
5e7241efac1b0757f39c28f6d485f4d79960095b
[ "MIT" ]
2
2017-09-19T04:49:07.000Z
2018-12-09T19:58:18.000Z
import unittest from pokeher.theaigame_bot import TheAiGameBot class QuietBot(TheAiGameBot): def log(self, msg): pass class TheAiGameBotTest(unittest.TestCase): """Test that the bot class is instantiated properly and has all the methods that it's supposed to""" def setUp(self): self.bo...
31.645161
79
0.670744
133
981
4.87218
0.37594
0.108025
0.25
0.291667
0.194444
0.108025
0.108025
0.108025
0.108025
0
0
0
0.2263
981
30
80
32.7
0.853755
0.224261
0
0
0
0
0
0
0
0
0
0
0.45
1
0.25
false
0.05
0.1
0
0.45
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
4
0567c00611e59a9c33c0140344f11e8c956bd4aa
278
py
Python
python/testData/completion/slots.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/completion/slots.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/completion/slots.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
class A(object): __slots__ = ['foo', 'bar'] a = A() a.ba<caret> class B(object): __slots__ = ['bar'] class C(B): pass C().ba<caret> class D(object): pass class E(D): __slots__ = ['bar'] E().ba<caret> class F: __slots__ = ['baz'] F().ba<caret>
9.586207
30
0.535971
42
278
3.166667
0.357143
0.210526
0.270677
0
0
0
0
0
0
0
0
0
0.248201
278
29
31
9.586207
0.636364
0
0
0.235294
0
0
0.053763
0
0
0
0
0
0
0
null
null
0.117647
0
null
null
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
4
0588430e94f2e77e31265668a8e628ff493b0db0
24
py
Python
tests/components/devcon/__init__.py
pcaston/Open-Peer-Power
81805d455c548e0f86b0f7fedc793b588b2afdfd
[ "Apache-2.0" ]
null
null
null
tests/components/devcon/__init__.py
pcaston/Open-Peer-Power
81805d455c548e0f86b0f7fedc793b588b2afdfd
[ "Apache-2.0" ]
null
null
null
tests/components/devcon/__init__.py
pcaston/Open-Peer-Power
81805d455c548e0f86b0f7fedc793b588b2afdfd
[ "Apache-2.0" ]
1
2019-04-24T14:10:08.000Z
2019-04-24T14:10:08.000Z
"""Tests for Devcon."""
12
23
0.583333
3
24
4.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.666667
0.708333
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
0598570bbddd550266f613922fec2e9624969d88
365
py
Python
mercury_engine_data_structures/adapters/enum_adapter.py
Antidote/mercury-engine-data-structures
d8e8ba1eacaa37f4fc76b78bb208ffc2cde61f64
[ "MIT" ]
2
2021-06-18T16:47:00.000Z
2021-07-06T22:36:32.000Z
mercury_engine_data_structures/adapters/enum_adapter.py
Antidote/mercury-engine-data-structures
d8e8ba1eacaa37f4fc76b78bb208ffc2cde61f64
[ "MIT" ]
1
2021-10-01T20:26:01.000Z
2021-10-01T20:26:01.000Z
mercury_engine_data_structures/adapters/enum_adapter.py
Antidote/mercury-engine-data-structures
d8e8ba1eacaa37f4fc76b78bb208ffc2cde61f64
[ "MIT" ]
5
2021-08-23T17:01:01.000Z
2021-11-20T03:57:14.000Z
from construct import Adapter, Int32ub, Enum class EnumAdapter(Adapter): def __init__(self, enum_class, subcon=Int32ub): super().__init__(Enum(subcon, enum_class)) self._enum_class = enum_class def _decode(self, obj, context, path): return self._enum_class[obj] def _encode(self, ...
26.071429
51
0.682192
47
365
4.93617
0.425532
0.232759
0.168103
0.155172
0.206897
0
0
0
0
0
0
0.013986
0.216438
365
13
52
28.076923
0.797203
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.222222
0.777778
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
556a5954e27e88a1963c24a16323e7c269ae5148
2,556
py
Python
pystratis/api/balances/tests/test_balances.py
madrazzl3/pystratis
8b78552e753ae1d12f2afb39e9a322a270fbb7b3
[ "MIT" ]
null
null
null
pystratis/api/balances/tests/test_balances.py
madrazzl3/pystratis
8b78552e753ae1d12f2afb39e9a322a270fbb7b3
[ "MIT" ]
null
null
null
pystratis/api/balances/tests/test_balances.py
madrazzl3/pystratis
8b78552e753ae1d12f2afb39e9a322a270fbb7b3
[ "MIT" ]
null
null
null
import pytest from pytest_mock import MockerFixture from pystratis.api.balances import Balances from pystratis.core.types import Address from pystratis.core.networks import CirrusMain def test_all_strax_endpoints_implemented(strax_swagger_json): paths = [key.lower() for key in strax_swagger_json['paths']] for...
38.727273
96
0.736307
303
2,556
6.046205
0.214521
0.048035
0.069869
0.041485
0.731441
0.731441
0.731441
0.731441
0.661572
0.661572
0
0.00374
0.163146
2,556
65
97
39.323077
0.852735
0.027778
0
0.638298
0
0
0.025786
0
0
0
0
0
0.255319
1
0.12766
false
0
0.106383
0
0.234043
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
55915bb2fe7f5c79e7cd44acfd89dd079dc66443
2,658
py
Python
Python/Euler 01 - 10.py
jiegillet/project-euler
3b530e11af00e9d9eccb7aa41ed8018ee6d7b472
[ "MIT" ]
null
null
null
Python/Euler 01 - 10.py
jiegillet/project-euler
3b530e11af00e9d9eccb7aa41ed8018ee6d7b472
[ "MIT" ]
null
null
null
Python/Euler 01 - 10.py
jiegillet/project-euler
3b530e11af00e9d9eccb7aa41ed8018ee6d7b472
[ "MIT" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 """ untitled.py Created by Jérémie on 2013-10-26. Copyright (c) 2013 __MyCompanyName__. All rights reserved. """ """ # Problem 1 lim=1000 s=0 for i in range(lim): if i%3==0 or i%5==0: s+=i print s print sum([x for x in range(1000) if x % 3== 0 or x % 5== 0]) """ """ # Probl...
25.557692
1,009
0.748683
361
2,658
5.501385
0.224377
0.028197
0.017623
0.022155
0.127895
0.097684
0.066465
0.066465
0.066465
0.066465
0
0.504244
0.113619
2,658
103
1,010
25.805825
0.33871
0.017306
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
559af5721a6a15c927e5d10a7e185b857bbef70d
142
py
Python
{{cookiecutter.project_name}}/service/worker/beat.py
ProjectTemplates/python-backend-service
5266916e54faaf236bc972a2cd7bb1217e8a8625
[ "MIT" ]
7
2020-07-28T18:45:20.000Z
2021-12-11T23:33:49.000Z
{{cookiecutter.project_name}}/service/worker/beat.py
ProjectTemplates/python-fastapi-backend
5266916e54faaf236bc972a2cd7bb1217e8a8625
[ "MIT" ]
null
null
null
{{cookiecutter.project_name}}/service/worker/beat.py
ProjectTemplates/python-fastapi-backend
5266916e54faaf236bc972a2cd7bb1217e8a8625
[ "MIT" ]
1
2020-05-10T20:26:02.000Z
2020-05-10T20:26:02.000Z
from conf import celery_settings from .app import app @app.on_after_configure.connect def setup_periodic_tasks(sender, **kwargs): pass
15.777778
43
0.788732
21
142
5.095238
0.809524
0
0
0
0
0
0
0
0
0
0
0
0.140845
142
8
44
17.75
0.877049
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.4
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
4
55bc6334d6372aec8c3f097cf63d231873013d04
1,351
py
Python
peering/migrations/0051_auto_20190818_1816.py
schiederme/peering-manager
2d29427fd4f2b91a5208f31e1a7ad69eaf82924c
[ "Apache-2.0" ]
173
2020-08-08T15:38:08.000Z
2022-03-21T11:35:25.000Z
peering/migrations/0051_auto_20190818_1816.py
schiederme/peering-manager
2d29427fd4f2b91a5208f31e1a7ad69eaf82924c
[ "Apache-2.0" ]
247
2017-12-26T12:55:34.000Z
2020-08-08T11:57:35.000Z
peering/migrations/0051_auto_20190818_1816.py
schiederme/peering-manager
2d29427fd4f2b91a5208f31e1a7ad69eaf82924c
[ "Apache-2.0" ]
63
2017-10-13T06:46:05.000Z
2020-08-08T00:41:57.000Z
# Generated by Django 2.2.4 on 2019-08-18 16:16 from django.db import migrations class Migration(migrations.Migration): dependencies = [("peering", "0050_auto_20190806_2159")] operations = [ migrations.RenameField( model_name="autonomoussystem", old_name="comment", new_name="comments" ...
32.95122
86
0.6151
127
1,351
6.307087
0.307087
0.235955
0.292135
0.337079
0.625468
0.625468
0.589263
0.589263
0.589263
0.589263
0
0.031282
0.266469
1,351
40
87
33.775
0.776993
0.033309
0
0.529412
1
0
0.22316
0.040644
0
0
0
0
0
1
0
false
0
0.029412
0
0.117647
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e9480334f3e96fb87240d084ea753201b541d895
367
py
Python
Python/Effective Python/item19.py
Vayne-Lover/Effective
05f0a08bec8eb112fdb4e7a489d0e33bc81522ff
[ "MIT" ]
null
null
null
Python/Effective Python/item19.py
Vayne-Lover/Effective
05f0a08bec8eb112fdb4e7a489d0e33bc81522ff
[ "MIT" ]
null
null
null
Python/Effective Python/item19.py
Vayne-Lover/Effective
05f0a08bec8eb112fdb4e7a489d0e33bc81522ff
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- def remainder(number,divisor): return number % divisor def flow_rate(weight,time,period=1): return weight/time*period if __name__=="__main__": print(remainder(20,7)) print(remainder(20,divisor=7)) print(remainder(number=20,divisor=7)) print(remainder(divisor=7,number=20)) print...
21.588235
39
0.708447
57
367
4.368421
0.438596
0.2249
0.180723
0.120482
0.192771
0
0
0
0
0
0
0.067901
0.117166
367
16
40
22.9375
0.700617
0.057221
0
0
0
0
0.023256
0
0
0
0
0
0
1
0.181818
false
0
0
0.181818
0.363636
0.545455
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
1
0
4
e96abeb27deaf4502ac786cdfa144e452aa4f116
271
py
Python
mordor_magic/mordor_app/admin.py
Far4Ru/mordor-magic-2
7082ae8cc0b12154f74f4f58f9cad8f0325a8f57
[ "MIT" ]
null
null
null
mordor_magic/mordor_app/admin.py
Far4Ru/mordor-magic-2
7082ae8cc0b12154f74f4f58f9cad8f0325a8f57
[ "MIT" ]
null
null
null
mordor_magic/mordor_app/admin.py
Far4Ru/mordor-magic-2
7082ae8cc0b12154f74f4f58f9cad8f0325a8f57
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from .models import * admin.site.register(CharacterEvent) admin.site.register(Event) admin.site.register(CharacterOwner) admin.site.register(Character) admin.site.register(User, UserAdmin)
27.1
47
0.830258
36
271
6.25
0.416667
0.2
0.377778
0
0
0
0
0
0
0
0
0
0.070111
271
9
48
30.111111
0.892857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.375
0
0.375
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
e9869e465ad91d2e5ca0674a3741999310e41b5c
95
py
Python
calheatmap/apps.py
acdh-oeaw/gtrans
6f56b1d09de0cad503273bf8a01cd81e25220524
[ "MIT" ]
1
2020-03-15T16:14:02.000Z
2020-03-15T16:14:02.000Z
calheatmap/apps.py
acdh-oeaw/gtrans
6f56b1d09de0cad503273bf8a01cd81e25220524
[ "MIT" ]
14
2018-11-09T08:34:23.000Z
2022-02-10T08:15:53.000Z
calheatmap/apps.py
acdh-oeaw/gtrans
6f56b1d09de0cad503273bf8a01cd81e25220524
[ "MIT" ]
null
null
null
from django.apps import AppConfig class CalheatmapConfig(AppConfig): name = 'calheatmap'
15.833333
34
0.768421
10
95
7.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.157895
95
5
35
19
0.9125
0
0
0
0
0
0.105263
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
e987c807f21477bc86678b22246d01c6112ae5c0
50
py
Python
classification/cifar10/losses/__init__.py
AkibMashrur/Ensembling
bdf2f601be90070fed10db62a9c15506e1df37b6
[ "Apache-2.0" ]
null
null
null
classification/cifar10/losses/__init__.py
AkibMashrur/Ensembling
bdf2f601be90070fed10db62a9c15506e1df37b6
[ "Apache-2.0" ]
null
null
null
classification/cifar10/losses/__init__.py
AkibMashrur/Ensembling
bdf2f601be90070fed10db62a9c15506e1df37b6
[ "Apache-2.0" ]
null
null
null
from .contrastive import SupConLoss, NoiseConLoss
25
49
0.86
5
50
8.6
1
0
0
0
0
0
0
0
0
0
0
0
0.1
50
1
50
50
0.955556
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
e9be790eafe58cf7aaa0017314b055dd2bdf4ea4
79
py
Python
core/devices/__init__.py
kisonho/torchmanager
ac01c61a132238bc0d39bf2173dfd37f44dbbf30
[ "BSD-2-Clause" ]
null
null
null
core/devices/__init__.py
kisonho/torchmanager
ac01c61a132238bc0d39bf2173dfd37f44dbbf30
[ "BSD-2-Clause" ]
null
null
null
core/devices/__init__.py
kisonho/torchmanager
ac01c61a132238bc0d39bf2173dfd37f44dbbf30
[ "BSD-2-Clause" ]
null
null
null
from .devices import data_parallel, empty_cache, find, move_to_device, CPU, GPU
79
79
0.822785
13
79
4.692308
1
0
0
0
0
0
0
0
0
0
0
0
0.101266
79
1
79
79
0.859155
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
e9c28c0a97751dccd5d3dc1b21e7750a3497a062
272
py
Python
src/globus_cli/commands/timer/__init__.py
globusonline/globus-cli
696857baafac198141edc3c1c29c72215f217df1
[ "Apache-2.0" ]
null
null
null
src/globus_cli/commands/timer/__init__.py
globusonline/globus-cli
696857baafac198141edc3c1c29c72215f217df1
[ "Apache-2.0" ]
1
2016-04-09T17:26:05.000Z
2016-04-11T16:13:50.000Z
src/globus_cli/commands/timer/__init__.py
globusonline/globus-cli
696857baafac198141edc3c1c29c72215f217df1
[ "Apache-2.0" ]
null
null
null
from globus_cli.parsing import group from .list import list_command from .show import show_command @group("timer") def timer_command(): """Schedule and manage jobs in Globus Timer""" timer_command.add_command(list_command) timer_command.add_command(show_command)
19.428571
50
0.794118
40
272
5.15
0.425
0.174757
0.145631
0.213592
0
0
0
0
0
0
0
0
0.121324
272
13
51
20.923077
0.861925
0.147059
0
0
0
0
0.022124
0
0
0
0
0
0
1
0.142857
true
0
0.428571
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
e9cf0657e1bdcd66fa582464fcd1514ef88a229a
263
py
Python
server/api/serializers/letter.py
MePsyDuck/OAPS
ddbc69fbd11d1a02d37514d48f5dabe04cd23405
[ "MIT" ]
null
null
null
server/api/serializers/letter.py
MePsyDuck/OAPS
ddbc69fbd11d1a02d37514d48f5dabe04cd23405
[ "MIT" ]
null
null
null
server/api/serializers/letter.py
MePsyDuck/OAPS
ddbc69fbd11d1a02d37514d48f5dabe04cd23405
[ "MIT" ]
null
null
null
from rest_framework import serializers from api.models import Letter class LetterSerializer(serializers.ModelSerializer): class Meta: model = Letter fields = ('id', 'subject', 'body', 'created', 'modified', 'sender', 'receiver', 'remarks')
26.3
98
0.692015
27
263
6.703704
0.814815
0
0
0
0
0
0
0
0
0
0
0
0.18251
263
9
99
29.222222
0.84186
0
0
0
0
0
0.186312
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
759c9c03daed3987b022572f95ef159fbf48d6f3
238
py
Python
hrsalespipes/dashboard/urls.py
hanztura/hrsalespipes
77accf3132726ced05d84fa2a41891b841f310b8
[ "Apache-2.0" ]
3
2020-03-26T12:43:43.000Z
2021-05-10T14:35:51.000Z
hrsalespipes/dashboard/urls.py
hanztura/hrsalespipes
77accf3132726ced05d84fa2a41891b841f310b8
[ "Apache-2.0" ]
5
2021-04-08T21:15:15.000Z
2022-02-10T11:03:12.000Z
hrsalespipes/dashboard/urls.py
hanztura/hrsalespipes
77accf3132726ced05d84fa2a41891b841f310b8
[ "Apache-2.0" ]
1
2022-01-30T19:24:48.000Z
2022-01-30T19:24:48.000Z
from django.urls import path from .views import DashboardTemplateView, DashboardView app_name = 'dashboard' urlpatterns = [ path('test/', DashboardView.as_view(), name='test'), path('', DashboardView.as_view(), name='index'), ]
23.8
56
0.714286
27
238
6.185185
0.592593
0.179641
0.227545
0.275449
0
0
0
0
0
0
0
0
0.134454
238
9
57
26.444444
0.81068
0
0
0
0
0
0.096639
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
75a9038ac82fdcf9e0ab0266716bd2dfcbf5e311
52
py
Python
pynito/__init__.py
qdonohue/pynito
bcd7eeb3cdcdb63af2b43dca53b2e7899772e518
[ "MIT" ]
null
null
null
pynito/__init__.py
qdonohue/pynito
bcd7eeb3cdcdb63af2b43dca53b2e7899772e518
[ "MIT" ]
null
null
null
pynito/__init__.py
qdonohue/pynito
bcd7eeb3cdcdb63af2b43dca53b2e7899772e518
[ "MIT" ]
1
2020-11-21T12:32:27.000Z
2020-11-21T12:32:27.000Z
from pynito.cognitodecryptor import CognitoDecryptor
52
52
0.923077
5
52
9.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.057692
52
1
52
52
0.979592
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
75d24f00bd3d394aa053d2de0806888649ac3eca
381
py
Python
hedge_hog/metric/__init__.py
otivedani/hedge_hog
62026e63b6bdc72cc4f0c984136712e6ee090f68
[ "MIT" ]
null
null
null
hedge_hog/metric/__init__.py
otivedani/hedge_hog
62026e63b6bdc72cc4f0c984136712e6ee090f68
[ "MIT" ]
null
null
null
hedge_hog/metric/__init__.py
otivedani/hedge_hog
62026e63b6bdc72cc4f0c984136712e6ee090f68
[ "MIT" ]
null
null
null
""" examples on scikit-image : call : from skimage.feature import blob_dog, blob_log, blob_doh structure : skimage feature __init__.py (from .blob import blob_dog, blob_log, blob_doh) blob.py (contains blob_dog, blob_log, blob_doh) conclusion : module imported because it was defin...
20.052632
69
0.692913
52
381
4.826923
0.519231
0.083665
0.131474
0.167331
0.298805
0.298805
0.215139
0
0
0
0
0
0.238845
381
19
70
20.052632
0.865517
0.83727
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
75d9f90c2f975ea4a2ae0b3fd9a26571c68ea1e6
21,236
py
Python
MBC_ER_status/Ulz_pipeline/downloads/run_tf_analyses_from_bam.py
adoebley/Griffin_analyses
94a8246b45c3ebbf255cffaa60b97e7e05d5de78
[ "BSD-3-Clause-Clear" ]
6
2021-10-05T10:32:32.000Z
2022-03-03T15:38:38.000Z
MBC_ER_status/Ulz_pipeline/downloads/run_tf_analyses_from_bam.py
adoebley/Griffin_analyses
94a8246b45c3ebbf255cffaa60b97e7e05d5de78
[ "BSD-3-Clause-Clear" ]
null
null
null
MBC_ER_status/Ulz_pipeline/downloads/run_tf_analyses_from_bam.py
adoebley/Griffin_analyses
94a8246b45c3ebbf255cffaa60b97e7e05d5de78
[ "BSD-3-Clause-Clear" ]
1
2021-11-03T07:19:16.000Z
2021-11-03T07:19:16.000Z
#!/usr/bin/env python # coding: utf-8 #AL - the above code is new for the griffin paper version #modified print commands for python3 # Analyze all possible things from BAM-file import sys import argparse from subprocess import call import numpy import scipy import scipy.stats import os.path import os import glob # ...
71.743243
290
0.638915
2,800
21,236
4.668571
0.093929
0.05814
0.088892
0.039933
0.796206
0.766983
0.732864
0.703182
0.672965
0.638846
0
0.027952
0.097005
21,236
295
291
71.986441
0.653734
0.136937
0
0.300847
0
0
0.413488
0.226312
0
0
0
0
0
1
0.029661
false
0
0.038136
0
0.072034
0.110169
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f97eb5e10ca3b047fe571ca899a9ef09001fcef1
4,894
py
Python
py/g1/threads/tests/test_locks.py
clchiou/garage
446ff34f86cdbd114b09b643da44988cf5d027a3
[ "MIT" ]
3
2016-01-04T06:28:52.000Z
2020-09-20T13:18:40.000Z
py/g1/threads/tests/test_locks.py
clchiou/garage
446ff34f86cdbd114b09b643da44988cf5d027a3
[ "MIT" ]
null
null
null
py/g1/threads/tests/test_locks.py
clchiou/garage
446ff34f86cdbd114b09b643da44988cf5d027a3
[ "MIT" ]
null
null
null
import unittest import threading from g1.threads import locks class ReadWriteLockTest(unittest.TestCase): def setUp(self): super().setUp() self.rwlock = locks.ReadWriteLock() def assert_state(self, num_readers, num_writers): self.assertEqual(self.rwlock._num_readers, num_readers) ...
28.619883
66
0.585411
553
4,894
5
0.108499
0.03472
0.065823
0.055696
0.800362
0.730922
0.718264
0.672694
0.630741
0.630741
0
0.049228
0.298529
4,894
170
67
28.788235
0.75619
0
0
0.625
0
0
0.001635
0
0
0
0
0
0.272059
1
0.080882
false
0
0.022059
0
0.110294
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f9835a83cc85b616ebc4877cb26f2e75d6afe07f
1,104
py
Python
statisticalDistributions.py
mrhsce/simPython
94598164abc9833bad1121a978acb94c4fecec27
[ "Apache-2.0" ]
2
2015-12-19T04:27:12.000Z
2016-11-23T18:53:50.000Z
statisticalDistributions.py
mrhsce/simPython
94598164abc9833bad1121a978acb94c4fecec27
[ "Apache-2.0" ]
null
null
null
statisticalDistributions.py
mrhsce/simPython
94598164abc9833bad1121a978acb94c4fecec27
[ "Apache-2.0" ]
null
null
null
""" Here definitions and attributes of all statistical distributions that are used in the simulation are defined""" from abc import ABCMeta, abstractmethod import random #import np class StatDis(object): __metaclass__ = ABCMeta def __init__(self): pass @abstractmethod def generate(self): ...
19.714286
115
0.645833
136
1,104
5.066176
0.360294
0.050798
0.079826
0.104499
0.078374
0
0
0
0
0
0
0.002448
0.259964
1,104
55
116
20.072727
0.840881
0.106884
0
0.212121
0
0
0
0
0
0
0
0
0
1
0.30303
false
0.060606
0.060606
0.121212
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
f98a6174a8d5b6ced1433ccb3968837fdf52d7af
7,135
py
Python
tests/test_signals.py
sulfadimetoxin/oarepo-taxonomies
b8385173614aa711a5e316c8fc24ac065b48aa3d
[ "MIT" ]
null
null
null
tests/test_signals.py
sulfadimetoxin/oarepo-taxonomies
b8385173614aa711a5e316c8fc24ac065b48aa3d
[ "MIT" ]
9
2020-08-24T08:49:15.000Z
2021-08-05T16:45:23.000Z
tests/test_signals.py
sulfadimetoxin/oarepo-taxonomies
b8385173614aa711a5e316c8fc24ac065b48aa3d
[ "MIT" ]
1
2020-08-20T18:39:43.000Z
2020-08-20T18:39:43.000Z
from pprint import pprint import pytest from flask_taxonomies.proxies import current_flask_taxonomies from flask_taxonomies.term_identification import TermIdentification from invenio_records import Record from oarepo_taxonomies.exceptions import DeleteAbortedError from oarepo_taxonomies.signals import lock_term from ...
38.777174
99
0.568605
820
7,135
4.708537
0.095122
0.090132
0.131054
0.041958
0.773893
0.749547
0.723647
0.723647
0.693085
0.670293
0
0.049711
0.297968
7,135
183
100
38.989071
0.721102
0.059986
0
0.605263
0
0.098684
0.206397
0
0
0
0
0
0.065789
1
0.046053
false
0
0.052632
0
0.098684
0.006579
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f9c7d6fee331123a55864020b776b1d34238b97d
467
py
Python
src/todo/522-LongestUncommonSubsequenceII.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
1
2022-03-03T15:11:48.000Z
2022-03-03T15:11:48.000Z
src/todo/522-LongestUncommonSubsequenceII.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
null
null
null
src/todo/522-LongestUncommonSubsequenceII.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
2
2022-01-20T22:49:58.000Z
2022-01-20T22:53:13.000Z
#!/usr/bin/env python """ CREATED AT: 2021/8/28 Des: https://leetcode.com/problems/longest-uncommon-subsequence-ii/ GITHUB: https://github.com/Jiezhi/myleetcode """ from typing import List class Solution: def findLUSlength(self, strs: List[str]) -> int: pass def test(): assert Solution().findLUSle...
18.68
68
0.648822
60
467
4.916667
0.766667
0.094915
0.183051
0.210169
0
0
0
0
0
0
0
0.022959
0.1606
467
24
69
19.458333
0.729592
0.334047
0
0
0
0
0.082781
0
0
0
0
0
0.222222
1
0.222222
false
0.111111
0.111111
0
0.444444
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
ddd324b790a9312a2fcc8cac11385ac3c12a277d
2,796
py
Python
src/markup.py
alex-panda/PDFCompiler
3454ee01a6e5ebb2d2bccdcdc32678bf1def895d
[ "MIT" ]
null
null
null
src/markup.py
alex-panda/PDFCompiler
3454ee01a6e5ebb2d2bccdcdc32678bf1def895d
[ "MIT" ]
null
null
null
src/markup.py
alex-panda/PDFCompiler
3454ee01a6e5ebb2d2bccdcdc32678bf1def895d
[ "MIT" ]
null
null
null
from constants import ALIGNMENT, STRIKE_THROUGH, UNDERLINE def assert_bool(val): assert isinstance(val, (bool, None)), f'Can only be True, False, or None. {val} was given instead.' class Markup: """ A Markup for a range of MarkedUpText. """ def __init__(self): from placer.templates import ...
29.125
114
0.65093
354
2,796
4.903955
0.30226
0.0553
0.034562
0.034562
0.150922
0.051843
0.051843
0.051843
0.051843
0.051843
0
0
0.260014
2,796
95
115
29.431579
0.839053
0.217096
0
0.132075
0
0
0.06692
0
0
0
0
0
0.075472
1
0.320755
false
0.056604
0.056604
0.113208
0.622642
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
dde864bb1233daa956ab699eaa628d9606c4448f
144
py
Python
ParkFinder/Parks/migrations/__init__.py
Krause2023/CS224-ParkFinder-Web_App
ccfa2faf61d6adb300f319ae11dd983483451410
[ "MIT" ]
1
2021-12-22T16:00:36.000Z
2021-12-22T16:00:36.000Z
ParkFinder/Parks/migrations/__init__.py
Krause2023/CS224-ParkFinder-Web_App
ccfa2faf61d6adb300f319ae11dd983483451410
[ "MIT" ]
null
null
null
ParkFinder/Parks/migrations/__init__.py
Krause2023/CS224-ParkFinder-Web_App
ccfa2faf61d6adb300f319ae11dd983483451410
[ "MIT" ]
null
null
null
# Create your migrations here. # WILL USE THIS LATER IF/WHEN YOU CREATE A DATABASE AND USER ACCOUNTS - THIS MAY BE IN A DIFFERENT APP AS WELL!!!
72
113
0.756944
26
144
4.192308
0.884615
0
0
0
0
0
0
0
0
0
0
0
0.1875
144
2
113
72
0.931624
0.972222
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
ddf4a85d16651173e5cecae5af1d1cdea3c48b47
154
py
Python
pages/apps.py
slideclimb/django-template
c489c118c47fe3510f7d5a36781d2d8835ef5ba6
[ "MIT" ]
2
2019-07-11T08:24:20.000Z
2021-09-16T22:08:42.000Z
pages/apps.py
slideclimb/django-template
c489c118c47fe3510f7d5a36781d2d8835ef5ba6
[ "MIT" ]
3
2021-06-09T17:17:16.000Z
2021-06-10T17:25:04.000Z
pages/apps.py
slideclimb/django-template
c489c118c47fe3510f7d5a36781d2d8835ef5ba6
[ "MIT" ]
1
2018-10-07T15:32:27.000Z
2018-10-07T15:32:27.000Z
""" This file is here to register apps. """ from django.apps import AppConfig class HomeConfig(AppConfig): """ Register app. """ name = 'pages'
19.25
43
0.655844
19
154
5.315789
0.842105
0
0
0
0
0
0
0
0
0
0
0
0.207792
154
7
44
22
0.827869
0.324675
0
0
0
0
0.055556
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
ddf9fcd921f244664cbca84e5f6bac067c77d492
281
py
Python
ares/physics/__init__.py
astrojhgu/ares
42008c8e4bf79f0b000cc833e02a86510bce7611
[ "MIT" ]
1
2019-01-04T15:13:18.000Z
2019-01-04T15:13:18.000Z
ares/physics/__init__.py
astrojhgu/ares
42008c8e4bf79f0b000cc833e02a86510bce7611
[ "MIT" ]
null
null
null
ares/physics/__init__.py
astrojhgu/ares
42008c8e4bf79f0b000cc833e02a86510bce7611
[ "MIT" ]
null
null
null
import Constants from .Hydrogen import Hydrogen from .Cosmology import Cosmology from .HaloMassFunction import HaloMassFunction from .RateCoefficients import RateCoefficients from .SecondaryElectrons import SecondaryElectrons from .CrossSections import PhotoIonizationCrossSection
35.125
54
0.886121
26
281
9.576923
0.384615
0
0
0
0
0
0
0
0
0
0
0
0.092527
281
7
55
40.142857
0.976471
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
fb07a87646537aa7d24a8747c95b7298fca053cd
98
py
Python
backup_codes/apps.py
biligunb/portal-web-app
cd10cda3d8bfc8f055a268e14f9665f142051c90
[ "MIT" ]
null
null
null
backup_codes/apps.py
biligunb/portal-web-app
cd10cda3d8bfc8f055a268e14f9665f142051c90
[ "MIT" ]
null
null
null
backup_codes/apps.py
biligunb/portal-web-app
cd10cda3d8bfc8f055a268e14f9665f142051c90
[ "MIT" ]
null
null
null
from django.apps import AppConfig class BackupCodesConfig(AppConfig): name = "backup_codes"
16.333333
35
0.77551
11
98
6.818182
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.153061
98
5
36
19.6
0.903614
0
0
0
0
0
0.122449
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
fb19896662026b64b3faf3ab0b1d3c77cfab5f56
323
py
Python
mavisetc/__init__.py
jtmendel/mavisetc
4cd6800a7c4462f9a8063060c41e19719d35c5ee
[ "MIT" ]
null
null
null
mavisetc/__init__.py
jtmendel/mavisetc
4cd6800a7c4462f9a8063060c41e19719d35c5ee
[ "MIT" ]
null
null
null
mavisetc/__init__.py
jtmendel/mavisetc
4cd6800a7c4462f9a8063060c41e19719d35c5ee
[ "MIT" ]
null
null
null
try: from ._version import __version__ except(ImportError): pass from . import instruments from . import sources from . import sky from . import utils from . import telescopes from . import detectors from . import filters __all__ = ['instruments', 'sources', 'sky', 'utils', 'telescopes', 'detectors', 'filters...
21.533333
90
0.724458
37
323
6.081081
0.405405
0.311111
0
0
0
0
0
0
0
0
0
0
0.167183
323
14
91
23.071429
0.836431
0
0
0
0
0
0.160991
0
0
0
0
0
0
1
0
false
0.083333
0.75
0
0.75
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
1
1
0
1
0
0
4
fb1b088b1122df174835b7dea6617c979527dde6
32,165
py
Python
tests/card_tests/druid_tests.py
anuragpapineni/Hearthbreaker-evolved-agent
d519d42babd93e3567000c33a381e93db065301c
[ "MIT" ]
null
null
null
tests/card_tests/druid_tests.py
anuragpapineni/Hearthbreaker-evolved-agent
d519d42babd93e3567000c33a381e93db065301c
[ "MIT" ]
null
null
null
tests/card_tests/druid_tests.py
anuragpapineni/Hearthbreaker-evolved-agent
d519d42babd93e3567000c33a381e93db065301c
[ "MIT" ]
null
null
null
import random import unittest from hearthbreaker.agents.basic_agents import DoNothingBot from tests.agents.testing_agents import SelfSpellTestingAgent, EnemySpellTestingAgent, MinionPlayingAgent, \ EnemyMinionSpellTestingAgent, SpellTestingAgent from hearthbreaker.constants import CHARACTER_CLASS from hearthbreake...
40.818528
120
0.684626
3,893
32,165
5.405343
0.069869
0.092382
0.161669
0.20786
0.823362
0.760823
0.724326
0.68954
0.641971
0.562848
0
0.015237
0.210384
32,165
787
121
40.870394
0.813292
0.038551
0
0.660566
0
0
0.010324
0.001424
0
0
0
0
0.31614
1
0.053245
false
0
0.014975
0
0.074875
0
0
0
0
null
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
fb1d2be116c21e769b849455662ea6590e0d2c00
484
py
Python
egg/resources/__init__.py
eanorambuena/Driver
3cb14f5d741c6bae364326305ae0ded04e10e9d4
[ "MIT" ]
null
null
null
egg/resources/__init__.py
eanorambuena/Driver
3cb14f5d741c6bae364326305ae0ded04e10e9d4
[ "MIT" ]
null
null
null
egg/resources/__init__.py
eanorambuena/Driver
3cb14f5d741c6bae364326305ae0ded04e10e9d4
[ "MIT" ]
null
null
null
from egg.resources.console import * from egg.resources.server import * from egg.resources.structures import * from egg.resources.auth import * from egg.resources.constants import * from egg.resources.extensions import * from egg.resources.help import * from egg.resources.modules import * from egg.resources.parser impor...
32.266667
38
0.805785
67
484
5.776119
0.313433
0.217054
0.496124
0.625323
0
0
0
0
0
0
0
0
0.103306
484
15
39
32.266667
0.891705
0
0
0
0
0
0.061856
0
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
fb223c6e71ca1dc86e9314d86210a866c21d9362
220
py
Python
cauldronBase/Base.py
Razikus/cauldron
cc6e87cb4283efe00ad7e06c98d05e8571883447
[ "MIT" ]
null
null
null
cauldronBase/Base.py
Razikus/cauldron
cc6e87cb4283efe00ad7e06c98d05e8571883447
[ "MIT" ]
null
null
null
cauldronBase/Base.py
Razikus/cauldron
cc6e87cb4283efe00ad7e06c98d05e8571883447
[ "MIT" ]
null
null
null
from sqlalchemy.ext.declarative import declarative_base from flask import Flask from flask import jsonify from flask_marshmallow import Marshmallow Base = declarative_base() app = Flask(__name__) ma = Marshmallow(app)
22
55
0.827273
29
220
6.034483
0.413793
0.154286
0.171429
0
0
0
0
0
0
0
0
0
0.122727
220
9
56
24.444444
0.906736
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
fb2eaccf39fb8ba5a32d82bc3c5d4475f3435246
57
py
Python
tests/helpers/test_plotting.py
sebastian-lapuschkin/Quantus
c3b8a9fb2018f34bd89ba38efa2b2b8c38128b3f
[ "MIT" ]
null
null
null
tests/helpers/test_plotting.py
sebastian-lapuschkin/Quantus
c3b8a9fb2018f34bd89ba38efa2b2b8c38128b3f
[ "MIT" ]
null
null
null
tests/helpers/test_plotting.py
sebastian-lapuschkin/Quantus
c3b8a9fb2018f34bd89ba38efa2b2b8c38128b3f
[ "MIT" ]
null
null
null
"""No identified need to test plotting functionality."""
28.5
56
0.754386
7
57
6.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.122807
57
1
57
57
0.86
0.877193
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
34b1bf44dd3558edd70025285efa4c01fcb9a1ed
101
py
Python
wellknownmsgs/AppStartingMsg.py
sdyiheng/SimplePythonWebApp
fc3188796a1e48a42a0c22b5f3b430c0de1be87a
[ "MIT" ]
null
null
null
wellknownmsgs/AppStartingMsg.py
sdyiheng/SimplePythonWebApp
fc3188796a1e48a42a0c22b5f3b430c0de1be87a
[ "MIT" ]
null
null
null
wellknownmsgs/AppStartingMsg.py
sdyiheng/SimplePythonWebApp
fc3188796a1e48a42a0c22b5f3b430c0de1be87a
[ "MIT" ]
null
null
null
class AppStartingMsg(object): '''应用程序启动消息''' def __init__(self): self.ErrorMsg = ""
16.833333
29
0.594059
9
101
6.222222
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.247525
101
5
30
20.2
0.736842
0.079208
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
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
1
0
0
0
0
1
0
0
4
34dd7a78ed67d24dec24e1e267661e54ecc9605b
23,901
py
Python
tests/test_challonge.py
eprouty/dgcastle
b4b56f7675648987f30d016a45e716cb76c69516
[ "MIT" ]
null
null
null
tests/test_challonge.py
eprouty/dgcastle
b4b56f7675648987f30d016a45e716cb76c69516
[ "MIT" ]
13
2017-01-30T15:38:38.000Z
2017-06-09T00:15:58.000Z
tests/test_challonge.py
eprouty/dgcastle
b4b56f7675648987f30d016a45e716cb76c69516
[ "MIT" ]
null
null
null
import copy import os import pickle import unittest from unittest.mock import patch from dgcastle import dgcastle from dgcastle.exceptions import IncompleteException from dgcastle.exceptions import ValidationException from dgcastle.handlers.challonge import Challonge TEST_TOURNAMENT = pickle.loads(b'\x80\x03}q\x00(X\...
426.803571
10,690
0.770554
4,815
23,901
3.805192
0.178193
0.122148
0.047156
0.026198
0.560255
0.531711
0.500819
0.476695
0.464251
0.437616
0
0.258288
0.023221
23,901
56
10,691
426.803571
0.526514
0
0
0.244444
0
0.177778
0.289139
0.283951
0
0
0
0
0.088889
1
0.111111
false
0
0.311111
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
34e56db9261caf77c7f05ca57c7245a93b1deefe
11,035
py
Python
tests/test_setup.py
rozuur/ptvsd
046fd0f054b2eed91ec5df02e5f36151b71e36b1
[ "MIT" ]
null
null
null
tests/test_setup.py
rozuur/ptvsd
046fd0f054b2eed91ec5df02e5f36151b71e36b1
[ "MIT" ]
null
null
null
tests/test_setup.py
rozuur/ptvsd
046fd0f054b2eed91ec5df02e5f36151b71e36b1
[ "MIT" ]
null
null
null
import os.path import unittest from setup import iter_vendored_files class IterVendoredFilesTests(unittest.TestCase): def test_all(self): filenames = set(iter_vendored_files()) self.assertEqual(filenames, VENDORED) VENDORED = {file.replace('/', os.path.sep) for file in [ 'pydevd/pydev_run...
50.852535
79
0.786226
1,482
11,035
5.352901
0.157895
0.173453
0.188831
0.173957
0.722047
0.579352
0.433127
0.233959
0.054834
0.012858
0
0.007213
0.095424
11,035
216
80
51.087963
0.787518
0
0
0
0
0
0.82773
0.826189
0
0
0
0
0.004785
1
0.004785
false
0.004785
0.038278
0
0.047847
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
550bcb1222329d8b28b7654dc8f797c3fc71d7e1
4,363
py
Python
codes/mosaic.py
KurmasanaWT/community
5fc9e7da5b3e8df2bc9f85580a070de8c868a656
[ "MIT" ]
null
null
null
codes/mosaic.py
KurmasanaWT/community
5fc9e7da5b3e8df2bc9f85580a070de8c868a656
[ "MIT" ]
null
null
null
codes/mosaic.py
KurmasanaWT/community
5fc9e7da5b3e8df2bc9f85580a070de8c868a656
[ "MIT" ]
null
null
null
import dash_bootstrap_components as dbc from dash import html from app import app layout = dbc.Container( children=[ dbc.Card([ #dbc.CardHeader("EURONEWS (União Européia)"), dbc.CardBody([html.Iframe(className="ytvid", width="420", height="315", src="https://www.youtube.com/embed...
49.579545
247
0.608755
500
4,363
5.304
0.246
0.042232
0.045249
0.090498
0.742459
0.742459
0.727376
0.727376
0.65083
0.632353
0
0.047986
0.19757
4,363
88
248
49.579545
0.709512
0.107495
0
0.45283
0
0.09434
0.362162
0
0
0
0
0
0
1
0.018868
false
0
0.056604
0.018868
0.09434
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
5510dc6e8363a437e31e7e5a4bf4b7a901eabff1
459
py
Python
cliva_fl/utils/__init__.py
DataManagementLab/thesis-fl_client-side_validation
0f6a35d08966133e6a8c13a110b9307d91f2d9cb
[ "MIT" ]
null
null
null
cliva_fl/utils/__init__.py
DataManagementLab/thesis-fl_client-side_validation
0f6a35d08966133e6a8c13a110b9307d91f2d9cb
[ "MIT" ]
null
null
null
cliva_fl/utils/__init__.py
DataManagementLab/thesis-fl_client-side_validation
0f6a35d08966133e6a8c13a110b9307d91f2d9cb
[ "MIT" ]
null
null
null
from .utils import vc, load_config, tensors_close, tensors_close_sum, rand_true, freivalds_rounds, submul_ratio from .partial_class import partial_class from .validation_set import ValidationSet from .validation_buffer import ValidationBuffer from .register_hooks import register_activation_hooks, register_gradient_hook...
51
111
0.873638
62
459
6.16129
0.548387
0.062827
0
0
0
0
0
0
0
0
0
0
0.091503
459
9
112
51
0.916067
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
5515891d5f1f8f61ee9eb8bdb9f6ccda922b50fc
118
py
Python
shgo/__init__.py
rkern/shgo
03315284025e705f64bf84f3f9ba36026f6a7236
[ "MIT" ]
null
null
null
shgo/__init__.py
rkern/shgo
03315284025e705f64bf84f3f9ba36026f6a7236
[ "MIT" ]
null
null
null
shgo/__init__.py
rkern/shgo
03315284025e705f64bf84f3f9ba36026f6a7236
[ "MIT" ]
null
null
null
from shgo.shgo_m.triangulation import * from ._shgo import shgo __all__ = [s for s in dir() if not s.startswith('_')]
29.5
53
0.728814
20
118
3.95
0.65
0.202532
0
0
0
0
0
0
0
0
0
0
0.152542
118
4
53
29.5
0.79
0
0
0
0
0
0.008403
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
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