I played a lot with hunter, and I observed that the bot always attacks first, and then buffs the minion (houndmaster, bonemare, crackling razormaw and similar effects).
It would be better to buff the card first (if possible), and then to attack.
Also, is there any way to set play order, attack order from config?