microsoft / lightgbm-benchmark

Benchmark tools for LightGBM
MIT License
14 stars 7 forks source link

Extend coverage: add unit tests where they miss most #195

Closed jfomhover closed 2 years ago

jfomhover commented 2 years ago

This PR tries to raise the coverage bar, a couple additions:

During this effort, discovered an issue in testing distributed components, filed a specific issue about that #196

github-actions[bot] commented 2 years ago

Unit Test Results for Build

  1 files  ±0    1 suites  ±0   12s :stopwatch: -2s 82 tests +2  82 :heavy_check_mark: +2  0 :zzz: ±0  0 :x: ±0 

Results for commit 7448228d. ± Comparison against base commit bf90d312.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 years ago

Code Coverage

Package Line Rate Branch Rate Complexity
common 82% 0% 0
scripts 100% 0% 0
scripts.data_processing.generate_data 93% 0% 0
scripts.data_processing.lightgbm_data2bin 95% 0% 0
scripts.data_processing.partition_data 92% 0% 0
scripts.inferencing.custom_win_cli 65% 0% 0
scripts.inferencing.lightgbm_c_api 35% 0% 0
scripts.inferencing.lightgbm_python 95% 0% 0
scripts.inferencing.treelite_python 94% 0% 0
scripts.model_transformation.treelite_compile 92% 0% 0
scripts.sample 93% 0% 0
scripts.training.lightgbm_python 80% 0% 0
Summary 80% (1012 / 1262) 0% (0 / 0) 0