Function distance_oracle::run

source ยท
pub async fn run(client: &Client, settings: &Settings)
Expand description

Runs the evaluation process, saves the results, and cleans up old files.

This function performs the following steps:

  1. Runs the evaluation task by invoking compute_distance_evaluation, which provides:
    • The evaluation results.
    • The current period index.
    • The file path where the results should be stored.
  2. Saves the evaluation results to a file in the specified directory.
  3. Cleans up outdated evaluation files.