Case study • Financial Services

AI-Driven LOS Enhancement for Mortgage Lender using CopilotFinance

Our client, a leading mortgage lender, relied on Encompass LOS as the backbone for managing the loan origination lifecycle. However, the presence of multiple custom modal windows created fragmented workflows, duplicated sync logic, and inconsistent user experiences for loan officers.

Success Highlights

  • Effort Reduction: – Development story points dropped from 5 & 2 to 3 & 1.
  • Accelerated Deployment: – Updates to sync logic now require changes in just one place.
  • Full Unit Test Coverage: – Improved to 100%, ensuring robustness.

Key Details

  • Industry: Financial Services

Business Challenge

Our client, a leading mortgage lender, relied on Encompass LOS as the backbone for managing the loan origination lifecycle. However, the presence of multiple custom modal windows created fragmented workflows, duplicated sync logic, and inconsistent user experiences for loan officers.

  • The client uses Encompass LOS as the central platform for managing the entire mortgage origination lifecycle — from borrower intake to loan closing. The LOS includes multiple pop-up windows (modals) that loan officers interact with daily to update records, trigger actions, and ensure compliance. There were 20 different modals in Encompass LOS.
  • This led to the following challenges:
  • Duplicated Logic:: Every modal had its implementation of sync, requiring changes to be made in multiple places whenever business rules or data handling changed.​
  • Inconsistent Behavior:: Slight coding differences between modals meant loan officers sometimes experienced different results for the same “sync" action.
  • High Maintenance Effort:: Compliance updates, bug fixes, and feature enhancements all required repeated work across several codebases.
  • Increased Risk to Data Accuracy:: Any variation in sync logic could cause data mismatches inside Encompass LOS records.
  • Unify the Sync Logic:: Create a single reusable “Sync to Encompass" button component (frontend composable).
  • Apply Across All Modals:: Replace each modal’s custom button with the shared, centralized component.
  • Maintain a Shared Data State:: Ensure all modals using the shared button access the same state, so changes in one modal reflect across the LOS session.
  • Ensure Reliable Data Synchronization:: Guarantee that clicking the sync button in any modal consistently updates records in Encompass LOS.

Our Solution Approach

We implemented a comprehensive strategy to address the challenges.

1 · Discover

We embedded GitHub Copilot into the development process to refactor and standardize the sync functionality.

2 · Design

Key Steps Taken:

3 · Implement

Pattern Recognition:

AI identified repeated sync logic across all modal code.

4 · Optimize

Reusable Component Creation:

Copilot generated a centralized “Sync to Encompass" component with unified logic.

5 · Scale

Code Cleanup:

Removed redundant code from each modal, replacing it with the shared component.

6 · Deliver

Shared State Implementation:

Ensured all modals connected to the same data state, eliminating discrepancies.

7 · Step 7

Automated Testing:

AI-generated unit tests for all relevant functions, improving test coverage from 80% to 100%.

8 · Step 8

Design Integration:

Used Copilot for raw UI structure, followed by human refinement for Encompass LOS style and compliance.

Business Outcomes

Our engagement delivered measurable business impact.

Effort Reduction:

Development story points dropped from 5 & 2 to 3 & 1.

Accelerated Deployment:

Updates to sync logic now require changes in just one place.

Full Unit Test Coverage:

Improved to 100%, ensuring robustness.

Zero Production Bugs in rollout: 

Error-free rollouts for a seamless and reliable user experience.

Improved User Consistency:

Identical behavior of the sync button across all LOS modals.

Maximized Team Productivity:

With AI automated the repetitive, pattern-based refactoring work​

Let’s work together
Unleash your ideas, goals, and vision. Join us on the journey to remarkable results.