You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cross-check the scan against pip, and publish the agreement rate #19
The tracker's numbers come from wheelgap reading each release's file list and applying pip's tag rules. That's the right method, but nothing yet checks the answers against pip itself. A published agreement rate ("wheelgap matches pip on 99.8% of 800 checks") would be the strongest reason for anyone to trust the data.
What to do
Add scripts/check_pip.py. For a sample of packages (the top 200 by default) and a few targets (say linux-x86_64, linux-aarch64, musl-aarch64 and win-arm64 on Python 3.13), ask pip whether it would install a wheel:
A successful download means "wheel"; "no matching distribution" means "not wheel". Pass every platform tag pip should accept for that target (e.g. manylinux_2_36_aarch64 down to manylinux2014_aarch64 for glibc 2.36). wheelgap's targets.py lists them.
Compare with the results in coverage.json (wheel against everything else), and write data/agreement.json: the date, the number of checks, how many matched, and every mismatch (name, version, target, wheelgap's answer, pip's).
Run it in a new step of scan.yml after the scan. It must never fail the scan: log and move on. Keep the sample small enough to finish in a few minutes.
Any mismatch is either a wheelgap bug or a pip quirk worth knowing about. Open a wheelgap issue for each kind you find.
This is a bigger one, so say on the issue if you'd like to talk the approach through first. Changes under .github/ and scripts/ get a closer review.
Activity
Cross-check the scan against pip and publish the agreement rate (#19)