A problem related to a "Live Feedback" \ "Score System" system

Hi guys, requesting some help related to “live feedback mode” i implemented

If activated you can give live feedback on your work every time you randomize to create a new output.

The idea is the art should get more and more how you like it based on a score you give to each one

this is the output i get in the console when i use it

Live Feedback Mode Enabled
Feedback Score Accepted:
1
Decreased weights for operations:
Array
0: invertCircle
1: affine
2: tileTriangle
3: reflectX
4: add
5: mixColors
6: abs
7: contrast
8: noise
9: reflectY
10: saturation
11: colorShift
12: multiply
13: divide
14: tan
Factor:
0.19999999999999996

The problem i am facing is it seems to me as if everything is working properly the console indicates it works as it should but in the app itself i see a little difference,

most of the times i get singled colored outputs and i can’t seem to fix that because it only takes the right combination of operations to get to a single color, and the number of possibilities that can lead to that is hugeee… so i am sure how to prevent this

Btw just to be clear by saying single colored outputs i mean literally. just pure black, white, or any other color. which is bad and shouldn’t happen on the app

So the problems are

1: The live feedback mode isn’t working fully as intended for some reason (or it does and the single colored output just take over)

2: Need to find a bulletproof solution to this singled colored outputs, i already i tried implementing checks to prevent them but it didn’t really work, or it did but then the overall creativity of the randomization logic was destroyed and became really bad

If anyone wants to help out that would be great, and if it worked and you wish i can add you to the app credits with your open processing profile link