-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coverage percentages don't match in the UI and in the coverage.py output #24243
Comments
Hello! Ok a few questions,
|
Hello,
|
Yes- the rounding does exist and I noticed this as well but decided surfacing more precision wasn't bad since it is ultimately a fraction we are evaluating that comes from line number counts. And yes we are looking at branch coverage but currently branch coverage numbers are not exposed by the coverage.py API and therefore I am working with the maintainer there to surface it so we can safely support branch coverage on our end too. Closing as I think this resolves all the issues you surfaced, thanks! |
Type: Bug
Behaviour
Coverage percentages don't match in the UI and in the coverage.py output. For both "missing lines" and "branch" coverage. See attached screenshot.
Steps to reproduce:
???
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2024.17.2024100401
VS Code version: Code 1.94.0 (Universal) (d78a74bcdfad14d5d3b1b782f87255d802b57511, 2024-10-02T13:08:12.626Z)
OS version: Darwin arm64 22.1.0
Modes:
python.languageServer
setting: DefaultUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: