knowfeat / inputs /SimECNY /open /conf_wallet_distribution_based_dev.json
youchengsong
Add README, domain knowledge inputs, and provenance cards
b34e287
Raw
History Blame Contribute Delete
4.33 kB
{
"seed": 1234,
"accounts_num": 1000,
"num_banks": 10,
"laundering_ratio": 0.05,
"wallet_id": {
"length": 14,
"numeric_only": true,
"no_leading_zero": true
},
"wallet_type": {
"options": [1, 2, 3],
"probs": [0.4, 0.4, 0.2]
},
"wallet_level": {
"options": [1, 2, 3, 4],
"probs": [0.2, 0.05, 0.2, 0.55]
},
"wallet_open_date": {
"start": "2024-01-01",
"end": "2025-02-18"
},
"wallet_open_cert_expire_offset_days": {
"min": 365,
"max": 3650
},
"bank_code_prefixes": ["6220","6212","6213","6214","6215","6216","6217","6218","6219","6221"],
"normal_init_balance_mixture": [
{ "type": "point", "value": 0.01, "prob": 0.01 },
{ "type": "point", "value": 0.5, "prob": 0.01 },
{ "type": "uniform", "min": 100.0, "max": 20000000.0, "prob": 0.5 },
{ "type": "lognormal", "mu": 3.5, "sigma": 1.2, "prob": 0.48, "min": 50.0, "max": 5000000.0 }
],
"abnormal_init_balance_mixture": [
{ "type": "point", "value": 0.01, "prob": 0.01 },
{ "type": "point", "value": 0.5, "prob": 0.01 },
{ "type": "uniform", "min": 500.0, "max": 30000000.0, "prob": 0.5 },
{ "type": "lognormal", "mu": 4.0, "sigma": 1.3, "prob": 0.48, "min": 200.0, "max": 8000000.0 }
],
"wallet_level_balance_caps": {
"1": null,
"2": 5000000,
"3": 200000,
"4": 100000
},
"region_code": {
"codes": ["110000", "310000", "440100", "440300", "120000", "320100", "130100", "140100", "150100", "210100", "220100", "230100", "320200", "330100", "340100", "350100", "360100", "370100", "410100", "420100", "430100", "450100", "460100", "500100", "510100", "520100"],
"high_risk_codes": ["540000", "650000"]
},
"distribution_based_generation": {
"normal_wallet_distributions": {
"region_code": {
"normal_codes": ["110000", "310000", "440100", "440300", "120000", "320100", "130100", "140100", "150100", "210100", "220100", "230100", "320200", "330100", "340100", "350100", "360100", "370100", "410100", "420100", "430100", "450100", "460100", "500100", "510100", "520100"],
"high_risk_codes": ["540000", "650000"],
"high_risk_ratio": 0.02
},
"wallet_open_cert_distribution": {
"unique_ratio": 1.0,
"shared_ratio": 0.0,
"group_size_probs": { "2": 1.0 }
},
"wallet_open_tel_distribution": {
"unique_ratio": 1.0,
"shared_ratio": 0.0,
"group_size_probs": { "2": 1.0 }
},
"realname_auth_delay": {
"same_day_prob": 0.95,
"within_7_days_prob": 0.4,
"max_delay_days": 14
},
"wallet_open_timestamp_hour": {
"distribution": "normal",
"peak_hours": [9, 10, 11, 14, 15, 16, 17],
"night_hours_prob": 0.01,
"night_hours": [22, 23, 0, 1, 2, 3, 4, 5]
},
"cert_expire_days": {
"distribution": "normal",
"mean": 2000,
"std": 500,
"min": 365,
"max": 3650
}
},
"abnormal_wallet_distributions": {
"region_code": {
"normal_codes": ["110000", "310000", "440100", "440300", "120000", "320100", "130100", "140100", "150100", "210100", "220100", "230100", "320200", "330100", "340100", "350100", "360100", "370100", "410100", "420100", "430100", "450100", "460100", "500100", "510100", "520100"],
"high_risk_codes": ["540000", "650000"],
"high_risk_ratio": 0.70
},
"wallet_open_cert_distribution": {
"unique_ratio": 0.20,
"shared_ratio": 0.80,
"group_size_probs": { "2": 0.40, "3": 0.30, "4": 0.20, "5": 0.10 }
},
"wallet_open_tel_distribution": {
"unique_ratio": 0.20,
"shared_ratio": 0.80,
"group_size_probs": { "2": 0.40, "3": 0.30, "4": 0.20, "5": 0.10 }
},
"realname_auth_delay": {
"same_day_prob": 0.20,
"within_7_days_prob": 0.20,
"max_delay_days": 30
},
"wallet_open_timestamp_hour": {
"distribution": "uniform",
"peak_hours": [9, 10, 11, 14, 15, 16, 17],
"night_hours_prob": 0.50,
"night_hours": [22, 23, 0, 1, 2, 3, 4, 5]
},
"cert_expire_days": {
"distribution": "uniform",
"mean": 1000,
"std": 300,
"min": 30,
"max": 1800
}
}
},
"output_csv": "accounts.csv"
}