The training level is, to my knowledge and discovery, the main influence. The Tama-Go's lose hearts quite frequently, so I was down to zero hearts a few times, but my training bar was full, so I got the perfect characters. This can be good or bad. Good because getting perfect/horrible characters...