From Newsgroup: sci.math
On 10/23/2026 3:50 PM, Chris M. Thomasson wrote:
This is a funny way to allow the human to have to make sure all paths
were hit. The fuzzer only halts when all paths of the program logic were hit. Actually, fuzzing is useful in programming. Especially in lock-free work. Its all in AppleSoft BASIC. You can run it online here:
https://www.calormen.com/jsbasic/[...]
rofl. Here is another one with an expanded database: __________________________________
1 HOME
2 DIM S$(2,4)
3 REM --- NOPE path insults ---
4 S$(0,0) = "NICE TRY! STILL NEED OTHER BRANCHES."
5 S$(0,1) = "NOPE AGAIN? COVERAGE IS STARVING!"
6 S$(0,2) = "STILL MISSING BRANCHES. TRY HARDER."
7 S$(0,3) = "COVERAGE CALLED. IT WANTS THE OTHER ONES."
8 S$(0,4) = "NON-HALTING IS CUTE. NOW DO THE REST."
9 REM --- YES path insults ---
10 S$(1,0) = "NOT SO FAST... THAT WAS TOO EASY."
11 S$(1,1) = "HALT HIT AGAIN, BUT I NEED ALL THREE!"
12 S$(1,2) = "HALTING IS EASY MODE. KEEP GOING."
13 S$(1,3) = "NICE HALT. STILL NEED THE OTHER TWO."
14 S$(1,4) = "PATH COMPLETE. COVERAGE INCOMPLETE."
15 REM --- MAYBE path insults ---
16 S$(2,0) = "HMMM... UNDECIDED, BUT ARE WE DONE?"
17 S$(2,1) = "MAYBE IS NOT ENOUGH ON ITS OWN!"
18 S$(2,2) = "UNDECIDABLE IS NOT A STRATEGY."
19 S$(2,3) = "SCHRODINGER'S PATH DOESN'T COUNT TWICE."
20 S$(2,4) = "INDECISION IS NOT COVERAGE."
21 PRINT "ct_dr_fuzz v6 - more sass edition"
22 P0 = 0 : P1 = 0 : P2 = 0
30 PRINT
31 PRINT "Enter YES, MAYBE, or NOPE (uppercase)"
32 INPUT "Shall DD halt or not? "; A$
200 IF A$ = "YES" THEN GOTO 666
300 IF A$ = "MAYBE" THEN GOTO 777
400 REM NOPE (or anything else)
410 P0 = P0 + 1
420 PRINT "NON_HALT P0 = "; P0
430 R = INT(RND(1)*5)
440 PRINT S$(0,R)
450 GOTO 900
666 PRINT "OK! (halts)"
667 P1 = P1 + 1
668 PRINT "HALT P1 = "; P1
670 R = INT(RND(1)*5)
671 PRINT S$(1,R)
675 GOTO 900
777 PRINT "hmmm... (undecidable)"
778 P2 = P2 + 1
779 PRINT "MAYBE P2 = "; P2
780 R = INT(RND(1)*5)
781 PRINT S$(2,R)
900 IF P0 > 0 AND P1 > 0 AND P2 > 0 THEN GOTO 1000
910 GOTO 30
1000 PRINT
1010 PRINT "FIN... ALL THREE PATHS HIT!"
1020 PRINT "NON_HALT P0 = "; P0
1030 PRINT "HALT P1 = "; P1
1040 PRINT "MAYBE P2 = "; P2
1050 PRINT "Human fuzzer survived the gaslighting!" __________________________________
;^D
--- Synchronet 3.22a-Linux NewsLink 1.2