code: def test_compounding_rate():
      rates = compounding(1, 16, 1.01)
      rate0 = next(rates)
      assert rate0 == 1.0
      rate1 = next(rates)
      rate2 = next(rates)
      rate3 = next(rates)
      assert rate3 > rate2 > rate1 > rate0
      assert (rate3 - rate2) > (rate2 - rate1) > (rate1 - rate0)
  
imports: from thinc.api import compounding, constant, constant_then, cyclic_triangular, decaying, slanted_triangular, warmup_linear
label_desc: Use image node_id 2 for calling a global function with example usage: test_compounding_rate() without return types