code: def test_bernoulli_random_seed():
      fit = stan.build(program_code, data=data, random_seed=42).sample()
      assert -7.9 < fit["lp__"].mean() < -7.0
      assert 0.1 < fit["theta"].mean() < 0.4
      assert 0.01 < fit["theta"].var(ddof=1) < 0.02
  
file_path: pystan/tests/test_basic_bernoulli.py
imports: import numpy
  import pytest
  import stan
label_desc: Use image node_id 9 for calling a global function with example usage: test_bernoulli_random_seed() without return types