Pattern recognition assignment