yellowbean / Hastructure

ABS/MBS cashflow engine written in Haskell, with API to Python and C/Java (on the way)
https://deal-bench.xyz
Other
16 stars 4 forks source link

Include Deal Validation Message #97

Closed yellowbean closed 12 months ago

yellowbean commented 12 months ago

Implement Deal Validation Message

PreRun Validation

it will stop run if "Error" messages happen and short-circuit the deal run.

Error Test

PostRun validation

Warning

it will throw "Warning" if the deal has unexpected results:

yellowbean commented 12 months ago

PreRun Validation -> Done wtih expose pre-run log

yellowbean commented 12 months ago

Post Run validation -> Done with 8f4d3b8

The framework is done now it's flexible enough to add more rules.