pub fn create_attempt( record: &ExecutionRecord, mode: &str, session_name: &str, ) -> ExecutionAttempt