code: def square_problem(draw, scale=10):
      size = draw(st.integers(2, 100))
  
      # Hypothesis doesn't do well at generating problem data, so go with this
      seed = draw(st.integers(min_value=0, max_value=2**32 - 1))
      rng = np.random.RandomState(seed)
      A = rng.randn(size, size) * scale
      b = rng.randn(size) * scale
      return A, b, size
  
file_path: lkpy/tests/test_math_solve.py
imports: import logging
  import numpy
  import scipy.linalg
  from pytest import approx
  from lenskit.math.solve import dposv
  from hypothesis import given, settings
  import hypothesis.strategies
label_desc: Use image node_id 1 for calling a global function with example usage: square_problem(draw, scale) and returns: A,  b,  size