bnelearn.tests.test_market_outcomes module

This module tests the calculation of market outcomes.

bnelearn.tests.test_market_outcomes.run_efficiency_test(experiment_type=<class 'str'>, setting_params=<class 'dict'>, true_efficiency=<class 'float'>)[source]

Test the calculation of efficiency for general auction markets

bnelearn.tests.test_market_outcomes.test_efficiency(experiment_type, setting_params, true_efficiency)[source]
bnelearn.tests.test_market_outcomes.test_revenue()[source]

Test the calculation of revenue for general auction markets