Skip to content

Random number seed #251

@asmaloney

Description

@asmaloney

Should add a way in the amod gactar config section to set a random number seed.

Probably need a couple of options:

  • set a seed from random source (something like random.seed(datetime.now()) in Python)
  • set a specific seed

In vanilla, the default if :seed is not specified is (pg. 189):

There is no default value for the seed parameter. When the module is created in a model it generates
a new seed based on the current result of get-internal-real-time.

For models involving randomness, I'm not sure if it's possible to make results consistent across frameworks since they are using different RNGs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlanguageamod language changes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions