From f16529eb2357aae2f7cc2e3ec6ae36dd963c5651 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 11 May 2026 15:17:34 +0000 Subject: [PATCH] Fix mutation report anchors --- scripts/mutation_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mutation_report.py b/scripts/mutation_report.py index 15b1d29a39b..e053fd78e4e 100644 --- a/scripts/mutation_report.py +++ b/scripts/mutation_report.py @@ -265,7 +265,7 @@ def render(config: dict, survivors: list[str], stats: dict | None) -> str: out.append("## Surviving mutants by function") out.append("") for (module_path, function_name), items in by_function.items(): - anchor = f"{function_name.lower().replace('_', '-')}" + anchor = function_name.lower() out.append( f"- [`{function_name}`](#{anchor}) — {len(items)} mutant" f"{'s' if len(items) != 1 else ''} ({module_path})"