code: def test_action_scores_prediction_type():
      model = Workspace(
          loss_function="logistic", csoaa_ldf="m", quiet=True
      )
      multi_ex = [
          model.example("1:1 | a b c"),
          model.example("2:-1  | a b c"),
      ]
      model.learn(multi_ex)
      assert model.get_prediction_type() == model.pMULTICLASS
      multi_ex = [
          model.example("1 | a b c"),
          model.example("2 | a b c"),
      ]
      prediction = model.predict(multi_ex)
      assert isinstance(prediction, int)
      del model
  
imports: import os
  from pathlib import Path
  import vowpalwabbit
  from vowpalwabbit import Workspace
  import pytest
  import warnings
  import filecmp
label_desc: Use image node_id 7 for calling a global function with example usage: test_action_scores_prediction_type() without return types