From Analysis to Report with an Agent · Challenge 04 · 中文版

Challenge 04: Numbers traceable to inputs

Checkpoint l0410 ptsgated by test suiteAny coding agent

Every metric in report.json equals its source field — the audit answer is a field name, not an explanation.

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

Challenge 04: Numbers traceable to inputs

Gate: objective — both suites · Points: 10

Every metric in report.json must equal its source in results.json byte-for-number. The audit question this challenge answers: “show me where this number came from” — and the answer is a field name, not an explanation.

python verify.py starter --expect-failure must now exit nonzero; python verify.py solution must be green.

Checkpoint: both gates pass. Objective claim code via python verify.py.

Hints

Stuck? Open one at a time.

Hint 1 — What this checkpoint tests

Both suites: every metric in report.json equals its source in results.json — the audit answer is a field name, not an explanation.

Hint 2 — The trace question

For each number in your report, answer 'where did this come from' with an input field. If any answer is a sentence instead of a field name, that number is suspect.

Hint 3 — When you are done

All metrics trace byte-for-number and you can say which section each lives in.

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