Class RQRunner
java.lang.Object
org.variantsync.boosting.eval.experiments.ExperimentRunner
org.variantsync.boosting.eval.experiments.RQRunner
This class represents a runner for answering our research questions.
-
Field Summary
Fields inherited from class org.variantsync.boosting.eval.experiments.ExperimentRunner
config, configPath, ex_repeat, percentages
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(Path splRepoPath, List<org.variantsync.vevos.simulation.variability.SPLCommit> commitGroundTruths) Conducts the experiment by running the boosted feature tracing with different sample sizes and mapping percentages as specified in the given experiment configuration.Methods inherited from class org.variantsync.boosting.eval.experiments.ExperimentRunner
conductExperiment, createJSONProperties, createJSONSingleRun, initBoosting, loadSubjectSpecificConfig, prepareVariants
-
Constructor Details
-
RQRunner
Constructor for the RQRunner class.- Parameters:
config
- The configuration object for the RQRunner. This constructor initializes the RQRunner with the provided configuration object. It sets the configPath to the path of the evaluation properties file and clears the debug folders in the data directory.
-
-
Method Details
-
run
public void run(Path splRepoPath, List<org.variantsync.vevos.simulation.variability.SPLCommit> commitGroundTruths) throws IOException Conducts the experiment by running the boosted feature tracing with different sample sizes and mapping percentages as specified in the given experiment configuration. The experiment results of each run are collected and added in JSON format to a file which serves as outpot.- Parameters:
splRepoPath
- The path to the SPL repositorycommitGroundTruths
- The list of SPL commits for ground truth comparison- Throws:
IOException
- If an I/O error occurs while reading or writing files
-