Thank you for such a detailed response, all doubts are cleared . I should have noticed the do_marginalize flag.
For what is worth, I am in favor of returning scores at generate, even an option to include the posteriors would be nice (but perhaps too narrow to include in the generate function).
Anyway thanks again for the response and the nice demo!