              if self._scale_test(aligned, minimum_dimension) is not None:
                  continue
              if 0.0 < self._distance < aligned.average_distance:
                  continue
              if not -self._roll <= aligned.pose.roll <= self._roll:
                  continue
              retval[idx] = False
  
          return retval
  
 
</s> remove             if self._scale_test(aligned, minimum_dimension) is not None:
 </s> add             if self._scale_test(aligned, dim) is not None: </s> remove             if not -self._roll <= aligned.pose.roll <= self._roll:
 </s> add             if not 0.0 < abs(aligned.pose.roll) < self._roll: </s> remove         for idx, face in enumerate(faces):
 </s> add         for idx, (face, dim) in enumerate(zip(faces, minimum_dimension)): </s> remove             landmarks.append(subbatch.landmarks)
        batch.landmarks = np.average(landmarks, axis=0)
 </s> add             landmark_list.append(subbatch.landmarks)

            if self.config["filter_refeed"]:
                fcs = [DetectedFace(landmarks_xy=lm) for lm in subbatch.landmarks.copy()]
                min_sizes = [min(img.shape[:2]) for img in batch.image]
                masks.append(self._filter.filtered_mask(fcs, min_sizes))

        batch.landmarks = self._get_mean_landmarks(np.array(landmark_list), masks) </s> remove     def filtered_mask(self, faces: List[DetectedFace], minimum_dimension: int) -> List[bool]:
 </s> add     def filtered_mask(self, faces: List[DetectedFace], minimum_dimension: List[int]) -> List[bool]:
            if not 0.0 < abs(aligned.pose.roll) < self._roll:
              if self._scale_test(aligned, minimum_dimension) is not None:
                  continue
              if 0.0 < self._distance < aligned.average_distance:
                  continue
            if not 0.0 < abs(aligned.pose.roll) < self._roll:
                  continue
              retval[idx] = False
  
          return retval
  
keep keep keep keep replace keep keep keep keep keep
 Aligner updates
  - Add filter re-feeds option
  - bugfix roll calculation 
plugins/extract/align/_base.py