Files

10 lines
432 B
Plaintext

# RiskScoringProcessor determinism, threshold behaviour
order: Order[orderId=42, customerId=777, amountCents=1234567, region=NORTH]
first.process() -> riskScore=61 highRisk=false
second.process() -> riskScore=61 highRisk=false
--- amount threshold, score held constant by a low iteration count ---
amountCents=9,499,999 (at threshold, exclusive) -> highRisk=false
amountCents=9,500,001 (over threshold) -> highRisk=true