Design a risk scoring system that computes a final risk score for each merchant based on a list of transactions, a parallel list of rules (one rule per transaction), and a list of merchants with their initial base scores. Inputs: 1. transaction_list: List<String>, each entry formatted as "merchant_id,amount,customer_id,hour" 2. rules_list:…