Assessing the risk of a fiscal crisis