The Lawfare Academy

Lawfare Group → Knowledge Institute → Lawfare Academy

← Digital Business and AI Applications

Unit 5

Experiments and total cost

Learning objectives

  • Explain experiments and total cost in your own words.
  • Apply the principle to the worked business case.
  • Evaluate the answer and identify an assumption that could change it.

Experiments and total cost

Pilot with representative tasks, measure full cost, and compare errors and rework. Include integration, training, licensing, supervision, and exit costs. A demo's speed does not establish economic value.

Worked example

A tool saves drafting time but doubles correction time.

Study the full explanation

The Academy guide above introduces the mechanism. The linked textbook sections supply the sustained instruction, definitions, derivations, examples, and end-of-section practice for this study unit. They are part of this course's learning sequence, not merely citations for this short guide. Read them on the publisher's free website, then return here to apply the idea.

Work through the reasoning

Define the business workflow, data, users, system boundary, and failure consequences. For this unit, connect the explanation of experiments and total cost to the worked example before answering the practice question.

Check the limits

Test a representative case and identify controls, exceptions, recovery, and the accountable human owner. If the source model and the practical example use different assumptions, state the difference rather than applying the formula or rule mechanically.

Apply it independently

What should the evaluation measure? Write an answer before opening the model response. Show the calculation or explain the causal or logical steps. Change one material assumption and say whether your conclusion changes. This practice is optional; you can read every part of the course without submitting work.

Advanced investigation: A paired experiment, total cost and a predeclared decision

An AI pilot compares complete workflows, not isolated response times. Define the eligible task mix, quality rubric, outcome window and unit of assignment. If each staff member uses both systems, account for order and learning effects. If teams receive one system each, the team can be the assignment unit; individual tasks do not automatically create independent treatment replications. The analysis must respect the design.

Pairing can improve precision when comparable tasks share difficulty, but it can also leak answers. Having one person solve the same task manually and then with AI makes the second attempt easier because the person already knows the problem. Use randomized order, matched tasks or another justified design, and record the remaining limitation. An identical test fixture is useful for software comparison but not proof that a human crossover experiment has no carryover.

Total cost includes review, correction, exceptions, integration, training, maintenance and exit. Distinguish fixed implementation from recurring cost and separate observed cash outlays from the opportunity value of time. Discounting can matter for long horizons; a simple payback calculation ignores later flows and the cost of capital. A break-even calculation should state which uncertain parameters drive it.

Predeclare the decision and balancing outcomes. A system can improve mean time while increasing severe errors or burdening a subgroup. If the rollout requires zero observed unauthorized disclosures, that is a release criterion for the tested fixture, not a population guarantee of zero risk. A small no-error sample still leaves uncertainty about rare events. For independent Bernoulli trials, observing zero failures in n trials gives a one-sided upper bound 1−α^(1/n) at confidence 1−α; derive it by setting the probability of zero failures, (1−p)^n, equal to α.

A pilot's purpose is to change a later decision using evidence. If the result is unfavorable, do not redefine eligibility or thresholds after seeing it and still call the evaluation confirmatory. Keep exploratory revisions separate, freeze a new candidate and test it on fresh cases. Compare the strongest feasible non-AI alternative before scaling.

Worked investigation

In a fictional test of 60 independent cases, no severe failures occur. A one-sided 95% upper bound under the Bernoulli model is 1−0.05^(1/60), about 4.87%, not zero. At n=300 with zero failures it is about 0.994%. These are model-based bounds; dependence or selective easy cases can invalidate the interpretation. Separately, if monthly net benefit before setup is 700 and setup is 4,000, twelve-month undiscounted net is 4,400. A one-month success does not establish that the monthly benefit will remain constant.

Independent transfer

Find the minimum whole number of independent zero-failure trials needed for a one-sided 95% upper bound at most 1%. State why this does not establish safety for a different task population or model version.

Transfer reasoning

Require 1−0.05^(1/n) ≤ 0.01, so n ≥ ln(0.05)/ln(0.99) ≈ 298.07. The minimum integer is 299. The bound depends on the model, independence and the evaluated population; a changed task mix, system version or shared error source needs renewed evidence.

Original Academy investigation: evaluate total cost and opportunity cost

A pilot should compare an entire accepted workflow with a credible alternative. Count setup, integration, recurring service, per-request processing, human review, rework, monitoring, and relevant failure costs. A per-token or per-call price is one component, not the cost of an accepted business result. Expected benefits also need a realization mechanism: released staff capacity, reduced overtime, higher throughput, better quality, or improved customer retention are distinct hypotheses.

Worked investigation: a break-even volume with exceptions

Use the six-minute manual process and two-minute review process from Unit 1. At $30 per hour, manual labor is $3 per inquiry and review labor is $1. Add $0.10 variable processing, giving $1.10 per drafted inquiry before correction. The per-inquiry saving is $1.90. With a $400 fixed monthly subscription, break-even volume is 400/1.90, approximately 210.53 eligible inquiries, so at least 211 whole inquiries under these assumptions.

If 20% require six extra correction minutes, expected extra labor is 0.2($3) = $0.60 per eligible inquiry. The per-inquiry saving becomes $1.30, giving break-even volume 400/1.30, approximately 307.69, or 308 whole eligible inquiries. If an additional $2,000 setup cost is included in the first month, the first-month fixed commitment is $2,400; its break-even volume with correction is about 1,846.15, or 1,847 whole inquiries. Do not mix first-month and steady-state costs in a single unexplained payback claim.

Randomize eligible tasks or use a defensible comparison when testing the workflow. Balance operator experience, case difficulty, and time of day where relevant. A pilot run only by the tool's most enthusiastic expert users can estimate performance under those conditions without establishing average rollout performance. Predefine primary metrics and safety or quality constraints. Repeatedly changing the winning metric after observing results turns exploration into a misleading confirmation claim.

Sample size and exposure matter. Ten easy successful examples do not measure rare costly failures. Record the denominator, time range, case mix, and uncertainty. Do not convert zero observed failures into a universal zero-risk statement. A broader monitoring plan may be needed even after a favorable pilot. Also compare the value of the proposed investment with spending the same resources on better data quality, training, templates, or removing a redundant process step.

Progressive practice and reasoning

  1. Reproduce the 211-inquiry break-even without correction and the 308-inquiry break-even with correction.
  2. Reproduce the 1,847-inquiry first-month break-even when setup is included. State what happens if unused setup effort benefits later months.
  3. Explain why a 1,000-inquiry steady-state saving does not by itself prove a positive first-month cash effect. The $2,000 setup cost changes the initial period.
  4. Draft a pilot comparison with eligibility rules, baseline, assignment process, primary outcome, quality constraint, cost ledger, and decision rule. Separate an exploratory finding from a preregistered evaluation.

Open the complete investigations and runnable laboratory

Apply the idea

A tool saves drafting time but doubles correction time.

What should the evaluation measure? Explain your reasoning, then identify one changed fact that could alter the conclusion.

Advanced worked record — a separate fictional scenario: In a fictional test of 60 independent cases, no severe failures occur. A one-sided 95% upper bound under the Bernoulli model is 1−0.05^(1/60), about 4.87%, not zero. At n=300 with zero failures it is about 0.994%. These are model-based bounds; dependence or selective easy cases can invalidate the interpretation. Separately, if monthly net benefit before setup is 700 and setup is 4,000, twelve-month undiscounted net is 4,400. A one-month success does not establish that the monthly benefit will remain constant.

Independent transfer: Find the minimum whole number of independent zero-failure trials needed for a one-sided 95% upper bound at most 1%. State why this does not establish safety for a different task population or model version.

Expanded transfer: A first-month pilot adds $2,000 setup to $400 fixed service cost, with $1.30 saving per eligible inquiry. What whole volume breaks even? Explain the decision using the stated information and distinguish the measured result from the assumption. Then complete the four progressive tasks in the Learn stage.

Read the worked reasoning

Net end-to-end performance. Benefits and costs occur across the full workflow. In an independent response, state the given facts, identify the governing relationship, work through the calculation or comparison, and distinguish the conclusion from assumptions that still need evidence.

Advanced transfer reasoning: Require 1−0.05^(1/n) ≤ 0.01, so n ≥ ln(0.05)/ln(0.99) ≈ 298.07. The minimum integer is 299. The bound depends on the model, independence and the evaluated population; a changed task mix, system version or shared error source needs renewed evidence.

Expanded transfer reasoning: 2400/1.30 is about 1846.15, requiring 1847 whole inquiries.

Progressive case reasoning: 1. Reproduce the 211-inquiry break-even without correction and the 308-inquiry break-even with correction. 2. Reproduce the 1,847-inquiry first-month break-even when setup is included. State what happens if unused setup effort benefits later months. 3. Explain why a 1,000-inquiry steady-state saving does not by itself prove a positive first-month cash effect. The $2,000 setup cost changes the initial period. 4. Draft a pilot comparison with eligibility rules, baseline, assignment process, primary outcome, quality constraint, cost ledger, and decision rule. Separate an exploratory finding from a preregistered evaluation.

Check understanding

Per-inquiry saving after expected correction is $1.30 and fixed monthly cost is $400. What whole volume first reaches modeled break-even?

  1. 211
    Feedback

    Incorrect. 211 is the no-correction case with a $1.90 saving.

  2. 400
    Feedback

    Incorrect. Divide fixed cost by per-inquiry saving rather than equating dollars and inquiries.

  3. 308
    Feedback

    Correct. 400/1.30 is about 307.69, requiring 308 whole inquiries.

Further reading

Expanded investigation: study the original worked case, attempt all four progressive tasks, and run the synthetic laboratory. The institutional sources supply background for their stated topics; they are not the source of the fictional cost or classification records. The toy policy code illustrates boundary placement, not production authentication.

My learning →