Some schools had very good outcomes but these were 'masked' by others with low attainment