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

Remove high-priority, soft weight constraint from distributions #194

Merged
merged 1 commit into from
Sep 26, 2023

Commits on Sep 12, 2023

  1. Remove high-priority, soft weight constraint from distributions

    This removes the soft constraint created after building the
    hard constraints for a distribution. It also reverses the
    unittest meant for testing that distribution non-zero weights
    can override soft constraints.
    
    This saves off the weight list and a function to calculate them
    into ConstraintDistScopeModel, in the hopes that at some point
    recalling the randomization model and swizzler would re-randomize
    the distribution weight targeted.
    
    This also adds enough type hints to make it easier to track down
    target_range and distribution weight list usage.
    alwilson committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    2cf28cc View commit details
    Browse the repository at this point in the history