MaintainModule refactoring SPLIT_THE_MODULEDEVOS
“Split this module into smaller ones without changing what it does.”
Splits a large module that many parts of the codebase use into smaller modules that do the same thing. It first maps what depends on what, including the order in which parts are initialised, and moves one piece at a time. The public interface stays the same and every test has to pass after each move.
Why it mattersLarge tangled modules slow every change, and splitting one carelessly breaks behaviour that the tests do not cover.
Done wellSmaller modules, the same public interface, every test passing, and initialisation order preserved.
Mind the nullA change in initialisation order that passes the tests and breaks in production.The failure this card exists to catch. A model that does this ends as null.
The personAsks, and judges the result. Nothing here needs a yes.
AutomaticRated 42 of 50, frontierUsefulness 8 of 10About 16 hours by hand
The results
ModelDateOutcomeTimePerson's timeLeverageIssues seen
By hand, no agent16 hours1
No model has run this card yet.
One row for each model. A new model gets a new row on the same card. Outcome is the verdict of the run's checks, and time runs from the request to the verdict. A blank was not measured.
The arena
No model has been through the arena for this agent yet.