refactor: Enhance docs, add tests in KahnsAlgorithm
#2072
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
KahnsAlgorithm
#2072