""" Constants. """

# Datasets
SCHEMA_FILENAME = 'schema.json'
EXAMPLES_CSV_FILENAME = 'examples.csv'
EXAMPLES_DB_FILENAME = 'examples.db'
EXAMPLES_DB_TABLE = 'examples'
FILES_DIR = 'files'
SPLITS_DIR = 'splits'
EXPERIENCE_DIR_PREFIX = 'experience'
PARTITION_DIR_PREFIX = 'partition'
TRAINING_SPLIT_FILENAME = 'training.txt'
TEST_SPLIT_FILENAME = 'test.txt'
VALIDATION_SPLIT_FILENAME = 'validation.txt'

# MLflow
MLFLOW_LOG_ARTIFACT_DIR = 'logs'
MLFLOW_RUN_ERRORS_FILENAME = 'errors.txt'
MLFLOW_TRAINING_ARTIFACT_DIR = 'training'
MLFLOW_EVALUATION_ARTIFACT_DIR = 'evaluation'

# LOGGING
LOGGER_NAME = 'octopuscl_logger'
LOGS_FILENAME = 'octopuscl.log'
LOGS_PREFIX = 'OctopusCL'

# MISC
DATETIME_FORMAT_ISO = '%Y-%m-%dT%H:%M:%S'  # ISO 8601
DATETIME_FORMAT = '%Y-%m-%d %H:%M:%S'
