How does the sentence end?

Joseph worked very purposefully on their homework assignment but Ryan worked very casually.
Ryan was rewarded with an inferior grade.