The primary school attended by tragic pupil Shay Kang has been praised by a judge for continually raising concerns about her welfare and organising her funeral.