pytorch/ignite

Improve code coverage

Open

#1,790 创建于 2021年3月14日

在 GitHub 查看
 (8 评论) (4 反应) (0 负责人)Python (602 fork)batch import
HacktoberfestPyDataGlobalenhancementhelp wanted

仓库指标

Star
 (4,313 star)
PR 合并指标
 (平均合并 18天 23小时) (30 天内合并 19 个 PR)

描述

Our project code coverage start to decrease with new features and reworked tests. We are now ~95% but were 96% recently and around ~98% the last year...

The idea is to identify the uncovered parts of code inspecting here, for example: https://codecov.io/gh/pytorch/ignite/tree/master/ignite and draft a PR with new tests.

Some of new test can be very simple and others could be very sophisticated to enter a particular code line. Let's improve the coverage of all modules, except distributed for instance.

  • ignite.base
  • ignite.contrib.engines
  • ignite.contrib.handlers
  • ignite.contrib.metrics
  • ignite/engine/__init__.py
  • ignite/engine/engine.py
  • ignite/engine/events.py
  • ignite/handlers/checkpoint.py
  • ignite.metrics

贡献者指南