Accepted-outcome economics
SAMPLE DATA — bundled demo dataset, not your provider data
This is the economics view computed over a labelled sample dataset — the same function (app.economics.accepted_outcome_economics) that runs on a signed-in account's real recorded rows. Every sample row is labelled SAMPLE, sample data is never counted in real counters, and the formulas below are the only arithmetic used.
The formulas — the only arithmetic on this page
cost per accepted outcome = total recorded cost ÷ accepted units
avoided cost = accepted units × recorded unit value − total recorded cost
A work unit is one effective outcome record. Its acceptance state is the latest acceptance event recorded for it (accepted / rejected / rework); a unit with no acceptance event is awaiting acceptance and is never counted as accepted. A failed retry is a failed cost event whose immediately preceding cost event for the same client + workflow was also a failure. When no unit value is recorded for a group, avoided cost renders not computable — unit value not recorded; when a group has no accepted units, cost per accepted outcome renders undefined (no accepted outcomes yet). No estimate is ever substituted.
Economics by client + workflow (SAMPLE)
| Client | Workflow | Submitted | Accepted | Rework | Rejected | Awaiting | Verified successes | Failed runs | Failed retries | Total recorded cost | Cost / accepted outcome | Avoided cost (formula-bound) | Label |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Sample Client | summary-brief | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | $0.90 | undefined (no accepted outcomes yet) | not computable — unit value not recorded | SAMPLE |
| model: sample-model-v2 | $0.90 | verified successes: 0 | SAMPLE | ||||||||||
| Sample Client | support-draft | 4 | 2 | 1 | 1 | 0 | 3 | 2 | 1 | $2.00 | $1.0000 | $1.00 (2 × $1.50 − $2.00; unit value source: sample dataset — recorded unit value (labelled sample)) | SAMPLE |
| model: sample-model-v1 | $2.00 | verified successes: 3 | SAMPLE | ||||||||||
Sample inputs — every row labelled SAMPLE
Sample cost events:
| Client | Workflow | Model | Cost (USD) | Outcome | Label |
|---|---|---|---|---|---|
| Sample Client | support-draft | sample-model-v1 | $0.40 | success | SAMPLE |
| Sample Client | support-draft | sample-model-v1 | $0.40 | success | SAMPLE |
| Sample Client | support-draft | sample-model-v1 | $0.40 | fail | SAMPLE |
| Sample Client | support-draft | sample-model-v1 | $0.40 | fail | SAMPLE |
| Sample Client | support-draft | sample-model-v1 | $0.40 | success | SAMPLE |
| Sample Client | summary-brief | sample-model-v2 | $0.50 | success | SAMPLE |
| Sample Client | summary-brief | sample-model-v2 | $0.40 | fail | SAMPLE |
Sample outcome units and their recorded acceptance states:
| Unit | Workflow | Verified | Acceptance state | Label |
|---|---|---|---|---|
| SAMPLE-UNIT-1 | support-draft | yes | accepted | SAMPLE |
| SAMPLE-UNIT-2 | support-draft | yes | accepted | SAMPLE |
| SAMPLE-UNIT-3 | support-draft | yes | rework | SAMPLE |
| SAMPLE-UNIT-4 | support-draft | no | rejected | SAMPLE |
| SAMPLE-UNIT-5 | summary-brief | no | rework | SAMPLE |
Run it on your own numbers
Accepted-outcome economics runs on your recorded outcome units, acceptance states and unit values — that data is yours, so it sits behind your account (Pro / Agency). Record acceptance with POST /api/outcomes/acceptance and unit values with POST /api/economics/unit-value; every claim on the page stays bound to those recorded inputs.