Skip to content

ALLPAY2 is counted in two UK income columns; spousal maintenance column (mirror of uk-data) #1320

Closed

Description

@MaxGhenis

Mirror of PolicyEngine/policyengine-uk-data#627 for the Microcosm UK runtime: packages/microcosm-build/src/microcosm/build/uk_runtime/frs_spine.py (main 41209b38c).

  1. ALLPAY2 counted twice. miscellaneous_income sums ("allpay2", "royyr2", "royyr3", "royyr4", "chamtern", "chamttst") and private_transfer_income sums ("apamt", "apdamt", "pareamt", "allpay2", "allpay3", "allpay4"). The FRS 2024-25 dictionary labels ALLPAY2 "Amount of allowance: organisation", a single amount. Keep it in one list, matching whatever uk-data does.
  2. Spousal maintenance. If uk-data splits APAMT/APDAMT ("Amount received from absent partner", "... paid directly") into a spousal_maintenance_income column, write the same column here (and add it to OUTPUT_COLUMNS), so policyengine-uk can count it as Pension Credit income under SPC Regs 2002 reg 15(5)(d).

Context: PolicyEngine/policyengine-uk#1954.

🤖 Generated with Claude Code

Activity

  1. juaristi22 commented on Oct 22, 2026

    @juaristi22
    Collaborator

    Spousal maintenance now waits on PolicyEngine/policyengine-uk#2572, section 2 (an input that Universal Credit, Pension Credit and pension-age Housing Benefit count), and on PolicyEngine/policyengine-uk-data#627 for the dataset split. The ALLPAY2 double count landed in #1329.

    🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions