You're handed a list of order dicts from a webhook. Return only the PAID ones, in the same order they appeared in the input.
Each order has at least: order_id, user_id, status, amount. Other keys may be present and must be preserved untouched on the kept rows. Return a new list — don't modify the list you were given.
What the tests check
5 on Run · 6 on Submit01empty input returns empty list
02keeps only paid orders
03preserves the original input order
04preserves extra keys on the kept orders
05drops everything when nothing is paid
Submit runs these and one more check you don’t see, so code written for the visible tests alone can still miss.