Elon Musk has made X’s “dumb” recommendation algorithm open-source, allowing the public to examine how posts and ads are ranked.