Discussion get_code_fidelity and compiled.fake

@davidhalter as you thought I got some problems with the latest changes in dev. I merged them and fixed problems in a nice stupid way. :-) So I'd like to discuss this, hoping I can get the change in faster this time.