For the drafts (working copies) and published versions, we only want one version of the item to appear to the end user. Therefore, when a quiz is in draft that would be the one version, and when the quiz is published, that would be the one version. The draft and the publish should not show to the user at the same time.
This could be achieved/implemented in a two-phased approached.
Phase 1: keep the current structure in the database and simply hide the draft version when the quiz is published.
Phase 2: clean up the database structure to only have one version/instance of a quiz and the two states (draft or published) would be controlled by a flag. This phase 2 would clean up the amount of code for Samigo that should decrease the development burden of the tool.
Removing the working copy paradigm in Tests & Quizzes will simplify the mental model needed for instructors to use Samigo and allow the tool to match the functionality of other Sakai tools, such as Assignments - therefore, providing consistency.