usnistgov / E3

API that provides standards based economic calculations.
Other
6 stars 3 forks source link

Missing value gets past validation #21

Closed LukeDonmoyer closed 3 years ago

LukeDonmoyer commented 3 years ago

In some cases, only providing one of inflation rate, real discount rate, or nominal discount rate will get past validation and throw an AssertionError in Analysis.py. This should be caught by the serializer valdiator so that feedback is given to the user as to why the calculation failed.