Sub topic 7
Override rules and automatic high-risk outcomes
A weighted scorecard averages risks. Some facts about a customer should not be averaged. A politically exposed person (PEP) with a low-risk product and a domestic channel can still produce a mid-range score, yet the institution must treat that customer as high risk. Override rules handle these cases. This chapter covers what they are, how to build them, and where they go wrong.
This chapter assumes you have read the earlier chapters on factor scoring, weighting, and PEP and sanctions triggers. It also assumes you can read short Python functions.
Why a numeric score is not enough
A weighted score compensates. A very high score on one factor can be offset by low scores on the others. That is acceptable for most risk signals. It is unacceptable for signals where policy, law, or regulatory guidance says the outcome is fixed.
Take the scorecard from the weighting chapter. A customer scoring 2 on customer type, 4 on geography, 3 on product and 2 on channel gets 2.85, which is Medium. If that customer is also a PEP, the correct rating is High. The score is not wrong, but it measures something different from the policy question, which is whether the customer meets a defined high-risk condition.
Override rules put these conditions outside the arithmetic. They run before or after the score and can change the final rating.
The three kinds of override
Not every override does the same thing. Separating them keeps the logic readable and auditable.
| Override type | Effect | Typical triggers (illustrative) |
|---|---|---|
| Floor | Final rating cannot fall below a stated level, such as High | PEP, family member or close associate of a PEP, customer based in a listed high-risk jurisdiction, certain cash-intensive business types |
| Escalation | The customer is not rated normally. A person in compliance decides | Potential sanctions match, unresolved adverse media about financial crime |
| Rejection or exit | Onboarding is declined or the relationship is reviewed for closure | Confirmed sanctions match, inability to verify identity, refusal to supply beneficial ownership |
The floor is the most common. It uses max, not assignment. A floor of High leaves a High score at High and lifts Low or Medium to High. It never lowers anything.
An escalation is a different kind of outcome. A potential sanctions match is not a rating. The institution must first decide whether the match is real, and a rating label would hide that decision. The code below returns "Escalate" for this reason. Rejection is usually a workflow outcome outside the scoring model. The model's job is to stop and hand over.
Where overrides run in the pipeline
Overrides can run before scoring, after scoring, or both. Order matters.
- Run escalation rules first. A potential sanctions match should halt normal processing. Scoring it as though nothing happened wastes effort and risks producing a rating that someone treats as final.
- Run floor rules after scoring. You still want the numeric score for reporting, tuning and validation, even when a floor makes it irrelevant for this customer.
- Keep both values. Store the base rating from the score, the final rating after overrides, and the reasons. Without all three you cannot later ask how often overrides change outcomes.
Implementing overrides
The code below extends the scorecard from the earlier chapters. It adds a second floor trigger for a listed high-risk jurisdiction, and it returns the score, base rating, final rating and reasons together, so the result can be audited.
WEIGHTS = {"customer": 0.30, "geography": 0.30, "product": 0.25, "channel": 0.15}
RATING_ORDER = {"Low": 0, "Medium": 1, "High": 2}
def weighted_score(factors):
"""factors maps each factor name to a score from 1 (low risk) to 5 (high risk)."""
return sum(WEIGHTS[name] * factors[name] for name in WEIGHTS)
def band(score):
if score < 2.5:
return "Low"
if score < 3.5:
return "Medium"
return "High"
def assign_rating(factors, is_pep=False, sanctions_match=False,
listed_jurisdiction=False):
score = weighted_score(factors)
base = band(score)
result = {
"score": round(score, 2),
"base_rating": base,
"final_rating": base,
"reasons": [],
}
# Escalation rule: not rated normally, a person decides.
if sanctions_match:
result["final_rating"] = "Escalate"
result["reasons"].append("potential sanctions match: escalate to compliance")
return result
# Floor rules: the rating can rise to High but never fall.
floors = []
if is_pep:
floors.append("PEP: minimum rating High")
if listed_jurisdiction:
floors.append("listed high-risk jurisdiction: minimum rating High")
if floors:
result["final_rating"] = max(base, "High", key=RATING_ORDER.get)
result["reasons"].extend(floors)
return result
moderate = {"customer": 2, "geography": 4, "product": 3, "channel": 2}
low = {"customer": 1, "geography": 1, "product": 1, "channel": 1}
print(assign_rating(moderate))
print(assign_rating(moderate, is_pep=True))
print(assign_rating(low, listed_jurisdiction=True))
print(assign_rating(moderate, sanctions_match=True))Running it prints the following, shown here on separate lines for readability:
- A score of 2.85, base and final rating Medium, no reasons.
- The same score and base rating Medium, final rating High, with the PEP reason.
- A score of 1.0, base rating Low, final rating High, with the jurisdiction reason.
- A score of 2.85, final rating "Escalate", with the sanctions reason.
The third case shows why the base rating is kept. A Low customer lifted to High by a jurisdiction rule is a different situation from a customer whose score reached High on its own. Reports that only show the final rating cannot tell them apart.
Design decisions that matter
Make triggers explicit and sourced
Every override needs a written definition, an owner and a data source. "PEP" must say which list or provider is used, whether domestic PEPs count, whether family members and close associates count, and how long a former PEP stays flagged. Without this, two analysts will treat the same customer differently.
Keep the list short
Each floor rule removes a customer from the model's judgment. If too many rules force High, the scorecard becomes decoration and the High band fills with customers who do not warrant enhanced due diligence. Add an override only when a policy, law or regulator's expectation requires a fixed outcome. Use a heavier weight in the scorecard for risks that are only strong, not mandatory.
Distinguish a floor from a ceiling
Rules that force a rating down are rare and risky. A rule like "listed company is always Low" looks efficient but removes a customer from scrutiny based on one attribute. If the institution allows it, treat it as a documented, approved exception with its own review, not a normal override.
Handle manual overrides separately
Analysts sometimes need to change a rating by hand. Treat this as a different mechanism from automatic rules. A manual override should require a reason, an approver senior to the analyst, a record of the old and new rating, and an expiry or review date. Manual downgrades deserve more scrutiny than manual upgrades, because a wrong downgrade reduces controls.
Failure modes
- Silent overrides. The final rating changes but no reason is stored. Auditors cannot tell whether the model or a rule produced the result.
- Stale triggers. A customer was a PEP last year and the flag was never refreshed, or the person left office and the flag never expired under policy. Override rules are only as good as the data behind them.
- False positives from name matching. Potential sanctions and PEP matches often come from fuzzy name comparison. Escalating every weak match floods compliance. Ignoring weak matches misses true ones. Tune match thresholds and measure the share of escalations that turn out to be true.
- Override creep. Rules accumulate over years, each added after a single finding. Review the rule set periodically and remove rules that no longer have a policy basis.
- Rating without consequence. An override raises a customer to High but the downstream process does not start enhanced due diligence. The rating label then has no effect on controls, which the next chapters on rating-driven controls address.
Measuring override impact
Overrides are part of the model, so validate them with it. Useful measures include:
- The share of customers whose final rating differs from the base rating, by rule.
- The share of High-rated customers who are High only because of an override.
- For escalation rules, the proportion of escalations that compliance confirmed as true matches.
- The number of manual overrides per analyst, and the share that were downgrades.
A rule that changes almost no ratings may be redundant. A rule that produces most of the High population may be too broad, or it may show that the scorecard weights underrate those same risks.
Exercise
A customer scores 1.8 on the scorecard, which is Low. The customer is the spouse of a domestic PEP, and your policy treats family members of PEPs as a floor trigger at High. Which rating and which stored fields should the system produce, and why should the base rating still be stored?
Show answer
The final rating is High, because a floor rule raises the rating to at least High regardless of the score. The system should store the score (1.8), the base rating (Low), the final rating (High) and the reason (family member of a PEP: minimum rating High). The base rating should still be stored so that validation can show how often overrides change outcomes and whether the scorecard itself underrates this type of customer.
Exercise
Why does the code above return "Escalate" for a potential sanctions match instead of "High"?
Show answer
A potential match is not yet a confirmed fact. Someone in compliance must decide whether the match is real, and that decision can lead to rejection, blocking or reporting, not just enhanced due diligence. Labeling the customer High would imply normal handling and could hide that a decision is still pending.