IP Consulting
    /

    Model understanding · Method and recorded evidence

    Understand, document and reconcile your model.

    Understand how calculations connect and how their behaviour changes across configurations. The work brings documented rules, dependencies, source references and comparison tests together so your team can explain results, maintain the model and prepare a migration. This page illustrates the whole-model process; the optional dossiers show recorded evidence from individual investigations.

    Whole-model method illustrated · Two distinct recorded evidence dossiers

    Explore the whole method

    Understand the whole model. Keep the knowledge.

    Bring code, spreadsheets, documents and team knowledge together. Document how calculations work, how they connect and which settings change their behaviour, with source references and tests your team can maintain.

    Illustration of the method

    Illustrative architecture. Recorded evidence is presented separately in the Allocation and Fund evolution dossiers below.

    Fragmented knowledge

    Code & spreadsheets
    Documents & assumptions
    Team knowledge

    Versions, run settings and reference outputs establish the starting point.

    Directed investigation + actuarial review

    A connected model reference

    Run configurations

    Purpose · scenario · data · activation options · version

    Allocation
    Transactions · timing · units
    Downstream calculations
    Fund evolution
    Projection values · aggregation
    Model outputs
    • Common rules + variants
    • Source-linked evidence
    • Open questions + decisions

    Each connection records its producer, consumer, units, dimensions, timing and activation conditions.

    A reference your team can use

    • Explain results
    • Maintain knowledge
    • Prepare migration
    • Assess changes

    The full process stays in view.

    Open a stage for the deliverable. The reference is built and reviewed throughout the work.

    1. 01Establish the baselineConnect code, documents, parameters, versions and reference runs.

      Agree what is being investigated.

      What your team retains

      A defined model baseline and scope, with contradictions and missing sources made explicit.

    2. 02Organise investigationsAssign bounded questions about calculations and their connections.

      Object × configuration × precise question.

      What your team retains

      Sourced answers, explicit assumptions and open questions, linked to the investigations they depend on.

    3. 03Build the shared referenceLink common rules, variants, interfaces, evidence and review decisions.

      Keep the knowledge connected.

      What your team retains

      A reviewed reference that the team and subsequent agents can use. It is assembled throughout the investigation.

    4. 04Reconstruct and reconcileGuide the implementation; compare calculations, interfaces and complete outputs.

      Reproduce behaviour before approving change.

      What your team retains

      A traceable basis for accepting or challenging the reconstruction across the agreed configurations. An unexplained difference returns to investigation.

    5. 05Maintain and improveTrace affected dependencies, update the reference and rerun relevant checks.

      Make the next change with the model in view.

      What your team retains

      A maintained account of behaviour and reviewed changes. Optimisation remains a possible next step, requiring its own measurements and comparisons.

    Unexplained difference? Return to the rule, interface or configuration under investigation.

    A large model becomes precise questions.

    Organise investigations by object, configuration and question. An object can be a calculation, a connection or an activation condition. Dependent investigations stay linked; a grid of tasks is not a measure of validated coverage.

    Illustrative investigation plan · not executed

    Select a question to inspect its scope.

    Calculation

    Calculation

    Allocation rule

    Downstream interface

    Downstream interface

    Transaction hand-off

    Activation condition

    Activation condition

    Mechanism selection

    What defines these two configuration profiles?

    Baseline

    Purpose
    Establish reference behaviour
    Scenario
    Zero cash flow
    Data
    Fictitious portfolio A
    Activation options
    Allocation enabled
    Version
    Illustrative source v1 / candidate v1

    Distinguishing case

    Purpose
    Challenge an apparently equivalent result
    Scenario
    Cash flow requires a transaction
    Data
    Same fictitious portfolio A
    Activation options
    Allocation enabled
    Version
    Same illustrative source / candidate versions

    Inside the selected investigation

    Object
    Allocation rule
    Connection
    Allocation → transactions
    Configuration
    Baseline · Zero cash flow

    Precise question

    What should the allocation rule do when no cash flow needs financing?

    Required sources
    Calculation definition, initial holdings, target allocation and the selected run settings.
    Dependencies
    The input definitions and the rule that determines the financing need.
    Expected deliverable
    A sourced rule, defined inputs and outputs, and a comparison specification for this configuration.

    Review status: Illustrative task — not executed or reviewed. Sources, comparisons and actuarial acceptance would be required.

    What directs the agents’ work?

    IPC’s harness is the framework for directing and checking agent work: bounded questions, relevant sources, actuarial procedures and retained comparisons for review.

    01

    Set the mission

    A bounded question, the relevant sources and an agreed scope.

    02

    Apply actuarial procedures

    Instructions for interpreting rules, interfaces and configuration behaviour.

    03

    Retain linked findings

    Rules, source references, decisions and open questions kept outside the conversation.

    04

    Compare and review

    Executable comparisons, explicit differences and unresolved questions routed for review.

    Actuarial review decides what has been established, what remains uncertain and which proposed changes can be accepted.

    Reconcile behaviour at every relevant level.

    The shared reference guides a reconstruction. Acceptance still requires checks against the source within the agreed scope and configurations.

    Component

    Compare the calculation’s outputs and error behaviour with its source.

    Interface & intermediate state

    Check the values actually passed, their units, dimensions and timing, and the state read by each consumer.

    Configuration

    Exercise common rules, conditional variants and activation choices with distinguishing cases.

    Complete outputs

    Compare the reconstructed model’s agreed outputs across reference runs and investigate unexplained differences.

    Why a matching zero is not enough

    Conceptual illustration · separate from executed evidence

    Why a matching zero is not enough
    Test situationMechanism executesMechanism disabled
    Zero cash flowNo transactionNo transaction
    Cash flow requires a transactionTransaction generatedNo transaction

    The first case has the same total for different reasons. The second reveals the difference. This is why activation conditions and distinguishing configurations need their own checks.

    Reproducing the source and approving a change are separate decisions. A proposed improvement needs its own comparison and review; it must not silently replace the source-faithful behaviour.

    Inspect an investigation

    What does one investigated part of the model contain?

    A reusable dossier keeps the rule, its sources, reproduced calculations, comparison results and open questions together. Inspect two separate evidence sets below; neither establishes a completed whole-model migration.

    Inside one model investigationCESS-01 · Allocation · Fictitious portfolio · Recorded isolated-function comparisonsExplore the rule, executable reproduction, spreadsheet checks and interface context. Follow the discrepancy as one question within the dossier.

    Recorded component evidence · Fictitious portfolio

    One investigated part of an allocation strategy: financing an outflow through asset sales, then converging towards the target allocation. Its dossier connects a documented rule, executable reproduction, spreadsheet checks and the interface that consumes its outputs.

    CESS-01 · Constrained convergence

    Object: allocation financing · Interface: orders to the investment/disinvestment routine · Configuration: normal disposal branch

    Return to the whole-model overview

    1. The documented rule

    Inputs

    Opening values, non-saleable floors and target weights by asset group; net flow, calculation timing and effective convergence horizon.

    Outputs

    Target amounts, funding passes, convergence movements, net orders and the function’s stored closing values.

    1. R01–R02Calculate targets after the net flow, then use cash first.
    2. R03–R04Sell overweight holdings within their saleable limits; spread any remaining need across the remaining capacity.
    3. R05–R06At mid-period, move towards the target within the horizon and floors. Retain the source’s distinct order and stored-value updates.

    2. An executable reproduction, checked against the isolated source

    The Python reproduction is compared with an isolated, adapted C++ transcription. These are recorded results from that comparison; the original host engine was not executed.

    Choose a recorded allocation case

    These controls select stored results. They do not execute the model.

    Recorded case: constrained

    A funding need of 100, with a minimum bond holding of 500. Convergence purchases are limited by the amount available from sales.

    Opening value
    1,000.00
    Net flow
    -100.00
    Calculation timing
    Mid-period
    Convergence horizon
    1 period(s)

    Amounts in model monetary units; displayed to two decimal places.

    50 comparison points in this case · 0 recorded failures

    Maximum recorded absolute error: 0

    Inspect recorded output pairs

    Two outputs per asset group are shown below. The recorded case comparison covers 50 intermediate values and aggregates.

    Cash
    OutputsIsolated C++Python reproduction
    Net order-38.16-38.16
    Stored closing value45.0045.00

    Source: S01 · constrained

    Bonds
    OutputsIsolated C++Python reproduction
    Net order-100.00-100.00
    Stored closing value500.00500.00

    Source: S01 · constrained

    Equities
    OutputsIsolated C++Python reproduction
    Net order17.1117.11
    Stored closing value315.00315.00

    Source: S01 · constrained

    Property
    OutputsIsolated C++Python reproduction
    Net order21.0521.05
    Stored closing value180.00180.00

    Source: S01 · constrained

    3. A parallel spreadsheet check

    A formula-based workbook was checked over the same eight selections. The record also checks changed inputs and stale references. These checks are separate from the C++/Python comparisons.

    400 recorded workbook comparisons · Recorded result: PASS

    Native Microsoft Excel was not tested. The recorded checks used the workbook-generation environment.

    4. What the comparison establishes

    10,400 recorded C++/Python comparisons

    8 named cases and 200 generated cases, with 50 comparison points per case. This supports reproduction within the tested component boundary, not validation of a migrated whole model.

    Comparison tolerances

    Absolute: 1e-8 or relative: 1e-10. The input epsilon is a separate adapter setting for a denominator guard; it is not a comparison tolerance or a verified host-engine constant.

    Recorded adapter input epsilon: 1e-10

    The six supplementary scenario dossiers are illustrative and unexecuted. They are excluded from these recorded comparison counts.

    5. The interface and the remaining question

    The source excerpt for the downstream strategy routine consumes ALLOC_RE orders. It does not read VM_FIN in that excerpt. Each field therefore needs its own check and an identified consumer. S01 · R07–R08

    Other consumers, security-level processing and complete-model outputs were not executed here. No effect on BEL, PVFP or other downstream financial results is established.

    Follow a discrepancy inside this dossier

    In the constrained case, transactions imply a closing value of 900, while the function stores 1,040: a discrepancy of 140 model monetary units. The source-faithful reproduction preserves it. Adjusted purchases enter the orders, while raw target gaps enter the stored value.

    Choose the recorded discrepancy view

    Constrained convergence · Faithful reproduction

    This view retains the source’s stored-value update, including any internal discrepancy. Matching the source and approving its behaviour are separate decisions.

    Closing value from orders
    900.00
    Stored closing value
    1,040.00
    Stored value minus value from orders
    140.00

    Amounts in model monetary units; displayed to two decimal places.

    Review decision still required: confirm the meaning of the stored field, its consumers and downstream processing before approving a change. This discrepancy is not an insurer loss or a demonstrated saving.

    Anonymised source references

    S01 is the supplied anonymised formula export. These references identify the documented source locations; the original source, code and workbook are not published in this dossier.

    • S01 · R01 · p. 121

      Target-value basis

    • S01 · R02 · p. 121

      Cash priority

    • S01 · R03 · pp. 121–123

      First pass and saleable limits

    • S01 · R04 · pp. 123–124

      Remaining funding need

    • S01 · R05 · p. 124

      Mid-period convergence

    • S01 · R06 · p. 125

      Distinct order and stored-value updates

    • S01 · R07 · pp. 113–114, 120, 138

      Call conditions and dependencies

    • S01 · R08 · p. 166

      Consumer of the orders

    Fund evolution: similar formulas, different behaviourSeparate public evidence · Synthetic life model · Seven variantsInspect source formulas, the executable reproduction and recorded V2/V5 comparisons, with the original public evidence download.

    Fund evolution → projection outputs · Synthetic workbook · Base scenario. This evidence set is separate from allocation and its illustrated model context.

    Inside Fund evolution · Public component evidence

    Seven similar formulas. Three different behaviours.

    Seven fund variants sit side by side in this synthetic life model. Their formulas look related, but they apply rates differently. Extracting three explicit rules preserves those differences in a form an agent can use. Each rule below is linked to source cells and recorded comparisons.

    Synthetic model · Recorded results

    Family AFamily A

    Rate at initialisation

    A full annual rate is applied at inception; later steps subtract outgo without a growth term.

    Family BFamily B

    Monthly factor

    A monthly factor derived from the annual rate applies at inception and subsequent steps; later lookups use the prior period’s calendar year.

    Family CFamily C

    Cumulative factor

    Uses a cumulative factor; an additional age-based factor enters only at inception.

    Selected behaviour · Family A

    Does this rate apply every month?

    For these three variants, the rate enters at initialisation. The following rows subtract outgo without a growth term.

    Source range: Projection!M2:O26

    See the source formulas

    Representative formulas for V2 · Family A

    Projection!M2 · Initialisation

    =INIT_FUND*(1+VLOOKUP($D2,YEAR_TABLE,2,FALSE())/100)

    Projection!M3 · Following step

    =(M2-$T3-$U3-$V3)

    Compare M3 with P3: the latter includes a monthly growth factor. One generic rule would lose this distinction.

    Open the source workbook
    Executable reproduction · Family A rule
    def _step_family_a(prior_fund, outgo):
        # Projection!M{row}/N{row}/O{row} (row>=3): =(prior-$T-$U-$V) -- no growth term.
        err = first_error(prior_fund, outgo)
        return err if err is not None else prior_fund - outgo
    Public code at the pinned source revision
    Compare the recorded results

    V2 and V5 under the same base scenario. Values are shown in model monetary units, rounded to two decimal places.

    Scroll the table horizontally to compare all values.

    Recorded source and replica values for fund variants V2 and V5
    Projection periodV2 · SourceV2 · ReplicaV5 · SourceV5 · ReplicaRecorded verdict
    050,090.0050,090.0050,007.4950,007.49Within declared tolerance
    149,741.5549,741.5549,666.4949,666.49Within declared tolerance
    1246,178.6846,178.6846,182.2846,182.28Within declared tolerance
    2442,730.7742,730.7742,800.7842,800.78Within declared tolerance

    Source: Full comparison records · fa9fad2

    Monetary values use the recorded relative tolerance of 1e−9. Matching displayed numbers does not mean mathematical equality. Full precision and recorded deltas are available in the JSON download.

    These columns share the base scenario’s outgo, driven by its selected fund basis. They are not seven independent scenario runs.

    This is one documented and replicated building block: its rules, source references, implementation and recorded checks stay together. Reconstructing a complete model also requires the other components, their interfaces and end-to-end comparisons. Whether to preserve or change a behaviour remains an actuarial decision.

    This example uses a public synthetic workbook. Results shown here are recorded comparisons within a defined test scope; this page does not run the model.

    Evidence and scope
    recorded comparisons
    22,570
    scenarios, including base
    37
    boundary nodes
    38
    matching source error literals
    6,058

    Reference engine: LibreOffice 24.2.7.2, as recorded in the source manifest. The source engine and replicas were not rerun for this website.

    Two separately authored replicas use the same reference fixtures. This is additional implementation evidence within a shared scope, not independent validation of the source model.

    The workbook, reference-engine version, tested boundary, tolerance rules and scenario set define the claim. Matching a source error establishes replication at that point, not the correctness of the actuarial assumptions.

    Pinned source revision: fa9fad20178ce8b4f9a19db7b2879d8159e1fb2b

    Return to the connected model reference

    The reference stays useful after the investigation.

    Explain results
    Trace a difference to the relevant rule, interface or configuration.
    Maintain knowledge
    Keep documentation, review decisions and onboarding material connected to the model.
    Prepare migration
    Guide reconstruction with explicit behaviour and agreed comparison criteria.
    Assess changes
    Identify affected dependencies, rerun relevant checks and review proposed differences.
    Working arrangements

    Local or hybrid execution is agreed for each assignment and assessed in the client environment. Any external use of code or derived proprietary logic requires agreed authorisation. These examples show the method and recorded evidence; they do not run local agents or establish a confidentiality boundary.

    Start with your model and the change you need.

    Agree a calculation chain, discrepancy investigation or migration assessment, with the source material, outputs and acceptance criteria defined at the start. Your team receives documented findings and comparison tests; a reconciled target implementation is included when migration forms part of the agreed assignment.

    Explore model understanding and migration