/DeepLearningCodeCompletion

Deep Learning Project for Program Analysis 2006

Primary LanguagePython

Program Analysis and Synthesis, Spring 2016, ETH Zurich

## Project: Deep Learning for Programs
We provide two scripts 'suggest.sh' and 'extract_histories.sh' that will be used to test your solution. You should update both scripts by following the instructions provided inside them and include them in your submission.



## Repository Overview:
Folder HistoryExtraction: 	Contains all code and the testcases given for history extraction.
Folder Prediction:		All code concerning the deep learning and code prediction.



## READMEs
There is an README File within each folder describing the contained elements of the folder.



## Execution:
The main .sh files are still in this main folder and can be called as demanded in the assignment.

> Howto run extract_histories.sh:       	
-If the file to predict has ? in the tree, you need to pass true as a third argument.
-Example: 
~/Desktop/Repository/ProgramAnalysisProject$ ./extract_histories.sh /home/pa/Desktop/Repository/ProgramAnalysisProject/HistoryExtraction/tests_histories/programs.json /home/pa/Desktop/Repository/ProgramAnalysisProject/HistoryExtraction/tests_histories/test
Leads to:
<0><57>   <onreadystatechange,0,0,-> <open,0,0,-> <send,0,0,-> 
<0><50>   <onreadystatechange,0,0,-> <open,0,0,-> <send,0,0,-> 

-Example 2


> Howto run suggest.sh:
-
-