Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #28878

WTF-PAD: Improve deterministic randomness in tests

As part of test_prob_distr.c in #28142 (moved), we implemented a deterministic randomness system for the stochastic tests. There are various things we can improve there:

a) Make it into its own subsystem so that other tests can also use it. b) Don't use a uint32_t counter as the seed, because the byte order is machine dependent. Instead make it a uint8_t[4] or something. c) Allow users to overwrite the seed using environment variables or the CLI. For now users have to tweak the init_deterministic_rand() func.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking