code: func (c *CacheComparer) ComparePods(pods, waitingPods []*v1.Pod, nodeinfos map[string]*schedulernodeinfo.NodeInfo) (missed, redundant []string) {
  	actual := []string{}
  	for _, pod := range pods {
  		actual = append(actual, string(pod.UID))
  	}
  
  	cached := []string{}
  	for _, nodeinfo := range nodeinfos {
  		for _, pod := range nodeinfo.Pods() {
  			cached = append(cached, string(pod.UID))
  		}
  	}
  	for _, pod := range waitingPods {
  		cached = append(cached, string(pod.UID))
  	}
  
  	return compareStrings(actual, cached)
  }
docs: // ComparePods compares actual pods with cached pods.