What Is the Order of Genrocket Data Generation?
This lesson provides information about the order in which GenRocket generates data via its Generators within a given Domain.
GenRocket generates data via its Generators in Domain Attribute order starting from the first Attribute to the last Attribute of the Domain.
Since Generators can reference the value generated from another Attribute, the Attribute it is referencing must generate its data first.
Example – At Bat Domain
If we want to generate data that simulates at bat in a baseball game, the order of Attributes is important.
The following would be an illogical Attribute sequence for the Domain:
- At Bat (Domain)
- Catch Attribute
- Swing Attribute
- Pitch Attribute
Domain Attributes should be ordered in a logical, real life sequence:
- At Bat (Domain)
- Pitch Attribute
- Swing Attribute
- Catch Attribute
The Generator from the Swing Attribute is dependent on the value generated from the Pitch Attribute. The Generator of the Catch Attribute is dependent on the value generated from the Swing Attribute.
Link:
https://genrocket.freshdesk.com/a/solutions/articles/19000035748
Search GenRocket Knowledge Base
Related Assets
What is the order of GenRocket data generation?
This article provides information about the order in which GenRocket generates data via its Generators within a given Domain.
Read More