global

def ideal?

def ideal?
  candidate? && (
    unmatched_expected_indexes.empty? ||
    unmatched_actual_indexes.empty?
  )
end