News for hackers. Stuff that matters.

urialon

Re:Code2vec: learning distributed representations of code on Wednesday December 05, 2018 @03:20AM (#18606515)
We just took the top-starred Java projects from GitHub, assuming that their source code and naming are of good quality. These included projects like elasticsearch, hadoop-common and maven.

We assumed that their code and naming quality are worth learning, such that the learned patterns will transfer to other code and projects, because they are popular and actively maintained projects. So, as you can imagine, FizzBuzz is not that common there :)

Re:Code2vec: learning distributed representations of code on Wednesday December 05, 2018 @01:44AM (#18606166)
The model was trained on real-world code of top starred repositories from GitHub.

Although we tend to think as Fibonacci and FizzBuzz as "basic" - these are actually not common in real projects.