-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make real code commits instead of random string #10
Comments
Better yet, generate code with an RNN: https://karpathy.github.io/2015/05/21/rnn-effectiveness/ |
I have no idea how RNN works (not cs rockstar yet :/) Let me know if someone wants to take this task. |
@ybur-yug will be implementing this. |
I think a neural network is a bit of overengineering something thats such a simple toy application @cscorley. I'll be working on a keep-things-simple solution today or tomorrow (depends when I have a the time). |
What if you just grab code snippets from stackoverflow? |
@avinassh Whai if we could grab code snippets from different websites on run time and then commit them. That would be much cooler like a rockstar no? |
Looks like the code snippets are fine to use under "fair use": http://meta.stackexchange.com/questions/25956/what-is-up-with-the-source-code-license-on-stack-overflow/25957#25957
|
Guys any update? |
RNN, AI, snippets, that's too much work for a rockstar. |
https://isotropic.org/papers/chicken.pdf How about this? |
What we are looking at it something called code generation using DL. Have a look here - https://ml4code.github.io/base-taxonomy/generative.html I have previously worked on RNNs for language encoding and QA systems. Let me know the details and we will plan accordingly. |
Also, if you don't want to use DL, we can generate random senseless code with a simple copy-pasting logic with language specific simple parsing. Any votes on this? |
Currently the code commits random strings in code file and in commit message (
uuid.uuid1
). Instead it should write some real code and commit it with an intelligent commit message.here's how I am thinking to implement: find some popular libraries (with MIT License), maintain a directory of those snippets and copy the code from it with commit message.
Idea originally suggested by
Laurentvw
on HN.The text was updated successfully, but these errors were encountered: