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.
Although we tend to think as Fibonacci and FizzBuzz as "basic" - these are actually not common in real projects.
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 :)
To play devil's advocate, could I just run code2vec across different repos to see if they are "real enough"?
I like to library and just printed out the paper to read, but since my focus is more with learning to program, this sounds like a tools I'd love to be able to use for analysis, but I'm being told no.