The earnings function under test