Package com.tnsai.evaluation.benchmark
Class BaselineStore
java.lang.Object
com.tnsai.evaluation.benchmark.BaselineStore
Persistent store for benchmark baselines.
Baselines are saved as JSON files in a configurable directory.
- Since:
- 0.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlistBaselines(String datasetName) Lists all baselines for a dataset.Loads a specific baseline.loadLatest(String datasetName) Loads the latest baseline for a dataset.save(BenchmarkResult result) Saves a baseline from a benchmark result.
-
Constructor Details
-
BaselineStore
-
-
Method Details
-
save
Saves a baseline from a benchmark result.- Throws:
IOException
-
loadLatest
Loads the latest baseline for a dataset.- Throws:
IOException
-
load
Loads a specific baseline. -
listBaselines
Lists all baselines for a dataset.- Throws:
IOException
-