Code to detect rain/inundation using CCTV images, estimate affected area/depth and store data in MySQL. Image processing & ML for efficient flood monitoring & management.
MIT License
3
stars
0
forks
source link
[Sweep Rules] Add unit tests for compute_recall function #6
PR Feedback (click)
I created this PR to address this rule:
"All new business logic should have corresponding unit tests."
Description
This PR adds unit tests for the
compute_recall
function in the following files:utils.py
utils_common.py
utils_org.py
The unit tests cover different scenarios and edge cases to ensure the correctness of the function.
Summary of Changes
utils_test.py
inpackages/mrcnn
utils_common_test.py
inpackages/mrcnn
utils_org_test.py
inpackages/mrcnn
compute_recall
function in each respective file.compute_recall
function.Please review and merge this PR to ensure the new business logic in the mentioned files is properly tested.