HF RL Explorer

Task: Implement Proper Asyncio Task Shutdown with Signal Handling

Task: Implement Proper Asyncio Task Shutdown with Signal Handling: a task in Terminal-Lego-15k (Harbor dataset). You need to implement a Python asyncio application that properly handles graceful shutdown when receiving termination signals (SIGTERM and SIGHUP). The application simulates a…

The task

You need to implement a Python asyncio application that properly handles graceful shutdown when receiving termination signals (SIGTERM and SIGHUP). The application simulates a monitoring tool that periodically performs async operations and must clean up properly when terminated.

Part of PrimeIntellect/Terminal-Lego-15k.