Melotti says one possibility is developing an automated system that determines whether a rat is in pain or feeling positive, which could be measured over time and used to improve the quality of life for the animals.