Module 2C / Checkpoint

Phase 2B/2C Boss Fight: Prove Persistence Performance

Finish the Hibernate and query-performance module with tests, transcripts, and article links.

Concept

This checkpoint asks whether persistence behavior is observable. If the answer is only prose, the module is not done.

Task

  1. Run the educational Hibernate and query tests.
  2. Review transcripts for explanatory notes.
  3. Confirm the two Phase 2B/2C articles link to the tests and transcripts.
  4. Tag phase-2c-done.

Run

./gradlew dockerTest --tests "*HibernateMentalModelEducationalTest"
./gradlew dockerTest --tests "*QueryPerformanceEducationalTest"
git tag phase-2c-done

Expected Result

  • The checkpoint has code, logs, articles, and a tag to point at.

Common Traps

  • Leaving the article to explain behavior the repo never proves.
  • Exact query counts that fail when metadata queries change.
  • Skipping the pagination trap because the N+1 fix looked successful.

Hint Ladder

Hint 1

The course is allowed to include broken tests when the package makes their teaching purpose explicit.

Hint 2

Query count belongs in educational tests only.

Hint 3

The final proof is the pairing: broken path, fixed path, and explanation.

Solution

See docs/milestone-audit.md for the M4 evidence map.