    def test_laika_online(self):
      laikad = Laikad(auto_update=True, valid_ephem_types=EphemerisType.ULTRA_RAPID_ORBIT)
      correct_msgs = verify_messages(self.logs, laikad)
  
      correct_msgs_expected = 559
      self.assertEqual(correct_msgs_expected, len(correct_msgs))
      self.assertEqual(correct_msgs_expected, len([m for m in correct_msgs if m.gnssMeasurements.positionECEF.valid]))
  
    def test_kf_becomes_valid(self):
      laikad = Laikad(auto_update=False)
 
</s> remove       self.assertEqual(correct_msgs_expected, len([m for m in correct_msgs if m.gnssMeasurements.positionECEF.valid]))
 </s> add       self.assertEqual(valid_fix_expected, len([m for m in correct_msgs if m.gnssMeasurements.positionECEF.valid])) </s> remove       correct_msgs_expected = 42 if use_qcom else 559
 </s> add       correct_msgs_expected = 44 if use_qcom else 560
      valid_fix_expected = 43 if use_qcom else 560
 </s> remove     self.assertEqual(375, len(correct_msgs))
    self.assertEqual(375, len([m for m in correct_msgs if m.gnssMeasurements.positionECEF.valid]))
 </s> add     expected_msgs = 376
    self.assertEqual(expected_msgs, len(correct_msgs))
    self.assertEqual(expected_msgs, len([m for m in correct_msgs if m.gnssMeasurements.positionECEF.valid])) </s> remove       corrected_measurements = []
      instant_fix = self.get_lsq_fix(t, processed_measurements)
 </s> add       est_pos = self.gnss_kf.x[GStates.ECEF_POS].tolist()
    corrected_measurements = correct_measurements(processed_measurements, est_pos, self.astro_dog)
    return corrected_measurements

  def calc_fix(self, t, measurements):
    instant_fix = self.get_lsq_fix(t, measurements) </s> remove       corrected_measurements = correct_measurements(processed_measurements, self.last_fix_pos, self.astro_dog)
      instant_fix = self.get_lsq_fix(t, corrected_measurements)
      #instant_fix = self.get_lsq_fix(t, processed_measurements)
 </s> add       est_pos = self.last_fix_pos
    correct_msgs_expected = 560
    def test_laika_online(self):
      laikad = Laikad(auto_update=True, valid_ephem_types=EphemerisType.ULTRA_RAPID_ORBIT)
      correct_msgs = verify_messages(self.logs, laikad)
  
    correct_msgs_expected = 560
      self.assertEqual(correct_msgs_expected, len(correct_msgs))
      self.assertEqual(correct_msgs_expected, len([m for m in correct_msgs if m.gnssMeasurements.positionECEF.valid]))
  
    def test_kf_becomes_valid(self):
      laikad = Laikad(auto_update=False)
keep keep keep keep replace keep keep keep keep keep
 Laika cleaner flow (#27633)

* laika flow

* test fixes

* unexpected type

* unexpected type

* explicit type

* ref commit

* back to prev val

* ref 2 
selfdrive/locationd/test/test_laikad.py