Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • N NIFTy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ift
  • NIFTy
  • Merge requests
  • !426

Be more paranoid about initializing the RNG

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Martin Reinecke requested to merge random_paranoia into NIFTy_6 Mar 19, 2020
  • Overview 22
  • Commits 5
  • Pipelines 5
  • Changes 2

This is an attempt to enforce reproducible runs. Whenever from_random is called without a preceding random.init(), an exception will be raised.

@parras, does this look OK in principle?

I also realized that there are still some direct calls to np.random functionality within nifty6, which I think is bad. We should replace this soon.

Edited Mar 19, 2020 by Martin Reinecke
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: random_paranoia