So the author did a proper test of the model by scoring it on an unseen track to make sure it generalizes! This is very awesome!
NB: generalization should be one of, if not the first thing you think about and plan for in any ML project.