This paper describes the design of the learner modelling component of the LEACTIVEMATH system, which was conceived to integrate modelling of learners’ competencies in a subject domain, motivational and affective dispositions and meta-cognition. This goal has been achieved by organising learner models as stacks, with the subject domain as ground layer and competency, motivation, affect and meta-...