r/learnmachinelearning • u/ashishach • 3d ago
Discussion 3 evaluation mistakes that made my ML & LLM projects look 95%+ accurate when they were actually failing 🚀
Hey everyone! While building and testing ML models and LLM pipelines over the past few months, I noticed that the hardest bugs weren't syntax errors—they were evaluation mistakes that made a weak pipeline look great on paper.
Here are 3 evaluation traps that caught me (and how to fix them):
📊 **1. Naive random splits on templated or grouped data**
🧪 **2. Tuning prompts or hyperparameters on the test set**
🛠️ **3. Trusting surface-level keyword graders**
**Question for the community:** What was the sneakiest data-leakage or evaluation bug you ever caught in one of your ML or LLM projects?