Exploratory Data Analysis with an Agent · Challenge 01 · 中文版

Challenge 01: What messy data looks like

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

Profile the shop export before touching pandas: exact duplicates, unparseable amounts, one bad date — count the dirt first.

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-eda`.

Challenge 01: What messy data looks like

Gate: self-attested · Points: 10

Before writing any code, profile the input. Open scenario/shop-export/transactions.csv (or let your agent do it) and find the dirt yourself:

  • How many rows? How many exact duplicates?
  • Which amount values are not numbers?
  • Which date values are not dates?

Checkpoint: you can state the three numbers without running the test suite — total rows, duplicates, unparsed values. Record your claim with python verify.py (L01 is self-attested).

Hints

Stuck? Open one at a time.

Hint 1 — What this checkpoint tests

Profiling before coding: open scenario/shop-export/transactions.csv and find the dirt yourself — exact duplicates, unparseable amounts, one bad date.

Hint 2 — Count it first

Note how many rows exist and how many of each defect you spot — those numbers are what the suite will compare against, so knowing them early is the advantage.

Hint 3 — When you are done

You can name the three defect classes and roughly how dirty each is.

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 "Exploratory Data Analysis with an Agent" (course id course-da-eda), checkpoint l01.
Machine-readable brief: https://flypython.com/api/challenges/da-eda
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-eda","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-eda/files; you download nothing by hand. Prefer reading the source? Browse the folder on GitHub ↗