Agentic Coding · Workshop · Actuarial, finance & OR

Calculation Engine Reconciliation with Coding Agents: A Workshop on Differential Tests and Tolerance Rules

Prove that a new or migrated calculation engine produces the same results as the old one, and explain every difference instead of hiding it behind generous tolerances.

  • Workshops & trainings since 2014
  • jocapps GmbH · Freiburg, Germany
  • The team behind Mathe-VollLogo
Format
Workshop
Duration
1 day (7.5 hours)
Delivery
Live online · On-site (in-house) · Hybrid
Group size
4–10 participants
Level
Advanced
Language
German or English

Tools: Claude Code · Python · pytest · Hypothesis · pandas

When a pricing tool, a valuation system or a reserving calculation is replaced, a simple question with a lot of work behind it comes at the end: does the new system calculate like the old one? Calculation engine reconciliation means feeding both systems the same inputs, comparing results and intermediate values and tracing every difference to a cause. Coding agents build the harnesses, input generators and reports for this far faster than anyone could by hand. In this workshop you develop a differential test for two implementations of one engine, agree a reasoned tolerance policy and have the agent trace differences back to the calculation rule that causes them.

Who the reconciliation workshop is for

Experienced developers in business units, actuarial, quant and test teams who replace, migrate or run pricing, valuation or reserving systems in parallel.

What you'll walk away with

  • Build a harness that calls the old and new engine with identical inputs and compares results field by field
  • Assemble input data from portfolio samples, edge cases and generated combinations
  • Define and justify a tolerance policy with absolute and relative limits for each result field
  • Trace differences through logged intermediate values back to the calculation rule that causes them
  • Produce a reconciliation report that groups differences by cause, size and decision

Typical scenarios

  1. When a pricing engine moves to a new programming language, the differential test shows that rounding for monthly premium payments happens at a different step, and the team decides deliberately which version applies.
  2. A valuation system is reconciled against its predecessor; the agent groups thousands of individual differences into a few root-cause classes that can be resolved one by one.
  3. An insurer checks purchased reserving software against its in-house model and documents every remaining difference with a business rationale for sign-off.

Does this fit your team?

Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.

Request dates

What the reconciliation workshop covers

  1. Planning the reconciliationScope, result fields, intermediate values, data sources and who decides which differences are accepted.
  2. The harnessThe agent builds adapters for both engines, a common input and output format and a comparison for each field.
  3. Inputs that find errorsPortfolio samples, systematic edge cases and generated combinations using property-based testing.
  4. Tolerances and root-cause analysisAbsolute and relative limits with reasons, logged intermediate values and grouping differences by cause.
  5. Report and sign-offA reconciliation report for the business and validation, plus regression tests for later operation.

Before the reconciliation workshop: prerequisites

  • Experience with calculation engines, pricing or valuation logic and automated testing
  • Confident use of Python; the legacy engine may be written in another language
  • Python on your laptop and a coding agent that information security has approved

Materials you keep

  • A template for a differential test harness with adapters and field comparison
  • A sample tolerance policy with fields for the rationale
  • An outline for reconciliation reports for business sign-off

How it works

  1. Request with preferred datesTick the date proposals that suit you or name a period of your own.
  2. Short callWe talk about your goals, prior knowledge and the tools your team already uses.
  3. Agenda for your teamYou receive a plan tailored to your group, with exercises that match your subject and material.
  4. Course and materialsThe course runs online, on-site or hybrid, and you keep the materials afterwards.

Why train with us

  • jocapps GmbH has offered workshops and trainings since 2014. The topics have moved with the technology; today the focus is on agentic coding and prompt engineering.
  • Hands-on rather than slides: you practise on realistic examples from maths and STEM, or on your own tasks, code or prompts if you wish.
  • Online, on-site or hybrid, held in German or English.
  • jocapps GmbH is certified to ISO 27001 (information security) and ISO 9001 (quality management).

Questions about the reconciliation workshop

What if the old engine is only available as a black box?

Then we compare inputs and outputs through the existing interface, such as a batch file or a service. Without intermediate values root-cause analysis takes more effort, but it remains quite feasible with deliberately varied inputs and step-by-step narrowing down.

How does this differ from the Excel migration workshop?

The Excel migration workshop covers moving from spreadsheet models and VBA macros into tested code. This one is about reconciling any calculation engines at scale, with generated inputs, a reasoned tolerance policy and systematic root-cause analysis.

May portfolio data be used for the reconciliation?

Portfolio samples are often important for a meaningful reconciliation. Whether and in what form they may be processed with an AI tool is a question for your data protection officer and information security. In the workshop we use synthetic portfolios with a realistic structure.

Is the workshop held online or on-site, and in which language?

Both are possible: live online, at your premises (in-house) or hybrid. The course is held in German or English; you choose when you send the request.

Can the content be tailored to our team?

Yes. The agenda, examples and emphasis are agreed in the call beforehand, based on your team's prior knowledge, subjects and tools. On request we work with your own exercises, data or code.