I was given a task that took around 6 to 8 hours, and they really liked the work. After that, I was scheduled for an interview. Later I found out that they were actually looking for skills very different from mine, and to be honest, the task was not at all related to the skills they wanted. I feel this should have been thought through before giving me the task. It came across as if the task was more about collecting ideas for their product rather than properly evaluating me.