"The statistical predictability of code extends beyond programming-language syntax to patterns specific to individual software projects."
Hindle and colleagues demonstrated that language models trained and evaluated within the same Java project achieved lower cross-entropy than models transferred between projects. This establishes that predictability also reflects recurring project-specific conventions, vocabulary, and implementation patterns rather than simply Java's formal grammar.
View Source