Backtesting

Test Before Publishing

Evaluate rule changes against real historical data before going live.

Compare Outcomes

See side-by-side comparisons of historical vs projected rates.

Fraud Visibility

Understand how changes affect fraud detection if you report fraud to Apata.


Prerequisites

  • Only Draft Risk Profile versions can be backtested
  • Backtesting is only available at the Financial Institution level
  • Maximum backtesting period is 3 months
  • Maximum 1 million transactions per backtest

What Is a Draft Risk Profile?

A Draft enables you to save changes without immediately applying them to the live Risk Profile. You can:

  • Edit and refine rules before publishing
  • Run backtests on proposed changes
  • Publish when ready to make changes effective

Creating a Draft

  1. Navigate to Risk Profiles in the Portal
  2. Open the Drafts tab and click Add New Draft
Create Draft
  1. Add your rules and click Create Draft
Create Draft
  1. Optionally add comments describing your changes

Once created, you can manage your draft:

Draft Details
ActionDescription
Edit DraftModify the current draft
BacktestRun a backtest using the draft configuration
Publish LiveApply changes to the live Risk Profile

Running a Backtest

  1. Navigate to Risk Profiles > Drafts
  2. Select your draft and click Backtest
  3. Configure the backtest:
    • Choose scope: transactions from same risk profile or all profiles in the FI
    • Select a start date (max 3 months back)
    • Provide a name for the backtest
  4. Click Run

Backtest Status

Once submitted, the backtest runs in the background. A progress bar shows estimated time remaining.

StatusDescription
PENDINGSubmitted to queue, awaiting execution
IN_PROGRESSCurrently executing
COMPLETEDFinished successfully, results available
ERRORUnexpected error occurred-retry or contact support
📘

Backtests may take from a few minutes to an hour depending on transaction volume.


Understanding Results

Once complete, results are available on the Backtesting page.


Filter results by:

  • Risk Profile – Draft version used
  • Backtest Name – Name assigned during creation
  • Execution Date – When the backtest ran
  • Status – Current job status

Overall Results

The Overall Results section displays aggregated outcomes for the entire Risk Profile.

Historical vs Projected
TermDescription
HistoricalData as it existed before running the backtest
ProjectedResults based on draft rules applied to historical data-what would have occurred if those rules had been in effect
Backtest Pie Chart

Click the Bar icon to view a stacked chart comparing rates side by side.

Backtest Bar Chart
Fraud Rates

If your organisation reports fraud to Apata, these metrics are included:

Fraud TypeDescription
Confirmed FraudFrictionless Transactions reported as fraudulent
Apata Prevented FraudREJECTED transactions reported as fraudulent
Apata Challenged FraudChallenged transactions reported as fraudulent

Breakdown by Metrics

Detailed breakdown of changes in challenge, frictionless, reject, and fraud rates.

All Metrics
Transaction Information

Shows the number of transactions processed and the time period covered.

Challenge Rate

Change in Challenge rate between historical and projected data. Percentage difference shown in top right corner.

Click Expand to view daily trends:

Frictionless Rate

Change in Frictionless Transaction rate between historical and projected data.

Click Expand to view daily trends:

Reject Rate

Change in REJECTED rate between historical and projected data.

Click Expand to view daily trends:

Confirmed Fraud Rate

Change in confirmed fraud rate. Shows percentage difference and monetary amount if fraud is reported.


Breakdown by Risk Rules

Apata provides per-rule performance metrics for modified rules.

Risk Rule Expanded
MetricDescription
Evaluated RateTransactions evaluated by the rule
Continue RateTransactions that resulted in "Next" action
Frictionless RateTransactions processed frictionlessly
Challenge RateTransactions sent to Challenge
Reject RateTransactions REJECTED
📘

Deltas are only shown for modified rules. New rules have no historical version to compare against.


Exporting Results

Click Export Transactions to download a CSV with transaction details and these additional fields:

FieldDescription
action_historicalOriginal action: challenged, accepted, or rejected
action_projectedProjected action under new rules
reason_historicalRejection reason (if historically rejected)
reason_projectedProjected rejection reason
exemption_historicalExemption applied (if historically accepted)
exemption_projectedProjected exemption
termRuleId_historicalRule ID that produced original outcome
termRuleId_projectedRule ID that would produce projected outcome
fraudType_historicalHistorical fraud classification
fraudType_projectedProjected fraud classification

FAQ

What can I test with Backtesting?

You can test how updates affect:

  • Challenge Rate
  • Frictionless Rate
  • Reject Rate
  • Confirmed Fraud Rate
  • Apata Challenged Fraud Rate
  • Apata Prevented Fraud Rate
Can backtest results guarantee future performance?

No. Past performance is not indicative of future outcomes.

Why doesn't the backtest show success, timeout, or cancelled rates?

Backtesting only reflects rule-based outcomes (challenge, accept, reject). It cannot predict cardholder behaviour-whether they would complete, cancel, or timeout.

Why doesn't the backtest show deltas for all my rules?

Deltas require both a previous and updated version of a rule. New rules have no historical version to compare against. Overall risk profile deltas are always provided.

Can I delete or publish a draft?

Yes. Draft risk profiles can be deleted or published once you're satisfied with the backtest results.


Related Topics

  • Risk Profile – Configure rules for transaction outcomes
  • Risk Rule – Individual conditions within a Risk Profile
  • Draft – Save changes without applying to live traffic