arkhn / dsPrivacy

A DataShield Differential Privacy Library
Apache License 2.0
6 stars 0 forks source link

Prevent statistical analyses if too few individuals are present in the subset #19

Closed Jasopaum closed 8 months ago

Jasopaum commented 2 years ago

Description

Prevent statistical analyses if too few individuals are present in the subset.

The option dsPrivacy.minRowsDP can be set in Opal's UI.

Fix #18

github-actions[bot] commented 2 years ago

ai_template coverage

ai-template coverage report
FileStmtsMissCoverMissing
inst/python/dp/custom_dp
   covariance_custom.py31197%35
inst/python/dp/pydp_wrapper
   count_PyDP.py440%1–6
   max_PyDP.py440%1–6
   mean_PyDP.py440%1–8
   median_PyDP.py440%1–6
   min_PyDP.py440%1–6
   standard_deviation_PyDP.py440%1–8
   sum_PyDP.py440%1–6
   variance_PyDP.py440%1–8
TOTAL633348% 

Tests Skipped Failures Errors Time
3 0 :zzz: 0 :x: 0 :fire: 0.374s :stopwatch:
github-actions[bot] commented 1 year ago

ai_template coverage

ai-template coverage report
FileStmtsMissCoverMissing
inst/python/dp/custom_dp
   covariance_custom.py31197%35
inst/python/dp/pydp_wrapper
   count_PyDP.py440%1–6
   max_PyDP.py440%1–6
   mean_PyDP.py440%1–8
   median_PyDP.py440%1–6
   min_PyDP.py440%1–6
   standard_deviation_PyDP.py440%1–8
   sum_PyDP.py440%1–6
   variance_PyDP.py440%1–8
TOTAL633348% 

Tests Skipped Failures Errors Time
3 0 :zzz: 0 :x: 0 :fire: 1.158s :stopwatch: