Skip to main content
A rating model computes one part of a carrier’s rating plan, such as a credit score, a tier or a tier factor. Install Relativities and set your API key before running this page.

List the models

RatingModels.list returns the newest upload of each model in your organization’s catalog. Filter by carrier, layer, state or fidelity. Each layer is score, tier or factor.

Pick a model and check its sources

The part of the model ID before the first . groups the models by carrier. The rest of the ID becomes the attribute, with each - and . written as _. models["example.mileage-factor"] names the same model. The descriptor records the filings behind the model and its knownGaps. Its fidelity says how closely the model follows them:
  • exact_filed: the filed tables and rules, as filed.
  • alt_state_proxy: one state’s filing stands in for another state’s confidential one.
  • non_filed_assumption: a step that rests on an assumption, with the assumption in knownGaps.

Rate inputs

The model downloads and verifies its bundle the first time it rates. Rating then runs on your machine, on the same native engine as a Rater. rate and explain take the model’s own inputs, as model.input_schema describes them.

Pin an upload

Rating models use immutable uploads in place of releases. Each upload’s bundle_id names it exactly. Pass bundle_id to rate with one upload every time. After the first download, local_files_only=True loads that upload from the local cache, offline.