Class Main

java.lang.Object
org.variantsync.boosting.eval.Main

public class Main extends Object
The Main class for running the evaluation.
  • Constructor Details

    • Main

      public Main()
  • Method Details

    • main

      public static void main(String... args) throws IOException, InterruptedException, ExecutionException
      This method is the main entry point for the program. It reads a configuration file, prepares repositories, and runs experiments on each repository in parallel using a thread pool.
      Parameters:
      args - The command line arguments passed to the program
      Throws:
      IOException - If an I/O error occurs while reading the configuration file or loading ground truth data
      InterruptedException - If a thread is interrupted while waiting for a task to complete
      ExecutionException - If an error occurs while executing a task in the thread pool
    • prepareRepos

      public static List<Path> prepareRepos(Config config) throws IOException
      Prepares the subject repositories by cloning them into the specified directory.
      Parameters:
      config - the configuration object containing the repository directory
      Returns:
      a list of Paths representing the cloned repositories
      Throws:
      IOException - if an I/O error occurs during the cloning process