Self-critical AI assistance for document analysis: from tenders to contract review