Answer architecture round 1: 0 🔴, 6 🟡 (0 misread); one definition of a test file, task-bench's tree classification in tree_tests.py, the push poll in forge, preflight's folder named once, the Re-entry rows named; the rank_todo warning kept, as its item asked for it

This commit is contained in:
2026-12-01 23:09:54 +01:00
parent 487f60b1da
commit b5496ab180
19 changed files with 163 additions and 155 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import typing
from failure import Failure
from task_bench.bugs import go_bugs, php_bugs, python_bugs, rust_bugs, typescript_bugs
from task_bench.framework_tests import is_test_file
from mutate_changes.changed_lines import is_test
from task_bench.bugs.planted_mutant import Mutant
from mutate_changes.tool_process import Run
from mutate_changes.changed_lines import STRYKER
@@ -44,7 +44,7 @@ def language_of(path: str, languages: tuple[Language, ...] = LANGUAGES) -> Langu
def place_files(places: str) -> list[str]:
"""The files that hold a place in what `larv-review places` prints and are in a language of LANGUAGES, test files left out, in
the order of their paths."""
return sorted({path for path in PLACE.findall(places) if language_of(path) and not is_test_file(path)})
return sorted({path for path in PLACE.findall(places) if language_of(path) and not is_test(path)})
def killed_mutants(top: str, files: list[str], run: Run, jobs: int, languages: tuple[Language, ...] = LANGUAGES) -> list[Mutant] | Failure: