Yes, all spells and ingredients/proprieties are choosen at random each time, but the final spell should be from the book, that's a bug, sorry.
I'll fix it after the Jam, until then I suppose everyone should use the docx to look up the final spell...