Using RandomChild to Create Breakfast Menu Options - How to Compare?

In the attached file, I created an agent that combines various random options for Proteins, Vitamins and Carbs at breakfast. It does this in attribute view. Where I need help is with locking off one option for in a group, whilst leaving the rest as variable. For example: let’s say I want to lock off “bacon” under proteins, but want the rest to randomly change, because I want to compare and contrast combinations. I don’t know how I would do that. The Tinderbox way I guess would be to export different combinations, but it would be nice to be able to view different combos side-by-side in one of the views, without exporting. Any suggestions on how to do that? Thanks.
Breakfast Randomizer.tbx (100.2 KB)

Thanks to @mwra for the help in the TinderboxreferenceFile.

I’ve replied to this here in the other post you just made about this idea. sorry no spare time to fully test code at the moment, v busy.

You can handle this cleanly by introducing a boolean like $Locked on each protein note and adjusting the agent query to exclude $Locked==true, which lets something like “bacon” stay fixed while the rest continue to randomize. If you move the randomization into a rule that only runs when a $Refresh attribute is toggled, you’ll get stable comparison states instead of constant reshuffling. Duplicating the container before each refresh would let you view multiple combinations side-by-side in Map view without exporting. It’s a flexible setup—whether you’re modeling breakfast options or planning a Cookout menu, you get controlled variability instead of total randomness.