harbor run -t openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-0857harbor download openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-0857You will fill in all NotImplementedError stubs in the scaffolded module to produce a fully functional local blood donor CLI. The goal is to expose a clean, testable interface that uses SQLite for persistence, adheres to the provided signatures and type hints, and behaves according to the documented intent in the scaffold.
What needs to be implemented
DonorDB class
DonorCLI class
main(argv=None) -> int
What each class/function is for (described, not shown as code)
Donor: A data model representing a donor record. Fields mirror the database schema (id, name, gender, blood_group, number, email, dob, ailment, last_donation, address). It is a typing aid that helps convert between database rows and Python objects.
DonorDB: Encapsulates all persistence logic for the donors table.
DonorCLI: Provides the user-facing command-line interface.
Files to modify
Testing and execution
Notes and constraints
Important: place your implementation at /app/donor_cli.py so the tests can import donor_cli.