Yup it is just a bit hard. If you like a pointer: One bookshelf in the dungeon (in a run) might give you a direction and hint how to solve it and find the code.
Technically speaking that should be possibly. Probably won't be anytime soon since writing code that influence probability of constant changing factors is long and painful. But it would be a nice thing to have definitely. I will write it down. Maybe I manage to implement it somewhere before the full release. Thanks a lot for the nice suggestion!