The Science Behind REPO