I was optimizing a c program where a c file has many functions, I only want to optimize a single function in the file. I tried several marks to let openevolve optimize only the function. such as:
// #EVOLVE-BLOCK-START/END
// # EVOLVE-BLOCK-START/END
// EVOLVE-BLOCK-START/END
//EVOLVE-BLOCK-START/END
but all fails. I find openevolve will also change other functions in the file in the subsequent iterations.
I wonder how the EVOLVE-BLOCK-START/END is implemented in openevolve and how it can be used for program language other than python.
I find a function parse_evolve_blocks in openevolve/utils/code_utils.py. I think it may related to the feature but I don't see any calls to parse_evolve_blocks.