code: def test2_predict_nonconstant():
      """
      We should not really have predictions that are constant (should be some difference)...
      This captures bugs with the predict function not iterating forward
      """
      model = pf.GASX(
          formula="y ~ x1 + x2",
          data=data,
          ar=1,
          sc=1,
          family=pf.Poisson(),
      )
      assert not np.all(predictions.values == predictions.values[0])
  
imports: import numpy
  import pandas
  import pyflux
label_desc: Use image node_id 37 for calling a global function with example usage: test2_predict_nonconstant() without return types