Use class variables to refer to submission states. Enforced max number of submissions. Improve error handling during backend computation.