Most public debate about schooling focuses on what happens inside the classroom – on lessons, tests and academic results. But students also spend significant time at school outside formal classes.