← AI Engineer curriculum

Builder’s Outpost

Turn messy inputs into a checked result somebody else can reuse. Builder’s Outpost connects Python, HTTP, SQL, mathematics and uncertainty through everyday engineering work.

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.

  1. Write down a validation rule for missing and nonpositive durations and a rule for duplicate IDs.
  2. Process the fixture with a Python function and use SQL to reproduce the total from the three accepted rows.
  3. Write a test for the accepted count, rejected count and total. Keep duplicate and invalid-row reasons visible in a data-quality report.
  4. 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

Primary references