Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Add Error Simulation to the Core #30

Open
michalpiszczek opened this issue Apr 9, 2018 · 1 comment
Open

Add Error Simulation to the Core #30

michalpiszczek opened this issue Apr 9, 2018 · 1 comment
Labels
A-execution Relating to error detection/correction, simulation, control

Comments

@michalpiszczek
Copy link
Collaborator

Currently, running error experiments on the frontends exhibits weird behavior because the core only supports perfect (volume/2) splits.

It should be possible to specify the error profile of an entire session (or perhaps individual split calls) in the frontends, and have the Core exhibit that behavior.

Example: I want the split error factor to be drawn from N(1, 0.01). When I go to split a 1 volume droplet, and draw 1.2 as the error factor, both the frontend and backend should now see a droplet with volume=0.6 and a droplet with volume=0.4 (see https://github.com/michalpiszczek/puddle/blob/error/src/python/examples/error_dilution.py for the frontend behavior).

Notes:

  • One quick way to do this is having expected volumes be a parameter on split calls, and the Core will simply assume those passed values are correct and assign them to the resulting droplets.
  • Gaussian error should be sufficient.
  • Perhaps we should simulate error for input() as well.
@mwillsey
Copy link
Member

4c9a41a at least adds splitting error.

with puddle.mk_session(split_error=0.1) as session:

@mwillsey mwillsey added the A-execution Relating to error detection/correction, simulation, control label May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-execution Relating to error detection/correction, simulation, control
Projects
None yet
Development

No branches or pull requests

2 participants