code: def test_csoaa_ldf_scalars_prediction_type():
      model = Workspace(
          loss_function="logistic",
          csoaa_ldf="mc",
          probabilities=True,
          quiet=True,
      )
      multi_ex = [
          model.example("1:0.2 | a b c"),
          model.example("2:0.8  | a b c"),
      ]
      model.learn(multi_ex)
      assert (
          model.get_prediction_type()
          == vowpalwabbit.PredictionType.SCALARS
      )
      multi_ex = [
          model.example("1 | a b c"),
          model.example("2 | a b c"),
      ]
      prediction = model.predict(multi_ex)
      assert isinstance(prediction, list)
      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 6 for calling a global function with example usage: test_csoaa_ldf_scalars_prediction_type() without return types