Skip to lesson content
DigiTransact AI Learning CentreMy assessment

Level 4 · Lesson 9 of 12

Debugging and refactoring

Debugging changes wrong behaviour; refactoring changes structure while preserving behaviour. Reproduce the fault, reduce the example and add a regression check before cleanup.

Field assignment

A Keta seller’s basket duplicates a row after editing. Record the shortest sequence, fix it, then extract the display helper separately.

Private to this browser profile. Use practice data only; notes are not encrypted. Each note needs at least four words and 20 characters.

Which change is a refactor?

Back to level outline · Continue: Performance optimisation