Skip to content

Update dataset card counts - #37

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
update-dataset-card-counts-29237331543
Open

Update dataset card counts#37
github-actions[bot] wants to merge 1 commit into
mainfrom
update-dataset-card-counts-29237331543

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Automated update of triple counts and date in the HuggingFace dataset card.

Summary by Sourcery

Update the Hugging Face dataset package to reflect the latest conversion run, including refreshed counts, metadata, and neighborhoods, while documenting the fallback CPE version used in the combined configuration.

New Features:

  • Add new CVE, CWE, and Red Hat CPE neighborhood entries to the Hugging Face dataset package.

Bug Fixes:

  • Document and apply a fallback to the last known good CPE version after a failed conversion in the combined configuration.

Enhancements:

  • Refresh dataset statistics, triple counts, and metadata across all sources and the combined view in the Hugging Face dataset card.
  • Update the dataset card's last-updated timestamp to reflect the latest conversion run.

Documentation:

  • Clarify in the dataset README that the combined configuration currently uses a fallback CPE version due to conversion issues.

@sourcery-ai

sourcery-ai Bot commented Jul 13, 2026

Copy link
Copy Markdown

Reviewer's Guide

Automated refresh of dataset statistics and documentation for the HuggingFace dataset card, including updated triple counts, metadata, stats, and neighborhoods, plus a note about a CPE conversion fallback.

Flow diagram for CPE conversion fallback in combined dataset

flowchart TD
  subgraph sources
    cve[CVE]
    cpe[CPE]
    others[Other_sources]
  end

  cve --> convert_cve[convert_cve]
  cpe --> convert_cpe[convert_cpe]
  others --> convert_others[convert_other_sources]

  convert_cve --> stats_cve[update_cve_stats]
  convert_others --> stats_others[update_other_stats]

  convert_cpe -->|conversion success| stats_cpe[update_cpe_stats]
  convert_cpe -->|conversion failure| fallback_cpe[use_last_good_cpe_version]
  fallback_cpe --> stats_cpe

  stats_cve --> combined[build_combined_config]
  stats_others --> combined
  stats_cpe --> combined

  combined --> hf_card[update_hf_dataset_readme]
Loading

File-Level Changes

Change Details Files
Refresh dataset card README to reflect latest triple counts, timestamp, and CPE fallback status.
  • Updated last-updated timestamp to the latest conversion run time.
  • Adjusted per-source triple counts and combined total to align with new stats outputs.
  • Marked CPE config as using last good version and added a fallback status note clarifying inclusion in combined config.
hf_dataset/README.md
Update conversion metadata, stats, and neighborhoods to match the latest build of the knowledge graph.
  • Regenerated conversion report and high-level metadata JSON for the dataset.
  • Updated per-source stats JSON files (cve, cpe, epss, osv, etc.) to reflect new triple counts and distributions.
  • Refreshed existing neighborhood JSON files for selected CVEs, CWEs, GHSAs, ATT&CK techniques, and CPEs to incorporate latest graph structure and links.
  • Added new neighborhood JSON files for newly introduced CVEs, CWEs, and Red Hat CPE variants to extend graph coverage.
hf_dataset/.conversion_report.json
hf_dataset/.metadata.json
hf_dataset/.stats/atlas.stats.json
hf_dataset/.stats/atomic.stats.json
hf_dataset/.stats/attack-all.stats.json
hf_dataset/.stats/capec.stats.json
hf_dataset/.stats/car.stats.json
hf_dataset/.stats/combined.stats.json
hf_dataset/.stats/cpe.stats.json
hf_dataset/.stats/cve.stats.json
hf_dataset/.stats/cwe.stats.json
hf_dataset/.stats/d3fend.stats.json
hf_dataset/.stats/engage.stats.json
hf_dataset/.stats/enterprise.stats.json
hf_dataset/.stats/epss.stats.json
hf_dataset/.stats/euvd.stats.json
hf_dataset/.stats/exploitdb.stats.json
hf_dataset/.stats/ghsa.stats.json
hf_dataset/.stats/ics.stats.json
hf_dataset/.stats/kev.stats.json
hf_dataset/.stats/lolbas.stats.json
hf_dataset/.stats/loldrivers.stats.json
hf_dataset/.stats/misp_galaxy.stats.json
hf_dataset/.stats/mobile.stats.json
hf_dataset/.stats/nist_800_53.stats.json
hf_dataset/.stats/nuclei.stats.json
hf_dataset/.stats/osv.stats.json
hf_dataset/.stats/sigma.stats.json
hf_dataset/.stats/vulnrichment.stats.json
hf_dataset/.neighborhoods/index.json
hf_dataset/.neighborhoods/*.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants