This is the code of the model that was described in our EC-Web 2014 paper "Modelling User Behaviour in Online Q&A Communities for Customer Support".