Haystack - contract search bot - project for Stanford CS106A Code in Place

by Martin E


Haystack is your friendly contract search bot. Haystack searches through a directory containing contract documents for 'force majeure' clauses and outputs a CSV file with a list of the documents, and for each document, the text of any such clause and its paragraph reference(s). 'Force majeure' typically refers to events like earthquakes, floods and other 'acts of God', which may include pandemics. A 'force majeure' clause in a contract may absolve a party from liability if the 'force majeure' makes it impossible to performing its obligations. This area has been a hot topic due to COVID-19.