harbor run -t openthoughts/tasktrove-exp-flat25-subtle-debug-v3-5k-subtle-3979harbor download openthoughts/tasktrove-exp-flat25-subtle-debug-v3-5k-subtle-3979Workspace note: The workspace contains a partially broken implementation at /app/starter_code.py. Your task is to fix the bugs and complete the implementation of distribution_from_bayesnet in the dit module.
Task:
Description:
Requirements (what the function must implement and enforce):
Input handling and validation
Distribution formats supported on nodes (node dist attribute)
Joint distribution construction
Error handling aligned with tests
Acceptance criteria (what would indicate tests pass)
Notes for implementer:
Output: