OpenMined / PipelineDP

PipelineDP is a Python framework for applying differentially private aggregations to large datasets using batch processing systems such as Apache Spark, Apache Beam, and more.
https://pipelinedp.io/
Apache License 2.0
270 stars 75 forks source link

Remove test with runtime warning #455

Closed RamSaw closed 1 year ago

RamSaw commented 1 year ago

Delete test that produces RuntimeWarning.

Warning:

tests/private_contribution_bounds_test.py::L0ScoringFunctionTest::test_score_gaussian_noise_invalid_values_throws_exception
  /home/runner/work/PipelineDP/PipelineDP/pipeline_dp/dp_computations.py:103: RuntimeWarning: invalid value encountered in sqrt
    return np.sqrt(l0_sensitivity) * linf_sensitivity

We delete because in some systems this warning is treated as failure.