Published on the Earnest engineering blog here.