• Couldbealeotard@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    7 hours ago

    The output is not the output of the algorithm, it’s the output of the unit test.

    95% of numbers up to that point at not prime. Testing the algorithm that only says “not prime” is therefore correct 95% of the time. The joke is that, similar to AI, the algorithm is being presented as a useful tool because it’s correct often but not always.