If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Quiz state diagrams

From MoodleDocs

Quizzes and quiz attempts go through a variety of states. The state each part is currently in affects how various things look, and what operations are available. Therefore, understanding the following diagram can make it a lot easier to understand what is going on in the quiz.

Quiz state diagrams.png