My kids have had paired assessments in science and foreign language with randomly assigned pairs. Works OK if it is done multiple times and is only a part of the grade. Sometimes kid gets weaker partner and sometimes a stronger one. SMH at poster who said OP should complain and then contact the newspaper.
I teach in a masters program where projects regularly have randomly assigned partners because everyone knows who the bad partners are.