Adds hashes of parts and chapters to random_assignment