Mastering Error Reproduction Agents: Techniques and Best Practices