promptdojo_

Slice-based error analysis — step 6 of 7

Write slice_table(rows): group the (segment, correct) rows, compute accuracy and n per slice, and print one line per slice — WORST first (ascending accuracy) — formatted f"{s:<8} {acc:.0%} (n={n})". Worst-first ordering is the point: the top line of the table is where you go read failures.

full-screen editor opens — close anytime to keep reading.