Rules for summarized Pipeline Statuses

Hi guys,
Hope you are doing good.

I wanted to know the rules behind the Pipeline status that shows the summary of all tasks on Shots or Assets or Seq Entity as shown in below image.
For example, if my Anim Task summary is ip, it means the one of tasks statuses for the shot could be ip.
What if there are many tasks with different statuses for a pipeline step in a shot or Assets, what does the Task summary shows on seq & shot or Assets page. How are the rules defined so that what status appears.