why AI autocomplete tools fail at complex logic