Keep the problem small and the boundaries clear
Start with the Study Ledger and separate input validation, storage and reporting. Keep the reporting function callable without a terminal or a network. That gives you a place to test totals independently and makes it easier to add an API when you reach the HTTP mission.
An asynchronous request can wait on slow I/O while other work proceeds, but input rules and failure behavior still need to be defined. Design one successful response and one documented error before deciding how to run concurrent tasks.
Treat a data check as part of the result
For the Data Cartographer, document what a row represents, which field uniquely identifies it and which unit each number uses. Run a count before and after filtering or joining. A join can multiply a row when its match is duplicated, making a correct-looking sum misleading.
Connect these checks to the mathematics and statistics missions. Calculate a small group’s average by hand before coding it. When groups differ, save their counts and describe what another sample might change. That habit carries forward to model evaluation.
Reconcile a synthetic study report
Create a CSV of session records. Use IDs A, B and C with 15, 25 and 20 minutes, a duplicate copy of C, one record with an empty duration and one with minus five minutes. Keep the fixture in the project.
- Write down a validation rule for missing and nonpositive durations and a rule for duplicate IDs.
- Process the fixture with a Python function and use SQL to reproduce the total from the three accepted rows.
- Write a test for the accepted count, rejected count and total. Keep duplicate and invalid-row reasons visible in a data-quality report.
- Use the same function behind an API response once the HTTP mission is available. Check that a malformed request returns the documented error.
What to keep for review. Save the fixture, the acceptance rules, a reproducible 60-minute total and the test output. Include a note explaining why summing every numeric cell would produce a different answer.
What to check first
These missions from earlier realms supply prerequisites for work in this realm. Check the individual mission before you start.
Missions in this realm
- M03Programming from zero with Python35–50 focused hours
- M04Maintainable Python and software design25–40 focused hours
- M05Web, HTTP, APIs and asynchronous work20–30 focused hours
- M06SQL and trustworthy data preparation25–35 focused hours
- M07Mathematics for models30–45 focused hours
- M08Probability, statistics and experiments25–40 focused hours
