Unfortunately, the school get their money based on how many kids go to their school. They have to keep track, if they don't or if students aren't showing regularly, they lose funding.
Success metrics are how you determine whether a change has worked, and they are how you determine where to put more resources. So if your success metric is attendance, you're going to maximize attendance, not quality of education.