Rate model nodes
A model is a flow of nodes from Start to an End. The type is the name a Everything Rate needs to price one insurance product: its models, rate tables, lists of values and constants.Glossary → file and the API use.
| Node | Type | What it does |
|---|---|---|
| Start | start | Where the calculation begins. One per model. |
| Compute | compute | Gives values to fields, one A level of a product, such as "Third party" or "Comprehensive": the covers it includes, with their values.Glossary → per field, in order. |
| Branch | branch | Chooses a path: the first case whose condition is true, otherwise the “otherwise” path. |
| A step of a Rate model that finds the first row of a rate table matching its keys and copies its values.Glossary → | lookup | Finds the row of a Rows of rates by criteria, such as a rate per zone and age band. A lookup returns the first row whose keys all match.Glossary → matching keys, and copies its values into fields. Has a “no match” path. |
| For each | forEach | Runs a A model of a tariff that the main model calls, once or once per item of a list, such as the surcharge of each insured person.Glossary → once per item of a list (each insured person, each A guarantee of a product: what is insured, with its ceilings, its excess and its waiting period for each formula.Glossary →) and collects the results. |
| Sub-model | call | Runs another model of the tariff once and copies its outputs into fields. |
| End | end | Finishes the calculation: quoted, referred or declined, with an optional message. |
| Note | note | A comment on the canvas, for the next person. It does nothing. |