Install Relativities
Create a virtual environment and install the package:source .venv/bin/activate.
On Windows PowerShell, activate it with .venv\Scripts\Activate.ps1.
rslc rating engine. Prebuilt wheels support macOS, Linux, and Windows.
Download the synthetic examples
Download the synthetic examples asexamples.json in your working directory.
Use your browser’s save command, or download the file from a terminal:
relativities-examples:
relativities-examples/rsl/.
The households, rating algorithms, and underwriting rules are synthetic. They illustrate analytical methods rather than real market premiums or carrier appetite.
Local examples run with the downloaded files and the installed package.
Load a catalog rater
Catalog downloads require an Effective API key with access to the rater. Authentication explains how to obtain a key. Set it in the environment before starting Python:$env:EFFECTIVE_API_KEY = "sk-eai-...".
Pass a catalog ID to Rater.load to download a rater. Pass a Path to load a local bundle.
Rating runs on your machine; your submission data and results stay local.
Catalog availability depends on your access and the published raters. The catalog identifiers shown in the guides illustrate the loading API.
Use your available rater ID and pin its bundle revision for a reproducible study.