This Mortar project contains the scripts which generate recommendations for gitrec.mortardata.com. For a quick overview of how the algorithm works, see this blog post.
For a complete discussion of the Mortar recommendation engine project and how to write your own, visit our tutorial pages.