-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME
More file actions
35 lines (21 loc) · 1.29 KB
/
README
File metadata and controls
35 lines (21 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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:
-
-