Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #30615

Closed (moved)
Open
Opened May 25, 2019 by riastradh@riastradh

Factor random_uniform_01 into nondeterministic and deterministic parts, and automatically test the deterministic part

The random_uniform_01 code is not automatically tested by any deterministic tests -- it is tested only by the stochastic tests in the slow test suite. However, there is a not-entirely-trivial deterministic computation inside it, wired up to a (truncated) geometric(1/2) sampler and a uniform bit sampler. And it turns out that this deterministic computation technically has a bug, although the bug triggers with probability <2^-900^ so it doesn't really matter. But it is nice to have deterministic tests for correct behaviour of the deterministic part of a random sampler, and nice for that deterministic part to not have bugs.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Tor: unspecified
Milestone
Tor: unspecified
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#30615