<commit_before>from polyaxon.config_manager import config

PUBLIC_PLUGIN_JOBS = config.get_boolean('POLYAXON_PUBLIC_PLUGIN_JOBS', is_optional=True)

# k8s
K8S_SERVICE_ACCOUNT_NAME = config.get_string('POLYAXON_K8S_SERVICE_ACCOUNT_NAME')
K8S_SERVICE_ACCOUNT_EXPERIMENTS = config.get_string('POLYAXON_K8S_SERVICE_ACCOUNT_EXPERIMENTS',
                                                    is_optional=True)
K8S_SERVICE_ACCOUNT_JOBS = config.get_string('POLYAXON_K8S_SERVICE_ACCOUNT_JOBS',
                                             is_optional=True)
K8S_SERVICE_ACCOUNT_BUILDS = config.get_string('POLYAXON_K8S_SERVICE_ACCOUNT_BUILDS',
                                               is_optional=True)
K8S_RBAC_ENABLED = config.get_boolean('POLYAXON_K8S_RBAC_ENABLED')
K8S_PROVISIONER_ENABLED = config.get_boolean('POLYAXON_K8S_PROVISIONER_ENABLED')
K8S_INGRESS_ENABLED = config.get_boolean('POLYAXON_K8S_INGRESS_ENABLED')
K8S_INGRESS_ANNOTATIONS = config.get_string('POLYAXON_K8S_INGRESS_ANNOTATIONS', is_optional=True)

# Builds
BUILD_ALWAYS_PULL_LATEST = config.get_boolean('POLYAXON_BUILD_ALWAYS_PULL_LATEST',
                                              is_optional=True,
                                              default=False)

# Refs
REFS_SECRETS = config.get_string('POLYAXON_REFS_SECRETS',
                                 is_optional=True,
                                 is_list=True,
                                 default=())
REFS_CONFIG_MAPS = config.get_string('POLYAXON_REFS_CONFIG_MAPS',
                                     is_optional=True,
                                     is_list=True,
                                     default=())

# Ports
TENSORBOARD_PORT_RANGE = [5700, 6700]
NOTEBOOK_PORT_RANGE = [6700, 7700]

# Roles
ROLE_LABELS_WORKER = config.get_string('POLYAXON_ROLE_LABELS_WORKER')
ROLE_LABELS_DASHBOARD = config.get_string('POLYAXON_ROLE_LABELS_DASHBOARD')
ROLE_LABELS_LOG = config.get_string('POLYAXON_ROLE_LABELS_LOG')
ROLE_LABELS_API = config.get_string('POLYAXON_ROLE_LABELS_API')

# Types
TYPE_LABELS_CORE = config.get_string('POLYAXON_TYPE_LABELS_CORE')
TYPE_LABELS_RUNNER = config.get_string('POLYAXON_TYPE_LABELS_RUNNER')

# Selectors
NODE_SELECTOR_EXPERIMENTS = config.get_string(
    'POLYAXON_NODE_SELECTOR_EXPERIMENTS', is_optional=True)
NODE_SELECTOR_JOBS = config.get_string(
    'POLYAXON_NODE_SELECTOR_JOBS', is_optional=True)
NODE_SELECTOR_BUILDS = config.get_string(
    'POLYAXON_NODE_SELECTOR_BUILDS', is_optional=True)
NODE_SELECTOR_TENSORBOARDS = config.get_string(
    'POLYAXON_NODE_SELECTOR_TENSORBOARDS', is_optional=True)
NODE_SELECTOR_CORE = config.get_string(
    'POLYAXON_NODE_SELECTOR_CORE', is_optional=True)

# Affinity
AFFINITY_EXPERIMENTS = config.get_string(
    'POLYAXON_AFFINITY_EXPERIMENTS', is_optional=True)
AFFINITY_JOBS = config.get_string(
    'POLYAXON_AFFINITY_JOBS', is_optional=True)
AFFINITY_BUILDS = config.get_string(
    'POLYAXON_AFFINITY_BUILDS', is_optional=True)
AFFINITY_TENSORBOARDS = config.get_string(
    'POLYAXON_AFFINITY_TENSORBOARDS', is_optional=True)
AFFINITY_CORE = config.get_string(
    'POLYAXON_AFFINITY_CORE', is_optional=True)

# Tolerations
TOLERATIONS_EXPERIMENTS = config.get_string(
    'POLYAXON_TOLERATIONS_EXPERIMENTS', is_optional=True)
TOLERATIONS_JOBS = config.get_string(
    'POLYAXON_TOLERATIONS_JOBS', is_optional=True)
TOLERATIONS_BUILDS = config.get_string(
    'POLYAXON_TOLERATIONS_BUILDS', is_optional=True)
TOLERATIONS_TENSORBOARDS = config.get_string(
    'POLYAXON_TOLERATIONS_TENSORBOARDS', is_optional=True)
TOLERATIONS_CORE = config.get_string(
    'POLYAXON_TOLERATIONS_CORE', is_optional=True)

CONTAINER_NAME_EXPERIMENT_JOB = config.get_string('POLYAXON_CONTAINER_NAME_EXPERIMENT_JOB',
                                                  is_optional=True,
                                                  default='polyaxon-experiment-job')
CONTAINER_NAME_JOB = config.get_string('POLYAXON_CONTAINER_NAME_JOB',
                                       is_optional=True,
                                       default='polyaxon-job')
CONTAINER_NAME_SIDECAR = config.get_string('POLYAXON_CONTAINER_NAME_SIDECAR',
                                           is_optional=True,
                                           default='polyaxon-job-sidecar')
CONTAINER_NAME_INIT = config.get_string('POLYAXON_CONTAINER_NAME_INIT',
                                        is_optional=True,
                                        default='polyaxon-job-init')
CONTAINER_NAME_PLUGIN_JOB = config.get_string('POLYAXON_CONTAINER_NAME_PLUGIN_JOB',
                                              is_optional=True,
                                              default='polyaxon-plugin-job')
CONTAINER_NAME_DOCKERIZER_JOB = config.get_string('POLYAXON_CONTAINER_NAME_DOCKERIZER_JOB',
                                                  is_optional=True,
                                                  default='polyaxon-dockerizer-job')
JOB_DOCKER_NAME = config.get_string('POLYAXON_JOB_DOCKER_NAME',
                                    is_optional=True,
                                    default='polyaxon/polyaxon-lib')
JOB_SIDECAR_DOCKER_IMAGE = config.get_string('POLYAXON_JOB_SIDECAR_DOCKER_IMAGE')
JOB_SIDECAR_DOCKER_IMAGE_PULL_POLICY = config.get_string(
    'POLYAXON_JOB_SIDECAR_DOCKER_IMAGE_PULL_POLICY',
    is_optional=True)
JOB_INIT_DOCKER_IMAGE = config.get_string('POLYAXON_JOB_INIT_DOCKER_IMAGE')
JOB_INIT_DOCKER_IMAGE_PULL_POLICY = config.get_string(
    'POLYAXON_JOB_INIT_DOCKER_IMAGE_PULL_POLICY',
    is_optional=True)
JOB_DOCKERIZER_IMAGE = config.get_string('POLYAXON_JOB_DOCKERIZER_IMAGE')
JOB_DOCKERIZER_IMAGE_PULL_POLICY = config.get_string(
    'POLYAXON_JOB_DOCKERIZER_IMAGE_PULL_POLICY',
    is_optional=True,)
TENSORBOARD_DOCKER_IMAGE = config.get_string('POLYAXON_TENSORBOARD_DOCKER_IMAGE',
                                             is_optional=True,
                                             default='tensorflow/tensorflow:1.4.1-py3')
JOB_SIDECAR_LOG_SLEEP_INTERVAL = config.get_int('POLYAXON_JOB_SIDECAR_LOG_SLEEP_INTERVAL',
                                                is_optional=True)<commit_msg>Update default tensorboard image to 1.12.0-py3<commit_after>from polyaxon.config_manager import config

PUBLIC_PLUGIN_JOBS = config.get_boolean('POLYAXON_PUBLIC_PLUGIN_JOBS', is_optional=True)

# k8s
K8S_SERVICE_ACCOUNT_NAME = config.get_string('POLYAXON_K8S_SERVICE_ACCOUNT_NAME')
K8S_SERVICE_ACCOUNT_EXPERIMENTS = config.get_string('POLYAXON_K8S_SERVICE_ACCOUNT_EXPERIMENTS',
                                                    is_optional=True)
K8S_SERVICE_ACCOUNT_JOBS = config.get_string('POLYAXON_K8S_SERVICE_ACCOUNT_JOBS',
                                             is_optional=True)
K8S_SERVICE_ACCOUNT_BUILDS = config.get_string('POLYAXON_K8S_SERVICE_ACCOUNT_BUILDS',
                                               is_optional=True)
K8S_RBAC_ENABLED = config.get_boolean('POLYAXON_K8S_RBAC_ENABLED')
K8S_PROVISIONER_ENABLED = config.get_boolean('POLYAXON_K8S_PROVISIONER_ENABLED')
K8S_INGRESS_ENABLED = config.get_boolean('POLYAXON_K8S_INGRESS_ENABLED')
K8S_INGRESS_ANNOTATIONS = config.get_string('POLYAXON_K8S_INGRESS_ANNOTATIONS', is_optional=True)

# Builds
BUILD_ALWAYS_PULL_LATEST = config.get_boolean('POLYAXON_BUILD_ALWAYS_PULL_LATEST',
                                              is_optional=True,
                                              default=False)

# Refs
REFS_SECRETS = config.get_string('POLYAXON_REFS_SECRETS',
                                 is_optional=True,
                                 is_list=True,
                                 default=())
REFS_CONFIG_MAPS = config.get_string('POLYAXON_REFS_CONFIG_MAPS',
                                     is_optional=True,
                                     is_list=True,
                                     default=())

# Ports
TENSORBOARD_PORT_RANGE = [5700, 6700]
NOTEBOOK_PORT_RANGE = [6700, 7700]

# Roles
ROLE_LABELS_WORKER = config.get_string('POLYAXON_ROLE_LABELS_WORKER')
ROLE_LABELS_DASHBOARD = config.get_string('POLYAXON_ROLE_LABELS_DASHBOARD')
ROLE_LABELS_LOG = config.get_string('POLYAXON_ROLE_LABELS_LOG')
ROLE_LABELS_API = config.get_string('POLYAXON_ROLE_LABELS_API')

# Types
TYPE_LABELS_CORE = config.get_string('POLYAXON_TYPE_LABELS_CORE')
TYPE_LABELS_RUNNER = config.get_string('POLYAXON_TYPE_LABELS_RUNNER')

# Selectors
NODE_SELECTOR_EXPERIMENTS = config.get_string(
    'POLYAXON_NODE_SELECTOR_EXPERIMENTS', is_optional=True)
NODE_SELECTOR_JOBS = config.get_string(
    'POLYAXON_NODE_SELECTOR_JOBS', is_optional=True)
NODE_SELECTOR_BUILDS = config.get_string(
    'POLYAXON_NODE_SELECTOR_BUILDS', is_optional=True)
NODE_SELECTOR_TENSORBOARDS = config.get_string(
    'POLYAXON_NODE_SELECTOR_TENSORBOARDS', is_optional=True)
NODE_SELECTOR_CORE = config.get_string(
    'POLYAXON_NODE_SELECTOR_CORE', is_optional=True)

# Affinity
AFFINITY_EXPERIMENTS = config.get_string(
    'POLYAXON_AFFINITY_EXPERIMENTS', is_optional=True)
AFFINITY_JOBS = config.get_string(
    'POLYAXON_AFFINITY_JOBS', is_optional=True)
AFFINITY_BUILDS = config.get_string(
    'POLYAXON_AFFINITY_BUILDS', is_optional=True)
AFFINITY_TENSORBOARDS = config.get_string(
    'POLYAXON_AFFINITY_TENSORBOARDS', is_optional=True)
AFFINITY_CORE = config.get_string(
    'POLYAXON_AFFINITY_CORE', is_optional=True)

# Tolerations
TOLERATIONS_EXPERIMENTS = config.get_string(
    'POLYAXON_TOLERATIONS_EXPERIMENTS', is_optional=True)
TOLERATIONS_JOBS = config.get_string(
    'POLYAXON_TOLERATIONS_JOBS', is_optional=True)
TOLERATIONS_BUILDS = config.get_string(
    'POLYAXON_TOLERATIONS_BUILDS', is_optional=True)
TOLERATIONS_TENSORBOARDS = config.get_string(
    'POLYAXON_TOLERATIONS_TENSORBOARDS', is_optional=True)
TOLERATIONS_CORE = config.get_string(
    'POLYAXON_TOLERATIONS_CORE', is_optional=True)

CONTAINER_NAME_EXPERIMENT_JOB = config.get_string('POLYAXON_CONTAINER_NAME_EXPERIMENT_JOB',
                                                  is_optional=True,
                                                  default='polyaxon-experiment-job')
CONTAINER_NAME_JOB = config.get_string('POLYAXON_CONTAINER_NAME_JOB',
                                       is_optional=True,
                                       default='polyaxon-job')
CONTAINER_NAME_SIDECAR = config.get_string('POLYAXON_CONTAINER_NAME_SIDECAR',
                                           is_optional=True,
                                           default='polyaxon-job-sidecar')
CONTAINER_NAME_INIT = config.get_string('POLYAXON_CONTAINER_NAME_INIT',
                                        is_optional=True,
                                        default='polyaxon-job-init')
CONTAINER_NAME_PLUGIN_JOB = config.get_string('POLYAXON_CONTAINER_NAME_PLUGIN_JOB',
                                              is_optional=True,
                                              default='polyaxon-plugin-job')
CONTAINER_NAME_DOCKERIZER_JOB = config.get_string('POLYAXON_CONTAINER_NAME_DOCKERIZER_JOB',
                                                  is_optional=True,
                                                  default='polyaxon-dockerizer-job')
JOB_DOCKER_NAME = config.get_string('POLYAXON_JOB_DOCKER_NAME',
                                    is_optional=True,
                                    default='polyaxon/polyaxon-lib')
JOB_SIDECAR_DOCKER_IMAGE = config.get_string('POLYAXON_JOB_SIDECAR_DOCKER_IMAGE')
JOB_SIDECAR_DOCKER_IMAGE_PULL_POLICY = config.get_string(
    'POLYAXON_JOB_SIDECAR_DOCKER_IMAGE_PULL_POLICY',
    is_optional=True)
JOB_INIT_DOCKER_IMAGE = config.get_string('POLYAXON_JOB_INIT_DOCKER_IMAGE')
JOB_INIT_DOCKER_IMAGE_PULL_POLICY = config.get_string(
    'POLYAXON_JOB_INIT_DOCKER_IMAGE_PULL_POLICY',
    is_optional=True)
JOB_DOCKERIZER_IMAGE = config.get_string('POLYAXON_JOB_DOCKERIZER_IMAGE')
JOB_DOCKERIZER_IMAGE_PULL_POLICY = config.get_string(
    'POLYAXON_JOB_DOCKERIZER_IMAGE_PULL_POLICY',
    is_optional=True,)
TENSORBOARD_DOCKER_IMAGE = config.get_string('POLYAXON_TENSORBOARD_DOCKER_IMAGE',
                                             is_optional=True,
                                             default='tensorflow/tensorflow:1.12.0-py3')
JOB_SIDECAR_LOG_SLEEP_INTERVAL = config.get_int('POLYAXON_JOB_SIDECAR_LOG_SLEEP_INTERVAL',
                                                is_optional=True)
{'fraction_non_alphanumeric': 0.07202910266774454, 'fraction_numerical': 0.0064672594987873885, 'mean_word_length': 2.8744127779517696, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 88, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3860636', 'n_tokens_mistral': 4429, 'n_tokens_neox': 4332, 'n_words': 366}