Skip to content
Scenarios

Three situations, step by step.

Principles are easy to agree with. These are three situations our clients and partners actually face, with what is usually done and what Cobra does instead.

Scenario 1 · Is the system right?

A member of staff thinks that some premium adjustments are wrong.

Someone suspects that the system calculates premium adjustments incorrectly for some types of policy. If that is true, customers are affected and the regulator must be told. You need to know quickly, and you need to be sure.

Scenario 1: the default approach and the Cobra approach
Scenario 1: A member of staff thinks that some premium adjustments are wrong.Two lanes. The default approach: Analysts read the program code and follow the calculation by hand. People disagree about what the code does, because nobody can run the exact case. Staff check a few policies by hand. After some weeks there is an opinion, and nothing that can be used again. With Cobra, five steps: Find, Reproduce, Pin the rule, Confirm, Correct and keep. Outcome: A yes or no in days, with the line of code and a test that you keep.The default approachRead the codeAnalysts follow thecalculation by handDebate itOpinions differ. Nobodycan run the caseCheck samplesA few policies,checked by handWeeks, and an opinionNo proof, and nothingto use againWith CobraFindThe programs anddata behind thecalculation1ReproduceRun the realprogram for thosepolicy types2Pin the ruleThe rule, and theline of code thatapplies it3ConfirmThe actual resultbeside theexpected result4Correct and keepCorrect the rule.The test staysas a guard5A yes or no in days, with the line of code and a test that you keep
Read this diagram as text

The default approach. Analysts read the program code and follow the calculation by hand. People disagree about what the code does, because nobody can run the exact case. Staff check a few policies by hand. After some weeks there is an opinion, and nothing that can be used again.

With Cobra.

  1. The Dictionary finds the programs and the data that the calculation uses, so nothing relevant is missed.
  2. The real program runs for those types of policy, on a copy of your data. Nothing is simulated.
  3. Cobra shows the rule as one row of a decision table, with the line of code that applies it.
  4. A test shows the result the program gives beside the result you expect. Either they agree or they do not.
  5. You correct the rule. The test stays in place, and it fails if the fault ever comes back.
Why it is better

The default approach spends weeks and ends in an opinion. Cobra ends in a clear answer: the rule is correct, or it is not, and here is the line. The work is not lost either. The table and the tests are the first part of a migration, so the effort moves the migration forward. Tests of this kind have found real faults in a client’s thirty-year-old programs.

How each rule is proved →
Scenario 2 · Off the mainframe, one part at a time

An insurer wants billing off the mainframe first.

The mainframe bill rises every year. Nobody will approve a programme that bets the whole policy system at once, so the plan is to move one part of the business, prove it, and decide what comes next.

Scenario 2: the default approach and the Cobra approach
Scenario 2: An insurer wants billing off the mainframe first.Two lanes. The default approach: Rewrite the billing jobs as new software on a new platform. Change the data into the form the new software needs. Then keep the two platforms the same until the last job moves, copying shared data and changing its form in both directions. With Cobra, five steps: Map, Measure the data, Run and prove, Move the data, Change over. Outcome: One change: where billing runs. The software and the shape of the data stay the same.The default approachRewrite the jobsNew software, on anew platformReshape the dataInto the form thenew software needsKeep both the sameCopy and reshapeshared data, both waysThree changes togetherNew software, new store,reshaped dataWith CobraMapConfirm whichprograms are partof billing1Measure the dataData that billingowns, and datathat it shares2Run and proveBilling unchangedon Cobra, rulesin tables with tests3Move the dataSame shape. Shareddata is copied,not reshaped4Change overThe originalstays as theway back5One change: where billing runs. The software and the shape of the data stay the same
Read this diagram as text

The default approach. Rewrite the billing jobs as new software on a new platform. Change the data into the form the new software needs. Then keep the two platforms the same until the last job moves, copying shared data and changing its form in both directions.

With Cobra.

  1. The estate map follows every call from every transaction program and confirms which programs belong to billing.
  2. The same analysis lists the data billing owns and the data it shares with the rest of the system. This is measured before the work is priced.
  3. The billing programs run unchanged on Cobra, on a real runtime in a container, with their rules in decision tables and a test on each row.
  4. The data keeps the same shape, because the software is the same. Data that only billing uses moves with it. Shared data is copied between the two systems by replication tooling, such as IBM’s Change Data Capture, and every moved record is checked against the original.
  5. Billing changes over. The mainframe version is still there, so the step can be reversed.
Why it is better

The change is smaller. The default approach makes three changes together: new software, a new data store, and data in a new form. Cobra makes one: where billing runs. Shared data is common in systems of this age, which were built around one central database; on one estate, 123 of 198 record types are written by two capabilities or more. You know that before you agree a price. Later, if you want, the sharing can be removed: the Cobra architecture can offer each business transaction as a service, so other parts of the business ask for the data and do not read it directly.

Start with a slice →
Scenario 3 · Change that will not wait

A change in regulation arrives in the middle of the programme.

The migration takes more than a year. During that time the regulator changes a rule, or the business needs a new product. This happens in almost every programme.

Scenario 3: the default approach and the Cobra approach
Scenario 3: A change in regulation arrives in the middle of the programme.Two lanes. The default approach: Make the change in the new software while the rewrite continues. Now the old and new systems give different results on purpose, and can no longer be compared. When a result differs, nobody can tell whether it is a fault in the rewrite or the effect of the new rule. With Cobra, five steps: Move, Prove, Change, Show the effect, Release. Outcome: Two separate steps: first the same, then different on purpose.The default approachChange in the rewriteThe new software mustalso do something newLose the comparisonOld and new nowdiffer on purposeTest by judgementIs a difference a fault,or the change?Two risks, mixedNobody can tell whichone caused a problemWith CobraMoveThe software,unchanged1ProveThe same resultsas before, ruleby rule2ChangeMake the new ruleon the provedsystem3Show the effectOnly the expectedrules give anew result4ReleaseWith the evidencefor the regulator5Two separate steps: first the same, then different on purpose
Read this diagram as text

The default approach. Make the change in the new software while the rewrite continues. Now the old and new systems give different results on purpose, and can no longer be compared. When a result differs, nobody can tell whether it is a fault in the rewrite or the effect of the new rule.

With Cobra.

  1. The software moves to modern infrastructure, unchanged.
  2. The tests show the same results as before, rule by rule. The move is now proved on its own.
  3. The new rule is made on the system that has been proved.
  4. Only the rules that were expected to change give a new result. Every other rule gives the same result as before, and the tests show it.
  5. The change is released, with evidence for the regulator of exactly what changed and what did not.
Why it is better

Moving and changing are two separate steps. First the system is the same. Then it is different on purpose, and you can show exactly where. If an urgent change cannot wait, it is made on the old system first and proved there. The rule is the same either way: do not move and change in one step.

How it works →
How far each one is proven

What is delivered, and what is planned.

The scenarios are illustrative. They describe kinds of work, not named clients. Figures are as at October 2026. Cobra works beside whatever conversion or transformation tooling you or your integrator choose.

Maturity, stated plainly

What is proven, and what is not yet.

A supplier that tells you where the edge is can be checked. One that does not, cannot.

Maturity of the Cobra platform
Built and workingYesEverything described on this site runs today.
Proven against real client production code and dataYesThree client estates run under test every week.
Running a client’s live operationNot yetThat is the next step, and we do not claim otherwise.

Who stands behind it →

Which one is yours?

Bring your own scenario.

Tell us the situation you are in. We will walk through what Cobra would do, step by step, on a sample of your own code.