refactor quarter summary so that it refactoring gather work_progress inner costs