There's a decent chance that his code was seen during the model's training, given that <a href="https://github.com/kylekaba/alma_dynamicalmodeling">https://github.com/kylekaba/alma_dynamicalmodeling</a> is open (world-wide readable). The OP may have accidentally used GPT as a hashtable to test its rote learning abilities.