a framework for detecting system problem and fix them automatically