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
f2ffe7959fd1f96d32c8ec0a3193e9e5ca06a587
231
py
Python
python/doit/05/lambda.py
gangserver/py_test
869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4
[ "Apache-2.0" ]
null
null
null
python/doit/05/lambda.py
gangserver/py_test
869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4
[ "Apache-2.0" ]
null
null
null
python/doit/05/lambda.py
gangserver/py_test
869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4
[ "Apache-2.0" ]
null
null
null
sum = lambda a, b : a + b print(sum(3,4)) def sum1(a, b): return a + b print(sum1(4, 5)) myList = [lambda a, b : a + b, lambda a, b : a * b] print(myList) print(myList[0]) print(myList[0](3, 4)) print(myList[1](3, 4))
11.55
51
0.554113
47
231
2.723404
0.297872
0.125
0.1875
0.210938
0.3125
0.234375
0
0
0
0
0
0.073446
0.233766
231
19
52
12.157895
0.649718
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0.1
0.2
0.6
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
840ae830d7ed31ac5ed56c2b252d9e053834bfb1
681
py
Python
chapter_01/tests/test_03.py
maigimenez/cracking
56c25cdd3f73a98f5930c43b12e876bf80fe6e9b
[ "Apache-2.0" ]
1
2021-03-06T17:32:06.000Z
2021-03-06T17:32:06.000Z
chapter_01/tests/test_03.py
maigimenez/cracking
56c25cdd3f73a98f5930c43b12e876bf80fe6e9b
[ "Apache-2.0" ]
null
null
null
chapter_01/tests/test_03.py
maigimenez/cracking
56c25cdd3f73a98f5930c43b12e876bf80fe6e9b
[ "Apache-2.0" ]
null
null
null
import unittest from chapter_01.src.answer_03 import urlify class TestURLify(unittest.TestCase): def test_empty_string(self): self.assertEqual(urlify(list(""), 0), list("")) def test_string_no_spaces(self): self.assertEqual(urlify(list("CivilWar"), 8), list("CivilWar...
28.375
63
0.604993
78
681
5.025641
0.487179
0.071429
0.193878
0.255102
0.326531
0.178571
0
0
0
0
0
0.035857
0.262849
681
23
64
29.608696
0.74502
0
0
0
0
0
0.135095
0
0
0
0
0
0.25
1
0.25
false
0
0.125
0
0.4375
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
840d8b1b3d0b76774b33407dd3bf36a91dbd74da
77
py
Python
lib/version.py
PEDIA-Charite/classifier
13e9d6108f9691b089aac59c7392f7940033b8af
[ "MIT" ]
2
2019-04-04T03:44:25.000Z
2019-12-23T17:08:51.000Z
lib/version.py
PEDIA-Charite/classifier
13e9d6108f9691b089aac59c7392f7940033b8af
[ "MIT" ]
9
2017-05-23T09:55:15.000Z
2019-11-22T11:24:20.000Z
lib/version.py
PEDIA-Charite/classifier
13e9d6108f9691b089aac59c7392f7940033b8af
[ "MIT" ]
2
2017-05-24T12:23:13.000Z
2019-09-03T08:36:18.000Z
__version_info__ = ('0', '2') __version__ = 'v' + '.'.join(__version_info__)
25.666667
46
0.649351
9
77
4
0.666667
0.611111
0
0
0
0
0
0
0
0
0
0.029412
0.116883
77
2
47
38.5
0.5
0
0
0
0
0
0.051948
0
0.5
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
8424a2b4e907d49be95f9eb71c80cef6f8b52f52
77
py
Python
Python/Polar Coordinates/soln.py
TechnoCubes/HackerRank-solutions-1
a58d5c909a2ad29c9d5a638a3f0571b50fe7322a
[ "MIT" ]
23
2019-02-14T09:11:51.000Z
2022-01-10T19:32:12.000Z
Python/Polar Coordinates/soln.py
TechnoCubes/HackerRank-solutions-1
a58d5c909a2ad29c9d5a638a3f0571b50fe7322a
[ "MIT" ]
null
null
null
Python/Polar Coordinates/soln.py
TechnoCubes/HackerRank-solutions-1
a58d5c909a2ad29c9d5a638a3f0571b50fe7322a
[ "MIT" ]
23
2018-11-05T11:15:39.000Z
2022-01-09T20:49:10.000Z
import cmath z = complex(input()) p = cmath.polar(z) print(p[0]) print(p[1])
12.833333
20
0.649351
15
77
3.333333
0.666667
0.24
0
0
0
0
0
0
0
0
0
0.029851
0.12987
77
5
21
15.4
0.716418
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
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
845812f025f535c9b112e6183ff5ca0d2d9575b9
218
py
Python
burl/redirects/tests/test_utils.py
wryfi/burl
664878ce9a31695456be89c8e10e8bb612074ef6
[ "MIT" ]
1
2021-02-07T21:48:59.000Z
2021-02-07T21:48:59.000Z
burl/redirects/tests/test_utils.py
wryfi/burl
664878ce9a31695456be89c8e10e8bb612074ef6
[ "MIT" ]
16
2020-03-24T16:53:30.000Z
2022-03-15T17:46:59.000Z
burl/redirects/tests/test_utils.py
wryfi/burl
664878ce9a31695456be89c8e10e8bb612074ef6
[ "MIT" ]
null
null
null
from django.test import TestCase from burl.redirects import utils class MakeBurlTest(TestCase): def test_make_burl_return_string(self): burl = utils.make_burl() self.assertIsInstance(burl, str)
19.818182
43
0.738532
28
218
5.571429
0.607143
0.102564
0
0
0
0
0
0
0
0
0
0
0.188073
218
10
44
21.8
0.881356
0
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
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
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
845dc8a5cc9602e562644048d18bf130f0988449
311
py
Python
Curso em Vídeo/Mundo 3 Estruturas Compostas/Aulas/file021.py
henriqueumeda/-Estudo-python
28e93a377afa4732037a29eb74d4bc7c9e24b62f
[ "MIT" ]
null
null
null
Curso em Vídeo/Mundo 3 Estruturas Compostas/Aulas/file021.py
henriqueumeda/-Estudo-python
28e93a377afa4732037a29eb74d4bc7c9e24b62f
[ "MIT" ]
null
null
null
Curso em Vídeo/Mundo 3 Estruturas Compostas/Aulas/file021.py
henriqueumeda/-Estudo-python
28e93a377afa4732037a29eb74d4bc7c9e24b62f
[ "MIT" ]
null
null
null
lista = [2, 5, 9, 4] lista[2] = 3 lista.append(7) lista.sort() print(lista) lista.sort(reverse=True) print(lista) print(f'Essa lista tem {len(lista)} elementos') lista.insert(2, 0) print(lista) lista.pop(1) print(lista) lista.insert(2, 2) print(lista) lista.remove(2) #remove a primeira ocorrência print(lista)
18.294118
47
0.720257
55
311
4.072727
0.454545
0.267857
0.267857
0
0
0
0
0
0
0
0
0.046763
0.106109
311
16
48
19.4375
0.758993
0.090032
0
0.375
0
0
0.131206
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4375
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
ffdc29175c9d6a855265a452632f8711be38bb18
211
py
Python
PythonLearning/Python-Basics/sphereTest.py
pajjurigit/Python
3c3b5a54e9a55349f8110648ee756753d3d2b9ca
[ "Apache-2.0" ]
null
null
null
PythonLearning/Python-Basics/sphereTest.py
pajjurigit/Python
3c3b5a54e9a55349f8110648ee756753d3d2b9ca
[ "Apache-2.0" ]
null
null
null
PythonLearning/Python-Basics/sphereTest.py
pajjurigit/Python
3c3b5a54e9a55349f8110648ee756753d3d2b9ca
[ "Apache-2.0" ]
null
null
null
import sphere print ('Enter the radius for the sphere: ') radius = int(input()) print('area of the sphere:') print(sphere.area(radius)) print('volume of the sphere:') print(sphere.volume(radius))
17.583333
44
0.677725
30
211
4.766667
0.4
0.230769
0.153846
0.223776
0.307692
0
0
0
0
0
0
0
0.180095
211
12
45
17.583333
0.82659
0
0
0
0
0
0.366834
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.714286
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
0
1
0
3
ffe0b882de2e1f12df752d224c86e628c3726747
132
py
Python
PyTrinamic/ic/TMC4361/TMC4361_register_variant.py
trinamic-AA/PyTrinamic
b054f4baae8eb6d3f5d2574cf69c232f66abb4ee
[ "MIT" ]
37
2019-01-13T11:08:45.000Z
2022-03-25T07:18:15.000Z
PyTrinamic/ic/TMC4361/TMC4361_register_variant.py
trinamic-AA/PyTrinamic
b054f4baae8eb6d3f5d2574cf69c232f66abb4ee
[ "MIT" ]
56
2019-02-25T02:48:27.000Z
2022-03-31T08:45:34.000Z
PyTrinamic/ic/TMC4361/TMC4361_register_variant.py
trinamic-AA/PyTrinamic
b054f4baae8eb6d3f5d2574cf69c232f66abb4ee
[ "MIT" ]
26
2019-01-14T05:20:16.000Z
2022-03-08T13:27:35.000Z
''' Created on 07.11.2019 @author: JM ''' class TMC4361_register_variant: " ===== TMC4361 register variants ===== " "..."
13.2
45
0.583333
14
132
5.357143
0.857143
0.4
0
0
0
0
0
0
0
0
0
0.152381
0.204545
132
10
46
13.2
0.561905
0.55303
0
0
0
0
0.461538
0
0
0
0
0
0
1
0
true
0
0
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
fff020d74a4897d836293922c8187de899154575
587
py
Python
ampel-plot/ampel/content/NewSVGRecord.py
AmpelProject/Ampel-plot
138aa2282cb1e16302666086311fc57db3b9d2ee
[ "BSD-3-Clause" ]
null
null
null
ampel-plot/ampel/content/NewSVGRecord.py
AmpelProject/Ampel-plot
138aa2282cb1e16302666086311fc57db3b9d2ee
[ "BSD-3-Clause" ]
null
null
null
ampel-plot/ampel/content/NewSVGRecord.py
AmpelProject/Ampel-plot
138aa2282cb1e16302666086311fc57db3b9d2ee
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # File: Ampel-plot/ampel-plot/ampel/content/NewSVGRecord.py # License: BSD-3-Clause # Author: valery brinnel <firstname.lastname@gmail.com> # Date: 20.04.2022 # Last Modified Date: 20.04.2022 # Last Modified By: val...
30.894737
74
0.679727
74
587
5.337838
0.621622
0.068354
0.070886
0.151899
0.313924
0.313924
0
0
0
0
0
0.038298
0.199319
587
18
75
32.611111
0.802128
0.696763
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
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
08062f750b31039df5c40589b73a4639948ae96a
226
py
Python
Lecture 26/Lecture26Assignment1.py
AtharvaJoshi21/PythonPOC
6b95eb5bab7b28e9811e43b39e863faf2ee7565b
[ "MIT" ]
1
2019-04-27T15:37:04.000Z
2019-04-27T15:37:04.000Z
Lecture 26/Lecture26Assignment1.py
AtharvaJoshi21/PythonPOC
6b95eb5bab7b28e9811e43b39e863faf2ee7565b
[ "MIT" ]
null
null
null
Lecture 26/Lecture26Assignment1.py
AtharvaJoshi21/PythonPOC
6b95eb5bab7b28e9811e43b39e863faf2ee7565b
[ "MIT" ]
1
2020-08-14T06:57:08.000Z
2020-08-14T06:57:08.000Z
# WAP to demonstrate simple exception handling in Python def ExceptionHandling(): try: a += 10 except NameError as e: print(e) def main(): ExceptionHandling() if __name__ == "__main__": main()
18.833333
56
0.632743
26
226
5.192308
0.807692
0
0
0
0
0
0
0
0
0
0
0.012121
0.269912
226
12
57
18.833333
0.806061
0.238938
0
0
0
0
0.046784
0
0
0
0
0
0
1
0.222222
true
0
0
0
0.222222
0.111111
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
1
0
0
0
0
0
0
3
080950f023f072453f0fbcab0dbfde3844621dbf
7,536
py
Python
src/utils/config.py
the-jojo/SpiderBUG
6ed77b0896966e90afcaf695e68a546a1921f8f6
[ "MIT" ]
2
2020-11-09T02:51:20.000Z
2021-11-18T13:41:20.000Z
src/utils/config.py
the-jojo/SpiderBUG
6ed77b0896966e90afcaf695e68a546a1921f8f6
[ "MIT" ]
null
null
null
src/utils/config.py
the-jojo/SpiderBUG
6ed77b0896966e90afcaf695e68a546a1921f8f6
[ "MIT" ]
1
2021-04-10T16:21:38.000Z
2021-04-10T16:21:38.000Z
TURTLEBOT_RADIUS = 0.176 # loaded config default_config = { 'PLANE_URDF': ".\\data\\py_data\\plane.urdf", 'BLOCK_URDF': ".\\data\\py_data\\boston_box.urdf", 'BLOCK_DYN_URDF': ".\\data\\py_data\\boston_box_fl.urdf", 'TURTLEBOT_URDF': ".\\data\\py_data\\turtlebot.urdf", ...
26.535211
101
0.592357
956
7,536
4.325314
0.161088
0.11705
0.155985
0.168561
0.39347
0.288029
0.139299
0.088755
0.029021
0.029021
0
0.034908
0.289145
7,536
283
102
26.628975
0.73698
0.029061
0
0.193396
0
0
0.23267
0.045985
0
0
0
0
0
1
0.221698
false
0
0
0.198113
0.448113
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
08316939544c8024c69ec7d1cc89404a73c0c55e
334
py
Python
app/route.py
zoaddar/docker-compose-flask-hot-reload
f5b85d07d9399770fe65433d522e49a69d4cc730
[ "MIT" ]
null
null
null
app/route.py
zoaddar/docker-compose-flask-hot-reload
f5b85d07d9399770fe65433d522e49a69d4cc730
[ "MIT" ]
null
null
null
app/route.py
zoaddar/docker-compose-flask-hot-reload
f5b85d07d9399770fe65433d522e49a69d4cc730
[ "MIT" ]
null
null
null
from flask import Flask import requests from config.config import Config from config.database import Database app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello World!! ' @app.route('/db') def db(): return Database.mysql if __name__ == '__main__': app.run(debug = Config.debug, hos...
17.578947
51
0.688623
48
334
4.520833
0.4375
0.02765
0.02765
0
0
0
0
0
0
0
0
0.01444
0.170659
334
19
51
17.578947
0.768953
0
0
0
0
0
0.098507
0
0
0
0
0
0
1
0.153846
false
0
0.307692
0.153846
0.615385
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
0844a0bed1efd805f69b44434352861291961f0c
227
py
Python
src/ggrc/migrations/utils/__init__.py
acidburn0zzz/ggrc-core
386781d08172102eb51030b65db8212974651628
[ "ECL-2.0", "Apache-2.0" ]
1
2016-11-06T05:21:24.000Z
2016-11-06T05:21:24.000Z
src/ggrc/migrations/utils/__init__.py
acidburn0zzz/ggrc-core
386781d08172102eb51030b65db8212974651628
[ "ECL-2.0", "Apache-2.0" ]
2
2021-02-02T23:09:40.000Z
2021-02-08T21:00:48.000Z
src/ggrc/migrations/utils/__init__.py
Acidburn0zzz/ggrc-core
386781d08172102eb51030b65db8212974651628
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Copyright (C) 2016 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> """ Migrations Utility Module. Place here your migration helpers that is shared among number of migrations. """
22.7
78
0.748899
33
227
5.151515
0.939394
0
0
0
0
0
0
0
0
0
0
0.030928
0.145374
227
9
79
25.222222
0.845361
0.938326
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
f2664293aa0cc59c587a410c199381a368ca0d4c
14,151
py
Python
generateDataFile.py
federicosanna/Polygons-classification-with-Deep-Graph-CNN
b2dcc754c57fbe91bdc6a33976e9ceda34a75242
[ "MIT" ]
2
2019-12-24T01:57:06.000Z
2020-03-07T04:56:33.000Z
generateDataFile.py
federicosanna/Polygons-classification-with-Deep-Graph-CNN
b2dcc754c57fbe91bdc6a33976e9ceda34a75242
[ "MIT" ]
null
null
null
generateDataFile.py
federicosanna/Polygons-classification-with-Deep-Graph-CNN
b2dcc754c57fbe91bdc6a33976e9ceda34a75242
[ "MIT" ]
1
2020-04-28T14:49:37.000Z
2020-04-28T14:49:37.000Z
# Written by Federico Sanna # 30/05/2019 # Script to generate input dataset to train the Graph dataset # Usage Info: # Every time that this script is run it writes into a file called # POLY.txt a number of nodes (as specified in poly_to_generate) of # the type either concave, convex, or both, as specified. # For more ...
49.827465
131
0.579959
2,195
14,151
3.583144
0.138497
0.025429
0.023141
0.026701
0.676414
0.66637
0.652384
0.639669
0.619326
0.619326
0
0.038758
0.321744
14,151
283
132
50.003534
0.780475
0.383294
0
0.735099
1
0
0.027781
0
0
0
0
0
0
1
0.019868
false
0
0.033113
0
0.072848
0.006623
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f28312009cf21988fe9302959935814d56a74367
178
py
Python
problem0754.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0754.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0754.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #754 Product of Gauss Factorials - Project Euler # https://projecteuler.net/problem=754 # # Code by Kevin Marciniak # ###########################
19.777778
50
0.5
16
178
5.5625
0.9375
0
0
0
0
0
0
0
0
0
0
0.038217
0.117978
178
8
51
22.25
0.528662
0.606742
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f284ff48ca9e1e77df2839750abb046a43ff7956
2,021
py
Python
Contract #2/LevelMaps.py
JIMBLYB/Tinkering_Graphics_Teams
adb2afdd5199d0ec9ac9f33d4dae7773c0592f3a
[ "MIT" ]
null
null
null
Contract #2/LevelMaps.py
JIMBLYB/Tinkering_Graphics_Teams
adb2afdd5199d0ec9ac9f33d4dae7773c0592f3a
[ "MIT" ]
null
null
null
Contract #2/LevelMaps.py
JIMBLYB/Tinkering_Graphics_Teams
adb2afdd5199d0ec9ac9f33d4dae7773c0592f3a
[ "MIT" ]
1
2019-10-24T18:29:40.000Z
2019-10-24T18:29:40.000Z
import pygame # Colour of the background which represents the sky. background_colour = (178, 216, 230) brick = 0 water = 1 well = 2 shrine = 3 air = 4 grass = 5 wood = 6 # Loads all images that are currently in the program folder. textures = { brick: pygame.image.load('Stone.png'), water: pygame.image.load('Wa...
28.069444
107
0.630876
285
2,021
4.424561
0.231579
0.252181
0.306899
0.342585
0.363204
0.363204
0.339413
0.339413
0.339413
0.31483
0
0.010063
0.213261
2,021
71
108
28.464789
0.783019
0.130134
0
0.311475
0
0
0.034227
0
0
0
0
0
0
1
0
false
0
0.016393
0
0.016393
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
f2a7e9d65096ac0c1d8e733917cc1b282e7cc184
145
py
Python
click_creds/defaults.py
eshaan7/click-creds
9dd18fcdd674deb59b1cb8af4e4d822f7cb50614
[ "BSD-3-Clause" ]
2
2020-12-24T08:47:59.000Z
2021-03-24T06:57:35.000Z
click_creds/defaults.py
Eshaan7/click-creds
40dcc52b0a9ecc7bea8d9fa580a48ed19784d298
[ "BSD-3-Clause" ]
5
2021-02-27T16:29:45.000Z
2021-08-19T15:58:30.000Z
click_creds/defaults.py
eshaan7/click-creds
9dd18fcdd674deb59b1cb8af4e4d822f7cb50614
[ "BSD-3-Clause" ]
1
2021-03-24T06:57:37.000Z
2021-03-24T06:57:37.000Z
DEFAULT_MAPPING = { "login": "login", "password": "password", "account": "account", } MODULE_KEY = "click_creds.classes.ClickCreds"
18.125
45
0.641379
14
145
6.428571
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.17931
145
7
46
20.714286
0.756303
0
0
0
0
0
0.482759
0.206897
0
0
0
0
0
1
0
false
0.166667
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
f2baa3e80c0e823e34e9d0a7ff4a8bf6ff4469cd
126
py
Python
EX016.py
gjaosdij/PythonProject
ae27990efa93462b632f165d13c08c7fd93beb38
[ "MIT" ]
null
null
null
EX016.py
gjaosdij/PythonProject
ae27990efa93462b632f165d13c08c7fd93beb38
[ "MIT" ]
null
null
null
EX016.py
gjaosdij/PythonProject
ae27990efa93462b632f165d13c08c7fd93beb38
[ "MIT" ]
null
null
null
from math import trunc n = float(input('Digite um número real: ')) print('A parte inteira de {} é {}.'.format(n, trunc(n)))
21
56
0.650794
21
126
3.904762
0.857143
0.146341
0
0
0
0
0
0
0
0
0
0
0.166667
126
5
57
25.2
0.780952
0
0
0
0
0
0.396825
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4b2bca275ac5480e2834001153e027a94ec31ef9
5,607
py
Python
magma/ref.py
leonardt/magma
d3e8c9500ec3b167df8ed067e0c0305781c94ab6
[ "MIT" ]
167
2017-10-08T00:59:22.000Z
2022-02-08T00:14:39.000Z
magma/ref.py
leonardt/magma
d3e8c9500ec3b167df8ed067e0c0305781c94ab6
[ "MIT" ]
719
2017-08-29T17:58:28.000Z
2022-03-31T23:39:18.000Z
magma/ref.py
leonardt/magma
d3e8c9500ec3b167df8ed067e0c0305781c94ab6
[ "MIT" ]
14
2017-09-01T03:25:16.000Z
2021-11-05T13:30:24.000Z
import abc import typing import weakref from magma.compatibility import IntegerTypes class Ref: @abc.abstractmethod def __str__(self): raise NotImplementedError() def __repr__(self): return self.qualifiedname() @abc.abstractmethod def qualifiedname(self, sep="."): raise N...
23.558824
76
0.596754
682
5,607
4.759531
0.180352
0.067776
0.056069
0.070856
0.357671
0.317622
0.239063
0.178065
0.158965
0.132471
0
0
0.297664
5,607
237
77
23.658228
0.824276
0.095773
0
0.435897
0
0
0.057919
0.026563
0
0
0
0
0
1
0.288462
false
0.00641
0.025641
0.141026
0.647436
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
4b2c549616538f171b647cee9ed9c3226c77679c
309
py
Python
students/K33422/Izmaylova_Anna/web_lab4/lr_4 school/school_app/serializer_room.py
Anna0102/ITMO_ICT_WebDevelopment_2021-2022
1a361329eabccefa5bd9f3d22e1b5dbdb950c85e
[ "MIT" ]
null
null
null
students/K33422/Izmaylova_Anna/web_lab4/lr_4 school/school_app/serializer_room.py
Anna0102/ITMO_ICT_WebDevelopment_2021-2022
1a361329eabccefa5bd9f3d22e1b5dbdb950c85e
[ "MIT" ]
null
null
null
students/K33422/Izmaylova_Anna/web_lab4/lr_4 school/school_app/serializer_room.py
Anna0102/ITMO_ICT_WebDevelopment_2021-2022
1a361329eabccefa5bd9f3d22e1b5dbdb950c85e
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Room, Groups class RoomSerializer(serializers.ModelSerializer): class Meta: model = Room fields = '__all__' class GroupSerializer(serializers.ModelSerializer): class Meta: model = Groups fields = '__all__'
20.6
51
0.699029
30
309
6.9
0.533333
0.251208
0.299517
0.338164
0.386473
0
0
0
0
0
0
0
0.236246
309
14
52
22.071429
0.877119
0
0
0.4
0
0
0.045307
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4b55514279372b097d08c9584341121c281e884c
230
py
Python
pythonProject/exercicios_refeitos/ex013.py
Israel-covello/Python3-studies
078976850279f627847025c5fafdd3384779d606
[ "MIT" ]
null
null
null
pythonProject/exercicios_refeitos/ex013.py
Israel-covello/Python3-studies
078976850279f627847025c5fafdd3384779d606
[ "MIT" ]
null
null
null
pythonProject/exercicios_refeitos/ex013.py
Israel-covello/Python3-studies
078976850279f627847025c5fafdd3384779d606
[ "MIT" ]
null
null
null
salario = float(input('O funcionário ganha: R$')) print('Se o Funcionário recebe \033[1;34mR${:.2f}\033[m, com 15% de almento ele passa a receber \033[1;34mR${:.2f}\033[m' .format(salario, salario + (salario * (15 / 100))))
57.5
121
0.652174
38
230
3.947368
0.657895
0.16
0.106667
0.133333
0.186667
0.186667
0
0
0
0
0
0.137755
0.147826
230
3
122
76.666667
0.627551
0
0
0
0
0.333333
0.591304
0.213043
0
0
0
0
0
1
0
false
0.333333
0
0
0
0.333333
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
1
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
4b57f49a3ee8d51488152b713e4a987014a692b0
360
py
Python
tesuract/__init__.py
kennychowdhary/tesuract
70aee5128171b1ef7b3d71d2c833e8d4e47b21f5
[ "BSD-3-Clause" ]
3
2021-12-25T17:24:47.000Z
2022-01-28T19:05:58.000Z
tesuract/__init__.py
kennychowdhary/tesuract
70aee5128171b1ef7b3d71d2c833e8d4e47b21f5
[ "BSD-3-Clause" ]
null
null
null
tesuract/__init__.py
kennychowdhary/tesuract
70aee5128171b1ef7b3d71d2c833e8d4e47b21f5
[ "BSD-3-Clause" ]
1
2021-12-25T17:24:59.000Z
2021-12-25T17:24:59.000Z
from .multiindex import RecursiveHypMultiIndex from .multiindex import MultiIndex from .pce import PCEBuilder from .pce import PCEReg from .quadrature import QuadGen import tesuract.preprocessing import tesuract.utils # import tesuract.mpce from .pce_multitarget_regression import RegressionWrapperCV, MRegressionWrapper...
36
90
0.869444
40
360
7.775
0.475
0.180064
0.128617
0
0
0
0
0
0
0
0
0
0.094444
360
10
91
36
0.953988
0.055556
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
4b5850068345f9c6f163fab16028c3698b488d10
1,926
py
Python
sdv/docker/sdvstate/internal/validator/airship/__init__.py
opnfv/cirv-sdv
31fb310d3fd1c9c1f12cfe0c654870e24f5efab6
[ "Apache-2.0" ]
2
2021-09-16T06:31:45.000Z
2022-03-09T19:59:55.000Z
sdv/docker/sdvstate/internal/validator/airship/__init__.py
opnfv/cirv-sdv
31fb310d3fd1c9c1f12cfe0c654870e24f5efab6
[ "Apache-2.0" ]
null
null
null
sdv/docker/sdvstate/internal/validator/airship/__init__.py
opnfv/cirv-sdv
31fb310d3fd1c9c1f12cfe0c654870e24f5efab6
[ "Apache-2.0" ]
2
2021-05-11T14:41:01.000Z
2021-05-14T05:59:38.000Z
# Copyright 2020 University Of Delhi. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
36.339623
76
0.840602
278
1,926
5.528777
0.388489
0.150293
0.109304
0.135329
0.411841
0.376708
0.296031
0.071568
0
0
0
0.004695
0.115265
1,926
52
77
37.038462
0.8973
0.403946
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
4b65c8b8bba7b73c323fcbfdf8b85b9d8d48b33d
53
py
Python
src/sharp/functions/__init__.py
vincent-lg/cocomud
a2c174f15b024d834266e0bef3d0404732d34a47
[ "BSD-3-Clause" ]
3
2016-10-13T01:39:20.000Z
2017-08-01T15:58:12.000Z
src/sharp/functions/__init__.py
vincent-lg/cocomud
a2c174f15b024d834266e0bef3d0404732d34a47
[ "BSD-3-Clause" ]
11
2018-11-27T16:13:11.000Z
2019-12-29T11:34:54.000Z
src/sharp/functions/__init__.py
vlegoff/cocomud
a2c174f15b024d834266e0bef3d0404732d34a47
[ "BSD-3-Clause" ]
2
2017-08-02T19:36:57.000Z
2017-10-21T04:13:34.000Z
"""Package containing the SharpScript functions."""
26.5
52
0.754717
6
53
6.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.09434
53
1
53
53
0.833333
0
0
null
0
null
0
0
null
0
0
0
null
0
null
null
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
4b7ce300ebf7a27f0fa5c63d63407e2fefd15199
711
py
Python
startup/21-bpm_99.py
NSLS-II-FMX/profile_collection
8c1e977f7b0b0972c5e9a4a1c042a60933b234ef
[ "BSD-3-Clause" ]
1
2018-02-18T14:50:59.000Z
2018-02-18T14:50:59.000Z
startup/21-bpm_99.py
NSLS-II-FMX/profile_collection
8c1e977f7b0b0972c5e9a4a1c042a60933b234ef
[ "BSD-3-Clause" ]
11
2017-05-09T15:44:42.000Z
2021-07-26T17:46:42.000Z
startup/21-bpm_99.py
NSLS-II-FMX/profile_collection
8c1e977f7b0b0972c5e9a4a1c042a60933b234ef
[ "BSD-3-Clause" ]
1
2017-05-09T15:40:08.000Z
2017-05-09T15:40:08.000Z
class Xbpm(Device): x = Cpt(EpicsSignalRO, 'Pos:X-I') y = Cpt(EpicsSignalRO, 'Pos:Y-I') a = Cpt(EpicsSignalRO, 'Ampl:ACurrAvg-I') b = Cpt(EpicsSignalRO, 'Ampl:BCurrAvg-I') c = Cpt(EpicsSignalRO, 'Ampl:CCurrAvg-I') d = Cpt(EpicsSignalRO, 'Ampl:DCurrAvg-I') total = Cpt(EpicsSignalRO, 'Ampl:Cur...
35.55
52
0.649789
102
711
4.411765
0.362745
0.248889
0.222222
0
0
0
0
0
0
0
0
0.013559
0.170183
711
19
53
37.421053
0.749153
0.07173
0
0
0
0
0.24431
0
0
0
0
0
0
1
0
false
0
0
0
0.9375
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
0
0
0
1
0
0
3
4b99d1f24d2115733f866eca9fec1c08bac7e0f5
15,442
py
Python
mydict/test_mydict.py
codevincedev/mydict
4b7a514685c2861b4bd9bcab0afe06fb5e5aca07
[ "MIT" ]
3
2017-02-26T20:32:43.000Z
2017-04-19T23:58:29.000Z
mydict/test_mydict.py
codevincedev/mydict
4b7a514685c2861b4bd9bcab0afe06fb5e5aca07
[ "MIT" ]
6
2019-07-19T16:59:22.000Z
2021-06-01T23:11:46.000Z
mydict/test_mydict.py
codevincedev/mydict
4b7a514685c2861b4bd9bcab0afe06fb5e5aca07
[ "MIT" ]
1
2020-08-05T04:15:45.000Z
2020-08-05T04:15:45.000Z
# pylint: skip-file # flake8: noqa import decimal import os from io import StringIO, BytesIO from . import MyDict import mydict.jsonify from .utils import ( SNAKE_CASE, CAMEL_CASE, PASCAL_CASE, ) class TestMyDict: def test__access_a_member_with_get(self): d = MyDict(foo='bar') assert d...
34.239468
129
0.549929
2,219
15,442
3.549797
0.056332
0.105751
0.074013
0.047861
0.838517
0.765012
0.713089
0.679446
0.609623
0.580932
0
0.028087
0.278332
15,442
450
130
34.315556
0.678751
0.001943
0
0.402703
0
0.037838
0.125187
0.009735
0
0
0
0
0.354054
1
0.17027
false
0
0.016216
0
0.189189
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
4ba06fd8ef11111f721b6d9e5c1c58ddde790874
1,321
py
Python
src/sima/simo/blueprints/thrusterdynamics.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/simo/blueprints/thrusterdynamics.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/simo/blueprints/thrusterdynamics.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
# # Generated with ThrusterDynamicsBlueprint from dmt.blueprint import Blueprint from dmt.dimension import Dimension from dmt.attribute import Attribute from dmt.enum_attribute import EnumAttribute from dmt.blueprint_attribute import BlueprintAttribute from sima.sima.blueprints.moao import MOAOBlueprint class Thruste...
60.045455
138
0.745647
146
1,321
6.657534
0.369863
0.115226
0.164609
0.208848
0.24177
0.176955
0.090535
0.090535
0
0
0
0.011073
0.111279
1,321
22
139
60.045455
0.816865
0.03028
0
0
1
0
0.241352
0.019654
0
0
0
0
0
1
0.058824
false
0
0.352941
0
0.470588
0.294118
0
0
0
null
0
0
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
1
0
0
0
0
3
4ba8e713b68d73b1b31e5866bd27480a09159855
128
py
Python
demo/lib/copy_demo.py
firstprojectfor/FPF_python
2321aff0d5b56f787befec55917d731c8c776558
[ "MIT" ]
1
2019-05-04T01:32:06.000Z
2019-05-04T01:32:06.000Z
demo/lib/copy_demo.py
firstprojectfor/FPF_python
2321aff0d5b56f787befec55917d731c8c776558
[ "MIT" ]
null
null
null
demo/lib/copy_demo.py
firstprojectfor/FPF_python
2321aff0d5b56f787befec55917d731c8c776558
[ "MIT" ]
null
null
null
import copy data = { 'name': 'zhangsan', 'age': 'lisi' } data_copy = copy.deepcopy(data) print(data) print(data_copy)
11.636364
31
0.632813
17
128
4.647059
0.529412
0.202532
0.329114
0
0
0
0
0
0
0
0
0
0.195313
128
10
32
12.8
0.76699
0
0
0
0
0
0.148438
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.25
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4bbbfd6521642e60127d1cbdbe39005e85317a98
85
py
Python
djeet/apps.py
tat3/djitter
c1507ee4e29108503958139e33b491273a617463
[ "MIT" ]
4
2018-09-13T12:31:02.000Z
2020-06-22T08:02:04.000Z
djeet/apps.py
tat3/djitter
c1507ee4e29108503958139e33b491273a617463
[ "MIT" ]
null
null
null
djeet/apps.py
tat3/djitter
c1507ee4e29108503958139e33b491273a617463
[ "MIT" ]
null
null
null
from django.apps import AppConfig class DjeetConfig(AppConfig): name = 'djeet'
14.166667
33
0.741176
10
85
6.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.176471
85
5
34
17
0.9
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4bbd5878f4a47f49e0f5ae6101bd0a450fd46898
400
py
Python
AlfaTesting Resources/DummyCooVnf.py
ViniGarcia/EMSPlatform
f51e1c5ce1b75016bc7f453e125a37909ac9b566
[ "MIT" ]
1
2021-05-31T15:44:25.000Z
2021-05-31T15:44:25.000Z
AlfaTesting Resources/DummyCooVnf.py
ViniGarcia/HoLMES
f51e1c5ce1b75016bc7f453e125a37909ac9b566
[ "MIT" ]
null
null
null
AlfaTesting Resources/DummyCooVnf.py
ViniGarcia/HoLMES
f51e1c5ce1b75016bc7f453e125a37909ac9b566
[ "MIT" ]
null
null
null
import flask app = flask.Flask(__name__) app.config["DEBUG"] = True @app.route('/click_plugin/running', methods=['GET']) def running(): return "/click_plugin/running - OK" @app.route('/click_plugin/metrics', methods=['GET']) def metrics(): return "/click_plugin/metrics - OK" @app.route('/respons...
21.052632
53
0.645
50
400
5
0.4
0.176
0.104
0.152
0
0
0
0
0
0
0
0
0.1625
400
19
54
21.052632
0.746269
0
0
0
0
0
0.344648
0.219321
0
0
0
0
0
1
0.230769
false
0
0.076923
0.230769
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
0
0
0
1
0
0
0
1
1
0
0
3
4b0600b40f41e51fa6c25bfdd90ee47a15400393
207
py
Python
python/matplotlib/line_plot.py
y2ghost/work
b7f5b02db9dc0df6157bc799ddb4a1ac9d574cf3
[ "MIT" ]
null
null
null
python/matplotlib/line_plot.py
y2ghost/work
b7f5b02db9dc0df6157bc799ddb4a1ac9d574cf3
[ "MIT" ]
null
null
null
python/matplotlib/line_plot.py
y2ghost/work
b7f5b02db9dc0df6157bc799ddb4a1ac9d574cf3
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt def line_plot(numbers): plt.plot(numbers) plt.ylabel('Random numbers') plt.show() if __name__ == '__main__': numbers = [2, 4, 1, 6] line_plot(numbers)
15.923077
32
0.647343
29
207
4.275862
0.655172
0.266129
0.241935
0
0
0
0
0
0
0
0
0.024691
0.217391
207
12
33
17.25
0.740741
0
0
0
0
0
0.10628
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4b12c4b7a0ca2c180e78fc663bcfadb63642409c
342
py
Python
mgemu/tests/test_scale.py
LSSTDESC/MGemu
2d5d796cd8e5cbfff8483caccce5d63d70eec11f
[ "BSD-3-Clause" ]
1
2020-09-26T23:12:26.000Z
2020-09-26T23:12:26.000Z
mgemu/tests/test_scale.py
LSSTDESC/MGemu
2d5d796cd8e5cbfff8483caccce5d63d70eec11f
[ "BSD-3-Clause" ]
2
2021-11-09T17:24:22.000Z
2021-11-10T17:57:31.000Z
mgemu/tests/test_scale.py
LSSTDESC/mgemu
2d5d796cd8e5cbfff8483caccce5d63d70eec11f
[ "BSD-3-Clause" ]
null
null
null
""" """ # Use relative imports when importing objects from elsewhere in the library from ..scale import scale01 import numpy as np test_input_cosmological_params = np.array([0.14, 0.967, 0.8, -5.0, 1.0]) def test_scale01(): res = scale01(test_input_cosmological_params) assert res.shape == test_input_cosm...
26.307692
76
0.74269
52
342
4.692308
0.615385
0.110656
0.258197
0.331967
0
0
0
0
0
0
0
0.065744
0.154971
342
12
77
28.5
0.778547
0.21345
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4b27a8d2fee8146f14920263346c49e2d6bc4bf9
4,917
py
Python
optable_submission/optable_package/optable/manipulations/__init__.py
pfnet-research/KDD-Cup-AutoML-5
54202eb6aa414316a70faa8e07a68e1c8ca7bd1b
[ "MIT" ]
18
2019-07-22T06:35:37.000Z
2021-03-20T08:37:56.000Z
optable_submission/optable_package/optable/manipulations/__init__.py
pfnet-research/KDD-Cup-AutoML-5
54202eb6aa414316a70faa8e07a68e1c8ca7bd1b
[ "MIT" ]
1
2020-03-22T21:06:57.000Z
2020-03-22T21:06:57.000Z
optable_submission/optable_package/optable/manipulations/__init__.py
pfnet-research/KDD-Cup-AutoML-5
54202eb6aa414316a70faa8e07a68e1c8ca7bd1b
[ "MIT" ]
11
2019-07-23T04:06:08.000Z
2020-05-12T08:44:01.000Z
from optable.synthesis import manipulation_candidate from optable.manipulations.aggregations import count from optable.manipulations.aggregations import duplicates from optable.manipulations.aggregations import identify from optable.manipulations.aggregations import last from optable.manipulations.aggregations import ...
48.683168
78
0.879601
452
4,917
9.216814
0.196903
0.247
0.138262
0.236198
0.572492
0.31061
0.144263
0.066491
0
0
0
0
0.070978
4,917
100
79
49.17
0.911997
0
0
0.32967
0
0
0
0
0
0
0
0
0
1
0
true
0
0.274725
0
0.274725
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
1
0
0
0
0
0
0
3
d9a9f25f94908ea07321b243cfc708a7d0266c59
3,868
py
Python
nuitka/nodes/ImportHardNodes.py
byehack/Nuitka
6d868e6d6c371f46ce627f8b774ad3db3d14cab3
[ "Apache-2.0" ]
1,228
2015-01-01T15:12:50.000Z
2018-09-21T20:41:11.000Z
nuitka/nodes/ImportHardNodes.py
byehack/Nuitka
6d868e6d6c371f46ce627f8b774ad3db3d14cab3
[ "Apache-2.0" ]
131
2015-09-13T05:43:05.000Z
2018-09-22T08:34:41.000Z
nuitka/nodes/ImportHardNodes.py
byehack/Nuitka
6d868e6d6c371f46ce627f8b774ad3db3d14cab3
[ "Apache-2.0" ]
92
2015-02-02T21:05:35.000Z
2018-09-07T00:14:43.000Z
# Copyright 2021, Kay Hayen, mailto:kay.hayen@gmail.com # # Part of "Nuitka", an optimizing Python compiler that is compatible and # integrates with CPython, but also works on its own. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
30.456693
84
0.708376
446
3,868
5.96861
0.408072
0.071375
0.052592
0.037566
0.343351
0.277986
0.178062
0.120962
0.03456
0
0
0.004302
0.218718
3,868
126
85
30.698413
0.876572
0.338418
0
0.310345
0
0
0.074208
0.035299
0
0
0
0
0.034483
1
0.241379
false
0
0.293103
0.172414
0.862069
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
d9d46f565446bb84024bb69aee741da568c38127
213
py
Python
beta/api/coincheck/test2.py
black0144/vnpy
0d0ea30dad14a0150f7500ff9a62528030321426
[ "MIT" ]
3
2018-09-29T03:04:37.000Z
2020-02-10T15:58:11.000Z
beta/api/coincheck/test2.py
black0144/vnpy
0d0ea30dad14a0150f7500ff9a62528030321426
[ "MIT" ]
1
2018-06-12T10:08:24.000Z
2018-06-12T10:08:24.000Z
beta/api/coincheck/test2.py
black0144/vnpy
0d0ea30dad14a0150f7500ff9a62528030321426
[ "MIT" ]
2
2020-04-26T08:33:05.000Z
2020-12-02T07:54:43.000Z
# encoding: utf-8 from __future__ import print_function from coincheck import order,market,account ok = order.Order(access_key="你的accessKey", secret_key="你的secretKey") print(ok.buy_btc_jpy(amount=0.01,rate=200))
30.428571
68
0.802817
33
213
4.909091
0.787879
0
0
0
0
0
0
0
0
0
0
0.035714
0.079812
213
7
69
30.428571
0.790816
0.070423
0
0
0
0
0.111675
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.5
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
0
1
0
3
d9fa6faa62749045f74cbc413eb0b0dfc208ce03
737
py
Python
oscar/lib/python2.7/site-packages/sorl/thumbnail/default.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
oscar/lib/python2.7/site-packages/sorl/thumbnail/default.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
oscar/lib/python2.7/site-packages/sorl/thumbnail/default.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
from django.utils.functional import LazyObject from sorl.thumbnail.conf import settings from sorl.thumbnail.helpers import get_module_class class Backend(LazyObject): def _setup(self): self._wrapped = get_module_class(settings.THUMBNAIL_BACKEND)() class KVStore(LazyObject): def _setup(s...
23.774194
71
0.713704
84
737
6
0.261905
0.089286
0.138889
0.174603
0.507937
0.507937
0.507937
0.507937
0.507937
0.507937
0
0
0.191316
737
30
72
24.566667
0.845638
0
0
0.210526
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0.157895
0
0.578947
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
8a0a0f730c31ff34e79a8cd9f50c81bc521481ca
267
py
Python
full_cost/fib/admin.py
CEMES-CNRS/full_cost_git
600409b49db123db82e7f66462395294dde320ce
[ "CECILL-B" ]
null
null
null
full_cost/fib/admin.py
CEMES-CNRS/full_cost_git
600409b49db123db82e7f66462395294dde320ce
[ "CECILL-B" ]
null
null
null
full_cost/fib/admin.py
CEMES-CNRS/full_cost_git
600409b49db123db82e7f66462395294dde320ce
[ "CECILL-B" ]
null
null
null
from django.contrib import admin from simple_history.admin import SimpleHistoryAdmin # Register your models here. from .models import Experiment, Record, Extraction admin.site.register(Experiment, SimpleHistoryAdmin) admin.site.register(Record, SimpleHistoryAdmin)
29.666667
51
0.842697
31
267
7.225806
0.516129
0.080357
0.151786
0
0
0
0
0
0
0
0
0
0.093633
267
8
52
33.375
0.92562
0.097378
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
8a11436f337a406aed3c166dde519322da6ac0ba
151
py
Python
learn/python/build_pip_package/setup.py
zhmz90/Daily
25e13f6334c58d3a075b3fc502ecb34832392be7
[ "MIT" ]
null
null
null
learn/python/build_pip_package/setup.py
zhmz90/Daily
25e13f6334c58d3a075b3fc502ecb34832392be7
[ "MIT" ]
25
2016-01-03T14:23:44.000Z
2016-03-05T07:34:40.000Z
learn/python/build_pip_package/setup.py
zhmz90/Daily
25e13f6334c58d3a075b3fc502ecb34832392be7
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="learn how to build pip package", version='0.0.1', scripts=["hello.py"], lib=["Hello.py"], )
16.777778
42
0.615894
22
151
4.227273
0.818182
0.150538
0
0
0
0
0
0
0
0
0
0.02521
0.211921
151
8
43
18.875
0.756303
0
0
0
0
0
0.337748
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
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
8a23abc9498391da2e9f31da07b4430d36df044b
23
py
Python
tests/__init__.py
rmorlok/pytracts
fce8bdfdf34c8b8e1d53e628c06a1b39298777c3
[ "Apache-2.0" ]
4
2015-04-16T18:57:22.000Z
2016-08-09T05:02:11.000Z
tests/__init__.py
rmorlok/pytracts
fce8bdfdf34c8b8e1d53e628c06a1b39298777c3
[ "Apache-2.0" ]
null
null
null
tests/__init__.py
rmorlok/pytracts
fce8bdfdf34c8b8e1d53e628c06a1b39298777c3
[ "Apache-2.0" ]
null
null
null
__author__ = 'rmorlok'
11.5
22
0.73913
2
23
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.130435
23
1
23
23
0.65
0
0
0
0
0
0.304348
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
8a3dfe0b1c1f08fe4fc506d5a14d5a53160e720d
1,918
py
Python
test/nn/test_upsampling.py
steven-lang/e2cnn
48f49760766ec958b52d0dd7b02483886dfa2096
[ "BSD-3-Clause" ]
356
2019-11-22T10:37:22.000Z
2022-03-25T14:42:45.000Z
test/nn/test_upsampling.py
steven-lang/e2cnn
48f49760766ec958b52d0dd7b02483886dfa2096
[ "BSD-3-Clause" ]
52
2020-01-20T16:51:36.000Z
2022-03-31T21:40:19.000Z
test/nn/test_upsampling.py
steven-lang/e2cnn
48f49760766ec958b52d0dd7b02483886dfa2096
[ "BSD-3-Clause" ]
48
2019-12-11T09:29:30.000Z
2022-03-18T17:51:55.000Z
import unittest from unittest import TestCase from e2cnn.nn import * from e2cnn.gspaces import * import numpy as np class TestUpsampling(TestCase): def test_cyclic_even_bilinear(self): g = Rot2dOnR2(8) self.check_upsampling(g, "bilinear") def test_cyclic_odd_bilinear(self): g =...
26.273973
85
0.621481
241
1,918
4.717842
0.26971
0.057168
0.200528
0.211082
0.62445
0.62445
0.62445
0.62445
0.502199
0.502199
0
0.034359
0.271637
1,918
72
86
26.638889
0.779528
0.041189
0
0.470588
0
0
0.060969
0
0
0
0
0
0
1
0.254902
false
0
0.098039
0
0.372549
0.019608
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
8a3fc82c2885c137c49f42c8bfe5be1b66eae8cb
296
py
Python
rebench/tests/bugs/vm-one-result.py
krono/ReBench
74f143d5a5eb0118d76411f85d364975a8abd84f
[ "MIT" ]
45
2015-01-18T14:33:59.000Z
2022-03-06T20:31:18.000Z
rebench/tests/bugs/vm-one-result.py
krono/ReBench
74f143d5a5eb0118d76411f85d364975a8abd84f
[ "MIT" ]
154
2015-01-12T11:51:10.000Z
2022-03-31T22:00:52.000Z
rebench/tests/bugs/vm-one-result.py
krono/ReBench
74f143d5a5eb0118d76411f85d364975a8abd84f
[ "MIT" ]
14
2016-06-08T15:06:26.000Z
2021-11-19T14:17:47.000Z
#!/usr/bin/env python # simple script emulating an executor generating benchmark results from __future__ import print_function import sys import random print(sys.argv) print("Harness Name: ", sys.argv[1]) print("Bench Name:", sys.argv[2]) print("RESULT-total: ", random.triangular(700, 850))
21.142857
66
0.753378
43
296
5.069767
0.697674
0.09633
0.100917
0
0
0
0
0
0
0
0
0.030651
0.118243
296
13
67
22.769231
0.804598
0.287162
0
0
0
0
0.186603
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
0.714286
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
0
1
0
3
8a41b4c2fe8dda6ca3b8ff3335b8e6805a4fb15c
3,315
py
Python
src/task/abstracts/task.py
technote-space/genetic-algorithms-py
a37e0a34c5970987d76fda6b14a48d9ab0579e33
[ "MIT" ]
3
2020-09-03T18:02:30.000Z
2020-09-08T18:09:38.000Z
src/task/abstracts/task.py
Amplil/genetic-algorithms-py
4788c73b1b9d57eac904e8eb99d9140457201e6b
[ "MIT" ]
7
2020-09-08T16:57:19.000Z
2022-03-12T00:51:26.000Z
src/task/abstracts/task.py
Amplil/genetic-algorithms-py
4788c73b1b9d57eac904e8eb99d9140457201e6b
[ "MIT" ]
1
2021-04-14T11:10:50.000Z
2021-04-14T11:10:50.000Z
import os from abc import abstractmethod from typing import Optional from ..interfaces import ITask, ISettings, IGaSettings class AbstractTask(ITask): """ Description: ------------ 学習対象の基底クラス """ __name: Optional[str] __step: int __action_step: int __has_finished: bool __is_pl...
24.738806
93
0.6181
403
3,315
4.781638
0.176179
0.057084
0.050856
0.037364
0.270368
0.151012
0.151012
0.065387
0.065387
0.065387
0
0.004608
0.27994
3,315
133
94
24.924812
0.802681
0.01086
0
0.305263
0
0
0.041475
0.007373
0
0
0
0
0
1
0.273684
false
0.073684
0.042105
0.084211
0.505263
0.021053
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
8a45aa357a11c34e55bc03e682b0a021de40dd4c
391
py
Python
pythonAlgorithm/linklist/Sort List.py
Sky-zzt/lintcodePractice
d6436b296c5865d85e55c8ad4fcdbb0165d4ebb1
[ "MIT" ]
1
2020-09-15T07:58:55.000Z
2020-09-15T07:58:55.000Z
pythonAlgorithm/linklist/Sort List.py
Sky-zzt/lintcodePractice
d6436b296c5865d85e55c8ad4fcdbb0165d4ebb1
[ "MIT" ]
null
null
null
pythonAlgorithm/linklist/Sort List.py
Sky-zzt/lintcodePractice
d6436b296c5865d85e55c8ad4fcdbb0165d4ebb1
[ "MIT" ]
null
null
null
""" Definition of ListNode class ListNode(object): def __init__(self, val, next=None): self.val = val self.next = next """ class Solution: """ @param head: The head of linked list. @return: You should return the head of the sorted linked list, using constant space complexity. """ ...
24.4375
99
0.626598
51
391
4.72549
0.607843
0.058091
0.074689
0
0
0
0
0
0
0
0
0
0.276215
391
16
100
24.4375
0.85159
0.741688
0
0
0
0
0
0
0
0
0
0.0625
0
1
0.333333
false
0.333333
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
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
8a4fe9e84c7fb3e922c1bd0a17e7bd7bf915fe99
2,630
py
Python
ooobuild/csslo/xml/sax/__init__.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/csslo/xml/sax/__init__.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/csslo/xml/sax/__init__.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # 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 applicab...
61.162791
119
0.814068
376
2,630
5.569149
0.324468
0.074499
0.111748
0.148997
0.155683
0.076886
0
0
0
0
0
0.003801
0.09962
2,630
42
120
62.619048
0.88049
0.219011
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
8a51a769982f3efd0090cb2ba67b1d494545fff9
573
py
Python
adam_visual_perception/__init__.py
isi-vista/adam-visual-perception
8ad6ed883b184b5407a1bf793617b226c78b3a13
[ "MIT" ]
1
2020-07-21T10:52:26.000Z
2020-07-21T10:52:26.000Z
adam_visual_perception/__init__.py
isi-vista/adam-visual-perception
8ad6ed883b184b5407a1bf793617b226c78b3a13
[ "MIT" ]
null
null
null
adam_visual_perception/__init__.py
isi-vista/adam-visual-perception
8ad6ed883b184b5407a1bf793617b226c78b3a13
[ "MIT" ]
2
2020-07-21T15:30:42.000Z
2021-01-20T21:54:09.000Z
from adam_visual_perception.object_tracker import ObjectTracker from adam_visual_perception.preprocessor import preprocess_video as preprocess from adam_visual_perception.landmark_detector import LandmarkDetector from adam_visual_perception.gaze_predictor import GazePredictor from adam_visual_perception.body_gaze_estim...
33.705882
78
0.844677
59
573
7.79661
0.40678
0.104348
0.182609
0.313043
0
0
0
0
0
0
0
0
0.108202
573
16
79
35.8125
0.900196
0
0
0
0
0
0.150087
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8a54257e5bd68872754d9a5cfa61d22b1628d1d3
174
py
Python
account/urls.py
dmitriyVasilievich1986/authorization
13595476221a6eeae4fcbb0ddb5ecb1c6711b8a5
[ "MIT" ]
null
null
null
account/urls.py
dmitriyVasilievich1986/authorization
13595476221a6eeae4fcbb0ddb5ecb1c6711b8a5
[ "MIT" ]
null
null
null
account/urls.py
dmitriyVasilievich1986/authorization
13595476221a6eeae4fcbb0ddb5ecb1c6711b8a5
[ "MIT" ]
null
null
null
from rest_framework import routers from .views import AccountViewSet router = routers.SimpleRouter() router.register(r'accounts', AccountViewSet) urlpatterns = router.urls
21.75
44
0.821839
20
174
7.1
0.7
0
0
0
0
0
0
0
0
0
0
0
0.103448
174
7
45
24.857143
0.910256
0
0
0
0
0
0.045977
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
8a75658ec4d4af939d173b3f267fc457341d4b68
316
py
Python
PygFW/Constants.py
shauncameron/PygFW
970541d0c3fc6e1f306fe527d90834a620694804
[ "MIT" ]
null
null
null
PygFW/Constants.py
shauncameron/PygFW
970541d0c3fc6e1f306fe527d90834a620694804
[ "MIT" ]
4
2021-04-15T00:12:14.000Z
2021-04-18T20:46:09.000Z
build/lib/PygFW/Constants.py
shauncameron/PygFW
970541d0c3fc6e1f306fe527d90834a620694804
[ "MIT" ]
null
null
null
_constant_id = 0 def _create_constant_id(): global _constant_id _constant_id += 1 return f'<Game Constant (id={_constant_id})' text_relative_margin_size = _create_constant_id() margin_relative_text_spawn = _create_constant_id() mutable_text_size = _create_constant_id() default_font_path = 'nsr.ttf'
22.571429
50
0.781646
45
316
4.822222
0.466667
0.414747
0.294931
0.184332
0
0
0
0
0
0
0
0.007299
0.132911
316
14
51
22.571429
0.784672
0
0
0
0
0
0.129338
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
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
8a86a47455c442908fe09b606d909532b70d1400
842
py
Python
invaders_2/__main__.py
TsukkiGia/pytrix
5477bd6a757d8ee3a16ca1fc5513b6d2926b6f66
[ "MIT" ]
null
null
null
invaders_2/__main__.py
TsukkiGia/pytrix
5477bd6a757d8ee3a16ca1fc5513b6d2926b6f66
[ "MIT" ]
null
null
null
invaders_2/__main__.py
TsukkiGia/pytrix
5477bd6a757d8ee3a16ca1fc5513b6d2926b6f66
[ "MIT" ]
null
null
null
""" The primary application script for Alien Invaders This is the module with the application code. Make sure that this module is in a folder with the following files: app.py (the primary controller class) level.py (the subcontroller for a single game level) models.py (the model classes) co...
29.034483
80
0.711401
123
842
4.788618
0.601626
0.033956
0
0
0
0
0
0
0
0
0
0.010802
0.230404
842
28
81
30.071429
0.898148
0.842043
0
0
0
0
0.064
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
8a906976953428a4de5766779e83c2bd770336c1
238
py
Python
assets/hw/template/autograder/hw_autograder/run_tests.py
stats-202/stats-202.github.io
8c7ef51a8edcd1596afa870f8d079bf87847428a
[ "MIT" ]
null
null
null
assets/hw/template/autograder/hw_autograder/run_tests.py
stats-202/stats-202.github.io
8c7ef51a8edcd1596afa870f8d079bf87847428a
[ "MIT" ]
null
null
null
assets/hw/template/autograder/hw_autograder/run_tests.py
stats-202/stats-202.github.io
8c7ef51a8edcd1596afa870f8d079bf87847428a
[ "MIT" ]
null
null
null
import unittest from gradescope_utils.autograder_utils.json_test_runner import JSONTestRunner if __name__ == '__main__': suite = unittest.defaultTestLoader.discover('tests-python') JSONTestRunner(visibility='visible').run(suite)
34
77
0.806723
26
238
6.923077
0.807692
0
0
0
0
0
0
0
0
0
0
0
0.096639
238
6
78
39.666667
0.837209
0
0
0
0
0
0.113445
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
8aa99b7fc89585a1d01ecd9ccb896ac74734a748
845
py
Python
api/core/utils.py
arunrapolu4491/court-interpreter-scheduling
17efcdf3a7fdd470c1991452a696a7bc640fd220
[ "Apache-2.0" ]
null
null
null
api/core/utils.py
arunrapolu4491/court-interpreter-scheduling
17efcdf3a7fdd470c1991452a696a7bc640fd220
[ "Apache-2.0" ]
null
null
null
api/core/utils.py
arunrapolu4491/court-interpreter-scheduling
17efcdf3a7fdd470c1991452a696a7bc640fd220
[ "Apache-2.0" ]
1
2022-03-18T18:47:23.000Z
2022-03-18T18:47:23.000Z
from starlette.requests import Request from core.config import settings def getBaseUrl(request: Request): # print("__UTIL_____") # print(request.headers) if ( "x-forwarded-host" in request.headers and "x-forwarded-port" in request.headers and request.headers["x-forwarded-port"] not ...
35.208333
117
0.671006
104
845
5.221154
0.346154
0.180479
0.103131
0.176796
0.46593
0.27256
0.158379
0.158379
0
0
0
0.010072
0.177515
845
24
118
35.208333
0.771223
0.12071
0
0
0
0.0625
0.381597
0.286874
0
0
0
0
0
1
0.1875
false
0
0.125
0.125
0.5625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
8ab812fe833cdbf2557c20a9ceb41e3b012ac8ba
291
py
Python
python/nimblephysics/loader.py
jyf588/nimblephysics
6c09228f0abcf7aa3526a8dd65cd2541aff32c4a
[ "BSD-2-Clause" ]
2
2021-09-30T06:23:29.000Z
2022-03-09T09:59:09.000Z
python/nimblephysics/loader.py
jyf588/nimblephysics
6c09228f0abcf7aa3526a8dd65cd2541aff32c4a
[ "BSD-2-Clause" ]
null
null
null
python/nimblephysics/loader.py
jyf588/nimblephysics
6c09228f0abcf7aa3526a8dd65cd2541aff32c4a
[ "BSD-2-Clause" ]
1
2021-08-20T13:56:14.000Z
2021-08-20T13:56:14.000Z
import nimblephysics_libs._nimblephysics as nimble import sys import os def loadWorld(path: str): root_file_path = os.path.join(os.getcwd(), sys.argv[0]) absolute_path = os.path.join(os.path.dirname(root_file_path), path) return nimble.utils.UniversalLoader.loadWorld(absolute_path)
29.1
69
0.790378
44
291
5.045455
0.5
0.081081
0.108108
0.126126
0.144144
0
0
0
0
0
0
0.003817
0.099656
291
9
70
32.333333
0.843511
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
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
8abfabbb873415941103a6da3b7e5f07978236a9
213
py
Python
core/__init__.py
noeyheadb/pycuda-cpa
c10f34f32c6f72faf493542413877ef7a7b32b7c
[ "MIT" ]
1
2021-03-24T04:02:54.000Z
2021-03-24T04:02:54.000Z
core/__init__.py
noeyheadb/pycuda-cpa
c10f34f32c6f72faf493542413877ef7a7b32b7c
[ "MIT" ]
null
null
null
core/__init__.py
noeyheadb/pycuda-cpa
c10f34f32c6f72faf493542413877ef7a7b32b7c
[ "MIT" ]
null
null
null
__all__ = ['cpa_cuda_8_bit', 'cpa_cuda_16_bit', 'power_modeling_for_cpa_16_using_cuda'] from .cpa_cuda import cpa_cuda_8_bit, cpa_cuda_16_bit from .power_modeling_cuda import power_modeling_for_cpa_16_using_cuda
42.6
87
0.86385
40
213
3.825
0.3
0.228758
0.104575
0.143791
0.69281
0.69281
0.69281
0.300654
0
0
0
0.050505
0.070423
213
4
88
53.25
0.722222
0
0
0
0
0
0.305164
0.169014
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8abfec7ad5a1c0fed8292ac7f9379a06f697c68b
172
py
Python
MaBoSS/src/MaBoSS_BB/__init__.py
PerMedCoE/BuildingBlocks
975780dee7cd6f519238933555b01ed1c46768ee
[ "Apache-2.0" ]
1
2022-02-14T11:14:59.000Z
2022-02-14T11:14:59.000Z
MaBoSS/src/MaBoSS_BB/__init__.py
PerMedCoE/BuildingBlocks
975780dee7cd6f519238933555b01ed1c46768ee
[ "Apache-2.0" ]
null
null
null
MaBoSS/src/MaBoSS_BB/__init__.py
PerMedCoE/BuildingBlocks
975780dee7cd6f519238933555b01ed1c46768ee
[ "Apache-2.0" ]
null
null
null
""" NOTE: Do not modify this file unless you want to change the name of the main.py file. Then it is necessary to adapt the import. """ from MaBoSS_BB.main import *
24.571429
68
0.709302
31
172
3.903226
0.806452
0
0
0
0
0
0
0
0
0
0
0
0.22093
172
6
69
28.666667
0.902985
0.773256
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
8ac38b0f5116be0f7063fa92f1fffa6850f263d6
5,462
py
Python
tests/test_turing_machine.py
eliezio/netconf-pnp-simulator
d12d92e8c3a049f5bc405331b6ac5694725f8109
[ "Apache-2.0" ]
1
2020-03-04T01:07:49.000Z
2020-03-04T01:07:49.000Z
tests/test_turing_machine.py
eliezio/netconf-pnp-simulator
d12d92e8c3a049f5bc405331b6ac5694725f8109
[ "Apache-2.0" ]
12
2020-02-19T10:05:16.000Z
2020-04-19T00:23:12.000Z
tests/test_turing_machine.py
eliezio/netconf-pnp-simulator
d12d92e8c3a049f5bc405331b6ac5694725f8109
[ "Apache-2.0" ]
1
2022-02-28T10:14:19.000Z
2022-02-28T10:14:19.000Z
import nctest _NAMESPACES = { "nc": "urn:ietf:params:xml:ns:netconf:base:1.0", "tm": "http://example.net/turing-machine" } def check_labels_only_in_data(data): children = data.xpath("/nc:rpc-reply/nc:data/*", namespaces=_NAMESPACES) assert children for child in children: assert child.tag....
41.694656
119
0.621201
674
5,462
4.884273
0.143917
0.071081
0.043439
0.034022
0.791009
0.767618
0.71294
0.688639
0.678615
0.678615
0
0.007526
0.245881
5,462
130
120
42.015385
0.791697
0.04394
0
0.46729
0
0.084112
0.374304
0.187824
0
0
0
0
0.130841
1
0.074766
false
0
0.009346
0
0.093458
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8ac8431dbbd72527c0577f43d6f93d7c625a4027
735
py
Python
ibench/benchmarks/rng.py
0just0/ibench
72b5c42d202b71ba11a09e1f3323186cc6aa5275
[ "MIT" ]
null
null
null
ibench/benchmarks/rng.py
0just0/ibench
72b5c42d202b71ba11a09e1f3323186cc6aa5275
[ "MIT" ]
null
null
null
ibench/benchmarks/rng.py
0just0/ibench
72b5c42d202b71ba11a09e1f3323186cc6aa5275
[ "MIT" ]
1
2021-11-24T04:24:00.000Z
2021-11-24T04:24:00.000Z
# Copyright (C) 2018 Intel Corporation # # SPDX-License-Identifier: MIT import numpy as np from .bench import Bench try: import numpy.random_intel as rnd except: import numpy.random as rnd class Rng(Bench): sizes = {'large': 20000, 'small': 5000, 'tiny': 100, 'test': 2} def _ops(self, n): ...
22.96875
83
0.620408
105
735
4.219048
0.590476
0.074492
0.076749
0.085779
0
0
0
0
0
0
0
0.071956
0.262585
735
31
84
23.709677
0.745387
0.235374
0
0
0
0
0.032374
0
0
0
0
0.032258
0
1
0.235294
false
0
0.235294
0.058824
0.647059
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
8aca529c073dd14f8e01f54e46a3c78fd32429f5
515
py
Python
pyloxi/loxi/of12/__init__.py
floodlight/loxigen-artifacts
1822ec984cb6da342bbaa381677071cbbe53cee6
[ "Apache-2.0" ]
1
2017-06-01T09:41:07.000Z
2017-06-01T09:41:07.000Z
pyloxi/loxi/of12/__init__.py
floodlight/loxigen-artifacts
1822ec984cb6da342bbaa381677071cbbe53cee6
[ "Apache-2.0" ]
2
2017-07-03T08:50:56.000Z
2018-03-12T16:16:19.000Z
pyloxi3/loxi/of12/__init__.py
floodlight/loxigen-artifacts
1822ec984cb6da342bbaa381677071cbbe53cee6
[ "Apache-2.0" ]
20
2015-02-16T15:23:04.000Z
2022-03-15T20:06:10.000Z
# Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University # Copyright (c) 2011, 2012 Open Networking Foundation # Copyright (c) 2012, 2013 Big Switch Networks, Inc. # See the file LICENSE.pyloxi which should have been included in the source distribution # Automatically generated by LOXI from ...
32.1875
88
0.780583
75
515
5.36
0.693333
0.099502
0
0
0
0
0
0
0
0
0
0.046729
0.168932
515
15
89
34.333333
0.892523
0.658252
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
8aca52a939adb1a26a5ef954d24fb9e21d861c81
142
py
Python
stage/apps.py
fkinyae/works
1191e60b32c9f398ba7c00276d00796ff5490c07
[ "MIT" ]
null
null
null
stage/apps.py
fkinyae/works
1191e60b32c9f398ba7c00276d00796ff5490c07
[ "MIT" ]
null
null
null
stage/apps.py
fkinyae/works
1191e60b32c9f398ba7c00276d00796ff5490c07
[ "MIT" ]
null
null
null
from django.apps import AppConfig class StageConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'stage'
20.285714
56
0.753521
17
142
6.176471
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.15493
142
6
57
23.666667
0.875
0
0
0
0
0
0.239437
0.204225
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
76e1e2db6002a70e807bcb1a64be09edd10f6212
446
py
Python
support/django/django-site/device_manager/apps.py
airspot-dev/iot-demo
5f8c1877192043f4118b102ad1f71326d40de858
[ "Apache-2.0" ]
1
2021-06-22T10:26:54.000Z
2021-06-22T10:26:54.000Z
support/django/django-site/device_manager/apps.py
airspot-dev/iot-demo
5f8c1877192043f4118b102ad1f71326d40de858
[ "Apache-2.0" ]
null
null
null
support/django/django-site/device_manager/apps.py
airspot-dev/iot-demo
5f8c1877192043f4118b102ad1f71326d40de858
[ "Apache-2.0" ]
1
2021-09-20T11:56:50.000Z
2021-09-20T11:56:50.000Z
from django.apps import AppConfig class DeviceManagerAppConfig(AppConfig): name = 'device_manager' verbose_name = 'Demo application' def ready(self): from .models import Fleet from django_signals_cloudevents import send_cloudevent from django.db.models.signals import post_save, po...
31.857143
67
0.742152
53
446
6.037736
0.528302
0.09375
0.13125
0.16875
0.2
0
0
0
0
0
0
0
0.195067
446
13
68
34.307692
0.891365
0
0
0
0
0
0.067265
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
76e28ba98bb080ab8e757e95f05e8a1ccc756a47
112,711
py
Python
test/api/test_tools.py
hmenager/galaxy
d65d6b586c4760ff65cf294d2587e729b65e7fea
[ "CC-BY-3.0" ]
null
null
null
test/api/test_tools.py
hmenager/galaxy
d65d6b586c4760ff65cf294d2587e729b65e7fea
[ "CC-BY-3.0" ]
4
2021-02-08T20:28:34.000Z
2022-03-02T02:52:55.000Z
test/api/test_tools.py
hmenager/galaxy
d65d6b586c4760ff65cf294d2587e729b65e7fea
[ "CC-BY-3.0" ]
1
2018-05-30T07:38:54.000Z
2018-05-30T07:38:54.000Z
import contextlib import json import os import tarfile from base import api from base import rules_test_data from base.populators import ( DatasetCollectionPopulator, DatasetPopulator, LibraryPopulator, load_data_dict, skip_without_tool, uses_test_history, ) from requests import get from six im...
49.96055
190
0.662464
13,467
112,711
5.172867
0.047746
0.063951
0.066606
0.029054
0.777314
0.740249
0.702353
0.676672
0.64957
0.62844
0
0.018578
0.223013
112,711
2,255
191
49.982705
0.776888
0.020087
0
0.494949
0
0.001515
0.121562
0.025454
0
0
0
0.000443
0.240909
1
0.075253
false
0
0.004545
0.00303
0.091919
0.000505
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
76e56e2a25612859e6a1854eda1d83201f6896a6
2,010
py
Python
test/tests/multiple_inheritance.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-02-06T14:28:45.000Z
2020-02-06T14:28:45.000Z
test/tests/multiple_inheritance.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
test/tests/multiple_inheritance.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-02-06T14:29:00.000Z
2020-02-06T14:29:00.000Z
# Testing the basic multiple-inheritance rules and functionality: class C(object): n = 1 def c(self): print "C.c()" def f(self): print "C.f()", self.n class D(object): n = 2 def d(self): print "D.d()" def f(self): print "D.f()", self.n class E(C, D): pass...
21.157895
120
0.564179
306
2,010
3.666667
0.316993
0.05615
0.024955
0.034759
0.173797
0.049911
0
0
0
0
0
0.002128
0.298507
2,010
94
121
21.382979
0.793617
0.344279
0
0.444444
0
0
0.026882
0
0
0
0
0.010638
0
0
null
null
0.095238
0
null
null
0.238095
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
1
0
0
0
0
0
3
0a0380f2f22c25e27bf3b8fad7466ae5543ac38c
390
py
Python
chapter_1/1_2_check_permutation/check_permutation.py
elishaking/CTCi
6a91fd67e8765e5abef72c5b247f4d5444945438
[ "MIT" ]
1
2020-07-03T09:47:34.000Z
2020-07-03T09:47:34.000Z
chapter_1/1_2_check_permutation/check_permutation.py
elishaking/CTCi
6a91fd67e8765e5abef72c5b247f4d5444945438
[ "MIT" ]
null
null
null
chapter_1/1_2_check_permutation/check_permutation.py
elishaking/CTCi
6a91fd67e8765e5abef72c5b247f4d5444945438
[ "MIT" ]
null
null
null
def char_sum(s: str): sum = 0 for char in s: sum += ord(char) return sum # Time complexity: O(M+N) # Space complexity: O(1) def check_permutation(s1: str, s2: str): sum1 = char_sum(s1) sum2 = char_sum(s2) return sum1 == sum2 print(check_permutation("same", "same")) print(check_perm...
18.571429
44
0.633333
59
390
4.067797
0.457627
0.266667
0.2625
0.3125
0
0
0
0
0
0
0
0.032573
0.212821
390
20
45
19.5
0.749186
0.117949
0
0
0
0
0.082111
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0.25
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
0a11da5eea27835b5161224f2e769bffb513df1c
293
py
Python
synthtiger/components/wrapper/__init__.py
KoryakovDmitry/synthtiger
8a995aef46f2c5fe3ee0bbaca2269b3cf66927d4
[ "MIT" ]
153
2021-07-29T02:47:45.000Z
2022-03-29T13:38:30.000Z
synthtiger/components/wrapper/__init__.py
moonbings/synthtiger
87f6de877d8497d3f3b14d414bd3b0ea5f017175
[ "MIT" ]
10
2021-07-29T02:59:46.000Z
2022-03-05T19:31:23.000Z
synthtiger/components/wrapper/__init__.py
moonbings/synthtiger
87f6de877d8497d3f3b14d414bd3b0ea5f017175
[ "MIT" ]
37
2021-08-01T23:13:34.000Z
2022-03-22T07:46:45.000Z
""" SynthTIGER Copyright (c) 2021-present NAVER Corp. MIT license """ from synthtiger.components.wrapper.iterator import Iterator from synthtiger.components.wrapper.selector import Selector from synthtiger.components.wrapper.switch import Switch __all__ = ["Iterator", "Selector", "Switch"]
24.416667
59
0.798635
34
293
6.764706
0.5
0.182609
0.313043
0.404348
0
0
0
0
0
0
0
0.015152
0.098976
293
11
60
26.636364
0.856061
0.208191
0
0
0
0
0.098214
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0a18d0a66491564625d9e40914f8549a89026172
875
py
Python
tests/unit/factories/daemons/test_container.py
danielrobbins/pytest-salt-factories
9c9dc882628f6ddb93dab88bf548755d2196cec9
[ "Apache-2.0" ]
null
null
null
tests/unit/factories/daemons/test_container.py
danielrobbins/pytest-salt-factories
9c9dc882628f6ddb93dab88bf548755d2196cec9
[ "Apache-2.0" ]
null
null
null
tests/unit/factories/daemons/test_container.py
danielrobbins/pytest-salt-factories
9c9dc882628f6ddb93dab88bf548755d2196cec9
[ "Apache-2.0" ]
null
null
null
from unittest import mock import pytest from saltfactories.factories.daemons.container import ContainerFactory def test_missing_docker_library(): with mock.patch( "saltfactories.factories.daemons.container.HAS_DOCKER", new_callable=mock.PropertyMock(return_value=False), ): with pytes...
31.25
86
0.710857
101
875
6.039604
0.405941
0.108197
0.142623
0.186885
0.72459
0.72459
0.616393
0.616393
0.616393
0.416393
0
0
0.194286
875
27
87
32.407407
0.865248
0
0
0.526316
0
0
0.249143
0.121143
0
0
0
0
0.105263
1
0.105263
true
0
0.157895
0
0.263158
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
0a249a7ece68241239bc52a93ed431636fbd2e53
215
py
Python
stimuli/Python/one_file_per_item/jap/54_# math_if 18.py
ALFA-group/neural_program_comprehension
0253911f376cf282af5a5627e38e0a591ad38860
[ "MIT" ]
6
2020-04-24T08:16:51.000Z
2021-11-01T09:50:46.000Z
stimuli/Python/one_file_per_item/jap/54_# math_if 18.py
ALFA-group/neural_program_comprehension
0253911f376cf282af5a5627e38e0a591ad38860
[ "MIT" ]
null
null
null
stimuli/Python/one_file_per_item/jap/54_# math_if 18.py
ALFA-group/neural_program_comprehension
0253911f376cf282af5a5627e38e0a591ad38860
[ "MIT" ]
4
2021-02-17T20:21:31.000Z
2022-02-14T12:43:23.000Z
kumas, inus, ookamis = 10, 4, 16 if (kumas > inus) and (kumas > ookamis): print(ookamis) elif (inus > kumas) and (inus > ookamis): print(kumas) elif (ookamis > kumas) and (ookamis > inus): print(inus)
21.5
44
0.627907
30
215
4.5
0.333333
0.133333
0
0
0
0
0
0
0
0
0
0.02994
0.223256
215
9
45
23.888889
0.778443
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
0a28b902a132aba0c41404934b6bb9cc1c55ad4a
151
py
Python
Unit 4/Lesson 2/max.py
KevinBoxuGao/ICS3UI
2091a7c0276b888dd88f2063e6acd6e7ff7fb6fa
[ "MIT" ]
null
null
null
Unit 4/Lesson 2/max.py
KevinBoxuGao/ICS3UI
2091a7c0276b888dd88f2063e6acd6e7ff7fb6fa
[ "MIT" ]
null
null
null
Unit 4/Lesson 2/max.py
KevinBoxuGao/ICS3UI
2091a7c0276b888dd88f2063e6acd6e7ff7fb6fa
[ "MIT" ]
1
2020-03-09T16:22:33.000Z
2020-03-09T16:22:33.000Z
L = [92,456,34,7234,24,7,623,5,35] maxSoFar = L[0] for i in range(len(L)): if L[i] > maxSoFar: maxSoFar = L[i] print(maxSoFar)
15.1
35
0.536424
28
151
2.892857
0.678571
0.222222
0
0
0
0
0
0
0
0
0
0.192661
0.278146
151
9
36
16.777778
0.550459
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
0a346ef0d0467c8230f567fc85d2f59610c26c81
876
py
Python
generator/modules/__module__.py
vv111y/deepo
29843d1abe8a88a99828ae037f4be54369efb440
[ "MIT" ]
6,560
2017-10-27T15:36:34.000Z
2022-03-26T18:05:03.000Z
generator/modules/__module__.py
vv111y/deepo
29843d1abe8a88a99828ae037f4be54369efb440
[ "MIT" ]
134
2017-10-28T10:27:03.000Z
2022-03-09T11:03:47.000Z
generator/modules/__module__.py
vv111y/deepo
29843d1abe8a88a99828ae037f4be54369efb440
[ "MIT" ]
911
2017-10-27T21:43:32.000Z
2022-03-21T06:31:30.000Z
# -*- coding: utf-8 -*- def parametrized(dec): def layer(*args, **kwargs): def repl(f): return dec(f, *args, **kwargs) return repl return layer @parametrized def dependency(module, *_deps): module.deps = _deps return module @parametrized def source(module, _source): ...
16.846154
46
0.586758
96
876
5.125
0.354167
0.091463
0.097561
0.109756
0
0
0
0
0
0
0
0.0064
0.28653
876
51
47
17.176471
0.7808
0.023973
0
0.171429
0
0
0.032825
0
0
0
0
0
0
1
0.314286
false
0.028571
0
0.114286
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
0
0
1
1
0
0
3
0a4dca6818bcd0ad346d3139ece8f05e203978ae
381
py
Python
src/main.py
techlover10/StochasticSoundscape
6c86a3e5d671c657361ff8e1e78edc710af40c77
[ "MIT" ]
2
2017-05-02T10:40:43.000Z
2017-06-29T09:38:54.000Z
src/main.py
techlover10/StochasticSoundscape
6c86a3e5d671c657361ff8e1e78edc710af40c77
[ "MIT" ]
null
null
null
src/main.py
techlover10/StochasticSoundscape
6c86a3e5d671c657361ff8e1e78edc710af40c77
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # # Copyright © 2017 jared <jared@jared-devstation> # # Runs the main application. Uses existing data to # generate a new piece. import analyze from samplelib import SampleLib as slib from pydub import AudioSegment import audio, generate import util import sys import settings markov_data = analyz...
18.142857
51
0.779528
54
381
5.481481
0.666667
0.067568
0
0
0
0
0
0
0
0
0
0.01548
0.152231
381
20
52
19.05
0.897833
0.425197
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0.777778
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
6a85e7c7cd5a8ea09985464cb9963e8aa4f57cd9
79
py
Python
apps/__init__.py
PyCN/BlogBackendProject
144ea98d54c624cf93a69816779e4f3483ab80a2
[ "Apache-2.0" ]
335
2018-02-06T11:40:44.000Z
2022-02-01T07:55:24.000Z
apps/__init__.py
PyCN/BlogBackendProject
144ea98d54c624cf93a69816779e4f3483ab80a2
[ "Apache-2.0" ]
18
2018-03-11T05:02:27.000Z
2022-03-11T23:18:34.000Z
apps/__init__.py
PyCN/BlogBackendProject
144ea98d54c624cf93a69816779e4f3483ab80a2
[ "Apache-2.0" ]
83
2018-03-02T03:24:06.000Z
2021-12-15T05:04:09.000Z
# _*_ coding: utf-8 _*_ __author__ = 'LennonChin' __date__ = '2017/11/27 23:38'
26.333333
29
0.683544
11
79
3.818182
1
0
0
0
0
0
0
0
0
0
0
0.191176
0.139241
79
3
29
26.333333
0.426471
0.265823
0
0
0
0
0.45614
0
0
0
0
0
0
1
0
false
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6a96f6422b7a710e1e4c7124481be8bed3beb464
464
py
Python
molsysmt/tools/openmm_Simulation/__init__.py
dprada/molsysmt
83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d
[ "MIT" ]
null
null
null
molsysmt/tools/openmm_Simulation/__init__.py
dprada/molsysmt
83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d
[ "MIT" ]
null
null
null
molsysmt/tools/openmm_Simulation/__init__.py
dprada/molsysmt
83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d
[ "MIT" ]
null
null
null
from .is_openmm_Simulation import is_openmm_Simulation from .to_file_pdb import to_file_pdb from .to_molsysmt_Topology import to_molsysmt_Topology from .to_openmm_Context import to_openmm_Context from .to_openmm_Topology import to_openmm_Topology from .to_molsysmt_MolSys import to_molsysmt_MolSys from .to_molsysmt_Traj...
42.181818
58
0.900862
72
464
5.305556
0.208333
0.125654
0.109948
0
0
0
0
0
0
0
0
0
0.079741
464
10
59
46.4
0.894614
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
6abc37a16ca9a8beae6e51822b8928543c68dacf
129
py
Python
delphi/db.py
mikiec84/delphi
2e517f21e76e334c7dfb14325d25879ddf26d10d
[ "Apache-2.0" ]
25
2018-03-03T11:57:57.000Z
2022-01-16T21:19:54.000Z
delphi/db.py
mikiec84/delphi
2e517f21e76e334c7dfb14325d25879ddf26d10d
[ "Apache-2.0" ]
385
2018-02-21T16:52:06.000Z
2022-02-17T07:44:56.000Z
delphi/db.py
mikiec84/delphi
2e517f21e76e334c7dfb14325d25879ddf26d10d
[ "Apache-2.0" ]
19
2018-03-20T01:08:11.000Z
2021-09-29T01:04:49.000Z
from .paths import db_path from sqlalchemy import create_engine engine = create_engine(f"sqlite:///{str(db_path)}", echo=False)
25.8
63
0.775194
20
129
4.8
0.65
0.125
0
0
0
0
0
0
0
0
0
0
0.100775
129
4
64
32.25
0.827586
0
0
0
0
0
0.186047
0.186047
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6acb482fdce79a23c5a851461c416f7312d51fda
144
py
Python
EncryptDecrypt/apps.py
Midhus/musicalcrypto
84c4be2fc8049d454bed181effe3c62fbb77447a
[ "BSD-3-Clause" ]
null
null
null
EncryptDecrypt/apps.py
Midhus/musicalcrypto
84c4be2fc8049d454bed181effe3c62fbb77447a
[ "BSD-3-Clause" ]
null
null
null
EncryptDecrypt/apps.py
Midhus/musicalcrypto
84c4be2fc8049d454bed181effe3c62fbb77447a
[ "BSD-3-Clause" ]
null
null
null
from __future__ import unicode_literals from django.apps import AppConfig class EncryptdecryptConfig(AppConfig): name = 'EncryptDecrypt'
18
39
0.8125
15
144
7.466667
0.8
0
0
0
0
0
0
0
0
0
0
0
0.138889
144
7
40
20.571429
0.903226
0
0
0
0
0
0.097222
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6acf85518442f9c4e0f04fa471ad5391988c8ad8
622
py
Python
examples/test.py
Scrape-Goat/scrapegoat
85d289d9986ae5141b8f177d77c28fded20569e9
[ "MIT" ]
5
2021-09-20T13:36:13.000Z
2021-09-27T03:53:41.000Z
examples/test.py
Scrape-Goat/scrapegoat
85d289d9986ae5141b8f177d77c28fded20569e9
[ "MIT" ]
null
null
null
examples/test.py
Scrape-Goat/scrapegoat
85d289d9986ae5141b8f177d77c28fded20569e9
[ "MIT" ]
1
2022-01-29T07:18:28.000Z
2022-01-29T07:18:28.000Z
url = "https://hindi.newslaundry.com/2021/01/22/loan-developing-countries-and-epidemics#:~:text=120%20%E0%A4%A8%E0%A4%BF%E0%A4%AE%E0%A5%8D%E0%A4%A8%20%E0%A4%94%E0%A4%B0%20%E0%A4%AE%E0%A4%A7%E0%A5%8D%E0%A4%AF%E0%A4%AE%20%E0%A4%86%E0%A4%AF,8.1%20%E0%A4%85%E0%A4%B0%E0%A4%AC%20%E0%A4%A1%E0%A5%89%E0%A4%B2%E0%A4%B0%20%E0%A4%...
69.111111
363
0.705788
135
622
3.192593
0.422222
0.204176
0.111369
0.037123
0.139211
0.055684
0
0
0
0
0
0.178819
0.073955
622
9
364
69.111111
0.569444
0
0
0
0
0.125
0.632424
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.125
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6ad12ca7adebd9111de6e03f4ac866e5bbb9fd37
755
py
Python
allauth/socialaccount/providers/stripe/provider.py
swapnilt/django-mongoengine-allauth
c35127a2b140fad7a06989edb6ad9defffe9e657
[ "MIT" ]
null
null
null
allauth/socialaccount/providers/stripe/provider.py
swapnilt/django-mongoengine-allauth
c35127a2b140fad7a06989edb6ad9defffe9e657
[ "MIT" ]
null
null
null
allauth/socialaccount/providers/stripe/provider.py
swapnilt/django-mongoengine-allauth
c35127a2b140fad7a06989edb6ad9defffe9e657
[ "MIT" ]
1
2019-06-10T16:02:31.000Z
2019-06-10T16:02:31.000Z
from allauth.socialaccount import providers from allauth.socialaccount.providers.base import ProviderAccount from allauth.socialaccount.providers.oauth2.provider import OAuth2Provider from allauth.socialaccount import app_settings class StripeAccount(ProviderAccount): pass class StripeProvider(OAuth2Provider): ...
26.964286
74
0.736424
82
755
6.670732
0.47561
0.182815
0.175503
0.109689
0
0
0
0
0
0
0
0.004823
0.176159
755
27
75
27.962963
0.874598
0
0
0
0
0
0.103311
0.050331
0
0
0
0
0
1
0.157895
false
0.052632
0.210526
0.157895
0.842105
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
6ad701d4f2c1ea7a64408e530466385e6574050d
1,978
py
Python
merging.py
DanielYanger/Python-Projects
0d6cd76b8c10b063625e5ad80b5aaa6fc8ef7cd0
[ "MIT" ]
null
null
null
merging.py
DanielYanger/Python-Projects
0d6cd76b8c10b063625e5ad80b5aaa6fc8ef7cd0
[ "MIT" ]
null
null
null
merging.py
DanielYanger/Python-Projects
0d6cd76b8c10b063625e5ad80b5aaa6fc8ef7cd0
[ "MIT" ]
null
null
null
import os import shutil try: import pandas as pd except ImportError: print ("Trying to Install required modules: pandas") os.system('python -m pip install pandas') import csv import pandas as pd import json import sys from os import listdir from os.path import isfile, join username = os.getlogin() file = op...
24.419753
93
0.652679
287
1,978
4.327526
0.250871
0.193237
0.115942
0.128824
0.732689
0.732689
0.732689
0.655395
0.655395
0.655395
0
0.003995
0.240647
1,978
80
94
24.725
0.822903
0
0
0.639344
0
0
0.140546
0.053589
0
0
0
0
0
1
0
false
0
0.163934
0
0.163934
0.098361
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
6ad982f1fefded8b9424fc2f04910e0c7a3c9954
323
py
Python
test/python/spl/tk17/opt/.__splpy/packages/streamsx/spl/__init__.py
Jaimie-Jin1/streamsx.topology
6f316ec8e9ed1349c6f061d9bb7d03deb87e3d08
[ "Apache-2.0" ]
31
2015-06-24T06:21:14.000Z
2020-08-28T21:45:50.000Z
test/python/spl/tk17/opt/.__splpy/packages/streamsx/spl/__init__.py
Jaimie-Jin1/streamsx.topology
6f316ec8e9ed1349c6f061d9bb7d03deb87e3d08
[ "Apache-2.0" ]
1,203
2015-06-15T02:11:49.000Z
2021-03-22T09:47:54.000Z
test/python/spl/tk17/opt/.__splpy/packages/streamsx/spl/__init__.py
Jaimie-Jin1/streamsx.topology
6f316ec8e9ed1349c6f061d9bb7d03deb87e3d08
[ "Apache-2.0" ]
53
2015-05-28T21:14:16.000Z
2021-12-23T12:58:59.000Z
# coding=utf-8 # Licensed Materials - Property of IBM # Copyright IBM Corp. 2015,2017 """ SPL primitive operators that call a Python function or callable class are created by decorators provided :py:mod:`streamsx.spl.spl` Once created the operators become part of a toolkit and may be used like any other SPL operator. "...
32.3
76
0.773994
52
323
4.807692
0.846154
0
0
0
0
0
0
0
0
0
0
0.033088
0.157895
323
9
77
35.888889
0.886029
0.956656
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
0a7a1d631b470cdcc72cc0f32c4ddbe1f0044515
10,053
py
Python
tests/test_scene_saving_loading.py
StanfordVL/InteractiveGibsonEnv
58ac14cf62949008b6851a5a95602cd5084edffd
[ "MIT" ]
51
2019-06-17T06:01:40.000Z
2020-03-29T03:34:20.000Z
tests/test_scene_saving_loading.py
StanfordVL/InteractiveGibsonEnv
58ac14cf62949008b6851a5a95602cd5084edffd
[ "MIT" ]
25
2019-06-28T18:39:03.000Z
2020-03-19T17:53:55.000Z
tests/test_scene_saving_loading.py
StanfordVL/InteractiveGibsonEnv
58ac14cf62949008b6851a5a95602cd5084edffd
[ "MIT" ]
12
2019-08-01T21:03:44.000Z
2020-04-01T11:05:18.000Z
import os import numpy as np import pybullet as p from igibson.object_states import * from igibson.objects.articulated_object import URDFObject from igibson.objects.multi_object_wrappers import ObjectGrouper, ObjectMultiplexer from igibson.robots.behavior_robot import BehaviorRobot from igibson.robots.fetch import Fe...
42.778723
111
0.710037
1,436
10,053
4.635097
0.116992
0.075721
0.088341
0.113582
0.706731
0.705379
0.701472
0.696514
0.678936
0.66256
0
0.016655
0.157863
10,053
234
112
42.961538
0.769549
0.054611
0
0.555556
0
0
0.130893
0.041135
0
0
0
0
0.188889
1
0.033333
false
0
0.111111
0
0.144444
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0a92e10efcdece6cd590b54f4cf0acc01c01b58e
41,181
py
Python
vendor/github.com/youtube/vitess/test/vtgatev3_test.py
GoLandr/NrogBT
0dfcf87718954c730f44b8cf6c661082d47396d0
[ "MIT" ]
1
2017-06-29T04:57:43.000Z
2017-06-29T04:57:43.000Z
vendor/github.com/youtube/vitess/test/vtgatev3_test.py
GoLandr/NrogBT
0dfcf87718954c730f44b8cf6c661082d47396d0
[ "MIT" ]
null
null
null
vendor/github.com/youtube/vitess/test/vtgatev3_test.py
GoLandr/NrogBT
0dfcf87718954c730f44b8cf6c661082d47396d0
[ "MIT" ]
3
2017-04-03T21:07:17.000Z
2020-03-04T04:59:05.000Z
#!/usr/bin/env python # coding: utf-8 import itertools import logging import unittest import urllib import environment import keyspace_util import utils from vtdb import dbexceptions from vtdb import vtgate_cursor from vtdb import vtgate_client shard_0_master = None shard_1_master = None lookup_master = None keys...
33.237288
96
0.5834
5,301
41,181
4.306923
0.070175
0.040471
0.073584
0.048268
0.748938
0.709562
0.671981
0.646489
0.620078
0.606719
0
0.025583
0.264394
41,181
1,238
97
33.264136
0.728089
0.024793
0
0.598353
0
0.000915
0.358861
0.002815
0
0
0
0.000808
0.112534
0
null
null
0
0.009149
null
null
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
0a936f8bb00f0da48a3af24a238a04c6229359bf
1,102
py
Python
etl_framework/SqlSchemaConfig.py
pantheon-ci-bot/etl-framework
36d4c0d5c26ddd7c0bb2d2b99e3138b50a21c46f
[ "MIT" ]
2
2017-03-01T20:09:06.000Z
2019-02-08T17:10:16.000Z
etl_framework/SqlSchemaConfig.py
pantheon-ci-bot/etl-framework
36d4c0d5c26ddd7c0bb2d2b99e3138b50a21c46f
[ "MIT" ]
40
2015-10-10T15:02:21.000Z
2020-03-17T22:32:04.000Z
etl_framework/SqlSchemaConfig.py
pantheon-ci-bot/etl-framework
36d4c0d5c26ddd7c0bb2d2b99e3138b50a21c46f
[ "MIT" ]
2
2018-11-14T21:50:58.000Z
2022-03-07T20:59:27.000Z
"""parses configuration and returns useful things""" #pylint: disable=relative-import #pylint: disable=too-many-ancestors from .SchemaConfig import SchemaConfig from .config_mixins.SchemaMixin import SchemaMixin from .config_mixins.DropTableStatementMixin import DropTableStatementMixin from .config_mixins.CreateTableS...
36.733333
102
0.845735
89
1,102
10.303371
0.393258
0.076336
0.122137
0.056707
0
0
0
0
0
0
0
0
0.101633
1,102
29
103
38
0.926263
0.131579
0
0.3
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.5
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
0a9fa41125675d3173ac1c827066b10d57639dcb
349
py
Python
PythonAndOop/N21_decorators_3.py
jiauy/before_work
644789ca36fbca6693df6e80d7580f3cb4bcac4b
[ "MIT" ]
null
null
null
PythonAndOop/N21_decorators_3.py
jiauy/before_work
644789ca36fbca6693df6e80d7580f3cb4bcac4b
[ "MIT" ]
null
null
null
PythonAndOop/N21_decorators_3.py
jiauy/before_work
644789ca36fbca6693df6e80d7580f3cb4bcac4b
[ "MIT" ]
1
2020-09-15T02:00:47.000Z
2020-09-15T02:00:47.000Z
import datetime def my_decorator(inner): def inner_decorator(num_copy): print(datetime.datetime.utcnow()) inner(int(num_copy) + 1) print(datetime.datetime.utcnow()) return inner_decorator @my_decorator def decorated(number): print("This happened : " + str(number)) if __name__ ==...
20.529412
43
0.676218
42
349
5.285714
0.52381
0.099099
0.189189
0.243243
0
0
0
0
0
0
0
0.007194
0.203438
349
17
44
20.529412
0.791367
0
0
0.166667
0
0
0.068571
0
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.416667
0.25
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0aa69236cd114762ec25ca1473450003b1d69088
262
py
Python
Les 8/8_1.py
tloader11/TICT-V1PROG-15
dac7e991dcb11a397082bdceaf60a07b9bbc1a4a
[ "Unlicense" ]
null
null
null
Les 8/8_1.py
tloader11/TICT-V1PROG-15
dac7e991dcb11a397082bdceaf60a07b9bbc1a4a
[ "Unlicense" ]
null
null
null
Les 8/8_1.py
tloader11/TICT-V1PROG-15
dac7e991dcb11a397082bdceaf60a07b9bbc1a4a
[ "Unlicense" ]
null
null
null
bruin = set(["Boxtel","Best","Beukenlaan","Helmond 't Hout","Helmond","Helmond Brouwhuis","Deurne"]) groen = set(["Boxtel","Best","Beukenlaan","Geldrop","Heeze","Weert"]) print(bruin.intersection(groen)) print(bruin.difference(groen)) print(bruin.union(groen))
43.666667
100
0.709924
32
262
5.8125
0.5625
0.16129
0.139785
0.247312
0
0
0
0
0
0
0
0
0.049618
262
5
101
52.4
0.746988
0
0
0
0
0
0.389313
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
0ab9ad34b930128eff3ca240c127ab353eaef179
192
py
Python
tests/test_hello_world.py
xxxcypherxxx/dnerd
e6bda82c122648d03286d3a5f5375383ec4e1386
[ "MIT" ]
null
null
null
tests/test_hello_world.py
xxxcypherxxx/dnerd
e6bda82c122648d03286d3a5f5375383ec4e1386
[ "MIT" ]
null
null
null
tests/test_hello_world.py
xxxcypherxxx/dnerd
e6bda82c122648d03286d3a5f5375383ec4e1386
[ "MIT" ]
null
null
null
from dnerd import hello_world def test_hello_world__hello_world_invoked__print_hello_world(capsys): hello_world() cap = capsys.readouterr() assert cap.out == "Hello, World!\n"
19.2
69
0.75
27
192
4.888889
0.555556
0.454545
0
0
0
0
0
0
0
0
0
0
0.161458
192
9
70
21.333333
0.819876
0
0
0
0
0
0.078534
0
0
0
0
0
0.2
1
0.2
false
0
0.2
0
0.4
0.2
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
0abb135d0d6f4304e543d24c8df3f2bdc0e7fd1d
536
py
Python
vci/__version__.py
stonier/vcs_find
747637e08880f06a83993b88964777959fe39b6b
[ "BSD-3-Clause" ]
4
2017-02-19T20:08:37.000Z
2020-11-30T03:28:01.000Z
vci/__version__.py
stonier/vci
747637e08880f06a83993b88964777959fe39b6b
[ "BSD-3-Clause" ]
4
2017-01-23T13:34:20.000Z
2017-02-06T13:53:42.000Z
vci/__version__.py
stonier/vci
747637e08880f06a83993b88964777959fe39b6b
[ "BSD-3-Clause" ]
null
null
null
# # License: BSD # https://raw.githubusercontent.com/stonier/vci/devel/LICENSE # ############################################################################## # Imports ############################################################################## import pkg_resources #############################################...
31.529412
78
0.30597
28
536
5.642857
0.785714
0.151899
0
0
0
0
0
0
0
0
0
0.001984
0.059701
536
16
79
33.5
0.311508
0.23694
0
0
0
0
0.033708
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
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0ac2e306afc8831b79e5c57e0951d51d2be1a072
215
py
Python
functions/movieWrite.py
chiluf/visvis.dev
373846ea25044b7ca50f44c63dab4248e14deacd
[ "BSD-3-Clause" ]
null
null
null
functions/movieWrite.py
chiluf/visvis.dev
373846ea25044b7ca50f44c63dab4248e14deacd
[ "BSD-3-Clause" ]
null
null
null
functions/movieWrite.py
chiluf/visvis.dev
373846ea25044b7ca50f44c63dab4248e14deacd
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (C) 2012, Almar Klein # # Visvis is distributed under the terms of the (new) BSD License. # The full license can be found in 'license.txt'. from visvis.vvmovie import movieWrite
26.875
65
0.711628
33
215
4.636364
0.848485
0
0
0
0
0
0
0
0
0
0
0.028249
0.176744
215
7
66
30.714286
0.836158
0.767442
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
0acb43b8d0a9b4cdad22232384af9b435c832542
111
py
Python
tess/server/error_codes.py
ashishbaghudana/tess
b7ba6c6cd79cb22c04c584988a718f43679c4e9c
[ "MIT" ]
1
2019-04-19T18:19:33.000Z
2019-04-19T18:19:33.000Z
tess/server/error_codes.py
ashishbaghudana/tess
b7ba6c6cd79cb22c04c584988a718f43679c4e9c
[ "MIT" ]
5
2021-03-18T23:27:03.000Z
2022-03-11T23:44:49.000Z
tess/server/error_codes.py
ashishbaghudana/tess
b7ba6c6cd79cb22c04c584988a718f43679c4e9c
[ "MIT" ]
null
null
null
# Error codes due to an invalid request INVALID_REQUEST = 400 INVALID_ALGORITHM = 401 DOCUMENT_NOT_FOUND = 404
22.2
39
0.810811
17
111
5.058824
0.823529
0.325581
0
0
0
0
0
0
0
0
0
0.095745
0.153153
111
4
40
27.75
0.819149
0.333333
0
0
0
0
0
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
0acc931286681fed07644ee9c64506b34a1c93fd
406
py
Python
kusanagi/ghost/regression/nonlinearities.py
tsetimmy/kusanagi
868b301b6064af7d21f0f716aa4390e402f2e2ec
[ "MIT" ]
22
2018-08-04T04:51:27.000Z
2021-11-03T14:22:16.000Z
kusanagi/ghost/regression/nonlinearities.py
tsetimmy/kusanagi
868b301b6064af7d21f0f716aa4390e402f2e2ec
[ "MIT" ]
1
2021-11-16T12:41:14.000Z
2021-11-16T12:41:14.000Z
kusanagi/ghost/regression/nonlinearities.py
tsetimmy/kusanagi
868b301b6064af7d21f0f716aa4390e402f2e2ec
[ "MIT" ]
7
2018-08-04T04:51:29.000Z
2021-07-17T07:26:04.000Z
import theano.tensor as tt from lasagne.nonlinearities import * def silu(x): ''' aka SiL, Swish, etc. ''' return x*tt.nnet.sigmoid(x) def phi(x): return 0.5*(tt.erfc(-x/tt.sqrt(2))) def gelu(x): ''' similar to silu ''' return x*phi(x) def gelu2(x): ''' simila...
12.6875
39
0.524631
64
406
3.328125
0.5
0.098592
0.084507
0.131455
0.197183
0.197183
0
0
0
0
0
0.021053
0.29803
406
31
40
13.096774
0.726316
0.130542
0
0
0
0
0
0
0
0
0
0
0
1
0.416667
false
0
0.166667
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
0acdb69f322f167970a4ddcdb235ede99a965c59
165
py
Python
web/controllers/index.py
zhenxiyinger/FlaskOrderingMiniprogram
070385d7a522a2d0c8c8c6449f5c6eb12e49a74c
[ "Apache-2.0" ]
6
2020-04-30T08:05:51.000Z
2021-12-23T02:49:01.000Z
web/controllers/index.py
zhenxiyinger/FlaskOrderingMiniprogram
070385d7a522a2d0c8c8c6449f5c6eb12e49a74c
[ "Apache-2.0" ]
null
null
null
web/controllers/index.py
zhenxiyinger/FlaskOrderingMiniprogram
070385d7a522a2d0c8c8c6449f5c6eb12e49a74c
[ "Apache-2.0" ]
2
2020-06-15T03:30:45.000Z
2020-08-02T11:21:03.000Z
# -*- coding: utf-8 -*- from flask import Blueprint route_index = Blueprint('index_page', __name__) @route_index.route("/") def index(): return "Hello World"
16.5
47
0.678788
21
165
5
0.714286
0.190476
0
0
0
0
0
0
0
0
0
0.007194
0.157576
165
9
48
18.333333
0.748201
0.127273
0
0
0
0
0.15493
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
0ace490e375b54f83b216feac93fb93a5a4dff81
173
py
Python
webpage.py
VanillaBrooks/webpage
c91a7fc46a1759e1d64f8e2077c08b932c128a1a
[ "MIT" ]
null
null
null
webpage.py
VanillaBrooks/webpage
c91a7fc46a1759e1d64f8e2077c08b932c128a1a
[ "MIT" ]
null
null
null
webpage.py
VanillaBrooks/webpage
c91a7fc46a1759e1d64f8e2077c08b932c128a1a
[ "MIT" ]
null
null
null
import subprocess class webpage(): def __init__(self, browser_path): self.path = browser_path print(self.path) def open(self, url): subprocess.run([self.path,url])
19.222222
34
0.728324
25
173
4.8
0.52
0.2
0
0
0
0
0
0
0
0
0
0
0.138728
173
8
35
21.625
0.805369
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0.142857
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
0aec2df4129592958996eb07205ce44ae9650086
2,944
py
Python
pandapower/test/networks/test_cigre_networks.py
yougnen/pandapower
d206bd91e68dd03675f7fe8ddee141621ef437fc
[ "BSD-3-Clause" ]
104
2017-02-21T17:13:51.000Z
2022-03-21T13:52:27.000Z
pandapower/test/networks/test_cigre_networks.py
lvzhibai/pandapower
24ed3056558887cc89f67d15b5527523990ae9a1
[ "BSD-3-Clause" ]
126
2017-02-15T17:09:08.000Z
2018-07-16T13:25:15.000Z
pandapower/test/networks/test_cigre_networks.py
lvzhibai/pandapower
24ed3056558887cc89f67d15b5527523990ae9a1
[ "BSD-3-Clause" ]
57
2017-03-08T13:49:32.000Z
2022-02-28T10:36:55.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2016-2021 by University of Kassel and Fraunhofer Institute for Energy Economics # and Energy System Technology (IEE), Kassel. All rights reserved. import pandas as pd import pytest import pandapower as pp import pandapower.networks as pn def test_cigre_hv(): net = pn.cr...
27.773585
95
0.638587
494
2,944
3.643725
0.194332
0.225
0.3
0.079444
0.706111
0.66
0.66
0.648889
0.593333
0.574444
0
0.050693
0.216033
2,944
105
96
28.038095
0.729203
0.07303
0
0.590361
0
0
0.015424
0.008079
0
0
0
0
0.686747
1
0.036145
false
0
0.048193
0
0.084337
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
1
0
0
0
0
0
0
0
0
0
3
e403575c70bd7686a0330e4ea7fdd12644115aa5
308
py
Python
TL-ERC/setup.py
NouamaneTazi/conv-emotion
0c9dcb9cc5234a7ca8cf6af81aabe28ef3814d0e
[ "MIT" ]
488
2020-06-08T10:08:39.000Z
2022-03-31T08:50:02.000Z
TL-ERC/setup.py
tae898/conv-emotion
6ada88d3334d8f70f56036e2454dcd371888e7a3
[ "MIT" ]
37
2019-01-15T14:45:26.000Z
2020-05-24T04:03:09.000Z
TL-ERC/setup.py
tae898/conv-emotion
6ada88d3334d8f70f56036e2454dcd371888e7a3
[ "MIT" ]
154
2020-06-07T02:49:11.000Z
2022-03-23T14:01:22.000Z
import os DATASET_DIRECTORY_PATH = "./datasets/" GENERATIVE_WEIGHTS_DIRECTORY_PATH = "./generative_weights/" if not os.path.exists(DATASET_DIRECTORY_PATH): os.makedirs(DATASET_DIRECTORY_PATH) if not os.path.exists(GENERATIVE_WEIGHTS_DIRECTORY_PATH): os.makedirs(GENERATIVE_WEIGHTS_DIRECTORY_PATH)
28
59
0.821429
40
308
5.925
0.3
0.329114
0.253165
0.379747
0.14346
0
0
0
0
0
0
0
0.087662
308
11
60
28
0.843416
0
0
0
0
0
0.10356
0.067961
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
7c13bd078116ef238fb44ad2742ebf1a3e0be138
1,117
py
Python
setup.py
ITProKyle/awacs
752f01ff43c8de89f184be6a8f7e4cd64246698e
[ "BSD-2-Clause" ]
null
null
null
setup.py
ITProKyle/awacs
752f01ff43c8de89f184be6a8f7e4cd64246698e
[ "BSD-2-Clause" ]
null
null
null
setup.py
ITProKyle/awacs
752f01ff43c8de89f184be6a8f7e4cd64246698e
[ "BSD-2-Clause" ]
1
2020-04-03T06:37:42.000Z
2020-04-03T06:37:42.000Z
from setuptools import setup, find_packages setup( name='awacs', version='0.9.8', description="AWS Access Policy Language creation library", author="Mark Peek", author_email="mark@peek.org", url="https://github.com/cloudtools/awacs", license="New BSD license", packages=find_packages(), ...
31.914286
73
0.584602
122
1,117
5.303279
0.54918
0.176198
0.231839
0.160742
0
0
0
0
0
0
0
0.033215
0.2453
1,117
34
74
32.852941
0.734282
0
0
0
0
0.033333
0.586392
0
0
0
0
0
0
1
0
true
0
0.033333
0
0.033333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7c16233860e6577ac7f8393a3f8886d7786f7ff5
4,518
py
Python
mayan/apps/motd/tests/test_api.py
wan1869/dushuhu
934dd178e67140cffc6b9203e793fdf8bbc73a54
[ "Apache-2.0" ]
1
2021-02-24T15:03:23.000Z
2021-02-24T15:03:23.000Z
mayan/apps/motd/tests/test_api.py
wan1869/dushuhu
934dd178e67140cffc6b9203e793fdf8bbc73a54
[ "Apache-2.0" ]
null
null
null
mayan/apps/motd/tests/test_api.py
wan1869/dushuhu
934dd178e67140cffc6b9203e793fdf8bbc73a54
[ "Apache-2.0" ]
1
2021-04-30T09:44:14.000Z
2021-04-30T09:44:14.000Z
from rest_framework import status from mayan.apps.rest_api.tests.base import BaseAPITestCase from ..models import Message from ..permissions import ( permission_message_create, permission_message_delete, permission_message_edit, permission_message_view ) from .literals import ( TEST_LABEL, TEST_LABEL_EDI...
36.435484
74
0.743692
550
4,518
5.678182
0.118182
0.147935
0.076849
0.083253
0.789946
0.757605
0.724944
0.668908
0.668908
0.637528
0
0.00914
0.176627
4,518
123
75
36.731707
0.830376
0
0
0.556818
0
0
0.004205
0
0
0
0
0
0.318182
1
0.113636
false
0
0.068182
0
0.193182
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7c44b8f8cef39abbd4c5cc1f6b0886f7888c69d6
572
py
Python
mlinspect/_inspector_result.py
tum-db/mlinspect4sql
863f1a98baff92341722b4fb180008cf9b518b80
[ "Apache-2.0" ]
null
null
null
mlinspect/_inspector_result.py
tum-db/mlinspect4sql
863f1a98baff92341722b4fb180008cf9b518b80
[ "Apache-2.0" ]
null
null
null
mlinspect/_inspector_result.py
tum-db/mlinspect4sql
863f1a98baff92341722b4fb180008cf9b518b80
[ "Apache-2.0" ]
null
null
null
""" Data class used as result of the PipelineExecutor """ import dataclasses from typing import Dict import networkx import pandas from mlinspect.checks._check import Check, CheckResult from mlinspect.inspections._inspection import Inspection @dataclasses.dataclass class InspectorResult: """ The class the P...
24.869565
92
0.777972
71
572
6.098592
0.521127
0.08776
0
0
0
0
0
0
0
0
0
0
0.157343
572
22
93
26
0.89834
0.192308
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.916667
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
7c45fbd686af66d6946a3381dcf6865d43033be6
155
py
Python
tests/config_example.py
su27/qcloud_cos_py3
c988ed5e1b1665330ea65ad936a1365e33c5448b
[ "MIT" ]
8
2017-09-25T03:09:13.000Z
2021-04-23T08:38:20.000Z
tests/config_example.py
su27/qcloud_cos_py3
c988ed5e1b1665330ea65ad936a1365e33c5448b
[ "MIT" ]
1
2017-12-25T08:37:49.000Z
2018-03-22T11:05:10.000Z
tests/config_example.py
su27/qcloud_cos_py3
c988ed5e1b1665330ea65ad936a1365e33c5448b
[ "MIT" ]
null
null
null
# Copy this file to config.py and fill the blanks QCLOUD_APP_ID = '' QCLOUD_SECRET_ID = '' QCLOUD_SECRET_KEY = '' QCLOUD_BUCKET = '' QCLOUD_REGION = 'sh'
19.375
49
0.722581
24
155
4.333333
0.75
0.153846
0.269231
0
0
0
0
0
0
0
0
0
0.167742
155
7
50
22.142857
0.806202
0.303226
0
0
0
0
0.018868
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7c4a902aa883f9924351e0be18086b046af86597
224
py
Python
hotspots/urls.py
pszgaspar/protwis
4989a67175ef3c95047d795c843cf6b9cf4141fa
[ "Apache-2.0" ]
21
2016-01-20T09:33:14.000Z
2021-12-20T19:19:45.000Z
hotspots/urls.py
pszgaspar/protwis
4989a67175ef3c95047d795c843cf6b9cf4141fa
[ "Apache-2.0" ]
75
2016-02-26T16:29:58.000Z
2022-03-21T12:35:13.000Z
hotspots/urls.py
pszgaspar/protwis
4989a67175ef3c95047d795c843cf6b9cf4141fa
[ "Apache-2.0" ]
77
2016-01-22T08:44:26.000Z
2022-02-01T15:54:56.000Z
from django.conf.urls import url from hotspots import views urlpatterns = [ url(r'^hotspotsview$', views.hotspotsView, name='hotspotsView'), url(r'^hotspotsdata$', views.getHotspots, name='hotspotsJSON') ]
24.888889
69
0.705357
25
224
6.32
0.6
0.050633
0
0
0
0
0
0
0
0
0
0
0.160714
224
8
70
28
0.840426
0
0
0
0
0
0.240741
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
7c5196dfb4aecf1ad7e63edaac30b083e4910fa3
136
py
Python
vcontrol/cli/version.py
dannypadilla/vcontrol
fe929e6138ec87e23cabd69b5c97ddb29603d0c6
[ "Apache-2.0" ]
5
2016-08-01T23:25:18.000Z
2019-06-02T00:10:32.000Z
vcontrol/cli/version.py
dannypadilla/vcontrol
fe929e6138ec87e23cabd69b5c97ddb29603d0c6
[ "Apache-2.0" ]
120
2016-08-02T02:00:31.000Z
2017-11-01T02:38:11.000Z
vcontrol/cli/version.py
dannypadilla/vcontrol
fe929e6138ec87e23cabd69b5c97ddb29603d0c6
[ "Apache-2.0" ]
15
2016-08-01T23:26:00.000Z
2019-11-09T13:17:54.000Z
import requests class VersionC: def version(self, args, daemon): r = requests.get(daemon+"/version") return r.text
19.428571
43
0.639706
17
136
5.117647
0.764706
0
0
0
0
0
0
0
0
0
0
0
0.25
136
6
44
22.666667
0.852941
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
7c52e83389e774bb7625ea4c5f92b183e6699a07
1,277
py
Python
demo_board.py
dHannasch/py_libsudoku
213526ff99ddc5406b32caf803fdf9081e125b5c
[ "MIT" ]
null
null
null
demo_board.py
dHannasch/py_libsudoku
213526ff99ddc5406b32caf803fdf9081e125b5c
[ "MIT" ]
null
null
null
demo_board.py
dHannasch/py_libsudoku
213526ff99ddc5406b32caf803fdf9081e125b5c
[ "MIT" ]
null
null
null
import py_libsudoku clear_board = py_libsudoku.Board() print("clear_board = {}" .format(clear_board)) print("Is clear_board empty? {}" .format(clear_board.isEmpty)) print("Is clear_board valid? {}" .format(clear_board.isValid)) print("Is clear_board complete? {}" .format(clear_board.isCompl...
22.803571
65
0.696163
206
1,277
3.966019
0.247573
0.134639
0.24235
0.176255
0.343941
0.237454
0.183599
0.183599
0.183599
0.183599
0
0.017691
0.158966
1,277
55
66
23.218182
0.743017
0.025059
0
0.277778
0
0
0.273752
0
0
0
0
0
0
1
0
false
0
0.027778
0
0.027778
0.5
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
0
1
0
3
7c6199fd16d391c1960d098c67914c9b2a02ff7d
932
py
Python
tests/file_uploads/uploadhandler.py
imjvdn/scratch-game-1
5dffd79f17e0b66d3d2e57262749311aca28e850
[ "PSF-2.0", "BSD-3-Clause" ]
19
2015-07-07T02:08:59.000Z
2021-11-08T11:05:40.000Z
tests/file_uploads/uploadhandler.py
imjvdn/scratch-game-1
5dffd79f17e0b66d3d2e57262749311aca28e850
[ "PSF-2.0", "BSD-3-Clause" ]
57
2018-10-08T12:37:30.000Z
2018-10-08T17:39:26.000Z
tests/file_uploads/uploadhandler.py
imjvdn/scratch-game-1
5dffd79f17e0b66d3d2e57262749311aca28e850
[ "PSF-2.0", "BSD-3-Clause" ]
145
2019-03-14T18:54:45.000Z
2022-03-04T20:25:31.000Z
""" Upload handlers to test the upload API. """ from django.core.files.uploadhandler import FileUploadHandler, StopUpload class QuotaUploadHandler(FileUploadHandler): """ This test upload handler terminates the connection if more than a quota (5MB) is uploaded. """ QUOTA = 5 * 2 ** 20 # 5 MB ...
24.526316
75
0.682403
111
932
5.531532
0.54955
0.045603
0.07329
0.061889
0.114007
0.114007
0.114007
0.114007
0
0
0
0.009709
0.226395
932
37
76
25.189189
0.841886
0.184549
0
0.111111
0
0
0.006868
0
0
0
0
0
0
1
0.222222
false
0.055556
0.055556
0.055556
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
7c7be1b56a08c00f8f3f5accdb979940aa8e4422
702
py
Python
src/cli/__init__.py
foundriesio/plug-and-trust-ssscli
f77c65d5b3de649d7db1c023ee41d871f77cd224
[ "Apache-2.0" ]
null
null
null
src/cli/__init__.py
foundriesio/plug-and-trust-ssscli
f77c65d5b3de649d7db1c023ee41d871f77cd224
[ "Apache-2.0" ]
null
null
null
src/cli/__init__.py
foundriesio/plug-and-trust-ssscli
f77c65d5b3de649d7db1c023ee41d871f77cd224
[ "Apache-2.0" ]
null
null
null
# # Copyright 2019,2020 NXP # SPDX-License-Identifier: Apache-2.0 # # """License text""" import os import logging from . import cli from . import cli_get from . import cli_set from . import cli_generate from . import cli_cloud from . import cli_se05x from . import cli_a71ch from . import cli_refpem from . import cli...
21.272727
56
0.698006
113
702
4.19469
0.477876
0.189873
0.246835
0.067511
0.181435
0.181435
0.181435
0.181435
0.181435
0.181435
0
0.031304
0.180912
702
32
57
21.9375
0.793043
0.203704
0
0.2
0
0
0.124314
0
0
0
0
0
0
1
0
false
0
0.55
0
0.55
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
7c83d5faa62ef7f1cb8cb58c6181b361f03b5775
474
py
Python
tests/test_ordinal.py
philihp/openskill.py
657a7ddeb81564a23b9aaf19ba225d82b1193046
[ "MIT" ]
null
null
null
tests/test_ordinal.py
philihp/openskill.py
657a7ddeb81564a23b9aaf19ba225d82b1193046
[ "MIT" ]
null
null
null
tests/test_ordinal.py
philihp/openskill.py
657a7ddeb81564a23b9aaf19ba225d82b1193046
[ "MIT" ]
null
null
null
import pytest from openskill import ordinal, Rating def test_ordinal(): r = Rating(mu=23.4, sigma=1.21) assert ordinal(agent=r) == 19.77 assert ordinal(agent=[23.4, 1.21]) == 19.77 with pytest.raises(ValueError): ordinal(agent=1) with pytest.raises(ValueError): ordinal(agent=[1...
20.608696
47
0.635021
65
474
4.6
0.4
0.240803
0.214047
0.347826
0.521739
0.521739
0.521739
0.391304
0.391304
0.391304
0
0.070461
0.221519
474
22
48
21.545455
0.739837
0
0
0.285714
0
0
0.027426
0
0
0
0
0
0.142857
1
0.071429
false
0
0.142857
0
0.214286
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
7c96c2ab3da6e6d0ff6a514eb8b276a585b3cd56
2,065
py
Python
tests/mongoengine/test_percentile.py
ankane/tailslide
fa3d2b4d8ab94951f557c19fb9bc9ad5a429a646
[ "MIT" ]
4
2021-09-30T01:05:04.000Z
2022-01-15T21:41:48.000Z
tests/mongoengine/test_percentile.py
ankane/tailslide
fa3d2b4d8ab94951f557c19fb9bc9ad5a429a646
[ "MIT" ]
null
null
null
tests/mongoengine/test_percentile.py
ankane/tailslide
fa3d2b4d8ab94951f557c19fb9bc9ad5a429a646
[ "MIT" ]
null
null
null
from .conftest import User from mongoengine.errors import LookUpError import pytest class TestPercentile: def setup_method(self, test_method): User.objects.all().delete() def test_even(self): for n in [1, 2, 3, 4]: User(visits_count=n).save() assert 3.25 == User.objects.p...
30.367647
82
0.617433
289
2,065
4.283737
0.262976
0.15105
0.186591
0.218094
0.617932
0.49273
0.423263
0.400646
0.389338
0.389338
0
0.042263
0.255206
2,065
67
83
30.820896
0.762679
0
0
0.340426
0
0
0.093462
0
0
0
0
0
0.212766
1
0.255319
false
0
0.06383
0
0.340426
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3