Skip to content

Remove obsolete test_tax_revenue.py and its expected-data files#516

Merged
donboyd5 merged 1 commit intomasterfrom
delete-test-tax-revenue
Apr 29, 2026
Merged

Remove obsolete test_tax_revenue.py and its expected-data files#516
donboyd5 merged 1 commit intomasterfrom
delete-test-tax-revenue

Conversation

@donboyd5
Copy link
Copy Markdown
Collaborator

The skipped tests/test_tax_revenue.py compared TMD against CBO fiscal-year cash-receipts (Monthly Treasury Statement). That series is structurally not comparable to TaxCalc iitax — it includes Form 1041, Form 1042 / NRA withholding, refund-netting, late assessments, and FY-vs-CY timing — so the test was indefinitely skipped. PR #515 (merged) replaced it with
tests/test_revenue_levels_cbo.py, which compares against the calendar-year, 1040-universe liability series in CBO's Revenue file sheet 3. The new test supersedes the old one entirely.

Removes:

  • tests/test_tax_revenue.py
  • tests/expected_itax_rev_2022_data.yaml (used only by the deleted test)
  • tests/expected_ptax_rev_2022_data.yaml (used only by the deleted test)

The skipped tests/test_tax_revenue.py compared TMD against CBO
fiscal-year cash-receipts (Monthly Treasury Statement). That series
is structurally not comparable to TaxCalc iitax — it includes
Form 1041, Form 1042 / NRA withholding, refund-netting, late
assessments, and FY-vs-CY timing — so the test was indefinitely
skipped. PR #515 (merged) replaced it with
tests/test_revenue_levels_cbo.py, which compares against the
calendar-year, 1040-universe liability series in CBO's Revenue file
sheet 3. The new test supersedes the old one entirely.

Removes:
- tests/test_tax_revenue.py
- tests/expected_itax_rev_2022_data.yaml (used only by the deleted test)
- tests/expected_ptax_rev_2022_data.yaml (used only by the deleted test)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@donboyd5 donboyd5 merged commit 5dbe40f into master Apr 29, 2026
1 check passed
@donboyd5 donboyd5 deleted the delete-test-tax-revenue branch April 29, 2026 21:55
donboyd5 added a commit to donboyd5/tax-microdata-benchmarking that referenced this pull request Apr 29, 2026
…ch ready

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant