From 7ae504c10d557168dcdcc4c56ee2f10aa07a089a Mon Sep 17 00:00:00 2001 From: Guillaume Petiot Date: Thu, 14 Dec 2023 16:55:47 +0800 Subject: [PATCH] bench: Cleanup unused code --- bench/bench.ml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bench/bench.ml b/bench/bench.ml index 4ff17b9f69..b43e53e62a 100644 --- a/bench/bench.ml +++ b/bench/bench.ml @@ -65,8 +65,6 @@ let benchmark () = let results = Analyze.merge ols instances results in results -let nothing _ = Ok () - type 'a result = (string, 'a) Hashtbl.t type 'a results = (string, 'a result) Hashtbl.t @@ -93,12 +91,6 @@ let json_of_ols ols = | Some estimates -> `List (List.map (fun x -> `Float x) estimates) | None -> `List [] -let json_of_string_ols ols = - match ols with - | Some [x] -> `Float x - | Some estimates -> `List (List.map (fun x -> `Float x) estimates) - | None -> `List [] - let json_of_ols_results ?name (results : Bechamel.Analyze.OLS.t results) : Yojson.Safe.t = let metrics_by_test = process_results results in