harbor run -t openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-3224harbor download openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-3224You will complete the NotImplementedError stubs in the scaffolded Python code to create a small, offline, data-driven CLI for filtering a local car catalog. The dataset lives in a JSON file (data.json) in the repository. The tests (pytest) will exercise the implemented classes and functions by constructing and querying datasets, formatting output, and invoking the CLI logic.
What needs to be implemented (high level, behavior-focused)
DataLoader (in carfinder.py)
CarFilterEngine (in carfinder.py)
load_data(path) (in carfinder.py)
format_car(car) (in carfinder.py)
CarFinderCLI (in carfinder.py)
main(argv=None) (in carfinder.py)
main guard
Files to modify
Notes and expectations for testing
Data file
How to approach implementation
This task focuses on behavior and interoperability (loading data, filtering, formatting, CLI orchestration) rather than exposing any specific internal implementation details.
Important: place your implementation at /app/carfinder.py so the tests can import carfinder.