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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bd63af2c1e4834bbb9ff2fad3ed5df71b5da1e4b | 466 | py | Python | business_register/migrations/0090_auto_20210423_1455.py | OlexandrTopuzov/Data_converter | 0ac2319ccaae790af35ab2202724c65d83d32ecc | [
"MIT"
] | null | null | null | business_register/migrations/0090_auto_20210423_1455.py | OlexandrTopuzov/Data_converter | 0ac2319ccaae790af35ab2202724c65d83d32ecc | [
"MIT"
] | null | null | null | business_register/migrations/0090_auto_20210423_1455.py | OlexandrTopuzov/Data_converter | 0ac2319ccaae790af35ab2202724c65d83d32ecc | [
"MIT"
] | null | null | null | # Generated by Django 3.0.7 on 2021-04-23 14:55
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('business_register', '0089_auto_20210419_1240'),
]
operations = [
migrations.RemoveField(
model_name='companysanction',
name='is_foreign',
),
migrations.RemoveField(
model_name='personsanction',
name='is_foreign',
),
]
| 21.181818 | 57 | 0.592275 | 45 | 466 | 5.955556 | 0.733333 | 0.156716 | 0.19403 | 0.223881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095385 | 0.302575 | 466 | 21 | 58 | 22.190476 | 0.729231 | 0.096567 | 0 | 0.4 | 1 | 0 | 0.212411 | 0.054893 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 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 | 0 | 0 | 0 | 3 |
bda5f424c720a7fa248c5c20f416a40ad9c2a278 | 1,321 | py | Python | tests/test_minnx.py | johnyf/gr1py | debbd78eb6788d2bec4752d76a2bc38972971d4b | [
"BSD-3-Clause"
] | 9 | 2015-10-09T00:29:58.000Z | 2022-03-27T15:24:27.000Z | tests/test_minnx.py | johnyf/gr1py | debbd78eb6788d2bec4752d76a2bc38972971d4b | [
"BSD-3-Clause"
] | 4 | 2015-11-16T03:16:48.000Z | 2020-02-24T09:21:07.000Z | tests/test_minnx.py | johnyf/gr1py | debbd78eb6788d2bec4752d76a2bc38972971d4b | [
"BSD-3-Clause"
] | 4 | 2015-12-28T21:16:22.000Z | 2021-03-04T21:25:00.000Z | from gr1py.minnx import DiGraph
class DiGraph_test(object):
def setUp(self):
self.G = DiGraph()
def tearDown(self):
self.G = None
def test_add_remove_nodes(self):
assert self.G.number_of_nodes() == 0
self.G.add_node(0)
assert self.G.number_of_nodes() == 1
self.G.add_nodes_from(range(10))
assert self.G.number_of_nodes() == 10
self.G.remove_node(0)
assert self.G.number_of_nodes() == 9
def test_add_remove_edges(self):
assert self.G.number_of_nodes() == 0
self.G.add_edge(0,1)
assert self.G.number_of_nodes() == 2
self.G.add_edge(0,2)
assert self.G.number_of_nodes() == 3
self.G.remove_edge(0,1)
assert self.G.number_of_nodes() == 3
assert self.G.has_edge(0, 2) and not self.G.has_edge(0, 1)
def test_add_remove_edges_from(self):
assert self.G.number_of_nodes() == 0
self.G.add_edges_from([(0,1), (0,2)])
assert self.G.number_of_nodes() == 3
self.G.add_edges_from([(0,1), (1,3)])
assert self.G.number_of_nodes() == 4
self.G.remove_edges_from([(0,2), (0,1)])
assert self.G.number_of_nodes() == 4
assert self.G.has_edge(1, 3)
assert not self.G.has_edge(0, 2) and not self.G.has_edge(0, 1)
| 33.025 | 70 | 0.603331 | 224 | 1,321 | 3.321429 | 0.151786 | 0.188172 | 0.206989 | 0.274194 | 0.731183 | 0.626344 | 0.590054 | 0.520161 | 0.407258 | 0.326613 | 0 | 0.046606 | 0.252839 | 1,321 | 39 | 71 | 33.871795 | 0.707194 | 0 | 0 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.151515 | false | 0 | 0.030303 | 0 | 0.212121 | 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 | 0 | 0 | 0 | 3 |
bdef8f63123654c93904c1703b39aa8b2ab95984 | 145 | py | Python | core/apps.py | fbsamples/cp_reference | 028b384767d06158a64be8cbb1af613e2f3c881e | [
"MIT"
] | 2 | 2021-09-05T04:21:33.000Z | 2021-11-03T20:56:46.000Z | core/apps.py | fbsamples/cp_reference | 028b384767d06158a64be8cbb1af613e2f3c881e | [
"MIT"
] | null | null | null | core/apps.py | fbsamples/cp_reference | 028b384767d06158a64be8cbb1af613e2f3c881e | [
"MIT"
] | null | null | null | # Copyright 2004-present, Facebook. All Rights Reserved.
from django.apps import AppConfig
class SampleAppConfig(AppConfig):
name = 'core'
| 20.714286 | 56 | 0.765517 | 17 | 145 | 6.529412 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03252 | 0.151724 | 145 | 6 | 57 | 24.166667 | 0.869919 | 0.372414 | 0 | 0 | 0 | 0 | 0.044944 | 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 | 0 | 0 | 0 | 3 |
bdf2bc374991462ea7fcc103bfc6157dc069d3df | 18 | py | Python | pii_generator/production_config.py | AvinashRajPurohit/pii-data-generator | 92482575de2c093f2f49282fe3377924d6a6370d | [
"MIT"
] | 1 | 2021-12-14T23:19:12.000Z | 2021-12-14T23:19:12.000Z | pii_generator/production_config.py | AvinashRajPurohit/pii-data-generator | 92482575de2c093f2f49282fe3377924d6a6370d | [
"MIT"
] | null | null | null | pii_generator/production_config.py | AvinashRajPurohit/pii-data-generator | 92482575de2c093f2f49282fe3377924d6a6370d | [
"MIT"
] | null | null | null | PRODUCTION = True
| 9 | 17 | 0.777778 | 2 | 18 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.933333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
da14c36fc3e459ba35d2ad3b69daa46caff19865 | 798 | py | Python | pywsl/utils/comcalc.py | t-sakai-kure/PNU-Classification | 79a5bf104a53cb6d3498918e435bd88ac5331543 | [
"MIT"
] | 101 | 2018-03-19T04:15:45.000Z | 2022-03-11T01:11:50.000Z | pywsl/utils/comcalc.py | t-sakai-kure/PNU-Classification | 79a5bf104a53cb6d3498918e435bd88ac5331543 | [
"MIT"
] | 8 | 2018-05-31T06:51:41.000Z | 2020-04-03T12:54:04.000Z | pywsl/utils/comcalc.py | t-sakai-kure/PNU-Classification | 79a5bf104a53cb6d3498918e435bd88ac5331543 | [
"MIT"
] | 25 | 2018-03-21T06:00:32.000Z | 2022-03-10T05:10:09.000Z | """
Common calculation.
"""
import numpy as np
#import check
def cv_index(n, n_fold):
index = (np.arange(n, dtype=np.int)*n_fold)//n
return index[np.random.permutation(n)]
def squared_dist(x, c):
# assert x.shape[1] == c.shape[1], "Dimension must be the same."
return np.sum(x**2, axis=1, keepdims=True) \
+ np.sum(c**2, axis=1, keepdims=True).T \
- 2*x.dot(c.T)
def gauss_basis(dist2, sigma):
return np.exp(-dist2/(2*sigma**2))
def homo_coord(x):
return np.c_[x, np.ones(x.shape[0])]
def bin_clf_err(y_h, y_t, prior=None):
# check y_t
if prior:
f_p = np.mean(y_h[y_t == +1] <= 0)
f_n = np.mean(y_h[y_t == -1] >= 0)
err = prior*f_p + (1-prior)*f_n
else:
err = np.mean(y_h*y_t <= 0)
return err
| 17.733333 | 67 | 0.571429 | 149 | 798 | 2.912752 | 0.389262 | 0.023041 | 0.02765 | 0.036866 | 0.16129 | 0.078341 | 0.0553 | 0.0553 | 0 | 0 | 0 | 0.029851 | 0.244361 | 798 | 44 | 68 | 18.136364 | 0.689884 | 0.135338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.05 | 0.15 | 0.55 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
da1ee8899091f26638d1e8957e3e526058d84062 | 2,376 | py | Python | src/main.py | cbn-alpin/gefiproj-api | 35e3f00dd71bcdd9ad751307ac379aa78d1545cf | [
"MIT"
] | 2 | 2020-10-15T15:16:08.000Z | 2020-11-06T10:41:13.000Z | src/main.py | cbn-alpin/gefiproj-api | 35e3f00dd71bcdd9ad751307ac379aa78d1545cf | [
"MIT"
] | 1 | 2020-11-14T19:40:14.000Z | 2020-11-14T19:40:14.000Z | src/main.py | cbn-alpin/gefiproj-api | 35e3f00dd71bcdd9ad751307ac379aa78d1545cf | [
"MIT"
] | null | null | null | # Python libraries
from flask import render_template, jsonify
from flask_cors import CORS
# External libraries
from flask_migrate import Migrate
from src.api import create_api, db
from src.api.amounts.resources import resources as amounts_ressources
from src.api.expenses.resources import resources as expenses_ressources
from src.api.exports.export_resources import resources as fundings_export_ressources
from src.api.exports.receipts_export_resources import resources as receipts_export_ressources
from src.api.funders.resources import resources as funders_ressources
from src.api.fundings.resources import resources as fundings_ressources
from src.api.projects.resources import resources as projects_ressources
from src.api.receipts.accountings.resources import resources as receipts_accountings_ressources
from src.api.receipts.previous.resources import resources as receipts_previous_ressources
from src.api.receipts.resources import resources as receipts_ressources
from src.api.users.auth_resources import resources as auth_resources
from src.api.users.resources import resources as users_ressources
# This project files
from src.shared import logging
# Import all models for Migrate
# Initialize logging
logging.setup()
# Creating the Flask application
api = create_api()
# Database migration
migrate = Migrate(api, db)
# TODO: configure allowed url for CORS with config file parameters.
CORS(api)
# Normal routes
@api.route('/')
def get_swagger_docs():
return render_template('swaggerui.html')
@api.errorhandler(404)
def page_not_found(e):
return jsonify({
'status': 'error',
'type': 'NOT_FOUND',
'code': 'RESOURCE_NOT_FOUND',
'message': 'The requested URL was not found on the server. You can check available endpoints at /'
}), 404
# Register blueprints
api.register_blueprint(fundings_ressources)
api.register_blueprint(users_ressources)
api.register_blueprint(auth_resources)
api.register_blueprint(projects_ressources)
api.register_blueprint(funders_ressources)
api.register_blueprint(receipts_ressources)
api.register_blueprint(amounts_ressources)
api.register_blueprint(expenses_ressources)
api.register_blueprint(fundings_export_ressources)
api.register_blueprint(receipts_export_ressources)
api.register_blueprint(receipts_accountings_ressources)
api.register_blueprint(receipts_previous_ressources)
| 34.941176 | 106 | 0.829545 | 314 | 2,376 | 6.082803 | 0.280255 | 0.051309 | 0.068063 | 0.163351 | 0.287958 | 0.046073 | 0 | 0 | 0 | 0 | 0 | 0.002824 | 0.10564 | 2,376 | 67 | 107 | 35.462687 | 0.896 | 0.106481 | 0 | 0 | 0 | 0 | 0.072443 | 0 | 0 | 0 | 0 | 0.014925 | 0 | 1 | 0.045455 | false | 0 | 0.386364 | 0.045455 | 0.477273 | 0.272727 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
da61807c95189499683a2aaf815909ebdb205051 | 245 | py | Python | test/test_example_app.py | silx-kit/h5grove | 97dbbfd86c9498744ff387b49e6aa484d2f78cbb | [
"MIT"
] | 2 | 2022-02-04T18:56:52.000Z | 2022-02-18T04:46:18.000Z | test/test_example_app.py | silx-kit/h5grove | 97dbbfd86c9498744ff387b49e6aa484d2f78cbb | [
"MIT"
] | 19 | 2021-06-29T13:03:30.000Z | 2022-03-25T12:58:16.000Z | test/test_example_app.py | silx-kit/h5grove | 97dbbfd86c9498744ff387b49e6aa484d2f78cbb | [
"MIT"
] | null | null | null | import pytest
import base_test
class TestExampleAppEndpoints(base_test.BaseTestEndpoints):
"""Test endpoints of example app run as subprocess"""
@pytest.fixture
def server(self, subprocess_server):
yield subprocess_server
| 22.272727 | 59 | 0.759184 | 28 | 245 | 6.5 | 0.678571 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17551 | 245 | 10 | 60 | 24.5 | 0.90099 | 0.191837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | 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 | 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 | 3 |
da69c8a79f07a9e91470b01766307e725c9782ef | 99 | py | Python | agc/agc012/agc012a.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | 1 | 2019-08-21T00:49:34.000Z | 2019-08-21T00:49:34.000Z | agc/agc012/agc012a.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | agc/agc012/agc012a.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | N = int(input())
a = list(map(int, input().split()))
a.sort(reverse=True)
print(sum(a[1::2][:N]))
| 16.5 | 35 | 0.585859 | 19 | 99 | 3.052632 | 0.736842 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.10101 | 99 | 5 | 36 | 19.8 | 0.629213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
da6d2b7d0b99d7bf45c0e5d3b63d1791939f629b | 3,802 | py | Python | python/ppx/Sample.py | etalumis/ppx | 27b4d4eec12ff37ee7dc06d436c3d8f297794937 | [
"BSD-2-Clause"
] | null | null | null | python/ppx/Sample.py | etalumis/ppx | 27b4d4eec12ff37ee7dc06d436c3d8f297794937 | [
"BSD-2-Clause"
] | null | null | null | python/ppx/Sample.py | etalumis/ppx | 27b4d4eec12ff37ee7dc06d436c3d8f297794937 | [
"BSD-2-Clause"
] | 1 | 2019-09-05T21:31:15.000Z | 2019-09-05T21:31:15.000Z | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: ppx
import flatbuffers
from flatbuffers.compat import import_numpy
np = import_numpy()
class Sample(object):
__slots__ = ['_tab']
@classmethod
def GetRootAs(cls, buf, offset=0):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = Sample()
x.Init(buf, n + offset)
return x
@classmethod
def GetRootAsSample(cls, buf, offset=0):
"""This method is deprecated. Please switch to GetRootAs."""
return cls.GetRootAs(buf, offset)
@classmethod
def SampleBufferHasIdentifier(cls, buf, offset, size_prefixed=False):
return flatbuffers.util.BufferHasIdentifier(buf, offset, b"\x50\x50\x58\x46", size_prefixed=size_prefixed)
# Sample
def Init(self, buf, pos):
self._tab = flatbuffers.table.Table(buf, pos)
# Sample
def Address(self):
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
if o != 0:
return self._tab.String(o + self._tab.Pos)
return None
# Sample
def Name(self):
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
if o != 0:
return self._tab.String(o + self._tab.Pos)
return None
# Sample
def DistributionType(self):
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
if o != 0:
return self._tab.Get(flatbuffers.number_types.Uint8Flags, o + self._tab.Pos)
return 0
# Sample
def Distribution(self):
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10))
if o != 0:
from flatbuffers.table import Table
obj = Table(bytearray(), 0)
self._tab.Union(obj, o)
return obj
return None
# Sample
def Control(self):
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(12))
if o != 0:
return bool(self._tab.Get(flatbuffers.number_types.BoolFlags, o + self._tab.Pos))
return True
def Start(builder): builder.StartObject(5)
def SampleStart(builder):
"""This method is deprecated. Please switch to Start."""
return Start(builder)
def AddAddress(builder, address): builder.PrependUOffsetTRelativeSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(address), 0)
def SampleAddAddress(builder, address):
"""This method is deprecated. Please switch to AddAddress."""
return AddAddress(builder, address)
def AddName(builder, name): builder.PrependUOffsetTRelativeSlot(1, flatbuffers.number_types.UOffsetTFlags.py_type(name), 0)
def SampleAddName(builder, name):
"""This method is deprecated. Please switch to AddName."""
return AddName(builder, name)
def AddDistributionType(builder, distributionType): builder.PrependUint8Slot(2, distributionType, 0)
def SampleAddDistributionType(builder, distributionType):
"""This method is deprecated. Please switch to AddDistributionType."""
return AddDistributionType(builder, distributionType)
def AddDistribution(builder, distribution): builder.PrependUOffsetTRelativeSlot(3, flatbuffers.number_types.UOffsetTFlags.py_type(distribution), 0)
def SampleAddDistribution(builder, distribution):
"""This method is deprecated. Please switch to AddDistribution."""
return AddDistribution(builder, distribution)
def AddControl(builder, control): builder.PrependBoolSlot(4, control, 1)
def SampleAddControl(builder, control):
"""This method is deprecated. Please switch to AddControl."""
return AddControl(builder, control)
def End(builder): return builder.EndObject()
def SampleEnd(builder):
"""This method is deprecated. Please switch to End."""
return End(builder) | 39.604167 | 147 | 0.702262 | 449 | 3,802 | 5.85078 | 0.238307 | 0.03997 | 0.083746 | 0.066997 | 0.355539 | 0.342596 | 0.267606 | 0.185383 | 0.152646 | 0.152646 | 0 | 0.012052 | 0.19253 | 3,802 | 96 | 148 | 39.604167 | 0.843648 | 0.149921 | 0 | 0.191176 | 1 | 0 | 0.006279 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.338235 | false | 0 | 0.058824 | 0.029412 | 0.720588 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
da8b5bfa5f13842b91613f1ca471166993348c53 | 228 | py | Python | template/src/package-name/__main__.py | craigahobbs/python-template | 76c246a8ddb232b36578a377ce309470f43c7a54 | [
"MIT"
] | null | null | null | template/src/package-name/__main__.py | craigahobbs/python-template | 76c246a8ddb232b36578a377ce309470f43c7a54 | [
"MIT"
] | null | null | null | template/src/package-name/__main__.py | craigahobbs/python-template | 76c246a8ddb232b36578a377ce309470f43c7a54 | [
"MIT"
] | null | null | null | # Licensed under the MIT License
# https://github.com/{{github}}/{{package}}/blob/main/LICENSE
"""
{{package}} top-level script environment
"""
from .main import main
if __name__ == '__main__': # pragma: no cover
main()
| 17.538462 | 61 | 0.671053 | 29 | 228 | 5 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153509 | 228 | 12 | 62 | 19 | 0.751295 | 0.653509 | 0 | 0 | 0 | 0 | 0.115942 | 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 | 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 | 3 |
da9305561b9289cd9e52729a47766c67a83c97c3 | 2,184 | py | Python | 优化算法/AA.py | shao1chuan/pythonbook | cd9877d04e1e11422d38cc051e368d3d9ce2ab45 | [
"MulanPSL-1.0"
] | 95 | 2020-10-11T04:45:46.000Z | 2022-02-25T01:50:40.000Z | 优化算法/AA.py | shao1chuan/pythonbook | cd9877d04e1e11422d38cc051e368d3d9ce2ab45 | [
"MulanPSL-1.0"
] | null | null | null | 优化算法/AA.py | shao1chuan/pythonbook | cd9877d04e1e11422d38cc051e368d3d9ce2ab45 | [
"MulanPSL-1.0"
] | 30 | 2020-11-05T09:01:00.000Z | 2022-03-08T05:58:55.000Z | #coding:utf-8
# https://mp.weixin.qq.com/s/ac-CgZj-avmPBraVvQUuBQ
from __future__ import print_function
import numpy as np
import matplotlib.pyplot as plt
class Function():
def __init__(self):
self.points_x = np.linspace(-20, 20, 1000)
self.points_y = self.f(self.points_x)
def f(self,x):
return (0.15*x)**2 + np.cos(x) + np.sin(3*x)/3 + np.cos(5*x)/5 + np.sin(7*x)/7
def df(self,x):
return (9/200)*x - np.sin(x) -np.sin(5*x) + np.cos(3*x) + np.cos(7*x)
def ddf(self,x):
return (9/200) - np.cos(x) -3*np.sin(x) - 5*np.cos(5*x) -7* np.sin(7*x)
# #
# #
# # # AdaGrad
# # for i in range(15):
# # # 绘制原来的函数
# # plt.plot(points_x, points_y, c="b", alpha=0.5, linestyle="-")
# # # 算法开始
# # lr = pow(1.5,-i)*32
# # delta = 1e-7
# # x = -20
# # r = 0
# # AdaGrad_x, AdaGrad_y = [], []
# # for it in range(1000):
# # AdaGrad_x.append(x), AdaGrad_y.append(f(x))
# # g = df(x)
# # r = r + g*g # 积累平方梯度
# # x = x - lr /(delta + np.sqrt(r)) * g
# #
# # plt.xlim(-20, 20)
# # plt.ylim(-2, 10)
# # plt.plot(AdaGrad_x, AdaGrad_y, c="r", linestyle="-")
# # plt.scatter(AdaGrad_x[-1],AdaGrad_y[-1],90,marker = "x",color="g")
# # plt.title("AdaGrad,lr=%f"%(lr))
# # plt.savefig("AdaGrad,lr=%f"%(lr) + ".png")
# # plt.clf()
# #
# #
# # # RMSProp
# # for i in range(15):
# # # 绘制原来的函数
# # plt.plot(points_x, points_y, c="b", alpha=0.5, linestyle="-")
# # # 算法开始
# # lr = pow(1.5,-i)*32
# # delta = 1e-6
# # rou = 0.8
# # x = -20
# # r = 0
# # RMSProp_x, RMSProp_y = [], []
# # for it in range(1000):
# # RMSProp_x.append(x), RMSProp_y.append(f(x))
# # g = df(x)
# # r = rou * r + (1-rou)*g*g # 积累平方梯度
# # x = x - lr /(delta + np.sqrt(r)) * g
# #
# # plt.xlim(-20, 20)
# # plt.ylim(-2, 10)
# # plt.plot(RMSProp_x, RMSProp_y, c="r", linestyle="-")
# # plt.scatter(RMSProp_x[-1],RMSProp_y[-1],90,marker = "x",color="g")
# # plt.title("RMSProp,lr=%f,rou=%f"%(lr,rou))
# # plt.savefig("RMSProp,lr=%f,rou=%f"%(lr,rou) + ".png")
# # plt.clf()
# #
# #
| 28 | 86 | 0.49359 | 357 | 2,184 | 2.929972 | 0.238095 | 0.017208 | 0.031549 | 0.013384 | 0.468451 | 0.439771 | 0.365201 | 0.328872 | 0.302103 | 0.254302 | 0 | 0.05864 | 0.266026 | 2,184 | 77 | 87 | 28.363636 | 0.593886 | 0.672619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.230769 | 0.230769 | 0.846154 | 0.076923 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
e50d9f5debe92508e38ea7fc2bfe2ea44ae328a1 | 417 | py | Python | crdt/big_cheese.py | Sushant/cheeses | 695aa753db872db92e1534f9f74b9adb129a9470 | [
"MIT"
] | 8 | 2017-11-03T15:34:17.000Z | 2021-03-23T15:49:42.000Z | crdt/big_cheese.py | Sushant/cheeses | 695aa753db872db92e1534f9f74b9adb129a9470 | [
"MIT"
] | null | null | null | crdt/big_cheese.py | Sushant/cheeses | 695aa753db872db92e1534f9f74b9adb129a9470 | [
"MIT"
] | null | null | null | import copy
import json
import uuid
class BigCheese(object):
def __repr__(self):
return self.to_json()
def to_dict(self):
return {}
def to_json(self):
return json.dumps(self.to_dict())
def clone(self):
return copy.deepcopy(self)
@staticmethod
def tag():
return str(uuid.uuid4())
@staticmethod
def node():
return str(uuid.getnode()) | 17.375 | 41 | 0.601918 | 52 | 417 | 4.673077 | 0.423077 | 0.164609 | 0.106996 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003356 | 0.285372 | 417 | 24 | 42 | 17.375 | 0.812081 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 0.888889 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
e5172732b5446ef70cc20c791156c839100d1687 | 70 | py | Python | child/child/__init__.py | kevincon/poetry_editable_dep_script_bug_repro | a7bf04282a649026790dcea0a12fd34a18f09a1e | [
"MIT"
] | null | null | null | child/child/__init__.py | kevincon/poetry_editable_dep_script_bug_repro | a7bf04282a649026790dcea0a12fd34a18f09a1e | [
"MIT"
] | null | null | null | child/child/__init__.py | kevincon/poetry_editable_dep_script_bug_repro | a7bf04282a649026790dcea0a12fd34a18f09a1e | [
"MIT"
] | null | null | null | __version__ = '0.1.0'
def cli():
print("Hello from child CLI!")
| 11.666667 | 34 | 0.6 | 11 | 70 | 3.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0.214286 | 70 | 5 | 35 | 14 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e5470233f9fba92153525b7f1cf20f6ad81596c3 | 140 | py | Python | Codeup/6068.py | lkc263/Algorithm_Study_Python | 5b9a74ecf7e864c861df2280a1bf4b393b0fcbca | [
"MIT"
] | null | null | null | Codeup/6068.py | lkc263/Algorithm_Study_Python | 5b9a74ecf7e864c861df2280a1bf4b393b0fcbca | [
"MIT"
] | null | null | null | Codeup/6068.py | lkc263/Algorithm_Study_Python | 5b9a74ecf7e864c861df2280a1bf4b393b0fcbca | [
"MIT"
] | null | null | null |
score = int(input())
if score >= 90:
print("A")
elif score >= 70:
print("B")
elif score >= 40:
print("C")
else:
print("D") | 12.727273 | 20 | 0.514286 | 21 | 140 | 3.428571 | 0.666667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0.264286 | 140 | 11 | 21 | 12.727273 | 0.640777 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
e54e96f918d05336d9d8c91cd4692bdf7035a10a | 259 | gyp | Python | Ghost-Server-Host/binding.gyp | mlugg/Portal2-GhostServer-Hoster | 26b5f4724786270c519bb2fdb5bcf53d23f73a79 | [
"Apache-2.0"
] | null | null | null | Ghost-Server-Host/binding.gyp | mlugg/Portal2-GhostServer-Hoster | 26b5f4724786270c519bb2fdb5bcf53d23f73a79 | [
"Apache-2.0"
] | null | null | null | Ghost-Server-Host/binding.gyp | mlugg/Portal2-GhostServer-Hoster | 26b5f4724786270c519bb2fdb5bcf53d23f73a79 | [
"Apache-2.0"
] | 1 | 2022-02-12T21:42:34.000Z | 2022-02-12T21:42:34.000Z | {
"targets": [
{
"target_name": "addon",
"sources": ["./main_node.cpp", "./GhostServer/GhostServer/networkmanager.cpp"],
"libraries": ["-lsfml-network", "-lsfml-system", "-lpthread"],
}
]
}
| 25.9 | 92 | 0.467181 | 18 | 259 | 6.611111 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.328185 | 259 | 9 | 93 | 28.777778 | 0.683908 | 0 | 0 | 0 | 0 | 0 | 0.536 | 0.176 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 3 |
e56337068ebdb50eb6502fb44412801fbbb064f7 | 354 | py | Python | agents/agent.py | BenGHolmes/AlphaFour | 21fd34dfaca2899f5a17f323e964e5dab9f1e100 | [
"MIT"
] | 1 | 2021-08-05T04:09:15.000Z | 2021-08-05T04:09:15.000Z | agents/agent.py | BenGHolmes/AlphaFour | 21fd34dfaca2899f5a17f323e964e5dab9f1e100 | [
"MIT"
] | null | null | null | agents/agent.py | BenGHolmes/AlphaFour | 21fd34dfaca2899f5a17f323e964e5dab9f1e100 | [
"MIT"
] | null | null | null | import numpy as np
class Agent(object):
"""Generic Agent class. To be used as a parent class for different implementations."""
def __init__(self) -> None:
pass
def get_move(self, game_board: np.ndarray) -> np.ndarray:
raise NotImplementedError
def handle_invalid_move(self) -> None:
raise NotImplementedError
| 23.6 | 90 | 0.680791 | 45 | 354 | 5.177778 | 0.666667 | 0.06867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234463 | 354 | 14 | 91 | 25.285714 | 0.859779 | 0.225989 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.125 | 0.125 | 0 | 0.625 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
e5869d961fdf886a42b3d324e359eb4fbf925d55 | 838 | py | Python | setup.py | ShishKabab/django-simplecontent | db19eeb85818aba5b0181c3ff26137b33a375969 | [
"BSD-3-Clause"
] | null | null | null | setup.py | ShishKabab/django-simplecontent | db19eeb85818aba5b0181c3ff26137b33a375969 | [
"BSD-3-Clause"
] | null | null | null | setup.py | ShishKabab/django-simplecontent | db19eeb85818aba5b0181c3ff26137b33a375969 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
from distutils.core import setup
setup(
name = "django-simplecontent",
version = "0.1a2",
author = "Vincent den Boer",
author_email = "vincent@shishkabab.net",
description = "A simple way to test static content and templates and writing them to disk when you're finished",
#download_url = TODO,
url = "https://github.com/ShishKabab/django-simplecontent",
packages = ['django_simplecontent', 'django_simplecontent.management', 'django_simplecontent.management.commands'],
package_data = {'django_simplecontent': ['templates/simplecontent/*']},
classifiers = [
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'
]
)
| 34.916667 | 116 | 0.724344 | 93 | 838 | 6.451613 | 0.741935 | 0.19 | 0.096667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004155 | 0.138425 | 838 | 23 | 117 | 36.434783 | 0.82687 | 0.047733 | 0 | 0 | 0 | 0 | 0.683417 | 0.148241 | 0 | 0 | 0 | 0.043478 | 0 | 1 | 0 | true | 0 | 0.05 | 0 | 0.05 | 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 | 1 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e5d29efad04bb91d71e7e14c2787efc6bea67577 | 401 | py | Python | normalizing_flows/flows/identity.py | TanguyUrvoy/normalizing-flows | e485fe0875c117517353a9ab40e19ff951561cfc | [
"MIT"
] | 15 | 2019-10-26T11:00:02.000Z | 2021-05-24T08:39:31.000Z | normalizing_flows/flows/identity.py | TanguyUrvoy/normalizing-flows | e485fe0875c117517353a9ab40e19ff951561cfc | [
"MIT"
] | 2 | 2021-03-26T16:01:13.000Z | 2021-06-09T11:49:48.000Z | normalizing_flows/flows/identity.py | TanguyUrvoy/normalizing-flows | e485fe0875c117517353a9ab40e19ff951561cfc | [
"MIT"
] | 8 | 2020-01-10T21:50:39.000Z | 2022-03-16T21:01:25.000Z | import tensorflow as tf
from .transform import Transform
class Identity(Transform):
def __init__(self, input_shape=None, name='id', *args, **kwargs):
super().__init__(*args, input_shape=input_shape, name=name, has_constant_ldj=True, **kwargs)
def _forward(self, z, *args, **kwargs):
return z, 0.0
def _inverse(self, z, *args, **kwargs):
return z, 0.0 | 33.416667 | 100 | 0.645885 | 55 | 401 | 4.436364 | 0.509091 | 0.122951 | 0.07377 | 0.122951 | 0.196721 | 0.196721 | 0.196721 | 0.196721 | 0 | 0 | 0 | 0.012739 | 0.216958 | 401 | 12 | 101 | 33.416667 | 0.764331 | 0 | 0 | 0.222222 | 0 | 0 | 0.004975 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0.222222 | 0.888889 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
e5d8339683b71dd24c30278e044c4cc91e5c3ec2 | 5,771 | py | Python | tests/test_to_xml.py | kapyshin/paka.cmark | e297fe3ca1855c40ba81f61ae7aa5989a4cce3ad | [
"BSD-3-Clause"
] | 22 | 2017-01-10T09:25:50.000Z | 2020-08-21T01:13:51.000Z | tests/test_to_xml.py | PavloKapyshin/paka.cmark | e297fe3ca1855c40ba81f61ae7aa5989a4cce3ad | [
"BSD-3-Clause"
] | 5 | 2017-03-01T11:09:38.000Z | 2018-10-24T23:16:21.000Z | tests/test_to_xml.py | kapyshin/paka.cmark | e297fe3ca1855c40ba81f61ae7aa5989a4cce3ad | [
"BSD-3-Clause"
] | 7 | 2017-01-07T15:48:25.000Z | 2020-11-15T00:58:59.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import textwrap
import unittest
class ToXMLTest(unittest.TestCase):
SAMPLE = (
"Проверяем *CommonMark*.\n\nВставляем `код`.\nИ другие "
"[штуки](javascript:pwned).\n\n<p>Test of <em>XML</em>.</p>\n\n"
"Проверка---\"test\" -- test.")
def setUp(self):
from paka.cmark import to_xml
self.func = to_xml
def check(self, source, expected, **kwargs):
self.assertEqual(self.func(source, **kwargs), expected)
def test_empty(self):
expected = textwrap.dedent("""\
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document SYSTEM "CommonMark.dtd">
<document xmlns="http://commonmark.org/xml/1.0" />
""")
self.check("", expected)
def test_ascii(self):
expected = textwrap.dedent("""\
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document SYSTEM "CommonMark.dtd">
<document xmlns="http://commonmark.org/xml/1.0">
<paragraph>
<text xml:space="preserve">Hello, XML!</text>
</paragraph>
</document>
""")
self.check("Hello, XML!", expected)
def test_sample(self):
expected = textwrap.dedent("""\
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document SYSTEM "CommonMark.dtd">
<document xmlns="http://commonmark.org/xml/1.0">
<paragraph>
<text xml:space="preserve">Проверяем </text>
<emph>
<text xml:space="preserve">CommonMark</text>
</emph>
<text xml:space="preserve">.</text>
</paragraph>
<paragraph>
<text xml:space="preserve">Вставляем </text>
<code xml:space="preserve">код</code>
<text xml:space="preserve">.</text>
<softbreak />
<text xml:space="preserve">И другие </text>
<link destination="javascript:pwned">
<text xml:space="preserve">штуки</text>
</link>
<text xml:space="preserve">.</text>
</paragraph>
<html_block xml:space="preserve"><p>Test of <em>XML</em>.</p>
</html_block>
<paragraph>
<text xml:space="preserve">Проверка---"test" -- test.</text>
</paragraph>
</document>
""")
self.check(self.SAMPLE, expected)
self.check(self.SAMPLE, expected, sourcepos=False)
def test_sourcepos(self):
expected = textwrap.dedent("""\
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document SYSTEM "CommonMark.dtd">
<document sourcepos="1:1-8:34" xmlns="http://commonmark.org/xml/1.0">
<paragraph sourcepos="1:1-1:32">
<text sourcepos="1:1-1:19" xml:space="preserve">Проверяем </text>
<emph sourcepos="1:20-1:31">
<text sourcepos="1:21-1:30" xml:space="preserve">CommonMark</text>
</emph>
<text sourcepos="1:32-1:32" xml:space="preserve">.</text>
</paragraph>
<paragraph sourcepos="3:1-4:47">
<text sourcepos="3:1-3:19" xml:space="preserve">Вставляем </text>
<code sourcepos="3:21-3:26" xml:space="preserve">код</code>
<text sourcepos="3:28-3:28" xml:space="preserve">.</text>
<softbreak />
<text sourcepos="4:1-4:16" xml:space="preserve">И другие </text>
<link sourcepos="4:17-4:46" destination="javascript:pwned">
<text sourcepos="4:18-4:27" xml:space="preserve">штуки</text>
</link>
<text sourcepos="4:47-4:47" xml:space="preserve">.</text>
</paragraph>
<html_block sourcepos="6:1-6:28" xml:space="preserve"><p>Test of <em>XML</em>.</p>
</html_block>
<paragraph sourcepos="8:1-8:34">
<text sourcepos="8:1-8:34" xml:space="preserve">Проверка---"test" -- test.</text>
</paragraph>
</document>
""")
self.check(self.SAMPLE, expected, sourcepos=True)
def test_smart(self):
expected = textwrap.dedent("""\
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document SYSTEM "CommonMark.dtd">
<document xmlns="http://commonmark.org/xml/1.0">
<paragraph>
<text xml:space="preserve">Проверяем </text>
<emph>
<text xml:space="preserve">CommonMark</text>
</emph>
<text xml:space="preserve">.</text>
</paragraph>
<paragraph>
<text xml:space="preserve">Вставляем </text>
<code xml:space="preserve">код</code>
<text xml:space="preserve">.</text>
<softbreak />
<text xml:space="preserve">И другие </text>
<link destination="javascript:pwned">
<text xml:space="preserve">штуки</text>
</link>
<text xml:space="preserve">.</text>
</paragraph>
<html_block xml:space="preserve"><p>Test of <em>XML</em>.</p>
</html_block>
<paragraph>
<text xml:space="preserve">Проверка—“test” – test.</text>
</paragraph>
</document>
""")
self.check(self.SAMPLE, expected, smart=True)
| 41.517986 | 120 | 0.509444 | 628 | 5,771 | 4.656051 | 0.154459 | 0.093023 | 0.186047 | 0.129959 | 0.754104 | 0.734268 | 0.662791 | 0.614911 | 0.602599 | 0.584815 | 0 | 0.030505 | 0.324034 | 5,771 | 138 | 121 | 41.818841 | 0.718534 | 0.003639 | 0 | 0.64 | 0 | 0.104 | 0.825157 | 0.27627 | 0 | 0 | 0 | 0 | 0.008 | 1 | 0.056 | false | 0 | 0.032 | 0 | 0.104 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e5f13c37af3846e2ce60b04b1aecd25bf60d8a48 | 806 | py | Python | SuperHeroApp/views.py | cs-fullstack-2019-spring/django-fields-widgets-cw-ChelsGreg | 7c98ec32e04524f9c2529d9cff4231a520ccd39b | [
"Apache-2.0"
] | null | null | null | SuperHeroApp/views.py | cs-fullstack-2019-spring/django-fields-widgets-cw-ChelsGreg | 7c98ec32e04524f9c2529d9cff4231a520ccd39b | [
"Apache-2.0"
] | null | null | null | SuperHeroApp/views.py | cs-fullstack-2019-spring/django-fields-widgets-cw-ChelsGreg | 7c98ec32e04524f9c2529d9cff4231a520ccd39b | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from .forms import SuperForm
# Create your views here.
# For form function
def index(request):
# if information is entered
if(request.method =="POST"):
superForm = SuperForm(request.POST)
# so info has to be entered
if superForm.is_valid():
# to save information
superForm.save()
# print in console
print(request.POST)
else:
print("Error!")
# to direct to index page
return render(request, "SuperHeroApp/index.html", {"superForm": SuperForm()})
# to direct to thank you page
def thankyou(request):
return render(request, "SuperHeroApp/thankyou.html")
# to direct to welcome page
def welcome(request):
return render(request, "SuperHeroApp/welcome.html") | 26.866667 | 81 | 0.653846 | 97 | 806 | 5.42268 | 0.453608 | 0.045627 | 0.057034 | 0.176806 | 0.144487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24938 | 806 | 30 | 82 | 26.866667 | 0.869421 | 0.258065 | 0 | 0 | 0 | 0 | 0.157895 | 0.125637 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.133333 | 0.133333 | 0.533333 | 0.133333 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
f9036ee370849426d8bf809a14f5759ea3364b40 | 598 | py | Python | analysis/selected_articles/termine_types.py | pesobreiro/SLRDropout | e10de84e6a45952f654db671d684ca14e0c5ae06 | [
"MIT"
] | 1 | 2021-03-14T16:25:59.000Z | 2021-03-14T16:25:59.000Z | analysis/selected_articles/termine_types.py | pesobreiro/SLRDropout | e10de84e6a45952f654db671d684ca14e0c5ae06 | [
"MIT"
] | null | null | null | analysis/selected_articles/termine_types.py | pesobreiro/SLRDropout | e10de84e6a45952f654db671d684ca14e0c5ae06 | [
"MIT"
] | null | null | null | ##################################################
# file: termine_types.py
#
# schema types generated by "ZSI.generate.wsdl2python.WriteServiceModule"
# /usr/bin/wsdl2py http://www.nactem.ac.uk/software/termine/webservice/termine.wsdl
#
##################################################
import ZSI
import ZSI.TCcompound
from ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GTD, GED
##############################
# targetNamespace
# urn:termine
##############################
class ns0:
targetNamespace = "urn:termine"
# end class ns0 (tns: urn:termine)
| 27.181818 | 92 | 0.563545 | 53 | 598 | 6.339623 | 0.679245 | 0.089286 | 0.14881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00738 | 0.093645 | 598 | 21 | 93 | 28.47619 | 0.612546 | 0.401338 | 0 | 0 | 1 | 0 | 0.058201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f9108ae04c3c2381a2c64821166ce4af28081a8d | 50 | py | Python | PycharmProjects/cursoemVideo/aula009a.py | Pablodias147/Python3-Curso | 486db10e9ffb69aa60aaf36f32d764c1b5585c8b | [
"MIT"
] | null | null | null | PycharmProjects/cursoemVideo/aula009a.py | Pablodias147/Python3-Curso | 486db10e9ffb69aa60aaf36f32d764c1b5585c8b | [
"MIT"
] | null | null | null | PycharmProjects/cursoemVideo/aula009a.py | Pablodias147/Python3-Curso | 486db10e9ffb69aa60aaf36f32d764c1b5585c8b | [
"MIT"
] | null | null | null | frase = 'Curso em video python'
print(frase[:21])
| 16.666667 | 31 | 0.7 | 8 | 50 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.14 | 50 | 2 | 32 | 25 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0.42 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
f9244597a020de65310e25e9ee9ebf0c2c2c0727 | 267 | py | Python | src/conduit/profile/__init__.py | teamniteo/pyramid-realworld-example-app | f1fed0d0592b1c6e9a4feb6b162cffd4605f5f44 | [
"MIT"
] | 25 | 2019-05-29T07:29:11.000Z | 2021-11-30T10:17:42.000Z | src/conduit/profile/__init__.py | teamniteo/pyramid-realworld-example-app | f1fed0d0592b1c6e9a4feb6b162cffd4605f5f44 | [
"MIT"
] | 73 | 2019-04-22T11:19:26.000Z | 2021-09-23T16:34:07.000Z | src/conduit/profile/__init__.py | teamniteo/pyramid-realworld-example-app | f1fed0d0592b1c6e9a4feb6b162cffd4605f5f44 | [
"MIT"
] | 30 | 2019-04-22T10:34:31.000Z | 2021-07-07T18:35:18.000Z | """User profiles."""
from pyramid.config import Configurator
def includeme(config: Configurator) -> None:
"""Pyramid knob."""
config.add_route("profile", "/api/profiles/{username}")
config.add_route("profile.follow", "/api/profiles/{username}/follow")
| 26.7 | 73 | 0.696629 | 30 | 267 | 6.133333 | 0.566667 | 0.097826 | 0.152174 | 0.228261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11985 | 267 | 9 | 74 | 29.666667 | 0.782979 | 0.104869 | 0 | 0 | 0 | 0 | 0.333333 | 0.241228 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
005f2ac2551d3fc6f4d43139125ef8b678d56c04 | 996 | py | Python | mmrazor/models/builder.py | hunto/mmrazor | e1483b4f4ca69de98130b01a27a6dd7ed44bda4f | [
"Apache-2.0"
] | 553 | 2021-12-23T11:43:35.000Z | 2022-03-31T01:04:20.000Z | mmrazor/models/builder.py | hunto/mmrazor | e1483b4f4ca69de98130b01a27a6dd7ed44bda4f | [
"Apache-2.0"
] | 113 | 2021-12-23T12:09:06.000Z | 2022-03-30T10:13:42.000Z | mmrazor/models/builder.py | hunto/mmrazor | e1483b4f4ca69de98130b01a27a6dd7ed44bda4f | [
"Apache-2.0"
] | 76 | 2021-12-23T11:48:39.000Z | 2022-03-29T11:24:35.000Z | # Copyright (c) OpenMMLab. All rights reserved.
from mmcv.cnn import MODELS as MMCV_MODELS
from mmcv.utils import Registry
MODELS = Registry('models', parent=MMCV_MODELS)
ALGORITHMS = MODELS
MUTABLES = MODELS
DISTILLERS = MODELS
LOSSES = MODELS
OPS = MODELS
PRUNERS = MODELS
QUANTIZERS = MODELS
ARCHITECTURES = MODELS
MUTATORS = MODELS
def build_algorithm(cfg):
"""Build compressor."""
return ALGORITHMS.build(cfg)
def build_architecture(cfg):
"""Build architecture."""
return ARCHITECTURES.build(cfg)
def build_mutator(cfg):
"""Build mutator."""
return MUTATORS.build(cfg)
def build_distiller(cfg):
"""Build distiller."""
return DISTILLERS.build(cfg)
def build_pruner(cfg):
"""Build pruner."""
return PRUNERS.build(cfg)
def build_mutable(cfg):
"""Build mutable."""
return MUTABLES.build(cfg)
def build_op(cfg):
"""Build op."""
return OPS.build(cfg)
def build_loss(cfg):
"""Build loss."""
return LOSSES.build(cfg)
| 17.785714 | 47 | 0.693775 | 123 | 996 | 5.536585 | 0.300813 | 0.093979 | 0.113069 | 0.164464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178715 | 996 | 55 | 48 | 18.109091 | 0.832518 | 0.167671 | 0 | 0 | 0 | 0 | 0.007614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
006bde20031617b8aa84fdd1150aa65127a5e4d7 | 256 | py | Python | tests/bad_module/my_module.py | jepler/circup | 751578094b9e79410fb01805a4a51f14b2ee368a | [
"MIT",
"MIT-0",
"Unlicense"
] | 53 | 2020-02-24T13:16:28.000Z | 2022-03-19T22:59:03.000Z | tests/bad_module/my_module.py | jepler/circup | 751578094b9e79410fb01805a4a51f14b2ee368a | [
"MIT",
"MIT-0",
"Unlicense"
] | 104 | 2019-09-25T12:14:36.000Z | 2022-03-11T22:07:21.000Z | tests/bad_module/my_module.py | jepler/circup | 751578094b9e79410fb01805a4a51f14b2ee368a | [
"MIT",
"MIT-0",
"Unlicense"
] | 27 | 2019-10-02T01:08:13.000Z | 2022-03-14T23:25:36.000Z | # SPDX-FileCopyrightText: 2019 Nicholas Tollervey, written for Adafruit Industries
#
# SPDX-License-Identifier: MIT
"""A simple directory based Python module that's missing metadata."""
def hello():
"""A hello function"""
return "Hello, World!"
| 23.272727 | 82 | 0.722656 | 31 | 256 | 5.967742 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018605 | 0.160156 | 256 | 10 | 83 | 25.6 | 0.84186 | 0.746094 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0071c901cb4ab020df19062d3320f5c05396f739 | 156 | py | Python | python_modules/dagster-graphql/dagster_graphql/schema/paging.py | asamoal/dagster | 08fad28e4b608608ce090ce2e8a52c2cf9dd1b64 | [
"Apache-2.0"
] | null | null | null | python_modules/dagster-graphql/dagster_graphql/schema/paging.py | asamoal/dagster | 08fad28e4b608608ce090ce2e8a52c2cf9dd1b64 | [
"Apache-2.0"
] | null | null | null | python_modules/dagster-graphql/dagster_graphql/schema/paging.py | asamoal/dagster | 08fad28e4b608608ce090ce2e8a52c2cf9dd1b64 | [
"Apache-2.0"
] | null | null | null | # pylint: disable=missing-graphene-docstring
import graphene
class GrapheneCursor(graphene.Int, graphene.Scalar):
class Meta:
name = "Cursor"
| 19.5 | 52 | 0.730769 | 17 | 156 | 6.705882 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 156 | 7 | 53 | 22.285714 | 0.883721 | 0.269231 | 0 | 0 | 0 | 0 | 0.053571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
00b7033641f30c8cc70611cbb28cad1014c3afc0 | 252 | py | Python | ex007.py | ChrysWillians/exercicios-python3 | 354c8684cbc9de0c734e6a40e76e2f613845de96 | [
"MIT"
] | 1 | 2021-09-26T01:08:36.000Z | 2021-09-26T01:08:36.000Z | ex007.py | ChrysWillians/exercicios-python3 | 354c8684cbc9de0c734e6a40e76e2f613845de96 | [
"MIT"
] | null | null | null | ex007.py | ChrysWillians/exercicios-python3 | 354c8684cbc9de0c734e6a40e76e2f613845de96 | [
"MIT"
] | null | null | null | n1 = float(input('Primeira nota do aluno:'))
n2 = float(input('Segunda nota do aluno:'))
n3 = float(input('Terceira nota do aluno:'))
m = (n1 + n2 + n3) / 3
print('A média entre {:.1f} e {:.1f} e {:.1f} é de {:.1f}'.format(n1, n2, n3, m))
| 25.2 | 82 | 0.563492 | 43 | 252 | 3.302326 | 0.511628 | 0.211268 | 0.232394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070707 | 0.214286 | 252 | 9 | 83 | 28 | 0.646465 | 0 | 0 | 0 | 0 | 0 | 0.493724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
00bf06f72cb99b6bd6b1d820c3c29ef18a1ea7d9 | 17,274 | py | Python | extras/constants.py | dch0ph/pNMRsim | 2420e618c7bff9b38b43e7c2ac684c5c28b61787 | [
"MIT"
] | null | null | null | extras/constants.py | dch0ph/pNMRsim | 2420e618c7bff9b38b43e7c2ac684c5c28b61787 | [
"MIT"
] | null | null | null | extras/constants.py | dch0ph/pNMRsim | 2420e618c7bff9b38b43e7c2ac684c5c28b61787 | [
"MIT"
] | null | null | null | speed_light_si = 299792458.0
electron_mass_si = 9.10938215e-31
elementary_charge_si = 1.602176487e-19
mu_0_si = 4.0*math.pi*1e-7
epsilon_0_si = 1.0/(mu_0_si*speed_light_si**2)
planck_si = 6.62606896e-34
hbar_si = planck_si / (2.0 * math.pi)
fine_structure_si = elementary_charge_si**2/(4.0*math.pi*epsilon_0_si*hbar_si*speed_light_si)
metre = electron_mass_si*speed_light_si*fine_structure_si/hbar_si
barn = metre*metre*1.0e-28
millibarn = barn*1.0e-3
joule = 1.0/(fine_structure_si**2*electron_mass_si*speed_light_si**2)
hertz = planck_si*joule
megahertz = hertz*1e6
def efg_to_Cq(efg, s):
# Magic constants to convert from millibarns to a.u. and then back to MHz
if s in Q_iso:
return sorted_evals(efg)[0] * (Q_common[s] * millibarn) / megahertz
else:
return None
def efg_to_Cq_isotope(efg, species, isotope):
# Magic constants to convert from millibarns to a.u. and then back to MHz
return sorted_evals(efg)[0] * (Q[(species, isotope)] * millibarn) / megahertz
def val_to_Cq(ev, s):
if s in Q_iso:
return ev * Q_common[s] * millibarn / megahertz
else:
return ev
def K_to_J(K, s1, s2):
# More magic constants. Should make a proper atomic unit conversion function
return (K + K.T)/2.0 * gamma_common[s1] * gamma_common[s2] * 1.05457148e-15 / (2*math.pi)
def K_to_J_iso(K, s1, iso1, s2, iso2):
return (K + K.T)/2.0 * gamma[(s1,iso1)] * gamma[(s2,iso2)] * 1.05457148e-15 / (2*math.pi)
# Nuclear gyromagnetic ratios, from constants.f90, source IUPAC Recommendations 2001, Robin K. Harris et al
gamma={('H', 1): 26.7522128e7,
('H', 2): 4.10662791e7,
('H', 3): 28.5349779e7,
('He', 3): -20.3801587e7,
('Li', 6): 3.9371709e7,
('Li', 7): 10.3977013e7,
('Be', 9): -3.759666e7,
('B', 10): 2.8746786e7,
('B', 11): 8.5847044e7,
('C', 13): 6.728284e7,
('N', 14): 1.9337792e7,
('N', 15): -2.71261804e7,
('O', 17): -3.62808e7,
('F', 19): 25.18148e7,
('Ne', 21): -2.11308e7,
('Na', 23): 7.0808493e7,
('Mg', 25): -1.63887e7,
('Al', 27): 6.9762715e7,
('Si', 29): -5.3190e7,
('P', 31): 10.8394e7,
('S', 33): 2.055685e7,
('Cl', 35): 2.624198e7,
('Cl', 37): 2.184368e7,
('K', 39): 1.2500608e7,
('K', 40): -1.5542854e7,
('K', 41): 0.68606808e7,
('Ca', 43): -1.803069e7,
('Sc', 45): 6.5087973e7,
('Ti', 47): -1.5105e7,
('Ti', 49): -1.51095e7,
('V', 50): 2.6706490e7,
('V', 51): 7.0455117e7,
('Cr', 53): -1.5152e7,
('Mn', 55): 6.6452546e7,
('Fe', 57): 0.8680624e7,
('Co', 59): 6.332e7,
('Ni', 61): -2.3948e7,
('Cu', 63): 7.1117890e7,
('Cu', 65): 7.60435e7,
('Zn', 67): 1.676688e7,
('Ga', 69): 6.438855e7,
('Ga', 71): 8.181171e7,
('Ge', 73): -0.9360303e7,
('As', 75): 4.596163e7,
('Se', 77): 5.1253857e7,
('Br', 79): 6.725616e7,
('Br', 81): 7.249776e7,
('Kr', 83): -1.03310e7,
('Rb', 85): 2.5927050e7,
('Rb', 87): 8.786400e7,
('Sr', 87): -1.1639376e7,
('Y', 89): -1.3162791e7,
('Zr', 91): -2.49743e7,
('Nb', 93): 6.5674e7,
('Mo', 95): 1.751e7,
('Mo', 97): -1.788e7,
('Tc', 99): 6.046e7,
('Ru', 99): -1.229e7,
('Rh', 103): -0.8468e7,
('Pd', 105): -1.23e7,
('Ag', 107): -1.0889181e7,
('Ag', 109): -1.2518634e7,
('Cd', 111): -5.6983131e7,
('Cd', 113): -5.9609155e7,
('In', 113): 5.8845e7,
('In', 115): 5.8972e7,
('Sn', 115): -8.8013e7,
('Sn', 117): -9.58879e7,
('Sn', 119): -10.0317e7,
('Sb', 121): 6.4435e7,
('Sb', 123): 3.4892e7,
('Te', 123): -7.059098e7,
('Te', 125): -8.5108404e7,
('I', 127): 5.389573e7,
('Xe', 131): 2.209076e7,
('Cs', 133): 3.5332539e7,
('Ba', 135): 2.67550e7,
('Ba', 137): 2.99295e7,
('La', 138): 3.557239e7,
('La', 139): 3.8083318e7,
('Pr', 141): 8.1907e7,
('Nd', 143): -1.457e7,
('Nd', 145): -0.898e7,
('Sm', 147): -1.115e7,
('Sm', 149): -0.9192e7,
('Eu', 151): 6.6510e7,
('Eu', 153): 2.9369e7,
('Gd', 155): -0.82132e7,
('Gd', 157): -1.0769e7,
('Tb', 159): 6.431e7,
('Dy', 161): -0.9201e7,
('Dy', 163): 1.289e7,
('Ho', 165): 5.710e7,
('Er', 167): -0.77157e7,
('Tm', 169): -2.218e7,
('Yb', 171): 4.7288e7,
('Yb', 173): -1.3025e7,
('Lu', 175): 3.0552e7,
('Lu', 176): 2.1684e7,
('Hf', 177): 1.086e7,
('Hf', 179): -0.6821,
('Ta', 181): 3.2438e7,
('W', 183): 1.1282403e7,
('Re', 185): 6.1057e7,
('Re', 187): 6.1682e7,
('Os', 189): 2.10713e7,
('Ir', 191): 0.4812e7,
('Ir', 193): 0.5227e7,
('Pt', 195): 5.8385e7,
('Au', 197): 0.473060e7,
('Hg', 201): -1.788769e7,
('Hg', 199): 4.8457916e7,
('Tl', 203): 15.5393338e7,
('Tl', 205): 15.6921808e7,
('Pb', 207): 5.58046e7,
('Bi', 209): 4.3750e7,
('U', 235): -0.52e7,}
# Isotope of most common spin active nucleus for each species
gamma_iso = {'H': 1,
'He': 3,
'Li': 7,
'Be': 9,
'B': 11,
'C': 13,
'N': 14, #
'O': 17,
'F': 19,
'Ne': 21,
'Na': 23,
'Mg': 25,
'Al': 27,
'Si': 29,
'P': 31,
'S': 33,
'Cl': 35,
'K': 39,
'Ca': 43,
'Sc': 45,
'Ti': 49, # Maybe exclude arbitrary ones from this? 47Ti and 49Ti both fairly equal, UI can prompt
'V': 51,
'Cr': 53,
'Mn': 55,
'Fe': 57,
'Co': 59,
'Ni': 61,
'Cu': 65, #
'Zn': 67,
'Ga': 71,
'Ge': 73,
'As': 75,
'Se': 77,
'Br': 81,
'Kr': 83,
'Rb': 87,
'Sr': 87,
'Y': 89,
'Zr': 91,
'Nb': 93,
'Mo': 95,
'Tc': 99,
'Ru': 99, # Also 101
'Rh': 103,
'Pd': 105,
'Ag': 109, #
'Cd': 113,
'In': 115,
'Sb': 121,
'I': 127,
'Sn': 119,
'Te': 125,
'Xe': 129, # Also 131
'Cs': 133,
'Ba': 137,
'La': 139,
'Hf': 179, # Also 177
'Ta': 181,
'W': 183,
'Re': 187,
'Os': 187, # Also 189 ?? no 187Os in gamma list
'Ir': 193,
'Pt': 195,
'Au': 197,
'Hg': 199, # Also 201
'Tl': 205,
'Pb': 207,
'Bi': 209,}
gamma_common = {}
for s, i in gamma_iso.items():
if (s,i) in gamma:
gamma_common[s] = gamma[(s,i)]
# Quadrupole moments of all nuclear isotopes, from P. Pyykko, J. Mol. Phys, 2008 106 1965-1974
# Units of mb, Q/10/fm^2
Q = {('H', 2): 2.860,
('Li', 6): -0.808,
('Li', 7): -40.1,
('Be', 9): 52.88,
('B', 10): 84.59,
('B', 11): 40.59,
('C', 11): 33.27,
('N', 14): 20.44,
('O', 17): -25.58,
('F', 19): -94.2,
('Ne', 21): 101.55,
('Na', 23): 104,
('Mg', 25): 199.4,
('Al', 27): 146.6,
('S', 33): -67.8,
('S', 35): 47.1,
('Cl', 35): -81.65,
('Cl', 37): -64.35,
('K', 39): 58.5,
('K', 40): -73,
('K', 41): 71.1,
('Ca', 41): -66.5,
('Ca', 43): -40.8,
('Sc', 45): -220,
('Ti', 47): 302,
('Ti', 49): 247,
('V', 50): 210,
('V', 51): -52,
('Cr', 53): -150,
('Mn', 55): 330,
('Fe', 57): 160,
('Co', 59): 420,
('Ni', 61): 162,
('Cu', 63): -220,
('Cu', 65): -204,
('Zn', 67): 150,
('Ga', 69): 171,
('Ga', 71): 107,
('Ge', 73): -196,
('As', 75): 314,
('Se', 77): 760,
('Br', 79): 313,
('Br', 81): 262,
('Kr', 83): 259,
('Rb', 85): 276,
('Rb', 87): 133.5,
('Sr', 87): 305,
('Y', 90): -125,
('Zr', 91): -176,
('Nb', 93): -320,
('Mo', 95): -22,
('Mo', 97): 255,
('Tc', 99): -129,
('Ru', 99): 79,
('Ru', 101): 457,
('Pd', 105): 660,
('In', 113): 759,
('In', 115): 770,
('Sn', 119): -132,
('Sb', 121): -543,
('Sb', 123): -692,
('I', 127): -696,
('Xe', 131): -114,
('Cs', 133): -3.43,
('Ba', 135): 160,
('Ba', 137): 245,
('La', 138): 450,
('La', 139): 200,
('Pr', 141): -58.9,
('Nd', 143): -630,
('Nd', 145): -330,
('Pm', 147): 740,
('Sm', 147): -259,
('Sm', 149): 75,
('Eu', 151): 903,
('Eu', 153): 2412,
('Gd', 155): 1270,
('Gd', 157): 1350,
('Tb', 159): 1432,
('Dy', 161): 2507,
('Dy', 163): 2648,
('Ho', 165): 3580,
('Er', 167): 3565,
('Tm', 169): -1200, # Tm missing from Pyykko
('Yb', 173): 2800,
('Lu', 175): 3490,
('Lu', 176): 4970,
('Hf', 177): 3365,
('Hf', 179): 3793,
('Ta', 181): 3170,
('Re', 185): 2180,
('Re', 187): 2070,
('Os', 189): 856,
('Ir', 191): 816,
('Ir', 193): 751,
('Au', 197): 547,
('Hg', 201): 387,
('Pb', 209): -269,
('Bi', 209): -516,
('Rn', 209): 311,
('Fr', 223): 1170,
('Ra', 223): 1210, # Ra missing from Pyykko
('Ac', 227): 1700,
('Th', 229): 4300,
('Pa', 231): -1720,
('U', 233): 3663,
('U', 235): 4936,
('Np', 237): 3886,
('Pu', 241): 5600,
('Am', 243): 4210,
('Es', 253): 6700,
}
# Isotope of most common quadrupolar nucleus, from castep constants.f90
Q_iso = {'H': 2,
'Li': 7,
'Be': 9,
'B': 11,
'C': 11,
'N': 14,
'O': 17,
'Ne': 21,
'Na': 23,
'Mg': 25,
'Al': 27,
'S': 33,
'Cl': 35,
'K': 39,
'Ca': 43,
'Sc': 45,
'Ti': 47,
'V': 51,
'Cr': 53,
'Mn': 55,
'Fe': 57,
'Co': 59,
'Ni': 61,
'Cu': 63,
'Zn': 67,
'Ga': 71,
'Ge': 73,
'As': 75,
'Br': 81,
'Kr': 83,
'Rb': 87,
'Sr': 87,
'Y': 90,
'Zr': 91,
'Nb': 93,
'Mo': 95,
'Tc': 99,
'Ru': 99,
'Pd': 105,
'In': 115,
'Sb': 121,
'I': 127,
'Xe': 131,
'Cs': 133,
'Ba': 137,
'La': 139,
'Pr': 141,
'Nd': 143,
'Pm': 147,
'Sm': 149,
'Eu': 153,
'Gd': 157,
'Tb': 159,
'Dy': 163,
'Ho': 165,
'Er': 167,
'Tm': 169,
'Yb': 173,
'Lu': 175,
'Hf': 177,
'Ta': 181,
'Re': 187,
'Os': 189,
'Ir': 193,
'Au': 197,
'Hg': 201,
'Pb': 209,
'Bi': 209,
'Rn': 209,
'Fr': 223,
'Ra': 223,
'Ac': 227,
'Th': 229,
'Pa': 231,
'U': 235,
'Np': 237,
'Pu': 241,
'Am': 243,
'Es': 253,}
Q_common = {}
for s, i in Q_iso.items():
if (s,i) in gamma:
Q_common[s] = Q[(s,i)]
iso_spin = {('Ne', 22): 0.0, ('Cl', 35): 1.5, ('Tl', 205): 0.5, ('Te', 123): 0.5, ('W', 180): 0.0, ('Pm', 147): 3.5, ('Tb', 160): 3.0, ('Cd', 106): 0.0, ('Sb', 121): 2.5, ('Hf', 180): 0.0, ('Ac', 227): 1.5, ('Eu', 151): 2.5, ('Pb', 206): 0.0, ('Kr', 80): 0.0, ('As', 75): 1.5, ('K', 41): 1.5, ('Pb', 204): 0.0, ('Sb', 125): 3.5, ('Zr', 90): 0.0, ('Sn', 117): 0.5, ('In', 113): 4.5, ('Os', 189): 1.5, ('Ca', 48): 0.0, ('Gd', 157): 1.5, ('S', 36): 0.0, ('Ce', 136): 0.0, ('Xe', 124): 0.0, ('Tb', 157): 1.5, ('Hf', 179): 4.5, ('Cs', 133): 3.5, ('Ge', 72): 0.0, ('Nb', 93): 4.5, ('Sn', 115): 0.5, ('Kr', 78): 0.0, ('Mo', 95): 2.5, ('Tb', 159): 1.5, ('Kr', 83): 4.5, ('Ca', 43): 3.5, ('Sm', 150): 0.0, ('Se', 78): 0.0, ('Pd', 108): 0.0, ('Sm', 154): 0.0, ('Ar', 36): 0.0, ('Ba', 132): 0.0, ('Se', 80): 0.0, ('Ru', 101): 2.5, ('Xe', 134): 0.0, ('Cl', 37): 1.5, ('Yb', 172): 0.0, ('C', 12): 0.0, ('Yb', 174): 0.0, ('Zn', 66): 0.0, ('Ta', 180): 0.0, ('Cr', 53): 1.5, ('Ba', 133): 0.5, ('Pt', 195): 0.5, ('Ni', 62): 0.0, ('Rh', 102): 6.0, ('Er', 170): 0.0, ('Er', 167): 3.5, ('Cd', 108): 0.0, ('Fe', 57): 0.5, ('Cu', 65): 1.5, ('Ta', 181): 3.5, ('Ru', 99): 2.5, ('Fe', 54): 0.0, ('Cd', 112): 0.0, ('B', 10): 3.0, ('Lu', 176): 7.0, ('Ca', 44): 0.0, ('Y', 89): 0.5, ('Te', 120): 0.0, ('Pd', 105): 2.5, ('Sb', 123): 3.5, ('Xe', 136): 0.0, ('Be', 9): 1.5, ('Mo', 97): 2.5, ('He', 3): 0.5, ('Ru', 96): 0.0, ('Gd', 154): 0.0, ('Rb', 85): 2.5, ('Zr', 91): 2.5, ('Re', 185): 2.5, ('Ba', 138): 0.0, ('Yb', 171): 0.5, ('Th', 232): 0.0, ('Hf', 176): 0.0, ('Dy', 156): 0.0, ('Sn', 120): 0.0, ('H', 3): 0.5, ('Na', 22): 3.0, ('Dy', 158): 0.0, ('Ga', 69): 1.5, ('Sm', 144): 0.0, ('Pb', 208): 0.0, ('Si', 28): 0.0, ('Pt', 196): 0.0, ('Zr', 94): 0.0, ('Mg', 24): 0.0, ('Pd', 106): 0.0, ('Ne', 21): 1.5, ('Ge', 76): 0.0, ('S', 32): 0.0, ('Te', 122): 0.0, ('Se', 82): 0.0, ('Xe', 130): 0.0, ('Dy', 164): 0.0, ('W', 184): 0.0, ('Hg', 201): 1.5, ('Cd', 114): 0.0, ('Os', 190): 0.0, ('Eu', 152): 3.0, ('Po', 209): 0.5, ('Se', 77): 0.5, ('Ag', 109): 0.5, ('Dy', 160): 0.0, ('Hg', 198): 0.0, ('Tm', 171): 0.5, ('Kr', 84): 0.0, ('Ar', 40): 0.0, ('Sn', 116): 0.0, ('Co', 60): 5.0, ('Nd', 142): 0.0, ('Sr', 84): 0.0, ('W', 182): 0.0, ('Gd', 155): 1.5, ('Ce', 140): 0.0, ('Ir', 193): 1.5, ('Ge', 73): 4.5, ('Tc', 99): 4.5, ('Gd', 160): 0.0, ('Hf', 177): 3.5, ('Tl', 204): 2.0, ('Mo', 92): 0.0, ('Gd', 158): 0.0, ('Kr', 82): 0.0, ('Ca', 40): 0.0, ('Se', 79): 3.5, ('I', 129): 3.5, ('Ar', 39): 3.5, ('Sn', 119): 0.5, ('Pr', 141): 2.5, ('Ru', 100): 0.0, ('Sr', 87): 4.5, ('Cl', 36): 2.0, ('Mn', 55): 2.5, ('C', 13): 0.5, ('Pt', 194): 0.0, ('Zn', 67): 2.5, ('Sm', 149): 3.5, ('Cr', 52): 0.0, ('Xe', 131): 1.5, ('Yb', 168): 0.0, ('Ni', 61): 1.5, ('Rh', 103): 0.5, ('N', 15): 0.5, ('Fe', 56): 0.0, ('Ge', 74): 0.0, ('Yb', 176): 0.0, ('Er', 166): 0.0, ('Bi', 207): 4.5, ('Se', 76): 0.0, ('Ag', 107): 0.5, ('Pt', 192): 0.0, ('Co', 59): 3.5, ('Pd', 110): 0.0, ('Dy', 163): 2.5, ('Hg', 204): 0.0, ('Cu', 63): 1.5, ('Sm', 148): 0.0, ('Te', 126): 0.0, ('Nd', 144): 0.0, ('Xe', 132): 0.0, ('La', 139): 3.5, ('Ni', 64): 0.0, ('C', 14): 3.0, ('Zn', 68): 0.0, ('Ti', 50): 0.0, ('Cd', 113): 0.5, ('Ba', 137): 1.5, ('Yb', 170): 0.0, ('Ce', 138): 0.0, ('Er', 168): 0.0, ('O', 16): 0.0, ('Lu', 175): 3.5, ('H', 2): 1.0, ('Br', 81): 1.5, ('Pt', 190): 0.0, ('Gd', 152): 0.0, ('Sn', 118): 0.0, ('Si', 29): 0.5, ('Ca', 46): 0.0, ('Sc', 45): 3.5, ('Ho', 165): 3.5, ('Mg', 25): 2.5, ('Os', 186): 0.0, ('Ne', 20): 0.0, ('Bi', 209): 4.5, ('Tl', 203): 0.5, ('Eu', 155): 2.5, ('S', 33): 1.5, ('Te', 125): 0.5, ('Ru', 98): 0.0, ('V', 51): 3.5, ('Ba', 135): 1.5, ('Rb', 87): 1.5, ('Sn', 112): 0.0, ('Ti', 49): 3.5, ('Cr', 50): 0.0, ('Xe', 128): 0.0, ('Cd', 111): 0.5, ('Nd', 148): 0.0, ('Th', 229): 2.5, ('U', 238): 0.0, ('Eu', 153): 2.5, ('Ga', 71): 1.5, ('Ti', 47): 2.5, ('Cs', 137): 3.5, ('Sn', 122): 0.0, ('Si', 30): 0.0, ('Sr', 88): 0.0, ('Mg', 26): 0.0, ('In', 115): 4.5, ('Nd', 143): 3.5, ('W', 183): 0.5, ('Mo', 100): 0.0, ('Hg', 199): 0.5, ('S', 34): 0.0, ('He', 4): 0.0, ('Ir', 191): 1.5, ('Xe', 126): 0.0, ('W', 186): 0.0, ('Re', 187): 2.5, ('F', 19): 0.5, ('Ge', 70): 0.0, ('Er', 162): 0.0, ('Os', 192): 0.0, ('Au', 197): 1.5, ('Te', 130): 0.0, ('U', 234): 0.0, ('Ca', 41): 3.5, ('Hf', 174): 0.0, ('K', 40): 4.0, ('Tm', 169): 0.5, ('Sm', 152): 0.0, ('Ar', 38): 0.0, ('K', 39): 1.5, ('Os', 188): 0.0, ('Sr', 86): 0.0, ('U', 235): 3.5, ('P', 31): 0.5, ('Zn', 64): 0.0, ('Ru', 104): 0.0, ('Ni', 60): 0.0, ('Ce', 142): 0.0, ('Sm', 151): 2.5, ('N', 14): 1.0, ('Xe', 129): 0.5, ('Ba', 130): 0.0, ('Cd', 110): 0.0, ('Mo', 94): 0.0, ('Gd', 156): 0.0, ('Hg', 200): 0.0, ('Ca', 42): 0.0, ('Sn', 124): 0.0, ('Pt', 198): 0.0, ('Br', 79): 1.5, ('Li', 6): 1.0, ('Dy', 162): 0.0, ('Cd', 116): 0.0, ('Ru', 102): 0.0, ('Cs', 134): 4.0, ('La', 138): 5.0, ('Mn', 53): 3.5, ('Mo', 98): 0.0, ('Cr', 54): 0.0, ('Ba', 136): 0.0, ('Yb', 173): 2.5, ('Hf', 178): 0.0, ('O', 17): 2.5, ('I', 127): 2.5, ('Fe', 58): 0.0, ('H', 1): 0.5, ('Os', 184): 0.0, ('Er', 164): 0.0, ('Hg', 202): 0.0, ('Lu', 173): 3.5, ('B', 11): 1.5, ('Lu', 174): 1.0, ('Al', 27): 2.5, ('Sm', 147): 3.5, ('Zr', 92): 0.0, ('Se', 74): 0.0, ('Pd', 104): 0.0, ('Os', 187): 0.5, ('Dy', 161): 2.5, ('Mo', 96): 0.0, ('Te', 124): 0.0, ('Nd', 150): 0.0, ('V', 50): 6.0, ('La', 137): 3.5, ('Te', 128): 0.0, ('Zn', 70): 0.0, ('Ti', 48): 0.0, ('Zr', 96): 0.0, ('Nd', 146): 0.0, ('Ni', 58): 0.0, ('Cs', 135): 3.5, ('O', 18): 0.0, ('Eu', 154): 3.0, ('Na', 23): 1.5, ('Kr', 85): 4.5, ('Ti', 46): 0.0, ('Ba', 134): 0.0, ('Pb', 207): 0.5, ('Pd', 102): 0.0, ('Kr', 86): 0.0, ('Hg', 196): 0.0, ('Nd', 145): 3.5, ('Sn', 114): 0.0, ('Li', 7): 1.5}
| 39.438356 | 5,614 | 0.383987 | 2,816 | 17,274 | 2.330966 | 0.220881 | 0.051493 | 0.003656 | 0.008531 | 0.116849 | 0.110451 | 0.082267 | 0.052102 | 0.042352 | 0.037172 | 0 | 0.317539 | 0.312145 | 17,274 | 437 | 5,615 | 39.528604 | 0.234893 | 0.044807 | 0 | 0.226506 | 0 | 0 | 0.078524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012048 | false | 0 | 0 | 0.007229 | 0.028916 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
00e321066353fcd607b817e450355bb91dbd7a8b | 16,856 | py | Python | datasets/cifar.py | ChiragCD/NR-GAN | fc455c6219b09bc8bf605715504b78b2bb801e48 | [
"MIT"
] | 54 | 2020-04-17T03:05:50.000Z | 2022-03-07T20:30:35.000Z | datasets/cifar.py | ChiragCD/NR-GAN | fc455c6219b09bc8bf605715504b78b2bb801e48 | [
"MIT"
] | 8 | 2020-08-24T03:42:42.000Z | 2022-03-12T00:21:33.000Z | datasets/cifar.py | ChiragCD/NR-GAN | fc455c6219b09bc8bf605715504b78b2bb801e48 | [
"MIT"
] | 14 | 2020-06-01T10:21:08.000Z | 2021-12-30T07:24:22.000Z | import cv2
import numpy as np
import torchvision.datasets as datasets
class CIFAR10Noise(datasets.CIFAR10):
"""CIFAR10 Dataset with noise.
Args:
clip (bool): If True, clips a value between 0 and 1 (default: True).
seed (int): Random seed (default: 0).
This is a subclass of the `CIFAR10` Dataset.
"""
def __init__(self, clip=True, seed=0, **kwargs):
self.clip = clip
self.seed = seed
super(CIFAR10Noise, self).__init__(**kwargs)
assert (seed + 1) * len(self) - 1 <= 2**32 - 1
def __getitem__(self, index):
img, target = self.data[index], self.targets[index]
noise = self.generate_noise(index)
img = img / 255.
noise = noise / 255.
img = img + noise
img, target = self.postprocess(img, target)
return img, target
def postprocess(self, img, target):
if self.clip:
img = np.clip(img, 0., 1.)
if self.transform is not None:
img = img.astype(np.float32)
img = self.transform(img)
if self.target_transform is not None:
target = self.target_transform(target)
return img, target
def generate_noise(self):
raise NotImplementedError
class CIFAR10AdditiveGaussianNoise(CIFAR10Noise):
"""CIFAR10 Dataset with additive Gaussian noise.
Args:
noise_scale (float): The standard deviation of additive Gaussian noise
(default: 25.).
noise_scale_high (float): The upper bound of the standard deviation of
additive Gaussian noise (default: None, i.e., `noise_scale`).
This is a subclass of the `CIFAR10Noise` Dataset.
"""
def __init__(self, noise_scale=25., noise_scale_high=None, **kwargs):
self.noise_scale = noise_scale
self.noise_scale_high = noise_scale_high
super(CIFAR10AdditiveGaussianNoise, self).__init__(**kwargs)
def generate_noise(self, index):
rng = np.random.RandomState(self.seed * len(self) + index)
if self.noise_scale_high is None:
noise_scale = self.noise_scale
else:
noise_scale = rng.uniform(self.noise_scale, self.noise_scale_high)
return rng.randn(*self.data[index].shape) * noise_scale
class CIFAR10LocalGaussianNoise(CIFAR10Noise):
"""CIFAR10 Dataset with local Gaussian noise.
Args:
noise_scale (float): The standard deviation of additive Gaussian noise
(default: 25.).
patch_size (int): The height/width of the noise patch (default: 16.).
noise_scale_high (float): The upper bound of the standard deviation of
additive Gaussian noise (default: None, i.e., `noise_scale`).
patch_max_size (int): The maximum height/width of the noise patch
(default: None, i.e., `patch_size`).
This is a subclass of the `CIFAR10Noise` Dataset.
"""
def __init__(self,
noise_scale=25.,
patch_size=16,
noise_scale_high=None,
patch_max_size=None,
**kwargs):
self.noise_scale = noise_scale
self.patch_size = patch_size
self.noise_scale_high = noise_scale_high
self.patch_max_size = patch_max_size
super(CIFAR10LocalGaussianNoise, self).__init__(**kwargs)
def generate_noise(self, index):
rng = np.random.RandomState(self.seed * len(self) + index)
patch_shape = (self.data[index].shape[0], self.data[index].shape[1], 1)
patch = np.zeros(patch_shape, dtype=np.uint8)
if self.patch_max_size is None:
patch_width = self.patch_size
patch_height = self.patch_size
else:
patch_width = rng.randint(self.patch_size, self.patch_max_size + 1)
patch_height = rng.randint(self.patch_size,
self.patch_max_size + 1)
x = rng.randint(0, patch_shape[1] - patch_width + 1)
y = rng.randint(0, patch_shape[0] - patch_height + 1)
patch[y:y + patch_height, x:x + patch_width] = 1
if self.noise_scale_high is None:
noise_scale = self.noise_scale
else:
noise_scale = rng.uniform(self.noise_scale, self.noise_scale_high)
noise = rng.randn(*self.data[index].shape) * noise_scale
return noise * patch
class CIFAR10UniformNoise(CIFAR10Noise):
"""CIFAR10 Dataset with uniform noise.
Args:
noise_scale (float): The scale of uniform noise (default: 50.).
noise_scale_high (float): The upper bound of the scale of uniform noise
(default: None, i.e., `noise_scale`).
This is a subclass of the `CIFAR10Noise` Dataset.
"""
def __init__(self, noise_scale=50., noise_scale_high=None, **kwargs):
self.noise_scale = noise_scale
self.noise_scale_high = noise_scale_high
super(CIFAR10UniformNoise, self).__init__(**kwargs)
def generate_noise(self, index):
rng = np.random.RandomState(self.seed * len(self) + index)
if self.noise_scale_high is None:
noise_scale = self.noise_scale
else:
noise_scale = rng.uniform(self.noise_scale, self.noise_scale_high)
return rng.uniform(-1, 1, self.data[index].shape) * noise_scale
class CIFAR10MixtureNoise(CIFAR10Noise):
"""CIFAR10 Dataset with mixture noise.
Args:
noise_scale_list (float list): The values, except for the last one,
indicate the standard deviations of additive Gaussian noises. The
last value indicates the scale of uniform noise (default:
[15., 25., 50.]).
mixture_rate_list (float list): The mixture rates of the noises
(default: [0.7, 0.2, 0.1]).
This is a subclass of the `CIFAR10Noise` Dataset.
"""
def __init__(self,
noise_scale_list=[15., 25., 50.],
mixture_rate_list=[0.7, 0.2, 0.1],
**kwargs):
self.noise_scale_list = noise_scale_list
self.mixture_rate_list = mixture_rate_list
super(CIFAR10MixtureNoise, self).__init__(**kwargs)
def generate_noise(self, index):
rng = np.random.RandomState(self.seed * len(self) + index)
height, width, channel = list(self.data[index].shape)
noise = np.zeros((height * width, channel))
perm = rng.permutation(height * width)
rand = rng.rand(height * width)
cumsum = np.cumsum([0] + self.mixture_rate_list)
for i, noise_scale in enumerate(self.noise_scale_list):
inds = (rand >= cumsum[i]) * (rand < cumsum[i + 1])
if i == len(self.noise_scale_list) - 1:
noise[perm[inds], :] = rng.uniform(
-1, 1, (np.sum(inds), channel)) * noise_scale
else:
noise[perm[inds], :] = rng.randn(np.sum(inds),
channel) * noise_scale
noise = np.reshape(noise, (height, width, channel))
return noise
class CIFAR10BrownGaussianNoise(CIFAR10Noise):
"""CIFAR10 Dataset with Brown Gaussian noise.
Args:
noise_scale (float): The standard deviation of additive Gaussian noise
(default: 25.).
noise_scale_high (float): The upper bound of the standard deviation of
additive Gaussian noise (default: None, i.e., `noise_scale`).
kernel_size (int): The Gaussian kernel size (default: 5).
This is a subclass of the `CIFAR10Noise` Dataset.
"""
def __init__(self,
noise_scale=25.,
noise_scale_high=None,
kernel_size=5,
**kwargs):
self.noise_scale = noise_scale
self.noise_scale_high = noise_scale_high
self.kernel_size = kernel_size
super(CIFAR10BrownGaussianNoise, self).__init__(**kwargs)
self.kernel = (cv2.getGaussianKernel(kernel_size, 0) *
cv2.getGaussianKernel(kernel_size, 0).transpose())
def generate_noise(self, index):
rng = np.random.RandomState(self.seed * len(self) + index)
if self.noise_scale_high is None:
noise_scale = self.noise_scale
else:
noise_scale = rng.uniform(self.noise_scale, self.noise_scale_high)
noise = rng.randn(*self.data[index].shape) * noise_scale
return (cv2.GaussianBlur(noise, (self.kernel_size, self.kernel_size),
0,
borderType=cv2.BORDER_CONSTANT) /
np.sqrt(np.sum(self.kernel**2)))
class CIFAR10AdditiveBrownGaussianNoise(CIFAR10Noise):
"""CIFAR10 Dataset with additive Brown Gaussian noise.
Args:
noise_scale (float): The standard deviation of additive Gaussian noise
(default: 25.).
noise_scale_high (float): The upper bound of the standard deviation of
additive Gaussian noise (default: None, i.e., `noise_scale`).
kernel_size (int): The Gaussian kernel size (default: 5).
This is a subclass of the `CIFAR10Noise` Dataset.
"""
def __init__(self,
noise_scale=25.,
noise_scale_high=None,
kernel_size=5,
**kwargs):
self.noise_scale = noise_scale
self.noise_scale_high = noise_scale_high
self.kernel_size = kernel_size
super(CIFAR10AdditiveBrownGaussianNoise, self).__init__(**kwargs)
self.kernel = (cv2.getGaussianKernel(kernel_size, 0) *
cv2.getGaussianKernel(kernel_size, 0).transpose())
def generate_noise(self, index):
rng = np.random.RandomState(self.seed * len(self) + index)
if self.noise_scale_high is None:
noise_scale = self.noise_scale
else:
noise_scale = rng.uniform(self.noise_scale, self.noise_scale_high)
noise = rng.randn(*self.data[index].shape) * noise_scale
return noise + (cv2.GaussianBlur(noise,
(self.kernel_size, self.kernel_size),
0,
borderType=cv2.BORDER_CONSTANT) /
np.sqrt(np.sum(self.kernel**2)))
class CIFAR10MultiplicativeGaussianNoise(CIFAR10Noise):
"""CIFAR10 Dataset with multiplicative Gaussian noise.
Args:
multi_noise_scale (float): The standard deviation of multiplicative
Gaussian noise (default: 25.).
multi_noise_scale_high (float): The upper bound of the standard
deviation of multiplicative Gaussian noise (default: None, i.e.,
`multi_noise_scale`).
This is a subclass of the `CIFAR10Noise` Dataset.
"""
def __init__(self,
multi_noise_scale=25.,
multi_noise_scale_high=None,
**kwargs):
self.multi_noise_scale = multi_noise_scale
self.multi_noise_scale_high = multi_noise_scale_high
super(CIFAR10MultiplicativeGaussianNoise, self).__init__(**kwargs)
def __getitem__(self, index):
rng = np.random.RandomState(self.seed * len(self) + index)
img, target = self.data[index], self.targets[index]
img = img / 255.
if self.multi_noise_scale_high is None:
multi_noise_scale = self.multi_noise_scale
else:
multi_noise_scale = rng.uniform(self.multi_noise_scale,
self.multi_noise_scale_high)
noise = rng.randn(*img.shape) * multi_noise_scale * img / 255.
img = img + noise
img, target = self.postprocess(img, target)
return img, target
class CIFAR10AdditiveMultiplicativeGaussianNoise(CIFAR10Noise):
"""CIFAR10 Dataset with additive and multiplicative Gaussian noise.
Args:
noise_scale (float): The standard deviation of additive Gaussian noise
(default: 25.).
multi_noise_scale (float): The standard deviation of multiplicative
Gaussian noise (default: 25.).
noise_scale_high (float): The upper bound of the standard deviation of
additive Gaussian noise (default: None, i.e., `noise_scale`).
multi_noise_scale_high (float): The upper bound of the standard
deviation of multiplicative Gaussian noise (default: None, i.e.,
`multi_noise_scale`).
This is a subclass of the `CIFAR10Noise` Dataset.
"""
def __init__(self,
noise_scale=25.,
multi_noise_scale=25.,
noise_scale_high=None,
multi_noise_scale_high=None,
**kwargs):
self.noise_scale = noise_scale
self.multi_noise_scale = multi_noise_scale
self.noise_scale_high = noise_scale_high
self.multi_noise_scale_high = multi_noise_scale_high
super(CIFAR10AdditiveMultiplicativeGaussianNoise,
self).__init__(**kwargs)
def __getitem__(self, index):
rng = np.random.RandomState(self.seed * len(self) + index)
img, target = self.data[index], self.targets[index]
img = img / 255.
if self.multi_noise_scale_high is None:
multi_noise_scale = self.multi_noise_scale
else:
multi_noise_scale = rng.uniform(self.multi_noise_scale,
self.multi_noise_scale_high)
noise = rng.randn(*img.shape) * multi_noise_scale * img / 255.
if self.noise_scale_high is None:
noise_scale = self.noise_scale
else:
noise_scale = rng.uniform(self.noise_scale, self.noise_scale_high)
noise = noise + rng.randn(*img.shape) * noise_scale / 255.
img = img + noise
img, target = self.postprocess(img, target)
return img, target
class CIFAR10PoissonNoise(CIFAR10Noise):
"""CIFAR10 Dataset with Poisson noise.
Args:
noise_lam (float): The total number of events for Poisson noise
(default: 30.).
noise_lam_high (float): The maximum total number of events for Poisson
noise (default: None, i.e., `noise_lam`).
This is a subclass of the `CIFAR10Noise` Dataset.
"""
def __init__(self, noise_lam=30., noise_lam_high=None, **kwargs):
self.noise_lam = noise_lam
self.noise_lam_high = noise_lam_high
super(CIFAR10PoissonNoise, self).__init__(**kwargs)
def __getitem__(self, index):
rng = np.random.RandomState(self.seed * len(self) + index)
img, target = self.data[index], self.targets[index]
img = img / 255.
if self.noise_lam_high is None:
noise_lam = self.noise_lam
else:
noise_lam = rng.uniform(self.noise_lam, self.noise_lam_high)
img = rng.poisson(noise_lam * img) / noise_lam
img, target = self.postprocess(img, target)
return img, target
class CIFAR10PoissonGaussianNoise(CIFAR10Noise):
"""CIFAR10 Dataset with Poisson-Gaussian noise.
Args:
noise_lam (float): The total number of events for Poisson noise
(default: 30.).
noise_scale (float): The standard deviation of additive Gaussian noise
(default: 25.).
noise_lam_high (float): The maximum total number of events for Poisson
noise (default: None, i.e., `noise_lam`).
noise_scale_high (float): The upper bound of the standard deviation of
additive Gaussian noise (default: None, i.e., `noise_scale`).
This is a subclass of the `CIFAR10Noise` Dataset.
"""
def __init__(self,
noise_lam=30.,
noise_scale=3.,
noise_lam_high=None,
noise_scale_high=None,
**kwargs):
self.noise_lam = noise_lam
self.noise_lam_high = noise_lam_high
self.noise_scale = noise_scale
self.noise_scale_high = noise_scale_high
super(CIFAR10PoissonGaussianNoise, self).__init__(**kwargs)
def __getitem__(self, index):
rng = np.random.RandomState(self.seed * len(self) + index)
img, target = self.data[index], self.targets[index]
img = img / 255.
if self.noise_lam_high is None:
noise_lam = self.noise_lam
else:
noise_lam = rng.uniform(self.noise_lam, self.noise_lam_high)
img = rng.poisson(noise_lam * img) / noise_lam
if self.noise_scale_high is None:
noise_scale = self.noise_scale
else:
noise_scale = rng.uniform(self.noise_scale, self.noise_scale_high)
img = img + rng.randn(*img.shape) * noise_scale / 255.
img, target = self.postprocess(img, target)
return img, target
| 39.568075 | 79 | 0.61616 | 2,035 | 16,856 | 4.871744 | 0.072236 | 0.154327 | 0.076256 | 0.038128 | 0.759734 | 0.730986 | 0.706879 | 0.688925 | 0.667137 | 0.658564 | 0 | 0.022254 | 0.290876 | 16,856 | 425 | 80 | 39.661176 | 0.807161 | 0.271239 | 0 | 0.646825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003968 | 1 | 0.095238 | false | 0 | 0.011905 | 0 | 0.198413 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
00ee6764d6a9fbce4f957e99bce61f2e3cf5f6a4 | 1,063 | py | Python | src/registration/views.py | vladimir-grigoriev/python_curse | 2ec55f453f29892bfbd8ba2d4f0712f7c0263ec2 | [
"Apache-2.0"
] | null | null | null | src/registration/views.py | vladimir-grigoriev/python_curse | 2ec55f453f29892bfbd8ba2d4f0712f7c0263ec2 | [
"Apache-2.0"
] | null | null | null | src/registration/views.py | vladimir-grigoriev/python_curse | 2ec55f453f29892bfbd8ba2d4f0712f7c0263ec2 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render, reverse
from django.views.generic import CreateView
from django.contrib.auth.models import Group
from .forms import RegistrationUserForm
from django.urls import reverse_lazy
from django.contrib.auth import get_user_model, authenticate, login
from django.contrib.messages.views import SuccessMessageMixin
from user_profile.models import Profile
User = get_user_model()
class UserRegistrationView(SuccessMessageMixin, CreateView):
template_name = 'registration/registration.html'
form_class = RegistrationUserForm
success_url = reverse_lazy('hello_world:homepage')
success_message = "Created successfully"
def form_valid(self, form):
valid = super().form_valid(form)
username, password = form.cleaned_data.get('username'), form.cleaned_data.get('password1')
new_user = authenticate(username=username, password=password)
login(self.request, new_user)
group = Group.objects.get(name='Users')
self.request.user.groups.add(group)
return valid
| 37.964286 | 98 | 0.761054 | 127 | 1,063 | 6.228346 | 0.440945 | 0.075853 | 0.064475 | 0.053097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001115 | 0.156162 | 1,063 | 27 | 99 | 39.37037 | 0.880713 | 0 | 0 | 0 | 0 | 0 | 0.086548 | 0.028222 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0.090909 | 0.363636 | 0 | 0.681818 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
da9be3ea279e47395569c1de88bc5271ef7edfba | 801 | py | Python | server/lib/python3.9/site-packages/stripe/api_resources/issuing/dispute.py | ejanicas-stripe/hotel | a0d0a7e1ae14b509a5c9d05d17603b99399cb752 | [
"MIT"
] | 1,078 | 2015-01-06T03:35:05.000Z | 2022-03-25T13:25:48.000Z | server/lib/python3.9/site-packages/stripe/api_resources/issuing/dispute.py | ejanicas-stripe/hotel | a0d0a7e1ae14b509a5c9d05d17603b99399cb752 | [
"MIT"
] | 558 | 2015-01-07T19:05:02.000Z | 2022-03-28T22:19:24.000Z | server/lib/python3.9/site-packages/stripe/api_resources/issuing/dispute.py | ejanicas-stripe/hotel | a0d0a7e1ae14b509a5c9d05d17603b99399cb752 | [
"MIT"
] | 382 | 2015-01-04T14:06:09.000Z | 2022-03-16T04:52:04.000Z | # File generated from our OpenAPI spec
from __future__ import absolute_import, division, print_function
from stripe import util
from stripe.api_resources.abstract import CreateableAPIResource
from stripe.api_resources.abstract import ListableAPIResource
from stripe.api_resources.abstract import UpdateableAPIResource
from stripe.api_resources.abstract import custom_method
@custom_method("submit", http_verb="post")
class Dispute(
CreateableAPIResource,
ListableAPIResource,
UpdateableAPIResource,
):
OBJECT_NAME = "issuing.dispute"
def submit(self, idempotency_key=None, **params):
url = self.instance_url() + "/submit"
headers = util.populate_headers(idempotency_key)
self.refresh_from(self.request("post", url, params, headers))
return self
| 33.375 | 69 | 0.776529 | 91 | 801 | 6.626374 | 0.483516 | 0.082919 | 0.086235 | 0.145937 | 0.238806 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147316 | 801 | 23 | 70 | 34.826087 | 0.88287 | 0.044944 | 0 | 0 | 1 | 0 | 0.047182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.333333 | 0 | 0.555556 | 0.055556 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
daa6c0b04caa01fcd84ca50e1f9475540e3563e9 | 285 | py | Python | 2.py | diogoleitao/maths | 9dc12d16f978decec7360577d85aa975d6e5352a | [
"MIT"
] | null | null | null | 2.py | diogoleitao/maths | 9dc12d16f978decec7360577d85aa975d6e5352a | [
"MIT"
] | null | null | null | 2.py | diogoleitao/maths | 9dc12d16f978decec7360577d85aa975d6e5352a | [
"MIT"
] | null | null | null | def a():
n = 1
while n < 10**9:
st = str(n)
if len(st) % 2 == 0:
s1 = st[:int(len(st)/2)]
s2 = st[int(len(st)/2):int(2*len(st)/2)]
if int(s1)**2+int(s2)**2 == int(st):
print n
n += 1
else:
n += 1
else:
n = 10*n
a()
| 17.8125 | 46 | 0.378947 | 54 | 285 | 2 | 0.333333 | 0.185185 | 0.222222 | 0.185185 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115607 | 0.392982 | 285 | 15 | 47 | 19 | 0.508671 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.066667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
daafdffb978ab9e1beef2d997470b092181e0fc1 | 2,653 | py | Python | django_extras/tests/core/validators.py | gem/django-extras | d692e87891fe4cb79726437d3185628c1a9e2f33 | [
"BSD-3-Clause"
] | 18 | 2015-08-22T08:59:48.000Z | 2020-10-08T17:15:23.000Z | django_extras/tests/core/validators.py | gem/django-extras | d692e87891fe4cb79726437d3185628c1a9e2f33 | [
"BSD-3-Clause"
] | 4 | 2018-01-06T23:19:20.000Z | 2020-10-09T02:22:45.000Z | django_extras/tests/core/validators.py | gem/django-extras | d692e87891fe4cb79726437d3185628c1a9e2f33 | [
"BSD-3-Clause"
] | 9 | 2015-06-15T17:28:03.000Z | 2021-08-29T07:26:50.000Z | from django import test
from django_extras.core import validators
class ColorValidatorTestCase(test.TestCase):
def test_hash(self):
validators.validate_color('#123')
validators.validate_color('#abc')
validators.validate_color('#45d')
validators.validate_color('#6789ef')
validators.validate_color('#abcdef')
validators.validate_color('#0a1b2c')
def test_rgb(self):
validators.validate_color('rgb(0,1,2)')
validators.validate_color('rgb(34,56,78)')
validators.validate_color('rgb(191,234,156)')
validators.validate_color('rgb(255,255,255)')
def test_hsl(self):
validators.validate_color('hsl(1,2%,3%)')
validators.validate_color('hsl(23,45%,67%)')
validators.validate_color('hsl(345,89%,90%)')
validators.validate_color('hsl(360,100%,100%)')
class AlphaColorValidatorTestCase(test.TestCase):
def test_hash(self):
validators.validate_alpha_color('#123')
validators.validate_alpha_color('#abc')
validators.validate_alpha_color('#45d')
validators.validate_alpha_color('#6789ef')
validators.validate_alpha_color('#abcdef')
validators.validate_alpha_color('#0a1b2c')
def test_rgb(self):
validators.validate_alpha_color('rgb(0,1,2)')
validators.validate_alpha_color('rgb(34,56,78)')
validators.validate_alpha_color('rgb(191,234,156)')
validators.validate_alpha_color('rgb(255,255,255)')
def test_rgba(self):
validators.validate_alpha_color('rgba(0, 1, 2, 0)')
validators.validate_alpha_color('rgba(34, 56, 78, 0.1)')
validators.validate_alpha_color('rgba(191, 234, 156, .2)')
validators.validate_alpha_color('rgba(255, 255, 255, 1)')
def test_hsl(self):
validators.validate_alpha_color('hsl(1,2%,3%)')
validators.validate_alpha_color('hsl(23,45%,67%)')
validators.validate_alpha_color('hsl(345,89%,90%)')
validators.validate_alpha_color('hsl(360,100%,100%)')
def test_hsla(self):
validators.validate_alpha_color('hsla(1,2%,3%,0)')
validators.validate_alpha_color('hsla(23,45%,67%,0.1)')
validators.validate_alpha_color('hsla(345,89%,90%,.2)')
validators.validate_alpha_color('hsla(360,100%,100%,1)')
class JsonValidatorTestCase(test.TestCase):
def invalid_json(self):
validators.validate_json('{"foo":"bar", "eek": 123, }')
def test_valid(self):
validators.validate_json('{"foo":"bar", "eek": 123}')
def test_invalid(self):
self.assertRaises(validators.ValidationError, self.invalid_json)
| 37.366197 | 72 | 0.670939 | 335 | 2,653 | 5.095522 | 0.164179 | 0.400703 | 0.296426 | 0.360867 | 0.648506 | 0.475103 | 0.406561 | 0.155829 | 0.052724 | 0.052724 | 0 | 0.089539 | 0.174896 | 2,653 | 70 | 73 | 37.9 | 0.69027 | 0 | 0 | 0.109091 | 0 | 0 | 0.191554 | 0.007919 | 0 | 0 | 0 | 0 | 0.018182 | 1 | 0.2 | false | 0 | 0.036364 | 0 | 0.290909 | 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 | 0 | 0 | 0 | 3 |
dab4ef26fa6223d9d3e120fdb10357e0aade1279 | 326 | py | Python | backend/categorias/models.py | JoaoAPS/AlugaInstrumentos | f4001f439c4f96c4de2b194ce268b9d7f95e4512 | [
"MIT"
] | null | null | null | backend/categorias/models.py | JoaoAPS/AlugaInstrumentos | f4001f439c4f96c4de2b194ce268b9d7f95e4512 | [
"MIT"
] | null | null | null | backend/categorias/models.py | JoaoAPS/AlugaInstrumentos | f4001f439c4f96c4de2b194ce268b9d7f95e4512 | [
"MIT"
] | null | null | null | from django.db import models
class Categoria(models.Model):
"""Categoria que um equipamento pode ter"""
name = models.CharField('nome', max_length=64)
is_instrument = models.BooleanField()
def __str__(self):
return self.name
def __repr__(self):
return "<Categoria: " + str(self) + '>'
| 21.733333 | 50 | 0.650307 | 39 | 326 | 5.179487 | 0.692308 | 0.069307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007905 | 0.223926 | 326 | 14 | 51 | 23.285714 | 0.790514 | 0.113497 | 0 | 0 | 0 | 0 | 0.060071 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 1 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
daef8a5f293dcc3bb3552901663446caab89c98a | 444 | py | Python | python/python demo/time60.py | guweimo/Previous-exercises | 2c8017d2724dc0ba4cb1d952e2e4338424585cb7 | [
"MIT"
] | null | null | null | python/python demo/time60.py | guweimo/Previous-exercises | 2c8017d2724dc0ba4cb1d952e2e4338424585cb7 | [
"MIT"
] | null | null | null | python/python demo/time60.py | guweimo/Previous-exercises | 2c8017d2724dc0ba4cb1d952e2e4338424585cb7 | [
"MIT"
] | null | null | null | class Time60(object):
'Time60 - track hours and minutes'
def __init__(self, hr, min):
self.hr = hr
self.min = min
def __str__(self):
return '%d:%d' %(self.hr, self.min)
__repr__ = __str__
def __add__(self, other):
return self.__class__(self.hr + other.hr, self.min + other.min)
def __iadd__(self, other):
self.hr += other.hr
self.min += other.min
return self
| 22.2 | 71 | 0.574324 | 60 | 444 | 3.783333 | 0.316667 | 0.132159 | 0.15859 | 0.114537 | 0.246696 | 0.246696 | 0.246696 | 0.246696 | 0 | 0 | 0 | 0.012862 | 0.29955 | 444 | 19 | 72 | 23.368421 | 0.717042 | 0.072072 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
daf6b43f68544b7e378f5cca6ddb127bad1df87e | 342 | py | Python | jsuite/count.py | schatten/jsuite | 1dfd16cafc434ecbbec7c831d6189ea4998fad4c | [
"MIT"
] | 4 | 2017-11-27T16:25:57.000Z | 2021-07-26T22:23:54.000Z | jsuite/count.py | TypesetIO/jsuite | 1dfd16cafc434ecbbec7c831d6189ea4998fad4c | [
"MIT"
] | 2 | 2021-03-22T16:56:19.000Z | 2021-12-13T19:35:45.000Z | jsuite/count.py | schatten/jsuite | 1dfd16cafc434ecbbec7c831d6189ea4998fad4c | [
"MIT"
] | 1 | 2018-03-09T17:26:25.000Z | 2018-03-09T17:26:25.000Z | import logging
logger = logging.getLogger('jsuite')
def of_type_in_body(etree, type):
xpath_query = './body//%s' %(type)
return len(etree.findall(xpath_query))
def of_type(etree, type):
xpath_query = './/%s' %(type)
return len(etree.findall(xpath_query))
def of_xpath(etree, xpath_query):
return len(etree.findall(xpath_query))
| 22.8 | 40 | 0.719298 | 51 | 342 | 4.607843 | 0.333333 | 0.255319 | 0.178723 | 0.268085 | 0.480851 | 0.480851 | 0.348936 | 0.348936 | 0.348936 | 0.348936 | 0 | 0 | 0.122807 | 342 | 14 | 41 | 24.428571 | 0.783333 | 0 | 0 | 0.3 | 0 | 0 | 0.061404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.1 | 0.7 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9750936f364d9f59c1559f2643d8c517f85b74c1 | 122 | py | Python | django_outlook/default_settings.py | weijia/django-outlook | 3f6b22e3ec34890c9b84699a22b2e39b8cadc723 | [
"MIT"
] | null | null | null | django_outlook/default_settings.py | weijia/django-outlook | 3f6b22e3ec34890c9b84699a22b2e39b8cadc723 | [
"MIT"
] | 2 | 2018-12-26T19:10:02.000Z | 2021-11-15T17:47:55.000Z | django_outlook/default_settings.py | weijia/django-outlook | 3f6b22e3ec34890c9b84699a22b2e39b8cadc723 | [
"MIT"
] | null | null | null | INSTALLED_APPS += (
"django_mailbox",
# "social",
'reversion',
# "social_django",
'django_outlook',
)
| 15.25 | 22 | 0.57377 | 10 | 122 | 6.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254098 | 122 | 7 | 23 | 17.428571 | 0.725275 | 0.213115 | 0 | 0 | 0 | 0 | 0.397849 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 3 |
9782c2f45d33fca385a81a01a1370076a6fcd990 | 171 | py | Python | issue/forms.py | arkarhtethan/django-library-management-system | f505b85f9609e62e30d4459f8028a6b5418fbf7d | [
"MIT"
] | 1 | 2022-01-17T06:28:44.000Z | 2022-01-17T06:28:44.000Z | issue/forms.py | arkarhtethan/django-library-management-system | f505b85f9609e62e30d4459f8028a6b5418fbf7d | [
"MIT"
] | 10 | 2020-06-05T22:48:54.000Z | 2022-03-11T23:57:22.000Z | issue/forms.py | arkarhtethan/django-library-management-system | f505b85f9609e62e30d4459f8028a6b5418fbf7d | [
"MIT"
] | 1 | 2020-06-05T11:23:57.000Z | 2020-06-05T11:23:57.000Z | from django import forms
from .models import Issue
class IssueAddForm(forms.ModelForm):
class Meta:
model = Issue
exclude = ["return_date"] | 17.1 | 36 | 0.643275 | 19 | 171 | 5.736842 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28655 | 171 | 10 | 37 | 17.1 | 0.893443 | 0 | 0 | 0 | 0 | 0 | 0.063953 | 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 | 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 | 3 |
9796dabcd028c04525777b687c33249cb9071957 | 6,235 | py | Python | PROJ/STOCHASTIC_VOL/Helper_Functions/get_variance_grid_boundaries.py | mattslezak-shell/PROJ_Option_Pricing_Matlab | 6105bd00ba3471802180c122fdf81e90833a91c4 | [
"MIT"
] | null | null | null | PROJ/STOCHASTIC_VOL/Helper_Functions/get_variance_grid_boundaries.py | mattslezak-shell/PROJ_Option_Pricing_Matlab | 6105bd00ba3471802180c122fdf81e90833a91c4 | [
"MIT"
] | null | null | null | PROJ/STOCHASTIC_VOL/Helper_Functions/get_variance_grid_boundaries.py | mattslezak-shell/PROJ_Option_Pricing_Matlab | 6105bd00ba3471802180c122fdf81e90833a91c4 | [
"MIT"
] | 1 | 2022-01-07T15:31:45.000Z | 2022-01-07T15:31:45.000Z | # Generated with SMOP 0.41-beta
try:
from smop.libsmop import *
except ImportError:
raise ImportError('File compiled with `smop3`, please install `smop3` to run it.') from None
# get_variance_grid_boundaries.m
@function
def get_variance_grid_boundaries(model=None,modparam=None,t=None,gamma=None,*args,**kwargs):
varargin = get_variance_grid_boundaries.varargin
nargin = get_variance_grid_boundaries.nargin
# Retrive lower and upper boundaries for variance grid, based on first two moments of variance process
# model : see below
# modparam : container with each of the model parameters required
# t: time to maturity used for the vairance grid
# gamma: grid mult param, rougly centered around +/- gamma standard deviations of the variance process
if model == 1:
eta=modparam.eta
# get_variance_grid_boundaries.m:9
theta=modparam.theta
# get_variance_grid_boundaries.m:9
Sigmav=modparam.Sigmav
# get_variance_grid_boundaries.m:9
v0=modparam.v0
# get_variance_grid_boundaries.m:9
mu_H=dot(exp(dot(- eta,t)),v0) + dot(theta,(1 - exp(dot(- eta,t))))
# get_variance_grid_boundaries.m:11
sig2_H=dot(dot(Sigmav ** 2 / eta,v0),(exp(dot(- eta,t)) - exp(dot(dot(- 2,eta),t)))) + dot(dot(theta,Sigmav ** 2) / (dot(2,eta)),(1 - dot(2,exp(dot(- eta,t))) + exp(dot(dot(- 2,eta),t))))
# get_variance_grid_boundaries.m:12
else:
if model == 2 or model == 6:
eta=modparam.eta
# get_variance_grid_boundaries.m:15
theta=modparam.theta
# get_variance_grid_boundaries.m:15
Sigmav=modparam.Sigmav
# get_variance_grid_boundaries.m:15
v0=modparam.v0
# get_variance_grid_boundaries.m:15
mu_H=dot(exp(dot(- eta,t)),v0) + dot(theta,(1 - exp(dot(- eta,t))))
# get_variance_grid_boundaries.m:17
sig2_H=dot(Sigmav ** 2 / (dot(2,eta)),(1 - exp(dot(dot(- 2,eta),t))))
# get_variance_grid_boundaries.m:18
else:
if model == 3:
#Transform to parameters that can be use in 4/2 model
eta=dot(modparam.eta,modparam.theta)
# get_variance_grid_boundaries.m:22
theta=(modparam.eta + modparam.Sigmav ** 2) / eta
# get_variance_grid_boundaries.m:23
Sigmav=- modparam.Sigmav
# get_variance_grid_boundaries.m:24
v0=1 / modparam.v0
# get_variance_grid_boundaries.m:25
mu_H=dot(exp(dot(- eta,t)),v0) + dot(theta,(1 - exp(dot(- eta,t))))
# get_variance_grid_boundaries.m:27
sig2_H=dot(dot(Sigmav ** 2 / eta,v0),(exp(dot(- eta,t)) - exp(dot(dot(- 2,eta),t)))) + dot(dot(theta,Sigmav ** 2) / (dot(2,eta)),(1 - exp(dot(- eta,t)) + exp(dot(dot(- 2,eta),t))))
# get_variance_grid_boundaries.m:28
else:
if model == 4:
eta=modparam.eta
# get_variance_grid_boundaries.m:31
theta=modparam.theta
# get_variance_grid_boundaries.m:31
Sigmav=modparam.Sigmav
# get_variance_grid_boundaries.m:31
v0=modparam.v0
# get_variance_grid_boundaries.m:31
mu_H=dot(exp(dot(- eta,t)),v0) + dot(theta,(1 - exp(dot(- eta,t))))
# get_variance_grid_boundaries.m:33
sig2_H=dot(dot(Sigmav ** 2 / eta,v0),(exp(dot(- eta,t)) - exp(dot(dot(- 2,eta),t)))) + dot(dot(theta,Sigmav ** 2) / (dot(2,eta)),(1 - exp(dot(- eta,t)) + exp(dot(dot(- 2,eta),t))))
# get_variance_grid_boundaries.m:34
else:
if model == 5:
Sigmav=modparam.Sigmav
# get_variance_grid_boundaries.m:37
v0=modparam.v0
# get_variance_grid_boundaries.m:37
av=modparam.av
# get_variance_grid_boundaries.m:37
mu_H=dot(v0,exp(dot(av,t)))
# get_variance_grid_boundaries.m:39
sig2_H=dot(dot(v0 ** 2,exp(dot(dot(2,av),t))),(exp(dot(Sigmav ** 2,t)) - 1))
# get_variance_grid_boundaries.m:40
else:
if model == 7:
# ### Commented Version is With the Second Formultion
# Rho = modparam.rho; Sigmav = modparam.Sigmav; v0 = modparam.v0; alphav = modparam.alphav; av = modparam.av; bv = modparam.bv;
# Av = 2*(av + Sigmav^2 - (v0)^(alphav/2));
# mu_H = v0*exp(Av*t);
# sig2_H = v0^2*exp(2*av*t)*(exp((2*Sigmav)^2*t)-1);
### Estimate Mean and Variance Using Stein Stein and First order approx
Sigmav=modparam.Sigmav
# get_variance_grid_boundaries.m:49
v0=modparam.v0
# get_variance_grid_boundaries.m:49
eta=modparam.eta
# get_variance_grid_boundaries.m:49
av=modparam.av
# get_variance_grid_boundaries.m:49
theta=modparam.theta
# get_variance_grid_boundaries.m:49
EtaBar=dot(dot(theta,av),exp(dot(av,v0)))
# get_variance_grid_boundaries.m:50
ThetaBar=(eta - dot(dot(theta,exp(dot(av,v0))),(1 - dot(av,v0)))) / EtaBar
# get_variance_grid_boundaries.m:50
mu_H=dot(exp(dot(- EtaBar,t)),v0) + dot(ThetaBar,(1 - exp(dot(- EtaBar,t))))
# get_variance_grid_boundaries.m:51
sig2_H=dot(Sigmav ** 2 / (dot(2,EtaBar)),(1 - exp(dot(dot(- 2,EtaBar),t))))
# get_variance_grid_boundaries.m:53
if model == 8:
lx=copy(vmin)
# get_variance_grid_boundaries.m:57
ux=copy(vmax)
# get_variance_grid_boundaries.m:58
else:
if model == 2:
lx=max(0.01,mu_H - dot(gamma,sqrt(sig2_H)))
# get_variance_grid_boundaries.m:61
else:
if model == 6 or model == 7:
lx=mu_H - dot(gamma,sqrt(sig2_H))
# get_variance_grid_boundaries.m:63
else:
lx=max(1e-05,mu_H - dot(gamma,sqrt(sig2_H)))
# get_variance_grid_boundaries.m:65
ux=mu_H + dot(gamma,sqrt(sig2_H))
# get_variance_grid_boundaries.m:67
return lx,v0,ux
if __name__ == '__main__':
pass
| 45.181159 | 201 | 0.586848 | 890 | 6,235 | 3.91573 | 0.170787 | 0.168723 | 0.2066 | 0.344333 | 0.626399 | 0.589957 | 0.546915 | 0.498709 | 0.242468 | 0.242468 | 0 | 0.043924 | 0.280674 | 6,235 | 138 | 202 | 45.181159 | 0.73311 | 0.372253 | 0 | 0.472222 | 1 | 0 | 0.018578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013889 | false | 0.013889 | 0.041667 | 0 | 0.069444 | 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 | 0 | 0 | 0 | 3 |
97a3c79561542f72ce949810f358cbfba9f8022f | 262 | py | Python | src/autodj/annotation/style/reload_in_python3.py | Jadenyifanhe/Automated-DJ | a066ca4c98a8dd61433cf31967e7c40a86b4695d | [
"MIT"
] | null | null | null | src/autodj/annotation/style/reload_in_python3.py | Jadenyifanhe/Automated-DJ | a066ca4c98a8dd61433cf31967e7c40a86b4695d | [
"MIT"
] | null | null | null | src/autodj/annotation/style/reload_in_python3.py | Jadenyifanhe/Automated-DJ | a066ca4c98a8dd61433cf31967e7c40a86b4695d | [
"MIT"
] | 1 | 2022-02-05T10:48:10.000Z | 2022-02-05T10:48:10.000Z | import os
import pickle
from sklearn.externals import joblib
with open('song_theme_pca_model_pickle.pkl', 'rb') as f:
theme_pca = pickle.load(f, encoding='latin1')
print(theme_pca)
joblib.dump(theme_pca, os.path.join('song_theme_pca_model_python3.pkl'))
| 21.833333 | 72 | 0.774809 | 43 | 262 | 4.465116 | 0.581395 | 0.208333 | 0.125 | 0.177083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.10687 | 262 | 11 | 73 | 23.818182 | 0.811966 | 0 | 0 | 0 | 0 | 0 | 0.270992 | 0.240458 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0.142857 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 3 |
97a49c3e34ac3c7a24a67c94f5e582dc76c06fd7 | 470 | py | Python | Scripts/ubuntu-iso-download-script.py | qyu0303/PythonFiles | aebe78059789b8e0a14573a5b9259a82122a3cdc | [
"bzip2-1.0.6"
] | null | null | null | Scripts/ubuntu-iso-download-script.py | qyu0303/PythonFiles | aebe78059789b8e0a14573a5b9259a82122a3cdc | [
"bzip2-1.0.6"
] | null | null | null | Scripts/ubuntu-iso-download-script.py | qyu0303/PythonFiles | aebe78059789b8e0a14573a5b9259a82122a3cdc | [
"bzip2-1.0.6"
] | null | null | null | #!E:\pythonRelated\python3\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'ubuntu-iso-download==20.1','console_scripts','ubuntu-iso-download'
__requires__ = 'ubuntu-iso-download==20.1'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('ubuntu-iso-download==20.1', 'console_scripts', 'ubuntu-iso-download')()
)
| 36.153846 | 98 | 0.678723 | 66 | 470 | 4.545455 | 0.515152 | 0.15 | 0.283333 | 0.19 | 0.406667 | 0.34 | 0.34 | 0.34 | 0.34 | 0.34 | 0 | 0.029412 | 0.131915 | 470 | 12 | 99 | 39.166667 | 0.705882 | 0.278723 | 0 | 0 | 0 | 0 | 0.353846 | 0.224615 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 3 |
97aad371083071abe7d37b700295c8a476dadefc | 828 | py | Python | pymtl3/stdlib/queues/enq_deq_ifcs.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | 152 | 2020-06-03T02:34:11.000Z | 2022-03-30T04:16:45.000Z | pymtl3/stdlib/queues/enq_deq_ifcs.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | 139 | 2019-05-29T00:37:09.000Z | 2020-05-17T16:49:26.000Z | pymtl3/stdlib/queues/enq_deq_ifcs.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | 22 | 2020-05-18T13:42:05.000Z | 2022-03-11T08:37:51.000Z | """
========================================================================
EnqDeqIfc.py
========================================================================
RTL implementation of deq and enq interface.
Author: Yanghui Ou
Date: Mar 21, 2019
"""
from pymtl3 import *
from pymtl3.stdlib.ifcs import GiveIfcFL, GiveIfcRTL, RecvIfcFL, RecvIfcRTL
#-------------------------------------------------------------------------
# EnqIfcRTL
#-------------------------------------------------------------------------
class EnqIfcRTL( RecvIfcRTL ):
pass
#-------------------------------------------------------------------------
# DeqIfcRTL
#-------------------------------------------------------------------------
class DeqIfcRTL( GiveIfcRTL ):
pass
class EnqIfcFL( RecvIfcFL ):
pass
class DeqIfcFL( GiveIfcFL ):
pass
| 25.875 | 75 | 0.34058 | 46 | 828 | 6.130435 | 0.673913 | 0.070922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010624 | 0.09058 | 828 | 31 | 76 | 26.709677 | 0.363878 | 0.672705 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
97d22b59f87d2ce5aafb9e45bc3be5482d2ee826 | 300 | py | Python | src/_slivertestproject/app/models.py | jarcoal/django-sliver | 09a0835ac31f1e8e297e84c594e31fa7cc5474a5 | [
"BSD-3-Clause"
] | 6 | 2015-07-12T14:30:04.000Z | 2020-05-05T08:30:30.000Z | src/_slivertestproject/app/models.py | jarcoal/django-sliver | 09a0835ac31f1e8e297e84c594e31fa7cc5474a5 | [
"BSD-3-Clause"
] | 3 | 2019-11-25T19:42:53.000Z | 2019-11-26T09:13:54.000Z | src/_slivertestproject/app/models.py | jarcoal/django-sliver | 09a0835ac31f1e8e297e84c594e31fa7cc5474a5 | [
"BSD-3-Clause"
] | 2 | 2017-02-22T21:56:52.000Z | 2017-04-17T00:30:55.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from django.db import models
class Person(models.Model):
name = models.CharField(max_length=256)
| 21.428571 | 43 | 0.786667 | 41 | 300 | 5.268293 | 0.658537 | 0.185185 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.133333 | 300 | 13 | 44 | 23.076923 | 0.815385 | 0.14 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 1 | 0.142857 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8afd22f4eb912c19e78502f57304d647c116c6d3 | 547 | py | Python | packages/core/minos-microservice-networks/minos/networks/testing/brokers/publishers/queues.py | minos-framework/minos-python | 9a6ad6783361f3d8a497a088808b55ea7a938c6c | [
"MIT"
] | 247 | 2022-01-24T14:55:30.000Z | 2022-03-25T12:06:17.000Z | packages/core/minos-microservice-networks/minos/networks/testing/brokers/publishers/queues.py | minos-framework/minos-python | 9a6ad6783361f3d8a497a088808b55ea7a938c6c | [
"MIT"
] | 168 | 2022-01-24T14:54:31.000Z | 2022-03-31T09:31:09.000Z | packages/core/minos-microservice-networks/minos/networks/testing/brokers/publishers/queues.py | minos-framework/minos-python | 9a6ad6783361f3d8a497a088808b55ea7a938c6c | [
"MIT"
] | 21 | 2022-02-06T17:25:58.000Z | 2022-03-27T04:50:29.000Z | from minos.common.testing import (
MockedDatabaseClient,
)
from minos.networks import (
BrokerPublisherQueueDatabaseOperationFactory,
)
from ..collections import (
MockedBrokerQueueDatabaseOperationFactory,
)
class MockedBrokerPublisherQueueDatabaseOperationFactory(
BrokerPublisherQueueDatabaseOperationFactory, MockedBrokerQueueDatabaseOperationFactory
):
"""For testing purposes"""
MockedDatabaseClient.set_factory(
BrokerPublisherQueueDatabaseOperationFactory, MockedBrokerPublisherQueueDatabaseOperationFactory
)
| 24.863636 | 100 | 0.840951 | 27 | 547 | 17 | 0.592593 | 0.039216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107861 | 547 | 21 | 101 | 26.047619 | 0.940574 | 0.036563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.266667 | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c100f059174e5fa24bf79ac75852b0dc55be9fce | 229 | py | Python | lesson-5/ex7.py | alirsamar/intro-ml | 36450b26b7ea09472ccdd2a0abce51b6c3889a20 | [
"MIT"
] | null | null | null | lesson-5/ex7.py | alirsamar/intro-ml | 36450b26b7ea09472ccdd2a0abce51b6c3889a20 | [
"MIT"
] | null | null | null | lesson-5/ex7.py | alirsamar/intro-ml | 36450b26b7ea09472ccdd2a0abce51b6c3889a20 | [
"MIT"
] | null | null | null | # Missing POIs 1
import pickle
enron_data = pickle.load(open("../ud120-projects/final_project/final_project_dataset.pkl", "r"))
print sum(1 for x in enron_data.values() if x['total_payments'] == 'NaN') * 100 / len(enron_data)
| 28.625 | 97 | 0.724891 | 37 | 229 | 4.297297 | 0.756757 | 0.169811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.117904 | 229 | 7 | 98 | 32.714286 | 0.747525 | 0.061135 | 0 | 0 | 0 | 0 | 0.352113 | 0.267606 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c10984283dada818a293c37e4c78fe08698a071f | 188 | py | Python | Lecture/Lecture12/L12_Fib_gen.py | 404nofound/CS521-Info-Str-Python | 2ead691c519f29713419e79d600a2d2a1c87d1c1 | [
"Apache-2.0"
] | null | null | null | Lecture/Lecture12/L12_Fib_gen.py | 404nofound/CS521-Info-Str-Python | 2ead691c519f29713419e79d600a2d2a1c87d1c1 | [
"Apache-2.0"
] | null | null | null | Lecture/Lecture12/L12_Fib_gen.py | 404nofound/CS521-Info-Str-Python | 2ead691c519f29713419e79d600a2d2a1c87d1c1 | [
"Apache-2.0"
] | null | null | null | from itertools import islice
def fib():
prev, curr = 0, 1
while True:
yield curr
prev, curr = curr, prev + curr
f = fib()
print(list(islice(f, 0, 10)))
| 17.090909 | 39 | 0.542553 | 27 | 188 | 3.777778 | 0.62963 | 0.235294 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040323 | 0.340426 | 188 | 10 | 40 | 18.8 | 0.782258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.25 | 0.125 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c119d219e8c150e4748bc7a004f462ac2275be4f | 99 | py | Python | dice.py | Lioncat2002/computerProjPy | accb584443796967a4c3f0e8afce3d39e44cb113 | [
"MIT"
] | null | null | null | dice.py | Lioncat2002/computerProjPy | accb584443796967a4c3f0e8afce3d39e44cb113 | [
"MIT"
] | null | null | null | dice.py | Lioncat2002/computerProjPy | accb584443796967a4c3f0e8afce3d39e44cb113 | [
"MIT"
] | null | null | null | '''10.WAP to output a random number between 1 and 6'''
import random
x=random.randint(1,6)
print(x) | 24.75 | 54 | 0.727273 | 20 | 99 | 3.6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.131313 | 99 | 4 | 55 | 24.75 | 0.767442 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c1201877440a29b52378d5a377b94844e90bbe59 | 1,272 | py | Python | unitconverter/unitconverter/unitconverter.py | mdenesfe/Unit-Converter | ae7db399b7bac78459ac7eedee3d670b1a26f5e3 | [
"MIT"
] | null | null | null | unitconverter/unitconverter/unitconverter.py | mdenesfe/Unit-Converter | ae7db399b7bac78459ac7eedee3d670b1a26f5e3 | [
"MIT"
] | null | null | null | unitconverter/unitconverter/unitconverter.py | mdenesfe/Unit-Converter | ae7db399b7bac78459ac7eedee3d670b1a26f5e3 | [
"MIT"
] | null | null | null |
num1 = input('Değer Giriniz: ')
unit1 = input('Hangi Birimden Dönüştürmek İstersiniz?')
unit2 = input('Hangi Birime Dönüştürmek İstersiniz?')
if unit1 == "cm" and unit2 == "m":
ans = float(num1)/100
print(ans)
elif unit1 == "mm" and unit2 == "cm":
ans = float(num1)/10
print(ans)
elif unit1 == "m" and unit2 == "cm":
ans = float(num1)*100
print(ans)
elif unit1 == "cm" and unit2 == "mm":
ans = float(num1)*10
print(ans)
elif unit1 == "mm" and unit2 == "m":
ans = float(num1)/1000
print(ans)
elif unit1 == "m" and unit2 == "mm":
ans = float(num1)*1000
print(ans)
elif unit1 == "km" and unit2 == "m":
ans = float(num1)*1000
print(ans)
elif unit1 == "m" and unit2 == "km":
ans = float(num1)/1000
print(ans)
elif unit1 == "mm" and unit2 == "km":
ans = float(num1)/1000000
print(ans)
elif unit1 == "ft" and unit2 == "cm":
ans = float(num1)*30.48
print(ans)
elif unit1 == "ft" and unit2 == "mm":
ans = float(num1)*304.8
print(ans)
elif unit1 == "ft" and unit2 == "inch":
ans = float(num1)*12
print(ans)
elif unit1 == "inch" and unit2 == "cm":
ans = float(num1)*2.54
elif unit1 == "inch" and unit2 == "mm":
ans = float(num1)*25.4 | 28.266667 | 56 | 0.559748 | 188 | 1,272 | 3.797872 | 0.202128 | 0.156863 | 0.235294 | 0.285714 | 0.763305 | 0.726891 | 0.568627 | 0.411765 | 0.142857 | 0.142857 | 0 | 0.1 | 0.261006 | 1,272 | 45 | 57 | 28.266667 | 0.657447 | 0 | 0 | 0.372093 | 0 | 0 | 0.118078 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.27907 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c12c5f4b91a3dda90dc42f6d04a6aec2402d9a95 | 384 | py | Python | megalinter/tests/test_megalinter/linters/latex_chktex_test.py | private-forks/mega-linter | e22555d5dd18f6e7c32057b87b366d22f61a115d | [
"MIT"
] | null | null | null | megalinter/tests/test_megalinter/linters/latex_chktex_test.py | private-forks/mega-linter | e22555d5dd18f6e7c32057b87b366d22f61a115d | [
"MIT"
] | 37 | 2021-05-12T06:28:04.000Z | 2022-03-31T10:14:51.000Z | megalinter/tests/test_megalinter/linters/latex_chktex_test.py | private-forks/mega-linter | e22555d5dd18f6e7c32057b87b366d22f61a115d | [
"MIT"
] | null | null | null | # !/usr/bin/env python3
"""
Unit tests for LATEX linter chktex
This class has been automatically generated by .automation/build.py, please do not update it manually
"""
from unittest import TestCase
from megalinter.tests.test_megalinter.LinterTestRoot import LinterTestRoot
class latex_chktex_test(TestCase, LinterTestRoot):
descriptor_id = "LATEX"
linter_name = "chktex"
| 25.6 | 101 | 0.786458 | 50 | 384 | 5.94 | 0.72 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00303 | 0.140625 | 384 | 14 | 102 | 27.428571 | 0.89697 | 0.414063 | 0 | 0 | 1 | 0 | 0.050691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c1660a3cb4258073e97ac912133e00c05d14b7d0 | 1,495 | py | Python | pyomni/object/base.py | taxpon/pyomni | 74e256b6fc9cf0f4bcfc575bb8ed702f573a967f | [
"MIT"
] | 12 | 2015-12-20T13:13:22.000Z | 2022-01-29T05:32:35.000Z | pyomni/object/base.py | taxpon/pyomni | 74e256b6fc9cf0f4bcfc575bb8ed702f573a967f | [
"MIT"
] | 1 | 2020-09-15T15:59:07.000Z | 2020-09-15T15:59:07.000Z | pyomni/object/base.py | taxpon/pyomni | 74e256b6fc9cf0f4bcfc575bb8ed702f573a967f | [
"MIT"
] | 2 | 2016-04-20T15:59:57.000Z | 2019-06-16T12:42:10.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
import datetime
class OmniObjectBase(object):
def __init__(self, task_id=None, added=None,
modified=None, name=None, rank=None,
order="parallel", completed_by_children=False):
"""Create OmniObjectBase instance
:param str task_id:
:param datetime.datetime added:
:param datetime.datetime modified:
:param str name:
:param int rank:
:param string order:
:param bool complete_by_children:
:return:
"""
self._task_id = task_id
self._added = added if added is not None else datetime.datetime.utcnow()
self._modified = modified
self._name = name
self._rank = rank
self._order = order
self._completed_by_children = completed_by_children
@property
def task_id(self):
return self._task_id
@property
def added(self):
return self._added
@property
def modified(self):
return self._modified
@property
def name(self):
return self._name
@property
def name(self):
return self._name
@property
def rank(self):
return self._rank
@property
def order(self):
return self._order
@property
def completed_by_children(self):
return self._completed_by_children
def get_formatted_added(self):
return self.added.isoformat()[:-3] + "Z"
| 23.730159 | 80 | 0.615385 | 172 | 1,495 | 5.093023 | 0.273256 | 0.114155 | 0.143836 | 0.03653 | 0.142694 | 0.0879 | 0.0879 | 0.0879 | 0.0879 | 0 | 0 | 0.00191 | 0.299666 | 1,495 | 62 | 81 | 24.112903 | 0.834766 | 0.159197 | 0 | 0.307692 | 0 | 0 | 0.00764 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25641 | false | 0 | 0.051282 | 0.230769 | 0.564103 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
c17750940dc72da119fcf531d2012f0c7fa2498e | 214 | py | Python | 1_beginner/chapter1/solutions/write_comments.py | code4tomorrow/Python | 035b6f5d8fd635a16caaff78bcd3f582663dadc3 | [
"MIT"
] | 4 | 2021-03-01T00:32:45.000Z | 2021-05-21T22:01:52.000Z | 1_beginner/chapter1/solutions/write_comments.py | code4tomorrow/Python | 035b6f5d8fd635a16caaff78bcd3f582663dadc3 | [
"MIT"
] | 29 | 2020-09-12T22:56:04.000Z | 2021-09-25T17:08:42.000Z | 1_beginner/chapter1/solutions/write_comments.py | code4tomorrow/Python | 035b6f5d8fd635a16caaff78bcd3f582663dadc3 | [
"MIT"
] | 7 | 2021-02-25T01:50:55.000Z | 2022-02-28T00:00:42.000Z | # Write Comments
# Write 3 comments about anything you want,
# like your daily routine or your favorite music artist.
# I wake up at 8 AM and eat breakfast
# My favorite artist is Sara Bareilles
# Python is cool!
| 26.75 | 56 | 0.757009 | 36 | 214 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011696 | 0.200935 | 214 | 7 | 57 | 30.571429 | 0.935673 | 0.934579 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 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 | 3 |
c1ac0b25e3c7cbdd9c485dac206407e7bc87dfa8 | 954 | py | Python | prosrs/__init__.py | compdyn/ProSRS | d9f8f1992af9ebd8570795ed231ee59cb6901e8b | [
"NCSA"
] | 2 | 2019-03-03T22:32:18.000Z | 2019-03-04T14:51:01.000Z | prosrs/__init__.py | compdyn/ProSRS | d9f8f1992af9ebd8570795ed231ee59cb6901e8b | [
"NCSA"
] | null | null | null | prosrs/__init__.py | compdyn/ProSRS | d9f8f1992af9ebd8570795ed231ee59cb6901e8b | [
"NCSA"
] | null | null | null | """
Copyright (C) 2019 Chenchao Shou
Licensed under Illinois Open Source License (see the file LICENSE). For more information
about the license, see http://otm.illinois.edu/disclose-protect/illinois-open-source-license.
"""
from .problem.problem import Problem
from .problem.benchmark import benchmark
from .optimizer.optimizer import Optimizer
from .version import __version__
# Try to import matplotlib packages. Issue a warning if any error occurs.
import warnings
try:
import matplotlib.pyplot as plt
from matplotlib.ticker import MaxNLocator
from matplotlib import cm
from mpl_toolkits.mplot3d import Axes3D
except Exception as e:
warnings.warn('Unable to import modules from matplotlib: %s\nAs a result, the visualization capabilities in the prosrs package may be impaired. For the workarounds and the implications of this, please see the installation note in the README file at `https://github.com/compdyn/ProSRS`.' % str(e)) | 47.7 | 300 | 0.790356 | 137 | 954 | 5.467153 | 0.605839 | 0.056075 | 0.048064 | 0.066756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.144654 | 954 | 20 | 300 | 47.7 | 0.910539 | 0.302935 | 0 | 0 | 0 | 0.083333 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c1acdaef1de49c57443f1c0a9abbf3da8f18bc94 | 24 | py | Python | nssrc/com/citrix/netscaler/nitro/resource/config/ulfd/__init__.py | guardicore/nitro-python | 5346a5086134aead80968f15a41ff527adaa0ec1 | [
"Apache-2.0"
] | null | null | null | nssrc/com/citrix/netscaler/nitro/resource/config/ulfd/__init__.py | guardicore/nitro-python | 5346a5086134aead80968f15a41ff527adaa0ec1 | [
"Apache-2.0"
] | null | null | null | nssrc/com/citrix/netscaler/nitro/resource/config/ulfd/__init__.py | guardicore/nitro-python | 5346a5086134aead80968f15a41ff527adaa0ec1 | [
"Apache-2.0"
] | null | null | null | __all__ = ['ulfdserver'] | 24 | 24 | 0.708333 | 2 | 24 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 24 | 1 | 24 | 24 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0.4 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c1b1f2b5c4aaf146896b52f17a28d687dbc9848a | 95 | py | Python | bouser/web/cors.py | MarsStirner/bouser | 33bf759448fec4340581f1cc44e7b0b23a2c4e7a | [
"0BSD"
] | null | null | null | bouser/web/cors.py | MarsStirner/bouser | 33bf759448fec4340581f1cc44e7b0b23a2c4e7a | [
"0BSD"
] | null | null | null | bouser/web/cors.py | MarsStirner/bouser | 33bf759448fec4340581f1cc44e7b0b23a2c4e7a | [
"0BSD"
] | null | null | null | # -*- coding: utf-8 -*-
__author__ = 'viruzzz-kun'
class OptionsFinish(Exception):
pass
| 11.875 | 31 | 0.642105 | 10 | 95 | 5.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.189474 | 95 | 7 | 32 | 13.571429 | 0.727273 | 0.221053 | 0 | 0 | 0 | 0 | 0.152778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
c1d296a1a152570fb5da22c5e854311ef5eea088 | 231 | py | Python | project_name/__init__.py | JakubTesarek/python_template_project | 12f9aeaaf7fa0a540acb29a3d130b6b35b8534ac | [
"Apache-2.0"
] | null | null | null | project_name/__init__.py | JakubTesarek/python_template_project | 12f9aeaaf7fa0a540acb29a3d130b6b35b8534ac | [
"Apache-2.0"
] | null | null | null | project_name/__init__.py | JakubTesarek/python_template_project | 12f9aeaaf7fa0a540acb29a3d130b6b35b8534ac | [
"Apache-2.0"
] | null | null | null | """Template python project"""
def factorial(n: int) -> int: # pylint: disable=invalid-name
"""Calculates factorial
Example:
>>> factorial(10)
3628800
"""
return [1, 0][n > 1] or factorial(n-1) * n
| 21 | 60 | 0.571429 | 28 | 231 | 4.714286 | 0.678571 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076471 | 0.264069 | 231 | 10 | 61 | 23.1 | 0.7 | 0.510823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
c1d9ae577d1a05acc37ae60ff3f58ef96a84547d | 1,992 | py | Python | core/devices/device.py | TheGentlemanOctopus/oracle | 2857b9c1886548d9aefcb480ce6e77169ee9e7ef | [
"MIT"
] | null | null | null | core/devices/device.py | TheGentlemanOctopus/oracle | 2857b9c1886548d9aefcb480ce6e77169ee9e7ef | [
"MIT"
] | 6 | 2018-05-13T14:44:20.000Z | 2018-07-10T10:12:08.000Z | core/devices/device.py | TheGentlemanOctopus/oracle | 2857b9c1886548d9aefcb480ce6e77169ee9e7ef | [
"MIT"
] | null | null | null | from multiprocessing import Process, Queue, Lock
from Queue import Empty
from core.utilities import logging_handler_setup
class Device(object):
layout_type = "Layout"
def __init__(self):
# Output queue
self.out_queue = Queue()
# Input Queue
self.in_queue = Queue()
# Mutex for the queues
self.queue_mutex = Lock()
# Default to the class name, overwrite this for a unique human-readable reference
self.name = self.__class__.__name__
def main(self):
"""
This should be called to start the process
"""
raise NotImplementedException("Need to define main for %s"%self.__class__.__name__)
def run_main(self, *args):
self.logger = logging_handler_setup(self.name)
self.logger.info("Starting Process %s"%self.name)
self.main(*args)
def start(self, *args):
"""
Starts itself in a new process, all *args are passed to device main
Returns the new process
"""
p = Process(target=self.run_main, args=args)
p.daemon = True
try:
p.start()
return p
except Exception as e:
raise e
def get_in_queue(self):
"""
No wait by default
Saves having to do an empty check and safer
"""
return get_nowait(self.in_queue)
def get_out_queue(self):
"""
Saves having to do an empty check and safer
"""
return get_nowait(self.out_queue)
def get_nowait(queue):
"""
A helper to get something from a queue
Queue.get_nowait() throws an exception if nothing is in the queue
And python docs say you shouldn't assume Queue.empty() is reliable
I think this is nicer than catching an exception
TODO: should this be in utils or something?
"""
try:
return queue.get_nowait()
except Empty as e:
return None
| 26.918919 | 91 | 0.600402 | 260 | 1,992 | 4.442308 | 0.403846 | 0.038961 | 0.031169 | 0.027706 | 0.093506 | 0.093506 | 0.093506 | 0.093506 | 0.093506 | 0.093506 | 0 | 0 | 0.325301 | 1,992 | 73 | 92 | 27.287671 | 0.859375 | 0.317771 | 0 | 0.060606 | 0 | 0 | 0.043515 | 0 | 0 | 0 | 0 | 0.013699 | 0 | 1 | 0.212121 | false | 0 | 0.090909 | 0 | 0.515152 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c1ec89bb4a31b1bcedc93cb1252c8c14579f3608 | 790 | py | Python | course_flow/admin.py | SALTISES4/CourseFlow | a55b5966acd6babf688224ec2f57b2ff59545272 | [
"Apache-2.0"
] | null | null | null | course_flow/admin.py | SALTISES4/CourseFlow | a55b5966acd6babf688224ec2f57b2ff59545272 | [
"Apache-2.0"
] | 2 | 2021-04-20T17:38:27.000Z | 2021-12-12T21:38:27.000Z | course_flow/admin.py | SALTISES4/CourseFlow | a55b5966acd6babf688224ec2f57b2ff59545272 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import (
Node,
Column,
Week,
Activity,
Course,
Program,
NodeWeek,
NodeLink,
WeekWorkflow,
ColumnWorkflow,
Workflow,
Project,
WorkflowProject,
Outcome,
OutcomeNode,
OutcomeOutcome,
)
admin.site.register(Node)
admin.site.register(Column)
admin.site.register(ColumnWorkflow)
admin.site.register(Week)
admin.site.register(Activity)
admin.site.register(Course)
admin.site.register(Program)
admin.site.register(NodeWeek)
admin.site.register(NodeLink)
admin.site.register(WeekWorkflow)
admin.site.register(Workflow)
admin.site.register(Project)
admin.site.register(WorkflowProject)
admin.site.register(Outcome)
admin.site.register(OutcomeNode)
admin.site.register(OutcomeOutcome)
| 20.25641 | 36 | 0.751899 | 88 | 790 | 6.75 | 0.272727 | 0.242424 | 0.457912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141772 | 790 | 38 | 37 | 20.789474 | 0.876106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.057143 | 0 | 0.057143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c1fa28578d4cd2b199fdd7514ceceb9bedacd4d4 | 304,732 | py | Python | bl3save/__init__.py | DataCluster0/wonderlands-cli-saveedit | 91c7cf30289d62b5d51963da39f80d85c8cb97c5 | [
"Zlib"
] | 78 | 2020-04-05T19:49:31.000Z | 2022-03-09T10:01:40.000Z | bl3save/__init__.py | DataCluster0/wonderlands-cli-saveedit | 91c7cf30289d62b5d51963da39f80d85c8cb97c5 | [
"Zlib"
] | 24 | 2020-04-10T16:22:09.000Z | 2022-03-26T11:46:55.000Z | bl3save/__init__.py | DataCluster0/wonderlands-cli-saveedit | 91c7cf30289d62b5d51963da39f80d85c8cb97c5 | [
"Zlib"
] | 19 | 2020-04-10T17:32:56.000Z | 2022-03-27T22:23:05.000Z |
# Copyright (c) 2020-2021 CJ Kucera (cj@apocalyptech.com)
#
# This software is provided 'as-is', without any express or implied warranty.
# In no event will the authors be held liable for any damages arising from
# the use of this software.
#
# Permission is granted to anyone to use this software for any purpose,
# including commercial applications, and to alter it and redistribute it
# freely, subject to the following restrictions:
#
# 1. The origin of this software must not be misrepresented; you must not
# claim that you wrote the original software. If you use this software in a
# product, an acknowledgment in the product documentation would be
# appreciated but is not required.
#
# 2. Altered source versions must be plainly marked as such, and must not be
# misrepresented as being the original software.
#
# 3. This notice may not be removed or altered from any source distribution.
# Editor Version
__version__ = '1.16.1b1'
# Classes
(BEASTMASTER, GUNNER, OPERATIVE, SIREN) = range(4)
class_to_eng = {
BEASTMASTER: 'Beastmaster',
GUNNER: 'Gunner',
OPERATIVE: 'Operative',
SIREN: 'Siren',
}
classobj_to_class = {
'/Game/PlayerCharacters/Beastmaster/PlayerClassId_Beastmaster.PlayerClassId_Beastmaster': BEASTMASTER,
'/Game/PlayerCharacters/Gunner/PlayerClassId_Gunner.PlayerClassId_Gunner': GUNNER,
'/Game/PlayerCharacters/Operative/PlayerClassId_Operative.PlayerClassId_Operative': OPERATIVE,
'/Game/PlayerCharacters/SirenBrawler/PlayerClassId_Siren.PlayerClassId_Siren': SIREN,
}
# Pets
# TODO (ish): Looks like there's currently no support for renaming your Loader
# pet. Make sure to add that in, if they ever get that in the game. (I did try
# just injecting some data even though there's no in-game UI, and couldn't
# find a string that worked.)
(JABBER, SPIDERANT, SKAG) = range(3)
pet_to_eng = {
JABBER: 'Jabber',
SPIDERANT: 'Spiderant',
SKAG: 'Skag',
}
petkey_to_pet = {
'petmonkey': JABBER,
'petspiderant': SPIDERANT,
'petskag': SKAG,
}
pet_to_petkey = {v: k for k, v in petkey_to_pet.items()}
# Currencies
(MONEY, ERIDIUM) = range(2)
currency_to_eng = {
MONEY: 'Money',
ERIDIUM: 'Eridium',
}
currency_to_curhash = {
MONEY: 618814354,
ERIDIUM: 3679636065
}
curhash_to_currency = {v: k for k, v in currency_to_curhash.items()}
# Inventory Slots
(WEAPON1, WEAPON2, WEAPON3, WEAPON4, SHIELD, GRENADE, COM, ARTIFACT) = range(8)
slot_to_eng = {
WEAPON1: 'Weapon 1',
WEAPON2: 'Weapon 2',
WEAPON3: 'Weapon 3',
WEAPON4: 'Weapon 4',
SHIELD: 'Shield',
GRENADE: 'Grenade',
COM: 'COM',
ARTIFACT: 'Artifact',
}
slotobj_to_slot = {
'/Game/Gear/Weapons/_Shared/_Design/InventorySlots/BPInvSlot_Weapon1.BPInvSlot_Weapon1': WEAPON1,
'/Game/Gear/Weapons/_Shared/_Design/InventorySlots/BPInvSlot_Weapon2.BPInvSlot_Weapon2': WEAPON2,
'/Game/Gear/Weapons/_Shared/_Design/InventorySlots/BPInvSlot_Weapon3.BPInvSlot_Weapon3': WEAPON3,
'/Game/Gear/Weapons/_Shared/_Design/InventorySlots/BPInvSlot_Weapon4.BPInvSlot_Weapon4': WEAPON4,
'/Game/Gear/Shields/_Design/A_Data/BPInvSlot_Shield.BPInvSlot_Shield': SHIELD,
'/Game/Gear/GrenadeMods/_Design/A_Data/BPInvSlot_GrenadeMod.BPInvSlot_GrenadeMod': GRENADE,
'/Game/Gear/ClassMods/_Design/_Data/BPInvSlot_ClassMod.BPInvSlot_ClassMod': COM,
'/Game/Gear/Artifacts/_Design/_Data/BPInvSlot_Artifact.BPInvSlot_Artifact': ARTIFACT,
}
slot_to_slotobj = {v: k for k, v in slotobj_to_slot.items()}
# SDUs
(SDU_BACKPACK, SDU_AR, SDU_PISTOL, SDU_SNIPER, SDU_SHOTGUN, SDU_GRENADE, SDU_SMG, SDU_HEAVY) = range(8)
ammo_sdus = [SDU_AR, SDU_PISTOL, SDU_SNIPER, SDU_SHOTGUN, SDU_GRENADE, SDU_SMG, SDU_HEAVY]
sdu_to_eng = {
SDU_BACKPACK: 'Backpack',
SDU_AR: 'AR',
SDU_PISTOL: 'Pistol',
SDU_SNIPER: 'Sniper',
SDU_SHOTGUN: 'Shotgun',
SDU_GRENADE: 'Grenade',
SDU_SMG: 'SMG',
SDU_HEAVY: 'Heavy',
}
sduobj_to_sdu = {
'/Game/Pickups/SDU/SDU_Backpack.SDU_Backpack': SDU_BACKPACK,
'/Game/Pickups/SDU/SDU_AssaultRifle.SDU_AssaultRifle': SDU_AR,
'/Game/Pickups/SDU/SDU_Pistol.SDU_Pistol': SDU_PISTOL,
'/Game/Pickups/SDU/SDU_SniperRifle.SDU_SniperRifle': SDU_SNIPER,
'/Game/Pickups/SDU/SDU_Shotgun.SDU_Shotgun': SDU_SHOTGUN,
'/Game/Pickups/SDU/SDU_Grenade.SDU_Grenade': SDU_GRENADE,
'/Game/Pickups/SDU/SDU_SMG.SDU_SMG': SDU_SMG,
'/Game/Pickups/SDU/SDU_Heavy.SDU_Heavy': SDU_HEAVY,
}
sdu_to_sduobj = {v: k for k, v in sduobj_to_sdu.items()}
sdu_to_max = {
SDU_BACKPACK: 13,
SDU_AR: 10,
SDU_PISTOL: 10,
SDU_SNIPER: 13,
SDU_SHOTGUN: 10,
SDU_GRENADE: 10,
SDU_SMG: 10,
SDU_HEAVY: 13,
}
# Profile SDUs
(PSDU_LOSTLOOT, PSDU_BANK) = range(2)
psdu_to_eng = {
PSDU_LOSTLOOT: 'Lost Loot',
PSDU_BANK: 'Bank',
}
psduobj_to_psdu = {
'/Game/Pickups/SDU/SDU_LostLoot.SDU_LostLoot': PSDU_LOSTLOOT,
'/Game/Pickups/SDU/SDU_Bank.SDU_Bank': PSDU_BANK,
}
psdu_to_psduobj = {v: k for k, v in psduobj_to_psdu.items()}
psdu_to_max = {
PSDU_LOSTLOOT: 10,
PSDU_BANK: 28,
}
# Ammo
(AMMO_AR, AMMO_GRENADE, AMMO_HEAVY, AMMO_PISTOL, AMMO_SMG, AMMO_SHOTGUN, AMMO_SNIPER) = range(7)
ammo_to_eng = {
AMMO_AR: 'AR',
AMMO_GRENADE: 'Grenade',
AMMO_HEAVY: 'Heavy',
AMMO_PISTOL: 'Pistol',
AMMO_SMG: 'SMG',
AMMO_SHOTGUN: 'Shotgun',
AMMO_SNIPER: 'Sniper',
}
ammoobj_to_ammo = {
'/Game/GameData/Weapons/Ammo/Resource_Ammo_AssaultRifle.Resource_Ammo_AssaultRifle': AMMO_AR,
'/Game/GameData/Weapons/Ammo/Resource_Ammo_Grenade.Resource_Ammo_Grenade': AMMO_GRENADE,
'/Game/GameData/Weapons/Ammo/Resource_Ammo_Heavy.Resource_Ammo_Heavy': AMMO_HEAVY,
'/Game/GameData/Weapons/Ammo/Resource_Ammo_Pistol.Resource_Ammo_Pistol': AMMO_PISTOL,
'/Game/GameData/Weapons/Ammo/Resource_Ammo_SMG.Resource_Ammo_SMG': AMMO_SMG,
'/Game/GameData/Weapons/Ammo/Resource_Ammo_Shotgun.Resource_Ammo_Shotgun': AMMO_SHOTGUN,
'/Game/GameData/Weapons/Ammo/Resource_Ammo_Sniper.Resource_Ammo_Sniper': AMMO_SNIPER,
}
ammo_to_ammoobj = {v: k for k, v in ammoobj_to_ammo.items()}
ammo_to_max = {
AMMO_AR: 1680,
AMMO_GRENADE: 13,
AMMO_HEAVY: 51,
AMMO_PISTOL: 1200,
AMMO_SMG: 2160,
AMMO_SHOTGUN: 280,
AMMO_SNIPER: 204,
}
# Challenges
(ERIDIAN_ANALYZER,
ERIDIAN_RESONATOR,
MAYHEM,
CHAL_ARTIFACT,
COM_BEASTMASTER,
COM_GUNNER,
COM_OPERATIVE,
COM_SIREN,
) = range(8)
challenge_to_eng = {
ERIDIAN_ANALYZER: 'Eridian Analyzer',
ERIDIAN_RESONATOR: 'Eridian Resonator',
MAYHEM: 'Mayhem Mode',
CHAL_ARTIFACT: 'Artifact Slot',
COM_BEASTMASTER: 'Beastmaster COM Slot',
COM_GUNNER: 'Gunner COM Slot',
COM_OPERATIVE: 'Operative COM Slot',
COM_SIREN: 'Siren COM Slot',
}
challenge_char_lock = {
COM_BEASTMASTER: BEASTMASTER,
COM_GUNNER: GUNNER,
COM_OPERATIVE: OPERATIVE,
COM_SIREN: SIREN,
}
challengeobj_to_challenge = {
'/Game/GameData/Challenges/Account/Challenge_VaultReward_Analyzer.Challenge_VaultReward_Analyzer_C': ERIDIAN_ANALYZER,
'/Game/GameData/Challenges/Account/Challenge_VaultReward_Resonator.Challenge_VaultReward_Resonator_C': ERIDIAN_RESONATOR,
'/Game/GameData/Challenges/Account/Challenge_VaultReward_Mayhem.Challenge_VaultReward_Mayhem_C': MAYHEM,
'/Game/GameData/Challenges/Account/Challenge_VaultReward_ArtifactSlot.Challenge_VaultReward_ArtifactSlot_C': CHAL_ARTIFACT,
'/Game/GameData/Challenges/Character/Beastmaster/BP_Challenge_Beastmaster_ClassMod.BP_Challenge_Beastmaster_ClassMod_C': COM_BEASTMASTER,
'/Game/GameData/Challenges/Character/Gunner/BP_Challenge_Gunner_ClassMod.BP_Challenge_Gunner_ClassMod_C': COM_GUNNER,
'/Game/GameData/Challenges/Character/Operative/BP_Challenge_Operative_ClassMod.BP_Challenge_Operative_ClassMod_C': COM_OPERATIVE,
'/Game/GameData/Challenges/Character/Siren/BP_Challenge_Siren_ClassMod.BP_Challenge_Siren_ClassMod_C': COM_SIREN,
# This alone is not sufficient to unlock Sanctuary early
#'/Game/GameData/Challenges/FastTravel/Challenge_FastTravel_Sanctuary3_2.Challenge_FastTravel_Sanctuary3_2_C': FOO,
# Unlocking Fabricator really doesn't interest me; I think you'd need the item drop to go along with it, too.
#'/Game/GameData/Challenges/Account/Challenge_VaultReward_Fabricator.Challenge_VaultReward_Fabricator_C': FOO,
# Also, where are the other two gun slots?
}
challenge_to_challengeobj = {v: k for k, v in challengeobj_to_challenge.items()}
# Level-based challenges (probably unimportant, but I've already started doing it,
# so here we go anyway)
level_stat = '/Game/PlayerCharacters/_Shared/_Design/Stats/Character/Stat_Character_Level.Stat_Character_Level'
level_challenges = [
(2, '/Game/GameData/Challenges/System/BP_Challenge_Console_1.BP_Challenge_Console_1_C'),
(10, '/Game/GameData/Challenges/System/BP_Challenge_Console_2.BP_Challenge_Console_2_C'),
(25, '/Game/GameData/Challenges/System/BP_Challenge_Console_3.BP_Challenge_Console_3_C'),
(50, '/Game/GameData/Challenges/System/BP_Challenge_Console_4.BP_Challenge_Console_4_C'),
]
# Borderlands Science
borderlands_science_levels = [
(5, "Claptrap"),
(10, "Brick"),
(15, "Mordecai"),
(20, "Torgue"),
(25, "Marcus"),
(30, "Ellie"),
(35, "Lilith"),
(40, "Mad Moxxi"),
(50, "Tannis"),
(0, "True Tannis")
]
# Vehicle info. We're not doing as much object-to-english mapping stuff here, 'cause
# I don't care enough to code it into the editor. Just doing some more general
# "unlock all" type activity.
(OUTRUNNER, TECHNICAL, CYCLONE, JETBEAST) = range(4)
vehicle_to_eng = {
OUTRUNNER: 'Outrunner',
TECHNICAL: 'Technical',
CYCLONE: 'Cyclone',
JETBEAST: 'Jetbeast',
}
vehicle_chassis = {
OUTRUNNER: set([
'/Game/Vehicles/Outrunner/Design/WT_Outrunner_BuggyWheels.WT_Outrunner_BuggyWheels',
'/Game/Vehicles/Outrunner/Design/WT_Outrunner_HoverWheels.WT_Outrunner_HoverWheels',
'/Game/Vehicles/Outrunner/Design/WT_Outrunner_TwitchyWheels.WT_Outrunner_TwitchyWheels',
'/Game/Vehicles/Outrunner/Design/WT_Outrunner_ZipWheels.WT_Outrunner_ZipWheels',
]),
TECHNICAL: set([
'/Game/Vehicles/Technical/Design/WT_Technical_AllTerrainWheels.WT_Technical_AllTerrainWheels',
'/Game/Vehicles/Technical/Design/WT_Technical_BarbedWheels.WT_Technical_BarbedWheels',
'/Game/Vehicles/Technical/Design/WT_Technical_HoverWheels.WT_Technical_HoverWheels',
'/Game/Vehicles/Technical/Design/WT_Technical_MonsterWheels.WT_Technical_MonsterWheels',
]),
CYCLONE: set([
'/Game/Vehicles/Revolver/Design/WT_Revolver_DualWheel.WT_Revolver_DualWheel',
'/Game/Vehicles/Revolver/Design/WT_Revolver_HoverWheel.WT_Revolver_HoverWheel',
'/Game/Vehicles/Revolver/Design/WT_Revolver_MonoWheel.WT_Revolver_MonoWheel',
'/Game/Vehicles/Revolver/Design/WT_Revolver_WIdeWheel.WT_Revolver_WIdeWheel',
]),
JETBEAST: set([
# This one's technically in the saves, but is there by default and isn't available on its own.
#'/Geranium/Vehicles/Horse/Design/WT_Horse_Base.WT_Horse_Base',
'/Geranium/Vehicles/Horse/Design/WT_Horse_Biobeast.WT_Horse_Biobeast',
'/Geranium/Vehicles/Horse/Design/WT_Horse_Predator.WT_Horse_Predator',
'/Geranium/Vehicles/Horse/Design/WT_Horse_Tyrant.WT_Horse_Tyrant',
]),
}
# Chassis types to *not* unlock. Added for DLC3 since the game is apparently hardcoded to
# unlock the main Jetbeast type, and will do so even if we've already unlocked it, which
# makes it show up in the list twice. This doesn't actually seem to cause any problems, but
# it bothers me, so an `excluders` for unlocking it is.
jetbeast_main_chassis = '/Geranium/Vehicles/Horse/Design/WT_Horse_Biobeast.WT_Horse_Biobeast'
chassis_excluders = set([
jetbeast_main_chassis,
])
chassis_to_vehicle = {}
for vehicle, chassislist in vehicle_chassis.items():
for chassis in chassislist:
chassis_to_vehicle[chassis] = vehicle
vehicle_parts = {
OUTRUNNER: set([
'/Game/Vehicles/Outrunner/Design/Parts/Armor/VehiclePart_Outrunner_Armor_BasicArmor.VehiclePart_Outrunner_Armor_BasicArmor',
'/Game/Vehicles/Outrunner/Design/Parts/Armor/VehiclePart_Outrunner_Armor_HeavyArmor.VehiclePart_Outrunner_Armor_HeavyArmor',
'/Game/Vehicles/Outrunner/Design/Parts/CoreMod/BlazeBooster/VehiclePart_CoreMod_BlazeBooster.VehiclePart_CoreMod_BlazeBooster',
'/Game/Vehicles/Outrunner/Design/Parts/CoreMod/BoostCanisters/VehiclePart_CoreMod_BoostCanisters.VehiclePart_CoreMod_BoostCanisters',
'/Game/Vehicles/Outrunner/Design/Parts/CoreMod/EnergyCells/VehiclePart_CoreMod_EnergyCells.VehiclePart_CoreMod_EnergyCells',
'/Game/Vehicles/Outrunner/Design/Parts/CoreMod/RazerWings/VehiclePart_CoreMod_RazerWings.VehiclePart_CoreMod_RazerWings',
'/Game/Vehicles/VehicleWeapons/DriverWeapons/Type_FlameThrower/FlameThrower/VehiclePart_WeaponDriver_FlameThrower_Native.VehiclePart_WeaponDriver_FlameThrower_Native',
'/Game/Vehicles/VehicleWeapons/DriverWeapons/Type_FlameThrower/TeslaCoil/VehiclePart_WeaponDriver_TeslaCoil_Native.VehiclePart_WeaponDriver_TeslaCoil_Native',
'/Game/Vehicles/VehicleWeapons/DriverWeapons/Type_MachineGun/OutrunnerMachineGun/VehiclePart_WeaponDriver_OutrunnerMachineGun_Native.VehiclePart_WeaponDriver_OutrunnerMachineGun_Native',
'/Game/Vehicles/VehicleWeapons/GunnerWeapons/Type_MissileLauncher/HeavyMissile/VehiclePart_Weapon_HeavyMissile_Native.VehiclePart_Weapon_HeavyMissile_Native',
'/Game/Vehicles/VehicleWeapons/GunnerWeapons/Type_MissileLauncher/ShotgunMissile/VehiclePart_Weapon_ShotgunMissile_Native.VehiclePart_Weapon_ShotgunMissile_Native',
'/Game/Vehicles/VehicleWeapons/GunnerWeapons/Type_MissileLauncher/SwarmerMissile/VehiclePart_Weapon_SwarmerMissile_Native.VehiclePart_Weapon_SwarmerMissile_Native',
]),
TECHNICAL: set([
'/Game/Vehicles/Technical/Design/Parts/Accessory/FlatBed/VehiclePart_CoreMod_Flatbed.VehiclePart_CoreMod_Flatbed',
'/Game/Vehicles/Technical/Design/Parts/Accessory/FuelBarrels/VehiclePart_CoreMod_FuelBarrels.VehiclePart_CoreMod_FuelBarrels',
'/Game/Vehicles/Technical/Design/Parts/Accessory/JetBooster/VehiclePart_CoreMod_JetBooster.VehiclePart_CoreMod_JetBooster',
'/Game/Vehicles/Technical/Design/Parts/Accessory/ToxicBooster/VehiclePart_CoreMod_ToxicBooster.VehiclePart_CoreMod_ToxicBooster',
'/Game/Vehicles/Technical/Design/Parts/Armor/VehiclePart_Techincal_Armor_BasicArmor.VehiclePart_Techincal_Armor_BasicArmor',
'/Game/Vehicles/Technical/Design/Parts/Armor/VehiclePart_Technical_Armor_HeavyArmor.VehiclePart_Technical_Armor_HeavyArmor',
'/Game/Vehicles/Technical/Design/Parts/Armor/VehiclePart_Technical_Armor_MeatGrinder.VehiclePart_Technical_Armor_MeatGrinder',
'/Game/Vehicles/VehicleWeapons/DriverWeapons/Type_MachineGun/FlakCannon/VehiclePart_WeaponDriver_FlakCannon_Native.VehiclePart_WeaponDriver_FlakCannon_Native',
'/Game/Vehicles/VehicleWeapons/DriverWeapons/Type_MachineGun/MachineGun/VehiclePart_WeaponDriver_MachineGun_Native.VehiclePart_WeaponDriver_MachineGun_Native',
'/Game/Vehicles/VehicleWeapons/GunnerWeapons/Type_Catapult/BarrelLauncher/VehiclePart_Weapon_BarrelLauncher_Native.VehiclePart_Weapon_BarrelLauncher_Native',
'/Game/Vehicles/VehicleWeapons/GunnerWeapons/Type_Catapult/PropelledBombsLauncher/VehiclePart_Weapon_PropelledBombsLauncher_Native.VehiclePart_Weapon_PropelledBombsLauncher_Native',
'/Game/Vehicles/VehicleWeapons/GunnerWeapons/Type_Catapult/StickyBombLauncher/VehiclePart_Weapon_StickyBombs_Native.VehiclePart_Weapon_StickyBombs_Native',
]),
CYCLONE: set([
'/Game/Vehicles/Revolver/Design/Parts/Armor/VehiclePart_Revolver_Armor_BasicArmor.VehiclePart_Revolver_Armor_BasicArmor',
'/Game/Vehicles/Revolver/Design/Parts/Armor/VehiclePart_Revolver_Armor_HeavyArmor.VehiclePart_Revolver_Armor_HeavyArmor',
'/Game/Vehicles/Revolver/Design/Parts/CoreMod/CryoBooster/VehiclePart_CryoBooster.VehiclePart_CryoBooster',
'/Game/Vehicles/Revolver/Design/Parts/CoreMod/DigiThruster/VehiclePart_DigiThruster.VehiclePart_DigiThruster',
'/Game/Vehicles/Revolver/Design/Parts/CoreMod/Firestarter/VehiclePart_FireStarter.VehiclePart_FireStarter',
'/Game/Vehicles/Revolver/Design/Parts/CoreMod/HeavyBooster/VehiclePart_HeavyBooster.VehiclePart_HeavyBooster',
'/Game/Vehicles/VehicleWeapons/DriverWeapons/Type_MechanicalLauncher/BlazeRodLancer/VehiclePart_WeaponDriver_BlazeRodLauncher_Native.VehiclePart_WeaponDriver_BlazeRodLauncher_Native',
'/Game/Vehicles/VehicleWeapons/DriverWeapons/Type_MechanicalLauncher/RevolverMachineGun/VehiclePart_WeaponDriver_RevolverMachineGun_Native.VehiclePart_WeaponDriver_RevolverMachineGun_Native',
'/Game/Vehicles/VehicleWeapons/DriverWeapons/Type_MechanicalLauncher/SawBladeLancer/VehiclePart_WeaponDriver_SawBladeLauncher_Native.VehiclePart_WeaponDriver_SawBladeLauncher_Native',
]),
JETBEAST: set([
'/Geranium/Vehicles/Horse/Design/Parts/CoreMod/SingleEngine/VehiclePart_SingleBooster_Horse.VehiclePart_SingleBooster_Horse',
'/Geranium/Vehicles/Horse/Design/Parts/CoreMod/TwinEngine/VehiclePart_TwinEngine_Horse.VehiclePart_TwinEngine_Horse',
'/Geranium/Vehicles/Horse/Design/Parts/Armor/VehiclePart_Horse_Armor_SoftSaddleBags.VehiclePart_Horse_Armor_SoftSaddleBags',
'/Geranium/Vehicles/Horse/Design/Parts/Armor/VehiclePart_Horse_Armor_HardSaddleBags.VehiclePart_Horse_Armor_HardSaddleBags',
'/Geranium/Vehicles/VehicleWeapons/Type_Cannon/VehiclePart_WeaponDriver_Horse_Cannon.VehiclePart_WeaponDriver_Horse_Cannon',
'/Geranium/Vehicles/VehicleWeapons/Type_DualMachineGun/VehiclePart_WeaponDriver_Horse_DualMachineGun.VehiclePart_WeaponDriver_Horse_DualMachineGun',
'/Geranium/Vehicles/VehicleWeapons/Type_Mortar/VehiclePart_Weapon_Horse_Mortar.VehiclePart_Weapon_Horse_Mortar',
]),
}
part_to_vehicle = {}
for vehicle, parts in vehicle_parts.items():
for part in parts:
part_to_vehicle[part] = vehicle
vehicle_skins = {
OUTRUNNER: set([
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Atlas.VehiclePart_Mat_VehiclePart_Outrunner_Atlas',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Batmobile.VehiclePart_Mat_VehiclePart_Outrunner_Batmobile',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_COV.VehiclePart_Mat_VehiclePart_Outrunner_COV',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Dahl.VehiclePart_Mat_VehiclePart_Outrunner_Dahl',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Default.VehiclePart_Mat_VehiclePart_Outrunner_Default',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Ellie1.VehiclePart_Mat_VehiclePart_Outrunner_Ellie1',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_FF.VehiclePart_Mat_VehiclePart_Outrunner_FF',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Fire.VehiclePart_Mat_VehiclePart_Outrunner_Fire',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Forest.VehiclePart_Mat_VehiclePart_Outrunner_Forest',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_GBX.VehiclePart_Mat_VehiclePart_Outrunner_GBX',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Gold.VehiclePart_Mat_VehiclePart_Outrunner_Gold',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Grog.VehiclePart_Mat_VehiclePart_Outrunner_Grog',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Gulf.VehiclePart_Mat_VehiclePart_Outrunner_Gulf',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Herbie.VehiclePart_Mat_VehiclePart_Outrunner_Herbie',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Hexagon.VehiclePart_Mat_VehiclePart_Outrunner_Hexagon',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Houndstooth.VehiclePart_Mat_VehiclePart_Outrunner_Houndstooth',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_HubbaBubba.VehiclePart_Mat_VehiclePart_Outrunner_HubbaBubba',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Hyp.VehiclePart_Mat_VehiclePart_Outrunner_Hyp',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Hyp2.VehiclePart_Mat_VehiclePart_Outrunner_Hyp2',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Infection.VehiclePart_Mat_VehiclePart_Outrunner_Infection',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Jakobs.VehiclePart_Mat_VehiclePart_Outrunner_Jakobs',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Maliwan.VehiclePart_Mat_VehiclePart_Outrunner_Maliwan',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Maya.VehiclePart_Mat_VehiclePart_Outrunner_Maya',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Pirate.VehiclePart_Mat_VehiclePart_Outrunner_Pirate',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Prisa.VehiclePart_Mat_VehiclePart_Outrunner_Prisa',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_RedMachine.VehiclePart_Mat_VehiclePart_Outrunner_RedMachine',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_SDCC.VehiclePart_Mat_VehiclePart_Outrunner_SDCC',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Stealth.VehiclePart_Mat_VehiclePart_Outrunner_Stealth',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Torgue.VehiclePart_Mat_VehiclePart_Outrunner_Torgue',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Tri.VehiclePart_Mat_VehiclePart_Outrunner_Tri',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Vladof.VehiclePart_Mat_VehiclePart_Outrunner_Vladof',
'/Game/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Wrap.VehiclePart_Mat_VehiclePart_Outrunner_Wrap',
'/Game/PatchDLC/Hibiscus/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Fish.VehiclePart_Mat_VehiclePart_Outrunner_Fish',
'/Game/PatchDLC/Hibiscus/Vehicles/Outrunner/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Outrunner_Tentacle.VehiclePart_Mat_VehiclePart_Outrunner_Tentacle',
]),
TECHNICAL: set([
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Atlas.VehiclePart_Mat_VehiclePart_Technical_Atlas',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Bling.VehiclePart_Mat_VehiclePart_Technical_Bling',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_BlueAngel.VehiclePart_Mat_VehiclePart_Technical_BlueAngel',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Bubblegum.VehiclePart_Mat_VehiclePart_Technical_Bubblegum',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Camo.VehiclePart_Mat_VehiclePart_Technical_Camo',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Checker.VehiclePart_Mat_VehiclePart_Technical_Checker',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Cov.VehiclePart_Mat_VehiclePart_Technical_Cov',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Dahl.VehiclePart_Mat_VehiclePart_Technical_Dahl',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Default.VehiclePart_Mat_VehiclePart_Technical_Default',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Dino.VehiclePart_Mat_VehiclePart_Technical_Dino',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_E3.VehiclePart_Mat_VehiclePart_Technical_E3',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Ellie1.VehiclePart_Mat_VehiclePart_Technical_Ellie1',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Festi.VehiclePart_Mat_VehiclePart_Technical_Festi',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Forest.VehiclePart_Mat_VehiclePart_Technical_Forest',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_GBX.VehiclePart_Mat_VehiclePart_Technical_GBX',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_GoldenTicket.VehiclePart_Mat_VehiclePart_Technical_GoldenTicket',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_HYP.VehiclePart_Mat_VehiclePart_Technical_HYP',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Halftone.VehiclePart_Mat_VehiclePart_Technical_Halftone',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_JAK.VehiclePart_Mat_VehiclePart_Technical_JAK',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_MAL.VehiclePart_Mat_VehiclePart_Technical_MAL',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Maya.VehiclePart_Mat_VehiclePart_Technical_Maya',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Plaid.VehiclePart_Mat_VehiclePart_Technical_Plaid',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Roadkill.VehiclePart_Mat_VehiclePart_Technical_Roadkill',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Sand.VehiclePart_Mat_VehiclePart_Technical_Sand',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Skag.VehiclePart_Mat_VehiclePart_Technical_Skag',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Stealth.VehiclePart_Mat_VehiclePart_Technical_Stealth',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Thunderbird.VehiclePart_Mat_VehiclePart_Technical_Thunderbird',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Torgue.VehiclePart_Mat_VehiclePart_Technical_Torgue',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Vaughn.VehiclePart_Mat_VehiclePart_Technical_Vaughn',
'/Game/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Vladof.VehiclePart_Mat_VehiclePart_Technical_Vladof',
'/Game/PatchDLC/Hibiscus/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Tentacle.VehiclePart_Mat_VehiclePart_Technical_Tentacle',
'/Game/PatchDLC/Hibiscus/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Fish.VehiclePart_Mat_VehiclePart_Technical_Fish',
'/Game/PatchDLC/Hibiscus/Vehicles/Technical/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Technical_Frost.VehiclePart_Mat_VehiclePart_Technical_Frost',
]),
CYCLONE: set([
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Atlas.VehiclePart_Mat_VehiclePart_Revolver_Atlas',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_COV.VehiclePart_Mat_VehiclePart_Revolver_COV',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Chopper.VehiclePart_Mat_VehiclePart_Revolver_Chopper',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Chups.VehiclePart_Mat_VehiclePart_Revolver_Chups',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Dahl.VehiclePart_Mat_VehiclePart_Revolver_Dahl',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Dark.VehiclePart_Mat_VehiclePart_Revolver_Dark',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Default.VehiclePart_Mat_VehiclePart_Revolver_Default',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Ellie1.VehiclePart_Mat_VehiclePart_Revolver_Ellie1',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Forest.VehiclePart_Mat_VehiclePart_Revolver_Forest',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_GBX.VehiclePart_Mat_VehiclePart_Revolver_GBX',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_GC.VehiclePart_Mat_VehiclePart_Revolver_GC',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_HubbaBubba.VehiclePart_Mat_VehiclePart_Revolver_HubbaBubba',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Hyp.VehiclePart_Mat_VehiclePart_Revolver_Hyp',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Hyp2.VehiclePart_Mat_VehiclePart_Revolver_Hyp2',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Jakobs.VehiclePart_Mat_VehiclePart_Revolver_Jakobs',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_LifeSaver.VehiclePart_Mat_VehiclePart_Revolver_LifeSaver',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Maliwan.VehiclePart_Mat_VehiclePart_Revolver_Maliwan',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Mask.VehiclePart_Mat_VehiclePart_Revolver_Mask',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Maya.VehiclePart_Mat_VehiclePart_Revolver_Maya',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Ninja.VehiclePart_Mat_VehiclePart_Revolver_Ninja',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Pepto.VehiclePart_Mat_VehiclePart_Revolver_Pepto',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Police.VehiclePart_Mat_VehiclePart_Revolver_Police',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Stealth.VehiclePart_Mat_VehiclePart_Revolver_Stealth',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Torgue.VehiclePart_Mat_VehiclePart_Revolver_Torgue',
'/Game/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Vladof.VehiclePart_Mat_VehiclePart_Revolver_Vladof',
'/Game/PatchDLC/Hibiscus/Vehicles/Revolver/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Revolver_Fish.VehiclePart_Mat_VehiclePart_Revolver_Fish',
]),
JETBEAST: set([
'/Geranium/Vehicles/Horse/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Horse_Default.VehiclePart_Mat_VehiclePart_Horse_Default',
'/Geranium/Vehicles/Horse/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Horse_Skin1.VehiclePart_Mat_VehiclePart_Horse_Skin1',
'/Geranium/Vehicles/Horse/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Horse_Skin2.VehiclePart_Mat_VehiclePart_Horse_Skin2',
'/Geranium/Vehicles/Horse/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Horse_Skin3.VehiclePart_Mat_VehiclePart_Horse_Skin3',
'/Geranium/Vehicles/Horse/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Horse_Skin4.VehiclePart_Mat_VehiclePart_Horse_Skin4',
'/Geranium/Vehicles/Horse/Design/Parts/Materials/VehiclePart_Mat_VehiclePart_Horse_Skin5.VehiclePart_Mat_VehiclePart_Horse_Skin5',
]),
}
skin_to_vehicle = {}
for vehicle, skins in vehicle_skins.items():
for skin in skins:
skin_to_vehicle[skin] = vehicle
# Profile customizations - Skins
# (all these customization sections omit the ones unlocked by default,
# which don't seem to show up in the profile usually)
profile_skins = set([
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/_Shared/CustomSkin_Beastmaster_DLC4_01.CustomSkin_Beastmaster_DLC4_01',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/_Shared/CustomSkin_Gunner_DLC4_01.CustomSkin_Gunner_DLC4_01',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/_Shared/CustomSkin_Operative__DLC4_01.CustomSkin_Operative__DLC4_01',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/_Shared/CustomSkin_Siren__DLC4_01.CustomSkin_Siren__DLC4_01',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_63.CustomSkin_Beastmaster_63',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_63.CustomSkin_Gunner_63',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_63.CustomSkin_Operative_63',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_63.CustomSkin_Siren_63',
'/Game/PatchDLC/BloodyHarvest/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_40.CustomSkin_Beastmaster_40',
'/Game/PatchDLC/BloodyHarvest/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_40.CustomSkin_Gunner_40',
'/Game/PatchDLC/BloodyHarvest/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_40.CustomSkin_Operative_40',
'/Game/PatchDLC/BloodyHarvest/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_40.CustomSkin_Siren_40',
'/Game/PatchDLC/CitizenScience/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_CS.CustomSkin_Beastmaster_CS',
'/Game/PatchDLC/CitizenScience/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_CS.CustomSkin_Gunner_CS',
'/Game/PatchDLC/CitizenScience/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_CS.CustomSkin_Operative_CS',
'/Game/PatchDLC/CitizenScience/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_CS.CustomSkin_Siren_CS',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/_Shared/CustomSkin_Beastmaster_44.CustomSkin_Beastmaster_44',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/_Shared/CustomSkin_Beastmaster_46.CustomSkin_Beastmaster_46',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/_Shared/CustomSkin_Gunner_44.CustomSkin_Gunner_44',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/_Shared/CustomSkin_Gunner_46.CustomSkin_Gunner_46',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/_Shared/CustomSkin_Operative_44.CustomSkin_Operative_44',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/_Shared/CustomSkin_Operative_46.CustomSkin_Operative_46',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/_Shared/CustomSkin_Siren_44.CustomSkin_Siren_44',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/_Shared/CustomSkin_Siren_46.CustomSkin_Siren_46',
'/Game/PatchDLC/Event2/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_47.CustomSkin_Beastmaster_47',
'/Game/PatchDLC/Event2/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_48.CustomSkin_Beastmaster_48',
'/Game/PatchDLC/Event2/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_47.CustomSkin_Gunner_47',
'/Game/PatchDLC/Event2/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_48.CustomSkin_Gunner_48',
'/Game/PatchDLC/Event2/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_47.CustomSkin_Operative_47',
'/Game/PatchDLC/Event2/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_48.CustomSkin_Operative_48',
'/Game/PatchDLC/Event2/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_47.CustomSkin_Siren_47',
'/Game/PatchDLC/Event2/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_48.CustomSkin_Siren_48',
'/Game/PatchDLC/EventVDay/PlayerCharacters/_Shared/CustomSkin_Beastmaster_50.CustomSkin_Beastmaster_50',
'/Game/PatchDLC/EventVDay/PlayerCharacters/_Shared/CustomSkin_Beastmaster_65.CustomSkin_Beastmaster_65',
'/Game/PatchDLC/EventVDay/PlayerCharacters/_Shared/CustomSkin_Gunner_50.CustomSkin_Gunner_50',
'/Game/PatchDLC/EventVDay/PlayerCharacters/_Shared/CustomSkin_Gunner_65.CustomSkin_Gunner_65',
'/Game/PatchDLC/EventVDay/PlayerCharacters/_Shared/CustomSkin_Operative_50.CustomSkin_Operative_50',
'/Game/PatchDLC/EventVDay/PlayerCharacters/_Shared/CustomSkin_Operative_65.CustomSkin_Operative_65',
'/Game/PatchDLC/EventVDay/PlayerCharacters/_Shared/CustomSkin_Siren_50.CustomSkin_Siren_50',
'/Game/PatchDLC/EventVDay/PlayerCharacters/_Shared/CustomSkin_Siren_65.CustomSkin_Siren_65',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_61.CustomSkin_Beastmaster_61',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_61.CustomSkin_Gunner_61',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_61.CustomSkin_Operative_61',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Siren/Skins/CustomSkin_Siren_61.CustomSkin_Siren_61',
'/Game/PatchDLC/Geranium/Customizations/PlayerSkin/CustomSkin_Beastmaster_DLC3_1.CustomSkin_Beastmaster_DLC3_1',
'/Game/PatchDLC/Geranium/Customizations/PlayerSkin/CustomSkin_Gunner_DLC3_1.CustomSkin_Gunner_DLC3_1',
'/Game/PatchDLC/Geranium/Customizations/PlayerSkin/CustomSkin_Operative_DLC3_1.CustomSkin_Operative_DLC3_1',
'/Game/PatchDLC/Geranium/Customizations/PlayerSkin/CustomSkin_Siren_DLC3_1.CustomSkin_Siren_DLC3_1',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/_Shared/CustomSkin_Beastmaster_DLC2_01.CustomSkin_Beastmaster_DLC2_01',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/_Shared/CustomSkin_Gunner_DLC2_01.CustomSkin_Gunner_DLC2_01',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/_Shared/CustomSkin_Operative__DLC2_01.CustomSkin_Operative__DLC2_01',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/_Shared/CustomSkin_Siren__DLC2_01.CustomSkin_Siren__DLC2_01',
'/Game/PatchDLC/Ixora/PlayerCharacters/_Customizations/PlayerSkins/Skin51/CustomSkin_Beastmaster_51.CustomSkin_Beastmaster_51',
'/Game/PatchDLC/Ixora/PlayerCharacters/_Customizations/PlayerSkins/Skin51/CustomSkin_Gunner_51.CustomSkin_Gunner_51',
'/Game/PatchDLC/Ixora/PlayerCharacters/_Customizations/PlayerSkins/Skin51/CustomSkin_Operative_51.CustomSkin_Operative_51',
'/Game/PatchDLC/Ixora/PlayerCharacters/_Customizations/PlayerSkins/Skin51/CustomSkin_Siren_51.CustomSkin_Siren_51',
'/Game/PatchDLC/Ixora/PlayerCharacters/_Customizations/PlayerSkins/Skin62/CustomSkin_Beastmaster_62.CustomSkin_Beastmaster_62',
'/Game/PatchDLC/Ixora/PlayerCharacters/_Customizations/PlayerSkins/Skin62/CustomSkin_Gunner_62.CustomSkin_Gunner_62',
'/Game/PatchDLC/Ixora/PlayerCharacters/_Customizations/PlayerSkins/Skin62/CustomSkin_Operative_62.CustomSkin_Operative_62',
'/Game/PatchDLC/Ixora/PlayerCharacters/_Customizations/PlayerSkins/Skin62/CustomSkin_Siren_62.CustomSkin_Siren_62',
'/Game/PatchDLC/Ixora2/PlayerCharacters/_Shared/Skins/CustomSkin_Beastmaster_66.CustomSkin_Beastmaster_66',
'/Game/PatchDLC/Ixora2/PlayerCharacters/_Shared/Skins/CustomSkin_Gunner_66.CustomSkin_Gunner_66',
'/Game/PatchDLC/Ixora2/PlayerCharacters/_Shared/Skins/CustomSkin_Operative_66.CustomSkin_Operative_66',
'/Game/PatchDLC/Ixora2/PlayerCharacters/_Shared/Skins/CustomSkin_Siren_66.CustomSkin_Siren_66',
'/Game/PatchDLC/Raid1/PlayerCharacters/_Customizations/Beastmaster/CustomSkin_Beastmaster_45.CustomSkin_Beastmaster_45',
'/Game/PatchDLC/Raid1/PlayerCharacters/_Customizations/Gunner/CustomSkin_Gunner_45.CustomSkin_Gunner_45',
'/Game/PatchDLC/Raid1/PlayerCharacters/_Customizations/Operative/CustomSkin_Operative_45.CustomSkin_Operative_45',
'/Game/PatchDLC/Raid1/PlayerCharacters/_Customizations/Siren/CustomSkin_Siren_45.CustomSkin_Siren_45',
'/Game/PatchDLC/Takedown2/PlayerCharacters/_Customizations/PlayerSkins/CustomSkin_Beastmaster_52.CustomSkin_Beastmaster_52',
'/Game/PatchDLC/Takedown2/PlayerCharacters/_Customizations/PlayerSkins/CustomSkin_Gunner_52.CustomSkin_Gunner_52',
'/Game/PatchDLC/Takedown2/PlayerCharacters/_Customizations/PlayerSkins/CustomSkin_Operative_52.CustomSkin_Operative_52',
'/Game/PatchDLC/Takedown2/PlayerCharacters/_Customizations/PlayerSkins/CustomSkin_Siren_52.CustomSkin_Siren_52',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomSkin_Beastmaster_67.CustomSkin_Beastmaster_67',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomSkin_Beastmaster_68.CustomSkin_Beastmaster_68',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomSkin_Beastmaster_69.CustomSkin_Beastmaster_69',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomSkin_Beastmaster_70.CustomSkin_Beastmaster_70',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomSkin_Gunner_67.CustomSkin_Gunner_67',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomSkin_Gunner_68.CustomSkin_Gunner_68',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomSkin_Gunner_69.CustomSkin_Gunner_69',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomSkin_Gunner_70.CustomSkin_Gunner_70',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomSkin_Operative_67.CustomSkin_Operative_67',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomSkin_Operative_68.CustomSkin_Operative_68',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomSkin_Operative_69.CustomSkin_Operative_69',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomSkin_Operative_70.CustomSkin_Operative_70',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomSkin_Siren_67.CustomSkin_Siren_67',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomSkin_Siren_68.CustomSkin_Siren_68',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomSkin_Siren_69.CustomSkin_Siren_69',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomSkin_Siren_70.CustomSkin_Siren_70',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomSkin_Beastmaster_75.CustomSkin_Beastmaster_75',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomSkin_Beastmaster_76.CustomSkin_Beastmaster_76',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomSkin_Beastmaster_77.CustomSkin_Beastmaster_77',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomSkin_Beastmaster_78.CustomSkin_Beastmaster_78',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomSkin_Gunner_75.CustomSkin_Gunner_75',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomSkin_Gunner_76.CustomSkin_Gunner_76',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomSkin_Gunner_77.CustomSkin_Gunner_77',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomSkin_Gunner_78.CustomSkin_Gunner_78',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomSkin_Operative_75.CustomSkin_Operative_75',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomSkin_Operative_76.CustomSkin_Operative_76',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomSkin_Operative_77.CustomSkin_Operative_77',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomSkin_Operative_78.CustomSkin_Operative_78',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomSkin_Siren_75.CustomSkin_Siren_75',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomSkin_Siren_76.CustomSkin_Siren_76',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomSkin_Siren_77.CustomSkin_Siren_77',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomSkin_Siren_78.CustomSkin_Siren_78',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomSkin_Beastmaster_71.CustomSkin_Beastmaster_71',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomSkin_Beastmaster_72.CustomSkin_Beastmaster_72',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomSkin_Beastmaster_73.CustomSkin_Beastmaster_73',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomSkin_Beastmaster_74.CustomSkin_Beastmaster_74',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomSkin_Gunner_71.CustomSkin_Gunner_71',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomSkin_Gunner_72.CustomSkin_Gunner_72',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomSkin_Gunner_73.CustomSkin_Gunner_73',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomSkin_Gunner_74.CustomSkin_Gunner_74',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomSkin_Operative_71.CustomSkin_Operative_71',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomSkin_Operative_72.CustomSkin_Operative_72',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomSkin_Operative_73.CustomSkin_Operative_73',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomSkin_Operative_74.CustomSkin_Operative_74',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomSkin_Siren_71.CustomSkin_Siren_71',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomSkin_Siren_72.CustomSkin_Siren_72',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomSkin_Siren_73.CustomSkin_Siren_73',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomSkin_Siren_74.CustomSkin_Siren_74',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/Beastmaster/_Shared/Skins/CustomSkin_Beastmaster_38.CustomSkin_Beastmaster_38',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/Gunner/_Shared/Skins/CustomSkin_Gunner_38.CustomSkin_Gunner_38',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/Operative/_Shared/Skins/CustomSkin_Operative_38.CustomSkin_Operative_38',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/SirenBrawler/_Shared/Skins/CustomSkin_Siren_38.CustomSkin_Siren_38',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_1.CustomSkin_Beastmaster_1',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_10.CustomSkin_Beastmaster_10',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_11.CustomSkin_Beastmaster_11',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_12.CustomSkin_Beastmaster_12',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_13.CustomSkin_Beastmaster_13',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_14.CustomSkin_Beastmaster_14',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_15.CustomSkin_Beastmaster_15',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_16.CustomSkin_Beastmaster_16',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_17.CustomSkin_Beastmaster_17',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_18.CustomSkin_Beastmaster_18',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_19.CustomSkin_Beastmaster_19',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_2.CustomSkin_Beastmaster_2',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_20.CustomSkin_Beastmaster_20',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_21.CustomSkin_Beastmaster_21',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_22.CustomSkin_Beastmaster_22',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_23.CustomSkin_Beastmaster_23',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_24.CustomSkin_Beastmaster_24',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_25.CustomSkin_Beastmaster_25',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_26.CustomSkin_Beastmaster_26',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_27.CustomSkin_Beastmaster_27',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_28.CustomSkin_Beastmaster_28',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_29.CustomSkin_Beastmaster_29',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_3.CustomSkin_Beastmaster_3',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_30.CustomSkin_Beastmaster_30',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_31.CustomSkin_Beastmaster_31',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_32.CustomSkin_Beastmaster_32',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_34.CustomSkin_Beastmaster_34',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_35.CustomSkin_Beastmaster_35',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_36.CustomSkin_Beastmaster_36',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_37.CustomSkin_Beastmaster_37',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_39.CustomSkin_Beastmaster_39',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_4.CustomSkin_Beastmaster_4',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_41.CustomSkin_Beastmaster_41',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_42.CustomSkin_Beastmaster_42',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_43.CustomSkin_Beastmaster_43',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_5.CustomSkin_Beastmaster_5',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_6.CustomSkin_Beastmaster_6',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_7.CustomSkin_Beastmaster_7',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_8.CustomSkin_Beastmaster_8',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_9.CustomSkin_Beastmaster_9',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_1.CustomSkin_Gunner_1',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_10.CustomSkin_Gunner_10',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_11.CustomSkin_Gunner_11',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_12.CustomSkin_Gunner_12',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_13.CustomSkin_Gunner_13',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_14.CustomSkin_Gunner_14',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_15.CustomSkin_Gunner_15',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_16.CustomSkin_Gunner_16',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_17.CustomSkin_Gunner_17',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_18.CustomSkin_Gunner_18',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_19.CustomSkin_Gunner_19',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_2.CustomSkin_Gunner_2',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_20.CustomSkin_Gunner_20',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_21.CustomSkin_Gunner_21',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_22.CustomSkin_Gunner_22',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_23.CustomSkin_Gunner_23',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_24.CustomSkin_Gunner_24',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_25.CustomSkin_Gunner_25',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_26.CustomSkin_Gunner_26',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_27.CustomSkin_Gunner_27',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_28.CustomSkin_Gunner_28',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_29.CustomSkin_Gunner_29',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_3.CustomSkin_Gunner_3',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_30.CustomSkin_Gunner_30',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_31.CustomSkin_Gunner_31',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_32.CustomSkin_Gunner_32',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_34.CustomSkin_Gunner_34',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_35.CustomSkin_Gunner_35',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_36.CustomSkin_Gunner_36',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_37.CustomSkin_Gunner_37',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_39.CustomSkin_Gunner_39',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_4.CustomSkin_Gunner_4',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_41.CustomSkin_Gunner_41',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_42.CustomSkin_Gunner_42',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_43.CustomSkin_Gunner_43',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_5.CustomSkin_Gunner_5',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_6.CustomSkin_Gunner_6',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_7.CustomSkin_Gunner_7',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_8.CustomSkin_Gunner_8',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_9.CustomSkin_Gunner_9',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_1.CustomSkin_Operative_1',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_10.CustomSkin_Operative_10',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_11.CustomSkin_Operative_11',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_12.CustomSkin_Operative_12',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_13.CustomSkin_Operative_13',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_14.CustomSkin_Operative_14',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_15.CustomSkin_Operative_15',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_16.CustomSkin_Operative_16',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_17.CustomSkin_Operative_17',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_18.CustomSkin_Operative_18',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_19.CustomSkin_Operative_19',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_2.CustomSkin_Operative_2',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_20.CustomSkin_Operative_20',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_21.CustomSkin_Operative_21',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_22.CustomSkin_Operative_22',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_23.CustomSkin_Operative_23',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_24.CustomSkin_Operative_24',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_25.CustomSkin_Operative_25',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_26.CustomSkin_Operative_26',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_27.CustomSkin_Operative_27',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_28.CustomSkin_Operative_28',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_29.CustomSkin_Operative_29',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_3.CustomSkin_Operative_3',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_30.CustomSkin_Operative_30',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_31.CustomSkin_Operative_31',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_32.CustomSkin_Operative_32',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_34.CustomSkin_Operative_34',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_35.CustomSkin_Operative_35',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_36.CustomSkin_Operative_36',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_37.CustomSkin_Operative_37',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_39.CustomSkin_Operative_39',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_4.CustomSkin_Operative_4',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_41.CustomSkin_Operative_41',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_42.CustomSkin_Operative_42',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_43.CustomSkin_Operative_43',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_5.CustomSkin_Operative_5',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_6.CustomSkin_Operative_6',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_7.CustomSkin_Operative_7',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_8.CustomSkin_Operative_8',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_9.CustomSkin_Operative_9',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_1.CustomSkin_Siren_1',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_10.CustomSkin_Siren_10',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_11.CustomSkin_Siren_11',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_12.CustomSkin_Siren_12',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_13.CustomSkin_Siren_13',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_14.CustomSkin_Siren_14',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_15.CustomSkin_Siren_15',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_16.CustomSkin_Siren_16',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_17.CustomSkin_Siren_17',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_18.CustomSkin_Siren_18',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_19.CustomSkin_Siren_19',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_2.CustomSkin_Siren_2',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_20.CustomSkin_Siren_20',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_21.CustomSkin_Siren_21',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_22.CustomSkin_Siren_22',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_23.CustomSkin_Siren_23',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_24.CustomSkin_Siren_24',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_25.CustomSkin_Siren_25',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_26.CustomSkin_Siren_26',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_27.CustomSkin_Siren_27',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_28.CustomSkin_Siren_28',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_29.CustomSkin_Siren_29',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_3.CustomSkin_Siren_3',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_30.CustomSkin_Siren_30',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_31.CustomSkin_Siren_31',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_32.CustomSkin_Siren_32',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_34.CustomSkin_Siren_34',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_35.CustomSkin_Siren_35',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_36.CustomSkin_Siren_36',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_37.CustomSkin_Siren_37',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_39.CustomSkin_Siren_39',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_4.CustomSkin_Siren_4',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_41.CustomSkin_Siren_41',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_42.CustomSkin_Siren_42',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_43.CustomSkin_Siren_43',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_5.CustomSkin_Siren_5',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_6.CustomSkin_Siren_6',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_7.CustomSkin_Siren_7',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_8.CustomSkin_Siren_8',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_9.CustomSkin_Siren_9',
])
profile_skins_defaults = set([
'/Game/PlayerCharacters/_Customizations/Beastmaster/Skins/CustomSkin_Beastmaster_Default.CustomSkin_Beastmaster_Default',
'/Game/PlayerCharacters/_Customizations/Gunner/Skins/CustomSkin_Gunner_Default.CustomSkin_Gunner_Default',
'/Game/PlayerCharacters/_Customizations/Operative/Skins/CustomSkin_Operative_Default.CustomSkin_Operative_Default',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_Default.CustomSkin_Siren_Default',
])
# Profile customizations - Heads
profile_heads = set([
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/_Shared/CustomHead_Beastmaster_DLC4_01.CustomHead_Beastmaster_DLC4_01',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/_Shared/CustomHead_Gunner_DLC4_01.CustomHead_Gunner_DLC4_01',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/_Shared/CustomHead_Operative_DLC4_01.CustomHead_Operative_DLC4_01',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/_Shared/CustomHead_Siren_DLC4_01.CustomHead_Siren_DLC4_01',
'/Game/PatchDLC/CitizenScience/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_CS.CustomHead_Beastmaster_CS',
'/Game/PatchDLC/CitizenScience/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_CS.CustomHead_Gunner_CS',
'/Game/PatchDLC/CitizenScience/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_CS.CustomHead_Operative_CS',
'/Game/PatchDLC/CitizenScience/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_CS.CustomHead_Siren_CS',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_25.CustomHead_Beastmaster_25',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_27.CustomHead_Beastmaster_27',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_28.CustomHead_Beastmaster_28',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_29.CustomHead_Beastmaster_29',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_25.CustomHead_Gunner_25',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_27.CustomHead_Gunner_27',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_28.CustomHead_Gunner_28',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_29.CustomHead_Gunner_29',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_25.CustomHead_Operative_25',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_27.CustomHead_Operative_27',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_28.CustomHead_Operative_28',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_29.CustomHead_Operative_29',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_25.CustomHead_Siren_25',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_27.CustomHead_Siren_27',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_28.CustomHead_Siren_28',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_29.CustomHead_Siren_29',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/_Shared/CustomHead_Beastmaster_30.CustomHead_Beastmaster_30',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/_Shared/CustomHead_Gunner_30.CustomHead_Gunner_30',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/_Shared/CustomHead_Operative_30.CustomHead_Operative_30',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/_Shared/CustomHead_Siren_30.CustomHead_Siren_30',
'/Game/PatchDLC/Event2/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_34.CustomHead_Beastmaster_34',
'/Game/PatchDLC/Event2/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_34.CustomHead_Gunner_34',
'/Game/PatchDLC/Event2/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_34.CustomHead_Operative_34',
'/Game/PatchDLC/Event2/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_34.CustomHead_Siren_34',
'/Game/PatchDLC/EventVDay/PlayerCharacters/_Shared/CustomHead_BeastMaster_Twitch.CustomHead_BeastMaster_Twitch',
'/Game/PatchDLC/EventVDay/PlayerCharacters/_Shared/CustomHead_Gunner_Twitch.CustomHead_Gunner_Twitch',
'/Game/PatchDLC/EventVDay/PlayerCharacters/_Shared/CustomHead_Operative_Twitch.CustomHead_Operative_Twitch',
'/Game/PatchDLC/EventVDay/PlayerCharacters/_Shared/CustomHead_Siren_Twitch.CustomHead_Siren_Twitch',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Beastmaster/Heads/DA_BMHead33.DA_BMHead33',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Beastmaster/Heads/DA_BMHead35.DA_BMHead35',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Beastmaster/Heads/DA_BMHead36.DA_BMHead36',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Beastmaster/Heads/DA_BMHead37.DA_BMHead37',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Gunner/Heads/DA_GNRHead33.DA_GNRHead33',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Gunner/Heads/DA_GNRHead35.DA_GNRHead35',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Gunner/Heads/DA_GNRHead36.DA_GNRHead36',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Gunner/Heads/DA_GNRHead37.DA_GNRHead37',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Operative/Heads/DA_OPHead33.DA_OPHead33',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Operative/Heads/DA_OPHead35.DA_OPHead35',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Operative/Heads/DA_OPHead36.DA_OPHead36',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Operative/Heads/DA_OPHead37.DA_OPHead37',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Siren/Heads/DA_SRNHead33.DA_SRNHead33',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Siren/Heads/DA_SRNHead35.DA_SRNHead35',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Siren/Heads/DA_SRNHead36.DA_SRNHead36',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Customizations/Siren/Heads/DA_SRNHead37.DA_SRNHead37',
'/Game/PatchDLC/Geranium/Customizations/PlayerHead/CustomHead38/CustomHead_Beastmaster_38.CustomHead_Beastmaster_38',
'/Game/PatchDLC/Geranium/Customizations/PlayerHead/CustomHead38/CustomHead_Gunner_38.CustomHead_Gunner_38',
'/Game/PatchDLC/Geranium/Customizations/PlayerHead/CustomHead38/CustomHead_Operative_38.CustomHead_Operative_38',
'/Game/PatchDLC/Geranium/Customizations/PlayerHead/CustomHead38/CustomHead_Siren_38.CustomHead_Siren_38',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/_Shared/CustomHead_Beastmaster_DLC2_01.CustomHead_Beastmaster_DLC2_01',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/_Shared/CustomHead_Gunner_DLC2_01.CustomHead_Gunner_DLC2_01',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/_Shared/CustomHead_Operative_DLC2_01.CustomHead_Operative_DLC2_01',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/_Shared/CustomHead_Siren_DLC2_01.CustomHead_Siren_DLC2_01',
'/Game/PatchDLC/Ixora/PlayerCharacters/Beastmaster/Heads/DA_BMHead39.DA_BMHead39',
'/Game/PatchDLC/Ixora/PlayerCharacters/Gunner/Heads/DA_GNRHead39.DA_GNRHead39',
'/Game/PatchDLC/Ixora/PlayerCharacters/Operative/Heads/DA_OPHead39.DA_OPHead39',
'/Game/PatchDLC/Ixora/PlayerCharacters/SirenBrawler/Heads/DA_SRNHead39.DA_SRNHead39',
'/Game/PatchDLC/Takedown2/PlayerCharacters/_Customizations/CustomHeads/CustomHead46/CustomHead_Beastmaster_46.CustomHead_Beastmaster_46',
'/Game/PatchDLC/Takedown2/PlayerCharacters/_Customizations/CustomHeads/CustomHead46/CustomHead_Gunner_46.CustomHead_Gunner_46',
'/Game/PatchDLC/Takedown2/PlayerCharacters/_Customizations/CustomHeads/CustomHead46/CustomHead_Operative_46.CustomHead_Operative_46',
'/Game/PatchDLC/Takedown2/PlayerCharacters/_Customizations/CustomHeads/CustomHead46/CustomHead_Siren_46.CustomHead_Siren_46',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomHeads/CustomHead47/CustomHead_Beastmaster_47.CustomHead_Beastmaster_47',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomHeads/CustomHead47/CustomHead_Gunner_47.CustomHead_Gunner_47',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomHeads/CustomHead47/CustomHead_Operative_47.CustomHead_Operative_47',
'/Game/PatchDLC/VaultCard/PlayerCharacters/_Shared/CustomHeads/CustomHead47/CustomHead_Siren_47.CustomHead_Siren_47',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomHeads/CustomHead_Beastmaster_49.CustomHead_Beastmaster_49',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomHeads/CustomHead_Gunner_49.CustomHead_Gunner_49',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomHeads/CustomHead_Operative_49.CustomHead_Operative_49',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/_Shared/CustomHeads/CustomHead_Siren_49.CustomHead_Siren_49',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/Beastmaster/Heads/DA_BMHead03.DA_BMHead03',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/Gunner/Heads/DA_GNRHead03.DA_GNRHead03',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/Operative/Heads/DA_OPHead03.DA_OPHead03',
'/Game/PatchDLC/VaultCard2/PlayerCharacters/SirenBrawler/Heads/DA_SRNHead03.DA_SRNHead03',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomHeads/CustomHead_Beastmaster_32.CustomHead_Beastmaster_32',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomHeads/CustomHead_Beastmaster_48.CustomHead_Beastmaster_48',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomHeads/CustomHead_Gunner_32.CustomHead_Gunner_32',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomHeads/CustomHead_Gunner_48.CustomHead_Gunner_48',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomHeads/CustomHead_Operative_32.CustomHead_Operative_32',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomHeads/CustomHead_Operative_48.CustomHead_Operative_48',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomHeads/CustomHead_Siren_32.CustomHead_Siren_32',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/_Shared/CustomHeads/CustomHead_Siren_48.CustomHead_Siren_48',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/Beastmaster/Heads/DA_BMHead40.DA_BMHead40',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/Beastmaster/Heads/DA_BMHead41.DA_BMHead41',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/Beastmaster/Heads/DA_BMHead42.DA_BMHead42',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/Beastmaster/Heads/DA_BMHead44.DA_BMHead44',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/Gunner/Heads/DA_GNRHead40.DA_GNRHead40',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/Gunner/Heads/DA_GNRHead41.DA_GNRHead41',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/Gunner/Heads/DA_GNRHead42.DA_GNRHead42',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/Gunner/Heads/DA_GNRHead44.DA_GNRHead44',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/Operative/Heads/DA_OPHead40.DA_OPHead40',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/Operative/Heads/DA_OPHead41.DA_OPHead41',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/Operative/Heads/DA_OPHead42.DA_OPHead42',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/Operative/Heads/DA_OPHead44.DA_OPHead44',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/SirenBrawler/Heads/DA_SRNHead40.DA_SRNHead40',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/SirenBrawler/Heads/DA_SRNHead41.DA_SRNHead41',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/SirenBrawler/Heads/DA_SRNHead42.DA_SRNHead42',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/SirenBrawler/Heads/SRNHead44/DA_SRNHead44.DA_SRNHead44',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_1.CustomHead_Beastmaster_1',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_10.CustomHead_Beastmaster_10',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_11.CustomHead_Beastmaster_11',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_12.CustomHead_Beastmaster_12',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_13.CustomHead_Beastmaster_13',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_14.CustomHead_Beastmaster_14',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_15.CustomHead_Beastmaster_15',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_16.CustomHead_Beastmaster_16',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_17.CustomHead_Beastmaster_17',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_18.CustomHead_Beastmaster_18',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_19.CustomHead_Beastmaster_19',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_20.CustomHead_Beastmaster_20',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_21.CustomHead_Beastmaster_21',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_22.CustomHead_Beastmaster_22',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_23.CustomHead_Beastmaster_23',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_24.CustomHead_Beastmaster_24',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_26.CustomHead_Beastmaster_26',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_4.CustomHead_Beastmaster_4',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_5.CustomHead_Beastmaster_5',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_6.CustomHead_Beastmaster_6',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_7.CustomHead_Beastmaster_7',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_8.CustomHead_Beastmaster_8',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_9.CustomHead_Beastmaster_9',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_1.CustomHead_Gunner_1',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_10.CustomHead_Gunner_10',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_11.CustomHead_Gunner_11',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_12.CustomHead_Gunner_12',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_13.CustomHead_Gunner_13',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_14.CustomHead_Gunner_14',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_15.CustomHead_Gunner_15',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_16.CustomHead_Gunner_16',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_17.CustomHead_Gunner_17',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_18.CustomHead_Gunner_18',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_19.CustomHead_Gunner_19',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_20.CustomHead_Gunner_20',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_21.CustomHead_Gunner_21',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_22.CustomHead_Gunner_22',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_23.CustomHead_Gunner_23',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_24.CustomHead_Gunner_24',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_26.CustomHead_Gunner_26',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_4.CustomHead_Gunner_4',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_5.CustomHead_Gunner_5',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_6.CustomHead_Gunner_6',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_7.CustomHead_Gunner_7',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_8.CustomHead_Gunner_8',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_9.CustomHead_Gunner_9',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_1.CustomHead_Operative_1',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_10.CustomHead_Operative_10',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_11.CustomHead_Operative_11',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_12.CustomHead_Operative_12',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_13.CustomHead_Operative_13',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_14.CustomHead_Operative_14',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_15.CustomHead_Operative_15',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_16.CustomHead_Operative_16',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_17.CustomHead_Operative_17',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_18.CustomHead_Operative_18',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_19.CustomHead_Operative_19',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_20.CustomHead_Operative_20',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_21.CustomHead_Operative_21',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_22.CustomHead_Operative_22',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_23.CustomHead_Operative_23',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_24.CustomHead_Operative_24',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_26.CustomHead_Operative_26',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_4.CustomHead_Operative_4',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_5.CustomHead_Operative_5',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_6.CustomHead_Operative_6',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_7.CustomHead_Operative_7',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_8.CustomHead_Operative_8',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_9.CustomHead_Operative_9',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_1.CustomHead_Siren_1',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_10.CustomHead_Siren_10',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_11.CustomHead_Siren_11',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_12.CustomHead_Siren_12',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_13.CustomHead_Siren_13',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_14.CustomHead_Siren_14',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_15.CustomHead_Siren_15',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_16.CustomHead_Siren_16',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_17.CustomHead_Siren_17',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_18.CustomHead_Siren_18',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_19.CustomHead_Siren_19',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_20.CustomHead_Siren_20',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_21.CustomHead_Siren_21',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_22.CustomHead_Siren_22',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_23.CustomHead_Siren_23',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_24.CustomHead_Siren_24',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_26.CustomHead_Siren_26',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_4.CustomHead_Siren_4',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_5.CustomHead_Siren_5',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_6.CustomHead_Siren_6',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_7.CustomHead_Siren_7',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_8.CustomHead_Siren_8',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_9.CustomHead_Siren_9',
])
profile_heads_defaults = set([
'/Game/PlayerCharacters/_Customizations/Beastmaster/Heads/CustomHead_Beastmaster_Default.CustomHead_Beastmaster_Default',
'/Game/PlayerCharacters/_Customizations/Gunner/Heads/CustomHead_Gunner_Default.CustomHead_Gunner_Default',
'/Game/PlayerCharacters/_Customizations/Operative/Heads/CustomHead_Operative_Default.CustomHead_Operative_Default',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Heads/CustomHead_Siren_Default.CustomHead_Siren_Default',
])
# Profile customizations - ECHO themes
profile_echothemes = set([
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_79.ECHOTheme_79',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_DLC4_01.ECHOTheme_DLC4_01',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_DLC4_02.ECHOTheme_DLC4_02',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_DLC4_03.ECHOTheme_DLC4_03',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_DLC4_04.ECHOTheme_DLC4_04',
'/Game/PatchDLC/BloodyHarvest/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_11.ECHOTheme_11',
'/Game/PatchDLC/Customizations/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_37.ECHOTheme_37',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_36.ECHOTheme_36',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_64.ECHOTheme_64',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_65.ECHOTheme_65',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_66.ECHOTheme_66',
'/Game/PatchDLC/Event2/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_40.ECHOTheme_40',
'/Game/PatchDLC/Event2/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_44.ECHOTheme_44',
'/Game/PatchDLC/EventVDay/PlayerCharacters/_Shared/ECHODevice/EchoTheme_Valentines_01.EchoTheme_Valentines_01',
'/Game/PatchDLC/EventVDay/PlayerCharacters/_Shared/ECHODevice/EchoTheme_Valentines_02.EchoTheme_Valentines_02',
'/Game/PatchDLC/EventVDay/TwitchDrops/PlayerCharacters/_Shared/ECHODevice/ECHOTheme_46.ECHOTheme_46',
'/Game/PatchDLC/Geranium/Customizations/EchoTheme/ECHOTheme_73.ECHOTheme_73',
'/Game/PatchDLC/Geranium/Customizations/EchoTheme/ECHOTheme_74.ECHOTheme_74',
'/Game/PatchDLC/Geranium/Customizations/EchoTheme/ECHOTheme_75.ECHOTheme_75',
'/Game/PatchDLC/Geranium/Customizations/EchoTheme/ECHOTheme_76.ECHOTheme_76',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_DLC2_01.ECHOTheme_DLC2_01',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_DLC2_02.ECHOTheme_DLC2_02',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_DLC2_03.ECHOTheme_DLC2_03',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_DLC2_04.ECHOTheme_DLC2_04',
'/Game/PatchDLC/Ixora/Customizations/ECHOTheme/ECHOTheme_50.ECHOTheme_50',
'/Game/PatchDLC/Ixora/Customizations/ECHOTheme/ECHOTheme_52.ECHOTheme_52',
'/Game/PatchDLC/Ixora/Customizations/ECHOTheme/ECHOTheme_57a.ECHOTheme_57a',
'/Game/PatchDLC/Ixora/Customizations/ECHOTheme/ECHOTheme_58.ECHOTheme_58',
'/Game/PatchDLC/Raid1/Customizations/EchoDevice/ECHOTheme_38.ECHOTheme_38',
'/Game/PatchDLC/Takedown2/PlayerCharacters/_Customizations/EchoDevice/EchoTheme_Takedown2.EchoTheme_Takedown2',
'/Game/PatchDLC/VaultCard/Customizations/EchoDevice/ECHOTheme_VC1_1.ECHOTheme_VC1_1',
'/Game/PatchDLC/VaultCard/Customizations/EchoDevice/ECHOTheme_VC1_2.ECHOTheme_VC1_2',
'/Game/PatchDLC/VaultCard/Customizations/EchoDevice/ECHOTheme_VC1_3.ECHOTheme_VC1_3',
'/Game/PatchDLC/VaultCard/Customizations/EchoDevice/ECHOTheme_VC1_4.ECHOTheme_VC1_4',
'/Game/PatchDLC/VaultCard2/Customizations/EchoDevice/ECHOTheme_VC2_1.ECHOTheme_VC2_1',
'/Game/PatchDLC/VaultCard2/Customizations/EchoDevice/ECHOTheme_VC2_2.ECHOTheme_VC2_2',
'/Game/PatchDLC/VaultCard2/Customizations/EchoDevice/ECHOTheme_VC2_3.ECHOTheme_VC2_3',
'/Game/PatchDLC/VaultCard2/Customizations/EchoDevice/ECHOTheme_VC2_4.ECHOTheme_VC2_4',
'/Game/PatchDLC/VaultCard2/Customizations/EchoDevice/ECHOTheme_VC2_5.ECHOTheme_VC2_5',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_39.ECHOTheme_39',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_41.ECHOTheme_41',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_42.ECHOTheme_42',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_43.ECHOTheme_43',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_47.ECHOTheme_47',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_48.ECHOTheme_48',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_49.ECHOTheme_49',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_51.ECHOTheme_51',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_53.ECHOTheme_53',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_54.ECHOTheme_54',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_55.ECHOTheme_55',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_56.ECHOTheme_56',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_59.ECHOTheme_59',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_61.ECHOTheme_61',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_62.ECHOTheme_62',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_77.ECHOTheme_77',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_80.ECHOTheme_80',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_Poop.ECHOTheme_Poop',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_VC3_1.ECHOTheme_VC3_1',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_VC3_2.ECHOTheme_VC3_2',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_VC3_3.ECHOTheme_VC3_3',
'/Game/PatchDLC/VaultCard3/Customizations/EchoDevice/ECHOTheme_VC3_4.ECHOTheme_VC3_4',
'/Game/PatchDLC/VaultCard3/PlayerCharacters/Beastmaster/EchoDevice/ECHOTheme_25.ECHOTheme_25',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_01.ECHOTheme_01',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_02.ECHOTheme_02',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_03.ECHOTheme_03',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_04.ECHOTheme_04',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_05.ECHOTheme_05',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_06.ECHOTheme_06',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_07.ECHOTheme_07',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_08.ECHOTheme_08',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_09.ECHOTheme_09',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_10.ECHOTheme_10',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_12.ECHOTheme_12',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_13.ECHOTheme_13',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_14.ECHOTheme_14',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_15.ECHOTheme_15',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_16.ECHOTheme_16',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_17.ECHOTheme_17',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_18.ECHOTheme_18',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_19.ECHOTheme_19',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_20.ECHOTheme_20',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_21.ECHOTheme_21',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_22.ECHOTheme_22',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_23.ECHOTheme_23',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_24.ECHOTheme_24',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_26.ECHOTheme_26',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_27.ECHOTheme_27',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_28.ECHOTheme_28',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_29.ECHOTheme_29',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_30.ECHOTheme_30',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_31.ECHOTheme_31',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_32.ECHOTheme_32',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_33.ECHOTheme_33',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_34.ECHOTheme_34',
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_35.ECHOTheme_35',
])
profile_echothemes_defaults = set([
'/Game/PlayerCharacters/_Customizations/EchoDevice/ECHOTheme_Default.ECHOTheme_Default',
])
# Profile customizations - Emotes
profile_emotes = set([
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/Emotes/Beastmaster/CustomEmote_Beastmaster_DLC4_01.CustomEmote_Beastmaster_DLC4_01',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/Emotes/Beastmaster/CustomEmote_Beastmaster_DLC4_02.CustomEmote_Beastmaster_DLC4_02',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/Emotes/Gunner/CustomEmote_Gunner_DLC4_01.CustomEmote_Gunner_DLC4_01',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/Emotes/Gunner/CustomEmote_Gunner_DLC4_02.CustomEmote_Gunner_DLC4_02',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/Emotes/Operative/CustomEmote_Operative_DLC4_01.CustomEmote_Operative_DLC4_01',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/Emotes/Operative/CustomEmote_Operative_DLC4_02.CustomEmote_Operative_DLC4_02',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/Emotes/SirenBrawler/CustomEmote_Siren_DLC4_01.CustomEmote_Siren_DLC4_01',
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/Emotes/SirenBrawler/CustomEmote_Siren_DLC4_02.CustomEmote_Siren_DLC4_02',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/Emotes/Beastmaster/CustomEmote_Beastmaster_13_HandsomeJack.CustomEmote_Beastmaster_13_HandsomeJack',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/Emotes/Beastmaster/CustomEmote_Beastmaster_14_MakeItRain.CustomEmote_Beastmaster_14_MakeItRain',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/Emotes/Gunner/CustomEmote_Gunner_13_Handsome_Jack.CustomEmote_Gunner_13_Handsome_Jack',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/Emotes/Gunner/CustomEmote_Gunner_14_MakeItRain.CustomEmote_Gunner_14_MakeItRain',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/Emotes/Operative/CustomEmote_Operative_13_HandsomeJack.CustomEmote_Operative_13_HandsomeJack',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/Emotes/Operative/CustomEmote_Operative_14_MakeItRain.CustomEmote_Operative_14_MakeItRain',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/Emotes/SirenBrawler/CustomEmote_Siren_13_HandsomeJack.CustomEmote_Siren_13_HandsomeJack',
'/Game/PatchDLC/Dandelion/PlayerCharacters/_Customizations/Emotes/SirenBrawler/CustomEmote_Siren_14_MakeItRain.CustomEmote_Siren_14_MakeItRain',
'/Game/PatchDLC/Geranium/Customizations/PlayerEmote/CustomEmote_Beastmaster_DLC3_1.CustomEmote_Beastmaster_DLC3_1',
'/Game/PatchDLC/Geranium/Customizations/PlayerEmote/CustomEmote_Beastmaster_DLC3_2.CustomEmote_Beastmaster_DLC3_2',
'/Game/PatchDLC/Geranium/Customizations/PlayerEmote/CustomEmote_Gunner_DLC3_1.CustomEmote_Gunner_DLC3_1',
'/Game/PatchDLC/Geranium/Customizations/PlayerEmote/CustomEmote_Gunner_DLC3_2.CustomEmote_Gunner_DLC3_2',
'/Game/PatchDLC/Geranium/Customizations/PlayerEmote/CustomEmote_Operative_DLC3_1.CustomEmote_Operative_DLC3_1',
'/Game/PatchDLC/Geranium/Customizations/PlayerEmote/CustomEmote_Operative_DLC3_2.CustomEmote_Operative_DLC3_2',
'/Game/PatchDLC/Geranium/Customizations/PlayerEmote/CustomEmote_Siren_DLC3_1.CustomEmote_Siren_DLC3_1',
'/Game/PatchDLC/Geranium/Customizations/PlayerEmote/CustomEmote_Siren_DLC3_2.CustomEmote_Siren_DLC3_2',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/Emotes/Beastmaster/CustomEmote_Beastmaster_15.CustomEmote_Beastmaster_15',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/Emotes/Beastmaster/CustomEmote_Beastmaster_16.CustomEmote_Beastmaster_16',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/Emotes/Gunner/CustomEmote_Gunner_15.CustomEmote_Gunner_15',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/Emotes/Gunner/CustomEmote_Gunner_16.CustomEmote_Gunner_16',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/Emotes/Operative/CustomEmote_Operative_15.CustomEmote_Operative_15',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/Emotes/Operative/CustomEmote_Operative_16.CustomEmote_Operative_16',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/Emotes/SirenBrawler/CustomEmote_Siren_15.CustomEmote_Siren_15',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizations/Emotes/SirenBrawler/CustomEmote_Siren_16.CustomEmote_Siren_16',
'/Game/PatchDLC/VaultCard/Customizations/Emotes/Beastmaster/CustomEmote_Beastmaster_VC1_1.CustomEmote_Beastmaster_VC1_1',
'/Game/PatchDLC/VaultCard/Customizations/Emotes/Beastmaster/CustomEmote_Beastmaster_VC1_2.CustomEmote_Beastmaster_VC1_2',
'/Game/PatchDLC/VaultCard/Customizations/Emotes/Gunner/CustomEmote_Gunner_VC1_1.CustomEmote_Gunner_VC1_1',
'/Game/PatchDLC/VaultCard/Customizations/Emotes/Gunner/CustomEmote_Gunner_VC1_2.CustomEmote_Gunner_VC1_2',
'/Game/PatchDLC/VaultCard/Customizations/Emotes/Operative/CustomEmote_Operative_VC1_1.CustomEmote_Operative_VC1_1',
'/Game/PatchDLC/VaultCard/Customizations/Emotes/Operative/CustomEmote_Operative_VC1_2.CustomEmote_Operative_VC1_2',
'/Game/PatchDLC/VaultCard/Customizations/Emotes/SirenBrawler/CustomEmote_Siren_VC1_1.CustomEmote_Siren_VC1_1',
'/Game/PatchDLC/VaultCard/Customizations/Emotes/SirenBrawler/CustomEmote_Siren_VC1_2.CustomEmote_Siren_VC1_2',
'/Game/PatchDLC/VaultCard2/Customizations/Emotes/Beastmaster/CustomEmote_Beastmaster_VC2_1.CustomEmote_Beastmaster_VC2_1',
'/Game/PatchDLC/VaultCard2/Customizations/Emotes/Beastmaster/CustomEmote_Beastmaster_VC2_2.CustomEmote_Beastmaster_VC2_2',
'/Game/PatchDLC/VaultCard2/Customizations/Emotes/Gunner/CustomEmote_Gunner_VC2_1.CustomEmote_Gunner_VC2_1',
'/Game/PatchDLC/VaultCard2/Customizations/Emotes/Gunner/CustomEmote_Gunner_VC2_2.CustomEmote_Gunner_VC2_2',
'/Game/PatchDLC/VaultCard2/Customizations/Emotes/Operative/CustomEmote_Operative_VC2_1.CustomEmote_Operative_VC2_1',
'/Game/PatchDLC/VaultCard2/Customizations/Emotes/Operative/CustomEmote_Operative_VC2_2.CustomEmote_Operative_VC2_2',
'/Game/PatchDLC/VaultCard2/Customizations/Emotes/Siren/CustomEmote_Siren_VC2_1.CustomEmote_Siren_VC2_1',
'/Game/PatchDLC/VaultCard2/Customizations/Emotes/Siren/CustomEmote_Siren_VC2_2.CustomEmote_Siren_VC2_2',
'/Game/PatchDLC/VaultCard3/Customizations/Emotes/Beastmaster/CustomEmote_Beastmaster_VC3_1.CustomEmote_Beastmaster_VC3_1',
'/Game/PatchDLC/VaultCard3/Customizations/Emotes/Beastmaster/CustomEmote_Beastmaster_VC3_2.CustomEmote_Beastmaster_VC3_2',
'/Game/PatchDLC/VaultCard3/Customizations/Emotes/Beastmaster/CustomEmote_Beastmaster_VC3_3.CustomEmote_Beastmaster_VC3_3',
'/Game/PatchDLC/VaultCard3/Customizations/Emotes/Gunner/CustomEmote_Gunner_VC3_1.CustomEmote_Gunner_VC3_1',
'/Game/PatchDLC/VaultCard3/Customizations/Emotes/Gunner/CustomEmote_Gunner_VC3_2.CustomEmote_Gunner_VC3_2',
'/Game/PatchDLC/VaultCard3/Customizations/Emotes/Gunner/CustomEmote_Gunner_VC3_3.CustomEmote_Gunner_VC3_3',
'/Game/PatchDLC/VaultCard3/Customizations/Emotes/Operative/CustomEmote_Operative_VC3_1.CustomEmote_Operative_VC3_1',
'/Game/PatchDLC/VaultCard3/Customizations/Emotes/Operative/CustomEmote_Operative_VC3_2.CustomEmote_Operative_VC3_2',
'/Game/PatchDLC/VaultCard3/Customizations/Emotes/Operative/CustomEmote_Operative_VC3_3.CustomEmote_Operative_VC3_3',
'/Game/PatchDLC/VaultCard3/Customizations/Emotes/Siren/CustomEmote_Siren_VC3_1.CustomEmote_Siren_VC3_1',
'/Game/PatchDLC/VaultCard3/Customizations/Emotes/Siren/CustomEmote_Siren_VC3_2.CustomEmote_Siren_VC3_2',
'/Game/PatchDLC/VaultCard3/Customizations/Emotes/Siren/CustomEmote_Siren_VC3_3.CustomEmote_Siren_VC3_3',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Emotes/CustomEmote_Beastmaster_05_Heart.CustomEmote_Beastmaster_05_Heart',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Emotes/CustomEmote_Beastmaster_06_FingerGuns.CustomEmote_Beastmaster_06_FingerGuns',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Emotes/CustomEmote_Beastmaster_09_RobotDance.CustomEmote_Beastmaster_09_RobotDance',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Emotes/CustomEmote_Beastmaster_10_KickDance.CustomEmote_Beastmaster_10_KickDance',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Emotes/CustomEmote_Beastmaster_11_Chicken_Dance.CustomEmote_Beastmaster_11_Chicken_Dance',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Emotes/CustomEmote_Beastmaster_12_Death.CustomEmote_Beastmaster_12_Death',
'/Game/PlayerCharacters/_Customizations/Gunner/Emotes/CustomEmote_Gunner_05_Heart.CustomEmote_Gunner_05_Heart',
'/Game/PlayerCharacters/_Customizations/Gunner/Emotes/CustomEmote_Gunner_06_FingerGuns.CustomEmote_Gunner_06_FingerGuns',
'/Game/PlayerCharacters/_Customizations/Gunner/Emotes/CustomEmote_Gunner_09_RobotDance.CustomEmote_Gunner_09_RobotDance',
'/Game/PlayerCharacters/_Customizations/Gunner/Emotes/CustomEmote_Gunner_10_KickDance.CustomEmote_Gunner_10_KickDance',
'/Game/PlayerCharacters/_Customizations/Gunner/Emotes/CustomEmote_Gunner_11_ChickenDance.CustomEmote_Gunner_11_ChickenDance',
'/Game/PlayerCharacters/_Customizations/Gunner/Emotes/CustomEmote_Gunner_12_Death.CustomEmote_Gunner_12_Death',
'/Game/PlayerCharacters/_Customizations/Operative/Emotes/CustomEmote_Operative_05_Heart.CustomEmote_Operative_05_Heart',
'/Game/PlayerCharacters/_Customizations/Operative/Emotes/CustomEmote_Operative_06_FingerGuns.CustomEmote_Operative_06_FingerGuns',
'/Game/PlayerCharacters/_Customizations/Operative/Emotes/CustomEmote_Operative_09_RobotDance.CustomEmote_Operative_09_RobotDance',
'/Game/PlayerCharacters/_Customizations/Operative/Emotes/CustomEmote_Operative_10_KickDance.CustomEmote_Operative_10_KickDance',
'/Game/PlayerCharacters/_Customizations/Operative/Emotes/CustomEmote_Operative_11_ChickenDance.CustomEmote_Operative_11_ChickenDance',
'/Game/PlayerCharacters/_Customizations/Operative/Emotes/CustomEmote_Operative_12_Death.CustomEmote_Operative_12_Death',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Emotes/CustomEmote_Siren_05_Heart.CustomEmote_Siren_05_Heart',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Emotes/CustomEmote_Siren_06_FingerGuns.CustomEmote_Siren_06_FingerGuns',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Emotes/CustomEmote_Siren_09_RobotDance.CustomEmote_Siren_09_RobotDance',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Emotes/CustomEmote_Siren_10_KickDance.CustomEmote_Siren_10_KickDance',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Emotes/CustomEmote_Siren_11_ChickenDance.CustomEmote_Siren_11_ChickenDance',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Emotes/CustomEmote_Siren_12_Death.CustomEmote_Siren_12_Death',
])
profile_emotes_defaults = set([
'/Game/PlayerCharacters/_Customizations/Beastmaster/Emotes/CustomEmote_Beastmaster_01_Wave.CustomEmote_Beastmaster_01_Wave',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Emotes/CustomEmote_Beastmaster_02_Cheer.CustomEmote_Beastmaster_02_Cheer',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Emotes/CustomEmote_Beastmaster_03_Point.CustomEmote_Beastmaster_03_Point',
'/Game/PlayerCharacters/_Customizations/Beastmaster/Emotes/CustomEmote_Beastmaster_04_Laugh.CustomEmote_Beastmaster_04_Laugh',
'/Game/PlayerCharacters/_Customizations/Gunner/Emotes/CustomEmote_Gunner_01_Wave.CustomEmote_Gunner_01_Wave',
'/Game/PlayerCharacters/_Customizations/Gunner/Emotes/CustomEmote_Gunner_02_Cheer.CustomEmote_Gunner_02_Cheer',
'/Game/PlayerCharacters/_Customizations/Gunner/Emotes/CustomEmote_Gunner_03_Point.CustomEmote_Gunner_03_Point',
'/Game/PlayerCharacters/_Customizations/Gunner/Emotes/CustomEmote_Gunner_04_Laugh.CustomEmote_Gunner_04_Laugh',
'/Game/PlayerCharacters/_Customizations/Operative/Emotes/CustomEmote_Operative_01_Wave.CustomEmote_Operative_01_Wave',
'/Game/PlayerCharacters/_Customizations/Operative/Emotes/CustomEmote_Operative_02_Cheer.CustomEmote_Operative_02_Cheer',
'/Game/PlayerCharacters/_Customizations/Operative/Emotes/CustomEmote_Operative_03_Point.CustomEmote_Operative_03_Point',
'/Game/PlayerCharacters/_Customizations/Operative/Emotes/CustomEmote_Operative_04_Laugh.CustomEmote_Operative_04_Laugh',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Emotes/CustomEmote_Siren_01_Wave.CustomEmote_Siren_01_Wave',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Emotes/CustomEmote_Siren_02_Cheer.CustomEmote_Siren_02_Cheer',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Emotes/CustomEmote_Siren_03_Point.CustomEmote_Siren_03_Point',
'/Game/PlayerCharacters/_Customizations/SirenBrawler/Emotes/CustomEmote_Siren_04_Laugh.CustomEmote_Siren_04_Laugh',
])
# Profile customizations - Room Decorations
# We're handling these a bit differently so that our util can re-order them in
# alphabetical order.
profile_roomdeco_obj_to_eng = {
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/RoomDeco/RoomDeco_DLC4_01_Orbs.RoomDeco_DLC4_01_Orbs': "Memory Orbs",
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/RoomDeco/RoomDeco_DLC4_02_Trophy.RoomDeco_DLC4_02_Trophy': "Psychoreaver Trophy",
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/RoomDeco/RoomDeco_DLC4_03_Axe.RoomDeco_DLC4_03_Axe': "Golden Buzz-axe",
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/RoomDeco/RoomDeco_DLC4_04_Moon.RoomDeco_DLC4_04_Moon': "Krieg's Moon",
'/Game/PatchDLC/Alisma/PlayerCharacters/_Customizations/RoomDeco/RoomDeco_DLC4_05_Mask.RoomDeco_DLC4_05_Mask': "Krieg's Mask",
'/Game/PatchDLC/Dandelion/Customizations/RoomDeco/RoomDeco_DLC1_1.RoomDeco_DLC1_1': "Neon Peach",
'/Game/PatchDLC/Dandelion/Customizations/RoomDeco/RoomDeco_DLC1_2.RoomDeco_DLC1_2': "Casino Banner",
'/Game/PatchDLC/Dandelion/Customizations/RoomDeco/RoomDeco_DLC1_3.RoomDeco_DLC1_3': "Handsome Jackpot",
'/Game/PatchDLC/Dandelion/Customizations/RoomDeco/RoomDeco_DLC1_4.RoomDeco_DLC1_4': "Saxophone",
'/Game/PatchDLC/Dandelion/Customizations/RoomDeco/RoomDeco_DLC1_5.RoomDeco_DLC1_5': "Jack Plaque",
'/Game/PatchDLC/Dandelion/Customizations/RoomDeco/RoomDeco_DLC1_6.RoomDeco_DLC1_6': "Jack Hologram",
'/Game/PatchDLC/Event2/Pickups/RoomDecoration/RoomDecoration_Event2_2.RoomDecoration_Event2_2': "Framed Tenderizer",
'/Game/PatchDLC/Event2/Pickups/RoomDecoration/RoomDecoration_Event2_3.RoomDecoration_Event2_3': 'Framed Firewall',
'/Game/PatchDLC/Geranium/Customizations/RoomDeco/RoomDecoration_Geranium_2.RoomDecoration_Geranium_2': "Bellik Trophy",
'/Game/PatchDLC/Geranium/Customizations/RoomDeco/RoomDecoration_Geranium_3.RoomDecoration_Geranium_3': "High Noon Clock",
'/Game/PatchDLC/Geranium/Customizations/RoomDeco/RoomDecoration_Geranium_4.RoomDecoration_Geranium_4': "Saloon Sign",
'/Game/PatchDLC/Geranium/Customizations/RoomDeco/RoomDecoration_Geranium_5.RoomDecoration_Geranium_5': "Ruiner Tapestry",
'/Game/PatchDLC/Geranium/Customizations/RoomDeco/RoomDecoration_Geranium_6.RoomDecoration_Geranium_6': "Rampage of the Gorgonoth Poster",
'/Game/PatchDLC/Geranium/Customizations/RoomDeco/RoomDecoration_Geranium_7.RoomDecoration_Geranium_7': "Seven Smugglers Poster",
'/Game/PatchDLC/Geranium/Customizations/RoomDeco/RoomDecoration_Geranium_IO_1.RoomDecoration_Geranium_IO_1': "Old Guitar",
'/Game/PatchDLC/Geranium/Customizations/RoomDeco/RoomDecoration_Geranium_IO_2.RoomDecoration_Geranium_IO_2': "Chemistry Set",
'/Game/PatchDLC/Geranium/Customizations/RoomDeco/RoomDecoration_Geranium_IO_3.RoomDecoration_Geranium_IO_3': "Core Lamp",
'/Game/PatchDLC/Geranium/Customizations/RoomDeco/RoomDecoration_KeyToCity.RoomDecoration_KeyToCity': "Key to the City",
'/Game/PatchDLC/Hibiscus/Customizations/RoomDeco/RoomDeco_DLC2_1.RoomDeco_DLC2_1': "Lunatic Shield",
'/Game/PatchDLC/Hibiscus/Customizations/RoomDeco/RoomDeco_DLC2_2.RoomDeco_DLC2_2': "Private Eye",
'/Game/PatchDLC/Hibiscus/Customizations/RoomDeco/RoomDeco_DLC2_3.RoomDeco_DLC2_3': "The Lodge Poster",
'/Game/PatchDLC/Hibiscus/Customizations/RoomDeco/RoomDeco_DLC2_4.RoomDeco_DLC2_4': "Just Married Poster",
'/Game/PatchDLC/Hibiscus/Customizations/RoomDeco/RoomDeco_DLC2_5.RoomDeco_DLC2_5': "Dahl Bonded Blueprints",
'/Game/PatchDLC/Hibiscus/Customizations/RoomDeco/RoomDeco_DLC2_6.RoomDeco_DLC2_6': "Talking Fish",
'/Game/PatchDLC/Hibiscus/Customizations/RoomDeco/RoomDeco_DLC2_7.RoomDeco_DLC2_7': "Warrior Horn",
'/Game/PatchDLC/Hibiscus/Customizations/RoomDeco/RoomDeco_DLC2_8.RoomDeco_DLC2_8': "Framed Portal",
'/Game/PatchDLC/Raid1/Customizations/RoomDeco/RoomDeco_Raid1_1.RoomDeco_Raid1_1': "Wotan's Head",
'/Game/PatchDLC/Takedown2/InteractiveObjects/PlayerQuarters/RoomDeco_Takedown2.RoomDeco_Takedown2': "The Martyr's Head",
'/Game/PatchDLC/VaultCard/Customizations/RoomDeco/RoomDecoration_VC1_1.RoomDecoration_VC1_1': "Roland and Tina Photo",
'/Game/PatchDLC/VaultCard/Customizations/RoomDeco/RoomDecoration_VC1_2.RoomDecoration_VC1_2': "Maya's Book",
'/Game/PatchDLC/VaultCard/Customizations/RoomDeco/RoomDecoration_VC1_3.RoomDecoration_VC1_3': "Bloodwing Statue",
'/Game/PatchDLC/VaultCard2/Customizations/RoomDeco/RoomDecoration_VC2_1.RoomDecoration_VC2_1': "Dead Fish",
'/Game/PatchDLC/VaultCard2/Customizations/RoomDeco/RoomDecoration_VC2_2.RoomDecoration_VC2_2': "Fyrestone",
'/Game/PatchDLC/VaultCard3/Customizations/RoomDeco/RoomDecoration_VC3_1.RoomDecoration_VC3_1': "Dimitri Hoppodopolous",
'/Game/Pickups/RoomDecoration/RoomDecoration_10.RoomDecoration_10': "Skag Skull",
'/Game/Pickups/RoomDecoration/RoomDecoration_11.RoomDecoration_11': "Life Preserver",
'/Game/Pickups/RoomDecoration/RoomDecoration_12.RoomDecoration_12': "Bug Zapper",
'/Game/Pickups/RoomDecoration/RoomDecoration_13.RoomDecoration_13': "Buzzsaw Blade",
'/Game/Pickups/RoomDecoration/RoomDecoration_15.RoomDecoration_15': "Jakobs Poster",
'/Game/Pickups/RoomDecoration/RoomDecoration_16.RoomDecoration_16': "Methane Monitor",
'/Game/Pickups/RoomDecoration/RoomDecoration_17.RoomDecoration_17': "Trophy Fish",
'/Game/Pickups/RoomDecoration/RoomDecoration_18.RoomDecoration_18': "Salvation",
'/Game/Pickups/RoomDecoration/RoomDecoration_19.RoomDecoration_19': "Holy",
'/Game/Pickups/RoomDecoration/RoomDecoration_20.RoomDecoration_20': "HBC Poster 1",
'/Game/Pickups/RoomDecoration/RoomDecoration_21.RoomDecoration_21': "HBC Poster 2",
'/Game/Pickups/RoomDecoration/RoomDecoration_22.RoomDecoration_22': "HBC Poster 3",
'/Game/Pickups/RoomDecoration/RoomDecoration_23.RoomDecoration_23': "HBC Poster 4",
'/Game/Pickups/RoomDecoration/RoomDecoration_24.RoomDecoration_24': "HBC Poster 5",
'/Game/Pickups/RoomDecoration/RoomDecoration_25.RoomDecoration_25': "HBC Poster 6",
'/Game/Pickups/RoomDecoration/RoomDecoration_26.RoomDecoration_26': "Vegan",
'/Game/Pickups/RoomDecoration/RoomDecoration_27.RoomDecoration_27': "Live Streaming",
'/Game/Pickups/RoomDecoration/RoomDecoration_28.RoomDecoration_28': "Storm Brewin'",
'/Game/Pickups/RoomDecoration/RoomDecoration_29.RoomDecoration_29': "Decorative Bomb",
'/Game/Pickups/RoomDecoration/RoomDecoration_30.RoomDecoration_30': "Jack Mask",
'/Game/Pickups/RoomDecoration/RoomDecoration_31.RoomDecoration_31': "Hand Clock",
'/Game/Pickups/RoomDecoration/RoomDecoration_32.RoomDecoration_32': "Three Fingers",
'/Game/Pickups/RoomDecoration/RoomDecoration_33.RoomDecoration_33': "R0ADK1L",
'/Game/Pickups/RoomDecoration/RoomDecoration_34.RoomDecoration_34': "5KAGB8",
'/Game/Pickups/RoomDecoration/RoomDecoration_35.RoomDecoration_35': "5P8NKM3",
'/Game/Pickups/RoomDecoration/RoomDecoration_36.RoomDecoration_36': "Skag Attack",
'/Game/Pickups/RoomDecoration/RoomDecoration_37.RoomDecoration_37': "Mounted Ratch",
'/Game/Pickups/RoomDecoration/RoomDecoration_38.RoomDecoration_38': "Mounted Skag",
'/Game/Pickups/RoomDecoration/RoomDecoration_39.RoomDecoration_39': "Mounted Spiderant",
'/Game/Pickups/RoomDecoration/RoomDecoration_4.RoomDecoration_4': "Bandit Tire",
'/Game/Pickups/RoomDecoration/RoomDecoration_40.RoomDecoration_40': "Service Bot Console",
'/Game/Pickups/RoomDecoration/RoomDecoration_41.RoomDecoration_41': "Safety First",
'/Game/Pickups/RoomDecoration/RoomDecoration_42.RoomDecoration_42': "Hard Hat",
'/Game/Pickups/RoomDecoration/RoomDecoration_43.RoomDecoration_43': "Dip Road",
'/Game/Pickups/RoomDecoration/RoomDecoration_44.RoomDecoration_44': "Mouthpiece Speaker",
'/Game/Pickups/RoomDecoration/RoomDecoration_45.RoomDecoration_45': "Rocketeer Mask",
'/Game/Pickups/RoomDecoration/RoomDecoration_46.RoomDecoration_46': "COV Bat",
'/Game/Pickups/RoomDecoration/RoomDecoration_47.RoomDecoration_47': "Psycho Mask",
'/Game/Pickups/RoomDecoration/RoomDecoration_48.RoomDecoration_48': "COV Hammer",
'/Game/Pickups/RoomDecoration/RoomDecoration_49.RoomDecoration_49': "COV Cleaver",
'/Game/Pickups/RoomDecoration/RoomDecoration_5.RoomDecoration_5': "Moxxxi's Bar",
'/Game/Pickups/RoomDecoration/RoomDecoration_50.RoomDecoration_50': "COV Buzzaxe",
'/Game/Pickups/RoomDecoration/RoomDecoration_51.RoomDecoration_51': "COV Engine Club",
'/Game/Pickups/RoomDecoration/RoomDecoration_52.RoomDecoration_52': "Neon Heart",
'/Game/Pickups/RoomDecoration/RoomDecoration_55.RoomDecoration_55': "Neon Lips",
'/Game/Pickups/RoomDecoration/RoomDecoration_56.RoomDecoration_56': "COV Sword",
'/Game/Pickups/RoomDecoration/RoomDecoration_57.RoomDecoration_57': "COV Wrench",
'/Game/Pickups/RoomDecoration/RoomDecoration_58.RoomDecoration_58': "Mouthpiece Mask",
'/Game/Pickups/RoomDecoration/RoomDecoration_59.RoomDecoration_59': "Western Portrait 1",
'/Game/Pickups/RoomDecoration/RoomDecoration_6.RoomDecoration_6': "Pandoracorn",
'/Game/Pickups/RoomDecoration/RoomDecoration_60.RoomDecoration_60': "Killavolt's Shield",
'/Game/Pickups/RoomDecoration/RoomDecoration_61.RoomDecoration_61': "Framed Landsape",
'/Game/Pickups/RoomDecoration/RoomDecoration_62.RoomDecoration_62': "Framed Duchess",
'/Game/Pickups/RoomDecoration/RoomDecoration_63.RoomDecoration_63': "Western Portrait 2",
'/Game/Pickups/RoomDecoration/RoomDecoration_64.RoomDecoration_64': "Trooper Shield",
'/Game/Pickups/RoomDecoration/RoomDecoration_65.RoomDecoration_65': "The Big 3",
'/Game/Pickups/RoomDecoration/RoomDecoration_66.RoomDecoration_66': "Trooper Disc",
'/Game/Pickups/RoomDecoration/RoomDecoration_67.RoomDecoration_67': "Use Protection",
'/Game/Pickups/RoomDecoration/RoomDecoration_7.RoomDecoration_7': "Troy Graffiti",
'/Game/Pickups/RoomDecoration/RoomDecoration_8.RoomDecoration_8': "Tyreen Graffiti",
'/Game/Pickups/RoomDecoration/RoomDecoration_9.RoomDecoration_9': "Dynasty Diner",
# Not including this one 'cause it's bugged - won't even show up, even if unlocked.
#'/Game/PatchDLC/Geranium/Customizations/RoomDeco/RoomDeco_DLC3_1.RoomDeco_DLC3_1': "DLC3 RoomDeco",
}
profile_roomdeco_eng_to_obj = {v: k for k, v in profile_roomdeco_obj_to_eng.items()}
# CRC32 table used to compute weapon customization hashes in the profile. Many
# thanks to Gibbed, yet again, for supplying this!
_weapon_cust_crc32_table = [
0x00000000, 0x04C11DB7, 0x09823B6E, 0x0D4326D9, 0x130476DC, 0x17C56B6B, 0x1A864DB2, 0x1E475005,
0x2608EDB8, 0x22C9F00F, 0x2F8AD6D6, 0x2B4BCB61, 0x350C9B64, 0x31CD86D3, 0x3C8EA00A, 0x384FBDBD,
0x4C11DB70, 0x48D0C6C7, 0x4593E01E, 0x4152FDA9, 0x5F15ADAC, 0x5BD4B01B, 0x569796C2, 0x52568B75,
0x6A1936C8, 0x6ED82B7F, 0x639B0DA6, 0x675A1011, 0x791D4014, 0x7DDC5DA3, 0x709F7B7A, 0x745E66CD,
0x9823B6E0, 0x9CE2AB57, 0x91A18D8E, 0x95609039, 0x8B27C03C, 0x8FE6DD8B, 0x82A5FB52, 0x8664E6E5,
0xBE2B5B58, 0xBAEA46EF, 0xB7A96036, 0xB3687D81, 0xAD2F2D84, 0xA9EE3033, 0xA4AD16EA, 0xA06C0B5D,
0xD4326D90, 0xD0F37027, 0xDDB056FE, 0xD9714B49, 0xC7361B4C, 0xC3F706FB, 0xCEB42022, 0xCA753D95,
0xF23A8028, 0xF6FB9D9F, 0xFBB8BB46, 0xFF79A6F1, 0xE13EF6F4, 0xE5FFEB43, 0xE8BCCD9A, 0xEC7DD02D,
0x34867077, 0x30476DC0, 0x3D044B19, 0x39C556AE, 0x278206AB, 0x23431B1C, 0x2E003DC5, 0x2AC12072,
0x128E9DCF, 0x164F8078, 0x1B0CA6A1, 0x1FCDBB16, 0x018AEB13, 0x054BF6A4, 0x0808D07D, 0x0CC9CDCA,
0x7897AB07, 0x7C56B6B0, 0x71159069, 0x75D48DDE, 0x6B93DDDB, 0x6F52C06C, 0x6211E6B5, 0x66D0FB02,
0x5E9F46BF, 0x5A5E5B08, 0x571D7DD1, 0x53DC6066, 0x4D9B3063, 0x495A2DD4, 0x44190B0D, 0x40D816BA,
0xACA5C697, 0xA864DB20, 0xA527FDF9, 0xA1E6E04E, 0xBFA1B04B, 0xBB60ADFC, 0xB6238B25, 0xB2E29692,
0x8AAD2B2F, 0x8E6C3698, 0x832F1041, 0x87EE0DF6, 0x99A95DF3, 0x9D684044, 0x902B669D, 0x94EA7B2A,
0xE0B41DE7, 0xE4750050, 0xE9362689, 0xEDF73B3E, 0xF3B06B3B, 0xF771768C, 0xFA325055, 0xFEF34DE2,
0xC6BCF05F, 0xC27DEDE8, 0xCF3ECB31, 0xCBFFD686, 0xD5B88683, 0xD1799B34, 0xDC3ABDED, 0xD8FBA05A,
0x690CE0EE, 0x6DCDFD59, 0x608EDB80, 0x644FC637, 0x7A089632, 0x7EC98B85, 0x738AAD5C, 0x774BB0EB,
0x4F040D56, 0x4BC510E1, 0x46863638, 0x42472B8F, 0x5C007B8A, 0x58C1663D, 0x558240E4, 0x51435D53,
0x251D3B9E, 0x21DC2629, 0x2C9F00F0, 0x285E1D47, 0x36194D42, 0x32D850F5, 0x3F9B762C, 0x3B5A6B9B,
0x0315D626, 0x07D4CB91, 0x0A97ED48, 0x0E56F0FF, 0x1011A0FA, 0x14D0BD4D, 0x19939B94, 0x1D528623,
0xF12F560E, 0xF5EE4BB9, 0xF8AD6D60, 0xFC6C70D7, 0xE22B20D2, 0xE6EA3D65, 0xEBA91BBC, 0xEF68060B,
0xD727BBB6, 0xD3E6A601, 0xDEA580D8, 0xDA649D6F, 0xC423CD6A, 0xC0E2D0DD, 0xCDA1F604, 0xC960EBB3,
0xBD3E8D7E, 0xB9FF90C9, 0xB4BCB610, 0xB07DABA7, 0xAE3AFBA2, 0xAAFBE615, 0xA7B8C0CC, 0xA379DD7B,
0x9B3660C6, 0x9FF77D71, 0x92B45BA8, 0x9675461F, 0x8832161A, 0x8CF30BAD, 0x81B02D74, 0x857130C3,
0x5D8A9099, 0x594B8D2E, 0x5408ABF7, 0x50C9B640, 0x4E8EE645, 0x4A4FFBF2, 0x470CDD2B, 0x43CDC09C,
0x7B827D21, 0x7F436096, 0x7200464F, 0x76C15BF8, 0x68860BFD, 0x6C47164A, 0x61043093, 0x65C52D24,
0x119B4BE9, 0x155A565E, 0x18197087, 0x1CD86D30, 0x029F3D35, 0x065E2082, 0x0B1D065B, 0x0FDC1BEC,
0x3793A651, 0x3352BBE6, 0x3E119D3F, 0x3AD08088, 0x2497D08D, 0x2056CD3A, 0x2D15EBE3, 0x29D4F654,
0xC5A92679, 0xC1683BCE, 0xCC2B1D17, 0xC8EA00A0, 0xD6AD50A5, 0xD26C4D12, 0xDF2F6BCB, 0xDBEE767C,
0xE3A1CBC1, 0xE760D676, 0xEA23F0AF, 0xEEE2ED18, 0xF0A5BD1D, 0xF464A0AA, 0xF9278673, 0xFDE69BC4,
0x89B8FD09, 0x8D79E0BE, 0x803AC667, 0x84FBDBD0, 0x9ABC8BD5, 0x9E7D9662, 0x933EB0BB, 0x97FFAD0C,
0xAFB010B1, 0xAB710D06, 0xA6322BDF, 0xA2F33668, 0xBCB4666D, 0xB8757BDA, 0xB5365D03, 0xB1F740B4,
]
def inventory_path_hash(object_path):
"""
Computes the hashes used in the profile for weapon customizations and the golden key
count. Possibly used for other things, too. Many thanks to Gibbed, yet again, for this!
"""
global _weapon_cust_crc32_table
if '.' not in object_path:
object_path = '{}.{}'.format(object_path, object_path.split('/')[-1])
# TODO: Gibbed was under the impression that these were checksummed in
# UTF-16, but the hashes all match for me when using latin1/utf-8.
object_full = object_path.upper().encode('latin1')
crc32 = 0
for char in object_full:
crc32 = (_weapon_cust_crc32_table[(crc32 ^ (char >> 0)) & 0xFF] ^ (crc32 >> 8)) & 0xFFFFFFFF
crc32 = (_weapon_cust_crc32_table[(crc32 ^ (char >> 8)) & 0xFF] ^ (crc32 >> 8)) & 0xFFFFFFFF
return crc32
def weapon_cust_paths_to_hash(obj_to_eng):
"""
Computes the hashes used in the profile, for weapon customizations (skins+trinkets).
"""
to_ret = {}
for (object_path, eng) in obj_to_eng.items():
to_ret[inventory_path_hash(object_path)] = eng
return to_ret
# Profile customizations - Weapon Skins
profile_weaponskins_obj_to_eng = {
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_1.WeaponSkin_1': "Burnished Steele",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_10.WeaponSkin_10': "Ink and Kill",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_11.WeaponSkin_11': "It's Poop!",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_12.WeaponSkin_12': "Painbow",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_13.WeaponSkin_13': "Crepuscule",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_14.WeaponSkin_14': "Skelebones",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_15.WeaponSkin_15': "Black Dragon",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_16.WeaponSkin_16': "Extraspectral",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_17.WeaponSkin_17': "Dandy Lion",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_18.WeaponSkin_18': "Maliwannabe",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_19.WeaponSkin_19': "Fire and Ash",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_2.WeaponSkin_2': "Thunderhead",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_20.WeaponSkin_20': "Blueberry Limeade",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_21.WeaponSkin_21': "Goldie Locks and Loads",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_22.WeaponSkin_22': "Gearbox Prime",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_23.WeaponSkin_23': "Retro Blaster",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_24.WeaponSkin_24': "Butt Dazzle",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_25.WeaponSkin_25': "Super Oaker",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_3.WeaponSkin_3': "Psychodelic",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_4.WeaponSkin_4': "Deep Nebula",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_5.WeaponSkin_5': "Dead Set",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_6.WeaponSkin_6': "Hot Blooded",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_7.WeaponSkin_7': "Red Sands",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_8.WeaponSkin_8': "Gun-fetti",
'/Game/Gear/WeaponSkins/_Design/SkinParts/WeaponSkin_9.WeaponSkin_9': "Leather and Regret",
'/Game/PatchDLC/BloodyHarvest/Gear/Weapons/WeaponSkins/WeaponSkin_BloodyHarvest_01.WeaponSkin_BloodyHarvest_01': "Ghoul Metal Grey",
'/Game/PatchDLC/BloodyHarvest/Gear/Weapons/WeaponSkins/WeaponSkin_BloodyHarvest_02.WeaponSkin_BloodyHarvest_02': "Porphyrophobia",
'/Game/PatchDLC/Event2/Gear/_Design/WeaponSkins/WeaponSkin_Event2_2.WeaponSkin_Event2_2': "Digital Horizons",
'/Game/PatchDLC/VaultCard/Customizations/WeaponSkin/WeaponSkin_VC1_1.WeaponSkin_VC1_1': "Phaselocked and Loaded",
'/Game/PatchDLC/VaultCard/Customizations/WeaponSkin/WeaponSkin_VC1_2.WeaponSkin_VC1_2': "Scoot and Loot",
'/Game/PatchDLC/VaultCard/Customizations/WeaponSkin/WeaponSkin_VC1_3.WeaponSkin_VC1_3': "Runic Relic",
'/Game/PatchDLC/VaultCard2/Gear/_Design/WeaponSkins/WeaponSkin_VC2_1.WeaponSkin_VC2_1': "Homecoming",
'/Game/PatchDLC/VaultCard3/Gear/_Design/WeaponSkins/WeaponSkin_VC3_1.WeaponSkin_VC3_1': "Rune and Gun",
'/Game/PatchDLC/VaultCard3/Gear/_Design/WeaponSkins/WeaponSkin_VC3_2.WeaponSkin_VC3_2': "Arms and Armor",
'/Game/PatchDLC/VaultCard3/Gear/_Design/WeaponSkins/WeaponSkin_VC3_3.WeaponSkin_VC3_3': "Rainbows and Gun Drops",
# Not including this one because it's quite obviously unfinished, and identical to Burnished Steele
#'/Game/PatchDLC/Geranium/Customizations/WeaponSkin/WeaponSkin_DLC3_1.WeaponSkin_DLC3_1': "DLC3 WeaponSkin",
}
profile_weaponskins_hash_to_eng = weapon_cust_paths_to_hash(profile_weaponskins_obj_to_eng)
profile_weaponskins_eng_to_hash = {v: k for k, v in profile_weaponskins_hash_to_eng.items()}
# Profile customizations - Weapon Trinkets
profile_weapontrinkets_obj_to_eng = {
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_10.WeaponTrinket_10': "Super General Claptrap",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_11.WeaponTrinket_11': "Keep Your Eye Out",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_12.WeaponTrinket_12': "Ellie's Power Flower",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_13.WeaponTrinket_13': "Sign of the Hawk",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_14.WeaponTrinket_14': "Beast Bowl",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_15.WeaponTrinket_15': "AnarChic",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_16.WeaponTrinket_16': "Guardian's Lament",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_17.WeaponTrinket_17': "H Marks the Spot",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_18.WeaponTrinket_18': "Cloak and Swagger",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_19.WeaponTrinket_19': "Jack's Off",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_2.WeaponTrinket_2': "Hat Trick",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_20.WeaponTrinket_20': "Stink Eye",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_21.WeaponTrinket_21': "Siren's Mark",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_22.WeaponTrinket_22': "Drop It",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_24.WeaponTrinket_24': "Dedication to Capitalism",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_25.WeaponTrinket_25': "Deadeye Decal",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_26.WeaponTrinket_26': "Born to Kill",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_27.WeaponTrinket_27': "No, You're Crazy",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_28.WeaponTrinket_28': "Itsy Bitsy Rakky Hive",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_29.WeaponTrinket_29': "Buckle Up",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_3.WeaponTrinket_3': "Queen of Hearts",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_30.WeaponTrinket_30': "Rhys's Piece",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_31.WeaponTrinket_31': "Last Ride",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_32.WeaponTrinket_32': "Lil' Chomper",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_33.WeaponTrinket_33': "Just In Case",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_34.WeaponTrinket_34': "Kaboom Bunny",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_35.WeaponTrinket_35': "Frakkin' Toaster",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_37.WeaponTrinket_37': "God-King's Bling",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_38.WeaponTrinket_38': "Hunter's Patch",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_39.WeaponTrinket_39': "On the Hunt",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_4.WeaponTrinket_4': "Earn Your Stripes",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_40.WeaponTrinket_40': "Wittle Warrior",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_41.WeaponTrinket_41': "Null and V0id",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_42.WeaponTrinket_42': "One Army",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_43.WeaponTrinket_43': "Who Needs Gods?",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_44.WeaponTrinket_44': "Explosives Enthusiast",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_45.WeaponTrinket_45': "When In Doubt, Chuck It",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_46.WeaponTrinket_46': "Turtle Up",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_47.WeaponTrinket_47': "Switch Hitter",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_48.WeaponTrinket_48': "One Shot",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_49.WeaponTrinket_49': "Track and Destroy",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_5.WeaponTrinket_5': "Goodnight Kiss",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_50.WeaponTrinket_50': "Adapt and Overcome",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_51.WeaponTrinket_51': "Gold Tier",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_52.WeaponTrinket_52': "Neon Skelly",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_53.WeaponTrinket_53': "Diamond Ponytail",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_54.WeaponTrinket_54': "Gearbox Fan",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_57.WeaponTrinket_57': "Vault Insider VIP",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_58.WeaponTrinket_58': "For Funsies",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_6.WeaponTrinket_6': "Book of the Storm",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_7.WeaponTrinket_7': "Splorghuld, the Flesh-Slayer",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_8.WeaponTrinket_8': "Action Axton",
'/Game/Gear/WeaponTrinkets/_Design/TrinketParts/WeaponTrinket_9.WeaponTrinket_9': "Hoops Dreams",
'/Game/PatchDLC/Alisma/Gear/WeaponTrinkets/_Shared/Trinket_League_BloodyHarvest_2020.Trinket_League_BloodyHarvest_2020': "A Shrinking Feeling",
'/Game/PatchDLC/Alisma/Gear/WeaponTrinkets/Trinket_DLC4_Trinket_01.Trinket_DLC4_Trinket_01': "Divergent Thinking",
'/Game/PatchDLC/Alisma/Gear/WeaponTrinkets/Trinket_DLC4_Trinket_02.Trinket_DLC4_Trinket_02': "King's Knight",
'/Game/PatchDLC/BloodyHarvest/Gear/Weapons/WeaponTrinkets/_Shared/Trinket_League_BloodyHarvest_1.Trinket_League_BloodyHarvest_1': "Shrunk 'n Dead",
'/Game/PatchDLC/Customizations/Gear/Weapons/WeaponTrinkets/WeaponTrinket_59.WeaponTrinket_59': "Caster Blaster",
'/Game/PatchDLC/Dandelion/Gear/WeaponTrinkets/_Shared/Trinket_Dandelion_01_JackGoldenMask.Trinket_Dandelion_01_JackGoldenMask': "Nothing Gold Can Stay",
'/Game/PatchDLC/Dandelion/Gear/WeaponTrinkets/_Shared/Trinket_Dandelion_02_Mimic.Trinket_Dandelion_02_Mimic': "Slot Shot",
'/Game/PatchDLC/Dandelion/Gear/WeaponTrinkets/_Shared/Trinket_MercenaryDay_01_CandyCane.Trinket_MercenaryDay_01_CandyCane': "Mercenary Day Ornament",
'/Game/PatchDLC/Event2/Gear/_Design/WeaponTrinkets/WeaponTrinket_Cartels_1.WeaponTrinket_Cartels_1': "Retro Outrunner",
'/Game/PatchDLC/Event2/Gear/_Design/WeaponTrinkets/WeaponTrinket_Cartels_2021.WeaponTrinket_Cartels_2021': "Pandora Sunset",
'/Game/PatchDLC/EventVDay/Gear/Weapon/WeaponTrinkets/_Shared/Trinket_League_VDay_1.Trinket_League_VDay_1': "Cosmic Romance",
'/Game/PatchDLC/EventVDay/Gear/Weapon/WeaponTrinkets/_Shared/Trinket_League_VDay_2.Trinket_League_VDay_2': "Tentacle Ventricles",
'/Game/PatchDLC/EventVDay/TwitchDrops/Gear/Weapon/WeaponTrinkets/_Shared/Trinket_Twitch.Trinket_Twitch': "Pain Freeze",
'/Game/PatchDLC/Geranium/Customizations/WeaponTrinket/WeaponTrinket_DLC3_1.WeaponTrinket_DLC3_1': "Devil Tooth",
'/Game/PatchDLC/Geranium/Customizations/WeaponTrinket/WeaponTrinket_DLC3_2.WeaponTrinket_DLC3_2': "Battle Driver",
'/Game/PatchDLC/Hibiscus/Gear/WeaponTrinkets/_Shared/Trinket_Hibiscus_01_Squidly.Trinket_Hibiscus_01_Squidly': "Tactical Tentacle",
'/Game/PatchDLC/Hibiscus/Gear/WeaponTrinkets/_Shared/Trinket_Hibiscus_02_Necrocookmicon.Trinket_Hibiscus_02_Necrocookmicon': "Nibblenomicon",
'/Game/PatchDLC/Ixora/Gear/Weapons/WeaponTrinkets/_Design/WeaponTrinket_GearUp.WeaponTrinket_GearUp': "Dahl Tags",
'/Game/PatchDLC/Steam/Gear/WeaponTrinkets/WeaponTrinket_SteamPunk.WeaponTrinket_SteamPunk': "Vapor Hoodlum",
'/Game/PatchDLC/VaultCard/Gear/WeaponTrinkets/_Design/WeaponTrinket_VC1_1.WeaponTrinket_VC1_1': "Ascension",
'/Game/PatchDLC/VaultCard/Gear/WeaponTrinkets/_Design/WeaponTrinket_VC1_2.WeaponTrinket_VC1_2': "Tinker's Trinket",
'/Game/PatchDLC/VaultCard/Gear/WeaponTrinkets/_Design/WeaponTrinket_VC1_3.WeaponTrinket_VC1_3': "Deploy and Destroy",
'/Game/PatchDLC/VaultCard/Gear/WeaponTrinkets/_Design/WeaponTrinket_VC1_4.WeaponTrinket_VC1_4': "De Leon's Lash",
'/Game/PatchDLC/VaultCard2/Gear/WeaponTrinkets/_Design/WeaponTrinket_VC2_1.WeaponTrinket_VC2_1': "Tchotchkey",
'/Game/PatchDLC/VaultCard2/Gear/WeaponTrinkets/_Design/WeaponTrinket_VC2_2.WeaponTrinket_VC2_2': "Shooter's Shuttle",
'/Game/PatchDLC/VaultCard2/Gear/WeaponTrinkets/_Design/WeaponTrinket_VC2_3.WeaponTrinket_VC2_3': "Relaxtrap",
'/Game/PatchDLC/VaultCard2/Gear/WeaponTrinkets/_Design/WeaponTrinket_VC2_4.WeaponTrinket_VC2_4': "Tiny Vault",
'/Game/PatchDLC/VaultCard2/Gear/WeaponTrinkets/_Design/WeaponTrinket_VC2_5.WeaponTrinket_VC2_5': "Dry Heat",
'/Game/PatchDLC/VaultCard2/Gear/WeaponTrinkets/_Design/WeaponTrinket_VC2_6.WeaponTrinket_VC2_6': "Warm Welcome",
'/Game/PatchDLC/VaultCard3/Gear/_Design/WeaponTrinkets/WeaponTrinket_BattlePass_1.WeaponTrinket_BattlePass_1': "Loaded Crystal",
'/Game/PatchDLC/VaultCard3/Gear/_Design/WeaponTrinkets/WeaponTrinket_BattlePass_3.WeaponTrinket_BattlePass_3': "Saurian Skull",
'/Game/PatchDLC/VaultCard3/Gear/_Design/WeaponTrinkets/WeaponTrinket_BattlePass_4.WeaponTrinket_BattlePass_4': "Fing on a Ring",
'/Game/PatchDLC/VaultCard3/Gear/_Design/WeaponTrinkets/WeaponTrinket_BattlePass_5.WeaponTrinket_BattlePass_5': "Balll and Chain",
'/Game/PatchDLC/VaultCard3/Gear/WeaponTrinkets/_Design/WeaponTrinket_VC3_1.WeaponTrinket_VC3_1': "Sneak Attack",
'/Game/PatchDLC/VaultCard3/Gear/WeaponTrinkets/_Design/WeaponTrinket_VC3_2.WeaponTrinket_VC3_2': "Scepter of the Queen",
'/Game/PatchDLC/VaultCard3/Gear/WeaponTrinkets/_Design/WeaponTrinket_VC3_3.WeaponTrinket_VC3_3': "Bubble Trouble",
'/Game/PatchDLC/VaultCard3/Gear/WeaponTrinkets/_Design/WeaponTrinket_VC3_4.WeaponTrinket_VC3_4': "Dragonscale Shield",
'/Game/PatchDLC/VaultCard3/Gear/WeaponTrinkets/_Design/WeaponTrinket_VC3_5.WeaponTrinket_VC3_5': "Bunker Blaster",
'/Game/PatchDLC/VaultCard3/Gear/WeaponTrinkets/_Shared/Trinket_League_BloodyHarvest_2.Trinket_League_BloodyHarvest_2': "Fright Light",
}
profile_weapontrinkets_hash_to_eng = weapon_cust_paths_to_hash(profile_weapontrinkets_obj_to_eng)
profile_weapontrinkets_eng_to_hash = {v: k for k, v in profile_weapontrinkets_hash_to_eng.items()}
# Golden Keys
goldenkey_category = '/Game/Gear/_Shared/_Design/InventoryCategories/InventoryCategory_GoldenKey'
goldenkey_hash = inventory_path_hash(goldenkey_category)
# Vault Card #1 Keys
vaultcard1key_category = '/Game/Gear/_Shared/_Design/InventoryCategories/InventoryCategory_VaultCard1Key'
vaultcard1key_hash = inventory_path_hash(vaultcard1key_category)
# Vault Card #2 Keys
vaultcard2key_category = '/Game/Gear/_Shared/_Design/InventoryCategories/InventoryCategory_VaultCard2Key'
vaultcard2key_hash = inventory_path_hash(vaultcard2key_category)
# Vault Card #3 Keys
vaultcard3key_category = '/Game/Gear/_Shared/_Design/InventoryCategories/InventoryCategory_VaultCard3Key'
vaultcard3key_hash = inventory_path_hash(vaultcard3key_category)
# Diamond Keys
diamondkey_category = '/Game/Gear/_Shared/_Design/InventoryCategories/InventoryCategory_DiamondKey'
diamondkey_hash = inventory_path_hash(diamondkey_category)
# XP
max_level = 72
required_xp_list = [
0, # lvl 1
358, # lvl 2
1241, # lvl 3
2850, # lvl 4
5376, # lvl 5
8997, # lvl 6
13886, # lvl 7
20208, # lvl 8
28126, # lvl 9
37798, # lvl 10
49377, # lvl 11
63016, # lvl 12
78861, # lvl 13
97061, # lvl 14
117757, # lvl 15
141092, # lvl 16
167206, # lvl 17
196238, # lvl 18
228322, # lvl 19
263595, # lvl 20
302190, # lvl 21
344238, # lvl 22
389873, # lvl 23
439222, # lvl 24
492414, # lvl 25
549578, # lvl 26
610840, # lvl 27
676325, # lvl 28
746158, # lvl 29
820463, # lvl 30
899363, # lvl 31
982980, # lvl 32
1071435, # lvl 33
1164850, # lvl 34
1263343, # lvl 35
1367034, # lvl 36
1476041, # lvl 37
1590483, # lvl 38
1710476, # lvl 39
1836137, # lvl 40
1967582, # lvl 41
2104926, # lvl 42
2248285, # lvl 43
2397772, # lvl 44
2553501, # lvl 45
2715586, # lvl 46
2884139, # lvl 47
3059273, # lvl 48
3241098, # lvl 49
3429728, # lvl 50
3625271, # lvl 51
3827840, # lvl 52
4037543, # lvl 53
4254491, # lvl 54
4478792, # lvl 55
4710556, # lvl 56
4949890, # lvl 57
5196902, # lvl 58
5451701, # lvl 59
5714393, # lvl 60
5985086, # lvl 61
6263885, # lvl 62
6550897, # lvl 63
6846227, # lvl 64
7149982, # lvl 65
7462266, # lvl 66
7783184, # lvl 67
8112840, # lvl 68
8451340, # lvl 69
8798786, # lvl 70
9155282, # lvl 71
9520932, # lvl 72
9895837, # lvl 73
10280103, # lvl 74
10673830, # lvl 75
11077120, # lvl 76
11490077, # lvl 77
11912801, # lvl 78
12345393, # lvl 79
12787955, # lvl 80
]
max_supported_level = len(required_xp_list)
# Mayhem parts
mayhem_part_to_lvl = {
'/Game/PatchDLC/Mayhem2/Gear/Weapon/_Shared/_Design/MayhemParts/Part_WeaponMayhemLevel_01.Part_WeaponMayhemLevel_01': 1,
'/Game/PatchDLC/Mayhem2/Gear/Weapon/_Shared/_Design/MayhemParts/Part_WeaponMayhemLevel_02.Part_WeaponMayhemLevel_02': 2,
'/Game/PatchDLC/Mayhem2/Gear/Weapon/_Shared/_Design/MayhemParts/Part_WeaponMayhemLevel_03.Part_WeaponMayhemLevel_03': 3,
'/Game/PatchDLC/Mayhem2/Gear/Weapon/_Shared/_Design/MayhemParts/Part_WeaponMayhemLevel_04.Part_WeaponMayhemLevel_04': 4,
'/Game/PatchDLC/Mayhem2/Gear/Weapon/_Shared/_Design/MayhemParts/Part_WeaponMayhemLevel_05.Part_WeaponMayhemLevel_05': 5,
'/Game/PatchDLC/Mayhem2/Gear/Weapon/_Shared/_Design/MayhemParts/Part_WeaponMayhemLevel_06.Part_WeaponMayhemLevel_06': 6,
'/Game/PatchDLC/Mayhem2/Gear/Weapon/_Shared/_Design/MayhemParts/Part_WeaponMayhemLevel_07.Part_WeaponMayhemLevel_07': 7,
'/Game/PatchDLC/Mayhem2/Gear/Weapon/_Shared/_Design/MayhemParts/Part_WeaponMayhemLevel_08.Part_WeaponMayhemLevel_08': 8,
'/Game/PatchDLC/Mayhem2/Gear/Weapon/_Shared/_Design/MayhemParts/Part_WeaponMayhemLevel_09.Part_WeaponMayhemLevel_09': 9,
'/Game/PatchDLC/Mayhem2/Gear/Weapon/_Shared/_Design/MayhemParts/Part_WeaponMayhemLevel_10.Part_WeaponMayhemLevel_10': 10,
}
mayhem_part_lower_to_lvl = {k.lower(): v for k, v in mayhem_part_to_lvl.items()}
mayhem_lvl_to_part = {v: k for k, v in mayhem_part_to_lvl.items()}
mayhem_max = max(mayhem_part_to_lvl.values())
# InvData types which can accept Mayhem parts
# (may have to be more clever about this if non-guns start accepting *different* Mayhem parts)
mayhem_invdata_types = set([
'/Game/Gear/Weapons/AssaultRifles/Atlas/_Shared/_Design/WT_AR_ATL.WT_AR_ATL',
'/Game/Gear/Weapons/AssaultRifles/ChildrenOfTheVault/_Shared/_Design/WT_AR_COV.WT_AR_COV',
'/Game/Gear/Weapons/AssaultRifles/Dahl/_Shared/_Design/WT_AR_DAL.WT_AR_DAL',
'/Game/Gear/Weapons/AssaultRifles/Jakobs/_Shared/_Design/WT_AR_JAK.WT_AR_JAK',
'/Game/Gear/Weapons/AssaultRifles/Torgue/_Shared/_Design/WT_AR_TOR.WT_AR_TOR',
'/Game/Gear/Weapons/AssaultRifles/Vladof/_Shared/_Design/WT_AR_VLA.WT_AR_VLA',
'/Game/Gear/Weapons/HeavyWeapons/ATL/_Shared/_Design/WT_HW_ATL.WT_HW_ATL',
'/Game/Gear/Weapons/HeavyWeapons/ChildrenOfTheVault/_Shared/_Design/WT_HW_COV.WT_HW_COV',
'/Game/Gear/Weapons/HeavyWeapons/Torgue/_Shared/_Design/WT_HW_TOR.WT_HW_TOR',
'/Game/Gear/Weapons/HeavyWeapons/Vladof/_Shared/_Design/WT_HW_VLA.WT_HW_VLA',
'/Game/Gear/Weapons/Pistols/Atlas/_Shared/_Design/WT_PS_ATL.WT_PS_ATL',
'/Game/Gear/Weapons/Pistols/ChildrenOfTheVault/_Shared/_Design/WT_PS_COV.WT_PS_COV',
'/Game/Gear/Weapons/Pistols/Dahl/_Shared/_Design/WT_PS_DAL.WT_PS_DAL',
'/Game/Gear/Weapons/Pistols/Jakobs/_Shared/_Design/WT_PS_JAK.WT_PS_JAK',
'/Game/Gear/Weapons/Pistols/Maliwan/_Shared/_Design/WT_PS_MAL.WT_PS_MAL',
'/Game/Gear/Weapons/Pistols/Tediore/Shared/_Design/WT_PS_TED.WT_PS_TED',
'/Game/Gear/Weapons/Pistols/Torgue/_Shared/_Design/WT_PS_TOR.WT_PS_TOR',
'/Game/Gear/Weapons/Pistols/Vladof/_Shared/_Design/WT_PS_VLA.WT_PS_VLA',
'/Game/Gear/Weapons/SMGs/Dahl/_Shared/_Design/WT_SM_DAL.WT_SM_DAL',
'/Game/Gear/Weapons/SMGs/Hyperion/_Shared/_Design/WT_SM_HYP.WT_SM_HYP',
'/Game/Gear/Weapons/SMGs/Maliwan/_Shared/_Design/WT_SM_MAL.WT_SM_MAL',
'/Game/Gear/Weapons/SMGs/Tediore/_Shared/_Design/WT_SM_TED.WT_SM_TED',
'/Game/Gear/Weapons/Shotguns/Hyperion/_Shared/_Design/WT_SG_HYP.WT_SG_HYP',
'/Game/Gear/Weapons/Shotguns/Jakobs/_Shared/_Design/WT_SG_JAK.WT_SG_JAK',
'/Game/Gear/Weapons/Shotguns/Maliwan/_Shared/_Design/WT_SG_MAL.WT_SG_MAL',
'/Game/Gear/Weapons/Shotguns/Tediore/_Shared/_Design/WT_SG_TED.WT_SG_TED',
'/Game/Gear/Weapons/Shotguns/Torgue/_Shared/_Design/WT_SG_TOR.WT_SG_TOR',
'/Game/Gear/Weapons/SniperRifles/Dahl/_Shared/_Design/WT_SR_DAL.WT_SR_DAL',
'/Game/Gear/Weapons/SniperRifles/Hyperion/_Shared/_Design/WT_SR_HYP.WT_SR_HYP',
'/Game/Gear/Weapons/SniperRifles/Jakobs/_Shared/_Design/WT_SR_JAK.WT_SR_JAK',
'/Game/Gear/Weapons/SniperRifles/Maliwan/Shared/_Design/WT_SR_MAL.WT_SR_MAL',
'/Game/Gear/Weapons/SniperRifles/Vladof/_Shared/_Design/WT_SR_VLA.WT_SR_VLA',
'/Game/Gear/GrenadeMods/_Design/A_Data/GM_Default.GM_Default',
])
mayhem_invdata_lower_types = set([t.lower() for t in mayhem_invdata_types])
# Anointable InvData types - will be identical to Mayhemable list, plus shields
anointable_invdata_types = mayhem_invdata_types | set(['/Game/Gear/Shields/_Design/A_Data/Shield_Default.Shield_Default'])
anointable_invdata_lower_types = set([t.lower() for t in anointable_invdata_types])
# Guardian Rank Rewards
guardian_rank_rewards = set([
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_Accuracy.GuardianReward_Accuracy',
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_ActionSkillCooldown.GuardianReward_ActionSkillCooldown',
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_CriticalDamage.GuardianReward_CriticalDamage',
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_FFYLDuration.GuardianReward_FFYLDuration',
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_FFYLMovementSpeed.GuardianReward_FFYLMovementSpeed',
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_GrenadeDamage.GuardianReward_GrenadeDamage',
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_GunDamage.GuardianReward_GunDamage',
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_GunFireRate.GuardianReward_GunFireRate',
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_MaxHealth.GuardianReward_MaxHealth',
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_MeleeDamage.GuardianReward_MeleeDamage',
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_RarityRate.GuardianReward_RarityRate',
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_RecoilReduction.GuardianReward_RecoilReduction',
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_ReloadSpeed.GuardianReward_ReloadSpeed',
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_ShieldCapacity.GuardianReward_ShieldCapacity',
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_ShieldRechargeDelay.GuardianReward_ShieldRechargeDelay',
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_ShieldRechargeRate.GuardianReward_ShieldRechargeRate',
'/Game/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_VehicleDamage.GuardianReward_VehicleDamage',
'/Game/PatchDLC/Hibiscus/PlayerCharacters/_Shared/_Design/GuardianRank/GuardianReward_ElementalDamage.GuardianReward_ElementalDamage',
])
# Eridian Cube Puzzle stat
cube_puzzle_stat = '/Game/PlayerCharacters/_Shared/_Design/Stats/GameSystem/Stat_GameSystem_BeachCubeSolved.Stat_GameSystem_BeachCubeSolved'
# Takedown Discovery missions
takedown_missions = {
'/Game/PatchDLC/Raid1/Missions/Mission_Raid1Intro.Mission_Raid1Intro_C': (
'/Game/PatchDLC/Raid1/Missions/Mission_Raid1Intro.Set_MissionEnd_ObjectiveSet',
[1, 0, 0, 1, 0]),
'/Game/PatchDLC/Takedown2/Missions/Side/Mission_Takedown2_Intro.Mission_Takedown2_Intro_C': (
'/Game/PatchDLC/Takedown2/Missions/Side/Mission_Takedown2_Intro.Set_MissionEnd_ObjectiveSet',
[1, 0, 0, 1, 0]),
}
# Mission names
#
# For most missions, the following find statement will generate this list:
#
# for file in $(find Game/Missions Game/PatchDLC/Dandelion/Missions Game/PatchDLC/Hibiscus/Missions Game/PatchDLC/Raid1/Missions Game/PatchDLC/BloodyHarvest/Missions Game/PatchDLC/CitizenScience/Missions Game/PatchDLC/Event2/Missions Game/PatchDLC/Takedown2/Missions Game/PatchDLC/Geranium/Missions Game/PatchDLC/Alisma/Missions Game/PatchDLC/Ixora/Missions Game/PatchDLC/Ixora2/Missions \( -iname "Mission_*.uexp" -o -name "SideMission_*.uexp" -o -name "EP*_DLC2.uexp" -o -name "ALI_EP*.uexp" -o -name "ALI_SM_*.uexp" \) -print); do echo -n "'/$(dirname $file)/$(basename $file .uexp)': \""; echo $(strings $file | head -n 2 | tail -n 1)\",; done
#
# Various plot missions, though, from both the main game and DLC1, will need
# some edits by hand (they use a UIName_*_MissionTitle object instead.) Also,
# the Rare Spawn missions need the second string, not the first, so you'll
# want to run this to grab those:
#
# for file in $(find Game/Missions/Side/RareSpawn Game/PatchDLC/Hibiscus/Missions/Side/RareSpawn -iname "Mission_*.uexp" -print); do echo -n "'/$(dirname $file)/$(basename $file .uexp)': \""; echo $(strings $file | head -n 4 | tail -n 1)\",; done
#
# Keep in mind that the El Dragon Jr one will need a hand edit, since `strings`
# only matches on latin1 by default (at least on the GNU/Linux version).
mission_to_name = {
'/Game/Missions/Plot/Mission_Ep01_ChildrenOfTheVault': "Children of the Vault",
'/Game/Missions/Plot/Mission_Ep02_Sacrifice': "From the Ground Up",
'/Game/Missions/Plot/Mission_Ep03_GetVaultMap': "Cult Following",
'/Game/Missions/Plot/Mission_Ep04_EarnSpaceship': "Taking Flight",
'/Game/Missions/Plot/Mission_Ep05_OvercomeHQBlockade': "Hostile Takeover",
'/Game/Missions/Plot/Mission_Ep05_Sanctuary': "Sanctuary",
'/Game/Missions/Plot/Mission_Ep06_MeetMaya': "The Impending Storm",
'/Game/Missions/Plot/Mission_Ep08_OrbitalPlatform': "Space-Laser Tag",
'/Game/Missions/Plot/MIssion_Ep09_AtlasHQ': "Atlas, At Last",
'/Game/Missions/Plot/Mission_Ep10_CityVault': "Beneath the Meridian",
'/Game/Missions/Plot/Mission_Ep11_PrisonBreak': "Hammerlocked",
'/Game/Missions/Plot/Mission_Ep12_GrandTour': "Lair of the Harpy",
'/Game/Missions/Plot/Mission_Ep13_JakobsRebellion': "The Guns of Reliance",
'/Game/Missions/Plot/Mission_Ep13_Watership': "The Family Jewel",
'/Game/Missions/Plot/Mission_Ep15_MarshFields': "Going Rogue",
'/Game/Missions/Plot/Mission_Ep16_DesertVault': "The Great Vault",
'/Game/Missions/Plot/Mission_Ep16_SiblingRivalry': "Cold as the Grave",
'/Game/Missions/Plot/Mission_Ep17_BigChase': "Blood Drive",
'/Game/Missions/Plot/Mission_Ep19_MinerDetails': "Angels and Speed Demons",
'/Game/Missions/Plot/Mission_Ep20_FirstVaultHunter': "The First Vault Hunter",
'/Game/Missions/Plot/Mission_Ep21_Beachhead': "Footsteps of Giants",
'/Game/Missions/Plot/Mission_Ep22_TheMachine': "In the Shadow of Starlight",
'/Game/Missions/Plot/Mission_Ep23_TyreenFinalBoss': "Divine Retribution",
'/Game/Missions/Side/ProvingGrounds/ProvingGrounds1/Mission_ProvingGrounds_Mission01': "Trial of Survival",
'/Game/Missions/Side/ProvingGrounds/ProvingGrounds1/Mission_ProvingGroundsDiscovery_Mission01': "Discover the Trial of Survival",
'/Game/Missions/Side/ProvingGrounds/ProvingGrounds4/Mission_ProvingGrounds_Mission04': "Trial of Fervor",
'/Game/Missions/Side/ProvingGrounds/ProvingGrounds4/Mission_ProvingGroundsDiscovery_Mission04': "Discover the Trial of Fervor",
'/Game/Missions/Side/ProvingGrounds/ProvingGrounds5/Mission_ProvingGrounds_Mission05': "Trial of Cunning",
'/Game/Missions/Side/ProvingGrounds/ProvingGrounds5/Mission_ProvingGroundsDiscovery_Mission05': "Discover the Trial of Cunning",
'/Game/Missions/Side/ProvingGrounds/ProvingGrounds6/Mission_ProvingGrounds_Mission06': "Trial of Supremacy",
'/Game/Missions/Side/ProvingGrounds/ProvingGrounds6/Mission_ProvingGroundsDiscovery_Mission06': "Discover the Trial of Supremacy",
'/Game/Missions/Side/ProvingGrounds/ProvingGrounds7/Mission_ProvingGrounds_Mission07': "Trial of Discipline",
'/Game/Missions/Side/ProvingGrounds/ProvingGrounds7/Mission_ProvingGroundsDiscovery_Mission07': "Discover the Trial of Discipline",
'/Game/Missions/Side/ProvingGrounds/ProvingGrounds8/Mission_ProvingGrounds_Mission08': "Trial of Instinct",
'/Game/Missions/Side/ProvingGrounds/ProvingGrounds8/Mission_ProvingGroundsDiscovery_Mission08': "Discover the Trial of Instinct",
'/Game/Missions/Side/Raid/Raid/Mission_RaidOnMaliwan': "Raid On Maliwan",
'/Game/Missions/Side/RareSpawn/Mission_Async_BormanNates': "Kill Borman Nates",
'/Game/Missions/Side/RareSpawn/Mission_Async_CaptainThunkAndSloth': "Kill Captain Thunk and Sloth",
'/Game/Missions/Side/RareSpawn/Mission_Async_DemoSkag': "Kill Demoskaggon",
'/Game/Missions/Side/RareSpawn/Mission_Async_Dinklebot': "Kill Dinklebot",
'/Game/Missions/Side/RareSpawn/Mission_Async_ElDragonJr': "Kill El Dragón Jr",
'/Game/Missions/Side/RareSpawn/Mission_Async_EnforcerUrist': "Kill Urist McEnforcer",
'/Game/Missions/Side/RareSpawn/Mission_Async_IndoTyrant': "Kill IndoTyrant",
'/Game/Missions/Side/RareSpawn/Mission_Async_Maxitrillion': "Kill Maxitrillion",
'/Game/Missions/Side/RareSpawn/Mission_Async_PowerTroopers': "Kill the Power Troopers",
'/Game/Missions/Side/RareSpawn/Mission_Async_Rakkman': "Kill Rakkman",
'/Game/Missions/Side/RareSpawn/Mission_Async_RedJabber': "Kill Red Jabber",
'/Game/Missions/Side/RareSpawn/Mission_Async_RoadDog': "Kill Road Dog",
'/Game/Missions/Side/RareSpawn/Mission_Async_Tarantella': "Kill Tarantella",
'/Game/Missions/Side/RareSpawn/Mission_Async_TheUnstoppable': "Kill The Unstoppable",
'/Game/Missions/Side/RareSpawn/Mission_Async_ThreeDragons': "Kill the Grogans and Their Mother",
'/Game/Missions/Side/RareSpawn/Mission_Async_VicAndWarty': "Kill Wick and Warty",
'/Game/Missions/Side/Sanctuary3/Mission_Infestation': "The Kevin Konundrum",
'/Game/Missions/Side/Sanctuary3/Mission_JustAPrick': "Just A Prick",
'/Game/Missions/Side/Slaughters/CoVSlaughter/Mission_COVSlaughter1': "The Slaughter Shaft",
'/Game/Missions/Side/Slaughters/CreatureSlaughter/Mission_CreatureSlaughter': "Cistern of Slaughter",
'/Game/Missions/Side/Slaughters/TechSlaughter/Mission_TechSlaughter1': "Tech Slaughter",
'/Game/Missions/Side/Slaughters/TechSlaughter/Mission_TechSlaughterDiscovery': "Welcome to Slaughterstar 3000",
'/Game/Missions/Side/Zone_0/Prologue/Mission_BadReception': "Bad Reception",
'/Game/Missions/Side/Zone_0/Prologue/Mission_FineDining': "Skag Dog Days",
'/Game/Missions/Side/Zone_0/Prologue/Mission_Scoopers_Bully': "Dump on Dumptruck",
'/Game/Missions/Side/Zone_0/Prologue/Mission_UnderwearTink': "Under Taker",
'/Game/Missions/Side/Zone_0/Prologue/Mission_VendingMachineRepair': "Powerful Connections",
'/Game/Missions/Side/Zone_0/Sacrifice/Mission_GoldenCalves': "Golden Calves",
'/Game/Missions/Side/Zone_0/Sacrifice/Mission_HeadCase': "Head Case",
'/Game/Missions/Side/Zone_0/Sacrifice/Mission_PandorasNextTopMouthpiece': "Pandora's Next Top Mouthpiece",
'/Game/Missions/Side/Zone_1/Athenas/Mission_InvasionOfPrivacy': "Invasion of Privacy",
'/Game/Missions/Side/Zone_1/Athenas/Mission_MonkMission': "Holy Spirits",
'/Game/Missions/Side/Zone_1/AtlasHQ/Mission_RatchetItUp': "Ratch'd Up",
'/Game/Missions/Side/Zone_1/City/Mission_BitterPillToSwallow': "Healers and Dealers",
'/Game/Missions/Side/Zone_1/City/Mission_DynastyDiner': "Dynasty Diner",
'/Game/Missions/Side/Zone_1/City/Mission_PissingContest': "Maliwannabees",
'/Game/Missions/Side/Zone_1/City/Mission_RiseAndGrind': "Rise and Grind",
'/Game/Missions/Side/Zone_1/City/Mission_WizardOfNogs': "Technical NOGout",
'/Game/Missions/Side/Zone_1/OrbitalPlatform/OppositionResearch/Mission_OppResearch': "Opposition Research",
'/Game/Missions/Side/Zone_1/Towers/Mission_KillKillavolt': "Kill Killavolt",
'/Game/Missions/Side/Zone_1/Towers/Mission_LastKatagawa': "Proof of Wife",
'/Game/Missions/Side/Zone_1/Towers/Mission_Porta-Prison': "Porta Prison",
'/Game/Missions/Side/Zone_2/Mansion/Mission_AureliasSkeletons': "Sacked",
'/Game/Missions/Side/Zone_2/Mansion/Mission_WitchesBrew': "Witch's Brew",
'/Game/Missions/Side/Zone_2/MarshFields/Mission_RockOnPandora': "Raiders of the Lost Rock",
'/Game/Missions/Side/Zone_2/MarshFields/Mission_SuckerPunch': "Sell Out",
'/Game/Missions/Side/Zone_2/Prison/Mission_FreeHugs': "On the Blood Path",
'/Game/Missions/Side/Zone_2/Prison/Mission_MalevolentPractice': "Malevolent Practice",
'/Game/Missions/Side/Zone_2/Watership/Mission_RumbleJungle': "Rumble In The Jungle",
'/Game/Missions/Side/Zone_2/Wetlands/Mission_DriveAwayThePain': "Get Quick, Slick",
'/Game/Missions/Side/Zone_2/Wetlands/Mission_DudeBro': "Swamp Bro",
'/Game/Missions/Side/Zone_2/Wetlands/Mission_DynastyDash_Wetlands': "Dynasty Dash: Eden-6",
'/Game/Missions/Side/Zone_2/Wetlands/Mission_DynastyDash_Wetlands_Repeatable': "Dynasty Dash: Floodmoor Basin",
'/Game/Missions/Side/Zone_2/Wetlands/Mission_SpecialDelivery': "Capture the Frag",
'/Game/Missions/Side/Zone_2/Wetlands/Mission_TheHangover': "Irregular Customers",
'/Game/Missions/Side/Zone_2/Wetlands/Mission_TortureTruck': "Don't Truck with Eden-6",
'/Game/Missions/Side/Zone_3/Desert/Mission_BabyDancer': "Baby Dancer",
'/Game/Missions/Side/Zone_3/Desert/Mission_BirthdaySurprise': "Life of the Party",
'/Game/Missions/Side/Zone_3/Desert/Mission_BuffFilmBuff': "Buff Film Buff",
'/Game/Missions/Side/Zone_3/Desert/Mission_CaringForElderly': "The Feeble and the Furious",
'/Game/Missions/Side/Zone_3/Desert/Mission_ChangeOfHeart': "Sheega's All That",
'/Game/Missions/Side/Zone_3/Desert/Mission_DynastyDash_Desert': "Dynasty Dash: Pandora",
'/Game/Missions/Side/Zone_3/Desert/Mission_DynastyDash_Desert_Repeatable': "Dynasty Dash: Devil's Razor",
'/Game/Missions/Side/Zone_3/Desert/Mission_EchoNetNeutrality': "ECHOnet Neutrality",
'/Game/Missions/Side/Zone_3/Desert/Mission_ItsComplicated': "Boom Boom Boomtown",
'/Game/Missions/Side/Zone_3/Mine/Mission_BridgeInTheDark': "The Demon in the Dark",
'/Game/Missions/Side/Zone_3/Mine/Mission_GrowingPains': "Childhood's End",
'/Game/Missions/Side/Zone_3/Mine/Mission_WildlifeConservation': "Wildlife Conservation",
'/Game/Missions/Side/Zone_3/Motorcade/Mission_Gameshow': "Let's Get It Vaughn",
'/Game/Missions/Side/Zone_3/Motorcade/Mission_Homestead_Part1': "The Homestead",
'/Game/Missions/Side/Zone_3/Motorcade/Mission_Homestead_Part2': "The Homestead (Part 2)",
'/Game/Missions/Side/Zone_3/Motorcade/Mission_Homestead_Part3': "The Homestead (Part 3)",
'/Game/Missions/Side/Zone_3/Motorcade/Mission_Just_Desserts': "Just Desserts",
'/Game/Missions/Side/Zone_4/Desolate/Mission_BetterTimes': "Fire in the Sky",
'/Game/Missions/Side/Zone_4/Desolate/Mission_BoneDeep': "Bad Vibrations",
'/Game/Missions/Side/Zone_4/Desolate/Mission_Canonization': "Cannonization",
'/Game/Missions/Side/Zone_4/Desolate/Mission_DestroyerOfWorlds': "Transaction-Packed",
'/Game/Missions/Side/Zone_4/Desolate/Mission_Homeopathological': "Homeopathological",
'/Game/Missions/Side/Zone_4/Desolate/Mission_ItsAlive2': "It's Alive",
'/Game/PatchDLC/Alisma/Missions/Plot/ALI_EP01': "Enter the Psychoscape",
'/Game/PatchDLC/Alisma/Missions/Plot/ALI_EP02': "Siege of Castle Crimson",
'/Game/PatchDLC/Alisma/Missions/Plot/ALI_EP03': "What Love Remains",
'/Game/PatchDLC/Alisma/Missions/Plot/ALI_EP04': "Inhuman Trials",
'/Game/PatchDLC/Alisma/Missions/Plot/ALI_EP05': "Locus of Rage",
'/Game/PatchDLC/Alisma/Missions/Side/ALI_SM_AllShapesAndCalibers': "A Good Egg",
'/Game/PatchDLC/Alisma/Missions/Side/ALI_SM_BlastRequests': "Blast Requests",
'/Game/PatchDLC/Alisma/Missions/Side/ALI_SM_ChecksAndBalances': "Check, Please",
'/Game/PatchDLC/Alisma/Missions/Side/ALI_SM_ExposureTherapy': "Remodel Behavior",
'/Game/PatchDLC/Alisma/Missions/Side/ALI_SM_GoodbyeOldFriend': "Laid to Rust",
'/Game/PatchDLC/Alisma/Missions/Side/ALI_SM_HotNBothered': "Hot and Unbothered",
'/Game/PatchDLC/Alisma/Missions/Side/ALI_SM_InkBlots': "Don't Call it a Rorschach",
'/Game/PatchDLC/Alisma/Missions/Side/ALI_SM_ParadeHarpoon': "Krieg's on Parade",
'/Game/PatchDLC/Alisma/Missions/Side/ALI_SM_ShadesOfTruth': "It's an Allegory",
'/Game/PatchDLC/Alisma/Missions/Side/ALI_SM_SpineTingler': "Scratch, Don't Sniff",
'/Game/PatchDLC/Alisma/Missions/Side/ALI_SM_StrongBones': "Does a Body Good",
'/Game/PatchDLC/Alisma/Missions/Side/ALI_SM_ThatRingsABell': "That Rings a Something",
'/Game/PatchDLC/Alisma/Missions/Side/ALI_SM_WhenItRains': "Brainstorm",
'/Game/PatchDLC/BloodyHarvest/Missions/Side/Seasonal/Mission_Season_01_Intro': "Bloody Harvest: Descent into Heck",
'/Game/PatchDLC/BloodyHarvest/Missions/Side/Seasonal/Mission_Season_01_Repeatable': "Bloody Harvest: The Rebloodening",
'/Game/PatchDLC/CitizenScience/Missions/Mission_CitizenScience_Intro': "Borderlands Science!",
'/Game/PatchDLC/Dandelion/Missions/Plot/Mission_DLC1_Ep01_MeetTimothy': "The Handsome Jackpot",
'/Game/PatchDLC/Dandelion/Missions/Plot/Mission_DLC1_Ep02_MeetCrad': "Playing with Fire",
'/Game/PatchDLC/Dandelion/Missions/Plot/Mission_DLC1_Ep03_Impound': "Winners and Losers",
'/Game/PatchDLC/Dandelion/Missions/Plot/Mission_DLC1_Ep04_Trashtown': "One Man's Treasure",
'/Game/PatchDLC/Dandelion/Missions/Plot/Mission_DLC1_Ep05_ThePlan': "The Plan",
'/Game/PatchDLC/Dandelion/Missions/Plot/Mission_DLC1_Ep06_TheCore': "Jack's Wild",
'/Game/PatchDLC/Dandelion/Missions/Plot/Mission_DLC1_Ep07_TheHeist': "All Bets Off",
'/Game/PatchDLC/Dandelion/Missions/Side/Mission_DLC1_Side_AcidTrip': "Acid Trip",
'/Game/PatchDLC/Dandelion/Missions/Side/Mission_DLC1_Side_BrotherlyLove': "Sisterly Love",
'/Game/PatchDLC/Dandelion/Missions/Side/Mission_DLC1_Side_DoItForDigby_Part1': "Do it for Digby - Part 1",
'/Game/PatchDLC/Dandelion/Missions/Side/Mission_DLC1_Side_DoItForDigby_Part2': "Do it for Digby - Part 2",
'/Game/PatchDLC/Dandelion/Missions/Side/Mission_DLC1_Side_DoItForDigby_Part3': "Do it for Digby - Part 3",
'/Game/PatchDLC/Dandelion/Missions/Side/Mission_DLC1_Side_DoubleDown': "Double Down",
'/Game/PatchDLC/Dandelion/Missions/Side/Mission_DLC1_Side_GreatEscape': "The Great Escape",
'/Game/PatchDLC/Dandelion/Missions/Side/Mission_DLC1_Side_HeartOfGold': "Heart of Gold",
'/Game/PatchDLC/Dandelion/Missions/Side/Mission_DLC1_Side_RagingBot': "Raging Bot",
'/Game/PatchDLC/Dandelion/Missions/Side/Mission_DLC1_Side_RegainingOnesFeet': "Regaining One's Feet",
'/Game/PatchDLC/Dandelion/Missions/Side/Mission_DLC1_Side_TooMuchOfAGoodThing': "Too Much Of A Good Thing",
'/Game/PatchDLC/Event2/Missions/Side/MauriceSide/Mission_Maurice': "Claw and Order",
'/Game/PatchDLC/Event2/Missions/Side/Seasonal/Mission_Season_02_Intro': "Revenge of the Cartels: Ultraviolet Nights",
'/Game/PatchDLC/Event2/Missions/Side/Seasonal/Mission_Season_02_Repeatable': "Revenge of the Cartels II: The Revengening",
'/Game/PatchDLC/Geranium/Missions/Plot/Mission_Ep01_WestlandWelcome': "Blood From A Stone",
'/Game/PatchDLC/Geranium/Missions/Plot/Mission_Ep02_Bathhouse': "The Name of the Law",
'/Game/PatchDLC/Geranium/Missions/Plot/Mission_Ep03_ObsidianForest': "Off the Rails",
'/Game/PatchDLC/Geranium/Missions/Plot/Mission_Ep04_Facility': "Where It All Started",
'/Game/PatchDLC/Geranium/Missions/Plot/Mission_Ep05_Crater': "Riding to Ruin",
'/Game/PatchDLC/Geranium/Missions/Side/Mission_AnimalControl': "Lost and Found",
'/Game/PatchDLC/Geranium/Missions/Side/Mission_BloodAndBeans': "Of Blood and Beans",
'/Game/PatchDLC/Geranium/Missions/Side/Mission_DirtyDeeds': "Dirty Deeds",
'/Game/PatchDLC/Geranium/Missions/Side/Mission_Dueling': "The Quick and the Quickerer",
'/Game/PatchDLC/Geranium/Missions/Side/Mission_GhostStories': "The Meatman Prophecy",
'/Game/PatchDLC/Geranium/Missions/Side/Mission_LoveBarsNone': "The Dandy and Damsel",
'/Game/PatchDLC/Geranium/Missions/Side/Mission_MoneyBackGuarantee': "Money Back Guarantee",
'/Game/PatchDLC/Geranium/Missions/Side/Mission_RustlerBaby': "Devil Rustlers",
'/Game/PatchDLC/Geranium/Missions/Side/Mission_SaurdewValley': "Saurdew Valley",
'/Game/PatchDLC/Geranium/Missions/Side/Mission_SnakeOil': "Miracle Elixir Fixer",
'/Game/PatchDLC/Geranium/Missions/Side/Mission_TheLegendOfMcSmugger': "The Legend of McSmugger",
'/Game/PatchDLC/Hibiscus/Missions/Plot/EP01_DLC2': "The Party Out of Space",
'/Game/PatchDLC/Hibiscus/Missions/Plot/EP02_DLC2': "The Shadow Over Cursehaven",
'/Game/PatchDLC/Hibiscus/Missions/Plot/EP03_DLC2': "The Case of Wainwright Jakobs",
'/Game/PatchDLC/Hibiscus/Missions/Plot/EP04_DLC2': "The Horror in the Woods",
'/Game/PatchDLC/Hibiscus/Missions/Plot/EP05_DLC2': "On the Mountain of Mayhem",
'/Game/PatchDLC/Hibiscus/Missions/Plot/EP06_DLC2': "The Call of Gythian",
'/Game/PatchDLC/Hibiscus/Missions/Side/RareSpawn/Mission_Async_FrostbiteDragon': "Kill Shiverous the Unscathed",
'/Game/PatchDLC/Hibiscus/Missions/Side/RareSpawn/Mission_Async_MushroomGiant': "Kill Fungal Gorger",
'/Game/PatchDLC/Hibiscus/Missions/Side/RareSpawn/Mission_Async_Shocker': "Kill Voltborn",
'/Game/PatchDLC/Hibiscus/Missions/Side/RareSpawn/Mission_Async_ZealotPilfer': "Kill Amach",
'/Game/PatchDLC/Hibiscus/Missions/Side/SideMission_DLC2_Bounty_BusinessAsUsual': "The Proprietor: Rare Vintage",
'/Game/PatchDLC/Hibiscus/Missions/Side/SideMission_DLC2_Bounty_DebtCollector': "The Proprietor: Empty Bottles",
'/Game/PatchDLC/Hibiscus/Missions/Side/SideMission_DLC2_HappilyEverAfter': "Happily Ever After",
'/Game/PatchDLC/Hibiscus/Missions/Side/SideMission_DLC2_IntoTheDeep': "The Madness Beneath",
'/Game/PatchDLC/Hibiscus/Missions/Side/SideMission_DLC2_Necrocookmicon': "The Nibblenomicon",
'/Game/PatchDLC/Hibiscus/Missions/Side/SideMission_DLC2_PrivateEyePart1': "Cold Case: Buried Questions",
'/Game/PatchDLC/Hibiscus/Missions/Side/SideMission_DLC2_PrivateEyePart2': "Cold Case: Restless Memories",
'/Game/PatchDLC/Hibiscus/Missions/Side/SideMission_DLC2_PrivateEyePart3': "Cold Case: Forgotten Answers",
'/Game/PatchDLC/Hibiscus/Missions/Side/SideMission_DLC2_ReturnOfMaxSky': "The Great Escape (Part 2)",
'/Game/PatchDLC/Hibiscus/Missions/Side/SideMission_DLC2_SinisterSounds': "Sinister Sounds",
'/Game/PatchDLC/Hibiscus/Missions/Side/SideMission_DLC2_WeSlassPart1': "We Slass!",
'/Game/PatchDLC/Hibiscus/Missions/Side/SideMission_DLC2_WeSlassPart2': "We Slass! (Part 2)",
'/Game/PatchDLC/Hibiscus/Missions/Side/SideMission_DLC2_WeSlassPart3': "We Slass! (Part 3)",
'/Game/PatchDLC/Hibiscus/Missions/Side/SideMission_DLC2_WhereIBelong': "Call of the Deep",
'/Game/PatchDLC/Ixora/Missions/Side/Mission_GearUp': "Arms Race",
'/Game/PatchDLC/Ixora/Missions/Side/Mission_GearUp_Intro': "Arms Race: Introduction",
'/Game/PatchDLC/Ixora2/Missions/Side/Mission_Ixora_Main01': "Mysteriouslier: Murder on Eschaton Row",
'/Game/PatchDLC/Ixora2/Missions/Side/Mission_Ixora_Main02': "Mysteriouslier: The Vanishing of Hizzen Mays",
'/Game/PatchDLC/Ixora2/Missions/Side/Mission_Ixora_Main03': "Mysteriouslier: Ghosts of Karass Canyon",
'/Game/PatchDLC/Ixora2/Missions/Side/Mission_Ixora_Main04': "Mysteriouslier: Horror at Scryer's Crypt",
'/Game/PatchDLC/Ixora2/Missions/Side/Mission_Ixora_VarkidBoss': "You. Will. Die. (Over and Over.)",
'/Game/PatchDLC/Raid1/Missions/Mission_Raid1': "Takedown at the Maliwan Blacksite",
'/Game/PatchDLC/Raid1/Missions/Mission_Raid1Intro': "Discovery: Takedown at the Maliwan Blacksite",
'/Game/PatchDLC/Takedown2/Missions/Side/Mission_Takedown2': "Takedown at the Guardian Breach",
'/Game/PatchDLC/Takedown2/Missions/Side/Mission_Takedown2_Intro': "Discovery: Takedown at the Guardian Breach",
}
for k, v in list(mission_to_name.items()):
lower = k.lower()
last_bit = lower.split('/')[-1]
new_k = '{}.{}_c'.format(lower, last_bit)
mission_to_name[new_k] = v
# Plot missions (of the sort that we don't want to allow removing, since you'd
# probably be locked out of the plot missions). These were just copy+pasted
# from the mission_to_name structure above and pruned manually.
plot_missions = set()
for mission_name in [
'/Game/Missions/Plot/Mission_Ep01_ChildrenOfTheVault',
'/Game/Missions/Plot/Mission_Ep02_Sacrifice',
'/Game/Missions/Plot/Mission_Ep03_GetVaultMap',
'/Game/Missions/Plot/Mission_Ep04_EarnSpaceship',
'/Game/Missions/Plot/Mission_Ep05_OvercomeHQBlockade',
'/Game/Missions/Plot/Mission_Ep05_Sanctuary',
'/Game/Missions/Plot/Mission_Ep06_MeetMaya',
'/Game/Missions/Plot/Mission_Ep08_OrbitalPlatform',
'/Game/Missions/Plot/MIssion_Ep09_AtlasHQ',
'/Game/Missions/Plot/Mission_Ep10_CityVault',
'/Game/Missions/Plot/Mission_Ep11_PrisonBreak',
'/Game/Missions/Plot/Mission_Ep12_GrandTour',
'/Game/Missions/Plot/Mission_Ep13_JakobsRebellion',
'/Game/Missions/Plot/Mission_Ep13_Watership',
'/Game/Missions/Plot/Mission_Ep15_MarshFields',
'/Game/Missions/Plot/Mission_Ep16_DesertVault',
'/Game/Missions/Plot/Mission_Ep16_SiblingRivalry',
'/Game/Missions/Plot/Mission_Ep17_BigChase',
'/Game/Missions/Plot/Mission_Ep19_MinerDetails',
'/Game/Missions/Plot/Mission_Ep20_FirstVaultHunter',
'/Game/Missions/Plot/Mission_Ep21_Beachhead',
'/Game/Missions/Plot/Mission_Ep22_TheMachine',
'/Game/Missions/Plot/Mission_Ep23_TyreenFinalBoss',
'/Game/PatchDLC/Alisma/Missions/Plot/ALI_EP01',
'/Game/PatchDLC/Alisma/Missions/Plot/ALI_EP02',
'/Game/PatchDLC/Alisma/Missions/Plot/ALI_EP03',
'/Game/PatchDLC/Alisma/Missions/Plot/ALI_EP04',
'/Game/PatchDLC/Alisma/Missions/Plot/ALI_EP05',
'/Game/PatchDLC/Dandelion/Missions/Plot/Mission_DLC1_Ep01_MeetTimothy',
'/Game/PatchDLC/Dandelion/Missions/Plot/Mission_DLC1_Ep02_MeetCrad',
'/Game/PatchDLC/Dandelion/Missions/Plot/Mission_DLC1_Ep03_Impound',
'/Game/PatchDLC/Dandelion/Missions/Plot/Mission_DLC1_Ep04_Trashtown',
'/Game/PatchDLC/Dandelion/Missions/Plot/Mission_DLC1_Ep05_ThePlan',
'/Game/PatchDLC/Dandelion/Missions/Plot/Mission_DLC1_Ep06_TheCore',
'/Game/PatchDLC/Dandelion/Missions/Plot/Mission_DLC1_Ep07_TheHeist',
'/Game/PatchDLC/Geranium/Missions/Plot/Mission_Ep01_WestlandWelcome',
'/Game/PatchDLC/Geranium/Missions/Plot/Mission_Ep02_Bathhouse',
'/Game/PatchDLC/Geranium/Missions/Plot/Mission_Ep03_ObsidianForest',
'/Game/PatchDLC/Geranium/Missions/Plot/Mission_Ep04_Facility',
'/Game/PatchDLC/Geranium/Missions/Plot/Mission_Ep05_Crater',
'/Game/PatchDLC/Hibiscus/Missions/Plot/EP01_DLC2',
'/Game/PatchDLC/Hibiscus/Missions/Plot/EP02_DLC2',
'/Game/PatchDLC/Hibiscus/Missions/Plot/EP03_DLC2',
'/Game/PatchDLC/Hibiscus/Missions/Plot/EP04_DLC2',
'/Game/PatchDLC/Hibiscus/Missions/Plot/EP05_DLC2',
'/Game/PatchDLC/Hibiscus/Missions/Plot/EP06_DLC2',
]:
lower = mission_name.lower()
last_bit = lower.split('/')[-1]
plot_missions.add('{}.{}_c'.format(lower, last_bit))
# Map-to-eng
map_to_eng = {
'Anger_P': "Castle Crimson",
'Archive_P': "Dustbound Archives",
'AtlasHQ_P': "Atlas HQ",
'Bar_P': "Lodge",
'Beach_P': "Tazendeer Ruins",
'BloodyHarvest_P': "Heck Hole",
'COVSlaughter_P': "Slaughter Shaft",
'Cabin_P': "Enoch's Grove",
'Camp_P': "Negul Neshai",
'Cartels_P': "Villa Ultraviolet",
'CasinoIntro_P': "Grand Opening",
'Chase_P': "Sapphire's Run",
'CityBoss_P': "Forgotten Basilica",
'CityVault_P': "Neon Arterial",
'City_P': "Meridian Metroplex",
'Convoy_P': "Sandblast Scar",
'Core_P': "Jack's Secret",
'CraterBoss_P': "Crater's Edge",
'CreatureSlaughter_P': "Cistern of Slaughter",
'Crypt_P': "Pyre of Stars",
'DesertBoss_P': "Great Vault",
'Desert_P': "Devil's Razor",
'Desertvault_P': "Cathedral of the Twin Gods",
'Desolate_P': "Desolation's Edge",
'Eldorado_P': "Vaulthalla",
'Experiment_P': "Benediction of Pain",
'Facility_P': "Bloodsun Canyon",
'FinalBoss_P': "Destroyer's Rift",
'Forest_P': "Obsidian Forest",
'Frontier_P': "The Blastplains",
'FrostSite_P': "Stormblind Complex",
'GuardianTakedown_P': "Minos Prime / The Shattered Tribunal",
'Impound_P': "Impound Deluxe",
'Lake_P': "Skittermaw Basin",
'Lodge_P': "Ashfall Peaks",
'Mansion_P': "Jakobs Estate",
'MarshFields_P': "Ambermire",
'Mine_P': "Konrad's Hold",
'Monastery_P': "Athenas",
'MotorcadeFestival_P': "Carnivora",
'MotorcadeInterior_P': "Guts of Carnivora",
'Motorcade_P': "Splinterlands",
'NekroMystery_p': "Scryer's Crypt",
'Noir_P': "Eschaton Row",
'OrbitalPlatform_P': "Skywell-27",
'Outskirts_P': "Meridian Outskirts",
'PandoraMystery_p': "Karass Canyon",
'Prison_P': "Anvil",
'Prologue_P': "Droughts",
'ProvingGrounds_Trial1_P': "Gradient of Dawn (Survival)",
'ProvingGrounds_Trial4_P': "Skydrowned Pulpit (Fervor)",
'ProvingGrounds_Trial5_P': "Ghostlight Beacon (Cunning)",
'ProvingGrounds_Trial6_P': "Hall Obsidian (Supremacy)",
'ProvingGrounds_Trial7_P': "Precipice Anchor (Discipline)",
'ProvingGrounds_Trial8_P': "Wayward Tether (Instinct)",
'Raid_P': "Midnight's Cairn (Maliwan Takedown)",
'Recruitment_P': "Covenant Pass",
'Sacrifice_P': "Ascension Bluff",
'SacrificeBoss_p': "Darkthirst Dominion",
'Sanctuary3_P': "Sanctuary",
'Sanctum_P': "The Psychoscape",
'Strip_P': "Spendopticon",
'TechSlaughter_P': "Slaughterstar 3000",
'TowerLair_P': "VIP Tower",
'Towers_P': "Lectra City",
'Town_P': "Vestige",
'Trashtown_P': "Compactor",
'Venue_P': "Heart's Desire",
'Village_P': "Cursehaven",
'Watership_P': "Voracious Canopy",
'WetlandsBoss_P': "Floating Tomb",
'WetlandsVault_P': "Blackbarrel Cellars",
'Wetlands_P': "Floodmoor Basin",
'Woods_P': "Cankerwood",
}
# Autogenerated by gen_fts_mappings.py, in my bl3hotfixmodding project (in dataprocessing)
fts_to_map = {
'/game/gamedata/fasttravel/fts_atlashq.fts_atlashq': 'AtlasHQ_P',
'/game/gamedata/fasttravel/fts_atlashq_sendonly.fts_atlashq_sendonly': 'AtlasHQ_P',
'/game/gamedata/fasttravel/fts_beach.fts_beach': 'Beach_P',
'/game/gamedata/fasttravel/fts_beach_sendonly.fts_beach_sendonly': 'Beach_P',
'/game/gamedata/fasttravel/fts_city.fts_city': 'City_P',
'/game/gamedata/fasttravel/fts_cityboss.fts_cityboss': 'CityBoss_P',
'/game/gamedata/fasttravel/fts_cityboss_sendonly.fts_cityboss_sendonly': 'CityBoss_P',
'/game/gamedata/fasttravel/fts_cityvault.fts_cityvault': 'CityVault_P',
'/game/gamedata/fasttravel/fts_convoy.fts_convoy': 'Convoy_P',
'/game/gamedata/fasttravel/fts_covslaughter.fts_covslaughter': 'COVSlaughter_P',
'/game/gamedata/fasttravel/fts_creatureslaughter.fts_creatureslaughter': 'CreatureSlaughter_P',
'/game/gamedata/fasttravel/fts_crypt.fts_crypt': 'Crypt_P',
'/game/gamedata/fasttravel/fts_desert1.fts_desert1': 'Desert_P',
'/game/gamedata/fasttravel/fts_desert2.fts_desert2': 'Desert_P',
'/game/gamedata/fasttravel/fts_desertboss.fts_desertboss': 'DesertBoss_P',
'/game/gamedata/fasttravel/fts_desertboss_sendonly.fts_desertboss_sendonly': 'DesertBoss_P',
'/game/gamedata/fasttravel/fts_desertvault.fts_desertvault': 'Desertvault_P',
'/game/gamedata/fasttravel/fts_desolate2.fts_desolate2': 'Desolate_P',
'/game/gamedata/fasttravel/fts_desolatedroppod.fts_desolatedroppod': 'Desolate_P',
'/game/gamedata/fasttravel/fts_finalboss.fts_finalboss': 'FinalBoss_P',
'/game/gamedata/fasttravel/fts_finalboss_sendonly.fts_finalboss_sendonly': 'FinalBoss_P',
'/game/gamedata/fasttravel/fts_finalbossportal.fts_finalbossportal': 'FinalBoss_P',
'/game/gamedata/fasttravel/fts_grotto.fts_grotto': 'Grotto_P',
'/game/gamedata/fasttravel/fts_mansion.fts_mansion': 'Mansion_P',
'/game/gamedata/fasttravel/fts_marshfields.fts_marshfields': 'MarshFields_P',
'/game/gamedata/fasttravel/fts_marshfields_sendonly.fts_marshfields_sendonly': 'MarshFields_P',
'/game/gamedata/fasttravel/fts_marshfieldsship.fts_marshfieldsship': 'MarshFields_P',
'/game/gamedata/fasttravel/fts_mine.fts_mine': 'Mine_P',
'/game/gamedata/fasttravel/fts_monastery.fts_monastery': 'Monastery_P',
'/game/gamedata/fasttravel/fts_monastery_sendonly.fts_monastery_sendonly': 'Monastery_P',
'/game/gamedata/fasttravel/fts_monasterydroppod.fts_monasterydroppod': 'Monastery_P',
'/game/gamedata/fasttravel/fts_motorcade.fts_motorcade': 'Motorcade_P',
'/game/gamedata/fasttravel/fts_motorcade2.fts_motorcade2': 'Motorcade_P',
'/game/gamedata/fasttravel/fts_motorcadefestival.fts_motorcadefestival': 'MotorcadeFestival_P',
'/game/gamedata/fasttravel/fts_motorcadeinterior.fts_motorcadeinterior': 'MotorcadeInterior_P',
'/game/gamedata/fasttravel/fts_motorcadeinterior_sendonly.fts_motorcadeinterior_sendonly': 'MotorcadeInterior_P',
'/game/gamedata/fasttravel/fts_orbitalplatform.fts_orbitalplatform': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/fts_orbitalplatform_sendonly.fts_orbitalplatform_sendonly': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/fts_orbitalshuttle.fts_orbitalshuttle': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/fts_outskirts.fts_outskirts': 'Outskirts_P',
'/game/gamedata/fasttravel/fts_outskirtsdroppod.fts_outskirtsdroppod': 'Outskirts_P',
'/game/gamedata/fasttravel/fts_playableintro_sendonly.fts_playableintro_sendonly': 'PlayableIntro_P',
'/game/gamedata/fasttravel/fts_prison.fts_prison': 'Prison_P',
'/game/gamedata/fasttravel/fts_prison_sendonly.fts_prison_sendonly': 'Prison_P',
'/game/gamedata/fasttravel/fts_prologue.fts_prologue': 'Prologue_P',
'/game/gamedata/fasttravel/fts_prologue2.fts_prologue2': 'Prologue_P',
'/game/gamedata/fasttravel/fts_provinggrounds00.fts_provinggrounds00': 'ProvingGrounds_Trial0_P',
'/game/gamedata/fasttravel/fts_provinggrounds01.fts_provinggrounds01': 'ProvingGrounds_Trial1_P',
'/game/gamedata/fasttravel/fts_provinggrounds01_droppod.fts_provinggrounds01_droppod': 'ProvingGrounds_Trial1_P',
'/game/gamedata/fasttravel/fts_provinggrounds01_oneway.fts_provinggrounds01_oneway': 'ProvingGrounds_Trial1_P',
'/game/gamedata/fasttravel/fts_provinggrounds02.fts_provinggrounds02': 'ProvingGrounds_Trial2_P',
'/game/gamedata/fasttravel/fts_provinggrounds03.fts_provinggrounds03': 'ProvingGrounds_Trial3_P',
'/game/gamedata/fasttravel/fts_provinggrounds04.fts_provinggrounds04': 'ProvingGrounds_Trial4_P',
'/game/gamedata/fasttravel/fts_provinggrounds04_droppod.fts_provinggrounds04_droppod': 'ProvingGrounds_Trial4_P',
'/game/gamedata/fasttravel/fts_provinggrounds04_oneway.fts_provinggrounds04_oneway': 'ProvingGrounds_Trial4_P',
'/game/gamedata/fasttravel/fts_provinggrounds05.fts_provinggrounds05': 'ProvingGrounds_Trial5_P',
'/game/gamedata/fasttravel/fts_provinggrounds05_droppod.fts_provinggrounds05_droppod': 'ProvingGrounds_Trial5_P',
'/game/gamedata/fasttravel/fts_provinggrounds05_oneway.fts_provinggrounds05_oneway': 'ProvingGrounds_Trial5_P',
'/game/gamedata/fasttravel/fts_provinggrounds06.fts_provinggrounds06': 'ProvingGrounds_Trial6_P',
'/game/gamedata/fasttravel/fts_provinggrounds06_droppod.fts_provinggrounds06_droppod': 'ProvingGrounds_Trial6_P',
'/game/gamedata/fasttravel/fts_provinggrounds06_oneway.fts_provinggrounds06_oneway': 'ProvingGrounds_Trial6_P',
'/game/gamedata/fasttravel/fts_provinggrounds07.fts_provinggrounds07': 'ProvingGrounds_Trial7_P',
'/game/gamedata/fasttravel/fts_provinggrounds07_droppod.fts_provinggrounds07_droppod': 'ProvingGrounds_Trial7_P',
'/game/gamedata/fasttravel/fts_provinggrounds07_oneway.fts_provinggrounds07_oneway': 'ProvingGrounds_Trial7_P',
'/game/gamedata/fasttravel/fts_provinggrounds08.fts_provinggrounds08': 'ProvingGrounds_Trial8_P',
'/game/gamedata/fasttravel/fts_provinggrounds08_droppod.fts_provinggrounds08_droppod': 'ProvingGrounds_Trial8_P',
'/game/gamedata/fasttravel/fts_provinggrounds08_oneway.fts_provinggrounds08_oneway': 'ProvingGrounds_Trial8_P',
'/game/gamedata/fasttravel/fts_raid.fts_raid': 'Raid_P',
'/game/gamedata/fasttravel/fts_recruitment.fts_recruitment': 'Recruitment_P',
'/game/gamedata/fasttravel/fts_sacrifice.fts_sacrifice': 'Sacrifice_P',
'/game/gamedata/fasttravel/fts_sanctuary.fts_sanctuary': 'Sanctuary3_P',
'/game/gamedata/fasttravel/fts_sanctuarybridge.fts_sanctuarybridge': 'Sanctuary3_P',
'/game/gamedata/fasttravel/fts_techslaughter.fts_techslaughter': 'TechSlaughter_P',
'/game/gamedata/fasttravel/fts_techslaughterdroppod.fts_techslaughterdroppod': 'TechSlaughter_P',
'/game/gamedata/fasttravel/fts_towers.fts_towers': 'Towers_P',
'/game/gamedata/fasttravel/fts_watership.fts_watership': 'Watership_P',
'/game/gamedata/fasttravel/fts_watership_sendonly.fts_watership_sendonly': 'Watership_P',
'/game/gamedata/fasttravel/fts_wetlands1.fts_wetlands1': 'Wetlands_P',
'/game/gamedata/fasttravel/fts_wetlands2.fts_wetlands2': 'Wetlands_P',
'/game/gamedata/fasttravel/fts_wetlandsboss.fts_wetlandsboss': 'WetlandsBoss_P',
'/game/gamedata/fasttravel/fts_wetlandsboss_sendonly.fts_wetlandsboss_sendonly': 'WetlandsBoss_P',
'/game/gamedata/fasttravel/fts_wetlandsdroppod.fts_wetlandsdroppod': 'Wetlands_P',
'/game/gamedata/fasttravel/fts_wetlandsvault.fts_wetlandsvault': 'WetlandsVault_P',
'/game/gamedata/fasttravel/fts_zonemaptest.fts_zonemaptest': 'ZoneMap_Test_P',
'/game/gamedata/fasttravel/fts_zonemaptest2.fts_zonemaptest2': 'ZoneMap_Test_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_atlashq_city.lts_atlashq_city': 'AtlasHQ_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_atlashqside_city.lts_atlashqside_city': 'AtlasHQ_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_beach_desolate.lts_beach_desolate': 'Beach_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_beach_vaultinterior.lts_beach_vaultinterior': 'Beach_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_city_atlashq.lts_city_atlashq': 'City_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_city_atlashqside.lts_city_atlashqside': 'City_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_city_cityvault.lts_city_cityvault': 'City_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_city_creatureslaughter.lts_city_creatureslaughter': 'City_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_city_orbitalplatform.lts_city_orbitalplatform': 'City_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_city_outskirts1.lts_city_outskirts1': 'City_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_city_outskirts2.lts_city_outskirts2': 'City_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_city_sanctuary3.lts_city_sanctuary3': 'City_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_city_towers.lts_city_towers': 'City_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_cityboss_cityvault.lts_cityboss_cityvault': 'CityBoss_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_cityboss_vaultinterior.lts_cityboss_vaultinterior': 'CityBoss_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_cityvault_city.lts_cityvault_city': 'CityVault_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_cityvault_cityboss.lts_cityvault_cityboss': 'CityVault_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_convoy_desert.lts_convoy_desert': 'Convoy_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_convoy_mine.lts_convoy_mine': 'Convoy_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_covslaughter_mine.lts_covslaughter_mine': 'COVSlaughter_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_creatureslaughter_city.lts_creatureslaughter_city': 'CreatureSlaughter_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_creatureslaughter_sanctuary3.lts_creatureslaughter_sanctuary3': 'CreatureSlaughter_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_crypt_desolate.lts_crypt_desolate': 'Crypt_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_crypt_finalboss.lts_crypt_finalboss': 'Crypt_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_desert2_mine2.lts_desert2_mine2': 'Desert_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_desert_convoy.lts_desert_convoy': 'Desert_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_desert_desertvault.lts_desert_desertvault': 'Desert_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_desert_grotto.lts_desert_grotto': 'Desert_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_desert_mine.lts_desert_mine': 'Desert_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_desert_motorcade.lts_desert_motorcade': 'Desert_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_desert_prologue.lts_desert_prologue': 'Desert_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_desertboss_desertvault.lts_desertboss_desertvault': 'DesertBoss_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_desertboss_vaultinterior.lts_desertboss_vaultinterior': 'DesertBoss_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_desertvault_desert.lts_desertvault_desert': 'Desertvault_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_desertvault_desertboss.lts_desertvault_desertboss': 'Desertvault_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_desolate_beach.lts_desolate_beach': 'Desolate_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_desolate_crypt.lts_desolate_crypt': 'Desolate_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_desolate_sanctuary3.lts_desolate_sanctuary3': 'Desolate_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_desolate_techslaughter.lts_desolate_techslaughter': 'Desolate_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_finalboss_crypt.lts_finalboss_crypt': 'FinalBoss_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_finalboss_prologue.lts_finalboss_prologue': 'FinalBoss_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_finalboss_vaultinterior.lts_finalboss_vaultinterior': 'FinalBoss_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_grotto_desert.lts_grotto_desert': 'Grotto_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_grotto_sanctuary3.lts_grotto_sanctuary3': 'Grotto_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_mansion_wetlands.lts_mansion_wetlands': 'Mansion_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_marshfields_wetlands.lts_marshfields_wetlands': 'MarshFields_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_mine2_desert2.lts_mine2_desert2': 'Mine_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_mine_convoy.lts_mine_convoy': 'Mine_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_mine_covslaughter.lts_mine_covslaughter': 'Mine_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_mine_desert.lts_mine_desert': 'Mine_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_monastery_sanctuary3.lts_monastery_sanctuary3': 'Monastery_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_motorcade_desert.lts_motorcade_desert': 'Motorcade_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_motorcade_motorcadefestival.lts_motorcade_motorcadefestival': 'Motorcade_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_motorcadefestival_motorcadeinterior.lts_motorcadefestival_motorcadeinterior': 'MotorcadeFestival_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_motorcadefestival_motorcademain.lts_motorcadefestival_motorcademain': 'MotorcadeFestival_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_motorcadeinterior_motorcadefestival.lts_motorcadeinterior_motorcadefestival': 'MotorcadeInterior_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_orbitalplatform_city.lts_orbitalplatform_city': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_outskirts_city1.lts_outskirts_city1': 'Outskirts_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_outskirts_city2.lts_outskirts_city2': 'Outskirts_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_prison_wetlands.lts_prison_wetlands': 'Prison_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_prologue_desert.lts_prologue_desert': 'Prologue_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_prologue_finalboss.lts_prologue_finalboss': 'Prologue_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_prologue_recruitment.lts_prologue_recruitment': 'Prologue_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_prologue_sacrifice.lts_prologue_sacrifice': 'Prologue_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_prologue_sanctuary3.lts_prologue_sanctuary3': 'Prologue_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_provingground1_sanctuary3.lts_provingground1_sanctuary3': 'ProvingGrounds_Trial1_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_provingground2_sanctuary3.lts_provingground2_sanctuary3': 'ProvingGrounds_Trial2_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_provingground4_sanctuary3.lts_provingground4_sanctuary3': 'ProvingGrounds_Trial4_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_provingground5_sanctuary3.lts_provingground5_sanctuary3': 'ProvingGrounds_Trial5_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_provingground6_sanctuary3.lts_provingground6_sanctuary3': 'ProvingGrounds_Trial6_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_provingground7_sanctuary3.lts_provingground7_sanctuary3': 'ProvingGrounds_Trial7_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_provingground8_sanctuary3.lts_provingground8_sanctuary3': 'ProvingGrounds_Trial8_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_recruitment_prologue.lts_recruitment_prologue': 'Recruitment_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_sacrifice_prologue.lts_sacrifice_prologue': 'Sacrifice_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_sactuary3_provingground1.lts_sactuary3_provingground1': 'Sanctuary3_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_sanctuary3_creatureslaughter.lts_sanctuary3_creatureslaughter': 'Sanctuary3_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_sanctuary3_desolate.lts_sanctuary3_desolate': 'Sanctuary3_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_sanctuary3_grotto.lts_sanctuary3_grotto': 'Sanctuary3_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_sanctuary3_monastery.lts_sanctuary3_monastery': 'Sanctuary3_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_sanctuary3_outskirts.lts_sanctuary3_outskirts': 'Sanctuary3_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_sanctuary3_prologue.lts_sanctuary3_prologue': 'Sanctuary3_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_sanctuary3_provingground2.lts_sanctuary3_provingground2': 'Monastery_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_sanctuary3_provingground4.lts_sanctuary3_provingground4': 'Sanctuary3_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_sanctuary3_provingground5.lts_sanctuary3_provingground5': 'Sanctuary3_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_sanctuary3_provingground6.lts_sanctuary3_provingground6': 'Sanctuary3_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_sanctuary3_provingground7.lts_sanctuary3_provingground7': 'Sanctuary3_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_sanctuary3_provingground8.lts_sanctuary3_provingground8': 'Sanctuary3_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_sanctuary3_techslaughter.lts_sanctuary3_techslaughter': 'Sanctuary3_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_sanctuary3_wetlands.lts_sanctuary3_wetlands': 'Sanctuary3_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_techslaughter_desolate.lts_techslaughter_desolate': 'TechSlaughter_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_techslaughter_sanctuary3.lts_techslaughter_sanctuary3': 'TechSlaughter_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_towers_city.lts_towers_city': 'Towers_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_vaultinterior_beach.lts_vaultinterior_beach': 'Beach_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_vaultinterior_cityboss.lts_vaultinterior_cityboss': 'CityBoss_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_vaultinterior_desertboss.lts_vaultinterior_desertboss': 'DesertBoss_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_vaultinterior_finalboss.lts_vaultinterior_finalboss': 'FinalBoss_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_vaultinterior_wetlandsboss.lts_vaultinterior_wetlandsboss': 'WetlandsBoss_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_watership_wetlands.lts_watership_wetlands': 'Watership_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_wetlands_mansion.lts_wetlands_mansion': 'Wetlands_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_wetlands_marshfields.lts_wetlands_marshfields': 'Wetlands_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_wetlands_prison.lts_wetlands_prison': 'Wetlands_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_wetlands_sanctuary3.lts_wetlands_sanctuary3': 'Wetlands_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_wetlands_watership.lts_wetlands_watership': 'Wetlands_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_wetlands_wetlandsvault.lts_wetlands_wetlandsvault': 'Wetlands_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_wetlandsboss_vaultinterior.lts_wetlandsboss_vaultinterior': 'WetlandsBoss_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_wetlandsboss_wetlandsvault.lts_wetlandsboss_wetlandsvault': 'WetlandsBoss_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_wetlandsvault_wetlands.lts_wetlandsvault_wetlands': 'WetlandsVault_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_wetlandsvault_wetlandsboss.lts_wetlandsvault_wetlandsboss': 'WetlandsVault_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_zonemaptest1_zonemaptest2.lts_zonemaptest1_zonemaptest2': 'ZoneMap_Test_P',
'/game/gamedata/fasttravel/leveltravelstations/lts_zonemaptest2_zonemaptest1.lts_zonemaptest2_zonemaptest1': 'ZoneMap_Test_P',
'/game/gamedata/fasttravel/resurrecttravelstations/atlashq/rts_atlashq_controlroom01.rts_atlashq_controlroom01': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/atlashq/rts_atlashq_controlroom02.rts_atlashq_controlroom02': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/atlashq/rts_atlashq_lounge.rts_atlashq_lounge': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/atlashq/rts_atlashq_maintenance.rts_atlashq_maintenance': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/atlashq/rts_atlashq_office.rts_atlashq_office': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/atlashq/rts_atlashq_courtyard_dynamic_checkpoint_controlroomone.rts_atlashq_courtyard_dynamic_checkpoint_controlroomone': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/atlashq/rts_atlashq_courtyard_dynamic_checkpoint_controlroomtwo.rts_atlashq_courtyard_dynamic_checkpoint_controlroomtwo': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/atlashq/rts_atlashq_courtyard_dynamic_checkpoint_lounge.rts_atlashq_courtyard_dynamic_checkpoint_lounge': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/atlashq/rts_atlashq_courtyard_dynamic_checkpoint_maintenance.rts_atlashq_courtyard_dynamic_checkpoint_maintenance': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/atlashq/rts_atlashq_courtyard_dynamic_checkpoint_office.rts_atlashq_courtyard_dynamic_checkpoint_office': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/atlashq/rts_atlashq_labs_2.rts_atlashq_labs_2': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/atlashq/rts_atlashq_p_2.rts_atlashq_p_2': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/atlashq/rts_autogen_checkpoint_controlroomone.rts_autogen_checkpoint_controlroomone': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/atlashq/rts_autogen_checkpoint_controlroomtwo.rts_autogen_checkpoint_controlroomtwo': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/atlashq/rts_autogen_checkpoint_lounge.rts_autogen_checkpoint_lounge': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/atlashq/rts_autogen_checkpoint_maintenance.rts_autogen_checkpoint_maintenance': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/atlashq/rts_autogen_checkpoint_office.rts_autogen_checkpoint_office': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/atlashq/rts_autogen_resurrecttravelstationobject_2.rts_autogen_resurrecttravelstationobject_2': 'AtlasHQ_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/beach/rts_autogen_resurrecttravelstationobject_159.rts_autogen_resurrecttravelstationobject_159': 'Beach_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/beach/rts_autogen_resurrecttravelstationobject_2.rts_autogen_resurrecttravelstationobject_2': 'Beach_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/beach/rts_autogen_resurrecttravelstationobject_3.rts_autogen_resurrecttravelstationobject_3': 'Beach_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/beach/rts_autogen_resurrecttravelstationobject_5.rts_autogen_resurrecttravelstationobject_5': 'Beach_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/beach/rts_autogen_resurrecttravelstationobject_6.rts_autogen_resurrecttravelstationobject_6': 'Beach_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/beach/rts_autogen_resurrecttravelstationobject_7.rts_autogen_resurrecttravelstationobject_7': 'Beach_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/beach/rts_beach_p_2.rts_beach_p_2': 'Beach_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/beach/rts_beach_p_3.rts_beach_p_3': 'Beach_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/beach/rts_beach_p_5.rts_beach_p_5': 'Beach_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/beach/rts_beach_p_6.rts_beach_p_6': 'Beach_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/beach/rts_beach_p_7.rts_beach_p_7': 'Beach_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/beach/rts_beach_plot_m_159.rts_beach_plot_m_159': 'Beach_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_autogen_resurrecttravelstationobject_0.rts_autogen_resurrecttravelstationobject_0': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_autogen_resurrecttravelstationobject_1.rts_autogen_resurrecttravelstationobject_1': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_autogen_resurrecttravelstationobject_2.rts_autogen_resurrecttravelstationobject_2': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_autogen_resurrecttravelstationobject_34437.rts_autogen_resurrecttravelstationobject_34437': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_autogen_resurrecttravelstationobject_36177.rts_autogen_resurrecttravelstationobject_36177': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_autogen_resurrecttravelstationobject_38715.rts_autogen_resurrecttravelstationobject_38715': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_autogen_resurrecttravelstationobject_44109.rts_autogen_resurrecttravelstationobject_44109': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_autogen_resurrecttravelstationobject_49115.rts_autogen_resurrecttravelstationobject_49115': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_city_boss_gigamind_38715.rts_city_boss_gigamind_38715': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_city_dynamic_0.rts_city_dynamic_0': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_city_dynamic_1.rts_city_dynamic_1': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_city_dynamic_2.rts_city_dynamic_2': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_city_dynamic_34437.rts_city_dynamic_34437': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_city_dynamic_36177.rts_city_dynamic_36177': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_city_dynamic_38715.rts_city_dynamic_38715': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_city_dynamic_44109.rts_city_dynamic_44109': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_city_dynamic_49115.rts_city_dynamic_49115': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/city/rts_city_hub_49115.rts_city_hub_49115': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/cityvault/rts_autogen_resurrecttravelstationobject.rts_autogen_resurrecttravelstationobject': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/cityvault/rts_autogen_resurrecttravelstationobject_14.rts_autogen_resurrecttravelstationobject_14': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/cityvault/rts_autogen_resurrecttravelstationobject_28.rts_autogen_resurrecttravelstationobject_28': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/cityvault/rts_autogen_resurrecttravelstationobject_afterdriving.rts_autogen_resurrecttravelstationobject_afterdriving': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/cityvault/rts_autogen_resurrecttravelstationobject_chkpt.rts_autogen_resurrecttravelstationobject_chkpt': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/cityvault/rts_autogen_resurrecttravelstationobject_chkpt_0.rts_autogen_resurrecttravelstationobject_chkpt_0': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/cityvault/rts_autogen_resurrecttravelstationobject_chkpt_1.rts_autogen_resurrecttravelstationobject_chkpt_1': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/cityvault/rts_autogen_resurrecttravelstationobject_chkpt_2.rts_autogen_resurrecttravelstationobject_chkpt_2': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/cityvault/rts_cityvault_m_laststop_0.rts_cityvault_m_laststop_0': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/cityvault/rts_cityvault_m_laststop_28.rts_cityvault_m_laststop_28': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/cityvault/rts_cityvault_m_laststop_afterdriving.rts_cityvault_m_laststop_afterdriving': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/cityvault/rts_cityvault_m_laststop_chkpt.rts_cityvault_m_laststop_chkpt': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/cityvault/rts_cityvault_m_laststop_chkpt_0.rts_cityvault_m_laststop_chkpt_0': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/cityvault/rts_cityvault_m_laststop_chkpt_1.rts_cityvault_m_laststop_chkpt_1': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/cityvault/rts_cityvault_m_laststop_chkpt_2.rts_cityvault_m_laststop_chkpt_2': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/cityvault/rts_cityvault_m_laststop_resurrecttravelstationobject.rts_cityvault_m_laststop_resurrecttravelstationobject': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/convoy/rts_autogen_resurrecttravelstation.rts_autogen_resurrecttravelstation': 'Convoy_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/convoy/rts_autogen_resurrecttravelstation_31032.rts_autogen_resurrecttravelstation_31032': 'Convoy_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/convoy/rts_autogen_resurrecttravelstation_36.rts_autogen_resurrecttravelstation_36': 'Convoy_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/convoy/rts_autogen_resurrecttravelstation_37.rts_autogen_resurrecttravelstation_37': 'Convoy_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/convoy/rts_autogen_resurrecttravelstation_54.rts_autogen_resurrecttravelstation_54': 'Convoy_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/convoy/rts_convoy_p_resurrecttravelstation.rts_convoy_p_resurrecttravelstation': 'Convoy_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/convoy/rts_convoy_p_resurrecttravelstation_31032.rts_convoy_p_resurrecttravelstation_31032': 'Convoy_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/convoy/rts_convoy_p_resurrecttravelstation_36.rts_convoy_p_resurrecttravelstation_36': 'Convoy_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/convoy/rts_convoy_p_resurrecttravelstation_37.rts_convoy_p_resurrecttravelstation_37': 'Convoy_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/convoy/rts_convoy_p_resurrecttravelstation_54.rts_convoy_p_resurrecttravelstation_54': 'Convoy_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/creatureslaughter/rts_autogen_resurrecttravelstationobject_2.rts_autogen_resurrecttravelstationobject_2': 'CreatureSlaughter_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/crypt/rts_autogen_resurrecttravelstationobject.rts_autogen_resurrecttravelstationobject': 'Crypt_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/crypt/rts_autogen_resurrecttravelstationobject3.rts_autogen_resurrecttravelstationobject3': 'Crypt_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/crypt/rts_autogen_resurrecttravelstationobject4.rts_autogen_resurrecttravelstationobject4': 'Crypt_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/crypt/rts_crypt_p_0.rts_crypt_p_0': 'Crypt_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/crypt/rts_crypt_p_resurrecttravelstationobject.rts_crypt_p_resurrecttravelstationobject': 'Crypt_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/crypt/rts_crypt_p_resurrecttravelstationobject3.rts_crypt_p_resurrecttravelstationobject3': 'Crypt_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/crypt/rts_crypt_p_resurrecttravelstationobject4.rts_crypt_p_resurrecttravelstationobject4': 'Crypt_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desert/rts_autogen_resurrecttravelstationobject11.rts_autogen_resurrecttravelstationobject11': 'Desert_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desert/rts_autogen_resurrecttravelstationobject_84.rts_autogen_resurrecttravelstationobject_84': 'Desert_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desert/rts_autogen_resurrecttravelstationobject_85.rts_autogen_resurrecttravelstationobject_85': 'Desert_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desert/rts_autogen_resurrecttravelstationobject_86.rts_autogen_resurrecttravelstationobject_86': 'Desert_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desert/rts_autogen_resurrecttravelstationobject_87.rts_autogen_resurrecttravelstationobject_87': 'Desert_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desert/rts_autogen_resurrecttravelstationobject_89.rts_autogen_resurrecttravelstationobject_89': 'Desert_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desert/rts_desert_p_84.rts_desert_p_84': 'Desert_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desert/rts_desert_p_85.rts_desert_p_85': 'Desert_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desert/rts_desert_p_86.rts_desert_p_86': 'Desert_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desert/rts_desert_p_87.rts_desert_p_87': 'Desert_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desert/rts_desert_p_89.rts_desert_p_89': 'Desert_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desert/rts_desert_poi_babydancer_84.rts_desert_poi_babydancer_84': 'Desert_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desert/rts_desert_poi_echonet_resurrecttravelstationobject11.rts_desert_poi_echonet_resurrecttravelstationobject11': 'Desert_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desertvault/rts_autogen_resurrecttravelstationobject_0.rts_autogen_resurrecttravelstationobject_0': 'Desertvault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desertvault/rts_autogen_resurrecttravelstationobject_2.rts_autogen_resurrecttravelstationobject_2': 'Desertvault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_autogen_resurrecttravelstationobject_0.rts_autogen_resurrecttravelstationobject_0': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_autogen_resurrecttravelstationobject_13.rts_autogen_resurrecttravelstationobject_13': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_autogen_resurrecttravelstationobject_14.rts_autogen_resurrecttravelstationobject_14': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_autogen_resurrecttravelstationobject_2.rts_autogen_resurrecttravelstationobject_2': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_autogen_resurrecttravelstationobject_3.rts_autogen_resurrecttravelstationobject_3': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_autogen_resurrecttravelstationobject_4.rts_autogen_resurrecttravelstationobject_4': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_autogen_resurrecttravelstationobject_5.rts_autogen_resurrecttravelstationobject_5': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_autogen_resurrecttravelstationobject_6.rts_autogen_resurrecttravelstationobject_6': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_autogen_resurrecttravelstationobject_7.rts_autogen_resurrecttravelstationobject_7': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_autogen_resurrecttravelstationobject_8.rts_autogen_resurrecttravelstationobject_8': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_autogen_resurrecttravelstationobject_9.rts_autogen_resurrecttravelstationobject_9': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_desolate_gameplay_asylum.rts_desolate_gameplay_asylum': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_desolate_gameplay_beforerepaircamp.rts_desolate_gameplay_beforerepaircamp': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_desolate_gameplay_beforetrauntarena.rts_desolate_gameplay_beforetrauntarena': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_desolate_gameplay_eastmarsh.rts_desolate_gameplay_eastmarsh': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_desolate_gameplay_finaleentrance.rts_desolate_gameplay_finaleentrance': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_desolate_gameplay_maliwancampentrance.rts_desolate_gameplay_maliwancampentrance': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_desolate_gameplay_maliwancampexit.rts_desolate_gameplay_maliwancampexit': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_desolate_gameplay_northswampentrance.rts_desolate_gameplay_northswampentrance': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_desolate_gameplay_northtemplebelow.rts_desolate_gameplay_northtemplebelow': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_desolate_gameplay_northtempleentrance.rts_desolate_gameplay_northtempleentrance': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/desolate/rts_desolate_gameplay_typhoncampoutside.rts_desolate_gameplay_typhoncampoutside': 'Desolate_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/finalboss/rts_autogen_resurrecttravelstationobject_5082.rts_autogen_resurrecttravelstationobject_5082': 'FinalBoss_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mansion/rts_autogen_resurrecttravelstationobject.rts_autogen_resurrecttravelstationobject': 'Mansion_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mansion/rts_autogen_resurrecttravelstationobject_0.rts_autogen_resurrecttravelstationobject_0': 'Mansion_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mansion/rts_autogen_resurrecttravelstationobject_1404.rts_autogen_resurrecttravelstationobject_1404': 'Mansion_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mansion/rts_autogen_resurrecttravelstationobject_18.rts_autogen_resurrecttravelstationobject_18': 'Mansion_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mansion/rts_autogen_resurrecttravelstationobject_48.rts_autogen_resurrecttravelstationobject_48': 'Mansion_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mansion/rts_mansion_dynamic_48.rts_mansion_dynamic_48': 'Mansion_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mansion/rts_mansion_exterior_0.rts_mansion_exterior_0': 'Mansion_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mansion/rts_mansion_exterior_1.rts_mansion_exterior_1': 'Mansion_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mansion/rts_mansion_exterior_1404.rts_mansion_exterior_1404': 'Mansion_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mansion/rts_mansion_exterior_18.rts_mansion_exterior_18': 'Mansion_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mansion/rts_mansion_exterior_48.rts_mansion_exterior_48': 'Mansion_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mansion/rts_mansion_theater_resurrecttravelstationobject.rts_mansion_theater_resurrecttravelstationobject': 'Mansion_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/marshfields/rts_autogen_resurrecttravelstationobject_0.rts_autogen_resurrecttravelstationobject_0': 'MarshFields_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/marshfields/rts_autogen_resurrecttravelstationobject_2.rts_autogen_resurrecttravelstationobject_2': 'MarshFields_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/marshfields/rts_autogen_resurrecttravelstationobject_3.rts_autogen_resurrecttravelstationobject_3': 'MarshFields_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/marshfields/rts_autogen_resurrecttravelstationobject_54.rts_autogen_resurrecttravelstationobject_54': 'MarshFields_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/marshfields/rts_autogen_resurrecttravelstationobject_72.rts_autogen_resurrecttravelstationobject_72': 'MarshFields_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/marshfields/rts_autogen_resurrecttravelstationobject_90.rts_autogen_resurrecttravelstationobject_90': 'MarshFields_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/marshfields/rts_autogen_resurrecttravelstationobject_956.rts_autogen_resurrecttravelstationobject_956': 'MarshFields_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mine/rts_autogen_resurrecttravelstationobject_0.rts_autogen_resurrecttravelstationobject_0': 'Mine_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mine/rts_autogen_resurrecttravelstationobject_28.rts_autogen_resurrecttravelstationobject_28': 'Mine_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mine/rts_autogen_resurrecttravelstationobject_29.rts_autogen_resurrecttravelstationobject_29': 'Mine_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mine/rts_autogen_resurrecttravelstationobject_36.rts_autogen_resurrecttravelstationobject_36': 'Mine_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mine/rts_autogen_resurrecttravelstationobject_54.rts_autogen_resurrecttravelstationobject_54': 'Mine_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mine/rts_mine_m_bridgeinthedark_0.rts_mine_m_bridgeinthedark_0': 'Mine_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mine/rts_mine_p_0.rts_mine_p_0': 'Mine_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mine/rts_mine_p_28.rts_mine_p_28': 'Mine_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mine/rts_mine_p_29.rts_mine_p_29': 'Mine_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mine/rts_mine_p_54.rts_mine_p_54': 'Mine_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/mine/rts_mine_section2_lobby_36.rts_mine_section2_lobby_36': 'Mine_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/monastery/rts_autogen_resurrecttravelstationobject10.rts_autogen_resurrecttravelstationobject10': 'Monastery_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/monastery/rts_autogen_resurrecttravelstationobject9.rts_autogen_resurrecttravelstationobject9': 'Monastery_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/monastery/rts_autogen_resurrecttravelstationobject_0.rts_autogen_resurrecttravelstationobject_0': 'Monastery_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/monastery/rts_autogen_resurrecttravelstationobject_240.rts_autogen_resurrecttravelstationobject_240': 'Monastery_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/monastery/rts_autogen_resurrecttravelstationobject_84.rts_autogen_resurrecttravelstationobject_84': 'Monastery_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/monastery/rts_autogen_resurrecttravelstationobject_87.rts_autogen_resurrecttravelstationobject_87': 'Monastery_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcade/rts_autogen_resurrecttravelstationobject_chopchop.rts_autogen_resurrecttravelstationobject_chopchop': 'Motorcade_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcade/rts_autogen_resurrecttravelstationobject_desert.rts_autogen_resurrecttravelstationobject_desert': 'Motorcade_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcade/rts_autogen_resurrecttravelstationobject_greaseland_4071.rts_autogen_resurrecttravelstationobject_greaseland_4071': 'Motorcade_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcade/rts_autogen_resurrecttravelstationobject_homestead.rts_autogen_resurrecttravelstationobject_homestead': 'Motorcade_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcade/rts_autogen_resurrecttravelstationobject_homestead_16407.rts_autogen_resurrecttravelstationobject_homestead_16407': 'Motorcade_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcade/rts_autogen_resurrecttravelstationobject_orphanage.rts_autogen_resurrecttravelstationobject_orphanage': 'Motorcade_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcade/rts_autogen_resurrecttravelstationobject_radiostation.rts_autogen_resurrecttravelstationobject_radiostation': 'Motorcade_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcade/rts_autogen_resurrecttravelstationobject_ravecave.rts_autogen_resurrecttravelstationobject_ravecave': 'Motorcade_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcade/rts_autogen_resurrecttravelstationobject_rollercoaster.rts_autogen_resurrecttravelstationobject_rollercoaster': 'Motorcade_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcade/rts_autogen_resurrecttravelstationobject_spiderantcave.rts_autogen_resurrecttravelstationobject_spiderantcave': 'Motorcade_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcadefestival/rts_autogen_resurrecttravelstationobject_2.rts_autogen_resurrecttravelstationobject_2': 'MotorcadeFestival_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcadefestival/rts_autogen_resurrecttravelstationobject_3245.rts_autogen_resurrecttravelstationobject_3245': 'MotorcadeFestival_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcadefestival/rts_autogen_resurrecttravelstationobject_668.rts_autogen_resurrecttravelstationobject_668': 'MotorcadeFestival_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcadeinterior/rts_autogen_resurrecttravelstationobject5.rts_autogen_resurrecttravelstationobject5': 'MotorcadeInterior_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcadeinterior/rts_autogen_resurrecttravelstationobject_42.rts_autogen_resurrecttravelstationobject_42': 'MotorcadeInterior_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcadeinterior/rts_autogen_resurrecttravelstationobject_43.rts_autogen_resurrecttravelstationobject_43': 'MotorcadeInterior_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcadeinterior/rts_autogen_resurrecttravelstationobject_44.rts_autogen_resurrecttravelstationobject_44': 'MotorcadeInterior_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcadeinterior/rts_motorcadeinterior_catwalks_resurrecttravelstationobject5.rts_motorcadeinterior_catwalks_resurrecttravelstationobject5': 'MotorcadeInterior_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcadeinterior/rts_motorcadeinterior_engine_43.rts_motorcadeinterior_engine_43': 'MotorcadeInterior_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcadeinterior/rts_motorcadeinterior_plot_44.rts_motorcadeinterior_plot_44': 'MotorcadeInterior_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/motorcadeinterior/rts_motorcadeinterior_top_42.rts_motorcadeinterior_top_42': 'MotorcadeInterior_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/orbitalplatform/rts_autogen_resurrecttravelstationobject_0.rts_autogen_resurrecttravelstationobject_0': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/orbitalplatform/rts_autogen_resurrecttravelstationobject_1.rts_autogen_resurrecttravelstationobject_1': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/orbitalplatform/rts_autogen_resurrecttravelstationobject_2.rts_autogen_resurrecttravelstationobject_2': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/orbitalplatform/rts_autogen_resurrecttravelstationobject_28.rts_autogen_resurrecttravelstationobject_28': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/orbitalplatform/rts_autogen_resurrecttravelstationobject_3.rts_autogen_resurrecttravelstationobject_3': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/orbitalplatform/rts_autogen_resurrecttravelstationobject_4.rts_autogen_resurrecttravelstationobject_4': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/orbitalplatform/rts_autogen_resurrecttravelstationobject_5.rts_autogen_resurrecttravelstationobject_5': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/orbitalplatform/rts_orbitalplatform_combat_0.rts_orbitalplatform_combat_0': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/orbitalplatform/rts_orbitalplatform_combat_1.rts_orbitalplatform_combat_1': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/orbitalplatform/rts_orbitalplatform_combat_2.rts_orbitalplatform_combat_2': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/orbitalplatform/rts_orbitalplatform_combat_28.rts_orbitalplatform_combat_28': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/orbitalplatform/rts_orbitalplatform_combat_3.rts_orbitalplatform_combat_3': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/orbitalplatform/rts_orbitalplatform_combat_4.rts_orbitalplatform_combat_4': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/orbitalplatform/rts_orbitalplatform_combat_5.rts_orbitalplatform_combat_5': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/orbitalplatform/rts_orbitalplatform_m_oppresearch_2.rts_orbitalplatform_m_oppresearch_2': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/orbitalplatform/rts_orbitalplatform_mission_0.rts_orbitalplatform_mission_0': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/outskirts/rts_autogen_resurrecttravelstationobject_14447.rts_autogen_resurrecttravelstationobject_14447': 'Outskirts_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/outskirts/rts_autogen_resurrecttravelstationobject_16242.rts_autogen_resurrecttravelstationobject_16242': 'Outskirts_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/outskirts/rts_autogen_resurrecttravelstationobject_19620.rts_autogen_resurrecttravelstationobject_19620': 'Outskirts_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/outskirts/rts_autogen_resurrecttravelstationobject_786.rts_autogen_resurrecttravelstationobject_786': 'Outskirts_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prison/rts_autogen_resurrecttravelstationobject_1243.rts_autogen_resurrecttravelstationobject_1243': 'Prison_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prison/rts_autogen_resurrecttravelstationobject_2268.rts_autogen_resurrecttravelstationobject_2268': 'Prison_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prison/rts_autogen_resurrecttravelstationobject_3114.rts_autogen_resurrecttravelstationobject_3114': 'Prison_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prison/rts_autogen_resurrecttravelstationobject_3242.rts_autogen_resurrecttravelstationobject_3242': 'Prison_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prison/rts_autogen_resurrecttravelstationobject_3964.rts_autogen_resurrecttravelstationobject_3964': 'Prison_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prison/rts_autogen_resurrecttravelstationobject_594.rts_autogen_resurrecttravelstationobject_594': 'Prison_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prison/rts_autogen_resurrecttravelstationobject_6231.rts_autogen_resurrecttravelstationobject_6231': 'Prison_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prison/rts_autogen_resurrecttravelstationobject_648.rts_autogen_resurrecttravelstationobject_648': 'Prison_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prison/rts_autogen_resurrecttravelstationobject_74.rts_autogen_resurrecttravelstationobject_74': 'Prison_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prison/rts_autogen_resurrecttravelstationobject_8752.rts_autogen_resurrecttravelstationobject_8752': 'Prison_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prison/rts_autogen_resurrecttravelstationobject_884.rts_autogen_resurrecttravelstationobject_884': 'Prison_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_autogen_resurrecttravelstationobject_0.rts_autogen_resurrecttravelstationobject_0': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_autogen_resurrecttravelstationobject_12.rts_autogen_resurrecttravelstationobject_12': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_autogen_resurrecttravelstationobject_13.rts_autogen_resurrecttravelstationobject_13': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_autogen_resurrecttravelstationobject_2.rts_autogen_resurrecttravelstationobject_2': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_autogen_resurrecttravelstationobject_2220.rts_autogen_resurrecttravelstationobject_2220': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_autogen_resurrecttravelstationobject_2846.rts_autogen_resurrecttravelstationobject_2846': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_autogen_resurrecttravelstationobject_3.rts_autogen_resurrecttravelstationobject_3': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_autogen_resurrecttravelstationobject_5.rts_autogen_resurrecttravelstationobject_5': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_autogen_resurrecttravelstationobject_6.rts_autogen_resurrecttravelstationobject_6': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_autogen_resurrecttravelstationobject_8159.rts_autogen_resurrecttravelstationobject_8159': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_autogen_resurrecttravelstationobject_pastbarricade.rts_autogen_resurrecttravelstationobject_pastbarricade': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_prologue_combat_2.rts_prologue_combat_2': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_prologue_combat_6.rts_prologue_combat_6': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_prologue_dynamic_0.rts_prologue_dynamic_0': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_prologue_dynamic_12.rts_prologue_dynamic_12': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_prologue_dynamic_13.rts_prologue_dynamic_13': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_prologue_dynamic_2.rts_prologue_dynamic_2': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_prologue_dynamic_2220.rts_prologue_dynamic_2220': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_prologue_dynamic_2846.rts_prologue_dynamic_2846': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_prologue_dynamic_3.rts_prologue_dynamic_3': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_prologue_dynamic_5.rts_prologue_dynamic_5': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_prologue_dynamic_6.rts_prologue_dynamic_6': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_prologue_dynamic_8159.rts_prologue_dynamic_8159': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/prologue/rts_prologue_dynamic_pastbarricade.rts_prologue_dynamic_pastbarricade': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial1/rts_autogen_resurrecttravelstationobject.rts_autogen_resurrecttravelstationobject': 'ProvingGrounds_Trial1_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial1/rts_autogen_resurrecttravelstationobject_180.rts_autogen_resurrecttravelstationobject_180': 'ProvingGrounds_Trial1_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial1/rts_autogen_resurrecttravelstationobject_730.rts_autogen_resurrecttravelstationobject_730': 'ProvingGrounds_Trial1_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial4/rts_autogen_resurrecttravelstationobject_1896.rts_autogen_resurrecttravelstationobject_1896': 'ProvingGrounds_Trial4_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial4/rts_autogen_resurrecttravelstationobject_3373.rts_autogen_resurrecttravelstationobject_3373': 'ProvingGrounds_Trial4_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial4/rts_autogen_resurrecttravelstationobject_3614.rts_autogen_resurrecttravelstationobject_3614': 'ProvingGrounds_Trial4_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial5/rts_autogen_resurrecttravelstationobject_13277.rts_autogen_resurrecttravelstationobject_13277': 'ProvingGrounds_Trial5_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial5/rts_autogen_resurrecttravelstationobject_3614.rts_autogen_resurrecttravelstationobject_3614': 'ProvingGrounds_Trial5_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial5/rts_autogen_resurrecttravelstationobject_3962.rts_autogen_resurrecttravelstationobject_3962': 'ProvingGrounds_Trial5_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial6/rts_autogen_resurrecttravelstationobject_0.rts_autogen_resurrecttravelstationobject_0': 'ProvingGrounds_Trial6_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial6/rts_autogen_resurrecttravelstationobject_1502.rts_autogen_resurrecttravelstationobject_1502': 'ProvingGrounds_Trial6_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial6/rts_autogen_resurrecttravelstationobject_2.rts_autogen_resurrecttravelstationobject_2': 'ProvingGrounds_Trial6_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial7/rts_autogen_resurrecttravelstationobject_afterencounter.rts_autogen_resurrecttravelstationobject_afterencounter': 'ProvingGrounds_Trial7_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial7/rts_autogen_resurrecttravelstationobject_afterencounter_7403.rts_autogen_resurrecttravelstationobject_afterencounter_7403': 'ProvingGrounds_Trial7_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial7/rts_autogen_resurrecttravelstationobject_afterencounter_7440.rts_autogen_resurrecttravelstationobject_afterencounter_7440': 'ProvingGrounds_Trial7_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial8/rts_autogen_resurrecttravelstationobject_afterencounter.rts_autogen_resurrecttravelstationobject_afterencounter': 'ProvingGrounds_Trial8_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial8/rts_autogen_resurrecttravelstationobject_afterencounter_1801.rts_autogen_resurrecttravelstationobject_afterencounter_1801': 'ProvingGrounds_Trial8_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/provinggrounds_trial8/rts_autogen_resurrecttravelstationobject_afterencounter_24.rts_autogen_resurrecttravelstationobject_afterencounter_24': 'ProvingGrounds_Trial8_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/recruitment/rts_autogen_resurrecttravelstationobject_2.rts_autogen_resurrecttravelstationobject_2': 'Recruitment_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/recruitment/rts_autogen_resurrecttravelstationobject_covcamp.rts_autogen_resurrecttravelstationobject_covcamp': 'Recruitment_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/sacrifice/rts_autogen_resurrecttravelstationobject_13.rts_autogen_resurrecttravelstationobject_13': 'Sacrifice_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/sacrifice/rts_autogen_resurrecttravelstationobject_16.rts_autogen_resurrecttravelstationobject_16': 'Sacrifice_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/sacrifice/rts_autogen_resurrecttravelstationobject_2.rts_autogen_resurrecttravelstationobject_2': 'Sacrifice_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/sacrifice/rts_autogen_resurrecttravelstationobject_2828.rts_autogen_resurrecttravelstationobject_2828': 'Sacrifice_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/sacrifice/rts_autogen_resurrecttravelstationobject_6.rts_autogen_resurrecttravelstationobject_6': 'Sacrifice_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/sacrifice/rts_autogen_resurrecttravelstationobject_7547.rts_autogen_resurrecttravelstationobject_7547': 'Sacrifice_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/techslaughter/rts_autogen_resurrecttravelstationobject_2.rts_autogen_resurrecttravelstationobject_2': 'TechSlaughter_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/towers/rts_autogen_resurrecttravelstationobject_1136.rts_autogen_resurrecttravelstationobject_1136': 'Towers_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/towers/rts_autogen_resurrecttravelstationobject_14.rts_autogen_resurrecttravelstationobject_14': 'Towers_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/towers/rts_autogen_resurrecttravelstationobject_660.rts_autogen_resurrecttravelstationobject_660': 'Towers_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/towers/rts_autogen_resurrecttravelstationobject_772.rts_autogen_resurrecttravelstationobject_772': 'Towers_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/towers/rts_autogen_resurrecttravelstationobject_84.rts_autogen_resurrecttravelstationobject_84': 'Towers_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/towers/rts_autogen_resurrecttravelstationobject_85.rts_autogen_resurrecttravelstationobject_85': 'Towers_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/towers/rts_autogen_resurrecttravelstationobject_86.rts_autogen_resurrecttravelstationobject_86': 'Towers_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/towers/rts_autogen_resurrecttravelstationobject_87.rts_autogen_resurrecttravelstationobject_87': 'Towers_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_autogen_resurrecttravelstationobject.rts_autogen_resurrecttravelstationobject': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_autogen_resurrecttravelstationobject4.rts_autogen_resurrecttravelstationobject4': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_autogen_resurrecttravelstationobject8.rts_autogen_resurrecttravelstationobject8': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_autogen_resurrecttravelstationobject9.rts_autogen_resurrecttravelstationobject9': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_autogen_resurrecttravelstationobject_18.rts_autogen_resurrecttravelstationobject_18': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_autogen_resurrecttravelstationobject_4123.rts_autogen_resurrecttravelstationobject_4123': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_autogen_resurrecttravelstationobject_6904.rts_autogen_resurrecttravelstationobject_6904': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_watership_combat_resurrecttravelstationobject.rts_watership_combat_resurrecttravelstationobject': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_watership_leadup_geo_6904.rts_watership_leadup_geo_6904': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_watership_mission_0.rts_watership_mission_0': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_watership_mission_1.rts_watership_mission_1': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_watership_mission_resurrecttravelstationobject.rts_watership_mission_resurrecttravelstationobject': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_watership_p_resurrecttravelstationobject4.rts_watership_p_resurrecttravelstationobject4': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_watership_p_resurrecttravelstationobject8.rts_watership_p_resurrecttravelstationobject8': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_watership_sidemission_0.rts_watership_sidemission_0': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_watership_sidemission_4123.rts_watership_sidemission_4123': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/watership/rts_watership_sidemission_resurrecttravelstationobject.rts_watership_sidemission_resurrecttravelstationobject': 'Watership_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_autogen_resurrecttravelstationobject_1046.rts_autogen_resurrecttravelstationobject_1046': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_autogen_resurrecttravelstationobject_1190.rts_autogen_resurrecttravelstationobject_1190': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_autogen_resurrecttravelstationobject_36.rts_autogen_resurrecttravelstationobject_36': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_autogen_resurrecttravelstationobject_4761.rts_autogen_resurrecttravelstationobject_4761': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_autogen_resurrecttravelstationobject_4791.rts_autogen_resurrecttravelstationobject_4791': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_autogen_resurrecttravelstationobject_48.rts_autogen_resurrecttravelstationobject_48': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_autogen_resurrecttravelstationobject_5977.rts_autogen_resurrecttravelstationobject_5977': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_autogen_resurrecttravelstationobject_7157.rts_autogen_resurrecttravelstationobject_7157': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_autogen_resurrecttravelstationobject_9177.rts_autogen_resurrecttravelstationobject_9177': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_autogen_resurrecttravelstationobject_920.rts_autogen_resurrecttravelstationobject_920': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_wetlands_combat_1046.rts_wetlands_combat_1046': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_wetlands_combat_1190.rts_wetlands_combat_1190': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_wetlands_combat_36.rts_wetlands_combat_36': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_wetlands_combat_4761.rts_wetlands_combat_4761': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_wetlands_combat_4791.rts_wetlands_combat_4791': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_wetlands_combat_48.rts_wetlands_combat_48': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_wetlands_combat_5977.rts_wetlands_combat_5977': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_wetlands_combat_7157.rts_wetlands_combat_7157': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_wetlands_combat_9177.rts_wetlands_combat_9177': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlands/rts_wetlands_combat_920.rts_wetlands_combat_920': 'Wetlands_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlandsvault/rts_autogen_resurrecttravelstationobject_108.rts_autogen_resurrecttravelstationobject_108': 'WetlandsVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlandsvault/rts_autogen_resurrecttravelstationobject_144.rts_autogen_resurrecttravelstationobject_144': 'WetlandsVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlandsvault/rts_autogen_resurrecttravelstationobject_54.rts_autogen_resurrecttravelstationobject_54': 'WetlandsVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlandsvault/rts_wetlandsvault_combat_144.rts_wetlandsvault_combat_144': 'WetlandsVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlandsvault/rts_wetlandsvault_p_108.rts_wetlandsvault_p_108': 'WetlandsVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlandsvault/rts_wetlandsvault_p_144.rts_wetlandsvault_p_144': 'WetlandsVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/autogen/wetlandsvault/rts_wetlandsvault_p_54.rts_wetlandsvault_p_54': 'WetlandsVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/city/rts_city_airport.rts_city_airport': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/city/rts_city_atlashqgates.rts_city_atlashqgates': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/city/rts_city_cvgate.rts_city_cvgate': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/city/rts_city_maintexit.rts_city_maintexit': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/city/rts_city_mallentrance.rts_city_mallentrance': 'City_P',
'/game/gamedata/fasttravel/resurrecttravelstations/cityvault/rts_cityvault_cave.rts_cityvault_cave': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/cityvault/rts_cityvault_phonebank.rts_cityvault_phonebank': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/cityvault/rts_cityvault_stationentrance.rts_cityvault_stationentrance': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/cityvault/rts_cityvault_vehiclepit1.rts_cityvault_vehiclepit1': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/cityvault/rts_cityvault_vehiclepit2.rts_cityvault_vehiclepit2': 'CityVault_P',
'/game/gamedata/fasttravel/resurrecttravelstations/monastery/rts_monastery_bosscourtyard.rts_monastery_bosscourtyard': 'Monastery_P',
'/game/gamedata/fasttravel/resurrecttravelstations/monastery/rts_monastery_bridge.rts_monastery_bridge': 'Monastery_P',
'/game/gamedata/fasttravel/resurrecttravelstations/monastery/rts_monastery_cemetery.rts_monastery_cemetery': 'Monastery_P',
'/game/gamedata/fasttravel/resurrecttravelstations/monastery/rts_monastery_cliffpath.rts_monastery_cliffpath': 'Monastery_P',
'/game/gamedata/fasttravel/resurrecttravelstations/orbital/rts_orbitalplatform_ballpit.rts_orbitalplatform_ballpit': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/orbital/rts_orbitalplatform_cargobay.rts_orbitalplatform_cargobay': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/orbital/rts_orbitalplatform_commandcenter.rts_orbitalplatform_commandcenter': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/orbital/rts_orbitalplatform_maintenance.rts_orbitalplatform_maintenance': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/orbital/rts_orbitalplatform_thruster.rts_orbitalplatform_thruster': 'OrbitalPlatform_P',
'/game/gamedata/fasttravel/resurrecttravelstations/prologue/rts_prologue_desertgate.rts_prologue_desertgate': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/prologue/rts_prologue_ellies.rts_prologue_ellies': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/prologue/rts_prologue_gatecamp.rts_prologue_gatecamp': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/prologue/rts_prologue_launchpad.rts_prologue_launchpad': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/prologue/rts_prologue_lilithbase.rts_prologue_lilithbase': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/prologue/rts_prologue_navcamp.rts_prologue_navcamp': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/prologue/rts_prologue_sacrificegate.rts_prologue_sacrificegate': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/prologue/rts_prologue_vehiclecamp.rts_prologue_vehiclecamp': 'Prologue_P',
'/game/gamedata/fasttravel/resurrecttravelstations/recruitment/rts_recruitment_entrance.rts_recruitment_entrance': 'Recruitment_P',
'/game/gamedata/fasttravel/resurrecttravelstations/sacrifice/rts_sacrifice_holybroadgate.rts_sacrifice_holybroadgate': 'Sacrifice_P',
'/game/gamedata/fasttravel/resurrecttravelstations/sacrifice/rts_sacrifice_holybroadlobby.rts_sacrifice_holybroadlobby': 'Sacrifice_P',
'/game/gamedata/fasttravel/resurrecttravelstations/sacrifice/rts_sacrifice_mouthpiece.rts_sacrifice_mouthpiece': 'Sacrifice_P',
'/game/gamedata/fasttravel/resurrecttravelstations/sacrifice/rts_sacrifice_prologuegate.rts_sacrifice_prologuegate': 'Sacrifice_P',
'/game/gamedata/fasttravel/resurrecttravelstations/wetlands/rts_wetlands_mansion.rts_wetlands_mansion': 'Wetlands_P',
'/game/patchdlc/alisma/gamedata/fasttravel/fts_ali_anger.fts_ali_anger': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/fts_ali_anger_boss.fts_ali_anger_boss': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/fts_ali_anger_castle.fts_ali_anger_castle': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/fts_ali_chase.fts_ali_chase': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/fts_ali_chase_boss.fts_ali_chase_boss': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/fts_ali_eldorado.fts_ali_eldorado': 'Eldorado_P',
'/game/patchdlc/alisma/gamedata/fasttravel/fts_ali_eldorado_boss.fts_ali_eldorado_boss': 'Eldorado_P',
'/game/patchdlc/alisma/gamedata/fasttravel/fts_ali_experiment.fts_ali_experiment': 'Experiment_P',
'/game/patchdlc/alisma/gamedata/fasttravel/fts_ali_experiment_boss.fts_ali_experiment_boss': 'Experiment_P',
'/game/patchdlc/alisma/gamedata/fasttravel/fts_ali_sanctum.fts_ali_sanctum': 'Sanctum_P',
'/game/patchdlc/alisma/gamedata/fasttravel/fts_ali_sanctum_droppod.fts_ali_sanctum_droppod': 'Sanctum_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_anger_sanctum.lts_ali_anger_sanctum': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_anger_whitedoor_back.lts_ali_anger_whitedoor_back': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_anger_whitedoor_in.lts_ali_anger_whitedoor_in': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_angerboss_sanctum.lts_ali_angerboss_sanctum': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_chase_sanctum.lts_ali_chase_sanctum': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_chase_whitedoor_back.lts_ali_chase_whitedoor_back': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_chase_whitedoor_in.lts_ali_chase_whitedoor_in': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_chaseboss_sanctum.lts_ali_chaseboss_sanctum': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_eldorado_sanctum.lts_ali_eldorado_sanctum': 'Eldorado_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_eldorado_whitedoor_back.lts_ali_eldorado_whitedoor_back': 'Eldorado_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_eldorado_whitedoor_in.lts_ali_eldorado_whitedoor_in': 'Eldorado_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_eldoradoboss_sanctum.lts_ali_eldoradoboss_sanctum': 'Eldorado_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_experiment_sanctum.lts_ali_experiment_sanctum': 'Experiment_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_experiment_whitedoor_back.lts_ali_experiment_whitedoor_back': 'Experiment_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_experiment_whitedoor_in.lts_ali_experiment_whitedoor_in': 'Experiment_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_experimentboss_sanctum.lts_ali_experimentboss_sanctum': 'Experiment_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_sanctum_anger.lts_ali_sanctum_anger': 'Sanctum_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_sanctum_angerboss_unusable.lts_ali_sanctum_angerboss_unusable': 'Sanctum_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_sanctum_chase.lts_ali_sanctum_chase': 'Sanctum_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_sanctum_chaseboss_unusable.lts_ali_sanctum_chaseboss_unusable': 'Sanctum_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_sanctum_eldorado.lts_ali_sanctum_eldorado': 'Sanctum_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_sanctum_eldoradoboss_unusable.lts_ali_sanctum_eldoradoboss_unusable': 'Sanctum_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_sanctum_experiment.lts_ali_sanctum_experiment': 'Sanctum_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_sanctum_experimentboss_unusable.lts_ali_sanctum_experimentboss_unusable': 'Sanctum_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_whitedoor_back.lts_ali_whitedoor_back': 'Sanctum_P',
'/game/patchdlc/alisma/gamedata/fasttravel/leveltravelstations/lts_ali_whitedoor_in.lts_ali_whitedoor_in': 'Sanctum_P',
'/game/patchdlc/alisma/gamedata/fasttravel/patchedleveltraveldata/lts_sanctuary3_ali.lts_sanctuary3_ali': 'Sanctuary3_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/anger/rts_anger_travel_rs__ascen.rts_anger_travel_rs__ascen': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/anger/rts_anger_travel_rs__gate.rts_anger_travel_rs__gate': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/anger/rts_anger_travel_rs__main.rts_anger_travel_rs__main': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/anger/rts_anger_travel_rs__meata.rts_anger_travel_rs__meata': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/anger/rts_anger_travel_rs__meatb.rts_anger_travel_rs__meatb': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/anger/rts_anger_travel_rs__outposta.rts_anger_travel_rs__outposta': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/anger/rts_anger_travel_rs__outpostb.rts_anger_travel_rs__outpostb': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/anger/rts_anger_travel_rs__outpostc.rts_anger_travel_rs__outpostc': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/anger/rts_anger_travel_rs__side.rts_anger_travel_rs__side': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/anger/rts_anger_travel_rs__skag.rts_anger_travel_rs__skag': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/anger/rts_anger_travel_rs__stronghold.rts_anger_travel_rs__stronghold': 'Anger_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/chase/rts_chase_travel_rs__anoa.rts_chase_travel_rs__anoa': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/chase/rts_chase_travel_rs__anob.rts_chase_travel_rs__anob': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/chase/rts_chase_travel_rs__bridgea.rts_chase_travel_rs__bridgea': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/chase/rts_chase_travel_rs__bridgeb.rts_chase_travel_rs__bridgeb': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/chase/rts_chase_travel_rs__chess.rts_chase_travel_rs__chess': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/chase/rts_chase_travel_rs__lair.rts_chase_travel_rs__lair': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/chase/rts_chase_travel_rs__minea.rts_chase_travel_rs__minea': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/chase/rts_chase_travel_rs__mineb.rts_chase_travel_rs__mineb': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/chase/rts_chase_travel_rs__minec.rts_chase_travel_rs__minec': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/chase/rts_chase_travel_rs__stationa.rts_chase_travel_rs__stationa': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/chase/rts_chase_travel_rs__stationb.rts_chase_travel_rs__stationb': 'Chase_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/eldorado/rts_eldorado_travel_rs__drop.rts_eldorado_travel_rs__drop': 'Eldorado_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/eldorado/rts_eldorado_travel_rs__loot.rts_eldorado_travel_rs__loot': 'Eldorado_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/experiment/rts_experiment_travel_rs__boss.rts_experiment_travel_rs__boss': 'Experiment_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/experiment/rts_experiment_travel_rs__courta.rts_experiment_travel_rs__courta': 'Experiment_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/experiment/rts_experiment_travel_rs__courtb.rts_experiment_travel_rs__courtb': 'Experiment_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/experiment/rts_experiment_travel_rs__lab.rts_experiment_travel_rs__lab': 'Experiment_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/experiment/rts_experiment_travel_rs__land.rts_experiment_travel_rs__land': 'Experiment_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/experiment/rts_experiment_travel_rs__pipe.rts_experiment_travel_rs__pipe': 'Experiment_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/experiment/rts_experiment_travel_rs__secret.rts_experiment_travel_rs__secret': 'Experiment_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/experiment/rts_experiment_travel_rs__twist.rts_experiment_travel_rs__twist': 'Experiment_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/experiment/rts_experiment_travel_rt__lane.rts_experiment_travel_rt__lane': 'Experiment_P',
'/game/patchdlc/alisma/gamedata/fasttravel/resurrecttravelstations/autogen/experiment/rts_experiment_travel_rt__ward.rts_experiment_travel_rt__ward': 'Experiment_P',
'/game/patchdlc/bloodyharvest/gamedata/fasttravel/leveltraveldata/fts_bloodyharvest.fts_bloodyharvest': 'BloodyHarvest_P',
'/game/patchdlc/bloodyharvest/gamedata/fasttravel/leveltraveldata/lts_bloodyharvest_exit_sanctuary3.lts_bloodyharvest_exit_sanctuary3': 'BloodyHarvest_P',
'/game/patchdlc/bloodyharvest/gamedata/fasttravel/leveltraveldata/lts_bloodyharvest_sanctuary3.lts_bloodyharvest_sanctuary3': 'BloodyHarvest_P',
'/game/patchdlc/bloodyharvest/gamedata/fasttravel/leveltraveldata/lts_sanctuary3_bloodyharvest.lts_sanctuary3_bloodyharvest': 'Sanctuary3_P',
'/game/patchdlc/bloodyharvest/gamedata/fasttravel/leveltraveldata/lts_sanctuary3_bloodyharvest_exit.lts_sanctuary3_bloodyharvest_exit': 'Sanctuary3_P',
'/game/patchdlc/bloodyharvest/gamedata/fasttravel/resurrecttravelstations/autogen/bloodyharvest/rts_bloodyharvest_boss_2.rts_bloodyharvest_boss_2': 'BloodyHarvest_P',
'/game/patchdlc/bloodyharvest/gamedata/fasttravel/resurrecttravelstations/autogen/bloodyharvest/rts_bloodyharvest_combat_0.rts_bloodyharvest_combat_0': 'BloodyHarvest_P',
'/game/patchdlc/bloodyharvest/gamedata/fasttravel/resurrecttravelstations/autogen/bloodyharvest/rts_bloodyharvest_combat_2.rts_bloodyharvest_combat_2': 'BloodyHarvest_P',
'/game/patchdlc/bloodyharvest/gamedata/fasttravel/resurrecttravelstations/autogen/bloodyharvest/rts_bloodyharvest_p_2.rts_bloodyharvest_p_2': 'BloodyHarvest_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/fts_casinointro_dlc1_pod.fts_casinointro_dlc1_pod': 'CasinoIntro_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/fts_core_dlc1.fts_core_dlc1': 'Core_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/fts_core_dlc1_boss.fts_core_dlc1_boss': 'Core_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/fts_impound_dlc1.fts_impound_dlc1': 'Impound_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/fts_impound_dlc1_exit.fts_impound_dlc1_exit': 'Impound_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/fts_impound_dlc1_lowgrav.fts_impound_dlc1_lowgrav': 'Impound_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/fts_strip_dlc1_entrance.fts_strip_dlc1_entrance': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/fts_strip_dlc1_hideout.fts_strip_dlc1_hideout': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/fts_strip_dlc1_market.fts_strip_dlc1_market': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/fts_strip_dlc1_tricksynickarea.fts_strip_dlc1_tricksynickarea': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/fts_strip_dlc1_vice.fts_strip_dlc1_vice': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/fts_towerlair_dlc1_lobby.fts_towerlair_dlc1_lobby': 'TowerLair_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/fts_towerlair_dlc1_scrooge.fts_towerlair_dlc1_scrooge': 'TowerLair_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/fts_trashtown_dlc1.fts_trashtown_dlc1': 'Trashtown_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/fts_trashtown_dlc1_town.fts_trashtown_dlc1_town': 'Trashtown_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/leveltravelstations/lts_casinointro_strip.lts_casinointro_strip': 'CasinoIntro_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/leveltravelstations/lts_core_strip.lts_core_strip': 'Core_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/leveltravelstations/lts_impound_strip.lts_impound_strip': 'Impound_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/leveltravelstations/lts_strip_casinointro.lts_strip_casinointro': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/leveltravelstations/lts_strip_core.lts_strip_core': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/leveltravelstations/lts_strip_impound.lts_strip_impound': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/leveltravelstations/lts_strip_towerlair.lts_strip_towerlair': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/leveltravelstations/lts_strip_trashtown.lts_strip_trashtown': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/leveltravelstations/lts_towerlair_strip.lts_towerlair_strip': 'TowerLair_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/leveltravelstations/lts_trashtown_strip.lts_trashtown_strip': 'Trashtown_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/lts_sanctuary3_dlc1.lts_sanctuary3_dlc1': 'Sanctuary3_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/casinointro/rts_casino_travel_011.rts_casino_travel_011': 'CasinoIntro_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/casinointro/rts_casino_travel_211.rts_casino_travel_211': 'CasinoIntro_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/casinointro/rts_casino_travel_311.rts_casino_travel_311': 'CasinoIntro_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/casinointro/rts_casino_travel_611.rts_casino_travel_611': 'CasinoIntro_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/casinointro/rts_casino_travel_711.rts_casino_travel_711': 'CasinoIntro_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/core/rts_core_travel_00.rts_core_travel_00': 'Core_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/core/rts_core_travel_01.rts_core_travel_01': 'Core_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/core/rts_core_travel_02.rts_core_travel_02': 'Core_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/core/rts_core_travel_03.rts_core_travel_03': 'Core_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/core/rts_core_travel_04.rts_core_travel_04': 'Core_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/core/rts_core_travel_05.rts_core_travel_05': 'Core_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/core/rts_core_travel_06.rts_core_travel_06': 'Core_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/core/rts_core_travel_07.rts_core_travel_07': 'Core_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/core/rts_core_travel_10.rts_core_travel_10': 'Core_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/impound/rts_impound_travel_01.rts_impound_travel_01': 'Impound_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/impound/rts_impound_travel_02.rts_impound_travel_02': 'Impound_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/impound/rts_impound_travel_03.rts_impound_travel_03': 'Impound_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/impound/rts_impound_travel_04.rts_impound_travel_04': 'Impound_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/impound/rts_impound_travel_05.rts_impound_travel_05': 'Impound_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/impound/rts_impound_travel_06.rts_impound_travel_06': 'Impound_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/impound/rts_impound_travel_08.rts_impound_travel_08': 'Impound_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/impound/rts_impound_travel_09.rts_impound_travel_09': 'Impound_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/strip/rts_strip_travel_resurrecttravel_compound.rts_strip_travel_resurrecttravel_compound': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/strip/rts_strip_travel_resurrecttravel_deathtowers.rts_strip_travel_resurrecttravel_deathtowers': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/strip/rts_strip_travel_resurrecttravel_fightpit.rts_strip_travel_resurrecttravel_fightpit': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/strip/rts_strip_travel_resurrecttravel_market.rts_strip_travel_resurrecttravel_market': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/strip/rts_strip_travel_resurrecttravel_spa.rts_strip_travel_resurrecttravel_spa': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/strip/rts_strip_travel_resurrecttravel_square.rts_strip_travel_resurrecttravel_square': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/strip/rts_strip_travel_resurrecttravel_suit.rts_strip_travel_resurrecttravel_suit': 'Strip_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/towerlair/rts_towerlair_travel_1.rts_towerlair_travel_1': 'TowerLair_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/trashtown/rts_trashtown_travel_2.rts_trashtown_travel_2': 'Trashtown_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/trashtown/rts_trashtown_travel_3.rts_trashtown_travel_3': 'Trashtown_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/trashtown/rts_trashtown_travel_claptrapcave.rts_trashtown_travel_claptrapcave': 'Trashtown_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/trashtown/rts_trashtown_travel_claptraptoescort.rts_trashtown_travel_claptraptoescort': 'Trashtown_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/trashtown/rts_trashtown_travel_escortstart.rts_trashtown_travel_escortstart': 'Trashtown_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/trashtown/rts_trashtown_travel_outsidetrashtown.rts_trashtown_travel_outsidetrashtown': 'Trashtown_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/trashtown/rts_trashtown_travel_pretrashtown.rts_trashtown_travel_pretrashtown': 'Trashtown_P',
'/game/patchdlc/dandelion/gamedata/fasttravel/resurrecttravelstations/autogen/trashtown/rts_trashtown_travel_underbeam.rts_trashtown_travel_underbeam': 'Trashtown_P',
'/game/patchdlc/event2/gamedata/fasttravel/leveltraveldata/fts_cartelhideout.fts_cartelhideout': 'Cartels_P',
'/game/patchdlc/event2/gamedata/fasttravel/leveltraveldata/lts_cartelhideout_exit_sanct.lts_cartelhideout_exit_sanct': 'Cartels_P',
'/game/patchdlc/event2/gamedata/fasttravel/leveltraveldata/lts_cartelhideout_sanct3.lts_cartelhideout_sanct3': 'Cartels_P',
'/game/patchdlc/event2/gamedata/fasttravel/leveltraveldata/lts_sanct3_cartelhideout.lts_sanct3_cartelhideout': 'Sanctuary3_P',
'/game/patchdlc/event2/gamedata/fasttravel/leveltraveldata/lts_sanct3_cartelhideout_exit.lts_sanct3_cartelhideout_exit': 'Sanctuary3_P',
'/game/patchdlc/geranium/gamedata/fasttravel/fts_craterboss_dlc3.fts_craterboss_dlc3': 'CraterBoss_P',
'/game/patchdlc/geranium/gamedata/fasttravel/fts_craterboss_dlc3_boss.fts_craterboss_dlc3_boss': 'CraterBoss_P',
'/game/patchdlc/geranium/gamedata/fasttravel/fts_facility_dlc3.fts_facility_dlc3': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/fts_facility_dlc3_mid.fts_facility_dlc3_mid': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/fts_facility_dlc3_sendonly.fts_facility_dlc3_sendonly': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/fts_forest_dlc3.fts_forest_dlc3': 'Forest_P',
'/game/patchdlc/geranium/gamedata/fasttravel/fts_forest_dlc3_mid.fts_forest_dlc3_mid': 'Forest_P',
'/game/patchdlc/geranium/gamedata/fasttravel/fts_frontier_dlc3_fort.fts_frontier_dlc3_fort': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/fts_frontier_dlc3_garage.fts_frontier_dlc3_garage': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/fts_frontier_dlc3_gasstation.fts_frontier_dlc3_gasstation': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/fts_lodge_dlc3.fts_lodge_dlc3': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/fts_lodge_dlc3_boss.fts_lodge_dlc3_boss': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/fts_lodge_dlc3_mid.fts_lodge_dlc3_mid': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/fts_town_dlc3.fts_town_dlc3': 'Town_P',
'/game/patchdlc/geranium/gamedata/fasttravel/fts_town_dlc3_pod.fts_town_dlc3_pod': 'Town_P',
'/game/patchdlc/geranium/gamedata/fasttravel/leveltravelstations/lts_craterboss_frontier.lts_craterboss_frontier': 'CraterBoss_P',
'/game/patchdlc/geranium/gamedata/fasttravel/leveltravelstations/lts_facility_frontier.lts_facility_frontier': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/leveltravelstations/lts_forest_frontier.lts_forest_frontier': 'Forest_P',
'/game/patchdlc/geranium/gamedata/fasttravel/leveltravelstations/lts_frontier_craterboss.lts_frontier_craterboss': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/leveltravelstations/lts_frontier_facility.lts_frontier_facility': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/leveltravelstations/lts_frontier_forest.lts_frontier_forest': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/leveltravelstations/lts_frontier_lodge.lts_frontier_lodge': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/leveltravelstations/lts_frontier_town.lts_frontier_town': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/leveltravelstations/lts_lodge_frontier.lts_lodge_frontier': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/leveltravelstations/lts_town_frontier.lts_town_frontier': 'Town_P',
'/game/patchdlc/geranium/gamedata/fasttravel/lts_sanctuary3_dlc3.lts_sanctuary3_dlc3': 'Sanctuary3_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/craterboss/rts_craterboss_01_entrance.rts_craterboss_01_entrance': 'CraterBoss_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/craterboss/rts_craterboss_02_boss.rts_craterboss_02_boss': 'CraterBoss_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/facility/rts_facility_01_bridge.rts_facility_01_bridge': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/facility/rts_facility_02_meatman.rts_facility_02_meatman': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/facility/rts_facility_03_meatman_02.rts_facility_03_meatman_02': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/facility/rts_facility_04_entrance.rts_facility_04_entrance': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/facility/rts_facility_05_lobby.rts_facility_05_lobby': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/facility/rts_facility_06_elevator.rts_facility_06_elevator': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/facility/rts_facility_07_train.rts_facility_07_train': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/facility/rts_facility_08_lovebarsnone.rts_facility_08_lovebarsnone': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/facility/rts_facility_09_lovebarsnone_02.rts_facility_09_lovebarsnone_02': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/facility/rts_facility_10_lovebarsnone_03.rts_facility_10_lovebarsnone_03': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/facility/rts_facility_11_revolver.rts_facility_11_revolver': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/facility/rts_facility_12_rosebridge.rts_facility_12_rosebridge': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/facility/rts_facility_13_tunnel.rts_facility_13_tunnel': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/facility/rts_facility_14_boss.rts_facility_14_boss': 'Facility_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/forest/rts_forest_01_grannyreveal.rts_forest_01_grannyreveal': 'Forest_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/forest/rts_forest_02_bloodandbeans.rts_forest_02_bloodandbeans': 'Forest_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/forest/rts_forest_03_trainstation.rts_forest_03_trainstation': 'Forest_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/forest/rts_forest_04_biobetsy.rts_forest_04_biobetsy': 'Forest_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/forest/rts_forest_05_mine.rts_forest_05_mine': 'Forest_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/forest/rts_forest_06_bridge.rts_forest_06_bridge': 'Forest_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/forest/rts_forest_07_boss.rts_forest_07_boss': 'Forest_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/frontier/rts_frontier_01_ranch.rts_frontier_01_ranch': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/frontier/rts_frontier_02_dealer.rts_frontier_02_dealer': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/frontier/rts_frontier_03_craterentrance.rts_frontier_03_craterentrance': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/frontier/rts_frontier_04_oilrigs.rts_frontier_04_oilrigs': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/frontier/rts_frontier_05_moneybackentrance.rts_frontier_05_moneybackentrance': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/frontier/rts_frontier_06_cavern.rts_frontier_06_cavern': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/frontier/rts_frontier_07_upperarea.rts_frontier_07_upperarea': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/frontier/rts_frontier_08_woodbuilding.rts_frontier_08_woodbuilding': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/frontier/rts_frontier_09_middle.rts_frontier_09_middle': 'Frontier_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/lodge/rts_lodge_01_waterfall.rts_lodge_01_waterfall': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/lodge/rts_lodge_02_corecave.rts_lodge_02_corecave': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/lodge/rts_lodge_03_island.rts_lodge_03_island': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/lodge/rts_lodge_04_titus.rts_lodge_04_titus': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/lodge/rts_lodge_05_market.rts_lodge_05_market': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/lodge/rts_lodge_06_mcsmugger_01.rts_lodge_06_mcsmugger_01': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/lodge/rts_lodge_07_mcsmugger_02.rts_lodge_07_mcsmugger_02': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/lodge/rts_lodge_08_mcsmugger_03.rts_lodge_08_mcsmugger_03': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/lodge/rts_lodge_09_mcsmugger_04.rts_lodge_09_mcsmugger_04': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/lodge/rts_lodge_10_mcsmugger_05.rts_lodge_10_mcsmugger_05': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/lodge/rts_lodge_11_lodgeext.rts_lodge_11_lodgeext': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/lodge/rts_lodge_12_spa.rts_lodge_12_spa': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/lodge/rts_lodge_13_dirtydeeds.rts_lodge_13_dirtydeeds': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/lodge/rts_lodge_14_bathhouse.rts_lodge_14_bathhouse': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/lodge/rts_lodge_15_boss.rts_lodge_15_boss': 'Lodge_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/town/rts_town_01_rose.rts_town_01_rose': 'Town_P',
'/game/patchdlc/geranium/gamedata/fasttravel/resurrecttravelstations/town/rts_town_02_bridge.rts_town_02_bridge': 'Town_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_archive.fts_dlc2_archive': 'Archive_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_archives_oneway.fts_dlc2_archives_oneway': 'Archive_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_bar.fts_dlc2_bar': 'Bar_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_camp.fts_dlc2_camp': 'Camp_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_camp_oneway.fts_dlc2_camp_oneway': 'Camp_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_lake_amourette.fts_dlc2_lake_amourette': 'Lake_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_lake_droppod.fts_dlc2_lake_droppod': 'Lake_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_lake_excavation.fts_dlc2_lake_excavation': 'Lake_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_lake_gondola.fts_dlc2_lake_gondola': 'Lake_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_venue.fts_dlc2_venue': 'Venue_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_venue_mapstart.fts_dlc2_venue_mapstart': 'Venue_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_venue_oneway.fts_dlc2_venue_oneway': 'Venue_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_village_neararchives.fts_dlc2_village_neararchives': 'Village_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_village_nearbar.fts_dlc2_village_nearbar': 'Village_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_villagedistrict.fts_dlc2_villagedistrict': 'Village_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_villagegardens.fts_dlc2_villagegardens': 'Village_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/fts_dlc2_woods.fts_dlc2_woods': 'Woods_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/leveltravelstations/lts_dlc2_archive_village.lts_dlc2_archive_village': 'Archive_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/leveltravelstations/lts_dlc2_bar_lake.lts_dlc2_bar_lake': 'Bar_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/leveltravelstations/lts_dlc2_bar_village.lts_dlc2_bar_village': 'Bar_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/leveltravelstations/lts_dlc2_camp_lake.lts_dlc2_camp_lake': 'Camp_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/leveltravelstations/lts_dlc2_lake_bar.lts_dlc2_lake_bar': 'Lake_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/leveltravelstations/lts_dlc2_lake_camp.lts_dlc2_lake_camp': 'Lake_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/leveltravelstations/lts_dlc2_lake_woods.lts_dlc2_lake_woods': 'Lake_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/leveltravelstations/lts_dlc2_memories_woods.lts_dlc2_memories_woods': 'Woods_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/leveltravelstations/lts_dlc2_venue_village.lts_dlc2_venue_village': 'Venue_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/leveltravelstations/lts_dlc2_village_archive.lts_dlc2_village_archive': 'Village_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/leveltravelstations/lts_dlc2_village_bar.lts_dlc2_village_bar': 'Village_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/leveltravelstations/lts_dlc2_village_venue.lts_dlc2_village_venue': 'Village_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/leveltravelstations/lts_dlc2_woods_lake.lts_dlc2_woods_lake': 'Woods_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/leveltravelstations/lts_dlc2_woods_memories.lts_dlc2_woods_memories': 'Woods_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/patchedleveltraveldata/lts_sanctuary3_dlc2.lts_sanctuary3_dlc2': 'Sanctuary3_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/archives/rts_archive_1.rts_archive_1': 'Archive_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/archives/rts_archive_2.rts_archive_2': 'Archive_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/archives/rts_archive_3.rts_archive_3': 'Archive_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/archives/rts_archive_4.rts_archive_4': 'Archive_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/archives/rts_archive_5.rts_archive_5': 'Archive_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/camp/rts_camp_1.rts_camp_1': 'Camp_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/camp/rts_camp_2.rts_camp_2': 'Camp_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/camp/rts_camp_3.rts_camp_3': 'Camp_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/camp/rts_camp_4.rts_camp_4': 'Camp_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/camp/rts_camp_5.rts_camp_5': 'Camp_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/camp/rts_camp_6.rts_camp_6': 'Camp_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/camp/rts_camp_7.rts_camp_7': 'Camp_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/lake/rts_lake_1.rts_lake_1': 'Lake_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/lake/rts_lake_2.rts_lake_2': 'Lake_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/lake/rts_lake_3.rts_lake_3': 'Lake_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/lake/rts_lake_4.rts_lake_4': 'Lake_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/lake/rts_lake_5.rts_lake_5': 'Lake_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/lake/rts_lake_6.rts_lake_6': 'Lake_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/lake/rts_lake_7.rts_lake_7': 'Lake_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/venue/rts_venue_1.rts_venue_1': 'Venue_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/venue/rts_venue_2.rts_venue_2': 'Venue_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/venue/rts_venue_3.rts_venue_3': 'Venue_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/venue/rts_venue_4.rts_venue_4': 'Venue_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/venue/rts_venue_5.rts_venue_5': 'Venue_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/village/rts_village_1.rts_village_1': 'Village_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/village/rts_village_2.rts_village_2': 'Village_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/woods/rts_woods_1.rts_woods_1': 'Woods_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/woods/rts_woods_2.rts_woods_2': 'Woods_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/woods/rts_woods_3.rts_woods_3': 'Woods_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/woods/rts_woods_4.rts_woods_4': 'Woods_P',
'/game/patchdlc/hibiscus/gamedata/fasttravel/resurrect/autogen/woods/rts_woods_5.rts_woods_5': 'Woods_P',
'/game/patchdlc/ixora/gamedata/fasttravel/leveltravel/fts_gearupmap.fts_gearupmap': 'FrostSite_P',
'/game/patchdlc/ixora/gamedata/fasttravel/leveltravel/fts_gearupmap_sendonly.fts_gearupmap_sendonly': 'FrostSite_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/fts_ixora2_eden6mystery.fts_ixora2_eden6mystery': 'Cabin_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/fts_ixora2_nekromystery.fts_ixora2_nekromystery': 'NekroMystery_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/fts_ixora2_nekromystery_oneway.fts_ixora2_nekromystery_oneway': 'NekroMystery_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/fts_ixora2_pandoramystery.fts_ixora2_pandoramystery': 'PandoraMystery_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/fts_ixora2_promethea_oneway.fts_ixora2_promethea_oneway': 'Noir_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/fts_ixora2_prometheamystery.fts_ixora2_prometheamystery': 'Noir_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/fts_ixora2_sacrificeboss.fts_ixora2_sacrificeboss': 'SacrificeBoss_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/fts_ixora2_sacrificeboss_one.fts_ixora2_sacrificeboss_one': 'SacrificeBoss_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/fts_ixora2_sacrificeboss_oneway.fts_ixora2_sacrificeboss_oneway': 'PandoraMystery_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/lts_ixora2_city_prometheamystery.lts_ixora2_city_prometheamystery': 'City_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/lts_ixora2_desert_pandoramystery.lts_ixora2_desert_pandoramystery': 'Desert_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/lts_ixora2_desolate_nekromystery.lts_ixora2_desolate_nekromystery': 'Desolate_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/lts_ixora2_eden6_oneway.lts_ixora2_eden6_oneway': 'Cabin_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/lts_ixora2_edenmystery_watership.lts_ixora2_edenmystery_watership': 'Cabin_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/lts_ixora2_nekromystery_desolate.lts_ixora2_nekromystery_desolate': 'NekroMystery_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/lts_ixora2_nekromysteryboss_sanctuary.lts_ixora2_nekromysteryboss_sanctuary': 'NekroMystery_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/lts_ixora2_pandoramystery_desert.lts_ixora2_pandoramystery_desert': 'PandoraMystery_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/lts_ixora2_prometheamystery_city.lts_ixora2_prometheamystery_city': 'Noir_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/lts_ixora2_sacrifice_sacrificeboss.lts_ixora2_sacrifice_sacrificeboss': 'Sacrifice_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/lts_ixora2_sacrificeboss_sacrifice.lts_ixora2_sacrificeboss_sacrifice': 'SacrificeBoss_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/leveltravel/lts_ixora2_watership_edenmystery.lts_ixora2_watership_edenmystery': 'Watership_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/patchedleveltraveldata/lts_sanctuary3_ixora2.lts_sanctuary3_ixora2': 'Sanctuary3_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_cabin_huntingcabin_geo_2.rts_cabin_huntingcabin_geo_2': 'Cabin_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_cabin_interior_geo_2.rts_cabin_interior_geo_2': 'Cabin_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_cabin_p_2.rts_cabin_p_2': 'Cabin_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_nekromystery_gameplay_10.rts_nekromystery_gameplay_10': 'NekroMystery_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_nekromystery_gameplay_14.rts_nekromystery_gameplay_14': 'NekroMystery_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_nekromystery_gameplay_18.rts_nekromystery_gameplay_18': 'NekroMystery_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_nekromystery_gameplay_2.rts_nekromystery_gameplay_2': 'NekroMystery_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_nekromystery_gameplay_6.rts_nekromystery_gameplay_6': 'NekroMystery_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_noir_p_0.rts_noir_p_0': 'Noir_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_noir_p_1.rts_noir_p_1': 'Noir_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_noir_p_2.rts_noir_p_2': 'Noir_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_noir_p_3.rts_noir_p_3': 'Noir_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_noir_p_4.rts_noir_p_4': 'Noir_P',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_pandoramystery_travel_2.rts_pandoramystery_travel_2': 'PandoraMystery_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_pandoramystery_travel_6.rts_pandoramystery_travel_6': 'PandoraMystery_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_pandoramystery_travel_asilo.rts_pandoramystery_travel_asilo': 'PandoraMystery_p',
'/game/patchdlc/ixora2/gamedata/fasttravel/resurrecttravelstations/rts_pandoramystery_travel_bsilo.rts_pandoramystery_travel_bsilo': 'PandoraMystery_p',
'/game/patchdlc/raid1/gamedata/fasttravel/leveltraveldata/fts_maliwantd_sendonly.fts_maliwantd_sendonly': 'Raid_P',
'/game/patchdlc/raid1/gamedata/fasttravel/leveltraveldata/fts_raid1.fts_raid1': 'Raid_P',
'/game/patchdlc/raid1/gamedata/fasttravel/leveltraveldata/fts_raid1droppod.fts_raid1droppod': 'Raid_P',
'/game/patchdlc/raid1/gamedata/fasttravel/leveltraveldata/lts_sanctuary3_raid1.lts_sanctuary3_raid1': 'Sanctuary3_P',
'/game/patchdlc/takedown2/gamedata/leveltravel/fts_guardiantd_sendonly_2.fts_guardiantd_sendonly_2': 'GuardianTakedown_P',
'/game/patchdlc/takedown2/gamedata/leveltravel/fts_td2.fts_td2': 'GuardianTakedown_P',
'/game/patchdlc/takedown2/gamedata/leveltravel/fts_td2droppod1.fts_td2droppod1': 'GuardianTakedown_P',
'/game/patchdlc/takedown2/gamedata/leveltravel/lts_sanctuary3_td2.lts_sanctuary3_td2': 'Sanctuary3_P',
}
| 103.897716 | 650 | 0.814864 | 32,773 | 304,732 | 7.19748 | 0.077442 | 0.047108 | 0.050271 | 0.052458 | 0.710424 | 0.653659 | 0.573068 | 0.407477 | 0.333746 | 0.262626 | 0 | 0.031416 | 0.085902 | 304,732 | 2,932 | 651 | 103.933151 | 0.815394 | 0.021199 | 0 | 0.014029 | 0 | 0 | 0.848292 | 0.789359 | 0 | 0 | 0.008683 | 0.000682 | 0 | 1 | 0.000719 | false | 0.001799 | 0 | 0 | 0.001439 | 0.00036 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c1fa66bafd1f9ca2ea81c45e38f11bbeea53034e | 449 | py | Python | yandex/Lecture_2/Contest/H/main.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | 1 | 2021-11-28T15:03:32.000Z | 2021-11-28T15:03:32.000Z | yandex/Lecture_2/Contest/H/main.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | null | null | null | yandex/Lecture_2/Contest/H/main.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | null | null | null | import numpy as np
x = [2, 4, 0, 3, 1]
# Solution: i-th order statistic
# Rewrite it in function
max_1 = np.partition(np.asarray(x), k)[len(x)-1])
max_2 = np.partition(np.asarray(x), k)[len(x)-2])
max_2 = np.partition(np.asarray(x), k)[len(x)-3])
min_1 = np.partition(np.asarray(x), k)[0])
min_2 = np.partition(np.asarray(x), k)[1])
if max_1*max_2*max_3 > min_1*min_2*max_1:
print(max_1, max_2, max_3)
else:
print(min_1, min_2, max_1)
| 24.944444 | 49 | 0.652561 | 98 | 449 | 2.816327 | 0.285714 | 0.072464 | 0.235507 | 0.362319 | 0.655797 | 0.655797 | 0.481884 | 0.311594 | 0.217391 | 0.217391 | 0 | 0.070496 | 0.146993 | 449 | 17 | 50 | 26.411765 | 0.650131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.090909 | null | null | 0.181818 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
de15a7c3c247b4e9f3b21a01c82584b3dce9603d | 287 | py | Python | wikipendium/sitemap.py | iver56/wikipendium.no | a1b9bd50a40ea599e247b901c9502c0ba1adf264 | [
"Apache-2.0"
] | null | null | null | wikipendium/sitemap.py | iver56/wikipendium.no | a1b9bd50a40ea599e247b901c9502c0ba1adf264 | [
"Apache-2.0"
] | null | null | null | wikipendium/sitemap.py | iver56/wikipendium.no | a1b9bd50a40ea599e247b901c9502c0ba1adf264 | [
"Apache-2.0"
] | null | null | null | from django.contrib.sitemaps import Sitemap
from wikipendium.wiki.models import Article
class ArticleSitemap(Sitemap):
changefreq = "daily"
def items(self):
return Article.get_all_newest_contents_all_languages()
def lastmod(self, obj):
return obj.updated
| 22.076923 | 62 | 0.738676 | 35 | 287 | 5.914286 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188153 | 287 | 12 | 63 | 23.916667 | 0.888412 | 0 | 0 | 0 | 0 | 0 | 0.017422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
a9d924ddd3de220a4b10d4a2a584969e3eaece90 | 5,274 | py | Python | src/utilities.py | ds4dm/branch-search-trees | b0cec513c026b52a00b666f7471d6f4abaf6e1ce | [
"MIT"
] | 36 | 2020-12-24T07:09:09.000Z | 2022-03-27T07:01:37.000Z | src/utilities.py | linjc16/TBranT | cc051e386775da87f25964f98547c29dde841362 | [
"MIT"
] | 7 | 2021-03-04T07:58:39.000Z | 2021-12-31T02:43:54.000Z | src/utilities.py | linjc16/TBranT | cc051e386775da87f25964f98547c29dde841362 | [
"MIT"
] | 13 | 2021-01-25T07:35:23.000Z | 2022-03-27T07:01:36.000Z | """ Utilities. """
def init_params(model, scip_limits, scip_params):
"""
:param model: scip.Model(), model instantiation
:param scip_limits: dict, specifying SCIP parameter limits
:param scip_params: dict, specifying SCIP parameter setting
:return: -
Initialize SCIP parameters for the model.
"""
model.setIntParam('display/verblevel', 0)
# limits
model.setLongintParam('limits/nodes', scip_limits['node_limit'])
model.setRealParam('limits/time', scip_limits['time_limit'])
# enable presolve and cuts (as in default)
model.setIntParam('presolving/maxrounds', -1) # 0: off, -1: unlimited
model.setIntParam('separating/maxrounds', -1) # 0 to disable local separation
model.setIntParam('separating/maxroundsroot', -1) # 0 to disable root separation
# disable reoptimization (as in default)
model.setBoolParam('reoptimization/enable', False)
# cutoff value is eventually set in env.run_episode
# other parameters to be disabled in 'sandbox' setting
model.setBoolParam('conflict/usesb', scip_params['conflict_usesb'])
model.setBoolParam('branching/fullstrong/probingbounds', scip_params['probing_bounds'])
model.setBoolParam('branching/relpscost/probingbounds', scip_params['probing_bounds'])
model.setBoolParam('branching/checksol', scip_params['checksol'])
model.setLongintParam('branching/fullstrong/reevalage', scip_params['reevalage'])
# primal heuristics (54 total, 14 of which are disabled in default setting as well)
if not scip_params['heuristics']:
model.setIntParam('heuristics/actconsdiving/freq', -1) # disabled at default
model.setIntParam('heuristics/bound/freq', -1) # disabled at default
model.setIntParam('heuristics/clique/freq', -1)
model.setIntParam('heuristics/coefdiving/freq', -1)
model.setIntParam('heuristics/completesol/freq', -1)
model.setIntParam('heuristics/conflictdiving/freq', -1) # disabled at default
model.setIntParam('heuristics/crossover/freq', -1)
model.setIntParam('heuristics/dins/freq', -1) # disabled at default
model.setIntParam('heuristics/distributiondiving/freq', -1)
model.setIntParam('heuristics/dualval/freq', -1) # disabled at default
model.setIntParam('heuristics/farkasdiving/freq', -1)
model.setIntParam('heuristics/feaspump/freq', -1)
model.setIntParam('heuristics/fixandinfer/freq', -1) # disabled at default
model.setIntParam('heuristics/fracdiving/freq', -1)
model.setIntParam('heuristics/gins/freq', -1)
model.setIntParam('heuristics/guideddiving/freq', -1)
model.setIntParam('heuristics/zeroobj/freq', -1) # disabled at default
model.setIntParam('heuristics/indicator/freq', -1)
model.setIntParam('heuristics/intdiving/freq', -1) # disabled at default
model.setIntParam('heuristics/intshifting/freq', -1)
model.setIntParam('heuristics/linesearchdiving/freq', -1)
model.setIntParam('heuristics/localbranching/freq', -1) # disabled at default
model.setIntParam('heuristics/locks/freq', -1)
model.setIntParam('heuristics/lpface/freq', -1)
model.setIntParam('heuristics/alns/freq', -1)
model.setIntParam('heuristics/nlpdiving/freq', -1)
model.setIntParam('heuristics/mutation/freq', -1) # disabled at default
model.setIntParam('heuristics/multistart/freq', -1)
model.setIntParam('heuristics/mpec/freq', -1)
model.setIntParam('heuristics/objpscostdiving/freq', -1)
model.setIntParam('heuristics/octane/freq', -1) # disabled at default
model.setIntParam('heuristics/ofins/freq', -1)
model.setIntParam('heuristics/oneopt/freq', -1)
model.setIntParam('heuristics/proximity/freq', -1) # disabled at default
model.setIntParam('heuristics/pscostdiving/freq', -1)
model.setIntParam('heuristics/randrounding/freq', -1)
model.setIntParam('heuristics/rens/freq', -1)
model.setIntParam('heuristics/reoptsols/freq', -1)
model.setIntParam('heuristics/repair/freq', -1) # disabled at default
model.setIntParam('heuristics/rins/freq', -1)
model.setIntParam('heuristics/rootsoldiving/freq', -1)
model.setIntParam('heuristics/rounding/freq', -1)
model.setIntParam('heuristics/shiftandpropagate/freq', -1)
model.setIntParam('heuristics/shifting/freq', -1)
model.setIntParam('heuristics/simplerounding/freq', -1)
model.setIntParam('heuristics/subnlp/freq', -1)
model.setIntParam('heuristics/trivial/freq', -1)
model.setIntParam('heuristics/trivialnegation/freq', -1)
model.setIntParam('heuristics/trysol/freq', -1)
model.setIntParam('heuristics/twoopt/freq', -1) # disabled at default
model.setIntParam('heuristics/undercover/freq', -1)
model.setIntParam('heuristics/vbounds/freq', -1)
model.setIntParam('heuristics/veclendiving/freq', -1)
model.setIntParam('heuristics/zirounding/freq', -1)
| 57.956044 | 93 | 0.673303 | 549 | 5,274 | 6.433515 | 0.253188 | 0.262741 | 0.397508 | 0.23188 | 0.567667 | 0.225368 | 0.225368 | 0.225368 | 0 | 0 | 0 | 0.015599 | 0.197763 | 5,274 | 90 | 94 | 58.6 | 0.819192 | 0.164771 | 0 | 0 | 0 | 0 | 0.391254 | 0.317376 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014706 | false | 0 | 0 | 0 | 0.014706 | 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 | 0 | 0 | 0 | 3 |
a9eee29e22bc8b85b3756e35c9b2e7420a6071d7 | 2,836 | py | Python | test/3028/if_test.py | dburkart/check-sieve | 667f0e9670e8820e37a8162ec09e794e6e4f1cb4 | [
"MIT"
] | 20 | 2015-09-06T04:16:04.000Z | 2022-03-24T16:34:56.000Z | test/3028/if_test.py | dburkart/mail-sieve-verifier | cb51fda06c933dd1e1d0ded05ccba9bedbe67e7f | [
"MIT"
] | 24 | 2015-06-14T01:44:30.000Z | 2015-09-05T17:25:11.000Z | test/3028/if_test.py | dburkart/mail-sieve-verifier | cb51fda06c933dd1e1d0ded05ccba9bedbe67e7f | [
"MIT"
] | 3 | 2015-09-08T05:24:08.000Z | 2019-04-01T00:15:29.000Z | import unittest
import checksieve
class TestIf(unittest.TestCase):
def test_simple_if(self):
sieve = 'if header :contains :comparator "i;octet" "Subject" "MAKE MONEY FAST" { discard; }'
self.assertFalse(checksieve.parse_string(sieve, False))
def test_bogus_test(self):
sieve = 'if bogus :contains :comparator "i;octet" "Subject" "MAKE MONEY FAST" { discard; }'
self.assertTrue(checksieve.parse_string(sieve, True))
def test_elsif(self):
sieve = 'if header :matches "Subject" "MAKE MONEY FAST" { discard; }\nelsif header :matches "Subject" "business opportunity" { discard; }'
self.assertFalse(checksieve.parse_string(sieve, False))
def test_elsif_multiple(self):
sieve = '''if header :matches "Subject" "MAKE MONEY FAST"
{
discard;
}
elsif header :matches "Subject" "business opportunity" {
discard;
}
elsif header :matches "To" "someone@example.com" {
keep;
stop;
}'''
self.assertFalse(checksieve.parse_string(sieve, False))
def test_else(self):
sieve = '''
if header :matches "Subject" "MAKE MONEY FAST" {
discard;
} else {
keep;
stop;
}'''
self.assertFalse(checksieve.parse_string(sieve, False));
def test_if_elsif_else(self):
sieve = '''if header :matches ["Subject"] ["MAKE MONEY FAST"]
{
discard;
}
elsif header :matches "Subject" "business opportunity" {
discard;
}
else {
keep;
stop;
}'''
self.assertFalse(checksieve.parse_string(sieve, False))
def test_if_elsif_elsif_else(self):
sieve = '''if header :matches ["Subject"] ["MAKE MONEY FAST"]
{
discard;
}
elsif header :matches "Subject" "business opportunity" {
discard;
}
elsif header :matches "Subject" "NOT A VIRUS" {
discard;
}
else {
keep;
stop;
}'''
self.assertFalse(checksieve.parse_string(sieve, False))
def test_test_list(self):
sieve = '''
if allof
(
header :contains "List-Id" "<lunch@group.website.com>",
header :matches "Subject" [ "*Closure*", "*closure*" ]
)
{
keep;
stop;
}
'''
self.assertFalse(checksieve.parse_string(sieve, False))
def test_empty_block(self):
sieve = '''
if header :matches "Subject" "NOT A VIRUS" {
}
'''
self.assertFalse(checksieve.parse_string(sieve, False))
if __name__ == '__main__':
unittest.main()
| 28.938776 | 146 | 0.53914 | 271 | 2,836 | 5.509225 | 0.206642 | 0.113195 | 0.16075 | 0.156731 | 0.776289 | 0.776289 | 0.712659 | 0.681849 | 0.681849 | 0.681849 | 0 | 0 | 0.344852 | 2,836 | 97 | 147 | 29.237113 | 0.803552 | 0 | 0 | 0.488095 | 0 | 0.035714 | 0.587095 | 0.017278 | 0 | 0 | 0 | 0 | 0.107143 | 1 | 0.107143 | false | 0 | 0.02381 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a9f16c31101cdd251d11f0f4527228a82b4ff080 | 1,504 | py | Python | test.py | lucasb-eyer/DeepFried | b1a8c8c9c39748a2c5505025b54bb279c9208b2c | [
"MIT"
] | 3 | 2016-01-08T23:45:44.000Z | 2020-02-13T18:45:13.000Z | test.py | lucasb-eyer/DeepFried | b1a8c8c9c39748a2c5505025b54bb279c9208b2c | [
"MIT"
] | 18 | 2015-03-05T22:48:51.000Z | 2015-10-29T16:27:42.000Z | test.py | lucasb-eyer/DeepFried | b1a8c8c9c39748a2c5505025b54bb279c9208b2c | [
"MIT"
] | 1 | 2018-06-11T14:39:51.000Z | 2018-06-11T14:39:51.000Z | #!/usr/bin/env python3
import numpy as _np
import theano as _th
import DeepFried.util as _u
from DeepFried.layers import Layer
def mk_train_output_fn(model):
"""
Creates a theano function that computes the output of a forward pass
of the training version of given `model`.
This is exactly what will be given to the cost function.
Note that this doesn't minibatch at all.
"""
Xin = _u.tuplize(model.make_inputs())
Xout = model.train_expr(*Xin)
return _th.function(inputs=Xin, outputs=_u.maybetuple(_u.tuplize(Xout)))
def mk_pred_output_fn(model):
"""
Creates a theano function that computes the output of a forward pass
of the prediction version of given `model`.
Note that this doesn't minibatch at all.
"""
Xin = _u.tuplize(model.make_inputs())
Xout = model.pred_expr(*Xin)
return _th.function(inputs=Xin, outputs=_u.maybetuple(_u.tuplize(Xout)))
class Identity(Layer):
"""
A layer whose output is its input. Useful for unittesting.
"""
def train_expr(self, *Xs, **kw):
return Xs
class ConstantInitializer(Identity):
def __init__(self, cW, cB):
super(type(self), self).__init__()
self.cW = cW
self.cB = cB
def weightinitializer(self):
def init(shape, *a, **kw):
return _np.full(shape, self.cW)
return init
def biasinitializer(self):
def init(shape, *a, **kw):
return _np.full(shape, self.cB)
return init
| 25.491525 | 76 | 0.65625 | 215 | 1,504 | 4.44186 | 0.372093 | 0.033508 | 0.027225 | 0.041885 | 0.510995 | 0.510995 | 0.510995 | 0.510995 | 0.510995 | 0.510995 | 0 | 0.000876 | 0.240691 | 1,504 | 58 | 77 | 25.931034 | 0.835377 | 0.294548 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.107143 | 0.75 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
a9f533a39f41f8b5235d06e3959129313f0beb00 | 21,800 | py | Python | iceweather/stations.py | mideind/iceweather | ca0f3b6eb7d9c7910b586a42a7d2ddeb2b6591bb | [
"BSD-3-Clause"
] | null | null | null | iceweather/stations.py | mideind/iceweather | ca0f3b6eb7d9c7910b586a42a7d2ddeb2b6591bb | [
"BSD-3-Clause"
] | null | null | null | iceweather/stations.py | mideind/iceweather | ca0f3b6eb7d9c7910b586a42a7d2ddeb2b6591bb | [
"BSD-3-Clause"
] | null | null | null | """
iceweather: Look up information about Icelandic weather (observations, forecasts,
human readable descriptive texts, etc.) using vedur.is xmlweather API.
Copyright (c) 2019-2021 Miðeind ehf.
Original author: Sveinbjorn Thordarson
BSD 3-clause License (see License.txt).
"""
from typing import List, Dict
STATIONS: List[Dict] = [
{"id": 1, "lat": 64.1275, "lon": -21.9028, "name": "Reykjavík"},
{"id": 178, "lat": 65.074, "lon": -22.7339, "name": "Stykkishólmur"},
{"id": 195, "lat": 65.2297, "lon": -21.7543, "name": "Ásgarður"},
{"id": 234, "lat": 65.8679, "lon": -23.5641, "name": "Hólar í Dýrafirði"},
{"id": 293, "lat": 66.0213, "lon": -21.425, "name": "Litla-Ávík"},
{"id": 400, "lat": 66.1852, "lon": -18.9534, "name": "Sauðanesviti"},
{"id": 422, "lat": 65.6856, "lon": -18.1002, "name": "Akureyri"},
{"id": 495, "lat": 65.6423, "lon": -16.1208, "name": "Grímsstaðir"},
{"id": 515, "lat": 66.0659, "lon": -15.0792, "name": "Miðfjarðarnes"},
{"id": 527, "lat": 65.7027, "lon": -14.8211, "name": "Skjaldþingsstaðir"},
{"id": 571, "lat": 65.283, "lon": -14.4025, "name": "Egilsstaðaflugvöllur"},
{"id": 620, "lat": 65.2682, "lon": -13.5759, "name": "Dalatangi"},
{"id": 802, "lat": 63.4236, "lon": -19.183, "name": "Vatnsskarðshólar"},
{"id": 931, "lat": 64.2504, "lon": -20.3309, "name": "Hjarðarland"},
{"id": 990, "lat": 63.9747, "lon": -22.5876, "name": "Keflavíkurflugvöllur"},
{"id": 1350, "lat": 63.9829, "lon": -22.6005, "name": "Keflavíkurflugvöllur"},
{"id": 1361, "lat": 63.8438, "lon": -22.417, "name": "Grindavík"},
{"id": 1395, "lat": 63.8692, "lon": -21.1602, "name": "Eyrarbakki"},
{"id": 1453, "lat": 64.0817, "lon": -22.6893, "name": "Garðskagaviti"},
{"id": 1471, "lat": 64.1545, "lon": -22.0325, "name": "Seltjarnarnes - Suðurnes"},
{"id": 1473, "lat": 64.0438, "lon": -22.0404, "name": "Straumsvík"},
{"id": 1474, "lat": 64.0712, "lon": -21.9107, "name": "Garðabær - Urriðaholt"},
# {"id": 1475, "lat": 64.1275, "lon": -21.902, "name": "Reykjavík"},
# {"id": 1477, "lat": 64.1284, "lon": -21.9407, "name": "Reykjavíkurflugvöllur"},
# {"id": 1478, "lat": 64.1292, "lon": -21.8392, "name": "Reykjavík Geirsnef"},
{"id": 1479, "lat": 64.1505, "lon": -21.7511, "name": "Korpa"},
{"id": 1480, "lat": 64.1678, "lon": -21.8038, "name": "Geldinganes"},
{"id": 1481, "lat": 64.1085, "lon": -21.6864, "name": "Hólmsheiði"},
{"id": 1482, "lat": 64.1035, "lon": -21.7971, "name": "Reykjavík Víðidalur"},
{"id": 1486, "lat": 63.969, "lon": -21.6661, "name": "Bláfjöll"},
{"id": 1487, "lat": 63.9831, "lon": -21.6497, "name": "Bláfjallaskáli"},
{"id": 1490, "lat": 64.0333, "lon": -21.3665, "name": "Hellisskarð"},
{"id": 1493, "lat": 64.0553, "lon": -21.2532, "name": "Ölkelduháls"},
{"id": 1496, "lat": 64.0567, "lon": -21.3469, "name": "Skarðsmýrarfjall"},
{"id": 1578, "lat": 64.2318, "lon": -21.8046, "name": "Skrauthólar"},
{"id": 1590, "lat": 64.2405, "lon": -21.4633, "name": "Skálafell"},
{"id": 1596, "lat": 64.2807, "lon": -21.0875, "name": "Þingvellir"},
{"id": 1673, "lat": 64.4647, "lon": -21.9628, "name": "Hafnarmelar"},
{"id": 1679, "lat": 64.4902, "lon": -21.7621, "name": "Skarðsheiði Miðfitjahóll"},
{"id": 1685, "lat": 64.3877, "lon": -21.4169, "name": "Þyrill"},
{"id": 1689, "lat": 64.4529, "lon": -21.4034, "name": "Botnsheiði"},
{"id": 1779, "lat": 64.5622, "lon": -21.7649, "name": "Hvanneyri"},
{"id": 1781, "lat": 64.643, "lon": -21.5893, "name": "Stafholtsey"},
{"id": 1868, "lat": 64.6943, "lon": -22.1473, "name": "Fíflholt á Mýrum"},
{"id": 1881, "lat": 64.7268, "lon": -21.6297, "name": "Litla-Skarð"},
{"id": 1919, "lat": 64.9041, "lon": -23.9346, "name": "Gufuskálar"},
{"id": 1924, "lat": 64.8957, "lon": -23.7162, "name": "Ólafsvík"},
{"id": 1936, "lat": 64.8393, "lon": -23.3012, "name": "Bláfeldur"},
{"id": 1938, "lat": 64.9213, "lon": -23.2513, "name": "Grundarfjörður"},
{"id": 2050, "lat": 65.0717, "lon": -22.7324, "name": "Stykkishólmur"},
{"id": 2175, "lat": 65.2297, "lon": -21.7543, "name": "Ásgarður"},
{"id": 2197, "lat": 65.2543, "lon": -21.0978, "name": "Reykir í Hrútafirði"},
{"id": 2266, "lat": 65.4377, "lon": -22.2056, "name": "Reykhólar"},
{"id": 2304, "lat": 65.5029, "lon": -24.5312, "name": "Bjargtangar"},
{"id": 2315, "lat": 65.4924, "lon": -24.0925, "name": "Lambavatn"},
{"id": 2319, "lat": 65.5951, "lon": -23.9748, "name": "Patreksfjörður"},
{"id": 2323, "lat": 65.6276, "lon": -23.8302, "name": "Tálknafjörður"},
{"id": 2370, "lat": 65.5528, "lon": -21.8257, "name": "Arnkatla"},
{"id": 2428, "lat": 65.6794, "lon": -23.6122, "name": "Bíldudalur"},
{"id": 2480, "lat": 65.7284, "lon": -21.5718, "name": "Bjarnarfjarðarháls"},
{"id": 2481, "lat": 65.6873, "lon": -21.6813, "name": "Hólmavík"},
{"id": 2530, "lat": 65.8686, "lon": -23.5578, "name": "Hólar í Dýrafirði"},
{"id": 2631, "lat": 66.05, "lon": -23.51, "name": "Flateyri"},
{"id": 2636, "lat": 66.0444, "lon": -23.3074, "name": "Þverfjall"},
{"id": 2640, "lat": 66.076, "lon": -23.1987, "name": "Seljalandsdalur"},
{"id": 2641, "lat": 66.068, "lon": -23.210, "name": "Seljalandsdalur - skíðaskáli"},
{"id": 2642, "lat": 66.0596, "lon": -23.1699, "name": "Ísafjörður"},
{"id": 2643, "lat": 66.1066, "lon": -23.1091, "name": "Hnífsdalur"},
{"id": 2646, "lat": 66.0426, "lon": -22.986, "name": "Súðavík"},
{"id": 2655, "lat": 66.1006, "lon": -22.6594, "name": "Æðey"},
{"id": 2692, "lat": 65.9951, "lon": -21.3304, "name": "Gjögurflugvöllur"},
{"id": 2738, "lat": 66.161, "lon": -23.2538, "name": "Bolungarvík"},
{"id": 2862, "lat": 66.4107, "lon": -22.3789, "name": "Hornbjargsviti"},
{"id": 2941, "lat": 66.433, "lon": -23.133, "name": "Straumnesviti"},
{"id": 3007, "lat": 65.123, "lon": -20.6961, "name": "Austurárdalsháls"},
{"id": 3054, "lat": 65.0628, "lon": -18.8383, "name": "Sáta"},
{"id": 3103, "lat": 65.1839, "lon": -20.785, "name": "Haugur"},
{"id": 3223, "lat": 65.3784, "lon": -20.2473, "name": "Brúsastaðir"},
{"id": 3225, "lat": 65.2307, "lon": -19.7177, "name": "Kolka"},
{"id": 3242, "lat": 65.4583, "lon": -19.3691, "name": "Nautabú"},
{"id": 3292, "lat": 65.3419, "lon": -17.2465, "name": "Svartárkot"},
{"id": 3317, "lat": 65.658, "lon": -20.2925, "name": "Blönduós"},
{"id": 3371, "lat": 65.501, "lon": -18.1616, "name": "Torfur"},
{"id": 3380, "lat": 65.5851, "lon": -17.7667, "name": "Reykir í Fnjóskadal"},
{"id": 3433, "lat": 65.7259, "lon": -19.5737, "name": "Sauðárkrókur flugvöllur"},
{"id": 3463, "lat": 65.7707, "lon": -18.2513, "name": "Möðruvellir"},
{"id": 3471, "lat": 65.6961, "lon": -18.1113, "name": "Akureyri - Krossanesbraut"},
{"id": 3474, "lat": 65.7485, "lon": -18.0011, "name": "Vaðlaheiði"},
{"id": 3477, "lat": 65.817, "lon": -17.8857, "name": "Végeirsstaðir í Fnjóskadal"},
{"id": 3490, "lat": 65.7873, "lon": -17.0035, "name": "Gæsafjöll"},
{"id": 3591, "lat": 65.821, "lon": -17.3446, "name": "Staðarhóll"},
{"id": 3596, "lat": 65.856, "lon": -17.2015, "name": "Rauðhálsar"},
{"id": 3658, "lat": 66.0739, "lon": -18.6656, "name": "Ólafsfjörður"},
{"id": 3696, "lat": 66.0418, "lon": -17.3281, "name": "Húsavík"},
{"id": 3720, "lat": 66.1192, "lon": -20.0989, "name": "Skagatá"},
{"id": 3751, "lat": 66.1845, "lon": -18.9534, "name": "Sauðanesviti"},
{"id": 3752, "lat": 66.1349, "lon": -18.919, "name": "Siglufjörður"},
{"id": 3754, "lat": 66.1938, "lon": -18.8431, "name": "Siglunes"},
{"id": 3779, "lat": 66.1631, "lon": -17.8408, "name": "Flatey á Skjálfanda"},
{"id": 3797, "lat": 66.1994, "lon": -17.1028, "name": "Mánárbakki"},
{"id": 3976, "lat": 66.5438, "lon": -18.0167, "name": "Grímsey"},
{"id": 4019, "lat": 65.0607, "lon": -16.2104, "name": "Upptyppingar"},
{"id": 4060, "lat": 65.0942, "lon": -14.7447, "name": "Hallormsstaður"},
{"id": 4182, "lat": 65.2549, "lon": -14.0064, "name": "Seyðisfjörður"},
{"id": 4193, "lat": 65.2682, "lon": -13.575, "name": "Dalatangi"},
{"id": 4275, "lat": 65.2235, "lon": -14.2589, "name": "Gagnheiði"},
{"id": 4300, "lat": 65.6193, "lon": -16.9768, "name": "Mývatn"},
{"id": 4323, "lat": 65.6422, "lon": -16.1284, "name": "Grímsstaðir á Fjöllum"},
{"id": 4380, "lat": 65.5235, "lon": -13.8167, "name": "Bakkagerði"},
{"id": 4406, "lat": 65.6945, "lon": -16.7748, "name": "Krafla"},
{"id": 4455, "lat": 65.7036, "lon": -14.8208, "name": "Skjaldþingsstaðir"},
{"id": 4472, "lat": 65.7857, "lon": -14.3082, "name": "Bjarnarey"},
{"id": 4500, "lat": 65.911, "lon": -16.9762, "name": "Þeistareykir"},
{"id": 4614, "lat": 66.03, "lon": -16.4833, "name": "Ásbyrgi"},
{"id": 4652, "lat": 66.0668, "lon": -15.0799, "name": "Miðfjarðarnes"},
{"id": 4828, "lat": 66.456, "lon": -15.9527, "name": "Raufarhöfn"},
{"id": 4830, "lat": 65.3754, "lon": -15.8833, "name": "Möðrudalur"},
{"id": 4867, "lat": 66.3783, "lon": -14.5326, "name": "Fontur"},
{"id": 4912, "lat": 66.5082, "lon": -16.5444, "name": "Rauðinúpur"},
{"id": 4921, "lat": 66.5115, "lon": -16.1441, "name": "Rif á Melrakkasléttu"},
{"id": 5210, "lat": 63.8028, "lon": -16.6509, "name": "Ingólfshöfði"},
{"id": 5309, "lat": 63.8743, "lon": -16.6364, "name": "Fagurhólsmýri"},
{"id": 5316, "lat": 63.9777, "lon": -16.4366, "name": "Kvísker"},
{"id": 5544, "lat": 64.2691, "lon": -15.2135, "name": "Höfn í Hornafirði"},
{"id": 5777, "lat": 64.5911, "lon": -14.1747, "name": "Papey"},
{"id": 5825, "lat": 64.8281, "lon": -16.0897, "name": "Brúaröræfi"},
{"id": 5847, "lat": 64.8161, "lon": -15.3228, "name": "Innri Sauðá"},
{"id": 5872, "lat": 64.6757, "lon": -14.3444, "name": "Teigarhorn"},
{"id": 5885, "lat": 64.8012, "lon": -13.8423, "name": "Kambanes"},
{"id": 5932, "lat": 64.728, "lon": -16.1117, "name": "Brúarjökull B10"},
{"id": 5933, "lat": 64.9284, "lon": -15.7771, "name": "Kárahnjúkar"},
{"id": 5940, "lat": 65.1086, "lon": -15.5297, "name": "Brú á Jökuldal"},
{"id": 5943, "lat": 64.8151, "lon": -15.4235, "name": "Eyjabakkar"},
{"id": 5960, "lat": 65.0795, "lon": -14.6748, "name": "Hallormsstaðaháls"},
{"id": 5965, "lat": 65.0364, "lon": -14.5711, "name": "Þórudalur"},
{"id": 5969, "lat": 65.0009, "lon": -14.4625, "name": "Þórdalsheiði"},
{"id": 5970, "lat": 65.0182, "lon": -14.4535, "name": "Hallsteinsdalsvarp"},
{"id": 5975, "lat": 65.0368, "lon": -14.2397, "name": "Kollaleira í Reyðarfirði"},
{"id": 5981, "lat": 65.0763, "lon": -14.037, "name": "Eskifjörður"},
{"id": 5982, "lat": 64.9372, "lon": -14.0407, "name": "Fáskrúðsfjörður Ljósaland"},
{"id": 5988, "lat": 64.937, "lon": -13.6846, "name": "Vattarnes"},
{"id": 5990, "lat": 65.1503, "lon": -13.6694, "name": "Neskaupstaður"},
{"id": 5992, "lat": 65.1618, "lon": -13.688, "name": "Neskaupstaður - Drangagil"},
{"id": 5993, "lat": 64.9778, "lon": -13.5192, "name": "Seley"},
{"id": 6012, "lat": 63.2993, "lon": -20.5995, "name": "Surtsey"},
{"id": 6015, "lat": 63.4359, "lon": -20.2758, "name": "Vestmannaeyjabær"},
{"id": 6017, "lat": 63.3996, "lon": -20.2882, "name": "Stórhöfði"},
{"id": 6045, "lat": 63.4236, "lon": -19.183, "name": "Vatnsskarðshólar"},
{"id": 6134, "lat": 63.5242, "lon": -19.6357, "name": "Önundarhorn"},
{"id": 6176, "lat": 63.5179, "lon": -17.9785, "name": "Skarðsfjöruviti"},
{"id": 6208, "lat": 63.7477, "lon": -20.6182, "name": "Þykkvibær"},
{"id": 6222, "lat": 63.7354, "lon": -20.1091, "name": "Sámsstaðir"},
{"id": 6235, "lat": 63.7757, "lon": -19.6773, "name": "Tindfjöll"},
{"id": 6237, "lat": 63.6791, "lon": -19.4814, "name": "Básar á Goðalandi"},
{
"id": 6272,
"lat": 63.79,
"lon": -18.011,
"name": "Kirkjubæjarklaustur - Stjórnarsandur",
},
{"id": 6300, "lat": 63.9355, "lon": -20.9707, "name": "Selfoss"},
{"id": 6310, "lat": 63.9628, "lon": -20.5669, "name": "Kálfhóll"},
{"id": 6315, "lat": 63.8257, "lon": -20.3654, "name": "Hella"},
{"id": 6420, "lat": 64.0405, "lon": -20.2521, "name": "Árnes"},
{"id": 6424, "lat": 64.0293, "lon": -20.0189, "name": "Mörk á Landi"},
{"id": 6430, "lat": 64.1168, "lon": -19.7449, "name": "Búrfell"},
{"id": 6459, "lat": 64.098, "lon": -18.614, "name": "Lónakvísl"},
{"id": 6472, "lat": 64.0255, "lon": -18.1196, "name": "Laufbali"},
{"id": 6499, "lat": 64.0157, "lon": -16.9667, "name": "Skaftafell"},
{"id": 6515, "lat": 64.2506, "lon": -20.3307, "name": "Hjarðarland"},
{"id": 6546, "lat": 64.1956, "lon": -19.0467, "name": "Vatnsfell"},
{"id": 6657, "lat": 64.3951, "lon": -18.5048, "name": "Veiðivatnahraun"},
{"id": 6670, "lat": 64.317, "lon": -18.217, "name": "Jökulheimar"},
{"id": 6745, "lat": 64.68, "lon": -19.282, "name": "Kerlingarfjöll - Ásgarðsfjall"},
{"id": 6748, "lat": 64.6043, "lon": -19.0186, "name": "Setur"},
{"id": 6760, "lat": 64.5819, "lon": -18.5987, "name": "Þúfuver"},
{"id": 6776, "lat": 64.5712, "lon": -18.1111, "name": "Hágöngur"},
{"id": 6802, "lat": 64.699, "lon": -20.869, "name": "Húsafell"},
{"id": 6935, "lat": 64.8668, "lon": -19.5622, "name": "Hveravellir"},
{"id": 6975, "lat": 64.933, "lon": -17.983, "name": "Sandbúðir"},
{"id": 7659, "lat": 66.063, "lon": -18.6309, "name": "Ólafsfjörður - Tindaöxl"},
{"id": 7736, "lat": 66.1684, "lon": -23.2681, "name": "Bolungarvík - Traðargil"},
{"id": 7753, "lat": 66.1535, "lon": -18.9352, "name": "Siglufjörður - Hafnarfjall"},
{"id": 9001, "lat": 63.99, "lon": -19.06, "name": "Landmannalaugar"},
{"id": 9002, "lat": 64.2328, "lon": -21.7117, "name": "Þverfellshorn á Esju"},
{"id": 9003, "lat": 63.662, "lon": -19.4515, "name": "Fimmvörðuháls"},
{"id": 9004, "lat": 63.9333, "lon": -19.1681, "name": "Hrafntinnusker"},
{"id": 9005, "lat": 64.015, "lon": -16.676, "name": "Hvannadalshjúkur"},
{"id": 9006, "lat": 65.042, "lon": -16.595, "name": "Dreki"},
{"id": 9007, "lat": 64.735, "lon": -18.073, "name": "Nýjidalur"},
{"id": 9008, "lat": 64.34, "lon": -21.216, "name": "Leggjarbrjótur"},
{"id": 9009, "lat": 64.805, "lon": -23.775, "name": "Snæfellsjökull"},
{"id": 9010, "lat": 66.369, "lon": -23.019, "name": "Aðalvík"},
{"id": 31109, "lat": 64.0888, "lon": -21.8366, "name": "Arnarnesvegur"},
{"id": 31122, "lat": 65.5807, "lon": -23.8552, "name": "Miklidalur"},
{"id": 31363, "lat": 64.0027, "lon": -22.2296, "name": "Reykjanesbraut"},
{"id": 31364, "lat": 63.8683, "lon": -22.4235, "name": "Grindavíkurvegur"},
{"id": 31365, "lat": 63.8595, "lon": -22.3436, "name": "Festarfjall"},
{"id": 31380, "lat": 63.8456, "lon": -21.6959, "name": "Selvogur"},
{"id": 31387, "lat": 63.9876, "lon": -21.4633, "name": "Þrengsli"},
{"id": 31392, "lat": 64.0188, "lon": -21.3424, "name": "Hellisheiði"},
{"id": 31399, "lat": 63.9574, "lon": -21.0633, "name": "Ingólfsfjall"},
{"id": 31475, "lat": 64.0797, "lon": -21.9029, "name": "Garðabær - Kauptún"},
{"id": 31488, "lat": 64.0621, "lon": -21.5593, "name": "Sandskeið"},
{"id": 31572, "lat": 64.3105, "lon": -21.966, "name": "Akrafjall"},
{"id": 31577, "lat": 64.2664, "lon": -21.8329, "name": "Blikdalsá"},
{"id": 31578, "lat": 64.287, "lon": -21.812, "name": "Tíðaskarð"},
{"id": 31579, "lat": 64.2106, "lon": -21.7667, "name": "Kjalarnes"},
{"id": 31591, "lat": 64.214, "lon": -21.3448, "name": "Mosfellsheiði"},
{"id": 31599, "lat": 64.2481, "lon": -21.023, "name": "Gjábakki"},
{"id": 31674, "lat": 64.4755, "lon": -21.9603, "name": "Hafnarfjall"},
{"id": 31840, "lat": 64.8221, "lon": -23.1894, "name": "Hraunsmúli"},
{"id": 31882, "lat": 64.6956, "lon": -21.6359, "name": "Kolás"},
{"id": 31931, "lat": 64.8479, "lon": -23.4807, "name": "Fróðárheiði"},
{"id": 31932, "lat": 64.9366, "lon": -23.5033, "name": "Búlandshöfði"},
{"id": 31942, "lat": 64.9665, "lon": -23.126, "name": "Kolgrafafjarðarbrú"},
{"id": 31948, "lat": 64.9095, "lon": -22.8649, "name": "Vatnaleið"},
{"id": 31950, "lat": 64.986, "lon": -22.8084, "name": "Stórholt"},
{"id": 31958, "lat": 64.831, "lon": -22.5328, "name": "Hafursfell"},
{"id": 31985, "lat": 64.8716, "lon": -21.5154, "name": "Brattabrekka"},
{"id": 32097, "lat": 64.9899, "lon": -21.0576, "name": "Holtavörðuheiði"},
{"id": 32179, "lat": 65.3058, "lon": -21.7396, "name": "Svínadalur í Dölum"},
{"id": 32190, "lat": 65.2066, "lon": -21.3277, "name": "Laxárdalsheiði"},
{"id": 32224, "lat": 65.5172, "lon": -23.7211, "name": "Kleifaheiði"},
{"id": 32322, "lat": 65.6444, "lon": -23.7106, "name": "Hálfdán"},
{"id": 32355, "lat": 65.655, "lon": -22.6088, "name": "Klettsháls"},
{"id": 32365, "lat": 65.564, "lon": -22.2461, "name": "Hjallaháls"},
{"id": 32372, "lat": 65.5277, "lon": -22.0234, "name": "Gillastaðamelar"},
{"id": 32377, "lat": 65.5524, "lon": -21.833, "name": "Þröskuldar"},
{"id": 32390, "lat": 65.5724, "lon": -21.329, "name": "Ennisháls"},
{"id": 32474, "lat": 65.7503, "lon": -22.1291, "name": "Steingrímsfjarðarheiði"},
{"id": 32533, "lat": 65.94, "lon": -23.4364, "name": "Gemlufallsheiði"},
{"id": 32635, "lat": 66.0808, "lon": -23.3733, "name": "Botn í Súgandafirði"},
{"id": 32654, "lat": 66.0449, "lon": -22.6817, "name": "Ögur"},
{"id": 33204, "lat": 65.3444, "lon": -20.804, "name": "Gauksmýri"},
{"id": 33357, "lat": 65.4676, "lon": -18.6987, "name": "Öxnadalsheiði"},
{"id": 33394, "lat": 65.6143, "lon": -17.2169, "name": "Mývatnsheiði"},
{"id": 33419, "lat": 65.6668, "lon": -20.2383, "name": "Blönduós Vegagerðarstöð"},
{"id": 33424, "lat": 65.7801, "lon": -20.0186, "name": "Þverárfjall"},
{"id": 33431, "lat": 65.5085, "lon": -19.6945, "name": "Vatnsskarð"},
{"id": 33480, "lat": 65.7426, "lon": -17.592, "name": "Kaldakinn"},
{"id": 33487, "lat": 65.697, "lon": -17.5032, "name": "Fljótsheiði"},
{"id": 33495, "lat": 65.7374, "lon": -17.1057, "name": "Hólasandur"},
{"id": 33563, "lat": 65.9518, "lon": -18.4593, "name": "Hámundarstaðaháls"},
{"id": 33576, "lat": 65.813, "lon": -17.991, "name": "Víkurskarð"},
{"id": 33643, "lat": 66.0711, "lon": -19.2785, "name": "Stafá"},
{"id": 33652, "lat": 66.1317, "lon": -18.9023, "name": "Hólshyrna"},
{"id": 33654, "lat": 66.1022, "lon": -18.813, "name": "Héðinsfjörður"},
{
"id": 33661,
"lat": 66.042,
"lon": -18.520,
"name": "Ólafsfjarðarvegur við Sauðanes",
},
{"id": 33750, "lat": 66.129, "lon": -19.0721, "name": "Siglufjarðarvegur"},
{
"id": 33751,
"lat": 66.178,
"lon": -18.975,
"name": "Siglufjarðarvegur Herkonugil",
},
{"id": 34073, "lat": 65.1264, "lon": -14.3327, "name": "Fagridalur"},
{"id": 34081, "lat": 65.1682, "lon": -14.339, "name": "Græfur í Fagradal"},
{"id": 34087, "lat": 65.0637, "lon": -13.9187, "name": "Oddsskarð"},
{"id": 34148, "lat": 65.3019, "lon": -15.2237, "name": "Jökuldalur"},
{"id": 34175, "lat": 65.2661, "lon": -14.259, "name": "Fjarðarheiði"},
{"id": 34238, "lat": 65.457, "lon": -15.5855, "name": "Möðrudalsöræfi II"},
{"id": 34326, "lat": 65.5583, "lon": -16.0113, "name": "Biskupsháls"},
{"id": 34348, "lat": 65.5947, "lon": -15.3158, "name": "Vopnafjarðarheiði"},
{"id": 34382, "lat": 65.5623, "lon": -13.9897, "name": "Vatnsskarð eystra"},
{"id": 34413, "lat": 65.6576, "lon": -16.5006, "name": "Mývatnsöræfi"},
{"id": 34450, "lat": 65.6571, "lon": -15.1652, "name": "Hauksstaðir"},
{"id": 34559, "lat": 65.8914, "lon": -14.8253, "name": "Sandvíkurheiði"},
{"id": 34700, "lat": 66.1487, "lon": -16.9752, "name": "Tjörnes - Gerðibrekka"},
{"id": 34732, "lat": 66.2984, "lon": -15.8933, "name": "Hófaskarð"},
{"id": 34733, "lat": 66.2532, "lon": -15.8161, "name": "Hálsar"},
{"id": 35116, "lat": 64.1848, "lon": -15.8145, "name": "Borgarhöfn"},
{"id": 35305, "lat": 63.9387, "lon": -16.7959, "name": "Öræfi"},
{"id": 35315, "lat": 63.9596, "lon": -16.4244, "name": "Kvísker Vegagerðarstöð"},
{"id": 35666, "lat": 64.4074, "lon": -14.5393, "name": "Hvalnes"},
{"id": 35769, "lat": 64.6558, "lon": -14.4527, "name": "Hamarsfjörður"},
{"id": 35880, "lat": 64.7199, "lon": -14.0363, "name": "Streiti"},
{"id": 35884, "lat": 64.7981, "lon": -13.8901, "name": "Kambaskriður"},
{"id": 35963, "lat": 64.8257, "lon": -14.6573, "name": "Öxi"},
{"id": 35965, "lat": 64.9068, "lon": -14.6034, "name": "Breiðdalsheiði"},
{"id": 35985, "lat": 64.8956, "lon": -13.8547, "name": "Víkurgerði"},
{"id": 36049, "lat": 63.4521, "lon": -19.0378, "name": "Reynisfjall"},
{"id": 36122, "lat": 63.6216, "lon": -20.0285, "name": "Markarfljót"},
{"id": 36127, "lat": 63.5784, "lon": -19.9016, "name": "Hvammur"},
{"id": 36132, "lat": 63.5429, "lon": -19.6906, "name": "Steinar"},
{"id": 36156, "lat": 63.4661, "lon": -18.6044, "name": "Mýrdalssandur"},
{"id": 36270, "lat": 63.7338, "lon": -18.1977, "name": "Eldhraun"},
{"id": 36308, "lat": 63.9306, "lon": -20.6653, "name": "Þjórsárbrú"},
{"id": 36386, "lat": 63.9575, "lon": -17.555, "name": "Lómagnúpur"},
{"id": 36391, "lat": 63.9362, "lon": -17.3503, "name": "Gígjukvísl"},
{"id": 36411, "lat": 64.1323, "lon": -20.5308, "name": "Skálholt"},
{"id": 36415, "lat": 64.1575, "lon": -20.3675, "name": "Bræðratunguvegur"},
{"id": 36504, "lat": 64.2018, "lon": -20.8062, "name": "Lyngdalsheiði"},
{"id": 36519, "lat": 64.3077, "lon": -20.2119, "name": "Gullfoss"},
]
| 68.987342 | 88 | 0.529679 | 2,948 | 21,800 | 3.916893 | 0.400611 | 0.042868 | 0.001559 | 0.002078 | 0.025461 | 0.016974 | 0.012298 | 0.012298 | 0.012298 | 0 | 0 | 0.250124 | 0.168303 | 21,800 | 315 | 89 | 69.206349 | 0.386741 | 0.022706 | 0 | 0 | 0 | 0 | 0.318197 | 0.001034 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.003344 | 0 | 0.003344 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e72c619b2957704fbdd47f45b5200fdb6fda83eb | 145 | py | Python | train/__init__.py | johnson7788/table-detect | 9ef8a5a549c6b76734be176cb9c033269d6ad968 | [
"MIT"
] | 6 | 2021-04-14T12:14:15.000Z | 2021-12-01T07:26:45.000Z | train/__init__.py | jtliutw/YoloUnet-table-detectcut | 67a9bf2386f6f9b87357332e51ad75cd44c7a5d3 | [
"MIT"
] | 2 | 2021-09-09T03:03:28.000Z | 2022-01-07T09:38:35.000Z | train/__init__.py | jtliutw/YoloUnet-table-detectcut | 67a9bf2386f6f9b87357332e51ad75cd44c7a5d3 | [
"MIT"
] | 4 | 2021-05-27T06:30:01.000Z | 2022-03-14T03:13:48.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Sep 10 02:52:45 2020
@author: chineseocr
"""
import sys
sys.path.append('.')
| 13.181818 | 35 | 0.627586 | 23 | 145 | 3.956522 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 0.158621 | 145 | 10 | 36 | 14.5 | 0.631148 | 0.682759 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e72cbf1b55bee00a0d876bfc70bc632a35164c68 | 797 | py | Python | main.py | Advik-B/YoutubeVideo-Downloader | c098b426472555a0035f48e8231518e08829b39a | [
"MIT"
] | 2 | 2021-09-30T04:30:14.000Z | 2021-10-11T09:56:17.000Z | main.py | Advik-B/YoutubeVideo-Downloader | c098b426472555a0035f48e8231518e08829b39a | [
"MIT"
] | 3 | 2021-09-29T11:46:45.000Z | 2021-09-30T04:30:34.000Z | main.py | Advik-B/YoutubeVideo-Downloader | c098b426472555a0035f48e8231518e08829b39a | [
"MIT"
] | null | null | null | from threading import Thread
from platform import system
from subprocess import run
from time import sleep
import os
try:
from functions import *
from search import *
from sounds import *
from PIL import Image
except ModuleNotFoundError:
run('python -m pip install -r requirements.txt' , shell=True)
from functions import *
from search import *
from sounds import *
from PIL import Image
#TODO: add support to use optprase module
# -Functions-
def cls():
platform = system().casefold()
if platform == 'windows':
run('cls' , shell=True)
elif platform == 'linux' or platform == 'darwin' or platform == 'mac':
run('clear' , shell=True)
else:
run('clear' ,shell=True)
def clear():
cls()
cls()
#NOTE: Work in progress 😅 | 24.151515 | 74 | 0.662484 | 104 | 797 | 5.086538 | 0.5 | 0.113422 | 0.071834 | 0.086957 | 0.26087 | 0.26087 | 0.26087 | 0.26087 | 0.26087 | 0.26087 | 0 | 0 | 0.239649 | 797 | 33 | 75 | 24.151515 | 0.871287 | 0.095358 | 0 | 0.444444 | 0 | 0 | 0.104312 | 0 | 0 | 0 | 0 | 0.030303 | 0 | 1 | 0.074074 | false | 0 | 0.481481 | 0 | 0.555556 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e72fa8047c9ff6a71611279a924c7dcca00d7e07 | 1,168 | py | Python | apiserver/workflows/WorkflowContext.py | baloise/oim-api | 6c2ee8214e5e0aefa8e1d5188b17b78cf85794f8 | [
"Apache-2.0"
] | 1 | 2021-05-28T08:09:51.000Z | 2021-05-28T08:09:51.000Z | apiserver/workflows/WorkflowContext.py | baloise/oimapi | 6c2ee8214e5e0aefa8e1d5188b17b78cf85794f8 | [
"Apache-2.0"
] | 12 | 2021-05-28T08:12:59.000Z | 2021-05-31T19:47:01.000Z | apiserver/workflows/WorkflowContext.py | baloise/oimapi | 6c2ee8214e5e0aefa8e1d5188b17b78cf85794f8 | [
"Apache-2.0"
] | null | null | null | from models.orders import Person
from models.orders import OrderItem
from typing import List
class WorkflowContextItem:
def __init__(self, changeno: str, item: OrderItem):
self.wfitem = {'id': item.id, 'changeno': changeno}
def getItemId(self) -> str:
return self.wfitem['id']
def getItemChangeno(self) -> str:
return self.wfitem['changeno']
class WorkflowContext:
def __init__(self, requester: Person):
self.requester = requester
self.changeno = None
self.items = []
def get_requester(self):
return self.requester
def set_changeno(self, changeno: str):
self.changeno = changeno
def get_changeno(self):
return self.changeno
def add_item(self, item: OrderItem, changeno: str):
wfitem = WorkflowContextItem(changeno, item)
self.items.append(wfitem)
def get_items(self) -> List[WorkflowContextItem]:
return self.items
def getItemChangeno(self, item: OrderItem):
for itm in self.items:
oid = itm.getItemId()
if oid == item.id:
return itm.getItemChangeno()
return None
| 25.955556 | 59 | 0.640411 | 131 | 1,168 | 5.610687 | 0.259542 | 0.081633 | 0.043537 | 0.059864 | 0.062585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263699 | 1,168 | 44 | 60 | 26.545455 | 0.854651 | 0 | 0 | 0 | 0 | 0 | 0.017123 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0.09375 | 0.15625 | 0.6875 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
e75ad4fb89f64fb549c470de0487b530160f8187 | 487 | py | Python | rest_framework_nr/exceptions.py | telegents/django-rest-framework-nr | 601d029d3a01bb8e1e3e633aaabe9da8f071f4db | [
"MIT"
] | null | null | null | rest_framework_nr/exceptions.py | telegents/django-rest-framework-nr | 601d029d3a01bb8e1e3e633aaabe9da8f071f4db | [
"MIT"
] | null | null | null | rest_framework_nr/exceptions.py | telegents/django-rest-framework-nr | 601d029d3a01bb8e1e3e633aaabe9da8f071f4db | [
"MIT"
] | null | null | null | from rest_framework.exceptions import status, APIException
class ConflictError(APIException):
"""
Base class for REST framework exceptions.
Subclasses should provide `.status_code` and `.default_detail` properties.
"""
status_code = status.HTTP_409_CONFLICT
default_detail = u'A database conflict occurred.'
def __init__(self, detail=None):
self.detail = detail if detail else self.default_detail
def __str__(self):
return self.detail
| 28.647059 | 78 | 0.724846 | 58 | 487 | 5.810345 | 0.586207 | 0.115727 | 0.136499 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.199179 | 487 | 16 | 79 | 30.4375 | 0.85641 | 0.238193 | 0 | 0 | 0 | 0 | 0.082857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
e7b48878df2596187c988632edba9588064381e8 | 535 | py | Python | tests/test_core.py | voidpp/vcp | 235b46b311342460a0ef62fead75b3bc8d3ac60c | [
"MIT"
] | 2 | 2015-09-17T15:00:14.000Z | 2018-04-06T07:31:17.000Z | tests/test_core.py | voidpp/vcp | 235b46b311342460a0ef62fead75b3bc8d3ac60c | [
"MIT"
] | null | null | null | tests/test_core.py | voidpp/vcp | 235b46b311342460a0ef62fead75b3bc8d3ac60c | [
"MIT"
] | null | null | null |
import unittest
from vcp import VCP
class FakeConfigLoader(object):
def __init__(self, config):
self.config = config
def load(self, filename):
self.filename = filename
return self.config
def save(self, filename):
pass
class TestCore(unittest.TestCase):
def test_build_from_empty(self):
vcp = VCP(FakeConfigLoader({}))
self.assertEquals(len(vcp.projects), 0)
self.assertEquals(len(vcp.repositories), 0)
self.assertEquals(vcp.default_project, None)
| 21.4 | 52 | 0.663551 | 62 | 535 | 5.596774 | 0.467742 | 0.086455 | 0.10951 | 0.126801 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004902 | 0.237383 | 535 | 24 | 53 | 22.291667 | 0.845588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.25 | false | 0.0625 | 0.125 | 0 | 0.5625 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
e7cb66ad55af6cbffb68210dc28a5df4ee100121 | 20,377 | py | Python | azure-keyvault/azure/keyvault/key_vault_client.py | azuresdkci1x/azure-sdk-for-python-1722 | e08fa6606543ce0f35b93133dbb78490f8e6bcc9 | [
"MIT"
] | 1 | 2018-11-09T06:16:34.000Z | 2018-11-09T06:16:34.000Z | azure-keyvault/azure/keyvault/key_vault_client.py | azuresdkci1x/azure-sdk-for-python-1722 | e08fa6606543ce0f35b93133dbb78490f8e6bcc9 | [
"MIT"
] | null | null | null | azure-keyvault/azure/keyvault/key_vault_client.py | azuresdkci1x/azure-sdk-for-python-1722 | e08fa6606543ce0f35b93133dbb78490f8e6bcc9 | [
"MIT"
] | 1 | 2018-11-09T06:17:41.000Z | 2018-11-09T06:17:41.000Z | #---------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#---------------------------------------------------------------------------------------------
import uuid
import re
from msrest.pipeline import ClientRawResponse
from azure.keyvault.generated import KeyVaultClient as _KeyVaultClient
from azure.keyvault.generated.models import KeyVaultErrorException
from .key_vault_id import *
# Pattern to detect vault/key/version parameters in generated code
_DOC_PATTERNS = {
re.compile(r"( +):param vault_base_url:.+:param key_name:.+:type key_version:[^\n]+",
re.MULTILINE+re.DOTALL):
"\\1:param key_identifier: The key identifier\n\\1:type key_identifier: str",
re.compile(r"( +):param vault_base_url:.+:param certificate_name:.+:type certificate_version:[^\n]+",
re.MULTILINE + re.DOTALL):
"\\1:param certificate_identifier: The certificate identifier\n\\1:type certificate_identifier: str",
re.compile(r"( +):param vault_base_url:.+:param secret_name:.+:type secret_version:[^\n]+",
re.MULTILINE + re.DOTALL):
"\\1:param secret_identifier: The secret identifier\n\\1:type secret_identifier: str",
}
def _patch_docstring(docstring):
"""Patch the documentation to replace vault/name/version by KeyVaultId.
:param str docstring: The Autorest generated DocString
:rtype: str
"""
for pattern, subs in _DOC_PATTERNS.items():
replaced, count = pattern.subn(subs, docstring)
if count:
return replaced
return docstring
class KeyVaultClient(object):
def __init__(self, credentials, accept_language='en-US', long_running_operation_retry_timeout=30, generate_client_request_id=True, filepath=None):
self.keyvault = _KeyVaultClient(
credentials,
accept_language=accept_language,
long_running_operation_retry_timeout=long_running_operation_retry_timeout,
generate_client_request_id=generate_client_request_id,
filepath=filepath)
def create_key(self, vault_base_url, key_name, kty, key_size=None, key_ops=None, key_attributes=None, tags=None, custom_headers=None, raw=False, **operation_config):
return self.keyvault.create_key(vault_base_url, key_name, kty, key_size, key_ops, key_attributes, tags, custom_headers, raw, **operation_config)
create_key.__doc__ = _KeyVaultClient.create_key.__doc__
def import_key(self, vault_base_url, key_name, key, hsm=None, key_attributes=None, tags=None, custom_headers=None, raw=False, **operation_config):
return self.keyvault.import_key(vault_base_url, key_name, key, hsm, key_attributes, tags, custom_headers, raw, **operation_config)
import_key.__doc__ = _KeyVaultClient.import_key.__doc__
def delete_key(self, vault_base_url, key_name, custom_headers=None, raw=False, **operation_config):
return self.keyvault.delete_key(vault_base_url, key_name, custom_headers, raw, **operation_config)
delete_key.__doc__ = _KeyVaultClient.delete_key.__doc__
def update_key(self, key_identifier, key_ops=None, key_attributes=None, tags=None, custom_headers=None, raw=False, **operation_config):
kid = parse_key_id(key_identifier)
return self.keyvault.update_key(kid.vault, kid.name, kid.version or '', key_ops, key_attributes, tags, custom_headers, raw, **operation_config)
update_key.__doc__ = _patch_docstring(_KeyVaultClient.update_key.__doc__)
def get_key(self, key_identifier, custom_headers=None, raw=False, **operation_config):
kid = parse_key_id(key_identifier)
return self.keyvault.get_key(kid.vault, kid.name, kid.version or '', custom_headers, raw, **operation_config)
get_key.__doc__ = _patch_docstring(_KeyVaultClient.get_key.__doc__)
def get_key_versions(self, vault_base_url, key_name, maxresults=None, custom_headers=None, raw=False, **operation_config):
return self.keyvault.get_key_versions(vault_base_url, key_name, maxresults, custom_headers, raw, **operation_config)
get_key_versions.__doc__ = _KeyVaultClient.get_key_versions.__doc__
def get_keys(self, vault_base_url, maxresults=None, custom_headers=None, raw=False, **operation_config):
return self.keyvault.get_keys(vault_base_url, maxresults, custom_headers, raw, **operation_config)
get_keys.__doc__ = _KeyVaultClient.get_keys.__doc__
def backup_key(self, vault_base_url, key_name, custom_headers=None, raw=False, **operation_config):
return self.keyvault.backup_key(vault_base_url, key_name, custom_headers, raw, **operation_config)
backup_key.__doc__ = _KeyVaultClient.backup_key.__doc__
def restore_key(self, vault_base_url, key_bundle_backup, custom_headers=None, raw=False, **operation_config):
return self.keyvault.restore_key(vault_base_url, key_bundle_backup, custom_headers, raw, **operation_config)
restore_key.__doc__ = _KeyVaultClient.restore_key.__doc__
def encrypt(self, key_identifier, algorithm, value, custom_headers=None, raw=False, **operation_config):
kid = parse_key_id(key_identifier)
return self.keyvault.encrypt(kid.vault, kid.name, kid.version or '', algorithm, value, custom_headers, raw, **operation_config)
encrypt.__doc__ = _patch_docstring(_KeyVaultClient.encrypt.__doc__)
def decrypt(self, key_identifier, algorithm, value, custom_headers=None, raw=False, **operation_config):
kid = parse_key_id(key_identifier)
return self.keyvault.decrypt(kid.vault, kid.name, kid.version or '', algorithm, value, custom_headers, raw, **operation_config)
decrypt.__doc__ = _patch_docstring(_KeyVaultClient.decrypt.__doc__)
def sign(self, key_identifier, algorithm, value, custom_headers=None, raw=False, **operation_config):
kid = parse_key_id(key_identifier)
return self.keyvault.sign(kid.vault, kid.name, kid.version or '', algorithm, value, custom_headers, raw, **operation_config)
sign.__doc__ = _patch_docstring(_KeyVaultClient.sign.__doc__)
def verify(self, key_identifier, algorithm, digest, signature, custom_headers=None, raw=False, **operation_config):
kid = parse_key_id(key_identifier)
return self.keyvault.verify(kid.vault, kid.name, kid.version or '', algorithm, digest, signature, custom_headers, raw, **operation_config)
verify.__doc__ = _patch_docstring(_KeyVaultClient.verify.__doc__)
def wrap_key(self, key_identifier, algorithm, value, custom_headers=None, raw=False, **operation_config):
kid = parse_key_id(key_identifier)
return self.keyvault.wrap_key(kid.vault, kid.name, kid.version or '', algorithm, value, custom_headers, raw, **operation_config)
wrap_key.__doc__ = _patch_docstring(_KeyVaultClient.wrap_key.__doc__)
def unwrap_key(self, key_identifier, algorithm, value, custom_headers=None, raw=False, **operation_config):
kid = parse_key_id(key_identifier)
return self.keyvault.unwrap_key(kid.vault, kid.name, kid.version or '', algorithm, value, custom_headers, raw, **operation_config)
unwrap_key.__doc__ = _patch_docstring(_KeyVaultClient.unwrap_key.__doc__)
def set_secret(self, vault_base_url, secret_name, value, tags=None, content_type=None, secret_attributes=None, custom_headers=None, raw=False, **operation_config):
return self.keyvault.set_secret(vault_base_url, secret_name, value, tags, content_type, secret_attributes, custom_headers, raw, **operation_config)
set_secret.__doc__ = _KeyVaultClient.set_secret.__doc__
def delete_secret(self, vault_base_url, secret_name, custom_headers=None, raw=False, **operation_config):
return self.keyvault.delete_secret(vault_base_url, secret_name, custom_headers, raw, **operation_config)
delete_secret.__doc__ = _KeyVaultClient.delete_secret.__doc__
def update_secret(self, secret_identifer, content_type=None, secret_attributes=None, tags=None, custom_headers=None, raw=False, **operation_config):
sid = parse_secret_id(secret_identifer)
return self.keyvault.update_secret(sid.vault, sid.name, sid.version or '', content_type, secret_attributes, tags, custom_headers, raw, **operation_config)
update_secret.__doc__ = _patch_docstring(_KeyVaultClient.update_secret.__doc__)
def get_secret(self, secret_identifer, custom_headers=None, raw=False, **operation_config):
sid = parse_secret_id(secret_identifer)
return self.keyvault.get_secret(sid.vault, sid.name, sid.version or '', custom_headers, raw, **operation_config)
get_secret.__doc__ = _patch_docstring(_KeyVaultClient.get_secret.__doc__)
def get_secrets(self, vault_base_url, maxresults=None, custom_headers=None, raw=False, **operation_config):
return self.keyvault.get_secrets(vault_base_url, maxresults, custom_headers, raw, **operation_config)
get_secrets.__doc__ = _KeyVaultClient.get_secrets.__doc__
def get_secret_versions(self, vault_base_url, secret_name, maxresults=None, custom_headers=None, raw=False, **operation_config):
return self.keyvault.get_secret_versions(vault_base_url, secret_name, maxresults, custom_headers, raw, **operation_config)
get_secret_versions.__doc__ = _KeyVaultClient.get_secret_versions.__doc__
def create_certificate(self, vault_base_url, certificate_name, certificate_policy=None, certificate_attributes=None, tags=None, custom_headers=None, raw=False, **operation_config):
return self.keyvault.create_certificate(vault_base_url, certificate_name, certificate_policy, certificate_attributes, tags, custom_headers, raw, **operation_config)
create_certificate.__doc__ = _KeyVaultClient.create_certificate.__doc__
def update_certificate(self, certificate_identifier, certificate_policy=None, certificate_attributes=None, tags=None, custom_headers=None, raw=False, **operation_config):
cid = parse_certificate_id(certificate_identifier)
return self.keyvault.update_certificate(cid.vault, cid.name, cid.version or '', certificate_policy, certificate_attributes, tags, custom_headers, raw, **operation_config)
update_certificate.__doc__ = _patch_docstring(_KeyVaultClient.update_certificate.__doc__)
def delete_certificate(self, vault_base_url, certificate_name, custom_headers=None, raw=False, **operation_config):
return self.keyvault.delete_certificate(vault_base_url, certificate_name, custom_headers, raw, **operation_config)
delete_certificate.__doc__ = _KeyVaultClient.delete_certificate.__doc__
def get_certificate(self, certificate_identifier, custom_headers=None, raw=False, **operation_config):
cid = parse_certificate_id(certificate_identifier)
return self.keyvault.get_certificate(cid.vault, cid.name, cid.version or '', custom_headers, raw, **operation_config)
get_certificate.__doc__ = _patch_docstring(_KeyVaultClient.get_certificate.__doc__)
def get_certificates(self, vault_base_url, maxresults=None, custom_headers=None, raw=False, **operation_config):
return self.keyvault.get_certificates(vault_base_url, maxresults, custom_headers, raw, **operation_config)
get_certificates.__doc__ = _KeyVaultClient.get_certificates.__doc__
def merge_certificate(self, vault_base_url, certificate_name, x509_certificates, certificate_attributes=None, tags=None, custom_headers=None, raw=False, **operation_config):
return self.keyvault.merge_certificate(vault_base_url, certificate_name, x509_certificates, certificate_attributes, tags, custom_headers, raw, **operation_config)
merge_certificate.__doc__ = _KeyVaultClient.merge_certificate.__doc__
def import_certificate(self, vault_base_url, certificate_name, base64_encoded_certificate, password=None, certificate_policy=None, certificate_attributes=None, tags=None, custom_headers=None, raw=False, **operation_config):
return self.keyvault.import_certificate(vault_base_url, certificate_name, base64_encoded_certificate, password, certificate_policy, certificate_attributes, tags, custom_headers, raw, **operation_config)
import_certificate.__doc__ = _KeyVaultClient.import_certificate.__doc__
def get_certificate_versions(self, vault_base_url, certificate_name, maxresults=None, custom_headers=None, raw=False, **operation_config):
return self.keyvault.get_certificate_versions(vault_base_url, certificate_name, maxresults, custom_headers, raw, **operation_config)
get_certificate_versions.__doc__ = _KeyVaultClient.get_certificate_versions.__doc__
# pylint: disable=redefined-builtin
def set_certificate_contacts(self, vault_base_url, contact_list=None, custom_headers=None, raw=False, **operation_config):
return self.keyvault.set_certificate_contacts(vault_base_url, contact_list, custom_headers, raw, **operation_config)
set_certificate_contacts.__doc__ = _KeyVaultClient.set_certificate_contacts.__doc__
def get_certificate_contacts(self, vault_base_url, custom_headers=None, raw=False, **operation_config):
return self.keyvault.get_certificate_contacts(vault_base_url, custom_headers, raw, **operation_config)
get_certificate_contacts.__doc__ = _KeyVaultClient.get_certificate_contacts.__doc__
def delete_certificate_contacts(self, vault_base_url, custom_headers=None, raw=False, **operation_config):
return self.keyvault.delete_certificate_contacts(vault_base_url, custom_headers, raw, **operation_config)
delete_certificate_contacts.__doc__ = _KeyVaultClient.delete_certificate_contacts.__doc__
def get_certificate_issuers(self, vault_base_url, maxresults=None, custom_headers=None, raw=False, **operation_config):
return self.keyvault.get_certificate_issuers(vault_base_url, maxresults, custom_headers, raw, **operation_config)
get_certificate_issuers.__doc__ = _KeyVaultClient.get_certificate_issuers.__doc__
def set_certificate_issuer(self, vault_base_url, issuer_name, provider, credentials=None, organization_details=None, attributes=None, custom_headers=None, raw=False, **operation_config):
return self.keyvault.set_certificate_issuer(vault_base_url, issuer_name, provider, credentials, organization_details, attributes, custom_headers, raw, **operation_config)
set_certificate_issuer.__doc__ = _KeyVaultClient.set_certificate_issuer.__doc__
def update_certificate_issuer(self, vault_base_url, issuer_name, provider=None, credentials=None, organization_details=None, attributes=None, custom_headers=None, raw=False, **operation_config):
return self.keyvault.update_certificate_issuer(vault_base_url, issuer_name, provider, credentials, organization_details, attributes, custom_headers, raw, **operation_config)
update_certificate_issuer.__doc__ = _KeyVaultClient.update_certificate_issuer.__doc__
def get_certificate_issuer(self, vault_base_url, issuer_name, custom_headers=None, raw=False, **operation_config):
return self.keyvault.get_certificate_issuer(vault_base_url, issuer_name, custom_headers, raw, **operation_config)
get_certificate_issuer.__doc__ = _KeyVaultClient.get_certificate_issuer.__doc__
def delete_certificate_issuer(self, vault_base_url, issuer_name, custom_headers=None, raw=False, **operation_config):
return self.keyvault.delete_certificate_issuer(vault_base_url, issuer_name, custom_headers, raw, **operation_config)
delete_certificate_issuer.__doc__ = _KeyVaultClient.delete_certificate_issuer.__doc__
def get_certificate_policy(self, vault_base_url, certificate_name, custom_headers=None, raw=False, **operation_config):
return self.keyvault.get_certificate_policy(vault_base_url, certificate_name, custom_headers, raw, **operation_config)
get_certificate_policy.__doc__ = _KeyVaultClient.get_certificate_policy.__doc__
def update_certificate_policy(self, vault_base_url, certificate_name, certificate_policy, custom_headers=None, raw=False, **operation_config):
return self.keyvault.update_certificate_policy(vault_base_url, certificate_name, certificate_policy, custom_headers, raw, **operation_config)
update_certificate_policy.__doc__ = _KeyVaultClient.update_certificate_policy.__doc__
def update_certificate_operation(self, vault_base_url, certificate_name, cancellation_requested, custom_headers=None, raw=False, **operation_config):
return self.keyvault.update_certificate_operation(vault_base_url, certificate_name, cancellation_requested, custom_headers, raw, **operation_config)
update_certificate_operation.__doc__ = _KeyVaultClient.update_certificate_operation.__doc__
def get_certificate_operation(self, vault_base_url, certificate_name, custom_headers=None, raw=False, **operation_config):
return self.keyvault.get_certificate_operation(vault_base_url, certificate_name, custom_headers, raw, **operation_config)
get_certificate_operation.__doc__ = _KeyVaultClient.get_certificate_operation.__doc__
def delete_certificate_operation(self, vault_base_url, certificate_name, custom_headers=None, raw=False, **operation_config):
return self.keyvault.delete_certificate_operation(vault_base_url, certificate_name, custom_headers, raw, **operation_config)
delete_certificate_operation.__doc__ = _KeyVaultClient.delete_certificate_operation.__doc__
def get_pending_certificate_signing_request(self, vault_base_url, certificate_name, custom_headers=None, raw=False, **operation_config):
"""Gets the Base64 pending certificate signing request (PKCS-10).
:param vault_base_url: The vault name, e.g.
https://myvault.vault.azure.net
:type vault_base_url: str
:param certificate_name: The name of the certificate
:type certificate_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: Base64 encoded pending certificate signing request (PKCS-10).
:rtype: str
:rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>`
if raw=true
"""
# Construct URL
url = '/certificates/{certificate-name}/pending'
path_format_arguments = {
'vaultBaseUrl': self.keyvault._serialize.url("vault_base_url", vault_base_url, 'str', skip_quote=True),
'certificate-name': self.keyvault._serialize.url("certificate_name", certificate_name, 'str')
}
url = self.keyvault._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self.keyvault._serialize.query("self.keyvault.config.api_version", self.keyvault.config.api_version, 'str')
# Construct headers
header_parameters = {}
header_parameters['Content-Type'] = 'application/json; charset=utf-8'
header_parameters['Accept'] = 'application/pkcs10'
if self.keyvault.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.keyvault.config.accept_language is not None:
header_parameters['accept-language'] = self.keyvault._serialize.header("self.keyvault.config.accept_language", self.keyvault.config.accept_language, 'str')
# Construct and send request
request = self.keyvault._client.get(url, query_parameters)
response = self.keyvault._client.send(request, header_parameters, **operation_config)
if response.status_code not in [200]:
raise KeyVaultErrorException(self.keyvault._deserialize, response)
deserialized = None
if response.status_code == 200:
deserialized = response.content
if raw:
client_raw_response = ClientRawResponse(deserialized, response)
return client_raw_response
return deserialized
try:
KeyVaultClient.__doc__ = _KeyVaultClient.__doc__
except (AttributeError, TypeError):
pass
| 68.609428 | 227 | 0.768906 | 2,497 | 20,377 | 5.801762 | 0.086504 | 0.078967 | 0.056326 | 0.059364 | 0.672603 | 0.612204 | 0.576862 | 0.536136 | 0.461862 | 0.424795 | 0 | 0.002034 | 0.131226 | 20,377 | 296 | 228 | 68.841216 | 0.816302 | 0.064583 | 0 | 0.074257 | 0 | 0 | 0.041519 | 0.016713 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222772 | false | 0.014851 | 0.059406 | 0.148515 | 0.514851 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
e7cc940aa4944054f6f703ba6a0185093ecf7980 | 809 | py | Python | parlai/agents/programr/parser/template/nodes/word.py | roholazandie/ParlAI | 32352cab81ecb666aefd596232c5ed9f33cbaeb9 | [
"MIT"
] | null | null | null | parlai/agents/programr/parser/template/nodes/word.py | roholazandie/ParlAI | 32352cab81ecb666aefd596232c5ed9f33cbaeb9 | [
"MIT"
] | null | null | null | parlai/agents/programr/parser/template/nodes/word.py | roholazandie/ParlAI | 32352cab81ecb666aefd596232c5ed9f33cbaeb9 | [
"MIT"
] | null | null | null | from parlai.agents.programr.parser.template.nodes.base import TemplateNode
from parlai.agents.programr.utils.logging.ylogger import YLogger
from parlai.agents.programr.utils.text.text import TextUtils
class TemplateWordNode(TemplateNode):
def __init__(self, word):
TemplateNode.__init__(self)
self._word = word
@property
def word(self):
return self._word
@word.setter
def word(self, word):
self._word = word
def resolve(self, brain):
YLogger.debug(brain, "[%s] resolved to [%s]", self.to_string(), self.word)
if self.word is not None:
return self.word
return ""
def to_string(self):
return "[WORD]" + self.word
def to_xml(self, client_context):
return TextUtils.html_escape(self.word)
| 26.096774 | 82 | 0.663782 | 103 | 809 | 5.058252 | 0.38835 | 0.153551 | 0.092131 | 0.138196 | 0.111324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23115 | 809 | 30 | 83 | 26.966667 | 0.837621 | 0 | 0 | 0.090909 | 0 | 0 | 0.033375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.136364 | 0.136364 | 0.681818 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
e7d0a4835e09abb865f79da49f883febbe1d1a7f | 3,618 | py | Python | sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql_flexibleservers/models/_my_sql_management_client_enums.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | 1 | 2022-03-09T08:59:13.000Z | 2022-03-09T08:59:13.000Z | sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql_flexibleservers/models/_my_sql_management_client_enums.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | null | null | null | sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql_flexibleservers/models/_my_sql_management_client_enums.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from enum import Enum
from six import with_metaclass
from azure.core import CaseInsensitiveEnumMeta
class ConfigurationSource(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""Source of the configuration.
"""
SYSTEM_DEFAULT = "system-default"
USER_OVERRIDE = "user-override"
class CreatedByType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The type of identity that created the resource.
"""
USER = "User"
APPLICATION = "Application"
MANAGED_IDENTITY = "ManagedIdentity"
KEY = "Key"
class CreateMode(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The mode to create a new MySQL server.
"""
DEFAULT = "Default"
POINT_IN_TIME_RESTORE = "PointInTimeRestore"
REPLICA = "Replica"
GEO_RESTORE = "GeoRestore"
class DataEncryptionType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
"""
AZURE_KEY_VAULT = "AzureKeyVault"
SYSTEM_MANAGED = "SystemManaged"
class EnableStatusEnum(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""Enum to indicate whether value is 'Enabled' or 'Disabled'
"""
ENABLED = "Enabled"
DISABLED = "Disabled"
class HighAvailabilityMode(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""High availability mode for a server.
"""
DISABLED = "Disabled"
ZONE_REDUNDANT = "ZoneRedundant"
SAME_ZONE = "SameZone"
class HighAvailabilityState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The state of server high availability.
"""
NOT_ENABLED = "NotEnabled"
CREATING_STANDBY = "CreatingStandby"
HEALTHY = "Healthy"
FAILING_OVER = "FailingOver"
REMOVING_STANDBY = "RemovingStandby"
class IsConfigPendingRestart(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""If is the configuration pending restart or not.
"""
TRUE = "True"
FALSE = "False"
class IsDynamicConfig(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""If is the configuration dynamic.
"""
TRUE = "True"
FALSE = "False"
class IsReadOnly(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""If is the configuration read only.
"""
TRUE = "True"
FALSE = "False"
class ReplicationRole(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The replication role.
"""
NONE = "None"
SOURCE = "Source"
REPLICA = "Replica"
class ServerState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The state of a server.
"""
READY = "Ready"
DROPPING = "Dropping"
DISABLED = "Disabled"
STARTING = "Starting"
STOPPING = "Stopping"
STOPPED = "Stopped"
UPDATING = "Updating"
class ServerVersion(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The version of a server.
"""
FIVE7 = "5.7"
EIGHT0_21 = "8.0.21"
class SkuTier(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The tier of the particular SKU, e.g. GeneralPurpose.
"""
BURSTABLE = "Burstable"
GENERAL_PURPOSE = "GeneralPurpose"
MEMORY_OPTIMIZED = "MemoryOptimized"
| 28.714286 | 94 | 0.674682 | 362 | 3,618 | 6.649171 | 0.444751 | 0.081014 | 0.209389 | 0.226838 | 0.319485 | 0.237225 | 0.122559 | 0.122559 | 0.078521 | 0 | 0 | 0.003731 | 0.185185 | 3,618 | 125 | 95 | 28.944 | 0.812754 | 0.300442 | 0 | 0.183333 | 0 | 0 | 0.151997 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
99bc407a981c0c04ea32db3f5f1cd38a044edfc9 | 409 | py | Python | colibris/skeleton/__packagename__/app.py | AMecea/colibris | 068b7cbc4ed328dd9f3b4c40c5227b026589b028 | [
"BSD-3-Clause"
] | 6 | 2019-06-22T19:36:10.000Z | 2021-11-16T08:07:21.000Z | colibris/skeleton/__packagename__/app.py | AMecea/colibris | 068b7cbc4ed328dd9f3b4c40c5227b026589b028 | [
"BSD-3-Clause"
] | 34 | 2019-07-07T18:01:41.000Z | 2020-11-01T16:14:58.000Z | colibris/skeleton/__packagename__/app.py | AMecea/colibris | 068b7cbc4ed328dd9f3b4c40c5227b026589b028 | [
"BSD-3-Clause"
] | 2 | 2020-09-01T13:07:17.000Z | 2021-07-29T12:16:29.000Z |
from colibris import app
from colibris import persist
def init(web_app, loop):
# Add your coroutines to the loop here.
pass
def get_health():
# Determine whether your service is currently healthy.
# Raise app.HealthException() in case of any problem.
if not persist.connectivity_check():
raise app.HealthException('database connectivity check failed')
return 'healthy'
| 20.45 | 71 | 0.718826 | 53 | 409 | 5.490566 | 0.716981 | 0.082474 | 0.123711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215159 | 409 | 19 | 72 | 21.526316 | 0.906542 | 0.347188 | 0 | 0 | 0 | 0 | 0.156489 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.25 | 0 | 0.625 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
99dbd20e2900f86b33db3b363d9933545c6a5294 | 16,043 | py | Python | InceptionModel.py | PashaIanko/Covid19Classifier | ee75a2b17babb8c9701351dfaa6052afa083168f | [
"MIT"
] | null | null | null | InceptionModel.py | PashaIanko/Covid19Classifier | ee75a2b17babb8c9701351dfaa6052afa083168f | [
"MIT"
] | 1 | 2022-01-27T13:30:38.000Z | 2022-01-27T13:30:38.000Z | InceptionModel.py | PashaIanko/Covid19Classifier | ee75a2b17babb8c9701351dfaa6052afa083168f | [
"MIT"
] | null | null | null | from tensorflow.keras.layers import Input
from tensorflow.keras.layers import Conv2D
from tensorflow.keras.layers import BatchNormalization
from tensorflow.keras.layers import Activation
from tensorflow.keras.layers import MaxPooling2D
from tensorflow.keras.layers import AveragePooling2D
from tensorflow.keras.layers import Flatten
from tensorflow.keras.layers import Dropout
from tensorflow.keras.layers import Dense
import tensorflow as tf
from tensorflow.keras.initializers import glorot_uniform
from tensorflow.keras.models import Model as tf_Model
def conv2d_bn(X_input, filters, kernel_size, strides, padding='same', activation=None,
name=None):
# defining name basis
conv_name_base = 'conv_'
bn_name_base = 'bn_'
X = Conv2D(filters = filters, kernel_size = kernel_size, strides = strides,
padding = padding, name = conv_name_base + name,
kernel_initializer = glorot_uniform(seed=0))(X_input)
X = BatchNormalization(axis = 3, name = bn_name_base + name)(X)
if activation is not None:
X = Activation(activation)(X)
return X
# FUNCTION: stem_block
def stem_block(X_input):
# First conv
X = conv2d_bn(X_input, filters = 32, kernel_size = (3, 3), strides = (2, 2),
padding = 'valid', activation='relu', name = 'stem_1th')
# Second conv
X = conv2d_bn(X, filters = 32, kernel_size = (3, 3), strides = (1, 1),
padding = 'valid', activation='relu', name = 'stem_2nd')
# Third conv
X = conv2d_bn(X, filters = 64, kernel_size = (3, 3), strides = (1, 1),
padding = 'same', activation='relu', name = 'stem_3rd')
# First branch: max pooling
branch1 = MaxPooling2D(pool_size = (3, 3), strides = (2, 2),
padding = 'valid', name = 'stem_1stbranch_1')(X)
# Second branch: conv
branch2 = conv2d_bn(X, filters = 96, kernel_size = (3, 3),
strides = (2, 2), padding = 'valid', activation='relu',
name = 'stem_1stbranch_2')
# Concatenate (1) branch1 and branch2 along the channel axis
X = tf.concat(values=[branch1, branch2], axis=3)
# First branch: 2 convs
branch1 = conv2d_bn(X, filters = 64, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = 'stem_2ndbranch_1_1')
branch1 = conv2d_bn(branch1, filters = 96, kernel_size = (3, 3),
strides = (1, 1), padding = 'valid', activation='relu',
name = 'stem_2ndbranch_1_2')
# Second branch: 4 convs
branch2 = conv2d_bn(X, filters = 64, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = 'stem_2ndbranch_2_1')
branch2 = conv2d_bn(branch2, filters = 64, kernel_size = (7, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = 'stem_2ndbranch_2_2')
branch2 = conv2d_bn(branch2, filters = 64, kernel_size = (1, 7),
strides = (1, 1), padding = 'same', activation='relu',
name = 'stem_2ndbranch_2_3')
branch2 = conv2d_bn(branch2, filters = 96, kernel_size = (3, 3),
strides = (1, 1), padding = 'valid', activation='relu',
name = 'stem_2ndbranch_2_4')
# Concatenate (2) branch1 and branch2 along the channel axis
X = tf.concat(values=[branch1, branch2], axis=3)
# First branch: conv
branch1 = conv2d_bn(X, filters = 192, kernel_size = (3, 3),
strides = (2, 2), padding = 'valid', activation='relu',
name = 'stem_3rdbranch_1')
# Second branch: max pooling
branch2 = MaxPooling2D(pool_size = (3, 3), strides = (2, 2),
padding = 'valid', name = 'stem_3rdbranch_2')(X)
# Concatenate (3) branch1 and branch2 along the channel axis
X = tf.concat(values=[branch1, branch2], axis=3)
return X
def inception_a_block(X_input, base_name):
"""
Implementation of the Inception-A block
Arguments:
X_input -- input tensor of shape (m, n_H_prev, n_W_prev, n_C_prev)
Returns:
X -- output of the block, tensor of shape (n_H, n_W, n_C)
"""
# Branch 1
branch1 = AveragePooling2D(pool_size = (3, 3), strides = (1, 1),
padding = 'same', name = base_name + 'ia_branch_1_1')(X_input)
branch1 = conv2d_bn(branch1, filters = 96, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ia_branch_1_2')
# Branch 2
branch2 = conv2d_bn(X_input, filters = 96, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ia_branch_2_1')
# Branch 3
branch3 = conv2d_bn(X_input, filters = 64, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ia_branch_3_1')
branch3 = conv2d_bn(branch3, filters = 96, kernel_size = (3, 3),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ia_branch_3_2')
# Branch 4
branch4 = conv2d_bn(X_input, filters = 64, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ia_branch_4_1')
branch4 = conv2d_bn(branch4, filters = 96, kernel_size = (3, 3),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ia_branch_4_2')
branch4 = conv2d_bn(branch4, filters = 96, kernel_size = (3, 3),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ia_branch_4_3')
# Concatenate branch1, branch2, branch3 and branch4 along the channel axis
X = tf.concat(values=[branch1, branch2, branch3, branch4], axis=3)
return X
def inception_b_block(X_input, base_name):
# Branch 1
branch1 = AveragePooling2D(pool_size = (3, 3), strides = (1, 1),
padding = 'same', name = base_name + 'ib_branch_1_1')(X_input)
branch1 = conv2d_bn(branch1, filters = 128, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ib_branch_1_2')
# Branch 2
branch2 = conv2d_bn(X_input, filters = 384, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ib_branch_2_1')
# Branch 3
branch3 = conv2d_bn(X_input, filters = 192, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ib_branch_3_1')
branch3 = conv2d_bn(branch3, filters = 224, kernel_size = (1, 7),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ib_branch_3_2')
branch3 = conv2d_bn(branch3, filters = 256, kernel_size = (7, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ib_branch_3_3')
# Branch 4
branch4 = conv2d_bn(X_input, filters = 192, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ib_branch_4_1')
branch4 = conv2d_bn(branch4, filters = 192, kernel_size = (1, 7),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ib_branch_4_2')
branch4 = conv2d_bn(branch4, filters = 224, kernel_size = (7, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ib_branch_4_3')
branch4 = conv2d_bn(branch4, filters = 224, kernel_size = (1, 7),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ib_branch_4_4')
branch4 = conv2d_bn(branch4, filters = 256, kernel_size = (7, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ib_branch_4_5')
# Concatenate branch1, branch2, branch3 and branch4 along the channel axis
X = tf.concat(values=[branch1, branch2, branch3, branch4], axis=3)
return X
def inception_c_block(X_input, base_name):
# Branch 1
branch1 = AveragePooling2D(pool_size = (3, 3), strides = (1, 1),
padding = 'same', name = base_name + 'ic_branch_1_1')(X_input)
branch1 = conv2d_bn(branch1, filters = 256, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ic_branch_1_2')
# Branch 2
branch2 = conv2d_bn(X_input, filters = 256, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ic_branch_2_1')
# Branch 3
branch3 = conv2d_bn(X_input, filters = 384, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ic_branch_3_1')
branch3_1 = conv2d_bn(branch3, filters = 256, kernel_size = (1, 3),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ic_branch_3_2')
branch3_2 = conv2d_bn(branch3, filters = 256, kernel_size = (3, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ic_branch_3_3')
# Branch 4
branch4 = conv2d_bn(X_input, filters = 384, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ic_branch_4_1')
branch4 = conv2d_bn(branch4, filters = 448, kernel_size = (1, 3),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ic_branch_4_2')
branch4 = conv2d_bn(branch4, filters = 512, kernel_size = (3, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ic_branch_4_3')
branch4_1 = conv2d_bn(branch4, filters = 256, kernel_size = (3, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ic_branch_4_4')
branch4_2 = conv2d_bn(branch4, filters = 256, kernel_size = (1, 3),
strides = (1, 1), padding = 'same', activation='relu',
name = base_name + 'ic_branch_4_5')
# Concatenate branch1, branch2, branch3_1, branch3_2, branch4_1 and branch4_2 along the channel axis
X = tf.concat(values=[branch1, branch2, branch3_1, branch3_2, branch4_1,
branch4_2], axis=3)
return X
def reduction_a_block(X_input):
# Branch 1
branch1 = MaxPooling2D(pool_size = (3, 3), strides = (2, 2),
padding = 'valid', name = 'ra_branch_1_1')(X_input)
# Branch 2
branch2 = conv2d_bn(X_input, filters = 384, kernel_size = (3, 3),
strides = (2, 2), padding = 'valid', activation='relu',
name = 'ra_branch_2_1')
# Branch 3
branch3 = conv2d_bn(X_input, filters = 192, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = 'ra_branch_3_1')
branch3 = conv2d_bn(branch3, filters = 224, kernel_size = (3, 3),
strides = (1, 1), padding = 'same', activation='relu',
name = 'ra_branch_3_2')
branch3 = conv2d_bn(branch3, filters = 256, kernel_size = (3, 3),
strides = (2, 2), padding = 'valid', activation='relu',
name = 'ra_branch_3_3')
# Concatenate branch1, branch2 and branch3 along the channel axis
X = tf.concat(values=[branch1, branch2, branch3], axis=3)
return X
def reduction_b_block(X_input):
# Branch 1
branch1 = MaxPooling2D(pool_size = (3, 3), strides = (2, 2),
padding = 'valid', name = 'rb_branch_1_1')(X_input)
# Branch 2
branch2 = conv2d_bn(X_input, filters = 192, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = 'rb_branch_2_1')
branch2 = conv2d_bn(branch2, filters = 192, kernel_size = (3, 3),
strides = (2, 2), padding = 'valid', activation='relu',
name = 'rb_branch_2_2')
# Branch 3
branch3 = conv2d_bn(X_input, filters = 256, kernel_size = (1, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = 'rb_branch_3_1')
branch3 = conv2d_bn(branch3, filters = 256, kernel_size = (1, 7),
strides = (1, 1), padding = 'same', activation='relu',
name = 'rb_branch_3_2')
branch3 = conv2d_bn(branch3, filters = 320, kernel_size = (7, 1),
strides = (1, 1), padding = 'same', activation='relu',
name = 'rb_branch_3_3')
branch3 = conv2d_bn(branch3, filters = 320, kernel_size = (3, 3),
strides = (2, 2), padding = 'valid', activation='relu',
name = 'rb_branch_3_4')
# Concatenate branch1, branch2 and branch3 along the channel axis
X = tf.concat(values=[branch1, branch2, branch3], axis=3)
return X
from Model import Model
from PreprocessingParameters import PreprocessingParameters
from DataProperties import DataProperties
class InceptionModel(Model):
def __init__(self, **kwargs):
super().__init__(**kwargs)
def init_name(self):
self.name = 'Inception'
def construct_model(self):
X_input = Input(
shape = PreprocessingParameters.target_shape + \
PreprocessingParameters.n_color_channels
)
X = stem_block(X_input)
# Four Inception A blocks
X = inception_a_block(X, 'a1')
X = inception_a_block(X, 'a2')
X = inception_a_block(X, 'a3')
X = inception_a_block(X, 'a4')
# Reduction A block
X = reduction_a_block(X)
# Seven Inception B blocks
X = inception_b_block(X, 'b1')
X = inception_b_block(X, 'b2')
X = inception_b_block(X, 'b3')
X = inception_b_block(X, 'b4')
X = inception_b_block(X, 'b5')
X = inception_b_block(X, 'b6')
X = inception_b_block(X, 'b7')
# Reduction B block
X = reduction_b_block(X)
# Three Inception C blocks
X = inception_c_block(X, 'c1')
X = inception_c_block(X, 'c2')
X = inception_c_block(X, 'c3')
# AVGPOOL (1 line). Use "X = AveragePooling2D(...)(X)"
kernel_pooling = X.get_shape()[1:3]
X = AveragePooling2D(kernel_pooling, name='avg_pool')(X)
X = Flatten()(X)
# Dropout
X = Dropout(rate = 0.2)(X)
# Output layer
X = Dense(
DataProperties.n_classes, activation='sigmoid', name='fc')(X)
### END CODE HERE ###
# Create model
self.model = tf_Model(inputs = X_input, outputs = X, name='Inceptionv4')
| 44.440443 | 104 | 0.545659 | 1,932 | 16,043 | 4.311077 | 0.082816 | 0.016088 | 0.103734 | 0.084524 | 0.794093 | 0.715572 | 0.705247 | 0.689879 | 0.63405 | 0.633569 | 0 | 0.067115 | 0.332232 | 16,043 | 360 | 105 | 44.563889 | 0.710352 | 0.082528 | 0 | 0.292373 | 0 | 0 | 0.085111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042373 | false | 0 | 0.063559 | 0 | 0.139831 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
99ef484fc884da47ab6473d952485ecc28d658e7 | 81 | py | Python | mimiron/core/constants.py | Nirovision/mimiron | adba1e762b1ae272c833f1843b179f3438f20774 | [
"MIT"
] | 3 | 2017-02-26T20:34:22.000Z | 2017-02-26T23:28:28.000Z | mimiron/core/constants.py | Nirovision/mimiron | adba1e762b1ae272c833f1843b179f3438f20774 | [
"MIT"
] | null | null | null | mimiron/core/constants.py | Nirovision/mimiron | adba1e762b1ae272c833f1843b179f3438f20774 | [
"MIT"
] | 1 | 2017-02-27T00:15:12.000Z | 2017-02-27T00:15:12.000Z | # -*- coding: utf-8 -*-
COMMIT_AUTHOR_NAME = 'Mimiron'
COMMIT_AUTHOR_EMAIL = ''
| 16.2 | 30 | 0.666667 | 10 | 81 | 5 | 0.8 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.148148 | 81 | 4 | 31 | 20.25 | 0.710145 | 0.259259 | 0 | 0 | 0 | 0 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
99ef7b0c61b06dc13cd7e50e96fbde3e96c59c26 | 2,567 | py | Python | SS_MTI/RadiationPattern.py | nienkebrinkman/SS_MTI | 2632214f7df9caaa53d33432193ba0602470d21a | [
"BSD-3-Clause"
] | null | null | null | SS_MTI/RadiationPattern.py | nienkebrinkman/SS_MTI | 2632214f7df9caaa53d33432193ba0602470d21a | [
"BSD-3-Clause"
] | null | null | null | SS_MTI/RadiationPattern.py | nienkebrinkman/SS_MTI | 2632214f7df9caaa53d33432193ba0602470d21a | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
def R_P(take_off_angle, strike, dip, rake, az):
""" Radiation pattern for P"""
inc = np.deg2rad(take_off_angle)
SR = Fault_geom_SR(dip, rake)
QR = Fault_geom_QR(strike, dip, rake, az)
PR = Fault_geom_PR(strike, dip, rake, az)
RP = SR * (3 * np.cos(inc) ** 2 - 1) - QR * np.sin(2 * inc) - PR * np.sin(inc) ** 2
return RP
def R_SV(take_off_angle, strike, dip, rake, az):
""" Radiation pattern for SV"""
inc = np.deg2rad(take_off_angle)
SR = Fault_geom_SR(dip, rake)
QR = Fault_geom_QR(strike, dip, rake, az)
PR = Fault_geom_PR(strike, dip, rake, az)
RSV = (3 / 2) * SR * np.sin(2 * inc) + QR * np.cos(2 * inc) + (1 / 2) * PR * np.sin(2 * inc)
return RSV
def R_SH(take_off_angle, strike, dip, rake, az):
""" Radiation pattern for SH"""
inc = np.deg2rad(take_off_angle)
QL = Fault_geom_QL(strike, dip, rake, az)
PL = Fault_geom_PL(strike, dip, rake, az)
RSH = -QL * np.cos(inc) - PL * np.sin(inc)
return RSH
def Fault_geom_SR(dip, rake):
""" Fault geometry factor for P - SV waves"""
delta = np.deg2rad(dip)
lambd = np.deg2rad(rake)
SR = np.sin(lambd) * np.sin(delta) * np.cos(delta)
return SR
def Fault_geom_QR(strike, dip, rake, az):
""" Fault geometry factor for P - SV waves"""
delta = np.deg2rad(dip)
lambd = np.deg2rad(rake)
phi_az = np.deg2rad(strike - az)
QR = np.sin(lambd) * np.cos(2 * delta) * np.sin(phi_az) + np.cos(lambd) * np.cos(
delta
) * np.cos(phi_az)
return QR
def Fault_geom_PR(strike, dip, rake, az):
""" Fault geometry factor for P - SV waves"""
delta = np.deg2rad(dip)
lambd = np.deg2rad(rake)
phi_az = np.deg2rad(strike - az)
PR = np.cos(lambd) * np.sin(delta) * np.sin(2 * phi_az) - np.sin(lambd) * np.sin(
delta
) * np.cos(delta) * np.cos(2 * phi_az)
return PR
def Fault_geom_PL(strike, dip, rake, az):
""" Fault geometry factor for SH waves"""
delta = np.deg2rad(dip)
lambd = np.deg2rad(rake)
phi_az = np.deg2rad(strike - az)
PL = np.sin(lambd) * np.sin(delta) * np.cos(delta) * np.sin(2 * phi_az) + np.cos(
lambd
) * np.sin(delta) * np.cos(2 * phi_az)
return PL
def Fault_geom_QL(strike, dip, rake, az):
""" Fault geometry factor for SH waves"""
delta = np.deg2rad(dip)
lambd = np.deg2rad(rake)
phi_az = np.deg2rad(strike - az)
QL = -np.cos(lambd) * np.cos(delta) * np.sin(phi_az) + np.sin(lambd) * np.cos(
2 * delta
) * np.cos(phi_az)
return QL
| 27.021053 | 96 | 0.595247 | 428 | 2,567 | 3.446262 | 0.100467 | 0.064407 | 0.114576 | 0.132203 | 0.858983 | 0.84678 | 0.800678 | 0.64339 | 0.612203 | 0.591864 | 0 | 0.018154 | 0.248929 | 2,567 | 94 | 97 | 27.308511 | 0.746888 | 0.101286 | 0 | 0.465517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137931 | false | 0 | 0.017241 | 0 | 0.293103 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
99fa2ed8d527b797bbaa2771854a9ad5c66166ea | 809 | py | Python | recommenders/similarity/similarity.py | edervishaj/spotify-recsys-challenge | 4077201ac7e4ed9da433bd10a92c183614182437 | [
"Apache-2.0"
] | 3 | 2018-10-12T20:19:57.000Z | 2019-12-11T01:11:38.000Z | recommenders/similarity/similarity.py | kiminh/spotify-recsys-challenge | 5e7844a77ce3c26658400f161d2d74d682f30e69 | [
"Apache-2.0"
] | null | null | null | recommenders/similarity/similarity.py | kiminh/spotify-recsys-challenge | 5e7844a77ce3c26658400f161d2d74d682f30e69 | [
"Apache-2.0"
] | 4 | 2018-10-27T20:30:18.000Z | 2020-10-14T07:43:27.000Z | import scipy.sparse as sp
import numpy as np
from recommenders.similarity.tversky import tversky_similarity as tversky
from recommenders.similarity.dot_product import dot_product as dot
from recommenders.similarity.cosine import cosine_similarity as cosine
from recommenders.similarity.jaccard import jaccard_similarity as jaccard, tanimoto_similarity as tanimoto
from recommenders.similarity.p3alpha_rp3beta import p3alpha_rp3beta_similarity as rp3beta
from recommenders.similarity.p3alpha_rp3beta import p3alpha_similarity as p3alpha
from recommenders.similarity.dice import dice_similarity as dice
from sklearn.preprocessing import normalize
COSINE = "cosine"
JACCARD = "jaccard"
AS_COSINE = "as_cosine"
P_3_AlPHA = "p3aplha"
TVERSKY = "tversky"
R_P_3_BETA = "rp3beta"
TANIMOTO = "tanimoto"
DICE = "dice"
| 40.45 | 106 | 0.84796 | 108 | 809 | 6.175926 | 0.259259 | 0.167916 | 0.272864 | 0.098951 | 0.158921 | 0.158921 | 0.158921 | 0 | 0 | 0 | 0 | 0.017882 | 0.10136 | 809 | 19 | 107 | 42.578947 | 0.899587 | 0 | 0 | 0 | 0 | 0 | 0.067985 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.555556 | 0 | 0.555556 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
82008c4e7f044544c059b870be56380b5f85dfa5 | 1,310 | py | Python | lib/rabbitmq-dotnet-client-rabbitmq_v3_4_4/docs/pyle2-fcfcf7e/web/__init__.py | CymaticLabs/Unity3d.Amqp | 42ca5de66fcda21ef6a4040bade99118b2ad6374 | [
"MIT"
] | 83 | 2017-03-15T12:43:25.000Z | 2022-03-31T12:38:44.000Z | lib/rabbitmq-dotnet-client-rabbitmq_v3_4_4/docs/pyle2-fcfcf7e/web/__init__.py | CymaticLabs/Unity3d.Amqp | 42ca5de66fcda21ef6a4040bade99118b2ad6374 | [
"MIT"
] | 18 | 2017-03-20T14:12:58.000Z | 2021-07-28T09:11:55.000Z | lib/rabbitmq-dotnet-client-rabbitmq_v3_4_4/docs/pyle2-fcfcf7e/web/__init__.py | CymaticLabs/Unity3d.Amqp | 42ca5de66fcda21ef6a4040bade99118b2ad6374 | [
"MIT"
] | 25 | 2017-04-01T01:40:02.000Z | 2022-02-20T11:08:12.000Z | #!/usr/bin/env python
from __future__ import generators
"""web.py: makes web apps (http://webpy.org)"""
__version__ = "0.2"
__revision__ = "$Rev: 62 $"
__author__ = "Aaron Swartz <me@aaronsw.com>"
__license__ = "public domain"
__contributors__ = "see http://webpy.org/changes"
# todo:
# - some sort of accounts system
import utils, db, net, wsgi, http, webapi, request, httpserver, debugerror
import template, form
from utils import *
from db import *
from net import *
from wsgi import *
from http import *
from webapi import *
from request import *
from httpserver import *
from debugerror import *
try:
import cheetah
from cheetah import *
except ImportError:
pass
def main():
import doctest
doctest.testmod(utils)
doctest.testmod(db)
doctest.testmod(net)
doctest.testmod(wsgi)
doctest.testmod(http)
doctest.testmod(webapi)
doctest.testmod(request)
try:
doctest.testmod(cheetah)
except NameError:
pass
template.test()
import sys
urls = ('/web.py', 'source')
class source:
def GET(self):
header('Content-Type', 'text/python')
print open(sys.argv[0]).read()
if listget(sys.argv, 1) != 'test':
run(urls, locals())
if __name__ == "__main__": main()
| 21.129032 | 74 | 0.648092 | 161 | 1,310 | 5.074534 | 0.496894 | 0.097919 | 0.029376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00597 | 0.232824 | 1,310 | 61 | 75 | 21.47541 | 0.806965 | 0.045038 | 0 | 0.088889 | 0 | 0 | 0.109076 | 0 | 0 | 0 | 0 | 0.016393 | 0 | 0 | null | null | 0.044444 | 0.377778 | null | null | 0.022222 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
82008d78b9263f71f40fd1c9ddadf904fcffb552 | 2,916 | py | Python | stubs.min/System/ComponentModel/__init___parts/LookupBindingPropertiesAttribute.py | ricardyn/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2021-02-02T13:39:16.000Z | 2021-02-02T13:39:16.000Z | stubs.min/System/ComponentModel/__init___parts/LookupBindingPropertiesAttribute.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/System/ComponentModel/__init___parts/LookupBindingPropertiesAttribute.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class LookupBindingPropertiesAttribute(Attribute,_Attribute):
"""
Specifies the properties that support lookup-based binding. This class cannot be inherited.
LookupBindingPropertiesAttribute()
LookupBindingPropertiesAttribute(dataSource: str,displayMember: str,valueMember: str,lookupMember: str)
"""
def Equals(self,obj):
"""
Equals(self: LookupBindingPropertiesAttribute,obj: object) -> bool
Determines whether the specified System.Object is equal to the current
System.ComponentModel.LookupBindingPropertiesAttribute instance.
obj: The System.Object to compare with the current
System.ComponentModel.LookupBindingPropertiesAttribute instance
Returns: true if the object is equal to the current instance; otherwise,false,
indicating they are not equal.
"""
pass
def GetHashCode(self):
"""
GetHashCode(self: LookupBindingPropertiesAttribute) -> int
Returns the hash code for this instance.
Returns: A hash code for the current
System.ComponentModel.LookupBindingPropertiesAttribute.
"""
pass
def __eq__(self,*args):
""" x.__eq__(y) <==> x==y """
pass
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self,dataSource=None,displayMember=None,valueMember=None,lookupMember=None):
"""
__new__(cls: type)
__new__(cls: type,dataSource: str,displayMember: str,valueMember: str,lookupMember: str)
"""
pass
def __ne__(self,*args):
pass
DataSource=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the name of the data source property for the component to which the System.ComponentModel.LookupBindingPropertiesAttribute is bound.
Get: DataSource(self: LookupBindingPropertiesAttribute) -> str
"""
DisplayMember=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the name of the display member property for the component to which the System.ComponentModel.LookupBindingPropertiesAttribute is bound.
Get: DisplayMember(self: LookupBindingPropertiesAttribute) -> str
"""
LookupMember=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the name of the lookup member for the component to which this attribute is bound.
Get: LookupMember(self: LookupBindingPropertiesAttribute) -> str
"""
ValueMember=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the name of the value member property for the component to which the System.ComponentModel.LookupBindingPropertiesAttribute is bound.
Get: ValueMember(self: LookupBindingPropertiesAttribute) -> str
"""
Default=None
| 37.384615 | 215 | 0.736626 | 327 | 2,916 | 6.370031 | 0.262997 | 0.057609 | 0.149784 | 0.046087 | 0.511762 | 0.471435 | 0.385022 | 0.385022 | 0.329333 | 0.329333 | 0 | 0 | 0.170439 | 2,916 | 77 | 216 | 37.87013 | 0.8611 | 0.421125 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0.315789 | 0 | 0 | 0.631579 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
8200b273d8b08975a43c75c5ac3d8fbf8e459d7f | 540 | py | Python | workerInfra/domain/outputInterface.py | jtom38/newsbot.worker | 6f5d93c474d21542f1af20e3b2537f26e2bcbbc3 | [
"MIT"
] | 1 | 2021-09-23T16:19:46.000Z | 2021-09-23T16:19:46.000Z | workerInfra/domain/outputInterface.py | jtom38/newsbot.worker | 6f5d93c474d21542f1af20e3b2537f26e2bcbbc3 | [
"MIT"
] | 10 | 2021-09-26T05:53:11.000Z | 2022-01-07T00:38:46.000Z | workerInfra/domain/outputInterface.py | jtom38/newsbot.worker | 6f5d93c474d21542f1af20e3b2537f26e2bcbbc3 | [
"MIT"
] | null | null | null | from abc import ABC, abstractclassmethod
from workerInfra.domain.loggerInterface import LoggerInterface
class OutputInterface(ABC):
_logger: LoggerInterface
@abstractclassmethod
def init(self) -> None:
raise NotImplementedError
@abstractclassmethod
def buildMessage(self) -> None:
raise NotImplementedError
@abstractclassmethod
def sendMessage(self) -> None:
raise NotImplementedError
@abstractclassmethod
def isSafeToRemove(self) -> bool:
raise NotImplementedError
| 23.478261 | 62 | 0.72963 | 44 | 540 | 8.931818 | 0.454545 | 0.223919 | 0.099237 | 0.244275 | 0.412214 | 0.412214 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212963 | 540 | 22 | 63 | 24.545455 | 0.924706 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
820c7d905c75a9bf0c722b17e164de4be9770109 | 1,922 | py | Python | tests/opytimizer/core/test_optimizer.py | anukaal/opytimizer | 5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9 | [
"Apache-2.0"
] | 528 | 2018-10-01T20:00:09.000Z | 2022-03-27T11:15:31.000Z | tests/opytimizer/core/test_optimizer.py | anukaal/opytimizer | 5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9 | [
"Apache-2.0"
] | 17 | 2019-10-30T00:47:03.000Z | 2022-03-21T11:39:28.000Z | tests/opytimizer/core/test_optimizer.py | anukaal/opytimizer | 5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9 | [
"Apache-2.0"
] | 35 | 2018-10-01T20:03:23.000Z | 2022-03-20T03:54:15.000Z | import sys
import numpy as np
from opytimizer.core import function, optimizer
from opytimizer.spaces import search
def test_optimizer_algorithm():
new_optimizer = optimizer.Optimizer()
assert new_optimizer.algorithm == 'Optimizer'
def test_optimizer_algorithm_setter():
new_optimizer = optimizer.Optimizer()
try:
new_optimizer.algorithm = 0
except:
new_optimizer.algorithm = 'Optimizer'
assert new_optimizer.algorithm == 'Optimizer'
def test_optimizer_params():
new_optimizer = optimizer.Optimizer()
assert new_optimizer.params == {}
def test_optimizer_params_setter():
new_optimizer = optimizer.Optimizer()
try:
new_optimizer.params = 1
except:
new_optimizer.params = {
'w': 1.5
}
assert new_optimizer.params['w'] == 1.5
def test_optimizer_built():
new_optimizer = optimizer.Optimizer()
assert new_optimizer.built == False
def test_optimizer_built_setter():
new_optimizer = optimizer.Optimizer()
try:
new_optimizer.built = 1
except:
new_optimizer.built = True
assert new_optimizer.built == True
def test_optimizer_build():
new_optimizer = optimizer.Optimizer()
new_optimizer.build({'w': 1.5})
def test_optimizer_compile():
new_optimizer = optimizer.Optimizer()
new_optimizer.compile(None)
def test_optimizer_update():
new_optimizer = optimizer.Optimizer()
new_optimizer.update()
def test_optimizer_evaluate():
def square(x):
return np.sum(x**2)
new_function = function.Function(square)
new_search_space = search.SearchSpace(n_agents=1, n_variables=2,
lower_bound=[0, 0], upper_bound=[10, 10])
new_optimizer = optimizer.Optimizer()
new_optimizer.evaluate(new_search_space, new_function)
assert new_search_space.best_agent.fit < sys.float_info.max
| 20.891304 | 83 | 0.689386 | 227 | 1,922 | 5.559471 | 0.23348 | 0.247227 | 0.126783 | 0.237718 | 0.504754 | 0.504754 | 0.310618 | 0.217908 | 0.096672 | 0 | 0 | 0.011952 | 0.216441 | 1,922 | 91 | 84 | 21.120879 | 0.826029 | 0 | 0 | 0.333333 | 0 | 0 | 0.015609 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 1 | 0.203704 | false | 0 | 0.074074 | 0.018519 | 0.296296 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
821b4747db4ee500f7cf682858808d94b88a7396 | 90 | py | Python | src/generate_profile/constants.py | NREL/EFFORT | b83e425d038c60f13b4c8da5b9c7caaf6b5f64d7 | [
"BSD-3-Clause"
] | null | null | null | src/generate_profile/constants.py | NREL/EFFORT | b83e425d038c60f13b4c8da5b9c7caaf6b5f64d7 | [
"BSD-3-Clause"
] | null | null | null | src/generate_profile/constants.py | NREL/EFFORT | b83e425d038c60f13b4c8da5b9c7caaf6b5f64d7 | [
"BSD-3-Clause"
] | null | null | null |
LOG_FORMAT = '%(asctime)s: %(levelname)s: %(message)s'
DATE_FORMAT = '%Y-%m-%d %H:%M:%S' | 22.5 | 54 | 0.588889 | 16 | 90 | 3.1875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 90 | 4 | 55 | 22.5 | 0.6375 | 0 | 0 | 0 | 0 | 0 | 0.622222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
823b70be48555ee0ff7a540a61106e788df97e25 | 13,150 | py | Python | data/datasets.py | shirgur/UMIS | d3be2fe6adc05843aa3d5dde2733ca43b3e5b149 | [
"Apache-2.0"
] | 67 | 2019-08-19T06:14:41.000Z | 2022-01-18T02:04:18.000Z | data/datasets.py | shirgur/UMIS | d3be2fe6adc05843aa3d5dde2733ca43b3e5b149 | [
"Apache-2.0"
] | 8 | 2019-10-31T13:11:26.000Z | 2022-02-21T14:53:43.000Z | data/datasets.py | shirgur/UMIS | d3be2fe6adc05843aa3d5dde2733ca43b3e5b149 | [
"Apache-2.0"
] | 13 | 2019-10-06T14:05:24.000Z | 2020-04-30T08:46:15.000Z | import torch
from torch.utils.data import Dataset
import glob
import tifffile as T
from libtiff import TIFF
import numpy as np
def range_normalize(v):
v = (v - v.mean(axis=(1, 2), keepdims=True)) / (v.std(axis=(1, 2), keepdims=True) + 1e-12)
v_min, v_max = v.min(axis=(1, 2), keepdims=True), v.max(axis=(1, 2), keepdims=True)
v = (v - v_min) / (v_max - v_min + 1e-5)
return v
def smart_padding(img, data_shape, lables_shape, stride):
if img.shape[0] < data_shape[0]:
img = np.pad(img, ((0, data_shape[0] - img.shape[0]), (0, 0), (0, 0)), mode='reflect')
if img.shape[1] < data_shape[1]:
img = np.pad(img, ((0, 0), (0, data_shape[1] - img.shape[1]), (0, 0)), mode='reflect')
if img.shape[2] < data_shape[2]:
img = np.pad(img, ((0, 0), (0, 0), (0, data_shape[2] - img.shape[1])), mode='reflect')
dz = int(np.floor((img.shape[0] - data_shape[0]) / stride[0] + 1))
dy = int(np.floor((img.shape[1] - data_shape[1]) / stride[1] + 1))
dx = int(np.floor((img.shape[2] - data_shape[2]) / stride[2] + 1))
effective_data_shape = (
data_shape[0] * dz - (data_shape[0] - stride[0]) * (dz - 1),
data_shape[1] * dy - (data_shape[1] - stride[1]) * (dy - 1),
data_shape[2] * dx - (data_shape[2] - stride[2]) * (dx - 1)
)
if effective_data_shape[0] < img.shape[0]:
img = np.pad(img,
(
(0, (data_shape[0] * (dz + 1) - (data_shape[0] - stride[0]) * dz) - img.shape[0]),
(0, 0),
(0, 0)),
mode='reflect')
if effective_data_shape[1] < img.shape[1]:
img = np.pad(img,
(
(0, 0),
(0, (data_shape[1] * (dy + 1) - (data_shape[1] - stride[1]) * dy) - img.shape[1]),
(0, 0)),
mode='reflect')
if effective_data_shape[2] < img.shape[2]:
img = np.pad(img,
(
(0, 0),
(0, 0),
(0, (data_shape[2] * (dx + 1) - (data_shape[2] - stride[2]) * dx) - img.shape[2])),
mode='reflect')
effective_data_shape = img.shape
effective_lable_shape = (
effective_data_shape[0] - (data_shape[0] - lables_shape[0]),
effective_data_shape[1] - (data_shape[1] - lables_shape[1]),
effective_data_shape[2] - (data_shape[2] - lables_shape[2])
)
if effective_lable_shape[0] < img.shape[0]:
img = np.pad(img, (((data_shape[0] - lables_shape[0]) // 2,
(data_shape[0] - lables_shape[0]) // 2 + (data_shape[0] - lables_shape[0]) % 2),
(0, 0),
(0, 0)),
mode='reflect')
if effective_lable_shape[1] < img.shape[1]:
img = np.pad(img, ((0, 0),
((data_shape[1] - lables_shape[1]) // 2,
(data_shape[1] - lables_shape[1]) // 2 + (data_shape[1] - lables_shape[1]) % 2),
(0, 0)),
mode='reflect')
if effective_lable_shape[2] < img.shape[2]:
img = np.pad(img, ((0, 0),
(0, 0),
((data_shape[2] - lables_shape[2]) // 2,
(data_shape[2] - lables_shape[2]) // 2 + (
data_shape[2] - lables_shape[2]) % 2)),
mode='reflect')
return img
class Single_Image_Eval(Dataset):
def __init__(self,
image_path='HaftJavaherian_DeepVess2018_GroundTruthImage.tif',
label_path='HaftJavaherian_DeepVess2018_GroundTruthLabel.tif',
data_shape=(7, 33, 33),
lables_shape=(1, 4, 4),
stride=(1, 1, 1),
range_norm=False):
self.range_norm = range_norm
try:
img = T.imread(image_path)
except:
img = []
tif = TIFF.open(image_path)
for _image in tif.iter_images():
img.append(_image)
img = np.stack(img, 0)
try:
lbl = T.imread(label_path)
except:
lbl = []
tif = TIFF.open(label_path)
for _lable in tif.iter_images():
lbl.append(_lable)
lbl = np.stack(lbl, 0)
img = smart_padding(img, data_shape, lables_shape, stride)
lbl = smart_padding(lbl, data_shape, lables_shape, stride)
self.org_shape = img.shape
self.img = img.astype(np.float32)
self.lbl = lbl.astype(np.float32)
self.shape = self.img.shape
self.data_shape = data_shape
self.lables_shape = lables_shape
self.stride = stride
self.dz = int(np.floor((self.shape[0] - data_shape[0]) / stride[0] + 1))
self.dy = int(np.floor((self.shape[1] - data_shape[1]) / stride[1] + 1))
self.dx = int(np.floor((self.shape[2] - data_shape[2]) / stride[2] + 1))
self.effective_data_shape = (
data_shape[0] * self.dz - (data_shape[0] - stride[0]) * (self.dz - 1),
data_shape[1] * self.dy - (data_shape[1] - stride[1]) * (self.dy - 1),
data_shape[2] * self.dx - (data_shape[2] - stride[2]) * (self.dx - 1)
)
self.effective_lable_shape = (
self.effective_data_shape[0] - (data_shape[0] - lables_shape[0]),
self.effective_data_shape[1] - (data_shape[1] - lables_shape[1]),
self.effective_data_shape[2] - (data_shape[2] - lables_shape[2])
)
self.effective_lable_idx = (
((data_shape[0] - lables_shape[0]) // 2,
self.effective_data_shape[0] - (
(data_shape[0] - lables_shape[0]) // 2 + (data_shape[0] - lables_shape[0]) % 2)),
((data_shape[1] - lables_shape[1]) // 2,
self.effective_data_shape[1] - (
(data_shape[1] - lables_shape[1]) // 2 + (data_shape[1] - lables_shape[1]) % 2)),
((data_shape[2] - lables_shape[2]) // 2,
self.effective_data_shape[2] - (
(data_shape[2] - lables_shape[2]) // 2 + (data_shape[2] - lables_shape[2]) % 2))
)
self.lbl_z = ((data_shape[0] - lables_shape[0]) // 2,
(data_shape[0] - lables_shape[0]) // 2 + lables_shape[0])
self.lbl_y = ((data_shape[1] - lables_shape[1]) // 2,
(data_shape[1] - lables_shape[1]) // 2 + lables_shape[1])
self.lbl_x = ((data_shape[2] - lables_shape[2]) // 2,
(data_shape[2] - lables_shape[2]) // 2 + lables_shape[2])
self.max_iter = self.dz * self.dy * self.dx
def __len__(self):
return self.max_iter
def __getitem__(self, index):
z, y, x = np.unravel_index(index, (self.dz, self.dy, self.dx))
z = z * self.stride[0]
y = y * self.stride[1]
x = x * self.stride[2]
v = self.img[z: z + self.data_shape[0],
y: y + self.data_shape[1],
x: x + self.data_shape[2]]
lbl = self.lbl[z: z + self.data_shape[0],
y: y + self.data_shape[1],
x: x + self.data_shape[2]]
lbl = lbl[self.lbl_z[0]: self.lbl_z[1],
self.lbl_y[0]: self.lbl_y[1],
self.lbl_x[0]: self.lbl_x[1]]
# Normalize
if self.range_norm:
v = range_normalize(v)
else:
v = (v - v.mean(axis=(1, 2), keepdims=True)) / (v.std(axis=(1, 2), keepdims=True) + 1e-12)
# To Tensor
data = torch.Tensor(v).unsqueeze(0)
lables = torch.Tensor(lbl // self.lbl.max()).long()
return data, lables
class Directory_Image_Train(Dataset):
def __init__(self,
images_path,
labels_path,
max_iter=1000,
data_shape=(7, 33, 33),
lables_shape=(1, 4, 4),
stride=(1, 1, 1),
range_norm=False):
self.range_norm = range_norm
images = sorted(glob.glob(images_path + '/*tif'))
labels = sorted(glob.glob(labels_path + '/*tif'))
self.org_shape = []
self.shape = []
self.img = []
self.lbl = []
self.data_shape = data_shape
self.lables_shape = lables_shape
self.stride = stride
self.dz = []
self.dy = []
self.dx = []
self.effective_data_shape = []
self.effective_lable_shape = []
self.effective_lable_idx = []
self.lbl_z = []
self.lbl_y = []
self.lbl_x = []
for img_path, lbl_path in zip(images, labels):
try:
img = T.imread(img_path)
except:
img = []
tif = TIFF.open(img_path)
for _image in tif.iter_images():
img.append(_image)
img = np.stack(img, 0)
try:
lbl = T.imread(lbl_path)
except:
lbl = []
tif = TIFF.open(lbl_path)
for _lable in tif.iter_images():
lbl.append(_lable)
lbl = np.stack(lbl, 0)
img = smart_padding(img, data_shape, lables_shape, stride)
lbl = smart_padding(lbl, data_shape, lables_shape, stride)
self.org_shape.append(img.shape)
self.img.append(img.astype(np.float32))
self.lbl.append(lbl.astype(np.float32))
shape = img.shape
self.shape.append(shape)
dz = int(np.floor((shape[0] - data_shape[0]) / stride[0] + 1))
dy = int(np.floor((shape[1] - data_shape[1]) / stride[1] + 1))
dx = int(np.floor((shape[2] - data_shape[2]) / stride[2] + 1))
effective_data_shape = (
data_shape[0] * dz - (data_shape[0] - stride[0]) * (dz - 1),
data_shape[1] * dy - (data_shape[1] - stride[1]) * (dy - 1),
data_shape[2] * dx - (data_shape[2] - stride[2]) * (dx - 1)
)
effective_lable_shape = (
effective_data_shape[0] - (data_shape[0] - lables_shape[0]),
effective_data_shape[1] - (data_shape[1] - lables_shape[1]),
effective_data_shape[2] - (data_shape[2] - lables_shape[2])
)
effective_lable_idx = (
((data_shape[0] - lables_shape[0]) // 2,
effective_data_shape[0] - (
(data_shape[0] - lables_shape[0]) // 2 + (data_shape[0] - lables_shape[0]) % 2)),
((data_shape[1] - lables_shape[1]) // 2,
effective_data_shape[1] - (
(data_shape[1] - lables_shape[1]) // 2 + (data_shape[1] - lables_shape[1]) % 2)),
((data_shape[2] - lables_shape[2]) // 2,
effective_data_shape[2] - (
(data_shape[2] - lables_shape[2]) // 2 + (data_shape[2] - lables_shape[2]) % 2))
)
lbl_z = ((data_shape[0] - lables_shape[0]) // 2,
(data_shape[0] - lables_shape[0]) // 2 + lables_shape[0])
lbl_y = ((data_shape[1] - lables_shape[1]) // 2,
(data_shape[1] - lables_shape[1]) // 2 + lables_shape[1])
lbl_x = ((data_shape[2] - lables_shape[2]) // 2,
(data_shape[2] - lables_shape[2]) // 2 + lables_shape[2])
self.dz.append(dz)
self.dy.append(dy)
self.dx.append(dx)
self.effective_data_shape.append(effective_data_shape)
self.effective_lable_shape.append(effective_lable_shape)
self.effective_lable_idx.append(effective_lable_idx)
self.lbl_z.append(lbl_z)
self.lbl_y.append(lbl_y)
self.lbl_x.append(lbl_x)
self.max_iter = max_iter
def __len__(self):
return self.max_iter
def __getitem__(self, index):
i = np.random.randint(0, len(self.img))
z = np.random.randint(0, self.dz[i])
y = np.random.randint(0, self.dy[i])
x = np.random.randint(0, self.dx[i])
z = z * self.stride[0]
y = y * self.stride[1]
x = x * self.stride[2]
v = self.img[i][z: z + self.data_shape[0],
y: y + self.data_shape[1],
x: x + self.data_shape[2]]
lbl = self.lbl[i][z: z + self.data_shape[0],
y: y + self.data_shape[1],
x: x + self.data_shape[2]]
lbl = lbl[self.lbl_z[i][0]: self.lbl_z[i][1],
self.lbl_y[i][0]: self.lbl_y[i][1],
self.lbl_x[i][0]: self.lbl_x[i][1]]
# Normalize
if self.range_norm:
v = range_normalize(v)
else:
v = (v - v.mean(axis=(1, 2), keepdims=True)) / (v.std(axis=(1, 2), keepdims=True) + 1e-12)
# To Tensor
data = torch.Tensor(v).unsqueeze(0)
lables = torch.Tensor(lbl // 255).long()
return data, lables
| 40.091463 | 108 | 0.496198 | 1,748 | 13,150 | 3.520595 | 0.059497 | 0.197433 | 0.063373 | 0.038024 | 0.809555 | 0.772668 | 0.692883 | 0.667046 | 0.626909 | 0.620572 | 0 | 0.049205 | 0.349354 | 13,150 | 327 | 109 | 40.214067 | 0.670056 | 0.002966 | 0 | 0.487455 | 0 | 0 | 0.012895 | 0.007325 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028674 | false | 0 | 0.021505 | 0.007168 | 0.078853 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 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 | 3 |
414ba430299c48d124ac96bbd6e592ab4ddfe913 | 485 | py | Python | src/library/drivers.py | Rezwanul-Haque/web_scraping_with_bs4_selenium | c445200aa2f63a73f1e413151d5de9c671b74443 | [
"MIT"
] | null | null | null | src/library/drivers.py | Rezwanul-Haque/web_scraping_with_bs4_selenium | c445200aa2f63a73f1e413151d5de9c671b74443 | [
"MIT"
] | null | null | null | src/library/drivers.py | Rezwanul-Haque/web_scraping_with_bs4_selenium | c445200aa2f63a73f1e413151d5de9c671b74443 | [
"MIT"
] | null | null | null | class Drivers:
pass
def CreatePhantomjsDriver(driver_path):
try:
from selenium import webdriver
# create a phantom js driver
PHANTOMJS_DRIVER = webdriver.PhantomJS(executable_path=driver_path)
return PHANTOMJS_DRIVER
except ImportError as exc:
raise ImportError(
"Couldn't import selenium. Are you sure it's installed them and "
"Did you forget to activate a virtual environment?"
) from exc
| 21.086957 | 77 | 0.661856 | 56 | 485 | 5.642857 | 0.714286 | 0.063291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292784 | 485 | 22 | 78 | 22.045455 | 0.921283 | 0.053608 | 0 | 0 | 0 | 0 | 0.247241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0.083333 | 0.333333 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
415468ea89cf6715ef28bf6788f4e5ebe6d33b52 | 109 | py | Python | django-server/src/apps/games/apps.py | martinogden/24hdujeu | cc35d82982b3157bb9eb5737db49c318d3b7fa32 | [
"Unlicense"
] | 1 | 2016-07-19T11:30:01.000Z | 2016-07-19T11:30:01.000Z | django-server/src/apps/games/apps.py | martinogden/24hdujeu | cc35d82982b3157bb9eb5737db49c318d3b7fa32 | [
"Unlicense"
] | null | null | null | django-server/src/apps/games/apps.py | martinogden/24hdujeu | cc35d82982b3157bb9eb5737db49c318d3b7fa32 | [
"Unlicense"
] | null | null | null | from django.apps import AppConfig
class Games(AppConfig):
name = 'games'
verbose_name = '24h du Jeu' | 21.8 | 33 | 0.706422 | 15 | 109 | 5.066667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.201835 | 109 | 5 | 34 | 21.8 | 0.850575 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
41655e6118313bc4327de7220402132ef0fcf70a | 708 | py | Python | pygate_grpc/exceptions.py | pygate/gRPC-client | 257f996c476f5fef3e8d9f73586ffff76a09986e | [
"MIT"
] | 23 | 2020-07-07T05:44:00.000Z | 2022-01-29T18:16:57.000Z | pygate_grpc/exceptions.py | pygate/gRPC-client | 257f996c476f5fef3e8d9f73586ffff76a09986e | [
"MIT"
] | 28 | 2020-07-07T08:29:15.000Z | 2021-02-25T00:25:20.000Z | pygate_grpc/exceptions.py | pygate/gRPC-client | 257f996c476f5fef3e8d9f73586ffff76a09986e | [
"MIT"
] | 2 | 2020-09-30T16:30:07.000Z | 2020-12-01T15:35:03.000Z | from grpc._channel import _MultiThreadedRendezvous
class GRPCNotAvailableException(Exception):
def __init__(self, err, *args, **kwargs):
super().__init__(*args, **kwargs)
self.original_err = err
class GRPCTimeoutException(_MultiThreadedRendezvous):
def __init__(self, err, *args, **kwargs):
super().__init__(*args, **kwargs)
self.original_err = err
class PyGateGenericException(Exception):
def __init__(self, err, *args, **kwargs):
super().__init__(*args, **kwargs)
self.original_err = err
def __repr__(self):
return self.original_err.__repr__()
def __str__(self):
return self.original_err.__str__()
| 27.230769 | 53 | 0.661017 | 72 | 708 | 5.833333 | 0.291667 | 0.142857 | 0.178571 | 0.1 | 0.621429 | 0.502381 | 0.502381 | 0.502381 | 0.502381 | 0.502381 | 0 | 0 | 0.220339 | 708 | 25 | 54 | 28.32 | 0.76087 | 0 | 0 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.058824 | 0.117647 | 0.647059 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
416efda4a0dfb9cfb4756570cfab24a640bbacbe | 362 | py | Python | app/models/horarios.py | RaimundoLima/Zivot | d11e22cccaa1e25bb11244c1178cfd374e386a79 | [
"Apache-2.0",
"bzip2-1.0.6"
] | null | null | null | app/models/horarios.py | RaimundoLima/Zivot | d11e22cccaa1e25bb11244c1178cfd374e386a79 | [
"Apache-2.0",
"bzip2-1.0.6"
] | null | null | null | app/models/horarios.py | RaimundoLima/Zivot | d11e22cccaa1e25bb11244c1178cfd374e386a79 | [
"Apache-2.0",
"bzip2-1.0.6"
] | null | null | null | from .base import Base
from sqlalchemy import Boolean,Date,DateTime,Time,ForeignKey,Column, Integer, Numeric, Binary, String,VARCHAR,Float
from sqlalchemy.orm import relationship
class Horarios(Base):
id_agenda=Column(ForeignKey('agenda.id'),nullable=False)
horario_inicio=Column(Time(),nullable=False)
horario_fim=Column(Time(),nullable=False)
| 40.222222 | 115 | 0.78453 | 47 | 362 | 5.978723 | 0.574468 | 0.13879 | 0.142349 | 0.163701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104972 | 362 | 9 | 116 | 40.222222 | 0.867284 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
417c5fac3653bca66c51b08bdb5a5395bac44fe3 | 211 | py | Python | backend/domain/contracts/schemas/new_order.py | uesleicarvalhoo/Ecommerce | 1d8d0f0c522dcd27fd90e315989b6fa93caf62b8 | [
"MIT"
] | null | null | null | backend/domain/contracts/schemas/new_order.py | uesleicarvalhoo/Ecommerce | 1d8d0f0c522dcd27fd90e315989b6fa93caf62b8 | [
"MIT"
] | null | null | null | backend/domain/contracts/schemas/new_order.py | uesleicarvalhoo/Ecommerce | 1d8d0f0c522dcd27fd90e315989b6fa93caf62b8 | [
"MIT"
] | null | null | null | from typing import List, Protocol
from uuid import UUID
class NewOrderItem(Protocol):
id: UUID
amount: int
class NewOrder(Protocol):
client_id: UUID
items: List[NewOrderItem]
amount: int
| 15.071429 | 33 | 0.7109 | 27 | 211 | 5.518519 | 0.518519 | 0.080537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222749 | 211 | 13 | 34 | 16.230769 | 0.908537 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.222222 | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
41c044084ef0552ffb995de2e37106bb33a857d5 | 2,481 | py | Python | activations.py | olenive/DeepHyperNEAT | 01636762473c71ab19825a756cd26e70d7928afc | [
"Apache-2.0"
] | 51 | 2019-02-01T19:43:37.000Z | 2022-03-16T09:07:03.000Z | activations.py | olenive/DeepHyperNEAT | 01636762473c71ab19825a756cd26e70d7928afc | [
"Apache-2.0"
] | 3 | 2020-05-28T16:36:00.000Z | 2021-09-30T18:24:40.000Z | activations.py | olenive/DeepHyperNEAT | 01636762473c71ab19825a756cd26e70d7928afc | [
"Apache-2.0"
] | 35 | 2019-02-08T02:00:31.000Z | 2022-03-01T23:17:00.000Z | '''
Container for activation functions.
Largely copied from neat-python. (Copyright 2015-2017, CodeReclaimers, LLC.)
'''
import math
import types
import numpy as np
def softmax(x):
e_x = np.exp(x - np.max(x))
return e_x / e_x.sum()
def sigmoid_activation(x):
return 1 / (1+math.exp(-x))
def tanh_activation(x):
return math.tanh(x)
def sin_activation(x):
return math.sin(x)
def tan_activation(z):
return math.tan(z)
def cos_activation(z):
return math.cos(z)
def gauss_activation(z):
'''
Bounding input within 3.4 standard deviations.
'''
z = max(-3.4, min(3.4, z))
return math.exp(-5.0 * z**2)
def sharp_gauss_activation(x):
mu = 0
z = abs(x)
return math.exp(-100.0 * (x-mu)**2)
def sharp_gauss_mu_2_activation(x):
mu = 2
return math.exp(-100.0 * (x-mu)**2)
def relu_activation(x):
return x if x > 0.0 else 0.0
def log_activation(x):
z = max(1e-7, x)
return math.log(x)
def exp_activation(x):
x = max(-60.0, min(60.0, z))
return math.exp(x)
def linear_activation(x):
return x
class InvalidActivationFunction(TypeError):
pass
def validate_activation(function):
if not isinstance(function,
(types.BuiltinFunctionType,
types.FunctionType,
types.LambdaType)):
raise InvalidActivationFunction("A function object is required.")
if function.__code__.co_argcount != 1: # avoid deprecated use of `inspect`
raise InvalidActivationFunction("A single-argument function is required.")
class ActivationFunctionSet(object):
"""
Contains the list of current valid activation functions,
including methods for adding and getting them.
"""
def __init__(self):
self.functions = {}
self.add('sigmoid', sigmoid_activation)
self.add('sin', sin_activation)
self.add('cos', cos_activation)
self.add('relu', relu_activation)
self.add('linear', linear_activation)
self.add('gauss', gauss_activation)
self.add('sharp_gauss', sharp_gauss_activation)
self.add('sharp_gauss2', sharp_gauss_mu_2_activation)
def add(self, name, function):
validate_activation(function)
self.functions[name] = function
def get(self, name):
f = self.functions.get(name)
if f is None:
raise InvalidActivationFunction("No such activation function: {0!r}".format(name))
return f | 26.115789 | 94 | 0.645304 | 340 | 2,481 | 4.579412 | 0.320588 | 0.063584 | 0.076429 | 0.01413 | 0.095055 | 0.030829 | 0.030829 | 0.030829 | 0.030829 | 0 | 0 | 0.02529 | 0.234986 | 2,481 | 95 | 95 | 26.115789 | 0.795047 | 0.120516 | 0 | 0.030769 | 0 | 0 | 0.071929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.261538 | false | 0.015385 | 0.046154 | 0.107692 | 0.553846 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
68da4f687bccdaf598b5bcd54672e11bc16a3ef7 | 225 | py | Python | perm_security/__init__.py | TheJoeSmo/perm-security | 2fd8ceb4fc72cce5889f55731056665a887399e1 | [
"MIT"
] | null | null | null | perm_security/__init__.py | TheJoeSmo/perm-security | 2fd8ceb4fc72cce5889f55731056665a887399e1 | [
"MIT"
] | null | null | null | perm_security/__init__.py | TheJoeSmo/perm-security | 2fd8ceb4fc72cce5889f55731056665a887399e1 | [
"MIT"
] | null | null | null | def validate(a, b) -> bool:
"""Determines if a class is valid against another"""
return a.__validate__(b)
from .MemberAdapter import *
from .Permission import *
from .TokenStrategy import *
from .Token import Token
| 22.5 | 56 | 0.72 | 30 | 225 | 5.266667 | 0.633333 | 0.189873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182222 | 225 | 9 | 57 | 25 | 0.858696 | 0.204444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.666667 | 0 | 1 | 0 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
68e571a96bb96643e75950f06017dde1d6a6a886 | 217 | py | Python | setup.py | trentsummerfield/safepoint2csv | ba7e42f49b44d8c222287cbd5adaef5da4ffc21a | [
"Unlicense"
] | null | null | null | setup.py | trentsummerfield/safepoint2csv | ba7e42f49b44d8c222287cbd5adaef5da4ffc21a | [
"Unlicense"
] | null | null | null | setup.py | trentsummerfield/safepoint2csv | ba7e42f49b44d8c222287cbd5adaef5da4ffc21a | [
"Unlicense"
] | null | null | null | from setuptools import setup
setup(
name='safepoint2csv',
version='1.0.0',
packages=['safepoint2csv'],
entry_points={
'console_scripts': ['safepoint2csv = safepoint2csv.__main__:main']
})
| 21.7 | 74 | 0.658986 | 21 | 217 | 6.52381 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04023 | 0.198157 | 217 | 9 | 75 | 24.111111 | 0.747126 | 0 | 0 | 0 | 0 | 0 | 0.410138 | 0.124424 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 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 | 0 | 0 | 0 | 3 |
68fcd2c3e1b5d81c49565998dd998d385fa0ad6d | 7,873 | py | Python | rubiks-cube-NxNxN-solver/rubikscubennnsolver/RubiksCube222.py | sliu54/mathworks-hackday-2020 | cc033c437e9630f3d7f848853768bd3e793b370d | [
"BSD-2-Clause"
] | null | null | null | rubiks-cube-NxNxN-solver/rubikscubennnsolver/RubiksCube222.py | sliu54/mathworks-hackday-2020 | cc033c437e9630f3d7f848853768bd3e793b370d | [
"BSD-2-Clause"
] | null | null | null | rubiks-cube-NxNxN-solver/rubikscubennnsolver/RubiksCube222.py | sliu54/mathworks-hackday-2020 | cc033c437e9630f3d7f848853768bd3e793b370d | [
"BSD-2-Clause"
] | null | null | null | from rubikscubennnsolver import RubiksCube, SolveError
import logging
log = logging.getLogger(__name__)
moves_222 = (
"U", "U'", "U2",
"L", "L'", "L2",
"F", "F'", "F2",
"R", "R'", "R2",
"B", "B'", "B2",
"D", "D'", "D2",
)
solved_222 = "UUUURRRRFFFFDDDDLLLLBBBB"
class RubiksCube222(RubiksCube):
def phase(self):
return "Solve 2x2x2"
def solve_non_table(self):
"""
100% of the credit for this 2x2x2 solver goes to
http://codegolf.stackexchange.com/questions/35002/solve-the-rubiks-pocket-cube
In the codegolf challenge they defined the input as
- - A B - - - -
- - C D - - - -
E F G H I J K L
M N O P Q R S T
- - U V - - - -
- - W X - - - -
But normally we number cubes like this
01 02
03 04
05 06 09 10 13 14 17 18
07 08 11 12 15 16 19 20
21 22
23 24
So we will define the former layout as "scramble" and the latter as "normal".
Convert the normal layout (sys.argv[1] must be in the 'normal' layout) to
the scramble layout.
"""
# 'normal' must be in U, R, F, D, L, B order
# This is the order used by the kociemba 3x3x3 solver so
# the rubiks-color-resolver uses this order
normal = self.get_kociemba_string(False)
upper = normal[0:4]
right = normal[4:8]
front = normal[8:12]
down = normal[12:16]
left = normal[16:20]
back = normal[20:24]
scramble = []
scramble.extend(upper)
scramble.append(left[0])
scramble.append(left[1])
scramble.append(front[0])
scramble.append(front[1])
scramble.append(right[0])
scramble.append(right[1])
scramble.append(back[0])
scramble.append(back[1])
scramble.append(left[2])
scramble.append(left[3])
scramble.append(front[2])
scramble.append(front[3])
scramble.append(right[2])
scramble.append(right[3])
scramble.append(back[2])
scramble.append(back[3])
scramble.extend(down)
data = [
{
"".join(
(" ", x)[x in scramble[12] + scramble[19] + scramble[22]]
for x in scramble
): []
},
{
" " * 4
+ (scramble[12] * 2 + " " * 4 + scramble[19] * 2) * 2
+ scramble[22] * 4: []
},
]
wtf_table = [
[0, 7, 2, 15, 4, 5, 6, 21, 16, 8, 3, 11, 12, 13, 14, 23, 17, 9, 1, 19, 20, 18, 22, 10],
[0, 7, 2, 15, 4, 5, 6, 21, 16, 8, 3, 11, 12, 13, 14, 23, 17, 9, 1, 19, 20, 18, 22, 10],
[0, 7, 2, 15, 4, 5, 6, 21, 16, 8, 3, 11, 12, 13, 14, 23, 17, 9, 1, 19, 20, 18, 22, 10],
[0, 7, 2, 15, 4, 5, 6, 21, 16, 8, 3, 11, 12, 13, 14, 23, 17, 9, 1, 19, 20, 18, 22, 10],
[2, 0, 3, 1, 6, 7, 8, 9, 10, 11, 4, 5, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23],
[2, 0, 3, 1, 6, 7, 8, 9, 10, 11, 4, 5, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23],
[2, 0, 3, 1, 6, 7, 8, 9, 10, 11, 4, 5, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23],
[2, 0, 3, 1, 6, 7, 8, 9, 10, 11, 4, 5, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23],
[0, 1, 13, 5, 4, 20, 14, 6, 2, 9, 10, 11, 12, 21, 15, 7, 3, 17, 18, 19, 16, 8, 22, 23],
[0, 1, 13, 5, 4, 20, 14, 6, 2, 9, 10, 11, 12, 21, 15, 7, 3, 17, 18, 19, 16, 8, 22, 23],
[0, 1, 13, 5, 4, 20, 14, 6, 2, 9, 10, 11, 12, 21, 15, 7, 3, 17, 18, 19, 16, 8, 22, 23],
[0, 1, 13, 5, 4, 20, 14, 6, 2, 9, 10, 11, 12, 21, 15, 7, 3, 17, 18, 19, 16, 8, 22, 23],
]
for h in (0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1):
for s, x in list(data[h].items()):
for y in range(12):
data[h][s] = x + [y - [1, -1, 1, 3][h * y % 4]]
if s in data[1 - h]:
try:
result = "".join(
"RUF"[int(x / 4)] + " 2'"[x % 4]
for x in data[0][s] + data[1][s][::-1]
)
except IndexError:
print("Cube is already solved")
sys.exit(0)
result = result.replace("2", "2 ")
result = result.replace("'", "' ")
for step in result.strip().split():
self.rotate(step)
return
s = "".join(s[x] for x in wtf_table[y])
raise SolveError("Could not find a solution")
def solve(self, solution333=None):
self.solve_non_table()
self.compress_solution()
# Cube is solved, rotate it around so white is on top, etc
# self.rotate_U_to_U()
# self.rotate_F_to_F()
swaps_222 = { "B": ( 0, 14, 16, 3, 4, 2, 6, 1, 8, 9, 10, 11, 12, 13, 24, 15, 23, 19, 17, 20, 18, 21, 22, 5, 7,), "B'": ( 0, 7, 5, 3, 4, 23, 6, 24, 8, 9, 10, 11, 12, 13, 1, 15, 2, 18, 20, 17, 19, 21, 22, 16, 14,), "B2": ( 0, 24, 23, 3, 4, 16, 6, 14, 8, 9, 10, 11, 12, 13, 7, 15, 5, 20, 19, 18, 17, 21, 22, 2, 1,), "D": ( 0, 1, 2, 3, 4, 5, 6, 19, 20, 9, 10, 7, 8, 13, 14, 11, 12, 17, 18, 15, 16, 23, 21, 24, 22,), "D'": ( 0, 1, 2, 3, 4, 5, 6, 11, 12, 9, 10, 15, 16, 13, 14, 19, 20, 17, 18, 7, 8, 22, 24, 21, 23,), "D2": ( 0, 1, 2, 3, 4, 5, 6, 15, 16, 9, 10, 19, 20, 13, 14, 7, 8, 17, 18, 11, 12, 24, 23, 22, 21,), "F": ( 0, 1, 2, 8, 6, 5, 21, 7, 22, 11, 9, 12, 10, 3, 14, 4, 16, 17, 18, 19, 20, 15, 13, 23, 24,), "F'": ( 0, 1, 2, 13, 15, 5, 4, 7, 3, 10, 12, 9, 11, 22, 14, 21, 16, 17, 18, 19, 20, 6, 8, 23, 24,), "F2": ( 0, 1, 2, 22, 21, 5, 15, 7, 13, 12, 11, 10, 9, 8, 14, 6, 16, 17, 18, 19, 20, 4, 3, 23, 24,), "L": ( 0, 20, 2, 18, 4, 7, 5, 8, 6, 1, 10, 3, 12, 13, 14, 15, 16, 17, 23, 19, 21, 9, 22, 11, 24,), "L'": ( 0, 9, 2, 11, 4, 6, 8, 5, 7, 21, 10, 23, 12, 13, 14, 15, 16, 17, 3, 19, 1, 20, 22, 18, 24,), "L2": ( 0, 21, 2, 23, 4, 8, 7, 6, 5, 20, 10, 18, 12, 13, 14, 15, 16, 17, 11, 19, 9, 1, 22, 3, 24,), "R": ( 0, 1, 10, 3, 12, 5, 6, 7, 8, 9, 22, 11, 24, 15, 13, 16, 14, 4, 18, 2, 20, 21, 19, 23, 17,), "R'": ( 0, 1, 19, 3, 17, 5, 6, 7, 8, 9, 2, 11, 4, 14, 16, 13, 15, 24, 18, 22, 20, 21, 10, 23, 12,), "R2": ( 0, 1, 22, 3, 24, 5, 6, 7, 8, 9, 19, 11, 17, 16, 15, 14, 13, 12, 18, 10, 20, 21, 2, 23, 4,), "U": ( 0, 3, 1, 4, 2, 9, 10, 7, 8, 13, 14, 11, 12, 17, 18, 15, 16, 5, 6, 19, 20, 21, 22, 23, 24,), "U'": ( 0, 2, 4, 1, 3, 17, 18, 7, 8, 5, 6, 11, 12, 9, 10, 15, 16, 13, 14, 19, 20, 21, 22, 23, 24,), "U2": ( 0, 4, 3, 2, 1, 13, 14, 7, 8, 17, 18, 11, 12, 5, 6, 15, 16, 9, 10, 19, 20, 21, 22, 23, 24,), "x": ( 0, 9, 10, 11, 12, 6, 8, 5, 7, 21, 22, 23, 24, 15, 13, 16, 14, 4, 3, 2, 1, 20, 19, 18, 17,), "x'": ( 0, 20, 19, 18, 17, 7, 5, 8, 6, 1, 2, 3, 4, 14, 16, 13, 15, 24, 23, 22, 21, 9, 10, 11, 12,), "x2": ( 0, 21, 22, 23, 24, 8, 7, 6, 5, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 1, 2, 3, 4,), "y": ( 0, 3, 1, 4, 2, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 5, 6, 7, 8, 22, 24, 21, 23,), "y'": ( 0, 2, 4, 1, 3, 17, 18, 19, 20, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 23, 21, 24, 22,), "y2": ( 0, 4, 3, 2, 1, 13, 14, 15, 16, 17, 18, 19, 20, 5, 6, 7, 8, 9, 10, 11, 12, 24, 23, 22, 21,), "z": ( 0, 7, 5, 8, 6, 23, 21, 24, 22, 11, 9, 12, 10, 3, 1, 4, 2, 18, 20, 17, 19, 15, 13, 16, 14,), "z'": ( 0, 14, 16, 13, 15, 2, 4, 1, 3, 10, 12, 9, 11, 22, 24, 21, 23, 19, 17, 20, 18, 6, 8, 5, 7,), "z2": ( 0, 24, 23, 22, 21, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 20, 19, 18, 17, 4, 3, 2, 1,), }
def rotate_222(cube, step):
return [cube[x] for x in swaps_222[step]]
| 51.123377 | 2,706 | 0.429696 | 1,474 | 7,873 | 2.278833 | 0.130258 | 0.027389 | 0.023817 | 0.025007 | 0.350104 | 0.314379 | 0.23638 | 0.224769 | 0.184579 | 0.183983 | 0 | 0.341338 | 0.359964 | 7,873 | 153 | 2,707 | 51.457516 | 0.325263 | 0.111266 | 0 | 0.126316 | 0 | 0 | 0.025205 | 0.003517 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042105 | false | 0 | 0.021053 | 0.021053 | 0.105263 | 0.010526 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
68fefcc25250221a5601c96003f0209fd35352ce | 335 | py | Python | app/blueprints/registry_api/blueprint.py | IGSN/isgn-registry-mvp | ad603de8bb7c2e98704bc14c9cc39aa90eb45e99 | [
"MIT"
] | null | null | null | app/blueprints/registry_api/blueprint.py | IGSN/isgn-registry-mvp | ad603de8bb7c2e98704bc14c9cc39aa90eb45e99 | [
"MIT"
] | null | null | null | app/blueprints/registry_api/blueprint.py | IGSN/isgn-registry-mvp | ad603de8bb7c2e98704bc14c9cc39aa90eb45e99 | [
"MIT"
] | 1 | 2021-12-13T06:53:33.000Z | 2021-12-13T06:53:33.000Z | """ file: blueprint.py (igsn-registry-api)
author: Jess Robertson, jessrobertson@icloud.com
date: July 2019
description: IGSN Registry API
"""
# pylint: disable=C0103
from flask import Blueprint
from flask_rest_jsonapi import Api
blueprint = Blueprint('igsn_registry_api', __name__)
api = Api(blueprint=blueprint) | 25.769231 | 53 | 0.743284 | 42 | 335 | 5.738095 | 0.595238 | 0.149378 | 0.186722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.164179 | 335 | 13 | 54 | 25.769231 | 0.832143 | 0.492537 | 0 | 0 | 0 | 0 | 0.112583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.75 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 3 |
ec15c3db6ce1e546d7f9d58eb40b4aebe1498b7a | 1,877 | py | Python | tests/test_main_redirects.py | ElijahPepe/stats.wwdt.me_v5 | 9b3d9d284fbdebbf6b3e7de5ef9fed8f709e48bc | [
"Apache-2.0"
] | null | null | null | tests/test_main_redirects.py | ElijahPepe/stats.wwdt.me_v5 | 9b3d9d284fbdebbf6b3e7de5ef9fed8f709e48bc | [
"Apache-2.0"
] | 1 | 2022-03-22T20:34:45.000Z | 2022-03-22T20:34:45.000Z | tests/test_main_redirects.py | ElijahPepe/stats.wwdt.me_v5 | 9b3d9d284fbdebbf6b3e7de5ef9fed8f709e48bc | [
"Apache-2.0"
] | 1 | 2022-03-14T23:25:18.000Z | 2022-03-14T23:25:18.000Z | # -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Testing Main Redirects Module and Blueprint Views"""
import pytest
def test_favicon(client):
"""Testing main_redirects.favicon"""
response = client.get("/favicon.ico")
assert response.status_code == 302
assert response.location
def test_guest(client):
"""Testing main_redirects.guest"""
response = client.get("/guest")
assert response.status_code == 302
assert response.location
def test_help(client):
"""Testing main_redirects.help"""
response = client.get("/help")
assert response.status_code == 302
assert response.location
def test_host(client):
"""Testing main_redirects.host"""
response = client.get("/host")
assert response.status_code == 302
assert response.location
def test_location(client):
"""Testing main_redirects.location"""
response = client.get("/guest")
assert response.status_code == 302
assert response.location
def test_scorekeeper(client):
"""Testing main_redirects.scorekeeper"""
response = client.get("/guest")
assert response.status_code == 302
assert response.location
def test_search(client):
"""Testing main_redirects.search"""
response = client.get("/search")
assert response.status_code == 302
assert response.location
def test_show(client):
"""Testing main_redirects.show"""
response = client.get("/show")
assert response.status_code == 302
assert response.location
@pytest.mark.parametrize("show_date", ["2018-10-27"])
def test_npr_show_redirect(client, show_date: str):
"""Testing main_redirects.guest"""
response = client.get(f"/s/{show_date}")
assert response.status_code == 302
assert response.location
| 26.069444 | 69 | 0.700586 | 238 | 1,877 | 5.390756 | 0.281513 | 0.196415 | 0.155885 | 0.168355 | 0.485581 | 0.485581 | 0.485581 | 0.433359 | 0.356976 | 0.356976 | 0 | 0.030888 | 0.172083 | 1,877 | 71 | 70 | 26.43662 | 0.794723 | 0.257326 | 0 | 0.552632 | 0 | 0 | 0.06348 | 0 | 0 | 0 | 0 | 0 | 0.473684 | 1 | 0.236842 | false | 0 | 0.026316 | 0 | 0.263158 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ec39319a5c6bb3feb383b10935debd6f20555953 | 79 | py | Python | URI/1 - INICIANTE/Python/1017 - GastoCombustivel.py | william-james-pj/LogicaProgramacao | 629f746e34da2e829dc7ea2e489ac36bb1b1fb13 | [
"MIT"
] | 1 | 2020-04-14T16:48:16.000Z | 2020-04-14T16:48:16.000Z | URI/1 - INICIANTE/Python/1017 - GastoCombustivel.py | william-james-pj/LogicaProgramacao | 629f746e34da2e829dc7ea2e489ac36bb1b1fb13 | [
"MIT"
] | null | null | null | URI/1 - INICIANTE/Python/1017 - GastoCombustivel.py | william-james-pj/LogicaProgramacao | 629f746e34da2e829dc7ea2e489ac36bb1b1fb13 | [
"MIT"
] | null | null | null | t = int(input())
v = int(input())
l = float((t*v)/12)
print('{:.3f}'.format(l)) | 19.75 | 25 | 0.531646 | 15 | 79 | 2.8 | 0.666667 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.113924 | 79 | 4 | 25 | 19.75 | 0.557143 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
ec43ced93b760c607e6275504d18afa67cdfd923 | 489 | py | Python | serverClasses/websocketDIr/SessionTicketStore.py | palomalo/RedRoomDiscussion | 5637cfbe37f29e91c8a047b4c05058b302302ef6 | [
"FSFAP"
] | 1 | 2020-03-26T20:53:57.000Z | 2020-03-26T20:53:57.000Z | serverClasses/websocketDIr/SessionTicketStore.py | palomalo/RedRoomDiscussion | 5637cfbe37f29e91c8a047b4c05058b302302ef6 | [
"FSFAP"
] | null | null | null | serverClasses/websocketDIr/SessionTicketStore.py | palomalo/RedRoomDiscussion | 5637cfbe37f29e91c8a047b4c05058b302302ef6 | [
"FSFAP"
] | null | null | null | from typing import Callable, Deque, Dict, List, Optional, Union, cast
from aioquic.tls import SessionTicket
class SessionTicketStore:
"""
Simple in-memory store for session tickets.
"""
def __init__(self) -> None:
self.tickets: Dict[bytes, SessionTicket] = {}
def add(self, ticket: SessionTicket) -> None:
self.tickets[ticket.ticket] = ticket
def pop(self, label: bytes) -> Optional[SessionTicket]:
return self.tickets.pop(label, None)
| 27.166667 | 69 | 0.674847 | 57 | 489 | 5.719298 | 0.561404 | 0.101227 | 0.092025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212679 | 489 | 17 | 70 | 28.764706 | 0.846753 | 0.087935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0.111111 | 0.777778 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
ec45954c4b99974563d06cad041e25d3e3677699 | 11,799 | py | Python | 2015/2015_18a.py | davidxiao93/Advent-of-Code | 29503100ae4eb46b048fc3ab68ff0181c6f00ee5 | [
"MIT"
] | null | null | null | 2015/2015_18a.py | davidxiao93/Advent-of-Code | 29503100ae4eb46b048fc3ab68ff0181c6f00ee5 | [
"MIT"
] | null | null | null | 2015/2015_18a.py | davidxiao93/Advent-of-Code | 29503100ae4eb46b048fc3ab68ff0181c6f00ee5 | [
"MIT"
] | null | null | null | input = """####.#.##.###.#.#.##.#..###.#..#.#.#..##....#.###...##..###.##.#.#.#.##...##..#..#....#.#.##..#...##
.##...##.##.######.#.#.##...#.#.#.#.#...#.##.#..#.#.####...#....#....###.#.#.#####....#.#.##.#.#.##.
###.##..#..#####.......#.########...#.####.###....###.###...#...####.######.#..#####.#.###....####..
....#..#..#....###.##.#.....##...#.###.#.#.#..#.#..##...#....#.##.###.#...######......#..#.#..####.#
..###.####..#.#.#..##.#.#....#......#.##.##..##.#.....##.###.#..###...###.#.##..#.#..###....####.#.#
#.#...#......####.#..##.####.#.#.#...##..###.##.#...#..#..###....#.#....#..##..#....##.....##.#...#.
....##.#.#.#.##..##...##..##..#....#....###...####.###...##.#...#..#....##.....#..#.#####.###.###.##
#...##..#.#..#....#..########.##....##..##.###..#.#..#..#.##.##.#..##..######....####..#####.#.###..
.####...######.#..#.##.#.#..####...####.##.#.#......#...##....##..#...###..#.####......###......#.##
.####.###..#..#####.##...###......#...###..#..##..#.#....##.##.#.##.###..#..#..###.#..#.#....####.##
#..#..##.##.##.###.#.##.##.#.#.#....#....#.####.#.##...#####...###.#####.#.#.#....####..###..###..##
#.##....#...########..##...#.#.##.......#.#..##...####...#.####.####..##...##.#....###.#.####...#.##
#.#...##..#.##.##..##....#.....##.##.....#...###...#..#...####.##.####..#...##..##.##.##.##..##...##
.#..###...#.#.....#######..##.###....##..#.##.#......###.##....#......###...#.##....#.....##......##
..##....#.###...###..####.##..#..##.##......##.#.....#...#..#..##...###..#.####...#...#..##.#..##..#
...#.#.#...#.#..#.##....##..#...#.##..#......#.#.....#####.##.#...#######.#.#..#.####..###.....###.#
.#....#.#.##..####.#####..#.#######..#.##.###...##.##....##..###..#.##.###.......#....#..######.####
#..#.##.##..#..#..##.####.#.#.#.#..#.##...#..######....#.##.#..##.##.######.###.###.###...#.....#.#.
.#.......#...#.####.##...#####..##..#.#....##..#.#.#.####.#.##....#..##.##..#.###.....#.##.##.#.##.#
#..##..##...#....#.##.#...#.#....#......####...##..#...##.##.#..#########..#..#.##.##..#.#.#######..
#.......#####..###..######.#..##.#.#####..##...###...#.####.##...###..#.#.#####....#...#.##...#.#..#
.##..#...#####.##.##......#...#.#.#.###.#.#.#...##.#..#....###.....#..#.#.###......#####.###.#..##.#
.....###.#.#.#..##...#...###..#...#.#.##..###.##.#####.##..#.#.#.#.#####....#.#.#####...##.#..#.#.#.
###...##.#..#.####..##.#..##.#.#.#...#.#..#..##..##..#.#.#.#.##...##..#..#.....#....#####.#.#.####.#
....##....#.#.....#...###.#...##..##.##..#..###..##.###..#####..#...#####.##.#..#.#.#.###...####.###
##.##.##.#...#..#...........##.##.###.#...###.####.#..#..#...#..#..####.#.###########..#.###.###.#.#
##.##..##.####..###...##...#....###.###.#..##..#..#.###.#..####.#..##.#.#...#..#.#.##.##...#...#....
..##...#.#.##....##...#.#.#......##.##.#.#.####.####....####.#.###.##.#.#..####..#..######..#..#.#..
####.#.##.......##.###....##.#..####.#.#######..#...###..##.##..#...#...####........#.#..##...#....#
#..#.#.....#..#.###..#.#...###..##...#.#..#.#.##..#...##.##.##.#.#.#..#.####.########....########..#
#...#..##.##..#.#.#.##.##.##.#..#..#.##....#....###.#.###.#.#..#....#...##..#.....####...##.#..#...#
.###...##...####....###.##.#..####...##.#.##.#..##..##....#....##.#...#..#..##..##..##.#...#...###..
.#..##.#..##..####..#.#.##..###.#...#....##.###...#.###....#.#.#........#..#.#.#..##..#####..#..#.#.
.#.##.....#..#...#.##.....#.##..#..#....#..#..#....#.##..##...#.##.##..##..#.#.#.##..####.##..#.#..#
...###.#.....#...#.##.#.###.#...##..#.###..#..#..#.#..#...###.#.##.##.##.#.##.#####.#..#.#..#.#...##
#.#.#.#.##.#.....##..#.###......##.#.##..#...#.########.##.###..#..#..##..##.#..##..###.#.###...#.#.
..##...##...#...###.#..##..#..#..#.#.##..##......##..##.....##.....####..#.##......#..####...###..##
##.......#..##....###...###......#.##.##....######..###.##...##.#...#...#.....#.###.#.#..#.##..#..#.
#.#..#..#.#####.##.##.###..#...###.....#..##..####...#.#.###....#..#.#.###.####..#.#........##.#....
..###.#...##.#.####.#.##.##.....##...#.##.#.###.#.#..##.#..##..#..##.##....#.#####.##..#######.....#
###.###..##.#..##...#####..##.####....#.##......##......#.#....##.####.#.#.#.###...#..####..#.######
#..###...#.#.......#..####.####...#....###.###...#.##..##..#..##.##.......####.##...#.#.#.##.#.#..#.
..#...#..###.##..#.#.#.##..#..#.#.......###..###..#####.#.#.#.#.#..#.#.#.#..###....#.####..###...#..
...######.###....#..####.####......#...#.###.#....#...####.##........##...##.#..##.###.#..#..##..###
.#..###.####.###.#.#..#..#..#.##.#.#.###.##..####.#####..##....##.#.##...###.####.#.#######.#..#..#.
.#..##.#..##..#...##...#..#..##.#.#....##.##...###.#.#...##..##..#.###.#.#.#.#...#....#.#..#.#.###.#
.###..#.#..####.#########...####....####.#.##...##.##..#.##.#........#.....###.###.######.##.....###
..##.##..##..#.####.#..#####.#....##.##.#####.....#.#......##...#####..####....###..#.#...#..####..#
.#..##..##.##.##.##.#.###.###.#..#..#...###.#.##..##...##...###...##.###..#.#.#####.#.#.##....#.##..
...#.#....##.#.....###.##...#..##....#...###....#..#.###...##.#...###.#....#...##..###.#.....##....#
.#######..#...##.#.###.##.#.###...##......#.###.#...#.###.#.#.#..#..#####..#########...##..##...#..#
.#..#.##...#.#..#.##..#.#.#.##.....####.#..#.###..##.#.#.#...#....#.#..##.######...#.#..##.##...#..#
#.#######.#####..#####.##.##.#.#.##.###..#....####.#..##.##.######..###...#.#..#.####.##.##....####.
...##..#...##..#..#.....#.##...#.....##.#####.###.########.######..#...###..#.##.#.#.##..#.#.##..##.
#..#..#.#....###.#...##..####.#.##..#.####.###..##.#...#.###.#..#.##..#######.#...#..#.#..##.#....##
..#.##.#.####..##.###.###..#.##.#.####..##....##.###.#..##.#.###.###.##.##.#####..#.#...########....
.#.#.###..###...#...#..##.##......#..#...#.#.#.######.#.#...##..##........#....###..##...#..##.##...
##..#....##.###...##.#.##.##.##..#....#.#.#..#..####.##..#...#...#..#..#####.###...#..###..#...#.#..
##.#.#.##.###.....######.#.....#...#.##....###.#.##.#.#.##..##.######.#####....#.#####...##.#..###.#
######.#...####..###..##..#..##...#.#....##.#...##...#.....#...##....#.##..###..###...###..#..######
.....##.........#####.#.##..#..#.#.#.#.##...#....#.....###.########...#..####..#...#...##..#.##.##.#
#..###...#.##.##.#.#..####.#.....##..###....##..#...#.#...##.##..###..####...#.####..##..#..##..#...
#.####.#..##.#..#.....#..#.#..###...######.#.........####....###..#.#.#.##.#..#...#..####.....##..#.
..##....#.###.......##.#...#.####..##....##.#..#....#######...####.##..#####.#.#.#.#.##..##..#.#.#..
#.#.#.###..#..#.#..#.#.###....#...#####.###...........#.#....#####...#..####....#...###.#..#..####..
.......#.####.##...#..#.##..###..#..#.#.#.#.###....#....#.#.#..#.#..##.#####.#.....#.##.#.###.###.##
..###...#..#...####.#..##..##.#.#..#...#.#..#....###.#..####..######...####.#.##..#.#..###...##.####
..#.###..#.#...##...#.#....#..#...#.#..##.######.######.#.##.....#..##.#..###..#..#.##.###...#..#.##
####..##.####.....#...#.#.###..#...####.###.#.#.#.......##...#....#..#....#.#......###...#####.#.##.
#..##..#..#.####...#####.#.###.##.#.##.....#.#..#.##........######.#.#.###....##.##..##..########.##
#.#....###.##....#######.#...#.#.#.#..##.#.##...#.###...#.#.#..#.#..####.#.#..#..#.##.####....#..##.
####.##....#.......###..#..##.#.#.##..#...#...##.###....##..###.#.#...#..#.....##.###.##...###....##
..##.#..#....######..#.##.#.#...##..####.#####...##.#..###.##...#..####..###.##..##.##.#####.#..#.#.
.#.##..#..##.#.###.###....#.#..#....#...###.##.#.#.####.....#....#...#.....#....#.#.###.#..#.##..###
..###.#.#.##...##.##.##.#...#####.#..##.#....##..####...###..#....#.##...#........#####.#.###.#..#..
....#..##..##....#.#....#.#..##...##.#...##.###.#.#..###..##.##.##..#.#.#..#.#.##.......#.##.###..#.
.#..##.##.####.##....##.##.....###..##.#.##...#..###....###.###....#.#....#....#.##.#.##.#.##.....##
#.#..#.##.###.#.######.....###.#..#...#.#.....##.###.#...#.#..###.#.....##.###.#.###.####..#####.#..
#.#.##......#.##.#.#..##....#..###.#.###...##...###.#..#.##...#..#.##..##.#...######.##.....#####.##
#.#..#####....###.###...#.......#....###.##...#..#.##..#...#####..#..#.##......###...#...###..#.#..#
#.##..##.##.#..#.##.##..#.###.##.........###.#.#..#.#.....#.#...#.#.##.#.##.#...#...####.#.......##.
.#...####.##..#..##....####..######...#.#..##.##.....#####.#...#..#.####.#######...#.#####..#.###...
.#..######.#.##..##...##.....###.#..##..#...####..###...###.###..#..######.#....########..#####...#.
#..##.......#####...###..#.#.##.#..###.#...##.#..#.##.###...###...##.#..##..########..#.#..##..#.###
.#.#..#...#.#..#..##...#.#.##...###..#..#....###.#....#.##....###.###..##..#.#.####..####.#######.##
...##..##.##.###.##.###...##.#.#.....##.####..#..##.#..#.####...##..#..#.##...##...###.##.#.......##
.#.....#.##..#.#.....#.##.##..###..#....###...#.#....##########.##.###.#...#.####..####.#..#.#..###.
.##.#.#.##..#..###.###.##.#########.#.#.#.#.##.###..##..#.##.####......#####...#..####.#.##..#####.#
..#....###...##....#.###..##..#..####.##..####.#..####.###.#....####.....#.###..##...##..####...##.#
.###.....###.##.##..###.###.....##..#.######.#.#..##..#.##.#..#.#.#....#...#.#.#...#...##....#..##.#
..##....#..#####....#..####.#.#...##.#....##..##.###.###....###......#...#.#####.......#...#.....###
###.#..#.#.##..#..#...#.#....###.##.#.###.#...#.##.#..#.#.......#.#.#.###.####.###....#..##..#####..
.#..#######.#..###.#.##.#####.#####...##..#.####.#.#.##..###...#..##.##..#.#.###..#....#..#...###.#.
..#####..#.##.....###..##.#...#.#.#..#######.#..#...#.##.##.#.#....####...###..##...#....####.#..#.#
.####..#.#.##.###.#.##.....#..##.#.....###.....#..##...#....###.###..#......###.#.#.#.##.#.##..#...#
##.#..##.#..##...#.#....##..######..#.....#..#...#####....##......####.##..#...##..#.##.#.#######..#
##..####.#...##...#.#####.#.#..#....#.#..##.####.#..######.#..#..#.......#####..#..#..###.##...##.##
#.####......#.###...#..####.#..##.##..#.#...##.###.#...#####..####.#..#.#.....#.##...###...#.#....##
###.#.#.##.######......#.#.#.#.#........#..#..###.#.#.#..#.........#..#....#.#..#..#..###.##......##
##.#########...#...###..#.###.....#.#.##.........###....#.####.#...###.#..##..#.###..#..##......#.##"""
target = 100
class Light:
def __init__(self, x, y, state):
self.x = x
self.y = y
self.state = state
self.next_state = None
def calculate_next_state(self, grid):
on_around = 0
for dy in range(-1, 2):
if self.y + dy < 0:
continue
for dx in range(-1, 2):
if dx == 0 and dy == 0:
continue
if self.x + dx < 0:
continue
try:
on_around += grid[self.y + dy][self.x + dx].state
except IndexError:
pass
if self.state == 1:
self.next_state = 1 if on_around == 2 or on_around == 3 else 0
else:
self.next_state = 1 if on_around == 3 else 0
def apply_next_state(self):
if self.next_state is None:
print("Invalid next state")
exit(1)
self.state = self.next_state
self.next_state = None
grid = []
for y, line in enumerate(input.splitlines()):
grid.append([
Light(x, y, 1 if l == "#" else 0)
for x, l in enumerate(line)
])
def update_grid(grid):
for y in range(len(grid)):
for x in range(len(grid[0])):
grid[y][x].calculate_next_state(grid)
for y in range(len(grid)):
for x in range(len(grid[0])):
grid[y][x].apply_next_state()
def pretty_print_grid(grid):
for row in grid:
print("".join([
"#" if l.state else "." for l in row
]))
for i in range(target):
update_grid(grid)
# pretty_print_grid(grid)
print(sum([l.state for row in grid for l in row]))
| 71.078313 | 111 | 0.072464 | 243 | 11,799 | 3.399177 | 0.213992 | 0.119855 | 0.094431 | 0.067797 | 0.276029 | 0.171913 | 0.171913 | 0.113801 | 0.113801 | 0.113801 | 0 | 0.002262 | 0.063226 | 11,799 | 165 | 112 | 71.509091 | 0.072469 | 0.001949 | 0 | 0.059211 | 0 | 0 | 0.859521 | 0.849329 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032895 | false | 0.006579 | 0 | 0 | 0.039474 | 0.026316 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ec48da9cdf6d539fb10c0cf29246ddd806aa9afa | 161 | py | Python | 2018/Day15/setup.py | dh256/adventofcode | 428eec13f4cbf153333a0e359bcff23070ef6d27 | [
"MIT"
] | null | null | null | 2018/Day15/setup.py | dh256/adventofcode | 428eec13f4cbf153333a0e359bcff23070ef6d27 | [
"MIT"
] | null | null | null | 2018/Day15/setup.py | dh256/adventofcode | 428eec13f4cbf153333a0e359bcff23070ef6d27 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name='day15',
author='David Hanley',
packages=['day15'],
description='Advent of Code 2018 Day 15 Solution'
) | 20.125 | 53 | 0.677019 | 20 | 161 | 5.45 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 0.204969 | 161 | 8 | 54 | 20.125 | 0.773438 | 0 | 0 | 0 | 0 | 0 | 0.351852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 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 | 0 | 0 | 0 | 3 |
ec4f13a3f2482e5dcd4ba71356d8e0880b761f84 | 328 | py | Python | test.py | wmacevoy/db1-wmacevoy | 0972ac406079b9f49bb3f844e07544248272304b | [
"MIT"
] | null | null | null | test.py | wmacevoy/db1-wmacevoy | 0972ac406079b9f49bb3f844e07544248272304b | [
"MIT"
] | null | null | null | test.py | wmacevoy/db1-wmacevoy | 0972ac406079b9f49bb3f844e07544248272304b | [
"MIT"
] | 1 | 2021-12-14T07:06:59.000Z | 2021-12-14T07:06:59.000Z | #!/usr/bin/env python
import sample
import location
import collector
import test_googleform2isoformat
import test_csvimport
def test():
sample.test_sample()
location.test_location()
collector.test_collector()
test_googleform2isoformat.test_googleform2isodatetime
test_csvimport.test_csvimport_row()
test() | 20.5 | 57 | 0.801829 | 37 | 328 | 6.837838 | 0.378378 | 0.15415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01049 | 0.128049 | 328 | 16 | 58 | 20.5 | 0.874126 | 0.060976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | true | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6b540ae0dbb27a00d72bce488d443c7a44e1b73f | 51 | py | Python | vedro/plugins/slicer/__init__.py | iri6e4k0/vedro | dd51c16400993d0fe1fd34bba57edff710ac2638 | [
"Apache-2.0"
] | 2 | 2021-08-24T12:49:30.000Z | 2022-01-23T07:21:25.000Z | vedro/plugins/slicer/__init__.py | iri6e4k0/vedro | dd51c16400993d0fe1fd34bba57edff710ac2638 | [
"Apache-2.0"
] | 20 | 2015-12-09T11:04:23.000Z | 2022-03-20T09:18:17.000Z | vedro/plugins/slicer/__init__.py | iri6e4k0/vedro | dd51c16400993d0fe1fd34bba57edff710ac2638 | [
"Apache-2.0"
] | 3 | 2015-12-09T07:31:23.000Z | 2022-01-28T11:03:24.000Z | from ._slicer import Slicer
__all__ = ("Slicer",)
| 12.75 | 27 | 0.705882 | 6 | 51 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 3 | 28 | 17 | 0.72093 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.