Use some code like find . -type f -exec sed -i 's/sufficient_decrease_level/sufficient_decrease_factor/g' {} \; and grep -r -l "sufficient_decrease_level" to check whether all of them are replaced.
I just passed the values to the algorithm directly and use some code like num2str to convert it into string in legend, stamp and pdfname.
@Lht97 Handle this before 12:00 noon 12 September, write comments about how you did it, and close the issue.