code: def test_latent_py():
      ps, py, inv = get_latent_py_ps_inv()
      py2 = latent_algebra.compute_py(ps, nm, inv)
      assert np.all(abs(py - py2) < 1e-3)
  
file_path: cleanlab/tests/test_latent_algebra.py
imports: from cleanlab.internal import latent_algebra
  import numpy
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: test_latent_py() without return types