Skip to content

README: render the four incident counts that still read 50 from stats - #155

Open
imran-siddique wants to merge 1 commit into
GenAI-Security-Project:mainfrom
imran-siddique:readme-incident-counts
Open

imran-siddique wants to merge 1 commit into
GenAI-Security-Project:mainfrom
imran-siddique:readme-incident-counts

Conversation

@imran-siddique

Copy link
Copy Markdown

The stats table renders 134 incidents from data/stats.json, but four hand-typed counts in the README still say 50:

  • the Threat intel analyst row in the audience table (line 66)
  • the tree comment beside data/incidents.json (line 336)
  • the first line of the Incident tracker section (line 419)
  • the Incidents row in the web app table (line 444)

50 was the count at v1.8.3 and 2.0.0. Three of the four lines were last touched in b49090c on 28 March.

This wraps each one in the existing <!-- stats:incidents --> marker, the same way the tree comment for entries/ already uses stats:entries. No new keys. npm run stats:check passes, and exits 1 if any of the four is hand-edited back to 50. When #122 or #109 lands and the macro moves to 135, all five places move with it.

The other five instances of 50 in the README are AI Testing Guide test cases (lines 178, 290, 536, 593) and the AIUC-1 "50%+" (line 213). They are correct and untouched.

One related thing this does not change. The Developer row and the quick start say npm install genai-security-crosswalk. The registry holds one version, 2.0.0, published 29 March 2026. I unpacked the tarball: its data/incidents.json is 1.5.0 with INC-001 to INC-050, and its ten LLM entries carry source_list: LLM-Top10-2025. So an install today lands on the pre-4.0.0 numbering that the 4.0.0 changelog calls a breaking permutation. The Unreleased section already lists the publish as next. If a one-line note under the install block would help until then, I can add it here.

Wrap the threat intel row, the incidents.json tree comment, the Incident
tracker opener and the web app Incidents row in the existing
stats:incidents marker. stats:check passes and fails if any is hand-edited.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

1 participant