Curious but does it work if you try to fool it by calling the function different, like max2min instead of bubble sort. And can you ask for the list of debugging cases starting some given code? Note having to go back and forth with ChatGP