‘riskyasset’ with aprime(d,u), which is used for portfolio-choice, now passes a whole bank of tests. This brings it in line with the kind of quality assurance that all the other ‘endogenous state types’ now pass. Should make it much more reliable.
These large banks of tests help ensure that VFI Toolkit behaves correctly across a massive range of applications (different combos of endogenous and exogenous states).
Note that this does not yet apply to the Epstein-Zin preferences implementations.
Here are all the tests for riskyasset: