bnelearn.tests.test_single_item_contests module

Testing correctness of contest implementations.

bnelearn.tests.test_single_item_contests.impact_function(x)
bnelearn.tests.test_single_item_contests.test_crowdsourcing_correctness()[source]

Crowdsourcing Contest should return correct allocations and payments.

bnelearn.tests.test_single_item_contests.test_crowdsourcing_illegal_arguments()[source]

Illegal effort tensors should cause exceptions.

bnelearn.tests.test_single_item_contests.test_tullock_correctness()[source]

Tullock Contest should return correct winning probabilities and payments.

bnelearn.tests.test_single_item_contests.test_tullock_illegal_arguments()[source]

Illegal effort tensors should cause exceptions.