The risk engine is a simulated scoring system designed for demo and testing purposes. Scores use deterministic industry and country modifiers combined with controlled randomness — they do not reflect real-world financial or compliance risk.
Triggering an evaluation
Open the business detail page
Click a business name in the registry to open its detail page at
/businesses/{id}.Click Evaluate Risk
Press the Evaluate Risk button. The engine runs immediately and the result replaces the current score and factor breakdown on the page without a full reload.
Risk levels
| Level | Score range | Description |
|---|---|---|
low | 0 – 24.9 | Minimal concern. Typical for low-risk industries in safe jurisdictions. |
medium | 25 – 49.9 | Moderate concern. Standard monitoring is appropriate. |
high | 50 – 74.9 | Elevated concern. Enhanced due diligence is recommended. |
critical | 75 – 100 | Severe concern. Immediate review warranted. |
Factor breakdown
Each evaluation records five values that show exactly how the final score was derived.| Factor | Description |
|---|---|
base_score | Random starting value drawn uniformly from 10 to 70. |
industry_modifier | Adjustment based on the business’s industry. Positive for high-risk sectors, negative for low-risk sectors. |
country_modifier | Adjustment based on the business’s country. Positive for high-risk jurisdictions. |
noise | Small random variation of ±5 added to reflect real-world unpredictability. |
final_score | The clamped result: base_score + industry_modifier + country_modifier + noise, bounded to [0, 100]. |
Calculation formula
What affects scores
Industry modifiers
| Category | Industries | Modifier |
|---|---|---|
| High-risk | crypto, gambling, weapons, tobacco | +15 to +30 |
| Low-risk | healthcare, education, agriculture | −20 to −5 |
| All others | Any industry not in the above lists | 0 |
Country modifiers
| Category | Countries | Modifier |
|---|---|---|
| High-risk | North Korea, Iran, Syria, Russia | +15 to +25 |
| All others | Any country not in the above list | 0 |