Watts-Lab / deliberation-empirica

Empirica V2 framework
MIT License
5 stars 0 forks source link

fix maxPayoff function in dispatch to account for the fact that we may not be able to fill the last treatment. #783

Closed JamesPHoughton closed 2 months ago

JamesPHoughton commented 2 months ago

We compute the maximum theoretical payoff from a given run of the dispatch so we can use it as an early stopping criterion. Currently there is a bug that doesn't account for the fact that we may not be able to complete the last assignment.