code: def test_svd_compressed_deterministic():
      m, n = 30, 25
      x = da.random.default_rng(1234).random(size=(m, n), chunks=(5, 5))
      u, s, vt = svd_compressed(x, 3, seed=1234)
      u2, s2, vt2 = svd_compressed(x, 3, seed=1234)
  
      assert all(
          da.compute(
              (u == u2).all(), (s == s2).all(), (vt == vt2).all()
          )
      )
  
imports: from __future__ import annotations
  import sys
  import pytest
  import numpy
  import scipy.linalg
  from packaging.version import parse
  import dask.array
  from dask.array.linalg import qr, sfqr, svd, svd_compressed, tsqr
  from dask.array.numpy_compat import _np_version
  from dask.array.utils import assert_eq, same_keys, svd_flip
label_desc: Use image node_id 12 for calling a global function with example usage: test_svd_compressed_deterministic() without return types