Learning from Test and Trace