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

Implement the curveball randomisation algorithm #915

Merged
merged 7 commits into from
Feb 5, 2024

Commits on Feb 5, 2024

  1. Initial implementation of the curveball randomisation algorithm

    Includes updates to tests to replace subtests with Test2 idiom.
    This gives more compact output on failure.
    shawnlaffan committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    1f0e3cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    50e4a2c View commit details
    Browse the repository at this point in the history
  3. rand_curveball: Add optional early stopping condition

    No need to keep iterating when all the labels have been moved.
    
    And remove a redundant sub given it is a copy-paste
    leftover from when the file was created.
    shawnlaffan committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    7c56a48 View commit details
    Browse the repository at this point in the history
  4. Workflows: check versions all same on linux

    Sanity check for when we add a new sub-module.
    shawnlaffan committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    a5ceacc View commit details
    Browse the repository at this point in the history
  5. Micro-optimise get_new_bd_from_gp_lb_hash in randomisations

    refaliasing avoids some derefs
    shawnlaffan committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    96b23f1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    39aed15 View commit details
    Browse the repository at this point in the history
  7. rand_curveball: no need to consider groups with maximum richness

    These can be added to the final result directly.
    shawnlaffan committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    067576d View commit details
    Browse the repository at this point in the history