AI-Assisted Coding · Midcourse projectPart 2

Study explanation · Part 02 · 10 min

Choosing two features

Pick two features from five core options. Each comes with expected backend work, frontend work and good tests. Three optional extensions exist, but the brief warns they are bigger or easier to overbuild.

Listen to this lesson

Hear the lesson read aloud, with each sentence highlighted as you go.

Narrated by an AI voice.

Five core options

The brief gives five core features and asks you to choose two. For each one it lists what the backend should do, what the frontend should show, and the tests that make good evidence. Read the tests column first: it tells you what “done” looks like.

Core feature options · Midcourse brief pp. 1-2
OptionExpected backend workExpected frontend workGood tests to include
Due dates + overdue filterAdd optional due_date validation. Support create/update. Decide whether overdue is computed in the backend or UI. Optional query filter for overdue.Add due date to the modal. Show due date or overdue pill on cards. Add an overdue filter or visual indicator.Valid due date, invalid date format, overdue detection, update due date, filter returns only overdue tasks.
Tags / labelsAdd tags as a list or normalized comma-separated field. Validate trimmed non-empty tag values and optional maximum count/length.Add tags to the modal. Render tag chips on cards. Add tag filtering or search by tag.Create with tags, reject empty tag, update tags, filter by tag, preserve tags after unrelated update.
Search + combined filtersExtend GET /tasks to support text search and combinations such as status, priority, assignee, or tag/due-date if implemented.Add a compact filter/search bar above the board. Keep columns visible and preserve empty states.Search title/description, combine status + priority, no matches returns 200 with [], invalid filter value returns 422 if backend validates it.
Task commentsAdd comment model or task comment list. Support list/add/delete comment behavior with non-blank text validation and not-found handling.Add a comments section in the edit modal or a small task detail area. Show comment count on cards if useful.Add comment, reject blank comment, list comments for a task, delete comment, 404 for missing task/comment.
Activity logCreate an event record for task create/update/delete/status changes. Add GET /activity or GET /tasks/{id}/activity.Add a small activity panel or task-specific activity view. Keep it simple and readable.Create event generated, update event generated, status-change event includes from/to, delete event recorded or intentionally excluded with explanation.

Read with careThe PDF’s text layer interleaves these four columns; the table is reconstructed column by column.

What each option really asks of you

The five options look similar in size on paper, but they stretch different parts of the course. Two extend what you already have; three add something new.

  • Due dates One optional field, a date rule with boundaries (today, completed tasks), and a filter. Strong boundary tests.
  • Tags A list field with normalization and validation. The trap is deciding storage shape and limits.
  • Search + filters No new model: extend GET /tasks. Deterministic query tests and clear empty states.
  • Comments A new child resource with its own add/list/delete and 404 handling. More routes, more tests.
  • Activity log Events on every change, including from/to on status. Touches every existing write path.

Decide where a rule lives

The due-dates row says “decide whether overdue is computed in the backend or UI”. That is the kind of decision the mini-ADR records. The course’s habit from Module 2 is that business rules belong in the backend, not in a UI-only guard, so a rule that the backend owns can be tested with pytest and cannot drift between client and server. Whichever way you go, write down why.

Optional extensions, and why they are optional

The brief lists three more features that are useful but bigger or easier to overbuild. Choose one only if your two core features are already finished and verified.

Optional extension features · Midcourse brief p. 2
Optional extensionWhy it is optional
Bulk operationsMulti-select, batch PATCH/DELETE, error handling for partial failures, and UI state can become large quickly.
Saved views or presetsUseful for filtering, but it can introduce persistence and settings design that is not central to Modules 1-3.
Frontend-only polish such as animations or themesCan improve the product but does not sufficiently assess backend/testing skills by itself.

Read with careFrontend-only polish cannot be one of your two features on its own: the brief says it does not assess backend or testing skills.

A quick test for a good pair

Before you commit to two features, run them through these checks.

  • Each feature has backend work, at least two meaningful tests, and something you can observe.
  • At least one, ideally both, are visible on the board, the modal, the cards or a small panel.
  • You can describe each in one sentence without the word “and” doing a lot of work.
  • Neither needs a new framework, a new database or a dependency you have not used.
  • You know which existing behavior could break, and how you would notice.

Key ideaChoose the pair you can finish, verify and explain, not the pair that sounds most impressive.

Key takeaways

  • Five core options; choose two. Read each option’s test column as the definition of done.
  • Search + filters and due dates extend what exists; comments and activity log add new resources.
  • Decide where each business rule lives, and record the decision.
  • Optional extensions are bigger or easier to overbuild; polish alone does not assess backend or tests.

From the midcourse project brief (4 pages), with links back to the Module 1-3 habits it reuses.

Your study checkpoint

Ready to continue?

Mark the lesson complete once you have read it and tried its idea on something real.

Next · Part 3