class_docstr: Tests for cpWER calculation.
class_docstr_tok: ["Tests","for","cpWER","calculation","."]
code: def test_get_online_DER_stats(
      self,
      DER,
      CER,
      FA,
      MISS,
      diar_eval_count,
      der_stat_dict,
      deci,
      expected_der_dict,
      expected_der_stat_dict,
  ):
      actual_der_dict, actual_der_stat_dict = get_online_DER_stats(
          DER, CER, FA, MISS, diar_eval_count, der_stat_dict, deci
      )
      assert actual_der_dict == expected_der_dict
      assert actual_der_stat_dict == expected_der_stat_dict
  
file_path: NeMo/tests/collections/asr/test_diar_metrics.py
imports: from itertools import permutations
  import pytest
  import torch
  from nemo.collections.asr.metrics.der import calculate_session_cpWER, calculate_session_cpWER_bruteforce, get_online_DER_stats, get_partial_ref_labels
label_desc: Use image node_id 7 for calling the TestConcatMinPermWordErrorRate obj's underlying member method code with example usage: obj.test_get_online_DER_stats(DER, CER, FA, MISS, diar_eval_count, der_stat_dict, deci, expected_der_dict, expected_der_stat_dict) without return types