event-taxonomy/normalize-schema
main
NormalizedFinding
Severity
stdin JSON → normalized JSON
echo '[{"file": "core.py", "top_author": "alice", "top_author_pct": 85, "num_contributors": 2, "bus_factor": 1, "risk_label": "CRITICAL"}]' | python -m event_taxonomy --tool bus-factor-analyzer
from event_taxonomy.registry import normalize_output event = normalize_output("bus-factor-analyzer", raw_findings) print(event.to_json(indent=2))
Canonical NormalizedFinding schema with Severity enum (CRITICAL/HIGH/MEDIUM/LOW/INFO). Per-project adapters for 9 tools with severity mapping for string labels, int 1-10, float 0-1, Python Enum, and computed properties. CLI pipe interface and registry. Nightshift-Task: event-taxonomy Nightshift-Ref: https://github.com/marcus/nightshift
Nightshift-Task: event-taxonomy Nightshift-Ref: https://github.com/marcus/nightshift
No dependencies set.
The note is not visible to the blocked user.
Summary
NormalizedFindingschema withSeverityenum (CRITICAL/HIGH/MEDIUM/LOW/INFO)stdin JSON → normalized JSON) and adapter registryCanonical Schema
Severity Mapping Table
Usage
Test Plan
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.