harbor run -t openthoughts/tasktrove-mix-h11-single-skill-only-v2-mix-h11-single-skill-2872harbor download openthoughts/tasktrove-mix-h11-single-skill-only-v2-mix-h11-single-skill-2872Task: Implement a SQLite-backed debugging symbol store as a Python package at /app/hgdb/
Objective Create a Python package named hgdb (located at /app/hgdb/ with a submodule hgdb.db) that provides a class DebugSymbolTable and an exception type hgdb.db.DebugSymbolTableException. The implementation must satisfy the pytest tests provided, exposing the same API and storing data in a SQLite database file.
Deliverables
Directory: /app/hgdb/
Submodule: /app/hgdb/db.py
Package initializer: /app/hgdb/init.py
init(self, db_name: str)
store_instance(self, id: int, name: str) -> None
store_breakpoint(self, bp_id: int, instance_id: int, filename: str, line_num: int) -> None
store_variable(self, variable_id: int, value: str) -> None
store_context_variable(self, name: str, breakpoint_id: int, variable_id: int) -> None
store_generator_variable(self, name: str, instance_id: int, variable_id: int) -> None
store_scope(self, scope: int, *breakpoints: int) -> None
Optional but recommended
This task description describes exactly what to implement, the expected function/class signatures and behaviors, and where the code must reside so an AI agent can complete it.