This is not an issue in the UK. In our schools teachers are provided with data based on prior achievement and demographics of all their students. If a cohort of students fail to reach their expected target then the teacher is usually considered responsible. Of course, rigorous adoption of a target based system also leads to teachers, schools and exam boards gaming the system and subsequent grade inflation, but that is a different problem entirely.