← All weeks Multi-Agent Systems / Week 14
Orchestration and Recovery
Build a durable orchestration service. Persist the team task graph and inject crashes, duplicate deliveries, stale workers, and cancellation.
// Put it into practice
A durable orchestration service
- Download week14.py from a lesson's practice section. Follow its setup instructions before running it.
- Lesson 1: Schedule a small dependency graph and restart after a simulated effect before acknowledgment.
- Lesson 2: Inject failures into a local reservation, charge, and shipment simulator.
- Lesson 3: Deliver one job twice and pause a worker beyond its lease.
- Run the supplied assertions and record actual results; a simulated contract check does not certify real model quality.
Download week 14 Python lab ↓Read the script’s setup instructions and run it on your own computer. The website does not execute code or verify your results.
// Independent work
W14-LAB
Week 14: A durable orchestration service
Persist the team task graph and inject crashes, duplicate deliveries, stale workers, and cancellation.
Extend the guided artifact rather than start a second project. Restart resumes valid work and never repeats a committed simulated side effect.
What to produce
- A durable orchestration service
- Setup commands, data or generation procedure, versions, and recorded outputs
- Acceptance results and a precise limitation
Check your work
- Restart resumes valid work and never repeats a committed simulated side effect.
- Each claimed execution is supported by actual saved output.
- Fixture results and real model results are identified separately.
- Setup and reproduction use the taught tools without private credentials.
Self-assessment rubric
- Technical correctness · 35 points
- Implementation or analysis follows the relevant technical mechanism and handles the stated case.
- Evaluation and evidence · 30 points
- Reproducible tests, appropriate baseline, and accurate interpretation.
- Engineering quality · 20 points
- Clear structure, safe boundaries, and usable reproduction instructions.
- Explanation and reflection · 15 points
- Explains tradeoffs, limitations, and next experiment with evidence.
// Retrieve before you reread
Week 14 knowledge check
Try all 6 questions. Check your answers, review the explanations, and retry whenever you like. Answers are checked on this device.
Next: week 15 →