Refactoring ratings flow debug logging a bit.