Description
Return one caller-supplied lead-score contribution when its rule is flagged true.
Campaign bookkeeping distinguishes actual records from supplied rules, discounts, retention assumptions and spending periods. Sequential discounts compound on changing bases, while an adstock update depends on a declared period and retention factor. A click flag or local score term does not establish consent, causal response or financial performance.
Return one caller-supplied lead-score contribution when its rule is flagged true.
When to use this tool
Use Lead Score Single Rule Contribution when you already have ruleSatisfied, suppliedRulePoints and need to return one caller-supplied lead-score contribution when its rule is flagged true.
How to use the tool and how it works
- Enter ruleSatisfied, suppliedRulePoints. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read contribution. Use the output convention below.
Return suppliedRulePoints when ruleSatisfied, otherwise zero; signed points are retained.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| ruleSatisfied | Rule Satisfied | Required. Boolean. |
| suppliedRulePoints | Signed contribution when the rule is satisfied; false returns zero. | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| contribution | Contribution | Required. Finite number. |
{
"input": {
"ruleSatisfied": true,
"suppliedRulePoints": 15
},
"output": {
"contribution": 15
}
} Limitations and assumptions
- The rule and result are supplied; no lead is classified, model fitted, total score assembled or commercial outcome predicted.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Review original campaign events, offer terms and financial records for actual charges and statuses. Fit and validate a complete model when estimating response or retention; one supplied rule, price delta or pacing term does not provide that evidence.
References
Similar or alternative tools
- Market Survey Single Attribute Gap
Measure a market-survey attribute rating's signed reference gap.
- Adstock Single State Update
Update one supplied adstock state under a fixed retention fraction.