Files
stack/agents/darkwing/work/queue-54-review/r2/mut/sites.sh
T
jason.woltjeandClaude Opus 5.5 bfbcf626de review(row54): round 2 packet, approve (darkwing)
Comment 27191 on #1543, correction 27192. Candidate afb2ae0e.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-10 17:10:15 -05:00

9 lines
531 B
Bash
Executable File

#!/bin/bash
# Prints each mutant's result and the test lines its failures point at.
M=~/darkwing-scratch/r54b/r2/mut
grep -E '^[DE][0-9][0-9] ' $M/summary.txt | while read -r id res rest; do
sites=$(sed -n '/failing tests:/,$p' $M/$id.txt | grep -oE 'tests/[a-z0-9-]+\.test\.mjs:[0-9]+' | grep -v ':1$' | sort -u | tr '\n' ' ')
names=$(sed -n '/failing tests:/,$p' $M/$id.txt | grep -E '^✖ ' | grep -v 'failing tests' | sed -E 's/^✖ //; s/ \([0-9.]+ms\)$//' | sort -u | tr '\n' '|')
echo "$id $res | $sites| $names"
done