Answer stability round 1: 1 🔴, 8 🟡 (0 misread); read only a regular file, only as far as the shown lines, skip cut-short output, and test the surviving mutants
This commit is contained in:
@@ -27,7 +27,6 @@ def shell_reads(command: str, cwd: str, home: str) -> Reads:
|
||||
return Reads(read, added)
|
||||
|
||||
|
||||
# rule_hook/repeat_read.py parses a shell read too, strictly: a measure of reading counts any file a reader names, while a rule that blocks must match only a read whose lines it knows exactly.
|
||||
def operands(words: list[str]) -> list[str]:
|
||||
program = posixpath.basename(words[0])
|
||||
if program not in READERS or (program == "sed" and any(word.startswith("-i") for word in words)):
|
||||
|
||||
Reference in New Issue
Block a user