groovy script to compare and score all target events and alpha reports in database