Repository navigation
v0.5.2 — 8 new fixtures + self-contained bibliographic schema
New fixtures
Eight new worked examples drawn from public-domain and open-licensed
sources, each reproducing every published value to the cent under the
strict no-partial-fixtures policy:
- Skinner 1913 §42 Example 1 — $1,000 / 6% / 15-year annual.
Pre-WWI actuarial textbook (Ginn and Company, public domain). First
annual-cadence fixture sourced from a pre-1929 textbook. - Skinner 1913 §42 Example 3 (piano) — $500 / 6% effective annual /
5-year monthly. First fixture isolatingCompounding.ANNUALon a
monthly-cadence loan, validating the actuarial convention of
treating the quoted rate as effective annual and back-deriving the
equivalent nominal-monthly rate. - Arcones SOA FM Manual §4.1 Example 4 — $20,000 / 8% / 12-year
annual schedule. Full 12-row published schedule from the SOA Exam FM
/ CAS Exam 2 study manual. - Broverman MIC §2.1 Example 2.7(a) and 2.7(b) — $12,000 at 12%
/ 36 months and 15% / 48 months. Closed-form payment anchors at two
rates from a perennial SOA Course FM reference text.
(Pearline)** — $10,000 / 10% / 4-year annual full schedule. - eCampus §4.3 Exercise 2 (Erika) — $32,600 / 4.83% / 9-year
monthly with year-aggregate anchors. - eCampus §4.3 Exercise 3 (Johnetta) — $20,200 / 3.53% / 8-year
monthly with mid-schedule probe at payment 60.
Bibliographic schema
Every fixture's [source] block now carries short_label, bib_key,
bib_title, and a full citation string (authors, title, edition,
publisher, year, ISBN, URL where available). Fixtures sharing a source
share a bib_key and the bibliography emits one entry per key.
The validation vignette is now data-driven: the previously
hand-curated SOURCE_LABELS dict and prose bibliography in
docs/vignettes/validation.qmd are gone. Adding a new fixture
automatically updates both the source table and the bibliography on
the next render.
tests/schedules/README.md documents the new fields and lists
reference_work as an additional accepted kind value (used by the
Wikipedia fixture).
Verifying the install
pip install mortgagemath==0.5.2
python -m mortgagemath
Expected output:
mortgagemath 0.5.2 self-check
[OK ] CFPB H-25(B) $162,000 / 3.875% / 30yr monthly P&I: got 761.78 expected 761.78
...
[OK ] Fannie Mae §1103 balloon at term-120: got 20885505.83 expected 20885505.83
All checks passed.
PyPI artifacts (SHA-256)
d04d829eaf7280cdaf9405d0ae34dd694527108b459a1eb4e22b29cbf43c8d77 mortgagemath-0.5.2-py3-none-any.whl
b78bb67637a3d9615f08ae17b7cf0974572764eec3ebe118e7a925ef8d934532 mortgagemath-0.5.2.tar.gz
Links
- 📦 PyPI: https://pypi.org/project/mortgagemath/0.5.2/
- 📖 Read the Docs: https://mortgagemath.readthedocs.io/
- 📑 Vignettes (HTML): https://murraystokely.github.io/mortgagemath/
- 📄 Validation vignette (PDF): https://github.com/murraystokely/mortgagemath/blob/v0.5.2/docs/vignettes/rendered/validation.pdf
- 📜 Full changelog: https://github.com/murraystokely/mortgagemath/blob/v0.5.2/CHANGELOG.md