forced influence generating code functions for a particular k history and a particular ratio of picked k-histories.