You could, or you could leave it as a field. I can see advantages either way. I was just about to side with Kris (even though I used the field like you) because then we wouldn't have to construct a new searcher if we wanted to change the number of gradient samples. Then it occurred to me that the way the experiment runner is structured, we kind of need to have different objects for different searchers.

Hmmm…not obvious. I leave it to your judgement for the moment.