code: def complete_experiment(self, status):
          
          self.log("Bot player completing experiment. Status: {}".format(status))
          while True:
              url = "{host}/{status}?participant_id={participant_id}".format(
                  host=self.host, participant_id=self.participant_id, status=status
              )
              try:
                  result = requests.get(url)
                  result.raise_for_status()
              except RequestException:
                  self.stochastic_sleep()
                  continue
              return result
docs: Record worker completion status to the experiment server.
  
          This is done using a GET request to the /worker_complete
          or /worker_failed endpoints.