| id | course-da-visualization-l03 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| type | course | |||||||||||||||
| title | Challenge 03: Three charts and a summary | |||||||||||||||
| summary | Implement the contract in starter/charts.py — Agg before pyplot, parsed dates, real PNG bytes. | |||||||||||||||
| lang | en-US | |||||||||||||||
| content_version | 1 | |||||||||||||||
| status | reviewed | |||||||||||||||
| reviewed_on | 2026-09-12 | |||||||||||||||
| hints |
|
Gate: objective — starter suite · Points: 10
Implement the contract in starter/charts.py. Notes for driving the
agent:
matplotlib.use("Agg")must run before importing pyplot, or the script dies on machines with no display.groupby("date")on unparsed strings sorts lexically — parse dates first.- Tests check PNG magic bytes: a file that is not a real PNG fails.
Checkpoint: python verify.py starter exits 0. Claim code via
python verify.py.