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
58d0ab07645a0d06d3f13d57ce9b4447e165624e
208
py
Python
app/__init__.py
jsoles7/robo-advisor
f69bebbf9daa00484d4440b0d1d8aa7befbe938f
[ "MIT" ]
1
2020-02-27T22:59:40.000Z
2020-02-27T22:59:40.000Z
test/__init__.py
jsoles7/shopping-cart
d68251a5fa8122e281c4d2240c9d91316c8acc48
[ "MIT" ]
null
null
null
test/__init__.py
jsoles7/shopping-cart
d68251a5fa8122e281c4d2240c9d91316c8acc48
[ "MIT" ]
1
2020-05-09T21:30:26.000Z
2020-05-09T21:30:26.000Z
# nothing to see here # helps other commands recognize # that there are files within this dir # which we care to import things from # the dir where this __init__.py file exists # ... treat it as a "module"
23.111111
44
0.735577
35
208
4.257143
0.914286
0
0
0
0
0
0
0
0
0
0
0
0.206731
208
8
45
26
0.90303
0.927885
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3
58d14fb79c3caacfb38b4194a5c24fa8ca6d4673
98
py
Python
src/bioc/compat/__init__.py
OntoGene/PyBioC
6b29bd791fdcbc5c0cbef7a203ae86bb3600b47c
[ "BSD-2-Clause-FreeBSD" ]
8
2018-05-23T06:03:17.000Z
2021-09-02T04:40:37.000Z
src/bioc/compat/__init__.py
en-dash/PyBioC
6b29bd791fdcbc5c0cbef7a203ae86bb3600b47c
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/bioc/compat/__init__.py
en-dash/PyBioC
6b29bd791fdcbc5c0cbef7a203ae86bb3600b47c
[ "BSD-2-Clause-FreeBSD" ]
4
2018-11-20T22:38:08.000Z
2022-01-14T12:11:33.000Z
__all__ = [] __author__ = 'Hernani Marques (h2m@access.uzh.ch)' from ._py2_next import _Py2Next
16.333333
50
0.734694
13
98
4.692308
1
0
0
0
0
0
0
0
0
0
0
0.035714
0.142857
98
5
51
19.6
0.690476
0
0
0
0
0
0.357143
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
58d97ae37ec4123b56198899e7dfd3615a8ffc1a
1,550
py
Python
arxiv/identifier/tests.py
ibnesayeed/arxiv-base
9f49302370272792a0afc78debd039d249844c6c
[ "MIT" ]
23
2019-01-10T22:01:18.000Z
2022-02-02T10:28:25.000Z
arxiv/identifier/tests.py
ibnesayeed/arxiv-base
9f49302370272792a0afc78debd039d249844c6c
[ "MIT" ]
57
2018-12-17T16:45:38.000Z
2021-12-14T14:20:58.000Z
arxiv/identifier/tests.py
cul-it/arxiv-base-ui
a5beadf44c24f72e21313299bfafc1ffb9d28ac7
[ "MIT" ]
5
2019-01-10T22:01:28.000Z
2021-11-05T12:25:31.000Z
"""Tests for :mod:`arxiv.identifier`.""" from unittest import TestCase from . import parse_arxiv_id class TestParseArXivID(TestCase): """Tests for :func:`parse_arxiv_id`.""" def test_old_style_with_archive(self): """Parse old-style arXiv IDs with archive names.""" self.assertIsNotNone(parse...
36.904762
68
0.698065
200
1,550
5.17
0.29
0.135397
0.162476
0.336557
0.645068
0.595745
0.290135
0.094778
0
0
0
0.078906
0.174194
1,550
41
69
37.804878
0.728906
0.232903
0
0
0
0
0.13676
0
0
0
0
0
0.571429
1
0.285714
false
0
0.095238
0
0.428571
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
1
0
1
0
0
0
0
0
0
0
3
58dbfbf5ac7198697367be8e4eb38b5d6cefa8c9
181
py
Python
bmptextures/convert_to_png.py
saidwho12/JulyGame
064654aaaf516931a074ce4d5021f2ecdbe621e0
[ "MIT" ]
null
null
null
bmptextures/convert_to_png.py
saidwho12/JulyGame
064654aaaf516931a074ce4d5021f2ecdbe621e0
[ "MIT" ]
null
null
null
bmptextures/convert_to_png.py
saidwho12/JulyGame
064654aaaf516931a074ce4d5021f2ecdbe621e0
[ "MIT" ]
null
null
null
import os from PIL import Image for filename in os.listdir('.'): if filename.endswith('.png'): Image.open(filename).save('../bmptextures/{}.bmp'.format(filename[:-4]))
25.857143
80
0.657459
24
181
4.958333
0.75
0
0
0
0
0
0
0
0
0
0
0.006452
0.143646
181
7
80
25.857143
0.76129
0
0
0
0
0
0.142857
0.115385
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
58e211eb5819139d689d75a910c120c9195dbfe6
163
py
Python
models/urlbuilder.py
notapresent/yukata
ca318502f517b0f51236d6fbaf57a1db9a632503
[ "Apache-2.0" ]
null
null
null
models/urlbuilder.py
notapresent/yukata
ca318502f517b0f51236d6fbaf57a1db9a632503
[ "Apache-2.0" ]
null
null
null
models/urlbuilder.py
notapresent/yukata
ca318502f517b0f51236d6fbaf57a1db9a632503
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- def make_urls(urlsource, *args, **kwargs): if urlsource.kind == 'single': return urlsource.url raise NotImplementedError
20.375
42
0.638037
18
163
5.722222
0.888889
0
0
0
0
0
0
0
0
0
0
0.007813
0.214724
163
7
43
23.285714
0.796875
0.128834
0
0
0
0
0.042857
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
58e5fa69da67b5ce723de6ea6e156884c3b6b179
895
py
Python
7_kyu/jaden_castins_strings.py
dimishpatriot/way_on_the_highway
4865db946632b7bd3d74509a20a307841c02169d
[ "MIT" ]
null
null
null
7_kyu/jaden_castins_strings.py
dimishpatriot/way_on_the_highway
4865db946632b7bd3d74509a20a307841c02169d
[ "MIT" ]
null
null
null
7_kyu/jaden_castins_strings.py
dimishpatriot/way_on_the_highway
4865db946632b7bd3d74509a20a307841c02169d
[ "MIT" ]
null
null
null
"""Jaden Smith, the son of Will Smith, is the star of films such as The Karate Kid (2010) and After Earth (2013). Jaden is also known or some of his philosophy that he delivers via Twitter. When writing on Twitter, he is known for almost always capitalizing every word. For simplicity, you'll have to capitalize each wor...
42.619048
79
0.750838
156
895
4.269231
0.596154
0.045045
0.039039
0.048048
0.141141
0.141141
0.141141
0.141141
0.141141
0.141141
0
0.010929
0.182123
895
20
80
44.75
0.898907
0.822346
0
0
0
0
0.006579
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
58ef812a8437a2be35606c37cb5772e71834d94b
80
py
Python
ahserver/server/connection/__init__.py
ifplusor/ahserver
26a6315d7a3b781d424c81bb3985016d9233e1b7
[ "BSD-3-Clause" ]
1
2019-10-08T07:57:32.000Z
2019-10-08T07:57:32.000Z
ahserver/server/connection/__init__.py
ifplusor/ahserver
26a6315d7a3b781d424c81bb3985016d9233e1b7
[ "BSD-3-Clause" ]
null
null
null
ahserver/server/connection/__init__.py
ifplusor/ahserver
26a6315d7a3b781d424c81bb3985016d9233e1b7
[ "BSD-3-Clause" ]
null
null
null
# encoding=utf-8 __all__ = ["Connection"] from ._connection import Connection
13.333333
35
0.75
9
80
6.111111
0.777778
0
0
0
0
0
0
0
0
0
0
0.014493
0.1375
80
5
36
16
0.782609
0.175
0
0
0
0
0.15625
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
58f67e2d1fde94291cfcb41ca3975e5b93446ad1
184
py
Python
PYTHON/bar_code_creater.py
Danish-Belal/CodeCollection
cd3914d3d73542dd5f20755c4b1e42906f443b03
[ "MIT" ]
125
2021-10-01T19:05:26.000Z
2021-10-03T13:32:42.000Z
PYTHON/bar_code_creater.py
Danish-Belal/CodeCollection
cd3914d3d73542dd5f20755c4b1e42906f443b03
[ "MIT" ]
201
2021-10-30T20:40:01.000Z
2022-03-22T17:26:28.000Z
PYTHON/bar_code_creater.py
Danish-Belal/CodeCollection
cd3914d3d73542dd5f20755c4b1e42906f443b03
[ "MIT" ]
294
2021-10-01T18:46:05.000Z
2021-10-03T14:25:07.000Z
from barcode import EAN13 from barcode.writer import ImageWriter number = input("Enter the barcode number: ") my_code = EAN13(number, writer=ImageWriter()) my_code.save('barcode.png')
30.666667
45
0.782609
26
184
5.461538
0.538462
0.15493
0
0
0
0
0
0
0
0
0
0.02439
0.108696
184
5
46
36.8
0.841463
0
0
0
0
0
0.201087
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
58fb5a4fed468005582df934a623ec97375c1407
834
py
Python
predavanje3/formatirani_ispis3.py
Miillky/uvod_u_programiranje
209611e38c8fe84c727649df4b868a4278eb77c3
[ "MIT" ]
null
null
null
predavanje3/formatirani_ispis3.py
Miillky/uvod_u_programiranje
209611e38c8fe84c727649df4b868a4278eb77c3
[ "MIT" ]
null
null
null
predavanje3/formatirani_ispis3.py
Miillky/uvod_u_programiranje
209611e38c8fe84c727649df4b868a4278eb77c3
[ "MIT" ]
null
null
null
# d - cijeli broj # 13d - cijeli broj koji zauzima sveukupno 13 znakova u tekstu # 8s - string koji zauzima sveukupno 8 znakova # 10f - realni broj koji zauzima 10 znakova u tekstu uključujući decimalnu točku (decimalni dio će biti prikazan sa 6 znamenaka ukoliko nije drugačije navedeno) # 10.2f - realni broj koji zauz...
59.571429
160
0.678657
168
834
3.369048
0.404762
0.053004
0.061837
0.084806
0.339223
0.321555
0.321555
0.254417
0.123675
0.084806
0
0.097421
0.16307
834
14
161
59.571429
0.713467
0.447242
0
0
0
0.5
0.673246
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
4500974d50f3fe2ba334bd50f7a2ee52e4939e82
441
py
Python
ch6/Lab6_1.py
chunhua2017/pythonprogrammingdemo
64e4ac2b33c54cde4671291a6203e94cd96de4ba
[ "MIT" ]
4
2020-05-18T05:25:44.000Z
2021-07-30T01:02:39.000Z
ch6/Lab6_1.py
chunhua2017/pythonprogrammingdemo
64e4ac2b33c54cde4671291a6203e94cd96de4ba
[ "MIT" ]
null
null
null
ch6/Lab6_1.py
chunhua2017/pythonprogrammingdemo
64e4ac2b33c54cde4671291a6203e94cd96de4ba
[ "MIT" ]
2
2021-09-15T05:41:05.000Z
2022-01-25T05:44:43.000Z
from math import pi #导入π常量 class Circle(): """ 定义圆类 """ def __init__(self, r=1.0): #初始化属性r self.r = r def get_radius(self): #获取半径的值 return self.r def set_radius(self, r): #设置半径的值 self.r = r def calc_circumference(self): #计算圆周长 return 2 * pi * self.r ...
19.173913
40
0.555556
63
441
3.714286
0.460317
0.149573
0.051282
0.076923
0
0
0
0
0
0
0
0.013378
0.321995
441
22
41
20.045455
0.769231
0.088435
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.357143
false
0
0.071429
0.214286
0.714286
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4502da104dba798dffd5708b0a49476634e2843a
449
py
Python
BIRD/status.py
TheDJVG/BIRDpy
ba4b95e04e94d82f061701219582a4600c838b42
[ "MIT" ]
null
null
null
BIRD/status.py
TheDJVG/BIRDpy
ba4b95e04e94d82f061701219582a4600c838b42
[ "MIT" ]
null
null
null
BIRD/status.py
TheDJVG/BIRDpy
ba4b95e04e94d82f061701219582a4600c838b42
[ "MIT" ]
null
null
null
from enum import Enum, auto class BirdStatus(Enum): SHUTDOWN_IN_PROGRESS = auto() RECONFIGURATION_IN_PROGRESS = auto() DAEMON_UP_AND_RUNNING = auto() UNKNOWN = auto() class BirdReconfigurationStatus(Enum): RECONFIGURED = auto() RECONFIGURATION_IN_PROGRESS = auto() RECONFIGURATION_QUEUED ...
24.944444
43
0.732739
45
449
7
0.466667
0.361905
0.133333
0.184127
0.209524
0
0
0
0
0
0
0
0.184855
449
17
44
26.411765
0.860656
0
0
0.153846
0
0
0
0
0
0
0
0
0
1
0
false
0
0.076923
0
1
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
18b1d551a8ab138e7263954b75e15ddbd4b8f5b5
169
py
Python
bitmovin/resources/enums/encoding_status_values.py
camberbridge/bitmovin-python
3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95
[ "Unlicense" ]
44
2016-12-12T17:37:23.000Z
2021-03-03T09:48:48.000Z
bitmovin/resources/enums/encoding_status_values.py
camberbridge/bitmovin-python
3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95
[ "Unlicense" ]
38
2017-01-09T14:45:45.000Z
2022-02-27T18:04:33.000Z
bitmovin/resources/enums/encoding_status_values.py
camberbridge/bitmovin-python
3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95
[ "Unlicense" ]
27
2017-02-02T22:49:31.000Z
2019-11-21T07:04:57.000Z
import enum class EncodingStatusValues(enum.Enum): RUNNING = 'RUNNING' QUEUED = 'QUEUED' CREATED = 'CREATED' FINISHED = 'FINISHED' ERROR = 'ERROR'
16.9
38
0.64497
16
169
6.8125
0.5625
0
0
0
0
0
0
0
0
0
0
0
0.242604
169
9
39
18.777778
0.851563
0
0
0
0
0
0.195266
0
0
0
0
0
0
1
0
false
0
0.142857
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
0
0
1
0
0
3
18d46c57a6b32c6dee04b4d2f83f3d7ef61bc779
35,692
py
Python
modules/tools.py
jkiesele/HGCalML-1
23e98b207589b7659ee2bedf1dbd496e8500247c
[ "BSD-3-Clause" ]
null
null
null
modules/tools.py
jkiesele/HGCalML-1
23e98b207589b7659ee2bedf1dbd496e8500247c
[ "BSD-3-Clause" ]
null
null
null
modules/tools.py
jkiesele/HGCalML-1
23e98b207589b7659ee2bedf1dbd496e8500247c
[ "BSD-3-Clause" ]
null
null
null
print(">>>> WARNING: THE MODULE", __name__ ,"IS MARKED FOR REMOVAL","move implementations still in use to callbacks or plotting tools or wherever else they should go.") raise ImportError("MODULE",__name__,"will be removed") from plotting_tools import plotter_fraction_colors, snapshot_movie_maker_Nplots, plotter_2d, pl...
36.833849
168
0.541214
4,561
35,692
4.017759
0.080903
0.015007
0.023192
0.01146
0.759072
0.730314
0.718145
0.698499
0.686057
0.67678
0
0.020243
0.346716
35,692
969
169
36.833849
0.765665
0.082203
0
0.670103
0
0
0.014524
0
0
0
0
0
0
1
0.044183
false
0
0.020619
0
0.082474
0.002946
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
18d733005dc7040e09168f582b012fb383cb4d20
240
py
Python
cbstools/cbstools-public/python/defaults.py
alaurent4/nighres
ffb4a478a224190ffe0112f7e4d214ad6825716e
[ "Apache-2.0" ]
null
null
null
cbstools/cbstools-public/python/defaults.py
alaurent4/nighres
ffb4a478a224190ffe0112f7e4d214ad6825716e
[ "Apache-2.0" ]
null
null
null
cbstools/cbstools-public/python/defaults.py
alaurent4/nighres
ffb4a478a224190ffe0112f7e4d214ad6825716e
[ "Apache-2.0" ]
1
2019-01-21T10:53:38.000Z
2019-01-21T10:53:38.000Z
""" default variables for cbstools """ TOPOLOGY_LUT_DIR = "/home/chris/Documents/code/python/cbstools-python/ToloplogyLUT/" ATLAS_DIR = "/home/chris/mipav/plugins/atlases/brain-segmentation-prior3.0/" DEFAULT_ATLAS = "brain-atlas-3.0.3.txt"
40
84
0.779167
34
240
5.382353
0.676471
0.076503
0.131148
0
0
0
0
0
0
0
0
0.022124
0.058333
240
6
85
40
0.787611
0.125
0
0
0
0
0.719212
0.719212
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
18d79ab06060963ed8452bec616e0c0bb37f481c
349
py
Python
bavard_ml_utils/types/__init__.py
bavard-ai/bavard-ml-utils
00b6575d5c74c66f57ca1da753b91d3ceef6d1e4
[ "MIT" ]
1
2022-02-24T21:25:02.000Z
2022-02-24T21:25:02.000Z
bavard_ml_utils/types/__init__.py
bavard-ai/bavard-ml-utils
00b6575d5c74c66f57ca1da753b91d3ceef6d1e4
[ "MIT" ]
null
null
null
bavard_ml_utils/types/__init__.py
bavard-ai/bavard-ml-utils
00b6575d5c74c66f57ca1da753b91d3ceef6d1e4
[ "MIT" ]
null
null
null
""" Common data structures used in the Bavard ecosystem, especially on the machine learning side of things. Includes data structures related to chatbot conversations (in the :mod:`~bavard_ml_utils.types.conversations.conversation` module), chatbot configuration and training data (in the :mod:`~bavard_ml_utils.types.age...
58.166667
117
0.799427
49
349
5.612245
0.632653
0.054545
0.058182
0.101818
0.189091
0.189091
0.189091
0
0
0
0
0
0.114613
349
5
118
69.8
0.889968
0.974212
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3
18dac23f06dc3e395dab30f4a97559f7f6b55538
817
py
Python
app/main/forms.py
phoebekaranja/awards
59f04745916db798f6f051d015ee46c69794f12a
[ "MIT" ]
null
null
null
app/main/forms.py
phoebekaranja/awards
59f04745916db798f6f051d015ee46c69794f12a
[ "MIT" ]
null
null
null
app/main/forms.py
phoebekaranja/awards
59f04745916db798f6f051d015ee46c69794f12a
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField, BooleanField, TextAreaField, SelectField from wtforms.validators import Required, Email, EqualTo from ..models import User from wtforms import ValidationError class UpdateProfile(FlaskForm): bio = TextAreaField('Tell us ab...
38.904762
116
0.755202
82
817
7.47561
0.47561
0.053834
0.112561
0.114193
0.133768
0
0
0
0
0
0
0
0.124847
817
20
117
40.85
0.857343
0
0
0.1875
0
0
0.156671
0
0
0
0
0
0
1
0
false
0.0625
0.3125
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
18db5e9c0fe738623e7aa68e92409d589416a0e8
140
py
Python
lewis_emulators/gamry/device.py
ISISComputingGroup/EPICS-DeviceEmulator
026c2a14a16bb204ea7527e3765daa182cafa814
[ "BSD-3-Clause" ]
2
2020-10-20T16:49:13.000Z
2021-02-19T10:41:44.000Z
lewis_emulators/gamry/device.py
ISISComputingGroup/EPICS-DeviceEmulator
026c2a14a16bb204ea7527e3765daa182cafa814
[ "BSD-3-Clause" ]
9
2019-03-22T15:35:15.000Z
2021-07-28T11:05:43.000Z
lewis_emulators/gamry/device.py
ISISComputingGroup/EPICS-DeviceEmulator
026c2a14a16bb204ea7527e3765daa182cafa814
[ "BSD-3-Clause" ]
1
2020-10-21T17:02:44.000Z
2020-10-21T17:02:44.000Z
from lewis.devices import Device class SimulatedGamry(Device): address = "a" setpoint = 0.00 units = "" setpoint_mode = 1
15.555556
32
0.65
17
140
5.294118
0.882353
0
0
0
0
0
0
0
0
0
0
0.038462
0.257143
140
8
33
17.5
0.826923
0
0
0
0
0
0.007143
0
0
0
0
0
0
1
0
false
0
0.166667
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
0
0
1
0
0
3
18e01a6311d54986795d7b650ffc151155bb78b5
62
py
Python
barde/globals.py
vlanore/barde
e8e41826414957087d7b4565b64f1f3e8464d439
[ "MIT" ]
null
null
null
barde/globals.py
vlanore/barde
e8e41826414957087d7b4565b64f1f3e8464d439
[ "MIT" ]
null
null
null
barde/globals.py
vlanore/barde
e8e41826414957087d7b4565b64f1f3e8464d439
[ "MIT" ]
null
null
null
PASSAGES = {} # type:ignore START = None INIT_STATE = None
10.333333
28
0.66129
8
62
5
0.875
0
0
0
0
0
0
0
0
0
0
0
0.225806
62
5
29
12.4
0.833333
0.177419
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.333333
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
18f458c49c66a00639a61687c5abc43911844921
35,106
py
Python
homePage/views/create_signs.py
bmackley/ancientassyrian
baaf973a1162765d964f613e8bd839ef8cc3ea60
[ "Apache-2.0" ]
null
null
null
homePage/views/create_signs.py
bmackley/ancientassyrian
baaf973a1162765d964f613e8bd839ef8cc3ea60
[ "Apache-2.0" ]
null
null
null
homePage/views/create_signs.py
bmackley/ancientassyrian
baaf973a1162765d964f613e8bd839ef8cc3ea60
[ "Apache-2.0" ]
null
null
null
from django import forms from django.conf import settings from django.http import HttpResponse, HttpResponseRedirect, Http404 from django.contrib.auth import authenticate, login from homePage import models as m from . import templater import glob def process_request(request): new_sign = m.Sign() new_sign.id = 1 ...
24.670415
67
0.677292
5,673
35,106
3.978142
0.055526
0.374069
0.072669
0.106877
0.789569
0.789569
0.789569
0.434731
0.434731
0.434731
0
0.065216
0.167493
35,106
1,422
68
24.687764
0.706973
0
0
0.505341
0
0
0.235487
0.212927
0
0
0
0
0
1
0.000822
false
0
0.005752
0
0.007395
0
0
0
0
null
1
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
18fb6dcce082f4b55a5d56d1b30974a28dfb3805
268
py
Python
codewars/7kyu/doha22/shortest_word/test.py
doha22/Training_one
0cd7cf86c7da0f6175834146296b763d1841766b
[ "MIT" ]
null
null
null
codewars/7kyu/doha22/shortest_word/test.py
doha22/Training_one
0cd7cf86c7da0f6175834146296b763d1841766b
[ "MIT" ]
2
2019-01-22T10:53:42.000Z
2019-01-31T08:02:48.000Z
codewars/7kyu/doha22/shortest_word/test.py
doha22/Training_one
0cd7cf86c7da0f6175834146296b763d1841766b
[ "MIT" ]
13
2019-01-22T10:37:42.000Z
2019-01-25T13:30:43.000Z
import unittest from shortest_word import find_short def test_find_short(benchmark): assert benchmark(find_short,"bitcoin take over the world maybe who knows perhaps") == 3 assert benchmark(find_short2,"i want to travel the world writing code one day") == 1
33.5
91
0.776119
42
268
4.809524
0.738095
0.133663
0.188119
0
0
0
0
0
0
0
0
0.013333
0.160448
268
7
92
38.285714
0.884444
0
0
0
0
0
0.365672
0
0
0
0
0
0.4
1
0.2
false
0
0.4
0
0.6
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
18fcd87b59cbe18918103e1d9b52491a533a1b27
64
py
Python
urlshortener/static.py
imranmaj/url-shortener
f81c1db9f96259fe93687031b73004d97fad61e1
[ "MIT" ]
null
null
null
urlshortener/static.py
imranmaj/url-shortener
f81c1db9f96259fe93687031b73004d97fad61e1
[ "MIT" ]
null
null
null
urlshortener/static.py
imranmaj/url-shortener
f81c1db9f96259fe93687031b73004d97fad61e1
[ "MIT" ]
null
null
null
import string CHARS = string.ascii_lowercase URL_ID_LENGTH = 10
16
30
0.828125
10
64
5
0.9
0
0
0
0
0
0
0
0
0
0
0.035714
0.125
64
4
31
16
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7a13709c58f9ed2732d93c7c3a08cf43aec9ed3e
373
py
Python
pubnub/models/consumer/message_count.py
panchiwalashivani/python
eacafb9c597d04da3ac306809939045a17611d69
[ "MIT" ]
146
2015-01-05T03:14:53.000Z
2022-03-16T16:51:52.000Z
pubnub/models/consumer/message_count.py
panchiwalashivani/python
eacafb9c597d04da3ac306809939045a17611d69
[ "MIT" ]
48
2015-01-15T15:27:41.000Z
2022-03-21T14:17:05.000Z
pubnub/models/consumer/message_count.py
panchiwalashivani/python
eacafb9c597d04da3ac306809939045a17611d69
[ "MIT" ]
128
2015-01-05T03:40:59.000Z
2022-03-02T20:50:58.000Z
class PNMessageCountResult(object): def __init__(self, result): """ Representation of message count server response :param result: result of message count operation """ self._result = result self.channels = result['channels'] def __str__(self): return "M...
28.692308
69
0.63807
38
373
6.026316
0.526316
0.157205
0.122271
0
0
0
0
0
0
0
0
0
0.268097
373
12
70
31.083333
0.838828
0.260054
0
0
0
0
0.155738
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e1384f032ab98a8dc5d18d7e9eaedb93147be8ac
570
py
Python
devilry/devilry_qualifiesforexam_plugin_students/plugin.py
devilry/devilry-django
9ae28e462dfa4cfee966ebacbca04ade9627e715
[ "BSD-3-Clause" ]
29
2015-01-18T22:56:23.000Z
2020-11-10T21:28:27.000Z
devilry/devilry_qualifiesforexam_plugin_students/plugin.py
devilry/devilry-django
9ae28e462dfa4cfee966ebacbca04ade9627e715
[ "BSD-3-Clause" ]
786
2015-01-06T16:10:18.000Z
2022-03-16T11:10:50.000Z
devilry/devilry_qualifiesforexam_plugin_students/plugin.py
devilry/devilry-django
9ae28e462dfa4cfee966ebacbca04ade9627e715
[ "BSD-3-Clause" ]
15
2015-04-06T06:18:43.000Z
2021-02-24T12:28:30.000Z
# -*- coding: utf-8 -*- from django.utils.translation import gettext_lazy from devilry.devilry_qualifiesforexam import plugintyperegistry from .views import select_students class StudentSelectPlugin(plugintyperegistry.PluginType): plugintypeid = 'devilry_qualifiesforexam_plugin_students.plugin_select_students'...
33.529412
87
0.812281
62
570
7.209677
0.596774
0.12528
0.085011
0.111857
0
0
0
0
0
0
0
0.002004
0.124561
570
16
88
35.625
0.893788
0.036842
0
0
0
0
0.255942
0.115174
0
0
0
0
0
1
0.111111
false
0
0.333333
0.111111
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
e1439686b416a17316dda0c7fc59e2fb69877512
151
py
Python
deui/html/view/div_element.py
urushiyama/DeUI
14530d2dae7d96a3dee30759f85e02239fb433c5
[ "MIT" ]
1
2021-10-17T01:54:18.000Z
2021-10-17T01:54:18.000Z
deui/html/view/div_element.py
urushiyama/DeUI
14530d2dae7d96a3dee30759f85e02239fb433c5
[ "MIT" ]
null
null
null
deui/html/view/div_element.py
urushiyama/DeUI
14530d2dae7d96a3dee30759f85e02239fb433c5
[ "MIT" ]
null
null
null
from .element import Element class Division(Element): """ Represents generic container. """ def __str__(self): return "div"
13.727273
33
0.615894
15
151
5.933333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.278146
151
10
34
15.1
0.816514
0.192053
0
0
0
0
0.028302
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
e14861897bc9eb0e1ad7b6186517698a9ade8a67
477
py
Python
kpc/migrations/0003_auto_20180608_0907.py
USKPA-dev/uskpa
45481ba59a55f2c202723d11dde9e6b457f9b71d
[ "CC0-1.0" ]
2
2018-06-07T13:06:15.000Z
2022-02-19T07:51:40.000Z
kpc/migrations/0003_auto_20180608_0907.py
USKPA-dev/uskpa
45481ba59a55f2c202723d11dde9e6b457f9b71d
[ "CC0-1.0" ]
164
2018-04-11T15:11:54.000Z
2021-09-07T23:58:59.000Z
kpc/migrations/0003_auto_20180608_0907.py
USKPA-dev/uskpa
45481ba59a55f2c202723d11dde9e6b457f9b71d
[ "CC0-1.0" ]
3
2018-04-24T18:36:57.000Z
2018-06-08T21:12:34.000Z
# Generated by Django 2.0.5 on 2018-06-08 09:07 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('kpc', '0002_auto_20180604_1636'), ] operations = [ migrations.RemoveField( model_name='certificateconfig', name='reviewer_em...
21.681818
53
0.601677
44
477
6.363636
0.727273
0.15
0.185714
0.214286
0
0
0
0
0
0
0
0.092262
0.295597
477
21
54
22.714286
0.741071
0.09434
0
0.4
1
0
0.232558
0.116279
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e15019096f5cea8f02ce5693112ecd7fcfa7e23d
122
py
Python
config_web/geneset.py
NikkiBytes/pending.api
3c83bb8e413c3032a3a4539d19a779b5f0b67650
[ "Apache-2.0" ]
3
2019-02-17T23:36:35.000Z
2022-03-01T16:43:06.000Z
config_web/geneset.py
NikkiBytes/pending.api
3c83bb8e413c3032a3a4539d19a779b5f0b67650
[ "Apache-2.0" ]
56
2019-01-26T16:34:12.000Z
2022-03-23T06:57:03.000Z
config_web/geneset.py
NikkiBytes/pending.api
3c83bb8e413c3032a3a4539d19a779b5f0b67650
[ "Apache-2.0" ]
6
2020-10-22T17:37:54.000Z
2022-03-01T16:56:55.000Z
ES_HOST = 'localhost:9200' ES_INDEX = 'pending-pathway' ES_DOC_TYPE = 'geneset' API_PREFIX = 'geneset' API_VERSION = ''
15.25
28
0.721311
17
122
4.823529
0.764706
0.243902
0
0
0
0
0
0
0
0
0
0.038095
0.139344
122
7
29
17.428571
0.742857
0
0
0
0
0
0.355372
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e173951205822487dce3e57f166fd3092e9f578d
38
py
Python
tests/raw_files/conf.py
chrisjsewell/rst-language-server
56580d878bdaf5e07bc1d189c4472723cbaac782
[ "MIT" ]
15
2020-03-04T21:28:39.000Z
2021-11-25T11:11:08.000Z
tests/raw_files/conf.py
chrisjsewell/rst-language-server
56580d878bdaf5e07bc1d189c4472723cbaac782
[ "MIT" ]
7
2020-03-04T16:20:12.000Z
2022-02-27T00:40:13.000Z
tests/raw_files/conf.py
chrisjsewell/rst-language-server
56580d878bdaf5e07bc1d189c4472723cbaac782
[ "MIT" ]
1
2020-05-24T19:21:07.000Z
2020-05-24T19:21:07.000Z
extensions = ["sphinxcontrib.bibtex"]
19
37
0.763158
3
38
9.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.078947
38
1
38
38
0.828571
0
0
0
0
0
0.526316
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e173bd01c2a8d9bb7b0f300ff3a430f872c4644c
877
py
Python
apurv_dbms.py
apurvjain9999/Python-Lab
a6518ea5c932e90f665ec57121f28d333739d2c4
[ "Apache-2.0" ]
null
null
null
apurv_dbms.py
apurvjain9999/Python-Lab
a6518ea5c932e90f665ec57121f28d333739d2c4
[ "Apache-2.0" ]
null
null
null
apurv_dbms.py
apurvjain9999/Python-Lab
a6518ea5c932e90f665ec57121f28d333739d2c4
[ "Apache-2.0" ]
null
null
null
import sqlite3 conn = sqlite3.connect('X.db') #sql = "CREATE TABLE XYZ(NAME varchar(20), AGE int)" #conn.execute(sql) #conn.commit() sql = "INSERT INTO XYZ(NAME,AGE) VALUES ('Sudeep',18),('Apurv',19),('Ashish',19),('Aman',19),('Divyanshu',19),('Krishna',19)" conn.execute(sql) conn.commit() sql = "SELECT * FROM XYZ" ...
19.931818
125
0.68073
133
877
4.488722
0.300752
0.167504
0.164154
0.211055
0.670017
0.670017
0.624791
0.613065
0.613065
0.613065
0
0.025907
0.119726
877
43
126
20.395349
0.747409
0.338655
0
0.818182
0
0.045455
0.326855
0.14841
0
0
0
0
0
1
0
false
0
0.045455
0
0.045455
0.090909
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e18459d17595d38854217fd700d6f7cc0c44796d
702
py
Python
django_project/views.py
adilmalik393/django-google-rest-auth
4ad2d12b65c86229e5f3e724d30f729006334b5a
[ "MIT" ]
1
2020-10-25T12:27:24.000Z
2020-10-25T12:27:24.000Z
django_project/views.py
adilmalik393/django-google-rest-auth
4ad2d12b65c86229e5f3e724d30f729006334b5a
[ "MIT" ]
9
2019-12-04T23:41:58.000Z
2022-02-10T07:59:16.000Z
django_project/views.py
adilmalik393/django-google-rest-auth
4ad2d12b65c86229e5f3e724d30f729006334b5a
[ "MIT" ]
null
null
null
from allauth.socialaccount.providers.facebook.views import FacebookOAuth2Adapter from rest_auth.registration.views import SocialLoginView from allauth.socialaccount.providers.google.views import GoogleOAuth2Adapter from allauth.socialaccount.providers.oauth2.client import OAuth2Client from django.conf import settings ...
33.428571
104
0.84188
70
702
8.328571
0.485714
0.056604
0.123499
0.169811
0
0
0
0
0
0
0
0.020537
0.098291
702
20
105
35.1
0.900474
0.078348
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.384615
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e189d405d6f2cc42b84cde9c36ef77c7377dc20c
1,053
py
Python
captchalyzer/classifiers.py
earaujoassis/captchalyzer
f7b5109da5df323bb865cdf49f08540a615047b1
[ "MIT" ]
null
null
null
captchalyzer/classifiers.py
earaujoassis/captchalyzer
f7b5109da5df323bb865cdf49f08540a615047b1
[ "MIT" ]
null
null
null
captchalyzer/classifiers.py
earaujoassis/captchalyzer
f7b5109da5df323bb865cdf49f08540a615047b1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .classifiers_utils import rng, general_classifier from sklearn.ensemble import RandomForestClassifier from sklearn.svm import SVC from sklearn.neighbors import KNeighborsClassifier from sklearn.discriminant_analysis import QuadraticDiscriminantAnalysis def classify_through_random_forest(...
37.607143
86
0.82716
118
1,053
7.059322
0.347458
0.172869
0.151261
0.177671
0.309724
0.309724
0.256903
0.256903
0.256903
0.182473
0
0.003161
0.098765
1,053
27
87
39
0.874605
0.019943
0
0.235294
0
0
0.005825
0
0
0
0
0
0
1
0.235294
false
0
0.294118
0
0.764706
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
0
1
0
0
3
e1a67abe60388227a8269e8c680f929ce796c818
982
py
Python
tests/test_articles.py
evelyne250/newshighlight
4234b044233510ca72dc1b85b07fc7c680d3cafc
[ "MIT" ]
null
null
null
tests/test_articles.py
evelyne250/newshighlight
4234b044233510ca72dc1b85b07fc7c680d3cafc
[ "MIT" ]
null
null
null
tests/test_articles.py
evelyne250/newshighlight
4234b044233510ca72dc1b85b07fc7c680d3cafc
[ "MIT" ]
null
null
null
import unittest from app.models import Articles class TestArticles(unittest.TestCase): ''' Test class to test the behavior of the articles class ''' def setUp(self): ''' Test class to run before other tests ''' self.new_article = Articles('evelyne','news','technology','h...
42.695652
138
0.696538
122
982
5.5
0.409836
0.083458
0.166915
0.205663
0.315946
0
0
0
0
0
0
0.034483
0.173116
982
23
139
42.695652
0.791872
0.09165
0
0
0
0
0.224824
0
0
0
0
0
0.5
1
0.214286
false
0
0.142857
0
0.428571
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
1
0
1
0
0
0
0
0
0
0
3
e1a7743bb7a3be2e0be0376f71cb7ad6f6cd6145
10,880
py
Python
tests/acceptance/test_files.py
ep-linden/gitlabform
3b1b052df5b093928fe003a17e872427e68af687
[ "MIT" ]
21
2021-12-01T18:32:45.000Z
2022-02-20T07:29:10.000Z
tests/acceptance/test_files.py
ep-linden/gitlabform
3b1b052df5b093928fe003a17e872427e68af687
[ "MIT" ]
48
2021-12-01T14:27:41.000Z
2022-03-28T11:13:43.000Z
tests/acceptance/test_files.py
ep-linden/gitlabform
3b1b052df5b093928fe003a17e872427e68af687
[ "MIT" ]
1
2022-02-12T00:28:42.000Z
2022-02-12T00:28:42.000Z
import os import pytest from gitlabform.gitlab import AccessLevel from gitlabform.gitlab.core import NotFoundException from tests.acceptance import run_gitlabform, DEFAULT_README @pytest.fixture(scope="function") def no_access_branch(request, gitlab, group_and_project): gitlab.create_branch(group_and_project, "n...
33.894081
105
0.597151
1,138
10,880
5.3471
0.118629
0.06705
0.125719
0.075924
0.824322
0.798357
0.721446
0.658669
0.591947
0.585045
0
0.001906
0.324908
10,880
320
106
34
0.826549
0.025735
0
0.651163
0
0
0.430473
0.024545
0
0
0
0
0.100775
1
0.05814
false
0
0.01938
0
0.081395
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e1ca15ef557bfa7132532ac4008c4157d99aace6
657
py
Python
UT/ut_adversary_trendx.py
michaelpdu/adversary_ml
6adec09ae5b8e30b9b58df7e8d9476793b4228bf
[ "Apache-2.0" ]
1
2021-09-24T19:30:44.000Z
2021-09-24T19:30:44.000Z
UT/ut_adversary_trendx.py
michaelpdu/adversary_ml
6adec09ae5b8e30b9b58df7e8d9476793b4228bf
[ "Apache-2.0" ]
null
null
null
UT/ut_adversary_trendx.py
michaelpdu/adversary_ml
6adec09ae5b8e30b9b58df7e8d9476793b4228bf
[ "Apache-2.0" ]
1
2018-03-13T02:50:37.000Z
2018-03-13T02:50:37.000Z
import os, sys, json, shutil import unittest # sys.path.append(os.path.join(os.path.dirname(os.path.dirname(__file__)), 'tools')) from genetic_algorithm_basic import GeneticAlgorithmHelper class TLSHAdversaryTestCase(unittest.TestCase): def setUp(self): with open('config.json', 'r') as fh: ...
27.375
85
0.665145
82
657
5.04878
0.47561
0.096618
0.10628
0.144928
0.357488
0.357488
0.357488
0
0
0
0
0
0.245053
657
24
86
27.375
0.834677
0.12481
0
0.294118
0
0
0.021779
0
0
0
0
0
0
1
0.352941
false
0.294118
0.176471
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
e1cdb18d1165aa1400ff3621d74248fc0e14f86d
275
py
Python
pikuli/uia/control_wrappers/radio_button.py
NVoronchev/pikuli
b67e33fa51a7bb7252c5ac11651e2f005542f955
[ "MIT" ]
null
null
null
pikuli/uia/control_wrappers/radio_button.py
NVoronchev/pikuli
b67e33fa51a7bb7252c5ac11651e2f005542f955
[ "MIT" ]
1
2021-05-11T13:40:52.000Z
2021-05-13T19:42:26.000Z
pikuli/uia/control_wrappers/radio_button.py
NVoronchev/pikuli
b67e33fa51a7bb7252c5ac11651e2f005542f955
[ "MIT" ]
2
2021-03-31T14:10:15.000Z
2022-01-24T02:16:04.000Z
from .uia_control import UIAControl class RadioButton(UIAControl): CONTROL_TYPE = 'RadioButton' def is_checked(self): return bool(self.get_pattern('SelectionItemPattern').CurrentIsSelected) def is_unchecked(self): return not self.is_checked()
22.916667
79
0.730909
31
275
6.290323
0.645161
0.051282
0
0
0
0
0
0
0
0
0
0
0.181818
275
12
80
22.916667
0.866667
0
0
0
0
0
0.112319
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.285714
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bee6a8434bfbed25738dd650f69c46905ed1d36a
1,776
py
Python
tests/test_routes.py
Cookie150CC/whatistheplan.com
bcee8f769a0e820b4bc8f619b3fb118fd6f1e68c
[ "MIT" ]
5
2015-04-06T16:56:20.000Z
2017-03-27T15:34:12.000Z
tests/test_routes.py
Cookie150CC/whatistheplan.com
bcee8f769a0e820b4bc8f619b3fb118fd6f1e68c
[ "MIT" ]
48
2015-04-03T23:15:42.000Z
2018-10-05T19:08:50.000Z
tests/test_routes.py
Cookie150CC/whatistheplan.com
bcee8f769a0e820b4bc8f619b3fb118fd6f1e68c
[ "MIT" ]
7
2015-04-10T20:50:17.000Z
2018-09-07T18:28:09.000Z
from django.contrib.auth.models import User from django.test import Client, TestCase from django.core.urlresolvers import reverse class RoutesTest(TestCase): def setUp(self): self.client = Client() self.logged_in_client = Client() self.user = User.objects.create_user("testuser", "test@email...
36.244898
91
0.667793
224
1,776
5.129464
0.236607
0.104439
0.160139
0.176675
0.448216
0.395126
0.395126
0.229765
0.08007
0
0
0.025532
0.206081
1,776
48
92
37
0.789362
0.076577
0
0.181818
0
0
0.076445
0
0
0
0
0
0.242424
1
0.272727
false
0.060606
0.090909
0
0.393939
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
bef351b6ab6c1d2ca862580e25169f75a0b8b9ca
145
py
Python
scripts/mgear/__init__.py
marza-animation-planet/mgear_synoptic
bc27b6b624b07ed00ca484f985349c82a148b570
[ "MIT" ]
33
2018-10-20T21:13:07.000Z
2021-06-06T14:15:59.000Z
scripts/mgear/__init__.py
marza-animation-planet/mgear_synoptic
bc27b6b624b07ed00ca484f985349c82a148b570
[ "MIT" ]
110
2018-06-15T03:35:44.000Z
2021-07-28T00:21:42.000Z
scripts/mgear/__init__.py
marza-animation-planet/mgear_synoptic
bc27b6b624b07ed00ca484f985349c82a148b570
[ "MIT" ]
28
2019-03-01T03:51:19.000Z
2021-09-16T22:50:43.000Z
# imports from pkgutil import extend_path # extend mGear python package by adding the current module __path__ = extend_path(__path__, __name__)
24.166667
58
0.813793
20
145
5.2
0.75
0.192308
0
0
0
0
0
0
0
0
0
0
0.144828
145
6
59
24.166667
0.83871
0.441379
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
830959996f6b5cdc3d42f415b4bcf173e63e04df
2,407
py
Python
src/zenml/orchestrators/base_orchestrator.py
strickvl/zenml
f1499e9c3fee00fd1d66de14cab66c4472c0085d
[ "Apache-2.0" ]
null
null
null
src/zenml/orchestrators/base_orchestrator.py
strickvl/zenml
f1499e9c3fee00fd1d66de14cab66c4472c0085d
[ "Apache-2.0" ]
null
null
null
src/zenml/orchestrators/base_orchestrator.py
strickvl/zenml
f1499e9c3fee00fd1d66de14cab66c4472c0085d
[ "Apache-2.0" ]
null
null
null
import os from abc import abstractmethod from typing import TYPE_CHECKING, Any, Optional from zenml.core.base_component import BaseComponent from zenml.io.fileio import get_zenml_config_dir if TYPE_CHECKING: from zenml.pipelines.base_pipeline import BasePipeline class BaseOrchestrator(BaseComponent): """Bas...
31.671053
77
0.643124
292
2,407
5.188356
0.455479
0.017822
0.018482
0.022442
0
0
0
0
0
0
0
0.001718
0.274616
2,407
75
78
32.093333
0.865979
0.445783
0
0.121212
0
0
0.037194
0
0
0
0
0.013333
0
1
0.242424
false
0
0.181818
0
0.575758
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
8312ac46065a0d76eedd8c810db37a530888accc
670
py
Python
deals/models.py
xuppr/GameDealsDashboard-server
a15e90fe6a37431db1b4de565e9e7d54d2aee223
[ "MIT" ]
null
null
null
deals/models.py
xuppr/GameDealsDashboard-server
a15e90fe6a37431db1b4de565e9e7d54d2aee223
[ "MIT" ]
null
null
null
deals/models.py
xuppr/GameDealsDashboard-server
a15e90fe6a37431db1b4de565e9e7d54d2aee223
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Deal(models.Model): title = models.CharField(max_length=255, null=True) dealID = models.CharField(max_length=255, unique=True, default='1') storeID = models.CharField(max_length=5, null=True) salePrice = models.FloatField(null=True) norm...
39.411765
71
0.732836
86
670
5.604651
0.44186
0.149378
0.186722
0.248963
0.201245
0.145228
0.145228
0
0
0
0
0.022968
0.155224
670
17
72
39.411765
0.828622
0.035821
0
0
0
0
0.00155
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0.071429
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
55da422f639f506ec0d425cfdb9693c45f62f93f
149
py
Python
utils/stop_all_motors.py
gorozcoh/ev3dev-lang-python
3b2597398bc0bb0b9fe0ec88322837dbbc749e04
[ "MIT" ]
null
null
null
utils/stop_all_motors.py
gorozcoh/ev3dev-lang-python
3b2597398bc0bb0b9fe0ec88322837dbbc749e04
[ "MIT" ]
null
null
null
utils/stop_all_motors.py
gorozcoh/ev3dev-lang-python
3b2597398bc0bb0b9fe0ec88322837dbbc749e04
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Stop all motors """ from ev3dev.auto import list_motors for motor in list_motors(): motor.stop(stop_action='brake')
14.9
35
0.711409
23
149
4.478261
0.73913
0.194175
0
0
0
0
0
0
0
0
0
0.015748
0.147651
149
9
36
16.555556
0.795276
0.248322
0
0
0
0
0.048077
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
55da675dcaf875d5a78c16eb264886db2dabae9b
3,628
py
Python
src/fastpli/io/label_converter.py
jifengting1/fastpliFork
1ef7e2d268e03e21ded9390fc005b9fff2e0a3c1
[ "MIT" ]
null
null
null
src/fastpli/io/label_converter.py
jifengting1/fastpliFork
1ef7e2d268e03e21ded9390fc005b9fff2e0a3c1
[ "MIT" ]
null
null
null
src/fastpli/io/label_converter.py
jifengting1/fastpliFork
1ef7e2d268e03e21ded9390fc005b9fff2e0a3c1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Methods for converting the simpli tissue into different formats. """ import numpy as np import h5py try: from tqdm import tqdm except ImportError as e: tqdm = lambda x: x def label_to_txt(data, file_name, gray_level, replace=[]): """ Converts the tissue into a txt file ...
27.278195
78
0.555402
503
3,628
3.898608
0.200795
0.055074
0.048955
0.048955
0.756757
0.714941
0.687404
0.687404
0.687404
0.687404
0
0.016201
0.31946
3,628
132
79
27.484848
0.778048
0.38258
0
0.318182
0
0
0.068775
0.01757
0
0
0
0.015152
0
1
0.090909
false
0
0.090909
0
0.181818
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
55e073a94fe8bcaec174a5772be10fe57139f933
175
py
Python
ht/tip/urls.py
caoxuCarlos/htyw_ecust
90277333510de14d936153fa2b164efbc5d068b8
[ "MIT" ]
null
null
null
ht/tip/urls.py
caoxuCarlos/htyw_ecust
90277333510de14d936153fa2b164efbc5d068b8
[ "MIT" ]
null
null
null
ht/tip/urls.py
caoxuCarlos/htyw_ecust
90277333510de14d936153fa2b164efbc5d068b8
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('praise/', views.praise,name='praise'), path('criticize/', views.criticize, name='criticize'), ]
25
58
0.691429
21
175
5.761905
0.47619
0
0
0
0
0
0
0
0
0
0
0
0.142857
175
6
59
29.166667
0.806667
0
0
0
0
0
0.182857
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
55efb36e5bc4207c4fcc5a5cf9adcdb4ea4aa47b
294
py
Python
src/authentication/config.py
erincase/rccli
71a0e508dcdd181c3182afd9a2951f6e71c03dc4
[ "MIT" ]
null
null
null
src/authentication/config.py
erincase/rccli
71a0e508dcdd181c3182afd9a2951f6e71c03dc4
[ "MIT" ]
null
null
null
src/authentication/config.py
erincase/rccli
71a0e508dcdd181c3182afd9a2951f6e71c03dc4
[ "MIT" ]
null
null
null
# Recursers can create their personal access token at https://www.recurse.com/settings/apps # To use the tool, create your personal access token and replace the fake access token below. PERSONAL_ACCESS_TOKEN = "123456" AUTH_HEADER = {"Authorization": "Bearer {}".format(PERSONAL_ACCESS_TOKEN)}
58.8
93
0.789116
42
294
5.404762
0.690476
0.242291
0.334802
0
0
0
0
0
0
0
0
0.023166
0.119048
294
4
94
73.5
0.853282
0.615646
0
0
0
0
0.254545
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
55f20951a85dd87a65d0ab5949e6727dc3d7e10f
551
py
Python
perke/utils/functions.py
AlirezaH320/perke
df9eaf69af335e34dd7493450e5a59afb2a89789
[ "MIT" ]
51
2021-03-25T17:37:44.000Z
2021-08-28T09:19:36.000Z
perke/utils/functions.py
AlirezaTheH/perke
df9eaf69af335e34dd7493450e5a59afb2a89789
[ "MIT" ]
null
null
null
perke/utils/functions.py
AlirezaTheH/perke
df9eaf69af335e34dd7493450e5a59afb2a89789
[ "MIT" ]
5
2021-11-20T07:26:17.000Z
2022-03-26T11:14:29.000Z
def is_alphanumeric(word: str, valid_punctuation_marks: str = '-') -> bool: """ Check if a word contains only alpha-numeric characters and valid punctuation marks. Parameters ---------- word: `str` The given word valid_punctuation_marks: `str` Punctuation marks that are val...
25.045455
75
0.618875
61
551
5.442623
0.557377
0.240964
0.253012
0.144578
0
0
0
0
0
0
0
0
0.259528
551
21
76
26.238095
0.813725
0.495463
0
0
0
0
0.004587
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
36079cb425308f16dc040fac42fdb1d826f720e0
1,073
py
Python
movingpose/logic/iterators.py
MehmetMHY/moving-pose
040cf0e86045b06167c909dcd3726829cb04e2d0
[ "MIT" ]
1
2020-12-03T06:54:06.000Z
2020-12-03T06:54:06.000Z
movingpose/logic/iterators.py
MehmetMHY/moving-pose
040cf0e86045b06167c909dcd3726829cb04e2d0
[ "MIT" ]
1
2020-12-24T08:55:58.000Z
2021-10-18T06:14:28.000Z
movingpose/logic/iterators.py
MehmetMHY/moving-pose
040cf0e86045b06167c909dcd3726829cb04e2d0
[ "MIT" ]
4
2020-12-03T18:04:26.000Z
2021-01-06T13:55:03.000Z
import numpy as np class Skeleton: # initialize with array of joints and position [[joint_1, x_1, y_1, z_1],...,[joint_20, x_20, y_20, z_20]] def __init__(self, joints_array, segments=((1, 13), (1, 2), (1, 17), (13, 14), (2, 3), (17, 18), (14, 15), (3, 5), (3, 4), (3, 9), ...
35.766667
110
0.553588
162
1,073
3.425926
0.376543
0.162162
0.032432
0.064865
0
0
0
0
0
0
0
0.095675
0.28891
1,073
29
111
37
0.631717
0.189189
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.055556
0.222222
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
363bec39a53291aec08ef576a2d2c62971527c74
106
py
Python
backend/config/views.py
raahmed/knboard
9f93a7530f65f8369643ec01e2adb2386204c071
[ "PostgreSQL", "MIT" ]
null
null
null
backend/config/views.py
raahmed/knboard
9f93a7530f65f8369643ec01e2adb2386204c071
[ "PostgreSQL", "MIT" ]
null
null
null
backend/config/views.py
raahmed/knboard
9f93a7530f65f8369643ec01e2adb2386204c071
[ "PostgreSQL", "MIT" ]
null
null
null
from django.views.generic import TemplateView catchall = TemplateView.as_view(template_name='index.html')
35.333333
59
0.839623
14
106
6.214286
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.066038
106
3
59
35.333333
0.878788
0
0
0
0
0
0.093458
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
36547a1f7c6f8c236c455651cc2692622bc2cf58
280
py
Python
pymisp/__init__.py
kajogo777/PyMISP
a7892c03ffee71d2fa7bbc7ccb902cb84b27b83e
[ "BSD-2-Clause" ]
null
null
null
pymisp/__init__.py
kajogo777/PyMISP
a7892c03ffee71d2fa7bbc7ccb902cb84b27b83e
[ "BSD-2-Clause" ]
null
null
null
pymisp/__init__.py
kajogo777/PyMISP
a7892c03ffee71d2fa7bbc7ccb902cb84b27b83e
[ "BSD-2-Clause" ]
null
null
null
__version__ = '2.4.71' from .exceptions import PyMISPError, NewEventError, NewAttributeError, MissingDependency, NoURL, NoKey from .api import PyMISP from .mispevent import MISPEvent, MISPAttribute, EncodeUpdate, EncodeFull from .tools.neo4j import Neo4j from .tools import stix
35
102
0.817857
33
280
6.818182
0.666667
0.08
0
0
0
0
0
0
0
0
0
0.024194
0.114286
280
7
103
40
0.883065
0
0
0
0
0
0.021429
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
365e958f8fb9cba252eb0b4c7fc4d727c23535ee
36
py
Python
config.py
marcgd/PouetDL
0c3328e0b052746115523ccb487315a8a4ac09db
[ "MIT" ]
1
2016-11-10T16:40:28.000Z
2016-11-10T16:40:28.000Z
config.py
marcgd/PouetDL
0c3328e0b052746115523ccb487315a8a4ac09db
[ "MIT" ]
null
null
null
config.py
marcgd/PouetDL
0c3328e0b052746115523ccb487315a8a4ac09db
[ "MIT" ]
null
null
null
download = True dbfile = 'pouet.db'
12
19
0.694444
5
36
5
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
36
2
20
18
0.833333
0
0
0
0
0
0.222222
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
368255df0e07e2958c80d0b8735f43a18663dbad
912
py
Python
tests/v2/test_logs_api.py
MichaelTROEHLER/datadog-api-client-python
12c46626622fb1277bb1e172753b342c671348bd
[ "Apache-2.0" ]
null
null
null
tests/v2/test_logs_api.py
MichaelTROEHLER/datadog-api-client-python
12c46626622fb1277bb1e172753b342c671348bd
[ "Apache-2.0" ]
null
null
null
tests/v2/test_logs_api.py
MichaelTROEHLER/datadog-api-client-python
12c46626622fb1277bb1e172753b342c671348bd
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. # This product includes software developed at Datadog (https://www.datadoghq.com/). # Copyright 2019-Present Datadog, Inc. from __future__ import absolute_import import unittest import datad...
21.714286
108
0.66557
124
912
4.685484
0.540323
0.055077
0.056799
0.061962
0.223752
0.165232
0.089501
0
0
0
0
0.030612
0.247807
912
41
109
22.243902
0.816327
0.451754
0
0.2
0
0
0.017978
0
0
0
0
0
0
1
0.266667
false
0.2
0.266667
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
0
0
0
1
0
1
0
0
1
0
0
3
369f4dd2ec1c6a5bbc26dd5ed8d805cb4679d4a4
1,491
py
Python
apt/Spearman.py
kbiscanic/apt_project
90496be5707055676c84b5dd29fde0f03087d956
[ "Apache-2.0" ]
null
null
null
apt/Spearman.py
kbiscanic/apt_project
90496be5707055676c84b5dd29fde0f03087d956
[ "Apache-2.0" ]
null
null
null
apt/Spearman.py
kbiscanic/apt_project
90496be5707055676c84b5dd29fde0f03087d956
[ "Apache-2.0" ]
null
null
null
__author__ = 'karlo' from scipy.stats import spearmanr def sp_file(xName, yName): x = open(xName) X = [] for line in x.readlines(): X.append(float(line)) y = open(yName) Y = [] for line in y.readlines(): Y.append(float(line)) print spearmanr(X, Y) xs_train = ["MSRpar_t...
41.416667
119
0.688129
219
1,491
4.506849
0.223744
0.06079
0.064843
0.218845
0.613982
0.536981
0.536981
0.496454
0.449848
0.342452
0
0.003113
0.138162
1,491
36
120
41.416667
0.764981
0
0
0.074074
0
0.074074
0.569705
0.426273
0
0
0
0
0
0
null
null
0
0.037037
null
null
0.037037
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
1
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
36a842e2cde46dcf5d50127e3e7c3696134ffed7
1,032
py
Python
SQL/511. Game Play Analysis I.py
joshlyman/Josh-LeetCode
cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed
[ "MIT" ]
null
null
null
SQL/511. Game Play Analysis I.py
joshlyman/Josh-LeetCode
cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed
[ "MIT" ]
null
null
null
SQL/511. Game Play Analysis I.py
joshlyman/Josh-LeetCode
cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed
[ "MIT" ]
null
null
null
# Write an SQL query that reports the first login date for each player. # The query result format is in the following example: # Activity table: # +-----------+-----------+------------+--------------+ # | player_id | device_id | event_date | games_played | # +-----------+-----------+------------+--------------+ # | 1...
33.290323
71
0.374031
106
1,032
3.537736
0.518868
0.106667
0.069333
0
0
0
0
0
0
0
0
0.115007
0.309109
1,032
30
72
34.4
0.41094
0.868217
0
0
0
0
0
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
0
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
36b739913486d294bec7dd0c9f6da243b09e68b1
486
py
Python
recipes/Python/576428_User_List_Subclass/recipe-576428.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/576428_User_List_Subclass/recipe-576428.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/576428_User_List_Subclass/recipe-576428.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
class UserListSubclass(list): def __getslice__(self, i, j): return self.__getitem__(slice(i, j)) def __setslice__(self, i, j, seq): return self.__setitem__(slice(i, j), seq) def __delslice__(self, i, j): return self.__delitem__(slice(i, j)) # Subclass this class if you need to overw...
37.384615
77
0.699588
72
486
4.277778
0.541667
0.038961
0.058442
0.077922
0.103896
0
0
0
0
0
0
0.005141
0.199588
486
12
78
40.5
0.786632
0.409465
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0
0.428571
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
36d8a5dcab601cf5d5df23dc3d3047c9c7123008
341
py
Python
mainapp/admin.py
EvgenDEP1/powergo
c622358cdd7150375a65fd479e1ade88a507fe87
[ "Apache-2.0" ]
null
null
null
mainapp/admin.py
EvgenDEP1/powergo
c622358cdd7150375a65fd479e1ade88a507fe87
[ "Apache-2.0" ]
null
null
null
mainapp/admin.py
EvgenDEP1/powergo
c622358cdd7150375a65fd479e1ade88a507fe87
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from mainapp.models import Training, TrainingPlace, LevelTraining, Weeks, Day, Exercises, Mail admin.site.register(Training) admin.site.register(TrainingPlace) admin.site.register(LevelTraining) admin.site.register(Weeks) admin.site.register(Day) admin.site.register(Exercises) admin.s...
24.357143
94
0.821114
44
341
6.363636
0.363636
0.225
0.425
0
0
0
0
0
0
0
0
0
0.073314
341
13
95
26.230769
0.886076
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
36e7222253ceef723bd252089baf6e1c5cb5c247
5,192
py
Python
seahub/auth/models.py
weimens/seahub
5ecf78ed7a2ddc72a23961804ee41be21c24893f
[ "Apache-2.0" ]
101
2021-05-16T06:00:03.000Z
2021-12-01T02:02:29.000Z
seahub/auth/models.py
weimens/seahub
5ecf78ed7a2ddc72a23961804ee41be21c24893f
[ "Apache-2.0" ]
null
null
null
seahub/auth/models.py
weimens/seahub
5ecf78ed7a2ddc72a23961804ee41be21c24893f
[ "Apache-2.0" ]
2
2021-10-19T05:22:40.000Z
2022-01-12T03:55:34.000Z
# Copyright (c) 2012-2016 Seafile Ltd. import datetime import hashlib import urllib.request, urllib.parse, urllib.error import logging # import auth from django.core.exceptions import ImproperlyConfigured from django.db import models from django.db.models.manager import EmptyManager from django.contrib.contenttypes.mo...
29.168539
111
0.691448
629
5,192
5.480127
0.305246
0.035103
0.020308
0.020888
0.121265
0.029011
0.029011
0
0
0
0
0.006442
0.22265
5,192
177
112
29.333333
0.847621
0.086672
0
0.141667
0
0
0.046036
0.005541
0
0
0
0
0
1
0.216667
false
0.125
0.133333
0.116667
0.708333
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
0
0
0
3
36fba3f2b58ec9a67dcd775bc2e91a3cc2806170
274
py
Python
build/create_simulated_single_header_file.py
p-podsiadly/ApprovalTests.cpp
4d10058ca712f5f09c8c1d10330d66231e24eb9e
[ "Apache-2.0" ]
259
2017-12-19T08:18:13.000Z
2022-03-22T08:05:30.000Z
build/create_simulated_single_header_file.py
p-podsiadly/ApprovalTests.cpp
4d10058ca712f5f09c8c1d10330d66231e24eb9e
[ "Apache-2.0" ]
179
2018-02-01T11:20:38.000Z
2022-02-28T09:40:21.000Z
build/create_simulated_single_header_file.py
alepez/ApprovalTests.cpp
a7fb4807714af1cedd817a10262206db7600b416
[ "Apache-2.0" ]
55
2017-11-27T18:56:47.000Z
2022-03-17T09:06:24.000Z
#! /usr/bin/env python3 import os from scripts.project_details import ProjectDetails from scripts.single_header_file import SingleHeaderFile if __name__ == '__main__': os.chdir("../ApprovalTests") SingleHeaderFile.create('.', ProjectDetails(), include_cpps=False)
27.4
70
0.773723
31
274
6.451613
0.774194
0.11
0
0
0
0
0
0
0
0
0
0.004115
0.113139
274
9
71
30.444444
0.81893
0.080292
0
0
0
0
0.099602
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
0
0
0
3
7fc9cb42f8398d76c54b8733a80dd1eac7d99344
1,028
py
Python
vision/ssd/config/mobilenetv3_ssd_config_240prior.py
chwj81/pytorch-ssd
1c666d498216b6a569016d010fc6f98b4d14a559
[ "MIT" ]
null
null
null
vision/ssd/config/mobilenetv3_ssd_config_240prior.py
chwj81/pytorch-ssd
1c666d498216b6a569016d010fc6f98b4d14a559
[ "MIT" ]
null
null
null
vision/ssd/config/mobilenetv3_ssd_config_240prior.py
chwj81/pytorch-ssd
1c666d498216b6a569016d010fc6f98b4d14a559
[ "MIT" ]
null
null
null
import numpy as np from vision.utils.box_utils import SSDSpec, SSDBoxSizes, generate_ssd_priors image_size = 240 image_mean = np.array([127, 127, 127]) # RGB layout image_std = 128.0 iou_threshold = 0.45 center_variance = 0.1 size_variance = 0.2 specs = [ SSDSpec(15, 16, SSDBoxSizes(48, 82), [pow(...
46.727273
117
0.639105
183
1,028
3.52459
0.284153
0.195349
0.148837
0.102326
0.500775
0.500775
0.500775
0.500775
0.500775
0.500775
0
0.305202
0.15856
1,028
22
118
46.727273
0.440462
0.009728
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7fdd6168861621a11cdbbf2a250b9e47bce98d2b
84
py
Python
prog1/implementacoes/uri/1067.py
gabrielmbs/Tamburetei
b7716d4e7683dc17831a574241bd26c0a67ca929
[ "MIT" ]
209
2018-10-31T02:32:30.000Z
2021-12-18T02:35:07.000Z
prog1/implementacoes/uri/1067.py
gabrielmbs/Tamburetei
b7716d4e7683dc17831a574241bd26c0a67ca929
[ "MIT" ]
304
2018-10-31T02:16:26.000Z
2021-12-20T19:41:27.000Z
prog1/implementacoes/uri/1067.py
gabrielmbs/Tamburetei
b7716d4e7683dc17831a574241bd26c0a67ca929
[ "MIT" ]
205
2018-10-31T02:38:41.000Z
2021-12-17T17:57:35.000Z
numero = int(input()) i = 1 while(i <= numero): if(i%2 != 0): print i i = i + 1
12
21
0.5
17
84
2.470588
0.588235
0.095238
0
0
0
0
0
0
0
0
0
0.065574
0.27381
84
6
22
14
0.622951
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
7fe059ad1bb2f9dcfe3046eb7ea5cd65883a898f
501
py
Python
Acquire/Identity/_errors.py
openghg/acquire
8af8701b092f7304c02fea1ee6360e53502dfd64
[ "Apache-2.0" ]
1
2021-10-18T17:11:47.000Z
2021-10-18T17:11:47.000Z
Acquire/Identity/_errors.py
openghg/acquire
8af8701b092f7304c02fea1ee6360e53502dfd64
[ "Apache-2.0" ]
null
null
null
Acquire/Identity/_errors.py
openghg/acquire
8af8701b092f7304c02fea1ee6360e53502dfd64
[ "Apache-2.0" ]
null
null
null
from Acquire.Service import ServiceError __all__ = [ "IdentityServiceError", "LoginSessionError", "UsernameError", "ExistingAccountError", "UserValidationError", "AuthorisationError", ] class IdentityServiceError(ServiceError): pass class LoginSessionError(Exception): pass class U...
14.314286
41
0.734531
36
501
10.111111
0.416667
0.123626
0.197802
0
0
0
0
0
0
0
0
0
0.185629
501
34
42
14.735294
0.892157
0
0
0.285714
0
0
0.213573
0
0
0
0
0
0
1
0
false
0.285714
0.047619
0
0.333333
0
0
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
7fff28d5cf796dde249f6796b4baf8ee45b041d9
1,215
py
Python
release/stubs.min/Wms/RemotingObjects/ERP.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/Wms/RemotingObjects/ERP.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/Wms/RemotingObjects/ERP.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
# encoding: utf-8 # module Wms.RemotingObjects.ERP calls itself ERP # from Wms.RemotingObjects,Version=1.23.1.0,Culture=neutral,PublicKeyToken=null # by generator 1.145 # no doc # no important from __init__ import * # no functions # classes class ErpNames: """ enum ErpNames,values: Exact (0),Profit (1),Unknown (2) "...
25.3125
214
0.690535
173
1,215
4.277457
0.410405
0.108108
0.113514
0.121622
0.174324
0.174324
0.174324
0.152703
0.152703
0.152703
0
0.01256
0.148148
1,215
47
215
25.851064
0.702415
0.51358
0
0.344828
0
0
0
0
0
0
0
0
0
1
0.37931
false
0.344828
0.034483
0
0.655172
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
3d103b3794967b90c96b25dd40be1d7fd4f5c221
599
py
Python
src/actuariat_python/data/__init__.py
Pandinosaurus/actuariat_python
77533a75fcc63a5a7ebca664a19a24c9439670ee
[ "MIT" ]
5
2017-03-13T15:58:40.000Z
2021-02-03T12:52:58.000Z
src/actuariat_python/data/__init__.py
Pandinosaurus/actuariat_python
77533a75fcc63a5a7ebca664a19a24c9439670ee
[ "MIT" ]
13
2015-06-14T22:01:37.000Z
2021-01-05T13:57:00.000Z
src/actuariat_python/data/__init__.py
Pandinosaurus/actuariat_python
77533a75fcc63a5a7ebca664a19a24c9439670ee
[ "MIT" ]
9
2017-01-15T15:06:55.000Z
2022-01-18T20:42:48.000Z
""" @file @brief shortcuts to data """ from .data_exceptions import DataFormatException from .elections import elections_presidentielles, elections_presidentielles_local_files, elections_legislatives_bureau_vote from .elections import elections_legislatives_circonscription_geo, elections_vote_place_address, elections_...
46.076923
123
0.884808
76
599
6.526316
0.513158
0.078629
0.114919
0.112903
0
0
0
0
0
0
0
0.00722
0.075125
599
12
124
49.916667
0.888087
0.050083
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
3d17b05d9e5f6d800d5f26248736046bdc19b56d
199
py
Python
apps/upload/urls.py
SharifAIChallenge/saint-peters-gates
7b685f3d7a7b789c055a5c401209a3014de89239
[ "MIT" ]
2
2021-02-22T16:14:30.000Z
2021-05-07T22:31:45.000Z
apps/upload/urls.py
SharifAIChallenge/saint-peters-gates
7b685f3d7a7b789c055a5c401209a3014de89239
[ "MIT" ]
null
null
null
apps/upload/urls.py
SharifAIChallenge/saint-peters-gates
7b685f3d7a7b789c055a5c401209a3014de89239
[ "MIT" ]
null
null
null
from django.urls import path from ..upload.views import StoreCodeAPIView, StoreMapAPIView urlpatterns = [ path('code', StoreCodeAPIView.as_view()), path('map', StoreMapAPIView.as_view()), ]
24.875
60
0.738693
22
199
6.590909
0.636364
0.082759
0
0
0
0
0
0
0
0
0
0
0.130653
199
7
61
28.428571
0.83815
0
0
0
0
0
0.035176
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3d2517900e6d3eec44943d64a56d5c51dbe568bb
103
py
Python
bbtornado/__init__.py
runarbu/bbtornado
f1eb173c63fda2ef22594e6c2ae3e315fcb2fe5f
[ "MIT" ]
null
null
null
bbtornado/__init__.py
runarbu/bbtornado
f1eb173c63fda2ef22594e6c2ae3e315fcb2fe5f
[ "MIT" ]
null
null
null
bbtornado/__init__.py
runarbu/bbtornado
f1eb173c63fda2ef22594e6c2ae3e315fcb2fe5f
[ "MIT" ]
null
null
null
__version__ = '1.0.8' from tornado.util import ObjectDict # Global config dict config = ObjectDict()
14.714286
35
0.747573
14
103
5.214286
0.857143
0
0
0
0
0
0
0
0
0
0
0.034483
0.15534
103
6
36
17.166667
0.804598
0.174757
0
0
0
0
0.060241
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3d260fe442a4b0f60896dbbb5067f3620b2678be
969
py
Python
simulator/utils.py
KarizCache/serverless
c5735afee29e104f3909f3b0140e993d461a5420
[ "MIT" ]
null
null
null
simulator/utils.py
KarizCache/serverless
c5735afee29e104f3909f3b0140e993d461a5420
[ "MIT" ]
null
null
null
simulator/utils.py
KarizCache/serverless
c5735afee29e104f3909f3b0140e993d461a5420
[ "MIT" ]
null
null
null
#!/usr/bin/python3 from scipy.optimize import curve_fit import numpy as np import math import pandas as pd def power_law(x, a, b): return a*np.power(x, b) def fit_deserialization(): df = pd.read_csv('./serialization.log', names=['dims', 'size', 'serialization', 'deserialization', 'repeat...
28.5
136
0.599587
141
969
4.049645
0.319149
0.035026
0.028021
0.038529
0.67951
0.67951
0.67951
0.67951
0.67951
0.67951
0
0.012016
0.227038
969
33
137
29.363636
0.750334
0.074303
0
0.545455
0
0
0.17713
0
0
0
0
0
0
1
0.227273
false
0
0.181818
0.045455
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
3d60586c8dbf2c4893db4212363bbc69bac4e14b
1,198
py
Python
clip_ipu/__init__.py
KAndHisC/CLIP
51edf6c5afaf6a0c1f658c10134060433ce15694
[ "MIT" ]
null
null
null
clip_ipu/__init__.py
KAndHisC/CLIP
51edf6c5afaf6a0c1f658c10134060433ce15694
[ "MIT" ]
null
null
null
clip_ipu/__init__.py
KAndHisC/CLIP
51edf6c5afaf6a0c1f658c10134060433ce15694
[ "MIT" ]
null
null
null
import poptorch from torch import nn from torch.utils.data import Dataset class SyntheticData(Dataset): """Face Landmarks dataset.""" def __init__(self, image): """ Args: csv_file (string): Path to the csv file with annotations. root_dir (string): Directory with all th...
26.622222
77
0.632721
126
1,198
5.84127
0.460317
0.048913
0.065217
0.065217
0.127717
0
0
0
0
0
0
0.008
0.269616
1,198
44
78
27.227273
0.833143
0.231219
0
0
0
0
0.006993
0
0
0
0
0
0
1
0.304348
false
0
0.130435
0.173913
0.73913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e9ec5842a234209ca02c2fee15db6bbd1dee41c8
186
py
Python
api/wecubek8s/wecubek8s/apps/openapi/api.py
zgyzgyhero/wecube-plugins-kubernetes
99982a7a21dff2e54653ecf61055c54e08065087
[ "Apache-2.0" ]
8
2021-05-08T02:00:28.000Z
2021-09-10T10:46:02.000Z
api/wecubek8s/wecubek8s/apps/openapi/api.py
zgyzgyhero/wecube-plugins-kubernetes
99982a7a21dff2e54653ecf61055c54e08065087
[ "Apache-2.0" ]
6
2021-02-02T07:58:00.000Z
2021-08-18T02:30:10.000Z
api/wecubek8s/wecubek8s/apps/openapi/api.py
zgyzgyhero/wecube-plugins-kubernetes
99982a7a21dff2e54653ecf61055c54e08065087
[ "Apache-2.0" ]
2
2020-12-23T08:17:13.000Z
2021-06-11T13:10:16.000Z
# coding=utf-8 from __future__ import absolute_import import logging from talos.core import config from talos.core.i18n import _ CONF = config.CONF LOG = logging.getLogger(__name__)
15.5
38
0.795699
27
186
5.111111
0.592593
0.130435
0.188406
0
0
0
0
0
0
0
0
0.01875
0.139785
186
11
39
16.909091
0.84375
0.064516
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
18005dd7d7fe5e5b644cdeb96fc867a1d9156efd
77
py
Python
osp/common/__init__.py
davidmcclure/open-syllabus-project
078cfd4c5a257fbfb0901d43bfbc6350824eed4e
[ "Apache-2.0" ]
220
2016-01-22T21:19:02.000Z
2022-01-25T04:33:55.000Z
osp/common/__init__.py
davidmcclure/open-syllabus-project
078cfd4c5a257fbfb0901d43bfbc6350824eed4e
[ "Apache-2.0" ]
14
2016-01-23T14:34:39.000Z
2016-09-19T19:58:37.000Z
osp/common/__init__.py
davidmcclure/open-syllabus-project
078cfd4c5a257fbfb0901d43bfbc6350824eed4e
[ "Apache-2.0" ]
14
2016-02-03T13:47:48.000Z
2019-03-27T13:09:05.000Z
from .config import Config # Global instance. config = Config.from_env()
9.625
26
0.727273
10
77
5.5
0.6
0
0
0
0
0
0
0
0
0
0
0
0.181818
77
7
27
11
0.873016
0.207792
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
184288ce5d899c0072dfff3c216f9c72f200be76
4,994
py
Python
stubs.min/Autodesk/Revit/DB/__init___parts/RevitLinkLoadResult.py
ricardyn/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2021-02-02T13:39:16.000Z
2021-02-02T13:39:16.000Z
stubs.min/Autodesk/Revit/DB/__init___parts/RevitLinkLoadResult.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/Autodesk/Revit/DB/__init___parts/RevitLinkLoadResult.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class RevitLinkLoadResult(object,IDisposable): """ This class stores the results of trying to load a single linked model. RevitLinkLoadResult(other: RevitLinkLoadResult) """ def Dispose(self): """ Dispose(self: RevitLinkLoadResult) """ pass def GetCentralModelName(self): """ GetCentralModel...
33.072848
215
0.708851
546
4,994
6.346154
0.274725
0.04329
0.025974
0.034632
0.189899
0.167388
0.167388
0.152381
0.152381
0.119481
0
0
0.204646
4,994
150
216
33.293333
0.872357
0.544053
0
0.447368
0
0
0
0
0
0
0
0
0
1
0.394737
false
0.394737
0
0
0.552632
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
18545428ece33eb59f0530fcdcb05aa63d0d6d3c
29
py
Python
tests/mock_package/empty.py
rmorshea/pyalect
fc7119134f1c8f2b844de12c131b5c1dd125b0a4
[ "MIT" ]
4
2019-10-06T12:29:51.000Z
2021-04-07T02:42:58.000Z
tests/mock_package/empty.py
rmorshea/pyalect
fc7119134f1c8f2b844de12c131b5c1dd125b0a4
[ "MIT" ]
3
2019-10-08T01:52:29.000Z
2020-05-25T00:15:58.000Z
tests/mock_package/empty.py
rmorshea/pyalect
fc7119134f1c8f2b844de12c131b5c1dd125b0a4
[ "MIT" ]
null
null
null
# dialect=test_dialect x = 1
9.666667
22
0.724138
5
29
4
0.8
0
0
0
0
0
0
0
0
0
0
0.041667
0.172414
29
2
23
14.5
0.791667
0.689655
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1874c8a5e278e7511257c8a79a6884c79fff0e11
4,597
py
Python
tensorflow_quantum/core/ops/noise/noisy_sampled_expectation_op.py
quantummind/quantum
fd952d0362c5445eef0da4437fb3e5ebb16b7948
[ "Apache-2.0" ]
1,501
2020-03-09T00:40:31.000Z
2022-03-28T19:59:57.000Z
tensorflow_quantum/core/ops/noise/noisy_sampled_expectation_op.py
quantummind/quantum
fd952d0362c5445eef0da4437fb3e5ebb16b7948
[ "Apache-2.0" ]
381
2020-03-09T18:31:04.000Z
2022-03-28T18:47:32.000Z
tensorflow_quantum/core/ops/noise/noisy_sampled_expectation_op.py
quantummind/quantum
fd952d0362c5445eef0da4437fb3e5ebb16b7948
[ "Apache-2.0" ]
410
2020-03-09T03:05:48.000Z
2022-03-31T12:08:14.000Z
# Copyright 2020 The TensorFlow Quantum Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
46.908163
80
0.673918
617
4,597
4.905997
0.400324
0.029732
0.013214
0.023786
0.095474
0.064751
0.047572
0.023125
0
0
0
0.011517
0.225582
4,597
97
81
47.391753
0.838764
0.835327
0
0
0
0
0.044715
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
43fa6c468ab6be3b09752ab3bd2c0296a1b2bd58
186
py
Python
codeit/triangle_number.py
love-adela/algorithm
4ccd02173c96f8369962f1fd4e5166a221690fa2
[ "MIT" ]
3
2019-03-09T05:19:23.000Z
2019-04-06T09:26:36.000Z
codeit/triangle_number.py
love-adela/algorithm
4ccd02173c96f8369962f1fd4e5166a221690fa2
[ "MIT" ]
1
2020-02-23T10:38:04.000Z
2020-02-23T10:38:04.000Z
codeit/triangle_number.py
love-adela/algorithm
4ccd02173c96f8369962f1fd4e5166a221690fa2
[ "MIT" ]
1
2019-05-22T13:47:53.000Z
2019-05-22T13:47:53.000Z
# Time Complexity : O(n) ... O(1) * n def triangle_number(n): if n == 1: return 1 return n + triangle_number(n - 1) for i in range(1, 11): print(triangle_number(i))
20.666667
37
0.580645
32
186
3.28125
0.5
0.4
0.285714
0
0
0
0
0
0
0
0
0.051471
0.268817
186
9
38
20.666667
0.720588
0.188172
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0.166667
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
43fcc788e80faff620c0a102db0b68a5ed2147a6
1,032
py
Python
dbuild/tasks/info_task.py
monasca/dbuild
895cc593812b5f869b280adeecc83a723f12b0f4
[ "Apache-2.0" ]
2
2018-01-23T10:40:29.000Z
2021-04-23T12:58:50.000Z
dbuild/tasks/info_task.py
timothyb89/dbuild
895cc593812b5f869b280adeecc83a723f12b0f4
[ "Apache-2.0" ]
4
2017-06-14T20:12:34.000Z
2017-09-27T16:52:20.000Z
dbuild/tasks/info_task.py
monasca/dbuild
895cc593812b5f869b280adeecc83a723f12b0f4
[ "Apache-2.0" ]
2
2019-08-22T13:42:18.000Z
2019-10-08T08:10:08.000Z
# (C) Copyright 2017 Hewlett Packard Enterprise Development LP # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
31.272727
75
0.762597
155
1,032
5
0.658065
0.077419
0.033548
0.04129
0
0
0
0
0
0
0
0.011601
0.164729
1,032
32
76
32.25
0.887471
0.635659
0
0
0
0
0.086592
0
0
0
0
0.03125
0
0
null
null
0
0.375
null
null
0.125
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
1
0
0
0
1
0
0
0
0
3
a13531d29350e894f74041b4d539bb84521698c5
107
py
Python
encoding.py
leemars/taobaopy
c8038aceeb060152c4b3059387ab64f05024310a
[ "MIT" ]
18
2015-03-07T23:24:11.000Z
2020-06-29T06:14:33.000Z
encoding.py
leemars/taobaopy
c8038aceeb060152c4b3059387ab64f05024310a
[ "MIT" ]
null
null
null
encoding.py
leemars/taobaopy
c8038aceeb060152c4b3059387ab64f05024310a
[ "MIT" ]
6
2017-02-16T10:35:15.000Z
2019-10-09T03:12:07.000Z
import sys if sys.version_info < (3, 0): reload(sys) # noqa: F821 sys.setdefaultencoding("utf-8")
21.4
35
0.654206
16
107
4.3125
0.8125
0
0
0
0
0
0
0
0
0
0
0.069767
0.196262
107
4
36
26.75
0.732558
0.093458
0
0
0
0
0.052632
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
a17cb9fc8dafa5430a683a5cb27900332c0c11bc
211
py
Python
re_flags_embedded.py
Kalpavrikshika/python_modules
9f338ab006dd5653fd7f65ff253bc50e0fd61fc6
[ "Apache-2.0" ]
1
2018-07-02T03:37:03.000Z
2018-07-02T03:37:03.000Z
re_flags_embedded.py
Kalpavrikshika/python_modules
9f338ab006dd5653fd7f65ff253bc50e0fd61fc6
[ "Apache-2.0" ]
null
null
null
re_flags_embedded.py
Kalpavrikshika/python_modules
9f338ab006dd5653fd7f65ff253bc50e0fd61fc6
[ "Apache-2.0" ]
null
null
null
import re text = "This is some text -- with punctuation." pattern = r'(?i)\bT\w+' regex = re.compile(pattern) print ('Text :', text) print ('Pattern :', pattern) print ('Matches :', regex.findall(text))
21.1
47
0.635071
29
211
4.62069
0.62069
0.179104
0
0
0
0
0
0
0
0
0
0
0.175355
211
9
48
23.444444
0.770115
0
0
0
0
0
0.369668
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.428571
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
a19d4f68dc909d877de5826ba85b0e456cdb07b0
435
py
Python
video_stitcher.py
karsten-eger/pi-camera-timelapse
89a5602e87222e0bf2bbf0951ab8900f20c69f65
[ "Apache-2.0" ]
7
2020-07-04T22:51:08.000Z
2022-02-08T21:17:56.000Z
video_stitcher.py
karsten-eger/pi-camera-timelapse
89a5602e87222e0bf2bbf0951ab8900f20c69f65
[ "Apache-2.0" ]
7
2020-10-05T08:06:22.000Z
2021-12-16T23:39:42.000Z
video_stitcher.py
karsten-eger/pi-camera-timelapse
89a5602e87222e0bf2bbf0951ab8900f20c69f65
[ "Apache-2.0" ]
2
2020-11-24T14:10:15.000Z
2021-10-13T02:38:37.000Z
#!/usr/bin/env python3 # [START includes] import os def stitch_video(filename, loglevel, input_folder,output_folder, image_name): if not os.path.exists(input_folder + '/' +output_folder): os.makedirs(input_folder + '/' +output_folder) os.system('ffmpeg -r 10 -i '+input_folder+'/'+image_name+' ...
48.333333
178
0.687356
59
435
4.864407
0.576271
0.191638
0.236934
0.320557
0.174216
0
0
0
0
0
0
0.04065
0.151724
435
9
178
48.333333
0.737127
0.087356
0
0
0
0
0.190722
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a1a1e06a70e039f6a33d44ea5d72316bd8616129
727
py
Python
day5.py
jigargandhi/adventofcode2017
7f3d1eb9c83402291d79d3b6e107ceb1b7bdd70e
[ "Unlicense" ]
null
null
null
day5.py
jigargandhi/adventofcode2017
7f3d1eb9c83402291d79d3b6e107ceb1b7bdd70e
[ "Unlicense" ]
null
null
null
day5.py
jigargandhi/adventofcode2017
7f3d1eb9c83402291d79d3b6e107ceb1b7bdd70e
[ "Unlicense" ]
null
null
null
#day 1 # register = [] # with open('day5.txt', mode='r') as f: # for l in f.readlines(): # register.append(int(l.strip())) # step_count = 0 # index =0 # while index>=0 and index <len(register): # step_count+=1 # old_index = index # index += register[index] # register[old_index]+=1 # print(...
20.771429
42
0.605227
107
727
4.009346
0.28972
0.125874
0.111888
0.118881
0.792541
0.792541
0.792541
0.648019
0.648019
0.648019
0
0.026978
0.235213
727
35
43
20.771429
0.744604
0.418157
0
0
0
0
0.021898
0
0
0
0
0
0
1
0
false
0
0
0
0
0.0625
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a1a3a87cde634738ce8206deb020637b75a8446f
1,058
py
Python
pyobsim/participant.py
hetra/PyOBSim
036ddf1418674114e5e7b2a9bd6974352f2f0293
[ "MIT" ]
23
2017-10-27T17:34:01.000Z
2022-03-21T16:07:31.000Z
pyobsim/participant.py
hetra/PyOBSim
036ddf1418674114e5e7b2a9bd6974352f2f0293
[ "MIT" ]
1
2018-12-02T05:07:22.000Z
2020-02-12T01:34:11.000Z
pyobsim/participant.py
hetra/PyOBSim
036ddf1418674114e5e7b2a9bd6974352f2f0293
[ "MIT" ]
10
2018-01-24T22:57:07.000Z
2021-08-13T00:15:15.000Z
class Participant(object): def __init__(self, id, name, balance, volume): self.__id = id self.__name = str(name) if balance < 0 or volume < 0: raise ValueError() self.__balance = float(balance) self.__volume = int(volume) @property def id(self): ...
20.745098
64
0.568053
123
1,058
4.560976
0.243902
0.053476
0.124777
0.057041
0
0
0
0
0
0
0
0.002801
0.325142
1,058
50
65
21.16
0.782913
0
0
0.162162
0
0
0.014178
0
0
0
0
0
0
1
0.297297
false
0
0
0.162162
0.513514
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a1a6adea19e9c329480041999d9cbbbbafd9b060
358
py
Python
application/model/layout/home/HomeLayout.py
Kzulfazriawan/Stigma-game-demo
971ee90a908784dfe1c9e87733b0394fa2212299
[ "MIT" ]
2
2016-08-09T05:33:21.000Z
2016-10-05T06:34:04.000Z
application/model/layout/home/HomeLayout.py
Kzulfazriawan/stigma-game-demo
971ee90a908784dfe1c9e87733b0394fa2212299
[ "MIT" ]
null
null
null
application/model/layout/home/HomeLayout.py
Kzulfazriawan/stigma-game-demo
971ee90a908784dfe1c9e87733b0394fa2212299
[ "MIT" ]
null
null
null
from library.stigma.helper import animation from library.stigma.application import Float class HomeLayout(Float): def __init__(self): super(HomeLayout, self).__init__() self.opacity = 0 def showing(self): animation(self, ({'opacity' : 1, 'd': .1},)) def fading(self): animat...
25.571429
51
0.625698
43
358
5.023256
0.465116
0.152778
0.157407
0.222222
0
0
0
0
0
0
0
0.017857
0.217877
358
14
52
25.571429
0.753571
0
0
0
0
0
0.044568
0
0
0
0
0
0
1
0.3
false
0
0.2
0
0.6
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
0
1
0
0
3
a1ace2949b3092a1b4858695c1946217f4706870
1,212
py
Python
tests/test_utils.py
inonit/django-chemtrails
e8bd97dc68852902b57d314250e616b505db0e16
[ "MIT" ]
13
2017-06-15T11:14:02.000Z
2021-05-10T03:52:26.000Z
tests/test_utils.py
inonit/django-chemtrails
e8bd97dc68852902b57d314250e616b505db0e16
[ "MIT" ]
50
2017-02-21T20:02:50.000Z
2017-12-04T13:44:29.000Z
tests/test_utils.py
inonit/django-chemtrails
e8bd97dc68852902b57d314250e616b505db0e16
[ "MIT" ]
2
2017-04-17T19:41:23.000Z
2020-02-06T21:06:08.000Z
# -*- coding: utf-8 -*- import os from django.test import TestCase from chemtrails import utils class UtilsTestCase(TestCase): def setUp(self): os.environ['TRUE'] = 'TRUE' os.environ['True'] = 'True' os.environ['true'] = 'true' os.environ['FALSE'] = 'FALSE' os.environ['F...
32.756757
68
0.662541
147
1,212
5.258503
0.204082
0.217335
0.341527
0.31436
0.796895
0.684347
0.684347
0.508409
0.508409
0.508409
0
0.017365
0.192244
1,212
36
69
33.666667
0.772217
0.017327
0
0
0
0
0.08074
0
0
0
0
0
0.346154
1
0.153846
false
0
0.115385
0
0.307692
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a1bf32a8370c07f7178f7aeff7fe7af5711a44a1
202
py
Python
yatube/posts/serializers.py
4madeuz/django_example
1be8928486e76a3c71212ee22eb4a4c6e07898ff
[ "MIT" ]
null
null
null
yatube/posts/serializers.py
4madeuz/django_example
1be8928486e76a3c71212ee22eb4a4c6e07898ff
[ "MIT" ]
null
null
null
yatube/posts/serializers.py
4madeuz/django_example
1be8928486e76a3c71212ee22eb4a4c6e07898ff
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Choice class ChoiceSerializer(serializers.ModelSerializer): class Meta: model = Choice fields = ('choice_text', 'votes')
22.444444
52
0.722772
21
202
6.857143
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.20297
202
8
53
25.25
0.89441
0
0
0
0
0
0.079208
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
0
0
0
3
a1c42025d0c0e4231bb17614287cbb084bd439d9
183
py
Python
web_google_maps/models/ir_ui_view.py
pcs2216/openacademy-project
31d0ca2d0aa8c92ba61719ac3d1ed8b2734a9b4e
[ "Apache-2.0" ]
null
null
null
web_google_maps/models/ir_ui_view.py
pcs2216/openacademy-project
31d0ca2d0aa8c92ba61719ac3d1ed8b2734a9b4e
[ "Apache-2.0" ]
null
null
null
web_google_maps/models/ir_ui_view.py
pcs2216/openacademy-project
31d0ca2d0aa8c92ba61719ac3d1ed8b2734a9b4e
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from odoo import fields, models, _ class IrUiView(models.Model): _inherit = 'ir.ui.view' type = fields.Selection(selection_add=[('map', _('Map'))])
20.333333
62
0.63388
23
183
4.869565
0.826087
0
0
0
0
0
0
0
0
0
0
0.006579
0.169399
183
8
63
22.875
0.730263
0.114754
0
0
0
0
0.1
0
0
0
0
0
0
1
0
false
0
0.25
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
0
0
1
0
0
3
a1c6c55b4442a9dbefc6293735bfa8e2cebb5421
15,654
py
Python
test/test_pipeline.py
PLCnext/MLnext-Framework
aff791ace391e46c7cee12e5901090551d7c2103
[ "MIT" ]
null
null
null
test/test_pipeline.py
PLCnext/MLnext-Framework
aff791ace391e46c7cee12e5901090551d7c2103
[ "MIT" ]
null
null
null
test/test_pipeline.py
PLCnext/MLnext-Framework
aff791ace391e46c7cee12e5901090551d7c2103
[ "MIT" ]
null
null
null
import datetime from unittest import TestCase import numpy as np import pandas as pd from mlnext import pipeline class TestColumnSelector(TestCase): def setUp(self): data = np.arange(8).reshape(-1, 2) cols = ['a', 'b'] self.df = pd.DataFrame(data, columns=cols) def test_select_col...
30.814961
79
0.564648
1,978
15,654
4.362487
0.08999
0.025032
0.055742
0.074169
0.811334
0.762545
0.697416
0.669255
0.626608
0.601344
0
0.050133
0.280056
15,654
507
80
30.87574
0.715528
0.006708
0
0.560748
0
0
0.024186
0
0
0
0
0.001972
0.124611
1
0.149533
false
0
0.015576
0
0.221184
0
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a1ced24936c29d71eff8623212387f65eb8c85a6
210
py
Python
config.py
superfantasticawesome/r10kwebhook
313e0c772840a100c8509da5471555e1a6c977b0
[ "Apache-2.0" ]
null
null
null
config.py
superfantasticawesome/r10kwebhook
313e0c772840a100c8509da5471555e1a6c977b0
[ "Apache-2.0" ]
null
null
null
config.py
superfantasticawesome/r10kwebhook
313e0c772840a100c8509da5471555e1a6c977b0
[ "Apache-2.0" ]
2
2021-12-17T14:17:24.000Z
2021-12-19T17:51:13.000Z
import os SECRET_KEY = os.environ.get('SECRET_KEY') or 'bdgasfj' R10K = os.environ.get('R10K') or '/opt/puppetlabs/puppet/bin/r10k' R10K_CONF = os.environ.get('R10K_CONF') or '/etc/puppetlabs/r10k/r10k.yaml'
30
75
0.733333
35
210
4.285714
0.457143
0.18
0.24
0.213333
0
0
0
0
0
0
0
0.073298
0.090476
210
6
76
35
0.712042
0
0
0
0
0
0.433333
0.290476
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a1e2e41fe579b98ccc5a6fe226d5aaa30f88e5b3
1,783
py
Python
Rules/RuleBoxHasWordTooSmall.py
soumikmohianuta/pixtoapp
f103a580e015ef7779998f14c9533a238a4bf1d1
[ "BSD-3-Clause" ]
31
2018-03-19T19:30:29.000Z
2022-02-16T08:50:42.000Z
Rules/RuleBoxHasWordTooSmall.py
soumikmohianuta/pixtoapp
f103a580e015ef7779998f14c9533a238a4bf1d1
[ "BSD-3-Clause" ]
4
2018-10-04T08:01:15.000Z
2019-04-25T15:50:36.000Z
Rules/RuleBoxHasWordTooSmall.py
soumikmohianuta/pixtoapp
f103a580e015ef7779998f14c9533a238a4bf1d1
[ "BSD-3-Clause" ]
12
2018-07-24T18:52:07.000Z
2021-07-15T11:36:14.000Z
from Rules.ASingleRule import ASingleRule from Utils import ColorUtil from RectUtils import RectUtil from Rules.TextValidator import TextValidator from Utils import Constants from ocr.OCRTextWrapper import OCRTextWrapper from Utils import GroupUtil from Utils import TextUtils from Utils.ColorUtil import CColor class Ru...
44.575
138
0.610768
201
1,783
5.378109
0.437811
0.041628
0.055504
0.064755
0.214616
0.098057
0.098057
0.098057
0.098057
0.098057
0
0.00337
0.334268
1,783
39
139
45.717949
0.907329
0.199663
0
0
0
0
0.046742
0
0
0
0
0.025641
0
1
0.076923
false
0
0.346154
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
a1e7f191748062d5ee269273e5d5c929fa632b98
4,762
py
Python
reframe/core/hooks.py
CLIP-HPC/reframe
eddf0b2508c2ba644e4c3aba5652e57fddfde106
[ "BSD-3-Clause" ]
167
2017-11-14T20:37:28.000Z
2022-03-31T11:19:18.000Z
reframe/core/hooks.py
CLIP-HPC/reframe
eddf0b2508c2ba644e4c3aba5652e57fddfde106
[ "BSD-3-Clause" ]
2,190
2017-06-14T12:48:13.000Z
2022-03-31T16:09:51.000Z
reframe/core/hooks.py
CLIP-HPC/reframe
eddf0b2508c2ba644e4c3aba5652e57fddfde106
[ "BSD-3-Clause" ]
83
2017-05-29T19:12:16.000Z
2022-03-18T09:49:21.000Z
# Copyright 2016-2021 Swiss National Supercomputing Centre (CSCS/ETH Zurich) # ReFrame Project Developers. See the top-level LICENSE file for details. # # SPDX-License-Identifier: BSD-3-Clause import functools import inspect import reframe.utility as util def attach_to(phase): '''Backend function to attach a ho...
27.056818
78
0.612348
602
4,762
4.583056
0.320598
0.032621
0.008699
0.022834
0.090613
0.061254
0.043132
0.023922
0.023922
0
0
0.00298
0.295254
4,762
175
79
27.211429
0.81913
0.300714
0
0.152174
0
0
0.034928
0
0
0
0
0
0.01087
1
0.26087
false
0.01087
0.032609
0.108696
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6296028e2eb0134dcaed528d2b7cabd85e5e1bda
1,276
py
Python
util/test/tests/D3D12/D3D12_Render_Pass.py
hbina/renderdoc
3f71e1739cfda98761ce7dc3a572f709125c93f2
[ "MIT" ]
6,181
2015-01-07T11:49:11.000Z
2022-03-31T21:46:55.000Z
util/test/tests/D3D12/D3D12_Render_Pass.py
hbina/renderdoc
3f71e1739cfda98761ce7dc3a572f709125c93f2
[ "MIT" ]
2,015
2015-01-16T01:45:25.000Z
2022-03-25T12:01:06.000Z
util/test/tests/D3D12/D3D12_Render_Pass.py
hbina/renderdoc
3f71e1739cfda98761ce7dc3a572f709125c93f2
[ "MIT" ]
1,088
2015-01-06T08:36:25.000Z
2022-03-30T03:31:21.000Z
import renderdoc as rd import rdtest class D3D12_Render_Pass(rdtest.TestCase): demos_test_name = 'D3D12_Render_Pass' def check_capture(self): rp1 = self.find_action("RP 1") rp2 = self.find_action("RP 2") action = next(d for d in rp1.children if d.flags & rd.ActionFlags.Drawcall) ...
36.457143
88
0.651254
217
1,276
3.714286
0.225806
0.064516
0.059553
0.049628
0.760546
0.760546
0.725806
0.686104
0.568238
0.568238
0
0.109268
0.196708
1,276
34
89
37.529412
0.677073
0
0
0.142857
0
0
0.019592
0
0
0
0
0
0
1
0.047619
false
0.095238
0.095238
0
0.238095
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
62ea6c61786a8b748d54251534f9dcb463a62679
216
py
Python
project/markdown_files/long/docs/mod.py
mintlov3r/oh-my-python
b99e65ebe31926d92d825d8ad3294e970d9dc722
[ "Apache-2.0" ]
null
null
null
project/markdown_files/long/docs/mod.py
mintlov3r/oh-my-python
b99e65ebe31926d92d825d8ad3294e970d9dc722
[ "Apache-2.0" ]
null
null
null
project/markdown_files/long/docs/mod.py
mintlov3r/oh-my-python
b99e65ebe31926d92d825d8ad3294e970d9dc722
[ "Apache-2.0" ]
null
null
null
mood = False if mood : print('go to left') # print('back away') else : print('go to right') a = 1 b = 2 c = 3 d = [] # account password if a>b : print('go to left') else : print('go to right')
12
24
0.537037
37
216
3.135135
0.540541
0.241379
0.310345
0.224138
0.310345
0
0
0
0
0
0
0.02
0.305556
216
18
25
12
0.753333
0.162037
0
0.461538
0
0
0.234637
0
0
0
0
0
0
1
0
false
0
0
0
0
0.307692
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
62eb39cb03236b3134703959d90d5ace8e923f59
145
py
Python
sdp/jdskill/urls.py
liutianfang/skill-dev-platform
37e76232869ae6eaf23d88398d2e52e7e0a5a80f
[ "Apache-2.0" ]
3
2018-08-31T02:43:39.000Z
2018-12-23T23:59:23.000Z
sdp/jdskill/urls.py
liutianfang/skill-dev-platform
37e76232869ae6eaf23d88398d2e52e7e0a5a80f
[ "Apache-2.0" ]
5
2020-06-05T18:50:52.000Z
2022-03-11T23:28:58.000Z
sdp/jdskill/urls.py
liutianfang/skill-dev-platform
37e76232869ae6eaf23d88398d2e52e7e0a5a80f
[ "Apache-2.0" ]
1
2018-09-13T08:51:41.000Z
2018-09-13T08:51:41.000Z
from django.urls import path,include from . import views app_name = "jdskill" urlpatterns = [ path('demo/', views.index, name='index'), ]
14.5
45
0.682759
19
145
5.157895
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.172414
145
9
46
16.111111
0.816667
0
0
0
0
0
0.118056
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
62f6288cb8b685da9078906ed9035aad1119b3ff
233
py
Python
src/ingest-pipeline/md/data_file_types/fastq_metadata_file.py
AustinHartman/ingest-pipeline
788d9310792c9396a38650deda3dad11483b368c
[ "MIT" ]
6
2020-02-18T19:09:59.000Z
2021-10-07T20:38:46.000Z
src/ingest-pipeline/md/data_file_types/fastq_metadata_file.py
AustinHartman/ingest-pipeline
788d9310792c9396a38650deda3dad11483b368c
[ "MIT" ]
324
2020-02-06T22:08:50.000Z
2022-03-24T20:44:33.000Z
src/ingest-pipeline/md/data_file_types/fastq_metadata_file.py
AustinHartman/ingest-pipeline
788d9310792c9396a38650deda3dad11483b368c
[ "MIT" ]
2
2020-07-20T14:43:49.000Z
2021-10-29T18:24:36.000Z
#! /usr/bin/env python from metadata_file import MetadataFile class FASTQMetadataFile(MetadataFile): """A metadata file type for fastq.gz files""" category_name = 'FASTQ'; def collect_metadata(self): return {}
21.181818
49
0.699571
28
233
5.714286
0.821429
0.15
0
0
0
0
0
0
0
0
0
0
0.197425
233
10
50
23.3
0.855615
0.261803
0
0
0
0
0.03012
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
1a0859877a7890b37c57f4b9f52943e0cd1fc47f
304
py
Python
test-apiinstagram.py
balbidatascience/demo-instagram
04b60be473a64ea0de0a9b083eddd53222d69286
[ "Unlicense" ]
null
null
null
test-apiinstagram.py
balbidatascience/demo-instagram
04b60be473a64ea0de0a9b083eddd53222d69286
[ "Unlicense" ]
null
null
null
test-apiinstagram.py
balbidatascience/demo-instagram
04b60be473a64ea0de0a9b083eddd53222d69286
[ "Unlicense" ]
null
null
null
# ID do Eduardo? 224127472 from instagram.client import InstagramAPI access_token = "315156082.25f5d28.2633198fd77246e28e73855d7a020a9a" client_secret = "1befb051b1c146b28be2f58588172033" api = InstagramAPI(access_token=access_token, client_secret=client_secret) api.user_follows(user_id='315156082')
30.4
74
0.848684
33
304
7.575758
0.575758
0.132
0.184
0
0
0
0
0
0
0
0
0.27758
0.075658
304
9
75
33.777778
0.6121
0.078947
0
0
0
0
0.327338
0.294964
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1a0dde3e268048b0d271960edbd3ee726266214d
754
py
Python
stubs/micropython-esp32-1_14/flashbdev.py
Josverl/micropython-stubs
3c32403ba2b57375f311ac0d023cd529340efe62
[ "MIT" ]
38
2020-10-18T21:59:44.000Z
2022-03-17T03:03:28.000Z
all-stubs/micropython-esp32-1_14/flashbdev.py
ks-tec/Hydroponic
d9347f82698841d85c0a45908e8671b36c50ffce
[ "MIT" ]
176
2020-10-18T14:31:03.000Z
2022-03-30T23:22:39.000Z
all-stubs/micropython-esp32-1_14/flashbdev.py
ks-tec/Hydroponic
d9347f82698841d85c0a45908e8671b36c50ffce
[ "MIT" ]
6
2020-12-28T21:11:12.000Z
2022-02-06T04:07:50.000Z
""" Module: 'flashbdev' on micropython-esp32-1.14 """ # MCU: {'ver': '1.14', 'port': 'esp32', 'arch': 'xtensawin', 'sysname': 'esp32', 'release': '1.14.0', 'name': 'micropython', 'mpy': 10757, 'version': '1.14.0', 'machine': 'ESP32 module (spiram) with ESP32', 'build': '', 'nodename': 'esp32', 'platform': 'esp32', 'fam...
19.842105
286
0.546419
91
754
4.428571
0.582418
0.121588
0.019851
0
0
0
0
0
0
0
0
0.07326
0.275862
754
37
287
20.378378
0.664835
0.458886
0
0.347826
0
0
0
0
0
0
0
0
0
1
0.347826
false
0.347826
0
0
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
1a2664f6f7eec6880e250601aa102017921a8679
132
py
Python
001085StepikPythonIntrO/Stepik001085PythonIntrOсh01p07st03С01_20200410.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
001085StepikPythonIntrO/Stepik001085PythonIntrOсh01p07st03С01_20200410.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
001085StepikPythonIntrO/Stepik001085PythonIntrOсh01p07st03С01_20200410.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
a = int(input()) b = int(input()) if b > a: print(tuple(range(a, b))) # [a,b) if a > b: print(tuple(range(b, a))) # [b,a)
18.857143
38
0.484848
26
132
2.461538
0.307692
0.125
0.46875
0
0
0
0
0
0
0
0
0
0.242424
132
6
39
22
0.64
0.083333
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
0
0
3
a7ed52fd53cf51c5aa25d2cfcb1a4787da967fd9
857
py
Python
pa1-skeleton/submission/inverted_index_mapper.py
yzhong94/cs276-spring-2019
a4780a9f88b8c535146040fe11bb513c91c5693b
[ "MIT" ]
null
null
null
pa1-skeleton/submission/inverted_index_mapper.py
yzhong94/cs276-spring-2019
a4780a9f88b8c535146040fe11bb513c91c5693b
[ "MIT" ]
null
null
null
pa1-skeleton/submission/inverted_index_mapper.py
yzhong94/cs276-spring-2019
a4780a9f88b8c535146040fe11bb513c91c5693b
[ "MIT" ]
null
null
null
class InvertedIndexMapper(InvertedIndex): def __getitem__(self, key): return self._get_postings_list(key) def _get_postings_list(self, term): """Gets a postings list (of docIds) for `term`. This function should not iterate through the index file. I.e., it should onl...
40.809524
110
0.68028
114
857
4.77193
0.464912
0.099265
0.055147
0.073529
0.088235
0
0
0
0
0
0
0
0.250875
857
20
111
42.85
0.847352
0.298716
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c50688091aef347246a48efba2ee333229fc95b9
2,557
py
Python
15. better_str_and_repr/test_solution.py
dcragusa/WeeklyPythonExerciseB2
a7da3830e27891060dcfb0804c81f52b1f250ce8
[ "MIT" ]
null
null
null
15. better_str_and_repr/test_solution.py
dcragusa/WeeklyPythonExerciseB2
a7da3830e27891060dcfb0804c81f52b1f250ce8
[ "MIT" ]
null
null
null
15. better_str_and_repr/test_solution.py
dcragusa/WeeklyPythonExerciseB2
a7da3830e27891060dcfb0804c81f52b1f250ce8
[ "MIT" ]
null
null
null
import pytest from solution import betterrepr def replacement_str(self): return f'Replacement str, vars = {vars(self)}' def replacement_repr(self): return f'Replacement repr, vars = {vars(self)}' def test_one_attribute_default(): @betterrepr() class Foo(): def __init__(self, x): ...
23.897196
71
0.590927
348
2,557
4.060345
0.094828
0.056617
0.04954
0.084926
0.768577
0.700637
0.700637
0.672328
0.648266
0.577495
0
0.028287
0.253422
2,557
106
72
24.122642
0.711891
0
0
0.657895
0
0
0.17677
0
0
0
0
0
0.131579
1
0.236842
false
0
0.026316
0.026316
0.394737
0
0
0
0
null
0
0
0
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
3
c510251c2a602b9499d8a380afa4d17040b86949
1,876
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/NV/fragment_program.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/NV/fragment_program.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/NV/fragment_program.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GL import _types as _cs # End users want this... from OpenGL.raw.GL._types import * from OpenGL.raw.GL import _errors from OpenGL.constant import Constant as _C import...
49.368421
117
0.820362
285
1,876
5.007018
0.280702
0.084093
0.021023
0.046251
0.619481
0.44569
0.361598
0.309741
0.309741
0.309741
0
0.019451
0.06823
1,876
37
118
50.702703
0.796911
0.053305
0
0.30303
1
0
0.125866
0.125866
0
0
0.020785
0
0
1
0.212121
false
0.181818
0.181818
0.030303
0.424242
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
c517a2eb96b017bf81e03663806178395ea7d30d
130
py
Python
packages/freetype.py
bratsche/bockbuild
04d583550aa8e067f84dcc081be61fd1a78d71e3
[ "MIT" ]
null
null
null
packages/freetype.py
bratsche/bockbuild
04d583550aa8e067f84dcc081be61fd1a78d71e3
[ "MIT" ]
null
null
null
packages/freetype.py
bratsche/bockbuild
04d583550aa8e067f84dcc081be61fd1a78d71e3
[ "MIT" ]
null
null
null
SourceForgePackage ('%{name}', 'freetype', '2.5.0.1', override_properties = { 'configure': './configure --prefix "%{prefix}"' })
32.5
77
0.638462
13
130
6.307692
0.846154
0
0
0
0
0
0
0
0
0
0
0.034188
0.1
130
3
78
43.333333
0.666667
0
0
0
0
0
0.484615
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
c52b1dd0e9a68e1390058c4dd6af00008f3136ec
109
py
Python
communicator/utils.py
Panthereum/DigitalBeing
7fda011f34dd62c03d1072035ae0ad2a129281a7
[ "MIT" ]
null
null
null
communicator/utils.py
Panthereum/DigitalBeing
7fda011f34dd62c03d1072035ae0ad2a129281a7
[ "MIT" ]
null
null
null
communicator/utils.py
Panthereum/DigitalBeing
7fda011f34dd62c03d1072035ae0ad2a129281a7
[ "MIT" ]
2
2022-03-11T22:50:38.000Z
2022-03-23T04:36:11.000Z
def read_file(filename): with open(filename, 'r') as infile: text = infile.read() return text
27.25
39
0.633028
15
109
4.533333
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.247706
109
4
40
27.25
0.829268
0
0
0
0
0
0.009091
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
c552890ddf11a647e4dcc693d476c37f0ee1a197
703
py
Python
08-def-type-hints/comparable/top.py
tanghaozhe/example-code-2e
a7167dd3b1fa8b188e1d2a44672e32a0c6787e33
[ "MIT" ]
null
null
null
08-def-type-hints/comparable/top.py
tanghaozhe/example-code-2e
a7167dd3b1fa8b188e1d2a44672e32a0c6787e33
[ "MIT" ]
null
null
null
08-def-type-hints/comparable/top.py
tanghaozhe/example-code-2e
a7167dd3b1fa8b188e1d2a44672e32a0c6787e33
[ "MIT" ]
null
null
null
""" ``top(it, n)`` returns the "greatest" ``n`` elements of the iterable ``t``. Example: # tag::TOP_DOCTEST[] >>> top([4, 1, 5, 2, 6, 7, 3], 3) [7, 6, 5] >>> l = 'mango pear apple kiwi banana'.split() >>> top(l, 3) ['pear', 'mango', 'kiwi'] >>> >>> l2 = [(len(s), s) for s in l] >>> l2 [(5, 'mango'), (4, 'pear'), (5, '...
22.677419
75
0.570413
106
703
3.764151
0.471698
0.030075
0
0
0
0
0
0
0
0
0
0.040678
0.16074
703
30
76
23.433333
0.635593
0.648649
0
0
0
0
0.008439
0
0
0
0
0
0
1
0.2
false
0
0.4
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
c562af5e676422e14557361b245c3db4626b4247
203
py
Python
pyCompare/__init__.py
hoechenberger/pyCompare
99f9bb4d98872164166c607b4553cfae5ec765ef
[ "MIT" ]
null
null
null
pyCompare/__init__.py
hoechenberger/pyCompare
99f9bb4d98872164166c607b4553cfae5ec765ef
[ "MIT" ]
null
null
null
pyCompare/__init__.py
hoechenberger/pyCompare
99f9bb4d98872164166c607b4553cfae5ec765ef
[ "MIT" ]
null
null
null
""" `pyCompare` implements functions for generating Bland-Altman plots of agreement between measurements. """ from ._plotBlandAltman import blandAltman __version__ = '1.2.0' __all__ = ['blandAltman']
20.3
101
0.768473
22
203
6.681818
0.954545
0
0
0
0
0
0
0
0
0
0
0.016949
0.128079
203
9
102
22.555556
0.813559
0.497537
0
0
0
0
0.170213
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c569295614dbd16fb52f2b32b358fc3f0b40723a
258
py
Python
app/server/settings.py
UnderSam/pagination-prediction
6db35071d6be82ab0a07814a07b0a9b572dfc073
[ "MIT" ]
2
2021-01-14T06:56:41.000Z
2021-04-10T05:48:39.000Z
app/server/settings.py
UnderSam/pagination-prediction
6db35071d6be82ab0a07814a07b0a9b572dfc073
[ "MIT" ]
null
null
null
app/server/settings.py
UnderSam/pagination-prediction
6db35071d6be82ab0a07814a07b0a9b572dfc073
[ "MIT" ]
1
2021-09-29T02:52:32.000Z
2021-09-29T02:52:32.000Z
# settings.py from dotenv import load_dotenv load_dotenv() import os MONGO_USER = os.getenv("MONGO_USER") MONGO_PASSWORD = os.getenv("MONGO_PASSWORD") MONGO_PORT = os.getenv("MONGO_PORT") DATABASE = os.getenv("DATABASE") COLLECTION = os.getenv("COLLECTION")
25.8
44
0.775194
37
258
5.189189
0.378378
0.208333
0.203125
0
0
0
0
0
0
0
0
0
0.093023
258
10
45
25.8
0.820513
0.042636
0
0
0
0
0.211382
0
0
0
0
0
0
1
0
false
0.125
0.25
0
0.25
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
c5761fae3404f3ba9efbe157a35d74dcab20601b
249
py
Python
inference/hooks/dummy.py
narumiruna/inference-template
4946f4de632c49a8b65b484a4eb77979da8d8208
[ "MIT" ]
null
null
null
inference/hooks/dummy.py
narumiruna/inference-template
4946f4de632c49a8b65b484a4eb77979da8d8208
[ "MIT" ]
null
null
null
inference/hooks/dummy.py
narumiruna/inference-template
4946f4de632c49a8b65b484a4eb77979da8d8208
[ "MIT" ]
null
null
null
from ..utils import get_logger from .hook import Hook LOGGER = get_logger(__name__) class DummyHook(Hook): def __call__(self, frame): LOGGER.info('Call dummy hook') def begin(self): pass def end(self): pass
14.647059
38
0.634538
33
249
4.484848
0.545455
0.121622
0
0
0
0
0
0
0
0
0
0
0.269076
249
16
39
15.5625
0.813187
0
0
0.2
0
0
0.060241
0
0
0
0
0
0
1
0.3
false
0.2
0.2
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
0
0
0
1
0
1
0
0
1
0
0
3
3da0f9cb311d8a6de1f8d764a420f2257d357277
808
py
Python
utils/libvirtmanager.py
novel/bhyve-libvirt-tests
768f9056cf0bc6e2c8d14ccfd60e1e674cc18daa
[ "Unlicense" ]
3
2016-10-09T14:38:45.000Z
2017-11-12T08:40:35.000Z
utils/libvirtmanager.py
novel/bhyve-libvirt-tests
768f9056cf0bc6e2c8d14ccfd60e1e674cc18daa
[ "Unlicense" ]
null
null
null
utils/libvirtmanager.py
novel/bhyve-libvirt-tests
768f9056cf0bc6e2c8d14ccfd60e1e674cc18daa
[ "Unlicense" ]
null
null
null
import xml.etree.ElementTree as ET import libvirt class LibvirtManager(object): DEFAULT_NETWORK = "default" def libvirt_connection(self, conf): self.conn = libvirt.open(conf.options['connection']) def domain_define(self, xml): return self.conn.defineXML(xml) def domain_list(self): ...
24.484848
60
0.642327
93
808
5.462366
0.483871
0.062992
0.082677
0
0
0
0
0
0
0
0
0
0.257426
808
32
61
25.25
0.846667
0
0
0
0
0
0.044554
0
0
0
0
0
0
1
0.238095
false
0
0.095238
0.142857
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3