agentsclimarketplace

Run3 Deduplicate and Order Vulnerability Records

Skill cxcscmu/SkillLearnBench/skills/b3-teacher-feedback-claude-haiku-4-5/dependency-vulnerability-check/run3_Deduplicate-and-Order-Vulnerability-Records

Ensure vulnerability records are deduplicated and ordered according to ground-truth requirements.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run3_Deduplicate-and-Order-Vulnerability-Records

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

0.9 KB, 188 tokens by cl100k_base, as published. Nobody here has run it

Deduplication Strategy

  1. Identify duplicate records

    • Duplicates likely occur on combination of: Package + Version + CVE_ID
    • Keep only one record per unique combination
  2. Deduplication process

    • Track seen combinations using set: {(package, version, cve_id)}
    • Skip record if combination already seen
    • Keep first occurrence or apply priority rules if needed
  3. Ordering

    • Check if ground-truth expects specific sort order
    • Likely order: by Package name, then Version, then CVE_ID
    • Implement stable sort: sorted(records, key=lambda x: (x['Package'], x['Version'], x['CVE_ID']))
  4. Validation

    • No duplicate (Package, Version, CVE_ID) combinations
    • Order matches test expectations
    • Record count matches ground-truth

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.