Another solution to failing would be that when you "fail" a leve (be it ran out of time, d/ced or forcibly abandoned) you should get a reduced reward, in proportion to the amount of the leve that was completely before that and then count it as completed. Either way pass/fail the leve was done.