code: def submission_successful(self, participant):
          
          num_approved = len(Participant.query.filter_by(status="approved").all())
          current_generation = participant.nodes()[0].generation
          if (
              num_approved % self.generation_size == 0
              and (current_generation % 10 + 1) == 0
          ):
              for e in self.models.RogersEnvironment.query.all():
                  e.step()
docs: Run when a participant submits successfully.