Skip to content

Add --follower routing to --irace mode without explicit --irace#361

Merged
rmartinsanta merged 1 commit into
masterfrom
feature/stronger_follower_mode
May 5, 2026
Merged

Add --follower routing to --irace mode without explicit --irace#361
rmartinsanta merged 1 commit into
masterfrom
feature/stronger_follower_mode

Conversation

@rmartinsanta
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates IRACE-related CLI behavior and documentation so that --follower can start the IRACE execution controller (follower mode) without requiring an explicit --irace, and clarifies the “tuning” terminology across configs/docs.

Changes:

  • Route --follower startup to the IRACE orchestrator when available (so follower mode works without --irace).
  • Update IRACE documentation/config comments to describe “IRACE tuning mode” and document follower mode.
  • Minor YAML formatting adjustments in the template application.yml.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
core/src/main/java/es/urjc/etsii/grafo/solver/RunOnStart.java Adds --follower argument routing to the IRACE orchestrator and refactors name normalization.
docs/features/irace.md Documents follower mode usage and updates wording to “IRACE tuning mode”.
core/src/main/resources/application.yml Updates IRACE-related comments to mention tuning mode and follower mode.
template/src/main/resources/application.yml Updates IRACE-related comments to mention tuning mode and follower mode; minor formatting tweak.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +64 to +66
private static String normalizeName(String value) {
return value.replaceAll("[-_]", "").toLowerCase();
}
Comment on lines +56 to +61
private String resolveOrchestratorName(String arg) {
var name = normalizeName(arg);
if ("follower".equals(name) && orchestrators.containsKey("irace")) {
return "irace";
}
return name;
Comment thread docs/features/irace.md
@@ -14,7 +14,7 @@ https://cran.r-project.org/web/packages/irace/vignettes/irace-package.pdf

## Activating IRACE mode
@rmartinsanta rmartinsanta merged commit d14d5a1 into master May 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants