Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 1.22 KB

L02.md

File metadata and controls

29 lines (25 loc) · 1.22 KB
id course-da-visualization-l02
type course
title Challenge 02: Spec first, chart second
summary Write which aggregation feeds each chart and what summary.json must contain before matplotlib opens.
lang en-US
content_version 1
status reviewed
reviewed_on 2026-09-12
hints
title body
What this checkpoint tests
Spec before chart: which aggregation feeds each PNG, how many rows the input has, and what `summary.json` must contain — before matplotlib opens.
title body
Write the numbers down
135 rows, 45 days, 3 regions — the suite checks `summary.json` against ground truth, so your spec is the answer key you grade the agent against.
title body
When you are done
Your spec lists each output file and the exact numbers it must carry.

Challenge 02: Spec first, chart second

Gate: self-attested · Points: 10

Write the spec before the chart: which aggregation feeds each chart, how many rows the input has, what summary.json must contain. Your agent will happily render something — your job is to define the numbers it must render.

Checkpoint: you have a written spec mapping each output file to its source aggregation. Self-attested; record via python verify.py.