calibrate
Aligns simulated funnel rates to real-world campaign data using a CSV file, or applies industry benchmarks when real data is unavailable.
Instructions
Calibrate simulated funnel rates to real-world levels.
Two modes:
With
csv_path: fit against a REAL past campaign's stats. The CSV needs columnssent, opened, clicked, converted(one or more rows). Requirescampaign_namefor the simulated side of the fit.Without
csv_path: anchor the campaign's simulated rates to industry benchmark base rates (a sane default until you have real data).
After calibrating, get_campaign_report shows a calibrated column.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | email | paid_social | organic. | |
| csv_path | No | Optional real campaign stats CSV. | |
| campaign_name | No | Campaign whose simulated rates to calibrate from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |