Skip to content

Add summation feature#777

Draft
prescod wants to merge 4 commits intomainfrom
feature/summation_feature
Draft

Add summation feature#777
prescod wants to merge 4 commits intomainfrom
feature/summation_feature

Conversation

@prescod
Copy link
Contributor

@prescod prescod commented Dec 23, 2022

Sometimes you want a parent object to have a field value which is the sum of many child values. Snowfakery allow you to
specify or randomly generate the parent sum value and then it will generate an appropriate number of children with values that sum up to match it, using Math.random_partition.

@prescod prescod requested a review from a team as a code owner December 23, 2022 17:59
@prescod prescod force-pushed the feature/summation_feature branch from 5110b98 to 82e7a4d Compare December 23, 2022 18:11
@prescod prescod force-pushed the feature/summation_feature branch from d85ee59 to a4b5bad Compare December 24, 2022 07:33
@prescod prescod marked this pull request as draft April 26, 2023 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant