Skip to content

Requirements status

How benchmark release 1.0.0-rc.3 meets the requirements on this site. Generated from the benchmark's checks, which run code against the data.

79 requirements: 73 met, 1 blocking (the licence), 3 MUST requirements partly met for reasons the data cannot change (each caveat below), 2 SHOULD / MAY open.

Not met, or met with a caveat

Requirement Level Status Why, and what closes it
REQ_COVERAGE_LICENSE MUST 🔴 blocks release The licence is a placeholder. It needs the owner's choice (proposal D3: Apache-2.0 code, CC BY 4.0 derived data) and MITRE's terms for redistributing its remap labels and rationale (drafts: dataset/LICENSING.md, review/mitre_request.md).
REQ_COVERAGE_MIN_ENTRIES_PER_CWE MUST 🟠 partly met, caveat stated Every existing MITRE expert label is in. The CWEs still short need examples that do not exist yet (118 CWEs) or an expert's root choice (85 CVEs for 51 CWEs, in the review pack).
REQ_QUALITY_ABSTRACTION_CHECK MUST 🟠 partly met, caveat stated Every high-level root is checked and flagged, never changed (MITRE's labels are kept as given). 2,281 Discouraged roots have no lower CWE named in any text, listed for experts.
REQ_QUALITY_KNOWN_GOOD MUST 🟠 partly met, caveat stated Tiers A/B/C are defined and applied; the site has not adopted a known-good definition (proposal: submissions/01).
REQ_CONSENSUS_CNA_SCORE SHOULD 🟠 open The score is set wherever two or more public sources give a CWE: 48.2% of records. Fresh CVEs (2026) have one source, which took the share under our own 50% threshold. Whether the check should count only records where a score can exist is an owner question.
REQ_COVERAGE_ALL_CWES MAY 🟠 open MAY: 728 of about 956 active CWEs appear. Not pursued beyond the coverage the other requirements need.

Dataset requirements met

Requirement Level Evidence
REQ_CONSENSUS_DESC_SCORE SHOULD consensus_desc_score set for 5,330/25,987 (20.5%) (all CVEs with a >=90 neighbour and a root); mean 81.6
REQ_COVERAGE_CHANGE_TRACKING MUST git history: 144 commits (remote: private GitHub repo CWE-CVE-Benchmark/cwe_benchmark_2027); CHANGELOG.md present
REQ_COVERAGE_CWE1003_VIEW MUST View-1003 CWEs present as a label: 130/130 (100.0%); as root cause: 130/130 (100.0%); with >= 5 root CVEs: gold + silver 129/130, gold only 106/130.
REQ_COVERAGE_DIVERSE_DESCRIPTIONS MUST Measured with fuzzy (rapidfuzz token_sort_ratio >= 90, version-masked) and semantic similarity (all-MiniLM-L6-v2 cosine >= 0.93, threshold from a 30-pair spot check: 18/18 above it judged near-duplicates).
REQ_COVERAGE_FEEDBACK_PROCESS MUST dataset/Feedback.md present
REQ_COVERAGE_KEYPHRASES SHOULD keyphrases non-empty: 23,310/25,987 (89.7%) (from ../cve_info)
REQ_COVERAGE_MAINTENANCE_PLAN MUST dataset/MaintenancePlan.md present
REQ_COVERAGE_MULTIPLE_CWES MUST CVEs with >1 CWE: 4,833/24,571 (19.7%); chains: 2,103
REQ_COVERAGE_NO_DEPRECATED_CWES SHOULD NOT Records with a deprecated/obsolete CWE: 37; with a Prohibited CWE: 62.
REQ_COVERAGE_NO_REJECTED_CVES SHOULD NOT REJECTED in dataset: 0 (1 dropped at build; cvelistV5 snapshot in each record)
REQ_COVERAGE_PRACTICAL_CWES MUST 728 distinct CWEs in labels.
REQ_COVERAGE_README MUST dataset/README.md present
REQ_COVERAGE_RECENT_CVES SHOULD CVE id year >= 2021: 24,514/25,987 (94.3%); by year:
REQ_COVERAGE_REF_CONTENT_RAW MUST Raw reference text for 18,396/25,987 (70.8%) (gzipped markdown, 18,396 present locally, sha256 in dataset/refs/manifest_2023.csv and manifest_2022.csv).
REQ_COVERAGE_REF_CONTENT_SUMMARY MUST ref_summaries non-empty: 20,501/25,987 (78.9%); refs_status:
REQ_COVERAGE_SEMVER MUST dataset/VERSION = 1.0.0-rc.3
REQ_COVERAGE_TOOL_AGNOSTIC MUST No prompt/instruction fields (98 field names checked)
REQ_COVERAGE_TOP25_CWES MUST Top 25 2019-2025 CWEs (39) present as a label: 39/39 (100.0%); missing: none.
REQ_COVERAGE_VALIDATION_PROCESS MUST validations/schema_validator.py + validations/requirements_check.py; tests/ (pytest)
REQ_CVEINFO_JSON_5_0 INFO descriptions and ref_links from cvelistV5; snapshot(s): 2026-12-03T09:55:29+00:00 557d284561c82a81330e493e559cbf1604a70827
REQ_DATASRC_NO_OBSERVED_EXAMPLES SHOULD NOT CWE Observed Examples from 2015 on (S1, label_source cwe_observed_example, CWE 5.0): 358 records; before 2015 (CVE id year or date published): 0.
REQ_DATASRC_TOP25_2022 SHOULD source mitre_top25_2022: 7,197 records (CVEs not in 2023); 150 CVEs in both years keep the 2023 gold with the 2022 mapping in other_expert_mapping
REQ_DATASRC_TOP25_2023 SHOULD source mitre_top25_2023: 7,537 records
REQ_QUALITY_DATA_SPLITS MUST dataset/splits: {'train': 13510, 'test': 7598, 'validation': 3277, 'excluded': 186}; group-aware, stratified by root CWE, seed fixed
REQ_QUALITY_LOW_QUALITY_CVES MUST low_info 1,193; desc_low_info 5,008; mitre_insufficient_info 1,413 (of which in test: 346).
REQ_QUALITY_PRESERVE_ISSUES SHOULD NOT description byte-identical to cvelistV5 for 300/300 random records (seed 0); no typo or encoding fixes
REQ_QUALITY_SCHEMA_VALIDATOR MUST dataset/schema.json (+schema_site.json, schema_unmappable.json); validations/schema_validator.py
REQ_QUALITY_UTF8 MUST strict UTF-8 decode of all dataset files: 0 errors
REQ_VALIDATION_CONSENSUS_SCORES MUST Both scores calculated (C7, unit-tested; CNA score with NVD since I7) and validated against MITRE's expert root (I8, results/consensus_validation.md): public-source majority = MITRE root 67.5% even at…
REQ_VALIDATION_REQUIREMENTS MUST this report (validations/requirements_check.py)
REQ_VALIDATION_SCHEMA MUST schema_validator: 0 errors, 11 warnings
REQ_VALIDATION_STATISTICS MUST results/stats/summary.json present

Comparison requirements met

Requirement Level Evidence
REQ_ABSTRACT_FILTERING MUST report.json abstraction: results grouped by gold root abstraction (Class, Base, Variant) and by predicted root abstraction; gold x predicted confusion table
REQ_ABSTRACT_MISMATCH MUST error taxonomy on the constructed run: too_general 15 (parent answers), too_specific 0
REQ_ABSTRACT_PREFERENCE SHOULD gold CWE-79: Pillar CWE-707 scores above wrong same-Pillar Base CWE-89 by default in 5/7 metrics; with option no_credit_discouraged in 0 (default off pending your decision; results/metric_options.md)
REQ_ABSTRACT_SEPARATE_METRICS MUST root accuracy, all closeness metrics and set metrics computed per abstraction level (gold and predicted)
REQ_ABSTRACT_TRACKING MUST graph.abstraction(): CWE-707 Pillar, CWE-20 Class, CWE-79 Base, CWE-121 Variant; root_abstraction on every gold record
REQ_ALGO_EXPLAINABLE MUST records.jsonl: 65/65 records carry an explanation and error_category, e.g.
REQ_ALGO_HIERARCHICAL MUST CWE-121 vs its ChildOf parent CWE-788: relation ancestor, lca_f 0.667, spl 0.500; HCSS uses ancestors
REQ_ALGO_MULTI_LABEL MUST gold {CWE-20, CWE-125} vs pred {CWE-125}: strict P 1.00, R 0.50; set metrics per CVE
REQ_ALGO_PARTIAL_CREDIT MUST parent answer gets partial credit (0<score<1) in 5/7 closeness metrics: alpha, lca_f, lin, icm_norm, spl
REQ_GROUND_HALLUCINATION MUST semantic flag (local sentence-transformers/all-MiniLM-L6-v2, threshold = 5th percentile of train gold roots) fires on 4.6% of MITRE's gold roots on the test split (n=1,671, results/semantic_grounding.md); flagged…
REQ_GROUND_KEYWORD SHOULD IDF keyword support of CWE name/description terms in description: 22.2% of predictions flagged on the constructed run
REQ_GROUND_SEMANTIC SHOULD semantic similarity with sentence-transformers/all-MiniLM-L6-v2 (local)
REQ_GROUND_SEPARATE_METRICS MUST share of predictions flagged reported separately: desc 22.2%, desc+refs 6.7%
REQ_IMPL_DETAILED_RESULTS MUST records.jsonl: 65 per-CVE rows with close_spl, error_category, explanation, gold_root, hit, pred_root, strict_f1
REQ_IMPL_DOCUMENTABILITY MUST scorer/README.md documents 7/7 closeness metrics + set metrics; METRIC_VALIDATION.md
REQ_IMPL_EXTENSIBILITY SHOULD graph loader takes any CWE XML (path argument); metrics are functions over (graph, gold, pred); pluggable similarity in soft metrics
REQ_IMPL_LOGGING MUST score.log separate from report: 6 lines (config, alignment, warnings, headline)
REQ_IMPL_OUTPUT_FORMAT MUST report.json with sections: meta, headline, root_accuracy, error_taxonomy, closeness, set_metrics, special_labels, low_info_views, confidence_quality, grounding, grounding_calibration, semantic_calibration,…
REQ_IMPL_PERFORMANCE MUST 50,000 predictions scored in 71 s, peak 1964 MB (results/perf_repro.json)
REQ_IMPL_REPRODUCIBILITY MUST two runs, same inputs + seed: report.json (ignoring timestamp) and records.jsonl identical = True; baseline rerun identical: True (results/perf_repro.json)
REQ_IMPL_SEMVER MUST cwe_score.version 0.4.0 (MAJOR.MINOR.PATCH), independent of dataset VERSION
REQ_IMPL_SUMMARY_STATS MUST headline, error taxonomy, closeness, set metrics, abstention in report.json/md (n_scorable 60)
REQ_IMPL_VERSION_INFO MUST meta: scorer_version 0.4.0, dataset_version 1.0.0-rc.2 (real report), timestamp_utc, file sha256
REQ_IMPL_VISUALIZATION SHOULD figures/: abstraction_confusion.png, accuracy_by_abstraction.png, closeness.png, error_taxonomy.png
REQ_LOW_INFO_EXCLUDE MUST low_info_views: all, excl_low_info, only_low_info, excl_desc_low_info, only_desc_low_info
REQ_LOW_INFO_SEPARATE MUST root accuracy all 0.250 vs without desc_low_info 0.25
REQ_MATCH_CUSTOMIZABLE MUST AlphaConfig(alpha_up 2.0 -> 4.0) changes parent credit 0.886 -> 0.771; proximity(d, beta) weight; pluggable sim in soft metrics
REQ_MATCH_CWE_GRAPH MUST CWE 5.0 XML, View-1000 ChildOf graph (984 CWEs)
REQ_MATCH_EXACT MUST CWE-79 vs itself: all 7 closeness metrics, HCSS hF and strict F1 = 1.0
REQ_MATCH_UNRELATED MUST CWE-79 vs CWE-400 (different Pillar): default non-zero in alpha 0.486, spl 0.167; with option zero_unrelated: all 0 (default off pending your decision)
REQ_METRIC_AT_LEAST_ONE MUST at least one match rate 0.250
REQ_METRIC_BALANCED_ACCURACY MUST balanced accuracy (mean per-CWE recall) 0.220
REQ_METRIC_BREAKDOWN SHOULD root accuracy by root_status, root_source, root_abstraction, rationale_source, low_info, desc_low_info, gold_tier, cve_year, published_year
REQ_METRIC_CONFIDENCE SHOULD cluster bootstrap 95% CI on root accuracy 0.250 [0.16554621848739498, 0.3076923076923077] (13 metrics with CIs)
REQ_METRIC_EXACT_MATCH MUST strict exact match rate 0.133 on the constructed run
REQ_METRIC_F1 MUST micro F1 0.226 = harmonic mean of P and R (checked)
REQ_METRIC_MACRO_MICRO SHOULD micro and macro for root accuracy, every closeness metric and P/R/F1
REQ_METRIC_PRECISION MUST micro P 0.333, macro P 0.250
REQ_METRIC_RECALL MUST micro R 0.170, macro R 0.189
REQ_METRIC_SOFT_VERSIONS MUST soft P/R/F1 (1:1 LCA-F matching): F1 0.366 > strict F1 0.208 when parents are predicted
REQ_MULTI_LABEL_BASED MUST per-label micro P/R/F1 0.333/0.170/0.226 and balanced accuracy over CWE classes in report.json