code: def test_fbeta_random_score(avg_val, beta, result):
      preds = [[0.7, 0.7, 0.7], [1, 0, 0], [0.9, 0.8, 0]]
      actuals = [[0, 0, 1], [1, 1, 0], [1, 1, 1]]
      _test_fbeta_score(
          actuals, preds, None, avg_val, beta, result, 0.66
      )
  
file_path: rasa/tests/utils/tensorflow/test_metrics.py
imports: import numpy
  import pytest
  import tensorflow
  from rasa.utils.tensorflow.metrics import FBetaScore, F1Score
label_desc: Use image node_id 6 for calling a global function with example usage: test_fbeta_random_score(avg_val, beta, result) without return types