Off course it's trial and error, what else can it be? I suspect that you may be underestimating the terror of constant life in the shadow of a famine. This may give an idea:
A woman doctor wrote to a friend in June 1933 that she had not yet become a cannibal, but was "not sure that I shall not be one by the time my letter reaches you." The good people died first. Those who refused to steal or to prostitute themselves died. Those who gave food to others died. Those who refused to eat corpses died. Those who refused to kill their fellow man died. Parents who resisted cannibalism died before their children did.
A woman doctor wrote to a friend in June 1933 that she had not yet become a cannibal, but was "not sure that I shall not be one by the time my letter reaches you." The good people died first. Those who refused to steal or to prostitute themselves died. Those who gave food to others died. Those who refused to eat corpses died. Those who refused to kill their fellow man died. Parents who resisted cannibalism died before their children did.
https://en.m.wikipedia.org/wiki/Holodomor
With that kind of reality all sorts of experimenting will be happening.