# Evaluation

## Environment SetUp

```
conda create -n DSL_Trans_Evaluation python==3.8
conda activate DSL_Trans_Evaluation
pip install -r requirements.txt
python main.py
```

## Run

Please copy the folders under `results/program_output/stage_2` to the `data/mathine_completion_results` folder of this project.

Execute the following command, and you will obtain the evaluation results for Stage_1 in the `evaluation_result` folder. Based on these results, you can create Fig 3 D.

```
python mathine_evaluation.py
```

Execute the following command, and you will obtain the evaluation results for Stage_2 in the `evaluation_result` folder. Based on these results, you can create Fig 3 E.

```
python completion_evaluation.py
```

Execute the following command, and you will obtain the evaluation results for Stage_3 in the `evaluation_result` folder. Based on these results, you can create Fig 3 C.

```
python mathine_evaluation.py
```

Execute the following command, and you will obtain the evaluation results for Stage_3 in the `evaluation_result` folder. Based on these results, you can create Fig 3 C.

Execute the following command, and you will obtain the results of various tests.

```
python get_data.py
```

