code: def delete_experiment(experiment):
      
      redis = _get_redis_connection()
      experiment = Experiment.find(redis, experiment)
      if experiment:
          experiment.delete()
      return redirect(url_for('.index'))
docs: Delete an experiment and all its data.