MermaidSeqBench
Models translate natural-language descriptions into Mermaid sequence diagrams. Judges score syntax, logic, completeness, activation handling and error tracking.
The public dataset has 132 human-verified samples and reports six criteria with two LLM judges.
- Made by
- IBM Research
- Released
- November 2025
- Kind
- Web and app front ends
- Level
- University
- Scored
- Graded by a model
- Answers
- Code
- Tasks
- All public
- Measures
- Capability
- Language
- English
- Interaction
- Single turn
- Items from
- Written by experts
- Refresh
- One fixed set
- Run by
- Anyone
- Strongest model tested
-
Qwen2.5-72B #167 on the capability index
- Last model added
- April 2025
- Updated automatically
- Yes, daily
- Scores refreshed
- November 24th, 2026
In the authors’ words
Large language models (LLMs) have shown great promise in generating structured diagrams from natural language descriptions, particularly Mermaid sequence diagrams for software engineering. However, the lack of existing benchmarks to assess the LLM's correctness on this task hinders rigorous, systematic evaluation and principled comparison of model capabilities on this task. To address this shortcoming, we introduce MermaidSeqBench, a human-verified and synthetically extended benchmark for assessing LLM capabilities in generating Mermaid sequence diagrams from natural language prompts. The benchmark consists of 132 samples developed via a hybrid methodology of human-verified flows, LLM-based augmentation, and rule-based expansion. The evaluation uses an LLM-as-a-judge model to assess generation across various fine-grained metrics such as syntax correctness, activation handling, error handling, and practical usability. To demonstrate the effectiveness and flexibility of our benchmark, we perform initial evaluations on numerous state-of-the-art LLMs with multiple LLM judges which reveal significant capability gaps across models and evaluation modes. MermaidSeqBench provides a foundation for evaluating structured diagram generation and advances the scientific understanding of LLM capabilities and limitations in structured generation tasks.
Qwen2.5-72B leads with 83.9 Qwen2.5-72B leads with 83.9
Best score per entry from the benchmark's own leaderboard, read on November 24th, 2026. Where a model ran with several settings or harnesses, we keep its best. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. This view shows only models we track, each at its best.
- 1
Qwen2.5-72B 83.9
- 2 Qwen 2.5-32B-Instruct 83.2
- 3 Qwen 2.5-7B-Instruct 82.5
- 4 Llama 3.1-8B-Instruct 80.6
- 5 Qwen 2.5-14B-Instruct 79.6
- 6 Granite 3.3 8B Instruct 73.9
- 7 Qwen 2.5-3B-Instruct 61.8
- 8 Granite 3.3-2B-Instruct 60.7
- 9 Qwen 2.5-1.5B-Instruct 50.5
- 10 Llama 3.2-1B-Instruct 42.8
- 11 Qwen 2.5-0.5B-Instruct 38.2
Source: Official MermaidSeqBench leaderboard
Source: Official MermaidSeqBench leaderboard
| # | Entry | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | | 83.9 | Sep 2024 | Official leaderboard | |
| 2 | Qwen 2.5-32B-Instruct | 83.2 | Official leaderboard | ||
| 3 | Qwen 2.5-7B-Instruct | 82.5 | Official leaderboard | ||
| 4 | Llama 3.1-8B-Instruct | 80.6 | Official leaderboard | ||
| 5 | Qwen 2.5-14B-Instruct | 79.6 | Official leaderboard | ||
| 6 | Granite 3.3 8B Instruct | 73.9 | Apr 2025 | Official leaderboard | |
| 7 | Qwen 2.5-3B-Instruct | 61.8 | Official leaderboard | ||
| 8 | Granite 3.3-2B-Instruct | 60.7 | Official leaderboard | ||
| 9 | Qwen 2.5-1.5B-Instruct | 50.5 | Official leaderboard | ||
| 10 | Llama 3.2-1B-Instruct | 42.8 | Official leaderboard | ||
| 11 | Qwen 2.5-0.5B-Instruct | 38.2 | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | | 83.9 | Sep 2024 | Official leaderboard | |
| 2 | Granite 3.3 8B Instruct | 73.9 | Apr 2025 | Official leaderboard |
Everything the board measures
The benchmark’s own leaderboard publishes 3 numbers for each entry: the headline score and 2 other measures. Rank entries by any one, compare them all in the table, or plot any two. Each row is the entry’s best run on the headline score.
- Headline
- Headline score
- Other measures
- DeepSeek-V3 Avg
- GPT-OSS Avg
- Headline
- Headline score
- Other measures
- DeepSeek-V3 Avg
- GPT-OSS Avg
- Headline
- Headline score
- Other measures
- DeepSeek-V3 Avg
- GPT-OSS Avg
- Qwen
- IBM
- not in our model list
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Source: Official MermaidSeqBench leaderboard
No lab model card reports it yet
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.
More in Coding
- SWE-bench Verified In use 500 human-validated GitHub issues from 12 Python repos. Agent writes a patch that must pass hidden tests. Claude Opus 4.7 83.5%
- LiveCodeBench v6 In use Competitive programming problems collected after model cutoffs from LeetCode, AtCoder, Codeforces. Scored pass@1 on hidden tests.
DeepSeek-V4-Pro 93.5%
- SWE-bench Multilingual In use 300 GitHub-issue tasks across nine programming languages in SWE-bench format. Patch graded by repository tests. Claude Fable 5.2 96.6%
- DeepSWE In use 113 original long-horizon engineering tasks across 91 repos and five languages, written from scratch. Hand-written verifiers accept alternative solutions. GPT-6 Astra 74.1%
- SciCode In use Scientist-curated research coding problems split into subproblems across natural sciences. Code checked against test cases.
Seed2.1 Pro 59.8%
- Codeforces rating In use Model solves recent Codeforces contest problems. An Elo-style rating is computed from simulated contest performance.
DeepSeek V4.1 Flash 3,471
Data audit
8 of 9 checks pass, 1 warning. Look first at the Newest score check. The newest came 19 months ago, in April 2025, for Granite 3.3 8B Instruct. Every benchmark
Catalog record 2 pass
- Pass Task access All tasks are public.
- Pass Confidence Checked against a primary source.
Scores 1 warning 2 pass 2 notes
- Pass Independent runs Scores from the official leaderboard (11 entries).
- Pass Models scored 2 models we track, plus 9 other entries on its leaderboard.
- Warning Newest score The newest came 19 months ago, in April 2025, for Granite 3.3 8B Instruct.
- Note Frontier models None of the top 10 has a score. The strongest tested is Qwen2.5-72B (#167).
- Note Headroom Scored as a plain number, with no fixed ceiling.
Leaderboard import 3 pass
- Pass Importer We read the board on huggingface.co: 2 rows for models we track and 9 other entries at the last read.
- Pass Last read November 24th, 2026.
- Pass Read worked The last read worked.
Consistency 1 pass 2 notes
- Note Lab claims No model has both a lab number and an independent run.
- Pass Known issues No published audit found problems.
- Note Epoch AI review Epoch AI hasn’t reviewed it.