Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Update current CRA family benefits and model benefit-year/family boundaries

オープン
#557 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
backend

調査の方向性

No files or test paths are named. Start by locating the existing CRA benefit parameter definitions and period/entity tests, then consult the linked CRA guidance. Done means updated metadata and parameters, benefit-year evaluation, zero-income handling, and tests for age bands, reductions, and multiple tax families.

索引モデルが issue の本文から書いたものです。

説明

enhancement

Problem

PolicyEngine Canada's parameters for several CRA-administered family benefits
stop in older benefit years. Current July 2026 to June 2027 calculations cannot
be compared reliably with the engine:

  • Canada Child Benefit
  • Child Disability Benefit
  • Ontario Sales Tax Credit
  • Nova Scotia Affordable Living Tax Credit

There are also two output-contract differences that parameter updates alone do
not resolve:

  • CRA publishes these benefits for a July-to-June benefit year using prior-tax-
    year adjusted family net income, while PolicyEngine variables use a generic
    calendar-year period.
  • CRA calculations apply to a tax family, while PolicyEngine Canada's benefit
    variables use its co-resident Household entity.

Scope

  • Update amounts, thresholds, and reduction rates through the July 2026 to June
    2027 benefit year.
  • Define how the July-to-June benefit year is requested and represented.
  • Audit whether the existing household entity can represent the CRA tax-family
    boundary; introduce or derive the appropriate unit if it cannot.
  • Floor adjusted family net income at zero where the CRA formula requires it.

Acceptance criteria

  • Parameter metadata cites current CRA guidance and records the applicable
    benefit year.
  • Tests cover children in both CCB age bands, CDB phaseout, and the Ontario and
    Nova Scotia credit reductions.
  • Tests include a negative adjusted-family-net-income case.
  • Tests include a co-resident household containing more than one tax family and
    show that benefits are allocated to the correct family.
  • Outputs can be evaluated for the July 2026 to June 2027 benefit year without
    treating it as an undifferentiated calendar year.

Official sources:

主要言語
Python
スター
17
フォーク
35
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PolicyEngine/policyengine-canada のほかの issue

PolicyEngine/policyengine-canada の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。