@cpennington Your idea of the structure seems to be correct.  Maybe we aren't on the same page about how score is computed?  The final score for the assessment is just the highest score you got from the last child you made it to.

So, a problem could be self assessment and then peer assessment.  It could be scored out of 20 points.  The teacher sets up thresholds, so if you self-assess between a 10 and a 20, you move on to peer assessment.

Attempt 1:

Self assess a 5.  Terminates.  Score for attempt is a 5.

Attempt 2:
Self assess an 11.  Peer assessed a 5.  Score for attempt is a 5.  But this attempt trumps attempt 1 because the student got farther.

Attempt 3:
Self assess a 10.  Peer assess a 17.  Score for attempt is 17.

Attempt 4:
Self assess a 5.  Terminates.  Score for attempt is 5.

Final score for the problem would be 17 (highest score on the last step you got to).