- Added SAVEPOINT management to the `_import_activity` function to improve error handling during CSV imports. - Moved the training type resolution logic to occur within a transaction block, ensuring that errors can be rolled back without affecting the entire import process. - Enhanced error logging to capture evaluation failures, providing better insights during CSV import operations.