code: def _result(self):  # type: () -> SolverResult
          
          decisions = self._solution.decisions
  
          return SolverResult(
              self._root,
              [p for p in decisions if not p.is_root()],
              self._solution.attempted_solutions,
          )
docs: Creates a #SolverResult from the decisions in _solution