opam-version: "2.0"
maintainer: "Valentin Reis <fre@freux.fr>"
authors: ["Valentin Reis <fre@freux.fr>"]
homepage: "https://freuk.github.io/obandit/"
doc: "https://freuk.github.io/obandit/api.docdir"
license: "ISC"
dev-repo: "git+https://github.com/freuk/obandit.git"
bug-reports: "https://github.com/freuk/obandit/issues"
depends: [
  "ocaml" {>= "4.01.0"}
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "topkg" {build}
  "batteries"
]
build: [
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"]
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true"]
    {with-test}
  ["ocaml" "pkg/pkg.ml" "test"] {with-test}
]
synopsis: "Ocaml Multi-Armed Bandits"
description: """
[![DOI](https://zenodo.org/badge/81206527.svg)](https://zenodo.org/badge/latestdoi/81206527)

Obandit is an OCaml module for basic multi-armed bandits. It supports the
EXP3, UCB1 and Epsilon-greedy algorithms.

Obandit is distributed under the ISC license."""
url {
  src:
    "https://github.com/freuk/obandit/releases/download/v0.2.3.1-5-g40e1b6c/obandit-0.2.3.1-5-g40e1b6c.tbz"
  checksum: "md5=d82685c6eee4b958f480a10f86c78d13"
}
