decision control
Nodes

Scorecard

Adds up points per characteristic into a score, with adverse reason codes.

The Scorecard node turns several characteristics of an applicant into one number. It starts from base points and adds, for each characteristic, the points of the first range (bin) whose condition holds.

When to use it

  • Credit and risk scoring where every factor contributes points.
  • Cases that need an explanation: the reason codes say which factors cost the most.

How it works

  1. The score starts at the base score.
  2. For each characteristic (age, months at address, ...) the bins are tested in order and the first one that holds gives its points. If none holds, the characteristic's fallback points apply (0 when absent).
  3. Points are summed in exact decimal.
  4. For each characteristic, the node measures how far it fell below its best bin. The reason codes of the biggest shortfalls are reported, most costly first.

Ports

PortTaken when
NextAlways, after the score is written.

Configuration

FieldWhat it does
NameLabel shown on the canvas and in the trace.
Base scoreWhere every score starts.
CharacteristicsEach with its bins (label, condition, points, optional reason code) and optional fallback points.
Reason codesHow many to report. Defaults to 4.
Store result inThe variable that receives the result object.

What it writes

One object under your variable: { score, breakdown, reason_codes }. breakdown lists, per characteristic, the bin hit, the points and the shortfall.

In a real flow

The scorecard produces a credit score. A condition approves at or above the cut-off; lower scores trigger an adverse-action notice built from the reason codes.

When it fails

  • A bin condition cannot be evaluated: EXPRESSION_FAILED, naming the bin.
  • Errors in Checks: no output variable, a characteristic without bins, a bin without condition or points. A scorecard with no characteristics is a warning.

Good to know

  • Order bins from most to least specific; the first one that holds wins.
  • Give a reason code to the bins that cost points. Only characteristics that lost points against their best bin report one.

On this page