Skip to content

Is there a way to list all the random choices for each scope:block? #674

Description

@fsaad
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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions