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
73c44a40df8a25538935d78f07b7f11014300089
42
py
Python
carla/recourse_methods/catalog/cchvae/__init__.py
jayanthyetukuri/CARLA
c3f3aaf11a5a8499c4bec5065e0c17ec8e6f5950
[ "MIT" ]
140
2021-08-03T21:53:32.000Z
2022-03-20T08:52:02.000Z
carla/recourse_methods/catalog/cchvae/__init__.py
jayanthyetukuri/CARLA
c3f3aaf11a5a8499c4bec5065e0c17ec8e6f5950
[ "MIT" ]
54
2021-03-07T18:22:16.000Z
2021-08-03T12:06:31.000Z
carla/recourse_methods/catalog/cchvae/__init__.py
jayanthyetukuri/CARLA
c3f3aaf11a5a8499c4bec5065e0c17ec8e6f5950
[ "MIT" ]
16
2021-08-23T12:14:58.000Z
2022-03-01T00:52:58.000Z
# flake8: noqa from .model import CCHVAE
10.5
25
0.738095
6
42
5.166667
1
0
0
0
0
0
0
0
0
0
0
0.029412
0.190476
42
3
26
14
0.882353
0.285714
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
73c8cd0b461060df0c0f7c96f788d19ae3622953
50
py
Python
model/__init__.py
zhangsunsuochang/sams
3069f7c61c50a8a949c34db0bb810fbeab943116
[ "MIT" ]
5
2020-11-10T08:21:03.000Z
2021-07-06T12:10:25.000Z
model/__init__.py
zhangsunsuochang/sams
3069f7c61c50a8a949c34db0bb810fbeab943116
[ "MIT" ]
1
2020-11-01T11:49:07.000Z
2020-11-03T06:40:06.000Z
model/__init__.py
zhangsunsuochang/sams
3069f7c61c50a8a949c34db0bb810fbeab943116
[ "MIT" ]
1
2020-12-08T08:31:56.000Z
2020-12-08T08:31:56.000Z
from .transformer import BiaffineSegmentationModel
50
50
0.92
4
50
11.5
1
0
0
0
0
0
0
0
0
0
0
0
0.06
50
1
50
50
0.978723
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
73d4697e1dd4656b6d9cda7c750dd23c4783f076
5,940
py
Python
ckan/tests/logic/auth/test_get.py
depositar/ckan
f74dc413b550f09847df23bc3bad061a5258a0f1
[ "Apache-2.0" ]
null
null
null
ckan/tests/logic/auth/test_get.py
depositar/ckan
f74dc413b550f09847df23bc3bad061a5258a0f1
[ "Apache-2.0" ]
null
null
null
ckan/tests/logic/auth/test_get.py
depositar/ckan
f74dc413b550f09847df23bc3bad061a5258a0f1
[ "Apache-2.0" ]
null
null
null
# encoding: utf-8 '''Unit tests for ckan/logic/auth/get.py. ''' from nose.tools import assert_raises import ckan.tests.helpers as helpers import ckan.tests.factories as factories import ckan.logic as logic from ckan import model class TestUserListAuth(object): @helpers.change_config(u'ckan.auth.public_user_d...
33.942857
78
0.624074
685
5,940
5.173723
0.131387
0.060948
0.06772
0.076185
0.835779
0.816874
0.808691
0.764673
0.745203
0.688488
0
0.000227
0.259259
5,940
174
79
34.137931
0.805227
0.086869
0
0.641026
0
0
0.111566
0.010803
0
0
0
0
0.145299
1
0.179487
false
0
0.042735
0
0.273504
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
0
0
0
0
0
0
6
73da648c0a748f03ab258a891a19e51963061934
26
py
Python
google/__init__.py
willgeorgetaylor/alfred-elixir-search
e94dbf3adb3999d51cac4a4956b475a1f81d6d42
[ "MIT" ]
null
null
null
google/__init__.py
willgeorgetaylor/alfred-elixir-search
e94dbf3adb3999d51cac4a4956b475a1f81d6d42
[ "MIT" ]
null
null
null
google/__init__.py
willgeorgetaylor/alfred-elixir-search
e94dbf3adb3999d51cac4a4956b475a1f81d6d42
[ "MIT" ]
null
null
null
from google import search
13
25
0.846154
4
26
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.153846
26
1
26
26
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
fb57526a24d58e576fbddcda58aaab44ddde1249
155
py
Python
modelator_py/tlc/__init__.py
informalsystems/modelator-py
d66464096c022799e680e6201590a2ead69be32d
[ "Apache-2.0" ]
null
null
null
modelator_py/tlc/__init__.py
informalsystems/modelator-py
d66464096c022799e680e6201590a2ead69be32d
[ "Apache-2.0" ]
3
2022-03-30T16:01:49.000Z
2022-03-31T13:40:03.000Z
modelator_py/tlc/__init__.py
informalsystems/modelator-py
d66464096c022799e680e6201590a2ead69be32d
[ "Apache-2.0" ]
null
null
null
from .args import TlcArgs from .pure import PureCmd as TlcPureCmd from .pure import tlc_pure from .raw import RawCmd as TlcRawCmd from .raw import tlc_raw
25.833333
39
0.812903
26
155
4.769231
0.461538
0.129032
0.225806
0
0
0
0
0
0
0
0
0
0.154839
155
5
40
31
0.946565
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
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
6
fbd3b2d37a810731dab106c9a912a7afe4b3e166
115
py
Python
yara-validator/stix2_patch/__init__.py
seth-goodwin/CCCS-Yara
79f66bbc8fee3729bf5aa3804fddb8632cac4a82
[ "MIT" ]
null
null
null
yara-validator/stix2_patch/__init__.py
seth-goodwin/CCCS-Yara
79f66bbc8fee3729bf5aa3804fddb8632cac4a82
[ "MIT" ]
null
null
null
yara-validator/stix2_patch/__init__.py
seth-goodwin/CCCS-Yara
79f66bbc8fee3729bf5aa3804fddb8632cac4a82
[ "MIT" ]
null
null
null
import importlib filter_casefold = importlib.import_module('CCCS-Yara.yara-validator.stix2_patch.filter_casefold')
38.333333
97
0.86087
15
115
6.333333
0.666667
0.294737
0
0
0
0
0
0
0
0
0
0.009091
0.043478
115
3
97
38.333333
0.854545
0
0
0
0
0
0.448276
0.448276
0
0
0
0
0
1
0
false
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
8378bd34366c54588307e3f41b62ee7f30fb8e2e
33
py
Python
pywiface/__init__.py
k3an3/pywiface
d8caaa6f974df0e340309d49e3c77ba1a9dd96e8
[ "MIT" ]
null
null
null
pywiface/__init__.py
k3an3/pywiface
d8caaa6f974df0e340309d49e3c77ba1a9dd96e8
[ "MIT" ]
null
null
null
pywiface/__init__.py
k3an3/pywiface
d8caaa6f974df0e340309d49e3c77ba1a9dd96e8
[ "MIT" ]
null
null
null
from pywiface.interface import *
16.5
32
0.818182
4
33
6.75
1
0
0
0
0
0
0
0
0
0
0
0
0.121212
33
1
33
33
0.931034
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
8391eb0cc86bd9b9b16e39852f153f115db56aeb
13,692
py
Python
tests/test_values.py
austintrose/django-querysetsequence
81f75dd7094deaacb066d3da6154dce25cd90b60
[ "ISC" ]
71
2016-01-11T16:23:35.000Z
2020-08-04T14:14:33.000Z
tests/test_values.py
austintrose/django-querysetsequence
81f75dd7094deaacb066d3da6154dce25cd90b60
[ "ISC" ]
38
2016-01-25T14:40:09.000Z
2020-07-27T20:54:03.000Z
tests/test_values.py
austintrose/django-querysetsequence
81f75dd7094deaacb066d3da6154dce25cd90b60
[ "ISC" ]
23
2016-01-23T10:56:15.000Z
2020-08-04T08:18:43.000Z
import datetime from tests.test_querysetsequence import TestBase class TestValues(TestBase): def test_values(self): """Ensure the values conversion works as expected.""" with self.assertNumQueries(2): values = list(self.all.values()) titles = [it["title"] for it in values] ...
37.719008
88
0.571429
1,601
13,692
4.785134
0.07995
0.092025
0.112779
0.117478
0.927686
0.90171
0.890354
0.877823
0.877823
0.877823
0
0.011364
0.305872
13,692
362
89
37.823204
0.794718
0.202454
0
0.649606
0
0
0.103232
0
0
0
0
0
0.330709
1
0.125984
false
0
0.007874
0
0.149606
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
0
0
0
0
0
0
6
83a7f816ed845f6809cd39a7205e800872c17bad
1,356
py
Python
test/test_edit_group.py
vitalrakach/python_test_training
78b50548d79d76283b182f34186d82ff9f9f4e25
[ "Apache-2.0" ]
null
null
null
test/test_edit_group.py
vitalrakach/python_test_training
78b50548d79d76283b182f34186d82ff9f9f4e25
[ "Apache-2.0" ]
null
null
null
test/test_edit_group.py
vitalrakach/python_test_training
78b50548d79d76283b182f34186d82ff9f9f4e25
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from model.group import Group def test_edit_first_group_name(app): if app.group.count() == 0: app.group.create(Group(name="test")) old_groups = app.group.get_group_list() group_var = Group(name="edit") group_var.id = old_groups[0].id app.group.edit_first_group(group...
34.769231
93
0.699115
217
1,356
4.059908
0.147465
0.145289
0.111237
0.115778
0.892168
0.868331
0.837684
0.837684
0.837684
0.837684
0
0.007018
0.159292
1,356
39
94
34.769231
0.765789
0.015487
0
0
0
0
0.015326
0
0
0
0
0
0.166667
1
0.083333
false
0
0.083333
0
0.166667
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
0
0
0
0
0
0
6
83bbac5aa591ffe4cd555ff4239391c36792a1ea
32,401
py
Python
tests/integration/test_secretsmanager.py
roguesupport/localstack
087abb05fcb360297431ad8e5790c8014e0a80d7
[ "Apache-2.0" ]
null
null
null
tests/integration/test_secretsmanager.py
roguesupport/localstack
087abb05fcb360297431ad8e5790c8014e0a80d7
[ "Apache-2.0" ]
null
null
null
tests/integration/test_secretsmanager.py
roguesupport/localstack
087abb05fcb360297431ad8e5790c8014e0a80d7
[ "Apache-2.0" ]
null
null
null
import json import uuid from datetime import datetime from typing import Dict, List, Optional import pytest import requests from localstack.constants import TEST_AWS_ACCOUNT_ID from localstack.services.awslambda.lambda_utils import LAMBDA_RUNTIME_PYTHON36 from localstack.utils import testutil from localstack.utils.aw...
39.037349
99
0.657757
3,624
32,401
5.433775
0.06043
0.083283
0.109486
0.053626
0.809415
0.78179
0.755078
0.723289
0.706074
0.676468
0
0.012198
0.258634
32,401
829
100
39.084439
0.807585
0.034752
0
0.557927
0
0
0.091352
0.01077
0
0
0
0
0.11128
1
0.053354
false
0.006098
0.018293
0.003049
0.105183
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
0
0
0
0
0
0
6
f7d5711766710fb13d90549bd70f8779596793e6
34
py
Python
sales/__init__.py
oldrev/odoodev-demo-2014
77085df7856f8fe5fac0a6ad510fe13e19ed5a1a
[ "MIT" ]
2
2015-06-16T07:18:30.000Z
2016-03-27T01:58:52.000Z
sales/__init__.py
oldrev/odoodev-demo-2014
77085df7856f8fe5fac0a6ad510fe13e19ed5a1a
[ "MIT" ]
null
null
null
sales/__init__.py
oldrev/odoodev-demo-2014
77085df7856f8fe5fac0a6ad510fe13e19ed5a1a
[ "MIT" ]
null
null
null
#encoding: utf-8 import sales
4.857143
16
0.676471
5
34
4.6
1
0
0
0
0
0
0
0
0
0
0
0.038462
0.235294
34
6
17
5.666667
0.846154
0.441176
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
79358d78cc5b8af60a2ed766c56fc550ec62f91f
77,767
py
Python
raiden/tests/integration/api/test_restapi.py
ExchangeUnion/raiden
2217bcb698fcfce3499dc1f41ad919ed82e8e45f
[ "MIT" ]
null
null
null
raiden/tests/integration/api/test_restapi.py
ExchangeUnion/raiden
2217bcb698fcfce3499dc1f41ad919ed82e8e45f
[ "MIT" ]
12
2019-08-09T19:12:17.000Z
2019-12-05T15:49:29.000Z
raiden/tests/integration/api/test_restapi.py
ExchangeUnion/raiden
2217bcb698fcfce3499dc1f41ad919ed82e8e45f
[ "MIT" ]
null
null
null
import datetime import json from hashlib import sha256 from http import HTTPStatus import gevent import grequests import pytest from eth_utils import ( is_checksum_address, to_bytes, to_canonical_address, to_checksum_address, to_hex, ) from flask import url_for from raiden.api.v1.encoding import A...
36.979078
99
0.70782
8,629
77,767
6.023989
0.062
0.047787
0.033512
0.054135
0.803063
0.777284
0.750255
0.734499
0.716993
0.705662
0
0.027074
0.20303
77,767
2,102
100
36.99667
0.811627
0.05901
0
0.657487
0
0.001147
0.140623
0.060396
0
0
0.018831
0
0.110155
1
0.028686
false
0.000574
0.013769
0
0.044177
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
0
0
0
0
0
0
6
793b7ae4ad8a9a9ed71ad7452389a11025efdef2
25
py
Python
hardware/drivers/__init__.py
17012/practicum
d196e2c513a1763441b8be3ede8a39c30e9ff03d
[ "MIT" ]
null
null
null
hardware/drivers/__init__.py
17012/practicum
d196e2c513a1763441b8be3ede8a39c30e9ff03d
[ "MIT" ]
1
2021-09-27T03:09:36.000Z
2021-09-28T00:56:56.000Z
hardware/drivers/__init__.py
17012/practicum
d196e2c513a1763441b8be3ede8a39c30e9ff03d
[ "MIT" ]
2
2021-11-26T00:00:39.000Z
2021-11-26T00:03:57.000Z
from .i2c_dev import Lcd
12.5
24
0.8
5
25
3.8
1
0
0
0
0
0
0
0
0
0
0
0.047619
0.16
25
1
25
25
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f7309b8ab0ec6cc5672805a9ee0b86213e917ba4
964
py
Python
webdriver_test_tools/config/__init__.py
connordelacruz/webdriver-test-tools
fe6906839e4423562c6d4d0aa6b10b2ea90bff6b
[ "MIT" ]
5
2018-07-02T13:18:59.000Z
2019-10-14T04:55:31.000Z
webdriver_test_tools/config/__init__.py
connordelacruz/webdriver-test-tools
fe6906839e4423562c6d4d0aa6b10b2ea90bff6b
[ "MIT" ]
1
2019-10-16T20:54:25.000Z
2019-10-16T20:54:25.000Z
webdriver_test_tools/config/__init__.py
connordelacruz/webdriver-test-tools
fe6906839e4423562c6d4d0aa6b10b2ea90bff6b
[ "MIT" ]
1
2019-09-03T05:29:41.000Z
2019-09-03T05:29:41.000Z
"""Default configurations for various items in the test framework. This module imports the following classes: :class:`webdriver_test_tools.config.browser.BrowserConfig` :class:`webdriver_test_tools.config.browser.BrowserStackConfig` :class:`webdriver_test_tools.config.projectfiles.ProjectFilesConfig` ...
35.703704
72
0.823651
109
964
7.06422
0.284404
0.202597
0.280519
0.374026
0.484416
0.093506
0
0
0
0
0
0
0.10166
964
26
73
37.076923
0.889146
0.78112
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
e3c0b1eef25f8a5e47dbfdaf5307d3423362b42b
252
py
Python
tests/unit/django/test_config.py
matthewgdv/sqlhandler
b82fd159195f6bb63175bb8a8d81fc421e7d5835
[ "MIT" ]
null
null
null
tests/unit/django/test_config.py
matthewgdv/sqlhandler
b82fd159195f6bb63175bb8a8d81fc421e7d5835
[ "MIT" ]
null
null
null
tests/unit/django/test_config.py
matthewgdv/sqlhandler
b82fd159195f6bb63175bb8a8d81fc421e7d5835
[ "MIT" ]
null
null
null
# import pytest class TestNullOp: pass class TestSqlConfig: def test_ready(self): # synced assert True def test_setup(self): # synced assert True def test_initialize_database(self): # synced assert True
14.823529
49
0.642857
29
252
5.448276
0.551724
0.132911
0.303797
0.379747
0.341772
0.341772
0
0
0
0
0
0
0.297619
252
16
50
15.75
0.892655
0.134921
0
0.333333
0
0
0
0
0
0
0
0
0.333333
1
0.333333
false
0.111111
0
0
0.555556
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
6
e3dfaff01ac1bbacc92067036c3367596405ba8f
106
py
Python
conftest.py
seperman/redisworks
e8b7c4be1baf3520d388b6065375c488942648c9
[ "BSD-3-Clause" ]
92
2016-08-23T00:48:04.000Z
2022-03-10T21:06:17.000Z
conftest.py
DanInSpace104/redisworks
e8b7c4be1baf3520d388b6065375c488942648c9
[ "BSD-3-Clause" ]
15
2016-11-22T22:11:41.000Z
2020-10-15T18:58:27.000Z
conftest.py
DanInSpace104/redisworks
e8b7c4be1baf3520d388b6065375c488942648c9
[ "BSD-3-Clause" ]
18
2016-09-27T09:49:16.000Z
2021-02-18T06:51:34.000Z
import os import sys sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'tests')))
17.666667
82
0.745283
18
106
4.166667
0.555556
0.24
0
0
0
0
0
0
0
0
0
0
0.075472
106
5
83
21.2
0.765306
0
0
0
0
0
0.04717
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
e3e0c5f563dd749ce015c31c18f88f13d019cfbb
164
py
Python
wuphf/__init__.py
hvgab/Wuphf
6a2a64676d9df8617860a88613fde10da299c0db
[ "Unlicense" ]
null
null
null
wuphf/__init__.py
hvgab/Wuphf
6a2a64676d9df8617860a88613fde10da299c0db
[ "Unlicense" ]
3
2018-06-29T14:16:30.000Z
2021-06-01T22:32:47.000Z
wuphf/__init__.py
hvgab/Wuphf
6a2a64676d9df8617860a88613fde10da299c0db
[ "Unlicense" ]
null
null
null
from .wuphf import Wuphf from .wuphf import Message from . import clients # from .clients.smtp import SMTP_client # from .clients.sendgrid import Sendgrid_client
20.5
47
0.79878
23
164
5.608696
0.347826
0.139535
0.232558
0
0
0
0
0
0
0
0
0
0.146341
164
7
48
23.428571
0.921429
0.506098
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
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
6
5442a3434b7f1b1d95d623bd46a402c6e1bb03a0
123
py
Python
settings.py
Aixile/chainer-gan-experiments
4371e8369d2805e8ace6d7aacc397aa6e62680a6
[ "MIT" ]
70
2017-06-24T10:55:57.000Z
2021-11-23T22:52:37.000Z
settings.py
Aixile/chainer-gan-experiments
4371e8369d2805e8ace6d7aacc397aa6e62680a6
[ "MIT" ]
1
2017-08-21T06:19:31.000Z
2017-08-21T07:54:28.000Z
settings.py
Aixile/chainer-gan-experiments
4371e8369d2805e8ace6d7aacc397aa6e62680a6
[ "MIT" ]
16
2017-08-22T07:00:16.000Z
2018-11-18T16:15:21.000Z
CELEBA_PATH = "/home/aixile/Workspace/dataset/celeba/" GAME_FACE_PATH = "/home/aixile/Workspace/dataset/game_face_170701/"
41
67
0.804878
17
123
5.529412
0.529412
0.170213
0.297872
0.489362
0.638298
0
0
0
0
0
0
0.051282
0.04878
123
2
68
61.5
0.752137
0
0
0
0
0
0.699187
0.699187
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
5443ca1c99cded5cb93768dd78ccc614bb7b353e
9,258
py
Python
tests/datastore_sqlite/test_database.py
newrelic/newrelic-python-agen
4f292ec1219c0daffc5721a7b3a245b97d0f83ba
[ "Apache-2.0" ]
92
2020-06-12T17:53:23.000Z
2022-03-01T11:13:21.000Z
tests/datastore_sqlite/test_database.py
newrelic/newrelic-python-agen
4f292ec1219c0daffc5721a7b3a245b97d0f83ba
[ "Apache-2.0" ]
347
2020-07-10T00:10:19.000Z
2022-03-31T17:58:56.000Z
tests/datastore_sqlite/test_database.py
newrelic/newrelic-python-agen
4f292ec1219c0daffc5721a7b3a245b97d0f83ba
[ "Apache-2.0" ]
58
2020-06-17T13:51:57.000Z
2022-03-06T14:26:53.000Z
# Copyright 2010 New Relic, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
41.702703
100
0.675956
1,062
9,258
5.56403
0.145951
0.091386
0.105602
0.071924
0.829413
0.827213
0.780674
0.710103
0.697918
0.665595
0
0.02556
0.184381
9,258
221
101
41.891403
0.756986
0.059732
0
0.703488
0
0
0.398819
0.308868
0
0
0
0
0.011628
1
0.017442
false
0.005814
0.034884
0
0.052326
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
546c6d96e919eab6b47174d8a0deaedb95a94018
139
py
Python
test3.py
Mespyr/Random-String-Generator
ae8c5286bee08be20dac4f6c9fc8e714422408bd
[ "MIT" ]
null
null
null
test3.py
Mespyr/Random-String-Generator
ae8c5286bee08be20dac4f6c9fc8e714422408bd
[ "MIT" ]
null
null
null
test3.py
Mespyr/Random-String-Generator
ae8c5286bee08be20dac4f6c9fc8e714422408bd
[ "MIT" ]
null
null
null
import random_string_gen for i in range(10): print(random_string_gen.gen.generate_string(5, random_string_gen.util.CONSONANT_CHANCE))
27.8
92
0.820144
23
139
4.608696
0.652174
0.339623
0.424528
0
0
0
0
0
0
0
0
0.02381
0.093525
139
4
93
34.75
0.81746
0
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
547056e1b937ebd2c0f2f0b98b637ed3f6b182df
37
py
Python
vendor-local/lib/python/noseprogressive/__init__.py
Koenkk/popcorn_maker
0978b9f98dacd4e8eb753404b24eb584f410aa11
[ "BSD-3-Clause" ]
15
2015-03-23T02:55:20.000Z
2021-01-12T12:42:30.000Z
vendor-local/lib/python/noseprogressive/__init__.py
Koenkk/popcorn_maker
0978b9f98dacd4e8eb753404b24eb584f410aa11
[ "BSD-3-Clause" ]
null
null
null
vendor-local/lib/python/noseprogressive/__init__.py
Koenkk/popcorn_maker
0978b9f98dacd4e8eb753404b24eb584f410aa11
[ "BSD-3-Clause" ]
16
2015-02-18T21:43:31.000Z
2021-11-09T22:50:03.000Z
from plugin import ProgressivePlugin
18.5
36
0.891892
4
37
8.25
1
0
0
0
0
0
0
0
0
0
0
0
0.108108
37
1
37
37
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
547c98e3a68f425a8f4f3e654b4f88e7c83e6170
22,218
py
Python
src/python/variamos/libs/mx_graph/tests/mx_graph_tests.py
fpiedrah/SPL-Solver
77832ea12b09cb5f423c31335e524923e7f078be
[ "MIT" ]
2
2020-11-24T14:50:45.000Z
2021-01-05T14:40:52.000Z
src/python/variamos/libs/mx_graph/tests/mx_graph_tests.py
fpiedrah/SPL-Solver
77832ea12b09cb5f423c31335e524923e7f078be
[ "MIT" ]
10
2021-02-09T11:41:24.000Z
2021-02-09T11:41:25.000Z
src/python/variamos/libs/mx_graph/tests/mx_graph_tests.py
fpiedrah/SPL-Solver
77832ea12b09cb5f423c31335e524923e7f078be
[ "MIT" ]
null
null
null
import io from variamos.libs.mx_graph import MXGraph def test_ministore_model(): mx_graph_str = """ <mxGraphModel> <root> <mxCell id="0"/> <mxCell id="feature" parent="0"/> <root label="MiniStores" type="root" id="27"> <mxCell style="strokeWidth=3" parent="feature" vertex=...
46.578616
111
0.530966
2,287
22,218
5.068212
0.091823
0.056078
0.089725
0.041929
0.812009
0.80597
0.751704
0.742731
0.64274
0.615132
0
0.053881
0.298317
22,218
476
112
46.676471
0.689609
0
0
0.558696
0
0.097826
0.887794
0.097804
0
0
0
0
0.006522
1
0.006522
false
0
0.004348
0
0.01087
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
49b50a3d19561a58a34e109ddd5bffbc8a071b4a
202
py
Python
sparkplus/dependencies/__init__.py
SWM-SparkPlus/sparkplus
b7900d3ca4fbaef4ddb4fd7e0971370426af2ee2
[ "MIT" ]
11
2021-11-04T23:58:52.000Z
2021-11-16T11:58:16.000Z
sparkplus/dependencies/__init__.py
SWM-SparkPlus/spark-plugin
b7900d3ca4fbaef4ddb4fd7e0971370426af2ee2
[ "MIT" ]
null
null
null
sparkplus/dependencies/__init__.py
SWM-SparkPlus/spark-plugin
b7900d3ca4fbaef4ddb4fd7e0971370426af2ee2
[ "MIT" ]
2
2021-11-05T00:00:05.000Z
2021-11-26T06:00:17.000Z
from .spark import * # from .logging import * from .tablename import ESido, EPrefix, get_tablename_by_prefix_and_sido __all__ = ["start_spark", "ESido", "EPrefix", "get_tablename_by_prefix_and_sido"]
28.857143
81
0.777228
28
202
5.071429
0.5
0.140845
0.211268
0.338028
0.549296
0.549296
0.549296
0.549296
0
0
0
0
0.113861
202
6
82
33.666667
0.793296
0.108911
0
0
0
0
0.308989
0.179775
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
49bdb5f41d73c2317b9ea0027892492403e81a55
149,199
py
Python
openbb_terminal/portfolio/portfolio_optimization/optimizer_view.py
jmaslek/OpenBBTerminal
919ca99f80809b2b9fe828dc3dd201c813d12d6d
[ "MIT" ]
null
null
null
openbb_terminal/portfolio/portfolio_optimization/optimizer_view.py
jmaslek/OpenBBTerminal
919ca99f80809b2b9fe828dc3dd201c813d12d6d
[ "MIT" ]
null
null
null
openbb_terminal/portfolio/portfolio_optimization/optimizer_view.py
jmaslek/OpenBBTerminal
919ca99f80809b2b9fe828dc3dd201c813d12d6d
[ "MIT" ]
null
null
null
"""Optimization View""" __docformat__ = "numpy" # pylint: disable=R0913, R0914, C0302, too-many-branches, too-many-statements import logging import math import warnings from datetime import date from typing import Dict, List, Optional import matplotlib import matplotlib.pyplot as plt import numpy as np import pandas...
37.629004
119
0.619481
18,877
149,199
4.804471
0.038936
0.021214
0.024809
0.028943
0.891239
0.878239
0.865691
0.858745
0.854092
0.849406
0
0.009224
0.278434
149,199
3,964
120
37.638496
0.833165
0.580212
0
0.660205
0
0
0.089321
0.006669
0
0
0
0
0
1
0.014823
false
0
0.011403
0
0.0439
0.021095
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
0
0
0
0
0
0
6
49fa0cf7d71b3489d894d3af84c53ca8fdef5152
2,711
py
Python
calc.py
NagarBoomer123/Python
f0601f7c9ebca92a6564c64cbcfef9bede44aa9f
[ "MIT" ]
null
null
null
calc.py
NagarBoomer123/Python
f0601f7c9ebca92a6564c64cbcfef9bede44aa9f
[ "MIT" ]
1
2020-10-01T05:10:10.000Z
2020-10-01T05:11:55.000Z
calc.py
NagarBoomer123/Python
f0601f7c9ebca92a6564c64cbcfef9bede44aa9f
[ "MIT" ]
1
2020-10-01T05:07:17.000Z
2020-10-01T05:07:17.000Z
from tkinter import * root = Tk() root.geometry("333x470") root.title("Calculator") scvalue = StringVar() scvalue.set("") screen = Entry(root, textvar=scvalue, font="lucida 30 bold") screen.pack(fill=X, ipadx=8, padx=3, pady=3) def click(event): global scvalue text = event.widget.cget("text") ...
18.958042
63
0.587975
471
2,711
3.384289
0.140127
0.023839
0.120452
0.160602
0.736512
0.723965
0.723965
0.723965
0.723965
0.706399
0
0.04605
0.182958
2,711
143
64
18.958042
0.673589
0.010697
0
0.622222
0
0
0.170414
0
0
0
0
0
0
1
0.011111
false
0
0.011111
0
0.022222
0.011111
0
0
0
null
0
0
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
0
0
0
0
0
0
0
0
0
6
3fad0c6f248abb28c5de778d7fa7ef2985167870
38
py
Python
src/font_scanner/__init__.py
salieri/2d-enhance
9ec2f3c63161d44ce0b25540eccf26e2c5cdccf0
[ "MIT" ]
null
null
null
src/font_scanner/__init__.py
salieri/2d-enhance
9ec2f3c63161d44ce0b25540eccf26e2c5cdccf0
[ "MIT" ]
3
2021-06-08T20:14:32.000Z
2022-03-11T23:56:59.000Z
src/font_scanner/__init__.py
salieri/2d-enhance
9ec2f3c63161d44ce0b25540eccf26e2c5cdccf0
[ "MIT" ]
null
null
null
from .font_library import FontLibrary
19
37
0.868421
5
38
6.4
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
38
1
38
38
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
3fb63a4050c74a92dd63729b73b55dd5a11975e7
32
py
Python
shadowrun_prototype/defs/coll.py
holy-crust/reclaimer
0aa693da3866ce7999c68d5f71f31a9c932cdb2c
[ "MIT" ]
null
null
null
shadowrun_prototype/defs/coll.py
holy-crust/reclaimer
0aa693da3866ce7999c68d5f71f31a9c932cdb2c
[ "MIT" ]
null
null
null
shadowrun_prototype/defs/coll.py
holy-crust/reclaimer
0aa693da3866ce7999c68d5f71f31a9c932cdb2c
[ "MIT" ]
null
null
null
from ...hek.defs.coll import *
16
31
0.65625
5
32
4.2
1
0
0
0
0
0
0
0
0
0
0
0
0.15625
32
1
32
32
0.777778
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
3fbec7d8148d48163ba260fa6da625c62c20a613
8,484
py
Python
imcsdk/mometa/memory/MemoryPersistentMemoryRegion.py
TetrationAnalytics/imcsdk
d86e47831f294dc9fa5e99b9a92abceac2502d76
[ "Apache-2.0" ]
null
null
null
imcsdk/mometa/memory/MemoryPersistentMemoryRegion.py
TetrationAnalytics/imcsdk
d86e47831f294dc9fa5e99b9a92abceac2502d76
[ "Apache-2.0" ]
null
null
null
imcsdk/mometa/memory/MemoryPersistentMemoryRegion.py
TetrationAnalytics/imcsdk
d86e47831f294dc9fa5e99b9a92abceac2502d76
[ "Apache-2.0" ]
2
2016-05-26T02:05:46.000Z
2017-09-13T05:13:25.000Z
"""This module contains the general information for MemoryPersistentMemoryRegion ManagedObject.""" from ...imcmo import ManagedObject from ...imccoremeta import MoPropertyMeta, MoMeta from ...imcmeta import VersionMeta class MemoryPersistentMemoryRegionConsts: HEALTH_STATE_CRITICAL_FAILURE = "CriticalFailure" ...
65.261538
276
0.661363
809
8,484
6.693449
0.147095
0.065005
0.06205
0.170637
0.77747
0.77747
0.768975
0.768975
0.768975
0.768975
0
0.031322
0.183404
8,484
129
277
65.767442
0.750289
0.01603
0
0.518519
0
0.018519
0.306142
0.09525
0
0
0.002879
0
0
1
0.009259
false
0
0.027778
0
0.277778
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
3fd6a0a3465ad87670cbd01be6ea62ffe1aff6d6
79
py
Python
fpipe/meta/port.py
vkvam/fpipe
2905095f46923c6c4c460c3d154544b654136df4
[ "MIT" ]
18
2019-12-16T17:55:57.000Z
2020-10-21T23:25:40.000Z
fpipe/meta/port.py
vkvam/fpipe
2905095f46923c6c4c460c3d154544b654136df4
[ "MIT" ]
23
2019-12-11T14:15:08.000Z
2020-02-17T12:53:21.000Z
fpipe/meta/port.py
vkvam/fpipe
2905095f46923c6c4c460c3d154544b654136df4
[ "MIT" ]
null
null
null
from fpipe.meta.abstract import FileData class Port(FileData[int]): pass
13.166667
40
0.746835
11
79
5.363636
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.164557
79
5
41
15.8
0.893939
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
3fd861a11acb935e0718c956aa8ac489435f26df
522
py
Python
acp/exception.py
6sibilings/daniel-Allen
db35e9ebc2b0057a32d8011336dc5fa948d88276
[ "MIT" ]
133
2016-03-19T21:18:27.000Z
2022-03-23T21:23:08.000Z
acp/exception.py
6sibilings/daniel-Allen
db35e9ebc2b0057a32d8011336dc5fa948d88276
[ "MIT" ]
6
2017-10-08T19:53:26.000Z
2022-02-16T23:49:27.000Z
acp/exception.py
6sibilings/daniel-Allen
db35e9ebc2b0057a32d8011336dc5fa948d88276
[ "MIT" ]
24
2016-04-01T17:30:40.000Z
2022-03-23T21:23:19.000Z
#TODO: put other exceptions in here... class ACPError(Exception): """Base class for exceptions in this module.""" pass class ACPClientError(ACPError): """Exception raised for errors in the ACP client""" pass class ACPCommandLineError(ACPError): """Exception raised for command line invocation errors""" pass ...
19.333333
60
0.754789
62
522
6.354839
0.467742
0.215736
0.233503
0.263959
0.309645
0.228426
0.228426
0
0
0
0
0
0.14751
522
26
61
20.076923
0.885393
0.54023
0
0.5
0
0
0
0
0
0
0
0.038462
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
1
0
0
0
0
0
6
3fea7cd95a03a139da3b5e69e5b223fc3df58bc0
18
py
Python
pipenv/patched/pew/__init__.py
dschaller/pipenv
0ec97edbf797d0d3d133dc773831c5e7fab92cd2
[ "MIT" ]
2
2021-10-01T17:23:49.000Z
2021-10-01T17:26:19.000Z
pipenv/patched/pew/__init__.py
RL-TOP-DEV/pipenv
cf20894017b768ac7306189c5660833bd9197164
[ "MIT" ]
1
2017-09-15T19:01:09.000Z
2017-09-15T23:42:43.000Z
pipenv/patched/pew/__init__.py
RL-TOP-DEV/pipenv
cf20894017b768ac7306189c5660833bd9197164
[ "MIT" ]
2
2018-04-06T05:36:25.000Z
2018-12-30T22:58:58.000Z
from . import pew
9
17
0.722222
3
18
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.222222
18
1
18
18
0.928571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
3ff173534468c0df313936bb63d27e1297ebccf3
46
py
Python
Frame_Level_Speech_recognition/Frame_Level_Speech_Recognition/src/wer.py
MonitSharma/Data-Science-Projects
b78df36061a9877240763bf3e71ec797f53b4450
[ "MIT" ]
null
null
null
Frame_Level_Speech_recognition/Frame_Level_Speech_Recognition/src/wer.py
MonitSharma/Data-Science-Projects
b78df36061a9877240763bf3e71ec797f53b4450
[ "MIT" ]
null
null
null
Frame_Level_Speech_recognition/Frame_Level_Speech_Recognition/src/wer.py
MonitSharma/Data-Science-Projects
b78df36061a9877240763bf3e71ec797f53b4450
[ "MIT" ]
null
null
null
import struct print(struct.calcsize("P")*8)
15.333333
29
0.717391
7
46
4.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0.02439
0.108696
46
3
29
15.333333
0.780488
0
0
0
0
0
0.022222
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
6
b7552c70b4fa62bbc2b6ed12b13d394397bf5a08
17
py
Python
examples/http_and_ssh/http_and_ssh/servers/__init__.py
Ovvovy/API-Hour
c9508245bf1472befcd2c51635ebb6ad994b63a0
[ "Apache-2.0" ]
571
2015-01-07T14:28:04.000Z
2022-02-27T19:37:39.000Z
examples/http_and_ssh/http_and_ssh/servers/__init__.py
Ovvovy/API-Hour
c9508245bf1472befcd2c51635ebb6ad994b63a0
[ "Apache-2.0" ]
16
2015-02-26T12:06:15.000Z
2021-06-10T17:42:34.000Z
examples/http_and_ssh/http_and_ssh/servers/__init__.py
Ovvovy/API-Hour
c9508245bf1472befcd2c51635ebb6ad994b63a0
[ "Apache-2.0" ]
27
2015-02-25T15:56:39.000Z
2018-05-24T15:05:55.000Z
from . import ssh
17
17
0.764706
3
17
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.176471
17
1
17
17
0.928571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4d0be07e52076840d84f64c9da3ff3921aea1fde
103
py
Python
src/app/models/order/__init__.py
SantaSpeen/web-merchandise-shop
5febf4e88d0b7438b5d4d5b5529d2bf123d0ab28
[ "MIT" ]
5
2022-02-08T05:52:21.000Z
2022-02-23T17:06:06.000Z
src/app/models/order/__init__.py
SantaSpeen/web-merchandise-shop
5febf4e88d0b7438b5d4d5b5529d2bf123d0ab28
[ "MIT" ]
13
2022-02-09T07:18:20.000Z
2022-03-03T08:29:43.000Z
src/app/models/order/__init__.py
SantaSpeen/web-merchandise-shop
5febf4e88d0b7438b5d4d5b5529d2bf123d0ab28
[ "MIT" ]
1
2022-02-23T17:00:26.000Z
2022-02-23T17:00:26.000Z
#!env/bin/python """ Order models. """ from .order import Order from .order_item import OrderItem
12.875
33
0.699029
14
103
5.071429
0.642857
0.253521
0
0
0
0
0
0
0
0
0
0
0.174757
103
7
34
14.714286
0.835294
0.281553
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4d18670400b179bfbb115d3568645cbc5966625f
166
py
Python
Chapter 15/ch15_44.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 15/ch15_44.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 15/ch15_44.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
import numpy as np n_arr = np.array([-75.4, 42.45, 60.0]) n_arr[n_arr < 0] = 0 print(n_arr) a2=np.delete(n_arr,[0]) print(a2) #[0. 42.45. 60.0] #[42.45 60.0]
18.444444
39
0.584337
40
166
2.3
0.4
0.217391
0.195652
0.228261
0.163043
0
0
0
0
0
0
0.220588
0.180723
166
9
40
18.444444
0.455882
0.168675
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
0
0
0
null
1
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
0
0
6
4d2f31d7a3d1547b7674abfd1b9544a28215c5c1
114
py
Python
app/styleguide/__init__.py
shots47s/conp-portal
6ca45d4e3f6f40e16cb35a1d77827c2a48b13546
[ "MIT" ]
null
null
null
app/styleguide/__init__.py
shots47s/conp-portal
6ca45d4e3f6f40e16cb35a1d77827c2a48b13546
[ "MIT" ]
2
2020-04-14T21:41:55.000Z
2020-12-02T16:59:52.000Z
app/styleguide/__init__.py
shots47s/conp-portal
6ca45d4e3f6f40e16cb35a1d77827c2a48b13546
[ "MIT" ]
null
null
null
from flask import Blueprint styleguide_bp = Blueprint('styleguide', __name__) from app.styleguide import routes
19
49
0.815789
14
114
6.285714
0.642857
0.431818
0
0
0
0
0
0
0
0
0
0
0.122807
114
5
50
22.8
0.88
0
0
0
0
0
0.087719
0
0
0
0
0
0
1
0
false
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
0
0
1
0
1
1
0
6
4d42bde19eca3bd240f96a8aaf2f76fb2a128960
117
py
Python
lib/disco/schemes/scheme_https.py
amit-siddhu/disco
be65272d3eecca184a3c8f2fa911b86ac87a4e8a
[ "BSD-3-Clause" ]
786
2015-01-01T12:35:40.000Z
2022-03-19T04:39:22.000Z
lib/disco/schemes/scheme_https.py
DavidAlphaFox/disco
d550a4ef548991921f9521a59b057cd066c37290
[ "BSD-3-Clause" ]
51
2015-01-19T20:07:01.000Z
2019-10-19T21:03:06.000Z
lib/disco/schemes/scheme_https.py
DavidAlphaFox/disco
d550a4ef548991921f9521a59b057cd066c37290
[ "BSD-3-Clause" ]
122
2015-01-05T18:16:03.000Z
2021-07-10T12:35:22.000Z
from scheme_http import open, input_stream # keep those unused import checkers quiet assert open assert input_stream
23.4
42
0.846154
18
117
5.333333
0.722222
0.229167
0
0
0
0
0
0
0
0
0
0
0.136752
117
4
43
29.25
0.950495
0.333333
0
0
0
0
0
0
0
0
0
0
0.666667
1
0
true
0
0.333333
0
0.333333
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
1
0
0
1
0
1
0
0
0
0
6
4d51cc871c67b6639516b5f5128f0d93f09da6ad
22,552
py
Python
tests/test_zoneinfo.py
wacuuu/workload-collocation-agent
9250ec2ab8def033e8546481eaed6aca2caad3d3
[ "Apache-2.0" ]
40
2019-05-16T16:42:33.000Z
2021-11-18T06:33:03.000Z
tests/test_zoneinfo.py
wacuuu/workload-collocation-agent
9250ec2ab8def033e8546481eaed6aca2caad3d3
[ "Apache-2.0" ]
72
2019-05-09T02:30:25.000Z
2020-11-17T09:24:44.000Z
tests/test_zoneinfo.py
ppalucki/owca
9316f92e2d67f6c37da2dec33e5f769a4c3a465b
[ "Apache-2.0" ]
26
2019-05-20T09:13:38.000Z
2021-12-15T17:57:21.000Z
# Copyright (c) 2020 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
41.762963
96
0.387637
2,271
22,552
3.56539
0.114927
0.091392
0.073608
0.025689
0.79091
0.752377
0.746696
0.741756
0.741756
0.710881
0
0.130137
0.495034
22,552
539
97
41.840445
0.580875
0.028645
0
0.782692
0
0
0.291242
0.099228
0
0
0
0
0.001923
1
0.001923
false
0
0.009615
0
0.011538
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
4dc612cd8d474e4671f6c1923aacbeb7c2ab76c9
46,103
py
Python
detection/Votenet/models/loss_helper.py
wyf-ACCEPT/BackToReality
0b7609eab5087afcd52827e5e6a87f78a8a633cc
[ "MIT" ]
21
2022-03-15T05:22:52.000Z
2022-03-27T08:33:14.000Z
detection/Votenet/models/loss_helper.py
wyf-ACCEPT/BackToReality
0b7609eab5087afcd52827e5e6a87f78a8a633cc
[ "MIT" ]
null
null
null
detection/Votenet/models/loss_helper.py
wyf-ACCEPT/BackToReality
0b7609eab5087afcd52827e5e6a87f78a8a633cc
[ "MIT" ]
4
2022-03-15T05:42:11.000Z
2022-03-23T19:37:37.000Z
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable, Function import numpy as np import sy...
44.329808
222
0.694553
6,838
46,103
4.2685
0.053817
0.095279
0.038372
0.014321
0.808209
0.772749
0.750514
0.737289
0.712142
0.701658
0
0.015672
0.19862
46,103
1,039
223
44.372474
0.774346
0.256166
0
0.650854
0
0
0.087206
0.002325
0
0
0
0
0
1
0.032258
false
0
0.01518
0
0.081594
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
0
0
0
0
0
0
6
4dce9f9b79e3c1828c194c4eb9e5d91e84cdcf1f
43
py
Python
planex/cms_core/blocks/__init__.py
octue/planex-cms
9ec17dccd174bf99ffcd9b46ac4f6f7c37200d60
[ "MIT" ]
null
null
null
planex/cms_core/blocks/__init__.py
octue/planex-cms
9ec17dccd174bf99ffcd9b46ac4f6f7c37200d60
[ "MIT" ]
1
2021-01-12T18:13:21.000Z
2021-01-12T18:13:21.000Z
planex/cms_core/blocks/__init__.py
octue/planex-cms
9ec17dccd174bf99ffcd9b46ac4f6f7c37200d60
[ "MIT" ]
null
null
null
from .icons import IconBlock # noqa: F401
21.5
42
0.744186
6
43
5.333333
1
0
0
0
0
0
0
0
0
0
0
0.085714
0.186047
43
1
43
43
0.828571
0.232558
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4dea8682b1afa96ea52963a2a2792dac61fe3691
93
py
Python
skypy/astrometry/__init__.py
nickalaskreynolds/skypy
777c6d82bf520c75b5c38f8cee9b7b4d438fbdba
[ "MIT" ]
null
null
null
skypy/astrometry/__init__.py
nickalaskreynolds/skypy
777c6d82bf520c75b5c38f8cee9b7b4d438fbdba
[ "MIT" ]
3
2018-02-11T00:26:18.000Z
2018-02-17T18:10:29.000Z
skypy/astrometry/__init__.py
nickalaskreynolds/skypy
777c6d82bf520c75b5c38f8cee9b7b4d438fbdba
[ "MIT" ]
null
null
null
from . import moonfinder from . import planetfinder from . import radec from . import skypos
18.6
26
0.784946
12
93
6.083333
0.5
0.547945
0
0
0
0
0
0
0
0
0
0
0.172043
93
4
27
23.25
0.948052
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
12b701e07094ac390c21a60b5372a86ede8a9a32
165
py
Python
alpha_viergewinnt/agent/alpha/__init__.py
wahtak/alpha_viergewinnt
569b66e656722387e450f72842ed7fe8c7d1a732
[ "MIT" ]
null
null
null
alpha_viergewinnt/agent/alpha/__init__.py
wahtak/alpha_viergewinnt
569b66e656722387e450f72842ed7fe8c7d1a732
[ "MIT" ]
null
null
null
alpha_viergewinnt/agent/alpha/__init__.py
wahtak/alpha_viergewinnt
569b66e656722387e450f72842ed7fe8c7d1a732
[ "MIT" ]
null
null
null
from .alpha import AlphaAgent, AlphaTrainer from .evaluator import Evaluator from .generic_estimator import GenericEstimator from .mlp_estimator import MlpEstimator
33
47
0.866667
19
165
7.421053
0.578947
0.212766
0
0
0
0
0
0
0
0
0
0
0.10303
165
4
48
41.25
0.952703
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
12bde75651b6182f9890044adffaa43393a2fb28
45
bzl
Python
buck_imports/profilo_path.bzl
simpleton/profilo
91ef4ba1a8316bad2b3080210316dfef4761e180
[ "Apache-2.0" ]
null
null
null
buck_imports/profilo_path.bzl
simpleton/profilo
91ef4ba1a8316bad2b3080210316dfef4761e180
[ "Apache-2.0" ]
null
null
null
buck_imports/profilo_path.bzl
simpleton/profilo
91ef4ba1a8316bad2b3080210316dfef4761e180
[ "Apache-2.0" ]
null
null
null
def profilo_path(dep): return "//" + dep
15
22
0.6
6
45
4.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.222222
45
2
23
22.5
0.742857
0
0
0
0
0
0.044444
0
0
0
0
0
0
1
0.5
false
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
0
0
0
1
1
0
0
6
12f20a0ce5bd8ecbbceb7642a47b8c905c982fcf
2,661
py
Python
torch_sparse/mul.py
mdiephuis/pytorch_sparse
328aaf2f92cdc37c8daa2d38c53c995ffbd743c8
[ "MIT" ]
null
null
null
torch_sparse/mul.py
mdiephuis/pytorch_sparse
328aaf2f92cdc37c8daa2d38c53c995ffbd743c8
[ "MIT" ]
null
null
null
torch_sparse/mul.py
mdiephuis/pytorch_sparse
328aaf2f92cdc37c8daa2d38c53c995ffbd743c8
[ "MIT" ]
null
null
null
from typing import Optional import torch from torch_scatter import gather_csr from torch_sparse.tensor import SparseTensor @torch.jit.script def mul(src: SparseTensor, other: torch.Tensor) -> SparseTensor: rowptr, col, value = src.csr() if other.size(0) == src.size(0) and other.size(1) == 1: # Row-wise... ...
33.683544
76
0.620819
362
2,661
4.455801
0.151934
0.055797
0.034718
0.042157
0.871668
0.871668
0.871668
0.871668
0.871668
0.871668
0
0.013807
0.237881
2,661
78
77
34.115385
0.781558
0.017663
0
0.676923
0
0
0.085857
0
0
0
0
0
0
1
0.061538
false
0.030769
0.061538
0
0.184615
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
0
0
0
0
0
0
6
420cb449bd1945091aafa4dd1666619aefdd1a45
74,937
py
Python
test/test_json_client.py
xmedius/sendsecure-python
c1fd75acf7eb1772025e92b1cc7777b205c5d734
[ "MIT" ]
null
null
null
test/test_json_client.py
xmedius/sendsecure-python
c1fd75acf7eb1772025e92b1cc7777b205c5d734
[ "MIT" ]
null
null
null
test/test_json_client.py
xmedius/sendsecure-python
c1fd75acf7eb1772025e92b1cc7777b205c5d734
[ "MIT" ]
null
null
null
import path from sendsecure import * import unittest try: from unittest.mock import Mock except ImportError: from mock import Mock class TestJsonClient(unittest.TestCase): client = JsonClient({ 'api_token': 'USER|489b3b1f-b411-428e-be5b-2abbace87689', 'user_id': '123456', ...
69.066359
198
0.519677
6,427
74,937
5.825113
0.054769
0.054757
0.043592
0.051605
0.904536
0.876623
0.854747
0.839147
0.832229
0.82443
0
0.068192
0.376329
74,937
1,084
199
69.130074
0.732861
0
0
0.643211
0
0.030723
0.257443
0.042476
0
0
0
0
0.251734
1
0.068385
false
0
0.005946
0
0.077304
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
0
0
0
0
0
0
6
42348791884b666ce51028cd26339a8d351a2b37
39
py
Python
synbioweaver/__init__.py
PhilippBoeing/synbioweaver
23efdf79a325885a43e82ba13e6ccefb8eb3d733
[ "MIT" ]
null
null
null
synbioweaver/__init__.py
PhilippBoeing/synbioweaver
23efdf79a325885a43e82ba13e6ccefb8eb3d733
[ "MIT" ]
null
null
null
synbioweaver/__init__.py
PhilippBoeing/synbioweaver
23efdf79a325885a43e82ba13e6ccefb8eb3d733
[ "MIT" ]
null
null
null
from core import * from parts import *
13
19
0.74359
6
39
4.833333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.205128
39
2
20
19.5
0.935484
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
424d9c709d82f5b707a843f2534869f5ce63e734
20,638
py
Python
owner/employeeapi.py
himasnhu1/example
27db7941c5f7bd16ffb407654818012e43d82f7e
[ "MIT" ]
null
null
null
owner/employeeapi.py
himasnhu1/example
27db7941c5f7bd16ffb407654818012e43d82f7e
[ "MIT" ]
null
null
null
owner/employeeapi.py
himasnhu1/example
27db7941c5f7bd16ffb407654818012e43d82f7e
[ "MIT" ]
null
null
null
from django.shortcuts import render, get_object_or_404 from . import models, serializers from rest_framework import viewsets, status, permissions from rest_framework.decorators import action import datetime from core import models as coremodels from library import models as librarymodels from student import models as s...
40.867327
205
0.638482
2,370
20,638
5.437975
0.090295
0.042675
0.030261
0.03414
0.807883
0.767768
0.739991
0.727654
0.718653
0.696695
0
0.007813
0.255742
20,638
505
206
40.867327
0.83125
0.03416
0
0.689373
0
0.002725
0.073903
0
0
0
0
0
0
1
0.035422
false
0
0.06267
0
0.291553
0.002725
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
0
0
0
0
0
0
6
4257c29a71f311001aabe6867a1174fa11110e9b
3,416
py
Python
advanced_classifier/advanced_classifiers.py
jvanecek/tf-practices
14c14d2b9b775367caa8b6d8237dc8ca24734a15
[ "MIT" ]
null
null
null
advanced_classifier/advanced_classifiers.py
jvanecek/tf-practices
14c14d2b9b775367caa8b6d8237dc8ca24734a15
[ "MIT" ]
null
null
null
advanced_classifier/advanced_classifiers.py
jvanecek/tf-practices
14c14d2b9b775367caa8b6d8237dc8ca24734a15
[ "MIT" ]
null
null
null
import tensorflow as tf from tensorflow import keras class ClassifierBehavior: def train( self, normalized_training_data, training_labels, validation_data, input_size ): self._buildSequentialModel(input_size) return self._model.fit( normalized_training_data, training_labe...
42.7
94
0.619145
343
3,416
6
0.201166
0.090865
0.116618
0.087464
0.818756
0.783771
0.783771
0.783771
0.763362
0.763362
0
0.0184
0.26815
3,416
80
95
42.7
0.8048
0.017857
0
0.651515
0
0
0.07456
0
0
0
0
0
0
1
0.090909
false
0
0.030303
0
0.227273
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
0
0
0
0
0
0
6
428955f099bf0ebb13fe716d76548d9c251b4dab
86
py
Python
src/analysis/analyser/__init__.py
rimij405/dsci-623_midterm
6134d2472630c32379e15a458f0482dcdacd0472
[ "MIT" ]
null
null
null
src/analysis/analyser/__init__.py
rimij405/dsci-623_midterm
6134d2472630c32379e15a458f0482dcdacd0472
[ "MIT" ]
null
null
null
src/analysis/analyser/__init__.py
rimij405/dsci-623_midterm
6134d2472630c32379e15a458f0482dcdacd0472
[ "MIT" ]
null
null
null
# analyser/__init__.py # print(f"Imported {__name__} analysis/analyser/__init__.py")
21.5
61
0.767442
11
86
4.909091
0.727273
0.444444
0.518519
0
0
0
0
0
0
0
0
0
0.081395
86
3
62
28.666667
0.683544
0.930233
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
0
0
0
0
0
6
c44ed80e32b42da71e2a22bba3cbb697566b7473
115
py
Python
gerritlib/tests/base.py
GabrielGanne/gerritlib
7adadc3e51659259552b8146a573b88ab42c9e1b
[ "Apache-2.0" ]
null
null
null
gerritlib/tests/base.py
GabrielGanne/gerritlib
7adadc3e51659259552b8146a573b88ab42c9e1b
[ "Apache-2.0" ]
null
null
null
gerritlib/tests/base.py
GabrielGanne/gerritlib
7adadc3e51659259552b8146a573b88ab42c9e1b
[ "Apache-2.0" ]
null
null
null
import testtools class TestCase(testtools.TestCase): "Placeholder wrapper for the testtools.TestCase class."
19.166667
59
0.791304
13
115
7
0.615385
0.373626
0
0
0
0
0
0
0
0
0
0
0.13913
115
5
60
23
0.919192
0.46087
0
0
0
0
0.46087
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
670d3ab304f7bdc7aee50a49de13c06b1b18a9a2
5,159
py
Python
最好大学网/daxue.py
13060923171/xianmu
3deb9cdcf4ed1d821043ba1d3947ff35697e4aae
[ "MIT" ]
29
2020-08-02T12:06:10.000Z
2022-03-07T17:51:54.000Z
最好大学网/daxue.py
13060923171/xianmu
3deb9cdcf4ed1d821043ba1d3947ff35697e4aae
[ "MIT" ]
3
2020-08-16T15:56:47.000Z
2021-11-20T21:49:59.000Z
最好大学网/daxue.py
13060923171/xianmu
3deb9cdcf4ed1d821043ba1d3947ff35697e4aae
[ "MIT" ]
15
2020-08-16T08:28:08.000Z
2021-09-29T07:17:38.000Z
import requests import re from bs4 import BeautifulSoup import time headers = { "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", "Cookie": "Hm_lvt_2ce94714199fe618dcebb5872c6def14=1594741637; Hm_lpvt_2ce94714199fe618dcebb58...
42.636364
141
0.565032
693
5,159
4.145743
0.199134
0.029238
0.026105
0.031326
0.752872
0.74591
0.74591
0.74591
0.74591
0.74591
0
0.03669
0.23396
5,159
121
142
42.636364
0.690283
0.00911
0
0.754545
0
0.018182
0.235663
0.090037
0
0
0
0
0
1
0.027273
false
0
0.036364
0
0.063636
0.118182
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
0
0
0
0
0
0
6
673291e3c3865a89648c8cb1b9dab5d2cb4c5574
153
py
Python
netdev/vendors/cisco/cisco_tcl.py
maliciousgroup/netdev
e2585ac24891cba172fc2056e9868e1d7c41ddc2
[ "Apache-2.0" ]
null
null
null
netdev/vendors/cisco/cisco_tcl.py
maliciousgroup/netdev
e2585ac24891cba172fc2056e9868e1d7c41ddc2
[ "Apache-2.0" ]
null
null
null
netdev/vendors/cisco/cisco_tcl.py
maliciousgroup/netdev
e2585ac24891cba172fc2056e9868e1d7c41ddc2
[ "Apache-2.0" ]
null
null
null
from netdev.vendors.ios_like import IOSLikeDevice class CiscoTCL(IOSLikeDevice): """Class for working with Cisco IOS with TCL support""" pass
19.125
59
0.751634
20
153
5.7
0.8
0.315789
0
0
0
0
0
0
0
0
0
0
0.176471
153
7
60
21.857143
0.904762
0.320261
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
6
6745b2c37d9ea4bd338c0edf66ffa649f3d89919
66
py
Python
models/__init__.py
jc-audet/GOKU
5627052a96bc95d9e893fe589bb51af447ff4f01
[ "MIT" ]
11
2020-04-27T12:55:40.000Z
2022-03-15T08:51:45.000Z
models/__init__.py
jc-audet/GOKU
5627052a96bc95d9e893fe589bb51af447ff4f01
[ "MIT" ]
1
2020-12-13T07:34:47.000Z
2020-12-13T12:01:49.000Z
models/__init__.py
jc-audet/GOKU
5627052a96bc95d9e893fe589bb51af447ff4f01
[ "MIT" ]
2
2020-06-29T19:20:38.000Z
2021-05-03T17:49:53.000Z
from .LSTM import * from .GOKU import * from .Latent_ODE import *
16.5
25
0.727273
10
66
4.7
0.6
0.425532
0
0
0
0
0
0
0
0
0
0
0.181818
66
3
26
22
0.87037
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
67493cf897e05da517f3bb78515ec0a485ed759a
38
py
Python
envs/__init__.py
leilayasmeen/Bandits
701c0385e6536380240e7de2d509294e6d3e4fba
[ "MIT" ]
null
null
null
envs/__init__.py
leilayasmeen/Bandits
701c0385e6536380240e7de2d509294e6d3e4fba
[ "MIT" ]
null
null
null
envs/__init__.py
leilayasmeen/Bandits
701c0385e6536380240e7de2d509294e6d3e4fba
[ "MIT" ]
null
null
null
from .contextual import ContextualEnv
19
37
0.868421
4
38
8.25
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
38
1
38
38
0.970588
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
6762bc59ef5dfb00952a24c5272a24c94eebd8f6
116
py
Python
enthought/plugins/text_editor/text_editor_plugin.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
3
2016-12-09T06:05:18.000Z
2018-03-01T13:00:29.000Z
enthought/plugins/text_editor/text_editor_plugin.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
1
2020-12-02T00:51:32.000Z
2020-12-02T08:48:55.000Z
enthought/plugins/text_editor/text_editor_plugin.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
null
null
null
# proxy module from __future__ import absolute_import from envisage.plugins.text_editor.text_editor_plugin import *
29
61
0.862069
16
116
5.75
0.6875
0.217391
0
0
0
0
0
0
0
0
0
0
0.094828
116
3
62
38.666667
0.87619
0.103448
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
67a46d65cc0933696a5bb6021af45910154e1e84
91
py
Python
python/py_refresh/py_imports/mymodules.py
star-junk/references
5bf8f4eb710ebf953131722efea55d998ea98ed2
[ "MIT" ]
null
null
null
python/py_refresh/py_imports/mymodules.py
star-junk/references
5bf8f4eb710ebf953131722efea55d998ea98ed2
[ "MIT" ]
null
null
null
python/py_refresh/py_imports/mymodules.py
star-junk/references
5bf8f4eb710ebf953131722efea55d998ea98ed2
[ "MIT" ]
null
null
null
import lib.gui def avg(*num): return sum(num) / len(num) print("myModules", __name__)
15.166667
30
0.67033
14
91
4.071429
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
6
31
15.166667
0.75
0
0
0
0
0
0.097826
0
0
0
0
0
0
1
0.25
true
0
0.25
0.25
0.75
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
6
67c60983d58ff8c75fb3c1726dc49a869ea33f36
162
py
Python
sutils/bin/assistbatch/__main__.py
t-mertz/slurm_utils
6fc9709f62e2bca1387ea9c7a5975f0f0be5d0dd
[ "MIT" ]
null
null
null
sutils/bin/assistbatch/__main__.py
t-mertz/slurm_utils
6fc9709f62e2bca1387ea9c7a5975f0f0be5d0dd
[ "MIT" ]
null
null
null
sutils/bin/assistbatch/__main__.py
t-mertz/slurm_utils
6fc9709f62e2bca1387ea9c7a5975f0f0be5d0dd
[ "MIT" ]
null
null
null
import sys from ...applications import runapp def main(): runapp.run_application("asbatch") if __name__ == "__main__": runapp.run_application("asbatch")
20.25
37
0.728395
19
162
5.684211
0.631579
0.185185
0.240741
0.444444
0.574074
0
0
0
0
0
0
0
0.141975
162
8
38
20.25
0.776978
0
0
0.333333
0
0
0.134969
0
0
0
0
0
0
1
0.166667
true
0
0.333333
0
0.5
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
0
0
0
6
67f803efa6343a9e3ba5ae37ab09584833b056a3
6,623
py
Python
ark/segmentation/signal_extraction_test.py
ngreenwald/segmentation
8bc87c2db96434a24194040f7ea754af2caf5e5f
[ "Apache-2.0" ]
17
2020-10-15T20:50:12.000Z
2022-01-27T19:24:40.000Z
ark/segmentation/signal_extraction_test.py
ngreenwald/segmentation
8bc87c2db96434a24194040f7ea754af2caf5e5f
[ "Apache-2.0" ]
309
2020-08-14T16:21:36.000Z
2022-03-24T22:22:53.000Z
ark/segmentation/signal_extraction_test.py
ngreenwald/segmentation
8bc87c2db96434a24194040f7ea754af2caf5e5f
[ "Apache-2.0" ]
5
2020-02-21T14:00:20.000Z
2020-07-02T07:41:33.000Z
import numpy as np import xarray as xr from ark.segmentation import signal_extraction from ark.utils import synthetic_spatial_datagen from skimage.measure import regionprops def test_positive_pixels_extraction(): # sample params size_img = (1024, 1024) cell_radius = 10 nuc_radius = 3 memb_thickn...
33.619289
84
0.716745
840
6,623
5.235714
0.119048
0.076853
0.057981
0.070941
0.850841
0.815371
0.815371
0.815371
0.806958
0.783765
0
0.032407
0.217273
6,623
196
85
33.790816
0.815972
0.10539
0
0.671329
0
0
0.005756
0
0
0
0
0
0.076923
1
0.020979
false
0
0.034965
0
0.055944
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
0
0
0
0
0
0
6
db33c1869ef570bacd2f29e40ec1f64d62170015
128
py
Python
django_site/views.py
tbaindur/personal-website-django
2bd5185eb7f1434c61e9e13093f16f20b911f2fb
[ "MIT" ]
null
null
null
django_site/views.py
tbaindur/personal-website-django
2bd5185eb7f1434c61e9e13093f16f20b911f2fb
[ "MIT" ]
null
null
null
django_site/views.py
tbaindur/personal-website-django
2bd5185eb7f1434c61e9e13093f16f20b911f2fb
[ "MIT" ]
null
null
null
from django.http import HttpResponse def ping(request): return HttpResponse("<h1>Ping Received for tejasbaindur.com</h1>")
25.6
70
0.765625
17
128
5.764706
0.823529
0
0
0
0
0
0
0
0
0
0
0.017857
0.125
128
5
70
25.6
0.857143
0
0
0
0
0
0.333333
0.162791
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
c01ec5c210f2f02047f7b1e67b6352891e4367ca
145
py
Python
pskgu_bot/db/services/__init__.py
mrgick/pskgu_bot
a6252c33b3ca18e6df6e79ed9e9721a766ed1e1f
[ "MIT" ]
14
2021-02-26T14:33:35.000Z
2021-12-27T09:36:12.000Z
pskgu_bot/db/services/__init__.py
mrgick/pskgu_bot
a6252c33b3ca18e6df6e79ed9e9721a766ed1e1f
[ "MIT" ]
1
2022-02-05T12:37:21.000Z
2022-02-05T12:37:24.000Z
pskgu_bot/db/services/__init__.py
mrgick/pskgu_bot
a6252c33b3ca18e6df6e79ed9e9721a766ed1e1f
[ "MIT" ]
2
2021-03-05T18:07:39.000Z
2021-12-03T00:12:29.000Z
""" Модуль с функциями взаимодействий с бд. """ from .storage import * from .group import * from .main_page import * from .vk_user import *
16.111111
43
0.696552
20
145
4.95
0.65
0.30303
0
0
0
0
0
0
0
0
0
0
0.2
145
8
44
18.125
0.853448
0.268966
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
22438f8b50914488c93be3e4eec65eea444d562c
214
py
Python
nevow/plugins/nevow_package.py
wthie/nevow
e630de8f640f27df85c38bc37ecdaf4e7b931afc
[ "MIT" ]
49
2015-03-18T15:29:16.000Z
2021-11-17T12:30:51.000Z
src/nevow/plugins/nevow_package.py
winjer/squeal
20401986e0d1698776f5b482b28e14c57b11833c
[ "Apache-2.0" ]
62
2015-01-21T08:48:08.000Z
2021-04-02T17:31:29.000Z
src/nevow/plugins/nevow_package.py
winjer/squeal
20401986e0d1698776f5b482b28e14c57b11833c
[ "Apache-2.0" ]
30
2015-02-26T09:35:39.000Z
2021-07-24T12:45:04.000Z
from twisted.python import util from nevow import athena import nevow nevowCSSPkg = athena.AutoCSSPackage(util.sibpath(nevow.__file__, 'css')) nevowPkg = athena.AutoJSPackage(util.sibpath(nevow.__file__, 'js'))
23.777778
72
0.794393
27
214
6
0.555556
0.135802
0.197531
0.246914
0
0
0
0
0
0
0
0
0.098131
214
8
73
26.75
0.839378
0
0
0
0
0
0.023364
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
225daf55404aebb91f2864d5e592eb3e575ec085
25,946
py
Python
networkx/classes/tests/test_views.py
nadesai/networkx
ca2df82141cf6977c9d59af2d0bfbc990e2aabce
[ "BSD-3-Clause" ]
null
null
null
networkx/classes/tests/test_views.py
nadesai/networkx
ca2df82141cf6977c9d59af2d0bfbc990e2aabce
[ "BSD-3-Clause" ]
null
null
null
networkx/classes/tests/test_views.py
nadesai/networkx
ca2df82141cf6977c9d59af2d0bfbc990e2aabce
[ "BSD-3-Clause" ]
null
null
null
from nose.tools import assert_equal, assert_not_equal, \ assert_true, assert_false, assert_raises import networkx as nx # Nodes class test_nodeview(object): def setup(self): self.G = nx.path_graph(9) def test_pickle(self): import pickle nv = self.G.nodes() # NodeView(self.G) ...
31.487864
79
0.512757
3,947
25,946
3.243223
0.042564
0.179595
0.048746
0.046871
0.8397
0.795797
0.770877
0.73213
0.672994
0.634325
0
0.052915
0.320435
25,946
823
80
31.526124
0.673094
0.023241
0
0.701016
0
0.024673
0.049171
0.003357
0
0
0
0
0.37881
1
0.121916
false
0.013062
0.004354
0
0.175617
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
3f49410cdb749cbbf17fc6499a11e3b210738e7a
712
py
Python
Latest/venv/Lib/site-packages/apptools/naming/adapter/api.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
1
2022-01-09T20:04:31.000Z
2022-01-09T20:04:31.000Z
Latest/venv/Lib/site-packages/apptools/naming/adapter/api.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
1
2022-02-15T12:01:57.000Z
2022-03-24T19:48:47.000Z
Latest/venv/Lib/site-packages/apptools/naming/adapter/api.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
null
null
null
from .dict_context_adapter import DictContextAdapter from .dict_context_adapter_factory import DictContextAdapterFactory from .instance_context_adapter import InstanceContextAdapter from .instance_context_adapter_factory import InstanceContextAdapterFactory from .list_context_adapter import ListContextAdapter from .lis...
54.769231
78
0.921348
74
712
8.459459
0.283784
0.246006
0.191693
0.215655
0.15655
0
0
0
0
0
0
0
0.063202
712
12
79
59.333333
0.938531
0
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
58aaf76f2c34417cb8c46e81458dc35aa16e6bb8
5,862
py
Python
test/test_12_filterbreakunlock.py
growell/svnhook
ceb337c472c5ec470286576a9bfca8f5b8ec424e
[ "Apache-2.0" ]
1
2015-11-23T21:05:19.000Z
2015-11-23T21:05:19.000Z
test/test_12_filterbreakunlock.py
growell/svnhook
ceb337c472c5ec470286576a9bfca8f5b8ec424e
[ "Apache-2.0" ]
null
null
null
test/test_12_filterbreakunlock.py
growell/svnhook
ceb337c472c5ec470286576a9bfca8f5b8ec424e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python ###################################################################### # Test Break Unlock Filter ###################################################################### import os, re, sys, unittest # Prefer local modules. mylib = os.path.normpath(os.path.join( os.path.dirname(__file__), '...
32.748603
70
0.545548
582
5,862
5.439863
0.225086
0.028427
0.020531
0.026848
0.776374
0.758054
0.758054
0.758054
0.74921
0.74921
0
0.009573
0.305015
5,862
178
71
32.932584
0.76755
0.176049
0
0.798246
0
0
0.391219
0
0
0
0
0
0.087719
1
0.052632
false
0
0.017544
0
0.078947
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
58e24080355bfa6ad1becc114212a2841b7e4db8
25
py
Python
evoke/Reset/__init__.py
howiemac/evoke5
430d6dfd719f8c88a4c3de2b735f8736187ff19b
[ "BSD-3-Clause" ]
null
null
null
evoke/Reset/__init__.py
howiemac/evoke5
430d6dfd719f8c88a4c3de2b735f8736187ff19b
[ "BSD-3-Clause" ]
null
null
null
evoke/Reset/__init__.py
howiemac/evoke5
430d6dfd719f8c88a4c3de2b735f8736187ff19b
[ "BSD-3-Clause" ]
null
null
null
from .Reset import Reset
12.5
24
0.8
4
25
5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.16
25
1
25
25
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
58f7cb16c03565d18731d61cf7adcf6980996600
501
py
Python
isy_homie/devices/base.py
jspeckman/ISY-Homie-Bridge
2bb952e5bfc07cb85e961654963c2f4e5e962aec
[ "MIT" ]
null
null
null
isy_homie/devices/base.py
jspeckman/ISY-Homie-Bridge
2bb952e5bfc07cb85e961654963c2f4e5e962aec
[ "MIT" ]
null
null
null
isy_homie/devices/base.py
jspeckman/ISY-Homie-Bridge
2bb952e5bfc07cb85e961654963c2f4e5e962aec
[ "MIT" ]
null
null
null
#! /usr/bin/env python import re class Base(object): def __init__(self, isy_device=None): self.isy_device = isy_device self.isy_device.add_property_event_handler(self.property_change) def get_homie_device_id (self): #return re.sub(r'\W+', '', self.isy_device.name.lower()) re...
25.05
72
0.668663
67
501
4.686567
0.507463
0.171975
0.207006
0.165605
0.197452
0
0
0
0
0
0
0
0.195609
501
19
73
26.368421
0.779156
0.243513
0
0
0
0
0.002674
0
0
0
0
0
0
1
0.333333
false
0.111111
0.111111
0.111111
0.666667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
6
45027c7e8edc20ec3477f0eb8919de4bea7912af
22
py
Python
papermill/tests/test_exceptions.py
pricebenjamin/papermill
dde07c23e3c69e7c964e616f83c715badf3048a3
[ "BSD-3-Clause" ]
4,645
2017-07-11T10:40:06.000Z
2022-03-31T09:24:53.000Z
papermill/tests/test_exceptions.py
pricebenjamin/papermill
dde07c23e3c69e7c964e616f83c715badf3048a3
[ "BSD-3-Clause" ]
587
2017-07-12T23:50:40.000Z
2022-03-24T03:41:43.000Z
papermill/tests/test_exceptions.py
pricebenjamin/papermill
dde07c23e3c69e7c964e616f83c715badf3048a3
[ "BSD-3-Clause" ]
373
2017-07-12T21:40:43.000Z
2022-03-27T19:19:11.000Z
import pytest # noqa
11
21
0.727273
3
22
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.227273
22
1
22
22
0.941176
0.181818
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4511e89ee247f4785c3c72b0999eb505b455d96d
37
py
Python
labelbox/data/serialization/coco/__init__.py
Cyniikal/labelbox-python
526fb8235c245a3c6161af57c354a47d68385bab
[ "Apache-2.0" ]
null
null
null
labelbox/data/serialization/coco/__init__.py
Cyniikal/labelbox-python
526fb8235c245a3c6161af57c354a47d68385bab
[ "Apache-2.0" ]
null
null
null
labelbox/data/serialization/coco/__init__.py
Cyniikal/labelbox-python
526fb8235c245a3c6161af57c354a47d68385bab
[ "Apache-2.0" ]
null
null
null
from .converter import COCOConverter
18.5
36
0.864865
4
37
8
1
0
0
0
0
0
0
0
0
0
0
0
0.108108
37
1
37
37
0.969697
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
452d501a08ee071d91bdee51453a043ab505a693
49
py
Python
src/catcher/libs/responder/src/test.py
gavin-anders/callback-catcher
77d18a983fc5a9e53b33189d4202868210b5d7e3
[ "Apache-2.0" ]
2
2019-06-27T21:08:23.000Z
2020-10-16T12:07:19.000Z
src/catcher/libs/responder/src/test.py
gavin-anders/callback-catcher
77d18a983fc5a9e53b33189d4202868210b5d7e3
[ "Apache-2.0" ]
null
null
null
src/catcher/libs/responder/src/test.py
gavin-anders/callback-catcher
77d18a983fc5a9e53b33189d4202868210b5d7e3
[ "Apache-2.0" ]
null
null
null
from .packets import SMB2NegoAns print("start")
12.25
32
0.77551
6
49
6.333333
1
0
0
0
0
0
0
0
0
0
0
0.023256
0.122449
49
3
33
16.333333
0.860465
0
0
0
0
0
0.102041
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
6
18be59590aa8a0095ccb9eabe8eafa090010b846
1,417
py
Python
test/test.py
pmolinag/JamWifi
e76a2e56cfdb9c8398fcedffce79a1ab550fdf92
[ "MIT" ]
null
null
null
test/test.py
pmolinag/JamWifi
e76a2e56cfdb9c8398fcedffce79a1ab550fdf92
[ "MIT" ]
8
2019-04-28T15:44:26.000Z
2019-06-18T13:36:20.000Z
test/test.py
pmolinag/JamWifi
e76a2e56cfdb9c8398fcedffce79a1ab550fdf92
[ "MIT" ]
null
null
null
import unittest, sys, os from scapy.all import * class TestApp(unittest.TestCase): #Test if calcule_time function from Controller class works def test_calcule_packets(self): time = 1 packets = (60*time)/0.0001 self.assertEqual(packets, 600000) #Test if calcule_time function from Controller class works def ...
41.676471
123
0.733239
237
1,417
4.299578
0.244726
0.223749
0.28263
0.306183
0.778214
0.766438
0.754661
0.607458
0.607458
0.534838
0
0.067308
0.119266
1,417
33
124
42.939394
0.749199
0.211715
0
0.090909
0
0.136364
0.292266
0
0
0
0.010791
0
0.227273
1
0.227273
false
0
0.090909
0
0.363636
0
0
0
0
null
1
1
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
6
18c321daa877be1019b0169e6a7942302f7c7b0a
96
py
Python
theo/database.py
TheodoreWon/python-theo-database
4a8ae63a37aae6222d8536e9b2b163fd858ce2da
[ "MIT" ]
1
2018-12-20T07:13:57.000Z
2018-12-20T07:13:57.000Z
theo/database.py
TheodoreWon/python-theo-database
4a8ae63a37aae6222d8536e9b2b163fd858ce2da
[ "MIT" ]
null
null
null
theo/database.py
TheodoreWon/python-theo-database
4a8ae63a37aae6222d8536e9b2b163fd858ce2da
[ "MIT" ]
1
2018-12-22T01:51:32.000Z
2018-12-22T01:51:32.000Z
from theo.src.database.MongoDB import MongoDB from theo.src.comp.MongoDBCtrl import MongoDBCtrl
32
49
0.854167
14
96
5.857143
0.571429
0.195122
0.268293
0
0
0
0
0
0
0
0
0
0.083333
96
2
50
48
0.931818
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
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
6
7a0d1645d0db463330072b5383b2f68383374b87
14,009
py
Python
test_autolens/unit/lens/util/test_lens_util.py
PyJedi/PyAutoLens
bcfb2e7b447aa24508fc648d60b6fd9b4fd852e7
[ "MIT" ]
null
null
null
test_autolens/unit/lens/util/test_lens_util.py
PyJedi/PyAutoLens
bcfb2e7b447aa24508fc648d60b6fd9b4fd852e7
[ "MIT" ]
null
null
null
test_autolens/unit/lens/util/test_lens_util.py
PyJedi/PyAutoLens
bcfb2e7b447aa24508fc648d60b6fd9b4fd852e7
[ "MIT" ]
null
null
null
import numpy as np import pytest import autolens as al from autolens import exc class TestPlaneImageFromGrid: def test__3x3_grid__extracts_max_min_coordinates__creates_grid_including_half_pixel_offset_from_edge( self ): galaxy = al.Galaxy(redshift=0.5, light=al.lp.EllipticalSersic(intensity=1...
34.420147
120
0.575273
1,828
14,009
4.086433
0.071116
0.025167
0.087818
0.137216
0.8917
0.882062
0.854618
0.821151
0.799331
0.77336
0
0.069236
0.30923
14,009
406
121
34.504926
0.702697
0
0
0.557927
0
0
0
0
0
0
0
0
0.125
1
0.04878
false
0
0.012195
0
0.070122
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
0
0
0
0
0
0
6
e13940fb40f3d5d8afaf06fc40ccb3c17aadb134
192
py
Python
tests/_site/loader.py
QueoLda/django-oscar
8dd992d82e31d26c929b3caa0e08b57e9701d097
[ "BSD-3-Clause" ]
4,639
2015-01-01T00:42:33.000Z
2022-03-29T18:32:12.000Z
tests/_site/loader.py
QueoLda/django-oscar
8dd992d82e31d26c929b3caa0e08b57e9701d097
[ "BSD-3-Clause" ]
2,215
2015-01-02T22:32:51.000Z
2022-03-29T12:16:23.000Z
tests/_site/loader.py
QueoLda/django-oscar
8dd992d82e31d26c929b3caa0e08b57e9701d097
[ "BSD-3-Clause" ]
2,187
2015-01-02T06:33:31.000Z
2022-03-31T15:32:36.000Z
class DummyClass: pass def custom_class_loader(module_label, classnames, module_prefix): # For testing purposes just return a dummy class return [DummyClass for c in classnames]
24
65
0.765625
26
192
5.5
0.730769
0
0
0
0
0
0
0
0
0
0
0
0.1875
192
7
66
27.428571
0.916667
0.239583
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.25
0
0.25
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
6
e1a9be1ab889c489beb967ebd10d8f9835909378
348
py
Python
zookeeper_dashboard/common.py
gamechanger/zookeeper_dashboard
3b756f975b8781c56f4ff38aa83e166c3baf31c4
[ "Apache-2.0" ]
4
2016-03-10T08:16:01.000Z
2016-12-31T13:44:38.000Z
zookeeper_dashboard/common.py
gamechanger/zookeeper_dashboard
3b756f975b8781c56f4ff38aa83e166c3baf31c4
[ "Apache-2.0" ]
4
2016-05-03T19:07:16.000Z
2016-12-13T16:45:39.000Z
zookeeper_dashboard/common.py
gamechanger/zookeeper_dashboard
3b756f975b8781c56f4ff38aa83e166c3baf31c4
[ "Apache-2.0" ]
6
2016-05-03T18:53:21.000Z
2021-05-09T01:29:51.000Z
import os from django.conf import settings def get_zookeeper_servers(): return ( os.getenv('ZOOKEEPER_SERVERS') or getattr(settings,'ZOOKEEPER_SERVERS') ) def get_zookeeper_servers_as_list(): return get_zookeeper_servers().split(',') def get_zookeeper_server(id): return get_zookeeper...
21.75
51
0.729885
45
348
5.288889
0.444444
0.403361
0.319328
0.184874
0.210084
0
0
0
0
0
0
0
0.166667
348
15
52
23.2
0.82069
0
0
0
0
0
0.100575
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0.272727
0.727273
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
e1c889b5eb8db4b5011edc3c16bf01cf3ddd7739
5,902
py
Python
training/nnmodels.py
Geophysics-OpenSource/gan_for_gradient_based_inv
aeb48ea3b45579c186267741ccabc31bd7e1dabd
[ "MIT" ]
3
2019-08-05T19:42:34.000Z
2020-06-16T14:33:48.000Z
training/nnmodels.py
elaloy/gan_for_gradient_based_inv
aeb48ea3b45579c186267741ccabc31bd7e1dabd
[ "MIT" ]
null
null
null
training/nnmodels.py
elaloy/gan_for_gradient_based_inv
aeb48ea3b45579c186267741ccabc31bd7e1dabd
[ "MIT" ]
5
2019-11-28T12:33:41.000Z
2020-12-11T00:36:57.000Z
# -*- coding: utf-8 -*- """ Created on Thu Aug 30 11:54:17 2018 @author: elaloy """ import torch.nn as nn class netD(nn.Module): def __init__(self, nc = 1, ndf = 64, dfs = 9, ngpu = 1): super(netD, self).__init__() self.ngpu = ngpu main = nn.Sequential( nn.Conv2d(nc, ndf, df...
34.51462
102
0.467638
707
5,902
3.838755
0.110325
0.079587
0.073692
0.08843
0.966102
0.962049
0.962049
0.962049
0.962049
0.962049
0
0.056645
0.386818
5,902
171
103
34.51462
0.693285
0.481871
0
0.42623
0
0
0
0
0
0
0
0
0
1
0.065574
false
0
0.016393
0
0.147541
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
0
0
0
0
0
0
6
bec968f19f25f36fec709f851302f3eca41d2059
1,224
py
Python
Visualization/main.py
miku/batchdata
25446f7d9c6baad24de7ee8b964c62726bf27ea5
[ "MIT" ]
8
2018-11-17T17:17:29.000Z
2019-09-23T17:31:09.000Z
Visualization/main.py
miku/batchdata
25446f7d9c6baad24de7ee8b964c62726bf27ea5
[ "MIT" ]
null
null
null
Visualization/main.py
miku/batchdata
25446f7d9c6baad24de7ee8b964c62726bf27ea5
[ "MIT" ]
null
null
null
import luigi import random import time class A(luigi.Task): serial = luigi.IntParameter(default=0) def run(self): """ Just `touch` file. """ with self.output().open('w') as output: pass time.sleep(random.randint(5, 15)) def output(self): return luigi.Lo...
21.857143
82
0.580882
159
1,224
4.421384
0.333333
0.056899
0.042674
0.059744
0.708393
0.708393
0.708393
0.651494
0.583215
0.583215
0
0.021348
0.272876
1,224
55
83
22.254545
0.768539
0.124183
0
0.533333
0
0
0.05138
0
0
0
0
0
0
1
0.233333
false
0.1
0.1
0.133333
0.633333
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
6
befa80aaf4cd51b5403587a83330d7dcf69f6b52
4,728
py
Python
tests/test_dataframe_comparer.py
alexott/chispa
3c35c455ab4927074186ad38f8aa986c8beb0343
[ "MIT" ]
null
null
null
tests/test_dataframe_comparer.py
alexott/chispa
3c35c455ab4927074186ad38f8aa986c8beb0343
[ "MIT" ]
null
null
null
tests/test_dataframe_comparer.py
alexott/chispa
3c35c455ab4927074186ad38f8aa986c8beb0343
[ "MIT" ]
1
2020-12-21T00:02:15.000Z
2020-12-21T00:02:15.000Z
import pytest from spark import * from chispa import * from chispa.dataframe_comparer import are_dfs_equal from chispa.schema_comparer import SchemasNotEqualError def describe_assert_column_equality(): def it_throws_with_schema_mismatches(): data1 = [(1, "jose"), (2, "li"), (3, "laura")] df1 = sp...
43.777778
76
0.595389
567
4,728
4.746032
0.118166
0.163508
0.094017
0.114456
0.853958
0.811594
0.795243
0.779264
0.765143
0.745076
0
0.039612
0.215102
4,728
107
77
44.186916
0.68553
0
0
0.626506
0
0
0.137085
0
0
0
0
0
0.156627
1
0.168675
false
0
0.060241
0
0.228916
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
0
0
0
0
0
0
6
833d151f87c1d979bd24b557483f33babb75fb3e
31
py
Python
conf/development/urls.py
cybersturmer/pmdragon-core-api
20715cc7f1aee75ea5e567c458899da325e861be
[ "MIT" ]
2
2021-01-03T21:09:29.000Z
2022-01-30T20:56:59.000Z
conf/development/urls.py
cybersturmer/pmdragon-core-api
20715cc7f1aee75ea5e567c458899da325e861be
[ "MIT" ]
null
null
null
conf/development/urls.py
cybersturmer/pmdragon-core-api
20715cc7f1aee75ea5e567c458899da325e861be
[ "MIT" ]
1
2021-01-09T01:14:35.000Z
2021-01-09T01:14:35.000Z
from conf.common.urls import *
15.5
30
0.774194
5
31
4.8
1
0
0
0
0
0
0
0
0
0
0
0
0.129032
31
1
31
31
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
55caf48166fa4b8e6a5b7cafd157d449c7e2b7c1
74
py
Python
kafka-consumer/consumer/adapter/__init__.py
shiv12095/realtimeviz
ee2bf10b5f9467212f9a9ce8957d80456ebd0259
[ "MIT" ]
1
2021-03-03T13:54:15.000Z
2021-03-03T13:54:15.000Z
backend/server/adapter/__init__.py
shiv12095/realtimeviz
ee2bf10b5f9467212f9a9ce8957d80456ebd0259
[ "MIT" ]
null
null
null
backend/server/adapter/__init__.py
shiv12095/realtimeviz
ee2bf10b5f9467212f9a9ce8957d80456ebd0259
[ "MIT" ]
1
2021-03-03T13:59:48.000Z
2021-03-03T13:59:48.000Z
from .kafka_adapter import KafkaAdapter from .db_adapter import DBAdapter
24.666667
39
0.864865
10
74
6.2
0.7
0.419355
0
0
0
0
0
0
0
0
0
0
0.108108
74
2
40
37
0.939394
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
55ec07a93bcd289ad1480fcbc4b30abf77b27774
170
py
Python
tests/test_pythonpath.py
janezlapajne/python-project-template
bca24a061008e398a1d68b95df8c991d3524ad9d
[ "MIT" ]
null
null
null
tests/test_pythonpath.py
janezlapajne/python-project-template
bca24a061008e398a1d68b95df8c991d3524ad9d
[ "MIT" ]
null
null
null
tests/test_pythonpath.py
janezlapajne/python-project-template
bca24a061008e398a1d68b95df8c991d3524ad9d
[ "MIT" ]
null
null
null
import os def test_PYTHONPATH(): # set XX to path of root directory print(os.environ.get('PYTHONPATH') == "XX") assert(os.environ.get('PYTHONPATH') == "XX")
24.285714
48
0.652941
24
170
4.583333
0.666667
0.163636
0.218182
0.4
0.436364
0
0
0
0
0
0
0
0.182353
170
6
49
28.333333
0.791367
0.188235
0
0
0
0
0.176471
0
0
0
0
0
0.25
1
0.25
true
0
0.25
0
0.5
0.25
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
1
0
0
0
0
0
0
6
55ed00ffe80bcd8e9942e514b0f76d25fc9a733a
305
py
Python
src/report_generators/base_report_generator.py
alphagov-mirror/govuk-accessibility-reports
88204c03e273fff76b67ab0730a44869f02e28c9
[ "MIT" ]
null
null
null
src/report_generators/base_report_generator.py
alphagov-mirror/govuk-accessibility-reports
88204c03e273fff76b67ab0730a44869f02e28c9
[ "MIT" ]
null
null
null
src/report_generators/base_report_generator.py
alphagov-mirror/govuk-accessibility-reports
88204c03e273fff76b67ab0730a44869f02e28c9
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod class BaseReportGenerator(ABC): @property @abstractmethod def filename(self): return '' @property @abstractmethod def headers(self): return [] @abstractmethod def process_page(self, content_item, html): pass
16.052632
47
0.639344
29
305
6.655172
0.62069
0.264249
0.259067
0
0
0
0
0
0
0
0
0
0.281967
305
18
48
16.944444
0.881279
0
0
0.384615
0
0
0
0
0
0
0
0
0
1
0.230769
false
0.076923
0.076923
0.153846
0.538462
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
6
36541cc89d88c895f4eef68aaea1d65d6755681e
7,411
py
Python
test/unit/space/test_segments.py
pescap/bempp-cl
3a68666e8db0e873d418b734289067483f68f12e
[ "MIT" ]
70
2019-09-04T15:15:05.000Z
2022-03-22T16:54:40.000Z
test/unit/space/test_segments.py
pescap/bempp-cl
3a68666e8db0e873d418b734289067483f68f12e
[ "MIT" ]
66
2020-01-16T08:31:00.000Z
2022-03-25T11:18:59.000Z
test/unit/space/test_segments.py
pescap/bempp-cl
3a68666e8db0e873d418b734289067483f68f12e
[ "MIT" ]
22
2019-09-30T08:50:33.000Z
2022-03-20T19:37:22.000Z
"""Unit tests for Space objects.""" # pylint: disable=redefined-outer-name # pylint: disable=C0103 import numpy as _np import pytest @pytest.mark.parametrize( "space_info", [ ("DP", 0), ("DP", 1), ("P", 1), ("DUAL", 0), ("DUAL", 1), ("RWG", 0), ("SNC",...
27.246324
88
0.621644
938
7,411
4.662047
0.120469
0.082323
0.08644
0.067231
0.846787
0.833067
0.8118
0.79442
0.79442
0.777956
0
0.034327
0.253137
7,411
271
89
27.346863
0.755736
0.053029
0
0.65
0
0
0.020198
0
0
0
0
0
0.063636
1
0.027273
false
0
0.05
0
0.077273
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
0
0
0
0
0
0
6
368a8690d3cff2af216f124946421b4155e3ebe4
19,662
py
Python
UnitTests/test_MemberSetLoad_test.py
DavidNaizheZhou/RFEM_Python_Client
a5f7790b67de3423907ce10c0aa513c0a1aca47b
[ "MIT" ]
null
null
null
UnitTests/test_MemberSetLoad_test.py
DavidNaizheZhou/RFEM_Python_Client
a5f7790b67de3423907ce10c0aa513c0a1aca47b
[ "MIT" ]
null
null
null
UnitTests/test_MemberSetLoad_test.py
DavidNaizheZhou/RFEM_Python_Client
a5f7790b67de3423907ce10c0aa513c0a1aca47b
[ "MIT" ]
null
null
null
import sys import os PROJECT_ROOT = os.path.abspath(os.path.join( os.path.dirname(__file__), os.pardir) ) sys.path.append(PROJECT_ROOT) from RFEM.Loads.membersetload import MemberSetLoad from RFEM.LoadCasesAndCombinations.loadCase import LoadCase from RFEM.LoadCasesAndCombinations.st...
69.723404
261
0.777134
2,416
19,662
6.083609
0.096026
0.137162
0.063682
0.080963
0.81739
0.801334
0.794462
0.787658
0.777453
0.669139
0
0.056476
0.125572
19,662
281
262
69.97153
0.798406
0.240718
0
0
0
0
0.011002
0.003143
0
0
0
0
0
1
0.008621
false
0
0.112069
0
0.12069
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
0
0
0
0
0
0
6
36a37ec38c1e9c3517c37bd0564c2d2584389bee
36
py
Python
alexber/rpsgame/__init__.py
alex-ber/RocketPaperScissorsGame
c38c82a17d508c892c686454864ee2356f441d1a
[ "BSD-2-Clause" ]
null
null
null
alexber/rpsgame/__init__.py
alex-ber/RocketPaperScissorsGame
c38c82a17d508c892c686454864ee2356f441d1a
[ "BSD-2-Clause" ]
1
2019-03-20T10:35:36.000Z
2019-03-21T12:46:44.000Z
alexber/rpsgame/__init__.py
alex-ber/RocketPaperScissorsGame
c38c82a17d508c892c686454864ee2356f441d1a
[ "BSD-2-Clause" ]
null
null
null
from alexber.rpsgame.app import conf
36
36
0.861111
6
36
5.166667
1
0
0
0
0
0
0
0
0
0
0
0
0.083333
36
1
36
36
0.939394
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
36ae5657233f8ad6d9714b5960112b7a65cfb653
2,073
py
Python
test_cmd_maya_liquid_add.py
droposhado/err-maya-plugin
eec855ecd5f8f47ccd4bf729bf5420933fa546a1
[ "MIT" ]
null
null
null
test_cmd_maya_liquid_add.py
droposhado/err-maya-plugin
eec855ecd5f8f47ccd4bf729bf5420933fa546a1
[ "MIT" ]
null
null
null
test_cmd_maya_liquid_add.py
droposhado/err-maya-plugin
eec855ecd5f8f47ccd4bf729bf5420933fa546a1
[ "MIT" ]
null
null
null
pytest_plugins = ["errbot.backends.test"] extra_plugin_dir = '.' def test_command_coffee_add_missing_args(testbot): testbot.push_message('!maya liquid add coffee') assert "Please use '/maya liquid add <type> <quantity>'" == testbot.pop_message() def test_command_water_add_missing_args(testbot): testbo...
31.409091
85
0.737578
292
2,073
5.006849
0.171233
0.057456
0.097811
0.085499
0.919973
0.898769
0.898769
0.872777
0.833105
0.826265
0
0.024855
0.165461
2,073
65
86
31.892308
0.820231
0
0
0.533333
0
0
0.26834
0
0
0
0
0
0.377778
1
0.2
false
0
0
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
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
36bd5b867c3945f85a3847c854d104f21db7fdc0
7,614
py
Python
util/additional_ct_process.py
qingshan412/pytorch-CycleGAN-and-pix2pix
cec26e9926ccdfadaf29282ec7193ed32bc48773
[ "BSD-3-Clause" ]
3
2018-11-05T23:12:43.000Z
2020-03-31T07:51:10.000Z
util/additional_ct_process.py
qingshan412/pytorch-CycleGAN-and-pix2pix
cec26e9926ccdfadaf29282ec7193ed32bc48773
[ "BSD-3-Clause" ]
null
null
null
util/additional_ct_process.py
qingshan412/pytorch-CycleGAN-and-pix2pix
cec26e9926ccdfadaf29282ec7193ed32bc48773
[ "BSD-3-Clause" ]
1
2018-11-05T23:12:08.000Z
2018-11-05T23:12:08.000Z
import os import numpy as np import matplotlib.pyplot as plt import matplotlib.patches as patches edge_color = 'r' line_width = 2 def image_119_rec(image_numpy, image_path, orig_mean): # print('A') image_npy = image_numpy/(image_numpy.mean()/orig_mean) print(image_npy.mean()) plt.clf() plt.imshow(...
45.053254
187
0.695823
1,258
7,614
3.917329
0.104134
0.056818
0.036526
0.026786
0.87358
0.867289
0.840503
0.815138
0.78267
0.734172
0
0.088419
0.136985
7,614
169
188
45.053254
0.661543
0.197268
0
0.570175
0
0
0.092224
0.004274
0
0
0
0
0
1
0.026316
false
0
0.035088
0
0.087719
0.157895
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
0
0
0
0
0
0
6
36ddd0877c42e3bb962656d2eda37cfdb2709c48
218
py
Python
address/compat.py
OmenApps/django-uuid-address
70d6b7101f7a99cb72d53424e4ce92e277aa90c3
[ "BSD-3-Clause" ]
null
null
null
address/compat.py
OmenApps/django-uuid-address
70d6b7101f7a99cb72d53424e4ce92e277aa90c3
[ "BSD-3-Clause" ]
null
null
null
address/compat.py
OmenApps/django-uuid-address
70d6b7101f7a99cb72d53424e4ce92e277aa90c3
[ "BSD-3-Clause" ]
null
null
null
from django.db.models.fields.related import ForeignObject def compat_contribute_to_class(self, cls, name, private_only=False): super(ForeignObject, self).contribute_to_class(cls, name, private_only=private_only)
36.333333
88
0.821101
31
218
5.516129
0.645161
0.192982
0.19883
0.210526
0
0
0
0
0
0
0
0
0.087156
218
5
89
43.6
0.859296
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
6
36ec2b955a657d64b68bd310a32a6d7594383e3e
19
py
Python
utils/csrc/__init__.py
voldemortX/DeeplabV3_PyTorch1.3_Codebase
d22d23e74800fafb58eeb61d6649008745c1a287
[ "BSD-3-Clause" ]
1
2020-09-17T06:21:39.000Z
2020-09-17T06:21:39.000Z
utils/csrc/__init__.py
voldemortX/pytorch-segmentation
9c62c0a721d11c8ea6bf312ecf1c7b238a54dcda
[ "BSD-3-Clause" ]
null
null
null
utils/csrc/__init__.py
voldemortX/pytorch-segmentation
9c62c0a721d11c8ea6bf312ecf1c7b238a54dcda
[ "BSD-3-Clause" ]
null
null
null
from . import apis
9.5
18
0.736842
3
19
4.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.210526
19
1
19
19
0.933333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
7fc9ddf274e944f5bed421dabdab41eba93630f9
51,161
py
Python
023-Merge-k-Sorted-Lists/solution01.py
Eroica-cpp/LeetCode
07276bd11558f3d0e32bec768b09e886de145f9e
[ "CC-BY-3.0", "MIT" ]
7
2015-05-05T22:21:30.000Z
2021-03-13T04:04:15.000Z
023-Merge-k-Sorted-Lists/solution01.py
Eroica-cpp/LeetCode
07276bd11558f3d0e32bec768b09e886de145f9e
[ "CC-BY-3.0", "MIT" ]
null
null
null
023-Merge-k-Sorted-Lists/solution01.py
Eroica-cpp/LeetCode
07276bd11558f3d0e32bec768b09e886de145f9e
[ "CC-BY-3.0", "MIT" ]
2
2018-12-26T08:13:25.000Z
2020-07-18T20:18:24.000Z
#!/usr/bin/python # ============================================================================== # Author: Tao Li (taoli@ucsd.edu) # Date: Jun 2, 2015 # Question: 023-Merge-k-Sorted-Lists # Link: https://leetcode.com/problems/merge-k-sorted-lists/ # ==========================================================...
673.171053
49,028
0.391353
10,244
51,161
1.953339
0.017962
0.001399
0.002399
0.001649
0.007696
0.007696
0.003298
0.003298
0
0
0
0.376681
0.011904
51,161
75
49,029
682.146667
0.019149
0.015461
0
0.27907
0
0
0.000417
0
0
0
0
0
0
0
null
null
0
0
null
null
0.093023
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
6
3d1ab2cea239d31af717fe941819098f4111a4f2
48
py
Python
unidef/languages/common/type_inference/__init__.py
qiujiangkun/unidef
6d3ca31a6b1d498f38f483d4174f79f7fe920f65
[ "MIT" ]
4
2021-11-08T10:01:19.000Z
2022-03-17T06:27:14.000Z
unidef/languages/common/type_inference/__init__.py
qiujiangkun/unidef
6d3ca31a6b1d498f38f483d4174f79f7fe920f65
[ "MIT" ]
null
null
null
unidef/languages/common/type_inference/__init__.py
qiujiangkun/unidef
6d3ca31a6b1d498f38f483d4174f79f7fe920f65
[ "MIT" ]
null
null
null
from .node_type_processors import TypeInference
24
47
0.895833
6
48
6.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.083333
48
1
48
48
0.931818
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
3d1ccc4ff65850bcf2cb0ad3789544aaddcc3615
154
py
Python
easy_crypto/lesson2/test_task5.py
PeteCoward/teach-python
2a63ece83151631ab4dcf868c361acdfe4e6c85f
[ "MIT" ]
1
2015-12-19T00:38:46.000Z
2015-12-19T00:38:46.000Z
easy_crypto/lesson2/test_task5.py
PeteCoward/teach-python
2a63ece83151631ab4dcf868c361acdfe4e6c85f
[ "MIT" ]
null
null
null
easy_crypto/lesson2/test_task5.py
PeteCoward/teach-python
2a63ece83151631ab4dcf868c361acdfe4e6c85f
[ "MIT" ]
null
null
null
from .task5 import get_all_shifts def test_get_all_shifts(): assert get_all_shifts(bytearray([0])) == [bytearray([i % 256]) for i in range(1, 256)]
25.666667
90
0.707792
26
154
3.923077
0.653846
0.176471
0.352941
0
0
0
0
0
0
0
0
0.068702
0.149351
154
5
91
30.8
0.709924
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
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
0
0
0
6
3d2b8a14ea13de0c391a261ec667b64741a830c1
27
py
Python
app/celery_test_app/tasks/tasks.py
arjunbiyani/reptile
a87ed7be2345fa02b4de6ad10593dea1924892ec
[ "MIT" ]
null
null
null
app/celery_test_app/tasks/tasks.py
arjunbiyani/reptile
a87ed7be2345fa02b4de6ad10593dea1924892ec
[ "MIT" ]
null
null
null
app/celery_test_app/tasks/tasks.py
arjunbiyani/reptile
a87ed7be2345fa02b4de6ad10593dea1924892ec
[ "MIT" ]
null
null
null
from celery import Celery
9
25
0.814815
4
27
5.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.185185
27
2
26
13.5
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
e9fcf805cb65205246bc3de8371b93f234e6a382
40
py
Python
pyqlc/utils/__init__.py
realForbis/pyqlc
4469b51c79ef875d55f8855a77ee8a2162a53d98
[ "MIT" ]
null
null
null
pyqlc/utils/__init__.py
realForbis/pyqlc
4469b51c79ef875d55f8855a77ee8a2162a53d98
[ "MIT" ]
1
2021-06-01T18:08:08.000Z
2021-06-01T18:08:08.000Z
pyqlc/utils/__init__.py
realForbis/qlc-python-SDK
4469b51c79ef875d55f8855a77ee8a2162a53d98
[ "MIT" ]
null
null
null
from . import crypto, helper, exceptions
40
40
0.8
5
40
6.4
1
0
0
0
0
0
0
0
0
0
0
0
0.125
40
1
40
40
0.914286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
1816eca2e5d071055ddef07c6aa8f55eddbe62d7
32
py
Python
serivces/user_mgt/rest/entity/__init__.py
oneInsect/magic-box
0d2e9fe621558961d3e14b5492c7de2cd21d053e
[ "MIT" ]
19
2020-08-28T15:55:57.000Z
2020-12-08T11:45:46.000Z
serivces/user_mgt/rest/entity/__init__.py
oneInsect/magic-box
0d2e9fe621558961d3e14b5492c7de2cd21d053e
[ "MIT" ]
4
2021-03-15T15:08:04.000Z
2022-02-09T22:29:45.000Z
serivces/user_mgt/rest/entity/__init__.py
oneInsect/magic-box
0d2e9fe621558961d3e14b5492c7de2cd21d053e
[ "MIT" ]
null
null
null
from .mapper import UserMapper
10.666667
30
0.8125
4
32
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.15625
32
3
30
10.666667
0.962963
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
1822a2d61a084d8709a9d8162c5af6eb117b04ea
27
py
Python
py-polars/legacy/pypolars/frame.py
Spirans/polars
7774f419fdbf79bc4c4ec3bd6f0f72d87b32a70c
[ "MIT" ]
3,395
2021-05-06T13:46:12.000Z
2022-03-31T23:50:15.000Z
py-polars/legacy/pypolars/frame.py
Spirans/polars
7774f419fdbf79bc4c4ec3bd6f0f72d87b32a70c
[ "MIT" ]
1,253
2021-05-06T15:05:23.000Z
2022-03-31T23:31:23.000Z
py-polars/legacy/pypolars/frame.py
Spirans/polars
7774f419fdbf79bc4c4ec3bd6f0f72d87b32a70c
[ "MIT" ]
263
2021-05-08T07:37:45.000Z
2022-03-30T05:19:55.000Z
from polars.frame import *
13.5
26
0.777778
4
27
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
1
27
27
0.913043
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
43fa92f8bdda09db839e3bc1da895403c9a9c03a
207
py
Python
www.py
zhenxiyinger/FlaskOrderingMiniprogram
070385d7a522a2d0c8c8c6449f5c6eb12e49a74c
[ "Apache-2.0" ]
6
2020-04-30T08:05:51.000Z
2021-12-23T02:49:01.000Z
www.py
zhenxiyinger/FlaskOrderingMiniprogram
070385d7a522a2d0c8c8c6449f5c6eb12e49a74c
[ "Apache-2.0" ]
null
null
null
www.py
zhenxiyinger/FlaskOrderingMiniprogram
070385d7a522a2d0c8c8c6449f5c6eb12e49a74c
[ "Apache-2.0" ]
2
2020-06-15T03:30:45.000Z
2020-08-02T11:21:03.000Z
# -*- coding: utf-8 -*- from application import app from web.controllers.index import route_index app.register_blueprint(route_index, url_prefix="/") def is_import(): return "Blue Print Start Inject"
20.7
51
0.743961
29
207
5.137931
0.758621
0.134228
0
0
0
0
0
0
0
0
0
0.005618
0.140097
207
9
52
23
0.831461
0.101449
0
0
0
0
0.130435
0
0
0
0
0
0
1
0.2
true
0
0.6
0.2
1
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
1
1
0
0
6
a120a57b8d6339e50f95a46d30baf5236c395058
4,719
py
Python
authors/tests/data/test_password_reset.py
andela/ah-the-jedi-backend
ba429dfcec577bd6d52052673c1c413835f65988
[ "BSD-3-Clause" ]
1
2019-12-25T18:59:34.000Z
2019-12-25T18:59:34.000Z
authors/tests/data/test_password_reset.py
katherine95/ah-the-jedi-backend
ba429dfcec577bd6d52052673c1c413835f65988
[ "BSD-3-Clause" ]
26
2019-04-23T11:20:35.000Z
2022-03-11T23:45:54.000Z
authors/tests/data/test_password_reset.py
katherine95/ah-the-jedi-backend
ba429dfcec577bd6d52052673c1c413835f65988
[ "BSD-3-Clause" ]
8
2019-05-21T06:54:34.000Z
2019-11-18T19:45:22.000Z
from rest_framework import status from .base_test import BaseTest class UserLoginTest(BaseTest): """ Test suite for the user login """ def setUp(self): """ Define the test client and required test variables. """ self.email = { "email": 'testuser@email.com', } ...
26.8125
75
0.549481
505
4,719
4.950495
0.170297
0.0672
0.052
0.084
0.7184
0.7104
0.7104
0.7104
0.7104
0.7104
0
0.007141
0.347107
4,719
175
76
26.965714
0.804284
0.119305
0
0.587156
0
0
0.128878
0.083733
0
0
0
0
0.06422
1
0.073395
false
0.174312
0.018349
0
0.100917
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
6
a1348bdd4386d191546057db2c5a80bb7cfe5544
163
py
Python
rest_api/bookshop/admin.py
JimBob3000/django_rest_framework
0ea2ef6348286ddc753c29eaa1c119a036fa0b9f
[ "MIT" ]
null
null
null
rest_api/bookshop/admin.py
JimBob3000/django_rest_framework
0ea2ef6348286ddc753c29eaa1c119a036fa0b9f
[ "MIT" ]
null
null
null
rest_api/bookshop/admin.py
JimBob3000/django_rest_framework
0ea2ef6348286ddc753c29eaa1c119a036fa0b9f
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Book, Author, Publisher admin.site.register(Book) admin.site.register(Author) admin.site.register(Publisher)
23.285714
43
0.815951
23
163
5.782609
0.478261
0.203008
0.383459
0
0
0
0
0
0
0
0
0
0.08589
163
6
44
27.166667
0.892617
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
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
0
0
0
6
a137d4f3da1b031badb80764569be2a8a72c45ec
9,984
py
Python
test/test_cmd_delete.py
jwodder/javaproperties-cli
e1bbe04bbb961bf0832a591bdb8edc6f240cc950
[ "MIT" ]
4
2017-04-27T02:11:05.000Z
2021-12-14T14:53:30.000Z
test/test_cmd_delete.py
jwodder/javaproperties-cli
e1bbe04bbb961bf0832a591bdb8edc6f240cc950
[ "MIT" ]
null
null
null
test/test_cmd_delete.py
jwodder/javaproperties-cli
e1bbe04bbb961bf0832a591bdb8edc6f240cc950
[ "MIT" ]
2
2017-06-11T02:13:53.000Z
2019-02-07T22:15:54.000Z
from click.testing import CliRunner import pytest from javaproperties_cli.__main__ import javaproperties INPUT = ( b"foo: bar\n" b"key = value\n" b"zebra apple\n" b"e\\u00f0=escaped\n" b"e\\\\u00f0=not escaped\n" b"latin-1 = \xF0\n" b"bmp = \\u2603\n" b"astral = \\uD83D\\uDC10\n" ) @p...
27.810585
88
0.438802
1,201
9,984
3.591174
0.089092
0.0524
0.04869
0.055646
0.916068
0.894273
0.881753
0.82773
0.82773
0.776026
0
0.057742
0.379006
9,984
358
89
27.888268
0.637903
0.006711
0
0.693694
0
0
0.365617
0
0
0
0
0
0.054054
1
0.027027
false
0
0.009009
0
0.036036
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
0
0
0
0
0
0
6
a1433343913db5320f0911e09b8a5d3fa82a5610
105
py
Python
script/pages/__init__.py
ybkuroki/selenium-e2e-sample
18a7e92d9b338104ac8b418a6987cadfd1c12d39
[ "MIT" ]
1
2021-09-08T20:05:40.000Z
2021-09-08T20:05:40.000Z
script/pages/__init__.py
ybkuroki/selenium-e2e-sample
18a7e92d9b338104ac8b418a6987cadfd1c12d39
[ "MIT" ]
null
null
null
script/pages/__init__.py
ybkuroki/selenium-e2e-sample
18a7e92d9b338104ac8b418a6987cadfd1c12d39
[ "MIT" ]
null
null
null
from .page_object import PageObject from .login_page import LoginPage from .regist_page import RegistPage
35
35
0.866667
15
105
5.866667
0.6
0.227273
0
0
0
0
0
0
0
0
0
0
0.104762
105
3
36
35
0.93617
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6