So ya got yer leader whose input is racist and hateful. What kind of output could you expect from that?
As an ex-programmer, I must protest that the saying refers to bad data in, bad data out.
Programming is merely a process, and any errors in analysis, specification or programming should be picked up at the testing stage, but this still won't protect against human error in input if it defeats the validation.