Skip to content
CAQAPriceHistory

In design: illustrative example, synthetic data

Demo and enquiry

Two claims for one kettle, followed to a decision

Illustrative worked example with synthetic data. The software described is in design.

Claim A: online, Was $79 now $59Claim B: online, Was $99 now $59

  1. 1 Import history

    The coordinator loads a synthetic sales export as batch IMP-0007. Each accepted line keeps its file and row. A row with no channel cannot be matched to any channel, so it is held out and listed for correction.

    File
    sample-sales.csv
    Rows read
    62
    Lines accepted
    60
    Held out
    2 rows: channel blank

    Advertised price periods are added separately, with their own dates.

  2. 2 Enter claim

    For each draft the coordinator records the wording, product, channel, claimed earlier price and the selling period the team has chosen: here 1 Sep to 25 Oct 2026.

    CLM-A, onlineWas $79Now $59

    CLM-B, onlineWas $99Now $59

  3. 3 Inspect basis

    The approver sees the advertised history as a line and every recorded online sale as a square at its price and date.

    $99$89$84$79$74Advertised $99, no sale recorded on this lineAdvertised $791 Sep15 Sep29 Sep13 Oct25 Oct
    Illustrative, synthetic data. Thick dashed line: advertised price. Squares: recorded sales; dark squares match claim A. On a narrow screen, swipe sideways, or read the week tables.
    Online, week by week
    Online advertised price and units sold by week
    WeekAdvertisedUnits sold at price paid
    1 Sep to 7 Sep$991 at $84
    8 Sep to 14 Sep$992 at $84
    15 Sep to 21 Sep$99 then $791 at $84, 1 at $79
    22 Sep to 28 Sep$794 at $79, 1 at $74
    29 Sep to 5 Oct$795 at $79, 1 at $74
    6 Oct to 12 Oct$794 at $79, 2 at $74
    13 Oct to 19 Oct$795 at $79, 1 at $74
    20 Oct to 25 Oct$794 at $79, 1 at $74
    Store, week by week
    Store advertised price and units sold by week
    WeekAdvertisedUnits sold at price paid
    1 Sep to 7 Sep$991 at $99
    8 Sep to 14 Sep$99 then $792 at $99, 1 at $79
    15 Sep to 21 Sep$793 at $79, 1 at $69
    22 Sep to 28 Sep$793 at $79, 1 at $69
    29 Sep to 5 Oct$793 at $79, 1 at $69
    6 Oct to 12 Oct$793 at $79
    13 Oct to 19 Oct$793 at $79, 1 at $69
    20 Oct to 25 Oct$793 at $79, 1 at $69

    The 3 store sales at $99 do not stand behind claim B. They are a different channel.

  4. 4 Approve wording

    Claim A: matching sales recorded

    23 online lines at $79. The approver reads them with the dates and the advertised history, and decides whether to approve the wording. In this example the approver, sample name R. Okafor, approves version 1 and records why.

    Recorded: approved wording, version 1, with the 23 lines as the basis seen.

    Claim B: flagged for review

    No recorded online sale at $99 in the period, although $99 was advertised for 20 days. The claim does not pass to wording approval on its evidence. It is flagged and returned with the reason.

    Next: the coordinator checks for a missing import, changes the draft, or withdraws it. A new version is checked again.

    A flag is not a finding that anyone has done something wrong, and a match is not a finding that a claim is acceptable. Both are prompts for the people who decide.