diff --git a/core/insurance.xml b/core/insurance.xml new file mode 100644 index 00000000..83a5da05 --- /dev/null +++ b/core/insurance.xml @@ -0,0 +1,133 @@ + + + + + + + + + These are primitive abstractions for insurance that will be + improved upon over time. + + Some notable TODOs: + + \begin{enumerate} + \item Enforce naming convention; + \item Support scalar results; + \item Fail on zero premium unless explicitly stated; + \item Fail on negative premium (use a credit template); + \item Rounding direction (currently only nearest); and + \item Credit, surcharge, and factor templates. + \end{enumerate} + + \todo{Template to abstract these {\tt rate-each} generation + templates.} + + + + + + + + diff --git a/core/test/core/insurance.xml b/core/test/core/insurance.xml new file mode 100644 index 00000000..386a6aba --- /dev/null +++ b/core/test/core/insurance.xml @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/core/test/core/suite.xml b/core/test/core/suite.xml index 6e5d3c00..2c59274a 100644 --- a/core/test/core/suite.xml +++ b/core/test/core/suite.xml @@ -26,6 +26,7 @@ +