mureo_outcome_evaluate
Compare baseline metrics with current numbers to determine if an action improved, regressed, or was inconclusive, using a noise band to avoid false verdicts.
Instructions
Deterministically evaluate whether a logged action's outcome improved, regressed, or is inconclusive — the reproducible verdict the observation-window review (daily-check) and /learn rely on, instead of eyeballing the numbers. Pass before (typically the action_log entry's metrics_at_action) and after (the current numbers). Pure calculation — works for ANY platform (google_ads / meta_ads / tiktok_ads / plugins) as long as you feed comparable metric names. Direction is built in: cpa/cpc/cpl/cpm lower-is-better; conversions/ctr/cvr/roas higher-is-better; cost/spend/clicks/impressions are volume-only (reported, never scored). A change within ±noise_pct (default 10%) or a zero/absent baseline is 'inconclusive' (no fabricated swing).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | Current metrics, same shape as ``before``. | |
| before | Yes | Baseline metrics — metric name → number (e.g. {"cpa": 5000, "conversions": 50}). Usually the action_log entry's metrics_at_action. | |
| noise_pct | No | Noise band in percent (default 10). A change smaller than this is 'inconclusive' (day-to-day variance). |