A law professor who has used artificial intelligence and machine learning to examine immigration decisions in Canada’s federal courts says it’s getting much easier and faster for researchers to analyze decision-making in the courts.

Sean Rehaag released a paper last week examining thousands of stays of removal decisions in the federal court. While the paper focused primarily on the application of immigration law in Canada, Rehaag said the process he used to conduct the research was incredibly fast and accurate. Similar research he undertook a decade ago took months, including hundreds of hours of coding and a team of a dozen law student researchers.