Skip to content

purl-next: Create PURL accuracy benchmark - Curate scans for correct PURLs #49

Closed

Description

@pombredanne

Create PURL accuracy benchmark to ensure tools create correct and valid PURLs. This step is to design the input/output and process and get some minimal first step in place.

Activity

  1. chinyeungli commented on Jul 29, 2025

    @chinyeungli

    @pombredanne for this batch, should it be focus on certain package such as rust, npm, maven etc? or doesn't matter?

  2. pombredanne commented on Jul 29, 2025

    @pombredanne
    MemberAuthor

    @chinyeungli your call.

  3. chinyeungli commented on Aug 1, 2025

    @chinyeungli

    I am using the list from #62 (comment) to perform an accuracy benchmark. @pombredanne Is the process involves downloading the packages, extracting them, running sctk’s package scan to retrieve the PURLs, and verifying those PURLs to ensure they’re valid (supposing they are starting with pkg:pypi/) and have a valid version number?

  4. chinyeungli commented on Aug 5, 2025

    @chinyeungli

    PURL_accuracy_benchmark-batch1.xlsx

    I've created a first pass of the accuracy benchmark.
    @pombredanne please check to see if this is what we are looking for.

  5. moved this from Needs prep to In progress in 00-AboutCodePlanneron Aug 5, 2025
  6. changed the title [-]purl-next: Create PURL accuracy benchmark - batch 1[/-] [+]purl-next: Create PURL accuracy benchmark - step 1[/+] on Aug 7, 2025
  7. chinyeungli commented on Aug 8, 2025

    @chinyeungli

    @pombredanne I ran the analyze_docker_image pipeline on Ubuntu 24.04 and downloaded the results. I verified that all ELF binaries are covered, and there are no invalid package types, versions, or namespaces. Additionally, I confirmed that there are no duplicate package names (i.e. I checked for duplicate PURLs with the same name but different/no versions).
    Does this align with what we're aiming to validate in the accuracy benchmark (i.e., ensuring no PURLs are missing and no invalid or extra present)?

  8. chinyeungli commented on Aug 8, 2025

    @chinyeungli

    purl_accuracy_benchmark.xlsx

    Please check to see if this is what we want, and how much more do we want to examine.

  9. chinyeungli commented on Aug 12, 2025

    @chinyeungli

    I uploaded the benchmark files on google drive under PURL accuracy benchmark: https://docs.google.com/spreadsheets/d/13QbqWtztAmIS0oxWANMSaiQSXCs-NxU9/edit?usp=drive_link&ouid=111292578521869099532&rtpof=true&sd=true

    It covers 22 projects:

    • alpine_3.22.1
    • busybox
    • debian_trixie
    • django-5.2.5-src
    • django-5.2.5-whl
    • Elasticsearch-9.1.1
    • fiber
    • gin
    • golang_tip-alpine3.22
    • Mariner CBL 2.0 (distroless) from Microsoft
    • memcached_bookworm
    • mongo_8.0.13-rc1
    • nginx_stable-perl
    • node_alpine3.22
    • postgres_14.18
    • rabbitmq_4.2-rc
    • redis_8.2.0-alpine
    • RHEL 8.8
    • sentry-25.7.0
    • Ubuntu 20.04.6 LTS
    • Ubuntu 22.04.1 LTS
    • ubuntu_2404

    Would that be enough for the current iteration?

  10. moved this from In progress to Validated in 00-AboutCodePlanneron Aug 12, 2025
  11. chinyeungli commented on Aug 12, 2025

    @chinyeungli

    Per @pombredanne comment, this task is covered by the work at #49 (comment)

  12. changed the title [-]purl-next: Create PURL accuracy benchmark - step 1[/-] [+]purl-next: Create PURL accuracy benchmark - Curate scans for correct PURLs[/+] on Sep 2, 2025
  13. pombredanne commented on Sep 2, 2025

    @pombredanne
    MemberAuthor

    We finally published the expected PURLs in this new repo https://github.com/aboutcode-org/purl-benchmarks

  14. moved this from Done to Validated in 00-AboutCodePlanneron Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions