Concepts
Risk score & risk level
How StaySignals scores a booking and how the score maps to a level.
Every decision carries a riskScore and a riskLevel. The score is a number; the level is a bucket derived from it. Your risk setting can change which signals fire and therefore the score. Each matched signal keeps its weight, and the mapping from score to level stays fixed.
Risk score
An integer from 0 to 99. Higher means more suspicious.
Start by routing on suggestedAction. You can branch on the score or level later if you need finer control. Note that the model keeps improving, so the same booking may come back with a different score or level over time.
Risk level
A bucket derived from the score: low, medium, or high. The bucketing is not affected by your risk setting.