Open chunhualiao opened 3 months ago
remove .mod and .o files,
many Cpp files cannot be compiled, even though the pipeline is designed to make sure they can be compiled and run.
It is highly possible that the bug is caused by this line: https://github.com/bin123apple/Fortran2Cpp/blob/main/dataset_generation/extract_final_data_pairs.py#L14. As the correct cpp/fortran may not always appear in the end of the dialogue.
Cause: Sometimes, in the pipeline, while trying to compare the incompilable cpp code with the compilable fortran code, the cpp code will be incomplete again.
Record the output code that cause the problem.
Traceback: recalled evidence in each step.
In your pipeline, which step do you have correct cpp and fortran codes both can pass compilation and execution ?
2.5k pairs : compile and run all
for conversational dialogue datasets: only last code pairs matters.