package statocaml_plots

  1. Overview
  2. Docs

Module Closing.MakeSource

Parameters

module P : T.S

Signature

Sourceval issues_closing_days : ?after:Ptime.t -> ?before:Ptime.t -> P.t -> float S.Imap.t
Sourceval prs_closing_days : ?after:Ptime.t -> ?before:Ptime.t -> P.t -> float S.Imap.t
Sourcemodule Elt : sig ... end
Sourcemodule Set : sig ... end
Sourcemodule K : sig ... end
Sourceval date_title_complement : ?after:(int * int * int) -> ?before:(int * int * int) -> unit -> string option
Sourceval fill_classes : total:float -> k:int -> ?means:float list -> Set.elt list -> (Set.t * (float * string * string)) list
Sourceval plot_closing_delays : kind:[< `Issue | `PR ] -> Plot.gp -> ?classes:int list -> ?quantiles:int -> Float.t S.Imap.t -> unit Lwt.t
Sourcetype delay_param = {
  1. after : Ptime.t option;
  2. before : Ptime.t option;
  3. classes : int list option;
  4. quantiles : int option;
}
Sourceval default_delay_param : delay_param
Sourceval delay_param_wrapper : delay_param Ocf.Wrapper.t
Sourceval plot_closing_delays_by_kind : kind:[< `Issue | `PR ] -> Plot.gp -> ?classes:int list -> ?quantiles:int -> ?after:Ptime.t -> ?before:Ptime.t -> P.t -> unit Lwt.t
Sourceval plot_closing_delays_json : kind:[< `Issue | `PR ] -> P.t Json.plotter
Sourceval mk_cohorts : after:Ptime.t -> before:Ptime.t -> int -> GH.Types.issue S.Imap.t -> Cohorts.t S.Imap.t * int S.Imap.t S.Imap.t
Sourceval plot_cohorts : Plot.gp -> ?events:Statocaml.Types.event list -> ylabel:string -> after:Ptime.t -> before:Ptime.t -> int -> GH.Types.issue S.Imap.t -> unit Lwt.t
Sourcetype cohort_param = {
  1. after : Ptime.t;
  2. before : Ptime.t;
  3. cohort_duration : int;
}
Sourceval default_cohort_param : cohort_param
Sourceval cohort_param_wrapper : cohort_param Ocf.Wrapper.t
Sourceval plot_issue_cohorts : Plot.gp -> after:Ptime.t -> before:Ptime.t -> int -> P.t -> unit Lwt.t
Sourceval plot_pr_cohorts : Plot.gp -> after:Ptime.t -> before:Ptime.t -> int -> P.t -> unit Lwt.t
Sourceval wrap_param : (Plot.gp -> after:Ptime.t -> before:Ptime.t -> int -> 'a -> unit Lwt.t) -> 'a Json.plotter
Sourceval plot_issue_cohorts_json : P.t Json.plotter
Sourceval plot_pr_cohorts_json : P.t Json.plotter