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 edge bias feature to bias for testing edge cases. #369

Closed
wants to merge 1 commit into from

Commits on Sep 6, 2023

  1. Add edge bias feature to bias for testing edge cases.

    * Works by randomly changing some generated values to be one of the
      random edge cases. The first tests are done with 100% edge cases, and
      then the chance goes down over the number of test cases until it's 0%.
    * The average amount of edge case tests can be controlled by edge_bias
      configuration option. It defaults to 0.25.
    * In failure the edge bias is persisted to the persistence file along
      with the seed, so it should be reproducible.
    * Also fix time::Duration test because the edge bias system found a
      problem in it. (Might need more modifications.)
    * Fix float_samplers test subsequent_splits_always_match_bounds.
    ajantti committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    2fa6648 View commit details
    Browse the repository at this point in the history