One of the districts I worked at didn't have an attendance policy and allowed students to do credit recovery with online courses. It's incredibly difficult to convince middle and high school students to struggle through learning when they know from their fellow students they can make up the credit later and just google all the answers since the proctors for credit recovery didn't really pay attention. They all had their phones on their leg under the table searching for all the answers while the proctor sat and ignored them.