Project: CPS

Checking more than 10,000 Red Cross course postings

We built CPS for the American Red Cross team that reviews how training partners post its courses. A service scans partner pages on a schedule for wrong prices, wrong course links and competitor mentions. Reviewers follow up each finding.

What changes for the team

Developed from February to July 2024

  • 6 monthsof development
  • 10,000+course postings in the checking scope
  • 4violation types checked

Why the checks had to be automated

Training partners publish Red Cross courses on their own websites. The price and the registration link on each page have to match the course record, and more than 10,000 postings have to be checked repeatedly.

We built a service that runs the checks and a workspace where reviewers work through the results.

Our work

Database design, analytical SQL procedures, the automated checks, recurring scans with checkpoint recovery, the Blazor interface, charts, Excel reports and support.

Project details
Client
American Red Cross, the team that reviews how training partners post Red Cross courses.
Users
Reviewers who follow up violations with partners, and managers who watch the trends across checks.
Scope
More than 10,000 course postings checked for price mismatches, competitor mentions, wrong course links and pages that do not load.

What changes for the team

Reviewers follow up findings with partners. Managers watch how the figures change from one check to the next.

Postings are checked on a schedule

The service opens each partner page on a schedule and records what it finds. New courses join the schedule.

Summary of the latest scan

Each finding arrives with its course and contact

The review list shows the affected class IDs next to the partner’s contact persons. From there the reviewer opens the posting with its price, registration URL and the recorded violation.

Review list

A stopped scan does not start over

The scan saves its progress. After a server interruption it continues from the last checkpoint.

Summary of the latest scan

Managers compare findings across checks

Managers compare violation rates by check, period and partner, and export the figures to Excel.

Results by check

Figures from an unfinished scan

A scan of this size can be interrupted before it ends. Until it finishes, the totals are still changing and must not be read as final.

While a scan is running, the summary warns that the figures may change and shows how many postings remain. In the chart view a scan in progress is labelled as such. The reviewer checks the scan date and the remaining count before acting on the totals.

Inspect the scan progress view

Tell us how many pages you need to check and how often. We will tell you how long a scan would run and how reviewers would see its progress.

Summary of the latest scan

After a scan the reviewer wants to know how many partners and postings have problems and whether the scan has finished.

The summary gives totals, correct records and violations, separately for partner accounts and for course postings, with the scan date and the next scheduled check.

More screens: Summary of the latest scan
The same scan in charts
The same summary as charts. A scan still in progress is labelled as such.

Review list

The team wants to work through price mismatches first, or find one partner’s postings.

Each row shows a partner with its contacts, class IDs, the number of postings and the violations detected. The team filters by violation type or searches by partner or class ID, and opens the check history from the same list.

More screens: Review list
Filters by violation type
Filters for competitor mentions, wrong prices, wrong course links and pages that did not load. Listings without violations can be shown too.

Course details

A reviewer needs the facts of one posting before writing to the partner.

The posting opens with its dates, price, partner and registration URL, the date of the last check and what that check found.

More screens: Course details
Affected courses for one partner
All affected courses of one partner in one table: class ID, course name and the problem found.

Results by check

After following up with partners, the team needs to see whether the next scan finds fewer listing violations.

Each checking cycle shows all listings and listings with violations, with totals and the change against the previous check, and a trend over time.

More screens: Results by check
Course-checking trends
Total and affected listings over time.

Trends by period and by partner

Management asks for the violation rate over a quarter and for the share of partners with violations.

The period view gives the violation rate with the number of checks and the first and last check dates. The partner view counts all partners, partners with violations and their share over time.

More screens: Trends by period and by partner
Partner-level analysis
The same trends counted by partner: all partners, partners with violations and their share.

What we built

Recurring page checks

A hosted service (CPS BOT) opens each partner page with an HTTP client, Selenium and HTML Agility Pack, compares the price and the registration link with the course record and looks for competitor mentions. New courses join the schedule; an interrupted scan resumes from its last checkpoint.

Scan summary

Totals, correct records and violations for partner accounts and for course postings, with the date the data was processed and the next scheduled revision. While a scan is running the summary warns that figures may change and shows how many postings remain. One switch turns the numbers into charts.

Class posts list

Partner account, account ID, contact persons, number of postings and postings with violations, the class IDs affected and a chip for each violation type: cannot load page, not linked to course page, price mismatch. Search by account name or class ID, a filter by violation type, check history, Excel export and a view of postings without violations.

Course and partner details

A posting opens with its class ID, account, class name, start and end date and time, creator, price, registration URL and the date the automation last reviewed it. The violation table lists the type and description with actions. A partner view lists all affected courses of one account.

Trends by check, period and partner

Results per checking cycle with totals and changes, course-checking trends over time, the violation rate within a chosen period with its number of checks and first and last dates, and the same analysis by partner: all partners, partners with violations and their share.

Technology behind CPS

A .NET 8 checking service and a server-rendered Blazor workspace on Azure SQL, with PingFederate sign-in.

Explore the technology and implementation

User interfaces

  • .NET 8
  • ASP.NET Core
  • Blazor SSR
  • MudBlazor

Search, filters, violation review and charts are server-rendered Blazor screens with MudBlazor components.

Page checks and records

  • HTML Agility Pack
  • Selenium
  • T-SQL
  • Dapper
  • Azure SQL

Selenium and HTML Agility Pack read the partner pages. Findings are stored in Azure SQL; T-SQL procedures build the statistics.

Identity and configuration

  • PingFederate
  • Azure Key Vault

The application uses PingFederate for identity and Key Vault for secrets.

Where the same approach applies

Recurring checks with a review queue fit any organisation that depends on how others publish its offer:

Training and certification providers whose courses are listed by licensed partners or affiliates.

Training and compliance teams that must prove price, link and wording rules are followed across partner sites.

Franchisors, brand owners and distributors checking reseller pages for prices, links and competitor mentions.

Non-profits and associations with a network of local providers listing their programmes.

Where we start

A first release usually covers one page type and two or three check rules, with the review list and the Excel export. Scheduling, checkpoints and trend charts follow.

Automatic checks for your listings

Tell us what your team checks by hand today and on which pages. We automate the checks and give reviewers a list of problems to follow up.

Discuss your checking process