1. Define Credibility Requirements for a Re

Define Credibility Requirements for a Regression Model Learning card

From a Stakeholder Question to a Credibility Requirement

A stakeholder rarely asks for "a credible model." They ask something concrete: "Can we trust this regression model to predict cycle life within ±8% when we deploy it on the new cell chemistry?" That sentence already contains the raw material of a credibility requirement — a decision context, a quantity of interest, a population, and a tolerance. The engineering work is to make each of those elements explicit, testable, and traceable to evidence, rather than collapsing them into a single accuracy number.

This distinction matters because performance reporting and credibility are not the same thing. A model can report R² = 0.97 on a held-out set and still be non-credible for the stakeholder's decision, because the held-out set may not represent the deployment population, the metric may not reflect the tolerance that matters, or no evidence may exist that the model behaves acceptably outside its training envelope. Credibility is a claim about fitness for a specific use, supported by a structured body of evidence. Performance metrics are one input to that evidence, not the conclusion.

Anatomy of a Credibility Requirement

A well-formed credibility requirement for a regression model has six parts. Writing them down as separate fields prevents the common failure of "we validated it, it's fine" with no auditable link between the stakeholder's decision and the evidence produced.

FieldMeaningExample (cycle-life regression)
Decision contextThe decision the model informs and the cost of being wrongApprove a 500-cycle warranty extension for a new cell batch
Quantity of interest (QoI)The specific output the decision depends onPredicted cycles to 80% capacity retention
Population & envelopeInputs the model will see in deploymentCells with 2.9–3.2 V nominal, 0.5–1.5 C discharge, 15–35 °C
Acceptance thresholdNumeric pass/fail criterion on a defined metric|relative error| ≤ 8% for ≥ 90% of validation cells; max error ≤ 15%
Validation metricHow error is measured and aggregatedRelative error per cell; 90th percentile and maximum over the validation set
Evidence needsWhat artifacts must exist to support the claimIndependent validation set, extrapolation test, sensitivity study, documented assumptions

The acceptance threshold and the validation metric must be chosen together. "≤ 8% error" is meaningless until you specify whether that is a mean, a median, a 90th percentile, or a per-cell bound — each implies a different test and a different evidence burden. For a warranty decision, a tail metric (90th percentile plus a maximum) is usually more defensible than a mean, because a single badly under-predicted cell can trigger a costly field failure even if the average error is small.

Worked Example: Turning the Question into Requirements

Suppose the stakeholder's question is the one above, and the model is a gradient-boosted regressor trained on 1,800 historical cells. The following requirement set is a teaching example — the numbers are illustrative and must be replaced with values agreed by the stakeholder and the model owner.

  1. QoI and units. Cycles to 80% capacity retention, integer cycles, predicted per cell.
  2. Deployment envelope. Nominal voltage 2.9–3.2 V, discharge rate 0.5–1.5 C, temperature 15–35 °C. Inputs outside this envelope are flagged as out-of-distribution and excluded from the credibility claim.
  3. Acceptance thresholds. On an independent validation set of at least 200 cells drawn from the deployment envelope: 90th-percentile absolute relative error ≤ 8%, and maximum absolute relative error ≤ 15%. No cell may be silently dropped; exclusions must be reported with reasons.
  4. Validation metric definition. Relative error e_i = (ŷ_i − y_i) / y_i, with y_i the measured cycle life. Report the full error distribution, not only the aggregate.
  5. Extrapolation evidence. A held-out slice at the envelope edges (1.5 C and 35 °C) must meet the same thresholds, or the claim is restricted to the interior of the envelope.
  6. Sensitivity evidence. A documented study showing how the 90th-percentile error changes when the two most influential input features are perturbed by ±5%, to bound the effect of measurement noise.
  7. Assumption register. Explicit list of assumptions (e.g., cycle life measured under a fixed charge protocol) with the consequence if each is violated.

Notice that items 5–7 are evidence needs, not performance numbers. They exist because the stakeholder's decision depends on behavior at the edges of the envelope and on the stability of the prediction — conditions a single held-out R² cannot certify. This is the practical difference between reporting performance and establishing credibility.

Write each requirement so that a reviewer can answer "pass, fail, or not evaluated" without asking the model owner for clarification. If a requirement cannot be evaluated from an existing artifact, it is an evidence gap, not a requirement that has been met.

How the Requirements Chain to Evidence

The diagram below shows how a single stakeholder question decomposes into requirements, and how each requirement maps to a specific evidence artifact and a pass/fail judgment. The key structural point is that the acceptance thresholds sit on the evidence side, not the question side — the question supplies intent, the requirements supply testability, and the evidence supplies the verdict.

Stakeholder question "Can we trust the model to predict cycle life within ±8% for the new cell batch?" Credibility requirements R1 · QoI & units cycles to 80% retention R2 · Deployment envelope 2.9–3.2 V, 0.5–1.5 C, 15–35 °C R3 · Acceptance thresholds P90 ≤ 8%, max ≤ 15% R4 · Validation metric relative error distribution R5 · Extrapolation evidence envelope-edge slice R6 · Sensitivity evidence ±5% feature perturbation R7 · Assumption register Evidence & verdict Independent validation set ≥ 200 cells, in-envelope Error distribution report P90, max, per-cell table Threshold check PASS / FAIL / NOT EVALUATED Edge-slice results 1.5 C and 35 °C held out Sensitivity curves error vs. feature perturbation Assumption register signed, dated, reviewed Credibility claim (scoped) any FAIL or NOT EVALUATED narrows or blocks the claim

Common Failure Modes and How to Catch Them

  • Metric–decision mismatch. The requirement says "mean error ≤ 8%" but the decision is a warranty bound. A mean hides tail risk; switch to a percentile-plus-maximum metric and re-derive the threshold with the stakeholder.
  • Envelope creep. The validation set was drawn from the same narrow conditions as training, but deployment spans wider. Symptom: excellent in-envelope error, no evidence at the edges. Fix: hold out an edge slice and report it separately.
  • Silent exclusions. Cells that fail to converge or look anomalous are dropped before scoring. This inflates apparent accuracy. Require every exclusion to be logged with a reason and counted in the report.
  • Threshold without a metric definition. "≤ 8%" with no statement of aggregation is not evaluable. Pair every threshold with its metric formula and aggregation rule.
  • Evidence gap disguised as a pass. A requirement with no corresponding artifact should be marked NOT EVALUATED, never PASS. The verdict column in the diagram exists precisely to make this visible.
Do not let the acceptance threshold be set after seeing the validation results. If the threshold is chosen to match whatever the model achieved, the requirement no longer tests fitness for use — it merely restates performance. Agree thresholds with the stakeholder before scoring, and record the agreement date.

Deliverable: Credibility Requirement Record

The following record is a fillable template for this case. Each row is one requirement; the evidence column names the artifact that will be produced, and the verdict column is completed only after that artifact exists.

IDRequirementMetric / criterionEvidence artifactVerdict
R1QoI defined with unitscycles to 80% retentionModel card, QoI statement—
R2Deployment envelope stated2.9–3.2 V, 0.5–1.5 C, 15–35 °CEnvelope definition + OOD flag rule—
R3Tail accuracy in envelopeP90 |rel. err| ≤ 8%; max ≤ 15%Validation report, per-cell table—
R4Metric fully specifiede_i = (ŷ_i − y_i)/y_i; P90 and maxMetric definition section—
R5Edge behavior demonstratedsame thresholds on edge sliceEdge-slice results—
R6Robustness to input noiseP90 error change under ±5% perturbationSensitivity curves—
R7Assumptions documentedeach with consequence if violatedSigned assumption register—

Complete the verdict column only by inspecting the named artifact against the stated criterion. A row with no artifact is NOT EVALUATED, and the overall credibility claim must be scoped to exclude it. This record is the traceable link between the stakeholder's question and the evidence — the artifact that distinguishes a credibility argument from a performance report.