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
967f0eaa095f29547d8db0e33285387cfb0d92a9
17,794
py
Python
vsts/vsts/work_item_tracking_process/v4_0/work_item_tracking_process_client.py
kenkuo/azure-devops-python-api
9e920bd25e938fa89ff7f60153e5b9e113ca839d
[ "MIT" ]
null
null
null
vsts/vsts/work_item_tracking_process/v4_0/work_item_tracking_process_client.py
kenkuo/azure-devops-python-api
9e920bd25e938fa89ff7f60153e5b9e113ca839d
[ "MIT" ]
null
null
null
vsts/vsts/work_item_tracking_process/v4_0/work_item_tracking_process_client.py
kenkuo/azure-devops-python-api
9e920bd25e938fa89ff7f60153e5b9e113ca839d
[ "MIT" ]
null
null
null
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
47.450667
112
0.58323
1,885
17,794
5.226525
0.102387
0.087089
0.045676
0.042631
0.818819
0.801462
0.758526
0.727162
0.711937
0.707065
0
0.033676
0.295774
17,794
374
113
47.57754
0.752534
0.190345
0
0.799127
0
0
0.152397
0.051562
0
0
0
0
0
1
0.082969
false
0
0.0131
0
0.174672
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
968b965eb3cab86f6869a9d584575518f06675f2
22,435
py
Python
utils/scripts/OOOlevelGen/src/sprite_templates/ShoveIt.py
fullscreennl/bullettime
8967449cdf926aaed6bb7ec217d92e0689fb0c3c
[ "MIT" ]
null
null
null
utils/scripts/OOOlevelGen/src/sprite_templates/ShoveIt.py
fullscreennl/bullettime
8967449cdf926aaed6bb7ec217d92e0689fb0c3c
[ "MIT" ]
null
null
null
utils/scripts/OOOlevelGen/src/sprite_templates/ShoveIt.py
fullscreennl/bullettime
8967449cdf926aaed6bb7ec217d92e0689fb0c3c
[ "MIT" ]
null
null
null
import MonsterBuilder from sprites import * def create(lb,xpos): xml = """ <level> <!-- BEGIN Monster construction --> <!-- <sprite shape="rect" type="Enemy.EnemySprite" x="215" y="69" width="153" height="69" angle="0" restitution="0.2" static="false" friction="0.5" density="5" setName="ShoveIt2" sheet="6" firstfra...
217.815534
314
0.717985
3,474
22,435
4.546056
0.0711
0.009371
0.044577
0.069778
0.973089
0.970177
0.970177
0.959032
0.955677
0.955677
0
0.107967
0.067395
22,435
103
315
217.815534
0.646848
0
0
0.553191
0
0.851064
0.986851
0.186798
0
0
0
0
0
1
0.010638
false
0
0.021277
0
0.031915
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
96b09af355b875cd229a66cdb5f65e137f05cd24
78,460
py
Python
sdl2/sdlgfx.py
smcv/py-sdl2
209095d858b461c6314f7b7b96b2051ec1656d20
[ "CC0-1.0" ]
null
null
null
sdl2/sdlgfx.py
smcv/py-sdl2
209095d858b461c6314f7b7b96b2051ec1656d20
[ "CC0-1.0" ]
null
null
null
sdl2/sdlgfx.py
smcv/py-sdl2
209095d858b461c6314f7b7b96b2051ec1656d20
[ "CC0-1.0" ]
null
null
null
import os from ctypes import Structure, POINTER, c_int, c_float, c_void_p, c_char, \ c_char_p, c_double from ctypes import POINTER as _P from .dll import DLL, SDLFunc from .stdinc import Uint8, Uint32, Sint16 from .render import SDL_Renderer from .surface import SDL_Surface # NOTE: This module is currently missing...
43.905988
135
0.65223
12,010
78,460
4.214738
0.051374
0.052451
0.045042
0.038721
0.835931
0.826053
0.807424
0.786819
0.768506
0.743772
0
0.033693
0.247973
78,460
1,786
136
43.930571
0.824198
0.698878
0
0
0
0
0.164069
0.018137
0
0
0
0
0
1
0.254355
false
0
0.027875
0
0.543554
0
0
0
0
null
0
0
0
1
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
1
0
0
0
0
1
0
0
8
73a953f7372357f2643602840c3fd54084cafc7b
16,711
py
Python
mayan/apps/documents/tests/test_document_version_views.py
nattangwiwat/Mayan-EDMS-recitation
fcf16afb56eae812fb99144d65ae1ae6749de0b7
[ "Apache-2.0" ]
4
2021-09-02T00:16:30.000Z
2021-09-09T22:25:15.000Z
mayan/apps/documents/tests/test_document_version_views.py
nattangwiwat/Mayan-EDMS-recitation
fcf16afb56eae812fb99144d65ae1ae6749de0b7
[ "Apache-2.0" ]
86
2021-09-01T23:53:02.000Z
2021-09-20T02:25:10.000Z
mayan/apps/documents/tests/test_document_version_views.py
nattangwiwat/Mayan-EDMS-recitation
fcf16afb56eae812fb99144d65ae1ae6749de0b7
[ "Apache-2.0" ]
70
2021-09-01T12:54:51.000Z
2022-02-16T00:53:18.000Z
from mayan.apps.file_caching.events import event_cache_partition_purged from mayan.apps.file_caching.models import CachePartitionFile from mayan.apps.file_caching.permissions import permission_cache_partition_purge from mayan.apps.file_caching.tests.mixins import CachePartitionViewTestMixin from mayan.apps.messaging.ev...
34.598344
98
0.713901
1,888
16,711
5.889301
0.066208
0.172677
0.1555
0.093084
0.855742
0.841173
0.806997
0.798093
0.786761
0.773001
0
0.011328
0.207648
16,711
482
99
34.670124
0.828412
0.016157
0
0.707246
0
0
0
0
0
0
0
0
0.257971
1
0.066667
false
0
0.034783
0
0.110145
0.049275
0
0
0
null
0
0
0
1
1
1
1
1
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
7
73d7fe9e79fd38dba8f2c1e49962a92f84b6c1da
195,497
py
Python
rivendell/mitre/attackNavigator.py
ezaspy/elrond
3e358f20112be403b895d873a7e3892ce4181d8b
[ "MIT" ]
1
2021-03-29T08:05:31.000Z
2021-03-29T08:05:31.000Z
rivendell/mitre/attackNavigator.py
ezaspy/elrond
3e358f20112be403b895d873a7e3892ce4181d8b
[ "MIT" ]
17
2020-11-24T11:00:38.000Z
2021-05-18T18:20:21.000Z
rivendell/mitre/attackNavigator.py
ezaspy/elrond
3e358f20112be403b895d873a7e3892ce4181d8b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 -tt def doAttackNavigator(case, nav_list, eachtechnique): nav_pairs = { "T1001": "{\n \"techniqueID\": \"T1001\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n ...
384.836614
888
0.363208
15,129
195,497
4.69304
0.015665
0.021943
0.107829
0.116815
0.894649
0.890875
0.870312
0.870312
0.870312
0.870312
0
0.072495
0.380277
195,497
507
889
385.595661
0.513545
0.000128
0
0
0
0
0.554082
0
0
0
0
0
0
1
0.001976
false
0.001976
0
0
0.003953
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
fb4ee86d477a43f75cceb78f76487633e36df375
288
py
Python
cla_backend/apps/checker/tests/api/test_category_api.py
uk-gov-mirror/ministryofjustice.cla_backend
4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6
[ "MIT" ]
3
2019-10-02T15:31:03.000Z
2022-01-13T10:15:53.000Z
cla_backend/apps/checker/tests/api/test_category_api.py
uk-gov-mirror/ministryofjustice.cla_backend
4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6
[ "MIT" ]
206
2015-01-02T16:50:11.000Z
2022-02-16T20:16:05.000Z
cla_backend/apps/checker/tests/api/test_category_api.py
uk-gov-mirror/ministryofjustice.cla_backend
4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6
[ "MIT" ]
6
2015-03-23T23:08:42.000Z
2022-02-15T17:04:44.000Z
from rest_framework.test import APITestCase from legalaid.tests.views.test_base import CLACheckerAuthBaseApiTestMixin from legalaid.tests.views.mixins.category_api import CategoryAPIMixin class CategoryTestCase(CLACheckerAuthBaseApiTestMixin, CategoryAPIMixin, APITestCase): pass
28.8
86
0.868056
29
288
8.517241
0.62069
0.097166
0.137652
0.178138
0
0
0
0
0
0
0
0
0.086806
288
9
87
32
0.939164
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0.6
0
0.8
0
1
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
1
1
0
1
0
0
7
fb93f08ea1499ed878b8a7c8d4a72f2d6e533823
4,607
py
Python
dianping_2018032809/driver.py
mannuan/pyspider_script
f4c988912e1099eacd0322b4e9c3a87eaaaa526f
[ "Apache-2.0" ]
9
2018-08-28T07:53:43.000Z
2019-07-09T07:55:52.000Z
dianping_2018032809/driver.py
mannuan/pyspider_script
f4c988912e1099eacd0322b4e9c3a87eaaaa526f
[ "Apache-2.0" ]
null
null
null
dianping_2018032809/driver.py
mannuan/pyspider_script
f4c988912e1099eacd0322b4e9c3a87eaaaa526f
[ "Apache-2.0" ]
null
null
null
#-*- coding:utf-8 -*- import time,random,re,sys,json from pymongo import MongoClient from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import TimeoutException from selenium.webdriver import DesiredCapabilities from selenium.webdriver.common.action_chains impo...
45.613861
173
0.73562
627
4,607
5.247209
0.183413
0.120365
0.093009
0.080243
0.822188
0.822188
0.822188
0.822188
0.81307
0.81307
0
0.053513
0.131973
4,607
101
174
45.613861
0.769192
0.226612
0
0.760563
0
0.084507
0.261264
0.056673
0
0
0
0
0
1
0.084507
false
0
0.112676
0
0.28169
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
fb9f3d443c3682487286df6e81bf97ba26a490f6
24,319
py
Python
sub_uts_BO/systems.py
panos108/MBDoE-total
5691d2d1615667b94cbf4cf107df543fe8148650
[ "MIT" ]
1
2021-09-30T08:48:31.000Z
2021-09-30T08:48:31.000Z
sub_uts_BO/systems.py
panos108/MBDoE-total
5691d2d1615667b94cbf4cf107df543fe8148650
[ "MIT" ]
2
2020-12-03T18:05:59.000Z
2020-12-03T18:06:33.000Z
sub_uts_BO/systems.py
panos108/MBDoE-total
5691d2d1615667b94cbf4cf107df543fe8148650
[ "MIT" ]
null
null
null
# v2 includes shaping the TR with the curvature of the problem by a broyden update on derivatives # and a BFGS update on the Hessian, however the TR becomes very small in some parts, so the approach # does not seem to be too effective. import time import random import numpy as np import numpy.random as rnd from scipy....
31.87287
145
0.492783
3,774
24,319
3.109698
0.083201
0.036384
0.011759
0.021558
0.895876
0.881987
0.869717
0.853698
0.846029
0.838957
0
0.094484
0.338048
24,319
763
146
31.87287
0.634551
0.165755
0
0.742915
0
0
0.014954
0
0
0
0
0
0
1
0.093117
false
0
0.02834
0.002024
0.242915
0.024292
0
0
0
null
0
0
0
1
1
1
1
1
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
7
fba16da51dd6508982d8d6781f823752492b8bf4
119
py
Python
python/tests/my_test.py
CodyScottJohnson/alumni-face-rec
9810e77e477a6900245faf84fa3aed2fc3fa29ca
[ "MIT" ]
null
null
null
python/tests/my_test.py
CodyScottJohnson/alumni-face-rec
9810e77e477a6900245faf84fa3aed2fc3fa29ca
[ "MIT" ]
null
null
null
python/tests/my_test.py
CodyScottJohnson/alumni-face-rec
9810e77e477a6900245faf84fa3aed2fc3fa29ca
[ "MIT" ]
null
null
null
from faceRec.run import is_this_just_fantasy def test_is_this_the_real_life(): assert not is_this_just_fantasy()
19.833333
44
0.823529
21
119
4.142857
0.714286
0.206897
0.229885
0.390805
0
0
0
0
0
0
0
0
0.12605
119
5
45
23.8
0.836538
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
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
1
1
0
1
0
1
0
0
9
fba72bbbaff64cd4132adb7a6d40a975420aefff
4,886
py
Python
test.py
jkoors/github-tutorial-calculator
0d0801e8bf0120f6eddbd7bd8e3cc7a9432ce9d9
[ "MIT" ]
null
null
null
test.py
jkoors/github-tutorial-calculator
0d0801e8bf0120f6eddbd7bd8e3cc7a9432ce9d9
[ "MIT" ]
null
null
null
test.py
jkoors/github-tutorial-calculator
0d0801e8bf0120f6eddbd7bd8e3cc7a9432ce9d9
[ "MIT" ]
null
null
null
import unittest from calculator import Calculator import math class TestCalculator(unittest.TestCase): def setUp(self): self.calculator = Calculator() def test_add(self): """Tests the add function for every combination of 1, 0 and -1. May be redundant but checks if communitiv...
40.716667
88
0.624233
639
4,886
4.748044
0.12989
0.216875
0.225445
0.3441
0.839815
0.835201
0.801582
0.683916
0.683916
0.601516
0
0.05469
0.251535
4,886
119
89
41.058824
0.774952
0.23291
0
0
0
0
0.002312
0
0
0
0
0
0.754098
1
0.131148
false
0
0.04918
0
0.196721
0
0
0
0
null
1
1
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
1
0
0
0
0
0
0
0
0
0
8
fbcf42109868ccad8db343fbb187f803d8e4f837
1,980
py
Python
home/hairygael/GESTURES/releaseleftclothes.py
rv8flyboy/pyrobotlab
4e04fb751614a5cb6044ea15dcfcf885db8be65a
[ "Apache-2.0" ]
63
2015-02-03T18:49:43.000Z
2022-03-29T03:52:24.000Z
home/hairygael/GESTURES/releaseleftclothes.py
hirwaHenryChristian/pyrobotlab
2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9
[ "Apache-2.0" ]
16
2016-01-26T19:13:29.000Z
2018-11-25T21:20:51.000Z
home/hairygael/GESTURES/releaseleftclothes.py
hirwaHenryChristian/pyrobotlab
2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9
[ "Apache-2.0" ]
151
2015-01-03T18:55:54.000Z
2022-03-04T07:04:23.000Z
def releaseleftclothes(): ##arms get to middle i01.setHandSpeed("left", 1.0, 0.80, 0.80, 0.80, 1.0, 0.80) i01.setHandSpeed("right", 1.0, 0.70, 0.70, 1.0, 1.0, 0.80) i01.setArmSpeed("left", 1.0, 1.0, 1.0, 1.0) i01.setArmSpeed("right", 1.0, 1.0, 1.0, 1.0) i01.setHeadSpeed(0.90, 0.80) i0...
37.358491
66
0.582323
393
1,980
2.933842
0.160305
0.079792
0.062446
0.083261
0.747615
0.743278
0.722463
0.703382
0.693842
0.693842
0
0.311486
0.190909
1,980
53
67
37.358491
0.40824
0.024747
0
0.574468
0
0
0.067308
0
0
0
0
0
0
1
0.021277
true
0
0
0
0.021277
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
1
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
0
0
7
8379194135555d1802d95b6a18f36f1fdeaa4e09
113
py
Python
paltas/Utils/__init__.py
swagnercarena/paltas
62495381e406dfb508a1ace4aa69cbe9a4207e38
[ "MIT" ]
5
2022-02-11T19:58:03.000Z
2022-03-07T19:45:23.000Z
paltas/Utils/__init__.py
swagnercarena/paltas
62495381e406dfb508a1ace4aa69cbe9a4207e38
[ "MIT" ]
8
2022-02-01T00:42:34.000Z
2022-03-31T17:42:55.000Z
paltas/Utils/__init__.py
swagnercarena/paltas
62495381e406dfb508a1ace4aa69cbe9a4207e38
[ "MIT" ]
1
2022-02-11T19:54:53.000Z
2022-02-11T19:54:53.000Z
from . import cosmology_utils from . import power_law from . import hubble_utils from . import lenstronomy_utils
22.6
31
0.823009
16
113
5.5625
0.5
0.449438
0.337079
0
0
0
0
0
0
0
0
0
0.141593
113
4
32
28.25
0.917526
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
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
7
83ab268e6c669af49240a4f887ae1093265bdda9
48,812
py
Python
tests/intra_stack_registration_test.py
martaranzini/NiftyMIC
6bd3c914dad8f2983e84ef009b944c429e1fafb3
[ "BSD-3-Clause" ]
86
2017-11-23T01:37:42.000Z
2022-03-10T01:46:48.000Z
tests/intra_stack_registration_test.py
martaranzini/NiftyMIC
6bd3c914dad8f2983e84ef009b944c429e1fafb3
[ "BSD-3-Clause" ]
20
2018-10-26T04:14:53.000Z
2022-03-31T07:44:58.000Z
tests/intra_stack_registration_test.py
martaranzini/NiftyMIC
6bd3c914dad8f2983e84ef009b944c429e1fafb3
[ "BSD-3-Clause" ]
23
2018-01-26T12:56:37.000Z
2022-01-24T05:20:18.000Z
## # \file intra_stack_registration_test.py # \brief Class containing unit tests for module IntraStackRegistration # # \author Michael Ebner (michael.ebner.14@ucl.ac.uk) # \date October 2016 # Import libraries import SimpleITK as sitk import itk import numpy as np import unittest import sys import os from scipy.n...
41.542128
183
0.682004
5,653
48,812
5.523439
0.064391
0.133263
0.071868
0.030778
0.906578
0.889348
0.87058
0.849763
0.835479
0.817224
0
0.01757
0.233918
48,812
1,174
184
41.577513
0.817431
0.232095
0
0.729894
0
0
0.027065
0.003901
0
0
0
0
0.025797
1
0.019727
false
0.001517
0.018209
0
0.044006
0.015175
0
0
0
null
0
0
0
1
1
1
1
1
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
7
83c6db590ffcba51cf08b25c1673a46017f27dca
115,543
py
Python
com/vmware/esx/settings/clusters/software_client.py
adammillerio/vsphere-automation-sdk-python
c07e1be98615201139b26c28db3aa584c4254b66
[ "MIT" ]
null
null
null
com/vmware/esx/settings/clusters/software_client.py
adammillerio/vsphere-automation-sdk-python
c07e1be98615201139b26c28db3aa584c4254b66
[ "MIT" ]
null
null
null
com/vmware/esx/settings/clusters/software_client.py
adammillerio/vsphere-automation-sdk-python
c07e1be98615201139b26c28db3aa584c4254b66
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #--------------------------------------------------------------------------- # Copyright 2020 VMware, Inc. All rights reserved. # AUTO GENERATED FILE -- DO NOT MODIFY! # # vAPI stub file for package com.vmware.esx.settings.clusters.software. #---------------------------------------------------...
41.848243
139
0.593589
11,549
115,543
5.769417
0.042255
0.053218
0.0558
0.068677
0.815851
0.794015
0.77476
0.75615
0.741922
0.728505
0
0.000288
0.309651
115,543
2,760
140
41.863406
0.835053
0.356292
0
0.578281
1
0
0.26321
0.192169
0
0
0
0
0
1
0.034644
false
0
0.021985
0
0.103264
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
7935bf2eef3aa2a0bda544c6ef99f49c31f5f573
585
py
Python
train_covid20cases_timm-regnetx_002_grid_dropout.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
train_covid20cases_timm-regnetx_002_grid_dropout.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
train_covid20cases_timm-regnetx_002_grid_dropout.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
import os ls=["python main.py --configs configs/train_covid20cases_unetplusplus_timm-regnetx_002_fold0_grid_dropout.yml", "python main.py --configs configs/train_covid20cases_unetplusplus_timm-regnetx_002_fold1_grid_dropout.yml", "python main.py --configs configs/train_covid20cases_unetplusplus_timm-regnetx_002_fold2_...
53.181818
111
0.85812
85
585
5.494118
0.294118
0.107066
0.12848
0.203426
0.858672
0.858672
0.858672
0.858672
0.858672
0.858672
0
0.054152
0.052991
585
11
112
53.181818
0.788809
0
0
0
0
0
0.887372
0.674061
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
793c3c3c16c0611464010c393da94a0681df9705
9,220
py
Python
pypykatz/lsadecryptor/packages/credman/templates.py
netredo/pypykatz
0cdf1a7439e95da91c94ed1ceff4147a09dbdf26
[ "MIT" ]
1
2020-01-11T20:41:01.000Z
2020-01-11T20:41:01.000Z
pypykatz/lsadecryptor/packages/credman/templates.py
samuelriesz/pypykatz
e5ee5cadb99c543a07940082cf65fe60c0927920
[ "MIT" ]
null
null
null
pypykatz/lsadecryptor/packages/credman/templates.py
samuelriesz/pypykatz
e5ee5cadb99c543a07940082cf65fe60c0927920
[ "MIT" ]
1
2019-09-19T09:26:16.000Z
2019-09-19T09:26:16.000Z
#!/usr/bin/env python3 # # Author: # Tamas Jos (@skelsec) # import io from minidump.win_datatypes import * from pypykatz.commons.common import * from pypykatz.commons.win_datatypes import * from pypykatz.lsadecryptor.package_commons import * class CredmanTemplate(PackageTemplate): def __init__(self): super().__ini...
32.350877
102
0.749783
1,297
9,220
5.046261
0.09175
0.114591
0.100229
0.067227
0.921161
0.882964
0.845684
0.83453
0.822002
0.822002
0
0.022753
0.141974
9,220
285
103
32.350877
0.804576
0.128091
0
0.76652
0
0
0.002124
0
0
0
0
0
0
1
0.079295
false
0.052863
0.022026
0
0.180617
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
f70765eebcf4a1048f40d5dbf0d0748b1d2c2301
1,654
py
Python
flavio/physics/quarkonium/test_Vllgamma.py
micha-a-schmidt/flavio
fb89a11cdf45e536f2d72de8a4a2657130c4e09f
[ "MIT" ]
null
null
null
flavio/physics/quarkonium/test_Vllgamma.py
micha-a-schmidt/flavio
fb89a11cdf45e536f2d72de8a4a2657130c4e09f
[ "MIT" ]
null
null
null
flavio/physics/quarkonium/test_Vllgamma.py
micha-a-schmidt/flavio
fb89a11cdf45e536f2d72de8a4a2657130c4e09f
[ "MIT" ]
1
2017-11-09T01:40:01.000Z
2017-11-09T01:40:01.000Z
import unittest import flavio from wilson import Wilson from .Vllgamma import * ### implement test class TestVllgamma(unittest.TestCase): def test_np(self): wc,br=Wilson({'CVRR_muecc' : 1e-2},scale=2.,eft='WET',basis='flavio'),8.3949e-6 self.assertAlmostEqual(flavio.np_prediction('BR(J/psi->muegamm...
66.16
182
0.688029
265
1,654
4.215094
0.177358
0.114593
0.257833
0.214861
0.849597
0.849597
0.849597
0.849597
0.849597
0.7359
0
0.042953
0.099154
1,654
25
183
66.16
0.706711
0.008464
0
0.444444
0
0
0.219914
0
0
0
0
0
0.444444
1
0.055556
false
0
0.222222
0
0.333333
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
9
f770589df0a31fcecdb564485195a7980f0d12f9
2,251
py
Python
mtsoo_noisy/tasks.py
thanhbok26b/mtsoo-noisy
9b36d75e5be3d0e0fd05f95137c37550d89f40b5
[ "MIT" ]
null
null
null
mtsoo_noisy/tasks.py
thanhbok26b/mtsoo-noisy
9b36d75e5be3d0e0fd05f95137c37550d89f40b5
[ "MIT" ]
null
null
null
mtsoo_noisy/tasks.py
thanhbok26b/mtsoo-noisy
9b36d75e5be3d0e0fd05f95137c37550d89f40b5
[ "MIT" ]
null
null
null
from .functions import * from scipy.io import loadmat import os DIRNAME = os.path.dirname(__file__) class CI_HS: def __init__(self): mat = loadmat(os.path.join(DIRNAME, 'data/CI_H.mat')) self.M1 = mat['Rotation_Task1'] self.M2 = mat['Rotation_Task2'] self.functions = [self.f1, sel...
27.45122
76
0.581519
329
2,251
3.81459
0.164134
0.047809
0.087649
0.151394
0.873307
0.873307
0.873307
0.873307
0.871713
0.843825
0
0.070866
0.266548
2,251
81
77
27.790123
0.689279
0
0
0.633333
0
0
0.08574
0
0
0
0
0
0
1
0.25
false
0
0.05
0.166667
0.55
0
0
0
0
null
0
0
0
1
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
1
0
0
0
1
1
0
0
9
f7708f66bcc19dd5f992f1e2ad16676b1e49469f
2,451
py
Python
src/backend/database_migrations/versions/20210224_105823_make_read_reads.py
chanzuckerberg/czgenepi
87bd2b1739acdfe2c7c25663fafb01dc24c5e2fd
[ "MIT" ]
5
2021-02-04T20:18:46.000Z
2021-09-09T13:42:42.000Z
src/backend/database_migrations/versions/20210224_105823_make_read_reads.py
chanzuckerberg/aspen
9853778a7ef68b0446751657af5a835f98dde3dc
[ "MIT" ]
422
2021-01-30T04:16:00.000Z
2022-01-31T23:18:44.000Z
src/backend/database_migrations/versions/20210224_105823_make_read_reads.py
chanzuckerberg/covidr
afe05d703d30ec18ac83944bfb551c313cb216c4
[ "MIT" ]
1
2021-05-20T14:54:39.000Z
2021-05-20T14:54:39.000Z
"""make read -> reads Create Date: 2021-02-24 10:58:25.108079 """ import enumtables # noqa: F401 from alembic import op # revision identifiers, used by Alembic. revision = "20210224_105823" down_revision = "20210222_220412" branch_labels = None depends_on = None def upgrade(): op.rename_table( "sequen...
27.852273
72
0.666667
258
2,451
5.833333
0.205426
0.159468
0.276412
0.143522
0.813289
0.744186
0.726246
0.693688
0.693688
0.61794
0
0.035582
0.231742
2,451
87
73
28.172414
0.763675
0.04488
0
0.736842
0
0
0.475986
0.401372
0
0
0
0
0
1
0.026316
false
0
0.026316
0
0.052632
0
0
0
0
null
0
1
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f780b6219a2f4ceadd772fd3f376444b7c9afebe
1,036
py
Python
Tools/GUI/BlueOS_support_functions.py
speedbug78/BlueOS
69f711f6eb6ae3dc10939b48ee2c9bf98788aea3
[ "MIT" ]
null
null
null
Tools/GUI/BlueOS_support_functions.py
speedbug78/BlueOS
69f711f6eb6ae3dc10939b48ee2c9bf98788aea3
[ "MIT" ]
null
null
null
Tools/GUI/BlueOS_support_functions.py
speedbug78/BlueOS
69f711f6eb6ae3dc10939b48ee2c9bf98788aea3
[ "MIT" ]
null
null
null
def draw_mem(): c_width = int( w.Canvas2.cget( "width" )) c_height = int( w.Canvas2.cget( "height" )) print( c_width ) box_start = c_width * 0.05 box_end = c_width * 0.95 mem_title = w.Canvas2.create_text(( c_width / 2 ), 10, fill = "black", font = "Times 10", text = "Flash" ) mem1 = w.Canva...
39.846154
112
0.598456
169
1,036
3.449704
0.195266
0.133791
0.113208
0.154374
0.874786
0.874786
0.874786
0.874786
0.874786
0.874786
0
0.067332
0.225869
1,036
25
113
41.44
0.659601
0
0
0.842105
0
0
0.074324
0
0
0
0
0
0
1
0.105263
false
0
0
0
0.105263
0.105263
0
0
0
null
0
0
0
1
1
1
1
1
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
7
e3d904b54e1c9acebb5c5a3742f9329f5ed83c7f
195
py
Python
Emergency_Notifier/formInterface/views.py
sachinmaurya17/Emergency_Notifier
1138a778c4671b94406d616233434f4f06cdf35b
[ "Apache-2.0" ]
null
null
null
Emergency_Notifier/formInterface/views.py
sachinmaurya17/Emergency_Notifier
1138a778c4671b94406d616233434f4f06cdf35b
[ "Apache-2.0" ]
null
null
null
Emergency_Notifier/formInterface/views.py
sachinmaurya17/Emergency_Notifier
1138a778c4671b94406d616233434f4f06cdf35b
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render # Create your views here. def Login(request): return render(request,'Html/Login.html') def Signup(request): return render(request,'Html/Signup.html')
24.375
45
0.748718
27
195
5.407407
0.555556
0.178082
0.260274
0.356164
0.410959
0
0
0
0
0
0
0
0.133333
195
8
45
24.375
0.863905
0.117949
0
0
0
0
0.181287
0
0
0
0
0
0
1
0.4
false
0
0.2
0.4
1
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
1
0
0
0
1
1
0
0
7
54192666f3cc16f084e8ee712e0bb0a7e0c0a04c
9,695
py
Python
tests/sets_tests.py
gmr/tredis
2e91c6a58a35460be0525c51ac6a98fde3b506ad
[ "BSD-3-Clause" ]
22
2015-11-16T18:24:23.000Z
2019-01-22T06:41:51.000Z
tests/sets_tests.py
gmr/tredis
2e91c6a58a35460be0525c51ac6a98fde3b506ad
[ "BSD-3-Clause" ]
8
2016-01-26T21:55:15.000Z
2020-11-17T18:00:13.000Z
tests/sets_tests.py
gmr/tredis
2e91c6a58a35460be0525c51ac6a98fde3b506ad
[ "BSD-3-Clause" ]
9
2015-11-28T19:32:14.000Z
2020-10-19T06:47:26.000Z
import mock from tornado import testing from tredis import exceptions from . import base class SetTests(base.AsyncTestCase): @testing.gen_test def test_sadd_single(self): key, value = self.uuid4(2) result = yield self.client.sadd(key, value) self.assertEqual(result, 1) @testin...
38.019608
78
0.646313
1,169
9,695
5.288281
0.070145
0.103526
0.14801
0.173245
0.91362
0.905694
0.862504
0.838564
0.796668
0.742478
0
0.036658
0.243115
9,695
254
79
38.169291
0.805805
0
0
0.705357
0
0
0.007014
0
0
0
0
0
0.299107
1
0.111607
false
0
0.017857
0
0.133929
0
0
0
0
null
0
0
1
1
1
1
1
1
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
8
541d54e82b852143ab41a7aa0b9d84a11b574426
5,933
py
Python
server/camphoric/migrations/0001_initial.py
evinism/camphoric
fb576f813a6dee366f59fdc9e2cac83fde61921a
[ "MIT" ]
2
2020-09-25T01:20:14.000Z
2021-08-18T18:49:47.000Z
server/camphoric/migrations/0001_initial.py
evinism/camphoric
fb576f813a6dee366f59fdc9e2cac83fde61921a
[ "MIT" ]
57
2020-05-30T03:22:56.000Z
2022-03-07T01:52:11.000Z
server/camphoric/migrations/0001_initial.py
evinism/camphoric
fb576f813a6dee366f59fdc9e2cac83fde61921a
[ "MIT" ]
1
2020-01-24T04:30:07.000Z
2020-01-24T04:30:07.000Z
# Generated by Django 2.2.5 on 2019-09-21 19:32 from decimal import Decimal from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Deposit', ...
45.290076
126
0.559751
555
5,933
5.830631
0.145946
0.158529
0.136279
0.108158
0.827874
0.789555
0.726205
0.726205
0.726205
0.726205
0
0.008424
0.29968
5,933
130
127
45.638462
0.770397
0.007585
0
0.674797
1
0
0.119096
0.011213
0
0
0
0
0
1
0
false
0
0.02439
0
0.056911
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
5816fbc08eff81999e3348134a473bd3ac12c8a2
1,214
py
Python
spines/timeseries/ts_toolsets.py
BirchKwok/spines
3b26ead3b56780e846686847c293a7d890fefc8f
[ "Apache-2.0" ]
1
2021-06-17T08:56:29.000Z
2021-06-17T08:56:29.000Z
spines/timeseries/ts_toolsets.py
BirchKwok/spines
3b26ead3b56780e846686847c293a7d890fefc8f
[ "Apache-2.0" ]
null
null
null
spines/timeseries/ts_toolsets.py
BirchKwok/spines
3b26ead3b56780e846686847c293a7d890fefc8f
[ "Apache-2.0" ]
null
null
null
import pandas as pd import numpy as np def _split_sequences(x_seq: pd.Series, y_seq: pd.Series, window_size, pred_days): assert isinstance(x_seq, pd.Series) is True and isinstance(y_seq, pd.Series) is True x_seq = x_seq.values y_seq = y_seq.values X, y = [], [] for i in range(len(x_seq)): ...
24.77551
88
0.635091
214
1,214
3.303738
0.182243
0.090523
0.12447
0.067893
0.871287
0.834512
0.834512
0.834512
0.834512
0.834512
0
0
0.253707
1,214
48
89
25.291667
0.780353
0
0
0.733333
0
0
0
0
0
0
0
0
0.066667
1
0.066667
false
0
0.066667
0
0.2
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
582acbe6359c34d5e113e18f4c86b0bb1db8952c
3,009
py
Python
allure-pytest-bdd/test/py_file_builder_test.py
Duisus/allure-python
09402db43da00bb3edb59767d5cc3826457c3f1a
[ "Apache-2.0" ]
1
2021-01-08T12:52:32.000Z
2021-01-08T12:52:32.000Z
allure-pytest-bdd/test/py_file_builder_test.py
Duisus/allure-python
09402db43da00bb3edb59767d5cc3826457c3f1a
[ "Apache-2.0" ]
null
null
null
allure-pytest-bdd/test/py_file_builder_test.py
Duisus/allure-python
09402db43da00bb3edb59767d5cc3826457c3f1a
[ "Apache-2.0" ]
null
null
null
import pytest from .py_file_builder import PyFileBuilder def test_common_func(): imports = ["pytest", "pytest_bdd", "allure"] funcs = [ """@given("given_step") def given_func(): allure.attach("blah", ...) raise Exception("message")""", """@when("when_step") def when_func(): allure...
20.331081
56
0.620472
346
3,009
5.156069
0.115607
0.104821
0.143498
0.179372
0.887332
0.887332
0.853139
0.853139
0.853139
0.853139
0
0
0.202725
3,009
147
57
20.469388
0.743643
0
0
0.692308
0
0
0.416705
0.0771
0
0
0
0
0.038462
1
0.051282
false
0
0.153846
0
0.205128
0
0
0
0
null
0
0
1
1
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
7
5869a897269e7b22b6f16ec69c7f66fecf9b9831
4,807
py
Python
rest_framework_bulk/generics.py
xordoquy/django-rest-framework-bulk
484df717a790591a7bc58d5fed34f958ae82929a
[ "MIT" ]
1
2019-08-20T02:08:33.000Z
2019-08-20T02:08:33.000Z
rest_framework_bulk/generics.py
xordoquy/django-rest-framework-bulk
484df717a790591a7bc58d5fed34f958ae82929a
[ "MIT" ]
null
null
null
rest_framework_bulk/generics.py
xordoquy/django-rest-framework-bulk
484df717a790591a7bc58d5fed34f958ae82929a
[ "MIT" ]
null
null
null
from __future__ import unicode_literals, print_function from rest_framework import mixins from rest_framework.generics import GenericAPIView from . import mixins as bulk_mixins __all__ = ["BulkCreateAPIView", "BulkUpdateAPIView", "BulkDestroyAPIView", "ListBulkCreateAPIView", "ListCreateBulkUpdateAPIView",...
39.401639
110
0.597254
429
4,807
6.592075
0.135198
0.186704
0.288543
0.178218
0.777581
0.712871
0.712871
0.683168
0.647808
0.647808
0
0
0.272103
4,807
121
111
39.727273
0.808231
0.021219
0
0.817073
0
0
0.042623
0.031257
0
0
0
0
0
1
0.292683
false
0
0.04878
0.292683
0.731707
0.012195
0
0
0
null
0
1
1
0
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
1
0
0
0
1
0
0
0
8
58a192c907cc8f0b570a614d857c40f361ed88f1
11,874
py
Python
saleor/dashboard/customer/sales.py
glosoftgroup/KahawaHardware
893e94246583addf41c3bb0d58d2ce6bcd233c4f
[ "BSD-3-Clause" ]
1
2020-01-22T04:35:31.000Z
2020-01-22T04:35:31.000Z
saleor/dashboard/customer/sales.py
glosoftgroup/KahawaHardware
893e94246583addf41c3bb0d58d2ce6bcd233c4f
[ "BSD-3-Clause" ]
8
2018-05-07T16:42:35.000Z
2022-02-26T03:31:56.000Z
saleor/dashboard/customer/sales.py
glosoftgroup/tenants
a6b229ad1f6d567b7078f83425a532830b71e1bb
[ "BSD-3-Clause" ]
null
null
null
from django.core.exceptions import ObjectDoesNotExist from django.shortcuts import get_object_or_404, redirect, render_to_response from django.template.response import TemplateResponse from django.db.models import Count, Min, Sum, Avg, F, Q from django.core.paginator import Paginator, EmptyPage, InvalidPage, PageNotAnI...
36.423313
118
0.68671
1,522
11,874
5.217477
0.094612
0.047475
0.049868
0.095706
0.825589
0.768165
0.738446
0.731394
0.721572
0.697393
0
0.006689
0.169025
11,874
326
119
36.423313
0.798115
0.005221
0
0.719298
0
0
0.138273
0.066384
0
0
0
0
0
1
0.014035
false
0
0.045614
0
0.136842
0.007018
0
0
0
null
0
0
0
1
1
1
1
1
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
7
5459499b2abcd4991e728d4c59c147c98246142d
31,732
py
Python
tests/core/tests/resources.py
mdornseif/django-tastypie
b898311e9ff1f6a096d3c05c9843dbae5b5fcf4a
[ "BSD-3-Clause" ]
null
null
null
tests/core/tests/resources.py
mdornseif/django-tastypie
b898311e9ff1f6a096d3c05c9843dbae5b5fcf4a
[ "BSD-3-Clause" ]
null
null
null
tests/core/tests/resources.py
mdornseif/django-tastypie
b898311e9ff1f6a096d3c05c9843dbae5b5fcf4a
[ "BSD-3-Clause" ]
null
null
null
import base64 from django.contrib.auth.models import User from django.core.cache import cache from django.core.exceptions import ImproperlyConfigured from django.core.urlresolvers import reverse from django.http import HttpRequest, QueryDict from django.test import TestCase from tastypie.authentication import BasicAuth...
61.258687
1,447
0.643924
4,035
31,732
4.966047
0.080545
0.095818
0.023156
0.023954
0.846841
0.826779
0.790598
0.741142
0.705809
0.683551
0
0.053792
0.203832
31,732
517
1,448
61.377176
0.739352
0.020043
0
0.571802
0
0.065274
0.353536
0.011008
0
0
0
0
0.35248
1
0.073107
false
0.013055
0.033943
0.005222
0.154047
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
54736218f3d6d39398ec93d7aa01b7102fc46d7e
135
py
Python
src/app/auth/__init__.py
Ezequiel-Vega/peg
ff5c41c91df7885e0fd3d4c750497dd2d8290b67
[ "MIT" ]
null
null
null
src/app/auth/__init__.py
Ezequiel-Vega/peg
ff5c41c91df7885e0fd3d4c750497dd2d8290b67
[ "MIT" ]
null
null
null
src/app/auth/__init__.py
Ezequiel-Vega/peg
ff5c41c91df7885e0fd3d4c750497dd2d8290b67
[ "MIT" ]
null
null
null
from flask import Blueprint auth_bp : Blueprint = Blueprint("auth", __name__, template_folder='templates/auth') from . import routes
22.5
83
0.777778
17
135
5.823529
0.647059
0.262626
0
0
0
0
0
0
0
0
0
0
0.125926
135
5
84
27
0.838983
0
0
0
0
0
0.133333
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0.666667
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
1
1
0
7
49eda6fd9e4d9b4f195463aff19bfea647a64343
2,633
py
Python
Website Pinger.py
RAZERDK/WebsidePinger
d68b2ee4043cbf4d655a15ccf1530ce1a4119947
[ "Apache-2.0" ]
null
null
null
Website Pinger.py
RAZERDK/WebsidePinger
d68b2ee4043cbf4d655a15ccf1530ce1a4119947
[ "Apache-2.0" ]
null
null
null
Website Pinger.py
RAZERDK/WebsidePinger
d68b2ee4043cbf4d655a15ccf1530ce1a4119947
[ "Apache-2.0" ]
null
null
null
import os import time hostnames = [ 'Github.com', #Du Kan bare Add Din Egen Webside/Ip Den Skal Pinge ] for hostname in hostnames: response = os.system('ping ' + hostname) if response == 0: print (hostname, 'Pinger') print (hostname, 'Pinger') print (hostname, 'Pinger') ...
32.109756
62
0.544246
242
2,633
5.921488
0.157025
0.562456
0.71598
0.887648
0.863224
0.863224
0.8388
0.8388
0.8388
0.8388
0
0.000558
0.319028
2,633
82
62
32.109756
0.798661
0.025826
0
0.871795
0
0
0.181357
0
0
0
0
0
0
0
null
null
0
0.025641
null
null
0.884615
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
12
b7191677bb57e6665a5b812a295d08a8fd968a56
1,383
py
Python
pysnowball/utls.py
chntylz/pysnowball
eb3b8c5e911455354d38acb237bd640a2acb0532
[ "Apache-2.0" ]
null
null
null
pysnowball/utls.py
chntylz/pysnowball
eb3b8c5e911455354d38acb237bd640a2acb0532
[ "Apache-2.0" ]
null
null
null
pysnowball/utls.py
chntylz/pysnowball
eb3b8c5e911455354d38acb237bd640a2acb0532
[ "Apache-2.0" ]
null
null
null
import requests import json import pysnowball.cons as cons import pysnowball.token as token debug = 0 #debug = 1 def fetch(url): HEADERS = {'Host': 'stock.xueqiu.com', 'Accept': 'application/json', 'Cookie': token.get_token(), 'User-Agent': 'Xueqiu iPhone 11.8', ...
26.09434
64
0.577007
160
1,383
4.95625
0.3375
0.113493
0.035309
0.047919
0.827238
0.827238
0.827238
0.827238
0.827238
0.703657
0
0.020325
0.288503
1,383
52
65
26.596154
0.785569
0.006508
0
0.789474
0
0
0.243263
0
0
0
0
0
0
1
0.052632
false
0
0.105263
0
0.210526
0.210526
0
0
0
null
0
0
0
1
1
1
1
1
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
7
3f787f77bead57f93411e68d983b26ea3909974c
1,274
py
Python
amanturcolor.py
Amankumar10/Aman
e75f3ff16ecfe5c3320c7f5be9c02bb8787d2b34
[ "MIT" ]
null
null
null
amanturcolor.py
Amankumar10/Aman
e75f3ff16ecfe5c3320c7f5be9c02bb8787d2b34
[ "MIT" ]
null
null
null
amanturcolor.py
Amankumar10/Aman
e75f3ff16ecfe5c3320c7f5be9c02bb8787d2b34
[ "MIT" ]
null
null
null
import turtle colors=["red","blue","green","black","brown"] my_turtle = turtle.Turtle() my_turtle.speed(70) for i in range(276): my_turtle.pencolor(colors[i%5]) my_turtle.left(70) #(a) my_turtle.forward(100) #(a) my_turtle.left(55) #(a) my_turtle.backward(100) #(a) my_turtl...
24.5
45
0.599686
192
1,274
3.776042
0.166667
0.430345
0.248276
0.176552
0.728276
0.728276
0.728276
0.728276
0.678621
0.678621
0
0.098242
0.240973
1,274
52
46
24.5
0.651499
0.047096
0
0.697674
0
0
0.01841
0
0
0
0
0
0
1
0
false
0
0.023256
0
0.023256
0
0
0
0
null
1
1
1
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
3fa9eb3ac089bc16f50f6df2000ad8c4d8b38804
97,972
py
Python
pynos/versions/ver_6/ver_6_0_1/yang/brocade_vswitch.py
bdeetz/pynos
bd8a34e98f322de3fc06750827d8bbc3a0c00380
[ "Apache-2.0" ]
12
2015-09-21T23:56:09.000Z
2018-03-30T04:35:32.000Z
pynos/versions/ver_6/ver_6_0_1/yang/brocade_vswitch.py
bdeetz/pynos
bd8a34e98f322de3fc06750827d8bbc3a0c00380
[ "Apache-2.0" ]
10
2016-09-15T19:03:27.000Z
2017-07-17T23:38:01.000Z
pynos/versions/ver_6/ver_6_0_1/yang/brocade_vswitch.py
bdeetz/pynos
bd8a34e98f322de3fc06750827d8bbc3a0c00380
[ "Apache-2.0" ]
6
2015-08-14T08:05:23.000Z
2022-02-03T15:33:54.000Z
#!/usr/bin/env python import xml.etree.ElementTree as ET class brocade_vswitch(object): """Auto generated class. """ def __init__(self, **kwargs): self._callback = kwargs.pop('callback') def get_vnetwork_hosts_input_vcenter(self, **kwargs): """Auto Generated Code ...
40.669157
96
0.645603
10,780
97,972
5.601206
0.007514
0.125702
0.077707
0.074113
0.997797
0.997797
0.997797
0.997797
0.997797
0.997797
0
0
0.241957
97,972
2,409
97
40.669157
0.813026
0.053168
0
0.997633
1
0
0.124788
0.018657
0
0
0
0
0
1
0.105917
false
0.00355
0.000592
0
0.212426
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
3ff86c8dec7ad34f11e3e789b712aec8c28882de
1,470
py
Python
bidder/migrations/0002_auto_20181217_2103.py
rManiks/moradmin
95f65a3ec188af458a062d89d02d0004f7b38f19
[ "Apache-2.0" ]
null
null
null
bidder/migrations/0002_auto_20181217_2103.py
rManiks/moradmin
95f65a3ec188af458a062d89d02d0004f7b38f19
[ "Apache-2.0" ]
null
null
null
bidder/migrations/0002_auto_20181217_2103.py
rManiks/moradmin
95f65a3ec188af458a062d89d02d0004f7b38f19
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.3 on 2018-12-17 21:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bidder', '0001_initial'), ] operations = [ migrations.AddField( model_name='location', name='address_line_two', ...
29.4
67
0.557823
138
1,470
5.782609
0.333333
0.135338
0.172932
0.203008
0.766917
0.766917
0.718045
0.718045
0.718045
0.718045
0
0.037374
0.326531
1,470
49
68
30
0.768687
0.030612
0
0.697674
1
0
0.097681
0
0
0
0
0
0
1
0
false
0
0.023256
0
0.093023
0
0
0
0
null
0
0
1
0
1
1
1
1
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
7
b75e9a5b6872fb21df127ccb637275e61cbcfc2c
197
py
Python
src/pipedown/nodes/metrics/__init__.py
brendanhasz/drainpype
a183acec7cae1ef9fde260868e2b021516a8cd7f
[ "MIT" ]
2
2021-03-03T12:11:24.000Z
2021-03-18T15:09:52.000Z
src/pipedown/nodes/metrics/__init__.py
brendanhasz/pipedown
a183acec7cae1ef9fde260868e2b021516a8cd7f
[ "MIT" ]
null
null
null
src/pipedown/nodes/metrics/__init__.py
brendanhasz/pipedown
a183acec7cae1ef9fde260868e2b021516a8cd7f
[ "MIT" ]
null
null
null
from .mean_absolute_percentage_error import MeanAbsolutePercentageError from .mean_squared_error import MeanSquaredError from .median_absolute_percentage_error import MedianAbsolutePercentageError
49.25
75
0.923858
20
197
8.7
0.55
0.189655
0.264368
0.333333
0
0
0
0
0
0
0
0
0.060914
197
3
76
65.666667
0.940541
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
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
1
0
1
0
1
0
0
7
b78f5f0a32a03a11940b444427fbbe4b39463631
41,198
py
Python
tests/milvus_python_test/test_compact.py
youny626/milvus
9e55802c5d515ceecc4cadab9f2fd1cb477d75d5
[ "Apache-2.0" ]
null
null
null
tests/milvus_python_test/test_compact.py
youny626/milvus
9e55802c5d515ceecc4cadab9f2fd1cb477d75d5
[ "Apache-2.0" ]
null
null
null
tests/milvus_python_test/test_compact.py
youny626/milvus
9e55802c5d515ceecc4cadab9f2fd1cb477d75d5
[ "Apache-2.0" ]
1
2021-07-08T07:22:59.000Z
2021-07-08T07:22:59.000Z
import time import random import pdb import threading import logging from multiprocessing import Pool, Process import pytest from milvus import IndexType, MetricType from utils import * dim = 128 index_file_size = 10 COMPACT_TIMEOUT = 30 nprobe = 1 top_k = 1 tag = "1970-01-01" nb = 6000 class TestCompactBase: ""...
39.537428
104
0.626001
5,032
41,198
4.939587
0.037361
0.084004
0.127293
0.127655
0.941061
0.936072
0.923962
0.920743
0.920341
0.916117
0
0.006025
0.270766
41,198
1,041
105
39.575408
0.821323
0.173067
0
0.889481
0
0
0.011124
0.003134
0
0
0
0
0.34221
1
0.050599
false
0
0.011984
0
0.067909
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
b7c2107c07d853962704508200aa975a8f57f23b
2,729
py
Python
tests/test_series/test_getters.py
bearsh/raccoon
bd7a59c3dcf7ad7b995194a4a49631759d9e565c
[ "MIT" ]
62
2016-07-11T01:23:15.000Z
2022-01-14T17:42:17.000Z
tests/test_series/test_getters.py
bearsh/raccoon
bd7a59c3dcf7ad7b995194a4a49631759d9e565c
[ "MIT" ]
13
2016-07-11T01:24:02.000Z
2021-05-17T14:51:58.000Z
tests/test_series/test_getters.py
bearsh/raccoon
bd7a59c3dcf7ad7b995194a4a49631759d9e565c
[ "MIT" ]
14
2017-03-22T17:23:02.000Z
2021-05-08T05:16:30.000Z
import pytest import raccoon as rc def test_index(): actual = rc.Series([4, 5, 6], index=['a', 'b', 'c']) result = actual.index assert result == ['a', 'b', 'c'] assert isinstance(result, list) # test that a view is returned result.append('bad') assert actual.index == ['a', 'b', 'c', 'bad...
25.036697
78
0.584097
389
2,729
4.056555
0.154242
0.125475
0.019011
0.040558
0.813055
0.813055
0.759823
0.759823
0.759823
0.759823
0
0.041069
0.259436
2,729
108
79
25.268519
0.739733
0.101869
0
0.7
0
0
0.04877
0
0
0
0
0
0.442857
1
0.057143
false
0
0.028571
0
0.085714
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
b7d15e3dc64c0784d3e711fd2f8a912613309e9f
21,415
py
Python
python/cuXfilter/layouts/layouts.py
AjayThorve/cuxfilter
537ff67de80439a43e0bad7373558f5e25dcb112
[ "Apache-2.0" ]
2
2019-03-06T02:10:05.000Z
2020-05-06T06:33:02.000Z
python/cuXfilter/layouts/layouts.py
AjayThorve/cuxfilter
537ff67de80439a43e0bad7373558f5e25dcb112
[ "Apache-2.0" ]
null
null
null
python/cuXfilter/layouts/layouts.py
AjayThorve/cuxfilter
537ff67de80439a43e0bad7373558f5e25dcb112
[ "Apache-2.0" ]
null
null
null
from panel import GridSpec from panel import extension from panel import Column import panel as pn from .layout_templates import * class Layout0: def generate_dashboard(self, title, charts): """ layout 0 [1] """ tmpl = pn.Template(layout_0) tmpl.add_pane...
32.251506
88
0.497502
2,467
21,415
4.104175
0.039724
0.045432
0.099951
0.145383
0.963259
0.957827
0.952889
0.884938
0.877827
0.874272
0
0.053837
0.396311
21,415
664
89
32.251506
0.729347
0.016671
0
0.906054
1
0
0.082251
0
0
0
0
0
0
1
0.02714
false
0
0.010438
0
0.091858
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
b7ef77f62342982a46c771a6b52b04a9cd2cc621
6,548
py
Python
robovat/envs/push/layouts.py
leobxpan/robovat
0d360c34c677cf018c4daab0b8e758943ae1d2c1
[ "MIT" ]
62
2020-04-08T11:26:24.000Z
2021-09-06T02:45:53.000Z
robovat/envs/push/layouts.py
leobxpan/robovat
0d360c34c677cf018c4daab0b8e758943ae1d2c1
[ "MIT" ]
7
2020-04-12T13:10:10.000Z
2022-03-12T00:15:03.000Z
robovat/envs/push/layouts.py
leobxpan/robovat
0d360c34c677cf018c4daab0b8e758943ae1d2c1
[ "MIT" ]
17
2020-04-12T17:37:01.000Z
2021-09-07T01:51:46.000Z
"""Reward function of the environments. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import collections PushLayout = collections.namedtuple( 'PushLayout', ('size', 'offset', 'region', 'goal', 'target', 'obstacle', ...
26.617886
71
0.252902
780
6,548
2.075641
0.066667
0.033354
0.035207
0.046943
0.776405
0.760346
0.736875
0.729463
0.72761
0.712786
0
0.247813
0.528558
6,548
245
72
26.726531
0.276644
0.014508
0
0.826667
0
0
0.013807
0
0
0
0
0
0
1
0
false
0
0.017778
0
0.017778
0.004444
0
0
0
null
0
0
0
0
1
1
1
1
1
0
1
1
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
4d7f75af9a3a7fbb74737875200cb9943fcc2ec9
174
py
Python
scripts/mango/fields/__init__.py
robertjoosten/maya-orm
9c5db622d5bbba63246ff1d3f0a22bd3f7140f6c
[ "MIT" ]
11
2020-11-14T14:37:49.000Z
2022-03-25T03:28:23.000Z
scripts/mango/fields/__init__.py
robertjoosten/maya-orm
9c5db622d5bbba63246ff1d3f0a22bd3f7140f6c
[ "MIT" ]
null
null
null
scripts/mango/fields/__init__.py
robertjoosten/maya-orm
9c5db622d5bbba63246ff1d3f0a22bd3f7140f6c
[ "MIT" ]
null
null
null
from mango.fields.base import * from mango.fields.generic import * from mango.fields.arrays import * from mango.fields.compounds import * from mango.fields.geometry import *
29
36
0.798851
25
174
5.56
0.36
0.323741
0.539568
0.604317
0
0
0
0
0
0
0
0
0.114943
174
5
37
34.8
0.902597
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
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
1
0
1
0
1
0
0
8
4d920eb4b0ef760d1471d73967715df0baf8a64b
35
py
Python
src/sqr_eqs.py
qxiddd/otus-architecture-patterns-2022-02
de49c5953b5e3adbbc2ce8acb497c4903cc2b306
[ "MIT" ]
null
null
null
src/sqr_eqs.py
qxiddd/otus-architecture-patterns-2022-02
de49c5953b5e3adbbc2ce8acb497c4903cc2b306
[ "MIT" ]
null
null
null
src/sqr_eqs.py
qxiddd/otus-architecture-patterns-2022-02
de49c5953b5e3adbbc2ce8acb497c4903cc2b306
[ "MIT" ]
null
null
null
def hello_world(): return True
11.666667
18
0.685714
5
35
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.228571
35
2
19
17.5
0.851852
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0
0
0.5
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
1
1
0
0
1
1
0
0
7
4d938e7160f5857c02d3758f0ae61e9ccac6f49c
141
py
Python
tools/__init__.py
BALAVIGNESHDOSTRIX/py-amr-pignus
869afa3c2113549cc186f5bbc2d2acf9cb521fb2
[ "MIT" ]
null
null
null
tools/__init__.py
BALAVIGNESHDOSTRIX/py-amr-pignus
869afa3c2113549cc186f5bbc2d2acf9cb521fb2
[ "MIT" ]
null
null
null
tools/__init__.py
BALAVIGNESHDOSTRIX/py-amr-pignus
869afa3c2113549cc186f5bbc2d2acf9cb521fb2
[ "MIT" ]
null
null
null
from . import file_encrypt_decrypt from . import dir_helper from . import csvfile_helper from . import filename_handler from . import player
28.2
34
0.822695
20
141
5.55
0.55
0.45045
0.288288
0
0
0
0
0
0
0
0
0
0.141844
141
5
35
28.2
0.917355
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
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
7
4da9b5a8e3c28c5caf83f69cad331cdd38aeceae
100,508
py
Python
output_python/PEPS_Basics_Added.py
ryuikaneko/itps_contraction
10816fb6c90d77f5a3b2f804ab22573d1d676eb4
[ "MIT" ]
1
2019-12-19T05:03:37.000Z
2019-12-19T05:03:37.000Z
output_python/PEPS_Basics_Added.py
ryuikaneko/itps_contraction
10816fb6c90d77f5a3b2f804ab22573d1d676eb4
[ "MIT" ]
null
null
null
output_python/PEPS_Basics_Added.py
ryuikaneko/itps_contraction
10816fb6c90d77f5a3b2f804ab22573d1d676eb4
[ "MIT" ]
null
null
null
# coding:utf-8 import numpy as np import scipy as scipy import scipy.linalg as linalg import scipy.sparse.linalg as spr_linalg import scipy.linalg.interpolative from PEPS_Parameters import * def Contract_scalar_1x1(\ t0_2,t1_2,t2_2,\ t0_1,t1_1,t2_1,\ t0_0,t1_0,t2_0,\ o1_1\ ): ##################...
58.299304
465
0.206591
8,493
100,508
2.202284
0.0146
0.391093
0.104951
0.177609
0.933864
0.903978
0.852545
0.801272
0.742462
0.698033
0
0.19087
0.644287
100,508
1,723
466
58.33314
0.332289
0.074153
0
0.841597
0
0
0
0
0
0
0
0
0
1
0.013522
false
0
0.003863
0.013522
0.030908
0
0
0
0
null
1
0
1
1
1
1
1
1
1
0
0
1
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
4dc5c62659198107fb6e21165320068bfcdcefdf
42,946
py
Python
openbook_communities/tests/views/community/posts/test_views.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
164
2019-07-29T17:59:06.000Z
2022-03-19T21:36:01.000Z
openbook_communities/tests/views/community/posts/test_views.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
188
2019-03-16T09:53:25.000Z
2019-07-25T14:57:24.000Z
openbook_communities/tests/views/community/posts/test_views.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
80
2019-08-03T17:49:08.000Z
2022-02-28T16:56:33.000Z
from django.urls import reverse from faker import Faker from openbook_common.tests.models import OpenbookAPITestCase from rest_framework import status import logging import json from openbook_common.tests.helpers import make_user, make_authentication_headers_for_user, \ make_community, make_fake_post_text, make_p...
41.057361
122
0.67373
4,915
42,946
5.502136
0.038861
0.114891
0.101209
0.113449
0.910402
0.894243
0.877159
0.868617
0.854158
0.838664
0
0.006176
0.253528
42,946
1,045
123
41.096651
0.837388
0.061403
0
0.798485
0
0
0.008264
0.001087
0
0
0
0
0.113636
1
0.05303
false
0
0.018182
0.004545
0.080303
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
4de81ae03d9c04fb06bb17ba707adda455e1e268
355
py
Python
torabot/mods/ehentai/spy/ehentai/test/test_rating.py
Answeror/torabot
b6260190ec1f0dc8bf3f7ba3512c0522668c59ed
[ "MIT" ]
42
2015-01-20T10:45:08.000Z
2021-04-17T05:10:27.000Z
torabot/mods/ehentai/spy/ehentai/test/test_rating.py
Answeror/torabot
b6260190ec1f0dc8bf3f7ba3512c0522668c59ed
[ "MIT" ]
4
2015-01-23T05:40:44.000Z
2016-12-19T03:52:20.000Z
torabot/mods/ehentai/spy/ehentai/test/test_rating.py
Answeror/torabot
b6260190ec1f0dc8bf3f7ba3512c0522668c59ed
[ "MIT" ]
8
2015-05-07T03:51:05.000Z
2019-03-20T05:40:47.000Z
from nose.tools import assert_equal from ..rating import parse_rating def test_parse_rating(): assert_equal(parse_rating('background-position:-16px -21px; opacity:1'), 3.5) assert_equal(parse_rating('background-position:-64px -21px; opacity:0.6'), 0.5) assert_equal(parse_rating('background-position:0px -1...
39.444444
91
0.76338
52
355
5.019231
0.461538
0.210728
0.183908
0.252874
0.467433
0.467433
0.314176
0
0
0
0
0.103448
0.101408
355
8
92
44.375
0.714734
0
0
0
0
0
0.394366
0.273239
0
0
0
0
0.666667
1
0.166667
true
0
0.333333
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
1
0
0
0
0
7
4df1d2c1ac63539ecf3221553ca870ade6aa7908
6,722
py
Python
app/chat/message.py
nilinykh/slurk
5109527947dd231780363df12e01721f53247ca4
[ "BSD-3-Clause" ]
null
null
null
app/chat/message.py
nilinykh/slurk
5109527947dd231780363df12e01721f53247ca4
[ "BSD-3-Clause" ]
null
null
null
app/chat/message.py
nilinykh/slurk
5109527947dd231780363df12e01721f53247ca4
[ "BSD-3-Clause" ]
null
null
null
from calendar import timegm from datetime import datetime from flask_socketio import emit from flask_login import login_required, current_user from .. import socketio from ..models.user import User from ..models.room import Room from ..api.log import log_event @socketio.on('keypress') def keypress(message): la...
34.121827
119
0.617673
819
6,722
4.930403
0.100122
0.098068
0.038633
0.035661
0.804111
0.767707
0.745666
0.717434
0.709014
0.699604
0
0.000408
0.271348
6,722
196
120
34.295918
0.82401
0
0
0.705882
0
0
0.169592
0
0
0
0
0
0
1
0.023529
false
0
0.047059
0
0.241176
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
1511755dae762e902ce90ba11b463f73f35afa94
57,992
py
Python
test/test_cli.py
MichaelGoodale/opensauce-python
cafad071fa1ed675b4e7177b37ed41af94b39c5f
[ "Apache-2.0" ]
38
2015-02-10T08:35:50.000Z
2022-03-15T10:56:40.000Z
test/test_cli.py
MichaelGoodale/opensauce-python
cafad071fa1ed675b4e7177b37ed41af94b39c5f
[ "Apache-2.0" ]
37
2015-09-23T00:17:07.000Z
2022-02-24T17:52:56.000Z
test/test_cli.py
CobiELF/opensauce-python
03c278ca92b150188821dadfc9702ff9f939aa4e
[ "Apache-2.0" ]
11
2018-08-28T06:41:41.000Z
2022-01-21T05:07:40.000Z
import contextlib import os import sys import textwrap import re import unittest import numpy as np from sys import platform from shutil import copytree from subprocess import Popen, PIPE from opensauce.__main__ import CLI from opensauce.snack import sformant_names from test.support import TestCase, data_file_path, ...
43.73454
164
0.565181
7,242
57,992
4.378349
0.070975
0.173615
0.116374
0.072537
0.840482
0.805191
0.784155
0.753532
0.737574
0.718021
0
0.054981
0.277711
57,992
1,325
165
43.767547
0.702008
0.025072
0
0.721939
0
0
0.197721
0.01991
0
0
0
0
0.340136
1
0.07483
false
0.002551
0.011054
0
0.097789
0.001701
0
0
0
null
0
0
0
1
1
1
1
1
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
7
12fc36830b4b42e40ce943a1b625275da8304e49
2,014
py
Python
vm/objects/float.py
a-vorontsov/6ccs3prj
366ae0e6332b6811bbe415bd5cf60d4dcfc4a70a
[ "MIT" ]
3
2020-12-17T20:56:57.000Z
2021-02-19T16:31:08.000Z
vm/objects/float.py
a-vorontsov/6ccs3prj
366ae0e6332b6811bbe415bd5cf60d4dcfc4a70a
[ "MIT" ]
null
null
null
vm/objects/float.py
a-vorontsov/6ccs3prj
366ae0e6332b6811bbe415bd5cf60d4dcfc4a70a
[ "MIT" ]
1
2021-04-19T17:00:56.000Z
2021-04-19T17:00:56.000Z
from primitive_object import PrimitiveObject from null import Null class Float(PrimitiveObject): __slots__ = ("value",) _immutable_fields_ = ("value",) def __init__(self, value): self.value = value def get_value(self): return self.value def get_string(self): return str(s...
25.175
47
0.580933
233
2,014
4.957082
0.180258
0.109091
0.197403
0.199134
0.738528
0.738528
0.711688
0.711688
0.711688
0.711688
0
0.001473
0.32572
2,014
79
48
25.493671
0.849043
0
0
0.412698
0
0
0.004965
0
0
0
0
0
0.190476
0
null
null
0
0.031746
null
null
0.031746
0
0
0
null
0
1
1
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
1
0
0
0
0
0
0
0
0
8
4254a2be2e3f79f432804ce4254e63a242ed7454
121
py
Python
test.py
csy1993/PythonInterview
01667ba0e453c8a62800cdae84bbf8554da70ceb
[ "Apache-2.0" ]
null
null
null
test.py
csy1993/PythonInterview
01667ba0e453c8a62800cdae84bbf8554da70ceb
[ "Apache-2.0" ]
null
null
null
test.py
csy1993/PythonInterview
01667ba0e453c8a62800cdae84bbf8554da70ceb
[ "Apache-2.0" ]
null
null
null
''' @Author: CSY @Date: 2020-01-28 09:55:04 @LastEditors : CSY @LastEditTime : 2020-01-28 09:55:17 ''' a=5%2==1 print(a)
15.125
35
0.636364
24
121
3.208333
0.708333
0.155844
0.207792
0.25974
0.311688
0
0
0
0
0
0
0.295238
0.132231
121
8
36
15.125
0.438095
0.785124
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
1
1
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
1
0
7
428545737cfefd3316be6497470c6bc6d6c28402
13,541
py
Python
infoblox_netmri/api/broker/v3_8_0/system_backup_broker.py
infobloxopen/infoblox_netmri
aa1c744df7e439dbe163bb9edd165e4e85a9771b
[ "Apache-2.0" ]
12
2016-02-19T12:37:54.000Z
2022-03-04T20:11:08.000Z
infoblox_netmri/api/broker/v3_8_0/system_backup_broker.py
azinfoblox/infoblox-netmri
02372c5231e2677ab6299cb659a73c9a41b4b0f4
[ "Apache-2.0" ]
18
2015-11-12T18:37:00.000Z
2021-05-19T07:59:55.000Z
infoblox_netmri/api/broker/v3_8_0/system_backup_broker.py
azinfoblox/infoblox-netmri
02372c5231e2677ab6299cb659a73c9a41b4b0f4
[ "Apache-2.0" ]
18
2016-01-07T12:04:34.000Z
2022-03-31T11:05:41.000Z
from ..broker import Broker class SystemBackupBroker(Broker): controller = "system_backup" def create_archive(self, **kwargs): """Creates backup of current system database. **Inputs** | ``api version min:`` None | ``api version max:`` None | ``requ...
33.517327
210
0.53482
1,454
13,541
4.882393
0.114856
0.101423
0.065925
0.086209
0.76391
0.736723
0.732075
0.732075
0.732075
0.732075
0
0.00522
0.363341
13,541
403
211
33.600496
0.818235
0.661325
0
0
0
0
0.127959
0.060781
0
0
0
0
0
1
0.434783
false
0
0.043478
0
1
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
1
0
0
0
0
1
0
0
7
c40bfc544aadab72d039226c3600579acb273865
3,223
py
Python
RecoMuon/MuonIsolation/python/muonPFIsolationCitk_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoMuon/MuonIsolation/python/muonPFIsolationCitk_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoMuon/MuonIsolation/python/muonPFIsolationCitk_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms muonPFNoPileUpIsolation = cms.EDProducer( "CITKPFIsolationSumProducer", srcToIsolate = cms.InputTag("muons"), srcForIsolationCone = cms.InputTag('pfNoPileUpCandidates'), isolationConeDefinitions = cms.VPSet( cms.PSet( isolationAlgo = cms.string('MuonPFIs...
46.710145
76
0.56283
276
3,223
6.572464
0.144928
0.119074
0.132304
0.101433
0.93054
0.93054
0.93054
0.93054
0.93054
0.93054
0
0.042727
0.317406
3,223
68
77
47.397059
0.781818
0
0
0.888889
0
0
0.107697
0.091558
0
0
0
0
0
1
0
false
0
0.015873
0
0.015873
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
c422219348eb3ad66029a57d2ccbc3808d67ef9a
2,023
py
Python
0478 Communication Towers.py
ansabgillani/binarysearchcomproblems
12fe8632f8cbb5058c91a55bae53afa813a3247e
[ "MIT" ]
1
2020-12-29T21:17:26.000Z
2020-12-29T21:17:26.000Z
0478 Communication Towers.py
ansabgillani/binarysearchcomproblems
12fe8632f8cbb5058c91a55bae53afa813a3247e
[ "MIT" ]
null
null
null
0478 Communication Towers.py
ansabgillani/binarysearchcomproblems
12fe8632f8cbb5058c91a55bae53afa813a3247e
[ "MIT" ]
4
2021-09-09T17:42:43.000Z
2022-03-18T04:54:03.000Z
class Solution: def solve(self, matrix): leaders = {(r,c):(r,c) for r in range(len(matrix)) for c in range(len(matrix[0])) if matrix[r][c] == 1} followers = {(r,c):[(r,c)] for r in range(len(matrix)) for c in range(len(matrix[0])) if matrix[r][c] == 1} for r in range(len(matrix)): ...
32.629032
115
0.461691
221
2,023
4.099548
0.131222
0.030905
0.0883
0.14128
0.898455
0.898455
0.854305
0.831126
0.831126
0.831126
0
0.007042
0.438458
2,023
61
116
33.163934
0.790493
0
0
0.883721
0
0
0
0
0
0
0
0
0
1
0.023256
false
0
0
0
0.069767
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
c42f420cf6ab61a15f6be4458145aa7a884aa03d
128
py
Python
quarks2cosmos/models/__init__.py
dkn16/Quarks2CosmosDataChallenge
7ed755b0050bebd1ab4c73b3329389a9cfc6d208
[ "MIT" ]
9
2021-07-12T11:46:37.000Z
2021-09-03T13:07:56.000Z
quarks2cosmos/models/__init__.py
dkn16/Quarks2CosmosDataChallenge
7ed755b0050bebd1ab4c73b3329389a9cfc6d208
[ "MIT" ]
5
2021-07-12T11:49:35.000Z
2021-07-15T00:09:23.000Z
quarks2cosmos/models/__init__.py
dkn16/Quarks2CosmosDataChallenge
7ed755b0050bebd1ab4c73b3329389a9cfc6d208
[ "MIT" ]
5
2021-07-12T18:10:14.000Z
2021-07-18T02:53:44.000Z
from quarks2cosmos.models.convdae import SmallUResNet from quarks2cosmos.models.normalization import SpectralNorm, SNParamsTree
42.666667
73
0.890625
13
128
8.769231
0.692308
0.298246
0.403509
0
0
0
0
0
0
0
0
0.016807
0.070313
128
2
74
64
0.941176
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
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
7
c44a0fc0360ab5d3817742244cea81334ae4379a
2,776
py
Python
problems/problem8.py
phi95/Project-Euler
3c9f251686e91d8b72585c39fe295d8be8ca5303
[ "MIT" ]
null
null
null
problems/problem8.py
phi95/Project-Euler
3c9f251686e91d8b72585c39fe295d8be8ca5303
[ "MIT" ]
null
null
null
problems/problem8.py
phi95/Project-Euler
3c9f251686e91d8b72585c39fe295d8be8ca5303
[ "MIT" ]
null
null
null
#!/usr/bin/python #The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832. #73167176531330624919225119674426574742355349194934 #96983520312774506326239578318016984801869478851843 #85861560789112949495459501737958331952853208805511 #125406987471585238630507156932909632...
45.508197
126
0.882565
137
2,776
17.905109
0.481752
0.011415
0.013045
0.015491
0.864248
0.864248
0.864248
0.864248
0.864248
0.864248
0
0.792549
0.081412
2,776
60
127
46.266667
0.168235
0.449207
0
0
0
0
0.680611
0.664011
0
0
0
0
0
1
0.029412
false
0
0
0
0.058824
0
0
0
1
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
c483d87ebe93621c3ed376687dde32aba63b1356
5,317
py
Python
8term/OR/lab7/Tests.py
nik-sergeson/bsuir-informatics-labs
14805fb83b8e2324580b6253158565068595e804
[ "Apache-2.0" ]
null
null
null
8term/OR/lab7/Tests.py
nik-sergeson/bsuir-informatics-labs
14805fb83b8e2324580b6253158565068595e804
[ "Apache-2.0" ]
null
null
null
8term/OR/lab7/Tests.py
nik-sergeson/bsuir-informatics-labs
14805fb83b8e2324580b6253158565068595e804
[ "Apache-2.0" ]
null
null
null
import unittest from LongestPathTree import LongestPathTree from sympy import Matrix class TestExamples(unittest.TestCase): def test_example(self): paths = Matrix([[0, 2, 0, 1, 0, 0], [0, 0, 2, 0, 7, 0], [0, 0, 0, 0, 0, 8], [0, 4, 4,...
39.095588
53
0.326876
795
5,317
2.142138
0.061635
0.380505
0.454492
0.46741
0.826189
0.788608
0.745743
0.725778
0.665884
0.603053
0
0.232688
0.494828
5,317
135
54
39.385185
0.40134
0
0
0.319672
0
0
0.001505
0
0
0
0
0
0.07377
1
0.07377
false
0
0.02459
0
0.106557
0
0
0
0
null
1
1
1
1
1
1
1
0
1
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
10
6723ade03a2b10264ce6b5c3068e600480331e21
28,045
py
Python
sensor/models.py
kwarodom/mib_ui_data_analytics
a0bc0b30ada1622e00dff41797bd07ea76d7c422
[ "Unlicense" ]
null
null
null
sensor/models.py
kwarodom/mib_ui_data_analytics
a0bc0b30ada1622e00dff41797bd07ea76d7c422
[ "Unlicense" ]
null
null
null
sensor/models.py
kwarodom/mib_ui_data_analytics
a0bc0b30ada1622e00dff41797bd07ea76d7c422
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- # Authors: Kruthika Rathinavel # Version: 2.0 # Email: kruthika@vt.edu # Created: "2014-10-13 18:45:40" # Updated: "2015-02-13 15:06:41" # Copyright © 2014 by Virginia Polytechnic Institute and State University # All rights reserved # # Virginia Polytechnic Institute and State University (Virg...
47.940171
119
0.675165
3,445
28,045
5.237155
0.08447
0.017515
0.043232
0.042401
0.837878
0.833777
0.81277
0.81277
0.81277
0.798526
0
0.008694
0.216616
28,045
584
120
48.02226
0.812472
0.093386
0
0.89002
0
0
0.079066
0
0
0
0
0
0
1
0.0611
false
0
0.00611
0.01222
0.291242
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
673be4ea27d8b5ca94019b00990c971ff0157af4
21,560
py
Python
tests/config/test_data.py
titu1994/pyshac
63edafb8b80a9d2dec7c27b023569df56a659894
[ "MIT" ]
20
2018-06-29T05:32:10.000Z
2022-02-02T17:12:41.000Z
tests/config/test_data.py
titu1994/pyshac
63edafb8b80a9d2dec7c27b023569df56a659894
[ "MIT" ]
9
2018-08-20T18:00:13.000Z
2019-01-09T20:36:45.000Z
tests/config/test_data.py
titu1994/pyshac
63edafb8b80a9d2dec7c27b023569df56a659894
[ "MIT" ]
6
2018-08-13T15:15:14.000Z
2021-08-05T01:52:52.000Z
import os import shutil import six import pytest import numpy as np from pyshac.config import hyperparameters as hp, data # compatible with both Python 2 and 3 try: FileNotFoundError except NameError: FileNotFoundError = IOError def deterministic_test(func): @six.wraps(func) def wrapper(*args, **kw...
27.5
82
0.68103
2,876
21,560
4.910292
0.058414
0.027758
0.034414
0.043974
0.898102
0.878275
0.864042
0.852712
0.840674
0.832885
0
0.022395
0.194341
21,560
783
83
27.535121
0.790616
0.028896
0
0.859583
0
0
0.012627
0
0
0
0
0
0.305503
1
0.056926
false
0
0.011385
0
0.081594
0.001898
0
0
0
null
0
0
0
1
1
1
1
1
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
7
676947a9d0b90e8634d1764216af93de768e425b
222,397
py
Python
pelicun/tests/test_control.py
dnicruz/pelicun
74ed52acfe8d5a47cc553586ff0c9f89c4094351
[ "BSD-3-Clause" ]
null
null
null
pelicun/tests/test_control.py
dnicruz/pelicun
74ed52acfe8d5a47cc553586ff0c9f89c4094351
[ "BSD-3-Clause" ]
null
null
null
pelicun/tests/test_control.py
dnicruz/pelicun
74ed52acfe8d5a47cc553586ff0c9f89c4094351
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (c) 2018 Leland Stanford Junior University # Copyright (c) 2018 The Regents of the University of California # # This file is part of pelicun. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions ...
48.685858
122
0.446085
38,788
222,397
2.431087
0.021037
0.175
0.227505
0.280433
0.893698
0.878522
0.868511
0.854683
0.835912
0.827375
0
0.168707
0.32705
222,397
4,568
123
48.685858
0.46136
0.108023
0
0.752451
0
0
0.022046
0.000426
0
0
0
0
0.148897
1
0.005515
false
0
0.002757
0
0.008272
0.000613
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
677eb94878c2ce06ff4d9f0c0c17be59e3848bb5
92
py
Python
apps/oclib/client/__init__.py
leigeng2014/sango2
aa0a3ed1a316d8afc9482f072f2aa57cffe9a10f
[ "Apache-2.0" ]
null
null
null
apps/oclib/client/__init__.py
leigeng2014/sango2
aa0a3ed1a316d8afc9482f072f2aa57cffe9a10f
[ "Apache-2.0" ]
null
null
null
apps/oclib/client/__init__.py
leigeng2014/sango2
aa0a3ed1a316d8afc9482f072f2aa57cffe9a10f
[ "Apache-2.0" ]
null
null
null
from apps.oclib.client.ocmongo import Mongo from apps.oclib.client.ocredis import Redis
23
44
0.804348
14
92
5.285714
0.642857
0.216216
0.351351
0.513514
0
0
0
0
0
0
0
0
0.130435
92
3
45
30.666667
0.925
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
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
1
0
1
0
1
0
0
8
67aab2542b7900005a09861e1ae9cb6269a490b8
75,640
py
Python
src/framework/visualization/offlinePlotter.py
securedataplane/mts
9ffe415ce586600e558e7a2855348c9cd1651f49
[ "MIT" ]
1
2022-03-10T13:00:25.000Z
2022-03-10T13:00:25.000Z
src/framework/visualization/offlinePlotter.py
securedataplane/mts
9ffe415ce586600e558e7a2855348c9cd1651f49
[ "MIT" ]
1
2019-07-23T08:49:09.000Z
2019-07-23T08:49:09.000Z
src/framework/visualization/offlinePlotter.py
securedataplane/mts
9ffe415ce586600e558e7a2855348c9cd1651f49
[ "MIT" ]
null
null
null
import numpy as np import matplotlib # matplotlib.use('Agg') import matplotlib.pyplot as plt from numpy import arange from scipy.interpolate import spline from pylab import * import itertools import json import time import re from datetime import datetime, tzinfo, timedelta import glob from matplotlib.patches import Re...
53.836299
262
0.70197
9,418
75,640
5.362816
0.040985
0.077217
0.056428
0.018532
0.952304
0.945295
0.941295
0.935276
0.929832
0.92015
0
0.048781
0.158488
75,640
1,404
263
53.874644
0.744706
0.169276
0
0.823951
0
0.004094
0.238921
0.182894
0
0
0
0
0
0
null
null
0.001024
0.013306
null
null
0.051177
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
67c72716235820b31bc180e53a2f5792284acdfb
19,351
py
Python
tests/st/scipy_st/sparse/test_linalg.py
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
null
null
null
tests/st/scipy_st/sparse/test_linalg.py
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
null
null
null
tests/st/scipy_st/sparse/test_linalg.py
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
42.159041
115
0.674022
2,874
19,351
4.400487
0.115518
0.056931
0.053135
0.033209
0.885032
0.878469
0.868506
0.864395
0.852692
0.833716
0
0.175085
0.16826
19,351
458
116
42.251092
0.610687
0.107901
0
0.800623
0
0
0.038459
0
0
0
0
0
0.074766
1
0.049844
false
0
0.031153
0.003115
0.102804
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
c0689084e6fa06f6b2c852b2d81b8edec085dc29
25,723
py
Python
src/amuse/test/suite/core_tests/test_incode_storage.py
rknop/amuse
85d5bdcc29cfc87dc69d91c264101fafd6658aec
[ "Apache-2.0" ]
131
2015-06-04T09:06:57.000Z
2022-02-01T12:11:29.000Z
src/amuse/test/suite/core_tests/test_incode_storage.py
rknop/amuse
85d5bdcc29cfc87dc69d91c264101fafd6658aec
[ "Apache-2.0" ]
690
2015-10-17T12:18:08.000Z
2022-03-31T16:15:58.000Z
src/amuse/test/suite/core_tests/test_incode_storage.py
rieder/amuse
3ac3b6b8f922643657279ddee5c8ab3fc0440d5e
[ "Apache-2.0" ]
102
2015-01-22T10:00:29.000Z
2022-02-09T13:29:43.000Z
from amuse.test import amusetest from amuse.datamodel.incode_storage import * import numpy import time from amuse.units import units from amuse.units import constants from amuse.units import nbody_system class TestParticles(amusetest.TestCase): def test1(self): class Code(object): def __...
35.333791
141
0.49135
3,033
25,723
3.984174
0.044181
0.088133
0.034426
0.040218
0.872807
0.843264
0.830023
0.809335
0.787653
0.779626
0
0.035187
0.375773
25,723
727
142
35.382393
0.717382
0.007075
0
0.710952
0
0
0.012692
0
0
0
0
0
0.159785
1
0.129264
false
0.010772
0.012567
0.041293
0.238779
0.001795
0
0
0
null
0
0
0
1
1
1
1
1
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
7
fbe972302437b480308156b27377c8886c935f95
4,834
py
Python
exp/fig14b/logtable_def.py
SJTU-IPADS/fgnn-artifacts
c96e7ec8204d767152958dc63a764466e90424fd
[ "Apache-2.0" ]
23
2022-01-25T13:28:51.000Z
2022-03-23T07:05:47.000Z
exp/fig14b/logtable_def.py
SJTU-IPADS/gnnlab
5c73564e4a9bd5deeff7eed0b923c115ccba34d7
[ "Apache-2.0" ]
null
null
null
exp/fig14b/logtable_def.py
SJTU-IPADS/gnnlab
5c73564e4a9bd5deeff7eed0b923c115ccba34d7
[ "Apache-2.0" ]
1
2022-02-28T18:48:56.000Z
2022-02-28T18:48:56.000Z
import os import sys sys.path.append(os.path.join(os.getcwd(), '../common')) from runner_helper2 import * def get_dgl_logtable(): return LogTable( num_row=8, num_col=1 ).update_col_definition( col_id=0, definition='epoch_time' ).update_row_definition( row_id=0, ...
24.414141
55
0.56475
671
4,834
3.684054
0.080477
0.123786
0.261327
0.302589
0.90089
0.879854
0.837783
0.834142
0.804207
0.667071
0
0.06229
0.322507
4,834
197
56
24.538071
0.692519
0
0
0.764398
0
0
0.039098
0.014481
0
0
0
0
0
1
0.015707
true
0
0.015707
0.015707
0.04712
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
10
fbe984bc14d9dc01929c991f789056a6acdbdac1
6,909
py
Python
tube/tests/test_example.py
adamgilman/tube-python
3d94e79f7d367eed95ed68b53d0ab13a36cc3219
[ "BSD-3-Clause" ]
5
2017-01-26T00:06:08.000Z
2020-06-03T16:07:09.000Z
tube/tests/test_example.py
adamgilman/tube-python
3d94e79f7d367eed95ed68b53d0ab13a36cc3219
[ "BSD-3-Clause" ]
null
null
null
tube/tests/test_example.py
adamgilman/tube-python
3d94e79f7d367eed95ed68b53d0ab13a36cc3219
[ "BSD-3-Clause" ]
1
2021-11-22T16:23:14.000Z
2021-11-22T16:23:14.000Z
import unittest from tube.tubeAPI import Tube from tube.tubeAPI import TubeLine, TubeStation from tube.tubeAPI import TubeLineManager, TubeStationManager class EaseOfUse(unittest.TestCase): def setUp(self): self.tube = Tube() def test_lines(self): self.assertEqual( type(self.tube.lines), TubeLineManager ) ...
119.12069
2,660
0.760602
977
6,909
5.376663
0.16479
0.148487
0.188083
0.134019
0.529793
0.455168
0.429659
0.397868
0.348563
0.348563
0
0.121715
0.118831
6,909
57
2,661
121.210526
0.74113
0.915473
0
0
0
0
0.007299
0
0
0
0
0
0.285714
1
0.214286
false
0.071429
0.285714
0
0.571429
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
7
221791e45f3c5253e5341fee0fc3f259e19d3ecc
27,476
py
Python
app/agq/clause.py
GaganCJ/QuestionGeneratorApp
e9c062b512920a579d6c2a56172320c6fbae4aa2
[ "Unlicense" ]
null
null
null
app/agq/clause.py
GaganCJ/QuestionGeneratorApp
e9c062b512920a579d6c2a56172320c6fbae4aa2
[ "Unlicense" ]
2
2018-11-20T14:09:20.000Z
2018-11-20T16:48:45.000Z
app/agq/clause.py
GaganCJ/QuestionGeneratorApp
e9c062b512920a579d6c2a56172320c6fbae4aa2
[ "Unlicense" ]
2
2018-11-19T05:06:27.000Z
2018-11-25T05:17:36.000Z
import nltk from app.agq import identification from app.agq import nonClause def whom_1(segment_set, num, ner): tok = nltk.word_tokenize(segment_set[num]) tag = nltk.pos_tag(tok) gram = r"""chunk:{<TO>+<DT>?<RB.?>*<JJ.?>*<NN.?|PRP|PRP\$|VBG|DT|POS|CD|VBN>+}""" chunkparser = nltk.RegexpParser(...
38.97305
120
0.386956
2,753
27,476
3.798765
0.041409
0.041499
0.074775
0.033658
0.929241
0.9214
0.916428
0.914611
0.90983
0.902945
0
0.0463
0.477253
27,476
704
121
39.028409
0.681821
0.005314
0
0.875657
0
0.024518
0.068192
0.047415
0
0
0
0
0
1
0.015762
false
0
0.005254
0
0.036778
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
97d7fe403d06e57af45d2ce591b792540b6687d1
47,641
py
Python
testcases/broker_test.py
tibkiss/pyalgotrade
4979315281c362dcba2e6d53da27dc4a7377ebec
[ "Apache-2.0" ]
2
2015-04-03T10:29:14.000Z
2017-01-21T05:55:00.000Z
testcases/broker_test.py
tibkiss/pyalgotrade
4979315281c362dcba2e6d53da27dc4a7377ebec
[ "Apache-2.0" ]
null
null
null
testcases/broker_test.py
tibkiss/pyalgotrade
4979315281c362dcba2e6d53da27dc4a7377ebec
[ "Apache-2.0" ]
null
null
null
# PyAlgoTrade # # Copyright 2011 Gabriel Martin Becedillas Ruiz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
42.347556
141
0.652568
5,238
47,641
5.923444
0.051165
0.070906
0.039385
0.066652
0.910111
0.903407
0.893351
0.887163
0.882586
0.865794
0
0.039572
0.233517
47,641
1,124
142
42.385231
0.810111
0.089125
0
0.818399
0
0
0.000092
0
0
0
0
0
0.491039
1
0.046595
false
0
0.008363
0
0.066906
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
97ec9ab8668ce197916d039eac7a313fe7ff2f59
98
py
Python
menpo/landmark/__init__.py
jacksoncsy/menpo
3cac491fe30454935ed12fcaa89f453c5f6ec878
[ "BSD-3-Clause" ]
null
null
null
menpo/landmark/__init__.py
jacksoncsy/menpo
3cac491fe30454935ed12fcaa89f453c5f6ec878
[ "BSD-3-Clause" ]
null
null
null
menpo/landmark/__init__.py
jacksoncsy/menpo
3cac491fe30454935ed12fcaa89f453c5f6ec878
[ "BSD-3-Clause" ]
1
2021-04-14T12:09:00.000Z
2021-04-14T12:09:00.000Z
from menpo.landmark.base import LandmarkManager, Landmarkable from menpo.landmark.labels import *
32.666667
61
0.846939
12
98
6.916667
0.666667
0.216867
0.409639
0
0
0
0
0
0
0
0
0
0.091837
98
2
62
49
0.932584
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
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
7
3f307f5e5f02aa91a849e2919cdf305968878995
41,694
py
Python
System/String/__init__.py
Grim-es/udon-pie-auto-completion
c2cd86554ed615cdbbb01e19fa40665eafdfaedc
[ "MIT" ]
null
null
null
System/String/__init__.py
Grim-es/udon-pie-auto-completion
c2cd86554ed615cdbbb01e19fa40665eafdfaedc
[ "MIT" ]
null
null
null
System/String/__init__.py
Grim-es/udon-pie-auto-completion
c2cd86554ed615cdbbb01e19fa40665eafdfaedc
[ "MIT" ]
null
null
null
from typing import overload from UdonPie import System from UdonPie.Undefined import * class String: def __new__(cls, arg1=None): ''' :returns: String :rtype: System.String ''' pass @staticmethod @overload def ctor(arg1): ''' :param arg1: Undef...
22.672104
93
0.535521
4,083
41,694
5.466079
0.024982
0.115423
0.119366
0.134286
0.948965
0.937942
0.928891
0.915539
0.886549
0.850928
0
0.050836
0.372044
41,694
1,838
94
22.68444
0.801581
0.475752
0
0.831667
0
0
0
0
0
0
0
0
0
1
0.27
false
0.27
0.005
0
0.276667
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
9
3f49863a362466ea030d4fd7db62648e949ac89e
1,965
py
Python
netxlib/cisco/ise/read.py
vargyropoulos/netxlib
c0f05edf2e7800353a6628beca8dc661b05e885e
[ "MIT" ]
null
null
null
netxlib/cisco/ise/read.py
vargyropoulos/netxlib
c0f05edf2e7800353a6628beca8dc661b05e885e
[ "MIT" ]
null
null
null
netxlib/cisco/ise/read.py
vargyropoulos/netxlib
c0f05edf2e7800353a6628beca8dc661b05e885e
[ "MIT" ]
null
null
null
# Import Modules required for this library import requests requests.packages.urllib3.disable_warnings() # ------------------------------------- ------------------------------------- ------------------------------------- ------------------------------------- # Search Infoblox for entries using MAC address filter def...
37.788462
153
0.619338
225
1,965
5.32
0.266667
0.080201
0.090226
0.043442
0.775272
0.726817
0.726817
0.726817
0.726817
0.670008
0
0.012117
0.202036
1,965
51
154
38.529412
0.751276
0.230025
0
0.8
0
0
0.146277
0
0
0
0
0
0
1
0.066667
false
0.133333
0.033333
0
0.166667
0.266667
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
4544ccba06103206d1bcc1d57bb0a2dabfade432
1,137
py
Python
x_rebirth_station_calculator/station_data/ol__bofu_star_complex.py
Phipsz/XRebirthStationCalculator
ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835
[ "MIT" ]
1
2016-04-17T11:00:22.000Z
2016-04-17T11:00:22.000Z
x_rebirth_station_calculator/station_data/ol__bofu_star_complex.py
Phipsz/XRebirthStationCalculator
ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835
[ "MIT" ]
null
null
null
x_rebirth_station_calculator/station_data/ol__bofu_star_complex.py
Phipsz/XRebirthStationCalculator
ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835
[ "MIT" ]
null
null
null
from x_rebirth_station_calculator.station_data import modules from x_rebirth_station_calculator.station_data.station_base import Station names = {'L044': 'BoFu Star Complex', 'L049': 'BoFu-Sternenplex'} smodules = [modules.BoFuKitchen(production_method='ar', efficiency=158), modules.BoFuKitchen(p...
54.142857
74
0.716799
118
1,137
6.720339
0.211864
0.272383
0.423707
0.514502
0.842371
0.842371
0.842371
0.741488
0.741488
0.741488
0
0.044351
0.167106
1,137
20
75
56.85
0.793031
0
0
0.588235
0
0
0.057168
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
0
0
0
0
null
1
1
1
1
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
9
18e550584d918fae200c00784dba955da5edbce5
9,314
py
Python
etl_base/dags/sqlg_jobs_CUS.py
buckylee2019/sqlg-airflow
37610a23b99bea8d9fdc8b066a01736ff2ff0c9d
[ "Apache-2.0" ]
null
null
null
etl_base/dags/sqlg_jobs_CUS.py
buckylee2019/sqlg-airflow
37610a23b99bea8d9fdc8b066a01736ff2ff0c9d
[ "Apache-2.0" ]
null
null
null
etl_base/dags/sqlg_jobs_CUS.py
buckylee2019/sqlg-airflow
37610a23b99bea8d9fdc8b066a01736ff2ff0c9d
[ "Apache-2.0" ]
1
2022-03-10T03:47:35.000Z
2022-03-10T03:47:35.000Z
# -*- coding: utf-8 -*- # Author : Jesse Wei # LastUpdate : 2020/10/04 # Impact : Jobs generated by SQLG # Message : Humanity towards others, we live by sharing. Fear can hold you prisoner, only hope can set you free. # from __future__ import print_function import logging import re import airfl...
28.570552
118
0.650311
1,104
9,314
5.066123
0.102355
0.133023
0.082067
0.077597
0.801716
0.801716
0.801716
0.797068
0.797068
0.797068
0
0.001201
0.195727
9,314
325
119
28.658462
0.745428
0.090402
0
0.578313
1
0
0.281936
0.022299
0
0
0
0
0
1
0
false
0
0.048193
0
0.048193
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
18fc76b4ad5df69d3a136bf203dfa885a49b692a
16,051
py
Python
test/test_parameter_functions.py
friggog/py-c3d
e2d85de15335ded44e906855b081420d32639439
[ "MIT" ]
71
2015-04-21T23:18:00.000Z
2022-03-30T14:03:59.000Z
test/test_parameter_functions.py
friggog/py-c3d
e2d85de15335ded44e906855b081420d32639439
[ "MIT" ]
34
2015-04-06T13:07:46.000Z
2022-03-22T07:43:45.000Z
test/test_parameter_functions.py
friggog/py-c3d
e2d85de15335ded44e906855b081420d32639439
[ "MIT" ]
35
2015-02-09T18:58:43.000Z
2022-03-10T08:56:47.000Z
import c3d import struct import unittest import numpy as np def genByteWordArr(word, shape): ''' Generate a multi-dimensional byte array from a specific word. ''' arr = np.array(word) for d in shape[::-1]: arr = arr[np.newaxis].repeat(d, 0) return arr, [len(word)] + [d for d in shape] ...
47.488166
119
0.618591
2,231
16,051
4.295831
0.06589
0.040067
0.036728
0.045597
0.868531
0.858306
0.776711
0.757617
0.747809
0.729967
0
0.031968
0.257492
16,051
337
120
47.62908
0.772193
0.093265
0
0.466667
1
0
0.158463
0
0
0
0
0
0.173333
1
0.097778
false
0
0.017778
0
0.173333
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
18fcd155ee3e928dee14f26d3e8a1c43e3fd0b18
167
py
Python
cool_defi_bot/__init__.py
ryandvill/cool-defi-bot
5e513e324db9f626a5c281d44bd7330eadf12889
[ "MIT" ]
8
2020-04-13T18:03:09.000Z
2021-06-21T11:21:46.000Z
cool_defi_bot/__init__.py
ryandvill/cool-defi-bot
5e513e324db9f626a5c281d44bd7330eadf12889
[ "MIT" ]
4
2020-04-01T14:44:09.000Z
2020-04-07T11:01:17.000Z
cool_defi_bot/__init__.py
ryandvill/cool-defi-bot
5e513e324db9f626a5c281d44bd7330eadf12889
[ "MIT" ]
4
2020-05-20T22:30:00.000Z
2021-11-17T21:38:31.000Z
from .api import getters from .api import formatters from .api import getters from .api import custom_exceptions from .api import helpers from .api import api_handlers
27.833333
34
0.826347
26
167
5.230769
0.346154
0.308824
0.573529
0.294118
0.485294
0.485294
0.485294
0
0
0
0
0
0.137725
167
6
35
27.833333
0.944444
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
8
e19733e65ed312bb668c350456946ae90a4dbd3e
9,680
py
Python
pypykatz/ldap/cmdhelper.py
m0xbf/pypykatz-copy
39d8b06861d9ccd615e8107707f56f6556fb15a0
[ "MIT" ]
5
2019-04-20T05:34:01.000Z
2019-10-12T01:26:09.000Z
pypykatz/ldap/cmdhelper.py
m0xbf/pypykatz-copy
39d8b06861d9ccd615e8107707f56f6556fb15a0
[ "MIT" ]
1
2018-09-13T15:20:29.000Z
2018-09-13T15:20:29.000Z
pypykatz/ldap/cmdhelper.py
m0xbf/pypykatz-copy
39d8b06861d9ccd615e8107707f56f6556fb15a0
[ "MIT" ]
8
2018-09-11T22:02:22.000Z
2019-11-27T08:52:20.000Z
#!/usr/bin/env python3 # # Author: # Tamas Jos (@skelsec) # from pypykatz import logging """ LDAP is not part of pypykatz directly. This is a wrapper for msldap, ldap3 and winsspi packages """ class LDAPCMDHelper: def __init__(self): self.live_keywords = ['ldap'] self.keywords = ['ldap'] def add_args(self...
38.110236
256
0.67686
1,374
9,680
4.677584
0.150655
0.037342
0.016804
0.035475
0.841139
0.835849
0.825891
0.808775
0.808775
0.780769
0
0.003676
0.184917
9,680
254
257
38.110236
0.8109
0.005269
0
0.816327
0
0.020408
0.265938
0
0
0
0
0
0
1
0.02551
false
0
0.040816
0
0.071429
0.081633
0
0
0
null
0
0
0
1
1
1
1
1
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
7
e1bdf9b24e13c3cb4a18a1f3a2c1def4fdee4b3f
181
py
Python
tests/parser/aggregates.count.15b.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/aggregates.count.15b.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/aggregates.count.15b.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
input = """ i(0). i(1). a(X) | -a(X) :- i(X). ok :- 0 < #count{X:a(X)}< 2. :- not ok. """ output = """ i(0). i(1). a(X) | -a(X) :- i(X). ok :- 0 < #count{X:a(X)}< 2. :- not ok. """
13.923077
28
0.359116
40
181
1.625
0.275
0.184615
0.184615
0.123077
0.830769
0.830769
0.830769
0.830769
0.830769
0.830769
0
0.056738
0.220994
181
12
29
15.083333
0.404255
0
0
0.833333
0
0
0.828729
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
1
0
1
1
1
1
1
1
0
0
0
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
11
bef2bb3bf5da30794955067952387aa59e2020a4
117
py
Python
cytominer_eval/__init__.py
michaelbornholdt/cytominer-eval
97b471dd4141d29bfcb06921cb1e294596c39ecf
[ "BSD-3-Clause" ]
4
2020-06-11T20:31:17.000Z
2021-02-12T04:12:43.000Z
cytominer_eval/__init__.py
michaelbornholdt/cytominer-eval
97b471dd4141d29bfcb06921cb1e294596c39ecf
[ "BSD-3-Clause" ]
46
2020-06-16T11:31:49.000Z
2021-12-07T10:52:00.000Z
cytominer_eval/__init__.py
michaelbornholdt/cytominer-eval
97b471dd4141d29bfcb06921cb1e294596c39ecf
[ "BSD-3-Clause" ]
6
2020-06-11T18:36:31.000Z
2021-04-15T19:38:52.000Z
from .evaluate import evaluate from cytominer_eval import __about__ from cytominer_eval.__about__ import __version__
29.25
48
0.880342
15
117
5.933333
0.466667
0.292135
0.382022
0
0
0
0
0
0
0
0
0
0.102564
117
3
49
39
0.847619
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
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
7
833058d5aa0697b0fd9cb6bcc6cb007d48d7e604
13,205
py
Python
FlowNet2_src/models/flownet2.py
vt-vl-lab/pytorch_flownet2
d476e78889b9677473a9591cff678eb6c1dde2b9
[ "Apache-2.0" ]
90
2018-02-08T01:58:52.000Z
2020-03-21T00:55:34.000Z
FlowNet2_src/models/flownet2.py
vt-vl-lab/pytorch_flownet2
d476e78889b9677473a9591cff678eb6c1dde2b9
[ "Apache-2.0" ]
11
2018-02-28T13:45:34.000Z
2019-05-24T08:47:01.000Z
FlowNet2_src/models/flownet2.py
vt-vl-lab/pytorch_flownet2
d476e78889b9677473a9591cff678eb6c1dde2b9
[ "Apache-2.0" ]
33
2018-02-28T04:44:10.000Z
2020-03-11T23:46:46.000Z
import torch import torch.nn as nn import torch.nn.init as nn_init from .components import FlowNetC, FlowNetS, FlowNetSD, FlowNetFusion # (Yuliang) Change directory structure from .components import tofp16, tofp32, save_grad from .components import ChannelNorm, Resample2d class FlowNet2(nn.Module): def __init__...
35.980926
95
0.586066
1,621
13,205
4.550895
0.076496
0.030094
0.034296
0.0244
0.832994
0.811577
0.790972
0.761963
0.727125
0.719805
0
0.050383
0.289057
13,205
366
96
36.079235
0.735407
0.079515
0
0.722892
0
0
0.013447
0
0
0
0
0
0
1
0.048193
false
0
0.024096
0
0.13253
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
55ca89ed1b7823a71da797e2766d4cbf3f748a46
3,256
py
Python
basic codes/project_shiva/Basic_cv/pixel.py
MachineLearningWithHuman/ComputerVision
9929a3115241067da2dd4bcbdd628d4c78fa8072
[ "Apache-2.0" ]
3
2019-07-10T15:29:59.000Z
2020-06-15T17:10:15.000Z
basic codes/project_shiva/Basic_cv/pixel.py
MachineLearningWithHuman/ComputerVision
9929a3115241067da2dd4bcbdd628d4c78fa8072
[ "Apache-2.0" ]
null
null
null
basic codes/project_shiva/Basic_cv/pixel.py
MachineLearningWithHuman/ComputerVision
9929a3115241067da2dd4bcbdd628d4c78fa8072
[ "Apache-2.0" ]
1
2020-06-15T16:27:44.000Z
2020-06-15T16:27:44.000Z
# import the necessary packages import argparse import cv2 # construct the argument parser and parse the arguments ap = argparse.ArgumentParser() ap.add_argument("-i", "--image", required=True, help="Path to the image") args = vars(ap.parse_args()) # load the image, grab its dimensions, and show it image = cv2.imr...
31.61165
80
0.673219
601
3,256
3.637271
0.169717
0.017383
0.014639
0.024703
0.952425
0.947393
0.947393
0.947393
0.947393
0.947393
0
0.029108
0.166462
3,256
102
81
31.921569
0.776345
0
0
0.925926
0
0.074074
0.24295
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.074074
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
36aed7b8b9567a3cc5d8ec9afc96b894f66dc501
7,878
py
Python
tests/frameworks/test_celery.py
rlopes-ki/python-sensor
07e827f9982b2a0c482e8eab82d1a420923efd5e
[ "MIT" ]
61
2017-09-27T02:50:17.000Z
2022-03-22T12:13:37.000Z
tests/frameworks/test_celery.py
rlopes-ki/python-sensor
07e827f9982b2a0c482e8eab82d1a420923efd5e
[ "MIT" ]
82
2017-07-11T13:47:33.000Z
2022-03-22T10:10:38.000Z
tests/frameworks/test_celery.py
rlopes-ki/python-sensor
07e827f9982b2a0c482e8eab82d1a420923efd5e
[ "MIT" ]
27
2017-09-11T16:22:32.000Z
2022-03-11T17:21:49.000Z
# (c) Copyright IBM Corp. 2021 # (c) Copyright Instana Inc. 2020 from __future__ import absolute_import import time from celery import shared_task from instana.singletons import tracer from ..helpers import get_first_span_by_filter # TODO: Refactor to class based tests @shared_task def add(x, y): return x + y ...
35.169643
99
0.678979
1,091
7,878
4.664528
0.098992
0.083317
0.145805
0.110041
0.871881
0.854195
0.853999
0.853016
0.841423
0.833366
0
0.00891
0.159431
7,878
223
100
35.327354
0.759589
0.028941
0
0.771605
0
0
0.167234
0.041121
0
0
0
0.004484
0.567901
1
0.049383
false
0
0.030864
0.006173
0.092593
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
3d08d5f8ae54af49dee5d5d82bb5aedfb597ac0c
10,459
py
Python
HoundSploit/searcher/engine/filter_query.py
nicolas-carolo/houndsplo
a44b02559588ec2ae44af3529cc8a58371fa15c8
[ "BSD-3-Clause" ]
85
2019-12-18T08:11:51.000Z
2022-02-25T05:45:48.000Z
HoundSploit/searcher/engine/filter_query.py
juan157/houndsploit
12210481d8fa5880265e4b342f816a53d93e4637
[ "BSD-3-Clause" ]
2
2020-04-21T13:33:14.000Z
2020-04-30T12:39:50.000Z
HoundSploit/searcher/engine/filter_query.py
juan157/houndsploit
12210481d8fa5880265e4b342f816a53d93e4637
[ "BSD-3-Clause" ]
11
2020-04-20T09:49:30.000Z
2022-02-01T15:29:17.000Z
from pkg_resources import parse_version from HoundSploit.searcher.engine.version_comparator import get_num_version_with_comparator, get_num_version,\ is_in_version_range_with_x, is_equal_with_x, is_in_version_range, is_lte_with_comparator_x from HoundSploit.searcher.engine.string import str_contains_num_version_ran...
46.484444
135
0.721484
1,453
10,459
4.917412
0.0585
0.085654
0.101889
0.062701
0.93352
0.922743
0.919804
0.913506
0.894892
0.894892
0
0
0.223731
10,459
224
136
46.691964
0.880034
0.385697
0
0.644628
0
0
0.00262
0
0
0
0
0
0
1
0.107438
false
0.066116
0.033058
0
0.247934
0
0
0
0
null
0
0
0
1
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
1
0
0
0
0
0
7
3d097cf3188da140b6fb04036ad7d159230f257a
174
py
Python
fzw/news/helpers.py
fajnie-ze-wiesz/fzw-backend
eb7942bbf884a1269cfe0ad336187ffa979b4d12
[ "MIT" ]
1
2018-03-31T14:07:28.000Z
2018-03-31T14:07:28.000Z
fzw/news/helpers.py
fajnie-ze-wiesz/fzw-backend
eb7942bbf884a1269cfe0ad336187ffa979b4d12
[ "MIT" ]
2
2020-06-06T06:27:44.000Z
2020-12-23T14:13:50.000Z
fzw/news/helpers.py
fajnie-ze-wiesz/fzw-backend
eb7942bbf884a1269cfe0ad336187ffa979b4d12
[ "MIT" ]
null
null
null
import markdown # type: ignore from fzw.news.models import News def get_answer_explanation_html(news: News) -> str: return markdown.markdown(news.answer_explanation)
21.75
53
0.781609
24
174
5.5
0.625
0.257576
0
0
0
0
0
0
0
0
0
0
0.137931
174
7
54
24.857143
0.88
0.068966
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
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
1
0
0
1
1
1
0
0
7
3d1b36ec24afcf6abe243b5a38edf9692db59bf5
171
py
Python
trtools/dumpSTR/__init__.py
ileenamitra/TRTools
3982185399abe7a6a81a0dd917418bf571562a8e
[ "MIT" ]
14
2020-04-20T15:38:52.000Z
2022-02-07T11:45:23.000Z
trtools/dumpSTR/__init__.py
ileenamitra/TRTools
3982185399abe7a6a81a0dd917418bf571562a8e
[ "MIT" ]
74
2020-03-02T23:34:53.000Z
2022-03-21T18:32:10.000Z
trtools/dumpSTR/__init__.py
ileenamitra/TRTools
3982185399abe7a6a81a0dd917418bf571562a8e
[ "MIT" ]
15
2018-10-29T19:41:33.000Z
2020-02-21T18:41:51.000Z
# expose the code in the file dumpSTR/dumpSTR.py # through the statement import trtools.dumpSTR # instead of through import trtools.dumpSTR.dumpSTR from .dumpSTR import *
34.2
51
0.80117
25
171
5.48
0.56
0.20438
0.291971
0
0
0
0
0
0
0
0
0
0.140351
171
4
52
42.75
0.931973
0.824561
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
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
1
0
1
0
0
8
3d26f0bb9719aa8d466a7264fa607bedee6c97a2
363
py
Python
arginfer/__init__.py
JereKoskela/arginfer
3dd7a4d8fb22eff20573a312638055dfcda2ff85
[ "MIT" ]
2
2022-02-04T07:58:35.000Z
2022-03-15T04:46:31.000Z
arginfer/__init__.py
JereKoskela/arginfer
3dd7a4d8fb22eff20573a312638055dfcda2ff85
[ "MIT" ]
2
2021-03-17T05:18:14.000Z
2021-08-17T17:02:10.000Z
arginfer/__init__.py
JereKoskela/arginfer
3dd7a4d8fb22eff20573a312638055dfcda2ff85
[ "MIT" ]
1
2021-11-01T11:20:29.000Z
2021-11-01T11:20:29.000Z
from arginfer.argbook import * # NOQA: F401, F403 from arginfer.treeSequence import * # NOQA: F401, F403 from arginfer.initialARG import * # NOQA: F401, F403 from arginfer.mcmc import infer_sim # NOQA: F401 from arginfer.mcmc import infer_real # NOQA: F401 from arginfer.plots import * # NOQA: F401, F403 from arginfer.p...
45.375
57
0.77135
51
363
5.372549
0.313725
0.306569
0.20438
0.262774
0.591241
0.437956
0
0
0
0
0
0.106796
0.14876
363
7
58
51.857143
0.779935
0.278237
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
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
7
186af474b1798fc436d49329b1d2f271b342447d
92,037
py
Python
applications/inheritance/inheritance_test.py
carterej1989/acitoolkit
8bc1e462c3bc0b6643004033e353520d438242d6
[ "Apache-2.0" ]
null
null
null
applications/inheritance/inheritance_test.py
carterej1989/acitoolkit
8bc1e462c3bc0b6643004033e353520d438242d6
[ "Apache-2.0" ]
2
2018-05-07T19:40:50.000Z
2020-04-02T14:43:15.000Z
applications/inheritance/inheritance_test.py
carterej1989/acitoolkit
8bc1e462c3bc0b6643004033e353520d438242d6
[ "Apache-2.0" ]
null
null
null
""" Inheritance test suite """ import unittest from inheritance import execute_tool from acitoolkit import (Tenant, Context, OutsideL3, OutsideEPG, OutsideNetwork, Contract, FilterEntry, Session, AppProfile, EPG, ContractInterface, Fabric) import time import sys import lo...
37.037022
122
0.535111
8,340
92,037
5.744484
0.047362
0.020664
0.015738
0.017951
0.847774
0.826463
0.813
0.803899
0.778977
0.761214
0
0.010352
0.374447
92,037
2,484
123
37.051932
0.821777
0.031998
0
0.743059
0
0.001089
0.142089
0.040625
0
0
0
0
0.076211
0
null
null
0.025585
0.010343
null
null
0.000544
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
187c66f7b32e549ad6671c64c990b5ae4eee0e54
3,936
py
Python
number_dict.py
mr-yamraj/Alexa_2048_game
a85f43bc46ac53b30a223034a37cbfe54d1703cd
[ "MIT" ]
null
null
null
number_dict.py
mr-yamraj/Alexa_2048_game
a85f43bc46ac53b30a223034a37cbfe54d1703cd
[ "MIT" ]
null
null
null
number_dict.py
mr-yamraj/Alexa_2048_game
a85f43bc46ac53b30a223034a37cbfe54d1703cd
[ "MIT" ]
null
null
null
number_dict = { "0" : { "color" : (187,173,160), "font_size" : 45, "backgroud_color" : (205,193,180), "coordinate" : [(0,0), (0,0), (0,0), (0,0)] }, "2" : { "color" : (119, 110, 101), "font_size" : [70, 60, 50, 40], "backgroud_color" : (238, 228, 218), "coordinate" : [(40,10), (30,3), (25,2), (22,3)] }, "4...
26.958904
52
0.495681
599
3,936
3.175292
0.161937
0.100946
0.121451
0.154574
0.813354
0.802839
0.802839
0.780757
0.780757
0.672976
0
0.31652
0.194106
3,936
146
53
26.958904
0.283102
0
0
0.486301
0
0
0.262129
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
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
8
43ea7669cd6c1a4397f47f103a9131112980bf23
3,616
py
Python
tests/python/highgui/seek_test.py
qingswu/OpenCV1.2
2b57353be30b986c051a6037458d8eb8ee6014e1
[ "BSD-3-Clause" ]
2
2018-11-28T08:12:50.000Z
2021-05-10T02:15:45.000Z
tests/python/highgui/seek_test.py
qingswu/OpenCV1.2
2b57353be30b986c051a6037458d8eb8ee6014e1
[ "BSD-3-Clause" ]
null
null
null
tests/python/highgui/seek_test.py
qingswu/OpenCV1.2
2b57353be30b986c051a6037458d8eb8ee6014e1
[ "BSD-3-Clause" ]
null
null
null
""" This script will test highgui's seek functionality for different video formats """ # import the necessary things for OpenCV and comparson routine import os #import python #from python.highgui import * #from python.cv import * import match from highgui import * from cv import * # path to videos and images we need ...
24.598639
91
0.692754
554
3,616
4.463899
0.252708
0.028306
0.026688
0.031541
0.829761
0.829761
0.829761
0.829761
0.829761
0.829761
0
0.034067
0.220686
3,616
146
92
24.767123
0.843506
0.418142
0
0.852941
0
0
0.038275
0.016957
0
0
0
0
0
1
0.029412
false
0
0.058824
0
0.264706
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
a142869de3f973950ac47e1b91112959d2ce59bd
556
py
Python
More On Loops/Rectangular Numbers.py
SaiPrasanth212/Coding-ninjas-Introduction-To-Python
f6aabc3b7b0f2ae82e2870c8f2bd1f37e3fe3005
[ "MIT" ]
2
2021-12-13T19:28:40.000Z
2022-03-07T16:36:29.000Z
More On Loops/Rectangular Numbers.py
SaiPrasanth212/Coding-ninjas-Introduction-To-Python
f6aabc3b7b0f2ae82e2870c8f2bd1f37e3fe3005
[ "MIT" ]
null
null
null
More On Loops/Rectangular Numbers.py
SaiPrasanth212/Coding-ninjas-Introduction-To-Python
f6aabc3b7b0f2ae82e2870c8f2bd1f37e3fe3005
[ "MIT" ]
null
null
null
n = int(input()) for i in range(1,n+1): temp = n for j in range(1,i): print(temp,end="") temp = temp -1 for j in range(1,(2*n) - (2*i) + 2): print(n-i+1,end="") for j in range(1,i): temp = temp+1 print(temp,end="") print() for i in range(n-1,0,-1): temp ...
20.592593
40
0.44964
102
556
2.45098
0.137255
0.224
0.224
0.264
0.856
0.856
0.856
0.856
0.856
0.856
0
0.063712
0.350719
556
26
41
21.384615
0.628809
0
0
0.869565
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.347826
0
0
0
null
1
1
1
1
1
1
1
1
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
10
a18daf77e6e05a9d2defb68575af11516accf50c
3,151
py
Python
ticket/ticket_queries.py
pythonkr/pyconkr-api
077e122a0af37122c5b424870cf91b8fca91a9f5
[ "Apache-2.0" ]
25
2018-12-09T07:56:16.000Z
2020-12-24T08:20:41.000Z
ticket/ticket_queries.py
pythonkr/pyconkr-api
077e122a0af37122c5b424870cf91b8fca91a9f5
[ "Apache-2.0" ]
100
2018-12-13T02:01:42.000Z
2022-03-11T23:40:25.000Z
ticket/ticket_queries.py
pythonkr/pyconkr-api
077e122a0af37122c5b424870cf91b8fca91a9f5
[ "Apache-2.0" ]
8
2019-01-05T05:02:27.000Z
2019-08-09T08:14:49.000Z
TICKET_PRODUCTS = ''' query getTicketProducts { tutorialProducts { id type name nameKo nameEn desc descKo descEn warning warningKo warningEn startAt finishAt total remainingCount isSoldOut owner { profile { name nameKo n...
14.520737
84
0.526817
215
3,151
7.702326
0.311628
0.048309
0.077295
0.038647
0.704106
0.704106
0.704106
0.704106
0.704106
0.704106
0
0
0.433196
3,151
216
85
14.587963
0.927212
0
0
0.814286
0
0
0.965725
0.033957
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a1990601a445234322c849c04e29628eba4a7fd3
58,940
py
Python
infoblox_netmri/api/broker/v3_8_0/end_host_mac_address_broker.py
infobloxopen/infoblox_netmri
aa1c744df7e439dbe163bb9edd165e4e85a9771b
[ "Apache-2.0" ]
12
2016-02-19T12:37:54.000Z
2022-03-04T20:11:08.000Z
infoblox_netmri/api/broker/v3_8_0/end_host_mac_address_broker.py
azinfoblox/infoblox-netmri
02372c5231e2677ab6299cb659a73c9a41b4b0f4
[ "Apache-2.0" ]
18
2015-11-12T18:37:00.000Z
2021-05-19T07:59:55.000Z
infoblox_netmri/api/broker/v3_8_0/end_host_mac_address_broker.py
azinfoblox/infoblox-netmri
02372c5231e2677ab6299cb659a73c9a41b4b0f4
[ "Apache-2.0" ]
18
2016-01-07T12:04:34.000Z
2022-03-31T11:05:41.000Z
from ..broker import Broker class EndHostMacAddressBroker(Broker): controller = "end_host_mac_addresses" def index(self, **kwargs): """Lists the available end host mac addresses. Any of the inputs listed may be be used to narrow the list; other inputs will be ignored. Of the various ways to query lis...
58.822355
744
0.632559
7,173
58,940
5.138436
0.040011
0.064572
0.041972
0.054886
0.942075
0.939579
0.904091
0.888898
0.877232
0.872836
0
0.003176
0.289447
58,940
1,001
745
58.881119
0.87691
0.841585
0
0
0
0
0.068792
0.036913
0
0
0
0
0
1
0.363636
false
0
0.090909
0
1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8
a1b0ee6219afd346e1b3d62914ae7d3665857677
2,509
py
Python
tests/test_pages.py
calibear20/NHentai-API
c543f96f4088dd0f25842e9935f2f6c84317dc55
[ "MIT" ]
33
2020-07-12T04:00:05.000Z
2022-03-27T12:50:57.000Z
tests/test_pages.py
calibear20/NHentai-API
c543f96f4088dd0f25842e9935f2f6c84317dc55
[ "MIT" ]
16
2020-07-24T14:37:11.000Z
2022-03-06T01:57:02.000Z
tests/test_pages.py
calibear20/NHentai-API
c543f96f4088dd0f25842e9935f2f6c84317dc55
[ "MIT" ]
14
2020-07-09T18:42:13.000Z
2022-03-11T13:30:06.000Z
import sys import os import pytest sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from NHentai import NHentai from NHentai import NHentaiAsync def test_standard_payload_integrity_home_page(): pages = NHentai().get_pages(page=1) doujins = pages.doujins for doujin in ...
38.6
85
0.726983
374
2,509
4.756684
0.157754
0.075885
0.136594
0.094435
0.838111
0.76054
0.7448
0.7448
0.7448
0.721192
0
0.003006
0.204464
2,509
65
86
38.6
0.888277
0
0
0.634615
0
0
0.000797
0
0
0
0
0
0.519231
1
0.057692
false
0
0.096154
0
0.153846
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
a1c61b1cf8f4c213cd228e70628b93c64038a227
2,258
py
Python
hamlpy/test/ext_test.py
helmus/HamlPy
acb79e14381ce46e6d1cb64e7cb154751ae02dfe
[ "MIT" ]
98
2015-01-03T05:43:36.000Z
2022-01-29T04:55:56.000Z
hamlpy/test/ext_test.py
helmus/HamlPy
acb79e14381ce46e6d1cb64e7cb154751ae02dfe
[ "MIT" ]
16
2015-01-19T16:02:47.000Z
2020-10-28T12:07:24.000Z
hamlpy/test/ext_test.py
helmus/HamlPy
acb79e14381ce46e6d1cb64e7cb154751ae02dfe
[ "MIT" ]
32
2015-01-13T16:35:44.000Z
2021-08-01T20:01:28.000Z
import unittest import os from hamlpy.ext import has_any_extension class ExtTest(unittest.TestCase): """ Tests for methods found in ../ext.py """ def test_has_any_extension(self): extensions = [ 'hamlpy', 'haml', '.txt' ] # no directory ...
48.042553
83
0.671391
270
2,258
5.418519
0.144444
0.10663
0.266576
0.24607
0.856459
0.856459
0.856459
0.854409
0.827068
0.817498
0
0
0.190434
2,258
47
84
48.042553
0.800328
0.062888
0
0
0
0
0.177481
0.054389
0
0
0
0
0.705882
1
0.029412
false
0
0.088235
0
0.147059
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
9
a1da870d6adb2818d78866e0921f50d41053d9cc
13,243
py
Python
main/modeles/repositories/vmTaxonsRepository.py
Splendens/atlas_biodiv_pdl
eff4bcc9193b76462ede0365b9faec3e0706d5d8
[ "BSD-2-Clause" ]
3
2018-07-31T14:30:18.000Z
2020-11-21T06:43:18.000Z
main/modeles/repositories/vmTaxonsRepository.py
Splendens/atlas_biodiv_pdl
eff4bcc9193b76462ede0365b9faec3e0706d5d8
[ "BSD-2-Clause" ]
null
null
null
main/modeles/repositories/vmTaxonsRepository.py
Splendens/atlas_biodiv_pdl
eff4bcc9193b76462ede0365b9faec3e0706d5d8
[ "BSD-2-Clause" ]
2
2018-11-23T10:00:30.000Z
2018-11-23T22:33:11.000Z
# -*- coding:utf-8 -*- import unicodedata from ...configuration import config from sqlalchemy.sql import text from .. import utils def deleteAccent(string): return unicodedata.normalize('NFD', string).encode('ascii', 'ignore') # With distinct the result in a array not an object, 0: lb_nom, 1: nom_vern def ge...
37.622159
134
0.59488
1,713
13,243
4.365441
0.089901
0.036106
0.050548
0.020059
0.866542
0.839797
0.815592
0.799813
0.792324
0.760631
0
0.007267
0.303783
13,243
351
135
37.729345
0.803796
0.040097
0
0.722222
0
0.009804
0.524166
0.056138
0
0
0
0
0
1
0.035948
false
0
0.013072
0.003268
0.084967
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
a1e3bb2c1361f71809c7e5bb07fe62db3351cafb
4,500
py
Python
tests/test_api.py
barslmn/django-phenotype-ontologies
24a6ddd9c448c816398b33d74e03530d84f7a97f
[ "MIT" ]
7
2018-04-10T00:37:26.000Z
2020-11-30T15:50:11.000Z
tests/test_api.py
barslmn/django-phenotype-ontologies
24a6ddd9c448c816398b33d74e03530d84f7a97f
[ "MIT" ]
181
2018-04-09T23:55:30.000Z
2022-03-28T14:47:21.000Z
tests/test_api.py
barslmn/django-phenotype-ontologies
24a6ddd9c448c816398b33d74e03530d84f7a97f
[ "MIT" ]
1
2021-01-18T18:57:48.000Z
2021-01-18T18:57:48.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test django-phenotype-ontologies ------------ Tests for `django-phenotype-ontologies` API. """ try: from django.urls import reverse except Exception: from django.core.urlresolvers import reverse import pytest from rest_framework import status from rest_framew...
29.605263
115
0.669556
517
4,500
5.611219
0.172147
0.091693
0.107549
0.099276
0.863151
0.843847
0.818339
0.818339
0.80524
0.80524
0
0.018987
0.192444
4,500
151
116
29.801325
0.779307
0.030667
0
0.701754
0
0
0.170496
0.100184
0
0
0
0
0.157895
1
0.052632
false
0
0.052632
0
0.114035
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
b81b2dc3586b69fff201df88cf4a7bb3789190fc
905
py
Python
minimal/cli/cmd_run.py
drstarry/minimal
8c3eac110505d68dabde4d014cd0968392b640f9
[ "MIT" ]
2
2015-09-22T00:57:17.000Z
2016-12-07T02:18:33.000Z
minimal/cli/cmd_run.py
drstarry/minimal
8c3eac110505d68dabde4d014cd0968392b640f9
[ "MIT" ]
null
null
null
minimal/cli/cmd_run.py
drstarry/minimal
8c3eac110505d68dabde4d014cd0968392b640f9
[ "MIT" ]
null
null
null
# coding: utf-8 import click import os from .cli import pass_context @click.command('dtree', short_help='Decision Tree Classifier') @click.option('-m', '--mode', default='train', type=click.Choice(['train', 'test']), help='train or test your decision tree model') @click.opti...
29.193548
68
0.559116
114
905
4.394737
0.394737
0.087824
0.083832
0.087824
0.706587
0.706587
0.706587
0.706587
0.706587
0.706587
0
0.001513
0.269613
905
30
69
30.166667
0.75643
0.458564
0
0
0
0
0.274633
0
0
0
0
0
0
0
null
null
0.142857
0.214286
null
null
0.071429
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
1
0
0
1
0
0
0
0
0
7
62a179034a6fb8efedfb94551af379af8bd80673
21,579
py
Python
ufcnn-keras/models/convolutional_transpose.py
mikimaus78/ml_monorepo
b2c2627ff0e86e27f6829170d0dac168d8e5783b
[ "BSD-3-Clause" ]
51
2019-02-01T19:43:37.000Z
2022-03-16T09:07:03.000Z
ufcnn-keras/models/convolutional_transpose.py
mikimaus78/ml_monorepo
b2c2627ff0e86e27f6829170d0dac168d8e5783b
[ "BSD-3-Clause" ]
2
2019-02-23T18:54:22.000Z
2019-11-09T01:30:32.000Z
ufcnn-keras/models/convolutional_transpose.py
mikimaus78/ml_monorepo
b2c2627ff0e86e27f6829170d0dac168d8e5783b
[ "BSD-3-Clause" ]
35
2019-02-08T02:00:31.000Z
2022-03-01T23:17:00.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from keras import backend as K from keras import activations, initializations, regularizers, constraints from keras.engine import Layer, InputSpec import tensorflow as tf def deconv_output_length(input_length, filter_size, border_mode, stride): prin...
41.658301
120
0.624496
2,697
21,579
4.749722
0.064145
0.026151
0.030445
0.017564
0.902888
0.882358
0.873458
0.859094
0.852069
0.840671
0
0.012454
0.274387
21,579
517
121
41.738878
0.805658
0.239909
0
0.755102
0
0
0.070491
0
0
0
0
0
0.013605
1
0.064626
false
0
0.017007
0.017007
0.14966
0.037415
0
0
0
null
0
0
0
1
1
1
1
1
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
7
62cdf78168136abc2f375f53a986bc097dac1a1a
4,439
py
Python
ckanext/canada/tests/test_functional.py
HoussamBedja/ckanext-canada
9099223beb088c65262cab403be10774e29e06b8
[ "MIT" ]
31
2015-04-19T16:14:55.000Z
2021-08-20T13:18:44.000Z
ckanext/canada/tests/test_functional.py
HoussamBedja/ckanext-canada
9099223beb088c65262cab403be10774e29e06b8
[ "MIT" ]
214
2015-01-20T20:43:26.000Z
2022-03-29T20:36:01.000Z
ckanext/canada/tests/test_functional.py
HoussamBedja/ckanext-canada
9099223beb088c65262cab403be10774e29e06b8
[ "MIT" ]
46
2015-02-18T17:11:06.000Z
2022-01-17T17:05:09.000Z
import cgi import datetime from nose.tools import assert_equal from nose.plugins.skip import SkipTest from ckan import plugins from ckan.tests import * import ckan.model as model from ckan.lib.create_test_data import CreateTestData from ckan.tests.helpers import FunctionalTestBase class TestNew(FunctionalTestBase):...
37.302521
75
0.619509
559
4,439
4.808587
0.187835
0.039063
0.056548
0.067708
0.856771
0.856771
0.837426
0.790923
0.770461
0.770461
0
0.022317
0.263122
4,439
118
76
37.618644
0.79945
0.029511
0
0.747253
0
0
0.313388
0.031665
0
0
0
0
0.241758
1
0.021978
false
0
0.098901
0
0.142857
0
0
0
0
null
0
0
0
1
1
1
1
1
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
7
1a2dd183bda396e3c6b60dbc0094e69fd4afdade
27,518
py
Python
sdk/python/pulumi_ovh/ip_loadbalancing_tcp_frontend.py
tumblewader/pulumi-ovh
fd484de69a247cf4f05c22cf73f1c57b973a1dab
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_ovh/ip_loadbalancing_tcp_frontend.py
tumblewader/pulumi-ovh
fd484de69a247cf4f05c22cf73f1c57b973a1dab
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_ovh/ip_loadbalancing_tcp_frontend.py
tumblewader/pulumi-ovh
fd484de69a247cf4f05c22cf73f1c57b973a1dab
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# 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 ...
43.679365
169
0.639036
3,297
27,518
5.134061
0.064604
0.103976
0.09092
0.033674
0.882023
0.864063
0.849826
0.831275
0.825604
0.811012
0
0.004862
0.252635
27,518
629
170
43.748808
0.818195
0.325205
0
0.782857
1
0
0.091289
0.008546
0
0
0
0
0
1
0.162857
false
0.002857
0.014286
0
0.274286
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
a7f4f683c1851eb9b46d003963ac4e23db9b3c1f
135
py
Python
rlpy/Tools/__init__.py
imanolarrieta/RL
072a8c328652f45e053baecd640f04adf7f84b49
[ "BSD-3-Clause" ]
1
2019-12-07T13:47:43.000Z
2019-12-07T13:47:43.000Z
rlpy/Tools/__init__.py
imanolarrieta/RL
072a8c328652f45e053baecd640f04adf7f84b49
[ "BSD-3-Clause" ]
null
null
null
rlpy/Tools/__init__.py
imanolarrieta/RL
072a8c328652f45e053baecd640f04adf7f84b49
[ "BSD-3-Clause" ]
null
null
null
from .GeneralTools import * from .PriorityQueueWithNovelty import PriorityQueueWithNovelty from .GeneralTools import __rlpy_location__
33.75
62
0.881481
12
135
9.5
0.5
0.280702
0.385965
0
0
0
0
0
0
0
0
0
0.088889
135
3
63
45
0.926829
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
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
7
c52e2b8e61ebd8060f22ae93d5d1bad37b5b6c17
11,809
py
Python
core/number_objects/lattice.py
mike006322/PolynomialCalculator
bf56b0e773a3461ab2aa958d0d90e08f80a4d201
[ "MIT" ]
null
null
null
core/number_objects/lattice.py
mike006322/PolynomialCalculator
bf56b0e773a3461ab2aa958d0d90e08f80a4d201
[ "MIT" ]
null
null
null
core/number_objects/lattice.py
mike006322/PolynomialCalculator
bf56b0e773a3461ab2aa958d0d90e08f80a4d201
[ "MIT" ]
null
null
null
from number_objects.primitives.matrix import * from core.lll import lll_reduction from core.norms import euclidean_norm class Lattice: def __init__(self, matrix): self.matrix = Matrix(matrix) @property def center_density(self): # logging.info('Calculating center density of \n' + str(self...
210.875
9,492
0.876789
529
11,809
19.491493
0.351607
0.232761
0.232761
0.186209
0.241296
0.204248
0.013481
0.007856
0
0
0
0.850594
0.0597
11,809
55
9,493
214.709091
0.07799
0.84605
0
0.21875
0
0
0.004447
0
0
0
0
0
0
1
0.125
false
0
0.09375
0.0625
0.34375
0.1875
0
0
1
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
1
1
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
c53c4465e7403529ced263ea85a13229b5e71a33
145
py
Python
privacy_evaluator/datasets/__init__.py
mariesig/privacy-evaluator
4e6ced65cc71bb661aef4518192517e23e22595e
[ "MIT" ]
null
null
null
privacy_evaluator/datasets/__init__.py
mariesig/privacy-evaluator
4e6ced65cc71bb661aef4518192517e23e22595e
[ "MIT" ]
null
null
null
privacy_evaluator/datasets/__init__.py
mariesig/privacy-evaluator
4e6ced65cc71bb661aef4518192517e23e22595e
[ "MIT" ]
null
null
null
""" Module providing datasets. """ from privacy_evaluator.datasets.dataset import Dataset from privacy_evaluator.datasets.cifar10 import CIFAR10
24.166667
54
0.834483
17
145
7
0.529412
0.184874
0.336134
0.470588
0
0
0
0
0
0
0
0.030303
0.089655
145
5
55
29
0.871212
0.17931
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
7