We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 934e6f4 commit 1136d12Copy full SHA for 1136d12
1 file changed
bug_triage.py
@@ -19,6 +19,10 @@ def classify_severity(content: str) -> str:
19
"""
20
Classifies bug severity based on specific keywords found in the content.
21
Returns S1 (Critical) through S4 (Minor).
22
+ >>> classify_severity("The application had a fatal crash on startup.")
23
+ 'S1'
24
+ >>> classify_severity("The UI is a bit slow today.")
25
+ 'S3'
26
27
content = content.lower()
28
0 commit comments