We need more thorough test coverage
@Anurag42-git is already working on this.
Since Feb 7, 2026.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start in numpy_financial/tests/test_financial.py and review the existing tests for each function to identify sparse coverage and missing edge cases. Expand the test cases across the functions in numpy-financial, with completion marked by thorough edge-case coverage in that test file.
Written by the indexing model from the issue text.
Description
Our tests for many of the functions are very sparse, this should be updated to include more tests for each of the functions in numpy-financial. In particular, I think we need more thorough testing of edge cases.
The test can be modified by editing test_financial.py.
- Dominant language
- Python
- Stars
- 416
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from numpy/numpy-financial
-
An integer `rate` truncates `fv` to an integer and makes `ipmt`/`ppmt` raisePossibly taken @naseweisssss claimed this 38 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
numpy/numpy-financial#166 ·
-
Add CUMPRINC and CUMIPMT functionsPossibly taken A pull request linked to this issue is open or already merged. Openenhancement sustain-2026
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
numpy/numpy-financial#38 · 6 comments · 1 reaction ·
-
BUG: integer power overflow in fv, pv and pmtPossibly taken @milliondreamsblog claimed this 19 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 65/100
numpy/numpy-financial#173 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
numpy/numpy-financial#131 · 1 comment ·
-
documentation sustain-2026
Difficulty 4/5 3-5 days Newbie friendliness 35/100
numpy/numpy-financial#130 · 8 comments ·
All issues in numpy/numpy-financial
Similar issues
-
todo
Difficulty 1/5 Under an hour Newbie friendliness 72/100
tonybaloney/CSnakes#864 ·
-
infra
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
libre-embedded/svgen#72 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Genesis-Embodied-AI/genesis-world#3950 ·
Maintainers usually reply within 1 day
-
accessibility
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day