### What problem does this PR solve? Refine code_exec component. ### Type of change - [x] Refactoring