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
263a3e82d6c845d4e53578bcb1051b7bc5cfc287
41
py
Python
feather_processor/feather_processor/__init__.py
Pennsieve/timeseries-processor
85766afa76182503fd66cec8382c22e757743f01
[ "Apache-2.0" ]
null
null
null
feather_processor/feather_processor/__init__.py
Pennsieve/timeseries-processor
85766afa76182503fd66cec8382c22e757743f01
[ "Apache-2.0" ]
null
null
null
feather_processor/feather_processor/__init__.py
Pennsieve/timeseries-processor
85766afa76182503fd66cec8382c22e757743f01
[ "Apache-2.0" ]
null
null
null
from .processor import FeatherProcessor
13.666667
39
0.853659
4
41
8.75
1
0
0
0
0
0
0
0
0
0
0
0
0.121951
41
2
40
20.5
0.972222
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
266a84143ef2884fa4b1d72abfc153792b26c7e9
40,220
py
Python
zvmsdk/tests/unit/test_volumeop.py
jichenjc/python-zvm-sdk
c081805c6079107b4823af898babdf92cf5577ee
[ "Apache-2.0" ]
null
null
null
zvmsdk/tests/unit/test_volumeop.py
jichenjc/python-zvm-sdk
c081805c6079107b4823af898babdf92cf5577ee
[ "Apache-2.0" ]
null
null
null
zvmsdk/tests/unit/test_volumeop.py
jichenjc/python-zvm-sdk
c081805c6079107b4823af898babdf92cf5577ee
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 IBM Corp. # # 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 t...
45.652667
79
0.52362
3,543
40,220
5.542196
0.066046
0.034223
0.04889
0.061112
0.814524
0.780098
0.763343
0.734926
0.695457
0.684559
0
0.068729
0.3955
40,220
880
80
45.704545
0.738905
0.015962
0
0.756935
0
0
0.107025
0.017138
0
0
0
0
0.147952
1
0.048877
false
0
0.02642
0
0.081902
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
cd7bfa4760298d09a97d61fff053a8c0f418db88
2,287
py
Python
tests/export/html/test_xml_vulnerabilities.py
botzill/pydocx
98c6aa626d875278240eabea8f86a914840499b3
[ "Apache-2.0" ]
127
2015-01-12T22:35:34.000Z
2022-01-20T06:24:18.000Z
tests/export/html/test_xml_vulnerabilities.py
turbo-q/pydocx
98c6aa626d875278240eabea8f86a914840499b3
[ "Apache-2.0" ]
156
2015-01-05T19:55:56.000Z
2020-10-14T07:01:42.000Z
tests/export/html/test_xml_vulnerabilities.py
turbo-q/pydocx
98c6aa626d875278240eabea8f86a914840499b3
[ "Apache-2.0" ]
45
2015-02-22T18:52:08.000Z
2021-06-14T08:05:47.000Z
# coding: utf-8 from __future__ import ( absolute_import, print_function, unicode_literals, ) from nose import SkipTest from pydocx.test import DocumentGeneratorTestCase from pydocx.test.utils import WordprocessingDocumentFactory from pydocx.openxml.packaging import MainDocumentPart class XMLVulnerabil...
27.22619
79
0.581548
217
2,287
5.981567
0.327189
0.041602
0.03698
0.035439
0.707242
0.707242
0.707242
0.707242
0.707242
0.707242
0
0.018041
0.321382
2,287
83
80
27.554217
0.818299
0.005684
0
0.714286
0
0
0.289173
0
0
0
0
0
0.057143
1
0.028571
false
0.028571
0.142857
0
0.185714
0.014286
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
26c08d7120c7a7a578cc1c922940aa09503b948f
1,619
py
Python
03. Advanced (Nested) Conditional Statements/P10 Trade Commission ##.py
KrisBestTech/Python-Basics
10bd961bf16d15ddb94bbea53327b4fc5bfdba4c
[ "MIT" ]
null
null
null
03. Advanced (Nested) Conditional Statements/P10 Trade Commission ##.py
KrisBestTech/Python-Basics
10bd961bf16d15ddb94bbea53327b4fc5bfdba4c
[ "MIT" ]
null
null
null
03. Advanced (Nested) Conditional Statements/P10 Trade Commission ##.py
KrisBestTech/Python-Basics
10bd961bf16d15ddb94bbea53327b4fc5bfdba4c
[ "MIT" ]
null
null
null
name_of_city = str(input()) number_of_sales = float(input()) commission = 0 if name_of_city == 'Sofia' or \ name_of_city == 'Varna' or \ name_of_city == 'Plovdiv': if number_of_sales >= 0: if name_of_city == 'Sofia': if 0 <= number_of_sales <= 500: commission ...
28.403509
52
0.542928
198
1,619
4.106061
0.171717
0.255843
0.415744
0.223862
0.793358
0.749077
0.704797
0.699877
0.699877
0.699877
0
0.114786
0.36504
1,619
56
53
28.910714
0.67607
0
0
0.512821
0
0
0.03706
0
0
0
0
0
0
1
0
false
0
0
0
0
0.076923
0
0
0
null
1
1
1
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
26dd9067a92911fc26106a77722f4e65b44daa0a
89
py
Python
bijou/server/__init__.py
bijou/bijou-server
7d677e5d990f359ab64e25de09f230e3a8170241
[ "MIT" ]
null
null
null
bijou/server/__init__.py
bijou/bijou-server
7d677e5d990f359ab64e25de09f230e3a8170241
[ "MIT" ]
14
2017-10-24T04:22:01.000Z
2018-12-11T22:24:52.000Z
bijou/server/__init__.py
bijou/bijou-api
7d677e5d990f359ab64e25de09f230e3a8170241
[ "MIT" ]
null
null
null
"""bijou-server (bijou)""" from . import errors from . import net from . import plugins
14.833333
26
0.696629
12
89
5.166667
0.583333
0.483871
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
27
17.8
0.837838
0.224719
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
26e4d62adda043bd11cf9b50273e5d845e7af837
67
py
Python
amocrm_asterisk_ng/telephony/impl/instances/asterisk_16/cdr_provider/mysql/__init__.py
iqtek/amocrn_asterisk_ng
429a8d0823b951c855a49c1d44ab0e05263c54dc
[ "MIT" ]
null
null
null
amocrm_asterisk_ng/telephony/impl/instances/asterisk_16/cdr_provider/mysql/__init__.py
iqtek/amocrn_asterisk_ng
429a8d0823b951c855a49c1d44ab0e05263c54dc
[ "MIT" ]
null
null
null
amocrm_asterisk_ng/telephony/impl/instances/asterisk_16/cdr_provider/mysql/__init__.py
iqtek/amocrn_asterisk_ng
429a8d0823b951c855a49c1d44ab0e05263c54dc
[ "MIT" ]
null
null
null
from .MySqlConnectionFactoryImpl import MySqlConnectionFactoryImpl
33.5
66
0.925373
4
67
15.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.059701
67
1
67
67
0.984127
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
f863a8c77374258406a2e946532261523d6f6320
46
py
Python
src/prosodia/base/bnfrange/example/__init__.py
macbeth322/bnf-parser
5bb71c8bec8b4b4a330a02779add037c71dc7a81
[ "MIT" ]
1
2018-05-14T22:04:07.000Z
2018-05-14T22:04:07.000Z
src/prosodia/base/bnfrange/example/__init__.py
macbeth322/bnf-parser
5bb71c8bec8b4b4a330a02779add037c71dc7a81
[ "MIT" ]
1
2019-06-18T00:29:03.000Z
2019-06-18T00:29:03.000Z
src/prosodia/base/bnfrange/example/__init__.py
macbeth322/bnf-parser
5bb71c8bec8b4b4a330a02779add037c71dc7a81
[ "MIT" ]
null
null
null
from ._grammar import create_example_bnfrange
23
45
0.891304
6
46
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.086957
46
1
46
46
0.904762
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
f877baa0a0810d059e0404d83be87ed859396368
13,866
py
Python
Wigle/python-client/swagger_client/api/network_observation_file_upload_and_status__api.py
BillReyor/SSIDprobeCollector
437989fd1e9d8d200ca28f88a692ecc17530db73
[ "MIT" ]
1
2022-01-30T16:34:05.000Z
2022-01-30T16:34:05.000Z
Wigle/python-client/swagger_client/api/network_observation_file_upload_and_status__api.py
BillReyor/SSIDprobeCollector
437989fd1e9d8d200ca28f88a692ecc17530db73
[ "MIT" ]
null
null
null
Wigle/python-client/swagger_client/api/network_observation_file_upload_and_status__api.py
BillReyor/SSIDprobeCollector
437989fd1e9d8d200ca28f88a692ecc17530db73
[ "MIT" ]
null
null
null
# coding: utf-8 """ WiGLE API Search, upload, and integrate statistics from WiGLE. Use API Name+Token from https://wigle.net/account # noqa: E501 OpenAPI spec version: 3.1 Contact: WiGLE-admin@wigle.net Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import...
42.27439
525
0.627434
1,680
13,866
4.972619
0.154167
0.045966
0.02011
0.025856
0.872756
0.852406
0.827508
0.809792
0.801293
0.783936
0
0.018314
0.287249
13,866
327
526
42.40367
0.826976
0.411438
0
0.666667
0
0
0.16486
0.044159
0
0
0
0
0
1
0.041667
false
0
0.02381
0
0.125
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
f88c9aef90cc9491bcf33a009907a4e0a1e63f10
112
py
Python
NumericalMethods/integration/__init__.py
banin-artem/NumericalMethods
2457b11e08be55cd0baae053e270db9190cff9d5
[ "MIT" ]
4
2020-09-11T19:08:41.000Z
2021-05-06T06:43:40.000Z
NumericalMethods/integration/__init__.py
banin-artem/NumericalMethods
2457b11e08be55cd0baae053e270db9190cff9d5
[ "MIT" ]
1
2020-11-27T08:47:35.000Z
2020-11-27T08:47:35.000Z
NumericalMethods/integration/__init__.py
banin-artem/NumericalMethods
2457b11e08be55cd0baae053e270db9190cff9d5
[ "MIT" ]
1
2021-01-21T16:51:50.000Z
2021-01-21T16:51:50.000Z
from ._simpson import simpson from ._runge_refinement import runge_refinement from ._trapezoid import trapezoid
28
47
0.866071
14
112
6.571429
0.428571
0.326087
0
0
0
0
0
0
0
0
0
0
0.107143
112
3
48
37.333333
0.92
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
3e32a6921881f47f7cf0194e9e8dd22f7d752832
249
py
Python
baselines/pecnet/__init__.py
InhwanBae/NPSN
7959e9e1715b97d7dbee5471dc133e185132615d
[ "MIT" ]
null
null
null
baselines/pecnet/__init__.py
InhwanBae/NPSN
7959e9e1715b97d7dbee5471dc133e185132615d
[ "MIT" ]
null
null
null
baselines/pecnet/__init__.py
InhwanBae/NPSN
7959e9e1715b97d7dbee5471dc133e185132615d
[ "MIT" ]
null
null
null
from .model import PECNet as PECNet from .utils import TrajectoryDataset from .bridge import get_dataloader, get_latent_dim, get_model from .bridge import model_forward_pre_hook, model_forward, model_forward_post_hook from .bridge import model_loss
41.5
82
0.859438
38
249
5.315789
0.447368
0.148515
0.237624
0.207921
0
0
0
0
0
0
0
0
0.104418
249
5
83
49.8
0.90583
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
3e5823cb1ef13cc26e37ee2ebb0e7b13e47090a7
523
py
Python
samples/client/petstore/python/swagger_client/api/__init__.py
Cadcorp/swagger-codegen
23b64dd5e5266a7d0d7fb7a5c800d618c12696de
[ "Apache-2.0" ]
1
2020-09-06T18:36:28.000Z
2020-09-06T18:36:28.000Z
samples/client/petstore/python/swagger_client/api/__init__.py
Cadcorp/swagger-codegen
23b64dd5e5266a7d0d7fb7a5c800d618c12696de
[ "Apache-2.0" ]
null
null
null
samples/client/petstore/python/swagger_client/api/__init__.py
Cadcorp/swagger-codegen
23b64dd5e5266a7d0d7fb7a5c800d618c12696de
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import # flake8: noqa # import apis into api package from swagger_client.api.animal_api import AnimalApi from swagger_client.api.another_fake_api import AnotherFakeApi from swagger_client.api.dog_api import DogApi from swagger_client.api.fake_api import FakeApi from swagger_client.api....
37.357143
82
0.873805
80
523
5.4
0.375
0.203704
0.314815
0.37037
0.111111
0
0
0
0
0
0
0.014706
0.089866
523
13
83
40.230769
0.892857
0.078394
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
3e60c400087395779db60a0ca496dfa5b529aa2a
140
py
Python
dabuildsys/__init__.py
andersk/debathena-build-system
5845751f8d67f4ed62ff67b2ea584f85f25cb280
[ "MIT" ]
null
null
null
dabuildsys/__init__.py
andersk/debathena-build-system
5845751f8d67f4ed62ff67b2ea584f85f25cb280
[ "MIT" ]
null
null
null
dabuildsys/__init__.py
andersk/debathena-build-system
5845751f8d67f4ed62ff67b2ea584f85f25cb280
[ "MIT" ]
null
null
null
from apt import * from checkout import * from common import * from config import * from git import * from srcname import * import reprepro
15.555556
22
0.764286
20
140
5.35
0.45
0.46729
0
0
0
0
0
0
0
0
0
0
0.192857
140
8
23
17.5
0.946903
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
e4445d8092833ad0fcb3ca8fa50f1575c6bab517
5,617
py
Python
tests/test_client.py
kunmosky1/pybotters
659ec11a35b1fe8d9ed07d0cb2310a99c57e8642
[ "MIT" ]
1
2022-03-24T13:27:33.000Z
2022-03-24T13:27:33.000Z
tests/test_client.py
yoshiY-private/pybotters
571fa207470d9aebed4b2966815489bd1e5c95b6
[ "MIT" ]
null
null
null
tests/test_client.py
yoshiY-private/pybotters
571fa207470d9aebed4b2966815489bd1e5c95b6
[ "MIT" ]
1
2022-03-23T16:01:06.000Z
2022-03-23T16:01:06.000Z
import json from unittest.mock import mock_open import aiohttp import pybotters import pytest import pytest_mock from asyncmock import AsyncMock async def test_client(): apis = { 'name1': ['key1', 'secret1'], 'name2': ['key2', 'secret2'], 'name3': ['key3', 'secret3'], } base_url =...
36.474026
88
0.669753
668
5,617
5.44012
0.134731
0.057788
0.036324
0.054485
0.840121
0.814254
0.77628
0.766648
0.7306
0.7306
0
0.009202
0.187467
5,617
153
89
36.712418
0.787029
0.002136
0
0.438462
0
0
0.168481
0.06675
0
0
0
0
0.230769
1
0
false
0.007692
0.053846
0
0.053846
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
e4b0ebda2fdee7d750722892d8a59fbfaa5fb217
4,629
py
Python
network/refinement_network.py
sveatlo/inpainting
6870ee56beea7401aa97194f76487c391af9dd5d
[ "Unlicense" ]
1
2021-08-08T03:17:17.000Z
2021-08-08T03:17:17.000Z
network/refinement_network.py
sveatlo/inpainting
6870ee56beea7401aa97194f76487c391af9dd5d
[ "Unlicense" ]
6
2021-08-08T13:12:55.000Z
2022-03-13T15:26:02.000Z
network/refinement_network.py
sveatlo/unmasked
6870ee56beea7401aa97194f76487c391af9dd5d
[ "Unlicense" ]
null
null
null
import torch import torch.nn as nn from network.contextual_attention import ContextualAttention from network.gated_conv import GatedConv2d, GatedDeConv2d class RefinementNetwork(nn.Module): def __init__(self, in_channels: int = 4, out_channels: int = 3, latent_channels: int = 48, padding_type: str = 'zero', activ...
69.089552
170
0.700799
633
4,629
4.905213
0.118483
0.180676
0.144928
0.177134
0.754589
0.736232
0.736232
0.736232
0.736232
0.701127
0
0.048942
0.183409
4,629
66
171
70.136364
0.772487
0.006913
0
0.185185
0
0
0.004571
0
0
0
0
0
0
1
0.037037
false
0
0.074074
0
0.148148
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
e4f5fbedba3a527d6fab1730311726d5c28e1001
71
py
Python
SuperSaaS/Models/Schedule.py
fluxility/supersaas-python-api-client
96cfc4e6151f8ee73cb6a486788a89dbd22e93d2
[ "MIT" ]
2
2020-04-07T04:00:49.000Z
2021-08-15T19:21:17.000Z
SuperSaaS/Models/Schedule.py
fluxility/supersaas-python-api-client
96cfc4e6151f8ee73cb6a486788a89dbd22e93d2
[ "MIT" ]
9
2018-10-15T09:46:14.000Z
2020-04-11T06:37:38.000Z
SuperSaaS/Models/Schedule.py
fluxility/supersaas-python-api-client
96cfc4e6151f8ee73cb6a486788a89dbd22e93d2
[ "MIT" ]
6
2018-05-17T08:31:48.000Z
2021-07-27T03:19:03.000Z
from .BaseModel import BaseModel class Schedule(BaseModel): pass
11.833333
32
0.760563
8
71
6.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.183099
71
5
33
14.2
0.931034
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
9009c5e24044e32211877563f772802977da7a6b
89
py
Python
tests/tensortrade/actions/test_continuous_actions.py
radusl/tensortrade
b7cce87572fb47f4fcf9c19a9fbf9279db7cc8c9
[ "Apache-2.0" ]
null
null
null
tests/tensortrade/actions/test_continuous_actions.py
radusl/tensortrade
b7cce87572fb47f4fcf9c19a9fbf9279db7cc8c9
[ "Apache-2.0" ]
null
null
null
tests/tensortrade/actions/test_continuous_actions.py
radusl/tensortrade
b7cce87572fb47f4fcf9c19a9fbf9279db7cc8c9
[ "Apache-2.0" ]
null
null
null
from tensortrade import TradingContext from tensortrade.actions import ContinuousActions
29.666667
49
0.898876
9
89
8.888889
0.666667
0.375
0
0
0
0
0
0
0
0
0
0
0.089888
89
2
50
44.5
0.987654
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
5f7ed8c161776d346cf02940f491e1e2f31fc7d5
35
py
Python
kyototycoon/__init__.py
rulerhuang/python-kyototycoon
1ec42ef17048c649aaf9ec51a2da44ac46d011fe
[ "BSD-3-Clause" ]
null
null
null
kyototycoon/__init__.py
rulerhuang/python-kyototycoon
1ec42ef17048c649aaf9ec51a2da44ac46d011fe
[ "BSD-3-Clause" ]
null
null
null
kyototycoon/__init__.py
rulerhuang/python-kyototycoon
1ec42ef17048c649aaf9ec51a2da44ac46d011fe
[ "BSD-3-Clause" ]
null
null
null
from kyototycoon import * # noqa
17.5
34
0.714286
4
35
6.25
1
0
0
0
0
0
0
0
0
0
0
0
0.228571
35
1
35
35
0.925926
0.114286
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
5fd381370652258549c322559cc1d642d12dc4c8
202
py
Python
tests/test_main.py
k2on/interlock_hub
34740cb598cea75eaa716552414a1b1b1dcbc520
[ "MIT" ]
null
null
null
tests/test_main.py
k2on/interlock_hub
34740cb598cea75eaa716552414a1b1b1dcbc520
[ "MIT" ]
null
null
null
tests/test_main.py
k2on/interlock_hub
34740cb598cea75eaa716552414a1b1b1dcbc520
[ "MIT" ]
null
null
null
from . import LocalServerMock import pytest def test_main(): local_server = LocalServerMock() assert local_server.status_code == 1 assert local_server.status_code_name == "INTERNAL_SETUP"
22.444444
60
0.762376
25
202
5.84
0.64
0.226027
0.232877
0.315068
0.369863
0
0
0
0
0
0
0.005917
0.163366
202
8
61
25.25
0.857988
0
0
0
0
0
0.069307
0
0
0
0
0
0.333333
1
0.166667
false
0
0.333333
0
0.5
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
39a0959ca4cd67cea81979888cb29ec8b6302181
133
py
Python
techk/apps/base/admin.py
kloness/fullstack-challenge
eccd19facce1450836191df762256075ec369a26
[ "MIT" ]
null
null
null
techk/apps/base/admin.py
kloness/fullstack-challenge
eccd19facce1450836191df762256075ec369a26
[ "MIT" ]
null
null
null
techk/apps/base/admin.py
kloness/fullstack-challenge
eccd19facce1450836191df762256075ec369a26
[ "MIT" ]
null
null
null
from django.contrib import admin from apps.base import models admin.site.register(models.Category) admin.site.register(models.Book)
22.166667
36
0.827068
20
133
5.5
0.6
0.163636
0.309091
0.418182
0
0
0
0
0
0
0
0
0.082707
133
5
37
26.6
0.901639
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
1
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
39d1675a26abbb34819db9a72db3b51a66f77d7e
91
py
Python
settings.py
AILab-FOI/MMO-IF
74a633bb7687ffdca8b3043046b0c572d5cc2969
[ "MIT" ]
null
null
null
settings.py
AILab-FOI/MMO-IF
74a633bb7687ffdca8b3043046b0c572d5cc2969
[ "MIT" ]
null
null
null
settings.py
AILab-FOI/MMO-IF
74a633bb7687ffdca8b3043046b0c572d5cc2969
[ "MIT" ]
null
null
null
XMPP_SERVER = 'rec.foi.hr' SERVER_JID = 'tpeharda_server@rec.foi.hr' SERVER_PASS = 'pass'
18.2
41
0.736264
15
91
4.2
0.533333
0.285714
0.380952
0.444444
0.634921
0
0
0
0
0
0
0
0.10989
91
4
42
22.75
0.777778
0
0
0
0
0
0.43956
0.285714
0
0
0
0
0
1
0
false
0.333333
0
0
0
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
6
39f5515f691a0888a417a9350b2c995078f3f2f0
96
py
Python
tests/unit/test_line.py
vboulanger/draw
63a40999c84218d5237195adf02eb817dad54601
[ "MIT" ]
15
2020-01-15T17:28:29.000Z
2021-02-24T20:32:05.000Z
tests/unit/test_line.py
vboulanger/draw
63a40999c84218d5237195adf02eb817dad54601
[ "MIT" ]
null
null
null
tests/unit/test_line.py
vboulanger/draw
63a40999c84218d5237195adf02eb817dad54601
[ "MIT" ]
null
null
null
import depict import pytest def test_hello_world(): depict.line([1, 2, 4], show_plot=False)
19.2
43
0.729167
16
96
4.1875
0.875
0
0
0
0
0
0
0
0
0
0
0.036585
0.145833
96
5
43
19.2
0.780488
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0.5
0
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
1
0
1
0
1
0
0
6
f2f85439eb14a8efb1ae0d8b40643791c88cc16c
192
py
Python
pynmmso/listeners/__init__.py
wood-chris/pynmmso
e13f8139160421a9d3f7e650ad6f988c9244ca69
[ "MIT" ]
5
2019-06-01T06:21:25.000Z
2021-11-17T18:43:43.000Z
pynmmso/listeners/__init__.py
wood-chris/pynmmso
e13f8139160421a9d3f7e650ad6f988c9244ca69
[ "MIT" ]
null
null
null
pynmmso/listeners/__init__.py
wood-chris/pynmmso
e13f8139160421a9d3f7e650ad6f988c9244ca69
[ "MIT" ]
3
2019-10-01T11:24:06.000Z
2021-09-23T17:20:03.000Z
from .base_listener import BaseListener from .multi_listener import MultiListener from .parallel_predictor_listener import ParallelPredictorListener from .trace_listener import TraceListener
32
66
0.890625
21
192
7.904762
0.571429
0.337349
0
0
0
0
0
0
0
0
0
0
0.088542
192
5
67
38.4
0.948571
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
8405273dff58262b210ba2621eebd3cacf5bc6ff
9,932
py
Python
cronman/tests/test_monitor.py
ryancheley/django-cronman
5be5d9d5eecba0f110808c9e7a97ef89ef620ade
[ "BSD-3-Clause" ]
17
2018-09-25T16:28:36.000Z
2022-01-31T14:43:24.000Z
cronman/tests/test_monitor.py
ryancheley/django-cronman
5be5d9d5eecba0f110808c9e7a97ef89ef620ade
[ "BSD-3-Clause" ]
14
2018-11-04T14:45:14.000Z
2022-02-01T04:02:47.000Z
cronman/tests/test_monitor.py
ryancheley/django-cronman
5be5d9d5eecba0f110808c9e7a97ef89ef620ade
[ "BSD-3-Clause" ]
3
2018-09-25T16:28:44.000Z
2022-02-01T04:08:23.000Z
# -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 from __future__ import unicode_literals from django.utils.encoding import force_bytes import mock import requests from cronman.monitor import Cronitor, Slack from cronman.tests.base import BaseCronTestCase, override_cron_settings class CronitorTestCase(BaseCronTe...
36.785185
80
0.626158
1,073
9,932
5.575955
0.095993
0.045128
0.051145
0.058666
0.919104
0.914926
0.904396
0.884172
0.884172
0.847735
0
0.003367
0.252517
9,932
269
81
36.921933
0.802532
0.079138
0
0.670996
0
0
0.255375
0.052928
0
0
0
0
0.090909
1
0.056277
false
0
0.025974
0
0.090909
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
841a2e6f6fd098680c3d9e5b19c6e875ffe7df02
3,495
py
Python
openapi_server/models/__init__.py
graphsense/graphsense-REST
2e4a9c20835e54d971e3fc3aae5780bc87d48647
[ "MIT" ]
14
2017-11-25T18:27:14.000Z
2022-02-22T09:42:09.000Z
openapi_server/models/__init__.py
graphsense/graphsense-REST
2e4a9c20835e54d971e3fc3aae5780bc87d48647
[ "MIT" ]
64
2019-03-29T08:15:05.000Z
2022-02-24T10:28:34.000Z
openapi_server/models/__init__.py
graphsense/graphsense-REST
2e4a9c20835e54d971e3fc3aae5780bc87d48647
[ "MIT" ]
12
2018-10-20T22:29:29.000Z
2022-02-16T10:12:30.000Z
# coding: utf-8 # flake8: noqa from __future__ import absolute_import # import models into model package from openapi_server.models.address import Address from openapi_server.models.address_tag import AddressTag from openapi_server.models.address_tag_all_of import AddressTagAllOf from openapi_server.models.address_tx ...
56.370968
85
0.897282
480
3,495
6.254167
0.19375
0.205197
0.317122
0.429047
0.47968
0.306129
0.163891
0
0
0
0
0.00799
0.068956
3,495
61
86
57.295082
0.914567
0.016881
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
841e6bb96e087d2561ddc80998f7d249a14f42cc
191
py
Python
crome_synthesis/tools/__init__.py
pierg/crome-synthesis
c4392e69176e67e99c4bbacf8affbd949acebd2a
[ "MIT" ]
null
null
null
crome_synthesis/tools/__init__.py
pierg/crome-synthesis
c4392e69176e67e99c4bbacf8affbd949acebd2a
[ "MIT" ]
null
null
null
crome_synthesis/tools/__init__.py
pierg/crome-synthesis
c4392e69176e67e99c4bbacf8affbd949acebd2a
[ "MIT" ]
null
null
null
import os from pathlib import Path output_folder_synthesis: Path = Path(os.path.dirname(__file__)).parent.parent / "output" persistence_path: Path = output_folder_synthesis / "persistence"
27.285714
88
0.801047
25
191
5.76
0.48
0.138889
0.222222
0.347222
0
0
0
0
0
0
0
0
0.104712
191
6
89
31.833333
0.842105
0
0
0
0
0
0.089005
0
0
0
0
0
0
1
0
true
0
0.5
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
080aba4917a4e8c7a0ea87172488a3006012f211
8,409
py
Python
tests/test_unicode.py
RuiluGao/containers
60bd1844a4f165b1b619ece91077ee956b3a6942
[ "MIT" ]
null
null
null
tests/test_unicode.py
RuiluGao/containers
60bd1844a4f165b1b619ece91077ee956b3a6942
[ "MIT" ]
null
null
null
tests/test_unicode.py
RuiluGao/containers
60bd1844a4f165b1b619ece91077ee956b3a6942
[ "MIT" ]
2
2021-04-12T02:25:55.000Z
2021-04-27T04:47:02.000Z
from containers.unicode import NormalizedStr import pytest strings = [ 'César Chávez', # spanish, NFD normalized 'César Chávez', # spanish, NFC normalized 'César Chávez', # spanish, unnormalized ] def test_repr_0...
27.936877
93
0.64205
1,171
8,409
4.47737
0.054654
0.34713
0.144192
0.072096
0.901583
0.815182
0.705894
0.366393
0.267976
0.251192
0
0.035144
0.181115
8,409
300
94
28.03
0.726256
0.008205
0
0.317536
0
0
0.103767
0.007558
0
0
0
0
0.440758
1
0.35545
false
0
0.009479
0
0.364929
0
0
0
0
null
1
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
6
083146665e7d19d654282efdf1829d91aeee3771
80
py
Python
tests/samples/project/components/inherited_flatness.py
machinable-org/machinable
9d96e942dde05d68699bc7bc0c3d062ee18652ad
[ "MIT" ]
23
2020-02-28T14:29:04.000Z
2021-12-23T20:50:54.000Z
tests/samples/project/components/inherited_flatness.py
machinable-org/machinable
9d96e942dde05d68699bc7bc0c3d062ee18652ad
[ "MIT" ]
172
2020-02-24T12:12:11.000Z
2022-03-29T03:08:24.000Z
tests/samples/project/components/inherited_flatness.py
machinable-org/machinable
9d96e942dde05d68699bc7bc0c3d062ee18652ad
[ "MIT" ]
1
2020-11-23T22:42:20.000Z
2020-11-23T22:42:20.000Z
from machinable import Component class InheritedFlatness(Component): pass
13.333333
35
0.8
8
80
8
0.875
0
0
0
0
0
0
0
0
0
0
0
0.1625
80
5
36
16
0.955224
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
f22cdffc3511007eeaa4897f25b38fc34a7f38b1
213
py
Python
src/blog/tasks.py
cbsBiram/xarala__ssr
863e1362c786daa752b942b796f7a015211d2f1b
[ "FSFAP" ]
null
null
null
src/blog/tasks.py
cbsBiram/xarala__ssr
863e1362c786daa752b942b796f7a015211d2f1b
[ "FSFAP" ]
null
null
null
src/blog/tasks.py
cbsBiram/xarala__ssr
863e1362c786daa752b942b796f7a015211d2f1b
[ "FSFAP" ]
null
null
null
from celery import task from send_mail.views import send_author_submitted_email @task def author_submitted(email, post_title): mail_sent = send_author_submitted_email(email, post_title) return mail_sent
23.666667
62
0.821596
32
213
5.09375
0.46875
0.276074
0.368098
0.294479
0
0
0
0
0
0
0
0
0.131455
213
8
63
26.625
0.881081
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
f2312836b27ba7aa99ece13015680795aa69f81b
5,908
py
Python
chainerlp/ada_loss/transforms_test.py
kumasento/gradient-scaling
0ca435433b9953e33656173c4d60ebd61c5c5e87
[ "MIT" ]
7
2020-08-12T12:04:28.000Z
2021-11-22T15:56:08.000Z
chainerlp/ada_loss/transforms_test.py
kumasento/gradient-scaling
0ca435433b9953e33656173c4d60ebd61c5c5e87
[ "MIT" ]
1
2021-10-07T08:37:39.000Z
2021-10-08T02:41:39.000Z
chainerlp/ada_loss/transforms_test.py
kumasento/gradient-scaling
0ca435433b9953e33656173c4d60ebd61c5c5e87
[ "MIT" ]
null
null
null
""" Test the base AdaLoss class. """ import unittest import chainer import chainer.functions as F import chainer.links as L import cupy as cp import numpy as np from chainer import testing from chainer.testing import attr from chainerlp.ada_loss.transforms import * from chainerlp.links import * from chainerlp.links.m...
30.770833
85
0.538084
639
5,908
4.826291
0.194053
0.023346
0.041505
0.035019
0.757458
0.744812
0.721141
0.702335
0.700389
0.700389
0
0.051514
0.346141
5,908
191
86
30.931937
0.746829
0.027251
0
0.725352
0
0
0.036172
0
0
0
0
0
0.091549
1
0.035211
false
0
0.091549
0
0.133803
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
f23fb50349b8639c26e371438f318f3a9d72d3ce
72,154
py
Python
inceptionnets.py
lalonderodney/INN-Inflated-Neural-Nets
50ce42e4584815d066d0fd39a7f12f55130910e5
[ "Apache-2.0" ]
5
2019-07-03T01:08:14.000Z
2020-02-29T21:27:06.000Z
inceptionnets.py
lalonderodney/INN-Inflated-Neural-Nets
50ce42e4584815d066d0fd39a7f12f55130910e5
[ "Apache-2.0" ]
8
2020-02-26T20:27:52.000Z
2022-03-12T00:02:34.000Z
inceptionnets.py
lalonderodney/INN-Inflated-Neural-Nets
50ce42e4584815d066d0fd39a7f12f55130910e5
[ "Apache-2.0" ]
1
2019-10-13T10:48:39.000Z
2019-10-13T10:48:39.000Z
"""Inception-v1 Inflated 3D ConvNet used for Kinetics CVPR paper. The model is introduced in: Quo Vadis, Action Recognition? A New Model and the Kinetics Dataset Joao Carreira, Andrew Zisserman https://arxiv.org/pdf/1705.07750v1.pdf. """ from __future__ import absolute_import, print_function, division import wa...
41.901278
180
0.596641
9,682
72,154
4.233526
0.056806
0.011418
0.00666
0.019664
0.856644
0.832736
0.803069
0.770914
0.731782
0.713777
0
0.078508
0.299692
72,154
1,722
181
41.901278
0.732674
0.244186
0
0.646484
0
0.007813
0.117235
0.009157
0
0
0
0
0
1
0.010742
false
0
0.008789
0
0.032227
0.000977
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
f25a5172a64c173b2d63acd120537976d142765d
11,781
py
Python
language/parse.py
entrity0305/hunmin
cbc377bc7e2efaf2ef8f208b0f485b2f585df121
[ "MIT" ]
2
2021-06-06T01:59:35.000Z
2021-06-06T14:50:07.000Z
language/parse.py
entrity0305/hunmin
cbc377bc7e2efaf2ef8f208b0f485b2f585df121
[ "MIT" ]
null
null
null
language/parse.py
entrity0305/hunmin
cbc377bc7e2efaf2ef8f208b0f485b2f585df121
[ "MIT" ]
null
null
null
import language.errors as errors from language.ast import functionStatement, varExprStatement, ifStatement, elifStatement, elseStatement, whileStatement, returnStatement, functionStatement def parse(tokens, currentIndent): parseResult = '' currentPos = 0 isString = False previousExpr =...
38.25
229
0.439267
954
11,781
5.424528
0.115304
0.188599
0.108213
0.046377
0.773913
0.769275
0.747633
0.741063
0.725024
0.711304
0
0.007549
0.471522
11,781
307
230
38.374593
0.823643
0.073508
0
0.808824
0
0
0.017825
0
0
0
0
0
0
1
0.004902
false
0.004902
0.009804
0
0.019608
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
f2be83ed559540e537e5bc23c1df45a6a94c64c1
33
py
Python
vnpy/app/paper_account/ui/__init__.py
funrunskypalace/vnpy
2d87aede685fa46278d8d3392432cc127b797926
[ "MIT" ]
19,529
2015-03-02T12:17:35.000Z
2022-03-31T17:18:27.000Z
vnpy/app/paper_account/ui/__init__.py
funrunskypalace/vnpy
2d87aede685fa46278d8d3392432cc127b797926
[ "MIT" ]
2,186
2015-03-04T23:16:33.000Z
2022-03-31T03:44:01.000Z
vnpy/app/paper_account/ui/__init__.py
funrunskypalace/vnpy
2d87aede685fa46278d8d3392432cc127b797926
[ "MIT" ]
8,276
2015-03-02T05:21:04.000Z
2022-03-31T13:13:13.000Z
from .widget import PaperManager
16.5
32
0.848485
4
33
7
1
0
0
0
0
0
0
0
0
0
0
0
0.121212
33
1
33
33
0.965517
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
f2c752a56dfe8e17f62ffed2af5b5fa1cbc649d4
9,019
py
Python
lernomatic/models/autoencoder/aae_common.py
stfnwong/lernomatic
2cd7506c04c4e2afca22b7c05ebb0cc94f8048d9
[ "MIT" ]
null
null
null
lernomatic/models/autoencoder/aae_common.py
stfnwong/lernomatic
2cd7506c04c4e2afca22b7c05ebb0cc94f8048d9
[ "MIT" ]
null
null
null
lernomatic/models/autoencoder/aae_common.py
stfnwong/lernomatic
2cd7506c04c4e2afca22b7c05ebb0cc94f8048d9
[ "MIT" ]
null
null
null
""" AAE_COMMON Some basic AAEencoder models Stefan Wong 2019 """ import importlib import torch import torch.nn as nn import torch.nn.functional as F from lernomatic.models import common # debug # # Encoder side modules class AAEQNet(common.LernomaticModel): def __init__(self, x_dim:int=784, ...
31.315972
89
0.57146
1,152
9,019
4.228299
0.087674
0.088278
0.054609
0.036953
0.810101
0.788134
0.767604
0.748512
0.736604
0.728803
0
0.009064
0.315002
9,019
287
90
31.425087
0.779378
0.0316
0
0.689498
0
0
0.098347
0.027542
0
0
0
0
0
1
0.13242
false
0
0.091324
0.068493
0.3379
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
4bbc146cd81770ab56b28a74011c83ece94486eb
42
py
Python
tests/test_smoke.py
jmp/python-pipeline
6cd8e56f8e3357df84bdd3f1428f86b6ea9fd27b
[ "MIT" ]
null
null
null
tests/test_smoke.py
jmp/python-pipeline
6cd8e56f8e3357df84bdd3f1428f86b6ea9fd27b
[ "MIT" ]
null
null
null
tests/test_smoke.py
jmp/python-pipeline
6cd8e56f8e3357df84bdd3f1428f86b6ea9fd27b
[ "MIT" ]
null
null
null
def test_smoke() -> None: assert True
14
25
0.642857
6
42
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.238095
42
2
26
21
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.5
1
0.5
true
0
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
0
0
0
0
0
6
29d81748bc98cc2cc1ed327f8718e3f30100a34e
49,708
py
Python
functions/visualizations.py
levidantzinger/hawaii_covid_forecast
848cd19f0464520232d9e2434246f2dee53ee140
[ "MIT" ]
null
null
null
functions/visualizations.py
levidantzinger/hawaii_covid_forecast
848cd19f0464520232d9e2434246f2dee53ee140
[ "MIT" ]
null
null
null
functions/visualizations.py
levidantzinger/hawaii_covid_forecast
848cd19f0464520232d9e2434246f2dee53ee140
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd from bokeh.plotting import figure, output_file, show from bokeh.models import ColumnDataSource from bokeh.models.tools import HoverTool from bokeh.models import HoverTool from bokeh.models.widgets import Tabs, Panel from bokeh.resources import CDN from bokeh.embed import file_html...
57.201381
298
0.495614
5,136
49,708
4.600662
0.064642
0.06437
0.02607
0.03081
0.849041
0.828685
0.809048
0.80744
0.777435
0.738626
0
0.03067
0.359157
49,708
868
299
57.267281
0.711097
0.031263
0
0.603748
0
0
0.152702
0.00569
0
0
0
0
0
1
0.01071
false
0
0.018742
0
0.034806
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
29ee4101189aeb0d188c5b3db2898cb84022d10b
51,893
py
Python
test/functional/test_functional.py
thenetcircle/dino-service
90f90e0b21ba920506dc8fc44caf69d5bed9fb6a
[ "MIT" ]
null
null
null
test/functional/test_functional.py
thenetcircle/dino-service
90f90e0b21ba920506dc8fc44caf69d5bed9fb6a
[ "MIT" ]
4
2021-05-24T04:31:34.000Z
2021-06-28T03:38:56.000Z
test/functional/test_functional.py
thenetcircle/dino-service
90f90e0b21ba920506dc8fc44caf69d5bed9fb6a
[ "MIT" ]
null
null
null
import json import time import arrow from dinofw.rest.queries import AbstractQuery from dinofw.utils import utcnow_ts, to_dt from dinofw.utils.config import MessageTypes, ErrorCodes from test.base import BaseTest from test.functional.base_functional import BaseServerRestApi class TestServerRestApi(BaseServerRestApi...
43.316361
120
0.711772
7,373
51,893
4.621864
0.0453
0.070605
0.072718
0.04977
0.828799
0.799718
0.769052
0.740499
0.711095
0.673504
0
0.015299
0.192608
51,893
1,197
121
43.352548
0.798033
0.073748
0
0.597786
0
0
0.059179
0.002751
0
0
0
0.000835
0.296433
1
0.079951
false
0
0.00984
0
0.091021
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
4b06d0909dbe05e164fd173312ca210d8193d63d
49
py
Python
chainerpruner/masks/__init__.py
DeNA/ChainerPruner
0df33e94845420ae74eb46067b9132a9b34686cf
[ "MIT" ]
20
2018-12-15T07:53:30.000Z
2022-02-10T14:11:24.000Z
chainerpruner/masks/__init__.py
DeNA/ChainerPruner
0df33e94845420ae74eb46067b9132a9b34686cf
[ "MIT" ]
null
null
null
chainerpruner/masks/__init__.py
DeNA/ChainerPruner
0df33e94845420ae74eb46067b9132a9b34686cf
[ "MIT" ]
2
2019-06-11T07:03:40.000Z
2019-08-19T09:45:47.000Z
from chainerpruner.masks.normmask import NormMask
49
49
0.897959
6
49
7.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.061224
49
1
49
49
0.956522
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
d9a9356d3be1d720be473eddba96d63b7679ea47
276,625
py
Python
tests/unit/gapic/automl_v1beta1/test_auto_ml.py
nicain/python-automl
06004491f16e5512e0890e40565d218123310ac6
[ "Apache-2.0" ]
68
2020-01-31T18:13:23.000Z
2022-03-28T14:57:12.000Z
tests/unit/gapic/automl_v1beta1/test_auto_ml.py
nicain/python-automl
06004491f16e5512e0890e40565d218123310ac6
[ "Apache-2.0" ]
184
2020-01-31T17:34:00.000Z
2022-03-30T22:42:11.000Z
tests/unit/gapic/automl_v1beta1/test_auto_ml.py
nicain/python-automl
06004491f16e5512e0890e40565d218123310ac6
[ "Apache-2.0" ]
29
2020-01-31T19:32:55.000Z
2022-01-29T08:07:34.000Z
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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...
38.234278
133
0.68299
32,913
276,625
5.518184
0.015982
0.015857
0.025768
0.06202
0.951514
0.93183
0.916601
0.893299
0.874237
0.851432
0
0.004723
0.23234
276,625
7,234
134
38.239563
0.850547
0.221025
0
0.696251
0
0
0.072798
0.024439
0
0
0
0
0.142555
1
0.044906
false
0.000212
0.019064
0.000424
0.064393
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
d9b6b2a4c975a904bf4b1f0b185a28c0455de1df
43,433
py
Python
pymc3/tests/test_gp.py
HVoltBb/pymc3
da482cd5ba08e421e8a62d879822cc41e5b91420
[ "Apache-2.0" ]
3
2020-10-06T21:07:30.000Z
2021-03-04T11:40:17.000Z
pymc3/tests/test_gp.py
HVoltBb/pymc3
da482cd5ba08e421e8a62d879822cc41e5b91420
[ "Apache-2.0" ]
null
null
null
pymc3/tests/test_gp.py
HVoltBb/pymc3
da482cd5ba08e421e8a62d879822cc41e5b91420
[ "Apache-2.0" ]
3
2019-09-09T13:09:32.000Z
2021-09-12T14:37:51.000Z
# Copyright 2020 The PyMC Developers # # 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 ag...
40.215741
112
0.547418
6,554
43,433
3.556912
0.064083
0.014413
0.087509
0.064087
0.814516
0.785261
0.755577
0.738418
0.713023
0.692562
0
0.060206
0.287546
43,433
1,079
113
40.253012
0.693155
0.036263
0
0.620496
0
0
0.009011
0
0
0
0
0
0.148649
1
0.100225
false
0
0.010135
0.006757
0.153153
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
d9c2df2e65cd82ce07b34d3c829a80e91f7b3b7c
144
py
Python
deep_rl/component/__init__.py
JACKHAHA363/DeepRL
5e91086c17fd6de85f4d53873fab17e049dd5df5
[ "Apache-2.0" ]
3
2018-11-15T06:45:09.000Z
2019-11-18T01:58:09.000Z
deep_rl/component/__init__.py
JACKHAHA363/DeepRL
5e91086c17fd6de85f4d53873fab17e049dd5df5
[ "Apache-2.0" ]
3
2020-05-01T12:37:57.000Z
2022-03-12T00:26:55.000Z
deep_rl/component/__init__.py
pladosz/MOHQA
60f8f2e7e9fc9eaac0985bbc63a8092b95b21161
[ "Apache-2.0" ]
3
2019-07-04T02:08:37.000Z
2020-12-04T05:32:46.000Z
from .atari_wrapper import * from .policy import * from .replay import * from .task import * from .random_process import * from .bench import *
24
29
0.75
20
144
5.3
0.5
0.471698
0
0
0
0
0
0
0
0
0
0
0.166667
144
6
30
24
0.883333
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
d9e9a4804bde7536662097f2910a41f1b357d9f5
29
py
Python
fastapi_helpers/db/seeders/__init__.py
finalsa/fastapi-helpers
3fc06e4445e29416876822d3f9485c65c51886cc
[ "MIT" ]
2
2021-09-19T00:56:42.000Z
2022-01-19T06:13:45.000Z
fastapi_helpers/db/seeders/__init__.py
finalsa/fastapi-helpers
3fc06e4445e29416876822d3f9485c65c51886cc
[ "MIT" ]
1
2021-11-27T18:05:08.000Z
2021-12-24T02:42:11.000Z
fastapi_helpers/db/seeders/__init__.py
finalsa/fastapi-helpers
3fc06e4445e29416876822d3f9485c65c51886cc
[ "MIT" ]
1
2021-12-23T07:21:56.000Z
2021-12-23T07:21:56.000Z
from .reader import DbSeeder
14.5
28
0.827586
4
29
6
1
0
0
0
0
0
0
0
0
0
0
0
0.137931
29
1
29
29
0.96
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
d9fa27cd97e4ac5286c438704a33045637d1742e
17,932
py
Python
ref/fir_design_helper.py
kromalee/signal-filter-designer
b9fdda48443fe2e65af91ea0a7ac9930092fdf67
[ "MIT" ]
null
null
null
ref/fir_design_helper.py
kromalee/signal-filter-designer
b9fdda48443fe2e65af91ea0a7ac9930092fdf67
[ "MIT" ]
null
null
null
ref/fir_design_helper.py
kromalee/signal-filter-designer
b9fdda48443fe2e65af91ea0a7ac9930092fdf67
[ "MIT" ]
null
null
null
import numpy as np import scipy.signal as signal import matplotlib.pyplot as plt from logging import getLogger log = getLogger(__name__) def firwin_lpf(N_taps, fc, fs=1.0): """ :param N_taps:滤波器的长度(系数数,即滤波器阶数+ 1) :param fc:滤波器的截止频率 :param fs:信号的采样频率 :return:长度数字系数FIR滤波器的系数。 """ return si...
36.447154
88
0.588836
2,872
17,932
3.542827
0.130919
0.022113
0.01769
0.011794
0.76226
0.748305
0.735332
0.727469
0.713612
0.696315
0
0.052205
0.290709
17,932
491
89
36.521385
0.747779
0.609915
0
0.565217
0
0
0.07096
0
0
0
0
0
0
1
0.065217
false
0.152174
0.028986
0
0.152174
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
8a29855f6162a2b92d3d9039c4be3fccbd867462
12,613
py
Python
testing/scripts/test_rolling_updates.py
jsreid13/seldon-core
4197eb65bff5ac40629b717a9d533f0e92160ad2
[ "Apache-2.0" ]
1
2021-05-31T14:52:17.000Z
2021-05-31T14:52:17.000Z
testing/scripts/test_rolling_updates.py
jsreid13/seldon-core
4197eb65bff5ac40629b717a9d533f0e92160ad2
[ "Apache-2.0" ]
null
null
null
testing/scripts/test_rolling_updates.py
jsreid13/seldon-core
4197eb65bff5ac40629b717a9d533f0e92160ad2
[ "Apache-2.0" ]
null
null
null
import os import time import logging import pytest from subprocess import run from seldon_e2e_utils import ( wait_for_status, wait_for_rollout, rest_request_ambassador, initial_rest_request, assert_model, assert_model_during_op, retry_run, API_AMBASSADOR, API_ISTIO_GATEWAY, get_p...
46.032847
88
0.605011
1,685
12,613
4.366766
0.090208
0.078282
0.049334
0.041859
0.83433
0.785268
0.731856
0.731856
0.731856
0.728731
0
0.040398
0.250297
12,613
273
89
46.201465
0.737733
0.045271
0
0.618474
0
0
0.264466
0.076239
0
0
0
0
0.184739
1
0.036145
false
0
0.024096
0.004016
0.068273
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
8a31061a368f9e42191d703cefd82299f6fab8d5
102
py
Python
hook-nestor.py
usnistgov/nestor-web
a77377bd524ef21694771d966b3bb10fbaf457e4
[ "BSD-Source-Code" ]
2
2020-12-14T05:54:01.000Z
2020-12-25T05:11:25.000Z
hook-nestor.py
usnistgov/nestor-web
a77377bd524ef21694771d966b3bb10fbaf457e4
[ "BSD-Source-Code" ]
2
2022-02-28T01:29:52.000Z
2022-03-25T19:24:39.000Z
hook-nestor.py
usnistgov/nestor-web
a77377bd524ef21694771d966b3bb10fbaf457e4
[ "BSD-Source-Code" ]
null
null
null
from PyInstaller.utils.hooks import collect_all datas, binaries, hiddenimports = collect_all('nestor')
51
54
0.833333
13
102
6.384615
0.846154
0.240964
0
0
0
0
0
0
0
0
0
0
0.078431
102
2
54
51
0.882979
0
0
0
0
0
0.058252
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
8a836988252e8f260a82772c78e2c948e800fbb7
11,255
py
Python
scripts/interhemisphere/shortest_paths_crossings.py
mwinding/connectome_analysis
dbc747290891805863c9481921d8080dc2043d21
[ "MIT" ]
null
null
null
scripts/interhemisphere/shortest_paths_crossings.py
mwinding/connectome_analysis
dbc747290891805863c9481921d8080dc2043d21
[ "MIT" ]
2
2022-02-10T11:03:49.000Z
2022-02-10T11:04:08.000Z
scripts/interhemisphere/shortest_paths_crossings.py
mwinding/connectome_analysis
dbc747290891805863c9481921d8080dc2043d21
[ "MIT" ]
null
null
null
#%% from pymaid_creds import url, name, password, token import pymaid rm = pymaid.CatmaidInstance(url, token, name, password) import matplotlib.pyplot as plt import seaborn as sns import numpy as np import pandas as pd import numpy.random as random import gzip import csv import connectome_tools.process_matrix as pm...
41.531365
194
0.733363
1,764
11,255
4.484127
0.119615
0.073957
0.013148
0.026296
0.811757
0.78976
0.77421
0.742351
0.73426
0.723894
0
0.020202
0.111595
11,255
270
195
41.685185
0.770877
0.048689
0
0.601124
0
0
0.228184
0.135768
0
0
0
0
0
1
0
false
0.011236
0.08427
0
0.08427
0.022472
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
8ab46e1089b2f9a0314dab03318c50a8eba1ec2c
11,799
py
Python
demistomock.py
Kerol-System/demisto-sdk
9cb208a73b9820455ca3ca3fe4b4ea08c502f271
[ "MIT" ]
1
2021-07-30T13:03:19.000Z
2021-07-30T13:03:19.000Z
demistomock.py
Kerol-System/demisto-sdk
9cb208a73b9820455ca3ca3fe4b4ea08c502f271
[ "MIT" ]
null
null
null
demistomock.py
Kerol-System/demisto-sdk
9cb208a73b9820455ca3ca3fe4b4ea08c502f271
[ "MIT" ]
1
2021-06-17T09:27:09.000Z
2021-06-17T09:27:09.000Z
import json integrationContext = {} exampleIncidents = [{"Brand":"Builtin","Category":"Builtin","Contents":{"data":[{"CustomFields":{},"account":"","activated":"0001-01-01T00:00:00Z","attachment":None,"autime":1550670443962164000,"canvases":None,"category":"","closeNotes":"","closeReason":"","closed":"0001-01-01T00:...
80.265306
5,210
0.749725
1,147
11,799
7.710549
0.309503
0.012212
0.022388
0.026459
0.382519
0.32033
0.32033
0.32033
0.31332
0.31332
0
0.099502
0.047716
11,799
146
5,211
80.815068
0.687611
0.004407
0
0.209302
0
0.023256
0.622817
0.263526
0
1
0
0
0
1
0.372093
false
0
0.046512
0.267442
0.732558
0.034884
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
null
1
0
0
0
0
1
0
0
0
1
1
0
0
6
8aba0a4a57743fcd9a8d40112431742d12db1b1c
106
py
Python
pyseries/prediction/tests/__init__.py
flaviovdf/pyseries
59c8a321790d2398d71305710b7d322ce2d8eaaf
[ "BSD-3-Clause" ]
7
2015-04-12T00:27:39.000Z
2018-08-10T13:17:48.000Z
pyseries/prediction/tests/__init__.py
flaviovdf/pyseries
59c8a321790d2398d71305710b7d322ce2d8eaaf
[ "BSD-3-Clause" ]
null
null
null
pyseries/prediction/tests/__init__.py
flaviovdf/pyseries
59c8a321790d2398d71305710b7d322ce2d8eaaf
[ "BSD-3-Clause" ]
4
2015-04-15T03:14:30.000Z
2018-11-09T22:06:32.000Z
# -*- coding: utf8 from __future__ import division, print_function '''Tests for the prediction module'''
21.2
47
0.745283
13
106
5.692308
1
0
0
0
0
0
0
0
0
0
0
0.010989
0.141509
106
4
48
26.5
0.802198
0.150943
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
6
0a08015c2846acc27d785ec104650566f4571d88
2,201
py
Python
zm_util.py
montagdude/zoneminder-notifier
f3387ed5e322f59cc88551d9972253e29397bc2a
[ "MIT" ]
7
2019-04-19T14:07:44.000Z
2021-12-30T01:56:46.000Z
zm_util.py
montagdude/zoneminder-notifier
f3387ed5e322f59cc88551d9972253e29397bc2a
[ "MIT" ]
1
2020-12-17T17:07:45.000Z
2020-12-17T20:12:10.000Z
zm_util.py
montagdude/zoneminder-notifier
f3387ed5e322f59cc88551d9972253e29397bc2a
[ "MIT" ]
2
2020-05-08T09:57:34.000Z
2022-01-07T23:39:02.000Z
import sys from datetime import datetime import ConfigParser def debug(message, pipe="stdout"): curr_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S") if pipe == "stderr": sys.stderr.write("{:s} {:s}\n".format(curr_time, message)) else: sys.stdout.write("{:s} {:s}\n".format(curr_time, me...
28.960526
80
0.590641
261
2,201
4.927203
0.206897
0.151633
0.038103
0.136081
0.825816
0.825816
0.825816
0.825816
0.780715
0.748056
0
0.004378
0.273512
2,201
75
81
29.346667
0.799875
0
0
0.688525
0
0
0.142208
0
0
0
0
0
0
1
0.081967
false
0
0.04918
0
0.196721
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
0a13c45cef958c900f62958022604e89cb6fe291
29
py
Python
enotipy/__init__.py
anthony-walker/ENotipy
490bd700ad4fbe3ca5cfe77efc8e3376b955e425
[ "BSD-3-Clause" ]
null
null
null
enotipy/__init__.py
anthony-walker/ENotipy
490bd700ad4fbe3ca5cfe77efc8e3376b955e425
[ "BSD-3-Clause" ]
null
null
null
enotipy/__init__.py
anthony-walker/ENotipy
490bd700ad4fbe3ca5cfe77efc8e3376b955e425
[ "BSD-3-Clause" ]
null
null
null
from .enotipy import ENotiPy
14.5
28
0.827586
4
29
6
0.75
0
0
0
0
0
0
0
0
0
0
0
0.137931
29
1
29
29
0.96
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
0a3cb232477601357009a01f39d2ab7aa039b059
1,312
py
Python
HW01_Triangle_Qi_Zhao_Test.py
qiblaqi/567-Fall-2020-master
8c0e82654581e22fe7b021a6b330bdd0e7eea994
[ "MIT" ]
null
null
null
HW01_Triangle_Qi_Zhao_Test.py
qiblaqi/567-Fall-2020-master
8c0e82654581e22fe7b021a6b330bdd0e7eea994
[ "MIT" ]
null
null
null
HW01_Triangle_Qi_Zhao_Test.py
qiblaqi/567-Fall-2020-master
8c0e82654581e22fe7b021a6b330bdd0e7eea994
[ "MIT" ]
null
null
null
import unittest import HW01_Triangle_Qi_Zhao as Triangle class TestTriangle(unittest.TestCase): def test_case(self): self.assertEqual(Triangle.classify_triangle(2,2,3),"isoceles") self.assertEqual(Triangle.classify_triangle(3,2,2),"isoceles") self.assertEqual(Triangle.classify_triangle(3,4,...
52.48
83
0.708079
179
1,312
5.027933
0.167598
0.25
0.383333
0.516667
0.812222
0.812222
0.58
0.364444
0.117778
0.117778
0
0.050622
0.141768
1,312
25
84
52.48
0.748668
0
0
0
0
0
0.108911
0
0
0
0
0
0.681818
1
0.090909
false
0
0.090909
0
0.227273
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
6
0a5e5b75c53dee980e93c0fcbf2db7dbfc13312d
21
py
Python
component/io/__init__.py
12rambau/damage_proxy_map
6796e5e4885378e3b634877610df9e6d94123de3
[ "MIT" ]
null
null
null
component/io/__init__.py
12rambau/damage_proxy_map
6796e5e4885378e3b634877610df9e6d94123de3
[ "MIT" ]
null
null
null
component/io/__init__.py
12rambau/damage_proxy_map
6796e5e4885378e3b634877610df9e6d94123de3
[ "MIT" ]
null
null
null
from .dmp_io import *
21
21
0.761905
4
21
3.75
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.833333
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
6a8d8b8a51466e2c8df9af74b327e79c0df40b9e
138
py
Python
tests/basics/bytes_compare_bytearray.py
sebastien-riou/micropython
116c15842fd48ddb77b0bc016341d936a0756573
[ "MIT" ]
13,648
2015-01-01T01:34:51.000Z
2022-03-31T16:19:53.000Z
tests/basics/bytes_compare_bytearray.py
sebastien-riou/micropython
116c15842fd48ddb77b0bc016341d936a0756573
[ "MIT" ]
7,092
2015-01-01T07:59:11.000Z
2022-03-31T23:52:18.000Z
tests/basics/bytes_compare_bytearray.py
sebastien-riou/micropython
116c15842fd48ddb77b0bc016341d936a0756573
[ "MIT" ]
4,942
2015-01-02T11:48:50.000Z
2022-03-31T19:57:10.000Z
print(b"123" == bytearray(b"123")) print(b'123' < bytearray(b"124")) print(b'123' > bytearray(b"122")) print(bytearray(b"23") in b"1234")
27.6
34
0.652174
25
138
3.6
0.36
0.177778
0.3
0.6
0.633333
0
0
0
0
0
0
0.190476
0.086957
138
4
35
34.5
0.52381
0
0
0
0
0
0.173913
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
0
0
0
1
0
6
6abd6b31784848ddeedb6b793f31482de9aee04e
454
py
Python
tests/samples/classimplements.py
arnimarj/mypy-zope
3670eab231b20bf28fce23094556bf2f883ef0cd
[ "MIT" ]
29
2019-01-06T20:07:43.000Z
2021-11-10T06:40:45.000Z
tests/samples/classimplements.py
Shoobx/mypy-zope
3fea0f111384381709d00b6f811a34ec15f791df
[ "MIT" ]
52
2019-03-05T07:10:37.000Z
2022-03-15T07:13:15.000Z
tests/samples/classimplements.py
arnimarj/mypy-zope
3670eab231b20bf28fce23094556bf2f883ef0cd
[ "MIT" ]
11
2019-03-10T04:54:18.000Z
2021-05-17T07:12:51.000Z
from zope.interface import implementer from zope.interface import Interface from zope.interface import classImplements class IFoo(Interface): def foo() -> int: pass class IBar(Interface): def bar() -> str: pass class FooBar: def foo(self) -> int: return 0 def bar(self) -> ...
12.971429
42
0.623348
54
454
5.240741
0.37037
0.084806
0.180212
0.243816
0
0
0
0
0
0
0
0.002959
0.255507
454
34
43
13.352941
0.83432
0
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.235294
false
0.117647
0.176471
0.117647
0.705882
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
6aeb4108565d142b722fe2c348379c53a6c39348
38,570
py
Python
sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
3
2020-06-23T02:25:27.000Z
2021-09-07T18:48:11.000Z
sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
510
2019-07-17T16:11:19.000Z
2021-08-02T08:38:32.000Z
sdk/servicebus/azure-servicebus/tests/async_tests/mgmt_tests/test_mgmt_queues_async.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
5
2019-09-04T12:51:37.000Z
2020-09-16T07:28:40.000Z
#------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. #-------------------------------------------------------------------------- import pytes...
58.26284
172
0.732149
4,203
38,570
6.329289
0.067809
0.062025
0.048718
0.052628
0.910683
0.881287
0.854785
0.800391
0.77201
0.747199
0
0.009142
0.197381
38,570
661
173
58.350983
0.850179
0.094063
0
0.595785
0
0
0.061154
0.020413
0
0
0
0
0.243295
1
0
false
0
0.021073
0
0.022989
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
0af01a0606d7a2a66d44e234a2edf4b715670990
45,687
py
Python
tests/unit/cloud/clouds/test_vmware.py
springborland/salt
bee85e477d57e9a171884e54fefb9a59d0835ed0
[ "Apache-2.0" ]
1
2020-04-09T03:25:10.000Z
2020-04-09T03:25:10.000Z
tests/unit/cloud/clouds/test_vmware.py
springborland/salt
bee85e477d57e9a171884e54fefb9a59d0835ed0
[ "Apache-2.0" ]
null
null
null
tests/unit/cloud/clouds/test_vmware.py
springborland/salt
bee85e477d57e9a171884e54fefb9a59d0835ed0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ :codeauthor: `Nitin Madhok <nmadhok@clemson.edu>` tests.unit.cloud.clouds.vmware_test ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ """ # Import Python libs from __future__ import absolute_import, print_function, unicode_literals from copy import deepcopy # Import Salt Libs from salt i...
36.520384
107
0.612713
4,899
45,687
5.501123
0.07226
0.025714
0.044378
0.045195
0.852171
0.822078
0.799221
0.750909
0.730167
0.693655
0
0.003342
0.305864
45,687
1,250
108
36.5496
0.846467
0.259702
0
0.482709
0
0
0.126503
0.030037
0
0
0
0
0.161383
1
0.145533
false
0.011527
0.01585
0.001441
0.167147
0.001441
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
e402fd99e2fcbeacd372469c004182d0993d220c
1,505
py
Python
Assembler/tests/test_assemble_data_strings.py
Laegluin/mikrorechner
7e5e878072c941e422889465c43dea838b83e5fd
[ "MIT" ]
1
2019-01-28T01:53:20.000Z
2019-01-28T01:53:20.000Z
Assembler/tests/test_assemble_data_strings.py
Laegluin/mikrorechner
7e5e878072c941e422889465c43dea838b83e5fd
[ "MIT" ]
null
null
null
Assembler/tests/test_assemble_data_strings.py
Laegluin/mikrorechner
7e5e878072c941e422889465c43dea838b83e5fd
[ "MIT" ]
null
null
null
from tests import test import datastrings as datastr #wir müssen wg labels nur auf richtige datenstringform testen def test_get_datastring_indexes(): test.assertEquals(datastr.get_datastring_indexes(['R4 = R5 + R6']), []) test.assertEquals(datastr.get_datastring_indexes(['R4 = R5 + R6', ...
53.75
80
0.568106
162
1,505
5.030864
0.259259
0.235583
0.220859
0.223313
0.704294
0.704294
0.704294
0.598773
0.43681
0.245399
0
0.070225
0.290365
1,505
28
81
53.75
0.692884
0.315615
0
0.333333
0
0
0.09375
0
0
0
0.011719
0
0.388889
1
0.111111
true
0
0.111111
0
0.222222
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
0
1
0
0
0
0
0
0
6
7c2b6fd1b12155a34ce7ae75a558cd8d5c6b55d8
28
py
Python
Session/__init__.py
howiemac/evoke4
5d7af36c9fb23d94766d54c9c63436343959d3a8
[ "BSD-3-Clause" ]
null
null
null
Session/__init__.py
howiemac/evoke4
5d7af36c9fb23d94766d54c9c63436343959d3a8
[ "BSD-3-Clause" ]
null
null
null
Session/__init__.py
howiemac/evoke4
5d7af36c9fb23d94766d54c9c63436343959d3a8
[ "BSD-3-Clause" ]
null
null
null
from Session import Session
14
27
0.857143
4
28
6
0.75
0
0
0
0
0
0
0
0
0
0
0
0.142857
28
1
28
28
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
7c3b7d0b41e93fb88f68390d81486e2338b71f57
1,184
py
Python
code/game/classes/elements/Element.py
Maaack/SixX
ed92ddd3bc7d0d9612bdff36df6a208ae9a24fdd
[ "Apache-2.0" ]
1
2017-10-08T06:38:32.000Z
2017-10-08T06:38:32.000Z
code/game/classes/elements/Element.py
Maaack/SixX
ed92ddd3bc7d0d9612bdff36df6a208ae9a24fdd
[ "Apache-2.0" ]
null
null
null
code/game/classes/elements/Element.py
Maaack/SixX
ed92ddd3bc7d0d9612bdff36df6a208ae9a24fdd
[ "Apache-2.0" ]
null
null
null
from game.libs import make_hash class Element(object): _Game = None BasicObject = None def __init__(self): self._id = make_hash() def get_id(self): return self._id id = property(get_id) def get_physical_object(self): return self.BasicObject.body def get_movable...
23.68
59
0.66723
145
1,184
5.234483
0.255172
0.217391
0.221344
0.16469
0.500659
0.346509
0.346509
0.346509
0.238472
0.238472
0
0
0.241554
1,184
50
60
23.68
0.845212
0
0
0.147059
0
0
0.005907
0
0
0
0
0
0
1
0.382353
false
0
0.029412
0.264706
0.794118
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
7c5f172b97b552807c3a08c8325dbf556fae6da8
49
py
Python
indice_pollution/regions/Provence-Alpes-Côte d'Azur.py
betagouv/indice_pollution
112f262397686110475ed360101b311e76d5d914
[ "MIT" ]
2
2020-09-02T20:17:22.000Z
2022-03-04T21:06:28.000Z
indice_pollution/regions/Provence-Alpes-Côte d'Azur.py
betagouv/indice_pollution
112f262397686110475ed360101b311e76d5d914
[ "MIT" ]
34
2020-08-13T11:47:13.000Z
2022-03-31T08:05:37.000Z
indice_pollution/regions/Provence-Alpes-Côte d'Azur.py
betagouv/indice_pollution
112f262397686110475ed360101b311e76d5d914
[ "MIT" ]
null
null
null
from .Sud import Forecast, Episode, Service #noqa
49
49
0.795918
7
49
5.571429
1
0
0
0
0
0
0
0
0
0
0
0
0.122449
49
1
49
49
0.906977
0.081633
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
7cffe9e253b085cc9738084837d8a5a1e65d96d7
100
py
Python
terrascript/template/r.py
hugovk/python-terrascript
08fe185904a70246822f5cfbdc9e64e9769ec494
[ "BSD-2-Clause" ]
4
2022-02-07T21:08:14.000Z
2022-03-03T04:41:28.000Z
terrascript/template/r.py
hugovk/python-terrascript
08fe185904a70246822f5cfbdc9e64e9769ec494
[ "BSD-2-Clause" ]
null
null
null
terrascript/template/r.py
hugovk/python-terrascript
08fe185904a70246822f5cfbdc9e64e9769ec494
[ "BSD-2-Clause" ]
2
2022-02-06T01:49:42.000Z
2022-02-08T14:15:00.000Z
# terrascript/template/r.py import terrascript class template_dir(terrascript.Resource): pass
14.285714
41
0.79
12
100
6.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.13
100
6
42
16.666667
0.896552
0.25
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
6b0ed4ef5ef6aa2a519c74798fca110492636aae
20,733
py
Python
tests/pytests/unit/states/test_boto_cloudwatch_event.py
ifraixedes/saltstack-salt
b54becb8b43cc9b7c00b2c0bc637ac534dc62896
[ "Apache-2.0" ]
9,425
2015-01-01T05:59:24.000Z
2022-03-31T20:44:05.000Z
tests/pytests/unit/states/test_boto_cloudwatch_event.py
ifraixedes/saltstack-salt
b54becb8b43cc9b7c00b2c0bc637ac534dc62896
[ "Apache-2.0" ]
33,507
2015-01-01T00:19:56.000Z
2022-03-31T23:48:20.000Z
tests/pytests/unit/states/test_boto_cloudwatch_event.py
ifraixedes/saltstack-salt
b54becb8b43cc9b7c00b2c0bc637ac534dc62896
[ "Apache-2.0" ]
5,810
2015-01-01T19:11:45.000Z
2022-03-31T02:37:20.000Z
import logging import random import string import pytest import salt.config import salt.loader import salt.states.boto_cloudwatch_event as boto_cloudwatch_event from tests.support.mock import MagicMock, patch boto = pytest.importorskip("boto") boto3 = pytest.importorskip("boto3", "1.2.1") botocore = pytest.importorsk...
37.903108
95
0.694931
2,497
20,733
5.448939
0.073288
0.105836
0.067029
0.064971
0.886888
0.88483
0.872777
0.866603
0.860503
0.851316
0
0.005655
0.189746
20,733
546
96
37.972527
0.804274
0.057686
0
0.673423
0
0
0.128994
0.049249
0
0
0
0
0.065315
1
0.042793
false
0
0.024775
0
0.099099
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
6b1f03489bb02108e6d2ccfcdaf6bb72e5664d8c
3,287
py
Python
tests/integration/transformers/pii/test_anonymizer.py
HDI-Project/RDT
f1648d10346f4e431957aca65e25a00879a5d419
[ "MIT" ]
8
2018-06-20T22:59:07.000Z
2019-02-19T08:48:53.000Z
tests/integration/transformers/pii/test_anonymizer.py
HDI-Project/RDT
f1648d10346f4e431957aca65e25a00879a5d419
[ "MIT" ]
63
2018-06-20T22:08:37.000Z
2019-12-16T18:57:08.000Z
tests/integration/transformers/pii/test_anonymizer.py
HDI-Project/RDT
f1648d10346f4e431957aca65e25a00879a5d419
[ "MIT" ]
5
2018-11-06T16:45:48.000Z
2020-01-02T13:41:07.000Z
import numpy as np import pandas as pd from rdt.transformers.pii import AnonymizedFaker def test_anonymizedfaker(): """End to end test with the default settings of the ``AnonymizedFaker``.""" data = pd.DataFrame({ 'id': [1, 2, 3, 4, 5], 'username': ['a', 'b', 'c', 'd', 'e'] }) insta...
31.009434
99
0.600548
381
3,287
5.028871
0.183727
0.11691
0.015658
0.058455
0.860647
0.797495
0.797495
0.789144
0.756785
0.73382
0
0.078926
0.240645
3,287
105
100
31.304762
0.688702
0.098266
0
0.670886
0
0
0.123046
0
0
0
0
0
0.126582
1
0.050633
false
0
0.037975
0
0.088608
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
863b76b4534decaeb9825aa7e0d5770527c9038a
1,632
py
Python
lib/tests.py
pchaigno/grr
69c81624c281216a45c4bb88a9d4e4b0613a3556
[ "Apache-2.0" ]
1
2015-01-07T05:29:57.000Z
2015-01-07T05:29:57.000Z
lib/tests.py
pchaigno/grr
69c81624c281216a45c4bb88a9d4e4b0613a3556
[ "Apache-2.0" ]
null
null
null
lib/tests.py
pchaigno/grr
69c81624c281216a45c4bb88a9d4e4b0613a3556
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """GRR library tests. This module loads and registers all the GRR library tests. """ # These need to register plugins so, pylint: disable=unused-import from grr.lib import access_control_test from grr.lib import aff4_test from grr.lib import artifact_test from grr.lib import artifact_utils_test...
32
66
0.838848
292
1,632
4.510274
0.260274
0.212604
0.296128
0.364465
0.622627
0.237661
0
0
0
0
0
0.002083
0.117647
1,632
50
67
32.64
0.9125
0.11826
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
865872cfa42f70b19d0b2baf43957da73b773885
278
py
Python
kokki/cookbooks/monit/libraries/resources.py
samuel/kokki
da98da55e0bba8db5bda993666a43c6fdc4cacdb
[ "BSD-3-Clause" ]
11
2015-01-14T00:43:26.000Z
2020-12-29T06:12:51.000Z
kokki/cookbooks/monit/libraries/resources.py
samuel/kokki
da98da55e0bba8db5bda993666a43c6fdc4cacdb
[ "BSD-3-Clause" ]
null
null
null
kokki/cookbooks/monit/libraries/resources.py
samuel/kokki
da98da55e0bba8db5bda993666a43c6fdc4cacdb
[ "BSD-3-Clause" ]
3
2015-01-14T01:05:56.000Z
2019-01-26T05:09:37.000Z
from kokki import Service, BooleanArgument class MonitService(Service): provider = "*monit.MonitServiceProvider" supports_restart = BooleanArgument(default=True) supports_status = BooleanArgument(default=True) supports_reload = BooleanArgument(default=False)
27.8
52
0.78777
26
278
8.307692
0.653846
0.305556
0.240741
0.314815
0
0
0
0
0
0
0
0
0.136691
278
9
53
30.888889
0.9
0
0
0
0
0
0.097473
0.097473
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
6
86e6c6f8e5adb7c54579c25856f05b763bf2afc0
115
py
Python
setup.py
rtloftin/interactive_agents
f7d57d1421000b2e8a79a9dff179b8fe7c8d3fc0
[ "MIT" ]
null
null
null
setup.py
rtloftin/interactive_agents
f7d57d1421000b2e8a79a9dff179b8fe7c8d3fc0
[ "MIT" ]
5
2022-03-11T07:58:53.000Z
2022-03-17T12:57:26.000Z
setup.py
rtloftin/interactive_agents
f7d57d1421000b2e8a79a9dff179b8fe7c8d3fc0
[ "MIT" ]
1
2022-03-11T19:28:53.000Z
2022-03-11T19:28:53.000Z
# TODO: Allow module to be installed for access from external scripts - get dependencies - read more about setup.py
115
115
0.791304
18
115
5.055556
1
0
0
0
0
0
0
0
0
0
0
0
0.165217
115
1
115
115
0.947917
0.982609
0
null
0
null
0
0
null
0
0
1
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
6
d4c87450c76a63312e7c77fd9f3470db2d0c3d7a
9,140
py
Python
tests/test_router_oauth.py
EndevelCZ/fastapi-users
58583b4be41104ed7ca03db6f361223f7fa9b2bb
[ "MIT" ]
null
null
null
tests/test_router_oauth.py
EndevelCZ/fastapi-users
58583b4be41104ed7ca03db6f361223f7fa9b2bb
[ "MIT" ]
null
null
null
tests/test_router_oauth.py
EndevelCZ/fastapi-users
58583b4be41104ed7ca03db6f361223f7fa9b2bb
[ "MIT" ]
null
null
null
from typing import Any, AsyncGenerator, Dict, cast import httpx import pytest from fastapi import FastAPI, status from httpx_oauth.oauth2 import BaseOAuth2 from fastapi_users.authentication import Authenticator from fastapi_users.router.oauth import generate_state_token, get_oauth_router from tests.conftest import ( ...
30.165017
88
0.647046
978
9,140
5.648262
0.108384
0.03168
0.058834
0.047791
0.84323
0.80449
0.793085
0.791637
0.787654
0.75887
0
0.008342
0.265536
9,140
302
89
30.264901
0.814539
0
0
0.658824
0
0
0.102845
0.023632
0
0
0
0
0.066667
1
0.003922
false
0
0.031373
0
0.047059
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
d4cf098997ac54aefc5805c85f63e6e41c7fe602
91
py
Python
examples/import_graph_example_pkg/module_a.py
SMAT-Lab/Scalpel
1022200043f2d9e8c24256821b863997ab34dd49
[ "Apache-2.0" ]
102
2021-12-15T09:08:48.000Z
2022-03-24T15:15:25.000Z
examples/import_graph_example_pkg/module_a.py
StarWatch27/Scalpel
8853e6e84f318f3cfeda0e03d274748b2fbe30fa
[ "Apache-2.0" ]
11
2021-12-04T11:48:31.000Z
2022-03-21T09:21:45.000Z
examples/import_graph_example_pkg/module_a.py
StarWatch27/Scalpel
8853e6e84f318f3cfeda0e03d274748b2fbe30fa
[ "Apache-2.0" ]
11
2021-12-04T11:47:41.000Z
2022-02-06T09:04:39.000Z
from .module_b import B from .module_c import C class A: def foo(self): return
15.166667
23
0.659341
16
91
3.625
0.6875
0.344828
0
0
0
0
0
0
0
0
0
0
0.274725
91
6
24
15.166667
0.878788
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0.2
1
0
1
0
0
null
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
1
1
0
0
6
d4efe0e92a8237d7093403c20234ebb5fd2b5a28
20,640
py
Python
Code/python/Py/MainWindow.py
guanjilai/FastCAE
7afd59a3c0a82c1edf8f5d09482e906e878eb807
[ "BSD-3-Clause" ]
null
null
null
Code/python/Py/MainWindow.py
guanjilai/FastCAE
7afd59a3c0a82c1edf8f5d09482e906e878eb807
[ "BSD-3-Clause" ]
null
null
null
Code/python/Py/MainWindow.py
guanjilai/FastCAE
7afd59a3c0a82c1edf8f5d09482e906e878eb807
[ "BSD-3-Clause" ]
null
null
null
#-------关联C++库--------------- import ctypes import platform from ctypes import * system = platform.system() if system == "Windows": pre = "./" suff = ".dll" else: pre = "./lib" suff = ".so" libfile = ctypes.cdll.LoadLibrary filename = pre+"MainWindow"+suff mw = libfile(filename) #---------------------------...
31.802773
107
0.74312
3,045
20,640
4.808539
0.078818
0.07499
0.09343
0.114192
0.865456
0.842098
0.781519
0.753039
0.667395
0.575058
0
0.012371
0.126647
20,640
648
108
31.851852
0.7999
0.006492
0
0.489524
0
0
0.032594
0
0
0
0
0
0
1
0.211429
false
0.211429
0.013333
0
0.224762
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
6
d4f63f2b28f7521feffe4516d909fa789aec811b
259,185
py
Python
pytgbot/bot/base.py
luckydonald/pytgbot
2fd6072e99f2656d335059fc0a1478b2a62f0c4c
[ "MIT" ]
52
2015-06-25T15:48:19.000Z
2021-08-10T20:29:11.000Z
pytgbot/bot/base.py
luckydonald/pytgbot
2fd6072e99f2656d335059fc0a1478b2a62f0c4c
[ "MIT" ]
16
2016-04-12T08:11:30.000Z
2021-07-22T18:00:07.000Z
pytgbot/bot/base.py
luckydonald/pytgbot
2fd6072e99f2656d335059fc0a1478b2a62f0c4c
[ "MIT" ]
14
2015-06-26T15:29:48.000Z
2021-08-10T20:29:14.000Z
# -*- coding: utf-8 -*- import json import re from abc import abstractmethod from warnings import warn from datetime import timedelta, datetime from urllib.parse import urlparse, urlunparse from luckydonaldUtils.logger import logging from luckydonaldUtils.encoding import unicode_type, to_unicode as u, to_native as n ...
49.209227
835
0.711025
34,411
259,185
5.11598
0.031531
0.015132
0.027061
0.038337
0.845262
0.795599
0.763238
0.738108
0.721408
0.714143
0
0.002101
0.223373
259,185
5,266
836
49.218572
0.872319
0.458194
0
0.697757
0
0.001181
0.105428
0.008489
0
0
0
0
0.235537
1
0.103306
false
0.002952
0.102715
0.001771
0.409681
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
0772dc6be08c1d342da8ce114bbbad8a8dd82909
1,521
py
Python
Chapter04/ext_pp.py
PacktPublishing/Extending-OpenStack
87487bb79ab4dabba4e693c00a2ebdfd223b8106
[ "MIT" ]
1
2021-10-04T04:52:48.000Z
2021-10-04T04:52:48.000Z
Chapter04/ext_pp.py
PacktPublishing/Extending-OpenStack
87487bb79ab4dabba4e693c00a2ebdfd223b8106
[ "MIT" ]
null
null
null
Chapter04/ext_pp.py
PacktPublishing/Extending-OpenStack
87487bb79ab4dabba4e693c00a2ebdfd223b8106
[ "MIT" ]
3
2018-02-28T09:21:24.000Z
2018-06-18T14:12:04.000Z
from neutron.plugins.ml2 import driver_api as api from neutron.db import api as db_api from oslo_log import log as pp_logger LOG = pp_logger.getLogger(__name__) class MyExtDriver(api.MechanismDriver): def initialize(self): LOG.info("Initializing MyExtDriver driver ") def create_port_precommit(self, context): ...
39
106
0.718606
189
1,521
5.671958
0.195767
0.045709
0.083955
0.123134
0.789179
0.771455
0.771455
0.736007
0.736007
0.736007
0
0.000801
0.179487
1,521
38
107
40.026316
0.858173
0
0
0.366667
0
0
0.036818
0
0
0
0
0
0
0
null
null
0
0.1
null
null
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
1
0
0
0
0
0
0
0
0
6
07847e811ffb2bc3a805159bac6c8893e5f6560b
45
py
Python
net/tools/logger/__init__.py
eungbean/DCGAN-pytorch-lightning-comet
414cbd5eb50b7e45848479a69077d2060210d4ec
[ "Apache-2.0" ]
null
null
null
net/tools/logger/__init__.py
eungbean/DCGAN-pytorch-lightning-comet
414cbd5eb50b7e45848479a69077d2060210d4ec
[ "Apache-2.0" ]
null
null
null
net/tools/logger/__init__.py
eungbean/DCGAN-pytorch-lightning-comet
414cbd5eb50b7e45848479a69077d2060210d4ec
[ "Apache-2.0" ]
null
null
null
from .getCometLogger import get_comet_logger
22.5
44
0.888889
6
45
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.088889
45
1
45
45
0.926829
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
078d12d2b7031a0bd0e329b58d421d15f54fd0d3
25,022
py
Python
app/utils.py
mvanderlinde/starter-snake-python
7db5fd5d8036e1cff0e34ec65b961568a63cc70d
[ "MIT" ]
null
null
null
app/utils.py
mvanderlinde/starter-snake-python
7db5fd5d8036e1cff0e34ec65b961568a63cc70d
[ "MIT" ]
null
null
null
app/utils.py
mvanderlinde/starter-snake-python
7db5fd5d8036e1cff0e34ec65b961568a63cc70d
[ "MIT" ]
null
null
null
closest_snake_distance = 1000 best_move = 'up' best_move_distance = 0 best_move_coords = { 'x': 0, 'y': 0 } def distance(me, thing): x_distance = abs(me['x']-thing['x']) y_distance = abs(me['y']-thing['y']) return x_distance + y_distance def has_room(data, me, direction): available_space = 0 my_length...
52.02079
211
0.609823
4,460
25,022
3.251121
0.01704
0.072414
0.12069
0.091034
0.918966
0.907034
0.90069
0.896276
0.890759
0.890759
0
0.015095
0.18188
25,022
480
212
52.129167
0.693225
0.001439
0
0.487472
0
0
0.159502
0
0
0
0
0
0
1
0.018223
false
0
0
0
0.261959
0.189066
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
07922714c1eaddab1c4b6ab43a09721440b0f604
43,291
py
Python
server/tests/unit/common/apis/test_api_v2.py
chanzuckerberg/single-cell-explorer
51402e8befeca61311e6bd7a4127fa24b9f6e7be
[ "MIT" ]
2
2021-08-30T16:32:16.000Z
2022-03-25T22:36:23.000Z
server/tests/unit/common/apis/test_api_v2.py
chanzuckerberg/single-cell-explorer
51402e8befeca61311e6bd7a4127fa24b9f6e7be
[ "MIT" ]
194
2021-08-18T23:52:44.000Z
2022-03-30T19:40:41.000Z
server/tests/unit/common/apis/test_api_v2.py
chanzuckerberg/single-cell-explorer
51402e8befeca61311e6bd7a4127fa24b9f6e7be
[ "MIT" ]
1
2022-01-21T09:20:15.000Z
2022-01-21T09:20:15.000Z
import json import os import time from http import HTTPStatus import hashlib from http.client import HTTPException from unittest.mock import patch import requests from server.common.config.app_config import AppConfig from server.tests import decode_fbs, FIXTURES_ROOT from server.tests.fixtures.fixtures import pbmc3k_...
46.103301
179
0.619806
4,973
43,291
5.163684
0.082043
0.088204
0.064605
0.028038
0.804081
0.781222
0.769851
0.741773
0.727014
0.705518
0
0.019898
0.240789
43,291
938
180
46.152452
0.761402
0.022083
0
0.624845
0
0.009938
0.28955
0.117144
0
0
0
0.001066
0.231056
1
0.06087
false
0
0.014907
0.001242
0.084472
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
079e66d7fc6f1e2a828c3335752a9c0276831c29
31
py
Python
segmate/editor/__init__.py
justacid/segmate
7b66b207ca353805f7ad9c7e003645cd2cbc227a
[ "MIT" ]
null
null
null
segmate/editor/__init__.py
justacid/segmate
7b66b207ca353805f7ad9c7e003645cd2cbc227a
[ "MIT" ]
null
null
null
segmate/editor/__init__.py
justacid/segmate
7b66b207ca353805f7ad9c7e003645cd2cbc227a
[ "MIT" ]
null
null
null
from .scene import EditorScene
15.5
30
0.83871
4
31
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.129032
31
1
31
31
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
07b6e9be5690fb08d6d57064068f79452dc6b11c
89
py
Python
tests/pieces/test_mjr.py
kirbysebastian/Salpakan
e05a43491f7c3c2528a3f9126cee3eba8308a94d
[ "MIT" ]
null
null
null
tests/pieces/test_mjr.py
kirbysebastian/Salpakan
e05a43491f7c3c2528a3f9126cee3eba8308a94d
[ "MIT" ]
null
null
null
tests/pieces/test_mjr.py
kirbysebastian/Salpakan
e05a43491f7c3c2528a3f9126cee3eba8308a94d
[ "MIT" ]
null
null
null
from packages.pieces.MJR import MJR def test_flg_name(): assert(str(MJR()) == 'MJR')
22.25
36
0.685393
14
89
4.214286
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.146067
89
4
37
22.25
0.776316
0
0
0
0
0
0.034483
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
6
07c8ebc7396f414a78bc994e2f0e1383840b9785
59
py
Python
snips_nlu/nlu_engine/__init__.py
CharlyBlavier/snips-nlu-Copy
829d513ac464e0421a264fd64d8b94f59a09875e
[ "Apache-2.0" ]
3,764
2018-02-27T08:25:52.000Z
2022-03-30T17:59:22.000Z
snips_nlu/nlu_engine/__init__.py
unicorns18/snips-nlu
74b2893c91fc0bafc919a7e088ecb0b2bd611acf
[ "Apache-2.0" ]
305
2018-02-28T13:45:23.000Z
2022-03-10T15:33:35.000Z
snips_nlu/nlu_engine/__init__.py
unicorns18/snips-nlu
74b2893c91fc0bafc919a7e088ecb0b2bd611acf
[ "Apache-2.0" ]
559
2018-03-04T15:44:15.000Z
2022-03-21T17:00:21.000Z
from snips_nlu.nlu_engine.nlu_engine import SnipsNLUEngine
29.5
58
0.898305
9
59
5.555556
0.666667
0.36
0
0
0
0
0
0
0
0
0
0
0.067797
59
1
59
59
0.909091
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
ed1d6b3dd4bb60c7770323ab6a63ac6a53777394
35,509
py
Python
tests/unit/utils/test_parsers.py
ipmb/salt
699912ef9cde28040378aa53d6c7a12d8af756b1
[ "Apache-2.0" ]
null
null
null
tests/unit/utils/test_parsers.py
ipmb/salt
699912ef9cde28040378aa53d6c7a12d8af756b1
[ "Apache-2.0" ]
null
null
null
tests/unit/utils/test_parsers.py
ipmb/salt
699912ef9cde28040378aa53d6c7a12d8af756b1
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ''' :codeauthor: :email:`Denys Havrysh <denys.gavrysh@gmail.com>` ''' # Import python libs from __future__ import absolute_import import os import logging # Import Salt Testing Libs from tests.support.unit import skipIf, TestCase from tests.support.helpers import destructiveTest, skip_if_n...
33.979904
114
0.64133
4,172
35,509
5.198466
0.065197
0.06529
0.037071
0.056806
0.81363
0.768213
0.750415
0.729851
0.714174
0.687431
0
0.000502
0.269988
35,509
1,044
115
34.012452
0.836162
0.156383
0
0.612524
0
0
0.079857
0.037409
0
0
0
0
0.158513
1
0.080235
false
0
0.023483
0
0.152642
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
ed5819aec212ba7ec19ab99e0678cadfeebabe5e
1,985
py
Python
scripts/slave/recipe_modules/chromium_tests/chromium_goma.py
mithro/chromium-build
98d83e124dc08510756906171922a22ba27b87fa
[ "BSD-3-Clause" ]
null
null
null
scripts/slave/recipe_modules/chromium_tests/chromium_goma.py
mithro/chromium-build
98d83e124dc08510756906171922a22ba27b87fa
[ "BSD-3-Clause" ]
null
null
null
scripts/slave/recipe_modules/chromium_tests/chromium_goma.py
mithro/chromium-build
98d83e124dc08510756906171922a22ba27b87fa
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from . import steps SPEC = { 'builders': { 'Chromium Linux Goma Staging': { 'chromium_config': 'chromium', 'chromium_apply_config': ['goma_sta...
27.957746
72
0.590932
195
1,985
5.728205
0.287179
0.098478
0.157565
0.107431
0.804834
0.804834
0.804834
0.804834
0.804834
0.804834
0
0.008011
0.24534
1,985
70
73
28.357143
0.73765
0.078086
0
0.646154
0
0
0.523001
0.142388
0
0
0
0
0
1
0
false
0
0.015385
0
0.015385
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
ed5ca80052e828b730a0871adf03cdddee1d9e82
115
py
Python
docknv/user/__init__.py
sharingcloud/docknv
6eec6a576a32cb05278b7af045f90859066c9f1d
[ "MIT" ]
null
null
null
docknv/user/__init__.py
sharingcloud/docknv
6eec6a576a32cb05278b7af045f90859066c9f1d
[ "MIT" ]
null
null
null
docknv/user/__init__.py
sharingcloud/docknv
6eec6a576a32cb05278b7af045f90859066c9f1d
[ "MIT" ]
null
null
null
"""User module.""" from .models import * # noqa from .methods import * # noqa from .exceptions import * # noqa
19.166667
33
0.652174
14
115
5.357143
0.571429
0.4
0.373333
0
0
0
0
0
0
0
0
0
0.208696
115
5
34
23
0.824176
0.243478
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
ed6c047a1d7a71a1bbc9526de9e8f4d97d1899f2
37,011
py
Python
tests/test_func_api_regression.py
Ic3fr0g/vecstack
a584bf69292e4d122d103559a25940c300e4cc36
[ "MIT" ]
null
null
null
tests/test_func_api_regression.py
Ic3fr0g/vecstack
a584bf69292e4d122d103559a25940c300e4cc36
[ "MIT" ]
null
null
null
tests/test_func_api_regression.py
Ic3fr0g/vecstack
a584bf69292e4d122d103559a25940c300e4cc36
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Main concept for testing returned arrays: # 1). create ground truth e.g. with cross_val_predict # 2). run vecstack # 3). compare returned arrays with ground truth # 4). compare arrays from file with ground truth #----------------------...
44.008323
101
0.564805
5,073
37,011
3.796373
0.056574
0.041279
0.067293
0.070616
0.842723
0.818267
0.804715
0.788566
0.765876
0.756529
0
0.022116
0.265759
37,011
840
102
44.060714
0.686587
0.228473
0
0.699048
0
0
0.020817
0
0
0
0
0
0.188571
1
0.057143
false
0
0.04381
0.007619
0.112381
0.007619
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
9c1b6d5d9b1912cb9366024bde1c8af75a45bf56
69
py
Python
Lesson15_Files/7-logCsvFile.py
StyvenSoft/degree-python
644953608948f341f5a20ceb9a02976a128b472b
[ "MIT" ]
23
2021-06-06T15:35:55.000Z
2022-03-21T06:53:42.000Z
Data Scientist Career Path/3. Python Fundamentals/11. Python Files/7. csv.py
shivaniverma1/Data-Scientist
f82939a411484311171465591455880c8e354750
[ "MIT" ]
null
null
null
Data Scientist Career Path/3. Python Fundamentals/11. Python Files/7. csv.py
shivaniverma1/Data-Scientist
f82939a411484311171465591455880c8e354750
[ "MIT" ]
9
2021-06-08T01:32:04.000Z
2022-03-18T15:38:09.000Z
with open('logger.csv') as log_csv_file: print(log_csv_file.read())
34.5
40
0.753623
13
69
3.692308
0.692308
0.25
0.416667
0
0
0
0
0
0
0
0
0
0.086957
69
2
41
34.5
0.761905
0
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
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
0
0
0
1
0
6
9c5c59b656d8b13c805d978bfdf344fd998bd838
219
py
Python
colorization_extract/config.py
wakananai/GANet
b345a36fef65e27dac90ec01002b2c39df848696
[ "MIT" ]
null
null
null
colorization_extract/config.py
wakananai/GANet
b345a36fef65e27dac90ec01002b2c39df848696
[ "MIT" ]
null
null
null
colorization_extract/config.py
wakananai/GANet
b345a36fef65e27dac90ec01002b2c39df848696
[ "MIT" ]
null
null
null
pts_in_hull_numpy='./colorization_extract/resources/pts_in_hull.npy' prototxt='./colorization_extract/models/colorization_deploy_v2.prototxt' caffemodel='./colorization_extract/models/colorization_release_v2.caffemodel'
73
77
0.881279
27
219
6.703704
0.518519
0.314917
0.099448
0.40884
0
0
0
0
0
0
0
0.009217
0.009132
219
3
77
73
0.824885
0
0
0
0
0
0.786364
0.786364
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
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
92bdd822ab6920f03b5f0c1c982f93ecc800cbbc
81
py
Python
utils/misc/__init__.py
in7erval/Wall-e-2.0
db28255db00a131b8fd297f09910f585f8fe3aca
[ "MIT" ]
null
null
null
utils/misc/__init__.py
in7erval/Wall-e-2.0
db28255db00a131b8fd297f09910f585f8fe3aca
[ "MIT" ]
null
null
null
utils/misc/__init__.py
in7erval/Wall-e-2.0
db28255db00a131b8fd297f09910f585f8fe3aca
[ "MIT" ]
null
null
null
from .throttling import rate_limit from . import logging from . import in_inline
20.25
34
0.814815
12
81
5.333333
0.666667
0.3125
0
0
0
0
0
0
0
0
0
0
0.148148
81
3
35
27
0.927536
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
92e5104e37d4e5f2649bd13338b2b14365d904f0
37
py
Python
uvcgan/train/callbacks/__init__.py
LS4GAN/uvcgan
376439ae2a9be684ff279ddf634fe137aadc5df5
[ "BSD-2-Clause" ]
20
2022-02-14T22:36:19.000Z
2022-03-29T06:31:30.000Z
uvcgan/train/callbacks/__init__.py
LS4GAN/uvcgan
376439ae2a9be684ff279ddf634fe137aadc5df5
[ "BSD-2-Clause" ]
1
2022-03-09T17:23:30.000Z
2022-03-09T17:23:30.000Z
uvcgan/train/callbacks/__init__.py
LS4GAN/uvcgan
376439ae2a9be684ff279ddf634fe137aadc5df5
[ "BSD-2-Clause" ]
3
2022-02-14T22:36:41.000Z
2022-03-20T12:53:29.000Z
from .history import TrainingHistory
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
13707cf1fbde71c2621ce60cb4fc1ee26e36e167
117
py
Python
manta_lab/tuning/internal/integrations/control_ray.py
coxwave/manta
fc55357e139dbf61854595475f401656440d53aa
[ "MIT" ]
17
2021-11-19T08:26:33.000Z
2022-01-27T10:22:09.000Z
manta_lab/tuning/internal/integrations/control_ray.py
coxwave/manta
fc55357e139dbf61854595475f401656440d53aa
[ "MIT" ]
95
2021-11-19T05:29:22.000Z
2022-03-03T09:39:46.000Z
manta_lab/tuning/internal/integrations/control_ray.py
coxwave/manta
fc55357e139dbf61854595475f401656440d53aa
[ "MIT" ]
2
2021-12-10T07:31:54.000Z
2021-12-10T07:43:37.000Z
from manta_lab.tuning.interface.controller import TuningController class RayController(TuningController): pass
19.5
66
0.837607
12
117
8.083333
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.111111
117
5
67
23.4
0.932692
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
137e261735387ec3528edc28ecb869c5aad5a2a7
27
py
Python
openstack_dashboard/tests/__init__.py
griddynamics/osc-robot-openstack-dashboard
93bafcf0c35ef6bd0e5a0a4434b222befa940e27
[ "Apache-2.0" ]
3
2015-05-18T13:49:44.000Z
2015-05-18T14:38:13.000Z
django-openstack/django_openstack/tests/__init__.py
tylesmit/openstack-dashboard
8199011a98aa8bc5672e977db014f61eccc4668c
[ "Apache-2.0" ]
null
null
null
django-openstack/django_openstack/tests/__init__.py
tylesmit/openstack-dashboard
8199011a98aa8bc5672e977db014f61eccc4668c
[ "Apache-2.0" ]
null
null
null
from testsettings import *
13.5
26
0.814815
3
27
7.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
1
27
27
0.956522
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
13b1c6ab73264a6ba6ea1722d71155e637612eb1
31
py
Python
tests/conftest.py
GCES-Pydemic/pydemic-ui
8e3d8bc9f73887edf6bd8ab78a4ead29fe8239ed
[ "MIT" ]
1
2020-09-30T13:02:53.000Z
2020-09-30T13:02:53.000Z
tests/conftest.py
GCES-Pydemic/pydemic-ui
8e3d8bc9f73887edf6bd8ab78a4ead29fe8239ed
[ "MIT" ]
29
2020-10-03T02:10:38.000Z
2020-12-07T22:19:13.000Z
tests/conftest.py
GCES-Pydemic/pydemic-ui
8e3d8bc9f73887edf6bd8ab78a4ead29fe8239ed
[ "MIT" ]
null
null
null
from pydemic.testing import en
15.5
30
0.83871
5
31
5.2
1
0
0
0
0
0
0
0
0
0
0
0
0.129032
31
1
31
31
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
13cc6391e569c235115293ad2132aee04233989a
1,560
py
Python
webStorm-APICloud/python_tools/Lib/test/test_future4.py
zzr925028429/androidyianyan
8967fdba92473e8e65ee222515dfc54cdae5bb0b
[ "MIT" ]
81
2017-03-13T08:24:01.000Z
2021-04-02T09:48:38.000Z
webStorm-APICloud/python_tools/Lib/test/test_future4.py
zzr925028429/androidyianyan
8967fdba92473e8e65ee222515dfc54cdae5bb0b
[ "MIT" ]
6
2017-04-30T08:36:55.000Z
2017-09-22T01:37:28.000Z
webStorm-APICloud/python_tools/Lib/test/test_future4.py
zzr925028429/androidyianyan
8967fdba92473e8e65ee222515dfc54cdae5bb0b
[ "MIT" ]
41
2017-03-18T14:11:58.000Z
2021-04-14T05:06:09.000Z
from __future__ import unicode_literals import unittest from test import test_support class TestFuture(unittest.TestCase): def assertType(self, obj, typ): self.assert_(type(obj) is typ, "type(%r) is %r, not %r" % (obj, type(obj), typ)) def test_unicode_strings(self): se...
32.5
62
0.555128
163
1,560
5.184049
0.190184
0.463905
0.472189
0.182249
0.686391
0.686391
0.686391
0.686391
0.685207
0.685207
0
0
0.271795
1,560
47
63
33.191489
0.743838
0
0
0
0
0
0.027759
0
0
0
0
0
0.75
0
null
null
0
0.075
null
null
0
0
0
0
null
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
6
13f11bd0c866eb89a8befc154a19b309843309d9
5,760
py
Python
pyggi/tree/edits.py
bloa/pyggi
79babee583460494b1c533e45e49c7cb23ed70c9
[ "MIT" ]
null
null
null
pyggi/tree/edits.py
bloa/pyggi
79babee583460494b1c533e45e49c7cb23ed70c9
[ "MIT" ]
null
null
null
pyggi/tree/edits.py
bloa/pyggi
79babee583460494b1c533e45e49c7cb23ed70c9
[ "MIT" ]
null
null
null
import random from ..base import AbstractEdit from . import AbstractTreeEngine, XmlEngine class NodeDeletion(AbstractEdit): NODE_TYPE = '' def apply(self, program, new_contents, new_locations): engine = program.engines[self.target[0]] return engine.do_delete(program.contents, program.location...
36.923077
102
0.628819
631
5,760
5.522979
0.114105
0.077475
0.052224
0.085796
0.791392
0.777331
0.777331
0.777331
0.746341
0.746341
0
0.006092
0.259028
5,760
155
103
37.16129
0.81045
0
0
0.656
0
0
0.025174
0
0
0
0
0
0
1
0.096
false
0
0.024
0
0.552
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
6
b939b2373eab92033d6ca0c080943c7362a8b3e5
9,179
py
Python
tests/test_rio_convert.py
ljburtz/rasterio
ce00d482faa24068f41164b79901eeec31777263
[ "BSD-3-Clause" ]
1
2020-10-25T17:32:06.000Z
2020-10-25T17:32:06.000Z
tests/test_rio_convert.py
ljburtz/rasterio
ce00d482faa24068f41164b79901eeec31777263
[ "BSD-3-Clause" ]
null
null
null
tests/test_rio_convert.py
ljburtz/rasterio
ce00d482faa24068f41164b79901eeec31777263
[ "BSD-3-Clause" ]
null
null
null
import os from click.testing import CliRunner import numpy as np import pytest import rasterio from rasterio.rio.main import main_group TEST_BBOX = [-11850000, 4804000, -11840000, 4808000] def bbox(*args): return ' '.join([str(x) for x in args]) @pytest.mark.parametrize("bounds", [bbox(*TEST_BBOX)]) def tes...
32.66548
88
0.610851
1,191
9,179
4.608732
0.124265
0.04427
0.078703
0.096192
0.815631
0.796138
0.767899
0.709054
0.705046
0.677355
0
0.048157
0.228565
9,179
280
89
32.782143
0.727016
0.030069
0
0.617512
0
0
0.157302
0.038847
0
0
0
0
0.24424
1
0.096774
false
0
0.02765
0.004608
0.129032
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
b9aaf321efaf8fa9b763e1953a3cdd6a7d93287a
64
py
Python
forklib/__init__.py
leenr/forklib
08e2bf1aed41c1247ddf1f859838fa4b2b93b939
[ "Apache-2.0" ]
null
null
null
forklib/__init__.py
leenr/forklib
08e2bf1aed41c1247ddf1f859838fa4b2b93b939
[ "Apache-2.0" ]
null
null
null
forklib/__init__.py
leenr/forklib
08e2bf1aed41c1247ddf1f859838fa4b2b93b939
[ "Apache-2.0" ]
null
null
null
from .forking import fork, get_id from .iterator import fork_map
32
33
0.828125
11
64
4.636364
0.727273
0.392157
0
0
0
0
0
0
0
0
0
0
0.125
64
2
34
32
0.910714
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
b9dfcd2434df34442ad5e4b795a1356b1a407b4d
67
py
Python
boa3_test/test_sc/list_test/TypeHintAssignment.py
hal0x2328/neo3-boa
6825a3533384cb01660773050719402a9703065b
[ "Apache-2.0" ]
25
2020-07-22T19:37:43.000Z
2022-03-08T03:23:55.000Z
boa3_test/test_sc/list_test/TypeHintAssignment.py
hal0x2328/neo3-boa
6825a3533384cb01660773050719402a9703065b
[ "Apache-2.0" ]
419
2020-04-23T17:48:14.000Z
2022-03-31T13:17:45.000Z
boa3_test/test_sc/list_test/TypeHintAssignment.py
hal0x2328/neo3-boa
6825a3533384cb01660773050719402a9703065b
[ "Apache-2.0" ]
15
2020-05-21T21:54:24.000Z
2021-11-18T06:17:24.000Z
from typing import List def Main(): a: List[int] = [1, 2, 3]
11.166667
28
0.567164
12
67
3.166667
0.916667
0
0
0
0
0
0
0
0
0
0
0.061224
0.268657
67
5
29
13.4
0.714286
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
6
b9edd5b673a1e60f51e542300da9c5579ccb4361
15,884
py
Python
tests/_sync/test_connection_pool.py
devl00p/httpcore
4e2be44cd25f47cf1106e356bdedb77b724d4112
[ "BSD-3-Clause" ]
null
null
null
tests/_sync/test_connection_pool.py
devl00p/httpcore
4e2be44cd25f47cf1106e356bdedb77b724d4112
[ "BSD-3-Clause" ]
null
null
null
tests/_sync/test_connection_pool.py
devl00p/httpcore
4e2be44cd25f47cf1106e356bdedb77b724d4112
[ "BSD-3-Clause" ]
null
null
null
from typing import List import pytest from tests import concurrency from httpcore import ConnectionPool, ConnectError, UnsupportedProtocol from httpcore.backends.mock import MockBackend def test_connection_pool_with_keepalive(): """ By default HTTP/1.1 requests should be returned to the connection pool. ...
34.232759
98
0.580773
1,935
15,884
4.683204
0.106977
0.009049
0.013573
0.02207
0.836019
0.816817
0.8145
0.799603
0.799603
0.778636
0
0.025141
0.296336
15,884
463
99
34.306695
0.785631
0.151662
0
0.662539
0
0.068111
0.304302
0.070943
0
0
0
0
0.108359
1
0.058824
false
0
0.01548
0
0.077399
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
6a42cfe8316e13a326b79a2ced1f6fb696de079e
7,210
py
Python
test/test_1d_solver.py
Pseudomanifold/POT
5861209f27fe8e022eca2ed2c8d0bb1da4a1146b
[ "MIT" ]
830
2020-04-21T03:45:02.000Z
2022-03-31T18:27:08.000Z
test/test_1d_solver.py
Pseudomanifold/POT
5861209f27fe8e022eca2ed2c8d0bb1da4a1146b
[ "MIT" ]
192
2020-04-17T10:15:37.000Z
2022-03-24T10:00:57.000Z
test/test_1d_solver.py
Pseudomanifold/POT
5861209f27fe8e022eca2ed2c8d0bb1da4a1146b
[ "MIT" ]
402
2020-04-17T18:24:00.000Z
2022-03-29T18:26:33.000Z
"""Tests for module 1d Wasserstein solver""" # Author: Adrien Corenflos <adrien.corenflos@aalto.fi> # Nicolas Courty <ncourty@irisa.fr> # # License: MIT License import numpy as np import pytest import ot from ot.lp import wasserstein_1d from ot.backend import get_backend_list, tf from scipy.stats import was...
30.680851
86
0.630929
1,223
7,210
3.501226
0.121832
0.032228
0.056516
0.045773
0.812004
0.794021
0.73844
0.725362
0.725362
0.709248
0
0.028344
0.231761
7,210
234
87
30.811966
0.744719
0.119279
0
0.685535
0
0
0.024984
0
0
0
0
0
0.163522
1
0.044025
false
0
0.044025
0
0.09434
0.012579
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
e01b9fdbf8f09762ab20f68310c1faac13e9d8d8
319
py
Python
web/ace/admin.py
MattYu/django-docker-nginx-postgres-letsEncrypt-jobBoard
a59d4c3d8adf38eaa986eaf5efc21f774010aa2a
[ "MIT" ]
1
2020-06-03T02:10:30.000Z
2020-06-03T02:10:30.000Z
web/ace/admin.py
MattYu/django-docker-nginx-postgres-letsEncrypt-jobBoard
a59d4c3d8adf38eaa986eaf5efc21f774010aa2a
[ "MIT" ]
6
2020-06-15T00:09:02.000Z
2022-03-12T00:28:10.000Z
web/ace/admin.py
MattYu/django-docker-nginx-postgres-letsEncrypt-jobBoard
a59d4c3d8adf38eaa986eaf5efc21f774010aa2a
[ "MIT" ]
1
2020-10-29T03:09:08.000Z
2020-10-29T03:09:08.000Z
from django.contrib import admin from jobapplications.models import JobApplication, Education, Experience, SupportingDocument, CoverLetter from ace.models import Candidate_termsAndConditions, Employer_termsAndConditions admin.site.register(Candidate_termsAndConditions) admin.site.register(Employer_termsAndConditions)
53.166667
105
0.890282
32
319
8.75
0.5625
0.085714
0.192857
0.25
0
0
0
0
0
0
0
0
0.059561
319
6
106
53.166667
0.933333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
0eb33d2bb907f996ff46a3d34ca6c6aee714a788
10,316
py
Python
test_core.py
eccentricOrange/npbc
3e3411093c476c29fbc01a4da768aa6f909cdc24
[ "MIT" ]
1
2021-11-01T08:21:14.000Z
2021-11-01T08:21:14.000Z
test_core.py
eccentricOrange/npbc
3e3411093c476c29fbc01a4da768aa6f909cdc24
[ "MIT" ]
2
2021-11-25T07:55:47.000Z
2022-02-06T11:11:25.000Z
test_core.py
eccentricOrange/npbc
3e3411093c476c29fbc01a4da768aa6f909cdc24
[ "MIT" ]
null
null
null
""" test data-independent functions from the core - none of these depend on data in the database """ from datetime import date as date_type from pytest import raises import npbc_core from npbc_exceptions import InvalidMonthYear, InvalidUndeliveredString def test_get_number_of_each_weekday(): test_function = np...
32.338558
73
0.592187
1,483
10,316
3.931895
0.070802
0.139942
0.207855
0.22226
0.814612
0.772252
0.706397
0.658206
0.652375
0.62888
0
0.07343
0.252811
10,316
318
74
32.440252
0.683057
0.014056
0
0.632353
0
0
0.033858
0
0
0
0
0
0.095588
1
0.018382
false
0
0.014706
0
0.033088
0
0
0
0
null
0
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0eba6bbcf0e7a6ccb3a07882187316f1625695ea
98
py
Python
src/ecommerce/views.py
Maelstroms38/ecommerce
78b600ee5cfb84c1a5c5b3d7b16f6c1d20908788
[ "MIT" ]
null
null
null
src/ecommerce/views.py
Maelstroms38/ecommerce
78b600ee5cfb84c1a5c5b3d7b16f6c1d20908788
[ "MIT" ]
null
null
null
src/ecommerce/views.py
Maelstroms38/ecommerce
78b600ee5cfb84c1a5c5b3d7b16f6c1d20908788
[ "MIT" ]
null
null
null
from django.shortcuts import render def about(request): return render(request, "about.html", {})
24.5
41
0.755102
13
98
5.692308
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.112245
98
4
41
24.5
0.850575
0
0
0
0
0
0.10101
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
16214166538b6404b5bd5a2ce035131bf924ad37
8,164
py
Python
tests/cli/test_calc.py
unkcpz/aiida-optimade
598016f0a1d0c8cab026bc0d7d04c75135c6970c
[ "MIT" ]
5
2019-12-03T23:53:00.000Z
2020-08-25T06:04:06.000Z
tests/cli/test_calc.py
unkcpz/aiida-optimade
598016f0a1d0c8cab026bc0d7d04c75135c6970c
[ "MIT" ]
310
2019-12-03T23:53:01.000Z
2022-03-30T06:57:40.000Z
tests/cli/test_calc.py
unkcpz/aiida-optimade
598016f0a1d0c8cab026bc0d7d04c75135c6970c
[ "MIT" ]
6
2019-12-03T23:52:13.000Z
2022-01-13T11:16:28.000Z
"""Test CLI `aiida-optimade calc` command""" # pylint: disable=unused-argument,too-many-locals,import-error import os import re import pytest @pytest.mark.skipif( os.getenv("PYTEST_OPTIMADE_CONFIG_FILE") is not None, reason="Test is not for MongoDB", ) def test_calc_all_new(run_cli_command, aiida_profile, to...
31.279693
88
0.659603
1,017
8,164
5.091445
0.155359
0.05562
0.032445
0.04635
0.833526
0.824643
0.818656
0.812669
0.80533
0.803592
0
0.002091
0.238609
8,164
260
89
31.4
0.83092
0.140005
0
0.680851
0
0
0.183044
0.053794
0
0
0
0
0.095745
1
0.015957
false
0
0.111702
0
0.12766
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
164e7db7f1377e33ba358d6e57b2f0b41441ffc7
88
py
Python
saturn.py
mrzv/saturn
e89e01c8cfb2bf9980f4e3117a3d4b498305dc59
[ "BSD-3-Clause-LBNL" ]
null
null
null
saturn.py
mrzv/saturn
e89e01c8cfb2bf9980f4e3117a3d4b498305dc59
[ "BSD-3-Clause-LBNL" ]
null
null
null
saturn.py
mrzv/saturn
e89e01c8cfb2bf9980f4e3117a3d4b498305dc59
[ "BSD-3-Clause-LBNL" ]
null
null
null
#!/usr/bin/env python3 import saturn_notebook.__main__ saturn_notebook.__main__.main()
17.6
31
0.818182
12
88
5.166667
0.666667
0.451613
0.580645
0
0
0
0
0
0
0
0
0.012195
0.068182
88
4
32
22
0.743902
0.238636
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
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
1664af147e19d0c4cf4f77b21473a938b9832a4f
103
py
Python
code/tools/line_length.py
akashpattnaik/pre-ictal-similarity
85f963aa0c6d2d0a6e971ffa005c400e136a0a76
[ "MIT" ]
null
null
null
code/tools/line_length.py
akashpattnaik/pre-ictal-similarity
85f963aa0c6d2d0a6e971ffa005c400e136a0a76
[ "MIT" ]
null
null
null
code/tools/line_length.py
akashpattnaik/pre-ictal-similarity
85f963aa0c6d2d0a6e971ffa005c400e136a0a76
[ "MIT" ]
null
null
null
import numpy as np def line_length(signal): return np.sum(np.abs(np.diff(signal, axis=0)), axis=0)
25.75
58
0.708738
20
103
3.6
0.7
0.138889
0
0
0
0
0
0
0
0
0
0.022472
0.135922
103
4
58
25.75
0.786517
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6