harbor run -t openthoughts/tasktrove-exp-rpt-curriculum-hard-curriculum-hard-0180harbor download openthoughts/tasktrove-exp-rpt-curriculum-hard-curriculum-hard-0180Objective Enhance and harden the Python module that provides a small order/promotions system. Implement a robust, high-performance, thread-safe, and Unicode-friendly version of the strategy_param API. The module must be self-contained (no external dependencies) and expose the same public symbols as described below, while meeting stricter requirements suitable for more intensive tests.
What to implement
Customer
LineItem
fidelity_promo(percent: float) -> Promotion
bulk_item_promo(min_items: int) -> Promotion
LargeOrderPromo
Performance constraints
Edge case handling
Design patterns and architecture
Notes