HF RL Explorer

Task: Implement a Thread-Safe SQLite Database Manager with Proper Connection Lifecycle

Task: Implement a Thread-Safe SQLite Database Manager with Proper Connection Lifecycle: a task in Terminal-Lego-15k (Harbor dataset). When working with SQLite databases in applications, a common question arises: should you keep the database connection open for the entire application lifetime, or…

The task

When working with SQLite databases in applications, a common question arises: should you keep the database connection open for the entire application lifetime, or open and close it for each operation? This task requires you to implement a proper database manager that handles connection lifecycle correctly.

Part of PrimeIntellect/Terminal-Lego-15k.