Bonus measurement framework