HF RL Explorer

Task: Create a Universal Python Decorator for Both Sync and Async Functions

Task: Create a Universal Python Decorator for Both Sync and Async Functions: a task in Terminal-Lego-15k (Harbor dataset). Implement a Python decorator called duration that can wrap both regular functions and coroutines (async functions) to measure their execution time. The decorator should…

Part of PrimeIntellect/Terminal-Lego-15k.