Load from the library
example-ca-ppa is a synthetic California personal auto program.
Downloads require an Effective API key and the program’s download permission.
Raters explains the available offerings.
Omitting revision loads the latest published version; pass revision= to load a specific version.
Load a local download
Download a local copy, then pass its folder as aPath:
Other loading options
Other loading options
To load from your organization’s catalog, pass its program ID: Pass
Program.load("my-program").Pass local_files_only=True to load a cached program:revision= to select a published version or exact bundle, as described in Download a program.Inspect the book schema
program.schema lists the tables and columns the program accepts. Its preparation function converts those facts into the rating algorithm’s inputs.
Try the example book
The example program includes a book of synthetic policies:Inspect the rating algorithm
Inspect the rating algorithm
program.rater.inputs lists the engine’s input fields and allowed values. program.rater.outputs lists its outcomes:premium is the policy’s annual premium. Each vehicle also has premiums by coverage.program.rater.tables holds the rating tables, with exact Decimal values: