Decision flow on records

Decision flow on records runs a released decision flow over historical records and measures how one of its outputs separates the outcome. It also shows what a cutoff on that output pays and whether a second score separates the outcome better.

Who uses it

The owner of a decision flow uses this analysis to test the flow on history before it has traffic. It belongs to Decisions.

Data

Use records from a portfolio or a data intake that includes an outcome. This analysis does not use the decision archive. For preparing data, see Data your analyses read.

Inputs

InputMeaningDefault
Portfolio or intakeThe portfolio or intake of records to analyse. Required.
ReleaseThe released decision flow to run. Required.
Output path to measureThe flow output to measure, such as its score. Required.
Second score to compareAnother score on the records. Optional, under More settings.
Saved per outcome stoppedMoney saved for each record with the outcome that is stopped. Required.
Cost per other record stoppedMoney lost for each other record that is stopped. Required.
BandsThe number of bands used in the results. Under More settings.20

Results

The results show Hypotheses and Watch-outs. For the flow output, they report Records, Outcomes, Outcome rate, AUC, Gini, KS, and Information value. They also show Best cutoff, last band, Best cutoff stops, Best cutoff catches, and Best cutoff net, followed by a band table with Band, Outcome rate, Stopped, Outcomes caught, Precision, and Net.

When you provide a second score, the results show the same measures for it. They also compare the two scores when each stops its riskiest 20% of records. The swap set reports the outcome rate for records stopped by Both, First only, Second only, and Neither, along with Second score AUC, Second score Gini, and Swapped.

The analysis tests whether the second score separates better only when you provide one. The hypothesis is held when the second score’s Gini is above the flow output’s Gini, and both numbers are shown. If it is rejected, the analysis raises a finding.

The analysis also tests whether a cutoff pays. This hypothesis is held when the best cutoff on the output has net above zero. It never raises a finding.

The scoring-errors watch-out warns if any record fails to score and shows how many. The warning appears beside the result.

Read the answer

Check failed records first because they leave the view incomplete. A very high Gini usually means the outcome leaked into the output.

For the shared conventions used to read results, see Analyses.

Next steps

Use Cutoff strategy for the same money view on a score already on the records, with capacity and segments. Use Decision backtest to test the release on recorded decisions. This analysis does not change a deployed release. To start or repeat a run, see Running and repeating an analysis. Set a cutoff, then release and deploy.