code: def test_normal_sample_args():
      """Sample from normal distribution with build arguments."""
      program_code = "parameters {real y;} model {y ~ normal(0,1);}"
      posterior = stan.build(program_code, random_seed=1)
      assert posterior is not None
      fit = posterior.sample(
          num_samples=350, num_warmup=350, num_thin=3, save_warmup=True
      )
      df = fit.to_frame()
      assert len(df["y"]) == ceil(350 / 3) * 2 * 4
      assert -5 < df["y"].mean() < 5
  
imports: from math import ceil
  import stan
label_desc: Use image node_id 4 for calling a global function with example usage: test_normal_sample_args() without return types