I might be splitting hairs now. Is not ambiguity the problem in your examples, and not any off-by-one error? If the respective ambiguities were resolved then there should be no off-by-one errors.
Of course use of expressions may vary. My in-spirit-meaning of ‘off-bye-one error’ may differ from yours, and that is fine. (Had it really mattered in a discussion then we would simply agree to find a suitable definition of the expression.)
Of course use of expressions may vary. My in-spirit-meaning of ‘off-bye-one error’ may differ from yours, and that is fine. (Had it really mattered in a discussion then we would simply agree to find a suitable definition of the expression.)