Skip to main content
A market holds named programs to rate on the same book. This market compares the example program with a proposed version that raises the collision base rate by 5%:
with_tables builds a new rater from the edited table, with its own bundle_id. with_rater pairs it with the same prepare and schema.

Choose the columns to compare

Each rater names its own outcomes. Give each program a read that returns the columns to compare. This read keeps the premium and adds the policy’s collision premium:
Programs whose read returns the same name share that column. To compare carriers with different premium terms, put each premium on one term in its read, and state that conversion in the exhibit.

Add other programs

Add any program by name, such as a competitor from your catalog or a file. Each program keeps its own schema and prepare, so one book serves every program. Load a program lists the sources.

Close the market

Closing a market closes each program’s rater:
with Market(...) as market: closes the market at the end of the block.