TheAlgorithms / C-Sharp

All algorithms implemented in C#.
GNU General Public License v3.0
7.17k stars 1.53k forks source link

Coverage Issue for HashTable and TimSorter Reducing Overall Code Coverage #465

Open Kalkwst opened 3 months ago

Kalkwst commented 3 months ago

Summary We’ve encountered a coverage issue related to two classes, HashTable and TimSorter, which is impacting the overall code coverage in our project. Despite the current PR achieving 100% coverage for the changes it introduces, these two classes are not meeting the coverage standards, which is causing a blockage due to Codecov warnings.

To Reproduce

  1. Update your branch with the latest changes from master.
  2. Run Codecov or check the coverage report.
  3. Observe that the overall coverage is lowered due to the indirect changes affecting HashTable and TimSort.

Expected behavior

Actual behavior

image

siriak commented 3 months ago

Thank you for opening the issue, it probably happens because of randomization in tests, so coverage fluctuates a bit. I tried fixing some places where this happened, but never got to all of them. Just to make it clear, you are working on a fix, right? I'll assign you to the issue then

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

ngtduc693 commented 1 month ago

seems this bug fixed with PR 486

siriak commented 1 month ago

486 didn't change the classes in question or their tests, so I think the issue is still present

gmottajr commented 1 day ago

Hi siriak is this issue still opened, an you assigned it to me? I think I can work on it. I could rescue my account back.