repo tuning