NumPy allowed · plain Python earns 10 bonus points
Deduplicate a sequence while strictly maintaining order -- standard `set(items)` destroys ordering, but ranking algorithms and prompt context builders need uniqueness without scrambling priority.
Implement deduplicate_preserve_order(items): return a new list containing only the unique elements of items, in the exact order of their first appearance. If items is empty, return [].
deduplicate_preserve_order(items: list) -> list