Guideline parts
Guideline shape
The guideline of Turn guidelines into a program underwrites a staffing firm. It links the rater, declares its roles and names its acts:Questions and roles
Each question names the role that answers it. A question that lacks a role is open to every role. A role answers for each role below it, so a manager answers an underwriter’s questions too. A write from a lower role gets the refusalNOT_AUTHORIZED, and the log keeps the refusal beside it.
A data source is a role too. A loss-data bureau that answers the loss experience is one role, and
an underwriter above it corrects the bureau’s answer.
An input marked per quote is a term, such as a limit. Each offer sets its own terms, and
every other input is a fact that all offers share.
Rule forms
A manual says more than “refer this”. Each kind of rule has its own form:
Guidelines in the language reference gives the syntax of each form.
Referrals and sign-offs
A referral names a condition, the role that signs it off and the reason that role sees. While the condition holds, the submission waits forApproved or Declined from that role.
A sign-off stands while the values its condition read stay the same. When one of them changes,
the sign-off lapses and the status names the value. Other answers leave it in place.
Offers, quotes and bind
- An offer act saves the outcomes of the moment under a name, such as
q1. The offer stands while the answers stay the same. - An accept act takes an offer that stands, so the bound premium always matches the answers in the log.
- A refuse act declines while a rule or a sign-off declines, and the entry records its code. An end act closes the submission.
- A broken coded rule makes the status
ineligible, and the submission stays open. A typing error breaks a rule as a true answer does, so a person decides: correct the answer, or decline. - An accepted, refused or ended submission is final. The log then refuses each later write.
Rater calls
Theuse line links the rater under a short name. The rater’s record is one input of the
guideline, so the rater’s questions keep their names. The call returns the rater’s outcomes.
A guideline reads a rater in one of two forms:
- The short call,
ts(self.policy).premium, reads the premium. A coded rule of the rater then makes the whole submissionineligiblewith the rater’s code. - A
matchon the call gives the guideline its own value for a refused call, such as a minimum premium for a small account.
rslc check holds it to
that. So the rater’s steps stay free to change, and one rater serves several guidelines. One
check covers the guideline and each rater it uses.
Submission logs
- Locally,
rslc logwrites and reads a log file. Turn guidelines into a program works one submission from application to bind. - Run a submission covers each command, offer options and missing answers.
- On Effective, release the guideline and keep each submission’s log through the API. Programs on Effective shows the flow.