harbor run -t openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-2544harbor download openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-2544You are given a scaffold with several NotImplementedError stubs. Your job is to implement the missing pieces so that the DCOP model works end-to-end and the provided (hidden) tests pass. Do not reveal or change any test code. The tests will be executed with pytest.
What you need to implement
Variable
Constraint
DCOP
solution_cost(assignment, dcop)
_build_tiny_dcop()
read_assignments(path)
main()
Notes and expectations
Behavior
Output format
Location
Tests
What not to do
Success criteria
Important: place your implementation at /app/solution.py so the tests can import solution.