Skip to content

Commit 32249ba

Browse files
committed
update readme
1 parent df1b6f4 commit 32249ba

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Mutahunter uses LLM models to inject context-aware faults into your codebase. Th
4242

4343
1. **Achieve High Line Coverage:** Ensure your test suite has high line coverage, preferably 100%.
4444

45-
2. **Strict Mutation Testing:** Use strict mutation testing to improve mutation coverage without additional cost. Utilize the `--only-mutate-file-paths` flag for targeted testing on critical files.
45+
2. **Strict Mutation Testing:** Use strict mutation testing to improve mutation coverage during development without additional cost. Utilize the `--only-mutate-file-paths` flag for targeted testing on critical files.
4646

4747
3. **LLM-Based Mutation Testing on Changed Files:** Inject context-aware mutants using LLMs on changed files during pull requests as the final line of defense. Use the `--modified-files-only` flag to focus on recent changes. In this way it will make the mutation testing significantly **faster** and **cost effective.**
4848

src/mutahunter/core/hunter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
from mutahunter.core.entities.config import MutahunterConfig
1010
from mutahunter.core.entities.mutant import Mutant
1111
from mutahunter.core.logger import logger
12-
from mutahunter.core.mutator import (ExtremeMutation, LLMBasedMutation,
13-
MutationStrategy)
12+
from mutahunter.core.mutator import ExtremeMutation, LLMBasedMutation, MutationStrategy
1413
from mutahunter.core.report import MutantReport
1514
from mutahunter.core.router import LLMRouter
1615
from mutahunter.core.runner import TestRunner

src/mutahunter/core/mutator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ def generate(self):
158158
ai_reply = self.generate_mutant(repo_map_result)
159159
mutation_info = self.extract_json_from_reply(ai_reply)
160160
changes = mutation_info["changes"]
161-
print("changes:", len(changes))
162161
original_lines = self.function_block_source_code.splitlines(keepends=True)
163162
for change in changes:
164163
original_line = change["original_line"]

0 commit comments

Comments
 (0)