mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 22:14:28 +01:00
This commit introduces the `BenchmarkRun` class, designed to model a complete benchmark run. The class encapsulates all data and sub-models related to a benchmark, providing a centralized object to handle various aspects of a benchmark run. The `BenchmarkRun` class includes the following sub-models: - `RepositoryInfo`: Information about the repository and team. - `RunDetails`: Specific details like the run identifier, command, and timings. - `TaskInfo`: Information about the task being benchmarked. - `Metrics`: Performance metrics for the benchmark run. - `Config`: Configuration settings for the benchmark run. A `reachedCutoff` field is also included to indicate whether a certain cutoff was reached during the benchmark run. Methods for serializing and deserializing the object to and from JSON are also provided.