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
130dd9548c24c83af1f1809cd15b6ab2e5f8c696
179
py
Python
Beginner/livesession/stringmodule.py
vishipayyallore/LearningPython_2019
f72d5af61ad96721442b7ebfc33518c2a879eb64
[ "MIT" ]
null
null
null
Beginner/livesession/stringmodule.py
vishipayyallore/LearningPython_2019
f72d5af61ad96721442b7ebfc33518c2a879eb64
[ "MIT" ]
null
null
null
Beginner/livesession/stringmodule.py
vishipayyallore/LearningPython_2019
f72d5af61ad96721442b7ebfc33518c2a879eb64
[ "MIT" ]
null
null
null
def string_strip(stringvalue: str): return "".join(stringvalue.split()) def string_mask(stringvalue: str): for char in stringvalue: print(ord(char), end=' | ')
19.888889
39
0.659218
22
179
5.272727
0.681818
0.155172
0
0
0
0
0
0
0
0
0
0
0.195531
179
8
40
22.375
0.805556
0
0
0
0
0
0.016854
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.6
0.2
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
1
1
0
0
5
13241dac8bc8e63ee8e8461cf14769a72cddde34
1,295
py
Python
allennlp/modules/__init__.py
tony-tong-punchh/allennlp
9a13ab570025a0c1659986009d2abddb2e652020
[ "Apache-2.0" ]
17
2019-11-19T19:02:35.000Z
2021-11-16T16:19:07.000Z
allennlp/modules/__init__.py
tony-tong-punchh/allennlp
9a13ab570025a0c1659986009d2abddb2e652020
[ "Apache-2.0" ]
1
2022-01-15T07:07:02.000Z
2022-01-15T11:54:48.000Z
allennlp/modules/__init__.py
tony-tong-punchh/allennlp
9a13ab570025a0c1659986009d2abddb2e652020
[ "Apache-2.0" ]
10
2019-12-06T11:32:37.000Z
2022-01-06T15:39:09.000Z
""" Custom PyTorch `Module <http://pytorch.org/docs/master/nn.html#torch.nn.Module>`_ s that are used as components in AllenNLP :class:`~allennlp.models.model.Model` s. """ from allennlp.modules.conditional_random_field import ConditionalRandomField from allennlp.modules.elmo import Elmo from allennlp.modules.feedforw...
47.962963
81
0.874131
160
1,295
6.95625
0.43125
0.204852
0.324349
0
0
0
0
0
0
0
0
0.003331
0.072587
1,295
26
82
49.807692
0.923397
0.126641
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
132e249a2193962d6f5c83915a56f7da3f16c4fc
354
py
Python
terrascript/data/hcp.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/data/hcp.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/data/hcp.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/data/hcp.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:18:10 UTC) # # For imports without namespace, e.g. # # >>> import terrascript.data.hcp # # instead of # # >>> import terrascript.data.hashicorp.hcp # # This is only available for 'official' and 'partner' providers. from terras...
23.6
73
0.725989
49
354
5.244898
0.714286
0.233463
0.140078
0.210117
0
0
0
0
0
0
0
0.039604
0.144068
354
14
74
25.285714
0.808581
0.799435
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
1349a7113f52129d805055fff8221e06cf90575d
1,216
py
Python
SAXPY/Py/SAXPY.py
Volya1337/Semestr_Labs
98adb421ac8c5035d93ecb33e6c220637b36226b
[ "MIT" ]
null
null
null
SAXPY/Py/SAXPY.py
Volya1337/Semestr_Labs
98adb421ac8c5035d93ecb33e6c220637b36226b
[ "MIT" ]
null
null
null
SAXPY/Py/SAXPY.py
Volya1337/Semestr_Labs
98adb421ac8c5035d93ecb33e6c220637b36226b
[ "MIT" ]
null
null
null
import random import time c = float(input("1 - float\n" "2 - int\n")) if c == 1: def saxpy(n, a, x, y): i = int(0) while i < n: y = a*x+y i += 1 return y i = int(0) x = [] a = random.uniform(1, 1000) y = random.uniform(1, 1000) w...
22.109091
59
0.433388
189
1,216
2.777778
0.206349
0.022857
0.022857
0.030476
0.754286
0.754286
0.754286
0.754286
0.651429
0.651429
0
0.078378
0.391447
1,216
54
60
22.518519
0.631081
0
0
0.72
0
0
0.078947
0.055921
0
0
0
0
0
1
0.04
false
0
0.04
0
0.12
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
1350e30182445fec07c6a3a37ab5a5d595fa15f8
202
py
Python
gbvision/utils/denoising/__init__.py
GreenBlitz/GBVision
7b6f1dfc09e28ea1e5e771af9cb222412d71c7bb
[ "Apache-2.0" ]
16
2019-04-15T18:52:58.000Z
2022-02-13T23:00:46.000Z
gbvision/utils/denoising/__init__.py
GreenBlitz/GBVision
7b6f1dfc09e28ea1e5e771af9cb222412d71c7bb
[ "Apache-2.0" ]
2
2019-04-15T19:00:05.000Z
2019-04-19T15:47:21.000Z
gbvision/utils/denoising/__init__.py
GreenBlitz/GBVision
7b6f1dfc09e28ea1e5e771af9cb222412d71c7bb
[ "Apache-2.0" ]
3
2019-05-03T13:48:25.000Z
2019-09-22T14:03:49.000Z
from .erode import Erode from .dilate import Dilate from .erode_and_dilate import ErodeAndDilate from .median_blur import MedianBlur from .distance_transform_threshold import DistanceTransformThreshold
33.666667
68
0.876238
25
202
6.88
0.52
0.104651
0
0
0
0
0
0
0
0
0
0
0.09901
202
5
69
40.4
0.945055
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
13633e6de8443fcb70abb53171a0779ce3709a88
116
py
Python
words/admin.py
owenstranathan/Learnease
7bd03e81b9eef041a8a20a90abe70dbc17ea4396
[ "MIT" ]
null
null
null
words/admin.py
owenstranathan/Learnease
7bd03e81b9eef041a8a20a90abe70dbc17ea4396
[ "MIT" ]
null
null
null
words/admin.py
owenstranathan/Learnease
7bd03e81b9eef041a8a20a90abe70dbc17ea4396
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Word # Register your models here. admin.site.register(Word)
14.5
32
0.784483
17
116
5.352941
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.146552
116
7
33
16.571429
0.919192
0.224138
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
1364ae603a1bd207bef80221eea0896b332af8cc
170
py
Python
tests/test_django_proj/transformed_urls.py
HakurouKen/django-auto-route
1f98ba24cb04e271b2c475524eb797a1bc12ae56
[ "MIT" ]
null
null
null
tests/test_django_proj/transformed_urls.py
HakurouKen/django-auto-route
1f98ba24cb04e271b2c475524eb797a1bc12ae56
[ "MIT" ]
null
null
null
tests/test_django_proj/transformed_urls.py
HakurouKen/django-auto-route
1f98ba24cb04e271b2c475524eb797a1bc12ae56
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from autoroute import Inspector def transformer(url): return url.replace('views/','') urlpatterns = Inspector(transformer=transformer).run()
24.285714
54
0.711765
19
170
6.368421
0.789474
0
0
0
0
0
0
0
0
0
0
0.006711
0.123529
170
6
55
28.333333
0.805369
0.123529
0
0
0
0
0.040816
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
138252bd43d359bcf61170d1bb93e37b75b0cc55
106
py
Python
spidy/__init__.py
AlexPereverzyev/spidy
2dfbafdf29808e0f4d107e898f3ff1e8b2d27f27
[ "BSD-3-Clause" ]
1
2015-01-21T16:08:00.000Z
2015-01-21T16:08:00.000Z
spidy/__init__.py
AlexPereverzyev/spidy
2dfbafdf29808e0f4d107e898f3ff1e8b2d27f27
[ "BSD-3-Clause" ]
null
null
null
spidy/__init__.py
AlexPereverzyev/spidy
2dfbafdf29808e0f4d107e898f3ff1e8b2d27f27
[ "BSD-3-Clause" ]
1
2017-10-10T11:50:13.000Z
2017-10-10T11:50:13.000Z
''' Spidy is a scripting language for Web scraping. ''' from shell import * from spidy.document import *
21.2
55
0.726415
15
106
5.133333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.179245
106
5
56
21.2
0.885057
0.443396
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
13a7fb9c7fc7dbb75526abd871a410f1adbbd7f2
118
py
Python
expectexception/__init__.py
thedataincubator/expectexception
9a78c9379354825e5c6752115e880de513bb9e1b
[ "BSD-3-Clause" ]
13
2017-06-27T20:35:03.000Z
2021-09-23T13:59:52.000Z
expectexception/__init__.py
znicholls/expectexception
684560f4dfb8cb69eb0693a1605ec0e81fd9b42a
[ "BSD-3-Clause" ]
3
2019-01-30T10:47:44.000Z
2019-07-15T22:02:23.000Z
expectexception/__init__.py
znicholls/expectexception
684560f4dfb8cb69eb0693a1605ec0e81fd9b42a
[ "BSD-3-Clause" ]
3
2018-11-17T20:09:17.000Z
2021-10-15T03:29:32.000Z
from .excpectexceptionmagic import ExceptionMagics, ExceptionExpected get_ipython().register_magics(ExceptionMagics)
29.5
69
0.881356
10
118
10.2
0.9
0
0
0
0
0
0
0
0
0
0
0
0.059322
118
3
70
39.333333
0.918919
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
1
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
5
13b17a3eb9bf794913ed2dcdb398b833fbf98be3
209
py
Python
pyads/commands/writeresponse.py
turnerpeterk/pyads
afa952bb6f7eefe22a31624202b3c2aa06971721
[ "MIT" ]
38
2015-01-14T11:06:21.000Z
2022-01-28T21:48:55.000Z
pyads/commands/writeresponse.py
demirelcan/pyads
256e06a33f7ed76cc596b36f0ad00615a42c885d
[ "MIT" ]
18
2015-01-31T18:35:41.000Z
2022-03-15T12:31:40.000Z
pyads/commands/writeresponse.py
demirelcan/pyads
256e06a33f7ed76cc596b36f0ad00615a42c885d
[ "MIT" ]
16
2016-02-22T11:42:16.000Z
2022-02-10T17:01:48.000Z
import struct from .. import AmsPacket from .adsresponse import AdsResponse class WriteResponse(AdsResponse): def __init__(self, responseAmsPacket): AdsResponse.__init__(self, responseAmsPacket)
23.222222
53
0.784689
20
209
7.8
0.55
0.102564
0.320513
0
0
0
0
0
0
0
0
0
0.148325
209
8
54
26.125
0.876404
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
13c59ccc14f4c5b3b3473fe32335269e24df548c
15,444
py
Python
acapi2/tests/test_environments.py
dhiraj-gupta/python-acquia-cloud-2
96f98a5046920fb5474bf480b49055f1bcf17436
[ "MIT" ]
null
null
null
acapi2/tests/test_environments.py
dhiraj-gupta/python-acquia-cloud-2
96f98a5046920fb5474bf480b49055f1bcf17436
[ "MIT" ]
null
null
null
acapi2/tests/test_environments.py
dhiraj-gupta/python-acquia-cloud-2
96f98a5046920fb5474bf480b49055f1bcf17436
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Test Acquia Environments""" import requests_mock from acapi2.tests import BaseTest @requests_mock.Mocker() class TestEnvironments(BaseTest): def test_code_switch(self, mocker): env_id = "24-a47ac10b-58cc-4372-a567-0e02b2c3d470" uri = "{base_uri...
37.668293
104
0.452927
1,366
15,444
4.937042
0.146413
0.052639
0.051898
0.066726
0.775208
0.748814
0.733689
0.713671
0.707295
0.673191
0
0.090094
0.429358
15,444
409
105
37.760391
0.675139
0.004403
0
0.476471
0
0.002941
0.214328
0.106708
0
0
0
0
0.064706
1
0.038235
false
0
0.005882
0
0.047059
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
b92b32afd81510b693e746220541e20bf68d7f0e
673
py
Python
utils/iam_config.py
georgeretsi/defHTR
91d48aad0289997b5fd17a73d36d4208169ed796
[ "MIT" ]
2
2021-04-19T14:14:35.000Z
2022-03-17T21:12:36.000Z
utils/iam_config.py
georgeretsi/defHTR
91d48aad0289997b5fd17a73d36d4208169ed796
[ "MIT" ]
null
null
null
utils/iam_config.py
georgeretsi/defHTR
91d48aad0289997b5fd17a73d36d4208169ed796
[ "MIT" ]
1
2021-12-01T06:25:48.000Z
2021-12-01T06:25:48.000Z
# iam configuration # HARDCODED !! CHANGE THIS !! trainset_file = '/media/ncsr/bee4cbda-e313-4acf-9bc8-817a69ad98ae/IAM/set_split/trainset.txt' testset_file = '/media/ncsr/bee4cbda-e313-4acf-9bc8-817a69ad98ae/IAM/set_split/testset.txt' line_file = '/media/ncsr/bee4cbda-e313-4acf-9bc8-817a69ad98ae/IAM/ascii/lines.txt...
44.866667
93
0.789004
97
673
5.360825
0.28866
0.121154
0.228846
0.282692
0.696154
0.696154
0.696154
0.696154
0.696154
0.419231
0
0.154331
0.056464
673
15
94
44.866667
0.664567
0.068351
0
0
0
0.5
0.7728
0.7472
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
b9337c33a50bb98a6a912cff046cb5c5903664ad
169,797
py
Python
Term Project/Game.py
RICHARDAHN1219/112-Term-Project
fb8451ffba3dada6064857cc12989c3aeebb2310
[ "MIT" ]
null
null
null
Term Project/Game.py
RICHARDAHN1219/112-Term-Project
fb8451ffba3dada6064857cc12989c3aeebb2310
[ "MIT" ]
null
null
null
Term Project/Game.py
RICHARDAHN1219/112-Term-Project
fb8451ffba3dada6064857cc12989c3aeebb2310
[ "MIT" ]
null
null
null
import math import random import string #from pygame import mixer from tkinter import * import pygame from PIL import * from cmu_112_graphics import * class HomeScreen(App): def appStarted(self): self.image1 = self.loadImage('background1.jpg') #Background image for the screen, a person's hand on...
56.448471
213
0.536977
15,900
169,797
5.715157
0.050755
0.039628
0.051634
0.022009
0.810115
0.762664
0.732247
0.700675
0.665911
0.622674
0
0.056408
0.371991
169,797
3,007
214
56.467243
0.795769
0.044341
0
0.540008
0
0.002319
0.027458
0.00664
0
0
0
0
0
1
0.029764
false
0.000387
0.002706
0.000387
0.04368
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
b9416273c424e3f249c29e0eabe21968396b3c64
285
py
Python
mqt/ddsim/__init__.py
cda-tum/ddsim
79743fb581bd9d2b3cd9d0a460914257c8a8e584
[ "MIT" ]
5
2022-03-03T05:18:03.000Z
2022-03-30T00:36:06.000Z
mqt/ddsim/__init__.py
cda-tum/ddsim
79743fb581bd9d2b3cd9d0a460914257c8a8e584
[ "MIT" ]
9
2022-02-28T17:01:45.000Z
2022-03-25T16:07:58.000Z
mqt/ddsim/__init__.py
cda-tum/ddsim
79743fb581bd9d2b3cd9d0a460914257c8a8e584
[ "MIT" ]
2
2022-03-03T07:30:19.000Z
2022-03-07T09:46:53.000Z
from mqt.ddsim.provider import DDSIMProvider from mqt.ddsim.pyddsim import CircuitSimulator, HybridCircuitSimulator, PathCircuitSimulator, UnitarySimulator, HybridMode, \ PathSimulatorMode, PathSimulatorConfiguration, ConstructionMode, get_matrix, dump_tensor_network, __version__
71.25
125
0.866667
25
285
9.6
0.84
0.058333
0.1
0
0
0
0
0
0
0
0
0
0.080702
285
3
126
95
0.916031
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
b95d9cf81a968aa23f9493a366fe1a621c0e0dd5
132
py
Python
microstates/__init__.py
DraganaMana/mne_microstates
de3dc76e63e49fb4b61810bf737d4d5d11f5b2f0
[ "MIT" ]
1
2021-06-02T09:14:30.000Z
2021-06-02T09:14:30.000Z
microstates/__init__.py
DraganaMana/mne_microstates
de3dc76e63e49fb4b61810bf737d4d5d11f5b2f0
[ "MIT" ]
null
null
null
microstates/__init__.py
DraganaMana/mne_microstates
de3dc76e63e49fb4b61810bf737d4d5d11f5b2f0
[ "MIT" ]
1
2020-06-15T13:59:07.000Z
2020-06-15T13:59:07.000Z
__version__ = '0.1.dev' from . import analysis from . import viz from . microstates import segment, seg_smoothing, mark_border_msts
26.4
66
0.787879
19
132
5.105263
0.789474
0.206186
0
0
0
0
0
0
0
0
0
0.017544
0.136364
132
5
66
26.4
0.833333
0
0
0
0
0
0.052632
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
b99e3e2d0314dd199906f561f102327cb751d1d9
160
py
Python
break_my_code/2019-08-22_beginner_lost_without_a_map/beginner_lost_without_a_map.py
erik-kristofer-anderson/codewars
fda780f40d1a2d8c5210cfd6ccf81148444bc9e8
[ "MIT" ]
null
null
null
break_my_code/2019-08-22_beginner_lost_without_a_map/beginner_lost_without_a_map.py
erik-kristofer-anderson/codewars
fda780f40d1a2d8c5210cfd6ccf81148444bc9e8
[ "MIT" ]
1
2019-07-27T15:42:25.000Z
2019-07-27T15:42:25.000Z
break_my_code/2019-08-22_beginner_lost_without_a_map/beginner_lost_without_a_map.py
erik-kristofer-anderson/Codewars
fda780f40d1a2d8c5210cfd6ccf81148444bc9e8
[ "MIT" ]
null
null
null
# good example of using map # from kata here # https://www.codewars.com/kata/beginner-lost-without-a-map def maps(a): return list(map(lambda x: x * 2, a))
22.857143
59
0.6875
29
160
3.793103
0.793103
0
0
0
0
0
0
0
0
0
0
0.007463
0.1625
160
6
60
26.666667
0.813433
0.6125
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
b9ec625cf293682c5265b31dc4a7a802a102cd9e
83
py
Python
pypinm-master/moduli/test_prvi.py
CrtomirJuren/python-delavnica
db96470d2cb1870390545cfbe511552a9ef08720
[ "MIT" ]
null
null
null
pypinm-master/moduli/test_prvi.py
CrtomirJuren/python-delavnica
db96470d2cb1870390545cfbe511552a9ef08720
[ "MIT" ]
null
null
null
pypinm-master/moduli/test_prvi.py
CrtomirJuren/python-delavnica
db96470d2cb1870390545cfbe511552a9ef08720
[ "MIT" ]
null
null
null
def kvadrat(x): return x**2 + 1 def test_kvadrat(): assert kvadrat(2) == 4
16.6
26
0.60241
14
83
3.5
0.642857
0
0
0
0
0
0
0
0
0
0
0.063492
0.240964
83
5
26
16.6
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.5
false
0
0
0.25
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
b9fef21aee1564cc1655fa596c62724f34a5be11
20
py
Python
plugins/Python/src/python/MinVR/__init__.py
elainejiang8/MinVR
d3905b0a7b6b3e324e6ab3773ef29f651b8ad9d7
[ "BSD-3-Clause" ]
18
2016-08-04T16:09:52.000Z
2022-01-17T15:43:37.000Z
plugins/Python/src/python/MinVR/__init__.py
elainejiang8/MinVR
d3905b0a7b6b3e324e6ab3773ef29f651b8ad9d7
[ "BSD-3-Clause" ]
123
2015-01-08T17:32:39.000Z
2021-12-22T00:55:00.000Z
plugins/Python/src/python/MinVR/__init__.py
elainejiang8/MinVR
d3905b0a7b6b3e324e6ab3773ef29f651b8ad9d7
[ "BSD-3-Clause" ]
21
2016-11-04T18:36:29.000Z
2022-03-01T19:44:11.000Z
from MinVR import *
10
19
0.75
3
20
5
1
0
0
0
0
0
0
0
0
0
0
0
0.2
20
1
20
20
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
5
dbef22ad87ee7c75122f09b4f9cad0398457bbd7
25
py
Python
ovl/version.py
frc1937/ovl
1954edf0ab946dbb42d90eba1dac97eeb157c567
[ "Apache-2.0" ]
1
2021-05-13T12:15:29.000Z
2021-05-13T12:15:29.000Z
ovl/version.py
frc1937/ovl
1954edf0ab946dbb42d90eba1dac97eeb157c567
[ "Apache-2.0" ]
null
null
null
ovl/version.py
frc1937/ovl
1954edf0ab946dbb42d90eba1dac97eeb157c567
[ "Apache-2.0" ]
null
null
null
__version__ = '2021.1.3'
12.5
24
0.68
4
25
3.25
1
0
0
0
0
0
0
0
0
0
0
0.272727
0.12
25
1
25
25
0.318182
0
0
0
0
0
0.32
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
1
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
5
e00369ede7f92874c20316c65dd463911d875fee
13,146
py
Python
sdk/python/pulumi_gitlab/group_share_group.py
pulumi/pulumi-gitlab
5627240bf718fc765d3a2068acd20621383514c8
[ "ECL-2.0", "Apache-2.0" ]
11
2019-09-17T20:41:23.000Z
2021-12-02T20:39:23.000Z
sdk/python/pulumi_gitlab/group_share_group.py
pulumi/pulumi-gitlab
5627240bf718fc765d3a2068acd20621383514c8
[ "ECL-2.0", "Apache-2.0" ]
67
2019-06-21T18:30:30.000Z
2022-03-31T21:27:20.000Z
sdk/python/pulumi_gitlab/group_share_group.py
pulumi/pulumi-gitlab
5627240bf718fc765d3a2068acd20621383514c8
[ "ECL-2.0", "Apache-2.0" ]
2
2019-10-05T10:36:36.000Z
2021-05-13T18:14:59.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
38.893491
134
0.630154
1,607
13,146
4.892346
0.106409
0.060544
0.073009
0.058764
0.78059
0.755915
0.741033
0.715085
0.692063
0.66319
0
0.00363
0.266545
13,146
337
135
39.008902
0.811761
0.303058
0
0.602273
1
0
0.106004
0.005294
0
0
0
0
0
1
0.153409
false
0.005682
0.028409
0
0.272727
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
e0226467ec1ba76a43c80f67b86acbea18c0bc5a
149
py
Python
editor/migrations/__init__.py
AndersonHJB/-Python_Online_Programming
7adfb8f049561df7cc0abef5ee75caaae53dbb1e
[ "MIT" ]
2
2021-02-25T11:37:18.000Z
2022-03-03T01:19:37.000Z
editor/migrations/__init__.py
AndersonHJB/Python_Online_Programming
7adfb8f049561df7cc0abef5ee75caaae53dbb1e
[ "MIT" ]
null
null
null
editor/migrations/__init__.py
AndersonHJB/Python_Online_Programming
7adfb8f049561df7cc0abef5ee75caaae53dbb1e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @Author: AI悦创 # @Date: 2021-02-22 12:31:38 # @Last Modified by: aiyuechuang # @Last Modified time: 2021-02-23 11:09:42
24.833333
42
0.624161
25
149
3.72
0.84
0.129032
0
0
0
0
0
0
0
0
0
0.237705
0.181208
149
5
43
29.8
0.52459
0.926175
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
1
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
5
e0238e1411816bf3a3b978f58cf40fa5d166e1e7
157
py
Python
readux/annotations/__init__.py
jpkarlsberg/readux
50a895dcf7d64b753a07808e9be218cab3682850
[ "Apache-2.0" ]
null
null
null
readux/annotations/__init__.py
jpkarlsberg/readux
50a895dcf7d64b753a07808e9be218cab3682850
[ "Apache-2.0" ]
null
null
null
readux/annotations/__init__.py
jpkarlsberg/readux
50a895dcf7d64b753a07808e9be218cab3682850
[ "Apache-2.0" ]
null
null
null
''' An implementation of the `Annotation store API <http://docs.annotatorjs.org/en/v1.2.x/storage.html.>`_ for `Annotator.js <http://annotatorjs.org/>`_. '''
31.4
77
0.713376
23
157
4.782609
0.869565
0.254545
0
0
0
0
0
0
0
0
0
0.013793
0.076433
157
5
78
31.4
0.744828
0.949045
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
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
5
e02734f2e759a3caf391a9caedd2525f9dc460a3
118
py
Python
mmdet3d/version.py
kingbackyang/mmdet3d2trt
9eec20b231d4d87c203a7601202a3986cc7d11f1
[ "Apache-2.0" ]
12
2021-03-17T09:07:18.000Z
2022-01-21T01:37:42.000Z
mmdet3d/version.py
kingbackyang/mmdet3d2trt
9eec20b231d4d87c203a7601202a3986cc7d11f1
[ "Apache-2.0" ]
null
null
null
mmdet3d/version.py
kingbackyang/mmdet3d2trt
9eec20b231d4d87c203a7601202a3986cc7d11f1
[ "Apache-2.0" ]
2
2021-03-17T09:25:15.000Z
2021-04-22T09:15:58.000Z
# GENERATED VERSION FILE # TIME: Wed Aug 26 17:17:32 2020 __version__ = '0.0.0rc0+unknown' short_version = '0.0.0rc0'
23.6
32
0.720339
21
118
3.809524
0.666667
0.2
0.225
0.325
0
0
0
0
0
0
0
0.19802
0.144068
118
4
33
29.5
0.594059
0.449153
0
0
1
0
0.387097
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
e0539f428bcb145537cd213209241de3cc8704b6
124
py
Python
infrared/__main__.py
asyedham/infrared
cf5984ffe8d4b05be1e6fd70bd1726834be2f372
[ "Apache-2.0" ]
80
2017-03-16T14:25:03.000Z
2021-12-26T05:38:40.000Z
infrared/__main__.py
asyedham/infrared
cf5984ffe8d4b05be1e6fd70bd1726834be2f372
[ "Apache-2.0" ]
120
2017-02-06T12:47:47.000Z
2021-12-27T21:35:55.000Z
infrared/__main__.py
asyedham/infrared
cf5984ffe8d4b05be1e6fd70bd1726834be2f372
[ "Apache-2.0" ]
82
2017-02-21T12:22:54.000Z
2022-01-17T15:36:07.000Z
#!/usr/bin/env python from infrared.main import main import sys if __name__ == '__main__': sys.exit(int(main() or 0))
15.5
30
0.685484
20
124
3.85
0.75
0.25974
0
0
0
0
0
0
0
0
0
0.009709
0.169355
124
7
31
17.714286
0.737864
0.16129
0
0
0
0
0.07767
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
e054a3cb00bbf203e249795090b5d08eff64da79
55
py
Python
src/numericalmethods/exceptions.py
LuisGMM/CharliePY
04962644d43ee4f2839f0c2cab65aeb573fb8763
[ "MIT" ]
null
null
null
src/numericalmethods/exceptions.py
LuisGMM/CharliePY
04962644d43ee4f2839f0c2cab65aeb573fb8763
[ "MIT" ]
null
null
null
src/numericalmethods/exceptions.py
LuisGMM/CharliePY
04962644d43ee4f2839f0c2cab65aeb573fb8763
[ "MIT" ]
null
null
null
class InadequateArgsCombination(Exception): pass
11
43
0.781818
4
55
10.75
1
0
0
0
0
0
0
0
0
0
0
0
0.163636
55
4
44
13.75
0.934783
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
e06e664d6ed77d569377ee8aba6243ffc4493a54
44
py
Python
tests/__init__.py
dado93/med_dataloader
279e82ae0479caee2388a35f969db2aa5de059a3
[ "MIT" ]
1
2021-04-19T17:06:14.000Z
2021-04-19T17:06:14.000Z
tests/__init__.py
dado93/med_dataloader
279e82ae0479caee2388a35f969db2aa5de059a3
[ "MIT" ]
44
2021-04-08T16:02:42.000Z
2022-03-28T18:43:10.000Z
tests/__init__.py
dado93/med_dataloader
279e82ae0479caee2388a35f969db2aa5de059a3
[ "MIT" ]
1
2021-05-17T07:08:20.000Z
2021-05-17T07:08:20.000Z
"""Unit test package for med_dataloader."""
22
43
0.727273
6
44
5.166667
1
0
0
0
0
0
0
0
0
0
0
0
0.113636
44
1
44
44
0.794872
0.840909
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
1611930dd5fc14f3fb8823fe2bceba5ef9268c9c
160
py
Python
i2cylib/crypto/I2EN/__init__.py
i2cy/i2cylib
f7f5c8ec320669bc17d065f0ec2aa74917954bac
[ "MIT" ]
1
2021-04-17T06:45:31.000Z
2021-04-17T06:45:31.000Z
i2cylib/crypto/I2EN/__init__.py
i2cy/i2cylib
f7f5c8ec320669bc17d065f0ec2aa74917954bac
[ "MIT" ]
null
null
null
i2cylib/crypto/I2EN/__init__.py
i2cy/i2cylib
f7f5c8ec320669bc17d065f0ec2aa74917954bac
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- # Author: i2cy(i2cy@outlook.com) # Project: I2cylib # Filename: __init__ # Created on: 2021/9/27 from .icen import *
20
32
0.66875
23
160
4.478261
0.956522
0
0
0
0
0
0
0
0
0
0
0.087591
0.14375
160
8
33
20
0.664234
0.8
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
1624a30628883eef2500a06aad9dafabd500a901
934
py
Python
tests/unit/datetime_/test_time_.py
matthewgdv/subtypes
52caa785f2861c6a9b867ed9b6c3756f8015689b
[ "MIT" ]
1
2019-11-20T00:25:45.000Z
2019-11-20T00:25:45.000Z
tests/unit/datetime_/test_time_.py
matthewgdv/subtypes
52caa785f2861c6a9b867ed9b6c3756f8015689b
[ "MIT" ]
null
null
null
tests/unit/datetime_/test_time_.py
matthewgdv/subtypes
52caa785f2861c6a9b867ed9b6c3756f8015689b
[ "MIT" ]
null
null
null
# import pytest class TestTime: def test___str__(self): # synced assert True def test_shift(self): # synced assert True def test_to_isoformat(self): # synced assert True def test_to_format(self): # synced assert True def test_now(self): # synced ass...
19.061224
44
0.605996
115
934
4.704348
0.217391
0.194085
0.443623
0.554529
0.791128
0.791128
0.441774
0
0
0
0
0
0.327623
934
48
45
19.458333
0.861465
0.126338
0
0.483871
0
0
0
0
0
0
0
0
0.483871
1
0.483871
false
0
0
0
0.516129
0
0
0
0
null
0
1
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
1
0
1
0
0
0
0
0
0
0
5
1626e2f30d8dc59efe8ba1d1ca251f5f4a4cc083
115
py
Python
shortner/admin.py
gauravbnsl/url-shortner
7a418213f2f6e5231fb57dd62a1a757f4d4dc9ee
[ "Apache-2.0" ]
null
null
null
shortner/admin.py
gauravbnsl/url-shortner
7a418213f2f6e5231fb57dd62a1a757f4d4dc9ee
[ "Apache-2.0" ]
null
null
null
shortner/admin.py
gauravbnsl/url-shortner
7a418213f2f6e5231fb57dd62a1a757f4d4dc9ee
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import Url # Register your models here. admin.site.register(Url)
23
33
0.773913
17
115
5.235294
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.156522
115
5
34
23
0.917526
0.226087
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
16be55861553d4d137bb078eb8946555a948ed10
2,167
py
Python
tests/test_release_dates.py
coronary/igdb_api_python
4496d3df4f61ec5d499cfc7fb8a5e74b643ac78a
[ "MIT" ]
null
null
null
tests/test_release_dates.py
coronary/igdb_api_python
4496d3df4f61ec5d499cfc7fb8a5e74b643ac78a
[ "MIT" ]
null
null
null
tests/test_release_dates.py
coronary/igdb_api_python
4496d3df4f61ec5d499cfc7fb8a5e74b643ac78a
[ "MIT" ]
null
null
null
import pytest, os,vcr from igdb_api_python.igdb import igdb as igdb igdb = igdb(os.environ['api_key']) @vcr.use_cassette('tests/vcr_cassettes/release_dates/single_release_date.yml', filter_headers=['user-key']) def test_single_release_date(): result = igdb.release_dates(86653) assert result.body != [] as...
33.338462
109
0.640055
271
2,167
4.915129
0.199262
0.135135
0.18018
0.089339
0.834084
0.831832
0.782282
0.782282
0.585586
0.154655
0
0.055556
0.185971
2,167
64
110
33.859375
0.699546
0
0
0.45614
0
0
0.257499
0.152284
0
0
0
0
0.263158
1
0.105263
false
0
0.035088
0
0.140351
0
0
0
0
null
0
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
bc5590acf8923d168ea9532af8ccd1452fb5f426
125
py
Python
JARVIS/queue/admin.py
Jagjot1585/JARVIS-py
d4fb86a08760a8762873e28672a8cd90e2973746
[ "MIT" ]
null
null
null
JARVIS/queue/admin.py
Jagjot1585/JARVIS-py
d4fb86a08760a8762873e28672a8cd90e2973746
[ "MIT" ]
1
2016-06-23T18:49:28.000Z
2016-06-24T08:33:48.000Z
JARVIS/queue/admin.py
Jagjot1585/JARVIS-py
d4fb86a08760a8762873e28672a8cd90e2973746
[ "MIT" ]
2
2016-07-18T05:28:23.000Z
2017-02-05T10:42:02.000Z
from django.contrib import admin from queue.models import Task, Queue admin.site.register(Task) admin.site.register(Queue)
17.857143
36
0.808
19
125
5.315789
0.526316
0.178218
0.336634
0
0
0
0
0
0
0
0
0
0.104
125
6
37
20.833333
0.901786
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
1
0
1
0
0
0
0
5
bc69ee43662a179f144d3ca551947cb390b69227
16,401
py
Python
tests/test_elem_function.py
ad-lib27/cs207-FinalProject
9d7026c3579a7ab397b428343d8426a7c15b9f22
[ "MIT" ]
null
null
null
tests/test_elem_function.py
ad-lib27/cs207-FinalProject
9d7026c3579a7ab397b428343d8426a7c15b9f22
[ "MIT" ]
9
2019-10-30T00:56:55.000Z
2019-12-10T16:47:10.000Z
tests/test_elem_function.py
ad-lib27/cs207-FinalProject
9d7026c3579a7ab397b428343d8426a7c15b9f22
[ "MIT" ]
1
2019-12-27T03:56:49.000Z
2019-12-27T03:56:49.000Z
import pytest import adlib27.elem_function as ef from adlib27.autodiff import AutoDiff as AD import numpy as np import math def test_sin0(): x = 1 assert ef.sin(x) == pytest.approx(np.sin(x)) # one value for one variable def test_sin1(): # default AD object with .val=[0.0] x = AD() y = ef.sin(x) ...
30.945283
80
0.597951
2,932
16,401
3.321623
0.046726
0.161413
0.126502
0.106274
0.874525
0.866824
0.815073
0.74176
0.635589
0.503748
0
0.107294
0.206695
16,401
529
81
31.003781
0.641227
0.210109
0
0.336391
0
0
0
0
0
0
0
0
0.400612
1
0.186544
false
0
0.015291
0
0.201835
0
0
0
0
null
0
0
0
1
1
1
1
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
5
bc7559c9d413a41a4fe898c12eaf7918a706ece5
405
py
Python
tests/examples/test_examples.py
muellch/dusk
d6bbfaf3c40e2c3b5c4f13512a05789ba5ef29d0
[ "MIT" ]
1
2020-08-28T08:16:06.000Z
2020-08-28T08:16:06.000Z
tests/examples/test_examples.py
muellch/dusk
d6bbfaf3c40e2c3b5c4f13512a05789ba5ef29d0
[ "MIT" ]
54
2020-07-30T09:20:56.000Z
2021-07-22T13:44:49.000Z
tests/examples/test_examples.py
muellch/dusk
d6bbfaf3c40e2c3b5c4f13512a05789ba5ef29d0
[ "MIT" ]
5
2020-08-03T16:27:24.000Z
2021-02-08T10:49:30.000Z
from dusk.transpile import callable_to_pyast, pyast_to_sir, validate from laplacian_fd import laplacian_fd from laplacian_fvm import laplacian_fvm from interpolation_sph import interpolation_sph def test_examples(): validate(pyast_to_sir(callable_to_pyast(laplacian_fd))) validate(pyast_to_sir(callable_to_pya...
33.75
68
0.846914
59
405
5.372881
0.288136
0.126183
0.189274
0.170347
0.369085
0.369085
0.369085
0.264984
0
0
0
0
0.093827
405
11
69
36.818182
0.86376
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
true
0
0.5
0
0.625
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
1
0
1
0
0
5
bcf8dc6b567480193b4ab42d78e0dc4a6b661c37
92
py
Python
pac/company/admin.py
NimaAram1/pac
c4387f46915142bd9a8fcb5f832d564870095fde
[ "MIT" ]
null
null
null
pac/company/admin.py
NimaAram1/pac
c4387f46915142bd9a8fcb5f832d564870095fde
[ "MIT" ]
null
null
null
pac/company/admin.py
NimaAram1/pac
c4387f46915142bd9a8fcb5f832d564870095fde
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Company admin.site.register(Company)
23
32
0.815217
13
92
5.769231
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.119565
92
4
33
23
0.925926
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
bcff57554a6c539bb072edfa7ae8ca7a35262085
11,747
py
Python
drain/test_drain.py
bit0fun/plugins
1f6f701bf1e60882b8fa61cb735e7033c8c29e3c
[ "BSD-3-Clause" ]
173
2019-01-17T12:40:47.000Z
2022-03-27T12:14:00.000Z
drain/test_drain.py
bit0fun/plugins
1f6f701bf1e60882b8fa61cb735e7033c8c29e3c
[ "BSD-3-Clause" ]
284
2019-03-01T17:54:14.000Z
2022-03-29T13:27:51.000Z
drain/test_drain.py
bit0fun/plugins
1f6f701bf1e60882b8fa61cb735e7033c8c29e3c
[ "BSD-3-Clause" ]
92
2019-02-26T03:45:40.000Z
2022-03-28T03:23:50.000Z
from flaky import flaky from pyln.testing.fixtures import * # noqa: F401,F403 from pyln.testing.utils import DEVELOPER from pyln.client import RpcError from .utils import get_ours, get_theirs, wait_ours, wait_for_all_htlcs import os import unittest import pytest plugin_path = os.path.join(os.path.dirname(__file__), ...
34.049275
107
0.653954
1,796
11,747
4.131403
0.141425
0.025472
0.02965
0.044474
0.793801
0.755526
0.722911
0.707278
0.707278
0.697978
0
0.082993
0.228654
11,747
344
108
34.148256
0.735901
0.235209
0
0.660377
0
0
0.062655
0.002362
0
0
0
0.002907
0.207547
1
0.033019
false
0
0.037736
0
0.070755
0.004717
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
4c3ad97bccbf514907fbc8d099c81cb029b69b86
487
py
Python
ex009 - Tabuada.py
marvincosmo/Python-Curso-em-Video
47ee3dd6423835e7bca159ffd7ee796423569176
[ "MIT" ]
null
null
null
ex009 - Tabuada.py
marvincosmo/Python-Curso-em-Video
47ee3dd6423835e7bca159ffd7ee796423569176
[ "MIT" ]
null
null
null
ex009 - Tabuada.py
marvincosmo/Python-Curso-em-Video
47ee3dd6423835e7bca159ffd7ee796423569176
[ "MIT" ]
null
null
null
""" 09 - Faça um programa que leia um número inteiro qualquer e mostre na tela a sua tabuada. """ print('=' * 10, ' TABUADA ', '=' * 10) n = int(input('Digite um número: ')) print(f'{n} x {1:2} = {n*1}') print(f'{n} x {2:2} = {n*2}') print(f'{n} x {3:2} = {n*3}') print(f'{n} x {4:2} = {n*4}') print(f'{n} x {5:2} ...
32.466667
97
0.474333
107
487
2.158879
0.308411
0.25974
0.30303
0.34632
0
0
0
0
0
0
0
0.097187
0.197125
487
14
98
34.785714
0.493606
0.182752
0
0
0
0
0.592308
0
0
0
0
0
0
1
0
false
0
0
0
0
0.916667
0
0
0
null
1
1
1
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
0
0
0
1
0
5
4c4eec69d8af89b680f0eba5dc3c3ab8f1a62cfe
25
py
Python
c.py
1114573539/python41
25c2b6c710abaa317c780309b60a522229743eec
[ "MIT" ]
null
null
null
c.py
1114573539/python41
25c2b6c710abaa317c780309b60a522229743eec
[ "MIT" ]
null
null
null
c.py
1114573539/python41
25c2b6c710abaa317c780309b60a522229743eec
[ "MIT" ]
null
null
null
a = 10 b = 20 print(a+b)
6.25
10
0.52
7
25
1.857143
0.714286
0
0
0
0
0
0
0
0
0
0
0.222222
0.28
25
3
11
8.333333
0.5
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
1
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
4c64965f235b1ebef18c2a5c03e4f8afbe0bc3e9
251
py
Python
Samples/Setup/default_setup.py
QualiSystems/cloudshell-orchestration
ec012a4ec5f6777bbd6e48bf6a29d9d6baa8d742
[ "Apache-2.0" ]
1
2022-02-07T19:56:20.000Z
2022-02-07T19:56:20.000Z
Samples/Setup/default_setup.py
QualiSystems/cloudshell-orchestration
ec012a4ec5f6777bbd6e48bf6a29d9d6baa8d742
[ "Apache-2.0" ]
74
2016-07-21T10:58:41.000Z
2020-06-07T12:05:08.000Z
Samples/Setup/default_setup.py
QualiSystems/cloudshell-orchestration
ec012a4ec5f6777bbd6e48bf6a29d9d6baa8d742
[ "Apache-2.0" ]
12
2016-04-13T16:16:21.000Z
2022-02-07T19:56:21.000Z
from cloudshell.workflow.orchestration.sandbox import Sandbox from cloudshell.workflow.orchestration.setup.default_setup_orchestrator import DefaultSetupWorkflow sandbox = Sandbox() DefaultSetupWorkflow().register(sandbox) sandbox.execute_setup()
25.1
99
0.860558
25
251
8.52
0.48
0.131455
0.206573
0.328639
0
0
0
0
0
0
0
0
0.067729
251
9
100
27.888889
0.910256
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
91077c28bf51fe2c4297e0f826d205e6c37e0233
264
py
Python
pages/plugins/jsonexport/__init__.py
rebranch/django-page-cms
170041a7d7f74a906bb845d95db04915c2f1bd82
[ "BSD-3-Clause" ]
null
null
null
pages/plugins/jsonexport/__init__.py
rebranch/django-page-cms
170041a7d7f74a906bb845d95db04915c2f1bd82
[ "BSD-3-Clause" ]
null
null
null
pages/plugins/jsonexport/__init__.py
rebranch/django-page-cms
170041a7d7f74a906bb845d95db04915c2f1bd82
[ "BSD-3-Clause" ]
null
null
null
import pages.admin from pages.plugins.jsonexport.actions import export_pages_as_json from pages.plugins.jsonexport.actions import import_pages_from_json pages.admin.PageAdmin.add_action(export_pages_as_json) pages.admin.PageAdmin.add_action(import_pages_from_json)
52.8
67
0.893939
41
264
5.414634
0.317073
0.148649
0.144144
0.234234
0.63964
0.63964
0
0
0
0
0
0
0.041667
264
5
68
52.8
0.87747
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.8
0
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
912da247950def3a1be1ec28e3a0da557ed21a86
14,733
py
Python
oscaar/tests.py
breaks-software/OSCAAR
254acfccbd907b89485b9d78cff2681892a40309
[ "MIT" ]
29
2015-02-01T13:06:27.000Z
2022-02-19T08:47:51.000Z
oscaar/tests.py
breaks-software/OSCAAR
254acfccbd907b89485b9d78cff2681892a40309
[ "MIT" ]
15
2015-04-21T19:55:11.000Z
2021-03-28T16:44:16.000Z
oscaar/tests.py
breaks-software/OSCAAR
254acfccbd907b89485b9d78cff2681892a40309
[ "MIT" ]
8
2015-01-24T23:52:51.000Z
2021-03-28T16:07:08.000Z
''' Created on Sep 12, 2013 @author: Dharmatej Mikkilineni ''' import unittest from oscaarGUI import (OscaarFrame, wx, os, oscaar, InvalidParameter, checkParams) IL = os.path.join(os.path.dirname(os.path.abspath(oscaar.__file__)), "testFiles") IL += os.sep class Test(unittest...
46.771429
79
0.553519
1,503
14,733
5.399202
0.119095
0.087246
0.107702
0.119039
0.821072
0.817622
0.769809
0.721257
0.692914
0.668762
0
0.022732
0.307269
14,733
314
80
46.920382
0.772389
0.014118
0
0.552124
0
0
0.137739
0.052229
0
0
0
0
0.200772
1
0.023166
false
0
0.007722
0
0.03861
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
e676fcbaa11865c3010eae60a74ff0c182ccaf69
113
py
Python
Python/kraken/core/maths/vec.py
goshow-jp/Kraken
7088b474b6cc2840cea7ab642c5938e4a3290b6c
[ "BSD-3-Clause" ]
7
2017-12-04T16:57:42.000Z
2021-09-07T07:02:38.000Z
Python/kraken/core/maths/vec.py
goshow-jp/Kraken
7088b474b6cc2840cea7ab642c5938e4a3290b6c
[ "BSD-3-Clause" ]
null
null
null
Python/kraken/core/maths/vec.py
goshow-jp/Kraken
7088b474b6cc2840cea7ab642c5938e4a3290b6c
[ "BSD-3-Clause" ]
6
2017-11-14T06:50:48.000Z
2021-08-21T22:47:29.000Z
"""Kraken - maths.vec module.""" import math from vec2 import Vec2 from vec3 import Vec3 from vec4 import Vec4
14.125
32
0.743363
18
113
4.666667
0.555556
0
0
0
0
0
0
0
0
0
0
0.064516
0.176991
113
7
33
16.142857
0.83871
0.230089
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
e6854ac4e171e6c82ada7625e9758473a923ff71
49
py
Python
immudb/VerificationException.py
opvizor/immudb-py
9e7c6acd42ffcb5416a79397f62979b7991fc8df
[ "Apache-2.0" ]
1
2021-01-18T11:57:55.000Z
2021-01-18T11:57:55.000Z
immudb/VerificationException.py
opvizor/immudb-py
9e7c6acd42ffcb5416a79397f62979b7991fc8df
[ "Apache-2.0" ]
null
null
null
immudb/VerificationException.py
opvizor/immudb-py
9e7c6acd42ffcb5416a79397f62979b7991fc8df
[ "Apache-2.0" ]
null
null
null
class VerificationException(Exception): pass
16.333333
39
0.795918
4
49
9.75
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
49
2
40
24.5
0.928571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
e6d21e3c00fa4b62c0fb6c52d0254d9089787e1c
192
py
Python
photos/admin.py
abbyshabi/DeeGram
c927b25491ab785a076ae9b456470f271e2857eb
[ "MIT" ]
null
null
null
photos/admin.py
abbyshabi/DeeGram
c927b25491ab785a076ae9b456470f271e2857eb
[ "MIT" ]
4
2020-06-05T20:04:50.000Z
2021-09-08T00:52:52.000Z
photos/admin.py
abbyshabi/DeeGram
c927b25491ab785a076ae9b456470f271e2857eb
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Image,Comments,Profile # Register your models here. admin.site.register(Image) admin.site.register(Comments) admin.site.register(Profile)
24
42
0.817708
27
192
5.814815
0.481481
0.171975
0.324841
0
0
0
0
0
0
0
0
0
0.088542
192
8
43
24
0.897143
0.135417
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
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
1
0
1
0
0
0
0
5
e6f11d840a20f0423e4de10fae29659944c09162
52
py
Python
src/stackoverflow/63429593/MyFileA.py
mrdulin/python-codelab
3d960a14a96b3a673b7dc2277d202069b1f8e778
[ "MIT" ]
null
null
null
src/stackoverflow/63429593/MyFileA.py
mrdulin/python-codelab
3d960a14a96b3a673b7dc2277d202069b1f8e778
[ "MIT" ]
null
null
null
src/stackoverflow/63429593/MyFileA.py
mrdulin/python-codelab
3d960a14a96b3a673b7dc2277d202069b1f8e778
[ "MIT" ]
3
2020-02-19T08:02:04.000Z
2021-06-08T13:27:51.000Z
class A: def Afunc(): print('do smthn')
13
25
0.5
7
52
3.714286
1
0
0
0
0
0
0
0
0
0
0
0
0.346154
52
3
26
17.333333
0.764706
0
0
0
0
0
0.153846
0
0
0
0
0
0
1
0.333333
true
0
0
0
0.666667
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
5
fc35fa0526730b2e220db0970316ea4a523ec3f7
1,039
py
Python
Algorithms/Searching/Linear_Search.py
Ahmad-Fahad/Python
5a5f8f3395f7085947430b8309f6af70b2e25a77
[ "Apache-2.0" ]
null
null
null
Algorithms/Searching/Linear_Search.py
Ahmad-Fahad/Python
5a5f8f3395f7085947430b8309f6af70b2e25a77
[ "Apache-2.0" ]
null
null
null
Algorithms/Searching/Linear_Search.py
Ahmad-Fahad/Python
5a5f8f3395f7085947430b8309f6af70b2e25a77
[ "Apache-2.0" ]
null
null
null
def Linear_Search(lst, x): i = 0 n = len(lst) while(i < n): if lst[i] == x: return i i += 1 return -1 while True: lst = [1,2,3,4,5,6,7,89,90,67,45,34] x = int(input()) index = Linear_Search(lst, x) print(index) if index == -1: print("Not Found") else: print("Found in ", index) ''' ......F...
13.320513
39
0.550529
195
1,039
2.902564
0.215385
0.127208
0.159011
0.169611
0.860424
0.860424
0.818021
0.666078
0.666078
0.666078
0
0.081633
0.245428
1,039
78
40
13.320513
0.640306
0
0
0
0
0
0.058065
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.176471
0.176471
0
0
0
null
0
0
1
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
fc698ed7bfd9094aed457f7cc904a48de9742c63
48,484
py
Python
manuscript/VESIcal/fugacity_models.py
bobmyhill/VESIcal
f401226b55bdb6c8e6f1838aba78927664c89706
[ "MIT" ]
null
null
null
manuscript/VESIcal/fugacity_models.py
bobmyhill/VESIcal
f401226b55bdb6c8e6f1838aba78927664c89706
[ "MIT" ]
null
null
null
manuscript/VESIcal/fugacity_models.py
bobmyhill/VESIcal
f401226b55bdb6c8e6f1838aba78927664c89706
[ "MIT" ]
null
null
null
from VESIcal import calibration_checks from VESIcal import core from scipy.optimize import root_scalar from abc import abstractmethod import numpy as np class FugacityModel(object): """ The fugacity model object is for implementations of fugacity models for individual volatile species, though it may depend on...
37.468315
168
0.501918
6,756
48,484
3.505773
0.083333
0.037492
0.045598
0.056998
0.759468
0.745957
0.735824
0.728394
0.718049
0.704665
0
0.109033
0.352673
48,484
1,293
169
37.497293
0.645627
0.236408
0
0.598473
0
0
0.025878
0
0
0
0
0
0
1
0.079389
false
0.027481
0.007634
0.012214
0.172519
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
fc9863fe47396a85354f8a3522191791e520e339
52
py
Python
pyapr/numerics/reconstruction/__init__.py
mosaic-group/PyLibAPR
4b5af50c26b4770c460460f9491bd840af2537da
[ "Apache-2.0" ]
7
2021-07-02T11:08:30.000Z
2022-03-07T20:54:33.000Z
pyapr/numerics/reconstruction/__init__.py
mosaic-group/PyLibAPR
4b5af50c26b4770c460460f9491bd840af2537da
[ "Apache-2.0" ]
19
2020-12-17T09:32:09.000Z
2022-01-08T20:22:16.000Z
pyapr/numerics/reconstruction/__init__.py
mosaic-group/PyLibAPR
4b5af50c26b4770c460460f9491bd840af2537da
[ "Apache-2.0" ]
1
2021-01-19T14:23:36.000Z
2021-01-19T14:23:36.000Z
from _pyaprwrapper.numerics.reconstruction import *
26
51
0.865385
5
52
8.8
1
0
0
0
0
0
0
0
0
0
0
0
0.076923
52
1
52
52
0.916667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
5d7f70c2a02d6b86f898b6f6bb68786adcca85f7
17
py
Python
app/models.py
KarenNgala/flask-template
198c70bc7cb8945cd5bd5189159082abfc170ea8
[ "MIT" ]
null
null
null
app/models.py
KarenNgala/flask-template
198c70bc7cb8945cd5bd5189159082abfc170ea8
[ "MIT" ]
null
null
null
app/models.py
KarenNgala/flask-template
198c70bc7cb8945cd5bd5189159082abfc170ea8
[ "MIT" ]
null
null
null
# Add models here
17
17
0.764706
3
17
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.176471
17
1
17
17
0.928571
0.882353
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
5df55ff7c180ed64939391cf211dca3f24c01d52
5,780
py
Python
Tensorflow/my_tensorflow/src/layers/match/attention_flow.py
hywel1994/mac-workspace
10c20555104ce6ebba77657c7605ce2b7fa2fc34
[ "MIT" ]
37
2018-10-18T06:19:08.000Z
2022-03-20T08:13:08.000Z
github/Algorithm_Interview_Notes-Chinese/_codes/my_tensorflow/src/layers/match/attention_flow.py
keeya/Interview
2b40108d39de9ca9e9ab069edb9d4fcf9fe5760c
[ "MIT" ]
1
2019-01-27T14:21:21.000Z
2019-01-27T14:21:21.000Z
github/Algorithm_Interview_Notes-Chinese/_codes/my_tensorflow/src/layers/match/attention_flow.py
keeya/Interview
2b40108d39de9ca9e9ab069edb9d4fcf9fe5760c
[ "MIT" ]
13
2018-10-23T12:39:55.000Z
2022-02-25T10:54:01.000Z
"""Attention Flow 匹配层 Attention flow layer is responsible for linking and fusing information from the context and the query words. References: [paper] Bidirectional Attention Flow for Machine Comprehension (https://arxiv.org/abs/1611.01603) [github/DuReader] https://github.com/baidu/DuReader/blob/master/tenso...
34.404762
108
0.541176
944
5,780
3.212924
0.146186
0.023079
0.012859
0.018464
0.772502
0.769865
0.769865
0.769865
0.767227
0.767227
0
0.020894
0.287889
5,780
167
109
34.610778
0.7155
0.653287
0
0.529412
0
0
0.026256
0
0
0
0
0
0
1
0.058824
false
0
0.088235
0
0.205882
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
5d4d7402efd3279d8c0ccd63ad1f510f3c48bd13
141
py
Python
asylumwatch/asylum_registrations/admin.py
PieterBlomme/asylumwatch
798252ec1d71e9fac65965cbc08ebd3a0634a77c
[ "MIT" ]
null
null
null
asylumwatch/asylum_registrations/admin.py
PieterBlomme/asylumwatch
798252ec1d71e9fac65965cbc08ebd3a0634a77c
[ "MIT" ]
null
null
null
asylumwatch/asylum_registrations/admin.py
PieterBlomme/asylumwatch
798252ec1d71e9fac65965cbc08ebd3a0634a77c
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import AsylumRegistration # Register your models here. admin.site.register(AsylumRegistration)
28.2
39
0.843972
17
141
7
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.099291
141
5
39
28.2
0.937008
0.184397
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
5d6f9c2f6806f3372febd44de1bf1e0e785f2745
39
py
Python
cryptsy/__init__.py
hsharrison/python-cryptsy
e426ce744132a500952e7eedddd372dba7762d31
[ "MIT" ]
2
2017-09-17T09:42:36.000Z
2019-04-16T08:57:49.000Z
cryptsy/__init__.py
hsharrison/python-cryptsy
e426ce744132a500952e7eedddd372dba7762d31
[ "MIT" ]
null
null
null
cryptsy/__init__.py
hsharrison/python-cryptsy
e426ce744132a500952e7eedddd372dba7762d31
[ "MIT" ]
null
null
null
# Copyright (c) 2014 Henry S. Harrison
19.5
38
0.717949
6
39
4.666667
1
0
0
0
0
0
0
0
0
0
0
0.125
0.179487
39
1
39
39
0.75
0.923077
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
53fb9909adfd93036266f6c85cde16baad4796b7
398
py
Python
ding/entry/__init__.py
konnase/DI-engine
f803499cad191e9277b10e194132d74757bcfc8e
[ "Apache-2.0" ]
null
null
null
ding/entry/__init__.py
konnase/DI-engine
f803499cad191e9277b10e194132d74757bcfc8e
[ "Apache-2.0" ]
null
null
null
ding/entry/__init__.py
konnase/DI-engine
f803499cad191e9277b10e194132d74757bcfc8e
[ "Apache-2.0" ]
null
null
null
from .cli import cli from .serial_entry import serial_pipeline from .serial_entry_onpolicy import serial_pipeline_onpolicy from .serial_entry_offline import serial_pipeline_offline from .serial_entry_il import serial_pipeline_il from .serial_entry_reward_model import serial_pipeline_reward_model from .parallel_entry im...
44.222222
67
0.894472
58
398
5.706897
0.293103
0.151057
0.226586
0
0
0
0
0
0
0
0
0
0.082915
398
8
68
49.75
0.906849
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
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
54f07458c5daa011d4bacfa032686897846fa92a
3,672
py
Python
src/hangman_lib.py
Mortaza-Seydi/hagman
60b6b88f0a9194d53f49952211ec78a083157714
[ "MIT" ]
null
null
null
src/hangman_lib.py
Mortaza-Seydi/hagman
60b6b88f0a9194d53f49952211ec78a083157714
[ "MIT" ]
null
null
null
src/hangman_lib.py
Mortaza-Seydi/hagman
60b6b88f0a9194d53f49952211ec78a083157714
[ "MIT" ]
null
null
null
# hangman_lib.py # A set of library functions for use with your Hangman game def print_hangman_image(mistakes=6): """Prints out a gallows image for hangman. The image printed depends on the number of mistakes (0-6).""" if mistakes <= 0: print(''' ____________________ | .__________________| | | / / ...
20.629213
75
0.150871
73
3,672
4.054795
0.493151
0.202703
0.172297
0
0
0
0
0
0
0
0
0.005698
0.522059
3,672
177
76
20.745763
0.162963
0.050654
0
0.857988
0
0
0.897583
0.086306
0
0
0
0
0
1
0.005917
false
0
0
0
0.005917
0.047337
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
54f901e71beeb27f0594b5fd649aee621960b8e1
130
py
Python
src/gameSettings/PointsConstants.py
DaDudek/Tetris
b3848132fd315e883e714e1882ec4bfd38b890e1
[ "MIT" ]
2
2022-01-16T20:44:08.000Z
2022-01-18T13:41:32.000Z
src/gameSettings/PointsConstants.py
DaDudek/Tetris
b3848132fd315e883e714e1882ec4bfd38b890e1
[ "MIT" ]
null
null
null
src/gameSettings/PointsConstants.py
DaDudek/Tetris
b3848132fd315e883e714e1882ec4bfd38b890e1
[ "MIT" ]
null
null
null
from src.gameSettings.SizeConstants import * POINTS_FOR_SQUARE = 1 POINTS_FOR_ROW = POINTS_FOR_SQUARE * NUMBER_OF_SQUARES_IN_ROW
26
61
0.853846
20
130
5.05
0.7
0.267327
0.29703
0
0
0
0
0
0
0
0
0.008547
0.1
130
4
62
32.5
0.854701
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
070b2eca97994c2a576e89a45b305a270f373425
21
py
Python
app.py
ArkhamCorrupt/Helloworld
cb17ba8b50dc81d9b750d07722a18a9e9dc9de97
[ "Apache-2.0" ]
null
null
null
app.py
ArkhamCorrupt/Helloworld
cb17ba8b50dc81d9b750d07722a18a9e9dc9de97
[ "Apache-2.0" ]
null
null
null
app.py
ArkhamCorrupt/Helloworld
cb17ba8b50dc81d9b750d07722a18a9e9dc9de97
[ "Apache-2.0" ]
null
null
null
print("second code")
10.5
20
0.714286
3
21
5
1
0
0
0
0
0
0
0
0
0
0
0
0.095238
21
1
21
21
0.789474
0
0
0
0
0
0.52381
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
0710db50df17dc292fa668d51ac335ef4e35d2de
4,214
py
Python
h2o-py/tests/testdir_misc/pyunit_NOPASS_weights_api.py
ChristosChristofidis/h2o-3
2a926c0950a98eff5a4c06aeaf0373e17176ecd8
[ "Apache-2.0" ]
null
null
null
h2o-py/tests/testdir_misc/pyunit_NOPASS_weights_api.py
ChristosChristofidis/h2o-3
2a926c0950a98eff5a4c06aeaf0373e17176ecd8
[ "Apache-2.0" ]
null
null
null
h2o-py/tests/testdir_misc/pyunit_NOPASS_weights_api.py
ChristosChristofidis/h2o-3
2a926c0950a98eff5a4c06aeaf0373e17176ecd8
[ "Apache-2.0" ]
1
2020-12-18T19:20:02.000Z
2020-12-18T19:20:02.000Z
import sys sys.path.insert(1, "../../") import h2o def weights_api(ip,port): # Connect to h2o h2o.init(ip,port) h2o_iris_data = h2o.import_frame(h2o.locate("smalldata/iris/iris.csv")) r = h2o_iris_data.runif() iris_train = h2o_iris_data[r > 0.2] iris_valid = h2o_iris_data[r <= 0.2] # trai...
42.565657
124
0.439962
391
4,214
4.501279
0.161125
0.107386
0.040909
0.081818
0.853409
0.832955
0.725568
0.657955
0.655682
0.655682
0
0.039732
0.432606
4,214
99
125
42.565657
0.696361
0.110109
0
0.849315
0
0
0.068213
0.006352
0
0
0
0
0.054795
1
0.013699
false
0
0.041096
0
0.054795
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
071ebf564e54c5b187bf98482544621facb67641
5,197
py
Python
filesapp/tests/test_files_api.py
harisnp/file_repo
b5b29bad87eb9fcd2b2d4a93a464d59d71873d1d
[ "MIT" ]
null
null
null
filesapp/tests/test_files_api.py
harisnp/file_repo
b5b29bad87eb9fcd2b2d4a93a464d59d71873d1d
[ "MIT" ]
null
null
null
filesapp/tests/test_files_api.py
harisnp/file_repo
b5b29bad87eb9fcd2b2d4a93a464d59d71873d1d
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from django.urls import reverse from django.test import TestCase from rest_framework import status from rest_framework.test import APIClient from core.models import RepoFiles from filesapp.serializers import RepoFilesSerializer from datetime import datetime class Publ...
37.65942
78
0.625361
588
5,197
5.333333
0.185374
0.035714
0.053571
0.0625
0.75861
0.749362
0.720344
0.720344
0.696747
0.696747
0
0.078524
0.269771
5,197
137
79
37.934307
0.747826
0.055801
0
0.754902
0
0
0.137173
0.030995
0
0
0
0
0.068627
1
0.058824
false
0
0.078431
0
0.156863
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
0723a3d3259557b85724b7243ebf624695c8c55c
66
py
Python
svutil/gen/srcgen/__init__.py
enhoshen/SVutil
6fff5a4d1f53519e1806f20371ef99cdd350e3e5
[ "MIT" ]
2
2019-10-03T06:27:02.000Z
2019-12-27T15:58:24.000Z
svutil/gen/srcgen/__init__.py
enhoshen/SVutil
6fff5a4d1f53519e1806f20371ef99cdd350e3e5
[ "MIT" ]
null
null
null
svutil/gen/srcgen/__init__.py
enhoshen/SVutil
6fff5a4d1f53519e1806f20371ef99cdd350e3e5
[ "MIT" ]
null
null
null
from .ConnectGen import ConnectGen from .RegbkGen import RegbkGen
22
34
0.848485
8
66
7
0.5
0
0
0
0
0
0
0
0
0
0
0
0.121212
66
2
35
33
0.965517
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
0726c20118fa87c8a4590aface623008e2d5c082
157
py
Python
tunr/AutoTune.py
Starofall/VMTune
68db71b8162b2faab83fd9fdff7a270373b12c2a
[ "MIT" ]
1
2019-11-17T22:49:17.000Z
2019-11-17T22:49:17.000Z
tunr/AutoTune.py
Starofall/VMTune
68db71b8162b2faab83fd9fdff7a270373b12c2a
[ "MIT" ]
null
null
null
tunr/AutoTune.py
Starofall/VMTune
68db71b8162b2faab83fd9fdff7a270373b12c2a
[ "MIT" ]
null
null
null
from __future__ import print_function from ExecutionService import runConfig from tunr import info def startAutoTune(config): return runConfig(config)
19.625
38
0.828025
19
157
6.578947
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.140127
157
7
39
22.428571
0.925926
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.6
0.2
1
0.2
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
1
1
0
0
5
0763aca9bea8e72dc0938cfc242635675546166a
91
py
Python
src/schctest/pypacket_dissector/__init__.py
saguilarDevel/open_schc
ac7f2a84b6120964c8fdaabf9f5c8ca8ae39c289
[ "MIT" ]
21
2018-11-05T06:48:32.000Z
2022-02-28T14:38:09.000Z
src/schctest/pypacket_dissector/__init__.py
saguilarDevel/open_schc
ac7f2a84b6120964c8fdaabf9f5c8ca8ae39c289
[ "MIT" ]
34
2019-01-28T01:32:41.000Z
2021-05-06T09:40:14.000Z
src/schctest/pypacket_dissector/__init__.py
saguilarDevel/open_schc
ac7f2a84b6120964c8fdaabf9f5c8ca8ae39c289
[ "MIT" ]
28
2018-10-31T22:21:26.000Z
2022-03-17T09:44:40.000Z
from . import decoder from . import encoder from ._json_keys import * from ._util import *
18.2
25
0.758242
13
91
5.076923
0.538462
0.30303
0
0
0
0
0
0
0
0
0
0
0.175824
91
4
26
22.75
0.88
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
5
07646a6e5e3d14c4b3810a2adae105543b055cc2
178
py
Python
stango/views.py
akheron/stango
0bb826195abee723ab0181c9723fc4f5d49ccbe2
[ "MIT" ]
7
2015-07-21T15:25:47.000Z
2020-12-29T06:05:26.000Z
stango/views.py
akheron/stango
0bb826195abee723ab0181c9723fc4f5d49ccbe2
[ "MIT" ]
null
null
null
stango/views.py
akheron/stango
0bb826195abee723ab0181c9723fc4f5d49ccbe2
[ "MIT" ]
null
null
null
def file_from_tar(context, tar, member): return tar.extractfile(member).read() def static_file(context, path): with open(path, 'rb') as fobj: return fobj.read()
25.428571
41
0.679775
26
178
4.538462
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.185393
178
6
42
29.666667
0.813793
0
0
0
0
0
0.011236
0
0
0
0
0
0
1
0.4
false
0
0
0.2
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
1
0
0
0
1
1
0
0
5
4ad65f703e2d378d3d9a912c878c535899d1ab03
89
py
Python
orcommunicator/orchannel.py
leonardomra/orcommunicator
6910f4d1df4faa64d329027a6a1a0fb4973eeb40
[ "MIT" ]
null
null
null
orcommunicator/orchannel.py
leonardomra/orcommunicator
6910f4d1df4faa64d329027a6a1a0fb4973eeb40
[ "MIT" ]
null
null
null
orcommunicator/orchannel.py
leonardomra/orcommunicator
6910f4d1df4faa64d329027a6a1a0fb4973eeb40
[ "MIT" ]
null
null
null
class ORChannel(): def __init__(self, _client = None): self.client = _client
22.25
39
0.640449
10
89
5.1
0.7
0.392157
0
0
0
0
0
0
0
0
0
0
0.247191
89
4
40
22.25
0.761194
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
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
1
0
0
0
0
1
0
0
5
ab2f4b96334f7f0e6afd1db747ecc77c341cb60c
13,601
py
Python
experiments/experiments_toy/convergence/nmf_vb.py
ThomasBrouwer/BNMTF
34df0c3cebc5e67a5e39762b9305b75d73a2a0e0
[ "Apache-2.0" ]
16
2017-04-19T12:04:47.000Z
2021-12-03T00:50:43.000Z
experiments/experiments_toy/convergence/nmf_vb.py
ThomasBrouwer/BNMTF
34df0c3cebc5e67a5e39762b9305b75d73a2a0e0
[ "Apache-2.0" ]
1
2017-04-20T11:26:16.000Z
2017-04-20T11:26:16.000Z
experiments/experiments_toy/convergence/nmf_vb.py
ThomasBrouwer/BNMTF
34df0c3cebc5e67a5e39762b9305b75d73a2a0e0
[ "Apache-2.0" ]
8
2015-12-15T05:29:43.000Z
2019-06-05T03:14:11.000Z
""" Recover the toy dataset using VB. We can plot the MSE, R2 and Rp as it converges, on the entire dataset. We have I=100, J=80, K=10, and no test data. We give flatter priors (1/10) than what was used to generate the data (1). """ import sys, os project_location = os.path.dirname(__file__)+"/../../../../" sys.path...
261.557692
12,351
0.840085
1,412
13,601
8.07153
0.502125
0.005265
0.003948
0.002457
0
0
0
0
0
0
0
0.820761
0.05654
13,601
52
12,352
261.557692
0.06741
0.010293
0
0
0
0
0.11007
0
0
0
0
0
0
0
null
null
0
0.173913
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
5
ab30af7b70b6bf5a0c329b9e4b5561a25af7a8ae
1,321
py
Python
climpred/tests/test_relative_entropy.py
bradyrx/climpred
66d22ecf7351f205f9f510f4eac25e4431fac11f
[ "MIT" ]
49
2019-01-16T18:10:57.000Z
2020-09-16T18:39:17.000Z
climpred/tests/test_relative_entropy.py
bradyrx/climpred
66d22ecf7351f205f9f510f4eac25e4431fac11f
[ "MIT" ]
396
2019-01-11T23:37:01.000Z
2020-09-17T15:27:51.000Z
climpred/tests/test_relative_entropy.py
bradyrx/climpred
66d22ecf7351f205f9f510f4eac25e4431fac11f
[ "MIT" ]
17
2019-01-13T11:03:05.000Z
2020-09-04T15:04:10.000Z
from climpred.graphics import plot_relative_entropy from climpred.relative_entropy import ( bootstrap_relative_entropy, compute_relative_entropy, ) def test_compute_relative_entropy(PM_da_initialized_3d, PM_da_control_3d): """ Checks that there are no NaNs. """ actual = compute_relative_entrop...
32.219512
88
0.747161
193
1,321
4.658031
0.217617
0.062291
0.132369
0.147942
0.770857
0.770857
0.717464
0.717464
0.717464
0.717464
0
0.022222
0.182438
1,321
40
89
33.025
0.810185
0.046177
0
0.285714
0
0
0
0
0
0
0
0
0.107143
1
0.107143
false
0
0.071429
0
0.178571
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
ab3cb176e55ae9c678191dc9af8634f13b8d4d7b
102
py
Python
db/datasets.py
Ostyk/CenterNet
1b761634ee31c4e5c591dcc741728886e090c1e2
[ "MIT" ]
null
null
null
db/datasets.py
Ostyk/CenterNet
1b761634ee31c4e5c591dcc741728886e090c1e2
[ "MIT" ]
null
null
null
db/datasets.py
Ostyk/CenterNet
1b761634ee31c4e5c591dcc741728886e090c1e2
[ "MIT" ]
null
null
null
from db.coco import MSCOCO datasets = { "MSCOCO": MSCOCO } datasets = { "MSCOCO": MSCOCO }
10.2
27
0.607843
11
102
5.636364
0.545455
0.451613
0.645161
0.83871
0
0
0
0
0
0
0
0
0.264706
102
9
28
11.333333
0.826667
0
0
0.571429
0
0
0.117647
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
db5cccb44d537804e6c91308f0617bec2f6cd8a0
748
py
Python
tests/access_constants.py
RJaBi/NatPy
0ea8cffb52ba94f88572a83f4fafdd6154e023f4
[ "MIT" ]
null
null
null
tests/access_constants.py
RJaBi/NatPy
0ea8cffb52ba94f88572a83f4fafdd6154e023f4
[ "MIT" ]
null
null
null
tests/access_constants.py
RJaBi/NatPy
0ea8cffb52ba94f88572a83f4fafdd6154e023f4
[ "MIT" ]
null
null
null
import numpy import sys sys.path.append("../") import natpy print("---------- print c in full -----------------") print(natpy.const.c) print("--------------------------------------------") print("---------- print hbar abbrev ---------------") print(natpy.const.hbar.abbrev) print("------------------------------------...
29.92
53
0.370321
62
748
4.451613
0.370968
0.289855
0.271739
0.115942
0
0
0
0
0
0
0
0
0.069519
748
24
54
31.166667
0.396552
0
0
0.263158
0
0
0.592246
0.294118
0
0
0
0
0
1
0
true
0
0.157895
0
0.157895
0.789474
0
0
0
null
1
1
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
1
0
0
0
0
1
0
5
dbaa203b52afd49d4992206e99d81438b25e943e
172
py
Python
mmdet/core/bbox/iou_calculators/__init__.py
Kevoen/AerialDetection
84e035a70e5702f4b904acc5782654d67660af14
[ "Apache-2.0" ]
null
null
null
mmdet/core/bbox/iou_calculators/__init__.py
Kevoen/AerialDetection
84e035a70e5702f4b904acc5782654d67660af14
[ "Apache-2.0" ]
1
2020-10-18T06:24:27.000Z
2020-10-18T06:24:27.000Z
mmdet/core/bbox/iou_calculators/__init__.py
Kevoen/AerialDetection
84e035a70e5702f4b904acc5782654d67660af14
[ "Apache-2.0" ]
null
null
null
from .builder import build_iou_calculator from .iou2d_calculator import BboxOverlaps2D, bbox_overlaps __all__ = ['build_iou_calculator', 'BboxOverlaps2D', 'bbox_overlaps']
43
69
0.837209
20
172
6.65
0.55
0.120301
0.270677
0
0
0
0
0
0
0
0
0.018987
0.081395
172
4
69
43
0.822785
0
0
0
0
0
0.271676
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
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
5
dbafdadcad4067ef4abdc030b96ccf4b80e4d784
275
py
Python
c09/p233_assert.py
HiAwesome/dive-into-python3-practice
e57504cb0683ebca9c80b20ff0cb3878bdcc3f87
[ "Apache-2.0" ]
null
null
null
c09/p233_assert.py
HiAwesome/dive-into-python3-practice
e57504cb0683ebca9c80b20ff0cb3878bdcc3f87
[ "Apache-2.0" ]
null
null
null
c09/p233_assert.py
HiAwesome/dive-into-python3-practice
e57504cb0683ebca9c80b20ff0cb3878bdcc3f87
[ "Apache-2.0" ]
null
null
null
assert 1 + 1 == 2 try: assert 1 + 1 == 3 except AssertionError as err: print(err.__class__) try: assert 2 + 2 == 5, 'Only for very large values of 2' except AssertionError as err: print(err) """ <class 'AssertionError'> Only for very large values of 2 """
16.176471
56
0.643636
43
275
4.023256
0.418605
0.080925
0.092486
0.289017
0.728324
0.728324
0.728324
0
0
0
0
0.052885
0.243636
275
16
57
17.1875
0.778846
0
0
0.444444
0
0
0.146919
0
0
0
0
0
0.555556
1
0
true
0
0
0
0
0.222222
0
0
0
null
0
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
5
dbb2730b9ea7717f66b6f7d8e3d199e59bd8b0ce
444
py
Python
Python_Basics/input.py
LAALA-JI/PYTHON-108
45a3fbd1d71fb1be4eab85aea8cf99c0d92b9159
[ "MIT" ]
null
null
null
Python_Basics/input.py
LAALA-JI/PYTHON-108
45a3fbd1d71fb1be4eab85aea8cf99c0d92b9159
[ "MIT" ]
null
null
null
Python_Basics/input.py
LAALA-JI/PYTHON-108
45a3fbd1d71fb1be4eab85aea8cf99c0d92b9159
[ "MIT" ]
null
null
null
a = input() print(a) name = input("Enter your name: ") print(f'Welcome {name}!') age = input("Enter your age:") print(age) print("Hello " + input("Enter your name ")+"!") None weapons = None print(weapons) name = input("Enter your name") # print(name) print(f'Welcome {name} !') print("...
9.061224
50
0.533784
53
444
4.471698
0.226415
0.21097
0.295359
0.303797
0.831224
0.691983
0.464135
0.464135
0.464135
0.464135
0
0
0.301802
444
48
51
9.25
0.764516
0.024775
0
0.625
0
0
0.334232
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
1
1
1
1
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
5
dbbcc31b30a23592b34138a435e44df05b10d6d5
2,080
py
Python
apps/chat/tests/test_auth_decorators_consumer.py
magocod/django_chat
9c7f82a3fdaa7a8f2f34062d8803b4f33f8c07b7
[ "MIT" ]
1
2019-10-01T01:39:37.000Z
2019-10-01T01:39:37.000Z
apps/chat/tests/test_auth_decorators_consumer.py
magocod/django_chat
9c7f82a3fdaa7a8f2f34062d8803b4f33f8c07b7
[ "MIT" ]
18
2019-12-14T15:09:56.000Z
2022-01-02T16:22:41.000Z
apps/chat/tests/test_auth_decorators_consumer.py
magocod/django_chat
9c7f82a3fdaa7a8f2f34062d8803b4f33f8c07b7
[ "MIT" ]
1
2020-02-10T18:00:16.000Z
2020-02-10T18:00:16.000Z
""" ... """ import pytest from channels.testing import WebsocketCommunicator from apps.chat.consumers.croom import RoomConsumer pytestmark = pytest.mark.django_db @pytest.mark.asyncio @pytest.mark.auth_decorator async def test_consumer_error_request_data(auth_token): """ Conexion de cliente con token de au...
28.493151
73
0.718269
227
2,080
6.431718
0.303965
0.163014
0.057534
0.087671
0.742466
0.742466
0.742466
0.710959
0.710959
0.710959
0
0.007059
0.182692
2,080
72
74
28.888889
0.851765
0.077885
0
0.6
0
0
0.096812
0
0
0
0
0
0.15
1
0
false
0
0.075
0
0.075
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
dbc1926cc7a17c03a3bca9c6ca4d2bb74d131bca
284
bzl
Python
scala_proto/toolchains.bzl
mackenziestarr/rules_scala
7ffc700e32cc72d13be91dab366dd960c17a4c48
[ "Apache-2.0" ]
null
null
null
scala_proto/toolchains.bzl
mackenziestarr/rules_scala
7ffc700e32cc72d13be91dab366dd960c17a4c48
[ "Apache-2.0" ]
null
null
null
scala_proto/toolchains.bzl
mackenziestarr/rules_scala
7ffc700e32cc72d13be91dab366dd960c17a4c48
[ "Apache-2.0" ]
null
null
null
def scala_proto_register_toolchains(): native.register_toolchains("@io_bazel_rules_scala//scala_proto:default_toolchain") def scala_proto_register_enable_all_options_toolchain(): native.register_toolchains("@io_bazel_rules_scala//scala_proto:enable_all_options_toolchain")
35.5
97
0.855634
37
284
5.945946
0.378378
0.181818
0.118182
0.190909
0.463636
0.463636
0.463636
0.463636
0.463636
0
0
0
0.059859
284
7
98
40.571429
0.82397
0
0
0
0
0
0.40636
0.40636
0
0
0
0
0
1
0.5
true
0
0
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
1
1
0
0
0
0
0
0
5
dbcd1132a194fa5cbbbcec6c691327666ac06f18
192
py
Python
mason/clients/airflow/airflow_dag.py
kyprifog/mason
bf45672124ef841bc16216c293034f4ccc506621
[ "Apache-2.0" ]
4
2021-04-12T17:49:34.000Z
2022-01-23T19:54:29.000Z
mason/clients/airflow/airflow_dag.py
kyprifog/mason
bf45672124ef841bc16216c293034f4ccc506621
[ "Apache-2.0" ]
24
2021-04-30T18:40:25.000Z
2021-05-12T20:52:06.000Z
mason/clients/airflow/airflow_dag.py
kyprifog/mason
bf45672124ef841bc16216c293034f4ccc506621
[ "Apache-2.0" ]
3
2021-04-12T19:40:43.000Z
2021-09-07T21:56:36.000Z
from mason.engines.scheduler.models.dags.client_dag import ClientDag import json class AirflowDag(ClientDag): def to_json(self) -> str: # IMPLEMENT return json.dumps({})
21.333333
68
0.703125
24
192
5.541667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.197917
192
8
69
24
0.863636
0.046875
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0.2
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
1
1
0
0
5
916123068fb85379089676a10359dfcedc5a6dad
1,777
py
Python
containertemplates/rules.py
bihealth/kiosc
f9e88aa414c70e63514973b423ef538fb5b7e9dc
[ "MIT" ]
null
null
null
containertemplates/rules.py
bihealth/kiosc
f9e88aa414c70e63514973b423ef538fb5b7e9dc
[ "MIT" ]
46
2019-07-18T18:31:39.000Z
2021-06-09T14:24:06.000Z
containertemplates/rules.py
bihealth/kiosc
f9e88aa414c70e63514973b423ef538fb5b7e9dc
[ "MIT" ]
1
2020-03-03T21:31:09.000Z
2020-03-03T21:31:09.000Z
import rules from projectroles import rules as pr_rules # Allow listing site-wide templates and viewing details. rules.add_perm( "containertemplates.site_view", rules.is_superuser | rules.is_authenticated, ) # Allow creating site-wide templates. rules.add_perm( "containertemplates.site_create", rule...
23.381579
59
0.7704
223
1,777
5.802691
0.152466
0.119011
0.111283
0.197836
0.724884
0.716383
0.716383
0.716383
0.382535
0.289799
0
0
0.148565
1,777
75
60
23.693333
0.855254
0.235228
0
0.528302
0
0
0.232196
0.232196
0
0
0
0
0
1
0
true
0
0.037736
0
0.037736
0
0
0
0
null
0
0
1
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
9169a3526d2fd53b563df5afa13adac29675c7b1
36
py
Python
meidoo/celery_tasks/config.py
amourbrus/meiduo_mall
965b3d4685d1a8fe18a3177cc864f27eeb516081
[ "MIT" ]
null
null
null
meidoo/celery_tasks/config.py
amourbrus/meiduo_mall
965b3d4685d1a8fe18a3177cc864f27eeb516081
[ "MIT" ]
6
2021-02-08T20:29:41.000Z
2022-03-11T23:43:32.000Z
meiduo_mell/celery_tasks/config.py
fader-zm/kong
360e25a72dc95ca4cd4a6b461d65fdfbd28cf73e
[ "MIT" ]
null
null
null
broker_url = "redis://127.0.0.1/14"
18
35
0.638889
8
36
2.75
0.875
0
0
0
0
0
0
0
0
0
0
0.242424
0.083333
36
1
36
36
0.424242
0
0
0
0
0
0.555556
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
1
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
5
9181f8e383054f264ae35502d1ee0e668d0e335a
184
py
Python
tests/fixtures/contrib/mongo/specifications.py
douwevandermeij/fractal
66b04892b4d6fd8ee6a0c07b6e230f4321165085
[ "MIT" ]
2
2021-08-12T05:19:08.000Z
2022-01-29T16:22:37.000Z
tests/fixtures/contrib/mongo/specifications.py
douwevandermeij/fractal
66b04892b4d6fd8ee6a0c07b6e230f4321165085
[ "MIT" ]
null
null
null
tests/fixtures/contrib/mongo/specifications.py
douwevandermeij/fractal
66b04892b4d6fd8ee6a0c07b6e230f4321165085
[ "MIT" ]
null
null
null
import pytest @pytest.fixture def mongo_specification_builder(): from fractal.contrib.mongo.specifications import MongoSpecificationBuilder return MongoSpecificationBuilder
20.444444
78
0.836957
17
184
8.941176
0.764706
0
0
0
0
0
0
0
0
0
0
0
0.119565
184
8
79
23
0.938272
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
true
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
91be1d85f6d0a28047b5151f53457d25cf4c3f1f
38
py
Python
githubsimple/__init__.py
iFixit/githubsimple-trac
67b48b12dff6e501040a9c53f8dfe3114114b762
[ "BSD-3-Clause" ]
null
null
null
githubsimple/__init__.py
iFixit/githubsimple-trac
67b48b12dff6e501040a9c53f8dfe3114114b762
[ "BSD-3-Clause" ]
1
2021-03-11T20:21:20.000Z
2021-03-11T20:21:20.000Z
githubsimple/__init__.py
iFixit/githubsimple-trac
67b48b12dff6e501040a9c53f8dfe3114114b762
[ "BSD-3-Clause" ]
null
null
null
from github import GithubSimplePlugin
19
37
0.894737
4
38
8.5
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
38
1
38
38
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
5
91e6c8f3ca14780159f3eebc3d1bfcab7977c67a
1,996
py
Python
preprocess_scripts/kaggle_web_traffic/moving_window/create_tfrecords.py
HansikaPH/time-series-forecasting
23be319a190489bc1464653a3d672edd70ab110b
[ "MIT" ]
67
2019-09-09T14:53:35.000Z
2022-02-21T08:51:15.000Z
preprocess_scripts/kaggle_web_traffic/moving_window/create_tfrecords.py
HansikaPH/time-series-forecasting
23be319a190489bc1464653a3d672edd70ab110b
[ "MIT" ]
6
2019-09-09T06:11:51.000Z
2019-12-16T04:31:11.000Z
preprocess_scripts/kaggle_web_traffic/moving_window/create_tfrecords.py
HansikaPH/time-series-forecasting
23be319a190489bc1464653a3d672edd70ab110b
[ "MIT" ]
18
2019-09-12T02:49:58.000Z
2022-02-16T11:15:57.000Z
from tfrecords_handler.moving_window.tfrecord_writer import TFRecordWriter import os output_path = "../../../datasets/binary_data/kaggle_web_traffic/moving_window/" if not os.path.exists(output_path): os.makedirs(output_path) if __name__ == '__main__': tfrecord_writer = TFRecordWriter( input_size ...
51.179487
113
0.761523
261
1,996
5.249042
0.168582
0.070073
0.066423
0.10219
0.842336
0.79854
0.764964
0.764964
0.764964
0.560584
0
0.028307
0.132766
1,996
39
114
51.179487
0.763143
0
0
0.352941
0
0
0.358037
0.354031
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0
0
0
0
null
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
91efd6be0695fba08962ffa58849dadcf845176a
26
py
Python
sdk/lusid/__version__.py
finbourne/lusid-sdk-python-generated-preview
9c36c953e8149443a4390ed7f0c04d01211401b6
[ "MIT" ]
null
null
null
sdk/lusid/__version__.py
finbourne/lusid-sdk-python-generated-preview
9c36c953e8149443a4390ed7f0c04d01211401b6
[ "MIT" ]
null
null
null
sdk/lusid/__version__.py
finbourne/lusid-sdk-python-generated-preview
9c36c953e8149443a4390ed7f0c04d01211401b6
[ "MIT" ]
null
null
null
__version__ = "0.11.4425"
13
25
0.692308
4
26
3.5
1
0
0
0
0
0
0
0
0
0
0
0.304348
0.115385
26
1
26
26
0.304348
0
0
0
0
0
0.346154
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
1
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
5
37fb3dc3959957d9750a3bf93c5655e8e8cf1561
8,399
py
Python
test/path_tree_test.py
Wind010/PathTree
19edb796a4dfe0ae527892b509e702607b55d897
[ "Apache-2.0" ]
null
null
null
test/path_tree_test.py
Wind010/PathTree
19edb796a4dfe0ae527892b509e702607b55d897
[ "Apache-2.0" ]
null
null
null
test/path_tree_test.py
Wind010/PathTree
19edb796a4dfe0ae527892b509e702607b55d897
[ "Apache-2.0" ]
null
null
null
from src.path_tree import PathTree from assertpy import assert_that class TestPathTree: def test_add__one_path__added(self): # Arrange filepath = "A/B/C.txt" sut = PathTree() # Act sut.add(filepath.split('/')) # Assert assert_that(sut.root).is_equal_to({'...
26.663492
227
0.551613
1,086
8,399
3.984346
0.110497
0.018489
0.046221
0.047146
0.816732
0.773284
0.725445
0.717356
0.663046
0.653108
0
0.048853
0.278605
8,399
314
228
26.748408
0.665291
0.059531
0
0.423841
0
0.013245
0.128208
0.052356
0
0
0
0
0.192053
1
0.152318
false
0
0.013245
0
0.172185
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
53457583e215201a53501d5f63d2539a7d37f726
104
py
Python
src/extract/test/python/t.py
mareebsiddiqui/vuln-regex-detector
c37d04e4bf70b3deff320d4363b58bd64abafea6
[ "MIT" ]
2
2021-08-03T12:15:39.000Z
2021-09-27T22:03:36.000Z
src/extract/test/python/t.py
mareebsiddiqui/vuln-regex-detector
c37d04e4bf70b3deff320d4363b58bd64abafea6
[ "MIT" ]
null
null
null
src/extract/test/python/t.py
mareebsiddiqui/vuln-regex-detector
c37d04e4bf70b3deff320d4363b58bd64abafea6
[ "MIT" ]
2
2020-10-15T16:48:20.000Z
2020-12-30T12:57:45.000Z
#!/usr/bin/env python import re import re as RE re.search('(?<=abc)def', 'foo') RE.compile('(a+)+!$')
13
31
0.596154
18
104
3.444444
0.722222
0.258065
0
0
0
0
0
0
0
0
0
0
0.125
104
7
32
14.857143
0.681319
0.192308
0
0
0
0
0.253012
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
725daa70a48deb1fa112fc3941ffdb0dddfe848a
47
py
Python
gaiadet/models/utils/__init__.py
zengming16/GAIA-det
cac6b5601d63aeaa3882cea2256dcb2539fecb34
[ "Apache-2.0" ]
149
2021-06-21T06:18:16.000Z
2022-03-23T08:55:23.000Z
gaiadet/models/utils/__init__.py
zengming16/GAIA-det
cac6b5601d63aeaa3882cea2256dcb2539fecb34
[ "Apache-2.0" ]
7
2021-07-11T07:52:58.000Z
2022-03-30T11:41:39.000Z
gaiadet/models/utils/__init__.py
zengming16/GAIA-det
cac6b5601d63aeaa3882cea2256dcb2539fecb34
[ "Apache-2.0" ]
13
2021-06-29T06:06:13.000Z
2022-02-28T01:31:17.000Z
from .dynamic_res_layer import DynamicResLayer
23.5
46
0.893617
6
47
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.085106
47
1
47
47
0.930233
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
5
729abf0be52e5fdd81b6a6846ba42fcde599a3a7
69
py
Python
tests/test_net.py
harangju/wikinet
903cf94e30f6dae3de3a3615ce6cd67091f512dc
[ "MIT" ]
9
2020-10-19T12:36:49.000Z
2021-09-07T02:31:52.000Z
tests/test_net.py
harangju/wikinet
903cf94e30f6dae3de3a3615ce6cd67091f512dc
[ "MIT" ]
1
2022-03-30T09:34:56.000Z
2022-03-30T14:08:48.000Z
tests/test_net.py
harangju/wikinet
903cf94e30f6dae3de3a3615ce6cd67091f512dc
[ "MIT" ]
5
2020-10-20T01:39:14.000Z
2022-03-30T17:12:30.000Z
import os import wikinet print('hello world') print(wikinet.Net())
9.857143
20
0.73913
10
69
5.1
0.7
0
0
0
0
0
0
0
0
0
0
0
0.130435
69
6
21
11.5
0.85
0
0
0
0
0
0.15942
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
5
72c2a24cfba11f154427fdc5891ebd7a74f8e865
575
py
Python
colour/examples/colorimetry/examples_lefs.py
canavandl/colour
a453cd37b6135a9092d5ea5b2aafb8d19134bdff
[ "BSD-3-Clause" ]
1
2019-06-27T11:32:48.000Z
2019-06-27T11:32:48.000Z
colour/examples/colorimetry/examples_lefs.py
canavandl/colour
a453cd37b6135a9092d5ea5b2aafb8d19134bdff
[ "BSD-3-Clause" ]
null
null
null
colour/examples/colorimetry/examples_lefs.py
canavandl/colour
a453cd37b6135a9092d5ea5b2aafb8d19134bdff
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Showcases luminous efficiency functions computations. """ from __future__ import division, unicode_literals from pprint import pprint import colour from colour.utilities.verbose import message_box message_box('Luminous Efficiency Functions Computations') message_b...
23
79
0.768696
72
575
5.972222
0.541667
0.209302
0.188372
0.181395
0.172093
0
0
0
0
0
0
0.009901
0.121739
575
24
80
23.958333
0.841584
0.166957
0
0
0
0
0.325532
0
0
0
0
0
0
1
0
true
0
0.363636
0
0.363636
0.363636
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
1
0
1
0
0
0
0
5
f42b7544a4369d3199db54723361b581671a7fba
4,605
py
Python
test-framework/test-suites/integration/tests/remove/test_remove_environment_route.py
knutsonchris/stacki
33087dd5fa311984a66ccecfeee6f9c2c25f665d
[ "BSD-3-Clause" ]
123
2015-05-12T23:36:45.000Z
2017-07-05T23:26:57.000Z
test-framework/test-suites/integration/tests/remove/test_remove_environment_route.py
knutsonchris/stacki
33087dd5fa311984a66ccecfeee6f9c2c25f665d
[ "BSD-3-Clause" ]
177
2015-06-05T19:17:47.000Z
2017-07-07T17:57:24.000Z
test-framework/test-suites/integration/tests/remove/test_remove_environment_route.py
knutsonchris/stacki
33087dd5fa311984a66ccecfeee6f9c2c25f665d
[ "BSD-3-Clause" ]
32
2015-06-07T02:25:03.000Z
2017-06-23T07:35:35.000Z
import json from textwrap import dedent class TestRemoveEnvironmentRoute: def test_no_args(self, host): result = host.run('stack remove environment route') assert result.rc == 255 assert result.stderr == dedent('''\ error - "environment" argument is required {environment ...} {address=string} ''') de...
28.251534
91
0.64582
610
4,605
4.854098
0.134426
0.054711
0.042553
0.097264
0.856805
0.84566
0.840932
0.767984
0.736238
0.593381
0
0.07617
0.201737
4,605
162
92
28.425926
0.729325
0.099674
0
0.661654
0
0
0.466618
0
0
0
0
0
0.172932
1
0.037594
false
0
0.015038
0
0.06015
0
0
0
0
null
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
f435c88800217e922220828df9d848013abc8e16
73
py
Python
new 1.py
Baibhabswain/pythonPrograms
38380174f22e73b766b98754b00cd78a56b4bf59
[ "MIT" ]
1
2019-03-29T04:32:09.000Z
2019-03-29T04:32:09.000Z
new 1.py
Baibhabswain/pythonPrograms
38380174f22e73b766b98754b00cd78a56b4bf59
[ "MIT" ]
null
null
null
new 1.py
Baibhabswain/pythonPrograms
38380174f22e73b766b98754b00cd78a56b4bf59
[ "MIT" ]
null
null
null
print "hello world" print "google it" print "iam the best in the world"
24.333333
33
0.726027
13
73
4.076923
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.191781
73
3
33
24.333333
0.898305
0
0
0
0
0
0.625
0
0
0
0
0
0
0
null
null
0
0
null
null
1
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
1
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
5
f47e8a8a06fc9239e491e116a3a24cc695456ac6
51
py
Python
Module Sample/MyModule/__main__.py
SauceChord/learning-python
eef70d809a3ed82fc2c9e8ac64253d7e372b7440
[ "MIT" ]
null
null
null
Module Sample/MyModule/__main__.py
SauceChord/learning-python
eef70d809a3ed82fc2c9e8ac64253d7e372b7440
[ "MIT" ]
null
null
null
Module Sample/MyModule/__main__.py
SauceChord/learning-python
eef70d809a3ed82fc2c9e8ac64253d7e372b7440
[ "MIT" ]
null
null
null
print('__main__.py from module "MyModule" says hi')
51
51
0.764706
8
51
4.375
1
0
0
0
0
0
0
0
0
0
0
0
0.098039
51
1
51
51
0.76087
0
0
0
0
0
0.807692
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
be32d768e8537406a649550286f8aec6bc19268f
189
py
Python
utils/__init__.py
fujirock/Reinvent
9c57636f9d32b4ce5b75670f43906a70d5daf886
[ "MIT" ]
4
2021-05-11T05:34:01.000Z
2022-03-30T10:04:21.000Z
utils/__init__.py
prasannavd/Reinvent
ca02ebee8d8ed83223c55f4a1dd1b3fbc2359616
[ "MIT" ]
null
null
null
utils/__init__.py
prasannavd/Reinvent
ca02ebee8d8ed83223c55f4a1dd1b3fbc2359616
[ "MIT" ]
2
2021-06-01T11:56:10.000Z
2021-10-05T04:33:56.000Z
from utils.general import to_tensor, get_indices_of_unique_smiles, set_default_device_cuda, fraction_valid_smiles from utils.unit_testing import ignore_warnings from utils.smiles import *
37.8
113
0.878307
29
189
5.310345
0.724138
0.175325
0
0
0
0
0
0
0
0
0
0
0.084656
189
4
114
47.25
0.890173
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
be40078dabbac54647d62d92af02224f76dd5e1b
595,008
py
Python
Data/scigrid-de/pypower/scigrid_2011_01_07_12.py
thanever/SOC
9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4
[ "MIT" ]
null
null
null
Data/scigrid-de/pypower/scigrid_2011_01_07_12.py
thanever/SOC
9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4
[ "MIT" ]
null
null
null
Data/scigrid-de/pypower/scigrid_2011_01_07_12.py
thanever/SOC
9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4
[ "MIT" ]
null
null
null
from numpy import array def scigrid_2011_01_07_12(): ppc = {"version": '2'} ppc["baseMVA"] = 100.0 ppc["bus"] = array([ [586, 3, 0, 0, 0, 0, 0, 1.0, 0, 220.0, 0, 1.1, 0.9 ], [589, 2, 0, 0, 0, 0, 0, 1.0, 0, 380.0, 0, 1.1, 0.9 ], [590, 2, 0, 0, 0, 0, 0, 1.0, 0, 380.0, 0, 1.1,...
70.884918
137
0.459224
114,554
595,008
2.38505
0.077745
0.214218
0.208285
0.222914
0.493428
0.492078
0.462874
0.453815
0.374882
0.374428
0
0.665849
0.314579
595,008
8,394
138
70.884918
0.004078
0
0
0.000596
0
0
0.000227
0
0
0
0
0
0
1
0.000119
false
0
0.000119
0
0.000357
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
be58f16fa825227000d7c41188da5b8896122800
238
py
Python
tukio/task/__init__.py
optiflows/tukio
6b1443631473a1445b5f525945b0177f152d2729
[ "ECL-2.0", "Apache-2.0" ]
22
2016-04-26T07:27:41.000Z
2019-03-05T19:37:22.000Z
tukio/task/__init__.py
surycat/tukio
6b1443631473a1445b5f525945b0177f152d2729
[ "ECL-2.0", "Apache-2.0" ]
13
2016-05-29T14:28:40.000Z
2018-05-04T08:36:54.000Z
tukio/task/__init__.py
optiflows/tukio
6b1443631473a1445b5f525945b0177f152d2729
[ "ECL-2.0", "Apache-2.0" ]
3
2016-08-11T09:07:38.000Z
2017-09-13T06:55:03.000Z
from .join import JoinTask from .task import TaskRegistry, UnknownTaskName, register, new_task, TimeoutHandle from .holder import TaskHolder from .factory import TukioTask, tukio_factory, TukioTaskError from .template import TaskTemplate
39.666667
82
0.844538
28
238
7.107143
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.109244
238
5
83
47.6
0.938679
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
be5a96c2f847633e630e8710698dbbdb11a03df8
93
py
Python
albert_einstein.py
godontop/python-work
ea22e0df8b0b17605f5a434e556a388d1f75aa47
[ "MIT" ]
null
null
null
albert_einstein.py
godontop/python-work
ea22e0df8b0b17605f5a434e556a388d1f75aa47
[ "MIT" ]
null
null
null
albert_einstein.py
godontop/python-work
ea22e0df8b0b17605f5a434e556a388d1f75aa47
[ "MIT" ]
null
null
null
print('Albert Einstein once said, "A person never make a mistake never tried anything new."')
93
93
0.774194
15
93
4.8
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.139785
93
1
93
93
0.9
0
0
0
0
0
0.893617
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
be7a906ac045659ae0a6dc80bf4459e85c286270
63
py
Python
src/py/exporters/__init__.py
lnilya/sammie
656b57ecef67923228f866406385b767a7099e3d
[ "BSD-3-Clause" ]
2
2022-02-03T20:03:54.000Z
2022-02-03T20:14:37.000Z
src/py/exporters/__init__.py
lnilya/sammie
656b57ecef67923228f866406385b767a7099e3d
[ "BSD-3-Clause" ]
null
null
null
src/py/exporters/__init__.py
lnilya/sammie
656b57ecef67923228f866406385b767a7099e3d
[ "BSD-3-Clause" ]
null
null
null
from src.py.exporters.filexporters import exportGrayScaleImage
31.5
62
0.888889
7
63
8
1
0
0
0
0
0
0
0
0
0
0
0
0.063492
63
2
62
31.5
0.949153
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
be7ca81063f961c201d54154d2e364922125c788
48
py
Python
RobustART/noise/__init__.py
RayKr/RobustART
1f19f1b0f85736d734fc4bece36ace01ac1340df
[ "Apache-2.0" ]
43
2021-09-14T02:25:12.000Z
2022-03-28T09:18:09.000Z
RobustART/noise/__init__.py
RayKr/RobustART
1f19f1b0f85736d734fc4bece36ace01ac1340df
[ "Apache-2.0" ]
3
2021-11-04T00:22:25.000Z
2022-03-21T23:49:44.000Z
RobustART/noise/__init__.py
RayKr/RobustART
1f19f1b0f85736d734fc4bece36ace01ac1340df
[ "Apache-2.0" ]
8
2021-09-17T09:00:06.000Z
2022-03-28T09:18:03.000Z
from RobustART.noise.add_noise import AddNoise
16
46
0.854167
7
48
5.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.104167
48
2
47
24
0.930233
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
5
be7e0e8d23e345503ad9f055b98efa9043df8780
17,453
py
Python
src/ts/test_ts.py
AAU-PSix/canary
93b07d23cd9380adc03a6aa1291a13eaa3b3008c
[ "MIT" ]
null
null
null
src/ts/test_ts.py
AAU-PSix/canary
93b07d23cd9380adc03a6aa1291a13eaa3b3008c
[ "MIT" ]
null
null
null
src/ts/test_ts.py
AAU-PSix/canary
93b07d23cd9380adc03a6aa1291a13eaa3b3008c
[ "MIT" ]
null
null
null
import unittest from typing import Tuple, List from tree_sitter.binding import Query as _Query from tree_sitter import Language as _Language from os import path from ts import CSyntax from . import FilePoint from .capture import Capture from .language_library import Language, LanguageLibrary from .node import Node fr...
39.044743
95
0.649688
2,087
17,453
5.202683
0.078582
0.060785
0.0373
0.029471
0.800424
0.783017
0.761466
0.716891
0.696353
0.656198
0
0.009437
0.234974
17,453
446
96
39.132287
0.803775
0.003151
0
0.539683
0
0
0.04921
0.001322
0
0
0
0
0.293651
1
0.126984
false
0.005291
0.034392
0
0.195767
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
be8d42226f2a7bfd877f80cce47186713ef19775
185
py
Python
tests/import_commands_demo/__init__.py
domdfcoding/consolekit
b26905da8b633fb80855307e2642bf964dc6031f
[ "MIT" ]
4
2020-10-28T23:50:45.000Z
2021-07-20T20:59:17.000Z
tests/import_commands_demo/__init__.py
domdfcoding/consolekit
b26905da8b633fb80855307e2642bf964dc6031f
[ "MIT" ]
41
2020-11-22T13:27:01.000Z
2022-03-28T09:29:33.000Z
tests/import_commands_demo/__init__.py
domdfcoding/consolekit
b26905da8b633fb80855307e2642bf964dc6031f
[ "MIT" ]
null
null
null
# this package from consolekit import click_command, click_group # this package from . import submodule @click_group() def commando(): pass @click_command() def command1(): pass
11.5625
49
0.751351
24
185
5.625
0.541667
0.162963
0.222222
0
0
0
0
0
0
0
0
0.006452
0.162162
185
15
50
12.333333
0.864516
0.135135
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
true
0.25
0.25
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
5
be986f28200c393d5d84320650474224d05978ab
84
py
Python
Source/dist.py
wyx951029/Sta663-yw261
6248124996095f42363f1a8a80ab6554efaca493
[ "MIT" ]
null
null
null
Source/dist.py
wyx951029/Sta663-yw261
6248124996095f42363f1a8a80ab6554efaca493
[ "MIT" ]
null
null
null
Source/dist.py
wyx951029/Sta663-yw261
6248124996095f42363f1a8a80ab6554efaca493
[ "MIT" ]
null
null
null
import numpy as np def dist(a, b, ax=-1): return np.linalg.norm(a - b, axis=ax)
21
41
0.630952
18
84
2.944444
0.777778
0.075472
0
0
0
0
0
0
0
0
0
0.014925
0.202381
84
4
41
21
0.776119
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
5
be990da94ebcbe5ddb19e9ab3808b23cced4df04
167
py
Python
pytoolkit/pipeline/__init__.py
sean512/pytoolkit
59e83683cb01424816c24f464aa41bf257e015f8
[ "MIT" ]
null
null
null
pytoolkit/pipeline/__init__.py
sean512/pytoolkit
59e83683cb01424816c24f464aa41bf257e015f8
[ "MIT" ]
13
2019-09-30T17:49:57.000Z
2020-04-10T07:01:30.000Z
pytoolkit/pipeline/__init__.py
sean512/pytoolkit
59e83683cb01424816c24f464aa41bf257e015f8
[ "MIT" ]
null
null
null
"""前処理+モデル+後処理のパイプライン。""" # pylint: skip-file from .cb import * from .core import * from .keras import * from .lgb import * from .sklearn import * from .xgb import *
16.7
25
0.682635
24
167
4.75
0.583333
0.438596
0
0
0
0
0
0
0
0
0
0
0.173653
167
9
26
18.555556
0.826087
0.227545
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
5
fe4f25d4002bae2755ff8f6a2d5fe62007eb8275
1,390
py
Python
Rekog/extraction.py
Ewpratten/Rekog
5bdea95c5e0d007940bad74998f40655f50f16bc
[ "MIT" ]
null
null
null
Rekog/extraction.py
Ewpratten/Rekog
5bdea95c5e0d007940bad74998f40655f50f16bc
[ "MIT" ]
null
null
null
Rekog/extraction.py
Ewpratten/Rekog
5bdea95c5e0d007940bad74998f40655f50f16bc
[ "MIT" ]
null
null
null
import cv2 import numpy as np class Face2Rect(object): def __init__(self): self.faceCascade = cv2.CascadeClassifier("./classifiers/harr") def feed(self, frame): gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) faces = self.faceCascade.detectMultiScale( gray, scale...
27.8
70
0.53741
164
1,390
4.469512
0.353659
0.081855
0.035471
0.046385
0.766712
0.766712
0.766712
0.728513
0.728513
0.6794
0
0.041758
0.345324
1,390
50
71
27.8
0.763736
0.057554
0
0.611111
0
0
0.029074
0
0
0
0
0
0
1
0.111111
false
0
0.055556
0
0.333333
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
fe71a932182f0cb88385e990c7f0c22342ef5fbf
199
py
Python
maskrcnn_benchmark/data/datasets/flickr.py
microsoft/GLIP
fd52c6361f013e70ae7682d90b3ab3ca2bd5e6bc
[ "MIT" ]
295
2021-12-08T02:22:27.000Z
2022-03-31T22:27:10.000Z
maskrcnn_benchmark/data/datasets/flickr.py
microsoft/GLIP
fd52c6361f013e70ae7682d90b3ab3ca2bd5e6bc
[ "MIT" ]
1
2021-12-14T08:09:13.000Z
2022-03-17T03:53:19.000Z
maskrcnn_benchmark/data/datasets/flickr.py
microsoft/GLIP
fd52c6361f013e70ae7682d90b3ab3ca2bd5e6bc
[ "MIT" ]
9
2021-12-09T00:33:25.000Z
2022-03-17T11:57:42.000Z
import torch import torchvision import torch.utils.data as data from maskrcnn_benchmark.data.datasets.modulated_coco import ModulatedDataset class FlickrDataset(ModulatedDataset): pass
22.111111
77
0.81407
23
199
6.956522
0.695652
0.1375
0
0
0
0
0
0
0
0
0
0
0.145729
199
8
78
24.875
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.166667
0.666667
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
5
fe7f344cab50bad89652bb37f349edeedb5d0bab
96
py
Python
venv/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/hashes.py
GiulianaPola/select_repeats
17a0d053d4f874e42cf654dd142168c2ec8fbd11
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/hashes.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/hashes.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/c3/1e/12/96570eb1c0342c7707019defea439eacb71964eee0afbc157080edc8a2
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.395833
0
96
1
96
96
0.5
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
5
feaa4373759a3c73cce3ca72bb30cdab916a202b
10,942
py
Python
mobile_deployment/pytorch/InvBlock/models/imagenet/i2rnetv2.py
zhoudaquan/rethinking_bottleneck_structure_code_release
195ee737952e2f8d729a14b51651748caf35794c
[ "BSD-3-Clause-Clear" ]
153
2020-10-25T13:58:04.000Z
2022-03-07T06:01:54.000Z
mobile_deployment/pytorch/InvBlock/models/imagenet/i2rnetv2.py
zhoudaquan/rethinking_bottleneck_structure_code_release
195ee737952e2f8d729a14b51651748caf35794c
[ "BSD-3-Clause-Clear" ]
11
2020-07-13T08:29:00.000Z
2022-03-24T07:21:09.000Z
mobile_deployment/pytorch/InvBlock/models/imagenet/i2rnetv2.py
zhoudaquan/rethinking_bottleneck_structure_code_release
195ee737952e2f8d729a14b51651748caf35794c
[ "BSD-3-Clause-Clear" ]
23
2020-10-25T14:44:47.000Z
2021-03-31T02:12:13.000Z
""" Creates a MobileNetV2 Model as defined in: Mark Sandler, Andrew Howard, Menglong Zhu, Andrey Zhmoginov, Liang-Chieh Chen. (2018). MobileNetV2: Inverted Residuals and Linear Bottlenecks arXiv preprint arXiv:1801.04381. import from https://github.com/tonylins/pytorch-mobilenet-v2 """ import torch.nn as nn import mat...
33.981366
128
0.507585
1,399
10,942
3.849178
0.145104
0.010399
0.042897
0.085794
0.766017
0.743175
0.736862
0.70585
0.701021
0.694336
0
0.065063
0.369311
10,942
321
129
34.087227
0.715259
0.146683
0
0.628959
0
0
0.000869
0
0
0
0
0
0.004525
1
0.067873
false
0
0.00905
0.00905
0.140271
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5