add helper to generate cross-validation configuration + examples