Mean score under the selected protocol.
Inner selection, outer evaluation
5 outer tests × 4-fold inner searches
Synthetic held-out reference.
Inflation from choosing the luckiest candidate.
Standard error across completed folds.
Evaluation must include the act of choosing.
Inner folds select
Hyperparameters, features, prompts, thresholds, and preprocessing are chosen only with inner-training data.
Outer folds estimate
Each untouched outer fold evaluates the full selection pipeline once. Its labels cannot influence the winning configuration.
A final test still matters
Repeatedly inspecting nested-CV results can itself become tuning. Keep a final test set or external evaluation untouched for the last claim.