Test citation extraction from local files to make sure that changes to citation extract code doesn't degrade quality, or break old use cases.
CitationExtractionValidationTest
-get all opinions with citations
-loop over citations
-if scrape evaluation not 'bs'
-if scraped = validated, put in neutral_coverage list
-else put in improved_coverage field
-run new load_local_file() method
-run extraction (make sure old/stored citation list is rebuilt)
-make sure citation count is the same or greater
-make sure all neutral_coverage citations were extracted
-bonus points for improved_coverage citations
Test citation extraction from local files to make sure that changes to citation extract code doesn't degrade quality, or break old use cases.
CitationExtractionValidationTest -get all opinions with citations -loop over citations -if scrape evaluation not 'bs' -if scraped = validated, put in neutral_coverage list -else put in improved_coverage field
-run new load_local_file() method -run extraction (make sure old/stored citation list is rebuilt) -make sure citation count is the same or greater -make sure all neutral_coverage citations were extracted -bonus points for improved_coverage citations