Aroma: Using machine learning for code recommendation
21–30 of 62 posts
Re: Aroma: Using machine learning for code recommendation
#22If anyone wants to get a PhD in this topic, let me know :)
Re: Aroma: Using machine learning for code recommendation
#23If anyone wants to get a PhD in this topic, let me know :)
Didn’t Tennessee pass a law saying they’d stop abortion in the event of rape, incest, even to save the mother’s life?
Hard pass.
Re: Aroma: Using machine learning for code recommendation
#24If anyone wants to get a PhD in this topic, let me know :)
Can u point out any work on refactoring existing code for reduced code complexity?
Obtaining same (non)functional behavior using less code.
EDIT: i will read the CodeDeviant paper
Re: Aroma: Using machine learning for code recommendation
#25Re: Aroma: Using machine learning for code recommendation
#26The most interesting (and I think difficult) approach here is properly representing the ASTs as vectors. There is a lot more possible when you get this right.
Re: Aroma: Using machine learning for code recommendation
#27I want something like this for math. Write an equation, or a definition and see a bunch of different 'versions' of that snippet and where they are being used. This would help so much with understanding concepts and merging fields. It is way too common for different fields to independently "discover" some concept and be completely ignorant of all the work that has been done on that concept by some other field.
Re: Aroma: Using machine learning for code recommendation
#28If people are interested in this area and not already aware, there has been an Eclipse project that operates in this general area for a while. https://www.eclipse.org/recommenders/
You could scaffold a project, and it runs, and then you check back to see what it recommends.
Re: Aroma: Using machine learning for code recommendation
#29How hard would be?
Re: Aroma: Using machine learning for code recommendation
#30Maybe ontopic: I would like a voice controlled system that works with me. For example: saying, "I need a loop over a list" and promptly I get served in my text editor the loop. Or "I need to open a file and read contents". Or "Create an object ThisAndThat, with three properties" ... etc. Of course ideally would even ask for more details like, what kind of list is that, or how shall the file be read. How hard would be…
Paper: https://arxiv.org/pdf/1810.02720v1.pdf
Code: https://github.com/pcyin/tranX
Live demo (try Django out): http://moto.clab.cs.cmu.edu:8081/