Skip to content

Implement is_not_defaulted_loan functionality#32

Merged
codebestia merged 3 commits intomainfrom
feat/is_defaulted_loan
Jul 20, 2025
Merged

Implement is_not_defaulted_loan functionality#32
codebestia merged 3 commits intomainfrom
feat/is_defaulted_loan

Conversation

@codebestia
Copy link
Contributor

Description

This PR implement the is_not_defaulted_loan functionality. the functionality checks whether a loan is still active and not defaulted. This function builds on top of is_valid_loan and adds a time-based check to ensure that the loan has not passed its repayment deadline

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Configuration change

Checklist

Development Best Practices

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • New and existing tests pass locally with my changes

Testing

  • Unit tests cover the new functionality
  • Integration tests verify the changes work with other components

Related Issues

Fixes #27

@codebestia codebestia merged commit 2d3c0d2 into main Jul 20, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CONTRACT] Implement is_not_defaulted_loan Functionality

1 participant