Your question is Logistic Regression and Trees. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
How would you choose between logistic regression and tree-based models, and how would you handle covariate imbalance?
Using the supplied tabular dataset, implement and compare both model families, justify the preprocessing and validation strategy, and distinguish covariate imbalance from target class imbalance. Report appropriate overall and subgroup metrics, explain any weighting or resampling approach, and identify the assumptions and failure modes of your solution.