Levelling replaces one chance at a grade
A student who fails a quest tries another to gain points. The book says this swaps negative stress for positive stress and puts attention on learning, not performing.
From McGonigal, 2011, ch. 7. McGonigal, J. (2011). Reality is broken: why games make us better and how they can change the world. New York: Penguin Press. ISBN 978-1-59420-285-8 (hardcover). (The copy is an e-book whose text file has no copyright page; its file identifier is 9781101475492, not matched in Open Library. No DOI.)