Packrat by example