Module Bechamel_js

type t = {
  1. x_label : string;
  2. y_label : string;
  3. series : (string, Bechamel.Benchmark.stats * Bechamel_js__.Point.t list * float list option * Bechamel_js__.OLS.t) Stdlib.Hashtbl.t;
}
val label_witness : string Json_encoding.encoding
val witness : compare:(string -> string -> int) -> t Json_encoding.encoding
val of_ols_results : x_label:Stdlib.String.t -> y_label:Stdlib.String.t -> (Stdlib.String.t, (string, Bechamel.Analyze.OLS.t) Stdlib.Hashtbl.t) Stdlib.Hashtbl.t -> (string, Bechamel.Benchmark.t) Stdlib.Hashtbl.t -> (t, [> Rresult.R.msg ]) Rresult.result
type value = [
  1. | `Null
  2. | `Bool of bool
  3. | `String of string
  4. | `Float of float
]
val flat : [< `A of [< `A of 'b | `Bool of bool | `Float of float | `Null | `O of (string * 'c) list | `String of string ] list as 'b | `Bool of bool | `Float of float | `Null | `O of (string * 'c) list | `String of string ] as 'a -> Jsonm.lexeme list
type buffer = bytes * int * int
type transmit = buffer -> buffer
type 'a or_error = ('a, [ `Msg of string ]) Stdlib.result
type 'a dst =
  1. | Manual : transmit -> buffer dst
  2. | Buffer : Stdlib.Buffer.t -> (Stdlib.Buffer.t -> unit or_error) dst
  3. | Channel : Stdlib.out_channel -> (Stdlib.out_channel -> unit or_error) dst
val manual : transmit -> buffer dst
val buffer : chunk:int -> (Stdlib.Buffer.t -> unit or_error) dst
val channel : string -> (Stdlib.out_channel -> unit or_error) dst
type raws = (string, Bechamel.Benchmark.t) Stdlib.Hashtbl.t
type ols_results = (string, (string, Bechamel.Analyze.OLS.t) Stdlib.Hashtbl.t) Stdlib.Hashtbl.t
val emit : 'a. dst:'a dst -> 'a -> ?compare:(string -> string -> int) -> x_label:string -> y_label:string -> (ols_results * raws) -> unit or_error