Skip to content

feat: increase test coverage from 58.5% to 63.5%#389

Merged
taraeicher merged 3 commits intonetZoo:develfrom
marouenbg:feature/increase-test-coverage
Mar 20, 2026
Merged

feat: increase test coverage from 58.5% to 63.5%#389
taraeicher merged 3 commits intonetZoo:develfrom
marouenbg:feature/increase-test-coverage

Conversation

@marouenbg
Copy link
Copy Markdown
Contributor

Expanded test suites for 10 R source files. All new tests pass.

@marouenbg marouenbg force-pushed the feature/increase-test-coverage branch 2 times, most recently from ed43065 to 77c5e15 Compare March 16, 2026 21:17
Expanded test suites for 7 R source files:
- ALPACA: 20+ new tests (alpaca, louvain, rotation, simulation)
- CRANE: 15+ new tests (bipartite, unipartite, edge list ops)
- YARN: 30+ new tests (filter, normalize, plotting functions)
- TIGER: tests for adj2regulon, el2adj, el2regulon, priorPp, tiger
- COBRA: tests for dragon method, invalid inputs, Q dimensions
- BLOBFISH: tests for PlotNetwork, CalculatePValues
- MONSTER: tests for monsterCheckDataType, kabsch, transformation

Reverted puma, lioness, spider tests to avoid C-level memory
corruption (SIGABRT) when running many PANDA engine iterations.
@marouenbg marouenbg force-pushed the feature/increase-test-coverage branch from 77c5e15 to cbd1228 Compare March 18, 2026 15:47
Remove heavy alpaca louvain/community detection tests and heavy yarn
normalization tests that cause memory pressure triggering Abort trap: 6
in existing PANDA C engine tests.
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.28%. Comparing base (e8a907b) to head (ef3c081).

Additional details and impacted files
@@            Coverage Diff             @@
##            devel     #389      +/-   ##
==========================================
+ Coverage   59.55%   62.28%   +2.73%     
==========================================
  Files          21       21              
  Lines        3516     3516              
==========================================
+ Hits         2094     2190      +96     
+ Misses       1422     1326      -96     

☔ 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.

@marouenbg
Copy link
Copy Markdown
Contributor Author

Hey @taraeicher , this one is good to go. Only a few points of increase, it struggled to get it beyond that (memory issues due to multiple calls for multiple functions)

@taraeicher taraeicher merged commit 04429d7 into netZoo:devel Mar 20, 2026
0 of 8 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.

2 participants