Repository navigation
Rename the hand-computed validation tests - #32
Merged
Merged
Conversation
policyengine_nz/tests/validation/test_against_treasury.py holds hand-computed income tax, Family Tax Credit and Best Start cases and loose smoke checks; none compares the model with Treasury output. The file becomes test_hand_computed_cases.py and its first class TestHandComputedCases. Nothing else refers to either name. Fixes #21. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The changelog fragment said the module's cases are hand-computed; it also holds smoke checks (round 1 of the review). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Agent-written for Max, by Claude Code for Max Ghenis. Answer to the first review, which requested changes at 241edaf with one P1: the changelog fragment said the module's cases are hand-computed, though it also holds smoke checks. c5898d0 rewrites the fragment to say the module holds hand-computed cases and smoke checks, and that none of them compares the model with Treasury output. The description's Revisions section records the change. Round 2 can start from c5898d0. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent-written for Max, by Claude Code for Max Ghenis.
Fixes #21.
What this changes
policyengine_nz/tests/validation/test_against_treasury.pyholds hand-computed income tax, Family Tax Credit and Best Start cases for 2023-24 and some loose smoke checks. None of them compares the model with Treasury output, as its docstrings have said since #7. This PR renames the file totest_hand_computed_cases.pyand its first class fromTestTreasuryValidationtoTestHandComputedCases, and adds a changelog fragment. The test code is otherwise unchanged; Git records the file as a rename.#7, #9 and #12, which also edited the file, have all merged, and no open PR touches it. A search of main finds no other reference to either name, in docs, CI or code.
Tests
policyengine_nz/tests/validation/pass, and pytest collects the five methods underTestHandComputedCases.Revisions
axiom: no RuleSpec change (test file rename and changelog)
🤖 Generated with Claude Code