All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.iheart.thomas.bandit.BanditStatus.scala Maven / Gradle / Ivy

The newest version!
package com.iheart.thomas.bandit

import cats.kernel.Eq

sealed trait BanditStatus extends Serializable with Product

object BanditStatus {
  case object Running extends BanditStatus
  case object Paused
      extends BanditStatus // the treatments are still provided but policy no longer in action.
  case object Stopped
      extends BanditStatus // The treatments are no longer provided. i.e. backing A/B test is no longer running.

  implicit val eqInst: Eq[BanditStatus] = Eq.fromUniversalEquals
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy