code: def test_CostSensitiveLabel():
      model = Workspace(csoaa=4, quiet=True)
      csl = vowpalwabbit.CostSensitiveLabel.from_example(
          model.example("2:5 |")
      )
      assert csl.costs[0].label == 2
      assert csl.costs[0].wap_value == 0.0
      assert csl.costs[0].partial_prediction == 0.0
      assert csl.costs[0].cost == 5.0
      assert str(csl) == "2:5.0"
      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 13 for calling a global function with example usage: test_CostSensitiveLabel() without return types