Considering the algorithm did not crawl out of the primordial ooze unbidden by man I am going to guess the former.
The recommendation engine is at least partially learned so it’s fairly likely that it’s the latter
The recommendation engine is at least partially learned so it’s fairly likely that it’s the latter