Refine code operation output