Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add summation feature #777

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Add summation feature #777

wants to merge 4 commits into from

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