As ever with those tables, I'd like o see the detail of what they're measuring.
Some of these league tables count the number of Highers over 2 years - not the number sat in S5. Some of them don't count the number of Advanced Highers. Some of them vase the percentage on the cohort that started in S1 and don't take into account eg a transient population (asylum seekers/Roma).
And as someone has already pointed out, what level of pass was achieved? A C is no good for many Unis - nor is just 3 Highers. How many As were achieved? How many got 5 Highers in a single sitting?
Dd's school had 26% who got 5 or more Highers last year and 26% got at least one Advanced Higher in S6.
43% go on to HE.
So it performs well for the academic and the medium performers (well above its comparator - and that's before the proportion of SIMD1 is increased as one locality had been wrongly categorised). It still wants to do better for the bottom 20%, those who don't go on to positive destinations.
A good school is one that wants all its pupils to do well. Not just the academic ones.