venture[script] > assume sim = (rowid) ~> {normal(0,1) #dummy:rowid};
[]
venture[script] > predict sim(10)
-0.627003587782
venture[script] > list_directives
35: sim: assume sim = make_csp(quote(rowid()), quote(tag(quote(dummy), rowid, normal(0.0, 1.0)))): <procedure>
37: predict sim(10.0): -0.627003587782
After the predict line, the tag ('dummy, 10) lives somewhere in the trace. It would be useful to be able to retrieve a table the scope:block names that are currently active (especially for blocks whose names are created dynamically), the random choices which are in the expression of the enclosing tag, and the values of those random choices.
After the
predictline, the tag('dummy, 10)lives somewhere in the trace. It would be useful to be able to retrieve a table the scope:block names that are currently active (especially for blocks whose names are created dynamically), the random choices which are in the expression of the enclosing tag, and the values of those random choices.