opendp / dp-creator-ii

Web application that makes data releases that satisfy differential privacy using the OpenDP Library
MIT License
0 stars 0 forks source link

Create mock data and plot #35

Open mccalluc opened 1 day ago

mccalluc commented 1 day ago

Down the road, we wouldn't use this plot with this data -- instead it would be binned and the bin counts would be privatized and that's what we plot -- but for now the two features complement each other.

Haven't made a test for the plot function. There are tools that can do image comparisons to make sure output is stable, but I'm not sure we need anything that heavy weight at this point. Another approach would be to mock matplotlib and make sure the appropriate methods are called.