Skip to content

Derive cumulative totals from yearly atom totals (no DB storage) #198

Description

@Gorm2303

Given cumulative totals exist in the taxonomy (deposited, withdrawn, taxed, fees, returned)
When the frontend requests totals/phase totals for a Tier 1 run
Then the backend derives cumulative totals by cumulatively summing the stored yearly totals (per percentile series)

Acceptance criteria

deposited_to_date = Σ deposit_year

withdrawn_to_date = Σ withdraw_year

taxed_to_date = Σ tax_year

fees_to_date = Σ fee_year

returned_to_date = Σ return_year

Derived totals are documented as COMPUTED

No new cumulative totals are persisted in DB

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions