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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
079bd97899d3930ca856d82c71c1669aea3ccd3a
| 378
|
py
|
Python
|
recruiters/views.py
|
prikmm/CareerCradle
|
a0783cc2fa4074ca88e7a1f2f5f36271c861dac5
|
[
"MIT"
] | null | null | null |
recruiters/views.py
|
prikmm/CareerCradle
|
a0783cc2fa4074ca88e7a1f2f5f36271c861dac5
|
[
"MIT"
] | 1
|
2021-04-14T12:24:41.000Z
|
2021-04-18T07:33:11.000Z
|
recruiters/views.py
|
prikmm/CareerCradle
|
a0783cc2fa4074ca88e7a1f2f5f36271c861dac5
|
[
"MIT"
] | 3
|
2021-04-06T13:54:44.000Z
|
2021-05-03T17:28:59.000Z
|
from django.shortcuts import render
from django.views.generic import TemplateView
from django.contrib.auth.mixins import LoginRequiredMixin
# Create your views here.
class RecruiterHomeView(LoginRequiredMixin, TemplateView):
template_name = "recruiters/home.html"
class JobsPostedView(LoginRequiredMixin, TemplateView):
template_name = "recruiters/jobs_posted.html"
| 29.076923
| 58
| 0.822751
| 41
| 378
| 7.512195
| 0.609756
| 0.097403
| 0.246753
| 0.272727
| 0.337662
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.108466
| 378
| 12
| 59
| 31.5
| 0.913947
| 0.060847
| 0
| 0
| 0
| 0
| 0.133523
| 0.076705
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.428571
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
07a2f8cce39f0b003a35ede927161829ca248183
| 93
|
py
|
Python
|
apps/product/apps.py
|
Iyonissio/Kadju-App
|
51797fc5d5a4f98fffe80bbed4d96c43b8cd0b04
|
[
"MIT"
] | null | null | null |
apps/product/apps.py
|
Iyonissio/Kadju-App
|
51797fc5d5a4f98fffe80bbed4d96c43b8cd0b04
|
[
"MIT"
] | null | null | null |
apps/product/apps.py
|
Iyonissio/Kadju-App
|
51797fc5d5a4f98fffe80bbed4d96c43b8cd0b04
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class ProductConfig(AppConfig):
name = 'apps.product'
| 18.6
| 33
| 0.763441
| 11
| 93
| 6.454545
| 0.818182
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.150538
| 93
| 4
| 34
| 23.25
| 0.898734
| 0
| 0
| 0
| 0
| 0
| 0.129032
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
07a61966ccc6309e67f6e8b34ee7d9d80ad3aff3
| 39
|
py
|
Python
|
Autokey/CapsKeybinds/ctrl alt/up.py
|
MisaghM/Capslock-Keybindings
|
00332c7d39cf776c43fe13aa08e1c2969747425d
|
[
"MIT"
] | 1
|
2021-11-05T19:39:36.000Z
|
2021-11-05T19:39:36.000Z
|
Autokey/CapsKeybinds/ctrl alt/up.py
|
MisaghM/Capslock-Keybindings
|
00332c7d39cf776c43fe13aa08e1c2969747425d
|
[
"MIT"
] | null | null | null |
Autokey/CapsKeybinds/ctrl alt/up.py
|
MisaghM/Capslock-Keybindings
|
00332c7d39cf776c43fe13aa08e1c2969747425d
|
[
"MIT"
] | null | null | null |
keyboard.send_keys("<ctrl>+<alt>+<up>")
| 39
| 39
| 0.666667
| 6
| 39
| 4.166667
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 39
| 1
| 39
| 39
| 0.641026
| 0
| 0
| 0
| 0
| 0
| 0.425
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
07ab28b1bc2872ebe6afa8fe7bd69c9b4fcb826c
| 22
|
py
|
Python
|
tool_yy/lib/__init__.py
|
guaidashu/python3_tool_myself
|
26bf3eda4ac89befbb041520d0b9fa4e6709cfea
|
[
"MIT"
] | 1
|
2019-07-14T02:19:15.000Z
|
2019-07-14T02:19:15.000Z
|
tool_yy/lib/__init__.py
|
guaidashu/python3_tool_myself
|
26bf3eda4ac89befbb041520d0b9fa4e6709cfea
|
[
"MIT"
] | 1
|
2021-06-02T00:03:05.000Z
|
2021-06-02T00:03:05.000Z
|
tool_yy/lib/__init__.py
|
guaidashu/python3_tool_myself
|
26bf3eda4ac89befbb041520d0b9fa4e6709cfea
|
[
"MIT"
] | null | null | null |
"""
author songjie
"""
| 7.333333
| 14
| 0.590909
| 2
| 22
| 6.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.136364
| 22
| 3
| 15
| 7.333333
| 0.684211
| 0.636364
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
07ae7a84114e5968812d23293d942ceed6ce74cd
| 156
|
py
|
Python
|
billy2pupa/al.py
|
backwardn/billy
|
07ac788d25a6c79d03dd0e3d55459bbb55e22439
|
[
"BSD-3-Clause"
] | 33
|
2016-11-05T07:25:48.000Z
|
2022-01-31T03:40:43.000Z
|
billy2pupa/al.py
|
backwardn/billy
|
07ac788d25a6c79d03dd0e3d55459bbb55e22439
|
[
"BSD-3-Clause"
] | 16
|
2015-02-05T21:25:58.000Z
|
2015-09-18T20:27:06.000Z
|
billy2pupa/al.py
|
backwardn/billy
|
07ac788d25a6c79d03dd0e3d55459bbb55e22439
|
[
"BSD-3-Clause"
] | 22
|
2015-03-23T07:13:20.000Z
|
2016-06-10T04:41:06.000Z
|
from pupa.scrape import Post
from openstatesapi.jurisdiction import make_jurisdiction
Alabama = make_jurisdiction('al')
Alabama.url = 'http://alabama.gov'
| 26
| 56
| 0.807692
| 20
| 156
| 6.2
| 0.65
| 0.258065
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.096154
| 156
| 5
| 57
| 31.2
| 0.879433
| 0
| 0
| 0
| 0
| 0
| 0.128205
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
07dd50be0887aa3db70d0388d6b47477ae068a95
| 318
|
py
|
Python
|
api/index.py
|
hawzie197/pyllama
|
20e1fd1d6edcbb164f190684fb96fdff00f6a701
|
[
"BSD-3-Clause"
] | 4
|
2019-10-21T04:27:04.000Z
|
2019-11-17T04:08:39.000Z
|
api/index.py
|
hawzie197/llama-api
|
20e1fd1d6edcbb164f190684fb96fdff00f6a701
|
[
"BSD-3-Clause"
] | 32
|
2019-10-21T01:44:57.000Z
|
2022-02-18T13:07:50.000Z
|
api/index.py
|
hawzie197/llama-api
|
20e1fd1d6edcbb164f190684fb96fdff00f6a701
|
[
"BSD-3-Clause"
] | null | null | null |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.shortcuts import render_to_response
from django.contrib.staticfiles.views import serve
def static_file(request, fname):
result = serve(request, fname)
return result
def index(request):
return render_to_response("index.html")
| 21.2
| 50
| 0.761006
| 42
| 318
| 5.52381
| 0.619048
| 0.086207
| 0.137931
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.00369
| 0.147799
| 318
| 14
| 51
| 22.714286
| 0.852399
| 0.066038
| 0
| 0
| 0
| 0
| 0.033898
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.375
| 0.125
| 0.875
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 4
|
07eda4212ab48cf99354220e36514bb00899ba78
| 476
|
py
|
Python
|
pciservicescafe/auth/config.py
|
jaydeepc/template_cafe
|
62b6b54e33319f8f0bce89145f1b5b84e4759582
|
[
"Apache-2.0"
] | null | null | null |
pciservicescafe/auth/config.py
|
jaydeepc/template_cafe
|
62b6b54e33319f8f0bce89145f1b5b84e4759582
|
[
"Apache-2.0"
] | null | null | null |
pciservicescafe/auth/config.py
|
jaydeepc/template_cafe
|
62b6b54e33319f8f0bce89145f1b5b84e4759582
|
[
"Apache-2.0"
] | null | null | null |
from cafe.engine.models.data_interfaces import ConfigSectionInterface
class PCIAuthConfig(ConfigSectionInterface):
SECTION_NAME = 'token_api'
@property
def version(self):
return self.get('version')
@property
def username(self):
return self.get('username')
@property
def password(self):
return self.get('password')
@property
def authentication_endpoint(self):
return self.get('authentication_endpoint')
| 21.636364
| 69
| 0.689076
| 49
| 476
| 6.591837
| 0.489796
| 0.136223
| 0.173375
| 0.210526
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.216387
| 476
| 22
| 70
| 21.636364
| 0.865952
| 0
| 0
| 0.266667
| 0
| 0
| 0.115304
| 0.048218
| 0
| 0
| 0
| 0
| 0
| 1
| 0.266667
| false
| 0.133333
| 0.066667
| 0.266667
| 0.733333
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
|
0
| 4
|
07f2a01359a8fd59cd2b9150c6fdbbf565e03de2
| 129
|
py
|
Python
|
config.py
|
lujobauer/conflict_authors
|
3b17dff8c3dcc9ba9bc083907e4b0088a8cda18f
|
[
"BSD-2-Clause"
] | 4
|
2020-04-30T12:49:53.000Z
|
2020-05-01T08:59:48.000Z
|
config.py
|
lujobauer/conflict_authors
|
3b17dff8c3dcc9ba9bc083907e4b0088a8cda18f
|
[
"BSD-2-Clause"
] | null | null | null |
config.py
|
lujobauer/conflict_authors
|
3b17dff8c3dcc9ba9bc083907e4b0088a8cda18f
|
[
"BSD-2-Clause"
] | 2
|
2017-05-14T15:31:56.000Z
|
2020-11-23T01:49:57.000Z
|
CONFLICT_YEARS = ['2013', '2014']
db_host = "127.0.0.1"
user = # hotcrp user name
passwd = # hotcrp passwd
db_name = # hotcrp db
| 21.5
| 33
| 0.666667
| 21
| 129
| 3.952381
| 0.619048
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.132075
| 0.178295
| 129
| 5
| 34
| 25.8
| 0.650943
| 0.310078
| 0
| 0
| 0
| 0
| 0.2
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0.2
| 0
| null | null | 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
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
58002825932852d109af35b7860093991f42ab5d
| 356
|
py
|
Python
|
backend/home/models.py
|
crowdbotics-dev/testapp120621-dev-23193
|
a77f05d00fdcde8fe976430742a9d15e3a5a20a1
|
[
"FTL",
"AML",
"RSA-MD"
] | null | null | null |
backend/home/models.py
|
crowdbotics-dev/testapp120621-dev-23193
|
a77f05d00fdcde8fe976430742a9d15e3a5a20a1
|
[
"FTL",
"AML",
"RSA-MD"
] | null | null | null |
backend/home/models.py
|
crowdbotics-dev/testapp120621-dev-23193
|
a77f05d00fdcde8fe976430742a9d15e3a5a20a1
|
[
"FTL",
"AML",
"RSA-MD"
] | null | null | null |
from django.conf import settings
from django.db import models
class HomePage(models.Model):
"Generated Model"
body = models.TextField()
class CustomText(models.Model):
"Generated Model"
title = models.CharField(
max_length=150,
)
class Image(models.Model):
"Generated Model"
image1 = models.PositiveIntegerField()
| 17.8
| 42
| 0.699438
| 40
| 356
| 6.2
| 0.55
| 0.133065
| 0.241935
| 0.302419
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.014134
| 0.205056
| 356
| 19
| 43
| 18.736842
| 0.862191
| 0.132022
| 0
| 0.230769
| 1
| 0
| 0.126404
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.153846
| 0
| 0.615385
| 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
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
5804155ae19f728b363d779c20324f58fca27f4b
| 1,298
|
py
|
Python
|
rl/agents/algos/action_function/basic.py
|
awesome-archive/rl
|
7b6ce5b41c47394d0f68903fd675e47f68f28958
|
[
"MIT"
] | 98
|
2019-04-03T18:54:24.000Z
|
2021-07-14T05:39:07.000Z
|
rl/agents/algos/action_function/basic.py
|
EXYNOS-999/rl
|
ee6dd27bdbddd2cad32b85981a70a4db0e4cf1ee
|
[
"MIT"
] | 8
|
2019-04-10T10:54:27.000Z
|
2019-08-09T01:24:30.000Z
|
rl/agents/algos/action_function/basic.py
|
EXYNOS-999/rl
|
ee6dd27bdbddd2cad32b85981a70a4db0e4cf1ee
|
[
"MIT"
] | 24
|
2019-04-08T17:22:25.000Z
|
2021-06-19T08:43:02.000Z
|
import random
import numpy as np
import tensorflow as tf
from .registry import register
from ....utils.utils import ModeKeys
@register
def random_action(hparams, distribution, worker_id=0):
return random.randint(0, hparams.num_actions - 1)
@register
def epsilon_action(hparams, distribution, worker_id=0):
# perform random action during training only
if (hparams.mode[worker_id] == ModeKeys.TRAIN and
random.random() < hparams.epsilon[worker_id]):
return random_action(hparams, distribution)
else:
return max_action(hparams, distribution)
@register
def max_action(hparams, distribution, worker_id=0):
return np.argmax(distribution)
@register
def non_uniform_random_action(hparams, distribution, worker_id=0):
return np.random.choice(range(hparams.num_actions), p=distribution.ravel())
@register
def uniform_random_action(hparams, distribution, worker_id=0):
if hparams.mode[worker_id] == ModeKeys.TRAIN:
h = np.random.uniform(size=distribution.shape)
return np.argmax(distribution - np.log(-np.log(h)))
else:
return max_action(hparams, distribution, worker_id=0)
@register
def normal_noise_action(hparams, action, worker_id=0):
return np.clip(
np.random.normal(action, hparams.variance), hparams.action_low,
hparams.action_high)
| 27.041667
| 77
| 0.762712
| 178
| 1,298
| 5.410112
| 0.292135
| 0.134995
| 0.207684
| 0.193146
| 0.412253
| 0.3946
| 0.30945
| 0.1973
| 0
| 0
| 0
| 0.007986
| 0.131741
| 1,298
| 47
| 78
| 27.617021
| 0.846495
| 0.032357
| 0
| 0.242424
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.181818
| false
| 0
| 0.151515
| 0.121212
| 0.575758
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
ed046c244b23eb51e42003e3c5a6a5ea1bd786e3
| 332
|
py
|
Python
|
Aniyom Ebenezer/Phase 2/STRINGS/Day_32_Challenge_Solution/Question 8 Solution.py
|
CodedLadiesInnovateTech/-python-challenge-solutions
|
430cd3eb84a2905a286819eef384ee484d8eb9e7
|
[
"MIT"
] | 6
|
2020-05-23T19:53:25.000Z
|
2021-05-08T20:21:30.000Z
|
Aniyom Ebenezer/Phase 2/STRINGS/Day_32_Challenge_Solution/Question 8 Solution.py
|
CodedLadiesInnovateTech/-python-challenge-solutions
|
430cd3eb84a2905a286819eef384ee484d8eb9e7
|
[
"MIT"
] | 8
|
2020-05-14T18:53:12.000Z
|
2020-07-03T00:06:20.000Z
|
Aniyom Ebenezer/Phase 2/STRINGS/Day_32_Challenge_Solution/Question 8 Solution.py
|
CodedLadiesInnovateTech/-python-challenge-solutions
|
430cd3eb84a2905a286819eef384ee484d8eb9e7
|
[
"MIT"
] | 39
|
2020-05-10T20:55:02.000Z
|
2020-09-12T17:40:59.000Z
|
"""
Write a Python program to count occurrences of a substring in a string.
"""
str1 = "This pandemic is something serious, in the sense that a virus can spread while lockdown is on. Let's re_examine this virus please."
print("The Text is:", str1)
print()
print("The Number of occurence of the word virus is: ",str1.count("virus"))
| 47.428571
| 139
| 0.737952
| 57
| 332
| 4.280702
| 0.631579
| 0.065574
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.010791
| 0.162651
| 332
| 7
| 140
| 47.428571
| 0.866906
| 0.213855
| 0
| 0
| 0
| 0.25
| 0.759843
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.75
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
ed0e178fdfa421030dee64584d3159bd420004a9
| 1,788
|
py
|
Python
|
scripts/testsp_heapprofiling.py
|
ghxwm/tflow
|
f246ad0990e07943670e85864c2a26869e836e2d
|
[
"Apache-2.0"
] | 1
|
2018-07-21T18:57:31.000Z
|
2018-07-21T18:57:31.000Z
|
scripts/testsp_heapprofiling.py
|
ghxwm/tflow
|
f246ad0990e07943670e85864c2a26869e836e2d
|
[
"Apache-2.0"
] | null | null | null |
scripts/testsp_heapprofiling.py
|
ghxwm/tflow
|
f246ad0990e07943670e85864c2a26869e836e2d
|
[
"Apache-2.0"
] | null | null | null |
from subprocess import call, CalledProcessError
import sys
import subprocess
import fnmatch
import os
tests = [
("tests/sunspider1/3d-cube", 1),
("tests/sunspider1/3d-morph", 1),
("tests/sunspider1/3d-raytrace", 1),
("tests/sunspider1/access-binary-trees", 1),
("tests/sunspider1/access-fannkuch", 1),
("tests/sunspider1/access-nbody", 1),
("tests/sunspider1/access-nsieve", 1),
("tests/sunspider1/bitops-3bit-bits-in-byte", 1),
("tests/sunspider1/bitops-bits-in-byte", 1),
("tests/sunspider1/bitops-bitwise-and", 1),
("tests/sunspider1/controlflow-recursive", 1),
("tests/sunspider1/crypto-md5", 1),
("tests/sunspider1/crypto-sha1", 1),
("tests/sunspider1/date-format-tofte", 1),
("tests/sunspider1/date-format-xparb", 1),
("tests/sunspider1/math-cordic", 1),
("tests/sunspider1/math-partial-sums", 1),
("tests/sunspider1/math-spectral-norm", 1),
("tests/sunspider1/regexp-dna", 1),
("tests/sunspider1/string-fasta", 1),
("tests/sunspider1/string-tagcloud", 1),
("tests/sunspider1/string-unpack-code", 1),
("tests/sunspider1/bitops-nsieve-bits", 1),
("tests/sunspider1/crypto-aes", 1),
("tests/sunspider1/string-validate-input", 1),
("tests/sunspider1/string-base64", 1)]
SCRIPT = "src/python/jalangi_command.py"
failed = 0
try:
os.remove("jalangi_test_results")
except :pass
pat = "*" + sys.argv[1] + "*" if len(sys.argv) > 1 else None
if pat != None:
tests = [(c,e) for (c,e) in tests if fnmatch.fnmatch(c,pat)]
total = len(tests)
print "Running {} tests".format(total)
for (case, expected) in tests:
try:
call(["python", SCRIPT, "analyze", "-a", "analyses/objectalloc/ObjectAllocationTrackerEngine", case])
except CalledProcessError as e:
pass
| 34.384615
| 109
| 0.66387
| 229
| 1,788
| 5.170306
| 0.384279
| 0.329392
| 0.337838
| 0.092905
| 0.097973
| 0.054054
| 0.054054
| 0
| 0
| 0
| 0
| 0.041447
| 0.149888
| 1,788
| 51
| 110
| 35.058824
| 0.7375
| 0
| 0
| 0.042553
| 0
| 0
| 0.537255
| 0.507563
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0.042553
| 0.106383
| null | null | 0.021277
| 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
ed46e0d0494394fac49776e48efca79ce12311ee
| 85
|
py
|
Python
|
Coursera/CICCP1/maximo_2.py
|
marcelomiky/python_code
|
4b843c78e16c37e981e4adfe47ae974ee0f2ad81
|
[
"MIT"
] | 2
|
2020-10-19T13:53:59.000Z
|
2021-08-05T19:48:07.000Z
|
Coursera/CICCP1/maximo_2.py
|
marcelomiky/PythonCodes
|
07f0db8019805b3b9567b7b57ddb49b4333a3aa2
|
[
"MIT"
] | null | null | null |
Coursera/CICCP1/maximo_2.py
|
marcelomiky/PythonCodes
|
07f0db8019805b3b9567b7b57ddb49b4333a3aa2
|
[
"MIT"
] | null | null | null |
def maximo(x, y):
if x > y:
return x
else:
return y
| 12.142857
| 19
| 0.388235
| 12
| 85
| 2.75
| 0.583333
| 0.121212
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.529412
| 85
| 6
| 20
| 14.166667
| 0.825
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0
| 0
| 0.6
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 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
| 4
|
ed56f166bd8b44f2ecd616afabcf13164d127c68
| 260
|
py
|
Python
|
01. Arrays/01-07 Unique Characters in string/unique_chars_test.py
|
orfeasa/data-structure-problems
|
62bf26adb685c7af23071c2fe4b91e037e43c428
|
[
"MIT"
] | 2
|
2020-06-03T10:54:49.000Z
|
2020-12-24T11:18:11.000Z
|
01. Arrays/01-07 Unique Characters in string/unique_chars_test.py
|
orfeasa/data-structure-problems
|
62bf26adb685c7af23071c2fe4b91e037e43c428
|
[
"MIT"
] | null | null | null |
01. Arrays/01-07 Unique Characters in string/unique_chars_test.py
|
orfeasa/data-structure-problems
|
62bf26adb685c7af23071c2fe4b91e037e43c428
|
[
"MIT"
] | null | null | null |
import unittest
from unique_chars import uni_char
class UniqueCharTest(unittest.TestCase):
def test(self):
self.assertEqual(uni_char(""), True)
self.assertEqual(uni_char("goo"), False)
self.assertEqual(uni_char("abcdefg"), True)
| 23.636364
| 51
| 0.7
| 32
| 260
| 5.53125
| 0.5625
| 0.158192
| 0.305085
| 0.372881
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.180769
| 260
| 10
| 52
| 26
| 0.830986
| 0
| 0
| 0
| 0
| 0
| 0.038462
| 0
| 0
| 0
| 0
| 0
| 0.428571
| 1
| 0.142857
| false
| 0
| 0.285714
| 0
| 0.571429
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
ed62298041ea8ad3aa97160c02c65d807f2ba9ad
| 161
|
py
|
Python
|
Django/usersForum/app/users/admin.py
|
Oluwasegun-AA/pipit
|
1ea770b0833f086066ad8e3cdf256804e56a266e
|
[
"MIT"
] | null | null | null |
Django/usersForum/app/users/admin.py
|
Oluwasegun-AA/pipit
|
1ea770b0833f086066ad8e3cdf256804e56a266e
|
[
"MIT"
] | 8
|
2020-04-15T04:19:31.000Z
|
2021-03-19T07:21:20.000Z
|
Django/usersForum/app/users/admin.py
|
Oluwasegun-AA/pipit
|
1ea770b0833f086066ad8e3cdf256804e56a266e
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from django.contrib.auth import get_user_model
user = get_user_model()
# Register your models here.
admin.site.register(user)
| 20.125
| 46
| 0.807453
| 25
| 161
| 5.04
| 0.56
| 0.15873
| 0.269841
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.118012
| 161
| 7
| 47
| 23
| 0.887324
| 0.161491
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
ed6d4e135859953817532e32f854c66106d643a8
| 51
|
py
|
Python
|
tests/test_training/__init__.py
|
nhutnamhcmus/pykeen
|
62d4f075fbd39135d6a5c8677d95e1ac46f8318f
|
[
"MIT"
] | 750
|
2020-06-23T08:36:34.000Z
|
2022-03-30T22:53:18.000Z
|
tests/test_training/__init__.py
|
nhutnamhcmus/pykeen
|
62d4f075fbd39135d6a5c8677d95e1ac46f8318f
|
[
"MIT"
] | 691
|
2020-06-22T11:56:28.000Z
|
2022-03-31T16:07:32.000Z
|
tests/test_training/__init__.py
|
nhutnamhcmus/pykeen
|
62d4f075fbd39135d6a5c8677d95e1ac46f8318f
|
[
"MIT"
] | 122
|
2020-06-26T14:37:56.000Z
|
2022-03-23T08:25:22.000Z
|
# -*- coding: utf-8 -*-
"""Tests for training."""
| 12.75
| 25
| 0.509804
| 6
| 51
| 4.333333
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.02381
| 0.176471
| 51
| 3
| 26
| 17
| 0.595238
| 0.823529
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
ed6d81ee9825efbd66e9a204330464bd06e2d5d4
| 4,701
|
py
|
Python
|
src/sage/combinat/designs/design_catalog.py
|
bopopescu/sage
|
2d495be78e0bdc7a0a635454290b27bb4f5f70f0
|
[
"BSL-1.0"
] | 3
|
2019-07-15T13:48:24.000Z
|
2019-11-08T12:31:43.000Z
|
src/sage/combinat/designs/design_catalog.py
|
bopopescu/sage
|
2d495be78e0bdc7a0a635454290b27bb4f5f70f0
|
[
"BSL-1.0"
] | null | null | null |
src/sage/combinat/designs/design_catalog.py
|
bopopescu/sage
|
2d495be78e0bdc7a0a635454290b27bb4f5f70f0
|
[
"BSL-1.0"
] | 7
|
2021-11-08T10:01:59.000Z
|
2022-03-03T11:25:52.000Z
|
r"""
Catalog of designs
This module gathers all designs that can be reached through
``designs.<tab>``. Example with the Witt design on 24 points::
sage: designs.WittDesign(24) # optional - gap_packages
Incidence structure with 24 points and 759 blocks
Or a Steiner Triple System on 19 points::
sage: designs.steiner_triple_system(19)
(19,3,1)-Balanced Incomplete Block Design
**La Jolla Covering Repository**
The La Jolla Covering Repository (LJCR, see [1]_) is an online database of
covering designs. As it is frequently updated, it is not included in Sage, but
one can query it through :meth:`designs.best_known_covering_design_from_LJCR
<sage.combinat.designs.covering_design.best_known_covering_design_www>`::
sage: C = designs.best_known_covering_design_from_LJCR(7, 3, 2) # optional - internet
sage: C # optional - internet
(7,3,2)-covering design of size 7
Lower bound: 7
Method: lex covering
Submitted on: 1996-12-01 00:00:00
sage: C.incidence_structure() # optional - internet
Incidence structure with 7 points and 7 blocks
**Design constructors**
This module gathers the following designs :
.. csv-table::
:class: contentstable
:widths: 100
:delim: |
:meth:`~sage.combinat.designs.block_design.ProjectiveGeometryDesign`
:meth:`~sage.combinat.designs.block_design.DesarguesianProjectivePlaneDesign`
:meth:`~sage.combinat.designs.block_design.HughesPlane`
:meth:`~sage.combinat.designs.database.HigmanSimsDesign`
:meth:`~sage.combinat.designs.bibd.balanced_incomplete_block_design`
:meth:`~sage.combinat.designs.resolvable_bibd.resolvable_balanced_incomplete_block_design`
:meth:`~sage.combinat.designs.resolvable_bibd.kirkman_triple_system`
:meth:`~sage.combinat.designs.block_design.AffineGeometryDesign`
:meth:`~sage.combinat.designs.block_design.CremonaRichmondConfiguration`
:meth:`~sage.combinat.designs.block_design.WittDesign`
:meth:`~sage.combinat.designs.block_design.HadamardDesign`
:meth:`~sage.combinat.designs.block_design.Hadamard3Design`
:meth:`~sage.combinat.designs.latin_squares.mutually_orthogonal_latin_squares`
:meth:`~sage.combinat.designs.orthogonal_arrays.transversal_design`
:meth:`~sage.combinat.designs.orthogonal_arrays.orthogonal_array`
:meth:`~sage.combinat.designs.orthogonal_arrays.incomplete_orthogonal_array`
:meth:`~sage.combinat.designs.difference_family.difference_family`
:meth:`~sage.combinat.designs.difference_matrices.difference_matrix`
:meth:`~sage.combinat.designs.bibd.steiner_triple_system`
:meth:`~sage.combinat.designs.steiner_quadruple_systems.steiner_quadruple_system`
:meth:`~sage.combinat.designs.block_design.projective_plane`
And the :meth:`designs.best_known_covering_design_from_LJCR
<sage.combinat.designs.covering_design.best_known_covering_design_www>` function
which queries the LJCR.
.. TODO::
Implement DerivedDesign and ComplementaryDesign.
REFERENCES:
.. [1] La Jolla Covering Repository,
http://www.ccrwest.org/cover.html
"""
from sage.combinat.designs.block_design import (BlockDesign,
ProjectiveGeometryDesign,
DesarguesianProjectivePlaneDesign,
projective_plane,
AffineGeometryDesign,
WittDesign,
HadamardDesign,
Hadamard3Design,
HughesPlane,
CremonaRichmondConfiguration)
from .database import HigmanSimsDesign
from sage.combinat.designs.steiner_quadruple_systems import steiner_quadruple_system
from sage.combinat.designs.covering_design import best_known_covering_design_www as best_known_covering_design_from_LJCR
from sage.combinat.designs.latin_squares import mutually_orthogonal_latin_squares
from sage.combinat.designs.orthogonal_arrays import transversal_design, incomplete_orthogonal_array
from sage.combinat.designs.difference_family import difference_family
from .difference_matrices import difference_matrix
from sage.combinat.designs.bibd import balanced_incomplete_block_design, steiner_triple_system
from sage.combinat.designs.resolvable_bibd import resolvable_balanced_incomplete_block_design, kirkman_triple_system
from sage.combinat.designs.group_divisible_designs import group_divisible_design
from .orthogonal_arrays import OAMainFunctions as orthogonal_arrays
| 44.349057
| 120
| 0.729845
| 530
| 4,701
| 6.250943
| 0.256604
| 0.115907
| 0.183519
| 0.145789
| 0.443707
| 0.322065
| 0.136432
| 0.100815
| 0.100815
| 0.100815
| 0
| 0.012635
| 0.191874
| 4,701
| 105
| 121
| 44.771429
| 0.859437
| 0.657307
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.009524
| 0
| 1
| 0
| true
| 0
| 0.545455
| 0
| 0.545455
| 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
71fe31d4547e1b38566baa74ded064a703ca7726
| 38
|
py
|
Python
|
src/file_ripper_process/constants.py
|
rubyclimber/file-ripper-process
|
118bb1f325ac7317f658d5b242e3914a6a46ba45
|
[
"MIT"
] | null | null | null |
src/file_ripper_process/constants.py
|
rubyclimber/file-ripper-process
|
118bb1f325ac7317f658d5b242e3914a6a46ba45
|
[
"MIT"
] | null | null | null |
src/file_ripper_process/constants.py
|
rubyclimber/file-ripper-process
|
118bb1f325ac7317f658d5b242e3914a6a46ba45
|
[
"MIT"
] | null | null | null |
FILE_DEFINITIONS = 'file_definitions'
| 19
| 37
| 0.842105
| 4
| 38
| 7.5
| 0.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.078947
| 38
| 1
| 38
| 38
| 0.857143
| 0
| 0
| 0
| 0
| 0
| 0.421053
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
9c0f38d40f90934584f43bcfa59d1954f47d02a7
| 126
|
py
|
Python
|
helloapp/howdy/apps.py
|
mrniranjan/sssdwebauth
|
b906b50caf7d76afa57fcf53782b49f496027885
|
[
"Apache-2.0"
] | 1
|
2017-04-25T10:44:41.000Z
|
2017-04-25T10:44:41.000Z
|
helloapp/howdy/apps.py
|
mrniranjan/sssdwebauth
|
b906b50caf7d76afa57fcf53782b49f496027885
|
[
"Apache-2.0"
] | null | null | null |
helloapp/howdy/apps.py
|
mrniranjan/sssdwebauth
|
b906b50caf7d76afa57fcf53782b49f496027885
|
[
"Apache-2.0"
] | null | null | null |
from __future__ import unicode_literals
from django.apps import AppConfig
class HowdyConfig(AppConfig):
name = 'howdy'
| 15.75
| 39
| 0.785714
| 15
| 126
| 6.266667
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.15873
| 126
| 7
| 40
| 18
| 0.886792
| 0
| 0
| 0
| 0
| 0
| 0.039683
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
9c26ab2a445a42bc9e8c95f24e703b2577b746e1
| 1,641
|
py
|
Python
|
test/test_hardwares_api.py
|
metacore-io/metacore-api-client-python
|
37d6127442e7a56deeedb88bf50b83e5d24fa7b0
|
[
"MIT"
] | null | null | null |
test/test_hardwares_api.py
|
metacore-io/metacore-api-client-python
|
37d6127442e7a56deeedb88bf50b83e5d24fa7b0
|
[
"MIT"
] | null | null | null |
test/test_hardwares_api.py
|
metacore-io/metacore-api-client-python
|
37d6127442e7a56deeedb88bf50b83e5d24fa7b0
|
[
"MIT"
] | null | null | null |
# coding: utf-8
"""
Metacore IoT Object Storage API
Metacore Object Storage - IOT Core Services # noqa: E501
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import metacore_api_python_cli
from api.hardwares_api import HardwaresApi # noqa: E501
from metacore_api_python_cli.rest import ApiException
class TestHardwaresApi(unittest.TestCase):
"""HardwaresApi unit test stubs"""
def setUp(self):
self.api = api.hardwares_api.HardwaresApi() # noqa: E501
def tearDown(self):
pass
def test_deletehardwares_item(self):
"""Test case for deletehardwares_item
Deletes a hardwares document # noqa: E501
"""
pass
def test_gethardwares(self):
"""Test case for gethardwares
Retrieves one or more hardwares # noqa: E501
"""
pass
def test_gethardwares_item(self):
"""Test case for gethardwares_item
Retrieves a hardwares document # noqa: E501
"""
pass
def test_patchhardwares_item(self):
"""Test case for patchhardwares_item
Updates a hardwares document # noqa: E501
"""
pass
def test_posthardwares(self):
"""Test case for posthardwares
Stores one or more hardwares. # noqa: E501
"""
pass
def test_puthardwares_item(self):
"""Test case for puthardwares_item
Replaces a hardwares document # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()
| 21.592105
| 68
| 0.641073
| 187
| 1,641
| 5.438503
| 0.358289
| 0.070796
| 0.064897
| 0.088496
| 0.348083
| 0.235005
| 0.181908
| 0.181908
| 0.072763
| 0
| 0
| 0.025445
| 0.281536
| 1,641
| 75
| 69
| 21.88
| 0.83715
| 0.431444
| 0
| 0.291667
| 1
| 0
| 0.010444
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0.291667
| 0.208333
| 0
| 0.583333
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
9c44c33e9cff273bdf2d04a8d740b041d5a475c7
| 87
|
py
|
Python
|
djanx/apps.py
|
RichardWarfield/djanx
|
5d9be53101ea74ab8b23c89cdddce510d416e7bd
|
[
"MIT"
] | 2
|
2017-11-13T09:43:46.000Z
|
2017-11-13T09:43:48.000Z
|
djanx/apps.py
|
RichardWarfield/djanx
|
5d9be53101ea74ab8b23c89cdddce510d416e7bd
|
[
"MIT"
] | null | null | null |
djanx/apps.py
|
RichardWarfield/djanx
|
5d9be53101ea74ab8b23c89cdddce510d416e7bd
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class DjanxConfig(AppConfig):
name = 'djanx'
| 10.875
| 33
| 0.724138
| 10
| 87
| 6.3
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.195402
| 87
| 7
| 34
| 12.428571
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0.058824
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
9c63dcef1c23ffcaa527a042ee31b4c5f3e5e227
| 3,175
|
py
|
Python
|
planner/plannerBenchmark.py
|
ucbrise/snoopy
|
da4c98e3876c10cf52aa51ece3b62c5e8b8e335a
|
[
"Apache-2.0"
] | 9
|
2021-11-10T20:34:00.000Z
|
2022-03-23T02:30:29.000Z
|
planner/plannerBenchmark.py
|
ucbrise/snoopy
|
da4c98e3876c10cf52aa51ece3b62c5e8b8e335a
|
[
"Apache-2.0"
] | null | null | null |
planner/plannerBenchmark.py
|
ucbrise/snoopy
|
da4c98e3876c10cf52aa51ece3b62c5e8b8e335a
|
[
"Apache-2.0"
] | 4
|
2021-09-30T05:12:06.000Z
|
2022-03-18T03:05:21.000Z
|
import planner
from operator import itemgetter
data_size = 100 *10e3
#data_size = 2**25
latency = 1
configs_1 = set()
throughputs_1 = dict()
for throughput in range(100, 150000, 100):
config = planner.getConfigMinCost(latency, throughput, data_size)
pair = (config["suborams"], config["load_balancers"])
configs_1.add(pair)
if pair not in throughputs_1:
throughputs_1[pair] = throughput
data_size = 10*10e3
#data_size = 2**20
configs_2 = set()
throughputs_2 = dict()
for throughput in range(100, 150000, 100):
config = planner.getConfigMinCost(latency, throughput, data_size)
pair = (config["suborams"], config["load_balancers"])
configs_2.add(pair)
if pair not in throughputs_2:
throughputs_2[pair] = throughput
data_size = 1*10e3
#data_size = 2**15
configs_3 = set()
throughputs_3 = dict()
for throughput in range(100, 150000, 100):
config = planner.getConfigMinCost(latency, throughput, data_size)
pair = (config["suborams"], config["load_balancers"])
configs_3.add(pair)
if pair not in throughputs_3:
throughputs_3[pair] = throughput
with open("scale_throughput_config.dat","w") as f:
configs_1_list = list(configs_1)
sorted_configs_1_list = sorted(configs_1_list,key=lambda x: (x[0], x[1]))
for config in sorted_configs_1_list:
if config[0] < 0 or config[1] < 0:
continue
f.write(("config1 %d %d %d\n") % (config[0], config[1], throughputs_1[config]))
'''
configs_2_list = list(configs_2)
sorted_configs_2_list = sorted(configs_2_list,key=lambda x: (x[0], x[1]))
for config in sorted_configs_2_list:
if config[0] < 0 or config[1] < 0:
continue
f.write(("config2 %d %d %d\n") % (config[0], config[1], throughputs_2[config]))
'''
configs_3_list = list(configs_3)
sorted_configs_3_list = sorted(configs_3_list,key=lambda x: (x[0], x[1]))
for config in sorted_configs_3_list:
if config[0] < 0 or config[1] < 0:
continue
f.write(("config3 %d %d %d\n") % (config[0], config[1], throughputs_3[config]))
with open("scale_throughput_cost.dat","w") as f:
configs_1_list = list(configs_1)
sorted_configs_1_list = sorted(configs_1_list,key=lambda x: (x[0], x[1]))
for config in sorted_configs_1_list:
if config[0] < 0 or config[1] < 0:
continue
f.write(("config1 %d %d\n") % (throughputs_1[config], planner.getSysCost(config[0], config[1])))
'''
configs_2_list = list(configs_2)
sorted_configs_2_list = sorted(configs_2_list,key=lambda x: (x[0], x[1]))
for config in sorted_configs_2_list:
if config[0] < 0 or config[1] < 0:
continue
f.write(("config2 %d %d\n") % (throughputs_2[config], planner.getSysCost(config[0], config[1])))
'''
configs_3_list = list(configs_3)
sorted_configs_3_list = sorted(configs_3_list,key=lambda x: (x[0], x[1]))
for config in sorted_configs_3_list:
if config[0] < 0 or config[1] < 0:
continue
f.write(("config3 %d %d\n") % (throughputs_3[config], planner.getSysCost(config[0], config[1])))
| 33.776596
| 104
| 0.651024
| 479
| 3,175
| 4.100209
| 0.121086
| 0.119145
| 0.04888
| 0.05499
| 0.799898
| 0.799898
| 0.799898
| 0.736762
| 0.699084
| 0.657841
| 0
| 0.066241
| 0.210709
| 3,175
| 93
| 105
| 34.139785
| 0.717478
| 0.016378
| 0
| 0.517857
| 0
| 0
| 0.075487
| 0.021104
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.035714
| 0
| 0.035714
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
92ca3c007f93313cea60e141edee66d563cd12ac
| 45
|
py
|
Python
|
course_contents/exercice_templates/nsh/std.py
|
maganoegi/python_course_autumn_2021
|
0b297040f4e1eba654f125ee60ac4fa8e06b093b
|
[
"MIT"
] | null | null | null |
course_contents/exercice_templates/nsh/std.py
|
maganoegi/python_course_autumn_2021
|
0b297040f4e1eba654f125ee60ac4fa8e06b093b
|
[
"MIT"
] | null | null | null |
course_contents/exercice_templates/nsh/std.py
|
maganoegi/python_course_autumn_2021
|
0b297040f4e1eba654f125ee60ac4fa8e06b093b
|
[
"MIT"
] | 1
|
2021-12-07T07:15:19.000Z
|
2021-12-07T07:15:19.000Z
|
_out_ = ""
_in_ = ""
_err_ = ""
_root_ = ""
| 7.5
| 11
| 0.444444
| 4
| 45
| 3
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.288889
| 45
| 6
| 11
| 7.5
| 0.375
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
92fb52484c9ddd895639a24b534b30a280fb1968
| 127
|
py
|
Python
|
docarray/__init__.py
|
pete-sk/jina
|
e09ec8204e2e5a42e744898fb0cd74251e989146
|
[
"Apache-2.0"
] | 1
|
2021-04-11T08:06:05.000Z
|
2021-04-11T08:06:05.000Z
|
docarray/__init__.py
|
yashi2401/jina
|
e642911d929401204ccb3efe48073c1af2857369
|
[
"Apache-2.0"
] | 1
|
2021-07-16T17:36:22.000Z
|
2021-09-22T13:48:18.000Z
|
docarray/__init__.py
|
yashi2401/jina
|
e642911d929401204ccb3efe48073c1af2857369
|
[
"Apache-2.0"
] | null | null | null |
__version__ = '0.0.5'
from .array import DocumentArray
from .document import Document
from .memmap import DocumentArrayMemmap
| 21.166667
| 39
| 0.811024
| 16
| 127
| 6.1875
| 0.625
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.027027
| 0.125984
| 127
| 5
| 40
| 25.4
| 0.864865
| 0
| 0
| 0
| 0
| 0
| 0.03937
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.75
| 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
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
13091df90104f717da6edf95a735ad6976f7865f
| 136
|
py
|
Python
|
oidc_provider/compat.py
|
jbking/django-oidc-provider
|
f0daed07b2ac7608565b80d4c80ccf04d8c416a8
|
[
"MIT"
] | 370
|
2015-03-10T03:12:53.000Z
|
2022-03-13T05:49:40.000Z
|
oidc_provider/compat.py
|
jbking/django-oidc-provider
|
f0daed07b2ac7608565b80d4c80ccf04d8c416a8
|
[
"MIT"
] | 305
|
2015-02-12T17:58:26.000Z
|
2022-02-25T19:48:41.000Z
|
oidc_provider/compat.py
|
jbking/django-oidc-provider
|
f0daed07b2ac7608565b80d4c80ccf04d8c416a8
|
[
"MIT"
] | 271
|
2015-03-17T00:57:22.000Z
|
2022-02-17T11:21:22.000Z
|
def get_attr_or_callable(obj, name):
target = getattr(obj, name)
if callable(target):
return target()
return target
| 22.666667
| 36
| 0.661765
| 18
| 136
| 4.833333
| 0.611111
| 0.16092
| 0.413793
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.242647
| 136
| 5
| 37
| 27.2
| 0.84466
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0
| 0
| 0.6
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
1311bbe9556207370bfded0b480a942937324a3d
| 234
|
py
|
Python
|
turtle.py
|
cmmora/python
|
e8659bcb694296bd1cd5ab1424564200964a4e59
|
[
"MIT"
] | null | null | null |
turtle.py
|
cmmora/python
|
e8659bcb694296bd1cd5ab1424564200964a4e59
|
[
"MIT"
] | null | null | null |
turtle.py
|
cmmora/python
|
e8659bcb694296bd1cd5ab1424564200964a4e59
|
[
"MIT"
] | null | null | null |
import turtle
window = turtle.Screen()
raw_input()
david = turtle.Turtle()
david.forward(50)
dave.left(90)
david.forward(50)
dave.left(90)
david.forward(50)
dave.left(90)
david.forward(50)
dave.left(90)
turtle.mainloop()
| 15.6
| 25
| 0.709402
| 36
| 234
| 4.583333
| 0.361111
| 0.290909
| 0.339394
| 0.436364
| 0.581818
| 0.581818
| 0.581818
| 0.581818
| 0.581818
| 0.581818
| 0
| 0.078818
| 0.132479
| 234
| 15
| 26
| 15.6
| 0.73399
| 0
| 0
| 0.615385
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.076923
| null | null | 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
132c8e61aab53c5f476262d03457945113a4bfb6
| 95
|
py
|
Python
|
coding/learn_celery_02/celery_app/tasks.py
|
yatao91/learning_road
|
e88dc43de98e35922bfc71c222ec71766851e618
|
[
"MIT"
] | 3
|
2021-05-25T16:58:52.000Z
|
2022-02-05T09:37:17.000Z
|
coding/learn_celery_02/celery_app/tasks.py
|
yataosu/learning_road
|
e88dc43de98e35922bfc71c222ec71766851e618
|
[
"MIT"
] | null | null | null |
coding/learn_celery_02/celery_app/tasks.py
|
yataosu/learning_road
|
e88dc43de98e35922bfc71c222ec71766851e618
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
from celery_app import app
@app.task
def add(x, y):
return x + y
| 11.875
| 26
| 0.589474
| 17
| 95
| 3.235294
| 0.764706
| 0.072727
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.013889
| 0.242105
| 95
| 7
| 27
| 13.571429
| 0.75
| 0.221053
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.25
| 0.25
| 0.75
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
|
0
| 4
|
1343a7f08d1014eb89a62dbe2a72f5af5c3aacb1
| 3,990
|
py
|
Python
|
tests/app/data_model/test_relationship_store.py
|
petechd/eq-questionnaire-runner
|
1c5b182a7f8bc878cfdd767ae080410fa679abd6
|
[
"MIT"
] | 3
|
2020-09-28T13:21:21.000Z
|
2021-05-05T14:14:51.000Z
|
tests/app/data_model/test_relationship_store.py
|
petechd/eq-questionnaire-runner
|
1c5b182a7f8bc878cfdd767ae080410fa679abd6
|
[
"MIT"
] | 402
|
2019-11-06T17:23:03.000Z
|
2022-03-31T16:03:35.000Z
|
tests/app/data_model/test_relationship_store.py
|
petechd/eq-questionnaire-runner
|
1c5b182a7f8bc878cfdd767ae080410fa679abd6
|
[
"MIT"
] | 10
|
2020-03-03T14:23:27.000Z
|
2022-01-31T12:21:21.000Z
|
from app.data_models.relationship_store import Relationship, RelationshipStore
relationships = [
{
"list_item_id": "123456",
"to_list_item_id": "789101",
"relationship": "Husband or Wife",
},
{
"list_item_id": "123456",
"to_list_item_id": "ghijkl",
"relationship": "Husband or Wife",
},
]
def test_serialisation():
relationship_store = RelationshipStore(relationships)
assert relationship_store.serialize() == relationships
def test_deserialisation():
relationship_store = RelationshipStore(relationships)
assert Relationship(**relationships[0]) in relationship_store
assert len(relationship_store) == 2
def test_clear(): # pylint: disable=redefined-outer-name
relationship_store = RelationshipStore(relationships)
relationship_store.clear()
assert not relationship_store
assert relationship_store.is_dirty
def test_add_relationship():
relationship = Relationship(**relationships[0])
relationship_store = RelationshipStore()
relationship_store.add_or_update(relationship)
assert (
relationship_store.get_relationship(
relationship.list_item_id, relationship.to_list_item_id
)
== relationship
)
assert len(relationship_store) == 1
assert relationship_store.is_dirty
def test_add_relationship_that_already_exists():
relationship = relationships[0]
relationship_store = RelationshipStore([relationship])
relationship_store.add_or_update(Relationship(**relationship))
assert len(relationship_store) == 1
assert not relationship_store.is_dirty
def test_get_relationship():
relationship_store = RelationshipStore(relationships)
relationship = relationship_store.get_relationship(
list_item_id="123456", to_list_item_id="789101"
)
assert relationship
def test_get_relationship_that_doesnt_exist():
relationship_store = RelationshipStore(relationships)
relationship = relationship_store.get_relationship(
list_item_id="123456", to_list_item_id="yyyyyy"
)
assert not relationship
def test_remove_relationship():
relationship_store = RelationshipStore(relationships)
relationship_store.remove_relationship(
list_item_id="123456", to_list_item_id="789101"
)
assert relationship_store.is_dirty
assert len(relationship_store) == 1
def test_remove_relationship_that_doesnt_exist():
relationship_store = RelationshipStore(relationships)
relationship_store.remove_relationship(
list_item_id="123456", to_list_item_id="yyyyyy"
)
assert not relationship_store.is_dirty
assert len(relationship_store) == 2
def test_remove_id_in_multiple_relationships():
relationship_store = RelationshipStore(relationships)
relationship_store.remove_all_relationships_for_list_item_id("123456")
assert not relationship_store
assert relationship_store.is_dirty
def test_remove_id_in_single_relationship():
relationship_store = RelationshipStore(relationships)
relationship_store.remove_all_relationships_for_list_item_id("789101")
remaining_relationship = Relationship(**relationships[1])
assert len(relationship_store) == 1
assert (
relationship_store.get_relationship(
remaining_relationship.list_item_id, remaining_relationship.to_list_item_id
)
== remaining_relationship
)
assert relationship_store.is_dirty
def test_update_existing_relationship():
relationship_store = RelationshipStore(relationships)
relationship = Relationship(**relationships[0])
relationship.relationship = "test"
relationship_store.add_or_update(relationship)
assert len(relationship_store) == 2
updated_relationship = relationship_store.get_relationship(
relationship.list_item_id, relationship.to_list_item_id
)
assert updated_relationship.relationship == "test"
assert relationship_store.is_dirty
| 29.776119
| 87
| 0.755138
| 419
| 3,990
| 6.792363
| 0.133652
| 0.268798
| 0.070274
| 0.165144
| 0.816585
| 0.745959
| 0.651792
| 0.491918
| 0.419888
| 0.365425
| 0
| 0.023529
| 0.169173
| 3,990
| 133
| 88
| 30
| 0.834992
| 0.009023
| 0
| 0.505155
| 0
| 0
| 0.050607
| 0
| 0
| 0
| 0
| 0
| 0.247423
| 1
| 0.123711
| false
| 0
| 0.010309
| 0
| 0.134021
| 0
| 0
| 0
| 0
| null | 1
| 0
| 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
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
134ed316ee3e003e0fbd4e38b43bd464937f6b48
| 650
|
py
|
Python
|
api/admin.py
|
Riyce/infra_sp2-1
|
e2658b772d35d13ed0ab333b2aab2d3c375f1f33
|
[
"MIT"
] | null | null | null |
api/admin.py
|
Riyce/infra_sp2-1
|
e2658b772d35d13ed0ab333b2aab2d3c375f1f33
|
[
"MIT"
] | 2
|
2021-04-30T01:26:10.000Z
|
2021-09-22T19:54:42.000Z
|
api/admin.py
|
Bytlot/yamdb_final
|
77cb164da55f4475b0b71d264e3fe1475d108f9d
|
[
"MIT"
] | 1
|
2021-05-14T15:16:28.000Z
|
2021-05-14T15:16:28.000Z
|
from django.contrib import admin
from .models import User, Genres, Categories, Titles, Review, Comment
class UserAdmin(admin.ModelAdmin):
pass
class GenresAdmin(admin.ModelAdmin):
pass
class CategoriesAdmin(admin.ModelAdmin):
pass
class TitlesAdmin(admin.ModelAdmin):
pass
class ReviewAdmin(admin.ModelAdmin):
pass
class CommentAdmin(admin.ModelAdmin):
pass
admin.site.register(User, UserAdmin)
admin.site.register(Genres, GenresAdmin)
admin.site.register(Categories, CategoriesAdmin)
admin.site.register(Titles, TitlesAdmin)
admin.site.register(Review, ReviewAdmin)
admin.site.register(Comment, CommentAdmin)
| 17.567568
| 69
| 0.778462
| 74
| 650
| 6.837838
| 0.310811
| 0.177866
| 0.225296
| 0.237154
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.127692
| 650
| 36
| 70
| 18.055556
| 0.892416
| 0
| 0
| 0.3
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.3
| 0.1
| 0
| 0.4
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
138fcf38bd2aa9c607a397360641991ffe29f010
| 122
|
py
|
Python
|
minerva/portfolio/asset.py
|
aditya08/minerva
|
375be448f24429fecabe016595f0b889e8cee108
|
[
"BSD-3-Clause"
] | null | null | null |
minerva/portfolio/asset.py
|
aditya08/minerva
|
375be448f24429fecabe016595f0b889e8cee108
|
[
"BSD-3-Clause"
] | null | null | null |
minerva/portfolio/asset.py
|
aditya08/minerva
|
375be448f24429fecabe016595f0b889e8cee108
|
[
"BSD-3-Clause"
] | null | null | null |
class Asset(object):
def __init__(self):
raise NotImplementedError('This base class is not implemented yet.')
| 30.5
| 76
| 0.713115
| 15
| 122
| 5.533333
| 0.933333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.196721
| 122
| 3
| 77
| 40.666667
| 0.846939
| 0
| 0
| 0
| 0
| 0
| 0.319672
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 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
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
139df489ca70b2928a3b7d6d48cb25439b31952f
| 801
|
py
|
Python
|
datacube/index/null/_users.py
|
agdc-research-trial/gdf
|
82ed29c263eaf65f5c1fbb4e9207c99e9700b85c
|
[
"Apache-2.0"
] | 1
|
2015-06-01T01:31:44.000Z
|
2015-06-01T01:31:44.000Z
|
datacube/index/null/_users.py
|
agdc-research-trial/gdf
|
82ed29c263eaf65f5c1fbb4e9207c99e9700b85c
|
[
"Apache-2.0"
] | null | null | null |
datacube/index/null/_users.py
|
agdc-research-trial/gdf
|
82ed29c263eaf65f5c1fbb4e9207c99e9700b85c
|
[
"Apache-2.0"
] | null | null | null |
# This file is part of the Open Data Cube, see https://opendatacube.org for more information
#
# Copyright (c) 2015-2020 ODC Contributors
# SPDX-License-Identifier: Apache-2.0
from typing import Iterable, Optional, Tuple
from datacube.index.abstract import AbstractUserResource
class UserResource(AbstractUserResource):
def __init__(self) -> None:
pass
def grant_role(self, role: str, *usernames: str) -> None:
raise NotImplementedError()
def create_user(self, username: str, password: str,
role: str, description: Optional[str] = None) -> None:
raise NotImplementedError()
def delete_user(self, *usernames: str) -> None:
raise NotImplementedError()
def list_users(self) -> Iterable[Tuple[str, str, str]]:
return []
| 33.375
| 92
| 0.686642
| 95
| 801
| 5.705263
| 0.631579
| 0.038745
| 0.154982
| 0.171587
| 0.158672
| 0.158672
| 0
| 0
| 0
| 0
| 0
| 0.015823
| 0.210986
| 801
| 23
| 93
| 34.826087
| 0.841772
| 0.208489
| 0
| 0.214286
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.357143
| false
| 0.142857
| 0.142857
| 0.071429
| 0.642857
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
13c21c8116a3ffcd58c512b67463a5324ff806ca
| 221
|
py
|
Python
|
python/fau/fixed_length_array.py
|
jameswilddev/Fau
|
8d42541740bd838a499f4ca3625701665b1bbcd0
|
[
"MIT"
] | null | null | null |
python/fau/fixed_length_array.py
|
jameswilddev/Fau
|
8d42541740bd838a499f4ca3625701665b1bbcd0
|
[
"MIT"
] | 1
|
2020-06-08T23:03:28.000Z
|
2021-01-21T13:16:53.000Z
|
python/fau/fixed_length_array.py
|
jameswilddev/Fau
|
8d42541740bd838a499f4ca3625701665b1bbcd0
|
[
"MIT"
] | null | null | null |
from abc import abstractmethod
from typing import Iterator
class FixedLengthArray:
@abstractmethod
def _write(self, identifier: int) -> Iterator[int]:
""" pass would count toward coverage statistics """
| 24.555556
| 59
| 0.728507
| 24
| 221
| 6.666667
| 0.791667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.19457
| 221
| 8
| 60
| 27.625
| 0.898876
| 0.19457
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.4
| 0
| 0.8
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
13cc5cd956e94f798c8e0d979310191c4a8036a2
| 181
|
py
|
Python
|
hon/commands/watch.py
|
swquinn/hon
|
333332029ee884a8822d38024659d5d7da64ff1a
|
[
"MIT"
] | null | null | null |
hon/commands/watch.py
|
swquinn/hon
|
333332029ee884a8822d38024659d5d7da64ff1a
|
[
"MIT"
] | 14
|
2019-06-23T01:49:55.000Z
|
2021-02-22T01:26:51.000Z
|
hon/commands/watch.py
|
swquinn/hon
|
333332029ee884a8822d38024659d5d7da64ff1a
|
[
"MIT"
] | null | null | null |
import click
from ..cli import with_context
@click.command('watch', short_help='Watch the book source for changes and rebuild')
@with_context
def watch_command(ctx=None):
pass
| 22.625
| 83
| 0.773481
| 28
| 181
| 4.857143
| 0.75
| 0.161765
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.132597
| 181
| 7
| 84
| 25.857143
| 0.866242
| 0
| 0
| 0
| 0
| 0
| 0.276243
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| false
| 0.166667
| 0.333333
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
|
0
| 4
|
13da399fe5fce38ae2ebebb23269d7f7cbd3649a
| 77
|
py
|
Python
|
u/apps.py
|
mrShahsafi/Wainance
|
5f1775fc342e52c8b5040dea1bd7f55e52c041a3
|
[
"MIT"
] | null | null | null |
u/apps.py
|
mrShahsafi/Wainance
|
5f1775fc342e52c8b5040dea1bd7f55e52c041a3
|
[
"MIT"
] | null | null | null |
u/apps.py
|
mrShahsafi/Wainance
|
5f1775fc342e52c8b5040dea1bd7f55e52c041a3
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class UConfig(AppConfig):
name = 'u'
| 12.833333
| 33
| 0.714286
| 10
| 77
| 5.5
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.194805
| 77
| 5
| 34
| 15.4
| 0.887097
| 0
| 0
| 0
| 0
| 0
| 0.012987
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
13e2116310babedaee6f5b3dc106f6dd8e681454
| 83
|
py
|
Python
|
hottbox/algorithms/__init__.py
|
adamurban98/hottbox
|
26580018ec6d38a1b08266c04ce4408c9e276130
|
[
"Apache-2.0"
] | 167
|
2018-05-07T10:31:00.000Z
|
2022-02-24T19:20:31.000Z
|
hottbox/algorithms/__init__.py
|
adamurban98/hottbox
|
26580018ec6d38a1b08266c04ce4408c9e276130
|
[
"Apache-2.0"
] | 19
|
2018-05-10T13:26:39.000Z
|
2020-01-31T12:49:27.000Z
|
hottbox/algorithms/__init__.py
|
adamurban98/hottbox
|
26580018ec6d38a1b08266c04ce4408c9e276130
|
[
"Apache-2.0"
] | 24
|
2018-04-02T17:16:50.000Z
|
2021-12-07T06:21:40.000Z
|
"""
This module consist of methods and classes for various numerical algorithms
"""
| 27.666667
| 75
| 0.783133
| 11
| 83
| 5.909091
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.144578
| 83
| 3
| 76
| 27.666667
| 0.915493
| 0.903614
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
b92401160a8bbdbe13c6ad267c3d91b1083c8317
| 2,109
|
py
|
Python
|
core/recc/database/interfaces/db_widget.py
|
bogonets/answer
|
57f892a9841980bcbc35fa1e27521b34cd94bc25
|
[
"MIT"
] | 3
|
2021-06-20T02:24:10.000Z
|
2022-01-26T23:55:33.000Z
|
core/recc/database/interfaces/db_widget.py
|
bogonets/answer
|
57f892a9841980bcbc35fa1e27521b34cd94bc25
|
[
"MIT"
] | null | null | null |
core/recc/database/interfaces/db_widget.py
|
bogonets/answer
|
57f892a9841980bcbc35fa1e27521b34cd94bc25
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
from typing import Any, Optional, List
from abc import ABCMeta, abstractmethod
from datetime import datetime
from recc.database.struct.widget import Widget
class DbWidget(metaclass=ABCMeta):
"""
Database widget interface.
"""
@abstractmethod
async def insert_widget(
self,
layout_uid: int,
name: str,
description: Optional[str] = None,
extra: Optional[Any] = None,
created_at: Optional[datetime] = None,
) -> int:
raise NotImplementedError
@abstractmethod
async def update_widget_description_by_uid(
self,
uid: int,
description: str,
updated_at: Optional[datetime] = None,
) -> None:
raise NotImplementedError
@abstractmethod
async def update_widget_description_by_name(
self,
layout_uid: int,
name: str,
description: str,
updated_at: Optional[datetime] = None,
) -> None:
raise NotImplementedError
@abstractmethod
async def update_widget_extra_by_uid(
self,
uid: int,
extra: Any,
updated_at: Optional[datetime] = None,
) -> None:
raise NotImplementedError
@abstractmethod
async def update_widget_extra_by_name(
self,
layout_uid: int,
name: str,
extra: Any,
updated_at: Optional[datetime] = None,
) -> None:
raise NotImplementedError
@abstractmethod
async def delete_widget_by_uid(self, uid: int) -> None:
raise NotImplementedError
@abstractmethod
async def delete_widget_by_name(self, layout_uid: int, name: str) -> None:
raise NotImplementedError
@abstractmethod
async def select_widget_by_uid(self, uid: int) -> Widget:
raise NotImplementedError
@abstractmethod
async def select_widget_by_name(self, layout_uid: int, name: str) -> Widget:
raise NotImplementedError
@abstractmethod
async def select_widget_by_layout_uid(self, layout_uid: int) -> List[Widget]:
raise NotImplementedError
| 25.719512
| 81
| 0.644381
| 223
| 2,109
| 5.896861
| 0.188341
| 0.144487
| 0.1673
| 0.294297
| 0.731559
| 0.711787
| 0.688973
| 0.663118
| 0.576426
| 0.311787
| 0
| 0.000656
| 0.276908
| 2,109
| 81
| 82
| 26.037037
| 0.861639
| 0.023234
| 0
| 0.703125
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.0625
| 0
| 0.078125
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
b93396409dba0c274294ff14dc1afa8f518243e7
| 181
|
py
|
Python
|
allauth/socialaccount/providers/angellist_provider/urls.py
|
Fuzzwah/django-allauth
|
071cbef1388bb61a563d3e41197bd5b7c26664d2
|
[
"MIT"
] | null | null | null |
allauth/socialaccount/providers/angellist_provider/urls.py
|
Fuzzwah/django-allauth
|
071cbef1388bb61a563d3e41197bd5b7c26664d2
|
[
"MIT"
] | null | null | null |
allauth/socialaccount/providers/angellist_provider/urls.py
|
Fuzzwah/django-allauth
|
071cbef1388bb61a563d3e41197bd5b7c26664d2
|
[
"MIT"
] | null | null | null |
from allauth.socialaccount.providers.oauth2_provider.urls import default_urlpatterns
from .provider import AngelListProvider
urlpatterns = default_urlpatterns(AngelListProvider)
| 25.857143
| 84
| 0.878453
| 18
| 181
| 8.666667
| 0.611111
| 0.230769
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.005988
| 0.077348
| 181
| 6
| 85
| 30.166667
| 0.928144
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
b938fb87cf6a6de09775cf7a50fb47b292fdda11
| 6,633
|
py
|
Python
|
tests/microsoft/azure/hooks/test_data_factory.py
|
astronomer/astronomer-providers
|
e19c656daab19f3e881f140495e2184c16eaafe0
|
[
"Apache-2.0"
] | 27
|
2022-03-02T04:49:54.000Z
|
2022-03-30T13:19:02.000Z
|
tests/microsoft/azure/hooks/test_data_factory.py
|
astronomer/astronomer-providers
|
e19c656daab19f3e881f140495e2184c16eaafe0
|
[
"Apache-2.0"
] | 92
|
2022-03-02T08:01:31.000Z
|
2022-03-31T19:47:33.000Z
|
tests/microsoft/azure/hooks/test_data_factory.py
|
astronomer/astronomer-providers
|
e19c656daab19f3e881f140495e2184c16eaafe0
|
[
"Apache-2.0"
] | 2
|
2022-03-07T17:39:41.000Z
|
2022-03-18T20:37:03.000Z
|
import json
from unittest import mock
import pytest
from airflow import AirflowException
from airflow.models.connection import Connection
from azure.mgmt.datafactory.aio import DataFactoryManagementClient
from astronomer.providers.microsoft.azure.hooks.data_factory import (
AzureDataFactoryHookAsync,
)
AZURE_DATA_FACTORY_CONN_ID = "azure_data_factory_default"
RESOURCE_GROUP_NAME = "team_provider_resource_group_test"
DATAFACTORY_NAME = "ADFProvidersTeamDataFactory"
TASK_ID = "test_adf_pipeline_run_status_sensor"
RUN_ID = "7f8c6c72-c093-11ec-a83d-0242ac120007"
DEFAULT_CONNECTION_CLIENT_SECRET = "azure_data_factory_test_client_secret"
DEFAULT_CONNECTION_DEFAULT_CREDENTIAL = "azure_data_factory_test_default_credential"
@pytest.mark.asyncio
@pytest.mark.parametrize(
"mock_status",
["Queued", "InProgress", "Succeeded", "Failed", "Cancelled"],
)
@mock.patch(
"astronomer.providers.microsoft.azure.hooks.data_factory.AzureDataFactoryHookAsync.get_async_conn"
)
@mock.patch(
"astronomer.providers.microsoft.azure.hooks.data_factory.AzureDataFactoryHookAsync.get_pipeline_run"
)
async def test_get_adf_pipeline_run_status(mock_get_pipeline_run, mock_conn, mock_status):
"""Test get_adf_pipeline_run_status function with mocked status"""
mock_get_pipeline_run.return_value.status = mock_status
hook = AzureDataFactoryHookAsync(AZURE_DATA_FACTORY_CONN_ID)
response = await hook.get_adf_pipeline_run_status(RUN_ID, RESOURCE_GROUP_NAME, DATAFACTORY_NAME)
assert response == mock_status
@pytest.mark.asyncio
@mock.patch(
"astronomer.providers.microsoft.azure.hooks.data_factory.AzureDataFactoryHookAsync.get_async_conn"
)
@mock.patch(
"astronomer.providers.microsoft.azure.hooks.data_factory.AzureDataFactoryHookAsync.get_pipeline_run"
)
async def test_get_adf_pipeline_run_status_exception(mock_get_pipeline_run, mock_conn):
"""Test get_adf_pipeline_run_status function with exception"""
mock_get_pipeline_run.side_effect = Exception("Test exception")
hook = AzureDataFactoryHookAsync(AZURE_DATA_FACTORY_CONN_ID)
with pytest.raises(AirflowException):
await hook.get_adf_pipeline_run_status(RUN_ID, RESOURCE_GROUP_NAME, DATAFACTORY_NAME)
@pytest.mark.asyncio
@mock.patch("azure.mgmt.datafactory.models._models_py3.PipelineRun")
@mock.patch(
"astronomer.providers.microsoft.azure.hooks.data_factory.AzureDataFactoryHookAsync.get_async_conn"
)
async def test_get_pipeline_run(mock_async_connection, mock_pipeline_run):
"""Test get_pipeline_run run function"""
mock_async_connection.return_value.__aenter__.return_value.pipeline_runs.get.return_value = (
mock_pipeline_run
)
hook = AzureDataFactoryHookAsync(AZURE_DATA_FACTORY_CONN_ID)
response = await hook.get_pipeline_run(RUN_ID, RESOURCE_GROUP_NAME, DATAFACTORY_NAME)
assert response == mock_pipeline_run
@pytest.mark.asyncio
@mock.patch(
"astronomer.providers.microsoft.azure.hooks.data_factory.AzureDataFactoryHookAsync.get_async_conn"
)
async def test_get_pipeline_run_exception(mock_conn):
"""Test get_pipeline_run function with exception"""
mock_conn.return_value.__aenter__.return_value.pipeline_runs.get.side_effect = Exception("Test exception")
hook = AzureDataFactoryHookAsync(AZURE_DATA_FACTORY_CONN_ID)
with pytest.raises(AirflowException):
await hook.get_pipeline_run(RUN_ID, RESOURCE_GROUP_NAME, DATAFACTORY_NAME)
@pytest.mark.asyncio
@mock.patch(
"astronomer.providers.microsoft.azure.hooks.data_factory.AzureDataFactoryHookAsync.get_connection"
)
async def test_get_async_conn(mock_connection):
""""""
mock_conn = Connection(
conn_id=DEFAULT_CONNECTION_CLIENT_SECRET,
conn_type="azure_data_factory",
login="clientId",
password="clientSecret",
extra=json.dumps(
{
"extra__azure_data_factory__tenantId": "tenantId",
"extra__azure_data_factory__subscriptionId": "subscriptionId",
"extra__azure_data_factory__resource_group_name": RESOURCE_GROUP_NAME,
"extra__azure_data_factory__factory_name": DATAFACTORY_NAME,
}
),
)
mock_connection.return_value = mock_conn
hook = AzureDataFactoryHookAsync(AZURE_DATA_FACTORY_CONN_ID)
response = await hook.get_async_conn()
assert isinstance(response, DataFactoryManagementClient)
@pytest.mark.asyncio
@mock.patch(
"astronomer.providers.microsoft.azure.hooks.data_factory.AzureDataFactoryHookAsync.get_connection"
)
async def test_get_async_conn_without_login_id(mock_connection):
"""Test get_async_conn function without login id"""
mock_conn = Connection(
conn_id=DEFAULT_CONNECTION_CLIENT_SECRET,
conn_type="azure_data_factory",
extra=json.dumps(
{
"extra__azure_data_factory__tenantId": "tenantId",
"extra__azure_data_factory__subscriptionId": "subscriptionId",
"extra__azure_data_factory__resource_group_name": RESOURCE_GROUP_NAME,
"extra__azure_data_factory__factory_name": DATAFACTORY_NAME,
}
),
)
mock_connection.return_value = mock_conn
hook = AzureDataFactoryHookAsync(AZURE_DATA_FACTORY_CONN_ID)
response = await hook.get_async_conn()
assert isinstance(response, DataFactoryManagementClient)
@pytest.mark.asyncio
@pytest.mark.parametrize(
"mock_connection_params",
[
{
"extra__azure_data_factory__tenantId": "tenantId",
"extra__azure_data_factory__resource_group_name": RESOURCE_GROUP_NAME,
"extra__azure_data_factory__factory_name": DATAFACTORY_NAME,
},
{
"extra__azure_data_factory__subscriptionId": "subscriptionId",
"extra__azure_data_factory__resource_group_name": RESOURCE_GROUP_NAME,
"extra__azure_data_factory__factory_name": DATAFACTORY_NAME,
},
],
)
@mock.patch(
"astronomer.providers.microsoft.azure.hooks.data_factory.AzureDataFactoryHookAsync.get_connection"
)
async def test_get_async_conn_key_error(mock_connection, mock_connection_params):
"""Test get_async_conn function with raising key error"""
mock_conn = Connection(
conn_id=DEFAULT_CONNECTION_CLIENT_SECRET,
conn_type="azure_data_factory",
login="clientId",
password="clientSecret",
extra=json.dumps(mock_connection_params),
)
mock_connection.return_value = mock_conn
hook = AzureDataFactoryHookAsync(AZURE_DATA_FACTORY_CONN_ID)
with pytest.raises(ValueError):
await hook.get_async_conn()
| 39.957831
| 110
| 0.771144
| 769
| 6,633
| 6.16775
| 0.118336
| 0.08813
| 0.094455
| 0.061986
| 0.790639
| 0.763441
| 0.742568
| 0.718111
| 0.683534
| 0.683534
| 0
| 0.004069
| 0.147746
| 6,633
| 165
| 111
| 40.2
| 0.834955
| 0
| 0
| 0.528571
| 0
| 0
| 0.315238
| 0.277302
| 0
| 0
| 0
| 0
| 0.028571
| 1
| 0
| false
| 0.014286
| 0.05
| 0
| 0.05
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
b953a8c027036fa568446f2e69e1c5ef31073488
| 186
|
py
|
Python
|
questao10.py
|
higorcastro17/Avaliacao1
|
30d727d9c85fd532a6a6264fa50eee7d34a57bbf
|
[
"Apache-2.0"
] | null | null | null |
questao10.py
|
higorcastro17/Avaliacao1
|
30d727d9c85fd532a6a6264fa50eee7d34a57bbf
|
[
"Apache-2.0"
] | null | null | null |
questao10.py
|
higorcastro17/Avaliacao1
|
30d727d9c85fd532a6a6264fa50eee7d34a57bbf
|
[
"Apache-2.0"
] | null | null | null |
nome = input('Nome: ')
senha = input('Senha: ')
while (senha == nome):
print ('erro! Faça novamente.')
nome = input('Nome: ')
senha = input('Senha: ')
print("Finish")
| 23.25
| 36
| 0.553763
| 21
| 186
| 4.904762
| 0.428571
| 0.174757
| 0.252427
| 0.349515
| 0.543689
| 0.543689
| 0
| 0
| 0
| 0
| 0
| 0
| 0.236559
| 186
| 7
| 37
| 26.571429
| 0.725352
| 0
| 0
| 0.571429
| 0
| 0
| 0.296089
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.285714
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
b959e05a9d9c7e07e71fe81f1f4204f27fcf4364
| 13,046
|
py
|
Python
|
Tester/RCube.py
|
AthulJoseph27/Thistlewaites_Algorithm
|
904d0a889d86be6191335aef66f36938a621cff2
|
[
"MIT"
] | null | null | null |
Tester/RCube.py
|
AthulJoseph27/Thistlewaites_Algorithm
|
904d0a889d86be6191335aef66f36938a621cff2
|
[
"MIT"
] | null | null | null |
Tester/RCube.py
|
AthulJoseph27/Thistlewaites_Algorithm
|
904d0a889d86be6191335aef66f36938a621cff2
|
[
"MIT"
] | null | null | null |
import os
import sys
import time
cube = []
def R():
global cube
t = cube[0][5]
cube[0][5] = cube[3][5]
cube[3][5] = cube[6][5]
cube[6][5] = cube[9][5]
cube[9][5] = t
t = cube[2][5]
cube[2][5] = cube[5][5]
cube[5][5] = cube[8][5]
cube[8][5] = cube[11][5]
cube[11][5] = t
t = cube[1][5]
cube[1][5] = cube[4][5]
cube[4][5] = cube[7][5]
cube[7][5] = cube[10][5]
cube[10][5] = t
t = cube[3][6]
cube[3][6] = cube[5][6]
cube[5][6] = cube[5][8]
cube[5][8] = cube[3][8]
cube[3][8] = t
t = cube[4][6]
cube[4][6] = cube[5][7]
cube[5][7] = cube[4][8]
cube[4][8] = cube[3][7]
cube[3][7] = t
def r():
global cube
t = cube[0][5]
cube[0][5] = cube[9][5]
cube[9][5] = cube[6][5]
cube[6][5] = cube[3][5]
cube[3][5] = t
t = cube[1][5]
cube[1][5] = cube[10][5]
cube[10][5] = cube[7][5]
cube[7][5] = cube[4][5]
cube[4][5] = t
t = cube[2][5]
cube[2][5] = cube[11][5]
cube[11][5] = cube[8][5]
cube[8][5] = cube[5][5]
cube[5][5] = t
t = cube[3][6]
cube[3][6] = cube[3][8]
cube[3][8] = cube[5][8]
cube[5][8] = cube[5][6]
cube[5][6] = t
t = cube[3][7]
cube[3][7] = cube[4][8]
cube[4][8] = cube[5][7]
cube[5][7] = cube[4][6]
cube[4][6] = t
def F():
global cube
t = cube[3][4]
cube[3][4] = cube[4][3]
cube[4][3] = cube[5][4]
cube[5][4] = cube[4][5]
cube[4][5] = t
b = cube[3][5]
cube[3][5] = cube[3][3]
cube[3][3] = cube[5][3]
cube[5][3] = cube[5][5]
cube[5][5] = b
c = cube[2][4]
cube[2][4] = cube[4][2]
cube[4][2] = cube[6][4]
cube[6][4] = cube[4][6]
cube[4][6] = c
d = cube[2][5]
cube[2][5] = cube[3][2]
cube[3][2] = cube[6][3]
cube[6][3] = cube[5][6]
cube[5][6] = d
h = cube[2][3]
cube[2][3] = cube[5][2]
cube[5][2] = cube[6][5]
cube[6][5] = cube[3][6]
cube[3][6] = h
def f():
global cube
t = cube[3][4]
cube[3][4] = cube[4][5]
cube[4][5] = cube[5][4]
cube[5][4] = cube[4][3]
cube[4][3] = t
b = cube[3][5]
cube[3][5] = cube[5][5]
cube[5][5] = cube[5][3]
cube[5][3] = cube[3][3]
cube[3][3] = b
c = cube[2][4]
cube[2][4] = cube[4][6]
cube[4][6] = cube[6][4]
cube[6][4] = cube[4][2]
cube[4][2] = c
d = cube[2][5]
cube[2][5] = cube[5][6]
cube[5][6] = cube[6][3]
cube[6][3] = cube[3][2]
cube[3][2] = d
h = cube[2][3]
cube[2][3] = cube[3][6]
cube[3][6] = cube[6][5]
cube[6][5] = cube[5][2]
cube[5][2] = h
def L():
global cube
t = cube[0][3]
cube[0][3] = cube[9][3]
cube[9][3] = cube[6][3]
cube[6][3] = cube[3][3]
cube[3][3] = t
c = cube[2][3]
cube[2][3] = cube[11][3]
cube[11][3] = cube[8][3]
cube[8][3] = cube[5][3]
cube[5][3] = c
b = cube[1][3]
cube[1][3] = cube[10][3]
cube[10][3] = cube[7][3]
cube[7][3] = cube[4][3]
cube[4][3] = b
d = cube[3][0]
cube[3][0] = cube[5][0]
cube[5][0] = cube[5][2]
cube[5][2] = cube[3][2]
cube[3][2] = d
h = cube[3][1]
cube[3][1] = cube[4][0]
cube[4][0] = cube[5][1]
cube[5][1] = cube[4][2]
cube[4][2] = h
def l():
global cube
t = cube[0][3]
cube[0][3] = cube[3][3]
cube[3][3] = cube[6][3]
cube[6][3] = cube[9][3]
cube[9][3] = t
c = cube[2][3]
cube[2][3] = cube[5][3]
cube[5][3] = cube[8][3]
cube[8][3] = cube[11][3]
cube[11][3] = c
b = cube[1][3]
cube[1][3] = cube[4][3]
cube[4][3] = cube[7][3]
cube[7][3] = cube[10][3]
cube[10][3] = b
d = cube[3][0]
cube[3][0] = cube[3][2]
cube[3][2] = cube[5][2]
cube[5][2] = cube[5][0]
cube[5][0] = d
h = cube[3][1]
cube[3][1] = cube[4][2]
cube[4][2] = cube[5][1]
cube[5][1] = cube[4][0]
cube[4][0] = h
def U():
global cube
t = cube[3][0]
cube[3][0] = cube[3][3]
cube[3][3] = cube[3][6]
cube[3][6] = cube[11][5]
cube[11][5] = t
c = cube[3][2]
cube[3][2] = cube[3][5]
cube[3][5] = cube[3][8]
cube[3][8] = cube[11][3]
cube[11][3] = c
b = cube[3][1]
cube[3][1] = cube[3][4]
cube[3][4] = cube[3][7]
cube[3][7] = cube[11][4]
cube[11][4] = b
d = cube[2][3]
cube[2][3] = cube[2][5]
cube[2][5] = cube[0][5]
cube[0][5] = cube[0][3]
cube[0][3] = d
h = cube[2][4]
cube[2][4] = cube[1][5]
cube[1][5] = cube[0][4]
cube[0][4] = cube[1][3]
cube[1][3] = h
def u():
global cube
t = cube[3][0]
cube[3][0] = cube[11][5]
cube[11][5] = cube[3][6]
cube[3][6] = cube[3][3]
cube[3][3] = t
c = cube[3][2]
cube[3][2] = cube[11][3]
cube[11][3] = cube[3][8]
cube[3][8] = cube[3][5]
cube[3][5] = c
b = cube[3][1]
cube[3][1] = cube[11][4]
cube[11][4] = cube[3][7]
cube[3][7] = cube[3][4]
cube[3][4] = b
d = cube[2][3]
cube[2][3] = cube[0][3]
cube[0][3] = cube[0][5]
cube[0][5] = cube[2][5]
cube[2][5] = d
h = cube[2][4]
cube[2][4] = cube[1][3]
cube[1][3] = cube[0][4]
cube[0][4] = cube[1][5]
cube[1][5] = h
def B():
global cube
b = cube[0][5]
cube[0][5] = cube[5][8]
cube[5][8] = cube[8][3]
cube[8][3] = cube[3][0]
cube[3][0] = b
c = cube[0][4]
cube[0][4] = cube[4][8]
cube[4][8] = cube[8][4]
cube[8][4] = cube[4][0]
cube[4][0] = c
d = cube[0][3]
cube[0][3] = cube[3][8]
cube[3][8] = cube[8][5]
cube[8][5] = cube[5][0]
cube[5][0] = d
t = cube[9][4]
cube[9][4] = cube[10][3]
cube[10][3] = cube[11][4]
cube[11][4] = cube[10][5]
cube[10][5] = t
h = cube[9][3]
cube[9][3] = cube[11][3]
cube[11][3] = cube[11][5]
cube[11][5] = cube[9][5]
cube[9][5] = h
def b():
global cube
b = cube[0][5]
cube[0][5] = cube[3][0]
cube[3][0] = cube[8][3]
cube[8][3] = cube[5][8]
cube[5][8] = b
c = cube[0][4]
cube[0][4] = cube[4][0]
cube[4][0] = cube[8][4]
cube[8][4] = cube[4][8]
cube[4][8] = c
d = cube[0][3]
cube[0][3] = cube[5][0]
cube[5][0] = cube[8][5]
cube[8][5] = cube[3][8]
cube[3][8] = d
t = cube[9][4]
cube[9][4] = cube[10][5]
cube[10][5] = cube[11][4]
cube[11][4] = cube[10][3]
cube[10][3] = t
h = cube[9][3]
cube[9][3] = cube[9][5]
cube[9][5] = cube[11][5]
cube[11][5] = cube[11][3]
cube[11][3] = h
def D():
global cube
t = cube[5][0]
cube[5][0] = cube[9][5]
cube[9][5] = cube[5][6]
cube[5][6] = cube[5][3]
cube[5][3] = t
c = cube[5][2]
cube[5][2] = cube[9][3]
cube[9][3] = cube[5][8]
cube[5][8] = cube[5][5]
cube[5][5] = c
b = cube[5][1]
cube[5][1] = cube[9][4]
cube[9][4] = cube[5][7]
cube[5][7] = cube[5][4]
cube[5][4] = b
d = cube[6][3]
cube[6][3] = cube[8][3]
cube[8][3] = cube[8][5]
cube[8][5] = cube[6][5]
cube[6][5] = d
h = cube[6][4]
cube[6][4] = cube[7][3]
cube[7][3] = cube[8][4]
cube[8][4] = cube[7][5]
cube[7][5] = h
def d():
global cube
t = cube[5][0]
cube[5][0] = cube[5][3]
cube[5][3] = cube[5][6]
cube[5][6] = cube[9][5]
cube[9][5] = t
c = cube[5][2]
cube[5][2] = cube[5][5]
cube[5][5] = cube[5][8]
cube[5][8] = cube[9][3]
cube[9][3] = c
b = cube[5][1]
cube[5][1] = cube[5][4]
cube[5][4] = cube[5][7]
cube[5][7] = cube[9][4]
cube[9][4] = b
d = cube[6][3]
cube[6][3] = cube[6][5]
cube[6][5] = cube[8][5]
cube[8][5] = cube[8][3]
cube[8][3] = d
h = cube[6][4]
cube[6][4] = cube[7][5]
cube[7][5] = cube[8][4]
cube[8][4] = cube[7][3]
cube[7][3] = h
def U2():
U()
U()
def D2():
D()
D()
def F2():
F()
F()
def B2():
B()
B()
def R2():
R()
R()
def L2():
L()
L()
def display_cube(a, sol):
import pygame
global cube
cube = [rows[:] for rows in a]
pygame.font.init()
moves = ['R', 'L', 'F', 'B', 'U', 'D', 'r', 'l', 'f',
'b', 'u', 'd', 'R2', 'L2', 'F2', 'B2', 'U2', 'D2']
movesq = ['R()', 'L()', 'F()', 'B()', 'U()', 'D()', 'r()', 'l()', 'f()',
'b()', 'u()', 'd()', 'R2()', 'L2()', 'F2()', 'B2()', 'U2()', 'D2()']
clock = pygame.time.Clock()
STAT_FONT = pygame.font.SysFont("comicsans", 30)
gameExit = False
try:
pygame.quit()
finally:
gameDisplay = pygame.display.set_mode((500, 500))
pygame.display.set_caption("Cube")
while not gameExit:
clock.tick(3)
nxt_x = 150
nxt_y = 10
if len(sol) != 0:
if sol[0] != ' ':
eval(movesq[moves.index(sol[0])])
sol.pop(0)
a = [rows[:] for rows in cube]
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
gameExit = True
if gameExit:
break
# pygame.draw.rect(gameDisplay,(173,216,230),[nxt_x,nxt_y,30,30])
gameDisplay.fill((0, 0, 0))
for i in range(0, 3):
for j in range(3, 6):
if a[i][j] == 'B':
pygame.draw.rect(gameDisplay, (70, 216, 255), [
nxt_x, nxt_y, 30, 30])
nxt_x += 40
elif a[i][j] == 'R':
pygame.draw.rect(gameDisplay, (225, 0, 0),
[nxt_x, nxt_y, 30, 30])
nxt_x += 40
elif a[i][j] == 'G':
pygame.draw.rect(gameDisplay, (0, 255, 0),
[nxt_x, nxt_y, 30, 30])
nxt_x += 40
elif a[i][j] == 'Y':
pygame.draw.rect(gameDisplay, (255, 255, 0), [
nxt_x, nxt_y, 30, 30])
nxt_x += 40
elif a[i][j] == 'W':
pygame.draw.rect(gameDisplay, (255, 255, 255), [
nxt_x, nxt_y, 30, 30])
nxt_x += 40
elif a[i][j] == 'O':
pygame.draw.rect(gameDisplay, (255, 165, 0), [
nxt_x, nxt_y, 30, 30])
nxt_x += 40
nxt_y += 40
nxt_x = 150
nxt_x = 30
for i in range(3, 6):
for j in range(0, 9):
if a[i][j] == 'B':
pygame.draw.rect(gameDisplay, (70, 216, 255), [
nxt_x, nxt_y, 30, 30])
nxt_x += 40
elif a[i][j] == 'R':
pygame.draw.rect(gameDisplay, (225, 0, 0),
[nxt_x, nxt_y, 30, 30])
nxt_x += 40
elif a[i][j] == 'G':
pygame.draw.rect(gameDisplay, (0, 255, 0),
[nxt_x, nxt_y, 30, 30])
nxt_x += 40
elif a[i][j] == 'Y':
pygame.draw.rect(gameDisplay, (255, 255, 0), [
nxt_x, nxt_y, 30, 30])
nxt_x += 40
elif a[i][j] == 'W':
pygame.draw.rect(gameDisplay, (255, 255, 255), [
nxt_x, nxt_y, 30, 30])
nxt_x += 40
elif a[i][j] == 'O':
pygame.draw.rect(gameDisplay, (255, 165, 0), [
nxt_x, nxt_y, 30, 30])
nxt_x += 40
nxt_y += 40
nxt_x = 30
nxt_x = 150
for i in range(6, 12):
for j in range(3, 6):
if a[i][j] == 'B':
pygame.draw.rect(gameDisplay, (70, 216, 255), [
nxt_x, nxt_y, 30, 30])
nxt_x += 40
elif a[i][j] == 'R':
pygame.draw.rect(gameDisplay, (225, 0, 0),
[nxt_x, nxt_y, 30, 30])
nxt_x += 40
elif a[i][j] == 'G':
pygame.draw.rect(gameDisplay, (0, 255, 0),
[nxt_x, nxt_y, 30, 30])
nxt_x += 40
elif a[i][j] == 'Y':
pygame.draw.rect(gameDisplay, (255, 255, 0), [
nxt_x, nxt_y, 30, 30])
nxt_x += 40
elif a[i][j] == 'W':
pygame.draw.rect(gameDisplay, (255, 255, 255), [
nxt_x, nxt_y, 30, 30])
nxt_x += 40
elif a[i][j] == 'O':
pygame.draw.rect(gameDisplay, (255, 165, 0), [
nxt_x, nxt_y, 30, 30])
nxt_x += 40
nxt_y += 40
nxt_x = 150
pygame.display.update()
| 24.661626
| 82
| 0.389085
| 2,235
| 13,046
| 2.239821
| 0.0434
| 0.109868
| 0.053136
| 0.094886
| 0.871954
| 0.871954
| 0.840392
| 0.690971
| 0.49201
| 0.412505
| 0
| 0.162272
| 0.375057
| 13,046
| 528
| 83
| 24.708333
| 0.451736
| 0.004829
| 0
| 0.39485
| 0
| 0
| 0.008936
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.040773
| false
| 0
| 0.008584
| 0
| 0.049356
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
b96aa7436f85b6d4d4fb8a76a945996fcbc7144a
| 236
|
py
|
Python
|
my_awards/admin.py
|
Bernard2030/awardsdjango
|
2d23ee474013e8cf993966898423e30e48831041
|
[
"MIT"
] | null | null | null |
my_awards/admin.py
|
Bernard2030/awardsdjango
|
2d23ee474013e8cf993966898423e30e48831041
|
[
"MIT"
] | null | null | null |
my_awards/admin.py
|
Bernard2030/awardsdjango
|
2d23ee474013e8cf993966898423e30e48831041
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from .models import My_projects,Rates,Profile,Comments
# Register your models here.
admin.site.register(Profile)
admin.site.register(My_projects)
admin.site.register(Rates)
admin.site.register(Comments)
| 29.5
| 54
| 0.830508
| 34
| 236
| 5.705882
| 0.441176
| 0.185567
| 0.350515
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.072034
| 236
| 8
| 55
| 29.5
| 0.885845
| 0.110169
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
b977842c6bd8dae3d8f2579e782381bc13f4009b
| 441
|
py
|
Python
|
movies/models.py
|
wederribas/moviesTrailer
|
a11ba364d46b437373337247816755ca9adfb3d7
|
[
"MIT"
] | null | null | null |
movies/models.py
|
wederribas/moviesTrailer
|
a11ba364d46b437373337247816755ca9adfb3d7
|
[
"MIT"
] | 3
|
2020-02-11T23:43:01.000Z
|
2021-06-10T19:17:39.000Z
|
movies/models.py
|
wederribas/moviesTrailer
|
a11ba364d46b437373337247816755ca9adfb3d7
|
[
"MIT"
] | null | null | null |
from django.db import models
class MoviesTrailer(models.Model):
"""This model create the database structure to store movies data."""
name = models.CharField(max_length=100)
year = models.IntegerField()
sinopse = models.CharField(max_length=300)
category = models.CharField(max_length=15)
trailer_url = models.CharField(max_length=200)
cover_image_url = models.CharField(max_length=200)
def __str__(self):
return str(self.name)
| 27.5625
| 69
| 0.77551
| 62
| 441
| 5.322581
| 0.596774
| 0.227273
| 0.272727
| 0.363636
| 0.181818
| 0.181818
| 0
| 0
| 0
| 0
| 0
| 0.03599
| 0.117914
| 441
| 15
| 70
| 29.4
| 0.812339
| 0.14059
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.1
| false
| 0
| 0.1
| 0.1
| 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
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
b97eff9237134668ab329b6591de681dba74b20e
| 24
|
py
|
Python
|
app/src/__init__.py
|
joaofracasso/e2e-asr-pt-br
|
a494aebeb36699f9e7d0098240c12a7d6b804f38
|
[
"MIT"
] | 8
|
2018-11-04T15:52:30.000Z
|
2022-02-02T23:51:13.000Z
|
app/src/__init__.py
|
joaofracasso/e2e-asr-pt-br
|
a494aebeb36699f9e7d0098240c12a7d6b804f38
|
[
"MIT"
] | 5
|
2021-03-03T11:33:00.000Z
|
2021-03-29T12:58:08.000Z
|
app/src/__init__.py
|
joaofracasso/e2e-asr-pt-br
|
a494aebeb36699f9e7d0098240c12a7d6b804f38
|
[
"MIT"
] | 1
|
2020-08-26T01:28:43.000Z
|
2020-08-26T01:28:43.000Z
|
__version__ = "0.1.0dev"
| 24
| 24
| 0.708333
| 4
| 24
| 3.25
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.136364
| 0.083333
| 24
| 1
| 24
| 24
| 0.454545
| 0
| 0
| 0
| 0
| 0
| 0.32
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
b9845522036c1f11b40e9e089e840b8bb7fd9596
| 34
|
py
|
Python
|
src/year2019/__init__.py
|
lancelote/advent_of_code
|
06dda6ca034bc1e86addee7798bb9b2a34ff565b
|
[
"Unlicense"
] | 10
|
2017-12-11T17:54:52.000Z
|
2021-12-09T20:16:30.000Z
|
src/year2019/__init__.py
|
lancelote/advent_of_code
|
06dda6ca034bc1e86addee7798bb9b2a34ff565b
|
[
"Unlicense"
] | 260
|
2015-12-09T11:03:03.000Z
|
2021-12-12T14:32:23.000Z
|
src/year2019/__init__.py
|
lancelote/advent_of_code
|
06dda6ca034bc1e86addee7798bb9b2a34ff565b
|
[
"Unlicense"
] | null | null | null |
"""Year 2019 puzzle solutions."""
| 17
| 33
| 0.676471
| 4
| 34
| 5.75
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.133333
| 0.117647
| 34
| 1
| 34
| 34
| 0.633333
| 0.794118
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
b98aa80975752c76c2a895ccb356810c3194f128
| 88
|
py
|
Python
|
src/common/exception.py
|
JoeIOU/metedata_fusion_tools
|
3cf45338c4ae28e043142bf728ee6c91749ff72e
|
[
"Apache-2.0"
] | null | null | null |
src/common/exception.py
|
JoeIOU/metedata_fusion_tools
|
3cf45338c4ae28e043142bf728ee6c91749ff72e
|
[
"Apache-2.0"
] | null | null | null |
src/common/exception.py
|
JoeIOU/metedata_fusion_tools
|
3cf45338c4ae28e043142bf728ee6c91749ff72e
|
[
"Apache-2.0"
] | null | null | null |
# exception.py
class InvalidSystemClock(Exception):
"""
时钟回拨异常
"""
pass
| 12.571429
| 36
| 0.602273
| 7
| 88
| 7.571429
| 0.857143
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.272727
| 88
| 6
| 37
| 14.666667
| 0.828125
| 0.227273
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.5
| 0
| 0
| 0.5
| 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
| 0
| 0
| 0
| 0
|
0
| 4
|
b98b8b450db4988f8269c6e0fc64dc05098534b4
| 499
|
py
|
Python
|
gradedcw/gradedcwapp/models.py
|
cs-fullstack-2019-fall/django-models-cw-jordondoug2019
|
455dee141665440bb662ede312ecc64f2a057e32
|
[
"Apache-2.0"
] | null | null | null |
gradedcw/gradedcwapp/models.py
|
cs-fullstack-2019-fall/django-models-cw-jordondoug2019
|
455dee141665440bb662ede312ecc64f2a057e32
|
[
"Apache-2.0"
] | null | null | null |
gradedcw/gradedcwapp/models.py
|
cs-fullstack-2019-fall/django-models-cw-jordondoug2019
|
455dee141665440bb662ede312ecc64f2a057e32
|
[
"Apache-2.0"
] | null | null | null |
from django.db import models
# Create your models here.
class Dog(models.Model):
name = models.CharField(max_length=100)
breed = models.CharField(max_length=100)
color = models.CharField(max_length=50)
gender = models.CharField(max_length=100)
class Account(models.Model):
username = models.CharField(max_length=200)
realname = models.CharField(max_length=150)
accountNumber = models.IntegerField()
balance = models.DecimalField(max_digits=150, decimal_places=2)
| 29.352941
| 67
| 0.747495
| 65
| 499
| 5.615385
| 0.507692
| 0.246575
| 0.29589
| 0.394521
| 0.221918
| 0
| 0
| 0
| 0
| 0
| 0
| 0.049412
| 0.148297
| 499
| 16
| 68
| 31.1875
| 0.809412
| 0.048096
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.090909
| 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
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
b9b6483a32296c3694cff54dae879d812210b8ce
| 557
|
py
|
Python
|
src/event_processor/exceptions.py
|
marier-nico/event-processor
|
5ec3040613a506de8427c66da6108a9457174922
|
[
"MIT"
] | 3
|
2021-11-01T10:51:51.000Z
|
2021-12-20T23:38:33.000Z
|
src/event_processor/exceptions.py
|
marier-nico/event-processor
|
5ec3040613a506de8427c66da6108a9457174922
|
[
"MIT"
] | 29
|
2021-03-20T23:27:51.000Z
|
2021-12-20T10:09:26.000Z
|
src/event_processor/exceptions.py
|
marier-nico/event-processor
|
5ec3040613a506de8427c66da6108a9457174922
|
[
"MIT"
] | 2
|
2021-11-29T23:10:50.000Z
|
2022-01-20T19:13:55.000Z
|
"""Exceptions for event processor."""
class EventProcessorError(BaseException):
"""General exception for the event-processor library."""
class FilterError(EventProcessorError):
"""Exception for failures related to filters."""
class InvocationError(EventProcessorError):
"""Exception for failures in invocation."""
class DependencyError(EventProcessorError):
"""Exceptions for failures while resolving dependencies."""
class NoValueError(EventProcessorError):
"""Exception for when a value is not present in a given context."""
| 25.318182
| 71
| 0.754039
| 55
| 557
| 7.636364
| 0.581818
| 0.114286
| 0.221429
| 0.185714
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.141831
| 557
| 21
| 72
| 26.52381
| 0.878661
| 0.500898
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
b9ba3b8e9ef024e3830447d9285d9e4f79454f1f
| 147
|
py
|
Python
|
compare_polygons/apps.py
|
toddstavish/bee-service
|
ce87e6b90377f85771804f8797cc8545e0cd3ec9
|
[
"Apache-2.0"
] | 1
|
2017-06-25T18:11:24.000Z
|
2017-06-25T18:11:24.000Z
|
compare_polygons/apps.py
|
toddstavish/bee-service
|
ce87e6b90377f85771804f8797cc8545e0cd3ec9
|
[
"Apache-2.0"
] | null | null | null |
compare_polygons/apps.py
|
toddstavish/bee-service
|
ce87e6b90377f85771804f8797cc8545e0cd3ec9
|
[
"Apache-2.0"
] | null | null | null |
from __future__ import unicode_literals
from django.apps import AppConfig
class ComparePolygonsConfig(AppConfig):
name = 'compare_polygons'
| 18.375
| 39
| 0.816327
| 16
| 147
| 7.125
| 0.8125
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.136054
| 147
| 7
| 40
| 21
| 0.897638
| 0
| 0
| 0
| 0
| 0
| 0.108844
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
b9c7de1924f90f304414ecfcbb6a5808ad026a69
| 67
|
py
|
Python
|
env_canada/ec_exc.py
|
onkelbeh/env_canada
|
6763f81176b863ba32e559fe6b8f714e38f3f0c2
|
[
"MIT"
] | 37
|
2018-09-03T16:57:57.000Z
|
2022-01-18T19:38:39.000Z
|
env_canada/ec_exc.py
|
onkelbeh/env_canada
|
6763f81176b863ba32e559fe6b8f714e38f3f0c2
|
[
"MIT"
] | 45
|
2019-01-28T18:04:45.000Z
|
2022-03-16T01:04:21.000Z
|
env_canada/ec_exc.py
|
onkelbeh/env_canada
|
6763f81176b863ba32e559fe6b8f714e38f3f0c2
|
[
"MIT"
] | 14
|
2019-01-29T19:26:57.000Z
|
2022-01-18T18:25:29.000Z
|
class UnknownStationId(Exception):
"""Station ID is unknown"""
| 22.333333
| 34
| 0.716418
| 7
| 67
| 6.857143
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.149254
| 67
| 2
| 35
| 33.5
| 0.842105
| 0.313433
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
b9cd3f1785575bac15a79e59bbf6223e69722012
| 2,208
|
py
|
Python
|
indexed_gzip/tests/test_indexed_gzip.py
|
effigies/indexed_gzip
|
33759ad1fe52358d8ce71ade72fe2bf86d8d9854
|
[
"CNRI-Python"
] | null | null | null |
indexed_gzip/tests/test_indexed_gzip.py
|
effigies/indexed_gzip
|
33759ad1fe52358d8ce71ade72fe2bf86d8d9854
|
[
"CNRI-Python"
] | null | null | null |
indexed_gzip/tests/test_indexed_gzip.py
|
effigies/indexed_gzip
|
33759ad1fe52358d8ce71ade72fe2bf86d8d9854
|
[
"CNRI-Python"
] | null | null | null |
#!/usr/bin/env python
#
# test_indexed_gzip.py - Python wrapper around ctest_indexed_gzip.pyx.
#
# Author: Paul McCarthy <pauldmccarthy@gmail.com>
#
import pytest
from . import ctest_indexed_gzip
pytestmark = pytest.mark.indexed_gzip_test
def test_open_close( testfile, nelems, seed): ctest_indexed_gzip.test_open_close( testfile, nelems, seed)
def test_open_close_ctxmanager( testfile, nelems, seed): ctest_indexed_gzip.test_open_close_ctxmanager( testfile, nelems, seed)
def test_atts( testfile): ctest_indexed_gzip.test_atts( testfile)
def test_init_failure_cases( concat): ctest_indexed_gzip.test_init_failure_cases( concat)
def test_init_success_cases( concat): ctest_indexed_gzip.test_init_success_cases( concat)
def test_create_from_open_handle(testfile, nelems, seed): ctest_indexed_gzip.test_create_from_open_handle(testfile, nelems, seed)
def test_read_all( testfile, nelems, use_mmap): ctest_indexed_gzip.test_read_all( testfile, nelems, use_mmap)
def test_read_beyond_end( concat): ctest_indexed_gzip.test_read_beyond_end( concat)
def test_seek_and_read( testfile, nelems, niters, seed): ctest_indexed_gzip.test_seek_and_read( testfile, nelems, niters, seed)
def test_seek_and_tell( testfile, nelems, niters, seed): ctest_indexed_gzip.test_seek_and_tell( testfile, nelems, niters, seed)
def test_readinto(): ctest_indexed_gzip.test_readinto()
def test_readline(): ctest_indexed_gzip.test_readline()
def test_readline_sizelimit(): ctest_indexed_gzip.test_readline_sizelimit()
def test_readlines(): ctest_indexed_gzip.test_readlines()
def test_readlines_sizelimit(): ctest_indexed_gzip.test_readlines_sizelimit()
def test_iter(): ctest_indexed_gzip.test_iter()
| 66.909091
| 145
| 0.63587
| 250
| 2,208
| 5.168
| 0.212
| 0.170279
| 0.22291
| 0.247678
| 0.694272
| 0.470588
| 0.438854
| 0.283282
| 0.151703
| 0.078947
| 0
| 0
| 0.297554
| 2,208
| 32
| 146
| 69
| 0.833011
| 0.062047
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.842105
| false
| 0
| 0.105263
| 0
| 0.947368
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
6a10aa0c1605473ac986e812e87152599658521e
| 489
|
py
|
Python
|
chapter05/favorite_fruits.py
|
rafalmaziejuk/PythonCrashCourseSolutions
|
733a393c8ee0eeb4212ee7c1cd629c62eacb7cc4
|
[
"MIT"
] | null | null | null |
chapter05/favorite_fruits.py
|
rafalmaziejuk/PythonCrashCourseSolutions
|
733a393c8ee0eeb4212ee7c1cd629c62eacb7cc4
|
[
"MIT"
] | null | null | null |
chapter05/favorite_fruits.py
|
rafalmaziejuk/PythonCrashCourseSolutions
|
733a393c8ee0eeb4212ee7c1cd629c62eacb7cc4
|
[
"MIT"
] | null | null | null |
favorite_fruits = ['apple', 'orange', 'pineapple']
if 'apple' in favorite_fruits:
print("You really like apples!")
if 'grapefruit' in favorite_fruits:
print("You really like grapefruits!")
else:
print("Why don't you like grapefruits?")
if 'orange' not in favorite_fruits:
print("Why don't you like oranges?")
if 'pineapple' in favorite_fruits:
print("You really like pineapples!")
if 'potato' in favorite_fruits:
print("Do you really think potato is a fruit?")
| 27.166667
| 51
| 0.705521
| 70
| 489
| 4.842857
| 0.385714
| 0.247788
| 0.235988
| 0.309735
| 0.412979
| 0.412979
| 0.300885
| 0
| 0
| 0
| 0
| 0
| 0.173824
| 489
| 18
| 51
| 27.166667
| 0.839109
| 0
| 0
| 0
| 0
| 0
| 0.469388
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.461538
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
6a1802d103040fa983baabe3c775f48b241d7e81
| 291
|
py
|
Python
|
pypiper/__init__.py
|
fhalbritter/pypiper
|
67908f2ee5f51fa5fdddb67eb6d7891aefeeda6a
|
[
"BSD-2-Clause"
] | 24
|
2017-12-15T13:48:59.000Z
|
2022-01-30T19:07:21.000Z
|
pypiper/__init__.py
|
fhalbritter/pypiper
|
67908f2ee5f51fa5fdddb67eb6d7891aefeeda6a
|
[
"BSD-2-Clause"
] | 117
|
2017-12-19T20:27:59.000Z
|
2022-01-25T22:30:25.000Z
|
pypiper/__init__.py
|
vreuter/pypiper
|
67908f2ee5f51fa5fdddb67eb6d7891aefeeda6a
|
[
"BSD-2-Clause"
] | 7
|
2017-12-14T16:59:09.000Z
|
2020-01-08T12:30:17.000Z
|
from ._version import __version__
from .manager import *
from .ngstk import *
from .utils import *
from .pipeline import *
from .exceptions import *
from .stage import *
# Implicitly re-export so logmuse usage by pipeline author routes through here.
from logmuse import add_logging_options
| 26.454545
| 79
| 0.790378
| 40
| 291
| 5.575
| 0.575
| 0.224215
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.154639
| 291
| 10
| 80
| 29.1
| 0.906504
| 0.264605
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
6a1d272bcef089f31db1814ce1c4e4493162e739
| 117
|
py
|
Python
|
Inheritance - Exercise/Zoo/gorilla.py
|
DiyanKalaydzhiev23/OOP---Python
|
7ac424d5fb08a6bd28dc36593e45d949b3ac0cd0
|
[
"MIT"
] | null | null | null |
Inheritance - Exercise/Zoo/gorilla.py
|
DiyanKalaydzhiev23/OOP---Python
|
7ac424d5fb08a6bd28dc36593e45d949b3ac0cd0
|
[
"MIT"
] | null | null | null |
Inheritance - Exercise/Zoo/gorilla.py
|
DiyanKalaydzhiev23/OOP---Python
|
7ac424d5fb08a6bd28dc36593e45d949b3ac0cd0
|
[
"MIT"
] | null | null | null |
from Zoo.mammal import Mammal
class Gorilla(Mammal):
def __init__(self, name):
super().__init__(name)
| 14.625
| 30
| 0.675214
| 15
| 117
| 4.733333
| 0.733333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.213675
| 117
| 7
| 31
| 16.714286
| 0.771739
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.25
| 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
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
6a1e2a82a5c4a91c6a96acbeab610dcc9de83f3b
| 7,427
|
py
|
Python
|
tests/dataset_tests/preprocessor_tests/test_common.py
|
pfnet/chainerchem
|
efe323aa21f63a815130d673781e7cca1ccb72d2
|
[
"MIT"
] | 184
|
2019-11-27T12:59:01.000Z
|
2022-03-29T19:18:54.000Z
|
tests/dataset_tests/preprocessor_tests/test_common.py
|
pfnet/chainerchem
|
efe323aa21f63a815130d673781e7cca1ccb72d2
|
[
"MIT"
] | 21
|
2019-12-08T01:53:33.000Z
|
2020-10-23T01:19:56.000Z
|
tests/dataset_tests/preprocessor_tests/test_common.py
|
pfnet/chainerchem
|
efe323aa21f63a815130d673781e7cca1ccb72d2
|
[
"MIT"
] | 45
|
2019-11-28T09:59:54.000Z
|
2022-02-07T02:42:46.000Z
|
import numpy
import pytest
from rdkit import Chem
from chainer_chemistry.config import MAX_ATOMIC_NUM
from chainer_chemistry.dataset.preprocessors import common
from chainer_chemistry.utils.extend import extend_adj
@pytest.fixture
def sample_molecule():
return Chem.MolFromSmiles('CN=C=O')
@pytest.fixture
def sample_molecule_2():
return Chem.MolFromSmiles('Cc1ccccc1')
class TestGetAtomicNumbers(object):
def test_normal(self, sample_molecule):
actual = common.construct_atomic_number_array(sample_molecule)
assert actual.shape == (4,)
expect = numpy.array([6, 7, 6, 8], dtype=numpy.int32)
numpy.testing.assert_equal(actual, expect)
def test_padding(self, sample_molecule):
actual = common.construct_atomic_number_array(sample_molecule, 5)
assert actual.shape == (5,)
expect = numpy.array([6, 7, 6, 8, 0], dtype=numpy.int32)
numpy.testing.assert_equal(actual, expect)
def test_normal_truncated(self, sample_molecule):
with pytest.raises(ValueError):
adj = common.construct_atomic_number_array(sample_molecule, 3) # NOQA
class TestGetAdjMatrix(object):
def test_normal(self, sample_molecule_2):
adj = common.construct_adj_matrix(sample_molecule_2)
assert adj.shape == (7, 7)
expect = numpy.array(
[[1., 1., 0., 0., 0., 0., 0., ],
[1., 1., 1., 0., 0., 0., 1., ],
[0., 1., 1., 1., 0., 0., 0., ],
[0., 0., 1., 1., 1., 0., 0., ],
[0., 0., 0., 1., 1., 1., 0., ],
[0., 0., 0., 0., 1., 1., 1., ],
[0., 1., 0., 0., 0., 1., 1., ]],
dtype=numpy.float32)
numpy.testing.assert_equal(adj, expect)
def test_normal_no_self_connection(self, sample_molecule_2):
adj = common.construct_adj_matrix(sample_molecule_2,
self_connection=False)
assert adj.shape == (7, 7)
expect = numpy.array(
[[0., 1., 0., 0., 0., 0., 0.],
[1., 0., 1., 0., 0., 0., 1.],
[0., 1., 0., 1., 0., 0., 0.],
[0., 0., 1., 0., 1., 0., 0.],
[0., 0., 0., 1., 0., 1., 0.],
[0., 0., 0., 0., 1., 0., 1.],
[0., 1., 0., 0., 0., 1., 0.]],
dtype=numpy.float32)
numpy.testing.assert_equal(adj, expect)
def test_normal_padding(self, sample_molecule_2):
adj = common.construct_adj_matrix(sample_molecule_2, 8)
assert adj.shape == (8, 8)
expect = numpy.array(
[[1., 1., 0., 0., 0., 0., 0., 0.],
[1., 1., 1., 0., 0., 0., 1., 0.],
[0., 1., 1., 1., 0., 0., 0., 0.],
[0., 0., 1., 1., 1., 0., 0., 0.],
[0., 0., 0., 1., 1., 1., 0., 0.],
[0., 0., 0., 0., 1., 1., 1., 0.],
[0., 1., 0., 0., 0., 1., 1., 0.],
[0., 0., 0., 0., 0., 0., 0., 0.]],
dtype=numpy.float32)
numpy.testing.assert_equal(adj, expect)
def test_normal_truncated(self, sample_molecule_2):
with pytest.raises(ValueError):
adj = common.construct_adj_matrix(sample_molecule_2, 6) # NOQA
class TestConstructDiscreteEdgeMatrix(object):
expect_adj = numpy.array(
[[[0., 1., 0., 0., 0., 0., 0.],
[1., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.]],
[[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.]],
[[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 0., 0., 0., 0., 0.]],
[[0., 0., 0., 0., 0., 0., 0.],
[0., 0., 1., 0., 0., 0., 1.],
[0., 1., 0., 1., 0., 0., 0.],
[0., 0., 1., 0., 1., 0., 0.],
[0., 0., 0., 1., 0., 1., 0.],
[0., 0., 0., 0., 1., 0., 1.],
[0., 1., 0., 0., 0., 1., 0.]]], dtype=numpy.float32)
def test_default(self, sample_molecule_2):
adj = common.construct_discrete_edge_matrix(sample_molecule_2)
assert adj.shape == (4, 7, 7)
numpy.testing.assert_equal(adj, self.expect_adj)
def test_add_self_connection_channel(self, sample_molecule_2):
adj = common.construct_discrete_edge_matrix(
sample_molecule_2, add_self_connection_channel=True)
assert adj.shape == (5, 7, 7)
numpy.testing.assert_equal(adj[:4], self.expect_adj)
numpy.testing.assert_equal(adj[4], numpy.eye(7, 7))
def test_padding(self, sample_molecule_2):
adj = common.construct_discrete_edge_matrix(sample_molecule_2, 8)
assert adj.shape == (4, 8, 8)
expect = extend_adj(self.expect_adj, out_size=8, axis=[-1, -2])
numpy.testing.assert_equal(adj, expect)
def test_truncated(self, sample_molecule_2):
with pytest.raises(ValueError):
adj = common.construct_discrete_edge_matrix(sample_molecule_2, 6) # NOQA
def test_construct_super_node_feature_adj_ndim2(sample_molecule):
adj = common.construct_adj_matrix(sample_molecule)
atom_array = common.construct_atomic_number_array(sample_molecule)
s = common.construct_supernode_feature(sample_molecule, atom_array, adj)
# print(s)
assert s.shape == (MAX_ATOMIC_NUM * 2 + 4,)
assert s[0] == len(atom_array)
assert s[1] == adj.sum()
assert s[2] == 1
assert s[3] == 1
assert s[3 + 6] == 1 # C
assert s[3 + 7] == 1 # N
assert s[3 + 8] == 1 # O
assert s[3 + MAX_ATOMIC_NUM] == 0 # other
assert s[3 + MAX_ATOMIC_NUM + 6] == 2 / len(atom_array)
assert s[3 + MAX_ATOMIC_NUM + 7] == 1 / len(atom_array)
assert s[3 + MAX_ATOMIC_NUM + 8] == 1 / len(atom_array)
assert s[3 + MAX_ATOMIC_NUM * 2] == 0
def test_construct_super_node_feature_adj_ndim3(sample_molecule):
adj = common.construct_discrete_edge_matrix(sample_molecule)
atom_array = common.construct_atomic_number_array(sample_molecule)
s = common.construct_supernode_feature(sample_molecule, atom_array, adj)
assert s.shape == (MAX_ATOMIC_NUM * 2 + 10,)
assert s[0] == len(atom_array)
assert s[1] == adj.sum()
assert s[2] == 1
assert s[3] == 1
assert s[4] == 0
assert s[5] == 0
assert pytest.approx(s[6], 1 * 2 / adj.sum()) # symmetric
assert pytest.approx(s[7], 2 * 2 / adj.sum()) # symmetric
assert s[8] == 0
assert s[9] == 0
assert s[9 + 6] == 1 # C
assert s[9 + 6] == 1 # N
assert s[9 + 7] == 1 # O
assert s[9 + MAX_ATOMIC_NUM] == 0 # other
assert s[9 + MAX_ATOMIC_NUM + 6] == 2 / len(atom_array)
assert s[9 + MAX_ATOMIC_NUM + 7] == 1 / len(atom_array)
assert s[9 + MAX_ATOMIC_NUM + 8] == 1 / len(atom_array)
assert s[9 + MAX_ATOMIC_NUM * 2] == 0
if __name__ == '__main__':
pytest.main([__file__, '-v', '-s'])
| 37.510101
| 85
| 0.515551
| 1,092
| 7,427
| 3.325092
| 0.090659
| 0.132746
| 0.175985
| 0.206004
| 0.800881
| 0.754888
| 0.73561
| 0.618838
| 0.561278
| 0.551639
| 0
| 0.096516
| 0.292716
| 7,427
| 197
| 86
| 37.700508
| 0.594708
| 0.009021
| 0
| 0.378882
| 0
| 0
| 0.003676
| 0
| 0
| 0
| 0
| 0
| 0.304348
| 1
| 0.093168
| false
| 0
| 0.037267
| 0.012422
| 0.167702
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
6a3cc3a72f6b15fd209ef53fb0270940f38548fa
| 195
|
py
|
Python
|
lang/Python/call-a-function-in-a-shared-library-2.py
|
ethansaxenian/RosettaDecode
|
8ea1a42a5f792280b50193ad47545d14ee371fb7
|
[
"MIT"
] | null | null | null |
lang/Python/call-a-function-in-a-shared-library-2.py
|
ethansaxenian/RosettaDecode
|
8ea1a42a5f792280b50193ad47545d14ee371fb7
|
[
"MIT"
] | null | null | null |
lang/Python/call-a-function-in-a-shared-library-2.py
|
ethansaxenian/RosettaDecode
|
8ea1a42a5f792280b50193ad47545d14ee371fb7
|
[
"MIT"
] | null | null | null |
import ctypes
# libc = ctypes.cdll.msvcrt # Windows
# libc = ctypes.CDLL('libc.dylib') # Mac
libc = ctypes.CDLL('libc.so') # Linux and most other *nix
libc.printf(b'hi there, %s\n', b'world')
17
| 27.857143
| 57
| 0.682051
| 33
| 195
| 4.030303
| 0.666667
| 0.225564
| 0.315789
| 0.270677
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.011976
| 0.14359
| 195
| 6
| 58
| 32.5
| 0.784431
| 0.502564
| 0
| 0
| 0
| 0
| 0.285714
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.25
| 0
| 0.25
| 0.25
| 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
| 0
| 0
| 0
| 0
|
0
| 4
|
6a4318fab66ace012083ba2522a0f5c58c024cd9
| 89
|
py
|
Python
|
Algorithm/Array/Rearrange Array Alternately - O(1).py
|
smsubham/Data-Structure-Algorithms-Questions
|
45da68231907068ef4e4a0444ffdac69b337fa7c
|
[
"Apache-2.0"
] | null | null | null |
Algorithm/Array/Rearrange Array Alternately - O(1).py
|
smsubham/Data-Structure-Algorithms-Questions
|
45da68231907068ef4e4a0444ffdac69b337fa7c
|
[
"Apache-2.0"
] | null | null | null |
Algorithm/Array/Rearrange Array Alternately - O(1).py
|
smsubham/Data-Structure-Algorithms-Questions
|
45da68231907068ef4e4a0444ffdac69b337fa7c
|
[
"Apache-2.0"
] | null | null | null |
#https://practice.geeksforgeeks.org/problems/-rearrange-array-alternately-1587115620/1
| 22.25
| 86
| 0.820225
| 10
| 89
| 7.3
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.127907
| 0.033708
| 89
| 3
| 87
| 29.666667
| 0.72093
| 0.955056
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
dbdfdb3ec016c593abfe963ad14e8efc028a3fda
| 340
|
py
|
Python
|
tests/means/test_stretched.py
|
darsh8200/mlkernels
|
cad223c422a32bc10375358fda076645efca62f1
|
[
"MIT"
] | null | null | null |
tests/means/test_stretched.py
|
darsh8200/mlkernels
|
cad223c422a32bc10375358fda076645efca62f1
|
[
"MIT"
] | 1
|
2021-07-09T06:58:46.000Z
|
2021-07-09T06:58:46.000Z
|
tests/means/test_stretched.py
|
darsh8200/mlkernels
|
cad223c422a32bc10375358fda076645efca62f1
|
[
"MIT"
] | null | null | null |
from ..util import approx
# noinspection PyUnresolvedReferences
from ..util_mean import x, m_square, m_cube
def test_stretched(x):
# Test correctness.
approx(m_square.stretch(5)(x), m_square(x / 5))
# Test equality.
assert m_square.stretch(5) == m_square.stretch(5)
assert m_square.stretch(5) != m_square.stretch(6)
| 24.285714
| 53
| 0.711765
| 51
| 340
| 4.54902
| 0.392157
| 0.211207
| 0.301724
| 0.258621
| 0.301724
| 0.301724
| 0.301724
| 0.301724
| 0
| 0
| 0
| 0.021201
| 0.167647
| 340
| 13
| 54
| 26.153846
| 0.798587
| 0.2
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.333333
| 1
| 0.166667
| false
| 0
| 0.333333
| 0
| 0.5
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
dbe02493b790fb1cb065faf56af5c0705da28ffb
| 216
|
py
|
Python
|
src/openclsim/__init__.py
|
TUDelft-CITG/Hydraulic-Infrastructure-Realisation
|
c5888ef8f8bd1676536e268701dbb974e6f87c40
|
[
"MIT"
] | null | null | null |
src/openclsim/__init__.py
|
TUDelft-CITG/Hydraulic-Infrastructure-Realisation
|
c5888ef8f8bd1676536e268701dbb974e6f87c40
|
[
"MIT"
] | 7
|
2020-04-17T06:38:01.000Z
|
2021-07-14T10:14:44.000Z
|
src/openclsim/__init__.py
|
TUDelft-CITG/Hydraulic-Infrastructure-Realisation
|
c5888ef8f8bd1676536e268701dbb974e6f87c40
|
[
"MIT"
] | 2
|
2020-06-15T14:59:59.000Z
|
2020-10-08T12:46:59.000Z
|
"""Top-level package for OpenCLSim."""
import openclsim.core as core
import openclsim.model as model
import openclsim.plot as plot
import openclsim.plugins as plugins
__all__ = ["model", "plugins", "core", "plot"]
| 24
| 46
| 0.75
| 30
| 216
| 5.266667
| 0.4
| 0.379747
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.12963
| 216
| 8
| 47
| 27
| 0.840426
| 0.148148
| 0
| 0
| 0
| 0
| 0.11236
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.8
| 0
| 0.8
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
e011e3bd9b255beac008a11e0b5a19bf30bace4d
| 123
|
py
|
Python
|
instacopy/apps/blog/templatetags/blog_tags.py
|
romannovikov/instacopy-petproject
|
92ffec02b860c77377182cd1fc58043be195e06e
|
[
"MIT"
] | null | null | null |
instacopy/apps/blog/templatetags/blog_tags.py
|
romannovikov/instacopy-petproject
|
92ffec02b860c77377182cd1fc58043be195e06e
|
[
"MIT"
] | 13
|
2020-04-06T02:21:42.000Z
|
2021-10-06T10:31:15.000Z
|
instacopy/apps/blog/templatetags/blog_tags.py
|
romannovikov/instacopy-petproject
|
92ffec02b860c77377182cd1fc58043be195e06e
|
[
"MIT"
] | null | null | null |
from django import template
register = template.Library()
@register.simple_tag
def define(value=None):
return value
| 13.666667
| 29
| 0.764228
| 16
| 123
| 5.8125
| 0.8125
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.154472
| 123
| 8
| 30
| 15.375
| 0.894231
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.2
| 0.2
| 0.6
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
e011f45f1ee71533d0e2f2b5462dd5edb54aec44
| 44
|
py
|
Python
|
lib/python/RPi/GPIO/__init__.py
|
kitazaki/jetson-gpio
|
2a6ad7e24cce7ca56d5c39917fabfc7d18ca1dfd
|
[
"MIT"
] | 591
|
2019-03-29T21:25:31.000Z
|
2022-03-31T06:33:05.000Z
|
lib/python/RPi/GPIO/__init__.py
|
kitazaki/jetson-gpio
|
2a6ad7e24cce7ca56d5c39917fabfc7d18ca1dfd
|
[
"MIT"
] | 65
|
2019-04-02T20:09:01.000Z
|
2022-03-21T12:58:41.000Z
|
lib/python/RPi/GPIO/__init__.py
|
kitazaki/jetson-gpio
|
2a6ad7e24cce7ca56d5c39917fabfc7d18ca1dfd
|
[
"MIT"
] | 207
|
2019-04-21T18:36:48.000Z
|
2022-03-29T11:22:40.000Z
|
from Jetson.GPIO import *
VERSION = '0.1.0'
| 14.666667
| 25
| 0.681818
| 8
| 44
| 3.75
| 0.875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.081081
| 0.159091
| 44
| 2
| 26
| 22
| 0.72973
| 0
| 0
| 0
| 0
| 0
| 0.113636
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
e0206e2db82efe39c5054baae349af999ec83d9f
| 52,996
|
py
|
Python
|
module/migrations/0002_auto_20210108_1807.py
|
wilmerm/unolet-2022
|
18119a9381b763e38c888bafdb7f97028bd80ea1
|
[
"BSD-3-Clause"
] | null | null | null |
module/migrations/0002_auto_20210108_1807.py
|
wilmerm/unolet-2022
|
18119a9381b763e38c888bafdb7f97028bd80ea1
|
[
"BSD-3-Clause"
] | null | null | null |
module/migrations/0002_auto_20210108_1807.py
|
wilmerm/unolet-2022
|
18119a9381b763e38c888bafdb7f97028bd80ea1
|
[
"BSD-3-Clause"
] | null | null | null |
# Generated by Django 3.1.4 on 2021-01-08 18:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('module', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='module',
name='icon',
),
migrations.AddField(
model_name='module',
name='icon_name',
field=models.CharField(blank=True, choices=[('house-door.svg', 'house-door.svg'), ('graph-up.svg', 'graph-up.svg'), ('sort-alpha-up-alt.svg', 'sort-alpha-up-alt.svg'), ('eye-slash-fill.svg', 'eye-slash-fill.svg'), ('arrows-angle-expand.svg', 'arrows-angle-expand.svg'), ('layout-text-window.svg', 'layout-text-window.svg'), ('textarea.svg', 'textarea.svg'), ('slack.svg', 'slack.svg'), ('tv-fill.svg', 'tv-fill.svg'), ('hash.svg', 'hash.svg'), ('file-medical-fill.svg', 'file-medical-fill.svg'), ('calculator-fill.svg', 'calculator-fill.svg'), ('twitter.svg', 'twitter.svg'), ('bookmark-heart.svg', 'bookmark-heart.svg'), ('star.svg', 'star.svg'), ('at.svg', 'at.svg'), ('type-italic.svg', 'type-italic.svg'), ('hand-index.svg', 'hand-index.svg'), ('volume-off.svg', 'volume-off.svg'), ('telephone-plus-fill.svg', 'telephone-plus-fill.svg'), ('arrow-down-left.svg', 'arrow-down-left.svg'), ('hand-index-thumb.svg', 'hand-index-thumb.svg'), ('calendar2-range.svg', 'calendar2-range.svg'), ('dice-4.svg', 'dice-4.svg'), ('inboxes-fill.svg', 'inboxes-fill.svg'), ('bag-x-fill.svg', 'bag-x-fill.svg'), ('caret-down-square-fill.svg', 'caret-down-square-fill.svg'), ('thermometer-half.svg', 'thermometer-half.svg'), ('calendar2-day-fill.svg', 'calendar2-day-fill.svg'), ('alt.svg', 'alt.svg'), ('heart-half.svg', 'heart-half.svg'), ('pause-btn.svg', 'pause-btn.svg'), ('plus-circle-fill.svg', 'plus-circle-fill.svg'), ('mic.svg', 'mic.svg'), ('person-lines-fill.svg', 'person-lines-fill.svg'), ('markdown.svg', 'markdown.svg'), ('shield-minus.svg', 'shield-minus.svg'), ('file-earmark-richtext-fill.svg', 'file-earmark-richtext-fill.svg'), ('trophy-fill.svg', 'trophy-fill.svg'), ('hdd.svg', 'hdd.svg'), ('shop.svg', 'shop.svg'), ('skip-backward-circle.svg', 'skip-backward-circle.svg'), ('bar-chart.svg', 'bar-chart.svg'), ('phone-landscape.svg', 'phone-landscape.svg'), ('suit-spade.svg', 'suit-spade.svg'), ('wrench.svg', 'wrench.svg'), ('badge-vo.svg', 'badge-vo.svg'), ('house-door-fill.svg', 'house-door-fill.svg'), ('sort-down.svg', 'sort-down.svg'), ('plus-circle.svg', 'plus-circle.svg'), ('skip-end-circle.svg', 'skip-end-circle.svg'), ('inboxes.svg', 'inboxes.svg'), ('envelope-open-fill.svg', 'envelope-open-fill.svg'), ('file-arrow-down.svg', 'file-arrow-down.svg'), ('file-x.svg', 'file-x.svg'), ('record-btn.svg', 'record-btn.svg'), ('basket.svg', 'basket.svg'), ('award-fill.svg', 'award-fill.svg'), ('badge-8k.svg', 'badge-8k.svg'), ('flower3.svg', 'flower3.svg'), ('skip-start-circle-fill.svg', 'skip-start-circle-fill.svg'), ('voicemail.svg', 'voicemail.svg'), ('arrow-up-down.svg', 'arrow-up-down.svg'), ('ui-checks-grid.svg', 'ui-checks-grid.svg'), ('upc.svg', 'upc.svg'), ('tablet.svg', 'tablet.svg'), ('bag-plus.svg', 'bag-plus.svg'), ('calendar3.svg', 'calendar3.svg'), ('calendar2-x-fill.svg', 'calendar2-x-fill.svg'), ('arrow-up-left-circle.svg', 'arrow-up-left-circle.svg'), ('chat-square-text.svg', 'chat-square-text.svg'), ('toggle-on.svg', 'toggle-on.svg'), ('patch-plus.svg', 'patch-plus.svg'), ('peace.svg', 'peace.svg'), ('file-word.svg', 'file-word.svg'), ('chat-right-quote.svg', 'chat-right-quote.svg'), ('file-earmark-person.svg', 'file-earmark-person.svg'), ('bell.svg', 'bell.svg'), ('share.svg', 'share.svg'), ('easel.svg', 'easel.svg'), ('layout-text-window-reverse.svg', 'layout-text-window-reverse.svg'), ('file-bar-graph-fill.svg', 'file-bar-graph-fill.svg'), ('pentagon.svg', 'pentagon.svg'), ('table.svg', 'table.svg'), ('patch-question.svg', 'patch-question.svg'), ('gem.svg', 'gem.svg'), ('person-fill.svg', 'person-fill.svg'), ('file-earmark-excel-fill.svg', 'file-earmark-excel-fill.svg'), ('bookmark-star-fill.svg', 'bookmark-star-fill.svg'), ('option.svg', 'option.svg'), ('stop-circle.svg', 'stop-circle.svg'), ('layout-sidebar-inset-reverse.svg', 'layout-sidebar-inset-reverse.svg'), ('bag-check.svg', 'bag-check.svg'), ('badge-cc.svg', 'badge-cc.svg'), ('octagon-fill.svg', 'octagon-fill.svg'), ('pause-circle.svg', 'pause-circle.svg'), ('arrow-down-square.svg', 'arrow-down-square.svg'), ('hdd-network-fill.svg', 'hdd-network-fill.svg'), ('chevron-right.svg', 'chevron-right.svg'), ('peace-fill.svg', 'peace-fill.svg'), ('journal-bookmark-fill.svg', 'journal-bookmark-fill.svg'), ('collection.svg', 'collection.svg'), ('headphones.svg', 'headphones.svg'), ('chat-square.svg', 'chat-square.svg'), ('filter-square.svg', 'filter-square.svg'), ('blockquote-left.svg', 'blockquote-left.svg'), ('folder-fill.svg', 'folder-fill.svg'), ('crop.svg', 'crop.svg'), ('play-circle.svg', 'play-circle.svg'), ('record-circle-fill.svg', 'record-circle-fill.svg'), ('calendar-week.svg', 'calendar-week.svg'), ('cloud.svg', 'cloud.svg'), ('egg.svg', 'egg.svg'), ('ui-radios-grid.svg', 'ui-radios-grid.svg'), ('check2-circle.svg', 'check2-circle.svg'), ('badge-4k-fill.svg', 'badge-4k-fill.svg'), ('arrow-left-square.svg', 'arrow-left-square.svg'), ('bag-plus-fill.svg', 'bag-plus-fill.svg'), ('binoculars-fill.svg', 'binoculars-fill.svg'), ('droplet-half.svg', 'droplet-half.svg'), ('calendar-event.svg', 'calendar-event.svg'), ('emoji-expressionless.svg', 'emoji-expressionless.svg'), ('input-cursor.svg', 'input-cursor.svg'), ('check-square-fill.svg', 'check-square-fill.svg'), ('reply.svg', 'reply.svg'), ('door-open.svg', 'door-open.svg'), ('arrow-up-right-square.svg', 'arrow-up-right-square.svg'), ('intersect.svg', 'intersect.svg'), ('basket3.svg', 'basket3.svg'), ('pentagon-half.svg', 'pentagon-half.svg'), ('arrow-down-right-square-fill.svg', 'arrow-down-right-square-fill.svg'), ('check-box.svg', 'check-box.svg'), ('kanban-fill.svg', 'kanban-fill.svg'), ('camera-fill.svg', 'camera-fill.svg'), ('badge-hd.svg', 'badge-hd.svg'), ('stickies.svg', 'stickies.svg'), ('vector-pen.svg', 'vector-pen.svg'), ('map.svg', 'map.svg'), ('layers-half.svg', 'layers-half.svg'), ('pencil-square.svg', 'pencil-square.svg'), ('file-earmark-zip-fill.svg', 'file-earmark-zip-fill.svg'), ('pause-fill.svg', 'pause-fill.svg'), ('reply-fill.svg', 'reply-fill.svg'), ('toggles2.svg', 'toggles2.svg'), ('fullscreen.svg', 'fullscreen.svg'), ('music-note.svg', 'music-note.svg'), ('journal-text.svg', 'journal-text.svg'), ('x-diamond.svg', 'x-diamond.svg'), ('node-minus-fill.svg', 'node-minus-fill.svg'), ('file-arrow-down-fill.svg', 'file-arrow-down-fill.svg'), ('laptop-fill.svg', 'laptop-fill.svg'), ('chevron-double-down.svg', 'chevron-double-down.svg'), ('heart-fill.svg', 'heart-fill.svg'), ('skip-end-btn-fill.svg', 'skip-end-btn-fill.svg'), ('record2.svg', 'record2.svg'), ('chevron-double-left.svg', 'chevron-double-left.svg'), ('bookmark-check-fill.svg', 'bookmark-check-fill.svg'), ('file-lock2.svg', 'file-lock2.svg'), ('stop-fill.svg', 'stop-fill.svg'), ('emoji-heart-eyes.svg', 'emoji-heart-eyes.svg'), ('arrow-down-left-circle-fill.svg', 'arrow-down-left-circle-fill.svg'), ('skip-forward-fill.svg', 'skip-forward-fill.svg'), ('pencil-fill.svg', 'pencil-fill.svg'), ('clock.svg', 'clock.svg'), ('clipboard-data.svg', 'clipboard-data.svg'), ('cart2.svg', 'cart2.svg'), ('volume-up-fill.svg', 'volume-up-fill.svg'), ('arrow-down-right.svg', 'arrow-down-right.svg'), ('calendar3-week.svg', 'calendar3-week.svg'), ('slash-square-fill.svg', 'slash-square-fill.svg'), ('reception-0.svg', 'reception-0.svg'), ('file-play.svg', 'file-play.svg'), ('collection-fill.svg', 'collection-fill.svg'), ('check-all.svg', 'check-all.svg'), ('wallet2.svg', 'wallet2.svg'), ('text-indent-left.svg', 'text-indent-left.svg'), ('building.svg', 'building.svg'), ('dice-2.svg', 'dice-2.svg'), ('door-closed-fill.svg', 'door-closed-fill.svg'), ('arrow-up-square.svg', 'arrow-up-square.svg'), ('emoji-expressionless-fill.svg', 'emoji-expressionless-fill.svg'), ('file-earmark-plus-fill.svg', 'file-earmark-plus-fill.svg'), ('minecart.svg', 'minecart.svg'), ('chat-left-dots-fill.svg', 'chat-left-dots-fill.svg'), ('record2-fill.svg', 'record2-fill.svg'), ('search.svg', 'search.svg'), ('watch.svg', 'watch.svg'), ('calendar3-event-fill.svg', 'calendar3-event-fill.svg'), ('journal-x.svg', 'journal-x.svg'), ('check.svg', 'check.svg'), ('file-earmark-binary-fill.svg', 'file-earmark-binary-fill.svg'), ('arrow-right-short.svg', 'arrow-right-short.svg'), ('file-earmark-minus-fill.svg', 'file-earmark-minus-fill.svg'), ('chevron-compact-left.svg', 'chevron-compact-left.svg'), ('arrow-up-circle-fill.svg', 'arrow-up-circle-fill.svg'), ('cart-plus.svg', 'cart-plus.svg'), ('chevron-left.svg', 'chevron-left.svg'), ('diamond.svg', 'diamond.svg'), ('arrow-left-square-fill.svg', 'arrow-left-square-fill.svg'), ('bell-fill.svg', 'bell-fill.svg'), ('cloud-minus-fill.svg', 'cloud-minus-fill.svg'), ('record-circle.svg', 'record-circle.svg'), ('exclamation-square-fill.svg', 'exclamation-square-fill.svg'), ('emoji-laughing-fill.svg', 'emoji-laughing-fill.svg'), ('emoji-dizzy-fill.svg', 'emoji-dizzy-fill.svg'), ('layout-wtf.svg', 'layout-wtf.svg'), ('file-post.svg', 'file-post.svg'), ('file.svg', 'file.svg'), ('check-circle-fill.svg', 'check-circle-fill.svg'), ('folder-check.svg', 'folder-check.svg'), ('question-diamond-fill.svg', 'question-diamond-fill.svg'), ('toggles.svg', 'toggles.svg'), ('columns.svg', 'columns.svg'), ('rss-fill.svg', 'rss-fill.svg'), ('arrows-collapse.svg', 'arrows-collapse.svg'), ('cloud-check-fill.svg', 'cloud-check-fill.svg'), ('box-arrow-in-up-left.svg', 'box-arrow-in-up-left.svg'), ('triangle.svg', 'triangle.svg'), ('plus-square-fill.svg', 'plus-square-fill.svg'), ('person-badge-fill.svg', 'person-badge-fill.svg'), ('person-bounding-box.svg', 'person-bounding-box.svg'), ('life-preserver.svg', 'life-preserver.svg'), ('input-cursor-text.svg', 'input-cursor-text.svg'), ('calendar2-month-fill.svg', 'calendar2-month-fill.svg'), ('columns-gap.svg', 'columns-gap.svg'), ('slash-circle-fill.svg', 'slash-circle-fill.svg'), ('people-fill.svg', 'people-fill.svg'), ('shield-lock.svg', 'shield-lock.svg'), ('file-arrow-up-fill.svg', 'file-arrow-up-fill.svg'), ('book.svg', 'book.svg'), ('cloud-plus.svg', 'cloud-plus.svg'), ('calendar-check-fill.svg', 'calendar-check-fill.svg'), ('calendar-x.svg', 'calendar-x.svg'), ('image-fill.svg', 'image-fill.svg'), ('emoji-frown-fill.svg', 'emoji-frown-fill.svg'), ('calendar-date-fill.svg', 'calendar-date-fill.svg'), ('broadcast.svg', 'broadcast.svg'), ('arrow-down-left-circle.svg', 'arrow-down-left-circle.svg'), ('calendar4-week.svg', 'calendar4-week.svg'), ('headset.svg', 'headset.svg'), ('flag.svg', 'flag.svg'), ('wifi-2.svg', 'wifi-2.svg'), ('emoji-smile-upside-down.svg', 'emoji-smile-upside-down.svg'), ('patch-question-fll.svg', 'patch-question-fll.svg'), ('emoji-sunglasses-fill.svg', 'emoji-sunglasses-fill.svg'), ('minecart-loaded.svg', 'minecart-loaded.svg'), ('shuffle.svg', 'shuffle.svg'), ('hand-thumbs-down.svg', 'hand-thumbs-down.svg'), ('file-medical.svg', 'file-medical.svg'), ('file-check.svg', 'file-check.svg'), ('triangle-fill.svg', 'triangle-fill.svg'), ('person-plus-fill.svg', 'person-plus-fill.svg'), ('bricks.svg', 'bricks.svg'), ('type-h1.svg', 'type-h1.svg'), ('text-center.svg', 'text-center.svg'), ('calendar-range.svg', 'calendar-range.svg'), ('funnel.svg', 'funnel.svg'), ('lamp-fill.svg', 'lamp-fill.svg'), ('distribute-horizontal.svg', 'distribute-horizontal.svg'), ('gift-fill.svg', 'gift-fill.svg'), ('diagram-2.svg', 'diagram-2.svg'), ('key.svg', 'key.svg'), ('shield-x.svg', 'shield-x.svg'), ('brightness-low-fill.svg', 'brightness-low-fill.svg'), ('calendar2-week-fill.svg', 'calendar2-week-fill.svg'), ('file-earmark-ruled-fill.svg', 'file-earmark-ruled-fill.svg'), ('envelope.svg', 'envelope.svg'), ('cloud-download.svg', 'cloud-download.svg'), ('file-image.svg', 'file-image.svg'), ('chevron-expand.svg', 'chevron-expand.svg'), ('border-style.svg', 'border-style.svg'), ('compass-fill.svg', 'compass-fill.svg'), ('box-seam.svg', 'box-seam.svg'), ('credit-card-2-front.svg', 'credit-card-2-front.svg'), ('bookmark-fill.svg', 'bookmark-fill.svg'), ('file-person-fill.svg', 'file-person-fill.svg'), ('bounding-box.svg', 'bounding-box.svg'), ('type-strikethrough.svg', 'type-strikethrough.svg'), ('rss.svg', 'rss.svg'), ('laptop.svg', 'laptop.svg'), ('align-bottom.svg', 'align-bottom.svg'), ('chevron-bar-up.svg', 'chevron-bar-up.svg'), ('list-stars.svg', 'list-stars.svg'), ('heptagon.svg', 'heptagon.svg'), ('vinyl.svg', 'vinyl.svg'), ('file-excel-fill.svg', 'file-excel-fill.svg'), ('file-slides.svg', 'file-slides.svg'), ('controller.svg', 'controller.svg'), ('hexagon-fill.svg', 'hexagon-fill.svg'), ('chevron-double-up.svg', 'chevron-double-up.svg'), ('caret-left-fill.svg', 'caret-left-fill.svg'), ('box-arrow-up-left.svg', 'box-arrow-up-left.svg'), ('trash2.svg', 'trash2.svg'), ('hexagon.svg', 'hexagon.svg'), ('cloud-arrow-down-fill.svg', 'cloud-arrow-down-fill.svg'), ('file-earmark-arrow-up-fill.svg', 'file-earmark-arrow-up-fill.svg'), ('grid-3x3-gap.svg', 'grid-3x3-gap.svg'), ('flower1.svg', 'flower1.svg'), ('file-earmark-medical.svg', 'file-earmark-medical.svg'), ('file-earmark-easel-fill.svg', 'file-earmark-easel-fill.svg'), ('stop.svg', 'stop.svg'), ('slash-square.svg', 'slash-square.svg'), ('question-circle.svg', 'question-circle.svg'), ('align-start.svg', 'align-start.svg'), ('chat-square-text-fill.svg', 'chat-square-text-fill.svg'), ('calendar3-week-fill.svg', 'calendar3-week-fill.svg'), ('file-code-fill.svg', 'file-code-fill.svg'), ('record.svg', 'record.svg'), ('cloud-slash.svg', 'cloud-slash.svg'), ('newspaper.svg', 'newspaper.svg'), ('cursor.svg', 'cursor.svg'), ('arrow-right.svg', 'arrow-right.svg'), ('file-text-fill.svg', 'file-text-fill.svg'), ('file-earmark-richtext.svg', 'file-earmark-richtext.svg'), ('sim-fill.svg', 'sim-fill.svg'), ('file-easel-fill.svg', 'file-easel-fill.svg'), ('file-earmark-spreadsheet.svg', 'file-earmark-spreadsheet.svg'), ('clock-fill.svg', 'clock-fill.svg'), ('reception-3.svg', 'reception-3.svg'), ('disc-fill.svg', 'disc-fill.svg'), ('file-earmark-music-fill.svg', 'file-earmark-music-fill.svg'), ('layout-sidebar.svg', 'layout-sidebar.svg'), ('menu-button-wide.svg', 'menu-button-wide.svg'), ('back.svg', 'back.svg'), ('node-plus-fill.svg', 'node-plus-fill.svg'), ('file-arrow-up.svg', 'file-arrow-up.svg'), ('caret-left.svg', 'caret-left.svg'), ('skip-start-btn.svg', 'skip-start-btn.svg'), ('file-text.svg', 'file-text.svg'), ('chat-right.svg', 'chat-right.svg'), ('file-earmark-image-fill.svg', 'file-earmark-image-fill.svg'), ('cart-check.svg', 'cart-check.svg'), ('key-fill.svg', 'key-fill.svg'), ('circle-fill.svg', 'circle-fill.svg'), ('cloud-minus.svg', 'cloud-minus.svg'), ('volume-mute.svg', 'volume-mute.svg'), ('reply-all-fill.svg', 'reply-all-fill.svg'), ('chat-left-quote-fill.svg', 'chat-left-quote-fill.svg'), ('file-image-fill.svg', 'file-image-fill.svg'), ('box-arrow-down-right.svg', 'box-arrow-down-right.svg'), ('file-earmark-text.svg', 'file-earmark-text.svg'), ('asterisk.svg', 'asterisk.svg'), ('align-end.svg', 'align-end.svg'), ('shift-fill.svg', 'shift-fill.svg'), ('file-earmark-x-fill.svg', 'file-earmark-x-fill.svg'), ('telephone-minus.svg', 'telephone-minus.svg'), ('arrow-bar-right.svg', 'arrow-bar-right.svg'), ('file-earmark-arrow-down.svg', 'file-earmark-arrow-down.svg'), ('arrow-bar-left.svg', 'arrow-bar-left.svg'), ('box-arrow-up.svg', 'box-arrow-up.svg'), ('emoji-smile-upside-down-fill.svg', 'emoji-smile-upside-down-fill.svg'), ('calendar2-range-fill.svg', 'calendar2-range-fill.svg'), ('receipt.svg', 'receipt.svg'), ('calendar-day.svg', 'calendar-day.svg'), ('play-btn.svg', 'play-btn.svg'), ('toggle2-on.svg', 'toggle2-on.svg'), ('brightness-high.svg', 'brightness-high.svg'), ('battery-half.svg', 'battery-half.svg'), ('arrow-up-right-circle.svg', 'arrow-up-right-circle.svg'), ('square.svg', 'square.svg'), ('file-earmark-ruled.svg', 'file-earmark-ruled.svg'), ('chat-left-quote.svg', 'chat-left-quote.svg'), ('circle-square.svg', 'circle-square.svg'), ('calculator.svg', 'calculator.svg'), ('aspect-ratio-fill.svg', 'aspect-ratio-fill.svg'), ('emoji-dizzy.svg', 'emoji-dizzy.svg'), ('sort-numeric-up.svg', 'sort-numeric-up.svg'), ('star-half.svg', 'star-half.svg'), ('card-heading.svg', 'card-heading.svg'), ('exclamation-triangle-fill.svg', 'exclamation-triangle-fill.svg'), ('caret-up.svg', 'caret-up.svg'), ('chat-square-dots-fill.svg', 'chat-square-dots-fill.svg'), ('calendar-check.svg', 'calendar-check.svg'), ('stop-btn.svg', 'stop-btn.svg'), ('justify.svg', 'justify.svg'), ('brightness-alt-low-fill.svg', 'brightness-alt-low-fill.svg'), ('sort-numeric-down-alt.svg', 'sort-numeric-down-alt.svg'), ('unlock-fill.svg', 'unlock-fill.svg'), ('cup.svg', 'cup.svg'), ('patch-minus-fll.svg', 'patch-minus-fll.svg'), ('people-circle.svg', 'people-circle.svg'), ('suit-diamond-fill.svg', 'suit-diamond-fill.svg'), ('badge-tm.svg', 'badge-tm.svg'), ('outlet.svg', 'outlet.svg'), ('calendar-month-fill.svg', 'calendar-month-fill.svg'), ('dash-square.svg', 'dash-square.svg'), ('capslock-fill.svg', 'capslock-fill.svg'), ('folder.svg', 'folder.svg'), ('person-check.svg', 'person-check.svg'), ('ui-checks.svg', 'ui-checks.svg'), ('arrow-up-left.svg', 'arrow-up-left.svg'), ('mailbox2.svg', 'mailbox2.svg'), ('flag-fill.svg', 'flag-fill.svg'), ('x-octagon.svg', 'x-octagon.svg'), ('filter-right.svg', 'filter-right.svg'), ('braces.svg', 'braces.svg'), ('soundwave.svg', 'soundwave.svg'), ('signpost-split-fill.svg', 'signpost-split-fill.svg'), ('music-player.svg', 'music-player.svg'), ('file-spreadsheet-fill.svg', 'file-spreadsheet-fill.svg'), ('three-dots.svg', 'three-dots.svg'), ('phone-fill.svg', 'phone-fill.svg'), ('chat-square-dots.svg', 'chat-square-dots.svg'), ('suit-spade-fill.svg', 'suit-spade-fill.svg'), ('camera-video.svg', 'camera-video.svg'), ('bookmarks-fill.svg', 'bookmarks-fill.svg'), ('heart.svg', 'heart.svg'), ('credit-card-2-back.svg', 'credit-card-2-back.svg'), ('question-diamond.svg', 'question-diamond.svg'), ('graph-down.svg', 'graph-down.svg'), ('menu-button-wide-fill.svg', 'menu-button-wide-fill.svg'), ('upload.svg', 'upload.svg'), ('badge-tm-fill.svg', 'badge-tm-fill.svg'), ('lock-fill.svg', 'lock-fill.svg'), ('calendar3-fill.svg', 'calendar3-fill.svg'), ('tree-fill.svg', 'tree-fill.svg'), ('mouse3.svg', 'mouse3.svg'), ('chat-left-dots.svg', 'chat-left-dots.svg'), ('calendar-x-fill.svg', 'calendar-x-fill.svg'), ('type.svg', 'type.svg'), ('people.svg', 'people.svg'), ('reception-2.svg', 'reception-2.svg'), ('layers.svg', 'layers.svg'), ('signpost-fill.svg', 'signpost-fill.svg'), ('skip-forward-circle-fill.svg', 'skip-forward-circle-fill.svg'), ('printer.svg', 'printer.svg'), ('phone.svg', 'phone.svg'), ('square-half.svg', 'square-half.svg'), ('emoji-wink-fill.svg', 'emoji-wink-fill.svg'), ('code-slash.svg', 'code-slash.svg'), ('chat-right-dots-fill.svg', 'chat-right-dots-fill.svg'), ('hourglass.svg', 'hourglass.svg'), ('bicycle.svg', 'bicycle.svg'), ('calendar2-date-fill.svg', 'calendar2-date-fill.svg'), ('text-right.svg', 'text-right.svg'), ('layout-text-sidebar-reverse.svg', 'layout-text-sidebar-reverse.svg'), ('mouse.svg', 'mouse.svg'), ('tags-fill.svg', 'tags-fill.svg'), ('bookmark-plus-fill.svg', 'bookmark-plus-fill.svg'), ('bookmark-x.svg', 'bookmark-x.svg'), ('forward-fill.svg', 'forward-fill.svg'), ('play.svg', 'play.svg'), ('thermometer.svg', 'thermometer.svg'), ('geo-alt-fill.svg', 'geo-alt-fill.svg'), ('puzzle.svg', 'puzzle.svg'), ('chevron-bar-expand.svg', 'chevron-bar-expand.svg'), ('tree.svg', 'tree.svg'), ('arrow-down-up.svg', 'arrow-down-up.svg'), ('tablet-landscape.svg', 'tablet-landscape.svg'), ('nut.svg', 'nut.svg'), ('zoom-in.svg', 'zoom-in.svg'), ('bar-chart-steps.svg', 'bar-chart-steps.svg'), ('backspace-reverse.svg', 'backspace-reverse.svg'), ('grid-fill.svg', 'grid-fill.svg'), ('file-richtext-fill.svg', 'file-richtext-fill.svg'), ('arrow-up-left-square.svg', 'arrow-up-left-square.svg'), ('file-earmark-play.svg', 'file-earmark-play.svg'), ('link-45deg.svg', 'link-45deg.svg'), ('terminal.svg', 'terminal.svg'), ('handbag-fill.svg', 'handbag-fill.svg'), ('calendar4-range.svg', 'calendar4-range.svg'), ('file-diff.svg', 'file-diff.svg'), ('calendar2-day.svg', 'calendar2-day.svg'), ('info-square.svg', 'info-square.svg'), ('file-word-fill.svg', 'file-word-fill.svg'), ('x-circle.svg', 'x-circle.svg'), ('twitch.svg', 'twitch.svg'), ('person-circle.svg', 'person-circle.svg'), ('file-zip.svg', 'file-zip.svg'), ('geo-alt.svg', 'geo-alt.svg'), ('file-earmark-word.svg', 'file-earmark-word.svg'), ('patch-minus.svg', 'patch-minus.svg'), ('spellcheck.svg', 'spellcheck.svg'), ('hourglass-bottom.svg', 'hourglass-bottom.svg'), ('disc.svg', 'disc.svg'), ('chat-square-quote-fill.svg', 'chat-square-quote-fill.svg'), ('file-earmark-diff-fill.svg', 'file-earmark-diff-fill.svg'), ('box-arrow-in-right.svg', 'box-arrow-in-right.svg'), ('shield-fill-minus.svg', 'shield-fill-minus.svg'), ('pie-chart.svg', 'pie-chart.svg'), ('info.svg', 'info.svg'), ('files.svg', 'files.svg'), ('x-square-fill.svg', 'x-square-fill.svg'), ('file-lock2-fill.svg', 'file-lock2-fill.svg'), ('chat-square-fill.svg', 'chat-square-fill.svg'), ('skip-start-fill.svg', 'skip-start-fill.svg'), ('bezier.svg', 'bezier.svg'), ('phone-vibrate.svg', 'phone-vibrate.svg'), ('calendar.svg', 'calendar.svg'), ('shield-lock-fill.svg', 'shield-lock-fill.svg'), ('patch-check-fll.svg', 'patch-check-fll.svg'), ('reception-1.svg', 'reception-1.svg'), ('bar-chart-line-fill.svg', 'bar-chart-line-fill.svg'), ('arrow-down-circle-fill.svg', 'arrow-down-circle-fill.svg'), ('lock.svg', 'lock.svg'), ('arrow-left-right.svg', 'arrow-left-right.svg'), ('arrow-up-circle.svg', 'arrow-up-circle.svg'), ('mic-mute.svg', 'mic-mute.svg'), ('lamp.svg', 'lamp.svg'), ('skip-backward-circle-fill.svg', 'skip-backward-circle-fill.svg'), ('emoji-sunglasses.svg', 'emoji-sunglasses.svg'), ('list.svg', 'list.svg'), ('instagram.svg', 'instagram.svg'), ('bootstrap-icons.svg', 'bootstrap-icons.svg'), ('dice-6-fill.svg', 'dice-6-fill.svg'), ('file-check-fill.svg', 'file-check-fill.svg'), ('arrow-bar-up.svg', 'arrow-bar-up.svg'), ('grid-1x2-fill.svg', 'grid-1x2-fill.svg'), ('dice-5.svg', 'dice-5.svg'), ('cloud-plus-fill.svg', 'cloud-plus-fill.svg'), ('file-earmark-check.svg', 'file-earmark-check.svg'), ('box-arrow-up-right.svg', 'box-arrow-up-right.svg'), ('journal-code.svg', 'journal-code.svg'), ('bookmarks.svg', 'bookmarks.svg'), ('pie-chart-fill.svg', 'pie-chart-fill.svg'), ('folder-symlink-fill.svg', 'folder-symlink-fill.svg'), ('stopwatch.svg', 'stopwatch.svg'), ('sort-alpha-down-alt.svg', 'sort-alpha-down-alt.svg'), ('shield-fill-check.svg', 'shield-fill-check.svg'), ('exclamation-square.svg', 'exclamation-square.svg'), ('door-closed.svg', 'door-closed.svg'), ('filter-left.svg', 'filter-left.svg'), ('calendar-plus.svg', 'calendar-plus.svg'), ('wifi-1.svg', 'wifi-1.svg'), ('book-half.svg', 'book-half.svg'), ('discord.svg', 'discord.svg'), ('box.svg', 'box.svg'), ('skip-backward-fill.svg', 'skip-backward-fill.svg'), ('file-earmark-image.svg', 'file-earmark-image.svg'), ('battery-full.svg', 'battery-full.svg'), ('file-earmark-code-fill.svg', 'file-earmark-code-fill.svg'), ('question.svg', 'question.svg'), ('journal-medical.svg', 'journal-medical.svg'), ('forward.svg', 'forward.svg'), ('shield-check.svg', 'shield-check.svg'), ('calendar2-event-fill.svg', 'calendar2-event-fill.svg'), ('folder-symlink.svg', 'folder-symlink.svg'), ('pen.svg', 'pen.svg'), ('box-arrow-left.svg', 'box-arrow-left.svg'), ('easel-fill.svg', 'easel-fill.svg'), ('hdd-rack-fill.svg', 'hdd-rack-fill.svg'), ('info-square-fill.svg', 'info-square-fill.svg'), ('chevron-bar-down.svg', 'chevron-bar-down.svg'), ('blockquote-right.svg', 'blockquote-right.svg'), ('toggle-off.svg', 'toggle-off.svg'), ('view-stacked.svg', 'view-stacked.svg'), ('display-fill.svg', 'display-fill.svg'), ('telephone-x.svg', 'telephone-x.svg'), ('file-richtext.svg', 'file-richtext.svg'), ('circle-half.svg', 'circle-half.svg'), ('archive.svg', 'archive.svg'), ('exclamation-diamond-fill.svg', 'exclamation-diamond-fill.svg'), ('chat-square-quote.svg', 'chat-square-quote.svg'), ('caret-up-square-fill.svg', 'caret-up-square-fill.svg'), ('dice-3-fill.svg', 'dice-3-fill.svg'), ('chat-right-dots.svg', 'chat-right-dots.svg'), ('journal-check.svg', 'journal-check.svg'), ('envelope-fill.svg', 'envelope-fill.svg'), ('sort-down-alt.svg', 'sort-down-alt.svg'), ('list-ul.svg', 'list-ul.svg'), ('calendar-plus-fill.svg', 'calendar-plus-fill.svg'), ('subtract.svg', 'subtract.svg'), ('chat-quote-fill.svg', 'chat-quote-fill.svg'), ('person-badge.svg', 'person-badge.svg'), ('arrow-up.svg', 'arrow-up.svg'), ('cart3.svg', 'cart3.svg'), ('card-text.svg', 'card-text.svg'), ('cursor-fill.svg', 'cursor-fill.svg'), ('calendar2-check-fill.svg', 'calendar2-check-fill.svg'), ('square-fill.svg', 'square-fill.svg'), ('fullscreen-exit.svg', 'fullscreen-exit.svg'), ('bucket-fill.svg', 'bucket-fill.svg'), ('suit-heart-fill.svg', 'suit-heart-fill.svg'), ('file-bar-graph.svg', 'file-bar-graph.svg'), ('caret-left-square.svg', 'caret-left-square.svg'), ('bookshelf.svg', 'bookshelf.svg'), ('flower2.svg', 'flower2.svg'), ('cone.svg', 'cone.svg'), ('arrow-up-right.svg', 'arrow-up-right.svg'), ('diamond-fill.svg', 'diamond-fill.svg'), ('command.svg', 'command.svg'), ('chat-dots.svg', 'chat-dots.svg'), ('shield-plus.svg', 'shield-plus.svg'), ('bookmark-plus.svg', 'bookmark-plus.svg'), ('calendar3-event.svg', 'calendar3-event.svg'), ('chat-right-fill.svg', 'chat-right-fill.svg'), ('badge-hd-fill.svg', 'badge-hd-fill.svg'), ('trophy.svg', 'trophy.svg'), ('envelope-open.svg', 'envelope-open.svg'), ('clipboard-plus.svg', 'clipboard-plus.svg'), ('file-plus.svg', 'file-plus.svg'), ('gear.svg', 'gear.svg'), ('calendar-date.svg', 'calendar-date.svg'), ('suit-club.svg', 'suit-club.svg'), ('calendar2-date.svg', 'calendar2-date.svg'), ('hexagon-half.svg', 'hexagon-half.svg'), ('emoji-neutral-fill.svg', 'emoji-neutral-fill.svg'), ('ui-radios.svg', 'ui-radios.svg'), ('menu-app-fill.svg', 'menu-app-fill.svg'), ('telephone-forward-fill.svg', 'telephone-forward-fill.svg'), ('justify-left.svg', 'justify-left.svg'), ('chevron-compact-up.svg', 'chevron-compact-up.svg'), ('triangle-half.svg', 'triangle-half.svg'), ('cash.svg', 'cash.svg'), ('cloud-slash-fill.svg', 'cloud-slash-fill.svg'), ('arrow-down-right-square.svg', 'arrow-down-right-square.svg'), ('arrow-up-right-square-fill.svg', 'arrow-up-right-square-fill.svg'), ('person-square.svg', 'person-square.svg'), ('file-earmark-text-fill.svg', 'file-earmark-text-fill.svg'), ('camera2.svg', 'camera2.svg'), ('arrow-down-left-square-fill.svg', 'arrow-down-left-square-fill.svg'), ('files-alt.svg', 'files-alt.svg'), ('egg-fill.svg', 'egg-fill.svg'), ('box-arrow-right.svg', 'box-arrow-right.svg'), ('file-break-fill.svg', 'file-break-fill.svg'), ('caret-up-fill.svg', 'caret-up-fill.svg'), ('badge-4k.svg', 'badge-4k.svg'), ('dice-6.svg', 'dice-6.svg'), ('smartwatch.svg', 'smartwatch.svg'), ('cart-plus-fill.svg', 'cart-plus-fill.svg'), ('file-play-fill.svg', 'file-play-fill.svg'), ('eye-fill.svg', 'eye-fill.svg'), ('volume-off-fill.svg', 'volume-off-fill.svg'), ('basket2.svg', 'basket2.svg'), ('clipboard-check.svg', 'clipboard-check.svg'), ('align-center.svg', 'align-center.svg'), ('reply-all.svg', 'reply-all.svg'), ('chat.svg', 'chat.svg'), ('skip-backward-btn.svg', 'skip-backward-btn.svg'), ('person-plus.svg', 'person-plus.svg'), ('box-arrow-down.svg', 'box-arrow-down.svg'), ('text-left.svg', 'text-left.svg'), ('shift.svg', 'shift.svg'), ('cpu-fill.svg', 'cpu-fill.svg'), ('slash.svg', 'slash.svg'), ('file-earmark-slides.svg', 'file-earmark-slides.svg'), ('signpost-split.svg', 'signpost-split.svg'), ('server.svg', 'server.svg'), ('cloud-upload.svg', 'cloud-upload.svg'), ('box-arrow-in-left.svg', 'box-arrow-in-left.svg'), ('broadcast-pin.svg', 'broadcast-pin.svg'), ('briefcase.svg', 'briefcase.svg'), ('file-font-fill.svg', 'file-font-fill.svg'), ('phone-landscape-fill.svg', 'phone-landscape-fill.svg'), ('link.svg', 'link.svg'), ('three-dots-vertical.svg', 'three-dots-vertical.svg'), ('x-circle-fill.svg', 'x-circle-fill.svg'), ('chat-text-fill.svg', 'chat-text-fill.svg'), ('sort-up-alt.svg', 'sort-up-alt.svg'), ('bar-chart-line.svg', 'bar-chart-line.svg'), ('box-arrow-in-up-right.svg', 'box-arrow-in-up-right.svg'), ('file-earmark-lock-fill.svg', 'file-earmark-lock-fill.svg'), ('handbag.svg', 'handbag.svg'), ('credit-card-2-front-fill.svg', 'credit-card-2-front-fill.svg'), ('calendar-week-fill.svg', 'calendar-week-fill.svg'), ('exclamation-triangle.svg', 'exclamation-triangle.svg'), ('textarea-resize.svg', 'textarea-resize.svg'), ('calendar-fill.svg', 'calendar-fill.svg'), ('calendar2-minus.svg', 'calendar2-minus.svg'), ('compass.svg', 'compass.svg'), ('cart-x.svg', 'cart-x.svg'), ('chevron-double-right.svg', 'chevron-double-right.svg'), ('check2-all.svg', 'check2-all.svg'), ('bookmark.svg', 'bookmark.svg'), ('file-earmark-easel.svg', 'file-earmark-easel.svg'), ('images.svg', 'images.svg'), ('hourglass-split.svg', 'hourglass-split.svg'), ('eyeglasses.svg', 'eyeglasses.svg'), ('layers-fill.svg', 'layers-fill.svg'), ('emoji-heart-eyes-fill.svg', 'emoji-heart-eyes-fill.svg'), ('mouse2.svg', 'mouse2.svg'), ('hdd-stack.svg', 'hdd-stack.svg'), ('code.svg', 'code.svg'), ('chat-left.svg', 'chat-left.svg'), ('cup-straw.svg', 'cup-straw.svg'), ('file-earmark-arrow-down-fill.svg', 'file-earmark-arrow-down-fill.svg'), ('bag-x.svg', 'bag-x.svg'), ('suit-club-fill.svg', 'suit-club-fill.svg'), ('stop-btn-fill.svg', 'stop-btn-fill.svg'), ('stoplights-fill.svg', 'stoplights-fill.svg'), ('grid-3x2-gap-fill.svg', 'grid-3x2-gap-fill.svg'), ('cone-striped.svg', 'cone-striped.svg'), ('bullseye.svg', 'bullseye.svg'), ('calendar2-fill.svg', 'calendar2-fill.svg'), ('music-player-fill.svg', 'music-player-fill.svg'), ('hammer.svg', 'hammer.svg'), ('reception-4.svg', 'reception-4.svg'), ('percent.svg', 'percent.svg'), ('briefcase-fill.svg', 'briefcase-fill.svg'), ('bootstrap-reboot.svg', 'bootstrap-reboot.svg'), ('person-dash.svg', 'person-dash.svg'), ('bucket.svg', 'bucket.svg'), ('alarm-fill.svg', 'alarm-fill.svg'), ('grid-3x2-gap.svg', 'grid-3x2-gap.svg'), ('card-list.svg', 'card-list.svg'), ('arrow-90deg-down.svg', 'arrow-90deg-down.svg'), ('x.svg', 'x.svg'), ('chevron-down.svg', 'chevron-down.svg'), ('sort-alpha-up.svg', 'sort-alpha-up.svg'), ('caret-right-square-fill.svg', 'caret-right-square-fill.svg'), ('calendar3-range-fill.svg', 'calendar3-range-fill.svg'), ('app.svg', 'app.svg'), ('truck.svg', 'truck.svg'), ('file-earmark-medical-fill.svg', 'file-earmark-medical-fill.svg'), ('house.svg', 'house.svg'), ('calendar-minus-fill.svg', 'calendar-minus-fill.svg'), ('arrow-up-square-fill.svg', 'arrow-up-square-fill.svg'), ('grid-1x2.svg', 'grid-1x2.svg'), ('vr.svg', 'vr.svg'), ('calendar-range-fill.svg', 'calendar-range-fill.svg'), ('telephone-plus.svg', 'telephone-plus.svg'), ('wallet-fill.svg', 'wallet-fill.svg'), ('telephone-inbound-fill.svg', 'telephone-inbound-fill.svg'), ('arrow-90deg-left.svg', 'arrow-90deg-left.svg'), ('person-x.svg', 'person-x.svg'), ('front.svg', 'front.svg'), ('arrow-right-circle.svg', 'arrow-right-circle.svg'), ('pip.svg', 'pip.svg'), ('chat-quote.svg', 'chat-quote.svg'), ('layout-three-columns.svg', 'layout-three-columns.svg'), ('keyboard.svg', 'keyboard.svg'), ('dice-1.svg', 'dice-1.svg'), ('receipt-cutoff.svg', 'receipt-cutoff.svg'), ('kanban.svg', 'kanban.svg'), ('tablet-landscape-fill.svg', 'tablet-landscape-fill.svg'), ('code-square.svg', 'code-square.svg'), ('file-earmark-font.svg', 'file-earmark-font.svg'), ('tablet-fill.svg', 'tablet-fill.svg'), ('text-paragraph.svg', 'text-paragraph.svg'), ('inbox-fill.svg', 'inbox-fill.svg'), ('hdd-stack-fill.svg', 'hdd-stack-fill.svg'), ('sticky-fill.svg', 'sticky-fill.svg'), ('arrows-move.svg', 'arrows-move.svg'), ('arrows-angle-contract.svg', 'arrows-angle-contract.svg'), ('exclamation-octagon.svg', 'exclamation-octagon.svg'), ('hdd-rack.svg', 'hdd-rack.svg'), ('view-list.svg', 'view-list.svg'), ('youtube.svg', 'youtube.svg'), ('arrow-down-circle.svg', 'arrow-down-circle.svg'), ('file-earmark-minus.svg', 'file-earmark-minus.svg'), ('x-diamond-fill.svg', 'x-diamond-fill.svg'), ('cast.svg', 'cast.svg'), ('layout-text-sidebar.svg', 'layout-text-sidebar.svg'), ('sort-numeric-up-alt.svg', 'sort-numeric-up-alt.svg'), ('arrow-right-circle-fill.svg', 'arrow-right-circle-fill.svg'), ('badge-ad.svg', 'badge-ad.svg'), ('arrow-left-short.svg', 'arrow-left-short.svg'), ('clipboard-x.svg', 'clipboard-x.svg'), ('lightning.svg', 'lightning.svg'), ('plus.svg', 'plus.svg'), ('type-h2.svg', 'type-h2.svg'), ('caret-right-square.svg', 'caret-right-square.svg'), ('calendar3-range.svg', 'calendar3-range.svg'), ('person.svg', 'person.svg'), ('chat-left-text.svg', 'chat-left-text.svg'), ('menu-app.svg', 'menu-app.svg'), ('volume-down.svg', 'volume-down.svg'), ('circle.svg', 'circle.svg'), ('grid-3x3.svg', 'grid-3x3.svg'), ('cart-x-fill.svg', 'cart-x-fill.svg'), ('bag-fill.svg', 'bag-fill.svg'), ('emoji-smile.svg', 'emoji-smile.svg'), ('folder-plus.svg', 'folder-plus.svg'), ('tools.svg', 'tools.svg'), ('calendar4.svg', 'calendar4.svg'), ('sort-alpha-down.svg', 'sort-alpha-down.svg'), ('backspace-fill.svg', 'backspace-fill.svg'), ('plug.svg', 'plug.svg'), ('bar-chart-fill.svg', 'bar-chart-fill.svg'), ('list-check.svg', 'list-check.svg'), ('window.svg', 'window.svg'), ('aspect-ratio.svg', 'aspect-ratio.svg'), ('markdown-fill.svg', 'markdown-fill.svg'), ('journal-arrow-up.svg', 'journal-arrow-up.svg'), ('file-diff-fill.svg', 'file-diff-fill.svg'), ('clock-history.svg', 'clock-history.svg'), ('bookmark-star.svg', 'bookmark-star.svg'), ('cloud-fill.svg', 'cloud-fill.svg'), ('shield-fill-x.svg', 'shield-fill-x.svg'), ('eye.svg', 'eye.svg'), ('person-check-fill.svg', 'person-check-fill.svg'), ('skip-start.svg', 'skip-start.svg'), ('file-earmark-zip.svg', 'file-earmark-zip.svg'), ('chevron-compact-right.svg', 'chevron-compact-right.svg'), ('person-dash-fill.svg', 'person-dash-fill.svg'), ('sun.svg', 'sun.svg'), ('filter-circle-fill.svg', 'filter-circle-fill.svg'), ('pause-btn-fill.svg', 'pause-btn-fill.svg'), ('bag-check-fill.svg', 'bag-check-fill.svg'), ('arrow-counterclockwise.svg', 'arrow-counterclockwise.svg'), ('chevron-bar-contract.svg', 'chevron-bar-contract.svg'), ('hdd-fill.svg', 'hdd-fill.svg'), ('list-nested.svg', 'list-nested.svg'), ('chevron-bar-right.svg', 'chevron-bar-right.svg'), ('arrow-return-left.svg', 'arrow-return-left.svg'), ('file-music-fill.svg', 'file-music-fill.svg'), ('shop-window.svg', 'shop-window.svg'), ('justify-right.svg', 'justify-right.svg'), ('exclude.svg', 'exclude.svg'), ('shield-exclamation.svg', 'shield-exclamation.svg'), ('arrow-right-square-fill.svg', 'arrow-right-square-fill.svg'), ('check-square.svg', 'check-square.svg'), ('question-circle-fill.svg', 'question-circle-fill.svg'), ('geo-fill.svg', 'geo-fill.svg'), ('credit-card-fill.svg', 'credit-card-fill.svg'), ('grid-3x2.svg', 'grid-3x2.svg'), ('share-fill.svg', 'share-fill.svg'), ('brush.svg', 'brush.svg'), ('diagram-2-fill.svg', 'diagram-2-fill.svg'), ('ladder.svg', 'ladder.svg'), ('grip-vertical.svg', 'grip-vertical.svg'), ('speaker.svg', 'speaker.svg'), ('arrow-left-circle-fill.svg', 'arrow-left-circle-fill.svg'), ('speaker-fill.svg', 'speaker-fill.svg'), ('filter-circle.svg', 'filter-circle.svg'), ('brightness-alt-high.svg', 'brightness-alt-high.svg'), ('earbuds.svg', 'earbuds.svg'), ('shield-fill.svg', 'shield-fill.svg'), ('shield-fill-plus.svg', 'shield-fill-plus.svg'), ('list-ol.svg', 'list-ol.svg'), ('gear-wide-connected.svg', 'gear-wide-connected.svg'), ('dice-2-fill.svg', 'dice-2-fill.svg'), ('display.svg', 'display.svg'), ('exclamation-diamond.svg', 'exclamation-diamond.svg'), ('eye-slash.svg', 'eye-slash.svg'), ('journals.svg', 'journals.svg'), ('arrow-up-left-square-fill.svg', 'arrow-up-left-square-fill.svg'), ('arrow-left.svg', 'arrow-left.svg'), ('skip-backward.svg', 'skip-backward.svg'), ('bootstrap-fill.svg', 'bootstrap-fill.svg'), ('file-zip-fill.svg', 'file-zip-fill.svg'), ('diamond-half.svg', 'diamond-half.svg'), ('telephone-inbound.svg', 'telephone-inbound.svg'), ('file-earmark-break.svg', 'file-earmark-break.svg'), ('file-post-fill.svg', 'file-post-fill.svg'), ('shield.svg', 'shield.svg'), ('linkedin.svg', 'linkedin.svg'), ('dice-4-fill.svg', 'dice-4-fill.svg'), ('arrow-return-right.svg', 'arrow-return-right.svg'), ('backspace-reverse-fill.svg', 'backspace-reverse-fill.svg'), ('gift.svg', 'gift.svg'), ('trash2-fill.svg', 'trash2-fill.svg'), ('brightness-high-fill.svg', 'brightness-high-fill.svg'), ('arrow-left-circle.svg', 'arrow-left-circle.svg'), ('exclamation.svg', 'exclamation.svg'), ('star-fill.svg', 'star-fill.svg'), ('question-square-fill.svg', 'question-square-fill.svg'), ('emoji-smile-fill.svg', 'emoji-smile-fill.svg'), ('chat-left-text-fill.svg', 'chat-left-text-fill.svg'), ('wallet.svg', 'wallet.svg'), ('menu-button-fill.svg', 'menu-button-fill.svg'), ('map-fill.svg', 'map-fill.svg'), ('dice-1-fill.svg', 'dice-1-fill.svg'), ('emoji-angry.svg', 'emoji-angry.svg'), ('journal-minus.svg', 'journal-minus.svg'), ('card-image.svg', 'card-image.svg'), ('arrow-90deg-right.svg', 'arrow-90deg-right.svg'), ('sliders.svg', 'sliders.svg'), ('box-arrow-in-down-right.svg', 'box-arrow-in-down-right.svg'), ('fonts.svg', 'fonts.svg'), ('exclamation-circle.svg', 'exclamation-circle.svg'), ('file-earmark-play-fill.svg', 'file-earmark-play-fill.svg'), ('cloud-arrow-down.svg', 'cloud-arrow-down.svg'), ('file-ppt-fill.svg', 'file-ppt-fill.svg'), ('emoji-wink.svg', 'emoji-wink.svg'), ('calendar4-event.svg', 'calendar4-event.svg'), ('collection-play.svg', 'collection-play.svg'), ('pentagon-fill.svg', 'pentagon-fill.svg'), ('file-earmark-plus.svg', 'file-earmark-plus.svg'), ('journal-album.svg', 'journal-album.svg'), ('paperclip.svg', 'paperclip.svg'), ('sort-up.svg', 'sort-up.svg'), ('file-lock.svg', 'file-lock.svg'), ('file-earmark-break-fill.svg', 'file-earmark-break-fill.svg'), ('patch-check.svg', 'patch-check.svg'), ('file-fill.svg', 'file-fill.svg'), ('shield-fill-exclamation.svg', 'shield-fill-exclamation.svg'), ('journal-plus.svg', 'journal-plus.svg'), ('question-square.svg', 'question-square.svg'), ('printer-fill.svg', 'printer-fill.svg'), ('file-break.svg', 'file-break.svg'), ('egg-fried.svg', 'egg-fried.svg'), ('camera-video-off.svg', 'camera-video-off.svg'), ('layout-sidebar-inset.svg', 'layout-sidebar-inset.svg'), ('stoplights.svg', 'stoplights.svg'), ('basket2-fill.svg', 'basket2-fill.svg'), ('toggle2-off.svg', 'toggle2-off.svg'), ('emoji-frown.svg', 'emoji-frown.svg'), ('grid.svg', 'grid.svg'), ('tag-fill.svg', 'tag-fill.svg'), ('folder-x.svg', 'folder-x.svg'), ('skip-end-fill.svg', 'skip-end-fill.svg'), ('heptagon-fill.svg', 'heptagon-fill.svg'), ('bug-fill.svg', 'bug-fill.svg'), ('signpost.svg', 'signpost.svg'), ('caret-left-square-fill.svg', 'caret-left-square-fill.svg'), ('sticky.svg', 'sticky.svg'), ('emoji-angry-fill.svg', 'emoji-angry-fill.svg'), ('calendar2-x.svg', 'calendar2-x.svg'), ('file-code.svg', 'file-code.svg'), ('file-earmark-code.svg', 'file-earmark-code.svg'), ('chevron-compact-down.svg', 'chevron-compact-down.svg'), ('arrow-bar-down.svg', 'arrow-bar-down.svg'), ('keyboard-fill.svg', 'keyboard-fill.svg'), ('file-earmark-font-fill.svg', 'file-earmark-font-fill.svg'), ('suit-heart.svg', 'suit-heart.svg'), ('telephone-fill.svg', 'telephone-fill.svg'), ('skip-start-btn-fill.svg', 'skip-start-btn-fill.svg'), ('inbox.svg', 'inbox.svg'), ('bag.svg', 'bag.svg'), ('skip-end.svg', 'skip-end.svg'), ('arrow-up-short.svg', 'arrow-up-short.svg'), ('filter-square-fill.svg', 'filter-square-fill.svg'), ('camera-reels-fill.svg', 'camera-reels-fill.svg'), ('hand-thumbs-up.svg', 'hand-thumbs-up.svg'), ('vinyl-fill.svg', 'vinyl-fill.svg'), ('file-earmark-lock2-fill.svg', 'file-earmark-lock2-fill.svg'), ('play-fill.svg', 'play-fill.svg'), ('truck-flatbed.svg', 'truck-flatbed.svg'), ('chat-left-fill.svg', 'chat-left-fill.svg'), ('scissors.svg', 'scissors.svg'), ('volume-mute-fill.svg', 'volume-mute-fill.svg'), ('pip-fill.svg', 'pip-fill.svg'), ('folder2.svg', 'folder2.svg'), ('telephone-outbound.svg', 'telephone-outbound.svg'), ('arrow-90deg-up.svg', 'arrow-90deg-up.svg'), ('file-earmark-post.svg', 'file-earmark-post.svg'), ('file-earmark-arrow-up.svg', 'file-earmark-arrow-up.svg'), ('arrow-down-right-circle.svg', 'arrow-down-right-circle.svg'), ('text-indent-right.svg', 'text-indent-right.svg'), ('file-easel.svg', 'file-easel.svg'), ('capslock.svg', 'capslock.svg'), ('octagon-half.svg', 'octagon-half.svg'), ('camera-video-off-fill.svg', 'camera-video-off-fill.svg'), ('caret-right.svg', 'caret-right.svg'), ('file-earmark-person-fill.svg', 'file-earmark-person-fill.svg'), ('patch-exclamation-fll.svg', 'patch-exclamation-fll.svg'), ('file-earmark-ppt.svg', 'file-earmark-ppt.svg'), ('battery.svg', 'battery.svg'), ('nut-fill.svg', 'nut-fill.svg'), ('trash.svg', 'trash.svg'), ('textarea-t.svg', 'textarea-t.svg'), ('bootstrap.svg', 'bootstrap.svg'), ('segmented-nav.svg', 'segmented-nav.svg'), ('file-earmark-spreadsheet-fill.svg', 'file-earmark-spreadsheet-fill.svg'), ('moon.svg', 'moon.svg'), ('caret-down-fill.svg', 'caret-down-fill.svg'), ('skip-forward-circle.svg', 'skip-forward-circle.svg'), ('grip-horizontal.svg', 'grip-horizontal.svg'), ('award.svg', 'award.svg'), ('signpost-2-fill.svg', 'signpost-2-fill.svg'), ('dot.svg', 'dot.svg'), ('file-slides-fill.svg', 'file-slides-fill.svg'), ('caret-down-square.svg', 'caret-down-square.svg'), ('plug-fill.svg', 'plug-fill.svg'), ('gear-wide.svg', 'gear-wide.svg'), ('music-note-list.svg', 'music-note-list.svg'), ('file-earmark-lock.svg', 'file-earmark-lock.svg'), ('file-ppt.svg', 'file-ppt.svg'), ('bookmark-heart-fill.svg', 'bookmark-heart-fill.svg'), ('basket3-fill.svg', 'basket3-fill.svg'), ('file-spreadsheet.svg', 'file-spreadsheet.svg'), ('box-arrow-in-down-left.svg', 'box-arrow-in-down-left.svg'), ('plus-square.svg', 'plus-square.svg'), ('file-earmark-binary.svg', 'file-earmark-binary.svg'), ('info-circle-fill.svg', 'info-circle-fill.svg'), ('cloud-upload-fill.svg', 'cloud-upload-fill.svg'), ('calendar2-check.svg', 'calendar2-check.svg'), ('arrow-right-square.svg', 'arrow-right-square.svg'), ('file-earmark-ppt-fill.svg', 'file-earmark-ppt-fill.svg'), ('emoji-neutral.svg', 'emoji-neutral.svg'), ('cart-fill.svg', 'cart-fill.svg'), ('info-circle.svg', 'info-circle.svg'), ('hourglass-top.svg', 'hourglass-top.svg'), ('file-excel.svg', 'file-excel.svg'), ('chevron-up.svg', 'chevron-up.svg'), ('patch-exclamation.svg', 'patch-exclamation.svg'), ('menu-up.svg', 'menu-up.svg'), ('heptagon-half.svg', 'heptagon-half.svg'), ('dash.svg', 'dash.svg'), ('dice-3.svg', 'dice-3.svg'), ('sort-numeric-down.svg', 'sort-numeric-down.svg'), ('volume-up.svg', 'volume-up.svg'), ('slash-circle.svg', 'slash-circle.svg'), ('lightning-fill.svg', 'lightning-fill.svg'), ('pause.svg', 'pause.svg'), ('calendar2-month.svg', 'calendar2-month.svg'), ('pen-fill.svg', 'pen-fill.svg'), ('hr.svg', 'hr.svg'), ('exclamation-octagon-fill.svg', 'exclamation-octagon-fill.svg'), ('file-minus.svg', 'file-minus.svg'), ('eject-fill.svg', 'eject-fill.svg'), ('file-x-fill.svg', 'file-x-fill.svg'), ('camera-video-fill.svg', 'camera-video-fill.svg'), ('border-width.svg', 'border-width.svg'), ('calendar-minus.svg', 'calendar-minus.svg'), ('mailbox.svg', 'mailbox.svg'), ('chat-dots-fill.svg', 'chat-dots-fill.svg'), ('cart-check-fill.svg', 'cart-check-fill.svg'), ('menu-down.svg', 'menu-down.svg'), ('tv.svg', 'tv.svg'), ('house-fill.svg', 'house-fill.svg'), ('calendar2-week.svg', 'calendar2-week.svg'), ('type-h3.svg', 'type-h3.svg'), ('door-open-fill.svg', 'door-open-fill.svg'), ('play-circle-fill.svg', 'play-circle-fill.svg'), ('calendar2-minus-fill.svg', 'calendar2-minus-fill.svg'), ('chevron-contract.svg', 'chevron-contract.svg'), ('file-minus-fill.svg', 'file-minus-fill.svg'), ('bookmark-check.svg', 'bookmark-check.svg'), ('zoom-out.svg', 'zoom-out.svg'), ('bookmark-x-fill.svg', 'bookmark-x-fill.svg'), ('arrow-down-short.svg', 'arrow-down-short.svg'), ('file-person.svg', 'file-person.svg'), ('file-earmark-x.svg', 'file-earmark-x.svg'), ('octagon.svg', 'octagon.svg'), ('screwdriver.svg', 'screwdriver.svg'), ('credit-card.svg', 'credit-card.svg'), ('telephone-outbound-fill.svg', 'telephone-outbound-fill.svg'), ('file-earmark-post-fill.svg', 'file-earmark-post-fill.svg'), ('chat-fill.svg', 'chat-fill.svg'), ('exclamation-circle-fill.svg', 'exclamation-circle-fill.svg'), ('calendar2-event.svg', 'calendar2-event.svg'), ('geo.svg', 'geo.svg'), ('play-btn-fill.svg', 'play-btn-fill.svg'), ('skip-forward-btn-fill.svg', 'skip-forward-btn-fill.svg'), ('dash-circle.svg', 'dash-circle.svg'), ('file-binary-fill.svg', 'file-binary-fill.svg'), ('calendar2.svg', 'calendar2.svg'), ('filter.svg', 'filter.svg'), ('wifi.svg', 'wifi.svg'), ('cloud-arrow-up.svg', 'cloud-arrow-up.svg'), ('file-earmark-bar-graph-fill.svg', 'file-earmark-bar-graph-fill.svg'), ('hdd-network.svg', 'hdd-network.svg'), ('telephone-minus-fill.svg', 'telephone-minus-fill.svg'), ('file-earmark-excel.svg', 'file-earmark-excel.svg'), ('volume-down-fill.svg', 'volume-down-fill.svg'), ('power.svg', 'power.svg'), ('droplet.svg', 'droplet.svg'), ('layout-split.svg', 'layout-split.svg'), ('arrows-fullscreen.svg', 'arrows-fullscreen.svg'), ('dice-5-fill.svg', 'dice-5-fill.svg'), ('file-font.svg', 'file-font.svg'), ('file-music.svg', 'file-music.svg'), ('cloud-download-fill.svg', 'cloud-download-fill.svg'), ('cup-fill.svg', 'cup-fill.svg'), ('cash-stack.svg', 'cash-stack.svg'), ('box-arrow-in-down.svg', 'box-arrow-in-down.svg'), ('globe2.svg', 'globe2.svg'), ('google.svg', 'google.svg'), ('skip-forward.svg', 'skip-forward.svg'), ('file-earmark-slides-fill.svg', 'file-earmark-slides-fill.svg'), ('record-fill.svg', 'record-fill.svg'), ('file-ruled-fill.svg', 'file-ruled-fill.svg'), ('facebook.svg', 'facebook.svg'), ('box-arrow-in-up.svg', 'box-arrow-in-up.svg'), ('list-task.svg', 'list-task.svg'), ('diagram-3-fill.svg', 'diagram-3-fill.svg'), ('folder2-open.svg', 'folder2-open.svg'), ('folder-minus.svg', 'folder-minus.svg'), ('journal-bookmark.svg', 'journal-bookmark.svg'), ('calendar2-plus-fill.svg', 'calendar2-plus-fill.svg'), ('calendar2-plus.svg', 'calendar2-plus.svg'), ('unlock.svg', 'unlock.svg'), ('music-note-beamed.svg', 'music-note-beamed.svg'), ('arrow-down.svg', 'arrow-down.svg'), ('calendar-day-fill.svg', 'calendar-day-fill.svg'), ('arrow-down-square-fill.svg', 'arrow-down-square-fill.svg'), ('bookmark-dash-fill.svg', 'bookmark-dash-fill.svg'), ('mic-mute-fill.svg', 'mic-mute-fill.svg'), ('sunglasses.svg', 'sunglasses.svg'), ('suit-diamond.svg', 'suit-diamond.svg'), ('gear-fill.svg', 'gear-fill.svg'), ('pencil.svg', 'pencil.svg'), ('chat-text.svg', 'chat-text.svg'), ('cart-dash-fill.svg', 'cart-dash-fill.svg'), ('stop-circle-fill.svg', 'stop-circle-fill.svg'), ('battery-charging.svg', 'battery-charging.svg'), ('wifi-off.svg', 'wifi-off.svg'), ('tag.svg', 'tag.svg'), ('credit-card-2-back-fill.svg', 'credit-card-2-back-fill.svg'), ('chat-right-text.svg', 'chat-right-text.svg'), ('file-binary.svg', 'file-binary.svg'), ('puzzle-fill.svg', 'puzzle-fill.svg'), ('chat-right-quote-fill.svg', 'chat-right-quote-fill.svg'), ('arrow-down-right-circle-fill.svg', 'arrow-down-right-circle-fill.svg'), ('x-octagon-fill.svg', 'x-octagon-fill.svg'), ('download.svg', 'download.svg'), ('layout-sidebar-reverse.svg', 'layout-sidebar-reverse.svg'), ('bezier2.svg', 'bezier2.svg'), ('camera-reels.svg', 'camera-reels.svg'), ('calendar-month.svg', 'calendar-month.svg'), ('sim.svg', 'sim.svg'), ('globe.svg', 'globe.svg'), ('dash-square-fill.svg', 'dash-square-fill.svg'), ('binoculars.svg', 'binoculars.svg'), ('telephone.svg', 'telephone.svg'), ('stopwatch-fill.svg', 'stopwatch-fill.svg'), ('telephone-x-fill.svg', 'telephone-x-fill.svg'), ('tags.svg', 'tags.svg'), ('arrows-expand.svg', 'arrows-expand.svg'), ('trash-fill.svg', 'trash-fill.svg'), ('shield-slash-fill.svg', 'shield-slash-fill.svg'), ('cpu.svg', 'cpu.svg'), ('shield-shaded.svg', 'shield-shaded.svg'), ('file-earmark-check-fill.svg', 'file-earmark-check-fill.svg'), ('image-alt.svg', 'image-alt.svg'), ('paragraph.svg', 'paragraph.svg'), ('caret-up-square.svg', 'caret-up-square.svg'), ('node-plus.svg', 'node-plus.svg'), ('badge-ad-fill.svg', 'badge-ad-fill.svg'), ('skip-start-circle.svg', 'skip-start-circle.svg'), ('skip-forward-btn.svg', 'skip-forward-btn.svg'), ('record-btn-fill.svg', 'record-btn-fill.svg'), ('cart4.svg', 'cart4.svg'), ('check2.svg', 'check2.svg'), ('droplet-fill.svg', 'droplet-fill.svg'), ('file-lock-fill.svg', 'file-lock-fill.svg'), ('bug.svg', 'bug.svg'), ('align-top.svg', 'align-top.svg'), ('check2-square.svg', 'check2-square.svg'), ('film.svg', 'film.svg'), ('distribute-vertical.svg', 'distribute-vertical.svg'), ('bag-dash-fill.svg', 'bag-dash-fill.svg'), ('arrow-repeat.svg', 'arrow-repeat.svg'), ('person-x-fill.svg', 'person-x-fill.svg'), ('app-indicator.svg', 'app-indicator.svg'), ('chat-right-text-fill.svg', 'chat-right-text-fill.svg'), ('question-octagon.svg', 'question-octagon.svg'), ('camera.svg', 'camera.svg'), ('box-arrow-down-left.svg', 'box-arrow-down-left.svg'), ('upc-scan.svg', 'upc-scan.svg'), ('alarm.svg', 'alarm.svg'), ('mic-fill.svg', 'mic-fill.svg'), ('file-earmark-word-fill.svg', 'file-earmark-word-fill.svg'), ('type-underline.svg', 'type-underline.svg'), ('github.svg', 'github.svg'), ('node-minus.svg', 'node-minus.svg'), ('telephone-forward.svg', 'telephone-forward.svg'), ('union.svg', 'union.svg'), ('stickies-fill.svg', 'stickies-fill.svg'), ('file-earmark-fill.svg', 'file-earmark-fill.svg'), ('shield-slash.svg', 'shield-slash.svg'), ('arrow-up-left-circle-fill.svg', 'arrow-up-left-circle-fill.svg'), ('brightness-low.svg', 'brightness-low.svg'), ('backspace.svg', 'backspace.svg'), ('file-earmark-lock2.svg', 'file-earmark-lock2.svg'), ('file-earmark-music.svg', 'file-earmark-music.svg'), ('eject.svg', 'eject.svg'), ('skip-end-circle-fill.svg', 'skip-end-circle-fill.svg'), ('terminal-fill.svg', 'terminal-fill.svg'), ('caret-right-fill.svg', 'caret-right-fill.svg'), ('grid-3x3-gap-fill.svg', 'grid-3x3-gap-fill.svg'), ('check-circle.svg', 'check-circle.svg'), ('dash-circle-fill.svg', 'dash-circle-fill.svg'), ('arrow-down-left-square.svg', 'arrow-down-left-square.svg'), ('signpost-2.svg', 'signpost-2.svg'), ('file-earmark-bar-graph.svg', 'file-earmark-bar-graph.svg'), ('file-earmark.svg', 'file-earmark.svg'), ('card-checklist.svg', 'card-checklist.svg'), ('clipboard.svg', 'clipboard.svg'), ('journal-richtext.svg', 'journal-richtext.svg'), ('brightness-alt-high-fill.svg', 'brightness-alt-high-fill.svg'), ('skip-end-btn.svg', 'skip-end-btn.svg'), ('brush-fill.svg', 'brush-fill.svg'), ('bag-dash.svg', 'bag-dash.svg'), ('cart-dash.svg', 'cart-dash.svg'), ('badge-8k-fill.svg', 'badge-8k-fill.svg'), ('brightness-alt-low.svg', 'brightness-alt-low.svg'), ('menu-button.svg', 'menu-button.svg'), ('cloud-check.svg', 'cloud-check.svg'), ('emoji-laughing.svg', 'emoji-laughing.svg'), ('arrow-clockwise.svg', 'arrow-clockwise.svg'), ('file-earmark-diff.svg', 'file-earmark-diff.svg'), ('cart.svg', 'cart.svg'), ('file-ruled.svg', 'file-ruled.svg'), ('cursor-text.svg', 'cursor-text.svg'), ('funnel-fill.svg', 'funnel-fill.svg'), ('patch-plus-fll.svg', 'patch-plus-fll.svg'), ('chevron-bar-left.svg', 'chevron-bar-left.svg'), ('skip-backward-btn-fill.svg', 'skip-backward-btn-fill.svg'), ('diagram-3.svg', 'diagram-3.svg'), ('basket-fill.svg', 'basket-fill.svg'), ('clipboard-minus.svg', 'clipboard-minus.svg'), ('question-octagon-fill.svg', 'question-octagon-fill.svg'), ('collection-play-fill.svg', 'collection-play-fill.svg'), ('image.svg', 'image.svg'), ('file-plus-fill.svg', 'file-plus-fill.svg'), ('pause-circle-fill.svg', 'pause-circle-fill.svg'), ('journal-arrow-down.svg', 'journal-arrow-down.svg'), ('align-middle.svg', 'align-middle.svg'), ('archive-fill.svg', 'archive-fill.svg'), ('joystick.svg', 'joystick.svg'), ('calendar-event-fill.svg', 'calendar-event-fill.svg'), ('journal.svg', 'journal.svg'), ('badge-cc-fill.svg', 'badge-cc-fill.svg'), ('caret-down.svg', 'caret-down.svg'), ('x-square.svg', 'x-square.svg'), ('bounding-box-circles.svg', 'bounding-box-circles.svg'), ('book-fill.svg', 'book-fill.svg'), ('type-bold.svg', 'type-bold.svg'), ('bookmark-dash.svg', 'bookmark-dash.svg'), ('arrow-up-right-circle-fill.svg', 'arrow-up-right-circle-fill.svg'), ('badge-vo-fill.svg', 'badge-vo-fill.svg'), ('cloud-arrow-up-fill.svg', 'cloud-arrow-up-fill.svg')], max_length=100, verbose_name='ícono'),
),
migrations.AlterField(
model_name='module',
name='url_name',
field=models.CharField(max_length=256, unique=True),
),
]
| 1,892.714286
| 52,401
| 0.662842
| 7,998
| 52,996
| 4.390973
| 0.062641
| 0.158661
| 0.049432
| 0.025115
| 0.549816
| 0.256385
| 0.078505
| 0.008087
| 0
| 0
| 0
| 0.005658
| 0.049532
| 52,996
| 27
| 52,402
| 1,962.814815
| 0.691549
| 0.000849
| 0
| 0.285714
| 1
| 0
| 0.76145
| 0.260741
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.047619
| 0.047619
| 0
| 0.190476
| 0.047619
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e02fae9ac7476c2c210c7b0dfbe9721cf2ee01de
| 4,450
|
py
|
Python
|
test/models/test_general.py
|
HansBug/pyspj
|
ed776cf7d2d1766ee4c2152221d1d3dbdd18d93a
|
[
"Apache-2.0"
] | null | null | null |
test/models/test_general.py
|
HansBug/pyspj
|
ed776cf7d2d1766ee4c2152221d1d3dbdd18d93a
|
[
"Apache-2.0"
] | null | null | null |
test/models/test_general.py
|
HansBug/pyspj
|
ed776cf7d2d1766ee4c2152221d1d3dbdd18d93a
|
[
"Apache-2.0"
] | null | null | null |
import pytest
from pyspj.models import load_result, SimpleSPJResult, ContinuitySPJResult, ResultType
@pytest.mark.unittest
class TestModelsGeneral:
def test_simple(self):
result = SimpleSPJResult(True, '123', '12345')
assert load_result(result) == result
assert load_result(result.to_json()) == result
assert load_result((True,)) == SimpleSPJResult(True, )
assert load_result(True) == SimpleSPJResult(True, )
assert load_result(None) == SimpleSPJResult(False, )
assert load_result((True, '123')) == SimpleSPJResult(True, '123')
assert load_result((True, '123', '12345')) == result
def test_continuity(self):
result = ContinuitySPJResult(True, 0.5, '123', '12345')
assert load_result(result) == result
assert load_result(result.to_json()) == result
assert load_result(((True, 0.5),)) == ContinuitySPJResult(True, 0.5)
assert load_result(((True, 0.5), '123')) == ContinuitySPJResult(True, 0.5, '123')
assert load_result(((True, 0.5), '123', '12345')) == result
def test_simple_force(self):
result = SimpleSPJResult(True, '123', '12345')
assert load_result(result, 'simple') == result
assert load_result(result.to_json(), 'simple') == result
assert load_result((True,), 'simple') == SimpleSPJResult(True, )
assert load_result(True, 'simple') == SimpleSPJResult(True, )
assert load_result(None, 'simple') == SimpleSPJResult(False, )
assert load_result((True, '123'), 'simple') == SimpleSPJResult(True, '123')
assert load_result((True, '123', '12345'), 'simple') == result
result = ContinuitySPJResult(True, 0.5, '123', '12345')
assert load_result(result, 'simple') == SimpleSPJResult(True, '123', '12345')
assert load_result(result.to_json(), 'simple') == SimpleSPJResult(True, '123', '12345')
assert load_result(((True, 0.5),), 'simple') == SimpleSPJResult(True)
assert load_result(((True, 0.5), '123'), 'simple') == SimpleSPJResult(True, '123')
assert load_result(((True, 0.5), '123', '12345'), 'simple') == SimpleSPJResult(True, '123', '12345')
def test_continuity_force(self):
result = SimpleSPJResult(True, '123', '12345')
assert load_result(result, 'continuity') == ContinuitySPJResult(True, 0.0, '123', '12345')
assert load_result(result.to_json(), 'continuity') == ContinuitySPJResult(True, 0.0, '123', '12345')
assert load_result((True,), 'continuity') == ContinuitySPJResult(True, 0.0)
assert load_result(True, 'continuity') == ContinuitySPJResult(True, 0.0)
assert load_result(None, 'continuity') == ContinuitySPJResult(False, 0.0, )
assert load_result((True, '123'), 'continuity') == ContinuitySPJResult(True, 0.0, '123')
assert load_result((True, '123', '12345'), 'continuity') == ContinuitySPJResult(True, 0.0, '123', '12345')
result = ContinuitySPJResult(True, 0.5, '123', '12345')
assert load_result(result, 'continuity') == result
assert load_result(result.to_json(), 'continuity') == result
assert load_result(((True, 0.5),), 'continuity') == ContinuitySPJResult(True, 0.5)
assert load_result(((True, 0.5), '123'), 'continuity') == ContinuitySPJResult(True, 0.5, '123')
assert load_result(((True, 0.5), '123', '12345'), 'continuity') == result
def test_invalid(self):
with pytest.raises(ValueError):
assert load_result(())
with pytest.raises(ValueError):
assert load_result((1, 2, 3, 4))
def test_result_type(self):
assert ResultType.loads(ResultType.FREE) == ResultType.FREE
assert ResultType.loads(ResultType.SIMPLE) == ResultType.SIMPLE
assert ResultType.loads(ResultType.CONTINUITY) == ResultType.CONTINUITY
assert ResultType.loads('free') == ResultType.FREE
assert ResultType.loads('simple') == ResultType.SIMPLE
assert ResultType.loads('continuity') == ResultType.CONTINUITY
with pytest.raises(KeyError):
ResultType.loads('sdkfjlsd')
assert ResultType.loads(0) == ResultType.FREE
assert ResultType.loads(1) == ResultType.SIMPLE
assert ResultType.loads(2) == ResultType.CONTINUITY
with pytest.raises(KeyError):
ResultType.loads(-100)
with pytest.raises(TypeError):
ResultType.loads([])
| 52.352941
| 114
| 0.644944
| 490
| 4,450
| 5.746939
| 0.091837
| 0.138494
| 0.215909
| 0.149148
| 0.829901
| 0.773082
| 0.689631
| 0.541193
| 0.455966
| 0.369318
| 0
| 0.066274
| 0.199775
| 4,450
| 84
| 115
| 52.97619
| 0.724516
| 0
| 0
| 0.197183
| 0
| 0
| 0.089888
| 0
| 0
| 0
| 0
| 0
| 0.661972
| 1
| 0.084507
| false
| 0
| 0.028169
| 0
| 0.126761
| 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 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
| 4
|
0ec01c74ad896f4ea4f32710f18b1208ea084b88
| 101
|
py
|
Python
|
app/exception.py
|
twotwo/flask-modern-dev
|
054037a60bb0d4f85aa8d07ea32b007b1d26637d
|
[
"MIT"
] | null | null | null |
app/exception.py
|
twotwo/flask-modern-dev
|
054037a60bb0d4f85aa8d07ea32b007b1d26637d
|
[
"MIT"
] | null | null | null |
app/exception.py
|
twotwo/flask-modern-dev
|
054037a60bb0d4f85aa8d07ea32b007b1d26637d
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
class BaseError(Exception):
"""Base Error in project
"""
pass
| 11.222222
| 28
| 0.544554
| 11
| 101
| 5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.013699
| 0.277228
| 101
| 8
| 29
| 12.625
| 0.739726
| 0.485149
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.5
| 0
| 0
| 0.5
| 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
| 0
| 0
| 0
| 0
|
0
| 4
|
0ed8b8940d52284a85747d5e07a5fde32707029a
| 433
|
py
|
Python
|
Project2/analysis_test.py
|
FlanPatissier/EC601
|
c3149ac14e9a53bfbfbdff1947d670992fe31f81
|
[
"MIT"
] | null | null | null |
Project2/analysis_test.py
|
FlanPatissier/EC601
|
c3149ac14e9a53bfbfbdff1947d670992fe31f81
|
[
"MIT"
] | 1
|
2021-10-31T14:22:07.000Z
|
2021-10-31T14:22:07.000Z
|
Project2/analysis_test.py
|
FlanPatissier/EC601
|
c3149ac14e9a53bfbfbdff1947d670992fe31f81
|
[
"MIT"
] | null | null | null |
# Test programs for my analysis.py
# In case that the original one are not suitable for test, I rewrite a analysis_modified.py to test
import analysis_modified as mod
def test_User():
assert mod.judgeUser("@intel") == (53.5, 3.0, 43.5, 56.5, 43.5)
def test_Topic():
assert mod.judgeTopic("#StreetWomanFighter") == (4.6, 3.6, 91.8, 95.4, 4.6)
def test_Wrong():
assert mod.report_wrong() == ("Useless input")
| 36.083333
| 100
| 0.672055
| 73
| 433
| 3.90411
| 0.630137
| 0.073684
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.073864
| 0.187067
| 433
| 12
| 101
| 36.083333
| 0.735795
| 0.30254
| 0
| 0
| 0
| 0
| 0.131488
| 0
| 0
| 0
| 0
| 0
| 0.428571
| 1
| 0.428571
| true
| 0
| 0.142857
| 0
| 0.571429
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 1
| 1
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
0ee382508432dc200a0b044d445c34e2c732a85c
| 320
|
py
|
Python
|
apps/photo/views.py
|
blackholll/loonblog
|
63d1f06d04047f220f550de914e542f535bb61a3
|
[
"MIT"
] | 24
|
2017-07-30T14:57:01.000Z
|
2021-05-24T06:09:14.000Z
|
apps/photo/views.py
|
blackholll/loonblog
|
63d1f06d04047f220f550de914e542f535bb61a3
|
[
"MIT"
] | null | null | null |
apps/photo/views.py
|
blackholll/loonblog
|
63d1f06d04047f220f550de914e542f535bb61a3
|
[
"MIT"
] | 16
|
2017-08-07T15:46:51.000Z
|
2022-01-06T06:46:24.000Z
|
from django.shortcuts import render
# Create your views here.
from django.shortcuts import render
# Create your views here.
from django.views.decorators.cache import cache_page
from services.about.about_service import AboutService
@cache_page(300)
def index(request):
return render(request, 'photo/index.html')
| 21.333333
| 53
| 0.796875
| 45
| 320
| 5.6
| 0.511111
| 0.119048
| 0.150794
| 0.198413
| 0.436508
| 0.436508
| 0.436508
| 0.436508
| 0.436508
| 0.436508
| 0
| 0.010753
| 0.128125
| 320
| 14
| 54
| 22.857143
| 0.892473
| 0.146875
| 0
| 0.285714
| 0
| 0
| 0.059259
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.142857
| false
| 0
| 0.571429
| 0.142857
| 0.857143
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 4
|
0ee9bd09ab34e96efa6c318ff55b8dca2f40f807
| 785
|
bzl
|
Python
|
source/bazel/deps/python3/get.bzl
|
luxe/CodeLang-compiler
|
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
|
[
"MIT"
] | 1
|
2019-01-06T08:45:46.000Z
|
2019-01-06T08:45:46.000Z
|
source/bazel/deps/python3/get.bzl
|
luxe/CodeLang-compiler
|
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
|
[
"MIT"
] | 264
|
2015-11-30T08:34:00.000Z
|
2018-06-26T02:28:41.000Z
|
source/bazel/deps/python3/get.bzl
|
UniLang/compiler
|
c338ee92994600af801033a37dfb2f1a0c9ca897
|
[
"MIT"
] | null | null | null |
# Do not edit this file directly.
# It was auto-generated by: code/programs/reflexivity/reflexive_refresh
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
def python3():
http_archive(
name = "python3",
build_file = "//bazel/deps/python3:build.BUILD",
sha256 = "36592ee2910b399c68bf0ddad1625f2c6a359ab9a8253d676d44531500e475d4",
strip_prefix = "python3-7f755fe87d217177603a27d9dcc2fedc979f0f1a",
urls = [
"https://github.com/Unilang/python3/archive/7f755fe87d217177603a27d9dcc2fedc979f0f1a.tar.gz",
],
patch_cmds = [
"sed -i '/HAVE_CRYPT_H/d' usr/include/x86_64-linux-gnu/python3.6m/pyconfig.h",
],
)
| 39.25
| 105
| 0.686624
| 85
| 785
| 6.176471
| 0.670588
| 0.034286
| 0.053333
| 0.072381
| 0.16381
| 0.16381
| 0.16381
| 0.16381
| 0.16381
| 0.16381
| 0
| 0.165625
| 0.184713
| 785
| 19
| 106
| 41.315789
| 0.654688
| 0.128662
| 0
| 0.133333
| 1
| 0.066667
| 0.625551
| 0.414097
| 0
| 0
| 0
| 0
| 0
| 1
| 0.066667
| true
| 0
| 0
| 0
| 0.066667
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
0eeba2cff1cef1bcb9c2c17202ef362ee0a96245
| 418
|
py
|
Python
|
download_file/templatetags/download_permissions.py
|
uktrade/fadmin2
|
0f774400fb816c9ca30e30b25ae542135966e185
|
[
"MIT"
] | null | null | null |
download_file/templatetags/download_permissions.py
|
uktrade/fadmin2
|
0f774400fb816c9ca30e30b25ae542135966e185
|
[
"MIT"
] | 6
|
2022-01-17T16:14:53.000Z
|
2022-03-30T08:31:56.000Z
|
download_file/templatetags/download_permissions.py
|
uktrade/fadmin2
|
0f774400fb816c9ca30e30b25ae542135966e185
|
[
"MIT"
] | null | null | null |
from django import template
register = template.Library()
@register.simple_tag
def has_oscar_download_permission(user):
return user.has_perm("forecast.can_download_oscar")
@register.simple_tag
def has_mi_report_download_permission(user):
return user.has_perm("forecast.can_download_mi_reports")
@register.simple_tag
def has_download_users_permission(user):
return user.has_perm("user.can_download")
| 22
| 60
| 0.813397
| 59
| 418
| 5.389831
| 0.372881
| 0.132075
| 0.160377
| 0.188679
| 0.679245
| 0.462264
| 0.36478
| 0.36478
| 0.36478
| 0.36478
| 0
| 0
| 0.098086
| 418
| 18
| 61
| 23.222222
| 0.843501
| 0
| 0
| 0.272727
| 0
| 0
| 0.181818
| 0.141148
| 0
| 0
| 0
| 0
| 0
| 1
| 0.272727
| false
| 0
| 0.090909
| 0.272727
| 0.636364
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
0ef196b444bad5b0c564d4c6cb89660687caee51
| 1,162
|
py
|
Python
|
ctpbee/interface/puppet/td_api.py
|
touqi/ctpbee
|
72a01b818523ac90792db9431439ef5e5b312774
|
[
"MIT"
] | 1
|
2020-07-27T15:05:40.000Z
|
2020-07-27T15:05:40.000Z
|
ctpbee/interface/puppet/td_api.py
|
TouQi/ctpbee
|
72a01b818523ac90792db9431439ef5e5b312774
|
[
"MIT"
] | null | null | null |
ctpbee/interface/puppet/td_api.py
|
TouQi/ctpbee
|
72a01b818523ac90792db9431439ef5e5b312774
|
[
"MIT"
] | null | null | null |
from ctpbee.constant import AccountData, EVENT_ACCOUNT
from ctpbee.constant import EVENT_LOG, EVENT_POSITION
# class PuppetApi(object):
# def __init__(self, event_engine: EventEngine):
# self.event_engine = event_engine
# self.client = None
# self.api = None
#
# def connect(self, info):
# try:
# self.client.login(**info)
# title = '广发证券核新网上交易系统7.65'
# self.api = self.client.bind(title).init()
# event = Event(EVENT_LOG, data="股票账户登录成功")
# self.event_engine.put(event)
# except Exception:
# event = Event(EVENT_LOG, data="账户登录失败 ")
# self.event_engine.put(event)
#
# def query_position(self):
# event = Event(type=EVENT_POSITION, data=self.api.position)
# self.event_engine.put(event)
#
# def query_account(self):
# data = AccountData(account_id=self.api.account, balance=self.api.balance,
# frozen=self.api.balance - self.api.assets)
# event = Event(EVENT_ACCOUNT, data=data)
# self.event_engine.put(data)
#
# def send_order(self):
# pass
| 35.212121
| 83
| 0.601549
| 134
| 1,162
| 5.052239
| 0.320896
| 0.093058
| 0.132939
| 0.106352
| 0.190547
| 0.091581
| 0.091581
| 0
| 0
| 0
| 0
| 0.003571
| 0.277108
| 1,162
| 32
| 84
| 36.3125
| 0.802381
| 0.854561
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
0ef5adfb8141602b5f5163e7000866f158e65665
| 58,028
|
py
|
Python
|
Configuration/GenProduction/python/ThirteenTeV/GMSB/GMSB_L200TeV_Ctau10cm_Pythia8_13TeV_cff.py
|
zhangzc11/cms-gmsb-sps8-configs
|
838e6aac1d13251e050c0ee8c4ed26ca0c6cef7e
|
[
"Apache-2.0"
] | null | null | null |
Configuration/GenProduction/python/ThirteenTeV/GMSB/GMSB_L200TeV_Ctau10cm_Pythia8_13TeV_cff.py
|
zhangzc11/cms-gmsb-sps8-configs
|
838e6aac1d13251e050c0ee8c4ed26ca0c6cef7e
|
[
"Apache-2.0"
] | null | null | null |
Configuration/GenProduction/python/ThirteenTeV/GMSB/GMSB_L200TeV_Ctau10cm_Pythia8_13TeV_cff.py
|
zhangzc11/cms-gmsb-sps8-configs
|
838e6aac1d13251e050c0ee8c4ed26ca0c6cef7e
|
[
"Apache-2.0"
] | null | null | null |
SLHA_TABLE = '''
# ISAJET SUSY parameters in SUSY Les Houches Accord 2 format
# Created by ISALHA 2.0 Last revision: H Baer 27 May 2014
Block SPINFO # Program information
1 ISASUGRA/ISASUSY from ISAJET # Spectrum Calculator
2 7.87 18-JUL-2017 13:55:55 # Version number
Block MODSEL # Model selection
1 2 # Minimal gauge mediated (GMSB) model
Block SMINPUTS # Standard Model inputs
1 1.28000000E+02 # alpha_em^(-1)
2 1.16570000E-05 # G_Fermi
3 1.19999997E-01 # alpha_s(M_Z)
4 9.11699982E+01 # m_{Z}(pole)
5 4.19999981E+00 # m_{b}(m_{b})
6 1.73100006E+02 # m_{top}(pole)
7 1.77699995E+00 # m_{tau}(pole)
Block MINPAR # SUSY breaking input parameters
1 2.00000000E+05 # Lambda scale of soft SSB
2 4.00000000E+05 # M_mess overall messenger scale
3 1.50000000E+01 # tan(beta)
4 1.00000000E+00 # sign(mu)
5 1.00000000E+00 # N_5 messenger index
6 5.22809982E+01 # c_grav gravitino mass factor
51 1.00000000E+00 # N5_1 U(1)_Y messenger index
52 1.00000000E+00 # N5_2 SU(2)_L messenger index
53 1.00000000E+00 # N5_3 SU(3)_C messenger index
101 1.00000000E+00 # Rsl
102 0.00000000E+00 # dmH_d^2
103 0.00000000E+00 # dmH_u^2
104 0.00000000E+00 # d_Y
Block MASS # Scalar and gaugino mass spectrum
# PDG code mass particle
6 1.73100006E+02 # top
24 8.04229965E+01 # W^+
25 1.16879478E+02 # h^0
35 1.01065356E+03 # H^0
36 1.00396478E+03 # A^0
37 1.01380042E+03 # H^+
1000001 2.12702637E+03 # dnl
1000002 2.12550732E+03 # upl
1000003 2.12702637E+03 # stl
1000004 2.12550781E+03 # chl
1000005 2.00843982E+03 # b1
1000006 1.84240845E+03 # t1
1000011 7.07858704E+02 # el-
1000012 6.99085388E+02 # nuel
1000013 7.07858704E+02 # mul-
1000014 6.99085388E+02 # numl
1000015 3.47515228E+02 # tau1
1000016 6.95129333E+02 # nutl
1000021 1.56451611E+03 # glss
1000022 2.84791931E+02 # z1ss
1000023 5.44361816E+02 # z2ss
1000024 5.44888550E+02 # w1ss
1000025 -7.50561890E+02 # z3ss
1000035 7.66168579E+02 # z4ss
1000037 7.66315369E+02 # w2ss
1000039 1.00614830E-06 # gvss
2000001 2.01961279E+03 # dnr
2000002 2.02919128E+03 # upr
2000003 2.01961279E+03 # str
2000004 2.02919177E+03 # chr
2000005 2.04543079E+03 # b2
2000006 2.06019092E+03 # t2
2000011 3.46890686E+02 # er-
2000013 3.46890686E+02 # mur-
2000015 7.04579956E+02 # tau2
Block ALPHA # Effective Higgs mixing parameter
-6.79674745E-02 # alpha
Block STOPMIX # stop mixing matrix
1 1 5.42840585E-02 # O_{11}
1 2 9.98525560E-01 # O_{12}
2 1 -9.98525560E-01 # O_{21}
2 2 5.42840585E-02 # O_{22}
Block SBOTMIX # sbottom mixing matrix
1 1 2.13391557E-01 # O_{11}
1 2 9.76966739E-01 # O_{12}
2 1 -9.76966739E-01 # O_{21}
2 2 2.13391557E-01 # O_{22}
Block STAUMIX # stau mixing matrix
1 1 4.89766859E-02 # O_{11}
1 2 9.98799920E-01 # O_{12}
2 1 -9.98799920E-01 # O_{21}
2 2 4.89766859E-02 # O_{22}
Block NMIX # neutralino mixing matrix
1 1 9.97106194E-01 #
1 2 -1.00962939E-02 #
1 3 6.92395419E-02 #
1 4 -2.97216251E-02 #
2 1 2.95190942E-02 #
2 2 9.62476790E-01 #
2 3 -2.14587018E-01 #
2 4 1.63460404E-01 #
3 1 2.74648070E-02 #
3 2 -3.77828740E-02 #
3 3 -7.04857707E-01 #
3 4 -7.07809269E-01 #
4 1 6.44494370E-02 #
4 2 -2.68530816E-01 #
4 3 -6.72557950E-01 #
4 4 6.86588228E-01 #
Block UMIX # chargino U mixing matrix
1 1 -9.54581201E-01 # U_{11}
1 2 2.97950923E-01 # U_{12}
2 1 -2.97950923E-01 # U_{21}
2 2 -9.54581201E-01 # U_{22}
Block VMIX # chargino V mixing matrix
1 1 -9.74121094E-01 # V_{11}
1 2 2.26026803E-01 # V_{12}
2 1 -2.26026803E-01 # V_{21}
2 2 -9.74121094E-01 # V_{22}
Block GAUGE Q= 1.88482239E+03 #
1 3.57524991E-01 # g`
2 6.52378619E-01 # g_2
3 1.21928000E+00 # g_3
Block YU Q= 1.88482239E+03 #
3 3 8.48131120E-01 # y_t
Block YD Q= 1.88482239E+03 #
3 3 1.90079987E-01 # y_b
Block YE Q= 1.88482239E+03 #
3 3 1.52722269E-01 # y_tau
Block HMIX Q= 1.88482239E+03 # Higgs mixing parameters
1 7.40617249E+02 # mu(Q)
2 1.43916941E+01 # tan(beta)(Q)
3 2.51379364E+02 # Higgs vev at Q
4 1.00794531E+06 # m_A^2(Q)
Block MSOFT Q= 1.88482239E+03 # DRbar SUSY breaking parameters
1 2.91356354E+02 # M_1(Q)
2 5.38406189E+02 # M_2(Q)
3 1.41720056E+03 # M_3(Q)
21 4.36508125E+05 # MHd^2(Q)
22 -4.87825438E+05 # MHu^2(Q)
31 7.01099487E+02 # MeL(Q)
32 7.01099487E+02 # MmuL(Q)
33 6.97228760E+02 # MtauL(Q)
34 3.45036255E+02 # MeR(Q)
35 3.45036255E+02 # MmuR(Q)
36 3.39970886E+02 # MtauR(Q)
41 2.05611230E+03 # MqL1(Q)
42 2.05611230E+03 # MqL2(Q)
43 1.97951489E+03 # MqL3(Q)
44 1.95809875E+03 # MuR(Q)
45 1.95809875E+03 # McR(Q)
46 1.79465955E+03 # MtR(Q)
47 1.94789075E+03 # MdR(Q)
48 1.94789075E+03 # MsR(Q)
49 1.94067822E+03 # MbR(Q)
Block AU Q= 1.88482239E+03 #
1 1 -4.23792633E+02 # A_u
2 2 -4.23792633E+02 # A_c
3 3 -4.23792633E+02 # A_t
Block AD Q= 1.88482239E+03 #
1 1 -4.73206207E+02 # A_d
2 2 -4.73206207E+02 # A_s
3 3 -4.73206207E+02 # A_b
Block AE Q= 1.88482239E+03 #
1 1 -5.27718201E+01 # A_e
2 2 -5.27718201E+01 # A_mu
3 3 -5.27718201E+01 # A_tau
# ISAJET decay tables in SUSY Les Houches accord format
# Created by ISALHD. Last revision: C. Balazs, 2005 May 25
Block DCINFO # Program information
1 ISASUGRA from ISAJET # Spectrum Calculator
2 7.87 18-JUL-2017 13:55:55 # Version number
# PDG Width
DECAY 6 1.48575687E+00 # TP decays
# BR NDA ID1 ID2 ID3 ID4
3.33333313E-01 3 2 -1 5 # TP --> UP DB BT
3.33333313E-01 3 4 -3 5 # TP --> CH SB BT
1.11111097E-01 3 -11 12 5 # TP --> E+ NUE BT
1.11111097E-01 3 -13 14 5 # TP --> MU+ NUM BT
1.11111097E-01 3 -15 16 5 # TP --> TAU+ NUT BT
# PDG Width
DECAY 1000021 3.91600803E-02 # GLSS decays
# BR NDA ID1 ID2 ID3 ID4
5.98118640E-02 3 1000024 1 -2 # GLSS --> W1SS+ DN UB
5.98118640E-02 3 -1000024 2 -1 # GLSS --> W1SS- UP DB
5.98118231E-02 3 1000024 3 -4 # GLSS --> W1SS+ ST CB
5.98118231E-02 3 -1000024 4 -3 # GLSS --> W1SS- CH SB
5.52729368E-02 3 1000024 5 -6 # GLSS --> W1SS+ BT TB
5.52729368E-02 3 -1000024 6 -5 # GLSS --> W1SS- TP BB
2.17750575E-03 3 1000037 1 -2 # GLSS --> W2SS+ DN UB
2.17750575E-03 3 -1000037 2 -1 # GLSS --> W2SS- UP DB
2.17750436E-03 3 1000037 3 -4 # GLSS --> W2SS+ ST CB
2.17750436E-03 3 -1000037 4 -3 # GLSS --> W2SS- CH SB
8.60342830E-02 3 1000037 5 -6 # GLSS --> W2SS+ BT TB
8.60342830E-02 3 -1000037 6 -5 # GLSS --> W2SS- TP BB
1.14810000E-07 2 1000022 21 # GLSS --> Z1SS GL
3.61842811E-02 3 1000022 2 -2 # GLSS --> Z1SS UP UB
1.07676769E-02 3 1000022 1 -1 # GLSS --> Z1SS DN DB
1.07676769E-02 3 1000022 3 -3 # GLSS --> Z1SS ST SB
3.61842290E-02 3 1000022 4 -4 # GLSS --> Z1SS CH CB
1.16079841E-02 3 1000022 5 -5 # GLSS --> Z1SS BT BB
4.39323559E-02 3 1000022 6 -6 # GLSS --> Z1SS TP TB
3.57603683E-04 2 1000023 21 # GLSS --> Z2SS GL
3.02434172E-02 3 1000023 2 -2 # GLSS --> Z2SS UP UB
2.94371918E-02 3 1000023 1 -1 # GLSS --> Z2SS DN DB
2.94371918E-02 3 1000023 3 -3 # GLSS --> Z2SS ST SB
3.02433725E-02 3 1000023 4 -4 # GLSS --> Z2SS CH CB
3.78532223E-02 3 1000023 5 -5 # GLSS --> Z2SS BT BB
1.92275140E-02 3 1000023 6 -6 # GLSS --> Z2SS TP TB
3.67192086E-03 2 1000025 21 # GLSS --> Z3SS GL
1.14663890E-05 3 1000025 2 -2 # GLSS --> Z3SS UP UB
1.39081658E-05 3 1000025 1 -1 # GLSS --> Z3SS DN DB
1.39081658E-05 3 1000025 3 -3 # GLSS --> Z3SS ST SB
1.14663708E-05 3 1000025 4 -4 # GLSS --> Z3SS CH CB
4.22279863E-03 3 1000025 5 -5 # GLSS --> Z3SS BT BB
5.01096137E-02 3 1000025 6 -6 # GLSS --> Z3SS TP TB
3.35715711E-03 2 1000035 21 # GLSS --> Z4SS GL
1.08746300E-03 3 1000035 2 -2 # GLSS --> Z4SS UP UB
1.24757097E-03 3 1000035 1 -1 # GLSS --> Z4SS DN DB
1.24757097E-03 3 1000035 3 -3 # GLSS --> Z4SS ST SB
1.08746148E-03 3 1000035 4 -4 # GLSS --> Z4SS CH CB
5.21703064E-03 3 1000035 5 -5 # GLSS --> Z4SS BT BB
7.18851313E-02 3 1000035 6 -6 # GLSS --> Z4SS TP TB
2.72219386E-10 2 1000039 21 # GLSS --> GVSS GL
# PDG Width
DECAY 1000002 4.89757767E+01 # UPL decays
# BR NDA ID1 ID2 ID3 ID4
5.24737174E-03 2 1000022 2 # UPL --> Z1SS UP
1.49421811E-01 2 1000023 2 # UPL --> Z2SS UP
1.50129170E-04 2 1000025 2 # UPL --> Z3SS UP
9.11439583E-03 2 1000035 2 # UPL --> Z4SS UP
5.19313037E-01 2 1000021 2 # UPL --> GLSS UP
3.02624702E-01 2 1000024 1 # UPL --> W1SS+ DN
1.41285537E-02 2 1000037 1 # UPL --> W2SS+ DN
# PDG Width
DECAY 1000001 4.90139809E+01 # DNL decays
# BR NDA ID1 ID2 ID3 ID4
6.54704776E-03 2 1000022 1 # DNL --> Z1SS DN
1.46120608E-01 2 1000023 1 # DNL --> Z2SS DN
2.56652216E-04 2 1000025 1 # DNL --> Z3SS DN
1.08722541E-02 2 1000035 1 # DNL --> Z4SS DN
5.20998478E-01 2 1000021 1 # DNL --> GLSS DN
2.90645182E-01 2 -1000024 2 # DNL --> W1SS- UP
2.45597642E-02 2 -1000037 2 # DNL --> W2SS- UP
# PDG Width
DECAY 1000003 4.90139618E+01 # STL decays
# BR NDA ID1 ID2 ID3 ID4
6.54705008E-03 2 1000022 3 # STL --> Z1SS ST
1.46120667E-01 2 1000023 3 # STL --> Z2SS ST
2.56652333E-04 2 1000025 3 # STL --> Z3SS ST
1.08722588E-02 2 1000035 3 # STL --> Z4SS ST
5.20998657E-01 2 1000021 3 # STL --> GLSS ST
2.90645003E-01 2 -1000024 4 # STL --> W1SS- CH
2.45597493E-02 2 -1000037 4 # STL --> W2SS- CH
# PDG Width
DECAY 1000004 4.89757080E+01 # CHL decays
# BR NDA ID1 ID2 ID3 ID4
5.24737593E-03 2 1000022 4 # CHL --> Z1SS CH
1.49421915E-01 2 1000023 4 # CHL --> Z2SS CH
1.50129286E-04 2 1000025 4 # CHL --> Z3SS CH
9.11440235E-03 2 1000035 4 # CHL --> Z4SS CH
5.19312382E-01 2 1000021 4 # CHL --> GLSS CH
3.02625239E-01 2 1000024 3 # CHL --> W1SS+ ST
1.41285807E-02 2 1000037 3 # CHL --> W2SS+ ST
# PDG Width
DECAY 1000005 2.29433556E+01 # BT1 decays
# BR NDA ID1 ID2 ID3 ID4
4.83673289E-02 2 1000022 5 # BT1 --> Z1SS BT
2.71058753E-02 2 1000023 5 # BT1 --> Z2SS BT
2.23622285E-02 2 1000025 5 # BT1 --> Z3SS BT
1.30565921E-02 2 1000035 5 # BT1 --> Z4SS BT
7.78688967E-01 2 1000021 5 # BT1 --> GLSS BT
5.36670722E-02 2 -1000024 6 # BT1 --> W1SS- TP
5.66698126E-02 2 -1000037 6 # BT1 --> W2SS- TP
8.21639696E-05 2 -24 1000006 # BT1 --> W- TP1
# PDG Width
DECAY 1000006 4.52941818E+01 # TP1 decays
# BR NDA ID1 ID2 ID3 ID4
1.47185177E-01 2 1000021 6 # TP1 --> GLSS TP
8.59281197E-02 2 1000022 6 # TP1 --> Z1SS TP
1.68600678E-02 2 1000023 6 # TP1 --> Z2SS TP
1.92801625E-01 2 1000025 6 # TP1 --> Z3SS TP
1.70289561E-01 2 1000035 6 # TP1 --> Z4SS TP
3.31429616E-02 2 1000024 5 # TP1 --> W1SS+ BT
3.53792548E-01 2 1000037 5 # TP1 --> W2SS+ BT
# PDG Width
DECAY 2000002 2.35085621E+01 # UPR decays
# BR NDA ID1 ID2 ID3 ID4
1.86430216E-01 2 1000022 2 # UPR --> Z1SS UP
1.46435632E-04 2 1000023 2 # UPR --> Z2SS UP
1.09667046E-04 2 1000025 2 # UPR --> Z3SS UP
5.95877820E-04 2 1000035 2 # UPR --> Z4SS UP
8.12717795E-01 2 1000021 2 # UPR --> GLSS UP
# PDG Width
DECAY 2000001 1.95927353E+01 # DNR decays
# BR NDA ID1 ID2 ID3 ID4
5.56373559E-02 2 1000022 1 # DNR --> Z1SS DN
4.36538248E-05 2 1000023 1 # DNR --> Z2SS DN
3.26424233E-05 2 1000025 1 # DNR --> Z3SS DN
1.77336915E-04 2 1000035 1 # DNR --> Z4SS DN
9.44109082E-01 2 1000021 1 # DNR --> GLSS DN
# PDG Width
DECAY 2000003 1.95927353E+01 # STR decays
# BR NDA ID1 ID2 ID3 ID4
5.56373559E-02 2 1000022 3 # STR --> Z1SS ST
4.36538248E-05 2 1000023 3 # STR --> Z2SS ST
3.26424233E-05 2 1000025 3 # STR --> Z3SS ST
1.77336915E-04 2 1000035 3 # STR --> Z4SS ST
9.44109082E-01 2 1000021 3 # STR --> GLSS ST
# PDG Width
DECAY 2000004 2.35084877E+01 # CHR decays
# BR NDA ID1 ID2 ID3 ID4
1.86430693E-01 2 1000022 4 # CHR --> Z1SS CH
1.46435996E-04 2 1000023 4 # CHR --> Z2SS CH
1.09667330E-04 2 1000025 4 # CHR --> Z3SS CH
5.95879334E-04 2 1000035 4 # CHR --> Z4SS CH
8.12717319E-01 2 1000021 4 # CHR --> GLSS CH
# PDG Width
DECAY 2000005 6.23189583E+01 # BT2 decays
# BR NDA ID1 ID2 ID3 ID4
4.73209983E-03 2 1000022 5 # BT2 --> Z1SS BT
1.00973569E-01 2 1000023 5 # BT2 --> Z2SS BT
9.98083130E-03 2 1000025 5 # BT2 --> Z3SS BT
1.95801649E-02 2 1000035 5 # BT2 --> Z4SS BT
3.22045535E-01 2 1000021 5 # BT2 --> GLSS BT
2.08503902E-01 2 -1000024 6 # BT2 --> W1SS- TP
3.32878113E-01 2 -1000037 6 # BT2 --> W2SS- TP
1.30575988E-03 2 -24 1000006 # BT2 --> W- TP1
# PDG Width
DECAY 2000006 6.34859772E+01 # TP2 decays
# BR NDA ID1 ID2 ID3 ID4
2.95760036E-01 2 1000021 6 # TP2 --> GLSS TP
2.18236908E-01 2 1000024 5 # TP2 --> W1SS+ BT
3.38786766E-02 2 1000037 5 # TP2 --> W2SS+ BT
8.01747723E-04 2 23 1000006 # TP2 --> Z0 TP1
2.80922186E-03 2 25 1000006 # TP2 --> HL0 TP1
4.01692092E-03 2 1000022 6 # TP2 --> Z1SS TP
1.12054899E-01 2 1000023 6 # TP2 --> Z2SS TP
1.63219988E-01 2 1000025 6 # TP2 --> Z3SS TP
1.69221684E-01 2 1000035 6 # TP2 --> Z4SS TP
# PDG Width
DECAY 1000011 1.98367858E+00 # EL- decays
# BR NDA ID1 ID2 ID3 ID4
3.05330515E-01 2 1000022 11 # EL- --> Z1SS E-
2.40204901E-01 2 1000023 11 # EL- --> Z2SS E-
4.54464257E-01 2 -1000024 12 # EL- --> W1SS- NUE
1.85223257E-07 3 1000015 11 -15 # EL- --> TAU1- E- TAU+
2.04605783E-07 3 -1000015 11 15 # EL- --> TAU1+ E- TAU-
1.01888224E-13 2 11 1000039 # EL- --> E- GVSS
# PDG Width
DECAY 1000013 1.98367834E+00 # MUL- decays
# BR NDA ID1 ID2 ID3 ID4
3.05330545E-01 2 1000022 13 # MUL- --> Z1SS MU-
2.40204841E-01 2 1000023 13 # MUL- --> Z2SS MU-
4.54464316E-01 2 -1000024 14 # MUL- --> W1SS- NUM
1.85223286E-07 3 1000015 13 -15 # MUL- --> TAU1- MU- TAU+
2.04605797E-07 3 -1000015 13 15 # MUL- --> TAU1+ MU- TAU-
1.01888238E-13 2 13 1000039 # MUL- --> MU- GVSS
# PDG Width
DECAY 1000015 1.89405933E-01 # TAU1- decays
# BR NDA ID1 ID2 ID3 ID4
1.00000000E+00 2 1000022 15 # TAU1- --> Z1SS TAU-
3.04293469E-14 2 15 1000039 # TAU1- --> TAU- GVSS
# PDG Width
DECAY 1000012 1.90628219E+00 # NUEL decays
# BR NDA ID1 ID2 ID3 ID4
3.34501565E-01 2 1000022 12 # NUEL --> Z1SS NUE
2.14198276E-01 2 1000023 12 # NUEL --> Z2SS NUE
4.51298177E-01 2 1000024 11 # NUEL --> W1SS+ E-
3.17879397E-07 3 1000015 12 -15 # NUEL --> TAU1- NUE TAU+
2.55577930E-07 3 -1000015 12 15 # NUEL --> TAU1+ NUE TAU-
1.43115835E-06 3 -1000015 11 16 # NUEL --> TAU1+ E- NUT
9.96153707E-14 2 12 1000039 # NUEL --> NUE GVSS
# PDG Width
DECAY 1000014 1.90628195E+00 # NUML decays
# BR NDA ID1 ID2 ID3 ID4
3.34501594E-01 2 1000022 14 # NUML --> Z1SS NUM
2.14198306E-01 2 1000023 14 # NUML --> Z2SS NUM
4.51298118E-01 2 1000024 13 # NUML --> W1SS+ MU-
3.17879454E-07 3 1000015 14 -15 # NUML --> TAU1- NUM TAU+
2.55577959E-07 3 -1000015 14 15 # NUML --> TAU1+ NUM TAU-
1.43258205E-06 3 -1000015 13 16 # NUML --> TAU1+ MU- NUT
9.96153775E-14 2 14 1000039 # NUML --> NUM GVSS
# PDG Width
DECAY 1000016 2.05353856E+00 # NUTL decays
# BR NDA ID1 ID2 ID3 ID4
3.07356805E-01 2 1000022 16 # NUTL --> Z1SS NUT
1.90822199E-01 2 1000023 16 # NUTL --> Z2SS NUT
4.03485298E-01 2 1000024 15 # NUTL --> W1SS+ TAU-
9.83347967E-02 2 24 1000015 # NUTL --> W+ TAU1-
6.53100642E-07 3 -1000015 16 15 # NUTL --> TAU1+ NUT TAU-
2.22272746E-07 3 1000015 16 -15 # NUTL --> TAU1- NUT TAU+
8.98850764E-14 2 16 1000039 # NUTL --> NUT GVSS
# PDG Width
DECAY 2000011 1.86409205E-01 # ER- decays
# BR NDA ID1 ID2 ID3 ID4
1.00000000E+00 2 1000022 11 # ER- --> Z1SS E-
3.06449033E-14 2 11 1000039 # ER- --> E- GVSS
# PDG Width
DECAY 2000013 1.86408877E-01 # MUR- decays
# BR NDA ID1 ID2 ID3 ID4
1.00000000E+00 2 1000022 13 # MUR- --> Z1SS MU-
3.06449507E-14 2 13 1000039 # MUR- --> MU- GVSS
# PDG Width
DECAY 2000015 2.16165304E+00 # TAU2- decays
# BR NDA ID1 ID2 ID3 ID4
2.79207855E-01 2 1000022 15 # TAU2- --> Z1SS TAU-
2.12360233E-01 2 1000023 15 # TAU2- --> Z2SS TAU-
4.00010824E-01 2 -1000024 16 # TAU2- --> W1SS- NUT
4.94371615E-02 2 23 1000015 # TAU2- --> Z0 TAU1-
5.89839406E-02 2 25 1000015 # TAU2- --> HL0 TAU1-
# PDG Width
DECAY 1000022 1.97595041E-15 # Z1SS decays
# BR NDA ID1 ID2 ID3 ID4
8.14181864E-01 2 1000039 22 # Z1SS --> GVSS GM
1.78591050E-02 3 1000039 11 -11 # Z1SS --> GVSS E- E+
1.67798549E-01 2 1000039 23 # Z1SS --> GVSS Z0
1.60490788E-04 2 1000039 25 # Z1SS --> GVSS HL0
# PDG Width
DECAY 1000023 4.54013087E-02 # Z2SS decays
# BR NDA ID1 ID2 ID3 ID4
2.27506553E-06 2 1000022 22 # Z2SS --> Z1SS GM
5.14371544E-02 2 1000022 23 # Z2SS --> Z1SS Z0
4.32506482E-07 3 1000022 2 -2 # Z2SS --> Z1SS UP UB
5.20717947E-07 3 1000022 1 -1 # Z2SS --> Z1SS DN DB
5.20717947E-07 3 1000022 3 -3 # Z2SS --> Z1SS ST SB
4.32506056E-07 3 1000022 4 -4 # Z2SS --> Z1SS CH CB
2.12307373E-06 3 1000022 5 -5 # Z2SS --> Z1SS BT BB
2.64065806E-04 3 1000022 11 -11 # Z2SS --> Z1SS E- E+
2.64065806E-04 3 1000022 13 -13 # Z2SS --> Z1SS MU- MU+
2.70124525E-04 3 1000022 15 -15 # Z2SS --> Z1SS TAU- TAU+
2.88196199E-04 3 1000022 12 -12 # Z2SS --> Z1SS NUE ANUE
2.88196199E-04 3 1000022 14 -14 # Z2SS --> Z1SS NUM ANUM
2.99187202E-04 3 1000022 16 -16 # Z2SS --> Z1SS NUT ANUT
6.38653159E-01 2 1000022 25 # Z2SS --> Z1SS HL0
9.37242899E-03 2 2000011 -11 # Z2SS --> ER- E+
9.37242899E-03 2 -2000011 11 # Z2SS --> ER+ E-
9.37242806E-03 2 2000013 -13 # Z2SS --> MUR- MU+
9.37242806E-03 2 -2000013 13 # Z2SS --> MUR+ MU-
1.35369882E-01 2 1000015 -15 # Z2SS --> TAU1- TAU+
1.35369882E-01 2 -1000015 15 # Z2SS --> TAU1+ TAU-
2.86857181E-13 2 1000039 22 # Z2SS --> GVSS GM
6.60032213E-15 3 1000039 11 -11 # Z2SS --> GVSS E- E+
7.51633890E-13 2 1000039 23 # Z2SS --> GVSS Z0
1.09325314E-14 2 1000039 25 # Z2SS --> GVSS HL0
# PDG Width
DECAY 1000025 2.99020267E+00 # Z3SS decays
# BR NDA ID1 ID2 ID3 ID4
7.58441630E-08 2 1000022 22 # Z3SS --> Z1SS GM
3.51678636E-07 2 1000023 22 # Z3SS --> Z2SS GM
2.70944983E-01 2 1000024 -24 # Z3SS --> W1SS+ W-
2.70944983E-01 2 -1000024 24 # Z3SS --> W1SS- W+
1.36083215E-01 2 1000022 23 # Z3SS --> Z1SS Z0
2.57172257E-01 2 1000023 23 # Z3SS --> Z2SS Z0
3.94170030E-10 3 1000022 2 -2 # Z3SS --> Z1SS UP UB
1.12787710E-10 3 1000022 1 -1 # Z3SS --> Z1SS DN DB
1.12787710E-10 3 1000022 3 -3 # Z3SS --> Z1SS ST SB
3.94169614E-10 3 1000022 4 -4 # Z3SS --> Z1SS CH CB
1.52702194E-06 3 1000022 5 -5 # Z3SS --> Z1SS BT BB
2.59261867E-07 3 1000022 15 -15 # Z3SS --> Z1SS TAU- TAU+
4.39280938E-11 3 1000023 2 -2 # Z3SS --> Z2SS UP UB
7.31549127E-11 3 1000023 1 -1 # Z3SS --> Z2SS DN DB
7.31549127E-11 3 1000023 3 -3 # Z3SS --> Z2SS ST SB
4.39280452E-11 3 1000023 4 -4 # Z3SS --> Z2SS CH CB
1.32311584E-07 3 1000023 5 -5 # Z3SS --> Z2SS BT BB
2.09020463E-08 3 1000023 15 -15 # Z3SS --> Z2SS TAU- TAU+
2.13980302E-02 2 1000022 25 # Z3SS --> Z1SS HL0
4.20774845E-03 2 1000023 25 # Z3SS --> Z2SS HL0
3.32342984E-06 2 1000011 -11 # Z3SS --> EL- E+
3.32342984E-06 2 -1000011 11 # Z3SS --> EL+ E-
3.32342029E-06 2 1000013 -13 # Z3SS --> MUL- MU+
3.32342029E-06 2 -1000013 13 # Z3SS --> MUL+ MU-
2.97775405E-04 2 2000011 -11 # Z3SS --> ER- E+
2.97775405E-04 2 -2000011 11 # Z3SS --> ER+ E-
2.97775405E-04 2 2000013 -13 # Z3SS --> MUR- MU+
2.97775405E-04 2 -2000013 13 # Z3SS --> MUR+ MU-
1.84967816E-02 2 1000015 -15 # Z3SS --> TAU1- TAU+
1.84967816E-02 2 -1000015 15 # Z3SS --> TAU1+ TAU-
4.42433491E-04 2 2000015 -15 # Z3SS --> TAU2- TAU+
4.42433491E-04 2 -2000015 15 # Z3SS --> TAU2+ TAU-
2.59188855E-05 2 1000012 -12 # Z3SS --> NUEL ANUE
2.59188855E-05 2 -1000012 12 # Z3SS --> ANUEL NUE
2.59188855E-05 2 1000014 -14 # Z3SS --> NUML ANUM
2.59188855E-05 2 -1000014 14 # Z3SS --> ANUML NUM
2.98919713E-05 2 1000016 -16 # Z3SS --> NUTL ANUT
2.98919713E-05 2 -1000016 16 # Z3SS --> ANUTL NUT
3.12188179E-18 2 1000039 22 # Z3SS --> GVSS GM
7.34941121E-20 3 1000039 11 -11 # Z3SS --> GVSS E- E+
1.87391403E-14 2 1000039 23 # Z3SS --> GVSS Z0
2.33461084E-14 2 1000039 25 # Z3SS --> GVSS HL0
# PDG Width
DECAY 1000035 3.54212141E+00 # Z4SS decays
# BR NDA ID1 ID2 ID3 ID4
2.50445886E-08 2 1000022 22 # Z4SS --> Z1SS GM
9.50156789E-08 2 1000023 22 # Z4SS --> Z2SS GM
9.44028744E-10 2 1000025 22 # Z4SS --> Z3SS GM
2.96072900E-01 2 1000024 -24 # Z4SS --> W1SS+ W-
2.96072900E-01 2 -1000024 24 # Z4SS --> W1SS- W+
1.90828275E-02 2 1000022 23 # Z4SS --> Z1SS Z0
6.33901684E-03 2 1000023 23 # Z4SS --> Z2SS Z0
1.04468612E-08 3 1000022 2 -2 # Z4SS --> Z1SS UP UB
9.18590537E-09 3 1000022 1 -1 # Z4SS --> Z1SS DN DB
9.18590537E-09 3 1000022 3 -3 # Z4SS --> Z1SS ST SB
1.04468505E-08 3 1000022 4 -4 # Z4SS --> Z1SS CH CB
1.22467100E-06 3 1000022 5 -5 # Z4SS --> Z1SS BT BB
2.06618338E-07 3 1000022 15 -15 # Z4SS --> Z1SS TAU- TAU+
9.30616295E-09 3 1000023 2 -2 # Z4SS --> Z2SS UP UB
1.08159064E-08 3 1000023 1 -1 # Z4SS --> Z2SS DN DB
1.08159064E-08 3 1000023 3 -3 # Z4SS --> Z2SS ST SB
9.30615407E-09 3 1000023 4 -4 # Z4SS --> Z2SS CH CB
1.29187910E-07 3 1000023 5 -5 # Z4SS --> Z2SS BT BB
1.83275510E-08 3 1000023 15 -15 # Z4SS --> Z2SS TAU- TAU+
3.01180911E-08 3 1000025 2 -2 # Z4SS --> Z3SS UP UB
3.88406534E-08 3 1000025 1 -1 # Z4SS --> Z3SS DN DB
3.88406534E-08 3 1000025 3 -3 # Z4SS --> Z3SS ST SB
3.01180911E-08 3 1000025 4 -4 # Z4SS --> Z3SS CH CB
1.13218155E-08 3 1000025 5 -5 # Z4SS --> Z3SS BT BB
8.81057716E-09 3 1000025 11 -11 # Z4SS --> Z3SS E- E+
8.81057716E-09 3 1000025 13 -13 # Z4SS --> Z3SS MU- MU+
7.44355377E-09 3 1000025 15 -15 # Z4SS --> Z3SS TAU- TAU+
1.75302777E-08 3 1000025 12 -12 # Z4SS --> Z3SS NUE ANUE
1.75302777E-08 3 1000025 14 -14 # Z4SS --> Z3SS NUM ANUM
1.75302777E-08 3 1000025 16 -16 # Z4SS --> Z3SS NUT ANUT
1.10988349E-01 2 1000022 25 # Z4SS --> Z1SS HL0
2.25041777E-01 2 1000023 25 # Z4SS --> Z2SS HL0
5.30341640E-04 2 1000011 -11 # Z4SS --> EL- E+
5.30341640E-04 2 -1000011 11 # Z4SS --> EL+ E-
5.30340825E-04 2 1000013 -13 # Z4SS --> MUL- MU+
5.30340825E-04 2 -1000013 13 # Z4SS --> MUL+ MU-
1.44414615E-03 2 2000011 -11 # Z4SS --> ER- E+
1.44414615E-03 2 -2000011 11 # Z4SS --> ER+ E-
1.44414615E-03 2 2000013 -13 # Z4SS --> MUR- MU+
1.44414615E-03 2 -2000013 13 # Z4SS --> MUR+ MU-
1.43908560E-02 2 1000015 -15 # Z4SS --> TAU1- TAU+
1.43908560E-02 2 -1000015 15 # Z4SS --> TAU1+ TAU-
1.18654128E-03 2 2000015 -15 # Z4SS --> TAU2- TAU+
1.18654128E-03 2 -2000015 15 # Z4SS --> TAU2+ TAU-
1.17927114E-03 2 1000012 -12 # Z4SS --> NUEL ANUE
1.17927114E-03 2 -1000012 12 # Z4SS --> ANUEL NUE
1.17927114E-03 2 1000014 -14 # Z4SS --> NUML ANUM
1.17927114E-03 2 -1000014 14 # Z4SS --> ANUML NUM
1.31532981E-03 2 1000016 -16 # Z4SS --> NUTL ANUT
1.31532981E-03 2 -1000016 16 # Z4SS --> ANUTL NUT
4.49997000E-16 2 1000039 22 # Z4SS --> GVSS GM
1.06090066E-17 3 1000039 11 -11 # Z4SS --> GVSS E- E+
2.70031291E-14 2 1000039 23 # Z4SS --> GVSS Z0
1.57663325E-14 2 1000039 25 # Z4SS --> GVSS HL0
# PDG Width
DECAY 1000024 3.99731398E-02 # W1SS+ decays
# BR NDA ID1 ID2 ID3 ID4
1.08873951E-06 3 1000022 2 -1 # W1SS+ --> Z1SS UP DB
1.08873905E-06 3 1000022 4 -3 # W1SS+ --> Z1SS CH SB
6.38210797E-04 3 1000022 -11 12 # W1SS+ --> Z1SS E+ NUE
6.38210797E-04 3 1000022 -13 14 # W1SS+ --> Z1SS MU+ NUM
6.58287550E-04 3 1000022 -15 16 # W1SS+ --> Z1SS TAU+ NUT
7.16747820E-01 2 1000022 24 # W1SS+ --> Z1SS W+
5.37192415E-13 3 1000023 -11 12 # W1SS+ --> Z2SS E+ NUE
5.37192415E-13 3 1000023 -13 14 # W1SS+ --> Z2SS MU+ NUM
2.81315386E-01 2 -1000015 16 # W1SS+ --> TAU1+ NUT
# PDG Width
DECAY 1000037 3.19218683E+00 # W2SS+ decays
# BR NDA ID1 ID2 ID3 ID4
1.60169780E-08 3 1000022 2 -1 # W2SS+ --> Z1SS UP DB
1.60169709E-08 3 1000022 4 -3 # W2SS+ --> Z1SS CH SB
2.11274482E-07 3 1000022 -15 16 # W2SS+ --> Z1SS TAU+ NUT
1.28629684E-01 2 1000022 24 # W2SS+ --> Z1SS W+
7.72390685E-09 3 1000023 2 -1 # W2SS+ --> Z2SS UP DB
7.72390507E-09 3 1000023 4 -3 # W2SS+ --> Z2SS CH SB
3.28424115E-08 3 1000023 -15 16 # W2SS+ --> Z2SS TAU+ NUT
2.85681278E-01 2 1000023 24 # W2SS+ --> Z2SS W+
1.21280181E-07 3 1000025 2 -1 # W2SS+ --> Z3SS UP DB
1.21280181E-07 3 1000025 4 -3 # W2SS+ --> Z3SS CH SB
4.04263325E-08 3 1000025 -11 12 # W2SS+ --> Z3SS E+ NUE
4.04263325E-08 3 1000025 -13 14 # W2SS+ --> Z3SS MU+ NUM
4.04263361E-08 3 1000025 -15 16 # W2SS+ --> Z3SS TAU+ NUT
1.45298115E-03 2 1000012 -11 # W2SS+ --> NUEL E+
1.45297952E-03 2 1000014 -13 # W2SS+ --> NUML MU+
3.19128926E-03 2 1000016 -15 # W2SS+ --> NUTL TAU+
1.93177443E-03 2 -1000011 12 # W2SS+ --> EL+ NUE
1.93177443E-03 2 -1000013 14 # W2SS+ --> MUL+ NUM
2.91353315E-02 2 -1000015 16 # W2SS+ --> TAU1+ NUT
2.30389484E-03 2 -2000015 16 # W2SS+ --> TAU2+ NUT
2.79571980E-01 2 1000024 23 # W2SS+ --> W1SS+ Z0
1.08339462E-08 3 1000024 1 -1 # W2SS+ --> W1SS+ DN DB
1.08339346E-08 3 1000024 3 -3 # W2SS+ --> W1SS+ ST SB
1.80211313E-08 3 1000024 2 -2 # W2SS+ --> W1SS+ UP UB
1.80211313E-08 3 1000024 4 -4 # W2SS+ --> W1SS+ CH CB
2.64716387E-01 2 1000024 25 # W2SS+ --> W1SS+ HL0
# PDG Width
DECAY 25 3.14017083E-03 # HL0 decays
# BR NDA ID1 ID2 ID3 ID4
6.59355415E-09 2 11 -11 # HL0 --> E- E+
2.78390391E-04 2 13 -13 # HL0 --> MU- MU+
7.96250999E-02 2 15 -15 # HL0 --> TAU- TAU+
8.27358690E-06 2 1 -1 # HL0 --> DN DB
3.34294373E-03 2 3 -3 # HL0 --> ST SB
7.15708613E-01 2 5 -5 # HL0 --> BT BB
2.53908001E-06 2 2 -2 # HL0 --> UP UB
4.76793051E-02 2 4 -4 # HL0 --> CH CB
2.52863858E-03 2 22 22 # HL0 --> GM GM
5.34284301E-02 2 21 21 # HL0 --> GL GL
5.00069093E-03 3 24 11 -12 # HL0 --> W+ E- ANUE
5.00069093E-03 3 24 13 -14 # HL0 --> W+ MU- ANUM
5.00069093E-03 3 24 15 -16 # HL0 --> W+ TAU- ANUT
1.50020737E-02 3 24 -2 1 # HL0 --> W+ UB DN
1.50020737E-02 3 24 -4 3 # HL0 --> W+ CB ST
5.00069093E-03 3 -24 -11 12 # HL0 --> W- E+ NUE
5.00069093E-03 3 -24 -13 14 # HL0 --> W- MU+ NUM
5.00069093E-03 3 -24 -15 16 # HL0 --> W- TAU+ NUT
1.50020737E-02 3 -24 2 -1 # HL0 --> W- UP DB
1.50020737E-02 3 -24 4 -3 # HL0 --> W- CH SB
5.05073462E-04 3 23 12 -12 # HL0 --> Z0 NUE ANUE
5.05073462E-04 3 23 14 -14 # HL0 --> Z0 NUM ANUM
5.05073462E-04 3 23 16 -16 # HL0 --> Z0 NUT ANUT
2.54198414E-04 3 23 11 -11 # HL0 --> Z0 E- E+
2.54198414E-04 3 23 13 -13 # HL0 --> Z0 MU- MU+
2.54198414E-04 3 23 15 -15 # HL0 --> Z0 TAU- TAU+
8.70862161E-04 3 23 2 -2 # HL0 --> Z0 UP UB
8.70862161E-04 3 23 4 -4 # HL0 --> Z0 CH CB
1.12188503E-03 3 23 1 -1 # HL0 --> Z0 DN DB
1.12188503E-03 3 23 3 -3 # HL0 --> Z0 ST SB
1.12188503E-03 3 23 5 -5 # HL0 --> Z0 BT BB
# PDG Width
DECAY 35 3.58167863E+00 # HH0 decays
# BR NDA ID1 ID2 ID3 ID4
1.07872076E-08 2 11 -11 # HH0 --> E- E+
4.55455360E-04 2 13 -13 # HH0 --> MU- MU+
1.30446985E-01 2 15 -15 # HH0 --> TAU- TAU+
1.32139103E-05 2 1 -1 # HH0 --> DN DB
5.33908838E-03 2 3 -3 # HH0 --> ST SB
7.97870457E-01 2 5 -5 # HH0 --> BT BB
8.70755620E-11 2 2 -2 # HH0 --> UP UB
1.22571839E-06 2 4 -4 # HH0 --> CH CB
5.63391373E-02 2 6 -6 # HH0 --> TP TB
2.16847027E-07 2 22 22 # HH0 --> GM GM
2.91987399E-05 2 21 21 # HH0 --> GL GL
1.76783476E-04 2 24 -24 # HH0 --> W+ W-
8.97635182E-05 2 23 23 # HH0 --> Z0 Z0
1.87586993E-03 2 1000022 1000022 # HH0 --> Z1SS Z1SS
6.70346431E-03 2 1000022 1000023 # HH0 --> Z1SS Z2SS
6.10868097E-04 2 25 25 # HH0 --> HL0 HL0
1.79576709E-05 2 2000011 -2000011 # HH0 --> ER- ER+
1.79350172E-05 2 2000013 -2000013 # HH0 --> MUR- MUR+
1.23920390E-05 2 1000015 -1000015 # HH0 --> TAU1- TAU1+
# PDG Width
DECAY 36 3.62998915E+00 # HA0 decays
# BR NDA ID1 ID2 ID3 ID4
1.05751958E-08 2 11 -11 # HA0 --> E- E+
4.46503807E-04 2 13 -13 # HA0 --> MU- MU+
1.27884746E-01 2 15 -15 # HA0 --> TAU- TAU+
1.29549153E-05 2 1 -1 # HA0 --> DN DB
5.23444172E-03 2 3 -3 # HA0 --> ST SB
7.82266855E-01 2 5 -5 # HA0 --> BT BB
8.18797460E-11 2 2 -2 # HA0 --> UP UB
1.15348530E-06 2 4 -4 # HA0 --> CH CB
5.88839948E-02 2 6 -6 # HA0 --> TP TB
6.40334463E-07 2 22 22 # HA0 --> GM GM
8.55969120E-05 2 21 21 # HA0 --> GL GL
3.01625533E-03 2 1000022 1000022 # HA0 --> Z1SS Z1SS
2.19985284E-02 2 1000022 1000023 # HA0 --> Z1SS Z2SS
1.68323386E-04 2 25 23 # HA0 --> HL0 Z0
# PDG Width
DECAY 37 3.26158667E+00 # H+ decays
# BR NDA ID1 ID2 ID3 ID4
1.18849890E-08 2 12 -11 # H+ --> NUE E+
5.01805684E-04 2 14 -13 # H+ --> NUM MU+
1.43723965E-01 2 16 -15 # H+ --> NUT TAU+
1.33829353E-05 2 2 -1 # H+ --> UP DB
5.40851988E-03 2 4 -3 # H+ --> CH SB
8.19453299E-01 2 6 -5 # H+ --> TP BB
3.07072420E-02 2 1000024 1000022 # H+ --> W1SS+ Z1SS
1.91713276E-04 2 25 24 # H+ --> HL0 W+
'''
import FWCore.ParameterSet.Config as cms
from Configuration.Generator.Pythia8CommonSettings_cfi import *
from Configuration.Generator.MCTunes2017.PythiaCP5Settings_cfi import *
from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import *
generator = cms.EDFilter("Pythia8GeneratorFilter",
comEnergy = cms.double(13000.0),
pythiaHepMCVerbosity = cms.untracked.bool(False),
pythiaPylistVerbosity = cms.untracked.int32(1),
filterEfficiency = cms.untracked.double(1.0),
SLHATableForPythia8 = cms.string('%s' % SLHA_TABLE),
PythiaParameters = cms.PSet(
pythia8CommonSettingsBlock,
pythia8CP5SettingsBlock,
pythia8PSweightsSettingsBlock,
processParameters = cms.vstring(
'ParticleDecays:limitTau0 = off',
'ParticleDecays:tau0Max = 10000000',
'SUSY:all on',
),
parameterSets = cms.vstring('pythia8CommonSettings',
'pythia8CP5Settings',
'pythia8PSweightsSettings',
'processParameters')
)
)
ProductionFilterSequence = cms.Sequence(generator)
| 83.015737
| 111
| 0.324274
| 5,512
| 58,028
| 3.402213
| 0.144594
| 0.012478
| 0.022876
| 0.024636
| 0.263425
| 0.160348
| 0.156615
| 0.134165
| 0.100891
| 0.056258
| 0
| 0.505103
| 0.608258
| 58,028
| 698
| 112
| 83.13467
| 0.319857
| 0
| 0
| 0.098408
| 0
| 0
| 0.980371
| 0.001947
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.005789
| 0
| 0.005789
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
16219e674685d26849804e805261082e251db632
| 266
|
py
|
Python
|
chatterbot/ext/django_chatterbot/admin.py
|
gugux289/chatterbot
|
0c4e38877a8a43458ac925444bb11d08aa5976fe
|
[
"BSD-3-Clause"
] | 13,200
|
2015-01-04T07:35:03.000Z
|
2022-03-31T15:06:07.000Z
|
chatterbot/ext/django_chatterbot/admin.py
|
gugux289/chatterbot
|
0c4e38877a8a43458ac925444bb11d08aa5976fe
|
[
"BSD-3-Clause"
] | 1,782
|
2015-01-01T12:12:05.000Z
|
2022-03-29T10:21:46.000Z
|
chatterbot/ext/django_chatterbot/admin.py
|
gugux289/chatterbot
|
0c4e38877a8a43458ac925444bb11d08aa5976fe
|
[
"BSD-3-Clause"
] | 4,886
|
2015-01-03T12:59:25.000Z
|
2022-03-30T08:21:03.000Z
|
from django.contrib import admin
from chatterbot.ext.django_chatterbot.model_admin import StatementAdmin, TagAdmin
from chatterbot.ext.django_chatterbot.models import Statement, Tag
admin.site.register(Statement, StatementAdmin)
admin.site.register(Tag, TagAdmin)
| 33.25
| 81
| 0.853383
| 34
| 266
| 6.588235
| 0.441176
| 0.125
| 0.151786
| 0.205357
| 0.294643
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.075188
| 266
| 7
| 82
| 38
| 0.910569
| 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
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
1623dec85c35b14b7f7eda2b0219b5083464f98a
| 137
|
py
|
Python
|
tnmlearn/preprocessing/__init__.py
|
t2wain/machine-learning
|
4b5e1a24fab7c4ab42f646f7785191ff3d3283ba
|
[
"MIT"
] | null | null | null |
tnmlearn/preprocessing/__init__.py
|
t2wain/machine-learning
|
4b5e1a24fab7c4ab42f646f7785191ff3d3283ba
|
[
"MIT"
] | null | null | null |
tnmlearn/preprocessing/__init__.py
|
t2wain/machine-learning
|
4b5e1a24fab7c4ab42f646f7785191ff3d3283ba
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
from .simplepreprocessor import *
from .imagetoarraypreprocessor import *
from .aspectawarepreprocessor import *
| 27.4
| 39
| 0.766423
| 12
| 137
| 8.75
| 0.666667
| 0.190476
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.008333
| 0.124088
| 137
| 5
| 40
| 27.4
| 0.866667
| 0.153285
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
162b557ccd72a414b1a989d2c9568f29036a73b6
| 697
|
py
|
Python
|
samples/__init__.py
|
zoho/zohocrm-python-sdk-2.1
|
cde6fcd1c5c8f7a572154ebb2b947ec697c24209
|
[
"Apache-2.0"
] | null | null | null |
samples/__init__.py
|
zoho/zohocrm-python-sdk-2.1
|
cde6fcd1c5c8f7a572154ebb2b947ec697c24209
|
[
"Apache-2.0"
] | null | null | null |
samples/__init__.py
|
zoho/zohocrm-python-sdk-2.1
|
cde6fcd1c5c8f7a572154ebb2b947ec697c24209
|
[
"Apache-2.0"
] | null | null | null |
from . import attachments
from . import initializer
from . import blue_print
from . import bulk_read
from . import bulk_write
from . import contact_roles
from . import currencies
from . import custom_views
from . import fields
from . import file
from . import layouts
from . import modules
from . import notes
from . import notification
from . import organization
from . import profiles
from . import query
from . import records
from . import related_lists
from . import related_records
from . import roles
from . import share_records
from . import tags
from . import taxes
from . import territories
from . import threading
from . import users
from . import variable_groups
from . import variables
| 24.034483
| 29
| 0.7934
| 96
| 697
| 5.666667
| 0.364583
| 0.533088
| 0.09375
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.164993
| 697
| 29
| 30
| 24.034483
| 0.934708
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0.034483
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
162d64a6d290a5fe56f6492044cde87e36da2add
| 51
|
py
|
Python
|
number_grid.py
|
elsantodel90/cses-problemset
|
15550a4533ee0476e763c670134f768c85a87a4f
|
[
"Unlicense"
] | null | null | null |
number_grid.py
|
elsantodel90/cses-problemset
|
15550a4533ee0476e763c670134f768c85a87a4f
|
[
"Unlicense"
] | null | null | null |
number_grid.py
|
elsantodel90/cses-problemset
|
15550a4533ee0476e763c670134f768c85a87a4f
|
[
"Unlicense"
] | 1
|
2021-05-14T15:28:31.000Z
|
2021-05-14T15:28:31.000Z
|
y,x = map(int, input().split())
print((x-1)^(y-1))
| 17
| 31
| 0.529412
| 11
| 51
| 2.454545
| 0.727273
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.043478
| 0.098039
| 51
| 2
| 32
| 25.5
| 0.543478
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 0.5
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
1636a73a9aad27ff6544d679b848d6342caa378c
| 191
|
py
|
Python
|
inventory/serializers.py
|
hackerspace-ntnu/website
|
0c296cb39759778aaf0c296027345a658414b397
|
[
"MIT"
] | 25
|
2016-04-13T20:25:37.000Z
|
2021-11-26T14:41:00.000Z
|
inventory/serializers.py
|
hackerspace-ntnu/website
|
0c296cb39759778aaf0c296027345a658414b397
|
[
"MIT"
] | 358
|
2016-02-20T21:13:27.000Z
|
2022-03-31T20:06:03.000Z
|
inventory/serializers.py
|
hackerspace-ntnu/website
|
0c296cb39759778aaf0c296027345a658414b397
|
[
"MIT"
] | 7
|
2016-04-18T14:03:15.000Z
|
2022-02-04T14:19:47.000Z
|
from rest_framework import serializers
from .models import Item
class ItemSerializer(serializers.ModelSerializer):
class Meta:
model = Item
fields = "__all__"
| 19.1
| 51
| 0.685864
| 19
| 191
| 6.631579
| 0.736842
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.26178
| 191
| 9
| 52
| 21.222222
| 0.893617
| 0
| 0
| 0
| 0
| 0
| 0.038462
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 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
| 4
|
163f6dfb225a758c600628f2b0a268de993ffe4a
| 121
|
py
|
Python
|
python/testData/dotNet/whole_namespace.py
|
jnthn/intellij-community
|
8fa7c8a3ace62400c838e0d5926a7be106aa8557
|
[
"Apache-2.0"
] | 2
|
2019-04-28T07:48:50.000Z
|
2020-12-11T14:18:08.000Z
|
python/testData/dotNet/whole_namespace.py
|
Cyril-lamirand/intellij-community
|
60ab6c61b82fc761dd68363eca7d9d69663cfa39
|
[
"Apache-2.0"
] | 173
|
2018-07-05T13:59:39.000Z
|
2018-08-09T01:12:03.000Z
|
python/testData/dotNet/whole_namespace.py
|
Cyril-lamirand/intellij-community
|
60ab6c61b82fc761dd68363eca7d9d69663cfa39
|
[
"Apache-2.0"
] | 2
|
2020-03-15T08:57:37.000Z
|
2020-04-07T04:48:14.000Z
|
import clr
clr.AddReferenceByPartialName("SingleNameSpace")
import <caret>SingleNameSpace
print SingleNameSpace.MyClass
| 20.166667
| 48
| 0.867769
| 11
| 121
| 9.545455
| 0.636364
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.066116
| 121
| 6
| 49
| 20.166667
| 0.929204
| 0
| 0
| 0
| 0
| 0
| 0.122951
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.5
| null | null | 0.25
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
165d38741c8110e4702e57f3725ada13e4476705
| 168
|
py
|
Python
|
ca_on_cambridge/people.py
|
djac/scrapers-ca
|
2e16a85ff8a05ea49031a11ede66fa452631f8da
|
[
"MIT"
] | null | null | null |
ca_on_cambridge/people.py
|
djac/scrapers-ca
|
2e16a85ff8a05ea49031a11ede66fa452631f8da
|
[
"MIT"
] | null | null | null |
ca_on_cambridge/people.py
|
djac/scrapers-ca
|
2e16a85ff8a05ea49031a11ede66fa452631f8da
|
[
"MIT"
] | null | null | null |
from utils import CSVScraper
class CambridgePersonScraper(CSVScraper):
csv_url = 'https://maps.cambridge.ca/Images/OpenData/SharedDocuments/ElectedOfficials.csv'
| 28
| 94
| 0.815476
| 18
| 168
| 7.555556
| 0.888889
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.089286
| 168
| 5
| 95
| 33.6
| 0.888889
| 0
| 0
| 0
| 0
| 0
| 0.464286
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
16619216b4d07cb8f1283934775421417b7db18e
| 164
|
py
|
Python
|
test.py
|
ricardoGrando/gym_hydrone
|
6aeb3dd78989f0ffd4931105e9825d7021088ea4
|
[
"MIT"
] | null | null | null |
test.py
|
ricardoGrando/gym_hydrone
|
6aeb3dd78989f0ffd4931105e9825d7021088ea4
|
[
"MIT"
] | null | null | null |
test.py
|
ricardoGrando/gym_hydrone
|
6aeb3dd78989f0ffd4931105e9825d7021088ea4
|
[
"MIT"
] | null | null | null |
import gym
import gym_hydrone
import rospy
import os
env = gym.make('hydrone_Circuit_Simple-v0', env_stage=1, observation_mode=0, continuous=True, goal_list=None)
| 23.428571
| 109
| 0.810976
| 27
| 164
| 4.703704
| 0.740741
| 0.141732
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.02027
| 0.097561
| 164
| 6
| 110
| 27.333333
| 0.837838
| 0
| 0
| 0
| 0
| 0
| 0.152439
| 0.152439
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.8
| 0
| 0.8
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
1676fae2fdde77fdde6a4a604aee934195077c23
| 1,866
|
py
|
Python
|
drv/dists.py
|
pelegm/drv
|
acf08c5653996016b4189572d57d8aba7699ab35
|
[
"Unlicense"
] | 1
|
2020-04-05T21:45:06.000Z
|
2020-04-05T21:45:06.000Z
|
drv/dists.py
|
pelegm/drv
|
acf08c5653996016b4189572d57d8aba7699ab35
|
[
"Unlicense"
] | null | null | null |
drv/dists.py
|
pelegm/drv
|
acf08c5653996016b4189572d57d8aba7699ab35
|
[
"Unlicense"
] | null | null | null |
"""
.. dists.py
Standard discrete probability distributions.
"""
## Framework
import scipy.stats as ss
## The following explains the hierarchy of discrete probability distributions
## in general.
## - "discrete" may be "finite"
## - "discrete" may be either "integer-valued" (or simply "integer")
## - "integer" may be "non-negative"; relevant only for infinite rvs
##
## So we may mark and DRV as one of the following initials:
## - DRV - the most general discrete random variable
## - IDRV - integer-valued discrete random variable
## - NIDRV - non-negative integer-valued discrete random variable
## - FIDRV - finite integer-valued discrete random variable
##
## I am not entirely sure we need the non-negative variation.
## TODO: add the following distributions
## - Bernoulli :: FIDRV :: bernoulli
## - beta-binomial :: FIDRV :: ?
## - beta negative binomial :: NIDRV :: ?
## - binomial :: FIDRV :: binom
## - Boltzmann :: ? :: ?
## (also: Gibbs)
## - Borel :: NIDRV :: ?
## - Conway-Maxwell-Poisson :: NIDRV :: ?
## (also: CMP, COM-Poisson)
## - degenerate :: FIDRV :: ?
## (also: deterministic)
## - displaced Poisson :: ? :: ?
## (also: hyper-Poisson)
## - extended negative binomial :: ? :: ?
## - Fisher's noncentral hypergeometric :: FIDRV :: ?
## - geometric :: NIDRV :: geom
## - hypergeometric :: FIDRV :: hypergeom
## - logarithmic :: NIDRV :: ?
## (also: logarithmic series, log-series)
## - negative binomial :: NIDRV :: nbinom
## - parabolic fractal :: ? :: ?
## - Poisson :: NIDRV :: poisson
## - Poisson binomial :: FIDRV :: ?
## - Rademacher :: FIDRV :: ?
## - Skellam :: IDRV :: ?
## - uniform :: FIDRV :: randint
## - Wallenius' noncentral hypergeometric :: FIDRV :: ?
## - Yule-Simon :: NIDRV :: ?
## - zero-truncated Poisson :: ? :: ?
## (also: ZTP)
## - zeta :: NIDRV :: ?
## More:
## - Zipf's
## - Benford's
| 30.096774
| 77
| 0.62433
| 196
| 1,866
| 5.943878
| 0.515306
| 0.044635
| 0.075536
| 0.069528
| 0.090129
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.198285
| 1,866
| 61
| 78
| 30.590164
| 0.778743
| 0.900322
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.016393
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
16925420f5115767928d5b29b3ffc01206483973
| 1,478
|
py
|
Python
|
Semana 1/increment/test_pytest_increment.py
|
juandausa/CompetitiveProgrammingCoreSkills
|
1ef0d902b6c05afba4b44c34ade87c376187fd1d
|
[
"MIT"
] | null | null | null |
Semana 1/increment/test_pytest_increment.py
|
juandausa/CompetitiveProgrammingCoreSkills
|
1ef0d902b6c05afba4b44c34ade87c376187fd1d
|
[
"MIT"
] | null | null | null |
Semana 1/increment/test_pytest_increment.py
|
juandausa/CompetitiveProgrammingCoreSkills
|
1ef0d902b6c05afba4b44c34ade87c376187fd1d
|
[
"MIT"
] | null | null | null |
from increment import countDecimalPlaces
from random import randrange, shuffle
def test_stamente_one():
assert countDecimalPlaces(1) == 1
def test_stamente_two():
assert countDecimalPlaces(9) == 2
def test_4_decimals():
assert countDecimalPlaces(1000) == 4
def test_5_decimals():
assert countDecimalPlaces(10000) == 5
def test_6_decimals():
assert countDecimalPlaces(10000) == 5
def test_11_decimals():
assert countDecimalPlaces(createNumber(10)) == 11
def test_1001_decimals():
assert countDecimalPlaces(createNumber(1000)) == 1001
def test_100001_decimals():
assert countDecimalPlaces(createNumber(100000)) == 100001
def test_200001_decimals():
assert countDecimalPlaces(createNumber(200000)) == 200001
def test_createNumber():
assert createNumber(10) == 10000000000
assert createNumber(20) == 100000000000000000000
assert createNumber(100) == 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
def createNumber(to):
if ((to % 10) != 0):
raise Exception('Bad input')
value = '1'
if ((to % 100) == 0):
for _i in range(int(to/100)):
value += '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
return int(value)
for _i in range(int(to/10)):
value += '0000000000'
return int(value)
| 28.423077
| 134
| 0.697564
| 141
| 1,478
| 7.163121
| 0.361702
| 0.069307
| 0.221782
| 0.174257
| 0.120792
| 0.120792
| 0.089109
| 0
| 0
| 0
| 0
| 0.291952
| 0.209743
| 1,478
| 52
| 135
| 28.423077
| 0.572774
| 0
| 0
| 0.114286
| 0
| 0
| 0.084034
| 0.070028
| 0
| 0
| 0
| 0
| 0.342857
| 1
| 0.314286
| false
| 0
| 0.057143
| 0
| 0.428571
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
1699a62a949798c90809c72b9e340e06d7029a53
| 3,119
|
py
|
Python
|
airbyte-cdk/python/unit_tests/sources/declarative/requesters/request_params/test_interpolated_request_parameter_provider.py
|
onaio/airbyte
|
38302e82a25f1b66742c3febfbff0668556920f2
|
[
"MIT"
] | 22
|
2020-08-27T00:47:20.000Z
|
2020-09-17T15:39:39.000Z
|
airbyte-cdk/python/unit_tests/sources/declarative/requesters/request_params/test_interpolated_request_parameter_provider.py
|
onaio/airbyte
|
38302e82a25f1b66742c3febfbff0668556920f2
|
[
"MIT"
] | 116
|
2020-08-27T01:11:27.000Z
|
2020-09-19T02:47:52.000Z
|
airbyte-cdk/python/unit_tests/sources/declarative/requesters/request_params/test_interpolated_request_parameter_provider.py
|
onaio/airbyte
|
38302e82a25f1b66742c3febfbff0668556920f2
|
[
"MIT"
] | 1
|
2020-09-15T06:10:01.000Z
|
2020-09-15T06:10:01.000Z
|
#
# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
#
from airbyte_cdk.sources.declarative.requesters.request_params.interpolated_request_parameter_provider import (
InterpolatedRequestParameterProvider,
)
state = {"date": "2021-01-01"}
stream_slice = {"start_date": "2020-01-01"}
next_page_token = {"offset": "12345"}
config = {"option": "OPTION"}
def test():
request_parameters = {"a_static_request_param": "a_static_value"}
provider = InterpolatedRequestParameterProvider(request_parameters=request_parameters, config=config)
request_params = provider.request_params(state, stream_slice, next_page_token)
assert request_parameters == request_params
def test_value_depends_on_state():
request_parameters = {"a_static_request_param": "{{ stream_state['date'] }}"}
provider = InterpolatedRequestParameterProvider(request_parameters=request_parameters, config=config)
request_params = provider.request_params(state, stream_slice, next_page_token)
assert request_params["a_static_request_param"] == state["date"]
def test_value_depends_on_stream_slice():
request_parameters = {"a_static_request_param": "{{ stream_slice['start_date'] }}"}
provider = InterpolatedRequestParameterProvider(request_parameters=request_parameters, config=config)
request_params = provider.request_params(state, stream_slice, next_page_token)
assert request_params["a_static_request_param"] == stream_slice["start_date"]
def test_value_depends_on_next_page_token():
request_parameters = {"a_static_request_param": "{{ next_page_token['offset'] }}"}
provider = InterpolatedRequestParameterProvider(request_parameters=request_parameters, config=config)
request_params = provider.request_params(state, stream_slice, next_page_token)
assert request_params["a_static_request_param"] == next_page_token["offset"]
def test_value_depends_on_config():
request_parameters = {"a_static_request_param": "{{ config['option'] }}"}
provider = InterpolatedRequestParameterProvider(request_parameters=request_parameters, config=config)
request_params = provider.request_params(state, stream_slice, next_page_token)
assert request_params["a_static_request_param"] == config["option"]
def test_parameter_is_interpolated():
request_parameters = {
"{{ stream_state['date'] }} - {{stream_slice['start_date']}} - {{next_page_token['offset']}} - {{config['option']}}": "ABC"
}
provider = InterpolatedRequestParameterProvider(request_parameters=request_parameters, config=config)
request_params = provider.request_params(state, stream_slice, next_page_token)
assert request_params[f"{state['date']} - {stream_slice['start_date']} - {next_page_token['offset']} - {config['option']}"] == "ABC"
def test_none_value():
request_parameters = {"a_static_request_param": "{{ stream_state['date'] }}"}
provider = InterpolatedRequestParameterProvider(request_parameters=request_parameters, config=config)
request_params = provider.request_params({}, stream_slice, next_page_token)
assert len(request_params) == 0
| 39.481013
| 136
| 0.768195
| 350
| 3,119
| 6.422857
| 0.145714
| 0.127224
| 0.075178
| 0.08452
| 0.808719
| 0.790036
| 0.705961
| 0.698399
| 0.648577
| 0.648577
| 0
| 0.009393
| 0.112536
| 3,119
| 78
| 137
| 39.987179
| 0.802746
| 0.017313
| 0
| 0.340909
| 0
| 0.045455
| 0.219209
| 0.125776
| 0
| 0
| 0
| 0
| 0.159091
| 1
| 0.159091
| false
| 0
| 0.022727
| 0
| 0.181818
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 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
| 4
|
16d3bafac5fc9a2bd7d10946983c9d77070356c1
| 1,325
|
py
|
Python
|
src/bll/player/audioplayeradapter.py
|
pgecsenyi/piepy
|
37bf6cb5bc8c4f9da3f695216beda7353d79fb29
|
[
"MIT"
] | 1
|
2018-03-26T22:39:36.000Z
|
2018-03-26T22:39:36.000Z
|
src/bll/player/audioplayeradapter.py
|
pgecsenyi/piepy
|
37bf6cb5bc8c4f9da3f695216beda7353d79fb29
|
[
"MIT"
] | null | null | null |
src/bll/player/audioplayeradapter.py
|
pgecsenyi/piepy
|
37bf6cb5bc8c4f9da3f695216beda7353d79fb29
|
[
"MIT"
] | null | null | null |
from bll.player.playeradapter import PlayerAdapter
class AudioPlayerAdapter(PlayerAdapter):
####################################################################################################################
# Constructor.
####################################################################################################################
def __init__(self, audio_dal_retriever, player):
"""
Calls the base class constructor.
Parameters
----------
audio_dal_retriever : AudioDataHandler
A reference to the audio DAL.
player : IPlayerHandler
A reference to the audio and video player.
"""
### Call base class constructor.
super(AudioPlayerAdapter, self).__init__(player)
### Attributes from outside.
self._audio_dal_retriever = audio_dal_retriever
####################################################################################################################
# Protected overrides.
####################################################################################################################
def _get_file_by_id(self, file_id):
return self._audio_dal_retriever.retrieve_path(file_id)
def _get_subtitle_by_id(self, file_id):
return None
| 34.868421
| 120
| 0.415849
| 91
| 1,325
| 5.703297
| 0.43956
| 0.092486
| 0.163776
| 0.121387
| 0.154143
| 0.077071
| 0
| 0
| 0
| 0
| 0
| 0
| 0.186415
| 1,325
| 37
| 121
| 35.810811
| 0.481447
| 0.218113
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.111111
| 0.222222
| 0.777778
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
16d81a3cfb894b122417c5d7d03458fd8377cb08
| 806
|
py
|
Python
|
src/marmo/report/__init__.py
|
SINTEF/simapy
|
650b8c2f15503dad98e2bfc0d0788509593822c7
|
[
"MIT"
] | null | null | null |
src/marmo/report/__init__.py
|
SINTEF/simapy
|
650b8c2f15503dad98e2bfc0d0788509593822c7
|
[
"MIT"
] | null | null | null |
src/marmo/report/__init__.py
|
SINTEF/simapy
|
650b8c2f15503dad98e2bfc0d0788509593822c7
|
[
"MIT"
] | null | null | null |
from .appendix import Appendix # noqa
from .axis import Axis # noqa
from .column import Column # noqa
from .font import Font # noqa
from .image import Image # noqa
from .lineplot import LinePlot # noqa
from .numbercolumn import NumberColumn # noqa
from .paragraph import Paragraph # noqa
from .plotline import PlotLine # noqa
from .report import Report # noqa
from .reportfragment import ReportFragment # noqa
from .reportitem import ReportItem # noqa
from .reportitemcontainer import ReportItemContainer # noqa
from .section import Section # noqa
from .stringcolumn import StringColumn # noqa
from .table import Table # noqa
from .fontstyle import FontStyle # noqa
from .linestyle import LineStyle # noqa
from .plotsize import PlotSize # noqa
from .pointstyle import PointStyle # noqa
| 38.380952
| 60
| 0.776675
| 100
| 806
| 6.26
| 0.23
| 0.242812
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.173697
| 806
| 21
| 61
| 38.380952
| 0.93994
| 0.122829
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
16e93a0558b96d68e83a521c0bc06ce86d386352
| 88
|
py
|
Python
|
sutdents D33102 lixiaobo/sutdent's D33102 lixiaobo lr2/Stupid_monkey/Fat_Ape/apps.py
|
lixiaobo230665/ITMO_ICT_WebProgramming_2020-2021_d3310
|
571ee647c88f92fff0abfb37a9e20d329b20367e
|
[
"MIT"
] | null | null | null |
sutdents D33102 lixiaobo/sutdent's D33102 lixiaobo lr2/Stupid_monkey/Fat_Ape/apps.py
|
lixiaobo230665/ITMO_ICT_WebProgramming_2020-2021_d3310
|
571ee647c88f92fff0abfb37a9e20d329b20367e
|
[
"MIT"
] | null | null | null |
sutdents D33102 lixiaobo/sutdent's D33102 lixiaobo lr2/Stupid_monkey/Fat_Ape/apps.py
|
lixiaobo230665/ITMO_ICT_WebProgramming_2020-2021_d3310
|
571ee647c88f92fff0abfb37a9e20d329b20367e
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class FatApeConfig(AppConfig):
name = 'Fat_Ape'
| 14.666667
| 33
| 0.75
| 11
| 88
| 5.909091
| 0.909091
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.170455
| 88
| 5
| 34
| 17.6
| 0.890411
| 0
| 0
| 0
| 0
| 0
| 0.079545
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
bc42675010acac2109f8e977f87ac1507d3f0fa3
| 94
|
py
|
Python
|
venv/word.py
|
rt3115/English-To-ASL-Gloss
|
b0e0357d34596312813c9cf2e6f7990cf67e1002
|
[
"MIT"
] | null | null | null |
venv/word.py
|
rt3115/English-To-ASL-Gloss
|
b0e0357d34596312813c9cf2e6f7990cf67e1002
|
[
"MIT"
] | null | null | null |
venv/word.py
|
rt3115/English-To-ASL-Gloss
|
b0e0357d34596312813c9cf2e6f7990cf67e1002
|
[
"MIT"
] | null | null | null |
class word:
def __init__(self, str, type):
self.str = str
self.type = type
| 23.5
| 34
| 0.56383
| 13
| 94
| 3.769231
| 0.538462
| 0.285714
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.329787
| 94
| 4
| 35
| 23.5
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
bc513ba26a136039424215fa14a6c51a2a75e26e
| 172
|
py
|
Python
|
src/pywgkey/config.py
|
polluxtroy3758/pywgkey
|
a18491f080e364cb037be8e19bbdc4106449a971
|
[
"MIT"
] | null | null | null |
src/pywgkey/config.py
|
polluxtroy3758/pywgkey
|
a18491f080e364cb037be8e19bbdc4106449a971
|
[
"MIT"
] | null | null | null |
src/pywgkey/config.py
|
polluxtroy3758/pywgkey
|
a18491f080e364cb037be8e19bbdc4106449a971
|
[
"MIT"
] | null | null | null |
"""Global configuration for the module"""
from string import ascii_letters, digits
MAX_LENGTH = 5
BASE64_ALPHABET = list(ascii_letters) + list(digits) + ["/", "+"]
| 24.571429
| 66
| 0.69186
| 21
| 172
| 5.47619
| 0.809524
| 0.208696
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.020979
| 0.168605
| 172
| 6
| 67
| 28.666667
| 0.783217
| 0.203488
| 0
| 0
| 0
| 0
| 0.016
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
bc6ff8a69972fece132447aa41695be01e5b36dd
| 172
|
py
|
Python
|
test/example_project/main_package/job.py
|
Tismas/bigflow
|
6a4a14616d66beeaf45700ea340c97d797a1f9e5
|
[
"Apache-2.0"
] | null | null | null |
test/example_project/main_package/job.py
|
Tismas/bigflow
|
6a4a14616d66beeaf45700ea340c97d797a1f9e5
|
[
"Apache-2.0"
] | null | null | null |
test/example_project/main_package/job.py
|
Tismas/bigflow
|
6a4a14616d66beeaf45700ea340c97d797a1f9e5
|
[
"Apache-2.0"
] | null | null | null |
class ExampleJob:
def __init__(self, id):
self.id = id
self.retry_count = 10
self.retry_pause_sec = 10
def run(self, runtime):
pass
| 21.5
| 33
| 0.575581
| 23
| 172
| 4
| 0.608696
| 0.130435
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.035088
| 0.337209
| 172
| 8
| 34
| 21.5
| 0.77193
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.285714
| false
| 0.142857
| 0
| 0
| 0.428571
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
bc885655d9eccdbe5f45dbabfe5009f7ed6e6314
| 438
|
py
|
Python
|
ACME/render/__init__.py
|
mauriziokovacic/ACME
|
2615b66dd4addfd5c03d9d91a24c7da414294308
|
[
"MIT"
] | 3
|
2019-10-23T23:10:55.000Z
|
2021-09-01T07:30:14.000Z
|
ACME/render/__init__.py
|
mauriziokovacic/ACME-Python
|
2615b66dd4addfd5c03d9d91a24c7da414294308
|
[
"MIT"
] | null | null | null |
ACME/render/__init__.py
|
mauriziokovacic/ACME-Python
|
2615b66dd4addfd5c03d9d91a24c7da414294308
|
[
"MIT"
] | 1
|
2020-07-11T11:35:43.000Z
|
2020-07-11T11:35:43.000Z
|
from .camera import *
from .cameras import *
from .camera_intrinsics import *
from .camera_extrinsics import *
from .color2nr import *
from .mesh2img import *
from .mesh2mvs import *
from .mvs2texture import *
from .nr2img import *
try:
from .renderer import *
except ImportError:
print('neural_renderer failed to be imported.\nAll dependent imports are ignored.')
| 31.285714
| 87
| 0.648402
| 47
| 438
| 5.978723
| 0.553191
| 0.284698
| 0.113879
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.015974
| 0.285388
| 438
| 13
| 88
| 33.692308
| 0.881789
| 0
| 0
| 0
| 0
| 0
| 0.16895
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.923077
| 0
| 0.923077
| 0.076923
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
bcedda2270e1bb5ef388ef704681bd86a6117d48
| 768
|
py
|
Python
|
docs/examples/opentelemetry-example-app/src/opentelemetry_example_app/grpc/gen/__init__.py
|
vmihailenco/opentelemetry-python
|
0a9eba3bb62f4ddf686b55b68286979a5ec84de5
|
[
"Apache-2.0"
] | 2
|
2020-08-13T21:10:48.000Z
|
2020-09-30T00:55:05.000Z
|
docs/examples/opentelemetry-example-app/src/opentelemetry_example_app/grpc/gen/__init__.py
|
vmihailenco/opentelemetry-python
|
0a9eba3bb62f4ddf686b55b68286979a5ec84de5
|
[
"Apache-2.0"
] | 3
|
2019-08-26T13:06:36.000Z
|
2020-02-21T21:44:02.000Z
|
docs/examples/opentelemetry-example-app/src/opentelemetry_example_app/grpc/gen/__init__.py
|
vmihailenco/opentelemetry-python
|
0a9eba3bb62f4ddf686b55b68286979a5ec84de5
|
[
"Apache-2.0"
] | 2
|
2020-06-01T12:38:23.000Z
|
2021-01-07T10:55:47.000Z
|
# Copyright The OpenTelemetry Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import importlib
import sys
# gRPC-generated modules expect other generated modules to be on the path.
sys.path.extend(importlib.util.find_spec(__name__).submodule_search_locations)
| 38.4
| 78
| 0.782552
| 117
| 768
| 5.076923
| 0.683761
| 0.10101
| 0.043771
| 0.053872
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.006154
| 0.153646
| 768
| 19
| 79
| 40.421053
| 0.907692
| 0.820313
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
4c2cad950c79d5693da7f3192379033bca93d976
| 150
|
py
|
Python
|
oauth2_provider/__init__.py
|
vikipha/geonode-oauth-toolkit
|
a36a2e70772d0c4956a40e0fbbc6a31b4f3662d6
|
[
"BSD-2-Clause-FreeBSD"
] | 1
|
2021-05-21T15:56:00.000Z
|
2021-05-21T15:56:00.000Z
|
oauth2_provider/__init__.py
|
vikipha/geonode-oauth-toolkit
|
a36a2e70772d0c4956a40e0fbbc6a31b4f3662d6
|
[
"BSD-2-Clause-FreeBSD"
] | 4
|
2018-06-20T11:33:43.000Z
|
2021-05-28T08:02:21.000Z
|
oauth2_provider/__init__.py
|
vikipha/geonode-oauth-toolkit
|
a36a2e70772d0c4956a40e0fbbc6a31b4f3662d6
|
[
"BSD-2-Clause-FreeBSD"
] | 4
|
2018-06-20T11:14:46.000Z
|
2021-05-21T15:56:02.000Z
|
import pkg_resources
__version__ = pkg_resources.require("geonode-oauth-toolkit")[0].version
default_app_config = "oauth2_provider.apps.DOTConfig"
| 21.428571
| 71
| 0.82
| 19
| 150
| 6
| 0.842105
| 0.210526
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.014388
| 0.073333
| 150
| 6
| 72
| 25
| 0.805755
| 0
| 0
| 0
| 0
| 0
| 0.34
| 0.34
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
4c36a21e78ad04c3f319ce081c0e29c0c925a508
| 1,220
|
py
|
Python
|
test/test_merchants_api.py
|
wjziv/atrium-python
|
ce9b5da18d2a15b73265726960375f0a1f2f0a20
|
[
"MIT"
] | null | null | null |
test/test_merchants_api.py
|
wjziv/atrium-python
|
ce9b5da18d2a15b73265726960375f0a1f2f0a20
|
[
"MIT"
] | null | null | null |
test/test_merchants_api.py
|
wjziv/atrium-python
|
ce9b5da18d2a15b73265726960375f0a1f2f0a20
|
[
"MIT"
] | null | null | null |
# coding: utf-8
"""
MX API
The MX Atrium API supports over 48,000 data connections to thousands of financial institutions. It provides secure access to your users' accounts and transactions with industry-leading cleansing, categorization, and classification. Atrium is designed according to resource-oriented REST architecture and responds with JSON bodies and HTTP response codes. Use Atrium's development environment, vestibule.mx.com, to quickly get up and running. The development environment limits are 100 users, 25 members per user, and access to the top 15 institutions. Contact MX to purchase production access. # noqa: E501
"""
from __future__ import absolute_import
import unittest
import atrium
from atrium.api.merchants import MerchantsApi # noqa: E501
from atrium.rest import ApiException
class TestMerchantsApi(unittest.TestCase):
"""MerchantsApi unit test stubs"""
def setUp(self):
self.api = atrium.api.merchants.MerchantsApi() # noqa: E501
def tearDown(self):
pass
def test_read_merchant(self):
"""Test case for read_merchant
Read merchant # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()
| 32.105263
| 614
| 0.736066
| 160
| 1,220
| 5.5125
| 0.6
| 0.036281
| 0.027211
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.025589
| 0.19918
| 1,220
| 37
| 615
| 32.972973
| 0.877175
| 0.607377
| 0
| 0.142857
| 0
| 0
| 0.018433
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.214286
| false
| 0.142857
| 0.357143
| 0
| 0.642857
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 1
| 0
| 1
| 0
|
0
| 4
|
4c4b0008400209cea700c72c6ea3ece9de89a28a
| 277
|
py
|
Python
|
pollicino/notifications/admin.py
|
inmagik/pollicino
|
b4eed3ed6772b479b129ead3f5e0cd8985c2308d
|
[
"MIT"
] | 2
|
2016-02-13T01:17:18.000Z
|
2019-05-14T12:18:59.000Z
|
pollicino/notifications/admin.py
|
inmagik/pollicino
|
b4eed3ed6772b479b129ead3f5e0cd8985c2308d
|
[
"MIT"
] | 5
|
2016-02-13T11:02:07.000Z
|
2016-02-14T11:37:37.000Z
|
pollicino/notifications/admin.py
|
inmagik/pollicino
|
b4eed3ed6772b479b129ead3f5e0cd8985c2308d
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from .models import PushConfiguration, Installation, NotificationMessage, DeviceFeedBack
admin.site.register(PushConfiguration)
admin.site.register(Installation)
admin.site.register(NotificationMessage)
admin.site.register(DeviceFeedBack)
| 23.083333
| 88
| 0.851986
| 28
| 277
| 8.428571
| 0.428571
| 0.152542
| 0.288136
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.072202
| 277
| 11
| 89
| 25.181818
| 0.918288
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
d5cebe7ce49f583ffe53535067ad5f618d8d8268
| 258
|
py
|
Python
|
codewars/8kyu/dinamuh/ILoveYou/test.py
|
dinamuh/Training_one
|
d18e8fb12608ce1753162c20252ca928c4df97ab
|
[
"MIT"
] | null | null | null |
codewars/8kyu/dinamuh/ILoveYou/test.py
|
dinamuh/Training_one
|
d18e8fb12608ce1753162c20252ca928c4df97ab
|
[
"MIT"
] | 2
|
2019-01-22T10:53:42.000Z
|
2019-01-31T08:02:48.000Z
|
codewars/8kyu/dinamuh/ILoveYou/test.py
|
dinamuh/Training_one
|
d18e8fb12608ce1753162c20252ca928c4df97ab
|
[
"MIT"
] | 13
|
2019-01-22T10:37:42.000Z
|
2019-01-25T13:30:43.000Z
|
from main import how_much_i_love_you
def test_how_much_i_love_you(benchmark):
assert benchmark(how_much_i_love_you, 7) == "I love you"
assert benchmark(how_much_i_love_you, 3) == "a lot"
assert benchmark(how_much_i_love_you, 6) == "not at all"
| 32.25
| 60
| 0.751938
| 48
| 258
| 3.604167
| 0.416667
| 0.17341
| 0.277457
| 0.346821
| 0.693642
| 0.520231
| 0.520231
| 0
| 0
| 0
| 0
| 0.013761
| 0.155039
| 258
| 7
| 61
| 36.857143
| 0.779817
| 0
| 0
| 0
| 0
| 0
| 0.096899
| 0
| 0
| 0
| 0
| 0
| 0.6
| 1
| 0.2
| false
| 0
| 0.2
| 0
| 0.4
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
d5da2e14674f6bc21dc6aa27bacc7394f89466cc
| 105
|
py
|
Python
|
Gravitator/__main__.py
|
Monkvy/Gravitational-Attraction
|
1b4c7d5e90f1c353670263e03ef4e9bf3e941e33
|
[
"MIT"
] | null | null | null |
Gravitator/__main__.py
|
Monkvy/Gravitational-Attraction
|
1b4c7d5e90f1c353670263e03ef4e9bf3e941e33
|
[
"MIT"
] | null | null | null |
Gravitator/__main__.py
|
Monkvy/Gravitational-Attraction
|
1b4c7d5e90f1c353670263e03ef4e9bf3e941e33
|
[
"MIT"
] | null | null | null |
from app import Application
if __name__ == "__main__":
Application("Gravitator", 1536, 864).run()
| 17.5
| 47
| 0.695238
| 12
| 105
| 5.416667
| 0.916667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.08046
| 0.171429
| 105
| 5
| 48
| 21
| 0.666667
| 0
| 0
| 0
| 0
| 0
| 0.171429
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
d5ef073197bcc0054fd3fbd6881fd596e82d20c0
| 75,159
|
py
|
Python
|
tutorial/tuliplib/tulipBin/py/tulipCM.py
|
BijanZarif/berkeleytutorial
|
61d1c352e13e81f31225e1c2a24a97f89dda9ae7
|
[
"MIT"
] | 1
|
2017-06-28T16:27:09.000Z
|
2017-06-28T16:27:09.000Z
|
tutorial/tuliplib/tulipBin/py/tulipCM.py
|
aculich/berkeleytutorial
|
61d1c352e13e81f31225e1c2a24a97f89dda9ae7
|
[
"MIT"
] | null | null | null |
tutorial/tuliplib/tulipBin/py/tulipCM.py
|
aculich/berkeleytutorial
|
61d1c352e13e81f31225e1c2a24a97f89dda9ae7
|
[
"MIT"
] | 1
|
2017-09-09T13:44:21.000Z
|
2017-09-09T13:44:21.000Z
|
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.8
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2, 6, 0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_tulipCM', [dirname(__file__)])
except ImportError:
import _tulipCM
return _tulipCM
if fp is not None:
try:
_mod = imp.load_module('_tulipCM', fp, pathname, description)
finally:
fp.close()
return _mod
_tulipCM = swig_import_helper()
del swig_import_helper
else:
import _tulipCM
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
if (name == "thisown"):
return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name, None)
if method:
return method(self, value)
if (not static):
if _newclass:
object.__setattr__(self, name, value)
else:
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self, class_type, name, value):
return _swig_setattr_nondynamic(self, class_type, name, value, 0)
def _swig_getattr_nondynamic(self, class_type, name, static=1):
if (name == "thisown"):
return self.this.own()
method = class_type.__swig_getmethods__.get(name, None)
if method:
return method(self)
if (not static):
return object.__getattr__(self, name)
else:
raise AttributeError(name)
def _swig_getattr(self, class_type, name):
return _swig_getattr_nondynamic(self, class_type, name, 0)
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
except Exception:
strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object:
pass
_newclass = 0
class SwigPyIterator(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _tulipCM.delete_SwigPyIterator
__del__ = lambda self: None
def value(self):
return _tulipCM.SwigPyIterator_value(self)
def incr(self, n=1):
return _tulipCM.SwigPyIterator_incr(self, n)
def decr(self, n=1):
return _tulipCM.SwigPyIterator_decr(self, n)
def distance(self, x):
return _tulipCM.SwigPyIterator_distance(self, x)
def equal(self, x):
return _tulipCM.SwigPyIterator_equal(self, x)
def copy(self):
return _tulipCM.SwigPyIterator_copy(self)
def next(self):
return _tulipCM.SwigPyIterator_next(self)
def __next__(self):
return _tulipCM.SwigPyIterator___next__(self)
def previous(self):
return _tulipCM.SwigPyIterator_previous(self)
def advance(self, n):
return _tulipCM.SwigPyIterator_advance(self, n)
def __eq__(self, x):
return _tulipCM.SwigPyIterator___eq__(self, x)
def __ne__(self, x):
return _tulipCM.SwigPyIterator___ne__(self, x)
def __iadd__(self, n):
return _tulipCM.SwigPyIterator___iadd__(self, n)
def __isub__(self, n):
return _tulipCM.SwigPyIterator___isub__(self, n)
def __add__(self, n):
return _tulipCM.SwigPyIterator___add__(self, n)
def __sub__(self, *args):
return _tulipCM.SwigPyIterator___sub__(self, *args)
def __iter__(self):
return self
SwigPyIterator_swigregister = _tulipCM.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)
class cmModel(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, cmModel, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, cmModel, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_setmethods__["data"] = _tulipCM.cmModel_data_set
__swig_getmethods__["data"] = _tulipCM.cmModel_data_get
if _newclass:
data = _swig_property(_tulipCM.cmModel_data_get, _tulipCM.cmModel_data_set)
__swig_setmethods__["datasetColumn"] = _tulipCM.cmModel_datasetColumn_set
__swig_getmethods__["datasetColumn"] = _tulipCM.cmModel_datasetColumn_get
if _newclass:
datasetColumn = _swig_property(_tulipCM.cmModel_datasetColumn_get, _tulipCM.cmModel_datasetColumn_set)
__swig_setmethods__["frozenParamIDX"] = _tulipCM.cmModel_frozenParamIDX_set
__swig_getmethods__["frozenParamIDX"] = _tulipCM.cmModel_frozenParamIDX_get
if _newclass:
frozenParamIDX = _swig_property(_tulipCM.cmModel_frozenParamIDX_get, _tulipCM.cmModel_frozenParamIDX_set)
__swig_setmethods__["frozenParamVAL"] = _tulipCM.cmModel_frozenParamVAL_set
__swig_getmethods__["frozenParamVAL"] = _tulipCM.cmModel_frozenParamVAL_get
if _newclass:
frozenParamVAL = _swig_property(_tulipCM.cmModel_frozenParamVAL_get, _tulipCM.cmModel_frozenParamVAL_set)
__swig_destroy__ = _tulipCM.delete_cmModel
__del__ = lambda self: None
def getParameterTotal(self):
return _tulipCM.cmModel_getParameterTotal(self)
def getStateTotal(self):
return _tulipCM.cmModel_getStateTotal(self)
def getResultTotal(self):
return _tulipCM.cmModel_getResultTotal(self)
def getParameterLimits(self, limits):
return _tulipCM.cmModel_getParameterLimits(self, limits)
def getDefaultParams(self, params):
return _tulipCM.cmModel_getDefaultParams(self, params)
def getPriorMapping(self, priorModelType, prPtr):
return _tulipCM.cmModel_getPriorMapping(self, priorModelType, prPtr)
def getParamName(self, parID):
return _tulipCM.cmModel_getParamName(self, parID)
def getResultName(self, resID):
return _tulipCM.cmModel_getResultName(self, resID)
def setData(self, locData, setIDX):
return _tulipCM.cmModel_setData(self, locData, setIDX)
def evalModelError(self, *args):
return _tulipCM.cmModel_evalModelError(self, *args)
def freezeModelParameters(self, localParamIDX, localParamVal):
return _tulipCM.cmModel_freezeModelParameters(self, localParamIDX, localParamVal)
cmModel_swigregister = _tulipCM.cmModel_swigregister
cmModel_swigregister(cmModel)
class cmException(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, cmException, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, cmException, name)
__repr__ = _swig_repr
def __init__(self, m):
this = _tulipCM.new_cmException(m)
try:
self.this.append(this)
except Exception:
self.this = this
__swig_destroy__ = _tulipCM.delete_cmException
__del__ = lambda self: None
def what(self):
return _tulipCM.cmException_what(self)
cmException_swigregister = _tulipCM.cmException_swigregister
cmException_swigregister(cmException)
cvar = _tulipCM.cvar
convertmmHgToBarye = cvar.convertmmHgToBarye
class data(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, data, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, data, name)
__repr__ = _swig_repr
__swig_setmethods__["xVal"] = _tulipCM.data_xVal_set
__swig_getmethods__["xVal"] = _tulipCM.data_xVal_get
if _newclass:
xVal = _swig_property(_tulipCM.data_xVal_get, _tulipCM.data_xVal_set)
__swig_setmethods__["yVal"] = _tulipCM.data_yVal_set
__swig_getmethods__["yVal"] = _tulipCM.data_yVal_get
if _newclass:
yVal = _swig_property(_tulipCM.data_yVal_get, _tulipCM.data_yVal_set)
def __init__(self):
this = _tulipCM.new_data()
try:
self.this.append(this)
except Exception:
self.this = this
__swig_destroy__ = _tulipCM.delete_data
__del__ = lambda self: None
data_swigregister = _tulipCM.data_swigregister
data_swigregister(data)
ipSortDescending = cvar.ipSortDescending
ipSortAscending = cvar.ipSortAscending
class by_number(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, by_number, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, by_number, name)
__repr__ = _swig_repr
def __call__(self, left, right):
return _tulipCM.by_number___call__(self, left, right)
def __init__(self):
this = _tulipCM.new_by_number()
try:
self.this.append(this)
except Exception:
self.this = this
__swig_destroy__ = _tulipCM.delete_by_number
__del__ = lambda self: None
by_number_swigregister = _tulipCM.by_number_swigregister
by_number_swigregister(by_number)
class lpnOptions(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, lpnOptions, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, lpnOptions, name)
__repr__ = _swig_repr
__swig_setmethods__["writeDebugData"] = _tulipCM.lpnOptions_writeDebugData_set
__swig_getmethods__["writeDebugData"] = _tulipCM.lpnOptions_writeDebugData_get
if _newclass:
writeDebugData = _swig_property(_tulipCM.lpnOptions_writeDebugData_get, _tulipCM.lpnOptions_writeDebugData_set)
__swig_setmethods__["flushData"] = _tulipCM.lpnOptions_flushData_set
__swig_getmethods__["flushData"] = _tulipCM.lpnOptions_flushData_get
if _newclass:
flushData = _swig_property(_tulipCM.lpnOptions_flushData_get, _tulipCM.lpnOptions_flushData_set)
__swig_setmethods__["checkLimits"] = _tulipCM.lpnOptions_checkLimits_set
__swig_getmethods__["checkLimits"] = _tulipCM.lpnOptions_checkLimits_get
if _newclass:
checkLimits = _swig_property(_tulipCM.lpnOptions_checkLimits_get, _tulipCM.lpnOptions_checkLimits_set)
__swig_setmethods__["checkSign"] = _tulipCM.lpnOptions_checkSign_set
__swig_getmethods__["checkSign"] = _tulipCM.lpnOptions_checkSign_get
if _newclass:
checkSign = _swig_property(_tulipCM.lpnOptions_checkSign_get, _tulipCM.lpnOptions_checkSign_set)
__swig_setmethods__["useFullConstraints"] = _tulipCM.lpnOptions_useFullConstraints_set
__swig_getmethods__["useFullConstraints"] = _tulipCM.lpnOptions_useFullConstraints_get
if _newclass:
useFullConstraints = _swig_property(_tulipCM.lpnOptions_useFullConstraints_get, _tulipCM.lpnOptions_useFullConstraints_set)
def __init__(self):
this = _tulipCM.new_lpnOptions()
try:
self.this.append(this)
except Exception:
self.this = this
__swig_destroy__ = _tulipCM.delete_lpnOptions
__del__ = lambda self: None
lpnOptions_swigregister = _tulipCM.lpnOptions_swigregister
lpnOptions_swigregister(lpnOptions)
class model3DRecord(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, model3DRecord, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, model3DRecord, name)
__repr__ = _swig_repr
__swig_setmethods__["polyType"] = _tulipCM.model3DRecord_polyType_set
__swig_getmethods__["polyType"] = _tulipCM.model3DRecord_polyType_get
if _newclass:
polyType = _swig_property(_tulipCM.model3DRecord_polyType_get, _tulipCM.model3DRecord_polyType_set)
__swig_setmethods__["polyOrder"] = _tulipCM.model3DRecord_polyOrder_set
__swig_getmethods__["polyOrder"] = _tulipCM.model3DRecord_polyOrder_get
if _newclass:
polyOrder = _swig_property(_tulipCM.model3DRecord_polyOrder_get, _tulipCM.model3DRecord_polyOrder_set)
__swig_setmethods__["totDims"] = _tulipCM.model3DRecord_totDims_set
__swig_getmethods__["totDims"] = _tulipCM.model3DRecord_totDims_get
if _newclass:
totDims = _swig_property(_tulipCM.model3DRecord_totDims_get, _tulipCM.model3DRecord_totDims_set)
__swig_setmethods__["normalizeData"] = _tulipCM.model3DRecord_normalizeData_set
__swig_getmethods__["normalizeData"] = _tulipCM.model3DRecord_normalizeData_get
if _newclass:
normalizeData = _swig_property(_tulipCM.model3DRecord_normalizeData_get, _tulipCM.model3DRecord_normalizeData_set)
__swig_setmethods__["limits"] = _tulipCM.model3DRecord_limits_set
__swig_getmethods__["limits"] = _tulipCM.model3DRecord_limits_get
if _newclass:
limits = _swig_property(_tulipCM.model3DRecord_limits_get, _tulipCM.model3DRecord_limits_set)
__swig_setmethods__["expCoeffs"] = _tulipCM.model3DRecord_expCoeffs_set
__swig_getmethods__["expCoeffs"] = _tulipCM.model3DRecord_expCoeffs_get
if _newclass:
expCoeffs = _swig_property(_tulipCM.model3DRecord_expCoeffs_get, _tulipCM.model3DRecord_expCoeffs_set)
def __init__(self):
this = _tulipCM.new_model3DRecord()
try:
self.this.append(this)
except Exception:
self.this = this
__swig_destroy__ = _tulipCM.delete_model3DRecord
__del__ = lambda self: None
model3DRecord_swigregister = _tulipCM.model3DRecord_swigregister
model3DRecord_swigregister(model3DRecord)
def ltrim(s):
return _tulipCM.ltrim(s)
ltrim = _tulipCM.ltrim
def rtrim(s):
return _tulipCM.rtrim(s)
rtrim = _tulipCM.rtrim
def trim(s):
return _tulipCM.trim(s)
trim = _tulipCM.trim
def getMax(start, stop, vector):
return _tulipCM.getMax(start, stop, vector)
getMax = _tulipCM.getMax
def getMin(start, stop, vector):
return _tulipCM.getMin(start, stop, vector)
getMin = _tulipCM.getMin
def getMean(start, stop, vector):
return _tulipCM.getMean(start, stop, vector)
getMean = _tulipCM.getMean
def getSum(start, stop, vector):
return _tulipCM.getSum(start, stop, vector)
getSum = _tulipCM.getSum
def getMaxLoc(start, stop, vector):
return _tulipCM.getMaxLoc(start, stop, vector)
getMaxLoc = _tulipCM.getMaxLoc
def trapz(*args):
return _tulipCM.trapz(*args)
trapz = _tulipCM.trapz
def schSplit(*args):
return _tulipCM.schSplit(*args)
schSplit = _tulipCM.schSplit
def applyCircShift(shift, size, Qvp):
return _tulipCM.applyCircShift(shift, size, Qvp)
applyCircShift = _tulipCM.applyCircShift
def ReadParamsFromFile(inputFileName, params):
return _tulipCM.ReadParamsFromFile(inputFileName, params)
ReadParamsFromFile = _tulipCM.ReadParamsFromFile
def readPriorFromFile(inputFileName, prior_num, prAv, prSd):
return _tulipCM.readPriorFromFile(inputFileName, prior_num, prAv, prSd)
readPriorFromFile = _tulipCM.readPriorFromFile
def readTableFromFile(fileName, samples):
return _tulipCM.readTableFromFile(fileName, samples)
readTableFromFile = _tulipCM.readTableFromFile
def readIntTableFromCSVFile(fileName, samples):
return _tulipCM.readIntTableFromCSVFile(fileName, samples)
readIntTableFromCSVFile = _tulipCM.readIntTableFromCSVFile
def readIntVectorFromFile(fileName, vec):
return _tulipCM.readIntVectorFromFile(fileName, vec)
readIntVectorFromFile = _tulipCM.readIntVectorFromFile
def writeTableToFile(fileName, table):
return _tulipCM.writeTableToFile(fileName, table)
writeTableToFile = _tulipCM.writeTableToFile
def writeVectorToFile(fileName, vec):
return _tulipCM.writeVectorToFile(fileName, vec)
writeVectorToFile = _tulipCM.writeVectorToFile
def readVectorFromFile(fileName, column, vec):
return _tulipCM.readVectorFromFile(fileName, column, vec)
readVectorFromFile = _tulipCM.readVectorFromFile
def WriteResultsToFile(debugFileName, totalSteps, totalStates, time, outVals):
return _tulipCM.WriteResultsToFile(debugFileName, totalSteps, totalStates, time, outVals)
WriteResultsToFile = _tulipCM.WriteResultsToFile
def printCurvesAndPeaks(fileName, size, t, Q, Q_S, t_S, Q_M, t_M, Q_D, t_D, Q_A, t_A):
return _tulipCM.printCurvesAndPeaks(fileName, size, t, Q, Q_S, t_S, Q_M, t_M, Q_D, t_D, Q_A, t_A)
printCurvesAndPeaks = _tulipCM.printCurvesAndPeaks
def getHeartStage12BlocksPriorMapping(prPtr):
return _tulipCM.getHeartStage12BlocksPriorMapping(prPtr)
getHeartStage12BlocksPriorMapping = _tulipCM.getHeartStage12BlocksPriorMapping
def getHeartStage13BlocksPriorMapping(prPtr):
return _tulipCM.getHeartStage13BlocksPriorMapping(prPtr)
getHeartStage13BlocksPriorMapping = _tulipCM.getHeartStage13BlocksPriorMapping
def getHeartStage2PriorMapping(prPtr):
return _tulipCM.getHeartStage2PriorMapping(prPtr)
getHeartStage2PriorMapping = _tulipCM.getHeartStage2PriorMapping
def getHeartINDStage12BlocksINDPriorMapping(prPtr):
return _tulipCM.getHeartINDStage12BlocksINDPriorMapping(prPtr)
getHeartINDStage12BlocksINDPriorMapping = _tulipCM.getHeartINDStage12BlocksINDPriorMapping
def detect_peak(data_count, t, data, S_time, S_peak, S_found, M_time, M_peak, M_found, D_time, D_peak, D_found, A_time, A_peak, A_found, min_Found_Peaks, max_Found_Peaks):
return _tulipCM.detect_peak(data_count, t, data, S_time, S_peak, S_found, M_time, M_peak, M_found, D_time, D_peak, D_found, A_time, A_peak, A_found, min_Found_Peaks, max_Found_Peaks)
detect_peak = _tulipCM.detect_peak
def linInterp(table, xColumn, yColumn, currX):
return _tulipCM.linInterp(table, xColumn, yColumn, currX)
linInterp = _tulipCM.linInterp
def read3DModelSurrogateFromFile(fileName, model, printReport):
return _tulipCM.read3DModelSurrogateFromFile(fileName, model, printReport)
read3DModelSurrogateFromFile = _tulipCM.read3DModelSurrogateFromFile
def getPolyTypeString(polyType):
return _tulipCM.getPolyTypeString(polyType)
getPolyTypeString = _tulipCM.getPolyTypeString
def isParamPositive(curr_par, limits):
return _tulipCM.isParamPositive(curr_par, limits)
isParamPositive = _tulipCM.isParamPositive
def isParamNegative(curr_par, limits):
return _tulipCM.isParamNegative(curr_par, limits)
isParamNegative = _tulipCM.isParamNegative
def readCSStringTableFromFile(fileName, table):
return _tulipCM.readCSStringTableFromFile(fileName, table)
readCSStringTableFromFile = _tulipCM.readCSStringTableFromFile
def getFrozenParametersFromCSVFile(fileName, frozParIDX, frozParVAL):
return _tulipCM.getFrozenParametersFromCSVFile(fileName, frozParIDX, frozParVAL)
getFrozenParametersFromCSVFile = _tulipCM.getFrozenParametersFromCSVFile
def getAccelerationTime(start, stop, timeStep, vector, at):
return _tulipCM.getAccelerationTime(start, stop, timeStep, vector, at)
getAccelerationTime = _tulipCM.getAccelerationTime
def getDecelerationTime(start, stop, timeStep, vector, dt):
return _tulipCM.getDecelerationTime(start, stop, timeStep, vector, dt)
getDecelerationTime = _tulipCM.getDecelerationTime
def getEARatio(start, stop, vector, EARatio):
return _tulipCM.getEARatio(start, stop, vector, EARatio)
getEARatio = _tulipCM.getEARatio
def zeroAtValveOpening(start, stop, curve, valveIsOpen):
return _tulipCM.zeroAtValveOpening(start, stop, curve, valveIsOpen)
zeroAtValveOpening = _tulipCM.zeroAtValveOpening
def subSampleTableData(currTraceFile, totSubSamples, startColumn, endColumn, subSampleTable, sampleIndexes):
return _tulipCM.subSampleTableData(currTraceFile, totSubSamples, startColumn, endColumn, subSampleTable, sampleIndexes)
subSampleTableData = _tulipCM.subSampleTableData
def subSampleTableDataWithIndex(currTraceFile, sampleIndexes, startColumn, endColumn, subSampleTable):
return _tulipCM.subSampleTableDataWithIndex(currTraceFile, sampleIndexes, startColumn, endColumn, subSampleTable)
subSampleTableDataWithIndex = _tulipCM.subSampleTableDataWithIndex
def generateFrequencyPlot(minVal, maxVal, values, totBins, normalize, resX, resY):
return _tulipCM.generateFrequencyPlot(minVal, maxVal, values, totBins, normalize, resX, resY)
generateFrequencyPlot = _tulipCM.generateFrequencyPlot
class cmTutorial(cmModel):
__swig_setmethods__ = {}
for _s in [cmModel]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, cmTutorial, name, value)
__swig_getmethods__ = {}
for _s in [cmModel]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, cmTutorial, name)
__repr__ = _swig_repr
def __init__(self):
this = _tulipCM.new_cmTutorial()
try:
self.this.append(this)
except Exception:
self.this = this
def getParameterTotal(self):
return _tulipCM.cmTutorial_getParameterTotal(self)
def getParamName(self, parID):
return _tulipCM.cmTutorial_getParamName(self, parID)
def getStateTotal(self):
return _tulipCM.cmTutorial_getStateTotal(self)
def getResultTotal(self):
return _tulipCM.cmTutorial_getResultTotal(self)
def getResultName(self, resID):
return _tulipCM.cmTutorial_getResultName(self, resID)
def getParameterLimits(self, limits):
return _tulipCM.cmTutorial_getParameterLimits(self, limits)
def getDefaultParams(self, params):
return _tulipCM.cmTutorial_getDefaultParams(self, params)
def getPriorMapping(self, priorModelType, prPtr):
return _tulipCM.cmTutorial_getPriorMapping(self, priorModelType, prPtr)
def evalModelError(self, inputs, outputs, errorCode):
return _tulipCM.cmTutorial_evalModelError(self, inputs, outputs, errorCode)
__swig_destroy__ = _tulipCM.delete_cmTutorial
__del__ = lambda self: None
cmTutorial_swigregister = _tulipCM.cmTutorial_swigregister
cmTutorial_swigregister(cmTutorial)
gConst = cvar.gConst
class cmAnalyticalExpressionModel(cmModel):
__swig_setmethods__ = {}
for _s in [cmModel]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, cmAnalyticalExpressionModel, name, value)
__swig_getmethods__ = {}
for _s in [cmModel]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, cmAnalyticalExpressionModel, name)
__repr__ = _swig_repr
def __init__(self, localModelType):
this = _tulipCM.new_cmAnalyticalExpressionModel(localModelType)
try:
self.this.append(this)
except Exception:
self.this = this
def getParameterTotal(self):
return _tulipCM.cmAnalyticalExpressionModel_getParameterTotal(self)
def getParamName(self, parID):
return _tulipCM.cmAnalyticalExpressionModel_getParamName(self, parID)
def getStateTotal(self):
return _tulipCM.cmAnalyticalExpressionModel_getStateTotal(self)
def getResultTotal(self):
return _tulipCM.cmAnalyticalExpressionModel_getResultTotal(self)
def getResultName(self, resID):
return _tulipCM.cmAnalyticalExpressionModel_getResultName(self, resID)
def getParameterLimits(self, limits):
return _tulipCM.cmAnalyticalExpressionModel_getParameterLimits(self, limits)
def getDefaultParams(self, params):
return _tulipCM.cmAnalyticalExpressionModel_getDefaultParams(self, params)
def getPriorMapping(self, priorModelType, prPtr):
return _tulipCM.cmAnalyticalExpressionModel_getPriorMapping(self, priorModelType, prPtr)
def evalModelError(self, inputs, outputs, errorCode):
return _tulipCM.cmAnalyticalExpressionModel_evalModelError(self, inputs, outputs, errorCode)
__swig_destroy__ = _tulipCM.delete_cmAnalyticalExpressionModel
__del__ = lambda self: None
cmAnalyticalExpressionModel_swigregister = _tulipCM.cmAnalyticalExpressionModel_swigregister
cmAnalyticalExpressionModel_swigregister(cmAnalyticalExpressionModel)
kAnalyticalModelUnity2D = cvar.kAnalyticalModelUnity2D
kAnalyticalModelLinear2D = cvar.kAnalyticalModelLinear2D
kModelDiscAgarwal = cvar.kModelDiscAgarwal
kModelZabarasSP = cvar.kModelZabarasSP
kAnalyticalPiecewiseLinear1D = cvar.kAnalyticalPiecewiseLinear1D
kAnalyticalConstant = cvar.kAnalyticalConstant
kAnalyticalLinear = cvar.kAnalyticalLinear
kAnalyticalQuadratic = cvar.kAnalyticalQuadratic
kIdentity = cvar.kIdentity
kTransformedGaussian = cvar.kTransformedGaussian
class cmLPNModel(cmModel):
__swig_setmethods__ = {}
for _s in [cmModel]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, cmLPNModel, name, value)
__swig_getmethods__ = {}
for _s in [cmModel]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, cmLPNModel, name)
__repr__ = _swig_repr
__swig_setmethods__["integrator"] = _tulipCM.cmLPNModel_integrator_set
__swig_getmethods__["integrator"] = _tulipCM.cmLPNModel_integrator_get
if _newclass:
integrator = _swig_property(_tulipCM.cmLPNModel_integrator_get, _tulipCM.cmLPNModel_integrator_set)
def __init__(self, integrator):
this = _tulipCM.new_cmLPNModel(integrator)
try:
self.this.append(this)
except Exception:
self.this = this
__swig_destroy__ = _tulipCM.delete_cmLPNModel
__del__ = lambda self: None
def getParameterTotal(self):
return _tulipCM.cmLPNModel_getParameterTotal(self)
def getStateTotal(self):
return _tulipCM.cmLPNModel_getStateTotal(self)
def getResultTotal(self):
return _tulipCM.cmLPNModel_getResultTotal(self)
def getParameterLimits(self, limits):
return _tulipCM.cmLPNModel_getParameterLimits(self, limits)
def getDefaultParams(self, params):
return _tulipCM.cmLPNModel_getDefaultParams(self, params)
def getPriorMapping(self, priorModelType, prPtr):
return _tulipCM.cmLPNModel_getPriorMapping(self, priorModelType, prPtr)
def getParamName(self, parID):
return _tulipCM.cmLPNModel_getParamName(self, parID)
def getResultName(self, resID):
return _tulipCM.cmLPNModel_getResultName(self, resID)
def evalModelError(self, inputs, outputs, errorCode):
return _tulipCM.cmLPNModel_evalModelError(self, inputs, outputs, errorCode)
cmLPNModel_swigregister = _tulipCM.cmLPNModel_swigregister
cmLPNModel_swigregister(cmLPNModel)
class cmTableInterpolator(cmModel):
__swig_setmethods__ = {}
for _s in [cmModel]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, cmTableInterpolator, name, value)
__swig_getmethods__ = {}
for _s in [cmModel]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, cmTableInterpolator, name)
__repr__ = _swig_repr
def __init__(self, tableFile, weightFile, interpolationMethod, order, localTotInputs, localInputCols, localTotOutputs, localOutputCols, localTargetAV, localTargetSD):
this = _tulipCM.new_cmTableInterpolator(tableFile, weightFile, interpolationMethod, order, localTotInputs, localInputCols, localTotOutputs, localOutputCols, localTargetAV, localTargetSD)
try:
self.this.append(this)
except Exception:
self.this = this
def getParameterTotal(self):
return _tulipCM.cmTableInterpolator_getParameterTotal(self)
def getParamName(self, parID):
return _tulipCM.cmTableInterpolator_getParamName(self, parID)
def getStateTotal(self):
return _tulipCM.cmTableInterpolator_getStateTotal(self)
def getResultTotal(self):
return _tulipCM.cmTableInterpolator_getResultTotal(self)
def getResultName(self, resID):
return _tulipCM.cmTableInterpolator_getResultName(self, resID)
def getParameterLimits(self, limits):
return _tulipCM.cmTableInterpolator_getParameterLimits(self, limits)
def getDefaultParams(self, params):
return _tulipCM.cmTableInterpolator_getDefaultParams(self, params)
def getPriorMapping(self, priorModelType, prPtr):
return _tulipCM.cmTableInterpolator_getPriorMapping(self, priorModelType, prPtr)
def evalModelError(self, inputs, outputs, errorCode):
return _tulipCM.cmTableInterpolator_evalModelError(self, inputs, outputs, errorCode)
__swig_destroy__ = _tulipCM.delete_cmTableInterpolator
__del__ = lambda self: None
cmTableInterpolator_swigregister = _tulipCM.cmTableInterpolator_swigregister
cmTableInterpolator_swigregister(cmTableInterpolator)
kLeastSquares = cvar.kLeastSquares
kBayesCS = cvar.kBayesCS
kSparseGrid = cvar.kSparseGrid
kNearestNighbor = cvar.kNearestNighbor
class cmSimpleNonLin(cmModel):
__swig_setmethods__ = {}
for _s in [cmModel]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, cmSimpleNonLin, name, value)
__swig_getmethods__ = {}
for _s in [cmModel]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, cmSimpleNonLin, name)
__repr__ = _swig_repr
def __init__(self):
this = _tulipCM.new_cmSimpleNonLin()
try:
self.this.append(this)
except Exception:
self.this = this
def getParameterTotal(self):
return _tulipCM.cmSimpleNonLin_getParameterTotal(self)
def getStateTotal(self):
return _tulipCM.cmSimpleNonLin_getStateTotal(self)
def getResultTotal(self):
return _tulipCM.cmSimpleNonLin_getResultTotal(self)
def getParameterLimits(self, limits):
return _tulipCM.cmSimpleNonLin_getParameterLimits(self, limits)
def getDefaultParams(self, params):
return _tulipCM.cmSimpleNonLin_getDefaultParams(self, params)
def getPriorMapping(self, priorModelType, prPtr):
return _tulipCM.cmSimpleNonLin_getPriorMapping(self, priorModelType, prPtr)
def getParamName(self, parID):
return _tulipCM.cmSimpleNonLin_getParamName(self, parID)
def getResultName(self, resID):
return _tulipCM.cmSimpleNonLin_getResultName(self, resID)
def evalModelError(self, inputs, outputs, errorCode):
return _tulipCM.cmSimpleNonLin_evalModelError(self, inputs, outputs, errorCode)
__swig_destroy__ = _tulipCM.delete_cmSimpleNonLin
__del__ = lambda self: None
cmSimpleNonLin_swigregister = _tulipCM.cmSimpleNonLin_swigregister
cmSimpleNonLin_swigregister(cmSimpleNonLin)
class cmResistanceModel(cmModel):
__swig_setmethods__ = {}
for _s in [cmModel]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, cmResistanceModel, name, value)
__swig_getmethods__ = {}
for _s in [cmModel]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, cmResistanceModel, name)
__repr__ = _swig_repr
def __init__(self, resValue, distPressHistory):
this = _tulipCM.new_cmResistanceModel(resValue, distPressHistory)
try:
self.this.append(this)
except Exception:
self.this = this
def getParameterTotal(self):
return _tulipCM.cmResistanceModel_getParameterTotal(self)
def getParamName(self, parID):
return _tulipCM.cmResistanceModel_getParamName(self, parID)
def getStateTotal(self):
return _tulipCM.cmResistanceModel_getStateTotal(self)
def getResultTotal(self):
return _tulipCM.cmResistanceModel_getResultTotal(self)
def getResultName(self, resID):
return _tulipCM.cmResistanceModel_getResultName(self, resID)
def getParameterLimits(self, limits):
return _tulipCM.cmResistanceModel_getParameterLimits(self, limits)
def getDefaultParams(self, params):
return _tulipCM.cmResistanceModel_getDefaultParams(self, params)
def getPriorMapping(self, priorModelType, prPtr):
return _tulipCM.cmResistanceModel_getPriorMapping(self, priorModelType, prPtr)
def evalModelError(self, *args):
return _tulipCM.cmResistanceModel_evalModelError(self, *args)
__swig_destroy__ = _tulipCM.delete_cmResistanceModel
__del__ = lambda self: None
cmResistanceModel_swigregister = _tulipCM.cmResistanceModel_swigregister
cmResistanceModel_swigregister(cmResistanceModel)
_tulipCM.stdGaussianPDF_swigconstant(_tulipCM)
stdGaussianPDF = _tulipCM.stdGaussianPDF
_tulipCM.bimodalPDF_swigconstant(_tulipCM)
bimodalPDF = _tulipCM.bimodalPDF
_tulipCM.uniformPDF_swigconstant(_tulipCM)
uniformPDF = _tulipCM.uniformPDF
_tulipCM.multimodalPDF_swigconstant(_tulipCM)
multimodalPDF = _tulipCM.multimodalPDF
class cmPDFKnownPDF(cmModel):
__swig_setmethods__ = {}
for _s in [cmModel]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, cmPDFKnownPDF, name, value)
__swig_getmethods__ = {}
for _s in [cmModel]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, cmPDFKnownPDF, name)
__repr__ = _swig_repr
def __init__(self, PDFType):
this = _tulipCM.new_cmPDFKnownPDF(PDFType)
try:
self.this.append(this)
except Exception:
self.this = this
def getParameterTotal(self):
return _tulipCM.cmPDFKnownPDF_getParameterTotal(self)
def getResultTotal(self):
return _tulipCM.cmPDFKnownPDF_getResultTotal(self)
def getDefaultParams(self, params):
return _tulipCM.cmPDFKnownPDF_getDefaultParams(self, params)
def getParameterLimits(self, limits):
return _tulipCM.cmPDFKnownPDF_getParameterLimits(self, limits)
def evalModelError(self, inputs, outputs, errorCode):
return _tulipCM.cmPDFKnownPDF_evalModelError(self, inputs, outputs, errorCode)
def getParamName(self, parID):
return _tulipCM.cmPDFKnownPDF_getParamName(self, parID)
def getResultName(self, resID):
return _tulipCM.cmPDFKnownPDF_getResultName(self, resID)
def getStateTotal(self):
return _tulipCM.cmPDFKnownPDF_getStateTotal(self)
def getAuxStateTotal(self):
return _tulipCM.cmPDFKnownPDF_getAuxStateTotal(self)
def getPriorMapping(self, priorModelType, prPtr):
return _tulipCM.cmPDFKnownPDF_getPriorMapping(self, priorModelType, prPtr)
__swig_destroy__ = _tulipCM.delete_cmPDFKnownPDF
__del__ = lambda self: None
cmPDFKnownPDF_swigregister = _tulipCM.cmPDFKnownPDF_swigregister
cmPDFKnownPDF_swigregister(cmPDFKnownPDF)
class cmKraichnanOrszagModel(cmModel):
__swig_setmethods__ = {}
for _s in [cmModel]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, cmKraichnanOrszagModel, name, value)
__swig_getmethods__ = {}
for _s in [cmModel]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, cmKraichnanOrszagModel, name)
__repr__ = _swig_repr
def __init__(self, localDims, localTimeStep, localTotalTime, localSaveEvery):
this = _tulipCM.new_cmKraichnanOrszagModel(localDims, localTimeStep, localTotalTime, localSaveEvery)
try:
self.this.append(this)
except Exception:
self.this = this
def getParameterTotal(self):
return _tulipCM.cmKraichnanOrszagModel_getParameterTotal(self)
def getParamName(self, parID):
return _tulipCM.cmKraichnanOrszagModel_getParamName(self, parID)
def getStateTotal(self):
return _tulipCM.cmKraichnanOrszagModel_getStateTotal(self)
def getResultTotal(self):
return _tulipCM.cmKraichnanOrszagModel_getResultTotal(self)
def getResultName(self, resID):
return _tulipCM.cmKraichnanOrszagModel_getResultName(self, resID)
def getParameterLimits(self, limits):
return _tulipCM.cmKraichnanOrszagModel_getParameterLimits(self, limits)
def getDefaultParams(self, params):
return _tulipCM.cmKraichnanOrszagModel_getDefaultParams(self, params)
def getPriorMapping(self, priorModelType, prPtr):
return _tulipCM.cmKraichnanOrszagModel_getPriorMapping(self, priorModelType, prPtr)
def evalModelError(self, inputs, outputs, errorCode):
return _tulipCM.cmKraichnanOrszagModel_evalModelError(self, inputs, outputs, errorCode)
__swig_destroy__ = _tulipCM.delete_cmKraichnanOrszagModel
__del__ = lambda self: None
cmKraichnanOrszagModel_swigregister = _tulipCM.cmKraichnanOrszagModel_swigregister
cmKraichnanOrszagModel_swigregister(cmKraichnanOrszagModel)
class cmArmVenousOcclusion(cmModel):
__swig_setmethods__ = {}
for _s in [cmModel]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, cmArmVenousOcclusion, name, value)
__swig_getmethods__ = {}
for _s in [cmModel]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, cmArmVenousOcclusion, name)
__repr__ = _swig_repr
def __init__(self):
this = _tulipCM.new_cmArmVenousOcclusion()
try:
self.this.append(this)
except Exception:
self.this = this
def getParameterTotal(self):
return _tulipCM.cmArmVenousOcclusion_getParameterTotal(self)
def getParamName(self, parID):
return _tulipCM.cmArmVenousOcclusion_getParamName(self, parID)
def getStateTotal(self):
return _tulipCM.cmArmVenousOcclusion_getStateTotal(self)
def getResultTotal(self):
return _tulipCM.cmArmVenousOcclusion_getResultTotal(self)
def getResultName(self, resID):
return _tulipCM.cmArmVenousOcclusion_getResultName(self, resID)
def getParameterLimits(self, limits):
return _tulipCM.cmArmVenousOcclusion_getParameterLimits(self, limits)
def getDefaultParams(self, params):
return _tulipCM.cmArmVenousOcclusion_getDefaultParams(self, params)
def getPriorMapping(self, priorModelType, prPtr):
return _tulipCM.cmArmVenousOcclusion_getPriorMapping(self, priorModelType, prPtr)
def evalModelError(self, *args):
return _tulipCM.cmArmVenousOcclusion_evalModelError(self, *args)
__swig_destroy__ = _tulipCM.delete_cmArmVenousOcclusion
__del__ = lambda self: None
cmArmVenousOcclusion_swigregister = _tulipCM.cmArmVenousOcclusion_swigregister
cmArmVenousOcclusion_swigregister(cmArmVenousOcclusion)
ipArterialFlux = cvar.ipArterialFlux
ipVenousFlux = cvar.ipVenousFlux
ipVenousPressure = cvar.ipVenousPressure
class cm3DPQSurrogateModel(cmModel):
__swig_setmethods__ = {}
for _s in [cmModel]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, cm3DPQSurrogateModel, name, value)
__swig_getmethods__ = {}
for _s in [cmModel]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, cm3DPQSurrogateModel, name)
__repr__ = _swig_repr
def __init__(self, polyType, polyOrder, normalizeData, limits, locExpCoeffs):
this = _tulipCM.new_cm3DPQSurrogateModel(polyType, polyOrder, normalizeData, limits, locExpCoeffs)
try:
self.this.append(this)
except Exception:
self.this = this
def getParameterTotal(self):
return _tulipCM.cm3DPQSurrogateModel_getParameterTotal(self)
def getParamName(self, parID):
return _tulipCM.cm3DPQSurrogateModel_getParamName(self, parID)
def getParameterLimits(self, limits):
return _tulipCM.cm3DPQSurrogateModel_getParameterLimits(self, limits)
def getDefaultParams(self, params):
return _tulipCM.cm3DPQSurrogateModel_getDefaultParams(self, params)
def getStateTotal(self):
return _tulipCM.cm3DPQSurrogateModel_getStateTotal(self)
def getResultTotal(self):
return _tulipCM.cm3DPQSurrogateModel_getResultTotal(self)
def getResultName(self, resID):
return _tulipCM.cm3DPQSurrogateModel_getResultName(self, resID)
def getPriorMapping(self, priorModelType, prPtr):
return _tulipCM.cm3DPQSurrogateModel_getPriorMapping(self, priorModelType, prPtr)
def evalModelError(self, *args):
return _tulipCM.cm3DPQSurrogateModel_evalModelError(self, *args)
__swig_destroy__ = _tulipCM.delete_cm3DPQSurrogateModel
__del__ = lambda self: None
cm3DPQSurrogateModel_swigregister = _tulipCM.cm3DPQSurrogateModel_swigregister
cm3DPQSurrogateModel_swigregister(cm3DPQSurrogateModel)
class cmStressStretch_SHRA(cmModel):
__swig_setmethods__ = {}
for _s in [cmModel]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, cmStressStretch_SHRA, name, value)
__swig_getmethods__ = {}
for _s in [cmModel]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, cmStressStretch_SHRA, name)
__repr__ = _swig_repr
__swig_setmethods__["lambdaZ"] = _tulipCM.cmStressStretch_SHRA_lambdaZ_set
__swig_getmethods__["lambdaZ"] = _tulipCM.cmStressStretch_SHRA_lambdaZ_get
if _newclass:
lambdaZ = _swig_property(_tulipCM.cmStressStretch_SHRA_lambdaZ_get, _tulipCM.cmStressStretch_SHRA_lambdaZ_set)
def __init__(self, arg2):
this = _tulipCM.new_cmStressStretch_SHRA(arg2)
try:
self.this.append(this)
except Exception:
self.this = this
__swig_destroy__ = _tulipCM.delete_cmStressStretch_SHRA
__del__ = lambda self: None
def getParameterTotal(self):
return _tulipCM.cmStressStretch_SHRA_getParameterTotal(self)
def getStateTotal(self):
return _tulipCM.cmStressStretch_SHRA_getStateTotal(self)
def getResultTotal(self):
return _tulipCM.cmStressStretch_SHRA_getResultTotal(self)
def getParameterLimits(self, limits):
return _tulipCM.cmStressStretch_SHRA_getParameterLimits(self, limits)
def getDefaultParams(self, params):
return _tulipCM.cmStressStretch_SHRA_getDefaultParams(self, params)
def getPriorMapping(self, priorModelType, prPtr):
return _tulipCM.cmStressStretch_SHRA_getPriorMapping(self, priorModelType, prPtr)
def getParamName(self, parID):
return _tulipCM.cmStressStretch_SHRA_getParamName(self, parID)
def getResultName(self, resID):
return _tulipCM.cmStressStretch_SHRA_getResultName(self, resID)
def evalModelError(self, inputs, outputs, errorCode):
return _tulipCM.cmStressStretch_SHRA_evalModelError(self, inputs, outputs, errorCode)
def setModelResults(self, outputs, keys, computedValues, stdFactors, weigths):
return _tulipCM.cmStressStretch_SHRA_setModelResults(self, outputs, keys, computedValues, stdFactors, weigths)
cmStressStretch_SHRA_swigregister = _tulipCM.cmStressStretch_SHRA_swigregister
cmStressStretch_SHRA_swigregister(cmStressStretch_SHRA)
class cmStressStretch_GOH(cmModel):
__swig_setmethods__ = {}
for _s in [cmModel]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, cmStressStretch_GOH, name, value)
__swig_getmethods__ = {}
for _s in [cmModel]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, cmStressStretch_GOH, name)
__repr__ = _swig_repr
__swig_setmethods__["lambdaZ"] = _tulipCM.cmStressStretch_GOH_lambdaZ_set
__swig_getmethods__["lambdaZ"] = _tulipCM.cmStressStretch_GOH_lambdaZ_get
if _newclass:
lambdaZ = _swig_property(_tulipCM.cmStressStretch_GOH_lambdaZ_get, _tulipCM.cmStressStretch_GOH_lambdaZ_set)
def __init__(self, arg2):
this = _tulipCM.new_cmStressStretch_GOH(arg2)
try:
self.this.append(this)
except Exception:
self.this = this
__swig_destroy__ = _tulipCM.delete_cmStressStretch_GOH
__del__ = lambda self: None
def getParameterTotal(self):
return _tulipCM.cmStressStretch_GOH_getParameterTotal(self)
def getStateTotal(self):
return _tulipCM.cmStressStretch_GOH_getStateTotal(self)
def getResultTotal(self):
return _tulipCM.cmStressStretch_GOH_getResultTotal(self)
def getParameterLimits(self, limits):
return _tulipCM.cmStressStretch_GOH_getParameterLimits(self, limits)
def getDefaultParams(self, params):
return _tulipCM.cmStressStretch_GOH_getDefaultParams(self, params)
def getPriorMapping(self, priorModelType, prPtr):
return _tulipCM.cmStressStretch_GOH_getPriorMapping(self, priorModelType, prPtr)
def getParamName(self, parID):
return _tulipCM.cmStressStretch_GOH_getParamName(self, parID)
def getResultName(self, resID):
return _tulipCM.cmStressStretch_GOH_getResultName(self, resID)
def evalModelError(self, inputs, outputs, errorCode):
return _tulipCM.cmStressStretch_GOH_evalModelError(self, inputs, outputs, errorCode)
def setModelResults(self, outputs, keys, computedValues, stdFactors, weigths):
return _tulipCM.cmStressStretch_GOH_setModelResults(self, outputs, keys, computedValues, stdFactors, weigths)
cmStressStretch_GOH_swigregister = _tulipCM.cmStressStretch_GOH_swigregister
cmStressStretch_GOH_swigregister(cmStressStretch_GOH)
class cmStressStretch_FR(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, cmStressStretch_FR, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, cmStressStretch_FR, name)
__repr__ = _swig_repr
__swig_setmethods__["sigmaZ"] = _tulipCM.cmStressStretch_FR_sigmaZ_set
__swig_getmethods__["sigmaZ"] = _tulipCM.cmStressStretch_FR_sigmaZ_get
if _newclass:
sigmaZ = _swig_property(_tulipCM.cmStressStretch_FR_sigmaZ_get, _tulipCM.cmStressStretch_FR_sigmaZ_set)
def __init__(self, sigma):
this = _tulipCM.new_cmStressStretch_FR(sigma)
try:
self.this.append(this)
except Exception:
self.this = this
__swig_destroy__ = _tulipCM.delete_cmStressStretch_FR
__del__ = lambda self: None
def getParameterTotal(self):
return _tulipCM.cmStressStretch_FR_getParameterTotal(self)
def getStateTotal(self):
return _tulipCM.cmStressStretch_FR_getStateTotal(self)
def getResultTotal(self):
return _tulipCM.cmStressStretch_FR_getResultTotal(self)
def getParameterLimits(self, limits):
return _tulipCM.cmStressStretch_FR_getParameterLimits(self, limits)
def getDefaultParams(self, params):
return _tulipCM.cmStressStretch_FR_getDefaultParams(self, params)
def getPriorMapping(self, priorModelType, prPtr):
return _tulipCM.cmStressStretch_FR_getPriorMapping(self, priorModelType, prPtr)
def getParamName(self, parID):
return _tulipCM.cmStressStretch_FR_getParamName(self, parID)
def getResultName(self, resID):
return _tulipCM.cmStressStretch_FR_getResultName(self, resID)
def evalModelError(self, inputs, outputs, errorCode):
return _tulipCM.cmStressStretch_FR_evalModelError(self, inputs, outputs, errorCode)
cmStressStretch_FR_swigregister = _tulipCM.cmStressStretch_FR_swigregister
cmStressStretch_FR_swigregister(cmStressStretch_FR)
class odeIntegrator(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, odeIntegrator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, odeIntegrator, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_setmethods__["timeStep"] = _tulipCM.odeIntegrator_timeStep_set
__swig_getmethods__["timeStep"] = _tulipCM.odeIntegrator_timeStep_get
if _newclass:
timeStep = _swig_property(_tulipCM.odeIntegrator_timeStep_get, _tulipCM.odeIntegrator_timeStep_set)
__swig_setmethods__["totalCycles"] = _tulipCM.odeIntegrator_totalCycles_set
__swig_getmethods__["totalCycles"] = _tulipCM.odeIntegrator_totalCycles_get
if _newclass:
totalCycles = _swig_property(_tulipCM.odeIntegrator_totalCycles_get, _tulipCM.odeIntegrator_totalCycles_set)
__swig_setmethods__["ode"] = _tulipCM.odeIntegrator_ode_set
__swig_getmethods__["ode"] = _tulipCM.odeIntegrator_ode_get
if _newclass:
ode = _swig_property(_tulipCM.odeIntegrator_ode_get, _tulipCM.odeIntegrator_ode_set)
__swig_setmethods__["forcing"] = _tulipCM.odeIntegrator_forcing_set
__swig_getmethods__["forcing"] = _tulipCM.odeIntegrator_forcing_get
if _newclass:
forcing = _swig_property(_tulipCM.odeIntegrator_forcing_get, _tulipCM.odeIntegrator_forcing_set)
__swig_destroy__ = _tulipCM.delete_odeIntegrator
__del__ = lambda self: None
def run(self, totalSteps, iniVals, params, outVals, auxOutVals):
return _tulipCM.odeIntegrator_run(self, totalSteps, iniVals, params, outVals, auxOutVals)
odeIntegrator_swigregister = _tulipCM.odeIntegrator_swigregister
odeIntegrator_swigregister(odeIntegrator)
class odeIntegratorRK4(odeIntegrator):
__swig_setmethods__ = {}
for _s in [odeIntegrator]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, odeIntegratorRK4, name, value)
__swig_getmethods__ = {}
for _s in [odeIntegrator]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, odeIntegratorRK4, name)
__repr__ = _swig_repr
def __init__(self, odeModel, timeStep, totalCycles):
this = _tulipCM.new_odeIntegratorRK4(odeModel, timeStep, totalCycles)
try:
self.this.append(this)
except Exception:
self.this = this
__swig_destroy__ = _tulipCM.delete_odeIntegratorRK4
__del__ = lambda self: None
def run(self, totalSteps, iniVals, params, outVals, auxOutVals):
return _tulipCM.odeIntegratorRK4_run(self, totalSteps, iniVals, params, outVals, auxOutVals)
odeIntegratorRK4_swigregister = _tulipCM.odeIntegratorRK4_swigregister
odeIntegratorRK4_swigregister(odeIntegratorRK4)
class odeModel(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, odeModel, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, odeModel, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_setmethods__["data"] = _tulipCM.odeModel_data_set
__swig_getmethods__["data"] = _tulipCM.odeModel_data_get
if _newclass:
data = _swig_property(_tulipCM.odeModel_data_get, _tulipCM.odeModel_data_set)
__swig_setmethods__["datasetColumn"] = _tulipCM.odeModel_datasetColumn_set
__swig_getmethods__["datasetColumn"] = _tulipCM.odeModel_datasetColumn_get
if _newclass:
datasetColumn = _swig_property(_tulipCM.odeModel_datasetColumn_get, _tulipCM.odeModel_datasetColumn_set)
__swig_setmethods__["frozenParamIDX"] = _tulipCM.odeModel_frozenParamIDX_set
__swig_getmethods__["frozenParamIDX"] = _tulipCM.odeModel_frozenParamIDX_get
if _newclass:
frozenParamIDX = _swig_property(_tulipCM.odeModel_frozenParamIDX_get, _tulipCM.odeModel_frozenParamIDX_set)
__swig_setmethods__["frozenParamVAL"] = _tulipCM.odeModel_frozenParamVAL_set
__swig_getmethods__["frozenParamVAL"] = _tulipCM.odeModel_frozenParamVAL_get
if _newclass:
frozenParamVAL = _swig_property(_tulipCM.odeModel_frozenParamVAL_get, _tulipCM.odeModel_frozenParamVAL_set)
__swig_destroy__ = _tulipCM.delete_odeModel
__del__ = lambda self: None
def getParameterTotal(self):
return _tulipCM.odeModel_getParameterTotal(self)
def getStateTotal(self):
return _tulipCM.odeModel_getStateTotal(self)
def getResultTotal(self):
return _tulipCM.odeModel_getResultTotal(self)
def getAuxStateTotal(self):
return _tulipCM.odeModel_getAuxStateTotal(self)
def getParameterLimits(self, limits):
return _tulipCM.odeModel_getParameterLimits(self, limits)
def getDefaultParams(self, params):
return _tulipCM.odeModel_getDefaultParams(self, params)
def getParamName(self, parID):
return _tulipCM.odeModel_getParamName(self, parID)
def getResultName(self, resID):
return _tulipCM.odeModel_getResultName(self, resID)
def evalDeriv(self, t, Xk, params, fn, DXk, auxOut, Ind):
return _tulipCM.odeModel_evalDeriv(self, t, Xk, params, fn, DXk, auxOut, Ind)
def postProcess(self, timeStep, totalStepsOnSingleCycle, totalSteps, params, outVals, auxOutVals, results):
return _tulipCM.odeModel_postProcess(self, timeStep, totalStepsOnSingleCycle, totalSteps, params, outVals, auxOutVals, results)
def getResultKeys(self, keys):
return _tulipCM.odeModel_getResultKeys(self, keys)
def getFinalOutputs(self, outputs, outs):
return _tulipCM.odeModel_getFinalOutputs(self, outputs, outs)
def getDataSTD(self, stds):
return _tulipCM.odeModel_getDataSTD(self, stds)
def getResultWeigths(self, weights):
return _tulipCM.odeModel_getResultWeigths(self, weights)
def getHRIndex(self):
return _tulipCM.odeModel_getHRIndex(self)
odeModel_swigregister = _tulipCM.odeModel_swigregister
odeModel_swigregister(odeModel)
class odeNormalAdultSimplePA(odeModel):
__swig_setmethods__ = {}
for _s in [odeModel]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, odeNormalAdultSimplePA, name, value)
__swig_getmethods__ = {}
for _s in [odeModel]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, odeNormalAdultSimplePA, name)
__repr__ = _swig_repr
def __init__(self):
this = _tulipCM.new_odeNormalAdultSimplePA()
try:
self.this.append(this)
except Exception:
self.this = this
__swig_destroy__ = _tulipCM.delete_odeNormalAdultSimplePA
__del__ = lambda self: None
def getParameterTotal(self):
return _tulipCM.odeNormalAdultSimplePA_getParameterTotal(self)
def getParamName(self, parID):
return _tulipCM.odeNormalAdultSimplePA_getParamName(self, parID)
def getStateTotal(self):
return _tulipCM.odeNormalAdultSimplePA_getStateTotal(self)
def getResultTotal(self):
return _tulipCM.odeNormalAdultSimplePA_getResultTotal(self)
def getAuxStateTotal(self):
return _tulipCM.odeNormalAdultSimplePA_getAuxStateTotal(self)
def getResultName(self, resID):
return _tulipCM.odeNormalAdultSimplePA_getResultName(self, resID)
def getParameterLimits(self, limits):
return _tulipCM.odeNormalAdultSimplePA_getParameterLimits(self, limits)
def getDefaultParams(self, params):
return _tulipCM.odeNormalAdultSimplePA_getDefaultParams(self, params)
def evalDeriv(self, t, Xk, params, fn, DXk, auxOut, Ind):
return _tulipCM.odeNormalAdultSimplePA_evalDeriv(self, t, Xk, params, fn, DXk, auxOut, Ind)
def postProcess(self, timeStep, totalStepsOnSingleCycle, totalSteps, params, outVals, auxOutVals, results):
return _tulipCM.odeNormalAdultSimplePA_postProcess(self, timeStep, totalStepsOnSingleCycle, totalSteps, params, outVals, auxOutVals, results)
def getResultKeys(self, keys):
return _tulipCM.odeNormalAdultSimplePA_getResultKeys(self, keys)
def getFinalOutputs(self, outputs, outs):
return _tulipCM.odeNormalAdultSimplePA_getFinalOutputs(self, outputs, outs)
def getDataSTD(self, stds):
return _tulipCM.odeNormalAdultSimplePA_getDataSTD(self, stds)
def getResultWeigths(self, weights):
return _tulipCM.odeNormalAdultSimplePA_getResultWeigths(self, weights)
def getHRIndex(self):
return _tulipCM.odeNormalAdultSimplePA_getHRIndex(self)
odeNormalAdultSimplePA_swigregister = _tulipCM.odeNormalAdultSimplePA_swigregister
odeNormalAdultSimplePA_swigregister(odeNormalAdultSimplePA)
ip_0001_HR = cvar.ip_0001_HR
ip_0001_SBP = cvar.ip_0001_SBP
ip_0001_DBP = cvar.ip_0001_DBP
ip_0001_mBP = cvar.ip_0001_mBP
ip_0001_RAP = cvar.ip_0001_RAP
ip_0001_sPAP = cvar.ip_0001_sPAP
ip_0001_dPAP = cvar.ip_0001_dPAP
ip_0001_mPAP = cvar.ip_0001_mPAP
ip_0001_PWP = cvar.ip_0001_PWP
ip_0001_CO = cvar.ip_0001_CO
ip_0001_PVR = cvar.ip_0001_PVR
ip_0001_SVR = cvar.ip_0001_SVR
ip_0001_CVP = cvar.ip_0001_CVP
ip_0001_LVEF = cvar.ip_0001_LVEF
ip_0001_RVEF = cvar.ip_0001_RVEF
ip_0002_heart_rate2 = cvar.ip_0002_heart_rate2
ip_0002_systolic_bp_2 = cvar.ip_0002_systolic_bp_2
ip_0002_diastolic_bp_2 = cvar.ip_0002_diastolic_bp_2
ip_0002_cardiac_output = cvar.ip_0002_cardiac_output
ip_0002_systemic_vascular_resistan = cvar.ip_0002_systemic_vascular_resistan
ip_0002_pulmonary_vascular_resista = cvar.ip_0002_pulmonary_vascular_resista
ip_0002_cvp = cvar.ip_0002_cvp
ip_0002_right_ventricle_diastole = cvar.ip_0002_right_ventricle_diastole
ip_0002_right_ventricle_systole = cvar.ip_0002_right_ventricle_systole
ip_0002_rvedp = cvar.ip_0002_rvedp
ip_0002_aov_mean_pg = cvar.ip_0002_aov_mean_pg
ip_0002_aov_peak_pg = cvar.ip_0002_aov_peak_pg
ip_0002_mv_decel_time = cvar.ip_0002_mv_decel_time
ip_0002_mv_e_a_ratio = cvar.ip_0002_mv_e_a_ratio
ip_0002_pv_at = cvar.ip_0002_pv_at
ip_0002_pv_max_pg = cvar.ip_0002_pv_max_pg
ip_0002_ra_pressure = cvar.ip_0002_ra_pressure
ip_0002_ra_vol_a4c = cvar.ip_0002_ra_vol_a4c
ip_0002_la_vol_a4c = cvar.ip_0002_la_vol_a4c
ip_0002_lv_esv = cvar.ip_0002_lv_esv
ip_0002_lv_vol = cvar.ip_0002_lv_vol
ip_0002_lvef = cvar.ip_0002_lvef
ip_0002_lvot_max_flow = cvar.ip_0002_lvot_max_flow
ip_0002_pap_diastolic = cvar.ip_0002_pap_diastolic
ip_0002_pap_systolic = cvar.ip_0002_pap_systolic
ip_0002_wedge_pressure = cvar.ip_0002_wedge_pressure
modelVersion = cvar.modelVersion
ipTargetConfig_ExcludePAP = cvar.ipTargetConfig_ExcludePAP
ipTargetConfig_HRBPCVP = cvar.ipTargetConfig_HRBPCVP
targetConfigMode = cvar.targetConfigMode
class stdVec(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, stdVec, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, stdVec, name)
__repr__ = _swig_repr
def iterator(self):
return _tulipCM.stdVec_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _tulipCM.stdVec___nonzero__(self)
def __bool__(self):
return _tulipCM.stdVec___bool__(self)
def __len__(self):
return _tulipCM.stdVec___len__(self)
def __getslice__(self, i, j):
return _tulipCM.stdVec___getslice__(self, i, j)
def __setslice__(self, *args):
return _tulipCM.stdVec___setslice__(self, *args)
def __delslice__(self, i, j):
return _tulipCM.stdVec___delslice__(self, i, j)
def __delitem__(self, *args):
return _tulipCM.stdVec___delitem__(self, *args)
def __getitem__(self, *args):
return _tulipCM.stdVec___getitem__(self, *args)
def __setitem__(self, *args):
return _tulipCM.stdVec___setitem__(self, *args)
def pop(self):
return _tulipCM.stdVec_pop(self)
def append(self, x):
return _tulipCM.stdVec_append(self, x)
def empty(self):
return _tulipCM.stdVec_empty(self)
def size(self):
return _tulipCM.stdVec_size(self)
def swap(self, v):
return _tulipCM.stdVec_swap(self, v)
def begin(self):
return _tulipCM.stdVec_begin(self)
def end(self):
return _tulipCM.stdVec_end(self)
def rbegin(self):
return _tulipCM.stdVec_rbegin(self)
def rend(self):
return _tulipCM.stdVec_rend(self)
def clear(self):
return _tulipCM.stdVec_clear(self)
def get_allocator(self):
return _tulipCM.stdVec_get_allocator(self)
def pop_back(self):
return _tulipCM.stdVec_pop_back(self)
def erase(self, *args):
return _tulipCM.stdVec_erase(self, *args)
def __init__(self, *args):
this = _tulipCM.new_stdVec(*args)
try:
self.this.append(this)
except Exception:
self.this = this
def push_back(self, x):
return _tulipCM.stdVec_push_back(self, x)
def front(self):
return _tulipCM.stdVec_front(self)
def back(self):
return _tulipCM.stdVec_back(self)
def assign(self, n, x):
return _tulipCM.stdVec_assign(self, n, x)
def resize(self, *args):
return _tulipCM.stdVec_resize(self, *args)
def insert(self, *args):
return _tulipCM.stdVec_insert(self, *args)
def reserve(self, n):
return _tulipCM.stdVec_reserve(self, n)
def capacity(self):
return _tulipCM.stdVec_capacity(self)
__swig_destroy__ = _tulipCM.delete_stdVec
__del__ = lambda self: None
stdVec_swigregister = _tulipCM.stdVec_swigregister
stdVec_swigregister(stdVec)
class stdIntVec(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, stdIntVec, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, stdIntVec, name)
__repr__ = _swig_repr
def iterator(self):
return _tulipCM.stdIntVec_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _tulipCM.stdIntVec___nonzero__(self)
def __bool__(self):
return _tulipCM.stdIntVec___bool__(self)
def __len__(self):
return _tulipCM.stdIntVec___len__(self)
def __getslice__(self, i, j):
return _tulipCM.stdIntVec___getslice__(self, i, j)
def __setslice__(self, *args):
return _tulipCM.stdIntVec___setslice__(self, *args)
def __delslice__(self, i, j):
return _tulipCM.stdIntVec___delslice__(self, i, j)
def __delitem__(self, *args):
return _tulipCM.stdIntVec___delitem__(self, *args)
def __getitem__(self, *args):
return _tulipCM.stdIntVec___getitem__(self, *args)
def __setitem__(self, *args):
return _tulipCM.stdIntVec___setitem__(self, *args)
def pop(self):
return _tulipCM.stdIntVec_pop(self)
def append(self, x):
return _tulipCM.stdIntVec_append(self, x)
def empty(self):
return _tulipCM.stdIntVec_empty(self)
def size(self):
return _tulipCM.stdIntVec_size(self)
def swap(self, v):
return _tulipCM.stdIntVec_swap(self, v)
def begin(self):
return _tulipCM.stdIntVec_begin(self)
def end(self):
return _tulipCM.stdIntVec_end(self)
def rbegin(self):
return _tulipCM.stdIntVec_rbegin(self)
def rend(self):
return _tulipCM.stdIntVec_rend(self)
def clear(self):
return _tulipCM.stdIntVec_clear(self)
def get_allocator(self):
return _tulipCM.stdIntVec_get_allocator(self)
def pop_back(self):
return _tulipCM.stdIntVec_pop_back(self)
def erase(self, *args):
return _tulipCM.stdIntVec_erase(self, *args)
def __init__(self, *args):
this = _tulipCM.new_stdIntVec(*args)
try:
self.this.append(this)
except Exception:
self.this = this
def push_back(self, x):
return _tulipCM.stdIntVec_push_back(self, x)
def front(self):
return _tulipCM.stdIntVec_front(self)
def back(self):
return _tulipCM.stdIntVec_back(self)
def assign(self, n, x):
return _tulipCM.stdIntVec_assign(self, n, x)
def resize(self, *args):
return _tulipCM.stdIntVec_resize(self, *args)
def insert(self, *args):
return _tulipCM.stdIntVec_insert(self, *args)
def reserve(self, n):
return _tulipCM.stdIntVec_reserve(self, n)
def capacity(self):
return _tulipCM.stdIntVec_capacity(self)
__swig_destroy__ = _tulipCM.delete_stdIntVec
__del__ = lambda self: None
stdIntVec_swigregister = _tulipCM.stdIntVec_swigregister
stdIntVec_swigregister(stdIntVec)
class stdMat(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, stdMat, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, stdMat, name)
__repr__ = _swig_repr
def iterator(self):
return _tulipCM.stdMat_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _tulipCM.stdMat___nonzero__(self)
def __bool__(self):
return _tulipCM.stdMat___bool__(self)
def __len__(self):
return _tulipCM.stdMat___len__(self)
def __getslice__(self, i, j):
return _tulipCM.stdMat___getslice__(self, i, j)
def __setslice__(self, *args):
return _tulipCM.stdMat___setslice__(self, *args)
def __delslice__(self, i, j):
return _tulipCM.stdMat___delslice__(self, i, j)
def __delitem__(self, *args):
return _tulipCM.stdMat___delitem__(self, *args)
def __getitem__(self, *args):
return _tulipCM.stdMat___getitem__(self, *args)
def __setitem__(self, *args):
return _tulipCM.stdMat___setitem__(self, *args)
def pop(self):
return _tulipCM.stdMat_pop(self)
def append(self, x):
return _tulipCM.stdMat_append(self, x)
def empty(self):
return _tulipCM.stdMat_empty(self)
def size(self):
return _tulipCM.stdMat_size(self)
def swap(self, v):
return _tulipCM.stdMat_swap(self, v)
def begin(self):
return _tulipCM.stdMat_begin(self)
def end(self):
return _tulipCM.stdMat_end(self)
def rbegin(self):
return _tulipCM.stdMat_rbegin(self)
def rend(self):
return _tulipCM.stdMat_rend(self)
def clear(self):
return _tulipCM.stdMat_clear(self)
def get_allocator(self):
return _tulipCM.stdMat_get_allocator(self)
def pop_back(self):
return _tulipCM.stdMat_pop_back(self)
def erase(self, *args):
return _tulipCM.stdMat_erase(self, *args)
def __init__(self, *args):
this = _tulipCM.new_stdMat(*args)
try:
self.this.append(this)
except Exception:
self.this = this
def push_back(self, x):
return _tulipCM.stdMat_push_back(self, x)
def front(self):
return _tulipCM.stdMat_front(self)
def back(self):
return _tulipCM.stdMat_back(self)
def assign(self, n, x):
return _tulipCM.stdMat_assign(self, n, x)
def resize(self, *args):
return _tulipCM.stdMat_resize(self, *args)
def insert(self, *args):
return _tulipCM.stdMat_insert(self, *args)
def reserve(self, n):
return _tulipCM.stdMat_reserve(self, n)
def capacity(self):
return _tulipCM.stdMat_capacity(self)
__swig_destroy__ = _tulipCM.delete_stdMat
__del__ = lambda self: None
stdMat_swigregister = _tulipCM.stdMat_swigregister
stdMat_swigregister(stdMat)
class stdStringVec(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, stdStringVec, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, stdStringVec, name)
__repr__ = _swig_repr
def iterator(self):
return _tulipCM.stdStringVec_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _tulipCM.stdStringVec___nonzero__(self)
def __bool__(self):
return _tulipCM.stdStringVec___bool__(self)
def __len__(self):
return _tulipCM.stdStringVec___len__(self)
def __getslice__(self, i, j):
return _tulipCM.stdStringVec___getslice__(self, i, j)
def __setslice__(self, *args):
return _tulipCM.stdStringVec___setslice__(self, *args)
def __delslice__(self, i, j):
return _tulipCM.stdStringVec___delslice__(self, i, j)
def __delitem__(self, *args):
return _tulipCM.stdStringVec___delitem__(self, *args)
def __getitem__(self, *args):
return _tulipCM.stdStringVec___getitem__(self, *args)
def __setitem__(self, *args):
return _tulipCM.stdStringVec___setitem__(self, *args)
def pop(self):
return _tulipCM.stdStringVec_pop(self)
def append(self, x):
return _tulipCM.stdStringVec_append(self, x)
def empty(self):
return _tulipCM.stdStringVec_empty(self)
def size(self):
return _tulipCM.stdStringVec_size(self)
def swap(self, v):
return _tulipCM.stdStringVec_swap(self, v)
def begin(self):
return _tulipCM.stdStringVec_begin(self)
def end(self):
return _tulipCM.stdStringVec_end(self)
def rbegin(self):
return _tulipCM.stdStringVec_rbegin(self)
def rend(self):
return _tulipCM.stdStringVec_rend(self)
def clear(self):
return _tulipCM.stdStringVec_clear(self)
def get_allocator(self):
return _tulipCM.stdStringVec_get_allocator(self)
def pop_back(self):
return _tulipCM.stdStringVec_pop_back(self)
def erase(self, *args):
return _tulipCM.stdStringVec_erase(self, *args)
def __init__(self, *args):
this = _tulipCM.new_stdStringVec(*args)
try:
self.this.append(this)
except Exception:
self.this = this
def push_back(self, x):
return _tulipCM.stdStringVec_push_back(self, x)
def front(self):
return _tulipCM.stdStringVec_front(self)
def back(self):
return _tulipCM.stdStringVec_back(self)
def assign(self, n, x):
return _tulipCM.stdStringVec_assign(self, n, x)
def resize(self, *args):
return _tulipCM.stdStringVec_resize(self, *args)
def insert(self, *args):
return _tulipCM.stdStringVec_insert(self, *args)
def reserve(self, n):
return _tulipCM.stdStringVec_reserve(self, n)
def capacity(self):
return _tulipCM.stdStringVec_capacity(self)
__swig_destroy__ = _tulipCM.delete_stdStringVec
__del__ = lambda self: None
stdStringVec_swigregister = _tulipCM.stdStringVec_swigregister
stdStringVec_swigregister(stdStringVec)
class stdStringMat(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, stdStringMat, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, stdStringMat, name)
__repr__ = _swig_repr
def iterator(self):
return _tulipCM.stdStringMat_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _tulipCM.stdStringMat___nonzero__(self)
def __bool__(self):
return _tulipCM.stdStringMat___bool__(self)
def __len__(self):
return _tulipCM.stdStringMat___len__(self)
def __getslice__(self, i, j):
return _tulipCM.stdStringMat___getslice__(self, i, j)
def __setslice__(self, *args):
return _tulipCM.stdStringMat___setslice__(self, *args)
def __delslice__(self, i, j):
return _tulipCM.stdStringMat___delslice__(self, i, j)
def __delitem__(self, *args):
return _tulipCM.stdStringMat___delitem__(self, *args)
def __getitem__(self, *args):
return _tulipCM.stdStringMat___getitem__(self, *args)
def __setitem__(self, *args):
return _tulipCM.stdStringMat___setitem__(self, *args)
def pop(self):
return _tulipCM.stdStringMat_pop(self)
def append(self, x):
return _tulipCM.stdStringMat_append(self, x)
def empty(self):
return _tulipCM.stdStringMat_empty(self)
def size(self):
return _tulipCM.stdStringMat_size(self)
def swap(self, v):
return _tulipCM.stdStringMat_swap(self, v)
def begin(self):
return _tulipCM.stdStringMat_begin(self)
def end(self):
return _tulipCM.stdStringMat_end(self)
def rbegin(self):
return _tulipCM.stdStringMat_rbegin(self)
def rend(self):
return _tulipCM.stdStringMat_rend(self)
def clear(self):
return _tulipCM.stdStringMat_clear(self)
def get_allocator(self):
return _tulipCM.stdStringMat_get_allocator(self)
def pop_back(self):
return _tulipCM.stdStringMat_pop_back(self)
def erase(self, *args):
return _tulipCM.stdStringMat_erase(self, *args)
def __init__(self, *args):
this = _tulipCM.new_stdStringMat(*args)
try:
self.this.append(this)
except Exception:
self.this = this
def push_back(self, x):
return _tulipCM.stdStringMat_push_back(self, x)
def front(self):
return _tulipCM.stdStringMat_front(self)
def back(self):
return _tulipCM.stdStringMat_back(self)
def assign(self, n, x):
return _tulipCM.stdStringMat_assign(self, n, x)
def resize(self, *args):
return _tulipCM.stdStringMat_resize(self, *args)
def insert(self, *args):
return _tulipCM.stdStringMat_insert(self, *args)
def reserve(self, n):
return _tulipCM.stdStringMat_reserve(self, n)
def capacity(self):
return _tulipCM.stdStringMat_capacity(self)
__swig_destroy__ = _tulipCM.delete_stdStringMat
__del__ = lambda self: None
stdStringMat_swigregister = _tulipCM.stdStringMat_swigregister
stdStringMat_swigregister(stdStringMat)
# This file is compatible with both classic and new-style classes.
| 36.969503
| 194
| 0.743757
| 7,844
| 75,159
| 6.587965
| 0.060938
| 0.094841
| 0.047372
| 0.016255
| 0.636098
| 0.561305
| 0.518519
| 0.45257
| 0.372359
| 0.277924
| 0
| 0.007379
| 0.17596
| 75,159
| 2,032
| 195
| 36.987697
| 0.826993
| 0.003912
| 0
| 0.429573
| 1
| 0
| 0.017875
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.265774
| false
| 0.001275
| 0.005736
| 0.244742
| 0.670491
| 0.003187
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
9102b9ee05d80026cd0bdd7cff3514ea89c543f9
| 100
|
py
|
Python
|
config/__init__.py
|
LiuYi217/vxapp
|
5a5ba56b80a569359f32ade3b0af10bbbb212ed4
|
[
"MIT"
] | null | null | null |
config/__init__.py
|
LiuYi217/vxapp
|
5a5ba56b80a569359f32ade3b0af10bbbb212ed4
|
[
"MIT"
] | null | null | null |
config/__init__.py
|
LiuYi217/vxapp
|
5a5ba56b80a569359f32ade3b0af10bbbb212ed4
|
[
"MIT"
] | null | null | null |
#!/usr/bin/python
# encoding: utf-8
"""
作者:糖葫芦
创建时间:2020/3/2918:58
文件:__init__.py.py
IDE:PyCharm
"""
| 12.5
| 19
| 0.68
| 19
| 100
| 3.368421
| 0.947368
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.131868
| 0.09
| 100
| 8
| 20
| 12.5
| 0.571429
| 0.89
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
91309b949f0cde1b1460060470a331a149d9e87e
| 168
|
py
|
Python
|
tests/src/TestRunerDisplay.py
|
buxx/synergine
|
da05d762cdbc993362807d4851e1ca74784438ae
|
[
"Apache-2.0"
] | 6
|
2015-04-03T08:04:22.000Z
|
2016-11-13T22:47:11.000Z
|
tests/src/TestRunerDisplay.py
|
buxx/synergine
|
da05d762cdbc993362807d4851e1ca74784438ae
|
[
"Apache-2.0"
] | 2
|
2019-10-21T15:41:39.000Z
|
2021-06-10T14:15:27.000Z
|
tests/src/TestRunerDisplay.py
|
buxx/synergine
|
da05d762cdbc993362807d4851e1ca74784438ae
|
[
"Apache-2.0"
] | 2
|
2015-02-27T12:05:51.000Z
|
2016-05-11T07:25:20.000Z
|
from synergine.test.TestDisplay import TestDisplay
class TestRunerDisplay(TestDisplay):
_name = 'test_runner'
def need_to_run_core(self):
return True
| 21
| 50
| 0.75
| 20
| 168
| 6.05
| 0.85
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.184524
| 168
| 8
| 51
| 21
| 0.883212
| 0
| 0
| 0
| 0
| 0
| 0.065089
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.2
| 0.2
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
914b3f94a7f3f347289c9954fca27bd04dc38ad3
| 1,427
|
py
|
Python
|
library/python/setup.py
|
safchain/contrail-sandesh
|
a826c88e85ef7176095468ebb0aa337a1470e34a
|
[
"Apache-2.0"
] | null | null | null |
library/python/setup.py
|
safchain/contrail-sandesh
|
a826c88e85ef7176095468ebb0aa337a1470e34a
|
[
"Apache-2.0"
] | null | null | null |
library/python/setup.py
|
safchain/contrail-sandesh
|
a826c88e85ef7176095468ebb0aa337a1470e34a
|
[
"Apache-2.0"
] | null | null | null |
#
# Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
#
from setuptools import setup
setup(
name='sandesh',
version='0.1dev',
packages = [
'pysandesh',
'pysandesh.protocol',
'pysandesh.transport',
'pysandesh.gen_py',
'pysandesh.gen_py.sandesh',
'pysandesh.gen_py.sandesh_alarm',
'pysandesh.gen_py.sandesh_ctrl',
'pysandesh.gen_py.sandesh_uve',
'pysandesh.gen_py.sandesh_uve.io',
'pysandesh.gen_py.sandesh_trace',
'pysandesh.gen_py.process_info',
],
package_data={
'pysandesh':['webs/*.xsl','webs/js/*.js','webs/css/*.css','webs/css/images/*.png'],
'pysandesh.gen_py.sandesh_uve':['*.html', '*.css', '*.xml'],
'pysandesh.gen_py.sandesh_alarm':['*.html', '*.css', '*.xml'],
'pysandesh.gen_py.sandesh_uve.io':['*.html', '*.css', '*.xml'],
'pysandesh.gen_py.sandesh_ctrl' : ['*.html', '*.css', '*.xml'],
'pysandesh.gen_py.sandesh_trace':['*.html', '*.css', '*.xml'],
'pysandesh.gen_py.process_info':['*.html', '*.css', '*.xml'],
},
long_description="Sandesh python Implementation",
install_requires=[
'gevent',
]
)
| 38.567568
| 101
| 0.494744
| 135
| 1,427
| 5.014815
| 0.355556
| 0.248154
| 0.289513
| 0.341211
| 0.522895
| 0.264402
| 0.183161
| 0
| 0
| 0
| 0
| 0.00625
| 0.32726
| 1,427
| 36
| 102
| 39.638889
| 0.698958
| 0.043448
| 0
| 0
| 0
| 0
| 0.47759
| 0.293167
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.032258
| 0
| 0.032258
| 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
| 0
| 0
| 0
| 0
|
0
| 4
|
914ba74f3b77454e72fee7a5fd2d4063ba1b2a10
| 68
|
py
|
Python
|
HelloWorld.py
|
3point0/PythonPractice
|
0dd093bb9e38718db71cd38b393538a4b9cd45d0
|
[
"MIT"
] | null | null | null |
HelloWorld.py
|
3point0/PythonPractice
|
0dd093bb9e38718db71cd38b393538a4b9cd45d0
|
[
"MIT"
] | null | null | null |
HelloWorld.py
|
3point0/PythonPractice
|
0dd093bb9e38718db71cd38b393538a4b9cd45d0
|
[
"MIT"
] | null | null | null |
# First Program by Sanjay Kaushal Mudragada !!
print("hello world")
| 22.666667
| 46
| 0.75
| 9
| 68
| 5.666667
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.147059
| 68
| 2
| 47
| 34
| 0.87931
| 0.647059
| 0
| 0
| 0
| 0
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
e66db771d3bab453c41d6be626ce05e6d3c71bba
| 102
|
py
|
Python
|
src/python/WMCore/Agent/__init__.py
|
khurtado/WMCore
|
f74e252412e49189a92962945a94f93bec81cd1e
|
[
"Apache-2.0"
] | 21
|
2015-11-19T16:18:45.000Z
|
2021-12-02T18:20:39.000Z
|
src/python/WMCore/Agent/__init__.py
|
khurtado/WMCore
|
f74e252412e49189a92962945a94f93bec81cd1e
|
[
"Apache-2.0"
] | 5,671
|
2015-01-06T14:38:52.000Z
|
2022-03-31T22:11:14.000Z
|
src/python/WMCore/Agent/__init__.py
|
khurtado/WMCore
|
f74e252412e49189a92962945a94f93bec81cd1e
|
[
"Apache-2.0"
] | 67
|
2015-01-21T15:55:38.000Z
|
2022-02-03T19:53:13.000Z
|
#!/usr/bin/env python
"""
__init__
Module containing common components for creating
components.
"""
| 11.333333
| 48
| 0.745098
| 12
| 102
| 6
| 0.916667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.137255
| 102
| 8
| 49
| 12.75
| 0.818182
| 0.892157
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e697b375499c8456abc1ed8276f7ba4c54e3e122
| 65
|
py
|
Python
|
second.py
|
qqadadas/python0831
|
6460da19edce6a84383f113f512108b63cb42d1e
|
[
"Apache-2.0"
] | 1
|
2020-09-24T06:38:36.000Z
|
2020-09-24T06:38:36.000Z
|
second.py
|
qqadadas/python0831
|
6460da19edce6a84383f113f512108b63cb42d1e
|
[
"Apache-2.0"
] | null | null | null |
second.py
|
qqadadas/python0831
|
6460da19edce6a84383f113f512108b63cb42d1e
|
[
"Apache-2.0"
] | 1
|
2020-09-24T06:38:37.000Z
|
2020-09-24T06:38:37.000Z
|
print("在dev分支中添加代码")
print("在master分支中")
print("在dev分支中添加第二行代码")
| 16.25
| 23
| 0.769231
| 6
| 65
| 8.333333
| 0.666667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.046154
| 65
| 3
| 24
| 21.666667
| 0.806452
| 0
| 0
| 0
| 0
| 0
| 0.538462
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.