code: def test_td_k_variance_lower_than_monte_carlo(self):
      (_, var_td_3) = estimate_advantage_bias_and_variance(
          advantages.td_k, margin=3
      )
      (_, var_mc) = estimate_advantage_bias_and_variance(
          advantages.monte_carlo
      )
      self.assertLess(var_td_3, var_mc)
  
file_path: trax/trax/rl/advantages_test.py
imports: import functools
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from trax.rl import advantages
label_desc: Use image node_id 3 for calling the AdvantagesTest obj's underlying member method code with example usage: obj.test_td_k_variance_lower_than_monte_carlo() without return types