• Dr. Fuzz

    From Chris M. Thomasson@chris.m.thomasson.1@gmail.com to comp.theory on Thu Oct 30 13:52:41 2025
    From Newsgroup: comp.theory

    For a .5 probability, my system should take 3 iterations for it to fin.
    Check this out... It's fuzzed and drives itself. Keep line 30 in mind.
    You can explore a different probability... :^)
    ____________________________
    1 HOME
    5 PRINT "ct_dr_fuzz lol. ;^)"
    6 P0 = 0
    7 P1 = 0

    10 REM Fuzzer... ;^)
    20 A$ = "NOPE!"
    30 IF RND(1) < .5 THEN A$ = "YES"

    100 REM INPUT "Shall DD halt or not? " ; A$
    110 PRINT "Shall DD halt or not? " ; A$
    200 IF A$ = "YES" GOTO 666
    300 P0 = P0 + 1
    400 IF P0 > 0 AND P1 > 0 GOTO 1000
    500 GOTO 10

    666 PRINT "OK!"
    667 P1 = P1 + 1
    700 PRINT "NON_HALT P0 = "; P0
    710 PRINT "HALT P1 = "; P1
    720 IF P0 > 0 AND P1 > 0 GOTO 1000
    730 PRINT "ALL PATHS FAILED TO BE HIT!"
    740 GOTO 10


    1000
    1010 PRINT "FIN... All paths hit."
    1020 PRINT "NON_HALT P0 = "; P0
    1030 PRINT "HALT P1 = "; P1
    ____________________________


    It's fun to me. :^)
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Chris M. Thomasson@chris.m.thomasson.1@gmail.com to comp.theory on Sat Nov 1 12:11:37 2025
    From Newsgroup: comp.theory

    On 10/30/2025 1:52 PM, Chris M. Thomasson wrote:
    For a .5 probability, my system should take 3 iterations for it to fin. Check this out... It's fuzzed and drives itself. Keep line 30 in mind.
    You can explore a different probability... :^)

    [...]


    Have you (Olcott) played around with my fuzzer in BASIC? It reminds me
    of your HHH in a sense... Think if the user or fuzzer kept on saying
    "YES", over and over again. It keeps bumping the halt path. But it waits
    for a no halt path to be non-zero for the actual sim to fin. So, you can
    say the intention was to halt, but not all paths have been hit. Should
    it insert a false input (something other than YES) that triggers an all
    paths hit condition?

    On the flip side. If a user says anything other than "YES" over and over
    again (aka non-halt), well, this is different... We cannot just insert a "YES", right? This is similar to how you say DD is non-halting, but in reality, its both halting and non-halting?
    --- Synchronet 3.21a-Linux NewsLink 1.2