I think I might have just figured out how Autofill works. Were you in a premade?
If not, then I think this is what happened:
- either/both of you had a long queue time, likely increasing the chances of autofill.
- The system decided that, because whoever had a long quqeue time shouldn't wait that long, so it autofilled them/you
- someone else joined in with the role the system gave the first person selected as intended role; however, because it had already autofilled that first person into the second person's intended role, and their secondary intended role is already taken by some third person, then the system sees that the second person's roles are both taken already so it decides to autofill them into one of the intended roles of the first person.
None of this is comfirmed, of course, and makes a lot of assumptions, but it seems likely to me based off of your description and other times I've seen people get autofilled.
Either that or it just makes no sense whatsoever.