[core] add gc_engine_func.py