Cursor's CSV-filtering script imported four packages and used two — the classic leftover-imports pattern, and the kind of thing a code reviewer flags in the first ten seconds. Build the ten-second reviewer.
Write find_unused(imports, used): return a list of the imported
names that never appear in used, in their original import order.
The loop below prints one unused: line per leftover.
Expected output:
unused: numpy
unused: torch