fn prepare_compat_profiles( cases: Vec<CompatCase>, wal_config: &WalConfig, ) -> Result<CompatProfiles, String>