Skip to content

Commit 4bcfea8

Browse files
committed
Make generate_annotated_patch emit XML and update its docstring
1 parent 5155230 commit 4bcfea8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/codestory/core/semantic_analysis/summarization/summarizer_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def generate_annotated_patches(
5050
patch_generator: PatchGenerator,
5151
patch_cutoff_chars: int = DEFAULT_PATCH_CUTOFF_CHARS,
5252
) -> list[str]:
53-
"""Generate annotated patches for a list of containers as markdown strings.
53+
"""Generate annotated patches for a list of containers as XML strings.
5454
5555
Args:
5656
containers: List of AtomicContainer objects
@@ -59,7 +59,7 @@ def generate_annotated_patches(
5959
patch_cutoff_chars: Maximum characters per patch before truncation
6060
6161
Returns:
62-
List of markdown-formatted annotated patches, one per container
62+
List of XML-formatted annotated patches, one per container
6363
"""
6464
patches = []
6565
pbar = ProgressBarManager.get_pbar()
@@ -89,7 +89,7 @@ def generate_annotated_patch(
8989
patch_generator: PatchGenerator,
9090
patch_cutoff_chars: int = DEFAULT_PATCH_CUTOFF_CHARS,
9191
) -> str:
92-
"""Generate a markdown-formatted annotated patch for a single container."""
92+
"""Generate an XML-formatted annotated patch for a single container."""
9393
merged_container = merge_container(container)
9494

9595
annotated_container = ContainerLabler.annotate_container(

0 commit comments

Comments
 (0)