Skip to content

Commit

Permalink
update test case for 0.23.x
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowbean committed Nov 19, 2023
1 parent b0e5268 commit ae1d3a2
Show file tree
Hide file tree
Showing 72 changed files with 6,100 additions and 12,552 deletions.
10 changes: 5 additions & 5 deletions absbox/local/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,13 @@ def mkDs(x):
return mkTag("CumulativePoolDefaultedRate")
case ("资产池累计违约率",n) | ("cumPoolDefaultedRate",n):
return mkTag(("CumulativePoolDefaultedRateTill",n))
case ("资产池累计",*i) | ("cumPoolCollection",*i):
return mkTag(("PoolCumCollection", [mkPoolSource(_) for _ in i] ))
case ("资产池累计至",idx,*i) | ("cumPoolCollectionTill",idx,*i):
case ("资产池累计", *i) | ("cumPoolCollection", *i):
return mkTag(("PoolCumCollection", [mkPoolSource(_) for _ in i]))
case ("资产池累计至", idx, *i) | ("cumPoolCollectionTill", idx, *i):
return mkTag(("PoolCumCollectionTill", [idx, [mkPoolSource(_) for _ in i]] ))
case ("资产池当期",*i) | ("curPoolCollection",*i):
case ("资产池当期", *i) | ("curPoolCollection", *i):
return mkTag(("PoolCurCollection", [mkPoolSource(_) for _ in i]))
case ("资产池当期至",idx,*i) | ("curPoolCollectionStats",idx,*i):
case ("资产池当期至", idx, *i) | ("curPoolCollectionStats", idx, *i):
return mkTag(("PoolCurCollectionStats", [idx, [mkPoolSource(_) for _ in i]]))
case ("债券系数",) | ("bondFactor",):
return mkTag("BondFactor")
Expand Down
2 changes: 2 additions & 0 deletions absbox/tests/benchmark/china/out/test01.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"B": {
Expand All @@ -119,6 +120,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
2 changes: 2 additions & 0 deletions absbox/tests/benchmark/china/out/test02.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"B": {
Expand All @@ -136,6 +137,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
2 changes: 2 additions & 0 deletions absbox/tests/benchmark/china/out/test03.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"B": {
Expand All @@ -127,6 +128,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
4 changes: 4 additions & 0 deletions absbox/tests/benchmark/china/out/test04.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"A2": {
Expand Down Expand Up @@ -141,6 +142,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"A3": {
Expand Down Expand Up @@ -177,6 +179,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"\u6b21\u7ea7": {
Expand All @@ -202,6 +205,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
3 changes: 3 additions & 0 deletions absbox/tests/benchmark/china/out/test05.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"A2": {
Expand Down Expand Up @@ -171,6 +172,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"\u6b21\u7ea7": {
Expand All @@ -193,6 +195,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
4 changes: 4 additions & 0 deletions absbox/tests/benchmark/china/out/test06.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"A2": {
Expand Down Expand Up @@ -151,6 +152,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"A3": {
Expand Down Expand Up @@ -187,6 +189,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"\u6b21\u7ea7": {
Expand All @@ -212,6 +215,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
2 changes: 2 additions & 0 deletions absbox/tests/benchmark/china/out/test07.json
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"\u6b21\u7ea7": {
Expand All @@ -669,6 +670,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
3 changes: 3 additions & 0 deletions absbox/tests/benchmark/china/out/test08.json
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"\u4f18\u5148A2": {
Expand All @@ -926,6 +927,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"\u6b21\u7ea7": {
Expand All @@ -951,6 +953,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
2 changes: 2 additions & 0 deletions absbox/tests/benchmark/china/out/test09.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"B": {
Expand All @@ -136,6 +137,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
2 changes: 2 additions & 0 deletions absbox/tests/benchmark/china/out/test10.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"B": {
Expand All @@ -163,6 +164,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
2 changes: 2 additions & 0 deletions absbox/tests/benchmark/china/out/test11.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"B": {
Expand All @@ -119,6 +120,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
4 changes: 4 additions & 0 deletions absbox/tests/benchmark/china/out/test12.json
Original file line number Diff line number Diff line change
Expand Up @@ -5691,6 +5691,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"A2": {
Expand Down Expand Up @@ -5948,6 +5949,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"A3": {
Expand Down Expand Up @@ -5984,6 +5986,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"\u6b21\u7ea7": {
Expand All @@ -6009,6 +6012,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
2 changes: 2 additions & 0 deletions absbox/tests/benchmark/china/out/test13.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"B": {
Expand All @@ -119,6 +120,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
2 changes: 2 additions & 0 deletions absbox/tests/benchmark/china/out/test14.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"B": {
Expand All @@ -127,6 +128,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
2 changes: 2 additions & 0 deletions absbox/tests/benchmark/china/out/test15.json
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"\u6b21\u7ea7": {
Expand All @@ -668,6 +669,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
2 changes: 2 additions & 0 deletions absbox/tests/benchmark/china/out/test16.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"B": {
Expand All @@ -119,6 +120,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
2 changes: 2 additions & 0 deletions absbox/tests/benchmark/china/out/test17.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"B": {
Expand All @@ -119,6 +120,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
2 changes: 2 additions & 0 deletions absbox/tests/benchmark/china/out/test18.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"B": {
Expand All @@ -140,6 +141,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
2 changes: 2 additions & 0 deletions absbox/tests/benchmark/china/out/test19.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
},
"B": {
Expand All @@ -121,6 +122,7 @@
"bndDuePrin": 0,
"bndDueInt": 0,
"bndDueIntDate": null,
"bndStepUp": null,
"bndLastIntPayDate": null
}
},
Expand Down
Loading

0 comments on commit ae1d3a2

Please sign in to comment.