promptdojo_

Write accuracy_by_slice(cases). Each case has a slice name and a correct boolean. Return a dict mapping each slice to its accuracy (fraction correct), rounded to 2 decimals, with slices in the order they first appear.

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