Is the reason why Anki is open source because the SM-2 algorithm it uses is under GPL?
SM2 is not GPL. Licensing SuperMemo Algorithm - SuperMemopedia