We've seen problems with compensation linked to short-term company performance. Test scores and most metrics like you're proposing have similar problems. Nobody cares about test scores; we care about long-term success of students into adulthood, and it seems that we have no idea how to predict that.
Teachers aren't even evaluated at the level of "more exams passed than last year" or overall results relative to comparable schools.