Kalah TDD study · Part 23 of 29 · Designs

A02 reference (not part of the comparison)

The A02 reference build by a human with AI, shown beside the designs and not compared with them.

Source run full-1 at tdd-experiment c3dd988

Contents

A02 reference (human + AI, not part of the comparison)

A human wrote it with AI help for A02 before this experiment, so it is never ranked.

Figure 23.1

Class diagram of the A02 reference (human + AI, not part of the comparison)

kalahBoardBoardPrinterGameHouseKalahPitPlayerSowerStoreTurn

10 classes and 37 links. Tag: recomputed.

Text version: Class diagram of the A02 reference (human + AI, not part of the comparison)
  1. Package kalah: Board, BoardPrinter, Game, House, Kalah, Pit, Player, Sower, Store, Turn
  2. Board uses BoardPrinter
  3. Board uses House
  4. Board holds House
  5. Board uses Player
  6. Player uses Board
  7. Board uses Sower
  8. Board uses Store
  9. Board holds Store
  10. BoardPrinter uses House
  11. BoardPrinter holds House
  12. BoardPrinter uses Player
  13. BoardPrinter uses Store
  14. BoardPrinter holds Store
  15. Game uses Board
  16. Game holds Board
  17. Game uses Player
  18. Game holds Player
  19. Game uses Store
  20. Game uses Turn
  21. Game holds Turn
  22. House uses Pit
  23. House extends Pit
  24. House uses Player
  25. Kalah uses Game
  26. Pit uses Player
  27. Pit holds Player
  28. Sower uses House
  29. Sower uses Pit
  30. Sower holds Pit
  31. Sower uses Player
  32. Sower uses Store
  33. Store uses Pit
  34. Store extends Pit
  35. Store uses Player
  36. Turn uses Board
  37. Turn holds Board
  38. Turn uses Player
Functional mark /15not measured
Hidden pass /76not measured
Unseen pass /69not measured
Strict PMD compliancepass
Mutation score154/165, 0 not run (the reference's own TestKalah tests from the hidden jar)
Classes10
Simple Constructs /54
Minimal Duplication /54
Modular Structure /54
Problem Alignment (tentative) /54
Weighted tokensnot measured
Bench median ms500

Reference

The A02 reference (human + AI, not part of the comparison) row comes from runs/reference. A human wrote it with AI help for A02 before this experiment, so it sits apart below the comparison and is never ranked. Its functional mark, hidden, unseen and acceptance grades, costs and audit are not measured here. The blind rating scored it as a calibration item in round-b, and its row shows those medians. Its tests live only in the hidden jar.

Reference
MethodA02 reference (human + AI, not part of the comparison)
BranchA02 origin/submission
Run ordernot measured
Functional mark /15not measured
Hidden pass /76not measured
Unseen pass /69not measured
Acceptance pass /6not measured
Strict PMD compliancepass
Mutation score154/165, 0 not run (the reference's own TestKalah tests from the hidden jar)
Static analysis violations0
Lines of code380 (src only)
Tokensnot measured
Weighted tokensnot measured
APFDc-Hnot measured
Cost to completionnot measured
Mnot measured
M_ionot measured
Wall timenot measured
Classes10
Methods55
Fields19
Bench median ms500
Clear Presentation /54
Explanatory Language /53
Consistent Code /54
Used Content /54
Simple Constructs /54
Minimal Duplication /54
Modular Structure /54
Problem Alignment (tentative) /54
Agent callsnot measured
Audit flagsnot measured