code: def test_fls():
      # it is possible for the fixed lag to rarely perform worse than the
      # kalman filter. Let it happen once in 50 times before we become
      # alarmed.
  
      fail_count = 0
      for i in range(50):
          fail_count = one_run_test_fls()
  
      assert fail_count < 2
  
file_path: filterpy/filterpy/kalman/tests/test_fls.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import numpy
  from numpy import random
  import matplotlib.pyplot
  from filterpy.kalman import KalmanFilter, FixedLagSmoother
label_desc: Use image node_id 1 for calling a global function with example usage: test_fls() without return types