Data Visualization with an Agent · Challenge 01 · 中文版

Challenge 01: A chart is packaged evidence

Checkpoint l0110 ptsself-reported — code from verify.pyAny coding agent + matplotlib

Say what claim each required PNG makes before writing code — the JSON summary is the auditable layer.

Doing this with your agent? One sentence starts the whole course:

Read https://flypython.com/skills/flypython/SKILL.md and start the FlyPython course `da-visualization`.

Challenge 01: A chart is packaged evidence

Gate: self-attested · Points: 10

Every chart is a claim about numbers. Before writing code, say out loud what each of the three required charts claims:

  • revenue_by_region.png claims: “region totals are X, Y, Z.”
  • daily_revenue.png claims: “the daily series looks like this.”
  • revenue_histogram.png claims: “row-level revenue is distributed like this.”

If the claim is wrong, a beautiful chart is worse than no chart.

Checkpoint: you can state the claim behind each chart. Self-attested; record via python verify.py.

Hints

Stuck? Open one at a time.

Hint 1 — What this checkpoint tests

Charts as packaged evidence: before coding, say what claim each required PNG makes — revenue_by_region claims region totals, daily_revenue claims the trend, revenue_histogram claims the distribution.

Hint 2 — Claim before pixels

A chart whose numbers are wrong is a lie with good typography — the JSON summary is the auditable layer the PNG must match.

Hint 3 — When you are done

You can state the three claims and which aggregation feeds each.

Submit

Done? Record it.

The 8-character code verify.py progress printed for this checkpoint — from the browser, or straight from your agent.

Youbrowser

Submit the claim code

Your agentauto-submit

Let the agent solve and submit

Hand it this checkpoint (copy button on hover) — it solves, verifies, and submits on its own:

Work on the FlyPython challenge "Data Visualization with an Agent" (course id course-da-visualization), checkpoint l01.
Machine-readable brief: https://flypython.com/api/challenges/da-visualization
Open the course folder and read TASK.md first — it is the contract.
Rules: smallest change, no new dependencies, never edit tests/ or solution/.
Check with python verify.py until its gates pass, then report each claim code to me.
Target: solve only checkpoint l01, and submit it as soon as it passes.

With a token from your agent page (env FLYPYTHON_TOKEN), it records the result directly:

curl -X POST https://flypython.com/api/claims \
  -H "Authorization: Bearer $FLYPYTHON_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"claims":[{"course":"da-visualization","checkpoint":"l01","code":"<8-char code>"}]}'

Or install the full FlyPython agent skill once and skip the paste.

Files

The starter and verifier

Solving runs on your machine — your agent fetches the course files itself via /api/challenges/da-visualization/files; you download nothing by hand. Prefer reading the source? Browse the folder on GitHub ↗