judithabk6 / med_bench

BSD 3-Clause "New" or "Revised" License
8 stars 3 forks source link

Test tolerance for all estimators #10

Closed sami6mz closed 1 year ago

sami6mz commented 1 year ago

test_get_estimation.py : We test all the benchmark_mediation estimators for a certain tolerance, by calling get_estimation. The test is skipped if estimator has not been implemented yet, i.e. all outputs are NaN or NotImplementedError is raised. The test xfails for any other wierd behavior.