Skip to main content
Generated from the rslc compiler. The RSL pages quote these example raters. Each one passes rslc check. All carriers, rates and rules in them are synthetic. rslc examples lists them, and rslc examples get NAME saves one to a folder.

minimal

The smallest rater that passes a strict check: one input, one cited constant and one rounded premium.
minimal/rater.rsl

dwelling

The tutorial’s dwelling-fire rater: a rate table with protection-class bands, a rate for each peril, a list of scheduled items and a coded input rule.
dwelling/rater.rsl
dwelling/tables/BaseRate.csv

staffing

A staffing-liability rater and the guideline that uses it: roles, a question that a role owns, an eligibility rule, two referrals and a limit that each quote sets for itself. The two scripts play a submission from open to bind.
staffing/application.json
staffing/bind.script
staffing/guideline.rsl
staffing/rater.rsl
staffing/stale.script

questions

A renters rater whose inputs carry their questions: question text, follow-up inputs, a named list, a choice and an input that a host fills.
questions/rater.rsl

renters

A renters rater for rating with missing answers and for the planner: a banded rate table, a follow-up input, a business rule and a choice.
renters/rater.rsl
renters/tables/BaseRate.csv
renters/tables/BuildingFactor.csv
renters/tables/DeductibleFactor.csv

auto

A personal-auto rater that the language reference quotes: lists of drivers and vehicles, options, a union, maps, bands, interpolation, dates, follow-up inputs, questions and a scenario.
auto/enums/Territory.csv
auto/rater.rsl
auto/scenario.rsl
auto/tables/BaseRate.csv
auto/tables/DeductibleFactor.csv
auto/tables/DriverClass.csv
auto/tables/LimitFactor.csv
auto/tables/MileageFactor.csv
auto/tables/TerritoryByZip.csv
auto/tables/ValueFactor.csv

auto-extras

A homeowners rater with the forms that auto leaves out: every source kind, enumeration narrowing, value lists, a geography, select and an override.
auto-extras/enums/ProtectionClass.csv
auto-extras/rater.rsl
auto-extras/tables/Cell.csv
auto-extras/tables/ConstructionFactor.csv
auto-extras/tables/WindCredit.csv
auto-extras/tables/ZipFactor.csv

fn-tables

A homeowners rater that the function reference quotes for lookup! and interpolate!.
fn-tables/rater.rsl
fn-tables/tables/AmountFactor.csv
fn-tables/tables/BaseRate.csv
fn-tables/tables/DeductibleFactor.csv
fn-tables/tables/HailFactor.csv
fn-tables/tables/HomeAgeFactor.csv
fn-tables/tables/ZipFactor.csv

fn-geography

A wildfire rater that the function reference quotes for locate and Some.
fn-geography/rater.rsl
fn-geography/tables/WildfireCell.csv

fn-numbers

A general-liability rater that the function reference quotes for root, pow, abs, floor, ceil and select.
fn-numbers/rater.rsl

fn-folds

A commercial-property rater that the function reference quotes for sum, product, min and max.
fn-folds/rater.rsl

fn-lists

A household-auto rater that the function reference quotes for the list functions.
fn-lists/rater.rsl

fn-dates

A motorcycle rater that the function reference quotes for the date functions.
fn-dates/rater.rsl