yamp\'s bug type judgment