Rubio 3000 Malfunction

During the last Republican debate, the Marco Rubio unit has a series of malfunctions. This particular model has been malfunctioning lately, repeating the same talking points over and over. Take a look at the source code (in the comments to the article in Jezebel). But I think there is an error in the speculation about the source code that runs the Rubio 3000. Looking at the behavior of the unit, this is probably what is actually running:

while(active) {
    if(under_attack) {
       run(focus_shift_protocol)
       run(scripted_answer)
       run(bash_obama)
    }
    else if (questioned) {
       run(scripted_answer)
       run(bash_obama)
    }
    else {
       run(talking_point)
       run(scripted_answer)
       run(bash_obama)
    }
}

See the problem with the source code, the unit keeps repeating the same set of scripted answers and keeps running the same bash_obama routine. Perhaps the scriped_answer and bash_obama functions need a random input to prompt a varied output, instead of the same outputs over and over. Here is a much better version of the subroutine, perhaps the maintenance staff can update the Rubio 3000 with the following:

while(active) {
    random_answer = random()
    random_bash = random()
    if(under_attack) {
       run(focus_shift_protocol)
       run(scripted_answer(random_answer))
       run(bash_obama(random_bash))
    }
    else if (questioned) {
       run(scripted_answer(random_answer))
       run(bash_obama(random_bash))
    }
    else {
       run(talking_point)
       run(scripted_answer(random_answer))
       run(bash_obama(random(bash))
    }
}

See, much better.

Advertisements