Complex sentence: Girls earn higher grades than boys until the end of high school; in some districts, girls achieve higher marks despite similar (or lower) scores than boys on standardised tests.
Split into simpler sentences: Girls earn higher grades than boys until the end of high school. Girls in some districts achieve higher marks despite scoring the same or lower than boys on standardised tests.