code: def test_SimpleLabel_example():
      vw_ex = Workspace(quiet=True)
      ex = vw_ex.example("1 |a two features |b more features here")
      sl2 = vowpalwabbit.SimpleLabel.from_example(ex)
      assert sl2.label == 1.0
      assert sl2.weight == 1.0
      assert sl2.prediction == 0.0
      assert sl2.initial == 0.0
      assert str(sl2) == "1.0"
  
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 31 for calling a global function with example usage: test_SimpleLabel_example() without return types