TOE Engineering Presentation Series/Decision Engine Deep Dive

The Engine That Drives Every Loan Decision

Reads loan data, evaluates policy rules, and tells the UI and vendors what to do next.

ℹ️
Each requirement resolves to True, False, or Unknown — unknown triggers async vendor dispatch and re-evaluation when results arrive.

Four Subsystems, One Evaluation Pipeline

Each subsystem owns a distinct phase of the decision lifecycle.

ℹ️
The workflow engine orchestrates stage progression — it calls into the decision engine once per stage, feeding updated data each time.

From File to Verdict in Three Steps

The decision engine routes, loads, and evaluates.

What the Engine Does

Build input, load policy, evaluate, cache, and dispatch.

Every Evaluation Starts With a Snapshot

The engine freezes all borrower, loan, and property data into a single immutable input.

Satisfy Codes Are the Engine's Vocabulary

Named codes map borrower data to policy rules.

ℹ️
Codes follow a _present / _supported pattern — "present" checks if data exists, "supported" checks if the value is within policy bounds.

Two Phases Decide Every Requirement

First check if the requirement applies, then check if it's satisfied.

ℹ️
If satisfaction fails, the engine checks for strategies — vendor orders or document requests that could resolve the requirement.

Failed Requirements Trigger Strategies

Unsatisfied requirements get a resolution strategy.

Two Ways to Resolve a Failed Requirement

Strategies either request documents or order vendor work.

ℹ️
Both families create a condition record in the database — when the condition resolves, the engine automatically re-evaluates the requirement.

Conditions Flow Through an Async Pipeline

Queued, prepped, ordered, and re-evaluated on completion.

Where To Go Next

This deck covered the evaluation core. Related deep dives:

💡
Key Takeaways
Unknown ≠ Failed — Unknown means "not enough data yet," it keeps the form open without triggering a strategy.
Strategy dispatch is async — conditions queue through a background worker before vendor orders are placed.
Navigation

Keyboard Shortcuts

→ / Space
Next slide / reveal fragment
Previous slide / hide fragment
Home / End
First / last slide
F
Toggle fullscreen
?
Toggle this help
Esc
Close help
Comments