How to Rate Bug Severity in Code Review
Bug severity levels in code review explained: what high, medium and low mean, the one question that settles most labels, and the mistakes we saw most often.
On our code review benchmark work we wrote tasks and reviewed tasks written by other experts, and reviewing taught us the most about one thing: severity.
In code review, bug severity has three levels. High means the bug could cause a real production incident. Medium means it must be fixed before merging but would not cause an incident. Low means it does not change behavior. Our quick test: if a bug breaks the common path, the normal way people use the code, it is probably high.
Reviewing is where you learn the most, because you see the same mistakes from many different people. Looking back over the reviews our team wrote, one thing surprised a lot of writers. The bugs were usually fine. The severity labels weren't.
Why does one severity label matter so much?
In the benchmarks we work on (fixed sets of tasks used to score AI models), a serious bug carries far more weight than a small one. So if a writer called a serious bug "medium", the whole score for that task shifted. Worse, if the model being tested correctly called it serious, the answer key (the list of bugs, locations and severities the model is scored against) would mark the model wrong.
The mistake we saw most often was a bug that broke a documented command, or broke a test that passes on the original code, labeled as medium. If it breaks the common path, it's probably high. We made that the first thing we checked on every review, and in one group of reviews, eight bugs across seven tasks had to move up to high. It went the other way too. Sometimes a "high" bug only showed up in one rare edge case. That's not an incident on the common path, so it came down.
What else goes wrong in code review answer keys?
Besides severity, the problems we saw most were real bugs left out of the key, bugs hidden behind other bugs, locations that were too wide and missing reference runs.
Real bugs left out of the answer key came up more than we expected. Sometimes the original code already had a real bug that was neither listed nor fixed, and a model that found it would be penalized for a correct finding. Our rule became that every known real bug is either in the key or repaired. We go deeper on that in our post on how to validate bugs missing from a benchmark answer key.
Then there were bugs hiding other bugs, a trap we also cover in our guide to planting realistic bugs. If one planted bug stops the code from ever reaching a second one, the second can't be seen. One reviewer proved this by testing 144 different keyboard states. Another ran 320,000 random inputs. Both showed the second bug was invisible.
Locations were often too wide. A bug location covering 30 lines isn't really a location, so we asked for the exact lines, usually under about eight. And some tasks simply arrived without their required reference runs, which means they can't be checked no matter how good the bugs are.
How should a reviewer give feedback on a task?
Clearly enough that the writer can fix everything in one pass. When we sent a task back, each point was marked as must fix, optional or an open question, with the exact line, the reason and the fix we expected. Nobody likes getting a task back. Getting it back with a clear list is a lot easier than getting a vague note.
We hold our own tasks to the same standard, and they get reviewed too. Our writers run each task against the model under test, read the results and decide whether it is too hard or too easy, then adjust it before it goes anywhere. Our checklist also covers the environment itself: the Dockerfile should bring in only what the task needs, and nothing in the container should hint at the task or its answer. Every lesson from a review goes onto that checklist. Being reviewed made us better reviewers.
A few questions we get
What do high, medium and low severity mean in code review? High is incident level, medium blocks the merge, and low leaves behavior unchanged. When a label is in doubt, our reviewers ask whether the bug breaks the common path, and if it does, it is probably high.
Why do reviewers reproduce every bug? Because some bugs turn out to be invisible, hidden by another bug or by the app's own logic. Our reviewers run the code themselves, because that is the only way to prove a bug can actually be found.
What is the common path in code review? The normal way most people use the code, such as a documented command or a test that passes on the original code. A bug that breaks it usually deserves a high label.
Who decides how severe a bug is? The task writer labels it first, and a reviewer checks the label against the same three definitions. That second look is where most of the fixes in this post came from.
Need Severity Labels Your Lab Can Rely On?
Our engineers write and review code review tasks for AI labs and model teams, checking every severity label, answer key and bug location before delivery. Our Human-in-the-Loop Validation service brings that review discipline to your data and keeps your evaluation work on schedule.
Get in TouchKeep reading
All articles- AI & MLNov 18, 2026
What Do AI Training Data Writers and Reviewers Do?
What does an AI training data reviewer do? Checks tasks for correctness, fairness, difficulty and clean grading. Why our team does both writing and review.
- AI & MLOct 8, 2026
How to Write Test Cases That Catch Wrong Solutions
Strong test cases for coding problems are built to reject wrong solutions, not just pass the right one. How our problem setters write and use a kill list.
- AI & MLOct 1, 2026
How to Write Competitive Programming Problems for AI
How to write competitive programming problems for AI: a precise statement, one correct output per input, brute force checked tests and a tight difficulty band.