• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tubedude / finance-elixir / a73ef080f003b3b4df000f5c34a7d57cd7b505b6-PR-29
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 07 Jul 2026 11:09AM UTC
Jobs 1
Files 13
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Jul 2026 11:08AM UTC coverage: 100.0%. Remained the same
a73ef080f003b3b4df000f5c34a7d57cd7b505b6-PR-29

Pull #29

github

tubedude
Validate options per function; accept Decimal in Returns

Options:
- Four compiled schemas (dated rate, rate, dated value, value): each function
  validates only the options it uses, so an inapplicable option — :basis on
  periodic irr, :guess on xnpv or a Bonds metric — raises instead of being
  silently ignored. npv validates options before rejecting empty data.
- :precision is 0..15 in the Returns and amortization schemas too, and
  Finance.option includes {:basis, _}.

Behavior:
- xnfv returns {:error, :undefined} when forward compounding overflows.
- The Returns cash-flow metrics coerce amounts via Shared.to_amount, so
  Decimal and Money inputs work there like they do in CashFlow.

Tests: Decimal/Money value-transparency property; cross-basis contracts
(irr == xirr, xnfv/xnpv ratio, batch with basis + Brent together); a 30/360
Feb-29 no-EOM pin; fractional bond years.

Docs: restore the 1.6.1 CHANGELOG heading; README pins ~> 1.7 and gains
DayCount, xnfv/conventional?, and :undefined in the error table; ExDoc gets
source_ref and module groups; the first xirr doctest shows a simple 20% rate.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVibXT2w1dEdVtMHqffFKn
Pull Request #29: Add day-count conventions with a pluggable seam (1.7.0)

65 of 65 new or added lines in 6 files covered. (100.0%)

495 of 495 relevant lines covered (100.0%)

65873.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 a73ef080f003b3b4df000f5c34a7d57cd7b505b6-PR-29.1 07 Jul 2026 11:09AM UTC 13
100.0
GitHub Action Run
Source Files on build a73ef080f003b3b4df000f5c34a7d57cd7b505b6-PR-29
  • Tree
  • List 13
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #29
  • PR Base - main (#EDEDB426...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc