code: def test_example_features():
      vw_ex = Workspace(quiet=True)
      ex = vw_ex.example("1 |a two features |b more features here")
      ns = vowpalwabbit.NamespaceId(ex, 1)
      assert ex.get_feature_id(ns, "a") == 127530
      ex.push_hashed_feature(ns, 1122)
      ex.push_features("x", [("c", 1.0), "d"])
      ex.push_feature(ns, 11000)
      assert ex.num_features_in("x") == 2
      assert ex.sum_feat_sq(ns) == 5.0
      ns2 = vowpalwabbit.NamespaceId(ex, 2)
      ex.push_namespace(ns2)
      assert ex.pop_namespace()
  
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 37 for calling a global function with example usage: test_example_features() without return types