code: def test_semantic_error():
      # wrong number of arguments to `uniform`
      program_code = (
          "parameters { real y; } model { y ~ uniform(10, 20, 30); }" ""
      )
      with pytest.raises(ValueError, match=r"Semantic error"):
          stan.build(program_code, random_seed=1)
  
imports: import pytest
  import stan
label_desc: Use image node_id 1 for calling a global function with example usage: test_semantic_error() without return types