The common phrase “the fix is in” means that the outcome of an event or process has been covertly manipulated to ensure a result that would otherwise be determined by chance or a fair test of some kind.
What is the origin of this phrase?
Note: I'm interested specifically in the origin of the entire phrase, not in the etymology of the word “fix” as used within it.