Skip to main content
A quote starts with a few answers and gains the rest one at a time. At each point, an RSL rater says what the answers so far settle and which missing answers still matter. This page gives the reasons behind that behavior. Rate with missing answers gives the steps.

Why a rater answers a partial request

A full rating needs the whole request. rate refuses a request that lacks a required input, and names the input. That refusal says what is absent. It stays silent on whether the absent input changes the premium. The rater holds the tables, the conditions and the rules, so it knows which inputs each outcome reads. evaluate uses that knowledge on the answers it has. A host that asks questions then needs only the rater’s result, and the rating logic stays in one place. The examples use the shared renters rater from the synthetic carrier Example Mutual:
This request leaves out construction, which the rater declares as a required input:
rate asks for the complete request. evaluate returns the premium, because each construction gives $216 in the rural territory.

The three results

The rater decides among them in a fixed order:
  • A refusal for a business rule arrives as settled, because it is as final as a premium.
  • A refusal for a bad value arrives as invalid, and it comes before any business rule.
  • An open result also lists each outcome that is already final, as known.
Results lists each field of the three results.

A missing answer stays unknown

The rater treats a missing input as unknown. It leaves the value open, in place of zero or a typical value. An unknown value flows through each calculation that reads it, and the outcome stays unknown too. A default would price a different risk. Suppose a host fills in false for a missing has_dog. The renters rater then returns $216 for a household whose true result is $241, or a refusal. The person sees a premium that the next answer withdraws. Because the rater uses only given answers, a settled result holds for each way to complete the request. A host shows it as final and skips the questions that remain. One kind of input does carry a default, and the rater declares it. A choice is something the person buys, such as a deductible:
A request that leaves deductible out buys the $500 deductible, so a choice stays out of the gaps. Input contract describes how a host reads a choice and its default.

When a follow-up input applies

A follow-up input belongs to a request only when its condition holds:
So an input outside the request differs from an unanswered input. The first has left the question list for good. The second stays on the list until a given answer makes it irrelevant. A follow-up question also comes after the question that decides whether it applies.

How one answer narrows the next question

The rater reads each rate table with the answers that it has. The building table of the renters rater files these factors: With territory answered, the rater looks only at that row: The same reasoning applies to the other forms of a calculation:
  • When the rows that fit agree, the lookup has its value and the missing key leaves the gaps.
  • When the rows differ, their values for the missing key become its choices.
  • An if with a known condition reads one branch. The inputs that only the other branch reads leave the gaps.
  • A condition such as a and b is false as soon as one side is false.
The rater names a gap whenever it lacks a proof that the input is irrelevant. A lookup compares at most 128 fitting rows, and a longer list of rows stays open. So a gap sometimes changes little, and a settled result is always exact.

What this means for a quoting conversation

  • Ask in the order of the gaps. The rater lists first the inputs that it needs first.
  • Stop when the result is settled. The premium equals the premium of the complete request.
  • Show a known outcome early. A premium under known is final for each answer that the rules accept.
  • End on a refusal. A broken business rule settles the request, and the remaining questions stay unasked.
  • Evaluate again after each answer. Each call stands alone, so the same request gives the same result.
One rater gives the gaps for one program. Plan the next question merges the gaps of several raters into one list of cards.