🔥 3-day streak
GitHub Copilot130 / 190
Question 130 of 190

You maintain a Python order-processing service. A single function `create_order(customer_id, product_id, quantity, discount, shipping_address, billing_address, gift_wrap, priority, coupon_code, notes)` has grown to ten positional parameters, and callers frequently mix up argument order, causing subtle bugs. You want Copilot to help improve maintainability without changing the function's external behavior for existing tests. Which approach best uses Copilot for this refactoring?

Reviewed for accuracy · Report an issueNext question