Tidymodels Code Review Patterns
Overview
Anti-pattern detection and best practices for tidymodels workflows based on "Tidy Modeling with R" (TMwR) principles. This skill enables systematic code review for data leakage, resampling violations, workflow issues, evaluation problems, and reproducibility concerns.
Data Leakage Patterns (CRITICAL)
DL-001: Recipe Fitted on Test Data
Severity: CRITICAL
Anti-Pattern:
# WRONG: Fitting recipe on test data
rec <- recipe(outcome
[Description truncada. Veja o README completo no GitHub.]