Stage 2 · Understand
Understand the results
The guided demo of the quick start prints three tables. This page goes through them in the order of the demo and explains every column and every finding.
Where the results differ
The demo runs on the reference model. In its second step the regression computes the state N+1 on the same portfolio data and for the same model points as release N and compares the two results value by value. Its table says where it found a deviation: one row per quantity, for example the Bruttobeitrag, the gross premium.
| Quantity | Model points | Values | Periods |
|---|---|---|---|
| Anzahl Verträge | 243 | 66,825 | 1 to 479 |
| Bruttobeitrag | 338 | 29,018 | 0 to 479 |
| Zahlbeitrag | 338 | 29,018 | 0 to 479 |
| Beitragsverrechnung | 278 | 26,524 | 0 to 479 |
| garantierte Todesfallleistung | 275 | 67,953 | 0 to 479 |
| Kosten 2. Ordnung ohne Provisionen | 350 | 80,580 | 0 to 479 |
| Provisionen | 338 | 28,264 | 0 to 479 |
| Netto-Cashflow | 350 | 80,580 | 0 to 479 |
The columns
-
Quantity
A result that the reference model writes for every model point and every period. The names are German in both languages, as the program prints them.
-
Model points
In how many of the 350 model points at least one value of the quantity differs.
-
Values
How many values of the quantity differ. A value is one quantity of one model point in one period.
-
Periods
The first and the last period in which a value differs. A period is one projection month, counted from 0 at the valuation date.
Every value is an expected value of the model point, weighted by the number of policies in force. The cash flows are gross and undiscounted.
The reference model writes ten quantities. Two of them are not in the table, the guaranteed surrender value (garantierter Rückkaufswert) and the guaranteed maturity benefit (garantierte Erlebensfallleistung): they do not deviate.
Why these model points deviate
The number of model points differs from row to row, because each quantity reacts to other changes.
Anzahl Verträge, the number of policies in force, 243 model points. All 237 model points of new business deviate, because the lapse rate of policy year 1 was lowered. Of the 8 single-premium model points already in force, 6 deviate, because single-premium policies got a lapse rate of their own (change 54b4bca); the other 2 are in their final year. Period 0 does not deviate: the number stands before any decrement of the period.
Bruttobeitrag, Zahlbeitrag and Provisionen (gross premium, premium billed, commissions), 338 model points. The 12 model points without a deviation are in force and pay no further premium: 8 with a single premium and 4 past their premium term. Only months in which a premium falls due carry a value. Hence 29,018 values for the Bruttobeitrag and 28,264 for the Provisionen, and not 80,580.
Beitragsverrechnung, the surplus share credited against the premium, 278 model points. None of the 25 single-premium model points deviates: they have no surplus of this form.
garantierte Todesfallleistung, the guaranteed death benefit, 275 model points. All model points of new business deviate. Of the 38 model points in force that deviate, 33 are in policy year 1 or 2. This fits the changes to the suicide exclusion and to the share of deaths by suicide.
Kosten 2. Ordnung ohne Provisionen and Netto-Cashflow (second-order expenses without commissions, net cash flow), all 350 model points and all 80,580 result rows. Claim expense and expense inflation act on every model point in every month.
What changed between the two releases
The third step reads the history of the model between release N and the state N+1 and lists every change on its own, in the order in which it was made. Each change is one revision and gets a class.
| No. | Revision | Class | Description |
|---|---|---|---|
| 1 | b795d8a | no class | Tell release N apart from the present state in the provenance tests |
| 2 | 936e50d | parameter | Lower the lapse rate of policy year 1 from 0.06 to 0.05 |
| 3 | 54b4bca | parameter, code | Give single-premium policies their own lapse rate |
| 4 | 2d05ecf | data | Raise the largest sum-assured factor of the generated points from 2 to 2.5 |
| 5 | 205a880 | no class | Describe the main line and what a commit on it stands for |
| 6 | 8f81933 | parameter | Merge branch 'instalment-loadings' |
| 7 | 47f6a33 | code | Inflate the claim expense with expense inflation |
| 8 | e500700 | no class | Describe the commits that demonstrate the interval search |
| 9 | 76fc46c | code | Raise the claim expense from 250 to 275 EUR per death |
| 10 | 61c8fd7 | code | Lower the renewal commission from 1 to 0.8 per cent of the premium |
| 11 | c5adfa8 | code | Raise the expense inflation from 2 to 2.5 per cent a year |
| 12 | 83f01cf | parameter | Lower the instalment loading of half-yearly payment from 2 to 1.5 per cent |
| 13 | c2c9f75 | no class | Say in the test docstring which two states are told apart |
| 14 | 919967d | code | Raise the premium-related maintenance charge from 3 to 3.5 per cent |
| 15 | 1a218de | no class | Say in the runner docstring that it runs one product folder |
| 16 | d61b1ed | code | Raise the initial commission from 2 to 2.5 per cent of the premium sum |
| 17 | e23137a | code | Raise the sum-related gamma loading from 0.30 to 0.35 per mille |
| 18 | 29c4a03 | code | Revert "Raise the sum-related gamma loading from 0.30 to 0.35 per mille" |
| 19 | 88cdde3 | parameter | Raise the instalment loading of monthly payment from 4 to 4.5 per cent |
| 20 | c82b72b | parameter | Set the instalment loading of monthly payment to 4 per cent again |
| 21 | 5208fe6 | no class | Say in the README that the runner reads no network |
| 22 | 2c122ae | code | Lower the share of deaths by suicide from 3 to 2.5 per cent |
| 23 | 3deff14 | code | Lower the claim expense from 275 to 260 EUR per death |
| 24 | 6a117fc | code | Shorten the suicide exclusion from three to two policy years |
| 25 | 909eeec | code | Add a fixed charge of 0.6 cent a year to the Bruttobeitrag |
| 26 | 5f3d085 | code | Raise the renewal commission from 0.8 to 0.9 per cent of the premium |
| 27 | e13c628 | code | Raise the fixed charge of the Bruttobeitrag from 0.6 to 1.2 cent a year |
| 28 | a9fbd53 | no class | Say in the test docstring that every commit keeps its pins |
| 29 | 2310344 | code | Lower the premium-related maintenance charge from 3.5 to 3.2 per cent |
| 30 | 7f1dc64 | code | Raise the premium-related beta loading from 5 to 5.5 per cent |
| 31 | 2629a5c | no class | Say in the README that a commit may change the documentation only |
| 32 | 887b718 | code | Lower the expense inflation from 2.5 to 2.2 per cent a year |
The columns
-
No.
The place of the change in the history, counted from 1 after release N. Change 32 is the state N+1.
-
Revision
The short name under which the history holds the change. It names exactly this change.
-
Class
What the change touches. A change can have several classes.
-
Description
The short note its author gave the change, shown as written. The notes of the reference model are English.
The four classes
-
data
The portfolio. Change 4: “Raise the largest sum-assured factor of the generated points from 2 to 2.5”.
-
parameter
Tables such as lapse or cost rates. Change 2: “Lower the lapse rate of policy year 1 from 0.06 to 0.05”.
-
code
The calculation rules. Change 9: “Raise the claim expense from 250 to 275 EUR per death”.
-
no class
None of these, for example documentation only. Change 5: “Describe the main line and what a commit on it stands for”.
How the classes are found
DeltaRecon does not judge the content of a change, and it does not read the description: the description is what the author wrote, not a finding. It looks at the files. For every revision it takes the files that the revision adds, removes or alters against the revision before it; for a merge that is the state before the side branch came in. The revision gets the class of every one of these files. That is why a revision can have two classes, and why a revision that touches no such file has none.
Which file has which class, DeltaRecon does not know by itself. The adapter of the engine says it. The adapter also reads the history and names the files of each revision. For the reference model its adapter declares:
-
data
The table of the model points,
model_point_table.csv. -
parameter
Every other CSV file in the folder of the product, for example
lapse_table.csv. -
code
Every file in the folder of the model,
RLV_DE_S. -
no class
Every other file, for example the description of the repository or its tests.
The class therefore says where a change was made, not what it means. Change 9, “Raise the claim expense from 250 to 275 EUR per death”, alters a cost rate and is still code: in the reference model this rate stands in the calculation rules, not in a table.
With an engine of your own, your adapter declares which files are data, parameters and code. What your engine must provide describes what an adapter has to provide.
A merge, a revert and a change with two classes
Change 6, “Merge branch 'instalment-loadings'”, is a merge: it brings the work of a side branch into the main line. The table lists it as one revision.
Change 18 is a revert: it takes change 17 back. Both stay in the list, each as a revision of its own.
Change 3, “Give single-premium policies their own lapse rate”, has two classes, parameter, code: it touches a table and the calculation rules.
Which changes cause the deviation
The fourth step searches the 32 changes for those that cause the deviation in the Bruttobeitrag in the first five projection years. Here a deviation is a change of the Bruttobeitrag by more than one cent per model point and month. Below the table the demo reports one part of the deviation as “Not resolved”.
| Revision | Description | Sum of the deviation |
|---|---|---|
| 936e50d | Lower the lapse rate of policy year 1 from 0.06 to 0.05 | +24,110.00 |
| 8f81933 | Merge branch 'instalment-loadings' | -13,503.67 |
| 83f01cf | Lower the instalment loading of half-yearly payment from 2 to 1.5 per cent | -4,429.49 |
| 7f1dc64 | Raise the premium-related beta loading from 5 to 5.5 per cent | +21,174.13 |
The columns
-
Revision
A change that deviates on its own, under its short name from the table of the changes.
-
Description
Its description from the table of the changes.
-
Sum of the deviation
The signed sum of “state after the revision minus state before it” of the Bruttobeitrag, over all 350 model points and the projection months 0 to 59 from the valuation date. Plus: the revision raises the expected Bruttobeitrag. Minus: it lowers it.
An example: +24,110.00 at 936e50d means that over all 350 model points and the first 60 projection months the expected Bruttobeitrag after this revision is 24,110.00 EUR higher than before it.
The line above the table says “17 of 33”. 33 is the number of states: release N and one state after each of the 32 changes. 17 of them were computed.
32 changes, from release N at the left to the state N+1 at the right
- A revision of the table, with the number of its change: 2, 6, 12 and 30
- Not resolved: changes 25 to 28
- Every other change: the search attributes no deviation to it
Sum of the deviation in the Bruttobeitrag, by revision
The 32 changes in the order in which they were made, each as one square. The filled squares are the 4 revisions of the table: changes 2, 6, 12 and 30. The bracket marks changes 25 to 28, which the search reports as not resolved. Below the line the sums of the table as bars: a filled bar raises the Bruttobeitrag, an outlined bar lowers it.
The four revisions
-
A lower lapse rate in policy year 1
936e50d+24,110.00. The lapse rate of policy year 1 falls from 6 to 5 per cent. The premium per policy stays as it is; more policies stay in force, so more expected premium falls due.
-
The instalment loadings, from a side branch
8f81933-13,503.67. The merge changes the table of the instalment loadings,
freq_loading_table.csv. -
The instalment loading of half-yearly payment
83f01cf-4,429.49. It changes the same table of the instalment loadings.
-
A higher premium-related loading
7f1dc64+21,174.13. It raises the premium-related loading in the premium equivalence.
The four sums add up to +27,350.97. The whole deviation of the Bruttobeitrag between N and N+1, over the same model points and months, is +27,367.60. The remainder of 16.63 is what stays below the tolerance, the interval that is not resolved included.
A finding in plain words
What “Not resolved” means here
Not resolved: the changes 909eeec, 5f3d085, e13c628, a9fbd53 exceed the tolerance only together; each one alone stays below it. DeltaRecon therefore attributes this part of the deviation to none of them.
The search halved the interval of the four changes 909eeec to a9fbd53. Each half stays below one cent per model point and month; both together exceed it. Of the four, only 909eeec and e13c628 touch the Bruttobeitrag: a fixed charge of 0.6 and then 1.2 cent a year. 5f3d085 changes the renewal commission, and a9fbd53 changes only a text that describes a test, and no calculation. The search names the interval, not the cause inside it.
Changes that cancel
The demo also shows a limit. Changes 17 and 18, a change and its revert, cancel inside one interval, and so do changes 19 and 20, a change and its setting back. The search therefore does not divide these intervals. How DeltaRecon works describes the search and its limits.