Dataset Viewer
Auto-converted to Parquet Duplicate
n_acc
float32
n_lenders
float32
months_on_file
float32
log_limit
float32
util
float32
util_avg_6m
float32
util_trend_6m
float32
worst_dpd_3m
float32
worst_dpd_6m
float32
worst_dpd_12m
float32
n_delinq_12m
float32
months_since_delinq
float32
inq_3m
float32
inq_6m
float32
new_acc_6m
float32
moratorium_24m
float32
borrower
int64
t0
int64
y_obs
int64
y_true
int64
y_delayed
int64
mor_in_window
bool
gender
large_string
region
large_string
occupation
large_string
age_band
string
thin_file
bool
2
2
61
11.432902
0.383821
0.388499
-0.027152
0
0
0
0
36
0
0
0
0
0
12
0
0
0
false
M
Central
self_employed
60+
false
3
2
128
11.424165
1.137004
1.121888
0.114546
2
2
2
6
0
0
1
0
0
1
12
1
1
1
false
M
North
self_employed
45-59
false
3
2
124
11.343175
1.038783
0.960579
0.014931
2
2
2
3
0
0
1
1
0
8
12
0
0
0
false
M
BKK
salaried
<30
false
8
5
46
13.178467
0.817758
0.724744
0.244312
0
2
2
4
3
0
0
0
0
9
12
0
0
0
false
F
Northeast
informal
30-44
false
3
3
56
12.832723
0.85786
0.818142
0.139304
1
1
1
2
0
0
0
0
0
11
12
0
0
0
false
F
Central
salaried
60+
false
5
2
80
13.008657
0.425974
0.500582
-0.160567
0
0
0
0
36
0
0
0
0
12
12
0
0
0
false
F
BKK
self_employed
60+
false
1
1
15
10.563376
0.584778
0.635405
-0.051872
0
0
0
0
36
0
0
0
0
14
12
0
0
0
false
M
South
self_employed
30-44
true
1
1
36
11.880818
0.916341
0.943979
-0.065605
1
1
2
3
0
0
0
0
0
15
12
0
0
0
false
F
BKK
salaried
45-59
false
1
1
106
9.611283
1.014491
1.037224
0.076754
1
1
1
6
0
0
1
0
0
16
12
0
0
0
false
F
North
informal
<30
false
2
2
0
11.441805
0.811646
0.739787
0.091345
0
0
0
0
36
0
0
0
0
17
12
0
0
0
false
M
Central
salaried
45-59
false
1
1
16
10.49777
0.333886
0.367069
-0.068093
0
0
0
0
36
0
0
0
0
18
12
0
0
0
false
F
BKK
salaried
<30
true
2
2
43
11.298211
0.368222
0.355655
-0.029469
0
0
0
0
36
0
0
0
0
19
12
0
0
0
false
F
North
informal
30-44
false
3
2
80
12.259172
0.236692
0.276791
-0.023992
0
0
1
2
9
0
0
0
0
20
12
0
0
0
false
M
South
salaried
45-59
false
3
2
60
12.412649
0.624239
0.554237
0.123653
0
1
1
2
3
0
0
0
0
21
12
0
0
0
false
M
North
salaried
30-44
false
3
3
143
11.753678
0.580989
0.654186
-0.155366
0
0
0
0
36
0
0
0
0
22
12
0
0
0
false
F
BKK
salaried
30-44
false
4
4
51
12.615176
0.086116
0.131698
0.00112
0
0
0
0
36
0
0
0
0
23
12
0
0
0
false
F
North
salaried
30-44
false
1
1
28
9.875055
0.912383
0.969766
-0.036029
0
2
2
4
4
0
0
0
0
24
12
0
0
0
false
F
BKK
self_employed
45-59
false
1
1
131
10.731621
0.511894
0.562196
0.042818
0
0
0
0
36
0
0
0
0
25
12
0
0
0
false
F
BKK
salaried
30-44
false
4
3
88
12.887488
0.675796
0.739932
-0.115938
2
2
2
11
1
0
0
0
0
26
12
0
0
0
false
M
South
self_employed
60+
false
4
3
142
11.983824
0.469961
0.371239
0.125706
0
0
1
4
8
0
0
0
0
27
12
0
0
0
false
M
Northeast
salaried
30-44
false
3
3
82
11.898279
0.505583
0.494655
0.032416
0
0
0
0
36
0
0
0
0
29
12
0
0
0
false
M
North
salaried
30-44
false
3
3
46
12.026028
0.47249
0.531565
-0.038056
0
0
0
0
36
0
0
0
0
30
12
0
0
0
false
M
BKK
informal
45-59
false
2
2
62
11.293444
0.76565
0.763905
-0.003692
0
1
1
2
3
0
0
0
0
31
12
1
1
1
false
F
Central
salaried
45-59
false
2
2
14
11.533842
0.780804
0.606027
0.433634
2
2
2
3
0
0
0
0
0
32
12
1
1
1
false
M
BKK
informal
30-44
false
2
2
127
11.055749
0.704361
0.696715
0.010723
0
0
0
0
36
0
0
0
0
33
12
0
0
0
false
F
BKK
salaried
60+
false
1
1
97
10.871184
0.625714
0.631517
0.075834
0
0
0
0
36
0
0
0
0
34
12
0
0
0
false
F
BKK
informal
45-59
false
2
2
45
12.40363
0.41129
0.311968
0.186441
0
0
0
0
36
0
0
0
0
35
12
0
0
0
false
M
BKK
self_employed
45-59
false
3
3
97
11.943012
0.407139
0.306475
0.202522
0
0
0
0
36
0
0
0
0
36
12
0
0
0
false
F
South
salaried
45-59
false
1
1
108
10.211085
0.451254
0.499702
-0.084895
0
0
0
0
12
0
0
0
0
37
12
0
0
0
false
F
North
self_employed
45-59
false
1
1
137
10.769976
0.552767
0.571549
-0.004418
0
0
0
0
36
0
0
0
0
38
12
0
0
0
false
F
North
salaried
30-44
false
1
1
0
10.656067
0.692106
0.115351
0.692106
0
0
0
0
36
1
1
1
0
39
12
0
0
0
false
M
BKK
informal
60+
true
2
2
49
11.951891
0.484691
0.454462
0.099107
0
0
0
0
36
0
0
0
0
40
12
0
0
0
false
F
BKK
salaried
30-44
false
1
1
27
10.618026
0.237386
0.261054
0.095456
0
0
0
0
36
0
0
0
0
42
12
0
0
0
false
F
Northeast
salaried
60+
false
3
3
129
11.213064
0.673689
0.601816
0.068873
2
2
2
2
1
0
1
1
0
43
12
0
0
0
false
M
BKK
self_employed
<30
false
1
1
27
10.87667
0.770501
0.670298
0.148824
0
0
1
1
7
0
0
0
0
44
12
0
0
0
false
F
North
salaried
60+
false
2
2
70
11.423504
0.77882
0.678783
0.13794
1
1
1
2
0
0
0
0
0
45
12
0
0
0
false
M
South
salaried
45-59
false
1
1
72
10.524823
1.154275
0.991424
0.399973
2
2
2
8
0
1
1
0
0
48
12
0
0
0
false
F
BKK
self_employed
30-44
false
5
3
57
11.786172
0.84096
0.917056
-0.046125
1
1
1
3
2
0
0
0
0
49
12
0
0
0
false
M
South
salaried
<30
false
3
3
95
11.679194
0.808868
0.726857
0.173041
0
0
1
1
6
0
0
0
0
50
12
0
0
0
false
F
Northeast
salaried
<30
false
1
1
46
10.765679
0.334481
0.475508
-0.224974
0
0
0
0
36
0
0
0
0
51
12
0
0
0
false
F
South
salaried
45-59
false
3
3
95
11.914685
0.626424
0.661323
-0.049654
0
0
0
0
12
0
0
0
0
52
12
0
0
0
false
M
BKK
salaried
60+
false
1
1
28
10.180244
0.82613
0.785648
-0.028372
0
0
0
0
36
0
0
0
0
53
12
0
0
0
false
F
Central
informal
30-44
false
2
2
129
10.575485
1.253091
1.126336
0.27057
1
1
2
7
0
1
1
0
0
54
12
0
0
0
false
F
Northeast
self_employed
45-59
false
3
3
41
11.584814
0.590715
0.6145
-0.149515
0
0
1
1
9
0
0
0
0
55
12
0
0
0
false
M
BKK
salaried
60+
false
3
3
51
11.630806
0.340765
0.250767
0.250346
1
1
1
1
2
0
1
1
0
56
12
0
0
0
false
M
North
salaried
45-59
false
1
1
0
10.210741
0.576484
0.56607
-0.005018
0
0
0
0
36
0
0
0
0
57
12
0
0
0
false
M
BKK
self_employed
45-59
true
3
2
70
11.787191
0.373052
0.394933
-0.05583
0
0
0
0
36
0
0
0
0
58
12
0
0
0
false
F
North
informal
30-44
false
2
2
79
11.195607
0.753313
0.708262
-0.161066
0
0
1
2
7
0
1
1
0
62
12
0
0
0
false
F
South
salaried
30-44
false
1
1
50
10.370495
0.628427
0.643786
-0.05244
0
0
0
0
36
0
0
0
0
63
12
0
0
0
false
F
South
informal
30-44
false
1
1
17
9.938762
0.457011
0.452823
-0.005349
0
0
2
3
9
0
0
0
0
65
12
0
0
0
false
F
Northeast
salaried
<30
true
2
2
128
11.334441
0.60521
0.575152
0.058351
0
0
0
0
36
0
0
0
0
66
12
0
0
0
false
M
Central
salaried
<30
false
2
2
81
11.032038
0.556919
0.657185
-0.054566
0
0
1
1
8
0
0
0
0
67
12
0
0
0
false
F
BKK
self_employed
30-44
false
2
2
34
11.526736
0.519603
0.523764
0.026428
0
0
0
0
36
0
0
0
0
68
12
0
0
0
false
M
Central
informal
60+
false
3
2
82
12.068145
0.661334
0.475014
0.282504
1
1
1
2
0
0
0
0
0
69
12
0
0
0
false
M
BKK
self_employed
45-59
false
1
1
0
10.295209
0.547346
0.163906
0.547346
0
0
0
0
36
1
1
1
0
70
12
0
0
0
false
F
North
informal
60+
true
1
1
10
10.411736
0.630141
0.61025
0.042504
0
0
0
0
36
0
0
0
0
71
12
0
0
0
false
M
Northeast
self_employed
30-44
true
1
1
36
10.514246
0.264243
0.228921
0.030961
0
0
0
0
36
1
1
0
0
72
12
0
0
0
false
F
Central
self_employed
45-59
false
5
4
97
12.816279
0.661638
0.699269
-0.004439
0
0
0
0
36
0
1
1
0
73
12
0
0
0
false
F
North
salaried
30-44
false
2
2
78
12.197252
0.178508
0.321667
-0.18648
0
1
1
3
3
0
0
0
0
74
12
0
0
0
false
F
BKK
salaried
30-44
false
1
1
59
10.266296
0.920371
0.973
0.01812
0
0
0
0
36
0
0
0
0
75
12
0
0
0
false
M
Central
salaried
<30
false
2
2
114
11.860893
0.425917
0.386367
0.071956
0
0
1
1
10
0
0
0
0
76
12
0
0
0
false
M
Northeast
self_employed
45-59
false
5
4
62
11.883952
0.711221
0.702295
-0.027159
1
1
1
4
2
0
0
0
0
77
12
0
0
0
false
F
Central
self_employed
45-59
false
2
1
15
10.991674
0.595358
0.513293
0.15718
0
0
1
1
7
0
0
0
0
78
12
0
0
0
false
M
Northeast
salaried
45-59
false
4
4
82
12.190831
0.663128
0.608037
0.097753
0
0
0
0
36
0
0
0
0
79
12
0
0
0
false
M
North
self_employed
<30
false
2
2
72
11.986734
0.008301
0.059231
-0.091733
0
0
0
0
36
0
1
1
0
80
12
0
0
0
false
M
Northeast
self_employed
45-59
false
2
2
70
10.612269
0.538613
0.587796
-0.443113
0
1
1
2
5
0
1
1
0
81
12
0
0
0
false
M
Northeast
informal
30-44
false
3
2
122
12.050273
0.418865
0.505981
-0.120946
0
0
0
0
36
0
0
0
0
82
12
0
0
0
false
F
Northeast
informal
60+
false
2
2
25
11.57199
0.378191
0.491994
-0.055241
0
1
1
2
3
0
0
0
0
83
12
0
0
0
false
M
Northeast
informal
60+
false
5
3
71
12.421712
0.288805
0.356441
-0.119669
0
0
1
1
7
0
1
1
0
85
12
0
0
0
false
M
Central
self_employed
30-44
false
3
3
90
12.56198
0.596255
0.609179
0.024135
0
1
1
6
3
0
0
0
0
86
12
0
0
0
false
F
Central
salaried
60+
false
4
4
136
12.477161
0.22893
0.273893
-0.050499
0
0
0
0
36
0
0
0
0
88
12
0
0
0
false
M
South
salaried
45-59
false
4
2
40
12.662369
0.130813
0.213497
-0.005755
0
1
1
1
4
1
1
0
0
89
12
0
0
0
false
F
Central
salaried
45-59
false
1
1
14
10.264861
0.398738
0.491764
-0.182942
0
0
0
0
36
1
1
1
0
90
12
0
0
0
false
M
South
salaried
<30
true
5
4
131
12.205967
0.766374
0.747565
0.057521
1
1
1
3
1
0
0
0
0
91
12
0
0
0
false
M
Central
self_employed
45-59
false
2
2
67
10.588351
0.51702
0.402331
0.085154
0
1
1
1
3
0
1
1
0
93
12
0
0
0
false
M
Central
salaried
<30
false
3
2
90
11.310413
0.529085
0.576083
-0.062843
0
0
0
0
36
0
0
0
0
94
12
0
0
0
false
M
South
self_employed
30-44
false
1
1
112
10.074951
0.749134
0.711503
0.141949
0
0
1
2
10
0
0
0
0
96
12
0
0
0
false
M
Central
salaried
45-59
false
1
1
25
10.401608
0.413398
0.417455
-0.02621
0
0
0
0
36
0
0
0
0
97
12
0
0
0
false
M
BKK
salaried
30-44
false
1
1
107
10.232825
0.894702
0.889771
0.111059
2
2
2
4
2
0
0
0
0
98
12
0
0
0
false
M
BKK
salaried
45-59
false
1
1
36
11.258617
0.532288
0.521784
-0.037254
0
0
0
0
36
0
0
0
0
99
12
0
0
0
false
F
South
self_employed
60+
false
6
5
84
12.945173
0.646447
0.492689
0.115981
1
1
1
1
1
0
1
1
0
100
12
0
0
0
false
F
South
salaried
45-59
false
1
1
10
9.563694
0.877291
0.897618
-0.005817
0
1
1
5
4
0
0
0
0
101
12
0
0
0
false
F
North
informal
30-44
true
4
3
93
12.748721
0.311905
0.331226
0.04726
0
0
0
0
36
1
1
1
0
102
12
0
0
0
false
F
Northeast
salaried
45-59
false
4
3
125
12.077907
0.809421
0.686115
0.287864
0
0
0
0
36
0
0
0
0
103
12
0
0
0
false
F
Central
self_employed
45-59
false
6
4
133
12.456306
0.959024
1.026376
-0.054321
0
0
1
1
8
0
0
0
0
104
12
0
0
0
false
F
North
salaried
<30
false
3
2
120
11.712379
0.491988
0.523815
-0.044975
1
1
1
2
1
1
1
0
0
105
12
0
0
0
false
M
South
salaried
<30
false
2
2
121
11.457962
0.276014
0.323198
-0.019162
0
0
0
0
36
0
0
0
0
107
12
0
0
0
false
M
South
salaried
30-44
false
1
1
0
10.911221
0.874398
0.81874
0.072396
1
1
1
1
0
0
0
0
0
108
12
0
0
0
false
M
Central
self_employed
45-59
true
2
2
45
11.703525
0.248641
0.324498
-0.156111
0
0
1
1
8
0
0
0
0
109
12
0
0
0
false
F
BKK
salaried
30-44
false
2
2
99
10.797922
1.092654
1.060655
0.106605
0
0
2
2
6
0
0
0
0
110
12
0
0
0
false
M
Northeast
salaried
30-44
false
2
2
69
11.258232
0.575748
0.613869
-0.20618
0
0
1
1
7
0
0
0
0
111
12
0
0
0
false
F
Central
informal
<30
false
2
2
73
11.718684
0.849441
0.693461
0.212327
1
1
1
1
0
0
0
0
0
112
12
1
1
1
false
M
South
self_employed
30-44
false
2
1
88
11.450405
0.978205
1.131846
-0.276265
0
0
1
5
6
0
0
0
0
113
12
0
0
0
false
M
Northeast
self_employed
45-59
false
2
2
78
11.786943
0.389686
0.393163
0.008943
0
0
0
0
36
0
0
0
0
116
12
0
0
0
false
F
Central
salaried
45-59
false
2
2
65
11.508965
0.718961
0.656858
0.114929
0
0
1
1
8
0
0
0
0
117
12
0
0
0
false
F
South
salaried
60+
false
2
2
144
11.388919
0.797203
0.905472
-0.106032
0
2
2
2
3
0
0
0
0
118
12
0
0
0
false
M
North
informal
30-44
false
1
1
50
10.171268
0.601558
0.596822
-0.076459
1
1
1
1
0
0
0
0
0
119
12
0
0
0
false
M
BKK
salaried
45-59
false
2
2
83
11.324754
0.640513
0.659529
0.141238
0
0
0
0
36
1
1
0
0
120
12
0
0
0
false
F
Northeast
salaried
30-44
false
1
1
18
10.863408
0.717541
0.664894
0.206807
1
1
1
1
1
0
0
0
0
121
12
0
0
0
false
M
Northeast
salaried
45-59
true
2
2
126
11.471779
0.252579
0.343596
-0.144291
0
0
0
0
36
0
0
0
0
122
12
0
0
0
false
F
Northeast
self_employed
30-44
false
End of preview. Expand in Data Studio

bureau-to-workout: simulated credit-bureau panels and debt workouts with ground truth

Every file in this dataset is synthetic. It comes from the two simulators of the paper, not from the National Credit Bureau (NCB) or Sukhumvit Asset Management (SAM). The simulators' parameters make the mechanisms visible at plausible magnitudes; nothing here is an estimate for Thailand. What the data offer that real data cannot is the ground truth: the outcomes of rejected applicants, the arrears a moratorium hides, and every borrower's response to every workout offer.

Data for the preprint From Bureau to Workout: Credit Scoring and Causal Debt Resolution under Policy-Shaped Labels by Thanatchon Chongmankhong (read online · PDF). The paper studies three ways the credit system writes its own labels, selection at approval, masking by deferral and treatment in the workout, and proposes an estimator for each. Code: https://github.com/thanatchon36/bureau-to-workout; archived on Zenodo: 10.5281/zenodo.24102251. Models trained on these data: thanatchon36/bureau-to-workout.

Independent personal research. Does not represent the views of any employer or institution.

from datasets import load_dataset

scoring = load_dataset("thanatchon36/bureau-to-workout", "scoring_e1")          # train / test, out of time
workout = load_dataset("thanatchon36/bureau-to-workout", "workout_cases", split="train")

Files

All draws are the paper's first seed, as make experiments makes them: the bureau without a moratorium with seed 7, the bureau with a moratorium with seed 1007, the workouts with seed 107. Settings are in configs.json.

path content
scoring/e1_dev.parquet, scoring/e1_oot.parquet the E1 modelling tables from the bureau without a moratorium: one row per scorable borrower (active, not yet 90+ DPD) at observation months 12–24 (train, 199,969 rows) and 36–45 (test, after the shock; 136,602 rows). 16 bureau attributes, y_obs (reported 90+ DPD within 12 months), y_true (the same without deferral), group columns and thin_file
scoring/e2_train.parquet, scoring/e2_test.parquet the E2 reject-inference tables: every application to lender 0 in months 6–47 (9,531 train and 9,489 test rows, split by borrower), with the 15 bureau attributes the lender saw the month before, approved, observable (the bureau sees repayment on another account within 12 months, so a rejected applicant's outcome is still visible) and y_true, the applicant's 90+ DPD outcome had the loan been granted, for everyone. A lender sees y_true only where approved; the bureau also where observable
scoring/e3_dev.parquet, scoring/e3_oot.parquet the E3 tables from the bureau with a moratorium: training through it (months 15–24, 160,195 rows) and testing after it (months 39–45, 108,817 rows). Adds y_delayed (windows touching a deferral extended to six months after exit) and mor_in_window
bureau/panel_{clean,moratorium}.parquet the account-month panels, long format: 50,000 borrowers × 60 months. s_obs reported delinquency state (0 current, 1 30 DPD, 2 60 DPD, 3 90+ DPD, absorbing), s_true the state without deferral, mor deferred this month, util, n_acc, n_lenders, limit (THB), inq, new_acc
bureau/borrowers_*.parquet static attributes: age at month 0, gender, region, occupation, new_to_credit_at_start; ability and soft are latent (lenders' soft information), for evaluation only
bureau/applications_*.parquet every credit application: borrower, month, lender (0 is the lender studied in E2, 5 the lenient lender), approved (86,740 and 90,384 rows)
workout/cases.parquet 50,000 NPL cases: 13 covariates from the AMC file and the bureau, balance, the logged offer (0 standard, 1 term extension, 2 write-down, 3 both), realised recovery (present value ÷ balance), officer, and the truth for every offer k: propensity_k, value_k (expected recovery), p_complete_k, spill_k (new 90+ DPD elsewhere within 24 months); latent capacity and willingness; split as in the paper's R1–R4
results/ every result file of the paper, five seeds (make experiments): the CSVs behind each table and figure
configs.json, versions.json simulator settings, and the library versions used to build this upload
SHA256SUMS checksums of every file above

Tasks these data support

  • Reject inference / selective labels. In scoring_e2_reject_inference, train on approved rows only (what a lender has), on approved | observable rows (what the bureau adds), or on everything (the oracle), and score the test split against y_true, including rejected applicants.
  • Label masking. In scoring_e3_moratorium, compare models trained on y_obs, y_delayed and y_true, and test after the moratorium.
  • Heterogeneous treatment effects and policy learning. In workout_cases, estimate offer effects from the logged offers, then check them against value_k; learn a write-down-budgeted policy and evaluate it exactly.
  • Off-policy evaluation. Estimate a policy's value from logged data and compare with its true value, using propensity_k (true) or your own estimate.

Licence

CC BY 4.0 (see LICENSE). The code that generates the data is MIT-licensed.

Citation

@misc{chongmankhong2026bureau,
  author = {Chongmankhong, Thanatchon},
  title  = {From Bureau to Workout: Credit Scoring and Causal Debt Resolution under Policy-Shaped Labels},
  year   = {2026},
  doi    = {10.5281/zenodo.24102251},
  url    = {https://thanatchon36.github.io/bureau-to-workout/paper/},
  note   = {Preprint; all data are synthetic}
}
Downloads last month
79

Models trained or fine-tuned on thanatchon36/bureau-to-workout