code: def test_slanted_triangular_rate():
      rates = slanted_triangular(1.0, 20.0, ratio=10)
      rate0 = next(rates)
      assert rate0 < 1.0
      rate1 = next(rates)
      assert rate1 > rate0
      rate2 = next(rates)
      assert rate2 < rate1
      rate3 = next(rates)
      assert rate0 < rate3 < rate2
  
imports: from thinc.api import compounding, constant, constant_then, cyclic_triangular, decaying, slanted_triangular, warmup_linear
label_desc: Use image node_id 3 for calling a global function with example usage: test_slanted_triangular_rate() without return types