lincc-frameworks / tdastro

MIT License
4 stars 0 forks source link

Redo the random seeding #44

Closed jeremykubica closed 3 months ago

jeremykubica commented 4 months ago

Changes how the set is set in the ParameterizedNode. Seeds are still determined by a combination of a graph_base_seed (which is initially set to completely random) and the node's string. The node's string has been expanded to include its position in the graph (if known).

Why? The previous approach of just using the node’s identifier (and not the position in the graph) was easy to make a mistake when using two of the same nodes in the graph. This makes it more difficult for a user to make such a mistake.

Other changes: