1. learning algorithm bug fix : merge simulation