///| Named monitoring profiles for geo_risk scenario analysis.
///|
/// Computes the geo_risk signal for profile 001.
pub fn geo_risk_16_001(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 925 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 840 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 002.
pub fn geo_risk_16_002(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 1100 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1080 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 003.
pub fn geo_risk_16_003(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 1275 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1320 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 004.
pub fn geo_risk_16_004(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 1450 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1560 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 005.
pub fn geo_risk_16_005(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 1625 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1800 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 006.
pub fn geo_risk_16_006(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 1800 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2040 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 007.
pub fn geo_risk_16_007(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 1975 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2280 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 008.
pub fn geo_risk_16_008(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 2150 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2520 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 009.
pub fn geo_risk_16_009(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 2325 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2760 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 010.
pub fn geo_risk_16_010(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 2500 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3000 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 011.
pub fn geo_risk_16_011(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 2675 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3240 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 012.
pub fn geo_risk_16_012(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 2850 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3480 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 013.
pub fn geo_risk_16_013(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 3025 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3720 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 014.
pub fn geo_risk_16_014(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 3200 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3960 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 015.
pub fn geo_risk_16_015(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 3375 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 600 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 016.
pub fn geo_risk_16_016(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 3550 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 840 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 017.
pub fn geo_risk_16_017(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 3725 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1080 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 018.
pub fn geo_risk_16_018(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 3900 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1320 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 019.
pub fn geo_risk_16_019(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 4075 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1560 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 020.
pub fn geo_risk_16_020(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 4250 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1800 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 021.
pub fn geo_risk_16_021(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 4425 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2040 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 022.
pub fn geo_risk_16_022(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 4600 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2280 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 023.
pub fn geo_risk_16_023(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 4775 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2520 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 024.
pub fn geo_risk_16_024(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 4950 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2760 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 025.
pub fn geo_risk_16_025(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 5125 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3000 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 026.
pub fn geo_risk_16_026(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 5300 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3240 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 027.
pub fn geo_risk_16_027(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 5475 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3480 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 028.
pub fn geo_risk_16_028(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 5650 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3720 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 029.
pub fn geo_risk_16_029(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 5825 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3960 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 030.
pub fn geo_risk_16_030(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 6000 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 600 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 031.
pub fn geo_risk_16_031(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 6175 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 840 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 032.
pub fn geo_risk_16_032(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 6350 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1080 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 033.
pub fn geo_risk_16_033(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 6525 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1320 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 034.
pub fn geo_risk_16_034(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 6700 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1560 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 035.
pub fn geo_risk_16_035(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 6875 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1800 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 036.
pub fn geo_risk_16_036(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 7050 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2040 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 037.
pub fn geo_risk_16_037(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 7225 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2280 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 038.
pub fn geo_risk_16_038(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 7400 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2520 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 039.
pub fn geo_risk_16_039(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 7575 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2760 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 040.
pub fn geo_risk_16_040(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 7750 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3000 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 041.
pub fn geo_risk_16_041(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 7925 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3240 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 042.
pub fn geo_risk_16_042(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 8100 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3480 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 043.
pub fn geo_risk_16_043(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 8275 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3720 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 044.
pub fn geo_risk_16_044(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 8450 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3960 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 045.
pub fn geo_risk_16_045(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 8625 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 600 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 046.
pub fn geo_risk_16_046(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 8800 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 840 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 047.
pub fn geo_risk_16_047(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 8975 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1080 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 048.
pub fn geo_risk_16_048(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 9150 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1320 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 049.
pub fn geo_risk_16_049(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 9325 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1560 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 050.
pub fn geo_risk_16_050(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 9500 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1800 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 051.
pub fn geo_risk_16_051(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 9675 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2040 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 052.
pub fn geo_risk_16_052(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 9850 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2280 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 053.
pub fn geo_risk_16_053(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 10025 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2520 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 054.
pub fn geo_risk_16_054(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 10200 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2760 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 055.
pub fn geo_risk_16_055(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 10375 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3000 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 056.
pub fn geo_risk_16_056(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 10550 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3240 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 057.
pub fn geo_risk_16_057(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 10725 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3480 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 058.
pub fn geo_risk_16_058(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 10900 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3720 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 059.
pub fn geo_risk_16_059(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 11075 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3960 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 060.
pub fn geo_risk_16_060(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 11250 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 600 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 061.
pub fn geo_risk_16_061(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 11425 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 840 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 062.
pub fn geo_risk_16_062(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 11600 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1080 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 063.
pub fn geo_risk_16_063(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 11775 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1320 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 064.
pub fn geo_risk_16_064(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 11950 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1560 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 065.
pub fn geo_risk_16_065(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 12125 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1800 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 066.
pub fn geo_risk_16_066(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 12300 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2040 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 067.
pub fn geo_risk_16_067(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 12475 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2280 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 068.
pub fn geo_risk_16_068(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 12650 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2520 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 069.
pub fn geo_risk_16_069(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 12825 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2760 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 070.
pub fn geo_risk_16_070(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 13000 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3000 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 071.
pub fn geo_risk_16_071(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 13175 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3240 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 072.
pub fn geo_risk_16_072(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 13350 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3480 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 073.
pub fn geo_risk_16_073(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 13525 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3720 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 074.
pub fn geo_risk_16_074(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 13700 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3960 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 075.
pub fn geo_risk_16_075(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 13875 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 600 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 076.
pub fn geo_risk_16_076(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 14050 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 840 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 077.
pub fn geo_risk_16_077(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 14225 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1080 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 078.
pub fn geo_risk_16_078(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 14400 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1320 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 079.
pub fn geo_risk_16_079(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 14575 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1560 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 080.
pub fn geo_risk_16_080(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 14750 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1800 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 081.
pub fn geo_risk_16_081(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 14925 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2040 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 082.
pub fn geo_risk_16_082(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 15100 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2280 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 083.
pub fn geo_risk_16_083(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 15275 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2520 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 084.
pub fn geo_risk_16_084(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 15450 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2760 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 085.
pub fn geo_risk_16_085(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 15625 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3000 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 086.
pub fn geo_risk_16_086(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 15800 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3240 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 087.
pub fn geo_risk_16_087(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 15975 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3480 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 088.
pub fn geo_risk_16_088(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 16150 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3720 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 089.
pub fn geo_risk_16_089(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 16325 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3960 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 090.
pub fn geo_risk_16_090(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 16500 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 600 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 091.
pub fn geo_risk_16_091(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 16675 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 840 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 092.
pub fn geo_risk_16_092(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 16850 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1080 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 093.
pub fn geo_risk_16_093(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 17025 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1320 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 094.
pub fn geo_risk_16_094(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 17200 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1560 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 095.
pub fn geo_risk_16_095(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 17375 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 1800 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 096.
pub fn geo_risk_16_096(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 17550 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2040 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 097.
pub fn geo_risk_16_097(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 17725 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2280 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 098.
pub fn geo_risk_16_098(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 17900 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2520 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 099.
pub fn geo_risk_16_099(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 18075 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 2760 {
total += tx.amount
}
}
total
}
///|
/// Computes the geo_risk signal for profile 100.
pub fn geo_risk_16_100(transactions : Array[Transaction]) -> Int {
let mut total = 0
for tx in transactions {
if tx.region == "SG" &&
tx.amount <= 18250 &&
tx.occurred_at >= 0 &&
tx.occurred_at <= 3000 {
total += tx.amount
}
}
total
}