JitPlugin coverage tool to improve coverage for torch.jit functions
This merge request acts as a draft to improve coverage, specifically for torch.jit.script functions
This is shown to be done by vendoring a coverage plugin package JitPlugin
The improvement of coverage can be seen here
where utils/union_find.py
are 100% covered.
There are couple workarounds to make this work:
- Ignoring the source code in pre-commit
- Ignoring coverage summary for conda files
Edited: Instead of making things complicated we decided to just wrap a jit function around the non-jit function and test on the non-jit functions.
Related to #20