Skip to content

Conversation

carlobortolan
Copy link
Owner

Implement pricing function for zero-coupon bonds and tests.

Depends on #74.

@carlobortolan carlobortolan self-assigned this Aug 19, 2025
@carlobortolan carlobortolan added enhancement New feature or request rust Pull requests that update rust code labels Aug 19, 2025
@carlobortolan carlobortolan linked an issue Aug 19, 2025 that may be closed by this pull request
@carlobortolan carlobortolan added the testing Issue related to existing or missing test cases label Aug 19, 2025
Copy link

codecov bot commented Aug 19, 2025

Codecov Report

❌ Patch coverage is 49.00662% with 77 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.32%. Comparing base (f4ea169) to head (9c4c1e1).

Files with missing lines Patch % Lines
src/fixed_income/day_count.rs 16.07% 47 Missing ⚠️
src/fixed_income/types.rs 60.52% 15 Missing ⚠️
src/fixed_income/bond_pricing.rs 41.17% 10 Missing ⚠️
src/fixed_income/bonds/zero_coupon.rs 84.84% 5 Missing ⚠️

❌ Your patch check has failed because the patch coverage (49.00%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #75      +/-   ##
==========================================
- Coverage   93.91%   91.32%   -2.60%     
==========================================
  Files          21       26       +5     
  Lines        2466     2617     +151     
==========================================
+ Hits         2316     2390      +74     
- Misses        150      227      +77     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rust Pull requests that update rust code testing Issue related to existing or missing test cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement ZeroCouponBond pricing
1 participant