Skip to content

Commit

Permalink
counts
Browse files Browse the repository at this point in the history
  • Loading branch information
dschep committed Jan 10, 2025
1 parent 9908945 commit f77e76b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions process.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@
"properties": {
"sev": statistics.mode(severities),
"count": len(severities),
"sev1": len([s for s in severities if s == 1]),
"sev2": len([s for s in severities if s == 2]),
"sev3": len([s for s in severities if s == 3]),
"sev4": len([s for s in severities if s == 4]),
},
}
for cell, severities in severities_by_cell.items()
Expand Down

0 comments on commit f77e76b

Please sign in to comment.