Enhancing programming education through AI-driven tools and innovative pedagogical models: a systematic study on student engagement, retention, and self-regulation | Synapse